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.
This commit is contained in:
parent
f664829eae
commit
0adaa71ed6
3 changed files with 10 additions and 1 deletions
|
@ -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>
|
2012-05-22 Roland McGrath <mcgrathr@google.com>
|
||||||
|
|
||||||
* ld-elf/eh4.d: Revert last change.
|
* ld-elf/eh4.d: Revert last change.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#as: --x32
|
#as: --x32
|
||||||
#ld: -shared -melf32_x86_64
|
#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
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
.quad func + 0x7fffffff
|
.quad func + 0x7fffffff
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
.space 0x1000
|
||||||
.type func, @function
|
.type func, @function
|
||||||
|
.global func
|
||||||
|
.hidden func
|
||||||
func:
|
func:
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue