aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-31 23:10:40 +0930
committerAlan Modra <amodra@gmail.com>2019-08-01 14:38:57 +0930
commit776ab89fe3cdce91cd644058c9fcda0c506f995b (patch)
treec9b51eed5f4873eb3ccdf0b144318e4beb722ebb /ld/ChangeLog
parent5c1e6d53a518442741f05175dbded0d1880f4759 (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--ld/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 45bea25..a93d367 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,14 @@
2019-08-01 Alan Modra <amodra@gmail.com>
+ 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.
+
+2019-08-01 Alan Modra <amodra@gmail.com>
+
* ldlang.h (lang_os_list): Rename from lang_output_section_statement.
* ldlang.c: Likewise throughout file.
* emultempl/alphaelf.em: Likewise.