ChangeLog-2016 153 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124
  1. 2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
  2. * NEWS: Mention new PRU target.
  3. * Makefile.am: Add PRU target.
  4. * configure.tgt: Ditto.
  5. * emulparams/pruelf.sh: New file.
  6. * emultempl/pruelf.em: New file.
  7. * scripttempl/pru.sc: New file.
  8. * Makefile.in: Regenerate.
  9. * testsuite/ld-pru/emit-relocs-1.d: New PRU testcase file.
  10. * testsuite/ld-pru/emit-relocs-1.ld: Ditto.
  11. * testsuite/ld-pru/emit-relocs-1a.s: Ditto.
  12. * testsuite/ld-pru/emit-relocs-1b.s
  13. * testsuite/ld-pru/ldi32.d: Ditto.
  14. * testsuite/ld-pru/ldi32.s: Ditto.
  15. * testsuite/ld-pru/ldi32_symbol.s: Ditto.
  16. * testsuite/ld-pru/norelax_ldi32-data.d: Ditto.
  17. * testsuite/ld-pru/norelax_ldi32-dis.d: Ditto.
  18. * testsuite/ld-pru/pcrel_s10.d: Ditto.
  19. * testsuite/ld-pru/pcrel_s10.s: Ditto.
  20. * testsuite/ld-pru/pcrel_s10_label.s: Ditto.
  21. * testsuite/ld-pru/pcrel_u8-illegal.d: Ditto.
  22. * testsuite/ld-pru/pcrel_u8-illegal.s: Ditto.
  23. * testsuite/ld-pru/pcrel_u8-illegal2.d: Ditto.
  24. * testsuite/ld-pru/pcrel_u8-illegal2.s: Ditto.
  25. * testsuite/ld-pru/pcrel_u8-illegal3.d: Ditto.
  26. * testsuite/ld-pru/pcrel_u8-illegal3.s: Ditto.
  27. * testsuite/ld-pru/pcrel_u8.d: Ditto.
  28. * testsuite/ld-pru/pcrel_u8.s: Ditto.
  29. * testsuite/ld-pru/pcrel_u8_label.s: Ditto.
  30. * testsuite/ld-pru/pmem.d: Ditto.
  31. * testsuite/ld-pru/pmem.s: Ditto.
  32. * testsuite/ld-pru/pmem_symbol.s: Ditto.
  33. * testsuite/ld-pru/pru.exp: Ditto.
  34. * testsuite/ld-pru/relax_ldi32-data.d: Ditto.
  35. * testsuite/ld-pru/relax_ldi32-dis.d: Ditto.
  36. * testsuite/ld-pru/relax_ldi32.s: Ditto.
  37. * testsuite/ld-pru/relax_ldi32_symbol.s: Ditto.
  38. * testsuite/ld-pru/reloc.d: Ditto.
  39. * testsuite/ld-pru/reloc.s: Ditto.
  40. * testsuite/ld-pru/reloc_symbol.s: Ditto.
  41. * testsuite/ld-pru/u16.d: Ditto.
  42. * testsuite/ld-pru/u16.s: Ditto.
  43. * testsuite/ld-pru/u16_symbol.s: Ditto.
  44. * testsuite/lib/ld-lib.exp (check_shared_lib_support): No shared
  45. libraries are supported for PRU.
  46. (check_gc_sections_available): Mark PRU as not supported.
  47. * testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU.
  48. * testsuite/ld-elf/endsym.d: Likewise.
  49. * testsuite/ld-elf/group8a.d: Likewise.
  50. * testsuite/ld-elf/group8b.d: Likewise.
  51. * testsuite/ld-elf/group9a.d: Likewise.
  52. * testsuite/ld-elf/group9b.d: Likewise.
  53. * testsuite/ld-elf/merge.d: Likewise.
  54. * testsuite/ld-elf/pr12851.d: Likewise.
  55. * testsuite/ld-elf/pr14926.d: Likewise.
  56. * testsuite/ld-elf/sec-to-seg.exp: Likewise.
  57. * testsuite/ld-elf/sec64k.exp: Mark sec64k case as too big for PRU.
  58. * testsuite/ld-srec/srec.exp (run_srec_test): Add setup for PRU.
  59. 2016-12-31 Dimitar Dimitrov <dimitar@dinux.eu>
  60. * testsuite/lib/ld-lib.exp (run_dump_test): Pass -- to send_log.
  61. 2016-12-28 Alan Modra <amodra@gmail.com>
  62. PR ld/20995
  63. * testsuite/ld-elf/pr20995c.s: New test file.
  64. * testsuite/ld-elf/pr20995-2so.r: Likewise.
  65. * testsuite/ld-elf/elf.exp: Run it.
  66. 2016-12-26 Alan Modra <amodra@gmail.com>
  67. PR ld/20995
  68. * testsuite/ld-arm/farcall-mixed-app-v5.d: Update to suit changed
  69. stub hash table traversal caused by section id increment. Accept
  70. the previous output too.
  71. * testsuite/ld-arm/farcall-mixed-app.d: Likewise.
  72. * testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
  73. * testsuite/ld-arm/farcall-mixed-lib.d: Likewise.
  74. * testsuite/ld-elf/pr20995a.s, * testsuite/ld-elf/pr20995b.s,
  75. * testsuite/ld-elf/pr20995.r: New test.
  76. * testsuite/ld-elf/elf.exp: Run it.
  77. 2016-12-26 Alan Modra <amodra@gmail.com>
  78. * scripttempl/elf.sc: Don't use $BSS_NAME in .dynbss.
  79. 2016-12-23 Tristan Gingold <gingold@adacore.com>
  80. * configure: Regenerate.
  81. 2016-12-23 Tristan Gingold <gingold@adacore.com>
  82. * NEWS: Add marker for 2.28.
  83. 2016-12-23 Tristan Gingold <gingold@adacore.com>
  84. * po/ld.pot: Regenerate.
  85. 2016-12-22 Alan Modra <amodra@gmail.com>
  86. * testsuite/ld-scripts/sysroot-prefix.exp (sysroot_prefix_test_setup):
  87. Call perror rather than error on "as" or "ar" failures.
  88. 2016-12-21 Igor Kudrin <ikudrin@accesssoftek.com>
  89. * ldlang.c (size_input_section): Avoid calling insert_pad
  90. if output_section_statement->ignored is set.
  91. 2016-12-21 Alan Modra <amodra@gmail.com>
  92. * testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.
  93. 2016-12-16 fincs <fincs.alt1@gmail.com>
  94. * ld.texinfo: Document --gc-keep-exported.
  95. * ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
  96. * lexsup.c (parse_args): Add handling for --gc-keep-exported.
  97. 2016-12-14 Yury Norov <ynorov@caviumnetworks.com>
  98. * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for tiny and
  99. small ld-le relaxations in ilp32 mode.
  100. * ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
  101. * ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.
  102. 2016-12-13 Jiong Wang <jiong.wang@arm.com>
  103. * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_lp64_emul): New
  104. function.
  105. (run_dump_test_lp64): New function which pass LP64 mode options to both
  106. assembler and linker when building test binary.
  107. (aarch64elftests): Remove eh-frame-merge test.
  108. (eh-frame-merge-lp64): Restrict eh-frame-merge test to LP64 only.
  109. (run_dump_test): Migrate to run_dump_test_lp64 if the test source was
  110. written for LP64 only.
  111. * testsuite/ld-aarch64/erratum843419.d: Support ILP32 mode.
  112. * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
  113. * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
  114. * testsuite/ld-aarch64/farcall-b.d: Likewise.
  115. * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
  116. * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
  117. * testsuite/ld-aarch64/farcall-bl.d: Likewise.
  118. * testsuite/ld-aarch64/ifunc-15.d: Likewise.
  119. * testsuite/ld-aarch64/ifunc-16.d: Likewise.
  120. * testsuite/ld-aarch64/ifunc-5a-local.d: Likewise.
  121. * testsuite/ld-aarch64/ifunc-5a.d: Likewise.
  122. * testsuite/ld-aarch64/ifunc-5b-local.d: Likewise.
  123. * testsuite/ld-aarch64/ifunc-5b.d: Likewise.
  124. * testsuite/ld-aarch64/ifunc-5r-local.d: Likewise.
  125. * testsuite/ld-aarch64/ifunc-6a.d: Likewise.
  126. * testsuite/ld-aarch64/ifunc-6b.d: Likewise.
  127. * testsuite/ld-aarch64/ifunc-7a.d: Likewise.
  128. * testsuite/ld-aarch64/ifunc-7b.d: Likewise.
  129. * testsuite/ld-aarch64/ifunc-8.d: Likewise.
  130. * testsuite/ld-aarch64/limit-b.d: Likewise.
  131. * testsuite/ld-aarch64/limit-bl.d: Likewise.
  132. 2016-12-13 Awson <kyrab@mail.ru>
  133. PR ld/19254
  134. * scripttempl/pe.sc (.fini): KEEP this section.
  135. (.gcc_except_table): Likewise.
  136. (.pdata): Also accept .pdata*.
  137. 2016-12-13 Alan Modra <amodra@gmail.com>
  138. * testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64.
  139. * testsuite/ld-elf/note-1.d: Likewise.
  140. * testsuite/ld-elf/note-2.d: Likewise.
  141. 2016-12-13 Alan Modra <amodra@gmail.com>
  142. * testsuite/ld-elf/flags1.d: Run for RX.
  143. * testsuite/ld-scripts/phdrs.exp: Likewise.
  144. * testsuite/ld-scripts/pr14962.d: Likewise.
  145. * testsuite/ld-scripts/pr14962-2.d: Likewise.
  146. 2016-12-08 Alan Modra <amodra@gmail.com>
  147. * configure: Regenerate.
  148. 2016-12-06 Alan Modra <amodra@gmail.com>
  149. * testsuite/ld-powerpc/tocopt7.s,
  150. * testsuite/ld-powerpc/tocopt7.out,
  151. * testsuite/ld-powerpc/tocopt7.d: New test.
  152. * testsuite/ld-powerpc/tocopt8.s,
  153. * testsuite/ld-powerpc/tocopt8.d: New test.
  154. * testsuite/ld-powerpc/powerpc.exp: Run them.
  155. 2016-12-05 Nick Clifton <nickc@redhat.com>
  156. PR ld/20906
  157. * ldlex.l: Check for bogus strings in linker scripts.
  158. 2016-12-05 Alyssa Milburn <amilburn@zall.org>
  159. * testsuite/ld-sparc/wdispcall.s: New file.
  160. * testsuite/ld-sparc/wdispcall.dd: Likewise.
  161. * testsuite/ld-sparc/sparc.exp: Run new test.
  162. 2016-12-03 Alan Modra <amodra@gmail.com>
  163. * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
  164. ppc64_elf_restore_symbols.
  165. * testsuite/ld-powerpc/dotsym1.d: New.
  166. * testsuite/ld-powerpc/dotsym2.d: New.
  167. * testsuite/ld-powerpc/dotsym3.d: New.
  168. * testsuite/ld-powerpc/dotsym4.d: New.
  169. * testsuite/ld-powerpc/dotsymref.s: New.
  170. * testsuite/ld-powerpc/nodotsym.s: New.
  171. * testsuite/ld-powerpc/powerpc.exp: Run new tests.
  172. 2016-12-03 Alan Modra <amodra@gmail.com>
  173. * testsuite/ld-elf/indirect1b.c: Give dot-symbol a version too.
  174. * testsuite/ld-elf/indirect2.c: Likewise.
  175. * testsuite/ld-elf/indirect3b.c: Likewise.
  176. * testsuite/ld-elf/indirect4b.c: Likewise.
  177. * testsuite/ld-elf/pr18718.c: Likewise.
  178. * testsuite/ld-elf/pr18720b.c: Likewise.
  179. * testsuite/ld-elf/pr19553c.c: Likewise.
  180. * testsuite/ld-elfvers/vers.h (FUNC_SYMVER): Define.
  181. * testsuite/ld-elfvers/vers1.c: Use FUNC_SYMVER for functions.
  182. * testsuite/ld-elfvers/vers4.c: Likewise.
  183. * testsuite/ld-elfvers/vers5.c: Likewise.
  184. * testsuite/ld-elfvers/vers6.c: Likewise.
  185. * testsuite/ld-elfvers/vers7a.c: Likewise.
  186. * testsuite/ld-elfvers/vers9.c: Likewise.
  187. * testsuite/ld-elfvers/vers15.c: Likewise.
  188. * testsuite/ld-elfvers/vers18.c: Likewise.
  189. * testsuite/ld-elfvers/vers22a.c: Likewise.
  190. * testsuite/ld-elfvers/vers23a.c: Likewise.
  191. * testsuite/ld-elfvers/vers27d1.c: Likewise.
  192. * testsuite/ld-elfvers/vers21.c: Likewise.
  193. (_old_bar): Use attribute weak rather than asm weak.
  194. * testsuite/ld-ifunc/pr16467b.c: Give dot-symbol a version.
  195. * testsuite/ld-plugin/pr12760b.c: Define warning on .bar rather than
  196. bar for ppc64 -mcall-aixdesc.
  197. * testsuite/ld-plugin/pr16746a.c: Similarly for foobar.
  198. * testsuite/ld-plugin/pr16746b.c: Likewise.
  199. * testsuite/ld-elf/shared.exp: Allow dot-symbol in warnings and errors.
  200. * testsuite/ld-plugin/lto.exp: Likewise.
  201. * testsuite/ld-plugin/plugin-6.d: Likewise.
  202. * testsuite/ld-plugin/plugin-7.d: Likewise.
  203. * testsuite/ld-plugin/plugin-8.d: Likewise.
  204. * testsuite/ld-plugin/plugin-13.d: Likewise.
  205. * testsuite/ld-plugin/plugin-14.d: Likewise.
  206. * testsuite/ld-plugin/plugin-15.d: Likewise.
  207. * testsuite/ld-plugin/plugin-16.d: Likewise.
  208. * testsuite/ld-plugin/plugin-20.d: Likewise.
  209. * testsuite/ld-plugin/plugin-21.d: Likewise.
  210. * testsuite/ld-plugin/plugin-22.d: Likewise.
  211. * testsuite/ld-plugin/plugin-23.d: Likewise.
  212. * testsuite/ld-plugin/plugin.exp: Define .main and .puts for ppc64
  213. -mcall-aixdesc.
  214. * testsuite/ld-elfvers/vers.exp (test_ar): Trim dot-symbols.
  215. (objdump_dynsymstuff): Likewise.
  216. (objdump_symstuff): Likewise. Pack flags to keep column count
  217. consistent.
  218. * testsuite/ld-elfweak/elfweak.exp (objdump_dynsymstuff,
  219. objdump_symstuff): As for vers.exp.
  220. * testsuite/ld-elfvers/vers6.sym: Allow dot-symbols.
  221. * testsuite/ld-elfvers/vers1.sym: Allow missing F flag for
  222. -mcall-aixdesc .opd syms and adjust for flag packing.
  223. * testsuite/ld-elfvers/vers4.sym: Likewise.
  224. * testsuite/ld-elfvers/vers4a.sym: Likewise.
  225. * testsuite/ld-elfvers/vers7a.sym: Likewise.
  226. * testsuite/ld-elfvers/vers9.sym: Likewise.
  227. * testsuite/ld-elfvers/vers15.sym: Likewise.
  228. * testsuite/ld-elfvers/vers18.sym: Likewise.
  229. * testsuite/ld-elfvers/vers21.sym: Likewise.
  230. * testsuite/ld-elfvers/vers22a.sym: Likewise.
  231. * testsuite/ld-elfvers/vers23a.sym: Likewise.
  232. * testsuite/ld-elfvers/vers27d.sym: Likewise.
  233. * testsuite/ld-elfweak/strong.sym: Likewise.
  234. * testsuite/ld-elfweak/strongcomm.sym: Likewise.
  235. * testsuite/ld-elfweak/strongdata.sym: Likewise.
  236. 2016-12-03 Alan Modra <amodra@gmail.com>
  237. * testsuite/ld-elfvers/vers.exp (objdump_dynsymstuff): Don't abort
  238. on non-empty results with empty expected.
  239. 2016-12-03 Alan Modra <amodra@gmail.com>
  240. * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
  241. 2016-12-03 Alan Modra <amodra@gmail.com>
  242. * ldexp.c (try_copy_symbol_type): Remove unnecessary check.
  243. 2016-12-02 Nick Clifton <nickc@redhat.com>
  244. PR ld/20910
  245. * ldmain.c (main): Prevent evaluation of %<char> sequences when
  246. printing out a linker script.
  247. PR ld/20911
  248. * ldctor.c (ldctor_build_sets): Produce alternative error message
  249. if the reloc was being applied to a special section.
  250. PR ld/20912
  251. * emultempl/elf32.em (_place_orphan): Test for ELF format of the
  252. orphan before looking for the SHF_EXCLUDE flag.
  253. 2016-12-02 Josh Conner <joshconner@google.com>
  254. * Makefile.am: Add dependency information for earmelf_fuchsia.c.
  255. * Makefile.in: Regenerate.
  256. * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
  257. x86_64-*-fuchsia* targets.
  258. * emulparams/armelf_fuchsia.sh: New file.
  259. * emulparams/armelfb_fuchsia.sh: New file.
  260. 2016-12-01 Rudy Y <rudyy.id@gmail.com>
  261. PR ld/20880
  262. * pe-dll.c (make_one): Use the hint if the ordinal is -1.
  263. 2016-12-01 Yury Norov <ynorov@caviumnetworks.com>
  264. PR ld/20868
  265. * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
  266. * testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
  267. test.
  268. * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
  269. 2016-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
  270. * emulparams/arclinux_prof.sh: Remove duplicate TEMPLATE_NAME.
  271. 2016-11-28 Nick Clifton <nickc@redhat.com>
  272. PR 20815
  273. * testsuite/ld-elf/loadaddr1.d: Update.
  274. * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
  275. * testsuite/ld-scripts/phdrs3a.d: Update.
  276. 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
  277. * testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
  278. * testsuite/ld-elf/pr18720.rd: New file.
  279. 2016-11-27 Alan Modra <amodra@gmail.com>
  280. PR 20815
  281. * testsuite/ld-powerpc/vle-multiseg-5.d: Update.
  282. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  283. * deffilep.y: Fix spelling in comments.
  284. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  285. * scripttempl/ia64vms.sc: Fix spelling in comments.
  286. * scripttempl/ip2k.sc: Fix spelling in comments.
  287. * scripttempl/v850.sc: Fix spelling in comments.
  288. * scripttempl/v850_rh850.sc: Fix spelling in comments.
  289. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  290. * emultempl/avrelf.em: Fix spelling in comments.
  291. * emultempl/elf32.em: Fix spelling in comments.
  292. * emultempl/pe.em: Fix spelling in comments.
  293. * emultempl/pep.em: Fix spelling in comments.
  294. * emultempl/spuelf.em: Fix spelling in comments.
  295. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  296. * testsuite/ld-sh/arch/arch.exp: Fix spelling in comments.
  297. * testsuite/ld-sh/rd-sh.exp: Fix spelling in comments.
  298. * testsuite/ld-sh/sh64/rd-sh64.exp: Fix spelling in comments.
  299. * testsuite/ld-undefined/undefined.exp: Fix spelling in comments.
  300. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  301. * testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments.
  302. * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments.
  303. * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments.
  304. * testsuite/ld-s390/tlspic1.s: Fix spelling in comments.
  305. * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments.
  306. * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
  307. 2016-11-27 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  308. * deffile.h: Fix spelling in comments.
  309. * ld.h: Fix spelling in comments.
  310. * ldlang.c: Fix spelling in comments.
  311. * ldmisc.c: Fix spelling in comments.
  312. * pe-dll.c: Fix spelling in comments.
  313. 2016-11-24 Jiong Wang <jiong.wang@arm.com>
  314. PR target/20737
  315. * testsuite/ld-arm/pie-bind-locally-a.s: New test source.
  316. * testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
  317. * testsuite/ld-arm/pie-bind-locally.d: New testcase.
  318. * testsuite/ld-arm/arm-elf.exp: Run new testcase.
  319. 2016-11-24 Nick Clifton <nickc@redhat.com>
  320. PR ld/20858
  321. * emultempl/elf32.em (_search_needed): Allow for path separator
  322. and terminating NUL byte when allocating space for new $ORIGIN
  323. path.
  324. 2016-11-23 Nick Clifton <nickc@redhat.com>
  325. * testsuite/ld-arm/vxworks2.sd: Update expected readelf output.
  326. PR ld/20815
  327. * ld.texinfo: Note that PT_TLS can be used as a segment type.
  328. * testsuite/ld-discard/discard.ld: Add space for program headers.
  329. * testsuite/ld-elf/flags1.ld: Likewise.
  330. * testsuite/ld-elf/maxpage3.t: Likewise.
  331. * testsuite/ld-elf/noload-1.t: Likewise.
  332. * testsuite/ld-elf/orphan.ld: Likewise.
  333. * testsuite/ld-elf/overlay.t: Likewise.
  334. * testsuite/ld-elf/pr14052.t: Likewise.
  335. * testsuite/ld-elf/pr19539.t: Likewise.
  336. * testsuite/ld-elf/provide-hidden-1.ld: Likewise.
  337. * testsuite/ld-elf/provide-hidden-s.ld: Likewise.
  338. * testsuite/ld-elf/weak-dyn-1.ld: Likewise.
  339. * testsuite/ld-i386/pr19539.t: Likewise.
  340. * testsuite/ld-scripts/defined.t: Likewise.
  341. * testsuite/ld-scripts/defined6.t: Likewise.
  342. * testsuite/ld-scripts/dynamic-sections.t: Likewise.
  343. * testsuite/ld-scripts/empty-aligned.t: Likewise.
  344. * testsuite/ld-scripts/provide-2.t: Likewise.
  345. * testsuite/ld-scripts/provide-4.t: Likewise.
  346. * testsuite/ld-vax-elf/plt-local.ld: Likewise.
  347. * testsuite/ld-x86-64/pr19539.t: Likewise.
  348. * testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
  349. dynamic linker.
  350. * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
  351. * testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
  352. * testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
  353. * testsuite/ld-elf/noload-2.d: Likewise.
  354. * testsuite/ld-powerpc/vxworks2.sd: Likewise.
  355. * testsuite/ld-scripts/phdrs3a.d: Likewise.
  356. * testsuite/ld-scripts/size-2.d: Likewise.
  357. * testsuite/ld-elf/group.ld: Add program headers.
  358. * testsuite/ld-elf/overlay.d: Skip for SPU.
  359. * testsuite/ld-elf/flags1.d: Skip for RX.
  360. * testsuite/ld-elf/pr19162.d: Skip for HPPA64.
  361. * testsuite/ld-elf/pr19539.d: Skip for ALPHA.
  362. * testsuite/ld-scripts/empty-orphan.t: Update program headers.
  363. * testsuite/ld-scripts/size-2.t: Likewise.
  364. 2016-11-22 Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
  365. * configure: Regenerate.
  366. 2016-11-22 Alan Modra <amodra@gmail.com>
  367. PR 20744
  368. * emultempl/ppc32elf.em (params): Update initializer. Handle
  369. --vle-reloc-fixup command line arg.
  370. 2016-11-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  371. PR ld/20789
  372. * ld/testsuite/ld-avr/pr20789.d: New test.
  373. * ld/testsuite/ld-avr/pr20789.s: New test.
  374. 2016-11-14 H.J. Lu <hongjiu.lu@intel.com>
  375. PR ld/20800
  376. * testsuite/ld-x86-64/pr20800a.S: New file.
  377. * testsuite/ld-x86-64/pr20800b.S: Likewise.
  378. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.
  379. 2016-11-14 Nick Clifton <nickc@redhat.com>
  380. * lexsup.c (parse_args): Add break at end of default case.
  381. 2016-11-10 Jiong Wang <jiong.wang@arm.com>
  382. PR target/20737
  383. * testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
  384. * testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
  385. * testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
  386. * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
  387. 2016-11-07 Nick Clifton <nickc@redhat.com>
  388. PR ld/20784
  389. * emultempl/elf32.em (search_needed): Fix infinite loop when
  390. unable to process a token. Add support for curly braced enclosed
  391. tokens.
  392. * ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
  393. $LIB.
  394. 2016-11-07 Nick Clifton <nickc@redhat.com>
  395. * ld.texinfo (--compress-debug-sections): Expand documentation of
  396. this option.
  397. 2016-11-04 Nick Clifton <nickc@redhat.com>
  398. * emultempl/elf32.em (search_needed): Remove use of getauxval and
  399. inclusion of <sys/auxv.h>. Replace support for $PLATFORM with a
  400. warning message.
  401. * configure.ac (AC_CHECK_FUNCS): Remove getauxval.
  402. * configure: Regenerate.
  403. * config.in: Regenerate.
  404. 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
  405. * ldlang.h (struct lang_wild_statement_struct): Add
  406. exclude_name_list field.
  407. * ldlang.c (walk_wild_file_in_exclude_list): New function.
  408. (walk_wild_consider_section): Use new
  409. walk_wild_file_in_exclude_list function.
  410. (walk_wild_file): Add call to walk_wild_file_in_exclude_list.
  411. (print_wild_statement): Print new exclude_name_list field.
  412. (lang_add_wild): Initialise new exclude_name_list field.
  413. * testsuite/ld-scripts/exclude-file-1.d: New file.
  414. * testsuite/ld-scripts/exclude-file-1.map: New file.
  415. * testsuite/ld-scripts/exclude-file-1.t: New file.
  416. * testsuite/ld-scripts/exclude-file-2.d: New file.
  417. * testsuite/ld-scripts/exclude-file-2.map: New file.
  418. * testsuite/ld-scripts/exclude-file-2.t: New file.
  419. * testsuite/ld-scripts/exclude-file-3.d: New file.
  420. * testsuite/ld-scripts/exclude-file-3.map: New file.
  421. * testsuite/ld-scripts/exclude-file-3.t: New file.
  422. * testsuite/ld-scripts/exclude-file-4.d: New file.
  423. * testsuite/ld-scripts/exclude-file-4.map: New file.
  424. * testsuite/ld-scripts/exclude-file-4.t: New file.
  425. * testsuite/ld-scripts/exclude-file-a.s: New file.
  426. * testsuite/ld-scripts/exclude-file-b.s: New file.
  427. * testsuite/ld-scripts/exclude-file.exp: New file.
  428. * ld.texinfo (Input Section Basics): Update description of
  429. EXCLUDE_FILE to cover the new features.
  430. * NEWS: Mention new EXCLUDE_FILE usage.
  431. 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
  432. * testsuite/lib/ld-lib.exp (run_dump_test): Use object file names
  433. based on the original source file name.
  434. * testsuite/ld-discard/extern.d: Update object file names.
  435. * testsuite/ld-discard/start.d: Likewise.
  436. * testsuite/ld-discard/static.d: Likewise.
  437. * testsuite/ld-elf/orphan-8.map: Likewise.
  438. 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
  439. * testsuite/lib/ld-lib.exp (check_shared_lib_support): Add
  440. xc16x-*-elf to the list of targets that don't support -shared.
  441. 2016-11-04 Andrew Burgess <andrew.burgess@embecosm.com>
  442. * ldgram.y: Rename file_NAME_list to section_NAME_list
  443. throughout.
  444. 2016-11-01 Palmer Dabbelt <palmer@dabbelt.com>
  445. Andrew Waterman <andrew@sifive.com>
  446. Add support for RISC-V architecture.
  447. * Makefile.am: Add riscv files.
  448. * Makefile.in: Regenerate.
  449. * NEWS: Mention the support for this target.
  450. * configure.tgt: Add riscv entries.
  451. * emulparams/elf32lriscv-defs.sh: New file.
  452. * emulparams/elf32lriscv.sh: New file.
  453. * emulparams/elf64lriscv-defs.sh: New file.
  454. * emulparams/elf64lriscv.sh: New file.
  455. * emultempl/riscvelf.em: New file.
  456. 2016-10-31 Thomas Preud'homme <thomas.preudhomme@arm.com>
  457. * ldmain.c (add_archive_element): Initialize input->header.type.
  458. * plugin.c (plugin_maybe_claim): Assert the statement is an input
  459. statement.
  460. 2016-10-15 Alan Modra <amodra@gmail.com>
  461. * emultempl/spu_ovl.o_c: Regenerate.
  462. 2016-10-14 Alan Modra <amodra@gmail.com>
  463. * scripttempl/DWARF.sc: Add .debug_addr.
  464. 2016-10-12 Alan Modra <amodra@gmail.com>
  465. * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
  466. * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
  467. * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
  468. * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
  469. * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
  470. 2016-10-11 Nick Clifton <nickc@redhat.com>
  471. * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
  472. in objdump.
  473. * ld-aarch64/emit-relocs-515.d: Likewise.
  474. * ld-aarch64/emit-relocs-516-be.d: Likewise.
  475. * ld-aarch64/emit-relocs-516.d: Likewise.
  476. * ld-aarch64/farcall-b-plt.d: Likewise.
  477. * ld-aarch64/farcall-bl-plt.d: Likewise.
  478. * ld-aarch64/gc-plt-relocs.d: Likewise.
  479. * ld-aarch64/tls-desc-ie.d: Likewise.
  480. * ld-aarch64/tls-tiny-desc.d: Likewise.
  481. * ld-aarch64/tls-tiny-gd.d: Likewise.
  482. * ld-aarch64/tls-tiny-ie.d: Likewise.
  483. * ld-arm/arm-app-abs32.d: Likewise.
  484. * ld-arm/arm-app.d: Likewise.
  485. * ld-arm/arm-lib-plt32.d: Likewise.
  486. * ld-arm/arm-lib.d: Likewise.
  487. * ld-arm/armthumb-lib.d: Likewise.
  488. * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
  489. * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
  490. * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
  491. * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
  492. * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
  493. * ld-arm/farcall-mixed-app-v5.d: Likewise.
  494. * ld-arm/farcall-mixed-app.d: Likewise.
  495. * ld-arm/farcall-mixed-app2.d: Likewise.
  496. * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
  497. * ld-arm/farcall-mixed-lib.d: Likewise.
  498. * ld-arm/ifunc-10.dd: Likewise.
  499. * ld-arm/ifunc-14.dd: Likewise.
  500. * ld-arm/ifunc-15.dd: Likewise.
  501. * ld-arm/ifunc-3.dd: Likewise.
  502. * ld-arm/ifunc-4.dd: Likewise.
  503. * ld-arm/ifunc-9.dd: Likewise.
  504. * ld-arm/long-plt-format.d: Likewise.
  505. * ld-arm/mixed-app-v5.d: Likewise.
  506. * ld-arm/mixed-app.d: Likewise.
  507. * ld-arm/mixed-lib.d: Likewise.
  508. * ld-arm/tls-lib-loc.d: Likewise.
  509. * ld-cris/dso-pltdis1.d: Likewise.
  510. * ld-cris/dso-pltdis2.d: Likewise.
  511. * ld-cris/dso12-pltdis.d: Likewise.
  512. * ld-elf/symbolic-func.r: Likewise.
  513. * ld-frv/fdpic-pie-1.d: Likewise.
  514. * ld-frv/fdpic-pie-2.d: Likewise.
  515. * ld-frv/fdpic-pie-6.d: Likewise.
  516. * ld-frv/fdpic-pie-7.d: Likewise.
  517. * ld-frv/fdpic-pie-8.d: Likewise.
  518. * ld-frv/fdpic-shared-1.d: Likewise.
  519. * ld-frv/fdpic-shared-2.d: Likewise.
  520. * ld-frv/fdpic-shared-3.d: Likewise.
  521. * ld-frv/fdpic-shared-4.d: Likewise.
  522. * ld-frv/fdpic-shared-5.d: Likewise.
  523. * ld-frv/fdpic-shared-6.d: Likewise.
  524. * ld-frv/fdpic-shared-7.d: Likewise.
  525. * ld-frv/fdpic-shared-8.d: Likewise.
  526. * ld-frv/fdpic-shared-local-2.d: Likewise.
  527. * ld-frv/fdpic-shared-local-8.d: Likewise.
  528. * ld-frv/fdpic-static-1.d: Likewise.
  529. * ld-frv/fdpic-static-2.d: Likewise.
  530. * ld-frv/fdpic-static-6.d: Likewise.
  531. * ld-frv/fdpic-static-7.d: Likewise.
  532. * ld-frv/fdpic-static-8.d: Likewise.
  533. * ld-frv/tls-dynamic-2.d: Likewise.
  534. * ld-frv/tls-initial-shared-2.d: Likewise.
  535. * ld-frv/tls-relax-shared-2.d: Likewise.
  536. * ld-frv/tls-shared-2.d: Likewise.
  537. * ld-i386/plt-nacl.pd: Likewise.
  538. * ld-i386/plt-pic-nacl.pd: Likewise.
  539. * ld-i386/plt-pic.pd: Likewise.
  540. * ld-i386/plt.pd: Likewise.
  541. * ld-i386/pr19636-1d-nacl.d: Likewise.
  542. * ld-i386/pr19636-1d.d: Likewise.
  543. * ld-i386/pr19636-2c-nacl.d: Likewise.
  544. * ld-i386/pr19636-2c.d: Likewise.
  545. * ld-ifunc/ifunc-21-x86-64.d: Likewise.
  546. * ld-ifunc/ifunc-22-x86-64.d: Likewise.
  547. * ld-ifunc/pr17154-i386.d: Likewise.
  548. * ld-ifunc/pr17154-x86-64.d: Likewise.
  549. * ld-m68k/plt1-68020.d: Likewise.
  550. * ld-m68k/plt1-cpu32.d: Likewise.
  551. * ld-m68k/plt1-isab.d: Likewise.
  552. * ld-m68k/plt1-isac.d: Likewise.
  553. * ld-metag/shared.d: Likewise.
  554. * ld-metag/stub_pic_app.d: Likewise.
  555. * ld-metag/stub_pic_shared.d: Likewise.
  556. * ld-metag/stub_shared.d: Likewise.
  557. * ld-s390/tlsbin_64.dd: Likewise.
  558. * ld-s390/tlspic_64.dd: Likewise.
  559. * ld-tic6x/shlib-1.dd: Likewise.
  560. * ld-tic6x/shlib-1b.dd: Likewise.
  561. * ld-tic6x/shlib-1rb.dd: Likewise.
  562. * ld-tic6x/shlib-app-1.dd: Likewise.
  563. * ld-tic6x/shlib-app-1b.dd: Likewise.
  564. * ld-tic6x/shlib-app-1r.dd: Likewise.
  565. * ld-tic6x/shlib-app-1rb.dd: Likewise.
  566. * ld-tic6x/shlib-noindex.dd: Likewise.
  567. * ld-vax-elf/export-class-data.dd: Likewise.
  568. * ld-vax-elf/plt-local-lib.dd: Likewise.
  569. * ld-vax-elf/plt-local.dd: Likewise.
  570. * ld-x86-64/bnd-ifunc-2.d: Likewise.
  571. * ld-x86-64/bnd-plt-1.d: Likewise.
  572. * ld-x86-64/gotpcrel1.dd: Likewise.
  573. * ld-x86-64/libno-plt-1b.dd: Likewise.
  574. * ld-x86-64/load1c-nacl.d: Likewise.
  575. * ld-x86-64/load1c.d: Likewise.
  576. * ld-x86-64/load1d-nacl.d: Likewise.
  577. * ld-x86-64/load1d.d: Likewise.
  578. * ld-x86-64/mov1a.d: Likewise.
  579. * ld-x86-64/mov1b.d: Likewise.
  580. * ld-x86-64/mov1c.d: Likewise.
  581. * ld-x86-64/mov1d.d: Likewise.
  582. * ld-x86-64/mov2a.d: Likewise.
  583. * ld-x86-64/mov2b.d: Likewise.
  584. * ld-x86-64/mov2c.d: Likewise.
  585. * ld-x86-64/mov2d.d: Likewise.
  586. * ld-x86-64/mpx3.dd: Likewise.
  587. * ld-x86-64/mpx4.dd: Likewise.
  588. * ld-x86-64/no-plt-1a.dd: Likewise.
  589. * ld-x86-64/no-plt-1b.dd: Likewise.
  590. * ld-x86-64/no-plt-1c.dd: Likewise.
  591. * ld-x86-64/no-plt-1e.dd: Likewise.
  592. * ld-x86-64/no-plt-1f.dd: Likewise.
  593. * ld-x86-64/no-plt-1g.dd: Likewise.
  594. * ld-x86-64/plt-main-bnd.dd: Likewise.
  595. * ld-x86-64/plt-nacl.pd: Likewise.
  596. * ld-x86-64/plt.pd: Likewise.
  597. * ld-x86-64/pr18591.d: Likewise.
  598. * ld-x86-64/pr19609-1c.d: Likewise.
  599. * ld-x86-64/pr19609-1e.d: Likewise.
  600. * ld-x86-64/pr19609-1j.d: Likewise.
  601. * ld-x86-64/pr19609-1l.d: Likewise.
  602. * ld-x86-64/pr19609-1m.d: Likewise.
  603. * ld-x86-64/pr19609-5b.d: Likewise.
  604. * ld-x86-64/pr19609-5c.d: Likewise.
  605. * ld-x86-64/pr19609-5e.d: Likewise.
  606. * ld-x86-64/pr19609-6b.d: Likewise.
  607. * ld-x86-64/pr19609-7b.d: Likewise.
  608. * ld-x86-64/pr19609-7d.d: Likewise.
  609. * ld-x86-64/pr19636-2d.d: Likewise.
  610. * ld-x86-64/pr20093-1.d: Likewise.
  611. * ld-x86-64/pr20093-2.d: Likewise.
  612. * ld-x86-64/pr20253-1b.d: Likewise.
  613. * ld-x86-64/pr20253-1d.d: Likewise.
  614. * ld-x86-64/pr20253-1f.d: Likewise.
  615. * ld-x86-64/pr20253-1h.d: Likewise.
  616. * ld-x86-64/pr20253-1j.d: Likewise.
  617. * ld-x86-64/pr20253-1l.d: Likewise.
  618. * ld-x86-64/protected3.d: Likewise.
  619. * ld-x86-64/tlsbin.dd: Likewise.
  620. * ld-x86-64/tlsbin2.dd: Likewise.
  621. * ld-x86-64/tlsbindesc.dd: Likewise.
  622. * ld-x86-64/tlsdesc-nacl.pd: Likewise.
  623. * ld-x86-64/tlsdesc.dd: Likewise.
  624. * ld-x86-64/tlsdesc.pd: Likewise.
  625. * ld-x86-64/tlsgd10.dd: Likewise.
  626. * ld-x86-64/tlsgd5.dd: Likewise.
  627. * ld-x86-64/tlsgd6.dd: Likewise.
  628. * ld-x86-64/tlsgd8.dd: Likewise.
  629. * ld-x86-64/tlsgdesc.dd: Likewise.
  630. * ld-x86-64/tlspic.dd: Likewise.
  631. * ld-x86-64/tlspic2.dd: Likewise.
  632. 2016-10-11 Nick Clifton <nickc@redhat.com>
  633. PR ld/20535
  634. * emultempl/elf32.em (_search_needed): Add support for pseudo
  635. environment variables supported by ld.so. Namely $ORIGIN, $LIB
  636. and $PLATFORM.
  637. * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
  638. * config.in: Regenerate.
  639. * configure: Regenerate.
  640. 2016-10-11 Alan Modra <amodra@gmail.com>
  641. * ldlang.c (lang_do_assignments_1): Descend into output section
  642. statements that do not yet have bfd sections. Set symbol section
  643. temporarily for symbols defined in such statements to the undefined
  644. section. Don't error on data or reloc statements until final phase.
  645. * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
  646. in expld.section.
  647. * testsuite/ld-mmix/bpo-10.d: Adjust.
  648. * testsuite/ld-mmix/bpo-11.d: Adjust.
  649. 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
  650. * emulparams/elf64_s390.sh: Move binary start to 16M.
  651. * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
  652. * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  653. 2016-10-07 Alan Modra <amodra@gmail.com>
  654. * ldexp.c (MAX): Define.
  655. (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
  656. etree_type.value.
  657. 2016-10-07 Alan Modra <amodra@gmail.com>
  658. * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
  659. * testsuite/ld-elf/elf.exp: ..here.
  660. 2016-10-06 Ludovic Courtès <ludo@gnu.org>
  661. * emulparams/elf32bmipn32-defs.sh: Shift quote of
  662. "x$EMULATION_NAME" to the left to work around
  663. <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
  664. 2016-10-06 Alan Modra <amodra@gmail.com>
  665. * lexsup.c: Spell fall through comments consistently and add
  666. missing fall through comments.
  667. 2016-10-06 Alan Modra <amodra@gmail.com>
  668. * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
  669. by adding return.
  670. 2016-10-04 Alan Modra <amodra@gmail.com>
  671. * ld.texinfo (Expression Section): Update result of arithmetic
  672. expressions.
  673. * ldexp.c (arith_result_section): New function.
  674. (fold_binary): Use it.
  675. 2016-10-04 Alan Modra <amodra@gmail.com>
  676. * ldexp.c (exp_value_fold): New function.
  677. (exp_unop, exp_binop, exp_trinop): Use it.
  678. 2016-09-30 Alan Modra <amodra@gmail.com>
  679. * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
  680. not relocating.
  681. * scripttempl/v850_rh850.sc: Likewise.
  682. 2016-09-30 Alan Modra <amodra@gmail.com>
  683. PR ld/20528
  684. * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
  685. multiple .text sections for hppa-linux.
  686. * testsuite/ld-elf/pr20528b.d: Likewise.
  687. 2016-09-30 Alan Modra <amodra@gmail.com>
  688. * ldmain.c (default_bfd_error_handler): New function pointer.
  689. (ld_bfd_error_handler): New function.
  690. (main): Arrange to call it on bfd errors/warnings.
  691. (ld_bfd_assert_handler): Enable tail call.
  692. 2016-09-30 Alan Modra <amodra@gmail.com>
  693. * ldlang.c (ignore_bfd_errors): Update params.
  694. 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
  695. PR ld/20528
  696. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  697. merge 2 sections with different SHF_EXCLUDE.
  698. * testsuite/ld-elf/pr20528a.d: New file.
  699. * testsuite/ld-elf/pr20528a.s: Likewise.
  700. * testsuite/ld-elf/pr20528b.d: Likewise.
  701. * testsuite/ld-elf/pr20528b.s: Likewise.
  702. 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
  703. PR ld/20608
  704. * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
  705. * testsuite/ld-arm/farcall-mixed-app2.d: New file.
  706. * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
  707. * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
  708. * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
  709. 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
  710. * Makefile.in: Regenerate.
  711. * configure: Likewise.
  712. 2016-09-26 Alan Modra <amodra@gmail.com>
  713. * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
  714. * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
  715. * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
  716. * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
  717. * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
  718. * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
  719. * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
  720. * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
  721. * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
  722. * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
  723. * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
  724. * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
  725. * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
  726. * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
  727. * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
  728. * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
  729. * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
  730. 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
  731. PR ld/20595
  732. * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
  733. line and -r option to objdump command line. Match emitted relocs
  734. to make sure that superflous relocs are not generated.
  735. 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
  736. * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
  737. * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
  738. * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  739. 2016-09-22 Nick Clifton <nickc@redhat.com>
  740. * emultempl/elf32.em (_try_needed): In verbose mode, report failed
  741. attempts to find a needed library.
  742. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  743. * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
  744. in addresses.
  745. * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
  746. * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
  747. * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
  748. * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
  749. * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
  750. * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
  751. * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
  752. * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
  753. * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
  754. * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
  755. * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
  756. * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
  757. * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
  758. * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
  759. * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
  760. * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
  761. * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
  762. * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
  763. * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
  764. * testsuite/ld-aarch64/erratum835769.d: Likewise.
  765. * testsuite/ld-aarch64/erratum843419.d: Likewise.
  766. * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
  767. * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
  768. * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
  769. * testsuite/ld-aarch64/ifunc-21.d: Likewise.
  770. * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
  771. * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
  772. * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
  773. * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
  774. * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
  775. * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
  776. * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
  777. * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
  778. * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
  779. * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
  780. * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
  781. * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
  782. * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
  783. * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
  784. 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
  785. * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
  786. * testsuite/ld-aarch64/weak-undefined.d: Likewise.
  787. 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
  788. * ld.texinfo (Input Section Basics): Expand the description of
  789. EXCLUDE_FILE.
  790. 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
  791. * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
  792. Extensions entry functions in absolute section.
  793. * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
  794. 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
  795. * testsuite/ld-arc/tls-dtpoff.dd: New file.
  796. * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
  797. * testsuite/ld-arc/tls-dtpoff.s: Likewise.
  798. * testsuite/ld-arc/tls-relocs.ld: Likewise.
  799. * testsuite/ld-arc/arc.exp: Add new tdpoff test.
  800. 2016-09-14 Nick Clifton <nickc@redhat.com>
  801. PR ld/20537
  802. * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
  803. OPTION_NO_EH_FRAME_HDR.
  804. (_add_options): Add support for --no-eh-frame-hdr.
  805. * ld.texinfo: Document new option.
  806. * lexsup.c (elf_shlib_list_options): List new option.
  807. * NEWS: Mention the new option.
  808. 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
  809. PR ld/20550
  810. * testsuite/ld-x86-64/pr20550a.s: New file.
  811. * testsuite/ld-x86-64/pr20550b.s: Likewise.
  812. * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
  813. PR ld/20550.
  814. 2016-09-06 Nick Clifton <nickc@redhat.com>
  815. * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
  816. without any sanitization options.
  817. (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
  818. any sanitization options.
  819. (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
  820. as CFLAGS and CXXFLAGS respectively.
  821. 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  822. PR ld/20545
  823. * testsuite/ld-avr/avr-prop-7.d: New test.
  824. * testsuite/ld-avr/avr-prop-7.s: New test.
  825. * testsuite/ld-avr/avr-prop-8.d: New test.
  826. * testsuite/ld-avr/avr-prop-8.s: New test.
  827. 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
  828. * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
  829. targets.
  830. * testsuite/ld-elf/pr20513d.d: Likewise.
  831. 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
  832. PR ld/20513
  833. * testsuite/ld-elf/pr20513a.d: New file.
  834. * testsuite/ld-elf/pr20513a.s: Likewise.
  835. * testsuite/ld-elf/pr20513b.d: Likewise.
  836. * testsuite/ld-elf/pr20513b.s: Likewise.
  837. * testsuite/ld-elf/pr20513c.d: Likewise.
  838. * testsuite/ld-elf/pr20513d.d: Likewise.
  839. * testsuite/ld-elf/pr20513e.d: Likewise.
  840. * testsuite/ld-elf/pr20513f.d: Likewise.
  841. 2016-08-31 Alan Modra <amodra@gmail.com>
  842. PR 20513
  843. * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
  844. 2016-08-31 Alan Modra <amodra@gmail.com>
  845. * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
  846. * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
  847. * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
  848. * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
  849. * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
  850. 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
  851. * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
  852. * testsuite/ld-arc/tls_ie-01.d: Likewise.
  853. 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
  854. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
  855. if ifunc attribute works.
  856. 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
  857. PR ld/14961
  858. PR ld/20515
  859. * testsuite/ld-i386/i386.exp: Run pr20515.
  860. * testsuite/ld-i386/pr20515.d: New file.
  861. * testsuite/ld-i386/pr20515.s: Likewise.
  862. * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
  863. function.
  864. * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
  865. * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
  866. * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
  867. * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
  868. * testsuite/ld-x86-64/x86-64.exp: Here.
  869. * testsuite/ld-ifunc/pr19784a.c: Moved to ...
  870. * testsuite/ld-x86-64/pr19784a.c: Here.
  871. * testsuite/ld-ifunc/pr19784b.c: Moved to ...
  872. * testsuite/ld-x86-64/pr19784b.c: Here.
  873. * testsuite/ld-ifunc/pr19784c.c: Moved to ...
  874. * testsuite/ld-x86-64/pr19784c.c: Here.
  875. 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
  876. * emultempl/armelf.em (params): New static variable.
  877. (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
  878. fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
  879. no_enum_size_warning, no_wchar_size_warning, pic_veneer,
  880. merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
  881. above new structure.
  882. (arm_elf_before_allocation): Access static variable from the params
  883. structure.
  884. (gld${EMULATION_NAME}_finish): Likewise.
  885. (arm_elf_create_output_section_statements): Likewise and pass the
  886. address of that structure to bfd_elf32_arm_set_target_relocs instead
  887. of the static variables.
  888. (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
  889. structure.
  890. 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
  891. * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
  892. * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
  893. 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
  894. * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
  895. * testsuite/ld-arc/tls_ie-01.d: Likewise
  896. 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
  897. * emultempl/armelf.em (in_implib_filename): Declare and initialize new
  898. variable.
  899. (arm_elf_create_output_section_statements): Open import input library
  900. file for writing and pass resulting in_implib_bfd to
  901. bfd_elf32_arm_set_target_relocs.
  902. (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
  903. (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
  904. (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
  905. (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
  906. * ld.texinfo (--cmse-implib): Update to mention --in-implib.
  907. (--in-implib): Document new option.
  908. * NEWS: Likewise.
  909. * testsuite/ld-arm/arm-elf.exp
  910. (Secure gateway import library generation): add --defsym VER=1 to gas
  911. CLI.
  912. (Secure gateway import library generation: errors): Likewise.
  913. (Input secure gateway import library): New test.
  914. (Input secure gateway import library: no output import library):
  915. Likewise.
  916. (Input secure gateway import library: not an SG input import library):
  917. Likewise.
  918. (Input secure gateway import library: earlier stub section base):
  919. Likewise.
  920. (Input secure gateway import library: later stub section base):
  921. Likewise.
  922. (Input secure gateway import library: veneer comeback): Likewise.
  923. (Input secure gateway import library: entry function change):
  924. Likewise.
  925. * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
  926. * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
  927. * testsuite/ld-arm/cmse-new-implib.out: New file.
  928. * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
  929. * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
  930. * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
  931. * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
  932. * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
  933. * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
  934. 2016-08-25 Alan Modra <amodra@gmail.com>
  935. * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
  936. support for BE. First output all target endian configury
  937. values, then opposite endian. Handle more tooldirs. Fix
  938. bogus matches with strings in MANUF-OS part of target triple.
  939. 2016-08-23 Alan Modra <amodra@gmail.com>
  940. * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
  941. twice.
  942. 2016-08-19 Nick Clifton <nickc@redhat.com>
  943. * emultempl/aarch64elf.em (before_parse): Initialise the relro
  944. field in the link_info structure.
  945. * emultempl/armelf.em (before_parse): Likewise.
  946. * emultempl/linux.em (before_parse): Likewise.
  947. * emultempl/scoreelf.em (before_parse): Likewise.
  948. * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
  949. * testsuite/ld-alpha/tlsbinr.rd: Likewise.
  950. * testsuite/ld-alpha/tlspic.rd: Likewise.
  951. * testsuite/ld-cris/libdso-2.d: Likewise.
  952. * testsuite/ld-i386/nogot1.d: Likewise.
  953. * testsuite/ld-i386/pr12718.d: Likewise.
  954. * testsuite/ld-i386/pr12921.d: Likewise.
  955. * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
  956. * testsuite/ld-i386/tlsbin.rd: Likewise.
  957. * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
  958. * testsuite/ld-i386/tlsbin2.rd: Likewise.
  959. * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
  960. * testsuite/ld-i386/tlsbindesc.rd: Likewise.
  961. * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
  962. * testsuite/ld-i386/tlsdesc.rd: Likewise.
  963. * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
  964. * testsuite/ld-i386/tlsgdesc.rd: Likewise.
  965. * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
  966. * testsuite/ld-i386/tlsnopic.rd: Likewise.
  967. * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
  968. * testsuite/ld-i386/tlspic.rd: Likewise.
  969. * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
  970. * testsuite/ld-i386/tlspic2.rd: Likewise.
  971. * testsuite/ld-ia64/tlsbin.rd: Likewise.
  972. * testsuite/ld-ia64/tlspic.rd: Likewise.
  973. * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
  974. * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
  975. * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
  976. * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
  977. * testsuite/ld-mmix/bspec1.d: Likewise.
  978. * testsuite/ld-mmix/bspec2.d: Likewise.
  979. * testsuite/ld-mmix/local1.d: Likewise.
  980. * testsuite/ld-mmix/local3.d: Likewise.
  981. * testsuite/ld-mmix/local5.d: Likewise.
  982. * testsuite/ld-mmix/local7.d: Likewise.
  983. * testsuite/ld-mmix/undef-3.d: Likewise.
  984. * testsuite/ld-powerpc/tlsexe.r: Likewise.
  985. * testsuite/ld-powerpc/tlsexe32.r: Likewise.
  986. * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
  987. * testsuite/ld-powerpc/tlsso.r: Likewise.
  988. * testsuite/ld-powerpc/tlsso32.r: Likewise.
  989. * testsuite/ld-powerpc/tlstocso.r: Likewise.
  990. * testsuite/ld-s390/tlsbin.rd: Likewise.
  991. * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  992. * testsuite/ld-s390/tlspic.rd: Likewise.
  993. * testsuite/ld-s390/tlspic_64.rd: Likewise.
  994. * testsuite/ld-sh/sh64/crange1.rd: Likewise.
  995. * testsuite/ld-sh/sh64/crange2.rd: Likewise.
  996. * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
  997. * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
  998. * testsuite/ld-sh/sh64/crange3.rd: Likewise.
  999. * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
  1000. * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
  1001. * testsuite/ld-sh/tlsbin-2.d: Likewise.
  1002. * testsuite/ld-sh/tlspic-2.d: Likewise.
  1003. * testsuite/ld-sparc/gotop32.rd: Likewise.
  1004. * testsuite/ld-sparc/gotop64.rd: Likewise.
  1005. * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
  1006. * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
  1007. * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
  1008. * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
  1009. * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
  1010. * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
  1011. * testsuite/ld-tic6x/common.d: Likewise.
  1012. * testsuite/ld-tic6x/shlib-1.rd: Likewise.
  1013. * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  1014. * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  1015. * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  1016. * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  1017. * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  1018. * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  1019. * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  1020. * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  1021. * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  1022. * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  1023. * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  1024. * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  1025. * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
  1026. * testsuite/ld-x86-64/ilp32-4.d: Likewise.
  1027. * testsuite/ld-x86-64/nogot1.d: Likewise.
  1028. * testsuite/ld-x86-64/pr12718.d: Likewise.
  1029. * testsuite/ld-x86-64/pr12921.d: Likewise.
  1030. * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
  1031. * testsuite/ld-x86-64/split-by-file.rd: Likewise.
  1032. * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
  1033. * testsuite/ld-x86-64/tlsbin.rd: Likewise.
  1034. * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
  1035. * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
  1036. * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
  1037. * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
  1038. * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
  1039. * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  1040. * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
  1041. * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
  1042. * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
  1043. * testsuite/ld-x86-64/tlspic.rd: Likewise.
  1044. * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
  1045. * testsuite/ld-x86-64/tlspic2.rd: Likewise.
  1046. * testsuite/ld-xtensa/tlsbin.rd: Likewise.
  1047. * testsuite/ld-xtensa/tlspic.rd: Likewise.
  1048. 2016-08-18 Alan Modra <amodra@gmail.com>
  1049. * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
  1050. unresolved.
  1051. 2016-08-12 Alan Modra <amodra@gmail.com>
  1052. * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
  1053. * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  1054. * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  1055. * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  1056. * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  1057. * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  1058. * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  1059. * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  1060. * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  1061. * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  1062. * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  1063. * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  1064. * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  1065. 2016-08-12 Alan Modra <amodra@gmail.com>
  1066. * testsuite/ld-undefined/weak-fundef.s: New.
  1067. * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
  1068. * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
  1069. much of old code. Use is_elf_format to select targets.
  1070. 2016-08-11 Alan Modra <amodra@gmail.com>
  1071. PR ld/20436
  1072. * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
  1073. remote_exec status.
  1074. (check_gcc_plugin_enabled): Likewise. Revert previous patch.
  1075. 2016-08-11 Nick Clifton <nickc@redhat.com>
  1076. PR ld/20436
  1077. * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
  1078. testing remotely, check to see if target compiler is installed
  1079. before trying to run it.
  1080. 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
  1081. PR ld/15428
  1082. * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
  1083. test 2.
  1084. 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
  1085. * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
  1086. test.
  1087. * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
  1088. test.
  1089. * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
  1090. * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
  1091. * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
  1092. source.
  1093. * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
  1094. source.
  1095. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  1096. 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
  1097. PR ld/20436
  1098. * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
  1099. proc.
  1100. (check_lto_available): Return 0 if check_gcc_plugin_enabled
  1101. returns 0.
  1102. (check_lto_fat_available): Likewise.
  1103. (check_lto_shared_available): Likewise.
  1104. 2016-08-09 Roland McGrath <roland@hack.frob.com>
  1105. * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
  1106. 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1107. * emultempl/armelf.em (cmse_implib): Declare and define this new
  1108. static variable.
  1109. (arm_elf_create_output_section_statements): Add new cmse_implib
  1110. parameter.
  1111. (OPTION_CMSE_IMPLIB): Define macro.
  1112. (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
  1113. (PARSE_AND_LIST_OPTIONS): Likewise.
  1114. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
  1115. * ld.texinfo (--cmse-implib): Document new option.
  1116. * testsuite/ld-arm/arm-elf.exp
  1117. (Secure gateway import library generation): New test.
  1118. (Secure gateway import library generation: errors): Likewise.
  1119. * testsuite/ld-arm/cmse-implib.s: New file.
  1120. * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
  1121. * testsuite/ld-arm/cmse-implib.rd: Likewise.
  1122. 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1123. * ld.texinfo (Placement of SG veneers): New concept entry.
  1124. * testsuite/ld-arm/arm-elf.exp
  1125. (Secure gateway veneers: no .gnu.sgstubs section): New test.
  1126. (Secure gateway veneers: wrong entry functions): Likewise.
  1127. (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
  1128. (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
  1129. * testsuite/ld-arm/cmse-veneers.s: New file.
  1130. * testsuite/ld-arm/cmse-veneers.d: Likewise.
  1131. * testsuite/ld-arm/cmse-veneers.rd: Likewise.
  1132. * testsuite/ld-arm/cmse-veneers.sd: Likewise.
  1133. * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
  1134. * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
  1135. 2016-08-02 Nick Clifton <nickc@redhat.com>
  1136. PR ld/17739
  1137. * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
  1138. valye 'yes'.
  1139. * emulparams/shelf32.sh: Likewise.
  1140. * emulparams/shelf32.sh: Likewise.
  1141. * emulparams/shelf_nto.sh: Likewise.
  1142. * emulparams/shelf_nto.sh: Likewise.
  1143. * emulparams/shelf_vxworks.sh: Likewise.
  1144. * emulparams/shelf_vxworks.sh: Likewise.
  1145. * emulparams/shlelf32_linux.sh: Likewise.
  1146. * emulparams/shlelf32_linux.sh: Likewise.
  1147. * emulparams/shlelf_linux.sh: Likewise.
  1148. * emulparams/shlelf_linux.sh: Likewise.
  1149. * emulparams/shlelf_nto.sh: Likewise.
  1150. * emulparams/shlelf_nto.sh: Likewise.
  1151. 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
  1152. * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
  1153. patterns for branch compaction.
  1154. * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
  1155. Likewise.
  1156. 2016-07-27 Nick Clifton <nickc@redhat.com>
  1157. * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
  1158. test to targets which support cfi.
  1159. 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
  1160. * ldbuildid.c (generate_build_id): Warning fix.
  1161. 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
  1162. * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
  1163. * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
  1164. * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
  1165. * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
  1166. test.
  1167. * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
  1168. test.
  1169. * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
  1170. New test.
  1171. * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
  1172. New test.
  1173. * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
  1174. New test.
  1175. * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
  1176. New test.
  1177. * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
  1178. New test.
  1179. * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
  1180. New test.
  1181. * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
  1182. New test.
  1183. * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
  1184. New test.
  1185. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  1186. 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
  1187. * ldbuildid.c: Changes for MinGW32:
  1188. Include windows.h and rpcdce.h.
  1189. (validate_build_id_style): Allow "uuid" style.
  1190. (generate_build_id): Fill in id_bits using UuidCreate().
  1191. 2016-07-25 Alan Modra <amodra@gmail.com>
  1192. * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
  1193. and m32r. Correct comment. Relax ld -r match to account for
  1194. msp increased number of default sections.
  1195. 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
  1196. * testsuite/ld-arc/got-01.d: New file.
  1197. * testsuite/ld-arc/got-01.s: New file.
  1198. 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
  1199. * configure: Regenerated.
  1200. 2016-07-21 Alan Modra <amodra@gmail.com>
  1201. * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
  1202. "targets_to_xfail" parameter with "args".
  1203. * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
  1204. all calls to run_ld_link_exec_tests.
  1205. * testsuite/ld-elf/dwarf.exp: Likewise.
  1206. * testsuite/ld-elf/indirect.exp: Likewise.
  1207. * testsuite/ld-elf/wrap.exp: Likewise.
  1208. * testsuite/ld-i386/i386.exp: Likewise.
  1209. * testsuite/ld-i386/no-plt.exp: Likewise.
  1210. * testsuite/ld-i386/tls.exp: Likewise.
  1211. * testsuite/ld-ifunc/ifunc.exp: Likewise.
  1212. * testsuite/ld-pie/pie.exp: Likewise.
  1213. * testsuite/ld-plugin/lto.exp: Likewise.
  1214. * testsuite/ld-size/size.exp: Likewise.
  1215. * testsuite/ld-x86-64/mpx.exp: Likewise.
  1216. * testsuite/ld-x86-64/no-plt.exp: Likewise.
  1217. * testsuite/ld-x86-64/tls.exp: Likewise.
  1218. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  1219. * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
  1220. xfails and simplify lists.
  1221. * testsuite/ld-elf/shared.exp: Likewise.
  1222. 2016-07-21 Alan Modra <amodra@gmail.com>
  1223. * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
  1224. parameter to pass list of xfails.
  1225. * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
  1226. implib test formatting. Don't set .data start address.
  1227. * testsuite/ld-elf/implib.s: Remove first .bss directive and
  1228. replace second one with equivalent .section directive.
  1229. * testsuite/ld-elf/empty-implib.out: Add expected final error.
  1230. * testsuite/ld-elf/implib.rd: Update.
  1231. 2016-07-20 Alan Modra <amodra@gmail.com>
  1232. * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
  1233. fold expression.
  1234. * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
  1235. 2016-07-19 Roland McGrath <roland@hack.frob.com>
  1236. * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
  1237. * emulparams/aarch64elf32.sh: Likewise.
  1238. 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
  1239. * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
  1240. messages expected.
  1241. * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
  1242. * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
  1243. * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
  1244. * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
  1245. * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
  1246. * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
  1247. * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
  1248. * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
  1249. * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
  1250. * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
  1251. * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
  1252. * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
  1253. * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
  1254. * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
  1255. * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
  1256. * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
  1257. * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
  1258. * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
  1259. * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
  1260. source.
  1261. * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
  1262. source.
  1263. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  1264. 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
  1265. * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
  1266. expected.
  1267. * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
  1268. * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
  1269. Likewise.
  1270. * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
  1271. Likewise.
  1272. * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
  1273. * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
  1274. * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
  1275. microMIPS BAL and MIPS16 instructions.
  1276. * testsuite/ld-mips-elf/undefweak-overflow.d: Update
  1277. accordingly.
  1278. * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
  1279. * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
  1280. * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
  1281. * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
  1282. * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
  1283. * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
  1284. * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
  1285. * testsuite/ld-mips-elf/unaligned-jump.d: New test.
  1286. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  1287. 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
  1288. * plugin.c (plugin_call_claim_file): Restore the file offset after
  1289. an unsuccessful attempt to claim a file.
  1290. * testplug.c (bytes_to_read_before_claim): New global.
  1291. (record_read_length): New function, sets new global
  1292. bytes_to_read_before_claim.
  1293. (parse_option): Handle 'read:<NUMBER>' option.
  1294. (onclaim_file): Read file content before checking for claim.
  1295. * testsuite/ld-plugin/plugin-30.d: New file.
  1296. * testsuite/ld-plugin/plugin.exp: Add new test.
  1297. 2016-07-16 Alan Modra <amodra@gmail.com>
  1298. * plugin.c: Don't include libbfd.h. Include plugin-api.h
  1299. before bfd/plugin.h.
  1300. (plugin_object_p): Use bfd_plugin_open_input.
  1301. 2016-07-16 Alan Modra <amodra@gmail.com>
  1302. * ldlang.c (open_output): Replace bfd_search_for_target with
  1303. bfd_iterate_over_targets. Localize vars.
  1304. 2016-07-16 Alan Modra <amodra@gmail.com>
  1305. * ldlang.c: Don't include libbfd.h.
  1306. * emultempl/nds32elf.em: Likewise.
  1307. * emultempl/ppc64elf.em: Likewise.
  1308. * emultempl/ppc32elf.em: Likewise.
  1309. (pagesize): Delete.
  1310. (params): Update init.
  1311. (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
  1312. (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
  1313. * emultempl/sh64elf.em: Don't include libbfd.h.
  1314. (after_allocation): Use ASSERT, not BFD_ASSERT.
  1315. * emultempl/xtensaelf.em: Don't include libbfd.h.
  1316. (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
  1317. * Makefile.am: Update dependencies.
  1318. * Makefile.in: Regenerate.
  1319. 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1320. Nick Clifton <nickc@redhat.com>
  1321. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
  1322. library file for writing and initialize implib_bfd field of link_info
  1323. structure.
  1324. * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
  1325. (OPTION_IMPLIB_FILENAME): Remove macro definition.
  1326. (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
  1327. (gld_${EMULATION_NAME}_list_options): Likewise.
  1328. (gld${EMULATION_NAME}_handle_option): Likewise.
  1329. (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
  1330. instead of pe_implib_filename.
  1331. * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
  1332. (OPTION_IMPLIB_FILENAME): Remove enumerator.
  1333. (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
  1334. (gld_${EMULATION_NAME}_list_options): Likewise.
  1335. (gld${EMULATION_NAME}_handle_option): Likewise.
  1336. (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
  1337. instead of pep_implib_filename.
  1338. * ld.h (args_type): Declare new out_implib_filename field.
  1339. * ld.texinfo (--out-implib): Move documentation to arch-independent
  1340. part and rephrase to apply to ELF targets.
  1341. * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
  1342. defined in linker scripts.
  1343. * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
  1344. enumerator.
  1345. * lexsup.c (ld_options): Add entry for new --out-implib switch.
  1346. (parse_args): Handle OPTION_OUT_IMPLIB case.
  1347. * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
  1348. (Generate import library): Likewise.
  1349. * testsuite/ld-elf/implib.s: Likewise.
  1350. * testsuite/ld-elf/implib.rd: New file.
  1351. * testsuite/ld-elf/empty-implib.out: Likewise
  1352. 2016-07-15 Nick Clifton <nickc@redhat.com>
  1353. * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
  1354. little endian mode.
  1355. 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
  1356. * testsuite/ld-mips-elf/mips-elf.exp: Run
  1357. `branch-absolute-addend', `mips16-branch-absolute',
  1358. `mips16-branch-absolute-addend' and
  1359. `micromips-branch-absolute-addend'.
  1360. 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
  1361. * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
  1362. * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
  1363. * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
  1364. * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
  1365. test.
  1366. * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
  1367. test.
  1368. * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
  1369. test.
  1370. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
  1371. from `mips16-branch-absolute' and
  1372. `mips16-branch-absolute-addend', referred indirectly only.
  1373. 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
  1374. * testsuite/ld-mips-elf/branch-absolute.d: New test.
  1375. * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
  1376. * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
  1377. * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
  1378. * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
  1379. * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
  1380. * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
  1381. * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
  1382. test.
  1383. * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
  1384. test.
  1385. * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
  1386. test.
  1387. * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
  1388. New test.
  1389. * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
  1390. New test.
  1391. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
  1392. from `branch-absolute-addend' and
  1393. `micromips-branch-absolute-addend', referred indirectly only.
  1394. 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
  1395. * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
  1396. * testsuite/ld-arc/sda-relocs.dd: New file.
  1397. * testsuite/ld-arc/sda-relocs.ld: Likewise.
  1398. * testsuite/ld-arc/sda-relocs.rd: Likewise.
  1399. * testsuite/ld-arc/sda-relocs.s: Likewise.
  1400. * testsuite/ld-arc/arc.exp: Add SDA tests.
  1401. 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
  1402. * testsuite/ld-arc/nps-1b.err: Update test to handle more
  1403. verbosity.
  1404. 2016-07-09 Alan Modra <amodra@gmail.com>
  1405. * testsuite/ld-powerpc/elfv2exe.d: Update.
  1406. 2016-07-06 James Bowman <james.bowman@ftdichip.com>
  1407. * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
  1408. (DATA): add ALIGN.
  1409. (BSS): add ALIGN
  1410. 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
  1411. * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
  1412. 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
  1413. * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
  1414. * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
  1415. * testsuite/ld-arm/arm-elf.exp: Run it.
  1416. 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
  1417. * testsuite/ld-arm/arm_noread.ld: Renamed to ...
  1418. testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
  1419. all noread's by purecode.
  1420. 2016-07-05 Jan Beulich <jbeulich@suse.com>
  1421. * ldexp.c (exp_fold_tree_1): Set linker_def field based on
  1422. assignment line number.
  1423. * ldlex.l (lineno): Drop initializer.
  1424. (<<EOF>>): Set lineno to zero after reaching top of stack.
  1425. 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
  1426. PR ld/20321
  1427. * plugin.c (plugin_opt_plugin): Warn and return if plugin has
  1428. been loaded already.
  1429. * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
  1430. * testsuite/ld-plugin/pr20321.c: New file.
  1431. 2016-07-04 Nick Clifton <nickc@redhat.com>
  1432. * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
  1433. (__RAMSIZE): If not defined, set to 64K.
  1434. (MEMORY): Set the flash region size to __PMSIZE and the ram region
  1435. size to __RAMSIZE.
  1436. 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
  1437. * testsuite/ld-mips-elf/branch-misc-2.d: New test.
  1438. * testsuite/ld-mips-elf/mips-elf.exp: Run it.
  1439. 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1440. * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
  1441. (Thumb-2 BL on ARMv6-M): New testcase.
  1442. * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
  1443. * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
  1444. 2016-07-01 Tristan Gingold <gingold@adacore.com>
  1445. * NEWS: Add marker for 2.27.
  1446. 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
  1447. * testsuite/ld-gc/gc.exp: Run pr20306 test.
  1448. * ld-gc/pr20306.c: New file.
  1449. * ld-gc/pr20306.d: Likewise.
  1450. 2016-06-28 Nick Clifton <nickc@redhat.com>
  1451. * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
  1452. for bfin.
  1453. * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
  1454. tests to fail for bfin.
  1455. * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
  1456. nds32 and visium.
  1457. * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
  1458. microblaze.
  1459. * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
  1460. mcore-pe.
  1461. 2016-06-28 Nick Clifton <nickc@redhat.com>
  1462. * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
  1463. expect to fail this test.
  1464. * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
  1465. RX.
  1466. * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
  1467. fail for the RX.
  1468. * testsuite/ld-scripts/rgn-at11.d: Likewise.
  1469. * testsuite/ld-scripts/rgn-at2.d: Likewise.
  1470. * testsuite/ld-scripts/rgn-at6.d: Likewise.
  1471. * testsuite/ld-scripts/rgn-at7.d: Likewise.
  1472. * testsuite/ld-scripts/rgn-at8.d: Likewise.
  1473. 2016-06-28 James Clarke <jrtc27@jrtc27.com>
  1474. * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
  1475. .text.
  1476. 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
  1477. * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
  1478. * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
  1479. * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
  1480. * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
  1481. 2016-06-28 Alan Modra <amodra@gmail.com>
  1482. PR ld/20302
  1483. * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
  1484. 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
  1485. * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
  1486. * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
  1487. * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
  1488. * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
  1489. * testsuite/ld-mips-elf/mips16-branch.s: New test source.
  1490. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  1491. 2016-06-27 Nick Clifton <nickc@redhat.com>
  1492. PR ld/20302
  1493. * lexsup.c (set_segment_start): If resetting the start address of
  1494. a section, remember to generate a new script element as well.
  1495. * testsuite/ld-scripts/pr20302.d: New test.
  1496. * testsuite/ld-scripts/scripts.exp: Run the new test.
  1497. 2016-06-24 Alan Modra <amodra@gmail.com>
  1498. * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
  1499. Don't error out, always return an emulation.
  1500. 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
  1501. H.J. Lu <hongjiu.lu@intel.com>
  1502. * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
  1503. for -z relro help message.
  1504. 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
  1505. * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
  1506. address matching.
  1507. 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
  1508. * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
  1509. `undefweak-overflow' tests.
  1510. 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
  1511. PR ld/20283
  1512. * NEWS: Mention --enable-relro.
  1513. * configure.ac: Add --enable-relro.
  1514. (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
  1515. * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
  1516. some Linux targets.
  1517. * config.in: Regenerated.
  1518. * configure: Likewise.
  1519. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
  1520. link_info.relro to DEFAULT_LD_Z_RELRO.
  1521. * testsuite/config/default.exp (ld_elf_shared_opt): New.
  1522. * testsuite/lib/ld-lib.exp (run_dump_test): Pass
  1523. $ld_elf_shared_opt to ld for ELF targets with shared object
  1524. support.
  1525. (run_ld_link_tests): Likewise.
  1526. 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
  1527. * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
  1528. twice rather than once.
  1529. * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
  1530. accordingly. Remove the full stop from the end of the message.
  1531. 2016-06-21 Graham Markall <graham.markall@embecosm.com>
  1532. * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
  1533. * testsuite/ld-arc/nps-1b.d: Likewise.
  1534. 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
  1535. PR ld/20267
  1536. * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
  1537. PR ld/20267.
  1538. (lto_run_tests): Likewise.
  1539. * testsuite/ld-plugin/pr20267a.c: New file.
  1540. * testsuite/ld-plugin/pr20267b.c: Likewise.
  1541. 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
  1542. Alan Modra <amodra@gmail.com>
  1543. PR ld/20276
  1544. * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
  1545. * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
  1546. PR ld/20276.
  1547. (lto_run_tests): Likewise.
  1548. * testsuite/ld-plugin/pass.out: New file.
  1549. * testsuite/ld-plugin/pr20276a.c: Likewise.
  1550. * testsuite/ld-plugin/pr20276b.c: Likewise.
  1551. 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
  1552. * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
  1553. with bfd_plugin_unknown.
  1554. 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
  1555. PR ld/20253
  1556. * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
  1557. * testsuite/ld-i386/no-plt.exp: Likewise.
  1558. * testsuite/ld-x86-64/no-plt.exp: Likewise.
  1559. * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
  1560. * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
  1561. * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
  1562. * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
  1563. * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
  1564. * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
  1565. * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
  1566. * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
  1567. * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
  1568. * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
  1569. * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
  1570. * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
  1571. * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
  1572. * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
  1573. * testsuite/ld-i386/pr20244-2b.d: Updated.
  1574. * testsuite/ld-i386/pr20244-2c.d: Likewise.
  1575. * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
  1576. * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
  1577. * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
  1578. * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
  1579. * testsuite/ld-i386/pr20253-1a.c: New file.
  1580. * testsuite/ld-i386/pr20253-1b.S: Likewise.
  1581. * testsuite/ld-i386/pr20253-1c.S: Likewise.
  1582. * testsuite/ld-i386/pr20253-1d.S: Likewise.
  1583. * testsuite/ld-i386/pr20253-2a.c: Likewise.
  1584. * testsuite/ld-i386/pr20253-2b.S: Likewise.
  1585. * testsuite/ld-i386/pr20253-2c.S: Likewise.
  1586. * testsuite/ld-i386/pr20253-2d.S: Likewise.
  1587. * testsuite/ld-i386/pr20253-3.d: Likewise.
  1588. * testsuite/ld-i386/pr20253-3.s: Likewise.
  1589. * testsuite/ld-i386/pr20253-4.s: Likewise.
  1590. * testsuite/ld-i386/pr20253-4a.d: Likewise.
  1591. * testsuite/ld-i386/pr20253-4b.d: Likewise.
  1592. * testsuite/ld-i386/pr20253-4c.d: Likewise.
  1593. * testsuite/ld-i386/pr20253-5.d: Likewise.
  1594. * testsuite/ld-i386/pr20253-5.s: Likewise.
  1595. * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
  1596. * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
  1597. * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
  1598. * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
  1599. * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
  1600. * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
  1601. * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
  1602. * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
  1603. * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
  1604. * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
  1605. * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
  1606. * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
  1607. * testsuite/ld-x86-64/pr20253-1.s: Likewise.
  1608. * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
  1609. * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
  1610. * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
  1611. * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
  1612. * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
  1613. * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
  1614. * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
  1615. * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
  1616. * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
  1617. * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
  1618. * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
  1619. * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
  1620. * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
  1621. * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
  1622. * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
  1623. * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
  1624. * testsuite/ld-x86-64/pr20253-3.d: Likewise.
  1625. * testsuite/ld-x86-64/pr20253-3.s: Likewise.
  1626. * testsuite/ld-x86-64/pr20253-4.s: Likewise.
  1627. * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
  1628. * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
  1629. * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
  1630. * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
  1631. * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
  1632. * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
  1633. * testsuite/ld-x86-64/pr20253-5.s: Likewise.
  1634. * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
  1635. * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
  1636. * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
  1637. relocation.
  1638. * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
  1639. * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
  1640. * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
  1641. * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
  1642. * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
  1643. 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
  1644. Tony Wang <tony.wang@arm.com>
  1645. * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
  1646. Assemble for ARMv6-M.
  1647. (Thumb2-Thumb2 farcall M profile): New testcase.
  1648. * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
  1649. * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
  1650. reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
  1651. * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
  1652. 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
  1653. * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
  1654. * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
  1655. Remove .rel.plt section.
  1656. * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
  1657. 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
  1658. * testsuite/ld-i386/no-plt-check1a.S (check): Test static
  1659. function pointer.
  1660. * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
  1661. * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
  1662. * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
  1663. function pointer.
  1664. * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
  1665. * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
  1666. * testsuite/ld-i386/no-plt-1a.dd: Updated.
  1667. * testsuite/ld-i386/no-plt-1b.dd: Likewise.
  1668. * testsuite/ld-i386/no-plt-1c.dd: Likewise.
  1669. * testsuite/ld-i386/no-plt-1d.dd: Likewise.
  1670. * testsuite/ld-i386/no-plt-1e.dd: Likewise.
  1671. * testsuite/ld-i386/no-plt-1f.dd: Likewise.
  1672. * testsuite/ld-i386/no-plt-1g.dd: Likewise.
  1673. * testsuite/ld-i386/no-plt-1h.dd: Likewise.
  1674. * testsuite/ld-i386/no-plt-1i.dd: Likewise.
  1675. * testsuite/ld-i386/no-plt-1j.dd: Likewise.
  1676. * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
  1677. * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
  1678. * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
  1679. * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
  1680. * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
  1681. * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
  1682. * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
  1683. 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  1684. PR ld/20254
  1685. * testsuite/ld-avr/avr-prop-6.d: New test.
  1686. * testsuite/ld-avr/avr-prop-6.s: New test.
  1687. 2016-06-14 Alan Modra <amodra@gmail.com>
  1688. * ldbuildid.c: Formatting.
  1689. * ldcref.c: Formatting.
  1690. * ldctor.c: Formatting.
  1691. * ldemul.c: Formatting.
  1692. * ldexp.c: Formatting.
  1693. * ldfile.c: Formatting.
  1694. * ldlang.c: Formatting.
  1695. * ldmain.c: Formatting.
  1696. * ldwrite.c: Formatting.
  1697. 2016-06-14 Alan Modra <amodra@gmail.com>
  1698. * ldlang.c: Expand uses of bfd_my_archive.
  1699. * ldmain.c: Likewise.
  1700. * ldmisc.c: Likewise.
  1701. * plugin.c: Likewise.
  1702. 2016-06-14 Alan Modra <amodra@gmail.com>
  1703. PR ld/20241
  1704. * ldmain.c (add_archive_element): Just print file name of file within
  1705. thin archives.
  1706. * ldmisc.c (vfinfo): Likewise.
  1707. * plugin.c (plugin_object_p): Open file within thin archives.
  1708. (plugin_maybe_claim): Expand comment.
  1709. 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
  1710. PR ld/20244
  1711. * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
  1712. pr20244-2c and pr20244-2d.
  1713. * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
  1714. * testsuite/ld-i386/pr20244-2.s: New file.
  1715. * testsuite/ld-i386/pr20244-2a.d: Likewise.
  1716. * testsuite/ld-i386/pr20244-2b.d: Likewise.
  1717. * testsuite/ld-i386/pr20244-2c.d: Likewise.
  1718. * testsuite/ld-i386/pr20244-2d.d: Likewise.
  1719. * testsuite/ld-i386/pr20244-3a.c: Likewise.
  1720. * testsuite/ld-i386/pr20244-3b.S: Likewise.
  1721. * testsuite/ld-i386/pr20244-3c.S: Likewise.
  1722. * testsuite/ld-i386/pr20244-3d.S: Likewise.
  1723. 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
  1724. * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
  1725. * testsuite/ld-i386/ifunc-1a.c: New file.
  1726. * testsuite/ld-i386/ifunc-1b.S: Likewise.
  1727. * testsuite/ld-i386/ifunc-1c.S: Likewise.
  1728. * testsuite/ld-i386/ifunc-1d.S: Likewise.
  1729. 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
  1730. * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
  1731. big endian ARC targets.
  1732. 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
  1733. * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
  1734. * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
  1735. * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
  1736. * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
  1737. * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
  1738. * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
  1739. * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
  1740. * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
  1741. * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
  1742. * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
  1743. * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
  1744. * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
  1745. * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
  1746. * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
  1747. * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
  1748. 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
  1749. PR ld/20244
  1750. * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
  1751. * testsuite/ld-i386/pr20244-1.s: New file.
  1752. * testsuite/ld-i386/pr20244-1a.d: Likewise.
  1753. * testsuite/ld-i386/pr20244-1b.d: Likewise.
  1754. * testsuite/ld-i386/pr20244-1c.d: Likewise.
  1755. 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  1756. PR ld/20221
  1757. * testsuite/ld-avr/avr-prop-5.d: New.
  1758. * testsuite/ld-avr/avr-prop-5.s: New.
  1759. 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
  1760. * testsuite/ld-avr/lds-mega.d: New test.
  1761. * testsuite/ld-avr/lds-mega.s: New test source.
  1762. * testsuite/ld-avr/lds-tiny.d: New test.
  1763. * testsuite/ld-avr/lds-tiny.s: New test source.
  1764. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  1765. * testsuite/ld-i386/libno-plt-1b.dd: New file.
  1766. * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
  1767. * testsuite/ld-i386/no-plt-1a.dd: Likewise.
  1768. * testsuite/ld-i386/no-plt-1a.rd: Likewise.
  1769. * testsuite/ld-i386/no-plt-1b.dd: Likewise.
  1770. * testsuite/ld-i386/no-plt-1b.rd: Likewise.
  1771. * testsuite/ld-i386/no-plt-1c.dd: Likewise.
  1772. * testsuite/ld-i386/no-plt-1c.rd: Likewise.
  1773. * testsuite/ld-i386/no-plt-1d.dd: Likewise.
  1774. * testsuite/ld-i386/no-plt-1d.rd: Likewise.
  1775. * testsuite/ld-i386/no-plt-1e.dd: Likewise.
  1776. * testsuite/ld-i386/no-plt-1e.rd: Likewise.
  1777. * testsuite/ld-i386/no-plt-1f.dd: Likewise.
  1778. * testsuite/ld-i386/no-plt-1f.rd: Likewise.
  1779. * testsuite/ld-i386/no-plt-1g.dd: Likewise.
  1780. * testsuite/ld-i386/no-plt-1g.rd: Likewise.
  1781. * testsuite/ld-i386/no-plt-1h.dd: Likewise.
  1782. * testsuite/ld-i386/no-plt-1h.rd: Likewise.
  1783. * testsuite/ld-i386/no-plt-1i.dd: Likewise.
  1784. * testsuite/ld-i386/no-plt-1i.rd: Likewise.
  1785. * testsuite/ld-i386/no-plt-1j.dd: Likewise.
  1786. * testsuite/ld-i386/no-plt-1j.rd: Likewise.
  1787. * testsuite/ld-i386/no-plt-check1a.S: Likewise.
  1788. * testsuite/ld-i386/no-plt-check1b.S: Likewise.
  1789. * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
  1790. * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
  1791. * testsuite/ld-i386/no-plt-func1.c: Likewise.
  1792. * testsuite/ld-i386/no-plt-main1.c: Likewise.
  1793. * testsuite/ld-i386/no-plt.exp: Likewise.
  1794. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  1795. * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
  1796. name.
  1797. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  1798. * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
  1799. tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
  1800. * testsuite/ld-i386/pass.out: New file.
  1801. * testsuite/ld-i386/tls-def1.c: Likewise.
  1802. * testsuite/ld-i386/tls-gd1.S: Likewise.
  1803. * testsuite/ld-i386/tls-ld1.S: Likewise.
  1804. * testsuite/ld-i386/tls-main1.c: Likewise.
  1805. * testsuite/ld-i386/tls.exp: Likewise.
  1806. * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
  1807. * testsuite/ld-i386/tlsbin2.dd: Likewise.
  1808. * testsuite/ld-i386/tlsbin2.rd: Likewise.
  1809. * testsuite/ld-i386/tlsbin2.sd: Likewise.
  1810. * testsuite/ld-i386/tlsbin2.td: Likewise.
  1811. * testsuite/ld-i386/tlsbinpic2.s: Likewise.
  1812. * testsuite/ld-i386/tlsgd3.dd: Likewise.
  1813. * testsuite/ld-i386/tlsgd3.s: Likewise.
  1814. * testsuite/ld-i386/tlsgd4.d: Likewise.
  1815. * testsuite/ld-i386/tlsgd4.s: Likewise.
  1816. * testsuite/ld-i386/tlsld2.s: Likewise.
  1817. * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
  1818. * testsuite/ld-i386/tlspic2.dd: Likewise.
  1819. * testsuite/ld-i386/tlspic2.rd: Likewise.
  1820. * testsuite/ld-i386/tlspic2.sd: Likewise.
  1821. * testsuite/ld-i386/tlspic2.td: Likewise.
  1822. * testsuite/ld-i386/tlspic3.s: Likewise.
  1823. * testsuite/ld-i386/tlspie3.s: Likewise.
  1824. * testsuite/ld-i386/tlspie3a.d: Likewise.
  1825. * testsuite/ld-i386/tlspie3b.d: Likewise.
  1826. * testsuite/ld-i386/tlspie3c.d: Likewise.
  1827. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  1828. * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
  1829. * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
  1830. * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
  1831. * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
  1832. * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
  1833. * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
  1834. * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
  1835. * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
  1836. 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
  1837. * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
  1838. * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
  1839. * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
  1840. * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
  1841. * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
  1842. * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
  1843. * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
  1844. * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
  1845. * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
  1846. * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
  1847. * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
  1848. * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
  1849. * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
  1850. * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
  1851. * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
  1852. * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
  1853. * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
  1854. * testsuite/ld-x86-64/no-plt.exp: Likewise.
  1855. * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
  1856. * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
  1857. * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
  1858. 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
  1859. * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
  1860. 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
  1861. * testsuite/ld-s390/pltoffset-1.dd: New test.
  1862. * testsuite/ld-s390/pltoffset-1.ld: New test.
  1863. * testsuite/ld-s390/pltoffset-1.s: New test.
  1864. * testsuite/ld-s390/s390.exp: Run new test.
  1865. 2016-06-07 Alan Modra <amodra@gmail.com>
  1866. * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
  1867. * testsuite/ld-powerpc/apuinfo-vle2.s: New.
  1868. * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
  1869. 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
  1870. * testsuite/ld-x86-64/pass.out: New file.
  1871. * testsuite/ld-x86-64/tls-def1.c: Likewise.
  1872. * testsuite/ld-x86-64/tls-gd1.S: Likewise.
  1873. * testsuite/ld-x86-64/tls-ld1.S: Likewise.
  1874. * testsuite/ld-x86-64/tls-main1.c: Likewise.
  1875. * testsuite/ld-x86-64/tls.exp: Likewise.
  1876. * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
  1877. * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
  1878. * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
  1879. * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
  1880. * testsuite/ld-x86-64/tlsbin2.td: Likewise.
  1881. * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
  1882. * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
  1883. * testsuite/ld-x86-64/tlsgd10.s: Likewise.
  1884. * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
  1885. * testsuite/ld-x86-64/tlsgd11.s: Likewise.
  1886. * testsuite/ld-x86-64/tlsgd12.d: Likewise.
  1887. * testsuite/ld-x86-64/tlsgd12.s: Likewise.
  1888. * testsuite/ld-x86-64/tlsgd13.d: Likewise.
  1889. * testsuite/ld-x86-64/tlsgd13.s: Likewise.
  1890. * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
  1891. * testsuite/ld-x86-64/tlsgd14.s: Likewise.
  1892. * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
  1893. * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
  1894. * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
  1895. * testsuite/ld-x86-64/tlsgd9.s: Likewise.
  1896. * testsuite/ld-x86-64/tlsld4.dd: Likewise.
  1897. * testsuite/ld-x86-64/tlsld4.s: Likewise.
  1898. * testsuite/ld-x86-64/tlsld5.dd: Likewise.
  1899. * testsuite/ld-x86-64/tlsld5.s: Likewise.
  1900. * testsuite/ld-x86-64/tlsld6.dd: Likewise.
  1901. * testsuite/ld-x86-64/tlsld6.s: Likewise.
  1902. * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
  1903. * testsuite/ld-x86-64/tlspic2.dd: Likewise.
  1904. * testsuite/ld-x86-64/tlspic2.rd: Likewise.
  1905. * testsuite/ld-x86-64/tlspic2.sd: Likewise.
  1906. * testsuite/ld-x86-64/tlspic2.td: Likewise.
  1907. * testsuite/ld-x86-64/tlspic3.s: Likewise.
  1908. * testsuite/ld-x86-64/tlspie2.s: Likewise.
  1909. * testsuite/ld-x86-64/tlspie2a.d: Likewise.
  1910. * testsuite/ld-x86-64/tlspie2b.d: Likewise.
  1911. * testsuite/ld-x86-64/tlspie2c.d: Likewise.
  1912. * testsuite/ld-x86-64/tlsgd5.dd: Updated.
  1913. * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
  1914. * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
  1915. tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
  1916. tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
  1917. tlspie2c.
  1918. 2016-06-04 Christian Groessler <chris@groessler.org>
  1919. * testsuite/ld-z8k/0filler.s: New file.
  1920. * testsuite/ld-z8k/branch-target.s: New file.
  1921. * testsuite/ld-z8k/branch-target2.s: New file.
  1922. * testsuite/ld-z8k/calr-back-8001.d: New file.
  1923. * testsuite/ld-z8k/calr-back-8002.d: New file.
  1924. * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
  1925. * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
  1926. * testsuite/ld-z8k/calr-forw-8001.d: New file.
  1927. * testsuite/ld-z8k/calr-forw-8002.d: New file.
  1928. * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
  1929. * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
  1930. * testsuite/ld-z8k/calr-opcode.s: New file.
  1931. * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
  1932. * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
  1933. * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
  1934. * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
  1935. * testsuite/ld-z8k/dbjnz-opcode.s: New file.
  1936. * testsuite/ld-z8k/djnz-back-8001.d: New file.
  1937. * testsuite/ld-z8k/djnz-back-8002.d: New file.
  1938. * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
  1939. * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
  1940. * testsuite/ld-z8k/djnz-forw-8001.d: New file.
  1941. * testsuite/ld-z8k/djnz-forw-8002.d: New file.
  1942. * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
  1943. * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
  1944. * testsuite/ld-z8k/djnz-opcode.s: New file.
  1945. * testsuite/ld-z8k/filler.s: New file.
  1946. * testsuite/ld-z8k/jr-back-8001.d: New file.
  1947. * testsuite/ld-z8k/jr-back-8002.d: New file.
  1948. * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
  1949. * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
  1950. * testsuite/ld-z8k/jr-forw-8001.d: New file.
  1951. * testsuite/ld-z8k/jr-forw-8002.d: New file.
  1952. * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
  1953. * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
  1954. * testsuite/ld-z8k/jr-opcode.s: New file.
  1955. * testsuite/ld-z8k/ldr-back-8001.d: New file.
  1956. * testsuite/ld-z8k/ldr-back-8002.d: New file.
  1957. * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
  1958. * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
  1959. * testsuite/ld-z8k/ldr-forw-8001.d: New file.
  1960. * testsuite/ld-z8k/ldr-forw-8002.d: New file.
  1961. * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
  1962. * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
  1963. * testsuite/ld-z8k/ldr-opcode.s: New file.
  1964. * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
  1965. * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
  1966. * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
  1967. * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
  1968. * testsuite/ld-z8k/ldrb-opcode.s: New file.
  1969. * testsuite/ld-z8k/ldrb-opcode2.s: New file.
  1970. * testsuite/ld-z8k/other-file.s: New file.
  1971. * testsuite/ld-z8k/reloc.dd: New file.
  1972. * testsuite/ld-z8k/reloc.ld: New file.
  1973. * testsuite/ld-z8k/relocseg.dd: New file.
  1974. * testsuite/ld-z8k/relocseg.ld: New file.
  1975. * testsuite/ld-z8k/relocseg1.dd: New file.
  1976. * testsuite/ld-z8k/this-file.s: New file.
  1977. * testsuite/ld-z8k/z8k.exp: New file.
  1978. 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
  1979. * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
  1980. with -mrelax-relocations=yes.
  1981. * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
  1982. * testsuite/ld-i386/lea1b.d (as): Likewise.
  1983. * testsuite/ld-i386/lea1d.d (as): Likewise.
  1984. * testsuite/ld-i386/lea1e.d (as): Likewise.
  1985. * testsuite/ld-i386/lea1f.d (as): Likewise.
  1986. * testsuite/ld-i386/load7.d (as): Likewise.
  1987. * testsuite/ld-i386/mov1b.d (as): Likewise.
  1988. * testsuite/ld-i386/pr19175.d (as): Likewise.
  1989. * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
  1990. * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
  1991. * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
  1992. * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
  1993. gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
  1994. 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
  1995. * configure.tgt: Replace -uclibc with *.
  1996. 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
  1997. * testsuite/ld-mips-elf/unaligned-branch.d: New test.
  1998. * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
  1999. * testsuite/ld-mips-elf/unaligned-text.s: New test source.
  2000. * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
  2001. 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
  2002. * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
  2003. * testsuite/ld-mips-elf/unaligned-data.s: ... this.
  2004. * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
  2005. * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
  2006. * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
  2007. * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
  2008. 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
  2009. * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
  2010. * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
  2011. * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
  2012. * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
  2013. * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
  2014. * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
  2015. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2016. 2016-05-28 Alan Modra <amodra@gmail.com>
  2017. * ldmain.c (multiple_definition, multiple_common, add_to_set,
  2018. constructor_callback, warning_callback, undefined_symbol,
  2019. reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
  2020. * emultempl/elf32.em: Adjust callback calls.
  2021. 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
  2022. * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
  2023. * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
  2024. * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
  2025. test.
  2026. * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
  2027. test.
  2028. * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
  2029. test.
  2030. * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
  2031. test.
  2032. * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
  2033. source.
  2034. * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
  2035. source.
  2036. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2037. 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
  2038. * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
  2039. * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
  2040. new test.
  2041. * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
  2042. 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
  2043. * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
  2044. `unaligned-jalx-2' here.
  2045. * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
  2046. `unaligned-jalx-mips16-2' here.
  2047. * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
  2048. `unaligned-jalx-micromips-2' here.
  2049. * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
  2050. * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
  2051. message.
  2052. * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
  2053. * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
  2054. * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
  2055. * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
  2056. * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
  2057. test.
  2058. * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
  2059. * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
  2060. `unaligned-lwpc-3' here.
  2061. * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
  2062. * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
  2063. `unaligned-lwpc-2' here.
  2064. * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
  2065. * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
  2066. * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
  2067. * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
  2068. * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
  2069. * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
  2070. `unaligned-ldpc-4' here.
  2071. * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
  2072. * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
  2073. message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
  2074. * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
  2075. * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
  2076. * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
  2077. * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
  2078. * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
  2079. * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
  2080. * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
  2081. * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
  2082. 2016-05-26 Nick Clifton <nickc@redhat.com>
  2083. PR target/20134
  2084. * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
  2085. __bsssize.
  2086. * scripttempl/elf32msp430_3.sc (.bss): Likewise.
  2087. 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
  2088. * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
  2089. * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
  2090. * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
  2091. * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
  2092. * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
  2093. * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
  2094. * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
  2095. * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
  2096. * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
  2097. * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
  2098. * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
  2099. * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
  2100. * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
  2101. * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
  2102. * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
  2103. * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
  2104. * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
  2105. * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
  2106. * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
  2107. * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
  2108. * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
  2109. * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
  2110. * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
  2111. * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
  2112. * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
  2113. * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
  2114. * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
  2115. * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
  2116. * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
  2117. * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
  2118. * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
  2119. * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
  2120. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2121. 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
  2122. PR ld/20103
  2123. * ldmain.c (add_archive_element): Don't claim new IR symbols
  2124. after all IR symbols have been claimed.
  2125. * plugin.c (plugin_call_claim_file): Remove no_more_claiming
  2126. check.
  2127. * testsuite/ld-plugin/lto.exp (pr20103): New proc.
  2128. Run PR ld/20103 tests.
  2129. * testsuite/ld-plugin/pr20103a.c: New file.
  2130. * testsuite/ld-plugin/pr20103b.c: Likewise.
  2131. * testsuite/ld-plugin/pr20103c.c: Likewise.
  2132. 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
  2133. * testsuite/ld-mips-elf/jalx-local.d: New test.
  2134. * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
  2135. * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
  2136. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2137. 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
  2138. * Makefile.am: Add earmelf_phoenix.c.
  2139. * Makefile.in: Regenerate.
  2140. * configure.tgt: Add entry for arm-phoenix.
  2141. * emulparams/armelf_phoenix.sh: New file.
  2142. 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
  2143. * emultempl/armelf.em (arm_elf_before_allocation): Call
  2144. bfd_elf32_arm_keep_private_stub_output_sections before generic
  2145. before_allocation function.
  2146. 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
  2147. * testsuite/ld-mips-elf/jalx-addend.d: New test.
  2148. * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
  2149. * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
  2150. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2151. 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
  2152. PR ld/20117
  2153. * testsuite/ld-i386/i386.exp: Run pr20117.
  2154. * testsuite/ld-i386/pr19609-1i.d: Updated.
  2155. * testsuite/ld-i386/pr20117.d: New file.
  2156. * testsuite/ld-i386/pr20117.s: Likewise.
  2157. 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
  2158. * testsuite/ld-elf/compressed1d.d: Removed from notarget.
  2159. * testsuite/ld-elf/group8a.d: Likewise.
  2160. * testsuite/ld-elf/group8b.d: Likewise.
  2161. * testsuite/ld-elf/group9a.d: Likewise.
  2162. * testsuite/ld-elf/group9b.d: Likewise.
  2163. * testsuite/ld-elf/pr12851.d: Likewise.
  2164. * testsuite/ld-elf/pr12975.d: Likewise.
  2165. * testsuite/ld-elf/pr13177.d: Likewise.
  2166. * testsuite/ld-elf/pr13195.d: Likewise.
  2167. * testsuite/ld-elf/pr17615.d: Likewise.
  2168. * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
  2169. * testsuite/ld-elf/group3b.d: Likewise.
  2170. * testsuite/ld-srec/srec.exp: Likewise.
  2171. * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
  2172. as supporting gc.
  2173. (check_shared_lib_support): Mark ARC as supporting.
  2174. 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
  2175. * emulparams/arcelf.sh: Changed.
  2176. * emulparams/arclinux.sh: Likewise.
  2177. * scripttempl/arclinux.sc: Moved to a more standard implementation
  2178. similar to elf.sc.
  2179. 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
  2180. * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
  2181. `ft32-*-*' behind `frv-*-*'.
  2182. 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
  2183. * configure.tgt: Remove `am34-*-linux*' support.
  2184. 2016-05-19 Alan Modra <amodra@gmail.com>
  2185. * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
  2186. * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
  2187. * testsuite/ld-scripts/cross3.t: Likewise.
  2188. * testsuite/ld-scripts/cross4.t: Likewise.
  2189. * testsuite/ld-scripts/cross5.t: Likewise.
  2190. * testsuite/ld-scripts/cross6.t: Likewise.
  2191. * testsuite/ld-scripts/cross7.t: Likewise.
  2192. 2016-05-19 Alan Modra <amodra@gmail.com>
  2193. * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
  2194. exe name rather than constructing testname. Fix typo in
  2195. sub-test name. Log copying. Use -rpath rather than -R.
  2196. 2016-05-18 Nick Clifton <nickc@redhat.com>
  2197. * scripttempl/ft32.sc: Use fixed constants for memory region
  2198. lengths. Include DWARF debug sections.
  2199. (.data .bss): Do not assign locations during relocatable links.
  2200. * testsuite/ld-elf/compressed1d.d: Skip for FT32.
  2201. * testsuite/ld-elf/sec-to-seg.exp: Likewise.
  2202. * testsuite/ld-elf/sec64k.exp: Likewise.
  2203. * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
  2204. * testsuite/ld-elf/merge.d: Likewise.
  2205. * testsuite/ld-elf/orphan-region.d: Likewise.
  2206. * testsuite/ld-elf/orphan.s: Likewise.
  2207. * testsuite/ld-elf/orphan3.d: Likewise.
  2208. * testsuite/ld-elf/pr349.d: Likewise.
  2209. * testsuite/ld-elf/warn2.d: Likewise.
  2210. * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
  2211. that the FT32 does not support shared libraries.
  2212. 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
  2213. * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
  2214. global CC.
  2215. 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2216. * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
  2217. above .progmem*.
  2218. * scripttempl/avrtiny.sc (text): Likewise.
  2219. 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
  2220. * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
  2221. `supports_gnu_unique' to qualify testing.
  2222. 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
  2223. * testsuite/ld-elf/flags1.d: Update the xfail list.
  2224. 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
  2225. * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
  2226. removal.
  2227. 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
  2228. PR ld/20097
  2229. * testplug2.c (onall_symbols_read): Remove redundant sizeof
  2230. on EXPECTED_VIEW_LENGTH.
  2231. * testplug4.c (onall_symbols_read): Likewise.
  2232. 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
  2233. PR ld/20093
  2234. * testsuite/ld-x86-64/pr20093-1.d: New file.
  2235. * testsuite/ld-x86-64/pr20093-1.s: Likewise.
  2236. * testsuite/ld-x86-64/pr20093-2.d: Likewise.
  2237. * testsuite/ld-x86-64/pr20093-2.s: Likewise.
  2238. * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
  2239. 2016-05-13 Alan Modra <amodra@gmail.com>
  2240. * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
  2241. Use different output file name for static app without .rel.plt.
  2242. * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
  2243. * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
  2244. * testsuite/ld-arm/arm-no-rel-plt.r: New.
  2245. * testsuite/ld-arm/arm-static-app.d: Don't check file name.
  2246. * testsuite/ld-arm/arm-static-app.r: Likewise.
  2247. 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
  2248. PR ld/20070
  2249. * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
  2250. (libldtestplug4_la_SOURCES): New.
  2251. (libldtestplug4_la_CFLAGS): Likewise.
  2252. (libldtestplug4_la_LDFLAGS): Likewise.
  2253. * Makefile.in: Regenerated.
  2254. * plugin.c (get_symbols): Return resolution based on IR symbol
  2255. kinds for symbols defined/referenced only within IR.
  2256. * testplug4.c: New file.
  2257. * ld/testsuite/ld-plugin/pr20070.d: Likewise.
  2258. * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
  2259. * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
  2260. * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
  2261. (plugin4_path): Likewise.
  2262. Add a test for ld/20070.
  2263. 2016-05-11 Alan Modra <amodra@gmail.com>
  2264. * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
  2265. Call elf32_hppa_init_stub_bfd.
  2266. 2016-05-11 Alan Modra <amodra@gmail.com>
  2267. PR 20060
  2268. * testsuite/ld-powerpc/powerpc.exp: Run new tests.
  2269. * testsuite/ld-powerpc/tlsdll.s: New.
  2270. * testsuite/ld-powerpc/tlsdll.ver: New.
  2271. * testsuite/ld-powerpc/tlsdll_32.s: New.
  2272. * testsuite/ld-powerpc/tlsopt5.d: New.
  2273. * testsuite/ld-powerpc/tlsopt5.s: New.
  2274. * testsuite/ld-powerpc/tlsopt5_32.d: New.
  2275. * testsuite/ld-powerpc/tlsopt5_32.s: New.
  2276. 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
  2277. * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
  2278. ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
  2279. 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
  2280. * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
  2281. parameter and rename input_section parameter to after_input_section.
  2282. Append input stub section to the output section if after_input_section
  2283. is NULL.
  2284. 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
  2285. * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
  2286. test.
  2287. * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
  2288. * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
  2289. 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
  2290. * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
  2291. 2016-05-09 Christophe Monat <christophe.monat@st.com>
  2292. PR ld/20030
  2293. * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
  2294. tests. Fix misnamed stm32l4xx-fix-all.
  2295. * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
  2296. loads with DP registers.
  2297. * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
  2298. * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
  2299. * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
  2300. loads with DP registers.
  2301. * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
  2302. 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
  2303. * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
  2304. program headers.
  2305. (xfail): Remove avr-*-*.
  2306. Update regex to check the section flags.
  2307. * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
  2308. 2016-05-09 Alan Modra <amodra@gmail.com>
  2309. * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
  2310. * Makefile.in: Regenerate.
  2311. 2016-05-09 Alan Modra <amodra@gmail.com>
  2312. * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
  2313. * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
  2314. * testsuite/ld-scripts/section-match-1.t: Likewise.
  2315. 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
  2316. PR ld/17550
  2317. * testsuite/ld-elf/pr17550-1.s: New file.
  2318. * testsuite/ld-elf/pr17550-2.s: Likewise.
  2319. * testsuite/ld-elf/pr17550-3.s: Likewise.
  2320. * testsuite/ld-elf/pr17550-4.s: Likewise.
  2321. * testsuite/ld-elf/pr17550a.d: Likewise.
  2322. * testsuite/ld-elf/pr17550b.d: Likewise.
  2323. * testsuite/ld-elf/pr17550c.d: Likewise.
  2324. * testsuite/ld-elf/pr17550d.d: Likewise.
  2325. 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2326. * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
  2327. 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
  2328. * testsuite/ld-i386/i386.exp: Run load7.
  2329. * testsuite/ld-i386/load7.d: New file.
  2330. * testsuite/ld-i386/load7.map: Likewise.
  2331. * testsuite/ld-i386/load7.s: Likewise.
  2332. * testsuite/ld-x86-64/load2.d: Likewise.
  2333. * testsuite/ld-x86-64/load2.map: Likewise.
  2334. * testsuite/ld-x86-64/load2.s: Likewise.
  2335. * testsuite/ld-x86-64/x86-64.exp: Run load2.
  2336. 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
  2337. * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
  2338. * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2339. Likewise.
  2340. * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2341. Likewise.
  2342. 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
  2343. * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
  2344. 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
  2345. * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
  2346. 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
  2347. * testsuite/ld-unique/unique.d: New test.
  2348. * testsuite/ld-unique/unique.exp: Run the new test. Adjust
  2349. messages for compiled tests.
  2350. 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2351. * testsuite/ld-elf/pr18735.d: Allow other symbols.
  2352. * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
  2353. * testsuite/ld-gc/pr14265.d: Allow other symbols.
  2354. * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
  2355. plugin_tests only if check_shared_lib_support is true.
  2356. * testsuite/ld-selective/selective.exp: Add --section-start
  2357. flag for avr.
  2358. 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
  2359. PR 10549
  2360. * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
  2361. 2016-05-03 Jiong Wang <jiong.wang@arm.com>
  2362. * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
  2363. * NEWS: Mention --no-apply-dynamic-relocs.
  2364. * ld.texinfo (ld and the ARM family): Document
  2365. --no-apply-dynamic-relocs.
  2366. * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
  2367. * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
  2368. * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
  2369. * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
  2370. option.
  2371. 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2372. * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
  2373. before running STT_COMMON tests.
  2374. 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
  2375. * config/default.exp (NOPIE_CFLAGS): Download source only on
  2376. remote host.
  2377. (NOPIE_LDFLAGS): Likewise.
  2378. * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
  2379. (check_lto_fat_available): Likewise.
  2380. (check_lto_shared_available): Likewise.
  2381. (check_ifunc_available): Likewise.
  2382. (check_ifunc_attribute_available): Likewise.
  2383. 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
  2384. * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
  2385. 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
  2386. PR ld/20006
  2387. * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
  2388. (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
  2389. ELF targets.
  2390. 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
  2391. * testsuite/ld-elf/compressed1b.d: Pass
  2392. --compress-debug-sections=none to ld.
  2393. * testsuite/ld-elf/compressed1c.d: Likewise.
  2394. 2016-04-27 Alan Modra <amodra@gmail.com>
  2395. PR target/19985
  2396. * configure.tgt: Don't use var+=.
  2397. 2016-04-25 Nick Clifton <nickc@redhat.com>
  2398. PR target/19985
  2399. * configure.tgt: Include big endian PPC64 emulations with little
  2400. endian PPC64 targets.
  2401. 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2402. * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
  2403. 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
  2404. * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
  2405. Linux with GCC 4.9 or newer.
  2406. (check_lto_fat_available): Likewise.
  2407. (check_lto_shared_available): Likewise.
  2408. 2016-04-21 Nick Clifton <nickc@redhat.com>
  2409. * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
  2410. prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
  2411. targets. Do not stop the checks when problems are encountered.
  2412. 2016-04-21 Alan Modra <amodra@gmail.com>
  2413. * testsuite/ld-scripts/cross3.t: Add commonly used data
  2414. and text section names to output section statements.
  2415. * testsuite/ld-scripts/cross4.t: Likewise.
  2416. * testsuite/ld-scripts/cross5.t: Likewise.
  2417. * testsuite/ld-scripts/cross6.t: Likewise.
  2418. * testsuite/ld-scripts/cross7.t: Likewise.
  2419. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2420. * ldlang.c (lang_check_relocs): New function.
  2421. (lang_process): Call lang_check_relocs after lang_gc_sections.
  2422. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
  2423. call _bfd_elf_link_check_relocs here.
  2424. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2425. PR ld/19972
  2426. * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
  2427. R_386_NONE or R_X86_64_NONE.
  2428. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2429. * testsuite/ld-x86-64/pic1.d: New file.
  2430. * testsuite/ld-x86-64/pic1.s: Likewise.
  2431. * testsuite/ld-x86-64/x86-64.exp: Run pic1.
  2432. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2433. * testsuite/ld-x86-64/pie2.d: New file.
  2434. * testsuite/ld-x86-64/pie2.s: Likewise.
  2435. * testsuite/ld-x86-64/x86-64.exp: Run pie2.
  2436. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2437. PR ld/19969
  2438. * testsuite/ld-x86-64/pr19969.d: New file.
  2439. * testsuite/ld-x86-64/pr19969a.S: Likewise.
  2440. * testsuite/ld-x86-64/pr19969b.S: Likewise.
  2441. * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
  2442. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2443. * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2444. New.
  2445. * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2446. Likewise.
  2447. * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2448. Likewise.
  2449. * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2450. Likewise.
  2451. * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2452. Likewise.
  2453. * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2454. Likewise.
  2455. * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2456. Likewise.
  2457. * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
  2458. Likewise.
  2459. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
  2460. Set check_relocs_after_open_input to TRUE if
  2461. CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
  2462. (gld${EMULATION_NAME}_after_open): Call
  2463. _bfd_elf_link_check_relocs on all inputs if
  2464. check_relocs_after_open_input is TRUE.
  2465. 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2466. * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
  2467. my_personality_v0.
  2468. 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
  2469. * emultempl/scoreelf.em: Likewise.
  2470. 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
  2471. PR ld/19719
  2472. * testsuite/ld-x86-64/pr19719.d: New file.
  2473. * testsuite/ld-x86-64/pr19719.s: Likewise.
  2474. * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
  2475. 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
  2476. * ld.texinfo: Document NOCROSSREFS_TO script command.
  2477. * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
  2478. (lang_add_nocrossref_to): New prototype.
  2479. * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
  2480. symbols defined in the first section.
  2481. (check_nocrossref): Likewise.
  2482. * ldgram.y (NOCROSSREFS_TO): New script command.
  2483. * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
  2484. (lang_add_nocrossref_to): New function.
  2485. * ldlex.l (NOCROSSREFS_TO): New token.
  2486. * NEWS: Mention NOCROSSREFS_TO.
  2487. * testsuite/ld-scripts/cross4.t: New file.
  2488. * testsuite/ld-scripts/cross5.t: Likewise.
  2489. * testsuite/ld-scripts/cross6.t: Likewise.
  2490. * testsuite/ld-scripts/cross7.t: Likewise.
  2491. * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
  2492. tests.
  2493. 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
  2494. * Makefile.in: Regenerated with automake 1.11.6.
  2495. * aclocal.m4: Likewise.
  2496. 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
  2497. * testsuite/ld-arc/arc.exp: New file.
  2498. * testsuite/ld-arc/nps-1.s: New file.
  2499. * testsuite/ld-arc/nps-1a.d: New file.
  2500. * testsuite/ld-arc/nps-1b.d: New file.
  2501. * testsuite/ld-arc/nps-1b.err: New file.
  2502. 2016-04-14 Nick Clifton <nickc@redhat.com>
  2503. PR 19457
  2504. * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
  2505. exceptions for Mingw and Cygwin.
  2506. 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
  2507. * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
  2508. check_ld(terminal).
  2509. 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
  2510. PR ld/19774
  2511. * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
  2512. tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
  2513. tests.
  2514. 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
  2515. PR ld/19939
  2516. * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
  2517. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  2518. * testsuite/ld-i386/pr19939.s: New file.
  2519. * testsuite/ld-i386/pr19939a.d: Likewise.
  2520. * testsuite/ld-i386/pr19939b.d: Likewise.
  2521. * testsuite/ld-x86-64/pr19939.s: Likewise.
  2522. * testsuite/ld-x86-64/pr19939a.d: Likewise.
  2523. * testsuite/ld-x86-64/pr19939b.d: Likewise.
  2524. 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
  2525. * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
  2526. 2016-04-08 Alan Modra <amodra@gmail.com>
  2527. PR 18452
  2528. * ldlang.c (maybe_overlays): Delete.
  2529. (lang_size_sections_1): Remove code setting maybe_overlays.
  2530. (lang_check_section_addresses): Instead detect overlays by
  2531. exact match of section VMAs here. Fix memory leak.
  2532. 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
  2533. * ldlang.c (print_output_section_statement): Show minfo size
  2534. in target machine address units.
  2535. (print_reloc_statement): Likewise.
  2536. (print_padding_statement): Likewise.
  2537. (print_data_statement): Likewise. Ensure minimum print_dot
  2538. increment of one address unit.
  2539. 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
  2540. * emulparams/arc-endianness.sh: Make little endian default choice.
  2541. 2016-04-07 Nick Clifton <nickc@redhat.com>
  2542. * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
  2543. section name.
  2544. * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
  2545. 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
  2546. * emulparams/arc-endianness.sh: New file.
  2547. * emulparams/arcebelf.sh: Deleted.
  2548. * emulparams/arcebelf_prof.sh: Deleted.
  2549. * emulparams/arceblinux.sh: Deleted.
  2550. * emulparams/arceblinux_prof.sh: Deleted.
  2551. * emulparams/arcelf.sh: Include arc-endinness.sh.
  2552. * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
  2553. * emulparams/arclinux.sh: Include arc-endinness.sh.
  2554. * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
  2555. * emulparams/arcv2elf.sh: Include arc-endinness.sh.
  2556. * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
  2557. * testsuite/ld-elf/compressed1d.d: Update pattern for big and
  2558. little endian arc targets.
  2559. * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
  2560. * testsuite/ld-elf/group1.d: Likewise.
  2561. * testsuite/ld-elf/group3b.d: Likewise.
  2562. * testsuite/ld-elf/group8a.d: Likewise.
  2563. * testsuite/ld-elf/group8b.d: Likewise.
  2564. * testsuite/ld-elf/group9a.d: Likewise.
  2565. * testsuite/ld-elf/group9b.d: Likewise.
  2566. * testsuite/ld-elf/linkonce2.d: Likewise.
  2567. * testsuite/ld-elf/pr12851.d: Likewise.
  2568. * testsuite/ld-elf/pr12975.d: Likewise.
  2569. * testsuite/ld-elf/pr13177.d: Likewise.
  2570. * testsuite/ld-elf/pr13195.d: Likewise.
  2571. * testsuite/ld-elf/pr17615.d: Likewise.
  2572. * testsuite/ld-elf/pr19162.d: Likewise.
  2573. * testsuite/ld-elf/sec64k.exp: Likewise.
  2574. * testsuite/lib/ld-lib.exp: Likewise.
  2575. 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
  2576. PR ld/19908
  2577. * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
  2578. handling fix.
  2579. * testsuite/ld-cris/tls-e-20a.d: Likewise.
  2580. * testsuite/ld-cris/tls-e-21.d: Likewise.
  2581. * testsuite/ld-cris/tls-e-23.d: Likewise.
  2582. * testsuite/ld-cris/tls-e-80.d: Likewise.
  2583. * testsuite/ld-cris/tls-gd-3h.d: Likewise.
  2584. * testsuite/ld-cris/tls-leie-19.d: Likewise.
  2585. * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
  2586. * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
  2587. * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
  2588. * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
  2589. * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
  2590. * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
  2591. * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
  2592. * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
  2593. 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
  2594. * testsuite/ld-discard/extern.d: Removed xfail for ARC.
  2595. * testsuite/ld-discard/start.d: Likewise.
  2596. * testsuite/ld-discard/static.d: Likewise.
  2597. * testsuite/ld-elf/group1.d: Likewise.
  2598. * testsuite/ld-elf/group3b.d: Likewise.
  2599. * testsuite/ld-elf/orphan-region.d: Likewise.
  2600. * testsuite/ld-elf/orphan.d: Likewise.
  2601. * testsuite/ld-elf/orphan3.d: Likewise.
  2602. * testsuite/ld-elf/pr349.d: Likewise.
  2603. * testsuite/ld-elf/warn1.d: Likewise.
  2604. * testsuite/ld-elf/warn2.d: Likewise.
  2605. * testsuite/ld-elf/warn3.d: Likewise.
  2606. * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
  2607. through linker flags.
  2608. * testsuite/ld-srec/srec.exp: Set as xfail.
  2609. 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
  2610. PR ld/19827
  2611. * testsuite/ld-i386/pr19827-nacl.rd: New file.
  2612. * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
  2613. 2016-04-04 Nick Clifton <nickc@redhat.com>
  2614. PR 19803
  2615. * emultempl/pe.em (change_undef): New function. Encapsulates
  2616. duplicated code in pe_fixup_stdcalls and adds the newly defined
  2617. sym to the gc root list.
  2618. (pe_fixup_stdcall): Use the new function.
  2619. * pe-dll.c (process_def_file_and_drectve); Add alias of exported
  2620. symbol to gc root list.
  2621. 2016-03-31 Alan Modra <amodra@gmail.com>
  2622. * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
  2623. (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
  2624. (print_input_section): Don't use TO_ADDR when printing section
  2625. size.
  2626. (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
  2627. (lang_size_sections): Use TO_ADDR in relro end calculation.
  2628. 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
  2629. * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
  2630. value from regexp_diff.
  2631. * testsuite/ld-elf/orphan-5.l: Fix expected output.
  2632. * testsuite/ld-elf/orphan-6.l: Likewise.
  2633. 2016-03-30 Alan Modra <amodra@gmail.com>
  2634. PR 18452
  2635. * ldlang.c (maybe_overlays): New static var.
  2636. (lang_size_sections_1): Set it here.
  2637. (struct check_sec): New.
  2638. (sort_sections_by_lma): Adjust for array of structs.
  2639. (sort_sections_by_vma): New function.
  2640. (lang_check_section_addresses): Check both LMA and VMA for overlap.
  2641. * testsuite/ld-scripts/rgn-over7.d: Adjust.
  2642. 2016-03-30 Alan Modra <amodra@gmail.com>
  2643. * ldlang.c (lang_size_sections_1): Correct code detecting a
  2644. backward non-overlapping move.
  2645. 2016-03-30 Alan Modra <amodra@gmail.com>
  2646. * ldlang.c (IS_TBSS): New macro, extracted from..
  2647. (IGNORE_SECTION): ..here.
  2648. (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
  2649. (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
  2650. 2016-03-22 Nick Clifton <nickc@redhat.com>
  2651. PR ld/19803
  2652. * ldlang.c (lang_add_gc_name): New function. Adds the provided
  2653. symbol name to the list of gc symbols.
  2654. (lang_process): Call lang_add_gc_name with entry_symbol_default if
  2655. entry_symbol.name is NULL. Use lang_add_gc_name to add the init
  2656. and fini function names.
  2657. * pe-dll.c (process_def_file_and_drectve): Add exported names to
  2658. the gc symbol list.
  2659. * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
  2660. * testsuite/ld-pe/pr19803.d: Tweak expected output.
  2661. 2016-03-22 Nick Clifton <nickc@redhat.com>
  2662. * configure: Regenerate.
  2663. 2016-03-21 Nick Clifton <nickc@redhat.com>
  2664. * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
  2665. * plugin.c: Likewise.
  2666. * pe-dll.c: Likewise.
  2667. 2016-03-18 Awson <kyrab@mail.ru>
  2668. PR 19531
  2669. * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
  2670. this section.
  2671. * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
  2672. 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
  2673. * ld-avr/gc-section-debugline.d: Relax regex check for CU.
  2674. 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
  2675. PR ld/19827
  2676. * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
  2677. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  2678. * testsuite/ld-i386/pr19827.rd: New file.
  2679. * testsuite/ld-i386/pr19827a.S: Likewise.
  2680. * testsuite/ld-i386/pr19827b.S: Likewise.
  2681. * testsuite/ld-x86-64/pr19827.rd: Likewise.
  2682. * testsuite/ld-x86-64/pr19827a.S: Likewise.
  2683. * testsuite/ld-x86-64/pr19827b.S: Likewise.
  2684. 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
  2685. PR ld/19807
  2686. * Makefile.am (ELF_X86_DEPS): Add
  2687. $(srcdir)/emulparams/reloc_overflow.sh.
  2688. * Makefile.in: Regenerated.
  2689. * NEWS: Mention -z noreloc-overflow.
  2690. * ld.texinfo: Document -z noreloc-overflow.
  2691. * emulparams/elf32_x86_64.sh: Source
  2692. ${srcdir}/emulparams/reloc_overflow.sh.
  2693. * emulparams/elf_x86_64.sh: Likewise.
  2694. * emulparams/reloc_overflow.sh: New file.
  2695. * testsuite/ld-x86-64/pr19807-1.s: New file.
  2696. * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
  2697. * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
  2698. * testsuite/ld-x86-64/pr19807-2.s: Likewise.
  2699. * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
  2700. * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
  2701. * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
  2702. * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
  2703. * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
  2704. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
  2705. 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
  2706. PR ld/19539
  2707. * testsuite/ld-i386/i386.exp: Run pr19539.
  2708. * testsuite/ld-i386/pr19539.d: New file.
  2709. * testsuite/ld-i386/pr19539.s: Likewise.
  2710. * testsuite/ld-i386/pr19539.t: Likewise.
  2711. * testsuite/ld-x86-64/pr19539.s: Likewise.
  2712. * testsuite/ld-x86-64/pr19539.t: Likewise.
  2713. * testsuite/ld-x86-64/pr19539a.d: Likewise.
  2714. * testsuite/ld-x86-64/pr19539b.d: Likewise.
  2715. * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
  2716. 2016-03-10 Mickael Guene <mickael.guene@st.com>
  2717. PR gas/19744
  2718. * testsuite/ld-arm/arm-elf.exp: New tests.
  2719. * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
  2720. * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
  2721. 2016-03-10 Nick Clifton <nickc@redhat.com>
  2722. * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
  2723. 2016-03-09 Pedro Alves <palves@redhat.com>
  2724. * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
  2725. * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
  2726. 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
  2727. PR ld/19789
  2728. * testsuite/ld-elf/pr19789.d: New file.
  2729. * testsuite/ld-elf/pr19789.s: Likewise.
  2730. 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
  2731. PR ld/19784
  2732. * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
  2733. * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
  2734. * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
  2735. * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
  2736. * testsuite/ld-ifunc/pass.out: New file.
  2737. * testsuite/ld-ifunc/pr19784a.c: Likewise.
  2738. * testsuite/ld-ifunc/pr19784b.c: Likewise.
  2739. * testsuite/ld-ifunc/pr19784c.c: Likewise.
  2740. 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
  2741. PR ld/19774
  2742. * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
  2743. tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
  2744. tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
  2745. --as-needed for pr18841c.
  2746. 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
  2747. PR ld/19774
  2748. * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
  2749. tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
  2750. before tmpdir/got1d.so and test --as-needed.
  2751. * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
  2752. tmpdir/pr18900.so and test --as-needed.
  2753. 2016-03-07 Jiong Wang <jiong.wang@arm.com>
  2754. * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
  2755. * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
  2756. result.
  2757. * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
  2758. 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
  2759. * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
  2760. before tmpdir/copyreloc-lib.so and test --as-needed.
  2761. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  2762. 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
  2763. PR ld/19579
  2764. * testsuite/ld-elf/pr19579a.c: New file.
  2765. * testsuite/ld-elf/pr19579b.c: Likewise.
  2766. * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
  2767. 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
  2768. * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
  2769. 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
  2770. * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
  2771. Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
  2772. 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
  2773. PR ld/19739
  2774. * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
  2775. input sections for relocatable link.
  2776. * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  2777. * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
  2778. 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
  2779. PR ld/19739
  2780. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
  2781. merge flags of other input sections for relocatable link.
  2782. 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
  2783. * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
  2784. 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
  2785. * testsuite/ld-elf/pr19162.d: Skip arc target.
  2786. 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
  2787. PR ld/19162
  2788. * testsuite/ld-elf/pr19162.d: New file.
  2789. * testsuite/ld-elf/pr19162a.s: Likwise.
  2790. * testsuite/ld-elf/pr19162b.s: Likwise.
  2791. 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
  2792. * testsuite/ld-elf/merge.d: Removed xfail for ARC.
  2793. * testsuite/ld-elf/merge2.d: Likewise.
  2794. * testsuite/ld-elf/merge3.d: Likewise.
  2795. 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
  2796. * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
  2797. generated.
  2798. 2016-02-26 Renlin Li <renlin.li@arm.com>
  2799. * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
  2800. * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
  2801. * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
  2802. * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
  2803. * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
  2804. * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
  2805. * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
  2806. * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
  2807. * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
  2808. * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
  2809. 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
  2810. PR ld/19609
  2811. * testsuite/ld-i386/got1.dd: Updated.
  2812. * testsuite/ld-i386/lea1c.d: Likewise.
  2813. * testsuite/ld-i386/load1-nacl.d: Likewise.
  2814. * testsuite/ld-i386/load1.d: Likewise.
  2815. * testsuite/ld-i386/load4b.d: Likewise.
  2816. * testsuite/ld-i386/load5b.d: Likewise.
  2817. * testsuite/ld-i386/mov1b.d: Likewise.
  2818. * testsuite/ld-x86-64/mov1b.d: Likewise.
  2819. * testsuite/ld-x86-64/mov1d.d: Likewise.
  2820. * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
  2821. * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
  2822. * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
  2823. * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
  2824. * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
  2825. * testsuite/ld-x86-64/lea1a.d: Likewise.
  2826. * testsuite/ld-x86-64/lea1b.d: Likewise.
  2827. * testsuite/ld-x86-64/lea1c.d: Likewise.
  2828. * testsuite/ld-x86-64/lea1d.d: Likewise.
  2829. * testsuite/ld-x86-64/lea1e.d: Likewise.
  2830. * testsuite/ld-x86-64/lea1f.d: Likewise.
  2831. * testsuite/ld-x86-64/mov1b.d: Likewise.
  2832. * testsuite/ld-x86-64/mov1d.d: Likewise.
  2833. * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
  2834. * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
  2835. * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
  2836. * testsuite/ld-i386/pr19609-1.s: New file.
  2837. * testsuite/ld-i386/pr19609-1a.d: Likewise.
  2838. * testsuite/ld-i386/pr19609-1b.d: Likewise.
  2839. * testsuite/ld-i386/pr19609-1c.d: Likewise.
  2840. * testsuite/ld-i386/pr19609-1d.d: Likewise.
  2841. * testsuite/ld-i386/pr19609-1e.d: Likewise.
  2842. * testsuite/ld-i386/pr19609-1f.d: Likewise.
  2843. * testsuite/ld-i386/pr19609-1g.d: Likewise.
  2844. * testsuite/ld-i386/pr19609-1h.d: Likewise.
  2845. * testsuite/ld-i386/pr19609-1i.d: Likewise.
  2846. * testsuite/ld-i386/pr19609-2.s: Likewise.
  2847. * testsuite/ld-i386/pr19609-2a.d: Likewise.
  2848. * testsuite/ld-i386/pr19609-2b.d: Likewise.
  2849. * testsuite/ld-i386/pr19609-2c.d: Likewise.
  2850. * testsuite/ld-i386/undefweak.s: Likewise.
  2851. * testsuite/ld-i386/undefweaka.d: Likewise.
  2852. * testsuite/ld-i386/undefweakb.d: Likewise.
  2853. * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
  2854. * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
  2855. * testsuite/ld-x86-64/pr19609-1.s: Likewise.
  2856. * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
  2857. * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
  2858. * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
  2859. * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
  2860. * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
  2861. * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
  2862. * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
  2863. * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
  2864. * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
  2865. * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
  2866. * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
  2867. * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
  2868. * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
  2869. * testsuite/ld-x86-64/pr19609-2.s: Likewise.
  2870. * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
  2871. * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
  2872. * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
  2873. * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
  2874. * testsuite/ld-x86-64/pr19609-3.s: Likewise.
  2875. * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
  2876. * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
  2877. * testsuite/ld-x86-64/pr19609-4.s: Likewise.
  2878. * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
  2879. * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
  2880. * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
  2881. * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
  2882. * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
  2883. * testsuite/ld-x86-64/pr19609-5.s: Likewise.
  2884. * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
  2885. * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
  2886. * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
  2887. * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
  2888. * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
  2889. * testsuite/ld-x86-64/pr19609-6.s: Likewise.
  2890. * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
  2891. * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
  2892. * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
  2893. * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
  2894. * testsuite/ld-x86-64/pr19609-7.s: Likewise.
  2895. * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
  2896. * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
  2897. * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
  2898. * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
  2899. * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
  2900. PR ld/19609.
  2901. * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
  2902. and tests for PR ld/19609.
  2903. 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
  2904. PR ld/19645
  2905. * NEWS: Mention -z common/-z nocommon for ELF targets.
  2906. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
  2907. -z common and -z nocommon.
  2908. * ld.texinfo: Document -z common/-z nocommon.
  2909. * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
  2910. * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
  2911. --elf-stt-common=yes with assembler.
  2912. * testsuite/ld-elfcomm/common-1.s: New file.
  2913. * testsuite/ld-elfcomm/common-1a.d: Likewise.
  2914. * testsuite/ld-elfcomm/common-1b.d: Likewise.
  2915. * testsuite/ld-elfcomm/common-1c.d: Likewise.
  2916. * testsuite/ld-elfcomm/common-1d.d: Likewise.
  2917. * testsuite/ld-elfcomm/common-1e.d: Likewise.
  2918. * testsuite/ld-elfcomm/common-1f.d: Likewise.
  2919. * testsuite/ld-elfcomm/common-2.s: Likewise.
  2920. * testsuite/ld-elfcomm/common-2a.d: Likewise.
  2921. * testsuite/ld-elfcomm/common-2b.d: Likewise.
  2922. * testsuite/ld-elfcomm/common-2c.d: Likewise.
  2923. * testsuite/ld-elfcomm/common-2d.d: Likewise.
  2924. * testsuite/ld-elfcomm/common-2e.d: Likewise.
  2925. * testsuite/ld-elfcomm/common-2f.d: Likewise.
  2926. * testsuite/ld-elfcomm/common-3a.rd: Likewise.
  2927. * testsuite/ld-elfcomm/common-3b.rd: Likewise.
  2928. * testsuite/ld-i386/pr19645.d: Likewise.
  2929. * testsuite/ld-i386/pr19645.s: Likewise.
  2930. * testsuite/ld-x86-64/largecomm-1.s: Likewise.
  2931. * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
  2932. * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
  2933. * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
  2934. * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
  2935. * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
  2936. * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
  2937. * testsuite/ld-x86-64/pr19645.d: Likewise.
  2938. * testsuite/ld-x86-64/pr19645.s: Likewise.
  2939. * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
  2940. with assembler.
  2941. (assembler_generates_commons): Removed.
  2942. Run -z common/-z nocommon tests. Run *.d tests.
  2943. * testsuite/ld-i386/i386.exp: Run pr19645.
  2944. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  2945. * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
  2946. assembler. Test STT_COMMON with readelf.
  2947. 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
  2948. PR ld/19636
  2949. PR ld/19704
  2950. PR ld/19719
  2951. * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
  2952. * Makefile.in: Regenerated.
  2953. * NEWS: Mention -z nodynamic-undefined-weak.
  2954. * ld.texinfo: Document -z nodynamic-undefined-weak.
  2955. * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
  2956. * emulparams/dynamic_undefined_weak.sh: New file.
  2957. * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
  2958. * emulparams/elf_i386.sh: Likewise.
  2959. * emulparams/elf_i386_be.sh: Likewise.
  2960. * emulparams/elf_i386_chaos.sh: Likewise.
  2961. * emulparams/elf_i386_ldso.sh: Likewise.
  2962. * emulparams/elf_i386_vxworks.sh: Likewise.
  2963. * emulparams/elf_iamcu.sh: Likewise.
  2964. * emulparams/elf_k1om.sh: Likewise.
  2965. * emulparams/elf_l1om.sh: Likewise.
  2966. * emulparams/elf_x86_64.sh: Likewise.
  2967. * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
  2968. Append.
  2969. (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
  2970. * testsuite/ld-elf/pr19719a.c: New file.
  2971. * testsuite/ld-elf/pr19719b.c: Likewise.
  2972. * testsuite/ld-elf/pr19719c.c: Likewise.
  2973. * testsuite/ld-elf/pr19719d.c: Likewise.
  2974. * testsuite/ld-i386/pr19636-1.s: Likewise.
  2975. * testsuite/ld-i386/pr19636-1a.d: Likewise.
  2976. * testsuite/ld-i386/pr19636-1b.d: Likewise.
  2977. * testsuite/ld-i386/pr19636-1c.d: Likewise.
  2978. * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
  2979. * testsuite/ld-i386/pr19636-1d.d: Likewise.
  2980. * testsuite/ld-i386/pr19636-1e.d: Likewise.
  2981. * testsuite/ld-i386/pr19636-1f.d: Likewise.
  2982. * testsuite/ld-i386/pr19636-1g.d: Likewise.
  2983. * testsuite/ld-i386/pr19636-1h.d: Likewise.
  2984. * testsuite/ld-i386/pr19636-1i.d: Likewise.
  2985. * testsuite/ld-i386/pr19636-2.s: Likewise.
  2986. * testsuite/ld-i386/pr19636-2a.d: Likewise.
  2987. * testsuite/ld-i386/pr19636-2b.d: Likewise.
  2988. * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
  2989. * testsuite/ld-i386/pr19636-2c.d: Likewise.
  2990. * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
  2991. * testsuite/ld-i386/pr19636-2d.d: Likewise.
  2992. * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
  2993. * testsuite/ld-i386/pr19636-2e.d: Likewise.
  2994. * testsuite/ld-i386/pr19636-3.s: Likewise.
  2995. * testsuite/ld-i386/pr19636-3a.d: Likewise.
  2996. * testsuite/ld-i386/pr19636-3b.d: Likewise.
  2997. * testsuite/ld-i386/pr19636-3c.d: Likewise.
  2998. * testsuite/ld-i386/pr19636-3d.d: Likewise.
  2999. * testsuite/ld-i386/pr19636-3e.d: Likewise.
  3000. * testsuite/ld-i386/pr19636-3f.d: Likewise.
  3001. * testsuite/ld-i386/pr19636-3g.d: Likewise.
  3002. * testsuite/ld-i386/pr19636-4.s: Likewise.
  3003. * testsuite/ld-i386/pr19636-4a.d: Likewise.
  3004. * testsuite/ld-i386/pr19636-4b.d: Likewise.
  3005. * testsuite/ld-i386/pr19636-4c.d: Likewise.
  3006. * testsuite/ld-i386/pr19636-4d.d: Likewise.
  3007. * testsuite/ld-i386/pr19704.out: Likewise.
  3008. * testsuite/ld-i386/pr19704a.c: Likewise.
  3009. * testsuite/ld-i386/pr19704b.c: Likewise.
  3010. * testsuite/ld-x86-64/pr19636-1.s: Likewise.
  3011. * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
  3012. * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
  3013. * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
  3014. * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
  3015. * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
  3016. * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
  3017. * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
  3018. * testsuite/ld-x86-64/pr19636-2.s: Likewise.
  3019. * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
  3020. * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
  3021. * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
  3022. * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
  3023. * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
  3024. * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
  3025. * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
  3026. * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
  3027. * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
  3028. * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
  3029. * testsuite/ld-x86-64/pr19636-3.s: Likewise.
  3030. * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
  3031. * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
  3032. * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
  3033. * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
  3034. * testsuite/ld-x86-64/pr19704.out: Likewise.
  3035. * testsuite/ld-x86-64/pr19704a.c: Likewise.
  3036. * testsuite/ld-x86-64/pr19704b.c: Likewise.
  3037. * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
  3038. Run mix_pic_and_non_pic.
  3039. * testsuite/ld-i386/i386.exp (undefined_weak): New.
  3040. Run undefined_weak and PR ld/19636 tests.
  3041. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  3042. * testsuite/ld-x86-64/pr13082-3b.d: Updated.
  3043. * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
  3044. 2016-02-25 Nick Clifton <nickc@redhat.com>
  3045. * ld.h (struct ld_config_type): Remove specified_data_size field.
  3046. 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
  3047. PR ld/19698
  3048. * testsuite/ld-elf/pr19698.d: New file.
  3049. * testsuite/ld-elf/pr19698.s: Likewise.
  3050. * testsuite/ld-elf/pr19698.t: Likewise.
  3051. 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
  3052. * Makefile.am (ELF_X86_DEPS): New.
  3053. (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
  3054. (eelf_i386_chaos.c): Likewise.
  3055. (eelf_i386_fbsd.c): Likewise.
  3056. (eelf_i386_ldso.c): Likewise.
  3057. (eelf_i386_nacl.c): Likewise.
  3058. (eelf_i386_sol2.c): Likewise.
  3059. (eelf_iamcu.c): Likewise.
  3060. (eelf32_x86_64.c): Likewise.
  3061. (eelf32_x86_64_nacl.c): Likewise.
  3062. (eelf_l1om.c): Likewise.
  3063. (eelf_l1om_fbsd.c): Likewise.
  3064. (eelf_k1om.c): Likewise.
  3065. (eelf_k1om_fbsd.c): Likewise.
  3066. (eelf_x86_64.c): Likewise.
  3067. (eelf_x86_64_cloudabi.c): Likewise.
  3068. (eelf_x86_64_fbsd.c): Likewise.
  3069. (eelf_x86_64_sol2.c): Likewise.
  3070. * Makefile.in: Regenerated.
  3071. 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
  3072. * testsuite/ld-frv/fdpic-pie-6.d: Updated.
  3073. * testsuite/ld-mips-elf/pie-n32.d: Likewise.
  3074. * testsuite/ld-mips-elf/pie-n64.d: Likewise.
  3075. * testsuite/ld-mips-elf/pie-o32.d: Likewise.
  3076. 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
  3077. * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
  3078. 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
  3079. * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
  3080. *-*-gnu* and *-*-solaris*.
  3081. * testsuite/ld-elf/pr19617b.d: Likewise.
  3082. * testsuite/ld-elf/pr19617c.d: Likewise.
  3083. 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
  3084. PR ld/19617
  3085. * testsuite/ld-elf/pr19617.s: New file.
  3086. * testsuite/ld-elf/pr19617a.d: Likewise.
  3087. * testsuite/ld-elf/pr19617b.d: Likewise.
  3088. * testsuite/ld-elf/pr19617c.d: Likewise.
  3089. 2016-02-18 Nick Clifton <nickc@redhat.com>
  3090. * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
  3091. in-tree xg++ executable after checking for the presence of an
  3092. in-tree g++ executable.
  3093. * Makefile.in: Regenerate.
  3094. 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
  3095. * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
  3096. * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
  3097. * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
  3098. 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
  3099. * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
  3100. * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
  3101. * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
  3102. * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
  3103. * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
  3104. * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
  3105. * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
  3106. * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
  3107. * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
  3108. * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
  3109. * testsuite/ld-x86-64/ilp32-4.d: Likewise.
  3110. * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
  3111. * testsuite/ld-x86-64/load1c.d: Likewise.
  3112. * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
  3113. * testsuite/ld-x86-64/load1d.d: Likewise.
  3114. * testsuite/ld-x86-64/pr14207.d: Likewise.
  3115. * testsuite/ld-x86-64/pr19162.d: Likewise.
  3116. * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
  3117. * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  3118. * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
  3119. * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
  3120. * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
  3121. * testsuite/ld-x86-64/tlspic.rd: Likewise.
  3122. 2016-02-17 Nick Clifton <nickc@redhat.com>
  3123. * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
  3124. 2016-02-15 Nick Clifton <nickc@redhat.com>
  3125. * testsuite/ld-i386/pr12718.d: Remove dependency upon the
  3126. description of the flags produced by readelf.
  3127. * testsuite/ld-i386/pr12921.d: Likewise.
  3128. * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
  3129. * testsuite/ld-i386/tlsbin.rd: Likewise.
  3130. * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
  3131. * testsuite/ld-i386/tlsbindesc.rd: Likewise.
  3132. * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
  3133. * testsuite/ld-i386/tlsdesc.rd: Likewise.
  3134. * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
  3135. * testsuite/ld-i386/tlsgdesc.rd: Likewise.
  3136. * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
  3137. * testsuite/ld-i386/tlsnopic.rd: Likewise.
  3138. * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
  3139. * testsuite/ld-i386/tlspic.rd: Likewise.
  3140. * testsuite/ld-s390/tlsbin.rd: Likewise.
  3141. * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  3142. * testsuite/ld-s390/tlspic.rd: Likewise.
  3143. * testsuite/ld-s390/tlspic_64.rd: Likewise.
  3144. * testsuite/ld-sh/tlsbin-2.d: Likewise.
  3145. * testsuite/ld-sh/tlspic-2.d: Likewise.
  3146. * testsuite/ld-tic6x/common.d: Likewise.
  3147. * testsuite/ld-tic6x/shlib-1.rd: Likewise.
  3148. * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  3149. * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  3150. * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  3151. * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  3152. * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  3153. * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  3154. * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  3155. * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  3156. * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  3157. * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  3158. * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  3159. * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  3160. * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
  3161. * testsuite/ld-x86-64/ilp32-4.d: Likewise.
  3162. * testsuite/ld-x86-64/pr12718.d: Likewise.
  3163. * testsuite/ld-x86-64/pr12921.d: Likewise.
  3164. * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
  3165. * testsuite/ld-x86-64/split-by-file.rd: Likewise.
  3166. * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
  3167. * testsuite/ld-x86-64/tlsbin.rd: Likewise.
  3168. * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
  3169. * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
  3170. * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
  3171. * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  3172. * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
  3173. * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
  3174. * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
  3175. * testsuite/ld-x86-64/tlspic.rd: Likewise.
  3176. * testsuite/ld-xtensa/tlsbin.rd: Likewise.
  3177. * testsuite/ld-xtensa/tlspic.rd: Likewise.
  3178. 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
  3179. PR ld/19615
  3180. * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
  3181. PIE.
  3182. * lexsup.c (parse_args): Enable -Bsymbolic and
  3183. -Bsymbolic-functions for PIE.
  3184. * testsuite/ld-i386/i386.exp: Run pr19615.
  3185. * testsuite/ld-i386/pr19615.d: New file.
  3186. * testsuite/ld-i386/pr19615.s: Likewise.
  3187. * testsuite/ld-x86-64/pr19615.d: Likewise.
  3188. * testsuite/ld-x86-64/pr19615.s: Likewise.
  3189. 2016-02-09 Nick Clifton <nickc@redhat.com>
  3190. * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
  3191. * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
  3192. * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
  3193. * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
  3194. 2016-02-04 Nick Clifton <nickc@redhat.com>
  3195. * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
  3196. * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
  3197. * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
  3198. * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
  3199. * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
  3200. * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
  3201. * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
  3202. * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
  3203. * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
  3204. 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
  3205. PR gas/19520
  3206. * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
  3207. * testsuite/ld-i386/call1.d: Likewise.
  3208. * testsuite/ld-i386/call2.d: Likewise.
  3209. * testsuite/ld-i386/call3a.d: Likewise.
  3210. * testsuite/ld-i386/call3b.d: Likewise.
  3211. * testsuite/ld-i386/call3c.d: Likewise.
  3212. * testsuite/ld-i386/call3d.d: Likewise.
  3213. * testsuite/ld-i386/call3e.d: Likewise.
  3214. * testsuite/ld-i386/call3f.d: Likewise.
  3215. * testsuite/ld-i386/call3g.d: Likewise.
  3216. * testsuite/ld-i386/call3h.d: Likewise.
  3217. * testsuite/ld-i386/jmp1.d: Likewise.
  3218. * testsuite/ld-i386/jmp2.d: Likewise.
  3219. * testsuite/ld-i386/lea1c.d: Likewise.
  3220. * testsuite/ld-i386/load1.d: Likewise.
  3221. * testsuite/ld-i386/load2.d: Likewise.
  3222. * testsuite/ld-i386/load3.d: Likewise.
  3223. * testsuite/ld-i386/load4a.d: Likewise.
  3224. * testsuite/ld-i386/load5a.d: Likewise.
  3225. * testsuite/ld-i386/mov2b.d: Likewise.
  3226. * testsuite/ld-i386/mov3.d: Likewise.
  3227. * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
  3228. * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
  3229. * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
  3230. * testsuite/ld-x86-64/call1a.d: Likewise.
  3231. * testsuite/ld-x86-64/call1b.d: Likewise.
  3232. * testsuite/ld-x86-64/call1c.d: Likewise.
  3233. * testsuite/ld-x86-64/call1d.d: Likewise.
  3234. * testsuite/ld-x86-64/call1e.d: Likewise.
  3235. * testsuite/ld-x86-64/call1f.d: Likewise.
  3236. * testsuite/ld-x86-64/call1h.d: Likewise.
  3237. * testsuite/ld-x86-64/call1i.d: Likewise.
  3238. * testsuite/ld-x86-64/load1a.d: Likewise.
  3239. * testsuite/ld-x86-64/load1b.d: Likewise.
  3240. * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
  3241. * testsuite/ld-i386/got1.dd: Updated.
  3242. * testsuite/ld-i386/got1d.S (1): Removed.
  3243. * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
  3244. * testsuite/ld-x86-64/x86-64.exp: Likewise.
  3245. 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
  3246. PR ld/18591
  3247. * testsuite/ld-x86-64/pr18591.d: New file.
  3248. * testsuite/ld-x86-64/pr18591.s: Likewise.
  3249. * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
  3250. 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
  3251. PR ld/19553
  3252. * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
  3253. * testsuite/ld-elf/pr19553.map: New file.
  3254. * testsuite/ld-elf/pr19553.map: Likewise.
  3255. * testsuite/ld-elf/pr19553a.c: Likewise.
  3256. * testsuite/ld-elf/pr19553b.c: Likewise.
  3257. * testsuite/ld-elf/pr19553b.out: Likewise.
  3258. * testsuite/ld-elf/pr19553c.c: Likewise.
  3259. * testsuite/ld-elf/pr19553c.out: Likewise.
  3260. * testsuite/ld-elf/pr19553d.c: Likewise.
  3261. * testsuite/ld-elf/pr19553d.out: Likewise.
  3262. 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
  3263. PR ld/19539
  3264. * testsuite/ld-elf/pr19539.d: New file.
  3265. * testsuite/ld-elf/pr19539.s: Likewise.
  3266. * testsuite/ld-elf/pr19539.t: Likewise.
  3267. 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
  3268. PR ld/19533
  3269. * configure.ac (compressed_debug_sections): Replace == with =.
  3270. * configure: Regenerated.
  3271. 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
  3272. * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
  3273. * scripttempl/avrtiny.sc (.noinit): Likewise.
  3274. 2016-01-21 Nick Clifton <nickc@redhat.com>
  3275. PR ld/19453
  3276. * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
  3277. the arm-netbsdelf target.
  3278. PR ld/19455
  3279. * testsuite/ld-arm/vxworks1-lib.dd: Update for current
  3280. disassmebler output.
  3281. * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
  3282. * testsuite/ld-arm/vxworks1.dd: Likewise.
  3283. * testsuite/ld-arm/vxworks1.rd: Likewise.
  3284. * testsuite/ld-arm/vxworks1.ld: Set the output format.
  3285. 2016-01-20 Jiong Wang <jiong.wang@arm.com>
  3286. * testsuite/ld-aarch64/farcall-section.d: Delete.
  3287. * testsuite/ld-aarch64/farcall-section.s: Delete.
  3288. * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
  3289. * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
  3290. * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
  3291. * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
  3292. * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
  3293. 2016-01-20 Nick Clifton <nickc@redhat.com>
  3294. PR 19457
  3295. * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
  3296. early for PE based targets.
  3297. * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
  3298. * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
  3299. 2016-01-20 Mickael Guene <mickael.guene@st.com>
  3300. * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
  3301. Add 'y' attribute usage.
  3302. * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
  3303. * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
  3304. * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
  3305. 2016-01-19 Nick Clifton <nickc@redhat.com>
  3306. * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
  3307. foo@FOO and bar@@FOO.
  3308. 2016-01-18 Alan Modra <amodra@gmail.com>
  3309. * configure: Regenerate.
  3310. 2016-01-18 Nick Clifton <nickc@redhat.com>
  3311. * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
  3312. is not configured to support plugins.
  3313. * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
  3314. but with 16 byte section alignment.
  3315. * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
  3316. test for MIPS targets.
  3317. 2016-01-17 Alan Modra <amodra@gmail.com>
  3318. * configure: Regenerate.
  3319. 2016-01-17 Alan Modra <amodra@gmail.com>
  3320. * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
  3321. * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
  3322. * testsuite/ld-elf/pr14156a.d: Likewise.
  3323. * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
  3324. * testsuite/ld-elf/sec64k.exp: Likewise.
  3325. 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
  3326. * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
  3327. Set address of .foo section when linking.
  3328. * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
  3329. in .foo section.
  3330. * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
  3331. output to the above changes.
  3332. 2016-01-13 Nick Clifton <nickc@redhat.com>
  3333. * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
  3334. for MIPS targets.
  3335. * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
  3336. fail for MIPS targets.
  3337. * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
  3338. MIPS targets.
  3339. 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
  3340. * testsuite/ld-arm/arm-elf.exp: New test.
  3341. * testsuite/ld-arm/unwind-mix.d: New file.
  3342. * testsuite/ld-arm/unwind-mix1.s: New file.
  3343. * testsuite/ld-arm/unwind-mix2.s: New file.
  3344. 2016-01-08 Jiong Wang <jiong.wang@arm.com>
  3345. PR ld/19368
  3346. * testsuite/ld-arm/ifunc-3.rd: Update expected result.
  3347. * testsuite/ld-arm/ifunc-4.rd: Likewise.
  3348. * testsuite/ld-arm/ifunc-9.rd: Likewise.
  3349. * testsuite/ld-arm/ifunc-10.rd: Likewise.
  3350. * testsuite/ld-arm/ifunc-12.rd: Likewise.
  3351. * testsuite/ld-arm/ifunc-13.rd: Likewise.
  3352. 2016-01-05 Nick Clifton <nickc@redhat.com>
  3353. * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
  3354. MSP430 hardware multiply address range.
  3355. * scripttempl/elf32msp430.sc (__romdatastart): Define.
  3356. (__romdatacopysize): Define.
  3357. * scripttempl/elf32msp430_3.sc: Likewise.
  3358. 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
  3359. * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
  3360. OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
  3361. 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
  3362. * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
  3363. messages expected according to MIPS BFD private data merge
  3364. changes.
  3365. * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
  3366. * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
  3367. * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
  3368. * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
  3369. * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
  3370. * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
  3371. * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
  3372. * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
  3373. * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
  3374. * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
  3375. * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
  3376. * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
  3377. * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
  3378. 2016-01-01 Alan Modra <amodra@gmail.com>
  3379. Update year range in copyright notice of all files.
  3380. For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
  3381. Copyright (C) 2016 Free Software Foundation, Inc.
  3382. Copying and distribution of this file, with or without modification,
  3383. are permitted in any medium without royalty provided the copyright
  3384. notice and this notice are preserved.
  3385. Local Variables:
  3386. mode: change-log
  3387. left-margin: 8
  3388. fill-column: 74
  3389. version-control: never
  3390. End: