Changeset e708063 in mainline


Ignore:
Timestamp:
2006-03-23T21:18:35Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a71d9af9
Parents:
17242c6e
Message:

Added missing ia32 files.
Renamed entry to start in mips, which is standard in gcc standard
linking scripts.

Location:
libc/arch
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • libc/arch/mips32/Makefile.inc

    r17242c6e re708063  
    3232TARGET = mipsel-linux-gnu
    3333TOOLCHAIN_DIR = /usr/local/mipsel/bin
    34 CFLAGS += -mno-abicalls -mips3 -ftls-model=global-dynamic
     34CFLAGS += -mips3 -mno-abicalls
    3535
    3636ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \
  • libc/arch/mips32/_link.ld.in

    r17242c6e re708063  
    11STARTUP(../libc/arch/ARCH/src/entry.o)
    2 ENTRY(__entry)
     2ENTRY(__start)
    33
    44PHDRS {
     
    1818        } :text
    1919
    20         .got ALIGN(0x4000) : SUBALIGN(0x4000) {
     20        .data ALIGN(0x4000) : SUBALIGN(0x4000) {
     21                *(.data);
     22        } :data
     23        .got : {
    2124                _gp = .;
    22                 *(.got);
    23         } :data
    24         .data : {
    25                 *(.data);
     25                *(.data.rel*);
    2626        } :data
    2727        .sbss : {
  • libc/arch/mips32/include/thread.h

    r17242c6e re708063  
    2727 */
    2828
     29/* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */
     30
    2931#ifndef __LIBC__mips32THREAD_H__
    3032#define __LIBC__mips32THREAD_H__
    31 
    3233
    3334static inline void __tls_set(void *tls)
  • libc/arch/mips32/src/entry.s

    r17242c6e re708063  
    3232
    3333.section .init, "ax"
    34 .globl __entry
     34.globl __start
    3535
    3636## User-space task entry point
    3737#
    3838#
    39 .ent __entry
    40 __entry:
     39.ent __start
     40__start:
    4141        lui $28, _gp
    4242       
     
    5151        jal __exit
    5252       
    53 .end __entry
     53.end __start
Note: See TracChangeset for help on using the changeset viewer.