Changeset 29a9f62 in mainline for libc/arch/ia32
- Timestamp:
- 2006-03-23T10:33:55Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77bd004
- Parents:
- 1cef26f
- Location:
- libc/arch/ia32
- Files:
-
- 3 edited
- 1 moved
-
Makefile.inc (modified) (1 diff)
-
include/atomic.h (moved) (moved from libc/arch/ia32/include/atomic_arch.h )
-
src/entry.s (modified) (1 diff)
-
src/thread_entry.s (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/ia32/Makefile.inc
r1cef26f r29a9f62 33 33 TOOLCHAIN_DIR = /usr/local/i686/bin 34 34 35 ARCH_SOURCES += arch/$(ARCH)/src/syscall.c 35 ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ 36 arch/$(ARCH)/src/psthread.S 36 37 37 38 LFLAGS += -N -
libc/arch/ia32/src/entry.s
r1cef26f r29a9f62 41 41 mov %ax, %es 42 42 mov %ax, %fs 43 mov %ax, %gs43 # Do not set %gs, it contains descriptor that can see TLS 44 44 45 call __main 45 46 call main 46 47 call __exit -
libc/arch/ia32/src/thread_entry.s
r1cef26f r29a9f62 39 39 mov %dx, %es 40 40 mov %dx, %fs 41 mov %dx, %gs41 # Do not set %gs, it contains descriptor that can see TLS 42 42 43 43 # … … 45 45 # 46 46 pushl %eax 47 call thread_main 48 addl $4, %esp 47 call __thread_main 49 48 50 49 #
Note:
See TracChangeset
for help on using the changeset viewer.
