* language.h (struct language_defn) <la_iterate_over_symbols>: Fix
[deliverable/binutils-gdb.git] / include / elf / x86-64.h
index b09a558a35bb469db7f94d380ae5d873c4e55fbc..9022f8482f28eb5ad2c1a201607c42a62410c14e 100644 (file)
@@ -1,5 +1,5 @@
 /* x86_64 ELF support for BFD.
-   Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006
+   Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2008, 2009, 2010
    Free Software Foundation, Inc.
    Contributed by Jan Hubicka <jh@suse.cz>
 
@@ -7,7 +7,7 @@
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -71,6 +71,8 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type)
      RELOC_NUMBER (R_X86_64_TLSDESC_CALL, 35) /* Relaxable call through TLS
                                                 descriptor.  */
      RELOC_NUMBER (R_X86_64_TLSDESC, 36)      /* 2x64-bit TLS descriptor.  */
+     RELOC_NUMBER (R_X86_64_IRELATIVE, 37)    /* Adjust indirectly by program base */
+     RELOC_NUMBER (R_X86_64_RELATIVE64, 38)   /* 64bit adjust by program base */
      RELOC_NUMBER (R_X86_64_GNU_VTINHERIT, 250)       /* GNU C++ hack  */
      RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251)         /* GNU C++ hack  */
 END_RELOC_NUMBERS (R_X86_64_max)
@@ -81,7 +83,7 @@ END_RELOC_NUMBERS (R_X86_64_max)
 
 /* Like SHN_COMMON but the symbol will be allocated in the .lbss
    section.  */
-#define SHN_X86_64_LCOMMON     0xff02
+#define SHN_X86_64_LCOMMON     (SHN_LORESERVE + 2)
 
 #define SHF_X86_64_LARGE       0x10000000
 #endif
This page took 0.023891 seconds and 4 git commands to generate.