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