[PATCH] SPARC/BFD: Don't crash on discarded GOT

David Miller davem@davemloft.net
Sun Jul 28 00:58:00 GMT 2013


From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Sat, 27 Jul 2013 23:50:41 +0100 (BST)

>  This change fixes a linker crash where GOT is produced but not copied to 
> output, e.g. because of the .got.plt input section being discarded through 
> the /DISCARD/ linker script keyword -- not a particularly useful use case, 
> but the linker shouldn't crash regardless.
> 
>  OK to apply?

No objections from me.



More information about the Binutils mailing list