------- Comment #73 from hp at gcc dot gnu dot org 2008-08-30 18:45 ------- (In reply to comment #72) > SUPPORTS_WEAK is defined on hppa2.0w-hp-hpux11.11 depending on GAS > support. See som.h.
Good to know. It can't be compiled cross out of the box though, and the default is off: /bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size \ size.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -lz libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size size.o bucomm.o version.o f\ ilemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -lz ../bfd/.libs/libbfd.a(targets.o):(.data+0x10): undefined reference to `som_vec' ../bfd/.libs/libbfd.a(targets.o):(.rodata+0x20): undefined reference to `som_vec' collect2: ld returned 1 exit status make[5]: *** [size] Error 1 make[5]: Leaving directory `/home/hp/combq/hppa2-obj/binutils' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170