This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Board configuration for ld tests


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]