ChangeLog-0001 263 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706
  1. 2001-12-31 Richard Henderson <rth@redhat.com>
  2. * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
  3. (make_unw_section_name): Constify local variables.
  4. * config/tc-ia64.c (has_suffix_p): New.
  5. (note_register_values): Use it instead of strstr.
  6. 2001-12-31 Jeffrey A Law (law@redhat.com)
  7. * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
  8. 'X', 'M', and 'A'.
  9. 2001-12-21 Jakub Jelinek <jakub@redhat.com>
  10. * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define.
  11. (sparc_cons): Provide prototype.
  12. * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and
  13. BFD_RELOC_SPARC_PLT{32,64}. Enumerate for which relocs
  14. reloc->addend = fixp->fx_addnumber shouldn't be done instead of
  15. enumarating for which pc relative ones it should be done.
  16. (sparc_cons_special_reloc): New variable.
  17. (sparc_cons): New function.
  18. (cons_fix_new_sparc): Use sparc_cons_special_reloc.
  19. 2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  20. Daniel Jacobowitz <drow@mvista.com>
  21. * config/tc-mips.c (file_mips_gp32): Initialize to invalid value.
  22. (file_mips_fp32): Likewise.
  23. (md_begin): Compatibility handling for -mipsN option.
  24. 2001-12-20 Alexandre Oliva <aoliva@redhat.com>
  25. * config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).
  26. 2001-12-20 matthew green <mrg@redhat.com>
  27. * config/tc-ppc.c (md_parse_option): Make -maltivec default
  28. to generating PowerPC instructions.
  29. 2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
  30. * configure.in (mips-dec-netbsd*): Delete.
  31. * configure: Regenerate.
  32. * configure.in (arm-*-netbsdelf*): Add target.
  33. * configure: Regenerate.
  34. 2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
  35. * config/tc-mips.h (TC_HANDLE_FX_DONE): Remove redundant
  36. definition.
  37. 2001-12-18 Niibe Yutaka <gniibe@m17n.org>
  38. * configure.in (assign object format): Bug fix for setting
  39. endian.
  40. * configure: Regenerate.
  41. 2001-12-18 matthew green <mrg@eterna.com.au>
  42. * configure.in (m68k-*-netbsdelf*): New target.
  43. (m68k-*-netbsd*): Also include ELF support.
  44. (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
  45. * configure: Regenerate.
  46. 2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  47. * gasp.c (main): Protoype.
  48. 2001-12-17 Richard Henderson <rth@redhat.com>
  49. * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
  50. 2001-12-17 Nick Clifton <nickc@cambridge.redhat.com>
  51. * cgen.c: Add prototype for queue_fixup.
  52. (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid
  53. possible longjmp corruption.
  54. * cgen.h: Add prototype for gas_cgen_md_operand.
  55. 2001-12-15 Alan Modra <amodra@bigpond.net.au>
  56. * config/obj-elf.c (obj_elf_init_stab_section): References are
  57. kept to section name strings. Don't alloca them!
  58. 2001-12-12 Alexandre Oliva <aoliva@redhat.com>
  59. * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after
  60. OPERAND_ATSIGN as O_absent.
  61. 2001-12-07 Geoffrey Keating <geoffk@redhat.com>
  62. Richard Henderson <rth@redhat.com>
  63. * configure.in: Add support for xstormy16.
  64. * configure: Regenerated.
  65. * Makefile.am: Add support for xstormy16.
  66. * Makefile.in: Regenerated.
  67. * config/tc-xstormy16.c: New file.
  68. * config/tc-xstormy16.h: New file.
  69. 2001-12-06 Richard Earnshaw (rearnsha@arm.com)
  70. * tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm)
  71. (do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla)
  72. (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx)
  73. (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal)
  74. (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc)
  75. (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic)
  76. (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia)
  77. (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2)
  78. (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad)
  79. (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift)
  80. (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2)
  81. (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument,
  82. FLAGS.
  83. (struct asm_opcode): Adjust parms field accordingly.
  84. (md_assemble): Don't pass dummy second argument when calling worker
  85. functions.
  86. (build_arm_ops_hsh): Add prototype
  87. (BAD_FLAGS): Delete.
  88. 2001-12-05 Richard Earnshaw <rearnsha@arm.com>
  89. * tc-arm.c (struct asm_opcode): Delete comp_suffix and flags. Add
  90. cond_offset. Rename variants->variant.
  91. (insns): Adjust for new format. Explicitly code each variant that
  92. takes flags. Remove temporary instructions.
  93. (struct arm_it): Remove redundant field suffix.
  94. (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags)
  95. (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag)
  96. (long_flag): Delete.
  97. (struct asm_flg): Delete.
  98. (LONGEST_INST): Delete.
  99. (V4_STR_BIT): Define.
  100. (struct thumb_opcode): Rename variants->variant.
  101. (do_empty): Renamed from do_nop.
  102. (ldst_extend): Delete argument hwse. Split code for half-word and
  103. signed byte instructions to ...
  104. (ldst_extend_v4): ... here.
  105. (ld_mode_required_here): Use ldst_extend_v4.
  106. (do_ldrd): Simplify now that this is only called for ldrd. No
  107. need to test for XScale, which was wrong anyway. Don't reject r12
  108. as a target register. Add test that ldrd doesn't update an index
  109. register.
  110. (do_pld): Don't allow post-indexed or write-back addressing modes.
  111. Adjust call to ldst_extend.
  112. (do_adr): Split code for adrl to ...
  113. (do_adrl): ... here.
  114. (do_cmp): No need to fold in COND_BIT.
  115. (do_ldst): Simplify. Split code for ldrt/strt into do_ldstt. Split
  116. code to handle half-word and signed byte instructions to ...
  117. (do_ldstv4): ... here.
  118. (do_ldstt): New function. Handle load/store with translate.
  119. (do_ldmstm): Write feature modification bits directly into
  120. inst.instruction.
  121. (do_fpa_ldst): Remove suffix handling code.
  122. (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise.
  123. (do_fpa_ldmstm): Type of access is now held in inst.instruction.
  124. (build_arm_ops_hsh): New function.
  125. (md_begin): Call it. Don't build the ARM opcode directly.
  126. (md_assemble): Simplify ARM instruction handling.
  127. 2001-12-05 Arati Dikey <aratid@kpit.com>
  128. * tc-sh.c (parse_at): Corrected incorrect op->type selection due
  129. to missing 'else'.
  130. 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
  131. * config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so
  132. that we can tell which operand refers to the insn put in the L
  133. container and mark it as such, so that the relocation type can be
  134. adjusted.
  135. 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  136. * config/tc-mips.c (mips_cpreturn_offset): Better comment.
  137. (load_register): Better error message. Cast away signedness
  138. mismatches. Add casts needed for varargs.
  139. (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl.
  140. Remove superfluous casts.
  141. (macro): Cast away signedness mismatches. Remove superfluous casts.
  142. (s_cpload): Fix wrong comment.
  143. (s_mips_weakext): Standardize output message.
  144. (get_number): Likewise.
  145. 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  146. * config/tc-mips.c (append_insn): Add jump address range overflow
  147. check.
  148. 2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  149. * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi option
  150. for ELF only.
  151. (show): Document -mabi option.
  152. 2001-12-03 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  153. * config/tc-arm.c (md_parse_option): Only clear cpu part when
  154. specifying 'xscale' cpu (don't change the fpu part).
  155. 2001-12-04 Alexandre Oliva <aoliva@redhat.com>
  156. * config/tc-d10v.c (find_opcode): Reject SP operand if
  157. OPERAND_NOSP flag is present.
  158. 2001-12-03 Eric Christopher <echristo@redhat.com>
  159. * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
  160. 2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  161. * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL
  162. by BFD_RELOC_GPREL16.
  163. (load_address): Likewise.
  164. (macro): Likewise.
  165. (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by
  166. BFD_RELOC_GPREL32.
  167. (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32.
  168. (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
  169. *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
  170. 2001-11-29 Alexandre Oliva <aoliva@redhat.com>
  171. * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for
  172. prefix `+'.
  173. * config/tc-d10v.c (find_opcode): Reject non-SP operand if
  174. flags requires SP.
  175. 2001-11-29 Arati Dikey <aratid@kpit.com>
  176. * tc-sh.c (parse_at): Removed case-sensitivity of index register
  177. R8, R9.
  178. 2001-11-28 Jakub Jelinek <jakub@redhat.com>
  179. * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used
  180. in reloc if it has non-zero addend.
  181. * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check.
  182. * config/tc-sparc.c (md_apply_fix3): Likewise.
  183. 2001-11-28 Andreas Schwab <schwab@suse.de>
  184. * as.c (parse_args): Call md_after_parse_args if defined.
  185. * config/tc-ia64.h (md_after_parse_args): Define.
  186. * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.
  187. * doc/internals.texi (CPU backend): Document md_after_parse_args.
  188. 2001-11-23 Jakub Jelinek <jakub@redhat.com>
  189. * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
  190. * write.c (adjust_reloc_syms): Don't handle relocs against
  191. SEC_MERGE section symbols specially.
  192. (fixup_segment): Likewise.
  193. 2001-11-21 Richard Sandiford <rsandifo@redhat.com>
  194. * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
  195. (md_apply_fix3): ...here. Don't prevent the symbol value being
  196. subtracted twice from GPREL addends.
  197. (tc_gen_reloc): Add the symbol value to a GPREL addend if it was
  198. subtracted by the previous function.
  199. 2001-11-20 Nick Clifton <nickc@cambridge.redhat.com>
  200. * config/tc-avr.c (md_apply_fix3): Fix typo introduced by
  201. md_apply_fix3 change.
  202. 2001-11-20 Ben Elliston <bje@redhat.com>
  203. * config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
  204. usage after md_apply_fix3 cleanups.
  205. 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
  206. * doc/c-mmix.texi: Use texinfo 4 features.
  207. (MMIX-mmixal): Fix typo.
  208. 2001-11-17 Hans-Peter Nilsson <hp@axis.com>
  209. * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in
  210. val assignment.
  211. 2001-11-16 Michael Snyder <msnyder@redhat.com>
  212. * stabs.c (stabs_generate_asm_lineno): Remember file and line number
  213. from one call to the next, and eliminate consecutive duplicates
  214. (thereby emitting only one line symbol per source line).
  215. * dwarf2dbg.c (dwarf2_gen_line_info): Ditto.
  216. 2001-11-16 Alan Modra <amodra@bigpond.net.au>
  217. * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
  218. 2001-11-15 H.J. Lu <hjl@gnu.org>
  219. * config/tc-hppa.c (md_apply_fix3): Fix a typo.
  220. 2001-11-15 H.J. Lu <hjl@gnu.org>
  221. * config/tc-alpha.c (md_apply_fix3): Fix a typo.
  222. 2001-11-15 Nick Clifton <nickc@cambridge.redhat.com>
  223. * write.c (fixup_segment): Remove references to md_apply_fix and
  224. TC_HANDLE_FX_DONE.
  225. * cgen.c, config/obj-coff.c, config/tc-*.c: Update all occurances
  226. of md_apply_fix to md_apply_fix3.
  227. Make all md_apply_fix3 functions void.
  228. * cgen.h, config/obj-coff.h, tc-*.h: Remove all definitions of
  229. MD_APPLY_FIX3 and TC_HANDLE_FX_DONE.
  230. * doc/internals.texi: Update references to md_apply_fix3.
  231. * tc.h: Update prototype for md_apply_fix3.
  232. 2001-11-15 Alan Modra <amodra@bigpond.net.au>
  233. * config/tc-i386.h (md_end): Define.
  234. (i386_elf_emit_arch_note): Declare.
  235. (CpuUnknown): Delete.
  236. * config/tc-i386.c (default_arch): Constify.
  237. (smallest_imm_type): Remove CpuUnknown test.
  238. (md_assemble): Don't bother checking cpu_arch_flags non-zero.
  239. (i386_elf_emit_arch_note): New function.
  240. * po/POTFILES.in: Regenerate.
  241. 2001-11-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  242. * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
  243. 2001-11-15 Alan Modra <amodra@bigpond.net.au>
  244. * frags.c (frag_grow): Revert last change.
  245. * dwarf2dbg.c (get_frag_fix): Align last frag size.
  246. * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
  247. to operand->insert.
  248. (md_assemble): Likewise.
  249. 2001-11-12 Nick Clifton <nickc@cambridge.redhat.com>
  250. * frags.c (frag_grow): Use frag_make_room() to grow the
  251. obstack.
  252. 2001-11-14 Nick Clifton <nickc@cambridge.redhat.com>
  253. * config/tc-sparc.c (md_apply_fix3): Do not remove the symbol's
  254. value from the addend for fixups against local symbols in
  255. SEC_MERGE sections - it was not added in, in the first place.
  256. 2001-11-11 Timothy Wall <twall@alum.mit.edu>
  257. * write.c (relax_segment): Convert symbol address into an octet
  258. offset prior to adding to the frag address, which is an octet
  259. offset. Add comments to that effect.
  260. * config/tc-tic54x.c: Fix bugs causing tests to fail.
  261. * config/tc-tic54x.h: Ditch PARAMS macro.
  262. 2001-11-13 Alan Modra <amodra@bigpond.net.au>
  263. * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is
  264. put in note section. Use sizeof instead of hard-coded constants.
  265. 2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  266. * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.
  267. (md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow
  268. OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation.
  269. Sort options a bit more logical.
  270. (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64,
  271. OPTION_MABI only for elf targets.
  272. 2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  273. * config/tc-mips.c (set_at): Add cast needed for varargs.
  274. (load_register): Likewise.
  275. (macro): Likewise. Some code reformatting.
  276. (macro2): Add cast needed for varargs.
  277. (mips16_macro): Likewise.
  278. 2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  279. * config/tc-mips.c (md_assemble): Remove superflous casts.
  280. (append_insn): Likewise.
  281. (mips16_macro_build): Likewise.
  282. (macro): Likewise.
  283. (mips16_ip): Likewise.
  284. (s_cpload): Likewise.
  285. (mips_relax_frag): Likewise.
  286. 2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  287. * config/tc-mips.c (mips_abi_level): Move in front of
  288. mips_set_options.
  289. (mips_set_options): Add members gp32, fp32, abi.
  290. (file_mips_gp32): New flag.
  291. (file_mips_fp32): New flag.
  292. (mips_opts): Initialize the new members.
  293. (mips_gp32): Remove.
  294. (mips_fp32): Remove.
  295. (HAVE_32BIT_GPRS): Use the new values from mips_opts.
  296. (HAVE_32BIT_FPRS): Likewise.
  297. (HAVE_NEWABI): Likewise.
  298. (HAVE_64BIT_OBJECTS): Likewise.
  299. (md_begin): Likewise. Save default (file) values.
  300. (md_parse_option): Use the new values from mips_opts.
  301. (s_mipsset): Likewise. Fix logic to keep the ABI selection if
  302. possible. Let .set mipsN work together with .set push/pop.
  303. Enhance error messages.
  304. (mips_elf_final_processing): Use file_mips_* for header processing.
  305. 2001-11-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
  306. * config/tc-avr.c (mcu_types): Update for new devices.
  307. 2001-11-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  308. * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for
  309. the page man title.
  310. * doc/Makefile.in: Rebuild.
  311. * doc/as.texinfo: Do not put man SEEALSO in document;
  312. Use @command for commands, @option for options; Reorganize usage
  313. to clearly identify target specific options.
  314. 2001-11-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  315. * config/tc-mips.c (mips_force_relocation): Remove duplicate code.
  316. 2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  317. * config/tc-mips.c (my_getSmallParser): Fix small parser bug.
  318. 2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
  319. * config/tc-s390.c (tc_s390_force_relocation): Force all relocations
  320. that need the global offset table.
  321. (md_apply_fix3): Add code to undo opertions done in fixup_segment
  322. triggered by TC_FORCE_RELOCATION.
  323. * config/tc-s390.h (TC_FORCE_RELOCATION): Replace macro code with
  324. a call to function tc_s390_force_relocation.
  325. (TC_FIX_ADJUSTABLE): Define.
  326. 2001-11-04 Chris Demetriou <cgd@broadcom.com>
  327. * configure.in (mips-*-netbsd*): Add support for target.
  328. * configure: Regenerate.
  329. 2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
  330. * configure.in (ALL_LINGUAS): Add 'fr'.
  331. * configure: Regernate.
  332. * po/fr.po: New file. Obtained from the translation project web
  333. site.
  334. 2001-11-02 Richard Earnshaw <rearnsha@arm.com>
  335. * tc-arm.c: Re-arrange prototypes by architecture.
  336. (insns): Re-arrange instructions by archtitecture. Pld instruction
  337. is part of ARMv5E.
  338. (tinsns): blx and bkpt are part of ARMv5T.
  339. (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
  340. to do_fpa_*. All callers changed.
  341. * tc-arm.c (insns): Add two temporary instructions to handle
  342. ldrd/strd.
  343. 2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  344. * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage
  345. for bra/bsr and use frag_variant(), this ensure that the possible
  346. 16-bit BFD_RELOC_16 will be in the same frag.
  347. 2001-10-31 Chris Demetriou <cgd@broadcom.com>
  348. * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
  349. PIC code, assume pointers the same size as GPRs.
  350. (macro): In M_LA_AB handling for embedded PIC code, support
  351. "la $treg,foo-bar($breg)". In load/store handling
  352. (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
  353. which is used by the compiler for switch statements.
  354. In load/store double multi-instruction macro handling
  355. (label ldd_std) add a comment that no special handling
  356. is currently done for embedded PIC.
  357. (mips_ip): In 'o' (16-bit offset) case, only accept 16
  358. bit offsets.
  359. 2001-10-31 Richard Earnshaw <rearnsha@arm.com>
  360. General cleanup of feature definitions.
  361. * tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
  362. (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
  363. (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
  364. (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
  365. (ARM_EXT_V{5,5E}): Synchronize with above.
  366. (ARM_ARCH_V*): Define a complete set in terms of above features.
  367. (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
  368. (FPU_FPA_EXT_V[12]): Define.
  369. (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
  370. (FPU_ANY): Define.
  371. (FPU_DEFAULT): Default to FPA.
  372. (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
  373. Thumb, this is now ARM_ARCH_V5T.
  374. (insns): Rework for new feature defines.
  375. (tinsns): Likewise.
  376. (opcode_select, do_ldst, md_begin, md_parse_option): Likewise.
  377. 2001-10-31 NIIBE Yutaka <gniibe@m17n.org>
  378. * configure.in: Handle sh*eb-*-linux* and sh*-*-linux*.
  379. * configure: Regenerate.
  380. * Makefile.in: Regenerate.
  381. * doc/c-sh.texi (SH Options): Added descriptions.
  382. 2001-10-30 Hans-Peter Nilsson <hp@bitrange.com>
  383. * configure.in: Update for MMIX port.
  384. * Makefile.am: Ditto. Regenerate dependencies.
  385. * Makefile.in: Regenerate.
  386. * configure: Regenerate.
  387. * config/tc-mmix.h, config/tc-mmix.c: New files.
  388. * doc/Makefile.am (CPU_DOCS): Add c-mmix.texi
  389. * doc/Makefile.in: Regenerate.
  390. * doc/all.texi: @set MMIX.
  391. * doc/as.texinfo: Ditto. Add MMIX gas manpage option overview.
  392. Include c-mmix.texi.
  393. * doc/c-mmix.texi: New file.
  394. 2001-10-24 Chris Demetriou <cgd@broadcom.com>
  395. * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make
  396. these evaluate to true if mips_arch indicates SB-1.
  397. 2001-10-23 Alan Modra <amodra@bigpond.net.au>
  398. * as.c (parse_args): Print the date as well for --version.
  399. 2001-10-20 Chris Demetriou <cgd@broadcom.com>
  400. * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
  401. SB-1 CPU for consistency.
  402. (mips_cpu_info_table): Tweak comment about SB-1.
  403. 2001-10-20 H.J. Lu <hjl@gnu.org>
  404. * config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
  405. (cirrus_parse_offset): Likewise.
  406. 2001-10-19 Nick Clifton <nickc@cambridge.redhat.com>
  407. * config/tc-arm.c: Restore line_comment_chars.
  408. 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
  409. * config/tc-arm.c (comment_chars): Remove semi-colon accidentally
  410. added to the list.
  411. 2001-10-18 Hans-Peter Nilsson <hp@bitrange.com>
  412. * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
  413. for undefined symbols.
  414. 2001-10-17 Chris Demetriou <cgd@broadcom.com>
  415. * doc/as.texinfo (MIPS ISA options): Added accidentally
  416. omitted "-mips64" option to list of options.
  417. 2001-10-17 matthew green <mrg@redhat.com>
  418. * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
  419. -m7410, -m7450 and -m7455 options.
  420. 2001-10-17 Alan Modra <amodra@bigpond.net.au>
  421. * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
  422. (ppc_size): Select PPC_OPCODE_64 if 64 bit.
  423. (md_begin): Don't set ppc_size here.
  424. (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
  425. (md_shortopts): Constify.
  426. (md_longopts): Likewise.
  427. (md_longopts_size): Likewise.
  428. (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
  429. 64-bit opcodes.
  430. (ppc_machine): Explain why this function is a nop.
  431. 2001-10-17 Alan Modra <amodra@bigpond.net.au>
  432. * bit_fix.h: Comment typo fix.
  433. * config/tc-mips.c: Likewise.
  434. * config/tc-sh.c: Likewise.
  435. * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
  436. * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
  437. that autoheader doesn't duplicate config.in entries.
  438. (DEFAULT_ARCH): Ditto.
  439. * configure: Regenerate.
  440. * config.in: Regenerate.
  441. 2001-10-16 Alan Modra <amodra@bigpond.net.au>
  442. From Andrew Pines <apines@cosmodog.com>
  443. * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
  444. 2001-10-16 NIIBE Yutaka <gniibe@m17n.org>,
  445. Hans-Peter Nilsson <hp@bitrange.com>
  446. * config/tc-sh.c (shl): Remove.
  447. (big): New function.
  448. (little): Remove shl handling. Emit error for endian mismatch.
  449. (md_show_usage): Add description of -big.
  450. (md_parse_option): Handle OPTION_BIG. Remove shl handling.
  451. (OPTION_BIG): Add.
  452. (md_pseudo_table): Add .big.
  453. (md_longopts): Add -big.
  454. (md_begin): Don't set target_big_endian here.
  455. * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove.
  456. (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian.
  457. (shl): Remove.
  458. * configure.in (endian): Default is big.
  459. (sh-*-pe*): Little endian.
  460. (cpu_type): Set sh for target sh*.
  461. * configure: Regenerate.
  462. 2001-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  463. * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
  464. relocations.
  465. 2001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
  466. * config/tc-arm.c: Replace CONST with const.
  467. * cgen.c: Tidy up formatting.
  468. 2001-10-12 matthew green <mrg@redhat.com>
  469. * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
  470. flags, equivalent to -m7400. New -maltivec to enable AltiVec
  471. instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable
  472. 64-bit and 32-bit BookE support, respectively. Change -m403 and
  473. -m405 to set PPC403 option.
  474. (md_show_usage): Adjust for new options.
  475. * doc/all.texi: Set PPC.
  476. * doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
  477. * doc/c-ppc.texi: New file.
  478. * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
  479. * doc/Makefile.in: Regenerate.
  480. 2001-10-12 Nick Clifton <nickc@cambridge.redhat.com>
  481. * read.c (s_bad_endr): New function. Issues a warning message
  482. about a bad use of the .rept pseudo op.
  483. (po_table[]): Add .endr.
  484. * read.h: Prototype s_bad_endr.
  485. * CONTRIBUTORS: Update contact email address.
  486. 2001-10-11 Kazu Hirata <kazu@hxi.com>
  487. * config/tc-alpha.c: Fix comment typos.
  488. * config/tc-cris.c: Likewise.
  489. * config/tc-hppa.c: Likewise.
  490. * config/tc-i370.c: Likewise.
  491. * config/tc-mips.c: Likewise.
  492. * config/tc-mn10200.c: Likewise.
  493. * config/tc-mn10300.c: Likewise.
  494. * config/tc-sh.c: Likewise.
  495. * config/tc-tahoe.c: Likewise.
  496. * config/tc-v850.c: Likewise.
  497. 2001-10-11 Kazu Hirata <kazu@hxi.com>
  498. * app.c: Fix comment typos.
  499. * bit_fix.h: Likewise.
  500. * expr.c: Likewise.
  501. * itbl-ops.c: Likewise.
  502. 2001-10-11 Nick Clifton <nickc@cambridge.redhat.com>
  503. * input-file.c: Include safe-ctype.h.
  504. (input_file_open): Use ISSPACE instead of isspace.
  505. 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  506. * config/tc-mips.c (mips_cpreturn_offset): New variable.
  507. (mips_cpreturn_register): Likewise.
  508. (mips_gp_register): Likewise.
  509. (s_cpsetup): New function prototype.
  510. (s_cplocal): Likewise.
  511. (s_cpreturn): Likewise.
  512. (s_gpvalue): Likewise.
  513. (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
  514. pseudo-ops.
  515. (macro): Don't warn about .cprestore for NewABI.
  516. (md_pcrel_from): Code cleanup.
  517. (mips_force_relocation): Force output of some NewABI relocations even
  518. without a defined symbol.
  519. (s_cpload): Ignore .cpload for NewABI.
  520. (s_cpsetup): Handle .cpsetup.
  521. (s_cplocal): Handle .cplocal.
  522. (s_cprestore): Ignore .cprestore for NewABI.
  523. (s_cpreturn): Handle .cpreturn.
  524. (s_gpvalue): Handle .gpvalue.
  525. (s_cpadd): Ignore .cpadd for NewABI.
  526. (nopic_need_relax): Take g_switch_value into account as gp
  527. optimization.
  528. (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.
  529. 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  530. * config/tc-mips.c (my_getSmallParser): New function prototype.
  531. (small_ex_type): Named this enum, more return values for
  532. my_getSmallExpression.
  533. (mips_ip): Allow SPC and HT between arguments. Handle some NewABI
  534. triple relocations. Protect some parts with ifdef OBJ_ELF.
  535. (percent_op_match): New struct, lookup table for %some_reloc().
  536. (my_getSmallParser): New function, parses nested percent_ops also.
  537. (my_getSmallExpression): Rewite to support nested percent_ops.
  538. 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  539. * config/tc-mips.c
  540. (load_address): Support both 32- and 64-bit addresses.
  541. (macro): Call load_register correctly. Expand 64-bit loads ans stores.
  542. (macro2): Call load_address correctly.
  543. 2001-10-09 Christian Groessler <cpg@aladdin.de>
  544. * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h
  545. since z8k-opc.h now uses the PARAMS macro.
  546. 2001-10-09 Aldy Hernandez <aldyh@redhat.com>
  547. * config/tc-arm.c: Change MAVERIK to MAVERICK.
  548. 2001-10-09 Alan Modra <amodra@bigpond.net.au>
  549. * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
  550. throughout file.
  551. (obj_elf_change_section): Rename "group" to "group_name".
  552. (obj_elf_section): Likewise.
  553. (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
  554. first member section; Instead use elf_next_in_group.
  555. 2001-10-09 Alan Modra <amodra@bigpond.net.au>
  556. * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
  557. Set elf_section_data group from it. Warn if group name changed.
  558. (obj_elf_parse_section_letters): Parse 'G' too.
  559. (obj_elf_section): Parse group name.
  560. (struct group_list): New.
  561. (build_group_lists): New function.
  562. (elf_frob_file): Create SEC_GROUP section(s).
  563. * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
  564. whitespace.
  565. 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
  566. * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.
  567. * config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
  568. (cirrus_regtype): New enum.
  569. (LONGEST_INST): Change to 10.
  570. (CIRRUS_MODE1): New.
  571. (CIRRUS_MODE2): New.
  572. (CIRRUS_MODE3): New.
  573. (CIRRUS_MODE4): New.
  574. (CIRRUS_MODE5): New.
  575. (CIRRUS_MODE6): New.
  576. (insns): Add cirrus dsp instructions.
  577. (ARM_EXT_MAVERIKSC_REG): New.
  578. (cirrus_register): New.
  579. (cirrus_mvf_register): New.
  580. (cirrus_mvd_register): New.
  581. (cirrus_mvfx_register): New.
  582. (cirrus_mvdx_register): New.
  583. (cirrus_mvax_register): New.
  584. (ARM_EXT_MAVERIKsc_register): New.
  585. (reg_table): Add cirrus registers.
  586. (cirrus_valid_reg): New.
  587. (cirrus_reg_required_here): New.
  588. (do_c_binops_1): New.
  589. (do_c_binops_2): New.
  590. (do_c_binops_3): New.
  591. (do_c_triple_4): New.
  592. (do_c_triple_5): New.
  593. (do_c_quad_6): New.
  594. (do_c_dspsc_1): New.
  595. (do_c_dspsc_2): New.
  596. (do_c_shift_1): New.
  597. (do_c_shift_2): New.
  598. (do_c_ldst_1): New.
  599. (do_c_ldst_2): New.
  600. (do_c_ldst_3): New.
  601. (do_c_ldst_4): New.
  602. (do_c_binops): New.
  603. (do_c_triple): New.
  604. (do_c_quad): New.
  605. (do_c_dspsc): New.
  606. (do_c_shift): New.
  607. (cirrus_parse_offset): New.
  608. (do_c_ldst): New.
  609. (md_parse_option): Add arm9e.
  610. (md_show_usage): Same.
  611. 2001-10-08 Tom Rix <trix@redhat.com>
  612. * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
  613. location of next .bf
  614. * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
  615. 2001-10-07 Alan Modra <amodra@bigpond.net.au>
  616. * config/obj-elf.c: Standardize error/warning messages - don't
  617. capitalise, no final period or newline, don't say "ignoring" for
  618. as_bad messages. In some cases, change the wording to that used
  619. elsewhere for similar messages.
  620. (obj_elf_section_name): New function, split out from ..
  621. (obj_elf_section): .. here. Correctly mask off SHF_MERGE if
  622. entsize not specified.
  623. 2001-10-05 Jakub Jelinek <jakub@redhat.com>
  624. * doc/as.texinfo: Document M and S ELF section flags.
  625. 2001-10-05 Alan Modra <amodra@bigpond.net.au>
  626. * subsegs.c (subseg_text_p): Return 0 for absolute section.
  627. * read.c (do_align): If in absolute section, warn about and ignore
  628. non-zero fill pattern.
  629. 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
  630. * config/tc-mn10300.c (tc_gen_reloc): Don't free
  631. reloc->sym_ptr_ptr if it's not allocated.
  632. 2001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  633. * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
  634. relocation triple.
  635. (prev_insn_fixp): Likewise.
  636. (append_insn): Changed prototype to accept a relocation pointer.
  637. (imm_reloc): Make it an array.
  638. (offset_reloc): Likewise.
  639. (md_assemble): Handle triple relocations.
  640. (append_insn): Likewise. Add handling for some NewABI relocations.
  641. (mips_no_prev_insn): Handle triple relocations.
  642. (macro_build): Likewise. Add handling for some NewABI relocations.
  643. Move handling for the 'u' case to append_insn().
  644. (mips16_macro_build): Handle triple relocations.
  645. (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
  646. for NewABI.
  647. (mips_ip): Handle triple relocations.
  648. (mips16_ip): Likewise.
  649. (mips_force_relocation): Force handling of triple relocations
  650. without symbols for NewABI.
  651. (md_apply_fix): Add handling for some NewABI relocations.
  652. 2001-10-05 Alan Modra <amodra@bigpond.net.au>
  653. * config/tc-i386.c (parse_register): If not producing code for
  654. x86_64, reject x86_64 register name matches.
  655. (md_assemble): Remove now redundant check for x86_64 regs.
  656. 2001-10-04 Alan Modra <amodra@bigpond.net.au>
  657. * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
  658. as BFD_DEFAULT_TARGET_SIZE.
  659. (ppc_tc): Likewise.
  660. (ppc_is_toc_sym): Likewise.
  661. (md_apply_fix3): Likewise.
  662. 2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  663. * config/tc-mips.c (mips_64): Remove.
  664. (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
  665. in it.
  666. (mips_abi_level, mips_abi): New enum.
  667. (mips_32bit_abi): Remove.
  668. (HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
  669. (HAVE_NEWABI): New define.
  670. (HAVE_64BIT_OBJECTS): New define.
  671. (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
  672. (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
  673. (support_64bit_objects): New prototype.
  674. (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
  675. .reginfo section for n32, use .MIPS.options instead.
  676. (support_64bit_objects): New function, code from md_parse_option.
  677. (md_longopts): Add -n32 option.
  678. (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
  679. Add -n32 option. Protect with OBJ_ELF.
  680. (s_mipsset): Use mips_abi instead of mips_32bit_abi.
  681. (mips_elf_final_processing): Likewise. Don't write .reginfo section
  682. for n32, use .MIPS.options instead.
  683. 2001-10-03 Alan Modra <amodra@bigpond.net.au>
  684. * po/POTFILES.in: Regenerate.
  685. * configure: Regenerate.
  686. 2001-10-02 Alan Modra <amodra@bigpond.net.au>
  687. * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
  688. bits if target is 64 bit.
  689. * doc/as.texinfo (listing): Fix typo.
  690. * as.c (print_version_id): Use BFD_VERSION_STRING in place of
  691. BFD_VERSION.
  692. * Makefile.am (Makefile): Depend on bfd/configure.in.
  693. Run "make dep-am".
  694. * Makefile.in: Regenerate.
  695. 2001-09-30 H.J. Lu <hjl@gnu.org>
  696. * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
  697. and "ams" for compatibility.
  698. 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
  699. * config/tc-sh.c (md_pcrel_from_section): Transformed from
  700. md_pcrel_from. Handle pc-relativeness against link-time
  701. symbol. Handle relativeness to elsewhere than the fixup.
  702. * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
  703. (md_pcrel_from_section): Prototype.
  704. * Makefile.am: Update dependencies with "make dep-am".
  705. * Makefile.in: Regenerate.
  706. 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  707. * config/tc-m68hc11.c (cmp_opcode): Define prototype.
  708. (print_opcode_format, skip_whites): Likewise.
  709. (convert_branch, m68hc11_new_insn): Likewise.
  710. (build_dbranch_insn, build_indexed_byte): Likewise.
  711. (build_reg_mode, find, find_opcode): Likewise.
  712. (print_insn_format): Fix call to print_opcode_format.
  713. (md_assemble): Fix call to build_dbranch_insn.
  714. 2001-09-27 Nick Clifton <nickc@cambridge.redhat.com>
  715. * config/tc-arm.c: Add missing prototypes.
  716. 2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
  717. * input-file.c (input_file_open): When reading the
  718. first line looking for #NO_APP, prepare for the possibility
  719. of finding #APP instead. Also fix algorithm to allow
  720. white-space to follow either #NO_APP or #APP directives.
  721. 2001-09-25 Geoff Berry <geoff.berry@bops.com>
  722. * listing.c (buffer_line): Don't write past the end of `line' when
  723. EOF is reached.
  724. 2001-09-25 Alexandre Oliva <aoliva@redhat.com>
  725. * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
  726. relocation for differences between symbols in a section other
  727. than the one in which the difference is to be placed; apply
  728. the relocation instead.
  729. 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
  730. * config/tc-arc.c: Add missing prototype.
  731. (md_atof): Change type to int. Add missing prototype.
  732. * config/tc-arc.h: Prototype exported functions.
  733. 2001-09-22 Nick Clifton <nickc@cambridge.redhat.com>
  734. * as.c: Add missing function prototype.
  735. * config/obj-aout.c: Fix compile time warning.
  736. 2001-09-21 Bruno Haible <haible@clisp.cons.org>
  737. * config/tc-openrisc.c: Don't include <ctype.h>.
  738. 2001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  739. * gas/config/tc-s390.c: Add option -mwarn-areg-zero.
  740. 2001-09-19 Alan Modra <amodra@bigpond.net.au>
  741. * config/tc-i370.c: Fix typo in last change.
  742. 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
  743. * doc/as.texinfo (Symbol Names): Improve documentation on local
  744. labels and add documenation about dollar labels.
  745. 2001-09-18 Bruno Haible <haible@clisp.cons.org>
  746. * as.h: Don't include <ctype.h>.
  747. * as.c (main): For gettext, also set the LC_CTYPE locate facet.
  748. * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>.
  749. (atof_generic): Use ISDIGIT instead of isdigit.
  750. * config/m68k-parse.y: Include "safe-ctype.h".
  751. (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum.
  752. * config/obj-elf.c: Include "safe-ctype.h".
  753. (obj_elf_vtable_inherit): Use ISSPACE instead of isspace.
  754. * config/obj-vms.c: Include "safe-ctype.h".
  755. (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper.
  756. (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER
  757. instead of isupper/islower/toupper/tolower.
  758. * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>.
  759. (insert_sreg): Use TOUPPER instead of islower/toupper.
  760. (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of
  761. isalpha/isalnum/isupper/tolower.
  762. (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of
  763. isdigit.
  764. * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>.
  765. (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit.
  766. * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>.
  767. (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum.
  768. (arc_extoper): Use TOLOWER instead of isupper/tolower.
  769. * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>.
  770. (arm_psr_parse): Use ISALPHA instead of isalpha.
  771. (accum0_required_here): Use ISALNUM instead of isalnum.
  772. (do_ldrd): Use ISSPACE instead of isspace.
  773. (decode_shift): Use ISALPHA instead of isalpha.
  774. (insert_reg): Use TOUPPER instead of islower/toupper.
  775. (arm_reg_parse): Use ISALPHA instead of isalpha.
  776. (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of
  777. isalnum/ispunct/tolower.
  778. * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>.
  779. (md_parse_option): Use TOLOWER instead of tolower.
  780. (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower.
  781. * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>.
  782. (cris_process_instruction): Use ISLOWER instead of islower.
  783. (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit.
  784. (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum.
  785. (get_flags): Use ISSPACE instead of isspace.
  786. * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>.
  787. (do_assemble): Use TOLOWER instead of tolower.
  788. * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>.
  789. (do_assemble): Use TOLOWER instead of tolower.
  790. (d30v_start_line): Use ISSPACE instead of isspace.
  791. * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>.
  792. (fr30_is_colon_insn): Use TOLOWER instead of tolower.
  793. * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>.
  794. (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit.
  795. * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>.
  796. (start_label): Use ISALPHA instead of isalpha.
  797. * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>.
  798. (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of
  799. isupper/islower/tolower.
  800. (pa_parse_number): Use ISDIGIT instead of isdigit.
  801. (pa_chk_field_selector): Use TOLOWER instead of tolower.
  802. (pa_stringer): Use ISDIGIT instead of isdigit.
  803. * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>.
  804. (register_name): Use ISALPHA instead of isalpha.
  805. (i370_elf_suffix): Use ISALNUM/TOLOWER instead of
  806. isalnum/islower/tolower.
  807. (i370_addr_offset): Use ISDIGIT/ISALPHA instead of
  808. isdigit/isalpha.
  809. (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of
  810. isalpha/isxdigit.
  811. (md_assemble): Use ISSPACE instead of isspace.
  812. * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>.
  813. (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA
  814. instead of isdigit/islower/isupper/tolower/isalpha.
  815. (output_invalid): Use ISPRINT instead of isprint.
  816. * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>.
  817. (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
  818. * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>.
  819. (get_args): Use ISALNUM instead of isalnum.
  820. * config/tc-ia64.c: Include "safe-ctype.h".
  821. (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
  822. (ia64_unrecognized_line): Use ISDIGIT instead of isdigit.
  823. (ia64_parse_name): Likewise.
  824. * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>.
  825. (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER
  826. instead of isspace/isalnum/isupper/tolower.
  827. * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>.
  828. (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum.
  829. * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>.
  830. (mklower_table): Remove variable.
  831. (mklower): Remove macro.
  832. (insert_reg): Use TOUPPER instead of islower/toupper.
  833. (md_begin): Remove initialization of mklower_table.
  834. (s_reg): Use ISALNUM instead of isalnum.
  835. (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower.
  836. (parse_mri_condition): Use TOLOWER instead of isupper/tolower.
  837. (build_mri_control_operand): Use TOLOWER instead of tolower.
  838. (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
  839. * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>.
  840. (md_assemble): Use ISSPACE instead of isspace.
  841. (get_imm16): Use ISALNUM instead of isalnum.
  842. (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of
  843. isdigit/isupper/tolower.
  844. (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER
  845. instead of isalpha/isupper/tolower.
  846. (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
  847. isdigit/islower/isupper.
  848. * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>.
  849. (mcore_s_section): Use ISSPACE instead of isspace.
  850. (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of
  851. isspace/tolower/isalnum.
  852. (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower.
  853. (parse_psrmod): Use TOLOWER instead of isascii/tolower.
  854. (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of
  855. isspace.
  856. * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>.
  857. (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit.
  858. (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
  859. (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of
  860. isdigit/tolower.
  861. (tc_get_register): Likewise.
  862. (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit.
  863. (s_mips_ent): Use ISDIGIT instead of isdigit.
  864. * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>.
  865. (md_assemble): Use ISSPACE instead of isspace.
  866. * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>.
  867. (md_assemble): Use ISSPACE instead of isspace.
  868. * config/tc-ns32k.c: Don't include <ctype.h>.
  869. * config/tc-pdp11.c: Include "safe-ctype.h".
  870. (mklower): Remove function.
  871. (parse_reg): Use TOLOWER instead of mklower.
  872. * config/tc-pj.c: Include "safe-ctype.h".
  873. (md_assemble): Use ISSPACE instead of isspace.
  874. * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>.
  875. (register_name): Use ISALPHA instead of isalpha.
  876. (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of
  877. isalnum/islower/tolower.
  878. (md_assemble): Use ISSPACE instead of isspace.
  879. (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of
  880. islower/toupper.
  881. * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>.
  882. (register_name): Use ISALPHA instead of isalpha.
  883. (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum.
  884. (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of
  885. isspace.
  886. * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>.
  887. (sh_elf_suffix): Use ISALNUM/TOLOWER instead of
  888. isalnum/islower/tolower.
  889. (IDENT_CHAR): Use ISALNUM instead of isalnum.
  890. (parse_reg): Use TOLOWER instead of tolower.
  891. (find_cooked_opcode): Use TOLOWER instead of isupper/tolower.
  892. * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>.
  893. (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
  894. (parse_keyword_arg): Use ISALNUM instead of isalnum.
  895. * config/tc-tahoe.c: Include "safe-ctype.h".
  896. (tahoe_reg_parse): Use ISDIGIT instead of isdigit.
  897. (tip_op): Use TOLOWER instead of isupper/tolower.
  898. * config/tc-tic30.c: Include "safe-ctype.h".
  899. (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/
  900. ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha.
  901. (tic30_operand): Use TOLOWER instead of tolower.
  902. (tic30_find_parallel_insn): Likewise.
  903. (output_invalid): Use ISPRINT instead of isprint.
  904. * config/tc-tic54x.c: Include "safe-ctype.h".
  905. (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha.
  906. (lookup_version): Use TOUPPER instead of toupper.
  907. (tic54x_var): Use ISALPHA instead of isalpha.
  908. (tic54x_mlib): Use ISSPACE instead of isspace.
  909. (subsym_iscons): Use TOUPPER instead of toupper.
  910. (get_operands): Use ISSPACE instead of isspace.
  911. (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
  912. (encode_indirect, encode_operand): Use TOUPPER instead of toupper.
  913. (next_line_shows_parallel): Use ISSPACE instead of isspace.
  914. (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit.
  915. (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use
  916. ISSPACE instead of isspace.
  917. * config/tc-tic80.c: Include "safe-ctype.h".
  918. (md_assemble): Use ISSPACE instead of isspace.
  919. * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
  920. (system_register_name): Use ISDIGIT instead of isdigit.
  921. (md_assemble): Use ISSPACE instead of isspace.
  922. * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>.
  923. (vax_reg_parse): Use TOLOWER/ISDIGIT instead of
  924. isupper/tolower/isdigit.
  925. (vip_op): Use TOLOWER instead of isupper/tolower.
  926. * config/tc-w65.c: Don't include <ctype.h>.
  927. * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>.
  928. (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower.
  929. (whatreg): Use ISDIGIT instead of isdigit.
  930. * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>.
  931. (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit.
  932. * expr.c: Include "safe-ctype.h" instead of <ctype.h>.
  933. (integer_constant): Use ISALNUM/TOUPPER instead of
  934. isalnum/islower/toupper.
  935. (operand): Use TOLOWER instead of isupper/tolower.
  936. * gasp.c: Include "safe-ctype.h" instead of <ctype.h>.
  937. (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead
  938. of isdigit.
  939. (process_assigns, whatcond): Use TOUPPER instead of toupper.
  940. (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
  941. (main): For gettext, also set the LC_CTYPE locate facet.
  942. * hash.c: Include "safe-ctype.h".
  943. (main): Use TOLOWER instead of isupper/tolower.
  944. * itbl-lex.l: Don't include <ctype.h>.
  945. * listing.c: Include "safe-ctype.h" instead of <ctype.h>.
  946. (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't
  947. omit non-ASCII characters.
  948. (debugging_pseudo): Use ISSPACE instead of isspace.
  949. * macro.c: Include "safe-ctype.h" instead of <ctype.h>.
  950. (buffer_and_nest): Use ISALNUM instead of isalnum.
  951. (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum.
  952. (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower.
  953. (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA
  954. instead of isalnum/isdigit/isupper/isalpha.
  955. (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead
  956. of isalpha/isalnum/isupper/tolower.
  957. * read.c: Include "safe-ctype.h" instead of <ctype.h>.
  958. (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of
  959. isupper/tolower/isdigit.
  960. (s_mri_common): Use ISDIGIT instead of isdigit.
  961. (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper.
  962. (s_float_space): Use ISALPHA instead of isalpha.
  963. (ignore_rest_of_line): Use ISPRINT instead of isprint.
  964. (float_cons): Use ISALPHA instead of isalpha.
  965. (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of
  966. isdigit/isxdigit.
  967. * symbols.c: Include "safe-ctype.h" instead of <ctype.h>.
  968. (save_symbol_name): Use ISLOWER/TOUPPER instead of
  969. islower/toupper.
  970. (symbol_find_base): Use TOUPPER instead of islower/toupper.
  971. (decode_local_label_name): Use ISDIGIT instead of isdigit.
  972. 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
  973. * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants
  974. in 64 bit mode and make format "e" work.
  975. 2001-09-18 Alan Modra <amodra@bigpond.net.au>
  976. * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
  977. * write.c (set_symtab): Update bfd_alloc declaration. Use a temp
  978. var to ensure bfd_alloc arg is the right type.
  979. (write_object_file): Cast args of bfd_seek. Replace bfd_write with
  980. bfd_bwrite.
  981. * config/obj-coff.c: Replace calls to bfd_write with calls to
  982. bfd_bwrite. Cast args of bfd_seek.
  983. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
  984. warning.
  985. * config/tc-mn10300.c (set_arch_mach): Make param unsigned.
  986. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
  987. call to bfd_bread.
  988. 2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
  989. * config/tc-sh.h (sh_force_relocation): Prototype.
  990. (struct fix): Forward declare.
  991. * config/tc-sh.c (type sh_operand_info): Move to top of file.
  992. (cons, s_align_bytes): Remove old-type declarations.
  993. (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand,
  994. get_operands, get_specific, insert, build_relax,
  995. insert_loop_bounds, build_Mytes): Prototype.
  996. (little): Make static. Prototype.
  997. (check, tc_Nout_fix_to_chars): Delete unused functions.
  998. 2001-09-14 Eric Christopher <echristo@redhat.com>
  999. * config/tc-mips.c (md_parse_option): Remove setting mips_64 via
  1000. -mgp32/mgp64.
  1001. 2001-09-14 Kevin Lo <kevlo@openbsd.org>
  1002. * configure.in: Add arm-openbsd target.
  1003. * configure: Regenerate.
  1004. 2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1005. * configure.in: Change machine triplets from mips-*-linux-gnu* to
  1006. mips*-*-linux*.
  1007. 2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1008. * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
  1009. 2001-09-11 Richard Henderson <rth@redhat.com>
  1010. * config/tc-alpha.c (alpha_elf_section_letter): New.
  1011. (alpha_elf_section_flags): New.
  1012. * config/tc-alpha.h (md_elf_section_letter): New.
  1013. (md_elf_section_flags): New.
  1014. * config/tc-ia64.c (ia64_elf_section_letter): New.
  1015. * config/tc-ia64.h (md_elf_section_letter): New.
  1016. 2001-09-11 Jakub Jelinek <jakub@redhat.com>
  1017. * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
  1018. of 'm', 'S' instead of 's'. Update bad_msg.
  1019. * config/tc-ppc.c (ppc_section_letter): Update bad_msg.
  1020. * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
  1021. 2001-09-09 Alan Modra <amodra@bigpond.net.au>
  1022. * expr.c (expr): Move code setting "retval" to the end of the loop,
  1023. and rearrange for efficiency. For "PIC code" subtraction, use
  1024. "rightseg" rather than recalculating. For "symbol OP symbol"
  1025. subtract, set "retval" to absolute_section if symbols in same
  1026. section.
  1027. * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
  1028. O_symbol. Simplify a +/- b code. Allow equality and non-equality
  1029. comparisons on symbols from any section. Allow other comparison
  1030. operators as for subtraction.
  1031. (symbol_equated_reloc_p): New predicate function.
  1032. * symbols.h (symbol_equated_reloc_p): Declare.
  1033. * write.c (relax_segment <rs_machine_dependent>): Ensure segment
  1034. for expression syms is set correctly.
  1035. (adjust_reloc_syms): Use symbol_equated_reloc_p.
  1036. (write_relocs): Likewise.
  1037. (write_object_file): Likewise.
  1038. * config/tc-mips.c (md_estimate_size_before_relax): Likewise.
  1039. * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
  1040. of a complex expression when setting up frag_var.
  1041. 2001-09-07 Richard Henderson <rth@redhat.com>
  1042. * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
  1043. require_seq and allow_seq. Let !literal omit the sequence number.
  1044. (tokenize_arguments): Reject sequence numbers of !allow_seq.
  1045. 2001-09-08 Jakub Jelinek <jakub@redhat.com>
  1046. * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
  1047. section symbols the same way as externs.
  1048. 2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1049. * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
  1050. pseudo-op.
  1051. 2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1052. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
  1053. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
  1054. PIC, BFD_RELOC_16_PCREL for the rest.
  1055. (mips_ip): Likewise.
  1056. (md_pcrel_from): return the right offset for the differently shifted
  1057. pcrel relocs.
  1058. (md_apply_fix): Handle BFD_RELOC_16_PCREL.
  1059. 2001-09-05 Richard Henderson <rth@redhat.com>
  1060. * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
  1061. (pseudo_func): Add @iplt.
  1062. (pseudo_opcode): Add data16 and data16.ua.
  1063. (md_begin): Set iplt pseudo.
  1064. (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
  1065. 2001-09-04 Richard Henderson <rth@redhat.com>
  1066. * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
  1067. (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
  1068. (alpha_macros): Remove occurrences of same.
  1069. (O_lituse_addr, O_gprel): New.
  1070. (DUMMY_RELOC_LITUSE_*): New.
  1071. (s_alpha_ucons, s_alpha_arch): Prototype.
  1072. (alpha_reloc_op): Construct elements via DEF macro.
  1073. (ALPHA_RELOC_SEQUENCE_OK): Remove.
  1074. (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
  1075. members to not be literal specific.
  1076. (next_sequence_num): New.
  1077. (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
  1078. added/removed BFD relocations.
  1079. (alpha_force_relocation, alpha_fix_adjustable): Likewise.
  1080. (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
  1081. (tokenize_arguments): Parse ! relocations properly.
  1082. (find_macro_match): Delete unused macro argument types.
  1083. (assemble_insn): Add reloc parameter; emit that instead of the
  1084. default as appropriate.
  1085. (get_alpha_reloc_tag): New. Split from ...
  1086. (emit_insn): ... here. Allocate a reloc tag for GPDISP.
  1087. (assemble_tokens): Don't search macros if user relocation present.
  1088. Copy reloc sequence number to insn struct.
  1089. (emit_ldgp): Remove user reloc handling.
  1090. (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
  1091. (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
  1092. (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
  1093. * config/tc-alpha.h (tc_adjust_symtab): Always define.
  1094. (struct alpha_fix_tag): Name members less literal specific.
  1095. 2001-09-04 Jeffrey A Law (law@cygnus.com)
  1096. * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
  1097. address of two symbols in different sections.
  1098. 2001-08-31 Eric Christopher <echristo@redhat.com>
  1099. Jason Eckhardt <jle@redhat.com>
  1100. * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
  1101. 5kc, and 20kc. Clean up old entries.
  1102. 2001-08-31 J"orn Rennecke <amylaar@redhat.com>
  1103. Jeff Law <law@redhat.com>
  1104. * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
  1105. offset match H8 ELF spec.
  1106. (md_section_align): Alternate implementation for BFD_ASSEMBLER.
  1107. (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
  1108. * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
  1109. (build_bytes): Mark fixups for PCrel branches as signed. For
  1110. OBJ_ELF, make sure the reloc's offset points to the first byte
  1111. to be modified.
  1112. (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
  1113. * tc-h8300.h (relocation mappings): Add.
  1114. 2001-08-30 J"orn Rennecke <amylaar@redhat.com>
  1115. * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
  1116. define for BFD_ASSEMBLER.
  1117. (tc_reloc_mangle): Likewise.
  1118. (tc_gen_reloc): New function for BFD_ASSEMBLER.
  1119. 2001-08-29 Jeffrey A Law (law@cygnus.com)
  1120. * config/tc-h8300.c (h8300hmode): Record the machine type
  1121. if BFD_ASSEMBLER is defined.
  1122. (h8300smode, md_begin): Similarly.
  1123. 2001-08-29 Joel Sherrill <joel@OARcorp.com>
  1124. * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
  1125. default from coff to elf.
  1126. * configure: Regenerate.
  1127. 2001-08-29 J"orn Rennecke <amylaar@redhat.com>
  1128. * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
  1129. assorted coff relocations to the corresponding elf relocations.
  1130. * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
  1131. * configure.in: Add case for h8300-*-elf.
  1132. * configure: Regenerate.
  1133. 2001-08-29 J"orn Rennecke <amylaar@redhat.com>
  1134. * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
  1135. documentation to reflect reality.
  1136. 2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1137. * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
  1138. (macro): Reflect change to MAX_GPREL_OFFSET.
  1139. 2001-08-27 Torbjorn Granlund <tege@swox.com>
  1140. Staffan Ulfberg <staffanu@swox.se>
  1141. Linus Nordberg <linus@swox.se>
  1142. Alan Modra <amodra@bigpond.net.au>
  1143. * configure.in: Recognise powerpc*le*, not just powerpcle*.
  1144. * configure: Regenerate.
  1145. * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
  1146. PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
  1147. (md_assemble): Use them.
  1148. (ppc_machine): Support stub for ELF64 as well as XCOFF.
  1149. (md_pseudo_table): Add "llong", "quad".
  1150. (md_parse_option): Match default_cpu of powerpc*.
  1151. (ppc_arch): Likewise.
  1152. (ppc_subseg_align): Only for OBJ_XCOFF.
  1153. (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
  1154. (md_begin): Select PPC_OPCODE_64 for 64 bit.
  1155. (ppc_insert_operand): Don't bother testing 'file' before calling
  1156. as_bad_where. Use as_bad_where for operand->insert errors.
  1157. (mapping): Add ELF64 relocation modifiers.
  1158. (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
  1159. expressions with abs_symbol.
  1160. (ppc_elf_cons): Correct offset for little endian targets.
  1161. (ppc_elf_frob_symbol): New.
  1162. (md_assemble): Add support for 64 bit ELF relocs.
  1163. (ppc_tc): Ensure 8 byte alignment when 64 bit.
  1164. (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match
  1165. ".toc" section for 64 bit ELF.
  1166. (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h.
  1167. (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do
  1168. the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit,
  1169. use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
  1170. Expand on comments, error message. Add support for 64 bit relocs,
  1171. and use PPC_HI etc. macros.
  1172. * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
  1173. (HANDLE_ALIGN): Define to generate nops in code sections rather
  1174. than zeros.
  1175. (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
  1176. (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
  1177. (tc_fix_adjustable): Move body of macro to tc-ppc.c.
  1178. (ppc_fix_adjustable): Declare.
  1179. (tc_frob_symbol): Define.
  1180. (ppc_elf_frob_symbol): Declare.
  1181. 2001-08-26 Andreas Jaeger <aj@suse.de>
  1182. * config/tc-s390.c: Add missing prototypes
  1183. (md_gather_operands): Make static.
  1184. 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1185. * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
  1186. allowed value, not the word beyond maximum.
  1187. * config/tc-mips.c (macro_build_lui): Code cleanup.
  1188. (macro): Reflect change to MAX_GPREL_OFFSET.
  1189. (mips_ip): Check explicitly against S_EX_NONE.
  1190. (my_get_SmallExpression): parse for %gp_rel, not %gprel.
  1191. (md_apply_fix): Code cleanup.
  1192. 2001-08-24 Andreas Jaeger <aj@suse.de>
  1193. * config/tc-ppc.h: Fix prototype declaration.
  1194. 2001-08-23 Jakub Jelinek <jakub@redhat.com>
  1195. * config/tc-ia64.c (dot_endp): Set function symbol sizes.
  1196. * config/obj-elf.c (obj_elf_size): When size is constant, free
  1197. and clear symbol_get_obj(sym)->size if any.
  1198. 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1199. * config/tc-mips.c (md_begin): Warn about incompatibility between
  1200. -march=FOO and -mipsN option, continue with default ISA.
  1201. 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1202. * config/tc-mips.c (md_parse_option): #ifdef the
  1203. traditional/non-traditional names as it is done in mips_target_format.
  1204. 2001-08-20 Richard Henderson <rth@redhat.com>
  1205. * config/tc-alpha.h (MD_APPLY_FIX3): Define.
  1206. * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
  1207. use seg parameter instead of now_seg.
  1208. 2001-08-18 H.J. Lu <hjl@gnu.org>
  1209. * config/tc-mips.c (show): Add the missing prototype.
  1210. 2001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1211. * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
  1212. return values.
  1213. (mips_ip): Use the new return values instead of characters. Add
  1214. support for %higher and %highest.
  1215. (LP): Remove.
  1216. (RP): Remove.
  1217. (my_getSmallExpression): Make parsing case insensitive and more
  1218. reliable. Add support for %higher and %highest. Further support to
  1219. parse %gprel and %neg is implemented but currently deactivated.
  1220. 2001-08-17 Alan Modra <amodra@bigpond.net.au>
  1221. * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
  1222. (ecoff_build_symbols): Likewise.
  1223. * read.c (s_lcomm_internal): Fix signed/unsigned warning.
  1224. 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1225. * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
  1226. for n32 ABI if appropriate.
  1227. 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1228. * config/tc-mips.c (cons_fix_new_mips): Remove.
  1229. * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
  1230. (cons_fix_new_mips): Remove.
  1231. 2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
  1232. * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
  1233. a label, not a hex constant.
  1234. 2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
  1235. * config/tc-v850.h: Add missing prototypes.
  1236. 2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1237. * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
  1238. relocations.
  1239. 2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
  1240. * config/tc-sparc.c (cons_fix_new_sparc): Move
  1241. `sparc_no_align_cons = 0;' to...
  1242. (s_uacons): ...here so that sparc_no_align_cons will get
  1243. cleared properly.
  1244. 2001-08-11 Kazu Hirata <kazu@hxi.com>
  1245. * config/tc-mips.c: Fix a comment typo.
  1246. 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
  1247. * config/tc-mips.c (move_register): New function.
  1248. (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
  1249. (mips_ip): Likewise.
  1250. (macro2): Use move_register rather than macro_build for moves.
  1251. (mips16_macro): Likewise.
  1252. (macro): Likewise. Handle M_MOVE.
  1253. 2001-08-10 Andreas Jaeger <aj@suse.de>
  1254. * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
  1255. to build warnings.
  1256. * configure: Regenerate.
  1257. 2001-08-10 Alan Modra <amodra@bigpond.net.au>
  1258. * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
  1259. Comment indentation of #pragma.
  1260. * macro.c (alloca): Likewise.
  1261. * config/tc-ppc.c: Revert 2001-08-08.
  1262. 2001-08-09 Alan Modra <amodra@bigpond.net.au>
  1263. * symbols.c: Add missing prototypes.
  1264. * config/e-i386elf.c: Likewise.
  1265. * config/e-i386coff.c: Likewise.
  1266. * config/e-i386aout.c: Likewise.
  1267. * config/obj-coff.c: Likewise.
  1268. (def_symbol_in_progress, stack): Move definition.
  1269. * config/obj-elf.c: Add missing prototypes.
  1270. (obj_elf_change_section): Make static.
  1271. (obj_elf_parse_section_letters): Likewise.
  1272. (obj_elf_section_word): Likewise.
  1273. (obj_elf_section_type): Likewise.
  1274. 2001-08-08 Alan Modra <amodra@bigpond.net.au>
  1275. From 1999-10-25 Torbjorn Granlund <tege@swox.com>
  1276. * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
  1277. determining reloc type with code reading operands->reloc field.
  1278. 2001-08-08 Alan Modra <amodra@bigpond.net.au>
  1279. * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
  1280. function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
  1281. * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
  1282. (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
  1283. * output-file.c (output_file_create): Don't try to open a second
  1284. time as it's unnecessary. FOPEN_W was undefined too.
  1285. 2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1286. * config/tc-mips.c (macro_build): Replace magic constants by defines.
  1287. (mips_ip): Likewise. Typo.
  1288. 2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1289. * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
  1290. of 0.
  1291. (RELAX_ENCODE): Replace bfd_vma by valueT.
  1292. (load_address): Formatting.
  1293. (macro): Likewise. Code cleanup. Typo.
  1294. (macro2): Formatting.
  1295. (md_parse_option): Typo.
  1296. (s_mipsset): Reorder cases to look nicer.
  1297. (md_estimate_size_before_relax): Formatting. Code cleanup.
  1298. (mips_elf_final_processing): Check against NULL instead of 0.
  1299. (md_obj_end): Remove ugly `' in message string.
  1300. (s_mips_ent): Remove ugly `' in message string.
  1301. 2001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1302. * config/tc-mips.c (md_begin): Take -mcpu value into account even when
  1303. -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
  1304. mutually exclusive (if they are different).
  1305. (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
  1306. set more than once.
  1307. 2001-08-03 Richard Sandiford <rsandifo@redhat.com>
  1308. * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
  1309. from GPREL addends.
  1310. 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
  1311. * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
  1312. * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
  1313. (md_long_opts): Add -mfp32 option.
  1314. (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
  1315. (md_show_usage): Show usage for -mfp32 and -mgp32.
  1316. (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
  1317. (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
  1318. (HAVE_32BIT_ADDRESSES): New macro.
  1319. (load_register): Use HAVE_32BIT_GPRS to determine the register width.
  1320. (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
  1321. (s_cprestore, s_cpadd): Likewise.
  1322. (macro): Use HAVE_32BIT_GPRS to determine the width of registers
  1323. used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
  1324. the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
  1325. to determine the width of addresses in load, store and jump macros.
  1326. (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
  1327. used in set instructions; do not check the address size for them.
  1328. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
  1329. unaligned load and store macros.
  1330. (mips_ip): Use the new macros to check the width of a register when
  1331. processing float constants. Force a constant into memory if it is
  1332. destined for an FPR and the FPRs are wider than the GPRs. Warn about
  1333. odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
  1334. than mips_gp32 to select synthetic instructions.
  1335. (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
  1336. synthetic instructions.
  1337. 2001-08-01 Christian Groessler <cpg@aladdin.de>
  1338. * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
  1339. "rh", "rr", "rq", or "sp" then don't automatically assume
  1340. it's a register name. Check whether there is a number
  1341. following.
  1342. 2001-08-01 Alan Modra <amodra@bigpond.net.au>
  1343. * config/tc-i386.c (lex_got): Match lower case relocation tokens.
  1344. Don't allocate more space than necessary for the input line copy.
  1345. 2001-08-01 Alan Modra <amodra@bigpond.net.au>
  1346. * read.c: Standardize error/warning messages - don't capitalise, no
  1347. final period or newline, don't say "ignored" or "zero assumed" for
  1348. as_bad messages. In some cases, change the wording to that used
  1349. elsewhere for similar messages.
  1350. * app.c: Likewise.
  1351. * as.c: Likewise.
  1352. * atof-generic.c: Likewise.
  1353. * cgen.c: Likewise.
  1354. * cond.c: Likewise.
  1355. * depend.c: Likewise.
  1356. * dwarf2dbg.c: Likewise.
  1357. * ecoff.c: Likewise.
  1358. * expr.c: Likewise.
  1359. * frags.c: Likewise.
  1360. * input-file.c: Likewise.
  1361. * input-scrub.c: Likewise.
  1362. * listing.c: Likewise.
  1363. * output-file.c: Likewise.
  1364. * stabs.c: Likewise.
  1365. * subsegs.c: Likewise.
  1366. * symbols.c: Likewise.
  1367. * write.c: Likewise.
  1368. * ecoff.c (ecoff_directive_end): Test for missing name by
  1369. comparing input line pointers rather than reading string.
  1370. (ecoff_directive_ent): Likewise.
  1371. * read.c (s_set): Likewise.
  1372. (s_align): Report a warning rather than an error for
  1373. alignment too large.
  1374. (s_comm): Check for missing symbol name.
  1375. (s_lcomm_internal): Likewise.
  1376. (s_lsym): Likewise.
  1377. (s_globl): Use is_end_of_line instead of looking for '\n'.
  1378. (s_lcomm_internal): Likewise.
  1379. (ignore_rest_of_line): Report a warning rather than an error.
  1380. 2001-07-31 Geoffrey Keating <geoffk@redhat.com>
  1381. * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
  1382. any kind of relocation against a not-loaded section.
  1383. 2001-07-30 Alan Modra <amodra@bigpond.net.au>
  1384. * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
  1385. to include '@' in symbol names when parsing versioned symbols
  1386. rather than calling get_symbol_end multiple times.
  1387. * config/tc-i370.c (register_name): Format fixes. Don't call
  1388. get_symbol_end after parsing number.
  1389. * config/tc-mn10200.c (data_register_name): Format fixes. Hoist
  1390. code out of conditional.
  1391. (address_register_name): Likewise.
  1392. (other_register_name): Likewise.
  1393. * config/tc-mn10300.c (r_register_name): Likewise.
  1394. (xr_register_name): Likewise.
  1395. (data_register_name): Likewise.
  1396. (address_register_name): Likewise.
  1397. (other_register_name): Likewise.
  1398. * config/tc-ppc.c (register_name): Likewise.
  1399. * config/tc-s390.c (register_name): Likewise.
  1400. 2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  1401. * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
  1402. and bra relax: update fragP->fr_fix after the fixup.
  1403. 2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
  1404. * read.c (s_set): Check for missing symbol name.
  1405. 2001-07-26 Alan Modra <amodra@bigpond.net.au>
  1406. * write.c (relax_segment <rs_space>): Account for fr_fix.
  1407. 2001-07-25 H.J. Lu <hjl@gnu.org>
  1408. * config/tc-mips.c (md_estimate_size_before_relax): Make sure
  1409. we treat weak like extern only for ELF.
  1410. (mips_fix_adjustable): Make sure we don't adjust extern/weak
  1411. symbols only for ELF.
  1412. 2001-07-25 Chris Demetriou <cgd@broadcom.com>
  1413. * config/tc-mips.c: Fix spelling error in comment.
  1414. 2001-07-25 Dave Brolley <brolley@redhat.com>
  1415. * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
  1416. (IS_PARALLEL_SEPARATOR): New macro.
  1417. (do_scrub_begin): Set up characters in tc_parallel_separator_chars
  1418. as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
  1419. (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
  1420. LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
  1421. been seen).
  1422. 2001-07-24 Alan Modra <amodra@bigpond.net.au>
  1423. * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
  1424. (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
  1425. Update dependencies with "make dep-am".
  1426. * Makefile.in: Regenerate.
  1427. * doc/Makefile.in: Regenerate.
  1428. 2001-07-23 Kazu Hirata <kazu@hxi.com>
  1429. * config/tc-alpha.h: Fix formatting.
  1430. * config/tc-arc.c: Likewise.
  1431. * config/tc-d10v.h: Likewise.
  1432. * config/tc-hppa.c: Likewise.
  1433. * config/tc-i370.c: Likewise.
  1434. * config/tc-i386.h: Likewise.
  1435. * config/tc-i960.h: Likewise.
  1436. * config/tc-ia64.c: Likewise.
  1437. * config/tc-ia64.h: Likewise.
  1438. * config/tc-m32r.c: Likewise.
  1439. * config/tc-m68k.c: Likewise.
  1440. * config/tc-m88k.c: Likewise.
  1441. * config/tc-ns32k.c: Likewise.
  1442. * config/tc-pdp11.c: Likewise.
  1443. * config/tc-pj.h: Likewise.
  1444. * config/tc-s390.c: Likewise.
  1445. * config/tc-sparc.c: Likewise.
  1446. * config/tc-sparc.h: Likewise.
  1447. * config/tc-tic80.c: Likewise.
  1448. * config/tc-w65.h: Likewise.
  1449. 2001-07-23 Alan Modra <amodra@bigpond.net.au>
  1450. * symbols.c (S_GET_VALUE): Don't treat O_constant and local
  1451. symbols specially. Always resolve, adding fr_address to value.
  1452. * write.c (write_object_file): Don't add fr_address to sym values.
  1453. (relax_frag): Likewise.
  1454. (relax_segment): Likewise.
  1455. * config/obj-ieee.c (do_symbols): Likewise.
  1456. * config/tc-cris.c (md_convert_frag): Likewise.
  1457. * config/tc-fr30.c (md_convert_frag): Likewise.
  1458. * config/tc-i386.c (md_convert_frag): Likewise.
  1459. * config/tc-m32r.c (md_convert_frag): Likewise.
  1460. * config/tc-m68hc11.c (md_convert_frag): Likewise.
  1461. * config/tc-mcore.c (md_convert_frag): Likewise.
  1462. * config/tc-mips.c (mips16_extended_frag): Likewise.
  1463. * config/tc-ns32k.c (md_convert_frag): Likewise.
  1464. * config/tc-m68k.c (md_convert_frag_1): Likewise.
  1465. (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
  1466. DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
  1467. (md_relax_table): Remove first four entries. Format.
  1468. (md_estimate_size_before_relax): Remove old_fix. Don't bother
  1469. setting fr_var. Simplify byte branch checks.
  1470. 2001-07-23 Alan Modra <amodra@bigpond.net.au>
  1471. * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
  1472. "isbranch" param as all calls have it set.
  1473. (pa_parse_neg_cmpsub_cmpltr): Likewise.
  1474. (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
  1475. strcasecmp in "nullify" var.
  1476. (pa_parse_neg_add_cmpltr): Likewise.
  1477. (pa_ip): Don't "save_s" unnecessarily. Update calls to above
  1478. functions. Don't print wrong conditions in error messages.
  1479. 2001-07-23 Andreas Jaeger <aj@suse.de>
  1480. * config/tc-s390.c (s390_force_relocation): Removed.
  1481. * config/tc-s390.h: Remove double declaration of
  1482. TC_FORCE_RELOCATION.
  1483. 2001-07-22 H.J. Lu <hjl@gnu.org>
  1484. * config/tc-mips.c (s_mips_end): Remove unused variables.
  1485. (s_mips_frame): Add ATTRIBUTE_UNUSED.
  1486. 2001-07-17 Andreas Schwab <schwab@suse.de>
  1487. * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
  1488. .loc.
  1489. (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
  1490. insn.
  1491. * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  1492. 2001-07-17 matthew green <mrg@eterna.com.au>
  1493. * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
  1494. TE_NetBSD.
  1495. (line_comment_chars): Set to '/' if TE_NetBSD.
  1496. 2001-07-14 matthew green <mrg@eterna.com.au>
  1497. * configure.in (i386-*-netbsdelf*): New target.
  1498. * configure: Regenerate.
  1499. 2001-07-10 Mark Elbrecht <snowball3@softhome.net>
  1500. * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
  1501. class of the non-debug symbol is C_NULL.
  1502. 2001-07-10 Anders Norlander <anorland@synergenix.se>
  1503. * doc/as.texinfo (Incbin): Fix grammatical errors.
  1504. 2001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
  1505. * depend.c: Use FOPEN_.. macros in calls to fopen().
  1506. * input-file.c: As above.
  1507. * itbl-ops.c: As above.
  1508. * listing.c: As above.
  1509. * output-file.c: As above.
  1510. * read.c: As above.
  1511. 2001-07-08 Anders Norlander <anorland@synergenix.se>
  1512. * read.c (s_incbin): New .incbin function.
  1513. * read.c (potable): Add "incbin" pseudo-op.
  1514. * read.h: Add s_incbin prototype.
  1515. * doc/as.texinfo (incbin): Document .incbin pseudo-op.
  1516. * NEWS: Mention new feature.
  1517. 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
  1518. * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
  1519. DEBUG_UNSPECIFIED.
  1520. 2001-07-06 John Healy <jhealy@redhat.com>
  1521. * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
  1522. set of fixups to be stored.
  1523. (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
  1524. restored to be chosen from any that are saved.
  1525. (gas_cgen_swap_fixups): Modified to allow the current set of
  1526. fixups to be swapped with any other set that has been saved.
  1527. (gas_cgen_initialize_saved_fixups_array): New routine.
  1528. * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
  1529. gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
  1530. or MAX_SAVED_FIXUP_CHAINS.
  1531. * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
  1532. store, swap and restore fuctions to reflect the new interface.
  1533. 2001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
  1534. * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
  1535. ignore empty, ineffectual alignment frags when deciding if a
  1536. branch can be short.
  1537. 2001-07-05 Steve Ellcey <sje@cup.hp.com>
  1538. * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
  1539. and SPECIAL_SECTION_FINI_ARRAY.
  1540. (special_section_name): Add .init_array and .fini_array.
  1541. (md_pseudo_table): Add init_array and fini_array.
  1542. (md): Add pointer_size and pointer_size_shift fields.
  1543. (setup_unwind_header): New static function.
  1544. (output_unw_records): Modify to use setup_unwind_header.
  1545. (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
  1546. md.pointer_size_shift.
  1547. (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
  1548. 2001-07-05 Ben Elliston <bje@redhat.com>
  1549. * README (Supported platforms): m88k no longer suffers bitrot.
  1550. * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
  1551. 2001-07-05 Alan Modra <amodra@bigpond.net.au>
  1552. * struc-symbol.h (struct local_symbol): Rename lsy_offset to
  1553. lsy_value. Correct typos in comments.
  1554. * symbols.c (local_symbol_make): Update for name change.
  1555. (local_symbol_convert): Likewise.
  1556. (colon): Likewise.
  1557. (S_GET_VALUE): Likewise.
  1558. (S_SET_VALUE): Likewise.
  1559. (print_symbol_value_1): Likewise.
  1560. (resolve_symbol_value): Likewise. Don't divide local sym values
  1561. by OCTETS_PER_BYTE twice.
  1562. 2001-07-04 Jim Wilson <wilson@redhat.com>
  1563. * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
  1564. * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
  1565. sched branches.
  1566. 2001-07-05 Ben Elliston <bje@redhat.com>
  1567. * read.c (s_fill): Correct spelling error in comments.
  1568. * doc/c-m88k.texi: New file.
  1569. * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
  1570. * doc/Makefile.in: Regenerate.
  1571. * doc/all.texi: Set M880X0.
  1572. * doc/as.texinfo: Hook in m88k-dependent documentation.
  1573. 2001-07-04 Eric Christopher <echristo@redhat.com>
  1574. * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
  1575. * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
  1576. and rm5721 as valid cpu strings.
  1577. (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
  1578. 2001-07-04 Richard Sandiford <rsandifo@redhat.com>
  1579. * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
  1580. if it's expected to be non-zero.
  1581. 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
  1582. * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
  1583. fscan->fx_frag.
  1584. * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
  1585. (write_object_file): Set finalize_syms to
  1586. TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
  1587. called.
  1588. * doc/internals.texi: Document
  1589. TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
  1590. 2001-07-02 Alan Modra <amodra@bigpond.net.au>
  1591. * config/tc-ppc.c: Formatting fixes.
  1592. 2001-07-01 Ben Elliston <bje@redhat.com>
  1593. * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
  1594. they cause some subtle breakage. Will fix them again later.
  1595. 2001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
  1596. * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
  1597. outside of a function as a .appline directive.
  1598. 2001-06-28 Eric Christopher <echristo@redhat.com>
  1599. H.J. Lu <hjl@gnu.org>
  1600. * config/tc-mips.c (mips_arch): New. Use mips_arch instead
  1601. of mips_cpu for the ISA selection.
  1602. (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
  1603. (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
  1604. (mips_tune): New. Use mips_tune for scheduling and optimization
  1605. issues.
  1606. (append_insn): Use mips_tune and mips_arch.
  1607. (macro_build): Ditto.
  1608. (mips_ip): Ditto.
  1609. (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
  1610. backwards compatability mips_cpu generates arch and tune.
  1611. (md_show_usage): Document new behavior.
  1612. * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
  1613. Deprecate -mcpu.
  1614. * NEWS: Update.
  1615. 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
  1616. * write.c (write_object_file): Do not set finalize_syms until
  1617. after the segments have been sized. Some backends may still
  1618. need to access the syms's frags in order to adjust relaxed
  1619. frags.
  1620. * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
  1621. constants.
  1622. 2001-06-27 Alan Modra <amodra@bigpond.net.au>
  1623. * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
  1624. subtract MD_PCREL_FROM_SECTION for 68k.
  1625. (fixup_segment <Difference of 2 syms different seg>): Only fudge
  1626. by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
  1627. 2001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
  1628. * write.c (fixup_segment <Difference of 2 syms same seg>): If
  1629. pcrel, subtract MD_PCREL_FROM_SECTION value.
  1630. 2001-06-24 Ben Elliston <bje@redhat.com>
  1631. * stabs.c (generate_asm_file): Make local variable `len' a size_t.
  1632. 2001-06-24 Jakub Jelinek <jakub@redhat.com>
  1633. * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
  1634. section symbols the same way as externs.
  1635. 2001-06-24 Ben Elliston <bje@redhat.com>
  1636. * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
  1637. (emit_relocations): Ditto.
  1638. (s_bss): Ditto.
  1639. (md_begin): Reformat comments to conform to the GNU standards.
  1640. (md_assemble): Ditto.
  1641. * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
  1642. (md_parse_option): Mark parameters as unused.
  1643. (md_show_usage): Ditto.
  1644. (calcop): Adjust type of `reg_prefix' to char.
  1645. (get_reg): Ditto.
  1646. (getval): Adjust type of local `c' to char.
  1647. (md_create_short_jump): Mark from_addr, to_addr params as unused.
  1648. (md_create_long_jump): Ditto.
  1649. (md_estimate_size_before_relax): Mark parameters as unused.
  1650. * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
  1651. to allay a possible compiler warning.
  1652. 2001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
  1653. * doc/internals.texi (CPU backend): Document md_atof.
  1654. 2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
  1655. * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
  1656. return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
  1657. architecture.
  1658. 2001-06-21 Philip Blundell <philb@gnu.org>
  1659. * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
  1660. updated.
  1661. (insns): Remove entry for adrl. Add long_flag for adr.
  1662. (do_adr): Handle `l' suffix.
  1663. (do_adrl): Delete.
  1664. 2001-06-21 Alan Modra <amodra@bigpond.net.au>
  1665. * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
  1666. (md_apply_fix): Use it here. Replace printf with equivalent
  1667. as_bad_where.
  1668. (tc_gen_reloc): Use as_bad_where instead of as_bad.
  1669. (md_apply_fix): Here too.
  1670. * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
  1671. * config/tc-m68k.c (tc_gen_reloc): Likewise.
  1672. (md_convert_frag_1): Likewise.
  1673. 2000-06-20 Tom Rix <trix@redhat.com>
  1674. * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
  1675. 2001-06-18 H.J. Lu <hjl@gnu.org>
  1676. * doc/Makefile.am (info): Depend on $(MANS).
  1677. (as.1): Remove the prefix `$(srcdir)/'.
  1678. * doc/Makefile.in: Regenerated.
  1679. * as.1: Removed.
  1680. 2001-06-18 Philip Blundell <philb@gnu.org>
  1681. * config/tc-arm.c (do_msr): Remove restriction on usage of
  1682. immediate operands.
  1683. 2001-06-19 Alan Modra <amodra@bigpond.net.au>
  1684. * dwarf2dbg.c (dwarf2_finish): Output file info even when no
  1685. line info.
  1686. 2001-06-13 Philip Blundell <philb@gnu.org>
  1687. * config/tc-arm.c (thumb_shift): Improve wording of error message.
  1688. (do_t_arit): Likewise.
  1689. 2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
  1690. * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
  1691. .loc pseudos if the dfwarf2 functions are available.
  1692. (md_assemble): Only call dwarf2_emit_insn if it is available.
  1693. * expr.c: Fix typo in comment.
  1694. 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
  1695. * doc/as.texinfo (Infix Ops): Document that comparison and
  1696. combiner operators can be used as infix operators.
  1697. 2001-06-12 Peter Jakubek <pjak@snafu.de>
  1698. * config/tc-m68k.c (parse_mri_control_operand): Fix handling
  1699. of AND/OR.
  1700. (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
  1701. (reverse_mri_condition): Likewise.
  1702. (swap_mri_condition): Issue warning for conditions that can not be
  1703. swapped.
  1704. (build_mri_control_operand): Fix order of operands (swapped).
  1705. (build_mri_control_operand): Allow upper case extension in structured
  1706. control directives.
  1707. (s_mri_else): Likewise.
  1708. (s_mri_next): Likewise.
  1709. (s_mri_for): Likewise.
  1710. (s_mri_if): Fix handling comment ('*') in mri mode.
  1711. (s_mri_while): Likewise.
  1712. * macro.c (macro_expand): Allow macro invocation with empty
  1713. extension.
  1714. 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
  1715. * config/tc-arm.c: Fix test for overlow of literal pool.
  1716. 2001-06-11 H.J. Lu <hjl@gnu.org>
  1717. * NEWS: Updated for the new -n option for the MIPS assembler.
  1718. * config/tc-mips.c (md_show_usage): Add -n.
  1719. * doc/as.texinfo: Document the new -n option.
  1720. * doc/c-mips.texi: Likewise.
  1721. * doc/as.1: Regenerated.
  1722. 2001-06-10 Alan Modra <amodra@bigpond.net.au>
  1723. * config/obj-coff.c (obj_coff_section): Formatting fix.
  1724. * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
  1725. ",pn".
  1726. 2001-06-08 H.J. Lu <hjl@gnu.org>
  1727. * config/tc-mips.c (warn_nops): New variable. Set to 0 to
  1728. disable warning about all NOPS that the assembler generates.
  1729. (macro): Warn NOPS generated only if warn_nops is not 0.
  1730. (md_shortopts): Add `n'.
  1731. (md_parse_option): Set warn_nops to 1 for `n'.
  1732. 2001-06-08 H.J. Lu <hjl@gnu.org>
  1733. * config/tc-mips.c (mips_ip): Properly handle illegal operands.
  1734. 2001-06-08 H.J. Lu <hjl@gnu.org>
  1735. * config/tc-mips.c (md_apply_fix): Don't adjust common
  1736. extern/weak symbols for ELF.
  1737. (md_estimate_size_before_relax): Treat weak like extern for
  1738. ELF.
  1739. (mips_fix_adjustable): Don't adjust extern/weak symbols for
  1740. ELF.
  1741. 2001-06-08 Alan Modra <amodra@bigpond.net.au>
  1742. * Makefile.am: 'som' is not wrongly spelled 'some'.
  1743. * Makefile.in: Regenerate.
  1744. * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
  1745. S_GET_VALUE by using a temp.
  1746. (append_insn): Likewise, and for S_SET_VALUE too.
  1747. (mips_emit_delays): Likewise.
  1748. (my_getExpression): Likewise.
  1749. (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
  1750. (mips16_extended_frag): Remove code concerned with avoiding
  1751. locking in a frag address now that symbols are not finalized until
  1752. relaxation is complete. Cater for first relaxation pass having
  1753. bogus addresses. Use relax_marker to reliably determine whether a
  1754. symbol frag has been reached on the current pass.
  1755. 2001-06-07 H.J. Lu <hjl@gnu.org>
  1756. * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
  1757. * configure: Regenerate.
  1758. 2001-06-07 H.J. Lu <hjl@gnu.org>
  1759. * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
  1760. ecoff emulation.
  1761. * configure: Regenerate.
  1762. 2001-06-07 H.J. Lu <hjl@gnu.org>
  1763. * config/tc-mips.c (mips_pseudo_table): Add "extern" if
  1764. MIPS_STABS_ELF is defined.
  1765. 2001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
  1766. * as.c (show_usage): Remove L from listing options. It is not a
  1767. generic option.
  1768. 2001-06-06 Christian Groessler <cpg@aladdin.de>
  1769. * config/tc-z8k.c: Removed many warnings by removing unused
  1770. variables and tagging unused parameters as such.
  1771. (md_begin): Fixed a typo (","instead of ";").
  1772. (struct ctrl_table): Add parentheses to initialize array
  1773. correctly.
  1774. (struct flag_table): Likewise.
  1775. (struct intr_table): Likewise.
  1776. (struct table): Likewise.
  1777. (check_operand): "#if 0"'ed since it doesn't seem to be used.
  1778. 2001-06-06 Peter Jakubek <pjak@snafu.de>
  1779. * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
  1780. options to list (e.g. m5206e, m5307, m5407).
  1781. 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1782. * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
  1783. BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
  1784. 2001-06-06 Alan Modra <amodra@bigpond.net.au>
  1785. * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
  1786. <JumpByte, JumpDword insn output>: Remove dead code.
  1787. 2001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
  1788. * as.c (parse_args): Correct option name "listing-lhs-width2".
  1789. 2001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
  1790. * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
  1791. status.
  1792. 2001-05-30 Richard Henderson <rth@redhat.com>
  1793. * read.c (emit_leb128_expr): Call md_cons_align.
  1794. 2001-05-28 Jeff Sturm <jsturm@one-point.com>
  1795. * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
  1796. BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
  1797. (tc_gen_reloc): Likewise.
  1798. (sparc_cons_align): Don't clear sparc_no_align_cons.
  1799. (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
  1800. BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
  1801. 2001-05-27 Alan Modra <amodra@one.net.au>
  1802. * write.c (relax_segment <rs_space>): Check the section of a
  1803. symbol to determine whether it is absolute rather than comparing
  1804. its frag against zero_address_frag as listings play tricks with
  1805. frags.
  1806. * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
  1807. allocated in the same chunk as the fixed part.
  1808. 2001-05-26 Alan Modra <amodra@one.net.au>
  1809. * write.c (relax_segment <rs_space>): Calculate growth using
  1810. addresses before stretch. Prevent repeated error messages.
  1811. From Peter Jakubek <pjak@snafu.de>
  1812. Use as_bad_where and as_warn_where to pinpoint errors.
  1813. 2001-05-25 Alan Modra <amodra@one.net.au>
  1814. * symbols.c (resolve_symbol_value): Always set segment, even when
  1815. not finalizing symbol value.
  1816. * config/obj-ieee.c (write_object_file): Set finalize_syms.
  1817. * config/obj-coff.c (write_object_file): Likewise.
  1818. * (size_section): Remove rs_space assert as fr_symbol is no longer
  1819. removed.
  1820. (fill_section): Likewise.
  1821. * configure.in: Replace linuxoldld with linux*oldld.
  1822. * configure: Regenerate.
  1823. From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
  1824. * config/tc-i386.c (md_convert_frag): Don't die on local symbols
  1825. that have been finalized.
  1826. * symbols.c (resolve_symbol_value): Clear sy_resolving before
  1827. taking exit_dont_set_value.
  1828. * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
  1829. relaxing.
  1830. 2000-05-24 Tom Rix <trix@redhat.com>
  1831. * config/obj-coff.c (add_lineno): xcoff allows negative line
  1832. numbers
  1833. * config/tc-ppc.c (ppc_stabx): fix generated symbol
  1834. 2001-05-24 Alan Modra <amodra@one.net.au>
  1835. * write.c (write_object_file): Set finalize_syms = 1 before
  1836. size_seg is called.
  1837. 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1838. * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
  1839. architecture, remove erraneous ISA_MIPS32.
  1840. (md_show_usage): Add MIPS r12k support.
  1841. (mips_cpu_info_table): Add MIPS r12k support.
  1842. 2001-05-22 Alan Modra <amodra@one.net.au>
  1843. * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
  1844. testing for NULs.
  1845. * symbols.c (resolve_symbol_value): Remove "finalize" param,
  1846. instead use finalize_syms directly. Don't treat expressions
  1847. specially with regard to finalize_syms. Update calls to self.
  1848. (resolve_local_symbol): Update call to resolve_symbol_value.
  1849. (S_GET_VALUE): Likewise. Return resolve_symbol_value if
  1850. !finalize_syms.
  1851. * symbols.h (resolve_symbol_value): Update prototype.
  1852. * config/obj-aout.c (obj_crawl_symbol_chain): Update call
  1853. to resolve_symbol_value.
  1854. * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
  1855. * config/obj-coff.c (do_relocs_for): Likewise.
  1856. (yank_symbols): Likewise.
  1857. (fixup_segment): Likewise.
  1858. * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
  1859. * config/tc-mips.c (md_convert_frag): Likewise.
  1860. * config/tc-ppc.c (ppc_frob_symbol): Likewise.
  1861. (ppc_fix_adjustable): Likewise.
  1862. * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
  1863. (dwarf2dbg_convert_frag): Likewise.
  1864. * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
  1865. (eh_frame_convert_frag): Likewise.
  1866. * expr.c (make_expr_symbol): Likewise.
  1867. * write.c (adjust_reloc_syms): Likewise.
  1868. (write_object_file): Likewise.
  1869. (relax_segment): Likewise.
  1870. (fixup_segment): Likewise.
  1871. (finalize_syms): Init to zero, and update comment.
  1872. (write_object_file): Set finalize_syms to 1 rather than 2.
  1873. * doc/internals.texi (sy_value): Mention finalize_syms.
  1874. (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
  1875. * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
  1876. as relaxable if embedded system, make weak syms non-relaxable.
  1877. Move definition..
  1878. (tc_m68k_fix_adjustable): ..so it can be used here.
  1879. (md_apply_fix_2): Sign extend without conditional.
  1880. * config/tc-v850.c: Update copyright.
  1881. 2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
  1882. * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
  1883. howto entry is not found.
  1884. 2001-05-15 Alexandre Oliva <aoliva@redhat.com>
  1885. * config/tc-mn10300.c (mn10300_force_relocation): Don't
  1886. optimize differences between symbols in code sections to
  1887. constants.
  1888. (mn10300_fix_adjustable): Don't adjust to section+offset
  1889. relocations pointing at symbols in code sections.
  1890. 2001-05-16 Alan Modra <amodra@one.net.au>
  1891. * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
  1892. for 8 byte insns.
  1893. * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
  1894. opcodes are output rather than after. Delete insn_size.
  1895. * config/tc-v850.c (md_assemble): Similarly, but delete
  1896. total_insn_size.
  1897. 2001-05-14 Richard Henderson <rth@redhat.com>
  1898. * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
  1899. last change.
  1900. 2001-05-14 Richard Henderson <rth@redhat.com>
  1901. * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
  1902. also collect whether to expect an FDE augmentation.
  1903. (check_eh_frame): Rewrite as a state machine. Track where in
  1904. an FDE we are located, skip any augmentation.
  1905. (eh_frame_estimate_size_before_relax): Get code alignment from
  1906. the fragment subtype.
  1907. (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
  1908. * read.c (emit_leb128_expr): Call check_eh_frame.
  1909. 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
  1910. * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
  1911. before a relaxable insns.
  1912. 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
  1913. * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
  1914. between symbols if the base symbol is in the current section;
  1915. emit a PC-relative relocation instead.
  1916. 2001-05-12 Peter Targett <peter.targett@arccores.com>
  1917. * config/tc-arc.c: Update copyright and tidy source comments.
  1918. (md_pseudo_table): Add directive .cpu back as an alias for
  1919. .option. Add .file and .line for dwarf2 support.
  1920. (arc_mach_type): Make bfd_mach_arc_6 default.
  1921. (md_longopts): Add entry 'pre-v6' representing old command line
  1922. option when assembling for 'arc5' core versions.
  1923. (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
  1924. default behaviour.
  1925. (arc_code_symbol): Make symbol value for @h30 fixup expression
  1926. equal to O_constant.
  1927. (md_assemble): Call dwarf2_emit_insn.
  1928. Include "dwarf2dbg2.h". Formatting fixes throughout file.
  1929. * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  1930. * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
  1931. 2001-05-11 Jakub Jelinek <jakub@redhat.com>
  1932. * config/tc-ia64.c (special_linkonce_name): New.
  1933. (make_unw_section): Map .gnu.linkonce.t.FOO text section into
  1934. .gnu.linkonce.ia64unw{,i}.FOO.
  1935. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
  1936. (dot_endp): Add comment about it.
  1937. 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
  1938. * config/tc-arm.c (arm_handle_align): When truncating an aligned
  1939. block, ensure that the low order bits of the alignment are
  1940. preserved.
  1941. 2001-05-10 Alan Modra <amodra@one.net.au>
  1942. * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
  1943. symbol_next.
  1944. * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
  1945. current variable part of frag.
  1946. * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
  1947. * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
  1948. * config/tc-m68hc11.c (RELAX_STATE): Define.
  1949. (RELAX_LENGTH): Define.
  1950. (md_estimate_size_before_relax): Handle non-relaxable cases
  1951. separately from relaxable cases for clarity, and return correct
  1952. size for multi-pass relaxation.
  1953. * config/tc-tahoe.c (RELAX_LENGTH): Correct.
  1954. (md_estimate_size_before_relax): As for tc-m68hc11.c.
  1955. (md_convert_frag): Remove "length_code".
  1956. * config/tc-vax.c (RELAX_STATE): Define.
  1957. (RELAX_LENGTH): Define.
  1958. (md_relax_table): Add missing entry.
  1959. (md_estimate_size_before_relax): As for tc-m68hc11.c.
  1960. (md_convert_frag): Remove "length_code".
  1961. * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
  1962. don't bother setting fr_var. Return correct size for multi-pass
  1963. relaxation.
  1964. * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
  1965. (md_convert_frag): Don't bother clearing fr_var.
  1966. (md_pseudo_table): Correct initialization.
  1967. * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
  1968. (md_estimate_size_before_relax): No need to set fr_var.
  1969. * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
  1970. (md_estimate_size_before_relax): No need to set fr_var.
  1971. 2001-05-09 Richard Henderson <rth@redhat.com>
  1972. * config/tc-ia64.c (generate_unwind_image): Align the fragment
  1973. beginning a function's unwind info block.
  1974. 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
  1975. * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
  1976. 2001-05-08 Andreas Schwab <schwab@suse.de>
  1977. * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
  1978. fx_pcrel_adjust explicitly sign extend when reading it.
  1979. 2001-05-08 Alan Modra <amodra@one.net.au>
  1980. * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
  1981. from md_relax_table, and combine some switch cases.
  1982. 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
  1983. * config/tc-mn10300.c (md_assemble): Subtract operand->shift
  1984. from offset in non-pcrel operands too.
  1985. 2001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
  1986. * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
  1987. * config/tc-arm.c (arm_handle_align): Do not insert more than
  1988. MAX_MEM_FOR_RS_ALIGN_CODE bytes.
  1989. (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
  1990. 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  1991. * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
  1992. Run "make dep-am".
  1993. * Makefile.in: Regenerate.
  1994. * configure.in: Remove duplicate mips-*-ecoff* entry.
  1995. * configure: Regenerate.
  1996. * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
  1997. (n_names): Cast away type mismatch.
  1998. (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
  1999. (obj_ecoff_frob_symbol): Likewise.
  2000. * ecoff.c: (add_file): Add unused attribute.
  2001. (ecoff_directive_begin): Likewise.
  2002. (ecoff_directive_bend): Likewise.
  2003. (ecoff_directive_def): Likewise.
  2004. (ecoff_directive_dim): Likewise.
  2005. (ecoff_directive_scl): Likewise.
  2006. (ecoff_directive_size): Likewise.
  2007. (ecoff_directive_type): Likewise.
  2008. (ecoff_directive_tag): Likewise.
  2009. (ecoff_directive_val): Likewise.
  2010. (ecoff_directive_endef): Likewise.
  2011. (ecoff_directive_end): Likewise.
  2012. (ecoff_directive_ent): Likewise.
  2013. (ecoff_directive_extern): Likewise.
  2014. (ecoff_directive_file): Likewise.
  2015. (ecoff_directive_fmask): Likewise.
  2016. (ecoff_directive_frame): Likewise.
  2017. (ecoff_directive_mask): Likewise.
  2018. (ecoff_directive_loc): Likewise.
  2019. (mark_stabs): Likewise.
  2020. (ecoff_stab): Likewise.
  2021. (ecoff_frob_symbol): Cast away type mismatch.
  2022. (ecoff_padding_adjust): Likewise.
  2023. (ecoff_build_symbols): Likewise.
  2024. (ecoff_build_procs): Likewise.
  2025. (ecoff_build_aux): Likewise.
  2026. (ecoff_build_strings): Likewise.
  2027. (ecoff_build_fdr): Likewise.
  2028. (ecoff_build_debug): Likewise.
  2029. * itbl-ops.c (itbl_assemble): Variable initialization.
  2030. 2001-05-03 Alan Modra <amodra@one.net.au>
  2031. * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
  2032. expressions rather than triggering an assert.
  2033. 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
  2034. * config/tc-openrisc.c: New file.
  2035. * config/tc-openrisc.h: Likewise.
  2036. * Makefile.am: Add OpenRISC target.
  2037. * Makefile.in: Regenerated.
  2038. * configure.in (openrisc-*-*): Add target.
  2039. * configure: Regenerated.
  2040. 2001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
  2041. * config/tc-arm.c (arm_frag_align_code): Change error message to
  2042. more explanatory version.
  2043. 2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
  2044. * config/tc-mips.c (md_parse_option): Also accept
  2045. elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
  2046. 2001-04-27 David Mosberger <davidm@hpl.hp.com>
  2047. * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
  2048. argument passing order: predicate goes last, not first.
  2049. 2001-04-27 Sean McNeil <sean@mcneil.com>
  2050. * configure.in: Add arm-vxworks.
  2051. * configure: Regenerate.
  2052. 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
  2053. * config/tc-arm.c (arm_handle_align): New Function: Generate
  2054. no-op filled alignment frags.
  2055. (arm_frag_align_code): New Function: Create a code alignment frag.
  2056. (arm_init_frag): New Function: Initialse the target dependent
  2057. parts of a frag.
  2058. * config/tc-arm.h (TC_FRAG_TYPE): Define.
  2059. (TC_FRAG_INIT): Define.
  2060. (HANDLE_ALIGN): Define.
  2061. (md_do_align): Define.
  2062. 2001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
  2063. * config/obj-coff.c (do_linenos_for): Check to see if the filename
  2064. symbol has been initialised before extracting its symbol index.
  2065. 2001-04-24 H.J. Lu <hjl@gnu.org>
  2066. * configure: Regenerated with the right version of autoconf.
  2067. 2001-04-24 Christian Groessler <cpg@aladdin.de>
  2068. * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
  2069. generate R_CALLR and R_REL16 relocations
  2070. 2000-04-20 Jason Eckhardt <jle@redhat.com>
  2071. * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
  2072. since frag_now can change after d10v_cleanup is called.
  2073. 2001-04-16 David O'Brien <obrien@FreeBSD.org>
  2074. * configure.in: Add the em type for FreeBSD targets.
  2075. * configure: Regenerate.
  2076. 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
  2077. * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
  2078. * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
  2079. * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
  2080. pc-relative relocations not placed at the end of the instruction.
  2081. 2001-04-13 Jim Wilson <wilson@redhat.com>
  2082. * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
  2083. excluding br.i.
  2084. 2001-04-13 Jakub Jelinek <jakub@redhat.com>
  2085. * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
  2086. handle SHF_MERGE and SHF_STRINGS.
  2087. (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
  2088. (obj_elf_section): Allow additional argument specifying entity size.
  2089. * write.c (adjust_reloc_syms): Keep relocations against local symbols
  2090. in SEC_MERGE sections.
  2091. 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
  2092. * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
  2093. 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
  2094. * expr.c (operand): Pass &c to md_parse_name().
  2095. * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
  2096. 2001-04-07 Steven J. Hill <sjhill@cotw.com>
  2097. * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
  2098. * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
  2099. * Makefile.in: Regenerated.
  2100. * configure.in: Use traditional MIPS targets for Linux/MIPS.
  2101. * configure: Regenerated.
  2102. 2001-04-06 Alexandre Oliva <aoliva@redhat.com>
  2103. * config/tc-mn10300.c (xr_registers): Added `pc'.
  2104. 2001-04-05 Alan Modra <alan@linuxcare.com.au>
  2105. * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
  2106. * configure: Regenerate.
  2107. * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
  2108. cases, and always return size based on current fr_subtype.
  2109. (md_begin): Move initialization of md_relax_table..
  2110. (md_relax_table): ..to static initializer. Set rlx_length for
  2111. UNDEF_WORD_DISP cases.
  2112. * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
  2113. (md_begin): Likewise.
  2114. (md_relax_table): Likewise.
  2115. * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
  2116. (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
  2117. Set rlx_backward and rlx_forward to zero for unused states.
  2118. * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
  2119. (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
  2120. (UNCOND12, UNCOND32): Remove duplicate defines.
  2121. 2001-04-04 Hans-Peter Nilsson <hp@axis.com>
  2122. * config/tc-cris.c (md_estimate_size_before_relax) <case
  2123. ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
  2124. 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
  2125. <all cases>: Always set fragP->fr_var using md_cris_relax_table.
  2126. Add cases to cover all relax states.
  2127. (cris_insn_first_word_frag): New.
  2128. (md_assemble): Call cris_insn_first_word_frag to get the first
  2129. frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
  2130. end. Drop variable insn_size.
  2131. (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
  2132. (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
  2133. (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
  2134. * write.c (write_object_file): Reset broken word state before
  2135. calling relax_seg.
  2136. 2001-03-31 Alan Modra <alan@linuxcare.com.au>
  2137. * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
  2138. for one line if not already enabled.
  2139. * cond.c (s_elseif): Correct conditional assembly listing.
  2140. (s_else): Likewise.
  2141. * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
  2142. Don't abort on NULL current_cframe.
  2143. 2001-03-30 Alan Modra <alan@linuxcare.com.au>
  2144. * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
  2145. (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
  2146. * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
  2147. * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
  2148. * config/obj-coff.c (do_relocs_for): Likewise.
  2149. (yank_symbols): Likewise.
  2150. (fixup_segment): Likewise.
  2151. * config/tc-ppc.c (ppc_frob_symbol): Likewise.
  2152. (ppc_fix_adjustable): Likewise.
  2153. * config/tc-mips.c (md_convert_frag): Likewise.
  2154. * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
  2155. * ehopt.c (eh_frame_convert_frag): Likewise.
  2156. * expr.c (make_expr_symbol): Likewise.
  2157. * frags.h (struct frag): Add last_fr_address. Reorder fields for
  2158. better packing.
  2159. * symbols.c (resolve_symbol_value): Don't fix expression values
  2160. until relaxation is complete.
  2161. (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
  2162. (S_GET_VALUE): Likewise, and return unresolved expression value.
  2163. * write.c (finalize_syms): New.
  2164. (relax_and_size_seg): Split into..
  2165. (relax_seg): New function, returns 1 if anything changed..
  2166. (size_seg): And the remainder of relax_and_size_seg.
  2167. (fixup_segment): Arrange for final resolution of sym values.
  2168. (adjust_reloc_syms): Likewise.
  2169. (write_object_file): Likewise, and repeatedly call relax_seg until
  2170. nothing more changes.
  2171. (relax_segment): Return 1 if anything changed. Use correct types
  2172. for rs_org `target' and `after'.
  2173. * write.h (finalize_syms): Declare.
  2174. (relax_segment): Update prototype.
  2175. * config/tc-sh.c (md_estimate_size_before_relax): Add extra
  2176. do-nothing cases to switch to avoid abort on a second relaxation
  2177. pass, and tidy code a little.
  2178. * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
  2179. * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
  2180. * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
  2181. * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
  2182. (md_relax_table): Remove first four unused entries. Increment
  2183. rlx_length by one throughout table, and update comments to suit.
  2184. (md_estimate_size_before_relax): Return size of current variable
  2185. part of frag to reflect reality when relaxing more than once.
  2186. * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
  2187. (COND32, UNCD32): Rename to DISP32 throughout.
  2188. (UNDEF_WORD_DISP): Renumber to 3.
  2189. (md_estimate_size_before_relax): Add extra do-nothing cases.
  2190. * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
  2191. * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
  2192. * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
  2193. handle word and dword branches.
  2194. 2001-03-29 Hans-Peter Nilsson <hp@axis.com>
  2195. * config/tc-cris.h (tc_fix_adjustable): Allow only
  2196. BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
  2197. * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
  2198. example in comment to valid type.
  2199. 2001-03-28 H.J. Lu <hjl@gnu.org>
  2200. * read.c (equals): Set to local for COFF only if it hasn't been
  2201. defined before.
  2202. 2001-03-28 Alan Modra <alan@linuxcare.com.au>
  2203. * config/tc-hppa.c (DEFAULT_LEVEL): Define.
  2204. (md_begin): Use it when setting default architecture.
  2205. 2001-03-27 Nick Papadonis <nick@coelacanth.com>
  2206. * read.c (equals): (for COFF) default symbols to being local.
  2207. 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
  2208. * configure.in (cris-*-*): Change default emulation to criself.
  2209. (cris-*-*aout*): New rule.
  2210. * configure: Regenerate.
  2211. 2001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2212. * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
  2213. BFD_RELOC_390_GOTENT.
  2214. * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
  2215. BFD_RELOC_390_GOTENT.
  2216. 2001-03-26 Nick Clifton <nickc@redhat.com>
  2217. * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
  2218. * config/tc-s390.c (s390_force_relocation): New function: Force
  2219. relocations for VTINHERIT relocs.
  2220. 2001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2221. * doc/as.texinfo: Put @c man begin to generate the as man page.
  2222. When generating man, define all the variables. Re-organize some
  2223. options to obtain better indentation of man page.
  2224. * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
  2225. (as.1): Build from as.texinfo.
  2226. * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
  2227. 2001-03-25 Alan Modra <alan@linuxcare.com.au>
  2228. * config/tc-i386.c (i386_scale): Accept an absolute expression for
  2229. scale factor, and return the end of the expression.
  2230. (i386_operand): Modify for above.
  2231. 2001-03-23 Nick Clifton <nickc@redhat.com>
  2232. * doc/as.texinfo: Document --listing-XXX command line switches.
  2233. Explain why listings behave differently when -pipe is used.
  2234. 2001-03-23 Richard Sandiford <rsandifo@redhat.com>
  2235. * write.c (fix_new_exp): Print an error if passed a register.
  2236. 2001-03-23 Hans-Peter Nilsson <hp@axis.com>
  2237. * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
  2238. (PIC_SUFFIX_CHAR): New macro.
  2239. (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
  2240. (pic): New variable.
  2241. (md_longopts): New option --pic.
  2242. (OPTION_PIC): Define.
  2243. (md_estimate_size_before_relax): Tweak longish comment.
  2244. (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
  2245. (md_assemble): Handle a PIC relocation on prefix and normal
  2246. instruction operands.
  2247. <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
  2248. "complex" operand expressions. Call frag_more outside
  2249. gen_cond_branch_32 parameter list.
  2250. (cris_process_instruction): Handle PIC relocs on parsed
  2251. operand expressions. Validize PIC reloc sizes.
  2252. (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
  2253. (gen_bdap): Handle "complex" operand expressions.
  2254. (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
  2255. ADD.D offset,PC as jump instruction if generating PIC. Generate
  2256. error instead of crashing on complex expressions.
  2257. (cris_number_to_imm): Add segT parameter. All callers changed.
  2258. Use segT parameter, not now_seg, for segment of fixup. Handle
  2259. PCREL relocations but check that they are fully resolved.
  2260. (md_parse_option): Handle OPTION_PIC.
  2261. (tc_gen_reloc): Handle PIC relocs.
  2262. (md_show_usage): Update for --pic.
  2263. (md_apply_fix3): Renamed from md_apply_fix.
  2264. (md_pcrel_from): Accept emitting PCREL relocs when ELF.
  2265. (md_cris_force_relocation): Force relocation for PIC relocs.
  2266. * config/tc-cris.h: Tweak attribution.
  2267. (MD_APPLY_FIX3): Define.
  2268. (IS_CRIS_PIC_RELOC): New macro.
  2269. (TC_RELOC_RTSYM_LOC_FIXUP): Define.
  2270. (tc_fix_adjustable): Don't adjust a globally visible symbol when
  2271. generating ELF.
  2272. (tc_frob_symbol): Avoid emitting undefined symbols.
  2273. 2001-03-20 Alan Modra <alan@linuxcare.com.au>
  2274. * frags.h (struct frag): Add relax_marker.
  2275. * write.c (is_dnrange): Delete.
  2276. (relax_frag): Use correct types for `aim', `target', `address'.
  2277. Delete `offset', `was_address'. Test `relax_marker' instead of
  2278. using fragile (and slow) address test.
  2279. (relax_segment): Init and flip `relax_marker'.
  2280. 2001-03-19 Alan Modra <alan@linuxcare.com.au>
  2281. * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
  2282. used register name.
  2283. 2001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2284. * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
  2285. with 'Motorola specification for assembly language input standard'.
  2286. 2001-03-17 Richard Henderson <rth@redhat.com>
  2287. * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
  2288. (dwarf2_directive_loc): Don't use them.
  2289. (dwarf2_directive_file): Reject duplicate file definitions.
  2290. (get_filenum): Zero allocated memory.
  2291. (out_file_list): Complain about missing file definitions.
  2292. 2001-03-17 Alan Modra <alan@linuxcare.com.au>
  2293. * read.c (do_org): Handle complex expressions.
  2294. * cgen.c (gas_cgen_finish_insn): Likewise.
  2295. 2001-03-15 David Mosberger <davidm@hpl.hp.com>
  2296. * config/tc-ia64.c (md): New member keep_pending_output.
  2297. (ia64_flush_pending_output): Flush only if md.keep_pending_output
  2298. is not set.
  2299. (dot_xdata): Turn on md.keep_pending_output for the duration of
  2300. this function.
  2301. (dot_xfloat_cons): Ditto.
  2302. (dot_xstringer): Ditto.
  2303. (dot_xdata_ua): Ditto.
  2304. (dot_xfloat_cons_ua): Ditto.
  2305. 2001-03-15 Jim Wilson <wilson@redhat.com>
  2306. * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
  2307. label support.
  2308. 2001-03-15 Alexandre Oliva <aoliva@redhat.com>
  2309. * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
  2310. 2001-03-15 DJ Delorie <dj@redhat.com>
  2311. * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
  2312. blindly freeing string if it isn't at the top of the obstack.
  2313. 2001-03-13 Alan Modra <alan@linuxcare.com.au>
  2314. * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
  2315. (NUM_FLAG_CODE): Define.
  2316. (lex_got): New function.
  2317. (got_reloc): New global var.
  2318. (x86_cons_fix_new): New function.
  2319. (x86_cons): New function.
  2320. (i386_immediate): Use lex_got here, replacing inline code. Change
  2321. "ignoring junk.." error message to "junk.."
  2322. (i386_displacement): Likewise.
  2323. * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
  2324. (x86_cons): Declare.
  2325. (TC_CONS_FIX_NEW): Define.
  2326. (x86_cons_fix_new): Declare.
  2327. 2001-03-12 Nick Clifton <nickc@redhat.com>
  2328. * config/tc-arm.c (md_begin): Always set machine type based on
  2329. cpu_variant.
  2330. 2001-03-07 Alan Modra <alan@linuxcare.com.au>
  2331. * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
  2332. (md_assemble) <smallest displacement>: Use correct field of i.op[]
  2333. union.
  2334. <JumpInterSegment output>: Use correct i.disp_reloc[].
  2335. <immediate output>: Likewise.
  2336. 2001-03-06 Nick Clifton <nickc@redhat.com>
  2337. * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
  2338. BLX(1) instruction.
  2339. 2001-03-06 Igor Shevlyakov <igor@windriver.com>
  2340. * config/tc-m68k.c : Add 5407 to archs[] table.
  2341. (HAVE_LONG_BRANCH): Add mcf5407.
  2342. (select_control_regs): Recognize 5407.
  2343. 2001-03-02 Dave Brolley <brolley@redhat.com>
  2344. * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
  2345. than m32r_do_align.
  2346. 2001-03-02 Richard Sandiford <rsandifo@redhat.com>
  2347. * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
  2348. (gen_to_words): Print warnings if NaNs are found and the target CPU
  2349. does not support them. Allow largest exponent to be used in normal
  2350. numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
  2351. 2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
  2352. * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
  2353. anymore since we use bfd_elf_generic_reloc now.
  2354. (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
  2355. 2001-02-27 Alan Modra <alan@linuxcare.com.au>
  2356. * configure.in (BFD_VERSION): New.
  2357. (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
  2358. * configure: Regenerate.
  2359. * Makefile.am: Run "make dep-am"
  2360. * Makefile.in: Regenerate.
  2361. * doc/Makefile.in: Regenerate.
  2362. 2001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
  2363. * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
  2364. SEC_NEVER_LOAD when the 'n' flag is used.
  2365. Add SEC_NEVER_LOAD to matchflags.
  2366. 2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2367. * symbols.c (decode_local_label_name): Initialize message_format
  2368. only when an error is reported (perf pb due to I18N).
  2369. 2001-02-23 H.J. Lu <hjl@gnu.org>
  2370. * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
  2371. BFD_ASSEMBLER is not defined.
  2372. 2001-02-23 Richard Sandiford <rsandifo@redhat.com>
  2373. * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
  2374. done if it's against a symbol.
  2375. 2001-02-22 Timothy Wall <twall@cygnus.com>
  2376. * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
  2377. target formats if applicable.
  2378. * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
  2379. * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
  2380. * Makefile.in: Regenerated.
  2381. * configure.in: Added configuration for ia64-*-aix*.
  2382. * configure: Regenerated.
  2383. 2001-02-21 David Mosberger <davidm@hpl.hp.com>
  2384. * config/tc-ia64.c (enum operand_match_result): New type.
  2385. (operand_match): Change return type to operand_match_result.
  2386. Fix all returns appropriately, adding support for returning the
  2387. out-of-range result.
  2388. (parse_operands): New locals result, error_pos, out_of_range_pos,
  2389. curr_out_of_range_pos. Rewrite operand matching loop to give better
  2390. error messages.
  2391. 2001-02-21 David Mosberger <davidm@hpl.hp.com>
  2392. * config/tc-ia64.c (struct unwind): Add member "prologue_count".
  2393. (dot_proc): Clear unwind.prologue_count to zero.
  2394. (dot_prologue): Increment unwind.prologue_count.
  2395. (dot_restore): If second operand is omitted, use
  2396. unwind.prologue_count -1 for "ecount" (# of additional regions to
  2397. pop). Decrement unwind.prologue_count by number of regions
  2398. popped.
  2399. 2001-02-21 Nick Clifton <nickc@redhat.com>
  2400. * doc/as.texinfo (Section): Note that some flags to the COFF
  2401. version of .section remove attributes rather than setting them.
  2402. 2001-02-20 Kazu Hirata <kazu@hxi.com>
  2403. * config/tc-pdp11.c: Fix formatting.
  2404. * config/tc-pdp11.h: Likewise.
  2405. 2001-02-20 Bo Thorsen <bo@suse.de>
  2406. * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
  2407. entry.
  2408. 2001-02-18 David O'Brien <obrien@FreeBSD.org>
  2409. * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
  2410. all FreeBSD platforms should look the same at this level.
  2411. * configure: Rebuilt.
  2412. * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
  2413. 2001-02-18 lars brinkhoff <lars@nocrew.org>
  2414. * Makefile.am: Add PDP-11 target.
  2415. * configure.in: Likewise.
  2416. * config/tc-pdp11.c: New file.
  2417. * config/tc-pdp11.h: New file.
  2418. * doc/Makefile.am: Add PDP-11 documentation.
  2419. * doc/all.texi: Likewise.
  2420. * doc/as.texinfo: Likewise.
  2421. * doc/c-pdp11.texi: New file.
  2422. 2001-02-16 matthew green <mrg@redhat.com>
  2423. * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
  2424. 2001-02-13 Jim Wilson <wilson@redhat.com>
  2425. * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
  2426. reloc instead of a 0 reloc.
  2427. (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
  2428. as done.
  2429. * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
  2430. 2001-02-13 Ian Lance Taylor <ian@zembu.com>
  2431. * write.c (is_dnrange): Stop as soon as the address becomes
  2432. larger.
  2433. (relax_frag): Add segment parameter. Only call symbol_get_frag
  2434. once. Only call is_dnrange if the symbol is in the same segment,
  2435. and the symbol address is larger.
  2436. (relax_segment): Pass segment to md_relax_frag and relax_frag.
  2437. * write.h (relax_frag): Update declaration.
  2438. * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
  2439. it to relax_frag.
  2440. * config/tc-m32r.c (m32r_relax_frag): Likewise.
  2441. * config/tc-m32r.h (md_relax_frag): Add segment parameter.
  2442. (m32r_relax_frag): Update declaration.
  2443. * config/tc-mips.h (md_relax_frag): Add segment parameter.
  2444. * config/tc-tic54x.h (md_relax_frag): Likewise.
  2445. * doc/internals.texi (CPU backend): Update documentation for
  2446. md_relax_frag.
  2447. 2001-02-13 Alan Modra <alan@linuxcare.com.au>
  2448. * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
  2449. Mention effect of < 386 architectures on jump promotion.
  2450. (i386-Jumps): xref above. Don't assume long disp is 32 bits.
  2451. * config/tc-i386.c (no_cond_jump_promotion): New.
  2452. (set_cpu_arch): Parse "jumps" arch modifier.
  2453. (insn_size): Modify usage comment.
  2454. (ENCODE_RELAX_STATE): Reformat and protect macro arg.
  2455. (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
  2456. (TYPE_FROM_RELAX_STATE): New define.
  2457. (UNCOND_JUMP, COND_JUMP): Renumber.
  2458. (md_relax_table): Reorder to suit.
  2459. (COND_JUMP86): New define.
  2460. (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
  2461. (md_assemble): Create frag var for jumps of max size, encode relax
  2462. state for COND_JUMP86.
  2463. (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
  2464. leave conditional jumps small if no_cond_jump_promotion.
  2465. (md_convert_frag): Likewise.
  2466. * expr.c (operator): Don't bump input_line_pointer for two char
  2467. operators. Instead return operator size via new param num_chars.
  2468. (expr): Use above to parse multi-char operators correctly.
  2469. 2001-02-12 Jan Hubicka <jh@suse.cz>
  2470. * config/tc-i386.c (i386_displacement): Fix handling of
  2471. BFD_RELOC_X86_64_GOTPCREL.
  2472. (i386_validate_fix): Likewise.
  2473. 2001-02-12 Philip Blundell <pb@futuretv.com>
  2474. * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
  2475. ldrt/strt instructions.
  2476. 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  2477. * config/tc-mips.c (macro): For M_LA_AB emit a
  2478. BFD_RELOC_MIPS_CALL16 relocation or a
  2479. BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
  2480. BFD_RELOC_MIPS_GOT16 and
  2481. BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
  2482. loading the jump register when generating SVR4_PIC code.
  2483. 2001-02-10 Chris Demetriou <cgd@broadcom.com>
  2484. * configure.in: Make 'mipself' and 'mipsecoff' emulations
  2485. map to MIPS-specific files, as they used to do before the
  2486. change on 2000-05-21.
  2487. * configure: Regerate.
  2488. 2001-02-10 Chris Demetriou <cgd@broadcom.com>
  2489. * config/tc-mips.c (md_parse_option): Don't try to compile
  2490. ELF-only option code if not ELF.
  2491. 2001-02-08 David Mosberger <davidm@hpl.hp.com>
  2492. * config/tc-ia64.h (md_elf_section_type): New macro.
  2493. (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
  2494. (they're now handled via ia64_elf_section_type.
  2495. * config/tc-ia64.c (unwind): New members saved_text_seg,
  2496. saved_text_subseg, and force_unwind_entry.
  2497. (optimize_unw_records): New function to optimize away unnecessary
  2498. unwind directives.
  2499. (ia64_elf_section_type): New function.
  2500. (output_unw_records): Generate unwind info only if the size is
  2501. non-zero or if it's forced for some other reason (e.g.,
  2502. handlerdata or a personality routine).
  2503. (generate_unwind_image): Don't switch back to previous
  2504. section---stay inside the unwind info section instead so that
  2505. handlerdata that may follow goes into the right place.
  2506. (dot_handlerdata): Force generation of unwind entry and save the
  2507. current active text segment before generating unwind image.
  2508. (dot_unwentry): Force generation of unwind entry.
  2509. (dot_personality): Ditto.
  2510. (dot_endp): Generate unwind table entry only if there is
  2511. some unwind info or the unwind entry was forced.
  2512. * config/tc-ia64.c (make_unw_section_name): New macro to form
  2513. unwind section name.
  2514. (generate_unwind_image): Add "text_name" argument. Use it to
  2515. form unwind section name.
  2516. (dot_handlerdata): Determine current segment (section) name and
  2517. pass it to generate_unwind_image().
  2518. (dot_endp): Determine current segment (section) name and use
  2519. it to determine the appropriate unwind section name.
  2520. (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
  2521. n, fill, and max arguments.
  2522. 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
  2523. * Makefile.am: Add linux target for S/390.
  2524. * configure.in: Likewise.
  2525. * config/tc-s390.c: New file.
  2526. * config/tc-s390.h: New file.
  2527. 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
  2528. * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
  2529. 2byte, 4byte and 8byte.
  2530. 2001-02-08 Alan Modra <alan@linuxcare.com.au>
  2531. * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
  2532. md_number_to_chars with size > sizeof (valueT).
  2533. 2001-02-06 H.J. Lu <hjl@gnu.org>
  2534. * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
  2535. there is no relocation.
  2536. 2001-02-06 H.J. Lu <hjl@gnu.org>
  2537. * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
  2538. * config/tc-ia64.c (md_parse_option): Only accept the valid
  2539. ia64 options on "-axxx".
  2540. 2001-02-05 Jim Wilson <wilson@redhat.com>
  2541. * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
  2542. aborting for invalid operands.
  2543. 2001-02-06 Alan Modra <alan@linuxcare.com.au>
  2544. * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
  2545. than via pointer. Update all callers.
  2546. (UNWIND_LOW32): Define.
  2547. (UNWIND_HIGH32): Define.
  2548. (pa_build_unwind_subspace): Use the above macros instead of dumping
  2549. bitfields directly. Call frag_more once rather than multiple times.
  2550. (md_assemble): Use UNWIND_LOW32.
  2551. (pa_entry): Likewise
  2552. (pa_procend): Likewise.
  2553. (process_exit): Use UNWIND_HIGH32.
  2554. 2001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2555. * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
  2556. function to select the header according to the cpu.
  2557. (md_after_pass_hook, md_do_align): Remove.
  2558. (md_cleanup, m68hc11_cleanup): Remove.
  2559. (md_pcrel_from_section): Declare.
  2560. * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
  2561. (build_jump_insn, build_insn): Likewise.
  2562. (m68hc11_listing_header): New function.
  2563. (m68hc11_cleanup): Remove.
  2564. 2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2565. * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
  2566. symbols because there is no support for shared libraries and these
  2567. symbols can't be overridden (unless they are weak).
  2568. 2001-02-01 Momchil Velikov <velco@fadata.bg>
  2569. * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
  2570. for the compilation unit with a zero byte.
  2571. 2001-01-30 Alan Modra <alan@linuxcare.com.au>
  2572. * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
  2573. destinations. Correct range check for 17 and 22 bit branches.
  2574. 2001-01-25 Nick Clifton <nickc@redhat.com>
  2575. * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
  2576. still set. Issue an error message instead.
  2577. (md_estimate_size_before_relax): Delete unused variable
  2578. 'buffer_address'. Fixup parentheses around if statement.
  2579. 2001-01-23 Kazu Hirata <kazu@hxi.com>
  2580. * as.c: Fix formatting.
  2581. * ehopt.c: Likewise.
  2582. * messages.c: Likewise.
  2583. * stabs.c: Likewise.
  2584. * symbols.c: Likewise.
  2585. 2001-01-23 Ben Elliston <bje@redhat.com>
  2586. * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
  2587. 2001-01-22 Kazu Hirata <kazu@hxi.com>
  2588. * config/tc-alpha.c: Fix formatting.
  2589. 2001-01-19 Kazu Hirata <kazu@hxi.com>
  2590. * config/tc-alpha.c: Fix formatting.
  2591. 2001-01-18 Kazu Hirata <kazu@hxi.com>
  2592. * config/tc-alpha.c: Fix formatting.
  2593. 2001-01-18 Nick Clifton <nickc@redhat.com>
  2594. * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
  2595. "da" flags.
  2596. (stm_flags): Remove redundant bit from "ed" and "da" flags.
  2597. 2001-01-18 Alexandre Oliva <aoliva@redhat.com>
  2598. * configure.in (cpu_type, arch): Match i386 too.
  2599. * configure: Rebuilt.
  2600. 2001-01-16 Kazu Hirata <kazu@hxi.com>
  2601. * config/tc-i386.c: Fix formatting.
  2602. 2001-01-16 Alan Modra <alan@linuxcare.com.au>
  2603. * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
  2604. relocs for .PARISC.unwind section.
  2605. * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
  2606. depending on section flags, not just for .text.
  2607. 2001-01-15 Jim Wilson <wilson@redhat.com>
  2608. * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
  2609. not immediately followed by an instruction.
  2610. 2001-01-15 Kazu Hirata <kazu@hxi.com>
  2611. * config/tc-m68hc11.c: Fix formatting.
  2612. 2001-01-15 Nick Clifton <nickc@redhat.com>
  2613. * symbols.c (colon): Change 'already defined symbol' from a
  2614. fatal error to an ordinary error. There is no reason why this
  2615. error should be fatal.
  2616. * message.c (as_fatal): Delete output file, if one has been
  2617. created.
  2618. 2001-01-14 Alan Modra <alan@linuxcare.com.au>
  2619. * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
  2620. 2001-01-14 Kazu Hirata <kazu@hxi.com>
  2621. * config/tc-alpha.c: Fix formatting.
  2622. * config/tc-arc.c: Likewise.
  2623. * config/tc-arc.h: Likewise.
  2624. * config/tc-d10v.c: Likewise.
  2625. * config/tc-i370.c: Likewise.
  2626. * config/tc-i386.c: Likewise.
  2627. * config/tc-i960.c: Likewise.
  2628. * config/tc-m68k.c: Likewise.
  2629. * config/tc-ppc.c: Likewise.
  2630. * config/tc-sparc.c: Likewise.
  2631. * config/tc-tahoe.c: Likewise.
  2632. * config/tc-vax.c: Likewise.
  2633. * config/tc-arc.c: Fix formatting.
  2634. * config/tc-arc.c: Fix formatting.
  2635. 2001-01-14 Alan Modra <alan@linuxcare.com.au>
  2636. * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
  2637. both 32 and 64 bit ELF.
  2638. * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
  2639. and don't bother storing `m' for "ce" completer. Tidy handling of
  2640. 'J' and 'K' operands to suit. Handle '<' and '>' operands.
  2641. 2001-01-14 Jan Hubicka <jh@suse.cz>
  2642. * config/tc-i386.h (TARGET_MACH): New macro.
  2643. (i386_mach): Declare.
  2644. * config/tc-i386.c (i386_mach): New function.
  2645. 2001-01-13 Philip Blundell <philb@gnu.org>
  2646. * doc/as.texinfo: Fix spelling and cross-references.
  2647. * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
  2648. character for all systems, not just GNU/Linux. Make it explicit
  2649. that `-k' doesn't affect code generation, just ELF flags.
  2650. 2001-01-13 Jan Hubicka <jh@suse.cz>
  2651. * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
  2652. instructions.
  2653. 2001-01-12 Frank Ch. Eigler <fche@redhat.com>
  2654. * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
  2655. 2001-01-12 Nick Clifton <nickc@redhat.com>
  2656. * as.c (print_args): Update copyright date to 2001.
  2657. 2001-01-12 Peter Targett <peter.targett@arccores.com>
  2658. * doc/c-arc.texi: New file.
  2659. Some sections to be expanded.
  2660. 2001-01-12 Alan Modra <alan@linuxcare.com.au>
  2661. * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
  2662. (md_parse_option): Always accept "--32".
  2663. 2001-01-11 Peter Targett <peter.targett@arccores.com>
  2664. * as.h (TC_ARC): Ensure struc-symbol.h included.
  2665. * as.c (dwarf2dbg.h): Include to remove implicit declaration
  2666. warnings.
  2667. * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
  2668. (TARGET_SYMBOL_FIELDS) added.
  2669. * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
  2670. * doc/c-arc.texi: New file.
  2671. Some sections to be expanded.
  2672. * doc/as.texinfo: Update command-line options.
  2673. Removed outdated text for ARC dependant features, instead include
  2674. text from above file.
  2675. * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
  2676. (TARGET_SYMBOL_FIELDS): Alias to previous definition.
  2677. (targ-cpu.h) header.
  2678. * config/tc-arc.h:
  2679. * config/tc-arc.c: New updated configuration for
  2680. ARC, including selection of core variants, and extensibility of
  2681. instructions, registers etc. through directives.
  2682. * config/tc-arc.c (arc_extinst): Minor corrections for
  2683. error messages.
  2684. (arc_common) Likewise. Make alignment argument optional for local
  2685. symbols also, with default of zero.
  2686. 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2687. * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
  2688. STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
  2689. (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
  2690. and fix_new_exp() instead.
  2691. (md_convert_frag): For indexed post byte use the symbol value
  2692. rather than the displacement.
  2693. (md_relax_table): Fix indexed offset relax.
  2694. 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  2695. * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
  2696. relax weak symbols.
  2697. (relaxable_symbol): New function.
  2698. 2001-01-11 Andreas Jaeger <aj@suse.de>
  2699. * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
  2700. not used anywhere.
  2701. 2001-01-10 Nick Clifton <nickc@redhat.com>
  2702. * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
  2703. * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
  2704. 2001-01-10 Nick Clifton <nickc@redhat.com>
  2705. * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
  2706. character used to dollar local symbols.
  2707. (LOCAL_LABEL_CHAR): New constant - the magic character used to
  2708. local label symbols.
  2709. (dollar_label_name): Use DOLLAR_LABEL_CHAR.
  2710. (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
  2711. if defined.
  2712. Use LOCAL_LABEL_CHAR.
  2713. (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
  2714. Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
  2715. (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
  2716. 2001-01-08 Bo Thorsen <bo@suse.de>
  2717. * config/tc-i386.c (i386_immediate, i386_displacement):
  2718. GOTPCREL check fix.
  2719. 2001-01-07 Ian Lance Taylor <ian@zembu.com>
  2720. * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
  2721. in last change.
  2722. 2001-01-07 Philip Blundell <philb@gnu.org>
  2723. * doc/as.texinfo (Bug Reporting): Update email address for
  2724. reports.
  2725. * README: Likewise.
  2726. 2001-01-06 Jan Hubicka <jh@suse.cz>
  2727. * configure.in: Define DEFAULT_ARCH for i386.
  2728. * config/tc-i386.c (md_assemble): Return after the error message;
  2729. move testing for 64bit operands to proper place.
  2730. 2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
  2731. * doc/as.texinfo: Document '#' as comment character for i386 and
  2732. x86_64. Add AMD x86-64 into menu of machine dependent information.
  2733. * doc/c-i386.texi: Document x86_64 extensions.
  2734. 2001-01-05 Jan Hubicka <jh@suse.cz>
  2735. * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
  2736. 2001-01-04 Jan Hubicka <jh@suse.cz>
  2737. * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
  2738. * NEWS: Add note about Pentium4 support.
  2739. 2001-01-04 Jan Hubicka <jh@suse.cz>
  2740. * config/tc-i387.c (pi, pte, pt): Update.
  2741. (type_names): Add new types.
  2742. 2001-01-03 Jan Hubicka <jh@suse.cz>
  2743. * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
  2744. CpuUnknown): Renumber
  2745. (CpuP4, CpuSSE2): New.
  2746. (CpuUnknownFlags): Add CpuP4 and CpuSSE2
  2747. 2001-01-03 Philip Blundell <pb@futuretv.com>
  2748. * config/tc-alpha.c (alpha_force_relocation): Handle vtable
  2749. relocs.
  2750. (alpha_fix_adjustable): Likewise.
  2751. (md_apply_fix): Likewise.
  2752. 2000-12-31 H.J. Lu <hjl@gnu.org>
  2753. * listing.c (listing_message): Allocate string only if it is
  2754. used.
  2755. * configure: Rebuild.
  2756. 2000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
  2757. * doc/internals.texi (Relaxing with a table) <after relaxation>:
  2758. Point out caveats with generating fixups for the opcode in a frag.
  2759. 2000-12-30 Jan Hubicka <jh@suse.cz>
  2760. * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
  2761. * NEWS: Add x86_64.
  2762. 2000-12-29 H.J. Lu <hjl@gnu.org>
  2763. * listing.c (calc_hex): Print the variable part only if the
  2764. fragment type is rs_fill.
  2765. 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
  2766. * doc/internals.texi (tc_conditional_pseudoop,
  2767. TC_LINKRELAX_FIXUP): Fix typos.
  2768. 2000-12-28 Richard Henderson <rth@redhat.com>
  2769. * write.c (subsegs_finish): Fix thinko last change -- don't
  2770. "optimize" the alignment == 0 case.
  2771. 2000-12-28 Richard Henderson <rth@redhat.com>
  2772. * as.h (rs_align_test): New.
  2773. * frags.c (NOP_OPCODE): Move default from read.c.
  2774. (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
  2775. (frag_align_code): New.
  2776. * frags.h (frag_align_code): Declare.
  2777. * read.c (NOP_OPCODE): Remove.
  2778. (do_align): Use frag_align_code.
  2779. * write.c (NOP_OPCODE): Remove.
  2780. (get_recorded_alignment): New.
  2781. (cvt_frag_to_fill): Handle rs_align_test.
  2782. (relax_segment): Likewise.
  2783. (subsegs_finish): Align last subseg in section to the
  2784. section alignment. Use frag_align_code.
  2785. * write.h (get_recorded_alignment): Declare.
  2786. * config/obj-coff.c (size_section): Handle rs_align_test.
  2787. (fill_section, fixup_mdeps): Likewise.
  2788. (write_object_file): Use frag_align_code.
  2789. * config/tc-alpha.c (alpha_align): Use frag_align_code.
  2790. (alpha_handle_align): New.
  2791. * config/tc-alpha.h (HANDLE_ALIGN): New.
  2792. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2793. * config/tc-i386.h (md_do_align): Use frag_align_code.
  2794. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2795. * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
  2796. (ia64_handle_align): New.
  2797. * config/tc-ia64.h (HANDLE_ALIGN): New.
  2798. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2799. * config/tc-m32r.c (m32r_do_align): Remove.
  2800. (m32r_handle_align): New.
  2801. (fill_insn): Use frag_align_code.
  2802. * config/tc-m32r.h (md_do_align): Remove.
  2803. (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2804. * config/tc-m88k.c, config/tc-m88k.h: Similarly.
  2805. * config/tc-mips.c, config/tc-mips.h: Similarly.
  2806. * config/tc-sh.c (sh_cons_align): Use rs_align_test.
  2807. (sh_handle_align): Likewise. Handle rs_align_code.
  2808. (sh_do_align): Remove.
  2809. * config/tc-sh.h (md_do_align): Remove.
  2810. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2811. * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
  2812. (sparc_handle_align): Likewise. Handle rs_align_code.
  2813. * config/tc-sparc.h (md_do_align): Remove.
  2814. (MAX_MEM_FOR_RS_ALIGN_CODE): New.
  2815. 2000-12-22 DJ Delorie <dj@redhat.com>
  2816. * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
  2817. when we assemble the first half of a pair.
  2818. 2000-12-22 H.J. Lu <hjl@gnu.org>
  2819. * config/tc-i386.c (reloc): Update the macro for non-bfd
  2820. assembler.
  2821. (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
  2822. 2000-12-22 H.J. Lu <hjl@gnu.org>
  2823. * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
  2824. 2000-12-20 Jan Hubicka <jh@suse.cz>
  2825. * config/tc-i386.h (i386_target_format): Define even for ELFs.
  2826. (QWORD_MNEM_SUFFIX): New macro.
  2827. (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
  2828. New macros
  2829. (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
  2830. (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
  2831. ImmExt): Renumber.
  2832. (Size64, No_qSuf, NoRex64, Rex64): New macros.
  2833. (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
  2834. (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
  2835. InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
  2836. SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
  2837. Renumber.
  2838. (Reg, WordReg): Add Reg64.
  2839. (Imm): Add Imm32S and Imm64.
  2840. (EncImm): New.
  2841. (Disp): Add Disp64 and Disp32S.
  2842. (AnyMem): Add Disp32S.
  2843. (RegRex, RegRex64): New macros.
  2844. (rex_byte): New type.
  2845. * config/tc-i386.c (set_16bit_code_flag): Kill.
  2846. (fits_in_unsigned_long, fits_in_signed_long): New functions.
  2847. (reloc): New parameter "signed"; support x86_64.
  2848. (set_code_flag): New.
  2849. (DEFAULT_ARCH): New macro; default to "i386".
  2850. (default_arch): New static variable.
  2851. (struct _i386_insn): New fields Operand_PCrel; rex.
  2852. (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
  2853. (flag_code): New enum and static variable.
  2854. (use_rela_relocations): New static variable.
  2855. (flag_code_names): New static variable.
  2856. (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
  2857. (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
  2858. K6 and Athlon.
  2859. (i386_align_code): Return plain "nop" for x86_64.
  2860. (mode_from_disp_size): Support Disp32S.
  2861. (smallest_imm_type): Support Imm32S and Imm64.
  2862. (offset_in_range): Support size of 8.
  2863. (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
  2864. (md_pseudo_table): Add "code64"; use set_code_flat.
  2865. (md_begin): Emit sane error message on hash failure.
  2866. (tc_i386_fix_adjustable): Support x86_64 relocations.
  2867. (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
  2868. instructions supported on particular arch just partially,
  2869. output of 64bit immediates, handling of Imm32S and Disp32S type.
  2870. (i386_immedaite): Support x86_64 relocations; support 64bit constants.
  2871. (i386_displacement): Likewise.
  2872. (i386_index_check): Cleanup; support 64bit addresses.
  2873. (md_apply_fix3): Support x86_64 relocation and rela.
  2874. (md_longopts): Add "32" and "64".
  2875. (md_parse_option): Add OPTION_32 and OPTION_64.
  2876. (i386_target_format): Call even for ELFs; choose between
  2877. elf64-x86-64 and elf32-i386.
  2878. (i386_validate_fix): Refuse GOTOFF in 64bit mode.
  2879. (tc_gen_reloc): Support rela relocations and x86_64.
  2880. (intel_e09_1): Support QWORD.
  2881. 2000-12-15 Diego Novillo <dnovillo@redhat.com>
  2882. * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
  2883. it's not an offset expression.
  2884. (intel_e10_1): Ditto. Also, if the operand is an offset expression,
  2885. keep the braces '[' and ']' in the output string.
  2886. (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
  2887. != FLAT. There is no such op_modifier.
  2888. 2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  2889. * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
  2890. if we have it.
  2891. 2000-12-13 Kazu Hirata <kazu@hxi.com>
  2892. * as.h: Fix formatting.
  2893. * cgen.h: Likewise.
  2894. * dwarf2dbg.c: Likewise.
  2895. * input-scrub.c: Likewise.
  2896. * read.h: Likewise.
  2897. 2000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
  2898. * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
  2899. configure: Regenerate.
  2900. 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  2901. * dwarf2dbg.c: #include <limits.h> only if it exists.
  2902. 2000-12-13 Rodney Brown <RodneyBrown@mynd.com>
  2903. * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
  2904. (md_apply_fix): Here too.
  2905. 2000-12-12 Jim Wilson <wilson@redhat.com>
  2906. * config/tc-ia64.h (ia64_init): Add prototype.
  2907. 2000-12-12 H.J. Lu <hjl@gnu.org>
  2908. * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
  2909. * read.h (outputting_stabs_line_debug): Change it to int.
  2910. * stabs.c (outputting_stabs_line_debug): Likewise.
  2911. 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
  2912. * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
  2913. the address of a function result.
  2914. 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2915. * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
  2916. (md_assemble): Call dwarf2_emit_insn.
  2917. (shlib): Fix typo SHILB -> SHLIB.
  2918. (md_parse_option): Likewise.
  2919. (ppc_elf_validate_fix): Likewise:
  2920. * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
  2921. 2000-12-12 Nick Clifton <nickc@redhat.com>
  2922. * cgen.h: Fix formatting.
  2923. * input-scrub.c: Fix formatting.
  2924. * macro.c: Fix formatting.
  2925. * config/tc-mips.c: Fix formatting.
  2926. * doc/c-mips.texi: Fix formatting.
  2927. 2000-12-11 Jan hubicka <jh@suse.cz>
  2928. * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
  2929. mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
  2930. references.
  2931. (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
  2932. otherwise.
  2933. * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
  2934. (No_dSuf): Kill.
  2935. * i386.h (*_Suf): Remove No_dSuf.
  2936. (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
  2937. Remove.
  2938. (i386_optab): Remove 'd' in the suffixes.
  2939. 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
  2940. * config/tc-i386.c (T_SHORT): Undefine before defining.
  2941. 2000-12-05 Kazu Hirata <kazu@hxi.com>
  2942. * config/tc-mips.c: Fix formatting.
  2943. 2000-12-04 Matthew Hiller <hiller@redhat.com>
  2944. * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
  2945. (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
  2946. (md_show_usage): Ditto.
  2947. (md_parse_option): Ditto.
  2948. (d10v_cleanup): Writes pending instruction only if
  2949. ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
  2950. Fix compile time warning messages.
  2951. * doc/c-d10v.texi: Documents new options.
  2952. 2000-12-04 Matthew Hiller <hiller@redhat.com>
  2953. * stabs.c (outputting_stabs_line_debug): New variable.
  2954. (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
  2955. function entry and unset at function exit.
  2956. * read.h (outputting_stabs_line_debug): New extern declaration.
  2957. * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
  2958. * dwarf2dbg.c: Fix compile time warning messages.
  2959. 2000-12-03 Kazu Hirata <kazu@hxi.com>
  2960. * config/tc-a29k.c: Fix formatting.
  2961. * config/tc-alpha.c: Likewise.
  2962. * config/tc-arm.c: Likewise.
  2963. * config/tc-cris.c: Likewise.
  2964. * config/tc-hppa.c: Likewise.
  2965. * config/tc-i370.c: Likewise.
  2966. * config/tc-i386.c: Likewise.
  2967. * config/tc-i860.c: Likewise.
  2968. * config/tc-i960.c: Likewise.
  2969. * config/tc-ia64.c: Likewise.
  2970. * config/tc-m68hc11.c: Likewise.
  2971. * config/tc-m68k.c: Likewise.
  2972. * config/tc-m88k.c: Likewise.
  2973. * config/tc-pj.c: Likewise.
  2974. * config/tc-ppc.c: Likewise.
  2975. * config/tc-sh.c: Likewise.
  2976. * config/tc-sparc.c: Likewise.
  2977. * config/tc-tahoe.c: Likewise.
  2978. * config/tc-vax.c: Likewise.
  2979. 2000-12-01 Chris Demetriou <cgd@sibyte.com>
  2980. * config/tc-mips.c (mips_ip): When calculating offsets,
  2981. don't accept as constant the difference between the
  2982. addresses of symbols in two different sections.
  2983. * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
  2984. specifiers.
  2985. (validate_mips_insn): Likewise. Also, update 'B' operand
  2986. specifier to use OP_*_CODE20 constants and delete 'm' operand
  2987. specifier.
  2988. (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
  2989. operand specifiers. Change warning generated by 'B' operand
  2990. specifier to reflect its new multi-purpose usage.
  2991. * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
  2992. -1, and update comment.
  2993. (file_mips_isa): Likewise.
  2994. (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
  2995. (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
  2996. ISA_* constants rather than hard-coded numbers.
  2997. (mips_cpu_info): New structure.
  2998. (mips_cpu_info_table): New table describing CPU and ISA names
  2999. and numbers.
  3000. (mips_cpu_info_from_name, mips_cpu_info_from_isa,
  3001. mips_cpu_info_from_cpu): New functions.
  3002. (mips_isa_to_str): New function to get string for ISA name.
  3003. (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
  3004. return const char *.
  3005. (md_begin): Redo CPU and ISA selection logic, using
  3006. mips_cpu_info_from_*. Convert to use ISA_* constants rather
  3007. than hard-coded numbers.
  3008. (append_insn, mips_emit_delays, macro, macro2): Convert to use
  3009. ISA_* constants rather than hard-coded numbers.
  3010. (mips_ip): Convert to use mips_isa_to_str to get ISA name.
  3011. (md_longopts): Delete OPTION_NO_MIPS32.
  3012. (md_parse_option): Convert to use ISA_* constants rather than
  3013. hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
  3014. as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
  3015. to use strcasecmp to recognize "default" and to use
  3016. mips_cpu_info_from_name to get CPU numbers from argument.
  3017. (md_show_usage): Move -mips32 so it's with the rest of the ISA
  3018. flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
  3019. mips32-4k.
  3020. (s_mipsset): Accept ISA value 32.
  3021. * doc/as.texinfo: Clean up MIPS options summary slightly,
  3022. remove -no-mips32. Add note about -mips4 and -mips32
  3023. specifying those ISA levels. Delete -mips32 and -no-mips32
  3024. cpu flag descriptions.
  3025. * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
  3026. up the supported CPU switch list, and replace 4Kc, 4Km, and
  3027. 4Kp entries with a single mips32-4k entry. Note that you can
  3028. use ".set mips32".
  3029. * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
  3030. ISA_MIPS64.
  3031. (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
  3032. -mips5 and -mips64.
  3033. (md_parse_option): Add cases for OPTION_MIPS5 and
  3034. OPTION_MIPS64.
  3035. (md_show_usage): Mention -mips5 and -mips64 arguments.
  3036. (s_mipsset): Add cases for MIPS5 and MIPS64.
  3037. (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
  3038. and pseudo-CPUs.
  3039. * doc/as.texinfo: Mention -mips5 and -mips64 options
  3040. and their meanings.
  3041. * doc/c-mips.texi: Likewise. Also update introduction
  3042. and ".set" usage information.
  3043. * config/tc-mips.c (md_show_usage): Add "sb1" to the
  3044. CPU list.
  3045. (mips_cpu_info_table): Add SB-1 entries.
  3046. * doc/c-mips.texi: Add "sb1" to the list of CPUs
  3047. known to the -mcpu option.
  3048. * doc/as.texinfo: Correct description of MIPS -mcpu
  3049. option, by copying some of the text from doc/c-mips.texi.
  3050. 2000-12-01 Joel Sherrill <joel@OARcorp.com>
  3051. * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
  3052. New targets.
  3053. (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
  3054. (sparc*-*-rtems*): Switched from a.out to ELF.
  3055. * configure: Regenerate.
  3056. * config.in: Regenerate.
  3057. * Makefile.in: Regenerate.
  3058. * aclocal.m4: Regenerate.
  3059. * po/gas.pot: Regenerate.
  3060. 2000-11-30 Philip Blundell <pb@futuretv.com>
  3061. * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
  3062. even in non BFD_ASSEMBLER case.
  3063. 2000-11-30 Diego Novillo <dnovillo@redhat.com>
  3064. * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
  3065. syntax.
  3066. 2000-11-29 Richard Henderson <rth@redhat.com>
  3067. * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
  3068. until dwarf2_finish; use relaxation to get cross-fragment offsets;
  3069. thread multiple subsegments properly; handle multiple code
  3070. sections properly; emit proper compilation unit info for assembler
  3071. generated debugging.
  3072. * as.h (enum _relax_state): Add rs_dwarf2dbg.
  3073. * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
  3074. (dwarf2dbg_estimate_size_before_relax): Declare.
  3075. (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
  3076. * write.c: Include dwarf2dbg.h.
  3077. (cvt_frag_to_fill): Handle rs_dwarf2dbg.
  3078. (relax_segment): Likewise.
  3079. 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
  3080. * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
  3081. jump>: Use as_bad_where instead of as_bad. Tweak error message
  3082. accordingly. Stabilize frag by updating fix part and resetting
  3083. variant part.
  3084. <undefined symbol, unconditional jump>: Ditto.
  3085. (sh_elf_cons): Cast *input_line_pointer to unsigned char when
  3086. indexing is_end_of_line[].
  3087. (md_assemble): Initialize size to 0.
  3088. (md_section_align): Mark parameter seg as unused.
  3089. (parse_reg): Parse names case-insensitively.
  3090. 2000-11-28 Kazu Hirata <kazu@hxi.com>
  3091. * config/obj-aout.h: Fix formatting.
  3092. * config/obj-bout.h: Likewise.
  3093. * config/obj-coff.c: Likewise.
  3094. * config/obj-coff.h: Likewise.
  3095. * config/obj-elf.h: Likewise.
  3096. * config/obj-som.h: Likewise.
  3097. * config/obj-vms.c: Likewise.
  3098. * config/obj-vms.h: Likewise.
  3099. * config/tc-h8300.h: Likewise.
  3100. * config/tc-ns32k.h: Likewise.
  3101. * config/tc-sparc.h: Likewise.
  3102. * config/tc-tic54x.h: Likewise.
  3103. * config/tc-z8k.h: Likewise.
  3104. 2000-11-28 Nick Clifton <nickc@redhat.com>
  3105. * doc/as.1 (COPYING): Mention that the GNU Free Documentation
  3106. License is present in the sources, but not the output, and
  3107. also available from the GNU website.
  3108. (GNU Free Documentation License): Comment out this section.
  3109. 2000-11-28 Hans-Peter Nilsson <hp@axis.com>
  3110. * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
  3111. targets. Remove i860 from valid a.out targets.
  3112. * Makefile.in: Regenerate.
  3113. * config/tc-cris.c: Include dwarf2dbg.h.
  3114. (md_pseudo_table): Add .file and .loc.
  3115. (md_assemble): Call dwarf2_emit_insn if generating ELF.
  3116. (s_cris_file, s_cris_loc): New.
  3117. * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  3118. * Makefile.am: Regenerate dependencies.
  3119. * Makefile.in: Regenerate.
  3120. 2000-11-28 Alan Modra <alan@linuxcare.com.au>
  3121. * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
  3122. (MRI_MUL_PRECEDENCE): Likewise.
  3123. (op_rank): Fix a comment typo.
  3124. 2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  3125. * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
  3126. the error message.
  3127. (get_operand): Fix analysis for movw/movb instructions.
  3128. 2000-11-24 Nick Clifton <nickc@redhat.com>
  3129. * configure.in (xscale-elf): Add target.
  3130. (xscale-coff): Add target.
  3131. * configure: Regenerate.
  3132. * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
  3133. extenstion.
  3134. (ARM_EXT_XSCALE): New ARM architecture extension.
  3135. (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
  3136. (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
  3137. (ARM_THUMB): Rename to ARM_EXT_THUMB.
  3138. (ARM_ARCH_V4): Remove processor from architecture.
  3139. (ARM_ARCH_3M): New architecutre definition.
  3140. (ARM_ARCH_V5TE): New architecutre definition.
  3141. (ARM_ARCH_XSCALE): New architecutre definition.
  3142. (CPU_DEFAULT): Allow to be defaulted to XScale.
  3143. (atpcs): New boolean variable.
  3144. (ldr_flags): Support 'd' flag for double word loads.
  3145. (str_flags): Support 'd' flag for double word stored.
  3146. (do_mia): New function.
  3147. (do_mar): New function.
  3148. (do_mra): New function.
  3149. (do_pld): New function.
  3150. (do_ldrd): New function.
  3151. (do_blx): New function.
  3152. (do_bkpt): New function.
  3153. (do_clz): New function.
  3154. (do_lstc2): New function.
  3155. (do_cdp2): New function.
  3156. (do_t_blx): New function.
  3157. (do_t_bkpt): New function.
  3158. (do_smla): New function.
  3159. (do_smlal): New function.
  3160. (do_smul): New function.
  3161. (do_qadd): New function.
  3162. (do_co_reg2c): New function.
  3163. (LONGEST_INSN): Redefine to 7.
  3164. * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
  3165. command line switches.
  3166. 2000-11-22 Jim Wilson <wilson@redhat.com>
  3167. * config/tc-ia64.c (pseudo_func): Add missing initializers.
  3168. (struct rsrc): Make line unsigned.
  3169. (gr_values): Add missing initializer.
  3170. (SLOT_NUM_NOT_SET): Add unsigned cast.
  3171. (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
  3172. dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
  3173. dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
  3174. dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
  3175. dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
  3176. dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
  3177. dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
  3178. dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
  3179. md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
  3180. Add ATTRIBUTE_UNUSED to unused parameters.
  3181. (convert_expr_to_ab_reg): Add parens.
  3182. (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
  3183. (dot_prologue): Initialize grsave when declared.
  3184. (md_pseudo_table): Add missing initializers.
  3185. (operand_match): Add casts to bfd_vma.
  3186. (emit_one_bundle): Delete unused local prev. Make required_template
  3187. unsigned.
  3188. (specify_resource): Cast i to unsigned.
  3189. (note_register_values): Use fprintf_vma.
  3190. (print_dependency): Likewise.
  3191. 2000-11-21 Jim Wilson <wilson@redhat.com>
  3192. * config/tc-ia64.c (generate_unwind_image): Call record_alignment
  3193. for unwind info section.
  3194. (dot_endp): Likewise for unwind section.
  3195. * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
  3196. fix_new_exp.
  3197. 2000-11-21 Jakub Jelinek <jakub@redhat.com>
  3198. * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
  3199. (output_insn): Call dwarf2_emit_insn.
  3200. * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
  3201. 2000-11-17 Richard Henderson <rth@redhat.com>
  3202. * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
  3203. callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
  3204. (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
  3205. 2000-11-17 Nick Clifton <nickc@redhat.com>
  3206. * config/tc-arm.c (md_pseudo_table): Add support for .line and
  3207. .file pseudo ops.
  3208. 2000-11-17 Richard Henderson <rth@redhat.com>
  3209. * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
  3210. 2000-11-17 Richard Henderson <rth@redhat.com>
  3211. * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
  3212. * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
  3213. tri-state definition of alpha_flag_mdebug.
  3214. * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
  3215. (s_alpha_file): Store first .file directive.
  3216. (s_alpha_stab): New.
  3217. (md_pseudo_table): Add stabs and stabn.
  3218. 2000-11-17 Richard Henderson <rth@redhat.com>
  3219. * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
  3220. 2000-11-17 Richard Henderson <rth@redhat.com>
  3221. * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
  3222. (main): Call dwarf2_finish.
  3223. * as.h (debug_type): Clarify documentation of the meaning
  3224. of this variable.
  3225. * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
  3226. (print_stats): Fix parenthesis problem.
  3227. (now_subseg_size): New.
  3228. (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
  3229. (dwarf2_directive_file): Don't set debug_type.
  3230. (dwarf2_where): Honor DEBUG_DWARF2 first.
  3231. (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
  3232. do nothing if not emitting dwarf2 debug info, or no work.
  3233. * dwarf2dbg.h (dwarf2_emit_insn): Update.
  3234. * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
  3235. (ecoff_new_file): Likewise.
  3236. * read.c (generate_lineno_debug): Kill ecoff hackery. Update
  3237. commentary wrt dwarf2.
  3238. * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
  3239. ATTRIBUTE_UNUSED as needed.
  3240. (emit_insn): Call dwarf2_emit_insn.
  3241. (s_alpha_file): New.
  3242. (s_alpha_loc): New.
  3243. (s_alpha_coff_wrapper): Don't handle them.
  3244. (md_pseudo_table): Update for .file and .loc.
  3245. * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
  3246. * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
  3247. don't protect with debug_type.
  3248. * config/tc-hppa.c (md_assemble): Likewise.
  3249. * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
  3250. * config/tc-mn10300.c (md_assemble): Likewise.
  3251. * config/tc-sh.c (md_assemble): Likewise.
  3252. * config/tc-v850.c (md_assemble): Likewise.
  3253. * config/tc-arm.c (arm_end_of_source): Remove.
  3254. * config/tc-hppa.c (pa_end_of_source): Remove.
  3255. * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
  3256. * config/tc-mn10300.c (mn10300_finalize): Remove.
  3257. * config/tc-sh.c (sh_finalize): Remove.
  3258. * config/tc-v850.c (sh_finalize): Remove.
  3259. * config/tc-arm.h (md_end): Remove.
  3260. * config/tc-hppa.h (md_end): Remove.
  3261. (DWARF2_LINE_MIN_INSN_LENGTH): New.
  3262. * config/tc-m68hc11.h (md_end): Remove.
  3263. * config/tc-mn10300.h (md_end): Remove.
  3264. * config/tc-sh.h (md_end): Remove.
  3265. * config/tc-v850.h (md_end): Remove.
  3266. * config/tc-ia64.c (emit_one_bundle): Don't protect
  3267. dwarf2 bits with debug_type.
  3268. (md_assemble): Likewise.
  3269. (ia64_end_of_source): Don't call dwarf2_finish.
  3270. 2000-11-16 Jim Wilson <wilson@redhat.com>
  3271. * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
  3272. >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
  3273. > 16.
  3274. 2000-11-16 H.J. Lu <hjl@gnu.org>
  3275. * config/obj-elf.c (obj_elf_symver): Don't check the missing
  3276. version name.
  3277. 2000-11-15 Kazu Hirata <kazu@hxi.com>
  3278. * config/tc-tic30.c: Fix formatting.
  3279. * config/tc-tic80.c: Likewise.
  3280. * config/tc-v850.c: Likewise.
  3281. * config/tc-vax.c: Likewise.
  3282. * config/tc-w65.c: Likewise.
  3283. * config/tc-z8k.c: Likewise.
  3284. 2000-11-14 DJ Delorie <dj@redhat.com>
  3285. * config/tc-v850.c: Support dwarf2.
  3286. * config/tc-v850.h: Ditto.
  3287. * config/tc-v850.c (cons_fix_new_v850): Don't rely on
  3288. parse_cons_expression_v850 to initialize hold_cons_reloc.
  3289. 2000-11-15 Bernd Schmidt <bernds@redhat.com>
  3290. * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
  3291. (errata_nops_necessary_p): New function.
  3292. (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
  3293. md.
  3294. 2000-11-14 Jim Wilson <wilson@redhat.com>
  3295. * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
  3296. return little endian bfd formats.
  3297. 2000-11-14 Kazu Hirata <kazu@hxi.com>
  3298. * config/aout_gnu.h: Fix formatting.
  3299. * config/atof-vax.c: Likewise.
  3300. * config/m68k-parse.h: Likewise.
  3301. * config/m88k-opcode.h: Likewise.
  3302. * config/obj-elf.c: Likewise.
  3303. * config/tc-arm.c: Likewise.
  3304. * config/tc-cris.c: Likewise.
  3305. * config/tc-i386.c: Likewise.
  3306. * config/tc-ia64.c: Likewise.
  3307. * config/tc-mn10300.c: Likewise.
  3308. * config/te-386bsd.h: Likewise.
  3309. * config/te-hppa.h: Likewise.
  3310. * config/te-nbsd.h: Likewise.
  3311. * config/te-ppcnw.h: Likewise.
  3312. * config/te-sparcaout.h: Likewise.
  3313. * config/te-tmips.h: Likewise.
  3314. * config/vax-inst.h: Likewise.
  3315. * config/vms-conf.h: Likewise.
  3316. 2000-11-14 Jakub Jelinek <jakub@redhat.com>
  3317. * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
  3318. 2000-11-13 H.J. Lu <hjl@gnu.org>
  3319. * config/obj-elf.c (elf_frob_symbol): Support
  3320. ".symver name,name2@@@nodename".
  3321. (elf_frob_file_before_adjust): Likewise.
  3322. * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
  3323. and ".symver name,name2@@@nodename".
  3324. Fix a typo.
  3325. 2000-11-12 H.J. Lu (hjl@gnu.org)
  3326. * config/obj-elf.c (obj_elf_symver): Check missing version
  3327. name.
  3328. 2000-11-12 H.J. Lu (hjl@gnu.org)
  3329. * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
  3330. instead of bfd_vma for non-bfd assemblers.
  3331. 2000-11-09 Kazu Hirata <kazu@hxi.com>
  3332. * itbl-ops.c: Fix comment typos.
  3333. 2000-11-08 Jim Wilson <wilson@redhat.com>
  3334. * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
  3335. (struct unwind): Add next_slot_frag field.
  3336. (slot_index): New parameters slot_frag and first_frag. Add code
  3337. to add in frag sizes when different. Add comments.
  3338. (fixup_unw_records): New locals first_frag and last_frag. Pass new
  3339. arguments to slot_index.
  3340. (emit_one_bundle): Set slot_frag field. Set next_slot_number after
  3341. loop end. Set next_slot_frag field.
  3342. 2000-11-07 H.J. Lu <hjl@gnu.org>
  3343. * doc/as.texinfo (.symver): Updated for versioned symbol
  3344. reference.
  3345. * obj.h (format_ops): Add the frob_file_before_adjust field.
  3346. * config/obj-aout.c (aout_format_ops): Set the
  3347. frob_file_before_adjust field to 0.
  3348. * config/obj-coff.c (coff_format_ops): Likewise.
  3349. * config/obj-ecoff.c (ecoff_format_ops): Likewise.
  3350. * config/obj-elf.c (obj_elf_symver): Allow duplicated version
  3351. name.
  3352. (elf_frob_file_before_adjust): New function to remove unneeded
  3353. versioned symbols from the symbol table.
  3354. (elf_format_ops): Set the frob_file_before_adjust field to
  3355. elf_frob_file_before_adjust.
  3356. * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
  3357. not defined.
  3358. * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
  3359. 2000-11-07 Peter Targett <peter.targett@arccores.com>
  3360. * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
  3361. BIG_ENDIAN macros.
  3362. * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
  3363. Fix compile time warning messages.
  3364. 2000-11-07 Nick Clifton <nickc@redhat.com>
  3365. * stabs.c (generate_asm_file): Increase length of xmalloc'ed
  3366. buffer in order to avoid buffer overflows.
  3367. 2000-11-06 Steve Ellcey <sje@cup.hp.com>
  3368. * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
  3369. Change M to m for -milp32 or -mlp64 to match gcc.
  3370. (dot_endp): Use bytes_per_address instead of 8.
  3371. (emit_one_bundle): Use number_to_chars_littleendian instead of
  3372. md_number_to_chars.
  3373. (fix_insn): Likewise.
  3374. (ia64_init): New function.
  3375. (ia64_target_format): New function.
  3376. (md_begin): Set endianness, arch, and machine as appropriate.
  3377. * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
  3378. Make these macros depend on TE_HPUX macro.
  3379. (TARGET_FORMAT): Define.
  3380. (HOST_SPECIAL_INIT): Define.
  3381. * config/te-hpux.h: New file.
  3382. * configure.in: Add "ia64-*-hpux*" target to configure.
  3383. * configure: Regenerate.
  3384. 2000-11-06 Kazu Hirata <kazu@hxi.com>
  3385. * as.c: Fix formatting.
  3386. * dwarf2dbg.c: Likewise.
  3387. * input-file.c: Likewise.
  3388. * input-file.h: Likewise.
  3389. * input-scrub.c: Likewise.
  3390. * itbl-ops.c: Likewise.
  3391. * listing.c: Likewise.
  3392. * macro.h: Likewise.
  3393. * messages.c: Likewise.
  3394. * read.c: Likewise.
  3395. * subsegs.c: Likewise.
  3396. * subsegs.h: Likewise.
  3397. * write.c: Likewise.
  3398. 2000-11-06 Nick Clifton <nickc@redhat.com>
  3399. * doc/as.texinfo: Add GNU Free Documentation License.
  3400. * doc/gasp.texi: Add GNU Free Documentation License.
  3401. * doc/as.1: Add GNU Free Documentation License.
  3402. 2000-11-05 Nick Clifton <nickc@redhat.com>
  3403. * config/tc-arm.c: Add include of "dwarf2dbg.h"
  3404. 2000-11-02 Per Lundberg <plundis@chaosdev.org>
  3405. * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
  3406. * configure: Regenerate.
  3407. 2000-11-01 Nick Clifton <nickc@redhat.com>
  3408. * read.c (original_case_string): New global variable.
  3409. (read_a_source_file): Copy opcode string into
  3410. original_case_string if clobbering the case of the opcode.
  3411. * read.h: Export the definition of original_case_string.
  3412. * config/tc-arm.c (md_assembler): When parsing a .req
  3413. directive use the original opcode string, not the case
  3414. clobbered version.
  3415. 2000-11-02 Nick Clifton <nickc@redhat.com>
  3416. * config/tc-mn10300.c (debug_line): Remove this static
  3417. variable.
  3418. (md_assemble): Call dwarf2_generate_asm_lineno instead of
  3419. dwarf2_where and dwarf2_gen_line_info.
  3420. 2000-11-02 Theo Honohan <th@futuretv.com>
  3421. * config/tc-arm.c (do_msr): Improve error message.
  3422. 2000-10-31 Eric Christopher <echristo@redhat.com>
  3423. * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
  3424. or pc-relative, else use fx_offset.
  3425. 2000-10-31 Jim Wilson <wilson@redhat.com>
  3426. * config/tc-ia64.c (struct md): New field tag_fixups.
  3427. (ia64_flush_insns): Handle tag_fixups. Error if dangling
  3428. qualifying predicate.
  3429. (emit_one_bundle): Delete spurious multiplication by one. Handle
  3430. tag_fixups.
  3431. (ia64_start_line): Error if dangling qualifying predicate.
  3432. (defining_tag): New static variable.
  3433. (ia64_unrecognized_line, case '['): Parse tags.
  3434. (ia64_frob_label): Create tag_fixups.
  3435. (md_assemble): Reset md.qp.X_op after using it.
  3436. 2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3437. * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
  3438. 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
  3439. * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
  3440. 2000-10-30 Kazu Hirata <kazu@hxi.com>
  3441. * expr.c: Fix formatting.
  3442. * flonum-copy.c: Likewise.
  3443. * flonum.h: Likewise.
  3444. * gasp.c: Likewise.
  3445. * hash.c: Likewise.
  3446. 2000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
  3447. * as.h (OPTION_MD_BASE): Bump to 190.
  3448. * as.c (parse_args) <std_longopts>: Add comment about the need to
  3449. check OPTION_MD_BASE in as.h.
  3450. * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
  3451. for weak symbols.
  3452. 2000-10-27 Nick Clifton <nickc@redhat.com>
  3453. * configure.in (emulations): Add m68hc12.
  3454. * configure: Regenerate.
  3455. * po/gas.pot: Regenerate.
  3456. 2000-10-27 Aldy Hernandez <aldyh@redhat.com>
  3457. * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
  3458. cpsr*.
  3459. (arm_psr_parse): Handle lowercase CPSR and SPSR.
  3460. 2000-10-25 Nick Clifton <nickc@redhat.com>
  3461. * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
  3462. a DWARF2 line number information sequence.
  3463. *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
  3464. * read.c (generate_lineno_debug): Update comment describing why
  3465. DWARF2 line number debug information is not generated
  3466. automatically by this function.
  3467. * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
  3468. not all.
  3469. * config/tc-arm.h (md_end): Define.
  3470. (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  3471. * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
  3472. if generating DWARF2 line numbers.
  3473. (arm_end_of_source): New function. Call dwarf2_finish if
  3474. necessary.
  3475. * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
  3476. * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
  3477. * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
  3478. 2000-10-25 Diego Novillo <dnovillo@cygnus.com>
  3479. * config/tc-i386.c: Fix prototype declarations for functions taking no
  3480. arguments.
  3481. 2000-10-24 Diego Novillo <dnovillo@cygnus.com>
  3482. * config/tc-i386.c (i386_operand_modifier): Remove.
  3483. (build_displacement_string): Remove.
  3484. (i386_parse_seg): Remove.
  3485. (i386_intel_memory_operand): Remove.
  3486. (i386_intel_operand): Re-write using recursive descent parser based
  3487. on MASM documentation.
  3488. (struct intel_parser_s): New structure.
  3489. (intel_parser): New static variable.
  3490. (struct intel_token): New structure.
  3491. (cur_token, prev_token): New static variables.
  3492. (T_NIL): Define.
  3493. (T_CONST): Define.
  3494. (T_REG): Define.
  3495. (T_BYTE): Define.
  3496. (T_WORD): Define.
  3497. (T_DWORD): Define.
  3498. (T_QWORD): Define.
  3499. (T_XWORD): Define.
  3500. (T_SHORT): Define.
  3501. (T_OFFSET): Define.
  3502. (T_PTR): Define.
  3503. (T_ID): Define.
  3504. (intel_match_token): New function.
  3505. (intel_get_token): New function.
  3506. (intel_putback_token): New function.
  3507. (intel_expr): New function.
  3508. (intel_e05): New function.
  3509. (intel_e05_1): New function.
  3510. (intel_e06): New function.
  3511. (intel_e06_1): New function.
  3512. (intel_e09): New function.
  3513. (intel_e09_1): New function.
  3514. (intel_e10): New function.
  3515. (intel_e10_1): New function.
  3516. (intel_e11): New function.
  3517. 2000-10-20 Jakub Jelinek <jakub@redhat.com>
  3518. * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
  3519. instructions to loose any special insn->architecture mask.
  3520. * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
  3521. (sparc_md_end, sparc_arch_types, sparc_arch,
  3522. sparc_elf_final_processing): Handle v8plusb and v9b architectures.
  3523. (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
  3524. request v9b architecture if they are used).
  3525. 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3526. * config/tc-m68k.c: Fix the previous misapplied patch.
  3527. 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3528. * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
  3529. BFD_ASSEMBLER and !BFD_ASSEMBLER.
  3530. * config/tc-m68k.c (md_convert_frag_1): Use them instead of
  3531. BFD_RELOC_*.
  3532. 2000-10-17 Kazu Hirata <kazu@hxi.com>
  3533. * debug.c: Fix formatting.
  3534. * depend.c: Likewise.
  3535. * dwarf2dbg.c: Likewise.
  3536. * dwarf2dbg.h: Likewise.
  3537. * ecoff.c: Likewise.
  3538. * expr.c: Likewise.
  3539. * expr.h: Likewise.
  3540. * flonum-konst.c: Likewise.
  3541. * frags.h: Likewise.
  3542. 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
  3543. * as.c: New option OPTION_TARGET_HELP. Prints all target specific
  3544. options.
  3545. * doc/as.texinfo: Added notes about this new option.
  3546. 2000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
  3547. * config/tc-sh.c (JREG): Remove.
  3548. (md_convert_frag): Remove #if 0:d code using JREG.
  3549. 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
  3550. * config/tc-i386.c (i386_operand_modifier): Only match
  3551. modifiers SHORT and FLAT if they are followed by a space.
  3552. (parse_register): When `allow_naked_reg' is set, do not confuse
  3553. identifiers that start with a register name with a register.
  3554. 2000-10-12 Kazu Hirata <kazu@hxi.com>
  3555. * app.c: Fix formatting.
  3556. * as.c: Likewise.
  3557. * as.h: Likewise.
  3558. * bit_fix.h: Likewise.
  3559. * cgen.c: Likewise.
  3560. * cgen.h: Likewise.
  3561. * cond.c: Likewise.
  3562. 2000-10-11 Alan Modra <alan@linuxcare.com.au>
  3563. * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
  3564. 2000-10-07 Alan Modra <alan@linuxcare.com.au>
  3565. * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
  3566. Re-arrange function a little and improve error message.
  3567. * write.c (write_relocs): Fix a comment.
  3568. * config/obj-elf.c (elf_frob_symbol): Make section syms global on
  3569. link-once sections.
  3570. 2000-10-05 Jim Wilson <wilson@cygnus.com>
  3571. * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
  3572. 2000-10-05 Alan Modra <alan@linuxcare.com.au>
  3573. * config/tc-i386.c: Delete some useless comments, reformat others.
  3574. * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
  3575. non-global syms in linkonce sections.
  3576. 2000-10-04 Ralf Baechle <ralf@gnu.org>
  3577. * config/tc-ia64.c (operand_match): Don't use // style comments.
  3578. * config/tc-i370.c: Likewise.
  3579. 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
  3580. Changes to handle varying register prefix and user symbol prefix.
  3581. * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
  3582. SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
  3583. SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
  3584. (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
  3585. cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
  3586. (demand_register_prefix): New variable.
  3587. (md_pseudo_table): New pseudo ".syntax".
  3588. (md_longopts): New options --no-underscore and --underscore.
  3589. (cris_target_format): Return elf32-us-cris or elf32-cris depending
  3590. on symbols_have_leading_underscore.
  3591. (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
  3592. (get_spec_reg): Ditto.
  3593. (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
  3594. Fix formatting.
  3595. (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
  3596. --help.
  3597. <case OPTION_NO_US, case OPTION_US>: New.
  3598. (md_show_usage): Be brief and reformat to match continuation of
  3599. --help.
  3600. * po/gas.pot: Regenerate.
  3601. 2000-09-28 Alan Modra <alan@linuxcare.com.au>
  3602. * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
  3603. force relocs for 12 bit branches.
  3604. (md_apply_fix): Similarly, adjust logic here.
  3605. 2000-09-28 Alan Modra <alan@linuxcare.com.au>
  3606. * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
  3607. adjust for external and weak syms as we will use a reloc. Allow
  3608. for +8 offset when calculating limits of branches.
  3609. (hppa_fix_adjustable): Undo 2000-09-23 change.
  3610. (hppa_force_relocation): Likewise. Add fx_addsy assertion.
  3611. Correct distance calculation.
  3612. (tc_gen_reloc): Print the file name and line number if we can't
  3613. handle a fixup.
  3614. From John David Anglin <dave@hiauly1.hia.nrc.ca>
  3615. * config/tc-hppa.c (nonzero_dibits): Define.
  3616. (arg_reloc_stub_needed): Check each arg and return value
  3617. separately for zero case.
  3618. (pa_align): Declare argument `bytes'.
  3619. 2000-09-25 Kazu Hirata <kazu@hxi.com>
  3620. * config/tc-cris.c: Fix formatting.
  3621. * config/tc-d10v.h: Likewise.
  3622. * config/tc-d30v.c: Likewise.
  3623. * config/tc-d30v.h: Likewise.
  3624. * config/tc-fr30.c: Likewise.
  3625. * config/tc-fr30.h: Likewise.
  3626. * config/tc-m68k.c: Likewise.
  3627. * config/tc-m68k.h: Likewise.
  3628. * config/tc-pj.h: Likewise.
  3629. * config/tc-ppc.c: Likewise.
  3630. * config/tc-ppc.h: Likewise.
  3631. * config/tc-sh.c: Likewise.
  3632. * config/tc-sh.h: Likewise.
  3633. * config/tc-sparc.c: Likewise.
  3634. * config/tc-v850.h: Likewise.
  3635. * config/tc-vax.h: Likewise.
  3636. * config/tc-w65.h: Likewise.
  3637. * config/tc-z8k.h: Likewise.
  3638. 2000-09-23 Alan Modra <alan@linuxcare.com.au>
  3639. * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
  3640. checks only for ELF.
  3641. (hppa_force_relocation): Likewise.
  3642. 2000-09-22 Jim Wilson <wilson@cygnus.com>
  3643. * config/tc-ia64.c (dv_sem): Add "stop".
  3644. (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
  3645. (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
  3646. (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
  3647. match above.
  3648. (mark_resources): Check IA64_RS_PRr.
  3649. 2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3650. * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
  3651. md_estimate_size_before_relax): Redesign and clean up the
  3652. relaxation mechanism.
  3653. 2000-09-21 Kazu Hirata <kazu@hxi.com>
  3654. * config/tc-ns32k.c: Fix formatting.
  3655. * config/tc-ns32k.h: Likewise.
  3656. 2000-09-20 Kazu Hirata <kazu@hxi.com>
  3657. * config/tc-m32r.c: Fix formatting.
  3658. * config/tc-m32r.h: Likewise.
  3659. * config/tc-m68851.h: Likewise.
  3660. * config/tc-m68hc11.c: Likewise.
  3661. * config/tc-m68hc11.h: Likewise.
  3662. * config/tc-m88k.c: Likewise.
  3663. * config/tc-mcore.c: Likewise.
  3664. * config/tc-mcore.h: Likewise.
  3665. * config/tc-mips.c: Likewise.
  3666. * config/tc-mips.h: Likewise.
  3667. * config/tc-mn10200.h: Likewise.
  3668. * config/tc-mn10300.h: Likewise.
  3669. * config/tc-tahoe.c: Likewise.
  3670. * config/tc-tahoe.h: Likewise.
  3671. 2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3672. * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
  3673. Likewise in relaxation description comments.
  3674. 2000-09-18 Alan Modra <alan@linuxcare.com.au>
  3675. * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
  3676. subtraction of two syms without emitting a relocation.
  3677. From David Huggins-Daines <dhd@linuxcare.com>
  3678. * config/tc-hppa.c (hppa_force_relocation): Force relocations for
  3679. global or weak symbols.
  3680. 2000-09-15 Kazu Hirata <kazu@hxi.com>
  3681. * config/tc-h8300.h: Fix formatting.
  3682. * config/tc-h8500.c: Likewise.
  3683. * config/tc-h8500.h: Likewise.
  3684. * config/tc-hppa.h: Likewise.
  3685. * config/tc-i370.h: Likewise.
  3686. * config/tc-i386.h: Likewise.
  3687. * config/tc-i860.c: Likewise.
  3688. * config/tc-i860.h: Likewise.
  3689. * config/tc-i960.h: Likewise.
  3690. * config/tc-ia64.c: Likewise.
  3691. * config/tc-ia64.h: Likewise.
  3692. 2000-09-14 Kazu Hirata <kazu@hxi.com>
  3693. * config/tc-a29k.c: Fix formatting.
  3694. * config/tc-alpha.c: Likewise.
  3695. * config/tc-arc.c: Likewise.
  3696. * config/tc-arc.h: Likewise.
  3697. * config/tc-arm.c: Likewise.
  3698. * config/tc-arm.h: Likewise.
  3699. * config/tc-avr.c: Likewise.
  3700. * config/tc-avr.h: Likewise.
  3701. * config/tc-tic30.c: Likewise.
  3702. * config/tc-tic30.h: Likewise.
  3703. * config/tc-tic54x.c: Likewise.
  3704. * config/tc-tic54x.h: Likewise.
  3705. * config/tc-tic80.c: Likewise.
  3706. * config/tc-tic80.h: Likewise.
  3707. 2000-09-14 Timothy Wall <twall@cygnus.com>
  3708. * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
  3709. parallel comparisons for later use.
  3710. (struct rsrc): Add parallel comparison type.
  3711. (resources_match): Skip special cases of PR usage (non-conflicting
  3712. parallel compares).
  3713. 2000-09-13 Kazu Hirata <kazu@hxi.com>
  3714. * config/obj-ecoff.c: Fix formatting.
  3715. * config/obj-elf.c: Likewise.
  3716. * config/obj-elf.h: Likewise.
  3717. * config/obj-evax.h: Likewise.
  3718. * config/obj-generic.h: Likewise.
  3719. * config/obj-hp300.c: Likewise.
  3720. * config/obj-hp300.h: Likewise.
  3721. * config/obj-ieee.h: Likewise.
  3722. * config/obj-vms.c: Likewise.
  3723. * config/obj-vms.h: Likewise.
  3724. 2000-09-13 Anders Norlander <anorland@acc.umu.se>
  3725. * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
  3726. (md_parse_option): Ditto.
  3727. (md_longopts): Add -mips32 option.
  3728. (md_show_usage): Document new options.
  3729. (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
  3730. (mips_ip): Assemble mfc0 with a sub-selection code.
  3731. (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
  3732. (mips_cpu_to_str): New function.
  3733. (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
  3734. Use CPU_* defines instead of hardcoded numbers.
  3735. * doc/as.texinfo: Document new options.
  3736. * doc/c-mips.texi: Ditto.
  3737. 2000-09-12 Kazu Hirata <kazu@hxi.com>
  3738. * as.h: Fix formatting.
  3739. * asintl.h: Likewise.
  3740. * bit_fix.h: Likewise.
  3741. * config/obj-aout.c: Likewise.
  3742. * config/obj-aout.h: Likewise.
  3743. * config/obj-bout.c: Likewise.
  3744. * config/obj-bout.h: Likewise.
  3745. * config/obj-coff.c: Likewise.
  3746. * config/obj-coff.h: Likewise.
  3747. * dwarf2dbg.h: Likewise.
  3748. * expr.h: Likewise.
  3749. * flonum.h: Likewise.
  3750. * frags.h: Likewise.
  3751. * itbl-ops.h: Likewise.
  3752. * macro.h: Likewise.
  3753. * read.h: Likewise.
  3754. * sb.h: Likewise.
  3755. * struc-symbol.h: Likewise.
  3756. * subsegs.h: Likewise.
  3757. * symbols.h: Likewise.
  3758. * tc.h: Likewise.
  3759. * write.h: Likewise.
  3760. 2000-09-11 Kazu Hirata <kazu@hxi.com>
  3761. * bignum-copy.c: Fix formatting.
  3762. * config/tc-i370.c: Likewise.
  3763. * config/tc-i960.c: Likewise.
  3764. * config/tc-m68k.c: Likewise.
  3765. * ehopt.c: Likewise.
  3766. * flonum-copy.c: Likewise.
  3767. * flonum-konst.c: Likewise.
  3768. * flonum-mult.c: Likewise.
  3769. * literal.c: Likewise.
  3770. * read.c: Likewise.
  3771. * sb.c: Likewise.
  3772. * stabs.c: Likewise.
  3773. * subsegs.c: Likewise.
  3774. 2000-09-09 Philip Blundell <philb@gnu.org>
  3775. * configure.in (arm*-*-uclinux*): New target.
  3776. * configure: Regenerate.
  3777. 2000-09-09 Kazu Hirata <kazu@hxi.com>
  3778. * input-file.c: Fix formatting.
  3779. * itbl-ops.c: Likewise.
  3780. * messages.c: Likewise.
  3781. 2000-09-08 Philip Blundell <philb@gnu.org>
  3782. * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
  3783. offset is negative.
  3784. 2000-09-07 H.J. Lu <hjl@gnu.org>
  3785. * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
  3786. * configure: Rebuild.
  3787. 2000-09-07 Kazu Hirata <kazu@hxi.com>
  3788. * atof-generic.c: Fix formatting.
  3789. * config/tc-mips.c: Likewise.
  3790. * config/tc-vax.c: Likewise.
  3791. * input-scrub.c: Likewise.
  3792. 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
  3793. * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
  3794. * configure.in (sh-*-linux*): Added.
  3795. * configure: Rebuilt.
  3796. 2000-09-06 Kazu Hirata <kazu@hxi.com>
  3797. * config/tc-hppa.c: Fix formatting.
  3798. * ecoff.c: Fix formatting.
  3799. 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
  3800. * configure: Rebuilt with new libtool.m4.
  3801. 2000-09-05 Kazu Hirata <kazu@hxi.com>
  3802. * cgen.c: Fix formatting.
  3803. * config/tc-ia64.c: Likewise.
  3804. 2000-09-05 Nick Clifton <nickc@redhat.com>
  3805. * aclocal.m4: Regenerate.
  3806. * config.in: Regenerate.
  3807. * configure: Regenerate.
  3808. * po/gas.pot: Regenerate.
  3809. 2000-09-05 Hans-Peter Nilsson <hp@axis.com>
  3810. * config/tc-cris.c: Correct comment typos.
  3811. 2000-09-05 Eric Christopher <echristo@cygnus.com>
  3812. * config/tc-mn10300.c: Cleanup.
  3813. (md_pcrel_from): Enable.
  3814. 2000-09-05 Alan Modra <alan@linuxcare.com.au>
  3815. * expr.c (operand): Fix a comment typo.
  3816. * write.c (write_relocs): Fix a signed/unsigned warning.
  3817. * config/tc-hppa.c (fudge_reg_expressions): New
  3818. (hppa_force_reg_syms_absolute): New.
  3819. (pa_equ): Allow reg_section expressions.
  3820. * config/tc-hppa.c (md_optimize_expr): Define.
  3821. (hppa_force_reg_syms_absolute): Prototype.
  3822. * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
  3823. (pa_parse_number): Pass in arg to select fp reg parsing.
  3824. Return 1 to indicate format checks pass. If strict, then only
  3825. accept a register or register symbol. Return value in...
  3826. (pa_number): New static for pa_parse_number.
  3827. (FP_REG_BASE): Define.
  3828. (FP_REG_RSEL): Define.
  3829. (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
  3830. appropriate. White space changes.
  3831. (need_pa11_opcode): Don't bother passing any params, get them from
  3832. globals instead.
  3833. (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
  3834. Remove extraneous check in case 'Q'.
  3835. (pa_equ): Modify call to pa_parse_number to do strict parsing. If
  3836. reg, set section of resulting symbol to reg_section.
  3837. (pa_parse_space_stmt): Modify call to pa_parse_number.
  3838. (pa_space): Likewise.
  3839. * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
  3840. (hppa_force_relocation): Handle vtable relocs.
  3841. (pa_vtable_entry): New.
  3842. (pa_vtable_inherit): New.
  3843. (md_pseudo_table): Add entries for vtable pseudos.
  3844. (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
  3845. and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
  3846. against weak syms.
  3847. (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
  3848. (pa_type_args): Don't call symbol_get_bfdsym multiple times.
  3849. Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
  3850. millicode import.
  3851. * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
  3852. specify a symbol type.
  3853. * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
  3854. dependent things together.
  3855. (md_elf_symbol_type): Define.
  3856. * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
  3857. symbol.
  3858. * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
  3859. * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
  3860. (obj_elf_vtable_entry): Declare.
  3861. * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
  3862. and export function.
  3863. (obj_elf_vtable_entry): Similarly.
  3864. (elf_pseudo_table): Fix the damage with a cast.
  3865. 2000-09-03 Richard Henderson <rth@cygnus.com>
  3866. * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
  3867. for template selection when a label is needed.
  3868. 2000-09-02 Kazu Hirata <kazu@hxi.com>
  3869. * config/tc-ia64.c: Fix formatting.
  3870. 2000-09-02 Nick Clifton <nickc@redhat.com>
  3871. * configure.in: Increase version number to 2.10.91.
  3872. * configure: Regenerate.
  3873. * aclocal.m4: Regenerate.
  3874. * config.in: Regenerate.
  3875. * po/gas.pot: Regenerate.
  3876. * Makefile.in: Regenerate.
  3877. 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
  3878. * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
  3879. * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
  3880. become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
  3881. similar relocs.
  3882. (sh_obj_adjustable): Return 1 for PC-relative offsets used in
  3883. branches.
  3884. 2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
  3885. * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
  3886. TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
  3887. * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
  3888. [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
  3889. (GOT_symbol): New variable.
  3890. (md_undefined_symbol): Set it.
  3891. 2000-09-01 Richard Henderson <rth@cygnus.com>
  3892. * config/tc-ia64.c (match): Don't inline.
  3893. (extra_goodness): New.
  3894. (md_begin): Prefer nop.f and nop.b for best_template.
  3895. 2000-08-31 Kazu Hirata <kazu@hxi.com>
  3896. * as.c: Fix formatting.
  3897. * cond.c: Likewise.
  3898. * frags.c: Likewise.
  3899. * macro.c: Likewise.
  3900. 2000-08-31 Eric Christopher <echristo@cygnus.com>
  3901. * config/tc-mn10300.c: Cleanup and fix warnings.
  3902. (md_pseudo_table): Add initializers.
  3903. (md_show_usage): Cleanup.
  3904. (md_parse_option): Fix warnings.
  3905. (md_undefined_symbol): Fix warnings.
  3906. (md_conver_frag): Fix warnings.
  3907. (tc_gen_reloc): Fix warnings.
  3908. (md_apply_fix3): Fix warnings.
  3909. (check_operand): Fix warnings.
  3910. 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
  3911. * acinclude.m4: Include libtool and gettext macros from the
  3912. top level.
  3913. * aclocal.m4, configure: Rebuilt.
  3914. 2000-08-30 Mark Hatle <mhatle@mvista.com>
  3915. * config/tc-ppc.c (md_parse_option): Recognize -m405.
  3916. 2000-08-31 Kazu Hirata <kazu@hxi.com>
  3917. * listing.c: Fix formatting.
  3918. 2000-08-29 Kazu Hirata <kazu@hxi.com>
  3919. * app.c: Fix a comment typo. Fix formatting.
  3920. 2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
  3921. * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
  3922. offset of the target destination for jmp instructions.
  3923. (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
  3924. 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
  3925. * NEWS: Mention support for CRIS.
  3926. 2000-08-24 Denis Chertykov <denisc@overta.ru>
  3927. * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
  3928. Sets `.lcomm' alignment to zero.
  3929. 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
  3930. * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
  3931. TC_FIX_ADJUSTABLE): Define.
  3932. 2000-08-23 Jim Wilson <wilson@cygnus.com>
  3933. * config/tc-ia64.c (output_unw_records): Set U & E flags only if
  3934. unwind.personality_routine is set.
  3935. 2000-08-23 H.J. Lu <hjl@gnu.org>
  3936. * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
  3937. 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
  3938. * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
  3939. environment is pe.
  3940. 2000-08-22 H.J. Lu <hjl@gnu.org>
  3941. * config.in (STRICTCOFF): New for strict COFF.
  3942. * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
  3943. i386-*-go32* and i386-go32-rtems*.
  3944. * configure: Rebuilt.
  3945. * config/obj-coff.c (obj_coff_endef): Follow the historical
  3946. behavior if STRICTCOFF is not defined.
  3947. * doc/internals.texi: Document STRICTCOFF.
  3948. 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
  3949. * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
  3950. (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
  3951. * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
  3952. <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
  3953. * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
  3954. <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
  3955. * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
  3956. Likewise.
  3957. 2000-08-22 Eric Christopher <echristo@cygnus.com>
  3958. * config/tc-mn10300.c: (md_apply_fix): New function.
  3959. (mn10300_force_relocation): New function.
  3960. (mn10300_fix_adjustable): New function.
  3961. * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
  3962. (TC_HANDLES_FX_DONE): Define.
  3963. (obj_fix_adjustable): Define.
  3964. (MD_APPLY_FIX3): Define.
  3965. (TC_LINKRELAX_FIXUP): Define.
  3966. * write.c: (TC_LINKRELAX_FIXUP): Define if not
  3967. previously defined.
  3968. (fixup_segment): Use TC_LINKRELAX_FIXUP.
  3969. * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
  3970. 2000-08-21 Jason Eckhardt <jle@cygnus.com>
  3971. * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
  3972. if the fixup resulted in a relocation.
  3973. 2000-08-18 Nick Clifton <nickc@redhat.com>
  3974. * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
  3975. Make reference to first element of shift_names explicit.
  3976. 2000-08-18 Alexandre Oliva <aoliva@redhat.com>
  3977. * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
  3978. obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
  3979. add a symbol's address. Removed all target-specific #ifdefs that
  3980. used to accomplished the same.
  3981. * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
  3982. * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
  3983. * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
  3984. * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
  3985. * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
  3986. 2000-08-17 Kazu Hirata <kazu@hxi.com>
  3987. * dwarf2dbg.c: Fix formatting.
  3988. 2000-08-17 Nick Clifton <nickc@redhat.com>
  3989. * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
  3990. to be recoded as logical shift lefts by zero.
  3991. 2000-08-16 Jim Wilson <wilson@cygnus.com>
  3992. * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
  3993. postincrement modified registers. Handle IA64_OPND_R3_2 addl
  3994. source registers.
  3995. (note_register_values): Handle IA64_OPND_R3_2 operands.
  3996. 2000-08-16 Jason Eckhardt <jle@cygnus.com>
  3997. * config/tc-i860.c (md_operand): Silly typo fixed.
  3998. 2000-08-16 Nick Clifton <nickc@redhat.com>
  3999. * config/tc-arm.c (struct asm_shift): Delete.
  4000. (shift[]): Delete.
  4001. (enum asm_shift_index): New.
  4002. (struct asm_shift_properties): New.
  4003. (struct asm_shift_name): New.
  4004. (shift_properties[]); New.
  4005. (shift_names[]); New.
  4006. (decode_shift): Use new structures.
  4007. Issue a warning is "ROR #0" is used.
  4008. Issue a warning if "ASR #0" or "LSR #0" is used.
  4009. (md_begin): Initialise arm_shift_hsh table from new
  4010. asm_shift_name array.
  4011. 2000-08-16 Jakub Jelinek <jakub@redhat.com>
  4012. * config/tc-sparc.c: Kill all warnings.
  4013. (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
  4014. in -xarch= as well.
  4015. (md_show_usage): Update usage text.
  4016. 2000-08-16 Nick Clifton <nickc@redhat.com>
  4017. * config/tc-arm.c (do_bx): Warn about "bx px" not being very
  4018. useful.
  4019. 2000-08-15 Will Cohen <wcohen@redhat.com>
  4020. * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
  4021. * config/tc-sh.c (md_assemble): Changed so debug_type
  4022. test performed for ppi_assemble
  4023. * config/tc-sh.c: Included dwarf2dbg.h.
  4024. (debug_line): Defined.
  4025. (md_assemble): Generates dwarf2 line info.
  4026. (sh_finalize): New function. Finalize dwarf2 info.
  4027. (assemble_ppi): Returns size of code generated.
  4028. (build_Mytes): Returns size of code generated.
  4029. (md_pseudo_table): Added "file" and "loc" psuedo ops.
  4030. * config/tc-sh.h (md_end): Defined.
  4031. (sh_finalize): Declared.
  4032. 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
  4033. * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
  4034. md_number_to_chars.
  4035. 2000-08-14 Nick Clifton <nickc@redhat.com>
  4036. * config/tc-arm.c (do_bx): Allow "bx pc".
  4037. 2000-08-14 Jim Wilson <wilson@cygnus.com>
  4038. * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
  4039. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
  4040. (md_begin): Change assignment to md.flag to OR in the new bit.
  4041. 2000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
  4042. * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
  4043. flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
  4044. C_MOU, and C_EOS.
  4045. 2000-08-14 Jason Eckhardt <jle@cygnus.com>
  4046. * NEWS: Mention i860 support.
  4047. 2000-08-14 Jeffrey A Law (law@cygnus.com)
  4048. * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
  4049. 2000-08-14 Andreas Schwab <schwab@suse.de>
  4050. * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
  4051. 2000-08-11 Andreas Schwab <schwab@suse.de>
  4052. * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
  4053. argument.
  4054. 2000-08-11 Kazu Hirata <kazu@hxi.com>
  4055. * expr.c: Fix formatting.
  4056. * config/obj-bout.c: Likewise.
  4057. 2000-08-10 Jason Eckhardt <jle@cygnus.com>
  4058. * doc/c-i860.texi: Flesh out the i860 section more.
  4059. 2000-08-10 Kazu Hirata <kazu@hxi.com>
  4060. * symbols.c: Fix formatting.
  4061. * expr.c: Likewise.
  4062. 2000-08-09 Diego Novillo <dnovillo@cygnus.com>
  4063. * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
  4064. modifier has the IgnoreSize bit set.
  4065. 2000-08-09 Alan Modra <alan@linuxcare.com.au>
  4066. From Rodney Brown <RodneyBrown@mynd.com>
  4067. * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
  4068. * configure: Regenerate.
  4069. 2000-08-09 Kazu Hirata <kazu@hxi.com>
  4070. * hash.c: Fix formatting.
  4071. * gasp.c: Likewise.
  4072. 2000-08-08 Jason Eckhardt <jle@cygnus.com>
  4073. * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
  4074. (i860_fix_info): New enum.
  4075. (MD_APPLY_FIX3): Define.
  4076. (WORKING_DOT_WORD): Define.
  4077. (TC_HANDLES_FX_DONE): Define.
  4078. (DIFF_EXPR_OK): Define.
  4079. (LISTING_HEADER): Define.
  4080. (TARGET_FORMAT): Select target format based on endian flag.
  4081. (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
  4082. (target_big_endian): Add external declaration.
  4083. * config/tc-i860.c: All existing code reworked completely. Other
  4084. new code shown below.
  4085. (SYNTAX_SVR4): Define.
  4086. (target_warn_expand): New variable.
  4087. (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
  4088. (md_longopts): Declare and define with new options (-EL, -EB,
  4089. and -mwarn-expand).
  4090. (md_show_usage): New function.
  4091. (md_operand): New function.
  4092. (obtain_reloc_for_imm16): New function.
  4093. (md_apply_fix3): New function.
  4094. (tc_gen_reloc): New function.
  4095. 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
  4096. * config/tc-m68hc11.c (build_jump_insn): Make sure the
  4097. 2 bytes of the jump address are in the same frag.
  4098. (find): Accept 68hc12 register indirect modes.
  4099. * NEWS: Mention 68HC11 & 68HC12 support.
  4100. 2000-08-07 Richard Henderson <rth@cygnus.com>
  4101. * config/tc-ia64.c (unwind): Add prologue_mask member.
  4102. (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
  4103. (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
  4104. (dot_body): Clear unwind.prologue_mask.
  4105. (dot_prologue): Set it. Accept a register second argument.
  4106. 2000-08-07 Kazu Hirata <kazu@hxi.com>
  4107. * config/atof-ieee.c: Fix formatting.
  4108. * config/atof-tahoe.c: Likewise.
  4109. 2000-08-06 Nick Clifton <nickc@cygnus.com>
  4110. * config/tc-sparc.c (md_begin): Fix typo in recent formatting
  4111. work.
  4112. * doc/as.texinfo (Pseudo Ops): Update to include descriptions
  4113. of .popsection, .previous, .pushsection, .subsection,
  4114. .version, .vtable_entry, .vtable_inherit and .weak.
  4115. 2000-08-05 Kazu Hirata <kazu@hxi.com>
  4116. * config/tc-cris.c: Fix formatting.
  4117. * config/tc-i386.c: Likewise.
  4118. * config/tc-sparc.c (sparc_ip): Simplify the code.
  4119. 2000-08-04 Kazu Hirata <kazu@hxi.com>
  4120. * config/tc-cris.c: Rearrange code for readability.
  4121. * config/tc-d10v.c: Fix formatting.
  4122. * config/tc-m32r.c: Likewise.
  4123. * config/tc-sparc.c: Likewise.
  4124. 2000-08-02 Jim Wilson <wilson@cygnus.com>
  4125. * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
  4126. before ia64_find_opcode.
  4127. (md_assemble): Likewise.
  4128. 2000-08-01 Nick Clifton <nickc@cygnus.com>
  4129. * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
  4130. Undo some formatting fixes.
  4131. 2000-08-01 Kazu Hirata <kazu@hxi.com>
  4132. * config/obj-som.c: Fix formatting.
  4133. * config/obj-ieee.c: Likewise.
  4134. * config/tc-arm.c: Likewise.
  4135. * config/tc-v850.c: Likewise.
  4136. 2000-08-01 Nick Clifton <nickc@redhat.com>
  4137. * doc/c-m68k.texi (section M680x0 Options): Turn into a table
  4138. index by command line option.
  4139. 2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  4140. * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
  4141. (@node M68K-Branch): Rewrite to match the reality.
  4142. 2000-07-31 Jason Eckhardt <jle@cygnus.com>
  4143. * doc/c-i860.texi: New file.
  4144. * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
  4145. * doc/Makefile.in: Regenerate.
  4146. * doc/all.texi: Add I860 as relevant architecture.
  4147. * doc/as.texinfo: Include i860 dependent file c-i860.texi.
  4148. 2000-07-31 Kazu Hirata <kazu@hxi.com>
  4149. * config/tc-d30v.c: Fix formatting.
  4150. 2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  4151. * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
  4152. (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
  4153. long emit a long branch if available instead of an absolute jump, never
  4154. emit absolute jumps for anything with --pcrel.
  4155. * doc/c-m68k.texi: Document new command line option.
  4156. 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
  4157. * config/tc-avr.c: Use PARAMS macro in function declarations.
  4158. Don't declare md_pcrel_from_section (already in tc-avr.h).
  4159. (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
  4160. (avr_operand): Don't set (unsigned) op_mask to -1.
  4161. 2000-07-28 Jason Eckhardt <jle@cygnus.com>
  4162. * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
  4163. * configure: Regenerated.
  4164. * config/obj-elf.c (obj_elf_type): Recognize a fifth type
  4165. of operand to the .type directive (.e.g, "type").
  4166. 2000-07-28 Alan Modra <alan@linuxcare.com.au>
  4167. * as.h (warn_comment, found_comment, found_comment_file): Declare.
  4168. * app.c (do_scrub_chars): Record where first comment found.
  4169. * read.c (read_a_source_file): Init found_comment on entry, and
  4170. notify whether comments found on exit.
  4171. * config/tc-hppa.c (md_shortopts): Add "c".
  4172. (md_longopts): Add warn-comment.
  4173. (md_parse_option): Handle it.
  4174. (md_show_usage): Show available options.
  4175. * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
  4176. 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
  4177. * config/tc-mn10300.c (md_convert_frag): Fix printfs.
  4178. (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
  4179. sym_ptr_ptr
  4180. (md_estimate_size_before_relax): Don't fall off end of function.
  4181. 2000-07-27 Kazu Hirata <kazu@hxi.com>
  4182. * config/tc-avr.c: Fix formatting.
  4183. * config/tc-ns32k.c: Likewise.
  4184. 2000-07-27 Alan Modra <alan@linuxcare.com.au>
  4185. * config/tc-d10v.c (find_opcode): Remove extraneous `='.
  4186. 2000-07-27 Kazu Hirata <kazu@hxi.com>
  4187. * config/tc-d10v.c: Fix formatting.
  4188. * config/tc-z8k.c: Likewise.
  4189. * config/tc-sparc.c: Likewise.
  4190. 2000-07-26 Dave Brolley <brolley@redhat.com>
  4191. * cgen.c (queue_fixup): Declare opinfo.
  4192. (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
  4193. (gas_cgen_md_operand): Ditto.
  4194. (gas_cgen_md_apply_fix3): Ditto.
  4195. 2000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
  4196. * config/obj-coff.c (obj_frob_symbol): Don't merge
  4197. labels. Don't merge if the symbol isn't constant. Return
  4198. immediately if a symbol is merged.
  4199. 2000-07-22 Alan Modra <alan@linuxcare.com.au>
  4200. * frags.c (frag_align): Correct absolute section alignment.
  4201. 2000-07-20 DJ Delorie <dj@redhat.com>
  4202. * config/obj-coff.c (obj_frob_symbol): revert previous change,
  4203. it breaks linking against DLLs.
  4204. 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
  4205. * configure.in: Add CRIS support.
  4206. * configure: Regenerate.
  4207. * Makefile.am: (CPU_TYPES): Add cris.
  4208. (CPU_OBJ_VALID) [aout]: Add cris.
  4209. (MULTI_CPU_TYPES): Add cris.
  4210. (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
  4211. [coff]: Only i386 and mips are valid.
  4212. (TARGET_CPU_CFILES): Add config/tc-cris.c.
  4213. (TARGET_CPU_HFILES): Add config/tc-cris.h.
  4214. (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
  4215. Regenerate dependencies.
  4216. * Makefile.in: Regenerate.
  4217. * aclocal.m4: Regenerate.
  4218. * as.c: Declare crisaout, criself.
  4219. * config/tc-cris.h, config/tc-cris.c: New.
  4220. * config/e-criself.c, config/e-crisaout.c: New.
  4221. * po/POTFILES.in, po/gas.pot: Regenerate.
  4222. 2000-07-20 Kazu Hirata <kazu@hxi.com>
  4223. * read.c: Fix formatting.
  4224. * write.c: Fix formatting.
  4225. 2000-07-19 H.J. Lu <hjl@gnu.org>
  4226. * sb.c: Include <stdlib.h> if exists for abort ().
  4227. 2000-07-19 Alan Modra <alan@linuxcare.com.au>
  4228. * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
  4229. (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
  4230. (pa_type_args): Same here.
  4231. 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
  4232. * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
  4233. merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
  4234. the storage class is already set.
  4235. 2000-07-17 Kazu Hirata <kazu@hxi.com>
  4236. * config/tc-m68hc11.c: Fix formatting.
  4237. * config/tc-mn10200.c: Likewise.
  4238. * config/tc-mn10300.c: Likewise.
  4239. * config/tc-pj.c: Likewise.
  4240. * config/tc-tic80.c: Likewise.
  4241. * config/tc-w65.c: Likewise.
  4242. 2000-07-17 Frank Ch. Eigler <fche@redhat.com>
  4243. * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
  4244. is defined.
  4245. 2000-07-15 Ian Lance Taylor <ian@zembu.com>
  4246. * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
  4247. @code.
  4248. 2000-07-15 Alan Modra <alan@linuxcare.com.au>
  4249. * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
  4250. ELF as are used for SOM (except the 32-bit reloc one) to decide
  4251. whether a symbol can be reduced to a section symbol. Expand on
  4252. the comment for symbols involved in LR% and RR% expressions.
  4253. 2000-07-14 Nick Clifton <nickc@cygnus.com>
  4254. * config/tc-mips.c (mips_disable_float_construction): New
  4255. static variable. Set to true if doubles should not be
  4256. constructed by loading two single width fp registers with
  4257. halves of the value.
  4258. (mips_ip): Test mips_disable_float_construction.
  4259. (md_longopts): Add command line switches --construct-floats
  4260. and --no-construct-floats.
  4261. (md_parse_option): Parse new command line options.
  4262. (md_show_usage): Describe new command line options.
  4263. * doc/c-mips.texi: Document new command line options.
  4264. 2000-07-13 Koundinya K <kk@ddeorg.soft.net>
  4265. * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
  4266. * configure: Regenerate.
  4267. 2000-07-13 Hans-Peter Nilsson <hp@axis.com>
  4268. * configure.in (DEFAULT_EMULATION setting): Revert part of
  4269. 2000-07-01 change that set te_multi=multi unless set to tmips.
  4270. * configure: Regenerate.
  4271. 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
  4272. * config/obj-coff.c (coff_frob_section): Add padding to the last
  4273. section when aligning it increases its size.
  4274. 2000-07-11 Kazu Hirata <kazu@hxi.com>
  4275. * config/tc-tic54x.c: Fix formatting.
  4276. 2000-07-10 Kazu Hirata <kazu@hxi.com>
  4277. * config/tc-h8500.c: Fix formatting.
  4278. * config/tc-tic54x.c: Fix formatting.
  4279. 2000-07-10 Alan Modra <alan@linuxcare.com.au>
  4280. * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
  4281. displacements correctly.
  4282. * read.h (s_abort): Add ATTRIBUTE_NORETURN.
  4283. 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
  4284. * hash.c (hash_insert): Add cast to obstruct_alloc to fix
  4285. warning.
  4286. (hash_jam): Ditto.
  4287. 2000-07-09 Alan Modra <alan@linuxcare.com.au>
  4288. From David Huggins-Daines <dhd@linuxcare.com>
  4289. * config/te-hppalinux64.h: Add a new emulation.
  4290. * configure.in (emulations): Add configure bits to support the
  4291. 64-bit Linux/parisc target.
  4292. * configure: Regenerate.
  4293. * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
  4294. (md_shortopts): Add `V' for ELF.
  4295. * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
  4296. when SOM or ELF_ARG_RELOC are defined.
  4297. (pa_type_args): Only set symbol_arg_reloc_info when SOM or
  4298. ELF_ARG_RELOC are defined.
  4299. (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
  4300. (pa_stringer): ..Do it here instead. Fix comment typos.
  4301. (hppa_force_relocation): Cast enums to int before comparing with
  4302. ints.
  4303. From Ryan Bradetich <rbradetich@uswest.net>
  4304. * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
  4305. redifinition warning.
  4306. (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
  4307. (hppa_force_relocation): ditto
  4308. (md_apply_fix): Added cast to buf to fix warnings.
  4309. * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
  4310. cons_fix_new_hppa, hppa_force_relocation): Prototype.
  4311. * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
  4312. (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
  4313. (tc_gen_reloc): Make `code' a reloc_type and `codes' a
  4314. reloc_type** to avoid warnings in switch.
  4315. (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
  4316. little earlier instead.
  4317. * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
  4318. and elf.
  4319. (pa_type_args): Use symbol_arg_reloc_info.
  4320. (struct pa_it): Make arg_reloc unsigned int.
  4321. (struct hppa_fix_struct): Likewise for fx_arg_reloc.
  4322. (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
  4323. (pa_code): Delete. pa_text duplicates this function.
  4324. (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
  4325. (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
  4326. int.
  4327. (cons_fix_new_hppa): Actually change selector to e_fsel when
  4328. warning about assuming so.
  4329. (tc_gen_reloc): More example elf arg reloc code.
  4330. (md_apply_fix): Use arg_reloc_stub_needed for elf too.
  4331. (hppa_force_relocation): Likewise.
  4332. * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
  4333. files.
  4334. (pa_end_of_source): Prototype.
  4335. (hppa_fix_adjustable): Prototype.
  4336. (LABELS_WITHOUT_COLONS): Move it..
  4337. * config/te-hppa.h: To here.
  4338. * config/te-hppa64.h: New file.
  4339. * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
  4340. type.
  4341. (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
  4342. format -10, -16, 16 relocs.
  4343. (hppa_elf_mark_end_of_function): Test for null
  4344. last_call_info->start_symbol
  4345. * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
  4346. CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
  4347. re_assesmble_* functions. Delete extraneous statements. Fix
  4348. typos in comments.
  4349. (md_apply_fix): Compare against 1048575 in case 21. Don't pass
  4350. insn to re_assemble_*.
  4351. 2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
  4352. * doc/internals.texi (Expressions): Fix typo.
  4353. 2000-07-08 Kazu Hirata <kazu@hxi.com>
  4354. * config/tc-sh.c: Fix formatting.
  4355. * config/tc-tic54x.c: Fix formatting.
  4356. * depend.c: Fix formatting.
  4357. * flonum-konst.c: Likewise.
  4358. * flonum-mult.c: Likewise.
  4359. 2000-07-07 Kazu Hirata <kazu@hxi.com>
  4360. * config/tc-sh.c: Fix comments.
  4361. * config/obj-vms.c: Fix comments.
  4362. * config/tc-a29k.c: Likewise.
  4363. * config/tc-alpha.c: Likewise.
  4364. * config/tc-h8300.c: Likewise.
  4365. * config/tc-h8500.c: Likewise.
  4366. * config/tc-i370.c: Likewise.
  4367. * config/tc-ia64.c: Likewise.
  4368. * config/tc-m68hc11.c: Likewise.
  4369. * config/tc-m68k.c: Likewise.
  4370. * config/tc-mips.c: Likewise.
  4371. * config/tc-ns32k.c: Likewise.
  4372. * config/tc-ppc.c: Likewise.
  4373. * config/tc-z8k.c: Likewise.
  4374. 2000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
  4375. * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
  4376. Default to '(SEC_LOAD | SEC_DATA)'.
  4377. (obj_coff_section) [BFD_ASSEMBLER]: Use it.
  4378. * doc/internals.texi (CPU Backend): Describe
  4379. TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
  4380. 2000-06-06 Andrew Cagney <cagney@b1.cygnus.com>
  4381. * as.c (parse_args): NULL terminate the long option list.
  4382. 2000-06-04 Andrew Cagney <cagney@b1.cygnus.com>
  4383. * config/tc-d30v.h: Include "write.h" for fixS.
  4384. (d30v_start_line, md_pcrel_from_section): Add function prototypes.
  4385. 2000-07-05 Nick Clifton <nickc@cygnus.com>
  4386. * config/tc-d30v.c (write_2_short): Further changes to warning
  4387. messages produced when combining EITHER_BUT_PREFER_MU attributed
  4388. opcodes.
  4389. 2000-07-05 DJ Delorie <dj@redhat.com>
  4390. * MAINTAINERS: new
  4391. 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
  4392. * config/tc-arm.c (psrs): Accept combinations of flags.
  4393. 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
  4394. * config/tc-avr.c: Change _ () to _() around all strings marked
  4395. for translation (exception from the usual coding style).
  4396. (avr_opt): New struct variable, how the new switches are set.
  4397. (OPTION_MMCU): Define as 'm' and actually use.
  4398. (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
  4399. (show_mcu_list): New function, display the list of known MCUs.
  4400. (md_show_usage): Document the new switches. Call show_mcu_list.
  4401. (avr_set_arch): Change 'm' to OPTION_MMCU.
  4402. (md_parse_option): Call show_mcu_list if unknown MCU specified.
  4403. Handle the new switches.
  4404. (avr_operands): Disable warnings for undefined combinations of
  4405. operands if -mall-opcodes. Disable warnings for skipping two-word
  4406. instructions if enhanced core or -mno-skip-bug.
  4407. (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
  4408. (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
  4409. (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
  4410. (avr_ldi_expression): Warn about implicit lo8().
  4411. * config/tc-avr.h (md_pcrel_from_section): Add prototype.
  4412. 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
  4413. * configure.in: Add entry for mips-*-sysv4*MP*
  4414. * configure: Rebuild
  4415. * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
  4416. elf32-tradlittlemips for traditional mips targets.
  4417. * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
  4418. test for Link Once sections as in adjust_reloc_syms.
  4419. * config/te-tmips.h: New file for traditional mips targets. Define
  4420. TE_TMIPS.
  4421. 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
  4422. * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
  4423. flags argument is not present, don't change an existing section's
  4424. section's attributes. If the flags argument is present, warn if the
  4425. attributes don't match the section's current attributes. When
  4426. long section names are supported, set SEC_LINK_ONCE and
  4427. SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
  4428. 2000-06-29 Hans-Peter Nilsson <hp@axis.com>
  4429. * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
  4430. symbols; create them.
  4431. 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
  4432. * write.c (set_segment_vma): New: Set vma and lma for a segment.
  4433. (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
  4434. 2000-06-27 Aldy Hernandez <aldyh@redhat.com>
  4435. * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
  4436. expressions. Ignore the problem when handling 16 bit signed
  4437. immediates, because the assembler will take care of the relocation
  4438. later.
  4439. 2000-06-27 Nick Clifton <nickc@cygnus.com>
  4440. * config/tc-d30v.c (write_2_short): Do not allow opcodes with
  4441. the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
  4442. sequential order, and emit warning messages if the input source
  4443. code contains constructs like that, or parallel constructs
  4444. containing such opcodes.
  4445. 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
  4446. * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
  4447. Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
  4448. with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
  4449. (md_show_usage): Update usage message.
  4450. (md_parse_option): Allow redefinition of MCU type within the
  4451. same avr[1-5] bfd machine type. Show both old and new MCU type
  4452. in the error message.
  4453. (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
  4454. Simplify 8K wrap code.
  4455. 2000-06-25 Kazu Hirata <kazu@hxi.com>
  4456. * config/obj-aout.c: Remove all uses of DEFUN.
  4457. * config/obj-ieee.c: Likewise.
  4458. * config/tc-sh.c: Fix comment typos.
  4459. * config/tc-tahoe.c: Likewise.
  4460. * config/tc-vax.c: Likewise.
  4461. * config/tc-w65.c: Likewise.
  4462. * config/tc-z8k.c: Likewise.
  4463. * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
  4464. 2000-06-24 DJ Delorie <dj@cygnus.com>
  4465. * config/tc-i386.c (md_estimate_size_before_relax): Revert
  4466. more changes from Sept 1999
  4467. (tc_i386_fix_adjustable): ditto
  4468. (md_apply_fix3): ditto
  4469. 2000-06-24 Frank Ch. Eigler <fche@redhat.com>
  4470. * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
  4471. (gas_cgen_parse_operand): Set it around expression() call.
  4472. (gas_cgen_md_operand): Test for it before longjmp().
  4473. 2000-06-24 Kazu Hirata <kazu@hxi.com>
  4474. * config/tc-h8500.c: Remove all uses of DEFUN.
  4475. * config/tc-sh.c: Likewise.
  4476. * config/tc-w65.c: Likewise.
  4477. * config/tc-z8k.c: Likewise.
  4478. * config/tc-h8500.c: Fix typos in comments.
  4479. 2000-06-23 Frank Ch. Eigler <fche@redhat.com>
  4480. * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
  4481. is defined.
  4482. 2000-06-23 matthew green <mrg@redhat.com>
  4483. * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
  4484. defined. Fix error message for `[' grouping.
  4485. 2000-06-22 Kazu Hirata <kazu@hxi.com>
  4486. * config/tc-h8300.c: Fix formatting and comment typos.
  4487. 2000-06-22 Timothy Wall <twall@cygnus.com>
  4488. * config/tc-ia64.c (note_register_values): Move premature QP
  4489. notation clearing into the appropriate place.
  4490. 2000-06-22 Alan Modra <alan@linuxcare.com.au>
  4491. * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
  4492. first before anything else. Add bin-bugs.h, emul.h and progress.h
  4493. Sort list of files as for $(OBJS) in Makefile.am.
  4494. * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
  4495. find one. Remake dependencies.
  4496. ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
  4497. * Makefile.in: Regenerate.
  4498. * doc/Makefile.in: Regenerate.
  4499. * config/tc-i386.c (i386_displacement): Don't assume a constant
  4500. displacement is necessarily 16 bits when in 16 bit code mode.
  4501. (md_assemble): Instead size the displacement here after we know
  4502. for sure that a .code16gcc operand hasn't automatically added
  4503. operand size prefixes.
  4504. 2000-06-21 H.J. Lu <hjl@gnu.org>
  4505. * Makefile.am: Rebuild dependency.
  4506. * Makefile.in: Rebuild.
  4507. 2000-06-21 Kazu Hirata <kazu@hxi.com>
  4508. * config/tc-h8300.c (parse_reg): Make the function static.
  4509. (parse_exp): Likewise.
  4510. 2000-06-20 DJ Delorie <dj@cygnus.com>
  4511. * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
  4512. Sept 1999; RVA relocs need to be treated more like DIR32 relocs
  4513. for cygwin import libraries to work properly.
  4514. 2000-06-20 H.J. Lu <hjl@gnu.org>
  4515. * Makefile.am: Rebuild dependency.
  4516. * Makefile.in: Rebuild.
  4517. * configure: Likewise.
  4518. * doc/Makefile.in: Likewise.
  4519. 2000-06-20 Timothy Wall <twall@cygnus.com>
  4520. * doc/internals.texi (CPU backend): Add @itemx for
  4521. TC_START_LABEL_WITHOUT_COLON.
  4522. * doc/c-tic54x.texi: New.
  4523. * doc/as.texinfo: Add tic54x features and include primary tic54x
  4524. documentation file.
  4525. * doc/all.texi: Add C54X.
  4526. * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
  4527. * doc/Makefile.in: Regenerate.
  4528. * configure.in: Add tic54x and define LIBM for tic54x.
  4529. * configure: Regenrate.
  4530. * config/tc-tic54x.[ch]: New.
  4531. * config/obj-coff.h: Add tic54x.
  4532. * Makefile.am: (CPU_TYPES): Add tic54x.
  4533. (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
  4534. (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
  4535. (as_new_LDADD): Add $(LIBM).
  4536. * Makefile.in: Regenerate.
  4537. 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
  4538. * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
  4539. * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
  4540. * doc/as.texinfo: Likewise.
  4541. * configure, Makefile.in: Regenerate.
  4542. * configure.in (emulations): Recognize m6811 and m6812.
  4543. * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
  4544. Added files for 68hc11 and 68hc12 assembler.
  4545. * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
  4546. * config/tc-m68hc11.h: Header definition for that assembler.
  4547. 2000-06-18 Nick Clifton <nickc@redhat.com>
  4548. * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
  4549. instead of OCTETS_PER_BYTE.
  4550. * config/tc-v850.c: Fix compile time warnings.
  4551. * config/tc-ppc.c: Fix compile time warnings.
  4552. 2000-06-18 H.J. Lu <hjl@gnu.org>
  4553. * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
  4554. * configure: Rebuild.
  4555. 2000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
  4556. * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
  4557. to BFD_ASSEMBLER.
  4558. 2000-06-16 Nick Clifton <nickc@cygnus.com>
  4559. * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
  4560. RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
  4561. * doc/c-mips.texi: Document newly accepted cpu variants.
  4562. 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
  4563. * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
  4564. 2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
  4565. * macro.c (getstring): Make it possible to escape the quote
  4566. character.
  4567. 2000-06-13 Catherine Moore <clm@redhat.com>
  4568. * config/tc-hppa.c (pa_export): Weak symbols can be global.
  4569. 2000-06-13 H.J. Lu <hjl@gnu.org>
  4570. * configure: Regenerate.
  4571. 2000-06-09 Alan Modra <alan@linuxcare.com.au>
  4572. * app.c (do_scrub_begin): Don't default lex[';'] as a line
  4573. separator.
  4574. * doc/internals.texi (line_separator_chars): Semicolon is no
  4575. longer a default. Mention null and newline as defaults.
  4576. * read.c (is_end_of_line): Remove ifdef TC_HPPA.
  4577. * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
  4578. * config/tc-i860.h (line_separator_chars): Likewise.
  4579. * config/tc-h8300.c (line_separator_chars): Likewise.
  4580. * config/tc-i960.c (line_separator_chars): Likewise.
  4581. * config/tc-m68k.c (line_separator_chars): Likewise.
  4582. * config/tc-mips.c (line_separator_chars): Likewise.
  4583. * config/tc-ns32k.c (line_separator_chars): Likewise.
  4584. * config/tc-sparc.c (line_separator_chars): Likewise.
  4585. * config/tc-vax.c (line_separator_chars): Likewise.
  4586. * config/tc-h8300.c (comment_chars): Use string initialiser.
  4587. * config/tc-i960.c (line_comment_chars): Likewise.
  4588. * config/tc-z8k.c (comment_chars, line_comment_chars,
  4589. line_separator_chars): Likewise.
  4590. * config/tc-arm.c (line_separator_chars): Always use `;', not just
  4591. for TE_LINUX.
  4592. 2000-06-08 Nick Clifton <nickc@cygnus.com>
  4593. * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
  4594. for size 1 fixes.
  4595. 2000-06-08 David O'Brien <obrien@FreeBSD.org>
  4596. * configure.in (VERSION): Update to show this is the CVS mainline.
  4597. 2000-06-08 Matthew Jacob <mjacob@feral.com>
  4598. * config/tc-alpha.c (md_undefined_symbol): Properly understand that
  4599. $at is the integer register $r28, vs. both $r28 and the floating
  4600. point register $f28.
  4601. 2000-06-08 James E. Wilson <wilson@cygnus.com>
  4602. * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
  4603. (dot_endp): Don't call ia64_flush_insns.
  4604. (emit_one_bundle): Don't delete prologue/body records from
  4605. unwind_record list in first loop. Rewrite second loop to account for
  4606. this.
  4607. 2000-06-07 David Mosberger <davidm@hpl.hp.com>
  4608. * config/tc-ia64.c: Add missing prototypes.
  4609. (generate_unwind_image): Cast argument to output_unw_records call.
  4610. 2000-06-07 Denis Chertykov <denisc@overta.ru>
  4611. * config/tc-avr.c (avr_operand): fix the formatting of the comment.
  4612. 2000-06-07 Denis Chertykov <denisc@overta.ru>
  4613. * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
  4614. (REGISTER_P): likewise.
  4615. (avr_opcodes): uses include/opcode/avr.h
  4616. (avr_operand): enable ld r,Z or st r,Z for at90s1200.
  4617. 2000-06-04 Alan Modra <alan@linuxcare.com.au>
  4618. * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
  4619. initializers too.
  4620. 2000-06-03 H.J. Lu <hjl@gnu.org>
  4621. * read.c (is_end_of_line): Put back `;'.
  4622. 2000-06-03 Alan Modra <alan@linuxcare.com.au>
  4623. * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
  4624. 2000-06-01 Alan Modra <alan@linuxcare.com.au>
  4625. * expr.c (operand): Test is_end_of_line outside switch to catch
  4626. line separator chars that are also operators.
  4627. (operator): Return O_illegal for line separator chars.
  4628. * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
  4629. entry (or `!' entry for TC_HPPA).
  4630. * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
  4631. before indexing is_end_of_line. Remove redundant check for '\0'.
  4632. (fp_op2): Likewise.
  4633. * config/tc-h8500.c (md_assemble): Likewise.
  4634. * config/tc-mcore.c (md_assemble): Likewise.
  4635. * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
  4636. (md_atof): Likewise
  4637. * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
  4638. is_end_of_line.
  4639. * config/tc-mcore.c (mcore_cons): Likewise.
  4640. (mcore_float_cons): Likewise.
  4641. (mcore_stringer): Likewise.
  4642. * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
  4643. 2000-06-01 Scott Bambrough <scottb@netwinder.org>
  4644. * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
  4645. 2000-05-29 Nick Clifton <nickc@cygnus.com>
  4646. * config/tc-sh.c: Fix compile time warning messages.
  4647. * config/tc-mips.c: Fix compile time warning messages.
  4648. 2000-05-29 Philip Blundell <philb@gnu.org>
  4649. * doc/as.texinfo: Update copyright dates.
  4650. (Local Labels): Delete misplaced mention of ARM.
  4651. * NEWS: Mention ARM ELF support.
  4652. 2000-05-27 Alexandre Oliva <aoliva@cygnus.com>
  4653. * config/tc-mn10300.c (md_assemble): Copy size to real_size before
  4654. it is modified, and use the real_size to compute the frag address
  4655. for dwarf2 line info.
  4656. 2000-05-27 Alan Modra <alan@linuxcare.com.au>
  4657. * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
  4658. line-matching scheme to cope with automake moving variables around.
  4659. ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
  4660. * Makefile.in: Regenerate.
  4661. 2000-05-26 Jakub Jelinek <jakub@redhat.com>
  4662. * config/tc-sparc.c (sparc_relax): New.
  4663. (md_longopts): Add -relax and -no-relax options.
  4664. (md_parse_options, md_show_usage): Likewise.
  4665. (md_apply_fix3): Optimize tail call into branch always if possible.
  4666. 2000-05-04 Donald Lindsay <dlindsay@cygnus.com>
  4667. * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
  4668. d10v_cleanup) implement Mitsubishi's newly explained branch-packing
  4669. rules, with warning when a GAS statement specifies a packing that
  4670. will result in an instruction being squashed.
  4671. Added typdef packing_type and enumerals, changed various integer
  4672. literals to use the enumerals.
  4673. 2000-05-24 David Mosberger <davidm@hpl.hp.com>
  4674. * config/tc-ia64.c (dot_restorereg_p): New function.
  4675. (md_pseudo_table): Add restorereg.p.
  4676. (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
  4677. (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
  4678. * config/tc-ia64.h (unw_record_type): Add unwabi.
  4679. (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
  4680. called MASK with members for imask, and the masks produced by
  4681. fr_mem, gr_mem, br_mem, and frgr_mem.
  4682. (unw_p_record): Add members ABI and CONTEXT.
  4683. (unw_x_record): Add member AB.
  4684. * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
  4685. as pseudo-register for use during unwind info generation.
  4686. (AR_PFS, AR_LC): New macros.
  4687. (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
  4688. whose names start with an at sign (as in "@priunat").
  4689. (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
  4690. register.
  4691. (unwind_list, unwind_tail, current_unwind_entry, proc_start,
  4692. proc_end, unwind_info, personality_routine): Consolidate into
  4693. "unwind" structure to reduce offset-table use. Add member
  4694. NEXT_SLOT_NUMBER to track the slot number for the next instruction
  4695. to be emitted.
  4696. (output_R1_format, output_R3_format, output_P3_format,
  4697. output_P6_format): Initialize R with zero to reduce compiler warnings.
  4698. (output_P7_format): Ditto. Add `default' branch to switch
  4699. statement to reduce compiler warnings.
  4700. (output_P8_format, output_B1_format, output_B4_format): Ditto.
  4701. (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
  4702. (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
  4703. into single argument.
  4704. (output_X1_format, output_X3_format): Initialize R with zero to reduce
  4705. compiler warnings. Merge A and B args into single argument.
  4706. (output_X2_format, output_X4_format): Remove unused variable R. Merge
  4707. A and B args into single argument.
  4708. (free_record): Removed (wasn't used).
  4709. (free_list_records): Also free imasks in prologue records.
  4710. (output_prologue, output_prologue_gr): Initialize mask bits to zero.
  4711. (output_spill_mask): Remove.
  4712. (output_unwabi): New function.
  4713. (output_epilogue, output_label_state, output_copy_state): Call
  4714. alloc_record.
  4715. (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
  4716. output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
  4717. argument.
  4718. (process_one_record): New locals FR_MASK and GR_MASK. Ignore
  4719. gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
  4720. as part of handling the prologue records. Emit region's imask if
  4721. we have one. Handle unwabi, epilogue, label_state, copy_state,
  4722. spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
  4723. spill_sprel_p, and spill_reg_p records.
  4724. (set_imask, count_bits, slot_index): New function.
  4725. (fixup_unw_records): Fix region size computation. Handle
  4726. epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
  4727. spill_sprel_p, and spill_psprel_p records. Merge mask bits of
  4728. frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
  4729. set_imask accordingly. Update imask for gr_gr, and br_gr records.
  4730. (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
  4731. (dot_save): Use manifest constants for applicaton registers.
  4732. Handle REG_PR and REG_PRIUNAT.
  4733. (dot_restore): Don't just ignore it.
  4734. (dot_restorereg): New function..
  4735. (generate_unwind_image): Ensure unwind info is a multiple of eight
  4736. bytes, not just four bytes.
  4737. (dot_handlerdata, dot_unwentry): Demand empty rest of line.
  4738. (dot_altrp): Don't just ignore it.
  4739. (dot_savemem): New function. Replaces dot_savesp() and
  4740. dot_savepsp(). Use manifest constants for applicaton registers.
  4741. Handle REG_PR and REG_PRIUNAT.
  4742. (dot_savef): Simplify.
  4743. (dot_saveb): Support generation of br_gr.
  4744. (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
  4745. dot_label_state, dot_copy_state): New function.
  4746. (dot_unwabi): Don't just ignore it.
  4747. (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
  4748. spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
  4749. unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
  4750. (emit_one_bundle): Set slot number for prologue/body records
  4751. *before* emitting the first insn.
  4752. (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
  4753. (md_begin): Declare "psp" pseudo-register.
  4754. (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
  4755. so we don't get segfault.
  4756. (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
  4757. counts as required per SW Conventions manual
  4758. (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
  4759. output_preds_psprel, output_preds_sprel, output_spill_base,
  4760. output_unat_psprel, output_unat_sprel, output_lc_psprel,
  4761. output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
  4762. output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
  4763. output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
  4764. output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
  4765. output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
  4766. (dot_vframe): Implement.
  4767. (dot_vframesp, dot_vframepsp): New function.
  4768. 2000-05-23 Hans-Peter Nilsson <hp@axis.com>
  4769. * configure.in (i386-*-freebsd a.out entry): Quote properly.
  4770. * configure: Regenerate.
  4771. 2000-05-23 Alan Modra <alan@linuxcare.com.au>
  4772. * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
  4773. (md_estimate_size_before_relax): so we can use it here instead of
  4774. old kludges. Localise vars to blocks. Comment.
  4775. * frags.c (frag_new): Update fr_var comments.
  4776. * frags.h (struct frag): Ditto.
  4777. 2000-05-22 Richard Henderson <rth@cygnus.com>
  4778. * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
  4779. (pseudo_func): Add pcrel.
  4780. (operand_match): Handle IA64_OPND_TGT64.
  4781. (build_insn): Likewise.
  4782. (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
  4783. (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
  4784. (fix_insn): Handle all three 64-bit relocation types.
  4785. 2000-05-22 Hans-Peter Nilsson <hp@axis.com>
  4786. * obj.h (struct format_ops): New members begin, app_file,
  4787. s_set_other, s_set_desc, s_get_type, s_set_type,
  4788. separate_stab_sections, init_stab_section.
  4789. * config/obj-multi.h: Update GPL notice to v2.
  4790. (obj_begin): New.
  4791. (obj_app_file): New.
  4792. (S_SET_SIZE): Test s_set_size for NULL before calling.
  4793. (S_SET_ALIGN): Similar for s_set_align.
  4794. (S_SET_OTHER): New.
  4795. (S_SET_DESC): New.
  4796. (S_GET_TYPE): New.
  4797. (S_SET_TYPE): New.
  4798. (SEPARATE_STAB_SECTIONS): New.
  4799. (INIT_STAB_SECTION): New.
  4800. (EMIT_SECTION_SYMBOLS): New.
  4801. (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
  4802. * config/obj-elf.h: Update GPL notice to v2.
  4803. Mention that this file is included from obj-multi.h.
  4804. (obj_begin): Wrap definition in ifndef.
  4805. (elf_file_symbol): Constify declaration.
  4806. (obj_app_file): Ditto.
  4807. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
  4808. Wrap in ifndef SEPARATE_STAB_SECTIONS.
  4809. * config/obj-elf.c (elf_s_set_other): New.
  4810. (elf_file_symbol): Constify argument.
  4811. (elf_separate_stab_sections): New.
  4812. (elf_init_stab_section): New.
  4813. (elf_format_ops): Add new members. Remove comma at end.
  4814. * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
  4815. (ecoff_format_ops): Add new fields. Remove comma at end.
  4816. Mention inconsistency for emit_section_symbols.
  4817. * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
  4818. * config/obj-coff.c (c_dot_file_symbol): Constify argument.
  4819. (coff_separate_stab_sections): New.
  4820. (coff_format_ops): Add new members.
  4821. * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
  4822. (obj_aout_s_set_other): New.
  4823. (obj_aout_s_set_desc): New.
  4824. (obj_aout_s_get_type): New.
  4825. (obj_aout_s_set_type): New.
  4826. (obj_aout_separate_stab_sections): New.
  4827. (aout_format_ops): New members added. Use obj_aout_process_stab,
  4828. not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
  4829. (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
  4830. appropriate.
  4831. (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
  4832. 2000-05-22 Alan Modra <alan@linuxcare.com.au>
  4833. * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
  4834. for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
  4835. (md_estimate_size_before_relax): Ensure jumps to weak and
  4836. externally visible symbols are relocatable.
  4837. 2000-05-20 Hans-Peter Nilsson <hp@axis.com>
  4838. * stabs.c (aout_process_stab): Make global.
  4839. (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
  4840. * read.h (aout_process_stab): Declare.
  4841. * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
  4842. Generalize to *aout, *coff *elf.
  4843. * configure: Regenerated.
  4844. * doc/internals.texi (Object format backend): Say
  4845. SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
  4846. * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
  4847. * Makefile.in: Regenerated.
  4848. 2000-05-19 Catherine Moore <clm@cygnus.com>
  4849. * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
  4850. 2000-05-18 Alan Modra <alan@linuxcare.com.au>
  4851. * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
  4852. instruction to reflect change in re_assemble_*.
  4853. 2000-05-18 Jeffrey A Law (law@cygnus.com)
  4854. * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
  4855. build PA64 ELF tools.
  4856. * configure: Rebuilt.
  4857. 2000-05-17 Alan Modra <alan@linuxcare.com.au>
  4858. * Makefile.am: Regenerate dependencies.
  4859. * Makefile.in: Regenerate.
  4860. 2000-05-15 Nick Clifton <nickc@cygnus.com>
  4861. * config/tc-arm.c (struct asm_psr): Add boolean field
  4862. distinguishing between CSPR and SPSR. Rename 'number' field
  4863. to 'field'.
  4864. (psrs): Rearrange contents to match new asm_psr structure.
  4865. (arm_psr_parse): Move next to psr_required_here. Make it
  4866. return an asm_psr structure.
  4867. (psr_required_here): Use asm_psr structure returned by
  4868. arm_psr_parse.
  4869. (do_msr): Reorganise to allow psr_required_here to be called
  4870. only once.
  4871. (md_undefined_name): Mark 'name' parameter as unused, since
  4872. the COFF target does not use it.
  4873. 2000-05-14 David O'Brien <obrien@FreeBSD.org>
  4874. * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
  4875. standards.
  4876. * config/te-aux.h: Likewise.
  4877. * config/te-dpx2.h: Likewise.
  4878. * config/te-go32.h: Likewise.
  4879. * config/te-hp300.h: Likewise.
  4880. * config/te-hppa.h: Likewise.
  4881. * config/te-i386aix.h: Likewise.
  4882. * config/te-ic960.h: Likewise.
  4883. * config/te-interix.h: Likewise.
  4884. * config/te-nbsd532.h: Likewise.
  4885. * config/te-pc532mach.h: Likewise.
  4886. * config/te-ppcnw.h: Likewise.
  4887. * config/te-psos.h: Likewise.
  4888. * config/te-sparcaout.h: Likewise.
  4889. * config/te-sun3.h: Likewise.
  4890. * config/te-sysv32.h: Likewise.
  4891. 2000-05-14 Alan Modra <alan@linuxcare.com.au>
  4892. * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
  4893. bits. Instead explicitly mask and sign extend. Do the 8 bit mask
  4894. and sign extend without an if statement.
  4895. (build_bytes): Likewise.
  4896. 2000-05-14 Kazu Hirata <kazu@hxi.com>
  4897. * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
  4898. X_add_symbol L_32 case.
  4899. 2000-05-14 David O'Brien <obrien@FreeBSD.org>
  4900. * config/te-freebsd.h: New file.
  4901. 2000-05-13 Alan Modra <alan@linuxcare.com.au>
  4902. * asintl.h (gettext, dgettext, dcgettext, textdomain,
  4903. bindtextdomain): Replace defines with those from intl/libgettext.h
  4904. to quieten gcc warnings.
  4905. * NEWS: Mention x86 .arch and -q.
  4906. * config/tc-i386.c (quiet_warnings): New.
  4907. (md_assemble): Use quiet_warnings.
  4908. (md_parse_option): Set quiet_warnings from -q.
  4909. (md_show_usage): Mention -q, delete -m.
  4910. (flag_do_long_jump): Delete.
  4911. (md_parse_option): Remove -m.
  4912. (md_show_usage): Remove -m.
  4913. (md_create_long_jump): Remove useless flag_do_long_jump code.
  4914. * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
  4915. the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
  4916. 2000-05-13 Alan Modra <alan@linuxcare.com.au>
  4917. Alexander Sokolov <robocop@netlink.ru>
  4918. * doc/c-i386.texi (i386-Arch): New section.
  4919. (i386-Syntax): Mention .intel_syntax and .att_syntax.
  4920. * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
  4921. (smallest_imm_type): Use smallest opcode for shift by one if cpu
  4922. architecture has been given and is not 486.
  4923. (set_cpu_arch): New.
  4924. (md_pseudo_table): Add .arch.
  4925. (md_assemble): Warn if cpu architecture has been given and an
  4926. unsupported instruction.
  4927. * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
  4928. Move operand_types bit defines after relevant template field.
  4929. (template): Add cpu_flags.
  4930. (Cpu*): Define.
  4931. (arch_entry): New.
  4932. 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
  4933. * config/tc-mn10300.h (md_end): Define.
  4934. (mn10300_finalize): Declare.
  4935. * config/tc-mn10300.c: Include dwarf2dbg.h.
  4936. (debug_line): Define.
  4937. (md_assemble): Generate dwarf2 line info.
  4938. (mn10300_finalize): New function. Finalize dwarf2 info.
  4939. 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
  4940. * config/tc-mips.c (md_estimate_size_before_relax): Use the
  4941. external version of the relocation for weak symbols.
  4942. 2000-05-08 David Mosberger <davidm@hpl.hp.com>
  4943. * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
  4944. frame size in units of 16 bytes, as required per SW Conventions manual.
  4945. (output_unw_records): Output info-block header as a dword to get
  4946. byte-order right.
  4947. 2000-05-08 Alan Modra <alan@linuxcare.com.au>
  4948. * as.h: #include "file", not <file> on files from ../include.
  4949. (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
  4950. * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
  4951. (md_convert_frag): Add ATTRIBUTE_UNUSED.
  4952. (tc_coff_symbol_emit_hook): Ditto.
  4953. (OPTCOUNT): Cast to int to avoid compiler warning.
  4954. (md_begin): Fix signed/unsigned warnings.
  4955. 2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  4956. * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
  4957. ABRANCH LONG case for a conditional branch on a 68000.
  4958. (md_estimate_size_before_relax): Likewise. Also handle
  4959. flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
  4960. (m68k-ip: case ABSL): Relax absolute references to 16-bit
  4961. PC-relative on all CPUs.
  4962. (md_estimate_size_before_relax): Likewise.
  4963. 2000-05-04 Alan Modra <alan@linuxcare.com.au>
  4964. * as.c (parse_args): Just mention current year in printed
  4965. copyright message.
  4966. 2000-05-03 J.T. Conklin <jtc@redback.com>
  4967. * config/tc-ppc.c (pre_defined_registers): Add entries for vector
  4968. unit registers.
  4969. (md_parse_option): Recognize -m7400.
  4970. 2000-05-03 Ian Lance Taylor <ian@zembu.com>
  4971. * config/atof-ieee.c (gen_to_words): When adding carry back in,
  4972. don't permit lp to become less than the words array.
  4973. 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
  4974. config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
  4975. Fix little-endian case.
  4976. 2000-05-03 David O'Brien <obrien@NUXI.com>
  4977. * as.c (parse_args): Update copyright.
  4978. 2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
  4979. * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
  4980. for the .bss section too.
  4981. 2000-05-02 Alan Modra <alan@linuxcare.com.au>
  4982. * configure.in: Set em=linux for hppa-*-linux.
  4983. * configure: Regenerate.
  4984. * doc/Makefile.in: Regenerate with correct automake.
  4985. * frags.c (frag_grow): Sanity check chunk_size.
  4986. * config/obj-elf.h: #include "bfd.h" not <bfd.h>
  4987. * config/obj-som.h: Likewise.
  4988. * config/obj-ieee.h: Likewise.
  4989. * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
  4990. * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
  4991. (md_pseudo_table): Fully initialise OBJ_ELF cases.
  4992. (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
  4993. (pa_ip): low_sign_unext now returns via function value. Use
  4994. re_assemble_* instead of dis_assemble_* and
  4995. INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
  4996. unnecessarily.
  4997. (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
  4998. (md_section_align, md_parse_option, md_show_usage,
  4999. md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
  5000. pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
  5001. pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
  5002. pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
  5003. pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
  5004. pa_text): Likewise.
  5005. (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
  5006. w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
  5007. outside of switch. Correct mask and shifting errors in case 10
  5008. and case -11. In case 21, compare against signed range to suit
  5009. hppa_field_adjust changes. In case 12, use re_assemble_12. In
  5010. case 17 and case 22, use offsetT variable to properly check range.
  5011. Use re_assemble_* here too.
  5012. (evaluate_absolute): Change type of value to offsetT. Call
  5013. hppa_field_adjust to do the work for us.
  5014. (pa_parse_cmpb_64_cmpltr): Delete save_s.
  5015. (pa_parse_cmpib_64_cmpltr): Ditto.
  5016. (pa_build_unwind_subspace): Delete unused var subseg. Change type
  5017. of i to unsigned int.
  5018. (pa_type_args): Conditionally declare symbol if OBJ_SOM.
  5019. (pa_end_of_source): Return type is void.
  5020. 2000-05-01 Catherine Moore <clm@cygnus.com>
  5021. * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
  5022. 2000-05-01 Denis Chertykov <denisc@overta.ru>
  5023. * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
  5024. More comments added.
  5025. (md_begin): Removed "construct symbols for each register name".
  5026. Because register names conflicts with GCC generated function
  5027. names.
  5028. (avr_operand): Now constant numbers can be used as a register
  5029. identifiers (0 as r0, 31 as r31).
  5030. (md_assemble): use skip_space () before parsing instruction
  5031. operands.
  5032. 2000-05-01 Alan Modra <alan@linuxcare.com.au>
  5033. * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
  5034. ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
  5035. arm-*-netbsd* and arm-*-wince as this is set for all arm*.
  5036. * configure: Regenerate.
  5037. 2000-04-29 Andreas Jaeger <aj@suse.de>
  5038. * as.h: Correctly check GCC version.
  5039. 2000-04-26 David O'Brien <obrien@FreeBSD.org>
  5040. * doc/as.1: Fix unbalanced brackets.
  5041. * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
  5042. TE_FreeBSD.
  5043. (line_comment_chars): Set to '/' if TE_FreeBSD.
  5044. 2000-04-25 Jeffrey A Law (law@cygnus.com)
  5045. * configure.in: Configury support for PA64 (currently disabled).
  5046. * configure: Rebuilt.
  5047. 2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
  5048. * config/tc-mips.c (s_change_sec): Use record_alignment, not
  5049. bfd_set_section_alignment.
  5050. 2000-04-25 Alan Modra <alan@linuxcare.com.au>
  5051. * config/tc-i386.c (offset_in_range): Ensure shift counts are less
  5052. than 32.
  5053. 2000-04-24 Nick Clifton <nickc@cygnus.com>
  5054. * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
  5055. * doc/as.texinfo (Align): Include arm and strongarm in list of
  5056. targets that have the second form of the behaviour of the .align
  5057. directive.
  5058. 2000-04-24 Mark Klein <mklein@dis.com>
  5059. * config/obj-som.c: Terminate obj_pseudo_table.
  5060. 2000-04-24 Clinton Popetz <cpopetz@cygnus.com>
  5061. * as.c (parse_args): Allow md_parse_option to override -a listing
  5062. option.
  5063. * config/obj-coff.c (add_lineno): Change type of offset parameter
  5064. from "int" to "bfd_vma."
  5065. * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
  5066. (ppc_mach, ppc_subseg_align, ppc_target_format): New.
  5067. (ppc_change_csect): Align correctly for XCOFF64.
  5068. (ppc_machine): New function, which discards "ppc_machine" line.
  5069. (ppc_tc): Cons for 8 when code is 64 bit.
  5070. (md_apply_fix3): Don't check operand->insert. Handle 64 bit
  5071. relocations.
  5072. (md_parse_option): Handle -a64 and -a32.
  5073. (ppc_xcoff64): New.
  5074. * config/tc-ppc.h (TARGET_MACH): Define.
  5075. (TARGET_FORMAT): Move to function.
  5076. (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
  5077. 2000-04-23 Denis Chertykov <denisc@overta.ru>
  5078. * config/tc-avr.c: New AVR_ISA_ defined.
  5079. (md_assemble): Handle opcodes with optional operands (lpm,elpm).
  5080. (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
  5081. for `fmul', `movw' and `lpm R,Z' instructions.
  5082. (avr_operands): Warn if current opcode is a two-word instruction
  5083. and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
  5084. (avr_opcodes): New commands added.
  5085. (REGISTER_P): Check 'a' and 'v' constraint letters.
  5086. (mcu_types): New MCU added.
  5087. 2000-04-22 Timothy Wall <twall@cygnus.com>
  5088. * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
  5089. to "natval".
  5090. (operand_match): Conditionally insert default bit values for IMMU9.
  5091. 2000-04-14 Matthew Green <mrg@cygnus.com>
  5092. * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
  5093. * configure: Rebuilt.
  5094. 2000-04-21 Jeffrey A Law (law@cygnus.com)
  5095. Jason Eckhardt <jle@cygnus.com>
  5096. * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
  5097. * config/tc-hppa.c (CHECK_ALIGN): New macro.
  5098. Added handling of new operand types l,y,&,fe,fE,fx.
  5099. 2000-04-21 Richard Henderson <rth@cygnus.com>
  5100. David Mosberger <davidm@hpl.hp.com>
  5101. Timothy Wall <twall@cygnus.com>
  5102. Andrew MacLeod <amacleod@cygnus.com>
  5103. Jim Wilson <wilson@cygnus.com>
  5104. * Makefile.am (CPU_TYPES): Add ia64.
  5105. (TARGET_CPU_CFILES): Add config/tc-ia64.c.
  5106. (TARGET_CPU_HFILES): Add config/tc-ia64.h.
  5107. * Makefile.in: Rebuild.
  5108. * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
  5109. * configure: Rebuild.
  5110. * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
  5111. (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
  5112. * expr.c (expr): Handle md_optimize_expr.
  5113. * read.c (LEX_HASH): Add comment.
  5114. * config/tc-ia64.c, config/tc-ia64.h: New files.
  5115. 2000-04-21 Richard Henderson <rth@cygnus.com>
  5116. * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
  5117. bundling a non-delayed branch type instruction.
  5118. 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
  5119. * config/tc-mn10300.c (HAVE_AM30): Define.
  5120. (md_assemble): Use it.
  5121. 2000-04-19 Alan Modra <alan@linuxcare.com.au>
  5122. * config/obj-elf.c (obj_elf_change_section): Check for changed
  5123. section attributes.
  5124. * Makefile.am: (CPU_MULTI_VALID): Remove.
  5125. (MULTI_CPU_TYPES): Define.
  5126. (MULTI_CPU_OBJ_VALID): Define.
  5127. (DEPTC): Use the above.
  5128. (DEPOBJ): Same here.
  5129. (DEP2): And here.
  5130. Regenerate dependencies.
  5131. * Makefile.in: Regenerate.
  5132. 2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  5133. * Makefile.am (YACC, LEX): Get them from configure.
  5134. 2000-04-18 H.J. Lu (hjl@gnu.org)
  5135. * config/tc-i386.c (offset_in_range): Use addressT instead of
  5136. bfd_vma for non-bfd assemblers.
  5137. 2000-04-17 Alan Modra <alan@linuxcare.com.au>
  5138. * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
  5139. doesn't give spurious errors.
  5140. 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  5141. * as.h (SEEK_SET): Define if undefined.
  5142. 2000-04-13 Alan Modra <alan@linuxcare.com.au>
  5143. * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
  5144. constants, and don't assume offsetT is 32 bits.
  5145. 2000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
  5146. * config/tc-d10v.h: Include "write.h" to get definition of fixS.
  5147. (md_pcrel_from_section): Add prototype.
  5148. (d10v_fix_adjustable): Add prototype.
  5149. (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
  5150. * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
  5151. 2000-04-12 Nick Clifton <nickc@cygnus.com>
  5152. * config/tc-d10v.c (find_opcode): Correctly calculate position of
  5153. symbol in frag chain.
  5154. 2000-04-10 Alan Modra <alan@linuxcare.com.au>
  5155. * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
  5156. (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
  5157. (fits_in_signed_word, smallest_imm_type): Ditto.
  5158. (md_assemble): Use an offsetT var to hold offsetT values, not a
  5159. long.
  5160. (offset_in_range): New.
  5161. (md_assemble): Use it.
  5162. (md_convert_frag): Change type of target_address, opcode_address,
  5163. and displacement_from_opcode_start to offsetT.
  5164. (md_create_short_jump): Change type of offset to offsetT.
  5165. (md_create_long_jump): Ditto.
  5166. (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
  5167. (md_chars_to_number): Remove.
  5168. (output_invalid): Remove duplicate prototype.
  5169. 2000-04-09 Nick Clifton <nickc@cygnus.com>
  5170. * Makefile.am (CPU_TYPES): Add 'avr'.
  5171. (TARGET_CPU_CFILES): Add 'tc-avr.c'.
  5172. (TARGET_CPU_HFILES): Add 'tc-avr.h'.
  5173. * Makefile.in: Regenerate.
  5174. * doc/as.texinfo: Add M32R documentation.
  5175. 2000-04-07 Andrew Cagney <cagney@b1.cygnus.com>
  5176. * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
  5177. --enable-build-warnings option.
  5178. * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
  5179. * Makefile.in, configure: Re-generate.
  5180. 2000-04-07 Nick Clifton <nickc@cygnus.com>
  5181. * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
  5182. in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
  5183. BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
  5184. (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
  5185. (arm_force_relocation): Force relocations for
  5186. BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
  5187. 2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk>
  5188. * config/tc-sh.c (get_operands): There's no third operand if the
  5189. first operand is an immediate.
  5190. 2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk>
  5191. * config/tc-sh.c (immediate): Delete.
  5192. (sh_operand_info): Add immediate member.
  5193. (parse_reg): Use A_PC for pc.
  5194. (parse_exp): Add second argument 'op'. All callers changed.
  5195. (parse_at): Expect pc to be coded as A_PC.
  5196. Use immediate field in *op.
  5197. (insert): Add fourth argument 'op'. All callers changed.
  5198. (build_relax): Add second argument 'op'. All callers changed.
  5199. (insert_loop_bounds): New function.
  5200. (build_Mytes): Remove DISP_4.
  5201. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
  5202. (assemble_ppi): Use immediate field in *operand.
  5203. (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
  5204. (md_apply_fix): Likewise.
  5205. (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
  5206. 2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  5207. * config/tc-sparc.c (sparc_ip): Avoid string pasting.
  5208. 2000-04-04 Hans-Peter Nilsson <hp@axis.com>
  5209. * internals.texi (CPU backend): Document
  5210. TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
  5211. 2000-04-04 Alan Modra <alan@linuxcare.com.au>
  5212. * po/gas.pot: Regenerate.
  5213. * as.c (show_usage): Restore translated part of bug string.
  5214. * gasp.c (show_usage): Likewise.
  5215. * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
  5216. (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
  5217. than move-if-change.
  5218. (DEP1): Modify for "gcc -MM".
  5219. (DEPTC): Likewise.
  5220. (DEPOBJ): Likewise.
  5221. (DEP2): Likewise.
  5222. (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
  5223. Update dependencies.
  5224. * Makefile.in: Regenerate.
  5225. 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
  5226. * config/tc-mn10300.c (md_pseudo_table): Use constant names.
  5227. (md_begin): Likewise.
  5228. (HAVE_AM33): New macro.
  5229. (md_assemble): Use it. Match r_regs and xr_regs only if
  5230. HAVE_AM33.
  5231. 2000-04-03 Alan Modra <alan@linuxcare.com.au>
  5232. * as.h: #include "bin-bugs.h"
  5233. * as.c (show_usage): Use REPORT_BUGS_TO.
  5234. * gasp.c: #include "bin-bugs.h"
  5235. (show_usage): Use REPORT_BUGS_TO.
  5236. * config/tc-sparc.c (md_show_usage): Add a trailing newline.
  5237. 2000-04-03 Hans-Peter Nilsson <hp@axis.com>
  5238. * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
  5239. call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
  5240. adjustments.
  5241. 2000-04-03 Alan Modra <alan@linuxcare.com.au>
  5242. * config/tc-i386.c (i386_immediate): Don't assume a constant
  5243. immediate is necessarily 16 bits when in 16 bit code mode.
  5244. (md_assemble): Instead set guess_suffix here after we have checked
  5245. registers.
  5246. 2000-04-02 Richard Henderson <rth@cygnus.com>
  5247. * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
  5248. quantities. Correct right shift sign extension.
  5249. (build_insn): Make `number' unsigned long. Mask top 6 bits of
  5250. 32-bit value when shifting into place.
  5251. 2000-04-01 Ian Lance Taylor <ian@zembu.com>
  5252. * app.c: Add ATTRIBUTE_UNUSED as needed.
  5253. * config/tc-ppc.c: Likewise.
  5254. (ppc_size): Make unsigned long.
  5255. (ppc_insert_operand): Add casts to avoid warnings.
  5256. 2000-03-31 Nick Clifton <nickc@cygnus.com>
  5257. * config/tc-d10v.h (md_flush_pending_output): Define.
  5258. 2000-03-29 Nick Clifton <nickc@cygnus.com>
  5259. * config/tc-sh.h (SEG_NAME): New macro: return the name of a
  5260. segment. Works for both BFD_ASSEMBLER and others.
  5261. (SUB_SEGMENT_ALIGN): Use SEG_NAME.
  5262. 2000-03-29 Nick Clifton <nickc@cygnus.com
  5263. * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
  5264. 2000-03-28 Alan Modra <alan@linuxcare.com.au>
  5265. * listing.c (LISTING_LHS_WIDTH): Default depends on
  5266. LISTING_WORD_SIZE.
  5267. (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
  5268. 2000-03-27 Ian Lance Taylor <ian@zembu.com>
  5269. * config/tc-sh.c (md_show_usage): Use backslash before newline in
  5270. string literal.
  5271. 2000-03-27 Alan Modra <alan@linuxcare.com.au>
  5272. * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
  5273. * config/tc-avr.c (mcu_types): Add missing initialiser.
  5274. (md_pcrel_from_section): Add prototype.
  5275. (avr_operand): Remove redundant test of unsigned < 0.
  5276. (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
  5277. 2000-03-27 Denis Chertykov <denisc@overta.ru>
  5278. * config/tc-avr.c: New file for AVR support.
  5279. * config/tc-avr.h: Likewise.
  5280. * configure.in: Add AVR support.
  5281. * configure: Regenerate.
  5282. 2000-03-26 Timothy Wall <twall@cygnus.com>
  5283. * gasp.c (macro_op): Add new argument to check_macro call.
  5284. Macro structure definitions moved to macro.h
  5285. * sb.h: Add argument to prototype for input_scrub_include_sb.
  5286. * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
  5287. nesting checks with an additional flag.
  5288. (struct input_save): Add flag to indicate whether current sb
  5289. should be checked for proper macro/conditional nesting.
  5290. (input_scrub_push/pop): Save/restore nest check flag.
  5291. (input_scrub_next_buffer): Ditto. Also call end of macro hook if
  5292. defined.
  5293. * macro.c (check_macro): Allow caller to retrieve parsed macro
  5294. information if a pointer is provided. This information may be
  5295. used by the new macro hooks.
  5296. * macro.h: Update prototype for check_macro. Macro struct
  5297. definitions moved here from macro.c/gasp.c.
  5298. * read.c (read_a_source_file): Add parameter to check_macro call,
  5299. and pass macro info to the macro hook, if defined.
  5300. (input_scrub_insert_line): New. Allow insertion of a line of
  5301. characters into the input stream.
  5302. (input_scrub_insert_file): New. Allow insertion of an arbitrary
  5303. file into the input stream.
  5304. (s_include): Use input_scrub_insert_file.
  5305. * internals.texi: Document new macro hooks.
  5306. * as.h: New prototypes added.
  5307. 2000-03-26 Alan Modra <alan@linuxcare.com.au>
  5308. * config/tc-i386.c: Don't start any as_bad or as_warn message with
  5309. an initial capital letter.
  5310. (i386_index_check): Reindent.
  5311. 2000-03-19 Nick Clifton <nickc@cygnus.com>
  5312. * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
  5313. relative branches.
  5314. 2000-03-17 Thomas de Lellis <tdel@windriver.com>
  5315. * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
  5316. instruction operand bad if Rd > 7 when generating
  5317. thumb instructions. Prevents for example,
  5318. "adr r12,label" from silently failing and generating
  5319. the wrong instruction.
  5320. 2000-03-17 Nick Clifton <nickc@cygnus.com>
  5321. * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
  5322. that have a destingation >= 0x400000.
  5323. Fix compile time warning messages.
  5324. 2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
  5325. * config/tc-sh.c (md_begin): When encountering insn that are
  5326. not supported by the current arch, only change the name if
  5327. its contents are the same as prev_name.
  5328. (get_specific): If the the architecture doesn't match, fail.
  5329. 2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
  5330. * config/tc-sh.c (IDENT_CHAR): Define.
  5331. (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
  5332. matching back where it came from.
  5333. 2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk>
  5334. * config/tc-sh.c (md_show_usage): Add description of -dsp.
  5335. 2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
  5336. * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
  5337. normal operands.
  5338. 2000-03-15 Kazu Hirata <kazu@hxi.com>
  5339. * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
  5340. 2000-03-13 Hans-Peter Nilsson <hp@axis.se>
  5341. * expr.c (operand) [case 'f']: When testing if '0f' can start a
  5342. floating-point-number, make sure 'f' is in FLT_CHARS.
  5343. 2000-03-11 Hans-Peter Nilsson <hp@axis.se>
  5344. * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
  5345. (s_lcomm_internal): Use it.
  5346. * doc/internals.texi (CPU backend): Document it.
  5347. * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
  5348. bytes.
  5349. 2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
  5350. * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
  5351. when embedded-pic.
  5352. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
  5353. implementation doesn't have special handling for switch
  5354. statements.
  5355. (macro_build): Allow for code in sections other than .text.
  5356. (macro): Likewise.
  5357. (mips_ip): Likewise.
  5358. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
  5359. Don't perform relocs if we will be outputting them.
  5360. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
  5361. relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
  5362. embedded-pic.
  5363. 2000-03-09 Catherine Moore <clm@cygnus.com>
  5364. * config/tc-m32r.c (m32r_fix_adjustable): Look up the
  5365. relocation type based on the entry in the fixup structure.
  5366. Put S_IS_EXTERN processing back in.
  5367. 2000-03-08 H.J. Lu (hjl@gnu.org)
  5368. * Makefile.am (install-exec-tooldir): Depend on
  5369. install-exec-bindir for parallel make.
  5370. * Makefile.in: Regenerated.
  5371. 2000-03-06 Nick Clifton <nickc@cygnus.com>
  5372. * config/tc-m32r.c (struct md_longopts): Add -m32r command line
  5373. switch.
  5374. (md_parse_option): Parse -m32r command line switch - disable m32rx
  5375. compatability.
  5376. (md_show_usage): Document new option.
  5377. * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
  5378. * doc/Makefile.in: Regenerate.
  5379. * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
  5380. 2000-03-02 Michael Meissner <meissner@redhat.com>
  5381. * config/tc-d30v.c (check_range): Remove code that incorrectly
  5382. sign extended values where bits < 32.
  5383. 2000-03-02 H.J. Lu (hjl@gnu.org)
  5384. * configure.in: Support --enable-targets=all on ia32.
  5385. * configure: Regenerated.
  5386. 2000-03-01 Nick Clifton <nickc@cygnus.com>
  5387. * gasp.c (do_align): Remove bogus check of alignment value.
  5388. 2000-02-27 Thomas de Lellis <tdel@windriver.com>
  5389. * config/obj-elf.c (elf_frob_symbol): Remove code which when
  5390. TC_PPC was defined forced the type of a symbol with no other type
  5391. to be BSF_OBJECT.
  5392. 2000-02-27 Hans-Peter Nilsson <hp@axis.com>
  5393. * doc/internals.texi (CPU backend): Mention that
  5394. line_separator_chars do not break up comments. Fix typos for
  5395. LEX_AT and LEX_NAME descriptions. Document operands for
  5396. TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
  5397. description of md_create_short_jump usage. Document argument for
  5398. md_undefined_symbol.
  5399. 2000-02-27 Jakub Jelinek <jakub@redhat.com>
  5400. * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
  5401. (md_parse_option): Handle it.
  5402. (md_show_usage): Document it.
  5403. 2000-02-27 Ian Lance Taylor <ian@zembu.com>
  5404. * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
  5405. opcode, for the instruction `pal19'. From Andrea Arcangeli
  5406. <andrea@suse.de>.
  5407. 2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
  5408. * config/tc-i386.c (i386_immediate): Move constant operand sizing
  5409. from here..
  5410. (md_assemble): To here, before template operands are matched.
  5411. Also ensure a constant immediate is sign extended when we know the
  5412. size is at most 16 bits. This is to catch cases like "add
  5413. $0xffc0,%ax" where we don't know the size, and thus that the
  5414. immediate can be represented as Imm8S until after parsing the
  5415. register operand.
  5416. (i386_displacement): Similarly sign extend 16 bit constant
  5417. displacements.
  5418. (md_assemble): Relax 16-bit jump constant range check to suit sign
  5419. extended displacements.
  5420. 2000-02-26 Andreas Jaeger <aj@suse.de>
  5421. * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
  5422. 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
  5423. * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
  5424. call operands when intel_syntax.
  5425. (intel_float_operand): Return 2 for "fi...".
  5426. (i386_operand_modifier): Change "DWORD PTR" test to suit above.
  5427. Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
  5428. earlier "SHORT" change.
  5429. (md_assemble): When determining suffix from Regs, exclude
  5430. InOutPortReg.
  5431. 2000-02-24 Nick Clifton <nickc@cygnus.com>
  5432. * configure: Add arm-wince, mips-pe and sh-pe targets.
  5433. * configure: Regenerate.
  5434. * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
  5435. sh-pe targets.
  5436. (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
  5437. "pe-mips" for the mips-pe target.
  5438. * config/tc-arm.c (insns): Change displacement encoded in BL
  5439. and B instructions if the target port is arm-wince.
  5440. (do_ldst): Do not bias the relocation offset if the target
  5441. port is arm-wince.
  5442. (md_pcrel_from): Add in missing relocation offset bias if the
  5443. target os arm-wince.
  5444. * config/tc-mips.c (mips_target_format): Support COFF flavour.
  5445. (md_begin): Disable -G support for mips-pe target.
  5446. (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
  5447. * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
  5448. COFF flavour.
  5449. * config/tc-sh.c (md_begin): sh-pe target is little endian.
  5450. * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
  5451. assembler, just set the alignment to 4.
  5452. * config/te-wince-pe.h: New file for WinCE targets. Define
  5453. TE_WINCE.
  5454. 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
  5455. * config/tc-i386.c (md_assemble): Swap segments too for intel mode
  5456. string instructions.
  5457. (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
  5458. (i386_intel_memory_operand): After finding a segment override,
  5459. check again for no `[' before looking for a displacement. Bomb if
  5460. more than one displacement rather than silently discarding the
  5461. second and subsequent ones. Free strings malloc'd by
  5462. build_displacement_string.
  5463. 2000-02-24 Catherine Moore <clm@cygnus.com>
  5464. * config/obj-som.c (obj_pseudo_table): Add "weak".
  5465. (obj_som_weak): New routine.
  5466. 2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
  5467. * config/tc-i386.c (union i386_op): New.
  5468. (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
  5469. Throughout file replace occurences of disps[n], imms[n], regs[n]
  5470. with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
  5471. intel mode operand swapping. Add assert in regKludge and
  5472. fake_zero_displacement code. Test i.types[n] when outputting
  5473. displacements and immediates. Combine output of Disp16 with
  5474. Disp32.
  5475. (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
  5476. when in intel mode by (not) reversing fsub and fdiv operands
  5477. before the template search. This fails for single operand
  5478. shorthand forms of the instruction, and if UNIXWARE_COMPAT is
  5479. undefined. Instead fix the base_opcode after we've found the
  5480. template. Move base_opcode xor with found_reverse_match from
  5481. opcode output code to before this fix so we test for the correct
  5482. opcodes.
  5483. (md_assemble): Don't use strcmp when deciding to ignore the suffix
  5484. check in intel mode. Instead compare opcodes.
  5485. * config/tc-i386.h (TC_RELOC): Delete.
  5486. * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
  5487. with equivalent call to reloc.
  5488. * as.h (flag_m68k_mri): Move declaration after target include, and
  5489. only declare when TC_M68K defined. Define as zero otherwise.
  5490. (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
  5491. * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
  5492. Define as zero otherwise.
  5493. (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
  5494. (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
  5495. (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
  5496. (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
  5497. testing whether defined.
  5498. * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
  5499. * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
  5500. * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
  5501. rather than testing whether defined.
  5502. (s_mri): Set flag_m68k_mri only when TC_M68K defined.
  5503. (parse_mri_cons): Declare and use only when TC_M68K.
  5504. * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
  5505. * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
  5506. * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
  5507. * NEWS: Mention IBM 370 support.
  5508. 2000-02-23 Richard Henderson <rth@cygnus.com>
  5509. * config/tc-i386.c (md_assemble): When swapping operands for
  5510. intel_syntax, assume everything that's not Imm or Disp is a
  5511. register.
  5512. 2000-02-23 Linas Vepstas <linas@linas.org>
  5513. * config/tc-i370.c, config/tc-i370.h: New files.
  5514. * Makefile.am: Add support for Linux/IBM 370.
  5515. * configure.in: Likewise.
  5516. * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
  5517. * config/obj-elf.c: Include elf/i370.h
  5518. (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
  5519. * Makefile.in: Regenerate.
  5520. * configure: Regenerate.
  5521. * doc/c-i370.texi: New file.
  5522. * doc/all.texi: Include it.
  5523. * doc/as.texinfo: And here.
  5524. * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
  5525. * doc/Makefile.in: Regenerate.
  5526. 2000-02-19 Michael Meissner <meissner@redhat.com>
  5527. * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
  5528. determine if an instruction can be used in parallel with an ADDppp
  5529. or SUBppp instruction.
  5530. 2000-02-22 Andrew Haley <aph@cygnus.com>
  5531. * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
  5532. 2000-02-22 Andrew Haley <aph@cygnus.com>
  5533. * config/tc-mips.c (mips_gp32): New variable.
  5534. (macro_build) Use mips_gp32.
  5535. (mips_ip): Ditto.
  5536. (md_longopts): Add "-mgp32" and "-mgp64".
  5537. (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
  5538. (OPTION_M7900): Change offset
  5539. (OPTION_NO_M7900): Ditto.
  5540. 2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  5541. * config/obj-coff.c (add_lineno): Accept non-positive lineno with
  5542. warning, and bump it to 1.
  5543. 2000-02-22 Ian Lance Taylor <ian@zembu.com>
  5544. From Brad Lucier <lucier@math.purdue.edu>:
  5545. * dwarf2dbg.c (print_stats): Add cast to force printf argument to
  5546. match format.
  5547. 2000-02-21 Catherine Moore <clm@cygnus.com>
  5548. * config/tc-mips.c (MF_HILO_INSN): Define.
  5549. (mips_7000_hilo_fix): Declare.
  5550. (append_insn): Conditionally insert nops after an mfhi/mflo insn.
  5551. (md_parse_option): Check for 7000_HILO_FIX options.
  5552. (OPTION_M7000_HILO_FIX): Define.
  5553. (OPTION_NO_M7000_HILO_FIX): Define.
  5554. * doc/c-mips.texi (-mfix7000): Describe.
  5555. 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
  5556. * listing.c (print_lines): Remove unused variable `end'.
  5557. * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
  5558. type for JumpInterSegment output. Use enum bfd_reloc_code_real for
  5559. reloc_type when BFD_ASSEMBLER.
  5560. (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
  5561. reloc_type when BFD_ASSEMBLER. Move common code out of switch
  5562. statement and quell signed vs. unsigned comparison warning.
  5563. 2000-02-18 Nick Clifton <nickc@cygnus.com>
  5564. * config/tc-d10v.c (find_opcode): Add a symbol's value to
  5565. the computed frag offset, rather than overwriting it.
  5566. 2000-02-17 J"orn Rennecke <amylaar@cygnus.co.uk>
  5567. * config/tc-sh.c ("elf/sh.h"): Include.
  5568. (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
  5569. (md.begin): Initialize target_arch.
  5570. Only include opcodes in has table that match selected architecture.
  5571. (parse_reg): Recognize register names for sh-dsp.
  5572. (parse_at): Recognize post-modify addressing.
  5573. (get_operands): The leading space is now optional.
  5574. (get_specific): Remove FDREG_N support. Add support for sh-dsp
  5575. arguments. Update valid_arch.
  5576. (build_Mytes): Add support for SDT_REG_N.
  5577. (find_cooked_opcode): New function, broken out of md_assemble.
  5578. (assemble_ppi, sh_elf_final_processing): New functions.
  5579. (md_assemble): Use find_cooked_opcode and assemble_ppi.
  5580. (md_longopts, md_parse_option): New option: -dsp.
  5581. * config/tc-sh.h (elf_tc_final_processing): Define.
  5582. (sh_elf_final_processing): Declare.
  5583. 2000-02-11 Jeffrey A Law (law@cygnus.com)
  5584. * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
  5585. the unwinder subspace. Save the current seg/subseg before creating
  5586. the new seg/subseg.
  5587. 2000-02-10 Nick Clifton <nickc@cygnus.com>
  5588. * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
  5589. little endian targets.
  5590. (INST_BYTE1): Redefine to handle big and little endian
  5591. targets.
  5592. (cpu_type): New type: Select between M340 and M210.
  5593. (parse_psrmod): New function: Parse the PSRCLR and PSRSET
  5594. instructions of the M340.
  5595. (md_assemble): Add support for the MULSH and OPSR classes of
  5596. instructions.
  5597. (md_atof): Add support for little endian targets.
  5598. (md_parse_option): Add support for -EL, -EB and -mcpu command
  5599. line switches.
  5600. (md_convert_frag): Add support for little endian targets.
  5601. (md_apply_fix3): Add support for little endian targets.
  5602. (md_number_to_chars): Add support for little endian targets.
  5603. 2000-02-10 Timothy Wall <twall@redhat.com>
  5604. * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
  5605. defined, use it to verify the symbol just read should be a label.
  5606. 2000-02-10 Timothy Wall <twall@redhat.com>
  5607. * app.c (do_scrub_chars): Handle "||" for parallel instructions
  5608. when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
  5609. around colons when KEEP_WHITE_AROUND_COLON is defined.
  5610. * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
  5611. and KEEP_WHITE_AROUND_COLON.
  5612. 2000-02-08 Timothy Wall <twall@redhat.com>
  5613. * read.c (s_rept): Call do_repeat, which abstracts the repeat
  5614. logic.
  5615. (do_repeat): New. Abstract repeat logic so that a "break" can be
  5616. implemented.
  5617. (end_repeat): New. Provide support for a "break" out of the
  5618. repeat loop.
  5619. * read.h: Add prototypes for new functions.
  5620. 2000-02-08 Timothy Wall <twall@redhat.com>
  5621. * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
  5622. * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
  5623. * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
  5624. non-zero.
  5625. 2000-02-08 Timothy Wall <twall@redhat.com>
  5626. * read.c: Added elseif to directives table.
  5627. * read.h: Added prototype for s_elseif.
  5628. * doc/as.texinfo: Added description for elseif.
  5629. * cond.c (s_elseif): New function
  5630. 2000-02-04 Timothy Wall <twall@redhat.com>
  5631. * listing.c (print_lines): Remove conditionals causing bug in
  5632. listings.
  5633. 2000-02-03 Timothy Wall <twall@cygnus.com>
  5634. * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
  5635. default values.
  5636. * frags.c (frag_new): Calculate fr_fix in octets
  5637. (frag_now_fix) Return offset as target address offset (bytes).
  5638. (frag_now_fix_octets) New - Return offset in octets (8-bit
  5639. quantities).
  5640. * frags.h: Added prototype for frag_now_fix_octets().
  5641. Distinguish between octets and bytes in field descriptions.
  5642. * listing.c (calc_hex): Account for octets vs bytes when
  5643. printing addresses/offsets.
  5644. (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
  5645. target is little-endian, print the octets in a word in big-endian
  5646. order so that the display looks like a proper hexadecimal number,
  5647. instead of having the octets reversed.
  5648. * read.c (do_align): When recording alignment, alignment power
  5649. should be in terms of target bytes (minimum addressible unit)
  5650. instead of octets.
  5651. (do_org) Convert ORG target address (byte) argument into an
  5652. octet offset when generating a variable fragment.
  5653. * symbols.c (resolve_symbol_value): Symbol final value
  5654. converted to a target address offset (bytes) from its octet offset.
  5655. * config/obj-coff.c (coff_frob_symbol): Symbol target address
  5656. offset (bytes) is adjusted by the frag offset (octets) converted
  5657. to bytes.
  5658. (coff_frob_section) Section alignment power is in terms of bytes;
  5659. convert it to an octet alignment power when calculating size (and
  5660. size mask) in octets. Don't modify the section size in order to
  5661. "align" it for TI COFF, since that format has a different method
  5662. for storing alignment information.
  5663. 2000-02-01 Timothy Wall <twall@cygnus.com>
  5664. * stabs.c (generate_asm_file): Escape backslashes in stabs file
  5665. entries, matching the way GCC generates them. If not escaped, the
  5666. filename is encoded incorrectly.
  5667. 2000-01-31 Nick Clifton <nickc@cygnus.com>
  5668. * config/tc-arm.c (reg_table): Add support for ATPCS register
  5669. naming conventions.
  5670. 2000-01-31 Geoff Keating <geoffk@cygnus.com>
  5671. * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
  5672. already defined.
  5673. * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
  5674. New macro.
  5675. * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
  5676. of a symbol when we really care about its value.
  5677. 2000-01-19 Chandra Chavva <cchavva@cygnus.com>
  5678. * config/tc-mcore.c (md_assemble): Give warning message if
  5679. operands passes to instruction are more than the spec.
  5680. 2000-01-27 Thomas de Lellis <tdel@windriver.com>
  5681. * config/tc-arm.c (armadjust_symtab): If the assembler is in
  5682. Thumb mode but the label seen was not declared as '.thumb_func'
  5683. then set the ST_INFO type to STT_ARM_16BIT mode. This allows
  5684. correct disassembly of Thumb code bounded by non function labels.
  5685. 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
  5686. * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
  5687. Add dependencies for e-i386aout.o. Fix 2 comment lines.
  5688. * Makefile.in: Same here.
  5689. Update copyright.
  5690. * configure.in: Set bfd_gas for i386-aout when primary target
  5691. is bfd. Handle i386aout emulation. Don't use te_file=multi, as
  5692. we may need the primary te_file. Remove incorrect comment.
  5693. * configure: Regenerate.
  5694. * config/e-i386aout.c: New file.
  5695. * as.c (USE_EMULATIONS): Move to before print_version_id.
  5696. (struct emulation): Add i386aout.
  5697. (show_usage): Split text strings. Reformat -a text. Add --em
  5698. help.
  5699. Update copyright.
  5700. * obj.h (struct format_ops): Add s_get_other and s_get_desc.
  5701. (aout_format_ops): New.
  5702. Update copyright.
  5703. * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
  5704. preprocessor conditional and add aout USE_EMULATIONS tests.
  5705. (read_a_source_file): Don't pass error strings to printf as
  5706. format arg.
  5707. Update copyright.
  5708. * gasp.c (exp_get_abs): Don't pass error strings to printf as
  5709. format arg.
  5710. (do_data): Same here.
  5711. (process_file): And here.
  5712. Update copyright.
  5713. * symbols.c (colon): Rewrite "already defined" fatal message
  5714. code for aout with USE_EMULATIONS.
  5715. Update copyright.
  5716. * config/obj-aout.c (OBJ_HEADER): Define.
  5717. (obj_pseudo_table): Rename to aout_pseudo_table. Init all
  5718. fields of sentinel.
  5719. (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
  5720. S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
  5721. forms here.
  5722. (obj_aout_type): Expand S_SET_OTHER here too.
  5723. (obj_read_begin_hook): Remove.
  5724. (aout_pop_insert): New.
  5725. (obj_aout_s_get_other): New.
  5726. (obj_aout_s_get_desc): New.
  5727. (aout_format_ops): New.
  5728. Update copyright.
  5729. * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
  5730. gets aout_pseudo_table.
  5731. (aout_pseudo_table): Declare.
  5732. (obj_read_begin_hook): Define.
  5733. Update copyright.
  5734. * config/obj-coff.c (obj_pseudo_table): Rename to
  5735. coff_pseudo_table.
  5736. (coff_pop_insert): Use coff_pseudo_table.
  5737. (coff_sec_sym_ok_for_reloc): Remove.
  5738. (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
  5739. and comment all zero entries and remove #if 0 code.
  5740. Update copyright.
  5741. * config/obj-coff.h (obj_pop_insert): Define.
  5742. (coff_pseudo_table): Declare.
  5743. Update copyright.
  5744. * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
  5745. s_get_size, s_set_size. Comment all zero entries.
  5746. Update copyright.
  5747. * config/obj-elf.c (elf_s_get_other): New function.
  5748. (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
  5749. (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
  5750. (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
  5751. comment.
  5752. (obj_elf_parse_section_letters): Don't pass error strings to
  5753. printf as format arg.
  5754. Update copyright.
  5755. * config/obj-elf.h (ECOFF_DEBUGGING): Define when
  5756. OBJ_MAYBE_ECOFF.
  5757. (elf_s_get_other): Declare.
  5758. (S_GET_OTHER) Define as elf_s_get_other if not already
  5759. defined.
  5760. (S_SET_OTHER): Only define when not already defined.
  5761. (elf_obj_read_begin_hook): Declare.
  5762. (obj_read_begin_hook): Define.
  5763. (elf_obj_symbol_new_hook): Declare.
  5764. (obj_symbol_new_hook): Define.
  5765. Update copyright.
  5766. * config/obj-multi.h: Add copyright header and protect against
  5767. multiple inclusion. Add * to all function pointers.
  5768. (OBJ_HEADER): If defined, include it rather than other defines
  5769. in this file.
  5770. (obj_frob_file_after_relocs): Test for NULL.
  5771. (obj_symbol_new_hook): Here too.
  5772. (obj_sec_sym_ok_for_reloc): And here.
  5773. (S_GET_OTHER): Define.
  5774. (S_GET_DESC): Define.
  5775. (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
  5776. (OBJ_MAYBE_ELF): Update comment.
  5777. * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
  5778. OBJ_AOUT preprocessor conditional and handle emulation by
  5779. testing OUTPUT_FLAVOR.
  5780. (i386_displacement): Here too.
  5781. (md_section_align): Similarly here.
  5782. (i386_target_format): Conditionally compile when more than one
  5783. of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
  5784. (i386_immediate): Fix error message for aout BFD_ASSMBLER.
  5785. (i386_displacement): Here too.
  5786. Update copyright.
  5787. * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
  5788. Define TARGET_FORMAT for aout only when not multi.
  5789. Update copyright.
  5790. * config/te-multi.h: Delete file as it's identical to te-generic.h
  5791. 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
  5792. * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
  5793. * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
  5794. LONG_MNEM_SUFFIX.
  5795. * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
  5796. DWORD_MNEM_SUFFIX.
  5797. * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
  5798. comments.
  5799. 2000-01-13 Clinton Popetz <cpopetz@cygnus.com>
  5800. * config/tc-mips.c (mips_do_align): New function.
  5801. * config/tc-mips.h (md_do_align): Define.
  5802. 2000-01-10 Philip Blundell <philb@gnu.org>
  5803. * doc/c-arm.texi (ARM Options): Fix typo.
  5804. (ARM-Chars): Correct description of `#'. Mention that `;' is a
  5805. line separator for Linux.
  5806. * doc/as.texinfo (Comments): Mention the ARM.
  5807. 2000-01-10 Philip Blundell <pb@futuretv.com>
  5808. * configure.in (arm*-*-conix*): New target.
  5809. (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
  5810. armv*-*-linux-gnu.
  5811. * configure: Regenerate.
  5812. 2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
  5813. * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
  5814. (obj_elf_visibility): New function.
  5815. * doc/as.texinfo (Visibility): New node: document visibility
  5816. pseudo ops.
  5817. For older changes see ChangeLog-9899
  5818. Copyright (C) 2001 Free Software Foundation, Inc.
  5819. Copying and distribution of this file, with or without modification,
  5820. are permitted in any medium without royalty provided the copyright
  5821. notice and this notice are preserved.
  5822. Local Variables:
  5823. mode: change-log
  5824. left-margin: 8
  5825. fill-column: 74
  5826. version-control: never
  5827. End: