aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-02-01 09:32:29 +1030
committerAlan Modra <amodra@gmail.com>2021-02-01 18:35:33 +1030
commita5f92c675662a7ed5353fcd0b23b69fdbd6ecf43 (patch)
tree1b4b9312499cfa53fe6a2b82129763b57f625d3b /ld
parent49daa38f31404d4f4d94d7654248b62183ec9c15 (diff)
downloadgdb-a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43.zip
gdb-a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43.tar.gz
gdb-a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43.tar.bz2
ldgram.y low_level_library_NAME_list
Beginning a new rule hidden inside another rule is horrible. * ldgram.y: Whitespace fixes.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldgram.y5
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a55ba1f..5b6ead7 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2021-02-01 Alan Modra <amodra@gmail.com>
+ * ldgram.y: Whitespace fixes.
+
+2021-02-01 Alan Modra <amodra@gmail.com>
+
* testsuite/ld-elf/pr27259.d: Correct sh_link match.
2021-01-29 Alan Modra <amodra@gmail.com>
diff --git a/ld/ldgram.y b/ld/ldgram.y
index 7704689..b0a4619 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -864,12 +864,13 @@ high_level_library_NAME_list:
{ ldemul_hll($3); }
| filename
{ ldemul_hll($1); }
-
;
low_level_library:
SYSLIB '(' low_level_library_NAME_list ')'
- ; low_level_library_NAME_list:
+ ;
+
+low_level_library_NAME_list:
low_level_library_NAME_list opt_comma filename
{ ldemul_syslib($3); }
|