Adjust ld-x86-64/ilp32-11.s for NACL
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2012 21:42:50 +0000 (21:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 May 2012 21:42:50 +0000 (21:42 +0000)
* ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
(func): Make it global and hidden.
* ld-x86-64/ilp32-11.d: Updated.

ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/ilp32-11.d
ld/testsuite/ld-x86-64/ilp32-11.s

index 75b2089de29c780ec4960d22390b81390d1d936e..895e19bbbbc61d61e73462a3edcb930d418466fd 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
+       (func): Make it global and hidden.
+       * ld-x86-64/ilp32-11.d: Updated.
+
 2012-05-22  Roland McGrath  <mcgrathr@google.com>
 
        * ld-elf/eh4.d: Revert last change.
index 56bb8b3bcfe3a4115a535cf0dc704f01fe41b1ef..f6fc86c3f82725bc2c938b60ec5bd406b4b1f24b 100644 (file)
@@ -1,3 +1,3 @@
 #as: --x32
 #ld: -shared -melf32_x86_64
-#error: .*addend 0x7fffffff in relocation R_X86_64_64 against symbol `.text' at 0x0 in section `.data.rel.local' is out of range
+#error: .*addend 0x7fffffff in relocation R_X86_64_64 against symbol `func' at 0x0 in section `.data.rel.local' is out of range
index 2c853850f86b624fa4c031a11308a5d87d5e8005..438f0949a9da2de858dc2710a84047701806f100 100644 (file)
@@ -4,6 +4,9 @@
        .quad   func + 0x7fffffff
 
        .text
+       .space  0x1000
        .type   func, @function
+       .global func
+       .hidden func
 func:
        ret
This page took 0.036401 seconds and 4 git commands to generate.