Changes in / [b2fb47f:17279ead] in mainline


Ignore:
Files:
9 edited

Legend:

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

    rb2fb47f r17279ead  
    1111                *(.rodata);
    1212                *(.rodata.*);
    13                 *(.data .data.*);       /* initialized data */
    14                 __gp = . ;
     13                *(.data);               /* initialized data */
     14                _got = . ;
    1515                *(.got .got.*);
    1616                *(.bss);                /* uninitialized static variables */
     
    2020
    2121        /DISCARD/ : {
    22                 *(.*);
     22                *(.comment);
     23                *(.note*);
    2324        }
    2425}
  • boot/arch/ia64/src/boot.S

    rb2fb47f r17279ead  
    3434.global start
    3535start:
    36         movl gp = __gp
     36        movl gp = LOADER_ADDRESS
    3737
    3838        #
  • kernel/arch/ia64/_link.ld.in

    rb2fb47f r17279ead  
    3030                hardcoded_kdata_size = .;
    3131                QUAD(kdata_end - kdata_start);
    32                 __gp = .;
    3332                *(.got .got.*)
    3433                *(.sdata)
  • kernel/arch/ia64/src/ivt.S

    rb2fb47f r17279ead  
    391391
    392392    /* 10. call handler */
    393         movl r1 = __gp
     393        movl r1 = kernel_image_start
    394394   
    395395        mov b1 = loc2
  • kernel/arch/ia64/src/start.S

    rb2fb47f r17279ead  
    174174       
    175175        # Initialize gp (Global Pointer) register
    176         movl gp = __gp
     176        movl gp = kernel_image_start
    177177       
    178         #
     178        #       
    179179        # Initialize bootinfo on BSP.
    180180        #
  • uspace/lib/c/arch/ia64/_link.ld.in

    rb2fb47f r17279ead  
    2222       
    2323        .got : {
    24                 /* Tell the linker where we expect GP to point. */
    25                 __gp = .;
     24                _gp = .;
    2625                *(.got .got.*);
    2726        } :data
  • uspace/lib/c/arch/ia64/src/entry.s

    rb2fb47f r17279ead  
    3939__entry:
    4040        alloc loc0 = ar.pfs, 0, 1, 2, 0
    41         movl gp = __gp
     41        movl gp = _gp
    4242       
    4343        # Pass PCB pointer as the first argument to __main
  • uspace/lib/c/arch/ia64/src/thread_entry.s

    rb2fb47f r17279ead  
    3737        alloc loc0 = ar.pfs, 0, 1, 1, 0
    3838
    39         movl gp = __gp
     39        movl gp = _gp
    4040       
    4141        #
  • uspace/srv/loader/arch/ia64/_link.ld.in

    rb2fb47f r17279ead  
    2828       
    2929        .got : {
    30                 /* Tell the linker where we expect GP to point. */
    31                 __gp = .;
     30                _gp = .;
    3231                *(.got .got.*);
    3332        } :data
Note: See TracChangeset for help on using the changeset viewer.