ChangeLog-0203 267 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517
  1. 2003-12-29 Paul Brook <paul@codesourcery.com>
  2. * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.
  3. * gas/doc/c-arm.texi: Document them.
  4. 2003-23-12 Paul Brook <paul@codesourcery.com>
  5. * config/tc-arm.c (arm_archs): Add armv6.
  6. * doc/c-arm.texi: Document -march=armv6.
  7. 2003-12-20 Nick Clifton <nickc@redhat.com>
  8. * config/tc-ppc.c (md_apply_fix3): Handle the case where a
  9. .byte directive generates a pc-relative relocation.
  10. 2003-12-19 Nick Clifton <nickc@redhat.com>
  11. Andreas Schwab <schwab@suse.de>
  12. * messages.c (as_perror): Save errno around library calls.
  13. * input-file.c [BFD_ASSEMBLER]: Set the BFD error to
  14. bfd_error_system_call before each call to as_perror.
  15. (input_file_open): Simplify the error reporting code to just use
  16. as_perror().
  17. * output-file.c (output_file_create) [BFD_ASSEMBLER]: Set the BFD
  18. error to bfd_error_system_call before calling as_perror.
  19. (output_file_close) [BFD_ASSEMBLER]: Likewise.
  20. (output_file_append) [BFD_ASSEMBLER]: Likewise.
  21. * listing.c (listing_print) [BFD_ASSEMBLER]: Likewise.
  22. 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  23. Add m32r-linux and PIC support. Add new ABI that uses RELA.
  24. * configure.in: Add m32r-linux targets.
  25. * configure: Regenerate.
  26. * config/tc-m32r.c (md_parse_option): Add -KPIC option.
  27. (tc_gen_reloc): Added.
  28. (debug_sym, md_estimate_size_before_relax, md_convert_frag,
  29. md_pcrel_from_section, m32r_fix_adjustable): Changed for PIC.
  30. * config/tc-m32r.h (tc_gen_reloc, EXTERN_FORCE_RELOC): Undefined.
  31. (TC_HANDLES_FX_DONE, TC_FIX_ADJUSTABLE, TC_RELOC_RTSYM_LOC_FIXUP):
  32. Defined.
  33. * doc/c-m32r.texi: Document -KPIC option.
  34. * NEWS: Mention the support m32r Linux and PIC.
  35. 2003-12-18 Nick Clifton <nickc@redhat.com>
  36. * input-file.c (input_file_open): Remove call to stat().
  37. Add a check for getc() failing, and catch the case where the
  38. failure is due to an attempt to read a directory.
  39. 2003-12-18 Richard Sandiford <rsandifo@redhat.com>
  40. * config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
  41. (md_apply_fix3): Remove bfd_install_relocation workarounds.
  42. (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
  43. and treat fx_addnumber as relative to the relocation address.
  44. 2003-12-18 Richard Sandiford <rsandifo@redhat.com>
  45. * config/tc-mips.c (s_change_section): When parsing the MIPS-specific
  46. .section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
  47. 2003-12-17 Mark Mitchell <mark@codesourcery.com>
  48. * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
  49. * doc/c-arm.texi (ARM Options): Likewise.
  50. 2003-12-17 Nick Clifton <nickc@redhat.com>
  51. * config/tc-m32r.c (error_explicit_parallel_conflicts): Rename
  52. to 'ignore_parallel_conflicts'.
  53. (md_longopts): Change option names as well.
  54. (md_parse_option): Separate the warn_explicit and ignore
  55. parallel conflicts options.
  56. (md_show_usage): Update descriptions of these options.
  57. (first_writes_to_seconds_operands): Do not run this check if
  58. ignoring parallel conflicts.
  59. (assemble_two_insns): Remove code that checked
  60. error_explicit_parallel_conflicts.
  61. * doc/c-m32r.texi: Update descriptions of the options.
  62. 2003-12-16 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
  63. * tc-arm.c (do_adr): Do not adjust pc by -8 if TE_WINCE is
  64. defined.
  65. (do_adrl): Likewise.
  66. 2003-12-15 Christian Groessler <chris@groessler.org>
  67. * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
  68. (ctrl_table): Add "flags" keyword and some comments.
  69. (flag_table): Convert to uppercase.
  70. (get_flags_operand): Be case insensitive.
  71. (get_interrupt_operand): Be case insensitive. Support notation
  72. where the inperrupt arguments are separated by commas.
  73. (get_operands): Check whether get_flags_operand consumed all
  74. arguments. Return failure if get_ctrl_operand didn't recognize a
  75. valid control register.
  76. (get_specific): Add case CLASS_CTRL: Test for valid control
  77. register for ldctlb opcode.
  78. (build_bytes): Check for valid control registers.
  79. 2003-12-15 Nick Clifton <nickc@redhat.com>
  80. * config/obj-aout.c (obj_crawl_symbol_chain): Skip defined
  81. symbols which resolve to symbolic values.
  82. 2003-12-13 Alan Modra <amodra@bigpond.net.au>
  83. * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
  84. casts. Formatting.
  85. * config/obj-elf.h: Remove PARAMS.
  86. * read.c (s_lcomm_internal): Make global.
  87. * read.h (s_lcomm_internal): Declare.
  88. * config/obj-elf.c (elf_pseudo_table): Handle lcomm.
  89. (obj_elf_lcomm): New function.
  90. 2003-12-13 Alan Modra <amodra@bigpond.net.au>
  91. * read.c: Remove unneeded prototypes.
  92. (s_comm): Split out code to..
  93. (s_comm_internal): ..here. Tidy error returns. Rearrange so that
  94. "name" from input line may be used in more places. Merge code
  95. testing for valid size from elf_common. Merge code from
  96. s_lcomm_internal. Call comm_parse_extra.
  97. (bss_alloc): New function, split out of s_lcomm_internal and
  98. elf_common.
  99. (parse_align): Likewise.
  100. (s_lcomm_internal): Rewrite.
  101. (s_lcomm, s_lcomm_bytes): Use s_comm_internal.
  102. * read.h (bss_alloc, parse_align, s_comm_internal): Declare.
  103. * config/obj-elf.c (elf_common): Split out code to..
  104. (elf_common_parse): ..here. Remove code common to s_comm_internal,
  105. parse_align and bss_alloc. Rearrange and Tidy.
  106. * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
  107. 2003-12-10 Zack Weinberg <zack@codesourcery.com>
  108. * tc-ppc.c (md_assemble): Rewrite comment about optional operands
  109. to indicate that 'all or none' is also handled. Pluralize a
  110. word in another comment.
  111. 2003-12-10 Paul Brook <paul@codesourcery.com>
  112. * config/tc-arm.c (FPU_MAVERICK): Define.
  113. (FPU_ARCH_MAVERICK): Define.
  114. (arm_float_abi): Define.
  115. (mfloat_abi_opt): New variable.
  116. (md_begin): Use them.
  117. (arm_opts): Add msoft-float and mhard-float.
  118. (arm_cpus): Use FPU_ARCH_MAVERICK.
  119. (arm_fpus): Add maverick.
  120. (arm_float_abis): Add.
  121. (arm_parse_float_abi): New function.
  122. (arm_long_options): Add mfloat-abi.
  123. * doc/as.texinfo: Document -mfloat-abi=.
  124. * doc/c-arm.text: Ditto. Menution -fpu=maverick.
  125. 2003-12-09 Paul Brook <paul@codesourcery.com>
  126. * config/tc-arm.c (do_umaal): Fix typo.
  127. 2003-12-06 Kazu Hirata <kazu@cs.umass.edu>
  128. * dwarf2dbg.c: Convert to ISO-C.
  129. * write.c: Likewise.
  130. * write.h: Likewise.
  131. 2003-12-06 Richard Sandiford <rsandifo@redhat.com>
  132. * config/tc-mips.c (macro): Switch misordered call to frag_grow()
  133. and setting of tc_fr_offset.
  134. 2003-12-05 Ricardo Anguiano <anguiano@codesourcery.com>
  135. Mark Mitchell <mark@codesourcery.com>
  136. Richard Earnshaw <rearnsha@arm.com>
  137. Add V6 support.
  138. * config/tc-arm.c (ARM_EXT_V6): New macro.
  139. (ARM_ARCH_V6): Likewise.
  140. (SHIFT_IMMEDIATE): Likewise.
  141. (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
  142. (SHIFT_ASR_IMMEDIATE): Likewise.
  143. (SHIFT_LSL_IMMMEDIATE): Likewise.
  144. (do_cps): New function.
  145. (do_cpsi): Likewise.
  146. (do_ldrex): Likewise.
  147. (do_pkhbt): Likewise.
  148. (do_pkhtb): Likewise.
  149. (do_qadd16): Likewise.
  150. (do_rev): Likewise.
  151. (do_rfe): Likewise.
  152. (do_sxtah): Likewise.
  153. (do_sxth): Likewise.
  154. (do_setend): Likewise.
  155. (do_smlad): Likewise.
  156. (do_smlald): Likewise.
  157. (do_smmul): Likewise.
  158. (do_ssat): Likewise.
  159. (do_usat): Likewise.
  160. (do_srs): Likewise.
  161. (do_ssat16): Likewise.
  162. (do_usat16): Likewise.
  163. (do_strex): Likewise.
  164. (do_umaal): Likewise.
  165. (do_cps_mode): Likewise.
  166. (do_cps_flags): Likewise.
  167. (do_endian_specifier): Likewise.
  168. (do_pkh_core): Likewise.
  169. (do_sat): Likewise.
  170. (do_sat16): Likewise.
  171. (insns): Add V6 instructions.
  172. (do_t_cps): New function.
  173. (do_t_cpy): Likewise.
  174. (do_t_setend): Likewise.
  175. (THUMB_CPY): New macro.
  176. (tinsns): Add V6 instructions.
  177. (decode_shift): Handle V6 restricted-shift options.
  178. (thumb_mov_compare): Support CPY.
  179. (arm_cores): Add arm1136js and arm1136jfs.
  180. (arm_archs): Add armv6.
  181. (arm_fpus): Add arm1136jfs.
  182. * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
  183. armv6 options.
  184. 2003-12-06 Christian Groessler <chris@groessler.org>
  185. * config/tc-z8k.c (parse_reg): Be case insensitive when checking
  186. register names.
  187. (get_ctrl_operand): Be case insensitive when checking ctrl names.
  188. 2003-12-05 Nick Clifton <nickc@redhat.com>
  189. * config/tc-sh.c (md_show_usage): Fix compilation errors
  190. introduced by the previous delta.
  191. 2003-12-03 Alexandre Oliva <aoliva@redhat.com>
  192. * config/tc-sh.c: Add support for sh4a and no-fpu variants.
  193. 2003-12-05 Michael Snyder <msnyder@redhat.com>
  194. * config/tc-sh.c (md_show_usage): Mention new -isa options.
  195. * doc/c-sh.texi: Document new -isa options.
  196. * doc/c-sh64.texi: Ditto.
  197. * NEWS: Mention new support for sh4a.
  198. 2003-12-03 H.J. Lu <hongjiu.lu@intel.com>
  199. * config/tc-alpha.c (s_alpha_end): Don't crash if there is no
  200. matching .ent.
  201. 2003-12-04 Alan Modra <amodra@bigpond.net.au>
  202. * tc.h (md_pcrel_from): Don't declare if defined as a macro.
  203. 2003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  204. * config/tc-m32r.h : Add support for new machine m32r2.
  205. * config/tc-m32r.c : Likewise.
  206. Add new command line switches and directives to allow endian-ness
  207. to be selected and some warnings to be turned into errors.
  208. (line_separator_chars) : Use '!'.
  209. * doc/c-m32r.texi: Document new switches and directives.
  210. * NEWS: Mention new support.
  211. 2003-12-03 Dave Airlie <airlied@linux.ie>
  212. * configure.in: Likewise.
  213. * configure: Regenerate.
  214. * config/tc-vax.c (md_shortopts): Add 'Q'.
  215. (md_parse_option): Ignore 'Q' for now.
  216. 2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
  217. * messages.c: Convert to ISO-C.
  218. * obj.h: Likewise.
  219. * output-file.c: Likewise.
  220. * output-file.h: Likewise.
  221. * sb.c: Likewise.
  222. * sb.h: Likewise.
  223. * stabs.c: Likewise.
  224. * subsegs.c: Likewise.
  225. * subsegs.h: Likewise.
  226. * tc.h: Likewise.
  227. 2003-12-02 Kazu Hirata <kazu@cs.umass.edu>
  228. * config/obj-elf.c: Remove ARGSUSED.
  229. 2003-12-02 Alan Modra <amodra@bigpond.net.au>
  230. * Makefile.am: Run "make dep-am".
  231. * Makefile.in: Regenerate.
  232. 2003-11-30 Kazu Hirata <kazu@cs.umass.edu>
  233. * symbols.c: Convert to ISO-C.
  234. * symbols.h: Likewise.
  235. 2003-11-28 Christian Groessler <chris@groessler.org>
  236. * config/tc-z8k.c: Convert to ISO-C.
  237. * config/tc-z8k.h: Likewise.
  238. 2003-11-27 Kazu Hirata <kazu@cs.umass.edu>
  239. * read.c: Convert to ISO-C.
  240. * read.h: Likewise.
  241. 2003-11-27 Nick Clifton <nickc@redhat.com>
  242. * config/tc-sh.c (sh_elf_cons): If md_cons_align is defined
  243. call it to make sure that the constants that are going to be
  244. emitted are correctly aligned.
  245. 2003-11-27 Alexandre Oliva <aoliva@redhat.com>
  246. * config/tc-frv.c (md_pcrel_from_section): Don't adjust when
  247. referencing symbol in a different section.
  248. 2003-11-26 Christian Groessler <chris@groessler.org>
  249. * config/tc-z8k.c (s_segm): Fix indentation.
  250. (md_apply_fix3): Likewise.
  251. (cc_names): Add alias names for the names generated by the
  252. disassembler.
  253. (get_cc_operand): Be case insensitive.
  254. (get_operands): Improve error handling for cc operands.
  255. (check_operand): Not used, remove.
  256. (md_assemble): Remove unused variable prev_opcode. Skip
  257. whitespace until end-of-line only. Restore *op_end after call to
  258. hash_find.
  259. 2003-11-26 Nick Clifton <nickc@redhat.com>
  260. * config/tc-h8300.c (get_operand): Allow er4-er7 for ldm/stm
  261. instructions on the H8SX.
  262. 2003-11-25 Kazu Hirata <kazu@cs.umass.edu>
  263. * config/tc-h8300.c (h8_exp): Remove.
  264. 2003-11-25 Asgari Jinia <asgarij@kpitcummins.com>
  265. * config/tc-h8300.c (md_assemble): Check operands validity for
  266. ldm/stm.
  267. (get_operand): Check register pair's validity as per technical
  268. note TN-H8*-193A/E from Renesas for H8s and for H8Sx manual.
  269. 2003-11-24 Kazu Hirata <kazu@cs.umass.edu>
  270. * listing.c: Convert to ISO-C.
  271. * listing.h: Likewise.
  272. * macro.c: Likewise.
  273. * macro.h: Likewise.
  274. 2003-11-24 Jakub Jelinek <jakub@redhat.com>
  275. * app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
  276. when transitioning from states 14 or 15 to 0 or 1.
  277. 2003-11-23 Kazu Hirata <kazu@cs.umass.edu>
  278. * hash.c: Convert to ISO-C.
  279. * hash.h: Likewise.
  280. * input-file.c: Likewise.
  281. * input-file.h: Likewise.
  282. * input-scrub.c: Likewise.
  283. * itbl-ops.c: Likewise.
  284. * itbl-ops.h: Likewise.
  285. 2003-11-23 Kazu Hirata <kazu@cs.umass.edu>
  286. * config/tc-h8300.c (Hmode): Make it global.
  287. (Smode): Likewise.
  288. (Nmode): Likewise.
  289. (SXmode): Likewise.
  290. 2003-11-22 Kazu Hirata <kazu@cs.umass.edu>
  291. * ehopt.c: Convert to ISO-C.
  292. * emul.h: Likewise.
  293. * expr.c: Likewise.
  294. * expr.h: Likewise.
  295. * flonum-copy.c: Likewise.
  296. * flonum-mult.c: Likewise.
  297. * flonum.h: Likewise.
  298. * frags.c: Likewise.
  299. * frags.h: Likewise.
  300. 2003-11-22 Alan Modra <amodra@bigpond.net.au>
  301. * doc/c-ppc.texi (PowerPC-Pseudo): Add section.
  302. * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
  303. 2003-11-21 Kazu Hirata <kazu@cs.umass.edu>
  304. * ecoff.c: Convert to ISO-C.
  305. * ecoff.h: Likewise.
  306. 2003-11-22 Alan Modra <amodra@bigpond.net.au>
  307. * config/tc-ppc.c (parse_cpu): New function, broken out from..
  308. (md_parse_option): ..here.
  309. (ppc_setup_opcodes): New function, broken out from..
  310. (md_begin): ..here.
  311. (ppc_machine): Implement .machine pseudo op.
  312. 2003-11-20 Kazu Hirata <kazu@cs.umass.edu>
  313. * depend.c: Convert to ISO-C.
  314. * dwarf2dbg.c: Likewise.
  315. * dwarf2dbg.h: Likewise.
  316. 2003-11-20 Kazu Hirata <kazu@cs.umass.edu>
  317. * app.c: Convert to ISO-C.
  318. * as.h: Likewise.
  319. * atof-generic.c: Likewise.
  320. * bignum-copy.c: Likewise.
  321. * bignum.h: Likewise.
  322. * cgen.c: Likewise.
  323. * cgen.h: Likewise.
  324. * cond.c: Likewise.
  325. 2003-11-20 DJ Delorie <dj@redhat.com>
  326. * config/tc-sh64.c (shmedia_frob_section): Only frob elf32
  327. sections.
  328. 2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
  329. * config/tc-h8300.c: Make some functions and global
  330. variables static appropriately.
  331. 2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
  332. * config/obj-ieee.c: Remove duplicate prototypes.
  333. * config/tc-h8300.c: Likewise.
  334. 2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
  335. * config/tc-h8300.c: Convert to ISO-C.
  336. * config/tc-h8300.h: Likewise.
  337. 2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
  338. * config/tc-mcore.h: Remove prototypes already in tc.h.
  339. * config/tc-tic4x.c: Likewise.
  340. 2003-11-19 Kazu Hirata <kazu@cs.umass.edu>
  341. * config/tc-arc.c: Remove a local prototype of atof_ieee.
  342. * config/tc-ip2k.c: Likewise.
  343. * config/tc-iq2000.c: Likewise.
  344. * config/tc-tic30.c: Remove a comment.
  345. 2003-11-19 Bob Wilson <bob.wilson@acm.org>
  346. * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
  347. call to dwarf2_emit_insn.
  348. 2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  349. * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
  350. for loading addresses using CALL relocations.
  351. Don't emit CALL relocations when a base register is used.
  352. 2003-11-15 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  353. * config/tc-mips.c: Formatting fixes.
  354. 2003-11-14 Ben Elliston <bje@wasabisystems.com>
  355. * config/tc-arm.c (arm_elf_change_section): Not static.
  356. 2003-11-13 Nick Clifton <nickc@redhat.com>
  357. * tc-arm.c (mapping_state): New function. Emit a mapping
  358. symbol if necessary.
  359. (arm_elf_change_section): New function. Intercept section
  360. changes and generate mapping symbols.
  361. (s_bss): Likewise.
  362. (s_arm_elf_cons): Likewise.
  363. (opcode_select): Choose the correct mapping state.
  364. (md_assemble): Likewise.
  365. * tc-arm.h (md_elf_section_change_hook): Define.
  366. * doc/c-arm.texi (ARM Mapping Symbols): New node.
  367. * NEWS: Mention new feature.
  368. 2003-11-12 Daniel Jacobowitz <drow@mvista.com>
  369. * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
  370. * doc/Makefile.am (install-info): Define.
  371. * aclocal.m4: Regenerate.
  372. * Makefile.in: Regenerate.
  373. * doc/Makefile.in: Regenerate.
  374. 2003-11-11 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
  375. * configure.in: Add support for arm-wince-pe target.
  376. * configure: Regenerate.
  377. 2003-11-11 Jan Hubicka <jh@suse.cz>
  378. * config/tc-i386.c (tc_i386_fix_adjustable):
  379. 2003-11-10 Alan Modra <amodra@bigpond.net.au>
  380. * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.
  381. 2003-11-10 Alan Modra <amodra@bigpond.net.au>
  382. * README: Update bug report address. Move bug reporting info to
  383. binutils/README.
  384. 2003-11-07 Christian Groessler <chris@groessler.org>
  385. * doc/c-z8k.texi: Document command-line options. Fix byte
  386. register names. Document '.z8001' and '.z8002' directives.
  387. Extend addressing modes documentation.
  388. 2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
  389. * input-file.c (input_file_open): Use "No such file" error
  390. message.
  391. 2003-11-06 Pete Gonzalez <pgonzalez@bluel.com>
  392. * config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
  393. (rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
  394. dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
  395. mav_mvax_table, mav_dspc_table): Initialise new field.
  396. (insert_reg_alias): Initialise new field.
  397. (md_pseudo_table): Add "unreq" entry.
  398. (s_unreq): New function: Undo the effects of a previous .req.
  399. * doc/c-arm.texi: Document new pseudo op.
  400. * NEWS: Mention new feature.
  401. 2003-11-06 Bruno Rohee <bruno@rohee.com>
  402. * config/obj-vms.c: Fix "the the" typo.
  403. * doc/c-arm.texi: Likewise.
  404. 2003-11-06 Nick Clifton <nickc@redhat.com>
  405. * config/obj-vms.c: Convert to ISO-C.
  406. 2003-11-05 Alan Modra <amodra@bigpond.net.au>
  407. * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
  408. 2003-10-31 Christian Groessler <chris@groessler.org>
  409. * config/tc-i860.c (md_pcrel_from): Fix typo in comment.
  410. 2003-10-29 Phil Edwards <phil@codesourcery.com>
  411. * configure.in (arm-*-vxworks, i386-*-vxworks, mips-*-vxworks,
  412. ppc-*-vxworks, ppc-*-windiss): Remove separate outdated stanzas.
  413. (*-*-vxworks, *-*-windiss): Use common stanzas, all ELF.
  414. * configure: Regenerated.
  415. 2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
  416. * ChangeLog: Fix typos.
  417. * ChangeLog-9295: Likewise.
  418. * as.c: Fix comment typos.
  419. * as.h: Likewise.
  420. * atof-generic.c: Likewise.
  421. * bit_fix.h: Likewise.
  422. * frags.h: Likewise.
  423. * hash.c: Likewise.
  424. * input-file.c: Likewise.
  425. * input-scrub.c: Likewise.
  426. * itbl-ops.c: Likewise.
  427. * itbl-parse.y: Likewise.
  428. * listing.c: Likewise.
  429. * macro.h: Likewise.
  430. * read.c: Likewise.
  431. * sb.c: Likewise.
  432. * sb.h: Likewise.
  433. * symbols.c: Likewise.
  434. * symbols.h: Likewise.
  435. 2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
  436. * config/tc-m68hc11.c: Convert to ISO C90.
  437. * config/tc-m68hc11.h: Likewise.
  438. 2003-10-26 Kazu Hirata <kazu@cs.umass.edu>
  439. * doc/c-sh64.texi: Fix a typo.
  440. 2003-10-26 Kazu Hirata <kazu@cs.umass.edu>
  441. * doc/c-alpha.texi: Fix typos.
  442. * doc/c-ia64.texi: Likewise.
  443. * doc/c-mmix.texi: Likewise.
  444. * doc/c-sh64.texi: Likewise.
  445. * doc/c-xtensa.texi: Likewise.
  446. * doc/internals.texi: Likewise.
  447. 2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
  448. * config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
  449. for .interp, .strtab and .symtab. Use specified section
  450. attributes.
  451. 2003-10-22 Andreas Schwab <schwab@suse.de>
  452. H.J. Lu <hongjiu.lu@intel.com>
  453. Jim Wilson <wilson@specifixinc.com>
  454. * config/tc-ia64.c (update_qp_mutex): New.
  455. (note_register_values): Properly handle one of PRs in compare
  456. is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
  457. Clear mutex relation for .none/.unc. Don't clear mutex relation
  458. on predicated compare.
  459. 2003-10-21 Wouter van Heyst <wouter@vidicode.nl>
  460. * config/tc-arm.c (all_reg_maps): Correct text describing Maverick
  461. register requirements.
  462. (md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP.
  463. 2003-10-21 Peter Barada <pbarada@mail.wm.sps.mot.com>
  464. Bernardo Innocenti <bernie@develer.com>
  465. * config/tc-m68k.c: Add MCF528x (MCFv4) support.
  466. * config/m68k-parse.h: Likewise.
  467. * NEWS: Mention the new support.
  468. * doc/c-m68k.texi: Document new processor selection switch.
  469. 2003-10-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  470. * config/tc-mips.c (normalize_constant_expr): New function to fix sign
  471. extensions broken by gas' expression evaluation of constants.
  472. (check_absolute_expr): Use it.
  473. (mips_ip): Likewise.
  474. 2003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
  475. Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
  476. * doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
  477. --no-stubs.
  478. * config/tc-mmix.c: Include limits.h. Expand on mmix_relax_table
  479. comment.
  480. (expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
  481. (pushj_stubs): New variable.
  482. (OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
  483. (PUSHJSTUB_MAX): New macros.
  484. (md_longopts): New options "--no-pushj-stubs" and synonym
  485. "--no-stubs".
  486. (mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
  487. (md_parse_option): Handle OPTION_NOPUSHJSTUBS.
  488. (md_estimate_size_before_relax): Modify STATE_PUSHJ state for
  489. PUSHJ stub relaxation.
  490. (md_convert_frag): Handle STATE_PUSHJSTUB.
  491. (md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
  492. (tc_gen_reloc): Ditto.
  493. (mmix_md_relax_frag): Handle PUSHJ stub relaxation.
  494. * config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
  495. (struct mmix_segment_info_type): New.
  496. 2003-10-17 Paul Dale <pauli@snapgear.com>
  497. Bernardo Innocenti <bernie@develer.com>
  498. * config/tc-m68k.c (make_pcrel_absolute): Enforce
  499. PC-relative jumps with --pcrel.
  500. (md_convert_frag_1): Likewise.
  501. (md_create_long_jump): Likewise.
  502. 2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
  503. * config/tc-h8300.c (PSIZE): Correct for Normal mode.
  504. (get_operand): Accept both 16 bit 32 bit registers as pointer
  505. registers, when operating in Normal mode.
  506. (fix_operand_size): Make default address size 16 for Normal mode.
  507. 2003-10-17 Ian Lance Taylor <ian@wasabisystems.com>
  508. * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
  509. registers.
  510. (do_iwmmxt_word_addr): With a control register, reject conditional
  511. execution and reject a non-word size.
  512. 2003-10-16 Peter Bergner <bergner@vnet.ibm.com>
  513. * configure.in: Set em=linux for ppc-*-linux-gnu* target.
  514. * configure: Regenerate.
  515. 2003-10-15 Alan Modra <amodra@bigpond.net.au>
  516. * doc/as.texinfo (Align): Correct list of byte targets.
  517. 2003-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  518. * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
  519. Fix indentation. Better error message.
  520. 2003-10-14 Bob Wilson <bob.wilson@acm.org>
  521. * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
  522. argument in call to xtensa_get_property_section_name. Formatting.
  523. 2003-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  524. * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
  525. parenthesis.
  526. 2003-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  527. * config/tc-sh.c: Convert to ISO C90. Remove unnecessary
  528. prototypes and casts.
  529. * config/tc-sh.h: Likewise.
  530. * config/tc-sh64.c: Likewise.
  531. * config/tc-sh64.h: Likewise.
  532. 2003-10-08 Dave Brolley <brolley@redhat.com>
  533. * config/tc-frv.c (fr550_check_insn_acc_range): New function.
  534. (fr550_check_acc_range): New function.
  535. (md_assemble): Call fr550_check_acc_range.
  536. 2003-10-08 Dave Brolley <brolley@redhat.com>
  537. * config/tc-frv.c: Handle DEFAULT_CPU_FR550.
  538. (md_parse_option): Handle OPTION_CPU==fr550.
  539. (md_show_usage): Document fr550.
  540. 2003-10-08 Philippe De Muyter <phdm@macqel.be>
  541. * as.c (use_gnu_debug_info_extensions) : New variable.
  542. (parse_args) : Accept new --gstabs+ option, and set
  543. `use_gnu_debug_info_extensions'.
  544. (show_usage) : Document --gstabs+ option.
  545. * as.h (use_gnu_debug_info_extensions) : New extern declaration.
  546. * stabs.c (stabs_generate_asm_file) : If
  547. `use_gnu_debug_info_extensions' is set, add the compilation
  548. directory to the stabs debug info.
  549. * doc/as.texinfo : Document --gstabs+ option.
  550. * NEWS: Mention new feature.
  551. 2003-10-06 Matt Thomas <matt@3am-software.com>
  552. Switch NetBSD/hppa to use Linux PA-RISC ELF ABI and
  553. assembler syntax.
  554. * tc-hppa.c: Add "%farg[0-3]", "%fret", "%t[1-4]", "%tf[1-4]"
  555. register names. Change all "defined (TE_LINUX)" to
  556. "(defined (TE_LINUX) || defined (TE_NETBSD))".
  557. * tc-hppa.h: Make NetBSD use "elfXX-hppa-linux" bfd target.
  558. Remove NetBSD's use of LABELS_WITHOUT_COLONS.
  559. 2003-10-06 Robert Millan <robertmh@gnu.org>
  560. * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
  561. * configure: Regenerate.
  562. 2003-10-05 Nick Clifton <nickc@redhat.com>
  563. * as.c (parse_args): Revert patch to change handling of -f
  564. option. Its behaviour is mandated by the POSIX 2 spec.
  565. 2003-10-04 Christian Groessler <chris@groessler.org>
  566. * tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
  567. (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
  568. (md_pcrel_from): This function now gets called. Supply return
  569. value.
  570. 2003-10-04 Nick Clifton <nickc@redhat.com>
  571. * as.c: Convert to ISO C90.
  572. 2003-10-04 Nick Clifton <nickc@redhat.com>
  573. * as.c (std_shortopts): Remove 'f'.
  574. (std_longopts): Add 'f'. Doing this prevents -f<foo> being
  575. acecpted as an alias for -f.
  576. 2003-10-04 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
  577. * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]):
  578. Make 'r' mean readonly data.
  579. 2003-10-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  580. * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
  581. Unbreak overflow checks.
  582. 2003-10-01 Chris Demetriou <cgd@broadcom.com>
  583. * config/tc-mips.c (s_cpreturn): Correct errors in comment.
  584. 2003-10-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  585. * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
  586. tests.
  587. (load_register): Likewise.
  588. (macro): Likewise.
  589. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  590. * config/tc-mips.c (mips_ip): Capitalize first word of
  591. existing condition code warning, and add condition code
  592. warnings for .ps instructions, and for bc1any[24][tf].
  593. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  594. * NEWS: Mention support for MIPS64 Release 2.
  595. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  596. * NEWS: Add an indication of the cutoff for 2.14.
  597. 2003-09-30 Chris Demetriou <cgd@broadcom.com>
  598. * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
  599. * configure: Regenerate.
  600. * config/tc-mips.c (imm2_expr): New variable.
  601. (md_assemble, mips16_ip): Initialize imm2_expr.
  602. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
  603. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
  604. (macro): Handle M_DEXT and M_DINS.
  605. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
  606. (mips_ip): Likewise.
  607. (OPTION_MIPS64R2): New define.
  608. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
  609. OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
  610. (md_parse_option): Handle OPTION_MIPS64R2.
  611. (s_mipsset): Handle setting "mips64r2" ISA.
  612. (mips_cpu_info_table): Add mips64r2.
  613. (md_show_usage): Document -mips64r2 option.
  614. * doc/as.texinfo: Docuemnt -mips64r2 option.
  615. * doc/c-mips.texi: Likewise.
  616. 2003-09-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  617. * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.
  618. 2003-09-26 Matt Thomas <matt@3am-software.com>
  619. * config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'.
  620. (OPTION_PIC): Define.
  621. (md_longopts): Add "pic" option.
  622. (md_parse_option): Change 'K' to OPTION_PIC.
  623. 2003-09-23 Alan Modra <alan@modra.org>
  624. * config/obj-elf.c (obj_elf_change_section): Adjust for
  625. _bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS
  626. to be set when defaults are not. Don't set attr from defaults if
  627. old_sec.
  628. 2003-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  629. * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
  630. truncate values which won't fit im 32 bits.
  631. (load_register): Likewise.
  632. (macro): Likewise.
  633. 2003-09-17 Dmitry Diky <diwil@mail.ru>
  634. * config/tc-msp430.c (MAX_OP_LEN): Set to 256.
  635. (msp430_operands): Remove redundant l2[16] within switch-case.
  636. 2003-09-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  637. * configure.in: Handle arm-*-rtems* and thumb-*rtems*.
  638. * configure: Regenerate.
  639. 2003-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  640. * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
  641. (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
  642. the function prototype.
  643. (load_register): Likewise. Simplify the checks for sign-extended
  644. constants.
  645. (macro): Likewise. Fix code generation for 64-bit address constants
  646. outside the 32-bit compatibility space. Adjust
  647. macro_build_ldst_constoffset calls.
  648. (s_cprestore): Adjust macro_build_ldst_constoffset call.
  649. 2003-09-11 Bob Wilson <bob.wilson@acm.org>
  650. * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
  651. literal_syms): New global variables.
  652. (xtensa_define_label, add_target_symbol, xtensa_find_label,
  653. map_over_defined_symbols, is_loop_target_label,
  654. xtensa_mark_target_fragments, xtensa_move_frag_symbol,
  655. xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
  656. (xtensa_begin_directive): Call md_flush_pending_output. Move symbols
  657. from insn_labels to saved_insn_labels when entering a literal region.
  658. (xtensa_end_directive): Call md_flush_pending_output. Restore
  659. insn_labels list when leaving a literal region.
  660. (xtensa_literal_position): Call xtensa_clear_insn_labels.
  661. (xtensa_literal_pseudo): Add check to disallow .literal inside a
  662. literal region. Move insn_labels to saved_insn_labels and then restore
  663. insn_labels on exit.
  664. (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
  665. code to set is_loop_target or is_branch_target flag on the symbol
  666. (xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
  667. (xtensa_add_literal_sym, xtensa_add_insn_label,
  668. xtensa_clear_insn_labels): New functions.
  669. (xtensa_move_labels): Remove old_frag and old_offset arguments. Add
  670. loops_ok argument. Rewrite to use insn_labels list instead of
  671. calling xtensa_find_label and to check the is_loop_target flag on
  672. symbols when loops_ok is false.
  673. (xtensa_frob_label): Remove call to xtensa_define_label. Add call
  674. to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust
  675. call to xtensa_move_labels. Propagate is_branch_target and
  676. is_loop_target flags from symbols to frags.
  677. (xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
  678. (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
  679. aligning a loop instruction. Adjust call to xtensa_move_labels for
  680. aligning entry instructions. Add call to xtensa_clear_insn_labels.
  681. (xtensa_end): Remove call to xtensa_mark_target_fragments.
  682. (xtensa_move_literals): Replace xtensa_move_frag_symbols call with
  683. code to use new literal_syms list.
  684. * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
  685. is_branch_target flags.
  686. 2003-09-09 Bob Wilson <bob.wilson@acm.org>
  687. * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
  688. "move_labels" argument and corresponding call to xtensa_move_labels.
  689. (md_assemble): Add a separate call to xtensa_move_labels and remove
  690. argument for call to xtensa_mark_literal_pool_location.
  691. (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
  692. calls to xtensa_mark_literal_pool_location.
  693. (xtensa_create_local_symbol): Delete and inline the code into...
  694. (xtensa_create_literal_symbol): ...here.
  695. (xtensa_frob_label): Combine conditionals.
  696. (expression_maybe_register, xtensa_symbol_new_hook,
  697. fix_new_exp_in_seg): Use symbol_get_tc.
  698. 2003-09-09 Bob Wilson <bob.wilson@acm.org>
  699. * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
  700. combining identical literals.
  701. (expression_maybe_register): Remove call to find_lit_sym_translation.
  702. (is_duplicate_expression, cache_literal, is_duplicate_literal,
  703. add_lit_sym_translation, find_lit_sym_translation): Delete.
  704. 2003-09-07 Nick Clifton <nickc@redhat.com>
  705. * doc/as.texinfo (Comments): Comment character for PPC is #.
  706. 2003-09-06 Stephane Carrez <stcarrez@nerim.fr>
  707. PR savannah/4358:
  708. * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
  709. overflow complain.
  710. 2003-09-05 Richard Sandiford <rsandifo@redhat.com>
  711. * config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.
  712. 2003-09-04 Nick Clifton <nickc@redhat.com>
  713. * config/tc-v850.c (set_machine): Accept v850e1 machine number.
  714. (md_pseudo_table): Add .v850e1 pseudo op.
  715. (md_show_usage): Document -mv850e1 switch.
  716. (md_parse_option): Accept -mv850e1 switch.
  717. (md_begin): Allow TARGET_CPU to be v850e1.
  718. * doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op.
  719. * NEWS: Mention support for v850e1.
  720. 2003-09-04 Alan Modra <amodra@bigpond.net.au>
  721. * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
  722. ppc_cpu selection rather than replacing.
  723. (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
  724. (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
  725. 2003-09-03 Robert Millan <robertmh@gnu.org>
  726. * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu
  727. triplet.
  728. * configure: Regenerate.
  729. 2003-09-02 Daniel Jacobowitz <drow@mvista.com>
  730. * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
  731. and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
  732. Specify AC_CONFIG_AUX_DIR.
  733. * aclocal.m4: Regenerated with aclocal-1.7.
  734. * configure: Regenerated with autoconf 2.57.
  735. * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
  736. 2003-08-29 Jakub Jelinek <jakub@redhat.com>
  737. * dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save.
  738. (dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
  739. (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
  740. nor tc_cfi_emit_pcrel_expr are defined.
  741. (output_fde): Use tc_cfi_emit_pcrel_expr if available and
  742. DIFF_EXPR_OK is not defined.
  743. * config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
  744. (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
  745. tc_cfi_emit_pcrel_expr): Define.
  746. (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
  747. sparc_cfi_emit_pcrel_expr): New prototypes.
  748. (sparc_cie_data_alignment): New decl.
  749. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
  750. * config/tc-sparc.c: Include dw2gencfi.h.
  751. (sparc_cie_data_alignment): New variable.
  752. (md_begin): Initialize it.
  753. (sparc_cfi_frame_initial_instructions): New function.
  754. (sparc_regname_to_dw2regnum): Likewise.
  755. (sparc_cfi_emit_pcrel_expr): Likewise.
  756. * doc/as.texinfo: Document .cfi_window_save.
  757. * config/tc-sparc.c (s_common): Cast last argument to long and
  758. change format string to shut up warning.
  759. 2003-08-25 Jason Eckhardt <jle@rice.edu>
  760. * doc/c-i860.texi: Update text about relocatable address expansions.
  761. 2003-08-24 Jason Eckhardt <jle@rice.edu>
  762. * config/tc-i860.c (md_assemble): Use isrc2 from the original
  763. instruction when expanding E_ADDR.
  764. 2003-08-21 Nick Clifton <nickc@redhat.com>
  765. * po/tr.po: Updated Turkish translation.
  766. 2003-08-20 Alan Modra <amodra@bigpond.net.au>
  767. * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
  768. PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
  769. 2003-08-19 Nick Clifton <nickc@redhat.com>
  770. * config/tc-arm.c (cp_address_required_here): Add code to handle
  771. unindexed addressing mode.
  772. 2003-08-19 Alan Modra <amodra@bigpond.net.au>
  773. * config/tc-ppc.c (md_parse_option): Handle -m440.
  774. (md_show_usage): Add -m440.
  775. (md_apply_fix3): Warning fix.
  776. * doc/c-ppc.texi: Document -m440.
  777. 2003-08-16 Benjamin Kalytta <bkausbk@web.de>
  778. * read.c (s_print): Check for NULL.
  779. 2003-08-16 Alan Modra <amodra@bigpond.net.au>
  780. * write.c (fixup_segment): When handling an expression involving
  781. the subtraction of two symbols in the same segment, don't clear
  782. fx_pcrel except for TC_M68K.
  783. 2003-08-14 Alan Modra <amodra@bigpond.net.au>
  784. * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
  785. code.
  786. * config/tc-i386.c: Likewise.
  787. (RELOC_ENUM): Don't define. Replace throughout with enum.
  788. * dep-in.sed: Remove libintl.h. Ignore include/fopen-*.h
  789. * Makefile.am (POTFILES.in): Unset LC_COLLATE.
  790. Run "make dep-am".
  791. * Makefile.in: Regenerate.
  792. 2003-08-08 Andreas Schwab <schwab@suse.de>
  793. * config/tc-m68k.h (TARGET_USE_CFIPOP)
  794. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT)
  795. (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions):
  796. Define.
  797. * config/tc-m68k.c: Include "dw2gencfi.h".
  798. (tc_m68k_regname_to_dw2regnum)
  799. (tc_m68k_frame_initial_instructions): New functions.
  800. 2003-08-08 Dmitry Diky <diwil@mail.ru>
  801. * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list
  802. according to gcc order.
  803. 2003-08-07 Jason Eckhardt <jle@rice.edu>
  804. * config/tc-i860.c (i860_check_label): New function.
  805. * config/tc-i860.h (i860_check_label): New prototype.
  806. (tc_check_label): Define macro as i860_check_label.
  807. 2003-08-06 Jason Eckhardt <jle@rice.edu>
  808. * config/tc-i860.c (s_align_wrapper): New function and prototype.
  809. (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove
  810. surrounding OBJ_ELF ifdef, and re-format slightly.
  811. * doc/c-i860.texi: Document the special .align syntax available
  812. in Intel mode.
  813. 2003-08-06 Jason Eckhardt <jle@rice.edu>
  814. * config/tc-i860.c (i860_handle_align): New function.
  815. * config/tc-i860.h (HANDLE_ALIGN): Define macro.
  816. (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.
  817. 2003-08-06 Jason Eckhardt <jle@rice.edu>
  818. * config/tc-i860.c (i860_process_insn): Check that instructions
  819. with their dual-bit set are 8-byte aligned.
  820. 2003-08-06 Nick Clifton <nickc@redhat.com>
  821. * po/fr.po: Updated French translation.
  822. 2003-08-05 Jason Eckhardt <jle@rice.edu>
  823. * config/tc-i860.c (i860_process_insn): Don't handle dual-bit
  824. setting during flop argument parsing. Instead, do it after
  825. instruction is fully parsed.
  826. 2003-08-05 Jason Eckhardt <jle@rice.edu>
  827. * doc/c-i860.texi: Mention that .dual, .enddual, and .atmp
  828. directives are only available in Intel syntax mode.
  829. 2003-08-05 Jason Eckhardt <jle@rice.edu>
  830. * config/tc-i860.c (s_dual): Accept .dual directive only in
  831. the Intel syntax mode.
  832. (s_enddual): Likewise for .enddual.
  833. (s_atmp): Likewise for .atmp.
  834. 2003-08-04 Alan Modra <amodra@bigpond.net.au>
  835. * config/tc-i386.c (i386_intel_operand): Always call i386_index_check
  836. for memory operands. Pass the full operand_string to i386_index_check.
  837. 2003-08-01 Jason Eckhardt <jle@rice.edu>
  838. * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
  839. (target_intel_syntax): Declare variable.
  840. (OPTION_INTEL_SYNTAX): Declare macro.
  841. (md_longopts): Add option -mintel-syntax.
  842. (md_parse_option): Set target_intel_syntax.
  843. (md_show_usage): Add -mintel-syntax usage.
  844. (md_begin): Set reg_prefix based on target_intel_syntax.
  845. (i860_process_insn): Skip register prefix only if there is one.
  846. Parse relocatable expressions in either Intel or AT&T syntax based
  847. on target_intel_syntax instead of the SYNTAX_SVR4 macro.
  848. * doc/c-i860.texi: Document -mintel-syntax option and give blurb
  849. about the differences in syntax.
  850. 2003-08-01 Dmitry Diky <diwil@mail.ru>
  851. * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
  852. to all arches.
  853. 2003-07-30 J"orn Rennecke <joern.rennecke@superh.com>
  854. * config/tc-sh.c (md_assemble): For branches, check & update
  855. valid_arch here.
  856. 2003-07-30 Jason Eckhardt <jle@rice.edu>
  857. * config/tc-i860.c: Convert to ISO C90.
  858. 2003-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  859. * read.c (s_space): Revert 2003-07-28 change.
  860. 2003-07-30 Alan Modra <amodra@bigpond.net.au>
  861. * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
  862. 2003-07-29 Alan Modra <amodra@bigpond.net.au>
  863. * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
  864. 2003-07-29 Jakub Jelinek <jakub@redhat.com>
  865. * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
  866. 2003-07-28 H.J. Lu <hongjiu.lu@intel.com>
  867. * config/obj-elf.c (obj_elf_section_type): Also accept "note".
  868. 2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  869. * read.c (s_space): Don't warn about .space 0.
  870. 2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  871. * config/tc-mips.c (mips_flag_pdr): Define.
  872. (md_begin) [OBJ_ELF]: Use it to control .pdr creation.
  873. (s_mips_end) [OBJ_ELF]: Likewise.
  874. (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
  875. (md_parse_option) [OBJ_ELF]: Handle them.
  876. (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.
  877. * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
  878. * doc/as.texinfo (Overview) [MIPS]: Likewise.
  879. 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
  880. * config/obj-elf.c (obj_elf_change_section): Update
  881. elf_section_type and elf_section_flags only when they are
  882. specified.
  883. 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
  884. * config/obj-elf.c (obj_elf_change_section): Always set section
  885. type and flags.
  886. 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
  887. * config/obj-elf.c (special_sections): Removed.
  888. (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
  889. elf_section_type and elf_section_flags.
  890. (elf_frob_file): Set SHT_GROUP.
  891. * config/obj-elf.h (obj_sec_set_private_data): New.
  892. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
  893. * config/tc-ia64.h: Likewise.
  894. * config/tc-m32r.h: Likewise.
  895. * config/tc-m68hc11.h: Likewise.
  896. * config/tc-mcore.h: Likewise.
  897. * config/tc-mips.h: Likewise.
  898. * config/tc-ppc.h: Likewise.
  899. * config/tc-sh64.h: Likewise.
  900. * config/tc-v850.h: Likewise.
  901. * config/tc-xtensa.h: Likewise.
  902. * config/tc-v850.h (SHF_V850_GPREL): Removed.
  903. (SHF_V850_EPREL): Likewise.
  904. (SHF_V850_R0REL): Likewise.
  905. * subsegs.c (subseg_get): Call obj_sec_set_private_data if it
  906. is defined.
  907. 2003-07-24 Stephane Carrez <stcarrez@nerim.fr>
  908. * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
  909. debugging symbols so that we handle page memory correctly.
  910. 2003-07-24 Nick Clifton <nickc@redhat.com>
  911. * po/fr.po: Updated French translation.
  912. 2003-07-23 Daniel Jacobowitz <drow@mvista.com>
  913. * config/tc-arm.c (arm_archs): Add iwmmxt.
  914. 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
  915. * read.c (do_parse_cons_expression): Mark nbytes unused to
  916. silence gcc.
  917. 2003-07-22 Alexandre Oliva <aoliva@redhat.com>
  918. * config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
  919. or bsr/bs.
  920. * config/tc-h8300.c (md_assemble): Make sure characters after
  921. slash and dot are lower-case.
  922. 2003-07-17 Nick Clifton <nickc@redhat.com>
  923. * po/es.po: New Spanish translation.
  924. * po/tr.po: New Turkish translation.
  925. * po/opcodes.pot: Regenerate.
  926. 2003-07-16 Alan Modra <amodra@bigpond.net.au>
  927. * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
  928. (generic_dwarf2_emit_offset): Don't define function when
  929. TC__DWARF2_EMIT_OFFSET is defined.
  930. 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
  931. * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
  932. (mips_cpu_info_table): Add rm7000 and rm9000 entries.
  933. * doc/c-mips.texi: Document -march=rm9000.
  934. 2003-07-15 Alan Modra <amodra@bigpond.net.au>
  935. * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
  936. only for V850_OPERAND_DISP operands.
  937. 2003-07-15 Alan Modra <amodra@bigpond.net.au>
  938. * frags.c (frag_more): Move segment checks to..
  939. (frag_alloc_check): ..here. New function.
  940. (frag_append_1_char): Call frag_alloc_check.
  941. 2003-07-14 Nick Clifton <nickc@redhat.com>
  942. * po/tr.po: Update with latest version.
  943. * po/POTFILES.in: Regenerate.
  944. * po/gas.pot: Regenerate.
  945. * configure: Regenerate.
  946. 2003-07-14 Nick Clifton <nickc@redhat.com>
  947. * config/tc-ip2k.c: Remove inclusion of <ctype.h>
  948. * config/tc-tic4x.c: Replace inclusion of <ctype.h> with
  949. "safe-ctype.h" and update use of macros.
  950. * Makefile.am: Update dependencies.
  951. * Makefile.in: Regenerate.
  952. 2003-07-11 Alan Modra <amodra@bigpond.net.au>
  953. * po/gas.pot: Regenerate.
  954. 2003-07-10 Jakub Jelinek <jakub@redhat.com>
  955. * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
  956. (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
  957. tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
  958. DWARF2_CIE_DATA_ALIGNMENT): Define.
  959. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
  960. prototypes.
  961. (ppc_cie_data_alignment): Declare.
  962. * config/tc-ppc.c: Include dw2gencfi.h.
  963. (ppc_cie_data_alignment): Define.
  964. (md_begin): Initialize ppc_cie_data_alignment.
  965. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
  966. functions.
  967. * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
  968. (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
  969. tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
  970. DWARF2_CIE_DATA_ALIGNMENT): Define.
  971. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
  972. New prototypes.
  973. (s390_cie_data_alignment): Declare.
  974. * config/tc-s390.c: Include dw2gencfi.h.
  975. (s390_cie_data_alignment): Define.
  976. (md_begin): Initialize s390_cie_data_alignment.
  977. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
  978. New functions.
  979. 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
  980. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
  981. * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
  982. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  983. * configure.in (am33_2.0, mn10300-*-linux*): Added.
  984. * configure: Rebuilt.
  985. * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
  986. elf32-am33lin.
  987. * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
  988. by default.
  989. 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
  990. 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
  991. * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
  992. for subtracts from GLOBAL_OFFSET_TABLE that could not be
  993. simplified.
  994. 2002-07-18 Alexandre Oliva <aoliva@redhat.com>
  995. * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
  996. could not be simplified.
  997. (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
  998. 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
  999. * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
  1000. BDF_RELOC_MN10300_GOT32.
  1001. * config/tc-mn10300.c (mn10300_fix_adjustable): If
  1002. TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
  1003. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  1004. * config/tc-mn10300.c (mn10300_parse_name): Don't return a
  1005. symbol if we know its value.
  1006. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  1007. * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
  1008. duplicate underscore prefix.
  1009. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  1010. * config/tc-mn10300.c (mn10300_parse_name): Store relocation
  1011. type in X_md, not X_add_number. Zero X_add_number.
  1012. (mn10300_check_fixup): Extract relocation type from X_md.
  1013. * config/tc-mn10300.h: Update comment.
  1014. 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
  1015. * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
  1016. (O_PIC_reloc): this.
  1017. * config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
  1018. (mn10300_check_fixup): Likewise.
  1019. (mn10300_parse_name): Set X_add_number to relocation type.
  1020. * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
  1021. TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
  1022. O_GOTOFF, O_PLT, O_GOT): Define.
  1023. * config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
  1024. (mn10300_check_fixup): New fn.
  1025. (md_assemble): Call it. Check for PIC-related relocs.
  1026. (mn10300_cons_fix_new): Likewise. New fn.
  1027. (mn10300_end_of_match): New fn.
  1028. (mn10300_md_parse_name_cont): New fn.
  1029. 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
  1030. 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
  1031. * config/tc-mn10300.c (mn10300_insert_operand): Negate negative
  1032. accumulator's shift.
  1033. 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
  1034. * config/tc-mn10300.c (md_relax_table, md_convert_frag,
  1035. md_assemble, md_estimate_size_before_relax): Handle fbCC.
  1036. 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
  1037. * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
  1038. HAVE_AM33_2.
  1039. 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
  1040. * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
  1041. (HAVE_AM33): Match AM33_2 too.
  1042. (HAVE_AM33_2): New macro.
  1043. (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2.
  1044. 2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
  1045. * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
  1046. (float_registers, double_registers): New variables.
  1047. (float_register_name, double_register_name): New functions.
  1048. (md_assemble): Recognize FP registers. Implement FMT_D3.
  1049. (mn10300_insert_operand): Support FP registers.
  1050. 2003-07-08 Chris Demetriou <cgd@broadcom.com>
  1051. * config/tc-mips.c (mips_validate_fix): Do not warn about branch
  1052. target being a global symbol if not compiling SVR4 PIC code.
  1053. 2003-07-07 Nick Clifton <nickc@redhat.com>
  1054. * doc/c-m32r.texi (M32R-Directives): New node. Document the
  1055. .high, .shigh and .low directives.
  1056. 2003-07-07 Richard Sandiford <rsandifo@redhat.com>
  1057. * config/tc-h8300.c (h8300sxnmode): Add prototype.
  1058. (DSYMMODE): Remove.
  1059. (parse_exp): Replace expressionS argument with a h8_op. Parse the
  1060. operand size as well.
  1061. (skip_colonthing): Remove unused expression argument. Tighten checks
  1062. for 2-digit sizes.
  1063. (colonmod24): Remove.
  1064. (get_mova_operands): Combine calls to parse_exp and skip_colonthing.
  1065. (get_operand): Likewise. Use the standard code to read the size of
  1066. pc-relative operands.
  1067. (fix_operand_size): Include the size-guessing logic that used to be
  1068. in colonmod24 and get_operand. Don't apply dd:2 optimizations to
  1069. offsets with a symbolic component.
  1070. 2003-07-04 Nick Clifton <nickc@redhat.com>
  1071. * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
  1072. macro to compute size of selected register name array.
  1073. 2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1074. * config/tc-s390.c (md_parse_option): Add cpu type z990.
  1075. (md_begin): Add minimal cpu type logic for instructions with different
  1076. binary format depending on the cpu.
  1077. (md_assemble): Remove check for minimal cpu.
  1078. (s390_insert_operand): Add support for long displacements.
  1079. (md_gather_operands): Likewise.
  1080. (tc_s390_fix_adjustable): Likewise.
  1081. (tc_s390_force_relocation): Likewise.
  1082. (md_apply_fix3): Likewise.
  1083. 2003-06-30 Chris Demetriou <cgd@broadcom.com>
  1084. * config/tc-mips.c (s_mipsset): Implement -march= handling
  1085. differently.
  1086. 2003-06-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1087. * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
  1088. prototypes and casts. Replace PTR with void *. Reformat.
  1089. * config/tc-mips.h: Likewise.
  1090. 2003-06-30 Alan Modra <amodra@bigpond.net.au>
  1091. * config/tc-ia64.c (note_register_values): Warning fix.
  1092. * config/tc-mips.c (append_insn): Likewise.
  1093. 2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1094. * config/tc-mips.c (mips_set_options,mips_opts): Support for
  1095. .set arch=FOO.
  1096. (file_mips_arch): Rename mips_arch.
  1097. (mips_arch_info,mips_tune_info): Remove.
  1098. (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
  1099. (mips_cpu_info_from_arch): New function.
  1100. (md_begin): Use file_mips_arch.
  1101. (macro_build,macro,mips_ip): Use mips_opts.arch.
  1102. (mips_set_architecture): Init file_mips_arch and mips_opts.arch.
  1103. (mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
  1104. Use file_mips_arch.
  1105. (s_mipsset): Support for .set arch=FOO.
  1106. (mips_cpu_info_table): Fix typo.
  1107. 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
  1108. * config/tc-i386.c (md_assemble): Declare "exp" before "if".
  1109. 2003-06-25 Richard Sandiford <rsandifo@redhat.com>
  1110. * config/tc-h8300.c (get_specific): Allow ':8' to be used for
  1111. unsigned 8-bit operands.
  1112. 2003-06-24 Nick Clifton <nickc@redhat.com>
  1113. * read.c (s_comm): Change error message to assume an unsigned size
  1114. has been passed to .comm.
  1115. * config/tc-sparc.c (s_common): Likewise.
  1116. * write.c (write_contents): Replace 'unsigned long' with
  1117. 'addressT' and 'long' with offsetT in order to allow computations
  1118. with very large values to work for 64-bit addressed targets.
  1119. (relax_and_size_all_segments): Likewise.
  1120. (relax_frag): Likewise.
  1121. (relax_segment): Likewise.
  1122. 2003-06-23 Mark Mitchell <mark@codesourcery.com>
  1123. * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
  1124. 2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
  1125. * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
  1126. Instructions.
  1127. * gas/config/tc-i386.h (CpuPNI): New.
  1128. (CpuUnknownFlags): Add CpuPNI.
  1129. 2003-06-23 <davidm@hpl.hp.com>
  1130. * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
  1131. freebsd, openvms, and nsk (non-stop kernel).
  1132. 2003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
  1133. * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
  1134. all locals have been declared.
  1135. 2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1136. * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
  1137. special handling for n32 ABI.
  1138. (macro): Likewise.
  1139. 2003-06-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1140. * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
  1141. 2003-06-11 change.
  1142. 2003-06-19 Christian Groessler <chris@groessler.org>
  1143. * config/tc-z8k.c (parse_reg): Invalid registers generate an error
  1144. now, not only a warning. Add some more checks to detect invalid
  1145. registers.
  1146. (get_operand): For CLASS_IR remember register size in mode struct.
  1147. (get_specific): Handle new CLASS_IRO type. Add register size
  1148. checks for CLASS_IR and CLASS_IRO.
  1149. (md_apply_fix3): Fix undefined usage of buf.
  1150. 2003-06-19 Alan Modra <amodra@bigpond.net.au>
  1151. * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
  1152. (ppc_change_csect): Add align param. Align frag at start of csect.
  1153. (ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
  1154. (ppc_frob_section): Align vma.
  1155. 2003-06-18 Jakub Jelinek <jakub@redhat.com>
  1156. * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
  1157. (output_cie): Don't pad.
  1158. (output_fde): Add align argument. Pad to align if not 0.
  1159. (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
  1160. Pad just last FDE to EH_FRAME_ALIGNMENT.
  1161. 2003-06-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1162. * config/tc-s390.c (init_default_arch): Make current_mode_mask
  1163. dependent on s390_arch_size and current_cpu dependent on
  1164. current_mode_mask.
  1165. 2003-06-18 Svein E. Seldal <Svein.Seldal@solidas.com>
  1166. * configure.in: Add c4x as an architecture variant to tic4x.
  1167. * configure: Regenerate.
  1168. * Makefile.in: Regenerate.
  1169. * doc/Makefile.in: Regenerate.
  1170. 2003-06-18 Alan Modra <amodra@bigpond.net.au>
  1171. * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
  1172. ".TOC." from PPC64_TOC relocs.
  1173. 2003-06-17 Alan Modra <amodra@bigpond.net.au>
  1174. * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
  1175. 2003-06-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1176. * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
  1177. ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
  1178. (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
  1179. s_cprestore,s_cpadd): Use them.
  1180. 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
  1181. * configure.in: Add specific case for cris-*-linux-gnu* with
  1182. em=linux.
  1183. * configure: Regenerate.
  1184. * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
  1185. if TE_LINUX defined, else FALSE.
  1186. (bfd_boolean demand_register_prefix): Set default from
  1187. DEFAULT_CRIS_AXIS_LINUX_GNU.
  1188. (symbols_have_leading_underscore): Similar.
  1189. * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
  1190. 2003-06-13 Richard Earnshaw <rearnsha@arm.com>
  1191. * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
  1192. (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
  1193. FPU_ARCH_FPA for AOUT.
  1194. (md_begin): Don't try to guess the floating point architecture from
  1195. the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
  1196. 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
  1197. * configure.in: Add i386-netbsd-gnu target.
  1198. * configure: Regenerate.
  1199. 2003-06-12 Tom Tromey <tromey@redhat.com>
  1200. * doc/as.texinfo (Comm): Added @node. Moved before CFI
  1201. directives node.
  1202. 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
  1203. * config/tc-mips.c (append_insn): In a compound relocation, take the
  1204. field width from the final (outermost) operator.
  1205. 2003-06-11 Richard Henderson <rth@redhat.com>
  1206. * dw2gencfi.c (struct cfi_escape_data): New.
  1207. (cfi_add_CFA_nop): Remove.
  1208. (CFI_escape, dot_cfi_escape): New.
  1209. (dot_cfi): Remove nop.
  1210. (cfi_pseudo_table): Remove nop; add escape.
  1211. (output_cfi_insn): Likewise.
  1212. (select_cie_for_fde): Stop on escape.
  1213. * dw2gencfi.h (cfi_add_CFA_nop): Remove.
  1214. * read.c, read.h (do_parse_cons_expression): New.
  1215. * doc/as.texinfo (.cfi_escape): New.
  1216. 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1217. * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
  1218. (s_cprestore): Likewise.
  1219. (s_cpreturn): Likewise.
  1220. 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1221. * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
  1222. with zeros.
  1223. 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1224. * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
  1225. (md_apply_fix3): Ignore non-special relocations. Remove superfluous
  1226. exceptions from size assert. Remove most of the addend fixup
  1227. specialcasing. Remove value, use valP directly. simplify fx_addnumber
  1228. handling. Remove zero addend specialcases.
  1229. (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
  1230. the addend fixup specialcase.
  1231. * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
  1232. 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1233. * write.c (write_relocs): Use xcalloc. Fix relocs initialization
  1234. in the RELOC_EXPANSION_POSSIBLE case.
  1235. 2003-06-11 Alan Modra <amodra@bigpond.net.au>
  1236. * config/tc-i960.c (line_comment_chars): Add '#'.
  1237. * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
  1238. 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
  1239. * po/Make-in (DESTDIR): New.
  1240. (install-data-yes): Support $(DESTDIR).
  1241. (uninstall): Likewise.
  1242. 2003-06-11 Alan Modra <amodra@bigpond.net.au>
  1243. * Makefile.am: Run "make dep-am".
  1244. * Makefile.in: Regenerate.
  1245. * po/POTFILES.in: Regenerate.
  1246. 2003-06-10 Doug Evans <dje@sebabeach.org>
  1247. * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
  1248. CGEN_INSN_RELAXED.
  1249. * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
  1250. * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
  1251. * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
  1252. 2003-06-10 Alan Modra <amodra@bigpond.net.au>
  1253. Gary Hade <garyhade@us.ibm.com>
  1254. * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
  1255. (md_apply_fix3): Special case lq insn.
  1256. 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
  1257. * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
  1258. lists. Allow single-register ranges.
  1259. 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
  1260. * config/tc-h8300.c (h8300sxnmode): New.
  1261. (md_pseudo_table): Add .h8300sxn entry.
  1262. 2003-06-09 H.J. Lu <hongjiu.lu@intel.com>
  1263. * NEWS: Updated for the new -n option for the i386 assembler.
  1264. * config/tc-i386.c (optimize_align_code): New.
  1265. (md_shortopts): Add 'n'.
  1266. (md_parse_option): Handle 'n'.
  1267. (md_show_usage): Add '-n'.
  1268. * config/tc-i386.h (optimize_align_code): Declared.
  1269. (md_do_align): Optimize code alignment only if optimize_align_code
  1270. is not 0.
  1271. * doc/as.texinfo: Add the new -n option.
  1272. * doc/c-i386.texi: Document the new -n option.
  1273. 2003-06-07 Richard Henderson <rth@redhat.com>
  1274. * doc/as.texinfo: Document .cfi_rel_offset.
  1275. * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
  1276. (cfi_add_CFA_offset): Detect invalid offsets.
  1277. (cfi_add_CFA_remember_state): Save cur_cfa_offset.
  1278. (cfi_add_CFA_restore_state): Restore it.
  1279. (CFI_rel_offset): New.
  1280. (cfi_pseudo_table): Add it.
  1281. (dot_cfi): Handle it.
  1282. 2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
  1283. * app.c (do_scrub_chars): Add states 14 and 15 to handle
  1284. predicate for ia64.
  1285. 2003-06-05 Michael Snyder <msnyder@redhat.com>
  1286. * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
  1287. (build_bytes): Ditto.
  1288. 2003-06-05 Richard Sandiford <rsandifo@redhat.com>
  1289. * config/tc-h8sx.c (DMODE): Remove.
  1290. (colonmod24): Don't choose a default if the operand is a 16-bit
  1291. constant integer.
  1292. (fix_operand_size): New function.
  1293. (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
  1294. Adjust @(d:2,ERn) operands before choosing the specific opcodes.
  1295. 2003-06-05 Michal Ludvig <mludvig@suse.cz>
  1296. * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
  1297. (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
  1298. (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
  1299. (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
  1300. (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
  1301. (cfi_add_CFA_restore, cfi_add_CFA_undefined)
  1302. (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
  1303. (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
  1304. (cfi_pseudo_table): New directives .cfi_return_column,
  1305. .cfi_restore, .cfi_undefined, .cfi_same_value,
  1306. .cfi_remember_state, .cfi_restore_state, .cfi_nop.
  1307. (dot_cfi, output_cfi_insn): Handle new directives.
  1308. * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
  1309. (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
  1310. (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
  1311. 2003-06-04 Richard Henderson <rth@redhat.com>
  1312. * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
  1313. * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
  1314. 2003-06-04 Richard Henderson <rth@redhat.com>
  1315. * config/tc-alpha.c (s_alpha_usepv): New.
  1316. (md_pseudo_table): Add it.
  1317. (alpha_cfi_frame_initial_instructions): New.
  1318. * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
  1319. (tc_cfi_frame_initial_instructions): New.
  1320. * doc/c-alpha.texi: Document .usepv.
  1321. 2003-06-04 Jakub Jelinek <jakub@redhat.com>
  1322. * as.c (show_usage): Document --execstack and --noexecstack.
  1323. (parse_args): Add --execstack and --noexecstack.
  1324. (main): Create .note.GNU-stack section if --execstack or
  1325. --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
  1326. * as.h (flag_execstack, flag_noexecstack): New.
  1327. 2003-06-03 Chris Demetriou <cgd@broadcom.com>
  1328. * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
  1329. (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
  1330. (OPTION_MISC_BASE): New defines.
  1331. (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
  1332. (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
  1333. (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
  1334. (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
  1335. (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
  1336. (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
  1337. (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
  1338. (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
  1339. (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
  1340. (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
  1341. (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
  1342. (OPTION_TRAP): Redefine in terms of new defines.
  1343. (md_longopts): Reorder entries.
  1344. 2003-05-14 Michael Snyder <msnyder@redhat.com>
  1345. From Bernd Schmidt <bernds@redhat.com>
  1346. and Michael Snyder <msnyder@redhat.com>
  1347. and Alexandre Oliva <aoliva@redhat.com>
  1348. * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
  1349. * config/tc-h8300.h: Ditto.
  1350. 2003-06-03 Nick Clifton <nickc@redhat.com>
  1351. * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
  1352. BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
  1353. before calling bfd_reloc_type_lookup.
  1354. 2003-06-02 Alan Modra <amodra@bigpond.net.au>
  1355. * read.c (emit_expr): Set dot_value.
  1356. * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
  1357. 2003-06-02 Alan Modra <amodra@bigpond.net.au>
  1358. * macro.c (sub_actual): Don't lose string if it turns out that
  1359. &string wasn't an arg.
  1360. 2003-05-31 Richard Henderson <rth@redhat.com>
  1361. * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
  1362. (cfi_finish): Set flag_traditional_format around .eh_frame data.
  1363. 2003-05-29 Richard Henderson <rth@redhat.com>
  1364. * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
  1365. (all_frame_data, plast_frame_data, cur_frame_data): New.
  1366. (s_alpha_ent): Record data for dwarf2 cfi.
  1367. (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
  1368. (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
  1369. * config/tc-alpha.h (md_end): New.
  1370. (DWARF2_DEFAULT_RETURN_COLUMN): New.
  1371. (DWARF2_CIE_DATA_ALIGNMENT): New.
  1372. 2003-05-29 Nick Clifton <nickc@redhat.com>
  1373. * configure.in: Add i386-*-freebsd* entry.
  1374. * configure: Regenerate.
  1375. 2003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1376. * config/tc-m32r.c: Amend comment to refer to Renesas
  1377. 2003-05-27 Richard Henderson <rth@redhat.com>
  1378. * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
  1379. symbol_create call.
  1380. (current_location): Use symbol_temp_new_now.
  1381. * stabs.c (s_stab_generic): Use symbol_temp_new.
  1382. * symbols.c (temp_label_name): Remove.
  1383. (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
  1384. 2003-05-27 Richard Henderson <rth@redhat.com>
  1385. * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
  1386. * as.c (main): Always call cfi_finish.
  1387. * config/tc-i386.c (x86_dwarf2_return_column): New.
  1388. (x86_cie_data_alignment): New.
  1389. (md_begin): Set them.
  1390. (tc_x86_cfi_init): Remove.
  1391. (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
  1392. return int, not unsigned long; don't as_bad here.
  1393. (tc_x86_frame_initial_instructions): Streamline; use
  1394. updated api.
  1395. * config/tc-i386.h (tc_cfi_init): Remove.
  1396. (DWARF2_DEFAULT_RETURN_COLUMN): New.
  1397. (DWARF2_CIE_DATA_ALIGNMENT): New.
  1398. 2003-05-27 Richard Henderson <rth@redhat.com>
  1399. * symbols.c (temp_label_name): New.
  1400. (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
  1401. (symbol_set_value_now): New.
  1402. * symbols.h: Prototype them.
  1403. * dwarf2dbg.c: Use them.
  1404. (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
  1405. 2003-05-23 Jason Eckhardt <jle@rice.edu>
  1406. * config/tc-i860.c (target_xp): Declare variable.
  1407. (OPTION_XP): Declare macro.
  1408. (md_longopts): Add option -mxp.
  1409. (md_parse_option): Set target_xp.
  1410. (md_show_usage): Add -mxp usage.
  1411. (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
  1412. (md_assemble): Don't try expansions if XP_ONLY is set.
  1413. * doc/c-i860.texi: Document -mxp option and i860XP support.
  1414. 2003-05-23 Eric Christopher <echristo@redhat.com>
  1415. * config/tc-mips.c (macro_build_jalr): Warning patrol.
  1416. 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1417. * config/tc-mips.c (append_insn): Use actual relocation size for new
  1418. fixp's. Don't relax overflow checking for partial_inplace relocations.
  1419. Use the actual relocation type in combined relocs, not just the type
  1420. of the first one.
  1421. (macro_build_jalr): Use actual relocation size for new fix.
  1422. (s_cpsetup, s_gpdword): Likewise.
  1423. 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1424. * config/tc-mips.c (macro): Don't use uninitialized tempreg.
  1425. 2003-05-22 Nick Clifton <nickc@redhat.com>
  1426. * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
  1427. section relative offsets for relocs that will not be based on the
  1428. section symbol.
  1429. (xstormy16_md_apply_fix3): Remove previous patch to this
  1430. function.
  1431. 2003-05-07 Eric Christopher <echristo@redhat.com>
  1432. * config/tc-mips.c (mips_abicalls): New variable.
  1433. (md_parse_option): Use.
  1434. (s_option): Ditto.
  1435. (s_abicalls): Ditto.
  1436. (mips_elf_final_processing): Set EF_MIPS_PIC and
  1437. EF_MIPS_CPIC dependent on above.
  1438. 2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1439. * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
  1440. 2003-05-21 Nick Clifton <nickc@redhat.com>
  1441. * config/obj-elf.c: Include dwarf2dbg.h.
  1442. (elf_pseudo_tab): Add .file and .loc.
  1443. * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
  1444. * config/tc-arm.c: Likewise.
  1445. * config/tc-h8300.c: Likewise.
  1446. * config/tc-hppa.c: Likewise.
  1447. * config/tc-ia64.c: Likewise.
  1448. * config/tc-m68hc11.c: Likewise.
  1449. * config/tc-m68k.c: Likewise.
  1450. * config/tc-mmix.c: Likewise.
  1451. * config/tc-mn10300.c: Likewise.
  1452. * config/tc-ppc.c: Likewise.
  1453. * config/tc-sh.c: Likewise.
  1454. * config/tc-sparc.c: Likewise.
  1455. * config/tc-v850.c: Likewise.
  1456. * config/tc-frv.c: Likewise, and remove redundant inclusion of
  1457. dwarf2dbg.h.
  1458. * config/tc-ip2k.c: Likewise.
  1459. * config/tc-iq2000.c: Likewise.
  1460. * config/tc-xstormy16.c: Likewise.
  1461. * config/tc-xtensa.c: Likewise.
  1462. * Makefile.am: Regenerate dependencies.
  1463. * Makefile.in: Regenerate.
  1464. * aclocal.m4: Regenerate.
  1465. * config.in: Regenerate.
  1466. * configure: Regenerate.
  1467. * po/POTFILES.in: Regenerate.
  1468. * po/gas.pot: Regenerate.
  1469. 2003-05-21 Nick Clifton <nickc@redhat.com>
  1470. * dw2gencfi.c (cfi_get_label): Use symbol_make for non
  1471. BFD_ASSEMBLER targets.
  1472. (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
  1473. (dot_cfi_endproc): Only call bfd_set_section_flags for targets
  1474. defining BFD_ASSEMBLER.
  1475. 2003-05-20 Michal Ludvig <mludvig@suse.cz>
  1476. * as.c (main): Remove tc_cfi_init().
  1477. * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
  1478. with '%'.
  1479. (cfi_pseudo_table): Add "cfi_register" entry.
  1480. (cfi_make_insn): Handle CFA_register.
  1481. (cfi_output_insn): Ditto.
  1482. (dot_cfi): Ditto.
  1483. (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
  1484. (dot_cfi_endproc): Reuse already emitted CIEs.
  1485. 2003-05-20 Nick Clifton <nickc@redhat.com>
  1486. * config/tc-xstormy16.c: Include dwarf2dbg.h.
  1487. (md_pseudo_table): Add entries for .loc and .line.
  1488. 2003-05-20 Alan Modra <amodra@bigpond.net.au>
  1489. * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
  1490. defined.
  1491. (dot_cfi_endproc): Avoid C99 construct.
  1492. 2003-05-20 Michal Ludvig <mludvig@suse.cz>
  1493. * dw2gencfi.c, dw2gencfi.h: New files.
  1494. * config/tc-i386.c (tc_x86_cfi_init): New function.
  1495. * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
  1496. * as.c (parse_args): Set verbose flag on --verbose.
  1497. (main): Call tc_cfi_init()/cfi_finish().
  1498. * as.h (verbose): New external variable.
  1499. * read.c (pobegin): Insert CFI pops to the list.
  1500. * symbols.c (local_symbol_make): Make symbol external.
  1501. * symbols.h (local_symbol_make): New prototype.
  1502. * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
  1503. * Makefile.in: Regenerate.
  1504. * doc/as.texinfo: Added node "CFI directives" with description of
  1505. all implemented .cfi_* directives.
  1506. * doc/Makefile.in: Regenerate.
  1507. * po/POTFILES.in: Regenerate.
  1508. 2003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
  1509. * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
  1510. insns.
  1511. * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
  1512. 2003-05-18 Jason Eckhardt <jle@rice.edu>
  1513. * config/tc-i860.c (i860_process_insn): Initialize fc after
  1514. each opcode mismatch.
  1515. 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
  1516. * configure.in: Accept i[3-7]86 variants.
  1517. * configure: Regenerate.
  1518. 2003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1519. * config/tc-mips.h: Fix comment formatting.
  1520. 2003-05-13 Hans-Peter Nilsson <hp@axis.com>
  1521. * read.c (old_buffer, old_input, old_limit): Remove variables.
  1522. (read_a_source_file): Delete label contin.
  1523. <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
  1524. input as with macros, instead of in separate old_* variables.
  1525. Zero-terminate string being scrubbed.
  1526. 2003-05-12 Nick Clifton <nickc@redhat.com>
  1527. * config/tc-xstormy16.c (skipping_fptr): New local variable.
  1528. (md_assemble): Reset skipping_fptr.
  1529. (md_operand): If @fptr() is followed by a minus sign, set
  1530. skipping_fptr and ignore the fptr. If skipping_fptr is set and an
  1531. @fptr is detected, ignore it and reset skipping_fptr.
  1532. 2003-05-11 Jason Eckhardt <jle@rice.edu>
  1533. * config/tc-i860.c (MAX_FIXUPS): Define.
  1534. (struct i860_fi fi[]): New struct.
  1535. (struct i860_it the_insn): Add above as member and move fields
  1536. exp, reloc, pcrel and fup into i860_fi.
  1537. (md_assemble): Replace all instances of exp, reloc, pcrel
  1538. and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
  1539. Add a loop to possibly emit multiple fix-ups for each insn.
  1540. (i860_process_insn): Likewise.
  1541. (i860_get_expression): Likewise.
  1542. (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
  1543. 2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1544. * config/tc-s390.c (s390_target_format): Always call init_default_arch.
  1545. 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
  1546. * config/tc-ia64.c (alias_hash): New.
  1547. (alias_name_hash): New.
  1548. (secalias_hash): New.
  1549. (secalias_name_hash): New.
  1550. (md_pseudo_table): Add "secalias".
  1551. (md_begin): Initialize alias_hash, alias_name_hash,
  1552. secalias_hash and secalias_name_hash.
  1553. (struct alias): New.
  1554. (dot_alias): Implement .alias and .secalias directives.
  1555. (do_alias): New.
  1556. (ia64_adjust_symtab): New.
  1557. (do_secalias): New.
  1558. (ia64_frob_file): New.
  1559. * config/tc-ia64.h (ia64_adjust_symtab): New.
  1560. (tc_adjust_symtab): Defined.
  1561. (ia64_frob_file): New.
  1562. (tc_frob_file): Defined.
  1563. 2003-05-07 Dmitry Diky <diwil@mail.ru>
  1564. * tc-msp430.c: Add missing lines to known cpus list.
  1565. 2003-05-06 Alexandre Oliva <aoliva@redhat.com>
  1566. * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
  1567. * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
  1568. * config.in, configure: Rebuilt.
  1569. 2003-05-05 H.J. Lu <hjl@gnu.org>
  1570. * config/tc-mips.c (tc_gen_reloc): Add addend just once if
  1571. howto->partial_inplace is false.
  1572. 2003-05-05 Daniel Jacobowitz <drow@mvista.com>
  1573. * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
  1574. symbol_used_in_reloc_p check.
  1575. (md_apply_fix3): Remove check for howto->pcrel_offset.
  1576. 2003-05-03 H.J. Lu <hjl@gnu.org>
  1577. * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
  1578. fatal error for unknown section attribute.
  1579. * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
  1580. unknown section attribute.
  1581. * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
  1582. * config/tc-ppc.c (ppc_section_letter): Likewise.
  1583. * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
  1584. (ia64_elf_section_type): Accept "unwind".
  1585. 2003-05-02 H.J. Lu <hjl@gnu.org>
  1586. * read.h (demand_copy_string): New.
  1587. * config/tc-alpha.c (demand_copy_string): Removed.
  1588. 2003-05-02 Michael Snyder <msnyder@redhat.com>
  1589. * write.h (FAKE_LABEL_NAME): Allow override
  1590. (for targets that like eg. a leading dot in a local label).
  1591. 2003-05-02 Nick Clifton <nickc@redhat.com>
  1592. * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
  1593. addend with the symbol's value for pc-relative relocations against
  1594. a defined symbol - this will be done automatically.
  1595. 2003-05-01 H.J. Lu <hjl@gnu.org>
  1596. * config/obj-elf.c (obj_elf_type): Accept "notype" and
  1597. "STT_NOTYPE".
  1598. 2003-05-01 H.J. Lu <hjl@gnu.org>
  1599. * config/tc-ia64.h (tc_canonicalize_section_name): New.
  1600. * config/obj-elf.c (obj_elf_section_name): Call
  1601. tc_canonicalize_section_name if it is defined.
  1602. 2003-05-01 H.J. Lu <hjl@gnu.org>
  1603. * config/tc-ia64.c (ia64_check_label): New.
  1604. * config/tc-ia64.h (tc_check_label): New.
  1605. * read.c (read_a_source_file): Call tc_check_label after
  1606. creating a user-defined label if defined.
  1607. 2003-05-02 Alan Modra <amodra@bigpond.net.au>
  1608. * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
  1609. -be and split strings to below 509 bytes in length.
  1610. 2003-05-01 Christian Groessler <chris@groessler.org>
  1611. * expr.h: Fix comments in operatorT typedef.
  1612. * config/tc-z8k.c: Add 2003 to copyright message.
  1613. Fold s_segm() and s_unseg() into one function s_segm(parm) which
  1614. decides by the parameter.
  1615. (md_begin): Don't set linkrelax. Only set Z8002 default if no
  1616. command line argument was given to select the intended
  1617. architecure.
  1618. (get_interrupt_operand): Warn if NOP type code is emitted.
  1619. (newfix): New parameter 'size', forward it to 'fix_new_exp'.
  1620. (apply_fix): Call newfix with additional 'size' parameter.
  1621. (build_bytes): Remove unused variable 'nib'. Detect overflow in
  1622. 4 bit immediate arguments.
  1623. (md_longopts): Add 'linkrelax' option.
  1624. (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
  1625. variable when 'linkrelax' command line option is specified.
  1626. (md_show_usage): Display 'linkrelax' option.
  1627. (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
  1628. R_CALLR and R_REL16.
  1629. * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
  1630. 2003-04-30 H.J. Lu <hjl@gnu.org>
  1631. * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
  1632. (ia64_float_to_chars): Likewise.
  1633. (dot_byteorder): Set target_big_endian, ia64_number_to_chars
  1634. and ia64_float_to_chars by tc_segment_info_data.endian from
  1635. the current segment if byteorder == -1.
  1636. (md_begin): Call dot_byteorder to set target_big_endian.
  1637. (md_atof): Call ia64_float_to_chars to convert floating point.
  1638. (ia64_float_to_chars_bigendian): New function.
  1639. (ia64_float_to_chars_littleendian): Likewise.
  1640. (ia64_elf_section_change_hook): Likewise.
  1641. * config/tc-ia64.h (ia64_number_to_chars): New.
  1642. (md_number_to_chars): Changed to (*ia64_number_to_chars)
  1643. (ia64_elf_section_change_hook): New.
  1644. (md_elf_section_change_hook): Defined.
  1645. (ia64_segment_info_type): New struct.
  1646. (TC_SEGMENT_INFO_TYPE): Defined.
  1647. 2003-04-30 H.J. Lu <hjl@gnu.org>
  1648. * config/tc-ia64.c (md_section_align): Deleted.
  1649. * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
  1650. (md_section_align): New.
  1651. 2003-04-30 H.J. Lu <hjl@gnu.org>
  1652. * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
  1653. and add real16.
  1654. (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
  1655. "real16.ua".
  1656. (md_atof): Add 6 byte padding of zero for real16.
  1657. 2003-04-29 Nick Clifton <nickc@redhat.com>
  1658. * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
  1659. start of a version name.
  1660. 2003-04-28 Chris Demetriou <cgd@broadcom.com>
  1661. * configure.in (mips-*-*n*bsd*): Replace with...
  1662. (mips-*-netbsd*, mips-*-openbsd*): These.
  1663. * configure: Regenerate.
  1664. 2003-04-28 H.J. Lu <hjl@gnu.org>
  1665. * config/tc-hppa.c (hppa_symbol_chars): New.
  1666. * config/tc-hppa.h (tc_symbol_chars): Likewise.
  1667. 2003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1668. * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
  1669. 2003-04-25 Chris Demetriou <cgd@broadcom.com>
  1670. * NEWS: Belatedly mention support for MIPS32 Release 2.
  1671. 2003-04-24 Eric Christopher <echristo@redhat.com>
  1672. * config/tc-mips.c (nopic_need_relax): Revert previous
  1673. change.
  1674. 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  1675. * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
  1676. * config/tc-h8300.c (dwarf2dbg.h): Include
  1677. (md_pseudo_table): Handle .loc and .file
  1678. (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
  1679. * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
  1680. * Makefile.in: Regenerate.
  1681. 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
  1682. * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
  1683. (md_pseudo_table): Add h8300hn, h8300sn.
  1684. * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
  1685. * doc/c-h8300.texi : Add documentation for new machine directives.
  1686. 2003-04-24 Nick Clifton <nickc@redhat.com>
  1687. * config/tc-ppc.c (ppc_symbol_chars): Define.
  1688. * config/tc-ppc.h (tc_symbol_chars): Define.
  1689. 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
  1690. * config/tc-sh.c: Amend comment to refer to SuperH.
  1691. * config/tc-sh.h: Likewise.
  1692. (LISTING_HEADER): Amend to refer to SuperH.
  1693. * config/tc-sh64.c: Change comment to refer to SuperH.
  1694. * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
  1695. * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
  1696. * doc/c-sh.texi: Amend to refer to SuperH.
  1697. Add SuperH architecture documentation references.
  1698. * doc/c-sh64.texi: Change to refer to SuperH.
  1699. 2003-04-23 H.J. Lu <hjl@gnu.org>
  1700. * app.c (do_scrub_chars): More checks for valid labels.
  1701. 2003-04-22 H.J. Lu <hjl@gnu.org>
  1702. * app.c (do_scrub_chars): Check for valid label.
  1703. 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1704. * doc/as.texinfo: Replace references to Mitsubishi M32R with
  1705. references to Renesas M32R.
  1706. * doc/c-m32r.texi: Likewise.
  1707. 2003-04-21 Richard Henderson <rth@redhat.com>
  1708. * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
  1709. (out_file_list): Assign non-null filename after generating error.
  1710. 2003-04-18 Jakub Jelinek <jakub@redhat.com>
  1711. * ehopt.c (check_eh_frame): For aug_size == 0
  1712. in state_seeing_aug_size state skip the state_skipping_aug
  1713. state.
  1714. 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
  1715. * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
  1716. 'Renesas'.
  1717. * doc/c-h8500.texi: Likewise.
  1718. * doc/c-sh.texi: Likewise.
  1719. * doc/c-sh64.texi: Likewise.
  1720. * doc/h8.texi: Likewise.
  1721. * config/tc-h8300.c: Likewise.
  1722. * config/tc-h8300.h: Likewise.
  1723. * config/tc-h8500.c: Likewise.
  1724. * config/tc-h8500.h: Likewise.
  1725. * config/tc-sh.c: Likewise.
  1726. * config/tc-sh.h: Likewise.
  1727. * config/tc-sh64.c: Likewise.
  1728. * config/tc-sh64.h: Likewise.
  1729. 2003-04-10 Alexandre Oliva <aoliva@redhat.com>
  1730. * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
  1731. * config/tc-mips.c: Use signed add for n32 address arithmetic.
  1732. (append_insn): When filling delay slots with instructions
  1733. that have fixups that tc_gen_reloc might consider modifyable
  1734. in variant frags, start a new frag.
  1735. (load_address): Generate GOT_DISP with of without offset
  1736. depending on whether symbol is local. For -xgot, use
  1737. GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
  1738. (macro) <M_DLA_AB, M_LA_AB>: Likewise.
  1739. <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
  1740. CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
  1741. <ld_st>: In NewABI with small got, always use
  1742. GOT_PAGE/GOT_OFST, with the latter in the load/store
  1743. instruction. With big got, use GOT_HI16/GOT_LO16 or
  1744. GOT_PAGE/GOT_OFST.
  1745. (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
  1746. Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
  1747. GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
  1748. (md_convert_frag): Use memmove for safe copying of overlapping
  1749. regions.
  1750. 2003-04-09 Stephane Carrez <stcarrez@nerim.fr>
  1751. * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
  1752. -mlong, -mshort-double and -mlong-double options; use table @code.
  1753. (M68HC11-Syntax): Update to document 68HC12 operands.
  1754. (M68HC11-Modifiers): New section for operand modifiers.
  1755. (M68HC11-Directives): New section for specific assembler directives.
  1756. (M68HC11-Branch): Fix Overfull hbox error.
  1757. 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
  1758. * config/tc-mips.c (macro): Add comments explaining the rationale
  1759. for Chris' change.
  1760. 2003-04-09 Chris Demetriou <cgd@broadcom.com>
  1761. * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
  1762. constant address that Alexandre took out by accident. Reject
  1763. 64-bit addresses that are not sign extensions of 32 bits only if
  1764. we don't support 64-bit address constants.
  1765. 2003-04-09 Alan Modra <amodra@bigpond.net.au>
  1766. * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
  1767. 2003-04-08 Nick Clifton <nickc@redhat.com>
  1768. * as.c (perform_an_assembly_pass): If using cgen, call
  1769. gas_cgen_begin.
  1770. * cgen.c (gas_cgen_begin): New function. If
  1771. flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
  1772. otherwise call cgen_clear_signed_overflow_ok.
  1773. * cgen.h: Prototype gas_cgen_begin.
  1774. 2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1775. * write.c (write_relocs): Remove unused variable.
  1776. 2003-04-06 Chris Demetriou <cgd@broadcom.com>
  1777. * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
  1778. (macro): Use new macro to decide whether to emit constant address
  1779. as 32 or 64 bits if addresses are 32-bit wide but registers are
  1780. 64-bit wide.
  1781. 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
  1782. * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
  1783. (M6811_OP_PAGE_ADDR): New internal define.
  1784. (get_operand): New modifier %page and %addr to obtain page and
  1785. address part of a far-function.
  1786. (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
  1787. complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
  1788. relocs.
  1789. (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
  1790. (find_opcode): Add comment.
  1791. (md_estimate_size_before_relax): Force relocation of
  1792. STATE_UNDEXED_OFFSET types when the symbol is not absolute.
  1793. (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
  1794. instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
  1795. on the symbol itself so that DWARF2 strings are merged correctly.
  1796. 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
  1797. * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
  1798. default tic4x target format to 'coff2-tic4x'.
  1799. * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
  1800. s/c3x/tic3x/
  1801. * config/tc-tic4x.h: Ditto
  1802. 2003-04-03 Nick Clifton <nickc@redhat.com>
  1803. * NEWS: Mention support for Xtensa architecture.
  1804. 2003-04-02 Philip Blundell <philb@gnu.org>
  1805. * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
  1806. 2003-04-02 Chris Demetriou <cgd@broadcom.com>
  1807. * config/tc-mips.c (macro2): Adjust implementation of
  1808. M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
  1809. in the case where the source and destination registers
  1810. are the same.
  1811. 2003-04-01 Bob Wilson <bob.wilson@acm.org>
  1812. * Makefile.am (CPU_TYPES): Add xtensa.
  1813. (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
  1814. (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
  1815. (xtensa-relax.o): New target.
  1816. Run "make dep-am".
  1817. * Makefile.in: Regenerate.
  1818. * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
  1819. extra_objects for xtensa targets.
  1820. * configure: Regenerate.
  1821. * write.c (write_object_file): Add new md_post_relax_hook.
  1822. * config/tc-xtensa.c: New file.
  1823. * config/tc-xtensa.h: Likewise.
  1824. * config/xtensa-istack.h: Likewise.
  1825. * config/xtensa-relax.c: Likewise.
  1826. * config/xtensa-relax.h: Likewise.
  1827. * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
  1828. * doc/Makefile.in: Regenerate.
  1829. * doc/all.texi: Set new XTENSA variable.
  1830. * doc/as.texinfo: Set new Xtensa variable. Describe
  1831. Xtensa-specific options. Define line comment character for
  1832. Xtensa. Add Xtensa processors to list of ELF targets where
  1833. alignment is specified in bytes. Add new Xtensa-Dependent node.
  1834. Add acknowledgements for those contributing to the Xtensa port.
  1835. * doc/internals.texi: Describe new md_post_relax_hook.
  1836. * doc/c-xtensa.texi: New file.
  1837. 2003-04-01 Nick Clifton <nickc@redhat.com>
  1838. Richard Earnshaw <rearnsha@arm.com>
  1839. * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
  1840. (ARM_ARCH_IWMMXT): Simplify.
  1841. (insns): Place iwmmx instructions in correct place in table.
  1842. (arm_add_note): New function: Add a note entry to a .note section.
  1843. (md_begin): Make the default architecture be unknown.
  1844. Suppress the creation of an arm note section.
  1845. 2003-03-26 Eric Christopher <echristo@redhat.com>
  1846. * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
  1847. 2003-03-25 Stan Cox <scox@redhat.com>
  1848. Nick Clifton <nickc@redhat.com>
  1849. Contribute support for Intel's iWMMXt chip - an ARM variant:
  1850. * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
  1851. WC_PREFIX, REG_TYPE_IWMMXT): New constants.
  1852. (enum wreg_type, enum iwmmxt_insn_type): New types.
  1853. (wr_register, wc_register, wcg_register): New macros.
  1854. (iwmmxt_table): New variable.
  1855. (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
  1856. do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
  1857. do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
  1858. do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
  1859. do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
  1860. do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
  1861. do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
  1862. cp_byte_address_offset, cp_byte_address_required_here,
  1863. check_iwmmxt_insn): New functions.
  1864. (asm_opcode_insns): Add iWMMXt instructions.
  1865. (md_begin): Set the mach value for iWMMXt targets. Create a note
  1866. section to identify iwmmxt binaries.
  1867. (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
  1868. * doc/c-arm.texi: Document the support for the iWMMXt.
  1869. * NEWS: Mention new support.
  1870. 2003-03-24 Daniel Néri <dne@mayonnaise.net>
  1871. * doc/as.texinfo: Rename the all occurances of C54X to TIC54X.
  1872. * doc/all.texi: Likewise.
  1873. * doc/c-tic54x.texi: Likewise.
  1874. 2003-03-21 Andreas Schwab <schwab@suse.de>
  1875. * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
  1876. avoid aliasing issue.
  1877. 2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1878. * config/tc-s390.c (s390_arch_size): Initialize to zero.
  1879. (current_arch_mask): Rename to current_mode_mask.
  1880. (current_arch_requested): Remove variable.
  1881. (current_cpu): New variable.
  1882. (init_default_arch): Set defaults values for s390_arch_size,
  1883. current_mode_mask and current_cpu.
  1884. (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
  1885. (md_begin): Replace current_arch_mask by current_cpu.
  1886. (md_assemble): Adapt check and error message to current_mode_mask and
  1887. current_cpu.
  1888. 2003-03-09 James E Wilson <wilson@tuliptree.org>
  1889. * macro.c (buffer_and_nest): Store more to sb instead of '\n'.
  1890. * read.c (get_line_sb): Return end of line character or '\n' if
  1891. it is zero or non-existent.
  1892. 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
  1893. * config/tc-mips.c (mips_validate_fix): New function.
  1894. * config/tc-mips.h (TC_VALIDATE_FIX): Define.
  1895. (mips_validate_fix): Declare.
  1896. 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
  1897. * Reverted 2003-03-02's patch.
  1898. 2003-03-11 Steve Ellcey <sje@cup.hp.com>
  1899. * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
  1900. (TC_DWARF2_EMIT_OFFSET): Provide default.
  1901. (out_debug_aranges, out_debug_info): Use it.
  1902. * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
  1903. (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
  1904. (ia64_gen_real_reloc_type): ... here.
  1905. * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
  1906. 2003-03-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1907. * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
  1908. (s_mips_ent): Likewise.
  1909. 2003-03-04 Dmitry Diky <diwil@mail.ru>
  1910. * config/tc-msp430.c (mcu_types): Add recently announced x1122
  1911. and x1123 devices, add missed x437.
  1912. (md_show_usage): Sort device list.
  1913. 2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
  1914. * config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
  1915. (md_begin): Use preset_target_arch.
  1916. (md_longopts): Make isa option unconditional.
  1917. (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
  1918. set preset_target_arch.
  1919. (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
  1920. by -S_GET_VALUE (fixP->fx_subsy).
  1921. (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
  1922. and the addend is 0.
  1923. Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
  1924. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
  1925. 2003-03-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1926. * config/tc-mips.c (append_insn): Add handling of
  1927. BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
  1928. BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
  1929. misaligned address and reange overflow.
  1930. (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
  1931. earlier warnings about misaligned address and reange overflow.
  1932. (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
  1933. (md_apply_fix): Likewise. Fix warning output.
  1934. (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
  1935. Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
  1936. (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
  1937. 2003-02-21 Nick Clifton <nickc@redhat.com>
  1938. * NEWS: Mention availability of test generator program.
  1939. 2003-02-21 Miles Bader <miles@gnu.org>
  1940. * config/tc-v850.c (system_registers): Add v850e debug registers.
  1941. (system_register_name): Accept up to 27 (the last v850e sys register).
  1942. 2003-02-21 Bob Wilson <bob.wilson@acm.org>
  1943. * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
  1944. relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
  1945. Capitalize section headings consistently. Format index entries more
  1946. consistently. Unconditionalize text about whether text and data
  1947. sections are alterable. Use @ifnottex for alternatives to @tex output
  1948. so that HTML works. Clean up COFF vs. ELF descriptions of .section,
  1949. .size and .type directives. Be more polite about bad bug reports.
  1950. Move FDL into a separate file.
  1951. * doc/fdl.texi: New file.
  1952. 2003-02-21 Richard Sandiford <rsandifo@redhat.com>
  1953. * config/tc-mips.c (prev_reloc_op_frag): New variable.
  1954. (macro): Check it to decide whether a new frag is needed.
  1955. (my_getSmallExpression): Set it.
  1956. 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
  1957. * cgen.c: Fix typo: intial -> initial.
  1958. 2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
  1959. * app.c (do_scrub_chars): Handle '||' in two states.
  1960. 2003-02-13 Alan Modra <amodra@bigpond.net.au>
  1961. * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
  1962. * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
  1963. 2003-02-11 Uwe Stieber <uwe@wwws.de>
  1964. * configure.in: Add support for kaOS as cross build target system.
  1965. * configure: Regenerated.
  1966. 2003-02-10 Nick Clifton <nickc@redhat.com>
  1967. * config/tc-arm.c (md_begin): If the Maverick co-processor is
  1968. selected, set the EF_ARM_MAVERICK_FLOAT flag and
  1969. bfd_mach_arm_ep9312 machine number.
  1970. 2003-02-08 Richard Sandiford <rsandifo@redhat.com>
  1971. * config/tc-mips.c (reloc_needs_lo_p): New function.
  1972. (fixup_has_matching_lo_p): New function.
  1973. (append_insn): Use reloc_needs_lo_p to check whether a relocation
  1974. might need a matching %lo(). Reuse the head of mips_hi_fixup_list
  1975. if that fixup already has a matching %lo(). Don't call frag_wane here.
  1976. (macro): Call frag_wane here if the last unmatched hi was in the
  1977. current frag.
  1978. (pic_need_relax): New function, split out from...
  1979. (md_estimate_size_before_relax): ...here.
  1980. (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
  1981. whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
  1982. 2003-02-07 Richard Sandiford <rsandifo@redhat.com>
  1983. * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
  1984. 2003-02-06 Alan Modra <amodra@bigpond.net.au>
  1985. * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
  1986. x@toc+off works.
  1987. 2003-02-05 Alan Modra <amodra@bigpond.net.au>
  1988. * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
  1989. (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
  1990. accept x@got+off etc.
  1991. (md_assemble): Handle TLS relocs.
  1992. (ppc_force_relocation): Force for all TLS relocs.
  1993. (ppc_fix_adjustable): Likewise.
  1994. (md_apply_fix3): Handle TLS relocs.
  1995. 2003-02-04 Alan Modra <amodra@bigpond.net.au>
  1996. * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
  1997. SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
  1998. 2003-02-02 Richard Sandiford <rsandifo@redhat.com>
  1999. * config/tc-mips.c (enum small_ex_type): Remove.
  2000. (imm_unmatched_hi): Remove.
  2001. (md_assemble): Remove use of imm_unmatched_hi. Remove the last
  2002. argument from calls to append_insn.
  2003. (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
  2004. instead.
  2005. (macro_build): Update append_insn calls.
  2006. (mips16_macro_build, macro_build_lui): Likewise.
  2007. (mips_ip): Rework handling of small expressions. Move explicit
  2008. relocation handling into my_getSmallExpression. Assume that the
  2009. value of 'o' operands is zero if there is only one bracketed
  2010. expression left.
  2011. (percent_op): Make constant. Record the BFD relocation code
  2012. associated with each operator.
  2013. (my_getSmallParser, my_getPercentOp): Remove.
  2014. (parse_relocation): New function.
  2015. (my_getSamllExpression): Rework. Fill in relocations here
  2016. rather than in mips_ip.
  2017. 2003-01-29 Nick Clifton <nickc@redhat.com>
  2018. * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
  2019. assembler's handling of # <linenum> "<filename>" directives work.
  2020. 2003-01-28 Jakub Jelinek <jakub@redhat.com>
  2021. * dwarf2dbg.c: Include filenames.h.
  2022. (struct file_entry): Make filename const char *.
  2023. (dirs, dirs_in_use, dirs_allocated): New variables.
  2024. (get_filenum): Add NUM argument. Build directory table.
  2025. (dwarf2_where): Adjust caller.
  2026. (dwarf2_directive_file): Use get_filenum to allocate
  2027. slot in file and directory tables.
  2028. (dwarf2_directive_loc): Recreate full filename from
  2029. directory and filename part if needed for listing.
  2030. (out_file_list): Output directory table.
  2031. Output main source file dirname before its filename.
  2032. 2003-01-28 Dmitry Diky <diwil@mail.ru>
  2033. * config/tc-msp430.c: Replace occurences of 'tolower' with
  2034. 'TOLOWER'.
  2035. 2003-01-27 David Mosberger <davidm@hpl.hp.com>
  2036. * config/tc-ia64.c (dot_vframesp): Correct error message.
  2037. (dot_vframepsp): Ditto.
  2038. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  2039. * configure.in (em): Set to irix on all Irix systems.
  2040. * configure: Rebuilt.
  2041. * config/te-irix.h: New file.
  2042. * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
  2043. whether to use Irix-specific 64-bit format.
  2044. 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2045. * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
  2046. 2003-01-25 Jakub Jelinek <jakub@redhat.com>
  2047. * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
  2048. (tc_gen_reloc): Handle TLS relocs.
  2049. (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
  2050. * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
  2051. relocs.
  2052. * config/obj-elf.c (obj_elf_section_word): Handle tls.
  2053. (obj_elf_type): Handle tls_object.
  2054. 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2055. * config/tc-s390.c (s390_tls_suffix): New function.
  2056. (elf_suffix_type): Add suffix enums for TLS relocations.
  2057. (s390_elf_suffix): Add suffix strings for TLS relocations.
  2058. (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
  2059. bfd relocations.
  2060. (md_gather_operands): Map new instruction operand/elf suffix
  2061. combinations for TLS to bfd relocations.
  2062. (tc_s390_fix_adjustable): Add new TLS relocations.
  2063. (tc_s390_force_relocation): Likewise.
  2064. (md_apply_fix3): Likewise.
  2065. 2003-01-24 Alan Modra <amodra@bigpond.net.au>
  2066. * as.h: Update copyright date.
  2067. * symbols.c: Likewise.
  2068. * config/tc-d10v.h: Likewise.
  2069. * config/tc-fr30.h: Likewise.
  2070. * config/tc-i960.h: Likewise.
  2071. * config/tc-mips.h: Likewise.
  2072. * config/tc-hppa.h (DIFF_EXPR_OK): Define.
  2073. (MD_APPLY_SYM_VALUE): Move.
  2074. 2003-01-23 Nick Clifton <nickc@redhat.com>
  2075. * NEWS: Announce sh2e support.
  2076. Add sh2e support:
  2077. 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
  2078. * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
  2079. (sh_elf_final_processing): Handle arch_sh2e.
  2080. 2003-01-23 Alan Modra <amodra@bigpond.net.au>
  2081. * symbols.c (S_FORCE_RELOC): Add "strict" param.
  2082. * symbols.h (S_FORCE_RELOC): Likewise.
  2083. * config/obj-aout.h (S_FORCE_RELOC): Likewise.
  2084. * config/obj-bout.h (S_FORCE_RELOC): Likewise.
  2085. * config/obj-coff.h (S_FORCE_RELOC): Likewise.
  2086. * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
  2087. * config/obj-vms.h (S_FORCE_RELOC): Likewise.
  2088. * write.c (generic_force_reloc): New function.
  2089. (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
  2090. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
  2091. (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
  2092. * as.h (generic_force_reloc): Declare.
  2093. * doc/internals.texi (S_FORCE_RELOC): Update.
  2094. (TC_FORCE_RELOCATION_SUB_SAME): Update.
  2095. * config/tc-alpha.c (alpha_force_relocation): Adjust to use
  2096. generic_force_reloc.
  2097. (alpha_fix_adjustable): Likewise.
  2098. * config/tc-arm.c (arm_force_relocation): Likewise.
  2099. * config/tc-cris.c (md_cris_force_relocation): Likewise.
  2100. * config/tc-frv.c (frv_force_relocation): Likewise.
  2101. * config/tc-i386.c (md_apply_fix3): Likewise.
  2102. * config/tc-ia64.c (ia64_force_relocation): Likewise.
  2103. * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
  2104. * config/tc-m32r.c (m32r_force_relocation): Likewise.
  2105. * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
  2106. * config/tc-mcore.c (mcore_force_relocation): Likewise.
  2107. * config/tc-mips.c (mips_force_relocation): Likewise.
  2108. * config/tc-mmix.c (mmix_force_relocation): Likewise.
  2109. * config/tc-ppc.c (ppc_force_relocation): Likewise.
  2110. * config/tc-s390.c (tc_s390_force_relocation): Likewise.
  2111. * config/tc-sh.c (sh_force_relocation): Likewise.
  2112. (md_pcrel_from_section): Likewise.
  2113. * config/tc-sparc.c (tc_gen_reloc): Likewise.
  2114. * config/tc-v850.c (v850_force_relocation): Likewise.
  2115. * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
  2116. * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
  2117. * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
  2118. * config/tc-sparc.h (tc_fix_adjustable): Likewise.
  2119. * config/tc-d10v.c (d10v_force_relocation): Delete.
  2120. * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
  2121. * config/tc-dlx.c (md_dlx_force_relocation): Delete.
  2122. * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
  2123. * config/tc-fr30.c (fr30_force_relocation): Delete.
  2124. * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
  2125. * config/tc-mn10300.c (mn10300_force_relocation): Delete.
  2126. * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
  2127. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
  2128. * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
  2129. * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
  2130. * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
  2131. * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
  2132. * config/tc-openrisc.c (openrisc_force_relocation): Delete.
  2133. * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
  2134. * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
  2135. * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
  2136. * config/tc-i386.c (i386_force_relocation): Delete.
  2137. * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
  2138. BFD_ASSEMBLER.
  2139. (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
  2140. * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
  2141. * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
  2142. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
  2143. S_FORCE_RELOC.
  2144. (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
  2145. * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
  2146. 2003-01-23 Alan Modra <amodra@bigpond.net.au>
  2147. * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
  2148. sh64_elf_section_data.
  2149. * config/tc-sh64.h: Include elf32-sh64.h.
  2150. * config/tc-m68hc11.c: Don't include stdio.h.
  2151. (md_show_usage): Fix missing continuation.
  2152. * Makefile.am: Run "make dep-am".
  2153. * Makefile.in: Regenerate.
  2154. 2003-01-22 Nick Clifton <nickc@redhat.com>
  2155. * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
  2156. 2003-01-21 Fabio Alemagna <falemagn@aros.org>
  2157. * configure.in: Handle *-*-aros*.
  2158. * configure: Regenerated from configure.in.
  2159. 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2160. * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
  2161. gotplt and pltoff relocations.
  2162. (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
  2163. (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
  2164. gotplt and pltoff to bfd relocations.
  2165. (md_gather_operands): Map new instruction operand/elf suffix
  2166. combinations to bfd relocations.
  2167. (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
  2168. to the list of unadjustable relocations.
  2169. (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
  2170. and pltoff relocations.
  2171. (md_apply_fix3): Add the new relocations.
  2172. 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2173. * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
  2174. with a subsy symbol.
  2175. 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
  2176. * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
  2177. of relocs for memory bank addressing.
  2178. 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
  2179. * config/tc-m68hc11.c (md_show_usage): Update usage.
  2180. (md_parse_option): Recognize -m68hcs12.
  2181. (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
  2182. HCS12.
  2183. * doc/as.texinfo (Overview): Document new option -m68hcs12.
  2184. 2003-01-16 Jakub Jelinek <jakub@redhat.com>
  2185. * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
  2186. 2003-01-16 Alan Modra <amodra@bigpond.net.au>
  2187. * Makefile.am: Run "make dep-am".
  2188. * Makefile.in: Regenerate.
  2189. * po/POTFILES.in: Regenerate.
  2190. 2003-01-11 Alan Modra <amodra@bigpond.net.au>
  2191. * read.c (get_absolute_expr): New, split out from..
  2192. (get_absolute_expression): ..here.
  2193. * read.h (get_absolute_expr): Declare.
  2194. * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
  2195. Trim size to arch bits_per_address, and test for negative input
  2196. via get_absolute_expr.
  2197. 2003-01-07 DJ Delorie <dj@redhat.com>
  2198. * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
  2199. on operand type.
  2200. (xstormy16_md_apply_fix3): Use adjustment.
  2201. 2003-01-02 Ben Elliston <bje@redhat.com>
  2202. * configure.in: Add iq2000-elf target.
  2203. * configure: Regenerate.
  2204. * config/tc-iq2000.c: New file.
  2205. * config/tc-iq2000.h: Likewise.
  2206. * po/gas.pot: Regenerate.
  2207. 2003-01-02 Chris Demetriou <cgd@broadcom.com>
  2208. * config/tc-mips.c: Update copyright years to include 2003.
  2209. (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
  2210. Additionally, clean up their code slightly and clean up their
  2211. comments some more.
  2212. * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
  2213. 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
  2214. * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
  2215. $(CPU_DOCS)".
  2216. * doc/Makefile.in: Regenerate.
  2217. 2003-01-01 John David Anglin <dave.anglin@nrc.ca>
  2218. * config/obj-elf.c (special_sections): Work around HP's incorrect usage
  2219. of .init and .fini sections for array initializers and finalizers.
  2220. 2002-12-31 Chris Demetriou <cgd@broadcom.com>
  2221. * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
  2222. the "+D" operand, which will be used only by the disassembler.
  2223. 2002-12-30 Chris Demetriou <cgd@broadcom.com>
  2224. * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
  2225. CPU variants.
  2226. * configure: Regenerate.
  2227. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
  2228. (macro_build): Handle "K" operand.
  2229. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
  2230. CPU_HAS_DROR and CPU_HAS_ROR are currently used.
  2231. (mips_ip): New variable "lastpos", and implement "+A", "+B",
  2232. and "+C" operands for MIPS32 Release 2 ins/ext instructions.
  2233. Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
  2234. (validate_mips_insn): Implement "+" as a way to extend the
  2235. allowed operands, and implement "K", "+A", "+B", and "+C"
  2236. operands.
  2237. (OPTION_MIPS32R2): New define.
  2238. (md_longopts): Add entry for OPTION_MIPS32R2.
  2239. (OPTION_ELF_BASE): Adjust to accommodate OPTIONS_MIPS32R2.
  2240. (md_parse_option): Handle OPTION_MIPS32R2.
  2241. (s_mipsset): Reimplement handling of ".set mipsN" options
  2242. and add support for ".set mips32r2".
  2243. (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
  2244. (md_show_usage): Document "-mips32r2" option.
  2245. * doc/as.texinfo: Document "-mips32r2" option.
  2246. * doc/c-mips.texi: Likewise.
  2247. 2002-12-30 Dmitry Diky <diwil@mail.ru>
  2248. * configure.in: Add msp430 target.
  2249. * configure: Regenerate.
  2250. * Makefile.am: Add msp430 target.
  2251. * Makefile.in: Regenerate.
  2252. * config/tc-msp430.c: New file: msp430 assembler.
  2253. * config/tc-msp430.h: New file: target macros for msp430.
  2254. * doc/Makefile.am: Add msp430 target.
  2255. * doc/Makefile.in: Regenerate.
  2256. * doc/as.texinfo: Include msp430 documenation.
  2257. * doc/all.texi: Enable msp430 documentation.
  2258. * doc/c-msp430.texi: New file: document msp430 specific features
  2259. of the assembler.
  2260. 2002-12-25 Alexandre Oliva <aoliva@redhat.com>
  2261. * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
  2262. (dwarf2_finish): Use it.
  2263. * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
  2264. * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
  2265. 2002-12-20 DJ Delorie <dj@redhat.com>
  2266. * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
  2267. BFD_RELOC_XSTORMY16_12.
  2268. 2002-12-19 Alan Modra <amodra@bigpond.net.au>
  2269. * doc/as.texinfo (Invoking): Typo fix.
  2270. * config/tc-tic54x.c (encode_operand): Comment typo fix.
  2271. 2002-12-18 Kazu Hirata <kazu@cs.umass.edu>
  2272. * doc/c-alpha.texi: Fix typos.
  2273. * doc/c-arm.texi: Likewise.
  2274. * doc/c-d10v.texi: Likewise.
  2275. * doc/c-i370.texi: Likewise.
  2276. * doc/c-i960.texi: Likewise.
  2277. * doc/c-ia64.texi: Likewise.
  2278. * doc/c-mmix.texi: Likewise.
  2279. * doc/c-ns32k.texi: Likewise.
  2280. * doc/c-pdp11.texi: Likewise.
  2281. * doc/c-pj.texi: Likewise.
  2282. * doc/c-sh64.texi: Likewise.
  2283. * doc/c-sparc.texi: Likewise.
  2284. * doc/c-tic54x.texi: Likewise.
  2285. * doc/c-v850.texi: Likewise.
  2286. * doc/c-vax.texi: Likewise.
  2287. * doc/internals.texi: Likewise.
  2288. 2002-12-18 Chris Demetriou <cgd@broadcom.com>
  2289. * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
  2290. use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
  2291. M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
  2292. arrange not to issue warnings about use of AT when AT is not
  2293. actually used.
  2294. 2002-12-17 Nick Clifton <nickc@redhat.com>
  2295. * as.c (std_longopts): Duplicate --keep-locals entry in order to
  2296. prevent it being confused with -k.
  2297. 2002-12-16 Andrew MacLeod <amacleod@redhat.com>
  2298. * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
  2299. has already been set up, use it.
  2300. 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
  2301. * ChangeLog-9295: Fix a typo.
  2302. * README: Likewise.
  2303. * config/tc-d10v.c: Fix a comment typo.
  2304. * config/tc-dlx.c: Likewise.
  2305. * config/tc-h8300.h: Likewise.
  2306. * config/tc-h8500.h: Likewise.
  2307. * config/tc-mips.c: Likewise.
  2308. * config/tc-s390.c: Likewise.
  2309. * config/tc-sh.h: Likewise.
  2310. * config/tc-tic80.h: Likewise.
  2311. * config/tc-w65.h: Likewise.
  2312. * config/tc-z8k.c: Likewise.
  2313. * config/tc-z8k.h: Likewise.
  2314. 2002-12-16 Alan Modra <amodra@bigpond.net.au>
  2315. * config/tc-d30v.c (check_range): Warning fixes, formatting.
  2316. Simplify sign extension. Remove redundant unsigned < 0 test.
  2317. * config/tc-i960.c (md_ri_to_chars): Prototype.
  2318. * config/tc-mcore.c (md_pseudo_table): Fix typo.
  2319. (dump_literals): Init brarsym, and test later instead of isforce.
  2320. * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
  2321. (parse): Constify line and lineptr.
  2322. (md_begin): Calculate endop here.
  2323. 2002-12-13 Alan Modra <amodra@bigpond.net.au>
  2324. * config/obj-vms.c: Formatting. Include fnctl.h.
  2325. (Create_VMS_Object_File): Fix creat call for sane unix systems.
  2326. (Object_Record_Offset): Make it a size_t.
  2327. (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
  2328. (VMS_TBT_Routine_End <Size>): Make var unsigned long.
  2329. (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
  2330. (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
  2331. (vms_fixup_data_section <data_size>): Add here instead.
  2332. * config/e-criself.c: Fix typo in last change.
  2333. 2002-12-13 Alan Modra <amodra@bigpond.net.au>
  2334. * write.c (write_object_file): Fix signed/unsigned warning.
  2335. * config/e-crisaout.c (crisaout_bfd_name): Prototype.
  2336. * config/e-criself.c (criself_bfd_name): Prototype.
  2337. * config/obj-aout.c (s_sect): Remove unused function.
  2338. * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
  2339. * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
  2340. (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
  2341. * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
  2342. * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
  2343. (VMS_RSYM_Parse <Current_Routine>): Likewise.
  2344. (vms_fixup_text_section <text_siz>): Likewise.
  2345. (synthesize_data_segment <data_size>): Likewise.
  2346. (vms_fixup_xtors_section <sect_no>): Likewise.
  2347. (structure_count): Don't use implicit int type.
  2348. * config/tc-a29k.c (insert_sreg): Prototype.
  2349. (define_some_regs): Prototype, make static.
  2350. (parse_operand): Likewise.
  2351. (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
  2352. (md_show_usage <stream>): Likewise.
  2353. (md_section_align <segment>): Likewise.
  2354. (md_convert_frag <all args>): Likewise.
  2355. (md_estimate_size_before_relax <all args>): Likewise.
  2356. (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
  2357. * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
  2358. * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
  2359. (md_undefined_symbol <name>): Likewise.
  2360. (md_convert_frag <all args>): Likewise.
  2361. (write_long <opcode>): Likewise.
  2362. (tc_gen_reloc <seg>): Likewise.
  2363. (md_estimate_size_before_relax <all args>): Likewise.
  2364. (md_apply_fix3 <seg>): Likewise.
  2365. (s_d30v_align <ignore>): Likewise.
  2366. (build_insn): Correct format string.
  2367. (md_apply_fix3): Likewise.
  2368. * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
  2369. (md_undefined_symbol <name>): Likewise.
  2370. (md_convert_frag <all args>): Likewise.
  2371. (md_cgen_lookup_reloc <insn>): Likewise.
  2372. (md_begin): Delete unused vars.
  2373. (md_assemble): Likewise.
  2374. (md_estimate_size_before_relax): Likewise.
  2375. (fr30_relax_frag): #if 0 out, seems unused.
  2376. (md_atof): Remove declaration of atof_ieee.
  2377. (restore_colon): Prototype.
  2378. * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
  2379. (frv_find_in_vliw): Likewise.
  2380. (frv_debug_tomcat): Likewise.
  2381. (frv_adjust_vliw_count): Likewise.
  2382. (frv_tomcat_shuffle): Likewise.
  2383. (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
  2384. frv_find_in_vliw call.
  2385. (md_atof): Remove declaration of atof_ieee.
  2386. * config/tc-h8500.c (cons): Delete declaration.
  2387. (md_begin <opcode>): Constify.
  2388. (displacement_size, immediate_size, absolute_size): Remove.
  2389. (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
  2390. (tc_crawl_symbol_chain <headers>): Likewise.
  2391. (md_undefined_symbol <name>): Likewise.
  2392. (tc_headers_hook <headers>): Likewise.
  2393. (md_parse_option <c,arg>): Likewise.
  2394. (md_show_usage <stream>): Likewise.
  2395. (md_convert_frag <headers, seg>): Likewise.
  2396. (tc_coff_symbol_emit_hook <ignore>): Likewise.
  2397. (md_atof): Remove declaration of atof_ieee.
  2398. (tc_aout_fix_to_chars): Remove unused function.
  2399. (parse_reg): Prototype.
  2400. (parse_exp): Prototype.
  2401. (skip_colonthing): Prototype. Use &&, not & in logical expressions.
  2402. (parse_reglist): Prototype.
  2403. (get_operand): Prototype.
  2404. (get_operands): Prototype.
  2405. (get_specific): Prototype. Make "this_index" signed.
  2406. (check): Prototype, make static.
  2407. (insert): Prototype
  2408. (build_relaxable_instruction): Prototype, make static.
  2409. (build_bytes): Prototype.
  2410. (wordify_scb): Prototype.
  2411. * config/tc-h8500.h (start_label): Declare.
  2412. (tc_coff_sizemachdep): Declare.
  2413. * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
  2414. (i370_rmode <unused>): Likewise.
  2415. (i370_csect <unused>): Likewise.
  2416. (i370_dc <unused>): Likewise.
  2417. (i370_ds <unused>): Likewise.
  2418. (i370_elf_lcomm <unused>): Likewise.
  2419. (i370_ltorg <ignore>): Likewise.
  2420. (i370_using <ignore>): Likewise.
  2421. (i370_drop <ignore>): Likewise.
  2422. (i370_byte <ignore>): Likewise.
  2423. (i370_tc <ignore>): Likewise.
  2424. (md_estimate_size_before_relax <fragp, seg>): Likewise.
  2425. (md_convert_frag <all args>): Likewise.
  2426. (md_undefined_symbol <name>): Likewise.
  2427. (md_pcrel_from_section <sec>): Likewise.
  2428. (tc_gen_reloc <seg>): Likewise.
  2429. (i370_section_letter): #if 0 unused functions.
  2430. (i370_section_word, i370_section_type, i370_section_flags): Likewise.
  2431. (symbol_locate): Prototype.
  2432. * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
  2433. (md_number_to_disp, md_number_to_field): Remove.
  2434. (md_apply_fix3): Correct format string and cast "fup".
  2435. * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
  2436. (s_endian <ignore>): Likewise.
  2437. (md_undefined_symbol <name>): Likewise.
  2438. (tc_crawl_symbol_chain <headers>): Likewise.
  2439. (tc_set_bal_of_call): Likewise.
  2440. (tc_coff_symbol_emit_hook <symbolP>): Likewise.
  2441. (i960_handle_align <fragp>): Likewise.
  2442. (i960_validate_fix <this_segment_type>): Likewise
  2443. (tc_gen_reloc <section>): Likewise.
  2444. (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
  2445. (struct memS, struct regop): Forward declare.
  2446. (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
  2447. get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
  2448. parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
  2449. reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
  2450. targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
  2451. (md_chars_to_number, md_number_to_imm): Make static, prototype.
  2452. (md_number_to_field): Likewise.
  2453. (md_number_to_disp): Remove unused function.
  2454. (md_atof): Remove declaration of atof_ieee.
  2455. (md_apply_fix3): Correct md_number_to_imm call.
  2456. * config/tc-ip2k.c (md_assemble): Warning fix.
  2457. * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
  2458. (fill_insn <ignore>): Likewise.
  2459. (debug_sym <ignore>): Likewise.
  2460. (md_undefined_symbol <name>): Likewise.
  2461. (m32r_scomm <ignore>): Likewise.
  2462. (md_convert_frag <abfd>): Likewise.
  2463. (md_cgen_lookup_reloc <insn>): Likewise.
  2464. (m32r_record_hi16 <seg>): Likewise.
  2465. (md_estimate_size_before_relax): #if 0 old_fr_fix.
  2466. (allow_m32rx): Prototype.
  2467. (first_writes_to_seconds_operands): Prototype.
  2468. (writes_to_pc): Prototype.
  2469. (can_make_parallel): Prototype.
  2470. (make_parallel): Prototype.
  2471. (target_make_parallel): Prototype.
  2472. (assemble_two_insns): Prototype.
  2473. (m32r_record_hi16): Prototype.
  2474. (md_atof): Remove declaration of atof_ieee.
  2475. * config/tc-m32r.h (m32r_fix_adjustable): Declare.
  2476. (m32r_force_relocation): Prototype.
  2477. (m32r_elf_section_change_hook): Prototype.
  2478. * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
  2479. (md_show_usage): Fix signed/unsigned warning.
  2480. * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
  2481. (calcop): Ditto for reg_prefix var.
  2482. (hexval): Add cast to fix signed/unsigned warning.
  2483. (md_number_to_disp): Delete unused function.
  2484. (md_number_to_field): Likewise.
  2485. (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
  2486. (match_name): Prototype.
  2487. (get_bf2): Prototype.
  2488. (get_bf_offset_expression): Prototype.
  2489. * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
  2490. (md_undefined_symbol <ignore>): Likewise.
  2491. (md_create_short_jump <all args>): Likewise.
  2492. (md_create_long_jump <all args>): Likewise.
  2493. (md_convert_frag <abfd, sec>): Likewise.
  2494. (md_apply_fix3 <segment>): Likewise.
  2495. (md_section_align <segment>): Likewise.
  2496. (md_pcrel_from_section <sec>): Likewise.
  2497. (tc_gen_reloc <section>): Likewise.
  2498. (reg_m, reg_n, immediate): Delete unused vars.
  2499. (dump_literals): Fix signed/unsigned warning.
  2500. (enter_literal): Likewise.
  2501. (parse_imm): Likewise. Also fix format string.
  2502. (parse_mem): Remove unused var.
  2503. (md_assemble <LS>): Abort on unexpected inst.
  2504. (md_atof): Remove declaration of atof_ieee.
  2505. (md_parse_option): Remove unused vars.
  2506. (md_apply_fix3): Fix format strings, cast args.
  2507. (tc_gen_reloc): Delete unused var.
  2508. * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
  2509. * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
  2510. (md_undefined_symbol <name>): Likewise.
  2511. (md_convert_frag <abfd>): Likewise.
  2512. (tc_gen_reloc <seg>): Likewise.
  2513. (check_operand <insn>): Likewise.
  2514. (md_convert_frag): Fix format strings.
  2515. (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
  2516. * config/tc-openrisc.c (ignore_pseudo): Prototype.
  2517. (md_atof): Remove declaration of atof_ieee.
  2518. * config/tc-or32.c (parse_operand): Prototype non-BFD too.
  2519. (md_apply_fix3): Fix bogus >>='s.
  2520. (md_undefined_symbol): Delete unused var.
  2521. * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
  2522. (c_to_r, ipush_code, fake_opcode, alias): Likewise.
  2523. (fake_opcode): Adjust for pj_opc_int_t change.
  2524. (md_begin): Likewise.
  2525. (md_assemble): Likewise.
  2526. (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
  2527. instead of non-existent third arg of parse_exp_save_ilp.
  2528. (md_parse_option): Correct "little" and "big" calls.
  2529. * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
  2530. (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
  2531. (tc_gen_reloc <section>): Likewise.
  2532. * config/tc-tic30.c: #include stdarg.h or varargs.h.
  2533. (debug): Rewrite using VA_* macros.
  2534. (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
  2535. (md_convert_frag): Likewise.
  2536. (md_parse_option): Likewise.
  2537. (md_show_usage): Likewise.
  2538. (md_undefined_symbol): Likewise.
  2539. (tc_gen_reloc): Likewise.
  2540. (md_operand): Likewise.
  2541. (tc_aout_pre_write_hook): Delete.
  2542. (struct tic30_insn): Make "operands" unsigned.
  2543. (struct tic30_par_insn): Likewise.
  2544. (md_assemble): Likewise for "count", "i" and "numops".
  2545. (tic30_parallel_insn): Likewise for vars here.
  2546. (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
  2547. * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
  2548. * config/tc-tic80.c (obj_coff_section): Delete declaration.
  2549. (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
  2550. (md_undefined_symbol): Likewise.
  2551. (md_parse_option): Likewise.
  2552. (md_convert_frag): Likewise.
  2553. (tc_coff_symbol_emit_hook): Likewise.
  2554. (md_atof): Remove declaration of atof_ieee.
  2555. (const_overflow): Warning fixes, tidy.
  2556. (get_operands): Delete unused vars.
  2557. (internal_error_a): Adjust format string to expect a long for arg.
  2558. (find_opcode): Warning fixes, simplify.
  2559. (build_insn): Cast internal_error_a arg.
  2560. (md_begin): Likewise.
  2561. (md_apply_fix3): Likewise.
  2562. (md_assemble): Delete unused var.
  2563. * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
  2564. * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
  2565. (whatreg, parse_reg, parse_exp): Make static, prototype.
  2566. (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
  2567. (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
  2568. (get_operand, get_operands, get_specific, newfix): Likewise.
  2569. (apply_fix, build_bytes): Likewise.
  2570. (md_atof): Remove declaration of atof_ieee.
  2571. (tc_aout_fix_to_chars): Delete.
  2572. (md_begin): Constify "opcode". Don't try to init opcode->idx.
  2573. Fix s_unseg call.
  2574. (md_parse_option): Fix s_segm and s_unseg calls.
  2575. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
  2576. * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
  2577. Adjust callers.
  2578. (RELAX_BRANCH_RELOC_S2): Delete.
  2579. (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
  2580. Do not handle BFD_RELOC_16_PCREL.
  2581. (macro_build, mips_ip): Likewise.
  2582. (md_pcrel_from): Return 4 for undefined symbols regardless of
  2583. mips_pic.
  2584. (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
  2585. Don't dereference howto if no such relocation is available.
  2586. Do not apply hack for in-place zero addend in NEWABI.
  2587. (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
  2588. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>,
  2589. Alan Modra <amodra@bigpond.net.au>
  2590. * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
  2591. (TC_LINKRELAX_FIXUP): Add comments.
  2592. 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
  2593. * config/tc-mn10300.c (set_arch_mach): Change argument type to
  2594. avoid warnings.
  2595. (r_register_name, xr_register_name): Add prototype declarations.
  2596. 2002-12-08 H.J. Lu <hjl@gnu.org>
  2597. * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
  2598. copied from tc-i386.c.
  2599. 2002-12-08 Stephane Carrez <stcarrez@nerim.fr>
  2600. Fix Bug savannah/1825:
  2601. * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
  2602. (md_relax_table): Define specific relax for PC-rel offsets.
  2603. (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
  2604. (m68hc11_relax_frag): Handle the new relax code.
  2605. (md_convert_frag): Likewise.
  2606. (md_estimate_size_before_relax): Likewise.
  2607. 2002-12-08 Alan Modra <amodra@bigpond.net.au>
  2608. * subsegs.c (section_symbol): Use the symbol, not the section, name.
  2609. 2002-12-05 Richard Henderson <rth@redhat.com>
  2610. * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
  2611. (ia64_gen_real_reloc_type): Handle it.
  2612. (pseudo_func): Add @ltoffx.
  2613. (md_begin): Build .<ltoffx>.
  2614. (ia64_force_relocation): True for LTOFF22X and LDXMOV.
  2615. 2002-12-05 Alan Modra <amodra@bigpond.net.au>
  2616. * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
  2617. Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
  2618. ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
  2619. * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
  2620. COFF to call arm_force_relocation.
  2621. 2002-12-04 David Mosberger <davidm@hpl.hp.com>
  2622. * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
  2623. instruction.
  2624. (emit_one_bundle): Handle "hint" instruction.
  2625. (operand_match): Match IA64_OPND_AR_CSD.
  2626. 2002-12-04 Alan Modra <amodra@bigpond.net.au>
  2627. * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
  2628. inside #if.
  2629. 2002-12-03 Nick Clifton <nickc@redhat.com>
  2630. * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
  2631. .PPC.EMB.apuinfo sections.
  2632. 2002-12-03 Richard Henderson <rth@redhat.com>
  2633. * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
  2634. 2002-12-03 Alan Modra <amodra@bigpond.net.au>
  2635. * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
  2636. (cons, s_align_bytes): Delete declaration.
  2637. (relax): Delete.
  2638. (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
  2639. strings common.
  2640. (dot): Delete unused function.
  2641. (w65_expression): Remove unused arg.
  2642. (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
  2643. call.
  2644. (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
  2645. parse_exp call.
  2646. (get_specific): Prototype. Constify "struct opinfo *" arg and return
  2647. value.
  2648. (check): Remove unused function.
  2649. (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
  2650. on unhandled switch case.
  2651. (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
  2652. "opcode".
  2653. (tc_crawl_symbol_chain): Delete unused function.
  2654. (tc_headers_hook): Likewise.
  2655. (tc_Nout_fix_to_chars): Likewise.
  2656. (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
  2657. (md_parse_option): Likewise.
  2658. (md_convert_frag): Likewise.
  2659. (tc_coff_symbol_emit_hook): Likewise.
  2660. (md_show_usage): Likewise.
  2661. * config/tc-w65.h (tc_coff_sizemachdep): Declare.
  2662. (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
  2663. (w65_expression): Declare.
  2664. * po/POTFILES.in: Regenerate.
  2665. * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
  2666. and ARM_ADRL_IMMEDIATE.
  2667. 2002-12-02 Nick Clifton <nickc@redhat.com>
  2668. * gasp.c: Delete. It has been deprecated.
  2669. * NEWS: Mention that gasp has been removed.
  2670. * Makefile.am: Remove references to gasp.
  2671. * makefile.vms: Likewise.
  2672. * mpw-make.sed: Likewise.
  2673. * Makeile.in: Regenerate.
  2674. * doc/gasp.texi: Delete.
  2675. * doc/Makefile.am: Remove references to gasp.texi.
  2676. * doc/Makefile.in: Regenerate.
  2677. * macro.c: Delete references to gasp.
  2678. Remove use of comment_char function parameter as it is no longer
  2679. needed.
  2680. * macro.h: Update prototypes to remove comment_char parameter.
  2681. Fix formatting.
  2682. * read.c (read_a_source_file, s_irp): Remove comment_char
  2683. parameter from invocation of functions in macro.c
  2684. 2002-12-02 Hans-Peter Nilsson <hp@axis.com>
  2685. * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
  2686. 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
  2687. * config/tc-m68hc11.c (md_begin): Fix qsort warning.
  2688. (tc_gen_reloc): Mark section param as not used.
  2689. 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
  2690. Fix Bug savannah/1825:
  2691. * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
  2692. that are not pc-relative.
  2693. (m68hc11_relax_frag): Declare.
  2694. * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
  2695. the offsetable indexed addressing modes (n,r).
  2696. (build_insn): Cleanup some locals.
  2697. (m68hc11_relax_frag): New function imported from tc-cris.c to handle
  2698. relaxation of difference between two symbols of same section.
  2699. (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
  2700. only when this is a PC-relative operand and the offset is not absolute.
  2701. (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
  2702. to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
  2703. be handled by m68hc11_relax_frag.
  2704. 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
  2705. * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
  2706. (32-bit int, 64-bit double).
  2707. (md_longopts): New options -mshort, -mlong, -mshort-double and
  2708. -mlong-double to control the ABI.
  2709. (md_show_usage): Update.
  2710. (md_parse_option): Handle new options.
  2711. * doc/as.texinfo (Overview): Document new options for HC11/HC12.
  2712. 2002-12-01 Nathan Sidwell <nathan@codesourcery.com>
  2713. * symbols.c (report_op_error): New function, broken out of ...
  2714. (resolve_symbol_value): ... here. Use for both monadic and dyadic
  2715. operators.
  2716. 2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2717. * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
  2718. for BFD_RELOC_32_PLT_PCREL.
  2719. 2002-11-30 Alan Modra <amodra@bigpond.net.au>
  2720. * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
  2721. config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
  2722. config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
  2723. config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
  2724. config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
  2725. config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
  2726. config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
  2727. config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
  2728. config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
  2729. config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
  2730. config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
  2731. config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
  2732. config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
  2733. config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
  2734. TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
  2735. TRUE/FALSE. Formatting.
  2736. 2002-11-29 Nick Clifton <nickc@redhat.com>
  2737. * config/tc-arm.c (do_t_bkpt): If no operand is specified,
  2738. assume a value of zero.
  2739. (do_bkpt): Likewise.
  2740. 2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2741. * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
  2742. for TLS relocations.
  2743. 2002-11-29 Jakub Jelinek <jakub@redhat.com>
  2744. * config/tc-ia64.c (md_apply_fix3): Add default case.
  2745. 2002-11-28 Jakub Jelinek <jakub@redhat.com>
  2746. * symbols.c (S_SET_THREAD_LOCAL): New function.
  2747. * symbols.h (S_SET_THREAD_LOCAL): New prototype.
  2748. * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
  2749. for TLS relocations.
  2750. * config/tc-ia64.c (md_apply_fix3): Likewise.
  2751. * config/tc-alpha.c (md_apply_fix3): Likewise.
  2752. 2002-11-28 Jakub Jelinek <jakub@redhat.com>
  2753. * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
  2754. to entsize.
  2755. 2002-11-26 DJ Delorie <dj@redhat.com.
  2756. * dwarf2dbg.c (scale_addr_delta): New.
  2757. (size_inc_line_addr): Use it.
  2758. (emit_inc_line_addr): Use it.
  2759. 2002-11-26 Hans-Peter Nilsson <hp@axis.com>
  2760. * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
  2761. (md_assemble): Don't pass on branches to constants as relaxable.
  2762. Tweak comment.
  2763. 2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
  2764. * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
  2765. 2002-11-21 Randolph Chung <randolph@tausq.org>
  2766. * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
  2767. only if they have default visibility.
  2768. 2002-11-21 Richard Henderson <rth@redhat.com>
  2769. * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
  2770. S_IS_DEFINED test.
  2771. 2002-11-21 Alan Modra <amodra@bigpond.net.au>
  2772. * config/tc-mcore.c (mcore_pool_count): New function.
  2773. (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
  2774. 2002-11-20 Klee Dienes <kdienes@apple.com>
  2775. * config/tc-mcore.c (md_begin): Use a const iterator. Don't
  2776. coalesce the name fields to use the same pointer.
  2777. * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
  2778. the name fields to use the same pointer.
  2779. (get_specific): Check for opcodes with the same name using strcmp
  2780. as well as comparing the pointer.
  2781. 2002-11-20 Alan Modra <amodra@bigpond.net.au>
  2782. * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
  2783. fx_subsy non-NULL.
  2784. 2002-11-19 Richard Henderson <rth@redhat.com>
  2785. * config/obj-elf.c (obj_elf_visibility): Overwrite only the
  2786. visibility portion of st_other.
  2787. 2002-11-19 Klee Dienes <kdienes@apple.com>
  2788. * config/tc-h8300.c (struct h8_instruction): New type, used to
  2789. wrap h8_opcodes with length, noperands, idx, and size fields
  2790. (computed at run-time).
  2791. (h8_instructions): New variable.
  2792. (md_begin): Allocate the storage for h8_instructions. Fill
  2793. h8_instructions with pointers to the appropriate opcode and the
  2794. correct value for the additional fields.
  2795. (clever_message): Update to use h8_instructions instead of
  2796. h8_opcodes.
  2797. (build_bytes): Ditto.
  2798. (get_specific): Ditto.
  2799. (md_assemble): Ditto.
  2800. 2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2801. * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
  2802. adjustments to symbols in merge sections.
  2803. 2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
  2804. * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
  2805. 2002-11-18 Kevin Buettner <kevinb@redhat.com>
  2806. * dwarf2dbg.h (dwarf2_format): New enum.
  2807. * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
  2808. (out_debug_line, out_debug_info): Add code for handling 64-bit
  2809. DWARF 2 formats.
  2810. * config/tc-mips.h (mips_dwarf2_format): Declare.
  2811. * config/tc-mips.c (mips_dwarf2_format): New function.
  2812. * doc/internals.texi (DWARF2_FORMAT): Document.
  2813. 2002-11-18 Alexandre Oliva <aoliva@redhat.com>
  2814. * config/tc-mips.c (s_change_section): Make sure input buffer
  2815. is not accessed past the end. Don't hand
  2816. obj_elf_change_section a pointer into the input buffer.
  2817. 2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
  2818. * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
  2819. GOT_LO16 on NEWABI.
  2820. 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
  2821. * config/tc-tic4x.c: Fixed proper commandline
  2822. parameters. Added support for new opcode-list format. General
  2823. error message fixups.
  2824. (c4x_inst_add): Reject insn not for our CPU
  2825. (md_begin): Added matrix for setting the proper opcode-level &
  2826. device-flags according to cpu type and revision. Rewrite the
  2827. opcode hasher.
  2828. (c4x_operand_parse): Fix opcode bug
  2829. (c4x_operands_match): New function argument. Added dry-run
  2830. mechanism, that is optional error generation. Added constraint 'i'
  2831. and 'j'.
  2832. (c4x_insn_check): Added new function for post-verification of the
  2833. generated insn.
  2834. (md_assemble): Check all opcodes before croaking because of an
  2835. argument mismatch. Need this to be able to fully support
  2836. ortogonally arguments.
  2837. (md_parse_options): Revised commandprompt swicthes and added new
  2838. ones.
  2839. (md_show_usage): Complete rewrite of printout.
  2840. 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
  2841. * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
  2842. (c4x_operands_match): Added check for 8-bits LDF insn. Give
  2843. warning when using constant direct bigger than 2^16. Add the new
  2844. arguments.
  2845. 2002-11-11 Christopher Faylor <cgf@redhat.com>
  2846. * configure.in: Use .gdbinit under Cygwin.
  2847. * configure: Regenerate.
  2848. 2002-11-11 Christopher Faylor <cgf@redhat.com>
  2849. * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
  2850. STRICT_PE_FORMAT.
  2851. 2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
  2852. * config/tc-tic4x.c: Declare as many functions as possible as
  2853. static. Maintenance on the general indenting. Removed unnecessary
  2854. pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
  2855. function. Add support for new DSP, TMS320VC33. Fix bug for
  2856. converting flonum constants.
  2857. (c4x_do_align): Add proper align handling. Setup align to insert
  2858. NOP's.
  2859. (c4x_gen_to_words): Support for extended TI type floats.
  2860. (md_atof): Proper dumping of multiple-word littlenums.
  2861. (c4x_atof): Added support for extended TI type floats.
  2862. (c4x_stringer): Added new function to handle compact strings.
  2863. (c4x_emit_char): Added new function argument to handle custom
  2864. length inserts, like single-byte strings.
  2865. * config/tc-tic4x.h: Add proper align handling with NOP's.
  2866. * Makefile.am: Added tic4x dependecy
  2867. * Makefile.in: Regenerate
  2868. 2002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
  2869. * macro.c (get_any_string): Correct logic for not going beyond end
  2870. of in->ptr[].
  2871. 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
  2872. * config/tc-mmix.c (get_putget_operands): Mark both possible
  2873. operands as invalid at beginning.
  2874. * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
  2875. Initialize target of fixup to zero.
  2876. 2002-11-07 Alexandre Oliva <aoliva@redhat.com>
  2877. * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
  2878. NEWABI, but we should still emit HI16_S for non-PIC n32.
  2879. 2002-11-06 Richard Henderson <rth@redhat.com>
  2880. * config/tc-alpha.c (alpha_validate_fix): Move code ...
  2881. (alpha_fix_adjustable): ... here.
  2882. * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
  2883. 2002-11-07 Eric Kohl <ekohl@rz-online.de>
  2884. * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
  2885. of a label.
  2886. 2002-11-05 H.J. Lu <hjl@gnu.org>
  2887. * config/tc-mips.c (support_64bit_objects): Check *l before it
  2888. is freed.
  2889. 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
  2890. * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
  2891. SEC_LOAD flags for sections marked as 's'.
  2892. 2002-11-01 Alan Modra <amodra@bigpond.net.au>
  2893. * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
  2894. (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
  2895. * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
  2896. default.
  2897. * dep-in.sed: Fix typo.
  2898. 2002-10-30 Daniel Jacobowitz <drow@mvista.com>
  2899. * configure.in: Update ARM CPU patterns.
  2900. * configure: Regenerated.
  2901. 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
  2902. * itbl-lex.l: Use #include <> for generated headers.
  2903. * itbl-ops.c: Likewise.
  2904. 2002-10-28 Daniel Jacobowitz <drow@mvista.com>
  2905. * doc/gasp.texi: Fix typo in deprecation note.
  2906. 2002-10-23 Nick Clifton <nickc@redhat.com>
  2907. * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
  2908. _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
  2909. 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
  2910. * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
  2911. (tc_frob_file_before_adjust): Don't define.
  2912. * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
  2913. function.
  2914. (mmix_frob_file_before_adjust): Remove ineffective function.
  2915. 2002-10-23 Hans-Peter Nilsson <hp@axis.com>
  2916. * config/tc-cris.c (SIMPLE_EXPR): New macro.
  2917. (cris_relax_frag): New function.
  2918. (md_estimate_size_before_relax) <case ENCODE_RELAX
  2919. (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
  2920. expressions that will become absolute expressions to relaxation.
  2921. (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
  2922. STATE_WORD)>: Expect only absolute expressions. Use the symbol
  2923. value, not distance to symbol.
  2924. <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
  2925. Ditto. Correct placement of fixup.
  2926. (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
  2927. (gen_bdap): Ditto.
  2928. * config/tc-cris.h (cris_relax_frag): Declare.
  2929. (md_relax_frag): Define.
  2930. 2002-10-22 Alan Modra <amodra@bigpond.net.au>
  2931. * config/obj-elf.c (special_sections): Use correct types for init
  2932. array sections.
  2933. (obj_elf_change_section): Don't mess with init array section type.
  2934. 2002-10-21 Richard Sandiford <rsandifo@redhat.com>
  2935. * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
  2936. for relocs against symbols in a merged section.
  2937. 2002-10-18 Alexandre Oliva <aoliva@redhat.com>
  2938. * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
  2939. table as register names.
  2940. 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
  2941. * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
  2942. for option -m31.
  2943. 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
  2944. * expr.c (operand): Add support for n.nn flonums.
  2945. 2002-10-17 Johannes Stezenbach <js@convergence.de>
  2946. * itbl-parse.y (entry): Provide empty action.
  2947. 2002-10-16 Alan Modra <amodra@bigpond.net.au>
  2948. * configure.in (BFDVER_H): Set and subst.
  2949. * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
  2950. * Makefile.am: Run "make dep-am".
  2951. (BFDVER_H): Define.
  2952. * configure: Regenerate.
  2953. * Makefile.in: Regenerate.
  2954. * doc/Makefile.in: Regenerate.
  2955. 2002-10-15 Alan Modra <amodra@bigpond.net.au>
  2956. * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
  2957. (MD_APPLY_SYM_VALUE): Define for PE too.
  2958. 2002-10-14 Alan Modra <amodra@bigpond.net.au>
  2959. * Makefile.am: Run "make dep-am".
  2960. (CPU_OBJ_VALID): sh64 coff is invalid.
  2961. * as.c: #include "bfdver.h".
  2962. * Makefile.in: Regenerate.
  2963. * config.in: Regenerate.
  2964. 2002-10-14 Momchil Velikov <velco@fadata.bg>
  2965. * config/tc-v850.c (CHECK_): Remove token pasting operator.
  2966. 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
  2967. * configure.in (mips64vr-elf, mips64vrel-elf): New config.
  2968. * configure: Regenerate.
  2969. 2002-10-13 Eric Christopher <echristo@redhat.com>
  2970. Alexandre Oliva <aoliva@redhat.com>
  2971. * config/tc-mips.c (s_gpdword): New function.
  2972. (mips_pseudo_table): Add .gpdword.
  2973. (mips_need_elf_addend_fixup): never for NEWABI.
  2974. (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
  2975. GPREL32 as done.
  2976. (s_cpadd): Generate .cpadd on NEWABI.
  2977. 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
  2978. * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
  2979. 2002-10-12 Alexandre Oliva <aoliva@redhat.com>
  2980. * config/tc-mips.h (mips_relax_frag): Take segment as argument.
  2981. (md_relax_frag): Adjust macro.
  2982. * config/tc-mips.c (mips_relax_branch): New variable.
  2983. (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
  2984. RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
  2985. (RELAX_MIPS16_P): Adjust.
  2986. (append_insn): Emit branch to non-constant in a frag_var if
  2987. branch-relaxation is desirable and possible.
  2988. (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
  2989. (OPTION_ELF_BASE): Adjust.
  2990. (md_parse_option): Handle new options.
  2991. (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
  2992. branch relaxation.
  2993. (relaxed_branch_length): New function.
  2994. (md_estimate_size_before_relax): Handle branch frags.
  2995. (mips_relax_frag): Likewise.
  2996. (md_convert_frag): Handle branch frags. Warn if branch is
  2997. relaxed.
  2998. 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2999. * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
  3000. emitted.
  3001. (md_apply_fix3): Add TLS relocs.
  3002. (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
  3003. @DTPOFF.
  3004. 2002-10-11 Michel Six <msix@ccr.jussieu.fr>
  3005. Alan Modra <amodra@bigpond.net.au>
  3006. * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
  3007. (md_estimate_size_before_relax): Likewise for 8 bit branches.
  3008. Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
  3009. * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
  3010. inside loop.
  3011. 2002-10-09 Richard Shann <richard.shann@superh.com>
  3012. Stephen Clarke <stephen.clarke@superh.com>
  3013. * config/tc-sh64.c (sh64_target_format): Add support for sh64
  3014. Linux environment.
  3015. 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3016. * contig/tc-sh.c (sh_local_pcrel): New.
  3017. (sh_force_relocation): Use sh_local_pcrel.
  3018. (md_pcrel_from_section): Check the relocation type whether it
  3019. should be resolved locally. Use S_FORCE_RELOC.
  3020. 2002-10-01 Alan Modra <amodra@bigpond.net.au>
  3021. * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
  3022. (TC_FORCE_RELOCATION): Tidy arg.
  3023. 2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
  3024. Ken Raeburn <raeburn@cygnus.com>
  3025. Aldy Hernandez <aldyh@redhat.com>
  3026. DJ Delorie <dj@redhat.com>
  3027. Michael Meissner <meissner@redhat.com>
  3028. Eric Christopher <echristo@redhat.com>
  3029. Richard Sandiford <rsandifo@redhat.com>
  3030. * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
  3031. vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
  3032. * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
  3033. (hilo_interlocks): True for CPU_VR5500.
  3034. (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
  3035. (mips_fix_vr4122_bugs): New.
  3036. (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
  3037. (mips_emit_delays): Likewise.
  3038. (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
  3039. [M_ROLI]: Likewise ror if CPU_HAS_ROR.
  3040. (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
  3041. (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
  3042. (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
  3043. (OPTION_ELF_BASE): Bump.
  3044. (md_parse_option): Handle the new options.
  3045. (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
  3046. vr5400 and vr5500.
  3047. 2002-09-29 H.J. Lu <hjl@gnu.org>
  3048. * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
  3049. twice if howto->pcrel_offset is true.
  3050. 2002-09-28 Matt Thomas <matt@3am-software.com>
  3051. Jason Thorpe <thorpej@wasabisystems.com>
  3052. * config/tc-vax.c (md_estimate_size_before_relax): Only try to
  3053. convert undefined references to GOT32/PLT32 if PIC code is
  3054. requested. Fix comment.
  3055. 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3056. * config/tc-sh.c (sh_force_relocation): Return 0 for
  3057. some PC relative relocations when not relaxing.
  3058. 2002-09-26 Jakub Jelinek <jakub@redhat.com>
  3059. * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
  3060. Define them if not BFD_ASSEMBLER.
  3061. (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
  3062. @tlsld.
  3063. (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
  3064. BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
  3065. (tc_gen_reloc): Handle x86-64 TLS relocs.
  3066. 2002-09-27 Alan Modra <amodra@bigpond.net.au>
  3067. * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
  3068. fixups to current or absolute section.
  3069. 2002-09-26 Jim Wilson <wilson@redhat.com>
  3070. * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
  3071. and frag_more.
  3072. 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3073. * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
  3074. capable configuration.
  3075. (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
  3076. generation.
  3077. (mips_ip): Likewise.
  3078. 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3079. * config/tc-mips.c (append_insn): Fix jump overflow check.
  3080. 2002-09-24 Alan Modra <amodra@bigpond.net.au>
  3081. * config/tc-i386.c (process_operands): Warn about "lea" segment
  3082. overrides.
  3083. 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
  3084. * write.c: Delete set_segment_vma and prototype. Update all callers.
  3085. 2002-09-21 Alan Modra <amodra@bigpond.net.au>
  3086. * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
  3087. S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
  3088. Rename "fseg" to "sym_seg".
  3089. * Makefile.am: Run "make dep-am".
  3090. * Makefile.in: Regenerate.
  3091. * doc/Makefile.in: Regenerate.
  3092. 2002-09-20 Nick Clifton <nickc@redhat.com>
  3093. * symbols.c (colon): Do not allow symbols to be created in the
  3094. absolute section if WORKING_DOT_WORD is not defined and
  3095. new_broken_words would require a new frag to be created.
  3096. 2002-09-20 Alan Modra <amodra@bigpond.net.au>
  3097. * expr.c (expr): Simplify foo-foo here.
  3098. (clean_up_expression): Remove O_subtract code.
  3099. * write.h (struct fix): Add fx_dot_value.
  3100. (dot_value): Declare.
  3101. * write.c (dot_value): New var.
  3102. (fix_new_internal): Save dot_value as fx_dot_value.
  3103. (fixup_segment): Adjust fx_offset using fx_dot_value.
  3104. * expr.c (expr): Update dot_value.
  3105. 2002-09-19 Jakub Jelinek <jakub@redhat.com>
  3106. * config/tc-i386.c (tc_i386_fix_adjustable): Handle
  3107. BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
  3108. (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
  3109. if not defined.
  3110. (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
  3111. (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
  3112. BFD_RELOC_386_TLS_GOTIE.
  3113. 2002-09-19 Richard Henderson <rth@redhat.com>
  3114. * config/tc-alpha.c (md_pcrel_from): Only adjust special for
  3115. branch type relocs.
  3116. (alpha_force_relocation): Don't special-case branch type relocs.
  3117. 2002-09-19 Nick Clifton <nickc@redhat.com>
  3118. * config/tc-m68k.c (select_control_regs): Handle situation where
  3119. architecture has not yet been selected.
  3120. 2002-09-18 Chris Demetriou <cgd@broadcom.com>
  3121. * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
  3122. (IS_SEXT_16BIT_NUM): New macro.
  3123. (macro_build_ldst_constoffset): New function, to build a set of
  3124. instructions to do a load or store from a constant offset relative
  3125. to a given register.
  3126. (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
  3127. .cprestore pseudo-op.
  3128. 2002-09-18 Chris Demetriou <cgd@broadcom.com>
  3129. * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
  3130. 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3131. * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
  3132. 2002-09-17 Stan Cox <scox@redhat.com>
  3133. * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
  3134. (macro): Likewise for la. Likewise for ld.
  3135. (mips_after_parse_args): Make -xgot optional, not the default.
  3136. (md_apply_fix3): Allow composite relocation to set up gp.
  3137. (tc_gen_reloc): Allow relaxing for newabi.
  3138. Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
  3139. Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
  3140. 2002-09-17 Nick Clifton <nickc@redhat.com>
  3141. * config/tc-arm.c (md_apply_fix3): Note that an implemented
  3142. BFD_RELOC_ARM_IMMEDIATE has been done.
  3143. (tc_gen_reloc): Do not issue reloc number of unimplemented
  3144. BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
  3145. their name is already in the error message - plus remove them
  3146. from the default case.
  3147. * config/tc-arm.c (do_ldmstm): Warn about unpredictable
  3148. behavior of instructions.
  3149. 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
  3150. * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
  3151. Convert functions to K&R format.
  3152. 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3153. * config/tc-mips.c (pdr_seg): Define only for ELF.
  3154. (s_change_section): Remove unused variable. Don't use for nonELF.
  3155. 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3156. * config/obj-elf.c (obj_elf_change_section): Move prototype to
  3157. obj-elf.h
  3158. * config/obj-elf.h (obj_elf_change_section): Likewise.
  3159. 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
  3160. * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
  3161. (out_debug_info): Likewise.
  3162. 2002-09-16 Bruno Haible <bruno@clisp.org>
  3163. * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
  3164. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
  3165. * config/tc-i386.c (i386_target_format): Likewise.
  3166. * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
  3167. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
  3168. 2002-09-13 Nick Clifton <nickc@redhat.com>
  3169. * config/tc-ppc.c (md_assemble): Do not count FAKE operands
  3170. when deciding if any operands have been skipped.
  3171. 2002-09-11 Nick Clifton <nickc@redhat.com>
  3172. * NEWS: New TI port supports both C4x and C3x series of DSPs.
  3173. * po/tr.po: Updated Turkish translation.
  3174. 2002-09-11 Jakub Jelinek <jakub@redhat.com>
  3175. * config/tc-i386.c (md_apply_fix3): Allow addend for
  3176. BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
  3177. BFD_RELOC_386_TLS_LE_32.
  3178. 2002-09-05 Jeff Law <law@redhat.com>
  3179. * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
  3180. marker relocations such as ENTRY/EXIT.
  3181. * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
  3182. to both OBJ_ELF and OBJ_SOM.
  3183. 2002-09-05 Alan Modra <amodra@bigpond.net.au>
  3184. * doc/internals.texi (md_apply_fix3): Expand.
  3185. (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
  3186. TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
  3187. TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
  3188. TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
  3189. EXTERN_FORCE_RELOC): Document.
  3190. (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
  3191. * as.h: Don't include struc-symbol.h for arc.
  3192. (IS_ELF): Define.
  3193. * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
  3194. subtract absolute symbol.
  3195. * obj.h (struct format_ops): Add frob_file_before_fix.
  3196. * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
  3197. * symbols.c (S_FORCE_RELOC): New function.
  3198. * symbols.h (S_FORCE_RELOC): Declare.
  3199. * write.c (TC_FORCE_RELOCATION): Change default.
  3200. (TC_FORCE_RELOCATION_ABS): Define.
  3201. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3202. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3203. (TC_FORCE_RELOCATION_SECTION): Don't define.
  3204. (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
  3205. (TC_FORCE_RELOCATION_SUB_ABS): Define.
  3206. (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
  3207. (TC_VALIDATE_FIX_SUB): Define.
  3208. (TC_FIX_ADJUSTABLE): Don't define.
  3209. (MD_APPLY_SYM_VALUE): Define this instead.
  3210. (abs_section_sym): New variable.
  3211. (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
  3212. call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
  3213. Don't put the absolute section sym on fixups here.
  3214. (fix_segment): New function.
  3215. (write_relocs): Don't call fixup_segment from here.
  3216. (write_object_file): Instead call tc_frob_file_before_fix,
  3217. obj_frob_file_before_fix, and fix_segment prior to symbol table code.
  3218. Don't output the absolute section symbol.
  3219. (fixup_segment): Rewrite.
  3220. * write.h (abs_section_sym): Declare.
  3221. * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
  3222. obj_aout_frob_file.
  3223. (aout_format_ops): Adjust to suit.
  3224. * config/obj-aout.h (obj_frob_file): Don't define.
  3225. (obj_frob_file_before_fix): Define.
  3226. (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
  3227. (S_FORCE_RELOC): Define.
  3228. * config/obj-bout.h (S_FORCE_RELOC): Define.
  3229. * config/obj-coff.c (coff_format_ops): Init new field.
  3230. * config/obj-coff.h: Formatting fixes.
  3231. (obj_sec_sym_ok_for_reloc): Define.
  3232. (S_FORCE_RELOC): Define.
  3233. * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
  3234. (ecoff_frob_file): .. from here.
  3235. (ecoff_format_ops): Add new function.
  3236. * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
  3237. (obj_frob_file_before_fix): Define.
  3238. * config/obj-elf.c (elf_format_ops): Init new field.
  3239. * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
  3240. * config/obj-ieee.h: Formatting fixes.
  3241. (S_FORCE_RELOC): Define.
  3242. * config/obj-multi.h (obj_frob_file_before_fix): Define.
  3243. * config/obj-vms.h (S_FORCE_RELOC): Define.
  3244. * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
  3245. (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
  3246. for BFD_RELOC_32 and BFD_RELOC_64.
  3247. (alpha_fix_adjustable): Remove extern and weak tests.
  3248. (alpha_before_fix): Rename from alpha_adjust_symtab.
  3249. (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
  3250. * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
  3251. (TC_VALIDATE_FIX): Tweak param name.
  3252. (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
  3253. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3254. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3255. (MD_APPLY_SYM_VALUE): Define.
  3256. (tc_adjust_symtab): Don't define.
  3257. (alpha_adjust_symtab): Don't declare.
  3258. (tc_frob_file_before_fix): Define.
  3259. (alpha_before_fix): Declare.
  3260. (TC_INIT_FIX_DATA): Tweak param names.
  3261. * config/tc-arc.c: Include "struc-symbol.h".
  3262. (md_pcrel_from): Remove undefined sym fudge.
  3263. (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
  3264. Don't set fx_addnumber.
  3265. (tc_gen_reloc): Remove spurious fx_addnumber comment.
  3266. * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
  3267. (EXTERN_FORCE_RELOC): Define.
  3268. * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
  3269. (tc_gen_reloc): Fudge ARM_GOTPC addend.
  3270. (arm_validate_fix): Return void.
  3271. (arm_fix_adjustable <elf version>): Remove extern and weak tests.
  3272. Add plt and got reloc tests.
  3273. (arm_force_relocation): Call S_FORCE_RELOC.
  3274. * config/tc-arm.h (struct fix): Forward declare.
  3275. (TC_VALIDATE_FIX): No longer set add_symbolP.
  3276. (arm_validate_fix): Adjust declaration.
  3277. (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
  3278. (TC_FORCE_RELOCATION): Tweak param name.
  3279. (TC_INIT_FIX_DATA): Likewise.
  3280. (obj_fix_adjustable): Don't define.
  3281. (tc_fix_adjustable): Call arm_fix_adjustable.
  3282. (TC_FIX_ADJUSTABLE): Don't define.
  3283. (MD_APPLY_SYM_VALUE): Define.
  3284. (EXTERN_FORCE_RELOC): Define.
  3285. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3286. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3287. * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
  3288. Remove *valP fudges and code to subtract abs sym. Don't set
  3289. fx_addnumber.
  3290. * config/tc-avr.h: Formatting.
  3291. (EXTERN_FORCE_RELOC): Define.
  3292. (MD_APPLY_SYM_VALUE): Define.
  3293. * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
  3294. (md_apply_fix3): Remove code to subtract abs sym.
  3295. (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
  3296. * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
  3297. (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
  3298. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3299. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3300. (tc_fix_adjustable): Remove extern, weak tests.
  3301. * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
  3302. BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
  3303. (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
  3304. and code to subtract abs sym.
  3305. (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
  3306. (d10v_force_relocation): Call S_FORCE_RELOC.
  3307. * config/tc-d10v.h: Don't include write.h.
  3308. (struct fix): Instead, forward declare.
  3309. (MD_PCREL_FROM_SECTION): Tweak param names.
  3310. (md_pcrel_from_section): Use "struct fix" instead of "fixS".
  3311. (d10v_fix_adjustable): Likewise.
  3312. (obj_fix_adjustable): Don't define.
  3313. (tc_fix_adjustable): Define.
  3314. (TC_FORCE_RELOCATION): Tweak param name.
  3315. (MD_APPLY_SYM_VALUE): Define.
  3316. (EXTERN_FORCE_RELOC): Define.
  3317. * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
  3318. (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
  3319. and code to subtract abs sym.
  3320. * config/tc-d30v.h: Don't include write.h.
  3321. (struct fix): Instead, forward declare.
  3322. (MD_PCREL_FROM_SECTION): Tweak param names.
  3323. (md_pcrel_from_section): Use "struct fix" instead of "fixS".
  3324. (MD_APPLY_SYM_VALUE): Define.
  3325. (EXTERN_FORCE_RELOC): Define.
  3326. * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
  3327. (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
  3328. (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
  3329. (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
  3330. Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
  3331. Don't use fx_addnumber.
  3332. * config/tc-dlx.h: Don't include write.h.
  3333. (md_convert_frag): We're not alpha twice over.
  3334. (EXTERN_FORCE_RELOC): Define.
  3335. (obj_fix_adjustable): Don't define.
  3336. (tc_fix_adjustable): Define.
  3337. (TC_FIX_ADJUSTABLE): Don't define.
  3338. (MD_APPLY_SYM_VALUE): Define.
  3339. (LOCAL_LABELS_DOLLAR): Undef always.
  3340. * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
  3341. (fr30_fix_adjustable): Remove extern, weak tests.
  3342. * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
  3343. (obj_fix_adjustable): Don't define.
  3344. (tc_fix_adjustable): Define.
  3345. (struct fix): Forward declare.
  3346. (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
  3347. * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
  3348. (frv_fix_adjustable): Don't do extern, weak tests.
  3349. * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
  3350. (TC_FIX_ADJUSTABLE): Don't define.
  3351. (obj_fix_adjustable): Don't define.
  3352. (tc_fix_adjustable): Define.
  3353. (struct fix): Forward declare.
  3354. (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
  3355. * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
  3356. * config/tc-h8300.h (struct fix): Forward declare.
  3357. (EXTERN_FORCE_RELOC): Define.
  3358. * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
  3359. (hppa_fix_adjustable): Don't test extern or weak. Don't
  3360. symbol_mark_used_in_reloc.
  3361. (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
  3362. and S_IS_WEAK.
  3363. * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
  3364. (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
  3365. (TC_FORCE_RELOCATION_SECTION): Don't define.
  3366. (MD_APPLY_SYM_VALUE): Define.
  3367. * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
  3368. to subtract abs sym.
  3369. * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
  3370. (MD_APPLY_SYM_VALUE): Define.
  3371. (MD_PCREL_FROM_SECTION): Tweak param name.
  3372. * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
  3373. (md_apply_fix3): Test fx_addsy, not fx_pcrel.
  3374. (i386_force_relocation): New function.
  3375. * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
  3376. (TC_VALIDATE_FIX): Likewise.
  3377. (TC_FIX_ADJUSTABLE): Don't define.
  3378. (MD_APPLY_SYM_VALUE): Define.
  3379. (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
  3380. (i386_force_relocation): Declare.
  3381. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3382. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3383. (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
  3384. * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
  3385. * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
  3386. (EXTERN_FORCE_RELOC): Define.
  3387. * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
  3388. (md_apply_fix3): Don't cast valP pointer type. Move code here from
  3389. old fixup_segment. No need to test fx_pcrel before setting fx_done.
  3390. (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
  3391. Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
  3392. Remove #if 0 code. Invert return boolean.
  3393. * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
  3394. (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
  3395. (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
  3396. (tc_coff_sizemachdep): Prototype.
  3397. (i960_handle_align): Likewise.
  3398. (i960_validate_fix): Adjust declaration.
  3399. (reloc_callj): Likewise.
  3400. (EXTERN_FORCE_RELOC): Define.
  3401. (TC_FORCE_RELOCATION_SUB_SAME): Define.
  3402. (TC_FORCE_RELOCATION_ABS): Define.
  3403. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3404. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3405. (TC_FIX_ADJUSTABLE): Don't define.
  3406. (MD_APPLY_SYM_VALUE): Define.
  3407. * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
  3408. * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
  3409. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3410. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3411. * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
  3412. * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
  3413. (MD_APPLY_SYM_VALUE): Define.
  3414. (EXTERN_FORCE_RELOC): Define.
  3415. (TC_FORCE_RELOCATION): Tweak param name.
  3416. * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
  3417. (m32r_fix_adjustable): Don't test extern, weak.
  3418. * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
  3419. (MD_APPLY_SYM_VALUE): Define.
  3420. (obj_fix_adjustable): Don't define.
  3421. (tc_fix_adjustable): Define.
  3422. (tc_frob_file): Don't define.
  3423. (tc_frob_file_before_fix): Define.
  3424. (EXTERN_FORCE_RELOC): Define.
  3425. * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
  3426. BFD_RELOC_VTABLE_ENTRY address.
  3427. (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
  3428. (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
  3429. (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
  3430. Remove duplicated fx_done code.
  3431. * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
  3432. (EXTERN_FORCE_RELOC): Define.
  3433. * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
  3434. relaxable_symbol.
  3435. * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
  3436. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3437. (TC_FIX_ADJUSTABLE): Don't define.
  3438. (EXTERN_FORCE_RELOC): Define.
  3439. (MD_APPLY_SYM_VALUE): Define.
  3440. (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
  3441. * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
  3442. Remove fx_addsy tests.
  3443. (mcore_force_relocation): Call S_FORCE_RELOC.
  3444. (mcore_fix_adjustable): Don't test fx_addsy.
  3445. * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
  3446. (EXTERN_FORCE_RELOC): Define.
  3447. (obj_fix_adjustable): Don't define.
  3448. (tc_fix_adjustable): Define.
  3449. (MD_APPLY_SYM_VALUE): Define.
  3450. * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
  3451. (mips_pic): No longer static.
  3452. (mips_force_relocation): Call S_FORCE_RELOC.
  3453. (mips_fix_adjustable): Remove extern, weak tests.
  3454. * config/tc-mips.h (enum mips_pic_level): Declare.
  3455. (mips_pic): Declare.
  3456. (tc_frob_file): Don't define.
  3457. (tc_frob_file_before_fix): Define this instead.
  3458. (EXTERN_FORCE_RELOC): Define.
  3459. * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
  3460. with reg_section tests. Set fx_done instead of calling
  3461. symbol_clear_used_in_reloc on bad relocs.
  3462. (tc_gen_reloc): Zero fx_addsy on bad relocs.
  3463. (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
  3464. (mmix_adjust_symtab): Simplify list handling. Abort on any
  3465. nonsense.
  3466. * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
  3467. BFD_RELOC_MMIX_LOCAL.
  3468. (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
  3469. (EXTERN_FORCE_RELOC): Define.
  3470. (MD_PCREL_FROM_SECTION): Tweak param name.
  3471. (tc_frob_file): Don't define.
  3472. (tc_frob_file_before_fix): Define this instead.
  3473. * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
  3474. Remove SEC_CODE checks.
  3475. (mn10300_fix_adjustable): Remove extern and weak tests.
  3476. * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
  3477. (TC_FORCE_RELOCATION): Tweak param name.
  3478. (obj_fix_adjustable): Don't define.
  3479. (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
  3480. * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
  3481. * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
  3482. (openrisc_fix_adjustable): Don't test fx_addsy.
  3483. * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
  3484. (obj_fix_adjustable): Don't define.
  3485. (tc_fix_adjustable): Define this instead.
  3486. (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
  3487. * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
  3488. (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
  3489. Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
  3490. * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
  3491. (MD_APPLY_SYM_VALUE): Define.
  3492. * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
  3493. Don't subtract symbol value.
  3494. * config/tc-pj.h (md_pcrel_from): Tweak param name.
  3495. (EXTERN_FORCE_RELOC): Define.
  3496. (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
  3497. (MD_APPLY_SYM_VALUE): Define.
  3498. (obj_fix_adjustable): Don't define.
  3499. (tc_fix_adjustable): Define this instead.
  3500. * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
  3501. section sym.
  3502. (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
  3503. (ppc_force_relocation <elf version>): New.
  3504. (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
  3505. (md_apply_fix3): Don't subtract symbol values for ELF. Update
  3506. comments. Don't subtract fx_subsy as that is already done.
  3507. * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
  3508. (MD_PCREL_FROM_SECTION): Likewise.
  3509. (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
  3510. ppc_force_relocation.
  3511. (TC_FORCE_RELOCATION_SECTION): Delete.
  3512. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3513. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3514. (MD_APPLY_SYM_VALUE): Define.
  3515. * config/tc-s390.c: #include "dwarf2dbg.h".
  3516. (s390_insn): Remove excess parens.
  3517. (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
  3518. (tc_s390_force_relocation): Call S_FORCE_RELOC.
  3519. (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
  3520. non-NULL. Don't subtract off fx_addsy value.
  3521. * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3522. (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
  3523. (TC_FIX_ADJUSTABLE): Don't define.
  3524. (MD_APPLY_SYM_VALUE): Define.
  3525. * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
  3526. (SWITCH_TABLE): Likewise.
  3527. (sh_force_relocation): Call S_FORCE_RELOC.
  3528. (sh_fix_adjustable): Remove "return 1" cases handled by the default.
  3529. Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
  3530. (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
  3531. fx_addnumber is zero on entry. Save val in fx_addnumber.
  3532. (tc_gen_reloc): Don't subtract fx_subsy.
  3533. * config/tc-sh.h (struct fix): Move.
  3534. (obj_fix_adjustable): Don't define.
  3535. (tc_fix_adjustable): Define this instead.
  3536. (TC_FIX_ADJUSTABLE): Don't define.
  3537. (MD_APPLY_SYM_VALUE): Define.
  3538. (SWITCH_TABLE_CONS): Define.
  3539. (SWITCH_TABLE): Define.
  3540. (TC_FORCE_RELOCATION_SUB_SAME): Define.
  3541. (TC_VALIDATE_FIX_SUB): Define.
  3542. (MD_PCREL_FROM_SECTION): Tweak param name.
  3543. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3544. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3545. (TC_FORCE_RELOCATION_SUB_ABS): Define.
  3546. * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3547. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3548. (TC_FORCE_RELOCATION_SUB_SAME): Define.
  3549. (TC_VALIDATE_FIX_SUB): Define.
  3550. (MD_PCREL_FROM_SECTION): Tweak param name.
  3551. * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
  3552. (tc_gen_reloc): Use S_FORCE_RELOC.
  3553. (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
  3554. * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
  3555. (TC_FORCE_RELOCATION_ABS): Define this instead.
  3556. (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3557. (TC_FORCE_RELOCATION_LOCAL): Define this instead.
  3558. (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
  3559. (MD_APPLY_SYM_VALUE): Define.
  3560. (TC_FIX_DATA_PRINT): Tweak param name.
  3561. * config/tc-tic30.c (USE_STDOUT): Don't define.
  3562. (md_parse_option): Remove stupid debug code.
  3563. (tc_gen_reloc): Don't use fx_addnumber.
  3564. * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
  3565. (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
  3566. * config/tc-v850.h (obj_fix_adjustable): Don't define.
  3567. (tc_fix_adjustable): Define this instead.
  3568. (TC_FIX_ADJUSTABLE): Don't define.
  3569. (MD_APPLY_SYM_VALUE): Define this instead.
  3570. (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
  3571. * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
  3572. (TC_FIX_ADJUSTABLE): Don't define.
  3573. (MD_APPLY_SYM_VALUE): Define this instead.
  3574. (tc_fix_adjustable): Remove extern and weak tests.
  3575. * config/tc-w65.h (struct fix): Forward declare.
  3576. * config/tc-xstormy16.c (xstormy16_force_relocation): Call
  3577. S_FORCE_RELOC.
  3578. (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
  3579. call xstormy16_force_relocation; Instead test for FPTR16 reloc.
  3580. (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
  3581. absolute symbol.
  3582. * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
  3583. (MD_APPLY_SYM_VALUE): Define.
  3584. (obj_fix_adjustable): Don't define.
  3585. (tc_fix_adjustable): Define this instead.
  3586. (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
  3587. 2002-09-04 Alan Modra <amodra@bigpond.net.au>
  3588. * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
  3589. (ppc_fix_adjustable <coff version>): Cleanup.
  3590. * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
  3591. (md_parse_option): No -a64 without BFD64.
  3592. (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
  3593. (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
  3594. 2002-09-04 Nick Clifton <nickc@redhat.com>
  3595. * config/tc-ppc.c (md_begin): Do not insert non-BookE32
  3596. instructions into the hash table if the target cpu is the BookE32.
  3597. 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
  3598. * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
  3599. ATTRIBUTE_UNUSED.
  3600. 2002-08-28 Catherine Moore <clm@redhat.com>
  3601. * tc-v850.c (v850_relax): Declare.
  3602. (v850_longcode): New routine.
  3603. (v850_handle_align): New routine.
  3604. (md_pseudo_table): Add longcall and longjump.
  3605. (md_parse_option): Check for relax option.
  3606. (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
  3607. BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
  3608. (md_apply_fix3): Likewise.
  3609. (v850_force_relocation): Likewise.
  3610. (v850_comm): Change the current section.
  3611. (md_assemble): Ensure that the correct value is put in the
  3612. fixup.
  3613. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
  3614. v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
  3615. Remove redundant v850ea support.
  3616. * tc-v850.h (HANDLE_ALIGN): Define.
  3617. (v850_handle_align): Declare.
  3618. * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
  3619. 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
  3620. * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
  3621. * configure: Regenerate.
  3622. * NEWS: Mention new port.
  3623. 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  3624. * config/obj-coff.c: Add sdef definition.
  3625. * config/obj-coff.h: Add tic4x include file and set
  3626. target format.
  3627. * config/tc-tic4x.c: New file.
  3628. * config/tc-tic4x.h: New file.
  3629. 2002-08-28 Alan Modra <amodra@bigpond.net.au>
  3630. * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
  3631. (TC_ADJUST_RELOC_COUNT): Tweak param name.
  3632. (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
  3633. (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
  3634. (RELOC_ENUM): Define.
  3635. (fix_new_internal): Use RELOC_ENUM.
  3636. (fix_new, fix_new_exp): Likewise.
  3637. (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
  3638. Replace gotos with continue.
  3639. (write_relocs): Formatting. Avoid symbol loops in
  3640. RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
  3641. errors, and error number in other cases.
  3642. (fixup_segment): Remove param names from prototype. Rename
  3643. "this_segment_type" to "this_segment". Update linkrelax comment.
  3644. Remove "size, "place" and "where" local vars. Formatting. Update
  3645. "no symbol" comment. Remove #if 0 and #if 1.
  3646. * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
  3647. 2002-08-27 Alan Modra <amodra@bigpond.net.au>
  3648. * dwarf2dbg.c: Always include dwarf2dbg.h.
  3649. (dwarf2_directive_file): Adjust dummy version args.
  3650. * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
  3651. * expr.c (clean_up_expression <O_subtract>): Allow subtraction
  3652. when symbol values differ.
  3653. * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
  3654. (pseudo_set <O_subtract>): Remove unnecessary segment test.
  3655. * config/obj-bout.c (obj_pseudo_table): Warning fix.
  3656. 2002-08-26 Alan Modra <amodra@bigpond.net.au>
  3657. * config/tc-w65.c (md_section_align): Fix typo.
  3658. (md_parse_option): Return 0, not 1.
  3659. 2002-08-22 Nick Clifton <nickc@redhat.com>
  3660. * doc/as.texinfo (Section): Note that if '@' is a comment
  3661. character then another symbol is used to prefix the section's
  3662. type.
  3663. 2002-08-22 Christian Groessler <chris@groessler.org>
  3664. * config/tc-z8k.c (get_operands): Adjust ptr variable also in
  3665. "case 0" case.
  3666. 2002-08-12 Graeme Peterson <gp@qnx.com>
  3667. * configure.in: Add support for sh-**-nto* target.
  3668. * configure: Regenerate.
  3669. 2002-08-21 Nitin Gupta <niting@noida.hcltech.com>
  3670. * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
  3671. 2002-08-21 Elena Zannoni <ezannoni@redhat.com>
  3672. * config/tc-ppc.c (ppc_cleanup): Do something only if format
  3673. is ELF.
  3674. (ppc_apuinfo_section_add): Define only if format is ELF.
  3675. (md_assemble): Emit APUinfo section only if format is ELF.
  3676. Fix formatting.
  3677. 2002-08-21 Alan Modra <amodra@bigpond.net.au>
  3678. * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
  3679. * config/tc-frv.c: Likewise.
  3680. * config/tc-hppa.c: Likewise.
  3681. * config/tc-ia64.c: Likewise.
  3682. * config/tc-ip2k.c: Likewise.
  3683. * config/tc-m68hc11.c: Likewise.
  3684. * config/tc-m68k.c: Likewise.
  3685. * config/tc-mmix.c: Likewise.
  3686. * config/tc-mn10300.c: Likewise.
  3687. * config/tc-sh.c: Likewise.
  3688. * config/tc-sparc.c: Likewise.
  3689. * config/tc-v850.c: Likewise.
  3690. 2002-08-20 Richard Sandiford <rsandifo@redhat.com>
  3691. * config/tc-mips.c (macro2): Implement rotates by zero using shifts
  3692. by zero.
  3693. 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
  3694. From matthew green <mrg@redhat.com>
  3695. * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
  3696. PPC_OPCODE_PPC is, except for BookE architectures.
  3697. (md_parse_option): Add support for -mspe.
  3698. (md_show_usage): Add -mspe.
  3699. (md_parse_option): Add support for -me500 and
  3700. -me500x2 to generate code for Motorola e500 core complex.
  3701. (md_show_usage): Add -me500 and -me500x2.
  3702. (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
  3703. PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
  3704. PPC_APUINFO_BRLOCK): New macros.
  3705. (ppc_cleanup): New function.
  3706. (ppc_apuinfo_section_add): New function.
  3707. (APUID): New macro.
  3708. (md_assemble): Collect info and write the APUinfo section.
  3709. * config/tc-ppc.h (md_cleanup): Define.
  3710. (ppc_cleanup): Export.
  3711. (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
  3712. 2002-08-17 Stan Cox <scox@redhat.com>
  3713. * config/obj-elf.c (obj_elf_change_section): Make non-static.
  3714. config/tc-mips.c (s_change_section): New function to support
  3715. IRIX .section pseudo-op.
  3716. 2002-08-16 Nick Clifton <nickc@redhat.com>
  3717. * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
  3718. 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
  3719. * config/tc-mips.c (macro_build_jalr): Make sure we generate
  3720. the fix-up against on the right frag.
  3721. (s_cpsetup): Likewise. Parse third argument as expression, to
  3722. handle global symbols and forward/backward labels correctly.
  3723. 2002-08-14 Nick Clifton <nickc@redhat.com>
  3724. * read.c (stringer): Catch attempts to create strings in the abs
  3725. section.
  3726. * config/tc-alpha.c: Fix compiling for COFF targets.
  3727. Some minor formatting tidyups.
  3728. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  3729. * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
  3730. (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
  3731. according to the reloc.
  3732. (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
  3733. (TC_FORCE_RELOCATION): Define.
  3734. (tc_m68hc11_force_relocation): Declare.
  3735. * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
  3736. (s_m68hc11_relax): New function for relax group.
  3737. (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
  3738. beginning of jump instruction.
  3739. (md_pcrel_from): Rename from md_pcrel_from_section and fix
  3740. address computation.
  3741. (tc-gen_reloc): Update.
  3742. (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
  3743. PC-relative fixup.
  3744. (tc_m68hc11_force_relocation): New function, handle new relocs.
  3745. (tc_m68hc11_fix_adjustable): New to make sure there are enough
  3746. reloc for the linker relax pass.
  3747. (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
  3748. and VTABLE relocs.
  3749. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  3750. * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
  3751. (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
  3752. (s_m68hc11_mode): New function for .mode pseudo op.
  3753. (s_m68hc11_mark_symbol): New function for .far and .interrupt
  3754. pseudo op.
  3755. * config/tc-m68hc11.h (elf_tc_final_processing): Define.
  3756. (m68hc11_elf_final_processing): Declare.
  3757. 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
  3758. * config/tc-m68hc11.c (md_begin): Take into account additional
  3759. page operand for call instruction.
  3760. (print_opcode_format): Likewise.
  3761. (check_range): Likewise for page range checking.
  3762. (get_operand): Don't skip a possible comma in operands.
  3763. (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
  3764. (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
  3765. (fixup24): New to handle call reloc.
  3766. (build_insn): Handle missing page operand for call instruction.
  3767. (find): Likewise.
  3768. (md_apply_fix3): Take into account new relocs.
  3769. (get_operand): Fix the mode for indexed indirect addressing.
  3770. (build_indexed_byte): Fix post index byte for indexed indirect mode.
  3771. 2002-08-12 Richard Sandiford <rsandifo@redhat.com>
  3772. * config/tc-mips.c (mips_ip): Don't work out the value of
  3773. constant %hi()s here.
  3774. 2002-08-10 Alan Modra <amodra@bigpond.net.au>
  3775. * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
  3776. for ELF, and don't bother checking ELF relocs when non-ELF.
  3777. (i386_immediate): Allow absolute_section expressions for aout.
  3778. (i386_displacement): Likewise. Also test bfd_is_com_section.
  3779. (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
  3780. (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
  3781. not when fx_addsy. Remove dead code.
  3782. 2002-08-09 Graeme Peterson <gp@qnx.com>
  3783. * configure.in: Add support for ppc-*-nto* target.
  3784. * configure: Regenerate.
  3785. 2002-08-09 Alan Modra <amodra@bigpond.net.au>
  3786. * config/tc-i386.h: Reorganize.
  3787. 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  3788. * config/tc-mips.c (macro): Handle a register plus a 16-bit
  3789. immediate offset in "dla" and "la" expansions.
  3790. 2002-08-09 Alan Modra <amodra@bigpond.net.au>
  3791. * configure.in: bfd_gas=yes for all i386 targets. Formatting.
  3792. Remove "bfd_gas=yes" from target table when covered later.
  3793. Consolidate some entries.
  3794. * configure: Regenerate
  3795. 2002-08-09 Jakub Jelinek <jakub@redhat.com>
  3796. * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
  3797. at start of insn, pass it to output_disp and output_imm.
  3798. (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
  3799. in displacement for R_386_32 reloc, use R_386_GOTPC and compute
  3800. properly addend.
  3801. (output_imm): Added arguments. Compute properly addend for
  3802. R_386_GOTPC.
  3803. (md_apply_fix3): Remove R_386_GOTPC handling.
  3804. 2002-08-06 George France <france@handhelds.org>
  3805. * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
  3806. and m21264b processor names and cpu types.
  3807. * doc/c-alpha.texi: Documented new types.
  3808. 2002-08-06 Alan Modra <amodra@bigpond.net.au>
  3809. * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
  3810. 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
  3811. * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
  3812. handling to BFD_RELOC_MIPS16_GPREL.
  3813. 2002-08-01 Nick Clifton <nickc@redhat.com>
  3814. * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
  3815. pool is computed using signed arithmetic so that proper sign
  3816. extension is performed if X_add_number is a 64-bit integer.
  3817. 2002-08-01 H.J. Lu <hjl@gnu.org>
  3818. Daniel Jacobowitz <drow@mvista.com>
  3819. * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
  3820. .debug_line section unless it has line information.
  3821. 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
  3822. * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
  3823. * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
  3824. Allow default displacement size to be an option "--disp-size-default".
  3825. (md_number_to_disp): Make error messages include value. Use %d to
  3826. print integers, not %s.
  3827. (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
  3828. get duplicate messages sometimes.
  3829. (convert_iif): Grow frag to max possible instruction size. Avoid
  3830. creating unnecessary fixes.
  3831. (md_number_to_field) Add prototype.
  3832. (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
  3833. prototypes and make static.
  3834. (struct addr_mode): Make mode and scaled_mode explicitly signed.
  3835. (evaluate_expr): Use resultP argument instead of exprP global.
  3836. (get_addr_mode): Quiten compiler warnings.
  3837. (encode_operand): eliminate unused variables. Quiten compiler
  3838. warnings. Eliminate nul character in format strings.
  3839. (parse): argc is unsigned.
  3840. (reloc): Type cast index to quieten compiler.
  3841. (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
  3842. (md_convert_frag): Note unused parameters. Remove unused
  3843. variables.
  3844. (md_create_long_jump, md_create_short_jump,
  3845. md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
  3846. unused parameters.
  3847. 2002-07-31 Nick Clifton <nickc@redhat.com>
  3848. * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
  3849. of the PDP-11 and 2.11BSD a.out support.
  3850. 2002-07-31 Momchil Velikov <velco@fadata.bg>
  3851. * config/tc-v850.c (md_assemble): Fix range check for immediate
  3852. operand.
  3853. 2002-07-30 Chris Demetriou <cgd@broadcom.com>
  3854. * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
  3855. to Broadcom SB-1 core support.
  3856. 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3857. * config/tc-mips.c (mips_target_format): Fix formatting.
  3858. Add recognition of n32 ABI formats.
  3859. 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  3860. * tc-mips.c (load_address): Don't clobber $at when loading a
  3861. 64-bit address in non-PIC code if noat is in effect.
  3862. (macro): Likewise.
  3863. 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  3864. * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
  3865. used in division/multiply macro expansions similarly to how they
  3866. are used in the variants with break instructions.
  3867. (macro2): Likewise.
  3868. 2002-07-30 Graeme Peterson <gp@qnx.com>
  3869. * configure.in: Add support for arm-*-nto target.
  3870. * configure: Regenerate.
  3871. 2002-07-30 Nick Clifton <nickc@redhat.com>
  3872. * config/tc-arm.c (struct literal_pool): Add fields to allow
  3873. multiple literal pools to be maintained.
  3874. (find_literal_pool): New function.
  3875. (find_or_make_literal_pool): New function.
  3876. (add_to_literal_pool): Use find_or_make_literal_pool.
  3877. (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
  3878. needed.
  3879. (s_ltorg): Use find_literal_pool.
  3880. (arm_cleanup): Dump all literal pools.
  3881. * doc/c-arm.texi: Document new behaviour of only dumping literal
  3882. pools upon request.
  3883. 2002-07-26 Alan Modra <amodra@bigpond.net.au>
  3884. * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
  3885. rather than PPC_OPCODE_32 for powerpc64*.
  3886. 2002-07-25 Nick Clifton <nickc@redhat.com>
  3887. * po/es.po: Updated Spanish translation.
  3888. * po/fr.po: Updated French translation.
  3889. 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
  3890. * doc/c-mips.texi: Remove -mcpu. Document -mabi.
  3891. * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
  3892. (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
  3893. * configure, config.in: Regenerate.
  3894. * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
  3895. (mips_set_options): Remove "abi" field.
  3896. (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
  3897. with mips_abi.
  3898. (mips_cpu): Remove.
  3899. (mips_arch_string, mips_arch_info): New vars.
  3900. (mips_tune_string, mips_tune_info): New vars.
  3901. (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
  3902. (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
  3903. (mips_isa_to_str, mips_cpu_to_str): Remove.
  3904. (mips_ip): If the selected architecture is a generic ISA rather
  3905. than a processor, only mention the ISA level in error messages.
  3906. (OPTION_MCPU): Remove.
  3907. (OPTION_FP64): New.
  3908. (md_longopts): Add -mfp64, remove -mcpu.
  3909. (mips_set_option_string): New fn.
  3910. (md_parse_option): Make -mipsN update file_mips_isa rather than
  3911. mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
  3912. Don't let -mgp32 and -mfp32 change the ABI.
  3913. (show): Move to end of file. Constify string argument.
  3914. (md_show_usage): Move to the end of the file. Read available
  3915. architectures from mips_cpu_info_table.
  3916. (mips_set_architecture): New fn.
  3917. (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
  3918. is an alias for -march=mipsN. Don't change the ABI based on other
  3919. flags. Infer the register size from the ABI as well as the
  3920. architecture. Complain about more conflicting arguments.
  3921. Unify logic with GCC.
  3922. (s_mipsset): Don't change the ABI.
  3923. (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
  3924. (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
  3925. "mipsN"-type entries. Remove entries that vary only in the
  3926. manufacturer's prefix, or that have "000" replaced by "k".
  3927. Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
  3928. (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
  3929. (mips_parse_cpu): New fn.
  3930. (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
  3931. (mips_cpu_info_from_isa): Minor formatting tweak.
  3932. 2002-07-24 Nick Clifton <nickc@redhat.com>
  3933. * po/sv.po: Updated Swedish translation.
  3934. * po/es.po: Updated Spanish translation.
  3935. 2002-07-23 Alan Modra <amodra@bigpond.net.au>
  3936. * Makefile.am: Run "make dep-am".
  3937. * Makefile.in: Regenerate.
  3938. * doc/Makefile.in: Regenerate.
  3939. * config.in: Regenerate.
  3940. * po/POTFILES.in: Regenerate.
  3941. 2002-07-23 Nick Clifton <nickc@redhat.com>
  3942. * po/fr.po: Updated French translation.
  3943. 2002-07-23 Nick Clifton <nickc@redhat.com>
  3944. * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
  3945. GAS.
  3946. 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3947. * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
  3948. instead of S_IS_EXTERN.
  3949. (md_estimate_size_before_relax): Likewise.
  3950. (mips_fix_adjustable): Likewise.
  3951. 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3952. * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
  3953. 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
  3954. Nick Clifton <nickc@redhat.com>
  3955. * cond.c (s_ifdef): Treat a referenced but not yet defined
  3956. symbol as if it were undefined, in exactly the same way as
  3957. .equiv.
  3958. * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
  3959. consider referenced bug not yet defined symbols to be
  3960. undefined.
  3961. 2002-07-18 Denis Chertykov <denisc@overta.ru>
  3962. Frank Ch. Eigler <fche@redhat.com>
  3963. Alan Lehotsky <alehotsky@cygnus.com>
  3964. John Healy <jhealy@redhat.com>
  3965. Jeff Johnston <jjohnstn@redhat.com>
  3966. * configure.in: Add ip2k configuraton.
  3967. * configure: Regenerate.
  3968. * Makefile.am: Add ip2k configuraton.
  3969. * Makefile.in: Regenerate.
  3970. * configure: Regenerate.
  3971. * Makefile.in: Regenerate.
  3972. * config/tc-ip2k.c: New file.
  3973. * config/tc-ip2k.h: New files.
  3974. * NEWS: Mention new support.
  3975. * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
  3976. * doc/Makefile.in: Regenerate.
  3977. * doc/all.texi: Set IP2K
  3978. * doc/as.texinfo: Add IP2K description.
  3979. * doc/c-ip2k.texi: New file.
  3980. 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
  3981. * NEWS: Reformat to match style of other NEWS files.
  3982. 2002-07-17 Jan Hubicka <jh@suse.cz>
  3983. * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
  3984. 2002-07-16 Moritz Jodeit <moritz@jodeit.org>
  3985. * config/tc-z8k.c (build_bytes): Correct order of memset args.
  3986. 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
  3987. * NEWS: Add 'Changes in 2.13'.
  3988. 2002-07-15 Matt Fredette <fredette@netbsd.org>
  3989. * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
  3990. 2002-07-12 Alan Modra <amodra@bigpond.net.au>
  3991. * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
  3992. case with non CODE_64BIT case. Don't warn on "qword ptr" if
  3993. not CODE_64BIT.
  3994. 2002-07-11 Alan Modra <amodra@bigpond.net.au>
  3995. * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
  3996. (ppc_frob_file_before_adjust): New function.
  3997. * config/tc-ppc.h (tc_frob_symbol): Don't define.
  3998. (ppc_elf_frob_symbol): Don't declare.
  3999. (tc_frob_file_before_adjust): Define.
  4000. (ppc_frob_file_before_adjust): Declare.
  4001. * config/tc-ppc.c (md_pseudo_table): Warning fix.
  4002. (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
  4003. flags.
  4004. (ppc_size): Delete.
  4005. (ppc_xcoff64): Rename to ppc_obj64.
  4006. (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
  4007. (ppc_set_cpu): Set PPC_OPCODE_32 too.
  4008. (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
  4009. or bfd_mach_ppc.
  4010. (ppc_target_format): Use ppc_obj64 to select format.
  4011. (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
  4012. (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
  4013. (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
  4014. (tc_frob_symbol): Likewise.
  4015. (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
  4016. BFD_DEFAULT_TARGET_SIZE.
  4017. (ppc_tc): Likewise.
  4018. (ppc_is_toc_sym): Likewise.
  4019. (md_apply_fix3): Likewise.
  4020. * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
  4021. BFD_DEFAULT_TARGET_SIZE.
  4022. (ELF_TC_SPECIAL_SECTIONS): Likewise.
  4023. (tc_frob_symbol): Likewise.
  4024. 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4025. * config/tc-mips.c (macro_build): Handle MIPS16 insns.
  4026. (mips_ip): Likewise.
  4027. 2002-07-09 Alan Modra <amodra@bigpond.net.au>
  4028. * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
  4029. (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
  4030. (md_apply_fix3): Formatting. Remove redundant test.
  4031. (tc_gen_reloc): Remove redundant code.
  4032. (tc_i386_force_relocation): Delete. Movy body of function to..
  4033. * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
  4034. 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
  4035. * configure.in: Add hppa-*-openbsd* target, change
  4036. alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
  4037. with sparc64 cpu.
  4038. * configure: Regenerate.
  4039. 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  4040. * config/tc-mips.c (macro): Shift the 32-bit address range
  4041. accessible with a lone "lui" down by 32768.
  4042. 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  4043. * config/tc-mips.c (load_address): Use non-trapping "daddu"
  4044. instead of "dadd" in address calculations.
  4045. (macro): Likewise.
  4046. 2002-07-08 Alan Modra <amodra@bigpond.net.au>
  4047. * config/tc-i386.c (process_suffix): Remove intel mode movsx and
  4048. movzx fudges.
  4049. (md_assemble): Instead, zap the suffix here.
  4050. 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
  4051. * NEWS: Remove next release number until the release is actually
  4052. upon us.
  4053. 2002-07-03 Alan Modra <amodra@bigpond.net.au>
  4054. * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
  4055. Run "make dep-am".
  4056. * Makefile.in: Regenerate.
  4057. 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4058. * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
  4059. to symbols in merge sections, even non pc-relative ones.
  4060. 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
  4061. * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
  4062. 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
  4063. * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
  4064. .softregs and .eeprom.
  4065. 2002-06-28 David O'Brien <obrien@FreeBSD.org>
  4066. * NEWS: Note the next release is 2.13.
  4067. 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
  4068. * po/tr.po: New translation imported.
  4069. 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
  4070. * ecoff.c: (get_tag): Replace strcpy with xstrdup.
  4071. (ecoff_directive_def): Likewise.
  4072. (ecoff_directive_tag): Likewise.
  4073. * listing.c (file_info): Likewise.
  4074. * hash.c (what): Likewise.
  4075. 2002-06-25 H.J. Lu <hjl@gnu.org>
  4076. * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
  4077. * Makefile.in: Regenerated.
  4078. 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
  4079. * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
  4080. (assemble_ppi): Generate warning if the same register is used
  4081. twice as destination in the same padd / pmuls instruction.
  4082. 2002-06-18 Dave Brolley <brolley@redhat.com>
  4083. From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
  4084. * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
  4085. * configure.in: Support frv-*-*.
  4086. * Makefile.am (CPU_TYPES): Add frv.
  4087. (TARGET_CPU_CFILES): Add tc-frv.c.
  4088. (TARGET_CPU_HFILES): Add tc-frv.h.
  4089. (DEPTC_frv_coff): New variable.
  4090. (DEPTC_frv_elf): New variable.
  4091. (DEPOBJ_frv_coff): New variable.
  4092. (DEPOBJ_frv_elf): New variable.
  4093. (DEP_frv_coff): New variable.
  4094. (DEP_frv_elf): New variable.
  4095. * tc-frv.c: New file.
  4096. * tc-frv.h: New file.
  4097. 2002-06-17 Catherine Moore <clm@redhat.com>
  4098. * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
  4099. 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
  4100. * config/tc-sh.c (assemble_ppi): Initialize reg_n.
  4101. 2002-06-17 Tom Rix <trix@redhat.com>
  4102. * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
  4103. 2002-06-14 H.J. Lu <hjl@gnu.org>
  4104. Daniel Jacobowitz <drow@mvista.com>
  4105. * dwarf2dbg.h (dwarf2_directive_file): Return char *.
  4106. * dwarf2dbg.c (dwarf2_directive_file): Return filename.
  4107. * config/tc-mips.c (s_mips_file): Call s_app_file_string
  4108. and new_logical_line for the first .file directive.
  4109. * read.c (s_app_file_string): New function.
  4110. (s_app_file): Call it.
  4111. * read.h (s_app_file_string): Add declaration.
  4112. 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
  4113. * configure.in: Remove MIPS_STABS_ELF.
  4114. * configure: Regenerated.
  4115. * config.in: Regenerated.
  4116. * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
  4117. for MIPS targets.
  4118. * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
  4119. ".extern".
  4120. (pdr_seg): Declare unconditionally.
  4121. (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
  4122. (s_mips_end): Likewise. Generate stabs function markers.
  4123. (s_mips_ent): Generate stabs function markers.
  4124. (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
  4125. ELF.
  4126. (s_mips_mask): Likewise.
  4127. (mips_flag_mdebug): New.
  4128. (md_longopts): Add "mdebug" and "no-mdebug".
  4129. (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
  4130. (mips_after_parse_args): Set mips_flag_mdebug.
  4131. * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
  4132. 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  4133. * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
  4134. value twice for RELA relocations.
  4135. 2002-06-12 Ben Elliston <bje@redhat.com>
  4136. * symbols.c (resolve_symbol_value): Initialise final_val.
  4137. * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
  4138. 2002-06-11 Tom Rix <trix@redhat.com>
  4139. * config/tc-ppc.c (ppc_subseg_align): Delete.
  4140. (ppc_change_csect): Default csect align is 2.
  4141. * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
  4142. 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
  4143. * config/tc-avr.c (mcu_types): Update.
  4144. 2002-06-08 Matt Thomas <matt@3am-software.com>
  4145. * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
  4146. (vax-*-netbsd*): New targets.
  4147. * configure: Regenerate.
  4148. * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
  4149. * config/tc-vax.c: Add support for ELF and PIC.
  4150. (flag_want_pic): New flag.
  4151. (float_cons): Fix prototype.
  4152. (md_apply_fix3): Adjust for BFD_ASSEMBLER.
  4153. (md_assemble): Introduce a new is_absolute local, and use it
  4154. rather than repeating the test. Make fatal errors actually
  4155. fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
  4156. Add support for ELF. Add support for PIC.
  4157. (md_convert_frag): Adjust for BFD_ASSEMBLER.
  4158. (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
  4159. BFD_ASSEMBLER.
  4160. (vax_reg_parse): Make the % register prefix mandatory for ELF,
  4161. optional for a.out, and not allowed for VMS. Adjust all callers.
  4162. (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
  4163. (md_create_long_jump): Likewise.
  4164. (md_undefined_symbol): Likewise.
  4165. (md_section_align): Likewise.
  4166. (md_shortopts): Allow -k and -K for ELF.
  4167. (md_parse_option): Set flag_want_pic if -k or -K.
  4168. (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
  4169. (tc_gen_reloc): New function if BFD_ASSEMBLER.
  4170. * config/tc-vax.h (tc_headers_hook): Remove.
  4171. (TARGET_FORMAT): Set according to object format and target
  4172. environment.
  4173. (BFD_ARCH, TARGET_ARCH): Define.
  4174. (NO_RELOC): Adjust for BFD_ASSEMBLER.
  4175. (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
  4176. (tc_fix_adjustable): Define if BFD_ASSEMBLER.
  4177. * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
  4178. 2002-06-08 Alan Modra <amodra@bigpond.net.au>
  4179. * Makefile.am: Run "make dep-am".
  4180. * Makefile.in: Regenerate.
  4181. * as.c: Replace CONST with const.
  4182. * write.c: Likewise.
  4183. * config/obj-coff.c: Likewise.
  4184. * config/tc-a29k.c: Likewise.
  4185. * config/tc-arm.c: Likewise.
  4186. * config/tc-dlx.c: Likewise.
  4187. * config/tc-h8300.c: Likewise.
  4188. * config/tc-h8500.c: Likewise.
  4189. * config/tc-i370.c: Likewise.
  4190. * config/tc-i860.c: Likewise.
  4191. * config/tc-i960.c: Likewise.
  4192. * config/tc-m68hc11.c: Likewise.
  4193. * config/tc-m68k.c: Likewise.
  4194. * config/tc-m88k.c: Likewise.
  4195. * config/tc-mcore.c: Likewise.
  4196. * config/tc-mips.c: Likewise.
  4197. * config/tc-ns32k.c: Likewise.
  4198. * config/tc-pdp11.c: Likewise.
  4199. * config/tc-pj.c: Likewise.
  4200. * config/tc-s390.c: Likewise.
  4201. * config/tc-sh.c: Likewise.
  4202. * config/tc-sparc.c: Likewise.
  4203. * config/tc-tahoe.c: Likewise.
  4204. * config/tc-tic80.c: Likewise.
  4205. * config/tc-v850.c: Likewise.
  4206. * config/tc-vax.c: Likewise.
  4207. * config/tc-w65.c: Likewise.
  4208. * config/tc-z8k.c: Likewise.
  4209. 2002-06-08 Daniel Jacobowitz <drow@mvista.com>
  4210. Based on patch from Matt Green:
  4211. * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
  4212. * config/tc-mips.c (s_mips_file): Renamed from s_file.
  4213. (s_mips_loc): New function.
  4214. (mips_nonecoff_pseudo_table): Call them.
  4215. (append_insn): Call dwarf2_emit_insn.
  4216. 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4217. * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
  4218. to -1.
  4219. (file_ase_mips16): New veriable.
  4220. (mips_eabi64): Remove.
  4221. (CPU_HAS_MIPS16): New define.
  4222. (CPU_HAS_MDMX): Fix data type.
  4223. (md_begin): Code cleanup. Use file_ase_mips16.
  4224. (mips_elf_final_processing): Handle mips16 header flag.
  4225. Handle EABI flag without intermediate variable.
  4226. 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4227. * doc/as.texinfo: Update MIPS documentation.
  4228. 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4229. * config/tc-mips.c: Add define for $zero register.
  4230. (md_begin): Add $zero as alias name for $0.
  4231. (insn_uses_reg): Use ZERO define.
  4232. (mips_ip): Add $zero as alias name for $0.
  4233. (mips16_ip): Likewise.
  4234. (s_cplocal): Demand empty rest of input line.
  4235. (tc_get_register): Likewise. Add support for $kt0, kt1 register
  4236. names. Use ZERO define. Fix input_line_pointer progress.
  4237. 2002-06-07 Alan Modra <amodra@bigpond.net.au>
  4238. * symbols.c: Replace CONST by const throughout.
  4239. (symbol_find_exact): Split out from..
  4240. (symbol_find_base): ..here.
  4241. * symbols.h: Replace CONST by const throughout.
  4242. (symbol_find_exact): Declare.
  4243. * config/obj-elf.c: #include "struc-symbol.h".
  4244. (elf_frob_file): If group name matches an exported symbol, use that
  4245. symbol for the signature and ".group" as the section name.
  4246. 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
  4247. * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
  4248. but warn about it.
  4249. 2002-06-06 Daniel Jacobowitz <drow@mvista.com>
  4250. * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
  4251. and mips_opts.ase_mdmx if they are uninitialized.
  4252. 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4253. * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
  4254. (hppa_force_relocation): Check if a stub just before the start symbol
  4255. of the last call_info is reachable before forcing relocation. Fix
  4256. typo.
  4257. 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  4258. * config/tc-mips.c (mips_after_parse_args): New function.
  4259. (md_begin): Move processing of defaults to mips_after_parse_args.
  4260. config/tc-mips.h (md_after_parse_args): Define.
  4261. 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
  4262. * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
  4263. (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
  4264. (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
  4265. * configure: Regenerate.
  4266. * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
  4267. environment.
  4268. 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
  4269. * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
  4270. 2002-06-04 Alan Modra <amodra@bigpond.net.au>
  4271. * config/obj-elf.c (obj_elf_change_section): Set and check elf
  4272. linkonce flag. Print all warnings.
  4273. (obj_elf_section): Parse ",comdat" for groups.
  4274. (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
  4275. consistency of comdat flag.
  4276. 2002-06-02 Richard Henderson <rth@redhat.com>
  4277. * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
  4278. with LITERALs without sequence numbers.
  4279. 2002-06-01 Richard Henderson <rth@redhat.com>
  4280. * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
  4281. Rename them LITUSE_ALPHA_*.
  4282. 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
  4283. * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
  4284. accept parentheses enclosed register lists.
  4285. 2002-05-31 Alan Modra <amodra@bigpond.net.au>
  4286. * Makefile.am: Run "make dep-am".
  4287. * Makefile.in: Regenerate.
  4288. * po/POTFILES.in: Regenerate.
  4289. 2002-05-31 Graeme Peterson <gp@qnx.com>
  4290. * configure.in: Add i386-*-nto-qnx*.
  4291. * configure: Regenerate.
  4292. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4293. * config/tc-mips.c (mips_ip): Use unsigned long values for
  4294. warning output.
  4295. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4296. * config/tc-mips.c (s_cpsetup): Fix initialization of
  4297. mips_cpreturn_register and mips_cpreturn_offset.
  4298. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4299. * config/tc-mips.c (s_cpsetup): Fix comment.
  4300. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4301. * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
  4302. (mips_ip): Likewise.
  4303. (mips16_ip): Likewise.
  4304. (tc_get_register): Likewise.
  4305. 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
  4306. Ed Satterthwaite <ehs@broadcom.com>
  4307. * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
  4308. (mips_opts): Initialize "ase_mdmx" member.
  4309. (file_ase_mdmx): New variable.
  4310. (CPU_HAS_MDMX): New macro.
  4311. (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
  4312. based on command line options and configuration defaults.
  4313. (macro_build): Note in comment that use of MDMX in macros is
  4314. not currently allowed.
  4315. (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
  4316. "Z" MDMX operand types.
  4317. (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
  4318. and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
  4319. types.
  4320. (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
  4321. Add support for "-mdmx" and "-no-mdmx" options.
  4322. (OPTION_ELF_BASE): Move to accommodate new options.
  4323. (s_mipsset): Support ".set mdmx" and ".set nomdmx".
  4324. (mips_elf_final_processing): Set MDMX ASE ELF header flag if
  4325. file_ase_mdmx was set.
  4326. * doc/as.texinfo: Document -mdmx and -no-mdmx options.
  4327. * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
  4328. nomdmx" directives.
  4329. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4330. * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
  4331. OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
  4332. command line switch conforming to gcc conventions.
  4333. * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
  4334. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4335. * config/tc-mips.c (macro_build_jalr): New Function.
  4336. (md_begin): NewABI uses big GOTs.
  4337. (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
  4338. BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
  4339. (load_address): Add some NewABI PIC support.
  4340. (macro): Likewise.
  4341. (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
  4342. (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
  4343. 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4344. * config/tc-mips.c (load_address): Use mips_gp_register instead
  4345. of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
  4346. instead.
  4347. (macro): Use mips_gp_register instead of hardcoded value.
  4348. 2002-05-30 Richard Henderson <rth@redhat.com>
  4349. * expr.h (operatorT): Add O_md17..O_md32.
  4350. * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
  4351. O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
  4352. O_tprelhi, O_tprello, O_tprel): New.
  4353. (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
  4354. (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
  4355. (LITUSE_TLSGD, LITUSE_TLSLDM): New.
  4356. (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
  4357. saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
  4358. (md_apply_fix3): Handle TLS relocations.
  4359. (alpha_force_relocation, alpha_fix_adjustable): Likewise.
  4360. (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
  4361. associated TLS reloc. Check lituse_tls relocs match up.
  4362. (emit_insn): Handle TLS relocations.
  4363. (ldX_op): Remove.
  4364. * doc/c-alpha.texi: Add docs for tls relocations.
  4365. 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4366. * config/tc-mips.c (mips_gprel_offset): New variable.
  4367. (s_gpvalue): Use it.
  4368. 2002-05-30 Diego Novillo <dnovillo@redhat.com>
  4369. * gas/config/tc-d10v.c (check_resource_conflict): Only check
  4370. write-write conflicts.
  4371. (md_assemble): Reformat introductory comment.
  4372. (parallel_ok): Prevent packing only if the first
  4373. instruction cannot be packed.
  4374. 2002-05-30 Jason Eckhardt <jle@redhat.com>
  4375. Tom Rix <trix@redhat.com>
  4376. * config/tc-d10v.c (build_insn): Check for immediates.
  4377. 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4378. * config/tc-mips.c: Replace GP in comments by $gp.
  4379. (mips_big_got): Initialize.
  4380. (mips_trap): Initialize.
  4381. (load_address): Use mips_gp_register instead of hardcoded value.
  4382. Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
  4383. (macro): Use mips_gp_register instead of hardcoded value.
  4384. (macro2): Change load_address calls.
  4385. (md_pcrel_from): Comment formatting.
  4386. (s_cpload): Use mips_gp_register instead of hardcoded value.
  4387. (s_cprestore): Likewise. Comment formatting.
  4388. (s_gpword): Fix data type.
  4389. (s_cpadd): Use mips_gp_register instead of hardcoded value.
  4390. (nopic_need_relax): Replace GP in comments by $gp.
  4391. (mips_elf_final_processing): Better comment.
  4392. 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
  4393. * configure.in: Add DLX configuraton
  4394. * Makefile.am: Add DLX configuraton
  4395. * configure: Regenerate.
  4396. * Makefile.in: Regenerate.
  4397. * config/tc-dlx.c: New file.
  4398. * config/tc-dlx.h: New files.
  4399. * NEWS: Mention new support.
  4400. 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
  4401. * config/obj-coff.c (write_object_file): Add missing semicolon.
  4402. 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4403. * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
  4404. by the define. Remove superfluous check of mips_opts.mips16.
  4405. (append_insn): Likewise. Canonicalize variable increments.
  4406. (macro_build): Canonicalize variable increments.
  4407. (macro_build_lui): Likewise.
  4408. (load_register): Likewise.
  4409. (load_address): Move pointer initialization.
  4410. (macro): Move pointer to a more local scope. Canonicalize variable
  4411. increments. Better comments. Replace magic constant for RA by the
  4412. define.
  4413. (macro2): Replace magic constant for RA by the define. Canonicalize
  4414. variable increments.
  4415. (mips_ip): Canonicalize variable increments.
  4416. (mips16_ip): Replace magic constant for RA by the define.
  4417. (my_getSmallParser): Canonicalize variable increments/decrements.
  4418. (my_getPercentOp): Likewise.
  4419. (my_getSmallExpression): Likewise.
  4420. (s_align): Likewise.
  4421. (s_mipsset): Likewise.
  4422. (s_cpsetup): Likewise.
  4423. (s_insn): Remove superfluous check of mips_opts.mips16.
  4424. (s_mips_stab): Likewise.
  4425. (mips_handle_align): Canonicalize variable increments.
  4426. (s_mips_ent): Likewise.
  4427. (s_mips_end): Add comment.
  4428. 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
  4429. * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
  4430. * configure: Regenerate.
  4431. 2002-05-25 Alan Modra <amodra@bigpond.net.au>
  4432. * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
  4433. * Makefile.in: Regenerate.
  4434. * dep-in.sed: Reorder to match OBJS in Makefile.am.
  4435. * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
  4436. * configure: Regenerate.
  4437. * as.h: Use #include "" instead of <> for local header files.
  4438. * flonum-konst.c: Likewise.
  4439. * flonum-mult.c: Likewise.
  4440. * gasp.c: Likewise.
  4441. * listing.c: Likewise.
  4442. * config/tc-ia64.h: Likewise.
  4443. * config/tc-v850.h: Likewise.
  4444. 2002-05-24 TAMURA Kent <kent@netbsd.org>
  4445. * configure.in: Add a target for i386-netbsdpe.
  4446. * configure: Regenerate.
  4447. 2002-05-23 Jakub Jelinek <jakub@redhat.com>
  4448. * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
  4449. (obj_elf_common): Call elf_common.
  4450. (obj_elf_tls_common): New function.
  4451. (elf_pseudo_tab): Support .tls_common.
  4452. (special_sections): Add .tdata and .tbss.
  4453. (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
  4454. sections.
  4455. (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
  4456. (obj_elf_parse_section_letters): Include T in error message.
  4457. * config/tc-ppc.c (ppc_section_letter): Likewise.
  4458. * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
  4459. (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
  4460. SEC_MERGE.
  4461. * config/tc-sparc.c (md_apply_fix3): Likewise.
  4462. * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
  4463. Define them if not BFD_ASSEMBLER.
  4464. (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
  4465. and @NTPOFF.
  4466. (md_apply_fix3): Add TLS relocs.
  4467. * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
  4468. FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
  4469. FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
  4470. (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
  4471. (ia64_elf_section_letter): Include T in error message.
  4472. (md_begin): Support TLS operators.
  4473. (md_operand): Likewise.
  4474. (ia64_gen_real_reloc_type): Support TLS relocs.
  4475. * write.c (adjust_reloc_syms): Don't change symbols in
  4476. SEC_THREAD_LOCAL sections to STT_SECTION + addend.
  4477. 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
  4478. * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
  4479. round the relocation up rather than down.
  4480. 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
  4481. * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
  4482. flag.
  4483. * doc/as.texinfo: Document that the COFF version of .section
  4484. ignores the 'a' flag.
  4485. 2002-05-23 Alan Modra <amodra@bigpond.net.au>
  4486. * config/tc-alpha.c (assemble_tokens): Protect use of
  4487. ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
  4488. * write.c (size_seg): Check adjustment to last frag.
  4489. (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
  4490. section alignment.
  4491. * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
  4492. * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
  4493. (write_object_file): Invoke md_do_align if available, and use
  4494. frag_align_code on text sections.
  4495. * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
  4496. * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
  4497. * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
  4498. * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
  4499. * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
  4500. BFD_ASSEMBLER too.
  4501. 2002-05-22 H.J. Lu <hjl@gnu.org>
  4502. * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
  4503. for source file.
  4504. 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
  4505. * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
  4506. as ELF builds.
  4507. 2002-05-22 H.J. Lu <hjl@gnu.org>
  4508. * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
  4509. for one .loc for compiler.
  4510. 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4511. * config/tc-mips.c (macro): Relax warning, it's toot strict for
  4512. embedded-PIC.
  4513. 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4514. * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
  4515. Optimize the rotate by zero case.
  4516. 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
  4517. * configure.in: Remove accidental enabling of bfd_gas=yes for
  4518. sh-coff targets.
  4519. * configure: Regenerate.
  4520. 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
  4521. * app.c: Fix formatting.
  4522. * as.c: Likewise.
  4523. * ehopt.c: Likewise.
  4524. * expr.c: Likewise.
  4525. * input-file.c: Likewise.
  4526. * listing.c: Likewise.
  4527. * macro.h: Likewise.
  4528. * stabs.c: Likewise.
  4529. * symbols.c: Likewise.
  4530. 2002-05-17 Alan Modra <amodra@bigpond.net.au>
  4531. * config/obj-generic.c: Delete file.
  4532. * config/obj-generic.h: Likewise.
  4533. 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
  4534. * config/tc-avr.c (mcu_types): Update for new devices.
  4535. 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4536. * config/tc-mips.c (macro): Warn about wrong la/dla use.
  4537. 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4538. * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
  4539. worked sometimes by accident. Fix copy&paste comment.
  4540. 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4541. * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
  4542. alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
  4543. (mips_elf_final_processing): Let n32 use .reginfo.
  4544. 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4545. * config/tc-mips.c (append_insn): Fix too small range of variable.
  4546. 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
  4547. * config/tc-arm.c (arm_cleanup): Remove redundant call to
  4548. listing_prev_line().
  4549. 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
  4550. * config/tc-arm.c (md_assemble): Remove redundant call to
  4551. listing_prev().
  4552. * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
  4553. loc_directive_seen.
  4554. * stabs.c (s_stab_generic): Fix grammatical error in warning
  4555. message.
  4556. 2002-05-13 Alan Modra <amodra@bigpond.net.au>
  4557. * write.c (subsegs_finish): Don't specially align last subseg.
  4558. 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
  4559. * stabs.c (s_stab_generic): Warn about a description field that is
  4560. too big.
  4561. * config/obj-coff.c: Fix compile time warnings when compiling
  4562. without BFD_ASSEMBLER defined.
  4563. Fix formatting.
  4564. * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
  4565. target.
  4566. (md_pcrel_from_section): Use md_pcrel_from().
  4567. 2002-05-11 Bruno Haible <bruno@clisp.org>
  4568. * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
  4569. by dwarf2_directive_loc, instead of calling dwarf2_where.
  4570. 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
  4571. * config/obj-coff.h: Fix formatting.
  4572. * config/tc-mcore.c: Likewise.
  4573. * config/tc-mn10300.c: Likewise.
  4574. * config/tc-openrisc.c: Likewise.
  4575. * config/tc-or32.c: Likewise.
  4576. * config/tc-pdp11.c: Likewise.
  4577. * config/tc-ppc.c: Likewise.
  4578. * config/tc-ppc.h: Likewise.
  4579. * config/tc-sh64.c: Likewise.
  4580. * config/tc-sh.c: Likewise.
  4581. * config/tc-tic54x.c: Likewise.
  4582. * config/tc-xstormy16.c: Likewise.
  4583. * config/tc-xstormy16.h: Likewise.
  4584. 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
  4585. * config/obj-coff.c: Fix formatting.
  4586. * config/obj-elf.c: Likewise.
  4587. * config/tc-alpha.c: Likewise.
  4588. * config/tc-arm.c: Likewise.
  4589. * config/tc-d10v.c: Likewise.
  4590. * config/tc-d30v.c: Likewise.
  4591. * config/tc-h8300.c: Likewise.
  4592. * config/tc-hppa.c: Likewise.
  4593. 2002-05-09 Alan Modra <amodra@bigpond.net.au>
  4594. * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
  4595. reloc when no_cond_jump_promotion.
  4596. 2002-05-08 Jim Wilson <wilson@redhat.com>
  4597. * config/tc-i960.c (md_estimate_size_before_relax): Return size of
  4598. current variable part of frag.
  4599. 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
  4600. * config/tc-mmix.c: Fix formatting.
  4601. * config/tc-mmix.h: Likewise.
  4602. 2002-05-08 Alan Modra <amodra@bigpond.net.au>
  4603. * configure: Regenerate.
  4604. 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
  4605. * config/tc-m68k.c: Fix formatting.
  4606. 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
  4607. * Makefile.am: Honour DESTDIR.
  4608. * Makefile.in: Regenerate.
  4609. 2002-05-06 Kazu Hirata <kazu@cs.umass.edu>
  4610. * config/tc-ia64.c: Fix formatting.
  4611. * config/tc-ia64.h: Likewise.
  4612. 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
  4613. * config/tc-mips.c: Fix formatting.
  4614. * config/tc-s390.c: Likewise.
  4615. * config/tc-s390.h: Likewise.
  4616. 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
  4617. * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
  4618. information for instructions.
  4619. 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
  4620. * as.h: Fix formatting.
  4621. * cgen.c: Likewise.
  4622. * cgen.h: Likewise.
  4623. * dwarf2dbg.c: Likewise.
  4624. * frags.h: Likewise.
  4625. * gasp.c: Likewise.
  4626. * macro.c: Likewise.
  4627. * read.c: Likewise.
  4628. * stabs.c: Likewise.
  4629. * symbols.c: Likewise.
  4630. 2002-05-02 Alan Modra <amodra@bigpond.net.au>
  4631. * app.c (mri_pseudo): Only declare for TC_M68K.
  4632. * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
  4633. (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
  4634. BFD_RELOC_16_BASEREL.
  4635. (md_assemble): Likewise.
  4636. (md_apply_fix3): Likewise.
  4637. 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
  4638. * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
  4639. zero into an add of zero - it is not the same.
  4640. 2002-05-01 Arati Dikey <aratid@kpit.com>
  4641. * tc-sh.c (get_specific): Generate warning if the same
  4642. destination register is used in parallel instructions.
  4643. 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
  4644. * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
  4645. 2002-05-01 Alan Modra <amodra@bigpond.net.au>
  4646. * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
  4647. backwards to prevent cascading errors.
  4648. 2002-04-30 Mark Mitchell <mark@codesourcery.com>
  4649. * configure.in: Add support for powerpc-*-windiss.
  4650. * configure: Regenerated.
  4651. 2002-04-28 Alan Modra <amodra@bigpond.net.au>
  4652. * config/tc-s390.c (md_parse_option): Formatting.
  4653. * config/tc-i386.c: Formatting fixes, add missing space in error
  4654. message.
  4655. 2002-04-24 Christian Groessler <chris@groessler.org>
  4656. * config/tc-z8k.c (build_bytes): Add support for new cases:
  4657. CLASS_IGNORE and ARG_NIM4.
  4658. (md_assemble): Prevent destruction of input_line_pointer if
  4659. get_operands returns failure.
  4660. 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
  4661. * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
  4662. instructions to be generated by macros.
  4663. 2002-04-24 Andreas Schwab <schwab@suse.de>
  4664. * config/tc-i386.c (output_jump, output_disp)
  4665. (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
  4666. more.
  4667. (md_apply_fix3): Remember addend value for rela relocations.
  4668. (tc_gen_reloc): Correctly compute pc-relative relocation addend.
  4669. 2002-04-22 Chris Demetriou <cgd@broadcom.com>
  4670. * config/tc-mips.c (macro_build): Add close-parenthesis missing
  4671. from previous change.
  4672. 2002-04-22 Eric Christopher <echristo@redhat.com>
  4673. * config/tc-mips.c (macro_build): Add warning if macro instructions
  4674. are expanded into a branch delay slot.
  4675. 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
  4676. * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
  4677. numbers, gdb relies on them to detect the start of the prologue.
  4678. 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4679. * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
  4680. symbols in merge sections.
  4681. 2002-04-16 Alan Modra <amodra@bigpond.net.au>
  4682. * as.c (main): Don't reference _bfd_chunksize.
  4683. 2002-04-15 Tom Rix <trix@redhat.com>
  4684. * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
  4685. symbols in merge sections.
  4686. 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
  4687. * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
  4688. * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
  4689. argument for the precision.
  4690. (gen_to_words): Update accordingly.
  4691. 2002-04-10 Alan Modra <amodra@bigpond.net.au>
  4692. * as.c (parse_args <OPTION_VERSION>): Use VERSION is
  4693. BFD_VERSION_STRING unavailable.
  4694. * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
  4695. 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
  4696. * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
  4697. symbol_used_in_reloc_p is true.
  4698. * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
  4699. endian hosts.
  4700. 2002-04-04 Alan Modra <amodra@bigpond.net.au>
  4701. * dep-in.sed: Cope with absolute paths.
  4702. * Makefile.am (dep.sed): Subst TOPDIR.
  4703. Run "make dep-am".
  4704. * Makefile.in: Regenerate.
  4705. 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4706. * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
  4707. (mips_ip): Remove unused variable.
  4708. (md_apply_fix3): Cast signed/unsignes mismatches. Replace
  4709. unsigned char with bfd_byte.
  4710. (s_file): Remove unused variable.
  4711. (s_mips_ent): Likewise.
  4712. 2002-04-03 Tom Rix <trix@redhat.com>
  4713. * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
  4714. (build_insn): Same.
  4715. (find_opcode): Fix warning in as_warn.
  4716. * config/tc-d10v.h: Update Copyright.
  4717. 2002-04-03 Alan Matsuoka <alanm@redhat.com>
  4718. Tom Rix <trix@redhat.com>
  4719. From Jeff Knaggs <jknaggs@redhat.com>
  4720. * config/tc-d10v.c (check_resource_conflict): New function to
  4721. check for resource conflicts.
  4722. From Jason Eckhardt <jle@redhat.com>
  4723. * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
  4724. imm3 fields.
  4725. * config/tc-d10v.c (find_opcode): Emit a warning if one of the
  4726. reserved control registers is used.
  4727. * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
  4728. imm3 fields.
  4729. From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
  4730. * tc-d10v.c (parallel_ok): Prevent packing only if the first
  4731. instruction cannot be packed.
  4732. From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
  4733. * gas/config/tc-d10v.c (check_resource_conflict): Only check
  4734. write-write conflicts.
  4735. (md_assemble): Reformat introductory comment.
  4736. * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
  4737. arguments.
  4738. 2002-04-03 Alan Modra <amodra@bigpond.net.au>
  4739. * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
  4740. O_logical_not>): Derive final_seg from add_symbol.
  4741. <O_multiply..O_logical_or>: More final_seg twiddles.
  4742. 2002-04-01 Jessica Han <jessica@cup.hp.com>
  4743. * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
  4744. in 32-bit mode.
  4745. 2002-03-27 Andreas Schwab <schwab@suse.de>
  4746. * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
  4747. field for pc-relative fixups.
  4748. (output_disp): Likewise.
  4749. (md_estimate_size_before_relax): Likewise.
  4750. (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
  4751. pc-relative fixups in 64bit mode.
  4752. 2002-03-22 Alan Modra <amodra@bigpond.net.au>
  4753. * config/te-aix5.h: Typo fix.
  4754. 2002-03-21 Alan Modra <amodra@bigpond.net.au>
  4755. * Makefile.am: Run "make dep-am".
  4756. * Makefile.in: Regenerate.
  4757. * doc/Makefile.in: Regenerate.
  4758. 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
  4759. * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
  4760. (vfp_sp_reg_pos -> vfp_dp_reg_pos).
  4761. 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
  4762. * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
  4763. the EXTENDED bit here; report the estimate according to the
  4764. current size.
  4765. 2002-03-18 Tom Rix <trix@redhat.com>
  4766. * configure.in: Add AIX 5 support.
  4767. * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
  4768. * config/te-aix5.h: New file. AIX 5 support.
  4769. * configure: Regenerate.
  4770. 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
  4771. * po/fr.po: Updated version.
  4772. 2002-03-16 Andreas Jaeger <aj@suse.de>
  4773. * doc/c-mips.texi (Machine Dependencies): Add new node.
  4774. 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
  4775. * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
  4776. (mips_opts): Initialize "ase_mips3d" member.
  4777. (file_ase_mips3d): New variable.
  4778. (CPU_HAS_MIPS3D): New macro.
  4779. (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
  4780. based on command line options and configuration defaults.
  4781. (macro_build, mips_ip): Accept MIPS-3D instructions if
  4782. mips_opts.ase_mips3d is set.
  4783. (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
  4784. Add support for "-mips3d" and "-no-mips3d" options.
  4785. (OPTION_ELF_BASE): Move to accommodate new options.
  4786. (s_mipsset): Support ".set mips3d" and ".set nomips3d".
  4787. (mips_elf_final_processing): Add a comment indicating that a
  4788. MIPS-3D ASE ELF header flag should be set, when one exists.
  4789. * doc/as.texinfo: Document -mips3d and -no-mips3d options.
  4790. * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
  4791. nomips3d" directives.
  4792. 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
  4793. * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
  4794. a weak symbol in same section to be within reach.
  4795. 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
  4796. * po/fr.po: Updated version.
  4797. 2002-03-12 Andreas Schwab <schwab@suse.de>
  4798. * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
  4799. body record so that an error is given for misplaced .save
  4800. pseudo-ops.
  4801. 2002-03-09 Alan Modra <amodra@bigpond.net.au>
  4802. * config/tc-i386.h (REX_OPCODE): Define.
  4803. (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
  4804. (rex_byte): typedef to int.
  4805. * config/tc-i386.c: Group prototypes and vars together.
  4806. Formatting fixes. Remove occurrences of "register" keyword.
  4807. (true): Delete.
  4808. (false): Delete.
  4809. (mode_from_disp_size): Add INLINE keyword to prototype.
  4810. (fits_in_signed_byte): Likewise.
  4811. (fits_in_unsigned_byte): Likewise.
  4812. (fits_in_unsigned_word): Likewise.
  4813. (fits_in_signed_word): Likewise.
  4814. (fits_in_unsigned_long): Likewise.
  4815. (fits_in_signed_long): Likewise.
  4816. (type_names): Constify.
  4817. (intel_float_operand): Constify param.
  4818. (add_prefix): Use REX_OPCODE.
  4819. (md_assemble): Likewise. Modify for changed rex_byte.
  4820. (parse_insn): Split out of md_assemble.
  4821. (parse_operands): Likewise.
  4822. (swap_operands): Likewise.
  4823. (optimize_imm): Likewise.
  4824. (optimize_disp): Likewise.
  4825. (match_template): Likewise.
  4826. (check_string): Likewise.
  4827. (process_suffix): Likewise.
  4828. (check_byte_reg): Likewise.
  4829. (check_long_reg): Likewise.
  4830. (check_qword_reg): Likewise.
  4831. (check_word_reg): Likewise.
  4832. (finalize_imm): Likewise.
  4833. (process_operands): Likewise.
  4834. (build_modrm_byte): Likewise.
  4835. (output_insn): Likewise.
  4836. (output_branch): Likewise.
  4837. (output_jump): Likewise.
  4838. (output_interseg_jump): Likewise.
  4839. (output_disp): Likewise.
  4840. (output_imm): Likewise.
  4841. 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
  4842. * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
  4843. 2002-03-06 Alan Modra <amodra@bigpond.net.au>
  4844. * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
  4845. relocs except when BFD64.
  4846. * write.c (number_to_chars_bigendian): Don't abort when N is
  4847. larger than sizeof (VAL).
  4848. (number_to_chars_littleendian): Likewise.
  4849. 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4850. * config/tc-hppa.c (md_apply_fix3): Add cast.
  4851. (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
  4852. e_rrsel.
  4853. 2002-03-05 Paul Koning <pkoning@equallogic.com>
  4854. * tc-pdp11.c: Use VAX float format support for PDP-11 target.
  4855. (parse_ac5): New function for parsing float regs in float operand.
  4856. (parse_expression): Remove attempt to make literals be octal.
  4857. (parse_op_no_deferred): Support float literals.
  4858. (parse_op): Reject attempts to refer to float regs.
  4859. (parse_fop): New function, like parse_op but for float operand.
  4860. (md_assemble): Add cases to parse float operands. Also fix
  4861. IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
  4862. 2002-03-04 H.J. Lu <hjl@gnu.org>
  4863. * config/obj-elf.c (special_section): Add .init_array,
  4864. .fini_array and .preinit_array.
  4865. * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
  4866. .init_array and .fini_array.
  4867. 2002-03-01 Jakub Jelinek <jakub@redhat.com>
  4868. * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
  4869. visibility.
  4870. (obj_frob_symbol): Copy visibility.
  4871. 2002-02-28 Jakub Jelinek <jakub@redhat.com>
  4872. * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
  4873. s_text.
  4874. (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
  4875. 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
  4876. * po/es.po: Updated.
  4877. 2002-02-26 Chris Demetriou <cgd@broadcom.com>
  4878. * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
  4879. only, undo the changes made on 2001-06-08, with the
  4880. effect being that common or extern symbols are
  4881. adjusted for embedded-PIC, but weak symbols are not.
  4882. (md_estimate_size_before_relax: Likewise, with the effect
  4883. that extern symbols are treated the same as weak symbols
  4884. only if not embedded-PIC.
  4885. (mips_fix_adjustable) Likewise, with the effect that
  4886. weak or extern symbols are not adjusted for embedded-PIC.
  4887. (md_apply_fix3): Tweak so that the case where value is zero
  4888. is handled more correctly for embedded-PIC code.
  4889. 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
  4890. * doc/as.texinfo (Overview): Add missing @ifset IA64
  4891. * configure.in (LINGUAS): Add es.po.
  4892. * configure: Regenerate.
  4893. * po/es.po: New file.
  4894. 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4895. * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
  4896. (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
  4897. and NO_PIC cases. Code cleanup.
  4898. (macro2): Fix handling of 64bit register loads.
  4899. 2002-02-25 David Mosberger <davidm@hpl.hp.com>
  4900. * doc/as.texinfo: Add entry for IA64.
  4901. * doc/c-ia64.texi: New file.
  4902. 2002-02-25 Alan Modra <amodra@bigpond.net.au>
  4903. * config/tc-hppa.c: Update copyright date.
  4904. * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
  4905. Remove references to chip manufacturers.
  4906. * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
  4907. Correct comments.
  4908. (md_show_usage): Remove references to chip manufacturers. Mention
  4909. -mpower4.
  4910. (md_begin): Test power4 opcode flag bits.
  4911. 2002-02-22 David Mosberger <davidm@hpl.hp.com>
  4912. * config/tc-ia64.c (dot_restore): Issue error message of epilogue
  4913. count exceeds prologue count.
  4914. (md_show_usage): Describe -mconstant-gp and -mauto-pic.
  4915. (unwind.label_prologue_count): New member.
  4916. Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
  4917. (get_saved_prologue_count): New function.
  4918. (save_prologue_count): New function.
  4919. (free_saved_prologue_count): New function.
  4920. (dot_label_state): Record state label by calling save_prologue_count().
  4921. (dot_copy_state): Restore prologue count by calling
  4922. get_saved_prologue_count().
  4923. (generate_unwind_image): Free up list of saved prologue
  4924. counts by calling free_saved_prologue_counts().
  4925. 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
  4926. * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
  4927. function declarations.
  4928. 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
  4929. * NEWS: Note that GASP is now deprecated.
  4930. * Makefile.am: Do not build gasp-new by default.
  4931. * Makefile.in: Regenerate.
  4932. * doc/Makefile.am: Do not install gasp.info.
  4933. * doc/Makefile.in: Regenerate.
  4934. * gas/gasp.texi: Note that gasp is now deprecated.
  4935. 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
  4936. * NEWS: Mark 2.12 branch.
  4937. 2002-02-19 Tom Tromey <tromey@redhat.com>
  4938. * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  4939. 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  4940. * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
  4941. option input.
  4942. 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4943. * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
  4944. Make bit size independent of architecture switch.
  4945. (md_begin): Add warning for -m64 with -Aesa.
  4946. (s390_md_end): Use renamed architecture defines.
  4947. 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
  4948. * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
  4949. 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
  4950. * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
  4951. instead of CRIS.
  4952. 2002-02-15 Chris Demetriou <cgd@broadcom.com>
  4953. * config/tc-mips.c (md_estimate_size_before_relax): Really
  4954. make sure we treat weak like extern only for ELF. (Fixes
  4955. patch from 2001-07-25.)
  4956. 2002-02-15 Ben Elliston <bje@redhat.com>
  4957. * doc/as.texinfo: Add duplicate directory entry so that "info gas"
  4958. works as expected.
  4959. 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
  4960. * NEWS: Mention support for MMIX.
  4961. 2002-02-13 Chris Demetriou <cgd@broadcom.com>
  4962. * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
  4963. a sequence of indpendent 'if' statements for easier debugging
  4964. and future modification.
  4965. 2002-02-13 Matt Fredette <fredette@netbsd.org>
  4966. * config/tc-m68k.c (md_show_usage): No longer display a
  4967. hard-coded "68020" for the default CPU, instead display the
  4968. canonical name of the true, configured default CPU.
  4969. (m68k_elf_final_processing): Mark objects for sub-68020
  4970. CPUs with the new EF_M68000 flag.
  4971. 2002-02-13 Andreas Schwab <schwab@suse.de>
  4972. * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
  4973. pc-relative relocations to merge sections in 64-bit mode.
  4974. 2002-02-13 Ben Elliston <bje@redhat.com>
  4975. * NEWS: Document floating point number handling in gasp.
  4976. * gasp.c: Include <assert.h> and "xregex.h".
  4977. (is_flonum): New function.
  4978. (chew_flownum): Likewise.
  4979. (change_base): Consume flonums from the input, where possible.
  4980. * doc/gasp.texi (Constants): Document floating point numbers.
  4981. 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
  4982. * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
  4983. that implicitly use LR and RR selectors.
  4984. 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
  4985. * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
  4986. and `epsw' as available on AM33 and above only.
  4987. (other_register_name): Add logic to handle machine type encoded in
  4988. reg_number.
  4989. 2002-02-11 Tom Rix <trix@redhat.com>
  4990. * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
  4991. xcoff64.
  4992. 2002-06-11 Alexandre Oliva <aoliva@redhat.com>
  4993. * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
  4994. Use all over.
  4995. 2002-02-11 Jan Hubicka <jh@suse.cz>
  4996. * i386.c (md_assemble): Support 32bit address prefix.
  4997. (i386_displacement): Likewise.
  4998. (i386_index_check): Accept 32bit addressing in 64bit mode.
  4999. 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
  5000. * config/tc-sh.c (dot): Removed unused function.
  5001. 2002-02-11 Alan Modra <amodra@bigpond.net.au>
  5002. * Makefile.am: "make dep-am".
  5003. * Makefile.in: Regenerate.
  5004. * aclocal.m4: Regenerate.
  5005. * config.in: Regenerate.
  5006. * configure: Regenerate.
  5007. * doc/Makefile.in: Regenerate.
  5008. 2002-02-10 Richard Henderson <rth@redhat.com>
  5009. * doc/c-alpha.texi: New file.
  5010. * doc/Makefile.am (CPU_DOCS): Add it.
  5011. * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
  5012. 2002-02-09 Richard Henderson <rth@redhat.com>
  5013. * config/tc-alpha.c (O_samegp): New.
  5014. (USER_RELOC_P): Include it.
  5015. (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
  5016. (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
  5017. (alpha_force_relocation, alpha_fix_adjustable): Likewise.
  5018. (alpha_validate_fix): New.
  5019. * config/tc-alpha.h (TC_VALIDATE_FIX): New.
  5020. 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
  5021. * doc/c-cris.texi: New.
  5022. * doc/all.texi: @set CRIS.
  5023. * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
  5024. Include c-cris.texi.
  5025. * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
  5026. * doc/Makefile.in: Regenerate.
  5027. 2002-02-08 Chris Demetriou <cgd@broadcom.com>
  5028. * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
  5029. determine if a number is a sign-extended 32-bit number.
  5030. (load_register): Use IS_SEXT_32BIT_NUM.
  5031. (macro): Check if load/store macro handling is using a
  5032. constant 32-bit address on 64-bit address systems, and if
  5033. so optimize the generation of that address.
  5034. 2002-02-08 Richard Henderson <rth@redhat.com>
  5035. * config/tc-alpha.c (alpha_force_relocation): Don't assert that
  5036. we've eliminated all foreign relocation types yet.
  5037. (alpha_fix_adjustable): Likewise.
  5038. 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
  5039. Contribute sh64-elf.
  5040. 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
  5041. Stephen Clarke <Stephen.Clarke@st.com>
  5042. * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
  5043. 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
  5044. * config/tc-sh.c (md_relax_table): Added default sizes for
  5045. non-PC-relative UNDEF_MOVI, and relaxation sequences for
  5046. MOVI_16, MOVI_32 and MOVI_48.
  5047. * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
  5048. (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
  5049. and MOVI_16.
  5050. (shmedia_md_estimate_size_before_relax): Remove redundant
  5051. blocks. Set fragP->fr_var even if relaxation type unchanged.
  5052. Retain UNDEF_MOVI until expression decays to number.
  5053. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  5054. * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
  5055. relocation types. Take fixP->fx_addnumber into account too.
  5056. (shmedia_md_apply_fix): Likewise.
  5057. (shmedia_md_convert_frag): Likewise.
  5058. (shmedia_build_Mytes): Likewise.
  5059. (sh64_consume_datalabel): Complain about nested datalabel.
  5060. Support PIC relocs. Call sh_parse_name.
  5061. * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
  5062. in tc-sh.h to SHmedia reloc types.
  5063. * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
  5064. MOVI_GOTPC): New relaxation constants.
  5065. (md_relax_table): Introduce relaxation directives for PIC-related
  5066. constants.
  5067. (sh_PIC_related_p): Handle datalabel.
  5068. (sh_check_fixup): Choose SH5 PIC relocations.
  5069. (sh_cons_fix_new): Added BDF_RELOC_64.
  5070. (md_apply_fix3, sh_parse_name): Handle GOTPLT.
  5071. 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
  5072. * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
  5073. current ISA is SHmedia, get 7 bytes.
  5074. 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
  5075. * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
  5076. void function.
  5077. * config/tc-sh64.c (shmedia_apply_fix): Rename to
  5078. shmedia_apply_fix3 and make void.
  5079. 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
  5080. * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
  5081. as_bad.
  5082. 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
  5083. * config/tc-sh64.h (md_parse_name): Take &c as argument.
  5084. 2001-03-14 DJ Delorie <dj@redhat.com>
  5085. * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
  5086. * doc/Makefile.in(CPU_DOCS): Ditto.
  5087. * doc/c-sh64.texi: New file.
  5088. * doc/as.texinfo: Add SH64 support.
  5089. 2001-03-13 DJ Delorie <dj@redhat.com>
  5090. * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
  5091. A_REUSE_PREV so that its purpose is more obvious.
  5092. (shmedia_build_Mytes): Ditto.
  5093. 2001-03-07 DJ Delorie <dj@redhat.com>
  5094. * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
  5095. before processing.
  5096. (sh64_vtable_inherit): Ditto.
  5097. (strip_datalabels): New, strip "datalabel" from given line.
  5098. * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
  5099. pseudos.
  5100. 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
  5101. * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
  5102. call ...
  5103. (shmedia_build_Mytes): ... to here.
  5104. 2001-03-06 DJ Delorie <dj@redhat.com>
  5105. * config/tc-sh.c: Remove sh64-specific uaquad now that there
  5106. is a generic one.
  5107. 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
  5108. * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
  5109. * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
  5110. address by one in call to dwarf2_emit_insn.
  5111. 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
  5112. Implement ".abi" pseudo and correct .cranges descriptors. Correct
  5113. alignment handling broken by imported changes.
  5114. * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
  5115. (sh64_handle_align): Declare.
  5116. (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
  5117. (sh64_max_mem_for_rs_align_code): Declare.
  5118. (enum sh64_isa_values): Moved here from tc-sh64.c.
  5119. (md_do_align): Define.
  5120. (sh64_do_align): Declare.
  5121. (struct sh64_tc_frag_data): New.
  5122. (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
  5123. changed.
  5124. (TC_FRAG_INIT): Change to set new datatype.
  5125. (struct sh64_segment_info_type): Rename member
  5126. last_flushed_location to last_contents_mark. All users changed.
  5127. (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
  5128. (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
  5129. * config/tc-sh.c (md_pseudo_table): Add ".abi".
  5130. (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
  5131. of unsetting seen_insn.
  5132. (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
  5133. call sh64_update_contents_mark.
  5134. (sh_handle_align): Remove HAVE_SH64-conditioned code.
  5135. * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
  5136. enum sh64_isa_values.
  5137. (sh64_set_contents_type): Drop segT parameter. All callers changed.
  5138. (emitting_crange): Boolean guard moved to file scope from function
  5139. scope in sh64_set_contents_type.
  5140. (s_sh64_abi): New.
  5141. (sh64_update_contents_mark): New; most split out from
  5142. sh64_flush_pending_output.
  5143. (shmedia_md_end): Call sh64_update_contents_mark. Set
  5144. sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
  5145. (sh64_do_align): New function.
  5146. (sh64_max_mem_for_rs_align_code): New function.
  5147. (sh64_handle_align): Rename from shmedia_do_align. Make
  5148. non-static. Add head comment. Emit zero bytes for n bytes modulo
  5149. four. Change return-type to void.
  5150. (shmedia_elf_new_section): Remove.
  5151. (shmedia_md_assemble): Call sh64_update_contents_mark.
  5152. (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
  5153. new frag. Call sh64_update_contents_mark after making the new
  5154. frag.
  5155. (sh64_flush_pending_output): Just call sh64_update_contents_mark
  5156. and sh_flush_pending_output.
  5157. (sh64_flag_output): Also call md_flush_pending_output, but add
  5158. condition on not emitting_crange.
  5159. (sh64_tc_cons_fix_new): Remove.
  5160. 2001-01-12 Nick Clifton <nickc@redhat.com>
  5161. * config/tc-sh64.c (shmedia_do_align): Fix to work with new
  5162. alignment handling scheme imported from sourceware.
  5163. 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
  5164. * config/tc-sh64.h (TARGET_FORMAT): Define.
  5165. (sh64_target_format): Prototype.
  5166. * config/tc-sh64.c (sh64_target_mach): New function.
  5167. 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
  5168. * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
  5169. zero_address_frag instead of copying the frag of the symbol.
  5170. (shmedia_frob_file_before_adjust): Ditto.
  5171. (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
  5172. to valueT to remove signedness.
  5173. (shmedia_md_convert_frag): Add parameter final. Rename parameter
  5174. headers to output_bfd. Do not evaluate symbols if final is false;
  5175. do emit fixups.
  5176. (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
  5177. UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
  5178. to the current frag, call shmedia_md_convert_frag to emit fixups
  5179. and make frag_wane neutralize the frag. Update comments.
  5180. * config/tc-sh.c (md_convert_frag): Change caller of
  5181. shmedia_md_convert_frag.
  5182. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
  5183. * config/tc-sh64.h: Tweak comments and correct formatting.
  5184. * config/tc-sh64.c: Ditto.
  5185. (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
  5186. expansion, MOVI pcrel expansion>: Fix thinko calculating offset
  5187. for the no-relocation case.
  5188. (shmedia_check_limits): Fix range check being off-by-one for PTA.
  5189. * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
  5190. wrappers.
  5191. (SH64PCREL16_F): Increment for proper max-PTA handling. Update
  5192. comment.
  5193. (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
  5194. (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
  5195. expansion.
  5196. (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
  5197. Correct comment.
  5198. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
  5199. * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
  5200. BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
  5201. (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
  5202. al>: Set lowest bit of field to relocate to 1 and rest to empty,
  5203. if reloc is emitted.
  5204. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
  5205. New options plus bugfixes.
  5206. * config/tc-sh.c (md_longopts): New options "-no-expand" and
  5207. "-expand-pt32".
  5208. (md_parse_option): Handle new options.
  5209. (md_show_usage): Add blurb for new options.
  5210. * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
  5211. (sh64_expand, sh64_pt32): New variables.
  5212. (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
  5213. (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
  5214. orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
  5215. BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
  5216. <resolved previously-pc-relative relocs>: Handle
  5217. SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
  5218. (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
  5219. case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
  5220. points to SHcompact code.
  5221. <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
  5222. SH64PCREL16)>: Check that ISA of what operand points at and
  5223. PTA/PTB matches, or emit error.
  5224. (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
  5225. SHMEDIA_BFD_RELOC_PT.
  5226. (shmedia_immediate_op): If pcrel, emit fixup also for constant
  5227. operand.
  5228. (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
  5229. condition for MOVI expansion.
  5230. <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
  5231. sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
  5232. sh64_expand.
  5233. <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
  5234. fixup.
  5235. (sh64_target_format): Error-check setting of sh64_pt32 and
  5236. sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
  5237. (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
  5238. SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
  5239. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
  5240. * config/tc-sh64.c: Improve comments.
  5241. (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
  5242. not say the linker will check correctness of PTA/PTB expansion.
  5243. (shmedia_md_end): Make non-static.
  5244. * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
  5245. prototype.
  5246. * config/tc-sh.c (sh_finalize): Remove.
  5247. * config/tc-sh.h (md_end): Do not define.
  5248. Remove prototype for sh_finalize.
  5249. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
  5250. * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
  5251. sh64_section_data container when storing section type in tdata
  5252. field in elf_section_data.
  5253. * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
  5254. EF_SH5.
  5255. * Makefile.am: Update dependencies.
  5256. * Makefile.in: Regenerate.
  5257. 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
  5258. * config/tc-sh64.c (shmedia_md_assemble): Don't protect
  5259. dwarf2_emit_insn call with test on debug_type.
  5260. 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
  5261. * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
  5262. CRT_SH5_ISA32 sticky for 64-bit.
  5263. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
  5264. Generate .crange sections when switching ISA mode or emitting
  5265. constants in same section as code.
  5266. * config/tc-sh64.c: Reformat structure definitions.
  5267. (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
  5268. variables.
  5269. (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
  5270. to emit a .cranges descriptor when contents type changes. Only
  5271. emit error if changing contents type and -no-mix is in effect.
  5272. (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
  5273. sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
  5274. (shmedia_md_end): Set sh64_end_of_assembly. Pass
  5275. sh64_flush_last_crange over sections.
  5276. When checking main symbol of datalabel symbol, check for
  5277. STO_SH5_ISA32, not ISA type of section in definition.
  5278. (shmedia_frob_file_before_adjust): Check main symbol for
  5279. STO_SH5_ISA32; don't check ISA type of section in definition.
  5280. (shmedia_frob_section_type): Adjust for .cranges; set section flag
  5281. to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
  5282. .cranges entries have been output.
  5283. (shmedia_elf_new_section): Just call md_flush_pending_output.
  5284. (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
  5285. fix. Do not set tc_segment_info_data.in_code for section. Call
  5286. sh64_set_contents_type for SHmedia code.
  5287. (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
  5288. false. Call md_flush_pending_output.
  5289. (sh64_target_format): Check that -no-mix and
  5290. -shcompact-const-crange are used in sane combination with other
  5291. options.
  5292. (shmedia_md_pcrel_from_section): Check type of fix for how to
  5293. adjust pc-relative.
  5294. (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
  5295. not ISA type of section in definition.
  5296. * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
  5297. hold contents-type state.
  5298. (md_flush_pending_output): Redefine to sh64_flush_pending_output.
  5299. (sh64_flush_pending_output): Declare.
  5300. (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
  5301. (sh64_tc_cons_fix_new): Declare.
  5302. * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
  5303. call sh64_flag_output.
  5304. (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
  5305. call sh64_set_contents_type to mark SHcompact code and set
  5306. seen_insn.
  5307. (md_longopts): New options "-no-mix" and
  5308. "-shcompact-const-crange".
  5309. (md_parse_option): Handle new options.
  5310. (md_show_usage): Add blurb for new options.
  5311. (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
  5312. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
  5313. * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
  5314. (sh64_last_insn_frag): New.
  5315. (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
  5316. to get frag for insn opcode for generating fixups; do not assume it
  5317. is the same frag.
  5318. (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
  5319. for new insn.
  5320. * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
  5321. section.
  5322. (TC_FRAG_TYPE): Define as fragS *.
  5323. (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
  5324. (sh64_last_insn_frag): Declare.
  5325. (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
  5326. not == NULL before dereferencing.
  5327. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
  5328. Get rid of BFD section flag and EF_SH64_ABI64.
  5329. * config/tc-sh64.c (shmedia_frob_section_type): Use
  5330. elf_section_data (sec)->tdata, not a specific BFD section flag, to
  5331. communicate the section as containing SHmedia code. Describe why.
  5332. * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
  5333. EF_SH64 regardless of ABI.
  5334. * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
  5335. in error message. Handle resolved expressions for
  5336. BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
  5337. BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
  5338. (shmedia_check_limits): Handle BFD_RELOC_64.
  5339. (sh64_adjust_symtab): Do not decrement the GAS symbol value for
  5340. a STO_SH5_ISA32 symbol, only the BFD value.
  5341. 2000-12-11 Ben Elliston <bje@redhat.com>
  5342. * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
  5343. dwarf2_generate_asm_lineno.
  5344. 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
  5345. Handle PC-relative MOVI expansions with assembler relaxation.
  5346. Generate PC-relative relocs from 16-bit PC-relative expressions.
  5347. * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
  5348. (shmedia_md_pcrel_from_section): ...here.
  5349. (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
  5350. turned completely resolved. Adjust relocation type for 16-bit
  5351. immediate operands that has turned PC-relative. Adjust back for
  5352. MD_PCREL_FROM_SECTION being applied twice.
  5353. (shmedia_md_convert_frag): Always emit reloc for expression with
  5354. global or weak symbol. Handle relaxation result for PC-relative
  5355. expressions.
  5356. (shmedia_md_estimate_size_before_relax): An expression with a weak
  5357. or global symbol can not be relaxed. Break out tests for
  5358. relaxable symbol into variable sym_relaxable.
  5359. <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
  5360. UNDEF_MOVI)>: Break out any PC-relative expression and change
  5361. relaxation type.
  5362. (shmedia_build_Mytes): CSE &operands->operands[j] into variable
  5363. opjp.
  5364. <case A_IMMS16>: Fix typo for initial minor relaxation type of
  5365. MOVI expansion. If X_op_symbol of the immediate expression is
  5366. set, make an expression symbol for the argument to frag_var.
  5367. * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
  5368. relaxations.
  5369. (END): Adjust for new relaxations.
  5370. (md_relax_table): Add entries for new relaxations.
  5371. 2000-12-07 Ben Elliston <bje@redhat.com>
  5372. * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
  5373. 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
  5374. * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
  5375. SHORI operand offsets in PT/PTA/PTB expansions.
  5376. 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
  5377. Implement DataLabel semantics.
  5378. * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
  5379. shmedia_frob_file_before_adjust.
  5380. * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
  5381. (DATALABEL_SUFFIX): Define.
  5382. (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
  5383. symbol list to update "datalabel" symbols to their main symbol
  5384. counterparts.
  5385. (shmedia_frob_file_before_adjust): New.
  5386. (sh64_adjust_symtab): For remaining datalabel symbols, set to
  5387. undefined and set STT_DATALABEL.
  5388. (sh64_frob_label): Initialize TC symbol field.
  5389. (sh64_consume_datalabel): Actually implement semantics. New
  5390. parameter operandf, call it instead of expression.
  5391. (sh64_exclude_symbol): New.
  5392. * config/tc-sh64.h (md_parse_name): Pass on the function operand
  5393. to sh64_consume_datalabel.
  5394. (tc_symbol_new_hook): Define to tc_frob_symbol.
  5395. (TC_SYMFIELD_TYPE): Define to symbolS *.
  5396. (tc_frob_symbol): Define to call sh64_exclude_symbol.
  5397. 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
  5398. * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
  5399. case.
  5400. (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
  5401. generating dwarf2 debug information.
  5402. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
  5403. * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
  5404. elf64-sh64 for the 64-bit ABI.
  5405. * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
  5406. option.
  5407. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
  5408. * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
  5409. case-insensitivity.
  5410. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
  5411. * config/tc-sh64.c: Tweak comments, formatting and error messages.
  5412. (enum sh64_abi_values): New type.
  5413. (enum sh64_isa_values): New type.
  5414. (sh64_isa_mode): Replace shmedia_mode. All referers changed.
  5415. (seen_shcompact_mode, seen_shmedia_mode): Delete.
  5416. (sh64_abi): Replace shmedia_64.
  5417. (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
  5418. C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
  5419. (s_sh64_mode): Check validity for this target.
  5420. (sh64_target_format): Initialize defaults for ISA and ABI.
  5421. Fallback to old object format if no SH64 ISA or ABI has been
  5422. specified.
  5423. * config/tc-sh.c (md_parse_option): Check combinations for errors.
  5424. (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
  5425. ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
  5426. * config/tc-sh64.h: Fix typo in comment.
  5427. 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
  5428. * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
  5429. <PT fixups for absolute values>: Size will be longest, not
  5430. shortest.
  5431. (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
  5432. all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
  5433. * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
  5434. and l1 to hold lowercase of two first characters. Change all
  5435. remaining TO_LOWER to tolower.
  5436. * config/tc-sh64.c (TO_LOWER): Delete.
  5437. (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
  5438. (md_parse_name): Define.
  5439. (sh64_consume_datalabel): Declare.
  5440. (DOLLAR_DOT): Define.
  5441. * config/tc-sh64.c (shmedia_parse_exp): New.
  5442. (sh64_consume_datalabel): New; just ignoring datalabel semantics.
  5443. (shmedia_parse_reg): Remove const from src
  5444. parameter.
  5445. (shmedia_get_operands): Ditto for args parameter and ptr variable.
  5446. (shmedia_md_assemble): Ditto for op_end variable.
  5447. (shmedia_get_operand): Ditto for ptr parameter and src variable.
  5448. Use shmedia_parse_exp, not parse_exp.
  5449. * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
  5450. parameter. All callers changed.
  5451. (shmedia_get_operand): Add shmedia_arg_type parameter. All
  5452. callers changed.
  5453. (shmedia_parse_reg): Put first two character in local variables.
  5454. Use tolower, not TO_LOWER. If no register is found and argtype
  5455. indicates a control register, scan shmedia_creg_table
  5456. case-insensitive.
  5457. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
  5458. * Makefile.am (CPU_TYPES): Add sh64.
  5459. (TARGET_CPU_CFILES): Add config/tc-sh64.c.
  5460. (TARGET_CPU_HFILES): Add config/tc-sh64.h.
  5461. Regenerate dependencies.
  5462. * Makefile.in: Regenerate.
  5463. * configure.in: Add support for sh64-*-elf*.
  5464. * configure: Regenerate.
  5465. * config/tc-sh64.h: New.
  5466. * config/tc-sh64.c: New.
  5467. * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
  5468. .mode, .isa and .uaquad.
  5469. [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
  5470. SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
  5471. [HAVE_SH64] (END): Define as 10.
  5472. [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
  5473. SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
  5474. MOVI_64): Define.
  5475. [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
  5476. SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
  5477. SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
  5478. MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
  5479. Define.
  5480. (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
  5481. (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
  5482. (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
  5483. (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
  5484. SHmedia instructions. Handle state-change after switching to
  5485. SHcompact.
  5486. (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
  5487. (md_parse_option) [HAVE_SH64]: Parse new options.
  5488. (md_show_usage) [HAVE_SH64]: Show usage of new options.
  5489. (md_convert_frag) [HAVE_SH64] <default>: Call
  5490. shmedia_md_convert_frag instead of abort.
  5491. (sh_force_relocation) [HAVE_SH64]: Also force relocation for
  5492. BFD_RELOC_SH_SHMEDIA_CODE.
  5493. (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
  5494. SHcompact or SHmedia code.
  5495. (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
  5496. shmedia_md_apply_fix instead of abort.
  5497. (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
  5498. result from calling shmedia_md_estimate_size_before_relax instead
  5499. of calling abort.
  5500. (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
  5501. do the work.
  5502. (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
  5503. shmedia_init_reloc and do nothing more if it returns non-zero.
  5504. (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
  5505. * po/POTFILES.in: Regenerate.
  5506. * po/gas.pot: Regenerate.
  5507. 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
  5508. * config/tc-sh.c (parse_at): Install the correct version of
  5509. 2002-02-04's patch.
  5510. * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
  5511. assume fixP->fx_subsy is non-NULL.
  5512. 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
  5513. * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
  5514. A_DISP_PC_ABS, and adjust it by -4.
  5515. (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
  5516. expected.
  5517. (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
  5518. the operand type is not A_DISP_PC_ABS.
  5519. 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
  5520. * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
  5521. common and weak symbols. Handle common and weak symbols as
  5522. undefined symbols with regards to GREG handling and merging.
  5523. (mmix_frob_file): Ditto.
  5524. 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
  5525. * configure.in (hppa-*-netbsd*): New target.
  5526. * configure: Regenerate.
  5527. * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
  5528. 2002-02-02 Alan Modra <amodra@bigpond.net.au>
  5529. * config/tc-v850.c: Add missing prototypes amd use old-style
  5530. function definitions.
  5531. (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
  5532. (sdata_section tdata_section, zdata_section, sbss_section,
  5533. tbss_section, zbss_section, rosdata_section, rozdata_section,
  5534. scommon_section, tcommon_section, zcommon_section,
  5535. call_table_data_section, call_table_text_section): Delete.
  5536. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
  5537. v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
  5538. v850_call_table_data, v850_call_table_text): Delete.
  5539. (struct v850_seg_entry): New.
  5540. (v850_seg_table): New.
  5541. (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
  5542. TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
  5543. ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
  5544. CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
  5545. (do_v850_seg): New.
  5546. (v850_seg): New.
  5547. (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
  5548. recording of alignment.
  5549. (md_pseudo_table): Use v850_seg.
  5550. (md_begin): Don't init .call_table_data and .call_table_text here.
  5551. Set v850_seg_table bss entry.
  5552. 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
  5553. Support on-demand global register allocation by passing on
  5554. base-plus-offset relocs to the linker.
  5555. * config/tc-mmix.c: Tweak and fix typos in comments.
  5556. (allocate_undefined_gregs_in_linker): New variable.
  5557. (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
  5558. (md_longopts): Add --linker-allocated-gregs.
  5559. (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
  5560. <case OPTION_LINKER_ALLOCATED_GREGS>: New.
  5561. (md_show_usage): Update text for -x. Add text for
  5562. --linker-allocated-gregs.
  5563. (tc_gen_reloc): Derive default value for addend from val and
  5564. baddsy. Use addsec and bfd_is_abs_section in more places. Don't
  5565. emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
  5566. GREG if allocate_undefined_gregs_in_linker.
  5567. * doc/as.texinfo (Overview) <Target MMIX options>: Add
  5568. --linker-allocated-gregs.
  5569. * doc/c-mmix.texi (MMIX-Opts): Add blurb about
  5570. --linker-allocated-gregs. Mention that it's implied by -x.
  5571. (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
  5572. (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
  5573. * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
  5574. 2002-02-01 Alan Modra <amodra@bigpond.net.au>
  5575. * Makefile.am: Run "make dep-am"
  5576. * Makefile.in: Regenerate.
  5577. 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
  5578. * config/tc-or32.c: New file.
  5579. * config/tc-or32.h: New file.
  5580. * configure.in: Add support for or32 targets.
  5581. * configure: Regenerate.
  5582. * config/obj-coff.c: Add support for or32 targets.
  5583. * config/obj-coff.h: Add support for or32 targets.
  5584. * Makefile.am: Add support for or32 targets.
  5585. * Makefile.in: Regenerate.
  5586. * NEWS: Mention support for OpenRISC.
  5587. * doc/Makefile.in: Regenerate.
  5588. * po/POTFILES.in: Regenerate.
  5589. * po/gas.pot: Regenerate.
  5590. 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
  5591. * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
  5592. and mod.
  5593. 2002-01-29 Chris Demetriou <cgd@broadcom.com>
  5594. * config/tc-mips.c (tc_gen_reloc): Arrange for
  5595. BFD_RELOC_PCREL_HI16_S relocations to be output relative to
  5596. their LO16 parts, even for ELF.
  5597. 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
  5598. * config/tc-i386.c: Protect definitions of true and false
  5599. from redefinition.
  5600. 2002-01-28 Jakub Jelinek <jakub@redhat.com>
  5601. * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
  5602. made because of .weak, if they are neither defined nor used in any
  5603. way.
  5604. 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
  5605. * configure: Regenerated.
  5606. 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
  5607. * doc/Makefile.am (install): Depend on install-info.
  5608. * doc/Makefile.in: Regenerate.
  5609. 2002-01-26 Nick Clifton <nick@redhat.com>
  5610. * po/fr.po: Updated version
  5611. 2002-01-24 Kazu Hirata <kazu@hxi.com>
  5612. * config/tc-h8300.c (check_operand): Don't print a warning
  5613. when a valid 24-bit address is given to a 16-bit address
  5614. operand.
  5615. 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
  5616. * config/tc-sh.c (sh_elf_suffix): Removed.
  5617. (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
  5618. sh_end_of_match, sh_parse_name): New functions.
  5619. (sh_elf_cons): Simplify.
  5620. (parse_exp): Reject misplaced PIC operands.
  5621. (md_undefined_symbol): Simplify.
  5622. (sh_fix_adjustable): Let @GOTOFF be adjusted.
  5623. (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
  5624. (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
  5625. Complain if subsy remains at the end.
  5626. * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
  5627. (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
  5628. 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
  5629. * config/tc-mn10300.c (xr_registers): Move `pc'...
  5630. (other_registers): ... here.
  5631. 2002-01-22 Alan Modra <amodra@bigpond.net.au>
  5632. * Makefile.am: Run "make dep-am".
  5633. * Makefile.in: Regenerate.
  5634. * gas/po/POTFILES.in: Regenerate.
  5635. 2002-01-21 DJ Delorie <dj@redhat.com>
  5636. * config/obj-coff.c (obj_coff_init_stab_section): Make the
  5637. stabstr_name allocation permanent, as it will be referenced from
  5638. the section hash.
  5639. 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
  5640. * configure.in (ia64-*-netbsd*): New target.
  5641. * configure: Regenerate.
  5642. 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
  5643. * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
  5644. to @dots call.
  5645. <Detailed description, ARM options>: Ditto.
  5646. * doc/c-arm.texi (ARM Options): Ditto.
  5647. 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
  5648. * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
  5649. do_mia, do_mar and do_mra respectively.
  5650. (do_mav_*): Renamed from do_c_*.
  5651. (mav_reg_required_here, mav_parse_offset): Renamed from
  5652. cirrus_reg_required_here and cirrus_parse_offset respectively.
  5653. (MAV_MODE?): Renamed from CIRRUS_MODE?.
  5654. 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
  5655. Keith Walker <keith.walker@arm.com>
  5656. * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
  5657. (insns): Add pattern for bxj instruction.
  5658. (do_bxj): New function.
  5659. (arm_cpus): Add arm926ej.
  5660. (arm_archs): Add armv5tej.
  5661. 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
  5662. * doc/c-arm.texi: Add new fpe options to list of supported flags.
  5663. 2002-01-19 Keith Walker <keith.walker@arm.com>
  5664. * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
  5665. 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
  5666. * NEWS: Mention new ARM command-line options and VFP support.
  5667. * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
  5668. uses changed.
  5669. (ARM_CEXT_MAVERICK): Similarly.
  5670. (ARM_ANY): Now means any core instruction.
  5671. (CPU_DEFAULT): Default to ARM_ANY.
  5672. (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
  5673. (pic_code): Declare for all object types. Make type int.
  5674. (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
  5675. (march_fpu_opt, mfpu_opt): Declare.
  5676. (md_longopts): Tidy up conditional definitions.
  5677. (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
  5678. (arm_long_opts): New tables.
  5679. (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
  5680. (arm_parse_extension): New function.
  5681. (md_parse_option): Rewrite using new table-driven system.
  5682. (md_show_usage): Use new table-driven system.
  5683. (md_begin): Calculate cpu_variant from command line option data.
  5684. * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
  5685. command-line options.
  5686. * doc/c-arm.texi: Likewise.
  5687. 2002-01-18 Andreas Jaeger <aj@suse.de>
  5688. * as.c (parse_args): Update year.
  5689. 2002-01-17 Timothy Wall <twall@alum.mit.edu>
  5690. * config/tc-tic54x.c (encode_address): Add a more informative
  5691. warning about incorrect syntax.
  5692. 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
  5693. * po/gas.pot: Regenerate.
  5694. 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
  5695. * macro.c (get_any_string): Add no-c-format comment to prevent
  5696. confusion when translating string.
  5697. * gasp.c (get_any_string): Add no-c-format comment to prevent
  5698. confusion when translating string.
  5699. 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  5700. Johannes Stezenbach <js@convergence.de>
  5701. * config/tc-mips.c (percent_op): Ensure longer percent_op's are
  5702. matched before the shorter ones.
  5703. (my_getSmallParser): Fix handling of nested parentheses in
  5704. percent_op's. Code cleanup.
  5705. (my_getPercentOp): New function, code from my_getSmallParser.
  5706. (my_getSmallExpression): Fix handling of closing parentheses.
  5707. Code cleanup. Better comments.
  5708. 2002-01-16 Nick Clifton <nickc@redhat.com>
  5709. po/tr.po: New file: Turkish translation.
  5710. configure.in (LINGUAS): Add "tr".
  5711. configure: Regenerate.
  5712. 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
  5713. Support for VFP instructions
  5714. * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
  5715. (cp_address_required_here): New argument wb_ok. When false, do not
  5716. accept write-back forms of addressing. Change all callers.
  5717. (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
  5718. (FPU_VFP_EXT_V2): Define.
  5719. (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
  5720. Define in terms of above.
  5721. (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
  5722. (vfp_reg): New struct.
  5723. (vfp_regs): New array of registers.
  5724. (insns): Add VFP instructions.
  5725. (sn_table): New array of VFP single-precision register names.
  5726. (dn_table): New array of VFP double-precision register names.
  5727. (all_reg_maps): Add the new register tables.
  5728. (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
  5729. (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
  5730. (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
  5731. (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
  5732. (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
  5733. (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
  5734. (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
  5735. (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
  5736. (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
  5737. (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
  5738. (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
  5739. (do_vfp_sp_dp_cvt): New functions.
  5740. (md_begin): Set soft-float flag for appropriate VFP work.
  5741. (md_atof): Handle VFP-format doubles.
  5742. (md_parse_option): Handle VFP command-line options.
  5743. (md_show_usage): Display VFP command-line options.
  5744. 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
  5745. * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
  5746. various command line options.
  5747. 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
  5748. * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
  5749. vtinherit relocs.
  5750. (xstormy16_md_apply_fix3): Do not return a value.
  5751. 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
  5752. * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
  5753. the -EL/-EB option that matches the target's endianness.
  5754. (md_parse_option): Likewise.
  5755. 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
  5756. * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
  5757. is not dependent on ARM_BI_ENDIAN.
  5758. 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
  5759. * tc-arm.c (all error messages): Normalize capitalization of messages.
  5760. * tc-arm.h (md_operand): Delete define.
  5761. * tc-arm.c (in_my_get_expression): New static variable.
  5762. (my_get_expression): Set and clear it.
  5763. (md_operand): New function. If called from my_get_expression
  5764. put the error in inst.error.
  5765. (output_inst): Now takes argument of instruction being assembled.
  5766. Print it out with any error message.
  5767. (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
  5768. with '=' syntax.
  5769. (end_of_line): Don't update inst.error if it is already set.
  5770. 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
  5771. * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
  5772. op that can be translated into a mvn instruction.
  5773. 2002-01-11 Steve Ellcey <sje@cup.hp.com>
  5774. * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
  5775. setting default md.flags.
  5776. (SHT_INIT_ARRAY): New elf special section used by HP-UX.
  5777. (SHT_FINI_ARRAY): New elf special section used by HP-UX.
  5778. * gas/config/tc-ia64.c (setup_unwind_header): Add support
  5779. for 32 bit unwind info blocks.
  5780. (generate_unwind_image): Add support for different types
  5781. of unwind images (32 bits and/or big-endian).
  5782. (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
  5783. (ia64_target_format): Add support for hpux target formats.
  5784. (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
  5785. (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
  5786. SHT_FINI_ARRAY elf section types.
  5787. 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
  5788. * tc-arm.c (struct reg_entry): Move before prototypes.
  5789. (int_register, cp_register, fp_register): Delete.
  5790. (reg_table): Delete. Replaced with ...
  5791. (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
  5792. (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
  5793. (mav_dspsc_table): ... one table per register set.
  5794. (arm_reg_hsh): Delete.
  5795. (struct reg_map): New structure.
  5796. (all_reg_maps): New array.
  5797. (enum arm_reg_type): New enums.
  5798. (build_reg_hsh): New function.
  5799. (insert_reg_alias): Use hash table passed by caller. Adjust all
  5800. callers.
  5801. (create_register_alias): New function, split out from ...
  5802. (md_assemble): ... here.
  5803. (md_begin): Build new register hash tables.
  5804. (arm_reg_parse): New argument for the hash table to search. Adjust all
  5805. callers.
  5806. (arm_reg_parse_any): New function.
  5807. (co_proc_number): Look up the processor number in the processor hash
  5808. table.
  5809. (cirrus_regtype): Delete.
  5810. (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
  5811. (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
  5812. (ARM_EXT_MAVERICKsc_register): Delete.
  5813. (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
  5814. (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
  5815. functions.
  5816. (do_c_triple_4, do_c_triple_5): Delete.
  5817. (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
  5818. (do_c_quad_6): Delete.
  5819. (do_c_quad_6[ab]): New functions.
  5820. (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
  5821. arguments to use new register parsing methods.
  5822. (cirrus_reg_required_here): Likewise.
  5823. (insns): Reclassify cirrus maverick worker functions.
  5824. (cirrus_valid_reg): Delete.
  5825. 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
  5826. * configure.in (sh*le): Set cpu_type=sh and endian=little.
  5827. (sh*-*-netbsdelf*): New target.
  5828. * configure: Regenerate.
  5829. * tc-sh.h: Update copyright years.
  5830. (TARGET_FORMAT): Add version for TE_NetBSD.
  5831. 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
  5832. * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
  5833. negative.
  5834. 2002-01-06 Alan Modra <amodra@bigpond.net.au>
  5835. * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
  5836. * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
  5837. 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
  5838. * tc-mips.c (mips_cprestore_valid): New flag.
  5839. (mips_frame_reg_valid): New flag.
  5840. (macro) [M_JAL_2]: Check both flags.
  5841. [M_JAL_A]: Likewise.
  5842. (s_cprestore): Set mips_cprestore_valid.
  5843. (tc_get_register): If setting mips_frame_reg, set
  5844. mips_frame_reg_valid and clear mips_cprestore_valid.
  5845. (s_mips_ent): Clear both flags.
  5846. (s_mips_end): Clear both flags.
  5847. 2002-01-05 Alan Modra <amodra@bigpond.net.au>
  5848. * write.c (write_object_file): Make use of bfd_section_list_remove.
  5849. * config/obj-ecoff.c (ecoff_frob_file): Likewise.
  5850. * config/tc-mmix.c (mmix_frob_file): Likewise.
  5851. 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
  5852. * configure.in (i386-*-netbsdelf*): Collapse target into...
  5853. (i386-*-netbsd*): ...this. Add support for x86-64.
  5854. * configure: Regenerated.
  5855. 2002-01-03 matthew green <mrg@redhat.com>
  5856. * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
  5857. 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
  5858. * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
  5859. NULL frag link.
  5860. For older changes see ChangeLog-0001
  5861. Copyright (C) 2002-2003 Free Software Foundation, Inc.
  5862. Copying and distribution of this file, with or without modification,
  5863. are permitted in any medium without royalty provided the copyright
  5864. notice and this notice are preserved.
  5865. Local Variables:
  5866. mode: change-log
  5867. left-margin: 8
  5868. fill-column: 74
  5869. version-control: never
  5870. End: