Alexandre Oliva writes: > Index: include/elf/x86-64.h > =================================================================== > RCS file: /cvs/uberbaum/./include/elf/x86-64.h,v > retrieving revision 1.8 > diff -u -p -r1.8 x86-64.h > --- include/elf/x86-64.h 25 Jul 2005 15:41:07 -0000 1.8 > +++ include/elf/x86-64.h 15 Sep 2005 22:39:19 -0000 > @@ -1,5 +1,5 @@ > /* x86_64 ELF support for BFD. > - Copyright (C) 2000, 2001, 2002, 2004 Free Software Foundation, Inc. > + Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. > Contributed by Jan Hubicka > > This file is part of BFD, the Binary File Descriptor library. > @@ -53,6 +53,13 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_ty > RELOC_NUMBER (R_X86_64_GOTOFF64, 25) /* 64 bit offset to GOT */ > RELOC_NUMBER (R_X86_64_GOTPC32, 26) /* 32 bit signed pc relative > offset to GOT */ > + RELOC_NUMBER (R_X86_64_GOTPC32_TLSDESC, 27) > + /* 32 bit signed pc relative > + offset to TLS descriptor > + in the GOT. */ > + RELOC_NUMBER (R_X86_64_TLSDESC, 28) /* 2x64-bit TLS descriptor. */ > + RELOC_NUMBER (R_X86_64_TLSDESC_CALL, 29) /* Relaxable call through TLS > + descriptor. */ Please check the current x86-64 ABI, the relocations until 31 are all taken and reserved, you cannot use the above ones, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126