home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / bfd / elf32-i3.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.8 KB  |  72 lines

  1. /* Intel 80386/80486-specific support for 32-bit ELF
  2.    Copyright 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of BFD, the Binary File Descriptor library.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #include "bfd.h"
  21. #include "sysdep.h"
  22. #include "libbfd.h"
  23. #include "libelf.h"
  24.  
  25. enum reloc_type
  26.   {
  27.     R_386_NONE = 0,
  28.     R_386_32,        R_386_PC32,
  29.     R_386_GOT32,    R_386_PLT32,
  30.     R_386_COPY,
  31.     R_386_GLOB_DAT,    R_386_JUMP_SLOT,
  32.     R_386_RELATIVE,
  33.     R_386_GOTOFF,    R_386_GOTPC,
  34.     R_386_max,
  35.   };
  36.  
  37. #if 0
  38. static CONST char *CONST reloc_type_names[] =
  39. {
  40.   "R_386_NONE",
  41.   "R_386_32",        "R_386_PC32",
  42.   "R_386_GOT32",    "R_386_PLT32",
  43.   "R_386_COPY",
  44.   "R_386_GLOB_DAT",    "R_386_JUMP_SLOT",
  45.   "R_386_RELATIVE",
  46.   "R_386_GOTOFF",    "R_386_GOTPC",
  47. };
  48. #endif
  49.  
  50. static CONST struct reloc_howto_struct *
  51. DEFUN (elf_bfd_reloc_type_lookup, (abfd, code),
  52.        bfd *abfd AND
  53.        bfd_reloc_code_real_type code)
  54. {
  55.   return 0;
  56. }
  57.  
  58. static void
  59. DEFUN (elf_info_to_howto, (abfd, cache_ptr, dst),
  60.        bfd *abfd AND
  61.        arelent *cache_ptr AND
  62.        Elf_Internal_Rela *dst)
  63. {
  64.   abort ();
  65. }
  66.  
  67. #define TARGET_LITTLE_SYM    elf32_i386_vec
  68. #define TARGET_LITTLE_NAME    "elf32-i386"
  69. #define ELF_ARCH        bfd_arch_i386
  70.  
  71. #include "elf32-target.h"
  72.