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