Commit 62a64d0a by Joao Moreira Committed by Jeff Law

targhooks.c (default_print_patchable_function_entry): Emit…

targhooks.c (default_print_patchable_function_entry): Emit __patchable_function_entries section with writable flags to allow...

	* targhooks.c (default_print_patchable_function_entry): Emit
	__patchable_function_entries section with writable flags to allow
	relocation resolution.

From-SVN: r270417
parent e050689b
2019-04-10 Joao Moreira <jmoreira@suse.de>
* targhooks.c (default_print_patchable_function_entry): Emit
__patchable_function_entries section with writable flags to allow
relocation resolution.
2019-04-17 Jonny Grant <jg@jguk.org> 2019-04-17 Jonny Grant <jg@jguk.org>
* collect2.c (main): Change gcc.gnu.org URL to HTTPS. * collect2.c (main): Change gcc.gnu.org URL to HTTPS.
......
...@@ -1818,7 +1818,7 @@ default_print_patchable_function_entry (FILE *file, ...@@ -1818,7 +1818,7 @@ default_print_patchable_function_entry (FILE *file,
ASM_GENERATE_INTERNAL_LABEL (buf, "LPFE", patch_area_number); ASM_GENERATE_INTERNAL_LABEL (buf, "LPFE", patch_area_number);
switch_to_section (get_section ("__patchable_function_entries", switch_to_section (get_section ("__patchable_function_entries",
0, NULL)); SECTION_WRITE | SECTION_RELRO, NULL));
fputs (asm_op, file); fputs (asm_op, file);
assemble_name_raw (file, buf); assemble_name_raw (file, buf);
fputc ('\n', file); fputc ('\n', file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment