]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sysdeps/x86_64/start.S doesn't have a .size elf directive for _start.
authorBrooks Moses <bmoses@google.com>
Tue, 25 Nov 2014 00:24:58 +0000 (16:24 -0800)
committerBrooks Moses <bmoses@google.com>
Tue, 25 Nov 2014 00:26:58 +0000 (16:26 -0800)
This tripped up some analysis I was doing.

This patch is the straightforward fix.

I see no regressions on a "make check" using ENTRY and END.

ChangeLog
sysdeps/x86_64/start.S

index dac4ad15de7c6f261dec5b76785137996c0d6a7d..e9ce1412d6cc4cb9fddbc5a6f385bdade4cb7255 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-24  Sterling Augustine  <saugustine@google.com>
+
+       * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
+
 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
 
        [BZ #17608]
index e3d4ff8e20e0f451e074f7cb63066ec660b52a5e..97e972e6807605f22b38e81710a8f2d0b3d7c3b6 100644 (file)
 
 #include <sysdep.h>
 
-       .text
-       .globl _start
-       .type _start,@function
-_start:
-       cfi_startproc
+ENTRY (_start)
        /* Clearing frame pointer is insufficient, use CFI.  */
        cfi_undefined (rip)
        /* Clear the frame pointer.  The ABI suggests this be done, to mark
@@ -123,7 +119,7 @@ _start:
 #endif
 
        hlt                     /* Crash if somehow `exit' does return.  */
-       cfi_endproc
+END (_start)
 
 /* Define a symbol for the first piece of initialized data.  */
        .data