/branches/dynload/uspace/lib/rtld/arch/ia32/src/entry.s |
---|
28,15 → 28,15 |
.section .text |
.globl __bootstrap |
.globl __entry |
.hidden __bootstrap |
.type __entry, @function |
## Rtld entry point |
# |
# %ebx contains the PCB pointer |
# |
__entry: |
mov %ss, %ax |
mov %ax, %ds |
mov %ax, %es |
mov %ax, %fs |
# Pass the PCB pointer to __bootstrap as the first argument |
pushl %ebx |
call __bootstrap |