* sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
entry point, used on Hurd.
This commit is contained in:
parent
7d4de9612f
commit
a48f9395a9
|
@ -156,6 +156,11 @@ _start:
|
||||||
move.l %sp, -(%sp)
|
move.l %sp, -(%sp)
|
||||||
jbsr _dl_start
|
jbsr _dl_start
|
||||||
addq.l #4, %sp
|
addq.l #4, %sp
|
||||||
|
/* FALLTHRU */
|
||||||
|
|
||||||
|
.globl _dl_start_user
|
||||||
|
.type _dl_start_user,@function
|
||||||
|
_dl_start_user:
|
||||||
| Save the user entry point address in %a4.
|
| Save the user entry point address in %a4.
|
||||||
move.l %d0, %a4
|
move.l %d0, %a4
|
||||||
| Point %a5 at the GOT.
|
| Point %a5 at the GOT.
|
||||||
|
@ -187,7 +192,7 @@ _start:
|
||||||
move.l %sp, %fp
|
move.l %sp, %fp
|
||||||
| Jump to the user's entry point.
|
| Jump to the user's entry point.
|
||||||
jmp (%a4)
|
jmp (%a4)
|
||||||
.size _start, . - _start
|
.size _dl_start_user, . - _dl_start_user
|
||||||
.previous");
|
.previous");
|
||||||
|
|
||||||
/* Nonzero iff TYPE describes a relocation that should
|
/* Nonzero iff TYPE describes a relocation that should
|
||||||
|
|
Loading…
Reference in New Issue