This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New linker option --dsbt_index for C6x; c6x-uclinux fixes
- From: Alan Modra <amodra at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Thu, 30 Sep 2010 00:57:35 +0930
- Subject: Re: New linker option --dsbt_index for C6x; c6x-uclinux fixes
- References: <4CA32F21.4000605@codesourcery.com> <4CA3357C.4090906@codesourcery.com>
On Wed, Sep 29, 2010 at 02:47:56PM +0200, Bernd Schmidt wrote:
> Index: include/bfdlink.h
> ===================================================================
> RCS file: /cvs/src/src/include/bfdlink.h,v
> retrieving revision 1.81
> diff -c -p -r1.81 bfdlink.h
> *** include/bfdlink.h 15 Dec 2009 02:02:39 -0000 1.81
> --- include/bfdlink.h 29 Sep 2010 12:40:25 -0000
> *************** struct bfd_link_info
> *** 467,472 ****
> --- 467,475 ----
>
> /* List of symbols should be dynamic. */
> struct bfd_elf_dynamic_list *dynamic_list;
> +
> + /* For DSBT binaries, the DSBT index. */
> + int dsbt_index;
Target specific fields don't belong here. For an example of how to
pass (a lot of) params between ld and bfd, see emultempl/spuelf.em.
--
Alan Modra
Australia Development Lab, IBM