This is the mail archive of the gcc@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]

Trouble w/egcs on ppc



I'm trying to build the egcs-980302 release on a 586-linux targetting
a ppc-rtems-eabi, and I get an abort in binutils-2.8/gas when it tries
to produce the relocation information for the instruction 'bl strcmp@plt'

Is binutils-2.8 the latest, and has this bug been seen before?
Thanx for any info.

Here's the traceback in gas:

Breakpoint 8, as_abort (file=0x80965d4 "./config/tc-ppc.c", line=4759, 
    fn=0x8096aa3 "md_apply_fix3") at messages.c:487
(gdb) up
#1  0x804b544 in md_apply_fix3 (fixp=0x80c186c, valuep=0xbffffbbc, 
    seg=0x80d65b8) at ./config/tc-ppc.c:4767
(gdb) p fixp->fx_r_type
$1 = BFD_RELOC_24_PLT_PCREL
(gdb) where
#0  as_abort (file=0x80965d4 "./config/tc-ppc.c", line=4759, 
    fn=0x8096aa3 "md_apply_fix3") at messages.c:487
#1  0x804b544 in md_apply_fix3 (fixp=0x80c186c, valuep=0xbffffbbc, 
    seg=0x80d65b8) at ./config/tc-ppc.c:4767
#2  0x805b027 in fixup_segment (fixP=0x80c0de4, this_segment_type=0x80d65b8)
    at write.c:2659
#3  0x805a055 in write_relocs (abfd=0x80d62d8, sec=0x80d65b8, xxx=0x0)
    at write.c:865
#4  0x8060f8a in bfd_map_over_sections (abfd=0x80d62d8, 
    operation=0x805a028 <write_relocs>, user_storage=0x0) at section.c:791
#5  0x805a8ad in write_object_file () at write.c:1859
#6  0x804f23d in main (argc=2, argv=0x80bdb68) at as.c:713
#7  0x80493fb in _start ()
(gdb) 

-- 
Peter Barada                            pbarada@wavemark.com
Wizard                                  781-270-7098 x226
WaveMark Technologies, Inc.             781-270-0193 (fax)

"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein


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