This is the mail archive of the
mailing list for the binutils project.
Re: Common Symbols and Archives [Patch]
> Since this can't be done backward compatibly, and since it would also need
> compiler changes, it seems too much effort compared with the alternative
> of transitioning to ELF.
> In the meantime I would like to at least have backward compatability
> for a.out. However, the current binutils linker is *not* compatable
> with the NetBSD a.out linker and I would like to propose the following
> patch. It requires patches to both bfd and ld.
> Here is the bfd/ChangeLog entry:
> 2002-07-26 Ian Dall <firstname.lastname@example.org>
> * aoutx.h (aout_link_check_ar_symbols): Whether to include an
> archive object is target dependant.
> Here is the ld/ChangeLog entry:
> 2002-07-27 Ian Dall <email@example.com>
> * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
> * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
> * ldmain.c (main): Initialize new field
Approved and applied. I also created a ChangeLog entry for the
modifications to bfdlink.h
PS. Your FSF copyright assignment is a bit out of date. (It does not
mention changes to LD for example). You may wish to fix this.