summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/start.S
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-17 21:57:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-17 21:57:26 +0000
commit2969121014b150036551c93a09da7686ffcac817 (patch)
tree84709b44f2b9dcbbd8259a213bd0a598bb49490c /sysdeps/x86_64/start.S
parentf238fd190bbfc57f5678ca5c5975b92bfb21e040 (diff)
Remove bounded-pointers handling from x86_64 assembly sources.
Diffstat (limited to 'sysdeps/x86_64/start.S')
-rw-r--r--sysdeps/x86_64/start.S9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/x86_64/start.S b/sysdeps/x86_64/start.S
index c4d25d0614..7cbc157662 100644
--- a/sysdeps/x86_64/start.S
+++ b/sysdeps/x86_64/start.S
@@ -54,7 +54,6 @@
*/
#include <sysdep.h>
-#include "bp-sym.h"
.text
.globl _start
@@ -106,21 +105,21 @@ _start:
mov __libc_csu_fini@GOTPCREL(%rip), %R8_LP
mov __libc_csu_init@GOTPCREL(%rip), %RCX_LP
- mov BP_SYM (main)@GOTPCREL(%rip), %RDI_LP
+ mov main@GOTPCREL(%rip), %RDI_LP
/* Call the user's main function, and exit with its value.
But let the libc call main. */
- call BP_SYM (__libc_start_main)@PLT
+ call __libc_start_main@PLT
#else
/* Pass address of our own entry points to .fini and .init. */
mov $__libc_csu_fini, %R8_LP
mov $__libc_csu_init, %RCX_LP
- mov $BP_SYM (main), %RDI_LP
+ mov $main, %RDI_LP
/* Call the user's main function, and exit with its value.
But let the libc call main. */
- call BP_SYM (__libc_start_main)
+ call __libc_start_main
#endif
hlt /* Crash if somehow `exit' does return. */