public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/giulianob/heads/pfe_backport_dirty)] Align __patchable_function_entries to POINTER_SIZE [PR93194]
@ 2021-10-11 20:34 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2021-10-11 20:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d9f18381006b407d8592b33556169b9514ae2365
commit d9f18381006b407d8592b33556169b9514ae2365
Author: Fangrui Song <maskray@google.com>
Date: Tue Jan 7 20:46:26 2020 -0800
Align __patchable_function_entries to POINTER_SIZE [PR93194]
2020-01-20 Fangrui Song <maskray@google.com>
gcc/
PR middle-end/93194
* targhooks.c (default_print_patchable_function_entry): Align to
POINTER_SIZE.
Diff:
---
gcc/ChangeLog | 8 ++++++++
gcc/targhooks.c | 1 +
2 files changed, 9 insertions(+)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5ef0ef30c1c..fefc11a89fc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2021-10-07 Giuliano Belinassi <gbelinassi@suse.de>
+ Backport from mainline
+
+ 2020-01-20 Fangrui Song <maskray@google.com>
+
+ PR middle-end/93194
+ * targhooks.c (default_print_patchable_function_entry): Align to
+ POINTER_SIZE.
2021-10-07 Giuliano Belinassi <gbelinassi@suse.de>
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index be0c557f1a2..aaf536acf17 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -1644,6 +1644,7 @@ default_print_patchable_function_entry (FILE *file,
switch_to_section (get_section ("__patchable_function_entries",
SECTION_WRITE | SECTION_RELRO, NULL));
+ assemble_align (POINTER_SIZE);
fputs (asm_op, file);
assemble_name_raw (file, buf);
fputc ('\n', file);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-11 20:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 20:34 [gcc(refs/users/giulianob/heads/pfe_backport_dirty)] Align __patchable_function_entries to POINTER_SIZE [PR93194] Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).