This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Board configuration for ld tests
- From: Vidya Praveen <vidyapraveen at arm dot com>
- To: nick clifton <nickc at redhat dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 14 Jan 2014 18:00:22 +0000
- Subject: Re: Board configuration for ld tests
- Authentication-results: sourceware.org; auth=none
- References: <20140113181824 dot GB20498 at e103625-lin dot cambridge dot arm dot com> <52D522F3 dot 1080500 at redhat dot com>
Hi Nick,
On Tue, Jan 14, 2014 at 11:43:47AM +0000, nick clifton wrote:
> Hi Vidya,
>
> > I've sent a patch to remove my recent support for ldflags from board config file
> > in ld testsuite since ldflags is meant to be the flags to linker through gcc
> > driver rather than to ld. In order to support bare linker flags that is passed
> > to ld directly, I think we need to have a new variable introduced in the board
> > config file. If this is acceptable, I would like to propose the name
> > 'linker_flags' for the same, if I don't get a better suggestion.
>
> There are already some tool specific options in the config files, eg
> gcc,stack_size and gdb.nosignals so maybe a linker specific option
> would be better. Eg:
>
> ld,pre_flags [Flags to appear on linker command line
> before the test adds any flags]
>
> ld,post_flags [Flags to appear after any test specific flags]
Thanks. This definitely sounds better.
VP.