From a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 1 Feb 2021 09:32:29 +1030 Subject: ldgram.y low_level_library_NAME_list Beginning a new rule hidden inside another rule is horrible. * ldgram.y: Whitespace fixes. --- ld/ChangeLog | 4 ++++ ld/ldgram.y | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'ld') 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 + * ldgram.y: Whitespace fixes. + +2021-02-01 Alan Modra + * testsuite/ld-elf/pr27259.d: Correct sh_link match. 2021-01-29 Alan Modra 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); } | -- cgit v1.1