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 a39e29ec7887447a170dc03c682e0de8b5479352..9354e640ebaebeb437533bd8e5667b0370a4f636 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 a5bf12914d8722e2b305fcf5d118ff6c930d6e58..80ef51c58e7ef3a18d6f68792282a236483c2ef1 100644 (file)
@@ -3,3 +3,4 @@ unset EMBEDDED
 GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
 GENERATE_COMBRELOC_SCRIPT=yes
+TEXT_START_ADDR=0x00002000