This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FreeBSD port (25): hide local label


This patch beautifies the "nm libc.so" output by respecting the conventions
for local labels.


2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF.

diff -r -c3 glibc-20020627.bak/sysdeps/unix/i386/brk.S glibc-20020627/sysdeps/unix/i386/brk.S
--- glibc-20020627.bak/sysdeps/unix/i386/brk.S	Tue Jul 10 23:01:25 2001
+++ glibc-20020627/sysdeps/unix/i386/brk.S	Fri Jul  5 01:17:11 2002
@@ -36,9 +36,9 @@
 	movl 4(%esp), %eax
 #ifdef	PIC
 	/* Standard PIC nonsense to store into `__curbrk' through the GOT.  */
-	call here
-here:	popl %ecx
-	addl $_GLOBAL_OFFSET_TABLE_+[.-here], %ecx
+	call L(here)
+L(here): popl %ecx
+	addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ecx
 	movl C_SYMBOL_NAME(__curbrk@GOT)(%ecx), %ecx
 	movl %eax, (%ecx)
 #else


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]