* scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
e1e0340b
GK
12000-10-16 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
2
ea5fbc67
GK
3 * elf64-sparc.c (sparc64_elf_relocate_section): Clear the location
4 of a GOT reloc.
5
e1e0340b
GK
6 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.
7 (SYMBOL_CALLS_LOCAL): New macro.
8 (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
9 (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL.
10 (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
11 (ppc_elf_relocate_section): Use flag variable to determine
12 whether the relocation refers to a local symbol.
13 Test whether a PLTREL24 reloc will produce a reloc by looking
14 to see whether a PLT entry was made.
15
a4b120e1
GK
162000-10-14 Geoffrey Keating <geoffk@shoggoth.cygnus.com>
17
18 * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLT
19 entries that could serve as a definition for a weak symbol.
20
5af5b85b
UC
212000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>
22
23 From Ralf Baechle <ralf@gnu.org>
24
25 * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument
26 local_p. Add symbol value only for non-R_MIPS_REL32 relocations
27 against local symbols.
28 (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
29
3ef20aaa
AM
302000-10-12 Alan Modra <alan@linuxcare.com.au>
31
24376d1b
AM
32 * section.c (struct sec): Add kept_section.
33 (struct bfd_comdat_info): Remove sec, we can use above.
34 (STD_SECTION): Add initializer.
35 (bfd_make_section_anyway): Init here too.
36
37 * bfd-in2.h: Regenerate.
38
39 * elflink.h (elf_link_add_object_symbols): Remove unnecessary
40 zeroing of `flags'.
41 (elf_link_input_bfd): Set all asection->symbol->value's here, and
42 fudge values for discarded link-once section symbols.
43
3ef20aaa
AM
44 * elf64-hppa.c: Include alloca-conf.h
45
c0e219cc
AM
462000-10-11 Alan Modra <alan@linuxcare.com.au>
47
d01e2a23
AM
48 * elf.c (swap_out_syms): Revert 2000-10-07 changes.
49
c0e219cc
AM
50 * ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
51
fe268b66
AM
522000-10-10 Alan Modra <alan@linuxcare.com.au>
53
54 * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
55
4d7ce4dd
AM
562000-10-10 Tom Rix <trix@redhat.com>
57
58 * section.c (bfd_make_section_anyway): Release newsect ptr when
59 newsect->symbol fails to alloc. Use bfd_release instead of free.
60
f3b6f7c3
RH
612000-10-09 Richard Henderson <rth@cygnus.com
62
63 * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.
64 (elf64_ia64_unwind_entry_compare): New.
65 (elf64_ia64_final_link): Sort the .IA_64.unwind section.
66
44852b19
AM
672000-10-07 Alan Modra <alan@linuxcare.com.au>
68
fc8c40a0
AM
69 * elflink.h (size_dynamic_sections): Don't create various tags if
70 .dynstr is excluded from the link. Don't set first dynsym entry
71 if dynsymcount is zero.
72 (elf_bfd_final_link): Don't try to swap out dynamic syms if
73 .dynsym excluded from the link. Don't try to write any dynamic
74 sections excluded from the link.
75
44852b19
AM
76 * elf.c (swap_out_syms): Handle global section symbols.
77
3e4554a2
DD
782000-10-05 DJ Delorie <dj@redhat.com>
79
80 * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
81 * coffcode.h (coff_set_alignment_hook): read extended reloc count
82 (coff_write_relocs): write extended reloc count
83 (coff_write_object_contents): account for extended relocs
84
fa152c49
JW
852000-10-05 Jim Wilson <wilson@cygnus.com>
86
87 * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags
88 field.
89 * elf.c (_bfd_elf_make_section_from_shdr): Call the
90 elf_backend_section_flags function.
91 * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion
92 code.
93 (elf64_ia64_section_flags): New function containing flag conversion
94 code.
95 (elf_backend_section_flags): Define to elf64_ia64_section_flags.
96 * elfxx-target.h (elf_backend_section_flags): Define.
97 (elfNN_bed): Initialize elf_backend_section_flags field.
98
36605136
AM
992000-10-02 Alan Modra <alan@linuxcare.com.au>
100
101 * elf32-hppa.c (elf32_hppa_check_relocs): Correct call to
102 _bfd_elf32_gc_record_vtable. Correct a comment.
103
4b6609a0
UC
1042000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>
105
106 From Ralf Baechle <ralf@gnu.org>
107
108 * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld
109 produces binaries with got[1] = 0x80000001 to differenciate them
110 for the dynamic linker from the broken binaries produced by old
111 versions.
36605136 112
f572a39d
AM
1132000-09-30 Petr Sorfa <petrs@sco.com>
114
115 * elf.c (elfcore_grok_pstatus): Check for size of pxstatus_t.
116 (elfcore_grok_lwpstatus): Check for size of lwpxstatus_t.
117 * configure.in: Add check for pxstatus_t and lwpxstatus_t.
118 * configure: Regenerate.
119
4da81684
HPN
1202000-09-27 Hans-Peter Nilsson <hp@axis.com>
121
122 Define two bfd_targets for absence and presence of leading
123 underscore on symbols. Make sure to only link same kind.
124 * elf32-cris.c (cris_elf_object_p,
125 cris_elf_final_write_processing, cris_elf_print_private_bfd_data,
126 cris_elf_merge_private_bfd_data): New.
127 (elf_backend_object_p, elf_backend_final_write_processing,
128 bfd_elf32_bfd_print_private_bfd_data,
129 bfd_elf32_bfd_merge_private_bfd_data): Define.
130 <Target vector definition>: Include elf32-target.h twice with
131 different macro settings:
132 (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as
133 bfd_elf32_us_cris_vec.
134 (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris".
135 (elf_symbol_leading_char): First as 0, then '_'.
136 (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h.
137 * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs.
138 * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector.
139 * configure: Regenerate.
140 * targets.c: Declare bfd_elf32_us_cris_vec.
141 * po/bfd.pot: Regenerate.
142
9a5aca8c
AM
1432000-09-29 Momchil Velikov <velco@fadata.bg>
144
145 * elf32-arm.h (arm_add_to_rel): Correctly adjust the addend for
146 R_ARM_THM_PC22 relocations.
147
512a2384
AM
1482000-09-29 NIIBE Yutaka <gniibe@chroot.org>
149
150 * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.
151
6c99a5c3
AM
1522000-09-29 Momchil Velikov <velco@fadata.bg>
153
154 * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
155 is has the SEC_HAS_CONTENTS flag set.
156