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