ChangeLog-2011 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080
  1. 2011-12-20 Joseph Myers <joseph@codesourcery.com>
  2. * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
  3. .gcc_compiled_long* sections at address 0.
  4. 2011-12-13 Nick Clifton <nickc@redhat.com>
  5. * po/it.po: New Italian translation.
  6. * configure.in (ALL_LINGUAS): Add it.
  7. * configure: Regenerate.
  8. 2011-12-01 Nick Clifton <nickc@redhat.com>
  9. * emultempl/spuelf.em (spu_elf_relink): Use pex_one in place
  10. of execvp.
  11. 2011-11-25 John Tytgat <john@bass-software.com>
  12. * emultempl/armelf.em: Update copyright to 2010 and 2011.
  13. (PARSE_AND_LIST_OPTIONS): Fix formatting.
  14. 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
  15. * Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
  16. source.
  17. (eelf64ppc_fbsd.c): Add rules to build this file.
  18. * Makefile.in: Regenerate.
  19. * configure.tgt: Add target definition for powerpc64-*-freebsd*.
  20. Adjust powerpc-*-freebsd*.
  21. * emultempl/ppc64elf.em: Add a mechanism to override the default
  22. value of 0 for plt_static_chain.
  23. * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default.
  24. * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise.
  25. (DEFAULT_PLT_STATIC_CHAIN): Define to 1.
  26. 2011-11-15 Andreas Schwab <schwab@linux-m68k.org>
  27. * ldlang.c (insert_pad): Change alignment_needed argument to
  28. bfd_size_type.
  29. (size_input_section): Change alignment_needed varible to
  30. bfd_size_type.
  31. * ldlang.h (lang_padding_statement_type): Change size field to
  32. bfd_size_type.
  33. 2011-11-03 Tristan Gingold <gingold@adacore.com>
  34. * scripttempl/aix.sc: Consider header size for .text and .data
  35. alignment.
  36. 2011-11-02 Tristan Gingold <gingold@adacore.com>
  37. * emultempl/aix.em (read_file_list): New function.
  38. (_handle_option): Handle '-f'.
  39. * NEWS: Mention this feature.
  40. 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  41. * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
  42. targ_extra_libpath.
  43. 2011-11-01 DJ Delorie <dj@redhat.com>
  44. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
  45. (+eelf32rl78.c): New rule.
  46. * Makefile.in: Regenerate.
  47. * configure.tgt: Add rl78-*-* case.
  48. * emulparams/elf32rl78.sh: New file.
  49. * NEWS: Mention addition of Renesas RL78 support.
  50. 2011-10-28 Walter Lee <walt@tilera.com>
  51. * NEWS: Fix TILEPro capitalization.
  52. 2011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>
  53. * NEWS: Mention addition of Adapteva Epiphany support.
  54. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c .
  55. (eelf32epiphany.c): New rule.
  56. * configure.tgt: Handle epiphany-*-elf.
  57. * emulparams/elf32epiphany.sh: New file.
  58. * Makefile.in: Regenerate.
  59. * po/ld.pot: Regenerate.
  60. 2011-10-24 Nick Clifton <nickc@redhat.com>
  61. * po/ja.po: Updated Japanese translation.
  62. 2011-10-20 Alan Modra <amodra@gmail.com>
  63. PR ld/13287
  64. * plugin.c (plugin_should_reload): New function.
  65. * plugin.h (plugin_should_reload): Declare.
  66. * ldlang.c (open_input_bfds): Use above function.
  67. 2011-10-19 Alan Modra <amodra@gmail.com>
  68. PR ld/13254
  69. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
  70. -z text, -z notext, -z textoff options for all targets having
  71. shared lib support.
  72. 2011-10-15 Alan Modra <amodra@gmail.com>
  73. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
  74. 2011-10-13 Dave Korn <dave.korn.cygwin@gmail.com>
  75. * pe-dll.c (generate_reloc): Don't emit a base reloc for an
  76. underlying BFD reloc that will be discarded in eh_frame data.
  77. 2011-10-10 Nick Clifton <nickc@redhat.com>
  78. * po/bg.po: Updated Bulgarian translation.
  79. * po/es.po: Updated Spanish translation.
  80. * po/fi.po: Updated Finnish translation.
  81. * po/fr.po: Updated French translation.
  82. 2011-10-10 Alan Modra <amodra@gmail.com>
  83. * ldmain.c (main): Move code twiddling various config and link_info
  84. bits to..
  85. * lexsup.c (parse_args): ..here. Move plugin_load_plugins call
  86. into main.
  87. * plugin.c (set_tv_header): Test link_info.executable, not
  88. link_info.shared.
  89. (is_visible_from_outside): Likewise. Delete redundant
  90. is_ir_dummy_bfd check and "section" parameter.
  91. 2011-10-10 Alan Modra <amodra@gmail.com>
  92. * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
  93. 2011-10-09 Alan Modra <amodra@gmail.com>
  94. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add
  95. missing colon to error message.
  96. (ppc_before_allocation): Likewise.
  97. 2011-10-06 Alan Modra <amodra@gmail.com>
  98. PR ld/13229
  99. * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2.
  100. (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void.
  101. (get_symbols): Add def_ironly_exp param. Return that value for
  102. syms exported from shared libs.
  103. (get_symbols_v1, get_symbols_v2): New wrapper functions.
  104. * testplug.c: Update for above changes.
  105. 2011-09-27 Kai Tietz <ktietz@redhat.com>
  106. * scripttempl/pe.sc (.text): Add support for
  107. .gnu.linkonce.t.* section.
  108. (.debug_info): Only use .gnu.linkonce.wi.* for
  109. relocating.
  110. * scripttempl/pep.sc: Likewise.
  111. 2011-09-22 Tristan Gingold <gingold@adacore.com>
  112. * NEWS: Add marker for 2.22.
  113. 2011-09-20 Alan Modra <amodra@gmail.com>
  114. PR ld/13201
  115. * ldlang.h (lang_input_statement_type): Add "reload" bitfield.
  116. Clarify comments.
  117. * ldlang.c (new_afile): Init new field.
  118. (load_symbols): Don't call ldlang_add_file when reloading.
  119. (open_input_bfds): Reload as-needed libs during plugin rescan.
  120. 2011-09-15 H.J. Lu <hongjiu.lu@intel.com>
  121. PR ld/12975
  122. * ldlang.c (lang_elf_version_info): Removed.
  123. (lang_register_vers_node): Replace lang_elf_version_info with
  124. link_info.version_info.
  125. (lang_add_vers_depend): Likewise.
  126. * pe-dll.c (process_def_file_and_drectve): Likewise.
  127. * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
  128. * ldlang.h (lang_elf_version_info): Removed.
  129. * plugin.c (is_visible_from_outside): Check if symbol is hidden
  130. by version script.
  131. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  132. Remove lang_elf_version_info.
  133. 2011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
  134. PR ld/13183
  135. * ldmain.c (add_archive_element): Support thin archive member
  136. for LTO.
  137. 2011-08-26 Nick Clifton <nickc@redhat.com>
  138. * po/es.po: Updated Spanish translation.
  139. 2011-08-26 Nick Clifton <nickc@redhat.com>
  140. * NEWS: Mention that --no-copy-dt-needed-entries is now the
  141. default.
  142. 2011-08-22 Michael Matz <matz@suse.de>
  143. * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
  144. * ld.texinfo (--copy-dt-needed-entries): Mention new default.
  145. 2011-08-17 Alan Modra <amodra@gmail.com>
  146. PR ld/12762
  147. * ldlang.c (section_already_linked): Revert 2011-07-09 changes.
  148. * plugin.c: Likewise.
  149. (asymbol_from_plugin_symbol): Create linkonce section for syms
  150. with comdat_key.
  151. 2011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
  152. * emultempl/armelf.em (fix_arm1176): New variable.
  153. (arm_elf_create_output_section_statements): Pass
  154. fix_arm1176 option to bfd backend.
  155. (OPTION_FIX_ARM1176): New define.
  156. (OPTION_NO_FIX_ARM1176): Likewise.
  157. (PARSE_AND_LIST_LONGOPTS): Add new command line options.
  158. (PARSE_AND_LIST_OPTIONS): Likewise.
  159. (PARSE_AND_LIST_ARGS_CASES): Likewise.
  160. * ld.texinfo: Document new command line options.
  161. 2011-08-09 Alan Modra <amodra@gmail.com>
  162. PR ld/13066
  163. * plugin.c (add_symbols): Revert 2011-08-05.
  164. 2011-08-06 Kai Tietz <ktietz@redhat.com>
  165. * scripttempl/pep.sc: Add .debug_macro section.
  166. * scripttempl/pe.sc: Likewise.
  167. 2011-08-05 Alan Modra <amodra@gmail.com>
  168. PR ld/12762
  169. * plugin.c (add_symbols): Exclude comdat_key symbols from symbol
  170. table if already seen.
  171. 2011-08-04 H.J. Lu <hongjiu.lu@intel.com>
  172. * ldmain.c (main): Replace remove_output with ld_cleanup in
  173. comments.
  174. 2011-07-26 Alan Modra <amodra@gmail.com>
  175. * emulparams/elf32ppc.sh: Source plt_unwind.sh.
  176. * emulparams/elf64ppc.sh: Likewise.
  177. * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust.
  178. (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
  179. PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
  180. existing values.
  181. * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust.
  182. (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
  183. PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
  184. existing values.
  185. 2011-07-22 H.J. Lu <hongjiu.lu@intel.com>
  186. * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and
  187. eelf_k1om_fbsd.o
  188. (eelf_k1om.c): New.
  189. (eelf_k1om_fbsd.c): Likewise.
  190. * Makefile.in: Regenerated.
  191. * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64
  192. is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported.
  193. (targ_extra_emuls): Likewise.
  194. * emulparams/elf_k1om.sh: New.
  195. * emulparams/elf_k1om_fbsd.sh: Likewise.
  196. 2011-07-16 Roland McGrath <roland@hack.frob.com>
  197. * ld.h (args_type): New field print_output_format.
  198. * lexsup.c (enum option_values, ld_options, parse_args):
  199. Handle --print-output-format.
  200. * ldmain.c (main): Implement --print-output-format.
  201. * ld.texinfo (Options): Document it.
  202. * ldlang.c (lang_get_output_target): Don't return current_target
  203. when it's NULL.
  204. 2011-07-15 Alan Modra <amodra@gmail.com>
  205. * Makefile.am (e*.c): Sort.
  206. * Makefile.in: Regenerate.
  207. 2011-07-14 Alan Modra <amodra@gmail.com>
  208. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option,
  209. gld${EMULATION_NAME}_list_options): Don't condition -z relro
  210. and -z norelro on COMMONPAGESIZE being defined.
  211. 2011-07-14 Alan Modra <amodra@gmail.com>
  212. * emultempl/ppc64elf.em (plt_static_chain): New var.
  213. (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
  214. (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
  215. PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
  216. --plt-static-chain and --no-plt-static-chain.
  217. 2011-07-14 Alan Modra <amodra@gmail.com>
  218. * emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
  219. gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options):
  220. Provide --build-id, -z defs, -z muldefs, -z max-page-size,
  221. -z common-page-size, -z execstack, -z noexecstack for all targets.
  222. Add help for --exclude-libs.
  223. (OPTION_LD_GENERATED_UNWIND_INFO,
  224. OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this..
  225. (gld${EMULATION_NAME}_handle_option): ..and code handling
  226. --ld-generated-unwind-info and --no-ld-generated-unwind-info..
  227. * emulparams/plt_unwind.sh: ..to here. New file. Add help.
  228. * emulparams/elf32_x86_64.sh: Include plt_unwind.sh.
  229. * emulparams/elf_i386.sh: Likewise.
  230. * emulparams/elf_i386_chaos.sh: Likewise.
  231. * emulparams/elf_i386_ldso.sh: Likewise.
  232. * emulparams/elf_l1om.sh: Likewise.
  233. * emulparams/elf_x86_64.sh: Likewise.
  234. 2011-07-11 Catherine Moore <clm@codesourcery.com>
  235. * ld.h (section_flag_list): Add field to struct wildcard_spec.
  236. * ld.texinfo (INPUT_SECTION_FLAGS): Document.
  237. * ldgram.y (flag_info_list, flag_info): Add to union.
  238. (INPUT_SECTION_FLAGS): New token.
  239. (wildcard_spec): Initialize section_flag_list to NULL for
  240. each alternative.
  241. (sect_flag_list, sect_flags): New rules.
  242. (input_section_spec_no_keep): Add alternatives to recognize
  243. sect_flags.
  244. * ldlang.c (walk_wild_consider_section): Initialize
  245. section_flag_info field of the section struct.
  246. (lang_add_section): Check input section flags.
  247. (lang_add_wild): Initialize section_flag_list field of
  248. the statement struct.
  249. * ldlang.h (lang_input_statement_struct): Add section_flag_list field.
  250. (lang_wild_statement_struct): Likewise.
  251. * ldlex.l (INPUT_SECTION_FLAGS): New token.
  252. * mri.c (mri_draw_tree): Initialize section_flag_list to NULL.
  253. * NEWS: Announce INPUT_SECTION_FLAGS enhancement.
  254. 2011-07-09 H.J. Lu <hongjiu.lu@intel.com>
  255. PR ld/12942
  256. * ldlang.c (section_already_linked): Pass "struct already_linked *"
  257. to bfd_section_already_linked.
  258. (lang_process): Set link_info.loading_lto_outputs before
  259. loading LTO outputs.
  260. * plugin.c: Include "libbfd.h".
  261. (add_symbols): Call bfd_section_already_linked with comdat_key.
  262. 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
  263. * configure.tgt: Revert x32 change.
  264. 2011-06-20 Jakub Jelinek <jakub@redhat.com>
  265. PR ld/12570
  266. * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
  267. OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
  268. (gld${EMULATION_NAME}_handle_option): Handle
  269. --ld-generated-unwind-info and --no-ld-generated-unwind-info.
  270. * ld.texinfo (--ld-generated-unwind-info,
  271. --no-ld-generated-unwind-info): Document.
  272. 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
  273. * configure.tgt: Support x32.
  274. 2011-06-15 Nick Clifton <nickc@redhat.com>
  275. * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
  276. 2011-06-13 Walter Lee <walt@tilera.com>
  277. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and
  278. eelf32tilepro.c.
  279. (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c.
  280. (eelf32tilegx.c): New target.
  281. (eelf32tilepro.c): Likewise.
  282. (eelf64tilegx.c): Likewise.
  283. * Makefile.in: Regenerate.
  284. * configure.tgt: Handle tilegx-*-* and tilepro-*-*.
  285. * emulparams/elf32tilegx.sh: New file.
  286. * emulparams/elf64tilegx.sh: New file.
  287. * emulparams/elf32tilepro.sh: New file.
  288. 2011-06-13 Alan Modra <amodra@gmail.com>
  289. * ldlang.c (sort_def_symbol, lang_one_common): Don't handle
  290. warning symbols here.
  291. * emultempl/pe.em (pr_sym): Remove redundant test.
  292. * emultempl/pep.em (pr_sym): Likewise.
  293. 2011-06-09 Nick Clifton <nickc@redhat.com>
  294. PR ld/12845
  295. * emultempl/mipself.em (mips_add_stub_section): Do not add stubs
  296. for sections that have been removed by garbage collection.
  297. 2011-06-08 Alan Modra <amodra@gmail.com>
  298. * ldlang.c (lang_one_common): Handle warning symbols.
  299. 2011-06-07 Nick Clifton <nickc@redhat.com>
  300. * configure.tgt: Accept any V850 architecture.
  301. 2011-06-03 Nick Clifton <nickc@redhat.com>
  302. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
  303. Add rule to build eelf32am33lin.c
  304. * Makefile.in: Regenerate.
  305. 2011-06-02 Nick Clifton <nickc@redhat.com>
  306. * lexsup.c: Fix spelling mistake in comment.
  307. * scripttempl/epocpe.sc: Likewise.
  308. * scripttempl/i386beos.sc: Likewise.
  309. * scripttempl/mcorepe.sc: Likewise.
  310. * scripttempl/pe.sc: Likewise.
  311. * scripttempl/pep.sc: Likewise.
  312. * po/ld.pot: Regenerate.
  313. 2011-05-27 Nick Clifton <nickc@redhat.com>
  314. * scripttempl/v850.sc (_heap_start): Provide.
  315. 2011-05-23 Alan Modra <amodra@gmail.com>
  316. * ldmisc.c (vfinfo): Add %H.
  317. * ldmain.c (reloc_overflow): Use %H rather than %C.
  318. (reloc_dangerous, unattached_reloc): Likewise.
  319. 2011-05-23 Alan Modra <amodra@gmail.com>
  320. PR 12763
  321. * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
  322. like sections to existing .sdata2, and similarly for orphan TLS
  323. sections.
  324. * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
  325. 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
  326. PR ld/12759
  327. * emultempl/rxelf.em (ignore_lma): New variable.
  328. (rx_elf_create_output_section_statements): Pass the setiing of
  329. ignore_lma to bfd_elf32_rx_set_target_flags.
  330. (OPTION_IGNORE_LMA): Define.
  331. (OPTION_NO_IGNORE_LMA): Define.
  332. (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
  333. (PARSE_AND_LIST_OPTIONS): Add ignore lma.
  334. (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
  335. 2011-05-17 Alan Modra <amodra@gmail.com>
  336. PR ld/12760
  337. * ldmain.c (notice): Add "flags" and "string" param.
  338. * plugin.c (plugin_notice): Likewise. Handle indirect, warning
  339. and constructor syms.
  340. 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
  341. * ldlang.c (print_assignment): Use the symbol's section if we
  342. use its value.
  343. * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
  344. comment on copying symbol type.
  345. 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
  346. PR ld/12760
  347. * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
  348. undefweak.
  349. 2011-05-16 Alan Modra <amodra@gmail.com>
  350. * ldlang.c (lang_leave_output_section_statement): Don't copy
  351. previous lma_region if given address.
  352. 2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
  353. (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
  354. eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
  355. * Makefile.am (ALL_EMULATIONS): Add these files.
  356. (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
  357. * Makefile.in: Regenerated.
  358. * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
  359. vectors.
  360. * emulparams/elf32_tic6x_elf_be.sh: New file.
  361. * emulparams/elf32_tic6x_elf_le.sh: New file.
  362. * emulparams/elf32_tic6x_linux_be.sh: New file.
  363. * emulparams/elf32_tic6x_linux_le.sh: New file.
  364. * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
  365. (tic6x-*-*): Replaced by these.
  366. 2011-05-13 Jan Beulich <jbeulich@novell.com>
  367. * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
  368. 2011-05-09 Paul Brook <paul@codesourcery.com>
  369. * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
  370. (compare_output_sec_vma): New function.
  371. (gld${EMULATION_NAME}_after_allocation): New function.
  372. (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
  373. (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
  374. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
  375. (LDEMUL_AFTER_ALLOCATION): Set.
  376. * ld.texinfo: Document c6x --no-merge-exidx-entries.
  377. 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
  378. PR ld/12365
  379. * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
  380. (__rt_psrelocs_end): Likewise.
  381. (__rt_psrelocs_size): Likewise difference between the above.
  382. (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
  383. immediately after end of pseudo-reloc data.
  384. (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
  385. (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
  386. calculate backward from list end.
  387. (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
  388. * scripttempl/pep.sc: Likewise.
  389. 2011-05-06 Tristan Gingold <gingold@adacore.com>
  390. * scripttempl/alphavms.sc (CODE): Add *$CODE*.
  391. 2011-05-04 Tristan Gingold <gingold@adacore.com>
  392. * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
  393. LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
  394. * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
  395. (gld${EMULATION_NAME}_add_options): New function.
  396. (gld${EMULATION_NAME}_list_options): Ditto.
  397. (gld${EMULATION_NAME}_handle_option): Ditto.
  398. (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
  399. (LDEMUL_LIST_OPTIONS): Define.
  400. 2011-05-04 Alan Modra <amodra@gmail.com>
  401. PR ld/12726
  402. * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
  403. * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
  404. assign to dot when lang_assigning_phase_enum.
  405. * ldlang.h (lang_do_assignments): Update prototype.
  406. * ldlang.c (lang_do_assignments): Add phase parameter. Update all
  407. callers.
  408. * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
  409. lang_do_assignments calls.
  410. 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
  411. PR ld/12614
  412. * emultempl/pe.em (_after_open): Correctly check whether symbol is
  413. in undef list.
  414. 2011-04-26 Kai Tietz <ktietz@redhat.com>
  415. * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
  416. * scripttempl/pep.sc: Likewise.
  417. 2011-04-24 Alan Modra <amodra@gmail.com>
  418. PR ld/12365
  419. PR ld/12696
  420. * ldmain.c (notice): Delete "name" param, add "h".
  421. * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
  422. redefinitions of IR symbols in real BFDs.
  423. (plugin_multiple_definition, plugin_multiple_common): Delete.
  424. (non_ironly_hash, init_non_ironly_hash): Delete.
  425. (is_visible_from_outside): Traverse entry_symbol chain.
  426. (get_symbols): Use non_ir_ref flag rather than hash lookup.
  427. 2011-04-21 Tristan Gingold <gingold@adacore.com>
  428. * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
  429. 2011-04-20 Tristan Gingold <gingold@adacore.com>
  430. * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
  431. 2011-04-20 Alan Modra <amodra@gmail.com>
  432. * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
  433. 2011-04-20 Alan Modra <amodra@gmail.com>
  434. PR ld/12365
  435. * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
  436. to plugin IR BFD..
  437. * ldmain.c (add_archive_element): ..and similar code here..
  438. * plugin.c (plugin_maybe_claim): ..to here. New function.
  439. (plugin_call_claim_file): Make static.
  440. (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
  441. (plugin_multiple_common): New function.
  442. (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
  443. * plugin.h (plugin_call_claim_file): Don't declare.
  444. (plugin_maybe_claim): Declare.
  445. 2011-04-20 Alan Modra <amodra@gmail.com>
  446. PR ld/12365
  447. * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
  448. pointer arg rather than "name", "obfd", "osec", "oval". Add code
  449. removed from linker.c. Hack around xcofflink.c oddity in
  450. passing NULL nbfd.
  451. (multiple_common): Similarly.
  452. * plugin.c (orig_allow_multiple_defs): Delete.
  453. (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
  454. (plugin_multiple_definition): Update.
  455. 2011-04-18 Kai Tietz <ktietz@redhat.com>
  456. * deffilep.y (def_aligncomm): Avoid duplets.
  457. * deffilep.y (def_pool_str): New type.
  458. (pool_strs): Local static.
  459. (def_pool_alloc): Local function.
  460. (def_pool_strdup): Likewise.
  461. (def_pool_free): Likewise.
  462. (opt_name): Replace xmalloc/xstrdup by
  463. def_pool_alloc/def_pool_strdup.
  464. (dot_name): Likewise.
  465. (anylang_id): Likewise.
  466. (def_lex): Likewise.
  467. (def_file_parse): Call def_pool_free on
  468. exit and cleanup directives elements.
  469. (def_file_add_directive): Call def_pool_free.
  470. 2011-04-18 Paul Brook <paul@codesourcery.com>
  471. * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
  472. for unwinding tables.
  473. 2011-04-18 Alan Modra <amodra@gmail.com>
  474. PR ld/12365
  475. PR ld/12672
  476. * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
  477. when no_more_claiming.
  478. * ldmain.c (add_archive_element): Likewise.
  479. (multiple_definition): Remove plugin_multiple_definition call.
  480. (notice): Remove plugin_notice call.
  481. * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
  482. Delete prototype.
  483. (plugin_insert): New static var.
  484. (open_input_bfds): Only rescan libs after plugin insert point.
  485. (lang_gc_sections): Omit plugin claimed files.
  486. (lang_process): Set plugin_insert. Only rescan when plugin adds
  487. objects.
  488. * plugin.h (no_more_claiming): Declare.
  489. (plugin_notice, plugin_multiple_definition): Don't declare.
  490. * plugin.c: Formatting.
  491. (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
  492. plugin_callbacks): New static vars.
  493. (no_more_claiming): Make global.
  494. (plugin_cached_allow_multiple_defs): Delete.
  495. (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
  496. use newer bfd_make_section variant. Make COMMON section too.
  497. Error handling. Correct setting of gp size.
  498. (asymbol_from_plugin_symbol): Properly cast last arg of concat.
  499. (message): Likewise for ACONCAT.
  500. (asymbol_from_plugin_symbol): Use our COMMON section.
  501. (get_symbols): When report_plugin_symbols, show visibility too.
  502. (init_non_ironly_hash): Move. Don't test non_ironly_hash.
  503. (plugin_load_plugins): Save state of linker callbacks, set up to
  504. call plugin_notice instead. Call init_non_ironly_hash here.
  505. (plugin_call_all_symbols_read): Set plugin_multiple_definition in
  506. plugin callbacks.
  507. (plugin_notice): Rewrite.
  508. (plugin_multiple_definition): Make static, call original callback.
  509. 2011-04-15 Alan Modra <amodra@gmail.com>
  510. PR ld/12672
  511. * ldlang.c (enum open_bfd_mode): New.
  512. (open_input_bfds): Replace "force" param with "mode". Reload
  513. archives for rescan. Update all callers.
  514. (lang_process): Make another open_input_bfds pass for plugins.
  515. 2011-04-13 Kai Tietz <ktietz@redhat.com>
  516. PR binutils/12658
  517. * deffile.h (def_file_add_export): Add is_dup argument.
  518. (def_file_add_import): Likewise.
  519. * deffilep.y (are_names_equal): New helper.
  520. (cmp_export_elem): New helper.
  521. (find_export_in_list): Add search routine for exports.
  522. (def_file_add_export): Check for duplicates.
  523. (cmp_import_elem): New helper.
  524. (find_import_in_list): Add search routine for imports.
  525. (def_file_add_import): Check for duplicates.
  526. (def_exports): Handle duplicates.
  527. (def_imports): Likewise.
  528. * pe-dll.c (process_def_file_and_drectve): Likewise.
  529. (pe_implied_import_dll): Likewise.
  530. 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
  531. * scripttempl/elf.sc (.exception_ranges): Add new section.
  532. 2011-04-08 Hector Oron <hector.oron@gmail.com>
  533. PR ld/12643
  534. * configure.tgt: Add support for arm-*-gnueabihf targets.
  535. 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
  536. * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
  537. 2011-04-07 Joseph Myers <joseph@codesourcery.com>
  538. * configure.tgt: Remove stray ;;.
  539. 2011-04-06 Joseph Myers <joseph@codesourcery.com>
  540. * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
  541. strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
  542. thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
  543. xscale-*-coff, xscale-*-elf): Remove targets.
  544. 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
  545. * configure.tgt: Add elf_l1om to targ_extra_libpath for
  546. x86_64-*-linux-*.
  547. * emulparams/elf_l1om.sh: Remove duplicates.
  548. 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
  549. * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
  550. GENERATE_SHLIB_SCRIPT): New defines.
  551. (TEXT_START_ADDR): Define differently depending on target.
  552. (.got): Redefine to include "*(.dsbt)".
  553. (SDATA_START_SYMBOLS): Remove, replace with
  554. (OTHER_GOT_SYMBOLS): New.
  555. (OTHER_BSS_SECTIONS): Define only for ELF targets.
  556. * emultempl/tic6xdsbt.em: New file.
  557. * gen-doc.texi: Set C6X.
  558. * ld.texinfo: Likewise.
  559. (Options specific to C6X uClinux targets): New section.
  560. 2011-03-29 Alan Modra <amodra@gmail.com>
  561. PR ld/12613
  562. * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
  563. 2011-03-26 John Marino <binutils@marino.st>
  564. * configure.host: Update *-*-dragonfly* host entry.
  565. * configure.tgt: Update *-*-dragonfly* target entry.
  566. * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
  567. 2011-03-28 Joseph Myers <joseph@codesourcery.com>
  568. * configure.in: Check for windows.h, not Windows.h.
  569. * configure: Regenerate.
  570. * plugin.c: Include windows.h, not Windows.h.
  571. 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
  572. * Makefile.in: Regenerate.
  573. 2011-03-23 Joseph Myers <joseph@codesourcery.com>
  574. * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
  575. are enabled. Mark level as possibly unused.
  576. 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
  577. * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
  578. (eavrxmega?.c): Likewise.
  579. * configure.tgt (targ_extra_emuls): Likewise.
  580. * emulparams/avrxmega1.sh: New file.
  581. * emulparams/avrxmega2.sh: Likewise.
  582. * emulparams/avrxmega3.sh: Likewise.
  583. * emulparams/avrxmega4.sh: Likewise.
  584. * emulparams/avrxmega5.sh: Likewise.
  585. * emulparams/avrxmega6.sh: Likewise.
  586. * emulparams/avrxmega7.sh: Likewise.
  587. * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
  588. Add avrxmega6, avrxmega7 to list of architectures for no stubs.
  589. 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
  590. * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
  591. 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
  592. * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
  593. eh->target_internal.
  594. 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
  595. * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
  596. instead of dynamic_sections_created.
  597. 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
  598. * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
  599. 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
  600. * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
  601. 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
  602. * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
  603. wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
  604. * ldmain.c (add_archive_element): Set it if the member is claimed.
  605. * ldlang.c (new_afile): Initialise claim_archive and claimed members.
  606. (find_replacements_insert_point): New helper function.
  607. (lang_process): After adding and opening replacement files passed
  608. from plugin, splice them into correct place in statement list and
  609. file chains to preserve critical link order.
  610. (lang_list_insert_after): New helper function.
  611. (lang_list_remove_tail): Likewise.
  612. 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
  613. * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
  614. (IRONLY_SUFFIX_LEN): Delete.
  615. (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
  616. (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
  617. enclosing lang input statement instead.
  618. 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
  619. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
  620. alignment of input sections when creating orphan output sections
  621. during relocatable link.
  622. * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  623. 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
  624. * ld.texinfo: Document --verbose[=NUMBER].
  625. * lexsup.c (ld_options): Update --verbose.
  626. (parse_args): Set report_plugin_symbols.
  627. * plugin.c (report_plugin_symbols): New.
  628. (get_symbols): Report plugin symbols if report_plugin_symbols
  629. is TRUE.
  630. * plugin.h (report_plugin_symbols): New.
  631. 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
  632. PR ld/12529
  633. * testplug.c: Don't include "filenames.h".
  634. (onclaim_file): Don't use filename_cmp.
  635. 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
  636. * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
  637. * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
  638. Likewise.
  639. (gld${EMULATION_NAME}_stat_needed): Likewise.
  640. (gld${EMULATION_NAME}_check_needed): Likewise.
  641. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
  642. (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
  643. * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
  644. (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
  645. * ldfile.c (ldfile_open_file): Likewise.
  646. * ldlang.c (wild_sort): Likewise.
  647. (lookup_name): Likewise.
  648. (check_excluded_libs): Likewise.
  649. * ldmisc.c (vfinfo): Likewise.
  650. * pe-dll.c (libnamencmp): Likewise.
  651. (auto_export): Likewise.
  652. (pe_dll_generate_implib): Likewise.
  653. * testplug.c (onclaim_file): Likewise.
  654. 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
  655. PR ld/12507
  656. * plugin.c (get_symbols): Don't check entry symbol here.
  657. (init_non_ironly_hash): Add entry_symbol chain into
  658. non_ironly_hash.
  659. 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
  660. PR ld/12507
  661. * plugin.c (get_symbols): Don't mark entry symbol IR only.
  662. 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
  663. PR ld/12376
  664. emulparams/hppalinux.sh (DATA_ADDR): Define.
  665. (SHLIB_DATA_ADDR): Likewise.
  666. 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
  667. * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
  668. x32 for x32.
  669. 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
  670. * pe-dll.c (process_def_file_and_drectve): Don't strip
  671. leading underscore from symbol by calling bfd_find_version_for_sym.
  672. 2011-02-14 Mike Frysinger <vapier@gentoo.org>
  673. * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
  674. the bfd_demangle of sym, change users of sym to c_sym when not
  675. already demangling, and free when done. Change callers of
  676. cplus_demangle to bfd_demangle.
  677. 2011-02-14 Alan Modra <amodra@gmail.com>
  678. * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
  679. .text section, use newer bfd_make_section variant. Error handling.
  680. Correct setting of gp size.
  681. (asymbol_from_plugin_symbol): Properly cast last arg of concat.
  682. (message): Likewise for ACONCAT.
  683. (get_symbols): Formatting.
  684. 2011-02-14 Alan Modra <amodra@gmail.com>
  685. * ldmain.c (remove_output): Rename to..
  686. (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
  687. (main): Adjust.
  688. * plugin.c (plugin_call_cleanup): Make global.
  689. (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
  690. * plugin.h (plugin_call_cleanup): Declare.
  691. 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  692. * configure: Regenerate.
  693. 2011-02-10 Alan Modra <amodra@gmail.com>
  694. * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
  695. * scripttempl/avr.sc: Likewise.
  696. * scripttempl/elf32cr16.sc: Likewise.
  697. * scripttempl/elf32crx.sc: Likewise.
  698. * scripttempl/elf32msp430.sc: Likewise.
  699. * scripttempl/elf32msp430_3.sc: Likewise.
  700. * scripttempl/elf32sh-symbian.sc: Likewise.
  701. * scripttempl/elf64hppa.sc: Likewise.
  702. * scripttempl/elf_chaos.sc: Likewise.
  703. * scripttempl/elfd10v.sc: Likewise.
  704. * scripttempl/elfd30v.sc: Likewise.
  705. * scripttempl/elfi370.sc: Likewise.
  706. * scripttempl/elfm68hc11.sc: Likewise.
  707. * scripttempl/elfm68hc12.sc: Likewise.
  708. * scripttempl/elfxtensa.sc: Likewise.
  709. * scripttempl/ip2k.sc: Likewise.
  710. * scripttempl/iq2000.sc: Likewise.
  711. * scripttempl/mep.sc: Likewise.
  712. * scripttempl/mmo.sc: Likewise.
  713. * scripttempl/v850.sc: Likewise.
  714. * scripttempl/xstormy16.sc: Likewise.
  715. * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
  716. 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
  717. * Makefile.am (CXX): Removed.
  718. * configure.in: Add AC_PROG_CXX.
  719. * Makefile.in: Regenerated.
  720. * configure: Likewise.
  721. 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
  722. * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
  723. private data and GP size.
  724. 2011-01-21 Alan Modra <amodra@gmail.com>
  725. * ldexp.c (fold_binary): Set result section for arithmetic and
  726. logical operations to NULL when both operands are in same section.
  727. * ld.texinfo (Expression Section): Describe this.
  728. 2011-01-14 Alan Modra <amodra@gmail.com>
  729. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  730. attempt to put non-alloc orphans before debug sections, just place
  731. them after .comment.
  732. 2011-01-14 J. Park <grassman@gmail.com>
  733. PR ld/12339
  734. * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
  735. 2011-01-14 Alan Modra <amodra@gmail.com>
  736. * Makefile.am: Sort emulation rules.
  737. (eelf32am33lin.c): Delete.
  738. (ALL_EMULATION_SOURCES): Sort, add missing entries.
  739. (ALL_64_EMULATION_SOURCES): Likewise.
  740. * Makefile.in: Regenerate.
  741. 2011-01-13 Alan Modra <amodra@gmail.com>
  742. PR ld/12356
  743. * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
  744. (Expression Section): Update.
  745. * ld.h (ld_config_type): Add sane_expr.
  746. * ldgram.y (ifile_p1): Add LD_FEATURE.
  747. * ldlex.l (LD_FEATYRE): New.
  748. * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
  749. * ldexp.h (struct ldexp_control): Delete uses_defined.
  750. * ldexp.c: Remove all uses of uses_defined.
  751. (fold_name): Test config.sane_expr rather than ld_compatibility.
  752. (exp_fold_tree_1): Likewise. Adjust handling of assignments
  753. during first phase.
  754. * ldlang.h (ld_compatibility): Delete.
  755. (lang_ld_feature): Declare.
  756. * ldlang.c (ld_compatibility): Delete.
  757. (open_input_bfds): Only handle assignments for --defsym.
  758. (lang_ld_feature): New function.
  759. PR ld/12356
  760. * ldexp.h (exp_assop): Delete.
  761. (exp_assign, exp_defsym): Declare.
  762. * ldexp.c (exp_assop): Make static, handle all assignment variations.
  763. (exp_assign, exp_defsym): New functions.
  764. (exp_provide): Use exp_assop.
  765. * ldgram.y (defsym_expr): Use exp_defsym.
  766. * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
  767. * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
  768. * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
  769. 2011-01-12 Alan Modra <amodra@gmail.com>
  770. PR ld/12380
  771. * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
  772. * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
  773. for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
  774. to detect when we've finished sizing sections.
  775. (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
  776. (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
  777. that we are not inside an output section statement.
  778. * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
  779. not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
  780. lang_final_phase_enum here.
  781. (lang_process): Set lang_final_phase_enum here.
  782. 2011-01-10 Nick Clifton <nickc@redhat.com>
  783. * po/da.po: Updated Danish translation.
  784. 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
  785. * ldlang.c (startup_file): Removed.
  786. (lang_startup): Updated.
  787. 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
  788. PR ld/12364
  789. * plugin.c (get_symbols): Check if owner_sec->owner is NULL
  790. before accessing its flags field.
  791. 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
  792. * ldver.c (ldversion): Update copyright to 2011.
  793. For older changes see ChangeLog-2010
  794. Copyright (C) 2011 Free Software Foundation, Inc.
  795. Copying and distribution of this file, with or without modification,
  796. are permitted in any medium without royalty provided the copyright
  797. notice and this notice are preserved.
  798. Local Variables:
  799. mode: change-log
  800. left-margin: 8
  801. fill-column: 74
  802. version-control: never
  803. End: