aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Moses <bmoses@google.com>2014-11-24 16:24:58 -0800
committerBrooks Moses <bmoses@google.com>2014-11-24 16:26:58 -0800
commit467fec0bb47464ff49e7075194342b028c75c72f (patch)
treed33c8931235156864931d0da656c36759380a0cf
parent6933c27e9c280f5b3d64227d756243d993eba727 (diff)
downloadglibc-467fec0bb47464ff49e7075194342b028c75c72f.tar
glibc-467fec0bb47464ff49e7075194342b028c75c72f.tar.gz
glibc-467fec0bb47464ff49e7075194342b028c75c72f.tar.bz2
glibc-467fec0bb47464ff49e7075194342b028c75c72f.zip
sysdeps/x86_64/start.S doesn't have a .size elf directive for _start.
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86_64/start.S8
2 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index dac4ad15de..e9ce1412d6 100644
--- 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]
diff --git a/sysdeps/x86_64/start.S b/sysdeps/x86_64/start.S
index e3d4ff8e20..97e972e680 100644
--- a/sysdeps/x86_64/start.S
+++ b/sysdeps/x86_64/start.S
@@ -55,11 +55,7 @@
#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