2000-05-23 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
3a27a730
L
12000-05-23 H.J. Lu <hjl@gnu.org>
2
3 * elf32-i386.c (elf_i386_relocate_section): Don't allow the
4 undefined symbol with the non-default visibility attributes.
5 * elf-hppa.h (elf_hppa_relocate_section): Likewise.
6 * elf32-arm.h (elf32_arm_relocate_section): Likewise.
7 * elf32-i370.c (i370_elf_relocate_section): Likewise.
8 * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
9 * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
10 * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
11 * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
12 * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
13 * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
14 * elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
15 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
16
748abff6
RH
172000-05-22 Richard Henderson <rth@cygnus.com>
18
19 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
20 PCREL22, PCREL64I. Zero size of special relocs.
21 (elf64_ia64_reloc_type_lookup): Likewise.
22 (USE_BRL, oor_brl, oor_ip): New.
23 (elf64_ia64_relax_section): New.
24 (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
25 (elf64_ia64_install_value): Likewise, plus PCREL21BI.
26 (elf64_ia64_relocate_section): Likewise.
27 (bfd_elf64_bfd_relax_section): New.
28 * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
29 (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
30 * bfd-in2.h, libbfd.h: Regenerate.
31
fb67355a
NC
322000-05-22 Nick Clifton <nickc@cygnus.com>
33
34 * configure.in : Add peigen.lo to MIPS PE targets.
35 * configure: Regenerate.
36
1fe494a5
NC
372000-05-22 Momchil Velikov <velco@fadata.bg>
38
39 * libbfd.c (_bfd_generic_verify_endian_match): Compare endianess
748abff6 40 only if it is known for both input and output bfds. Separate
1fe494a5
NC
41 error message strings as in some languages, it may be necessary
42 to change more than one place in the string to change between
43 'big' and 'little'.
44
45 * elf32-ppc.c (ppc_elf_merge_private_bfd_data): Remove inline
46 endianess checks, call _bfd_generic_verify_endian_match() instead.
47
48 * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Likewise.
49
50 * elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
51
52 * elf32-arm.h (elf32_arm_merge_private_bfd_data): Likewise. Verify
53 endianess before checking bfd flavours.
54
32c092c3
L
552000-05-22 H.J. Lu <hjl@gnu.org>
56
57 * elflink.h (elf_link_output_extsym): Clear the visibility
58 field for symbols not defined locally.
59
df6d9773
JL
602000-05-18 Alan Modra <alan@linuxcare.com.au>
61
62 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
63 re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
64 (hppa_rebuild_insn): Mask immediate bits here instead.
65 * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
66
7ad34365
NC
672000-05-18 Momchil Velikov <velco@fadata.bg>
68
69 * elflink.h (elf_bfd_final_link, elf_link_input_bfd): When emiting
70 relocs for an executable, ensure that they are virtual addresses.
71
d1dab720
JL
72Thu May 18 10:55:47 2000 Jeffrey A Law (law@cygnus.com)
73
74 * config.bfd (hppa*64*-*-hpux11*): New target triplet.
75
a712da20
NC
762000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
77 Rick Gorton <gorton@scrugs.lkg.dec.com>
78
79 * elflink.h: Add emitrelocations support: when enabled, relocation
80 information and relocation sections are put into final output
81 executables. If the emitrelocations flag is set, do the following:
82 (elf_bfd_final_link): Emit relocation sections.
83 (elf_link_input_bfd): Compute relocation section contents.
84 (elf_gc_sections): Don't clean relocation sections.
85
10febd84
CM
862000-05-16 Catherine Moore <clm@cygnux.com>
87
88 * som.c (som_decode_symclass): Recognize weak symbols.
89
db8503c4
AM
902000-05-16 Szabolcs Szakacsits <szaka@F-Secure.com>
91
92 * peigen.c (pe_print_idata): Undo part of 2000-05-12 change that
93 read idata section only from dataoff.
94 (pe_print_edata): Correctly check for valid eat_member.
95
851cde10
JR
96Tue May 16 00:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
97
98 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.
99
1bde2d57
PB
1002000-05-14 Philip Blundell <philb@gnu.org>
101
102 * config.bfd (armeb-*-elf, arm*b-*-linux-gnu*): New targets.
103
a76b448c
AM
1042000-05-12 Alan Modra <alan@linuxcare.com.au>
105
9ee25201
AM
106 * targets.c (bfd_target_vector): #ifdef BFD64 rs6000coff64_vec
107
a76b448c
AM
108 * peigen.c (pe_print_idata): Look for .idata section and print
109 info even if data directory has zero entries. Read idata section
110 starting from dataoff, and adjust all data offsets to suit. Cast
111 all bfd_vma vars to unsigned long before passing to fprintf.
112 * peigen.c (pe_print_edata): Similarly, look for .edata section
113 and print info even if data directory has zero entries. Cast
114 all bfd_vma vars to unsigned long before passing to fprintf.
115
116 From Szabolcs Szakacsits <szaka@F-Secure.com>
117 * peigen.c (pe_print_idata): Use bfd_section_size rather than data
118 directory size which may be bogus.
119 * peigen.c (pe_print_edata): Similarly.
120
72730e0c
AM
1212000-05-09 Alan Modra <alan@linuxcare.com.au>
122
123 * elf.c (bfd_section_from_shdr): Don't set use_rela_p if rela
124 section is empty.
125 (copy_private_bfd_data): Allow for space possibly taken up by elf
126 headers when calculating segment physical address from lma.
127
8181c403
AM
1282000-05-08 Alan Modra <alan@linuxcare.com.au>
129
bfde9f99
AM
130 * versados.c (versados_scan): Init stringlen and pass_2_done.
131
b35efbcd
AM
132 * trad-core.c (trad_unix_core_file_p): Return
133 bfd_error_wrong_format rather than bfd_error_file_truncated.
134
8181c403
AM
135 * peigen.c (_bfd_pei_swap_aouthdr_out): Pass ImageBase to
136 add_data_entry. DataDirectory virtual address is relative.
137 (pe_print_idata): Account for relative DataDirectory virtual
138 addresses. Don't trash datasize inside POWERPC_LE_PE code.
139 (pe_print_edata): Similarly.
140
141 From Szabolcs Szakacsits <szaka@F-Secure.com>
142 * peigen.c (dir_names): Add Delay Import Directory.
143 (pe_print_idata): Always search for bfd section containing
144 idata address rather than looking up section name. Print this
145 section name rather than .idata.
146 (pe_print_edata): Similarly. Also print some fields as %08lx.
147 (_bfd_pe_print_private_bfd_data_common): Print Reserved1 field as
148 Win32Version.
149
2c38bc20
CP
150Fri May 5 20:44:40 2000 Clinton Popetz <cpopetz@cygnus.com>
151
152 * xcoff.h: Rename to xcoff-target.h
153 * Makefile.am: Change all instances of xcoff.h to xcoff-target.h
154 * coff-rs6000.c: Ditto.
155 * coff64-rs6000.c: Ditto.
156 * coff-pmac.c: Ditto.
157 * Makefile.in: Regenerate.
158
c6664dfb
CP
159Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
160
161 * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
162 Change U802TOC64MAGIC to U803XTOCMAGIC.
163
3425c182
MS
1642000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>
165
166 * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
167 * bfd-in.h: Prototype bfd_elf_get_arch_size.
168 * bfd-in2.h: Prototype bfd_elf_get_arch_size.
169
7c30ac37
AM
1702000-05-04 Alan Modra <alan@linuxcare.com.au>
171
172 * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
173