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

[commits] r13323 - in /libdfp/trunk: ChangeLog Makefile.in configure configure.ac sysdeps/powerpc/powerpc32/power6/fpu/Makefile



Author: ryanarn
Date: Wed Mar 30 19:57:34 2011
New Revision: 13323

Log:
2011-03-30  Ryan S. Arnold  <rsa@xxxxxxxxxx>

	* configure: Regenerated.

2011-03-30  Andreas Schwab  <schwab@xxxxxxxxxx>

	* Makefile.in: Added $(CFLAGS) to .S.o: rules.
	* configure.ac: Added -DSHARED to picflag in order to enforce PIC when
	compiling hand rolled asm functions.
	* sysdeps/powerpc/powerpc32/power6/fpu/Makefile: Added
	-DHAVE_ASM_PPC_REL16 to ASFLAGS in order to enforce secure-plt
	style GOT access.


Modified:
    libdfp/trunk/ChangeLog
    libdfp/trunk/Makefile.in
    libdfp/trunk/configure
    libdfp/trunk/configure.ac
    libdfp/trunk/sysdeps/powerpc/powerpc32/power6/fpu/Makefile

Modified: libdfp/trunk/ChangeLog
==============================================================================
--- libdfp/trunk/ChangeLog (original)
+++ libdfp/trunk/ChangeLog Wed Mar 30 19:57:34 2011
@@ -1,3 +1,16 @@
+2011-03-30  Ryan S. Arnold  <rsa@xxxxxxxxxx>
+
+	* configure: Regenerated.
+
+2011-03-30  Andreas Schwab  <schwab@xxxxxxxxxx>
+
+	* Makefile.in: Added $(CFLAGS) to .S.o: rules.
+	* configure.ac: Added -DSHARED to picflag in order to enforce PIC when
+	compiling hand rolled asm functions.
+	* sysdeps/powerpc/powerpc32/power6/fpu/Makefile: Added
+	-DHAVE_ASM_PPC_REL16 to ASFLAGS in order to enforce secure-plt
+	style GOT access.
+
 2011-03-30  Ryan S. Arnold  <rsa@xxxxxxxxxx>
 
 	* sysdeps/s390/dfpu/fe_decround.c (__init_printf_dfp_getround): Added

Modified: libdfp/trunk/Makefile.in
==============================================================================
--- libdfp/trunk/Makefile.in (original)
+++ libdfp/trunk/Makefile.in Wed Mar 30 19:57:34 2011
@@ -210,7 +210,7 @@
 	$(CC) $(CFLAGS) $(mzarch) -c $< $(C_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
 	@echo
 .S.o:
-	$(CC) $(ASFLAGS) $(mzarch) -c $< $(ASM_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
+	$(CC) $(CFLAGS) $(ASFLAGS) $(mzarch) -c $< $(ASM_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
 	@echo
 
 # Build the shared object files.
@@ -218,7 +218,7 @@
 	$(CC) $(CFLAGS) $(mzarch) -c $< $(C_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
 	@echo
 .S.os:
-	$(CC) $(ASFLAGS) $(mzarch) -c $< $(ASM_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
+	$(CC) $(CFLAGS) $(ASFLAGS) $(mzarch) -c $< $(ASM_DEFINES) $(WARNS) -include $(top_srcdir)/include/libdfp-symbols.h -include $(top_builddir)/config.h $(foreach dir, $(header_search_dirs), -I$(dir)) $(glibc_headers_dir) -o $@
 	@echo
 
 # Archive the static library and include all of the .o files from the backend

Modified: libdfp/trunk/configure
==============================================================================
--- libdfp/trunk/configure (original)
+++ libdfp/trunk/configure Wed Mar 30 19:57:34 2011
@@ -2687,7 +2687,7 @@
 # Should be ok if we build static with this turned on.  If the linker
 # complains that the GOT is too big this may need to be upgraded to -fPIC so
 # we get full addressibility.
-picflag="-fpic"
+picflag="-fpic -DSHARED"
 { echo "$as_me:$LINENO: configuring with \"$picflag\"" >&5
 echo "$as_me: configuring with \"$picflag\"" >&6;}
 

Modified: libdfp/trunk/configure.ac
==============================================================================
--- libdfp/trunk/configure.ac (original)
+++ libdfp/trunk/configure.ac Wed Mar 30 19:57:34 2011
@@ -427,7 +427,7 @@
 # Should be ok if we build static with this turned on.  If the linker
 # complains that the GOT is too big this may need to be upgraded to -fPIC so
 # we get full addressibility.
-picflag="-fpic"
+picflag="-fpic -DSHARED"
 AC_MSG_NOTICE(configuring with "$picflag")
 AC_SUBST(picflag)
 

Modified: libdfp/trunk/sysdeps/powerpc/powerpc32/power6/fpu/Makefile
==============================================================================
--- libdfp/trunk/sysdeps/powerpc/powerpc32/power6/fpu/Makefile (original)
+++ libdfp/trunk/sysdeps/powerpc/powerpc32/power6/fpu/Makefile Wed Mar 30 19:57:34 2011
@@ -1,2 +1,4 @@
 # The files in this directory are simply overrides of those already defined in
 # base-math/Makefile.
+
+override ASFLAGS += -DHAVE_ASM_PPC_REL16