Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset af103f4 in mainline


Ignore:
Timestamp:
2011-04-13T18:16:07Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
1d9c541
Parents:
88634420
Message:

Use gp instead of _got in ia64 loader.

This is for consistency and possible future modifications. Note that the
ia64 loader will effectively ignore this as it is being built with no
small data segment and GP-relative addressing.

Location:
boot/arch/ia64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/_link.ld.in

    r88634420 raf103f4  
    1212                *(.rodata.*);
    1313                *(.data);               /* initialized data */
    14                 _got = . ;
     14                __gp = . ;
    1515                *(.got .got.*);
    1616                *(.bss);                /* uninitialized static variables */
  • boot/arch/ia64/src/boot.S

    r88634420 raf103f4  
    3434.global start
    3535start:
    36         movl gp = LOADER_ADDRESS
     36        movl gp = __gp
    3737
    3838        #
Note: See TracChangeset for help on using the changeset viewer.