Linker is broken

Alan Modra amodra@bigpond.net.au
Thu May 27 06:19:00 GMT 2004


On Wed, May 26, 2004 at 08:46:52AM -0700, H. J. Lu wrote:
> > objdump -n won't show SEC_EXCLUDE on SHT_GROUP sections now.

Hmm, I suppose it is better to leave SEC_EXCLUDE on SHT_GROUP sections,
since they will be excluded from a final link.

> 	* elf.c (_bfd_elf_make_section_from_shdr): Undo the last
> 	change.

OK.

> 	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Undo
> 	the last change.

Not OK.  Make the condition match the one in lang_add_section, then it's
OK.

> 	* ldlang.c (lang_add_section): Clear SEC_EXCLUDE on non-
> 	SEC_DEBUGGING sections for relocatable link.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list