Article View: gnu.utils.bug
Article #769binutils-2.0 vs. Am29000
From: Andrew Smith
Date: Wed, 09 Sep 1992 19:22
Date: Wed, 09 Sep 1992 19:22
46 lines
1680 bytes
1680 bytes
Is the 2.0 release of binutils meant to include all of the current Cygnus work
on 29k? I tried it out (configure sun4 -target=ebmon29k) and the binutils
(objdump,nm at least) work fine but I have problems with the linker.
ld -r complains about "Warning, can't find entry symbol start, defaulting to
00000000" and dumps core. ld works fine in the normal (absolute output) mode.
With the following patch to ld/ebmon29k.sc-sh ...
*** ebmon29k.sc-sh Wed Sep 9 12:11:59 1992
--- ebmon29k.sc-sh~ Mon Mar 2 14:22:37 1992
***************
*** 1,6 ****
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
! ${RELOCATING+ENTRY(start)}
SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
--- 1,6 ----
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
! ENTRY(start)
SECTIONS {
.text ${RELOCATING+${TEXT_START_ADDR}} :
... the complaint about "start" goes away but it still aborts and dumps core:
(gdb) i s
#0 0xf775c120 in ?? ()
#1 0x219e8 in coff_write_relocs (...) (...)
#2 0x2312c in coff_write_object_contents (...) (...)
#3 0x1484c in bfd_close (...) (...)
#4 0xc2d0 in main (...) (...)
Any ideas? Did my previous patches to the old Cygnus 29k ld get incorporated
into ld-2.0 ?
Andrew Smith
SynOptics Communications Inc.
Technical Details
Message-ID:
<9209091922.AA02753@milliways>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!synoptics.com!asmithShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!synoptics.com!asmith From: asmith@synoptics.com (Andrew Smith) Subject: binutils-2.0 vs. Am29000 Message-ID: <9209091922.AA02753@milliways> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 9 Sep 1992 19:22:25 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 48