Your bfd changes broke sh sim

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Fri Jul 18 16:57:00 GMT 2008


Check out the cvs module "sim" (like "binutils")
configure with --target=sh-elf
make all-sim

Observe:
gcc -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0              -I. -I/tmp/hpautotest-sim/src/sim/sh -I../common -I/tmp/hpautotest-sim/src/sim/sh/../common -I../../include -I/tmp/hpautotest-sim/src/sim/sh/../../include -I../../bfd -I/tmp/hpautotest-sim/src/sim/sh/../../bfd -I../../opcodes -I/tmp/hpautotest-sim/src/sim/sh/../../opcodes  -g -O2 -o run \
	  run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a  ../../libiberty/libiberty.a -lz -lnsl  -lm
../../bfd/libbfd.a(coff-sh.o):(.rodata+0x1bc8): undefined reference to `pe_print_ce_compressed_pdata'
../../bfd/libbfd.a(coff-sh.o):(.rodata+0x1d28): undefined reference to `pe_print_ce_compressed_pdata'
collect2: ld returned 1 exit status
make[3]: Leaving directory `/tmp/hpautotest-sim/sh-elf/sim/sh'
make[3]: *** [run] Error 1

Please fix.

brgds, H-P



More information about the Gdb mailing list