diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-22 21:42:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-22 21:42:50 +0000 |
commit | 0adaa71ed66bae4bfbf5d43292833153d16bf88d (patch) | |
tree | bf16a5403333ba89e1e7d3ce1f353fc8fa0031dc | |
parent | f664829eae5325405ce4e7f064c7be02352ce1f6 (diff) | |
download | gdb-0adaa71ed66bae4bfbf5d43292833153d16bf88d.zip gdb-0adaa71ed66bae4bfbf5d43292833153d16bf88d.tar.gz gdb-0adaa71ed66bae4bfbf5d43292833153d16bf88d.tar.bz2 |
Adjust ld-x86-64/ilp32-11.s for NACL
* ld-x86-64/ilp32-11.s Add ".space 0x1000" before func.
(func): Make it global and hidden.
* ld-x86-64/ilp32-11.d: Updated.
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/ilp32-11.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/ilp32-11.s | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 75b2089..895e19b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -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. diff --git a/ld/testsuite/ld-x86-64/ilp32-11.d b/ld/testsuite/ld-x86-64/ilp32-11.d index 56bb8b3..f6fc86c 100644 --- a/ld/testsuite/ld-x86-64/ilp32-11.d +++ b/ld/testsuite/ld-x86-64/ilp32-11.d @@ -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 diff --git a/ld/testsuite/ld-x86-64/ilp32-11.s b/ld/testsuite/ld-x86-64/ilp32-11.s index 2c85385..438f094 100644 --- a/ld/testsuite/ld-x86-64/ilp32-11.s +++ b/ld/testsuite/ld-x86-64/ilp32-11.s @@ -4,6 +4,9 @@ .quad func + 0x7fffffff .text + .space 0x1000 .type func, @function + .global func + .hidden func func: ret |