2016-02-01 10:03:36 +01:00
|
|
|
Index: gas/config/tc-avr-nesc.h
|
|
|
|
===================================================================
|
|
|
|
--- gas/config/tc-avr-nesc.h.orig 2016-02-01 09:58:37.419903606 +0100
|
|
|
|
+++ gas/config/tc-avr-nesc.h 2016-02-01 09:58:39.631928732 +0100
|
Accepting request 953949 from home:marxin:branches:devel:gcc
- Update to binutils 2.38:
* elfedit: Add --output-abiversion option to update ABIVERSION.
* Add support for the LoongArch instruction set.
* Tools which display symbols or strings (readelf, strings, nm, objdump)
have a new command line option which controls how unicode characters are
handled. By default they are treated as normal for the tool. Using
--unicode=locale will display them according to the current locale.
Using --unicode=hex will display them as hex byte values, whilst
--unicode=escape will display them as escape sequences. In addition
using --unicode=highlight will display them as unicode escape sequences
highlighted in red (if supported by the output device).
* readelf -r dumps RELR relative relocations now.
* Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been
added to objcopy in order to enable UEFI development using binutils.
* ar: Add --thin for creating thin archives. -T is a deprecated alias without
diagnostics. In many ar implementations -T has a different meaning, as
specified by X/Open System Interface.
* Add support for AArch64 system registers that were missing in previous
releases.
* Add support for the LoongArch instruction set.
* Add a command-line option, -muse-unaligned-vector-move, for x86 target
to encode aligned vector move as unaligned vector move.
* Add support for Cortex-R52+ for Arm.
* Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
* Add support for Cortex-A710 for Arm.
* Add support for Scalable Matrix Extension (SME) for AArch64.
* The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
assembler what to when it encoutners multibyte characters in the input. The
default is to allow them. Setting the option to "warn" will generate a
warning message whenever any multibyte character is encountered. Using the
There are no new CVEs fixed in the release.
OBS-URL: https://build.opensuse.org/request/show/953949
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=387
2022-02-14 16:11:29 +01:00
|
|
|
Index: gas/expr.c
|
|
|
|
@@ -143,8 +143,12 @@ extern int avr_force_relocation (struct fix *);
|
2007-10-09 04:28:58 +02:00
|
|
|
would print `12 34 56 78'. The default value is 4. */
|
|
|
|
#define LISTING_WORD_SIZE 2
|
|
|
|
|
Accepting request 953949 from home:marxin:branches:devel:gcc
- Update to binutils 2.38:
* elfedit: Add --output-abiversion option to update ABIVERSION.
* Add support for the LoongArch instruction set.
* Tools which display symbols or strings (readelf, strings, nm, objdump)
have a new command line option which controls how unicode characters are
handled. By default they are treated as normal for the tool. Using
--unicode=locale will display them according to the current locale.
Using --unicode=hex will display them as hex byte values, whilst
--unicode=escape will display them as escape sequences. In addition
using --unicode=highlight will display them as unicode escape sequences
highlighted in red (if supported by the output device).
* readelf -r dumps RELR relative relocations now.
* Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been
added to objcopy in order to enable UEFI development using binutils.
* ar: Add --thin for creating thin archives. -T is a deprecated alias without
diagnostics. In many ar implementations -T has a different meaning, as
specified by X/Open System Interface.
* Add support for AArch64 system registers that were missing in previous
releases.
* Add support for the LoongArch instruction set.
* Add a command-line option, -muse-unaligned-vector-move, for x86 target
to encode aligned vector move as unaligned vector move.
* Add support for Cortex-R52+ for Arm.
* Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
* Add support for Cortex-A710 for Arm.
* Add support for Scalable Matrix Extension (SME) for AArch64.
* The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
assembler what to when it encoutners multibyte characters in the input. The
default is to allow them. Setting the option to "warn" will generate a
warning message whenever any multibyte character is encountered. Using the
There are no new CVEs fixed in the release.
OBS-URL: https://build.opensuse.org/request/show/953949
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=387
2022-02-14 16:11:29 +01:00
|
|
|
-/* AVR port uses `$' as a logical line separator by default. */
|
2007-10-09 04:28:58 +02:00
|
|
|
-#define LEX_DOLLAR 0
|
|
|
|
+/* AVR port uses `$' as a logical line separator and doesn't
|
|
|
|
+ allow it in symbols. We allow it in the middle of symbols.
|
|
|
|
+ We also hack get_symbol_end to disallow it at the end of a symbol. */
|
|
|
|
+#define LEX_DOLLAR 1
|
|
|
|
+#define TC_EOL_IN_INSN(PTR) (*(PTR) == '$' && is_part_of_name((PTR)[-1]) && is_part_of_name((PTR)[1]))
|
|
|
|
+#define TC_FORBID_DOLLAR_AT_END
|
|
|
|
|
|
|
|
/* An `.lcomm' directive with no explicit alignment parameter will
|
|
|
|
use this macro to set P2VAR to the alignment that a request for
|
Accepting request 953949 from home:marxin:branches:devel:gcc
- Update to binutils 2.38:
* elfedit: Add --output-abiversion option to update ABIVERSION.
* Add support for the LoongArch instruction set.
* Tools which display symbols or strings (readelf, strings, nm, objdump)
have a new command line option which controls how unicode characters are
handled. By default they are treated as normal for the tool. Using
--unicode=locale will display them according to the current locale.
Using --unicode=hex will display them as hex byte values, whilst
--unicode=escape will display them as escape sequences. In addition
using --unicode=highlight will display them as unicode escape sequences
highlighted in red (if supported by the output device).
* readelf -r dumps RELR relative relocations now.
* Support for efi-app-aarch64, efi-rtdrv-aarch64 and efi-bsdrv-aarch64 has been
added to objcopy in order to enable UEFI development using binutils.
* ar: Add --thin for creating thin archives. -T is a deprecated alias without
diagnostics. In many ar implementations -T has a different meaning, as
specified by X/Open System Interface.
* Add support for AArch64 system registers that were missing in previous
releases.
* Add support for the LoongArch instruction set.
* Add a command-line option, -muse-unaligned-vector-move, for x86 target
to encode aligned vector move as unaligned vector move.
* Add support for Cortex-R52+ for Arm.
* Add support for Cortex-A510, Cortex-A710, Cortex-X2 for AArch64.
* Add support for Cortex-A710 for Arm.
* Add support for Scalable Matrix Extension (SME) for AArch64.
* The --multibyte-handling=[allow|warn|warn-sym-only] option tells the
assembler what to when it encoutners multibyte characters in the input. The
default is to allow them. Setting the option to "warn" will generate a
warning message whenever any multibyte character is encountered. Using the
There are no new CVEs fixed in the release.
OBS-URL: https://build.opensuse.org/request/show/953949
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=387
2022-02-14 16:11:29 +01:00
|
|
|
|
2016-02-01 10:03:36 +01:00
|
|
|
===================================================================
|
|
|
|
--- gas/expr.c.orig 2016-02-01 09:58:35.743884569 +0100
|
|
|
|
+++ gas/expr.c 2016-02-01 09:58:39.631928732 +0100
|
|
|
|
@@ -2342,6 +2342,15 @@ get_symbol_name (char ** ilp_return)
|
2007-10-09 04:28:58 +02:00
|
|
|
;
|
|
|
|
if (is_name_ender (c))
|
|
|
|
c = *input_line_pointer++;
|
|
|
|
+#ifdef TC_FORBID_DOLLAR_AT_END
|
|
|
|
+ /* This is for the Atmel AVR platforms. We want to allow $ in symbols
|
|
|
|
+ but also as a line separator. Yucky. */
|
|
|
|
+ if (input_line_pointer[-2] == '$')
|
|
|
|
+ {
|
|
|
|
+ input_line_pointer--;
|
|
|
|
+ c = '$';
|
|
|
|
+ }
|
|
|
|
+#endif
|
|
|
|
}
|
2016-02-01 10:03:36 +01:00
|
|
|
else if (c == '"')
|
|
|
|
{
|