From a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 1 Feb 2021 09:32:29 +1030 Subject: [PATCH] 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(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index a55ba1fd802..5b6ead74330 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-02-01 Alan Modra + + * ldgram.y: Whitespace fixes. + 2021-02-01 Alan Modra * testsuite/ld-elf/pr27259.d: Correct sh_link match. diff --git a/ld/ldgram.y b/ld/ldgram.y index 7704689b5bb..b0a4619bb3a 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); } | -- 2.30.2