Re: [PATCH v2] Fix __patchable_function_entries section flags

2019-04-15 Thread Joao Moreira
On 4/12/19 1:19 PM, Jeff Law wrote: On 4/11/19 11:18 AM, Joao Moreira wrote: When -fpatchable-relocation-entry is used, gcc places nops on the prologue of each compiled function and creates a section named __patchable_function_entries which holds relocation entries for the positions in which

[PATCH v2] Fix __patchable_function_entries section flags

2019-04-11 Thread Joao Moreira
was solved. This was also tested on x86-64 arch without visible problems under the gcc standard tests. 2019-04-10 Joao Moreira * targhooks.c (default_print_patchable_function_entry): Emit __patchable_function_entries section with writable flags to allow relocation

[PATCH] Fix __patchable_function_entries section flags

2019-04-10 Thread Joao Moreira
was solved. This was also tested on x86-64 arch without visible problems under the gcc standard tests. 2019-04-10 Joao Moreira * gcc/targhooks.c (default_print_patchable_function_entry): emit __patchable_function_entries section with writable flags to allow relocation