From: Alan Modra Date: Sun, 31 Jan 2021 23:02:29 +0000 (+1030) Subject: ldgram.y low_level_library_NAME_list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5f92c675662a7ed5353fcd0b23b69fdbd6ecf43;p=binutils-gdb.git ldgram.y low_level_library_NAME_list Beginning a new rule hidden inside another rule is horrible. * ldgram.y: Whitespace fixes. --- 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); } |