diff options
author | Alan Modra <amodra@gmail.com> | 2019-07-31 23:10:40 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-08-01 14:38:57 +0930 |
commit | 776ab89fe3cdce91cd644058c9fcda0c506f995b (patch) | |
tree | c9b51eed5f4873eb3ccdf0b144318e4beb722ebb /ld/testplug2.c | |
parent | 5c1e6d53a518442741f05175dbded0d1880f4759 (diff) | |
download | gdb-776ab89fe3cdce91cd644058c9fcda0c506f995b.zip gdb-776ab89fe3cdce91cd644058c9fcda0c506f995b.tar.gz gdb-776ab89fe3cdce91cd644058c9fcda0c506f995b.tar.bz2 |
PR24806, Linking with -T inside --start-group/--end-group
This patch processes INSERT AFTER and INSERT BEFORE in a user -T
script when such a script is invoked on the command line inside
--start-group/--end-group. Also, ld now warns when the user simply
forgot --end-group.
PR 24806
* ldlang.c (process_insert_statements): Add start of list
parameter. Use rather than lang_os_list.head. Process insert
statements inside group statements with a recursive call.
(lang_process): Adjust process_insert_statements call.
* lexsup.c (parse_args): Warn when adding missing --end-group.
Diffstat (limited to 'ld/testplug2.c')
0 files changed, 0 insertions, 0 deletions