Browse Source
* elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Don't set the value of undefined symbols in shared objects. (_bfd_mips_vxworks_finish_dynamic_symbol): Clear value for undefined symbols unless pointer equality is needed. ld/testsuite/ * ld-vxworks/plt-mips1.s: New. * ld-vxworks/plt-mips1.d: New.msnyder-reverse-20080609-branch
5 changed files with 28 additions and 6 deletions
@ -0,0 +1,10 @@ |
|||
# target: mips*-*-* |
|||
# source: plt-mips1.s |
|||
# ld: -shared -z now |
|||
# readelf: -s |
|||
|
|||
#... |
|||
[0-9]*: 00000000 0 FUNC GLOBAL DEFAULT UND Foo |
|||
#... |
|||
[0-9]*: 00000000 0 FUNC GLOBAL DEFAULT UND Foo |
|||
#... |
|||
@ -0,0 +1 @@ |
|||
lw $25,%call16(Foo)($28) |
|||
Loading…
Reference in new issue