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/elf64-gen.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* Generic support for 64-bit ELF
    2    Copyright 1993, 1995, 1998, 1999, 2001 Free Software Foundation, Inc.
     2   Copyright 1993, 1995, 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
    33
    44This file is part of BFD, the Binary File Descriptor library.
     
    3131         0,                     /* size (0 = byte, 1 = short, 2 = long) */
    3232         0,                     /* bitsize */
    33          false,                 /* pc_relative */
     33         FALSE,                 /* pc_relative */
    3434         0,                     /* bitpos */
    3535         complain_overflow_dont, /* complain_on_overflow */
    3636         NULL,                  /* special_function */
    3737         "UNKNOWN",             /* name */
    38          false,                 /* partial_inplace */
     38         FALSE,                 /* partial_inplace */
    3939         0,                     /* src_mask */
    4040         0,                     /* dst_mask */
    41          false);                /* pcrel_offset */
     41         FALSE);                /* pcrel_offset */
     42
     43static void elf_generic_info_to_howto
     44  PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
     45static void elf_generic_info_to_howto_rel
     46  PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
     47static bfd_boolean elf64_generic_link_add_symbols
     48  PARAMS ((bfd *, struct bfd_link_info *));
    4249
    4350static void
     
    4552     bfd *abfd ATTRIBUTE_UNUSED;
    4653     arelent *bfd_reloc;
    47      Elf64_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
     54     Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
    4855{
    4956  bfd_reloc->howto = &dummy;
     
    5461     bfd *abfd ATTRIBUTE_UNUSED;
    5562     arelent *bfd_reloc;
    56      Elf64_Internal_Rel *elf_reloc ATTRIBUTE_UNUSED;
     63     Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;
    5764{
    5865  bfd_reloc->howto = &dummy;
    5966}
    6067
    61 static boolean
     68static bfd_boolean
    6269elf64_generic_link_add_symbols (abfd, info)
    6370     bfd *abfd;
     
    7380
    7481        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);
     82        (*_bfd_error_handler) (_("%s: Relocations in generic ELF (EM: %d)"),
     83                               bfd_archive_filename (abfd),
     84                               ehdrp->e_machine);
    8485
    8586        bfd_set_error (bfd_error_wrong_format);
    86         return false;
     87        return FALSE;
    8788      }
    8889
Note: See TracChangeset for help on using the changeset viewer.