[PATCH] ld: Issue an error for GC on __patchable_function_entries section

Alan Modra amodra@gmail.com
Fri Feb 7 03:28:00 GMT 2020


On Thu, Feb 06, 2020 at 06:23:28PM -0800, H.J. Lu wrote:
> bfd/
> 
>  	PR ld/25490
> 	* elflink.c (_bfd_elf_gc_mark_extra_sections): Issue an error
> 	for garbage collection on __patchable_function_entries section
> 	without linked-to section.
> 
> ld/
> 
>  	PR ld/25490
> 	* testsuite/ld-elf/pr25490-1.d: New file.
> 	* testsuite/ld-elf/pr25490-1.s: Likewise.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list