ChangeLog-9899 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114
  1. 1999-12-02 Nick Clifton <nickc@cygnus.com>
  2. * Makefile.am: Fix arm-epoc-pe dependencies.
  3. * Makefile.in: Regenerate.
  4. * emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe.
  5. * scripttempl/epocpe.sc: New file: copy of pe.sc, customised for
  6. EPOC by placing .rdata into .text.
  7. 1999-11-26 Andreas Schwab <schwab@suse.de>
  8. * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for
  9. STRINGIFY. Use yes/no instead of true/false as value for cache
  10. variable.
  11. * configure: Regenerate.
  12. 1999-11-24 Nick Clifton <nickc@cygnus.com>
  13. * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD
  14. attributes in order to be checked.
  15. 1999-11-22 Nick Clifton <nickc@cygnus.com>
  16. * ldlang.c (lang_check_section_addresses): Fix test to determine
  17. if a section should be tested.
  18. (IGNORE_SECTION): New macro.
  19. Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com)
  20. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  21. Clean up code to use EXTRA_SHLIB_EXTENSION.
  22. 1999-11-03 Nick Clifton <nickc@cygnus.com>
  23. * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian.
  24. * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian.
  25. 1999-11-01 Steve Chamberlain <sac@pobox.com>
  26. * ldlang.c (section_already_linked): Rework to use hash table.
  27. (already_linked_newfunc): New function.
  28. (already_linked_table_init): New function.
  29. (already_linked_table_free): New function.
  30. (lang_process): Initialize and free the already_linked hash table.
  31. 1999-10-27 Andreas Jaeger <aj@suse.de>
  32. * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
  33. target "mips*-*-linux-gnu*".
  34. 1999-10-27 Scott Bambrough <scottb@netwinder.org>
  35. * emultempl/armelf.em: Include ctype.h to prevent compile time
  36. warnings.
  37. 1999-10-26 Nick Clifton <nickc@cygnus.com>
  38. * emultempl/armcoff.em (gld{}_finish): Remove extraneous
  39. underscore from prototype.
  40. * emultempl/armelf.em (gld{}_finish): Remove extraneous
  41. underscore from prototype.
  42. 1999-10-07 Geoffrey Keating <geoffk@cygnus.com>
  43. * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs
  44. being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*.
  45. (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*.
  46. (.rel.sbss): Make like .rel.bss.
  47. (.rela.sbss): Make like .rel.bss.
  48. (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
  49. ld -r.
  50. (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS,
  51. .dynsbss.
  52. 1999-09-29 Andrew Haley <aph@cygnus.com>
  53. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer
  54. merging sections when not relocating.
  55. 1999-09-28 Mumit Khan <khan@xraylith.wisc.edu>
  56. * pe-dll.c (process_def_file): Move the offset lookup from here to
  57. (fill_exported_offsets): here. New static function.
  58. (fill_edata): Use.
  59. 1999-09-28 Mumit Khan <khan@xraylith.wisc.edu>
  60. * deffilep.y (tokens): Add upper and lower case versions of DATA,
  61. CONSTANT, NONAME and PRIVATE tokens.
  62. (command): Use DATAU.
  63. (expline): Allow for drectve syntax as well.
  64. (exp_opt_list): Likewise.
  65. (exp_opt): Likewise.
  66. * pe-dll.c (make_one): Only generate the idata entries for data
  67. symbols.
  68. 1999-09-28 Geoffrey Keating <geoffk@cygnus.com>
  69. * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
  70. in .sdata too.
  71. 1999-09-26 Nick Clifton <nickc@cygnus.com>
  72. * scripttempl/elf.sc (.bss): Accept sections named .bss.*
  73. (.sbss): Accept sections names .sbss.*
  74. 1999-09-22 Nick Clifton <nickc@cygnus.com>
  75. * Makefile.am: Add earm_epoc_pe.c build target.
  76. Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com)
  77. * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs",
  78. they've been renamed to ".stub", which is handled automatically
  79. by elf.sc.
  80. Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com)
  81. * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
  82. (DATA_START_SYMBOLS): Kill __hp_load_map definition
  83. Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com)
  84. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  85. Use the same filename extension for the bfd_elf_dt_needed_name call
  86. as we did for finding the library.
  87. * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
  88. (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
  89. * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
  90. Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com)
  91. * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
  92. (SHLIB_DATA_ADDR): Likewise.
  93. * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
  94. * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): No longer combine
  95. the .plt, .dlt, .opd into a single output section. Provide values
  96. for __gp and __hp_load_map.
  97. 1999-09-14 Michael Meissner <meissner@cygnus.com>
  98. * configure.in (Canonicalization of target names): Remove adding
  99. ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
  100. generates $ac_config_sub with a ${CONFIG_SHELL} already.
  101. * configure: Regenerate.
  102. 1999-09-14 Donn Terry <donn@interix.com>
  103. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
  104. terminating null.
  105. 1999-09-14 Ulrich Drepper <drepper@cygnus.com>
  106. * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target.
  107. * config.in: Add EXTRA_SHLIB_EXTENSION.
  108. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  109. Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION
  110. is defined.
  111. 1999-09-14 Nick Clifton <nickc@cygnus.com>
  112. * Makefile.in: Add earm_epoc_pe.c build target.
  113. Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com)
  114. * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt.
  115. 1999-09-13 Donn Terry <donn@interix.com>
  116. * emultempl/pe.em: Remove the output file at the start, in case it
  117. is not writable.
  118. Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com)
  119. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  120. Search for file with .sl extension if no file with a .so extension
  121. is found.
  122. * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
  123. at the start of the .dlt output section.
  124. 1999-09-12 Ian Lance Taylor <ian@zembu.com>
  125. * emultempl/pe.em: Don't include "../bfd/libbfd.h".
  126. (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than
  127. bfd_alloc.
  128. * pe-dll.h: New file.
  129. * pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed
  130. to avoid warnings.
  131. (edata_sz, reloc_sz): Change from int to size_t.
  132. (pe_details_type): Change type of imagebase_reloc from int to
  133. unsigned int.
  134. (pe_detail_list): Fully initialize last entry.
  135. (pe_dll_id_target): Change parameter to const.
  136. (pe_dll_generate_def_file): Likewise.
  137. (pe_dll_generate_implib): Likewise.
  138. (pe_implied_import_dll): Likewise. Change dll_name to const.
  139. * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in
  140. pe-dll.h.
  141. (init): Fully initialize __dll__ entry.
  142. (gld_${EMULATION_NAME}_after_open): Remove unused variables
  143. sequence, elt, and i.
  144. * deffile.h: Add preprocessor guard.
  145. * deffilep.y (def_debug): Remove.
  146. * Makefile.am: Rebuild dependencies.
  147. (HFILES): Add pe-dll.h.
  148. 1999-09-12 Donn Terry <donn@interix.com>
  149. * ld.h (ld_abort): Declare.
  150. (abort): Define.
  151. * ldmisc.c (ld_abort): Define.
  152. * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
  153. Move .bss section after .rdata. Move .reloc section after .rsrc.
  154. * lexsup.c (parse_args): Use strtoul for --split-by-reloc
  155. argument.
  156. * lexsup.c (parse_args): If we get an unrecognized argument,
  157. mention --help.
  158. * ldlang.c (section_already_linked): Use comdat information if it
  159. is available.
  160. * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If
  161. OVERRIDE_SECTION_ALIGNMENT is defined, change to that.
  162. (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is
  163. defined, rather than a.exe.
  164. (init): Define __subsystem__ as ${SUBSYSTEM}.
  165. (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol
  166. name.
  167. 1999-09-12 Ian Lance Taylor <ian@zembu.com>
  168. * ldlang.c (open_output): Change local variable desired_endian
  169. from int to enum bfd_endian.
  170. * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and
  171. INITIAL_SYMBOL_CHAR.
  172. * emulparams/armpe.sh: Likewise.
  173. * emulparams/morepe.sh: Likewise.
  174. * emulparams/ppcpe.sh: Likewise.
  175. * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup.
  176. (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM.
  177. Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com)
  178. * emulparms/elf64hppa.sh (LIB_PATH): Define.
  179. * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before
  180. unwinders so that they are closer to the text section.
  181. (OTHER_BSS_SECTIONS): Define.
  182. (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS.
  183. (INIT_START, INIT_END): Define.
  184. (FINI_START, FINI_END): Define.
  185. * scripttempl/elf.sc: Add support for INIT_START, INIT_END,
  186. FINI_START, FINI_END and OTHER_BSS_SECTIONS.
  187. Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com)
  188. * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page.
  189. (DATA_ADDR): Define.
  190. 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
  191. * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004.
  192. 1999-09-09 Andreas Schwab <schwab@suse.de>
  193. * ld.texinfo: Fix arguments of @var to not contain punctuation.
  194. Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com)
  195. * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define.
  196. 1999-09-08 Ulrich Drepper <drepper@cygnus.com>
  197. * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64.
  198. Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com)
  199. * emulparms/elf64hppa.sh (ENTRY): Define to main.
  200. 1999-09-03 Scott Bambrough <scottb@netwinder.org>
  201. * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
  202. target "arm*-*-linux-gnu*"
  203. 1999-09-04 Steve Chamberlain <sac@pobox.com>
  204. * configure.tgt (pjl-*-*, pj-*-*): New targets.
  205. * emulparams/pjelf.sh: New file.
  206. * emulparams/pjlelf.sh: New file.
  207. * scripttempl/pj.sc: New file.
  208. * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o.
  209. (epjelf.o, epjlelf.o): New targets.
  210. * Makefile.in: Rebuild.
  211. Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com)
  212. * emulparams/elf64hppa.sh (MAXPAGESIZE): Define.
  213. (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise.
  214. Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com)
  215. * emulparams/elf64hppa.sh: New file.
  216. * configure.tgt (hppa*w-*-*): Use elf64hppa emulation.
  217. * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o
  218. (eelf64hppa.c): Add dependencies.
  219. * Makefile.in: Rebuilt.
  220. 1999-08-25 Philip Blundell <pb@nexus.co.uk>
  221. * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__.
  222. * emulparams/armelf_linux.sh: Likewise.
  223. * emulparams/armelf_linux26.sh: Likewise.
  224. 1999-08-24 Nick Clifton <nickc@cygnus.com>
  225. From a patch submitted by Roland McGrath <roland@baalperazim.frob.com>
  226. * configure.tgt (arm-*-netbsd*): New target.
  227. * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o.
  228. (earmnbsd.c): New rule with deps.
  229. * Makefile.in: Regenerate.
  230. * emulparams/armnbsd.sh: New file.
  231. 1999-08-23 Nick Clifton <nickc@cygnus.com>
  232. * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define.
  233. Implement --base-file command line switch.
  234. * emultempl/elf32.em: Add ability for individual targets to have
  235. their own command line switches by defining PARSE_AND_LIST_ARGS.
  236. 1999-08-19 Andreas Schwab <schwab@suse.de>
  237. * configure.host: Use ${CC} instead of gcc for finding compiler
  238. related files.
  239. 1999-08-11 Nick Clifton <nickc@cygnus.com>
  240. * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo.
  241. 1999-08-09 Mark Elbrecht <snowball3@bigfoot.com>
  242. * scripttempl/i386go32.sc: Handle g++ exception sections.
  243. 1999-08-09 Ian Lance Taylor <ian@zembu.com>
  244. From Wally Iimura <iimura@microunity.com>:
  245. * ldlang.c (lang_size_sections): When checking whether an address
  246. is within a region, don't get confused by wrapping around at the
  247. end of the address space.
  248. 1999-08-08 Ian Lance Taylor <ian@zembu.com>
  249. * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to
  250. SEC_SMALL_DATA.
  251. * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
  252. MKDEP. Rebuild dependencies.
  253. * Makefile.in: Rebuild.
  254. 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
  255. * configure.host (sparc-*-linux-gnu*): New host.
  256. (sparc64-*-linux-gnu*): New host.
  257. 1999-08-06 Ian Lance Taylor <ian@zembu.com>
  258. * lexsup.c (is_num): Reindent.
  259. (parse_args): Mention program name in error message.
  260. * emultempl/ostring.sed: Rename from stringify.sed.
  261. * emultempl/astring.sed: New file.
  262. * Makefile.am (stringify.sed): New target.
  263. (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to
  264. stringify.sed.
  265. * configure.in: Define and substitute STRINGIFY.
  266. * emultempl/*.em: Use stringify.sed from build directory rather
  267. than source directory.
  268. * emultempl/elf32.em: Use stringify.sed rather than inline sed
  269. script.
  270. * emultempl/gld960.em, emultempl/gld960c.em: Likewise.
  271. * emultempl/hppaelf.em, emultempl/linux.em: Likewise.
  272. * emultempl/lnk960.em, emultempl/sunos.em: Likewise.
  273. * configure, Makefile.in: Rebuild.
  274. 1999-08-05 Donn Terry <donn@interix.com>
  275. * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and
  276. INITIAL_SYMBOL_CHAR.
  277. * emulparams/i386pe_posix.sh: New file.
  278. * Makefile.am (YACC): If bison is not in the source tree, use
  279. @YACC@ rather than bison -y.
  280. (LEX): If flex is not in the source tree, use @LEX@ rather than
  281. flex.
  282. (ALL_EMULATIONS): Add ei386pe_posix.o.
  283. (ei386pe_posix.c): New target.
  284. * configure.tgt (i[3456]86-*-interix*): New target.
  285. * configure.host (i[3456]86-pc-interix*): New host.
  286. * Makefile.in: Rebuild.
  287. 1999-08-03 Ian Lance Taylor <ian@zembu.com>
  288. * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000.
  289. * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise.
  290. 1999-08-03 H.J. Lu <hjl@gnu.org>
  291. * Makefile.am (ALL_EMULATIONS): Remove ego32.o.
  292. (ego32.c): Remove.
  293. * Makefile.in: Rebuild.
  294. 1999-07-22 Philip Blundell <pb@nexus.co.uk>
  295. * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define.
  296. (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise.
  297. * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define.
  298. * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*,
  299. thumb-*-linux-gnu*): New targets.
  300. 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
  301. * scripttempl/i386go32.sc: Add handling of linkonce sections.
  302. * configure.bat: Remove; obsolete.
  303. * emulparams/go32.sh: Remove; obsolete.
  304. * scripttempl/go32coff.sc: Remove; obsolete.
  305. 1999-07-21 H.J. Lu <hjl@gnu.org>
  306. * configure.tgt (mips*el-*-vxworks*): New target.
  307. 1999-07-21 Brad M. Garcia <bgarcia@fore.com>
  308. * configure.tgt (i[3456]86-*-vxworks*): New target.
  309. Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com>
  310. * ldlang.c (lang_gc_sections): Only handle the start symbol
  311. specially if there is one.
  312. Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com>
  313. * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add
  314. .MIPS.events and .MIPS.content handling.
  315. * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise.
  316. 1999-07-17 Nick Clifton <nickc@cygnus.com>
  317. * ldlang.c (get_target): New function: Return true iff the
  318. given target is the target being sought.
  319. (stricpy): New function: Like strcpy but convert to lower
  320. case as well.
  321. (strcut): New function: Like strstr but remove the located
  322. substring as well.
  323. (name_compare): New function: Compute a compatability rating
  324. for two target names.
  325. (winner): New variable: Best target found by
  326. closest_target_match() so far.
  327. (closest_target_match): New function: Find the target which is
  328. the closest match to the original target.
  329. (get_first_input_target): New function: Find the target format
  330. of the first of the linker's input file.
  331. (open_output): Be more clever about deciding the output target
  332. format.
  333. 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
  334. * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH.
  335. Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com>
  336. * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
  337. 1999-07-15 Ian Lance Taylor <ian@zembu.com>
  338. * configure.in: Bump version number to 2.9.5.
  339. * configure: Rebuild.
  340. 1999-07-14 Richard Henderson <rth@cygnus.com>
  341. * ldlang.c (wild_doit): Copy SEC_SHORT to output section.
  342. * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the
  343. same order seen for the main sections. Add
  344. OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS.
  345. 1999-07-12 Andreas Schwab <schwab@suse.de>
  346. * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in
  347. structure initializations.
  348. * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing
  349. comma in initializer.
  350. 1999-07-11 Ian Lance Taylor <ian@zembu.com>
  351. * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
  352. as appropriate. Fill in structure initializations.
  353. 1999-07-10 Ian Lance Taylor <ian@zembu.com>
  354. * ldfile.c: Revert patch of 1999-07-08.
  355. (ldfile_try_open_bfd): If we are searching for the file, skip
  356. files with an incompatible architecture.
  357. 1999-07-09 Nick Clifton <nickc@cygnus.com>
  358. * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and
  359. little endian formats.
  360. 1999-07-08 Felix Lee <flee@cygnus.com>
  361. * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x
  362. 1999-07-08 Jakub Jelinek <jj@ultra.linux.cz>
  363. * ldfile.c (ldfile_open_file_search): Skip libraries made for
  364. incompatible architectures in the search path. Let the user know
  365. about any such skips.
  366. Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
  367. * configure.tgt (hppa*-linux-gnu*): New target.
  368. 1999-07-07 Mark Mitchell <mark@codesourcery.com>
  369. * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip.
  370. (eelf64bmip): New target.
  371. * Makefile.in: Regenerated.
  372. * configure.tgt (mips-sgi-irix6*): Add 64-bit emulation.
  373. * emulparams/elf64bmip.sh: New file.
  374. 1999-07-05 Nick Clifton <nickc@cygnus.com>
  375. * emultempl/pe.em (after_open): Abort if input format is ARM and
  376. output format is not.
  377. * emultempl/armcoff.em (after_open): Abort if input format is ARM
  378. and output format is not.
  379. * emultempl/armelf.em (after_open): Abort if input format is ARM
  380. and output format is not.
  381. 1999-07-02 Ian Lance Taylor <ian@zembu.com>
  382. * ldlang.c: Revert change of 1999-06-23.
  383. 1999-06-30 Mark Mitchell <mark@codesourcery.com>
  384. * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o.
  385. (eelf32bmipn32.c): New target.
  386. * Makefile.in: Regenerated.
  387. * configure.tgt (mips-sgi-irix6*): Make n32 the default
  388. emulation.
  389. * emulparams/elf32bmipn32.sh: New file.
  390. 1999-06-28 Jim Pick <jim@jimpick.com>
  391. * emultempl/armelf.em: Added code so that .xs linker scripts are
  392. called so that ARM shared libraries are built correctly.
  393. 1999-06-22 Mark Mitchell <mark@codesourcery.com>
  394. * ldmain.c (main): Initialize link_info.init_function and
  395. link_info.fini_function.
  396. * lexsup.c (OPTION_INIT): New macro.
  397. (OPTION_FINI): Likewise.
  398. (ld_options): Add descriptions for them.
  399. (parse_args): Handle them.
  400. 1999-06-23 Ian Lance Taylor <ian@zembu.com>
  401. * ldlang.c (section_already_linked): Only discard link once
  402. sections if we are building constructors.
  403. 1999-06-22 Nick Clifton <nickc@cygnus.com>
  404. * ld.texinfo (Location Counter): Describe behaviour of
  405. location counter inside section statements.
  406. 1999-06-20 Mark Mitchell <mark@codesourcery.com>
  407. * scripttempl/elf.sc (WRITABLE_RODATA): New variable for
  408. controlling whether or not .rodata is in the data segment or the
  409. text segment.
  410. 1999-06-18 Nick Clifton <nickc@cygnus.com>
  411. * emultempl/pe.em: Add new command line switch --thumb-entry.
  412. * emultempl/armelf.em: Add new command line switch --thumb-entry.
  413. * emultempl/armcoff.em: Add new command line switch --thumb-entry.
  414. * ld.texinfo: Document new ARM command line switch: --thumb-entry.
  415. 1999-06-20 H.J. Lu <hjl@gnu.org>
  416. * configure.in (all_libpath): Accumulate across all enabled targets.
  417. Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com>
  418. * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of
  419. DEFAULT_EMULATION.
  420. * emultempl/elf32.em: Likewise.
  421. * emultempl/sunos.em: Likewise.
  422. Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com>
  423. * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL.
  424. * configure.in (all_emuls): Add targ_extra_libpath.
  425. (all_libpath, EMULATION_LIBPATH): Define.
  426. * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath.
  427. * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH.
  428. Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  429. * ld.texinfo: Fix use of @item vs. @itemx.
  430. 1999-06-13 Ian Lance Taylor <ian@zembu.com>
  431. From Thomas Zenker <thz@lennartz-electronic.de>:
  432. * ldgram.y (attributes_opt): Use attributes_list instead of NAME.
  433. (attributes_list, attributes_string): New nonterminals.
  434. * ldlang.c (lang_set_flags): Add invert parameter. Don't handle
  435. '!'.
  436. * ldlang.c (lang_set_flags): Update declaration.
  437. 1999-06-12 Ian Lance Taylor <ian@zembu.com>
  438. * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add
  439. entry_symbol as an undefined symbol when doing a relocateable
  440. link. From <jeffdb@goodnet.com>.
  441. 1999-06-12 David O'Brien <obrien@freebsd.org>
  442. * configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF.
  443. 1999-06-09 Nick Clifton <nickc@cygnus.com>
  444. * lexsup.c (help): Restore previous format of output.
  445. 1999-06-04 Nick Clifton <nickc@cygnus.com>
  446. * emultempl/pe.em: If compiling for arm_epoc_pe rename
  447. interworking functions to avoid a name space clash.
  448. 1999-06-02 Jason Merrill <jason@yorick.cygnus.com>
  449. * scripttempl/v850.sc: Add initp support.
  450. 1999-06-02 Nick Clifton <nickc@cygnus.com>
  451. * emultempl/pe.em: Rename global arm interworking functions to
  452. avoid name collision when all targets BFD is built.
  453. 1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu>
  454. * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
  455. * configure.tgt (powerpc-*-linux-gnu): Use it.
  456. * emulparams/elf32ppclinux.sh: New file.
  457. 1999-05-29 Ian Lance Taylor <ian@zembu.com>
  458. * ld.texinfo (Options): Clarify that options which refer to files
  459. must be properly ordered.
  460. 1999-05-29 Nick Clifton <nickc@cygnus.com>
  461. * emultempl/armelf.em (..._parse_args): New function: Parse
  462. command line option. Accept arm-elf specific command line option
  463. '-p' or '--no-pipeline-knowledge'.
  464. (..._list_options): New function: Describe the new command line
  465. option.
  466. (..._before_allocation): Pass the value of the new variable
  467. no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation.
  468. * emultempl/armelf_oabi.em (..._before_allocation): Pass zero as
  469. the third parameter to bfd_elf32_arm_process_before_allocation.
  470. 1999-05-28 Nick Clifton <nickc@cygnus.com>
  471. * lexsup.c (help): Minor formatting changes.
  472. 1999-05-28 Martin Dorey <mdorey@madge.com>
  473. * configure.tgt (i960-*-elf*): New target.
  474. * emulparams/elf32_i960.sh: New file.
  475. * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
  476. (eelf32_i960.c): New target.
  477. * Makefile.in: Rebuild.
  478. 1999-05-26 Nick Clifton <nickc@cygnus.com>
  479. * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi.
  480. 1999-05-24 Philip Blundell <philb@gnu.org>
  481. * emultempl/armelf.em (before_parse): Set config.dynamic_link and
  482. config.has_shared.
  483. * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
  484. * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise.
  485. 1999-04-13 Philip Blundell <philb@gnu.org>
  486. * emultempl/armelf.em: Add definitions related to shared objects
  487. (copied from elf32.em).
  488. Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  489. * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
  490. earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
  491. * Makefile.in: Regenerated.
  492. 1999-05-16 Nick Clifton <nickc@cygnus.com>
  493. * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define.
  494. (TEMPLATE_NAME): Define.
  495. Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com)
  496. * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
  497. (mips*el-*-rtems*, powerpcle-*-rtems*): New targets.
  498. 1999-05-10 DJ Delorie <dj@cygnus.com>
  499. * scripttempl/pe.sc: Specify the output arch, which Ian says is
  500. the Right Thing to do.
  501. * emultempl/pe.em: various changes to parameterize the
  502. target-specific information.
  503. (gld_i386pe_after_open): Detect and fix MS import libraries
  504. by renaming the member objects (which are all named the same).
  505. * pe-dll.c: various changes to parameterize the target-specific
  506. information.
  507. (generate_reloc): support relocs more generically to allow for
  508. expansion.
  509. (pe_exe_build_sections): new; used to add .relocs to .exes
  510. (pe_exe_fill_sections): ditto
  511. 1999-05-10 Catherine Moore <clm@cygnus.com>
  512. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
  513. Check for TARGET_IS_arm_epoc_pe.
  514. (gld_${EMULATION_NAME}_before_allocation): Likewise.
  515. 1999-05-12 Anthony Green <green@cygnus.com>
  516. * ldlang.c (walk_wild, walk_wild_file, walk_wild_section,
  517. output_section_callback, gc_section_callback): New functions for
  518. generic section walks.
  519. (wild, lang_gc_wild): Use walk_wild.
  520. (wild_file, lang_gc_wild_file): Deleted. Common logic moved to
  521. walk_wild_file.
  522. (wild_section, lang_gc_wild_section): Deleted. Common logic moved
  523. to walk_fild_section. Unique logic moved into callbacks
  524. output_section_callback and gc_section_callback.
  525. 1999-04-26 Tom Tromey <tromey@cygnus.com>
  526. * aclocal.m4, configure: Updated for new version of libtool.
  527. 1999-04-12 Philip Blundell <pb@nexus.co.uk>
  528. * emulparams/armelf_linux.sh: New file. Support for ARM
  529. GNU/Linux ELF ABI.
  530. * emulparams/armelf_linux26.sh: New file. APCS-26 version of above.
  531. * configure.tgt: For arm*-*-linux-gnu*, set default emulation to
  532. `armelf_linux', and also include `armelf_linux26' and `armelf'.
  533. * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c.
  534. (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o.
  535. * Makefile.in: Regenerate.
  536. 1999-04-11 Richard Henderson <rth@cygnus.com>
  537. * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o.
  538. * configure.tgt (i[3456]86-*-beos*): Use it.
  539. * emulparams/elf_i386_be.sh: New file.
  540. * Makefile.in: Rebuild.
  541. * configure.in (environ): Detect declaration.
  542. * ldmain.c (main): Don't declare environ.
  543. * sysdep.h (environ): Declare if needed.
  544. * configure, config.in: Rebuild.
  545. 1999-04-11 Richard Henderson <rth@cygnus.com>
  546. * ldgram.y (ldgram_vers_current_lang): New.
  547. (vers_defns): Accept `extern "lang" { }' syntax.
  548. * ldlex.l (vers_node_nesting): New.
  549. (V_IDENTIFIER): Accept . and $ in symbols.
  550. (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states.
  551. * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers.
  552. (lang_vers_match_lang_c): New function.
  553. (lang_vers_match_lang_cplusplus): New function.
  554. (lang_vers_match_lang_java): New function.
  555. (lang_do_version_exports_section): Fix iteration. Don't free
  556. section contents, as it is still in use by the patterns.
  557. 1999-04-10 Richard Henderson <rth@cygnus.com>
  558. * ldmain.c (main): Init link_info.no_undefined.
  559. * lexsup.c: Add command-line option --no-undefined.
  560. 1999-04-06 Ian Lance Taylor <ian@zembu.com>
  561. * ld.h (LC_MESSAGES): Never define.
  562. * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the
  563. system does not define it.
  564. 1999-04-06 H.J. Lu <hjl@gnu.org>
  565. * ldmain.h (demangling): Declare.
  566. * ldmain.c (demangling): New global variable.
  567. (main): Initialize demangling.
  568. * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling.
  569. * lexsup.c (ld_options, parse_args): Handle --demangle and
  570. --no-demangle.
  571. * ld.texinfo, ld.1: Document --demangle/--no-demangle.
  572. * ldlex.l (V_IDENTIFIER): Allow '.' in symbol.
  573. 1999-04-05 Chris Torek <torek@BSDI.COM>
  574. * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that
  575. a shared library really exists, avoiding broken symlinks.
  576. * ldfile.c (ldfile_open_file): Generate a better error message if
  577. we can't find a -l file.
  578. 1999-04-05 DJ Delorie <dj@cygnus.com>
  579. * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE
  580. targets (i386-pe and i386-winnt)
  581. 1999-04-04 Ian Lance Taylor <ian@zembu.com>
  582. * deffilep.y: Include "sysdep.h" and "ldmisc.h".
  583. (def_file_add_directive): Change return type to void. Remove
  584. unused locals sh_reserve, sh_commit, and j.
  585. (def_ungetc): Always return a value.
  586. (def_lex): Correct parenthesization of || within &&.
  587. * deffile.h (def_file_add_directive): Update declaration.
  588. * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h".
  589. (generate_edata): Remove unused local i.
  590. (quoteput): Add cast to avoid warning.
  591. (pe_dll_generate_def_file): Fix type in format string.
  592. (quick_symbol): Remove unused local blhe.
  593. (pe_dll_generate_implib): Add cast to avoid warning.
  594. (pe_process_import_defs): Remove unused locals ar_head, ar_tail,
  595. and n.
  596. (pe_as16): Comment out.
  597. 1999-04-04 Don Bowman <don@pixsci.com>
  598. * configure.tgt: Add mips*-*-vxworks* target.
  599. 1999-03-31 Nick Clifton <nickc@cygnus.com>
  600. * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o
  601. Add build rule and dependencies for earm_epoc_pe.c.
  602. * emulparams/arm_epoc_pe.sh: New file.
  603. * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE
  604. targets.
  605. 1999-03-31 Philip Blundell <pb@nexus.co.uk>
  606. * configure.tgt: Match `arm*-*-linux-gnu*' not
  607. `armv*-*-linux-gnu'.
  608. 1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  609. * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table
  610. sections in the data segment.
  611. Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com>
  612. * ld.h (wildcard_spec): Add exclude_name.
  613. * ldgram.y (EXCLUDE_FILE): New token.
  614. (wildcard_spec): Set exclude_name.
  615. (file_NAME_list): Recognize EXCLUDE_FILE.
  616. * ldlang.c (wild_section): Check for excluded files.
  617. (print_wild_statement): Print excluded files.
  618. (lang_add_wild): New argument exclude_filename.
  619. Set exclude_filename.
  620. * ldlang.h (lang_wild_statement_type): Add exclude_filename.
  621. * ldlex.l: New token EXCLUDE_FILE.
  622. * mri.c (mri_draw_tree): Add argument to lang_add_wild.
  623. * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard.
  624. Reorder sorted and unsorted ctors.
  625. * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
  626. * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
  627. * scripttempl/elfppc.sc (CTOR, DTOR): Likewise.
  628. 1999-03-26 Nick Clifton <nickc@cygnus.com>
  629. * ldlang.c (lang_gc_sections): If entry_symbol is not defined,
  630. default to "start".
  631. 1999-03-03 Nick Clifton <nickc@cygnus.com>
  632. * scripttempl/elf.sc: Add explicit placements for the .eh_frame
  633. and .gcc_except_table sections.
  634. Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm>
  635. * scripttempl/elf.sc: Remove .end.ctors and .end.dtors
  636. sections. Reorder .ctors section entries.
  637. * scripttempl/elfd10v.sc: Likewise.
  638. * scripttempl/elfd30v.sc: Likewise.
  639. * scripttempl/elfppc.sc: Likewise.
  640. 1999-02-26 Jim Lemke <jlemke@cygnus.com>
  641. * ldmain.c (main): Wrong error msg for -r and --mpc860c0.
  642. 1999-02-25 Nick Clifton <nickc@cygnus.com>
  643. * ldlang.c (lang_check_section_addresses): Remove extraneous
  644. backslash.
  645. Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com>
  646. * scripttempl/elf.sc: Don't gather .ctor and .dtor sections
  647. for relocateable links.
  648. * scripttempl/elfd10v.sc: Likewise.
  649. * scripttempl/elfd30v.sc: Likewise.
  650. * scripttempl/elfppc.sc: Likewise.
  651. 1999-02-22 Jim Lemke <jlemke@cygnus.com>
  652. * ldint.texinfo: remove extraneous right brace.
  653. * ldmain.c (main): initialize and check option "mpc860c0".
  654. * lexsup.c (ld_options, parse_args): add option "mpc860c0".
  655. Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com>
  656. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special
  657. .reginfo section handling.
  658. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise.
  659. * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed
  660. * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed
  661. 1999-02-17 Nick Clifton <nickc@cygnus.com>
  662. Patch from: Scott Bambrough <scottb@corelcomputer.com>
  663. * configure.tgt: Added armv*-*-linux-gnu to $targ_emul
  664. recognition.
  665. Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  666. * emultempl/armelf_oabi.em
  667. (bfd_elf32_arm_allocate_interworking_sections,
  668. bfd_elf32_arm_get_bfd_for_interworking,
  669. bfd_elf32_arm_process_before_allocation): Define them to use the
  670. old ABI versions of the functions.
  671. Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com>
  672. * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL
  673. to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT.
  674. * Makefile.am (earmelf_oabi.c): Changes spaces to tab.
  675. * acconfig.h: Remove.
  676. * aclocal.m4: Rebuild.
  677. * configure: Rebuild.
  678. * Makefile.in: Rebuild.
  679. Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
  680. * ldexp.h (struct etree_value_type): Change valid onto valid_p.
  681. * ldexp.c (new_abs): Ditto.
  682. (new_rel, new_rel_from_section, fold_binary, invalid, fold_name,
  683. exp_fold_tree, exp_binop, exp_trinop, stat_alloc,
  684. exp_get_abs_int): Ditto
  685. * ldlang.c (print_assignment, lang_size_sections,
  686. lang_do_assignments): Ditto.
  687. 1999-02-11 Nick Clifton <nickc@cygnus.com>
  688. * ldlang.c (lang_check_section_addresses): New function: Check
  689. addresses assigned to section for overlaps.
  690. (lang_process): Call lang_check_section_addresses if suitable.
  691. * ld.h: Add new boolean field to args_type structure:
  692. 'check_section_addresses'.
  693. * ldmain.c: Initialise check_section_addresses field to true.
  694. * lexsup.c: Add new command line options '--no-check-sections' and
  695. '--check-sections'.
  696. * ld.texinfo: Document new command line options '--check-sections'
  697. and '--no-check-sections'.
  698. 1999-02-08 Nick Clifton <nickc@cygnus.com>
  699. * configure.tgt: Add support for StrongARM target.
  700. Wed Feb 3 19:41:01 1999 Ian Lance Taylor <ian@cygnus.com>
  701. * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for
  702. an owner of a section before using it to look up a reloc type.
  703. Don't set SEC_KEEP for the absolute section.
  704. Mon Feb 1 11:39:46 1999 Catherine Moore <clm@cygnus.com>
  705. * Makefile.am (earmelf_oabi.o): New.
  706. * Makefile.in: Regenerate.
  707. * configure.tgt (arm-*-oabi): New.
  708. (thumb-*-oabi): New.
  709. * emulparams/armelf_oabi.sh: New.
  710. * emultempl/armelf_oabi.em: New.
  711. 1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com>
  712. * scripttempl/elfppc.sc: Add support for -fleading-underscores
  713. switch in all linker generated symbols.
  714. * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for
  715. powerpc{,le}-*-eabi.
  716. Wed Jan 20 17:01:48 1999 Ian Lance Taylor <ian@cygnus.com>
  717. * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel
  718. Roskin <pavel_roskin@geocities.com>.
  719. 1999-01-19 Nick Clifton <nickc@cygnus.com>
  720. * ldlang.c (lang_size_sections): Count loadable sections as
  721. contributing to the size of the current segment.
  722. 1999-01-15 Nick Clifton <nickc@cygnus.com>
  723. * ldlang.c (lang_size_sections): Only update the current
  724. address of a region if the section just placed into it is an
  725. allocated section.
  726. 1999-01-12 Nick Clifton <nickc@cygnus.com>
  727. * Makefile.am: Replace efr30.o with eelf32fr30.o.
  728. * Makefile.in: Regenerate.
  729. * configure.tgt: Replace fr30 with elf32fr30.
  730. * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses
  731. generic elf.sc script. Also replaces the .stack section with a
  732. user definable symbol __stack.
  733. 1999-01-11 Nick Clifton <nickc@cygnus.com>
  734. * scripttempl/fr30.sc: Fill .init and .fini sections with NOP
  735. pattern.
  736. 1999-01-03 Ken Raeburn <raeburn@cygnus.com>
  737. * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU,
  738. HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from
  739. configure.host and configure.tgt now.
  740. * Makefile.in: Rebuild.
  741. 1998-12-27 Ulrich Drepper <drepper@cygnus.com>
  742. * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate
  743. elements to rpath.
  744. Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  745. * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o.
  746. (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead.
  747. * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES)
  748. if configuring with all targets.
  749. * configure, Makefile.in, aclocal.m4: Rebuild.
  750. * emultempl/pe.em (pe_enable_stdcall_fixup): Make static.
  751. (pe_dll_do_default_excludes): Removed, unused.
  752. (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats,
  753. pe_dll_stdcall_aliases): Don't initialize them, this file may be
  754. compiled more than once.
  755. * pe-dll.c (pe_def_file, pe_dll_export_everything,
  756. pe_dll_do_default_excludes, pe_dll_kill_ats,
  757. pe_dll_stdcall_aliases): Define and initialize them here instead.
  758. (generate_reloc): Fix allocation of reloc_addresses array to use
  759. bfd_vma instead of unsigned long. Fix element size in qsort call.
  760. (reloc_sort): Compare pointers to bfd_vma instead of unsigned
  761. long.
  762. Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl>
  763. * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific
  764. files.
  765. Sun Dec 6 16:33:33 1998 Ian Lance Taylor <ian@cygnus.com>
  766. * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent
  767. <aymeric.vincent@emi.u-bordeaux.fr>.
  768. 1998-12-04 Nick Clifton <nickc@cygnus.com>
  769. * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR
  770. from 0x100000 to 0x10000 so that it fits in 20 bits.
  771. Sat Nov 28 22:32:20 1998 Ian Lance Taylor <ian@cygnus.com>
  772. * ldemul.h (ldemul_recognized_file): Declare.
  773. Sat Nov 28 22:30:55 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  774. * ldlang.c (lang_add_wild): Don't pretend that there is an input
  775. file if the filename is a wildcard pattern.
  776. 1998-11-25 DJ Delorie <dj@cygnus.com>
  777. * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file"
  778. * ldemul.c (ldemul_recognized_file): new function, new hook
  779. * ldint.texinfo: document new hook.
  780. * ldlang.c (load_symbols): call recognized_hook for all objects we
  781. do recognize, in case the emulation needs to handle them
  782. specially. PE DLLs use this.
  783. * pe-dll.c (pe_dll_generate_def_file): take out hack and debug
  784. printfs
  785. * emultempl/pe.em (gld_i386_recognized_file): new function
  786. (gld_i486_unrecognized_file): take out hack
  787. 1998-11-23 DJ Delorie <dj@cygnus.com>
  788. * pe-dll.c (fill_edata): fill in timestamp
  789. (make_head): name object files sequentially to ensure
  790. they link in the right order.
  791. (make_tail): same here
  792. (pe_process_import_defs): use sequential names for bfds to ensure
  793. proper link order.
  794. (pe_implied_import_dll): new function; handles linking directly
  795. against DLLs by simulating IMPORTS directives. * emultempl/pe.em
  796. (gld_i386pe_before_parse): hack bfd to not recognize .dll files
  797. via bfd_pe_dll_not_recognized_hack
  798. 1998-11-23 DJ Delorie <dj@cygnus.com>
  799. * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to
  800. pe_dll_add_excludes
  801. Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com>
  802. * emultempl/pe.em (after_parse): Only create an undefined entry
  803. symbol if one has been specified.
  804. 1998-11-23 DJ Delorie <dj@cygnus.com>
  805. * emultempl/pe.em (gld_i386pe_after_open): call
  806. pe_process_import_defs
  807. * pe-dll.c (pe_dll_generate_def_file): calculate BASE from
  808. pe_data, only print if actually set. Print version only if
  809. set.
  810. (save_relocs): save relocs for both input and output.
  811. (make_one): support internal/external different names.
  812. (pe_dll_generate_implib): support new make_one
  813. (pe_process_import_defs): new function; handles IMPORT
  814. directives in .def files.
  815. Fri Nov 20 13:06:49 1998 Nick Clifton <nickc@cygnus.com>
  816. * ldmisc.c (vfinfo): Cope with empty symbol names.
  817. Thu Nov 19 13:31:15 1998 Nick Clifton <nickc@cygnus.com>
  818. * scripttempl/pe.sc: Add provision of '_end' symbol.
  819. Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com>
  820. * configure.tgt: change refs from cygwin32* to cygwin*.
  821. * aclocal.m4: regenerate
  822. * configure.in: don't need to call AM_CYGWIN32.
  823. * configure: regenerate
  824. Mon Nov 16 22:14:07 1998 DJ Delorie <dj@cygnus.com>
  825. * emultempl/pe.em (gld_i386_finish): generate import library
  826. * deffile.h: add hint member.
  827. * pe-dll.c (pe_dll_generate_implib): New function with helpers;
  828. generates the import library directly from the export table.
  829. (fill_edata): remember the actual hint for the import library.
  830. Sat Nov 14 14:36:24 1998 Ian Lance Taylor <ian@cygnus.com>
  831. * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>.
  832. Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com>
  833. * po/ld.pot: Regenerated.
  834. * po/POTFILES.in: Regenerated.
  835. * configure: Regenerated.
  836. * aclocal.m4: Regenerated.
  837. * Makefile.in: Regenerated.
  838. Wed Nov 11 18:10:15 1998 DJ Delorie <dj@cygnus.com>
  839. * pe-dll.c (generate_reloc): don't output PE relocs for sections
  840. that won't be loaded.
  841. Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com>
  842. * pe-dll.c (fill_edata): don't strip underscores
  843. Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com>
  844. * ld.texinfo: added i386pe option summary
  845. Tue Nov 10 17:53:17 1998 DJ Delorie <dj@cygnus.com>
  846. * pe-dll.c (process_def_file): properly note undefined exported
  847. symbols, clean up old code.
  848. (pe_dll_generate_def_file): don't crash if pe_def_file is NULL
  849. * emultempl/pe.em (gld_i386_parse_args): add
  850. (en/dis)able-stdcall-fixups
  851. (pe_fixup_stdcalls): warn about stdcall fixups
  852. (gld_i386_unrecognized_file): make exported symbols undefs so that
  853. archive members get pulled in
  854. Tue Nov 10 14:50:51 1998 Catherine Moore <clm@cygnus.com>
  855. * scripttempl/elfd10v.sc: Add KEEP attribute to .init,
  856. .fini, .dtors and .ctors. Add .data and .text
  857. wildcards to support section garbage collection.
  858. Mon Nov 9 22:52:50 1998 DJ Delorie <dj@indy.delorie.com>
  859. * deffilep.y: properly handle relocs with multiple def_files,
  860. cache import module names
  861. Mon Nov 9 22:44:58 1998 DJ Delorie <dj@cygnus.com>
  862. * pe-dll.c (process_def_file): don't assume exports won't move
  863. during a realloc
  864. Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com>
  865. * pe-dll.c: New file; direct support for PE DLLs
  866. * deffile.h: New file; direct support for PE DLLs
  867. * deffilep.y: New file; direct support for PE DLLs
  868. * emultempl/pe.em: add direct support for PE DLLs
  869. * configure.tgt: allow target-specific extra files
  870. * configure.in: allow target-specific extra files
  871. * ldlang.c (lang_add_assignment): return the assignment so that
  872. one can change the value later based on the object files (pe-dll
  873. DEF files do this)
  874. * ldint.texinfo: add section for emulation walkthrough
  875. * Makefile.am: add new files and target-specific extra files
  876. * emultempl/pe.em (gld_i386_list_options): list dll-specific
  877. options.
  878. * pe-dll.c (process_def_file): auto-export everything if
  879. nothing is otherwise exported.
  880. Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com>
  881. * Makefile.am: Add support for FR30 target.
  882. * configure.tgt: Add support for FR30 target.
  883. * Makefile.in: Regenerate.
  884. * emulparams/fr30.sh: New file.
  885. * scripttempl/fr30.sc: New file.
  886. Mon Nov 2 14:47:15 1998 Catherine Moore <clm@cygnus.com>
  887. * ldmain.c (main): Don't report error for dynamic links and
  888. --gc-sections.
  889. 1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com>
  890. * lexsup.c (ld_options): Change text of -O to Optimize output file".
  891. (parse_args): Set link_info.optimize based on -O argument.
  892. * ldmain.c (main): Initialize link_info.optimze to false.
  893. * ld.texinfo: Describe -O option.
  894. * ld.1: Likewise.
  895. Mon Oct 12 14:29:56 1998 Nick Clifton <nickc@cygnus.com>
  896. * scripttempl/v850.sc: Move .sbss and .scommon sections into their
  897. own segment, so that they can be next to the .bss section and so
  898. initialised by the same piece of code.
  899. Fri Oct 9 15:59:52 1998 Catherine Moore <clm@cygnus.com>
  900. * scripttempl/elf.sc: Merge .sdata.* etc sections.
  901. * ldctor.c (ldctor_build_sets): Set SEC_KEEP for
  902. ctor sections.
  903. Mon Oct 5 09:40:43 1998 Catherine Moore <clm@cygnus.com>
  904. * ldmain.c (main): Error if --gc-sections and
  905. dyanmic linking.
  906. * scripttempl/v850.sc: Add KEEP attribute to .init,
  907. .fini, .dtors and .ctors. Add .data and .text
  908. wildcards to support section garbage collection.
  909. Wed Sep 30 11:19:15 1998 Nick Clifton <nickc@cygnus.com>
  910. * scripttempl/v850.sc: Rename .call_table section to
  911. .call_table_data and create a new section called
  912. .call_table_text.
  913. Sun Sep 20 00:43:26 1998 Ian Lance Taylor <ian@cygnus.com>
  914. * scripttempl/elf.sc: Add alignment at the end of the .bss
  915. section, so that it is included in the memsize of the segment.
  916. Fri Sep 18 13:42:42 1998 Catherine Moore <clm@cygnus.com>
  917. * emultempl/elf32.em (gld_place_orphan): Don't process for
  918. sections with SEC_EXCLUDE flag.
  919. Fri Sep 4 09:24:02 1998 Nick Clifton <nickc@cygnus.com>
  920. * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K.
  921. (DATA_SIZE): Increased to 2000K.
  922. Thu Sep 3 17:30:58 1998 Richard Henderson <rth@cygnus.com>
  923. * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.
  924. Mon Aug 31 01:06:00 1998 Catherine Moore <clm@cygnus.com>
  925. * Makefile.am: Change armelf.sc to elf.sc
  926. * Makefile.in: Regenerate.
  927. Mon Aug 31 11:12:04 1998 Catherine Moore <clm@cygnus.com>
  928. * emulparams/armelf.sh: Change SCRIPT_NAME to
  929. elf. Change TEXT_START_ADDR to 0x8000. Define
  930. OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
  931. OTHER_BSS_END_SYMBOLS.
  932. * scripttempl/elf.sc: Modify to use
  933. OTHER_BSS_END_SYMBOLS.
  934. * scripttempl/elfarm.sc: Remove file.
  935. Tue Aug 18 12:05:34 1998 Catherine Moore <clm@cygnus.com>
  936. * emultempl/armelf.em (gld_armelf_before_allocation):
  937. Add bfd_ prefix to elf32_arm_process_before_allocation
  938. and elf32_arm_allocate_interworking_sections.
  939. (gld_armelf_after_open): Add bfd_ prefix to
  940. elf32_arm_get_bfd_for_interworking.
  941. Fri Aug 14 15:34:29 1998 Ian Lance Taylor <ian@cygnus.com>
  942. * Makefile.am: Rebuild dependencies.
  943. * Makefile.in: Rebuild.
  944. * ldgram.y: Include "ldctor.h".
  945. (statement): Accept SORT around CONSTRUCTORS.
  946. * ldctor.c: Include <ctype.h>.
  947. (constructors_sorted): New global variable.
  948. (ctor_prio, ctor_cmp): New static functions.
  949. (ldctor_build_sets): Sort constructors if requested.
  950. * ldctor.h (constructors_sorted): Declare.
  951. * ldlang.c (print_statement): Print sorted CONSTRUCTORS
  952. correctly.
  953. * scripttempl/elf.sc: Add sort around CONSTRUCTORS.
  954. * ld.texinfo (Output Section Keywords): Document SORT
  955. (CONSTRUCTORS).
  956. Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
  957. * emulparams/armelf.sh: Define TEMPLATE_NAME to armelf.
  958. * scripttempl/elfarm.sc: Include .glue_7t and .glue7
  959. sections.
  960. * emultempl/armelf.em: New file.
  961. Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
  962. * Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
  963. * Makefile.in: Rebuild.
  964. Tue Aug 11 16:17:01 1998 Catherine Moore <clm@cygnus.com>
  965. * scripttempl/elfarm.sc: Change text start address
  966. back to zero.
  967. Tue Aug 11 10:01:12 1998 Jeffrey A Law (law@cygnus.com)
  968. * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1.
  969. * emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1.
  970. Sun Aug 9 20:31:27 1998 Catherine Moore <clm@cygnus.com>
  971. * scripttempl/elfarm.sc: Set text start address to
  972. 0x8000. Add __bss_end definition.
  973. Sat Aug 1 11:47:37 1998 Catherine Moore <clm@cygnus.com>
  974. * scripttempl/elfarm.sc: New file.
  975. * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm.
  976. Fri Jul 31 15:56:16 1998 Catherine Moore <clm@cygnus.com>
  977. * emulparams/armelf.sh: New file.
  978. * configure.tgt: Recognize thumb-elf and arm-elf.
  979. * Makefile.am (earmelf.o): New.
  980. * Makefile.in: Rebuild.
  981. Fri Jul 24 12:00:57 1998 Ian Lance Taylor <ian@cygnus.com>
  982. * Makefile.am (install-exec-local): Don't remove the file before
  983. checking whether $(bindir) == $(tooldir)/bin. From Maciej
  984. W. Rozycki <macro@ds2.pg.gda.pl>.
  985. * Makefile.in: Rebuild.
  986. * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*.
  987. Thu Jul 23 11:15:12 1998 Ian Lance Taylor <ian@cygnus.com>
  988. * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
  989. alignment of end symbol.
  990. * scripttempl/elf.sc: Likewise.
  991. * emulparams/sun4.sh (ALIGNMENT): Define.
  992. * emulparams/elf32_sparc.sh (ALIGNMENT): Define.
  993. * ldint.texinfo (emulation parameters): Document ALIGNMENT.
  994. * lexsup.c (parse_args): Add missing break statement.
  995. * ldlang.c (lang_gc_sections_1): Add default case to switch to
  996. avoid warnings.
  997. Tue Jul 14 15:42:17 1998 Richard Henderson <rth@cygnus.com>
  998. * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
  999. * Makefile.am (ei386beos.o): New.
  1000. * emulparams/i386beos.sh: New file.
  1001. * emultempl/beos.em, scripttempl/i386beos.sc: New file.
  1002. Tue Jul 14 15:35:42 1998 Richard Henderson <rth@cygnus.com>
  1003. * lexsup.c: New option --version-exports-section.
  1004. * ld.h (struct args_type): Add version_exports_section.
  1005. * ldlang.c (lang_do_version_exports_section): New function.
  1006. (lang_process): Call it.
  1007. Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com>
  1008. * ldlex.l: Accept ASSERT.
  1009. * ldgram.y (exp): Add ASSERT_K case.
  1010. * ldexp.h (node_type): Add etree_assert to node_class enum.
  1011. (etree_type): Add assert_s field.
  1012. (exp_assert): Declare.
  1013. * ldexp.c (exp_fold_tree): Handle etree_assert.
  1014. (exp_assert): New function.
  1015. (exp_print_tree): Handle etree_assert.
  1016. * ld.texinfo (Miscellaneous Commands): Document ASSERT.
  1017. Wed Jul 8 14:03:12 1998 Ian Lance Taylor <ian@cygnus.com>
  1018. * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid
  1019. conflicts with system header files. Change all uses.
  1020. * Makefile.am (MAINTAINERCLEANFILES): Define.
  1021. * Makefile.in: Rebuild.
  1022. Tue Jul 7 18:03:22 1998 Ian Lance Taylor <ian@cygnus.com>
  1023. * Makefile.am (ldver.texi): New target.
  1024. (ld.info, ld.dvi): Depend upon ldver.texi.
  1025. * ld.texinfo: Include ldver.texi. Mention version number on title
  1026. page and in top node.
  1027. * Makefile.in: Rebuild.
  1028. Mon Jul 6 14:55:13 1998 Ian Lance Taylor <ian@cygnus.com>
  1029. * configure.tgt (i[3456]86-*-solaris*): New target.
  1030. Fri Jul 3 14:19:06 1998 Ian Lance Taylor <ian@cygnus.com>
  1031. * ldlang.c (wild_section): Don't get an assertion failure if the
  1032. section is discarded.
  1033. * scripttempl/pe.sc: Use SORT to sort sections appropriately.
  1034. * emultempl/pe.em (sort_by_file_name): Remove.
  1035. (sort_by_section_name): Remove.
  1036. (sort_sections_1, sort_sections): Remove.
  1037. (gld_${EMULATION_NAME}_before_allocation): Don't call
  1038. sort_sections.
  1039. (hold_section, hold_section_name): New static variables.
  1040. (hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
  1041. (gld_${EMULATION_NAME}_place_orphan): Rewrite. Look for a good
  1042. place to put the section. Align the section. Sort the input
  1043. sections by name.
  1044. (gld_${EMULATION_NAME}_place_section): New static function.
  1045. * ldlang.c (wild_sort): When sorting by file name, sort by archive
  1046. name first.
  1047. * emultempl/pe.em (set_pe_subsystem): Don't call
  1048. ldlang_add_undef.
  1049. (gld_${EMULATION_NAME}_after_parse): New static function.
  1050. (ld_${EMULATION_NAME}_emulation): Use new after_parse function
  1051. rather than after_parse_default.
  1052. * ldgram.y (extern_name_list): Do not require symbols to be
  1053. separated by commas.
  1054. (ifile_p1): Add EXTERN.
  1055. * ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI
  1056. mode.
  1057. * ld.texinfo (Options): Mention that EXTERN is equivalent to -u.
  1058. (Miscellaneous Commands): Document EXTERN.
  1059. Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com>
  1060. * ld.h (args_type): Add gc_sections.
  1061. * ldgram.y (ldgram_had_keep, KEEP): New.
  1062. (input_section_spec_no_keep): Rename from old input_section_spec.
  1063. (input_section_spec): New. Recognize KEEP.
  1064. * ldlang.c (wild_section): Handle keep sections.
  1065. (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
  1066. (lang_gc_sections_1, lang_gc_sections): New.
  1067. (lang_process): Invoke lang_gc_sections.
  1068. (lang_add_wild): Add keep argument. Update all callers.
  1069. * ldlang.h (lang_wild_statement_struct): Add keep_sections.
  1070. * ldlex.l (KEEP): Match it.
  1071. * ldmain.c (main): Error on -r and --gc-sections.
  1072. * lexsup.c: Add --gc-sections.
  1073. * scripttempl/elf.sc: Merge .text.* etc sections appropriately.
  1074. Mark startup sections with KEEP.
  1075. * scripttempl/elfppc.sc: Likewise.
  1076. * ld.texinfo: Update for --gc-sections and KEEP.
  1077. Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com>
  1078. From Peter Jordan <pjordan@chla.usc.edu>:
  1079. * scripttempl/i386go32.sc: Correct constructor handling for -u.
  1080. Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com>
  1081. * Makefile.am (install-data-local): Make ldscripts subdirectory.
  1082. * Makefile.in: Rebuild.
  1083. Tue Jun 23 15:17:04 1998 Mike Stump <mrs@wrs.com>
  1084. * Makefile.am (install-exec-local): Don't let EXEEXT interfere
  1085. with the program transform name.
  1086. * Makefile.in: Rebuild.
  1087. Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com)
  1088. * ld.texinfo: Note that -relax may make symbolic debugging
  1089. impossible on some platforms.
  1090. Tue Jun 16 12:51:13 1998 Geoff Keating <geoffk@ozemail.com.au>
  1091. * Makefile.am (Makefile): Remove target.
  1092. (config.status): New target.
  1093. * Makefile.in: Rebuild.
  1094. * configure.host (powerpc*-*-linux-gnu*): New host.
  1095. Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com>
  1096. * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.
  1097. * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of
  1098. stack to 8MB.
  1099. Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com>
  1100. * Makefile.am (HFILES): Remove config.h.
  1101. (EMULATION_OFILES, POTFILES): Move patch of May 14 from
  1102. Makefile.in to Makefile.am.
  1103. (earmcoff.c): Depend upon armcoff.em, not generic.em.
  1104. * po/Make-in (all-yes): Correct misspelling in $(PACKAGE).
  1105. ($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT).
  1106. * Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild.
  1107. Fri Jun 12 13:43:17 1998 Tom Tromey <tromey@cygnus.com>
  1108. * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
  1109. ($(PACKAGE).pot): Unconditionally depend on POTFILES.
  1110. Tue Jun 9 09:36:48 1998 Nick Clifton <nickc@cygnus.com>
  1111. * ldlang.c (lang_finish): Add CONST type modifier to declaration
  1112. of 'send'.
  1113. Fri Jun 5 18:19:59 1998 Ian Lance Taylor <ian@cygnus.com>
  1114. * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
  1115. config.has_shared to true.
  1116. * emultempl/linux.em (gld${EMULATION_NAME}_before_parse):
  1117. Likewise.
  1118. * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse):
  1119. Likewise.
  1120. Tue Jun 2 12:55:03 1998 Ian Lance Taylor <ian@cygnus.com>
  1121. * ldlang.c (lang_finish): If the entry symbol is not found, try
  1122. parsing it as a number.
  1123. * ld.texinfo (Options): Document this.
  1124. Mon Jun 1 14:01:20 1998 Ian Lance Taylor <ian@cygnus.com>
  1125. * ld.texinfo (Input Section Wildcards): Document SORT keyword.
  1126. Mon May 18 12:42:53 1998 Doug Evans <devans@canuck.cygnus.com>
  1127. * ld.h (ld_config_type): New member has_shared.
  1128. * ldmain.c (main): Initialize it.
  1129. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it.
  1130. * lexsup.c (parse_args): Treat -shared as error if not supported.
  1131. Mon May 18 13:14:43 1998 Ian Lance Taylor <ian@cygnus.com>
  1132. From Jason Merrill <jason@cygnus.com>:
  1133. * ldlang.c (wild_sort): Correct order of sort.
  1134. * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and
  1135. .dtors.
  1136. * scripttempl/elfd10v.sc: Likewise.
  1137. * scripttempl/elfd30v.sc: Likewise.
  1138. * scripttempl/elfppc.sc: Likewise.
  1139. Fri May 15 00:22:35 1998 Ian Lance Taylor <ian@cygnus.com>
  1140. * ldlex.l: Recognize keyword SORT.
  1141. * ldgram.y (current_file): Change to struct wildcard_spec.
  1142. (%union): Add new fields cname and wildcard.
  1143. (wildcard_name, wildcard_spec): New nonterminals.
  1144. (file_NAME_list): Use wildcard_spec.
  1145. (input_section_spec): Change current_file usage.
  1146. * ld.h (struct wildcard_spec): Define.
  1147. * ldlang.h (lang_wild_statement_struct): Add new fields
  1148. sections_sorted and filenames_sorted.
  1149. (lang_add_wild): Update declaration.
  1150. * ldlang.c (wild_sort): New static function.
  1151. (wild_section): Use wild_sort.
  1152. (print_wild_statement): Print sorting information.
  1153. (lang_add_wild): Add new parameters sections_sorted and
  1154. filenames_sorted. Change all callers.
  1155. * mri.c (mri_draw_tree): Update calls to lang_add_wild.
  1156. * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name.
  1157. * scripttempl/elfd10v.sc: Likewise.
  1158. * scripttempl/elfd30v.sc: Likewise.
  1159. * scripttempl/elfppc.sc: Likewise.
  1160. Thu May 14 18:39:16 1998 Richard Henderson <rth@cygnus.com>
  1161. * emulparams/m32relf.sh (TEMPLATE_NAME): Define.
  1162. Thu May 14 14:51:24 1998 Nick Clifton <nickc@cygnus.com>
  1163. * ldemul.h: Add new prototype: ldemul_list_emulation_options.
  1164. (ld_emulation_xfer_struct): Add new field: list_options.
  1165. * ldemul.c (ldemul_list_options): New function. Call the
  1166. list_options field of the ld_emulation_xfer_struct for each
  1167. supported emulation, if such a function is present.
  1168. * lexsup.c (help): Call ldemul_list_emulation_options.
  1169. * emultempl/pe.em (gld_<>_list_options): New function. Describe
  1170. the pe emulation specific command line options.
  1171. * emultempl/armcoff.em (gld<>_list_options): New function.
  1172. Describe the armcoff emulation specific command line options.
  1173. * emultempl/pe.em: Add a new command line option:
  1174. --support-old-code.
  1175. * emultempl/armcoff.em: Ditto.
  1176. * ld.texinfo: Document the --support-old-code option.
  1177. * Makefile.in: Add emulation files for POTFILES.in target.
  1178. * emultempl/pe.em: Internationalise suitable strings.
  1179. * emultempl/armcoff.em: Internationalise suitable strings.
  1180. * po/POTFILES.in: Rebuilt.
  1181. Sun May 10 22:36:30 1998 Jeffrey A Law (law@cygnus.com)
  1182. * po/Make-in (install-info): New target.
  1183. Tue Apr 28 19:18:30 1998 Tom Tromey <tromey@cygnus.com>
  1184. * ldmain.c (main): Conditionally call setlocale.
  1185. * ld.h: Include <locale.h> if HAVE_LOCALE_H.
  1186. (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
  1187. Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com>
  1188. * configure.in: Change version number to 2.9.4
  1189. * configure: Rebuild.
  1190. * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf.
  1191. Based on patch from H.J. Lu <hjl@gnu.org>:
  1192. * emultempl/elf32.em (global_vercheck_needed): New file static
  1193. variable.
  1194. (global_vercheck_failed): New file static variable.
  1195. (gld${EMULATION_NAME}_after_open): Check for shared libraries
  1196. twice, once with force set to 0 and once with it set to 1.
  1197. (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter.
  1198. Change all callers.
  1199. (gld${EMULATION_NAME}_search_needed): Likewise.
  1200. (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check
  1201. whether the libraries needs any incompatible versions.
  1202. (gld${EMULATION_NAME}_vercheck): New static function.
  1203. Wed Apr 22 16:01:35 1998 Tom Tromey <tromey@cygnus.com>
  1204. * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
  1205. Wed Apr 22 12:40:56 1998 Ian Lance Taylor <ian@cygnus.com>
  1206. * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when
  1207. invoking runtest.
  1208. * Makefile.in: Rebuild.
  1209. * lexsup.c (parse_args): Change -l options into --library options
  1210. to avoid confusion between -li and -library.
  1211. * ld.texinfo (MEMORY): Clarify use of >REGION.
  1212. Tue Apr 21 23:12:40 1998 Tom Tromey <tromey@scribbles.cygnus.com>
  1213. * Many files: Added gettext invocations around user-visible
  1214. strings.
  1215. * ld.h: Added gettext-related includes and defines.
  1216. * ldmain.c: Call setlocale, bindtextdomain, textdomain.
  1217. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
  1218. HAVE_LC_MESSAGES): Define.
  1219. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and
  1220. po/Makefile. Use AM_PROG_LEX.
  1221. (TDIRS): AC_SUBST early on, to avoid having value split when it
  1222. happens to cross line 90 of the generated sed script.
  1223. * Makefile.am (SUBDIRS): New macro.
  1224. (POTFILES): Likewise.
  1225. (po/POTFILES.in): New target.
  1226. (ld_new_LDADD): Added INTLLIBS.
  1227. (ld_new_DEPENDENCIES): Added INTLDEPS.
  1228. * po/Make-in, po/POTFILES.in, po/ld.pot: New files.
  1229. Tue Apr 21 23:07:07 1998 Ian Lance Taylor <ian@cygnus.com>
  1230. * ld.texinfo (Simple Example): Rewrite a few things as suggested
  1231. by Nick Clifton <nickc@cygnus.com>.
  1232. (PROVIDE): Likewise.
  1233. Tue Apr 21 09:55:06 1998 Nick Clifton <nickc@cygnus.com>
  1234. * emultempl/pe.em: Rename external arm interworking functions
  1235. to conform to BFD naming conventions. Add code to _after_open()
  1236. function to obtain a bfd for use by the interworking code.
  1237. * emultempl/armcoff.em: Rename external arm interworking functions
  1238. to conform to BFD naming conventions. Add new _after_open()
  1239. function to obtain a bfd for use by the interworking code.
  1240. Sun Apr 19 19:23:09 1998 Richard Henderson <rth@cygnus.com>
  1241. * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]:
  1242. Update dot and the default memory section even when relaxing.
  1243. Sat Apr 18 18:41:12 1998 Richard Henderson <rth@cygnus.com>
  1244. * ldlang.c (lang_one_common): Manipulate the section's cooked size
  1245. rather than its raw size.
  1246. Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org>
  1247. * configure.in (TESTBFDLIB): New. Defined and substituted.
  1248. * Makefile.am (TESTBFDLIB): Changed to @TESTBFDLIB@.
  1249. * configure, Makefile.in: Rebuild.
  1250. Mon Apr 6 15:33:39 1998 Ian Lance Taylor <ian@cygnus.com>
  1251. * Makefile.am (ld.info): Invoke makeinfo with -I options directly
  1252. rather than relying on default rule. Don't depend upon
  1253. bfdsumm.texi.
  1254. (ld.dvi): Likewise.
  1255. (bfdsumm.texi): Remove target.
  1256. (CLEANFILES): Take bfdsumm.texi out of value.
  1257. * Makefile.in: Rebuild.
  1258. Sun Apr 5 13:07:57 1998 Ian Lance Taylor <ian@cygnus.com>
  1259. * scripttempl/pe.sc: Use shell variables to avoid depending upon
  1260. how $ is handled when expanding a shell substitution.
  1261. Fri Apr 3 00:56:50 1998 Ian Lance Taylor <ian@cygnus.com>
  1262. * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum.
  1263. (DISTCLEANFILES): Add site.exp and site.bak.
  1264. * Makefile.in: Rebuild.
  1265. * configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
  1266. rather than in a shell variable and using AC_SUBST.
  1267. * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs.
  1268. (distclean-local): New target.
  1269. * configure, Makefile.in: Rebuild.
  1270. * ld.texinfo: Completely rewrite linker script documentation.
  1271. Mon Mar 30 12:47:33 1998 Ian Lance Taylor <ian@cygnus.com>
  1272. * configure.in: Set version to 2.9.1.
  1273. * configure: Rebuild.
  1274. * Branched binutils 2.9.
  1275. Sat Mar 28 16:48:19 1998 Ian Lance Taylor <ian@cygnus.com>
  1276. * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
  1277. (mostlyclean-local): New target to remove tmpdir.
  1278. * Makefile.in: Rebuild.
  1279. Fix some gcc -Wall warnings:
  1280. * ldcref.c (output_cref): Add casts to avoid warnings.
  1281. * ldfile.c (ldfile_add_arch): Likewise.
  1282. * ldlang.c (lang_leave_overlay_section): Likewise.
  1283. * lexsup.c (OPTION_COUNT): Likewise.
  1284. (parse_args): Likewise.
  1285. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
  1286. Likewise.
  1287. * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
  1288. * ldlang.c (lang_check): Initialize variables to avoid warnings.
  1289. * ldwrite.c (build_link_order): Likewise.
  1290. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
  1291. * emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
  1292. Remove unused variables.
  1293. * Makefile.am (MOSTLYCLEANFILES): Correct name (was
  1294. MOSTCLEANFILES).
  1295. * Makefile.in: Rebuild.
  1296. Fri Mar 27 16:39:25 1998 Ian Lance Taylor <ian@cygnus.com>
  1297. * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
  1298. ARM code inside ifdef TARGET_IS_armpe.
  1299. Wed Mar 25 11:34:13 1998 Ian Lance Taylor <ian@cygnus.com>
  1300. Based on patch from H.J. Lu <hjl@gnu.org>:
  1301. * Makefile.am (LDDISTSTUFF): New variable.
  1302. (diststuff): New target.
  1303. * Makefile.in: Rebuild.
  1304. * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
  1305. relocating.
  1306. Tue Mar 24 15:59:29 1998 Nick Clifton <nickc@cygnus.com>
  1307. * scripttempl/pe.sc (.text): Add .glue_7 and .glue_7t sections to
  1308. hold Arm/Thumb stubs.
  1309. * emultempl/pe.em (gld_pe_before_allocation): Call
  1310. arm_process_before_allocation (for ARM/Thumb targets) in order to
  1311. gather interworking stb information.
  1312. Mon Mar 23 18:54:15 1998 Joel Sherrill <joel@OARcorp.com>
  1313. * configure.tgt: (sh*-*-rtems*): Switched from ELF to COFF.
  1314. Fri Mar 20 19:17:13 1998 Ian Lance Taylor <ian@cygnus.com>
  1315. * aclocal.m4, configure: Rebuild with libtool 1.2.
  1316. Thu Mar 19 14:54:45 1998 Geoffrey Noer <noer@cygnus.com>
  1317. * scripttempl/pe.sc: The Cygwin32 library uses a .data$nocopy
  1318. section to avoid copying certain data on fork. The linker used to
  1319. include this between __data_start__ and __data_end__, but that
  1320. breaks building the cygwin32 dll. The fix is to rename the
  1321. section ".data_cygwin_nocopy" and explicitly include it after
  1322. __data_end__.
  1323. Wed Mar 18 09:42:24 1998 Nick Clifton <nickc@cygnus.com>
  1324. * configure.tgt (targ_extra_emuls): Add thumb-pe target.
  1325. Sun Mar 8 23:34:14 1998 Stan Cox <scox@equinox.cygnus.com>
  1326. * configure.tgt (sparclite*-*-elf): Added.
  1327. Mon Mar 2 19:24:08 1998 Michael Meissner <meissner@cygnus.com>
  1328. * ldlang.c (lang_size_sections): If the default memory region is
  1329. *default*, see if there is a memory region that could be used.
  1330. Thu Feb 26 17:09:53 1998 Michael Meissner <meissner@cygnus.com>
  1331. * scripttempl/elfd30v.sc: Add support for .eit_v section and put
  1332. it at 0xfffff020.
  1333. * emulparams/d30v{elf,_o,_e}.sh: Ditto.
  1334. Mon Feb 23 17:46:51 1998 Ian Lance Taylor <ian@cygnus.com>
  1335. * emultempl/pe.em (sort_sections): Permit the wildcard to include
  1336. a trailing '*' when sorting grouped sections.
  1337. * scripttempl/pe.sc: Include grouped sections using NAME\$*. Only
  1338. include them when relocating.
  1339. Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
  1340. * Makefile.am (install-exec-local): Install properly when ln
  1341. fails or tooldir == prefix.
  1342. Fri Feb 13 15:24:06 1998 Ian Lance Taylor <ian@cygnus.com>
  1343. * Makefile.am (AUTOMAKE_OPTIONS): Define.
  1344. * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
  1345. Thu Feb 12 14:10:44 1998 Ian Lance Taylor <ian@cygnus.com>
  1346. * scripttempl/elf.sc: Align the _end symbol according to the ELF
  1347. format size. From Gordon W. Ross <gwr@mc.com>.
  1348. NetBSD patches from Gordon W. Ross <gwr@mc.com>:
  1349. * configure.host (alpha*-*-netbsd*): New host.
  1350. * configure.tgt (alpha*-*-netbsd*, powerpc-*-netbsd*): New
  1351. targets.
  1352. * lexsup.c (help): Update bug-gnu-utils address.
  1353. * ld.texinfo (Bug Reporting): Likewise.
  1354. Tue Feb 10 18:05:56 1998 Ian Lance Taylor <ian@cygnus.com>
  1355. * ldlang.c (lang_size_sections): Warn if some memory regions were
  1356. defined, but a loadable section is going into the default memory
  1357. region.
  1358. Tue Feb 10 16:17:20 1998 H.J. Lu <hjl@gnu.org>
  1359. * ldlex.l (V_IDENTIFIER): Allow '.' as symbol prefix.
  1360. Tue Feb 10 15:09:45 1998 Ian Lance Taylor <ian@cygnus.com>
  1361. * Makefile.am (Makefile): Add target, for dependencies on
  1362. configure.host and configure.tgt.
  1363. * configure.host, configure.tgt: Change -linux* to -linux-gnu*.
  1364. * Makefile.in: Rebuild.
  1365. Mon Feb 9 13:44:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
  1366. * scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE.
  1367. * emulparams/d10velf.sh (READONLY_START_ADDR): Read only section
  1368. moved to 0x00.....4.
  1369. Sat Feb 7 15:41:26 1998 Ian Lance Taylor <ian@cygnus.com>
  1370. * configure, aclocal.m4: Rebuild with new libtool.
  1371. Thu Feb 5 12:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
  1372. * scripttempl/pe.sc: Remove ${RELOCATING-0} from all sections.
  1373. From Thomas de Lellis <tdel@wrs.com>.
  1374. * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
  1375. Wed Feb 4 13:02:32 1998 Ian Lance Taylor <ian@cygnus.com>
  1376. * Makefile.am (ld_new_LDADD): Remove @LEXLIB@.
  1377. * Makefile.in: Rebuild.
  1378. Mon Feb 2 19:34:54 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
  1379. Add tms320c30 support:
  1380. * configure.tgt (tic30-*-*aout*, tic30-*-*coff*): New targets.
  1381. * emulparams/tic30aout.sh: New file.
  1382. * emulparams/tic30coff.sh: New file.
  1383. * scripttempl/tic30aout.sc: New file.
  1384. * scripttempl/tic30coff.sc: New file.
  1385. * Makefile.am (ALL_EMULATIONS): Add etic30aout.o and
  1386. etic30coff.o.
  1387. (etic30aout.c, etic30coff.c): New targets.
  1388. * Makefile.in: Rebuild.
  1389. Mon Feb 2 14:10:59 1998 Ian Lance Taylor <ian@cygnus.com>
  1390. * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
  1391. accept either ld.so or ld-linux.so.
  1392. Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com>
  1393. * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
  1394. to transform.
  1395. * Makefile.in: Regenerate.
  1396. Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au>
  1397. * scripttempl/elfppc.sc: Put .dynsbss in .sbss.
  1398. Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu>
  1399. * Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
  1400. * Makefile.in: Rebuild.
  1401. Thu Jan 29 16:04:21 1998 Mumit Khan <khan@xraylith.wisc.edu>
  1402. * ldfile.c (slash): Set to backslash if _WIN32 but not
  1403. __CYGWIN32__.
  1404. (ldfile_open_file_search): If __MSDOS__ or _WIN32, accept a
  1405. leading backslash or a leading x: as an absolute path.
  1406. (ldfile_find_command_file): Use slash rather than / when
  1407. generating name to try.
  1408. * lexsup.c (PATH_SEPARATOR): Define.
  1409. (set_default_dirlist): Use PATH_SEPARATOR rather than ':'.
  1410. Wed Jan 28 14:06:30 1998 Richard Henderson <rth@cygnus.com>
  1411. * emulparams/elf64_sparc.sh (ELFSIZE): 64
  1412. (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later.
  1413. (DATA_PLT): Needed by v9 abi.
  1414. Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
  1415. * configure.tgt (i[3456]86-*-mingw32*): New entry.
  1416. Wed Jan 28 15:51:58 1998 Ian Lance Taylor <ian@cygnus.com>
  1417. * scripttempl/elf.sc: Only include linkonce sections in final
  1418. sections when relocating.
  1419. Wed Jan 28 14:10:01 1998 Ian Lance Taylor <ian@cygnus.com>
  1420. * ld.texinfo (Options): Add a brief description of the types of
  1421. information included in a link map.
  1422. * ld.texinfo (Options): Mention LDEMULATION in description of -m.
  1423. (Environment): Mention LDEMULATION.
  1424. * ld.texinfo (Options): Clarify --export-dynamic a bit.
  1425. Thu Jan 22 16:07:23 1998 Richard Henderson <rth@cygnus.com>
  1426. * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
  1427. pattern could match.
  1428. Wed Jan 21 22:26:46 1998 Ian Lance Taylor <ian@cygnus.com>
  1429. * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
  1430. a relocateable link, set the image base to 0, and don't define the
  1431. various symbols.
  1432. * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
  1433. * scripttempl/pe.sc: Swap the .data and .bss sections so that
  1434. .data comes first. If doing a relocateable link, use
  1435. RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
  1436. sections at 0, and don't define any symbols.
  1437. * ldlang.c (lang_memory_default): Correct parenthisization of
  1438. expression.
  1439. Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
  1440. * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
  1441. here; they are included already via sysdep.h.
  1442. Tue Jan 6 13:40:02 1998 Richard Henderson <rth@cygnus.com>
  1443. * scripttempl/i960.sc: Don't explicitly set .data and .bss start.
  1444. Fri Jan 2 20:15:37 1998 Michael Meissner <meissner@cygnus.com>
  1445. * ldgram.y (attributes_opt): Pass region pointer to
  1446. lang_set_flags, not &region->flags.
  1447. * ldlang.c (lang_memory_default): New function to figure out a
  1448. default memory region for a section if it was not specified.
  1449. (lang_memory_region_lookup): Zero flags, not_flags field.
  1450. (lang_map{,_flags}): Print attribute flags in memory map.
  1451. (lang_size_sections): Call lang_memory_default to get default
  1452. memory region.
  1453. (lang_set_flags): Implement attribute flags for real. Take new
  1454. argument to give the flags we are to skip for this region.
  1455. * ldlang.h (memory_region_struct): Add not_flags field, make both
  1456. flags fields flagword type.
  1457. (lang_output_section_state): Make flags field flagword type.
  1458. (lang_set_flags): Update prototype to match new calling sequence.
  1459. (lang_memory_region_default): Add prototype.
  1460. * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION):
  1461. Define whether or not the region gets default sections, and if so,
  1462. what sections.
  1463. * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get
  1464. default sections.
  1465. Thu Jan 1 22:58:04 1998 Michael Meissner <meissner@cygnus.com>
  1466. * scripttempl/elfd30v.sc (.eh_frame): Link into the data section.
  1467. Thu Jan 1 18:04:51 1998 Jeffrey A Law (law@cygnus.com)
  1468. * scripttempl/h8300h.sc: Fix typo.
  1469. * scripttempl/h8300s.sc: Likewise.
  1470. For older changes see ChangeLog-9197
  1471. Copyright (C) 1998-1999 Free Software Foundation, Inc.
  1472. Copying and distribution of this file, with or without modification,
  1473. are permitted in any medium without royalty provided the copyright
  1474. notice and this notice are preserved.
  1475. Local Variables:
  1476. mode: change-log
  1477. left-margin: 8
  1478. fill-column: 74
  1479. version-control: never
  1480. End: