This is the mail archive of the binutils@sources.redhat.com 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]

Re: RFC: Remove empty output sections


On Thu, Mar 17, 2005 at 06:59:25PM -0800, H. J. Lu wrote:
> 	* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Set
> 	bfd_section to bfd_abs_section_ptr when removing unused empty
> 	output sections for non-relocatable link.

No.  The map file output needs to use the sections actually linked,
otherwise wrong values will be reported.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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