ChangeLog-2004 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449
  1. 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net>
  2. * emultempl/pe.em (set_pe_subsystem): Change second arg to
  3. lang_add_entry to FALSE.
  4. 2004-12-23 Nick Clifton <nickc@redhat.com>
  5. PR 600
  6. * emulparams/shelf.sh (.stack): Increase stack start address to
  7. 0x300000.
  8. 2004-12-20 Nick Clifton <nickc@redhat.com>
  9. * ldmain.c (main): Issue an error message if -static and -shared
  10. are used together.
  11. 2004-12-17 Jakub Jelinek <jakub@redhat.com>
  12. * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
  13. * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
  14. * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
  15. address space at DATA_SEGMENT_ALIGN. Fix computation of expected
  16. PT_GNU_RELRO segment end.
  17. 2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
  18. * configure.tgt: Add s390x-ibm-tpf support.
  19. 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at>
  20. * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
  21. BFD.
  22. 2004-12-07 Ben Elliston <bje@gnu.org>
  23. * ldemul.h: Forward declare struct option.
  24. 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net>
  25. * scripttempl/pe.sc (.data): Add .jcr subsection.
  26. 2004-11-30 Paul Brook <paul@codesourcery.com>
  27. * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
  28. 2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
  29. * Makefile.am: Change LOCALEDIR to $(datadir)/share.
  30. * Makefile.in: Regenerate.
  31. 2004-11-26 Melissa Mears <asterisk@graces.dricas.com>
  32. * emultempl/pe.em: Add --subsystem:xbox as well as
  33. --subsystem:%d.
  34. * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
  35. and numeric subsystems.
  36. 2004-11-24 Alan Modra <amodra@bigpond.net.au>
  37. * ldexp.c (fold_name): Correct PR 338 fix.
  38. 2004-11-19 Mark Mitchell <mark@codesourcery.com>
  39. * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
  40. (earmelf_linux_eabi.c): New target.
  41. * configure.tgt (arm*-*-linux-gnueabi): Handle it.
  42. * emulparams/armelf_linux_eabi.sh: New file.
  43. * Makefile.in: Regenerated.
  44. 2004-11-19 Nick Clifton <nickc@redhat.com>
  45. PR 518
  46. * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
  47. LENGTH fields in the MEMORY command, to explicitly state that
  48. symbols cannot be used in their expressions.
  49. 2004-11-19 Jon Beniston <jon@beniston.com>
  50. * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
  51. * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
  52. * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
  53. which return the length and origin of a memory.
  54. * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
  55. * NEWS: Mention support for ORIGIN and LENGTH operators.
  56. 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com>
  57. * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
  58. a dynamic object for stubs.
  59. 2004-11-04 Paul Brook <paul@codesourcery.com>
  60. * ld.texinfo: Document --default-imported-symver.
  61. * ldmain.c (main): Set link_info.default_imported_symver.
  62. * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
  63. (ld_options): Add --default-imported-symver.
  64. (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
  65. 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
  66. Vineet Sharma <vineets@noida.hcltech.com>
  67. * Makefile.am: Add entries for new maxq-coff target.
  68. * Makefile.in: Regenerate.
  69. * configure.tgt: Add support for maxq.
  70. * emulparams/maxqcoff.sh: New File.
  71. * scripttempl/maxqcoff.sc: New linker script for target maxq.
  72. * NEWS: Mention the new target.
  73. 2004-11-04 Daniel Jacobowitz <dan@debian.org>
  74. * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
  75. (earmelf_oabi.c): Remove rule.
  76. * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
  77. * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
  78. * Makefile.in: Regenerated.
  79. 2004-11-04 Hans-Peter Nilsson <hp@axis.com>
  80. * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
  81. * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
  82. (FINI_START): Ditto.
  83. (INIT_END): Remove emitted "jump [sp+]".
  84. (FINI_END): Ditto.
  85. 2004-11-04 Alan Modra <amodra@bigpond.net.au>
  86. * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
  87. (no_opd_opt, no_toc_opt): New static vars.
  88. (ppc_before_allocation): Don't edit opt if no_opd_opt. Call
  89. ppc64_elf_edit_toc.
  90. (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
  91. (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
  92. (PARSE_AND_LIST_OPTIONS): Describe new options.
  93. (PARSE_AND_LIST_ARGS_CASES): Handle them.
  94. 2004-10-27 Nick Clifton <nickc@redhat.com>
  95. * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
  96. parameter to invocation of lang_section_start.
  97. * emultempl/aix.em (_handle_option): Likewise.
  98. * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
  99. eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
  100. * Makefile.in: Regenerate.
  101. 2004-10-26 Mark Mitchell <mark@codesourcery.com>
  102. * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
  103. __exidx_{start,end} when not relocating.
  104. 2004-10-25 Mark Mitchell <mark@codesourcery.com>
  105. * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
  106. * ldexp.h (segment_type): New type.
  107. (segments): New variable.
  108. * ldexp.c (segments): New variable.
  109. (exp_print_token): Handle SEGMENT_START.
  110. (fold_binary): Likewise.
  111. * ldgram.y (SEGMENT_START): Declare it as a token.
  112. (exp): Handle SEGMENT_START.
  113. * ldlang.h (lang_address_statement_type): Add segment field.
  114. (lang_section_start): Change prototype.
  115. * ldlang.c (map_input_to_output_sections): Do not process section
  116. assignments if a corresponding SEGMENT_START has already been
  117. seen.
  118. (lang_section_start): Add segment parameter.
  119. * ldlex.l (SEGMENT_START): Add it.
  120. * lexsup.c (set_segment_start): New function.
  121. (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
  122. * ld.texinfo (SEGMENT_START): Document it.
  123. * emulparams/armsymbian.sh (EMBEDDED): Set it.
  124. * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
  125. base addresses. Do not map relocations.
  126. * NEWS: Mention SEGMENT_START.
  127. 2004-10-26 Paul Brook <paul@codesourcery.com>
  128. * ld.texinfo: Document --default-symver.
  129. * ldmain.c (main): Set link_info.create_default_symver.
  130. * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
  131. (ld_options): Add default-symver.
  132. (parse_args): Handle OPTION_DEFAULT_SYMVER.
  133. 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net>
  134. * pe-dll.c (process_def_file): Don't export all symbols by default if
  135. building a position-independent executable.
  136. 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
  137. PR 463
  138. * ldmain.c (reloc_overflow): Accept a pointer to struct
  139. bfd_link_hash_entry. Report symbol location for relocation
  140. overflow.
  141. 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
  142. * genscripts.sh (libpath.exp): Really generate for first
  143. emulation only.
  144. 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net>
  145. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
  146. comparison and replacement of filenames.
  147. 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
  148. PR 459
  149. * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
  150. option on linker script as the one for linker script.
  151. 2004-10-16 Daniel Jacobowitz <dan@debian.org>
  152. * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
  153. (check_excluded_libs): New.
  154. (load_symbols): Call check_excluded_libs.
  155. * ldlang.h (add_excluded_libs): New prototype.
  156. * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
  157. (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
  158. (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
  159. * ld.texinfo (Command Line Variables): Document --exclude-libs.
  160. (Options Specific to i386 PE Targets): Remove --exclude-libs.
  161. 2004-10-15 Alan Modra <amodra@bigpond.net.au>
  162. * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
  163. failing link script assert.
  164. * ldctor.c (ldctor_add_set_entry): Fix comment typo.
  165. 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
  166. PR 445
  167. * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
  168. (SMALL_DATA_DTOR): Set.
  169. * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
  170. (SMALL_DATA_DTOR): Unset.
  171. * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
  172. after .data. If SMALL_DATA_DTOR is set, move .dtors after
  173. .data.
  174. 2004-10-14 Alan Modra <amodra@bigpond.net.au>
  175. PR 63
  176. * ldlang.h (lang_output_section_statement_type): Make "next" a
  177. struct lang_output_section_statement_struct *.
  178. (struct orphan_save): Move from elf32.em. Add "name" and "flags".
  179. (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
  180. * ldlang.c (lang_output_section_find_1): Adjust for changed
  181. output_section_statement "next".
  182. (strip_excluded_output_sections): Likewise.
  183. (lang_record_phdrs): Likewise.
  184. (lang_output_section_find_by_flags): New function.
  185. (output_prev_sec_find): Move from pe.em. Adjust iterator.
  186. (lang_insert_orphan): New function. Tail end of elf32.em's
  187. place_orphan merged with that from pe.em. Allow bfd_section to
  188. be placed first. New heuristic for placing new output section
  189. statement in existing script, and accompanying split of __start
  190. symbol alignment into a separate assignment to dot.
  191. (lang_add_section): Consistently use output->bfd_section rather than
  192. an alias, section->output_section.
  193. (map_input_to_output_sections): Rename overly long arg. Move
  194. initialization of data_statement output section to here..
  195. (lang_check_section_addresses): ..from here.
  196. (print_assignment): Correct printing of etree_assert.
  197. (print_all_symbols): Don't bomb if userdata is NULL.
  198. (IGNORE_SECTION): Rearrange.
  199. * emultempl/elf32.em (output_rel_find): Adjust interator.
  200. (output_prev_sec_find): Delete.
  201. (struct orphan_save): Delete.
  202. (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
  203. flags without creating a duplicate output section statement.
  204. Revise code holding history of various orphan section placements.
  205. Allow orphan sections to place before script specified output
  206. sections. Call lang_output_section_find_by_flags when placement
  207. by name fails. Use lang_insert_orphan.
  208. * emultempl/mmo.em (output_prev_sec_find): Delete.
  209. (struct orphan_save): Delete.
  210. (mmo_place_orphan): Revise code holding history of orphan placement.
  211. Allow orphans to place before existing output sections. Use
  212. lang_insert_orphan.
  213. * emultempl/pe.em (output_prev_sec_find): Delete.
  214. (struct orphan_save): Delete.
  215. (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
  216. lang_insert_orphan.
  217. 2004-10-13 Mark Mitchell <mark@codesourcery.com>
  218. * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
  219. loadable segment.
  220. 2004-10-13 Alan Modra <amodra@bigpond.net.au>
  221. PR 44
  222. * ldcref.c (check_section_sym_xref): Delete.
  223. (check_local_sym_xref): New function.
  224. (check_nocrossrefs): Adjust call.
  225. * emultempl/pe.em (struct orphan_save): Add os_tail.
  226. (place_orphan): Backport assorted fixes from elf32.em.
  227. 2004-10-12 Bob Wilson <bob.wilson@acm.org>
  228. * emultempl/xtensaelf.em: Use ISO C90 formatting.
  229. 2004-10-11 Jakub Jelinek <jakub@redhat.com>
  230. * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
  231. getline for portability.
  232. * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
  233. (gld${EMULATION_NAME}_parse_ld_so_conf,
  234. gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
  235. (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
  236. 2004-10-11 Alan Modra <amodra@bigpond.net.au>
  237. PR 423
  238. * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
  239. rejected when linking statically.
  240. 2004-10-08 Daniel Jacobowitz <dan@debian.org>
  241. * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
  242. 2004-10-07 Bob Wilson <bob.wilson@acm.org>
  243. * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
  244. assembler-generated longcall sequences. Describe new --size-opt
  245. option.
  246. * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
  247. * emultempl/xtensaelf.em (remove_section,
  248. replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
  249. elf_xtensa_after_open): New.
  250. (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
  251. OPTION_NO_LITERAL_MOVEMENT): Define.
  252. (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
  253. (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
  254. (PARSE_AND_LIST_OPTIONS): Add --size-opt.
  255. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
  256. OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
  257. (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
  258. * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
  259. * Makefile.am (eelf32xtensa.c): Update dependencies.
  260. * Makefile.in: Regenerate.
  261. 2004-10-07 Jeff Baker <jbaker@qnx.com>
  262. * lexsup.c: Handle --warn-shared-textrel option.
  263. (ld_options): Restore alpha sorting of options.
  264. * ldmain.c (main): Initialise warn_shared_info field to FALSE.
  265. * ld.texinfo: Add documentation for --warn-shared-textrel.
  266. * NEWS: Added mention of --warn-shared-textrel option.
  267. 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
  268. * emultempl/crxelf.em (disable_relaxation): Add.
  269. (crxelf_before_allocation): Enable --relax option by default.
  270. (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
  271. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
  272. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
  273. 2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
  274. * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
  275. --sort-section name|alignment.
  276. * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
  277. --sort-section name|alignment.
  278. * ld.h (sort_type): New enum.
  279. (wildcard_spec): Change the type of `sorted' to sort_type.
  280. * ldgram.y (SORT): Removed.
  281. (SORT_BY_NAME): Added.
  282. (SORT_BY_ALIGNMENT): Added.
  283. (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
  284. SORT_BY_ALIGNMENT.
  285. (input_section_spec_no_keep): Updated `sorted'.
  286. (statement): Replace SORT with SORT_BY_NAME.
  287. * ldlang.c (compare_section): New function to compare 2
  288. sections with different sorting schemes.
  289. (wild_sort): Updated. Use compare_section.
  290. (update_wild_statements): New function.
  291. (lang_process): Call update_wild_statements before
  292. map_input_to_output_sections.
  293. * ldlex.l (SORT_BY_NAME): New.
  294. (SORT_BY_ALIGNMENT): New.
  295. (SORT): Return SORT_BY_NAME.
  296. * ldmain.c (sort_section): New. Defined.
  297. (main): Initialize it to none.
  298. * lexsup.c (option_values): Add OPTION_SORT_SECTION.
  299. (ld_options): Add an entry for OPTION_SORT_SECTION.
  300. (parse_args): Handle OPTION_SORT_SECTION.
  301. * mri.c (mri_draw_tree): Updated `sorted'.
  302. 2004-10-04 Jakub Jelinek <jakub@redhat.com>
  303. * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
  304. * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
  305. argument.
  306. (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
  307. and . as second argument.
  308. (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
  309. * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
  310. (fold_binary): Add it here. Insert padding to make relro_end
  311. COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in
  312. exp_dataseg_relro_adjust phase just use previously computed
  313. exp_data_seg.base.
  314. * ldlang.c (lang_size_sections): Set exp_data_seg.base for
  315. relro_adjust here. Call lang_size_sections_1 once more if there
  316. was too big padding at DATA_SEGMENT_RELRO_END.
  317. * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
  318. 2004-10-01 Paul Brook <paul@codesourcery.com>
  319. * emulparams/armelf.sh: Add unwinding table sections.
  320. 2004-09-30 Filip Navara <navaraf@reactos.com>
  321. * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
  322. correct base address for position independant executables.
  323. * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
  324. executables as DLLs.
  325. 2004-09-30 Paul Brook <paul@codesourcery.com>
  326. * ld.texinfo: Document --target2=abs.
  327. * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
  328. 2004-09-29 Nick Clifton <nickc@redhat.com>
  329. * scripttempl/xstormy16.sc: Only perform the assignments to the
  330. ROM region when not performing a relocatable link. The ROM region
  331. does not start at address 0, but the sections will.
  332. * Makefile.am: Fix linker script dependency for the generation of
  333. eelf32xstormy16.c.
  334. * Makefile.in: Regenerate.
  335. 2004-09-18 Filip Navara <navaraf@reactos.com>
  336. * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
  337. emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
  338. emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
  339. TARGET_PAGE_SIZE.
  340. * scripttempl/pe.sc: Make the virtual address and file offset synced if
  341. the alignment is lower than the target page size.
  342. 2004-09-27 Filip Navara <navaraf@reactos.com>
  343. * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
  344. def_file_parse to handle pe_def_file if NULL and prevent crash with
  345. invalid .def files.
  346. 2004-09-27 Alan Modra <amodra@bigpond.net.au>
  347. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
  348. --emit-stub-syms automatically when --emit-relocs.
  349. 2004-09-24 Paul Brook <paul@codeosurcery.com>
  350. * scripttempl/elf.sc: Keep .preinit_array, .init_array and
  351. .fini_array sections.
  352. 2004-09-19 Andreas Schwab <schwab@suse.de>
  353. * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
  354. base so that relro end is suitably aligned.
  355. 2004-09-17 Paul Brook <paul@codesourcery.com>
  356. * ld.texinfo: Rename arm-specific section. Document --target*
  357. * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
  358. * emulparams/armelf_linux.sh: Ditto.
  359. * emulparams/armelf_nbsd.sh: Ditto.
  360. * emultempl/armelf.em: Set default for TARGET2_TYPE.
  361. (target2_type): New variable.
  362. (arm_elf_before_allocation): Don't pass target1_type.
  363. (arm_elf_create_output_section_statements): New function.
  364. (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
  365. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
  366. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
  367. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
  368. * emultempl/armelf_oabi.em (_before_allocation): Remove extra
  369. argument to bfd_elf32_arm_process_before_allocation.
  370. 2004-09-17 Alan Modra <amodra@bigpond.net.au>
  371. * ldexp.c (fold_name): Update u.undef.next refs.
  372. * emultempl/pe.em: Likewise.
  373. * emultempl/sunos.em: Likewise.
  374. 2004-09-17 Alan Modra <amodra@bigpond.net.au>
  375. * Makefile.am: Run "make dep-am".
  376. * Makefile.in: Regenerate.
  377. * config.in: Regenerate.
  378. * configure: Regenerate.
  379. * aclocal.m4: Regenerate.
  380. * po/ld.pot: Regenerate.
  381. 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com>
  382. * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
  383. (.fini): Likewise.
  384. (.jcr): Likewise.
  385. 2004-09-16 Alan Modra <amodra@bigpond.net.au>
  386. * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
  387. to bfd_elf32_arm_process_before_allocation call.
  388. 2004-09-13 Paul Brook <paul@codesourcery.com>
  389. * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
  390. * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
  391. 2004-09-07 H.J. Lu <hongjiu.lu@intel.com>
  392. * configure: Regenerated with autconfig 2.13.
  393. 2004-09-07 Andreas Schwab <schwab@suse.de>
  394. * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
  395. alignment before adjusting DATA_SEGMENT_RELRO_END.
  396. 2004-09-06 Mark Mitchell <mark@codesourcery.com>
  397. * emulparams/armsymbian.sh: Use armbpabi script.
  398. * scripttempl/armbpabi.sc: New script.
  399. 2004-09-02 Mark Mitchell <mark@codesourcery.com>
  400. * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
  401. (earmsymbian.c): New target.
  402. * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
  403. * Makefile.in: Regenerated.
  404. * aclocal.m4: Likewise.
  405. * configure: Likewise.
  406. * emulparams/armsymbian.sh: New file.
  407. 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
  408. * scripttempl/elf32crx.sc: Edit file with comments.
  409. (.init): Add new section.
  410. (.fini): Likewise.
  411. (.ctor): Control the linkage order.
  412. (.dtor): Likewise.
  413. 2004-08-27 Nick Clifton <nickc@redhat.com>
  414. * emultempl/pe.em (after_open): Do not assume that either bfd is
  415. an archive.
  416. 2004-08-26 Alan Modra <amodra@bigpond.net.au>
  417. * ldlang.c (lang_init): Don't compare with TRUE.
  418. 2004-08-25 Dmitry Diky <diwil@spec.ru>
  419. * emulparams/msp430all.sh: Fix RAM sizes for all targets.
  420. * scripttempl/elf32msp430.sc: Add .profiler section definition.
  421. 2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
  422. * ldlang.c (wildcardp): Defined as a macro with strpbrk.
  423. 2004-08-19 Mark Mitchell <mark@codesourcery.com>
  424. * configure.tgt (arm*-*-symbianelf*): New target.
  425. (arm*-*-eabi*): Likewise.
  426. 2004-08-19 Jakub Jelinek <jakub@redhat.com>
  427. * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
  428. (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
  429. (OPTION_NON_OVERLAPPING_OPD): Define.
  430. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
  431. --non-overlapping-opd option.
  432. 2004-08-18 Alan Modra <amodra@bigpond.net.au>
  433. PR 338
  434. * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
  435. was already on the undefs list.
  436. 2004-08-17 Alan Modra <amodra@bigpond.net.au>
  437. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
  438. prefix the symbol field too.
  439. 2004-08-13 Alan Modra <amodra@bigpond.net.au>
  440. * ldmain.c (link_callbacks): Remove "error_handler".
  441. * ldmisc.c: Include elf-bfd.h.
  442. (vfinfo): Sort comment. Handle %A. Use %A instead of
  443. bfd_get_section_indent.
  444. (error_handler): Delete.
  445. * ldmisc.h (error_handler): Delete declaration.
  446. 2004-08-10 Alan Modra <amodra@bigpond.net.au>
  447. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
  448. ppc64_elf_restore_symbols.
  449. 2004-08-09 Alan Modra <amodra@bigpond.net.au>
  450. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
  451. .toc is too large on relocatable linking.
  452. 2004-08-09 Alan Modra <amodra@bigpond.net.au>
  453. * emultempl/ppc64elf.em (ppc_after_open): Delete.
  454. (LDEMUL_AFTER_OPEN): Don't define.
  455. 2004-08-02 Stephane Carrez <stcarrez@nerim.fr>
  456. * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
  457. 2004-08-01 Stephane Carrez <stcarrez@nerim.fr>
  458. * scripttempl/elfm68hc12.sc: Align text, rodata and data section
  459. on power of 2.
  460. 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
  461. * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
  462. 2004-07-26 Dmitry Diky <diwil@spec.ru>
  463. * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
  464. msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
  465. msp430xG439.
  466. * configure.tgt: Likewise.
  467. * emulparams/msp430all.sh: Likewise.
  468. * Makefile.in: Regenerate.
  469. 2004-07-23 Nick Clifton <nickc@redhat.com>
  470. * emultempl/elf32.em (_place_orphan): Use an already existing
  471. section name if that section does not have any flags set.
  472. 2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
  473. * ldlang.c (already_linked_hash_entry): Removed.
  474. (already_linked): Likewise.
  475. (already_linked_table): Likewise.
  476. (section_already_linked): Call bfd_section_already_linked.
  477. (lang_process): Replace already_linked_table_init with
  478. bfd_section_already_linked_table_init and check return. Replace
  479. already_linked_table_free with bfd_section_already_linked_table_free.
  480. 2004-07-21 Nick Clifton <nickc@redhat.com>
  481. * ldlang.c (init_os): Make sure that the newly allocated userdata
  482. structure is zeroed out.
  483. 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
  484. * NEWS: Mention the new --add-needed/--no-add-needed and
  485. --as-needed/--no-as-needed options.
  486. 2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
  487. * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
  488. check the add_needed field.
  489. (dt_needed): New struct.
  490. (gld${EMULATION_NAME}_try_needed): Change the first argument
  491. to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
  492. bit in the file where the DT_NEEDED entry comes from.
  493. (gld${EMULATION_NAME}_search_needed): Change the second
  494. argument to a pointer to struct dt_needed.
  495. (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
  496. (gld${EMULATION_NAME}_after_open): Likewise.
  497. * ld.texinfo: Add --add-needed document.
  498. * ldlang.c (new_afile): Set p->add_needed.
  499. * ldlang.h (lang_input_statement_type): Add add_needed field.
  500. * ldmain.h (add_needed): Declare.
  501. * ldmain.c (add_needed): New global var.
  502. * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
  503. OPTION_NO_ADD_NEEDED.
  504. (ld_options): Likewise.
  505. (parse_args): Handle them.
  506. 2004-07-13 Christof Petig <christof@petig-baender.de>
  507. * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
  508. for endian-ness of extracted addend.
  509. 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net>
  510. * pe-dll.c (auto_export): Filter on just the import prefix,
  511. "_imp_", not "_imp__".
  512. 2004-07-09 Nick Clifton <nickc@redhat.com>
  513. * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
  514. 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com>
  515. * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
  516. (eelf32crx.c): New target.
  517. * Makefile.in: Regenerate.
  518. * configure.tgt: Handle crx-*-elf*.
  519. * emulparams/elf32crx.sh: New file.
  520. * emultempl/crxelf.em: New file.
  521. * scripttempl/elf32crx.sc: New file.
  522. * NEWS: Mention new target.
  523. 2004-07-06 Nick Clifton <nickc@redhat.com>
  524. * Makefile.am: Add eshlsymbian.c.
  525. * Makefile.in: Regenerate.
  526. * configure.tgt: Add sh*-symbian-elf target.
  527. * emulparams/shlsymbian.sh: New file. Configure the
  528. sh-symbian-elf linker scripts.
  529. * scripttemp/elf32sh-symbian.sc: New file. Linker script
  530. template for the sh-symbian-elf target.
  531. 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  532. * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
  533. * emulparams/hppalinux.sh: Likewise.
  534. * scripttempl/elf.sc: Place .plt just before .got when .plt is in
  535. data segment and PLT_BEFORE_GOT is defined.
  536. 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  537. * ld.texinfo (WIN32): Document PE weak symbols.
  538. 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  539. * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
  540. 2004-07-01 H.J. Lu <hongjiu.lu@intel.com>
  541. * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
  542. the section.
  543. 2004-06-29 Alan Modra <amodra@bigpond.net.au>
  544. * ldlang.c (lang_reset_memory_regions): Save last relax pass section
  545. size in rawsize.
  546. 2004-06-24 Alan Modra <amodra@bigpond.net.au>
  547. * ldlang.c (print_output_section_statement): Don't print size before
  548. relaxation.
  549. (IGNORE_SECTION): Remove bfd arg. Update all callers.
  550. * ldexp.c (fold_name): .. See below.
  551. * ldlang.c (section_already_linked, print_output_section_statement,
  552. print_input_section, insert_pad, size_input_section,
  553. lang_check_section_addresses, lang_size_sections_1,
  554. lang_size_sections, lang_do_assignments_1, lang_set_startof,
  555. lang_one_common, lang_reset_memory_regions, lang_process,
  556. lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
  557. * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
  558. * pe-dll.c (process_def_file, generate_reloc): ..
  559. * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
  560. gld${EMULATION_NAME}_before_allocation): ..
  561. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
  562. * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
  563. sh64_elf_${EMULATION_NAME}_after_allocation): ..
  564. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
  565. * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
  566. ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
  567. "size" instead of "_raw_size" and "_cooked_size". Expand
  568. bfd_section_size macro invocations.
  569. 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  570. * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
  571. ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
  572. ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
  573. ___crt_xt_end__.
  574. (.tls): Define ___tls_start__ and ___tls_end__.
  575. 2004-06-21 Alexandre Oliva <aoliva@redhat.com>
  576. * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
  577. 2004-06-18 Adam Nemet <anemet@lnxw.com>
  578. * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
  579. * configure: Regenerate.
  580. 2004-06-15 Jakub Jelinek <jakub@redhat.com>
  581. * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
  582. .gcc_except_table output sections lost accidentally with
  583. -z relro patch.
  584. 2004-06-15 Alan Modra <amodra@bigpond.net.au>
  585. * ldwrite.c (build_link_order): Use bfd_get_section_size
  586. instead of bfd_get_section_size_before_reloc or _raw_size.
  587. * pe-dll.c (process_def_file): Likewise.
  588. 2004-06-14 Alan Modra <amodra@bigpond.net.au>
  589. From Richard Wirth <r.wirth@wirthware.de>
  590. * ldlang.c (lang_finish): Don't free lang_definedness_table.
  591. 2004-05-29 Alan Modra <amodra@bigpond.net.au>
  592. * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
  593. (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
  594. 2004-05-28 Alan Modra <amodra@bigpond.net.au>
  595. * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags
  596. throughout file.
  597. * lexsup.c: Formatting. Wrap long lines.
  598. * ldwrite.c: Update copyright date.
  599. * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
  600. (output_section_callback): Nor SEC_KEEP here.
  601. (gc_section_callback): Twiddle SEC_EXCLUDE here.
  602. (lang_gc_wild): Delete. Fold into..
  603. (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage
  604. collecting.
  605. (lang_process): Always call lang_gc_sections.
  606. (lang_place_orphans): Handle SEC_EXCLUDE sections.
  607. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
  608. SEC_EXCLUDE code.
  609. 2004-05-26 H.J. Lu <hongjiu.lu@intel.com>
  610. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
  611. SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
  612. * ldlang.c (lang_add_section): Likewise.
  613. 2004-05-26 Alan Modra <amodra@bigpond.net.au>
  614. * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
  615. sections when doing a final link. Clear SEC_EXCLUDE when doing
  616. a relocable link, except for SEC_DEBUGGING sections.
  617. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
  618. same condition here to drop SEC_EXCLUDE orphan sections.
  619. 2004-05-25 Alan Modra <amodra@bigpond.net.au>
  620. * ldlang.c (lang_process): Call bfd_merge_sections later, and
  621. only when not a relocatable link.
  622. (print_input_section): Handle SEC_EXCLUDE sections.
  623. (size_input_section): Don't update dot on SEC_EXCLUDE sections.
  624. (lang_do_assignments_1): Likewise.
  625. * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
  626. * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
  627. * emultempl/hppaelf.em (build_section_lists): Likewise.
  628. * emultempl/ppc64elf.em (build_toc_list): Likewise.
  629. (build_section_lists): Likewise.
  630. 2004-05-23 Andreas Schwab <schwab@suse.de>
  631. * ld.texinfo (Options): Fix typo in last change.
  632. 2004-05-21 Andy Chittenden <achittenden@bluearc.com>
  633. * ld.h (ld_config_type): Add new field: hash_table_size.
  634. * ldmain.c: Initialise the new field to zero. If it is non-zero
  635. after parsing the linker's command line call
  636. bfd_hash_set_default_size.
  637. * lexsup.c (option_values): Add OPTION_HASH_SIZE.
  638. (ld_options): Add hash-size.
  639. (parse_args): Parse --hash-size option. Allow
  640. --reduce-memory-overheads to set the default hash table size as
  641. well.
  642. * ld.texinfo: Document the new switch. Also mention that
  643. --reduce-memory-overheads can affect the hash table size.
  644. * NEWS: Mention the new feature.
  645. 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com>
  646. * NEWS: Mention new linker map file generation and the
  647. --reduce-memory-overheads option.
  648. * ld.texinfo: Document --reduce-memory-overheads option.
  649. * ld.h (map_symbol_def): New struct.
  650. (struct user_section_struct, section_userdata_type): Rename to:
  651. (struct lean_user_section_struct, lean_section_userdata_type).
  652. (struct fat_user_section_struct, fat_section_userdata_type): New.
  653. (SECTION_USERDATA_SIZE): Define.
  654. (args_type): New member reduce_memory_overheads.
  655. * ldlang.c (map_obstack): New static variable.
  656. (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
  657. (lang_map): Unless command_line.reduce_memory_overheads is set,
  658. initialize lists of defined symbols for each section.
  659. (print_input_section): Unless command_line.reduce_memory_overheads
  660. is set, use print_all_symbols.
  661. (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
  662. * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
  663. * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
  664. (ld_options): Add entry for --reduce-memory-overheads.
  665. (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
  666. 2004-05-19 Jakub Jelinek <jakub@redhat.com>
  667. * ldgram.y (sect_constraint): New.
  668. (ONLY_IF_RO, ONLY_IF_RW): New tokens.
  669. (section): Add sect_constraint. Pass additional argument
  670. to lang_enter_output_section_statement.
  671. * mri.c (mri_draw_tree): Pass additional argument to
  672. lang_enter_output_section_statement.
  673. * emultempl/pe.em (place_orphan): Likewise.
  674. (output_prev_sec_find): Disregard output section statements with
  675. constraint == -1.
  676. * emultempl/mmo.em (output_prev_sec_find): Likewise.
  677. (mmo_place_orphan): Pass additional argument to
  678. lang_enter_output_section_statement.
  679. * emultempl/elf32.em (output_prev_sec_find): Disregard output section
  680. statements with constraint == -1.
  681. (place_orphan): Pass additional argument to
  682. lang_enter_output_section_statement.
  683. * ldlang.c (lang_enter_overlay_section): Likewise.
  684. (lang_output_section_find_1): New.
  685. (lang_output_section_find): Use it.
  686. (lang_output_section_statement_lookup_1): New.
  687. (lang_output_section_statement_lookup): Use it.
  688. (check_section_callback, check_input_sections): New.
  689. (map_input_to_output_sections): Check if all input sections
  690. are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
  691. (strip_excluded_output_sections): Disregard output section statements
  692. with constraint == -1.
  693. (lang_record_phdrs): Likewise.
  694. (lang_enter_output_section_statement): Add constraint argument.
  695. Use lang_output_section_statement_lookup_1.
  696. * ldlang.h (lang_output_section_statement_type): Add constraint
  697. and all_input_readonly fields.
  698. (lang_enter_output_section_statement): Adjust prototype.
  699. * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
  700. * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
  701. segment if all input sections are readonly.
  702. 2004-05-19 Adam Nemet <anemet@lnxw.com>
  703. * scripttempl/i386lynx.sc: Remove file.
  704. 2004-05-17 Bob Wilson <bob.wilson@acm.org>
  705. * ld.texinfo (Output Section Address): Correct subsection name.
  706. 2004-05-17 Adam Nemet <anemet@lnxw.com>
  707. * configure.tgt (powerpc-*-lynxos* case): New case.
  708. * configure.host (i[3-7]86-*-lynxos* case): Remove case.
  709. * emulparams/ppclynx.sh: New file.
  710. * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
  711. * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
  712. (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
  713. (eppclynx.c): New rule.
  714. * Makefile.in: Regenerate.
  715. 2004-05-13 Joel Sherrill <joel@oarcorp.com>
  716. * configure.tgt (or32-*-rtems*): Switch to elf and
  717. support versioned targets.
  718. 2004-05-13 Nick Clifton <nickc@redhat.com>
  719. * po/fr.po: Updated French translation.
  720. 2004-05-11 Jakub Jelinek <jakub@redhat.com>
  721. * genscripts.sh: Generate -z combreloc -z now -z relro scripts
  722. for binaries, -shared and -pie.
  723. * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
  724. * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
  725. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
  726. (OTHER_RELRO_SECTIONS): ... this.
  727. * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
  728. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
  729. -z relro and -z norelro.
  730. (gld${EMULATION_NAME}_list_options): Add it to usage.
  731. (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
  732. -z relro scripts when appropriate.
  733. * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
  734. Create separate .got.plt section if SEPARATE_GOTPLT.
  735. Move sections which are only written during relocation handling
  736. to the beginning of RW segment. If NO_SMALL_DATA, move .got
  737. before .data. Add DATA_SEGMENT_RELRO_END directive.
  738. Include OTHER_RELRO_SECTIONS.
  739. * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
  740. * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
  741. (fold_unary): Likewise.
  742. (fold_binary): Handle -z relro.
  743. * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
  744. exp_dataseg_relro_adjust phases. Add relro_end field.
  745. * ldmain.c (main): Initialize link_info.relro to FALSE.
  746. * ldlang.c (lang_size_sections): Handle -z relro.
  747. 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl>
  748. * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
  749. 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com>
  750. * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
  751. before printing it with %W.
  752. 2004-05-07 Brian Ford <ford@vss.fsi.com>
  753. DJ Delorie <dj@redhat.com>
  754. * emultempl/pe.em (real_flags): New static.
  755. (OPTION_LARGE_ADDRESS_AWARE): New define.
  756. (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
  757. (gld_${EMULATION_NAME}_list_options): Likewise.
  758. (gld${EMULATION_NAME}_handle_option): Likewise.
  759. (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
  760. * ld.texinfo: Document it.
  761. * NEWS: Mention it.
  762. 2004-05-07 Brian Ford <ford@vss.fsi.com>
  763. * NEWS: Mention DWARF 2 support for i386pe.
  764. 2004-05-05 Alexandre Oliva <aoliva@redhat.com>
  765. * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
  766. elf32-frvfdpic.
  767. 2004-04-30 Alan Modra <amodra@bigpond.net.au>
  768. * ldlang.c (unique_section_p): Pass section parm, return true on
  769. group sections.
  770. (output_section_callback): Adjust.
  771. * ldlang.h (unique_section_p): Update prototype.
  772. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
  773. 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr>
  774. * ld.texinfo (--gc-sections): Remove restriction for
  775. dynamic linking.
  776. 2004-04-29 Brian Ford <ford@vss.fsi.com>
  777. * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
  778. for DWARF 2/3. Update stab section's syntax.
  779. 2004-04-29 Alan Modra <amodra@bigpond.net.au>
  780. * pe-dll.c: Revert changes accidentally committed 2004-03-08.
  781. (fill_edata): Correct pointer arithmetic.
  782. 2004-04-21 Chris Demetriou <cgd@broadcom.com>
  783. * ld.texinfo: Remove MIPS --embedded-relocs documentation.
  784. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
  785. * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
  786. (EXTRA_EM_FILE): Use mipsecoff.em
  787. * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
  788. (EXTRA_EM_FILE): Use mipsecoff.em
  789. * emultempl/mipsecoff.em: Restructure to be included as an
  790. extra emulation file.
  791. (check_sections, gld${EMULATION_NAME}_after_open)
  792. (gld${EMULATION_NAME}_after_allocation)
  793. (gld${EMULATION_NAME}_get_script)
  794. (ld_${EMULATION_NAME}_emulation): Remove
  795. (gld${EMULATION_NAME}_before_parse): Rename to...
  796. (mipsecoff_before_parse): This.
  797. (LDEMUL_BEFORE_PARSE): Define.
  798. * emultempl/mipself.em: Remove file.
  799. * scripttempl/mips.sc (.rel.sdata): Do not include in output.
  800. (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
  801. these symbols.
  802. * Makefile.am: Remove dependencies on emultempl/mipself.em.
  803. * Makefile.in: Regenerate.
  804. 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
  805. * ld.texinfo (synthesizing on H8/300): Information about linker
  806. relaxation support for bit manipulation instructions and system
  807. control instructions is added.
  808. 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
  809. * NEWS: Mention change in DEFINED semantics.
  810. 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
  811. * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
  812. (.data): Add KEEP for .gnu.linkonce.d.*personality*.
  813. (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
  814. 2004-04-21 Ben Elliston <bje@au.ibm.com>
  815. * ld.texinfo (Simple Example): Add missing punctuation.
  816. 2004-04-20 Chris Demetriou <cgd@broadcom.com>
  817. * NEWS: Note that MIPS --embedded-relocs option is deprecated.
  818. 2004-04-19 Jakub Jelinek <jakub@redhat.com>
  819. * ldlang.c (lang_do_assignments_1): Handle .tbss output section
  820. specially.
  821. 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
  822. * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
  823. with default priority. Likewise for dtors.
  824. 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  825. * configure.host: Remove mips*-dec-bsd* target.
  826. * configure.tgt: Likewise.
  827. 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
  828. * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
  829. * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
  830. * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
  831. * emultempl/irix.em: New file.
  832. * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
  833. dependencies.
  834. * Makefile.in: Regenerate.
  835. 2004-04-01 Paul Brook <paul@codesourcery.com>
  836. * emultempl/armelf.em (byteswap_code): Add.
  837. (arm_elf_before_allocation): Pass extra parameter.
  838. (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
  839. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
  840. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
  841. * emultempl/armelf_oabi.em: Pass extra parameter.
  842. * ld.texinfo: Document --be8.
  843. 2004-03-30 Stan Shebs <shebs@apple.com>
  844. Remove long-obsolete MPW support.
  845. * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
  846. * Makefile.am (mpw): Remove file-presynthesizing actions.
  847. * Makefile.in: Likewise.
  848. * ldfile.c (slash): Remove MPW case.
  849. * ldlex.l [MPW]: Remove unused definition.
  850. 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
  851. * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
  852. (eelf32cr16c.c): New target.
  853. * Makefile.in: Regenerate.
  854. * configure.tgt: Handle cr16c-*-elf*.
  855. * emulparams/elf32cr16c.sh: New file.
  856. * scripttempl/elfcr16c.sc: Likewise
  857. * NEWS: Mention support for new target.
  858. 2004-03-30 Nick Clifton <nickc@redhat.com>
  859. * po/sv.po: Updated Swedish translation.
  860. 2004-03-27 Alan Modra <amodra@bigpond.net.au>
  861. * emultempl/elf32.em: Update new bfd_elf_discard_info name.
  862. * emultempl/hppaelf.em: Likewise.
  863. * emultempl/ppc64elf.em: Likewise.
  864. * emultempl/sh64elf.em: Likewise.
  865. 2004-03-25 Alan Modra <amodra@bigpond.net.au>
  866. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
  867. size_dynamic_sections call.
  868. 2004-03-23 Alan Modra <amodra@bigpond.net.au>
  869. PR 51.
  870. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
  871. link_info.wrap_char.
  872. 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
  873. * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
  874. or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
  875. 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
  876. * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
  877. 2004-03-19 Alan Modra <amodra@bigpond.net.au>
  878. * config.in: Regenerate.
  879. * po/ld.pot: Regenerate.
  880. 2004-03-18 Alan Modra <amodra@bigpond.net.au>
  881. * ld.texinfo: Add --as-needed doco.
  882. * ldmain.c (as_needed): New global var.
  883. * ldmain.h (as_needed): Declare.
  884. * lexsup.c (option_values): Add OPTION_AS_NEEDED and
  885. OPTION_NO_AS_NEEDED.
  886. (ld_options): Likewise.
  887. (parse_args): Handle them.
  888. * ldlang.h (lang_input_statement_type): Add as_needed field.
  889. * ldlang.c (new_afile): Set p->as_needed.
  890. * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
  891. (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
  892. (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
  893. * ldlang.c (open_input_bfds): Remove useless cast.
  894. (lang_do_assignments_1): Likewise.
  895. (lang_for_each_input_section): Delete.
  896. 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  897. * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
  898. 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
  899. * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
  900. private when building implib.
  901. 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
  902. * ldlang.c (lang_add_section): Don't force SEC_LOAD on
  903. SEC_THREAD_LOCAL.
  904. (IGNORE_SECTION): Ignore .tbss sections too.
  905. (lang_size_sections_1): .tbss sections do not advance dot.
  906. 2004-03-01 Andreas Schwab <schwab@suse.de>
  907. * ld.texinfo (Options): Fix example for --wrap.
  908. 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
  909. * pe-dll.c (fill_edata): Check that exported_symbol_sections is
  910. not NULL.
  911. 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
  912. * ldlang.c (lang_check): Use %P, not %E, in error message.
  913. 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
  914. * ldlang.h (struct lang_output_section_state): Change processed
  915. field's type.
  916. * ldexp.c (check, invalid): Remove.
  917. (fold_name): Move valid_p assignments. Create undefined symbol
  918. when needed. Directly exampine section's processd flag.
  919. * ldlang.c (lang_output_section_statement_lookup): Adjust
  920. processed field init.
  921. (lang_size_sections_1): Allow LOADADDR when determining section's
  922. VMA. Adjust error message. Fold data statement's expr.
  923. (lang_size_sections): Correctly increment lang_statement_iteration.
  924. 2004-02-23 Alan Modra <amodra@bigpond.net.au>
  925. * ldexp.c (fold_tree): Follow indirect symbols.
  926. 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
  927. * ldgram.y (exp): Add two operand ALIGN.
  928. * ldexp.c (fold_binary): Add ALIGN_K case.
  929. * ld.texinfo (ALIGN): Document two operand version.
  930. 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
  931. * ldlang.c (map_input_to_output_sections): Initialize sections
  932. mentioned in a data statement expression.
  933. (lang_do_assignments_1): Add data statement's expression's
  934. section's vma.
  935. 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
  936. * ldgram.y (statement_anywhere): Add assert rule.
  937. * ldlang.c (exp_init_os): Add assert case.
  938. 2004-02-14 Andrew Cagney <cagney@redhat.com>
  939. * ldmain.c (remove_output): Call bfd_cache_close.
  940. 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
  941. * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
  942. .MIPS.content* and .MIPS.events* sections.
  943. 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
  944. * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
  945. .note.gnu.arm.ident to after allocated sections. Mark its
  946. address as 0.
  947. 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
  948. * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
  949. * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
  950. * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
  951. * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
  952. * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
  953. 2004-02-05 Nick Clifton <nickc@redhat.com>
  954. * emultempl/pe.em (_after_open): Fix typo in previous delta.
  955. 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
  956. * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
  957. 2004-01-28 Alan Modra <amodra@bigpond.net.au>
  958. * genscripts.sh: Fix typo.
  959. * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
  960. 2004-01-24 Jakub Jelinek <jakub@redhat.com>
  961. * emulparams/elf64_ia64.sh: Put .rela.opd into
  962. OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
  963. 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
  964. * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
  965. * ld.texinfo (--omagic): Note that writable text section
  966. does not conform to published PE-COFF specs.
  967. (--enable-auto-import): Likewise.
  968. 2004-01-15 Alan Modra <amodra@bigpond.net.au>
  969. * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
  970. 2004-01-13 Nick Clifton <nickc@redhat.com>
  971. * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
  972. which if true will prevent the LMA region being used as a
  973. replacement for a default VMA region.
  974. (lang_leave_output_section_statement): Pass extra parameter.
  975. (lang_leave_overlay): Likewise.
  976. * ld.texinfo (Output Section LMA): Document that the LMA
  977. region can be set to the VMA region if no VMA has been set.
  978. * ldlang.h (struct lang_output_section_phdr_list): Create a
  979. typedef for this type. Minor formatting fixes.
  980. 2004-01-13 Nick Clifton <nickc@redhat.com>
  981. * ldlang.c (lang_size_sections_1): If dot is advanced, then
  982. assume that the section should be allocated.
  983. 2004-01-13 Alan Modra <amodra@bigpond.net.au>
  984. * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
  985. sections. Do ignore SEC_NEVER_LOAD sections.
  986. (lang_size_sections_1): Remove test made redundant with the above.
  987. 2004-01-09 Alan Modra <amodra@bigpond.net.au>
  988. * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
  989. program_header_size.
  990. 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
  991. 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
  992. * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
  993. 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
  994. * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
  995. (MAXPAGESIZE): Set to 64Kb.
  996. (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
  997. __ROFIXUP_END__. Don't map .rofixup.got any more.
  998. * emulparams/elf32frv.sh (NOP): Set.
  999. 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
  1000. * configure.tgt: Add frv-*-*linux*.
  1001. 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
  1002. * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
  1003. (eelf32frvfd.c): New.
  1004. * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
  1005. * emulparams/elf32frv.sh: Reverted previous two patches.
  1006. * emulparams/elf32frvfd.sh: New.
  1007. * Makefile.in: Rebuilt.
  1008. 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
  1009. * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
  1010. .rofixup.got to .rofixup.
  1011. 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
  1012. * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
  1013. (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
  1014. 2004-01-05 Jakub Jelinek <jakub@redhat.com>
  1015. * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
  1016. * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
  1017. 2004-01-03 Alan Modra <amodra@bigpond.net.au>
  1018. * ldexp.c (align_n): Make static.
  1019. * ldexp.h (align_n): Delete declaration.
  1020. * ldlang.h (lang_enter_output_section_statement): Remove
  1021. block_value param.
  1022. * ldlang.c (lang_enter_output_section_statement): Likewise.
  1023. (TO_ADDR, TO_SIZE): Define.
  1024. (opb_shift): New var.
  1025. (init_opb): New function.
  1026. (print_input_section): Call init_opb and use TO_ADDR.
  1027. (print_data_statement, print_reloc_statement): Likewise.
  1028. (print_padding_statement): Likewise.
  1029. (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
  1030. (lang_check_section_addresses): Likewise.
  1031. (lang_size_sections_1): Likewise.
  1032. (lang_do_assignments_1): Likewise.
  1033. (lang_set_startof): Likewise.
  1034. (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
  1035. (lang_process): Call init_opb.
  1036. (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
  1037. (lang_enter_overlay_section): Adjust
  1038. lang_enter_output_section_statement call.
  1039. * ldgram.y: Likewise.
  1040. * mri.c (mri_draw_tree): Likewise.
  1041. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
  1042. * emultempl/mmo.em (mmo_place_orphan): Likewise.
  1043. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
  1044. * ldfile.c (ldfile_set_output_arch): Add defarch param.
  1045. * ldfile.h (ldfile_set_output_arch): Ditto.
  1046. * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
  1047. ldfile_set_output_arch.
  1048. * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1049. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1050. * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1051. * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1052. * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1053. * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1054. * ldgram.y: Adjust ldfile_set_output_arch call.
  1055. * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1056. * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1057. * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1058. * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1059. * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
  1060. * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1061. * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
  1062. 2004-01-02 Bernardo Innocenti <bernie@develer.com>
  1063. * configure.tgt: Add m68k-uClinux target.
  1064. For older changes see ChangeLog-0203
  1065. Copyright (C) 2004 Free Software Foundation, Inc.
  1066. Copying and distribution of this file, with or without modification,
  1067. are permitted in any medium without royalty provided the copyright
  1068. notice and this notice are preserved.
  1069. Local Variables:
  1070. mode: change-log
  1071. left-margin: 8
  1072. fill-column: 74
  1073. version-control: never
  1074. End: