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