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]

binutils 2.14.91 failed to build recent glibc<20040415.114747.75424112.nemoto@toshiba-tops.co.jp><Pine.LNX.4.55.0404141353460.17639@jurand.ds.pg.gda.pl>


The binutils 2.14.91 failed to build recent glibc for mips-linux.

This is because sysdeps/mips/dl-machine.h contains nested .ent/.end
pairs.  Please look at the thread on binutils ML for more details:

http://sources.redhat.com/ml/binutils/2004-04/msg00242.html

Here is a patch to current CVS.

--- sysdeps/mips/dl-machine.h.org	Thu Apr 15 11:24:26 2004
+++ sysdeps/mips/dl-machine.h	Thu Apr 15 11:38:28 2004
@@ -474,7 +474,7 @@
 	" STRINGXP(PTR_LA) " $25, _dl_start_user\n\
 	.globl _dl_start_user\n\
 	.type _dl_start_user,@function\n\
-	.ent _dl_start_user\n\
+	.aent _dl_start_user\n\
 _dl_start_user:\n\
 	" STRINGXP(SETUP_GP) "\n\
 	" STRINGXV(SETUP_GP64($18,_dl_start_user)) "\n\
@@ -512,8 +512,7 @@
 	" STRINGXP(PTR_LA) " $2, _dl_fini\n\
 	# Jump to the user entry point.\n\
 	move $25, $17\n\
-	jr $25\n\
-	.end _dl_start_user\n\t"\
+	jr $25\n\t"\
 	_RTLD_EPILOGUE(ENTRY_POINT)\
 	".previous"\
 );

---
Atsushi Nemoto


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