ChangeLog-9197 274 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607
  1. Sun Dec 21 12:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
  2. * ldexp.c (fold_name): Don't crash if the symbol is defined in a
  3. section with no output section, such as a shared library section.
  4. Wed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com>
  5. * lexsup.c (parse_args): Keep track of where we are in the option
  6. parsing before calling ldemul_parse_args, so that we don't call it
  7. multiple times on the same argument and confuse the getopt
  8. internals.
  9. Thu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com>
  10. * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and
  11. d30velf_o to d30v_o to work in DOS environments.
  12. * Makefile.{am,in}: Ditto.
  13. * emulparams/d30v_{o,e}.sh: Rename from d30velf_{o,e}.
  14. * emulparams/d30velf_{o,e}.sh: Deleted.
  15. Wed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com>
  16. * scripttempl/armcoff.sc: Add glue sections (code taken from Arm
  17. branch).
  18. * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff.
  19. * emultempl/armcoff.em: New file, imported from Arm branch.
  20. Wed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com>
  21. * scripttempl/elfd30v.sc: Add .rel and .rela sections for all
  22. defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and
  23. external memory sections for rodata. Delete .string, .rodata1,
  24. and .data1 sections.
  25. Tue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com>
  26. * Makefile.am: Add Oct 23 changes to Makefile.in here.
  27. * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o.
  28. * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o.
  29. * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o.
  30. (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in
  31. external memory.
  32. (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in
  33. onchip memory.
  34. * emulparams/d30velf.sh (STACK_START_ADDR): Top of default
  35. stack.
  36. ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas.
  37. ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and
  38. .bss should go in.
  39. * emulparams/d30velf_{e,o}.sh: New files to be explicit whether
  40. .text, .data, etc go in external memory or onchip memory.
  41. * configure.tgt (d30v-*-*ext*): New configuration to default
  42. .text, .data, etc. in external memory.
  43. (d30v-*-*onchip*): New configuration to default .text, .data,
  44. etc. in onchip memory.
  45. (d30v-*-*): Add d30velf_{e,o} emulations.
  46. * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in
  47. either the onchip text/data areas or the external memory area.
  48. (MEMORY): Get sizes from d30velf.sh.
  49. (.e{data,text,bss}): Put sections in the external memory region.
  50. (.stext): Put section in the onchip text region.
  51. (.s{data,bss}): Put sections in the onchip data region.
  52. (__stack): Assign from ${STACK_START_ADDR}.
  53. (.text): Put in ${TEXT_MEMORY} memory region.
  54. (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory
  55. region.
  56. (.bss): Put in ${BSS_MEMORY} memory region.
  57. Tue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com>
  58. * configure.tgt (targ_extra_emuls): Add support for Thumb target.
  59. Sat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com>
  60. * ldlex.l: Don't define hex_mode. Correct number regexp to not
  61. accept hex digits without a leading $ or 0x. Handle leading $
  62. correctly. Pass 0 rather than hex_mode to bfd_scan_vma.
  63. * ldlex.h (hex_mode): Don't declare.
  64. Sun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com>
  65. * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start
  66. of internal data area and external memory on chip.
  67. * scripttempl/elfd30v.sc: Define a MEMORY region that describes
  68. the 3 regions of memory on the chip. Put .text/.init/.fini into
  69. the text memory region, put other segments into the data memory
  70. region. Add more of the standard elf sections. Default __stack
  71. to be 0x20008000, which is 1 byte beyond end of the internal data
  72. region.
  73. Thu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
  74. * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd
  75. variant.
  76. Sun Nov 2 14:51:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  77. * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0. Set
  78. HOSTING_LIBS.
  79. Thu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
  80. * ld.h (args_type): Add warn_mismatch field.
  81. * ldmain.c (main): Initialize warn_mismatch field.
  82. * lexsup.c (parse_args): Handle --no-warn-mismatch option.
  83. * ldlang.c (ignore_bfd_error): New static function.
  84. (lang_check): If warn_mismatch is false, don't warn about
  85. mismatched input files.
  86. * ld.texinfo, ld.1: Document new option.
  87. Thu Oct 23 14:38:18 1997 Nick Clifton <nickc@cygnus.com>
  88. * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack'
  89. to avoid conflicts with C code which is defining a variable called
  90. 'stack'.
  91. Thu Oct 23 00:57:45 1997 Richard Henderson <rth@dot.cygnus.com>
  92. * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
  93. (ALL_64_EMULATIONS): ... here.
  94. (eelf64_sparc.c): Template should be elf32 not generic.
  95. * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition.
  96. Thu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com>
  97. * configure.tgt: Add sparc64-*-linux*.
  98. * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
  99. Wed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com>
  100. * scripttempl/pe.sc: Put .eh_frame in .rdata.
  101. Fri Oct 17 00:00:13 1997 Richard Henderson <rth@cygnus.com>
  102. * ldlang.c (lang_register_vers_node): Only check globals<=>locals,
  103. since we need to be able to export different versions of the same
  104. symbol.
  105. Wed Oct 15 14:52:36 1997 Ian Lance Taylor <ian@cygnus.com>
  106. * scripttempl/pe.sc: Put .stab and .stabstr sections at end.
  107. Wed Oct 8 12:37:05 1997 Richard Henderson <rth@cygnus.com>
  108. * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
  109. config.guess now recognizes alphaev5 etc.
  110. Fri Oct 3 14:23:02 1997 Ian Lance Taylor <ian@cygnus.com>
  111. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Don't treat
  112. -s and -u as -static and -unix.
  113. Thu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com>
  114. * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we
  115. are not adding the first input section, and SEC_READONLY is clear
  116. on the output section, then don't copy it from the input section.
  117. If SEC_READONLY is not set on the input section, then clear it on
  118. the output section.
  119. * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
  120. elf32bmip.
  121. (mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip
  122. to elf32bsmip.
  123. (mips*-*-linux*): Likewise.
  124. * emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but
  125. setting ENTRY to __start.
  126. * emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but
  127. setting ENTRY to __start.
  128. * scripttempl/elf.sc: Always set ENTRY to _start if it was not
  129. already set.
  130. Wed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com>
  131. * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New
  132. Variables.
  133. * scripttempl/v850.sc: Move read only areas out of zero and small
  134. data sections and into their own sections.
  135. Wed Sep 24 16:59:15 1997 Joel Sherrill <joel@oarcorp.com>
  136. * configure.tgt (sh*-*-rtems*): New target, like sh-*-elf*.
  137. Wed Sep 24 11:33:14 1997 Ian Lance Taylor <ian@cygnus.com>
  138. * ld.texinfo (Section Options): Improve documentation of NOLOAD
  139. directive.
  140. * aclocal.m4: Rebuild with new libtool.
  141. * configure: Rebuild.
  142. Mon Sep 22 17:24:06 1997 Ian Lance Taylor <ian@cygnus.com>
  143. * ldlang.c (wild_doit): Revert patch of September 3.
  144. Wed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com>
  145. * Makefile.am, Makefile.in: Add rule for ev850.c
  146. * configure.tgt (targ_extra_emuls): Add v850 target.
  147. Wed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com>
  148. * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry.
  149. * scripttempl/v850.sc: Add call table data area
  150. Mon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com>
  151. Merge change from Martin Hunt:
  152. * scripttempl/elfd30v.sc: Put .rodata in the .text section.
  153. Tue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com>
  154. * ldlang.c (lang_memory_region_lookup): Remove extraneous
  155. initialization of p.
  156. Thu Sep 4 09:03:33 1997 Ian Lance Taylor <ian@cygnus.com>
  157. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): In
  158. expression produced for -bpT and -bpD options, align to a 32 byte
  159. boundary rather than an 8 byte boundary.
  160. * scripttempl/aix.sc: Put .tocbss at start of .bss section.
  161. * ldmisc.h, ldmisc.c, ldcref.c: Rename finfo to lfinfo, to avoid
  162. function name conflict with AIX 4.2 unistd.h header file.
  163. Wed Sep 3 15:12:32 1997 Ian Lance Taylor <ian@cygnus.com>
  164. * ldlang.c (wild_doit): Clear SEC_HAS_CONTENTS from a
  165. noload_section.
  166. Fri Aug 29 00:32:31 1997 Ian Lance Taylor <ian@cygnus.com>
  167. * Makefile.am (ld_new_DEPENDENCIES): Remove @LEXLIB@.
  168. * Makefile.in: Rebuild.
  169. Thu Aug 28 10:12:10 1997 Doug Evans <dje@canuck.cygnus.com>
  170. * configure.tgt (arc-*-elf*): Recognize.
  171. * Makefile.am (ALL_EMULATIONS): Add earcelf.o.
  172. * Makefile.in: Regenerate.
  173. * emulparams/arcelf.sh: New file.
  174. Wed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com>
  175. * ldlang.c (wildcardp): Don't let a backslash by itself cause a
  176. pattern to be treated as a wildcard pattern.
  177. * ldgram.y (atype): Accept parentheses with no type.
  178. * ld.texinfo (Section Definition): Clarify use of whitespace.
  179. (Section Placement): Likewise.
  180. Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com>
  181. * configure.tgt (targ_extra_emuls): Add support for v850e target.
  182. Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com>
  183. * configure.tgt (targ_extra_emuls): Add support for v850e target.
  184. Sat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com>
  185. * Makefile.am (ld.info): Change dependency from
  186. $(BFDDIR)/doc/bfdsumm.texi to bfdsumm.texi.
  187. (ld.dvi): Likewise.
  188. (bfdsumm.texi): New target.
  189. (CLEANFILES): Add bfdsumm.texi.
  190. * Makefile.in: Rebuild.
  191. * Makefile.am: New file, based on old Makefile.in.
  192. * acinclude.m4: New file, from old aclocal.m4.
  193. * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
  194. shared library handling; now handled by libtool. Replace
  195. AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
  196. AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
  197. AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
  198. * configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
  199. * acconfig.h: Mention PACKAGE and VERSION.
  200. * stamp-h.in: New file.
  201. * ldver.c (ld_program_version): Set ld_program_version from
  202. VERSION.
  203. * ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
  204. * Makefile.in: Now built with automake.
  205. * aclocal.m4: Now built with aclocal.
  206. * configure, config.in: Rebuild.
  207. Mon Jul 28 19:04:50 1997 Rob Savoye <rob@chinadoll.cygnus.com>
  208. * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
  209. win32 dependencies.
  210. * configure: Regenerated with autoconf 2.12.
  211. * Makefile.in: Add $(EXEEXT) to executable.
  212. Tue Jul 22 18:50:38 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
  213. * emulparams/i386go32.sh (OUTPUT_FORMAT): Set to "coff-go32".
  214. (SEGMENT_SIZE): Set to 0x200.
  215. * scripttempl/i386go32.sc: Rewrite.
  216. * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
  217. Mon Jul 7 12:39:42 1997 Ian Lance Taylor <ian@cygnus.com>
  218. From Manfred Hollstein <manfred@s-direktnet.de>:
  219. * configure.host (i[3456]86-*-linux*libc1*): Renamed from
  220. i[3456]86-*-linux*.
  221. (i[3456]86-*-linux*): New host.
  222. Thu Jun 26 13:54:03 1997 Ian Lance Taylor <ian@cygnus.com>
  223. * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrc
  224. sections in the output .rsrc section.
  225. Wed Jun 25 12:48:41 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  226. * configure.host (m68*-*-linux*libc1*): Renamed from
  227. `m68*-*-linux*'.
  228. (m68*-*-linux*): New configuration for use with GNU libc 2.
  229. Mon Jun 16 19:18:21 1997 Geoff Keating <geoffk@ozemail.com.au>
  230. * scripttempl/elfppc.sc: Correct .rela.sdata entries.
  231. * scripttempl/elfppc.sc: Put the PLT between the small and large
  232. BSS segments.
  233. * emulparams/elf32ppc.sh (TEXT_START_ADDR): The ABI says `A
  234. program base of 0x02000000 is recommended...' because otherwise
  235. shared libraries are less efficient. We use 0x01800000 because
  236. otherwise it's impossible to branch to location 0, for instance if
  237. you have an undefined weak symbol.
  238. Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  239. * ldlang.c (lang_place_undefineds): Add \n in einfo call.
  240. (lang_size_sections): Likewise.
  241. * ldlex.l: Likewise.
  242. * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
  243. * emultempl/mipsecoff.em (gld${EMULATION_NAME}_after_open):
  244. Likewise.
  245. (check_sections): Likewise.
  246. (gld${EMULATION_NAME}_after_allocation): Likewise.
  247. * emultempl/pe.em (gld_$${EMULATION_NAME}_before_allocation):
  248. Likewise.
  249. * mpw-eppcmac.c (gldppcmacos_read_file): Likewise.
  250. * mpw-idtmips.c (gldmipsidt_after_open): Likewise.
  251. (check_sections): Likewise.
  252. (gldmipsidt_after_allocation): Likewise.
  253. * ldemul.c (ldemul_choose_mode): Remove unused einfo argument.
  254. Fri Jun 6 23:47:42 1997 Ian Lance Taylor <ian@cygnus.com>
  255. * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
  256. the import list.
  257. Thu May 29 13:13:22 1997 Ian Lance Taylor <ian@cygnus.com>
  258. * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Don't
  259. crash if an output section has no BFD section.
  260. Fri May 23 15:23:25 1997 Fred Fish <fnf@cygnus.com>
  261. * lexsup.c (ld_options): Add entry for the new "task-link" option.
  262. (parse_args): Handle the "task-link" option.
  263. (OPTION_TASK_LINK): Add define.
  264. Wed May 21 17:44:15 1997 Ian Lance Taylor <ian@cygnus.com>
  265. * ldmain.c (main): Correct check of fclose return value when
  266. handling --force-exe-suffix.
  267. Thu May 15 11:35:29 1997 Nick Clifton <nickc@cygnus.com>
  268. * ldlang.c (lang_check): Add test of the return value from the
  269. call to bfd_merge_private_bfd_data().
  270. Mon May 12 23:22:58 1997 Ian Lance Taylor <ian@cygnus.com>
  271. * scripttempl/elfmips.sc: Remove.
  272. * scripttempl/elf.sc: Set ENTRY based on target. Permit
  273. TEXT_DYNAMIC to control .dynamic segment. Permit
  274. SHLIB_TEXT_START_ADDR to set start of shared object. Support
  275. INITIAL_READONLY_SECTIONS. Put .stub in .text. Only put
  276. .gnu.linkonce.t* in .text when relocating. Support
  277. OTHER_TEXT_SECTIONS. Support SHLIB_DATA_ADDR as well as
  278. DATA_ADDR. Support OTHER_GOT_SYMBOLS and OTHER_GOT_SECTIONS.
  279. * emulparams/elf32b4300.sh (SCRIPT_NAME): Set to elf.
  280. (DATA_ADDR): Don't set.
  281. (INITIAL_READONLY_SECTIONS): Rename from OTHER_READONLY_SECTIONS.
  282. (OTHER_TEXT_SECTIONS): Set.
  283. (OTHER_GOT_SECTIONS): Rename from OTHER_READWRITE_SECTIONS.
  284. (MACHINE): Set to empty string.
  285. * emulparams/elf32l4300.sh: Likewise.
  286. * emulparams/elf32ebmip.sh: Likewise.
  287. * emulparams/elf32elmip.sh: Likewise.
  288. * emulparams/elf32bmip.sh: Likewise. Also:
  289. (TEXT_DYNAMIC): Set.
  290. * emulparams/elf32lmips.sh: Likewise.
  291. * Makefile.in (eelf32bmips.c): Depend upon elf.sc rather than
  292. elfmips.sc.
  293. (eelf32ebmips.c, eelf32elmips.c, eelf32lmip.c): Likewise.
  294. Mon May 12 11:11:06 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  295. * scripttempl/elf.sc: Don't align the data segment on the next 8
  296. byte boundary, instead let the linker use whatever the individual
  297. sections require.
  298. Fri May 9 17:45:46 1997 Ian Lance Taylor <ian@cygnus.com>
  299. * configure.tgt (i[3456]86-*-gnu*): Don't include Mach support.
  300. Tue May 6 13:21:19 1997 Ian Lance Taylor <ian@cygnus.com>
  301. From Sean McNeil <sean@mcneil.com>:
  302. * emultempl/pe.em (sort_by_file_name): Sort by archive name
  303. first.
  304. (sort_sections): Sort all sections, not just sections in the same
  305. archive.
  306. Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk>
  307. * configure.tgt, configure.host: cope with '*-*-linux-gnuaout'
  308. targets.
  309. Fri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com>
  310. * scripttempl/tic80coff.sc (.text): Add a leading underscore to
  311. __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items
  312. in the .text section. Move .const, .ctors, .dtors into separate
  313. sections.
  314. Wed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
  315. * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace
  316. around assignment of current location pointer.
  317. Thu Apr 17 13:07:18 1997 Ian Lance Taylor <ian@cygnus.com>
  318. * ldctor.c (ldctor_build_sets): Make sure the set is aligned
  319. appropriately.
  320. Tue Apr 15 13:19:26 1997 Ian Lance Taylor <ian@cygnus.com>
  321. * Makefile.in (INSTALL): Set to @INSTALL@.
  322. (INSTALL_XFORM, INSTALL_XFORM1): Remove.
  323. (install): Depend upon ld.new and installdirs. Use
  324. $(program_transform_name) directly, rather than using
  325. $(INSTALL_XFORM) and $(INSTALL_XFORM1).
  326. (installdirs): New target.
  327. (install-info): Run mkinstalldirs.
  328. Mon Apr 14 12:06:15 1997 Ian Lance Taylor <ian@cygnus.com>
  329. * Makefile.in (INSTALL): Change install.sh to install-sh.
  330. From Thomas Graichen <graichen@rzpd.de>:
  331. * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
  332. * configure: Rebuild.
  333. Fri Apr 4 11:42:41 1997 Ian Lance Taylor <ian@cygnus.com>
  334. * emultempl/pe.em: Include "libiberty.h".
  335. (sort_sections_1): Use xmalloc rather than alloca.
  336. * ldlex.l: Recognize SQUAD.
  337. * ldgram.y (length): Add SQUAD.
  338. * ldctor.c (ldctor_build_sets): Use SQUAD for a signed 8 byte
  339. reloc.
  340. * ldlang.c (print_data_statement): Handle SQUAD.
  341. (lang_size_sections, lang_do_assignments): Likewise.
  342. * ldexp.c (exp_print_token): Add SQUAD to table.
  343. * ldwrite.c (build_link_order): Handle SQUAD.
  344. * ld.texinfo (Section Data Expressions): Document SQUAD.
  345. Thu Apr 3 13:19:40 1997 Ian Lance Taylor <ian@cygnus.com>
  346. * ldver.c (ld_program_version): Set to 2.8.1.
  347. * Branched binutils 2.8.
  348. Wed Apr 2 11:55:27 1997 Ian Lance Taylor <ian@cygnus.com>
  349. * mpw-idtmips.c: Rename from mpw-emipsidt.c.
  350. * mpw-elfmips.c: Rename from mpw-emipself.c.
  351. * mpw-config.in: Update accordingly.
  352. * ldlang.c (lang_process): Call lang_check immediately after
  353. opening the input files, rather than at the end of the link.
  354. Mon Mar 31 23:44:00 1997 Ian Lance Taylor <ian@cygnus.com>
  355. * emultempl/pe.em (init): Fully bracket initializer.
  356. (set_pe_stack_heap): Remove locals begin_commit and end.
  357. (gld_${EMULATION_NAME}_after_open): Remove unused local i.
  358. (gld${EMULATION_NAME}_place_orphan): Remove unused local ptr.
  359. Mon Mar 31 16:35:51 1997 Joel Sherrill <joel@oarcorp.com>
  360. * configure.tgt (hppa*-*-rtems*): New target, like hppa-*-*elf*.
  361. Fri Mar 28 15:29:23 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  362. Contributed by David S. Miller <davem@caip.rutgers.edu>:
  363. * configure.tgt (sparc*-*-linuxaout*): New target.
  364. (sparc*-*-linux*): New target.
  365. * emulparams/sparclinux.sh: New file.
  366. * Makefile.in (ALL_EMULATIONS): Add esparclinux.o.
  367. (esparclinux.c): New target.
  368. Fri Mar 28 14:30:12 1997 Ian Lance Taylor <ian@cygnus.com>
  369. From Ralf Baechle <ralf@gnu.ai.mit.edu>:
  370. * configure.tgt: Set targ_extra_emuls for mips*el-*-linux* and
  371. mips*-*-linux*. Use elf32bmip and elf32lmip, not elf32ebmip and
  372. elf32elmip.
  373. Thu Mar 27 17:14:32 1997 Ian Lance Taylor <ian@cygnus.com>
  374. * lexsup.c (parse_args): Update copyright date in version
  375. message.
  376. Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  377. * emulparams/delta68.sh (OUTPUT_FORMAT): Set to "coff-m68k-sysv".
  378. Tue Mar 18 11:16:23 1997 Ian Lance Taylor <ian@cygnus.com>
  379. * Makefile.in: Rebuild dependencies.
  380. * emultempl/aix.em: Include "obstack.h".
  381. Mon Mar 17 19:26:06 1997 Ian Lance Taylor <ian@cygnus.com>
  382. * ldlang.c: Include "obstack.h".
  383. Sat Mar 15 23:23:46 1997 Fred Fish <fnf@cygnus.com>
  384. * configure.tgt (powerpc-*-beos*): Use aixppc for targ_emul.
  385. Sat Mar 15 18:10:38 1997 H.J. Lu <hjl@lucon.org>
  386. * ldemul.h (ldemul_list_emulations): Use full prototype.
  387. * ldlang.c (print_one_symbol): Add declaration.
  388. * ldlang.h (dprint_statements): Declare.
  389. * ldmain.c (remove_output): Declare.
  390. * ldmisc.c (vfinfo): Declare.
  391. * ldwrite.c (clone_section): Declare.
  392. (split_sections): Make static. Declare.
  393. * mri.c: Include libiberty.h.
  394. (strdup): Don't declare.
  395. (mri_alias): Use xstrdup rather than strdup.
  396. Fri Mar 14 21:30:06 1997 Ian Lance Taylor <ian@cygnus.com>
  397. * scripttempl/elfmips.sc: Change handling of data area when
  398. generating a shared library to not skip a large block of memory.
  399. From Per Fogelstrom <pefo@cvs.openbsd.org>.
  400. Wed Mar 12 21:33:09 1997 Ian Lance Taylor <ian@cygnus.com>
  401. * ldmain.c (multiple_definition): Only skip the warning if the
  402. output section is absolute when the input section is not
  403. absolute.
  404. * ldlex.l: Accept whitespace in VERS_START state. Warn about
  405. invalid characters in VERS_* states.
  406. Tue Mar 11 13:51:31 1997 Ian Lance Taylor <ian@cygnus.com>
  407. * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Don't let a
  408. trailing space lead us to think that there is a zero address.
  409. Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com>
  410. * ldgram.y (vers_node): Correct typo of '(' for '{'.
  411. Fri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com>
  412. * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start
  413. rather than _start.
  414. (__edata): Define this rather than "edata".
  415. (__end): Define this rather than "end".
  416. Tue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com>
  417. * configure.tgt (tic80-*-*): Allow dropping of -coff.
  418. Sun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com>
  419. * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well
  420. as TEXINPUTS. Needed for building in separate build dir.
  421. * ldint.texinfo (SCRIPT_NAME): Fix typo.
  422. * emulparams/tic80coff.sh: Rewrite to include internal documentation
  423. about each shell variable that is set (or not set).
  424. * scripttempl/tic80coff.sc: Complete rewrite.
  425. Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com>
  426. * ldmain.c (main): Call bfd_set_default_target.
  427. * Makefile.in (ldmain.o): Define TARGET when compiling.
  428. Thu Feb 27 11:41:03 1997 Ian Lance Taylor <ian@cygnus.com>
  429. * ldmain.c (main): Don't initialize link_info.lprefix or
  430. link_info.lprefix_len.
  431. * emultempl/hppaelf.em (hppaelf_before_parse): Likewise.
  432. * emultempl/m88kbcs.em: Remove.
  433. * emulparams/m88kbcs.sh (TEMPLATE_NAME): Don't set.
  434. * Makefile.in (em88kbcs.c): Depend upon generic.em rather than
  435. m88kbcs.em.
  436. * mri.c (mri_draw_tree): Pass noload_section, not SEC_NEVER_LOAD,
  437. to lang_enter_output_section_statement. From Mark Rasin
  438. <mark.rasin@telrad.co.il>.
  439. Wed Feb 26 11:51:44 1997 Ian Lance Taylor <ian@cygnus.com>
  440. * ldlang.c (lang_one_common): Clear SEC_IS_COMMON from common
  441. section.
  442. Tue Feb 25 20:38:11 1997 Stan Shebs <shebs@andros.cygnus.com>
  443. * configure.tgt (mips*-*-lnews*): New target.
  444. * Makefile.in (emipslnews.c): New target.
  445. * emulparams/mipslnews.sh: New file.
  446. Tue Feb 25 16:04:09 1997 Ian Lance Taylor <ian@cygnus.com>
  447. * emultempl/elf32.em (hold_interp): New static variable.
  448. (gld${EMULATION_NAME}_place_orphan): Put loadable .note sections
  449. after hold_interp. Choose a unique output section name.
  450. (gld${EMULATION_NAME}_place_section): Don't set hold_use if the
  451. SEC_LOAD or SEC_ALLOC flags differ. Set hold_interp.
  452. Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com>
  453. From Eric Youngdale <eric@andante.jic.com>:
  454. * ldlex.l (V_TAG, V_IDENTIFIER): New macros.
  455. (VERS_START, VERS_SCRIPT, VERS_NODE): New states to parse version
  456. information.
  457. (ldlex_version_script, ldlex_version_file): New functions.
  458. * ldlex.h (enum input_enum): Add input_version_script.
  459. (ldlex_version_script): Declare.
  460. (ldlex_version_file): Declare.
  461. * ldgram.y (%union): Add deflist, versyms, and versnode.
  462. (VERS_TAG, VERS_IDENTIFIER): New terminals.
  463. (GLOBAL, LOCAL, VERSION, INPUT_VERSION_SCRIPT): New terminals.
  464. (file): Accept INPUT_VERSION_SCRIPT.
  465. (ifile_p1): Accept version.
  466. (version_script_file): New nonterminal.
  467. (version, vers_nodes, vers_node): Likewise.
  468. (verdep, vers_tag, ver_defns): Likewise.
  469. * ldlang.c (lang_elf_version_info): New global variable.
  470. (lang_new_vers_regex): New function.
  471. (lang_new_vers_node): New function.
  472. (version_index): New static variable.
  473. (lang_register_vers_node): New function.
  474. (lang_add_vers_depend): New function.
  475. * ldlang.h (lang_elf_version_info): Declare.
  476. (lang_new_vers_regex, lang_new_vers_node): Declare.
  477. (lang_add_vers_depend, lang_register_vers_node): Declare.
  478. * lexsup.c (OPTION_VERSION_SCRIPT): Define.
  479. (ld_options): Add "version-script".
  480. (parse_args): Handle OPTION_VERSION_SCRIPT.
  481. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  482. Pass lang_elf_version_info to size_dynamic_sections.
  483. * scripttempl/elf.sc: Add .gnu.version sections.
  484. * ld.texinfo: Document symbol versioning.
  485. Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  486. * Makefile.in (ed30velf.c): New target.
  487. * configure.tgt (d30v-*-*): New target.
  488. * emulparams/d30velf.sh: New file.
  489. * scripttempl/elfd30v.sc: New file.
  490. Fri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com>
  491. * ld.texinfo (Option Commands): Document the INCLUDE command.
  492. Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  493. * configure.in: Call BFD_NEED_DECLARATION on getenv.
  494. * acconfig.h (NEED_DECLARATION_GETENV): New macro.
  495. * sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
  496. * ldemul.c (ld_emul_default_target): Do not cast getenv return
  497. value.
  498. * ldmain.c (get_emulation): Likewise.
  499. * configure, config.in: Rebuild.
  500. Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com>
  501. * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and
  502. .mips16.call.* in .text.
  503. Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com>
  504. * emulparams/tic80coff.sh: New (dummy) file for TIc80.
  505. * scripttempl/tic80coff.sc: New (dummy) file for TIc80.
  506. * Makefile.in (etic80coff.c): Add target and rule to build it.
  507. * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
  508. Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com>
  509. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for
  510. ".so" in the name, not ".so.".
  511. (gld${EMULATION_NAME}_search_dir): Accept a plain .so file.
  512. * Makefile.in (ld.info): Add -I$(srcdir). From Alan Modra
  513. <alan@spri.levels.unisa.edu.au>.
  514. Thu Jan 30 11:31:52 1997 Ian Lance Taylor <ian@cygnus.com>
  515. * emultempl/sunos.em: Include <ctype.h>.
  516. (gld${EMULATION_NAME}_find_so): Skip the directory name when
  517. searching for ".so.".
  518. (gld${EMULATION_NAME}_search_dir): Make sure that the library name
  519. has a version number, and that only version numbers follow .so.
  520. Wed Jan 29 18:15:00 1997 Geoffrey Noer <noer@cygnus.com>
  521. * scripttempl/pe.sc:
  522. * scripttempl/ppcpe.sc: add *(.gcc_except_table) to the text
  523. section so Win32 executables are valid.
  524. Mon Jan 27 12:28:43 1997 Ian Lance Taylor <ian@cygnus.com>
  525. * scripttempl/elf.sc: Put linkonce reloc section in other
  526. appropriate reloc sections.
  527. * scripttempl/elfmips.sc: Add linkonce support.
  528. * scripttempl/elfppc.sc: Likewise.
  529. Fri Jan 24 10:44:09 1997 Jeffrey A Law (law@cygnus.com)
  530. * emulparms/mn10200.sh (OTHER_RELOCATING_SECTIONS): Move the
  531. stack up to 0x80000.
  532. * emulparms/mn10300.sh (OTHER_RELOCATING_SECTIONS): Likewise.
  533. Tue Jan 21 12:11:10 1997 Doug Evans <dje@seba.cygnus.com>
  534. * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Use PROVIDE
  535. to define `_stack'.
  536. Thu Jan 16 17:07:52 1997 Ian Lance Taylor <ian@cygnus.com>
  537. * ld.h (args_type): Rename auxiliary_filter_shlib to
  538. auxiliary_filters, and make it char **.
  539. * lexsup.c (parse_args): Handle -f by setting up an array.
  540. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
  541. new name of auxiliary_filters.
  542. * ld.texinfo (Options): Improve documentation of --filter and
  543. --auxiliary.
  544. Tue Jan 14 15:44:28 1997 Ian Lance Taylor <ian@cygnus.com>
  545. * ld.texinfo (Options): Clarify that the normal usage is -T.
  546. (Commands): Likewise.
  547. Thu Jan 9 11:26:27 1997 Ian Lance Taylor <ian@cygnus.com>
  548. * scripttempl/armcoff.sc: Correct mask used for .data address.
  549. Wed Jan 8 15:14:59 1997 Geoffrey Noer <noer@cygnus.com>
  550. * emultempl/pe.em: make default executable a.exe instead of
  551. a.out
  552. Fri Jan 3 17:33:34 1997 Richard Henderson <rth@tamu.edu>
  553. * scripttempl/elf.sc: Move .got closer to .sdata and .sbss by
  554. shifting .plt back. Rumour has it that the NetBSD ld.so depends
  555. on .dynamic being after .got, so we leave that.
  556. Fri Jan 3 14:04:40 1997 Ian Lance Taylor <ian@cygnus.com>
  557. * Makefile.in (clean): Don't remove configdoc.texi.
  558. (maintainer-clean): Do remove configdoc.texi.
  559. * ld.texinfo (Operators): Remove '@' from @smallexmple in comment
  560. to avoid confusing texi2roff.
  561. Fri Jan 3 11:27:02 1997 Michael Meissner <meissner@tiktok.cygnus.com>
  562. * scripttempl/v850.sc (.zdata): Add .zcommon section.
  563. (.tdata): Add .tcommon and .tcommon_byte sections.
  564. Thu Jan 2 18:14:32 1997 Ian Lance Taylor <ian@cygnus.com>
  565. * configure.tgt (mips*el-*-linux*, mips*-*-linux*): New targets.
  566. * scripttempl/elfmips.sc: Use __start as the entry address for
  567. mips*-*-linux*.
  568. Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com>
  569. * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
  570. * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
  571. fields.
  572. * lexsup.c (parse_args): Recognize --auxiliary/-f and
  573. --filter/-F.
  574. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  575. Pass filter_shlib and auxiliary_filter_shlib to
  576. size_dynamic_sections.
  577. * ld.texinfo, ld.1: Document --filter/-F and --auxiliary/-f.
  578. Mon Dec 30 13:55:57 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  579. * scripttempl/v850.sc (.tdata) Add .tbss and .tbyte sections.
  580. Wed Dec 18 22:57:35 1996 Stan Shebs <shebs@andros.cygnus.com>
  581. * mpw-make.sed: Use NewFolderRecursive for installation.
  582. Fri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  583. * scripttempl/v850.sc: Make sure __{e,g}p start relative to the
  584. {s,t}data sections. Do not emit any linker generated symbols if
  585. -r. Use {TEXT,{Z,S,T}DATA}_START_ADDR variables to initialize
  586. where the different sections go. Change some whitespace.
  587. * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define
  588. appropriately. Remove crud not used anymore.
  589. Fri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com)
  590. * Makefile.in (emn10200.c): Add dependencies.
  591. * configure.tgt: Handle mn10200.
  592. * emulparms/mn10200.sh: New file.
  593. Thu Dec 12 17:04:55 1996 Ian Lance Taylor <ian@cygnus.com>
  594. * emultempl/gld960c.em: Include <ctype.h>.
  595. (gld960_set_output_arch): Get the machine type from the -A option
  596. if there is one, rather than always using core.
  597. Sat Dec 7 10:07:51 1996 Jeffrey A Law (law@cygnus.com)
  598. * emulparms/mn10300.sh: Handle leading underscores.
  599. Thu Dec 5 13:45:58 1996 Ian Lance Taylor <ian@cygnus.com>
  600. * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Only
  601. set hold_rel if SEC_ALLOC is set.
  602. Tue Dec 3 11:29:20 1996 Ian Lance Taylor <ian@cygnus.com>
  603. * ldlang.c (section_already_linked): Set the output_offset as well
  604. as the output_section when only reading symbols from a file.
  605. Mon Dec 2 11:43:50 1996 Ian Lance Taylor <ian@cygnus.com>
  606. * emulparams/*.sh: Make sure that each set of parameters which
  607. uses the elf.sc script sets MACHINE.
  608. Wed Nov 27 03:22:05 1996 Jason Merrill <jason@yorick.cygnus.com>
  609. * scripttempl/elf{,mips,ppc}.sc: Add the remaining DWARF sections.
  610. * scripttempl/elfd10v.sc: Likewise.
  611. * scripttempl/v850.sc: Likewise.
  612. Tue Nov 26 16:58:33 1996 Ian Lance Taylor <ian@cygnus.com>
  613. * configure: Rebuild with autoconf 2.12.
  614. Mon Nov 25 12:17:55 1996 Jim Wilson <wilson@cygnus.com>
  615. * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Add case
  616. for bfd_vma to init loop.
  617. Mon Nov 25 09:55:07 1996 Jeffrey A Law (law@cygnus.com)
  618. * emulparms/mn10300.sh: Remove bogus '_' prefix for
  619. entry symbol and ctor/dtor stuff.
  620. Fri Nov 15 13:00:18 1996 Jeffrey A Law (law@cygnus.com)
  621. * Makefile.in (emn10300.c): Add dependencies.
  622. * configure.tgt: Handle mn10300.
  623. * emulparms/mn10300.sh: New file.
  624. Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  625. * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004.
  626. (EMBEDDED): Define.
  627. Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com>
  628. * ld.texinfo: Add section on reporting bugs.
  629. * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__
  630. symbols are correctly aligned.
  631. Thu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com)
  632. * scripttempl/v850.sc (zdata): Handle reszdata, romzdata and
  633. romzbss too.
  634. Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  635. * emulparams/d10velf.sh: Changes needed for D10V-EVA board.
  636. Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
  637. 0x2000000.
  638. * scripttempl/elfd10v.sc: Fix calculation of .text. Change
  639. .stack to start at 0x2007ffe.
  640. Mon Oct 28 15:37:00 1996 Doug Evans <dje@canuck.cygnus.com>
  641. * configure.tgt (sparclet*-*-aout*): Delete, use sparc*-*-aout*.
  642. Wed Oct 23 16:17:22 1996 Jeffrey A Law (law@cygnus.com)
  643. * scripttempl/v850.sc (zdata): Fix typo "zrodata" -> "rozdata".
  644. * scripttempl/v850.sc (zdata): Make sure this stays
  645. in lo-memory.
  646. Tue Oct 22 11:36:47 1996 Jeffrey A Law (law@cygnus.com)
  647. * scripttempl/v850.sc (__ep): Put it at the start
  648. of the tda section.
  649. * scripttempl/v850.sc: Move all "normal" sections into
  650. the external memory region (0x100000 - 0x200000).
  651. Mon Oct 21 17:16:59 1996 Michael Meissner <meissner@wogglebug.tiac.net>
  652. * scripttempl/elfd10v.sc: Clone from elf.sc, move .text to
  653. 0x10000, so that is more room for data.
  654. * emulparams/d10velf.sh (TEXT_START_ADDR): Now 0x100000.
  655. (READONLY_START_ADDR): Now 0x0.
  656. (SCRIPT_NAME): Now elfd10v.
  657. * Makefile.in (ed10velf.c): Depend on elfd10v.sc, not elf.sc.
  658. Fri Oct 18 22:12:49 1996 Doug Evans <dje@canuck.cygnus.com>
  659. * emulparams/m32relf.sh (TEXT_START_ADDR): Change from 0 to 0x100.
  660. Fri Oct 18 15:43:38 1996 Ian Lance Taylor <ian@cygnus.com>
  661. * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
  662. (ALL_64_EMULATIONS): New variable.
  663. * configure.in: Accept --enable-64-bit-bfd option. If it is set
  664. with --enable-targets=all, include ALL_64_EMULATIONS in
  665. EMULATION_OFILES.
  666. * configure: Rebuild.
  667. Fri Oct 18 12:58:35 1996 Jeffrey A Law (law@cygnus.com)
  668. * scripttempl/v850.sc (__gp, __ep): Define.
  669. Thu Oct 17 18:14:07 1996 Ian Lance Taylor <ian@cygnus.com>
  670. * ld.texinfo: Try to consistently use a single or a double dash
  671. for each option.
  672. Thu Oct 17 10:17:20 1996 Doug Evans <dje@canuck.cygnus.com>
  673. * emulparams/m32relf.sh (EMBEDDED): Define.
  674. Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com)
  675. * scripttempl/v850.sc (.zdata): Add this before .text.
  676. (.sdata): Also include .rosdata as part of the .sdata.
  677. (.tdata): Include this just before .sdata.
  678. * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
  679. * scripttempl/v850.sc: Wrap script with a "cat << EOF".
  680. Wed Oct 16 23:10:01 1996 Jeffrey A Law (law@cygnus.com)
  681. * scripttempl/v850.sc: New linker script for the V850.
  682. * Makefile.in: Use it.
  683. Thu Oct 10 17:57:00 1996 Ian Lance Taylor <ian@cygnus.com>
  684. * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
  685. OTHER_READWRITE_SECTIONS.
  686. * emulparams/elf32l4300.sh: Likewise.
  687. Wed Oct 9 14:36:18 1996 Ian Lance Taylor <ian@cygnus.com>
  688. * ld.h (ld_config_type): Add warn_section_align field.
  689. * lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
  690. (ld_options): Add --warn-section-align.
  691. (parse_args): Handle --warn-section-align.
  692. * ldlang.c (lang_size_sections): If warn_section_align, warn if
  693. the start of a section changes due to alignment.
  694. * ld.texinfo, ld.1: Document --warn-section-align.
  695. * ld.texinfo: Change some single dashes to double dashes.
  696. * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
  697. subsystem type. Ifdef out os2 type. Recognize a version number.
  698. Tue Oct 8 12:07:13 1996 Ian Lance Taylor <ian@cygnus.com>
  699. * emultempl/pe.em (set_pe_subsystem): When setting the subsystem
  700. to windows, set the entry point.
  701. * Makefile.in (ldlex.c): Don't pass any options to $(LEX).
  702. Mon Oct 7 17:29:05 1996 Ian Lance Taylor <ian@cygnus.com>
  703. * ld.texinfo (Options): Mention .so extensions for shared
  704. libraries.
  705. Sun Oct 6 22:35:36 1996 Jason Merrill <jason@yorick.cygnus.com>
  706. * scripttempl/elf{,mips,ppc}.sc: Add DWARF 2 sections.
  707. Fri Oct 4 18:49:31 1996 Ian Lance Taylor <ian@cygnus.com>
  708. * scripttempl/m68kcoff.sc: Only set the address of .text if
  709. RELOCATING.
  710. Fri Oct 4 10:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
  711. * emulparams/sparcaout.sh ({BIG,LITTLE}_OUTPUT_FORMAT): Define.
  712. * scripttempl/aout.sc ({BIG,LITTLE}_OUTPUT_FORMAT): Provide default.
  713. (OUTPUT_FORMAT): Support bi-endian targets.
  714. Thu Oct 3 13:52:03 1996 Ian Lance Taylor <ian@cygnus.com>
  715. * fnmatch.h, fnmatch.c: Remove (now in libiberty).
  716. * Makefile.in: Rebuild dependencies.
  717. (CFILES): Remove fnmatch.c.
  718. (HFILES): Remove fnmatch.h.
  719. (OFILES): Remove fnmatch.o.
  720. Thu Oct 3 15:41:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  721. * Makefile.in (mostlyclean): Move config.log to distclean.
  722. Wed Oct 2 23:45:25 1996 Geoffrey Noer <noer@cygnus.com>
  723. * emultempl/pe.em: increase size of stack reserve to 0x2000000
  724. (necessary in order to compile parse.c in gcc sources under NT)
  725. Wed Oct 2 14:49:10 1996 Ian Lance Taylor <ian@cygnus.com>
  726. * lexsup.c (ld_options): Fix typo in --rpath-link description.
  727. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Suggest
  728. --rpath if a needed library is not found.
  729. Tue Oct 1 16:17:33 1996 Joel Sherrill <joel@oarcorp.com>
  730. * configure.tgt (mips*-*-rtems*): New target, like mips*-*-elf*.
  731. Tue Oct 1 15:50:34 1996 Ian Lance Taylor <ian@cygnus.com>
  732. * ld.texinfo (Options): Give more detail on -l option.
  733. * scripttempl/elfmips.sc: Handle CREATE_SHLIB the same way that
  734. elf.sc does, so that glibc works better.
  735. * ldver.c (ld_program_version): New variable.
  736. (ldversion): Use it.
  737. * ldver.h (ld_program_version): Declare.
  738. * lexsup.c (ld_options): Handle --dll-verbose like --verbose, not
  739. --version. Change --version handling to match current GNU
  740. standards.
  741. (help): Print bug report address.
  742. Mon Sep 30 12:14:43 1996 Doug Evans <dje@canuck.cygnus.com>
  743. * Makefile.in (em32relf.c): Add rule for.
  744. * configure.tgt (m32r-*-*): Recognize.
  745. * emulparams/m32relf.sh: New file.
  746. Thu Sep 26 13:58:47 1996 Stan Shebs <shebs@andros.cygnus.com>
  747. * mpw-make.sed: Add symbolic doublequoting to ldmain compile edit.
  748. * mpw-config.in: Add mips-*-* case as mips-elf, and use more
  749. wildcards in matching.
  750. * mpw-emipself.c: New file, pregenerated mips elf emulation.
  751. Tue Sep 17 12:18:21 1996 Ian Lance Taylor <ian@cygnus.com>
  752. * ldint.texinfo: Rewrote.
  753. * configure.tgt: Add cases for MIPS 5000 like MIPS 4300.
  754. Mon Sep 16 17:55:21 1996 Ian Lance Taylor <ian@cygnus.com>
  755. * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
  756. syntax error on __end__ line.
  757. * scripttempl/armcoff.sc: For -N or -n, don't align .data. From
  758. Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
  759. Sun Sep 15 22:09:56 1996 Jeffrey A Law (law@cygnus.com)
  760. * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
  761. Sun Sep 15 10:38:16 1996 Mark Alexander <marka@cygnus.com>
  762. * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
  763. stack at top of simulator memory.
  764. Fri Sep 13 15:49:45 1996 Ian Lance Taylor <ian@cygnus.com>
  765. * ldlex.l (SYMBOLCHARN): Add $, _, and ~.
  766. Wed Sep 11 23:30:42 1996 Ian Lance Taylor <ian@cygnus.com>
  767. * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al.
  768. Thu Sep 5 15:24:12 1996 Ian Lance Taylor <ian@cygnus.com>
  769. * ldlang.c (section_already_linked): Accept a lang_input_statement
  770. as the PTR argument. If the file is symbols only, discard all
  771. input sections.
  772. (ldlang_add_file): Pass entry to bfd_map_over_sections.
  773. Wed Sep 4 15:53:43 1996 Ian Lance Taylor <ian@cygnus.com>
  774. * configure.tgt (alpha-*-gnu*): New target. From Fila Kolodny
  775. <fila@ibi.com>.
  776. Tue Sep 3 00:52:54 1996 Jeffrey A Law (law@cygnus.com)
  777. * emulparms/v850.sh: Set OTHER_RELOCATING_SECTIONS
  778. Sun Sep 1 21:48:58 1996 Jeffrey A Law (law@cygnus.com)
  779. * emulparms/v850.sh: Set EMBEDDED.
  780. Fri Aug 30 22:30:30 1996 Jeffrey A Law (law@cygnus.com)
  781. * emulparms/v850.sh: Entry symbol is "_start", tweak
  782. ctor/dtor support.
  783. Fri Aug 30 18:32:31 1996 Ian Lance Taylor <ian@cygnus.com>
  784. * configure.tgt (sh-*-elf*): New target.
  785. * emulparams/shelf.sh: New file.
  786. * emulparams/shlelf.sh: New file.
  787. * Makefile.in (ALL_EMULATIONS): Add eshelf.o and eshlelf.o.
  788. (eshelf.c, eshlelf.c): New targets.
  789. * scripttempl/elf.sc: If EMBEDDED is defined, then don't add
  790. SIZEOF_HEADERS to TEXT_START_ADDR. Expand CTOR_START and CTOR_END
  791. around .ctors, and DTOR_START and DTOR_END around .dtors. Expand
  792. OTHER_RELOCATING_SECTIONS if RELOCATING.
  793. Thu Aug 29 16:57:46 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  794. * configure.{host,tgt} (i[345]86-*-*): Recognize i686 for pentium
  795. pro.
  796. Mon Aug 26 12:58:11 1996 Ian Lance Taylor <ian@cygnus.com>
  797. * ldgram.y (section): Add opt_nocrossrefs; pass value to
  798. lang_enter_overlay.
  799. (opt_nocrossrefs): New nonterminal.
  800. * ldlex.l: Recognize NOCROSSREFS keyword in EXPRESSION mode.
  801. * ldlang.c (overlay_nocrossrefs): New static variable.
  802. (lang_enter_overlay): Add nocrossrefs parameter.
  803. (lang_leave_overlay): Only add nocrossrefs if overlay_nocrossrefs
  804. is set. Initialize overlay_nocrossrefs.
  805. * ldlang.h (lang_enter_overlay): Update declaration.
  806. * ld.texinfo (Overlays): Update documentation.
  807. * ldver.c (ldversion): Print GNU ld in the version message.
  808. Thu Aug 22 17:10:40 1996 Ian Lance Taylor <ian@cygnus.com>
  809. * configure.host: Set HLDENV.
  810. * configure.in: Substitute HLDENV.
  811. * configure: Rebuild.
  812. * Makefile.in (HLDENV): New variable.
  813. ($(LD_PROG)): Use $(HLDENV).
  814. Thu Aug 22 16:29:28 1996 Jeffrey A Law (law@cygnus.com)
  815. * Makefile.in (ev850.c): New target.
  816. * configure.tgt (v850-*-*): New target.
  817. * emulparams/v850.sh: New file.
  818. Thu Aug 22 11:16:02 1996 Stan Shebs <shebs@andros.cygnus.com>
  819. * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.
  820. Wed Aug 21 11:26:37 1996 Ian Lance Taylor <ian@cygnus.com>
  821. * scripttempl/elf.sc: Put .gnu.linkonce* sections in appropriate
  822. containing sections.
  823. Mon Aug 19 13:01:42 1996 Ian Lance Taylor <ian@cygnus.com>
  824. * fnmatch.c: Include sysdep.h.
  825. Mon Aug 19 11:28:29 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  826. * genscripts.sh: Undo 8/16 change.
  827. * emulparams/d10velf.sh (MACHINE): Explicitly set to nothing.
  828. Fri Aug 16 19:18:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  829. * genscripts.sh: Explicitly reset any shell variables set or used
  830. by the various .sc scripts to allow inadvertant use of these
  831. names as normal environment variables by the person running
  832. configure.
  833. * Makefile.in (ed10velf.c): Use tdir_d10v, not tdir_arcelf.
  834. Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk>
  835. * scripttempl/armcoff.sc (__bss_start__, __bss_end__,
  836. __data_start__, __data_end__): Added to keep in sync. with the
  837. default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support.
  838. Thu Aug 8 14:24:56 1996 Ian Lance Taylor <ian@cygnus.com>
  839. * ldcref.c (check_reloc_refs): If info->same, look for any symbol
  840. defined in info->defsec, not just the section symbol.
  841. Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
  842. * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
  843. * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
  844. (NEED_DECLARATION_SBRK): New macro.
  845. * configure, config.in: Rebuild.
  846. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR.
  847. * ldmain.c (sbrk): Declare if HAVE_SBRK and
  848. NEED_DECLARATION_SBRK.
  849. * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return.
  850. Mon Aug 5 16:26:14 1996 Ian Lance Taylor <ian@cygnus.com>
  851. * ldlex.l: Recognize OVERLAY.
  852. * ldgram.y: Add section_phdr field to %union.
  853. (section): Handle phdr_opt result. Add OVERLAY case.
  854. (opt_exp_without_type): New nonterminal.
  855. (phdr_opt): Return list of phdrs.
  856. (overlay_section): New nonterminal.
  857. * ldlang.c: Include <ctype.h>.
  858. (lang_leave_output_section_statement): Add phdrs parameter.
  859. Change all callers.
  860. (lang_section_in_phdr): Remove.
  861. (overlay_vma, overlay_lmn, overlay_max): New static variables.
  862. (struct overlay_list): Define.
  863. (overlay_list): New static variable.
  864. (lang_enter_overlay, lang_enter_overlay_section): New functions.
  865. (lang_leave_overlay_section, lang_leave_overlay): New functions.
  866. * ldlang.h (lang_leave_output_section_statement): Update
  867. declaration for new parameter.
  868. (lang_section_in_phdr): Don't declare.
  869. (lang_enter_overlay, lang_enter_overlay_section): Declare.
  870. (lang_leave_overlay_section, lang_leave_overlay): Declare.
  871. * ld.texinfo (Overlays): New node under SECTIONS, documenting
  872. overlays.
  873. * ldlex.l: Recognize MAX and MIN.
  874. * ldgram.y (MAX, MIN): New terminals.
  875. (exp): Recognize MAX and MIN.
  876. * ldexp.c (fold_binary): Handle MAX and MIN.
  877. * ld.texinfo (Arithmetic Functions): Document MAX and MIN.
  878. * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header
  879. index entries.
  880. * ldgram.y (SIZEOF, ADDR): Do not specify type.
  881. * ldcref.c (check_nocrossref): Skip symbols with no output
  882. sections.
  883. Fri Aug 2 14:57:49 1996 Ian Lance Taylor <ian@cygnus.com>
  884. * ldgram.y (LOADADDR): New terminal.
  885. (exp): Handle LOADADDR.
  886. * ldlex.l: Recognize LOADADDR.
  887. * ldexp.c (exp_print_token): Add LOADADDR.
  888. (fold_name): Implement LOADADDR.
  889. * ldlang.c (exp_init_os): Treat LOADADDR like ADDR.
  890. * ld.texinfo (Arithmetic Functions): Document LOADADDR.
  891. Thu Aug 1 12:52:19 1996 Ian Lance Taylor <ian@cygnus.com>
  892. * ld.h (check_nocrossrefs): Declare.
  893. * ldlang.h (struct lang_nocrossref): Define.
  894. (struct lang_nocrossrefs): Define.
  895. (nocrossref_list): Declare.
  896. (lang_add_nocrossref): Declare.
  897. * ldlex.l: Recognize NOCROSSREFS keyword.
  898. * ldgram.y (%union): Add nocrossref field.
  899. (NOCROSSREFS): New terminal.
  900. (ifile_p1): Recognize NOCROSSREFS.
  901. (nocrossref_list): New nonterminal.
  902. * ldlang.c (nocrossref_list): Define.
  903. (lang_add_nocrossref): New function.
  904. * ldmain.c (main): If nocrossref_list is not NULL, call
  905. check_nocrossrefs.
  906. (warning_callback): Free symbols if there is no place to store
  907. them.
  908. (notice): Call add_cref if nocrossref_list is not NULL.
  909. * ldcref.c: Include "ldexp.h" and "ldlang.h".
  910. (check_nocrossrefs): New function.
  911. (check_nocrossref): New static function.
  912. (struct check_refs_info): Define.
  913. (check_refs, check_reloc_refs): New static functions.
  914. * Makefile.in: Rebuild dependencies.
  915. * ld.texinfo (Option Commands): Document NOCROSSREFS.
  916. * ld.texinfo (Section Placement): Improve the wording of the
  917. wildcard documentation. Mention that wildcards are only searched
  918. for on the command line, not in the file system.
  919. * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Move
  920. definition of lib_path inside condition where it is used.
  921. Wed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  922. * emulparams/d10velf.sh: Now works with elf.sc.
  923. Wed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  924. * emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla.
  925. Tue Jul 30 14:46:42 1996 Ian Lance Taylor <ian@cygnus.com>
  926. * ldlang.c (lang_size_sections): Add the section VMA to the result
  927. value when computing the address of a section.
  928. * ld.h (args_type): Add cref field.
  929. * lexsup.c (parse_args): Set command_line.cref.
  930. * ldmain.c (main): Check command_line.cref rather than
  931. link_info.notice_all.
  932. (notice): Likewise.
  933. * ldcref.c (output_one_cref): Don't crash if a symbol is defined
  934. in a section without an owner.
  935. Mon Jul 29 17:23:33 1996 Ian Lance Taylor <ian@cygnus.com>
  936. * fnmatch.h, fnmatch.c: New files.
  937. * ldlex.l: Remove unused definition of FILENAME. Add definition
  938. of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a
  939. NAME.
  940. * ldgram.y (file_NAME_list): Accept '*' and '?' specially.
  941. (input_section_spec): Accept '?' specially.
  942. (statement): Change exp to mustbe_exp in length and FILL cases.
  943. (section): Call ldlex_script before section statements, and call
  944. ldlex_popstate after them.
  945. * ldlang.c: Include "fnmatch.h".
  946. (wildcardp): New static function.
  947. (wild_section): Permit the section name to be a wildcard.
  948. (wild_file): New static function, broken out of wild.
  949. (wild): Call wild_file. Permit the file name to be a wildcard.
  950. (open_input_bfds): Don't call lookup_name for a wildcard pattern.
  951. * Makefile.in: Rebuild dependencies.
  952. (CFILES): Add fnmatch.c.
  953. (HFILES): Add fnmatch.h.
  954. (OFILES): Add fnmatch.o.
  955. * ld.texinfo: Document that file and section names can now be
  956. wildcard patterns.
  957. * ldlang.c (lang_place_orphans): Correct condition: place a common
  958. section if not relocateable or if common definitions are forced.
  959. Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  960. * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf.
  961. Wed Jul 24 13:38:22 1996 Michael Meissner <meissner@wogglebug.tiac.net>
  962. * configure.tgt (d10v-*-*): Don't require the -elf, allow plain d10v.
  963. Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  964. * Makefile.in (ed10velf.c): New target.
  965. * configure.tgt (d10v-*-elf*): New target.
  966. * emulparams/d10velf.sh: New file.
  967. Thu Jul 18 16:25:39 1996 Ian Lance Taylor <ian@cygnus.com>
  968. * configure.tgt (sparc*-*-sysv4*): New target. From Andrew Gierth
  969. <ANDREWG@microlise.co.uk>.
  970. * configure.host: Change irix5 to irix[56]*.
  971. * configure.tgt: Likewise.
  972. Wed Jul 17 10:52:46 1996 Kim Knuttila <krk@cygnus.com>
  973. * emultempl/pe.em (sort_sections): Pay attention to return code.
  974. * ldmisc.c (demangle): Remove all prefix '.'s from a name.
  975. Mon Jul 15 11:49:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  976. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round
  977. the value of __start_SECNAME to the alignment required by the
  978. section to be placed.
  979. Tue Jul 9 12:09:02 1996 Ian Lance Taylor <ian@cygnus.com>
  980. * configure.tgt (mips*el-*-elf*): Use elf32elmip.
  981. (mips*-*-elf*): Use elf32ebmip.
  982. * emulparams/elf32bmip.sh (EMBEDDED): Don't define.
  983. * emulparams/elf32lmip.sh (EMBEDDED): Don't define.
  984. * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
  985. EMBEDDED defined.
  986. * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
  987. EMBEDDED defined.
  988. * emulparams/elf32b4300.sh (EMBEDDED): Define.
  989. * emulparams/elf32l4300.sh (EMBEDDED): Define.
  990. * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
  991. (eelf32ebmip.c, eelf32elmip.c): New targets.
  992. Thu Jul 4 12:01:03 1996 Ian Lance Taylor <ian@cygnus.com>
  993. * ldver.c (ldversion): Set version to cygnus-2.7.1.
  994. * Released binutils 2.7.
  995. * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
  996. System V file name limitations.
  997. * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use
  998. pc532macha rather than pc532machaout.
  999. * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to
  1000. epc532macha.o.
  1001. (epc532macha.c): Rename target from epc532machaout.c.
  1002. Wed Jul 3 11:40:10 1996 Ian Lance Taylor <ian@cygnus.com>
  1003. * ldlang.c (print_padding_statement): Use %u, not %x, to print
  1004. fill value.
  1005. Sun Jun 30 11:16:43 1996 Stan Shebs <shebs@andros.cygnus.com>
  1006. * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.
  1007. Thu Jun 27 14:03:42 1996 Ian Lance Taylor <ian@cygnus.com>
  1008. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Put the .sa
  1009. file just before the .so file, rather than just after.
  1010. * configure.host: Use -print-file-name=FILE rather than piping
  1011. -print-libgcc-file-name through sed.
  1012. (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and
  1013. crtend.o files, in case gcc doesn't use them.
  1014. * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o.
  1015. Wed Jun 26 15:57:21 1996 Ian Lance Taylor <ian@cygnus.com>
  1016. * configure.tgt (mips*-dec-osf*): New target.
  1017. Tue Jun 25 22:15:29 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  1018. * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
  1019. INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
  1020. (docdir): Removed.
  1021. * configure.in (AC_PREREQ): autoconf 2.5 or higher.
  1022. (AC_PROG_INSTALL): Added.
  1023. * configure: Rebuilt.
  1024. Mon Jun 24 18:48:16 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1025. * scripttempl/elfppc.sc (_GLOBAL_OFFSET_TABLE_): Don't do a
  1026. PROVIDE of _GLOBAL_OFFSET_TABLE_, since it needs to be at a
  1027. non-fixed location.
  1028. Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl>
  1029. * ldlang.h (enum section_type): Define.
  1030. (lang_output_section_statement_type): Remove loadable field. Add
  1031. sectype field.
  1032. (lang_enter_output_section_statement): Change flags parameter in
  1033. prototype to sectype.
  1034. * ldgram.y (typebits): Remove.
  1035. (sectype): New static variable.
  1036. (opt_at): Use sectype rather than typebits.
  1037. (type): Set sectype rather than typebits.
  1038. (atype): Likewise.
  1039. * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in
  1040. EXPRESSION mode.
  1041. * ldlang.c (lang_output_section_statement_lookup): Set sectype
  1042. field rather than loadable field.
  1043. (wild_doit): Check sectype rather than loadable.
  1044. (lang_record_phdrs): Likewise.
  1045. (lang_enter_output_section_statement): Rename flags parameter to
  1046. sectype. Set sectype field rather than loadable field. Set flags
  1047. field based on sectype.
  1048. Mon Jun 24 12:00:32 1996 Ian Lance Taylor <ian@cygnus.com>
  1049. * scripttempl/elf.sc: Force .stab* and .comment sections to start
  1050. at 0.
  1051. * configure.in: On alpha*-*-osf*, link against libbfd.a if not
  1052. using shared libraries.
  1053. * configure: Rebuild with autoconf 2.10.
  1054. Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
  1055. * configure.tgt: Add support for *-*-rtems* configurations.
  1056. Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu>
  1057. * configure.tgt (alpha-*-linuxecoff*): New target.
  1058. (alpha-*-linux*): Use elf64alpha.
  1059. * emulparams/elf64alpha.sh: New file.
  1060. * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use
  1061. ${ELFSIZE} rather than 32 when calling BFD routines.
  1062. (hold_rodata): New static variable.
  1063. (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a
  1064. readonly section that is not code.
  1065. (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use
  1066. a .rel section unless its bfd_section field is not NULL.
  1067. * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o.
  1068. (eelf64alpha.c): New target.
  1069. Fri Jun 21 12:45:46 1996 Ian Lance Taylor <ian@cygnus.com>
  1070. * ldmisc.c (vfinfo): Correct handling of 0 in %W case.
  1071. Thu Jun 20 13:55:28 1996 Ian Lance Taylor <ian@cygnus.com>
  1072. Add enough support to understand the gcc svr3.ifile script:
  1073. * ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add
  1074. BIND keyword.
  1075. * ldgram.y: Add BIND token.
  1076. (section): Recognize GROUP.
  1077. (opt_ext_with_type): Recognize a couple of cases of BIND.
  1078. * ldlang.c (init_os): Don't do anything if section is already
  1079. initialized. Call exp_init_os on addr_tree field.
  1080. (exp_init_os): New static function.
  1081. (map_input_to_output_sections): Call exp_init_os on assignment
  1082. expression.
  1083. (lang_place_orphans): Check for common sections by name COMMON
  1084. rather than by common_section field. Don't warn about absence of
  1085. [COMMON] command.
  1086. * ldlang.h (lang_input_statement_type): Remove useless fields
  1087. common_section, common_output_section, and complained, as well as
  1088. all references to them.
  1089. * ldexp.c: Reindent a lot of code.
  1090. (exp_fold_tree): Call FAIL rather than einfo in default case.
  1091. Wed Jun 19 11:40:14 1996 Ian Lance Taylor <ian@cygnus.com>
  1092. * configure.host (m88*-*-dgux*): Quote HOSTING_CRT0. From
  1093. <randall.hron@medaphis.com>.
  1094. Tue Jun 18 15:53:09 1996 Jeffrey A. Law <law@rtl.cygnus.com>
  1095. * scripttempl/h8300s.sc: New file for H8/S.
  1096. * emulpararms/h8300s.sh: New file for H8/S.
  1097. * Makefile.in (ALL_EMULATIONS): Add H8/S.
  1098. (e_h8300s.c): Add dependencies.
  1099. * configure.tgt: Add H8/S to targ_extra_emuls.
  1100. Tue Jun 18 17:55:39 1996 Ian Lance Taylor <ian@cygnus.com>
  1101. * configure.tgt (i[345]86*-*-isc*): New target. From
  1102. <uddeborg@carmen.se>.
  1103. Wed Jun 12 12:46:21 1996 Ian Lance Taylor <ian@cygnus.com>
  1104. * lexsup.c: Include "libiberty.h".
  1105. (parse_args): Copy the -Y argument into memory.
  1106. (set_default_dirlist): Don't put the ':' back into the directory
  1107. list.
  1108. Fri Jun 7 11:27:42 1996 Ian Lance Taylor <ian@cygnus.com>
  1109. * emultempl/sunos.em: Include libiberty.h.
  1110. (gld${EMULATION_NAME}_set_symbols): New static function to add
  1111. LD_LIBRARY_PATH to the list of search directories.
  1112. (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.
  1113. Thu Jun 6 11:50:31 1996 Ian Lance Taylor <ian@cygnus.com>
  1114. * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
  1115. rather than . when computing _gp value. From Per Fogelstrom.
  1116. * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.
  1117. * ldmain.c (main): Don't close and unlink the file on error, since
  1118. remove_output will do it anyhow.
  1119. * ldlang.c (open_output): Set boolean variable to true, not 1.
  1120. Wed Jun 5 18:34:14 1996 James G. Smith <jsmith@cygnus.co.uk>
  1121. * emulparams/{elf32b4300.sh,elf32l4300.sh} (SCRIPT_NAME): Use
  1122. elfmips instead of elf.
  1123. Tue Jun 4 18:43:07 1996 Ian Lance Taylor <ian@cygnus.com>
  1124. * ldcref.c: New file.
  1125. * ld.h (add_cref, output_cref): Declare.
  1126. * ldmain.c (main): Initialize notice_all field. If it is set at
  1127. end of link, call output_cref.
  1128. (notice): Rename from notice_ysym. Check notice_all.
  1129. * ldmisc.c (finfo): Make globally visible.
  1130. * ldmisc.h (finfo): Declare.
  1131. * lexsup.c (OPTION_CREF): Define.
  1132. (ld_options): Add "cref".
  1133. (parse_args): Handle OPTION_CREF.
  1134. * Makefile.in: Rebuild dependencies.
  1135. (CFILES): Add ldcref.c.
  1136. (OFILES): Add ldcref.o.
  1137. * ld.texinfo, ld.1: Document --cref.
  1138. Tue Jun 4 12:12:25 1996 Tom Tromey <tromey@csk3.cygnus.com>
  1139. * Makefile.in (install): Make $(tooldir) and $(tooldir)/bin.
  1140. Fri May 31 12:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
  1141. * emultempl/pe.em (sort_sections): Don't assume that a
  1142. wild_statement has a section name.
  1143. Wed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com>
  1144. * scripttempl/elfmips.sc: Quote test -z argument.
  1145. * ld.texinfo: Clarify the CONSTRUCTORS command.
  1146. Thu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com>
  1147. * emultempl/aix.em (gld${EMULATION_NAME}_read_file): Initialize
  1148. file, not impfile.
  1149. Wed May 22 11:31:30 1996 Doug Evans <dje@seba.cygnus.com>
  1150. * ldlang.c (wild_doit): Don't copy over SEC_LINK_{ONCE,DUPLICATES}
  1151. if final link.
  1152. * emultempl/pe.em (sfunc): Renamed to sort_by_file_name.
  1153. (sort_by_section_name, sort_sections_1): New functions.
  1154. (sort_sections): Only sort by file name sections in .idata.
  1155. Add "Grouped Sections" support.
  1156. (gld${EMULATION_NAME}_place_orphan): Rewrite to support Grouped
  1157. Sections.
  1158. (gld${EMULATION_NAME}_place_section): Delete.
  1159. * scripttempl/pe.sc (.text,.data,.rdata): Add *(.foo\$).
  1160. (.CRT,.rsrc): Rewrite to use Grouped Section support.
  1161. Tue May 21 14:31:48 1996 Stan Shebs <shebs@andros.cygnus.com>
  1162. * mpw-eppcmac.c: Update to reflect changes to aix.em.
  1163. Sun May 19 16:59:44 1996 Doug Evans <dje@seba.cygnus.com>
  1164. * ldlang.c (dprint_statement): Stop printing at end of list.
  1165. Sat May 18 13:12:05 1996 Steve Chamberlain <sac@slash.cygnus.com>
  1166. Support for --force-exe-suffix
  1167. * ld.h (args_type): Add force_exe_suffix.
  1168. * ld.texinfo: Add documentation.
  1169. * ldmain.c (main): Add support for option.
  1170. * lexsup.c (OPTION_FORCE_EXE_SUFFIX): New.
  1171. (ld_options, parse_args): Add support for option.
  1172. Wed May 15 12:50:25 1996 Jim Wilson <wilson@chestnut.cygnus.com>
  1173. * emultempl/pe.em (set_pe_value): Pass 0 not 16 to strtoul call.
  1174. Fri May 10 16:28:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1175. * scripttempl/elfppc.sc (__stack): Make __stack 0 if it was
  1176. referenced but not defined.
  1177. Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com>
  1178. * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}:
  1179. Set a new variable to signify if the final target is an embedded
  1180. system.
  1181. * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to
  1182. .text for an embedded system.
  1183. Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com>
  1184. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): New function.
  1185. (gld${EMULATION_NAME}_place_section): New function.
  1186. (hold_{section,use,text,rdata,data}): New static locals.
  1187. (ld_${EMULATION_NAME}_emulation): Update orphan field.
  1188. * scripttempl/pe.sc: Whitespace cleanup. Semicolon usage cleanup.
  1189. (INIT,FINI): Delete, unused.
  1190. (.text): Document orphan .text.foo sections.
  1191. (.rdata): Document orphan .rdata.foo sections.
  1192. (.data): Document orphan .data.foo sections.
  1193. Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com)
  1194. * scripttempl/h8300.sc: Place ".tiny" sections right
  1195. after ".data" sections.
  1196. * scripttempl/h8300h.sc: Place ".tiny" sections into
  1197. the "tiny" memory region, 0xff8000 through 0xffff00.
  1198. * scripttempl/h8300.sc: Set the entry point to the value of
  1199. "_start" rather than the start of the text segment.
  1200. * scripttempl/h8300h.sc: Likewise.
  1201. * scripttempl/h8300.sc: Place .rodata sections before .text
  1202. sections in main ram.
  1203. * scripttempl/h8300h.sc: Likewise.
  1204. Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com)
  1205. * scripttempl/h8300h.sc: Use "eight", not "eightbit" for the
  1206. 8-bit region and 8-bit sections.
  1207. Wed May 1 17:50:06 1996 Doug Evans <dje@canuck.cygnus.com>
  1208. * ldlang.c (section_already_linked): Fix typos.
  1209. Mon Apr 29 20:31:06 1996 Doug Evans <dje@canuck.cygnus.com>
  1210. * scripttempl/pe.sc (.endjunk): Define __end__.
  1211. Mon Apr 29 17:05:13 1996 Ian Lance Taylor <ian@cygnus.com>
  1212. * ldlang.c (longest_section_name): Remove.
  1213. (SECTION_NAME_MAP_LENGTH): Define.
  1214. (print_size, print_alignment, print_fill, print_section): Remove.
  1215. (print_flags): Remove.
  1216. (lang_map): Rewrite.
  1217. (print_output_section_statement): Rewrite.
  1218. (print_assignment): Rewrite.
  1219. (print_one_symbol): Rewrite.
  1220. (print_input_section): Rewrite.
  1221. (print_fill_statement): Rewrite.
  1222. (print_data_statement): Rewrite.
  1223. (print_address_statement): New static function.
  1224. (print_reloc_statement): Rewrite.
  1225. (print_padding_statement): Rewrite.
  1226. (print_wild_statement): Rewrite.
  1227. (print_statement_list): Clean up.
  1228. (print_statement): Clean up. Some minor output changes.
  1229. (print_statements): Clean up.
  1230. (load_symbols): Put another - before -whole-archive.
  1231. * ldexp.c (exp_print_tree): Change etree_value and etree_rel to
  1232. print 0x and to omit leading zeroes. For etree_rel, use %B to
  1233. print the BFD. For etree_assign, remove the space after the
  1234. destination name.
  1235. * ldwrite.c: Include "libiberty.h".
  1236. (clone_section): Call xstrdup, not strdup.
  1237. (ldwrite): Don't print any map information.
  1238. (print_symbol_table, print_file_stuff, print_symbol): Remove.
  1239. * ldmain.c (main): Call lang_map when appropriate.
  1240. * ldmisc.c (vfinfo): Add support for %W.
  1241. (print_address): Remove.
  1242. * ldmisc.h (print_address): Don't declare.
  1243. * Makefile.in: Rebuild dependencies.
  1244. Mon Apr 29 10:29:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1245. * configure.host (m68*-*-linux*): Add -dynamic-linker to
  1246. HOSTING_CRT0. Search -lgcc both before and after -lc in
  1247. HOSTING_LIBS. Look for crt{begin,end}.o in the compiler directory
  1248. at first.
  1249. (i[345]86-*-linux*): Look for crt{begin,end}.o in the compiler
  1250. directory at first.
  1251. Fri Apr 26 14:42:27 1996 Ian Lance Taylor <ian@cygnus.com>
  1252. * ldmisc.h (demangle): Declare.
  1253. * ldmisc.c: Include "libiberty.h". Include demangle.h with "",
  1254. not <>.
  1255. (demangle): Make non-static. Remove remove_underscore paramter.
  1256. Always return an allocated string.
  1257. (vfinfo): Free result of demangle. Add case 'G'. Use %T to print
  1258. functionname, rather than calling demangle. Print a colon between
  1259. the BFD(section+offset) and the line number.
  1260. * ldmain.c (add_archive_element): Improve format of archive
  1261. information in map file.
  1262. (constructor_callback): Don't print anything to the map file.
  1263. * ldlang.c (lang_one_common): Improve format of common symbol
  1264. information in map file.
  1265. * ldctor.c (ldctor_build_sets): If producing a map file, print set
  1266. information.
  1267. * ldwrite.c (print_symbol_table): Print a newline before the
  1268. header in the map file.
  1269. * Makefile.in: Rebuild dependencies.
  1270. * ldmisc.c (vfinfo): Reindent.
  1271. Mon Apr 22 12:07:32 1996 Ian Lance Taylor <ian@cygnus.com>
  1272. * ldlang.c (lang_size_sections): If _cooked_size is not 0, then
  1273. don't clobber it when not relaxing.
  1274. * ld.h (ld_config_type): Remove traditional_format field.
  1275. * ldmain.c (main): Use link_info.traditional_format rather than
  1276. config.traditional_format.
  1277. * ldlang.c (ldlang_open_output): Likewise.
  1278. * lexsup.c (parse_args): Likewise.
  1279. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Likewise.
  1280. * mpw-eppcmac.c (gldppcmacos_parse_args): Likewise.
  1281. * ldlang.c (wild_doit): Discard debugging sections if we are
  1282. stripping debugging information.
  1283. * emulparams/z8002.sh (ARCH): Set to z8002, not z8k.
  1284. Tue Apr 16 16:38:32 1996 Ian Lance Taylor <ian@cygnus.com>
  1285. * ldexp.c (fold_binary): Correct handling of subtraction with
  1286. absolute values.
  1287. (fold_name): Permit symbols in lang_allocating_phase_enum.
  1288. * scripttempl/aout.sc: Only PROVIDE __stack when RELOCATING. Undo
  1289. accidental changes in last patch.
  1290. Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1291. * configure.tgt (powerpc*-*-{sysv,linux}): Add aliases.
  1292. (powerpcle*-*-{sysv,solaris}): Ditto.
  1293. Mon Apr 15 14:50:56 1996 Rob Savoye <rob@chinadoll.cygnus.com>
  1294. * scripttempl/aout.sc: Add PROVIDE (__stack = 0) so I can use it
  1295. in m68k/crt0.S without things blowing up.
  1296. Fri Apr 12 16:40:56 1996 Rob Savoye <rob@chinadoll.cygnus.com>
  1297. * scripttempl/m68kcoff.sc: Remove default address for .data so
  1298. .text, .data, and .bss are all sequential.
  1299. Thu Apr 11 12:05:35 1996 Ian Lance Taylor <ian@cygnus.com>
  1300. * scripttempl/m68kcoff.sc: Remove regions and simplify.
  1301. Wed Apr 10 14:41:53 1996 Jeffrey A Law (law@cygnus.com)
  1302. * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256
  1303. bytes of the address space. Put data from the ".eight" sections
  1304. into the 8-bit area.
  1305. * scripttempl/h8300h.sc: Likewise.
  1306. Tue Apr 9 14:10:42 1996 Doug Evans <dje@canuck.cygnus.com>
  1307. * emultempl/generic.em (gld${EMULATION_NAME}_before_parse):
  1308. Pass $ARCH to ldfile_set_output_arch instead of setting
  1309. ldfile_output_architecture directly.
  1310. Tue Apr 9 14:22:15 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1311. * scripttempl/elfppc.sc (.init,.fini): Put .init, .fini section
  1312. next to .text. Put _etext after .text, .init, .fini, and
  1313. .rodata{,2} sections.
  1314. Tue Apr 9 12:18:57 1996 Ian Lance Taylor <ian@cygnus.com>
  1315. * ld.texinfo: Rearrange option documentation.
  1316. * lexsup.c (ld_options): New static array.
  1317. (parse_args): Build shortopts and longopts from ld_options array.
  1318. (help): New static function.
  1319. * ldver.h (help): Don't declare.
  1320. * ldver.c (ldversion): Reindent.
  1321. (help): Remove.
  1322. * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic.
  1323. Mon Apr 8 11:56:23 1996 Ian Lance Taylor <ian@cygnus.com>
  1324. * emultempl/elf32.em: When checking for a native emulation, check
  1325. that the current emulation is the default emulation.
  1326. * emultempl/sunos.em: Likewise.
  1327. * configure.in: Permit --enable-shared to specify a list of
  1328. directories.
  1329. * configure: Rebuild.
  1330. * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,
  1331. for HP/UX compatibility.
  1332. Fri Apr 5 14:30:14 1996 Ian Lance Taylor <ian@cygnus.com>
  1333. * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): New
  1334. static function, if ${host} = ${target}.
  1335. (gld${EMULATION_NAME}_after_open): Call check_ld_so_conf to find a
  1336. needed shared library if ${host} = $[target}.
  1337. * configure.host (i[345]86-*-linux*): Add -dynamic-linker to
  1338. HOSTING_CRT0. Search -lgcc both before and after -lc in
  1339. HOSTING_LIBS.
  1340. * configure.tgt: Add i[345]86-*-freebsdelf* target; from John
  1341. Polstra <jdp@polstra.com>.
  1342. Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>
  1343. * emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit
  1344. architecture number.
  1345. * scripttempl/elf.sc: Use $MACHINE definition if present.
  1346. * configure.tgt (targ_extra_emuls): Force 4100 build to use same
  1347. template as 4300.
  1348. Mon Apr 1 17:35:40 1996 Ian Lance Taylor <ian@cygnus.com>
  1349. * ldlang.c (lang_size_sections): Change region check to handle
  1350. regions which end at the highest possible address correctly.
  1351. From Roland Weber <roweber@ira.uka.de>.
  1352. * ldlang.c (section_already_linked): New static function.
  1353. (wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
  1354. relocateable link. Don't worry about section being NULL, since it
  1355. never should be. Don't call init_os unless the section is going
  1356. to be added.
  1357. (ldlang_add_file): Call section_already_linked for each section.
  1358. * ldmain.c (multiple_definition): Don't warn about multiple
  1359. definitions in sections which are being discarded.
  1360. Sun Mar 31 00:30:47 1996 steve chamberlain <sac@slash.cygnus.com>
  1361. * scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
  1362. * emultempl/pe.em (init): Remove special case PPC code.
  1363. Fri Mar 29 00:01:29 1996 Jeffrey A Law (law@cygnus.com)
  1364. * scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
  1365. so as not to overwrite the magic syscall entry at 0xc4.
  1366. * scripttempl/h8300h.sc: Likewise.
  1367. Thu Mar 28 11:05:47 1996 Doug Evans <dje@canuck.cygnus.com>
  1368. * configure.tgt (sparc64-*-solaris2*): Delete.
  1369. Stick with sparc-*-solaris2*.
  1370. Wed Mar 27 12:33:24 1996 Ian Lance Taylor <ian@cygnus.com>
  1371. * ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".
  1372. * ldlang.c (init_os): Fail on an attempt to initialize any section
  1373. named DISCARD_SECTION_NAME.
  1374. (wild_doit): Discard input sections assigned to an output section
  1375. named DISCARD_SECTION_NAME.
  1376. * ld.texinfo: Document use of /DISCARD/.
  1377. * ldlang.c: Fix some indentation and comments.
  1378. Tue Mar 26 18:14:49 1996 Ian Lance Taylor <ian@cygnus.com>
  1379. * ldmain.c (main): Call bfd_set_error_program_name.
  1380. Thu Mar 21 13:17:34 1996 Ian Lance Taylor <ian@cygnus.com>
  1381. * ld.texinfo: Fix a couple of indexing entries. Mention that
  1382. --verbose displays builtin linker scripts.
  1383. * ldmisc.c (vfinfo): case 'I': If the file is not in an archive,
  1384. and the local symbol name does not match the filename, print the
  1385. filename as well.
  1386. Patches from John Polstra <jdp@polstra.com> for FreeBSD ELF:
  1387. * lexsup.c (parse_args): -Bshareable is a synonym for -shared.
  1388. * emulparams/elf_i386.sh (NONPAGED_TEXT_START_ADDR): Make the same
  1389. as TEXT_START_ADDR.
  1390. Wed Mar 20 18:18:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1391. * ld.texinfo: Fix typos. Use @pxref only inside parentheses.
  1392. Wed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com>
  1393. * ldmain.c (add_wrap): New function.
  1394. * ldmain.h (add_wrap): Declare.
  1395. * lexsup.c (parse_args): Call add_wrap.
  1396. Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com>
  1397. * configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
  1398. Wed Mar 13 17:47:31 1996 Jeffrey A Law (law@cygnus.com)
  1399. * scripttempl/h8300.sc: Change name of page zero memory
  1400. from "null" to "vectors". Create an output section for
  1401. vectors. Add comments on how to explicitly place items
  1402. in the vector table.
  1403. * scripttempl/h8300h.sc: Likewise.
  1404. Wed Mar 13 12:40:18 1996 Ian Lance Taylor <ian@cygnus.com>
  1405. * emultempl/lnk960.em (machine_table): Add jx and hx.
  1406. * genscripts.sh: Don't use ${9:-xx}, since Ultrix /bin/sh doesn't
  1407. support it.
  1408. Tue Mar 12 12:43:59 1996 David Mosberger-Tang <davidm@koala.azstarnet.com>
  1409. * ld.h (ld_config_type): Add warn_multiple_gp field.
  1410. * lexsup.c (parse_args): Handle --warn-multiple-gp.
  1411. * ldmain.c (warning_callback): Suppress multiple gp values warning
  1412. if --warn_multiple_gp was not used.
  1413. * ld.texinfo, ld.1: Document --warn-multiple-gp.
  1414. Tue Mar 12 12:02:21 1996 Ian Lance Taylor <ian@cygnus.com>
  1415. * lexsup.c (parse_args): Handle --wrap.
  1416. * ldmain.c (main): Initialize link_info.wrap_hash.
  1417. * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED
  1418. and NAME cases.
  1419. * ld.texinfo, ld.1: Document --wrap.
  1420. * configure: Rebuild with autoconf 2.8.
  1421. Don't do SunOS style dynamic linking for sparc-aout:
  1422. * configure.tgt (sparc64-*-aout*): Use sparcaout, not sun4.
  1423. (sparclite*-fujitsu-*, sparc*-*-aout): Likewise.
  1424. (sparc*-wrs-vxworks*): Likewise.
  1425. * emulparams/sparcaout.sh: New file.
  1426. * Makefile.in (ALL_EMULATIONS): Add esparcaout.o.
  1427. (esparcaout.c): New target.
  1428. Wed Mar 6 16:06:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
  1429. * scripttempl/elfppc.sc (.sdata2, .sbss2): Implement Feb 2 change
  1430. in a different manner to work around differences in shell variable
  1431. expansion.
  1432. Wed Mar 6 18:08:18 1996 Ian Lance Taylor <ian@cygnus.com>
  1433. * ldemul.h (ldemul_unrecognized_file): Declare.
  1434. (ldemulation_xfer_type): Add unrecognized_file field.
  1435. * ldemul.c (ldemul_unrecognized_file): New function.
  1436. * ldlang.c (load_symbols): If a file can not be recognized, call
  1437. ldemul_unrecognized_file before trying it as a linker script.
  1438. * emultempl/aix.em (gld${EMULATION_NAME}_unrecognized_file): New
  1439. static function.
  1440. (gld${EMULATION_NAME}_read_file): Use FOPEN_RT, not "r".
  1441. (ld_${EMULATION_NAME}_emulation): Initialize unrecognized_file.
  1442. Mon Mar 4 14:11:17 1996 Ian Lance Taylor <ian@cygnus.com>
  1443. * ldlang.c (wild): Handle foo.a(.text) by mapping each included
  1444. member of foo.a separately. From Jouke Numan <jnuman@bazis.nl>.
  1445. Fri Mar 1 10:24:59 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1446. * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
  1447. Search trinary.cond rather than searching trinary.lhs twice.
  1448. Tue Feb 27 15:08:43 1996 Stan Shebs <shebs@andros.cygnus.com>
  1449. * mpw-make.sed: Edit out shared library support.
  1450. (@TDIRS@): Edit out, can't use genscripts.
  1451. Tue Feb 27 15:09:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1452. * configure.tgt (m68k-*-linuxaout*, m68k-*-linux*): New targets.
  1453. * emulparams/m68klinux.sh: New file.
  1454. * emultempl/linux.em (gld${EMULATION_NAME}_before_allocation):
  1455. Call bfd_${EMULATION_NAME}_size_dynamic_sections instead of
  1456. bfd_linux_size_dynamic_sections.
  1457. * Makefile.in (ALL_EMULATIONS): Add em68klinux.o.
  1458. (em68klinux.c): New target.
  1459. * configure.host (m68*-*-linuxaout*, m68*-*-linux*): New hosts.
  1460. Tue Feb 27 12:55:46 1996 Ian Lance Taylor <ian@cygnus.com>
  1461. * Makefile.in (ALL_EMULATIONS): Sort into alphabetical order.
  1462. Fill in missing entries.
  1463. * lexsup.c (parse_args): Recognize --no-whole-archive.
  1464. * ldlang.h (lang_input_statement_type): Add whole_archive field.
  1465. * ldlang.c (new_afile): Set whole_archive field.
  1466. (load_symbols): Check input file specific whole_archive field
  1467. rather than global variable.
  1468. * ld.texinfo, ld.1: Document --no-whole-archive.
  1469. Tue Feb 20 16:07:00 1996 Ian Lance Taylor <ian@cygnus.com>
  1470. * configure.tgt: Correct gldi960 to gld960.
  1471. Mon Feb 19 11:16:44 1996 Ian Lance Taylor <ian@cygnus.com>
  1472. * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Check
  1473. the SONAME if it is available.
  1474. (gld${EMULATION_NAME}_stat_needed): Use the SONAME, not the
  1475. filename, when checking for conflicting library versions. Don't
  1476. assume that the suffix is only numbers and dots.
  1477. * ld.texinfo: Mention that -R can be used for -rpath.
  1478. Sun Feb 18 15:05:17 1996 Ian Lance Taylor <ian@cygnus.com>
  1479. * configure.host: Check for 'do not mix' from native linker before
  1480. trying to use -rpath.
  1481. Thu Feb 15 13:58:06 1996 Ian Lance Taylor <ian@cygnus.com>
  1482. * configure.in: Remove explicit substitution of CFLAGS; autoconf
  1483. does it anyhow.
  1484. * configure: Rebuild.
  1485. * Makefile.in (LDFLAGS): Set to @LDFLAGS@.
  1486. * configure.in: Call AC_PROG_CC before configure.host.
  1487. * configure: Rebuild.
  1488. * configure.host: Remove go32 host, since it should no longer be
  1489. necessary. Don't set CC for romp host.
  1490. * scripttempl/elf.sc: Don't skip a page in virtual memory space if
  1491. the text segment ends exactly on a page boundary.
  1492. * configure.in: Substitute RPATH_ENVVAR.
  1493. * configure: Rebuild.
  1494. * configure.host: Set RPATH_ENVVAR.
  1495. * Makefile.in (RPATH_ENVVAR): New variable.
  1496. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
  1497. Wed Feb 14 18:49:01 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
  1498. * configure.in: Redo emulation handling so that each emulation
  1499. searches the correct tool directory, based on the target alias.
  1500. For example, "configure --enable-targets=m68k-coff i386-linux"
  1501. will search /usr/local/i386-linux/lib for linux and
  1502. /usr/local/m68k-coff/lib for m68k-coff.
  1503. * configure: Rebuild.
  1504. * configure.tgt: Add special tdir settings for Linux.
  1505. * Makefile.in: Add @TDIRS@. Pass "$(tdir_EMUL)" to ${GENSCRIPTS}
  1506. for each eEMUL.c target.
  1507. * genscripts.sh: Accept specific alias as 9th argument, and use it
  1508. in LIB_PATH.
  1509. Wed Feb 14 16:38:36 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
  1510. * ldlang.c (lang_set_startof): Don't do anything for a
  1511. relocateable link.
  1512. * ldgram.y (mri_script_file): Call mri_draw_tree.
  1513. * mri.c (mri_draw_tree): Make globally visible. Don't bother to
  1514. create memory regions.
  1515. (mri_load): Don't call mri_draw_tree.
  1516. * mri.h (mri_draw_tree): Declare.
  1517. * configure.tgt (m68*-*-psos): New target.
  1518. * emulparams/m68kpsos.sh: New file.
  1519. * scripttempl/psos.sc: New file.
  1520. * Makefile.in (ALL_EMULATIONS): Add em68kpsos.o.
  1521. (em68kpsos.c): New target.
  1522. Wed Feb 14 11:09:25 1996 Ian Lance Taylor <ian@cygnus.com>
  1523. * configure.tgt (*-*-ieee*): New target; use vanilla.
  1524. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Strip
  1525. `:foo' from ${ARCH}.
  1526. Tue Feb 13 15:58:58 1996 Bryan Ford <baford@snake.cs.utah.edu>
  1527. * scripttempl/i386msdos.sc: Don't pad the .text section. Put
  1528. .rodata in .data.
  1529. Tue Feb 13 14:04:19 1996 Ian Lance Taylor <ian@cygnus.com>
  1530. * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
  1531. * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
  1532. it looks like we might be linking in two different versions of the
  1533. same shared library. Based on a patch from H J Lu <hjl@zoom.com>.
  1534. Thu Feb 8 19:25:54 1996 Ian Lance Taylor <ian@cygnus.com>
  1535. * ldlang.c (lang_size_sections): Increment the section size when a
  1536. padding statement is encountered.
  1537. Wed Feb 7 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com>
  1538. * configure.in: Look for --enable-shared. Change the value of
  1539. BFDLIB when linking against a shared library on SunOS.
  1540. * configure: Rebuild.
  1541. * configure.host: If using a shared BFD library, try to pass a
  1542. reasonable -rpath option when linking.
  1543. * Makefile.in (BFDLIB): Set to @BFDLIB@.
  1544. Tue Feb 6 12:29:14 1996 Doug Evans <dje@charmed.cygnus.com>
  1545. * emulparams/elf64_sparc.sh (ARCH): Change to `sparc:v9'.
  1546. * emultempl/generic.em: Strip `:foo' from ${ARCH}.
  1547. Mon Feb 5 16:25:30 1996 Ian Lance Taylor <ian@cygnus.com>
  1548. Support for building bfd and opcodes as shared libraries, based on
  1549. patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
  1550. * configure.in (HLDFLAGS): New substitution.
  1551. * configure: Rebuild.
  1552. * configure.host: Set HLDFLAGS on SunOS.
  1553. * Makefile.in (HLDFLAGS): New variable.
  1554. (BFDDEP): New variable.
  1555. (BFDLIB): Change to -L../bfd -lbfd.
  1556. ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use
  1557. $(HLDFLAGS) in link.
  1558. (check): Set LD_LIBRARY_PATH in the environment.
  1559. Fri Feb 2 19:26:25 1996 Michael Meissner <meissner@wogglebug.tiac.net>
  1560. * scripttempl/elfppc.sc (.sdata2, .sbss2): Put .sdata2 and .sbss
  1561. in the read-only section, not read/write unless we are making a
  1562. shared library.
  1563. (.debug*): Add dwarf debug sections.
  1564. (.rela.{sdata*,sbss*}): Add sections.
  1565. Fri Feb 2 16:50:21 1996 Ian Lance Taylor <ian@cygnus.com>
  1566. * configure: Regenerate.
  1567. Thu Feb 1 10:50:46 1996 Ian Lance Taylor <ian@cygnus.com>
  1568. * emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,
  1569. for SVR4 compatibility.
  1570. * ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.
  1571. Wed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com>
  1572. * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.
  1573. * emultempl/pe.em (definfo init): Make the default stack reserve
  1574. of a PPC larger.
  1575. Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>
  1576. * configure.tgt (m68*-apple-aux*): New target.
  1577. * emulparams/m68kaux.sh: New file.
  1578. * scripttempl/m68kaux.sc: New file.
  1579. * Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
  1580. (em68kaux.c): New target.
  1581. Tue Jan 30 13:18:56 1996 Ian Lance Taylor <ian@cygnus.com>
  1582. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
  1583. -bnoentry, since the right thing tends to happen anyhow.
  1584. Mon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com>
  1585. * ld.texinfo, ld.1: Document -export-dynamic.
  1586. Fri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1587. * emultempl/sunos.em: Check for native compile by comparing
  1588. ${target} and ${host}.
  1589. Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk>
  1590. * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed
  1591. TEXT_START_ADDR to allow use on IDT and PMON systems.
  1592. Wed Jan 24 20:59:40 1996 Steve Chamberlain <sac@slash.cygnus.com>
  1593. * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
  1594. correct spelling.
  1595. Wed Jan 24 16:59:19 1996 Doug Evans <dje@charmed.cygnus.com>
  1596. * configure.tgt (sparc64-*-solaris2*): New configuration.
  1597. (sparc64-*-aout*): Renamed from sparc64*.
  1598. Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1599. * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@.
  1600. * genscripts.sh: Set host, target and target_alias variables.
  1601. Check for native compile by comparing ${target} and ${host}.
  1602. * emultempl/elf32.em: Likewise.
  1603. * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}.
  1604. Mon Jan 22 11:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1605. * scripttempl/elfppc.sc: Refine eabi support to better support
  1606. .sdata, .sdata2, .sbss, etc. sections.
  1607. Tue Jan 16 15:16:58 1996 Ian Lance Taylor <ian@cygnus.com>
  1608. * ldgram.y (%union): Add phdr field.
  1609. (phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
  1610. (phdr_qualifiers): New nonterminal. Add support for FLAGS.
  1611. (opt_hdrs, hdr): Remove.
  1612. (phdr_val): New nonterminal.
  1613. * ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
  1614. and phdrs parameters. Add flags parameter.
  1615. (lang_record_phdrs): Update for changes to lang_phdr. Pass flags
  1616. to bfd_record_phdr.
  1617. * ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
  1618. phdrs fields. Add flags field.
  1619. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
  1620. (lang_new_phdr): Update declaration.
  1621. * ld.texinfo: Document FLAGS.
  1622. Mon Jan 15 15:07:19 1996 Ian Lance Taylor <ian@cygnus.com>
  1623. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
  1624. Don't make a shared library because of an undefined reference to
  1625. __GLOBAL_OFFSET_TABLE_.
  1626. Add some Irix 5 support, mostly from Kazumoto Kojima
  1627. <kkojima@info.kanagawa-u.ac.jp>:
  1628. * emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
  1629. (SHLIB_TEXT_START_ADDR): Define.
  1630. (OTHER_GOT_SYMBOLS): Define.
  1631. (OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
  1632. (EXECUTABLE_SYMBOLS): Don't define.
  1633. (DYNAMIC_LINK): Don't define.
  1634. * emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
  1635. * scripttempl/elfmips.sc: New file.
  1636. * configure.host (mips*-dec-bsd*): Change mips to mips*.
  1637. (mips*-sgi-irix4*): Likewise.
  1638. (mips*-sgi-irix5*): New entry.
  1639. * Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
  1640. elf.sc.
  1641. (eelf32lmip.c): Likewise.
  1642. Sat Jan 13 09:41:43 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1643. * scripttempl/elfppc.sc: Remove support for .rel.* sections. Add
  1644. .rela.got.neg section.
  1645. Fri Jan 12 14:56:19 1996 Ian Lance Taylor <ian@cygnus.com>
  1646. * scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
  1647. * ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
  1648. ANSI_PROTOTYPES is defined. Remove special handling of
  1649. WINDOWS_NT. Various indendation fixes.
  1650. (vfinfo): Change fmt parameter to const char *.
  1651. (info_msg): Write <stdarg.h> version.
  1652. (einfo, minfo, finfo): Likewise.
  1653. (info_assert): Change file parameter to const char *.
  1654. * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is
  1655. defined, use a real prototype.
  1656. (info_assert): Change first parameter to be const char *.
  1657. Fri Jan 12 13:29:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1658. * scripttempl/elfppc.sc: Add support for .sdata2/.sbss2, etc. Add
  1659. in old support that 2.7.2 needs, but the current compiler does
  1660. not.
  1661. * Makefile.in (eelf32{,l}ppc.c): Fix up dependencies to use the
  1662. correct Linker script template.
  1663. * emulparams/elf32{,l}ppc.sh (TEXT_START_ADDR): Set to 0x40000,
  1664. not 0x400000.
  1665. (DATA_ADDR,NONPAGED_TEXT_START_ADDR): Delete.
  1666. Tue Jan 9 15:53:02 1996 Ian Lance Taylor <ian@cygnus.com>
  1667. * scripttempl/alpha.sc: Put .rconst right after .rdata.
  1668. Fri Jan 5 14:07:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
  1669. * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation):
  1670. sort using right pointer.
  1671. Fri Jan 5 12:25:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  1672. * scripttempl/elfppc.sc: Remove support for creating special
  1673. labels for eabi section begin/end here. The compiler now uses
  1674. crt{i,n}.o to create these symbols.
  1675. Thu Jan 4 17:08:58 1996 Ian Lance Taylor <ian@cygnus.com>
  1676. * configure.host: Change existing Linux HOSTING_CRT0 to be used
  1677. for a.out only, and put in appropriate HOSTING_CRT0 and
  1678. HOSTING_LIBS values for Linux ELF.
  1679. Thu Jan 4 12:02:05 1996 Doug Evans <dje@canuck.cygnus.com>
  1680. * scripttempl/h8300.sc: Use all 64K for ram.
  1681. * scripttempl/h8300h.sc: Define 256K ram size.
  1682. Thu Dec 21 15:57:18 1995 Ian Lance Taylor <ian@cygnus.com>
  1683. * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Pass
  1684. export_defines as true to bfd_xcoff_size_dynamic_sections if -unix
  1685. was used, regardless of whether -bE was used.
  1686. Tue Dec 19 17:35:38 1995 Ian Lance Taylor <ian@cygnus.com>
  1687. * emultempl/aix.em (gld${EMULATION_NAME}_after_open): Only set
  1688. relocateable before calling ldctor_build_sets if the output file
  1689. is in an XCOFF format.
  1690. Fri Dec 15 16:34:36 1995 Ian Lance Taylor <ian@cygnus.com>
  1691. * ldwrite.c (build_link_order): When handling a data statement, if
  1692. the endianness of the output file is unknown, use the endianness
  1693. of the input file.
  1694. Tue Dec 12 13:55:41 1995 Stan Shebs <shebs@andros.cygnus.com>
  1695. * mpw-config.in: Recognize mips-*-* as equivalent to
  1696. mips-idt-ecoff.
  1697. * mpw-eppcmacos.c: Rename to shorter mpw-eppcmac.c.
  1698. * mpw-ld.r: Add version resources.
  1699. (cfrg): Use symbolic instead of literal name for executable.
  1700. Mon Dec 11 15:13:41 1995 Kim Knuttila <krk@cygnus.com>
  1701. * scripttempl/ppcpe.sc (FINI): Moved the .reloc section.
  1702. Wed Dec 6 14:33:50 1995 Doug Evans <dje@canuck.cygnus.com>
  1703. * ldlang.c (print_statement{,s}): Delete duplicate prototype.
  1704. (print_statement_list): Renamed from print_statement. All callers
  1705. updated.
  1706. (print_statement): New function to print just one statement.
  1707. (print_{data,reloc,padding}_statement): Don't crash if
  1708. output_section == NULL.
  1709. (dprint_statement): New function.
  1710. * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix
  1711. call to sort_sections.
  1712. Wed Dec 6 14:59:06 1995 Ian Lance Taylor <ian@cygnus.com>
  1713. * emultempl/aix.em (unix_ld): New static variable.
  1714. (gld${EMULATION_NAME}_parse_args): Handle -unix.
  1715. (gld${EMULATION_NAME}_before_allocation): If unix_ld, pass
  1716. gc as false and export_defineds as true to size_dynamic_sections.
  1717. * ldexp.c (exp_fold_tree): Permit assignments to dot in the final
  1718. phase if the current section is abs_output_section.
  1719. Tue Dec 5 09:49:39 1995 Doug Evans <dje@canuck.cygnus.com>
  1720. * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Fix call
  1721. to sort_sections.
  1722. Fri Dec 1 16:48:36 1995 Ian Lance Taylor <ian@cygnus.com>
  1723. * ldgram.y (PHDRS): New token.
  1724. (ifile_p1): Accept phdrs.
  1725. (section): Accept phdr_opt at the end of the section definition.
  1726. (phdr_op): New nonterminal.
  1727. (phdrs, phdr_list, phdr, phdr_type, opt_hdrs, hdr): Likewise.
  1728. * ldlex.l: Accept PHDRS.
  1729. * ldlang.h (struct lang_output_section_phdr_list): Define.
  1730. (lang_output_section_statement_type): Add phdrs field.
  1731. (struct lang_phdr): Define.
  1732. (LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Define.
  1733. (lang_new_phdr): Declare.
  1734. * ldlang.c (lang_phdr_list): New static variable.
  1735. (lang_output_section_statement_lookup): Initialize phdrs field.
  1736. (lang_process): Call lang_record_phdrs.
  1737. (lang_new_phdr): New function.
  1738. (lang_section_in_phdr): New function.
  1739. (lang_record_phdrs): New static function.
  1740. * ld.texinfo: Document PHDRS.
  1741. Thu Nov 30 13:14:30 1995 Kim Knuttila <krk@cygnus.com>
  1742. * scripttempl/ppcpe.sc: Moved .edata into its own section to
  1743. expose it.
  1744. Thu Nov 30 11:32:34 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
  1745. * configure.host (m68*-motorola-sysv): Define HOSTING_CRT0 and
  1746. HOSTING_LIBS for testing.
  1747. (m88*-motorola-sysv3): Define HOSTING_CRT0 and HOSTING_LIBS for
  1748. testing.
  1749. Tue Nov 28 12:14:53 1995 Ian Lance Taylor <ian@cygnus.com>
  1750. * lexsup.c (parse_args): Set config.dynamic_link to false for -N
  1751. and -n.
  1752. Mon Nov 27 13:12:09 1995 Ian Lance Taylor <ian@cygnus.com>
  1753. * configure: Rebuild with autoconf 2.7.
  1754. Fri Nov 24 18:35:35 1995 Doug Evans <dje@canuck.cygnus.com>
  1755. * scripttempl/pe.sc: Two .junk's is too much junk.
  1756. Tue Nov 21 16:14:32 1995 Ian Lance Taylor <ian@cygnus.com>
  1757. * configure.in: Use BFD_NEED_DECLARATION.
  1758. * acconfig.h: Put NEED_DECLARATION_FREE in @TOP@ section.
  1759. * configure, config.in: Rebuild with autoconf 2.6.
  1760. * ldmain.c (constructor_callback): Don't warn about BFD_RELOC_CTOR
  1761. being unsupported if this is not a relocateable link and the input
  1762. BFD supports it, since ldctor_build_sets can cope with that case.
  1763. Fri Nov 17 16:23:15 1995 Stan Shebs <shebs@andros.cygnus.com>
  1764. * configure.tgt (powerpc-*-macos*): New target.
  1765. * emulparams/ppcmacos.sh: New file, PowerMac emulation.
  1766. * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o.
  1767. (eppcmacos.c): New target.
  1768. * mpw-eppcmacos.c: Update.
  1769. * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.
  1770. Fri Nov 17 10:37:27 1995 Ian Lance Taylor <ian@cygnus.com>
  1771. * Makefile.in (CC_FOR_TARGET): Use @host@ and @target@, not
  1772. $(host_canonical) and $(target_canonical).
  1773. (CXX_FOR_TARGET): Likewise.
  1774. Thu Nov 16 11:23:42 1995 Doug Evans <dje@canuck.cygnus.com>
  1775. * scripttempl/pe.sc (.endjunk): Move definition of `end' to here
  1776. so the malloc heap begins at a sane place.
  1777. Thu Nov 16 03:09:32 1995 Ken Raeburn <raeburn@cygnus.com>
  1778. Version 2.6 released.
  1779. * ldver.c (ldversion): Update to 2.6.
  1780. * Makefile.in (mostlyclean): Delete ldemul-list.h here, but not
  1781. $(GENERATED_*FILES), since they need to be retained by distclean.
  1782. (maintainer-clean, realclean): Delete them here.
  1783. Tue Nov 14 17:08:06 1995 Ian Lance Taylor <ian@cygnus.com>
  1784. * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Open the
  1785. base file with FOPEN_WB, not "w".
  1786. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Use the
  1787. environment variable LD_RUN_PATH if neither -rpath nor -rpath-link
  1788. were used.
  1789. (gld${EMULATION_NAME}_before_allocation): Use the environment
  1790. variable LD_RUN_PATH if -rpath was not used.
  1791. * ld.texinfo, ld.1: Document LD_RUN_PATH.
  1792. Thu Nov 9 13:09:29 1995 Ian Lance Taylor <ian@cygnus.com>
  1793. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Recognize
  1794. -bl and -bloadmap options.
  1795. * ldfile.c (ldfile_try_open_bfd): If bfd_error_invalid_target,
  1796. report a better error.
  1797. * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Add
  1798. new local variable special_sections, and pass it to
  1799. size_dynamic_sections. Look through the results, and move the
  1800. sections around in the mapping so that they are defined correctly.
  1801. Wed Nov 8 11:40:59 1995 Ian Lance Taylor <ian@cygnus.com>
  1802. * ldemul.c (ldemul_default_target): Cast getenv return value.
  1803. Tue Nov 7 11:15:36 1995 Kim Knuttila <krk@cygnus.com>
  1804. * emulparams/ppcpe.sh (ARCH): New file for PowerPC Portable
  1805. Executable support.
  1806. * scripttempl/ppcpe.sc: New file for PowerPC Portable Executable
  1807. support.
  1808. * configure.tgt (targ_extra_emuls): Added powerpcle-pe target.
  1809. * Makefile.in (ALL_EMULATIONS): Added eppcpe.o target.
  1810. * emultempl/pe.em (TARGET_IS_ppcpe): file tailoring macro
  1811. (gld_$_before_allocation): added hooks for toc construction based
  1812. on the above macro.
  1813. Tue Nov 7 11:47:23 1995 Ian Lance Taylor <ian@cygnus.com>
  1814. * ld.texinfo: The linker does not use _main as an entry point.
  1815. Tue Nov 7 11:46:11 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
  1816. * scripttempl/m88kbcs.sc (.data): Calculate next boundary modulo
  1817. 0x2000 not 0x200.
  1818. Mon Nov 6 10:59:21 1995 Ian Lance Taylor <ian@cygnus.com>
  1819. * configure.in: Add test for whether free must be declared.
  1820. * sysdep.h: Declare free if necessary. Include "ansidecl.h".
  1821. * acconfig.h: Explain NEED_DECLARATION_FREE.
  1822. * configure, config.in: Rebuild.
  1823. * lexsup.c (parse_args): Take B:: out of shortopts.
  1824. Sun Nov 5 03:08:28 1995 Ken Raeburn <raeburn@cygnus.com>
  1825. * emulparams/i386nbsd.sh (EXECUTABLE_SYMBOLS): Set __DYNAMIC to 0
  1826. for now, as with m68k4kbsd, until shared library support gets
  1827. done.
  1828. * configure.host: For i386 BSD variants, crt0.o lives in
  1829. /usr/lib. (True for NetBSD at least, unconfirmed for others.)
  1830. Wed Nov 1 15:42:45 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
  1831. * Makefile.in (ALL_EMULATIONS): Add edelta68.o.
  1832. (edelta68.c): New target.
  1833. * configure.tgt (m68*-motorola-sysv*): New target.
  1834. * emulparams/delta68.sh: New file.
  1835. * scripttempl/delta68.sc: New file.
  1836. * scripttempl/m88kbcs.sc: Handle .init and .fini. Change section
  1837. addresses.
  1838. Wed Nov 1 11:41:56 1995 Ian Lance Taylor <ian@cygnus.com>
  1839. * ldgram.y (mri_script_command): Accept ',' as well as '=' in
  1840. ALIGN and ALIGNMOD statements.
  1841. * emultempl/aix.em: Include ldgram.h.
  1842. (gld${EMULATION_NAME}_parse_args): Handle -pD and -pT, as used on
  1843. AIX 4.1.
  1844. * Makefile.in ($(EMULATION_OFILES)): Depend upon ldgram.h.
  1845. Tue Oct 31 18:22:24 1995 David Mosberger-Tang <davidm@azstarnet.com>
  1846. * configure.host (alpha-*-linux*): New host.
  1847. * configure.tgt (alpha-*-linux*): New target.
  1848. Tue Oct 31 12:36:52 1995 Ian Lance Taylor <ian@cygnus.com>
  1849. * emultempl/aix.em (export_files): Remove.
  1850. (import_files): Make static.
  1851. (struct export_symbol_list): Define.
  1852. (export_symbols): New static variable.
  1853. (gld${EMULATION_NAME}_parse_args): Handle an initial -b option
  1854. correctly. Call read_file for an export file.
  1855. (gld${EMULATION_NAME}_before_allocation): Call
  1856. bfd_xcoff_export_symbol for each export symbol, rather than
  1857. calling read_file for each export file.
  1858. (gld${EMULATION_NAME}_read_file): For an export file, make the
  1859. exported symbols undefined, and store them on the export_symbols
  1860. list.
  1861. Sat Oct 28 00:10:03 1995 steve chamberlain <sac@slash.cygnus.com>
  1862. * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args):
  1863. Don't hang if last option is unrecognised.
  1864. (gld_${EMULATION_NAME}_set_symbols): Insert created
  1865. symbols into ABS output section.
  1866. Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se>
  1867. * Makefile.in (ALL_EMULATIONS): Added support for the NetBSD
  1868. m68k4k arch.
  1869. (em68k4knbsd.c): New rule.
  1870. * configure.tgt: Added support for the NetBSD m68k4k arch.
  1871. * genscripts.sh, ldint.texinfo,
  1872. emulparams/{a29k,armaoutb,armaoutl,coff_sparc,ebmon29k,gld960,
  1873. gld960coff,go32,h8300,h8300h,h8500,h8500b,h8500c,h8500m,h8500s,
  1874. hp300bsd,hp3hpux,hppaelf.sh,i386aout,i386bsd,i386coff,i386go32,
  1875. i386linux,i386lynx,i386nbsd,lnk960,m68kaout,m68kcoff,m68klynx,
  1876. m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd,
  1877. pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd,
  1878. st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed
  1879. PAGE_SIZE to TARGET_PAGE_SIZE.
  1880. * emulparams/m68knbsd.h: Ditto.
  1881. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize.
  1882. (EXECUTABLE_SYMBOLS): Hardcode __DYNAMIC to zero for the time
  1883. being.
  1884. * emulparams/m68k4knbsd.sh: New file.
  1885. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating.
  1886. Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com>
  1887. * emultempl/aix.em: Include ldctor.h.
  1888. (gld${EMULATION_NAME}_after_open): New static function.
  1889. (gld${EMULATION_NAME}_before_allocation): Call find_relocs.
  1890. (gld${EMULATION_NAME}_find_relocs): New static function.
  1891. (gld${EMULATION_NAME}_find_exp_assignment): New static function.
  1892. (ld_${EMULATION_NAME}_emulation): Use new after_open function.
  1893. * scripttempl/aix.sc: Use CONSTRUCTORS in .data.
  1894. * ldctor.c (struct set_info): Move definition into ldctor.h.
  1895. (struct set_element): Likewise.
  1896. (sets): Make non-static.
  1897. (ldctor_add_set_entry): Add name parameter. Save it in the new
  1898. set element.
  1899. (ldctor_build_sets): Avoid being called twice. Pass set element
  1900. name to lang_add_reloc.
  1901. * ldctor.h (struct set_info): Move definition here from ldctor.c.
  1902. (struct set_element): Likewise. Add new field name.
  1903. (sets): Declare.
  1904. (ldctor_add_set_entry): Declare new name parameter.
  1905. * ldwrite.c (build_link_order): Don't insist that either name or
  1906. section be NULL in a lang_reloc_statement.
  1907. * ldmain.c (add_to_set): Pass NULL to ldctor_add_new_set_entry for
  1908. new name parameter.
  1909. (constructor_callback): Pass name to ldctor_add_new_set_entry for
  1910. new name parameter.
  1911. * ldmisc.c (demangle): Fix indentation. Remove a leading period.
  1912. Thu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com>
  1913. * mpw-config.in: Add PowerMac target support, generate config.h.
  1914. * mac-ld.r: New file, Mac resources.
  1915. * mpw-make.sed: New file, edits Makefile.in into MPW syntax.
  1916. * mpw-make.in: Remove.
  1917. * mpw-eppcmacos.c: Prebuilt version of PowerMac linking script.
  1918. Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com>
  1919. * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Treat
  1920. -static as a synonym for -bnso.
  1921. * scripttempl/aix.sc: Move special symbols inside sections.
  1922. Always start .data at 0.
  1923. Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
  1924. * Makefile.in (diststuff): Also make info.
  1925. (maintainer-clean realclean): Also delete *.info*.
  1926. Wed Oct 25 11:27:25 1995 Ian Lance Taylor <ian@cygnus.com>
  1927. * emultempl/aix.em: Add support for various AIX linker options,
  1928. for AIX import and export files, and for AIX shared objects.
  1929. * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC.
  1930. * ldmain.c (main): Initialize new field link_info.static_link.
  1931. * ldmain.c (add_keepsyms_file): Add \n at end of einfo calls.
  1932. (constructor_callback): Likewise.
  1933. * ldmisc.c (vfinfo): Likewise.
  1934. * ldwrite.c (build_link_order): Likewise.
  1935. * ld.texinfo: The MRI ALIGN directive is supported.
  1936. Mon Oct 23 11:46:43 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
  1937. * emulparams/elf32vr4300.sh: Deleted.
  1938. * emulparams/elf32vr4300el.sh: Deleted.
  1939. * emulparams/elf32b4300.sh: Added.
  1940. * emulparams/elf32l4300.sh: Added.
  1941. * configure.tgt, Makefile.in: Updated the build to use the
  1942. new 8.3 unique names.
  1943. Thu Oct 19 17:41:46 1995 Ian Lance Taylor <ian@cygnus.com>
  1944. * ldlang.c (entry_symbol): Make non-static.
  1945. * ldlang.h (entry_symbol): Declare.
  1946. * ldlex.l: Treat PROVIDE as a keyword in expression state.
  1947. Wed Oct 18 17:34:06 1995 steve chamberlain <sac@slash.cygnus.com>
  1948. * scripttempl/pe.sc (.bss): Move to be after .text
  1949. Tue Oct 17 12:22:05 1995 Ian Lance Taylor <ian@cygnus.com>
  1950. * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
  1951. Search trinary.cond rather than searching trinary.lhs twice. From
  1952. linli@ihp.PHys.ethz.CH.
  1953. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
  1954. directory searching code into gld${EMULATION_NAME}_search_dir.
  1955. (gld${EMULATION_NAME}_search_dir): New static function, extracted
  1956. from gld${EMULATION_NAME}_find_so.
  1957. (global_needed, global_found): New static variables.
  1958. (gld${EMULATION_NAME}_after_open): New static function.
  1959. (gld${EMULATION_NAME}_search_needed): New static function.
  1960. (gld${EMULATION_NAME}_try_needed): New static function.
  1961. (gld${EMULATION_NAME}_check_needed): New static function.
  1962. (ld_${EMULATION_NAME}_emulation): Use new after_open function.
  1963. * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
  1964. * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
  1965. (eelf32lppc.c): Likewise.
  1966. * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
  1967. (GENERATE_SHLIB_SCRIPT): Define as yes.
  1968. Mon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com>
  1969. * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named
  1970. bfd_link_needed-list; make appropriate changes.
  1971. * configure.tgt (powerpc-*-aix*): New target; use aixppc.
  1972. (rs6000-*-aix*): New target; use aixrs6.
  1973. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
  1974. * emultempl/aix.em: New file.
  1975. * scripttempl/aix.sc: New file.
  1976. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
  1977. (eaixppc.c, eaixrs6.c): New targets.
  1978. Fri Oct 13 14:00:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
  1979. * scripttempl/pe.sc (.reloc): Move to the end.
  1980. Tue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com>
  1981. * ldlang.c (lang_finish): Don't try to use an entry_symbol from a
  1982. section which was not linked into the final output.
  1983. Tue Oct 10 10:17:22 1995 steve chamberlain <sac@slash.cygnus.com>
  1984. * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
  1985. fatal typos.
  1986. Tue Oct 10 01:01:51 1995 Ian Lance Taylor <ian@cygnus.com>
  1987. * ld.h (args_type): Add rpath_link field.
  1988. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
  1989. required dependencies in rpath_link path. Only search
  1990. LD_LIBRARY_PATH when configured native.
  1991. * lexsup.c (parse_args): Recognize -rpath-link.
  1992. * ld.1, ld.texinfo: Document -rpath-link.
  1993. Sat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com>
  1994. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
  1995. bother searching for needed libraries unless doing a final link.
  1996. Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com>
  1997. Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1998. * ld.1: Fix formatting bugs.
  1999. Wed Oct 4 17:37:46 1995 Ian Lance Taylor <ian@cygnus.com>
  2000. * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.
  2001. * ldexp.h (exp_get_abs_int): Update declaration.
  2002. * ldlang.c (print_output_section_statement): Use fprintf_vma to
  2003. print return value of exp_get_abs_int.
  2004. Mon Oct 2 13:56:09 1995 Ian Lance Taylor <ian@cygnus.com>
  2005. * emultempl/elf32.em (global_stat): New file static variable.
  2006. (gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure
  2007. that the file has not already been included under another name.
  2008. (gld${EMULATION_NAME}_stat_needed): New static function.
  2009. Fri Sep 29 12:00:18 1995 Doug Evans <dje@deneb.cygnus.com>
  2010. * scripttempl/armcoff.sc: Start .text at 0x8000.
  2011. Start .data at 0x40000.
  2012. Fri Sep 29 11:09:46 1995 Ian Lance Taylor <ian@cygnus.com>
  2013. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): If
  2014. command_line.rpath is set, use it, rather than the -L options, to
  2015. build the rules section.
  2016. * ld.texinfo: Document this use of -rpath.
  2017. * lexsup.c (parse_args): Don't set link_info.shared for -assert
  2018. pure-text. Pass true, not 1, to lang_add_entry.
  2019. * emultempl/sunos.em (find_assign): New static variable.
  2020. (found_assign): New static variable.
  2021. (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn.
  2022. If not a relocateable link, and no start symbol was specified on
  2023. the command line, and there are any undefined symbols, set
  2024. link_info.shared. If link_info.shared is set, set the address of
  2025. the .text section to 0x20.
  2026. (gld${EMULATION_NAME}_find_assignment): Rename from
  2027. gld${EMULATION_NAME}_find_statement_assignment. If find_assign is
  2028. set, then just set found_assign based on whether an assignment is
  2029. found to find_assign.
  2030. (gld${EMULATION_NAME}_get_script): Don't use a special script when
  2031. producing a shared library.
  2032. * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove.
  2033. * scripttempl/aout.sc: Remove CREATE_SHLIB tests.
  2034. * ldlang.c (entry_from_cmdline): New global variable.
  2035. (lang_add_entry): Change cmdline parameter from int to boolean.
  2036. Use global entry_from_cmdline rather than function static
  2037. from_cmdline.
  2038. * ldlang.h (entry_from_cmdline): Declare.
  2039. (lang_add_entry): Change declaration of second parameter from int
  2040. to boolean.
  2041. * ldgram.y: Pass false, not 0, to lang_add_entry.
  2042. Thu Sep 28 12:34:13 1995 Ian Lance Taylor <ian@cygnus.com>
  2043. * ld.h (parsing_defsym): Declare.
  2044. * ldlex.h (lex_string): Declare.
  2045. * ldlex.l (lex_string): Define.
  2046. * lexsup.c (parsing_defsym): Define.
  2047. (parse_args): In OPTION_DEFSYM case, set lex_string before calling
  2048. lex_redirect, and clear it after calling yyparse. Set
  2049. parsing_defsym around call to yyparse.
  2050. * ldmain.c (main): Set lex_string before calling lex_redirect, and
  2051. clear it after calling yyparse.
  2052. * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built
  2053. in linker scripts correctly.
  2054. * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like other
  2055. COFF targets, allowing for the leading underscore used on SPARC
  2056. COFF.
  2057. * lexsup.c (parse_args): Handle -assert.
  2058. * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define.
  2059. * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the
  2060. shared library script when appropriate.
  2061. * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text
  2062. section at SIZEOF_HEADERS.
  2063. Thu Sep 28 01:40:37 1995 Doug Evans <dje@deneb.cygnus.com>
  2064. * Makefile.in (earmcoff.c): Build.
  2065. * configure.tgt (arm-*-coff): New target
  2066. * emulparms/armcoff.sh: New file.
  2067. * scripttempl/armcoff.sc: New file.
  2068. Tue Sep 26 10:59:32 1995 Ian Lance Taylor <ian@cygnus.com>
  2069. * scripttempl/i386coff.sc: Remove .data2; no longer needed.
  2070. Fri Sep 22 18:09:02 1995 Ian Lance Taylor <ian@cygnus.com>
  2071. * ldfile.c (ldfile_set_output_arch): Make arch const.
  2072. Thu Sep 21 17:55:24 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2073. * scripttempl/elfppc.sc: Correctly locate __bss_start at the
  2074. beginning of the .bss area, not at the end of data. Add
  2075. __sbss_{start,end} symbols.
  2076. Wed Sep 20 12:29:36 1995 Ian Lance Taylor <ian@cygnus.com>
  2077. * Makefile.in (CC_FOR_TARGET): Quote $(program_transform_name).
  2078. (CXX_FOR_TARGET, install): Likewise.
  2079. Mon Sep 18 14:53:22 1995 Ian Lance Taylor <ian@cygnus.com>
  2080. Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:
  2081. * Makefile.in (CC_FOR_TARGET): Remove brokensed stuff.
  2082. (CXX_FOR_TARGET): Likewise.
  2083. (install): Likewise.
  2084. (GENERATED_HFILES): Remove config.h.
  2085. (.dep): Depend upon config.h.
  2086. Mon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no>
  2087. * configure.tgt (mips*-dec-netbsd*): New target.
  2088. Fri Sep 15 20:01:52 1995 Ken Raeburn <raeburn@cygnus.com>
  2089. * configure.host (m88*-*-dgux*): Fix another shell syntax error.
  2090. Fri Sep 15 23:28:05 1995 Andrew Cagney <cagney@highland.com.au>
  2091. * configure.host (i[345]86-*-bsd*): Fix shell syntax error.
  2092. Thu Sep 12 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com>
  2093. * scripttempl/pe.sc: Allow both spellings of .ctors/.dtors.
  2094. Start .text section on the right boundary. Always align
  2095. stabs.
  2096. Tue Sep 12 12:24:17 1995 Ian Lance Taylor <ian@cygnus.com>
  2097. * Makefile.in (maintainer-clean): New target.
  2098. * ldmain.c (struct warning_callback_info): Define.
  2099. (warning_callback): Add new parameter symbol. Call
  2100. warning_find_reloc to try to find the section and VMA.
  2101. (warning_find_reloc): New static function.
  2102. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2103. Pass NULL as symbol parameter to warning callback.
  2104. * ld.texinfo: Clarify -L option.
  2105. * ldlang.c (lang_one_common): Add cast to avoid warning.
  2106. (topower): Likewise. Also, reindent.
  2107. * ldwrite.c (clone_section): Change i to unsigned int.
  2108. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add
  2109. cast to avoid warning.
  2110. Fri Sep 8 16:32:43 1995 Ian Lance Taylor <ian@cygnus.com>
  2111. * Makefile.in (config.status): Depend upon configure.tgt.
  2112. * ldemul.h (ldemul_set_symbols): Declare.
  2113. (ldemul_parse_args): Declare.
  2114. * ldemul.c (ldemul_parse_args): Fix indentation.
  2115. * configure.in: Call AC_HEADER_DIRENT.
  2116. * configure, config.in: Rebuild.
  2117. * emultempl/sunos.em: Use autoconf recommend mechanism to define
  2118. DIR and struct dirent.
  2119. * configure.tgt (mips*-*-bsd*): New case.
  2120. * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)
  2121. New case.
  2122. * configure.tgt (i[345]86-*-ptx*): New case.
  2123. Thu Sep 7 10:48:26 1995 Ian Lance Taylor <ian@cygnus.com>
  2124. * config.in: Rename from config.h.in.
  2125. * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
  2126. Check for config.h:config.in when creating stamp-h.
  2127. * configure: Rebuild.
  2128. * Makefile.in (stamp-h): Depend upon config.in rather than
  2129. config.h.in. Set CONFIG_HEADERS to config.h:config.in when
  2130. calling config.status.
  2131. * Makefile.in (distclean): Remove config.h and stamp-h.
  2132. * configure.host (sparc-*-sunos64*): Remove.
  2133. * ldlang.c (lang_map): Check BFD64, not HOST_64_BIT.
  2134. * ldexp.c (exp_fold_tree): Don't warn about moving the location
  2135. counter backward in the absolute section.
  2136. Wed Sep 6 14:42:11 1995 Ian Lance Taylor <ian@cygnus.com>
  2137. * configure.in: Rewrite to use autoconf.
  2138. * configure.host: New file.
  2139. * configure.tgt: New file.
  2140. * aclocal.m4: New file.
  2141. * configure: New file, built by autoconf.
  2142. * acconfig.h: New file.
  2143. * config.h.in: New file, built by autoheader.
  2144. * sysdep.h: New file.
  2145. * ld.h: Incorporate old contents of config.h.
  2146. * config.h: Remove.
  2147. * Makefile.in: Various changes for new configure script. Also:
  2148. (CC_FOR_BUILD): Remove.
  2149. (ldmain.o): Don't bother to ensure that EMUL is non-empty.
  2150. (dep.sed): Use @SRCDIR@, not @srcdir@.
  2151. * dep-in.sed: Use @SRCDIR@, not @srcdir@.
  2152. * genscripts.sh: Create ldscripts if it does not exist.
  2153. * ldemul.c, lexsup.c, mpw-emipsidt.c: Don't include "config.h".
  2154. * mpw-esh.c, emultempl/*.em: Likewise.
  2155. * ldmain.c: Likewise. Include <ctype.h>. Don't try to set
  2156. HAVE_SBRK here.
  2157. * config/*.mt, config/*.mh: Remove.
  2158. Tue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com>
  2159. * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
  2160. ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall.
  2161. Fri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com>
  2162. * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors.
  2163. Fri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com>
  2164. * ldmain.c (warning_callback): Add abfd, section, and address
  2165. parameters.
  2166. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2167. Change call to warning accordingly.
  2168. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not
  2169. relocateable and not shared, put .gnu.warning.SYMBOL sections into
  2170. the .text section.
  2171. Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com>
  2172. * configure.in: Added mips*vr4300-idt-elf* and
  2173. mips*vr4300el-idt-elf* targets.
  2174. * Makefile.in: Added eelf32vr4300* targets.
  2175. * emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added.
  2176. * config/{mips-vr4300.mt, mips-vr4300el.mt}: Added.
  2177. Fri Sep 1 10:51:45 1995 Ian Lance Taylor <ian@cygnus.com>
  2178. * scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe
  2179. <brendan@cygnus.com>.
  2180. Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com>
  2181. * ldemul.c (ldemul_parse_args): New.
  2182. * ldemul.h (ld_emulation_xfer_struct): Add parse_args.
  2183. * lexsup.c (all pe stuff): Moved into pe.em
  2184. (parse_args): Call emulation arg parser.
  2185. * emultempl/pe.em (parse_args): handle PE specfic args.
  2186. Thu Aug 31 17:01:37 1995 Ian Lance Taylor <ian@cygnus.com>
  2187. * ldlang.c (lang_memory_region_lookup): Don't use the first region
  2188. as the default region. Create a new region instead.
  2189. Tue Aug 29 14:21:41 1995 steve chamberlain <sac@slash.cygnus.com>
  2190. * ldemul.c (ldemul_set_symbols): New function.
  2191. * ldemul.h (ld_emulation_xfer_struct): Add set_symbols.
  2192. * ldmain.c (main): Add call to ldemul_set_symbols.
  2193. * lexsup.c (set_pe_value): New args.
  2194. (set_pe_name): New.
  2195. (parse_args): Cope with new set_pe_value args.
  2196. * emultempl/pe.em (set_symbols): New function.
  2197. (ld_emulation_xfer_struct): Add set_symbols.
  2198. * scripttempl/pe.sc: Use new symbols.
  2199. Thu Aug 24 18:12:18 1995 Ian Lance Taylor (ian@cygnus.com)
  2200. * lexsup.c (parse_args): Don't call set_default_dirlist for -O.
  2201. For -Y, ignore a leading `P,', and only call set_default_dirlist
  2202. after processing all the other arguments.
  2203. Tue Aug 22 07:36:58 1995 steve chamberlain <sac@slash.cygnus.com>
  2204. * scripttempl/pe.sc: Keep .edata, don't base stabs at 0.
  2205. * emulparams/armpe.sh: Run PE script.
  2206. Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com>
  2207. * ldmain.c (main): Remove PE stuff.
  2208. * lexsup.c (options): Load more PE options.
  2209. (set_pe_value): New function.
  2210. Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com>
  2211. * emultempl/{armpe.sc, i386pe.sc}: Deleted.
  2212. * emultempl/pe.sc: New file performs generic PE support and sorts
  2213. archive members.
  2214. * emulparams/{armpe.sh,i386pe.sh}: Use new file.
  2215. * scripttempl/{armpe.sc, i386pe.sc}: Deleted
  2216. * scripttempl/pe.sc: New.
  2217. * Makefile.in: Use new files.
  2218. Thu Aug 17 14:46:34 1995 Doug Evans <dje@canuck.cygnus.com>
  2219. * scripttempl/h8500s.sc (.rdata): All data must go in data segment.
  2220. (.strings,.ctors,.dtors): Likewise.
  2221. Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com>
  2222. * scripttempl/armpe.sc: Always start code at 0x401000, even
  2223. if -r.
  2224. * ldwrite.c (strdup): New extern declaration.
  2225. * ldgram.y (atype): New rule to clarify type parsing.
  2226. * ldlang.c (init_os): Remove commented out code.
  2227. (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits
  2228. unless told not to by the link script.
  2229. Wed Aug 16 11:45:11 1995 Ian Lance Taylor <ian@cygnus.com>
  2230. * ldlang.c (lang_set_startof): New static function.
  2231. (lang_process): Call it.
  2232. * ldgram.y: Tweak casesymlist to avoid bison errors.
  2233. * lexsup.c (parse_args): Accept -h as a synonym for --soname, for
  2234. Solaris compatibility.
  2235. Tue Aug 15 17:31:16 1995 Ian Lance Taylor <ian@cygnus.com>
  2236. * ldgram.y (YYDEBUG): If not defined, define as 1.
  2237. (CASE, EXTERN, START): New tokens.
  2238. (mri_script_command): Handle CASE, EXTERN, INCLUDE, START.
  2239. (casesymlist): New nonterminal.
  2240. (extern_name_list): New nonterminal.
  2241. * ldlex.l: Accept lower case trailing base specifiers. Don't
  2242. ignore the first digit when the base is a suffix. Accept many
  2243. EXPRESSION state tokens in MRI state. Support MRI continuation
  2244. lines and MRI semicolon comments. Accept all MRI keywords in
  2245. lower case. Add CASE, EXTERN, and START MRI keywords.
  2246. Tue Aug 8 19:14:58 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  2247. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Use xmalloc
  2248. instead of alloca.
  2249. Tue Aug 8 15:24:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
  2250. * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Don't use
  2251. $r/../gcc/xgcc unless it is present.
  2252. Thu Aug 3 11:56:22 1995 Ian Lance Taylor <ian@cygnus.com>
  2253. * scripttempl/m68kcoff.sc: Only put .ctors and .dtors in .text
  2254. when CONSTRUCTING.
  2255. * scripttempl/m68klynx.sc: Likewise.
  2256. * scripttempl/nw.sc: Likewise.
  2257. * scripttempl/sa29200.sc: Likewise.
  2258. * scripttempl/sparclynx.sc: Likewise.
  2259. Fri Jul 28 12:02:23 1995 steve chamberlain <sac@slash.cygnus.com>
  2260. * emulparams/{z8001.sh, z8002.sh}: Fix typo.
  2261. Thu Jul 27 21:06:21 1995 Ken Raeburn <raeburn@cygnus.com>
  2262. * configure.in (i[345]86-*-linuxoldld): Treat like linuxaout*.
  2263. Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com>
  2264. * scripttempl/i386pe.sc: Cope with constructors.
  2265. * scripttempl/z8ksim.sc: Deleted.
  2266. * scripttempl/z8000.sc: Resurrected as this, but
  2267. can handle z8001 and z8002 formats.
  2268. * emulparams/z8ksim.sh: Deleted.
  2269. * emulparams/{z8001.sh, z8002.sh}: New files.
  2270. * config/z8ksim.mt: Deleted
  2271. * config/z8k-coff.mt: New, generates both emulations.
  2272. Tue Jul 25 14:53:02 1995 Ian Lance Taylor <ian@cygnus.com>
  2273. * ldmisc.c (vfinfo): In %C and %D case, always print the BFD using
  2274. %B, in case it is in an archive.
  2275. Mon Jul 24 15:23:39 1995 Ian Lance Taylor <ian@cygnus.com>
  2276. * ldlang.c (lang_process): Call reset_memory_regions for each
  2277. relaxation pass.
  2278. Fri Jul 21 22:49:44 1995 Michael Meissner <meissner@cygnus.com>
  2279. * scripttempl/elfppc.sc: Add support for .sdata, .sbss, and
  2280. _SDA_BASE.
  2281. Thu Jul 20 16:26:55 1995 Ken Raeburn <raeburn@cygnus.com>
  2282. * ldmain.c (constructor_callback): Allocate set_name in stack
  2283. frame, rather than always calling alloca with a fixed size.
  2284. Wed Jul 19 16:21:43 1995 Doug Evans <dje@canuck.cygnus.com>
  2285. * emulparams/armpe.sh (OUTPUT_FORMAT): Change to pei-arm-little.
  2286. (LITTLE_OUTPUT_FORMAT, BIG_OUTPUT_FORMAT): Define.
  2287. Mon Jul 17 13:57:00 1995 Ian Lance Taylor <ian@cygnus.com>
  2288. * ldwrite.c (clone_section): Set the alignment of the clone
  2289. section to that of the section being cloned.
  2290. * ldwrite.c (split_sections): Don't split the first input section
  2291. into a new output section.
  2292. Sat Jul 15 00:26:35 1995 Michael Meissner <meissner@cygnus.com>
  2293. * emulparams/elf32ppc.sh (TEMPLATE_NAME): Define as elf32.
  2294. (GENERATE_SHLIB_SCRIPT): Define as yes.
  2295. Fri Jul 14 12:11:46 1995 Ian Lance Taylor <ian@cygnus.com>
  2296. * emultempl/mipsecoff.em (check_sections): Use %P, not %F.
  2297. * ldver.c (help): Update list of options to match currently
  2298. supported list.
  2299. Thu Jul 13 13:52:10 1995 Ian Lance Taylor <ian@cygnus.com>
  2300. * emultempl/lnk960.em (ld_lnk960_emulation): Initialize
  2301. after_open field.
  2302. * ldexp.c (exp_intop): Don't cast stat_alloc arg to bfd_size_type;
  2303. it takes a size_t anyhow.
  2304. (exp_binop): Likewise.
  2305. (exp_trinop): Likewise.
  2306. (exp_unop): Likewise.
  2307. (exp_nameop): Likewise.
  2308. (exp_assop): Likewise.
  2309. * ldlang.c (lang_memory_region_lookup): Likewise.
  2310. (init_os): Likewise.
  2311. (ldlang_add_undef): Likewise.
  2312. (insert_pad): Likewise.
  2313. * ldfile.c (ldfile_add_arch): Don't cast xmalloc arg to
  2314. bfd_size_type.
  2315. * Makefile.in (ALL_EMULATIONS): It's earmaoutb.o, not earmoutb.o.
  2316. Wed Jul 12 11:32:22 1995 Ian Lance Taylor <ian@cygnus.com>
  2317. * ldemul.h (ldemul_open_dynamic_archive): Add search parameter to
  2318. declaration.
  2319. (ld_emulation_xfer_type): Add search parameter to
  2320. open_dynamic_archive entry point.
  2321. * ldemul.c (ldemul_open_dynamic_archive): Add search parameter.
  2322. * ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and
  2323. make non-static. Change all callers to use new name.
  2324. (ldfile_open_file_search): Make static. If entry is dynamic, call
  2325. ldemul_open_dynamic_archive.
  2326. (ldfile_open_file): Don't call ldemul_open_dynamic_archive.
  2327. * ldfile.h (ldfile_open_file_search): Don't declare.
  2328. (ldfile_try_open_bfd): Declare.
  2329. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  2330. Accept search parameter. Don't search for a library, just look in
  2331. a single place.
  2332. * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
  2333. Likewise.
  2334. Tue Jul 11 16:44:21 1995 Ian Lance Taylor <ian@cygnus.com>
  2335. * ldmain.c (set_scripts_dir): Don't base script directory on
  2336. current directory.
  2337. Tue Jul 11 12:29:02 1995 Rick Sladkey <jrs@world.std.com>
  2338. * ldmisc.c (vfinfo): Don't print the line number if it isn't
  2339. meaningful.
  2340. Mon Jul 10 13:38:28 1995 Ian Lance Taylor <ian@cygnus.com>
  2341. * ld.h (ld_config_type): Add field warn_constructors.
  2342. * ldmain.c (add_to_set): Warn if config.warn_constructors.
  2343. (constructor_callback): Likewise.
  2344. * lexsup.c (parse_args): Handle -warn-constructors.
  2345. * ld.texinfo, ld.1: Document -warn-constructors.
  2346. * emultempl/elf32.em (gld${EMULATION_NAME}_check_needed): Don't
  2347. get confused by directory names if we searched for the file.
  2348. Based on patches from H.J. Lu <hjl@nynexst.com>:
  2349. * ldlang.h (lang_input_statement_type): Add new field dynamic.
  2350. * ldlang.c (new_afile): Set dynamic from config.dynamic_link.
  2351. * ldfile.c: Include bfdlink.h.
  2352. (ldfile_open_file): Check dynamic field of entry, not global
  2353. dynamic_link field. Don't do a dynamic search when doing a
  2354. relocateable link.
  2355. * ldmain.c (main): Don't warn about dynamic_link for a
  2356. relocateable link.
  2357. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if
  2358. dynamic is false.
  2359. (gld${EMULATION_NAME}_create_output_section_statements): Always
  2360. loop over input files.
  2361. * Makefile.in: Rebuild dependencies.
  2362. * ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and
  2363. -shared.
  2364. Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com>
  2365. * ldmain.c (main): Set link_info.symbolic to false.
  2366. * lexsup.c (parse_args): Handle -Bsymbolic.
  2367. Wed Jul 5 00:12:11 1995 Fred Fish (fnf@cygnus.com)
  2368. * ldmain.c (HAVE_SBRK): Define for everything except
  2369. specific systems that are known to not support sbrk.
  2370. (main): Use HAVE_SBRK to decide whether or not to use sbrk.
  2371. Tue Jul 4 12:55:48 1995 Ian Lance Taylor <ian@cygnus.com>
  2372. * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
  2373. Handle etree_provide.
  2374. * emultempl/elf32.em (global_needed): New static variable.
  2375. (global_found): Likewise.
  2376. (gld${EMULATION_NAME}_after_open): New static function.
  2377. (gld${EMULATION_NAME}_search_needed): Likewise.
  2378. (gld${EMULATION_NAME}_try_needed): Likewise.
  2379. (gld${EMULATION_NAME}_check_needed): Likewise.
  2380. (ld_${EMULATION_NAME}_emulation): Replace after_open_default with
  2381. gld${EMULATION_NAME}_after_open.
  2382. Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2383. * configure.in (i386-*-win32): New target.
  2384. Mon Jul 3 14:39:22 1995 Ian Lance Taylor <ian@cygnus.com>
  2385. * lexsup.c (parse_args): Let -G either set the small data size or
  2386. be equivalent to --shared, depending on the next argument. Accept
  2387. and ignore -z for Solaris compatibility.
  2388. Sun Jul 2 17:52:34 1995 Ian Lance Taylor <ian@cygnus.com>
  2389. * lexsup.c (parse_args): Cast fopen result to PTR before storing
  2390. it in link_info.base_file. Fix indentation.
  2391. Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2392. * ldmain.c (main): Always initialize PE info in link_info.
  2393. * lexsup.c (OPTION_BASE_FILE): New option.
  2394. (parse_args): Handle new option.
  2395. * emulparams/armpe.sh: Output pei.
  2396. * emultempl/i386pe.em: Add newline to end.
  2397. * scripttempl/armpe.sc: Change output and quote the $s.
  2398. * scripttempl/i386pe.sc: Change output and quote the $s.
  2399. Thu Jun 22 19:55:41 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2400. Sun May 7 11:53:41 MDT 1995 Bryan Ford <baford@cs.utah.edu>
  2401. * configure.in (i386-*-msdos*, i386-*-moss*): New targets.
  2402. * Makefile.in (ALL_EMULATIONS): Added i386msdos.o.
  2403. (i386msdos.o): New target.
  2404. * config/i386-msdos.mt: Created.
  2405. * emulparams/i386msdos.sh: Created.
  2406. * scripttempl/i386msdos.sc: Created.
  2407. Thu Jun 22 15:06:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2408. * scripttempl/elfppc.sc (.fixup): Add support for a .fixup section
  2409. that contains pointers to be relocated.
  2410. Tue Jun 20 17:47:20 1995 Stan Shebs <shebs@andros.cygnus.com>
  2411. * mpw-esh.c: New file, modified for MPW from esh.c.
  2412. * scripttempl/sh.sc: Reformatted to simplify MPWification,
  2413. use *() to concat stab sections instead of [].
  2414. Thu Jun 15 08:48:16 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2415. * scripttempl/armpe.sc: Add constructor support.
  2416. Tue Jun 13 09:11:20 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2417. * ldlang.c (lang_size_sections): Any section with a DATA
  2418. statement has contents.
  2419. Sun Jun 11 15:20:46 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2420. * emulparams/m68kelf.sh (NOP): Define.
  2421. (DYNAMIC_LINK): Don't define.
  2422. (TEXT_START_ADDR): Set to 0x80000000; the extra 0x100 for headers
  2423. will come from the linker script.
  2424. Thu Jun 8 14:17:33 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2425. * emulparams/armpe.sh, scripttempl/armpe.sc: Add end and stack.
  2426. Mon Jun 5 02:16:24 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  2427. * configure.in (i[345]86-*-gnu*): Use GNU elf config.
  2428. Thu May 25 11:49:28 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2429. From Andrew Cagney <cagney@highland.com.au>
  2430. * Makefile.in: Fixup more gotchas from renaming elf32ppcle to
  2431. elf32lppc.
  2432. Wed May 24 11:23:21 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2433. Add support for ARM-PE.
  2434. * Makefile.in (ALL_EMULATIONS): Add armpe.o
  2435. * configure.in: Recognize armpe.
  2436. * config/arm-pe.mt: New file.
  2437. * emulparams/armpe.sh: New file.
  2438. * scripttempl/armpe.sc: New file.
  2439. Mon May 22 15:19:26 1995 Doug Evans <dje@chestnut.cygnus.com>
  2440. * configure.in (h8300h-*-hms): Deleted
  2441. * config/cf-h8300h.mt: Deleted.
  2442. Thu May 18 04:26:10 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  2443. Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
  2444. From David Taylor (dtaylor@armltd.co.uk)
  2445. * Makefile.in (ALL_EMULATIONS): Add earmout[lb].o
  2446. * configure.in: Recognize arm{,e[lb]-*-aout.
  2447. * config/arm[lb]-aout.mt: New files.
  2448. * emulparams/armaout[lb].sh: New files.
  2449. * scripttempl/armaout.sc: New file.
  2450. Tue May 16 18:27:11 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2451. * config/ppcle-elf32.mt (EMUL): Use elf32lppc, not elf32ppcle, to
  2452. be unique in 8 characters for DOS.
  2453. * emulparams/elf32lppc.sh: New file, renamed from elf32ppcle.sh.
  2454. * emulparams/elf32ppcle.sh: Deleted.
  2455. Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com>
  2456. Tom Griest <griest@cs.yale.edu>
  2457. Initial support for PE executables (eg NT, win32)
  2458. * Makefile.in (configure.in, ei386pe): Add support.
  2459. * ldmain.c (main): Initialize PE argument info.
  2460. * ldwrite.c (print_file_stuff): Don't print out .drectve
  2461. and .debug section info.
  2462. * lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP,
  2463. OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap):
  2464. Handle new arguments.
  2465. * config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc:
  2466. New files
  2467. Wed May 10 18:37:59 1995 Stu Grossman (grossman@andros.cygnus.com)
  2468. * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text
  2469. segment. This allows ld -r to preserve unwind sections.
  2470. Tue May 9 17:19:57 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2471. * configure.in: Add little endian PowerPC support.
  2472. * Makefile.in (ALL_EMULATIONS): Add eelf32ppcle.o.
  2473. (eelf32ppcle.c): Support for little endian PowerPC.
  2474. * config/ppcle-elf32.mt: New file for little endian PowerPC.
  2475. * emulparams/elf32ppcle.sh: Ditto.
  2476. Wed May 3 12:56:32 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2477. * ldlang.c (print_output_section_statement): Check
  2478. subsection_alignment, instead of checking section_alignment twice.
  2479. Noticed by Alan Modra <alan@spri.levels.unisa.edu.au>.
  2480. Tue May 2 16:36:07 1995 Jeff Law (law@snake.cs.utah.edu)
  2481. * configure.in (hppa*-*-lites*): Handle like hppa*-*-*elf*.
  2482. Mon Apr 24 19:21:02 1995 Michael Meissner <meissner@cygnus.com>
  2483. * ldwrite.c (ldwrite): Before doing anything, reset the error
  2484. code. If bfd_final_link returns an error, but the error code is
  2485. unset, don't issue an extra message. Assume a correct error
  2486. message was already set.
  2487. Fri Apr 14 16:31:24 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2488. * Makefile.in (ALL_EMULATIONS): Added em68kelf.o.
  2489. (em68kelf.o): New target.
  2490. * config/m68k-elf.mt, emulparams/m68kelf.sh: New files.
  2491. * configure.in: Use them for m68*-*-elf.
  2492. Tue Apr 11 12:02:03 1995 Stan Shebs <shebs@andros.cygnus.com>
  2493. Merge in support for Mac MPW as a host.
  2494. (Old change descriptions retained for informational value.)
  2495. * mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32.
  2496. (i386-unknown-coff): Remove.
  2497. (sh-hitachi-hms): New target.
  2498. (emulation_ofiles): Set correctly for each target.
  2499. (version, TDEFINES): Add to makefile fragment.
  2500. * mpw-make.in (BISON): Use byacc instead of bison.
  2501. (em_*.c): Replace with e*.c everywhere.
  2502. (ldgram.h): Separate action from ldgram.c generation.
  2503. (LD_PROG): Depend on Version.r.
  2504. (Version.r): generate from version info.
  2505. * mpw-emipsidt.c: New file, modified for MPW from emipsidt.c.
  2506. * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
  2507. i386-unknown-aout, i386-unknown-coff): New targets.
  2508. (m68k-aout, m68k-coff): Remove targets.
  2509. (mk.tmp): Add definition of EMUL.
  2510. * mpw-config.in (emulname): Set based on target.
  2511. (ldemul-list.h): Construct.
  2512. * mpw-make.in (install-only): New target.
  2513. (install): Depend on install-only.
  2514. * mpw-make.in (bindir): Fix pathname.
  2515. (install): Move here from mpw-build.in.
  2516. * mpw-config.in: New file, MPW configuration fragment.
  2517. * mpw-make.in: New file, MPW makefile fragment.
  2518. (This file is semi-automatically generated from Makefile.in.)
  2519. * ldfile.c (slash): If MPW, set to `:'.
  2520. * ldlex.l (TRUE_FALSE_ALREADY_DEFINED): If MPW, set this to
  2521. prevent redefinition errors.
  2522. Tue Apr 4 17:55:18 1995 Steve Chamberlain <sac@bang.hack.com>
  2523. * ldwrite.c (clone_section): Align clone sections on even
  2524. boundaries.
  2525. Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)
  2526. * configure.in: Change linux to default to elf. Using
  2527. i[345]86-*-linuxaout will build a linker which defaults to a.out.
  2528. * config/i386-laout.mt: Rename from old config/i386-linux.mt.
  2529. * config/i386-linux.mt: Rename from old config/i386-lelf.mt.
  2530. * config/i386-lelf.mt: Remove.
  2531. Thu Mar 30 13:09:46 1995 Ian Lance Taylor <ian@cygnus.com>
  2532. * ldmain.c (main): If opening the map file fails, call
  2533. bfd_set_error before calling einfo.
  2534. * ld.texinfo, ld.1: Document the -no-keep-memory option.
  2535. Mon Mar 27 11:10:08 1995 Ian Lance Taylor <ian@cygnus.com>
  2536. * ldmain.c (main): Revert patch of March 10, since the SVR4 linker
  2537. does mark shared libraries as executable.
  2538. Tue Mar 21 15:15:38 1995 Ian Lance Taylor <ian@cygnus.com>
  2539. * ldlang.c (lang_common): Change power to int. Pass larger values
  2540. before smaller values.
  2541. (lang_one_common): Treat info as int *. Don't bother to check for
  2542. last value, since it is now zero.
  2543. Sat Mar 18 01:49:14 1995 Ian Lance Taylor <ian@cygnus.com>
  2544. * ldlang.c (load_symbols): An empty archive is OK.
  2545. Fri Mar 17 16:15:31 1995 Stan Shebs <shebs@andros.cygnus.com>
  2546. * ldmain.c (progress.h): Include.
  2547. (main): Call START_PROGRESS and END_PROGRESS.
  2548. Thu Mar 16 17:17:33 1995 Michael Meissner <meissner@cygnus.com>
  2549. * scripttempl/elfppc.sc: Move _GOT2_END_ after the .ctors and
  2550. .dtors sections, so that these pointers get relocated also.
  2551. Define the symbols __{C,D}TOR_{LIST,END}__ to mark the beginning
  2552. and end of the constructors/destructors.
  2553. Thu Mar 16 13:59:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  2554. * ldlang.c (load_symbols): If whole_archive is true and ENTRY
  2555. describes an archive, call bfd_link_add_symbols on each member.
  2556. * ldmain.c (whole_archive): New variable.
  2557. (main): Initialize it to false.
  2558. * ldmain.h: Declare whole_archive.
  2559. * lexsup.c (parse_args): Grok --whole-archive switch.
  2560. * ld.texinfo, ld.1: Document --whole-archive.
  2561. Thu Mar 16 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
  2562. * genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not
  2563. using the default emulation.
  2564. * config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set
  2565. LDEMULATION.
  2566. * config/hppaelf.mh (HOSTING_EMU): Likewise.
  2567. Tue Mar 14 12:28:03 1995 Ian Lance Taylor <ian@cygnus.com>
  2568. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj
  2569. for -lc.N. From H.J. Lu <hjl@nynexst.com>.
  2570. Fri Mar 10 14:43:48 1995 Ian Lance Taylor <ian@cygnus.com>
  2571. * ldmain.c (main): Don't set EXEC_P if link_info.shared is set.
  2572. * ldlex.l: Return -lFILENAME as the token LNAME.
  2573. * ldgram.y: Add token LNAME.
  2574. (input_list): Treat LNAME like NAME, but pass it to
  2575. lang_add_input_file as lang_input_file_is_l_enum.
  2576. * ld.texinfo: Document using -lFILENAME in INPUT.
  2577. Thu Mar 9 12:21:51 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2578. * ldlang.c (lang_check): If the architectures are compatible call
  2579. bfd_merge_private_bfd_data to let the backend do additional
  2580. checks.
  2581. Tue Mar 7 00:53:08 1995 Ian Lance Taylor <ian@cygnus.com>
  2582. * ldemul.c (ldemul_choose_mode): If emulation not recognized, list
  2583. all supported emulations.
  2584. Mon Mar 6 14:03:50 1995 Ian Lance Taylor <ian@cygnus.com>
  2585. * ldemul.c (ldemul_list_emulations): New function.
  2586. * ldemul.h (ldemul_list_emulations): Declare.
  2587. * ldver.c (help): List supported targets and emulations.
  2588. Fri Mar 3 15:40:36 1995 Doug Evans <dje@canuck.cygnus.com>
  2589. * scripttempl/elf.sc (.debug): Relocate to address 0.
  2590. (.debug_srcinfo, .debug_aranges, .debug_pubnames,
  2591. .debug_sfnames, .line): Likewise.
  2592. Fri Mar 3 17:07:14 1995 Ian Lance Taylor <ian@cygnus.com>
  2593. * emultempl/elf32.em (hold_rel): New static variable.
  2594. (gld${EMULATION_NAME}_place_orphan): Place readonly sections with
  2595. contents whose names begin with ".rel" after hold_rel. Remove the
  2596. assertion which checked for unplaced .rel sections. Don't try to
  2597. sort the section into place if place->bfd_section is NULL.
  2598. (gld${EMULATION_NAME}_place_section): Set hold_rel to the first
  2599. section beginning with ".rel".
  2600. Thu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com>
  2601. Doc note from pierre@phi.la.tce.com (Pierre Willard):
  2602. * ld.texinfo: -X and -x work even if -s or -S are not specified.
  2603. * ld.1: Similar change.
  2604. Wed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com>
  2605. * emulparams/gld960coff.sh (COFF_CTORS): Define.
  2606. * scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.
  2607. Tue Feb 28 12:42:56 1995 Ian Lance Taylor <ian@cygnus.com>
  2608. * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.
  2609. (i[345]86-*-gnuelf*): New target. Use i386-gelf.
  2610. * config/i386-lelf.mt: New file.
  2611. * config/i386-gelf.mt: New file.
  2612. Tue Feb 28 10:27:54 1995 Rob Savoye <rob@darkstar.cygnus.com>
  2613. * configure.in: Match on mips-ecoff, and default to the IDT
  2614. configuration.
  2615. Fri Feb 17 13:06:47 1995 Michael Meissner <meissner@cygnus.com>
  2616. * scripttempl/elfppc.sc: Add support for .got1 and .got2 sections.
  2617. Offset _GLOBAL_OFFSET_TABLE_ 32768 from the start of the GOT area
  2618. to double the size of the table.
  2619. Thu Feb 9 18:29:43 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2620. * Makefile.in (distclean): Do recursive deletion, since ldscripts
  2621. is a directory.
  2622. Thu Feb 9 11:38:22 1995 Ian Lance Taylor <ian@cygnus.com>
  2623. * ldmain.c (main): If trace_file_tries is true, and we are using
  2624. an internal linker script, print out the script.
  2625. * ldfile.c (try_open): Reindent function. Make the messages about
  2626. opening script files more informative.
  2627. * lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
  2628. * ld.texinfo, ld.1: Update accordingly.
  2629. Wed Feb 8 17:34:45 1995 Ian Lance Taylor <ian@cygnus.com>
  2630. * ldlang.c (lang_one_common): Adjust references to common symbol
  2631. information for new structure.
  2632. Mon Feb 6 12:17:24 1995 Ian Lance Taylor <ian@cygnus.com>
  2633. * ldmain.c (undefined_symbol): Handle section being NULL.
  2634. * ldctor.c (ldctor_build_sets): Handle bfd_link_hash_defweak.
  2635. * ldexp.c (fold_name): Likewise.
  2636. * ldlang.c (print_one_symbol): Likewise.
  2637. (lang_finish): Likewise.
  2638. * ldmain.c (multiple_common): Likewise.
  2639. * ldwrite.c (print_symbol): Likewise. Also, bfd_link_hash_weak
  2640. renamed to bfd_link_hash_undefweak.
  2641. * scripttempl/alpha.sc: Set address of .data section correctly
  2642. when -n or -N is used. Patch from Chris G Demetriou
  2643. <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.
  2644. * scripttempl/mips.sc: Similar change.
  2645. Tue Jan 31 16:20:52 1995 Doug Evans <dje@canuck.cygnus.com>
  2646. * ldlang.c (lang_size_sections): Clarify error message when user
  2647. specified start addr conflicts with region. Fix resetting of
  2648. region pointer.
  2649. Tue Jan 31 12:37:09 1995 Ian Lance Taylor <ian@cygnus.com>
  2650. * ldexp.c (fold_name): In case NAME, permit an absolute symbol
  2651. in lang_allocating_phase_enum.
  2652. Mon Jan 30 11:33:25 1995 Ian Lance Taylor <ian@cygnus.com>
  2653. * Makefile.in (distclean): Depend upon clean. Don't bother to
  2654. remove files which will be removed by clean. From patch by
  2655. alan@SPRI.Levels.UniSA.Edu.Au (Alan Modra).
  2656. Fri Jan 27 16:27:34 1995 Ian Lance Taylor <ian@cygnus.com>
  2657. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): For
  2658. a MIPS target, clobber the size of all but the first input
  2659. .reginfo section to be 0, so that lang_size_sections sets the
  2660. correct size for the output .reginfo section.
  2661. Thu Jan 26 19:53:37 1995 Ian Lance Taylor <ian@cygnus.com>
  2662. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2663. Remove unused variable is.
  2664. Thu Jan 26 12:33:05 1995 Michael Meissner <meissner@tiktok.cygnus.com>
  2665. * configure.in: Add support for powerpc-*-eabi.
  2666. * scripttempl/elfppc.sc: New file for PowerPC embedded ABI
  2667. support.
  2668. * emulparams/elf32ppc.sh (SCRIPT_NAME): Use elfppc.sc instead of
  2669. elf.sc, which defines some new symbols PowerPC elf needs.
  2670. Tue Jan 24 10:32:15 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2671. * ldctor.c (ldctor_add_set_entry): Don't dump core if a
  2672. constructor entry is in the absolute section.
  2673. Mon Jan 23 13:58:13 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2674. * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
  2675. * config/i386-gnu.mt: New file. Include ELF support.
  2676. Thu Jan 19 16:22:11 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2677. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If
  2678. there are any input sections named .gnu.warning, treat them as
  2679. containing a warning message to be printed by the linker, and
  2680. clobber the size so that the message is not copied into the output
  2681. file.
  2682. * scripttempl/elf.sc: Put .gnu.warning sections into the .text
  2683. section.
  2684. Sun Jan 15 16:45:00 1995 Steve Chamberlain <sac@splat>
  2685. * configure.in (w65-*-*): New target.
  2686. * Makefile.in: Update.
  2687. * scripttempl/w65.sc: New.
  2688. * config/coff-w65.mt: New.
  2689. Thu Jan 12 01:32:25 1995 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
  2690. * ldlang.c (lang_place_orphans): Don't ignore files with
  2691. just_syms_flag set. Instead, put all their sections in
  2692. bfd_abs_section_ptr, using the section VMA as the output_offset.
  2693. Wed Jan 11 22:59:09 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  2694. * ldctor.c (ldctor_build_sets): Don't use `const' with typedef
  2695. name `reloc_howto_type', since it's now defined to be const.
  2696. * ldlang.c (lang_add_reloc): Ditto.
  2697. * ldlang.h (lang_reloc_statement_type, lang_add_reloc): Ditto.
  2698. Wed Jan 11 11:24:45 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2699. * ldexp.c (fold_binary): Adding or subtracting an absolute value
  2700. to a relative value does not require forcing the relative value to
  2701. be absolute. Also, reindent function.
  2702. Wed Dec 28 22:05:52 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  2703. * ldwrite.c (clone_section): Create a symbol with the
  2704. same name as the section.
  2705. Mon Dec 19 14:02:13 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  2706. * ld.h (split_by_reloc, split_by_file): New flags.
  2707. * ldwrite.c (clone_section, split_sections): New functions.
  2708. * lexsup.c (parse_args): Understand new split options.
  2709. Fri Dec 9 17:22:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2710. * scripttempl/elf.sc: Move .ctors and .dtors from .text segment to
  2711. .data segment. They must be writable when creating a shared
  2712. library. From H.J. Lu <hjl@nynexst.com>.
  2713. Fri Dec 2 14:09:00 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
  2714. * emultempl/miposecoff.em: New file.
  2715. * emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
  2716. * emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
  2717. * scripttempl/mips.sc: Put .rel.sdata sections in .text, and
  2718. provide __runtime_reloc_start and __runtime_reloc_stop if they are
  2719. used. Align _fdata to a 16 byte boundary.
  2720. * Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
  2721. generic.em.
  2722. (emipsidtl.c): Likewise.
  2723. (check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
  2724. * ld.h (args_type): Add new field embedded_relocs.
  2725. * ldemul.h (ldemul_after_open, after_open_default): Declare.
  2726. (ld_emulation_xfer_struct): Add new field after_open.
  2727. * ldemul.c (ldemul_after_open): New function.
  2728. (after_open_default): New function.
  2729. * ldlang.c (lang_process): Call ldemul_after_open.
  2730. * lexsup.c (parse_args): Handle --embedded-relocs.
  2731. * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
  2732. new after_open field to after_open_default.
  2733. * emultempl/generic.em, emultempl/gld960.em: Likewise.
  2734. * emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
  2735. * emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
  2736. * emultempl/sunos.em, emultempl/vanilla.em: Likewise.
  2737. * ld.texinfo, ld.1: Mention -embedded-relocs.
  2738. Wed Nov 23 22:04:47 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  2739. * Makefile.in: Add eshl.o.
  2740. * config/coff-sh.mt: Add shl emulation.
  2741. Tue Nov 22 11:55:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2742. * scripttempl/elf.sc: Fill .text section with NOPS. From Eric
  2743. Youngdale <eric@aib.com>.
  2744. Thu Nov 17 14:39:48 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2745. Patches from pirker@eiunix.tuwien.ac.at (Martin Pirker).
  2746. * config/i386linux.mh: New file; set HOSTING_CRT0.
  2747. * genscripts.sh: Don't put ${libdir} in LIB_PATH if it is
  2748. /usr/lib, since that is already in LIB_PATH.
  2749. Wed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu)
  2750. * scripttempl/hppaelf.sc (.text): Handle a use rdefined text start
  2751. address.
  2752. (.data, .bss): If "-N", then place the data/bss just after the end
  2753. of the .text section rather than at the default 0x40000000.
  2754. * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the
  2755. text segment.
  2756. Sat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2757. Patches from Eric Youngdale <eric@aib.com>:
  2758. * ldlang.c (lang_finish): Don't warn if entry symbol not found
  2759. when generating a shared library.
  2760. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if
  2761. attempting to place an orphaned relocation section when generating
  2762. a dynamically linked object.
  2763. * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to
  2764. _start.
  2765. Fri Nov 11 14:27:23 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2766. * ld.h (args_type): Add field export_dynamic.
  2767. * lexsup.c (parse_args): Recognize --export-dynamic.
  2768. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  2769. Pass export_dynamic argument to bfd_elf32_size_dynamic_sections.
  2770. Wed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2771. * ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
  2772. we allocate common symbols.
  2773. Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)
  2774. * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
  2775. .rela.fini to the list of .rel* sections.
  2776. Tue Nov 8 17:47:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2777. * ldlang.c (load_symbols): Add new argument place. Only accept
  2778. linker scripts if place is not NULL. Put commands found in an
  2779. assumed linker script into place.
  2780. (lookup_name): Pass NULL as place argument to load_symbols.
  2781. (open_input_bfds): In lang_input_statement_enum case, pass a place
  2782. argument to load_symbols, and store any new statements after the
  2783. current one.
  2784. Mon Nov 7 15:53:02 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  2785. * ldver.c (ldversion): Bump to 2.5.3.
  2786. Fri Nov 4 15:11:26 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  2787. * Makefile.in (e*nbsd.c): Fix typo in dependencies.
  2788. Thu Nov 3 19:35:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  2789. * Makefile.in (check): Add missing "else true" clause.
  2790. * emulparams/vax.sh (OUTPUT_FORMAT): Use "a.out".
  2791. * scripttempl/go32coff.sc: Changes from DJ Delorie: Change default
  2792. entry point to "start". Align at end of each section to 0x200.
  2793. Start .text section 0x1000 later. Add _etext, _edata, _end
  2794. symbols.
  2795. Wed Nov 2 12:17:49 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2796. * ldctor.c (ldctor_add_set_entry): Don't permit a set to be
  2797. composed of different object file formats.
  2798. (ldctor_build_sets): If the output format does not support the
  2799. reloc, and we are not generating a relocateable link, try getting
  2800. the reloc from the input format.
  2801. Tue Nov 1 10:30:19 1994 J.T. Conklin (jtc@rtl.cygnus.com)
  2802. * Makefile.in (ALL_EMULATIONS): Added em68knbsd.o.
  2803. (em68knbsd.c): New target.
  2804. * config/m68k-nbsd.mt: New file.
  2805. * emulparams/m68knbsd.sh: New file.
  2806. * configure.in (m68*-*-netbsd*): Use above configs.
  2807. Mon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2808. * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): If we find an
  2809. appropriately named static library, stop the search at that
  2810. directory.
  2811. Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
  2812. * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o
  2813. and esparcnbsd.o; sorted entries.
  2814. (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets.
  2815. * config/netbsd532.mt: Removed.
  2816. * emulparams/netbsd532.sh: Removed.
  2817. * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files.
  2818. * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files.
  2819. * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*,
  2820. sparc*-*-netbsd*): Use above configs.
  2821. Tue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2822. * ldmain.c (multiple_common): One of the types may now be
  2823. bfd_link_hash_indirect. The old BFD argument may be NULL.
  2824. Thu Oct 20 22:01:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2825. * configure.in: Add * at the end of m68k-hp-hpux.
  2826. Tue Oct 18 15:58:39 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2827. * ldlex.l: Cast assignment to yy_ch_buf field to char *, not to
  2828. YY_CHAR *.
  2829. Mon Oct 17 14:53:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
  2830. * scripttempl/nw.sc: Gather constructors and destructors and
  2831. define __CTOR__LIST__ and __DTOR_LIST__ appropriately.
  2832. Fri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com)
  2833. * Makefile.in (ALL_EMULATIONS): Add ei386nw.o and eppcnw.o.
  2834. (ei386nw.c, eppcnw.c): New targets.
  2835. * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh,
  2836. scripttempl/nw.sc: New files, for i386 and powerpc netware.
  2837. * configure.in: Changed netware ld_target name to be {i386,ppc}-nw
  2838. instead of {i386,ppc}-elf.
  2839. * configure.in (sparc*-*-netware): Removed. There is no such
  2840. thing anymore.
  2841. * ldint.texinfo: Move misplaced `@end iftex'.
  2842. Fri Oct 14 12:02:18 1994 Eric Youngdale (eric@aib.com)
  2843. * scripttempl/elf.sc: Add .rel.ctors, .rela.ctors, .rel.dtors, and
  2844. .rela.dtors to the list of .rel* sections.
  2845. Thu Oct 13 14:16:27 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  2846. * ldver.c (ldversion): Update to version 2.5.
  2847. * Version 2.5 released.
  2848. * configure.in (all_targets): Handle i386-linux*.
  2849. Thu Oct 13 11:24:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2850. * scripttempl/aout.sc: Set _etext and __etext to ., not
  2851. ${DATA_ALIGNMENT}. This is compatible with SunOS, and, with luck,
  2852. will not break any other system. From Eric Valette
  2853. <ev@chorus.fr>.
  2854. Wed Oct 12 16:22:58 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
  2855. * lexsup.c (parse_args): Change -V to be a synonym for -v. Add
  2856. --verbose to get the old -V behaviour.
  2857. * ld.1, ld.texinfo: Document this change.
  2858. Tue Sep 27 14:56:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2859. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
  2860. assertion, since it could fail with a user defined linker script.
  2861. * ldexp.c (fold_name): For DEFINED case, don't try to look up the
  2862. name in the hash table during the first phase--the hash table does
  2863. not even exist at that point, much less have the right value.
  2864. * Makefile.in (CC): Define.
  2865. (CXX): Move definition, change from g++ to gcc.
  2866. (EXPECT, RUNTEST): Copy definitions from top level Makefile.in.
  2867. (RUNTEST_CC, RUNTEST_CFLAGS): Remove.
  2868. (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove.
  2869. (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in.
  2870. (.cc.o): Comment out.
  2871. (testdir): Remove.
  2872. (site.exp): Don't create testdir or set tmpdir.
  2873. (check): Run checks even if not running native. Use CC_FOR_TARGET
  2874. instead of RUNTEST_CC, and likewise for CXX.
  2875. (cdtest targets): Comment out.
  2876. * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once.
  2877. * testsuite/ld-cdtest/cdtest-bar.cc,
  2878. testsuite/ld-cdtest/cdtest-foo.cc,
  2879. testsuite/ld-cdtest/cdtest-foo.h,
  2880. testsuite/ld-cdtest/cdtest-main.cc,
  2881. testsuite/ld-cdtest/cdtest.exp: Remove.
  2882. Mon Sep 26 11:40:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2883. * emulparams/elf32bmip.sh: Rename from elf32mipb.sh to avoid DOS
  2884. file naming problems.
  2885. * emulparams/elf32lmip.sh: Rename from elf32mipl.sh.
  2886. * Makefile.in (ALL_EMULATIONS): Rename eelf32mipb.o to
  2887. eelf32bmip.o and eelf32mipl.o to eelf32lmip.o.
  2888. (eelf32bmip.c): Rename from eelf32mipb.c. Use elf32bmip.sh.
  2889. (eelf32lmip.c): Rename from eelf32mipl.c. Use elf32lmip.sh.
  2890. * config/mipsb-elf32.mt (EMUL): Use elf32bmip, not elf32mipb.
  2891. * config/mipsl-elf32.mt (EMUL): Use elf32lmip, not elf32mipl.
  2892. * genscripts.sh: Always search /usr/local/TARGET/lib.
  2893. * scripttempl/elf.sc: If -N is set, force DATA_ADDR to be ".".
  2894. Fri Sep 23 15:05:49 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  2895. * configure.in: Handle i386-bsdi* targets like i386-bsd.
  2896. Fri Sep 23 00:06:59 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2897. * lexsup.c (parse_args): Add support for -a for HP/UX
  2898. compatibility.
  2899. * lexsup.c (parse_args): -c takes an argument.
  2900. Tue Sep 20 14:35:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2901. * ld.h (args_type): Add new field endian.
  2902. * lexsup.c (parse_args): Handle -EB and -EL by setting
  2903. command_line.endian.
  2904. * ldgram.y (ifile_p1): Accept OUTPUT_FORMAT with three arguments.
  2905. * ldlang.c (lang_add_output_format): Add arguments big and little.
  2906. If command_line.endian is set, use it to select big or little
  2907. rather than the default. Changed all callers.
  2908. * ldlang.h (lang_add_output_format): Update declaration.
  2909. * emulparams/elf32mipb.sh: Define BIG_OUTPUT_FORMAT and
  2910. LITTLE_OUTPUT_FORMAT.
  2911. * emulparams/elf32mipl.sh: Likewise.
  2912. * emulparams/mipsbig.sh: Likewise.
  2913. * emulparams/mipsbsd.sh: Likewise.
  2914. * emulparams/mipsidt.sh: Likewise.
  2915. * emulparams/mipsidtl.sh: Likewise.
  2916. * emulparams/mipslit.sh: Likewise.
  2917. * scripttempl/elf.sc: Define BIG_OUTPUT_FORMAT and
  2918. LITTLE_OUTPUT_FORMAT if not already defined. Pass them to
  2919. OUTPUT_FORMAT.
  2920. * scripttempl/mips.sc: Pass BIG_OUTPUT_FORMAT and
  2921. LITTLE_OUTPUT_FORMAT to OUTPUT_FORMAT.
  2922. * scripttempl/mipsbsd.sc: Likewise.
  2923. * Makefile.in (ldgram.h): Make separate target from ldgram.c,
  2924. depending upon ldgram.c, so that a parallel make does not try to
  2925. build both at once.
  2926. * configure.in (mips*el-elf*): New target.
  2927. * Makefile.in (ALL_EMULATIONS): Add eelf32mipb.o and eelf32mipl.o.
  2928. (eelf32mipl.c): New target.
  2929. * config/mipsl-elf32.mt: New file.
  2930. * emulparams/elf32mipl.sh: New file.
  2931. Fri Sep 16 12:16:20 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2932. * ldmain.c (main): Rather than prohibiting ld -r -s, treat it as
  2933. ld -r -S -x.
  2934. Thu Sep 15 13:05:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2935. * ldmisc.c (vfinfo): Print BFD file name as well as file name
  2936. returned by find_nearest_line, in case the file name is something
  2937. unhelpful such as a .h file. Handle %u.
  2938. Wed Sep 14 12:49:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  2939. * ldlang.c (lang_do_assignments): Make sure output statement
  2940. has an attached bfd_section before trying to dereference it.
  2941. Wed Sep 14 12:48:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2942. * ld.h (ld_config_type): Add new field warn_once.
  2943. * ldmain.c (undefined_symbol): Handle -warn-once.
  2944. * lexsup.c (parse_args): Recognize -warn-once.
  2945. * ld.texinfo (Options): Document -warn-once.
  2946. * ld.1: Likewise.
  2947. * ldmisc.c (vfinfo): Handle %D as %C, but never print the function
  2948. name. For %C, print the function name on a separate line, to keep
  2949. the length of error messages under control.
  2950. * ldmain.c (multiple_definition): Use %D for ``first defined
  2951. here.''
  2952. (undefined_symbol): Use %D for ``more undefined references
  2953. follow''.
  2954. * ldmisc.c (multiple_warn): Remove; no longer used.
  2955. * ldmisc.h (multiple_warn): Don't declare.
  2956. Tue Sep 13 20:47:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  2957. * ldlang.c (print_output_section_statement): Print all lines
  2958. to the map file.
  2959. Tue Sep 13 16:30:11 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2960. * ldlang.c (load_symbols): Check for archive before object. Use
  2961. bfd_check_format_matches, and, if ambiguous, print a list of
  2962. matching formats. If file format is not recognized, treat file as
  2963. a linker script.
  2964. * ldgram.y (yyerror): If assuming an object file is a script,
  2965. mention that. Tweak the format of the error messages.
  2966. * ldlex.l (lex_warn_invalid): If assuming an object is a script,
  2967. guess that this is not actually a script, and just report that the
  2968. file format was not recognized.
  2969. * ld.texinfo (Options): Admit that -( may be used more than once.
  2970. Add note that unrecognized object files are now treated as linker
  2971. scripts.
  2972. * ldfile.c (ldfile_input_filename): Make const.
  2973. (ldfile_assumed_script): New variable.
  2974. (try_open): Change arguments types to const.
  2975. (ldfile_find_command_file): Likewise.
  2976. (ldfile_open_command_file): Likewise. Also, set lineno to 1.
  2977. * ldfile.h: Update declarations for ldfile.c changes.
  2978. * ldlex.l: Include <ctype.h>.
  2979. (file_name_stack): Change to be const char *.
  2980. (lineno_stack): New static variable.
  2981. (<<EOF>>): Set lineno as well as ldfile_input_filename.
  2982. (lex_push_file): Make name argument const. Initialize
  2983. lineno_stack entry.
  2984. (lex_redirect): Initialize lineno_stack entry.
  2985. (lex_warn_invalid): Handle non printable characters nicely.
  2986. * ldlex.h (lex_push_file): Declare second argument as const.
  2987. * ldgram.y (ifile_p1): Recognize GROUP.
  2988. * ldlex.l: Recognize GROUP.
  2989. * ld.texinfo (Option Commands): Document GROUP.
  2990. Mon Sep 12 17:04:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2991. * config/m68klynx.mh: New file.
  2992. Mon Sep 12 01:50:03 1994 Jeff Law (law@snake.cs.utah.edu)
  2993. * emultempl/hppaelf.em: Add newlines to the error messages.
  2994. Sat Sep 10 16:05:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  2995. * config/i386lynx.mh: New file.
  2996. * scripttempl/i386lynx.sc: Don't put .ctors and .dtors in .text
  2997. unless CONSTRUCTING.
  2998. Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  2999. * emulparams/elf32mipb.sh (TEMPLATE_NAME): Define as elf32.
  3000. (GENERATE_SHLIB_SCRIPT): Define as yes.
  3001. (DYNAMIC_LINK): Define as false.
  3002. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
  3003. Initialize config.dynamic_link to DYNAMIC_LINK if it is defined.
  3004. (gld${EMULATION_NAME}_place_orphan): Reset stat_ptr at end.
  3005. * Makefile.in (eelf32mipb.c): Depend upon elf32.em rather than
  3006. generic.em.
  3007. Thu Sep 8 16:30:37 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  3008. * scripttempl/h8500b.sc: Put rdata stuff into own segment.
  3009. Thu Sep 8 13:25:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3010. * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Don't define;
  3011. .got section is now explicitly handled in elf.sc.
  3012. Wed Sep 7 13:08:34 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3013. * scripttempl/alpha.sc: Redo script to set . outside of sections
  3014. and not bother to explicitly specify section addresses.
  3015. Explicitly place .sdata section.
  3016. Tue Sep 6 23:51:45 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3017. * scripttempl/m68kcoff.sc: Put .bss in data segment.
  3018. * scripttempl/h8300.sc: Change .stab and .stabstr to use a VMA of
  3019. 0, and to only be marked as NOLOAD if relocating.
  3020. * scripttempl/h8500.sc, scripttempl/h8500b.sc: Likewise.
  3021. * scripttempl/h8500c.sc, scripttempl/h8500m.sc: Likewise.
  3022. * scripttempl/h8500s.sc, scripttempl/i386coff.sc: Likewise.
  3023. * scripttempl/i386go32.sc, scripttempl/i386lynx.sc: Likewise.
  3024. * scripttempl/m68kcoff.sc, scripttempl/m68klynx.sc: Likewise.
  3025. * scripttempl/sh.sc, scripttempl/sparccoff.sc: Likewise.
  3026. * scripttempl/sparclynx.sc: Likewise.
  3027. Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
  3028. * Makefile.in, configure.in: Add support (disabled) the ARM/RISCiX.
  3029. * config/riscix.mt, emulparams/riscix.sh, scripttempl/riscix.sc:
  3030. New files.
  3031. Tue Aug 30 11:48:08 1994 Eric Youngdale (ericy@cais.cais.com)
  3032. * ld.h (args_type): Add field soname.
  3033. * lexsup.c (parse_args): Handle -soname argument.
  3034. * emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
  3035. pass soname.
  3036. * ld.texinfo: Document -soname.
  3037. Mon Aug 29 15:21:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3038. * ldlang.c (lang_check): Don't try to set the architecture if the
  3039. input and output files are incompatible. Just warn.
  3040. Wed Aug 24 12:52:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3041. * configure.in: Change i[34]86 to i[345]86.
  3042. Sun Aug 21 16:17:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3043. * emulparams/hp3hpux.sh: Define __DYNAMIC to be 0.
  3044. Thu Aug 18 15:37:45 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3045. Make the ELF linker handle orphaned sections reasonably. Also,
  3046. define __start_SECNAME and __stop_SECNAME around sections whose
  3047. names can be represented in C, for the benefit of symbol sets in
  3048. glibc.
  3049. * ldemul.h (ldemul_place_orphan): Declare.
  3050. (ld_emulation_xfer_type): Add place_orphan field.
  3051. * ldemul.c (ldemul_place_orphan): New function.
  3052. * ldlang.h (wild_doit): Declare.
  3053. * ldlang.c (wild_doit): Make nonstatic.
  3054. (lang_place_orphans): Call ldemul_place_orphan.
  3055. * emultempl/elf32.em: Include <ctype.h> and "ldgram.h".
  3056. (hold_section, hold_use, hold_text, hold_data, hold_bss): New
  3057. static variables.
  3058. (gld${EMULATION_NAME}_place_orphan): New static function.
  3059. (gld${EMULATION_NAME}_place_section): New static function.
  3060. (ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
  3061. Tue Aug 16 00:17:20 1994 Eric Youngdale (ericy@cais.cais.com)
  3062. * scripttempl/aout.sc: Add .linux-dynamic after .data.
  3063. Tue Aug 16 00:08:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3064. * lexsup.c (parse_args) Treat --dll-verbose as --version, for
  3065. Linux compatibility. From hjl@nynexst.com (H.J. Lu).
  3066. Mon Aug 15 17:17:33 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3067. * ldexp.h (exp_get_abs_int): Declare.
  3068. Sat Aug 6 01:45:39 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  3069. * ldlang.c (lang_do_assignments): Handle complex AT's better.
  3070. * ldexp.c (exp_get_abs_int): New function.
  3071. Fri Aug 5 20:55:55 1994 Jason Molenda (crash@phydeaux.cygnus.com)
  3072. * configure.in: add i960-nindy-coff support.
  3073. Thu Aug 4 14:45:50 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3074. * ldlex.l (yy_create_string_buffer): Handle change to internal
  3075. interface in flex 2.4.7.
  3076. Tue Aug 2 11:52:06 1994 Eric Youngdale (ericy@cais.cais.com)
  3077. * emultempl/linux.em (gld${EMULATION_NAME}_find_address_statement):
  3078. New function; add 0x20 to any use of -Ttext.
  3079. (gld${EMULATION_NAME}_create_output_section_statements): New
  3080. function.
  3081. (ld_${EMULATION_NAME}_emulation): Use the new function
  3082. gld${EMULATION_NAME}_create_output_section_statements.
  3083. Mon Aug 1 15:50:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3084. * scripttempl/mips.sc: Redo script to set . outside of sections
  3085. and not bother to explicitly specify section addresses.
  3086. Tue Jul 26 11:02:35 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3087. * scripttempl/elf.sc: Copy several more relocation sections into
  3088. the output. Put .got.plt sections into .got.
  3089. Fri Jul 22 12:15:36 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3090. * scripttempl/elf.sc: Use PROVIDE to define etext, edata, and end.
  3091. Add a new script operator, PROVIDE, to define a symbol only if it
  3092. is needed.
  3093. * ldgram.y (PROVIDE): New token.
  3094. (assignment): Accept PROVIDE.
  3095. * ldlex.l (PROVIDE): New token.
  3096. * ldexp.h (node_type): Add etree_provide to node_class enum.
  3097. (exp_provide): Declare.
  3098. * ldexp.c (exp_fold_tree): Handle etree_provide.
  3099. (exp_provide): New function.
  3100. (exp_print_tree): Handle etree_provide.
  3101. * ld.texinfo: Document PROVIDE.
  3102. * ldlang.c (lang_common): Pass desired alignment to
  3103. lang_one_common as power of two.
  3104. (lang_one_common): Get common symbol alignment from linker hash
  3105. table entry. Treat desired alignment as a power of two.
  3106. * ldlang.c (wild_section): Attach all section with the given name,
  3107. not just the first one. If there is no name, attach all sections
  3108. even if the SEC_IS_COMMON flag is set.
  3109. Wed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3110. * ld.h (args_type): Add field rpath.
  3111. * lexsup.c (S_ISDIR): Define if not already defined.
  3112. (parse_args): Add support for -rpath. If -R is used to name a
  3113. directory, treat it as -rpath for Solaris compatibility.
  3114. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
  3115. Pass command_line.rpath to bfd_elf32_size_dynamic_sections.
  3116. * ldmain.c (main): Initialize command_line.rpath to NULL.
  3117. * ld.texinfo: Document -rpath option.
  3118. Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au)
  3119. * emulparams/pc532machaout.sh: New file. Pc532 mach script
  3120. parameters.
  3121. * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters.
  3122. * config/pc532mach.mt: New file. Pc532 mach target support.
  3123. * config/pc532mach.mh: New file. Pc532 mach host support.
  3124. * config/netbsd532.mt: New file. Netbsd 532 target support.
  3125. * configure.in: Add ns32k-pc532-mach and ns32k-pc532-netbsd support.
  3126. * Makefile.in: Add epcmachaout.c dependency and enetbsd532.c
  3127. dependency.
  3128. Fri Jul 8 10:57:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3129. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Use
  3130. bfd_abs_section_ptr, not &bfd_abs_section.
  3131. * lexsup.c (parse_args): Changed "retain-symbols-file" from
  3132. no_argument to required_argument. From djm.
  3133. Thu Jul 7 12:29:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3134. * scripttempl/elf.sc: Explicitly mention .stab and .stabstr
  3135. sections to force a VMA of 0; needed for ELF backends which have
  3136. not been converted to the new linker style.
  3137. Mon Jul 4 19:35:45 1994 Jeff Law (law@snake.cs.utah.edu)
  3138. * scripttempl/hppaelf.sc (__stack_zero): Don't define this name,
  3139. it was for the HPUX dynamic loader's use and it creates problems
  3140. with ELF GDB.
  3141. Fri Jul 1 12:53:47 1994 Jeff Law (law@snake.cs.utah.edu)
  3142. * ldlang.c (lang_do_assignments): No longer static. Delete decl.
  3143. * ldlang.h (lang_do_assignments): Put external decl here.
  3144. * emultempl/hppaelf.em: Minor cleanups throughout file.
  3145. (hppa_elf_create_output_section_statements): Rewrite.
  3146. (hppaelf_finish): Rewrite.
  3147. Wed Jun 29 16:50:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3148. * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.
  3149. * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do not
  3150. accept plain -B.
  3151. * ld.texinfo: -Bstatic is not ignored.
  3152. Tue Jun 28 12:13:34 1994 Stan Shebs (shebs@andros.cygnus.com)
  3153. * ldlex.l: Recognize \r the same as \n.
  3154. Thu Jun 23 17:53:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3155. Preliminary support for generating shared libraries, from Eric
  3156. Youngdale <ericy@cais.cais.com>.
  3157. * genscripts.sh: If the emulation parameter file sets
  3158. GENERATE_SHLIB_SCRIPT, generate a .xs script file with
  3159. CREATE_SHLIB defined.
  3160. * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): If
  3161. link_info.shared is set, use the .xs script file.
  3162. * scripttempl/elf.sc: If CREATE_SHLIB is set, don't create a
  3163. .interp section, and don't include TEXT_START_ADDR in the starting
  3164. address of the first section.
  3165. * emulparams/elf_i386.sh (GENERATE_SHLIB_SCRIPT): Likewise.
  3166. * emulparams/elf32_sparc.sh (GENERATE_SHLIB_SCRIPT): Define.
  3167. Thu Jun 23 12:52:22 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  3168. * configure.in: Change --with-targets to --enable-targets.
  3169. Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3170. * lexsup.c (parse_args): Add support for new options -( -) with
  3171. synonyms --start-group --end-group.
  3172. * ldlang.h (enum statement_enum): Add lang_group_statement_enum.
  3173. (lang_group_statement_type): Define new struct.
  3174. (lang_statement_union_type): Add group_statement field.
  3175. (lang_enter_group, lang_leave_group): Declare.
  3176. * ldlang.c (lang_for_each_statement_worker): Handle
  3177. lang_group_statement_enum.
  3178. (map_input_to_output_sections, print_statement): Likewise.
  3179. (lang_size_sections, lang_do_assignments): Likewise.
  3180. (open_input_bfds): Completely rewrite. Now does its own looping,
  3181. rather than using lang_for_each_statement. Handle groups.
  3182. (lang_process): Update call to open_input_bfds.
  3183. (print_group): New static function.
  3184. (lang_enter_group, lang_leave_group): New static functions.
  3185. * ldfile.c (ldfile_open_file): If the file has already been
  3186. opened, just return rather than taking an assertion failure.
  3187. * ldver.c (help): Mention new options.
  3188. * ld.texinfo: Document new options.
  3189. * ldlang.c (end_of_data_section_statement_list): Don't define.
  3190. (lang_leave_output_section_statement): Don't set obsolete variable
  3191. end_of_data_section_statement_list.
  3192. * scripttempl/go32coff.sc: Don't put ${DATA_ALIGNMENT} inside an
  3193. ALIGN.
  3194. * ldlang.c (lang_size_sections): Adjust current region address
  3195. even for sections with an explicit address. From
  3196. ralphc@pyramid.com (Ralph Campbell).
  3197. * emulparams/i386linux.sh (NONPAGED_TEXT_START_ADDR): Set to 0.
  3198. From jrs@world.std.com (Rick Sladkey).
  3199. * scripttempl/mipsbsd.sc: Let sections align to their natural
  3200. boundaries.
  3201. Tue Jun 21 11:27:04 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  3202. * ldlang.c (lang_init): Use new bfd_abs_section_ptr, not
  3203. &bfd_abs_section.
  3204. (lang_abs_symbol_at_beginning_of): Likewise.
  3205. (lang_abs_symbol_at_end_of): Likewise.
  3206. (lang_size_sections): Use bfd_is_abs_section to check for the
  3207. absolute section. Don't try to set the VMA or output_offset or
  3208. size of the absolute section.
  3209. * ldmain.c (notice_ysym): Use bfd_is_und_section to check for the
  3210. undefined section.
  3211. Thu Jun 16 22:48:41 1994 Jeff Law (law@snake.cs.utah.edu)
  3212. * scripttempl/hppaelf.sc: Place .data and .bss at 0x40000000
  3213. when generating relocatable objects.
  3214. Thu Jun 16 14:25:22 1994 Eric Youngdale (ericy@cais.cais.com)
  3215. * emultempl/linux.em: New file providing support for linking
  3216. against Linux shared libraries.
  3217. * config/i386-linux.mt (ei386linux.c): Depend upon linux.em.
  3218. * emulparams/i386linux.sh (TEMPLATE_NAME): Define as linux.
  3219. Thu Jun 16 12:22:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3220. * lexsup.c (parse_args): Add -shared to longopts, and handle it.
  3221. * ldmain.c (main): Initialize link_info.shared to false. Give
  3222. error if link_info.relocateable and link_info.shared are both set.
  3223. * configure.in: If EMUL_EXTRA* is defined in a config file, treat
  3224. it as naming an emulation to be added to EMULATION_OFILES.
  3225. * config/i386-linux.mt (EMUL_EXTRA1): Define as elf_i386.
  3226. * Makefile.in: Rebuilt dependencies.
  3227. (ALL_EMULATIONS): Add ei386linux.o, eelf32_sparc.o,
  3228. eelf64_sparc.o. Remove $(OTHER_EMULATIONS).
  3229. (ei386linux.c, eelf32_sparc.c, eelf64_sparc.c): New targets.
  3230. * config/i386-linux.mt (OTHER_EMULATIONS): Don't define.
  3231. (ei386linux.c): Remove; now in Makefile.in.
  3232. * config/i386-lynx.mt (OTHER_EMULATIONS): Don't define.
  3233. * config/m68k-lynx.mt (OTHER_EMULATIONS): Don't define.
  3234. * config/sparc-lynx.mt (OTHER_EMULATIONS): Don't define.
  3235. * config/sparc64-elf.mt (OTHER_EMULATIONS): Don't define.
  3236. (eelf64_sparc.c): Remove; now in Makefile.in.
  3237. * config/sun4sol2.mt (OTHER_EMULATIONS): Don't define.
  3238. (eelf32_sparc.c): Remove; now in Makefile.in.
  3239. * ldexp.c (exp_print_tree): Don't crash if etree_rel section has
  3240. no owner--it might be bfd_abs_section. From Eric Youngdale
  3241. <ericy@cais.cais.com>.
  3242. * scripttempl/aout.sc: Let sections align to their natural
  3243. boundaries.
  3244. Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3245. * ldemul.h (ldemul_open_dynamic_archive): Declare.
  3246. (ld_emulation_xfer_type): Add new field open_dynamic_archive.
  3247. * ldemul.c: Include ldexp.h and ldlang.h.
  3248. (ldemul_open_dynamic_archive): New function.
  3249. * ldfile.h (ldfile_open_file_search): Declare.
  3250. * ldfile.c: Include ldemul.h.
  3251. (try_open_bfd): Rename from cache_bfd_openr. Return boolean
  3252. argument, not bfd *. Change all callers.
  3253. (ldfile_open_file_search): Rename from open_a. Return boolean
  3254. argument, not bfd *. Clean up. Change all callers.
  3255. (ldfile_open_file): If doing a dynamic link, call
  3256. ldemul_open_dynamic_archive rather than assuming the extension of
  3257. a dynamic object is ".so".
  3258. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
  3259. New function.
  3260. (ld_${EMULATION_NAME}_emulation): Initialize open_dynamic_archive
  3261. field.
  3262. * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise.
  3263. * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility.
  3264. * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility.
  3265. Accept -static as a synonym for -non_shared.
  3266. Let the user change the dynamic linker used by ELF code.
  3267. * ld.h (args_type): Add new field interpreter.
  3268. * lexsup.c (parse_args): Add dynamic-linker to longopts, and
  3269. handle it.
  3270. * ldmain.c (main): Initialize command_line.interpreter to NULL.
  3271. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Get
  3272. the ELF backend to return the .interp section. If
  3273. command_line.interpreter is not NULL, set the contents of .interp
  3274. to it.
  3275. * ld.texinfo: Mention -dynamic-linker.
  3276. * config/sun4sol2.mt (eelf32_sparc.c): Depend upon elf32.em, not
  3277. generic.em.
  3278. * lexsup.c (parse_args): Sort out the option macros and change the
  3279. definitions to make it easier to add a new option.
  3280. * scripttempl/aout.sc: Define __etext and __edata to go along with
  3281. _etext and _edata.
  3282. * ld.h (ld_config_type): Add new field traditional_format.
  3283. * lexsup.c (parse_args): Add traditional-format to longopts, and
  3284. handle it.
  3285. * ldmain.c (main): Initialize config.traditional_format to false.
  3286. * ldlang.c (ldlang_open_output): Set BFD_TRADITIONAL_FORMAT in BFD
  3287. flags of output_bfd according to config.traditional_format.
  3288. * ldver.c (help): Mention -traditional-format.
  3289. * ld.texinfo: Document -traditional-format.
  3290. Tue Jun 14 23:10:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3291. * ldctor.c (ldctor_add_entry): Add entries to a set in the order
  3292. they are encountered.
  3293. Tue Jun 14 18:05:09 1994 Eric Youngdale (ericy@cais.cais.com)
  3294. * emulparams/i386linux.sh (TEXT_START_ADDR): Define as 0x1000.
  3295. (NONPAGED_TEXT_START_ADDR): Define as 0x20.
  3296. Mon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3297. * scripttempl/alpha.sc: Define _ftext, _etext and _fdata insted of
  3298. _FTEXT, _ETEXT and _FDATA. Dont define _END.
  3299. * ldfile.c (open_a): If this is not an archive, try to open it in
  3300. the current directory before searching for it.
  3301. * lexsup.c (parse_args): Treat -i as a synonym for -r.
  3302. * ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that
  3303. BLOCK works in a section address as documented.
  3304. * ldgram.y (YYDEBUG): Don't define.
  3305. Fri Jun 10 16:45:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3306. * emultempl/gld960.em: Pass false for new argument to
  3307. ldfile_add_library_path.
  3308. * emultempl/gld960c.em, emultempl/lnk960.em: Likewise.
  3309. * emultempl/sunos.em: Only look for .so files if doing a dynamic
  3310. link.
  3311. Thu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com)
  3312. * scripttempl/i960.sc: Add CONSTRUCTORS to .data.
  3313. Thu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com)
  3314. * Makefile.in (check): Delete ld.new dependency so that a regression
  3315. test doesn't trigger a rebuild of the linker.
  3316. Thu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3317. * ldlang.c (map_input_to_output_sections): For lang_address, call
  3318. init_os if it hasn't already been called.
  3319. Thu Jun 2 17:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3320. Add support for SunOS shared libraries.
  3321. * scripttempl/aout.sc: Don't define __DYNAMIC here. Add new
  3322. sections used by shared library support code.
  3323. * emultempl/sunos.em: New file.
  3324. * emulparams/sun4.sh (TEMPLATE_NAME): Define as sunos.
  3325. * emulparams/sun3.sh (TEMPLATE_NAME): Likewise.
  3326. * Makefile.in (esun4.c): Depend upon sunos.em, not generic.em.
  3327. (esun3.c): Likewise.
  3328. * ldlang.c: Minor formatting cleanups.
  3329. (lang_for_each_input_file): New function.
  3330. * ldlang.h (lang_for_each_input_file): Declare.
  3331. * ldfile.h (search_dirs_type): Move from ldfile.c, and add cmdline
  3332. field.
  3333. (search_head): Declare.
  3334. (ldfile_add_library_path): Add new cmdline argument in prototype.
  3335. * ldfile.c (search_head): Make non-static.
  3336. (search_dirs_type): Move to ldfile.h.
  3337. (ldfile_add_library_path): Accept cmdline argument, and save it.
  3338. * lexsup.c (parse_args): Pass true for new cmdline argument of
  3339. ldfile_add_library_path.
  3340. (set_default_dirlist): Likewise.
  3341. * ldmain.c (check_for_scripts_dir): Pass false for new cmdline
  3342. argument of ldfile_add_library_path.
  3343. * ldgram.y (ifile_p1): Likewise.
  3344. Wed Jun 1 14:24:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3345. * ldlang.h (lang_input_statement_type): Remove fields subfiles,
  3346. total_size, superfile and chain.
  3347. * ldfile.c (open_a): Don't clear search_dirs_flag.
  3348. (ldfile_open_file): Don't try to open superfile. Assert that file
  3349. has not already been opened.
  3350. * ldlang.c (new_afile): Don't initialize superfile.
  3351. * ldmain.c (add_archive_element): Don't initialize subfiles or
  3352. chain or superfile. Initialize search_dirs_flag to false.
  3353. Fri May 27 12:25:33 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3354. * ldver.c (ldversion): Changed version to "cygnus-2.4.1".
  3355. Changes from binutils-2.4 release:
  3356. * genscripts.sh (RELOCATING, CONSTRUCTING): When setting
  3357. variables, use whitespace, so scripts don't break.
  3358. * config/alphaosf.mh (HDEFINES, CFLAGS): Deleted.
  3359. * emultempl/generic.em: Find emultempl/stringify.sed in ${srcdir}.
  3360. * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
  3361. * Makefile.in: Noted change.
  3362. * scripttempl/a29k.sc: Don't include /lab3/u3/..../segments.o; I
  3363. don't know where that's supposed to come from, or why it's
  3364. necessary.
  3365. Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
  3366. * configure.bat: update to latest Makefile.in
  3367. * emulparams/go32.sh: set to coff-go32 not aout
  3368. * emultempl/generic.em: strength-reduce the structure of
  3369. this shell script, since the only available shell for
  3370. DOS can't handle complex syntax.
  3371. * emultempl/stringify.sed: for "sed -f" instead of inline.
  3372. * Makefile.in: depend on stringify.sed as well as genscripts.sh
  3373. * scripttempl/go32coff.sc: correct for djgpp 1.11's COFF format
  3374. * genscripts.sh: empty variables aren't always considered "set",
  3375. so set them to "y" instead.
  3376. Fri May 27 01:08:14 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3377. * ldlang.c (entry_symbol): Make static.
  3378. (lang_add_entry): Add cmdline argument.
  3379. * ldlang.h (lang_add_entry): Change prototype.
  3380. * ldgram.y (statement_anywhere): Change lang_add_entry call.
  3381. * lexsup.c (parse_args): Likewise.
  3382. Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3383. * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give
  3384. .reginfo an address.
  3385. (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address.
  3386. (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss.
  3387. * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script.
  3388. Thu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3389. Add support for ELF shared libraries.
  3390. * ld.h (ld_config_type): Add field dynamic_link.
  3391. * ldmain.c (main): Initialize config.dynamic_link to false. Warn
  3392. on attempts to use -r with -relax, -call_shared or -s.
  3393. * lexsup.c (longopts): Separate OPTION_CALL_SHARED from
  3394. OPTION_NON_SHARED. Add OPTION_IGNORE. Adjust macro values
  3395. accordingly. Add "dy" and "non_shared" options. Change "Qy" to
  3396. OPTION_IGNORE for now. Handle OPTION_CALL_SHARED and
  3397. OPTION_NON_SHARED by setting dynamic_link field accordingly.
  3398. Handle OPTION_IGNORE by ignoring it. Clear dynamic_link field for
  3399. -r and -Ur.
  3400. * ldfile.c (ldfile_open_file): If config.dynamic_link is true, try
  3401. opening a file with a .so extension first.
  3402. * emultempl/elf32.em: New file.
  3403. * emulparams/elf32_sparc.sh (TEXT_START_ADDR): Change to 0x10000.
  3404. (NONPAGED_TEXT_START_ADDR): Likewise.
  3405. (TEMPLATE_NAME): Define as elf32.
  3406. (DATA_PLT): Define.
  3407. * emulparams/elf_i386.sh (TEMPLATE_NAME): Define as elf32.
  3408. * scripttempl/elf.sc: Add placement for new dynamic sections.
  3409. Don't use CREATE_OBJECT_SYMBOLS. Define _etext, _edata and _end
  3410. outside of any section. Don't use ALIGN(8); just let one section
  3411. VMA follow another. Put .dynbss in .bss. Don't mention debugging
  3412. sections; they'll be handled correctly anyhow.
  3413. * Makefile.in (eelf_i386.c): Depend upon elf32.em, not generic.em.
  3414. Wed May 18 10:15:39 1994 Ian Lance Taylor (ian@cygnus.com)
  3415. * Makefile.in (install): Redirect output of ln to /dev/null.
  3416. Mon May 16 13:35:08 1994 Jeff Law (law@snake.cs.utah.edu)
  3417. * emultempl/hppaelf.em: Change all references of
  3418. .hppa_linker_stubs to .PARISC.stubs.
  3419. * scripttempl/hppaelf.sc: Likewise.
  3420. Fri May 13 13:00:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3421. * ldlang.c (print_output_section_statement): Change ``no attached
  3422. output section'' message slightly.
  3423. (lang_do_assignments): Don't recurse down if there is no real
  3424. section.
  3425. * config/i386-linux.mt (OTHER_EMULATIONS): Change em_ to e to
  3426. match corresponding change in emulation templates.
  3427. * config/i386-lynx.mt, config/m68k-lynx.mt: Likewise.
  3428. * config/sparc-lynx.mt, config/sun4sol2.mt: Likewise.
  3429. Wed May 11 18:16:46 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3430. * ldver.c (ldversion): Updated version number.
  3431. * testsuite/ld-cdtest/cdtest-foo.cc: Use explicit "#pragma
  3432. implementation".
  3433. * testsuite/ld-cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc.
  3434. * Makefile.in: References to cdtest-func.o changed to
  3435. cdtest-bar.o.
  3436. Wed May 11 16:24:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3437. Don't create unnecessary output sections.
  3438. * ldlang.c (out_bfd_get_section_by_name): Remove.
  3439. (wild_section): Call bfd_get_section_by_name rather than
  3440. our_bfd_get_section_by_name. Don't call wild_doit if there is no
  3441. section.
  3442. (lang_create_output_section_statements): Remove.
  3443. (map_input_to_output_sections): For several cases, call init_os if
  3444. it has not already been called.
  3445. (lang_size_sections): If output section was not created, skip it.
  3446. (lang_process): Don't call lan_create_output_section_statements.
  3447. (lang_place_orphans): Skip files with just_syms_flags set to true.
  3448. * ld.texinfo: Document change.
  3449. Tue May 10 14:31:16 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3450. * ldlang.c (wild_doit): Don't bother initializing the vma and
  3451. section size. Don't special case SEC_SHARED_LIBRARY.
  3452. (lang_size_sections): Handle SEC_COFF_SHARED_LIBRARY sections
  3453. specially.
  3454. Fri May 6 12:24:27 1994 Steve Chamberlain (sac@cygnus.com)
  3455. * config/go32.mh : New file for Xgo32X.
  3456. Fri May 6 15:15:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3457. * ldfile.c (ldfile_open_command_file): Set bfd_error_system_call
  3458. before calling einfo, since we are reporting an fopen failure.
  3459. From jrs@world.std.com (Rick Sladkey).
  3460. * configure.in: Use "e" rather than "em_" as prefix for
  3461. emulations.
  3462. Fri May 6 01:08:14 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com)
  3463. * emultempl/generic.em: Use "e" rather than "em_" as prefix for
  3464. filename.
  3465. * emultempl/gld960.em, emultempl/gld960c.em, emultempl/lnk960.em,
  3466. emultempl/hppaelf.em, emultempl/m88kbcs.em, emultempl/vanilla.em:
  3467. Ditto.
  3468. * Makefile.in: Changed all generated file names.
  3469. (ldemul-list.h): Depend on Makefile, not config.status. Changed
  3470. sed patterns to handle new filenames.
  3471. * config/mipsl-idt.mt: Renamed from mips-idtl.mt.
  3472. * configure.in: Adjusted.
  3473. Thu May 5 15:07:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3474. * Makefile.in (install-info): Don't use "$<*", it doesn't always
  3475. work. Instead, check build dir and $srcdir explicitly, and use
  3476. `echo' to get all the filenames.
  3477. * configure.in (h8300h-*-hms): Changed ld_target name to
  3478. cf-h8300h.
  3479. * config/cf-h8300h.mt: Renamed from coff-h8300h.mt, to make it
  3480. unique in 8.3.
  3481. * config/i960coff.mt: New file.
  3482. * emulparams/gld960coff.sh: New file.
  3483. * emultempl/gld960c.em: New file.
  3484. * configure.in (i960-*-vxworks5* except -vxworks5.0*): Use
  3485. i960coff configuration.
  3486. * Makefile.in (em_gld960coff.c): Added dependencies, build rule.
  3487. * Makefile.in (ALL_EMULATIONS): Remove em_delta68.o, since the
  3488. code isn't included in FSF releases, and it can still be
  3489. explicitly selected.
  3490. (distclean): Remove site.bak and tmpdir.
  3491. (STAGESTUFF): Removed $(GENERATED_CFILES) $(GENERATED_HFILES).
  3492. (mostlyclean): Delete them explicitly here. Also remove tmpdir.
  3493. Patches from Ralph Campbell:
  3494. * config/mipsbsd.mh: New file.
  3495. * Makefile.in (em_mipsbsd.c): Use mipsbsd.sc, not aout.sc.
  3496. * scripttempl/mipsbsd.sc: Don't define __DYNAMIC.
  3497. * emulparams/mipsbsd.sh (OUTPUT_FORMAT): Fix name to have `a.out'
  3498. instead of `aout'.
  3499. * configure.in (i386-*-gnu*): Treat like i386-*-mach*.
  3500. Wed May 4 11:59:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3501. * config/m68k.mt (EMUL): Set to m68kaout.
  3502. * emulparams/m68kaout.sh: New file.
  3503. * Makefile.in (ALL_EMULATIONS): Add em_m68kaout.o.
  3504. (em_m68kaout.c): New target.
  3505. * ldlang.c (lang_size_sections): If dot moves because of an
  3506. assignment, don't try to insert a pad into the absolute output
  3507. section, just change the address of the default memory region
  3508. instead.
  3509. * Makefile.in (mostlyclean): Remove cdtest.tmp, cdtest-ur,
  3510. cdtest-ur.out, and cdtest-ur.tmp.
  3511. Wed Apr 27 16:03:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3512. * scripttempl/sa29200.sc: Align all sections to four byte
  3513. boundaries.
  3514. Wed Apr 27 10:48:03 1994 Steve Chamberlain (sac@cygnus.com)
  3515. * Makefile.in, configure.in: Support for go32 coff.
  3516. * config/i386-go32.mt: New file
  3517. * emulparams/i386go32.sh: New file
  3518. * scripttempl/i386go32.sc: New file
  3519. Tue Apr 26 17:20:03 1994 Stan Shebs (shebs@andros.cygnus.com)
  3520. * Makefile.in (em_m68klynx.c, em_i386lynx.c, em_sparclynx.c): Use
  3521. Lynx-specific script templates.
  3522. * configure.in (sparclite*-*-coff): Use coff-sparc.
  3523. * emulparams/i386lynx.sh (SCRIPT_NAME): Set to i386lynx.
  3524. * emulparams/sparclynx.sh (SCRIPT_NAME): Set to sparclynx.
  3525. (ENTRY): Set to __main.
  3526. * scripttempl/i386lynx.sc: New file, script for I386 Lynx.
  3527. * scripttempl/m68klynx.sc: Add insertion of ctor/dtor sections.
  3528. * scripttempl/sparclynx.sc: New file, script for uSparc Lynx.
  3529. Tue Apr 26 12:41:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3530. * scripttempl/mips.sc: Force _gp and .lit8 to be aligned to a 16
  3531. byte boundary, in case the global constructors do not take up an
  3532. even 16 bytes.
  3533. * config/i386v4.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
  3534. exist, get crtbegin based on gcc -print-libgcc-file-name.
  3535. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
  3536. Mon Apr 25 15:27:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3537. * ldlang.c (lang_size_sections): When no address is given for a
  3538. section, align it according to its requirements.
  3539. Thu Apr 21 17:24:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3540. * Makefile.in (clean, distclean): Remove configdoc.texi.
  3541. Tue Apr 19 12:12:15 1994 Bill Cox (bill@rtl.cygnus.com)
  3542. * configure.in: Add i[34]86-*-bsd386 to the patterns recognized.
  3543. Fri Apr 15 14:35:42 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3544. * ldlang.c (lang_size_sections): When relaxing, adjust the
  3545. position of a padding statement, and adjust dot accordingly.
  3546. Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
  3547. * Makefile.in (EXPECT, RUNTEST): Set these for the check goal.
  3548. Mon Apr 11 12:32:57 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3549. * scripttempl/i386coff.sc: If relocating, don't put .init and
  3550. .fini sections into .text; keep them separate.
  3551. * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not
  3552. exist, get crtbegin based on gcc -print-libgcc-file-name.
  3553. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
  3554. Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
  3555. * Makefile.in (check): Set TCL_LIBRARY for runtest.
  3556. Wed Apr 6 00:09:37 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
  3557. * configure.in (hppa*-*-*elf*): Don't require "-hp-" for the
  3558. manufacturer.
  3559. * emultempl/hppaelf.em (hppaelf_finish): Only resize sections
  3560. if building a final executable.
  3561. Tue Apr 5 12:17:30 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3562. * ldmain.c (main): Check the return value of bfd_close.
  3563. Thu Mar 31 18:07:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3564. * scripttempl/alpha.sc: Clean up section alignment to ensure that
  3565. sections never overlap when using -r.
  3566. Wed Mar 30 15:51:15 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3567. * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
  3568. changes: get_symtab_upper_bound renamed and returns long,
  3569. bfd_canonicalize_symtab returns long, check for error indications.
  3570. Fri Mar 25 17:20:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3571. * ldlang.c (print_input_section): For section size, use
  3572. _cooked_size if it is non-zero, size otherwise.
  3573. (size_input_section): Likewise.
  3574. (lang_do_assignments): Likewise (case lang_input_section_enum).
  3575. Thu Mar 24 15:20:47 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3576. * ldlang.c (new_afile): Add new argument add_to_list. Don't set
  3577. real to true for lang_input_file_is_marker_enum. Clear the_bfd.
  3578. (lang_add_input_file): Pass true to new_afile for add_to_list.
  3579. (lookup_name): Remove force_load argument. Changed all callers.
  3580. Pass false to new_afile for add_to_list. Split loading of symbols
  3581. out into separate function.
  3582. (load_symbols): New function split out of lookup_name. Don't load
  3583. the symbols if they are already loaded.
  3584. (open_input_bfds): For lang_input_statement_enum call load_symbols
  3585. rather than lookup_name.
  3586. (lang_process): Pass abs_output_section rather than NULL to
  3587. lang_size_sections.
  3588. (lang_startup): Set real field of first_file to true.
  3589. Wed Mar 23 14:15:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3590. * ldlang.c (had_relax): Removed.
  3591. (relax_again): New static variable.
  3592. (lang_size_sections): Change call to bfd_relax_section to
  3593. correspond to BFD changes. Set relax_again appropriately.
  3594. (lang_process): Remove #if 0 code. When relaxing, keep calling
  3595. lang_do_assignments and lang_size_sections until relax_again
  3596. becomes false.
  3597. * emultempl/gld960.em: Include libiberty.h
  3598. (gld960_before_parse): Pass NULL as final argument to concat.
  3599. Tue Mar 22 13:08:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3600. * scripttempl/aout.sc: Force _end and __end to be aligned to a
  3601. four byte boundary.
  3602. * ldwrite.c (build_link_order): Handle lang_data_statement_enum by
  3603. building a bfd_data_link_order, rather than by setting the section
  3604. contents immediately.
  3605. Mon Mar 21 18:28:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3606. Changes to make -Ur work again.
  3607. * ldmain.c (add_to_set): Now takes reloc argument rather than
  3608. bitsize. Check config.build_constructors here. If an new hash
  3609. table entry is created, mark it as undefined.
  3610. (constructor_callback): No longer takes bitsize argument. Pass
  3611. BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the
  3612. BFD backend supports it.
  3613. (reloc_overflow): Handle a NULL abfd argument.
  3614. (reloc_dangerous, unattached_reloc): Likewise.
  3615. * ldctor.c: Include ldmain.h.
  3616. (struct set_info): Change bitsize field to reloc.
  3617. (ldctor_add_set_entry): Now takes reloc argument rather than
  3618. bitsize. Don't bother to check config.build_constructors here.
  3619. (ldctor_build_sets): Get the size from the reloc howto. If
  3620. generating relocateable output, call lang_add_reloc rather than
  3621. lang_add_data.
  3622. * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc
  3623. instead of bitsize.
  3624. * ldlang.h (statement_enum): Add lang_reloc_statement_enum.
  3625. (lang_reloc_statement_type): New structure.
  3626. (lang_statement_union_type): Add reloc_statement field.
  3627. (lang_add_reloc): Declare new function.
  3628. * ldlang.c (lang_for_each_statement_worker): Handle
  3629. lang_reloc_statement_enum.
  3630. (map_input_to_output_sections, print_statement): Likewise.
  3631. (lang_size_sections, lang_do_assignments): Likewise.
  3632. (print_reloc_statement): New function.
  3633. (lang_add_reloc): New function.
  3634. * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum.
  3635. * Makefile.in (cdtest.out, cdtest-ur.o): New targets.
  3636. (cdtest-ur, cdtest-ur.out): New targets.
  3637. (check-cdtest): Now also check that -Ur works correctly.
  3638. * scripttempl/alpha.sc: Align all sections to 16 byte boundaries.
  3639. Thu Mar 17 12:45:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3640. * ldlang.c (lang_process): Move lang_common call before
  3641. map_input_to_output_sections, to ensure that any alignment
  3642. constraints set by common symbols are copied over to the output
  3643. sections.
  3644. Fri Mar 11 22:17:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3645. * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define.
  3646. (OTHER_READWRITE_SECTIONS): Rename .toc to .got.
  3647. * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em.
  3648. * emultempl/ppc.em: Remove ugly stub code; turns out not to be
  3649. needed for ELF.
  3650. Tue Mar 8 04:22:27 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  3651. * config/i386bsd.mh: New file.
  3652. Mon Mar 7 15:23:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3653. * scripttempl/elf.sc: Permit TEXT_START_SYMBOLS and
  3654. DATA_START_SYMBOLS to be defined.
  3655. * emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext.
  3656. (DATA_START_SYMBOLS): Define _fdata.
  3657. Mon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com)
  3658. * ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.
  3659. Sun Feb 27 16:29:38 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
  3660. * emultempl/hppaelf.em (hppaelf_finish): Update comments. This
  3661. works again. Attach some output symbols to the stub file bfd.
  3662. * emultempl/hppaelf.em: Include elf32-hppa.h.
  3663. (file_chain): Add decl.
  3664. (hppa_look_for_stubs_in_section): Delete decl.
  3665. (hppaelf_finish): Reenable code. Do not pass symbols
  3666. down to hppa_look_for_stubs_in_section.
  3667. Sat Feb 26 10:58:25 1994 Ian Lance Taylor (ian@cygnus.com)
  3668. * ldmain.c (write_map): Don't define. Removed all references.
  3669. Just use map_file or map_filename instead.
  3670. (add_archive_element): Use minfo to write map information, not
  3671. info_msg.
  3672. (constructor_callback): Use fprintf to write map information, not
  3673. info_msg.
  3674. * ldmain.h (write_map): Don't declare.
  3675. * ldgram.y (mri_script_command): Removed reference to write_map.
  3676. * ldlang.c (lang_one_common): Likewise.
  3677. * lexsup.c (parse_args): Likewise.
  3678. Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com)
  3679. * scripttempl/elf.sc: Force all sections to be aligned.
  3680. * ldgram.y (section): Reverse the order of memspec_opt and
  3681. fill_opt to avoid an ambiguity when both are used.
  3682. * ld.texinfo: Changed accordingly.
  3683. * ldgram.y: Move include of ldlex.h back with other includes.
  3684. * ldlex.h (input_type): Don't initialize enum constants to
  3685. particular values.
  3686. * ldlex.l: Use a switch to return the right token based on
  3687. input_type, rather than knowing that input_type has a value based
  3688. on a token type.
  3689. * ldgram.y (dirlist_ptr): Removed; not used.
  3690. * lexsup.c: Include ldver.h.
  3691. * Makefile.in: Rebuilt dependencies.
  3692. Fri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com)
  3693. * ldlang.c (lookup_name): don't call bfd_set_gp_size.
  3694. (ldlang_add_file): call it here instead.
  3695. Fri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  3696. * ldgram.y: Include ldlex.h after %token decls, for byacc.
  3697. Fri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
  3698. * emultempl/hppaelf.em: First attempt to clean this file up.
  3699. Add comments in several functions as to their purpose and
  3700. how they function (or my current best guess). Clean up horrible
  3701. spacing and indention that never should have been accepted in the
  3702. first place. Add FIXMEs for issues which need to be resolved.
  3703. Disable linker-stub generation until it gets fixed. This allows
  3704. the linker to at least work on simple code for testing purposes.
  3705. * ldlang.c (lang_size_sections): No longer static (PA ELF calls
  3706. it via hppaelf_finish). Prototype moved into ldlang.h.
  3707. (lang_process): Move problematic extra call to lang_size_sections
  3708. into the PA ELF specific code.
  3709. * emultempl/hppaelf.em (hppaelf_finish): Extra call to
  3710. lang_size_sections moved here.
  3711. Thu Feb 24 16:47:33 1994 Ian Lance Taylor (ian@cygnus.com)
  3712. * configure.in (powerpc-*-elf*): New target; use ppc-elf32.
  3713. * config/ppc-elf32.mt: New file.
  3714. * emulparams/elf32ppc.sh: New file.
  3715. * emultempl/ppc.em: New file.
  3716. * Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o.
  3717. (em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc.
  3718. (EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.
  3719. Thu Feb 24 12:27:07 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  3720. * lexsup.c (parse_args): Use symbolic numbers for long options.
  3721. Fix misunderstanding in -Y and -call_shared et al.
  3722. Use getopt instead of lex and yacc to parse the command line.
  3723. * ld.texinfo (Options): Document changes to option syntax.
  3724. * Makefile.in: Update dependencies.
  3725. * ldver.c (help): Tweak dashes in usage message.
  3726. * ldgram.y (%union): Remove unused members.
  3727. Remove %tokens for command line options; add ones for input types.
  3728. (command_line): Rules removed.
  3729. (file): Instead of command line, recognize an
  3730. input type indicator, then use the nonterminal for that type.
  3731. (defsym_expr): New nonterminal from code formerly in command_line.
  3732. * ldlex.h: Declare parser input type enum and variable.
  3733. Don't declare parse_line.
  3734. * ldlex.l: Remove unused variables. Make some used ones static
  3735. and comment them.
  3736. (COMMAND): Start state and its rules removed.
  3737. At start of yylex, return input state token if at start of input.
  3738. (lex_redirect): Don't need to set yyout.
  3739. (ldlex_command): Function removed.
  3740. * ldmain.c (main): Instead of calling parse_line, set up the
  3741. redirections and call yyparse directly.
  3742. * ldmisc.c (vfinfo): If there's no input filename, print nothing, not
  3743. "command line".
  3744. * lexsup.c: Remove #if 0'd code.
  3745. (parse_line): Function removed.
  3746. (parse_args): Rewrite to use getopt_long_only.
  3747. (set_default_dirlist): New function from code formerly in
  3748. ldgram.y:command_line.
  3749. (set_section_start): New function.
  3750. * emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em,
  3751. emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose
  3752. compiled-in link scripts in "{" and "}", as the grammar no longer
  3753. wants them to be.
  3754. Thu Feb 24 08:43:26 1994 Ken Raeburn (raeburn@rtl.cygnus.com)
  3755. * Makefile.in (ld.dvi): Depend on configdoc.texi, but don't
  3756. require that it be in $(srcdir).
  3757. Tue Feb 22 09:21:18 1994 Ian Lance Taylor (ian@cygnus.com)
  3758. * ldlang.c (lang_size_sections): Only align section to alignment
  3759. required by linker script, not to maximum alignment of input
  3760. sections.
  3761. * ldlang.h (largest_section): Don't declare.
  3762. * ldlang.c (largest_section): Don't define.
  3763. (size_input_section): Don't set largest_section; not used.
  3764. Mon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com)
  3765. * ldlang.c (new_afile): Pass NULL as last argument to concat.
  3766. Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3767. * ldlang.c, ldmain.c: Include libiberty.h.
  3768. * ldmisc.h (concat): Don't declare.
  3769. * ldmisc.c (concat): Don't define; just use the one in libiberty.
  3770. * ld.h (as_output_section_statement): Removed; not used.
  3771. Thu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3772. * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
  3773. bfd_set_error and new error names.
  3774. Tue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3775. * ldwrite.c (build_link_order): If the cooked size of the section
  3776. has been set, use it, for determining link_order size.
  3777. (ldwrite): In the error message displayed if bfd_final_link fails,
  3778. indicate that it was in fact the final link step that failed.
  3779. * ldlang.c (lang_size_sections): Clear bfd_error before calling
  3780. bfd_relax_section, in case it returns false but doesn't flag an
  3781. error. If an error is returned, indicate which one it is in the
  3782. error message.
  3783. * Makefile.in (install-info): Depend on ld.info, and use "$<*" so
  3784. it'll get picked up from $(srcdir) if appropriate.
  3785. Tue Feb 15 16:32:04 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  3786. * scripttempl/aout.sc: Only pad .text if PAD_TEXT is set.
  3787. * emulparams/i386mach.sh (PAD_TEXT): Set PAD_TEXT.
  3788. Fri Feb 11 17:02:49 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3789. * ldlex.l (comment): Increment line number when newline is read.
  3790. Fri Feb 11 17:36:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3791. * ldlang.c (lookup_name): Take new argument, force_load. If true,
  3792. reload the file even if it is already loaded.
  3793. (wild): Call lookup_name with force_load argument of 0.
  3794. (open_input_bfds): Call lookup_name with force_load argument of 1.
  3795. (print_symbol): Remove declaration of non-existent function.
  3796. (print_one_symbol): Return true rather than falling off end.
  3797. Thu Feb 10 11:52:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3798. * ldmain.c (main): Use %ld when printing long values.
  3799. * scripttempl/elf.sc: Move _edata after the .sdata section.
  3800. Permit OTHER_BSS_SYMBOLS to be defined.
  3801. * emulparams/elf32mipb.s (OTHER_BSS_SYMBOLS): Define _fbss.
  3802. Mon Feb 7 16:31:15 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
  3803. * Rename all "hppaosf" files to "hppaelf".
  3804. * Change all "osf" references to "elf" in hppaelf files.
  3805. * Makefile.in: Likewise.
  3806. * configure.in: Likewise.
  3807. Sun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3808. * ldmain.c (main): Call xatexit, not atexit.
  3809. Call xmalloc_set_program_name.
  3810. * ldlang.c (lang_size_sections): Check if bfd_relax_section set
  3811. bfd_errno.
  3812. Sat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3813. * emultempl/lnk960.em (append), emultempl/hppaosf.em
  3814. (hppaosf_finish): Call xmalloc, not ldmalloc.
  3815. * ldmain.c (preserve_output): Function removed.
  3816. (main): Do it here instead.
  3817. Fri Feb 4 23:02:19 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
  3818. * ldlang.h (LANG_FOR_EACH_{INPUT,OUTPUT}_SECTION): Delete (unused)
  3819. GNU C specific macros.
  3820. * emultempl/hppaosf.em (hppaosf_finish): Expand the only remaining
  3821. call to LANG_FOR_EACH_INPUT_SECTION.
  3822. Fri Feb 4 16:26:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3823. * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
  3824. deleted; will use libiberty versions instead.
  3825. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
  3826. mri.c Makefile.in: Change callers.
  3827. * ldmisc.c (vfinfo): Remove cleanup code.
  3828. * ldmain.c (remove_output): Put it here (new function).
  3829. (preserve_output): New function.
  3830. (main): Register remove_output and preserve_output with atexit.
  3831. * ldmain.c ldgram.y: Call xexit instead of exit.
  3832. * ldmisc.h: Declare xexit.
  3833. Fri Feb 4 15:19:01 1994 Steve Chamberlain (sac@cygnus.com)
  3834. * Makefile.in: Lots of new H8/500 memory models.
  3835. Sun Jan 30 14:33:40 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3836. * ldlex.l: Removed duplicate rules.
  3837. (yywrap): Provide default definition, needed with some versions of
  3838. flex.
  3839. Fri Jan 28 09:12:56 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3840. * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
  3841. the archive filename too.
  3842. * ldlex.l: Add rule to catch invalid input characters instead of
  3843. printing them. Include "ldmain.h" for program_name decl.
  3844. (lex_warn_invalid): New function.
  3845. * Makefile.in: Add dependency.
  3846. Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  3847. * Makefile.in (check): Don't bother running any tests of
  3848. cross-linker until the test suite no longer assumes native mode.
  3849. Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  3850. * ldlang.c (print_one_symbol, print_input_section): Print
  3851. global symbols in symbol table again.
  3852. Thu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3853. * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
  3854. exit successfully instead of complaining if no input files are
  3855. given.
  3856. Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com)
  3857. * Makefile.in: Format variable definitions consistently.
  3858. (LD_PROG): Remove unnecessary variables from link command,
  3859. change variable LOADLIBES to EXTRALIBS.
  3860. * ldmain.c (main): Compute and display total execution time.
  3861. * ld.texinfo (-stats): Document the option.
  3862. Mon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3863. * ldmain.c (reloc_overflow): Added name, reloc_name and addend
  3864. arguments.
  3865. * ldlang.c (lookup_name): Set BFD GP size to -G argument value
  3866. after opening BFD.
  3867. * ldlang.c (relaxing): Removed global variable.
  3868. (lang_size_sections): If the canonical symbols have not already
  3869. been read in, read them in before relaxing.
  3870. * ldlang.h (relaxing): Removed declaration.
  3871. Fri Jan 21 00:44:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3872. * ldlang.c (new_afile): Initialize loaded field to false.
  3873. (lookup_name): If file was already loaded, don't call the
  3874. add_symbols entry point again.
  3875. Wed Jan 19 13:57:00 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3876. * ld.texinfo: Clarify what -T option does.
  3877. Tue Jan 18 16:18:15 1994 Steve Chamberlain (sac@jonny.cygnus.com)
  3878. * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
  3879. for a.out.
  3880. Tue Jan 11 13:22:04 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3881. * ldmain.c (add_archive_element): If trace_files or
  3882. trace_file_tries, print file name.
  3883. * ldlang.c (lookup_name): Likewise.
  3884. (ldlang_add_file): Don't put files on input_bfds list in reverse
  3885. order.
  3886. * scripttempl/elf.sc: Correct typo.
  3887. Mon Jan 10 19:49:05 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3888. * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
  3889. their arguments optional, for compatibility with the old GNU ld.
  3890. Fri Jan 7 20:00:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3891. * scripttempl/elf.sc: Define __bss_start before the .sbss section.
  3892. Thu Jan 6 00:13:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3893. * ldmain.c (add_to_set): Add bitsize argument.
  3894. (constructor_callback): New function.
  3895. (link_callbacks): Add constructor_callback.
  3896. * ldctor.c (struct set_info): Add bitsize field.
  3897. (ldctor_add_set_entry): Add bitsize argument.
  3898. (ldctor_build_sets): Base the size of the elements of the set on
  3899. the bitsize, rather than always using LONG.
  3900. * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
  3901. * ld.h (QUAD_SIZE): Define.
  3902. * ldgram.y (QUAD): New token.
  3903. (length): Handle it.
  3904. * ldlex.l: Return QUAD.
  3905. * lexsup.c (keywords): Add QUAD.
  3906. * ldwrite.c (build_link_order): Handle QUAD.
  3907. * ldlang.c (print_data_statement): Handle QUAD.
  3908. (lang_size_sections): Likewise.
  3909. (lang_do_assignments): Likewise.
  3910. * ldexp.c (exp_print_token): Add QUAD to table.
  3911. * ld.texinfo: Describe QUAD.
  3912. * scripttempl/alpha.sc: Don't create .lit4 or .sdata sections,
  3913. since the Alpha doesn't use them.
  3914. Wed Jan 5 17:42:16 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3915. * ldemul.h (ld_emulation_xfer_struct): Comment the members.
  3916. Sat Jan 1 13:39:31 1994 Rob Savoye (rob@darkstar.cygnus.com)
  3917. * Makefile.in, configure.in: Add support for VSTa micro-kernel.
  3918. * config/vsta.mt, emulparams/vsta.sh: New files for VSTa.
  3919. Sat Jan 1 10:53:35 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  3920. * scripttempl/aout.sc: Pad .text to DATA_ALIGNMENT if relocating;
  3921. needed for i386mach. (Should be a no-op on other systems.)
  3922. * emulparams/i386mach.sh (SEGMENT_SIZE): Fix again.
  3923. (PAGE_SIZE): Don't define; not used.
  3924. Fri Dec 31 16:12:06 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3925. * ldgram.y (yyerror): Make argument const char *, and actually
  3926. print it out rather than assuming it is a syntax error.
  3927. * ldmisc.h: Change declaration of yyerror.
  3928. * ldemul.c, ldwrite.c: Add /*ARGSUSED*/ as appropriate.
  3929. Fri Dec 31 11:37:28 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  3930. * emulparams/i386mach.sh (NONPAGED_TEXT_START_ADDR): Don't include
  3931. exec header offset, since the exec header isn't loaded.
  3932. (PAGE_SIZE, SEGMENT_SIZE): Agree with bfd/i386mach3.c.
  3933. Thu Dec 30 13:01:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  3934. A major rewrite to move the bulk of the linker into BFD so that
  3935. more efficient backend code can be written for specific object
  3936. files.
  3937. * lderror.c, lderror.h, ldindr.c, ldindr.h, ldsym.c, ldsym.h,
  3938. ldwarn.c, ldwarn.h, relax.c, relax.h: Removed.
  3939. * ldctor.c, ldctor.h: Complete rewrite.
  3940. * ldwrite.c, ldwrite.h: Complete rewrite.
  3941. * ld.h (strip_symbols_type, strip_symbols): Removed. Use
  3942. link_info.strip instead. Changed all uses.
  3943. (discard_locals_type, discard_locals): Removed. Use
  3944. link_info.discard instead. Changed all uses.
  3945. (ld_config_type): Removed relocateable_output field; use
  3946. link_info.relocateable instead; changed all uses. Added stats
  3947. field.
  3948. (set_asymbol_chain, get_asymbol_chain, get_loader_symbol,
  3949. set_loader_symbol): Removed.
  3950. * ldexp.h (node_class): Added etree_rel.
  3951. (etree_type): Added rel field.
  3952. * ldexp.c (exp_print_token): Bracketed table initialization.
  3953. (exp_relop): New function.
  3954. (fold_name): Use linker hash table rather than ldsym functions.
  3955. (exp_fold_tree): Likewise. Also, handle etree_rel case.
  3956. (exp_print_tree): Handle etree_rel.
  3957. * ldgram.y (strip_symbols, discard_locals): Removed.
  3958. (OPTION_stats, OPTION_no_keep_memory): New tokens. Handle them.
  3959. (REL): New token. Does not appear in grammar, but needed for
  3960. expression code.
  3961. (file): Don't call lang_final; it's called by main anyhow.
  3962. * ldlex.l: Accept -stats and -no-keep-memory options.
  3963. * ldlang.h (fill_type): Make unsigned int, not unsigned short.
  3964. * ldlang.c: Consistently use fill_type for fill argument.
  3965. (lang_init_script_file, script_file): Removed.
  3966. (create_object_symbols): Removed. Use
  3967. link_info.create_object_symbols_section instead. Changed all
  3968. uses.
  3969. (lang_add_keepsyms_file): Removed.
  3970. (lookup_name): Call bfd_link_add_symbols instead of
  3971. ldmain_open_file_read_symbol.
  3972. (wild): Don't iterate over script_file.
  3973. (open_output): Create link hash table.
  3974. (lang_place_undefineds): Rewrote.
  3975. (lang_size_sections): Handle relaxing (doesn't work yet).
  3976. (lang_relocate_globals): Removed.
  3977. (lang_finish): Use link hash table rather than ldsym functions.
  3978. (lang_common): Rewrote.
  3979. (lang_one_common): New function.
  3980. (ldlang_add_file): Add file to link_info.input_bfds list. Set
  3981. usrdata.
  3982. (create_symbol): Removed.
  3983. (lang_process): Don't call lang_init_script_file. Call
  3984. ldctor_build_sets rather than find_constructors. Don't call
  3985. lang_relocate_globals.
  3986. (lang_abs_symbol_at_beginning_of): Rewrote.
  3987. (lang_abs_symbol_at_end_of): Rewrote.
  3988. * ldmain.c (had_y): Removed.
  3989. (lprefix, lprefix_len): Removed; use link_info fields instead.
  3990. Changed all uses.
  3991. (multiple_def_count, commons_pending, undefined_global_sym_count,
  3992. total_symbols_seen, total_files_seen): Removed.
  3993. (link_callbacks, link_info): New variables.
  3994. (main): Initialize link_info. Don't call init_bfd_error_vector or
  3995. ldsym_init. Don't set now unused variables. Handle -stats.
  3996. (get_emulation): Removed obsolete and nonfunctional GNU960 code.
  3997. (add_ysym): Rewrote.
  3998. (read_entry_symbols, refize, enter_global_ref, enter_file_symbols,
  3999. search_library, gnu960_check_format, decode_library_subfile,
  4000. linear_library, symdef_library, clear_syms, subfile_wanted_p):
  4001. Removed.
  4002. (add_keepsyms_file, add_archive_element, multiple_definition,
  4003. multiple_common, add_to_set, warning_callback, undefined_symbol,
  4004. reloc_overflow, reloc_dangerous, unattached_reloc, notice_ysym):
  4005. New functions.
  4006. * ldmisc.c (vfinfo): Accept a string for %T, not a symbol. Don't
  4007. require symbols for %C; look them up instead.
  4008. * emultempl/hppaosf.em: Pass link_info to
  4009. hppa_look_for_stubs_in_section.
  4010. * Makefile.in: Rebuilt dependencies.
  4011. (CFILES): Removed lderror.c, ldindr.c, ldsym.c, ldwarn.c, and
  4012. relax.c.
  4013. (HFILES): Removed lderror.h, ldindr.h, ldsym.h, ldwarn.h, and
  4014. relax.h.
  4015. (EMULATION_OFILES): Depend on bfdlink.h, ldmain.h, ldexp.h,
  4016. ldlang.h and ldctor.h.
  4017. * Makefile.in (ldlex.c): Don't depend on ldgram.h. Remove
  4018. declarations of free and malloc from flex output. Change malloc
  4019. to ldmalloc in flex output.
  4020. Thu Dec 16 21:19:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  4021. * ldmain.c (lprefix): Change default from a char to a string
  4022. with only one character.
  4023. (lprefix_len): Set default to one.
  4024. * ldmain.h (lprefix_len): Declare.
  4025. * ldsym.c (write_file_locals): Use strncmp rather than a character
  4026. comparison for lprefix.
  4027. * emultempl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
  4028. correctly.
  4029. * emultempl/hppaosf.em: Include ldexp.h.
  4030. (before_parse): Set lprefix and lprefix_len correctly.
  4031. Tue Dec 14 17:19:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4032. * ldlex.h: Don't declare yywrap if it is a macro.
  4033. * ldlex.l: Include sysdep.h.
  4034. * ldlang.c (lang_for_each_statement_worker,
  4035. lang_for_each_statement): Forgot to use PARAMS.
  4036. Mon Dec 13 14:30:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4037. * Makefile.in: Added .PHONY targets where appropriate. Added some
  4038. comments. Also:
  4039. (gcclibdir, version): Removed unused variables.
  4040. (DEP): New variable, set to mkdep.
  4041. (ALL_CFLAGS): New variable. Used in .c.o target.
  4042. (CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
  4043. variables.
  4044. (HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
  4045. GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
  4046. mostly obsolete variables. Adjusted remaining uses.
  4047. (DEF_EMUL): Removed variable.
  4048. (ldmain.o): Handle undefined EMUL error correctly.
  4049. (ldemul-list.h): Depend on config.status rather than Makefile.
  4050. Create via temporary file.
  4051. (ver960.c, roll, make): Removed obsolete targets.
  4052. (.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild
  4053. dependencies.
  4054. * dep-in.sed: New file, used when rebuilding dependencies.
  4055. Sat Dec 11 14:43:44 1993 Ian Lance Taylor (ian@deneb.cygnus.com)
  4056. Made many changes to eliminate gcc warnings. Made various
  4057. cosmetic changes, declared various things in header files, removed
  4058. various extern declarations from .c files. No substantive
  4059. changes.
  4060. * ldlang.c (lang_process): Ifdef out final call to
  4061. lang_size_sections again (reverting change of Nove 2), since it
  4062. breaks the Sun4 linker.
  4063. Thu Dec 2 16:31:47 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4064. * configure.in (alpha-*-netware*): New target; use alpha.
  4065. Wed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com)
  4066. * configure.in: Group targets by CPU. Merge some m68k target
  4067. entries with different CPU specs that use the same ld_target
  4068. values.
  4069. * configure.in: Add sparc*-*-coff.
  4070. * config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
  4071. * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
  4072. (em_coff_sparc.c): Add dependencies and build rules.
  4073. * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare.
  4074. Wed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4075. * ldgram.y (OPTION_call_shared, OPTION_non_shared, OPTION_Oval):
  4076. New tokens.
  4077. (command_line_option): Accept and ignore them (for now).
  4078. * ldlex.l (<COMMAND>): Handle -non_shared, -call_shared, and -On
  4079. where n is a number.
  4080. Mon Nov 22 14:14:29 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4081. * ldmain.c (subfile_wanted_p): If merging a common symbol which is
  4082. not in bfd_com_section, create the section in the BFD so that it
  4083. can be placed in the right output section.
  4084. Fri Nov 19 14:12:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4085. * configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
  4086. * emulparams/elf32mipsb.sh (DATA_ADDR): Define.
  4087. (OTHER_READONLY_SECTIONS): Define for .reginfo.
  4088. (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK.
  4089. * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating.
  4090. Move OTHER_READONLY_SECTIONS after all the other readonly
  4091. sections. Don't use DATA_ADDR twice.
  4092. * ldmain.c (enter_file_symbols): Removed duplicate tests of p. If
  4093. p is in a common section, make sure the BFD has a section of that
  4094. name.
  4095. * ldlang.c (lang_common): Add newline to error message.
  4096. Thu Nov 11 15:54:41 1993 Stan Shebs (shebs@rtl.cygnus.com)
  4097. * emulparams/m68klynx.sh (SCRIPT_NAME): Define to use a
  4098. Lynx-specific script instead of m68kcoff.
  4099. (OUTPUT_FORMAT): Define as "coff-m68k-lynx".
  4100. (ENTRY): Define as __main.
  4101. (TEXT_START_ADDR): Define as 0.
  4102. (PAGE_SIZE): Define as 0x1000.
  4103. * emulparams/i386lynx.sh, emulparams/sparclynx.sh: Fix comment.
  4104. * scripttempl/m68klynx.sc: New file.
  4105. Mon Nov 8 12:00:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4106. * ldmain.c (get_emulation): Ignore -mips1, -mips2 and -mips3
  4107. arguments rather than treating them as emulation names.
  4108. Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
  4109. * configure.in: Support x86 unixware and netware plus generic netware.
  4110. Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4111. * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR):
  4112. Correct values (?).
  4113. Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com)
  4114. * Makefile.in (distclean): Don't delete dvi or info files.
  4115. (ld.info): Update dependency list.
  4116. (ld.dvi): Ditto. Extend TEXINPUTS to get bfdsumm.texi.
  4117. Wed Nov 3 12:07:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4118. * ldlang.c (lang_add_output): Take new arg, FROM_SCRIPT.
  4119. Set output_filename instead of creating a new node.
  4120. (open_output): Don't set output_filename.
  4121. (lang_final): Create the new node here.
  4122. * ldlang.c, ldlang.h, ldgram.y, mri.c: pass FROM_SCRIPT.
  4123. Tue Nov 2 15:45:51 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
  4124. From Pete Hoogenboom (hoogen@cs.utah.edu):
  4125. * scripttempl/hppaosf.sc: (___stack_zero, etext, _etext,
  4126. edata, _edata, end): Add definitions of these symbols.
  4127. (__end): Remove definition of this symbol.
  4128. (__data_start): Move definition of this symbol.
  4129. * emultempl/hppaosf.em: Various fixes and support for linker stub
  4130. generation.
  4131. (hppaosf_finish, hppaosf_search_for_padding_statements,
  4132. hppaosf_create_output_section_statements): New functions in
  4133. support of linker stub generation.
  4134. (ld_hppaosf_emulation): Redefine to include new
  4135. emulation-specific routines.
  4136. * ldlang.c (lang_process): Re-enable last call lang_size_sections.
  4137. Pass abs_output_section rather than NULL to avoid invalidating
  4138. absolute symbols.
  4139. Thu Oct 28 21:16:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4140. * Makefile.in (ALL_EMULATIONS): Add em_i386mach.o.
  4141. (em_i386mach.c): New rule.
  4142. * configure.in (i[34]86-*-mach*): New case.
  4143. * config/i386-mach.mt: New file.
  4144. * emulparams/i386mach.sh: New file.
  4145. Fri Oct 29 14:55:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4146. * ld.h (flag_is_*): Removed macros.
  4147. * ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
  4148. Consistently check the BFD symbol flags directly, rather than
  4149. using file_is_* macros.
  4150. Thu Oct 28 19:08:42 1993 Stan Shebs (shebs@rtl.cygnus.com)
  4151. * configure.in (sparc*-*-lynxos*): New target.
  4152. * Makefile.in: Add rule for em_sparclynx.c.
  4153. (ALL_EMULATIONS): Add Lynx emulations.
  4154. * config/sparc-lynx.mt: New file.
  4155. * emulparams/sparclynx.sh: New file.
  4156. * scripttempl/sparccoff.sc: New file.
  4157. Thu Oct 28 13:50:25 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4158. * Makefile.in: Add dependency for $(EMULATION_OFILES).
  4159. Mon Oct 25 16:09:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4160. * relax.c (write_relax): Check return value of bfd_seclet_link.
  4161. Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com)
  4162. * ldlang.c (delete_output_file_on_failure): New variable.
  4163. (open_output): Set it after bfd open succeeds.
  4164. * ldmisc.c (vfinfo): Test it.
  4165. Changes from Peter Hoogenboom, hoogen@cs.utah.edu:
  4166. * ldsym.c (write_file_locals): Set the BSF_FILE flag for object
  4167. symbols.
  4168. * ldemul.c: Support was added to allow emulation-specific
  4169. processing to occur. This support was added primarily for linker
  4170. stub generation in the elf32-hppa gld.
  4171. (ldemul_finish, ldemul_create_output_section_statements): New
  4172. functions.
  4173. * ldemul.h: Support was added to allow emulation-specific
  4174. processing to occur. (As described above.) Added finish and
  4175. create_output_section_statements fields to
  4176. ld_emulation_xfer_struct structure.
  4177. * ldlang.c: Add calls to emulation-specific routines.
  4178. (lang_process): Add call to
  4179. ldemul_create_output_section_statements function.
  4180. (lang_process): Add call to a emulation-specific routine (and
  4181. some processing after the call).
  4182. Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  4183. * configure.in: mips*- instead of mips-, mips*el changes
  4184. Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4185. * configure.in (alpha-*-osf*): New target; use alpha.mt.
  4186. * Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
  4187. (em_alpha.c): New target; use alpha.sh and alpha.sc.
  4188. * config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
  4189. * config/alpha.mt: New file.
  4190. * emulparams/alpha.sh: New file.
  4191. * scripttempl/alpha.sc: New file.
  4192. Fri Oct 15 02:20:04 1993 Doug Evans (dje@canuck.cygnus.com)
  4193. * ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
  4194. types of different sizes (eg: 64 and 32 bits), so coerce.
  4195. * ld.h (ALIGN_N): Add warning about usage.
  4196. Wed Oct 13 16:02:39 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4197. * ldmain.c (enter_global_ref): Just ignore any weak symbol for
  4198. which we already have a definition, rather than checking in
  4199. several different places whether the symbol is weak.
  4200. Tue Oct 12 17:30:51 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4201. * configure.in (mips-*-elf*): New target; use mipsb-elf32.
  4202. * scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
  4203. OTHER_READWRITE_SECTIONS if relocating. Shell variables are not
  4204. expanded within them.
  4205. * config/mipsb-elf32.mt: New file.
  4206. * emulparams/elf32mipb.sh: New file.
  4207. * Makefile.in (em_elf32mipb.c): New target.
  4208. Thu Sep 30 17:00:36 1993 Rob Savoye (rob@darkstar.cygnus.com)
  4209. * ldgram.y: In input_list, change lang_input_file_is_file_enum to
  4210. lang_input_file_is_search_file_enum so objects brought in using
  4211. INPUT() do a path lookup.
  4212. Tue Sep 28 13:31:23 1993 Stan Shebs (shebs@rtl.cygnus.com)
  4213. * configure.in: Change Lynx ld_target to be {i386,m68k}-lynx
  4214. instead of {i386,m68k}-coff.
  4215. * Makefile.in (em_i386lynx.c, em_m68klynx.c): New targets.
  4216. * config/i386-lynx.mt: New file.
  4217. * config/m68k-lynx.mt: New file.
  4218. * emulparams/i386lynx.sh: New file.
  4219. * emulparams/m68klynx.sh: New file.
  4220. * scripttempl/i386coff.sc: Make ENTRY get its value from ${ENTRY},
  4221. but defaulting to _start.
  4222. * ldemul.c, ldfile.c, ldlang.c, ldmain.c, ldmisc.c, ldmisc.h,
  4223. ldsym.c, ldwarn.c: Rename info to info_msg, to avoid conflict with
  4224. LynxOS libc.
  4225. Thu Sep 23 14:51:03 1993 Ian Lance Taylor (ian@cygnus.com)
  4226. * config/solaris2.mh: New file. Define HOSTING_CRT0 and
  4227. HOSTING_LIBS for testing.
  4228. Fri Sep 17 17:52:24 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4229. Finish up support for i386-sysv4 (without shared libraries):
  4230. * ld.h (flag_is_weak): Define.
  4231. * ldlang.c (print_symbol): Mention whether symbol is weak.
  4232. (print_input_section): Print weak symbols as globals.
  4233. * ldmain.c (refize): Do not zero out BSF_WEAK flag.
  4234. (enter_global_ref): Do not warn if a weak symbol redefines a
  4235. global symbol. Do not let a weak symbol redefine a common symbol.
  4236. (enter_file_symbols): Treat weak symbols as global symbols.
  4237. (subfile_wanted_p): Do not pull in an object file from a archive
  4238. just to resolve an undefined weak symbol.
  4239. * ldmisc.c (vfinfo): Don't needlessly malloc space after a fatal
  4240. error; the error might be that malloc has run out of space.
  4241. * ldsym.c (write_file_locals): Treat weak symbols as global.
  4242. * configure.in (i[34]86-*-sysv4*, i[34]86-*-elf*): New targets;
  4243. use i386-elf.
  4244. * config/i386v4.mh: New file; set NATIVE_LIB_DIRS to /usr/ccs/lib.
  4245. * config/i386-elf.mt: New file; set EMUL to elf_i386.
  4246. * emulparams/elf_i386.sh: New file.
  4247. * scripttempl/elf.sc: Use ${NOP} as filler (defaults to 0).
  4248. * Makefile.in (NATIVE_LIB_DIRS): Define to be empty.
  4249. (ALL_EMULATIONS): Add em_elf_i386.o.
  4250. (GENSCRIPTS): Pass NATIVE_LIB_DIRS as sixth argument.
  4251. (em_elf_i386.c): New target, like other em_*.c targets.
  4252. ($(LD_PROG)): Pass $(CFLAGS) to $(CC).
  4253. * genscripts.sh: Accept NATIVE_LIB_DIRS as sixth argument. If
  4254. nonempty, and configured for native, add it to LIB_PATH.
  4255. Fri Sep 17 13:07:39 1993 Stan Shebs (shebs@rtl.cygnus.com)
  4256. * scripttempl/{h8300.sc,h8500.sc,i386coff.sc,m68kcoff.sc,sh.sc}:
  4257. Added statements to pass stab and stabstr sections through and
  4258. mark them as NOLOAD, which makes GDB happier.
  4259. Wed Sep 15 16:02:29 1993 Stan Shebs (shebs@rtl.cygnus.com)
  4260. * configure.in: Accept m68k-lynx-lynxos config.
  4261. * Makefile.in: Use $(SHELL) to run genscripts.sh.
  4262. Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com)
  4263. * config/coff-h8300.mt: Add EMUL=h8300h.
  4264. * ldmain.c (main): Call set_scripts_dir after argv has been processed.
  4265. Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
  4266. * Makefile.in: Changed CXX back to g++.
  4267. Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
  4268. * Makefile.in: Fixed RUNTEST* CXX CXXFLAGS macros and check rule.
  4269. Fri Sep 10 07:26:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4270. * Makefile.in (TAGS): Use shell wildcards.
  4271. Tue Sep 7 18:04:54 1993 Jeffrey Osier (jeffrey@cygnus.com)
  4272. * Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
  4273. Fri Sep 3 16:46:41 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
  4274. * ld.texinfo: re-enable included config file; conditionalize doc
  4275. for -oformat to interact properly with SingleFormat doc config
  4276. var; rename @up/@down to @raisesections/@lowersections.
  4277. Wed Aug 25 16:29:56 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  4278. * configure.in: recognize m88110.
  4279. Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4280. From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
  4281. * emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
  4282. ELF emulation is "elf32-hppa" not "elf-big".
  4283. (hppaosf_before_parse): Remove unneeded processing of environment
  4284. variables.
  4285. * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
  4286. .text segment of output file.
  4287. * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
  4288. Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  4289. * ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
  4290. longer in bfd.h.
  4291. * ldlang.c, ld.h: updated copyright.
  4292. Tue Aug 17 15:22:03 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4293. * ldlang.c (open_output, lang_check): Check return value of
  4294. bfd_set_arch_mach.
  4295. Tue Aug 17 07:02:19 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
  4296. * scripttempl/h8500.sc: Start all sections in a different segment.
  4297. * scripttempl/z8ksim.sc: Handle constructors
  4298. Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com)
  4299. * Makefile.in: revert earlier changes back to execute runtest
  4300. with make check. cdtest and bootstrap now function as they
  4301. did within the Makefile.
  4302. Thu Aug 12 10:20:05 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4303. * Makefile.in: Update dependencies.
  4304. * configure.in: Set EMULATION_OFILES in Makefile based on
  4305. --with-targets option.
  4306. Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
  4307. * Makefile.in: check targets reimplemented to old way.
  4308. Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com)
  4309. * config/i386v.mh, config/irix4.mh: Use gcc
  4310. -print-libgcc-file-name rather than $(libdir)/libgcc.a.
  4311. * config/i386sco.mh: New file; copy of i386v.mh to correspond to
  4312. bfd/configure.host change.
  4313. Mon Aug 9 14:25:35 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4314. * scripttempl/elf.sc: Handle .line and .debug* sections.
  4315. * ldlex.l: Use bfd_scan_vma, not strtoul.
  4316. Fri Aug 6 08:57:39 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4317. * ldexp.c, ldfile.c, ldlang.c, lexsup.c, ldmain.c, ldemul.c:
  4318. Remove inital caps in some error messages, change "can't" to
  4319. "cannot", add missing colons.
  4320. * ldmisc.c (vfinfo): Print "%%" as a single %.
  4321. For '%' followed by unrecognized character, print them both
  4322. verbatim instead of expecting a char * arg.
  4323. For '%C', don't put the function name in parens.
  4324. * ldexp.c (invalid): Pass "%%", not "% ".
  4325. Fri Aug 6 14:31:22 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4326. * scripttempl/mips.sc: Always define _ftext, _fdata, _fbss.
  4327. (BSS_VAR): Removed; now always define _fbss.
  4328. * emulparams/mipsidt.sh, emulparams/mipsidtl.sh (BSS_VAR):
  4329. Removed.
  4330. Thu Aug 5 15:55:19 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  4331. * configure.in: z8k-coff is the same as z8k-sim
  4332. Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com)
  4333. * testsuite/lib/ld.exp: new file
  4334. * testsuite/config/unix-ld.exp: new file
  4335. * testsuite/ld.bootstrap/bootstrap.exp: new file
  4336. * Makefile.in: add dejagnu support for make check
  4337. Wed Aug 4 17:52:32 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4338. * ldlex.l (comment): Add missing newline in message.
  4339. * ldindr.c (add_indirect): Ditto.
  4340. * ldexp.c (exp_fold_tree): Ditto.
  4341. Tue Aug 3 10:57:41 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4342. * ldgram.y, ldlex.l, mri.c, ldwrite.c: Change multiple commons
  4343. into externs.
  4344. * ldmisc.c (multiple_warn): New function.
  4345. * ldmisc.h: Declare it.
  4346. * ldmain.c (enter_global_ref): Call it.
  4347. * ld.h (ld_config_type): Add warn_common.
  4348. * ldlex.l, ldgram.y: Set it with -warn-common option.
  4349. * ldver.c (help): Document it.
  4350. Mon Aug 2 12:04:36 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4351. * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
  4352. target-specific sections, and for changing data section vma.
  4353. Mon Jul 26 14:00:02 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
  4354. * ldgram.y (OPTION_Qy, OPTION_Y, OPTION_dn, OPTION_YP): New
  4355. terminals, for Solaris.
  4356. (dirlist_ptr): New static variable.
  4357. (command_line_option): Accept new options.
  4358. * ldlex.l: Accept command-line options "-Qy", "-dn", "-Y", and
  4359. "-YP,...".
  4360. * config/sun4sol2.mt: Pass emulation name without ".sh".
  4361. * emulparams/elf32_sparc.c: Renamed from elf32-sparc.c.
  4362. * config/sun4sol2.mt (em_elf32_sparc.c): Adjusted accordingly.
  4363. Fri Jul 23 13:51:09 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4364. * scripttempl/elf.sc: Add support for .init, .fini, .ctors,
  4365. .dtors, .data1, .rodata1 sections, instead of combining them into
  4366. other sections. For `-r', set all section start addresses to
  4367. zero.
  4368. * emulparams/elf32-sparc.sh (TEXT_START_ADDR,
  4369. NONPAGED_TEXT_START_ADDR): Value should be 0x10100.
  4370. (MAXPAGESIZE): Renamed from PAGE_SIZE.
  4371. Wed Jul 21 14:28:42 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4372. * genscripts.sh: If this is the default emulation, set
  4373. COMPILE_IN.
  4374. * emultempl/*.em: Use it to determine whether to compile in the
  4375. scripts.
  4376. * Makefile.in (GENSCRIPTS): Pass the default emulation name to
  4377. genscripts.sh. Pass the current emulation name without ".sh" on
  4378. the end.
  4379. * genscripts.sh: Take an default emulation arg.
  4380. Use the current emulation name as EMULATION_NAME.
  4381. Make default lib path for cross-compiling ':', not null.
  4382. * emulparams/*.sh: Don't set EMULATION_NAME.
  4383. * ldemul.c (ldemul_get_script): Take isfile arg.
  4384. Pass it to emulation's get_script function.
  4385. * ldemul.h: Adjust get_script prototypes.
  4386. * ldfile.c (ldfile_find_command_file): Renamed from find_a_name.
  4387. No longer static.
  4388. * ldfile.h: Declare it.
  4389. * ldgram.y: Accept a script on the command line again,
  4390. for parsing compiled-in scripts.
  4391. * ldmain.c (main): If ld script is a file, parse it as a -T
  4392. option, otherwise parse it directly.
  4393. * emultempl/*.em (*get_script): Return the scripts themselves if
  4394. this is the default emulation; otherwise return their file names.
  4395. * emultempl/m88kbcs.em: New file, to take m88kbcs #ifdef out of
  4396. generic.em.
  4397. * emulparams/m88kbcs.sh: Use it.
  4398. * ld.h (ld_config_type::unix_relocate): Remove unused element.
  4399. Tue Jul 20 12:01:49 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4400. * Makefile.in (ALL_EMULATIONS): Delete em_i386linux.o (for which
  4401. there's no change log entry yet, tsk tsk) from the list of
  4402. emulations compiled in until Mark gets around to checking in
  4403. emulparams/i386linux.sh.
  4404. (ldemul-list.h): Depend on Makefile, so if EMULATION_OFILES is
  4405. changed, this file gets updated.
  4406. Fri Jul 16 14:14:32 1993 Ian Lance Taylor (ian@cygnus.com)
  4407. * ldgram.y (OPTION_Lfile): New token.
  4408. (command_line_option): Accept OPTION_L NAME (whitespace after -L).
  4409. * ldlex.l (<COMMAND>): Accept -L without FILENAME.
  4410. Fri Jul 16 13:44:26 1993 Doug Evans (dje@canuck.cygnus.com)
  4411. * configure.in: h8/300h support needs own .mt file.
  4412. config/coff-h8300h.mt: New file.
  4413. Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4414. * ldmain.c: Don't include sys/stat.h; it already got included
  4415. somewhere along the way.
  4416. Thu Jul 15 14:43:34 1993 Doug Evans (dje@canuck.cygnus.com)
  4417. * Makefile.in: Add h8300h support.
  4418. emulparams/h8300h.sh: New file.
  4419. scripttempl/h8300h.sc: New file.
  4420. Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4421. * ldfile.c (ldfile_open_file): In error message, use the name the
  4422. user gave (e.g., "-lc"), rather than the base file name.
  4423. * ldexp.c (exp_fold_tree): Don't assign an int to an enum.
  4424. * ldmain.[ch]: Remove initial Q_ from function names.
  4425. * ldexp.c, ldindr.c, ldlang.c: Change callers.
  4426. * ldfile.c, ldmain.c, ldgram.y: Rename option_v to trace_file_tries.
  4427. * ldlang.c (lang_process): Move loading of default script from
  4428. here to main. Add a "/" to start of script name to prevent
  4429. finding it in "." first.
  4430. * ldmain.c (set_scripts_dir): Don't look in "." first.
  4431. * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var
  4432. option_longmap.
  4433. Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com)
  4434. * Makefile.in (em_m88kbcs.c): Correct dependency.
  4435. * scripttempl/m88kbcs.sc: It's ARCH, not arch. Removed TARGET
  4436. statement. Changed OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
  4437. * emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
  4438. Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4439. * ldfile.c (ldlang_open_file, ldfile_open_command_file),
  4440. main.c (main): Print the errno string in the error message.
  4441. Tue Jul 13 20:00:30 1993 Doug Evans (dje@canuck.cygnus.com)
  4442. * configure.in: Accept h8300h for target cpu.
  4443. * ldmisc.c (vfinfo): Have demangle remove leading underscore if
  4444. present (demangle is smart enough to know whether to do it or not).
  4445. Mon Jul 12 11:45:48 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4446. * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
  4447. ldscripts, as well as <ld bin dir> and SCRIPTDIR.
  4448. * ldlang.c (lang_process): Use sizeof instead of magic constant.
  4449. * ldmain.c (get_emulation, check_for_scripts_dir,
  4450. set_scripts_dir): New functions.
  4451. (main): Call them.
  4452. Mon Jul 12 10:57:03 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
  4453. * scripttempl/elf.sc: Include .init, .fini, .rodata sections.
  4454. Create symbol "end" instead of "__end". Comment out some parts
  4455. that may not be needed (yet) for elf.
  4456. * configure.in: Accept sparc-elf and sparc-solaris2 configs.
  4457. Thu Jul 8 15:33:32 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4458. * Makefile.in (ALL_EMULATIONS): Include $(OTHER_EMULATIONS).
  4459. * ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro
  4460. when no prototype is being supplied.
  4461. (ldmalloc, ldrealloc): Size argument is now size_t.
  4462. * ldmisc.c (finfo): New function, accepts FILE* argument.
  4463. (vfinfo, case 'v'): New format character; displays bfd_vma in hex
  4464. without leading zeros.
  4465. (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a
  4466. bfd_vma value, instead of fprintf(%x) which won't hold a long long
  4467. value.
  4468. (concat, buystring): String lengths are size_t.
  4469. (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
  4470. * ldlang.c (new_statement): Size argument is now size_t. Added
  4471. forward declaration with prototype.
  4472. Thu Jul 8 10:53:47 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4473. * ldgram.y (OPTION_v): Don't turn on verbose output.
  4474. Wed Jul 7 17:10:45 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4475. * ldlex.l: Get rid of local typedef for bfd_vma! Get it from
  4476. bfd.h instead.
  4477. Wed Jul 7 11:33:12 1993 Ian Lance Taylor (ian@cygnus.com)
  4478. * Makefile.in (install): Don't install as $(tooldir)/bin/gld;
  4479. collect2 doesn't look for gld any more anyhow.
  4480. Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com)
  4481. * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
  4482. now have a non NULL srefs_chain.
  4483. * config/hp300hpux.mt: Use emulation hp3hpux rather than
  4484. hp300hpux, since the latter does not exist.
  4485. Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4486. * genscripts.sh: Put the scripts in the ldscripts directory, not
  4487. emulations.
  4488. * configure.in (ldscripts): Make, instead of emulations.
  4489. * Makefile.in (scriptdir): Take off the "ld" part.
  4490. (install, clean, distclean): Use ldscripts, not emulations.
  4491. In tests, don't pass -Lemulations.
  4492. Don't pass tooldir/lib to genscripts.sh.
  4493. * genscripts.sh: Don't take tooldir/lib arg.
  4494. * ldlang.c (lang_process): Add "ldscripts/" to the name of the
  4495. default script file.
  4496. Fri Jul 2 17:13:35 1993 Doug Evans (dje@canuck.cygnus.com)
  4497. * scripttempl/h8300.sc: Add .tors section for constructor/destructors.
  4498. Thu Jul 1 16:38:45 1993 Doug Evans (dje@canuck.cygnus.com)
  4499. * config/coff-h8300.mt: EMUL=h8300hms -> h8300.
  4500. Wed Jun 30 15:45:55 1993 K. Richard Pixley (rich@sendai.cygnus.com)
  4501. * Makefile.in (.y.c): skip default .y.c rules. gnu make can now
  4502. run in parallel without colliding on yacc's static file names.
  4503. Without the stub rule, make will try to start two yacc's
  4504. concurrently which fails because of yacc's static file names.
  4505. Tue Jun 29 12:20:36 1993 Ian Lance Taylor (ian@cygnus.com)
  4506. * ldmain.c (subfile_wanted_p): Don't dump core if there are no
  4507. symbols.
  4508. Mon Jun 28 12:22:11 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4509. * genscripts.sh (LIB_PATH): Only add /usr/local/lib if it's
  4510. different from libdir.
  4511. * Makefile.in (scriptdir): Base on tooldir, not datadir.
  4512. Sat Jun 26 12:03:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4513. * ldver.c (help): New function.
  4514. * ldver.h: Declare it.
  4515. * ldlex.l, ldgram.y: Recognize new options --help and --version.
  4516. Mon Jun 21 20:39:48 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
  4517. * Makefile.in (INCLUDES): Don't need ../include any more.
  4518. Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4519. * ldlex.l, ldgram.y: Support new -oformat option.
  4520. Remove attempt at supporting script fragments on the command line.
  4521. * ldlang.c (lang_add_output_format): Take new arg, FROM_SCRIPT.
  4522. * mri.c (mri_format), ldgram.y: Change callers.
  4523. * ldlang.h: Change prototype.
  4524. Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com)
  4525. * Makefile.in: canonicalize install.sh; for use within
  4526. this directory (and subdirs)
  4527. Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4528. * ldgram.y: Tweak grammar to make reporting of invalid options work.
  4529. * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
  4530. and .cc.o rule.
  4531. Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4532. * ldfile.c (ldfile_open_command): Don't try .ld extension.
  4533. It wasn't documented (or likely used) and wastes time.
  4534. (try_open): If EXTEN is empty, don't try it.
  4535. * ldctor.c, lderror.c, ldexp.c, ldfile.c, ldindr.c, ldlang.c,
  4536. ldlex.l, ldmain.c, ldmisc.c, ldsym.c, ldver.c, ldwarn.c,
  4537. ldwrite.c, lexsup.c, mri.c, relax.c: Replace DEFUN macro calls
  4538. with normal function declarations.
  4539. * Move *.em to emultempl/*.em. Move *.sh to emulparams/*.sh.
  4540. Move *.sc-sh to scripttempl/*.sc.
  4541. * {emultempl,emulparams,scripttempl}/README: New files.
  4542. * emultempl/sh.em, emultempl/st2000.em, emultempl/z8ksim.em,
  4543. emultempl/h8300hms.em, emultempl/h8500hms.em: Files removed,
  4544. replaced with generic.em.
  4545. * emulparams/h8300.sh, emulparams/h8500.sh, scripttempl/h8300.sc,
  4546. scripttempl/h8500.sc: Renamed from h8[35]00hms.s[ch]. Change
  4547. their contents to omit the "hms".
  4548. * *.em (*_get_script): Return script name instead of script contents.
  4549. * ldlang.c (lang_process): Change caller.
  4550. * ldlex.l, ldgram.y: Recognize -m option.
  4551. Check for input files after *all* options in grammar.
  4552. * ldmain.c (main): Check for -m options. Add default directory
  4553. for -m.
  4554. * mkscript.c: File removed.
  4555. * genscripts.sh: Take two more parameters, tooldirlib and libdir,
  4556. to add to the default LIB_PATH.
  4557. Look for input files in the new subdirectories.
  4558. Create the scripts in emulations subdirectory and don't filter
  4559. them through mkscript.
  4560. * configure.in: Make the emulations subdirectory.
  4561. * Makefile.in: Account for all of the above changes.
  4562. Remove unused .SUFFIXES. Get libgcc.a path with gcc
  4563. -print-libgcc-file-name instead of $(libdir)/libgcc.a.
  4564. Put CFLAGS last in the compilation rules.
  4565. Add -I../bfd to INCLUDES so sysdep.h is found.
  4566. Tue Jun 15 23:04:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4567. * Makefile.in (INCLUDES): Look in ../include, not ../bfd.
  4568. * scripttempl/aout.sc, emulparams/aout.sh: Add SHLIB_PATH like
  4569. STACKZERO. Make STACKZERO dependent on RELOCATING, not
  4570. RELOCATION.
  4571. * emulparams/hp3hpux.sh (SHLIB_PATH): Define it.
  4572. Mon Jun 14 19:06:15 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  4573. * ldfile.c (try_open): If opening without the extension fails,
  4574. try with the extension even if -v or -V was given.
  4575. had_script is imported (from ldgram.y), not exported.
  4576. Mon Jun 14 16:26:10 1993 david d `zoo' zuhn (zoo at rtl.cygnus.com)
  4577. * Makefile.in: remove parentdir support, use INSTALL_XFORM
  4578. Thu Jun 10 14:00:06 1993 Ian Lance Taylor (ian@cygnus.com)
  4579. * ldexp.c (exp_fold_tree): Don't lose the old flag bits.
  4580. * ldgram.y (statement_list_opt): New nonterminal, either empty or
  4581. statement_list.
  4582. (section): Use statement_list_opt, not statement_list.
  4583. * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: Gather
  4584. constructors and destructors and define __CTOR_LIST__ and
  4585. __DTOR_LIST__ appropriately.
  4586. * scripttempl/sa29200.sc, emulparams/sa29200.sh: Gather
  4587. constructors and destructors and define ___CTOR_LIST__ and
  4588. ___DTOR_LIST__ appropriately.
  4589. Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com)
  4590. * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
  4591. * configure.in: No longer need to configure to get sysdep.h.
  4592. Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4593. * Makefile.in: remove install:all and install-info:info
  4594. dependencies (these cause some spurious rebuilds at 'make install'
  4595. time)
  4596. Fri Jun 4 08:50:14 1993 Ian Lance Taylor (ian@cygnus.com)
  4597. * configure.in (mips-idt-ecoffl*): New target; use mips-idtl.
  4598. (mips-idt-ecoff*): Added trailing '*'.
  4599. * config/mips-idtl.mt: New file; use EMUL of mipsidtl.
  4600. * emulparams/mipsidtl.sh: New file; like mipsidt.sh, but little
  4601. endian.
  4602. * Makefile.in (ALL_EMULATIONS): Added em_mipsidtl.o.
  4603. * config/sun3.mh (HOSTING_LIBS, HOSTING_EMU): Removed obsolete and
  4604. incorrect definitions.
  4605. Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com)
  4606. * ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
  4607. symbols, unless stripping.
  4608. Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com)
  4609. * Makefile.in: configure looks for ####, so remove lines with many
  4610. '#' characters.
  4611. * config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
  4612. and HOSTING_LIBS correctly so that ``make check'' will work.
  4613. Thu May 20 13:56:16 1993 Per Bothner (bothner@deneb.cygnus.com)
  4614. * scripttempl/mips.sc, emulparams/mips.sh: Define _etext, _edata,
  4615. and _end, in addition to etext, edata, and end. Needed for IRIX
  4616. 4.0.5F. Patch from mwp@iconix.oz.au (Michael Paddon).
  4617. * Version 2.2.1 released.
  4618. Thu May 20 11:42:06 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4619. * scripttempl/mipsbsd.sc, emulparams/mipsbsd.sh: Renamed from
  4620. aout-mipsbsd.sc-sh.
  4621. * emulparams/mipsbsd.sh (EMULATION_NAME): Use new file name.
  4622. Tue May 18 17:10:24 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4623. * Makefile.in (LDDISTSTUFF): Remove ld.mm since we can't build it
  4624. properly right now.
  4625. * Version 2.2 released.
  4626. Mon May 17 15:37:28 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
  4627. * ldver.c (ldversion): Bump version number to 2.2.
  4628. Mon May 17 12:44:31 1993 Per Bothner (bothner@cygnus.com)
  4629. * NEWS: New file.
  4630. Fri May 14 11:26:24 1993 Ian Lance Taylor (ian@cygnus.com)
  4631. * scripttempl/mips.sc, emulparams/mips.sh: Don't define BSS_VAR
  4632. unless relocating.
  4633. Wed May 12 13:33:29 1993 Ian Lance Taylor (ian@cygnus.com)
  4634. * Makefile.in (mkscript.o, mkscript): Build mkscript via
  4635. mkscript.o, rather than directly from mkscript.c.
  4636. Tue May 4 21:58:56 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4637. * configure.in: Look for ${target_makefile_frag} relative to
  4638. ${srcdir}, not relative to build directory.
  4639. * emultempl/hppaosf.em, scripttempl/hppaosf.sc,
  4640. emulparams/hppaosf.sh: New files.
  4641. * configure.in: Recognize hppa*-hp-osf.
  4642. * Makefile.in (ALL_EMULATIONS): Include hppaosf emulation.
  4643. (em_hppaosf.c): Build it.
  4644. * config/hppaosf.mh, config/hppaosf.mt: New files.
  4645. * ld.h (ALIGN_N): Renamed from ALIGN, because that conflicted with
  4646. some system header files. All uses changed.
  4647. * configure.in: Recognize i386-aix configurations as i386-coff
  4648. targets.
  4649. * configure.in: Recognize m68*-*-hpux.
  4650. * scripttempl/aout.sc: If STACKZERO and RELOCATING are both defined, output
  4651. the value of STACKZERO.
  4652. * Makefile.in (ALL_EMULATIONS): Include hp300-hpux emulation.
  4653. (em_hp3hpux.c): Build it.
  4654. * emulparams/hp3hpux.sh, config/hp300hpux.mt: New files.
  4655. Tue May 4 12:37:35 1993 Ian Lance Taylor (ian@cygnus.com)
  4656. * scripttempl/mips.sc: Put constructors in the .data section.
  4657. * Makefile.in (cdtest): Added dependency on ld.new.
  4658. Mon May 3 19:43:39 1993 Per Bothner (bothner@cygnus.com)
  4659. * Makefile.in: Change definition of $(tooldir) to match FSF.
  4660. * emulparams/vax.sh, config/vax.mt, configure.in, Makefile.in:
  4661. Support VAX Ultrix and BSD.
  4662. Mon Apr 26 18:35:47 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4663. * emultempl/sh.em, emulparams/sh.sh, scripttempl/sh.sc: New
  4664. files supporting Hitachi SH.
  4665. Wed Apr 14 21:01:51 1993 John Gilmore (gnu@cygnus.com)
  4666. * ldlang.h (struct memory_region): Change `length' and
  4667. `old_length' fields to bfd_size_type. Eliminate use of bfd_offset.
  4668. * ldlang.c, mri.c: Corresponding changes, plus lint.
  4669. Thu Apr 8 22:08:18 1993 Ian Lance Taylor (ian@cygnus.com)
  4670. * configure.in: For all i386 targets, accept i486 as well.
  4671. Mon Apr 5 17:33:39 1993 Ian Lance Taylor (ian@cygnus.com)
  4672. * ldlang.c (wild_doit): Preserve all flags for a
  4673. SEC_SHARED_LIBRARY section.
  4674. (size_input_section): Consider any SEC_HAS_CONTENTS section when
  4675. computing largest_section.
  4676. Fri Apr 2 14:33:52 1993 Ian Lance Taylor (ian@cygnus.com)
  4677. * ldlang.c (lang_output_section_statement_lookup): Initialize all
  4678. fields of newly created structure.
  4679. Wed Mar 31 18:19:15 1993 Ian Lance Taylor (ian@cygnus.com)
  4680. * ldmain.c (g_switch_value): New variable.
  4681. * ldgram.y (OPTION_G, OPTION_Gval): New tokens.
  4682. (command_line_option): Accept -G and set g_switch_value.
  4683. * ldlex.l (COMMAND): Accept -G.
  4684. * ldlang.c (open_output): Call bfd_set_gp_size on new BFD.
  4685. Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4686. Support for linking and loading at different places:
  4687. * ldlex.l: Add "AT" keyword.
  4688. * ldgram.y: Cleanup, and parse AT.
  4689. * ldlang.c (print_output_section_statement): Print output address
  4690. of section in map. (lang_size_sections): Fill sections' lma with
  4691. load address.
  4692. * ldlang.h (lang_output_section_statement_type): Add load_base
  4693. information.
  4694. * ldindr.c (add_indirect): Keep more information in the alias
  4695. symbol chain.
  4696. * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section
  4697. attribute from an input section.
  4698. * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by
  4699. default. (Q_enter_file_symbos): Indirect symbols now are known by
  4700. their section, not a special symbol flag.
  4701. * ldsym.c (write_file_locals): Indirect symbols aren't local.
  4702. (write_file_globals): Write the mapping for an indirect symbol.
  4703. * relax.c (build_it): When forced to write a NEVER_LOAD section,
  4704. fill it with zeros.
  4705. Tue Mar 23 13:24:10 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
  4706. * ld.texinfo: changes for q1
  4707. Tue Mar 23 00:13:29 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4708. * Makefile.in: add dvi target, define & use TEXI2DVI, add installcheck
  4709. Mon Mar 8 20:30:35 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4710. * Makefile.in: rename HOST_CC to CC_FOR_BUILD
  4711. Thu Mar 4 12:44:33 1993 Ian Lance Taylor (ian@cygnus.com)
  4712. * mips.sc-sh: Added variables which may be overridden by a
  4713. specific emulation.
  4714. * emulparams/mipsidt.sh: New file; emulation for IDT MIPS board.
  4715. * Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
  4716. (em_mipsidt.c): New target. Uses mipsidt.sh and mips.sc-sh.
  4717. * config/mips-idt.mt: New file; sets EMUL to mipsidt.
  4718. * configure.in (mips-idt-ecoff): New target; uses mips-idt.
  4719. Sat Feb 27 00:00:14 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
  4720. * aout-mipsbsd.sc-sh, emulparams/mipsbsd.sh: New files from Ralph
  4721. Campbell, ralphc@pyramid.com.
  4722. * emulparams/i386bsd.sh, config/i386bsd.mt: New files.
  4723. * configure.in, Makefile.in: Added support for mipsbsd and 386bsd.
  4724. Thu Feb 25 15:33:10 1993 Per Bothner (bothner@rtl.cygnus.com)
  4725. * mri.c: Add extern declaration of strdup.
  4726. * ldsym.c (KEEP macro): Add spaces around '=' for the
  4727. sake of old (e.g. PCC) compilers.
  4728. Wed Feb 24 19:49:31 1993 Per Bothner (bothner@rtl.cygnus.com)
  4729. * ldver.c: Bump to version 2.1.
  4730. Fri Feb 12 08:09:11 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4731. * ldgram.y: allow section types without address expressions.
  4732. * ldlang.c (lang_relocate_globals): avoid possible hang with
  4733. undefined but unreferenced symbols.
  4734. * relax.c (relax_section): don't complain if the script file isn't
  4735. relaxable but -relax is set
  4736. Thu Feb 18 17:58:45 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4737. * configure.in: go32 is the 3rd part of the triple, not the 2nd
  4738. Wed Feb 3 09:05:56 1993 Ian Lance Taylor (ian@cygnus.com)
  4739. * emulparams/mipsbig.sh: New file. Big endian MIPS emulation.
  4740. * config/mips-big.mt: New file. Use mipsbig emulation.
  4741. * configure.in (mips-sgi-irix*): Use target mips-big.
  4742. * Makefile.in (ALL_EMULATIONS): Added em_mipsbig.o.
  4743. (em_mipsbig.c): New target. Uses mipsbig.sh.
  4744. Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com)
  4745. * mips.sc-sh: Put .scommon sections into .sbss section.
  4746. * ldmain.c (subfile_wanted_p): Preserve section of common symbols,
  4747. rather than always putting them in bfd_com_section.
  4748. * ldlang.c (lang_common): If a common symbol is not in
  4749. bfd_com_section, put in a section of the same name, rather than
  4750. always putting it in section COMMON.
  4751. Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)
  4752. * ldmain.c (subfile_wanted_p): If we already have a common
  4753. definition of a symbol, don't necessarily pull in an object file
  4754. that provides a non-common definition.
  4755. * ldlex.l (COMMAND): Accept -EB and -EL command line arguments,
  4756. returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS
  4757. linker.
  4758. * ldgram.y (OPTION_EB, OPTION_EL): New tokens.
  4759. (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
  4760. Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
  4761. * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
  4762. the link to it.
  4763. Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
  4764. * ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
  4765. checking for equality to bfd_com_section.
  4766. Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)
  4767. * mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF
  4768. targets, linker script.
  4769. * emulparams/mipslit.sh: New file. Little endian MIPS emulation.
  4770. * config/mips-lit.mt: New file. Use mipslit emulation.
  4771. * configure.in (mips-dec-ultrix*): Use target mips-lit.
  4772. * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o.
  4773. (em_mipslit.c): New target. Uses mipslit.sh.
  4774. Thu Jan 14 15:30:27 1993 Ian Lance Taylor (ian@cygnus.com)
  4775. * Makefile.in (install): Install ld as both $(tooldir)/bin/ld and
  4776. $(tooldir)/bin/gld, so that gcc can find it with or without
  4777. collect2.
  4778. Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  4779. * ldwrite.c: Removed perform_relocation, copy_and_relocate, and
  4780. write_norel. All linking is now done via write_relax. Call
  4781. ldsym_write before calling write_relax.
  4782. * relax.c: Added copyright.
  4783. (write_relax): Renamed from write_relaxnorel. Added relocateable
  4784. argument. seclet_dump renamed to bfd_seclet_link.
  4785. * relax.h: Added copyright.
  4786. Mon Jan 11 15:41:56 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4787. * ldmain.c (decode_library_subfile): Patch from
  4788. hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
  4789. Fri Jan 8 18:04:33 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4790. * config/vxworks960.mt renamed to config/i960.mt
  4791. * configure.in: sparc-aout emulates a sun4, as does
  4792. sparc*-vxworks, i960-nindy uses gld960 emulation
  4793. Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com)
  4794. Fix support for NOLOAD, add INCLUDE
  4795. * ldfile.c (ldfile_open_command_file): pass file name to
  4796. lex_push_file.
  4797. * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD
  4798. * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD
  4799. attribute.
  4800. Thu Jan 7 10:22:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4801. * Makefile.in, config.h: no more default emulation. Make the lack
  4802. of emulation a compile time error
  4803. Wed Jan 6 01:08:37 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4804. * configure.in: recognise all sparclite variants, not just 'sparclite'
  4805. Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com)
  4806. * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: define _end as
  4807. well as end, for consistency with aout.sc-sh.
  4808. * configure.in: accept *-ericsson-ose for any m68k CPU.
  4809. * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag
  4810. for each output section.
  4811. Mon Dec 21 16:06:59 1992 Per Bothner (bothner@rtl.cygnus.com)
  4812. * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use new
  4813. macro bfd_asymbol_bfd as appropriate.
  4814. * Makefile.in: Un-duplicate ldlex.c dependency.
  4815. * configure.in: Replace my_host case table by sourcing
  4816. ../bfd/configure.host. Allow std-host as the default.
  4817. * ldmisc.c: Change logic for C++ name demangling: There is
  4818. no initial '_' to remove from stab-derived function names.
  4819. Sun Dec 13 16:31:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4820. * ldlang.c (lang_init_script_file): don't attach the output file
  4821. sections to the script file.
  4822. Wed Dec 9 08:38:05 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4823. * ldlang.c (wild): run expansion loop over command line bfd too.
  4824. (lang_ini_script_file): initialize more parts of the command line
  4825. bfd.
  4826. * ldlex.l: fix DEFINED start states.
  4827. Mon Dec 7 08:43:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4828. -y support
  4829. * ld.texinfo: new doc.
  4830. * ldgram.y, ldlex.l: understand -y<symbol>
  4831. * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
  4832. print info. (add_ysym): new function.
  4833. * ldsym.h: (ldsym_type): new define SYM_Y.
  4834. Sat Nov 21 03:15:27 1992 John Gilmore (gnu@cygnus.com)
  4835. * ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,
  4836. ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h,
  4837. ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue
  4838. macros with PARAMS. Recreational cleanup. Update copyrights.
  4839. Tue Nov 10 00:23:37 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4840. * Makefile.in: pass down the bfd source directory for includes
  4841. Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
  4842. * ldlang.c (lang_size_sections): don't change size and address for
  4843. SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
  4844. sections.
  4845. Thu Nov 5 11:33:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4846. * relax.c (build_it): re-enable the processing of data_statements
  4847. in scripts, makes counted contructor lists work again.
  4848. Thu Nov 5 05:43:01 1992 John Gilmore (gnu@cygnus.com)
  4849. * ldemul.h: Remove uses of SDEF and PROTO macros (use PARAMS).
  4850. Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
  4851. * scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: don't use
  4852. initial underscores for etext, edata and end.
  4853. Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
  4854. * Support for i386-sysv.
  4855. configure.in: check for i386-*-sysv* and i386-*-sco*.
  4856. i386coff.sc-sh: rewrote to support SVR3 by default.
  4857. ldctor.c (find_constructors): preserve stat_ptr.
  4858. ldlang.c (wild_doit): initialize vma and size of new output
  4859. section to corresponding input section. This is required for
  4860. shared library support.
  4861. (lang_size_sections): don't modify vma and size of sections which
  4862. are never loaded (for shared libraries).
  4863. ldwrite.c (copy_and_relocate): copy the contents of any section
  4864. which has contents, not just sections which are loaded (for shared
  4865. libraries).
  4866. Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4867. * ldlang.c (size_input_section): count the sizes of all sections
  4868. we allocate.
  4869. Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4870. * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to
  4871. to demangle symbols better
  4872. Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
  4873. * ldlang.c (lang_finish): don't warn if -e start symbol does not
  4874. exist when linking with -r.
  4875. Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
  4876. * scripttempl/aout.sc, emulparams/aout.sh,
  4877. scripttempl/m68kcoff.sc, emulparams/m68kcoff.sh: set __bss_start
  4878. to the start of the .bss segment.
  4879. Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4880. * ldmain.c (linear_library): don't even think about processing
  4881. an object file if it's already been done
  4882. Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4883. * configure.in: the hp9000/300 config file is now hp300
  4884. Wed Sep 30 07:34:09 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4885. * config/z8ksim.mt: new file
  4886. Fri Sep 25 13:49:52 1992 Ken Raeburn (raeburn@kyriath.cygnus.com)
  4887. * Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o,
  4888. lexsup.o, mri.o, relax.o): Indicate dependence on ldgram.h.
  4889. * ld.h (strip_symbols_type): Add value STRIP_SOME.
  4890. * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token.
  4891. * ldlang.c (lang_add_keepsyms_file): New function.
  4892. * ldlex.l: Handle "-retain-symbols-file".
  4893. * ldsym.c (keepsyms_file, kept_syms): New vars.
  4894. (process_keepsyms): New functihon; reads file, marks symbols for
  4895. saving.
  4896. (write_file_locals): File symbols should always be kept.
  4897. (ldsym_write): Warn about "-retain-symbols-file" overriding "-S"
  4898. and "-s". Process retain-symbols file before setting symtab.
  4899. * ldsym.h (SYM_KEEP): New flag for ldsym_type flags.
  4900. (keepsyms_file, kept_syms): Declare them.
  4901. * ldmain.c (main): Non-fatal errors should still cause non-zero
  4902. exit status even with -r.
  4903. Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4904. Added initial support for the z8k
  4905. * emultempl/z8ksim.em, z8ksim.sc-sh, emulparams/z8ksim.sh: new
  4906. files.
  4907. * configure.in, Makefile.in: modified to reflect above
  4908. * ldlang.c (lang_check): when linking conflicting architectures,
  4909. make the output file reflect at least one of the bad inputs.
  4910. Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
  4911. * Makefile.in (install): if $(tooldir) exists, install ld in
  4912. $(tooldir)/bin.
  4913. Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4914. * Makefile.in, configure.in: modified to support i386-coff
  4915. * i386coff.sh: new file
  4916. Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com)
  4917. * Makefile.in, emulparams/m68kcoff.sh, scripttempl/m68kcoff.sc,
  4918. emulparmas/m68kcoff.sh, config/m68k-coff.mt: added m68k-coff
  4919. emulation mode, stolen from a29k emulation. Almost certainly
  4920. wrong, but perhaps better than sun3.
  4921. Thu Sep 3 14:19:30 1992 Per Bothner (bothner@rtl.cygnus.com)
  4922. * Makefile.in, Makefile.dos, emultempl/generic.em, genscripts.sh,
  4923. emultempl/gld960.em, emultempl/h8300hms.em,
  4924. emultempl/h8300xray.em, emultempl/lnk960.em, emultempl/st2000.em,
  4925. emultempl/vanilla.em: Rename all (generated) ld__*.c files to
  4926. em_.c. This is one character shorter, and lets people build on
  4927. SVR3 system. (ld__h8300xray.[co] was the killer there;
  4928. h8300xray.sc-sh is also overlong, but seems harmless.)
  4929. Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>.
  4930. * Makefile.in (clean): Fix typo mostclean -> mostlyclean.
  4931. * configure.in: Add host isc.
  4932. * ldver.c: Call it version 2.0.
  4933. Wed Sep 2 00:21:33 1992 Per Bothner (bothner@rtl.cygnus.com)
  4934. * ldver.c: Bump to version 0.98.
  4935. * TODO: New file.
  4936. * Makefile.in: Added mostlyclean, distclean, realclean rules.
  4937. Tue Sep 1 23:42:16 1992 Per Bothner (bothner@rtl.cygnus.com)
  4938. * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
  4939. * ldlex.l: Moved comment() to end, since some compilers
  4940. otherwise have problems with input() used before it is defined.
  4941. Tue Sep 1 17:45:51 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4942. * configure.in: added Solaris 2 and Irix 4 host support.
  4943. Mon Aug 31 19:27:11 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  4944. * Makefile.in: remove -S flag from the FLEX definition
  4945. * configure.in: rewrote, using new style case statement. use
  4946. m68k.mt for m68k-aout systems
  4947. Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com)
  4948. * Makefile.in: map "ld" through program_transform_name when
  4949. installing.
  4950. Sun Aug 30 18:12:13 1992 Per Bothner (bothner@rtl.cygnus.com)
  4951. * cplus-dem.c: Removed. Use the version in libiberty now.
  4952. * ldmisc.c: Use new libiberty version of cplus_demangle().
  4953. Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
  4954. * emultempl/gld960.em (gld960_choose_target): default to little
  4955. endian, not big endian.
  4956. Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4957. * ldlang.c (lang_process): don't pass null pointers when
  4958. abs_output_section is what is required.
  4959. * ldwrite.c (ldwrite): use malloc to allocate the largest space
  4960. used, and pass that down.
  4961. * relax.c, relax.h (write_relaxnorel): use the passed malloc area rather
  4962. than alloca.
  4963. Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com)
  4964. * configure.in, config/ose68.mt: renamed OSE to ose.
  4965. Thu Aug 20 19:55:22 1992 Ken Raeburn (raeburn@cygnus.com)
  4966. * ldsym.c (write_file_locals): Reorder check for common or
  4967. undefined symbols so that it works.
  4968. Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
  4969. * configure.in: accept all m68K family members.
  4970. * Makefile.in: always create installation directories.
  4971. Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4972. * ldlex.l: now parses comment correctly, added ~ to acceptable
  4973. chars in filenames
  4974. * ldexp.c (exp_unop): pass down abs_output_section - now can have
  4975. unary -ve constants.
  4976. * ldlang.c (lang_finish): warn when an entry symbol supplied on
  4977. the command line can't be found.
  4978. Fri Aug 7 12:31:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  4979. * ldlang.h: add new field "loadable" to output_section_statement.
  4980. * ldlang.c (lang_output_section_statement_lookup): initilize new
  4981. field. (wild_doit): if new field is not set, then stop output
  4982. section from being loadable.
  4983. (lang_enter_output_section_statement): set the field from the
  4984. NOLOAD keyword
  4985. * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
  4986. * scripttempl/h8300hms.sc, emulparams/h8300.sh,
  4987. emultempl/h8300hms.em: get -r right.
  4988. Thu Aug 6 18:35:21 1992 Per Bothner (bothner@rtl.cygnus.com)
  4989. * ldint.texinfo: New internals manual (beginnings thereof).
  4990. * PORTING: Removed, merged into ldint.texinfo.
  4991. Tue Aug 4 21:12:29 1992 Per Bothner (bothner@rtl.cygnus.com)
  4992. * testsuite/ld-cdtest/cdtest-main.cc,
  4993. testsuite/ld-cdtest/cdtest-func.cc,
  4994. testsuite/ld-cdtest/cdtest-foo.h,
  4995. testsuite/ld-cdtest/cdtest-foo.cc,
  4996. testsuite/ld-cdtest/cdtest.exp: A test program (copied from
  4997. libg++/test-install) that tests that constructor and destructors
  4998. are handled corrrectly.
  4999. Mon Aug 3 14:58:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  5000. * Makefile.in (install): install from ld.new, renaming during the
  5001. copy, or else the next 'make install' needs to re-link ld.
  5002. Mon Jul 20 03:37:06 1992 D. V. Henkel-Wallace (gumby@cygnus.com)
  5003. * configure.in: generalise hp recognition (from sef).
  5004. Sat Jul 18 14:46:04 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  5005. * configure.in: recognize bsd and hpux hppa configurations.
  5006. error messages echo to stderr, not stdout
  5007. Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  5008. * Makefile.dos, gld.1, ld.texinfo, ldemul.c, ldfile.c, ldlang.c,
  5009. ldmisc.c: removed rcsid's.
  5010. Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5011. * ldlang.c (lang_map): print changes in sizes due to relaxing
  5012. (size_input_section): maintain the delta information.
  5013. * ldlang.h: add new field to struct to contain delta info.
  5014. * relax.c (relax_section): complain if input not relaxable.
  5015. * ldlex.l : add '_', ',' and '$' to chars which can appear at the
  5016. start of a filename
  5017. Mon Jul 13 17:33:00 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5018. * ldmain.c(main): prevent -r and -relax from being on at the same
  5019. time.
  5020. Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5021. * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for
  5022. aliasing problems
  5023. Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5024. * emultempl/h8300hms.em, scripttempl/h8300hms.sc,
  5025. emulparams/h83000.sh: do the right thing for -r
  5026. * ldexp.c: lint
  5027. * ldlang.c(open_output): set the target arch and machine as soon
  5028. as we can. (lang_size_sections): use new macros for setting vma
  5029. * ldwrite.c: lint
  5030. Mon Jun 15 08:47:43 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
  5031. * configure.in (my_target): Accept m680?0 for wrs as vxworks68.
  5032. Also deleted an unreachable path to wrs.
  5033. Wed May 27 23:24:19 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
  5034. * Makefile.in (install): use -d test for $tooldir before
  5035. installing ld there so that $tooldir can be inherited from
  5036. top-level Makefile.
  5037. Wed May 27 16:56:48 1992 Per Bothner (bothner@rtl.cygnus.com)
  5038. * ldlang.c: Two non-substantial changes for the sake of
  5039. the old Portable C Compiler.
  5040. Wed May 27 15:15:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5041. * ldgram.y, ldlex.l: parse ABSOLUTE
  5042. * ldexp.c: add support for ABSOLUTE
  5043. Wed May 27 13:07:20 1992 Per Bothner (bothner@rtl.cygnus.com)
  5044. * Makefile.in: Added default definitions for HOSTING_CRT0,
  5045. HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
  5046. * config/*.mh: Miscellaneous clean-up: Removed definitions
  5047. of YACC (since it is not longer used in the Makefile).
  5048. Remove HOSTING_* definitions that are subsumed by the
  5049. ones added to Makefile.in. Removed most definitions of CC.
  5050. * config/{sparc,news,hp300bsd,decstation}.mh: Removed;
  5051. These are no longer needed.
  5052. Fri May 22 13:47:19 1992 Per Bothner (bothner@cygnus.com)
  5053. * Makefile.in: Use srcdir instead of VPATH in ldgram/ldlex
  5054. rules, since these are used when building a distribution.
  5055. * Makefile.in (ldlex.c): Don't re-direct output, since that
  5056. leaves a bogus output files if it fails.
  5057. * config/sparc.mh: Fix HOSTING_LIBS so it has a chance of working.
  5058. * ldlex.c: Fix some unnecessary flex-specific-isms.
  5059. Fri May 8 11:49:43 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5060. * ldgram.y: move spurious semicolon
  5061. * ldexp.h: fix prototype
  5062. Thu May 7 17:01:12 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
  5063. * ld.texinfo: references to linker now say "ld" not "gld".
  5064. Wed May 6 13:26:19 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5065. changed calling convention for Q_enter_global_ref
  5066. * ldexp.c, ldlang.c, ldmain.c: reflect this
  5067. * ldver.c: bump version to 1.97.1
  5068. * ldindr.c (add_indirect): when an edict declaring an indirect
  5069. symbol is found, make sure that any ideas about the symbol being
  5070. common are changed if it now known to be defined.
  5071. * ldmain.c (linear_library): complain once if archive isn't
  5072. ranlibbed.
  5073. * ldlang.h, ldlang.c: make room for and initialize the complain
  5074. once field.
  5075. Wed May 6 11:07:35 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  5076. * Makefile.in: use flex & bison from ../ if they exist.
  5077. Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5078. * relax.c (build_it): don't allocate space in the output file for
  5079. stuff if -R flag applys to it.
  5080. * ldfile.c: merge in VMS filename support
  5081. * ldmain.c (main): take out ./ from library path, and close file
  5082. before unlinking. Make multiple defs of a symbol create an
  5083. unexecable file.
  5084. * ldmisc.c: fatal errosrs delete output file
  5085. Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com)
  5086. * ldver.c: Increase version number to 1.97, for consistency
  5087. with ../binutils.
  5088. Tue May 5 12:12:24 1992 K. Richard Pixley (rich@cygnus.com)
  5089. * Makefile.in: FLEX -> LEX.
  5090. * ld.texinfo: {} -> @{@}.
  5091. Mon May 4 17:52:41 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
  5092. * ld.texinfo: describe alternate, MRI-compatible linker scripts
  5093. (and associated change in -c option, now used for these scripts)
  5094. Mon May 4 16:10:10 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5095. * ldver.c: Bumped version to 1.96 - new release, resync with the
  5096. bfd too #.
  5097. * ldexp.c, ldlang.c: now build memory shape tree in obstacks
  5098. rather than with raw malloc, makes it easier to track where memory
  5099. is going.
  5100. * ldsym.h, ldsym.c: create obstack for all global symbols too.
  5101. * ldwrite.c (ldwrite): moved malloc so only used when needed.
  5102. * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
  5103. Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com)
  5104. * config/sparc.mh: use ../gcc/libgcc.a on check if it exists.
  5105. * Makefile.in: use bootstrap for check.
  5106. Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5107. * ldgram.y, ldlex.c, mri.c: added more compatible words; BASE, ALIAS and
  5108. PUBLIC.
  5109. * Makefile.in: now use flex, not lex
  5110. * ldlex.l, ldlang.c, ldctor.c: lint
  5111. Wed Apr 22 12:48:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5112. * ldlex.l: added CMDFILENAMECHAR state so that you can lex
  5113. different sorts of filenames on the command line than in a script.
  5114. Mon Apr 20 22:37:04 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  5115. * Makefile.in: rework CFLAGS so that they can be passed on the
  5116. make command line. Remove MINUS_G. Default CFLAGS to -g.
  5117. Fri Apr 17 08:57:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5118. * relax.c: added handling for new "padding" seclet type, used to
  5119. fill out gaps between section.
  5120. * ldgram.y, ldlex.l: now -defsym on the command line is done
  5121. properly.
  5122. Wed Apr 15 21:20:07 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  5123. * Makefile.in: the tooldir copy of ld goes directly in tooldir.
  5124. Wed Apr 15 16:09:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5125. * mri.c, ldgram.y, ldlex.l: added support for minimal strange link
  5126. scripts.
  5127. Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM)
  5128. * Makefile.in (install): Install second copy in $(tooldir)/bin
  5129. without $(program_prefix), since that's what gcc expects.
  5130. Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5131. * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer.
  5132. * h8300*: fix bit rot and add support for h8300xray target
  5133. * emulparams/go32.sh: target emulation for go32.
  5134. Mon Mar 16 14:53:29 1992 Steve Chamberlain (sac@rtl.cygnus.com)
  5135. * emultempl/gld960.em, scripttempl/i960.sc,
  5136. emulparamns/i960.sh. Fix i960 bit rot
  5137. Fri Mar 13 19:47:22 1992 K. Richard Pixley (rich@cygnus.com)
  5138. * Makefile.in: install man page.
  5139. Fri Mar 13 08:23:59 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5140. * config/mt-<foo> renamed to <foo>.mt
  5141. * config/mh-<foo> renamed to <foo>.mt
  5142. * configure.in changed to reflect this
  5143. * genscripts.sh now make .xbn files rather than .xN files
  5144. Sat Mar 7 03:40:40 1992 K. Richard Pixley (rich@cygnus.com)
  5145. * ldver.h: fix decl of ldversion.
  5146. Fri Mar 6 22:00:35 1992 K. Richard Pixley (rich@cygnus.com)
  5147. * Makefile.in: added check target.
  5148. Fri Mar 6 06:59:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5149. * ldmain.c (Q_enter_file_symbols): now aliases work again
  5150. Thu Mar 5 21:39:29 1992 K. Richard Pixley (rich@cygnus.com)
  5151. * Makefile.in: added clean-info target.
  5152. Thu Mar 5 16:55:56 1992 Steve Chamberlain (sac@thepub.cygnus.com)
  5153. * ldexp.c (exp_print_tree): don't try and follow null pointers
  5154. around.
  5155. * ldgram.y: remove 11 shift reduce errors
  5156. Tue Mar 3 15:46:39 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  5157. * Makefile.in: added tooldir and program_prefix.
  5158. Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com)
  5159. * ldlang.c (size_input_section): don't move absolute sections
  5160. around!
  5161. Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com)
  5162. * cplus-dem.c: yet another copy of this - maybe it should go into
  5163. libiberty ?
  5164. * ldgram.y: now -V and -v have different actions
  5165. * ldver.c: if -V, prints list of emulations compiled in
  5166. * ldmisc.c: support for cplus demangling
  5167. Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
  5168. * Makefile.in, configure.in: removed traces of namesubdir,
  5169. -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
  5170. copyrights to '92, changed some from Cygnus to FSF.
  5171. Thu Feb 20 17:43:46 1992 Per Bothner (bothner at cygnus.com)
  5172. * Makefile.in: Change mkscript rule into one for ./mkscript
  5173. (for the sake of makes that don't realize they're the same).
  5174. * PORTING: Add more details.
  5175. * genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
  5176. Mon Feb 17 12:04:36 1992 Per Bothner (bothner at cygnus.com)
  5177. * Makefile.in, and new files hp300bsd.sh, config/mh-hp300bsd,
  5178. config/mt-hp300bsd: New port to hp300 running BSD.
  5179. Sat Feb 15 13:59:54 1992 Per Bothner (bothner at cygnus.com)
  5180. Major rewrite of how ld is configured. The major idea
  5181. is to use shell scripts to generate everything.
  5182. * generic.em replaces ldtemplate.
  5183. * Other *.em files replace various *.c files.
  5184. A *.em file is a shell script that generates the corresponding
  5185. ld__*.c file that implements an emulation. This is usually
  5186. a straight 'cat' of a here-document, possibly with substitutions.
  5187. * Script files (*.sc) are places by *.sc-sh scripts.
  5188. Again, these are simple shell scripts that 'cat'
  5189. here-documents, usually with some substitutions.
  5190. The output a *.sc-sh is a script file.
  5191. * Each emulation is defined by a short shell script with
  5192. extension *.sh that specifies the emulation-specific
  5193. parameters (such as the name of the *.sh-sc and *.em
  5194. files to use).
  5195. * genscript.sh is the master shell script used to generate
  5196. an emulation. It is passed various argument, including
  5197. the name a the emulation-speciic *.sh file that it
  5198. "sources" to set variables to emulation-specifc parameters.
  5199. * config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
  5200. to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
  5201. * config/mh-foo: Rename LDEMULATION names as appropriate
  5202. (usually 'gldfoo' -> plain 'foo').
  5203. * ldwrite.c: Fixed a typo in a comment.
  5204. * Makefile.in: Major changes. Removed some the sed
  5205. magic to converts scripts, since that is now handled
  5206. by genscripts.sh and the *.sc-sh scipt generators.
  5207. * config.h: Remove a bunch of macros defining emulations
  5208. and targets. This becomes one less file to edit when
  5209. adding emulations or targets.
  5210. * ldemul.h (struct ld_emulation_xfer_struct): Add
  5211. emulation_name and target_name fields.
  5212. * ldemul.c, ldemul.h: Define some default functions used
  5213. by most emulations (and remove from the *.em scripts).
  5214. * ldemul.c (ldemul_choose_target): Search the new
  5215. ld_emulations array using a loop (instead of a hardwired
  5216. nested if statement).
  5217. Define the ld_emulation from the automatically-geenrated
  5218. ldemul-list.h. This means you no longer have to edit ldemul.c
  5219. to add a new emulation.
  5220. * ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
  5221. their expansions, since the former no longer exist.
  5222. * PORTING: A very rough first draft of a porting guide.
  5223. * ldgram.y, ldlex.l, lexsup.c: Changes to allow an assignment
  5224. to be terminated by a new-line (instead of requiring a semicolon).
  5225. Mon Feb 10 16:21:02 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5226. * ldexp.c, ldlang.c: added new idea "abs_output_section", removes
  5227. tests for NULL pointers all over the place.
  5228. * ldlang.c (lang_process): remember to relocate global symbols
  5229. *after* relaxing has done it stuff.
  5230. Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5231. * config/mt-coff-h8300: use EMUL like everything else
  5232. * ldlang.c: (print_padding_statement): print the right address.
  5233. * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms
  5234. Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5235. * ldlex.l: Put pack -noinhibit-exec and -sort-common
  5236. * ldlang.c (print_data_statement): print the right address.
  5237. Thu Jan 30 17:51:53 1992 Per Bothner (bothner at cygnus.com)
  5238. * Makefile.in: The rule for testing ld by re-linking itself
  5239. via an intermediate -r link was moved to the ld1 rule
  5240. instead of the ld2 rule. This allows ld2 and ld3 to be identical,
  5241. which allows the bootstrap rule to work.
  5242. * ldctor.c (find_constructors): Don't create a constructor
  5243. list if it is already defined (as would happen if ld is
  5244. invoked by collect).
  5245. Wed Jan 29 08:35:39 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5246. * config/mh-sparc.h: now uses libgcc.a
  5247. * ldmain.c: quit using exit
  5248. * *sc: use *(COMMON) rather than [COMMON]
  5249. * ldlex.l, lexsup.c: much thinking moved from .l and put into .c,
  5250. to allow preprocessing of .l file.
  5251. * Makefile.in: New ldlex.l mangling
  5252. * ldexp.c (fold_binary): perform expressions with % and / in
  5253. integer.
  5254. * ldfile.c (open_a): open archives on VMS in a special way
  5255. Tue Jan 28 10:18:16 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5256. * ldgram.y: map -M behave in the same way as -Map (sets file name
  5257. to be "-".
  5258. * ldsym.c, ldlang.c: remember that size of a section is dependent on
  5259. whether or not relaxing has been done.
  5260. * ldmain.c: don't open a map file if it doesn't have a name
  5261. * relax.c: all the brains have moved into bfd.
  5262. * ldwrite.c: ammend comment
  5263. Fri Jan 24 14:23:46 1992 Steve Chamberlain (sac at rtl.cygnus.com)
  5264. * Makefile.in: added relax, also made three stage go through a
  5265. partial link stage.
  5266. * relax.c : added
  5267. * config.h: if GNU960 defined, then default emulation mode is
  5268. GLD960
  5269. * ldexp.h, ldexp.c: map to file hooks
  5270. * ldlang.c: map to file hooks
  5271. * ldgram.y: added -Map -relax
  5272. * ldlex.l: added -relax, -Map
  5273. * ldmain.c: open map file
  5274. * ldmisc.c: support for map file
  5275. * ldwrite.c: new relax magic
  5276. Thu Dec 19 18:49:51 1991 John Gilmore (gnu at cygnus.com)
  5277. * Makefile.in, config/tm-*.h: Clean up make output, only
  5278. pass DEFAULT_EMULATION to ldmain.c.
  5279. Wed Dec 18 15:02:47 1991 Per Bothner (bothner at cygnus.com)
  5280. * ldver.c: Bump to version 1.94.
  5281. Tue Dec 10 04:07:23 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  5282. * Makefile.in: infodir belongs in datadir.
  5283. Mon Dec 9 16:26:43 1991 Per Bothner (bothner at cygnus.com)
  5284. * Makefile.in: Pass -y to bison. (Again;
  5285. accidentally deleted by Rich.)
  5286. * scripttempl/news.sc, scripttempl/ldgld68k.sc: Define __end as
  5287. well as _end.
  5288. Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com)
  5289. * ldindr.h: added to contain prototypes of ldindr.c
  5290. * ldfile.c: include ctype.h
  5291. * ldmain.c: include the requried prototype headers
  5292. * ldwrite.c: get_reloc_upper_bound has been renamed
  5293. bfd_get_reloc_upper_bound
  5294. Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  5295. * Makefile.in: punt "fundamental" mode because it breaks my emacs
  5296. macros. install using INSTALL_PROGRAM and INSTALL_DATA. remove
  5297. spaces following hyphens, bsd make can't cope. added
  5298. standards.text support and made it look like all the other
  5299. makefiles.
  5300. * configure.in: configure now runs entirely in objdir so make file
  5301. existence checks against ${srcdir}. Mark this directory as
  5302. target dependent.
  5303. Thu Dec 5 22:46:16 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  5304. * Makefile.in: idestdir and ddestdir go away. Added copyrights
  5305. and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
  5306. and mandir now keyed off datadir by default.
  5307. Wed Dec 4 23:36:55 1991 Per Bothner (bothner at cygnus.com)
  5308. * ldver.c: Bumped version to 1.93.
  5309. * Makefile.in: Pass -y to bison.
  5310. Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
  5311. * config.h: h8 is now coff, not ieee
  5312. * h8300hds.sc: reflect the same
  5313. Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com)
  5314. * ldver.c (ldversion()): Update to 1.92.
  5315. * ldctor.c: There are two places constructor sets
  5316. can be defined. One of them checked for an existing
  5317. duplicate, the other didn't. Unfortunately, the latter
  5318. was called after the former ...
  5319. So, factor out code for inserting a new element into
  5320. constructor_name_list (after checking for a duplicate)
  5321. into a new function add_constructor_name, and call
  5322. it from both aforementioned places (ldlang_add_constructor
  5323. and ldlang_check_for_constructors).
  5324. Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com)
  5325. * Makefile.in: Rename .c files generated from ldtemplate
  5326. to have names starting with ld__. This helps 'make clean'.
  5327. Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com)
  5328. * Makefile.in: Take out the version number for install
  5329. * scripttempl/m88kbcs.sc: put in contructor blocks.
  5330. Mon Nov 11 18:47:33 1991 Per Bothner (bothner at cygnus.com)
  5331. * ldmisc.c, ldmisc.h: Re-write info() to take a filename
  5332. parameter, a format, and an arg pointer, and rename it to
  5333. vfinfo(). Write info() in terms of new vfinfo().
  5334. New einfo() is the same as info(), except it writes to stderr.
  5335. * ldemul.c, ldexp.c, ldlang.c, ldlnk960.c, ldmain.c, ldwrite.c,
  5336. ldmisc.c: Replace "error" calls to info() by new einfo().
  5337. Mon Nov 11 09:57:32 1991 Steve Chamberlain (steve at cygnus.com)
  5338. * ldlex.l ldgram.y: made -V option do same as -v
  5339. * Makefile.in: Added $(MINUS_G) flag so debugging can be
  5340. turned off
  5341. Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
  5342. i386 aout changes from Bob Kukura
  5343. * Makefile.in, config.h: added i386aout support
  5344. * configure.in: fixed /h-{myhost} typo
  5345. * ldgram.y: -MM now gives more boring map.
  5346. * ldlang.c: now does D_PAGED flag the right way.
  5347. * ldsym.c: -MM flags does the right thing.
  5348. Sun Nov 3 15:00:03 1991 Per Bothner (bothner at cygnus.com)
  5349. * configure.in: Fixed typo. Also, a fix for hp300bsd.
  5350. * ldlang.c (init_os): Compensate for BFD change,
  5351. where bfd_make_section now returns NULL for a duplicate
  5352. section request, instead of the old section.
  5353. Thu Oct 17 15:27:13 1991 Per Bothner (bothner at cygnus.com)
  5354. * ldver.c: Bump to version 1.91 (consistent with binutils).
  5355. Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com)
  5356. * Makefile.in, config.h, ld.h, ldemul.c, ldexp.c, ldexp.h,
  5357. ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h,
  5358. ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h,
  5359. ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c:
  5360. Add or update copyright notices.
  5361. Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com)
  5362. * README: New file.
  5363. * Makefile.in: Changed installation directory name scheme
  5364. to be consistent with gcc. Also changed 'install'.
  5365. Mon Oct 14 17:30:02 1991 Roland H. Pesch (pesch at cygnus.com)
  5366. * Makefile.in: new targets ld.mm, ld.me
  5367. Mon Oct 14 17:27:24 1991 Per Bothner (bothner at cygnus.com)
  5368. * Makefile.in, ldtemplate: Need to use separate scripts
  5369. for -n and -N options. Yet more complication.
  5370. Fri Oct 11 22:40:46 1991 John Gilmore (gnu at cygnus.com)
  5371. * Makefile.in: Avoid using $< in explicit Make rules (it doesn't
  5372. work). Add some lines to avoid Sun Make VPATH bugs.
  5373. Fri Oct 11 16:42:22 1991 Per Bothner (bothner at cygnus.com)
  5374. * scripttempl/news.sc: Add alignment for data segment.
  5375. * ldtemplate: Add (yet another) script to get for -n or -N
  5376. options. (These need different alignment than ZMAGIC files.)
  5377. * Makefile.in: Add stuff for new foo.xn scripts.
  5378. These are generated by replacing "ALIGN(0x...00)" by ".".
  5379. Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com)
  5380. * Makefile.in: new targets ld.ms, ld-index.ms
  5381. ld.texinfo: remove tabs, other cleanups for texi2roff
  5382. Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com)
  5383. * ldmain.c (main): Make config.magic_demand_paged be true
  5384. by default. Don't set the WP_TEXT and D_PAGED flags of
  5385. output_bfd here; it's too late, so set it when output_bfd
  5386. is created (in ldlang.c). Also fix setting of EXEC_P flag
  5387. * ldlang.c (ldlang_open_output): Set output_bfd->flags here.
  5388. * ldlang.c: Remove some duplicate extern declarations.
  5389. * ldgram.y: Fixes to -N and -n options.
  5390. * Makefile.in: Recognize upper case letters in sed script
  5391. to remove assignments from script files.
  5392. * ldtemplate: Don't assukme that -N or -n options
  5393. imply use of -r script.
  5394. * mkscript.c: Tweaking to correctly handle \n and \\ in input.
  5395. Fri Oct 11 10:29:27 1991 Steve Chamberlain (steve at cygnus.com)
  5396. * ldtemplate: include bfd.h before sysdep.h.
  5397. Fri Oct 11 04:24:45 1991 John Gilmore (gnu at cygnus.com)
  5398. Restructure configuration scheme for bfd, binutils, ld.
  5399. * configure.in: Revise to symlink sysdep.h to ../bfd/hosts/h-xxx.h.
  5400. Change some config names to match other dirs.
  5401. * *.c: Include bfd.h before sysdep.h, so ansidecl and PROTO()
  5402. get defined first.
  5403. * config/: Rename some config files to match up h-*.h names.
  5404. Remove all the HOST_SYS definitions from the config files.
  5405. Tue Oct 8 16:00:57 1991 Per Bothner (bothner at cygnus.com)
  5406. * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
  5407. * ldtemplate: Remove ldfile_add_library_path calls;
  5408. just use the SEARCH_DIR commands in the script files.
  5409. * Makefile.in: Add LIB_PATH macro, which if set is used to replace
  5410. the SEARCH_DIR commands in the scripts (using ugly sed magic).
  5411. This is primarily intended for cross-linking, where you would
  5412. place libraries in a different place than native libraries.
  5413. Also, emulations made from ldtemplate now use $(srcdir).
  5414. * scripttempl/ldglda29k.sc: Change SEARCH_DIR commands to a
  5415. conventional form; people can use the Makefile's LIB_PATH to
  5416. override.
  5417. Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com)
  5418. * Makefile.in: fix target ld.dvi, add target ld.info
  5419. ld.texinfo: make info filename ld.info
  5420. Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com)
  5421. * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun
  5422. Make).
  5423. * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a
  5424. few BFD types & enums.
  5425. Copyright (C) 1991-1997 Free Software Foundation, Inc.
  5426. Copying and distribution of this file, with or without modification,
  5427. are permitted in any medium without royalty provided the copyright
  5428. notice and this notice are preserved.
  5429. Local Variables:
  5430. mode: change-log
  5431. left-margin: 8
  5432. fill-column: 74
  5433. version-control: never
  5434. End: