From: Nick Clifton Date: Thu, 3 Nov 2022 09:17:41 +0000 (+0000) Subject: AVR Linker: Allow the start of the data region to specified on the command line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa6895ad35ebfa6a9e69808da0bae249d9b8a638;p=binutils-gdb.git AVR Linker: Allow the start of the data region to specified on the command line. PR 29471 * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value has not been provided on the command line then use DATA_ORIGIN. (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 9ba8cbcfd0b..af1f5578b70 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2022-11-03 Nick Clifton + + PR 29471 + * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value + has not been provided on the command line then use DATA_ORIGIN. + (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region. + 2022-10-21 Nick Clifton PR 29654 diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc index 026871fc6cf..f8e690d3533 100644 --- a/ld/scripttempl/avr.sc +++ b/ld/scripttempl/avr.sc @@ -28,7 +28,9 @@ EOF test -n "${RELOCATING}" && cat <