]>
Commit | Line | Data |
---|---|---|
c15f73f9 JJ |
1 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. | |
4 | * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. | |
5 | (struct elf_symbol): Change first member into union. | |
6 | (elf_sort_elf_symbol): Compare pointers to internal syms rather than | |
7 | internal syms. Only compare st_shndx fields. | |
8 | (elf_create_symbuf): New function. | |
9 | (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available | |
10 | for bfds, use a binary search, otherwise don't qsort symbols | |
11 | unnecessarily only to select which symbols are for the particular | |
12 | shndx. | |
13 | ||
effdf42a NC |
14 | 2007-02-01 Nick Clifton <nickc@redhat.com> |
15 | ||
16 | PR ld/3852 | |
17 | * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields | |
18 | in the elf_link_hash_table structure. | |
19 | ||
183e98be AM |
20 | 2007-02-01 Alan Modra <amodra@bigpond.net.au> |
21 | ||
22 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. | |
23 | * elfxx-target.h (elf_backend_write_core_note): Define and use. | |
24 | * elf.c (elfcore_write_prpsinfo): Call the above. Add support for | |
25 | 32-bit core note on 64-bit target. | |
26 | (elfcore_write_prstatus): Likewise. | |
27 | (elfcore_write_lwpstatus): Make note_name const. | |
28 | (elfcore_write_prfpreg): Likewise. | |
29 | (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit | |
30 | target. | |
31 | * elf32-ppc.c (ppc_elf_write_core_note): New function. | |
32 | (elf_backend_write_core_note): Define. | |
33 | * elf64-ppc.c (ppc64_elf_write_core_note): New function. | |
34 | (elf_backend_write_core_note): Define. | |
35 | ||
fc523535 | 36 | 2007-01-31 H.J. Lu <hongjiu.lu@intel.com> |
16cecee5 L |
37 | |
38 | * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. | |
39 | (elf32_bed): Defined for elf32-us-cris. | |
40 | ||
41 | * elf64-sh64.c (elf64_bed): Defined for Linux. | |
42 | (INCLUDED_TARGET_FILE): Removed. | |
43 | ||
44 | * elfxx-target.h (elfNN_bed): Always define. Don't check | |
45 | INCLUDED_TARGET_FILE. | |
46 | ||
c9b57b7e DD |
47 | 2007-01-31 DJ Delorie <dj@redhat.com> |
48 | ||
49 | * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning | |
50 | message for dangerous relocs, special case the common user error. | |
51 | ||
53020534 L |
52 | 2007-01-30 H.J. Lu <hongjiu.lu@intel.com> |
53 | ||
54 | * elf.c (copy_elf_program_header): Start from the first section | |
55 | in a segment and stop when all sections in a segment are | |
56 | accounted for. | |
57 | ||
c7b8f16e JB |
58 | 2007-01-29 Julian Brown <julian@codesourcery.com> |
59 | ||
60 | * bfd-in2.h: Regenerate. | |
61 | * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 | |
62 | instruction scanning should be done. | |
63 | (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) | |
64 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. | |
65 | (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to | |
66 | prototype. | |
67 | * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info | |
68 | argument. | |
69 | * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) | |
70 | (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. | |
71 | (elf32_vfp11_erratum_type): New enum. | |
72 | (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to | |
73 | veneers. | |
74 | (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. | |
75 | (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, | |
76 | vfp11_fix and num_vfp11_fixes fields. | |
77 | (elf32_arm_link_hash_table_create): Initialise vfp11_fix, | |
78 | vfp11_erratum_glue_size, num_vfp11_fixes fields. | |
79 | (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. | |
80 | (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum | |
81 | glue section. | |
82 | (elf32_arm_section_map_add): Add an code/data mapping symbol entry | |
83 | to a section's map. | |
84 | (record_vfp11_erratum_veneer): Create a single veneer, and its | |
85 | associated symbols. | |
86 | (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. | |
87 | (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input | |
88 | BFDs. | |
89 | (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround | |
90 | required. | |
91 | (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. | |
92 | (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. | |
93 | (bfd_arm_vfp11_write_mask): Update write mask according to coded | |
94 | register number. | |
95 | (bfd_arm_vfp11_antidependency): New function. | |
96 | (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. | |
97 | (elf32_arm_compare_mapping): Declare. | |
98 | (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input | |
99 | BFD for potential erratum-triggering insns. Record results. | |
100 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers | |
101 | and branches to veneers have been placed in virtual memory after | |
102 | layout. | |
103 | (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global | |
104 | hash table. | |
105 | (elf32_arm_output_symbol_hook): Remove. | |
106 | (elf32_arm_write_section): Output veneers, and branches to veneers. | |
107 | Use maps from input sections, not output sections, for code | |
108 | byte-swapping. | |
109 | * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. | |
110 | * elf32-score.c (_bfd_score_elf_write_section): Likewise. | |
111 | * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. | |
112 | * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. | |
113 | ||
114 | 2007-01-27 H.J. Lu <hongjiu.lu@intel.com> | |
83d1651b L |
115 | |
116 | * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. | |
b8210914 | 117 | (INCLUDED_TARGET_FILE): Removed. |
83d1651b | 118 | |
914dfb0f DA |
119 | 2007-01-27 Mike Frysinger <vapier@gentoo.org> |
120 | ||
121 | * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. | |
122 | (INCLUDED_TARGET_FILE): Remove. | |
123 | ||
78eba9b6 DD |
124 | 2007-01-25 DJ Delorie <dj@redhat.com> |
125 | ||
126 | * elf32-m32c.c (m32c_elf_howto_table): Don't complain about | |
127 | R_M32C_16 or R_M32C_24 relocs. | |
128 | ||
64ee10b6 NC |
129 | 2007-01-25 Nick Clifton <nickc@redhat.com> |
130 | ||
131 | PR binutils/3874 | |
132 | * elf32-avr.c (avr_link_hash_table): Check to make sure that the | |
133 | hash table was created by elf32_avr_link_hash_table_create before | |
134 | using it. | |
135 | (elf32_avr_link_hash_newfunc): New function. Just pass the call | |
136 | through to _bfd_elf_link_hash_newfunc. | |
137 | (elf32_avr_link_hash_table_create): Use | |
138 | elf32_avr_link_hash_newfunc instead of | |
139 | _bfd_elf_link_hash_newfunc. | |
140 | (elf32_avr_relocate_section): Check for the hash table pointer | |
141 | being NULL. | |
142 | (elf32_avr_relax_section, avr_build_one_stub, | |
143 | elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, | |
144 | elf32_avr_build_stubs): Likewise. | |
145 | ||
40b36307 L |
146 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | PR ld/3831 | |
149 | * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an | |
150 | argument, Elf_Internal_Sym *. | |
151 | ||
152 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data | |
153 | symbol dynamic if info->dynamic_data is TRUE. | |
154 | (bfd_elf_record_link_assignment): Updated call to | |
155 | bfd_elf_record_link_assignment. | |
156 | (_bfd_elf_merge_symbol): Likewise. Always call | |
157 | bfd_elf_link_mark_dynamic_symbol. | |
158 | ||
fc523535 | 159 | 2007-01-12 H.J. Lu <hongjiu.lu@intel.com> |
a454209d L |
160 | |
161 | * Makefile.am (BFD_LIBS): Removed. | |
162 | * Makefile.in: Regenerated. | |
163 | ||
fc523535 | 164 | 2007-01-11 H.J. Lu <hongjiu.lu@intel.com> |
21e40a48 L |
165 | |
166 | PR binutils/3631 | |
167 | * Makefile.am (OFILES): Add @bfd64_libs@. | |
168 | (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). | |
169 | * Makefile.in: Regenerated. | |
170 | ||
171 | * configure.in (bfd_libs): Replaced by ... | |
172 | (bfd64_libs): This. | |
173 | * configure: Regenerated. | |
174 | ||
59e0647f NS |
175 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
176 | ||
177 | * elf.c (assign_file_positions_for_load_sections): We can | |
178 | require fewer phdrs than expected. | |
179 | ||
3bdcfdf4 KH |
180 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
181 | ||
182 | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. | |
183 | * bfd-in2.h: Regenerate. | |
184 | * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of | |
185 | bfd_mach_cpu32_fido. | |
186 | (m68k_arch_features): Use fido_a instead of cpu32. | |
187 | (bfd_m68k_compatible): Reject the combination of Fido and | |
188 | ColdFire. Accept the combination of CPU32 and Fido with a | |
189 | warning. | |
190 | * elf32-m68k.c (elf32_m68k_object_p, | |
191 | elf32_m68k_merge_private_bfd_data, | |
192 | elf32_m68k_print_private_bfd_data): Treat Fido as an | |
193 | architecture by itself. | |
194 | ||
42037fe5 NC |
195 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
196 | ||
197 | * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. | |
198 | ||
ebe8b991 JJ |
199 | 2007-01-05 Jakub Jelinek <jakub@redhat.com> |
200 | ||
201 | * texhex.c (first_phase): Don't fall through into the default | |
202 | case. | |
203 | (pass_over): Replace abort () calls with return FALSE. Fix | |
204 | buffer overflow. | |
205 | ||
b327f31f AM |
206 | 2007-01-04 Jie Zhang <jie.zhang@analog.com> |
207 | ||
208 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set | |
209 | SEC_EXCLUDE on zero size .eh_frame. | |
210 | ||
10a2343e | 211 | For older changes see ChangeLog-2006 |
56882138 AM |
212 | \f |
213 | Local Variables: | |
214 | mode: change-log | |
215 | left-margin: 8 | |
216 | fill-column: 74 | |
217 | version-control: never | |
218 | End: |