]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add .type for the entry point.
authorAndreas Jaeger <aj@suse.de>
Tue, 5 Jun 2001 06:20:45 +0000 (06:20 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 5 Jun 2001 06:20:45 +0000 (06:20 +0000)
sysdeps/alpha/elf/start.S
sysdeps/arm/elf/start.S
sysdeps/cris/elf/start.S
sysdeps/hppa/elf/start.S
sysdeps/m68k/elf/start.S
sysdeps/mips/elf/start.S

index 90f59f0452de1b71969fac737637cb5d5b2b5496..54eaab6353117cce0d38370a269a389f71d3bd1a 100644 (file)
@@ -1,5 +1,5 @@
 /* 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>
 
@@ -24,6 +24,7 @@
        .align 3
        .globl _start
        .ent _start, 0
+       .type _start,@function
 _start:
        .frame fp, 0, zero
        mov     zero, fp
index 13b9c780ef8e2027ccf9412733c08716ddb2580c..4d841c82d954a5245238a26bdc9379dbd23d7a6e 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -43,6 +43,7 @@
 
        .text
        .globl _start
+       .type _start,@function
 _start:
        /* Clear the frame pointer since this is the outermost frame.  */
        mov fp, #0
index f6336d2dab48fe125e5f13141435533da25661ab..eef5c7543b910107d2589cf19b31304b1e63c219 100644 (file)
@@ -42,6 +42,7 @@
 
        .text
        .globl  _start
+       type _start,@function
 _start:
        /* Clear the frame pointer, to mark the outermost frame.  */
        moveq   0,r8
index 88bb790be273a42dd07abe50d14dd3787b1efc4b..a5c3e521dd0940f0cc0934fe58f6451c3a150e99 100644 (file)
@@ -14,7 +14,7 @@
        
        .globl _start
        .export _start, ENTRY
-
+       .type _start,@function
 _start:
 
        .proc
index eefe75286e1b2106bd85b348ca5d296d629186e2..cf286f1cedfa9820fb5aca620560d39bf0b6da0a 100644 (file)
@@ -1,5 +1,5 @@
 /* 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
@@ -38,6 +38,7 @@
 
        .text
        .globl _start
+       .type _start,@function
 _start:
        /* Clear the frame pointer.  The ABI suggests this be done, to mark
           the outermost frame obviously.  */
index a5ae48048a11b847089fd3fe691c1a660e4395c1..19bf93a64342d682cf22457f0e69132231da7e5a 100644 (file)
@@ -67,6 +67,7 @@
 
        .text
        .globl ENTRY_POINT
+       .type ENTRY_POINT,@function
 ENTRY_POINT:
 #ifdef __PIC__
        SET_GP