ChangeLog-2013 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883
  1. 2013-12-20 H.J. Lu <hongjiu.lu@intel.com>
  2. * emulparams/elf_k1om.sh (IREL_IN_PLT): Define.
  3. * emulparams/elf_l1om.sh (IREL_IN_PLT): Likewise.
  4. 2013-12-13 Kuan-Lin Chen <kuanlinchentw@gmail.com>
  5. Wei-Cheng Wang <cole945@gmail.com>
  6. Hui-Wen Ni <sabrinanitw@gmail.com>
  7. * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target.
  8. * Makefile.in: Regenerate.
  9. * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*,
  10. nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*.
  11. * emulparams/nds32belf.sh: New file for nds32.
  12. * emulparams/nds32belf_linux.sh: Likewise.
  13. * emulparams/nds32belf16m.sh: Likewise.
  14. * emulparams/nds32elf.sh: Likewise.
  15. * emulparams/nds32elf_linux.sh: Likewise.
  16. * emulparams/nds32elf16m.sh: Likewise.
  17. * emultempl/nds32elf.em: Likewise.
  18. * scripttempl/nds32elf.sc}: Likewise.
  19. * gen-doc.texi: Set NDS32.
  20. * ld.texinfo: Set NDS32.
  21. * NEWS: Announce Andes nds32 support.
  22. 2013-12-11 H.J. Lu <hongjiu.lu@intel.com>
  23. * ld.texinfo: Remove shared object from -Ttext-segment.
  24. 2013-12-10 Roland McGrath <mcgrathr@google.com>
  25. * Makefile.am (install-exec-local): Prefix libtool invocation with
  26. $(INSTALL_PROGRAM_ENV).
  27. * Makefile.in: Regenerate.
  28. 2013-12-07 Mike Frysinger <vapier@gentoo.org>
  29. * ChangeLog-2008: Remove +x file mode.
  30. * emulparams/bfin.sh: Likewise.
  31. * emulparams/elf32bmipn32.sh: Likewise.
  32. * emulparams/elf32fr30.sh: Likewise.
  33. * emulparams/elf32frv.sh: Likewise.
  34. * emulparams/elf32iq10.sh: Likewise.
  35. * emulparams/elf32iq2000.sh: Likewise.
  36. * emulparams/elf32mep.sh: Likewise.
  37. * emulparams/elf32openrisc.sh: Likewise.
  38. * emulparams/elf64bmip.sh: Likewise.
  39. * emulparams/elf64hppa.sh: Likewise.
  40. * emulparams/i386beos.sh: Likewise.
  41. 2013-11-26 H.J. Lu <hongjiu.lu@intel.com>
  42. PR ld/16259
  43. * Makefile.am (HOSTING_SLIBS): New.
  44. * configure.host (HOSTING_SLIBS): New. Used for PIE.
  45. * configure.in (HOSTING_SLIBS): New AC_SUBST.
  46. * Makefile.in: Regenerated.
  47. * configure: Likewise.
  48. 2013-11-22 Cory Fields <cory@coryfields.com>
  49. * pe-dll.c (fill_edata): Only use a real timestamp if
  50. --insert-timestamp was used.
  51. * emultempl/pe.em: Add the --insert-timestamp option.
  52. * emultempl/pep.em: Likewise for 64bit.
  53. * ld.texinfo: Document the --insert-timestamp option.
  54. 2013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  55. * scripttempl/avr.sc: Set .data section's LMA to next available
  56. address in text region.
  57. 2013-11-21 Andrew Pinski <apinski@cavium.com>
  58. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
  59. and eaarch64linux32b.c
  60. (eaarch64linux32.c): New target.
  61. (eaarch64linux32b.c): Likewise.
  62. * Makefile.in: Regenerate.
  63. * configure.tgt (aarch64_be-*-linux*): Add
  64. aarch64linux32 and aarch64linux32b to targ_extra_libpath.
  65. (aarch64-*-linux*): Likewise.
  66. * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
  67. * emulparams/aarch64linux32.sh: New file.
  68. * emulparams/aarch64linux32b.sh: New file.
  69. 2013-11-21 Andrew Pinski <apinski@cavium.com>
  70. * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
  71. into targ_extra_libpath.
  72. (aarch64-*-linux*): Likewise.
  73. 2013-11-21 Nick Clifton <nickc@redhat.com>
  74. PR ld/16192
  75. * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
  76. newly allocated idata5 block.
  77. 2013-11-20 Nick Clifton <nickc@redhat.com>
  78. * scripttempl/elf32msp430.sc (.data): Set the based on the next
  79. free location in the text memory region, not a computation based
  80. upon the size of the text section. Orphaned sections or other
  81. linker scripts might insert new sections between the .text section
  82. and the .data section.
  83. * scripttempl/elf32msp430_3.sc (.data): Likewise.
  84. 2013-11-19 Roland McGrath <mcgrathr@google.com>
  85. Alan Modra <amodra@gmail.com>
  86. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  87. Don't use bfd_elf_record_link_assignment to mark __ehdr_start
  88. hidden. Instead, just do it directly here, and only if it was
  89. referenced but not defined.
  90. 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
  91. * emulparams/nios2linux.sh: New emulation file.
  92. * configure.tgt: Add nios2*-*-linux* emulation case.
  93. * Makefile.am (enios2linux.c): New emulation entry.
  94. * Makefile.in: Regenerate.
  95. 2013-10-14 Nick Clifton <nickc@redhat.com>
  96. * emultempl/aix.em (_read_file): Close file at end of function.
  97. 2013-10-10 Roland McGrath <mcgrathr@google.com>
  98. * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
  99. It silences some compilers' warnings and is much less bizarre to read.
  100. 2013-10-09 Roland McGrath <mcgrathr@google.com>
  101. * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
  102. rather than a dummy assignment for unused parameter.
  103. * plugin.c (get_input_file, release_input_file): Likewise.
  104. 2013-10-09 Nick Clifton <nickc@redhat.com>
  105. PR ld/16028
  106. * ldmain.c (add_keepsyms_file): Close file at end of function.
  107. 2013-10-03 Will Newton <will.newton@linaro.org>
  108. * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
  109. * emulparams/aarch64elf32.sh: Likewise.
  110. 2013-09-30 Nick Clifton <nickc@redhat.com>
  111. * emulparams/msp430all.sh: Update ARCH names.
  112. 2013-09-24 Alan Modra <amodra@gmail.com>
  113. * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
  114. and cross-endian values.
  115. * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
  116. and unset unwanted variables.
  117. 2013-09-24 Alan Modra <amodra@gmail.com>
  118. * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
  119. sysrooted. Also, don't always add tooldir when non-sysrooted.
  120. Instead add both when native and tooldir also when TOOL_DIR is
  121. defined. Always prepend '=' to paths when sysrooted. Always
  122. put paths with LIBPATH_SUFFIX first in search order.
  123. 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
  124. * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
  125. * Makefile.in: Regenerate.
  126. 2013-09-20 Alan Modra <amodra@gmail.com>
  127. * configure: Regenerate.
  128. 2013-09-18 Tristan Gingold <gingold@adacore.com>
  129. * NEWS: Add marker for 2.24.
  130. 2013-09-17 Nick Clifton <nickc@redhat.com>
  131. PR ld/15957
  132. * deffilep.y (def_file_add_directive): Avoid readin past end of
  133. buffer.
  134. 2013-08-28 Nick Clifton <nickc@redhat.com>
  135. PR ld/15896
  136. * ld.texinfo: Fix uses of MB abbreviation.
  137. 2013-08-26 Roland McGrath <mcgrathr@google.com>
  138. * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
  139. * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
  140. * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
  141. 2013-08-23 Roland McGrath <mcgrathr@google.com>
  142. * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
  143. SIZEOF_HEADERS here; elf.sc does it already.
  144. 2013-08-23 Nick Clifton <nickc@redhat.com>
  145. PR ld/15839
  146. * scripttempl/avr.sc: Do not include gc'able sections into general
  147. sections during relocatable links.
  148. 2013-08-22 Christian Franke <franke@computer.org>
  149. * emultempl/pe.em: Add --disable-large-address-aware option.
  150. * ld.texinfo (--disable-large-address-aware): Add documentation.
  151. 2013-08-14 Clemens Lang <clemens.lang@fau.de>
  152. * ldexp.c: Add LOG2CEIL() builtin function to linker script language
  153. * ldgram.y: Likewise
  154. * ldlex.l: Likewise
  155. * NEWS: Mention the new feature.
  156. * ld.texinfo: Document the new feature.
  157. 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
  158. * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
  159. * ldlang.c: Likewise.
  160. * ldlang.h: Likewise.
  161. * ldlex.l: Likewise.
  162. * mri.c: Likewise.
  163. * ld.texinfo: Document new feature.
  164. * NEWS: Mention new feature.
  165. 2013-07-18 Roland McGrath <mcgrathr@google.com>
  166. * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
  167. argument ALIGNMENT_POWER, use it instead of constant 3.
  168. 2013-07-08 Jeff Law <law@redhat.com>
  169. * scripttempl/elf.sc: Handle function names and other text after
  170. .text.unlikely too.
  171. 2013-07-08 Tristan Gingold <gingold@adacore.com>
  172. * scripttempl/ia64vms.sc: Add support of per data and per function
  173. sections.
  174. 2013-07-01 Alan Modra <amodra@gmail.com>
  175. * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
  176. ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
  177. (gld${EMULATION_NAME}_after_allocation): Likewise.
  178. 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
  179. * emulparams/aarch64elf32.sh: New file.
  180. 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
  181. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
  182. (eaarch64elf32b.c): New dependency and rule.
  183. * Makefile.in: Re-generated.
  184. * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
  185. (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
  186. * emulparams/aarch64elf32b.sh: New file.
  187. 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
  188. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
  189. (eaarch64elf32.c): New dependency and rule.
  190. * Makefile.in: Re-generated.
  191. * configure.tgt (aarch64-*-elf): Add aarch64elf32.
  192. (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
  193. * emulparams/aarch64elf32.sh: New file.
  194. 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
  195. * emultempl/mipself.em (insn32): New variable.
  196. (mips_create_output_section_statements): Handle insn32 mode.
  197. (PARSE_AND_LIST_PROLOGUE): New macro.
  198. (PARSE_AND_LIST_LONGOPTS): Likewise.
  199. (PARSE_AND_LIST_OPTIONS): Likewise.
  200. * gen-doc.texi: Set MIPS.
  201. * ld.texinfo: Likewise.
  202. (Options specific to MIPS targets): New section.
  203. (ld and MIPS family): New node.
  204. (Top, Machine Dependent): List the new node.
  205. 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
  206. * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
  207. as close to .plt as possible.
  208. * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
  209. $PLT_NEXT_DATA variables.
  210. 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
  211. * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
  212. (ALL_64_EMULATION_SOURCES): ...here.
  213. * Makefile.in: Regenerate.
  214. 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
  215. * NEWS: Document the removal of MIPS ECOFF targets.
  216. * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
  217. MIPS ECOFF as an example of a target that supports small data.
  218. * ldmain.c (g_switch_value): Likewise.
  219. * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
  220. (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
  221. (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
  222. * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
  223. emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
  224. (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
  225. (emipslnews.c, emipspe.c): Delete rules.
  226. * Makefile.in: Regenerate.
  227. * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
  228. emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
  229. emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
  230. * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
  231. has now been removed.
  232. * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
  233. 2013-06-19 Will Newton <will.newton@linaro.org>
  234. * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
  235. 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
  236. * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
  237. 2013-06-12 Nick Clifton <nickc@redhat.com>
  238. * ldcref.c (output_one_cref): Place common definitions after
  239. ordinary definitions but before references.
  240. 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
  241. PR ld/15598
  242. * ld.texinfo (Source Code Reference): Fix typos.
  243. 2013-06-07 Will Newton <will.newton@linaro.org>
  244. * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
  245. 2013-06-07 Nick Clifton <nickc@redhat.com>
  246. * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
  247. option must appear before the SEGMENT_START is encountered in
  248. order for the default value to be overridden.
  249. 2013-05-03 Alan Modra <amodra@gmail.com>
  250. PR ld/15365
  251. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  252. Restrict __ehdr_start's export class to no less than STV_HIDDEN.
  253. 2013-05-03 Alan Modra <amodra@gmail.com>
  254. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  255. Only call lang_for_each_statement if an ELF hash table is used.
  256. 2013-05-02 Nick Clifton <nickc@redhat.com>
  257. * Makefile.am: Add emsp430X.c
  258. * Makefine.in: Regenerate.
  259. * configure.tgt (msp430): Add msp430X emulation.
  260. * ldmain.c (multiple_definition): Only disable relaxation if it
  261. was enabled by the user.
  262. * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
  263. * emulparams/msp430all.sh: Add support for MSP430X.
  264. * emultempl/generic.em: (before_parse): Enable relaxation for the
  265. MSP430.
  266. * scripttempl/msp430.sc: Reorganize sections. Add .rodata
  267. section.
  268. * scripttempl/msp430_3.sc: Likewise.
  269. * NEWS: Mention support for MSP430X.
  270. 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
  271. * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
  272. alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
  273. from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
  274. 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
  275. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  276. Use is_elf_hash_table rather than a handcoded condition.
  277. 2013-04-30 Nick Clifton <nickc@redhat.com>
  278. * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
  279. are sorted by descending order of alignment.
  280. 2013-04-29 Nick Clifton <nickc@redhat.com>
  281. * scripttempl/DWARF.sc: Add support for .debug_line.* and
  282. .debug_line_end.
  283. 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
  284. * emultempl/pe.em [cygwin]: Do not merge rdata with v2
  285. psuedo-relocs.
  286. 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
  287. * scripttempl/armbpabi.sc: Replace "source" usage with ".".
  288. * scripttempl/avr.sc: Likewise.
  289. * scripttempl/elf.sc: Likewise.
  290. * scripttempl/elf32cr16.sc: Likewise.
  291. * scripttempl/elf32crx.sc: Likewise.
  292. * scripttempl/elf32msp430.sc: Likewise.
  293. * scripttempl/elf32msp430_3.sc: Likewise.
  294. * scripttempl/elf32sh-symbian.sc: Likewise.
  295. * scripttempl/elf64hppa.sc: Likewise.
  296. * scripttempl/elf_chaos.sc: Likewise.
  297. * scripttempl/elfd10v.sc: Likewise.
  298. * scripttempl/elfd30v.sc: Likewise.
  299. * scripttempl/elfi370.sc: Likewise.
  300. * scripttempl/elfm68hc11.sc: Likewise.
  301. * scripttempl/elfm68hc12.sc: Likewise.
  302. * scripttempl/elfxgate.sc: Likewise.
  303. * scripttempl/elfxtensa.sc: Likewise.
  304. * scripttempl/epiphany_4x4.sc: Likewise.
  305. * scripttempl/i386beos.sc: Likewise.
  306. * scripttempl/i386go32.sc: Likewise.
  307. * scripttempl/ia64vms.sc: Likewise.
  308. * scripttempl/ip2k.sc: Likewise.
  309. * scripttempl/iq2000.sc: Likewise.
  310. * scripttempl/mep.sc: Likewise.
  311. * scripttempl/mmo.sc: Likewise.
  312. * scripttempl/v850.sc: Likewise.
  313. * scripttempl/v850_rh850.sc: Likewise.
  314. * scripttempl/xstormy16.sc: Likewise.
  315. 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  316. * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
  317. 2013-04-26 Alan Modra <amodra@gmail.com>
  318. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
  319. unresolved_syms_in_shared_libs rather than !executable to
  320. determine whether to load DT_NEEDED libraries.
  321. 2013-04-25 Alan Modra <amodra@gmail.com>
  322. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
  323. (eelf32lppclinux.c): New rule.
  324. * Makefile.in: Regenerate.
  325. * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
  326. with corresponding little-endian targets.
  327. * emulparams/elf32lppc.sh: Update comment.
  328. * emulparams/elf32lppclinux.sh: New.
  329. 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
  330. * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
  331. x86_64-*-elf*.
  332. (targ_extra_libpath): Likewise.
  333. (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
  334. 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
  335. * emulparams/aarch64elf.sh: Define ELFSIZE=64.
  336. * emulparams/aarch64linux.sh: Ditto.
  337. * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
  338. Replace elf64 with elf${ELFSIZE}.
  339. (elf64_aarch64_add_stub_section): Likewise.
  340. (build_section_lists): Likewise.
  341. (gld${EMULATION_NAME}_after_allocation): Likewise.
  342. (gld${EMULATION_NAME}_finish): Likewise.
  343. (aarch64_elf_create_output_section_statements): Likewise.
  344. 2013-04-24 Nick Clifton <nickc@redhat.com>
  345. PR ld/15389
  346. * scripttempl/avr.sc: Add .note.gnu.build-id section.
  347. 2013-04-22 Alan Modra <amodra@gmail.com>
  348. * emultempl/ppc64elf.em (ppc_create_output_section_statements):
  349. Check return from ppc64_elf_init_stub_bfd.
  350. 2013-04-15 Nick Clifton <nickc@redhat.com>
  351. * Makefile.am (ELF_DEPS): Add a dependency upon
  352. scripttempl/DWARF.sc.
  353. (ELF_GEN_DEPS): Likewise.
  354. (emmo.c): Likewise.
  355. * Makefile.in: Regenerate.
  356. * scripttempl/armbpabi.sc: Replace DWARF sections with an
  357. inclusion of DWARF.sc.
  358. * scripttempl/avr.sc: Likewise.
  359. * scripttempl/elf.sc: Likewise.
  360. * scripttempl/elf32cr16.sc: Likewise.
  361. * scripttempl/elf32crx.sc: Likewise.
  362. * scripttempl/elf32msp430.sc: Likewise.
  363. * scripttempl/elf32msp430_3.sc: Likewise.
  364. * scripttempl/elf32sh-symbian.sc: Likewise.
  365. * scripttempl/elf64hppa.sc: Likewise.
  366. * scripttempl/elf_chaos.sc: Likewise.
  367. * scripttempl/elfd10v.sc: Likewise.
  368. * scripttempl/elfd30v.sc: Likewise.
  369. * scripttempl/elfi370.sc: Likewise.
  370. * scripttempl/elfm68hc11.sc: Likewise.
  371. * scripttempl/elfm68hc12.sc: Likewise.
  372. * scripttempl/elfxgate.sc: Likewise.
  373. * scripttempl/elfxtensa.sc: Likewise.
  374. * scripttempl/epiphany_4x4.sc: Likewise.
  375. * scripttempl/i386beos.sc: Likewise.
  376. * scripttempl/i386go32.sc: Likewise.
  377. * scripttempl/ia64vms.sc: Likewise.
  378. * scripttempl/ip2k.sc: Likewise.
  379. * scripttempl/iq2000.sc: Likewise.
  380. * scripttempl/mep.sc: Likewise.
  381. * scripttempl/mmo.sc: Likewise.
  382. * scripttempl/v850.sc: Likewise.
  383. * scripttempl/v850_rh850.sc: Likewise.
  384. * scripttempl/xstormy16.sc: Likewise.
  385. * scripttempl/DWARF.sc: New.
  386. 2013-04-04 Alan Modra <amodra@gmail.com>
  387. * ldlang.c (load_symbols): Report "error adding symbols" on
  388. bfd_link_add_symbols failure.
  389. * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
  390. * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
  391. (gld${EMULATION_NAME}_try_needed): Likewise.
  392. 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
  393. PR ld/13812
  394. * scripttempl/avr.sc: Place trampolines before .progmem section.
  395. 2013-03-25 Kai Tietz <ktietz@redhat.com>
  396. * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
  397. 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
  398. * ld.texinfo (H8/300): Add description of relaxation of
  399. mov @(disp:32,ERx) to mov @(disp:16,ERx).
  400. 2013-03-21 Kai Tietz <ktietz@redhat.com>
  401. * pe-dll.c (process_def_file_and_drectve): Don't handle VC
  402. generated C++-symbols as stdcall/fastcall.
  403. 2013-03-18 Alan Modra <amodra@gmail.com>
  404. * ld.texinfo (--as-needed): Update.
  405. 2013-03-14 Jakub Jelinek <jakub@redhat.com>
  406. * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
  407. aarch64linux* emulations.
  408. 2013-03-07 Alan Modra <amodra@gmail.com>
  409. * ldfile.c (ldfile_open_command_file_1): Return after einfo
  410. to avoid warning.
  411. 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
  412. * configure.host: Add x86_64-*-cygwin* as valid host.
  413. * configure.tgt: Add x86_64-*-cygwin* as valid target.
  414. * emultempl/pep.em: Handle different requirements for Cygwin in terms
  415. of start addresses for executables and DLLs, based on memory model in
  416. http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
  417. 2013-03-05 Alan Modra <amodra@gmail.com>
  418. PR ld/15222
  419. * ldlang.c (lang_size_sections_1): When given an lma_region align
  420. LMA as per VMA only if lma_region is the same as region.
  421. 2013-02-27 Nick Clifton <nickc@redhat.com>
  422. * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
  423. Add alignment of .bss section.
  424. * scripttempl/elf32msp430_3.sc: Likewise.
  425. 2013-02-26 Nick Clifton <nickc@redhat.com>
  426. PR ld/15188
  427. * ld.texinfo: Fix typos.
  428. 2013-02-21 Alan Modra <amodra@gmail.com>
  429. * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
  430. .init_array/.fini_array input sections before .ctors/.dtors input
  431. sections.
  432. (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
  433. 2013-02-21 Alan Modra <amodra@gmail.com>
  434. * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
  435. for elf_tdata changes.
  436. 2013-02-21 Alan Modra <amodra@gmail.com>
  437. * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
  438. accessor macros.
  439. 2013-02-20 Alan Modra <amodra@gmail.com>
  440. * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
  441. * Makefile.in: Regenerate.
  442. 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
  443. PR ld/15146
  444. * plugin.c (plugin_notice): Add null check before dereferencing
  445. pointer.
  446. 2013-02-19 Alan Modra <amodra@gmail.com>
  447. * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
  448. Replace all info->emit_note_gnu_build_id refs.
  449. (id_note_section_size): Rename from
  450. gld${EMULATION_NAME}_id_note_section_size.
  451. (struct build_id_info): Delete.
  452. (write_build_id): Rename from
  453. gld${EMULATION_NAME}_write_build_id_section.
  454. Update elf_tdata usage. Style, formatting.
  455. (setup_build_id): New function.
  456. (gld${EMULATION_NAME}_after_open): Use setup_build_id.
  457. 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
  458. PR ld/15146
  459. * plugin.c (plugin_notice): Replace the undefined dummy bfd with
  460. the real one.
  461. 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
  462. PR ld/15141
  463. * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
  464. 2013-02-15 Kai Tietz <ktietz@redhat.com>
  465. * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
  466. (.pdata): Merge .pdata* into .pdata section.
  467. 2013-02-11 Alan Modra <amodra@gmail.com>
  468. * ldlang.c (get_init_priority): Comment typo.
  469. (lang_finish): Free link_info.hash and lang_definedness_table.
  470. (lang_end): Delete lang_definedness_table comment.
  471. 2013-02-11 Alan Modra <amodra@gmail.com>
  472. PR ld/15130
  473. * ld.texinfo (-rpath-link): Typo fix.
  474. 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
  475. * emultempl/metagelf.em (build_section_lists): Use sec_info_type
  476. rather than userdata->flags.just_syms.
  477. 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
  478. Andrew Jenner <andrew@codesourcery.com>
  479. Based on patches from Altera Corporation.
  480. * Makefile.am (enios2elf.c): New rule.
  481. * Makefile.in: Regenerated.
  482. * configure.tgt: Add case for nios2*-*-*.
  483. * emulparams/nios2elf.sh: New file.
  484. * NEWS: Note Altera Nios II support.
  485. 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  486. * emultempl/avrelf.em (avr_elf_before_parse): New function.
  487. (LDEMUL_BEFORE_PARSE): Define.
  488. 2013-02-06 Alan Modra <amodra@gmail.com>
  489. PR ld/15096
  490. * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
  491. * emultempl/alphaelf.em: Revert 2013-02-04.
  492. * emultempl/cr16elf.em: Likewise.
  493. * emultempl/crxelf.em: Likewise.
  494. * emultempl/hppaelf.em: Likewise.
  495. * emultempl/ia64elf.em: Likewise.
  496. * emultempl/mipself.em: Likewise.
  497. * NEWS: Revert 2013-01-21.
  498. 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
  499. PR ld/15096
  500. * emultempl/alphaelf.em (alpha_after_parse): Call
  501. gld${EMULATION_NAME}_after_parse instead of after_parse_default.
  502. * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
  503. * emultempl/crxelf.em (crxelf_after_parse): Likewise.
  504. * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
  505. * emultempl/mipself.em (mips_after_parse): Likewise.
  506. * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
  507. to ...
  508. (gld_${EMULATION_NAME}_after_parse): This. Call
  509. gld${EMULATION_NAME}_after_parse instead of after_parse_default.
  510. (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
  511. * emultempl/elf32.em (new_dtags_set): New variable.
  512. (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
  513. here.
  514. (gld${EMULATION_NAME}_after_parse): New function.
  515. (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
  516. with gld${EMULATION_NAME}_after_parse.
  517. (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
  518. when setting link_info.new_dtags.
  519. 2013-01-25 Kai Tietz <ktietz@redhat.com>
  520. * deffilep.y (def_image_name): Adjust type of base-address
  521. argument.
  522. (%union): Add new type bfd_vma as vma.
  523. (VMA): New rule.
  524. (opt_base): Use VMA instead of NUMBER rule to evaluate value.
  525. (def_file_print): Use bfd's fprintf_vma to output base-address.
  526. 2013-01-24 Nick Clifton <nickc@redhat.com>
  527. * NEWS: Mention support for V850E3V5 architecture.
  528. 2013-01-23 Martin Koegler <martin.koegler@chello.at>
  529. PR ld/15041
  530. * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
  531. (.xdata): Similarly.
  532. (.debug_frame): Similarly.
  533. 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
  534. PR ld/15037
  535. * scripttempl/avr.sc (.eeprom): Keep it.
  536. 2013-01-23 Leif Ekblad <leif@rdos.net>
  537. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
  538. (eelf64rdos.c): New rule.
  539. * emulparams/elf64rdos.sh: New file.
  540. * configure.tgt (x86_64-*-rdos*): Use above.
  541. * Makefile.in: Regenerate.
  542. 2013-01-22 Roland McGrath <mcgrathr@google.com>
  543. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
  544. new_dtags to TRUE for *-*-nacl* targets.
  545. 2013-01-21 Mike Frysinger <vapier@gentoo.org>
  546. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
  547. link_info.new_dtags to TRUE for linux/gnu targets.
  548. * NEWS: Mention new dtags default.
  549. 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
  550. * Makefile.am (HOSTING_SCRT0): New.
  551. * configure.host (HOSTING_SCRT0): New. Used for PIE.
  552. * configure.in (HOSTING_SCRT0): New AC_SUBST.
  553. * Makefile.in: Regenerated.
  554. * configure: Likewise.
  555. 2013-01-18 Mike Frysinger <vapier@gentoo.org>
  556. * NEWS: Mention change in behavior with --enable-new-dtags.
  557. * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
  558. 2013-01-14 Leif Ekblad <leif@rdos.net>
  559. Alan Modra <amodra@gmail.com>
  560. * ld.texinfo (-Tldata-segment): Describe.
  561. * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
  562. * lexsup.c (ld_options): Add -Tldata-segment.
  563. (parse_args): Handle OPTION_TLDATA_SEGMENT.
  564. * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
  565. 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
  566. * deffilep.y: Remove trailing white spaces.
  567. * elf-hints-local.h: Likewise.
  568. * ldexp.c: Likewise.
  569. * ldlang.h: Likewise.
  570. * ldmisc.c: Likewise.
  571. * ldwrite.c: Likewise.
  572. * pe-dll.c: Likewise.
  573. * emulparams/criself.sh: Likewise.
  574. * emulparams/crislinux.sh: Likewise.
  575. * emulparams/elf32_tic6x_le.sh: Likewise.
  576. * emulparams/elf32bmipn32-defs.sh: Likewise.
  577. * emulparams/elf32mb_linux.sh: Likewise.
  578. * emulparams/elf32mep.sh: Likewise.
  579. * emulparams/elf32microblaze.sh: Likewise.
  580. * emulparams/elf32ppc.sh: Likewise.
  581. * emulparams/elf64_s390.sh: Likewise.
  582. * emulparams/elf64alpha.sh: Likewise.
  583. * emulparams/elf_s390.sh: Likewise.
  584. * emulparams/elf_x86_64.sh: Likewise.
  585. * emulparams/tic80coff.sh: Likewise.
  586. * emultempl/aix.em: Likewise.
  587. * emultempl/avrelf.em: Likewise.
  588. * emultempl/cr16elf.em: Likewise.
  589. * emultempl/pe.em: Likewise.
  590. * emultempl/pep.em: Likewise.
  591. * emultempl/spuelf.em: Likewise.
  592. * emultempl/tic6xdsbt.em: Likewise.
  593. 2013-01-10 Will Newton <will.newton@imgtec.com>
  594. * Makefile.am: Add Meta.
  595. * Makefile.in: Regenerate.
  596. * configure.tgt: Add Meta.
  597. * emulparams/elf32metag.sh: New file.
  598. * emultempl/metagelf.em: New file.
  599. 2013-01-09 Alan Modra <amodra@gmail.com>
  600. * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
  601. * emulparams/elf32_x86_64.sh: Likewise.
  602. * emulparams/elf_k1om.sh: Likewise.
  603. * emulparams/elf_l1om.sh: Likewise.
  604. * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
  605. OTHER_BSS_SECTIONS. Substitute in script.
  606. 2013-01-08 Leif Ekblad <leif@rdos.net>
  607. * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
  608. 2013-01-08 Alan Modra <amodra@gmail.com>
  609. * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
  610. "name" param with a bfd_link_needed_list pointer. Update caller.
  611. (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
  612. 2013-01-08 Alan Modra <amodra@gmail.com>
  613. * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
  614. * Makefile.in: Regenerate.
  615. 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
  616. * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
  617. compatibility.
  618. 2013-01-07 Patrice Dumas <pertusus@free.fr>
  619. * ld.texinfo: Replace @ with @@ when it is part of the text.
  620. Correct ordering of M68HC11 entry.
  621. 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
  622. * configure.tgt: Support ELF files for Sony Playstation 2 (for
  623. ps2dev and ps2sdk).
  624. * emulparams/elf32lr5900n32.sh: Create linker script for Sony
  625. Playstation 2 ELF files using MIPS ABI n32.
  626. * emulparams/elf32lr5900.sh: Create linker script for Sony
  627. Playstation 2 ELF files using MIPS ABI o32.
  628. * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
  629. files.
  630. 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
  631. * ldver.c (ldversion): Update copyright year to 2013.
  632. For older changes see ChangeLog-2012
  633. Copyright (C) 2013 Free Software Foundation, Inc.
  634. Copying and distribution of this file, with or without modification,
  635. are permitted in any medium without royalty provided the copyright
  636. notice and this notice are preserved.
  637. Local Variables:
  638. mode: change-log
  639. left-margin: 8
  640. fill-column: 74
  641. version-control: never
  642. End: