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

Changeset 18ba2e4f in mainline


Ignore:
Timestamp:
2011-04-13T19:33:43Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
544a2e4, b2fb47f
Parents:
1d9c541
Message:

Use an explicitly defined and mutually agreed GP value wrt. ia64 kernel and ld.

Location:
kernel/arch/ia64
Files:
3 edited

Legend:

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

    r1d9c541 r18ba2e4f  
    3030                hardcoded_kdata_size = .;
    3131                QUAD(kdata_end - kdata_start);
     32                __gp = .;
    3233                *(.got .got.*)
    3334                *(.sdata)
  • kernel/arch/ia64/src/ivt.S

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

    r1d9c541 r18ba2e4f  
    174174       
    175175        # Initialize gp (Global Pointer) register
    176         movl gp = kernel_image_start
     176        movl gp = __gp
    177177       
    178         #       
     178        #
    179179        # Initialize bootinfo on BSP.
    180180        #
Note: See TracChangeset for help on using the changeset viewer.