ChangeLog-2014 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114
  1. 2014-12-24 Alan Modra <amodra@gmail.com>
  2. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Exclude
  3. shared libraries in loop looking for .eh_frame sections.
  4. Similarly for build-id loop.
  5. 2014-12-23 Andrew Burgess <andrew.burgess@embecosm.com>
  6. * emultempl/avrelf.em: Add include of elf/avr.h.
  7. (avr_finish): New function.
  8. (LDEMUL_FINISH): Added.
  9. 2014-12-23 Alan Modra <amodra@gmail.com>
  10. * ldexp.c (update_definedness): Return false if script symbol is
  11. redefining a strong symbol in an object.
  12. (exp_fold_tree_1 <etree_assign>): Set up for reporting a multiple
  13. definition error, but for now leave disabled.
  14. 2014-12-23 Alan Modra <amodra@gmail.com>
  15. * ldexp.c (exp_fold_tree_1 <etree_provide>): Test linker_def.
  16. 2014-12-23 Alan Modra <amodra@gmail.com>
  17. * ldexp.c (exp_fold_tree_1 <etree_provide>): Leave bfd_link_hash_common
  18. symbols alone.
  19. 2014-12-23 Alan Modra <amodra@gmail.com>
  20. * ldexp.c (update_definedness): Correct logic setting by_object.
  21. 2014-12-23 Alan Modra <amodra@gmail.com>
  22. * ldexp.c (struct definedness_hash_entry, definedness_table)
  23. (definedness_newfunc, symbol_defined, update_definedness): Move
  24. and rename from..
  25. * ldlang.h (struct lang_definedness_hash_entry): ..here,..
  26. * ldlang.c (lang_definedness_table, lang_definedness_newfunc)
  27. (lang_symbol_defined, lang_update_definedness): ..and here.
  28. * ldexp.c (ldexp_init, ldexp_finish): New functions, extracted from..
  29. * ldlang.c (lang_init, lang_finish): ..here.
  30. * ldexp.h (ldexp_init, ldexp_finish): Declare.
  31. * ldlang.h (lang_symbol_defined, lang_update_definedness): Delete.
  32. * ldmain.c (main): Call ldexp_init and ldexp_finish.
  33. 2014-12-10 Alan Modra <amodra@gmail.com>
  34. * ldmisc.c: #include "coff-bfd.h"
  35. 2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
  36. * configure.tgt: Add Visium support.
  37. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c.
  38. (eelf32visium.c): New rule.
  39. * Makefile.in: Regenerate.
  40. * emulparams/elf32visium.sh: New file.
  41. * scripttempl/visium.sc: Likewise.
  42. 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
  43. * emulparams/elf_i386.sh (TINY_READONLY_SECTION): New.
  44. * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Add .plt.got.
  45. 2014-11-24 H.J. Lu <hongjiu.lu@intel.com>
  46. * configure: Regenerated.
  47. 2014-11-24 Alan Modra <amodra@gmail.com>
  48. * ld.texinfo: Correct --plt-align documentation.
  49. * emultempl/ppc64elf.em (plt_stub_align): Delete. Use and set
  50. params.plt_stub_align instead.
  51. 2014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
  52. * emulparams/elf_x86_64.sh (BNDPLT): Set to yes for x86_64.
  53. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
  54. "-z bndplt" if BNDPLT is yes.
  55. (gld${EMULATION_NAME}_list_options): Add "-z bndplt" entry.
  56. * ld.texinfo: Add description for bndplt.
  57. 2014-10-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  58. * avrtiny.sc: Apply avr.sc fixes.
  59. 2014-11-04 Alan Modra <amodra@gmail.com>
  60. * emultempl/spu_icache.o_c: Regenerate.
  61. * emultempl/spu_ovl.o_c: Regenerate.
  62. 2014-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
  63. * testsuite/ld-avr/relax-02.d: Update to check size of symbols has
  64. changed.
  65. * testsuite/ld-avr/relax-03.d: Likewise.
  66. 2014-11-03 Andrew Burgess <andrew.burgess@embecosm.com>
  67. * testsuite/ld-avr/relax-02.d: New file.
  68. * testsuite/ld-avr/relax-02.s: New file.
  69. * testsuite/ld-avr/relax-03.d: New file.
  70. * testsuite/ld-avr/relax-03.s: New file.
  71. 2014-10-29 Nick Clifton <nickc@redhat.com>
  72. * po/bg.po: Updated Bulgarian translation.
  73. 2014-10-24 Tejas Belagod <tejas.belagod@arm.com>
  74. * emultempl/aarch64elf.em: Add command-line option for erratum 835769.
  75. 2014-10-17 Hans-Peter Nilsson <hp@axis.com>
  76. Implement --print-sysroot in ld.
  77. * ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
  78. * lexsup.c (ld_options): Add entry for --print-sysroot.
  79. (parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
  80. 2014-10-16 Alan Modra <amodra@gmail.com>
  81. PR 17488
  82. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't attempt
  83. to access ELF header e_flags when not ppc64 ELF output.
  84. 2014-10-15 Tristan Gingold <gingold@adacore.com>
  85. * configure: Regenerate.
  86. 2014-10-15 Hans-Peter Nilsson <hp@axis.com>
  87. * ldlex.l (INPUTLIST): New start condition.
  88. (comment pattern, ",", "(", ")", "AS_NEEDED")
  89. ({FILENAMECHAR1}{FILENAMECHAR}*, "-l"{FILENAMECHAR}+)
  90. (quoted string pattern, whitespace pattern): Add INPUTLIST to
  91. valid start conditions.
  92. (<INPUTLIST>"="{FILENAMECHAR1}{FILENAMECHAR}*): New NAME rule.
  93. (ldlex_inputlist): New start-condition-setter function.
  94. * ldgram.y (input_list1): Rename from input_list. All recursive
  95. use changed.
  96. (input_list): New wrapper rule for input_list1, setting
  97. INPUTLIST lexer state for the duration of parsing input_list1.
  98. * ldlang.c (lang_add_input_file): If the first character in the
  99. filename is '=', prepend the sysroot and force the context of that
  100. input file to non-sysroot.
  101. * ld.texinfo (Options): When mentioning "=" and sysroot, mention
  102. that --sysroot controls it, not only through the configuration.
  103. (input files in linker scripts): When mentioning
  104. behavior of first character "/" on scripts within sysroot, also
  105. mention that effect can be forced by prefixing with "=" and
  106. refer to SEARCH_DIR.
  107. 2014-10-14 Tristan Gingold <gingold@adacore.com>
  108. * NEWS: Add marker for 2.25.
  109. 2014-10-13 Alan Modra <amodra@gmail.com>
  110. * ldlang.c (lang_add_section): Set up map_head.s and map_tail.s when
  111. relocatable.
  112. 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
  113. * emultempl/nds32elf.em (nds32_elf_after_open): Do not keep
  114. ex9 234th entry.
  115. (nds32_elf_after_allocation): Move all optimizations into
  116. nds32_elf_relax_section.
  117. 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
  118. Matthew Fortune <matthew.fortune@imgtec.com>
  119. * ldmain.c (get_emulation): Add support for -mips32r6 and -mips64r6.
  120. 2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
  121. * configure.tgt: Add mips*-img-elf* target triple.
  122. 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
  123. * emultempl/pe.em (write_build_id, setup_build_id): Change pe/coff
  124. build-id section name from '.build-id' to '.buildid'.
  125. * emultempl/pep.em (write_build_id, setup_build_id): Ditto.
  126. 2014-08-22 Andreas Tobler <andreast@fgznet.ch>
  127. * emulparams/armelf_fbsd.sh (TEXT_START_ADDR): Increase alignment to
  128. 64kB boundary like in armelf_linux.sh.
  129. 2014-08-22 Alan Modra <amodra@gmail.com>
  130. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
  131. bfd_elf_discard_info after generating glink .eh_frame. Delete
  132. redundant test on ppc64_elf_setup_section_lists status.
  133. 2014-08-20 Maciej W. Rozycki <macro@codesourcery.com>
  134. * emultempl/armelf.em (OPTION_STUBGROUP_SIZE): Fix formatting.
  135. (OPTION_NO_MERGE_EXIDX_ENTRIES, OPTION_LONG_PLT): Likewise.
  136. 2014-08-20 Will Newton <will.newton@linaro.org>
  137. * configure.tgt: Default armeb-*-eabi* to big endian.
  138. 2014-08-20 Daniel Micay <danielmicay@gmail.com>
  139. * emultempl/pep.em: Add --high-entropy-va switch.
  140. * ld.texinfo: Document the --high-entropy-va switch.
  141. 2014-08-20 Nick Clifton <nickc@redhat.com>
  142. * scripttempl/DWARF.sc: Add copyright notice.
  143. * scripttempl/aix.sc: Likewise.
  144. * scripttempl/alpha.sc: Likewise.
  145. * scripttempl/alphavms.sc: Likewise.
  146. * scripttempl/aout.sc: Likewise.
  147. * scripttempl/armaout.sc: Likewise.
  148. * scripttempl/armbpabi.sc: Likewise.
  149. * scripttempl/armcoff.sc: Likewise.
  150. * scripttempl/avr.sc: Likewise.
  151. * scripttempl/avrtiny.sc: Likewise.
  152. * scripttempl/crisaout.sc: Likewise.
  153. * scripttempl/delta68.sc: Likewise.
  154. * scripttempl/dlx.sc: Likewise.
  155. * scripttempl/elf.sc: Likewise.
  156. * scripttempl/elf32cr16.sc: Likewise.
  157. * scripttempl/elf32cr16c.sc: Likewise.
  158. * scripttempl/elf32crx.sc: Likewise.
  159. * scripttempl/elf32msp430.sc: Likewise.
  160. * scripttempl/elf32msp430_3.sc: Likewise.
  161. * scripttempl/elf32sh-symbian.sc: Likewise.
  162. * scripttempl/elf32xc16x.sc: Likewise.
  163. * scripttempl/elf32xc16xl.sc: Likewise.
  164. * scripttempl/elf32xc16xs.sc: Likewise.
  165. * scripttempl/elf64hppa.sc: Likewise.
  166. * scripttempl/elf_chaos.sc: Likewise.
  167. * scripttempl/elfd10v.sc: Likewise.
  168. * scripttempl/elfd30v.sc: Likewise.
  169. * scripttempl/elfi370.sc: Likewise.
  170. * scripttempl/elfm68hc11.sc: Likewise.
  171. * scripttempl/elfm68hc12.sc: Likewise.
  172. * scripttempl/elfmicroblaze.sc: Likewise.
  173. * scripttempl/elfxgate.sc: Likewise.
  174. * scripttempl/elfxtensa.sc: Likewise.
  175. * scripttempl/epiphany_4x4.sc: Likewise.
  176. * scripttempl/epocpe.sc: Likewise.
  177. * scripttempl/h8300.sc: Likewise.
  178. * scripttempl/h8300h.sc: Likewise.
  179. * scripttempl/h8300hn.sc: Likewise.
  180. * scripttempl/h8300s.sc: Likewise.
  181. * scripttempl/h8300sn.sc: Likewise.
  182. * scripttempl/h8300sx.sc: Likewise.
  183. * scripttempl/h8300sxn.sc: Likewise.
  184. * scripttempl/h8500.sc: Likewise.
  185. * scripttempl/h8500b.sc: Likewise.
  186. * scripttempl/h8500c.sc: Likewise.
  187. * scripttempl/h8500m.sc: Likewise.
  188. * scripttempl/h8500s.sc: Likewise.
  189. * scripttempl/hppaelf.sc: Likewise.
  190. * scripttempl/i386beos.sc: Likewise.
  191. * scripttempl/i386coff.sc: Likewise.
  192. * scripttempl/i386go32.sc: Likewise.
  193. * scripttempl/i386msdos.sc: Likewise.
  194. * scripttempl/i860coff.sc: Likewise.
  195. * scripttempl/i960.sc: Likewise.
  196. * scripttempl/ia64vms.sc: Likewise.
  197. * scripttempl/ip2k.sc: Likewise.
  198. * scripttempl/iq2000.sc: Likewise.
  199. * scripttempl/m68kaux.sc: Likewise.
  200. * scripttempl/m68kcoff.sc: Likewise.
  201. * scripttempl/m88kbcs.sc: Likewise.
  202. * scripttempl/mcorepe.sc: Likewise.
  203. * scripttempl/mep.sc: Likewise.
  204. * scripttempl/mips.sc: Likewise.
  205. * scripttempl/mipsbsd.sc: Likewise.
  206. * scripttempl/mmo.sc: Likewise.
  207. * scripttempl/moxie.sc: Likewise.
  208. * scripttempl/nds32elf.sc: Likewise.
  209. * scripttempl/nw.sc: Likewise.
  210. * scripttempl/pe.sc: Likewise.
  211. * scripttempl/pep.sc: Likewise.
  212. * scripttempl/pj.sc: Likewise.
  213. * scripttempl/ppcpe.sc: Likewise.
  214. * scripttempl/psos.sc: Likewise.
  215. * scripttempl/riscix.sc: Likewise.
  216. * scripttempl/sh.sc: Likewise.
  217. * scripttempl/sparccoff.sc: Likewise.
  218. * scripttempl/st2000.sc: Likewise.
  219. * scripttempl/tic30aout.sc: Likewise.
  220. * scripttempl/tic30coff.sc: Likewise.
  221. * scripttempl/tic4xcoff.sc: Likewise.
  222. * scripttempl/tic54xcoff.sc: Likewise.
  223. * scripttempl/tic80coff.sc: Likewise.
  224. * scripttempl/v850.sc: Likewise.
  225. * scripttempl/v850_rh850.sc: Likewise.
  226. * scripttempl/vanilla.sc: Likewise.
  227. * scripttempl/w65.sc: Likewise.
  228. * scripttempl/xstormy16.sc: Likewise.
  229. * scripttempl/z80.sc: Likewise.
  230. * scripttempl/z8000.sc: Likewise.
  231. 2014-08-19 Alan Modra <amodra@gmail.com>
  232. * configure: Regenerate.
  233. 2014-08-18 Alan Modra <amodra@gmail.com>
  234. * ld.texinfo (--as-needed): Clarify that references from libraries
  235. must be from needed libraries.
  236. 2014-08-18 Alan Modra <amodra@gmail.com>
  237. * emultempl/aarch64elf.em (gld${EMULATION_NAME}_after_allocation):
  238. Handle error status from bfd_elf_discard_info.
  239. * emultempl/armelf.em: Likewise.
  240. * emultempl/elf32.em: Likewise.
  241. * emultempl/hppaelf.em: Likewise.
  242. * emultempl/metagelf.em: Likewise.
  243. * emultempl/nios2elf.em: Likewise.
  244. * emultempl/ppc64elf.em: Likewise.
  245. * emultempl/tic6xdsbt.em: Likewise.
  246. * emultempl/vms.em: Likewise.
  247. 2014-08-14 Alan Modra <amodra@gmail.com>
  248. PR 16563
  249. * ldlang.c (map_head_is_link_order): Rename from
  250. stripped_excluded_sections.
  251. (lang_clear_os_map): New function, extracted from..
  252. (strip_excluded_output_sections): ..here.
  253. * ldlang.h (lang_clear_os_map): Declare.
  254. * ldwrite.c (ldwrite): Call lang_clear_os_map.
  255. * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
  256. Likewise.
  257. 2014-08-14 Alan Modra <amodra@gmail.com>
  258. * configure.ac: Move AC_PROG_CC and other macros earlier. Delete
  259. plugin checks now done in config/plugins.m4.
  260. * config.in: Regenerate.
  261. * configure: Regenerate.
  262. 2014-08-14 Alan Modra <amodra@gmail.com>
  263. * plugin.c (is_ir_dummy_bfd): Test BFD_PLUGIN flag rather than
  264. flags.claimed.
  265. 2014-08-13 Yaakov Selkowitz <yselkowi@redhat.com>
  266. * pe-dll.c (autofilter_entry_type autofilter_symbollist_i386): Add
  267. __dso_handle.
  268. 2014-08-13 Alan Modra <amodra@gmail.com>
  269. * ldlang.c (open_input_bfds): Don't use bfd_elf_get_dyn_lib_class.
  270. 2014-08-12 Alan Modra <amodra@gmail.com>
  271. * ldlang.h (struct lang_input_statement_flags): Don't make "reload"
  272. field conditional on ENABLE_PLUGINS.
  273. * ldlang.c (open_input_bfds): Expand plugin_should_reload.
  274. * plugin.h (plugin_should_reload): Delete.
  275. * plugin.c (plugin_should_reload): Delete.
  276. 2014-08-12 Alan Modra <amodra@gmail.com>
  277. * ldmain.c (notice): Update args.
  278. * plugin.c (plugin_notice): Likewise. Follow warning sym link.
  279. Handle new indirect symbol.
  280. 2014-08-12 Alan Modra <amodra@gmail.com>
  281. * plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.
  282. 2014-08-08 Ulrich Drepper <drepper@gmail.com>
  283. * ldlang.h (struct lang_input_statement_flags): Add pushed
  284. member.
  285. * ldlex.h (enum option_values): Add OPTION_PUSH_STATE and
  286. OPTION_POP_STATE.
  287. * lexsup.c (ld_options): Add entries for --push-state and
  288. --pop-state.
  289. (parse_args): Handle OPTION_PUSH_STATE and OPTION_POP_STATE.
  290. * ld.texinfo: Document --push-state and --pop-state.
  291. 2014-08-06 H.J. Lu <hongjiu.lu@intel.com>
  292. PR14918
  293. * plugin.c (plugin_opt_plugin_arg): Drop --pass-through.
  294. 2014-08-05 Alan Modra <amodra@gmail.com>
  295. * Makefile.in: Regenerate.
  296. 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
  297. * emulparams/elf32bmip.sh: Add .MIPS.abiflags.
  298. * emulparams/elf32bmipn32-defs.sh: Likewise.
  299. * emulparams/elf64bmip-defs.sh: Likewise.
  300. 2014-07-27 Anthony Green <green@moxielogic.com>
  301. * Makefile.am (ALL_EMULATION_SOURCES): Add moxiebox support.
  302. (emoxiebox.c): Build.
  303. * configure.tgt (targ_extra_ofiles): Add moxie-*-moxiebox*.
  304. * emulparams/moxiebox.sh (TEXT_START_ADDR): New file.
  305. * Makefile.in: Rebuilt.
  306. 2014-07-17 Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
  307. * emulparams/elf32or1k_linux.sh (TEXT_START_ADDR): Increase from
  308. 0x0 to first page boundary at 0x2000.
  309. 2014-07-10 Max Filippov <jcmvbkbc@gmail.com>
  310. * emultempl/xtensaelf.em (is_inconsistent_linkonce_section):
  311. correctly handle missing dot in section name after
  312. ".gnu.linkonce.prop.".
  313. 2014-07-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  314. * scripttempl/avr.sc: Remove KEEP for .data and
  315. force .bss VMA to end of .data VMA.
  316. 2014-07-08 Will Newton <will.newton@linaro.org>
  317. * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase
  318. alignment to 64kB boundary.
  319. 2014-07-04 Alan Modra <amodra@gmail.com>
  320. * configure.ac: Update "configure.in" comments.
  321. * configure: Regenerate.
  322. 2014-07-04 Alan Modra <amodra@gmail.com>
  323. * configure.ac: Rename from configure.in.
  324. * Makefile.in: Regenerate.
  325. * config.in: Regenerate.
  326. 2014-07-04 Alan Modra <amodra@gmail.com>
  327. * configure.in: Include bfd/version.m4.
  328. (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
  329. (BFD_VERSION): Delete.
  330. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
  331. * configure: Regenerate.
  332. * Makefile.in: Regenerate.
  333. 2014-07-03 Alan Modra <amodra@gmail.com>
  334. PR 17068
  335. * ldlang.c (load_symbols): Always check flags.reload.
  336. (open_input_bfds): Always reload --as-needed shared libraries,
  337. not just when rescanning.
  338. * ldlang.h (struct lang_input_statement_flags): Update reload comment.
  339. * plugin.c (plugin_should_reload): Assume shared library arg.
  340. * plugin.h (plugin_should_reload): Update comment.
  341. 2014-07-01 Alan Modra <amodra@gmail.com>
  342. * emultempl/ppc64elf.em (stub_added): Delete.
  343. (gld${EMULATION_NAME}_finish): Call ppc64_elf_build_stubs even when
  344. none of the usual stubs have been added. Only change entry_section
  345. for ELFv1.
  346. 2014-07-01 Alan Modra <amodra@gmail.com>
  347. * sysdep.h: Don't include limits.h and sys/param.h. Don't
  348. include unistd.h twice.
  349. (LD_PATHMAX): Don't define.
  350. * ldlang.c (lang_common): Don't use UINT_MAX.
  351. 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm>
  352. Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  353. Pitchumani Sivanupandi <pitchumani.s@atmel.com>
  354. Soundararajan <Sounderarajan.D@atmel.com>
  355. * Makefile.am (ALL_EMULATION_SOURCES): Add avrtiny emulation source.
  356. (eavrtiny.c): Add rules for avrtiny emulation source.
  357. * Makefile.in: Regenerate.
  358. * configure.tgt: Add avrtiny to avr target emulations.
  359. * scripttempl/avrtiny.sc: New file. Linker script template for
  360. avrtiny arch.
  361. * emulparams/avrtiny.sh: New file. Emulation parameters for
  362. avrtiny arch.
  363. 2014-06-30 Ulrich Drepper <drepper@gmail.com>
  364. * lexsup.c (parse_args): Check whether provided SONAME is empty
  365. string. If yes, warn and ignore it. Don't overwrite valid SONAME
  366. with empty string.
  367. 2014-06-26 Linda Zhang <lindasc@qq.com>
  368. * emultempl/pe.em: Initialise insert_timestamp to true.
  369. Add a --no-insert-timestamp command line option.
  370. * emultempl/pep.em: Likewise.
  371. * ld.texinfo: Document that --insert-timestamp is enabled by
  372. default and that it now has an inverse command line option.
  373. * NEWS: Mention the new behaviour.
  374. 2014-06-25 Nick Clifton <nickc@redhat.com>
  375. * Makefile.am (ALL_EMULATION_SOURCES): Move ei386pep.c from
  376. here...
  377. (ALL_64_EMULATION_SOURCES): ... to here.
  378. (ALL_EMUL_EXTRA_OFILES): Move pep-dll.o from here...
  379. (ALL_64_EMUL_EXTRA_OFILES): New. ... to here.
  380. * configure.in (EMUL_EXTRA_OFILES): Include
  381. ALL_64_EMUL_EXTRA_OFILES when making a 64-bit enabled build.
  382. * Makefile.in: Regenerate.
  383. * configure: Regenerate.
  384. 2014-06-18 Andreas Tobler <andreast@fgznet.ch>
  385. * configure.tgt (arm*-*-freebsd*): Update targ_extra_emuls.
  386. (arm*b-*-freebsd*): Add target.
  387. * emulparams/armelfb_fbsd.sh: Added.
  388. * emulparams/armelf_fbsd.sh: Updated.
  389. * Makefile.am (ALL_EMULATION_SOURCES): Add earmelfb_fbsd.c.
  390. * Makefile.in: Regenerate.
  391. 2014-06-16 Alan Modra <amodra@gmail.com>
  392. * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
  393. .rel sections, and __rel_iplt from .rela sections.
  394. * scripttempl/nds32elf.sc: Likewise.
  395. * Makefile.am (ends32*.c) Depend on nds32elf.sc.
  396. * Makefile.in: Regenerate.
  397. 2014-06-13 Alan Modra <amodra@gmail.com>
  398. PR 17047
  399. * ldlang.c (output_bfd_hash_table_free_fn): Delete.
  400. (open_output): Don't set it..
  401. * ldmain.c (ld_cleanup): ..or call it.
  402. 2014-06-13 Alan Modra <amodra@gmail.com>
  403. * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
  404. * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
  405. * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
  406. * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
  407. 2014-06-13 Alan Modra <amodra@gmail.com>
  408. * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
  409. * Makefile.in: Regenerate.
  410. 2014-06-07 Alan Modra <amodra@gmail.com>
  411. * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
  412. linker script symbol value override a built-in linker symbol.
  413. 2014-06-05 Joel Brobecker <brobecker@adacore.com>
  414. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
  415. bfd's development.sh.
  416. * Makefile.in, configure: Regenerate.
  417. 2014-06-02 Alan Modra <amodra@gmail.com>
  418. * emulparams/elf32bfin.sh: Rename from bfin.sh.
  419. * emulparams/elf32bfinfd.sh: Update to suit.
  420. * emulparams/msp430.sh: Rename from msp430all.sh. Remove
  421. MSP430_NAME and msp430X vars.
  422. * emulparams/msp430X.sh: New.
  423. * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
  424. SCORE_NAME and score7_elf ARCH setting.
  425. * emulparams/score7_elf.sh: New.
  426. * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
  427. (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
  428. * Makefile.in: Regenerate.
  429. * genscripts.sh: Delete customizer_script param.
  430. 2014-05-28 Hans-Peter Nilsson <hp@axis.com>
  431. * Makefile.am: Change all rules with ${GENSCRIPTS}
  432. invocations to be just dependencies.
  433. ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
  434. (run-genscripts): New rules.
  435. * Makefile.in: Regenerate.
  436. 2014-05-27 DJ Delorie <dj@redhat.com>
  437. * ld/ldemul.h (extra_map_file_text): New field.
  438. (ldemul_extra_map_file_text): Declare.
  439. * ld/ldemul.c (ldemul_extra_map_file_text): Define.
  440. * ld/ldlang.c (lang_map): Call it.
  441. * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
  442. * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
  443. * ld/emultempl/armcoff.em: Likewise.
  444. * ld/emultempl/beos.em: Likewise.
  445. * ld/emultempl/elf32.em: Likewise.
  446. * ld/emultempl/generic.em: Likewise.
  447. * ld/emultempl/gld960.em: Likewise.
  448. * ld/emultempl/gld960c.em: Likewise.
  449. * ld/emultempl/linux.em: Likewise.
  450. * ld/emultempl/lnk960.em: Likewise.
  451. * ld/emultempl/m68kcoff.em: Likewise.
  452. * ld/emultempl/pe.em: Likewise.
  453. * ld/emultempl/pep.em: Likewise.
  454. * ld/emultempl/sunos.em: Likewise.
  455. * ld/emultempl/ticoff.em: Likewise.
  456. * ld/emultempl/vanilla.em: Likewise.
  457. 2014-05-24 Alan Modra <amodra@gmail.com>
  458. * ldlang.c (base): Move variable to..
  459. * mri.c: ..here, and make static.
  460. * ldlang.h (base): Delete declaration.
  461. 2014-05-20 Hans-Peter Nilsson <hp@axis.com>
  462. * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
  463. * Makefile.in: Regenerate.
  464. 2014-05-20 Alan Modra <amodra@gmail.com>
  465. PR 16952
  466. * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
  467. * emultempl/ppc32elf.em (ppc_before_allocation): Call
  468. ppc_elf_maybe_strip_sdata_syms.
  469. * ldlang.c (size_input_section): Correct output_offset value
  470. for excluded input sections.
  471. 2014-05-16 John Marino <binutils@marino.st>
  472. * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
  473. 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
  474. * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
  475. and gp in PROVIDE_HIDDEN.
  476. 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
  477. * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
  478. (output_bfd_hash_table_free_fn): New variable.
  479. (open_output): Save the _bfd_link_hash_table_free function for the
  480. output_bfd into output_bfd_hash_table_free_fn.
  481. * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
  482. on link_info.hash.
  483. * ldlang.h (output_bfd_hash_table_free_fn): Declare.
  484. 2014-05-02 Alan Modra <amodra@gmail.com>
  485. * emultempl/metagelf.em: Update bfd target vector naming.
  486. * emultempl/nios2elf.em: Likewise.
  487. * emultempl/spuelf.em: Likewise.
  488. * emultempl/tic6xdsbt.em: Likewise.
  489. 2014-04-22 Christian Svensson <blue@cmd.nu>
  490. * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
  491. * configure.tgt: Likewise.
  492. * emulparams/elf32or1k.sh: New file.
  493. * emulparams/elf32or1k_linux.sh: New file.
  494. * emulparams/elf32openrisc.sh: Delete.
  495. * emulparams/or32.sh: Delete.
  496. * emulparams/or32elf.sh: Delete.
  497. * scripttempl/or32.sc: Delete.
  498. * Makefile.in: Regenerate.
  499. 2014-04-21 Richard Henderson <rth@redhat.com>
  500. * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
  501. 2014-04-16 Steve Ellcey <sellcey@mips.com>
  502. * emultempl/elf32.em: Include safe-ctype.h.
  503. 2014-04-16 Steve Ellcey <sellcey@mips.com>
  504. * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
  505. 2014-04-09 Nick Clifton <nickc@redhat.com>
  506. * Makefile.am (default-manifest.o): Remove rule.
  507. (EMUL_EXTRA_BINARIES): Delete.
  508. (ALL_EMUL_EXTRA_BINARIES): Delete.
  509. (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
  510. (install-data-local): Remove EMUL_EXTRA_BINARIES.
  511. * Makefile.in: Regenerate.
  512. * configure.in (all_emul_extra_binaries): Delete.
  513. (EMUL_EXTRA_BINARIES): Remove.
  514. * configure: Regenerate.
  515. * configure.tgt (target_extra_binaries): Delete.
  516. * emultempl/default-manifest.rc: Delete.
  517. * ld.texinfo: Remove discussion of default manifest.
  518. * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
  519. * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
  520. 2014-04-09 Alan Modra <amodra@gmail.com>
  521. * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
  522. * emultempl/nds32elf.em: Include bfd_stdint.h.
  523. * po/POTFILES.in: Regenerate.
  524. 2014-04-09 Alan Modra <amodra@gmail.com>
  525. * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
  526. (LDEMUL_FINISH): Define.
  527. 2014-04-08 Nick Clifton <nickc@redhat.com>
  528. * scripttempl/pe.sc (R_RSRC): Remove default manifest.
  529. * scripttempl/pep.sc (R_RSRC): Remove default manifest.
  530. 2014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
  531. * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
  532. Move code for parsing build-id option and calculating the build-id to...
  533. * ldbuildid.c: New file.
  534. * ldbuildid.h: New file.
  535. * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
  536. files.
  537. * Makefile.in: Regenerate.
  538. * ld.texinfo: Update --build-id description to mention COFF
  539. support.
  540. * NEWS: Mention support for COFF build ids.
  541. * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
  542. (pecoff_checksum_contents, write_build_id, setup_build_id)
  543. (gld_${EMULATION_NAME}_after_open): Handle and implement
  544. build-id option.
  545. * emultempl/pep.em: Likewise.
  546. 2014-04-04 Cary Coutant <ccoutant@google.com>
  547. PR gold/16804
  548. * ld.texinfo: Document optional comma following output section
  549. command and overlay command.
  550. 2014-04-04 Alan Modra <amodra@gmail.com>
  551. * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
  552. current "fill", not "output_section_statement->fill".
  553. 2014-03-31 Nick Clifton <nickc@redhat.com>
  554. PR ld/16744
  555. * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
  556. section when performing a relocatable link with -z [no]execstack
  557. specified.
  558. 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
  559. PR ld/16756
  560. * ldmain.c (symbol_warning): New function.
  561. (warning_callback): Use it. Scan all input files for a reference
  562. to SYMBOL.
  563. 2014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
  564. * ld.texinfo: Document change in handling of --enable-auto-image-base.
  565. * emultempl/pe.em (pe_auto_image_base): Set to default base.
  566. (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
  567. optional --enable-auto-image-base argument.
  568. (gld${EMULATION_NAME}_handle_option): Handle optional
  569. --enable-auto-image-base argument.
  570. (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
  571. 2014-03-19 Nick Clifton <nickc@redhat.com>
  572. * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
  573. * Makefile.in: Regenerate.
  574. * emultempl/default-manifest.rc: Fix typo.
  575. * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
  576. (.rsrc): Add SUBALIGN(4). Remove SORT.
  577. * scripttempl/pep.sc: Likewise.
  578. 2014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
  579. * Makefile.am: Use host version of windres.
  580. * Makefile.in: Regenerate.
  581. 2014-03-14 Romain Geissler <romain.geissler@amadeus.com>
  582. Alan Modra <amodra@gmail.com>
  583. * ldlang.h (full_name_provided): New input flag.
  584. * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
  585. for -l:namespec. Instead use lang_input_file_is_l_enum with
  586. full_name_provided flag.
  587. * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
  588. full_name_provided flag is set.
  589. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  590. Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
  591. support. Set DT_NEEDED for -l:namespec as namespec.
  592. * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
  593. * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
  594. Don't handle full_name_provided libraries.
  595. * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
  596. * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
  597. * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
  598. 2014-03-12 Alan Modra <amodra@gmail.com>
  599. * Makefile.in: Regenerate.
  600. 2014-03-05 Alan Modra <amodra@gmail.com>
  601. Update copyright years.
  602. 2014-03-04 Nick Clifton <nickc@redhat.com>
  603. * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
  604. * Makefile.in: Regenerate.
  605. 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
  606. * emultempl/armelf.em (OPTION_LONG_PLT): Define.
  607. (PARSE_AND_LIST_LONGOPTS): Add long-plt.
  608. (PARSE_AND_LIST_OPTIONS): Likewise.
  609. (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
  610. * ld.texinfo: Document --long-plt.
  611. 2014-02-27 Alan Modra <amodra@gmail.com>
  612. * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
  613. use ppc32elf.em.
  614. * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
  615. vxworks.
  616. (LDEMUL_AFTER_OPEN): Don't set for vxworks.
  617. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
  618. -secure-plt, -bss-plt and -sdata-got when vxworks.
  619. 2014-02-27 Nick Clifton <nickc@redhat.com>
  620. * configure.in (all_emul_extra_binaries): New variable. Populated
  621. by invoking configure.tgt.
  622. (EMUL_EXTRA_BINARIES): New substitution.
  623. * configure: Regenerate.
  624. * configure.tgt (target_extra_binaries): New variable. Set to
  625. default-manifest.o for Cygwin and MinGW targets.
  626. * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
  627. by the configure script.
  628. (ALL_EMUL_EXTRA_BINARIES): New variable.
  629. (default-manifest.o): New rule to build the default manifest.
  630. (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
  631. (install-data-local): Add EMUL_EXTRA_BINARIES.
  632. * Makefile.in: Regenerate.
  633. * ld.texinfo: Document default manifest support.
  634. * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
  635. * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
  636. * emultempl/default-manifest.rc: New file.
  637. * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
  638. * scripttempl/pep.sc (R_RSRC): Likewise.
  639. 2014-02-26 Dan Mick <dan.mick@inktank.com>
  640. PR ld/16569
  641. * ldcref.c (cref_sort_array): Compare unmangled names unless
  642. demanglng has been requiested.
  643. (output_one_cref): Output unmangled name unless demangling has
  644. been requested.
  645. 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
  646. H.J. Lu <hongjiu.lu@intel.com>
  647. * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
  648. 2014-02-19 Alan Modra <amodra@gmail.com>
  649. * emultempl/ppc64elf.em (params): Init new field.
  650. (ppc_create_output_section_statements): Set params.save_restore_funcs
  651. default.
  652. (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
  653. --no-save-restore-funcs.
  654. 2014-02-17 Alan Modra <amodra@gmail.com>
  655. * emultemps/ppc64elf.em (params): New static struct replacing
  656. various other static vars. Adjust code throughout file.
  657. 2014-02-17 Alan Modra <amodra@gmail.com>
  658. * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
  659. ppc476 workaround for ld -r.
  660. 2014-02-12 Alan Modra <amodra@gmail.com>
  661. * emultempl/ppc32elf.em (pagesize): New static var.
  662. (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
  663. (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
  664. 2014-02-11 Andrew Pinski <apinski@cavium.com>
  665. * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
  666. (ELF_INTERPRETER_NAME): Define.
  667. * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
  668. 2014-02-10 Alan Modra <amodra@gmail.com>
  669. * po/ld.pot: Regenerate.
  670. 2014-02-03 Alan Modra <amodra@gmail.com>
  671. * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
  672. plt_style): Delete. Adjust all refs to instead use..
  673. (params): ..this. New variable.
  674. (ppc_after_open_output): New function. Tweak params and pass to
  675. ppc_elf_link_params.
  676. (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
  677. (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
  678. relaxation for ppc476 workaround.
  679. (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
  680. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
  681. 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
  682. * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
  683. * ld/ldlang.c (lang_size_sections_1): Add dotdelta
  684. variable which reflects the VMA change due to alignment
  685. requirements. Use dotdelta do change the LMA if
  686. ALIGN_WITH_INPUT is requested.
  687. 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
  688. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
  689. call to bfd_set_section_vma exposed by recent bfd_set_section_vma
  690. change.
  691. 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
  692. * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
  693. * Makefile.in: Regenerated.
  694. * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
  695. * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
  696. * emultempl/nios2elf.em: New file.
  697. * gen-doc.texi (NIOSII): Set.
  698. * ld.texinfo (NIOSII): Set.
  699. 2014-01-28 Nick Clifton <nickc@redhat.com>
  700. * Makefile.am: Remove obsolete MSP430 emulations.
  701. * configure.tgt: Likewise.
  702. * emulparams/msp430all.sh: Likewise.
  703. * Makefile.in: Regenerate.
  704. 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
  705. PR ld/16498
  706. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
  707. orphaned TLS section handling.
  708. 2014-01-24 Alan Modra <amodra@gmail.com>
  709. * ldlang.c (lang_output_section_find_by_flags): Be careful to
  710. test look->bfd_section->flags if available rather than
  711. look->flags. Separate SEC_THREAD_LOCAL handling from
  712. SEC_READONLY loop, and rewrite.
  713. 2014-01-22 Alan Modra <amodra@gmail.com>
  714. * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
  715. (lang_init): Initialise them.
  716. (lang_print_asneeded): New function.
  717. (lang_process): Call lang_print_asneeded.
  718. * ldlang.h (struct asneeded_minfo): New.
  719. (asneeded_list_tail): Declare.
  720. * ldmain.c (add_archive_element): Improve archive map heading.
  721. * ldmisc.c (minfo): Stash --as-needed info.
  722. 2014-01-22 Alan Modra <amodra@gmail.com>
  723. * ld.h (struct map_symbol_def): Move to..
  724. * ldlang.h: ..here.
  725. * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
  726. 2014-01-22 Alan Modra <amodra@gmail.com>
  727. * ld.texinfo (Output Section Discarding): Mention assigning to dot
  728. as a way of keeping otherwise empty sections.
  729. * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
  730. is_dot_plus_0, is_align_conditional): New predicates.
  731. (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
  732. output section, except for some special cases.
  733. * scripttempl/elfmicroblaze.sc: Use canonical form to align at
  734. end of .heap and .stack.
  735. 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
  736. * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
  737. 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
  738. * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
  739. 2014-01-20 Alan Modra <amodra@gmail.com>
  740. * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
  741. by_script. Make iteration a single bit field.
  742. (lang_track_definedness, lang_symbol_definition_iteration): Delete.
  743. (lang_symbol_defined): Declare.
  744. * ldlang.c (lang_statement_iteration): Expand comment a little.
  745. (lang_init <lang_definedness_table>): Make it bigger.
  746. (lang_track_definedness, lang_symbol_definition): Delete.
  747. (lang_definedness_newfunc): Update.
  748. (lang_symbol_defined): New function.
  749. (lang_update_definedness): Create entries here. Do track whether
  750. script definition of symbol is valid, even when also defined in
  751. an object file.
  752. * ldexp.c (fold_name <DEFINED>): Update.
  753. (fold_name <NAME>): Allow self-assignment for absolute symbols
  754. defined in a linker script.
  755. 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
  756. Alan Modra <amodra@gmail.com>
  757. * ldlang.h (lang_output_section_get): Define.
  758. * ldlang.c (lang_output_section_get): Likewise.
  759. (init_os): Set the output_section userdata to the output
  760. section statement.
  761. * emultempl/hppaelf.em: Use lang_output_section_get instead of
  762. lang_output_section_find where applicable.
  763. * emultempl/aarch64elf.em: Likewise.
  764. * emultempl/aix.em: Likewise.
  765. * emultempl/armelf.em: Likewise.
  766. * emultempl/m68hc1xelf.em: Likewise.
  767. * emultempl/metagelf.em: Likewise.
  768. * emultempl/mipself.em: Likewise.
  769. * emultempl/ppc64elf.em: Likewise.
  770. * emultempl/spuelf.em: Likewise.
  771. 2014-01-17 Alan Modra <amodra@gmail.com>
  772. * genscripts.sh (COMPILE_IN): Don't set if already set.
  773. * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
  774. COMPILE_IN=no.
  775. * emulparams/nds32elf16m.sh: Likewise.
  776. * emulparams/nds32elf_linux.sh: Likewise.
  777. * emultempl/aix.em: Test COMPILE_IN value is "yes".
  778. * emultempl/armcoff.em: Likewise.
  779. * emultempl/elf32.em: Likewise.
  780. * emultempl/generic.em: Likewise.
  781. * emultempl/gld960.em: Likewise.
  782. * emultempl/gld960c.em: Likewise.
  783. * emultempl/linux.em: Likewise.
  784. * emultempl/lnk960.em: Likewise.
  785. * emultempl/m68kcoff.em: Likewise.
  786. * emultempl/sunos.em: Likewise.
  787. * emultempl/ticoff.em: Likewise.
  788. 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
  789. PR ld/16456
  790. * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
  791. suffix.
  792. * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
  793. for elf32_x86_64 emulation.
  794. * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
  795. for elf_i386 emulation.
  796. 2014-01-16 Alan Modra <amodra@gmail.com>
  797. * ld.h (fat_section_userdata_type, get_userdata): Move to..
  798. * ldlang.h (input_section_userdata_type, get_userdata): ..here.
  799. * ldlang.c (init_map_userdata): Delete. Fold into..
  800. (sort_def_symbol): ..here. Don't attach input section userdata
  801. to output sections or global bfd sections.
  802. (lang_map): Don't pre-allocate input section userdata.
  803. (init_os): Don't allocate userdata for output sections.
  804. (print_all_symbols): Update.
  805. 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
  806. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  807. Silence uninitialized warning on ehdr_start_save with older
  808. GCC.
  809. 2014-01-15 Alan Modra <amodra@gmail.com>
  810. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
  811. __ehdr_start before size_dynamic_sections and restore afterwards.
  812. 2014-01-10 Alan Modra <amodra@gmail.com>
  813. PR ld/14207
  814. PR ld/16322
  815. PR binutils/16323
  816. * ldlang.c (lang_size_sections): Remove unneeded RELRO base
  817. adjust. Tidy comments.
  818. * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
  819. 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
  820. * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
  821. 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
  822. PR ld/14207
  823. PR ld/16322
  824. PR binutils/16323
  825. * ldlang.c (lang_size_sections): Properly align RELRO base.
  826. 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
  827. * ldver.c (ldversion): Update copyright year to 2014.
  828. For older changes see ChangeLog-2013
  829. Copyright (C) 2014 Free Software Foundation, Inc.
  830. Copying and distribution of this file, with or without modification,
  831. are permitted in any medium without royalty provided the copyright
  832. notice and this notice are preserved.
  833. Local Variables:
  834. mode: change-log
  835. left-margin: 8
  836. fill-column: 74
  837. version-control: never
  838. End: