2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
a070c2b1
L
12003-12-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
4
d9c458fc
L
52003-12-04 H.J. Lu <hongjiu.lu@intel.com>
6
7 * elfxx-ia64.c (elfNN_ia64_relax_section): Use the
8 need_relax_finalize field in link_info instead of
9 relax_finalizing to check if the relax finalize pass is being
10 done.
11
d21356d8
NC
122003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
13
14 * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation):
15 Change ARM26* to ARM_26* in comments to match definitions.
16 (coff_arm_adjust_symndx): Replace hard-coded constants with
17 appropriate definitions (ARM_26*).
18
1a101a42
AM
192003-12-04 Alan Modra <amodra@bigpond.net.au>
20
21 * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
22 * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
23 (mn10300_elf_relax_section): Likewise.
24 * nlm32-alpha.c (ONES): Define.
25 (nlm32_alpha_howto_table): Use it to avoid warnings.
26
66becf32
AM
272003-12-04 Alan Modra <amodra@bigpond.net.au>
28
29 * elf32-i386.c (elf_i386_object_p): Delete.
30 (elf_backend_object_p): Don't define.
31 * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
32 * elf32-sh.c (sh_elf_object_p): Likewise.
33 * elf32-sparc.c (elf32_sparc_object_p): Likewise.
34 * elf64-alpha.c (elf64_alpha_object_p): Likewise.
35 * elf64-s390.c (elf_s390_object_p): Likewise.
36 * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
37
88845958
NC
382003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
39
40 * archures.c (bfd_mach_m32r2): Add new machine type.
41 * bfd-in2.h: Regenerate.
42 * cpu-m32r.c : Add new machine type.
43 * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing,
44 m32r_elf_merge_private_bfd_data): Add support for new machine
45 type.
46
f8fc3443
NC
472003-12-03 Dave Airlie <airlied@linux.ie>
48
49 * config.bfd: Add vax-linux-gnu target.
50 * configure.in: Likewise.
51 * configure: Regenerate.
52
6ad841a1
AM
532003-12-03 Alan Modra <amodra@bigpond.net.au>
54
55 * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed
56 bfd_link_hash_entry field "next" -> "und_next".
57 * linker.c (_bfd_link_hash_newfunc): Likewise.
58 (bfd_link_add_undef): Likewise.
59 (_bfd_generic_link_add_archive_symbols): Likewise.
60 (_bfd_generic_link_add_one_symbol): Likewise.
61 * xcofflink.c (xcoff_link_add_symbols): Likewise.
62
f9d1e83f
NC
632003-12-02 Nick Clifton <nickc@redhat.com>
64
65 * configure.in (ALL_LINGUAS): Add ro.
66 * po/ro.po: New Romanian translation.
67
9fa06c65
AM
682003-12-02 Alan Modra <amodra@bigpond.net.au>
69
70 * Makefile.am: Run "make dep-am".
71 * Makefile.in: Regenerate.
72
771e446b
NC
732003-12-01 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
74
75 * coffcode.h (coff_compute_section_file_positions): Set page_size
76 to 1 instead of 0 in the case file alignment value is zero.
77
1c3bed7b
KH
782003-12-01 Kazu Hirata <kazu@cs.umass.edu>
79
80 * coff-rs6000.c: Remove ARGSUSED and VARARGS.
81 * coff64-rs6000.c: Likewise.
82 * coffcode.h: Likewise.
83 * elf32-vax.c: Likewise.
84 * hash.c: Likewise.
85 * hppabsd-core.c: Likewise.
86 * hpux-core.c: Likewise.
87 * ihex.c: Likewise.
88 * netbsd-core.c: Likewise.
89 * osf-core.c: Likewise.
90 * pdp11.c: Likewise.
91 * ptrace-core.c: Likewise.
92 * sco5-core.c: Likewise.
93 * section.c: Likewise.
94 * sunos.c: Likewise.
95 * trad-core.c: Likewise.
96
0eddce27
AM
972003-12-01 Alan Modra <amodra@bigpond.net.au>
98
99 * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
100 * elf.c (_bfd_elf_merge_sections): Adjust to suit.
101 (_bfd_elf_link_just_syms): Likewise.
102 (bfd_elf_get_needed_list): Likewise.
103 (bfd_elf_get_runpath_list): Likewise.
104 (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
105 * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
106 creator flavour.
107 (elf32_hppa_set_gp): Look up output sections rather than using htab.
108 * elf32-i960.c: Comment fix. Formatting.
109 * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
110 rather than testing creator flavour.
111 * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
112 * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
113 * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
114 is_elf_hash_table change. Remove redundant test.
115 (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
116 testing creator flavour.
117 (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
118 (_bfd_elf_fix_symbol_flags): Likewise.
119 (_bfd_elf_adjust_dynamic_symbol): Likewise.
120 * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
121 checks. Use is_elf_hash_table rather than testing creator flavour.
122 Use hash_table throughout in place of info->hash.
123 (elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
124 (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
125 check.
126 (elf_bfd_final_link): Adjust for is_elf_hash_table change.
127 (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
128 testing creator flavour.
129 (elf_gc_sections): Add is_elf_hash_table check.
130 (elf_gc_common_finalize_got_offsets): Likewise.
131 (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
132 redundant check.
133 * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
134 rather than testing creator flavour.
135
552585ed
CG
1362003-11-28 Christian Groessler <chris@groessler.org>
137
138 * cpu-z8k.c: Convert to ISO C90.
139 * coff-z8k.c: Likewise.
140
c84fca4d
AO
1412003-11-27 Alexandre Oliva <aoliva@redhat.com>
142
143 * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
144 Add link info argument.
145 * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
146 * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
147 * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
148 * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
149 * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
150 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
151 * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
152 * elf.c (assign_file_positions_except_relocs,
153 assign_file_positions_for_segments): Likewise. Adjust calls.
154
7720ba9f
MK
1552003-11-27 Mark Kettenis <kettenis@gnu.org>
156
157 * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
158 of the note.
159
0626d451 1602003-11-26 Daniel Jacobowitz <drow@mvista.com>
0eddce27 161 Richard Sandiford <rsandifo@redhat.com>
0626d451
RS
162
163 * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
164 (mips_elf_set_no_stub): New function.
165 (mips_elf_multi_got): Call it.
166 (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
167 a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
168 use mips_elf_create_dynamic_relocation to deal with any compatibility
169 issues. Store the adjusted addend in the GOT slot.
170