diff options
Diffstat (limited to 'src/ldso/microblaze/start.s')
-rw-r--r-- | src/ldso/microblaze/start.s | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ldso/microblaze/start.s b/src/ldso/microblaze/start.s index 5ffbcbae..4e0a0e50 100644 --- a/src/ldso/microblaze/start.s +++ b/src/ldso/microblaze/start.s @@ -9,11 +9,12 @@ _start: addi r7, r7, _GLOBAL_OFFSET_TABLE_+8 addi r7, r7, _DYNAMIC@GOTOFF brlid r15, __reloc_self@PLT - nop + addik r1, r1, -16 - lwi r5, r1, 0 + lwi r5, r1, 16 brlid r15, __dynlink@PLT - addi r6, r1, 4 + addi r6, r1, 20 + addik r1, r1, 16 lwi r4, r1, 0 1: lwi r5, r1, 4 |