Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/elf32-gen.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* Generic support for 32-bit ELF
    2    Copyright 1993, 1995, 1998, 1999 Free Software Foundation, Inc.
     2   Copyright 1993, 1995, 1998, 1999, 2001, 2002
     3   Free Software Foundation, Inc.
    34
    45This file is part of BFD, the Binary File Descriptor library.
     
    3132         0,                     /* size (0 = byte, 1 = short, 2 = long) */
    3233         0,                     /* bitsize */
    33          false,                 /* pc_relative */
     34         FALSE,                 /* pc_relative */
    3435         0,                     /* bitpos */
    3536         complain_overflow_dont, /* complain_on_overflow */
    3637         NULL,                  /* special_function */
    3738         "UNKNOWN",             /* name */
    38          false,                 /* partial_inplace */
     39         FALSE,                 /* partial_inplace */
    3940         0,                     /* src_mask */
    4041         0,                     /* dst_mask */
    41          false);                /* pcrel_offset */
     42         FALSE);                /* pcrel_offset */
     43
     44static void elf_generic_info_to_howto
     45  PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
     46static void elf_generic_info_to_howto_rel
     47  PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
     48static bfd_boolean elf32_generic_link_add_symbols
     49  PARAMS ((bfd *, struct bfd_link_info *));
    4250
    4351static void
     
    4553     bfd *abfd ATTRIBUTE_UNUSED;
    4654     arelent *bfd_reloc;
    47      Elf32_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
     55     Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
    4856{
    4957  bfd_reloc->howto = &dummy;
     
    5462     bfd *abfd ATTRIBUTE_UNUSED;
    5563     arelent *bfd_reloc;
    56      Elf32_Internal_Rel *elf_reloc ATTRIBUTE_UNUSED;
     64     Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
    5765{
    5866  bfd_reloc->howto = &dummy;
    5967}
    6068
    61 static boolean
     69static bfd_boolean
    6270elf32_generic_link_add_symbols (abfd, info)
    6371     bfd *abfd;
     
    7381
    7482        ehdrp = elf_elfheader (abfd);
    75         if (abfd->my_archive)
    76           (*_bfd_error_handler) (_("%s(%s): Relocations in generic ELF (EM: %d)"),
    77                                  bfd_get_filename (abfd->my_archive),
    78                                  bfd_get_filename (abfd),
    79                                  ehdrp->e_machine);
    80         else
    81           (*_bfd_error_handler) (_("%s: Relocations in generic ELF (EM: %d)"),
    82                                  bfd_get_filename (abfd),
    83                                  ehdrp->e_machine);
     83        (*_bfd_error_handler) (_("%s: Relocations in generic ELF (EM: %d)"),
     84                               bfd_archive_filename (abfd),
     85                               ehdrp->e_machine);
    8486
    8587        bfd_set_error (bfd_error_wrong_format);
    86         return false;
     88        return FALSE;
    8789      }
    8890
Note: See TracChangeset for help on using the changeset viewer.