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] |
In a relocatable link, gold is allocating file space for BSS sections. This patch avoids that by testing for SHT_NOBITS when updating the file offset. Tested on x86_64. OK to apply? -cary gold/ * layout.cc (Layout::set_relocatable_section_offsets): Don't allocate space in file for BSS sections.
Attachment:
gold-dot-dashr-patch-3.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |