PR binutils/13121
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2012-01-06 Nick Clifton <nickc@redhat.com>
2
3 PR binutils/13121
4 * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to
5 'flaginfo' to avoid conflicts with AIX system headers.
6
7 2012-01-06 Tristan Gingold <gingold@adacore.com>
8
9 * bfdio.c (bfd_bread): Use arelt_size macro.
10
11 2012-01-06 Tristan Gingold <gingold@adacore.com>
12
13 * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs.
14
15 2012-01-05 Nick Clifton <nickc@redhat.com>
16
17 PR ld/12161
18 * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if
19 necessary.
20
21 2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com>
22
23 Fix zero registers core files when built by gcc-4.7.
24 * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and
25 size. Call elfcore_write_note for the local variables. Remove the
26 final elfcore_write_note call. Add NOTREACHED comments.
27
28 2012-01-04 Tristan Gingold <gingold@adacore.com>
29
30 * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function.
31 (bfd_mach_o_generic_stat_arch_elt): Adjust.
32
33 2012-01-04 Tristan Gingold <gingold@adacore.com>
34
35 * mach-o.c (bfd_mach_o_fat_member_init): New function.
36 (bfd_mach_o_openr_next_archived_file): Reindent.
37 Adjust to call bfd_mach_o_fat_member_init.
38 (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init.
39
40 2012-01-04 Tristan Gingold <gingold@adacore.com>
41
42 * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle
43 BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1,
44 BFD_RELOC_MACH_O_X86_64_PCREL32_2,
45 BFD_RELOC_MACH_O_X86_64_PCREL32_4,
46 BFD_RELOC_MACH_O_X86_64_BRANCH32,
47 BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
48 BFD_RELOC_MACH_O_X86_64_GOT.
49
50 2012-01-04 Tristan Gingold <gingold@adacore.com>
51
52 * mach-o.h (bfd_mach_o_fvmlib_command): New structure.
53 (bfd_mach_o_load_command): Add fvmlib field.
54
55 * mach-o.c (bfd_mach_o_read_fvmlib): New function.
56 (bfd_mach_o_read_command): Handle fvmlib.
57
58 2012-01-04 Tristan Gingold <gingold@adacore.com>
59
60 * mach-o.c (bfd_mach_o_convert_architecture): Reindent.
61 Decode msubtype for ARM.
62
63 2012-01-04 Tristan Gingold <gingold@adacore.com>
64
65 * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments.
66
67 2012-01-04 Tristan Gingold <gingold@adacore.com>
68
69 * mach-o.h: Reindent header.
70 (bfd_mach_o_encryption_info_command): New structure.
71 (bfd_mach_o_load_command): Add encryption_info field.
72
73 * mach-o.c (bfd_mach_o_read_encryption_info): New function.
74 (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
75 (bfd_mach_o_read_command): Adjust error message.
76
77 2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
78
79 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part
80 which reads DWARF2 and stores in stash from find_line.
81 (find_line) Call _bfd_dwarf2_slurp_debug_info.
82 * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration.
83 * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate.
84 * mach-o.c (dsym_subdir): The name of subdir where debug
85 information may be stored.
86 (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose
87 type is UUID.
88 (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is
89 corresponding to the executable.
90 (bfd_mach_o_find_dsym): New. Find a debug information BFD in the
91 specified binary file.
92 (bfd_mach_o_follow_dsym): New. Find a debug information BFD for
93 the original BFD.
94 (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O
95 executables, dylibs, and bundles.
96 (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file.
97 * mach-o.h (dsym_bfd): The BFD of the dSYM file.
98
99 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
100
101 * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index
102 for stabd symbols.
103 (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs.
104 (bfd_mach_o_cf_symbols): Likewise.
105
106 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
107
108 * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo.
109
110 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
111
112 * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index
113 as the value of an indirect symbol. Keep the string table index in
114 non-indirect syms for reference.
115 (bfd_mach_o_write_dysymtab): New.
116 (bfd_mach_o_primary_symbol_sort_key): New.
117 (bfd_mach_o_cf_symbols): New.
118 (bfd_mach_o_sort_symbol_table): New.
119 (bfd_mach_o_mangle_symbols): Return early if no symbols. Sort symbols.
120 If we are emitting a dysymtab, process indirect symbols and count the
121 number of each other kind.
122 (bfd_mach_o_mangle_sections): New.
123 (bfd_mach_o_write_contents): Split out some pre-requisite code into
124 the command builder. Write dysymtab if the command is present.
125 (bfd_mach_o_count_sections_for_seg): New.
126 (bfd_mach_o_build_seg_command): New.
127 (bfd_mach_o_build_dysymtab_command): New.
128 (bfd_mach_o_build_commands): Reorganize to support the fact that some
129 commands are optional and should not be emitted if there are no
130 sections or symbols.
131 (bfd_mach_o_set_section_contents): Amend comment.
132 * mach-o.h: Amend and add to comments.
133 (mach_o_data_struct): Add fields for dysymtab symbols counts and a
134 pointer to the indirects, when present.
135 (bfd_mach_o_should_emit_dysymtab): New macro.
136 (IS_MACHO_INDIRECT): Likewise.
137
138 For older changes see ChangeLog-2011
139 \f
140 Local Variables:
141 mode: change-log
142 left-margin: 8
143 fill-column: 74
144 version-control: never
145 End:
This page took 0.033206 seconds and 4 git commands to generate.