This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Reserve an i386 relocation
On Wed, Aug 11, 2004 at 10:26:41AM -0700, H. J. Lu wrote:
> On Wed, Aug 11, 2004 at 05:50:45PM +0100, Nick Clifton wrote:
> > Hi H. J.
> >
> > >I'd like to reserve an i386 relocation. Is anyone using 38? I will
> > >check it in a week from today if I don't hear objection by then.
> >
> > Not an objection but ... any particular reason for choosing 38 ? If you
> > chose another, higher value you would be less likely to clash with other
> > compilers/toolchain developers...
>
> We pick 38 since it isn't used. Will 100 work for you?
>
>
I changed it to 200. Hope it is OK.
H.J.
---
2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
* elf/i386.h (R_386_RESERVED_BY_INTEL_200): New.
--- include/elf/i386.h.intel 2002-09-20 22:12:10.000000000 -0700
+++ include/elf/i386.h 2004-08-11 12:46:19.089462014 -0700
@@ -62,6 +62,9 @@ START_RELOC_NUMBERS (elf_i386_reloc_type
RELOC_NUMBER (R_386_TLS_DTPOFF32, 36)
RELOC_NUMBER (R_386_TLS_TPOFF32, 37)
+ /* Reserved by Intel. */
+ RELOC_NUMBER (R_386_RESERVED_BY_INTEL_200, 200)
+
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_386_GNU_VTINHERIT, 250)
RELOC_NUMBER (R_386_GNU_VTENTRY, 251)