* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
[binutils-gdb.git] / bfd / ChangeLog
1 2007-01-31 DJ Delorie <dj@redhat.com>
2
3 * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
4 message for dangerous relocs, special case the common user error.
5
6 2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
7
8 * elf.c (copy_elf_program_header): Start from the first section
9 in a segment and stop when all sections in a segment are
10 accounted for.
11
12 2007-01-29 Julian Brown <julian@codesourcery.com>
13
14 * bfd-in2.h: Regenerate.
15 * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
16 instruction scanning should be done.
17 (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
18 (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
19 (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
20 prototype.
21 * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
22 argument.
23 * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
24 (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
25 (elf32_vfp11_erratum_type): New enum.
26 (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
27 veneers.
28 (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
29 (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
30 vfp11_fix and num_vfp11_fixes fields.
31 (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
32 vfp11_erratum_glue_size, num_vfp11_fixes fields.
33 (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
34 (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
35 glue section.
36 (elf32_arm_section_map_add): Add an code/data mapping symbol entry
37 to a section's map.
38 (record_vfp11_erratum_veneer): Create a single veneer, and its
39 associated symbols.
40 (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
41 (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
42 BFDs.
43 (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
44 required.
45 (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
46 (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
47 (bfd_arm_vfp11_write_mask): Update write mask according to coded
48 register number.
49 (bfd_arm_vfp11_antidependency): New function.
50 (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
51 (elf32_arm_compare_mapping): Declare.
52 (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
53 BFD for potential erratum-triggering insns. Record results.
54 (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
55 and branches to veneers have been placed in virtual memory after
56 layout.
57 (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
58 hash table.
59 (elf32_arm_output_symbol_hook): Remove.
60 (elf32_arm_write_section): Output veneers, and branches to veneers.
61 Use maps from input sections, not output sections, for code
62 byte-swapping.
63 * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
64 * elf32-score.c (_bfd_score_elf_write_section): Likewise.
65 * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
66 * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
67
68 2007-01-27 H.J. Lu <hongjiu.lu@intel.com>
69
70 * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
71 (INCLUDED_TARGET_FILE): Removed.
72
73 2007-01-27 Mike Frysinger <vapier@gentoo.org>
74
75 * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
76 (INCLUDED_TARGET_FILE): Remove.
77
78 2007-01-25 DJ Delorie <dj@redhat.com>
79
80 * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
81 R_M32C_16 or R_M32C_24 relocs.
82
83 2007-01-25 Nick Clifton <nickc@redhat.com>
84
85 PR binutils/3874
86 * elf32-avr.c (avr_link_hash_table): Check to make sure that the
87 hash table was created by elf32_avr_link_hash_table_create before
88 using it.
89 (elf32_avr_link_hash_newfunc): New function. Just pass the call
90 through to _bfd_elf_link_hash_newfunc.
91 (elf32_avr_link_hash_table_create): Use
92 elf32_avr_link_hash_newfunc instead of
93 _bfd_elf_link_hash_newfunc.
94 (elf32_avr_relocate_section): Check for the hash table pointer
95 being NULL.
96 (elf32_avr_relax_section, avr_build_one_stub,
97 elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
98 elf32_avr_build_stubs): Likewise.
99
100 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR ld/3831
103 * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
104 argument, Elf_Internal_Sym *.
105
106 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
107 symbol dynamic if info->dynamic_data is TRUE.
108 (bfd_elf_record_link_assignment): Updated call to
109 bfd_elf_record_link_assignment.
110 (_bfd_elf_merge_symbol): Likewise. Always call
111 bfd_elf_link_mark_dynamic_symbol.
112
113 2076-01-12 H.J. Lu <hongjiu.lu@intel.com>
114
115 * Makefile.am (BFD_LIBS): Removed.
116 * Makefile.in: Regenerated.
117
118 2076-01-11 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR binutils/3631
121 * Makefile.am (OFILES): Add @bfd64_libs@.
122 (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
123 * Makefile.in: Regenerated.
124
125 * configure.in (bfd_libs): Replaced by ...
126 (bfd64_libs): This.
127 * configure: Regenerated.
128
129 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
130
131 * elf.c (assign_file_positions_for_load_sections): We can
132 require fewer phdrs than expected.
133
134 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
135
136 * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
137 * bfd-in2.h: Regenerate.
138 * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
139 bfd_mach_cpu32_fido.
140 (m68k_arch_features): Use fido_a instead of cpu32.
141 (bfd_m68k_compatible): Reject the combination of Fido and
142 ColdFire. Accept the combination of CPU32 and Fido with a
143 warning.
144 * elf32-m68k.c (elf32_m68k_object_p,
145 elf32_m68k_merge_private_bfd_data,
146 elf32_m68k_print_private_bfd_data): Treat Fido as an
147 architecture by itself.
148
149 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
150
151 * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
152
153 2007-01-05 Jakub Jelinek <jakub@redhat.com>
154
155 * texhex.c (first_phase): Don't fall through into the default
156 case.
157 (pass_over): Replace abort () calls with return FALSE. Fix
158 buffer overflow.
159
160 2007-01-04 Jie Zhang <jie.zhang@analog.com>
161
162 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
163 SEC_EXCLUDE on zero size .eh_frame.
164
165 For older changes see ChangeLog-2006
166 \f
167 Local Variables:
168 mode: change-log
169 left-margin: 8
170 fill-column: 74
171 version-control: never
172 End: