diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-10-17 23:45:21 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-10-17 23:45:21 -0400 |
commit | ef2f595f7489a79b328766e3f8c2c899c8d23fd1 (patch) | |
tree | 2b974c102e8444927e5fa3a343e5df04045fe754 /src/ldso/microblaze/start.s | |
parent | 858df113bfac4d2ebb60c3fac1538e07d56096b0 (diff) | |
download | musl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.tar.gz musl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.tar.xz musl-ef2f595f7489a79b328766e3f8c2c899c8d23fd1.zip |
fix microblaze asm relocations for shared libc
only @PLT relocations are considered functions for purposes of -Bsymbolic-functions, so always use @PLT. it should not hurt in the static-linked case.
Diffstat (limited to 'src/ldso/microblaze/start.s')
-rw-r--r-- | src/ldso/microblaze/start.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldso/microblaze/start.s b/src/ldso/microblaze/start.s index 4afd59f0..5ffbcbae 100644 --- a/src/ldso/microblaze/start.s +++ b/src/ldso/microblaze/start.s @@ -8,11 +8,11 @@ _start: mfs r7, rpc addi r7, r7, _GLOBAL_OFFSET_TABLE_+8 addi r7, r7, _DYNAMIC@GOTOFF - brlid r15, __reloc_self + brlid r15, __reloc_self@PLT nop lwi r5, r1, 0 - brlid r15, __dynlink + brlid r15, __dynlink@PLT addi r6, r1, 4 lwi r4, r1, 0 |