8ba97a661a91ccd94f819589ec55f5251899a7c7
[binutils-gdb.git] / ld / ChangeLog
1 2011-01-13 Alan Modra <amodra@gmail.com>
2
3 PR ld/12356
4 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
5 (Expression Section): Update.
6 * ld.h (ld_config_type): Add sane_expr.
7 * ldgram.y (ifile_p1): Add LD_FEATURE.
8 * ldlex.l (LD_FEATYRE): New.
9 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
10 * ldexp.h (struct ldexp_control): Delete uses_defined.
11 * ldexp.c: Remove all uses of uses_defined.
12 (fold_name): Test config.sane_expr rather than ld_compatibility.
13 (exp_fold_tree_1): Likewise. Adjust handling of assignments
14 during first phase.
15 * ldlang.h (ld_compatibility): Delete.
16 (lang_ld_feature): Declare.
17 * ldlang.c (ld_compatibility): Delete.
18 (open_input_bfds): Only handle assignments for --defsym.
19 (lang_ld_feature): New function.
20
21 PR ld/12356
22 * ldexp.h (exp_assop): Delete.
23 (exp_assign, exp_defsym): Declare.
24 * ldexp.c (exp_assop): Make static, handle all assignment variations.
25 (exp_assign, exp_defsym): New functions.
26 (exp_provide): Use exp_assop.
27 * ldgram.y (defsym_expr): Use exp_defsym.
28 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
29 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
30 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
31
32 2011-01-12 Alan Modra <amodra@gmail.com>
33
34 PR ld/12380
35 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
36 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
37 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
38 to detect when we've finished sizing sections.
39 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
40 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
41 that we are not inside an output section statement.
42 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
43 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
44 lang_final_phase_enum here.
45 (lang_process): Set lang_final_phase_enum here.
46
47 2011-01-10 Nick Clifton <nickc@redhat.com>
48
49 * po/da.po: Updated Danish translation.
50
51 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
52
53 * ldlang.c (startup_file): Removed.
54 (lang_startup): Updated.
55
56 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR ld/12364
59 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
60 before accessing its flags field.
61
62 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
63
64 * ldver.c (ldversion): Update copyright to 2011.
65
66 For older changes see ChangeLog-2010
67 \f
68 Local Variables:
69 mode: change-log
70 left-margin: 8
71 fill-column: 74
72 version-control: never
73 End: