]> Git Repo - binutils.git/blame - bfd/ChangeLog
* Makefile.in (objalloc.o): Depend on config.h
[binutils.git] / bfd / ChangeLog
CommitLineData
38048eb9
L
12000-05-30 H.J. Lu <[email protected]>
2
3 * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
4 visibility bits if the symbol is undefined. Correctly handle
5 weak undefined symbols with hidden and internal attributes.
6
7 * elflink.h (elf_link_add_object_symbols): Always turn the
8 symbol into local if it has the hidden or internal attribute.
9
8c763017
PB
102000-05-29 Philip Blundell <[email protected]>
11
12 * ppcboot.c: Add packed attribute if compiling with GCC.
13
1ae00f9d
AM
142000-05-29 Anatoly Vorobey <[email protected]>
15
16 * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
17
5af11cab
AM
182000-05-26 Alan Modra <[email protected]>
19
2114f57b
AM
20 * Makefile.am: Update dependencies with "make dep-am"
21 * Makefile.in: Regenerate.
22
5af11cab
AM
23 * sysdep.h (gettext, dgettext, dcgettext, textdomain,
24 bindtextdomain): Replace defines with those from intl/libgettext.h
25 to quieten gcc warnings.
26
272000-05-26 Eli Zaretskii <[email protected]>
28
29 * aoutx.h (find_nearest_line): Use IS_ABSOLUTE_PATH.
30
31 * archive.c (normalize, bfd_bsd_truncate_arname,
32 bfd_gnu_truncate_arname) [HAVE_DOS_BASED_FILE_SYSTEM]: Support
33 file names with backslashes.
34
35 * cache.c (bfd_open_file) [__MSDOS__]: Don't unlink the file
36 before opening it.
37
38 * sysdep.h: Include filenames.h.
39
b6cdd0fd
AM
402000-05-26 Alan Modra <[email protected]>
41
42 * opncls.c (bfd_close_all_done): Mask file perms with 0777 not 0x777.
43
f7775d95
JJ
442000-05-26 Jakub Jelinek <[email protected]>
45
46 * elf64-sparc.c (sparc64_elf_relax_section): New.
47 (sparc64_elf_relocate_section): Optimize tail call into branch always
48 if possible.
49 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
50 (elf32_sparc_relax_section): New.
51
6c08d697
JJ
522000-05-26 Jakub Jelinek <[email protected]>
53
54 * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
55 Remove unusued variables.
56 (sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
57 (sparc64_elf_merge_private_bfd_data): Fix shared library case from
58 previous fix, so that shared libs really don't influence targets
59 extension mask and memory model.
60
edb72b3b
L
612000-05-23 H.J. Lu <[email protected]>
62
63 * elf64-alpha.c (elf64_alpha_relocate_section): Check
64 h->root.other not h->other.
ba09750c
L
65 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
66
67 * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
edb72b3b 68
3a27a730
L
692000-05-23 H.J. Lu <[email protected]>
70
71 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
72 undefined symbol with the non-default visibility attributes.
73 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
74 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
75 * elf32-i370.c (i370_elf_relocate_section): Likewise.
76 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
77 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
78 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
79 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
80 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
81 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
82 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
83 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
84
748abff6
RH
852000-05-22 Richard Henderson <[email protected]>
86
87 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
88 PCREL22, PCREL64I. Zero size of special relocs.
89 (elf64_ia64_reloc_type_lookup): Likewise.
90 (USE_BRL, oor_brl, oor_ip): New.
91 (elf64_ia64_relax_section): New.
92 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
93 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
94 (elf64_ia64_relocate_section): Likewise.
95 (bfd_elf64_bfd_relax_section): New.
96 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
97 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
98 * bfd-in2.h, libbfd.h: Regenerate.
99
fb67355a
NC
1002000-05-22 Nick Clifton <[email protected]>
101
102 * configure.in : Add peigen.lo to MIPS PE targets.
103 * configure: Regenerate.
104
1fe494a5
NC
1052000-05-22 Momchil Velikov <[email protected]>
106
107 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 108 only if it is known for both input and output bfds. Separate
1fe494a5
NC
109 error message strings as in some languages, it may be necessary
110 to change more than one place in the string to change between
111 'big' and 'little'.
112
113 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
114 endianess checks, call _bfd_generic_verify_endian_match() instead.
115
116 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
117
118 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
119
120 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
121 endianess before checking bfd flavours.
122
32c092c3
L
1232000-05-22 H.J. Lu <[email protected]>
124
125 * elflink.h (elf_link_output_extsym): Clear the visibility
126 field for symbols not defined locally.
127
df6d9773
JL
1282000-05-18 Alan Modra <[email protected]>
129
130 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
131 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
132 (hppa_rebuild_insn): Mask immediate bits here instead.
133 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
134
7ad34365
NC
1352000-05-18 Momchil Velikov <[email protected]>
136
137 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
138 relocs for an executable, ensure that they are virtual addresses.
139
d1dab720
JL
140Thu May 18 10:55:47 2000 Jeffrey A Law ([email protected])
141
142 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
143
a712da20
NC
1442000-05-17 S. Bharadwaj Yadavalli <[email protected]>
145 Rick Gorton <[email protected]>
146
147 * elflink.h: Add emitrelocations support: when enabled, relocation
148 information and relocation sections are put into final output
149 executables. If the emitrelocations flag is set, do the following:
150 (elf_bfd_final_link): Emit relocation sections.
151 (elf_link_input_bfd): Compute relocation section contents.
152 (elf_gc_sections): Don't clean relocation sections.
153
10febd84
CM
1542000-05-16 Catherine Moore <[email protected]>
155
156 * som.c (som_decode_symclass): Recognize weak symbols.
157
db8503c4
AM
1582000-05-16 Szabolcs Szakacsits <[email protected]>
159
160 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
161 read idata section only from dataoff.
162 (pe_print_edata): Correctly check for valid eat_member.
163
851cde10
JR
164Tue May 16 00:04:11 2000 J"orn Rennecke <[email protected]>
165
166 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
167
1bde2d57
PB
1682000-05-14 Philip Blundell <[email protected]>
169
170 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
171
a76b448c
AM
1722000-05-12 Alan Modra <[email protected]>
173
9ee25201
AM
174 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
175
a76b448c
AM
176 * peigen.c (pe_print_idata): Look for .idata section and print
177 info even if data directory has zero entries. Read idata section
178 starting from dataoff, and adjust all data offsets to suit. Cast
179 all bfd_vma vars to unsigned long before passing to fprintf.
180 * peigen.c (pe_print_edata): Similarly, look for .edata section
181 and print info even if data directory has zero entries. Cast
182 all bfd_vma vars to unsigned long before passing to fprintf.
183
184 From Szabolcs Szakacsits <[email protected]>
185 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
186 directory size which may be bogus.
187 * peigen.c (pe_print_edata): Similarly.
188
72730e0c
AM
1892000-05-09 Alan Modra <[email protected]>
190
191 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
192 section is empty.
193 (copy_private_bfd_data): Allow for space possibly taken up by elf
194 headers when calculating segment physical address from lma.
195
8181c403
AM
1962000-05-08 Alan Modra <[email protected]>
197
bfde9f99
AM
198 * versados.c (versados_scan): Init stringlen and pass_2_done.
199
b35efbcd
AM
200 * trad-core.c (trad_unix_core_file_p): Return
201 bfd_error_wrong_format rather than bfd_error_file_truncated.
202
8181c403
AM
203 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
204 add_data_entry. DataDirectory virtual address is relative.
205 (pe_print_idata): Account for relative DataDirectory virtual
206 addresses. Don't trash datasize inside POWERPC_LE_PE code.
207 (pe_print_edata): Similarly.
208
209 From Szabolcs Szakacsits <[email protected]>
210 * peigen.c (dir_names): Add Delay Import Directory.
211 (pe_print_idata): Always search for bfd section containing
212 idata address rather than looking up section name. Print this
213 section name rather than .idata.
214 (pe_print_edata): Similarly. Also print some fields as %08lx.
215 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
216 Win32Version.
217
2c38bc20
CP
218Fri May 5 20:44:40 2000 Clinton Popetz <[email protected]>
219
220 * xcoff.h: Rename to xcoff-target.h
221 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
222 * coff-rs6000.c: Ditto.
223 * coff64-rs6000.c: Ditto.
224 * coff-pmac.c: Ditto.
225 * Makefile.in: Regenerate.
226
c6664dfb
CP
227Fri May 5 16:51:03 2000 Clinton Popetz <[email protected]>
228
229 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
230 Change U802TOC64MAGIC to U803XTOCMAGIC.
231
3425c182
MS
2322000-05-04 Michael Snyder <[email protected]>
233
234 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
235 * bfd-in.h: Prototype bfd_elf_get_arch_size.
236 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
237
7c30ac37
AM
2382000-05-04 Alan Modra <[email protected]>
239
240 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
241
0444bdd4
L
242