[PATCH v4] change ifunc assembly test to a link test

Andreas Schwab schwab@linux-m68k.org
Tue Oct 30 20:35:00 GMT 2012


Mike Frysinger <vapier@gentoo.org> writes:

>  .type foo,%gnu_indirect_function
> +foo:
> +.globl _start
> +_start:
> +.globl __start
> +__start:
> +.data
> +.long foo

This is broken.

/usr/bin/ld: /tmp/ccdRsmyd.o:(.data+0x0): relocation R_PPC64_ADDR32 for indirect function foo unsupported
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-alpha mailing list