Rev 2965 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2965 | Rev 3400 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | .section .text |
29 | .section .text |
30 | 30 | ||
31 | .globl __bootstrap |
31 | .globl __entry |
32 | .hidden __bootstrap |
32 | .hidden __bootstrap |
33 | - | ||
34 | .type __entry, @function |
33 | .type __entry, @function |
35 | 34 | ||
- | 35 | ## Rtld entry point |
|
- | 36 | # |
|
- | 37 | # %ebx contains the PCB pointer |
|
- | 38 | # |
|
36 | __entry: |
39 | __entry: |
37 | mov %ss, %ax |
40 | # Pass the PCB pointer to __bootstrap as the first argument |
38 | mov %ax, %ds |
- | |
39 | mov %ax, %es |
41 | pushl %ebx |
40 | mov %ax, %fs |
- | |
41 | - | ||
42 | call __bootstrap |
42 | call __bootstrap |