ChangeLog-0001 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382
  1. 2001-12-21 Tom Rix <trix@redhat.com>
  2. (gld*_create_output_section_statements): New function.
  3. For -binitfini support.
  4. * emultempl/aix.em (gld*_before_parse): Fix comment.
  5. * emultempl/aix.em (gld*_parse_args): Fix comment.
  6. 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
  7. * configure.tgt (mips*-dec-netbsd*): Delete alias for
  8. mips*el-*-netbsd*.
  9. (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
  10. * configure.tgt (arm-*-netbsdelf*): Add target.
  11. (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
  12. * emulparams/armelf_nbsd.sh: Added.
  13. * Makefile.am: Add rules for earmelf_nbsd.
  14. * Makefile.in: Regenerate.
  15. 2001-12-19 Andreas Jaeger <aj@suse.de>,
  16. Susanne Oberhauser <froh@suse.de>
  17. * configure.host: Add rules for x86_64-*linux-gnu. Change
  18. s390x-linux entry to use gcc to report configuration, replace gcc
  19. with $CC in s390-linux
  20. 2001-12-19 Andreas Jaeger <aj@suse.de>
  21. * ld.texinfo (VERSION): Fix markup.
  22. 2001-12-18 matthew green <mrg@eterna.com.au>
  23. * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
  24. (m68kelfnbsd.c): New rule.
  25. * Makefile.in: Regenerate.
  26. * configure.tgt (m68*-hp-netbsd*): Renamed to ..
  27. (m68*-*-netbsd*4k*): .. this.
  28. (m68*-*-netbsdelf*): New target.
  29. (m68*-*-netbsd*): Also include ELF support.
  30. (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
  31. * emulparams/m68kelfnbsd.sh: New emulation.
  32. 2001-12-18 Jakub Jelinek <jakub@redhat.com>
  33. * ldgram.y (vers_node): Support anonymous version tags.
  34. * ldlang.c (lang_register_vers_node): Ensure anonymous version
  35. tag is not defined together with non-anonymous versions.
  36. * ld.texinfo: Document it.
  37. 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
  38. * po/tr.po: New file: Turkish translation.
  39. * configure.in (ALL_LINGUAS): Add tr.
  40. * configure: Regenerate.
  41. 2001-12-17 Jason Thorpe <thorpej@wasabisystems.com>
  42. * Makefile.am: Add rules for eelf64alpha_nbsd.
  43. * Makefile.in: Regenerate.
  44. * configure.tgt (alpha*-*-netbsd*): Set
  45. targ_emul to elf64alpha_nbsd.
  46. * emulparams/elf64alpha_nbsd.sh: Added.
  47. 2001-12-17 Alan Modra <amodra@bigpond.net.au>
  48. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
  49. section_tail when fiddling with section list.
  50. (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
  51. broken into separate strings to make translation easier.
  52. * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
  53. fiddling with section list.
  54. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  55. 2001-12-16 Hans-Peter Nilsson <hp@bitrange.com>
  56. * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
  57. 2001-12-15 Alan Modra <amodra@bigpond.net.au>
  58. * ldmain.c (main): Initialise link_info.eh_frame_hdr.
  59. 2001-12-13 Jakub Jelinek <jakub@redhat.com>
  60. * emultempl/elf32.em (finish): Supply output_bfd
  61. to bfd_elf*_discard_info.
  62. (OPTION_EH_FRAME_HDR): Define.
  63. (longopts): Add --eh-frame-hdr.
  64. (parse_args): Handle it.
  65. (list_options): Add --eh-frame-hdr to help.
  66. * emultempl/hppaelf.em (finish): Supply output_bfd
  67. to bfd_elf*_discard_info.
  68. * scripttempl/elf.sc (.eh_frame_hdr): Add.
  69. 2001-12-13 Alan Modra <amodra@bigpond.net.au>
  70. * lexsup.c (parse_args): Don't pass shortopts to second call to
  71. getopt functions. Restore optind rather than decrementing before
  72. second call. Remove errind as it now duplicates last_optind.
  73. 2001-12-11 Christopher Faylor <cgf@redhat.com>
  74. * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
  75. 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
  76. Richard Henderson <rth@redhat.com>
  77. * Makefile.am: Add support for xstormy16.
  78. * configure.tgt: Add support for xstormy16.
  79. * Makefile.in: Regenerate.
  80. * emulparams/elf32xstormy16.sh: New file.
  81. * scripttempl/xstormy16.sc: New file.
  82. 2001-10-01 Christopher Faylor <cgf@cygnus.com>
  83. * Makefile.in (LIB_PATH): Make configurable.
  84. (GENSCRIPTS): Set LIB_PATH in environment.
  85. * configure.in: Substitute LIB_PATH.
  86. * configure: Regenerate.
  87. * configure.tgt (*cygwin): Set LIB_PATH for cross build.
  88. * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
  89. 2001-12-07 Nick Clifton <nickc@cambridge.redhat.com>
  90. * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
  91. describing the -N option so that it is easier to translate into
  92. foreign languages.
  93. 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
  94. * emultempl/pe.em (..._list_options): Replace multiple fprintf
  95. statements describing a single option with a single, newline
  96. escaped fprintf. This allows better translation into other
  97. languages.
  98. * ldmain.c (add_archive_element): Combine multiple strings
  99. into a single string to permit better translation into other
  100. languages.
  101. 2001-12-05 Tom Rix <trix@redhat.com>
  102. * Makefile.am: Remove eaixppc64.
  103. * Makefile.in: Regenerate.
  104. 2001-12-04 Tom Rix <trix@redhat.com>
  105. * emultempl/aix.em (choose_target): Change default target to
  106. OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler
  107. warning.
  108. (gld*_read_file): Fix typo.
  109. (change_symbol_mode): Add prototype.
  110. (is_syscall): Same.
  111. * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
  112. * emulparams/aixrs6.sh : Same.
  113. * emulparams/ppcmacos.sh : Same.
  114. * emulparams/aixppc64.sh : Delete file.
  115. * emultempl/aix.em : Formatting changes.
  116. 2001-12-04 Hans-Peter Nilsson <hp@axis.com>
  117. * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
  118. (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
  119. __Sbss.
  120. (OTHER_END_SYMBOLS): Fix formatting.
  121. * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
  122. (OTHER_END_SYMBOLS): Fix formatting.
  123. 2001-12-04 Alan Modra <amodra@bigpond.net.au>
  124. * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
  125. 2001-12-02 Tom Rix <trix@redhat.com>
  126. * configure.tgt : Remove eaixppc64 emulations.
  127. * Makefile.in : Remove eaixppc64.c
  128. * ldemul.c (ldemul_choose_target): New parameters argc, argv.
  129. (ldemul_default_target): Same.
  130. * emultempl/gld960.em (gld960_choose_target): Same.
  131. * emultempl/gld960c.em (gld960_choose_target): Same.
  132. * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
  133. * emultempl/aix.em (is_syscall): syscall_mask now a variable.
  134. * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
  135. * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
  136. * emultempl/aix.em (choose_target): New function. Handle emulation of
  137. -b32 and -b64.
  138. 2001-11-27 H.J. Lu <hjl@gnu.org>
  139. * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
  140. * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
  141. * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
  142. * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
  143. * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
  144. * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
  145. * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
  146. * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
  147. * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
  148. is not empty.
  149. (SDATA): Likewise.
  150. (REL_SDATA): Likewise.
  151. (REL_SBSS): Likewise.
  152. (REL_SDATA2): Likewise.
  153. (REL_SBSS2): Likewise.
  154. (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
  155. (SDATA2): Likewise.
  156. 2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  157. * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
  158. destructor in rom.
  159. * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
  160. 2001-11-22 H.J. Lu <hjl@gnu.org>
  161. * Makefile.in: Regenerated with automake based on automake
  162. 1.4-8 in RedHat 7.1.
  163. 2001-11-22 Alan Modra <amodra@bigpond.net.au>
  164. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
  165. (config.status): Delete rule.
  166. Add extra dependencies to cover sourced emulparams files.
  167. * Makefile.in: Regenerate.
  168. * scripttempl/elf.sc: Order <section>, <section>.* and
  169. corresponding linkonce sections as seen in input files.
  170. Formatting fixes. Zero vma of all sections if not relocating.
  171. (STACK): Define and insert if STACK_ADDR defined.
  172. (OTHER_RELOCATING_SECTIONS): Delete.
  173. (OTHER_END_SYMBOLS): Define.
  174. (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
  175. (OTHER_READWRITE_SECTIONS): Likewise.
  176. (OTHER_GOT_SECTIONS): Likewise.
  177. (OTHER_SDATA_SECTIONS): Likewise.
  178. (OTHER_BSS_SECTIONS): Likewise.
  179. * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
  180. (OTHER_READWRITE_SECTIONS): Likewise.
  181. * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
  182. (OTHER_READWRITE_SECTIONS): Likewise.
  183. * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
  184. (STACK_ADDR): Define.
  185. * emulparams/armelf_oabi.sh: As for armelf.sh.
  186. * emulparams/elf32mcore.sh: As for armelf.sh.
  187. * emulparams/h8300elf.sh: As for armelf.sh.
  188. * emulparams/mn10200.sh: As for armelf.sh.
  189. * emulparams/shelf.sh: As for armelf.sh.
  190. * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
  191. (OTHER_END_SYMBOLS): Define.
  192. * emulparams/m32relf.sh: As for elf32fr30.sh.
  193. * emulparams/h8300helf.sh: As for elf32fr30.sh.
  194. * emulparams/h8300self.sh: As for elf32fr30.sh.
  195. * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
  196. defines with RELOCATING test.
  197. (OTHER_SDATA_SECTIONS): Likewise.
  198. (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
  199. (OTHER_END_SYMBOLS): ..this.
  200. * emulparams/crislinux.sh: As for criself.sh.
  201. * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
  202. if not relocating.
  203. (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
  204. (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
  205. normal and linkonce sections as seen in input files.
  206. * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
  207. (TEXT_DYNAMIC): Likewise.
  208. (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
  209. (OTHER_SDATA_SECTIONS): Likewise.
  210. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
  211. * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
  212. * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
  213. * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
  214. * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
  215. (OTHER_PLT_RELOC_SECTIONS): Likewise.
  216. (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
  217. sections as seen in input files.
  218. * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
  219. * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
  220. if not relocating.
  221. (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
  222. (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
  223. * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
  224. (OTHER_SECTIONS): Instead, use this..
  225. (OTHER_END_SYMBOLS): ..and this.
  226. * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
  227. * emulparams/elf32bsmip.sh: Likewise.
  228. * emulparams/elf32btsmip.sh: Likewise.
  229. * emulparams/elf32ebmip.sh: Likewise.
  230. * emulparams/elf32lmip.sh: Likewise.
  231. * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
  232. * emulparams/elf32lsmip.sh: Likewise.
  233. * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
  234. * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
  235. * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
  236. * emulparams/elf64btsmip.sh: Likewise.
  237. * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
  238. * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
  239. * emulparams/elf32ppclinux.sh: Likewise.
  240. * emulparams/elf32ppcsim.sh: Likewise.
  241. * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
  242. * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
  243. * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
  244. * emulparams/h8300self.sh: Likewise.
  245. * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
  246. * emulparams/sh.sh: Comment.
  247. * emulparams/shl.sh: Source sh.sh, remove duplicates.
  248. * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
  249. * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
  250. 2001-11-21 David Heine <dlheine@tensilica.com>
  251. Alan Modra <amodra@bigpond.net.au>
  252. * ldlang.c (map_input_to_output_sections): Replace "break"
  253. accidentally removed with 2001-08-03 change.
  254. (lang_gc_sections_1): Likewise.
  255. 2001-11-21 Alan Modra <amodra@bigpond.net.au>
  256. * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
  257. 2001-11-20 Angela Marie Thomas <angela@redhat.com>
  258. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
  259. of false when calling lang_size_sections.
  260. * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
  261. 2001-11-15 Alan Modra <amodra@bigpond.net.au>
  262. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
  263. function when LDEMUL_FINISH isn't set to the same name. Don't
  264. call ${LDEMUL_FINISH}.
  265. (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
  266. * emultempl/armelf.em (arm_elf_finish): Call
  267. gld${EMULATION_NAME}_finish.
  268. * emultempl/hppaelf.em (hppaelf_finish): Rename to
  269. gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and
  270. hppaelf_layout_sections_again if necessary.
  271. (need_laying_out): New var.
  272. (hppaelf_layaout_sections_again): Rename to
  273. hppaelf_layout_sections_again. Clear need_laying_out.
  274. (PARSE_AND_LIST_OPTIONS): Format text.
  275. 2001-11-14 H.J. Lu <hjl@gnu.org>
  276. * emultempl/armelf.em (arm_elf_finish): Renamed from
  277. gld${EMULATION_NAME}_finish.
  278. (LDEMUL_FINISH): Set to arm_elf_finish.
  279. 2001-11-14 Daniel Jacobowitz <drow@mvista.com>
  280. * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
  281. (struct ld_emulation_xfer_struct): Use it.
  282. 2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com>
  283. * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
  284. additional symbols referenced by newer crt0.o files from HP.
  285. 2001-11-12 Anthony Green <green@redhat.com>
  286. * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
  287. 2001-11-12 Alfred M. Szmidt <ams@kemisten.nu>
  288. * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
  289. * Makefile.in: Regenerate.
  290. 2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  291. * ld.texinfo: Use @command for commands, @option for options.
  292. * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
  293. the page man title.
  294. * Makefile.in: Rebuild.
  295. 2001-11-04 Chris Demetriou <cgd@broadcom.com>
  296. * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
  297. Add support for targets.
  298. 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
  299. * configure.in (ALL_LINGUAS): Add "fr" and "sv"
  300. * configure: Regernate.
  301. * po/fr.po: New file.
  302. * po/sv.po: New file.
  303. 2001-11-01 NIIBE Yutaka <gniibe@m17n.org>
  304. * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
  305. as little endian default and to support big endian.
  306. 2001-11-01 Chris Demetriou <cgd@broadcom.com>
  307. * ld.texinfo (Options): Document new option, -nostdlib.
  308. * lexsup.c (OPTION_NOSTDLIB): New definition.
  309. (ld_options): Add entry for "nostdlib".
  310. (parse_args): Handle OPTIONS_NOSTDLIB.
  311. * ldfile.c (ldfile_add_library_path): Don't add directories
  312. to the search path if they weren't specified on the command line
  313. and -nostdlib was specified.
  314. * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
  315. 2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
  316. * lexsup.c (parse_args): Prevent infinite parsing loop when
  317. "-rpath.a" is specified on the command line.
  318. Replace calls to fprintf with calls to einfo.
  319. 2001-10-31 John Marshall <jmarshall@acm.org>
  320. * ld.texinfo: A historical requirement that MEMORY and SECTIONS
  321. appear only once across all the linker scripts involved in a link
  322. invocation no longer applies. Make the documentation reflect
  323. that.
  324. 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
  325. * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
  326. targets.
  327. (sh-*-linux*): Added targ_extra_libpath.
  328. 2001-10-31 David Heine <dlheine@tensilica.com>
  329. * ldlang.c (lang_size_sections): Keep a valid output_offset field
  330. for padding statements.
  331. 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
  332. * configure.tgt (mmix-*-*): New target.
  333. * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
  334. Add dependencies to match.
  335. * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
  336. emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
  337. scripttempl/mmo.sc: New files.
  338. * gen-doc.texi: @set MMIX.
  339. * ld.texinfo: Ditto.
  340. [MMIX] Add MMIX node.
  341. * Makefile.in: Regenerate.
  342. 2001-10-29 Kazu Hirata <kazu@hxi.com>
  343. * ldlang.c: Fix a comment typo.
  344. 2001-10-23 Alan Modra <amodra@bigpond.net.au>
  345. * configure.host: Move alpha*-*-linux-gnu* entry to generic
  346. entries, and match *-*-linux*.
  347. 2001-10-20 Alan Modra <amodra@bigpond.net.au>
  348. * ldgram.y (mri_script_command): Surround processing of INCLUDE
  349. with ldlex_script, ldlex_popstate.
  350. (ifile_p1): Likewise.
  351. * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the
  352. correct slot.
  353. (lex_push_file): Save current lineno to lineno_stack. Set lineno
  354. to 1. Don't BEGIN(SCRIPT).
  355. (lex_redirect): Similarly.
  356. * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
  357. 2001-10-20 Nick Clifton <nickc@cambridge.redhat.com>
  358. * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
  359. __EH_FRAME_END__ and accept eh frames into data section.
  360. Add ctor and dtor sections.
  361. 2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  362. * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
  363. (auto-export): Fix indentation.
  364. 2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  365. * pe-dll.c (autofilter_objectlist): Add startup objects
  366. for profiling.
  367. (auto-export): Constify char * p.
  368. Extract file basename and use strcmp rather than ststr
  369. for object lookup.
  370. 2001-10-18 Chris Demetriou <cgd@broadcom.com>
  371. * ldmain.c (get_emulation): Improve comment about the handling
  372. of -mipsN options.
  373. 2001-10-17 Alan Modra <amodra@bigpond.net.au>
  374. * po/POTFILES.in: Regenerate.
  375. 2001-10-16 Vassili Karpov <malc@pulsesoft.com>
  376. * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
  377. -z nocopyreloc and -z nocombreloc usage strings.
  378. 2001-10-12 Vassili Karpov <malc@pulsesoft.com>
  379. * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
  380. in usage.
  381. 2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com>
  382. * scripttempl/armaout.sc: Place .bss section after end of aligned
  383. data section to match behaviour of aout code in constructrion of
  384. header.
  385. 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  386. * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
  387. startup files for mingw32 dlls to list.
  388. 2001-10-10 Chris Demetriou <cgd@broadcom.com>
  389. * emultempl/elf32.em: Fix shell 'if' usage for portability.
  390. 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
  391. * configure.tgt (targ): Add arm9e-*-elf.
  392. 2001-10-05 H.J. Lu <hjl@gnu.org>
  393. * genscripts.sh: Fix a typo in the last change.
  394. 2001-10-05 Jakub Jelinek <jakub@redhat.com>
  395. * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
  396. -z nocombreloc in usage.
  397. 2001-10-03 Jim Blandy <jimb@redhat.com>
  398. * genscripts.sh: Include a comment at the top of each generated
  399. script, explaining its purpose.
  400. 2001-10-03 Vassili Karpov <malc@pulsesoft.com>
  401. * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
  402. * NEWS: Mention -z nocopyreloc.
  403. * ld.texinfo (Options): Describe nocopyreloc.
  404. 2001-10-03 Alan Modra <amodra@bigpond.net.au>
  405. * configure: Regenerate.
  406. 2001-10-02 Alan Modra <amodra@bigpond.net.au>
  407. * ldver.h (ld_program_version): Remove declaration.
  408. * lexsup.c (parse_args): Move printing of copyright message..
  409. * ldver.c (ldversion): .. to here.
  410. Use BFD_VERSION_STRING in place of BFD_VERSION.
  411. (ld_program_version): Remove.
  412. * Makefile.am (Makefile): Depend on bfd/configure.in.
  413. Run "make dep-am".
  414. * Makefile.in: Regenerate.
  415. 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
  416. * Makefile.am: Update dependencies with "make dep-am".
  417. * Makefile.in: Regenerate.
  418. 2001-09-29 John Reiser <jreiser@BitWagon.com>
  419. * ldlang.c (lang_common): Conditionally inhibit Common allocation.
  420. * lexsup.c: Add --no-define-common commandline option.
  421. * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
  422. * ldlex.l: Likewise.
  423. * ld.h: Add command_line.inhibit_common_definition.
  424. * ldmain.c (main): Initialize.
  425. * ld.texinfo: Document.
  426. 2001-09-29 Alan Modra <amodra@bigpond.net.au>
  427. * ldlang.c (section_already_linked): Remove assignment to kept_section.
  428. 2001-09-26 Alan Modra <amodra@bigpond.net.au>
  429. * ldmisc.c (USE_STDARG): Remove.
  430. (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
  431. (einfo): Likewise.
  432. (minfo): Likewise.
  433. (lfinfo): Likewise.
  434. * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
  435. declarations. Update copyright.
  436. 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
  437. * pe-dll.c: Remove obsoleted declaration of
  438. pe_get_data_import_dll_name.
  439. (pe_create_import_fixup): Fix thinko.
  440. * ld.texinfo(enable-auto-import): Clarify the explanation.
  441. 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
  442. * pe-dll.c (pe_create_import_fixup): Revert previous patch.
  443. * emultemp/pe.em (pe_data_import_dll): Move definition outside of
  444. DLL_SUPPORT controlled code.
  445. 2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
  446. * emultempl/pe.em(pe_data_import_dll): Make static.
  447. (pe_get_data_import_dll_name): New accessor function.
  448. * pe-dll.c(pe_create_import_fixup): call
  449. pe_get_data_import_dll_name() from pe.em, instead of
  450. directly accessing pe_data_import_dll variable from pe.em.
  451. 2001-09-18 Bruno Haible <haible@clisp.cons.org>
  452. * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>.
  453. (def_file_add_directive): Use ISSPACE instead of isspace.
  454. (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
  455. isdigit/isxdigit/isalpha/isalnum.
  456. * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>.
  457. (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
  458. * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>.
  459. (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
  460. isalnum.
  461. * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>.
  462. (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
  463. isupper/tolower.
  464. * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>.
  465. (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
  466. * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>.
  467. (ctor_prio): Use ISDIGIT instead of isdigit.
  468. * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>.
  469. (ldfile_open_file_search): Use ISALPHA instead of isalpha.
  470. (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
  471. isupper/tolower.
  472. * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>.
  473. (stricpy): Use TOLOWER instead of isupper/tolower.
  474. (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
  475. * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>.
  476. (lex_warn_invalid): Use ISPRINT instead of isprint.
  477. * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>.
  478. (main): For gettext, also set the LC_CTYPE locate facet.
  479. (add_keepsyms_file): Use ISSPACE instead of isspace.
  480. * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>.
  481. (is_num, parse_args): Use ISDIGIT instead of isdigit.
  482. * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>.
  483. (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
  484. * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>.
  485. (gldppcmacos_read_file): Use ISSPACE instead of isspace.
  486. * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>.
  487. (quoteput): Use ISSPACE instead of isspace.
  488. (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
  489. instead of isalnum.
  490. 2001-09-18 Alan Modra <amodra@bigpond.net.au>
  491. * deffilep.y (def_stash_module): Constify "name" param.
  492. * pe-dll.c: Replace CONST with const throughout.
  493. (quick_symbol): Constify "n1", "n2", "n3" params.
  494. (make_singleton_name_thunk): Constify "import" param. Make
  495. "buffer_len" a size_t.
  496. (make_import_fixup_entry): Constify "name", "fixup_name",
  497. "dll_symname" params.
  498. (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
  499. (pe_get32): Likewise.
  500. (pe_implied_import_dll): Likewise.
  501. * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
  502. (sort_by_section_name): Likewise.
  503. * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
  504. (make_import_fixup): Cast printf arg, rel->address to long rather
  505. than int.
  506. (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
  507. 2001-09-15 Alan Modra <amodra@bigpond.net.au>
  508. * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
  509. defines BufferSize. Increase buffer size by one.
  510. 2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de>
  511. * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
  512. 2001-09-14 Kevin Lo <kevlo@openbsd.org>
  513. * configure.tgt: Add arm-openbsd target.
  514. 2001-09-12 H.J. Lu <hjl@gnu.org>
  515. * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
  516. eelf64lppc.o to ...
  517. (ALL_64_EMULATIONS): Here.
  518. * Makefile.in: Regenerated.
  519. 2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
  520. * emultempl/pe.em(make_import_fixup): change signature to
  521. take asection as well as arelec; we need this for proper
  522. error reporting. Only call pe_create_import_fixup() if
  523. there is no attempt to add a constant addend to the reloc;
  524. otherwise, report error condition.
  525. * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
  526. since final argument is a pointer to make_import_fixup().
  527. Change call to cb() to match make_import_fixup() signature.
  528. (make_import_fixup_mark): make buffer_len unsigned.
  529. * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
  530. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu>
  531. * ld.texinfo: add verbose documentation for auto-import
  532. direct-addressing workaround, to compliment the terse
  533. error message.
  534. 2001-09-12 Andrew MacLeod <amacleod@redhat.com>
  535. * scripttempl/v850.sc: Add gcc_except_table sections.
  536. 2001-09-11 Jeffrey A Law (law@cygnus.com)
  537. * emulparams/h8300helf.sh: Move stack to a much higher memory address.
  538. * emulparams/h8300self.sh: Similarly.
  539. 2001-09-05 Danny Smith <dannysmith@users.souceforge.net>
  540. * ld.texinfo (Options, --stack): Correct default value for stack
  541. reserve.
  542. 2001-09-05 Tom Rix <trix@redhat.com>
  543. * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
  544. 2001-09-03 Andreas Jaeger <aj@suse.de>
  545. * emultempl/beos.em: Declare prototypes for comparions functions,
  546. adjust definitions.
  547. 2001-09-02 Andreas Jaeger <aj@suse.de>
  548. * emultempl/aix.em: Add missing prototype.
  549. * emultempl/lnk960.em: Likewise.
  550. * emultempl/vanilla.em: Likewise.
  551. * emultempl/armcoff.em: Likewise.
  552. * emultempl/armelf_oabi.em: Likewise.
  553. * emultempl/beos.em: Likewise.
  554. * emultempl/gld960c.em: Likewise.
  555. * emultempl/gld960.em: Likewise.
  556. * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
  557. for prototype declaration.
  558. 2001-08-31 Eric Christopher <echristo@redhat.com>
  559. Jason Eckhardt <jle@redhat.com>
  560. * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
  561. 2001-08-31 Andreas Jaeger <aj@suse.de>
  562. * emultempl/pe.em: Add missing prototypes.
  563. (gld_${EMULATION_NAME}_after_open): Remove extra args to
  564. pe_find_data_imports.
  565. (pr_sym): Add unused attribute.
  566. 2001-08-29 Joel Sherrill <joel@OARcorp.com>
  567. * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
  568. default from coff to elf.
  569. 2001-08-29 Jeff Law <law@redhat.com>
  570. * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
  571. ARCH specification.
  572. * emulparams/h8300self.sh: Similarly.
  573. 2001-08-28 J"orn Rennecke <amylaar@redhat.com>
  574. * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
  575. eh8300self.o .
  576. (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
  577. * configure.tgt (h8300-*-elf*): New case.
  578. * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
  579. * emulparams/h8300self.sh: New file.
  580. * Makefile.in: Regenerated.
  581. 2001-08-28 Nick Clifton <nickc@cambridge.redhat.com>
  582. * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
  583. with macro name.
  584. 2001-08-27 Linus Nordberg <linus@swox.com>
  585. Alan Modra <amodra@bigpond.net.au>
  586. * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
  587. (eelf64ppc.c, eelf64lppc.c): Add make targets.
  588. Run "make dep-am"
  589. * Makefile.in: Regenerate.
  590. * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj
  591. entries to correct alphabetical position.
  592. * emulparams/elf64ppc.sh: New.
  593. * emulparams/elf64lppc.sh: New.
  594. 2001-08-27 Nick Clifton <nickc@cambridge.redhat.com>
  595. * ldmain.c (main): Declare BSIZE as static.
  596. 2001-08-23 Jakub Jelinek <jakub@redhat.com>
  597. * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
  598. into .rel.dyn resp. .rela.dyn if combreloc.
  599. (get_script): If .x linker script is equal to .xn, only put it
  600. once into the binary.
  601. Add .xc and .xsc scripts.
  602. (parse_args): Handle -z combreloc and -z nocombreloc.
  603. * scripttempl/elf.sc (.rela.sbss): Fix a typo.
  604. For .xc and .xsc scripts put all .rel* or .rela* input sections
  605. but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
  606. * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
  607. is elf.
  608. Strip trailing whitespace from script.
  609. Generate .xc and .xsc scripts if requested.
  610. * ldmain.c (main): Initialize link_info.combreloc and
  611. link_info.spare_dynamic_tags.
  612. * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
  613. (ld_options): Add --spare-dynamic-tags option.
  614. (parse_args): Likewise.
  615. * ld.texinfo: Document -z combreloc and -z nocombreloc.
  616. * ldint.texinfo: Document .xc and .xsc linker scripts.
  617. * NEWS: Add notes about -z combreloc and SHF_MERGE.
  618. 2001-08-22 H.J. Lu <hjl@gnu.org>
  619. * emulparams/elf32fr30.sh: Add a newline.
  620. 2001-08-21 Andreas Jaeger <aj@suse.de>
  621. * deffilep.y: Add missing prototypes.
  622. * pe-dll.c: Likewise.
  623. 2001-08-20 Alan Modra <amodra@bigpond.net.au>
  624. * ldlang.c (insert_pad): Fix typos in last patch.
  625. * ldlang.c: When traversing lang_statement_union_type lists,
  626. consistently use "header.next" rather than "next".
  627. * mpw-eppcmac.c: Likewise.
  628. * emultempl/beos.em: Likewise.
  629. * emultempl/hppaelf.em: Likewise.
  630. * emultempl/pe.em: Likewise.
  631. * ldlang.h (union lang_statement_union): Remove "next" field.
  632. * ldlang.c (insert_pad): Use offsetof macro.
  633. (lang_size_sections): Always neuter padding statements.
  634. * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
  635. * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
  636. passed to lang_size_sections.
  637. (pe_exe_fill_sections): Likewise.
  638. * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
  639. (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
  640. 2001-08-18 Alan Modra <amodra@bigpond.net.au>
  641. * emultempl/aix.em: Formatting fixes.
  642. 2001-08-18 Alan Modra <amodra@bigpond.net.au>
  643. * ldlang.c (insert_pad): Make use of an existing pad statement if
  644. available. Move code calculating alignment, adjusting section
  645. alignment power, and adjusting dot to ..
  646. (size_input_section): .. here. Remove unused relax param.
  647. (lang_size_sections): Change boolean `relax' param to boolean *.
  648. Adjust call to size_input_section. Make use of insert_pad to
  649. place pad after the assignment statement. If relaxing, zap
  650. padding statements.
  651. (reset_memory_regions): Reset output_bfd section sizes too.
  652. (relax_again): Move to..
  653. (lang_process): ..here. Adjust call to lang_size_sections, and
  654. remove duplicated code.
  655. * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
  656. 2001-08-17 Alan Modra <amodra@bigpond.net.au>
  657. * ld.texinfo: Document that fill values now use the four least
  658. significant bytes.
  659. * emulparams/elf32fr30.sh (NOP): Update.
  660. * emulparams/elf32mcore.sh: Likewise.
  661. * emulparams/elf64_s390.sh: Likewise.
  662. * emulparams/elf_i386.sh: Likewise.
  663. * emulparams/elf_i386_be.sh: Likewise.
  664. * emulparams/elf_i386_chaos.sh: Likewise.
  665. * emulparams/elf_i386_ldso.sh: Likewise.
  666. * emulparams/elf_s390.sh: Likewise.
  667. * emulparams/elf_x86_64.sh: Likewise.
  668. * emulparams/i386moss.sh: Likewise.
  669. * emulparams/i386nw.sh: Likewise.
  670. * emulparams/m68kelf.sh: Likewise.
  671. * scripttempl/elf.sc: Update NOP comment.
  672. * scripttempl/elfi370.sc: Likewise.
  673. * scripttempl/elfm68hc11.sc: Likewise.
  674. * scripttempl/elfm68hc12.sc: Likewise.
  675. * scripttempl/nw.sc: Likewise.
  676. 2001-08-15 Tom Rix <trix@redhat.com>
  677. * ldgram.y (saved_script_handle): Initialize to NULL.
  678. * ldmain.c (main): Change check on saved_script_handle.
  679. 2001-08-14 Alan Modra <amodra@bigpond.net.au>
  680. * emultempl/elf32.em: Formatting fixes.
  681. (output_prev_sec_find): Test for bfd_ind_section too; do so by
  682. looking at sec->owner.
  683. (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
  684. (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove
  685. unused code, and reorganize orphan section placement code.
  686. * ldlang.c (wild_doit): Rename to lang_add_section.
  687. * ldlang.h: Here too.
  688. * mpw-elfmips.c: And here.
  689. * emultempl/beos.em: And here.
  690. * emultempl/elf32.em: And here.
  691. * emultempl/hppaelf.em: And here.
  692. * emultempl/pe.em: And here.
  693. 2001-08-13 Richard Henderson <rth@redhat.com>
  694. * emultempl/needrelax.em: New file.
  695. * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
  696. * Makefile.am (eelf64_ia64.c): Depend on it.
  697. * Makefile.in: Rebuild.
  698. 2001-08-13 Alan Modra <amodra@bigpond.net.au>
  699. * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
  700. output_section is set non-NULL.
  701. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
  702. `true' for SEC_EXCLUDE sections so that the generic code doesn't
  703. needlessly create an output_section_statement. Treat a correctly
  704. named output_section_statement with NULL bfd_section as compatible.
  705. 2001-08-13 Hans-Peter Nilsson <hp@bitrange.com>
  706. * emultempl/generic.em: Support EXTRA_EM_FILE.
  707. (ld_${EMULATION_NAME}_emulation): Support emulation parameters
  708. LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
  709. LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
  710. LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
  711. LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
  712. LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
  713. LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
  714. LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
  715. LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
  716. LDEMUL_FIND_POTENTIAL_LIBRARIES.
  717. 2001-08-12 Richard Henderson <rth@redhat.com>
  718. * scripttempl/elf.sc, scripttempl/elfd30v.sc,
  719. scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
  720. scripttempl/v850.sc: Keep .jcr data.
  721. 2001-08-12 H.J. Lu <hjl@gnu.org>
  722. Andrew Haley <aph@cambridge.redhat.com>
  723. Nick Clifton <nickc@redhat.com>
  724. * ldgram.y (had_script): Change name to saved_script_handle.
  725. Change type to file handle.
  726. * ld.h (had_script): Rename and retype.
  727. * ldfile.c (ldfile_open_command_file): Save the file handle
  728. used in saved_script_handle.
  729. * lexsup.c (parse_args): Do not allow -c option to alter
  730. saved_script_handle.
  731. * ldmain.c (main): Print out the linker script used if
  732. --verbose is given. Check saved_script_handle to obtain the
  733. external linker script used, or if NULL, dump the builtin
  734. script.
  735. * ld.texinfo: Document that --verbose now dumps the linker
  736. script used, regardless of whether it was an internal or an
  737. external script.
  738. 2001-08-10 Andreas Jaeger <aj@suse.de>
  739. * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
  740. to build warnings.
  741. * configure: Regenerate.
  742. 2001-08-09 Alan Modra <amodra@bigpond.net.au>
  743. * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
  744. * scripttempl/elf.sc: Move non-text .dynamic section before
  745. .plt/.got/.sdata* group.
  746. (OTHER_GOT_SECTIONS): Move to immediately after .got.
  747. (OTHER_SDATA_SECTIONS): Add.
  748. * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
  749. OTHER_GOT_SECTIONS.
  750. * emulparams/crislinux.sh: Likewise.
  751. * emulparams/elf32b4300.sh: Likewise.
  752. * emulparams/elf32bmip.sh: Likewise.
  753. * emulparams/elf32bmipn32.sh: Likewise.
  754. * emulparams/elf32bsmip.sh: Likewise.
  755. * emulparams/elf32btsmip.sh: Likewise.
  756. * emulparams/elf32ebmip.sh: Likewise.
  757. * emulparams/elf32elmip.sh: Likewise.
  758. * emulparams/elf32l4300.sh: Likewise.
  759. * emulparams/elf32lmip.sh: Likewise.
  760. * emulparams/elf32lsmip.sh: Likewise.
  761. * emulparams/elf32ltsmip.sh: Likewise.
  762. * emulparams/elf64bmip.sh: Likewise.
  763. * emulparams/elf64btsmip.sh: Likewise.
  764. * emulparams/elf64ltsmip.sh: Likewise.
  765. 2001-08-08 Alan Modra <amodra@bigpond.net.au>
  766. * genscripts.sh: Source the emulparams script before each output
  767. script is generated so that variables like `RELOCATING' may affect
  768. variables defined in the emulparams script.
  769. 2001-08-04 Alan Modra <amodra@bigpond.net.au>
  770. * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
  771. order.
  772. * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
  773. ie. iterate over wild_statement.section_list.
  774. (gld${EMULATION_NAME}_place_orphan): Likewise.
  775. 2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  776. * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
  777. .fini[0-4] sections used by _exit
  778. (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
  779. (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
  780. * scripttempl/elfm68hc11.sc: Likewise.
  781. 2001-08-03 H.J. Lu <hjl@gnu.org>
  782. * emultempl/beos.em (init): Add the missing initialization.
  783. 2001-08-03 Alan Modra <amodra@bigpond.net.au>
  784. * ld.texinfo (Input Section Basics): Clarify ordering of output
  785. sections.
  786. * ldlang.c (callback_t): Add wildcard_list param.
  787. (walk_wild_section): Remove "section" param. Rewrite for
  788. lang_wild_statement_type change. Remove unique_section_p test.
  789. (walk_wild_file): Remove "section" param.
  790. (walk_wild): Remove "section" and "file" params.
  791. (lang_gc_wild): Likewise.
  792. (wild): Likewise. Modify for lang_wild_statement_type change.
  793. (wild_sort): Likewise. Add "sec" param.
  794. (gc_section_callback): Likewise.
  795. (output_section_callback): Likewise. Do unique_section_p test.
  796. (map_input_to_output_sections): Modify call to wild.
  797. (lang_gc_sections_1): Likewise.
  798. (print_wild_statement): Modify for lang_wild_statement_type
  799. change.
  800. (lang_add_wild): Replace filename, filenames_sorted param with
  801. filespec. Replace section_name, sections_sorted,
  802. exclude_filename_list with section_list.
  803. * ldlang.h (lang_add_wild): Here too.
  804. (lang_wild_statement_type): Replace section_name, sections_sorted,
  805. and exclude_filename_list with section_list.
  806. * ldgram.y (current_file): Delete.
  807. (%union): Add wildcard_list.
  808. (file_NAME_list): Set type to wildcard_list. Build a linked list
  809. rather than calling lang_add_wild for each entry.
  810. (input_section_spec_no_keep): Call lang_add_wild here instead.
  811. * ld.h (struct wildcard_list): Declare.
  812. * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
  813. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
  814. * ldmain.c (main): initialize link_info.pei386_auto_import
  815. * pe-dll.c: new tables for auto-export filtering
  816. (auto_export): change API, pass abfd for contextual filtering.
  817. Loop thru tables of excluded symbols instead of comparing
  818. "by hand".
  819. 2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
  820. * pe-dll.c: new variable pe_dll_enable_extra_debug. New
  821. static variable current_sec (static struct sec *). Add
  822. forward declaration for add_bfd_to_link.
  823. (process_def_file): Don't export undefined symbols. Do not
  824. export symbols starting with "_imp__". Call auto_export()
  825. with new API.
  826. (pe_walk_relocs_of_symbol): New function.
  827. (generate_reloc): add optional extra debugging
  828. (pe_dll_generate_def_file): eliminate extraneous initial blank
  829. line in output
  830. (make_one): enlarge symtab to make room for __nm__ symbols
  831. (DATA auto-import support).
  832. (make_singleton_name_thunk): New function.
  833. (make_import_fixup_mark): New function.
  834. (make_import_fixup_entry): New function.
  835. (pe_create_import_fixup): New function.
  836. (add_bfd_to_link): Specify that 'name' argument is a CONST
  837. char *.
  838. * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
  839. declare new functions pe_walk_relocs_of_symbol and
  840. pe_create_import_fixup.
  841. * emultempl/pe.em: add new options --enable-auto-import,
  842. --disable-auto-import, and --enable-extra-pe-debug.
  843. (make_import_fixup): New function.
  844. (pe_find_data_imports): New function.
  845. (pr_sym): New function.
  846. (gld_${EMULATION_NAME}_after_open): Add optional extra pe
  847. debugging. Call pe_find_data_imports. Mark .idata as DATA, not
  848. CODE.
  849. 2001-08-02 Charles Wilson <cwilson@ece.gatech.edu>
  850. * ld.texinfo: add additional documentation for
  851. --export-all-symbols. Document --out-implib,
  852. --enable-auto-image-base, --disable-auto-image-base,
  853. --dll-search-prefix, --enable-auto-import, and
  854. --disable-auto-import.
  855. * ldint.texinfo: Add detailed documentation on auto-import
  856. implementation.
  857. 2001-07-30 Nick Clifton <nickc@cambridge.redhat.com>
  858. * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
  859. example.
  860. 2001-07-24 Alan Modra <amodra@bigpond.net.au>
  861. * Makefile.am: Update dependencies with "make dep-am".
  862. * Makefile.in: Regenerate
  863. 2001-07-23 Alan Modra <amodra@bigpond.net.au>
  864. * ldcref.c (check_section_sym_xref): New function.
  865. (check_nocrossrefs): Call it.
  866. (check_nocrossref): Interate over h->refs here instead of..
  867. (check_refs): ..here. Pass in the symbol name, section, and bfd
  868. rather than hash_entry pointers.
  869. (struct check_refs_info): Keep symbol name rather than hash entry.
  870. Remove "same".
  871. (check_reloc_refs): Tweak for above changes in check_refs_info.
  872. Only report references to section syms when symname is NULL to
  873. prevent duplicate messages for the same reloc.
  874. 2001-07-19 Nick Clifton <nickc@cambridge.redhat.com>
  875. * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
  876. available. Do not print NULL trees.
  877. (exp_print_token): Print unknown tokens with values > 126 as
  878. decimal values not ASCII characters.
  879. * ldlang.c (lang_leave_overlay): If a region is specified assign
  880. it to all sections inside the overlay unless they have been
  881. assigned to the own, non-default, memory region.
  882. * README: Add header for consistency with other README files.
  883. 2001-07-14 H.J. Lu <hjl@gnu.org>
  884. * emultempl/elf32.em (output_prev_sec_find): Never return
  885. bfd_abs_section_ptr, bfd_com_section_ptr nor
  886. bfd_und_section_ptr.
  887. 2001-07-14 Nick Clifton <nickc@cambridge.redhat.com>
  888. * Makefile.am (em32relf.c): Change dependency from generic.em to
  889. elf32.em.
  890. * Makefile.in: Regenerate.
  891. 2001-07-14 matthew green <mrg@eterna.com.au>
  892. * configure.tgt (i386-*-netbsdelf*): New target.
  893. (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
  894. 2001-07-13 Jakub Jelinek <jakub@redhat.com>
  895. * emultempl/elf32.em (output_prev_sec_find): New.
  896. (place_orphan): Use it.
  897. 2001-07-11 H.J. Lu <hjl@gnu.org>
  898. * ldmain.c (main): Fix typos in the last change.
  899. 2001-07-11 Jakub Jelinek <jakub@redhat.com>
  900. * ldmain.c (main): Disallow -F and -f without -shared.
  901. 2001-07-11 Nick Clifton <nickc@cambridge.redhat.com>
  902. * emultempl/pe.em (after_open): Check for the output_bfd not
  903. having any coff_data structure allocated to it.
  904. 2001-07-09 David O'Brien <obrien@FreeBSD.org>
  905. * emultempl/elf32.em: Do not assuming that contents of the buffer
  906. returned from basename function will remain unchanged accross other
  907. function calls.
  908. 2001-07-03 H.J. Lu <hjl@gnu.org>
  909. * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
  910. 2001-07-03. It creates dynamic entries even for static binaries.
  911. 2001-07-03 Jakub Jelinek <jakub@redhat.com>
  912. * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
  913. (DYNAMIC): Use it to reserve few dynamic entries for
  914. post-linking tools.
  915. 2001-06-27 Alan Modra <amodra@bigpond.net.au>
  916. * emulparams/hppa64linux.sh: New file.
  917. * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
  918. * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
  919. (ehppa64linux.c): Add rule to make it.
  920. Run "make dep-am".
  921. * Makefile.in: Regenerate.
  922. 2001-06-21 Hans-Peter Nilsson <hp@axis.com>
  923. * ld.texinfo (Options, -r): Mention restrictions when using
  924. different object formats.
  925. 2001-06-19 Hans-Peter Nilsson <hp@axis.com>
  926. * ldlang.c (lang_check): Emit fatal error if relocatable link
  927. between different object flavours with relocations in input.
  928. 2001-06-19 H.J. Lu <hjl@gnu.org>
  929. * ld.texinfo (-E, --export-dynamic): Mention --version-script.
  930. (--version-script): Mention the language support.
  931. 2001-06-19 H.J. Lu <hjl@gnu.org>
  932. * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
  933. 2001-06-18 H.J. Lu <hjl@gnu.org>
  934. * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
  935. (diststuff): Add $(MANS).
  936. * Makefile.in: Regenerated.
  937. * ld.1: Removed.
  938. 2001-06-18 Hans-Peter Nilsson <hp@axis.com>
  939. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  940. Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
  941. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
  942. * ld.h (args_type): Remove member export_dynamic. All users
  943. changed to use struct bfd_link_info member.
  944. * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
  945. $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
  946. * Makefile.in: Regenerate.
  947. 2001-06-18 H.J. Lu <hjl@gnu.org>
  948. * ldlang.c (init_os): Add the newline to the einfo call.
  949. (lang_check): Likewise.
  950. (lang_do_version_exports_section): Likewise.
  951. 2001-06-15 H.J. Lu <hjl@gnu.org>
  952. * lexsup.c (parse_args); Save optind to report unrecognized
  953. option.
  954. 2001-06-15 Hans-Peter Nilsson <hp@axis.com>
  955. * ldlang.c (lang_check): Emit fatal error if relocatable link
  956. between different object flavours.
  957. * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
  958. Set new link_info member export_dynamic.
  959. * ldmain.c (main): Initialize new link_info member export_dynamic.
  960. 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
  961. * ldlang.c (walk_wild): Only call walk_wild_file if
  962. lookup_name returns something.
  963. (lookup_name): If load_symbols fails, return NULL.
  964. (load_symbols): Change to a boolean function.
  965. (open_input_bfds): If load_symbols fails then do not make the
  966. executable.
  967. 2001-06-08 Alan Modra <amodra@bigpond.net.au>
  968. * ldlang.c (record_bfd_errors): Remove.
  969. * emultempl/aix.em: Fix copyright dates.
  970. 2001-06-07 Andreas Jaeger <aj@suse.de>
  971. * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
  972. (TEXT_START_ADDR): Likewise.
  973. 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
  974. * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
  975. 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  976. * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
  977. 2001-05-31 H.J. Lu <hjl@gnu.org>
  978. * ldlang.c (open_input_bfds): Don't change the bfd error
  979. handler whilst loading symbols.
  980. 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
  981. * configure.tgt: Remove i370-mvs architecture, it is not currently
  982. supported.
  983. 2001-05-25 H.J. Lu <hjl@gnu.org>
  984. * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
  985. like emulparams/aixppc.sh.
  986. 2001-05-25 H.J. Lu <hjl@gnu.org>
  987. * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
  988. setting of output_filename after bfd_scan_arch.
  989. * emultempl/pe.em: Likewise.
  990. 2001-05-25 H.J. Lu <hjl@gnu.org>
  991. * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
  992. like emulparams/aixppc.sh.
  993. * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
  994. instead of ${srcdir}/emultempl/stringify.sed.
  995. 2001-05-25 Timothy Wall <twall@oculustech.com>
  996. * emulparams/elf64_aix.sh: Change settings to match IBM linker
  997. output.
  998. 2001-05-25 Alan Modra <amodra@one.net.au>
  999. * configure.host: Replace linuxoldld with linux*oldld.
  1000. * configure.tgt: Likewise.
  1001. 2001-05-24 H.J. Lu <hjl@gnu.org>
  1002. * emultempl/stringify.sed: Removed again.
  1003. 2001-05-24 H.J. Lu <hjl@gnu.org>
  1004. * emultempl/aix.em (OUTPUT_ARCH): Defined.
  1005. (gld${EMULATION_NAME}_before_parse): Initialize
  1006. ldfile_output_architecture, ldfile_output_machine and
  1007. ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
  1008. * emultempl/beos.em: Likewise.
  1009. * emultempl/elf32.em: Likewise.
  1010. * emultempl/linux.em: Likewise.
  1011. * emultempl/mipsecoff.em: Likewise.
  1012. * emultempl/pe.em: Likewise.
  1013. * emultempl/sunos.em: Likewise.
  1014. 2001-05-24 Tom Rix <trix@redhat.com>
  1015. * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
  1016. udate import file format.
  1017. (change_symbol_mode) New, same
  1018. (is_syscall) New, same
  1019. * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
  1020. * emulparams/aixppc64.sh : same
  1021. * emulparams/aixrs6.sh : same
  1022. * emulparams/ppcmacos.sh : same
  1023. * emultempl/aix.em : use strtoull to parse options
  1024. * Makefile.am : add eaixppc64 emulation for xcoff64
  1025. * Makefile.in : same
  1026. * configure.tgt : same
  1027. * scripttempl/aix.sc : default text section offset to 0x10000000
  1028. default data section offset to 0x20000000
  1029. add .sv3264 and .sv64 pseudo sections
  1030. loader and debug sections use the currect section offset.
  1031. * emultempl/aix.em : Add xcoff64 support
  1032. Add -binitfini support
  1033. (gld${EMULATION_NAME}_before_parse) -binitfini
  1034. (gld${EMULATION_NAME}_parse_args) same
  1035. (gld${EMULATION_NAME}_before_allocation) format change for special
  1036. sections
  1037. * emulparams/aixppc64.sh : New file for xcoff64 support
  1038. 2001-05-23 Alexandre Oliva <aoliva@redhat.com>
  1039. * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
  1040. variable to avoid non-portable shell construct.
  1041. 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1042. * ldmain.c (get_emulation): Add -mips5 command line argument.
  1043. 2001-05-22 Alexandre Oliva <aoliva@redhat.com>
  1044. * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
  1045. (ELF_INTERPRETER_NAME): Define it.
  1046. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
  1047. it.
  1048. * configure.tgt (targ_emul, targ_extra_emuls)
  1049. [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
  1050. as primary, elf_i386 as extra.
  1051. * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
  1052. (eelf_i386_ldso.c): New rule.
  1053. * Makefile.in: Rebuilt.
  1054. 2001-05-22 Nick Clifton <nickc@redhat.com>
  1055. * lexsup.c (ld_options): Allow -I to be an alias for
  1056. --dynamic-linker. This is for Solaris compatability.
  1057. * ld.texinfo: Document that -I can be used.
  1058. * ld.1: Regenerate.
  1059. 2001-05-16 Alan Modra <amodra@one.net.au>
  1060. * ldlang.c (wild_doit): Use linker_has_input to reliably determine
  1061. whether an input section is the first one assigned to an output
  1062. section.
  1063. Assorted formatting fixes.
  1064. 2001-05-14 DJ Delorie <dj@delorie.com>
  1065. * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
  1066. * Makefile.in: Ditto.
  1067. 2001-05-11 Jakub Jelinek <jakub@redhat.com>
  1068. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
  1069. .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
  1070. output sections.
  1071. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
  1072. 2001-05-11 Jakub Jelinek <jakub@redhat.com>
  1073. * ldlang.c (lang_process): Call bfd_merge_sections.
  1074. 2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1075. * ldgram.y: Fix typo.
  1076. 2001-05-03 H.J. Lu <hjl@gnu.org>
  1077. * emultempl/elf32.em: Include "libiberty.h".
  1078. (gld${EMULATION_NAME}_vercheck): Call basename () to get the
  1079. basename of the bfd filename.
  1080. (gld${EMULATION_NAME}_stat_needed): Likewise.
  1081. (gld${EMULATION_NAME}_try_needed): Likewise.
  1082. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
  1083. 2001-05-02 H.J. Lu <hjl@gnu.org>
  1084. * emultempl/pe.em: Include <ctype.h>.
  1085. 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
  1086. * emulparams/elf32openrisc.sh: New file.
  1087. * Makefile.am: Add OpenRISC target.
  1088. * Makefile.in: Regenerated.
  1089. * configure.tgt: Add openrisc-*-* mapping.
  1090. 2001-05-02 Nick Clifton <nickc@redhat.com>
  1091. * emultempl/aix.em: Replace buystring with xstrdup.
  1092. * emultempl/beos.em: Replace buystring with xstrdup.
  1093. 2001-05-02 H.J. Lu <hjl@gnu.org>
  1094. * ldfile.c: Include "libiberty.h".
  1095. * ldlex.l: Likewise.
  1096. * ldmisc.c (buystring): Removed.
  1097. * ldmisc.h: Likewise.
  1098. * ldfile.c: Replace buystring with xstrdup.
  1099. * ldlang.c: Likewise.
  1100. * ldlex.l: Likewise.
  1101. * ldmain.c: Likewise.
  1102. * ldmisc.c: Likewise.
  1103. * lexsup.c: Likewise.
  1104. * mpw-eppcmac.c: Likewise.
  1105. 2001-04-30 Andreas Jaeger <aj@suse.de>
  1106. * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
  1107. 2001-04-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
  1108. * ldlang.c (load_symbols): Give emulation a chance
  1109. to process unrecognized file before fatal error is
  1110. reported, not after.
  1111. 2001-04-27 Sean McNeil <sean@mcneil.com>
  1112. * configure.tgt: Add arm-vxworks target.
  1113. * scripttempl/armcoff.sc: Support .text or .data as a section name
  1114. prefix.
  1115. Define _etext.
  1116. 2001-04-13 J.T. Conklin <jtc@redback.com>
  1117. * ld.texinfo: Document --fatal-warnings.
  1118. * ld.1: Regenerate.
  1119. * ldmisc.c (vfinfo): Set flag to inhibit making executable if
  1120. warnings have been turned into errors.
  1121. * lexsup.c (OPTION_WARN_FATAL): Define.
  1122. (ld_options): Entry for --fatal-warnings.
  1123. (parse_args): Handle OPTION_WARN_FATAL.
  1124. * ld.h (ld_config_type): Add fatal_warnings field.
  1125. 2001-04-13 Jakub Jelinek <jakub@redhat.com>
  1126. * ldmain.c (main): Default to discard_sec_merge.
  1127. * lexsup.c (OPTION_DISCARD_NONE): Define.
  1128. (ld_options): Add --discard-none.
  1129. (parse_args): Handle OPTION_DISCARD_NONE.
  1130. * ldlang.c (wild_doit): SEC_MERGE should be set in the output
  1131. section only if SEC_MERGE and SEC_STRINGS flags and entsize of
  1132. all its input sections match.
  1133. 2001-04-05 Steven J. Hill <sjhill@cotw.com>
  1134. * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
  1135. (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
  1136. (eelf32ltsmip.c): New target.
  1137. (eelf64btsmip.c): Likewise.
  1138. (eelf64ltsmip.c): Likewise.
  1139. * Makefile.in: Regenerated.
  1140. * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
  1141. target.
  1142. (mips*-*-linux-gnu*): Likewise.
  1143. * emulparams/elf32ltsmip.sh: New. Traditional little endian
  1144. MIPS taget.
  1145. * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
  1146. target.
  1147. * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
  1148. endian target.
  1149. 2001-04-05 Hans-Peter Nilsson <hp@axis.com>
  1150. * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
  1151. correct value of __Stext here.
  1152. (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
  1153. .startup section.
  1154. * emulparams/crislinux.sh: Remove FIXME.
  1155. 2001-04-02 Alan Modra <alan@linuxcare.com.au>
  1156. * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
  1157. (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
  1158. 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
  1159. * configure.tgt (cris-*-*): Change default emulation to criself.
  1160. (cris-*-*aout*): New rule.
  1161. 2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com>
  1162. * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
  1163. (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
  1164. 2001-03-26 Andreas Jaeger <aj@suse.de>
  1165. * ld.texinfo (Overview): Fix syntax in texi code.
  1166. 2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1167. * ld.texinfo: Put @c man indications to generate the ld man page.
  1168. When generating man, define all the variables. Define SEEALSO
  1169. and SYNOPSIS. Re-organize some lines to avoid the cross references.
  1170. * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
  1171. (ld.1): Generate from ld.texinfo.
  1172. * Makefile.in: Regenerate.
  1173. 2001-03-23 Mark Elbrecht <snowball3@bigfoot.com>
  1174. * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
  1175. and '-fdata-sections'. Set the VMA of STABS sections to zero.
  1176. 2001-03-17 Ulrich Drepper <drepper@redhat.com>
  1177. * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
  1178. is an absolute path look only for this file and not along the path.
  1179. 2001-03-17 Ulrich Drepper <drepper@redhat.com>
  1180. * emultempl/elf32.em (OPTION_GROUP): New macro.
  1181. Add new option Bgroup to longopts.
  1182. (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
  1183. (gld*_list_options): Add -Bgroup and -z defs.
  1184. * ld.1: Document -Bgroup and -z defs.
  1185. * ld.texinfo: Likewise.
  1186. 2001-03-07 Michael Meissner <meissner@redhat.com>
  1187. * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
  1188. with sections created by -fdata-sections.
  1189. (.dynbss,.bss): Ditto.
  1190. 2001-03-05 Alan Modra <alan@linuxcare.com.au>
  1191. * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
  1192. after_allocation_default, not gld..._before_allocation.
  1193. 2001-02-27 Alan Modra <alan@linuxcare.com.au>
  1194. * configure.in (BFD_VERSION): New.
  1195. (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
  1196. * configure: Regenerate.
  1197. * Makefile.am: Run "make dep-am"
  1198. * Makefile.in: Regenerate.
  1199. 2001-02-26 Timothy Wall <twall@cygnus.com>
  1200. * emulparams/elf64_aix.sh: Add additional read-only sections;
  1201. uncomment lines which are now required.
  1202. 2001-02-26 H.J. Lu <hjl@gnu.org>
  1203. * ldlang.c (open_input_bfds): Set the bfd error handler so
  1204. that problems can be caught whilst loading symbols.
  1205. (record_bfd_errors): New function: Report BFD errors and mark
  1206. the executable output as being invalid.
  1207. 2001-02-22 Timothy Wall <twall@cygnus.com>
  1208. * configure.host: Add configuration for ia64-*-aix*.
  1209. * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
  1210. Add dependencies for eelf64_aix.c.
  1211. * Makefile.in: Regenerate.
  1212. * configure.tgt: Add ia64-*-aix* mapping.
  1213. * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
  1214. 2001-02-20 H.J. Lu <hjl@gnu.org>
  1215. * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
  1216. false if we found the file.
  1217. 2001-02-18 David O'Brien <obrien@FreeBSD.org>
  1218. * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
  1219. FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
  1220. 2001-02-18 lars brinkhoff <lars@nocrew.org>
  1221. * Makefile.am: Add PDP-11 target.
  1222. * configure.tgt: Likewise.
  1223. * emulparams/pdp11.sh: New file.
  1224. 2001-02-17 David O'Brien <obrien@FreeBSD.org>
  1225. * configure.host: Add a generic FreeBSD configuration entry such that
  1226. all [modern] FreeBSD systems on all platforms will look the same.
  1227. 2001-02-14 H.J. Lu <hjl@gnu.org>
  1228. * configure.tgt: Remove mention of earmelf_linux26.
  1229. 2001-02-13 Richard Henderson <rth@redhat.com>
  1230. * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
  1231. 2001-02-13 H.J. Lu <hjl@gnu.org>
  1232. * ldexp.h (node_type): Add etree_provided.
  1233. * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
  1234. type to etree_provided if defined by PROVIDE. Allow updating
  1235. for etree_provided.
  1236. (exp_print_tree): Handle etree_provided.
  1237. * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
  1238. etree_provided.
  1239. 2001-02-09 David Mosberger <davidm@hpl.hp.com>
  1240. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
  1241. .IA_64.unwind.* pattern to unwind table section and
  1242. .IA_64.unwind_info* pattern to unwind info section.
  1243. 2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1244. * Makefile.am: Add linux target for S/390.
  1245. * Makefile.in: Likewise.
  1246. * configure.host: Likewise.
  1247. * configure.tgt: Likewise.
  1248. * emulparams/elf64_s390.sh: New file.
  1249. * emulparams/elf_s390.sh: New file.
  1250. 2001-02-09 Jakub Jelinek <jakub@redhat.com>
  1251. * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
  1252. targ_extra_libpath.
  1253. (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
  1254. 2001-02-06 Philip Blundell <philb@gnu.org>
  1255. * Makefile.am: Remove mention of earmelf_linux26.
  1256. * Makefile.in: Regenerate.
  1257. 2001-02-04 Philip Blundell <philb@gnu.org>
  1258. * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
  1259. * emulparams/armelf_linux26.sh: Delete.
  1260. * configure.tgt: Remove mention of armelf_linux26 emulation.
  1261. 2001-02-01 Nick Clifton <nickc@redhat.com>
  1262. * ld.1: Replace occurances of -oformat with --oformat.
  1263. 2001-01-25 Jim Driftmyer <jdrift@stny.rr.com>
  1264. * ldlang.c (lang_leave_overlay): Don't set lma_region when
  1265. load_base is specified.
  1266. 2001-01-24 Hans-Peter Nilsson <hp@axis.com>
  1267. * emultempl/elf32.em: Correct spelling in comments and listed
  1268. options.
  1269. 2001-01-23 Alan Modra <alan@linuxcare.com.au>
  1270. * ldlang.c (lang_leave_overlay): Only set lma_region from the
  1271. default for the first section of a group of overlay sections.
  1272. 2001-01-22 Alan Modra <alan@linuxcare.com.au>
  1273. * Makefile.am (GENSCRIPTS): Pass exec_prefix.
  1274. * Makefile.in: Regenerate.
  1275. * genscripts.sh: Use exec_prefix parameter to specify tool lib.
  1276. Check for null tool_dir.
  1277. 2001-01-16 Jim Wilson <wilson@redhat.com>
  1278. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
  1279. and IA_64.unwind.info.
  1280. 2001-01-16 H.J. Lu <hjl@gnu.org>
  1281. * ldlang.c (lang_check): Merge the private data only if the
  1282. input file has contents.
  1283. 2001-01-14 Alan Modra <alan@linuxcare.com.au>
  1284. * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
  1285. * emultempl/hppaelf.em (hppaelf_after_parse): New function,
  1286. enabling search for libmilli. On a relocatable link, make .text
  1287. sections unique.
  1288. (LDEMUL_AFTER_PARSE): Define.
  1289. (hppaelf_finish): Correct spelling of relocatable in comments.
  1290. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  1291. rummage through the script for sections on the unique list.
  1292. Correct length of strncmp for ".note".
  1293. (gld${EMULATION_NAME}_check_needed): Rearrange function.
  1294. * ldlang.c (unique_section_list): New var.
  1295. (unique_section_p): New function.
  1296. (walk_wild_section): Don't match sections on unique_section_list.
  1297. (lang_add_unique): New function.
  1298. Correct spelling of relocatable in comments.
  1299. * ldlang.h (struct unique_sections): Declare.
  1300. (unique_section_list): Declare.
  1301. (unique_section_p): Declare.
  1302. (lang_add_unique): Declare.
  1303. * lexsup.c (ld_options): Allow --unique to take an optional arg.
  1304. (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
  1305. * ld.texinfo (--unique): Update.
  1306. 2001-01-13 Nick Clifton <nickc@redhat.com>
  1307. * lexsup.c (parse_args): Remove spurious white space.
  1308. 2001-01-12 Nick Clifton <nickc@redhat.com>
  1309. * lexsup.c (parse_args): Update copyright date.
  1310. 2001-01-12 Philip Blundell <pb@futuretv.com>
  1311. * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
  1312. 2001-01-10 Kazu Hirata <kazu@hxi.com>
  1313. * scripttempl/h8300.sc: Fix formatting. Fix a comment typo.
  1314. * scripttempl/h8300h.sc: Fix formatting.
  1315. * scripttempl/h8300s.sc: Likewise.
  1316. * scripttempl/h8500.sc: Likewise.
  1317. * scripttempl/h8500b.sc: Likewise.
  1318. * scripttempl/h8500c.sc: Likewise.
  1319. * scripttempl/h8500m.sc: Likewise.
  1320. * scripttempl/h8500s.sc: Likewise.
  1321. 2000-01-07 David O'Brien <obrien@BSDi.com>
  1322. * emultempl/elf32.em: Only perform Linux ld hints processing when
  1323. targeting Linux.
  1324. 2001-01-07 Philip Blundell <philb@gnu.org>
  1325. * ld.texinfo (Bug Reporting): Update email address for reports.
  1326. 2000-12-31 Nick Clifton <nickc@redhat.com>
  1327. * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
  1328. options by checking for a return value of '?' not -1.
  1329. 2000-12-28 Nick Clifton <nickc@redhat.com>
  1330. * lexsup.c (struct ld_option): Add new enum value:
  1331. EXACTLY_TWO_DASHES.
  1332. (ld_options[]): Change -omagic, -output and -oformat options
  1333. to be EXACTLY_TWO_DASHES.
  1334. (OUTPUT_COUNT): Use ARRAY_SIZE.
  1335. (parse_args): Change parameter 'argc' to unsigned.
  1336. Place EXACTLY_TWO_DASHES options into new really_longopts
  1337. array.
  1338. If getopt_long_only fails, try calling getopt_long using the
  1339. really_longopts array.
  1340. (help): Print a double dash for both EXACTLY_TWO_DASHES and
  1341. TWO_DASHES options.
  1342. * ldlex.h: Fix prototype of parse_args.
  1343. * ld.texinfo: Document that long options starting with 'o'
  1344. must be preceeded by two dashes. Change example of a single
  1345. dashed long option from -oformat to -trace-symbol.
  1346. 2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  1347. * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
  1348. (longopts[]): New --no-default-excludes option.
  1349. (gld_${EMULATION_NAME}_list_options): Document.
  1350. (gld_${EMULATION_NAME}_parse_args): Handle.
  1351. 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  1352. * ldlang.c (new_stat): Revert the last beautification with "innocent"
  1353. whitespace, it breaks the K&R C preprocessor.
  1354. 2000-12-11 DJ Delorie <dj@redhat.com>
  1355. * ld.texinfo: Add notes about --whole-archive and gcc.
  1356. 2000-11-18 Fred Fish <fnf@be.com>
  1357. * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
  1358. (ld_options): Entry for --allow-shlib-undefined.
  1359. (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
  1360. * ldmain.c (main): Initialize link_info.allow_shlib_undefined
  1361. to false.
  1362. * ld.texinfo: Document new command line switch.
  1363. 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
  1364. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
  1365. .fixup is actually read/write.
  1366. * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
  1367. * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
  1368. * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
  1369. 2000-12-11 Jan Hubicka <jh@suse.cz>
  1370. * NEWS: Add note about x86_64 architecture.
  1371. 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
  1372. * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
  1373. Set DWARF2 sections to a VMA of zero.
  1374. 2000-12-01 Joel Sherrill <joel@OARcorp.com>
  1375. * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
  1376. New targets.
  1377. (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
  1378. (sparc*-*-rtems*): Switched from a.out to ELF.
  1379. 2000-11-30 Jan Hubicka <jh@suse.cz>
  1380. * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
  1381. (eelf_x86_64.c): New.
  1382. * Makefile.in: Regenerate.
  1383. * configure.tgt: Add support for x86_64-*-linux-gnu*.
  1384. * emulparams/elf_x86_64.sh: New.
  1385. 2000-11-30 Hans-Peter Nilsson <hp@axis.com>
  1386. * emulparams/crislinux.sh (ENTRY): Change back to _start.
  1387. (TEXT_START_SYMBOLS): Remove conditional setting of __start.
  1388. * scripttempl/crisaout.sc: Change all RELOCATING not related to
  1389. merging non-a.out sections into CONSTRUCTING.
  1390. 2000-11-28 Nick Clifton <nickc@redhat.com>
  1391. * ld.1 (COPYING): Mention that the GNU Free Documentation
  1392. License is present in the sources, but not the output, and
  1393. also available from the GNU website.
  1394. (GNU Free Documentation License): Comment out this section.
  1395. 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
  1396. * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
  1397. does not use them.
  1398. 2000-11-25 David O'Brien <obrien@FreeBSD.org>
  1399. * ld.1: Remove old date so it does not give the impression the manpage
  1400. is way out of date.
  1401. 2000-11-24 Nick Clifton <nickc@redhat.com>
  1402. * configure.tgt (xscale-coff): Add target.
  1403. (xscale-elf): Add target.
  1404. 2000-11-24 Fred Fish <fnf@be.com>
  1405. * ldmain.c (main): Remove redundant init of config.make_executable
  1406. to true.
  1407. 2000-11-15 Richard Henderson <rth@redhat.com>
  1408. * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
  1409. 2000-11-14 Kazu Hirata <kazu@hxi.com>
  1410. * scripttempl/h8300.sc: Fix formatting.
  1411. * scripttempl/h8300h.sc: Likewise.
  1412. * scripttempl/h8300s.sc: Likewise.
  1413. 2000-11-14 Denis Chertykov <denisc@overta.ru>
  1414. * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
  1415. 2000-11-09 Philip Blundell <pb@futuretv.com>
  1416. * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
  1417. around orphan sections whose names can be represented in C.
  1418. 2000-11-07 Jim Wilson <wilson@redhat.com>
  1419. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
  1420. hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata.
  1421. 2000-11-06 Nick Clifton <nickc@redhat.com>
  1422. * ld.texinfo: Add GNU Free Documentation License.
  1423. * ldint.texinfo: Add GNU Free Documentation License.
  1424. * ld.1: Add GNU Free Documentation License.
  1425. 2000-11-05 Alan Modra <alan@linuxcare.com.au>
  1426. * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
  1427. yy_is_interactive, yy_at_bol, and yy_fill_buffer.
  1428. * Makefile.am (DISTCLEANFILES): Add stringify.sed.
  1429. Move 2000-11-02 Makefile.in changes to this file.
  1430. * Makefile.in: Regenerate.
  1431. 2000-11-03 Nick Clifton <nickc@redhat.com>
  1432. * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
  1433. constructors and destructors.
  1434. * scripttempl/h8300h.sc: Ditto.
  1435. * scripttempl/h8300s.sc: Ditto.
  1436. * scripttempl/h8500.sc: Ditto.
  1437. * scripttempl/h8500b.sc: Ditto.
  1438. * scripttempl/h8500c.sc: Ditto.
  1439. * scripttempl/h8500m.sc: Ditto.
  1440. * scripttempl/h8500s.sc: Ditto.
  1441. * scripttempl/v850.sc: Ditto.
  1442. * scripttempl/w65.sc: Ditto.
  1443. * scripttempl/z8000.sc: Ditto.
  1444. 2000-11-02 Per Lundberg <plundis@chaosdev.org>
  1445. * Makefile.in (e_i386_chaos.c): New rule.
  1446. (ALL_EMULATIONS): Added e_i386_chaos.o.
  1447. * emulparams/elf_i386_chaos.sh: New file.
  1448. * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
  1449. 2000-10-20 Jakub Jelinek <jakub@redhat.com>
  1450. * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
  1451. NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
  1452. Fix sed invocation, so that it coped with '/' in Solaris 64bit
  1453. library path suffix.
  1454. Based on patch by Andrew Macleod <amacleod@cygnus.com>.
  1455. 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
  1456. * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
  1457. for consecutive sections.
  1458. 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
  1459. * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
  1460. options.
  1461. * ld.texinfo: Added notes about this new option.
  1462. 2000-10-16 Nick Clifton <nickc@redhat.com>
  1463. * emultempl/pe.em (_after_open): Add tests of return values from
  1464. bfd functions. Emit appropriate error messages if necessary.
  1465. 2000-10-13 Nick Clifton <nickc@redhat.com>
  1466. * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
  1467. local variables - they are not used, but leave in the call to
  1468. bfd_canonicalize_symtab.
  1469. (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
  1470. pe_dll_search_prefix.
  1471. 2000-10-12 Charles Wilson <cwilson@ece.gatech.edu>
  1472. * emultempl/pe.em (pe_dll_search_prefix): New variable,
  1473. (longopts): New --dll-search-prefix option.
  1474. (gld_${EMULATION_NAME}_list_options): Document.
  1475. (gld_${EMULATION_NAME}_parse_args): Handle.
  1476. (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
  1477. dynamically, search for a dll named '<prefix><basename>.dll'
  1478. in preference to 'lib<basename>.dll' if --dll-search-prefix
  1479. is specified.
  1480. 2000-10-12 Alan Modra <alan@linuxcare.com.au>
  1481. * ldlang.c (section_already_linked): Set kept_section instead of
  1482. sec->comdat->sec.
  1483. 2000-10-10 Kazu Hirata <kazu@hxi.com>
  1484. * deffile.h: Fix formatting.
  1485. * lexsup.c: Likewise.
  1486. * mri.c: Likewise.
  1487. 2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
  1488. * pe-dll.c (make_one): Do not generate code thunk for DATA
  1489. exports.
  1490. (process_def_file): deduce DATA flag for auto-export sumbols.
  1491. 2000-10-09 Kazu Hirata <kazu@hxi.com>
  1492. * ld.h: Fix formatting.
  1493. * ldcref.c: Likewise.
  1494. * ldctor.h: Likewise.
  1495. * ldemul.c: Likewise.
  1496. * ldemul.h: Likewise.
  1497. * ldexp.c: Likewise.
  1498. * ldexp.h: Likewise.
  1499. * ldfile.c: Likewise.
  1500. * ldfile.h: Likewise.
  1501. * ldlang.c: Likewise.
  1502. * ldlang.h: Likewise.
  1503. * ldmain.c: Likewise.
  1504. * pe-dll.c: Likewise.
  1505. * pe-dll.c: Revert some formatting fixes.
  1506. 2000-10-08 Kazu Hirata <kazu@hxi.com>
  1507. * pe-dll.c: Fix formatting.
  1508. 2000-10-05 Kazu Hirata <kazu@hxi.com>
  1509. * ldlang.c: Fix formatting.
  1510. 2000-10-03 DJ Delorie <dj@redhat.com>
  1511. * pe-dll.c (fill_edata): initialize entire block
  1512. (make_one): fill in correct section.
  1513. 2000-10-03 Kazu Hirata <kazu@hxi.com>
  1514. * ldexp.c: Fix formatting.
  1515. 2000-10-02 DJ Delorie <dj@redhat.com>
  1516. * emultempl/pe.em (gld_*_after_open): detect case where there two
  1517. import libraries for same dll; rename one to ensure proper link
  1518. order.
  1519. * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
  1520. typo
  1521. (generate_edata): fix typo
  1522. 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
  1523. * scripttempl/crisaout.sc (ENTRY): Now __start.
  1524. (.text): Add default setting for __start.
  1525. Remove CONSTRUCTORS handling.
  1526. (/DISCARD/): Add .gnu.warning.*.
  1527. * emulparams/crislinux.sh (ENTRY): Now __start.
  1528. (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
  1529. * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
  1530. (ENTRY): Now __start.
  1531. (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
  1532. (EXECUTABLE_SYMBOLS): Add default setting for __start.
  1533. 2000-09-29 Kazu Hirata <kazu@hxi.com>
  1534. * deffile.h: Fix formatting.
  1535. * ld.h: Likewise.
  1536. * ldcref.c: Likewise.
  1537. * ldctor.c: Likewise.
  1538. * ldctor.h: Likewise.
  1539. * ldemul.c: Likewise.
  1540. * ldemul.h: Likewise.
  1541. * ldexp.c: Likewise.
  1542. * ldexp.h: Likewise.
  1543. * ldfile.c: Likewise.
  1544. * ldfile.h: Likewise.
  1545. * ldlang.c: Likewise.
  1546. * ldlang.h: Likewise.
  1547. * lexsup.c: Likewise.
  1548. * mri.c: Likewise.
  1549. * pe-dll.c: Likewise.
  1550. 2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
  1551. * pe-dll.c (process_def_file): Uninitialized data wasn't
  1552. exported with --export-all-symbols switch.
  1553. 2000-09-28 DJ Delorie <dj@redhat.com>
  1554. * pe-dll.c (fill_edata): rearrange the data so that ordinals and
  1555. noname work properly.
  1556. 2000-09-28 Alan Modra <alan@linuxcare.com.au>
  1557. * ld.texinfo (HPPA ELF32): New section.
  1558. * emultempl/hppaelf.em (group_size): New.
  1559. (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
  1560. (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
  1561. (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate
  1562. options to prevent abbreviations matching.
  1563. (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat.
  1564. (PARSE_AND_LIST_ARGS_CASES): Handle it.
  1565. 2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  1566. * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
  1567. on the m68*-*-elf target. Make it support COFF input objects.
  1568. 2000-09-21 Kazu Hirata <kazu@hxi.com>
  1569. * ldmain.c: Fix formatting.
  1570. * ldmisc.c: Likewise.
  1571. * ldver.c: Likewise.
  1572. * ldwrite.c: Likewise.
  1573. 2000-09-21 Alan Modra <alan@linuxcare.com.au>
  1574. * ldwrite.c (clone_section): Silence gcc warnings.
  1575. 2000-09-20 Alan Modra <alan@linuxcare.com.au>
  1576. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
  1577. out of memory failure.
  1578. * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
  1579. (clone_section): Handle out of memory failures. Rename var to
  1580. avoid c++ reserved word.
  1581. 2000-09-18 Alan Modra <alan@linuxcare.com.au>
  1582. * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
  1583. stub_name param to stub_sec_name.
  1584. (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
  1585. 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  1586. * emultempl/m68kelf.em: New file.
  1587. * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
  1588. * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
  1589. * Makefile.in: Regenerate.
  1590. 2000-09-15 Alan Modra <alan@linuxcare.com.au>
  1591. * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
  1592. only as needed.
  1593. 2000-09-13 Nick Clifton <nickc@redhat.com>
  1594. * ldmain.c (multiple_definition): Disable relaxation if
  1595. multiple symbol definitions are encountered - otherwise the
  1596. linker could abort with an assertion failure.
  1597. 2000-09-10 Nick Clifton <nickc@redhat.com>
  1598. * mri.c: Fix formatting.
  1599. 2000-09-07 H.J. Lu <hjl@gnu.org>
  1600. * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
  1601. * configure: Rebuild.
  1602. 2000-09-07 H.J. Lu <hjl@gnu.org>
  1603. * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
  1604. * Makefile.in: Rebuild.
  1605. 2000-09-07 Alan Modra <alan@linuxcare.com.au>
  1606. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
  1607. broken list handling. Create __start_SECNAME and __stop_SECNAME
  1608. when no place-holder. Add some comments. Test both SEC_CODE and
  1609. SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
  1610. Handle case where no output section statement created.
  1611. 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
  1612. * configure.tgt (sh-*-linux*): Added.
  1613. * Makefile.am: Added eshelf_linux and eshlelf_linux.
  1614. * Makefile.in: Rebuilt.
  1615. * emulparams/shelf_linux.sh: New file.
  1616. * emulparams/shlelf_linux.sh: New file.
  1617. 2000-09-06 Alan Modra <alan@linuxcare.com.au>
  1618. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  1619. try shuffling sections when the orphan happens to be the place
  1620. holder. Keep count of unique section names generated so we speed
  1621. the search for a new name.
  1622. 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
  1623. * configure: Rebuilt with new libtool.m4.
  1624. 2000-09-05 Nick Clifton <nickc@redhat.com>
  1625. * Makefile.in: Regenerate.
  1626. * aclocal.m4: Regenerate.
  1627. * configure: Regenerate.
  1628. * config.in: Regenerate.
  1629. * po/ld.pot: Regenerate.
  1630. * ldint.texinfo: Remove CVS revision marker - it foils local
  1631. comparisons.
  1632. * emultempl/ticoff.em: Remove extraneous comma.
  1633. 2000-09-05 Alan Modra <alan@linuxcare.com.au>
  1634. * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
  1635. to stub section flags.
  1636. (hppa_for_each_input_file_wrapper): New.
  1637. (hppa_lang_for_each_input_file): New.
  1638. (lang_for_each_input_file): Define to call above.
  1639. (multi_subspace): New.
  1640. (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
  1641. (PARSE_AND_LIST_PROLOGUE): Define.
  1642. (PARSE_AND_LIST_LONGOPTS): Define.
  1643. (PARSE_AND_LIST_OPTIONS): Define.
  1644. (PARSE_AND_LIST_ARGS_CASES): Define.
  1645. (hppaelf_finish): Call elf32_hppa_set_gp.
  1646. (hppaelf_set_output_arch): Remove.
  1647. (LDEMUL_SET_OUTPUT_ARCH): Remove.
  1648. * emulparams/hppalinux.sh (ELFSIZE): Define.
  1649. (MACHINE): Define.
  1650. (OTHER_READONLY_SECTIONS): Define.
  1651. (DATA_PLT): Define.
  1652. (GENERATE_SHLIB_SCRIPT): Define.
  1653. * ldlang.c: Add missing prototypes, and tidy others. Change CONST
  1654. to const throughout. Change `void *' to `PTR' throughout.
  1655. (lang_memory_default): Function is local to file, add `static'.
  1656. * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
  1657. (ehppalinux.c): Likewise.
  1658. (earmelf.c): Likewise.
  1659. (earmelf_linux.c): Likewise.
  1660. (earmelf_linux26.c): Likewise.
  1661. * Makefile.in: Regenerate.
  1662. * ld.h (ld_config_type): Add unique_orphan_sections.
  1663. * lexsup.c (OPTION_UNIQUE): Define.
  1664. (ld_options): Add "--unique".
  1665. (parse_args): Handle it.
  1666. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  1667. search for an existing output section if unique_orphan_sections is
  1668. set. Make use of bfd_get_unique_section_name rather than
  1669. duplicating code here.
  1670. * ld.texinfo: Describe --unique.
  1671. * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
  1672. optional arg to split-by-file.
  1673. (parse_args): Handle them.
  1674. * ld.texinfo: Update description of these options.
  1675. * ldwrite.c (clone_section): Pass in the section name. Replace
  1676. local code with bfd_get_unique_section_name.
  1677. (split_sections): Tidy code and comments. Use a list traversal
  1678. more appropriate to the list construction. Handle cooked section
  1679. sizes. Split when split_by_reloc reached rather than exceeded.
  1680. Track section size and split when split_by_file reached. Fix
  1681. link_order_tail (even though it's not used).
  1682. (ldwrite): Modify condition for calling split_sections to suit
  1683. changed split_by_reloc and split_by_file.
  1684. * ldmain.c (main): Init config.split_by_reloc and
  1685. config.split_by_file to -1.
  1686. * ld.h (ld_config_type): Change split_by_reloc to unsigned.
  1687. Change split_by_file to bfd_size_type.
  1688. 2000-09-02 Nick Clifton <nickc@redhat.com>
  1689. * configure.in: Increase version number to 2.10.91.
  1690. * NEWS: Mention new ability to support removal of duplicate DWARF2
  1691. debug information.
  1692. * configure: Regenerate.
  1693. * aclocal.m4: Regenerate.
  1694. * config.in: Regenerate.
  1695. 2000-09-02 Daniel Berlin <dberlin@redhat.com>
  1696. * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
  1697. sections.
  1698. * scripttempl/elf32avr.sc: Ditto.
  1699. * scripttempl/elfd10v.sc: Ditto.
  1700. * scripttempl/elfd30v.sc: Ditto.
  1701. * scripttempl/elfi370.sc: Ditto.
  1702. * scripttempl/elfm68hc11.sc: Ditto.
  1703. * scripttempl/elfm68hc12.sc: Ditto.
  1704. * scripttempl/elfi386beos.sc: Ditto.
  1705. * scripttempl/v850.sc: Ditto.
  1706. 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
  1707. * acinclude.m4: Include libtool and gettext macros from the
  1708. top level.
  1709. * aclocal.m4, configure: Rebuilt.
  1710. 2000-08-25 Nick Clifton <nickc@redhat.com>
  1711. * ldlang.c (open_output): When choosing the target for a
  1712. particular endianness, do nothing if the target is not
  1713. supported.
  1714. 2000-08-25 H.J. Lu <hjl@gnu.org>
  1715. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
  1716. check -rpath nor LD_RUN_PATH for cross link.
  1717. * ld.texinfo: Document the change.
  1718. 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
  1719. * NEWS: Mention support for CRIS.
  1720. 2000-08-23 H.J. Lu <hjl@gnu.org>
  1721. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
  1722. the current runpath list from bfd_elf_get_runpath_list ()
  1723. before search.
  1724. 2000-08-22 H.J. Lu <hjl@gnu.org>
  1725. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
  1726. the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
  1727. LD_LIBRARY_PATH for native linker. Display the needed DSO if
  1728. trace_file_tries is non-zero.
  1729. (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
  1730. if trace_file_tries is non-zero.
  1731. * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
  1732. * NEWS: Mention it.
  1733. 2000-08-14 Jason Eckhardt <jle@cygnus.com>
  1734. * NEWS: Mention i860 support.
  1735. 2000-08-14 Andreas Schwab <schwab@suse.de>
  1736. * scripttempl/elf.sc: Fix last change to use correct comment
  1737. syntax.
  1738. 2000-08-10 Geoff Keating <geoffk@cygnus.com>
  1739. * scripttempl/elf.sc: Add a comment giving the correspondence
  1740. between sections, per-datum sections, and linkonce sections. Make
  1741. the comment true even for .bss, .sdata, .sdata2, .sbss, and
  1742. .sbss2.
  1743. 2000-08-10 Jason Eckhardt <jle@cygnus.com>
  1744. * emulparams/elf32_i860.sh: New file.
  1745. * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
  1746. * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
  1747. (eelf32_i860.c): New rule.
  1748. * Makefile.in: Regenerate.
  1749. 2000-08-10 Nick Clifton <nickc@cygnus.com>
  1750. * emulparams/mipspe.sh (ENTRY): Add definition.
  1751. 2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au>
  1752. * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
  1753. in error message.
  1754. 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1755. * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
  1756. the final size of .bss section.
  1757. * scripttempl/elfm68hc12.sc: Likewise.
  1758. 2000-08-04 Alan Modra <alan@linuxcare.com.au>
  1759. * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
  1760. gld${EMULATION_NAME}_parse_args for consistency. Combine
  1761. lastoptind and prevoptind vars, and keep track of last optind.
  1762. (gld_${EMULATION_NAME}_list_options): Rename to
  1763. gld${EMULATION_NAME}_list_options.
  1764. 2000-08-03 Rodney Brown <RodneyBrown@pmsc.com>
  1765. * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
  1766. (i586-sco-sysv5uw7.1.0).
  1767. 2000-07-27 H.J. Lu <hjl@gnu.org>
  1768. * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
  1769. (PARSE_AND_LIST_PROLOGUE): New.
  1770. (PARSE_AND_LIST_LONGOPTS): Likewise.
  1771. (PARSE_AND_LIST_OPTIONS): Likewise.
  1772. (PARSE_AND_LIST_ARGS_CASES): Likewise.
  1773. (PARSE_AND_LIST_EPILOGUE): Likewise.
  1774. 2000-07-28 Alan Modra <alan@linuxcare.com.au>
  1775. * emultempl/armelf.em: Elide functions common to elf32.em,
  1776. ie. most of the file.
  1777. (arm_elf_after_open): New. Do arm specific things then call
  1778. gld${EMULATION_NAME}_after_open.
  1779. (arm_elf_before_allocation): New. Call
  1780. gld${EMULATION_NAME}_before_allocation then do arm specifics.
  1781. (PARSE_AND_LIST_PROLOGUE): Define.
  1782. (PARSE_AND_LIST_SHORTOPTS): Define.
  1783. (PARSE_AND_LIST_LONGOPTS): Define.
  1784. (PARSE_AND_LIST_OPTIONS): Define.
  1785. (PARSE_AND_LIST_ARGS_CASES): Define.
  1786. (LDEMUL_AFTER_OPEN): Define.
  1787. (LDEMUL_BEFORE_ALLOCATION): Define.
  1788. (LDEMUL_BEFORE_PARSE): Define.
  1789. (LDEMUL_FINISH): Define.
  1790. * emultempl/hppaelf.em: Similarly zap most of this file.
  1791. (hppaelf_add_stub_section): Prototype.
  1792. (hppaelf_layaout_sections_again): Prototype.
  1793. (hook_in_stub): Prototype.
  1794. (LDEMUL_SET_OUTPUT_ARCH): Define.
  1795. (LDEMUL_FINISH): Define.
  1796. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
  1797. * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
  1798. (EXTRA_EM_FILE): New.
  1799. * emulparams/armelf_linux.sh: Likewise.
  1800. * emulparams/armelf_linux26.sh: Likewise.
  1801. * emulparams/hppalinux.sh: Likewise.
  1802. * emulparams/hppaelf.sh: Likewise.
  1803. (NOP): Define.
  1804. * emultempl/elf32.em: Fix formatting.
  1805. (EXTRA_EM_FILE): Source it.
  1806. (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
  1807. LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
  1808. LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
  1809. LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
  1810. LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
  1811. LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
  1812. LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
  1813. LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
  1814. LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to
  1815. allow functions in this file to be overridden.
  1816. (PARSE_AND_LIST_SHORTOPTS): Handle it.
  1817. * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
  1818. * emultempl/elf32.em: Reorganize file.
  1819. 2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru>
  1820. * emulparams/elf64alpha.sh: Implement "-taso" emulation
  1821. specific option to fit 64-bit executable in the lower
  1822. 31-bit address range. This is done by changing start
  1823. address of .interp (the very first section of executable)
  1824. and then setting EF_ALPHA_32BIT elf header flag.
  1825. 2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  1826. * emultempl/m68kcoff.em: New file.
  1827. * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
  1828. * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
  1829. generic.em.
  1830. * Makefile.in: Regenerate.
  1831. 2000-07-20 H.J. Lu <hjl@gnu.org>
  1832. * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
  1833. and "disable-new-dtags" to stop getopt from treating -d/-e as
  1834. abbreviations for these options.
  1835. 2000-07-20 H.J. Lu <hjl@gnu.org>
  1836. * ld.texinfo: Add documentation for --disable-new-dtags and
  1837. --enable-new-dtags.
  1838. * ldmain.c (main): Initialize link_info.new_dtags to false.
  1839. * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
  1840. --disable-new-dtags and --enable-new-dtags.
  1841. (gld_${EMULATION_NAME}_list_options): Likewise.
  1842. 2000-07-05 Kenneth Block <krblock@computer.org>
  1843. * lexsup.c: Add optional style to demangle switch
  1844. * ld.texinfo: Document optional style to demangle switch.
  1845. 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
  1846. * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
  1847. ecrislinux.o.
  1848. (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
  1849. Regenerate dependencies.
  1850. * Makefile.in: Rebuild.
  1851. * configure.tgt (cris-*-*): New target.
  1852. * emulparams/crisaout.sh, emulparams/criself.sh,
  1853. emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
  1854. * po/POTFILES.in, po/ld.pot: Regenerate.
  1855. 2000-07-20 H.J. Lu <hjl@gnu.org>
  1856. * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
  1857. Print out ignored -z options.
  1858. 2000-07-19 H.J. Lu <hjl@gnu.org>
  1859. * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
  1860. (PARSE_AND_LIST_PROLOGUE): New.
  1861. (PARSE_AND_LIST_LONGOPTS): Likewise.
  1862. (PARSE_AND_LIST_OPTIONS): Likewise.
  1863. (PARSE_AND_LIST_ARGS_CASES): Likewise.
  1864. * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
  1865. * lexsup.c (ld_options): Comment out 'z'.
  1866. (parse_args): Likewise.
  1867. * emultempl/elf32.em: Include "elf/common.h".
  1868. (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
  1869. options.
  1870. (gld_${EMULATION_NAME}_list_options): Likewise.
  1871. * ld.texinfo: Add documentation for the recognized -z options.
  1872. 2000-07-19 H.J. Lu <hjl@gnu.org>
  1873. * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
  1874. bfd_elf_set_dt_needed_soname ().
  1875. 2000-07-18 DJ Delorie <dj@cygnus.com>
  1876. * pe-dll.c (pe_dll_id_target): check object target name also
  1877. 2000-07-18 Hans-Peter Nilsson <hp@axis.com>
  1878. * scripttempl/elf.sc (.init): Only do ${INIT_START} and
  1879. ${INIT_END} if relocating.
  1880. (.fini): Likewise ${FINI_START} and ${FINI_END}.
  1881. 2000-07-16 Charles Wilson <cwilson@ece.gatech.edu>
  1882. * emultempl/pe.em (gld_*_open_dynamic_archive): New search
  1883. order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
  1884. foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
  1885. errors introduced by the old dynamic lib search order.
  1886. 2000-07-17 DJ Delorie <dj@cygnus.com>
  1887. * pe-dll.c (process_def_file): auto-export data items also
  1888. (pe_process_import_defs): also see if _imp_ form needed
  1889. 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu>
  1890. * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
  1891. for dll import libraries
  1892. 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
  1893. * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
  1894. gcc 2.95.2 and later.
  1895. 2000-07-11 Kazu Hirata <kazu@hxi.com>
  1896. * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
  1897. message.
  1898. 2000-07-10 Alan Modra <alan@linuxcare.com.au>
  1899. * ldemul.h (struct lang_input_statement_struct): Remove forward
  1900. declaration.
  1901. (struct search_dirs): Likewise.
  1902. * ldfile.h (struct lang_input_statement_struct): Likewise.
  1903. Protect file from multiple inclusion.
  1904. * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
  1905. declaration from macro to file scope.
  1906. * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
  1907. * ldgram.y: Likewise here.
  1908. * ldlang.c: And here.
  1909. * ldmain.c: And here.
  1910. * mpw-elfmips.c: And here.
  1911. * mpw-eppcmac.c: And here.
  1912. * emultempl/aix.em: And here.
  1913. * emultempl/armcoff.em: And here.
  1914. * emultempl/armelf.em: And here.
  1915. * emultempl/armelf_oabi.em: And here.
  1916. * emultempl/beos.em: And here.
  1917. * emultempl/elf32.em: And here.
  1918. * emultempl/hppaelf.em: And here.
  1919. * emultempl/linux.em: And here.
  1920. * emultempl/lnk960.em: And here.
  1921. * emultempl/pe.em: And here.
  1922. * emultempl/sunos.em: And here.
  1923. * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
  1924. * mpw-idtmips.c: Ditto.
  1925. * emultempl/generic.em: Ditto.
  1926. * emultempl/gld960.em: Ditto.
  1927. * emultempl/gld960c.em: Ditto.
  1928. * emultempl/mipsecoff.em: Ditto.
  1929. * emultempl/ticoff.em: Ditto.
  1930. * emultempl/vanilla.em: Ditto.
  1931. * pe-dll.c: Include ldfile.h
  1932. * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
  1933. * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
  1934. arguments to bfd_elf32_size_dynamic_sections call.
  1935. (gldelf32ebmip_place_orphan): Add missing arguments to
  1936. lang_leave_output_section_statement call.
  1937. 2000-07-10 H.J. Lu <hjl@gnu.org>
  1938. * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
  1939. DLL_SUPPORT.
  1940. (strhash): Likewise.
  1941. (compute_dll_image_base): Likewise.
  1942. (pe_undef_found_sym): Likewise.
  1943. (pe_undef_cdecl_match): Likewise.
  1944. (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
  1945. argument "arch" with ATTRIBUTE_UNUSED.
  1946. 2000-07-10 Alan Modra <alan@linuxcare.com.au>
  1947. * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
  1948. From Ryan Bradetich <rbradetich@uswest.net>
  1949. * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
  1950. 2000-07-09 Alan Modra <alan@linuxcare.com.au>
  1951. Changes to create multiple linker stubs, positioned immediately
  1952. before the section where they are required.
  1953. * emultempl/hppaelf.em: Include elf32-hppa.h.
  1954. (stub_sec, file_chain): Delete.
  1955. (hppaelf_create_output_section_statements): Don't make a stub
  1956. section here.
  1957. (hook_stub_info): New struct.
  1958. (hook_in_stub): New function.
  1959. (hppaelf_add_stub_section): New function.
  1960. (hppaelf_finish): Do nothing for relocateable links. Modify the
  1961. call to elf32_hppa_size_stubs. Move code for updating section
  1962. layout from here...
  1963. (hppaelf_layaout_sections_again): ..to here, a new function.
  1964. * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
  1965. broken list handling. Pass in a pointer to the list.
  1966. (hppaelf_finish): Update call to hppaelf_delete_padding_statements
  1967. for above changes.
  1968. (hppaelf_before_parse): Prototype.
  1969. (hppaelf_set_output_arch): Prototype.
  1970. (hppaelf_create_output_section_statements): Prototype.
  1971. (hppaelf_delete_padding_statements): Prototype.
  1972. (hppaelf_finish): Prototype.
  1973. Merge from elf32.em
  1974. * emultempl/hppaelf.em: Include ctype.h.
  1975. (struct orphan_save): New.
  1976. (gld${EMULATION_NAME}_place_orphan): New.
  1977. (output_rel_find): New.
  1978. (hppaelf_get_script): Update from elf32.em.
  1979. (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
  1980. Change emulation_name field to "${EMULATION_NAME}". Add
  1981. gld${EMULATION_NAME}_place_orphan.
  1982. * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add
  1983. ehppalinux.o, sort it. Regenerate dependencies.
  1984. (ehppalinux.c): Depend on hppaelf.em
  1985. * Makefile.in: Regenerate.
  1986. * configure.tgt: targ_emul=hppalinux for hppa*linux
  1987. * emulparams/hppalinux.sh: New.
  1988. * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
  1989. 2000-07-08 Alan Modra <alan@linuxcare.com.au>
  1990. * lexsup.c (parse_args): Copy section name.
  1991. 2000-07-07 Charles Wilson <cwilson@ece.gatech.edu>
  1992. * emultempl/pe.em: institute the following search order for
  1993. dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
  1994. libs), libfoo.dll, foo.dll (link direct to dll). Fall back to
  1995. static lib (libfoo.a) if none of the above are found.
  1996. 2000-07-07 Mumit Khan <khan@xraylith.wisc.edu>
  1997. * emultempl/pe.em (pe_enable_auto_image_base): New variable.
  1998. (longopts): New --{enable,disable}-auto-image-base options.
  1999. (gld_${EMULATION_NAME}_list_options): Document.
  2000. (gld_${EMULATION_NAME}_parse): Handle.
  2001. (strhash): New static function.
  2002. (compute_dll_image_base): New static function.
  2003. (gld_${EMULATION_NAME}_set_symbols): Use.
  2004. 2000-07-05 DJ Delorie <dj@redhat.com>
  2005. * MAINTAINERS: new
  2006. 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
  2007. * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
  2008. * emulparams/elf32btsmip.sh: New file.
  2009. * Makefile.am: Add traditional mips target.
  2010. * Makefile.in: Rebuild.
  2011. 2000-07-01 H.J. Lu <hjl@gnu.org>
  2012. * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
  2013. automake to use YLWRAP.
  2014. * Makefile.in: Rebuild.
  2015. 2000-07-01 Alan Modra <alan@linuxcare.com.au>
  2016. * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
  2017. (CLEANFILES): Add DEPA.
  2018. * Makefile.in: Regenerate.
  2019. 2000-06-30 Timothy Wall <twall@ppc>
  2020. * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
  2021. the page in the upper octet of the address.
  2022. 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
  2023. * emulparams/avrmega161.sh (ARCH): Change to avr:5.
  2024. 2000-06-24 Alan Modra <alan@linuxcare.com.au>
  2025. * NEWS: arm-elf does --gc-sections too.
  2026. 2000-06-22 Alan Modra <alan@linuxcare.com.au>
  2027. * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
  2028. find one.
  2029. * Makefile.in: Regenerate.
  2030. 2000-06-21 H.J. Lu <hjl@gnu.org>
  2031. * Makefile.am: Rebuild dependency.
  2032. * Makefile.in: Rebuild.
  2033. 2000-06-20 H.J. Lu <hjl@gnu.org>
  2034. * Makefile.am: Rebuild dependency.
  2035. * Makefile.in: Rebuild.
  2036. 2000-06-20 Timothy Wall <twall@cygnus.com>
  2037. * scripttempl/tic54xcoff.sc: New.
  2038. * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
  2039. * gen-doc.texi: Add flag for TI COFF.
  2040. * ld.texinfo: Add documentation for TI COFF handling switches.
  2041. * emultempl/ticoff.em: New. TI COFF handling.
  2042. * configure.tgt: Add tic54x target.
  2043. * Makefile.am: Add tic54x target.
  2044. * Makefile.in: Ditto.
  2045. 2000-06-20 Alan Modra <alan@linuxcare.com.au>
  2046. * ldmain.c (set_scripts_dir): Correct pointer comparison when
  2047. checking for backslashes.
  2048. 2000-06-19 Alan Modra <alan@linuxcare.com.au>
  2049. * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
  2050. 2000-06-18 Alan Modra <alan@linuxcare.com.au>
  2051. * NEWS: Update list of targets supporting --gc-sections.
  2052. * scripttempl/elf.sc: KEEP .eh_frame contents.
  2053. * scripttempl/elfd30v.sc: Same here.
  2054. 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
  2055. * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
  2056. and m68hc11 (elf).
  2057. * Makefile.in: Rebuild.
  2058. * configure.tgt: Recognize m68hc12 and m68hc11.
  2059. * scripttempl/elfm68hc12.sc: New file.
  2060. * emulparams/m68hc12elfb: New emulation.
  2061. * emulparams/m68hc12elf: New emulation.
  2062. * emulparams/m68hc11elfb.sh: New file. User configurable emulation
  2063. (includes a memory.x script to define the ROM and RAM banks).
  2064. * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
  2065. New configuration files for support of Motorola 68hc11
  2066. 2000-06-15 Alan Modra <alan@linuxcare.com.au>
  2067. * ldmain.c (main): Only change SEC_READONLY for final link.
  2068. 2000-06-13 H.J. Lu <hjl@gnu.org>
  2069. * configure: Regenerate.
  2070. 2000-06-08 David O'Brien <obrien@FreeBSD.org>
  2071. * configure.in (VERSION): Update to show this is the CVS mainline.
  2072. 2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  2073. * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
  2074. input objects to be ECOFF.
  2075. (check_sections): einfo takes %B, not %P, to print a BFD name.
  2076. 2000-06-05 Michael Matz <matz@ifh.de>
  2077. * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
  2078. version scripts.
  2079. * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
  2080. 2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl>
  2081. * emulparams/avr1200.sh (STACK): Define as 0.
  2082. * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
  2083. * emulparams/avr4433.sh (STACK): Likewise.
  2084. * emulparams/avr44x4.sh (STACK): Likewise.
  2085. * emulparams/avr85xx.sh (STACK): Likewise.
  2086. * emulparams/avrmega103.sh (STACK): Likewise.
  2087. * emulparams/avrmega161.sh (STACK): Likewise.
  2088. * emulparams/avrmega603.sh (STACK): Likewise.
  2089. * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
  2090. (__stack): Define from ${STACK} for main().
  2091. 2000-05-26 Alan Modra <alan@linuxcare.com.au>
  2092. * Makefile.am: Update dependencies with "make dep-am"
  2093. * Makefile.in: Regenerate.
  2094. 2000-05-26 Eli Zaretskii <eliz@is.elta.co.il>
  2095. * ldmain.c: Include filenames.h.
  2096. (set_scripts_dir): Support backslashes in program name.
  2097. 2000-05-22 Igor Shevlyakov <igor@windriver.com>
  2098. * ldmain.c (main): When deciding if ".text" section should be
  2099. read-only, don't forget to reset SEC_READONLY because it
  2100. could be already set.
  2101. 2000-05-22 Thomas de Lellis <tdel@windriver.com>
  2102. * ld.1: Add documentation for new command line option:
  2103. --section-start <sectionname>=<sectionorg>
  2104. This is a generic version of -Ttext etc. which accepts
  2105. any section name as a parameter instead of just text/data/
  2106. bss.
  2107. * ld.texinfo: More docs.
  2108. * NEWS: More docs.
  2109. * lexsup.c: (parse_args): Recognize new command line option.
  2110. (ld_options): Add new option.
  2111. 2000-05-18 H.J. Lu <hjl@gnu.org>
  2112. * lexsup.c (parse_args): `i' == `r', not `q'.
  2113. 2000-05-18 Jeffrey A Law (law@cygnus.com)
  2114. * configure.tgt (hppa*64*-*-*): Enable PA64 target.
  2115. 2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com>
  2116. Rick Gorton <gorton@scrugs.lkg.dec.com>
  2117. Add support for '-q' == '--emit-relocs' switch.
  2118. * ldmain.c (main): Default to false.
  2119. * lexsup.c (parse_args): Turn on emitrelocations flag if set.
  2120. * NEWS: Describe the emitrelocations switch.
  2121. * ld.texinfo: Describe the emitrelocations switch.
  2122. 2000-05-16 Charles Wilson <cwilson@ece.gatech.edu>
  2123. * emultempl/pe.em (_open_dynamic_archive): New function: Search
  2124. the library path for "foo.dll" and "libfoo.dll" dynamic libraries
  2125. before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
  2126. link options.
  2127. 2000-05-15 David O'Brien <obrien@FreeBSD.org>
  2128. * lexsup.c (parse_args): Update the year in the copyright notice.
  2129. 2000-05-13 Alan Modra <alan@linuxcare.com.au>
  2130. * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
  2131. Replace defines with those from intl/libgettext.h to quieten gcc
  2132. warnings.
  2133. 2000-05-10 H.J. Lu <hjl@gnu.org>
  2134. * ldlang.c (open_input_bfds): Don't load the same file within
  2135. a group again if the whole archive has been loaded already.
  2136. 2000-05-03 Alan Modra <alan@linuxcare.com.au>
  2137. From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de>
  2138. * lexsup.c (set_section_start): Use bfd_scan_vma rather than
  2139. strtoul.
  2140. 2000-05-01 Jim Wilson <wilson@cygnus.com>
  2141. * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
  2142. * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
  2143. host "ia64-*-linux-gnu*".
  2144. 2000-04-29 Andreas Jaeger <aj@suse.de>
  2145. * ld.h: Correctly check GCC version.
  2146. 2000-04-25 Jeffrey A Law (law@cygnus.com)
  2147. * Makefile.am: Add PA64 support. Add missing dependencies for
  2148. PA32 elf support.
  2149. * Makefile.in: Rebuilt.
  2150. * configure.tgt: Add PA64 support (currently disabled).
  2151. 2000-04-25 Alan Modra <alan@linuxcare.com.au>
  2152. * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
  2153. (output_rel_find): New function.
  2154. (hold_section, hold_use): Delete.
  2155. (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
  2156. hold_interp): Make local to place_orphan.
  2157. (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
  2158. rather than place_section to find possible previous use of orphan.
  2159. Similarly find the place-holder output sections. Use returned
  2160. value from lang_enter_output_section_statement rather than calling
  2161. lang_output_section_statement_lookup.
  2162. * emultempl/armelf.em: Same here.
  2163. * emultempl/pe.em: Similar to above, but no need for output_rel_find.
  2164. * ldlang.c (lang_enter_output_section_statement): Return output
  2165. section statement.
  2166. * ldlang.h (lang_enter_output_section_statement): Change
  2167. declaration too.
  2168. * ldlang.h (lang_output_section_statement): Export it.
  2169. * ldlang.c (lang_output_section_statement): Ditto.
  2170. 2000-04-24 Nick Clifton <nickc@cygnus.com>
  2171. * ld.texinfo (Output Section Data): Add note that section data
  2172. commands cannot appear outside of section directives.
  2173. 2000-04-2 Matthew Green <mrg@cygnus.com>
  2174. * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
  2175. 2000-04-21 Richard Henderson <rth@cygnus.com>
  2176. David Mosberger <davidm@hpl.hp.com>
  2177. * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
  2178. (eelf64_ia64.c): New rule.
  2179. * Makefile.in: Rebuild.
  2180. * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
  2181. * emulparams/elf64_ia64.sh: New file.
  2182. 2000-04-21 Richard Henderson <rth@cygnus.com>
  2183. * scripttempl/elfd30v.sc: Place .gcc_except_table.
  2184. 2000-04-19 Alan Modra <alan@linuxcare.com.au>
  2185. * dep-in.sed: Match space at start of file name, not at end.
  2186. 2000-04-18 H.J. Lu <hjl@gnu.org>
  2187. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
  2188. lang_leave_output_section_statement () after calling
  2189. lang_enter_output_section_statement ().
  2190. * emultempl/armelf.em: Likewise.
  2191. 2000-04-18 Alan Modra <alan@linuxcare.com.au>
  2192. * emultempl/elf32.em (struct orphan_save): Add section field.
  2193. (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
  2194. better order, and place first orphan section as we did before the
  2195. 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place.
  2196. Don't call make_bfd_section here, let wild_doit do the job for us.
  2197. Don't build a statement list when we'll only throw it away.
  2198. * emultempl/armelf.em: Ditto.
  2199. * emultempl/pe.em: Similarly.
  2200. 2000-04-14 Geoff Keating <geoffk@cygnus.com>
  2201. * scripttempl/elfppc.sc: Remove.
  2202. * emulparams/elf32ppc.sh: Use elf.sc.
  2203. * emulparams/elf32lppc.sh: Use elf.sc.
  2204. * emulparams/elf32ppclinux.sh: Use elf.sc.
  2205. * emulparams/elf32ppcsim.sh: New file.
  2206. * emulparams/elf32lppcsim.sh: New file.
  2207. * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim.
  2208. (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
  2209. * Makefile.in: Regenerate.
  2210. * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
  2211. 2000-04-14 Alan Modra <alan@linuxcare.com.au>
  2212. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
  2213. ~SEC_ALLOC sections too. Init start address of debug sections.
  2214. * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
  2215. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
  2216. Also set all relocateable section start addresses.
  2217. 2000-04-13 Geoff Keating <geoffk@cygnus.com>
  2218. * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
  2219. Add new BSS_PLT variable for when .plt need not be contained in
  2220. the file. Move _etext so that it is also after .fini, and provide
  2221. both etext and _etext with a leading underscore. Mark the start
  2222. and end of .sbss.
  2223. 2000-04-12 Alan Modra <alan@linuxcare.com.au>
  2224. * emultempl/elf32.em (struct orphan_save): New.
  2225. (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
  2226. hold_interp): Make them struct orphan_save.
  2227. (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
  2228. (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
  2229. the end of the relevant section list. Also add associated section
  2230. statements to the end of any previous orphan statements.
  2231. * emultempl/armelf.em: Similarly.
  2232. * emultempl/pe.em: Similarly.
  2233. 2000-04-11 Alan Modra <alan@linuxcare.com.au>
  2234. * ld.texinfo (Simple Example): Remove extraneous paragraph.
  2235. 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
  2236. * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
  2237. --enable-build-warnings option.
  2238. * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
  2239. * Makefile.in, configure: Re-generate.
  2240. 2000-04-04 Alan Modra <alan@linuxcare.com.au>
  2241. * po/ld.pot: Regenerate.
  2242. * lexsup.c (help): Restore translated part of bug string.
  2243. * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
  2244. (DEP): Quote when passing vars to sub-make. Add warning message
  2245. to end.
  2246. (DEP1): Rewrite for "gcc -MM".
  2247. (CLEANFILES): Add DEP2.
  2248. Update dependencies.
  2249. * Makefile.in: Regenerate.
  2250. 2000-04-03 Alan Modra <alan@linuxcare.com.au>
  2251. * ld.h: #include "bin-bugs.h"
  2252. * lexsup.c (help): Use REPORT_BUGS_TO.
  2253. 2000-03-27 Denis Chertykov <denisc@overta.ru>
  2254. * configure.tgt (avr-*-*): New target support.
  2255. * Makefile.am: Likewise.
  2256. * scripttempl/elf32avr.sc: New script file.
  2257. * emulparams/avr1200.sh: New file.
  2258. * emulparams/avr23xx.sh: New file.
  2259. * emulparams/avr4433.sh New file.
  2260. * emulparams/avr44x4.sh New file.
  2261. * emulparams/avr85xx.sh New file.
  2262. * emulparams/avrmega103.sh New file.
  2263. * emulparams/avrmega161.sh New file.
  2264. * emulparams/avrmega603.sh New file.
  2265. * Makefile.in: Regenerate.
  2266. 2000-03-09 Andreas Jaeger <aj@suse.de>
  2267. * Makefile.am (check-DEJAGNU): Also unset LANG.
  2268. * Makefile.in: Rebuild.
  2269. 2000-03-06 Ian Lance Taylor <ian@zembu.com>
  2270. * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
  2271. archive.
  2272. 2000-03-02 H.J. Lu <hjl@gnu.org>
  2273. * emulparams/elf32mcore.sh: Include "getopt.h".
  2274. 2000-03-01 Ian Lance Taylor <ian@zembu.com>
  2275. * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
  2276. 2000-03-01 H.J. Lu <hjl@gnu.org>
  2277. * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
  2278. * emulparams/shpe.sh: Likewise.
  2279. 2000-03-01 Nick Clifton <nickc@cygnus.com>
  2280. * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
  2281. to unused parameters.
  2282. * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
  2283. functions only used by DLL code.
  2284. (_place_orphan): Initialise 'dollar'.
  2285. 2000-03-01 H.J. Lu <hjl@gnu.org>
  2286. * ldmain.c (undefined_symbol): Take one more arg, fatal, to
  2287. indicate if the undefined symbol is a fatal error or not.
  2288. Don't delete the output file if "fatal" is false.
  2289. 2000-02-29 H.J. Lu <hjl@gnu.org>
  2290. * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
  2291. Set LC_COLLATE and LC_ALL to null and export them. It is for
  2292. sort which expects the C locale.
  2293. Add $(LIBS) to all $(HOSTING_LIBS).
  2294. * Makefile.in: Rebuild.
  2295. 2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au>
  2296. * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
  2297. beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
  2298. linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
  2299. (ld_emulation_xfer_struct): Add missing NULL initialiser for
  2300. find_potential_libraries.
  2301. 2000-02-28 Jim Blandy <jimb@redhat.com>
  2302. * ldgram.y (exclude_name_list): Don't require a comma to separate
  2303. list entries; the lexer considers commas to be valid part of a
  2304. filename, so in something like `foo, bar' the comma is considered
  2305. part of the first filename, `foo,'.
  2306. * ld.texinfo: Update section on EXCLUDE_FILE lists.
  2307. 2000-02-27 Loren J. Rittle <ljrittle@acm.org>
  2308. * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
  2309. host "i[3456]86-*-freebsdelf*".
  2310. 2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
  2311. * scripttempl/i386go32.sc: Move misplaced semicolons.
  2312. 2000-02-25 Ian Lance Taylor <ian@zembu.com>
  2313. * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
  2314. (ALL_64_EMULATIONS): Remove eelf64hppa.o.
  2315. (eelf64hppa.c, ehppaelf.c): Remove targets.
  2316. * Makefile.in: Rebuild.
  2317. 2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  2318. * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
  2319. GNU/Linux/sparc, but keep the default as 32.
  2320. * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make
  2321. it default if sparcv9 or sparc64.
  2322. 2000-02-24 Nick Clifton <nickc@cygnus.com>
  2323. * Makefile.am: Add rules to build emipspe.o and earmpe.o.
  2324. * Makefile.in: Regenerate.
  2325. * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
  2326. * ldemul.h (ld_emulation_xfer_struct): Add new field:
  2327. find_potential_libraries.
  2328. * ldemul.c (ldemul_find_potential_libraries): New function.
  2329. * ldfile.c (ldfile_open_file_search): Allow function to be
  2330. exported.
  2331. (ldfile_open_file): Call ldemul_find_potential_libraries.
  2332. * ldfile.h: Add prototype for ldfile_open_file_search.
  2333. * pe-dll.c: Add support for ARM, MIPS and SH targets.
  2334. * emulparams/mipspe.sh: New file. Parameters for mips-pe target.
  2335. * emulparams/shpe.sh: New file. Parameters for sh-pe target.
  2336. * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
  2337. (gld_X_find_potential_libraries): New function. Search for
  2338. libraries called "*.lib".
  2339. * scripttempl/pe.sc: Add .pdata section.
  2340. 2000-02-23 Richard Henderson <rth@cygnus.com>
  2341. * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
  2342. Add and use memory regions.
  2343. 2000-02-23 Linas Vepstas (linas@linas.org)
  2344. * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
  2345. * Makefile.am: Add support for Linux/IBM 370.
  2346. * configure.tgt: Likewise.
  2347. * Makefile.in: Regenerate.
  2348. 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
  2349. * ldlang.c (print_input_section, print_data_statement,
  2350. print_reloc_statement, print_padding_statement, insert_pad,
  2351. size_input_section, lang_check_section_addresses,
  2352. lang_size_sections, lang_do_assignments, lang_set_startof,
  2353. lang_one_common): Change `opb' to unsigned.
  2354. (lang_do_assignments): Also change `size' to unsigned.
  2355. 2000-02-16 Richard Henderson <rth@cygnus.com>
  2356. * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
  2357. 2000-02-16 Timothy Wall <twall@cygnus.com>
  2358. * mri.c (mri_draw_tree): Add default LMA region argument to call
  2359. to lang_leave_output_section_statement.
  2360. * ldlang.h: Update prototypes with LMA region arguments.
  2361. * ldlang.c (lang_size_sections): Encapsulate region bounds
  2362. checking in os_check_region call.
  2363. (os_check_region): New function.
  2364. (lang_output_section_statement_lookup): Initialize lma_region.
  2365. (lang_leave_output_section_statement): Add LMA region argument.
  2366. (lang_leave_overlay): Ditto.
  2367. * ldgram.y: Handle LMA region syntax.
  2368. * ld.texinfo (Output Section Description): Describe LMA region usage.
  2369. * emultempl/armelf.em (gld$place_orphan): Add default value for
  2370. lma region in call to lang_leave_output_section_statement.
  2371. * emultempl/elf32.em (gld$place_orphan): Add default value for
  2372. lma region in call to lang_leave_output_section_statement.
  2373. * emultempl/pe.em (gld$place_orphan): Add default value for
  2374. lma region in call to lang_leave_output_section_statement.
  2375. 2000-02-04 Timothy Wall <twall@redhat.com>
  2376. * ldlang.c (lang_check_section_addresses): Use bytes instead of
  2377. octets when calculating section end addresses.
  2378. 2000-02-04 Timothy Wall <twall@redhat.com>
  2379. * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
  2380. 2000-02-03 Timothy Wall <twall@redhat.com>
  2381. * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
  2382. octet count.
  2383. * ldlang.c (print_input_section, print_data_statement,
  2384. print_reloc_statement, print_padding_statement): Print target
  2385. address values and section sizes as bytes, not octets.
  2386. (insert_pad) Calculate padding size in octets, and adjust "dot"
  2387. by bytes.
  2388. (size_input_section) Always adjust "dot" by bytes, not octets.
  2389. (lang_check_section_addresses, lang_do_assignments) Adjust
  2390. "dot" by bytes, not octets. Use the larger of the directive size
  2391. or octets_per_byte for the number of octets actually allocated in
  2392. the output section.
  2393. (lang_set_startof) Make sure STARTOF returns a target address.
  2394. (lang_one_common) Record size changes in octets.
  2395. (lang_abs_symbol_at_end_of) Section end symbol's value is
  2396. recorded in target bytes.
  2397. * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
  2398. to be clear about behavior when an octet is smaller than one byte.
  2399. 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
  2400. * ldcref.c (output_cref): Don't pass message strings to printf
  2401. as format arg.
  2402. Update copyright.
  2403. * ldmisc.c (vfinfo): Same here.
  2404. Update copyright.
  2405. 2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au>
  2406. * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
  2407. generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
  2408. mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
  2409. Add missing NULL initialisers, and comments.
  2410. 2000-01-21 Nick Clifton <nickc@cygnus.com>
  2411. * ldlang.c (lang_size_sections): Fix typo in comment.
  2412. 2000-01-18 H.J. Lu <hjl@gnu.org>
  2413. * ldlang.c (lang_size_sections): Also update the current
  2414. address of a region if the SEC_NEVER_LOAD bit is not set.
  2415. 2000-01-10 Philip Blundell <pb@futuretv.com>
  2416. * configure.tgt (arm*-*-conix*): New target.
  2417. 2000-01-07 Nick Clifton <nickc@cygnus.com>
  2418. * ld.texinfo (Options): Remind users to preceed linker command
  2419. line switches with -Wl, (or whatever is appropriate) if it is
  2420. being invoked by a comnpiler driver program.
  2421. Fix description of the behaviour of the -n command line switch.
  2422. 2000-01-05 Catherine Moore <clm@cygnus.com>
  2423. * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
  2424. (name_list): New.
  2425. * ld.texinfo (EXCLUDE_FILE): Update documentation.
  2426. * ldgram.y (wildcard_spec): Support a list of excluded_files.
  2427. (exclude_name_list): New.
  2428. ldlang.c (walk_wild_section): Support list of excluded files.
  2429. (print_wild_statement): Likewise.
  2430. (lang_add_wild): Likewise.
  2431. * ldlang.h (lang_wild_statement_type): Likewise.
  2432. * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
  2433. 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
  2434. * pe-dll.c (pe_dll_warn_dup_exports): New variable.
  2435. (process_def_file): Use.
  2436. (pe_dll_compat_implib): New variable.
  2437. (make_one): Use.
  2438. * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
  2439. pe_dll_compat_implib.
  2440. * emultempl/pe.em (longopts): Add warn-duplicate-exports and
  2441. compat-implib options.
  2442. (gld_${EMULATION_NAME}_list_options): List new options.
  2443. (gld_${EMULATION_NAME}_parse_args): Handle.
  2444. * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
  2445. dll.
  2446. * deffilep.y (opt_name): Allow "." in name.
  2447. For older changes see ChangeLog-9899
  2448. Copyright (C) 2000-2001 Free Software Foundation, Inc.
  2449. Copying and distribution of this file, with or without modification,
  2450. are permitted in any medium without royalty provided the copyright
  2451. notice and this notice are preserved.
  2452. Local Variables:
  2453. mode: change-log
  2454. left-margin: 8
  2455. fill-column: 74
  2456. version-control: never
  2457. End: