This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker is broken
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