Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so/arch/powerpc avoid linker warnings with th...



details:   https://anonhg.NetBSD.org/src/rev/392030af84b7
branches:  trunk
changeset: 770632:392030af84b7
user:      chs <chs%NetBSD.org@localhost>
date:      Wed Oct 26 15:56:58 2011 +0000

description:
avoid linker warnings with the new binutils by not forcing ld.elf_so
to be soft-float.  the floating-point usage in ld.elf_so is only
because of stdarg functions like printf(), and gcc 4.5 is good
about not actually executing the FP instructions in such functions
unless FP values are passed to them, which ld.elf_so doesn't do.

diffstat:

 libexec/ld.elf_so/arch/powerpc/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 1b63f1b8122c -r 392030af84b7 libexec/ld.elf_so/arch/powerpc/Makefile.inc
--- a/libexec/ld.elf_so/arch/powerpc/Makefile.inc       Wed Oct 26 13:54:18 2011 +0000
+++ b/libexec/ld.elf_so/arch/powerpc/Makefile.inc       Wed Oct 26 15:56:58 2011 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.11 2009/10/22 21:56:13 skrll Exp $
+#      $NetBSD: Makefile.inc,v 1.12 2011/10/26 15:56:58 chs Exp $
 
 SRCS+=         rtld_start.S ppc_reloc.c
 
 # XXX Should not be in CPPFLAGS!
-CPPFLAGS+=     -fpic -msoft-float
+CPPFLAGS+=     -fpic
 
 CPPFLAGS+=     -DELFSIZE=32
 



Home | Main Index | Thread Index | Old Index