aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2023-12-17 19:20:54 +0100
committerNick Clifton <nickc@redhat.com>2023-12-18 09:50:51 +0000
commitd51cd0f64c6d3bd235f140ed71cc2c3e0b87a5ff (patch)
tree33f4c7caca4621c777bf322268c8c6d5f5886430 /gdbserver
parentc4fb39bb31a53bbb2df3be3200d694f025c5b892 (diff)
downloadgdb-d51cd0f64c6d3bd235f140ed71cc2c3e0b87a5ff.zip
gdb-d51cd0f64c6d3bd235f140ed71cc2c3e0b87a5ff.tar.gz
gdb-d51cd0f64c6d3bd235f140ed71cc2c3e0b87a5ff.tar.bz2
PR31177: Let region text start at __TEXT_REGION_ORIGIN___
The start of MEMORY region text currently starts hard-coded at 0. The linker can produce more exact diagnostics when it knows the exact placements of the memory regions. For some old devices, program memory starts at 0x8000, so allow to specify program memory start at __TEXT_REGION_ORIGIN__ similar to how the data region is described. If ok, please apply to master. This one is also fine to back-port. Johann -- AVR: Use __TEXT_REGION_ORIGIN__ as start for MEMORY region text. ld/ PR 31177 * scripttempl/avr.sc (__TEXT_REGION_ORIGIN__): New symbol. (MEMORY): Use as start address for the text region.
Diffstat (limited to 'gdbserver')
0 files changed, 0 insertions, 0 deletions