]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/aarch64/start.S
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / aarch64 / start.S
index c43e4364c14bd99322b4aa04c144e73205d04600..3761cbd7ee0f0bffcc5848a5df1324835dbfbe7b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2019 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2021 Free Software Foundation, Inc.
 
    This file is part of the GNU C Library.
 
  */
 
        .text
-       .globl _start
-       .type _start,#function
-_start:
+ENTRY(_start)
        /* Create an initial frame with 0 LR and FP */
+       cfi_undefined (x30)
        mov     x29, #0
        mov     x30, #0
 
@@ -100,8 +99,10 @@ _start:
           because crt1.o and rcrt1.o share code and the later must avoid the
           use of GOT relocations before __libc_start_main is called.  */
 __wrap_main:
+       BTI_C
        b       main
 #endif
+END(_start)
 
        /* Define a symbol for the first piece of initialized data.  */
        .data