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.
This commit is contained in:
parent
ad1a3914ae
commit
a5d8a40617
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2020-01-20 Fangrui Song <maskray@google.com>
|
||||
|
||||
PR middle-end/93194
|
||||
* targhooks.c (default_print_patchable_function_entry): Align to
|
||||
POINTER_SIZE.
|
||||
|
||||
2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/93319
|
||||
|
|
|
@ -1812,6 +1812,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);
|
||||
|
|
Loading…
Add table
Reference in a new issue