Changeset 1c99eae in mainline for uspace/lib/c
- Timestamp:
- 2011-08-19T16:59:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b76a7329
- Parents:
- 45059d6b
- Location:
- uspace/lib/c/arch/ia32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/Makefile.common
r45059d6b r1c99eae 28 28 29 29 CLANG_ARCH = i386 30 30 31 ifeq ($(PROCESSOR),i486) 31 GCC_CFLAGS += -march=i486 -fno-omit-frame-pointer32 GCC_CFLAGS += -march=i486 -fno-omit-frame-pointer 32 33 else 33 GCC_CFLAGS += -march=pentium -fno-omit-frame-pointer34 GCC_CFLAGS += -march=pentium -fno-omit-frame-pointer 34 35 endif 35 36 -
uspace/lib/c/arch/ia32/src/entry.S
r45059d6b r1c99eae 46 46 mov %ax, %fs 47 47 # Do not set %gs, it contains descriptor that can see TLS 48 48 49 49 #ifndef PROCESSOR_i486 50 50 # Detect the mechanism used for making syscalls … … 53 53 bt $(INTEL_SEP), %edx 54 54 jnc 0f 55 leal __syscall_fast_func, %eax56 movl $__syscall_fast, (%eax)57 0:55 leal __syscall_fast_func, %eax 56 movl $__syscall_fast, (%eax) 57 0: 58 58 #endif 59 59 60 # 60 61 # Create the first stack frame.
Note:
See TracChangeset
for help on using the changeset viewer.