/* Startup code for Alpha/ELF.
- Copyright (C) 1993,1995,1996,1997,1998,2000 Free Software Foundation, Inc.
+ Copyright (C) 1993,1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>
.align 3
.globl _start
.ent _start, 0
+ .type _start,@function
_start:
.frame fp, 0, zero
mov zero, fp
/* Startup code for ARM & ELF
- Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
At this entry point, most registers' values are unspecified, except:
a1 Contains a function pointer to be registered with `atexit'.
- This is how the dynamic linker arranges to have DT_FINI
+ This is how the dynamic linker arranges to have DT_FINI
functions called for shared libraries that have been loaded
before this code runs.
sp The stack contains the arguments and environment:
- 0(sp) argc
+ 0(sp) argc
4(sp) argv[0]
...
(4*argc)(sp) NULL
.text
.globl _start
+ .type _start,@function
_start:
/* Clear the frame pointer since this is the outermost frame. */
mov fp, #0
.text
.globl _start
+ type _start,@function
_start:
/* Clear the frame pointer, to mark the outermost frame. */
moveq 0,r8
.globl _start
.export _start, ENTRY
-
+ .type _start,@function
_start:
.proc
.text
.globl _start
+ .type _start,@function
_start:
/* Clear the frame pointer. The ABI suggests this be done, to mark
the outermost frame obviously. */
.global _start
.proc _start
+ type _start,@function
_start:
.prologue
{ .mlx
/* Startup code compliant to the ELF m68k ABI.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
.text
.globl _start
+ .type _start,@function
_start:
/* Clear the frame pointer. The ABI suggests this be done, to mark
the outermost frame obviously. */
.text
.globl ENTRY_POINT
+ .type ENTRY_POINT,@function
ENTRY_POINT:
#ifdef __PIC__
SET_GP
.text
.globl _start
+ type _start,@function
_start:
/* Setup pointer to literal pool of _start */
basr %r13,0
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/*
+/*
This is the canonical entry point, usually the first thing in the text
segment. Most registers' values are unspecified, except for:
.text
.globl _start
+ type _start,@function
_start:
/* Load argc and argv from stack. */
la %r4,8(%r15) # get argv
.word 0
/* FIXME: FPU flags or what ?!? */
-
+
.section .rodata
.globl _fp_hw
.long 3
/* Startup code for SH & ELF.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
At this entry point, most registers' values are unspecified, except:
r4 Contains a function pointer to be registered with `atexit'.
- This is how the dynamic linker arranges to have DT_FINI
+ This is how the dynamic linker arranges to have DT_FINI
functions called for shared libraries that have been loaded
before this code runs.
sp The stack contains the arguments and environment:
- 0(sp) argc
+ 0(sp) argc
4(sp) argv[0]
...
(4*argc)(sp) NULL
.text
.globl _start
+ type _start,@function
_start:
/* Clear the frame pointer since this is the outermost frame. */
mov #0, r14