or1k: increase linux TEXT_START_ADDR to 0x2000
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Wed, 16 Jul 2014 21:25:20 +0000 (00:25 +0300)
committerStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Wed, 16 Jul 2014 21:26:45 +0000 (00:26 +0300)
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.

ld/ChangeLog
ld/emulparams/elf32or1k_linux.sh

index a39e29e..9354e64 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-17  Stefan Kristiansson  <stefan.kristiansson@saunalahti.fi>
+
+       * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
+       0x0 to first page boundary at 0x2000.
+
 2014-07-10  Max Filippov  <jcmvbkbc@gmail.com>
 
        * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
index a5bf129..80ef51c 100644 (file)
@@ -3,3 +3,4 @@ unset EMBEDDED
 GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
 GENERATE_COMBRELOC_SCRIPT=yes
+TEXT_START_ADDR=0x00002000