This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH] Fix PR target/32130 powerpc-unknown-eabisim build failure


   Attached is a fix to PR target/32130 introduced here:
<URL:http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00146.html>. I've posted
the testresults at
<URL:http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01463.html> for
comparison with the last one before the breakage
<URL:http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg00231.html>. There are
new failures. I was going to test C++ also, but ran into PR 32154. I did not
test Fortran because newlib+libgloss isn't enough to satisfy libgfortran's
needs. And finally, libjava has problems at the moment.

   If the patch OK, please commit it.

:ADDPATCH rs6000:

2007-05-30  Rask Ingemann Lambertsen  <rask@sygehus.dk>

	PR target/32130
	* config/rs6000/eabi-cn.asm: Rename conflicting symbol
	  __DTOR_END__ to __DTOR_LAST__.
	* config/rs6000/sol-cn.asm: Likewise.
	* config/rs6000/eabi.asm: Likewise.

Index: config/rs6000/eabi-cn.asm
===================================================================
--- config/rs6000/eabi-cn.asm	(revision 125037)
+++ config/rs6000/eabi-cn.asm	(working copy)
@@ -66,9 +66,9 @@
 __CTOR_END__:
 
 	.section ".dtors","aw"
-	.globl	__DTOR_END__
-	.type	__DTOR_END__,@object
-__DTOR_END__:
+	.globl	__DTOR_LAST__
+	.type	__DTOR_LAST__,@object
+__DTOR_LAST__:
 
 	.section ".sdata","aw"
 	.globl	__SDATA_END__
Index: config/rs6000/sol-cn.asm
===================================================================
--- config/rs6000/sol-cn.asm	(revision 125037)
+++ config/rs6000/sol-cn.asm	(working copy)
@@ -54,9 +54,9 @@
 
 # End list of C++ destructors
 	.section ".dtors","aw"
-	.globl	__DTOR_END__
-	.type	__DTOR_END__,@object
-__DTOR_END__:
+	.globl	__DTOR_LAST__
+	.type	__DTOR_LAST__,@object
+__DTOR_LAST__:
 
 	.section ".text"
 	.globl	_ex_text1
Index: config/rs6000/eabi.asm
===================================================================
--- config/rs6000/eabi.asm	(revision 125037)
+++ config/rs6000/eabi.asm	(working copy)
@@ -103,7 +103,7 @@
 	.long	__DTOR_LIST__			/* start of .dtor section */
 
 .Ldtore = .-.LCTOC1
-	.long	__DTOR_END__			/* end of .dtor section */
+	.long	__DTOR_LAST__			/* end of .dtor section */
 
 .Lexcepts = .-.LCTOC1
 	.long	__EXCEPT_START__		/* start of .gcc_except_table section */

-- 
Rask Ingemann Lambertsen


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