This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] remove symbol _fp_hw from s390
- From: GOTO Masanori <gotom at debian dot or dot jp>
- To: Martin Schwidefsky <schwidefsky at de dot ibm dot com>,libc-alpha at sources dot redhat dot com
- Cc: gotom at debian dot or dot jp
- Date: Mon, 12 Jul 2004 12:51:55 +0900
- Subject: Re: [PATCH] remove symbol _fp_hw from s390
- References: <81y8lpevn5.wl@omega.webmasters.gr.jp>
At Mon, 12 Jul 2004 12:45:18 +0900,
GOTO Masanori wrote:
> This patch removes symbol _fp_hw in start.S from s390. This _fp_hw is
> mingled with compiled binaries, but it does not affect anything. I
> believe _fp_hw is not needed on s390 because this symbol is used to
> keep binary compatibility with SysV ABI on i386, not s390.
Oops, I forgot to modify Copyright years. The correct version is
attached.
Regards,
-- gotom
2004-07-10 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
Index: sysdeps/s390/s390-32/elf/start.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/elf/start.S,v
retrieving revision 1.6
diff -u -r1.6 start.S
--- sysdeps/s390/s390-32/elf/start.S 8 Jul 2003 03:45:26 -0000 1.6
+++ sysdeps/s390/s390-32/elf/start.S 12 Jul 2004 03:47:57 -0000
@@ -1,5 +1,5 @@
/* Startup code compliant to the ELF s390 ABI.
- Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
@@ -96,13 +96,6 @@
.L5: .long _GLOBAL_OFFSET_TABLE_-.Llit
#endif
-/* FIXME: FPU flags or what ?!? */
-
- .section .rodata
- .globl _fp_hw
- .long 3
- .size _fp_hw, 4
-
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start
Index: sysdeps/s390/s390-64/elf/start.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/elf/start.S,v
retrieving revision 1.6
diff -u -r1.6 start.S
--- sysdeps/s390/s390-64/elf/start.S 8 Jul 2003 03:45:26 -0000 1.6
+++ sysdeps/s390/s390-64/elf/start.S 12 Jul 2004 03:47:57 -0000
@@ -1,5 +1,5 @@
/* Startup code compliant to the 64 bit S/390 ELF ABI.
- Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
@@ -73,13 +73,6 @@
/* Crash if __libc_start_main returns. */
.word 0
- /* FIXME: FPU flags or what ?!? */
-
- .section .rodata
- .globl _fp_hw
- .long 3
- .size _fp_hw, 4
-
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start