Changeset 609 for branches/GNU/src/binutils/bfd/elf64-gen.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/elf64-gen.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* 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. 3 3 4 4 This file is part of BFD, the Binary File Descriptor library. … … 31 31 0, /* size (0 = byte, 1 = short, 2 = long) */ 32 32 0, /* bitsize */ 33 false, /* pc_relative */33 FALSE, /* pc_relative */ 34 34 0, /* bitpos */ 35 35 complain_overflow_dont, /* complain_on_overflow */ 36 36 NULL, /* special_function */ 37 37 "UNKNOWN", /* name */ 38 false, /* partial_inplace */38 FALSE, /* partial_inplace */ 39 39 0, /* src_mask */ 40 40 0, /* dst_mask */ 41 false); /* pcrel_offset */ 41 FALSE); /* pcrel_offset */ 42 43 static void elf_generic_info_to_howto 44 PARAMS ((bfd *, arelent *, Elf_Internal_Rela *)); 45 static void elf_generic_info_to_howto_rel 46 PARAMS ((bfd *, arelent *, Elf_Internal_Rela *)); 47 static bfd_boolean elf64_generic_link_add_symbols 48 PARAMS ((bfd *, struct bfd_link_info *)); 42 49 43 50 static void … … 45 52 bfd *abfd ATTRIBUTE_UNUSED; 46 53 arelent *bfd_reloc; 47 Elf 64_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED;54 Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED; 48 55 { 49 56 bfd_reloc->howto = &dummy; … … 54 61 bfd *abfd ATTRIBUTE_UNUSED; 55 62 arelent *bfd_reloc; 56 Elf 64_Internal_Rel*elf_reloc ATTRIBUTE_UNUSED;63 Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED; 57 64 { 58 65 bfd_reloc->howto = &dummy; 59 66 } 60 67 61 static b oolean68 static bfd_boolean 62 69 elf64_generic_link_add_symbols (abfd, info) 63 70 bfd *abfd; … … 73 80 74 81 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); 84 85 85 86 bfd_set_error (bfd_error_wrong_format); 86 return false;87 return FALSE; 87 88 } 88 89 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.