]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use ENTRY and END macros to get a .size directive. backport of change:
authorSterling Augustine <saugustine@google.com>
Tue, 25 Nov 2014 22:49:54 +0000 (14:49 -0800)
committerSterling Augustine <saugustine@google.com>
Tue, 25 Nov 2014 22:49:54 +0000 (14:49 -0800)
README.google
sysdeps/x86_64/start.S

index a68793375b608ecbe3f97f8658ccf059b9c93363..e1da8143e664acc65a4f1528b6df30c04555f3cc 100644 (file)
@@ -408,3 +408,9 @@ posix/wordexp-test.c
   flag when processing certain arithmetic inputs.
   (backport)
   https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c
+
+sysdeps/x86_64/start.S
+  For b/18331558, use ENTRY and END macros to get a .size directive.
+  (backport)
+  https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=467fec0bb47464ff49e7075194342b028c75c72f
+
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