[PATCH][gold] Extend support of INPUT and GROUP commands to linker scripts added with -T.

Igor Kudrin ikudrin@accesssoftek.com
Mon Oct 17 14:13:00 GMT 2016


Ping.
________________________________________
From: binutils-owner@sourceware.org <binutils-owner@sourceware.org> on behalf of Igor Kudrin <ikudrin@accesssoftek.com>
Sent: Friday, September 2, 2016 3:11 PM
To: binutils@sourceware.org; "Cary Coutant"
Subject: Re: [PATCH][gold] Extend support of INPUT and GROUP commands to linker scripts added with -T.

Ping.
________________________________________
From: Igor Kudrin
Sent: Monday, August 15, 2016 12:36 PM
To: binutils@sourceware.org; "Cary Coutant"
Subject: Re: [PATCH][gold] Extend support of INPUT and GROUP commands to linker scripts added with -T.

Ping.
________________________________________
From: binutils-owner@sourceware.org <binutils-owner@sourceware.org> on behalf of Igor Kudrin <ikudrin@accesssoftek.com>
Sent: Saturday, July 2, 2016 6:56 PM
To: binutils@sourceware.org; "Cary Coutant"
Subject: [PATCH][gold] Extend support of INPUT and GROUP commands to linker scripts added with -T.

Hi,

As far as I can see, these commands are already supported for linker
scripts mentioned as input files on the command line. This patch
extends the support to linker scripts passed as arguments to
the -T option.

Best regards,
Igor Kudrin

---
gold/ChangeLog

        * script.cc (read_script_file): Pass the current in_group state
        to the created closure.
        (script_add_file): Use inputs() from command_line() if it exists.
        (script_add_library): Likewise.
        (script_start_group): Likewise.
        (script_end_group): Likewise.
        * testsuite/Makefile.am (script_test_15): New test.
        * testsuite/Makefile.in: Regenerate.
        * testsuite/script_test_15.h: New test header file.
        * testsuite/script_test_15.t: New test linker script.
        * testsuite/script_test_15a.c: New test source file.
        * testsuite/script_test_15b.c: Likewise.
        * testsuite/script_test_15c.c: Likewise.
        * testsuite/script_test_15d.c: Likewise.



More information about the Binutils mailing list