bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minus ("-") symbols in section memory region name causes syntax erro


From: Nick Clifton
Subject: Re: Minus ("-") symbols in section memory region name causes syntax error
Date: Wed, 11 Aug 2021 14:13:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hi Sebastiaan,

I've recently upgraded from binutils 2.36.1 to version 2.37.
(specifcally, it has a region called "bkup-ram" allowing one to store

While this used to work, it now throws a syntax error

Is this a regression in 2.37, or was it a bug that 2.36.1 even
accepted it in the first place?

It was a bug that it was accepted in the first place.  The dash
character should not have been allowed in memory region names (or
any kind of symbol name in linker scripts).  I am not sure exactly
which commit to the 2.37 sources fixed this oversight, but the new
linker is behaving correctly.

Cheers
  Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]