Changeset ae84e38 in mainline
- Timestamp:
- 2018-04-10T18:51:14Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad0d1f5
- Parents:
- 20287223
- Location:
- uspace/lib/c/arch/sparc64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/_link.ld.in
r20287223 rae84e38 28 28 29 29 .got : { 30 _gp = .;31 30 *(.got*); 32 31 } :data -
uspace/lib/c/arch/sparc64/src/entry.S
r20287223 rae84e38 47 47 48 48 # Pass pcb_ptr as the first argument to __main() 49 call __main 49 50 mov %i1, %o0 50 sethi %hi(_gp), %l751 call __main52 or %l7, %lo(_gp), %l7 -
uspace/lib/c/arch/sparc64/src/thread_entry.S
r20287223 rae84e38 45 45 # Propagate the input arguments to the new window. 46 46 # 47 48 call __thread_main ! %o0 contains address of uarg 47 49 mov %i0, %o0 48 50 49 sethi %hi(_gp), %l750 call __thread_main ! %o0 contains address of uarg51 or %l7, %lo(_gp), %l752 53 51 ! not reached
Note:
See TracChangeset
for help on using the changeset viewer.