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