ChangeLog-2008 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105
  1. 2008-12-23 Jon Beniston <jon@beniston.com>
  2. * Makefile.am: Add LM32 object files and dependencies.
  3. * Makefile.in: Regenate.
  4. * NEWS: Record that support for LM32 has been added.
  5. * configure.tgt: Add LM32 targets.
  6. * emulparams/elf32lm32.sh: New file.
  7. * emulparams/elf32lm32fd.sh: New file.
  8. 2008-12-23 Tristan Gingold <gingold@adacore.com>
  9. * Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h
  10. * Makefile.in: Regenerate.
  11. 2008-12-23 Nick Clifton <nickc@redhat.com>
  12. * NEWS: Remove mention of support for STT_IFUNC.
  13. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  14. * configure: Regenerate.
  15. 2008-12-10 Alan Modra <amodra@bigpond.net.au>
  16. * emultempl/spuelf.em (params): Init new field.
  17. (OPTION_SPU_NUM_REGIONS): Define.
  18. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions.
  19. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
  20. 2008-12-10 Alan Modra <amodra@bigpond.net.au>
  21. * emultempl/spuelf.em (params): New var, used instead of various others.
  22. Adjust use throughout file.
  23. (spu_after_open): Call spu_elf_setup.
  24. (spu_place_special_section): Tidy.
  25. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move
  26. code setting overlay section alignment to..
  27. (spu_before_allocation): ..here.
  28. 2008-12-03 Nick Clifton <nickc@redhat.com>
  29. * NEWS: Mention new feature.
  30. * pe-dll.c (process_def_file): Replace use of redundant
  31. BFD_FORT_COMM_DEFAULT_VALUE with 0.
  32. * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn
  33. sections.
  34. 2008-12-02 Kai Tietz <kai.tietz@onevision.com>
  35. * pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
  36. hold relocations.
  37. 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
  38. * emultempl/cr16elf.em (cr16_after_open): New function to handle
  39. CR16 ELF embedded reloc creation (ld --embedded-relocs).
  40. (check_sections): New function.
  41. (LDEMUL_AFTER_OPEN): Define.
  42. * emulparams/elf32cr16.sh (EMBEDDED): Define.
  43. 2008-11-26 Alan Modra <amodra@bigpond.net.au>
  44. PR 7047
  45. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
  46. for changes to struct bfd_elf_version_expr.
  47. * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
  48. (version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
  49. (lang_register_vers_node): Likewise.
  50. (lang_new_vers_pattern): Likewise. Ensure "literal" is set when
  51. no glob chars found in "pattern".
  52. (realsymbol): Correct backslash quote logic.
  53. * ld.texinfo (VERSION): Warn about global wildcards.
  54. 2008-11-24 Alan Modra <amodra@bigpond.net.au>
  55. * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
  56. 2008-11-19 Nick Clifton <nickc@redhat.com>
  57. * fdl.texi: Update to v1.3
  58. * ld.texinfo: Change license to v1.3.
  59. 2008-11-17 Ulrich Weigand <uweigand@de.ibm.com>
  60. * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
  61. 2008-11-17 Nick Clifton <nickc@redhat.com>
  62. * ldver.c: Update copyright year.
  63. 2008-11-14 Kai Tietz <kai.tietz@onevision.com>
  64. * emultempl/pep.em (..._before_parse): initialize
  65. pei386_runtime_pseudo_reloc by version 2.
  66. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
  67. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
  68. (make_import_fixup): Use relocation size to read addend.
  69. * emultempl/pe.em (..._before_parse): initialize
  70. pei386_runtime_pseudo_reloc by version 1.
  71. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
  72. (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
  73. * pe-dll.c (pe-dll.h): Remove useless include.
  74. (make_runtime_pseudo_reloc): Change addend to use bfd_vma.
  75. Handle the two variants of pseudo-relocation.
  76. (pe_create_import_fixup): Change addend to type bfd_vma.
  77. Modify for the two pseudo_relocation variants.
  78. (runtime_pseudp_reloc_v2_init): New static variable.
  79. * pe-dll.h (pe_create_import_fixup): Change addend argument type
  80. to bfd_vma.
  81. * pep-dll.h (pep_create_import_fixup): Likewise.
  82. * NEWS: Add comment.
  83. 2008-11-14 Alan Modra <amodra@bigpond.net.au>
  84. * Makefile.am (spu_ovl.o_c): Add missing line continuations.
  85. * Makefile.in: Regenerate.
  86. 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
  87. * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
  88. 2008-11-03 Bob Wilson <bob.wilson@acm.org>
  89. * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.
  90. * scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS)
  91. (NON_ALLOC_DYN): Import changes from elf.sc.
  92. 2008-10-25 Nick Clifton <nickc@redhat.com>
  93. PR 6945
  94. * ldlang.c (lang_size_sections_1): Do not update the VMAs of
  95. output sections when performing a relocatable link on COFF
  96. objects.
  97. 2008-10-22 Nick Clifton <nickc@redhat.com>
  98. * emultempl/armelf.em (arm_elf_after_open): Move check for using a
  99. non-arm output target from here...
  100. (arm_elf_create_output_section_statements): ... to here, so that
  101. the check is made at the earliest possible opportunity.
  102. 2008-10-22 Alan Modra <amodra@bigpond.net.au>
  103. * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32".
  104. (EXTRA_EM_FILE): Define.
  105. 2008-10-22 Alan Modra <amodra@bigpond.net.au>
  106. * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN):
  107. Handle these defines.
  108. * emulparams/criself.sh, * emulparams/crislinux.sh,
  109. * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh,
  110. * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh,
  111. * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh,
  112. * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh,
  113. * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh,
  114. * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh,
  115. * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh,
  116. * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh,
  117. * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh,
  118. * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh,
  119. * emulparams/m68kelf.sh, * emulparams/mn10200.sh,
  120. * emulparams/pjelf.sh, * emulparams/ppclynx.sh,
  121. * emulparams/shelf32.sh, * emulparams/shelf_nto.sh,
  122. * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh,
  123. * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh,
  124. * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set.
  125. * emulparams/arcelf.sh, * emulparams/elf32_i960.sh,
  126. * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh,
  127. * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh,
  128. * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh,
  129. * emulparams/i386moss.sh, * emulparams/i386nto.sh,
  130. * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set.
  131. 2008-10-22 Alan Modra <amodra@bigpond.net.au>
  132. * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc
  133. sections.
  134. * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc.
  135. (hold): Likewise.
  136. (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans.
  137. 2008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
  138. * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in
  139. help text of --be8.
  140. 2008-10-20 Alan Modra <amodra@bigpond.net.au>
  141. * ldemul.h (ldemul_place_orphan): Update prototype.
  142. (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
  143. * ldemul.c (ldemul_place_orphan): Return pointer to output
  144. section statement.
  145. * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise.
  146. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
  147. * emultempl/mmo.em (mmo_place_orphan): Likewise.
  148. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  149. * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  150. 2008-10-08 Nick Clifton <nickc@redhat.com>
  151. * configure.in (ALL_LINGUAS): Add "id".
  152. * configure: Regenerate.
  153. * po/id.po: New Indonesian translation.
  154. 2008-10-05 Alan Modra <amodra@bigpond.net.au>
  155. PR 6943
  156. * scripttempl/avr.sc (.bss): Set lma when relocating.
  157. (.bss, .noinit): No need to set vma when relocating.
  158. (.text, .bss, ,noinit): Set vma to zero when not relocating.
  159. 2008-10-04 Alan Modra <amodra@bigpond.net.au>
  160. PR 6931
  161. * ldemul.c (ldemul_place_orphan): Add "constraint" param.
  162. * ldemul.h (ldemul_place_orphan): Update prototype.
  163. (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
  164. * ldlang.c (unique_section_p): Make static.
  165. (lang_output_section_statement_lookup): Optimise creation of SPECIAL
  166. sections.
  167. (lang_insert_orphan): Add "constraint" param. Pass to
  168. lang_enter_output_section_statement.
  169. (init_os): Don't use an existing bfd section for SPECIAL sections.
  170. (lang_place_orphans): Don't rename unique output sections, instead
  171. mark their output section statements SPECIAL.
  172. * ldlang.h (lang_insert_orphan): Update prototype.
  173. (unique_section_p): Delete.
  174. * emultempl/beos.em (place_orphan): Add "constraint" param.
  175. * emultempl/elf32.em (place_orphan): Likewise. Don't match existing
  176. output sections if set.
  177. * emultempl/pe.em (place_orphan): Likewise.
  178. * emultempl/pep.em (place_orphan): Likewise.
  179. * emultempl/mmo.em (mmo_place_orphan): Update.
  180. * emultempl/spuelf.em (spu_place_special_section): Update.
  181. 2008-10-03 Alan Modra <amodra@bigpond.net.au>
  182. PR 6931
  183. * ldemul.c (ldemul_place_orphan): Add "name" param.
  184. * ldemul.h (ldemul_place_orphan): Update prototype.
  185. (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
  186. * ldlang.c (lang_place_orphans): Generate unique section names here..
  187. * emultempl/elf32.em (place_orphan): ..rather than here. Don't
  188. directly use an existing output section statement that has no
  189. bfd section.
  190. * emultempl/pe.em (place_orphan): Likewise.
  191. * emultempl/pep.em (place_orphan): Likewise.
  192. * emultempl/beos.em (place_orphan): Adjust.
  193. * emultempl/spuelf.em (spu_place_special_section): Adjust
  194. place_orphan call.
  195. * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
  196. (LDEMUL_AFTER_OPEN): Define.
  197. 2008-09-30 Joseph Myers <joseph@codesourcery.com>
  198. * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
  199. and .rela.branch_lt.
  200. 2008-09-30 Alan Modra <amodra@bigpond.net.au>
  201. * Makefile.am: Run "make dep-am".
  202. * Makefile.in: Regenerate.
  203. 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
  204. Steve Ellcey <sje@cup.hp.com>
  205. * configure: Regenerate for new libtool.
  206. * aclocal.m4: Ditto.
  207. * Makefile.in: Ditto.
  208. 2008-09-29 Kai Tietz <kai.tietz@onevision.com>
  209. * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
  210. 2008-09-29 Nick Clifton <nickc@redhat.com>
  211. * po/vi.po: Updated Vietnamese translation.
  212. 2008-09-25 Alan Modra <amodra@bigpond.net.au>
  213. * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
  214. 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  215. * configure.in: Call AC_SYS_LARGEFILE.
  216. * config.in: Regenerate.
  217. * configure: Regenerate.
  218. 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
  219. * emultempl/pe.em (pe_find_data_imports): Add trailing newline
  220. to warning message.
  221. * emultempl/pep.em (pep_find_data_imports): Likewise.
  222. 2008-09-08 H.J. Lu <hongjiu.lu@intel.com>
  223. 2008-09-07 Alan Modra <amodra@bigpond.net.au>
  224. * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
  225. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
  226. 2008-09-08 Tristan Gingold <gingold@adacore.com>
  227. * NEWS: Add a marker for the 2.19 features.
  228. 2008-09-07 Alan Modra <amodra@bigpond.net.au>
  229. * ldlang.h (lang_output_section_find): Define.
  230. (lang_output_section_statement_lookup): Update prototype.
  231. * ldlang.c (lang_output_section_find,
  232. lang_output_section_statement_lookup_1): Merge into..
  233. (lang_output_section_statement_lookup): ..here. Update all callers.
  234. (process_insert_statements): Set constraint negative
  235. for output section statements we might be inserting. Make error
  236. fatal on not finding insertion section.
  237. (lang_output_section_find): Rather than comparing
  238. output_section_statement.constraint against -1, test whether
  239. it is postive.
  240. (lang_output_section_statement_lookup_1): Likewise.
  241. (output_prev_sec_find, strip_excluded_output_sections): Likewise.
  242. (lang_record_phdrs): Likewise.
  243. * emultempl/elf32.em (output_rel_find): Likewise.
  244. * NEWS: Mention INSERT.
  245. 2008-08-26 Nick Clifton <nickc@redhat.com>
  246. PR 6727
  247. * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
  248. input sections in all input bfds and always select the last
  249. suitable one, so that interworking stubs are always processed
  250. after all other input sections.
  251. (arm_elf_before_allocation): Remove redundant use of
  252. output_has_begun flag.
  253. 2008-08-24 Alan Modra <amodra@bigpond.net.au>
  254. * configure.in: Update a number of obsolete autoconf macros.
  255. * configure: Regenerate.
  256. * aclocal.m4: Regenerate.
  257. 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
  258. PR ld/6833
  259. * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
  260. EXPLD.DATASEG.MIN_BASE.
  261. * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
  262. OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
  263. Use OLD_BASE now for the minimal base check after the base decrease by
  264. the maximum alignment found.
  265. 2008-08-17 Alan Modra <amodra@bigpond.net.au>
  266. PR 6478
  267. * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
  268. Don't free symbol pointer array.
  269. (check_refs): Likewise.
  270. * ldmain.c (warning_callback): Likewise.
  271. * ldmisc.c (vfinfo): Likewise.
  272. * pe-dll.c (process_def_file): Likewise.
  273. (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
  274. * emultempl/pe.em (pe_find_data_imports): Likewise.
  275. (gld_${EMULATION_NAME}_after_open): Likewise.
  276. * emultempl/pep.em (pep_find_data_imports): Likewise.
  277. (gld_${EMULATION_NAME}_after_open): Likewise.
  278. * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
  279. passive_position, closed.
  280. * ldlang.c (new_afile): Don't set asymbols and symbol_count.
  281. * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
  282. 2008-08-15 Alan Modra <amodra@bigpond.net.au>
  283. PR 6526
  284. * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
  285. * Makefile.in: Regenerate.
  286. * aclocal.m4: Regenerate.
  287. * config.in: Regenerate.
  288. * configure: Regenerate.
  289. 2008-08-09 Alan Modra <amodra@bigpond.net.au>
  290. PR 6753
  291. * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
  292. (main): Don't set_scripts_dir here.
  293. * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
  294. largely based on ldmain.c versions.
  295. (ldfile_find_command_file): Set up search in script dir here without
  296. affecting library search.
  297. * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
  298. (ldfile.o): New rule.
  299. * Makefile.in: Regenerate.
  300. 2008-08-08 Anatoly Sokolov <aesok@post.ru>
  301. * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
  302. and eavr51.o.
  303. Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
  304. * Makefile.in: Regenerate.
  305. * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
  306. and avr51.
  307. * emulparams/avr25.sh: New file.
  308. * emulparams/avr31.sh: New file.
  309. * emulparams/avr35.sh: New file.
  310. * emulparams/avr51.sh: New file.
  311. 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
  312. Daniel Jacobowitz <dan@codesourcery.com>
  313. * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
  314. (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
  315. two variables.
  316. * emulparams/elf32bmipn32-defs.sh: Likewise.
  317. * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
  318. (is_mips_elf): New macro.
  319. (stub_file, stub_bfd): New variables.
  320. (hook_stub_info): New structure.
  321. (hook_in_stub): New function.
  322. (mips_add_stub_section): Likewise.
  323. (mips_create_output_section_statements): Likewise.
  324. (mips_before_allocation): Likewise.
  325. (real_func): New variable.
  326. (mips_for_each_input_file_wrapper): New function.
  327. (mips_lang_for_each_input_file): Likewise.
  328. (lang_for_each_input_file): Define.
  329. (LDEMUL_BEFORE_ALLOCATION): Likewise.
  330. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
  331. 2008-08-08 Alan Modra <amodra@bigpond.net.au>
  332. * ldfile.c (ldfile_open_file_search): Use concat.
  333. (try_open): Don't use a fixed size pathname buffer.
  334. (ldfile_find_command_file): Likewise.
  335. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
  336. using EXTRA_SHLIB_EXTENSION, don't open twice.
  337. 2008-08-04 Alan Modra <amodra@bigpond.net.au>
  338. * Makefile.am (POTFILES.in): Set LC_ALL=C.
  339. * Makefile.in: Regenerate.
  340. * po/POTFILES.in: Regenerate.
  341. 2008-08-03 Alan Modra <amodra@bigpond.net.au>
  342. * Makefile.am (spu_ovl.o): Merge rule into..
  343. (spu_ovl.o_c): ..this one. Only run cpp for spu target.
  344. * Makefile.in: Regenerate.
  345. 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
  346. Include the spu_ovl ASCII form in the repository files.
  347. * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
  348. * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
  349. ($(srcdir)/emultempl/spu_ovl.o_c): New target.
  350. ($(srcdir)/emultempl/spu_ovl.o): Rename to...
  351. (spu_ovl.o): ...this one.
  352. * Makefile.in: Regenerate.
  353. * emultempl/spu_ovl.o_c: New file.
  354. * emultempl/spu_ovl.o: File removed.
  355. 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
  356. * pe-dll.c (generate_relocs): Don't generate relocs for
  357. undefined weak symbols.
  358. 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
  359. * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
  360. 2008-07-30 Alan Modra <amodra@bigpond.net.au>
  361. * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
  362. 2008-07-18 Joseph Myers <joseph@codesourcery.com>
  363. * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
  364. * emultempl/armelf.em (no_wchar_size_warning): New.
  365. (arm_elf_create_output_section_statements): Pass
  366. no_wchar_size_warning to arm_elf_create_output_section_statements.
  367. (OPTION_NO_WCHAR_SIZE_WARNING): New.
  368. (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
  369. (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
  370. (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
  371. 2008-07-15 Jie Zhang <jie.zhang@analog.com>
  372. * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
  373. 2008-07-12 Craig Silverstein <csilvers@google.com>
  374. PR ld/6741
  375. * configure.in: Check for, and include, libz.a if it is present.
  376. * configure: Regenerate.
  377. * config.in: Regenerate.
  378. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  379. Revert
  380. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  381. * Makefile.am (eelf32bfin.c): Depend on bfin.em.
  382. (eelf32bfinfd.c): Likewise.
  383. * Makefile.in: Regenerate.
  384. * gen-doc.texi: Set Blackfin.
  385. * ld.texinfo: Document --sep-code and Blackfin specific
  386. options.
  387. * ldmain.c (main): Initialize link_info.sep_code.
  388. * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
  389. (ld_options[]): Add --sep-code.
  390. (parse_args): Deal with --sep-code.
  391. * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
  392. * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
  393. * emultempl/bfin.em: New file.
  394. 2008-07-12 Jie Zhang <jie.zhang@analog.com>
  395. * Makefile.am (eelf32bfin.c): Depend on bfin.em.
  396. (eelf32bfinfd.c): Likewise.
  397. * Makefile.in: Regenerate.
  398. * gen-doc.texi: Set Blackfin.
  399. * ld.texinfo: Document --sep-code and Blackfin specific
  400. options.
  401. * ldmain.c (main): Initialize link_info.sep_code.
  402. * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
  403. (ld_options[]): Add --sep-code.
  404. (parse_args): Deal with --sep-code.
  405. * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
  406. * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
  407. * emultempl/bfin.em: New file.
  408. 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
  409. *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
  410. starting with ".".
  411. Exclude "_IMPORT_DESCRIPTOR_".
  412. (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
  413. (autofilter_symbollist_generic): Don't check for ".text".
  414. Exclude "_NULL_IMPORT_DESCRIPTOR".
  415. (autofilter_symbollist_i386): Likewise.
  416. 2008-07-07 Alan Modra <amodra@bigpond.net.au>
  417. * emultempl/armelf.em (elf32_arm_add_stub_section): Use
  418. bfd_make_section_with_flags.
  419. * emultempl/avrelf.em (avr_elf_create_output_section_statements):
  420. Likewise.
  421. * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
  422. * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
  423. * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
  424. * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
  425. * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
  426. * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
  427. Likewise.
  428. 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
  429. * ld.texinfo (File Commands): Document that INCLUDE can be used in
  430. several different places.
  431. * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
  432. (memory, memory_spec_list): Simplify BNF
  433. (memory_spec_list_opt): New rule.
  434. * ldlex.l (INCLUDE): Recognize in EXPRESSION.
  435. 2008-06-20 Alan Modra <amodra@bigpond.net.au>
  436. * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
  437. build overlay stubs" a fatal error.
  438. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  439. * config.in: Regenerate.
  440. * configure: Regenerate.
  441. 2008-06-17 Alan Modra <amodra@bigpond.net.au>
  442. * emultempl/spuelf.em (extra_stack_space): New variable.
  443. (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
  444. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
  445. PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
  446. * emultempl/spu_ovl.S: Mask interrupts during dma and update of
  447. overlay manager structures.
  448. * emultempl/spu_ovl.o: Regenerate.
  449. 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
  450. * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
  451. mention it as being special for global symbols.
  452. 2008-06-12 Nick Clifton <nickc@redhat.com>
  453. * ldlang.c (print_output_section_statement): If the output section
  454. statement has an update_dot_tree expression, apply it to
  455. print_dot.
  456. (print_input_section): Do not update print_dot if it would move
  457. print_dot backwards.
  458. (lang_do_assignments_1): If the output section statement has an
  459. update_dot_tree expression apply it to dot.
  460. 2008-06-07 Alan Modra <amodra@bigpond.net.au>
  461. * NEWS: Mention archive:path patterns.
  462. * ld.texinfo: Likewise.
  463. * ldlang.c: Formatting throughout.
  464. (archive_path): Only assume "[A-Za-z]:" is a dos drive.
  465. (input_statement_is_archive_path): New function, extracted from..
  466. (walk_wild): ..here.
  467. (walk_wild_consider_section): Match archive:path here too.
  468. (init_map_userdata, sort_def_symbol): Convert to ISO C.
  469. * ldmain.c (main): Set link_info.path_separator.
  470. * emultempl/spuelf.em (choose_target): Don't set it here.
  471. 2008-06-06 Alan Modra <amodra@bigpond.net.au>
  472. * ldlang.c (name_match): New function.
  473. (unique_section_p, walk_wild_consider_section): Use it here.
  474. (walk_wild_section_general): And here.
  475. (archive_path): New function.
  476. (walk_wild): Match archive:path filespecs.
  477. (open_input_bfds): Don't load archive:path files.
  478. * emultempl/spuelf.em (choose_target): Set path_separator.
  479. * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
  480. 2008-06-04 Nick Clifton <nickc@redhat.com>
  481. * ld.texinfo (Orphan Sections): Fix texi typo.
  482. 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
  483. * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
  484. (ld_options): Add entry for --no-fatal-warnings.
  485. (parse_args): Handle OPTION_NO_WARN_FATAL.
  486. * ld.texinfo (Options): Document new command line switch.
  487. 2008-06-04 Alan Modra <amodra@bigpond.net.au>
  488. * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
  489. 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
  490. * ldlang.c (closest_target_match): Skip generic big and little
  491. endian ELF targets.
  492. 2008-05-31 Evandro Menezes <evandro@yahoo.com>
  493. PR ld/6430
  494. * ld.h (enum sort_order): New.
  495. * ldlang.c (lang_check: Fix comment.
  496. (lang_common): Sort commons in ascending or descending order.
  497. (lang_one_common): Likewise.
  498. * lexsup.c (ld_options): Have --sort-common take an option
  499. argument.
  500. (parse_args): Handle argument to --sort-common.
  501. * ld.texinfo (--sort-common): Document new optional argument.
  502. * NEWS: Mention new feature.
  503. 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
  504. * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
  505. only.
  506. 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
  507. * pe-dll.c (fill_edata): Make sure we calculate vma's in
  508. type bfd_vma.
  509. (generate_reloc): Likewise.
  510. (pe_implied_import_dll): Likewise.
  511. 2008-05-21 Nick Clifton <nickc@redhat.com>
  512. PR ld/6519
  513. * ld.texinfo (Orphan Sections): Mention that the linker will
  514. provide start and stop symbols for orphaned sections if their
  515. names are valid C identifiers.
  516. * NEWS: Add an addendum to the description of the linker feature
  517. for providing orphan section start and end symbols.
  518. 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
  519. * configure.in (--enable-got): New option. Handle it.
  520. * configure: Regenerate.
  521. * config.in: Regenerate.
  522. * emultempl/m68kelf.em: (got_handling_target_default): New shell
  523. variable.
  524. (GOT_HANDLING_TARGET_DEFAULT): New macro.
  525. (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
  526. option if one was given.
  527. (got_handling): New static variable.
  528. (elf_m68k_create_output_section_statements): New static function
  529. implementing hook.
  530. (PARSE_AND_LIST_PROLOGUE): Define shell variable.
  531. (OPTION_GOT): New macro.
  532. (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
  533. --got option.
  534. (got): New linker option.
  535. (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
  536. for --got option.
  537. (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
  538. option.
  539. * ld.texinfo: Document --got=<type> option.
  540. * gen-doc.texi: Add M68K.
  541. * NEWS: Mention the new feature.
  542. 2008-05-21 Evandro Menezes <evandro@yahoo.com>
  543. PR ld/6430
  544. * ld.texinfo (--sort-common): Correct documentation to indicate
  545. that sorting is performed by alignment, not size, biggest
  546. alignment first.
  547. 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
  548. Nick Clifton <nickc@redhat.com>
  549. * ld.texinfo (ARM): Document --stub-group-size=N option.
  550. Move description of --pic-veneer option into the ARM section.
  551. * NEWS: Mention the support for long function calls.
  552. 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
  553. * emultempl/armelf.em (build_section_lists): New function.
  554. (stub_file): Define.
  555. (need_laying_out): Define.
  556. (group_size): Define.
  557. (hook_stub_info): Define.
  558. (hook_in_stub): New function.
  559. (elf32_arm_add_stub_section): New function.
  560. (gldarm_layout_sections_again): New function.
  561. (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
  562. stubs for long calls if needed.
  563. (arm_elf_create_output_section_statements): create stub_file bfd.
  564. (arm_for_each_input_file_wrapper): New function.
  565. (arm_lang_for_each_input_file): New function.
  566. (lang_for_each_input_file): Define.
  567. (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
  568. (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
  569. (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
  570. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
  571. (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
  572. * lang.c (print_input_statement): Skip if bfd has
  573. BFD_LINKER_CREATED.
  574. 2008-05-14 Alan Modra <amodra@bigpond.net.au>
  575. * Makefile.in: Regenerate.
  576. 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
  577. ld/PR6502
  578. * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
  579. of long and change return type to bfd_vma.
  580. (definfo): Change type of address from long to bfd_vma.
  581. (set_pep_value): Replace strtoul to strtoull.
  582. (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
  583. * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
  584. ImageBase.
  585. (quick_reloc): Change argument address from int to bfd_size_type.
  586. 2008-05-08 Tom Tromey <tromey@redhat.com>
  587. * ld.texinfo (PowerPC64 ELF64): Fix typo.
  588. 2008-05-08 Alan Modra <amodra@bigpond.net.au>
  589. * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
  590. * elf32ppc.sh: If building with spu support, put ".data.spehandle"
  591. sections at the start of ".data" and provide a symbol to locate
  592. the directory of embedded spe programs.
  593. 2008-05-08 Alan Modra <amodra@bigpond.net.au>
  594. * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
  595. MAX_K.
  596. (fold_binary <SEGMENT_START>): Set expld.result.section to
  597. current section. Expand comment. Formatting.
  598. (fold_name <DEFINED>): Set expld.result.section to current section.
  599. 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
  600. * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
  601. non-load sections.
  602. 2008-04-25 Michael Frysinger <vapier@gentoo.org>
  603. * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
  604. and targ_extra_emuls to elf32bfin.
  605. 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
  606. * aclocal.m4: Regenerate.
  607. * configure: Regenerate.
  608. 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
  609. * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
  610. 2008-04-08 Alan Modra <amodra@bigpond.net.au>
  611. * po/POTFILES.in: Regenerate.
  612. 2008-04-08 Alan Modra <amodra@bigpond.net.au>
  613. * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
  614. auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
  615. (spu_before_allocation): Warn on --auto-overlay and existing overlays.
  616. (struct tflist, clean_tmp): Move.
  617. (new_tmp_file): New function, extracted from..
  618. (embedded_spu_file): ..here.
  619. (spu_elf_open_overlay_script, spu_elf_relink): New function.
  620. (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
  621. Warn on --auto-overlay and zero local store.
  622. (gld${EMULATION_NAME}_choose_target): New function to stash argv.
  623. (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
  624. OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
  625. OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
  626. (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
  627. (PARSE_AND_LIST_OPTIONS): Likewise.
  628. (PARSE_AND_LIST_ARGS_CASES): Likewise.
  629. (LDEMUL_CHOOSE_TARGET): Define.
  630. 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
  631. PR ld/6026
  632. * pe-dll.c (make_head): Fix iat and thunk addend offset.
  633. 2008-03-31 Nick Clifton <nickc@redhat.com>
  634. * po/fr.po: Updated French translation.
  635. 2008-03-24 Ian Lance Taylor <iant@google.com>
  636. The sha1 code is now in libiberty.
  637. * sha1.c: Remove.
  638. * sha1.h: Remove.
  639. * Makefile.am (CFILES): Remove sha1.c.
  640. (HFILES): Remove sha1.h.
  641. (OFILES): Remove sha1.o.
  642. (ld_new_SOURCES): Remove sha1.c.
  643. (sha1.o): Remove target.
  644. * Makefile.in: Rebuild.
  645. 2008-03-20 Alan Modra <amodra@bigpond.net.au>
  646. * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
  647. 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  648. * aclocal.m4: Regenerate.
  649. * configure: Likewise.
  650. * Makefile.in: Likewise.
  651. 2008-03-14 Alan Modra <amodra@bigpond.net.au>
  652. * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
  653. spu_elf_build_stubs with is_spu_target.
  654. 2008-03-13 Alan Modra <amodra@bigpond.net.au>
  655. * Makefile.am: Run "make dep-am".
  656. * Makefile.in: Regenerate.
  657. * configure: Regenerate.
  658. 2008-03-06 Joseph Myers <joseph@codesourcery.com>
  659. Roman Zippel <zippel@linux-m68k.org>
  660. * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
  661. (COMMONPAGESIZE): Define.
  662. 2008-02-22 Nick Clifton <nickc@redhat.com>
  663. PR ld/5785
  664. * ldlang.c (lang_size_sections_1): Honour the setting of an
  665. lma_region even if there is no vma region set, or the vma region
  666. is the same as the lma region.
  667. 2008-02-18 Nick Clifton <nickc@redhat.com>
  668. * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
  669. relocatable link.
  670. * scripttempl/elf32cr16.sc: Likewise.
  671. * scripttempl/elf32cr16c.sc: Likewise.
  672. * scripttempl/elf32crx.sc: Likewise.
  673. * scripttempl/elf32sh-symbian.sc: Likewise.
  674. * scripttempl/elf_chaos.sc: Likewise.
  675. * scripttempl/elfd10v.sc: Likewise.
  676. * scripttempl/elfi370.sc: Likewise.
  677. * scripttempl/elfm68hc11.sc: Likewise.
  678. * scripttempl/elfm68hc12.sc: Likewise.
  679. * scripttempl/ip2k.sc: Likewise.
  680. * scripttempl/iq2000.sc: Likewise.
  681. * scripttempl/mep.sc: Likewise.
  682. * scripttempl/v850.sc: Likewise.
  683. * scripttempl/xstormy16.sc: Likewise.
  684. 2008-02-16 Alan Modra <amodra@bigpond.net.au>
  685. PR ld/5761
  686. * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
  687. load_base before calling make_abs.
  688. 2008-02-15 Alan Modra <amodra@bigpond.net.au>
  689. * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
  690. * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
  691. Likewise.
  692. * emultempl/ppc64elf.em (ppc_create_output_section_statements):
  693. Likewise.
  694. * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
  695. uses with..
  696. (is_ppc_elf): ..this new macro.
  697. 2008-02-15 Alan Modra <amodra@bigpond.net.au>
  698. * ldmain.h (output_bfd): Delete.
  699. * ldmain.c (output_bfd): Delete.
  700. Replace all occurrences of output_bfd with link_info.output_bfd.
  701. * ldcref.c: Likewise.
  702. * ldctor.c: Likewise.
  703. * ldemul.c: Likewise.
  704. * ldexp.c: Likewise.
  705. * ldfile.c: Likewise.
  706. * ldlang.c: Likewise.
  707. * ldmisc.c: Likewise.
  708. * ldwrite.c: Likewise.
  709. * pe-dll.c: Likewise.
  710. * emultempl/aix.em: Likewise.
  711. * emultempl/alphaelf.em: Likewise.
  712. * emultempl/armcoff.em: Likewise.
  713. * emultempl/armelf.em: Likewise.
  714. * emultempl/avrelf.em: Likewise.
  715. * emultempl/beos.em: Likewise.
  716. * emultempl/elf-generic.em: Likewise.
  717. * emultempl/elf32.em: Likewise.
  718. * emultempl/gld960.em: Likewise.
  719. * emultempl/hppaelf.em: Likewise.
  720. * emultempl/irix.em: Likewise.
  721. * emultempl/linux.em: Likewise.
  722. * emultempl/lnk960.em: Likewise.
  723. * emultempl/m68hc1xelf.em: Likewise.
  724. * emultempl/mmix-elfnmmo.em: Likewise.
  725. * emultempl/mmo.em: Likewise.
  726. * emultempl/pe.em: Likewise.
  727. * emultempl/pep.em: Likewise.
  728. * emultempl/ppc32elf.em: Likewise.
  729. * emultempl/ppc64elf.em: Likewise.
  730. * emultempl/scoreelf.em: Likewise.
  731. * emultempl/sh64elf.em: Likewise.
  732. * emultempl/spuelf.em: Likewise.
  733. * emultempl/sunos.em: Likewise.
  734. * emultempl/vanilla.em: Likewise.
  735. * emultempl/vxworks.em: Likewise.
  736. * emultempl/xtensaelf.em: Likewise.
  737. * emultempl/z80.em: Likewise.
  738. * ldlang.c (open_output): Don't return output, instead write
  739. link_info_output_bfd directly.
  740. * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
  741. with link_info.output_bfd->xvec.
  742. * emultempl/hppaelf.em: Likewise.
  743. * emultempl/ppc32elf.em: Likewise.
  744. * emultempl/ppc64elf.em: Likewise.
  745. * emultempl/spuelf.em: Likewise.
  746. 2008-02-07 Alan Modra <amodra@bigpond.net.au>
  747. * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
  748. * ldfile.c (ldfile_add_library_path): Likewise.
  749. * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
  750. * emultempl/lnk960.em (lnk960_before_parse): Likewise.
  751. * emultempl/spuelf.em (embedded_spu_file): Likewise.
  752. 2008-02-07 Alan Modra <amodra@bigpond.net.au>
  753. * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
  754. a "present" bit rather than low bit of .buf. Correct indexing
  755. into _ovly_buf_table. Use relative loads and stores to access
  756. overlay manager local vars.
  757. * emultempl/spu_ovl.o: Regenerate.
  758. 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
  759. PR 5715
  760. * configure: Regenerated.
  761. 2008-01-31 Marc Gauthier <marc@tensilica.com>
  762. * configure.tgt (xtensa*-*-*): Recognize processor variants.
  763. 2008-01-28 Fabian Groffen <grobian@gentoo.org>
  764. * configure.tgt (x86_64-*-solaris2): Add support for this target.
  765. 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
  766. PR ld/5652
  767. * genscripts.sh: Check for the existence of BASH_LINENO not just
  768. the BASH shell before generating line numbers in the emulation
  769. file.
  770. 2008-01-28 Alan Modra <amodra@bigpond.net.au>
  771. * emultempl/spu_ovl.S: Rewrite.
  772. * emultempl/spu_ovl.o: Regenerate.
  773. * emultempl/spuelf.em (toe): Delete.
  774. (spu_place_special_section): Add param to control section placement.
  775. Adjust callers.
  776. (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
  777. changes.
  778. (spu_before_allocation): Adjust spu_elf_size_stubs call.
  779. (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
  780. 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
  781. PR ld/5670
  782. * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
  783. warning.
  784. 2008-01-25 Alan Modra <amodra@bigpond.net.au>
  785. * ld.texinfo (INSERT): Describe.
  786. * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
  787. (INSERT_K, AFTER, BEFORE): Add as tokens.
  788. (ifile_p1): Handle INSERT statements.
  789. (saved_script_handle, force_make_executable): Move to..
  790. * ldmain.c: ..here.
  791. (previous_script_handle): New global var.
  792. * ldmain.h (saved_script_handle, force_make_executable): Declare.
  793. (previous_script_handle): Likewise.
  794. * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
  795. * lexsup.c (parge_args <-T>): Set previous_script_handle.
  796. * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
  797. (map_input_to_output_sections, print_statement): Likewise.
  798. (lang_size_sections_1, lang_do_assignments_1): Likewise.
  799. (insert_os_after): New function, extracted from..
  800. (lang_insert_orphan): ..here.
  801. (process_insert_statements): New function.
  802. (lang_process): Call it.
  803. (lang_add_insert): New function.
  804. * ldlang.h (lang_insert_statement_enum): New.
  805. (lang_insert_statement_type): New.
  806. (lang_statement_union_type): Add insert_statement.
  807. (lang_add_insert): Declare.
  808. 2008-01-18 Bob Wilson <bob.wilson@acm.org>
  809. * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
  810. changes from elf.sc.
  811. 2008-01-16 Alan Modra <amodra@bigpond.net.au>
  812. * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
  813. 2008-01-16 Alan Modra <amodra@bigpond.net.au>
  814. * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
  815. (lang_afile_asection_pair_statement_type): Delete.
  816. (lang_statement_union_type): Delete afile_asection_pair_statement.
  817. * ldlang.c (lang_insert_orphan): Delete case handling the above.
  818. (map_input_to_output_sections, print_statement): Likewise.
  819. 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  820. * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
  821. with __data_start.
  822. * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
  823. 2008-01-15 Alan Modra <amodra@bigpond.net.au>
  824. PR 5604
  825. * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
  826. syms to _bfd_elf_gc_keep.
  827. * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
  828. ppc64_elf_edit_opd if no_opd_opt.
  829. 2008-01-11 Tristan Gingold <gingold@adacore.com>
  830. Eric Botcazou <ebotcazou@adacore.com>
  831. * ldlang.c (lang_end): Warns if the entry point is not found when
  832. --gc-sections.
  833. Emit an error if no root is specified when --gc-sections -r.
  834. * ld.texinfo (Options): Document that --gc-sections is compatible
  835. with -r and -q.
  836. * ldmain.c (main): Do not error out if -r and --gc-sections.
  837. * scripttempl/elf.sc: Emit ENTRY command only if relocating.
  838. 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
  839. PR ld/5533
  840. * ldlang.c (lang_end): Issue a warning for a missing start symbol
  841. of a shared library if the symbol was specified on the command
  842. line.
  843. 2008-01-10 Alan Modra <amodra@bigpond.net.au>
  844. * ld.texinfo (--gc-sections): Describe linker behaviour.
  845. For older changes see ChangeLog-2007
  846. Copyright (C) 2008 Free Software Foundation, Inc.
  847. Copying and distribution of this file, with or without modification,
  848. are permitted in any medium without royalty provided the copyright
  849. notice and this notice are preserved.
  850. Local Variables:
  851. mode: change-log
  852. left-margin: 8
  853. fill-column: 74
  854. version-control: never
  855. End: