Changeset 8b655705 in mainline for uspace/lib/c/arch/ia64
- Timestamp:
- 2011-04-15T19:38:07Z (15 years ago)
- 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. - Location:
- uspace/lib/c/arch/ia64
- Files:
-
- 3 edited
-
_link.ld.in (modified) (4 diffs)
-
src/entry.s (modified) (1 diff)
-
src/thread_entry.s (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia64/_link.ld.in
r6b9e85b r8b655705 9 9 SECTIONS { 10 10 . = 0x4000 + SIZEOF_HEADERS; 11 11 12 12 .init : { 13 13 *(.init); 14 } : text 14 } :text 15 15 16 .text : { 16 *(.text );17 *(.rodata *);17 *(.text .text.*); 18 *(.rodata .rodata.*); 18 19 } :text 19 20 20 21 . = . + 0x4000; 21 22 22 23 .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 26 29 .data : { 27 30 *(.opd); … … 29 32 *(.sdata); 30 33 } :data 34 31 35 .tdata : { 32 36 _tdata_start = .; … … 37 41 _tbss_end = .; 38 42 } :data 43 39 44 _tls_alignment = ALIGNOF(.tdata); 45 40 46 .bss : { 41 47 *(.sbss); … … 44 50 *(.bss); 45 51 } :data 46 47 . = ALIGN(0x4000); 48 _heap = .; 49 52 50 53 /DISCARD/ : { 51 54 *(*); 52 }55 } 53 56 } -
uspace/lib/c/arch/ia64/src/entry.s
r6b9e85b r8b655705 39 39 __entry: 40 40 alloc loc0 = ar.pfs, 0, 1, 2, 0 41 movl gp = _ gp42 41 movl gp = __gp 42 43 43 # Pass PCB pointer as the first argument to __main 44 44 mov out0 = r2 45 45 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 37 37 alloc loc0 = ar.pfs, 0, 1, 1, 0 38 38 39 movl gp = _ gp39 movl gp = __gp 40 40 41 41 #
Note:
See TracChangeset
for help on using the changeset viewer.
