Changeset e708063 in mainline
- Timestamp:
- 2006-03-23T21:18:35Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a71d9af9
- Parents:
- 17242c6e
- Location:
- libc/arch
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/mips32/Makefile.inc
r17242c6e re708063 32 32 TARGET = mipsel-linux-gnu 33 33 TOOLCHAIN_DIR = /usr/local/mipsel/bin 34 CFLAGS += -m no-abicalls -mips3 -ftls-model=global-dynamic34 CFLAGS += -mips3 -mno-abicalls 35 35 36 36 ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ -
libc/arch/mips32/_link.ld.in
r17242c6e re708063 1 1 STARTUP(../libc/arch/ARCH/src/entry.o) 2 ENTRY(__ entry)2 ENTRY(__start) 3 3 4 4 PHDRS { … … 18 18 } :text 19 19 20 .got ALIGN(0x4000) : SUBALIGN(0x4000) { 20 .data ALIGN(0x4000) : SUBALIGN(0x4000) { 21 *(.data); 22 } :data 23 .got : { 21 24 _gp = .; 22 *(.got); 23 } :data 24 .data : { 25 *(.data); 25 *(.data.rel*); 26 26 } :data 27 27 .sbss : { -
libc/arch/mips32/include/thread.h
r17242c6e re708063 27 27 */ 28 28 29 /* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ 30 29 31 #ifndef __LIBC__mips32THREAD_H__ 30 32 #define __LIBC__mips32THREAD_H__ 31 32 33 33 34 static inline void __tls_set(void *tls) -
libc/arch/mips32/src/entry.s
r17242c6e re708063 32 32 33 33 .section .init, "ax" 34 .globl __ entry34 .globl __start 35 35 36 36 ## User-space task entry point 37 37 # 38 38 # 39 .ent __ entry40 __ entry:39 .ent __start 40 __start: 41 41 lui $28, _gp 42 42 … … 51 51 jal __exit 52 52 53 .end __ entry53 .end __start
Note:
See TracChangeset
for help on using the changeset viewer.