This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][gold] AArch64: Avoid creating ".got" and ".got.plt" sections if they are not needed.


Hi,

On AArch64, if there were relocations against local symbols, gold created
".got" and ".got.plt" sections event if they were not required.

Best regards,
Igor Kudrin

---
gold/ChangeLog

	* aarch64.cc (Target_aarch64::Scan::local): Move the call to got_section
	from the top level to the places of its use.

Attachment: gold-aarch64-unnecessary-got.patch.txt
Description: gold-aarch64-unnecessary-got.patch.txt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]