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: Adjust test for PR ld/22269


On Mon, Jan 29, 2018 at 3:28 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Approved - please apply.
>
> Thanks, done.
>
>> > NB: it's rather confusing that run_ld_link_tests needs this tweak, but
>> > neither run_ld_link_exec_tests nor run_cc_link_tests does.
>>
>> Is this because they use gcc to create the assembler command line ?
>
> Yes, the 3 procedures can compile C files, but the last 2 pass -c to GCC while
> the first 1 passes -S and then invoke GAS manually.  The rationale for the
> discrepancy is rather unclear to me...

GCC can be hardcoded to only use the installed assembler/linker.  It makes
-B.../ ineffective.

-- 
H.J.


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