2012-01-10 Tristan Gingold <gingold@adacore.com>
[platform/upstream/binutils.git] / gas / ChangeLog
1 2012-01-10  Tristan Gingold  <gingold@adacore.com>
2
3         * struc-symbol.h (struct symbol_flags): New struct, created from...
4         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
5         (struct local_symbol): Replace lsy_marker field by lsy_flags.
6         Adjust comment.
7         (local_symbol_resolved_p): Adjust.
8         (local_symbol_mark_resolved): Likewise.
9         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
10         (local_symbol_make, local_symbol_convert, colon)
11         (symbol_clone_if_forward_ref, verify_symbol_chain)
12         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
13         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
14         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
15         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
16         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
17         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
18         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
19         (symbol_mark_mri_common, symbol_clear_mri_common)
20         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
21         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
22         (symbol_equated_reloc_p, dot_symbol_init)
23         (print_symbol_value_1): Adjust.
24
25 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
26
27         * config/obj-macho.c (obj_mach_o_weak): Remove.
28         (obj_mach_o_common_parse): Set symbol qualifiers.
29         (LAZY, REFE): New macros.
30         (obj_mach_o_symbol_type): New enum.
31         (obj_mach_o_set_symbol_qualifier): New.
32         (obj_mach_o_sym_qual): New.
33         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
34         a dummy function.
35         (obj_mach_o_type_for_symbol): New.
36         (obj_macho_frob_label): New.
37         (obj_macho_frob_symbol): New.
38         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
39         (obj_frob_label, obj_macho_frob_label): Declare.
40         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
41
42 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
43
44         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
45
46 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
47             Richard Sandiford  <rdsandiford@googlemail.com>
48
49         * config/tc-mips.c (mips_move_labels): Take the list of labels and
50         textness as parameters.
51         (mips_move_text_labels): New function.
52         (append_insn): Use it instead of mips_move_labels.
53         (mips_emit_delays, start_noreorder): Likewise.
54         (mips_align): Take the labels rather than just one label.
55         Move all labels to after the .align.
56         (s_align): Change the last argument to mips_align.
57         (s_cons): Likewise.
58         (s_float_cons): Likewise.
59         (s_gpword): Likewise.
60         (s_gpdword): Likewise.
61
62 2012-01-06  Tristan Gingold  <gingold@adacore.com>
63
64         * config/tc-i386.c: Update copyright year.
65         (lex_got): Also defined for Mach-O.
66         Add a guard for non-ELF configuration.
67         (md_longopts): Also handle -64 for Mach-O.
68         (md_parse_option): Likewise.
69         (i386_target_format): Adjust for x86_64-darwin.
70
71 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
72
73         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
74         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
75         (obj_mach_o_make_or_get_sect): Likewise.
76         (obj_mach_o_section): Split out the functionality shared with zerofill.
77         (obj_mach_o_zerofill): New.
78         (obj_mach_o_common_parse): Ensure whitespace is skipped.
79         (mach_o_pseudo_table): Add .zerofill.
80
81 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
82
83         * config/obj-macho.c (obj_macho_process_stab): New.
84         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
85         (obj_macho_process_stab): Declare.
86
87 For older changes see ChangeLog-2011
88 \f
89 Local Variables:
90 mode: change-log
91 left-margin: 8
92 fill-column: 74
93 version-control: never
94 End: