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: [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.


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