From: Andreas Schwab Date: Mon, 12 Aug 2019 09:29:29 +0000 (+0200) Subject: sysdeps/riscv/start.S: rename .Lload_gp to load_gp (bug 24376) X-Git-Tag: glibc-2.31~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7badf7b06fe796b3f549663d0d65d3012a7e0457;p=thirdparty%2Fglibc.git sysdeps/riscv/start.S: rename .Lload_gp to load_gp (bug 24376) Renaming the symbol keeps the label in the symbol table as a normal local label, so that `objdump -d' can pick it up as an anchor. --- diff --git a/sysdeps/riscv/start.S b/sysdeps/riscv/start.S index bcbce58ffe2..dee984131c6 100644 --- a/sysdeps/riscv/start.S +++ b/sysdeps/riscv/start.S @@ -47,7 +47,7 @@ ENTRY (ENTRY_POINT) .cfi_label to force starting the FDE. */ .cfi_label .Ldummy cfi_undefined (ra) - call .Lload_gp + call load_gp mv a5, a0 /* rtld_fini. */ /* main may be in a shared library. */ la a0, main @@ -68,7 +68,7 @@ END (ENTRY_POINT) needs to be initialized before calling __libc_start_main in that case. So we redundantly initialize it at the beginning of _start. */ -.Lload_gp: +load_gp: .option push .option norelax lla gp, __global_pointer$ @@ -76,7 +76,7 @@ END (ENTRY_POINT) ret .section .preinit_array,"aw" - .dc.a .Lload_gp + .dc.a load_gp /* Define a symbol for the first piece of initialized data. */ .data