Changeset 8b655705 in mainline for uspace/lib/c/arch/ia64


Ignore:
Timestamp:
2011-04-15T19:38:07Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9dd730d1
Parents:
6b9e85b (diff), b2fb47f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

Location:
uspace/lib/c/arch/ia64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia64/_link.ld.in

    r6b9e85b r8b655705  
    99SECTIONS {
    1010        . = 0x4000 + SIZEOF_HEADERS;
    11 
     11       
    1212        .init : {
    1313                *(.init);
    14         } : text
     14        } :text
     15       
    1516        .text : {
    16                 *(.text);
    17                 *(.rodata*);
     17                *(.text .text.*);
     18                *(.rodata .rodata.*);
    1819        } :text
    19 
     20       
    2021        . = . + 0x4000;
    21 
     22       
    2223        .got : {
    23                 _gp = .;
    24                 *(.got*);
    25         } :data
     24                /* Tell the linker where we expect GP to point. */
     25                __gp = .;
     26                *(.got .got.*);
     27        } :data
     28       
    2629        .data : {
    2730                *(.opd);
     
    2932                *(.sdata);
    3033        } :data
     34       
    3135        .tdata : {
    3236                _tdata_start = .;
     
    3741                _tbss_end = .;
    3842        } :data
     43       
    3944        _tls_alignment = ALIGNOF(.tdata);
     45       
    4046        .bss : {
    4147                *(.sbss);
     
    4450                *(.bss);
    4551        } :data
    46 
    47         . = ALIGN(0x4000);
    48         _heap = .;
    49  
     52       
    5053        /DISCARD/ : {
    5154                *(*);
    52         }
     55        }
    5356}
  • uspace/lib/c/arch/ia64/src/entry.s

    r6b9e85b r8b655705  
    3939__entry:
    4040        alloc loc0 = ar.pfs, 0, 1, 2, 0
    41         movl gp = _gp
    42 
     41        movl gp = __gp
     42       
    4343        # Pass PCB pointer as the first argument to __main
    4444        mov out0 = r2
    4545        br.call.sptk.many b0 = __main
    46 0:
    47         br.call.sptk.many b0 = __exit
  • uspace/lib/c/arch/ia64/src/thread_entry.s

    r6b9e85b r8b655705  
    3737        alloc loc0 = ar.pfs, 0, 1, 1, 0
    3838
    39         movl gp = _gp
     39        movl gp = __gp
    4040       
    4141        #
Note: See TracChangeset for help on using the changeset viewer.