configure tests, howto ?

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Tue Jan 2 15:02:56 UTC 2007


On Tue, Jan 02, 2007 at 02:42:21PM +0000, Luciano Miguel Ferreira Rocha wrote:
> On Tue, Jan 02, 2007 at 03:14:16PM +0100, Joakim Tjernlund wrote:
> > Anyone know how to translate this configure test to uClibc:
> > 
> > # See whether gas has R_PPC_REL16 relocs.
> > AC_CACHE_CHECK(for R_PPC_REL16 gas support, libc_cv_ppc_rel16, [dnl
> > cat > conftest.s <<\EOF
> > 	.text
> > 	addis 11,30,_GLOBAL_OFFSET_TABLE_-. at ha
> > EOF
> 
> Try this:
> 	.text
> 	here:
> 	addis 11,30,here-. at ha
> 
> Some PPC systems use a different assembly sintax:
> 	.text
> 	here:
> 	addis r11,r30,ha16(here-.)

Actually, this is probably incorrect, as the assembler can compute here - ..

So maybe your assembler really doesn't support R_PPC_REL16? What's the
output of gcc?

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070102/1758fbda/attachment-0002.pgp 


More information about the uClibc mailing list