ChangeLog-2006 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370
  1. 2006-12-23 Kazu Hirata <kazu@codesourcery.com>
  2. * configure.tgt: Recognize fido.
  3. 2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt>
  4. * pe-dll.c (pe_bfd_is_dll): New function.
  5. * pe-dll.h (pe_bfd_is_dll): Declare.
  6. * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
  7. dlls using pe_bfd_is_dll instead of using the filename extension.
  8. 2006-12-15 Ulrich Weigand <uweigand@de.ibm.com>
  9. * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
  10. 2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
  11. * Makefile.am (ld_TEXINFOS): Set.
  12. (ld.info ld.dvi ld.html): Delete rule.
  13. * Makefile.in: Regenerated.
  14. 2006-12-12 Ina Pandit <inap@kpitcummins.com>
  15. * ldlang.c (print_output_section_statement): Print load address
  16. when lma differs from vma.
  17. 2006-12-11 Daniel Jacobowitz <dan@codesourcery.com>
  18. * configure.in: Define GENINSRC_NEVER.
  19. * doc/Makefile.am (ld.info): Remove srcdir prefix.
  20. (MAINTAINERCLEANFILES): Add info file.
  21. (DISTCLEANFILES): Pretend to add info file.
  22. * po/Make-in (.po.gmo): Put gmo files in objdir.
  23. * configure, Makefile.in: Regenerated.
  24. 2006-12-04 Jan Beulich <jbeulich@novell.com>
  25. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
  26. .eh_frame_hdr section here.
  27. 2006-11-27 Ian Lance Taylor <ian@airs.com>
  28. * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
  29. subdirectory.
  30. * Makefile.in: Regenerate.
  31. 2006-11-27 Bob Wilson <bob.wilson@acm.org>
  32. * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
  33. (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
  34. Delete redundant code to set sections flags and alignment.
  35. (xt_config_info_unpack_and_check, check_xtensa_info): New.
  36. (elf_xtensa_after_open): Iterate over input statements instead of
  37. link_info.input_bfds.
  38. (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for
  39. each input, and write a new .xtensa.info section in the output.
  40. 2006-11-22 Nick Clifton <nickc@redhat.com>
  41. * configure.in (LINGUAS): Add ga.
  42. * po/ga.po: New Irish translation.
  43. 2006-11-20 H.J. Lu <hongjiu.lu@intel.com>
  44. * ld.texinfo: Fix a typo.
  45. 2006-11-20 Alan Modra <amodra@bigpond.net.au>
  46. * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
  47. 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com>
  48. * emultempl/armelf.em (arm_elf_before_allocation): Only call
  49. bfd_elf32_arm_process_before_allocation if no dynamic sections.
  50. 2006-11-08 Alan Modra <amodra@bigpond.net.au>
  51. * emultempl/elf32.em (gld*_before_allocation): Adjust output section
  52. size for warning sections.
  53. 2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
  54. * emultempl/elf32.em (gld*_before_allocation): Don't prepend
  55. "warning" to the message.
  56. 2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt>
  57. * pe-dll.c (autofilter_entry_type): Change name to const.
  58. (pe_details_type) : Change target_name, object_target and
  59. autofilter_symbollist to const.
  60. (autofilter_symbollist_generic): Change to const.
  61. (autofilter_symbollist_i386, pe_detail_list, pe_details,
  62. autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
  63. autofilter_symbolsuffixlist): Likewise.
  64. (is_import): Fix indentation.
  65. (auto_export): Change afptr to const. Move name declaration to
  66. beginning of scope.
  67. (make_tail): Clear undefined byte.
  68. (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
  69. to const.
  70. (make_one): Change jmp_bytes to const. Make idata$6 member size
  71. arithmetic explicit and add comment.
  72. 2006-10-30 H.J. Lu <hongjiu.lu@intel.com>
  73. PR ld/3111
  74. * ld.h (args_type): Remove reduce_memory_overheads.
  75. * ldlang.c (lang_map): Updated.
  76. (section_already_linked): Likewise.
  77. (print_input_section): Likewise.
  78. * ldmain.c (main): Likewise.
  79. * lexsup.c (parse_args): Likewise.
  80. 2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt>
  81. * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
  82. 2006-10-27 Alan Modra <amodra@bigpond.net.au>
  83. * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
  84. sections have been discarded.
  85. (lang_do_version_exports_section): Set SEC_KEEP on export section.
  86. * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
  87. sections.
  88. 2006-10-26 Joseph S. Myers <joseph@codesourcery.com>
  89. Mark Mitchell <mark@codesourcery.com>
  90. * configure.tgt (arm*linux*): Support both big- and little-endian.
  91. 2006-10-25 H.J. Lu <hongjiu.lu@intel.com>
  92. * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
  93. (OTHER_BSS_SECTIONS): This.
  94. * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
  95. (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
  96. 2006-10-25 Alan Modra <amodra@bigpond.net.au>
  97. Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
  98. Yukishige Shibata <shibata@rd.scei.sony.co.jp>
  99. Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
  100. Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
  101. * emulparams/elf32_spu.sh: New file.
  102. * emultempl/spu_inc.s: New file.
  103. * emultempl/spu_ovl.S: New file.
  104. * emultempl/spu_ovl.o: New file.
  105. * emultempl/spuelf.em: New file.
  106. * Makefile.am: Add SPU support.
  107. * configure.tgt: Likewise.
  108. * ldlang.c (load_symbols): Make global.
  109. * ldlang.h (load_symbols): Declare.
  110. * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
  111. * Makefile.in: Regenerate.
  112. 2006-10-24 Ben Elliston <bje@au.ibm.com>
  113. * lexsup.c (parse_args): Add a comment noting a fall-through.
  114. 2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
  115. * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
  116. * configure: Regenerated.
  117. * config.in: Likewise.
  118. 2006-10-23 Alan Modra <amodra@bigpond.net.au>
  119. * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
  120. set section address on a relocatable link.
  121. * ld.texinfo (Output Section Discarding): Fix xref.
  122. 2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  123. * emulparams/shelf32.sh: Set default stack to 0x80000.
  124. * emulparams/shelf64.sh: Likewise.
  125. 2006-10-20 Richard Sandiford <richard@codesourcery.com>
  126. * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
  127. * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
  128. 2006-10-19 Alan Modra <amodra@bigpond.net.au>
  129. * emultempl/armelf.em (arm_elf_before_allocation): Run
  130. gld${EMULATION_NAME}_before_allocation later.
  131. * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
  132. 2006-10-18 Roy Marples <uberlord@gentoo.org>
  133. * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
  134. elf64-sparc-freebsd.
  135. 2006-10-18 Joseph Myers <joseph@codesourcery.com>
  136. * configure.tgt (i[3-7]86-*-linux-*): Also define
  137. targ_extra_libpath in want64 case.
  138. * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
  139. x86_64*-linux*.
  140. 2006-10-17 Alan Modra <amodra@bigpond.net.au>
  141. * scripttempl/elf.sc (INTERP): Delete. Move definition to..
  142. (INITIAL_READONLY_SECTIONS): ..here.
  143. * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
  144. * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
  145. * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
  146. 2006-10-17 Alan Modra <amodra@bigpond.net.au>
  147. * ldlang.c (strip_excluded_output_sections): Do strip sections
  148. that define syms, but don't ignore them.
  149. * ld.texinfo (Output Section Discarding): Revise.
  150. * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
  151. finish_default.
  152. 2006-10-16 Richard Sandiford <richard@codesourcery.com>
  153. * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
  154. (eelf64btsmip.c, eelf64ltsmip.c): Likewise.
  155. * Makefile.in: Regenerate.
  156. * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
  157. .reginfo rather than .MIPS.options.
  158. * emulparams/elf64bmip-defs.sh: New file.
  159. * emulparams/elf64bmip.sh: Include it.
  160. (COMMONPAGESIZE): Delete.
  161. * emulparams/elf64btsmip.sh: As for elf64bmip.sh.
  162. 2006-10-12 Bob Wilson <bob.wilson@acm.org>
  163. * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
  164. for linkonce XCC exception tables (".e" and ".h").
  165. 2006-10-11 Bob Wilson <bob.wilson@acm.org>
  166. * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
  167. (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
  168. (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
  169. (OTHER_SDATA_SECTIONS): New.
  170. * scripttempl/elfxtensa.sc: Import changes from elf.sc.
  171. 2006-10-11 Jakub Jelinek <jakub@redhat.com>
  172. * ldlang.c (lang_append_dynamic_list): When appending, add all elements
  173. of the dynamic list rather than just the first entry.
  174. 2006-10-10 Bob Wilson <bob.wilson@acm.org>
  175. * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
  176. 2006-10-06 Mike Frysinger <vapier@gentoo.org>
  177. * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
  178. 2006-10-04 Bob Wilson <bob.wilson@acm.org>
  179. * emulparams/xtensa-config.sh: Delete file.
  180. * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
  181. xtensa-config.sh.
  182. * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
  183. * Makefile.in: Regenerate.
  184. 2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt>
  185. * pe-dll.c : Fix typo.
  186. (autofilter_symbolprefixlist) : Remove __imp_.
  187. (is_import) : New.
  188. (auto-export) : Remove re-import check. Moved to callers.
  189. (process_def_file) : Check is symbol is an import. Always
  190. underscore __imp_.
  191. Only skip underscore on underscored targets.
  192. (make_one) : Always underscore __imp_.
  193. (pe_create_runtime_relocator_reference) : Only underscore
  194. _pei386_runtime_relocator on underscored targets.
  195. (pe_process_import_defs) : Always underscore __imp_.
  196. * pe.em (U) : New macro.
  197. (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
  198. on wince subsystem case.
  199. (pe_find_data_imports) : Use U on "_head_".
  200. (gld_${EMULATION_NAME}_unrecognized_file) : Use U.
  201. 2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
  202. PR ld/3223
  203. PR ld/3267
  204. * ld.texinfo: Updated Output Section Discarding.
  205. * ldlang.h (lang_output_section_statement_type): Add
  206. section_relative_symbol.
  207. * ldlang.c (strip_excluded_output_sections): Don't strip a
  208. section with a symbol relative to it.
  209. (lang_size_sections_1): Mark if an output section has a symbol
  210. symbol relative to it.
  211. 2006-09-25 Bob Wilson <bob.wilson@acm.org>
  212. * ld.texinfo (Options): Update description of local symbols for -X.
  213. 2006-09-23 H.J. Lu <hongjiu.lu@intel.com>
  214. PR ld/3249
  215. * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
  216. and .gnu.linkonce.wi.* sections with .data and .debug_info for
  217. relocatable link.
  218. 2006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
  219. * configure.in: Add new target x86_64-pc-mingw64.
  220. * configure: Regenerate.
  221. * configure.tgt: Add definition of target emulation i386pep.
  222. * Makefile.am: Add new target files for target-all.
  223. * Makefile.in: Regenerate.
  224. * pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
  225. Fix memory out of bounds excess for idata relocation section data.
  226. * pep-dll.c: Add target specific shared object handling.
  227. * pep-dll.h: Add target specific definitions for shared object handling.
  228. * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
  229. * emultempl/pep.em: Add new emulation file for target x86_64 coff.
  230. * po/POTFILES.in: Regenerate.
  231. * scripttempl/pep.sc: Add linker script template for target x86_64 coff.
  232. * NEWS: Mention new target.
  233. 2006-09-18 Thiemo Seufer <ths@networkno.de>
  234. * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
  235. configurations.
  236. 2006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
  237. * emulparams/scoreelf.sh: New file.
  238. * emultempl/scoreelf.em: New file.
  239. * Makefile.am: Add Score files.
  240. * Makefile.in: Regenerate.
  241. * configure.tgt: Add Score target.
  242. * NEWS: Mention new target support.
  243. 2006-09-16 Nick Clifton <nickc@redhat.com>
  244. Pedro Alves <pedro_alves@portugalmail.pt>
  245. * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
  246. macros defined in bfd.h.
  247. * ldmain.c: Likewise.
  248. * ldwrite.c: Likewise.
  249. * lexsup.c: Likewise.
  250. * pe-dll.c: Likewise.
  251. * emultempl/aix.em: Likewise.
  252. * emultempl/beos.em: Likewise.
  253. * emultempl/elf32.em: Likewise.
  254. * emultempl/pe.em: Likewise.
  255. * emultempl/sunos.em: Likewise.
  256. * emultempl/xtensaelf.em: Likewise.
  257. 2006-09-15 Nick Clifton <nickc@redhat.com>
  258. PR ld/3107
  259. * ldlang.c (lang_size_sections_1): Do not abort when encountering
  260. a non-empty section that is ignored. Instead produce a warning
  261. message.
  262. 2006-09-08 H.J. Lu <hongjiu.lu@intel.com>
  263. * ld.texinfo: Document --dynamic-list-cpp-typeinfo.
  264. 2006-09-07 H.J. Lu <hongjiu.lu@intel.com>
  265. * Makefile.am (CXX): Set to g++.
  266. (CXX_FOR_TARGET): Likewise.
  267. * Makefile.in: Regenerated.
  268. * NEWS: Mention --dynamic-list.
  269. * ld.texinfo: Document --dynamic-list.
  270. * ldgram.y: Support dynamic list.
  271. * ldlang.c (lang_process): Call lang_finalize_version_expr_head
  272. on link_info.dynamic if needed.
  273. (lang_append_dynamic_list): New.
  274. (lang_append_dynamic_list_cpp_typeinfo): New.
  275. * ldlang.h (lang_append_dynamic_list): Likewise.
  276. * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
  277. * ldlex.h (input_enum): Add input_dynamic_list.
  278. * ldlex.l: Handle it.
  279. * ldmain.c (main): Initialize link_info.dynamic.
  280. * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
  281. OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  282. (ld_options): Add entries for OPTION_DYNAMIC_LIST and
  283. OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  284. (parse_args): Handle OPTION_DYNAMIC_LIST and
  285. OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
  286. 2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
  287. * emulparams/h8300elf.sh: _tinydata should not be placed in
  288. relocatables.
  289. * emulparams/h8300.sh: Likewise.
  290. * emulparams/h8300sxelf.sh: Likewise.
  291. 2006-09-05 H.J. Lu <hongjiu.lu@intel.com>
  292. PR ld/3015
  293. * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
  294. is defined.
  295. 2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
  296. * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
  297. 2006-08-28 Alan Modra <amodra@bigpond.net.au>
  298. * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
  299. not match random object files in a path containing "crtbegin" or
  300. "crtend" as part of a directory name.
  301. * scripttempl/armbpabi.sc: Likewise.
  302. * scripttempl/crisaout.sc: Likewise.
  303. * scripttempl/elf32crx.sc: Likewise.
  304. * scripttempl/elf32sh-symbian.sc: Likewise.
  305. * scripttempl/elf_chaos.sc: Likewise.
  306. * scripttempl/elfd10v.sc: Likewise.
  307. * scripttempl/elfd30v.sc: Likewise.
  308. * scripttempl/elfxtensa.sc: Likewise.
  309. * scripttempl/iq2000.sc: Likewise.
  310. * scripttempl/mmo.sc: Likewise.
  311. * scripttempl/xstormy16.sc: Likewise.
  312. 2006-08-24 Bob Wilson <bob.wilson@acm.org>
  313. * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
  314. * scripttempl/elfxtensa.sc (.text): Add .literal.*.
  315. 2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
  316. * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
  317. Adjust the current address of DEFAULT_MEMORY_REGION even
  318. when dot hasn't changed.
  319. 2006-08-23 Alan Modra <amodra@bigpond.net.au>
  320. * ldexp.c (fold_name <LOADADDR>): Return an absolute value
  321. rather than a section relative value.
  322. 2006-08-22 Alan Modra <amodra@bigpond.net.au>
  323. * NEWS: Mention LMA default change.
  324. * ld.texinfo (Output Section LMA): Update default description.
  325. (Location Counter): Clarify backward movement.
  326. * ldlang.c (lang_size_sections_1): Leave non-alloc sections with
  327. default lma equal to vma. Warn on backward movement of dot.
  328. 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
  329. * configure.tgt: Set targ_emul to arm_wince_pe for ARM
  330. Windows CE targets.
  331. 2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
  332. * Makefile.am: Split arm-wince into its own emulation.
  333. * Makefile.in: Regenerate.
  334. * pe-dll.c : Define PE_ARCH_arm_wince.
  335. (pe_detail_list): Add PE_ARCH_arm_wince case.
  336. (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
  337. * emulparams/arm_wince_pe.sh: New file.
  338. * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
  339. Remap bfd_arm_allocate_interworking_sections,
  340. bfd_arm_get_bfd_for_interworking and
  341. bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
  342. targets too.
  343. (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
  344. arm-epoc bfd format names.
  345. 2006-08-18 Paul Brook <paul@codesourcery.com>
  346. * emultempl/armelf.em (arm_elf_before_allocation): Call
  347. gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
  348. 2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt>
  349. * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
  350. (generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
  351. and to not skipping .idata* sections.
  352. 2006-08-16 Alan Modra <amodra@bigpond.net.au>
  353. PR 3052
  354. * ldlang.h (lang_output_section_statement_type): Replace
  355. "processed" field with "processed_vma" and "processed_lma".
  356. * ldlang.c (lang_do_assignments_1): Move lma setting code..
  357. (lang_size_sections_1): ..to here.
  358. (lang_reset_memory_regions): Adjust for
  359. lang_output_section_statement_type change.
  360. * ldexp.c (fold_name): Likewise.
  361. 2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
  362. * emulparams/armelf.sh (MAXPAGESIZE): Changed to
  363. "CONSTANT (MAXPAGESIZE)".
  364. 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
  365. PR ld/3006
  366. * ldlang.c (lang_section_bst_type): Moved to ...
  367. * ldlang.h: Here.
  368. * ldlang.h (lang_wild_statement_struct): Add a tree field.
  369. * ldlang.c (wild_sort_fast): Use the tree field for BST.
  370. (wild): Likeise.
  371. (analyze_walk_wild_section_handler): Initialize the tree field.
  372. 2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
  373. PR ld/3009
  374. * ldlang.c (update_wild_statements): Update the whole wild
  375. section list.
  376. 2006-08-04 Nick Clifton <nickc@redhat.com>
  377. Mike Frysinger <michael.frysinger@analog.com>
  378. * scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
  379. (__preinit_array_start, __preinit_array_end, __init_array_start,
  380. __init_array_end, __fini_array_start, __fini_array_end, edata, end):
  381. Use ${USER_LABEL_PREFIX}.
  382. * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
  383. (USER_LABEL_PREFIX): Set.
  384. 2006-08-04 Marcelo Tosatti <marcelo@kvack.org>
  385. * ldmain.c (main): Initialise print_gc_sections field of link_info
  386. structure.
  387. * lexsup.c: Add --print-gc-sections and --no-print-gc-sections
  388. switches.
  389. * ld.texinfo: Document new switches.
  390. * NEWS: Mention new switches.
  391. 2006-08-04 Richard Sandiford <richard@codesourcery.com>
  392. Kazu Hirata <kazu@codesourcery.com>
  393. Phil Edwards <phil@codesourcery.com>
  394. * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
  395. eshlelf_vxworks.o.
  396. (eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
  397. * Makefile.in: Regenerate.
  398. * configure.tgt (sh-*-vxworks): Use shelf_vxworks and
  399. shlelf_vxworks.
  400. * emulparams/shelf_vxworks.sh: New file.
  401. * emulparams/shlelf_vxworks.sh: Likewise.
  402. * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
  403. (OTHER_END_SYMBOLS): Likewise _ehdr.
  404. (DATA_END_SYMBOLS): Likewise _edata.
  405. * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
  406. is indeed an ELF file before dealing with --force-dynamic.
  407. 2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
  408. PR binutils/2983
  409. * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
  410. elf64-x86-64-freebsd.
  411. 2006-08-01 H.J. Lu <hongjiu.lu@intel.com>
  412. * ldlang.c (init_os): Add flags. Replace bfd_make_section with
  413. bfd_make_section_with_flags.
  414. (exp_init_os): Updated.
  415. (lang_add_section): Call init_os with flags.
  416. (map_input_to_output_sections): Likewise.
  417. 2006-07-29 Richard Sandiford <richard@codesourcery.com>
  418. * Makefile.am (eelf32b4300.c): Update dependencies.
  419. (eelf32bmip.c): Likewise.
  420. (eelf32bsmip.c): Likewise.
  421. (eelf32btsmip.c): Likewise.
  422. (eelf32btsmipn32.c): Likewise.
  423. (eelf32ltsmip.c): Likewise.
  424. (eelf32ltsmipn32.c): Likewise.
  425. (eelf32ebmip.c): Likewise.
  426. (eelf32ebmipvxworks.c): Likewise.
  427. (eelf32elmip.c): Likewise.
  428. (eelf32elmipvxworks.c): Likewise.
  429. (eelf32bmipn32.c): Likewise.
  430. (eelf32lmip.c): Likewise.
  431. (eelf32mipswindiss.c): Likewise.
  432. (eelf32lsmip.c): Likewise.
  433. (eelf64bmip.c): Likewise.
  434. (eelf64btsmip.c): Likewise.
  435. (eelf64ltsmip.c): Likewise.
  436. (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line.
  437. (emipsbsd.c): Likewise.
  438. (emipsidt.c): Update dependencies.
  439. (emipsidtl.c): Likewise.
  440. (emipslit.c): Likewise.
  441. (emipslnews.c): Likewise.
  442. (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation.
  443. * Makefile.in: Regenerate.
  444. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
  445. * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
  446. * emultempl/irix.em: Include emultempl/mipself.em.
  447. * emultempl/mipself.em: New file.
  448. 2006-07-26 Alan Modra <amodra@bigpond.net.au>
  449. * emultempl/elf-generic.em (map_segments): Reorganise loop so that
  450. layout happens before segment map. Don't do segment map on
  451. relocatable link.
  452. 2006-07-26 Alan Modra <amodra@bigpond.net.au>
  453. * ldexp.c (fold_name <LOADADDR>): Use the lma.
  454. * ldlang.h (lang_memory_region_type): Delete old_length. Add
  455. last_os.
  456. * ldlang.c (lang_memory_region_lookup): Init new field.
  457. (lang_reset_memory_regions): Reset new field.
  458. (lang_insert_orphan): Don't set load_base.
  459. (lang_leave_overlay): Likewise.
  460. (lang_size_sections_1): Delete unnecessary code setting lma_region
  461. to region. Correct lma region check.
  462. (lang_do_assignments_1): Rename output_section_statement parm
  463. to current_os. Set lma from previous section in region.
  464. * ldlang.c: Formatting.
  465. 2006-07-25 Bob Wilson <bob.wilson@acm.org>
  466. * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
  467. Set discarded section's output_section to bfd_abs_section_ptr.
  468. 2006-07-26 Alan Modra <amodra@bigpond.net.au>
  469. * ldlang.c (analyze_walk_wild_section_handler): Init handler_data
  470. earlier.
  471. 2006-07-24 Bob Wilson <bob.wilson@acm.org>
  472. * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
  473. in dep_sec_name for null terminator. Make sure dep_sec_name has a
  474. ".t" linkonce tag.
  475. 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
  476. * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
  477. Set for *-*-solaris2*.
  478. 2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
  479. * ld.texinfo: Fix spelling mistakes.
  480. * ldint.texinfo: Likewise.
  481. 2006-07-23 Sonal Santan <sonal.santan@xilinx.com>
  482. * ldlang.c (lang_section_bst): New structure for sorting sections
  483. by name.
  484. (wild_sort_fast): New function: Insert a section into a binary
  485. search tree.
  486. (output_section_callback_fast): New function: Store a section in
  487. BST.
  488. (output_section_callback_tree_to_list): New function: Convert a
  489. BST into a list.
  490. (analyze_walk_wild_section_handler): Initialize handler_data
  491. elements.
  492. (wild): If the data is sorted by name use the BST method to sort
  493. the names.
  494. 2006-07-19 Alan Modra <amodra@bigpond.net.au>
  495. * ld.h (handle_asneeded_cref): Declare.
  496. * ldcref.c: Include objalloc.h.
  497. (old_table, old_count, old_tab, alloc_mark): New variables.
  498. (tabsize, entsize, refsize, old_symcount): Likewise.
  499. (add_cref): Use bfd_hash_allocate for refs.
  500. (handle_asneeded_cref): New function.
  501. * ldmain.c (notice): Call handle_asneeded_cref for NULL name.
  502. 2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com>
  503. * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
  504. typo setting targ_extra_libpath.
  505. 2006-07-10 Jakub Jelinek <jakub@redhat.com>
  506. * scripttempl/elf.sc: Add .gnu.hash section.
  507. * emultempl/elf32.em (OPTION_HASH_STYLE): Define.
  508. (gld${EMULATION_NAME}_add_options): Register --hash-style option.
  509. (gld${EMULATION_NAME}_handle_option): Handle it.
  510. (gld${EMULATION_NAME}_list_options): Document it.
  511. * ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
  512. * ld.texinfo: Document --hash-style option.
  513. 2006-07-10 Nick Clifton <nickc@redhat.com>
  514. * po/zh_TW.po: New Chinese (traditional) translation.
  515. * configure.in (ALL_LINGUAS): Add zh_TW.
  516. * configure: Regenerate.
  517. 2006-07-07 Nick Clifton <nickc@redhat.com>
  518. PR ld/2874
  519. * ld.texinfo: Remove "Using LD" from the title since it is
  520. redundant.
  521. 2006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
  522. PR ld/2877
  523. * ld.texinfo: Fix spelling mistakes.
  524. 2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt>
  525. Nick Clifton <nickc@redhat.com>
  526. * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
  527. length of format strings in the libname_fmt[] array, rather than
  528. relying upon a statically chosen value. Adjust xmalloc call to
  529. use this longest length.
  530. 2006-06-27 Nick Clifton <nickc@redhat.com>
  531. * ld.texinfo (-rpath-link): Clarify distinction between -rpath and
  532. -rpath-link.
  533. 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
  534. * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
  535. targ_extra_libpath.
  536. 2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt>
  537. * pe-dll.c (pe_details_type): Add new pointer for symbols list
  538. autofilter.
  539. (autofilter_symbollist): Split into autofilter_symbollist_generic
  540. and autofilter_symbollist_i386.
  541. (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
  542. autofilter_symbollist_generic for all the others.
  543. (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
  544. cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
  545. into autofilter_symbollist_i386.
  546. (auto_export): Get autofilter_symbollist from pe_details.
  547. 2006-06-22 Nick Clifton <nickc@redhat.com>
  548. PR ld/2757
  549. * emultempl/pe.em (gld_$_after_open): When reporting non PE format
  550. output files mention the file name and the fact that it is an
  551. output file.
  552. 2006-06-22 Danny Smith <dannysmith@users.sourceforge.net>
  553. * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
  554. Restructure. Add native "%s.lib" format to search list
  555. * ld.texinfo (node WIN32): Update documentation on dynamic lib
  556. search order. Add another reason for using import libs.
  557. 2006-06-21 Mark Shinwell <shinwell@codesourcery.com>
  558. * ldlang.c (lang_insert_orphan): Correctly handle the case where
  559. the section is to end up after the section currently at the end
  560. of the list in output_bfd.
  561. 2006-06-21 Hans-Peter Nilsson <hp@bitrange.com>
  562. * emultempl/mmo.em: Improve comments. Explain why there's
  563. ELF-stuff here.
  564. 2006-06-21 Alan Modra <amodra@bigpond.net.au>
  565. * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
  566. loop to ten iterations. Throw away any previous linker generated
  567. segment map.
  568. * ldlang.c (lang_phdr_list): Make global.
  569. * ldlang.h (lang_phdr_list): Declare.
  570. * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps.
  571. * Makefile.in: Regenerate.
  572. 2006-06-20 Alan Modra <amodra@bigpond.net.au>
  573. * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix
  574. many ELF emul file deps that incorrectly said they needed elf32.em
  575. instead of generic.em. Add genelf.em as required.
  576. * Makefile.in: Regenerate.
  577. * ldlang.c (lang_process): Call ldemul_finish before
  578. lang_check_section_addresses.
  579. * emulparams/arcelf.sh: Generic elf target needs genelf.
  580. * emulparams/d30v_e.sh: Likewise.
  581. * emulparams/d30v_o.sh: Likewise.
  582. * emulparams/d30velf.sh: Likewise.
  583. * emulparams/elf32_dlx.sh: Likewise.
  584. * emulparams/elf32_i860.sh: Likewise.
  585. * emulparams/elf32fr30.sh: Likewise.
  586. * emulparams/elf32frv.sh: Likewise.
  587. * emulparams/elf32iq10.sh: Likewise.
  588. * emulparams/elf32iq2000.sh: Likewise.
  589. * emulparams/elf32mt.sh: Likewise.
  590. * emulparams/mn10200.sh: Likewise.
  591. * emulparams/or32.sh: Likewise.
  592. * emulparams/or32elf.sh: Likewise.
  593. * emulparams/pjelf.sh: Likewise.
  594. * emulparams/msp430all.sh: Likewise. Extract common entries.
  595. * emulparams/pjlelf.sh: Include pjelf.sh.
  596. * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
  597. * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
  598. * emultempl/elf-generic.em: New file.
  599. * emultempl/genelf.em: New file.
  600. * emultempl/elf32.em: Include elf-generic.em.
  601. (gld${EMULATION_NAME}_layout_sections_again): Delete.
  602. (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
  603. * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
  604. (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call
  605. gld${EMULATION_NAME}_map_segments.
  606. (LDEMUL_FINISH): Update.
  607. * emultempl/mmo.em: Correct comment. Include elf-bfd.h and
  608. source elf-generic.em.
  609. (mmo_finish): Call gld${EMULATION_NAME}_map_segments.
  610. * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
  611. (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call
  612. gld${EMULATION_NAME}_map_segments.
  613. (LDEMUL_FINISH): Update.
  614. 2006-06-19 Alan Modra <amodra@bigpond.net.au>
  615. * ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
  616. 2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org>
  617. * ld.texinfo: Document new -z lazy option.
  618. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
  619. new option.
  620. (gld${EMULATION_NAME}_list_options): Update help text.
  621. 2006-06-12 Fred Fish <fnf@specifix.com>
  622. * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
  623. ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
  624. generated by mips gcc.
  625. 2006-06-12 Thiemo Seufer <ths@mips.com>
  626. * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
  627. Define.
  628. 2006-06-09 Alan Modra <amodra@bigpond.net.au>
  629. * ldlang.h (lang_input_statement_type): Use bitfields for booleans.
  630. * ldlang.c (struct out_section_hash_entry): Rename from
  631. output_statement_hash_entry. Delete output_section_statement_type
  632. entry. Add statement_union_type entry. Adjust all users.
  633. (output_section_statement_table): Rename from output_statement_table.
  634. Adjust all users.
  635. (output_section_statement_newfunc): Rename from
  636. output_statement_newfunc. Adjust all users.
  637. (output_section_statement_table_init): Rename from
  638. output_statement_table_init. Adjust all users.
  639. (output_section_statement_table_free): Rename from
  640. output_statement_table_free. Adjust all users.
  641. 2006-06-07 Joseph S. Myers <joseph@codesourcery.com>
  642. * po/Make-in (pdf, ps): New dummy targets.
  643. 2006-06-07 Alan Modra <amodra@bigpond.net.au>
  644. * ldlang.h (enum section_type): Delete dsect_section, copy_section,
  645. info_section and overlay_section. Add noalloc_section.
  646. * ldlang.c (lang_add_section): Adjust.
  647. * ldgram.y (type): Adjust.
  648. 2006-06-06 Alan Modra <amodra@bigpond.net.au>
  649. * ldlang.c (init_os): Whitespace.
  650. (map_input_to_output_sections): Don't init_os for lang_input_section.
  651. (print_all_symbols): Remove forward declaration. Convert to ISO C.
  652. 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
  653. * po/Make-in (top_builddir): Define.
  654. 2006-06-05 Alan Modra <amodra@bigpond.net.au>
  655. * ldexp.c (exp_get_abs_int): Make error message the same as
  656. others emitted in this file.
  657. 2006-06-05 Alan Modra <amodra@bigpond.net.au>
  658. * config.in: Regenerate.
  659. 2006-06-05 Alan Modra <amodra@bigpond.net.au>
  660. * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs.
  661. 2006-06-03 Alan Modra <amodra@bigpond.net.au>
  662. * emultempl/elf32.em (global_found): Make it a pointer.
  663. (stat_needed, try_needed): Adjust.
  664. (check_needed): Don't skip non-loaded as-needed entries. Only
  665. consider entries with both filename and the_bfd non-null.
  666. (after_open): Try loading non-loaded as-needed libs to satisfy
  667. DT_NEEDED libs.
  668. 2006-06-02 Joseph S. Myers <joseph@codesourcery.com>
  669. * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
  670. * Makefile.in: Regenerate.
  671. 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
  672. * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
  673. and LIBINTL_DEP everywhere.
  674. (INTLLIBS): Remove.
  675. (INCLUDES): Use @INCINTL@.
  676. * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
  677. Remove local code for po/Makefile.
  678. * Makefile.in, configure: Regenerated.
  679. 2006-05-30 H.J. Lu <hongjiu.lu@intel.com>
  680. * emulparams/arcelf.sh (MAXPAGESIZE): Changed to
  681. "CONSTANT (MAXPAGESIZE)".
  682. * emulparams/armelf_nbsd.sh: Likewise.
  683. * emulparams/armelf_vxworks.sh: Likewise.
  684. * emulparams/armnto.sh: Likewise.
  685. * emulparams/armsymbian.sh: Likewise.
  686. * emulparams/crislinux.sh: Likewise.
  687. * emulparams/elf32_i860.sh: Likewise.
  688. * emulparams/elf32_i960.sh: Likewise.
  689. * emulparams/elf32am33lin.sh: Likewise.
  690. * emulparams/elf32bfinfd.sh: Likewise.
  691. * emulparams/elf32bmipn32-defs.sh: Likewise.
  692. * emulparams/elf32frvfd.sh: Likewise.
  693. * emulparams/elf32i370.sh: Likewise.
  694. * emulparams/elf32lppcnto.sh: Likewise.
  695. * emulparams/elf32mcore.sh: Likewise.
  696. * emulparams/elf32openrisc.sh: Likewise.
  697. * emulparams/elf32ppcnto.sh: Likewise.
  698. * emulparams/elf32ppcwindiss.sh: Likewise.
  699. * emulparams/elf32vax.sh: Likewise.
  700. * emulparams/elf32xc16x.sh: Likewise.
  701. * emulparams/elf32xc16xl.sh: Likewise.
  702. * emulparams/elf32xc16xs.sh: Likewise.
  703. * emulparams/elf64_aix.sh: Likewise.
  704. * emulparams/elf64hppa.sh: Likewise.
  705. * emulparams/elf64mmix.sh: Likewise.
  706. * emulparams/elf_i386_be.sh: Likewise.
  707. * emulparams/elf_i386_chaos.sh: Likewise.
  708. * emulparams/elf_i386_ldso.sh: Likewise.
  709. * emulparams/hppa64linux.sh: Likewise.
  710. * emulparams/hppalinux.sh: Likewise.
  711. * emulparams/hppaobsd.sh: Likewise.
  712. * emulparams/i386lynx.sh: Likewise.
  713. * emulparams/i386moss.sh: Likewise.
  714. * emulparams/i386nto.sh: Likewise.
  715. * emulparams/i386nw.sh: Likewise.
  716. * emulparams/m32relf_linux.sh: Likewise.
  717. * emulparams/m68kpsos.sh: Likewise.
  718. * emulparams/or32elf.sh: Likewise.
  719. * emulparams/pjelf.sh: Likewise.
  720. * emulparams/pjlelf.sh: Likewise.
  721. * emulparams/ppclynx.sh: Likewise.
  722. * emulparams/ppcnw.sh: Likewise.
  723. * emulparams/shelf32_nbsd.sh : Likewise.
  724. * emulparams/shelf_nbsd.sh: Likewise.
  725. * emulparams/shelf_nto.sh: Likewise.
  726. * emulparams/shlelf_nto.sh: Likewise.
  727. * emulparams/xtensa-config.sh: Likewise.
  728. * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
  729. "CONSTANT (MAXPAGESIZE)".
  730. (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
  731. * emulparams/elf32_sparc.sh: Likewise.
  732. * emulparams/elf32bmip.sh: Likewise.
  733. * emulparams/elf32ppccommon.sh: Likewise.
  734. * emulparams/elf64_ia64.sh: Likewise.
  735. * emulparams/elf64_s390.sh: Likewise.
  736. * emulparams/elf64_sparc.sh: Likewise.
  737. * emulparams/elf64alpha.sh: Likewise.
  738. * emulparams/elf64ppc.sh: Likewise.
  739. * emulparams/elf_i386.sh: Likewise.
  740. * emulparams/elf_i386_vxworks.sh: Likewise.
  741. * emulparams/elf_s390.sh: Likewise.
  742. * emulparams/elf_x86_64.sh: Likewise.
  743. * emulparams/shlelf32_linux.sh: Likewise.
  744. * emulparams/shlelf_linux.sh: Likewise.
  745. * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
  746. "CONSTANT (COMMONPAGESIZE)".
  747. * emulparams/elf32btsmipn32.sh: Likewise.
  748. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
  749. "-z max-page-size=" and "-z common-page-size=".
  750. (gld${EMULATION_NAME}_list_options): Likewise.
  751. * ld.h (ld_config_type): Add maxpagesize and commonpagesize.
  752. * ld.texinfo: Document "-z max-page-size=" and
  753. "-z common-page-size=".
  754. * ldexp.c (exp_print_token): Handle CONSTANT.
  755. (fold_name): Likewise.
  756. * ldgram.y: Likewise.
  757. * ldlex.l: Likewise.
  758. * ldmain.c (main): Initiliaze config.maxpagesize and
  759. config.commonpagesize. Call bfd_emul_set_maxpagesize if
  760. config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
  761. config.commonpagesize config.maxpagesize isn't 0.
  762. 2006-05-30 Nick Clifton <nickc@redhat.com>
  763. * po/es.po: Updated Spanish translation.
  764. 2006-05-25 H.J. Lu <hongjiu.lu@intel.com>
  765. * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
  766. 2006-05-24 H.J. Lu <hongjiu.lu@intel.com>
  767. PR ld/1485
  768. * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
  769. bfd. Support 64bit host for --enable-targets=all.
  770. * configure: Regenerated.
  771. 2006-05-24 Nick Clifton <nickc@redhat.com>
  772. * po/vi.po: Updated Vietnamese translation.
  773. 2006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
  774. * configure.tgt: Add avr6 to emulation list.
  775. * Makefile.am: Add eavr6.o and corresponding rule.
  776. * Makefile.in: Regenerate.
  777. * emulparams/avr6.sh: New file.
  778. * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
  779. for target option support.
  780. (EXTRA_EM_FILE): Add reference to new em template file avrelf.
  781. * scripttempl/avr.sc: Add ".trampolines" section.
  782. * emultempl/avrelf.em: Add new file for target specific options.
  783. 2006-05-22 Nick Clifton <nickc@redhat.com>
  784. * scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
  785. 2006-05-19 Alan Modra <amodra@bigpond.net.au>
  786. * ldlang.c (lang_size_sections_1): Don't check mem regions for
  787. os->ignored sections.
  788. 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
  789. * ldlang.c (lang_size_sections): Call lang_reset_memory_regions
  790. before redoing one_lang_size_sections_pass.
  791. 2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
  792. * ld.texinfo: Rename "Index" to "LD Index"
  793. 2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
  794. * pe-dll.c (autofilter_symbollist): Add Dllmain,
  795. DllMainCRTStartup, _DllMainCRTStartup and .text.
  796. (autofilter_liblist): Add libcegcc.
  797. (autofilter_symbolprefixlist): Add __imp_ and .idata$.
  798. (generate_reloc): Do not skip sections without a SEC_LOAD flag,
  799. they can still contain relocs that need processing.
  800. Skip the .idata$6 section.
  801. (jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
  802. (make_one): Use the new array.
  803. (make_import_fixup_entry): Use .idata$2 instead of .idata$3.
  804. * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
  805. 2006-05-05 Alan Modra <amodra@bigpond.net.au>
  806. * ld.texinfo: Document PowerPC and PowerPC64 options.
  807. * gen-doc.texi: Enable.
  808. 2006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
  809. * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
  810. (TEXI2POD): Use AM_MAKEINFOFLAGS.
  811. (configdoc.texi): Don't set top_srcdir.
  812. * ld.texinfo: Don't use top_srcdir.
  813. * aclocal.m4, Makefile.in: Regenerated.
  814. 2006-04-19 Alan Modra <amodra@bigpond.net.au>
  815. * ldlang.c (wild): Tidy default_common_section loop.
  816. (print_input_section): Format.
  817. * configure: Regenerate.
  818. 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
  819. * po/POTFILES.in: Regenerated.
  820. 2006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
  821. * config.in: Regenerated.
  822. 2006-04-14 David Heine <dlheine@tensilica.com>
  823. Bob Wilson <bob.wilson@acm.org>
  824. * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
  825. function to strip inconsistent linkonce sections.
  826. (input_section_linked_worker, input_section_linked): New.
  827. (is_inconsistent_linkonce_section): New.
  828. (xtensa_strip_inconsistent_linkonce_sections): New.
  829. 2006-04-11 Diego Pettenò <flameeyes@gentoo.org>
  830. * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
  831. and Dragonfly targets.
  832. * configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
  833. * Makefile.am (HFILES): Add elf-hints-local.h.
  834. * elf-hints-local.h: New file.
  835. * Makefile.in: Regenerate.
  836. * configure: Regenerate.
  837. 2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org>
  838. * ld.texinfo: Fix typo in documentation of --check-sections.
  839. 2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  840. * ldlang.c (load_symbols): Set as_needed and add_needed according
  841. to the corresponding script's fields while processing it.
  842. 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
  843. * Makefile.am: Add install-html, install-html-am, and
  844. install-html-recursive targets.
  845. * Makefile.in: Regenerate.
  846. * configure.in: AC_SUBST datarootdir, docdir, htmldir.
  847. * configure: Regenerate.
  848. * po/Make-in: Add install-html target.
  849. 2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
  850. * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
  851. link_info.need_relax_finalize.
  852. * ldlang.c (relax_sections): New.
  853. (lang_process): Use. Call relax_sections link_info.relax_pass
  854. times.
  855. * ldmain.c (main): Set link_info.relax_pass to 1. Remove
  856. link_info.need_relax_finalize.
  857. 2006-04-05 Alan Modra <amodra@bigpond.net.au>
  858. * Makefile.am (GENSCRIPTS): Pass prefix.
  859. * Makefile.in: Regenerate.
  860. * genscripts.sh: Adjust for extra parameter.
  861. * emultempl/elf32.em (parse_ld_so_conf): Return true iff file
  862. exists.
  863. (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
  864. * NEWS: Update.
  865. 2006-04-05 Richard Sandiford <richard@codesourcery.com>
  866. Daniel Jacobowitz <dan@codesourcery.com>
  867. * configure.tgt (sparc*-*-vxworks*): New stanza.
  868. * emulparams/elf32_sparc_vxworks.sh: New file.
  869. * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
  870. (eelf32_sparc_vxworks.c): New rule.
  871. * Makefile.in: Regenerate.
  872. 2006-04-04 Eric Botcazou <ebotcazou@adacore.com>
  873. * ldlang.c (lang_map): Print the list of discarded input sections.
  874. (print_input_section): Change parameter and print zero-sized sections.
  875. (print_statement): Adjust call to print_input_section.
  876. 2006-04-01 Danny Smith <dannysmith@users.sourceforge.net>
  877. * deffilep.y (def_image_name): If LIBRARY or NAME statement
  878. specifies an empty string, retain the name specified on command
  879. line.
  880. * ld.texinfo: Document above.
  881. 2006-03-31 Jakub Jelinek <jakub@redhat.com>
  882. * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If
  883. bfd_find_nearest_line succeeded for %C or %D, but filename
  884. is NULL, print section+offset at the end.
  885. 2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
  886. * emulparams/elf32bfinfd.sh: New file.
  887. * emultempl/bfin.em: Delete.
  888. * emulparams/bfin.sh: Lose reference to bfin.em.
  889. * Makefile.am (eelf32bfin.c): Likewise.
  890. (eelf32bfinfd.c): New.
  891. * Makefile.in: Regenerate.
  892. * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
  893. targ_extra_emuls.
  894. 2006-03-22 Richard Sandiford <richard@codesourcery.com>
  895. Daniel Jacobowitz <dan@codesourcery.com>
  896. Phil Edwards <phil@codesourcery.com>
  897. Zack Weinberg <zack@codesourcery.com>
  898. Mark Mitchell <mark@codesourcery.com>
  899. Nathan Sidwell <nathan@codesourcery.com>
  900. * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
  901. separate VxWorks emulations.
  902. * emulparams/elf32ebmipvxworks.sh: New file.
  903. * emulparams/elf32elmipvxworks.sh: New file.
  904. * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
  905. eelf32elmipvxworks.o.
  906. (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
  907. * Makefile.in: Regenerate.
  908. 2006-03-16 Alan Modra <amodra@bigpond.net.au>
  909. PR 2434
  910. * ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
  911. * ldlang.c (output_statement_table_init, lang_init): Likewise.
  912. * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
  913. (undefined_symbol): Likewise.
  914. 2006-03-07 Richard Sandiford <richard@codesourcery.com>
  915. Daniel Jacobowitz <dan@codesourcery.com>
  916. Zack Weinberg <zack@codesourcery.com>
  917. Nathan Sidwell <nathan@codesourcery.com>
  918. Paul Brook <paul@codesourcery.com>
  919. Ricardo Anguiano <anguiano@codesourcery.com>
  920. Phil Edwards <phil@codesourcery.com>
  921. * emulparams/armelf_vxworks.sh: Include vxworks.sh.
  922. (MAXPAGESIZE): Define.
  923. * emulparams/vxworks.sh: Undefine EMBEDDED.
  924. * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
  925. * Makefile.in: Regenerate.
  926. 2006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
  927. * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections.
  928. Add KEEP() directives.
  929. Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
  930. .bss output sections.
  931. 2006-03-03 Richard Sandiford <richard@codesourcery.com>
  932. * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
  933. (EXTRA_EM_FILE): Define.
  934. * emultempl/vxworks.em: New file.
  935. * ld.texinfo (--force-dynamic): Document.
  936. * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
  937. on vxworks.em.
  938. * Makefile.in: Regenerate.
  939. 2006-03-02 Richard Sandiford <richard@codesourcery.com>
  940. * emulparams/elf32ppccommon.sh: New file, extracted from...
  941. * emulparams/elf32ppc.sh: ...here.
  942. * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
  943. instead of elf32ppc.sh.
  944. (BSS_PLT): Remove override.
  945. * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
  946. (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
  947. (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
  948. (eelf32ppclinux.c): Likewise.
  949. (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency.
  950. * Makefile.in: Regenerate.
  951. 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
  952. * Makefile.am: Add html target.
  953. * Makefile.in: Regenerate.
  954. * po/Make-in: Add html target.
  955. 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
  956. Anil Paranjape <anilp1@kpitcummins.com>
  957. Shilin Shakti <shilins@kpitcummins.com>
  958. * scripttemp/elf32xc16x.sc: Default linker script for tiny model.
  959. * scripttemp/elf32xc16xl.sc: Default linker script for large model.
  960. * scripttemp/elf32xc16xs.sc: Default linker script for small model.
  961. * emulparams/elf32xc16x.sh: Emulation script for tiny model.
  962. * emulparams/elf32xc16xl.sh: Emulation script for large model.
  963. * emulparams/elf32xc16xs.sh: Emulation script for small model.
  964. * Makefile.am: Add entry to make xc16x target.
  965. * Makefile.in: Regenerate.
  966. * configure.tgt: Specify default and other emulation parameters
  967. for xc16x.
  968. * NEWS: Announce the support for the new target.
  969. 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
  970. * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
  971. Use the traditional target.
  972. 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
  973. * configure.tgt (arm*b-*-linux-gnueabi): Change to
  974. arm*b-*-linux-*eabi.
  975. (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
  976. 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
  977. PR ld/2290
  978. * NEWS: Updated for the Linux linker search order change.
  979. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
  980. gld${EMULATION_NAME}_check_ld_so_conf before checking default
  981. search directories for DT_NEEDED entries.
  982. 2006-02-07 Paul Brook <paul@codesourcery.com>
  983. * emultempl/armelf.em: Include elf/arm.h.
  984. (arm_elf_finish): Set low address bit if enty point is a Thumb
  985. function.
  986. 2006-02-01 Danny Smith <dannysmith@users.sourceforge.net>
  987. * deffilep.y (def_image_name): If the image name does not have
  988. a suffix, append the default.
  989. * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
  990. 2006-01-31 Danny Smith dannysmith@users.sourceforge.net
  991. * NEWS: Mention support for forward exports in PE-COFF dll's.
  992. * ld.texinfo: Expand documentation of EXPORT statements in
  993. PE-COFF .def files.
  994. 2006-01-31 Filip Navara <navaraf@reactos.com>
  995. * deffile.h (struct def_file_export): Add field flag_forward.
  996. * pe-dll.c (process_def_file): Check for forward exports.
  997. (generate_edata): Generate forward export symbols.
  998. (fill_edata): Emit them.
  999. * pe-dll.c (process_def_file): Don't crash on malformed
  1000. fastcall symbol names in .def file.
  1001. 2006-01-30 Nick Clifton <nickc@redhat.com>
  1002. * po/vi.po: Updated Vietnamese translation.
  1003. 2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org>
  1004. * pe-dll.c (pe_dll_generate_implib): Issue "Creating library
  1005. file:" as informational message, not a warning.
  1006. 2006-01-18 Roger Sayle <roger@eyesopen.com>
  1007. * emultempl/irix.em: Use lbasename instead of basename.
  1008. 2006-01-16 Nick Clifton <nickc@redhat.com>
  1009. * po/zh_CN.po: New Chinese (simplified) translation.
  1010. * configure.in (ALL_LINGUAS): Add "zh_CH".
  1011. * configure: Regenerate.
  1012. 2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org>
  1013. * ld.texinfo (Options): Fix typo.
  1014. For older changes see ChangeLog-2005
  1015. Copyright (C) 2006 Free Software Foundation, Inc.
  1016. Copying and distribution of this file, with or without modification,
  1017. are permitted in any medium without royalty provided the copyright
  1018. notice and this notice are preserved.
  1019. Local Variables:
  1020. mode: change-log
  1021. left-margin: 8
  1022. fill-column: 74
  1023. version-control: never
  1024. End: