ChangeLog-0203 120 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587
  1. 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  2. Add m32r-linux and PIC support. Add new ABI that uses RELA.
  3. * Makefile.am: Added em32rlelf.c, em32relf_linux.c,
  4. em32rlelf_linux.c.
  5. * Makefile.in: Regenerate.
  6. * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added.
  7. * emulparams/m32relf_linux.sh: Added.
  8. * emulparams/m32rlelf.sh: Ditto.
  9. * emulparams/m32rlelf_linux.sh: Ditto.
  10. * NEWS: Mention support m32r Linux.
  11. 2003-12-18 Eric Youngdale <eric@mkssoftware.com>
  12. Nick Clifton <nickc@redhat.com>
  13. * emultempl/pe.em (_after_open): When scanning MS import
  14. libraries allow for the possible presence of static objects.
  15. 2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
  16. * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
  17. cplus_demangle.
  18. 2003-12-07 Kazu Hirata <kazu@cs.umass.edu>
  19. * ldemul.c: Convert to ISO-C.
  20. * ldver.c: Likewise.
  21. 2003-12-06 Kazu Hirata <kazu@cs.umass.edu>
  22. * lexsup.c (is_num): Remove.
  23. 2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
  24. * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to
  25. 0. This fixes "bad fixup" error generated by MS linker.
  26. 2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
  27. * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
  28. link_info.need_relax_finalize to TRUE.
  29. * ldlang.c (lang_process): Use link_info.need_relax_finalize
  30. instead of link_info.relax_finalizing.
  31. * ldmain.c (main): Likewise.
  32. 2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
  33. * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
  34. 2003-12-04 Alan Modra <amodra@bigpond.net.au>
  35. * ldlang.c (lang_do_assignments): Function return is void.
  36. * ldlang.h (lang_do_assignments): Ditto.
  37. * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
  38. * Makefile.am (ens32knbsd.c): Depend on netbsd.em.
  39. * Makefile.in: Regenerate.
  40. 2003-12-03 Dave Airlie <airlied@linux.ie>
  41. * configure.tgt: Add vax-linux-gnu target.
  42. 2003-12-03 Dmitry Diky <diwil@mail.ru>
  43. * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
  44. forthcoming devices.
  45. (_etext): provide this defenition for all scripts.
  46. 2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
  47. * emultempl/beos.em: Remove ARGSUSED.
  48. 2003-12-03 Alan Modra <amodra@bigpond.net.au>
  49. * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed
  50. bfd_link_hash_entry field "next" -> "und_next".
  51. (pe_find_data_imports): Likewise.
  52. (gld_${EMULATION_NAME}_after_open): Likewise.
  53. * emultempl/sunos.em (before_allocation): Likewise.
  54. 2003-12-02 Nick Clifton <nickc@redhat.com>
  55. * ld.texinfo (Options): --ignore-all is no longer the default
  56. behaviour for shared libraries and dynamic executables.
  57. 2003-12-02 Alan Modra <amodra@bigpond.net.au>
  58. * Makefile.am: Run "make dep-am".
  59. * Makefile.in: Regenerate.
  60. 2003-12-02 Alan Modra <amodra@bigpond.net.au>
  61. * ldmain.c (main): Remove mpc860c0 code.
  62. * lexsup.c (enum option_values): Delete OPTION_MPC860C0.
  63. (ld_options): Delete mpc860c0 entry.
  64. (parse_args): Likewise.
  65. 2003-12-01 Alan Modra <amodra@bigpond.net.au>
  66. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
  67. hash table type rather than testing creator flavour.
  68. * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
  69. Only create stub_file bfd if hash table creator is as expected.
  70. (gld${EMULATION_NAME}_finish): Test stub_file.
  71. 2003-11-28 Marcel Moolenaar <marcel@xcllnt.net>
  72. * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
  73. (DATA_ADDR): Unset.
  74. 2003-11-18 James E Wilson <wilson@specifixinc.com>
  75. * ldlang.c (lang_process): Move lang_reset_memory_regions call after
  76. lang_do_assignments call.
  77. * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
  78. .rela.opd if -pie.
  79. 2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au>
  80. * scripttempl/pe.sc: Add support for TLS sections.
  81. 2003-11-09 Alan Modra <amodra@bigpond.net.au>
  82. * configure.host (HOSTING_LIBS): Group libgcc and libc with
  83. --start-group, --end-group pair.
  84. (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
  85. (am33_2.0-*-linux*): Edit default HOSTING_CRT0.
  86. (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
  87. (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
  88. 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
  89. * ldfile.c (ldfile_open_file): Use "No such file" error message.
  90. 2003-11-06 Bruno Rohee <bruno@rohee.com>
  91. * ls.texinfo: Fix "the the" typo.
  92. 2003-11-05 Alan Modra <amodra@bigpond.net.au>
  93. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
  94. pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
  95. (pr_sym): Move inside #ifdef DLL_SUPPORT.
  96. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
  97. unused variable.
  98. * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
  99. 2003-11-04 Alan Modra <amodra@bigpond.net.au>
  100. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
  101. _bfd_elf_tls_setup.
  102. 2003-10-31 Nick Clifton <nickc@redhat.com>
  103. * ldlang.c (lookup_name): When looking for a previously loaded
  104. file compare the local_sym_name not the filename, as the
  105. filename might have been transformed via the search directory
  106. path lookup.
  107. If the sought-for file has not been found in the input file
  108. chain then create a new node with the search_dirs_flag set so
  109. that the entire set of directory paths will be scanned for it.
  110. 2003-10-30 Andrew Cagney <cagney@redhat.com>
  111. * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
  112. with "struct bfd_symbol".
  113. 2003-10-30 Phil Edwards <phil@codesourcery.com>
  114. * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
  115. (eelf32mipswindiss.c): New target.
  116. * Makefile.in: Regenerated.
  117. * emulparams/elf32mipswindiss.sh: New file.
  118. * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
  119. mips*-*-vxworks*): Use ELF now.
  120. (mips*-*-windiss): New stanza, use elf32mipswindiss.
  121. 2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
  122. * scripttempl/elfm68hc12.sc: Define eeprom memory region.
  123. 2003-10-25 Kazu Hirata <kazu@cs.umass.edu>
  124. * ChangeLog-9197: Fix typos.
  125. * NEWS: Likewise.
  126. * ld.texinfo: Likewise.
  127. * ldlang.c: Fix comment typos.
  128. 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
  129. * ldlang.c (lang_vers_match): Fix a typo.
  130. 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
  131. * ldlang.c (lang_vers_match): Check demangled symbols.
  132. 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
  133. * ldlang.c (lang_vers_match): Check "symbol" instead of
  134. "wildcard" and "pattern". Fix a typo.
  135. (lang_finalize_version_expr_head): Likewise.
  136. (lang_register_vers_node): Likewise.
  137. (realsymbol): New function.
  138. (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
  139. * ldlex.l (V_IDENTIFIER): Allow '\\'.
  140. 2003-10-24 Nick Clifton <nickc@redhat.com>
  141. * emultempl/m68hc1xelf.em (before_allocation): Add missing second
  142. parameter to lang_memory_region_lookup.
  143. 2003-10-22 Jakub Jelinek <jakub@redhat.com>
  144. * ldlang.c: Include hashtab.h.
  145. (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
  146. lang_vers_match_lang_java): Remove.
  147. (lang_vers_match): New function.
  148. (lang_new_vers_pattern): Initialize wildcard and mask
  149. fields, don't initialize match.
  150. (lang_new_vers_node): Use xcalloc. Adjust for globals and
  151. locals field type changes. Set match field.
  152. (version_expr_head_hash, version_expr_head_eq): New functions.
  153. (lang_finalize_version_expr_head): New function.
  154. (lang_register_vers_node): Call lang_finalize_version_expr_head.
  155. Search in hash table if not wildcard when looking for duplicates.
  156. * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
  157. duplicate checking. Initialize all fields of dot_entry from entry
  158. with the exception of pattern and next.
  159. 2003-10-21 Nick Clifton <nickc@redhat.com>
  160. * ldlang.c (lang_memory_region_lookup): Add second parameter -
  161. create - which is true if the region is being created. Issue
  162. appropriate warning messages for finding and not finding
  163. already created regions.
  164. (lang_memory_default): Use DEFAULT_MEMORY_REGION.
  165. (lang_leave_overlay_section): Likewise.
  166. (lang_size_sections_1): Likewise.
  167. Pass second parameter to lang_memory_region_lookup.
  168. (lang_get_regions): Likewise.
  169. * ldlang.h (DEFAULT_MEMORY_REGION): Define.
  170. Update prototype for lang_memory_region_lookup.
  171. * ldgram.y: Pass second parameter to lang_memory_region_lookup.
  172. Use DEFAULT_MEMORY_REGION instead of "*default".
  173. 2003-10-20 Andrew Cagney <cagney@redhat.com>
  174. * pe-dll.c: Replace "struct sec" with "struct bfd_section".
  175. 2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
  176. * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
  177. target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
  178. avrmega161, avrmega603. Default to avr2.
  179. * Makefile.in: Regenerate.
  180. * configure.tgt: Likewise.
  181. * emulparams/avr1200.sh: Remove.
  182. * emulparams/avr23xx.sh: Remove.
  183. * emulparams/avr4433.sh: Remove.
  184. * emulparams/avr44x4.sh: Remove.
  185. * emulparams/avr85xx.sh: Remove.
  186. * emulparams/avrmega103.sh: Remove.
  187. * emulparams/avrmega161.sh: Remove.
  188. * emulparams/avrmega603.sh: Remove.
  189. * scripttempl/elf32avr.sc: Remove.
  190. 2003-10-19 Andreas Schwab <schwab@suse.de>
  191. * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
  192. newline to message.
  193. * deffilep.y: Remove commas from %token lines.
  194. 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
  195. * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
  196. relaxation always; don't exclude relocatable linking. Adjust for
  197. _bfd_mmix_prepare_linker_allocated_gregs renamed to
  198. _bfd_mmix_before_linker_allocation.
  199. (mmix_after_allocation): Adjust for
  200. _bfd_mmix_finalize_linker_allocated_gregs renamed to
  201. _bfd_mmix_after_linker_allocation.
  202. * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
  203. * ldlang.c (lang_size_sections): Last, set _cooked_size for output
  204. sections.
  205. 2003-10-16 Alan Modra <amodra@bigpond.net.au>
  206. * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
  207. GENSCRIPTS and GEN_DEPENDS in place of these.
  208. * Makefile.in: Regenerate.
  209. * genscripts_extra.sh: Delete. Merge extra functionality to..
  210. * genscripts.sh: ..here.
  211. * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
  212. * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
  213. * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
  214. * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
  215. * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
  216. 2003-10-16 Alan Modra <amodra@bigpond.net.au>
  217. * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
  218. use $EMULATION_NAME to call bfd function.
  219. 2003-10-14 Danny Smith <dannysmith@users.sourceforge.net>
  220. * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
  221. to identify data symbols.
  222. 2003-10-13 Richard Sandiford <rsandifo@redhat.com>
  223. * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
  224. definition from elf64btsmip.sh.
  225. (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
  226. * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
  227. * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
  228. * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
  229. (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
  230. Define __program_header_table in terms of __elf_header.
  231. 2003-10-10 H.J. Lu <hongjiu.lu@intel.com>
  232. * Makefile.am (eelf64_ia64.c): Also depend on
  233. $(srcdir)/emultempl/ia64elf.em.
  234. * Makefile.in: Regenerated.
  235. * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
  236. * emultempl/ia64elf.em: New.
  237. 2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  238. * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
  239. 2003-10-11 Hans-Peter Nilsson <hp@bitrange.com>
  240. * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
  241. defined before the statement using DEFINED yield 1.
  242. * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
  243. call lang_track_definedness on symbol. In subsequent phases, use
  244. lang_symbol_definition_iteration and lang_statement_iteration to
  245. check whether the symbol was defined before the current statement.
  246. (exp_fold_tree) <case etree_assign et al>: Call
  247. lang_update_definedness before updating symbol type when setting
  248. symbol.
  249. * ldlang.c (lang_definedness_table): New variable.
  250. (lang_definedness_newfunc, lang_track_definedness)
  251. (lang_symbol_definition_iteration, lang_update_definedness): New
  252. functions.
  253. (lang_init): Initialize lang_definedness_table and
  254. lang_statement_iteration.
  255. (lang_finish): Destroy bfd_hash_table_free.
  256. (lang_size_sections): Increment lang_statement_iteration.
  257. (lang_do_assignments_1): New function with former
  258. lang_do_assignments contents. Change recursive calls to call this
  259. function.
  260. (lang_do_assignments): Evacuate contents. Increment
  261. lang_statement_iteration, then just call lang_do_assignments_1.
  262. * ldlang.h (struct lang_definedness_hash_entry)
  263. (lang_statement_iteration, lang_track_definedness)
  264. (lang_symbol_definition_iteration, lang_update_definedness):
  265. Declare.
  266. 2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
  267. * scripttempl/elf.sc (__executable_start): Provide.
  268. 2003-10-09 Daniel Jacobowitz <drow@mvista.com>
  269. * emulparams/armelf.sh: Define NO_SMALL_DATA.
  270. * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
  271. emulparams/armnto.sh: Likewise.
  272. 2003-10-08 Alexandre Oliva <aoliva@redhat.com>
  273. * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
  274. whether to skip test for no memory region.
  275. 2003-10-08 Nick Clifton <nickc@redhat.com>
  276. * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
  277. describing defaults. Change default to report unresolved symbols
  278. in object files as well.
  279. 2003-10-08 Hans-Peter Nilsson <hp@bitrange.com>
  280. * ldexp.c (fold_name) <case DEFINED>: Set section of result to
  281. abs_output_section.
  282. 2003-10-07 Bob Wilson <bob.wilson@acm.org>
  283. * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
  284. OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
  285. zero for relocatable links.
  286. 2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  287. * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
  288. 2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
  289. * ldwrite.c (unsplittable_name): New.
  290. (clone_section): Strip existing numeric suffix. Only truncate names
  291. for coff targets.
  292. (split_sections): Use unsplittable_name.
  293. 2003-10-06 Nick Clifton <nickc@redhat.com>
  294. * lexsup.c (parse_args): Report unresolved symbols in shared
  295. libraries when creating a dynamic executable. This is a
  296. restoration of the default behaviour for previous versions of
  297. the linker.
  298. 2003-10-06 Matt Thomas <matt@3am-software.com>
  299. * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
  300. * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
  301. 2003-10-06 Robert Millan <robertmh@gnu.org>
  302. * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
  303. 2003-10-02 Ivan Warren <ivan@vmfacility.fr>
  304. * pe-dll.c (make_one): Correct sym def order & pick right sym for
  305. .idata$7 reloc.
  306. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  307. * NEWS: Add an indication of the cutoff for 2.14.
  308. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  309. * ldmain.c (get_emulation): Ignore "-mips64r2".
  310. 2003-09-03 Robert Millan <robertmh@gnu.org>
  311. * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
  312. triplet.
  313. * configure.tgt: Likewise.
  314. 2003-08-29 Jafa <jafa@silicondust.com>
  315. * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
  316. 2003-08-21 Nick Clifton <nickc@redhat.com>
  317. * po/tr.po: Updated Turkish translation.
  318. 2003-08-20 Nick Clifton <nickc@redhat.com>
  319. * ldmain.c: Initialise the new fields in bfd_link_info to
  320. NOT_YET_SET.
  321. * lexsup.c (enum option_values): New enum. Use this to
  322. replace the hand coded values for the long switch options.
  323. (ld_options): Add 'unresolved-symbols',
  324. 'warn-unresolved-symbols' and 'error-unresolved-symbols'.
  325. (parse_args): Handle the new switches. Set the values of
  326. unresolved_symbols_in_objects and
  327. unresolved_symbols_in_shared_libs appropriately. If they were
  328. not initialised by the command line, install default values.
  329. * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
  330. -z defs to use the new fields in bfd_link_info.
  331. * ld.texinfo: Document the new switches.
  332. * NEWS: Mention this feature.
  333. 2003-08-15 Dmitry Diky <diwil@mail.ru>
  334. * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
  335. calls genscripts_extra.sh.
  336. Rearrange all msp430 depends using this script.
  337. * Makefile.in: Regenerate.
  338. * genscripts_extra.sh: New file: Similar to genscripts.sh, except
  339. that the script to be run to generate the emulations can be passed
  340. as an optional parameter instead of being computed from the
  341. emulation name.
  342. * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
  343. definitions into one file.
  344. * emulparams/msp430x*.sh: Removed.
  345. 2003-08-15 Nick Clifton <nickc@redhat.com>
  346. * ld.texinfo (Options): Put keywords for the -z option into a
  347. table. Add more text describing what the -z now option does.
  348. 2003-08-14 Alan Modra <amodra@bigpond.net.au>
  349. * dep-in.sed: Remove libintl.h.
  350. * Makefile.am (POTFILES.in): Unset LC_COLLATE.
  351. * Makefile.in: Regenerate.
  352. 2003-08-13 Alan Modra <amodra@bigpond.net.au>
  353. * genscripts.sh (libpath.exp): Only generate for first emulation.
  354. (LIB_PATH): Correct order of paths. Don't add $tool_lib when
  355. already present or when LIB_PATH is set to ":".
  356. 2003-08-12 Ian Lance Taylor <ian@airs.com>
  357. * ldmain.c (undefined_symbol): Change parameter name from `fatal'
  358. to `error'. If only a warning, put warning in the reported
  359. string. Consistently set failure flag when not a warning.
  360. 2003-08-08 Dmitry Diky <diwil@mail.ru>
  361. * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
  362. gcc order.
  363. * Makefile.in: Regenerate.
  364. * configure.tgt: Add extra emulations.
  365. * emulparams/msp430xE423.sh: New file.
  366. * emulparams/msp430xE427.sh: New file.
  367. * emulparams/msp430xW425.sh: New file.
  368. * emulparams/msp430xE425.sh: New file.
  369. * emulparams/msp430xW423.sh: New file.
  370. * emulparams/msp430xW427.sh: New file.
  371. 2003-08-07 Danny Smith <dannysmith@users.sourceforge.net>
  372. * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
  373. Change second (cmdline) arg to lang_add_entry to FALSE.
  374. (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
  375. 2003-08-05 Christian Groessler <chris@groessler.org>
  376. Jason Eckhardt <jle@rice.edu>
  377. * configure.tgt: Recognize new target i860-*-coff.
  378. * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
  379. (ecoff_i860.c): New rule.
  380. * emulparams/coff_i860.sh: New file.
  381. * scripttempl/i860coff.sc: New file.
  382. * Makefile.in: Regenerate.
  383. 2003-08-04 Nick Clifton <nickc@redhat.com>
  384. * emultempl/elf32.em (before_allocation): Prepend "warning: "
  385. to messages produced for .gnu.warning.SYMBOL sections.
  386. 2003-08-04 Alan Modra <amodra@bigpond.net.au>
  387. * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put
  388. .rel.dyn before other reloc sections. Don't stop looking for reloc
  389. sections on finding one that isn't allocated. Match .rel even when
  390. placing .rela and vice versa, when setting last_rel and
  391. last_rel_alloc for the first time. If no reloc sections in script,
  392. prefer allocated section over non-alloc.
  393. (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
  394. 2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  395. * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
  396. section for shared library.
  397. * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
  398. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
  399. 2003-07-29 Stephane Carrez <stcarrez@nerim.fr>
  400. * scripttempl/elfm68hc12.sc: Add gcc_except_table.
  401. * scripttempl/elfm68hc11.sc: Likewise.
  402. 2003-07-28 Alan Modra <amodra@bigpond.net.au>
  403. * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
  404. * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
  405. 2003-07-27 Alan Modra <amodra@bigpond.net.au>
  406. * ld.texinfo: Typo fixes. Document SUBALIGN.
  407. * ldgram.y (opt_subalign): Add.
  408. * ldlex.l (SUBALIGN): Recognize.
  409. * ldlang.c (overlay_subalign): New var.
  410. (lang_enter_overlay): Add subalign param.
  411. (lang_enter_overlay_section): Pass overlay_subalign to
  412. lang_enter_output_section_statement.
  413. * ldlang.h (lang_enter_overlay): Update.
  414. 2003-07-24 Nick Clifton <nickc@redhat.com>
  415. * po/fr.po: Updated French translation.
  416. 2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
  417. * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
  418. account .tramp sections;
  419. * scripttempl/elfm68hc12.sc: Likewise.
  420. 2003-07-17 Charles Wilson <cwilson@ece.gatech.edu>
  421. * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
  422. 2003-07-17 Nick Clifton <nickc@redhat.com>
  423. * po/es.po: New Spanish translation.
  424. 2003-07-11 Alan Modra <amodra@bigpond.net.au>
  425. * po/ld.pot: Regenerate.
  426. 2003-07-10 Bob Wilson <bob.wilson@acm.org>
  427. * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
  428. with new .got.loc section.
  429. (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
  430. non-relocating links.
  431. (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce
  432. sections separate for non-relocating links; likewise for .xt.insn.
  433. 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
  434. 2001-08-22 Alexandre Oliva <aoliva@redhat.com>
  435. * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
  436. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  437. * configure.host (am33_2.0-*-linux*): Added.
  438. * configure.tgt (am33_2.0-*-linux*): Likewise.
  439. * emulparams/elf32am33lin.sh: New.
  440. * Makefile.am (eelf32am33lin.c): New rule.
  441. * Makefile.in: Rebuilt.
  442. 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
  443. 2001-04-17 Alexandre Oliva <aoliva@redhat.com>
  444. * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
  445. (GENERATE_SHLIB_SCRIPT): Likewise.
  446. 2003-07-10 Alan Modra <amodra@bigpond.net.au>
  447. * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
  448. (GOT): Define.
  449. * emultempl/ppc64elf.em (stub_added): New static var.
  450. (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
  451. (ppc_add_stub_section): Set stub_added.
  452. (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust
  453. ppc64_elf_size_stubs call and test for stubs.
  454. * scripttempl/elf.sc (GOT): Define and use.
  455. 2003-07-08 J"orn Rennecke <joern.rennecke@superh.com>
  456. * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
  457. Allow second call from ldemul_finish.
  458. 2003-07-04 J"orn Rennecke <joern.rennecke@superh.com>
  459. * emulparams/shelf32.sh (STACK_ADDR): Don't define.
  460. (OTHER_SECTIONS): Include .stack.
  461. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
  462. 2003-07-02 Jakub Jelinek <jakub@redhat.com>
  463. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
  464. .opd if -pie.
  465. (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
  466. * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
  467. if -pie.
  468. 2003-06-28 Alan Modra <amodra@bigpond.net.au>
  469. * ld.h: Convert to C90, remove unnecessary prototypes and casts.
  470. Replace PTR with void *. Formatting.
  471. * ldcref.c: Likewise.
  472. * ldctor.c: Likewise.
  473. * ldctor.h: Likewise.
  474. * ldemul.h: Likewise.
  475. * ldexp.c: Likewise.
  476. * ldexp.h: Likewise.
  477. * ldfile.c: Likewise.
  478. * ldfile.h: Likewise.
  479. * ldlang.c: Likewise.
  480. * ldlang.h: Likewise.
  481. * ldlex.h: Likewise.
  482. * ldlex.l: Likewise.
  483. * ldmain.c: Likewise.
  484. * ldmain.h: Likewise.
  485. * ldmisc.c: Likewise.
  486. * ldmisc.h: Likewise.
  487. * ldver.h: Likewise.
  488. * ldwrite.c: Likewise.
  489. * ldwrite.h: Likewise.
  490. * lexsup.c: Likewise.
  491. * mri.c: Likewise.
  492. * mri.h: Likewise.
  493. * pe-dll.c: Likewise.
  494. * pe-dll.h: Likewise.
  495. * deffilep.y: Likewise.
  496. * deffile.h: Likewise. Don't include ansidecl.h.
  497. * emulparams/elf32mcore.sh: Remove unnecessary cast.
  498. * emultempl/m68kcoff.em: Likewise.
  499. * emultempl/m68kelf.em: Likewise.
  500. * emultempl/ticoff.em: Remove lang_add_output_format declaration.
  501. * sysdep.h: Don't include ansidecl.h.
  502. * Makefile.am: Run "make dep-am".
  503. * Makefile.in: Regenerate.
  504. 2003-06-27 Nick Clifton <nickc@redhat.com>
  505. * deffilep.y (def_file_add_directive): Cope with NUL seperated
  506. directives. Fix reporting of unparseable directives.
  507. (def_error): Check for a NULL def_filename.
  508. 2003-06-27 Alan Modra <amodra@bigpond.net.au>
  509. * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
  510. and casts. Replace PTR with void *. Formatting.
  511. * emultempl/alphaelf.em: Likewise.
  512. * emultempl/armcoff.em: Likewise.
  513. * emultempl/armelf.em: Likewise.
  514. * emultempl/armelf_oabi.em: Likewise.
  515. * emultempl/beos.em: Likewise.
  516. * emultempl/elf32.em: Likewise.
  517. * emultempl/generic.em: Likewise.
  518. * emultempl/gld960.em: Likewise.
  519. * emultempl/gld960c.em: Likewise.
  520. * emultempl/hppaelf.em: Likewise.
  521. * emultempl/linux.em: Likewise.
  522. * emultempl/lnk960.em: Likewise.
  523. * emultempl/m68hc1xelf.em: Likewise.
  524. * emultempl/m68kcoff.em: Likewise.
  525. * emultempl/m68kelf.em: Likewise.
  526. * emultempl/mipsecoff.em: Likewise.
  527. * emultempl/mipself.em: Likewise.
  528. * emultempl/mmix-elfnmmo.em: Likewise.
  529. * emultempl/mmixelf.em: Likewise.
  530. * emultempl/mmo.em: Likewise.
  531. * emultempl/needrelax.em: Likewise.
  532. * emultempl/netbsd.em: Likewise.
  533. * emultempl/pe.em: Likewise.
  534. * emultempl/sh64elf.em: Likewise.
  535. * emultempl/sunos.em: Likewise.
  536. * emultempl/ticoff.em: Likewise.
  537. * emultempl/vanilla.em: Likewise.
  538. * emultempl/xtensaelf.em: Likewise.
  539. * Makefile.am: Correct dependencies.
  540. * Makefile.in: Regenerate.
  541. 2003-06-25 Alan Modra <amodra@bigpond.net.au>
  542. * ld.texinfo: Correct spelling of "relocatable".
  543. * ldctor.c: Likewise.
  544. * ldexp.c: Likewise.
  545. * ldfile.c: Likewise.
  546. * ldint.texinfo: Likewise.
  547. * ldlang.c: Likewise.
  548. * ldmain.c: Likewise.
  549. * ldwrite.c: Likewise.
  550. * lexsup.c: Likewise.
  551. * emultempl/aix.em: Likewise.
  552. * emultempl/alphaelf.em: Likewise.
  553. * emultempl/armcoff.em: Likewise.
  554. * emultempl/armelf_oabi.em: Likewise.
  555. * emultempl/beos.em: Likewise.
  556. * emultempl/elf32.em: Likewise.
  557. * emultempl/generic.em: Likewise.
  558. * emultempl/gld960.em: Likewise.
  559. * emultempl/gld960c.em: Likewise.
  560. * emultempl/hppaelf.em: Likewise.
  561. * emultempl/linux.em: Likewise.
  562. * emultempl/lnk960.em: Likewise.
  563. * emultempl/m68hc1xelf.em: Likewise.
  564. * emultempl/m68kcoff.em: Likewise.
  565. * emultempl/m68kelf.em: Likewise.
  566. * emultempl/mipsecoff.em: Likewise.
  567. * emultempl/mipself.em: Likewise.
  568. * emultempl/mmix-elfnmmo.em: Likewise.
  569. * emultempl/mmo.em: Likewise.
  570. * emultempl/needrelax.em: Likewise.
  571. * emultempl/pe.em: Likewise.
  572. * emultempl/ppc64elf.em: Likewise.
  573. * emultempl/sh64elf.em: Likewise.
  574. * emultempl/sunos.em: Likewise.
  575. * emultempl/ticoff.em: Likewise.
  576. * emultempl/xtensaelf.em: Likewise.
  577. 2003-06-24 Alan Modra <amodra@bigpond.net.au>
  578. * emultempl/ppc32elf.em: Convert to C90.
  579. 2003-06-20 Alan Modra <amodra@bigpond.net.au>
  580. * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
  581. unnecessary prototypes and casts.
  582. 2003-06-19 Alan Modra <amodra@bigpond.net.au>
  583. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
  584. statistics from ppc64_elf_build_stubs.
  585. 2003-06-19 Alan Modra <amodra@bigpond.net.au>
  586. * emultempl/ppc64elf.em (build_section_lists): Check return status
  587. from ppc64_elf_next_input_section.
  588. 2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
  589. * ldlang.c (section_already_linked): Put back assignment of
  590. kept_section.
  591. 2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com>
  592. * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
  593. reloc.
  594. 2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
  595. * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
  596. if not produced by gcc.
  597. 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
  598. * configure.tgt: Add specific case for cris-*-linux-gnu*
  599. with crislinux emulation only.
  600. 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
  601. * configure.tgt: Add i386-netbsd-gnu target.
  602. 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
  603. * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
  604. to $targ_extra_libpath.
  605. 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
  606. * po/Make-in (DESTDIR): New.
  607. (install-data-yes): Support $(DESTDIR).
  608. (uninstall): Likewise.
  609. 2003-06-10 Doug Evans <dje@sebabeach.org>
  610. * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
  611. * Makefile.in: Regenerate.
  612. 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
  613. * configure.tgt (h8300*): Add h8300sxn emulations.
  614. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
  615. (eh8300sxn.c, eh8300sxnelf.c): New rules.
  616. * Makefile.in: Regenerate.
  617. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
  618. * scripttempl/h8300sxn.sc: New file.
  619. 2003-06-10 Alan Modra <amodra@bigpond.net.au>
  620. * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
  621. CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
  622. 2003-06-08 Alan Modra <amodra@bigpond.net.au>
  623. * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
  624. (build_toc_list): New function.
  625. (gld${EMULATION_NAME}_finish): Call build_toc_list and
  626. ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call.
  627. (OPTION_STUBSYMS): Define.
  628. (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
  629. (PARSE_AND_LIST_OPTIONS): Document.
  630. (PARSE_AND_LIST_ARGS_CASES): Handle.
  631. 2003-06-05 Roland McGrath <roland@redhat.com>
  632. * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
  633. extra \t in -z noexecstack line.
  634. 2003-05-23 Jakub Jelinek <jakub@redhat.com>
  635. * ldgram.y (phdr_type): Grok PT_GNU_STACK.
  636. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
  637. -z execstack and -z noexecstack.
  638. (gld${EMULATION_NAME}_list_options): Likewise.
  639. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
  640. 2003-06-03 Michael Snyder <msnyder@redhat.com>
  641. and Bernd Schmidt <bernds@redhat.com>
  642. and Alexandre Oliva <aoliva@redhat.com>
  643. * Makefile.am: Add new emulations for h8300sx.
  644. * Makefile.in: Regenerate.
  645. * configure.tgt: Add new emulations.
  646. * emulparams/h8300sx.sh: New emulation.
  647. * emulparams/h8300sxelf.sh: Ditto.
  648. * scripttempl/h8300sx.sc: Ditto.
  649. 2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
  650. * ldmisc.c: Include "bfdlink.h".
  651. (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
  652. and -LD_DEFINITION_IN_DISCARDED_SECTION.
  653. * Makefile.am: Rebuild dependency.
  654. * Makefile.in: Regenerated.
  655. 2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  656. * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
  657. * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
  658. 2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
  659. * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
  660. sorted alphabetically, instead of exported_symbols, which is
  661. sorted by ordinal.
  662. 2003-05-30 Ulrich Drepper <drepper@redhat.com>
  663. Jakub Jelinek <jakub@redhat.com>
  664. * lexsup.c (OPTION_PIE): Define.
  665. (ld_options): Add -pie and --pic-executable options.
  666. (parse_args): Handle OPTION_PIE.
  667. * ldmain.c (main): Initialize link_info.pie and
  668. link_info.executable.
  669. * genscripts.sh: Generate PIE scripts.
  670. * ld.texinfo: Document -pie and --pic-executable options.
  671. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
  672. (gld${EMULATION_NAME}_place_orphan): Likewise.
  673. (gld${EMULATION_NAME}_get_script): Include PIE scripts.
  674. * scripttempl/elf.sc: In PIE scripts set . the same way as in
  675. shared scripts.
  676. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
  677. * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
  678. * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
  679. * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
  680. * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
  681. * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
  682. * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
  683. * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
  684. * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
  685. * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
  686. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
  687. 2003-05-30 H.J. Lu <hongjiu.lu@intel.com>
  688. * genscripts.sh: Create tmpdir/libpath.exp.
  689. 2003-05-30 Nick Clifton <nickc@redhat.com>
  690. * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
  691. with a test for a NULL bfd_for_interworking.
  692. 2003-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  693. * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
  694. correctly for more recent versions of NetBSD.
  695. (alpha*-*-netbsd*): Remove.
  696. (i[3-7]86-*-netbsd*): Remove.
  697. 2003-05-29 Nick Clifton <nickc@redhat.com>
  698. * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
  699. 2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  700. * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
  701. trap on pointer crops.
  702. 2003-05-21 Marcus Comstedt <marcus@mc.pp.se>
  703. * configure.tgt: Check for a target triplet of shl-...-netbsdelf
  704. as well as shle-...-netbsdelf.
  705. 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
  706. * configure.host: Accept i[3-7]86 variants.
  707. * configure.tgt: Likewise.
  708. 2003-05-15 H.J. Lu <hongjiu.lu@intel.com>
  709. * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
  710. 2003-05-09 Daniel Jacobowitz <drow@mvista.com>
  711. * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
  712. (earmelfb.c, earmelfb_linux.c): New rules.
  713. * Makefile.in: Regenerated.
  714. * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
  715. * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
  716. 2003-05-09 Nick Clifton <nickc@redhat.com>
  717. * ldlang.c (lang_size_sections_1): Default to generating a
  718. fatal error message if a loadable section is not allocated
  719. to a memory region when regions are defined.
  720. 2003-05-09 Alan Modra <amodra@bigpond.net.au>
  721. * Makefile.am (em68hc11elf.c): Correct dependencies.
  722. (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
  723. * Makefile.in: Regenerate.
  724. * emultempl/elf32.em (find_exp_assignment): Adjust for changed
  725. bfd_elf_record_link_assignment name.
  726. 2003-05-07 Alexandre Oliva <aoliva@redhat.com>
  727. * ldmain.h (overflow_cutoff_limit): Declare.
  728. * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
  729. (reloc_overflow): Limit error messages based on it.
  730. * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to
  731. unlimited.
  732. 2003-05-05 Alan Modra <amodra@bigpond.net.au>
  733. * ldlex.l: Accept C style comments in version scripts.
  734. 2003-04-28 H.J. Lu <hjl@gnu.org>
  735. * ldlang.c (lang_process): Add the relax finalize pass.
  736. * ldmain.c (main): Initialize link_info.relax_finalizing to
  737. FALSE.
  738. 2003-04-24 Roland McGrath <roland@redhat.com>
  739. * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
  740. If a name string is unknown, give an error rather than crashing later.
  741. 2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  742. * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
  743. eh8300hnelf.o, eh8300snelf.o and respective rules.
  744. * Makefile.in: Regenerate.
  745. * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
  746. * emulparams/h8300hn.sh: New
  747. * emulparams/h8300sn.sh: New
  748. * emulparams/h8300hnelf.sh: New
  749. * emulparams/h8300snelf.sh: New
  750. * scripttempl/h8300hn.sc: new
  751. * scripttempl/h8300sn.sc: new
  752. 2003-04-23 H.J. Lu <hjl@gnu.org>
  753. * ldmain.c (link_callbacks): Initialize error_handler.
  754. * ldmisc.c (error_handler): New function.
  755. * ldmisc.h (error_handler): New prototype.
  756. 2003-04-21 Stephane Carrez <stcarrez@nerim.fr>
  757. * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
  758. * emulparams/m68hc11elfb.sh: Likewise.
  759. * emulparams/m68hc12elf.sh: Likewise.
  760. * emulparams/m68hc12elfb.sh: Likewise.
  761. 2003-04-19 Stephane Carrez <stcarrez@nerim.fr>
  762. * emultempl/m68hc1xelf.em: New file to generate far trampolines on
  763. 68HC11 and 68HC12.
  764. (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
  765. generate.
  766. (LDEMUL_FINISH): Override to generate the trampolines after gc and
  767. linker relaxation.
  768. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
  769. stub file for trampolines.
  770. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
  771. --no-trampoline and --bank-window to control the memory bank window.
  772. 2003-04-18 H.J. Lu <hjl@gnu.org>
  773. * ldfile.c (ldfile_add_library_path): Remove the unused
  774. variable.
  775. 2003-04-18 Andrew Haley <aph@cambridge.redhat.com>
  776. * scripttempl/xstormy16.sc (__data, __rdata): New.
  777. 2003-04-16 Nick Clifton <nickc@redhat.com>
  778. * scripttempl/xstormy16.sc: Add .jcr section mapping.
  779. 2003-04-15 H.J. Lu <hjl@gnu.org>
  780. From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
  781. * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
  782. 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
  783. * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
  784. * ld.texinfo: Likewise.
  785. 2003-04-14 Alan Modra <amodra@bigpond.net.au>
  786. From Prashanth Tamraparni <prashanth_t@in.ibm.com>
  787. * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
  788. other variants of crtbegin.o, crtend.o.
  789. (DTOR): Likewise.
  790. * scripttempl/crisaout.sc (ctors, dtors): Likewise.
  791. * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
  792. * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
  793. * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
  794. * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
  795. * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
  796. * scripttempl/mmo.sc (ctors, dtors): Likewise.
  797. * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
  798. 2003-04-09 Dmitry Diky <diwil@mail.ru>
  799. * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
  800. sections to respect C++ constructor/destructor. Add ctors/dtors
  801. start/stop definitions.
  802. * scripttempl/elf32msp430_3.sc: Likewise.
  803. 2003-04-06 Nick Clifton <nickc@redhat.com>
  804. * ld.texinfo (Options): Add a reminder of the target specific
  805. nature to the description of the i386 PE specific options, for
  806. readers who have not read all the way through the manual.
  807. 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
  808. * configure.tgt: Fixed bug in list of targ_extra_emuls.
  809. * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
  810. cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
  811. * emulparams/tic3xcoff_onchip.sh: Ditto
  812. * emulparams/tic4xcoff.sh: Ditto
  813. * scripttempl/tic4xcoff.sc: Ditto
  814. 2003-04-03 Nick Clifton <nickc@redhat.com>
  815. * NEWS: Mention support for Xtensa architecture.
  816. 2003-04-02 Nick Clifton <nickc@redhat.com>
  817. * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
  818. 2003-04-01 Danny Smith <dannysmith@users.sourceforge.net>
  819. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
  820. Don't call pe_dll_build_section() if link_info.relocateable.
  821. (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
  822. if link_info.relocateable.
  823. 2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it>
  824. * pe-dll.c (process_def_file): Don't create an export
  825. section if there are no exports and we're building an exe
  826. (pe_dll_build_sections): Ditto
  827. (pe_dll_fill_sections): Conditionalize setting
  828. abfd->dll true on info->shared
  829. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
  830. If i386pe or armpe, call pe_dll_build_section()
  831. for both exe's and dll's, not just dll's.
  832. (gld_${EMULATION_NAME}_finish): For all targets except
  833. shpe and mipspe, call pe_dll_fill_sections() for both
  834. exe's and dll's, not just dll's.
  835. 2003-04-02 Bob Wilson <bob.wilson@acm.org>
  836. * emulparams/xtensa-config.sh: Remove comment indicating that this is
  837. a generated file.
  838. 2003-04-01 Bob Wilson <bob.wilson@acm.org>
  839. * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
  840. (eelf32xtensa.c): New target.
  841. * Makefile.in: Regenerate.
  842. * configure.tgt: Handle xtensa-*-*.
  843. * gen-doc.texi: Set XTENSA variable.
  844. * ld.texinfo: Set XTENSA variable. Add new Xtensa node.
  845. * emulparams/elf32xtensa.sh: New file.
  846. * emulparams/xtensa-config.sh: Likewise.
  847. * emultempl/xtensaelf.em: Likewise.
  848. * scripttempl/elfxtensa.sc: Likewise.
  849. 2003-04-01 Jakub Jelinek <jakub@redhat.com>
  850. * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
  851. targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath
  852. if --enable-64-bit-bfd.
  853. 2003-04-01 Nick Clifton <nickc@redhat.com>
  854. * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
  855. note section.
  856. * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
  857. name of note section.
  858. 2003-03-31 Alexandre Oliva <aoliva@redhat.com>
  859. * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
  860. --section-start.
  861. 2003-03-31 David Heine <dlheine@suif.stanford.edu>
  862. * ldfile.c (ldfile_add_library_path): Always allocate space for
  863. the filename.
  864. * ldlang.c (lang_register_vers_node): Free the node if it cannot
  865. be used.
  866. * ldmain.c (set_scripts_dir): Always free the constructed
  867. directory name.
  868. (add_keepsyms_file): Fix memory leak.
  869. * ldmisc.c (vfinfo): Likewise.
  870. * lexsup.c (parse_args): Likewise.
  871. 2003-03-25 Stan Cox <scox@redhat.com>
  872. Nick Clifton <nickc@redhat.com>
  873. Contribute support for Intel's iWMMXt chip - an ARM variant:
  874. * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
  875. * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
  876. * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
  877. (.bss): Likewise.
  878. 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
  879. * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
  880. * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
  881. (main): Initialize them.
  882. * ldfile.c: Include pathnames.h.
  883. (is_sysrooted_pathname): New.
  884. (ldfile_add_library_path): Use it.
  885. (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't
  886. search_dirs if given an absolute pathname.
  887. (ldfile_open_file): Issue error message for sysrooted
  888. absolute pathnames.
  889. * Makefile.am: Updated dependencies.
  890. * Makefile.in: Rebuild.
  891. 2003-03-24 Daniel Néri <dne@mayonnaise.net>
  892. * ld.texinfo: Rename all occurances of C54X to TIC54X.
  893. 2003-03-19 Andreas Schwab <schwab@suse.de>
  894. * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
  895. eof.
  896. 2003-03-18 Danny Smith <dannysmith@users.sourceforge.net>
  897. * deffilep.y (opt_base): If no number given, set to default
  898. (-1), not 0.
  899. 2003-03-13 Danny Smith <dannysmith@users.sourceforge.net>
  900. * deffilep.y (def_import): Use default extension of "dll"
  901. if no extension provided in parsed IMPORT definition.
  902. * deffilep.y (def_lex): Revert 2003-03-12 change.
  903. (dot_name): New id type and rule.
  904. (expline): Use instead of ID.
  905. (opt_equal_name): Likewise.
  906. 2003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
  907. * deffilep.y (def_lex): Accept '.' as valid non-lead char.
  908. 2003-03-07 Christopher Faylor <cgf@redhat.com>
  909. * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
  910. apparent accidental removal on 2003-01-06.
  911. 2003-03-04 Dmitry Diky <diwil@mail.ru>
  912. * Makefile.am: Add new devices x1122 x1132 emulation
  913. * configure.tgt: Likewise.
  914. * Makefile.in: Regenerate.
  915. * emulparams/msp430x1122.sh: New file.
  916. * emulparams/msp430x1132.sh: New file.
  917. 2003-03-03 Alexandre Oliva <aoliva@redhat.com>
  918. * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
  919. well.
  920. * ldfile.h (struct search_dirs): Added sysrooted field.
  921. * ldlang.h (struct lang_input_statement_struct): Likewise.
  922. * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
  923. (ldfile_open_file_search): Look for sysrooted filename starting
  924. with / in ld_sysroot instead of in the current directory. Clear
  925. sysrooted flag if it's found in the current directory. Set it
  926. from the search directory's sysrooted flag where it is found
  927. otherwise.
  928. * ldlang.c (ldlang_sysrooted_script): New static variable.
  929. (new_afile): Mark search_file_enums as sysrooted if
  930. ldlang_sysrooted_script.
  931. (load_symbols): Set ldlang_sysrooted_script according to the
  932. script's sysrooted field while processing it.
  933. * ld.texinfo: Document INPUT behavior in sysroot.
  934. 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
  935. * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
  936. 2003-03-03 Alan Modra <amodra@bigpond.net.au>
  937. * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
  938. (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
  939. PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
  940. PARSE_AND_LIST_EPILOGUE): Don't define.
  941. * emultempl/alphaelf.em: New file.
  942. 2003-03-01 Alan Modra <amodra@bigpond.net.au>
  943. * ldemul.c: Include getopt.h.
  944. * emultempl/elf32.em: Include getopt.h earlier.
  945. * emultempl/ticoff.em: Likewise.
  946. 2003-02-28 Alan Modra <amodra@bigpond.net.au>
  947. * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
  948. support when scripts read from files.
  949. 2003-02-28 Alan Modra <amodra@bigpond.net.au>
  950. * ldemul.c (ldemul_parse_args): Return FALSE by default.
  951. * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
  952. comment.
  953. * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
  954. (ldemul_parse_args): Return bfd_boolean. Formatting.
  955. * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
  956. (ldemul_parse_args): Adjust.
  957. (struct ld_emulation_xfer_struct): Add add_options and handle_option.
  958. Return bfd_boolean from parse_args.
  959. * lexsup.c (parse_args): Malloc shortopts, longopts and
  960. really_longopts. Call ldemul_add_options and ldemul_handle_option.
  961. * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
  962. gld${EMULATION_NAME}_parse_args.
  963. (gld${EMULATION_NAME}_handle_option): Likewise.
  964. (ld_${EMULATION_NAME}_emulation): Adjust initializer.
  965. * emultempl/armcoff.em: As for aix.em, but remove parse_args.
  966. * emultempl/beos.em: Likewise.
  967. * emultempl/pe.em: Likewise.
  968. * emultempl/ticoff.em: Likewise.
  969. * emultempl/elf32.em: Likewise. Don't duplicate long options either.
  970. (gld${EMULATION_NAME}_add_sysroot): Prototype.
  971. * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
  972. options.
  973. * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
  974. * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
  975. * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
  976. * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
  977. initializer.
  978. * emultempl/generic.em: Likewise.
  979. * emultempl/gld960.em: Likewise.
  980. * emultempl/gld960c.em: Likewise.
  981. * emultempl/linux.em: Likewise.
  982. * emultempl/lnk960.em: Likewise.
  983. * emultempl/m68kcoff.em: Likewise.
  984. * emultempl/mipsecoff.em: Likewise.
  985. * emultempl/sunos.em: Likewise.
  986. * emultempl/vanilla.em: Likewise.
  987. * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
  988. 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
  989. * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
  990. memory allocation error.
  991. * Makefile.am (ldmain.o): Define TOOLBINDIR.
  992. * Makefile.in: Rebuilt.
  993. * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
  994. 2003-02-21 Bob Wilson <bob.wilson@acm.org>
  995. * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
  996. call os_region_check when it is set.
  997. (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
  998. lang_size_sections_1.
  999. (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
  1000. only for the last call, not on every relaxation iteration.
  1001. * ldlang.h (lang_size_sections): Update prototype.
  1002. * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
  1003. to lang_size_sections.
  1004. (pe_exe_fill_sections): Likewise.
  1005. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
  1006. * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
  1007. * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
  1008. (ppc_layout_sections_again): Likewise.
  1009. 2003-02-21 Bob Wilson <bob.wilson@acm.org>
  1010. * gen-doc.texi: Set ARM and HPPA variables.
  1011. * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section
  1012. title capitalization more consistent. Add missing menu entries for
  1013. machine-specific sections and conditionalize them consistently.
  1014. Conditionalize text that is irrelevant when SingleFormat is set.
  1015. Add @group divisions to improve page breaks in long examples.
  1016. Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
  1017. is correct. Remove "FIXME" comment about not using
  1018. @raisesections/@lowersections. Use @raisesections/@lowersections
  1019. consistently for machine-specific sections. Change to be more polite
  1020. about poor bug reports. Replace FDL appendix with include of fdl.texi.
  1021. Move WIN32 node to match its order in the menus.
  1022. * fdl.texi: New file.
  1023. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  1024. * configure.in (TARGET_SYSTEM_ROOT): Set default to
  1025. ${exec_prefix}/${target_alias}/sys-root. Match explicit
  1026. '${exec_prefix}' (in addition to the expansion thereof) as
  1027. relocatable.
  1028. * configure: Rebuilt.
  1029. 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
  1030. * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
  1031. 2003-02-20 Harri Porten <porten@kde.org>
  1032. * ldgram.y (vers_defns): Allow optional trailing semicolon in
  1033. EXTERN NAME block;
  1034. 2003-02-18 Alan Modra <amodra@bigpond.net.au>
  1035. * emultempl/ppc32elf.em: New file.
  1036. * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
  1037. * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
  1038. (eelf32lppcnto.c): Likewise.
  1039. (eelf32lppcsim.c): Likewise.
  1040. (eelf32ppcnto.c): Likewise.
  1041. (eelf32ppc.c): Likewise.
  1042. (eelf32ppc_fbsd.c): Likewise.
  1043. (eelf32ppcsim.c): Likewise.
  1044. (eelf32ppclinux.c): Likewise.
  1045. * Makefile.in: Regenerate.
  1046. 2003-02-18 Alan Modra <amodra@bigpond.net.au>
  1047. * ld.texinfo: Remove spaces between @samp and opening brace.
  1048. 2003-02-18 Alan Modra <amodra@bigpond.net.au>
  1049. * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
  1050. hash creator.
  1051. (ppc_before_allocation): Don't do optimizations if wrong hash table.
  1052. (gld${EMULATION_NAME}_finish): Ditto.
  1053. 2003-02-17 Nick Clifton <nickc@redhat.com>
  1054. * ldmain.c (main) Default allow_shlib_undefined to true.
  1055. * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
  1056. (parse_args): Parse the new switch.
  1057. * ld.texinfo: Document new switch and default behaviour of
  1058. allowing undefined symbols in shared libraries.
  1059. 2003-02-11 Dmitry Diky <diwil@mail.ru>
  1060. * scripttempl/elf32msp430.sc: Add new data anchors definitions.
  1061. * scripttempl/elf32msp430_3.sc: Likewise.
  1062. 2003-02-11 Uwe Stieber <uwe@wwws.de>
  1063. * configure.tgt: Add support for kaOS as cross build target
  1064. system.
  1065. 2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1066. * hppaelf.em (group_size): Change default back to 1.
  1067. 2003-02-09 Alan Modra <amodra@bigpond.net.au>
  1068. * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
  1069. 2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1070. * hppaelf.em (group_size): Change default to -1.
  1071. 2003-02-07 Nick Clifton <nickc@redhat.com>
  1072. * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
  1073. opt.
  1074. (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
  1075. no-pipeline-knowledge. This will prevent the getopt package from
  1076. thinking that there are any shorter abbreviations for
  1077. --no-pipeline-knowledge.
  1078. 2003-02-07 Jakub Jelinek <jakub@redhat.com>
  1079. * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
  1080. which already have it. Avoid duplicates.
  1081. 2003-02-06 Jakub Jelinek <jakub@redhat.com>
  1082. * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
  1083. * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
  1084. * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
  1085. 2003-02-05 Alan Modra <amodra@bigpond.net.au>
  1086. * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
  1087. call ppc64_elf_tls_optimize.
  1088. 2003-02-03 Daniel Jacobowitz <drow@mvista.com>
  1089. * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
  1090. outside of GNU/Linux conditional.
  1091. 2003-01-28 Ralf Habacker <ralf.habacker@freenet.de>
  1092. * deffilep.y (def_get_module): New function: locate an already
  1093. added module.
  1094. * deffile.h (def_get_module): New prototype.
  1095. * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
  1096. a dll multiple times.
  1097. 2003-01-23 Alan Modra <amodra@bigpond.net.au>
  1098. * emultempl/sh64elf.em: Include elf32-sh64.h.
  1099. (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
  1100. sh64_elf_section_data.
  1101. (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
  1102. 2003-01-23 Wu Yongwei <adah@netstd.com>
  1103. * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
  1104. * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
  1105. cross-80th-column-margin "an" to the next line.
  1106. 2003-01-21 Nick Clifton <nickc@redhat.com>
  1107. * emulparams/tic3xcoff-onchip.sh: Rename to ...z
  1108. * emulparams/tic3xcoff_onchip.sh: ...this.
  1109. * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
  1110. * Makefile.in: Regenerate.
  1111. 2003-01-21 Fabio Alemagna <falemagn@aros.org>
  1112. * configure.tgt: Handle i[3456]86-*-aros*
  1113. 2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com>
  1114. * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
  1115. * Makefile.in: Regenerate
  1116. * configure.tgt: Added extra target emulations
  1117. * emulparams/tic3xcoff.sh: Remove old settings
  1118. * emulparams/tic4xcoff.sh: Ditto
  1119. * emulparams/tic3xcoff-onchip.sh: Added new
  1120. * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
  1121. * scripttempl/tic3xcoff.sc: Remove
  1122. 2003-01-17 Andreas Jaeger <aj@suse.de>
  1123. * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
  1124. skip ':'.
  1125. 2003-01-16 Alan Modra <amodra@bigpond.net.au>
  1126. * Makefile.in: Regenerate.
  1127. 2003-01-14 Charles Wilson <cwilson@ece.gatech.edu>
  1128. * ld.texinfo (node WIN32): Some clarifications
  1129. and formatting fixups.
  1130. 2003-01-09 Chris Demetriou <cgd@broadcom.com>
  1131. * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
  1132. order, and handle (ignore) -mips32r2.
  1133. 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
  1134. * ldmain.c (main): Make sure ld_sysroot is initialized.
  1135. 2003-01-06 Daniel Jacobowitz <drow@mvista.com>
  1136. * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
  1137. * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
  1138. (GENSCRIPTS): Add @use_sysroot@.
  1139. * Makefile.in: Regenerated.
  1140. * configure.host: Move setting of NATIVE_LIB_DIRS to...
  1141. * configure.tgt: ... here. Use ${target} instead of ${host}
  1142. for NATIVE_LIB_DIRS.
  1143. * configure.in: Add --with-sysroot.
  1144. * configure: Regenerated.
  1145. * genscripts.sh: Accept use_sysroot option. Set new variables
  1146. NATIVE and USE_LIBPATH. Prepend "=" to directory names if
  1147. $use_sysroot. Don't search $tool_lib if $use_sysroot.
  1148. * ldfile.c (ldfile_add_library_path): Handle leading '='.
  1149. * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
  1150. (ld_sysroot): New variable.
  1151. (main): Initialize ld_sysroot.
  1152. * ldmain.h (ld_sysroot): New extern.
  1153. * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
  1154. searching $EMULATION_LIBPATH.
  1155. (gld${EMULATION_NAME}_add_sysroot): New function.
  1156. (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot.
  1157. (gld${EMULATION_NAME}_after_open): Likewise. Only search
  1158. environment variables if $NATIVE.
  1159. * ld.texinfo (Options): Mention "=" prefix in the description of -L.
  1160. * NEWS: Mention --with-sysroot.
  1161. * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
  1162. instead of setting LIB_PATH.
  1163. * emulparams/elf32ppc.sh: Likewise.
  1164. * emulparams/elf64_s390.sh: Likewise.
  1165. * emulparams/elf64_sparc.sh: Likewise.
  1166. * emulparams/elf64ppc.sh: Likewise.
  1167. * emulparams/elf_x86_64.sh: Likewise.
  1168. * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
  1169. * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
  1170. 2003-01-03 Charles Wilson <cwilson@ece.gatech.edu>
  1171. * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
  1172. 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
  1173. * Makefile.am (ldmain.o): Pass BINDIR.
  1174. * Makefile.in: Regenerated.
  1175. * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
  1176. search path.
  1177. 2003-01-02 Ben Elliston <bje@redhat.com>
  1178. * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
  1179. (eelf32iq2000.c): New target.
  1180. * Makefile.in: Regenerate.
  1181. * configure.tgt: Handle iq2000-*-elf.
  1182. * emulparams/elf32iq10.sh: New file.
  1183. * emulparams/elf32iq2000.sh: New file.
  1184. * scripttempl/iq2000.sc: New file.
  1185. 2003-01-02 Charles Wilson <cwilson@ece.gatech.edu>
  1186. * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
  1187. and _pei386_runtime_relocator to the exclude list.
  1188. 2003-01-01 Kazu Hirata <kazu@cs.umass.edu>
  1189. * ldfile.c: Fix comment typos.
  1190. * ldlang.c: Likewise.
  1191. * mri.c: Likewise.
  1192. * pe-dll.c: Likewise.
  1193. 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
  1194. Suggested by Manfred Hollstein <manfred.h@gmx.net>:
  1195. * Makefile.am (ld.1): Depend on configdoc.texi
  1196. and ldver.texi.
  1197. * Makefile.in: Regenerated.
  1198. 2002-12-24 Dmitry Diky <diwil@mail.ru>
  1199. * Makefile.am: Add msp430 target.
  1200. * configure.tgt: Likewise.
  1201. * Makefile.in: Regenerate.
  1202. * emulparams/msp430x???.sh: New files. Linker script parameters
  1203. for various msp430 configurations.
  1204. * gen-doc.texi: Enable msp430 documenation.
  1205. * ld.texinfo: Document msp430 sections.
  1206. * scripttempl/elf32msp430.sc: New file. Linker script for msp430.
  1207. * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430.
  1208. 2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de>
  1209. Charles Wilson <cwilson@ece.gatech.edu>
  1210. * config.in (HAVE_REALPATH): New entry.
  1211. (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
  1212. 2002-12-30 Ralf Habacker <ralf.habacker@freenet.de>
  1213. * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
  1214. symbols'.
  1215. 2002-12-23 Alan Modra <amodra@bigpond.net.au>
  1216. * ldmain.c (main): Init "strip_discarded".
  1217. * lexsup.c (OPTION_STRIP_DISCARDED): Define.
  1218. (OPTION_NO_STRIP_DISCARDED): Define.
  1219. (ld_options): Add "strip-discarded" and "no-strip-discarded".
  1220. (parse_args): Handle them.
  1221. 2002-12-23 Nick Clifton <nickc@redhat.com>
  1222. * ld.h (struct args_type): Add new field
  1223. 'accept_unknown_input_architecture'.
  1224. * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
  1225. to false.
  1226. * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
  1227. bfd_arch_get_compatible.
  1228. * ldfile.c (ldfile_try_open_bfd): Likewise.
  1229. * lexsup.c (ld_options): Add new command line switch
  1230. --accept-unknown-input-architecture and its inverse.
  1231. (parse_args): Handle --accept-unknown-input-architecture.
  1232. * ld.texinfo: Document new linker option.
  1233. * NEWS: Mention new linker option.
  1234. 2002-12-20 Alan Modra <amodra@bigpond.net.au>
  1235. * ldmain.c (main): Re-order link_info initialization. Init all
  1236. fields.
  1237. 2002-12-19 Charles Wilson <cwilson@ece.gatech.edu>
  1238. * ld.texinfo: Clarify and extend the documentation
  1239. in the Machine Dependent, WIN32 section.
  1240. 2002-12-18 Ralf Habacker <ralf.habacker@freenet.de>
  1241. * ld.texinfo: Add win32 machine depending section.
  1242. * gen-doc.texi: Enable win32 machine depending section.
  1243. * configure.host: Add win32 library search path.
  1244. 2002-12-17 Ralf Habacker <ralf.habacker@freenet.de>
  1245. * emultempl/pe.em (pe_find_data_imports): Don't search for data
  1246. import when auto-import is disabled.
  1247. 2002-12-17 Danny Smith <dannysmith@users.sourceforge.net>
  1248. * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
  1249. account for trailing '\0'.
  1250. 2002-12-17 Nick Clifton <nickc@redhat.com>
  1251. * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
  1252. so that it is not confused with -c.
  1253. 2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de>
  1254. Charles Wilson <cwilson@ece.gatech.edu>
  1255. * configure.in: Add check for realpath function.
  1256. * configure: Regenerate.
  1257. * config.in: Regenerate.
  1258. * aclocal.m4: Regenerate.
  1259. * deffile.h: Add .data field to def_file_import
  1260. structure.
  1261. * pe-dll.c (pe_proces_import_defs): Use .data field of
  1262. def_file_import structure to initialize flag_data field of
  1263. def_file_export structure.
  1264. (pe_implied_import_dll): New variables exp_funcbase and
  1265. [data|bss]_[start|end]. Use DLL's internal name to set dll_name,
  1266. not filename (which may be a symlink). Scan the sections and
  1267. initialize [data|bss]_[start|end]. When scanning the export
  1268. table, skip _nm_ symbols, and mark any symbols whose rva indicates
  1269. that it is in the .bss or .data sections as data.
  1270. * sysdep.h: Include limits.h and sys/param.h, and define
  1271. LD_PATHMAX as appropriate. Also define REALPATH as realpath if it
  1272. exists, NULL otherwise.
  1273. * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
  1274. pe_process_import_defs before pe_find_data_imports, so that
  1275. auto-import will check the virtual implib as well as "real"
  1276. implibs.
  1277. (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
  1278. symlinks to their target; check that the target's extension is
  1279. .dll before calling pe_implied_import_dll(), not the filename
  1280. itself (which may be a symlink).
  1281. 2002-12-10 Alan Modra <amodra@bigpond.net.au>
  1282. * emultempl/elf32.em (struct orphan_save): Add os_tail field.
  1283. (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
  1284. list too.
  1285. 2002-12-08 Alan Modra <amodra@bigpond.net.au>
  1286. * ldlang.h: Formatting.
  1287. 2002-12-07 Alan Modra <amodra@bigpond.net.au>
  1288. * ldlang.c (init_os): Ensure sections mentioned in load_base
  1289. are initialized.
  1290. 2002-12-05 Alan Modra <amodra@bigpond.net.au>
  1291. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
  1292. load_base for orphans that follow a section with load_base set.
  1293. 2002-12-01 H.J. Lu <hjl@gnu.org>
  1294. * ld.texinfo: Remove the extra `;' in sample version script.
  1295. 2002-11-30 Alan Modra <amodra@bigpond.net.au>
  1296. * configure.host: Correct dynamic-linker for powerpc64 hosts.
  1297. * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
  1298. * Makefile.in: Regenerate.
  1299. * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
  1300. ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
  1301. ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
  1302. emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
  1303. emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
  1304. emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
  1305. emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
  1306. emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
  1307. emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
  1308. emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
  1309. emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
  1310. boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify
  1311. comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
  1312. 2002-11-27 David O'Brien <obrien@FreeBSD.org>
  1313. * configure.host: Fix generic FreeBSD configuration entry.
  1314. 2002-11-27 H.J. Lu <hjl@gnu.org>
  1315. * ld.texinfo: Add the missing `;' to sample version scripts.
  1316. 2002-11-20 Alan Modra <amodra@bigpond.net.au>
  1317. * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
  1318. 2002-11-14 Egor Duda <deo@logos-m.ru>
  1319. * ldmain.c (main): Make runtime relocs disabled by default. Remove
  1320. assignment which has no effect.
  1321. * pe-dll.h (pe_create_import_fixup): Change prototype.
  1322. * pe-dll.c (make_runtime_pseudo_reloc): New function.
  1323. (pe_create_runtime_relocator_reference): Ditto.
  1324. (pe_create_import_fixup): Handle relocations with non-zero addends.
  1325. * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
  1326. --disable-runtime-pseudo-reloc.
  1327. (make_import_fixup): Handle relocations with non-zero addends. Create
  1328. an external reference to _pei386_runtime_relocator symbol if at least
  1329. one pseudo reloc was created.
  1330. * ld.texinfo: Document --enable-runtime-pseudo-reloc and
  1331. --disable-runtime-pseudo-reloc options.
  1332. 2002-11-12 Earl Chew <earl_chew@agilent.com>
  1333. * ldlang.c (lang_add_section): Discard debugging sections that have
  1334. been marked SEC_EXCLUDE.
  1335. 2002-11-12 Nick Clifton <nickc@redhat.com>
  1336. * configure.in (ALL_LINGUAS): Add da.
  1337. * configure: Regenerate.
  1338. * po/da.po: New Danish translation.
  1339. 2002-11-12 Alan Modra <amodra@bigpond.net.au>
  1340. * emultempl/ppc64elf.em (ppc_before_allocation): New function.
  1341. (LDEMUL_BEFORE_ALLOCATION): Define.
  1342. (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
  1343. linking.
  1344. * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
  1345. 2002-11-11 Christopher Faylor <cgf@redhat.com>
  1346. * configure.tgt (LIB_PATH): Default to searching w32api directory under
  1347. cygwin.
  1348. 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
  1349. * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
  1350. of restricted auto-export libs.
  1351. 2002-11-11 Charles Wilson <cwilson@ece.gatech.edu>
  1352. * pe-dll.c (autofilter_liblist): Generalize library names to catch more
  1353. creative library naming instances like, e.g., libstdc++-2.a.
  1354. 2002-11-06 Alexandre Oliva <aoliva@redhat.com>
  1355. * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
  1356. * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
  1357. 2002-11-07 Danny Smith <dannysmith@users.sourceforge.net>
  1358. * deffilep.y (def_lex): Handle '@' as first character of an ID.
  1359. * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
  1360. (make_one): Don't prefix decorated fastcall symbols with '_'.
  1361. (pe_process_import_defs): Likewise.
  1362. * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
  1363. symbols to cdecl names or vise-versa.
  1364. 2002-10-13 Eric Kohl <ekohl@rz-online.de>
  1365. * pe-dll.c (process_def_file): Handle fastcall symbols when
  1366. generating undecorated aliases. Don't prefix decorated fastcall
  1367. symbols with '_'.
  1368. (fill_exported_offsets): Don't prefix decorated fastcall symbols
  1369. with '_'.
  1370. 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
  1371. * emultempl/aix.em: Use include <> for generated headers.
  1372. * emultempl/beos.em: Likewise.
  1373. * emultempl/elf32.em: Likewise.
  1374. * emultempl/pe.em: Likewise.
  1375. * ldctor.c: Likewise.
  1376. * ldexp.c: Likewise.
  1377. * ldfile.c: Likewise.
  1378. * ldlang.c: Likewise.
  1379. * ldlex.c: Likewise.
  1380. * ldlex.l: Likewise.
  1381. * ldmain.c: Likewise.
  1382. * ldmisc.c: Likewise.
  1383. * ldwrite.c: Likewise.
  1384. * lexsup.c: Likewise.
  1385. * mri.c: Likewise.
  1386. * pe-dll.c: Likewise.
  1387. 2002-10-23 Jakub Jelinek <jakub@redhat.com>
  1388. * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
  1389. sections into .rel{,a}.dyn.
  1390. 2002-10-23 Nick Clifton <nickc@redhat.com>
  1391. * lexsup.c (OPTION_NO_OMAGIC): Define.
  1392. (ld_options): Add "no-omagic" option.
  1393. (parse_args): Parse --no-omagic.
  1394. * ld.texinfo: Document --no-omagic.
  1395. * NEWS: Mention new option.
  1396. 2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net>
  1397. * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
  1398. __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
  1399. 2002-10-22 Alexandre Oliva <aoliva@redhat.com>
  1400. * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
  1401. emulation name. Set LIB_PATH only for native tools, and
  1402. search the ABI-specific versions of NATIVE_LIB_DIRS before the
  1403. .../lib variants, not instead of them. Mostly copied from...
  1404. * emulparams/elf32ppc.sh: ... here. Fixed typo.
  1405. * emulparams/elf64bmip-defs.sh: Backed out.
  1406. * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
  1407. * emulparams/elf64btsmip.sh: Likewise.
  1408. (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
  1409. TEXT_DYNAMIC): Removed.
  1410. 2002-10-17 Alexandre Oliva <aoliva@redhat.com>
  1411. * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
  1412. (GENERATE_SHLIB_SCRIPT): Set to yes.
  1413. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
  1414. * emulparams/elf32bmipn32.sh: here.
  1415. (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
  1416. * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
  1417. * emulparams/elf64bmip-defs.sh: New file. Extend
  1418. elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
  1419. * emulparams/elf64bmip.sh: Bring in definitions from
  1420. elf64bmip-defs.sh.
  1421. (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
  1422. settings.
  1423. (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
  1424. * emulparams/elf64btsmip.sh: Bring in definitions from
  1425. elf64bmip-defs.sh.
  1426. (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
  1427. (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
  1428. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  1429. * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
  1430. (s390-*-linux*): Add elf64_s390 emulation if want64.
  1431. * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
  1432. genscript.sh changes.
  1433. * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
  1434. * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
  1435. 2002-10-15 Alan Modra <amodra@bigpond.net.au>
  1436. * ldlang.c (load_symbols): Revert last change.
  1437. 2002-10-14 Alan Modra <amodra@bigpond.net.au>
  1438. * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
  1439. just_syms_flag.
  1440. (lang_reasonable_defaults): Don't compare against false.
  1441. (size_input_section): Likewise.
  1442. (lang_size_sections_1): Likewise.
  1443. (lang_do_assignments): Likewise.
  1444. (lang_add_output): Likewise.
  1445. * Makefile.am: Run "make dep-am".
  1446. * Makefile.in: Regenerate.
  1447. * ldver.c: #include "bfdver.h".
  1448. 2002-10-13 Stephane Carrez <stcarrez@nerim.fr>
  1449. * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
  1450. .finiN section.
  1451. * scripttempl/elfm68hc12.sc: Likewise.
  1452. 2002-10-11 Alan Modra <amodra@bigpond.net.au>
  1453. * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
  1454. * ldgram.y (memory_spec): Provide empty action.
  1455. (section <NAME>): Likewise.
  1456. 2002-10-10 Jakub Jelinek <jakub@redhat.com>
  1457. * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
  1458. they have OUTPUT_FORMAT not matching actual output format.
  1459. * ldlang.c (lang_get_output_target): New function.
  1460. (open_output): Use it.
  1461. * ldlang.h (lang_get_output_target): New prototype.
  1462. 2002-10-10 Alan Modra <amodra@bigpond.net.au>
  1463. * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
  1464. when orphan is .rel, .rela when orphan is .rela.
  1465. (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
  1466. first. Remove outsecname var.
  1467. 2002-10-09 Richard Shann <richard.shann@superh.com>
  1468. Stephen Clarke <stephen.clarke@superh.com>
  1469. * Makefile.am: Add eshelf32_linux.o and
  1470. eshlelf32_linux.o, new emulations for sh64 Linux.
  1471. * Makefile.in: Regenerate.
  1472. * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
  1473. * emulparams/shelf32_linux.sh: New file.
  1474. * emulparams/shlelf32_linux.sh: New file.
  1475. 2002-10-08 H.J. Lu <hjl@gnu.org>
  1476. * ldlang.c (lang_file_exist): Removed.
  1477. (new_afile): Revert the last change.
  1478. * ldlang.h (lang_file_exist): Removed.
  1479. * lexsup.c (parse_args): Revert the last change.
  1480. 2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de>
  1481. * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
  1482. auto-import symbols.
  1483. (make_one): Create _nm_<symbol> for data only.
  1484. 2002-10-05 Elias Athanasopoulos <eathan@otenet.gr>
  1485. * ldlang.c (lang_file_exist): New function.
  1486. (new_afile): Abort if the filename to be added matches the linker
  1487. output filename.
  1488. * ldlang.h: Add prototype for lang_file_exist.
  1489. * lexsup.c (parse_args): Abort if the output filename matches
  1490. one of the input filenames.
  1491. 2002-10-02 Alan Modra <amodra@bigpond.net.au>
  1492. * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
  1493. 2002-09-30 Alan Modra <amodra@bigpond.net.au>
  1494. * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
  1495. * scripttempl/elfm68hc11.sc: Likewise.
  1496. * scripttempl/elfm68hc12.sc: Likewise.
  1497. * emultempl/elf32.em (output_rel_find): Always place orphan loadable
  1498. reloc sections just before .rel.plt/.rela.plt.
  1499. (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
  1500. Only put loadable reloc sections in hold_rel.
  1501. 2002-09-29 H.J. Lu <hjl@gnu.org>
  1502. * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
  1503. 2002-09-25 Daniel Jacobowitz <drow@mvista.com>
  1504. From "Anita Kulkarni" <AnitaK@kpit.com>
  1505. * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
  1506. sections.
  1507. 2002-09-25 Alan Modra <amodra@bigpond.net.au>
  1508. * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
  1509. TARGET_PAGE_SIZE.
  1510. * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
  1511. SEGMENT_SIZE alignment.
  1512. * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
  1513. (SEGMENT_SIZE): Define.
  1514. * ldexp.c (fold_unary): New. Split out from exp_fold_tree.
  1515. (fold_binary): Correct abs - non-abs case.
  1516. (fold_trinary): New. Split out from exp_fold_tree.
  1517. 2002-09-24 Alan Modra <amodra@bigpond.net.au>
  1518. * emulparams/elf64ppc.sh (DATA_ADDR): Define.
  1519. * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
  1520. for start of .data, instead align up to 256M boundary.
  1521. * scripttempl/aix.sc: Likewise.
  1522. 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
  1523. * scripttempl/i386go32.sc: Handle bss unique sections.
  1524. 2002-09-21 Alan Modra <amodra@bigpond.net.au>
  1525. * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
  1526. 2002-09-17 Stan Cox <scox@redhat.com>
  1527. * emulparams/elf32bmipn32-defs.sh: New file.
  1528. * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
  1529. * emulparams/elf32btsmipn32.sh: Likewise.
  1530. * emulparams/elf64bmip.sh: Likewise.
  1531. * emulparams/elf64btsmip.sh: Likewise.
  1532. 2002-09-16 Bruno Haible <bruno@clisp.org>
  1533. * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
  1534. elf32-i386-freebsd.
  1535. * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
  1536. elf64-alpha-freebsd.
  1537. 2002-09-11 Nick Clifton <nickc@redhat.com>
  1538. * NEWS: New TI port supports both C4x and C3x series of DSPs.
  1539. * po/tr.po: Updated Turkish translation.
  1540. 2002-09-06 Jeffrey A Law (law@redhat.com)
  1541. * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
  1542. 2002-09-02 Nick Clifton <nickc@redhat.com>
  1543. * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
  1544. __ep.
  1545. * emulparams/v850.sh (TEMPLATE_NAME): Define.
  1546. 2002-08-30 Nick Clifton <nickc@redhat.com>
  1547. * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
  1548. used. Change INSN to start at 0x01000000 and extend for
  1549. 256K (ignoring holes). Start the STACK on a word aligned
  1550. boundary.
  1551. (.rodata): Start it at the READONLY_START_ADDR.
  1552. 2002-08-30 Alan Modra <amodra@bigpond.net.au>
  1553. * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
  1554. 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
  1555. * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
  1556. added makefile targets for this file.
  1557. * Makefile.in: Regenerate.
  1558. * configure.tgt: Added tic4x-coff and c4x-coff emulations.
  1559. * NEWS: Mention new port.
  1560. 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  1561. * emulparams/tic3xcoff.sh: New file.
  1562. * emulparams/tic4xcoff.sh: New file.
  1563. * scripttempl/tic3xcoff.sc: New file.
  1564. * scripttempl/tic4xcoff.sc: New file.
  1565. 2002-08-28 Alan Modra <amodra@bigpond.net.au>
  1566. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
  1567. strtoul and strtoull with bfd_scan_vma.
  1568. (gld${EMULATION_NAME}_read_file): Likewise.
  1569. 2002-08-28 Alan Modra <amodra@bigpond.net.au>
  1570. * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
  1571. 2002-08-27 Egor Duda <deo@logos-m.ru>
  1572. * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
  1573. Add symbols for application to access them.
  1574. 2002-08-27 Nick Clifton <nickc@redhat.com>
  1575. * emultempl/armelf.em: Revert this patch, it is not needed.
  1576. 2002-08-22 Adam Nemet <anemet@lnxw.com>
  1577. 2002-08-20 Dan Kegel <dank@kegel.com>
  1578. * configure.in: added --with-lib-path argument to ld's configure
  1579. to set LIB_PATH.
  1580. * NEWS: Document new switch.
  1581. * README: Mention new switch.
  1582. * configure: Regenerate.
  1583. * Makefile.in: Regenerate.
  1584. Based on this patch:
  1585. 2001-04-25 Christopher Faylor <cgf@cygnus.com>
  1586. * Makefile.in (LIB_PATH): Make configurable.
  1587. (GENSCRIPTS): Set LIB_PATH in environment.
  1588. * configure.in: Substitute LIB_PATH.
  1589. 2002-08-22 Adam Nemet <anemet@lnxw.com>
  1590. * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
  1591. (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
  1592. depending on the type of the function.
  1593. (arm_elf_convert_thumb_symbol_to_address): New function.
  1594. 2002-08-22 Graeme Peterson <gp@qnx.com>
  1595. * Makefile.am: Add esh{l}elf_nto.o files.
  1596. * Makefile.in: Regenerate.
  1597. * configure.tgt: Add support for sh-**-nto* targets.
  1598. * emulparams/shelf_nto.sh: New file.
  1599. * emulparams/shlelf_nto.sh: New file.
  1600. 2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1601. * ldlang.c (offsetof): Define if not defined.
  1602. 2002-08-14 H.J. Lu <hjl@gnu.org>
  1603. * configure.tgt: Always enable 64bit emulations for 32bit
  1604. Linux/mips.
  1605. 2002-08-13 Alan Modra <amodra@bigpond.net.au>
  1606. * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
  1607. (MAXPAGESIZE): Set to 1.
  1608. * ld.h (ALIGN_N): Delete.
  1609. * ldexp.h (align_n): Declare.
  1610. * ldexp.c (align_n): New function.
  1611. (fold_binary): Use align_n instead of ALIGN_N.
  1612. (exp_fold_tree): Likewise.
  1613. * ldlang.c (lang_size_sections_1): Likewise.
  1614. (lang_one_common): Likewise.
  1615. * ld.texinfo (ALIGN): Remove power of 2 restriction.
  1616. 2002-07-31 Graeme Peterson <gp@qnx.com>
  1617. * configure.tgt: Add support for powerpc{le}-*-nto* targets.
  1618. * Makefile.am: Add eelf32{l}ppcnto.o files.
  1619. * Makefile.in: Regenerate.
  1620. * emulparams/elf32lppcnto.sh: New file.
  1621. * emulparams/elf32ppcnto.sh: New file.
  1622. 2002-08-07 H.J. Lu <hjl@gnu.org>
  1623. * ld.texinfo: Document --no-undefined-version.
  1624. * ldlang.c (lang_new_vers_pattern): Set the `symver' and
  1625. `script.' fields to 0.
  1626. * ldmain.c (main): Initialize the allow_undefined_version to
  1627. true.
  1628. * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
  1629. (ld_options): Add --no-undefined-version.
  1630. (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
  1631. 2002-08-07 Nick Clifton <nickc@redhat.com>
  1632. * emultempl/armelf.em (arm_elf_before_allocation): Only search for
  1633. an interworking bfd if there are input bfds. (107501)
  1634. 2002-08-06 Alan Modra <amodra@bigpond.net.au>
  1635. * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
  1636. 2002-05-10 change.
  1637. 2002-08-01 Nick Clifton <nickc@redhat.com>
  1638. * emulparams/armelf.sh: Revert previous delta.
  1639. * scripttempl/elf.sc: Revert previous delta.
  1640. 2002-07-31 H.J. Lu <hjl@gnu.org>
  1641. * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
  1642. --enable-64-bit-bfd.
  1643. 2002-07-31 H.J. Lu <hjl@gnu.org>
  1644. * configure.tgt: Enable x86-64 emulation for Linux/i386 if
  1645. 64bit BFD is selected.
  1646. 2002-07-31 H.J. Lu <hjl@gnu.org>
  1647. * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
  1648. if 64bit BFD is selected.
  1649. 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  1650. * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
  1651. link_info.common_skip_ar_aymbols.
  1652. * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
  1653. * ldmain.c (main): Initialize new field
  1654. link_info.common_skip_ar_aymbols.
  1655. 2002-07-31 Adam Nemet <anemet@lnxw.com>
  1656. * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it
  1657. to .plt.thumb.
  1658. * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is
  1659. used.
  1660. 2002-07-31 Nick Clifton <nickc@redhat.com>
  1661. * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
  1662. of the PDP-11 and 2.11BSD a.out support.
  1663. 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1664. * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
  1665. for n32 ABI support.
  1666. * Makefile.in: Regenerate.
  1667. * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
  1668. n32 ABI emulations for these 64 bit targets.
  1669. * emulparams/elf32bmipn32.sh: Expand comment.
  1670. * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
  1671. n32 ABI.
  1672. * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
  1673. 2002-07-30 Graeme Peterson <gp@qnx.com>
  1674. * configure.tgt: Add support for arm-*-nto target.
  1675. * Makefile.am: Add earmnto.o file.
  1676. * Makefile.in: Regenerate.
  1677. * NEWS: Mention port of ARM support to QNX.
  1678. * emulparams/armnto.sh: New file.
  1679. 2002-07-30 Jakub Jelinek <jakub@redhat.com>
  1680. * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
  1681. for relocatable link.
  1682. (lang_size_sections_1): Don't make .tbss zero size for relocatable
  1683. link.
  1684. 2002-07-26 Bernd Schmidt <bernds@redhat.com>
  1685. * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
  1686. (STACK_ADDR): New.
  1687. 2002-07-25 Nick Clifton <nickc@redhat.com>
  1688. * po/sv.po: Updated Swedish translation.
  1689. * po/es.po: Updated Spanish translation.
  1690. * po/fr.po: Updated French translation.
  1691. 2002-07-24 Nick Clifton <nickc@redhat.com>
  1692. * po/sv.po: Updated Swedish translation.
  1693. * po/es.po: Updated Spanish translation.
  1694. 2002-07-23 Nick Clifton <nickc@redhat.com>
  1695. * po/fr.po: Updated French translation.
  1696. 2002-07-20 Alan Modra <amodra@bigpond.net.au>
  1697. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  1698. bomb on /DISCARD/ input section.
  1699. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  1700. * emultempl/mmo.em (mmo_place_orphan): Likewise.
  1701. 2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
  1702. * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
  1703. output section.
  1704. 2002-07-16 Denis Chertykov <denisc@overta.ru>
  1705. Nick Clifton <nickc@redhat.com>
  1706. Frank Ch. Eigler <fche@redhat.com>
  1707. John Healy <jhealy@redhat.com>
  1708. * configure.tgt: Add support for ip2k-elf.
  1709. * Makefile.am: Add support for ip2k-elf.
  1710. * Makefile.in: Regenerate.
  1711. * emulparams/elf32ip2k.sh: New file.
  1712. * scripttempl/ip2k.sc: New file
  1713. * NEWS: Mention support for new port.
  1714. 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
  1715. * NEWS: Add 'Changes in 2.13'.
  1716. 2002-07-14 H.J. Lu <hjl@gnu.org>
  1717. * ld.texinfo: Document a .symver takes precedence over a
  1718. version script.
  1719. 2002-07-12 Alan Modra <amodra@bigpond.net.au>
  1720. * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
  1721. (COMMONPAGESIZE): Define.
  1722. 2002-07-09 Alan Modra <amodra@bigpond.net.au>
  1723. * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
  1724. 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
  1725. * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
  1726. powerpc-*-openbsd* and sparc64-*-openbsd*.
  1727. * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
  1728. * Makefile.in: Regenerate.
  1729. * emulparams/hppaobsd.sh: New file.
  1730. 2002-07-05 Alan Modra <amodra@bigpond.net.au>
  1731. * ldlang.c (print_wild_statement): Fix output formatting.
  1732. 2002-07-04 Alan Modra <amodra@bigpond.net.au>
  1733. * ldlang.c: (strip_excluded_output_sections): New function.
  1734. (lang_process): Call it.
  1735. (lang_size_sections_1): Revert 2002-06-10 change.
  1736. 2002-07-03 Alan Modra <amodra@bigpond.net.au>
  1737. * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
  1738. Run "make dep-am".
  1739. * Makefile.in: Regenerate.
  1740. 2002-07-02 Alan Modra <amodra@bigpond.net.au>
  1741. * ldfile.c (ldfile_try_open_bfd): Formatting.
  1742. * ldmisc.c (demangle): Move so that it doesn't intrude between
  1743. vfinfo comment and body. Add comment.
  1744. 2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1745. * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
  1746. 2002-07-01 Alan Modra <amodra@bigpond.net.au>
  1747. * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
  1748. * ldlang.c (entry_sym): Likewise.
  1749. (ldlang_undef_chain_list_type): Likewise.
  1750. (lang_finish): Adjust references to entry_symbol.
  1751. (lang_add_entry): Likewise.
  1752. (lang_gc_sections): Use link_info.gc_sym_list.
  1753. (lang_process): Set link_info.gc_sym_list.
  1754. * ldlex.l: Include bfdlink.h.
  1755. * ldmain.c (main): Init link_info.gc_sym_list.
  1756. * emultempl/aix.em: Adjust references to entry_symbol.
  1757. * emultempl/armcoff.em: Likewise.
  1758. * emultempl/armelf.em: Likewise.
  1759. * emultempl/pe.em: Likewise.
  1760. * emultempl/ppc64elf.em (ppc_after_open): New function.
  1761. (LDEMUL_AFTER_OPEN): Define.
  1762. * emulparams/elf64ppc.sh: KEEP .opd sections.
  1763. 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
  1764. * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
  1765. * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
  1766. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
  1767. (EEPROM_START_ADDR): Define.
  1768. (EEPROM_MEMORY): Define.
  1769. * emulparams/m68hc12elf.sh: Likewise.
  1770. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
  1771. section to put soft registers in .page0.
  1772. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
  1773. 2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1774. * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
  1775. section. Add ${RELOCATING-0}.
  1776. 2002-06-26 J"orn Rennecke <joern.rennecke@superh.com>
  1777. * emulparams/shelf.sh (STACK_ADDR): Don't define.
  1778. (OTHER_SECTIONS): Define.
  1779. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
  1780. (OTHER_SECTIONS): Undef.
  1781. 2002-06-26 Alan Modra <amodra@bigpond.net.au>
  1782. * ldmisc.c (demangle): Restore dots stripped from sym name.
  1783. 2002-06-25 H.J. Lu <hjl@gnu.org>
  1784. * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
  1785. * Makefile.in: Regenerated.
  1786. 2002-06-20 Nick Clifton <nickc@cambridge.redhat.com>
  1787. * ld.texinfo (Bug Reporting): Update text to suggest a limit on
  1788. the size of attached object files, to allow make the object files
  1789. available via FTP or HTTP and to mention that the mail will be
  1790. sent to a mailing list.
  1791. 2002-06-20 Nathanael Nerode <neroden@twcny.rr.com>
  1792. * configure.host (romp): Drop support.
  1793. 2002-06-18 Chris Demetriou <cgd@broadcom.com>
  1794. * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
  1795. section flags for SEC_DATA, rather than for SEC_CODE being unset.
  1796. 2002-06-18 Chris Demetriou <cgd@broadcom.com>
  1797. * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
  1798. format specifier used to print BFD name.
  1799. 2002-06-18 Dave Brolley <brolley@redhat.com>
  1800. From Catherine Moore, Michael Meissner, Jim Blandy:
  1801. * emulparams/elf32frv.sh: New file.
  1802. * configure.tgt: Support frv-*-*.
  1803. * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
  1804. (eelf32frv.c): New target.
  1805. 2002-06-17 Tom Rix <trix@redhat.com>
  1806. * emultempl/elf32.em: gld*_get_script: Check for
  1807. GENERATE_COMBRELOC_SCRIPT.
  1808. * scripttempl/elfd10v.sc : Fix STACK and INSN.
  1809. * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
  1810. 2002-06-13 J"orn Rennecke <joern.rennecke@superh.com>
  1811. * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
  1812. 2002-06-12 H.J. Lu <hjl@gnu.org>
  1813. * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
  1814. false if xvec doesn't match.
  1815. 2002-06-10 Richard Sandiford <rsandifo@redhat.com>
  1816. * ldlang.c (lang_size_sections_1): Skip removed output sections.
  1817. 2002-06-08 Alan Modra <amodra@bigpond.net.au>
  1818. * ldexp.c: Replace CONST with const.
  1819. * ldfile.c: Likewise.
  1820. * ldfile.h: Likewise.
  1821. * ldlex.l: Likewise.
  1822. * mri.c: Likewise.
  1823. * pe-dll.h: Likewise.
  1824. 2002-06-07 Alan Modra <amodra@bigpond.net.au>
  1825. * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
  1826. 2002-06-07 Charles Wilson <cwilson@ece.gatech.edu>
  1827. * ldmain.c (main): initialize link_info.pei386_auto_import
  1828. to -1 == implicit enable.
  1829. * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
  1830. initialize link_info.pei386_auto_import to -1 == implicit
  1831. enable.
  1832. (gld_${EMULATION_NAME}_parse_args): When processing
  1833. --enable-auto-import and --disable-auto-import options, use
  1834. '1' and '0' instead of 'true' and 'false'.
  1835. (pe_find_data_imports): Only issue message about auto-import
  1836. when the feature is implicitly enabled. Downgrade message to
  1837. informational instead of warning.
  1838. 2002-06-07 Alan Modra <amodra@bigpond.net.au>
  1839. * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
  1840. 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
  1841. * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
  1842. HOSTING_CRT0 and HOSTING_LIBS.
  1843. 2002-06-05 J"orn Rennecke <joern.rennecke@superh.com>
  1844. * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
  1845. 2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
  1846. * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
  1847. (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
  1848. 2002-06-05 Alan Modra <amodra@bigpond.net.au>
  1849. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
  1850. SEC_EXCLUDE sections when doing a relocatable link.
  1851. 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
  1852. * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
  1853. eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
  1854. (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
  1855. (eshlelf64_nbsd.c): New rules.
  1856. * Makefile.in: Regenerate.
  1857. * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
  1858. (sh64-*-netbsd*): New targets.
  1859. * emulparams/shelf32_nbsd.sh: New file.
  1860. * emulparams/shelf64_nbsd.sh: New file.
  1861. * emulparams/shlelf32_nbsd.sh: New file.
  1862. * emulparams/shlelf64_nbsd.sh: New file.
  1863. 2002-06-04 Alan Modra <amodra@bigpond.net.au>
  1864. * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix.
  1865. 2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl>
  1866. * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
  1867. C++ constructors/destructors, loosely based on the m68hc11 port.
  1868. 2002-05-31 Alan Modra <amodra@bigpond.net.au>
  1869. * Makefile.in: Regenerate.
  1870. * aclocal.m4: Regenerate.
  1871. * config.in: Regenerate.
  1872. * configure: Regenerate.
  1873. 2002-05-31 Graeme Peterson <gp@qnx.com>
  1874. * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
  1875. (ei386nto.c): Add rule.
  1876. * Makefile.in: Regenerate.
  1877. * configure.tgt: Add i[3456]86-*-nto-qnx*.
  1878. * emulparams/i386nto.sh: New file.
  1879. 2002-05-29 Jason Thorpe <thorpej@wasabisystems.com>
  1880. * NEWS: Add entry for VAX ELF support.
  1881. 2002-05-29 Matt Thomas <matt@3am-software.com>
  1882. Jason Thorpe <thorpej@wasabisystems.com>
  1883. * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
  1884. (eelf32vax.c)
  1885. (evaxnbsd.c): New rules.
  1886. * Makefile.in: Regenerate.
  1887. * configure.tgt (vax-*-netbsdelf*)
  1888. (vax-*-netbsdaout*)
  1889. (vax-*-netbsd*): New targets.
  1890. * emulparams/elf32vax.sh: New file.
  1891. * emulparams/vaxnbsd.sh: New file.
  1892. 2002-05-29 Adam Nemet <anemet@lnxw.com>
  1893. * emultempl/armelf.em (arm_elf_after_open): Don't determine
  1894. bfd_for_interwork, instead add glue sections to each input bfd.
  1895. (bfd_for_interwork): New global.
  1896. (arm_elf_set_bfd_for_interworking): New function.
  1897. (arm_elf_before_allocation): Use it.
  1898. 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
  1899. * Makefile.am: Add DLX make target.
  1900. * configure.tgt: Add DLX configuration.
  1901. * Makefile.in: Regenerate.
  1902. * emulparams/elf32_dlx.sh: New file
  1903. * scripttempl/dlx.sc: New file
  1904. 2002-05-27 Per Lundberg <per@caleb.dnsalias.org>
  1905. * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
  1906. * Makefile.in: Regenerate.
  1907. * emulparams/elf_chaos.sh: Use elf_chaos script.
  1908. * scripttempl/elf_chaos.sc: New file.
  1909. 2002-05-27 Richard Sandiford <rsandifo@redhat.com>
  1910. * ldlang.c (lang_size_sections_1): Move check for conflicting load
  1911. addresses and regions from here...
  1912. (lang_get_regions): ...to this new function.
  1913. (lang_leave_output_section_statement): Use lang_get_regions.
  1914. (lang_leave_overlay): Likewise.
  1915. * mri.c (mri_draw_tree): Pass null as last argument to
  1916. lang_leave_output_section_statement.
  1917. * emultempl/elf32.em (gld*_place_orphan): Likewise.
  1918. * emultempl/mmo.em (mmo_place_orphan): Likewise.
  1919. * emultempl/pe.em (gld*_place_orphan): Likewise.
  1920. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  1921. * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
  1922. 2002-05-25 Kazu Hirata <kazu@cs.umass.edu>
  1923. * ldemul.c: Fix formatting.
  1924. * ldfile.c: Likewise.
  1925. * pe-dll.c: Likewise.
  1926. * pe-dll.h: Likewise.
  1927. 2002-05-25 Alan Modra <amodra@bigpond.net.au>
  1928. * ldlang.c (lang_process): Formatting, grammar.
  1929. * ldlex.l: Use #include "" instead of <> for local header files.
  1930. 2002-05-24 TAMURA Kent <kent@netbsd.org>
  1931. * configure.tgt: Add a target for i386-netbsdpe.
  1932. 2002-05-23 Jakub Jelinek <jakub@redhat.com>
  1933. * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
  1934. * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
  1935. output section if necessary. Handle .tbss.
  1936. (lang_size_sections): Clear _raw_size for .tbss section
  1937. (it allocates space in PT_TLS segment only).
  1938. * ldwrite.c (build_link_order): Build link order for .tbss too.
  1939. 2002-05-23 Alan Modra <amodra@bigpond.net.au>
  1940. * configure.in: Correct spelling of AC_PREREQ.
  1941. 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  1942. * pe-dll.c (autofilter_liblist): Add more system libs excluded by
  1943. default.
  1944. (autofilter_objlist): Add crtbegin.o, crtend.o.
  1945. 2002-05-21 Danny Smith <dannysmith@users.sourceforge.net>
  1946. * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
  1947. (longopts): Add new option --exclude-libs.
  1948. (gld_${EMULATION_NAME}_list_options): Give quick help about it.
  1949. (gld_${EMULATION_NAME}_parse_args): Use it.
  1950. * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
  1951. * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
  1952. from whole archives.
  1953. (pe_dll_add_excludes): Set excludes->type.
  1954. (auto_export): Add new variable libname and set to archive basename if
  1955. abfd. Use it when filtering default and user-specified libarary
  1956. excludes. Let string "ALL" mean all libs when filtering user-specified
  1957. libs.
  1958. * ld.texinfo: Document --exclude-libs.
  1959. 2002-05-22 Alan Modra <amodra@bigpond.net.au>
  1960. * ldemul.c (ldemul_new_vers_pattern): New function.
  1961. * ldemul.h (ldemul_new_vers_pattern): Declare.
  1962. (struct ld_emulation_xfer_struct): Add new_vers_pattern.
  1963. * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
  1964. * emultempl/ppc64elf.em (dotsyms): New static var.
  1965. (gld${EMULATION_NAME}_new_vers_pattern): New function.
  1966. (LDEMUL_NEW_VERS_PATTERN): Define.
  1967. (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
  1968. (PARSE_AND_LIST_LONGOPTS): Likewise.
  1969. (PARSE_AND_LIST_ARGS_CASES): Handle them.
  1970. * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
  1971. initialiser.
  1972. * emultempl/armcoff.em: Likewise.
  1973. * emultempl/armelf_oabi.em: Likewise.
  1974. * emultempl/beos.em: Likewise.
  1975. * emultempl/elf32.em: Likewise.
  1976. * emultempl/generic.em: Likewise.
  1977. * emultempl/gld960.em: Likewise.
  1978. * emultempl/gld960c.em: Likewise.
  1979. * emultempl/linux.em: Likewise.
  1980. * emultempl/lnk960.em: Likewise.
  1981. * emultempl/m68kcoff.em: Likewise.
  1982. * emultempl/mipsecoff.em: Likewise.
  1983. * emultempl/pe.em: Likewise.
  1984. * emultempl/sunos.em: Likewise.
  1985. * emultempl/ticoff.em: Likewise.
  1986. * emultempl/vanilla.em: Likewise.
  1987. 2002-05-22 Alan Modra <amodra@bigpond.net.au>
  1988. * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
  1989. and $NATIVE_LIB_DIRS. Add $tool_lib before other libs.
  1990. (LIB_SEARCH_DIRS): No need to use "tr".
  1991. (COMPILE_IN): Only set for native targets.
  1992. * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
  1993. here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
  1994. * configure.tgt (powerpc*): Set tdir_*.
  1995. (powerpcle*): Correct targ_extra_emuls.
  1996. * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
  1997. * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
  1998. 2002-05-22 Alan Modra <amodra@bigpond.net.au>
  1999. * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
  2000. calling lang_add_entry.
  2001. 2002-05-21 H.J. Lu (hjl@gnu.org)
  2002. * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
  2003. "-z muldefs".
  2004. (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
  2005. * ld.texinfo: Updated for --allow-multiple-definition and
  2006. "-z muldefs".
  2007. * ldmain.c (main): Initialize the allow_multiple_definition
  2008. field to false.
  2009. * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
  2010. (ld_options): Add --allow-multiple-definition.
  2011. (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
  2012. 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com>
  2013. * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
  2014. (earmelfb_nbsd.c): New rule.
  2015. * Makefile.in: Regenerate.
  2016. * configure.tgt (armeb-*-netbsdelf*): New target.
  2017. (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
  2018. (arm-*-netbsd*): Likewise.
  2019. * emulparams/armelfb_nbsd.sh: New file.
  2020. 2002-05-18 Tom Rix <trix@redhat.com>
  2021. * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
  2022. support.
  2023. 2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl>
  2024. * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
  2025. * Makefile.in: Regenerate.
  2026. * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
  2027. 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
  2028. * emulparams/avr1.sh: New file.
  2029. * emulparams/avr2.sh: New file.
  2030. * emulparams/avr3.sh: New file.
  2031. * emulparams/avr4.sh: New file.
  2032. * emulparams/avr5.sh: New file.
  2033. * scripttempl/avr.sc: New file.
  2034. 2002-05-15 Alan Modra <amodra@bigpond.net.au>
  2035. * ldlang.c (section_already_linked): Call bfd_link_just_syms.
  2036. (lang_place_orphans): Abort if just_syms_flag.
  2037. 2002-05-10 Tom Rix <trix@redhat.com>
  2038. * emultempl/aix.em: (gld*_set_output_arch): New function. Use
  2039. architecture and machine information in the output bfd.
  2040. (gld*_before_parse): Remove old arch and machine code.
  2041. (choose_target): Rename to gld*_choose_target.
  2042. (rtld): Change type to int.
  2043. * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
  2044. objects in XCOFF archives.
  2045. * ldfile.h: Update copyright date.
  2046. 2002-05-10 Jakub Jelinek <jakub@redhat.com>
  2047. * ldmain.c (main): Enable -z combreloc by default.
  2048. 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
  2049. * Makefile.am: Honour DESTDIR.
  2050. * Makefile.in: Regenerate.
  2051. 2002-05-07 Richard Sandiford <rsandifo@redhat.com>
  2052. * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
  2053. (lang_enter_overlay): Remove the last two parameters.
  2054. (lang_leave_overlay): Take them here instead.
  2055. * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
  2056. (section): Pass LMA and crossref flag to lang_leave_overlay rather
  2057. than lang_enter_overlay.
  2058. * ldlang.c (lang_memory_region_lookup): Return null for null names.
  2059. (lang_output_section_statement_lookup): Initialize update_dot_tree.
  2060. (lang_size_sections_1): Evaluate it.
  2061. (lang_leave_output_section_statement): Rework LMA lookup.
  2062. (overlay_lma, overlay_nocrossrefs): Remove.
  2063. (lang_enter_overlay): Remove LMA and crossref arguments.
  2064. (lang_enter_overlay_section): Don't set the LMA here.
  2065. (lang_leave_overlay): Take LMA and crossref arguments. Move the '.'
  2066. assignment to the last section's update_dot_tree. Unconditionally
  2067. use the load and run-time regions specified in the OVERLAY statement.
  2068. Likewise the first section's LMA. Only set the other sections' LMAs
  2069. when no load region is given.
  2070. 2002-05-06 Nick Clifton <nickc@redhat.com>
  2071. * po/sv.po: New translation.
  2072. 2002-05-04 Alan Modra <amodra@bigpond.net.au>
  2073. * emultempl/hppaelf.em (build_section_lists): New function.
  2074. (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
  2075. and build_section_lists.
  2076. 2002-05-03 Kazu Hirata <kazu@cs.umass.edu>
  2077. * ld.h: Fix formatting.
  2078. * ldexp.c: Likewise.
  2079. * ldfile.c: Likewise.
  2080. * ldlang.c: Likewise.
  2081. * ldmain.c: Likewise.
  2082. * lexsup.c: Likewise.
  2083. * pe-dll.c: Likewise.
  2084. 2002-05-02 Alan Modra <amodra@bigpond.net.au>
  2085. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
  2086. Adjust for ppc64_elf_set_toc change. #include libbfd.h.
  2087. (build_section_lists): Do output_section tests here.
  2088. 2002-04-30 Tom Rix <trix@redhat.com>
  2089. * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
  2090. 2002-05-01 Alan Modra <amodra@bigpond.net.au>
  2091. Long branch stubs, multiple stub sections.
  2092. * emultempl/ppc64elf.em: Include ldctor.h.
  2093. (stub_file): New var.
  2094. (group_size): New var.
  2095. (ppc_create_output_section_statements): New function.
  2096. (struct hook_stub_info): New.
  2097. (hook_in_stub): New function.
  2098. (ppc_add_stub_section): New function.
  2099. (ppc_layout_sections_again): New function.
  2100. (build_section_lists): New function.
  2101. (gld${EMULATION_NAME}_finish): Rewrite.
  2102. (real_func): New var.
  2103. (ppc_for_each_input_file_wrapper): New function.
  2104. (ppc_lang_for_each_input_file): New function.
  2105. (lang_for_each_input_file): Define.
  2106. (PARSE_AND_LIST_PROLOGUE): Define.
  2107. (PARSE_AND_LIST_LONGOPTS): Define.
  2108. (PARSE_AND_LIST_OPTIONS): Define.
  2109. (PARSE_AND_LIST_ARGS_CASES): Define.
  2110. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
  2111. 2002-04-30 Tom Rix <trix@redhat.com>
  2112. * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
  2113. -blibpath, -bnolibpath support.
  2114. 2002-04-30 Mark Mitchell <mark@codesourcery.com>
  2115. * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
  2116. (eelf32ppcwindiss.c): New target.
  2117. * Makefile.in: Regenerated.
  2118. * configure.tgt: Add support for powerpc-*-windiss.
  2119. * emulparams/elf32ppcwindiss.sh: New file.
  2120. 2002-04-30 Richard Sandiford <rsandifo@redhat.com>
  2121. * ldlang.c (print_assignment): Update print_dot for assignments to ".".
  2122. * ldexp.c (exp_print_token): Add "infix_p" argument.
  2123. (exp_print_tree): Update accordingly.
  2124. 2002-04-28 Alan Modra <amodra@bigpond.net.au>
  2125. * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
  2126. * Makefile.in: Regenerate.
  2127. * mpw-elfmips.c: Delete.
  2128. * mpw-eppcmac.c: Delete.
  2129. * mpw-esh.c: Delete.
  2130. * mpw-idtmips.c: Delete.
  2131. 2002-04-17 J"orn Rennecke <joern.rennecke@superh.com>
  2132. * emulparams/shelf32.sh (MACHINE): Now sh5.
  2133. 2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  2134. * ldgram.y: Fix syntax warning.
  2135. 2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
  2136. * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
  2137. to prevent "-n" from being taken as an abbreviation for
  2138. "--no-pipeline-knowledge".
  2139. 2002-04-08 Alan Modra <amodra@bigpond.net.au>
  2140. * ldlang.c (lang_size_sections_1): Don't complain about
  2141. SEC_NEVER_LOAD sections having no memory region specified.
  2142. * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
  2143. 2002-04-07 matthew green <mrg@redhat.com>
  2144. * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
  2145. 2002-04-04 Alan Modra <amodra@bigpond.net.au>
  2146. * dep-in.sed: Cope with absolute paths.
  2147. * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
  2148. Run "make dep-am".
  2149. * Makefile.in: Regenerate.
  2150. 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  2151. * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
  2152. 2002-04-03 Jakub Jelinek <jakub@redhat.com>
  2153. * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
  2154. is smaller than maximum, round dot up to common page boundary.
  2155. 2002-03-28 Alan Modra <amodra@bigpond.net.au>
  2156. * configure.host: Set up for generic hosts first, then tweak as
  2157. necessary in more specific targets.
  2158. (HOSTING_LIBS): Include libgcc_eh.a if found.
  2159. 2002-03-23 Andreas Jaeger <aj@suse.de>
  2160. * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
  2161. 2002-03-21 Alan Modra <amodra@bigpond.net.au>
  2162. * Makefile.am: Run "make dep-am".
  2163. * Makefile.in: Regenerate.
  2164. 2002-03-21 Albert Chin-A-Young <china@thewrittenword.com>
  2165. * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
  2166. 2002-03-20 Alan Modra <amodra@bigpond.net.au>
  2167. * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
  2168. add the symbol to the linker hash table immediately.
  2169. (lang_place_undefineds): Split symbol creation out..
  2170. (insert_undefined): ..to here.
  2171. 2002-03-18 David O'Brien <obrien@FreeBSD.org>
  2172. * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
  2173. the contents of the buffer returned from basename function will are
  2174. getting overwritten while still being used.
  2175. 2002-03-18 Jan Hubicka <jh@suse.cz>
  2176. Andreas Jaeger <aj@suse.de>
  2177. Andreas Schwab <schwab@suse.de>
  2178. * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
  2179. * elf_x86_64.sh (ARCH): Set to i386:x86-64
  2180. set libraries to default to lib64 paths.
  2181. 2002-03-18 Tom Rix <trix@redhat.com>
  2182. * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
  2183. * configure.tgt : Same.
  2184. * emulparms/aix5ppc.sh : New file. For eaix5ppc.
  2185. * emulparms/aix5rs6.sh : New file. For eaix5rs6.
  2186. * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
  2187. emulation parameters for better -b32, -b64 support.
  2188. * emulparms/aixrs6.sh : Same.
  2189. * emulparms/ppcmacos.sh : Same.
  2190. * emultempl/aix.em (choose_target) : Use new emulation parameters
  2191. OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
  2192. * Makefile.in : Regenerate.
  2193. 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
  2194. * po/fr.po: Updated version.
  2195. 2002-03-18 Alan Modra <amodra@bigpond.net.au>
  2196. * ldmain.c (main): Move .text readonly flag fudges from here..
  2197. * ldlang.c (lang_process): ..to here.
  2198. 2002-03-14 Alan Modra <amodra@bigpond.net.au>
  2199. * ldlang.c (lang_check): Remove the word size check added in last
  2200. change. Treat emitrelocations case as for relocatable links.
  2201. 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
  2202. * po/fr.po: Updated version.
  2203. 2002-03-13 Alan Modra <amodra@bigpond.net.au>
  2204. * ldlang.c (lang_check): Do relocatable link checks first, so that
  2205. warn_mismatch can't override. Check compatible and word size too.
  2206. 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
  2207. * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
  2208. 2002-03-05 Jakub Jelinek <jakub@redhat.com>
  2209. * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
  2210. DATA_SEGMENT_ALIGN.
  2211. 2002-03-04 H.J. Lu <hjl@gnu.org>
  2212. * scripttempl/elf.sc: Put .preinit_array, .init_array and
  2213. .fini_array in the data segment.
  2214. 2002-03-04 Alan Modra <amodra@bigpond.net.au>
  2215. * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
  2216. 2002-03-01 David Mosberger <davidm@hpl.hp.com>
  2217. * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
  2218. .init_array, and .fini_array.
  2219. 2002-02-20 Andreas Schwab <schwab@suse.de>
  2220. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
  2221. .IA64_unwind* in a relocatable link.
  2222. 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
  2223. * NEWS: Mark 2.12 branch.
  2224. 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2225. * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
  2226. * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
  2227. 2002-02-18 Tom Rix <trix@redhat.com>
  2228. * emultempl/aix.em (gld*_parse_args): Add -brtl support.
  2229. (gld*_before_allocation): Same.
  2230. (gld*_create_output_section_statements): Generate
  2231. __rtinit if run time linking. Add librtl.a to the link.
  2232. (gld*_read_file): Clean.
  2233. 2002-02-18 Alan Modra <amodra@bigpond.net.au>
  2234. * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
  2235. 2002-02-18 David O'Brien <obrien@FreeBSD.org>
  2236. * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
  2237. eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
  2238. and eelf64alpha_fbsd.
  2239. * Makefile.in: Regenerate.
  2240. * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
  2241. x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
  2242. use a FreeBSD-specific emulation rather than the psABI one.
  2243. * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
  2244. for all FreeBSD ELF systems.
  2245. * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
  2246. emulation.
  2247. * emulparams/elf32ppc_fbsd.sh: Likewise.
  2248. * emulparams/elf64_ia64_fbsd.sh: Likewise.
  2249. * emulparams/elf64_sparc_fbsd.sh: Likewise.
  2250. * emulparams/elf64alpha_fbsd.sh: Likewise.
  2251. * emulparams/elf_i386_fbsd.sh: Likewise.
  2252. * emulparams/elf_x86_64_fbsd.sh: Likewise.
  2253. 2002-02-18 Nick Clifton <nickc@cambridge.redhat.com>
  2254. * po/tr.po: Updated version.
  2255. 2002-02-18 Alan Modra <amodra@bigpond.net.au>
  2256. * ld.texinfo (Output Section Fill): Fix amateur texinfo.
  2257. (FILL): Likewise.
  2258. 2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
  2259. * emultempl/mmo.em (mmo_after_open): Don't call
  2260. _bfd_mmix_check_all_relocs when producing ELF output.
  2261. 2002-02-15 Richard Henderson <rth@redhat.com>
  2262. * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
  2263. definition. Emit a unop+nop pair.
  2264. 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
  2265. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
  2266. for presence of .MMIX.reg_contents.linker_allocated before early
  2267. exit.
  2268. * NEWS: Mention support for MMIX.
  2269. 2002-02-15 Alan Modra <amodra@bigpond.net.au>
  2270. Support arbitrary length fill patterns.
  2271. * ld.texinfo (Output Section Fill): Describe fill expressions.
  2272. (FILL): Refer to the above.
  2273. * ldexp.h (etree_value_type): Add "str" field.
  2274. (union etree_union): Add "str" to "value" struct.
  2275. (exp_bigintop): Declare.
  2276. (exp_get_fill): Declare.
  2277. * ldexp.c: Include "safe-ctype.h".
  2278. (exp_intop): Set value.str to NULL.
  2279. (exp_bigintop): New function.
  2280. (new_rel): Pass in "str", and set new.str from it.
  2281. (new_rel_from_section): Set new.str to NULL.
  2282. (fold_name): Adjust calls to new_rel.
  2283. (exp_fold_tree): Likewise.
  2284. (exp_get_fill): New function.
  2285. * ldgram.y (struct big_int bigint, fill_type *fill): New.
  2286. (INT): Returns a "bigint". Adjust all code handling INTs.
  2287. (fill_opt): Returns a "fill".
  2288. (fill_exp): Split out of fill_opt, use for FILL.
  2289. * ldlang.h (struct _fill_type): New.
  2290. (fill_type): Move typedef to ldexp.h.
  2291. (lang_output_section_statement_type): "fill" is now a pointer.
  2292. (lang_fill_statement_type): Likewise.
  2293. (lang_padding_statement_type): Likewise.
  2294. (lang_add_fill): Now takes a "fill_type *" param.
  2295. (lang_leave_output_section_statement): Likewise.
  2296. (lang_do_assignments): Likewise.
  2297. (lang_size_sections): Likewise.
  2298. (lang_leave_overlay_section): Likewise.
  2299. (lang_leave_overlay): Likewise.
  2300. * ldlang.c: Include ldgram.h after ldexp.h.
  2301. (lang_output_section_statement_lookup): Adjust for fill_type change.
  2302. (print_fill_statement): Likewise.
  2303. (print_padding_statement): Likewise.
  2304. (insert_pad): Now takes a "fill_type *" arg.
  2305. (size_input_section): Likewise.
  2306. (lang_size_sections_1): Likewise.
  2307. (lang_size_sections): Likewise.
  2308. (lang_do_assignments): Likewise.
  2309. (lang_add_fill): Likewise.
  2310. (lang_leave_output_section_statement): Likewise.
  2311. (lang_leave_overlay_section): Likewise.
  2312. (lang_leave_overlay): Likewise.
  2313. Adjust all callers of the above function.
  2314. * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers
  2315. starting with "0X" as well as "0x". Return bigint.str for hex
  2316. numbers starting with "0x" or "0X", zero bigint.str otherwise.
  2317. Always use base 16 for numbers starting with "$".
  2318. * ldmain.c: Include ldgram.h after ldexp.h.
  2319. * ldwrite.c (build_link_order): Use bfd_data_link_order in place
  2320. of bfd_fill_link_order.
  2321. * pe-dll.c: Adjust lang_do_assignments calls.
  2322. * emultempl/elf32.em: Likewise.
  2323. * emultempl/hppaelf.em: Likewise.
  2324. * emultempl/ppc64elf.em: Likewise.
  2325. * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
  2326. lang_add_assignment call.
  2327. * emultempl/pe.em: Likewise.
  2328. 2002-02-14 Phil Edwards <pme@gcc.gnu.org>
  2329. * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
  2330. * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
  2331. the pattern in question is not a regexp.
  2332. * ldlang.c: Likewise.
  2333. * ldlang.h: Likewise.
  2334. * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
  2335. 2002-02-12 Jakub Jelinek <jakub@redhat.com>
  2336. * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
  2337. * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
  2338. (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
  2339. * ldexp.c (exp_data_seg): New variable.
  2340. (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
  2341. (fold_binary): Handle DATA_SEGMENT_ALIGN.
  2342. (exp_fold_tree): Handle DATA_SEGMENT_END.
  2343. Pass allocation_done when recursing instead of hardcoding
  2344. lang_allocating_phase_enum.
  2345. * ldexp.h (exp_data_seg): New.
  2346. * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
  2347. (lang_size_sections): New.
  2348. * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
  2349. * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
  2350. if COMMONPAGESIZE is defined.
  2351. * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
  2352. * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
  2353. * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
  2354. * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
  2355. * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
  2356. libraries only.
  2357. 2002-02-11 Alan Modra <amodra@bigpond.net.au>
  2358. * Makefile.in: Regenerate.
  2359. 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
  2360. * lexsup.c: Remove strtoul declaration.
  2361. 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
  2362. * ldmain.c: Add prototype for main ().
  2363. * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
  2364. * emultempl/lnk960.em (lnk960_choose_target): Function should
  2365. take two arguments.
  2366. 2002-02-10 Alan Modra <amodra@bigpond.net.au>
  2367. * ldlang.c (entry_section): New initialised variable.
  2368. (lang_finish): Use it.
  2369. * ldlang.h (entry_section): Declare.
  2370. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
  2371. entry_section to ".opd".
  2372. 2002-02-09 Chris Demetriou <cgd@broadcom.com>
  2373. * ld.texinfo (Options): Add back in -nostdlib documentation,
  2374. which had been inadvertently removed.
  2375. 2002-02-09 Hans-Peter Nilsson <hp@bitrange.com>
  2376. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
  2377. register section vma to a sane value after emitting error. Make
  2378. fatal conditions cause program exit when emitting message.
  2379. 2002-02-08 Ivan Guzvinec <ivang@opencores.org>
  2380. * configure.tgt: Add or32-*-rtems target.
  2381. 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
  2382. Contribute sh64-elf.
  2383. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  2384. * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
  2385. in OTHER_RELOCATABLE_SECTIONS.
  2386. 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
  2387. * emulparams/shelf32.sh (STACK_ADDR): Define.
  2388. (OTHER_RELOCATABLE_SECTIONS): Renamed to...
  2389. (OTHER_SECTIONS): this. Removed stack settings.
  2390. * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
  2391. (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
  2392. 2001-03-12 DJ Delorie <dj@redhat.com>
  2393. * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
  2394. relaxing if any shmedia or mixed sections are found.
  2395. 2001-03-07 DJ Delorie <dj@redhat.com>
  2396. * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
  2397. einfo. Gracefully decline to output to non-elf formats.
  2398. 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com>
  2399. * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
  2400. Default to _end aligned to next multiple of 0x40000, plus 0x40000.
  2401. * emulparams/shelf32.sh: Ditto.
  2402. 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com>
  2403. * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
  2404. comment.
  2405. 2001-01-10 Ben Elliston <bje@redhat.com>
  2406. * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
  2407. non-portable shell constructs. From Hans-Peter Nilsson.
  2408. 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com>
  2409. * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
  2410. * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
  2411. dependencies to the shell script include chain.
  2412. * Makefile.in: Regenerate.
  2413. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
  2414. * emultempl/sh64elf.em: Update and tweak comments.
  2415. (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
  2416. make a .cranges section SEC_IN_MEMORY.
  2417. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
  2418. * emultempl/sh64elf.em
  2419. (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
  2420. .cranges section found to be necessary; continue and set stored
  2421. section contents flags for sections with non-mixed contents.
  2422. Use a struct sh64_section_data container and sh64_elf_section_data
  2423. to store contents-type flags.
  2424. Remove unused update of "isec".
  2425. (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
  2426. sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to
  2427. access contents-type flags. Assert that the associated container
  2428. is initialized. Use that container, not elf_gp_size, to hold size
  2429. of linker-generated cranges contents.
  2430. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
  2431. * emultempl/sh64elf.em
  2432. (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
  2433. there's already a .cranges section. When section flag difference
  2434. is found, don't NULL-check cranges a second time. Tweak comments.
  2435. (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
  2436. merging, not max size, as size of ld-generated .cranges contents.
  2437. Don't set ELF section flags in output section. When checking for
  2438. needed .cranges descriptors, don't use a variable; compare
  2439. incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak
  2440. comments.
  2441. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
  2442. * emultempl/sh64elf.em: New file.
  2443. * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
  2444. * Makefile.in: Regenerate.
  2445. * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
  2446. (OTHER_RELOCATING_SECTIONS): Ditto.
  2447. (EXTRA_EM_FILE): New, set to sh64elf if not set.
  2448. * emulparams/shlelf32.sh: Stub out all settings except
  2449. OUTPUT_FORMAT. Source shelf32.sh.
  2450. * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
  2451. OTHER_RELOCATING_SECTIONS.
  2452. (OTHER_RELOCATING_SECTIONS): Remove .cranges.
  2453. * emulparams/shlelf64.sh: Stub out all settings except
  2454. OUTPUT_FORMAT. Source shelf64.sh.
  2455. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
  2456. * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
  2457. .cranges section.
  2458. (DATA_START_SYMBOLS): Define, provide ___data.
  2459. (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
  2460. for consecutive .data section.
  2461. (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
  2462. section after .data section.
  2463. * emulparams/shlelf64.sh: Ditto.
  2464. * emulparams/shelf32.sh: Ditto.
  2465. (ALIGNMENT): Define to 8.
  2466. * emulparams/shelf32.sh: Ditto.
  2467. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
  2468. * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
  2469. built-in linker scripts.
  2470. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
  2471. * emulparams/shlelf64.sh: New.
  2472. * emulparams/shelf64.sh: New.
  2473. * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
  2474. targ_extra_emuls.
  2475. * Makefile.am: Add support for shlelf64 and shelf64.
  2476. * Makefile.in: Regenerate.
  2477. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
  2478. * configure.tgt (sh64-*-elf*): Add shelf as default.
  2479. Add shlelf to targ_extra_emuls.
  2480. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
  2481. * emulparams/shelf32.sh: New file.
  2482. * emulparams/shlelf32.sh: New file.
  2483. * Makefile.am: Add support for shlelf32 and shelf32.
  2484. * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
  2485. * Makefile.in: Regenerate.
  2486. 2002-02-05 Hans-Peter Nilsson <hp@axis.com>
  2487. * ldlang.c (lang_reset_memory_regions): Rename from
  2488. reset_memory_regions. Change all callers. Make public.
  2489. * ldlang.h (lang_reset_memory_regions): Prototype.
  2490. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
  2491. lang_reset_memory_regions before lang_size_sections.
  2492. * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
  2493. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
  2494. 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
  2495. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
  2496. arithmetic when checking for too many global registers.
  2497. 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
  2498. * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
  2499. (ehppanbsd.c): New rule.
  2500. * Makefile.in: Regenerate.
  2501. * configure.tgt (hppa*-*-netbsd*): New target.
  2502. * emulparams/hppalinux.sh: Add comment to check other files
  2503. that source this file it is modified, and list which
  2504. files that do.
  2505. * emulparams/hppanbsd.sh: New file.
  2506. 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
  2507. * scripttempl/xstormy16.sc: Don't allocate extra space for the
  2508. stack.
  2509. 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
  2510. Support on-demand global register allocation from
  2511. R_MMIX_BASE_PLUS_OFFSET relocs.
  2512. * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
  2513. mmix_set_reg_section_vma. Call
  2514. _bfd_mmix_finalize_linker_allocated_gregs.
  2515. (mmix_before_allocation): New function.
  2516. (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
  2517. (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
  2518. * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
  2519. (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
  2520. before .MMIX.reg_contents.
  2521. * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
  2522. (mmo_after_open): New function.
  2523. (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
  2524. * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add
  2525. .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
  2526. 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
  2527. * emulparams/or32.sh: New file.
  2528. * emulparams/or32elf.sh: New file.
  2529. * scripttempl/or32.sc: New file.
  2530. * configure.tgt : Add support for or32.
  2531. * configure: Regenerate
  2532. * Makefile.am: Add support for or32.
  2533. * Makefile.in: Regenerate.
  2534. * NEWS: Mention support for or32.
  2535. * po/ld.pot: Regenerate.
  2536. 2002-01-29 Chris Demetriou <cgd@broadcom.com>
  2537. Mitch Lichtenberg <mpl@broadcom.com>
  2538. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
  2539. * emultempl/mipself.em: New file to handle MIPS ELF embedded
  2540. reloc creation (ld --embedded-relocs).
  2541. 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
  2542. * configure: Regenerated.
  2543. 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
  2544. * Makefile.am (install): Depend on install-info.
  2545. * Makefile.in: Regenerate.
  2546. 2002-01-26 Christian Rose <menthos@menthos.com>
  2547. * ldmain.c (main): Use full sentences to ease translation.
  2548. 2002-01-26 Nick Clifton <nickc@cambridge.redhat.com>
  2549. * po/fr.po: Updated version.
  2550. 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
  2551. * po/es.po: Updated version.
  2552. 2002-01-25 Andreas Jaeger <aj@suse.de>
  2553. * ldlex.l (yy_input): Correct error check.
  2554. 2002-01-25 Alan Modra <amodra@bigpond.net.au>
  2555. * ldmisc.c (demangle): Put back dots when string not demangled.
  2556. 2002-01-22 Richard Henderson <rth@redhat.com>
  2557. * emulparams/elf64alpha.sh (NOP): Use unop.
  2558. 2002-01-21 Andreas Jaeger <aj@suse.de>
  2559. * ldlex.l: Use fread instead of read.
  2560. 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
  2561. * configure.tgt (ia64-*-netbsd*): New target.
  2562. 2002-01-21 H.J. Lu <hjl@gnu.org>
  2563. * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
  2564. 0.
  2565. * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
  2566. 2002-01-18 Andreas Jaeger <aj@suse.de>
  2567. * ldver.c (ldversion): Update year.
  2568. 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
  2569. * po/ld.pot: Regenerate.
  2570. 2002-01-16 Alan Modra <amodra@bigpond.net.au>
  2571. * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
  2572. * Makefile.in: Regenerate.
  2573. * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
  2574. * emultempl/ppc64elf.em: New file.
  2575. 2002-01-15 DJ Delorie <dj@redhat.com>
  2576. * scripttempl/pe.sc: Add support for constructor priorities.
  2577. 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
  2578. * emulparams/avr1200.sh (DATA_START): Define as 0x60.
  2579. * emulparams/avr23xx.sh: Likewise.
  2580. * emulparams/avr4433.sh: Likewise.
  2581. * emulparams/avr44x4.sh: Likewise.
  2582. * emulparams/avr85xx.sh: Likewise.
  2583. * emulparams/avrmega103.sh: Likewise.
  2584. * emulparams/avrmega161.sh: Likewise.
  2585. * emulparams/avrmega603.sh: Likewise.
  2586. * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
  2587. 2002-01-08 Alexandre Oliva <aoliva@redhat.com>
  2588. * ldlang.c (walk_wild_section): Exclude object file if enclosing
  2589. archive is excluded.
  2590. 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
  2591. * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
  2592. (eshelf_nbsd.c): New rule.
  2593. (eshlelf_nbsd.c): New rule.
  2594. * Makefile.in: Regenerate.
  2595. * configure.tgt (sh*le-*-netbsdelf*): New target.
  2596. (sh*-*-netbsdelf*): New target.
  2597. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
  2598. * emulparams/shelf_nbsd.sh: New emulation.
  2599. * emulparams/shlelf_nbsd.sh: New emulation.
  2600. 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
  2601. * po/es.po: New file: Spanish translation.
  2602. * configure.in (ALL_LINGUAS): Add es.
  2603. * configure: Regenerate.
  2604. 2002-01-06 John Marshall <jmarshall@acm.org>
  2605. * ld.texinfo: Note that --emit-relocs is currently only
  2606. implemented for ELF.
  2607. 2002-01-05 Alan Modra <amodra@bigpond.net.au>
  2608. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
  2609. of bfd_section_list_remove and bfd_section_list_insert macros.
  2610. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  2611. * emultempl/mmo.em (mmo_place_orphan): Likewise.
  2612. 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
  2613. * configure.tgt (x86_64-*-netbsd*): New target.
  2614. For older changes see ChangeLog-0001
  2615. Copyright (C) 2002-2003 Free Software Foundation, Inc.
  2616. Copying and distribution of this file, with or without modification,
  2617. are permitted in any medium without royalty provided the copyright
  2618. notice and this notice are preserved.
  2619. Local Variables:
  2620. mode: change-log
  2621. left-margin: 8
  2622. fill-column: 74
  2623. version-control: never
  2624. End: