This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
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>
- From: Atsushi Nemoto <anemo at mba dot ocn dot ne dot jp>
- To: libc-alpha at sources dot redhat dot com
- Cc: macro at ds2 dot pg dot gda dot pl
- Date: Thu, 15 Apr 2004 13:43:14 +0900 (JST)
- Subject: 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