aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2014-07-17 00:25:20 +0300
committerStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2014-07-17 00:26:45 +0300
commit8d14e1918d16b5f700d7cde8bf40f1e0309bbfc6 (patch)
treea8f2124118e811de1b01df0d29e0441acabc4656 /ld/emulparams
parent69ff6be55c0e6181223f2b9c93d90ffc9f7fb0f5 (diff)
downloadgdb-8d14e1918d16b5f700d7cde8bf40f1e0309bbfc6.zip
gdb-8d14e1918d16b5f700d7cde8bf40f1e0309bbfc6.tar.gz
gdb-8d14e1918d16b5f700d7cde8bf40f1e0309bbfc6.tar.bz2
or1k: increase linux TEXT_START_ADDR to 0x2000
Override the default value of 0x0000 defined in TEXT_START_ADDR to avoid linux executables to be mapped at zero page. ld/ * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from 0x0 to first page boundary at 0x2000.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32or1k_linux.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emulparams/elf32or1k_linux.sh b/ld/emulparams/elf32or1k_linux.sh
index a5bf129..80ef51c 100644
--- a/ld/emulparams/elf32or1k_linux.sh
+++ b/ld/emulparams/elf32or1k_linux.sh
@@ -3,3 +3,4 @@ unset EMBEDDED
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
GENERATE_COMBRELOC_SCRIPT=yes
+TEXT_START_ADDR=0x00002000