ChangeLog-9697 212 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972
  1. Wed Dec 31 12:29:47 1997 Jeffrey A Law (law@cygnus.com)
  2. * config/tc-mn10200.c (md_relax_table): Correct branch ranges.
  3. Mon Dec 22 13:06:05 1997 Joel Sherrill <joel@oarcorp.com>
  4. * configure.in (i386*-go32-rtems*): Fix to be the same as
  5. i[3456]86-go32.
  6. * configure: Rebuild.
  7. Mon Dec 22 12:54:07 1997 Ian Lance Taylor <ian@cygnus.com>
  8. * config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB,
  9. M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB.
  10. (mips_ip): Always check for FP_D, not just for instructions that
  11. are not part of the regular ISA.
  12. Thu Dec 18 16:49:28 1997 Richard Henderson <rth@cygnus.com>
  13. * config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts.
  14. Thu Dec 18 16:42:57 1997 Richard Henderson <rth@cygnus.com>
  15. * config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX.
  16. Wed Dec 17 21:23:07 1997 Jeffrey A Law (law@cygnus.com)
  17. * expr.c (integer_constant 32bit bignum): Mask off bits outside
  18. the range we care about.
  19. Wed Dec 17 15:29:03 1997 Michael Meissner <meissner@cygnus.com>
  20. * config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options.
  21. (exec_type_enum): Enumeration giving all of the exec types.
  22. (warn_nops): New static variable to give nop warning level.
  23. ({cur,prev}_mul32_p): New static variable to keep track of whether
  24. the current/previous instruction is a 32-bit multiply.
  25. (Optimizing): Make static.
  26. (NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right
  27. nops.
  28. (d30v_insert_operand): Delete declaration of unused function.
  29. (write_2_short): Make exec_type argument enum, not int.
  30. (parallel_ok): Ditto.
  31. (check_range): Delete unused variable(s).
  32. (build_insn): Ditto.
  33. (find_format): Ditto.
  34. (md_apply_fix3): Ditto.
  35. (md_show_usage): Document -n and -N.
  36. (md_parse_option): Parse -n and -N.
  37. (write_1_short): If -n, warn about adding a nop. Use
  38. NOP_{LEFT,RIGHT}.
  39. (write_2_short): Use enumeration values instead of hard coded
  40. integers. Reset exec_type for default operations. For explicit
  41. parallel operations, call parallel_ok to make sure everything is
  42. ok. If writing out a parallel operation, and the previous
  43. instruction was a 32-bit multiply, indicate current instruction
  44. is.
  45. (parallel_ok): Allow add/tx ... to be done in parallel with
  46. another add/tx ... assuming the gpr registers don't overlap.
  47. (md_assemble): Use exec type enumeration values, not hard coded
  48. ints. Check for loads or 16-bit multiplies following in the next
  49. cycle after a 32-bit multiply. Add nops if that is the case.
  50. (do_assemble): Copy prev_mul32_p to cur_mul32_p, and set
  51. cur_mul32_p if current instruction is a 32-bit multiply.
  52. (find_format): Change spacing and layout.
  53. Tue Dec 16 16:55:45 1997 Fred Fish <fnf@cygnus.com>
  54. * config/tc-tic80.c (tic80_relax): New static variable.
  55. (md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
  56. (md_parse_option): Handle new relax options.
  57. (md_show_usage): Document new relax options.
  58. (find_opcode): Don't use short forms of PC relative branches if
  59. tic80_relax is set.
  60. Tue Dec 16 15:26:03 1997 Michael Meissner <meissner@cygnus.com>
  61. * config/tc-d30v.c (parallel_ok): Remove non-register bits from
  62. used/set flag fields. Make flag vars unsigned long. Use
  63. FLAG_A{0,1} for accumulators. Allow any 2 insns to be done in
  64. parallel if they use the same conditional flag with reversed
  65. meaning. Allow 2 add/sub insns that set the carry or overflow
  66. flags but do not query them to be done in parallel. Don't allow 2
  67. word store operations to be done in parallel with ADDppp or
  68. SUBppp. Don't allow loads to be done in parallel with 16 bit
  69. multiplies.
  70. Tue Dec 16 09:20:43 1997 Nick Clifton <nickc@cygnus.com>
  71. * config/tc-arm.c: Prevent use of interworking support for
  72. non-COFF targets.
  73. Mon Dec 15 15:20:32 1997 Nick Clifton <nickc@cygnus.com>
  74. * doc/all.texi: Add M32R cpu.
  75. * doc/as.texinfo: Add documentation of m32r processor.
  76. * doc/c-m32r.texi: New file, documenting m32r specific features.
  77. Mon Dec 15 10:32:28 1997 Jeffrey A Law (law@cygnus.com)
  78. * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
  79. the instruction.
  80. Fri Dec 12 11:44:20 1997 Fred Fish <fnf@cygnus.com>
  81. * config/tc-tic80.c (build_insn): Handle instructions that have
  82. long (32 bit) PC relative offsets. Fix places that previously
  83. misused R_MPPCR for 15 bit offsets to use the new R_MPPCR15W type.
  84. (md_apply_fix): Add case to handle long PC relative offsets.
  85. Fri Dec 12 10:35:01 1997 Nick Clifton <nickc@cygnus.com>
  86. * doc/c-arm.texi (ARM Options): Document support for new ARM
  87. processor names.
  88. * config/tc-arm.c (md_parse_option): Add support for new ARM
  89. processor names.
  90. Thu Dec 11 17:46:50 1997 Richard Henderson <rth@cygnus.com>
  91. * config/tc-m68k.c (m68k_ip): Don't overwrite opcode table data.
  92. (insop, m68k_ip): Make `opcode' const so it doesn't happen again.
  93. Fri Dec 5 11:23:59 1997 Nick Clifton <nickc@cygnus.com>
  94. * config/tc-v850.c (md_assemble): Fix BFD_RELOC_32 against a
  95. symbol + offset.
  96. * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Use
  97. SHT_V850_{S|T|Z}COMMON to mark special common sections.
  98. Tue Dec 2 17:05:13 1997 Nick Clifton <nickc@cygnus.com>
  99. * config/tc-v850.c: Brought up to date with the branch.
  100. Mon Dec 1 20:24:18 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  101. * config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
  102. (SWITCH_TABLE): Handle BFD_RELOC_8.
  103. (md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
  104. (coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
  105. (sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
  106. Sat Nov 22 16:19:22 1997 Richard Henderson <rth@cygnus.com>
  107. * config/tc-alpha.c (range_signed_16, range_signed_32): Work around an
  108. apparent bug in gcc's long long support crossing from x86.
  109. Sat Nov 22 14:26:09 1997 Nick Clifton <nickc@cygnus.com>
  110. * config/tc-arm.c: Brought up to date with latest changes on arm
  111. branch.
  112. Sat Nov 22 15:50:09 1997 Klaus Kaempf <kkaempf@progis.de>
  113. * config-gas.com: Get version info from configure.in.
  114. * makefile.vms: include depend.obj in OBJS.
  115. * config/tc-alpha.c (s_alpha_section): Remove ".lcomm" handling.
  116. * config/tc-alpha.c (alpha_basereg_clobbered): Remove variable and
  117. all corresponding code.
  118. Thu Nov 20 15:06:08 1997 Richard Earnshaw <rearnsha@arm.com>
  119. * config/tc-arm.h (TARGET_FORMAT for generic a.out targets): Allow
  120. run-time endian selection.
  121. Wed Nov 19 17:44:42 1997 Richard Henderson <rth@cygnus.com>
  122. * config/tc-sh.c (parse_reg): Properly quote for fv4.
  123. Wed Nov 19 23:46:18 1997 Ian Lance Taylor <ian@cygnus.com>
  124. * symbols.c (resolve_symbol_value): Add missing breaks in case on
  125. symbol value operator.
  126. Tue Nov 18 18:45:14 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  127. * config/tc-d10v.c (parallel_ok, find_opcode):
  128. Split OPERAND_FLAG into OPERAND_FFLAG and OPERAND_CFLAG.
  129. Sun Nov 16 10:05:07 1997 Fred Fish <fnf@cygnus.com>
  130. * config/obj-coff.c (fixup_segment): Cast second arg of
  131. md_apply_fix3 call to type "valueT *".
  132. Thu Nov 13 13:53:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
  133. * configure.in (emulations): Make FreeBSD an aout / i386bsd
  134. variant.
  135. * configure: Re-generate.
  136. Thu Nov 13 11:07:14 1997 Gavin Koch <gavin@cygnus.com>
  137. * config/tc-mips.c (macro_build): Use the membership field
  138. for INSN_MACRO's.
  139. (mips_ip): Same.
  140. Thu Nov 13 02:04:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  141. * config/tc-d10v.c (find_opcode): For OPCODE_FAKE, add check for
  142. first argument if it's supposed to be a register.
  143. Tue Nov 11 19:25:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  144. * app.c (do_scrub_chars): If d10v, re-insert a space before
  145. a '#' when in state 10.
  146. Tue Nov 11 13:33:15 1997 Ian Lance Taylor <ian@cygnus.com>
  147. * config/tc-h8300.c: Include "subsegs.h".
  148. (tc_reloc_mangle): Handle references to symbols which are not
  149. being output, so that references to `.' work.
  150. Mon Nov 10 13:43:33 1997 Ian Lance Taylor <ian@cygnus.com>
  151. * config/tc-m68k.c (m68k_ip): Call add_fix when needed for '_'
  152. case.
  153. * macro.c (sub_actual): If we don't find a parameter for an &,
  154. just substitute &.
  155. Fri Nov 7 21:29:32 1997 Ken Raeburn <raeburn@cygnus.com>
  156. * config/tc-mips.c (mips_ip): In default case, call as_bad
  157. instead of fprintf, to get "assembler messages:" message output
  158. before instead of after.
  159. Fri Nov 7 10:36:22 1997 Doug Evans <devans@canuck.cygnus.com>
  160. * frags.h: Handle multiple inclusion.
  161. Wed Nov 5 10:51:49 1997 Doug Evans <devans@canuck.cygnus.com>
  162. Based on a patch from Ian.Dall@dsto.defence.gov.au.
  163. * as.h (struct frag, frag support): Moved from here.
  164. * frags.h: To here.
  165. (struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
  166. is defined.
  167. (struct frag, member fr_cgen): Renamed from fr_targ.cgen.
  168. * cgen.c (cgen_asm_finish_insn): Update.
  169. * config/tc-m32r.c (md_estimate_size_before_relax): Update.
  170. * config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
  171. (md_convert_frag): Ditto.
  172. * config/tc-ns32k.h (TC_FRAG_TYPE): Define.
  173. (frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
  174. (TC_FRAG_INIT): Update.
  175. Tue Nov 4 16:35:57 1997 Ian Dall <Ian.Dall@dsto.defence.gov.au>
  176. * write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
  177. print out MD fields of fix.
  178. * frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
  179. defined) to initialize MD fields in frag.
  180. * as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
  181. Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset.
  182. * config/tc-ns32k.h: Add comments. Remove obsolete
  183. BFD_FAST_SECTION_FILL definition, change prototypes for
  184. fix_new_ns32k and fix_new_ns32k_exp to add new arguments
  185. opcode_frag and opcode_offset and remove pcrel_adjust.
  186. (TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
  187. (TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
  188. (TC_FRAG_INIT): new macro to initialize machine dependent field in
  189. frags.
  190. (frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
  191. MD fields in frag structure.
  192. (fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
  193. fix_bsr): macros to access MD fields in fix structure.
  194. * config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't
  195. use struct opcode_location as these fields are now in the frag
  196. structure.
  197. (convert_iif): Call frag_more as it is needed instead
  198. of trying to allocate for the whole insn. Avoid call of frag_more
  199. with negative argument.
  200. (md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
  201. md_estimate_size_before_relax, md_pcrel_from,
  202. tc_aout_fix_to_chars): use accessor macros to get md fields in fix
  203. and frag structures.
  204. (fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
  205. opcode_offset and remove pcrel_adjust.
  206. (convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
  207. fix_new_ns32k_exp with changed arguments.
  208. Mon Nov 3 13:30:17 1997 Gavin Koch <gavin@cygnus.com>
  209. * config/tc-mips.c (md_begin): Reorganize setting of default values so
  210. that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
  211. mips_cpu.
  212. (md_parse_option): Remove all code that sets defaults; md_begin
  213. handles all of this now.
  214. Sun Nov 2 14:46:09 1997 Ian Lance Taylor <ian@cygnus.com>
  215. * Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
  216. noinst_PROGRAMS.
  217. (bootstrap, bootstrap2, bootstrap3): Likewise.
  218. * Makefile.in: Rebuild.
  219. * config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the
  220. TOC section to be against the csect.
  221. Fri Oct 31 18:19:55 1997 Ken Raeburn <raeburn@cygnus.com>
  222. * config/tc-mips.c (validate_mips_insn): New function, checks
  223. match versus mask bits, and also verifies that all bits to be
  224. output are actually specified somewhere.
  225. (md_begin): Call it for 32-bit instructions, instead of doing
  226. match/mask check here. In case of failure, print a message, but
  227. check the rest of the opcode table before exiting.
  228. Thu Oct 30 13:46:20 1997 Nick Clifton <nickc@cygnus.com>
  229. * config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op. Patch
  230. from Tony Thompson at ARM: athompso@arm.com
  231. Thu Oct 30 11:11:26 1997 Michael Meissner <meissner@cygnus.com>
  232. * config/tc-d30v.c (build_insn): Allow odd registers for ld2w and
  233. friends.
  234. Fri Oct 24 15:56:47 1997 Ian Lance Taylor <ian@cygnus.com>
  235. * config/tc-ppc.c (md_assemble): When handling @l, always sign
  236. extend if the operand expects a signed value.
  237. * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
  238. default which is to permit dollar labels.
  239. Fri Oct 24 11:19:22 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
  240. * config/tc-sparc.c (sparc_memory_model): New variable.
  241. (md_longopts): Add -TSO/-PSO/-RMO options.
  242. (md_parse_options): Handle them.
  243. (sparc_elf_final_processing): For 64 ELF, set required
  244. memory ordering in e_flags. Default to RMO and let the user
  245. override it through command line.
  246. * config/tc-sparc.h (elf_tc_final_processing): Add.
  247. Wed Oct 22 17:42:12 1997 Richard Henderson <rth@cygnus.com>
  248. * config/tc-sparc.c (v9a_asr_table): New variable.
  249. (sparc_ip): Handle v9a asr's.
  250. Patch from David Miller <davem@vger.rutgers.edu>.
  251. Wed Oct 22 17:22:59 1997 Richard Henderson <rth@cygnus.com>
  252. * config/tc-sparc.h (md_do_align): New macro.
  253. * config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
  254. Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
  255. Wed Oct 22 12:51:18 1997 Ian Lance Taylor <ian@cygnus.com>
  256. * config/tc-sh.c (sh_small): New variable.
  257. (OPTION_SMALL): Define.
  258. (md_longopts): Add "small".
  259. (md_parse_option): Handle OPTION_SMALL.
  260. (md_show_usage): Mention -small.
  261. * config/tc-sh.h (sh_small): Declare.
  262. (SUB_SEGMENT_ALIGN): Handle sh_small.
  263. * config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
  264. case.
  265. * config/tc-mips.c (macro): Correct handling of constant in M_LI_D
  266. case in little endian mode.
  267. Tue Oct 21 10:20:11 1997 Doug Evans <devans@canuck.cygnus.com>
  268. * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
  269. overflow signalling to linker.
  270. Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
  271. * makefile.vms: Fix for dec c.
  272. * config-gas.com: Give explanation for dec c setup in error
  273. message.
  274. * config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate
  275. sections on openvms/alpha.
  276. * config/obj-evax.c: support .weak pseudo-op
  277. Mon Oct 20 10:13:32 1997 Doug Evans <devans@canuck.cygnus.com>
  278. * config/tc-sparc.c (default_arch_size): New static local.
  279. (struct sparc_arch): Rename arch_size to default_arch_size.
  280. New member user_option_p.
  281. (sparc_arch_table): Always include v9, v9a. New entry v9-64.
  282. (init_default_arch): Check whether default arch is valid.
  283. Set default_arch_size in addition to sparc_arch_size.
  284. (OPTION_32,OPTION_64): Define.
  285. (md_longopts): New entries for -32, -64.
  286. (md_parse_option): Handle them.
  287. (md_show_usage): Print them. Ensure init_default_arch called.
  288. * configure.in (sparc64): Set arch to v9-64.
  289. * configure: Regenerated.
  290. Sun Oct 19 13:50:50 1997 Ian Lance Taylor <ian@cygnus.com>
  291. * write.c (subsegs_finish): New function, broken out of
  292. write_object_file.
  293. (write_object_file): Some code moves into subsegs_finish.
  294. * write.c (subsegs_finish): Declare.
  295. * as.c (main): Call subsegs_finish.
  296. * read.c (s_include): Check for error return from
  297. demand_copy_string.
  298. Tue Oct 14 20:50:58 1997 Richard Henderson <rth@cygnus.com>
  299. * read.c (get_line_sb): Accept any eol marker while scanning macros.
  300. Tue Oct 14 19:12:45 1997 Richard Henderson <rth@cygnus.com>
  301. * config/tc-alpha.h (DIFF_EXPR_OK): Define.
  302. * config/tc-i386.h (DIFF_EXPR_OK): Define.
  303. * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
  304. the correct relocation when it exists.
  305. * config/tc-i386.c (md_apply_fix3): Likewise.
  306. * config/tc-ppc.h: Correct typo in comment.
  307. * config/tc-v850.h: Likewise.
  308. Fri Oct 10 16:09:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
  309. * config/tc-d10v.c (parallel_ok): Allow parallel instruction issue
  310. when second instruction is writing to first instructions inputs.
  311. Mon Oct 13 15:27:17 1997 Richard Henderson <rth@cygnus.com>
  312. * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
  313. templated programs to build with -g.
  314. Fri Oct 10 17:48:29 1997 Nick Clifton <nickc@cygnus.com>
  315. * config/tc-v850.c (md_relax_table): Add support for relaxing
  316. unconditional branches. This patch is courtesy of Jim Wilson.
  317. (md_convert_frag): Fix relaxing of branches. This patch is
  318. courtesy of Jim Wilson.
  319. (md_assemble): Create different fixups for conditional and
  320. unconditional branches. This patch is courtesy of Jim Wilson.
  321. (md_estimate_size_before_relax): Estimate size of variable part of
  322. fixup based on whether it is for a conditional or an unconditional
  323. branch. This patch is courtesy of Jim Wilson.
  324. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
  325. v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to
  326. obj_elf_section_change_hook().
  327. (v850_comm): New function.
  328. (md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm.
  329. (md_begin): Add bss flag to seg_info of bss sections.
  330. Add support for .scommon, .tcommon and .zcommon sections.
  331. * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon,
  332. .zcommon, .tbss, .call_table_data and .call_table_text.
  333. Fri Oct 10 15:01:14 1997 Doug Evans <dje@canuck.cygnus.com>
  334. * configure.in (sparc): Set DEFAULT_ARCH from correct target.
  335. * configure: Regenerated.
  336. Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
  337. * config/tc-d10v.c: Fixes to make sure the AT_WORD
  338. expression is not confused with -1.
  339. Fri Oct 10 11:54:50 1997 Andrew Cagney <cagney@b1.cygnus.com>
  340. * config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
  341. operand - OPERAND_ATMINUS.
  342. Fri Oct 10 00:47:44 1997 Michael Meissner <meissner@cygnus.com>
  343. * config/tc-d10v.c (parallel_ok): Note that auto increment and
  344. decrement modify the index register.
  345. Thu Oct 9 15:17:50 1997 Ian Lance Taylor <ian@cygnus.com>
  346. From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
  347. * config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
  348. 68336, 68341, 68349.
  349. * doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
  350. -m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
  351. -m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
  352. -m68349.
  353. * doc/Makefile.am (CPU_DOCS): Define.
  354. (as.info): Depend upon $(CPU_DOCS).
  355. * doc/Makefile.in: Rebuild.
  356. * configure.in: Remove AM_PROG_INSTALL; it's called by
  357. AM_INIT_AUTOMAKE.
  358. * configure: Rebuild.
  359. Thu Oct 9 01:44:36 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  360. * config/tc-d10v.h (TC_START_LABEL): Don't define.
  361. (tc_frob_label): Define.
  362. Thu Oct 9 00:07:23 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  363. * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
  364. to pair a branch and link with anything but an exe instruction.
  365. Wed Oct 8 16:28:53 1997 Richard Henderson <rth@cygnus.com>
  366. * config/tc-alpha.c (load_expression): Disable the sym+const .got
  367. optimization to reduce the alignment surprises for gcc.
  368. Wed Oct 8 16:11:15 1997 Doug Evans <dje@canuck.cygnus.com>
  369. * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
  370. * config/tc-sparc.c (sparc_target_format): Handle coff here.
  371. (sparc_ip): Add %hix,%lox.
  372. (md_apply_fix3): Call as_bad_where, not as_bad.
  373. Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
  374. (tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
  375. Wed Oct 8 12:33:32 1997 Richard Henderson <rth@cygnus.com>
  376. * configure.in: Change alpha-*-* to alpha*-*-*; config.guess now
  377. recognizes alphaev5 etc.
  378. * configure: Rebuild.
  379. Wed Oct 8 00:04:05 1997 Gavin Koch <gavin@cygnus.com>
  380. * config/tc-mips.c (md_begin): Replace the TARGET_CPU value
  381. of mipsr3900 with mipstx39.
  382. * config/tc-mips.c (mips_ip): Don't print the 'opcode requires
  383. -mipsXX message' if the insn isn't an ISA insn.
  384. Tue Oct 7 12:48:30 1997 Doug Evans <dje@canuck.cygnus.com>
  385. * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
  386. Redefine TARGET_FORMAT to call sparc_target_format.
  387. * config/tc-sparc.c (in_unsigned_range): New function.
  388. (sparc_arch_size): Make static.
  389. (sparc_target_format): New function.
  390. (sparc_ip): Delete variable immediate_max. Rewrite %hi/etc reloc
  391. handling. Add support for %hh,%hm,%lm,%h44,%m44,%l44.
  392. (output_insn): Set `fx_no_overflow'.
  393. (md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
  394. (tc_gen_reloc): Likewise.
  395. Mon Oct 6 14:04:50 1997 Nick Clifton <nickc@cygnus.com>
  396. * config/tc-v850.c (v850_section): Remove.
  397. * config/obj-elf.c (obj_elf_section): Enhance error message.
  398. Fri Oct 3 15:40:38 1997 Ian Lance Taylor <ian@cygnus.com>
  399. * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
  400. including obj-elf.h in OBJ_MAYBE_ELF case.
  401. (mips_target_format): Return NULL after abort to avoid warning.
  402. * ecoff.c (generate_ecoff_stab): Remove unused static function.
  403. * expr.c (operator): Accept ==. From Anders Blomdell
  404. <anders.blomdell@control.lth.se>.
  405. * config/atof-ieee.c (gen_to_words): When generating a denormal
  406. number, handle an overflow into the smallest normalized number.
  407. Mon Sep 29 15:24:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  408. * as.h, input-scrub.c (new_logical_line): New return value.
  409. * read.c (s_app_file): Don't note the same file several times
  410. in a row.
  411. Thu Sep 25 13:08:02 1997 Ian Lance Taylor <ian@cygnus.com>
  412. * config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
  413. Wed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com>
  414. * configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
  415. * configure: Rebuild.
  416. Wed Sep 24 11:30:25 1997 Ian Lance Taylor <ian@cygnus.com>
  417. * config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers.
  418. * doc/c-i386.texi (i386-Float): Remove incorrect assertion that
  419. fn* instructions do not insert implicit fwait. This was changed
  420. Jan 29, 1996.
  421. * config/m68k-parse.y (yylex): Permit an expression to be used for
  422. the scale factor.
  423. * Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
  424. not m68k-parse.y.
  425. * Makefile.in: Rebuild.
  426. * aclocal.m4: Rebuild with new libtool.
  427. * configure: Rebuild.
  428. Tue Sep 23 17:48:09 1997 Ian Lance Taylor <ian@cygnus.com>
  429. * app.c (do_scrub_chars): Clear mri_state at end of .mri
  430. pseudo-op.
  431. * config/tc-mips.c (hilo_interlocks): Change from a static
  432. variable to a macro, so that it varies with the variables upon
  433. which it depends.
  434. (gpr_interlocks, cop_interlocks): Likewise.
  435. (md_begin): Don't initialize them.
  436. Fri Sep 19 17:08:41 1997 Jeffrey A Law (law@cygnus.com)
  437. * config/tc-mn10300.c (md_assemble): Use strcasecomp instead
  438. of strcmp where appropriate.
  439. Thu Sep 18 14:11:56 1997 Nick Clifton <nickc@cygnus.com>
  440. * config/tc-v850.c (md_assemble): Cope with a zero data area
  441. relocation with a constant offset.
  442. (md_assemble): Produce error message when special data area
  443. relocations are used on instructions which do not support them.
  444. (md_assemble): Reset processor mask if defined by command line
  445. switch.
  446. Thu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com>
  447. * config/tc-sparc.c: Reorganize file.
  448. (parse_keyword_arg): Allow numbers in reg names.
  449. (SPECIAL_CASE_NONE): New macro.
  450. (md_assemble): Use it.
  451. (lookup_arch,init_default_arch): New functions.
  452. (default_arch,default_init_p,sparc_arch_table): New static locals.
  453. (sparc_arch_size): New static local.
  454. (max_architecture): Initialize in init_default_arch.
  455. (md_parse_options): Call init_default_arch if necessary.
  456. Rewrite -xarch/-A processing.
  457. (md_show_usage): Print -A values from sparc_arch_table.
  458. (md_begin): Call init_default_arch if necessary.
  459. (sparc_md_end): Handle both 32 and 64 bit environments.
  460. * config/tc-sparc.h (TARGET_FORMAT): Likewise.
  461. * acconfig.h (SPARC_V9,SPARC_ARCH64): Delete.
  462. (DEFAULT_ARCH): Add.
  463. * config.in: Regenerate.
  464. * configure.in (sparc): Default DEFAULT_ARCH based on target cpu.
  465. (SPARC_V9,SPARC_ARCH64): Delete.
  466. * configure: Regenerate.
  467. * config/vms-conf.h (SPARC_V9,SPARC_ARCH64): Delete.
  468. Wed Sep 17 16:54:20 1997 Nick Clifton <nickc@cygnus.com>
  469. * config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
  470. macro.
  471. (handle_tdaoff, handle_zdaoff, handle_sdaoff): New functions.
  472. * config/tc-v850.c (md_assemble): Corrected typo.
  473. * config/tc-v850.c Add new sections: call_table_data and
  474. call_table_text.
  475. (v850_reloc_prefix): Add support for ctoff() relocation prefix.
  476. (handle_ctoff): New Function.
  477. * doc/c-v850.texi (V850 Opcodes): Document call table relocations.
  478. Tue Sep 16 14:18:22 1997 Nick Clifton <nickc@cygnus.com>
  479. * config/tc-v850.c (v850_reloc_prefix): Add support for a 16 bit
  480. displacement from the tiny data area pointer.
  481. Mon Sep 15 21:28:09 1997 Jeffrey A Law (law@cygnus.com)
  482. * config/tc-hppa.c (fix_new_hppa): Make declaration match
  483. definition.
  484. Mon Sep 15 18:33:06 1997 Nick Clifton <nickc@cygnus.com>
  485. * config/tc-v850.c (processor_mask): New variable.
  486. (set_machine, md_parse_option): Set processor_mask.
  487. (md_assemble): Check that instruction is available to target
  488. processor.
  489. * config/tc-v850.h (TARGET_PROCESSOR): New constant.
  490. Mon Sep 15 11:28:04 1997 Ken Raeburn <raeburn@cygnus.com>
  491. Merge in work from Martin Hunt:
  492. * config/tc-d30v.c (build_insn): For mvfsys and mvtsys,
  493. CR is 0 for PSWL and PSWH.
  494. * config/tc-d30v.c (do_assemble): Don't accept
  495. illegal condition codes for cmpu instruction.
  496. * config/tc-d30v.c: Add support for BFD_RELOC_D30V_9_PCREL
  497. used in d*i instructions.
  498. * config/tc-d30v.c (check_size): New function. Check
  499. relocations for overflows.
  500. (md_pcrel_from_section): Fix relocations between sections.
  501. (md_apply_fix3): Use new relocation types for 15 and 21
  502. bit relocations in the right container. Needed because
  503. the address of the instruction is not eight-byte aligned
  504. but the relocations must be.
  505. * config/tc-d30v.c (md_apply_fix3): Check for overflow.
  506. (find_format): If ".s" or ".l" are used, don't try
  507. to compute branch sizes.
  508. * config/tc-d30v.c (do_assemble): Check for ".s" or
  509. ".l" extensions to opcode names.
  510. (find_format): Generate the correct instructions when
  511. ".s" or ".l" are used.
  512. * config/tc-d30v.c (build_insn): Check for odd registers
  513. on instructions that require even registers.
  514. * config/tc-d30v.h (md_start_line_hook): Define.
  515. * config/tc-d30v.c (md_start_line_hook): New hook.
  516. Checks the beginning of each line for a ".". If it
  517. finds one, assume a pseudo-op and flush any unwritten
  518. instructions.
  519. * config/tc-d30v.c (md_apply_fix3): Fix problem
  520. with determining when fixups were done.
  521. * config/tc-d30v.c (build_insn): Fix bug where the numeric
  522. part of a symbol (for example, "foo+8") was being written
  523. into the instruction.
  524. (md_pseudo_table): Change .word to be 32 bits and add
  525. .hword as 16 bits.
  526. * config/tc-d30v.c (parallel_ok): Check to see if first
  527. instruction is a jump.
  528. * config/tc-d30v.c (parallel_ok): Major code reorganization.
  529. Wed Sep 10 10:07:08 1997 Nick Clifton <nickc@cygnus.com>
  530. * config/tc-v850.c (md_assemble): Corrected spelling mistake.
  531. * configure.in (emulations): Add v850 emulation.
  532. Tue Sep 9 17:14:33 1997 Doug Evans <dje@canuck.cygnus.com>
  533. * Makefile.am (CPU_TYPES): Add arc.
  534. (TARGET_CPU_CFILES): Add tc-arc.c.
  535. (TARGET_CPU_HFILES): Add tc-arc.h.
  536. (dependencies): Rebuild.
  537. * Makefile.in: Rebuild.
  538. * configure.in: Recognize arc-*-elf*.
  539. * configure: Regenerated.
  540. * config/tc-arc.[ch]: New files.
  541. Tue Sep 9 10:19:37 1997 Nick Clifton <nickc@cygnus.com>
  542. * doc/c-v850.texi (V850 Opcodes): Document hi0() reloc prefix.
  543. Correct description of hi() reloc prefix.
  544. * doc/c-v850.texi (V850 Opcodes): Document new reloc prefix.
  545. * config/tc-v850.c (v850_reloc_prefix): Add hilo() reloc prefix.
  546. * config/tc-v850.c (md_assemble): Add support for BFD_RELOC_32.
  547. * doc/c-v850.texi: Document new pseudo ops and command line
  548. options.
  549. * config/tc-v850.c (set_machine): New function.
  550. * config/tc-v850.c (.v850): New pseudo op.
  551. * config/tc-v850.c (.v850e): New pseudo op.
  552. * config/tc-v850.c (.v850ea): New pseudo op.
  553. Mon Sep 8 23:08:04 1997 Ian Lance Taylor <ian@cygnus.com>
  554. Support -alh and -ald for DWARF 1:
  555. * listing.c (struct list_info_struct): Add debugging field.
  556. (listing_newline): Initialize the debugging field. If ELF, if the
  557. section starts with .debug or .line, set the debugging field in
  558. the listing structure.
  559. (debugging_pseudo): Add list parameter. Change all callers. If
  560. the debugging field is set, consider it to be a debugging pseudo.
  561. If ELF, skip blank lines between debugging lines.
  562. * read.c (emit_expr): If ELF, look for line numbers.
  563. (stringer): If ELF, look for file names.
  564. Mon Sep 8 12:33:40 1997 Nick Clifton <nickc@cygnus.com>
  565. * config/tc-v850.c (v850_insert_operand): Only test for overflow
  566. if there is no insert function.
  567. * config/tc-v850.h (TARGET_MACHINE): New constant.
  568. * config/tc-v850.c (v850_insert_operand): Add
  569. -mwarn_unsigned_overflow.
  570. (md_begin): Set BFD machine number based on machine variable.
  571. (md_parse_option): Add -mv850, -mv850e and -mv850ea options.
  572. Mon Sep 8 11:20:46 1997 Ian Lance Taylor <ian@cygnus.com>
  573. * as.h: Don't declare alloca if it is a macro.
  574. * macro.c: Likewise.
  575. Sun Sep 7 00:30:19 1997 Richard Henderson <rth@cygnus.com>
  576. * config/tc-alpha.c (md_parse_option): Move m[] out to top level and
  577. rename to cpu_types[].
  578. (s_alpha_arch): New function.
  579. (md_pseudo_table): Add "arch".
  580. * config/tc-alpha.c (md_begin): Merge the two loops through the
  581. opcode table.
  582. (s_alpha_proc): Add initial SKIP_WHITESPACE.
  583. (s_alpha_set): Likewise. Use get_symbol_end instead local while loop.
  584. Sat Sep 6 19:38:12 1997 Fred Fish <fnf@cygnus.com>
  585. * read.h (s_lcomm_bytes): Add prototype (for real this time).
  586. Thu Sep 4 12:10:01 1997 Ian Lance Taylor <ian@cygnus.com>
  587. * config/obj-elf.c (elf_frob_symbol): Only set BSF_OBJECT for
  588. symbols on Irix.
  589. Wed Sep 3 11:21:33 1997 Nick Clifton <nickc@cygnus.com>
  590. * config/tc-v850.c: Remove BFD_RELOC_V850_16_PCREL.
  591. Tue Sep 2 18:32:30 1997 Jeffrey A Law (law@cygnus.com)
  592. * config/tc-mn10200.c (md_convert_frag): PC relative instructions arex
  593. relative to the next instruction, not the current instruction.
  594. (md_assemble): Similarly.
  595. Tue Sep 2 15:58:52 1997 Nick Clifton <nickc@cygnus.com>
  596. * doc/c-v850.texi: Explanations of offsets in SDA/ZDA areas
  597. correcetd.
  598. * config/tc-v850.c: Add support for SDA/TDA/ZDA sections.
  599. (v850_reloc_prefix): Duplicate code eliminated. Add code to
  600. recognise special instructions.
  601. (md_assemble): Calculation of the size of a fixups corrected.
  602. * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add SDA/TDA/ZDA
  603. sections.
  604. Tue Sep 2 15:40:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
  605. * config/tc-v850.c (md_assemble): Use opcode->name instead of
  606. opcode->opcode as the sentinal. Zero is a valid opcode.
  607. Tue Aug 26 16:51:14 1997 Ian Lance Taylor <ian@cygnus.com>
  608. * doc/as.texinfo (Machine Dependencies): Add v850 to menu.
  609. * doc/c-v850.texi: Change node name to match other chapter nodes.
  610. Tue Aug 26 09:46:22 1997 Nick Clifton <nickc@cygnus.com>
  611. * doc/c-v850.texi (V850 Opcodes): Correct name for tiny data area
  612. pointer.
  613. Tue Aug 26 12:23:25 1997 Ian Lance Taylor <ian@cygnus.com>
  614. * expr.c (integer_constant): If BFD64, don't make a bignum if the
  615. number will fit in 64 bits.
  616. * config/tc-alpha.c (load_expression): Check explicitly for O_big,
  617. rather than calling abort.
  618. * as.h: Don't define alloca if __GNUC__. Just declare it.
  619. * macro.c: Copy alloca handling from as.h.
  620. * config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
  621. Gabriel Paubert <paubert@iram.es>.
  622. * config/tc-i386.c (md_assemble): In JumpByte case, when looking
  623. for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
  624. is jcxz or a loop instruction.
  625. Mon Aug 25 16:04:14 1997 Nick Clifton <nickc@cygnus.com>
  626. * config/tc-v850.c (pre_defined_registers): Add 'hp' as alias for
  627. r2.
  628. (md_begin): Set up machine architecture and type.
  629. Mon Aug 25 14:25:48 1997 Ian Lance Taylor <ian@cygnus.com>
  630. * symbols.c (resolve_symbol_value): Store the value back into the
  631. symbol expression, to handle add or subtract simplification
  632. correctly. Handle O_symbol_rva. Add default case.
  633. * config/tc-ppc.c (ppc_change_csect): Temporarily lower the
  634. chunksize while creating the new subsection.
  635. * as.c (chunksize): Initialize to zero.
  636. * subsegs.c (subseg_set_rest): Change 5000 to chunksize when
  637. calling obstack_begin.
  638. Mon Aug 25 11:21:48 1997 Nick Clifton <nickc@cygnus.com>
  639. * config/tc-v850.c (md_assemble): Restore input_line_pointer upon
  640. exit.
  641. * config/tc-v850.c (parse_register_list): Support constant
  642. expressions as register lists.
  643. Mon Aug 25 10:19:34 1997 Nick Clifton <nickc@cygnus.com>
  644. * doc/c-v850.texi: Change the major node to v850 Machine
  645. Dependencies.
  646. Fri Aug 22 11:16:14 1997 Nick Clifton <nickc@cygnus.com>
  647. * doc/as.texinfo: Add inclusion of c-v850.texi
  648. * doc/c-v850.texi: New file.
  649. * read.c (is_end_of_line): Make NUL character be considered to be
  650. a line terminator.
  651. Fri Aug 22 10:45:33 1997 Nick Clifton <nickc@cygnus.com>
  652. * config/tc-v850.c (parse_register_list): Add support for curly
  653. brace syntax.
  654. (cc_names): Add "e" and "ne" conditions.
  655. Thu Aug 21 11:00:36 1997 Nick Clifton <nickc@cygnus.com>
  656. * app.c (do_scrub_chars): Support a double dash as starting a
  657. comment that extends to end of line.
  658. Thu Aug 21 10:54:27 1997 Nick Clifton <nickc@cygnus.com>
  659. * config/tc-v850.c (v850_section, v850_bss, v850_offset): New
  660. functions.
  661. (md_pseudo_table): New pseudo ops: .bss, .offset, .section
  662. Thu Aug 21 00:59:53 1997 Doug Evans <dje@canuck.cygnus.com>
  663. * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
  664. insn when changing to a different instruction.
  665. Wed Aug 20 00:45:20 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
  666. * config/tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4
  667. floating point extensions.
  668. (parse_reg): parse sgr and dbr.
  669. Tue Aug 19 17:07:34 1997 Nick Clifton <nickc@cygnus.com>
  670. * config/tc-v850.c (system_register_name): Support numbers for
  671. system register IDs.
  672. Tue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
  673. * read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
  674. flag when alignment is in bytes instead of power of 2, and code to
  675. use that flag to convert alignment to bytes.
  676. (s_lcomm, s_lcomm_bytes): New helpers that call s_lcomm_internal.
  677. * read.h (s_lcomm_bytes): Add prototype.
  678. * config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
  679. defined, write alignment to alignment bits in section header s_flags
  680. rather than the s_align field.
  681. * config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
  682. * config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
  683. pseudo, instead of s_lcomm which wants a power of two for alignment.
  684. Mon Aug 18 20:42:23 1997 Richard Henderson <rth@cygnus.com>
  685. * macro.c (check_macro): use alloca instead of xmalloc to plug leak.
  686. Mon Aug 18 20:33:06 1997 Richard Henderson <rth@cygnus.com>
  687. * as.c (show_usage): Add -am.
  688. * input-scrub.c (input_scrub_include_sb): Don't add leading \n
  689. if we've already got one.
  690. * listing.c (struct list_info_struct): Add line_contents.
  691. (listing_newline): Put unused argument to work: if non-null, save it...
  692. (listing_listing): ... and regurgitate during listing instead of line
  693. from file.
  694. * listing.h (LISTING_MACEXP): New define.
  695. (LISTING_NEWLINE): Argument is NULL.
  696. * read.c (read_a_source_file): If expanding macros, break up input
  697. lines and pass them to listing_newline.
  698. * doc/as.texinfo: Document -ac and -am.
  699. * cond.c (s_ifc): Add missing demand_empty_rest_of_line.
  700. Mon Aug 18 11:26:36 1997 Nick Clifton <nickc@cygnus.com>
  701. * config/tc-v850.c (md_apply_fix3): Add support for new 16 bit PC
  702. relative reloc.
  703. Mon Aug 18 11:24:21 1997 Nick Clifton <nickc@cygnus.com>
  704. * config/tc-v850.c: Remove support_v850e flag and command line
  705. option.
  706. * configure.in (emulations): Add support for v850e target
  707. * configure (emulations): Add support for v850e target
  708. Mon Aug 18 11:24:21 1997 Nick Clifton <nickc@cygnus.com>
  709. * config/tc-v850.c: Remove support_v850ea flag and command line
  710. option.
  711. * configure.in (emulations): Add support for v850ea target
  712. * configure (emulations): Add support for v850ea target
  713. Fri Aug 15 14:00:13 1997 Ian Lance Taylor <ian@cygnus.com>
  714. * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
  715. setting EXPECT and TCL_LIBRARY.
  716. * Makefile.in: Rebuild.
  717. * as.h (enum debug_info_type): Define.
  718. (debug_type): Declare.
  719. * as.c (debug_type): New global variable.
  720. (show_usage): Add --gstabs.
  721. (parse_args): Handle --gstabs.
  722. * read.c (generate_asm_lineno): Remove.
  723. (read_a_source_file): Output stabs debugging if appropriate.
  724. Change checks of generate_asm_lineno to check debug_type. Only
  725. generate ECOFF debugging if ECOFF_DEBUGGING is defined.
  726. * read.h (generate_asm_lineno): Don't declare.
  727. (stabs_generate_asm_lineno): Declare.
  728. * stabs.c (stabs_generate_asm_lineno): New function.
  729. * ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
  730. Don't turn off debugging.
  731. (add_file): Remove old #if 0 code.
  732. (ecoff_new_file): Set debug_type, not generate_asm_lineno.
  733. (ecoff_directive_end): Don't generate stabs line symbols.
  734. (ecoff_generate_asm_lineno): Don't check stabs_seen. Don't set
  735. generate_asm_lineno.
  736. (line_label_cnt): Remove.
  737. (ecoff_generate_asm_line_stab): Remove.
  738. * ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
  739. * doc/as.texinfo, doc/as.1: Document --gstabs.
  740. Wed Aug 13 18:58:56 1997 Nick Clifton <nickc@cygnus.com>
  741. * config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
  742. Add support for v850ea instructions.
  743. * config/tc-v850.c (md_assemble, md_show_usage, md_parse_option):
  744. Add support for v850e instructions.
  745. * config/tc-v850.c (md_assemble): Fix error recovery to reload
  746. text of entire opcode.
  747. Tue Aug 12 10:27:34 1997 Richard Henderson <rth@cygnus.com>
  748. * doc/internals.texi: Document rs_leb128.
  749. Tue Aug 12 12:17:03 1997 Ian Lance Taylor <ian@cygnus.com>
  750. * config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
  751. in ABSL case, rather than calling abort.
  752. Mon Aug 11 21:48:00 1997 Richard Henderson <rth@cygnus.com>
  753. * as.h (enum _relax_state): Add rs_leb128.
  754. * read.c (potable): Add sleb128 and uleb128.
  755. (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
  756. functions.
  757. * read.h: Update prototypes.
  758. * symbols.c (resolve_symbol_value): Streamline quite a bit. Return
  759. the symbol value, add a second FINALIZE argument that prevents
  760. changes from being comitted. Update all callers.
  761. * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
  762. * doc/as.texinfo: Document the new pseudos.
  763. Sun Aug 10 14:51:49 1997 Ian Lance Taylor <ian@cygnus.com>
  764. * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
  765. stage1, and stage2.
  766. (DISTCLEANFILES): Define.
  767. * doc/Makefile.am (DISTCLEANFILES): Define.
  768. * Makefile.in, doc/Makefile.in: Rebuild.
  769. Wed Aug 6 00:30:30 1997 Ian Lance Taylor <ian@cygnus.com>
  770. * configure.in: Define TARGET_BYTES_BIG_ENDIAN if endian is set.
  771. Don't set targ or gas_target. Define SCO_ELF and
  772. TARGET_SOLARIS_COMMENT when appropriate. Don't substitute for
  773. target_frag.
  774. * Makefile.am: Remove @target_frag@.
  775. (INCLUDES): Remove $(INTERNAL_CFLAGS), $(CROSS), $(HDEFINES), and
  776. $(TDEFINES).
  777. (dep-am): Mark as phony.
  778. * acconfig.h: Add TARGET_BYTES_BIG_ENDIAN, TARGET_SOLARIS_COMMENT,
  779. and SCO_ELF.
  780. * config/arm-big.mt, config/arm-lit.mt: Remove.
  781. * config/mips-big.mt, config/mips-lit.mt: Remove.
  782. * config/ppc-big.mt, config/ppc-lit.mt: Remove.
  783. * config/ppc-sol.mt: Remove.
  784. * config/i386coff.mt, config/m68kcoff.mt: Remove.
  785. * config/m88kcoff.mt: Remove.
  786. * config/sco5.mt: Remove.
  787. * configure, config.in, Makefile.in: Rebuild.
  788. * Makefile.am ($(srcdir)/config/m68k-parse.h): New target, to
  789. further try to circumvent the .y.h rule.
  790. * Makefile.in: Rebuild.
  791. Tue Aug 5 12:32:07 1997 Ian Lance Taylor <ian@cygnus.com>
  792. * Makefile.am: New file, based on old Makefile.in.
  793. * acinclude.m4: New file, from old aclocal.m4.
  794. * configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
  795. shared library handling; now handled by libtool. Replace
  796. AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
  797. AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
  798. AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
  799. * config.in: New file, created by autoheader.
  800. * conf.in: Remove.
  801. * acconfig.h: Mention PACKAGE, VERSION, and USING_CGEN.
  802. * stamp-h.in: New file.
  803. * as.c (print_version_id): Change GAS_VERSION to VERSION.
  804. (parse_args): Likewise.
  805. * config/obj-vms.c: (Write_VMS_MHD_Records): Likewise.
  806. * doc/Makefile.am: New file, based on old doc/Makefile.in.
  807. * Makefile.in, doc/Makefile.in: Now built with automake.
  808. * aclocal.m4: Now built with aclocal.
  809. * configure: Rebuild.
  810. * cond.c (s_else): If not listing false conditionals, turn listing
  811. off in the false branch of the else.
  812. Mon Aug 4 11:28:35 1997 Ian Lance Taylor <ian@cygnus.com>
  813. * config/tc-mips.c (macro): Fix handling of a double load from a
  814. symbol plus an offset.
  815. * ecoff.c (ecoff_build_symbols): Set fMerge to 0 for an FDR which
  816. has an associated external symbol.
  817. Sun Aug 3 23:23:59 1997 Richard Henderson <rth@cygnus.com>
  818. * config/tc-alpha.c (s_alpha_ucons): New function.
  819. (md_pseudo_table): Add unaligned data pseudos for DWARF.
  820. Thu Jul 31 15:13:43 1997 Jeffrey A Law (law@cygnus.com)
  821. * config/tc-v850.c (md_assemble): Ignore the rest of the current
  822. line if we encounter an error.
  823. * config/tc-v850.c (md_assemble): Sign extend constants value
  824. for hi and hi0 expressions.
  825. (v850_insert_operand): Enable range checking for generic 16bit
  826. operands.
  827. Tue Jul 29 14:20:43 1997 Jeffrey A Law (law@cygnus.com)
  828. * config/tc-v850.c (md_assemble): Turn on fx_no_overflow for
  829. LO16, HI16 and HI16_S relocs.
  830. Mon Jul 28 18:41:41 1997 Rob Savoye <rob@chinadoll.cygnus.com>
  831. * configure.in: Use CYGWIN and EXEEXT autoconf macro to look for
  832. win32 dependencies.
  833. * configure: Regenerated with autoconf 2.12.
  834. * Makefile.in: Add $(EXEEXT) to all executables.
  835. Fri Jul 25 10:54:43 1997 Jeffrey A Law (law@cygnus.com)
  836. * config/tc-hppa.c (md_apply_fix): Improve warnings for out of range
  837. unconditional branches.
  838. (hppa_fix_adjustable): Don't adjust anything with a RR% or LR%
  839. field selector.
  840. Thu Jul 24 15:21:49 1997 Doug Evans <dje@canuck.cygnus.com>
  841. * config/tc-sparc.c (md_begin): Cast sparc_opcodes to PTR for hash_insert.
  842. Thu Jul 24 17:51:29 1997 Ian Lance Taylor <ian@cygnus.com>
  843. * macro.c (define_macro): Make sure the index is in range before
  844. checking for '('.
  845. Thu Jul 24 12:13:19 1997 Fred Fish <fnf@cygnus.com>
  846. * config/tc-tic80.c (build_insn): Remove "extended" and replace with
  847. "fx" and "fxfrag". Add "ffrag". Change code to initialize and use
  848. the right f/ffrag and fx/fxfrag pairs since instruction may be split
  849. across frags.
  850. Tue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
  851. * config/te-go32.h (USE_ALIGN_PTWO): Define.
  852. * config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
  853. defined, use s_align_ptwo for .align.
  854. * configure.in (i386-*-msdosdjgpp*): New target.
  855. (i386-*-go32*): Set em to go32 and targ to coffgo32.
  856. * configure: Rebuild.
  857. Tue Jul 22 12:41:40 1997 Doug Evans <dje@canuck.cygnus.com>
  858. * config/tc-sparc.c (last_opcode): New static local.
  859. (md_assemble): Don't issue "FP branch in delay slot" warning if
  860. the delay slot has been annulled.
  861. Tue Jul 22 13:25:13 1997 Ian Lance Taylor <ian@cygnus.com>
  862. * config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
  863. code if BFD_ASSEMBLER.
  864. Mon Jul 21 08:57:17 1997 Jeffrey A Law (law@cygnus.com)
  865. * config/tc-v850.c (system_registers): Fix ordering of registers.
  866. Tue Jul 15 16:29:54 1997 Fred Fish <fnf@cygnus.com>
  867. * config/tc-tic80.c (build_insn): Initialize extended word to zero
  868. when it will be filled in later by relocation information.
  869. Mon Jul 14 23:10:58 1997 Ian Lance Taylor <ian@cygnus.com>
  870. * config/tc-mips.c (macro_build): Restore check of fmt argument.
  871. (mips_ip): Fix ISA checks.
  872. Mon Jul 14 19:30:55 1997 Fred Fish <fnf@cygnus.com>
  873. * config/tc-tic80.c (build_insn): Fix endianness problem with
  874. O_big operands.
  875. Sun Jul 13 20:43:46 1997 Ian Lance Taylor <ian@cygnus.com>
  876. * config/tc-mips.c (check_absolute_expr): Change warning to
  877. error.
  878. Fri Jul 11 10:18:47 1997 Jeffrey A Law (law@cygnus.com)
  879. * config/tc-mips.c (macro_build): Refine code to check if an
  880. instruction is available on a particular cpu variant.
  881. (mips_ip): Likewise.
  882. Mon Jul 7 22:53:08 1997 Ian Lance Taylor <ian@cygnus.com>
  883. * config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
  884. OBJ_AOUT to ifdef OBJ_ELF.
  885. (md_apply_fix3): When mangling 32 bit PC relative reloc for
  886. BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
  887. case.
  888. * write.c (fixup_segment): Change special case for i386-coff to
  889. not apply for i386-pe.
  890. * config/obj-coff.c (coff_adjust_section_syms): Only count fixups
  891. which were not done.
  892. (coff_frob_file_after_relocs): Rename from coff_frob_file.
  893. (coff_format_ops): Initialize frob_file_after_relocs field rather
  894. than frob_file field.
  895. * config/obj-coff.h (coff_frob_file): Don't declare.
  896. (coff_frob_file_after_relocs): Declare.
  897. (obj_frob_file): Don't define.
  898. (obj_frob_file_after_relocs): Define.
  899. * configure.in: Set bfd_gas to yes for i386-*-cygwin32.
  900. * configure: Rebuild.
  901. Wed Jul 2 12:05:00 1997 Ian Lance Taylor <ian@cygnus.com>
  902. * config/obj-coff.c (fixup_segment): Never subtract section
  903. address from PC relative reloc which will be fully resolved.
  904. Tue Jul 1 15:23:07 1997 Jeffrey A Law (law@cygnus.com)
  905. * ecoff.c (page_type): Renamed from page_t to avoid conflict
  906. with hpux10 header files.
  907. Mon Jun 30 12:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
  908. From Jason Merrill <jason@cygnus.com>:
  909. * read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
  910. SEC_CODE is set.
  911. * config/tc-i386.h (md_maybe_text): Define.
  912. (md_do_align): Use md_maybe_text.
  913. Fri Jun 27 19:15:27 1997 Michael Meissner <meissner@cygnus.com>
  914. * config/tc-ppc.h (tc_fix_adjustable): Only check for GOT type
  915. relocations, don't check for symbol being external, weak, etc.
  916. Mon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au>
  917. * config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler
  918. calculate relocations to any external symbol, because we might be
  919. linking a shared object and the symbol might be overriden or moved
  920. (for instance, moved into a static executable's .bss section).
  921. (GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness.
  922. * config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't
  923. be calculated by the assembler.
  924. * config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch
  925. whose destination lies in the same file, by ignoring the @plt or
  926. @local and aiming the branch at its destination.
  927. Mon Jun 16 13:59:18 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  928. * symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag.
  929. * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size
  930. expression.
  931. * config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead
  932. of obj_copy_symbol_attributes.
  933. Mon Jun 16 12:45:56 1997 Ian Lance Taylor <ian@cygnus.com>
  934. * config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
  935. signed operand, sign extend a 32 bit value to the host size.
  936. * Makefile.in (CFLAGS): Subsitute from configure script. From
  937. Jeff Makey <jeff@cts.com>.
  938. * config/tc-i386.c (i386_operand): Use alloca rather than a fixed
  939. buffer size to make a copy of the symbol.
  940. * Makefile.in (OBJS): Put @extra_objects@ on the same line as
  941. macro.o.
  942. Thu Jun 12 12:16:20 1997 Ian Lance Taylor <ian@cygnus.com>
  943. * write.c (write_object_file): In non BFD_ASSEMBLER code, as we
  944. step through the frags calling cvt_frag_to_fill, switch to
  945. SEG_DATA when we reach data_frag_root.
  946. Tue Jun 10 17:08:34 1997 Jeffrey A Law (law@cygnus.com)
  947. * config/tc-mn10300.c (md_assemble): Allow an empty register
  948. list for instructions which use register lists.
  949. Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  950. * config/tc-arm.c (md_apply_fix3): Make temp unsigned long.
  951. * config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
  952. OBJ_COFF.
  953. * config/tc-arm.c: Add prototypes for many static functions.
  954. (struct asm_opcode ): Add prototypes for parms field.
  955. (struct thumb_opcode ): Likewise.
  956. (fp_op2): Remove unused flags parameter.
  957. (output_inst): Make static.
  958. (arm_after_pass_hook): Remove unused ignore parameter.
  959. * config/tc-arm.h (arm_after_pass_hook): Declare.
  960. (arm_start_line_hook): Declare.
  961. (arm_frob_label): Declare.
  962. Mon Jun 9 12:55:45 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  963. * depend.c (wrap_output): new prototype.
  964. Mon Jun 9 12:52:44 1997 Ian Lance Taylor <ian@cygnus.com>
  965. * config/tc-sh.c (md_apply_fix): Check for overflow.
  966. * config/tc-m68k.c (md_section_align): If a.out and BFD, force
  967. section size to be aligned.
  968. Fri Jun 6 17:15:55 1997 Ian Lance Taylor <ian@cygnus.com>
  969. * config/tc-sh.h (md_cons_align): Define.
  970. (sh_cons_align): Declare.
  971. * config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
  972. (sh_no_align_cons): New static variable.
  973. (s_uacons): New static function.
  974. (sh_cons_align): New function.
  975. (sh_handle_align): Warn about misaligned data.
  976. * doc/c-sh.texi: Document .uaword and .ualong.
  977. Thu Jun 5 15:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
  978. * macro.c (macro_expand): In MRI mode, treat single quote as a
  979. separator character when checking for a positional argument.
  980. Tue Jun 3 16:15:13 1997 Nick Clifton <nickc@cygnus.com>
  981. * config/tc-arm.c (md_parse_option): Merge in changes from
  982. armT-970328-branch.
  983. * config/tc-arm.h: Merge in changes from armT-970328-branch.
  984. * configure.in (emulations): Add Thumb architecture support from
  985. armT-9703-28-branch.
  986. Mon Jun 2 16:25:07 1997 Nick Clifton <nickc@cygnus.com>
  987. * doc/all.texi: Add enabling of ARM documentation.
  988. * doc/as.texinfo: Add ARM documentation from armT-970328-branch.
  989. Mon Jun 2 11:55:12 1997 Gavin Koch <gavin@cygnus.com>
  990. * config/tc-mips.c: Added r3900 support.
  991. Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
  992. * as.c: (parse_args) `-t' option requires an argument.
  993. Wed May 28 15:45:07 1997 Nick Clifton <nickc@cygnus.com>
  994. * config/tc-arm.c (md_begin): Change call to
  995. coff_arm_bfd_set_private_flags() to a call to
  996. bfd_set_private_flags().
  997. Wed May 28 16:17:34 1997 Ian Lance Taylor <ian@cygnus.com>
  998. * Makefile.in: Rebuild dependencies.
  999. * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
  1000. of a BFD_RELOC_RVA reloc.
  1001. Wed May 28 10:48:14 1997 Jeffrey A Law (law@cygnus.com)
  1002. * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
  1003. (hppa_force_relocation): Force a relocation for an absolute
  1004. call/jump.
  1005. Mon May 26 13:24:25 1997 Ian Lance Taylor <ian@cygnus.com>
  1006. * doc/as.texinfo: Don't use @value in section names or index
  1007. entries; it confuses texinfo.tex.
  1008. Fri May 23 00:09:35 1997 Tom Tromey <tromey@cygnus.com>
  1009. * doc/as.texinfo: Updated for -MD option.
  1010. * Makefile.in (CFILES): Added depend.c.
  1011. (OBJS): Added depend.o.
  1012. * as.h (start_dependencies, register_dependency,
  1013. print_dependencies): New declarations.
  1014. * depend.c: New file.
  1015. * as.c (parse_args): Added -MD option.
  1016. (main): Call print_dependencies.
  1017. (show_usage): Added help for -MD.
  1018. * read.c (s_app_file): Call register_dependency.
  1019. (s_include): Call register_dependency when file is found.
  1020. (read_a_source_file): Call register_dependency.
  1021. Wed May 21 17:39:28 1997 Ian Lance Taylor <ian@cygnus.com>
  1022. * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
  1023. section address to the symbol value.
  1024. Tue May 20 11:23:31 1997 Gavin Koch <gavin@cygnus.com>
  1025. * config/tc-mips.c (macro_build,mips_ip): Move the INSN_ISA field
  1026. into the new membership field.
  1027. Thu May 15 10:00:53 1997 Nick Clifton <nickc@cygnus.com>
  1028. * config/tc-arm.c (md_begin): If no cpu type is specified on the
  1029. command line then the ARM7 is now chosen by default when setting
  1030. the BFD machine and architecture.
  1031. Wed May 14 09:54:53 1997 Nick Clifton <nickc@cygnus.com>
  1032. * config/tc-arm.c (global variables): Added 'uses_apcs_26' flag to
  1033. hold APCS selection.
  1034. (md_begin): Added code to generate flags to be set into the COFF
  1035. header and the calls to the BFD functions to do this.
  1036. (md_parse_option, md_show_usage): Added new command line
  1037. options -mapcs-32, -mapcs-26, -marmv2, -marmv2a, -marmv3,
  1038. -marmv3m, -marmv4, -marmv4t.
  1039. * config/tc-arm.h (LOCAL_LABEL): Removed the definition of this macro
  1040. as it is never used.
  1041. Tue May 13 22:26:14 1997 Jeffrey A Law (law@cygnus.com)
  1042. * config/tc-mn10200.c (md_convert_frag): Prefix temporary
  1043. label name with ".".
  1044. * config/tc-mn10300.c (md_convert_frag): Likewise.
  1045. Tue May 13 14:44:39 1997 Ian Lance Taylor <ian@cygnus.com>
  1046. * config/tc-mips.c (set_at): Check for bignum.
  1047. (check_absolute_expr, macro, mips16_macro): Likewise.
  1048. Tue May 13 10:45:56 1997 Fred Fish <fnf@cygnus.com>
  1049. * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
  1050. for overflow/underflow, only insert lower 15 bits into instruction.
  1051. Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  1052. * config/tc-i386.c (pi): Check for RegMMX.
  1053. Thu May 8 11:10:15 1997 Ian Lance Taylor <ian@cygnus.com>
  1054. * expr.c (expr): When subtracting values in the same frag,
  1055. subtract X_add_number rather than adding it.
  1056. Wed May 7 15:39:48 1997 Ian Lance Taylor <ian@cygnus.com>
  1057. * config/obj-coff.c (write_object_file): Just pass NULL to
  1058. md_do_align, not the address of a char holding NOP_OPCODE.
  1059. * config/tc-mips.c (macro): Handle constants for M_LI_D and
  1060. M_LI_DD.
  1061. (mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
  1062. than an address if the floating point value looks sufficiently
  1063. simple.
  1064. Tue May 6 12:18:09 1997 Ian Lance Taylor <ian@cygnus.com>
  1065. * config/tc-i386.c (md_section_align): If a.out and BFD, force
  1066. section size to be aligned.
  1067. Mon May 5 17:16:55 1997 Ian Lance Taylor <ian@cygnus.com>
  1068. * cond.c: Include "macro.h".
  1069. (struct conditional_frame): Add macro_nest field.
  1070. (initialize_cframe): Initialize macro_nest.
  1071. (cond_finish_check): Add nest parameter. Change all callers.
  1072. (cond_exit_macro): New function.
  1073. * as.h (cond_finish_check): Update declaration.
  1074. (cond_exit_macro): Declare.
  1075. * input-scrub.c (macro_nest): Make globally visible.
  1076. (input_scrub_next_buffer): Call cond_finish_check.
  1077. * macro.h (macro_nest): Declare.
  1078. * read.c (s_mexit): Call cond_exit_macro.
  1079. * config/tc-i386.h (RegMMX): Define.
  1080. * config/tc-i386.c (pi): Check for all register types.
  1081. (type_names): Add RegMMX.
  1082. (md_assemble): Handle RegMMX.
  1083. Wed Apr 30 12:47:00 1997 Manfred Hollstein <manfred@s-direktnet.de>
  1084. * config/obj-coff.c (c_section_symbol): Clear the LOCAL bit #ifdef
  1085. TE_DELTA.
  1086. Tue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>
  1087. * config/tc-mips.c (nopic_need_relax): Add new parameter
  1088. before_relaxing. Use it when testing ecoff_extern_size.
  1089. (load_address, macro, md_estimate_size_before_relax): Fix all
  1090. callers.
  1091. Tue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
  1092. * config/obj-elf.c (elf_pseudo_table): Add "subsection".
  1093. (obj_elf_subsection): New static function.
  1094. Tue Apr 29 19:52:47 1997 Ian Lance Taylor <ian@cygnus.com>
  1095. * config/obj-coff.c (coff_header_append): Don't reset string_size
  1096. each time through the loop.
  1097. Fri Apr 25 14:17:46 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  1098. * Makefile.in (DISTSTUFF): Add itbl-parse.h.
  1099. Fri Apr 25 12:03:15 1997 Ian Lance Taylor <ian@cygnus.com>
  1100. * doc/internals.texi (Porting GAS): Correct documentation for
  1101. current configure handling of targ-cpu.h, et. al.
  1102. (CPU backend): Document listing macros.
  1103. * listing.c (data_buffer): Set size based on other listing macros,
  1104. rather than always using 100.
  1105. (data_buffer_size): Remove static variable.
  1106. (calc_hex): Make data_buffer_size a local variable. Don't leave
  1107. any slop when filling data_buffer.
  1108. Mon Apr 21 15:33:19 1997 Ian Lance Taylor <ian@cygnus.com>
  1109. * doc/c-mips.texi: Document .set autoextend.
  1110. Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>
  1111. * configure.in (i386-*-openbsd*, m68k-*-openbsd*,
  1112. mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
  1113. sparc-*-openbsd*): New targets.
  1114. * configure: Rebuild.
  1115. Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>
  1116. * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
  1117. for all undefined symbols.
  1118. Fri Apr 18 13:37:35 1997 Ian Lance Taylor <ian@cygnus.com>
  1119. * config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
  1120. correctly.
  1121. Fri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se>
  1122. * configure.in (alpha*-*-openbsd*): New target.
  1123. * configure: Rebuild.
  1124. Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>
  1125. * configure.in (mips-*-openbsd*): New target.
  1126. * configure: Rebuild.
  1127. Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
  1128. * config/tc-d30v.c (parallel_ok): Fix parallel checking
  1129. for instructions using conditional execution.
  1130. Tue Apr 15 18:11:44 1997 Gavin Koch <gavin@cygnus.com>
  1131. * config/tc-mips.c (insn_uses_reg): Correct test for fpr pairs.
  1132. Tue Apr 15 13:04:47 1997 Ian Lance Taylor <ian@cygnus.com>
  1133. * Makefile.in (srcroot): Remove.
  1134. (INSTALL): Set to @INSTALL@.
  1135. (INSTALL_XFORM, INSTALL_XFORM1): Remove.
  1136. (all, dvi): Don't set srcroot.
  1137. (install): Depend upon as.new, gasp.new, and installdirs. Use
  1138. $(program_transform_name) directly, rather than using
  1139. $(INSTALL_XFORM) and $(INSTALL_XFORM1).
  1140. (installdirs): New target.
  1141. * doc/Makefile.in (INSTALL_XFORM1): Remove.
  1142. (install): Depend upon installdirs. Use $(program_transform_name)
  1143. directly, rather than using $(INSTALL_XFORM) and
  1144. $(INSTALL_XFORM1).
  1145. (installdirs): New target.
  1146. (install-info-as): Run mkinstalldirs.
  1147. (install-info-gasp): Likewise.
  1148. Mon Apr 14 11:59:08 1997 Ian Lance Taylor <ian@cygnus.com>
  1149. * Makefile.in (INSTALL): Change install.sh to install-sh.
  1150. * symbols.c (resolve_symbol_value): Check for division by zero.
  1151. From Thomas Graichen <graichen@rzpd.de>:
  1152. * Makefile.in: Always use $(SHELL) when running move-if-change.
  1153. * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
  1154. * configure: Rebuild.
  1155. Thu Apr 10 14:40:00 1997 Doug Evans <dje@canuck.cygnus.com>
  1156. * cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
  1157. New argument `want'. Update enum cgen_parse_operand_result values.
  1158. Initialize if CGEN_PARSE_OPERAND_INIT.
  1159. * config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
  1160. (md_assemble): Call cgen_asm_init_parse.
  1161. Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
  1162. Wed Apr 9 11:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
  1163. * config/tc-m68k.c (m68k_ip): Handle #j.
  1164. Tue Apr 8 16:37:57 1997 Jeffrey A Law (law@cygnus.com)
  1165. * config/tc-mn10300.c (md_convert_frag): Create fixup at the
  1166. right address for call label:32,regs,imm.
  1167. Mon Apr 7 14:58:22 1997 Jeffrey A Law (law@cygnus.com)
  1168. * config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
  1169. zero.
  1170. * config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
  1171. symbol for OBJ_ELF anymore.
  1172. Mon Apr 7 10:54:59 1997 Doug Evans <dje@canuck.cygnus.com>
  1173. * Makefile.in: Regenerate dependencies.
  1174. (TARG_CPU): New variable.
  1175. (cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
  1176. (.dep1): Delete creating of cgen-opc.h.
  1177. (.tcdep): Put proper contents in cgen-opc.h.
  1178. * configure.in (m32r): Delete setting of extra_files, extra_links.
  1179. (AC_OUTPUT): Create cgen-opc.h.
  1180. * configure: Regenerated.
  1181. Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
  1182. * makefile.vms: Update to build gasp.exe.
  1183. Fri Apr 4 16:10:02 1997 Doug Evans <dje@canuck.cygnus.com>
  1184. * write.c (relax_frag): Make non-static.
  1185. * write.h (relax_frag): Add prototype for.
  1186. * config/tc-m32r.h (md_do_align): New arg `max'.
  1187. * config/tc-m32r.c (m32r_do_align): Likewise.
  1188. Update calls to frag_align, frag_align_pattern.
  1189. (fill_insn): Update call to m32r_do_align.
  1190. (m32r_scomm): Update call to frag_align.
  1191. * config/tc-m32r.[ch]: New files.
  1192. * cgen.c: New file.
  1193. * Makefile.in (CPU_TYPES): Add m32r.
  1194. (TARGET_CPU_CFILES): Add tc-m32r.c.
  1195. (TARGET_CPU_HFILES): Add tc-m32r.h.
  1196. (DISTCLEAN_HERE): Add cgen-opc.h.
  1197. (.dep1,.tcdep): Create empty cgen-opc.h.
  1198. (cgen.o): Add dependencies.
  1199. (dependencies): Regenerate.
  1200. * as.h (struct frag): New member fr_targ.
  1201. (fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
  1202. * conf.in (USING_CGEN): New macro.
  1203. * configure.in (m32r-*-*): Add entry for.
  1204. Add cgen.o to extra_objects.
  1205. * configure: Regenerate.
  1206. * frags.c (frag_var): fr_pcrel_adjust renamed to
  1207. fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr.
  1208. (frag_variant): Likewise.
  1209. * write.c (relax_frag): Likewise.
  1210. * config/tc-ns32k.c (*): Likewise.
  1211. Fri Apr 4 13:26:10 1997 Ian Lance Taylor <ian@cygnus.com>
  1212. * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
  1213. rather than for any end of line character.
  1214. * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
  1215. call abort (i.e., as_abort) rather than crashing.
  1216. * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
  1217. OBJ_ELF, rather than of S_GET_OTHER.
  1218. * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
  1219. Thu Apr 3 13:16:18 1997 Ian Lance Taylor <ian@cygnus.com>
  1220. * Makefile.in (VERSION): Set to 2.8.1.
  1221. * Branched binutils 2.8.
  1222. Wed Apr 2 12:24:10 1997 Ian Lance Taylor <ian@cygnus.com>
  1223. * COPYING: Update FSF address.
  1224. * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
  1225. Tue Apr 1 18:29:47 1997 Jim Wilson <wilson@cygnus.com>
  1226. * config/tc-mips.c (md_begin): Don't set interlocks for 4100.
  1227. Tue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
  1228. * config-gas.com: Update to handle both vax and alpha.
  1229. * makefile.vms: Update to use config-gas.
  1230. * conf-a-gas.com: Remove file.
  1231. Tue Apr 1 16:08:21 1997 Ian Lance Taylor <ian@cygnus.com>
  1232. * Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
  1233. itbl-lex.c dependencies. Remove rules for itbl-lex.o,
  1234. itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
  1235. Tue Apr 1 11:25:56 1997 Michael Meissner <meissner@cygnus.com>
  1236. * config/tc-tic80.c (line_comment_char): Make '#' start comments
  1237. at the beginning of a line for compatibility with .S files where
  1238. cpp leaves the filename transitions beginning with '#'.
  1239. Tue Apr 1 00:07:30 1997 Ian Lance Taylor <ian@cygnus.com>
  1240. * config/tc-m68k.c: Only compile tc_coff_symbol_emit_hook and
  1241. tc_coff_sizemachdep if OBJ_COFF.
  1242. Mon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  1243. * config/tc-ppc.c (register_name): Declare.
  1244. Mon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com>
  1245. * configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
  1246. * configure: Rebuild.
  1247. Mon Mar 31 14:15:19 1997 Ian Lance Taylor <ian@cygnus.com>
  1248. * config/tc-mips.c (mips_pseudo_table): Add "stabn".
  1249. (mips16_mark_labels): New static function.
  1250. (append_insn): Call mips16_mark_labels.
  1251. (mips_emit_delays): Likewise.
  1252. (s_insn): Likewise. Don't call mips_clear_insn_labels.
  1253. (s_mips_stab): New static function.
  1254. * configure.in: Use ELF for mips-*-gnu*.
  1255. * configure: Rebuild.
  1256. Mon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1257. * config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
  1258. TE_DELTA.
  1259. Fri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
  1260. * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set,
  1261. set OPCODES_LIB to empty.
  1262. * configure: Rebuild.
  1263. Fri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  1264. * configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
  1265. targets.
  1266. * configure: Rebuild.
  1267. Fri Mar 28 13:08:33 1997 Ian Lance Taylor <ian@cygnus.com>
  1268. * itbl-parse.y (yyerror): Make static. Declare.
  1269. From Ralf Baechle <ralf@gnu.ai.mit.edu>:
  1270. * configure.in: Set emulations for mips-*-linux*-*.
  1271. * configure: Rebuild.
  1272. * config/tc-mips.c (struct mips_set_options): Define.
  1273. (mips_opts): New static variable.
  1274. (mips_isa): Remove. Now a field in mips_opts. Change all
  1275. references.
  1276. (mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
  1277. (mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
  1278. (struct mips_option_stack): Define.
  1279. (mips_opts_stack): New static variable.
  1280. (s_mipsset): Add support for .set push and .set pop.
  1281. * doc/c-mips.texi: Document .set push and .set pop.
  1282. * config/obj-elf.c (obj_elf_section_change_hook): New function.
  1283. * config/obj-elf.h (obj_elf_section_change_hook): Declare it.
  1284. * config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
  1285. Thu Mar 27 12:23:56 1997 Ian Lance Taylor <ian@cygnus.com>
  1286. * as.c (parse_args): Update copyright date in version message.
  1287. * Makefile.in (clean-here): Remove dependency files.
  1288. * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
  1289. (s_mri_common): Check S_IS_COMMON unconditionally.
  1290. * symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
  1291. * config/tc-alpha.c (s_alpha_comm): Likewise.
  1292. * config/tc-mips.c (nopic_need_relax): Likewise.
  1293. * config/tc-ppc.c (ppc_elf_lcomm): Likewise.
  1294. (ppc_pe_comm): Likewise.
  1295. * config/obj-elf.c (obj_elf_common): Likewise. Set segment of
  1296. common symbol to bfd_com_section_ptr.
  1297. * config/tc-sparc.c (s_common): Likewise.
  1298. (tc_gen_reloc): Likewise.
  1299. Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1300. * config/tc-d30v.c (md_apply_fix3): Get the relocs right.
  1301. Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
  1302. * config/tc-i386.c (tc_i386_fix_adjustable): Only define if
  1303. BFD_ASSEMBLER.
  1304. Wed Mar 26 11:32:51 1997 Ian Lance Taylor <ian@cygnus.com>
  1305. * input-scrub.c (input_scrub_next_buffer): Handle very long input
  1306. lines correctly.
  1307. * listing.c (print_lines): Add lineno parameter. Change all
  1308. callers.
  1309. (listing_listing): Only call calc_hex for the right line.
  1310. (listing_list): Set the new edict based on the current edict, in
  1311. order to handle listing commands in macros correctly.
  1312. * config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
  1313. instructions.
  1314. * cond.c (cond_finish_check): New function.
  1315. * as.h (cond_finish_check): Declare.
  1316. * as.c (main): Call cond_finish_check.
  1317. Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1318. * config/tc-d30v.c (md_assemble): If two instructions
  1319. are supposed to be assembled in parallel and the first one is
  1320. long, print an error and stop.
  1321. (md_apply_fix3): Don't calculate absolute relocs. Just write
  1322. them out.
  1323. Mon Mar 24 12:11:18 1997 Ian Lance Taylor <ian@cygnus.com>
  1324. * config/tc-i386.h (iclrKludge): Define.
  1325. * config/tc-i386.c (md_assemble): Handle iclrKludge.
  1326. * config/tc-alpha.h (tc_frob_file_before_adjust): Define if
  1327. OBJ_ECOFF.
  1328. (alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
  1329. * config/tc-alpha.c (alpha_debug): New static variable.
  1330. (md_parse_option): Set alpha_debug if -g is seen.
  1331. (alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
  1332. Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1333. * config/tc-d30v.c (build_insn): Enable range-checking code.
  1334. (postfix): Stop at space or comma.
  1335. (md_assemble): Change error message.
  1336. Sat Mar 22 13:44:28 1997 Ian Lance Taylor <ian@cygnus.com>
  1337. * Makefile.in: Added automatic dependency building.
  1338. * dep-in.sed: New file.
  1339. Fri Mar 21 15:42:37 1997 Ian Lance Taylor <ian@cygnus.com>
  1340. * config/obj-ieee.c (segment_name): Don't define function if this
  1341. is a macro.
  1342. * config/obj-coff.h (DO_STRIP): Don't define.
  1343. * config/tc-h8300.h (DO_STRIP): Don't define.
  1344. * config/tc-h8500.h (DO_STRIP): Don't define.
  1345. * config/tc-w65.h (DO_STRIP): Don't define.
  1346. * config/tc-z8k.h (DO_STRIP): Don't define.
  1347. * symbols.c (colon): Call obj_frob_label if it is defined.
  1348. * config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
  1349. * configure.in: Don't set files and links. Don't call
  1350. AC_LINK_FILES. Substitute te_file. Create targ-cpu.h,
  1351. obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
  1352. * configure: Rebuild.
  1353. * Makefile.in (TARG_CPU_C): New variable.
  1354. (TARG_CPU_O, TARG_CPU_H): New variables.
  1355. (OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
  1356. (TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
  1357. (SOURCES): Rename from REAL_SOURCES. Delete old definition.
  1358. (LINKED_SOURCES): Remove.
  1359. (HEADERS): Rename from REAL_HEADERS. Delete old definition.
  1360. (LINKED_HEADERS): Remove.
  1361. (OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
  1362. ($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
  1363. targ-cpu.h, etc.
  1364. ($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
  1365. (targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
  1366. (itbl-cpu.h): Remove target.
  1367. (DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
  1368. atof-targ.h.
  1369. Thu Mar 20 19:18:58 1997 Ian Lance Taylor <ian@cygnus.com>
  1370. * doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
  1371. Thu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1372. * config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
  1373. open coded loop that does not require the name to start with a
  1374. name beginner.
  1375. Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
  1376. * frags.c (frag_var): Change offset parameter to offsetT.
  1377. (frag_variant): Likewise.
  1378. * frags.h (frag_variant, frag_var): Update declarations.
  1379. * config/tc-m68k.c (struct m68k_it): Change foff field to
  1380. offsetT.
  1381. (add_frag): Change off parameter to offsetT.
  1382. * Several files: Add casts to calls to frag_var.
  1383. * Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
  1384. serialize a parallel make.
  1385. (itbl-parse.h): Split target out from itbl-parse.c.
  1386. Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1387. * config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
  1388. * config/te-delta.h (COFF_COMMON_ADDEND): Define.
  1389. * config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
  1390. storing the value of a common symbol.
  1391. Wed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1392. * config/obj-coff.c (glue_symbols): Unused variable symbolP
  1393. removed.
  1394. (crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
  1395. that is done by symbol_remove and symbol_insert.
  1396. * config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
  1397. symbol.
  1398. Wed Mar 19 11:06:29 1997 Ian Lance Taylor <ian@cygnus.com>
  1399. * config/tc-mips.c (load_register): In 32 bit mode, when not
  1400. dealing with a 64 bit number, permit the upper 32 bits to be set
  1401. even if bit 31 is not set.
  1402. Tue Mar 18 23:30:14 1997 Ian Lance Taylor <ian@cygnus.com>
  1403. * read.c (potable): Add "equiv".
  1404. (s_set): Handle .equiv based on argument.
  1405. * doc/as.texinfo (Equiv): New node to document .equiv.
  1406. (Err): New node to document .err.
  1407. Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
  1408. * Many files: Add function prototypes.
  1409. * as.c (show_usage, parse_args): Make static.
  1410. * frags.h (frag_alloc): Declare.
  1411. * subsegs.c (subseg_set_rest): Don't declare frag_alloc.
  1412. * symbols.c (dollar_label_instance): Change return type to long.
  1413. * symbols.h (print_symbol_value): Declare.
  1414. (print_expr, print_expr_1, print_symbol_value_1): Declare.
  1415. * write.c (fix_new_exp): Don't declare make_expr_symbol.
  1416. (remove_subsegs, relax_frag): Make static.
  1417. * config/atof-vax.c (atof_vax_sizeof): Change letter to int.
  1418. (what_kind_of_float): Likewise.
  1419. (atof_vax): Make static. Change what_kind to int.
  1420. (md_atof): Change what_statement_type to int.
  1421. * config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
  1422. * config/tc-alpha.c (vax_md_atof): Declare.
  1423. (md_atof): Don't declare atof_ieee and vax_md_atof.
  1424. * config/tc-i386.c (set_16bit_code_flag): Make static.
  1425. * config/tc-i386.h (tc_i386_fix_adjustable): Declare.
  1426. * config/tc-m68k.c (add_fix): Change width to int.
  1427. (insert_reg): Change regname to const.
  1428. (md_atof): Don't declare atof_ieee.
  1429. (demand_empty_rest_of_line): Don't declare.
  1430. * config/tc-m88k.c (md_atof): Don't declare atof_ieee.
  1431. * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
  1432. (parse_keyword_arg): Change lookup_fn to take const arg.
  1433. (md_atof): Don't declare atof_ieee.
  1434. * config/tc-sparc.h: Add ifdef for multiple inclusion.
  1435. (tc_aout_pre_write_hook): Don't declare.
  1436. Mon Mar 17 11:21:09 1997 Ian Lance Taylor <ian@cygnus.com>
  1437. * as.h (bfd_alloc_by_size_t): Don't declare.
  1438. * Many files: Use xmalloc rather than bfd_alloc_by_size_t.
  1439. Sun Mar 16 13:49:21 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1440. * symbols.c (symbol_new): Don't call debug_verify_symchain.
  1441. (symbol_append): Set sy_next and sy_previous when adding a single
  1442. symbol to an empty list. Call debug_verify_symchain.
  1443. (verify_symbol_chain): Use assert, not know.
  1444. Sat Mar 15 20:27:12 1997 Fred Fish <fnf@cygnus.com>
  1445. * NEWS: Note BeOS support.
  1446. * configure.in: (ppc-*-beos): New target, use coff as object format.
  1447. * configure: Regenerate with autoconf.
  1448. Sat Mar 15 19:14:02 1997 Ian Lance Taylor <ian@cygnus.com>
  1449. * config/tc-mips.c (md_apply_fix): Improve error message for out
  1450. of range branch.
  1451. * Makefile.in: Add dependencies on obstack.h where needed.
  1452. Fri Mar 14 15:33:38 1997 Ian Lance Taylor <ian@cygnus.com>
  1453. * config/tc-mips.c (md_estimate_size_before_relax): Handle the
  1454. case of a symbol equated to another symbol when using SVR4_PIC.
  1455. * Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
  1456. Thu Mar 13 11:20:51 1997 Ian Lance Taylor <ian@cygnus.com>
  1457. * read.c (read_a_source_file): Call LISTING_NEWLINE before
  1458. HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
  1459. * config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
  1460. and md_elf_section_change_hook if they are defined.
  1461. (obj_elf_text, obj_elf_previous): Likewise.
  1462. Wed Mar 12 11:40:20 1997 Ian Lance Taylor <ian@cygnus.com>
  1463. * config/obj-multi.h (struct elf_obj_sy): Define if
  1464. OBJ_MAYBE_ELF.
  1465. (OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if
  1466. OBJ_MAYBE_ELF.
  1467. * config/obj-elf.h (struct elf_obj_sy): Don't define if
  1468. OBJ_SYMFIELD_TYPE is defined.
  1469. * doc/as.texinfo (bss): Improve description of .bss section. In
  1470. ELF or COFF, you are permitted to switch into the section.
  1471. (Comm): Rewrite description of common symbols.
  1472. (Lcomm): Mention that some targets permit a third argument.
  1473. Tue Mar 11 01:13:31 1997 Ian Lance Taylor <ian@cygnus.com>
  1474. * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
  1475. * symbols.c (colon): Change type of local to int. From Alan Modra
  1476. <alan@spri.levels.unisa.edu.au>.
  1477. * config/tc-m88k.c (m88k_do_align): Don't use a special nop
  1478. alignment if a zero fill pattern was explicitly specified.
  1479. * config/tc-sh.c (sh_do_align): Likewise.
  1480. * read.c (equals): Always permit register names to be redefined.
  1481. * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
  1482. mips16 symbol to be adjusted if a symbol is being subtracted from
  1483. it.
  1484. From Eric Youngdale <eric@andante.jic.com>:
  1485. * config/obj-elf.c (obj_elf_symver): Check for duplicate or
  1486. illegal symbol version names.
  1487. (elf_frob_symbol): Check for external default versions.
  1488. Sun Mar 9 23:49:12 1997 Ian Lance Taylor <ian@cygnus.com>
  1489. From Eric Youngdale <eric@andante.jic.com>:
  1490. * config/obj-elf.h (struct elf_obj_sy): Define.
  1491. (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all
  1492. users.
  1493. * config/obj-elf.c (obj_elf_symver): Just record the name.
  1494. (obj_symbol_new_hook): Initialized versioned_name field.
  1495. (elf_frob_symbol): If there is a versioned_name, either rename the
  1496. symbol, or add an alias with that name.
  1497. Thu Mar 6 13:55:32 1997 Jeffrey A Law (law@cygnus.com)
  1498. * config/tc-mn10300.c (md_relax_table): Define.
  1499. (md_convert_frag): Implement.
  1500. (md_assemble): Handle relaxable operands/instructions correctly.
  1501. (md_estimate_size_before_relax): Implement.
  1502. * config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
  1503. * config/tc-mn10200.c (md_relax_table): Fix typos.
  1504. * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
  1505. relocs anymore. Tweak fx_offset for pc-relative relocs.
  1506. Wed Mar 5 15:46:16 1997 Ian Lance Taylor <ian@cygnus.com>
  1507. * cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
  1508. in MRI mode.
  1509. Tue Mar 4 19:34:21 1997 Fred Fish <fnf@cygnus.com>
  1510. * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
  1511. pseudo-ops.
  1512. * config/tc-tic80.c (md_begin): Declare external variable
  1513. coff_flags and insert an F_AR32WR bit into it.
  1514. Tue Mar 4 10:01:04 1997 Ian Lance Taylor <ian@cygnus.com>
  1515. * read.c (equals): Add reassign parameter. Change all callers.
  1516. * read.h (equals): Update declaration.
  1517. Sat Mar 1 01:04:04 1997 Ian Lance Taylor <ian@cygnus.com>
  1518. * config/tc-mips.c (mips16_extended_frag): Don't assume that we
  1519. can rely on the frag address to determine whether a frag is
  1520. earlier or later.
  1521. Fri Feb 28 14:40:00 1997 Ian Lance Taylor <ian@cygnus.com>
  1522. * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
  1523. (S_LOCAL_NAME): Likewise.
  1524. (FAKE_LABEL_NAME): Define unconditionally.
  1525. * symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
  1526. BFD_ASSEMBLER.
  1527. (S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
  1528. * config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
  1529. Don't define FAKE_LABEL_NAME.
  1530. * config/te-ic960.h: Likewise.
  1531. * config/tc-mips.h (tc_frob_file_before_adjust): Define.
  1532. (mips_frob_file_before_adjust): Declare.
  1533. * config/tc-mips.c (mips_frob_file_before_adjust): New function.
  1534. (mips_local_label): Remove.
  1535. * config/te-sco386.h: Remove; not used.
  1536. Thu Feb 27 15:39:16 1997 Fred Fish <fnf@cygnus.com>
  1537. * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
  1538. byte alignment rather than power-of-two alignment that is the
  1539. GAS default.
  1540. Thu Feb 27 13:29:04 1997 Ian Lance Taylor <ian@cygnus.com>
  1541. * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.
  1542. * gasp.c (hash_add_to_string_table): Correct misspelling in error
  1543. message, and add newline.
  1544. (process_file): Don't process assignments in the label if this is
  1545. a equ or assign pseudo-op.
  1546. (process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
  1547. and K_EQU, to match documentation.
  1548. Thu Feb 27 12:00:03 1997 Michael Meissner <meissner@cygnus.com>
  1549. * config/obj-coff.c (obj_coff_section): Add 'r' section attribute
  1550. to denote read-only data sections.
  1551. Thu Feb 27 00:26:33 1997 Ian Lance Taylor <ian@cygnus.com>
  1552. * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
  1553. * config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
  1554. * expr.c (operand): Simplify 0b handling. Don't treat 0b as a
  1555. binary number if the next character is '+' or '-'.
  1556. Wed Feb 26 20:47:12 1997 Fred Fish <fnf@cygnus.com>
  1557. * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
  1558. (find_opcode): Match operands that can be floats.
  1559. (build_insn): Handle O_big (float) expressions and build
  1560. correct opcode.
  1561. Wed Feb 26 18:19:00 1997 Stan Shebs <shebs@andros.cygnus.com>
  1562. * configure.in (mips*-*-lnews*): New target, also make empty
  1563. emulation list for this target.
  1564. * configure: Update.
  1565. * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
  1566. (mips_target_format): Use.
  1567. * config/te-lnews.h: New file.
  1568. Wed Feb 26 15:33:46 1997 Fred Fish <fnf@cygnus.com>
  1569. * config/tc-tic80.c (find_opcode, build_insn): Changes to match
  1570. operands with :m or :s modifiers and generate the right opcodes
  1571. for them.
  1572. Wed Feb 26 11:56:11 1997 Ian Lance Taylor <ian@cygnus.com>
  1573. * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
  1574. $(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
  1575. Tue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1576. * config/tc-m68k.c (instring): Useless local declaration of
  1577. crack_operand removed.
  1578. * expr.h (expressionS): Changed type of X_op field to operatorT if
  1579. __GNUC__.
  1580. Tue Feb 25 13:17:27 1997 Ian Lance Taylor <ian@cygnus.com>
  1581. Based on patches from Robert Lipe <robertl@dgii.com>:
  1582. * configure.in: Add i386coff and i386elf to emulation list.
  1583. * configure: Rebuild.
  1584. * as.c (i386coff, i386elf): Declare.
  1585. * obj.h (coff_format_ops): Declare.
  1586. * config/obj-coff.c (OBJ_HEADER): Define.
  1587. (coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
  1588. (coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
  1589. (obj_pseudo_table): Add "version".
  1590. (coff_pop_insert): New static function.
  1591. (coff_sec_sym_ok_for_reloc): New static function.
  1592. (no_func): New static function.
  1593. (coff_format_ops): New variable.
  1594. * config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
  1595. (obj_symbol_new_hook): Define.
  1596. (coff_obj_read_begin_hook): Declare.
  1597. (obj_read_begin_hook): Define.
  1598. * config/tc-i386.h (i386_target_format): Declare.
  1599. * config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
  1600. OUTPUT_FLAVOR when appropriate.
  1601. (i386_target_format): New function.
  1602. * Makefile.in (obj-coff.o): New target.
  1603. (e-i386coff.o, e-i386elf.o): New targets.
  1604. From Stephen Williams <steve@icarus.icarus.com>:
  1605. * config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
  1606. (_tc_get_bal_of_call): Don't declare.
  1607. (tc_get_bal_of_call): Declare as function, don't define as macro.
  1608. * config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
  1609. in sy_tc field, not x_balntry field.
  1610. (tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change
  1611. return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc
  1612. field, not x_balntry field.
  1613. * config/obj-elf.c (obj_elf_section): Permit a .note section to
  1614. have the SHF_ALLOC attribute.
  1615. * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
  1616. (TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
  1617. (itbl-lex.o): Depend upon itbl-parse.h.
  1618. * itbl-parse.y (yyerror): Change return type to int. Change to
  1619. use old style function declaration.
  1620. * Makefile.in (itbl-lex.o): Remove -Wall.
  1621. (itbl-parse.o): Likewise.
  1622. * cond.c (s_ifdef): If we should omit conditionals from listings,
  1623. call listing_list.
  1624. (s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
  1625. * listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
  1626. (listing_listing): Handle EDICT_NOLIST_NEXT.
  1627. (listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
  1628. * listing.h (LISTING_NOCOND): Define.
  1629. (LISTING_SKIP_COND): Define.
  1630. * as.c (show_usage): Mention c as a suboption of -a.
  1631. (parse_args): Handle c as a suboption of -a.
  1632. * doc/as.texinfo: Document -alc.
  1633. Mon Feb 24 23:34:14 1997 Fred Fish <fnf@cygnus.com>
  1634. * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
  1635. Mon Feb 24 18:27:43 1997 Eric Youngdale <eric@andante.jic.com>
  1636. * doc/as.texinfo: Document .symver.
  1637. Mon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1638. * config/tc-d10v.c: Change pre_defined_registers to
  1639. d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
  1640. Mon Feb 24 10:40:45 1997 Fred Fish <fnf@cygnus.com>
  1641. * config/obj-coff.c: Fix typo in comment section.
  1642. * config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
  1643. an additional alignment argument.
  1644. (find_opcode): Allow O_symbol relocs for any 32 bit field, not just
  1645. base relative ones.
  1646. (build_insn): Handle O_symbol relocs for any 32 bit field, not just
  1647. base relative ones.
  1648. Mon Feb 24 02:23:00 1997 Dawn Perchik <dawn@cygnus.com>
  1649. * Makefile.in: Remove dependancies on itbl-cpu.h.
  1650. * as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
  1651. is not defined.
  1652. Mon Feb 24 02:03:00 1997 Dawn Perchik <dawn@cygnus.com>
  1653. * itbl-ops.h: Include as.h.
  1654. Mon Feb 24 01:04:00 1997 Dawn Perchik <dawn@cygnus.com>
  1655. * as.c: Remove -t option.
  1656. * configure, configure.in: Move itbl-cpu.h to mips specific configure.
  1657. * itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
  1658. * config/tc-mips.h: Define HAVE_ITBL_CPU.
  1659. Sun Feb 23 18:01:00 1997 Dawn Perchik <dawn@cygnus.com>
  1660. * itbl-ops.c: Don't define DEBUG.
  1661. Sun Feb 23 17:49:00 1997 Dawn Perchik <dawn@cygnus.com>
  1662. * Makefile.in: Update itbl-test.c to reflect its new location.
  1663. Sun Feb 23 15:50:00 1997 Dawn Perchik <dawn@cygnus.com>
  1664. * itbl-ops.c: Add test for itbl_have_entries.
  1665. * config/tc-mips.c: Remove test for itbl_have_entries.
  1666. * config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
  1667. Sun Feb 23 18:13:19 1997 Ian Lance Taylor <ian@cygnus.com>
  1668. * Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
  1669. itbl-ops.c. Add itbl-parse.c and itbl-lex.c.
  1670. (LEX, LEXFLAGS): Define.
  1671. * itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
  1672. Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
  1673. * itbl-parse.y: Fix indentation mistakes from indent program.
  1674. * itbl-lex.l: Fix indentation mistakes from indent program.
  1675. * itbl-ops.h: Add include for ansidecl.h.
  1676. Add PARAMS around function arguments.
  1677. Add declaration for itbl_have_entries.
  1678. * itbl-ops.c: Add PARAMS around function arguments.
  1679. * Makefile.in: Add itbl build rules.
  1680. Add dependancies for itbl files to mips target.
  1681. * as.c: Add itbl support.
  1682. Add new option "--insttbl" for dynamically extending instruction set.
  1683. * as.h: Declare insttbl_file_name;
  1684. the name of file defining extensions to the basic instruction set
  1685. * configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
  1686. itbl-ops.o to extra_objects for mips configuration.
  1687. Add include file link from itbl-cpu.h to
  1688. config/itbl-${target_cpu_type}.h.
  1689. * config/tc-mips.c: Allow copz instructions.
  1690. Add notes for future additions to the itbl support.
  1691. Add debug macros.
  1692. (macro): Call itbl_assemble to assemble itbl instructions.
  1693. See if an unknown register is specified in an itbl entry.
  1694. Sat Feb 22 20:53:01 1997 Fred Fish <fnf@cygnus.com>
  1695. * doc/internals.texi (CPU backend): Fix typo in md_section_align
  1696. description.
  1697. * config/tc-tic80.h (NEED_FX_R_TYPE): Define.
  1698. * config/tc-tic80.c (find_opcode): Add code to support O_symbol
  1699. operands.
  1700. (build_insn): Grab a frag early so we can use the address in
  1701. fixups. Take one's complement of BITNUM values before insertion
  1702. in opcode. Add code to support O_symbol operands.
  1703. (md_apply_fix): Replace unimplemented warning with implementation.
  1704. (md_pcrel_from): Ditto.
  1705. (tc_coff_fix2rtype): Ditto.
  1706. Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1707. * config/tc-d30v.c (parallel_ok): New function.
  1708. * config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
  1709. * config/tc-d10v.c (md_pcrel_from_section): Return 0 if
  1710. relocation is in different section.
  1711. Fri Feb 21 10:08:25 1997 Jim Wilson <wilson@cygnus.com>
  1712. * config/tc-mips.c (mips_ip): If configured for an embedded ELF system,
  1713. don't set the section alignment to 2**4.
  1714. Fri Feb 21 11:55:03 1997 Ian Lance Taylor <ian@cygnus.com>
  1715. * config/tc-m68k.c (line_comment_chars): Add '*'.
  1716. * app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
  1717. (do_scrub_begin): Don't set lex['*'].
  1718. (do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
  1719. check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for
  1720. a literal '*'.
  1721. * configure.in: Set em=svr4 for m68k-*-sysv4*.
  1722. * configure: Rebuild.
  1723. * config/te-svr4.h: New file.
  1724. * config/tc-m68k.c (m68k_comment_chars): Only include `#' if
  1725. TE_SVR4 or TE_DELTA.
  1726. Thu Feb 20 22:24:39 1997 Jeffrey A Law (law@cygnus.com)
  1727. * config/tc-mn10200.c (md_convert_frag): Create a fixup for the
  1728. short conditional branch around a long unconditional branch.
  1729. Thu Feb 20 13:56:00 1997 Ian Lance Taylor <ian@cygnus.com>
  1730. * config/obj-coff.c (obj_coff_ln [both versions]): Call
  1731. new_logical_line.
  1732. * config/tc-arm.c (fix_new_arm): Use make_expr_symbol to handle a
  1733. complex expression.
  1734. * symbols.c (resolve_symbol_value): If both left and right
  1735. operands are undefined, warn about both of them.
  1736. Wed Feb 19 00:53:28 1997 Ian Lance Taylor <ian@cygnus.com>
  1737. Based on patches from Eric Youngdale <eric@andante.jic.com>:
  1738. * config/obj-elf.c (elf_pseudo_table): Add "symver".
  1739. (obj_elf_symver): New static function.
  1740. * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
  1741. field.
  1742. * write.c (relax_segment): Make type and printf format agree.
  1743. * read.c (get_line_sb): Don't end the line on a semicolon inside a
  1744. string.
  1745. Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  1746. * config/tc-d30v.c, config/tc-d30v.h: New files.
  1747. * configure: Rebuilt.
  1748. * configure.in: Add case for d30v.
  1749. Sun Feb 16 17:47:29 1997 Fred Fish <fnf@cygnus.com>
  1750. * config/tc-alpha.h (md_operand): Define with a null expansion,
  1751. like all the other targets.
  1752. * doc/internals.texi (CPU backend): Add missing word in
  1753. md_flush_pending_output description. Fix typo in md_convert_frag
  1754. description.
  1755. * config/tc-tic80: Minor comment additions/changes.
  1756. Fri Feb 14 18:09:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1757. * config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA.
  1758. (tc_canonicalize_symbol_name): Macro defined if TE_DELTA.
  1759. * config/obj-coff.c (obj_coff_def): Use
  1760. tc_canonicalize_symbol_name if defined.
  1761. (obj_coff_tag, obj_coff_val): Likewise.
  1762. * expr.c (operand): Reject '~' as operator if is_name_beginner.
  1763. Fri Feb 14 17:24:48 1997 Ian Lance Taylor <ian@cygnus.com>
  1764. Based on notes from Peter Eriksson <peter@ifm.liu.se>. The target
  1765. does not actually work, though:
  1766. * configure.in (i386-sequent-bsd*): New target.
  1767. * configure: Rebuild.
  1768. * config/tc-dynix.h: New file.
  1769. * config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX.
  1770. * read.c (do_align): Add max parameter. Change all callers.
  1771. Remove useless static variables.
  1772. (s_align): New static function. Do common portion of
  1773. s_align_bytes and s_align_ptwo.
  1774. (s_align_bytes, s_align_ptwo): Just call s_align.
  1775. * frags.c (frag_align): Add max parameter. Change all callers.
  1776. (frag_align_pattern): Likewise.
  1777. * frags.h (frag_align, frag_align_pattern): Update declarations.
  1778. * write.c (relax_segment): Limit alignment change to fr_subtype.
  1779. Fix some types to be addressT.
  1780. * config/obj-coff.c (size_section): Likewise.
  1781. * config/obj-ieee.c (size_section): Likewise.
  1782. * config/tc-d10v.h (md_do_align): Add max parameter.
  1783. * config/tc-i386.h (md_do_align): Likewise.
  1784. * config/tc-m88k.h (md_do_align): Likewise.
  1785. * config/tc-m88k.c (m88k_do_align): Likewise.
  1786. * config/tc-sh.h (md_do_align): Likewise.
  1787. * config/tc-sh.c (sh_do_align): Likewise.
  1788. * as.h: Improve comments on rs_align and rs_align_code.
  1789. * doc/as.texinfo: Document new alignment arguments.
  1790. * doc/internals.texi (Frags): Document use of fr_subtype field for
  1791. rs_align and rs_align_code.
  1792. Fri Feb 14 15:56:06 1997 Gavin Koch <gavin@cygnus.com>
  1793. * config/tc-mips.c: Changed opcode parsing.
  1794. Thu Feb 13 20:02:16 1997 Fred Fish <fnf@cygnus.com>
  1795. * config/{tc-alpha.h, tc-d10v.h, tc-generic.h, tc-i960.h,
  1796. tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-vax.h, tc-w65.h}:
  1797. Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
  1798. * config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
  1799. tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
  1800. to a location consistent with the rest of the target include files.
  1801. * config/tc-i386.c: Remove misleading comment.
  1802. * doc/internals.texi (CPU backend): Add description of function
  1803. md_undefined_symbol.
  1804. * config/tc-tic80.c: Add code to insert predefined symbols into the
  1805. symbol table so they can be parsed by the standard expression parser.
  1806. Remove custom code that use to parse them.
  1807. * config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
  1808. to a location consistent with the rest of the target include files.
  1809. Thu Feb 13 21:44:18 1997 Klaus Kaempf <kkaempf@progis.de>
  1810. * as.h: GNU c provides unlink() function.
  1811. Unify section handling on openVMS/Alpha:
  1812. * config/tc-alpha.c(s_alpha_link): Remove.
  1813. (s_alpha_section): New function.
  1814. Remove case-hacking of symbols
  1815. Add .code_address pseudo-op.
  1816. (BFD_RELOC_ALPHA_CODEADDR): New relocation.
  1817. (s_alpha_code_address): New function.
  1818. (alpha_ctors_section, alpha_dtors_section): New sections for C++
  1819. static constructors/destructors.
  1820. Add debug code for crash debugs, to be removed when traceback code
  1821. is added to object code.
  1822. (s_alpha_name): New function for .name pseudo-op.
  1823. (alpha_print_token): New function to print token expressions with
  1824. alpha specific extensions.
  1825. * makefile.vms: Allow compilation with current gcc snapshot.
  1826. Thu Feb 13 16:29:04 1997 Fred Fish <fnf@cygnus.com>
  1827. * doc/Makefile.in (TEXI2DVI): Set to just name of program.
  1828. (DVIPS): Set to dvips.
  1829. (ps, as.ps, gasp.ps): New targets.
  1830. (internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
  1831. and MAKEINFO env variables.
  1832. (internals.ps): Use DVIPS macro.
  1833. (clean): Remove core and backup files.
  1834. (distclean): Remove temporary files from building internals.
  1835. (clean-dvi): Ditto.
  1836. * doc/internals.texi (Frags): Fix typo.
  1837. (GAS processing): Ditto.
  1838. (CPU backend): Ditto.
  1839. * ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
  1840. * mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
  1841. * read.c: Remove ugly hack that dealt with config files not
  1842. correctly defining TARGET_BYTES_BIG_ENDIAN.
  1843. (target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
  1844. * config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
  1845. * config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
  1846. * config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
  1847. * config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
  1848. * config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
  1849. * config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
  1850. with TARGET_BYTES_BIG_ENDIAN defined to 0.
  1851. * config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
  1852. and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
  1853. whether it is defined or not.
  1854. * config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
  1855. * config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
  1856. and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
  1857. whether it is defined or not.
  1858. * config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
  1859. (TARGET_BYTES_BIG_ENDIAN): Define to 0.
  1860. Thu Feb 13 14:40:16 1997 Doug Evans <dje@canuck.cygnus.com>
  1861. * write.c (write_relocs): Correct text in as_fatal error message,
  1862. bfd_perform_relocation -> bfd_install_relocation.
  1863. Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
  1864. * config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
  1865. * read.c (LEX_TILDE): Define if not defined.
  1866. (lex_type): Use LEX_TILDE.
  1867. * expr.c (get_symbol_end): Check first char with is_name_beginner,
  1868. not is_part_of_name.
  1869. Thu Feb 13 11:40:58 1997 Ian Lance Taylor <ian@cygnus.com>
  1870. * config/tc-sparc.c (md_show_usage): Add missing backslash at end
  1871. of continued line.
  1872. * config/tc-mips.c (mips16_extended_frag): Correct base address
  1873. for an extended PC relative instruction.
  1874. (md_convert_frag): Likewise.
  1875. * config/tc-mips.c (prev_nop_frag): New static variable.
  1876. (prev_nop_frag_holds): New static variable.
  1877. (prev_nop_frag_required): New static variable.
  1878. (prev_nop_frag_since): New static variable.
  1879. (append_insn): If we aren't reordering, and prev_nop_frag is not
  1880. NULL, and we don't need any nops, then decrease the size of
  1881. prev_nop_frag. Don't insert nops because of instructions in
  1882. noreorder sections. Remember whether the previous instructions
  1883. where in noreorder sections even when not reordering.
  1884. (mips_no_prev_insn): Add preserver parameter. Change all
  1885. callers. Refer prev_nop_frag variables when appropriate.
  1886. (mips_emit_delays): Set up prev_nop_frag.
  1887. (s_mipsset): Clear prev_nop_frag if reordering.
  1888. Wed Feb 12 14:36:29 1997 Ian Lance Taylor <ian@cygnus.com>
  1889. * config/tc-mips.c (append_insn): Remove useless code which
  1890. handled swapping a mips16 jump with a mips16 instruction with a
  1891. reloc.
  1892. * config/tc-mips.c (md_parse_option): When debugging, set
  1893. mips_optimize to 1, not 0.
  1894. * config/tc-mips.c (mips16_ip): Handle an extend operand.
  1895. * config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
  1896. like the expression was based on `.', adjust the value of the
  1897. symbol.
  1898. * config/tc-mips.c (append_insn): Warn about an attempt to put an
  1899. extended instruction in a delay slot when not reordering.
  1900. (md_convert_frag): Warn if an extended instruction appears in a
  1901. delay slot.
  1902. * config/tc-mips.c (mips_pseudo_table): Add "insn".
  1903. (s_insn): New static function.
  1904. * doc/c-mips.texi: Document .insn.
  1905. * config/tc-mips.c (md_begin): Add the general registers to the
  1906. symbol table.
  1907. (mips16_ip): First parse the expression, and then see whether it
  1908. came up with a register, rather than trying to first see whether
  1909. we are looking at a register.
  1910. Tue Feb 11 15:13:39 1997 Fred Fish <fnf@cygnus.com>
  1911. * config/tc-tic80.c: Numerous changes and additions to flesh
  1912. out functions that were previously just stubs, and fix some
  1913. problems found using the new TIc80 testsuite cases.
  1914. Tue Feb 11 15:52:22 1997 Ian Lance Taylor <ian@cygnus.com>
  1915. * config/tc-mips.c (mips16_ip): Handle %gprel modifier.
  1916. (md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL.
  1917. * config/tc-mips.c (append_insn): Output jump instruction as a
  1918. pair of 2 byte instructions, rather than as a single 4 byte
  1919. instruction.
  1920. Mon Feb 10 22:06:00 1997 Dawn Perchik (dawn@cygnus.com)
  1921. * itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,
  1922. config/itbl-mips.h: Add copyright message and fix indentation.
  1923. Mon Feb 10 18:09:00 1997 Dawn Perchik (dawn@cygnus.com)
  1924. * itbl-ops.c: New file. Add support for dynamically read
  1925. instruction registers, opcodes and formats. Build internal table
  1926. for new instructions and provide callbacks for assembler and
  1927. disassembler.
  1928. * itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction
  1929. spec table.
  1930. * itbl-ops.h: New file. Header file for itbl support.
  1931. * config/itbl-mips.h: New file. Mips specific definitions for
  1932. itbl support.
  1933. Fri Feb 7 09:52:34 1997 Jeffrey A Law (law@cygnus.com)
  1934. * config/tc-mn10200.c (md_assemble): If a constant operand won't
  1935. fit into the constant field of a relaxable operand, then it does
  1936. not match.
  1937. Thu Feb 6 20:08:12 1997 Jeffrey A Law (law@cygnus.com)
  1938. * config/tc-mn10200.c (md_estimate_size_before_relax): Treat
  1939. a jsr target in a different section just like a jsr to
  1940. an undefined target.
  1941. Thu Feb 6 16:52:57 1997 Ian Lance Taylor <ian@cygnus.com>
  1942. * config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
  1943. against any mips16 symbols, not just externally visible ones.
  1944. (md_apply_fix): Corresponding change.
  1945. Wed Feb 5 11:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
  1946. * config/tc-mips.c (mips16_ip): Accept floating point registers in
  1947. the operand of the exit instruction.
  1948. Tue Feb 4 14:12:39 1997 Ian Lance Taylor <ian@cygnus.com>
  1949. * symbols.c (resolve_symbol_value): If we leave an equated symbol
  1950. as O_symbol, copy over the segment.
  1951. Mon Feb 3 12:35:54 1997 Ian Lance Taylor <ian@cygnus.com>
  1952. * config/tc-mips.c (md_apply_fix): If we aren't adjusting this
  1953. fixup to be against the section symbol, adjust the value
  1954. accordingly.
  1955. * symbols.c (resolve_symbol_value): Don't change X_add_number for
  1956. an equated symbol.
  1957. * write.c (write_relocs): Avoid looping on equated symbols.
  1958. Adjust fx_offset by X_add_number for each symbol.
  1959. * config/obj-coff.c (do_relocs_for): Avoid looping on equated
  1960. symbols.
  1961. (fixup_segment): Add a loop to track down equated symbols and
  1962. adjust fx_offset appropriately.
  1963. Fri Jan 31 15:21:02 1997 Jeffrey A Law (law@cygnus.com)
  1964. * config/tc-mn10200.c (md_relax_table): Add entries to allow
  1965. jmp -> bra relaxing.
  1966. (md_convert_frag): Handle jmp->bra relaxing.
  1967. (md_assemble): Handle jmp->bra relaxing.
  1968. (md_estimate_size_before_relax): Likewise.
  1969. Fri Jan 31 13:15:05 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
  1970. * config/tc-i386.c (i386_align_code): Add comments explaining the
  1971. nop instructions.
  1972. Fri Jan 31 10:46:14 1997 Ian Lance Taylor <ian@cygnus.com>
  1973. * config/tc-sparc.c (enforce_aligned_data): New static variable.
  1974. (sparc_cons_align): Don't do anything unless enforce_aligned_data
  1975. is set.
  1976. (md_longopts): Add "enforce-aligned-data".
  1977. (md_show_usage): Mention --enforce-aligned-data.
  1978. * doc/c-sparc.texi (Sparc-Aligned-Data): New node; document
  1979. enforce-aligned-data.
  1980. * config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long",
  1981. "word", and "short".
  1982. (ppc_xcoff_cons): New static function.
  1983. * write.c (relax_segment): Give an error if a .space symbol is
  1984. common or undefined.
  1985. * read.c (read_a_source_file): Don't handle mri_pending_align if
  1986. the handler is s_globl or s_ignore.
  1987. Thu Jan 30 11:46:59 1997 Fred Fish <fnf@cygnus.com>
  1988. * config/tc-d10v.c (find_opcode): Remove unused variable "numops".
  1989. * config/tc-tic80.c: Many additions to previous placeholder file.
  1990. * config/tc-tic80.h: Ditto.
  1991. Thu Jan 30 12:28:18 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
  1992. * config/tc-i386.c (i386_align_code): Improve the nop patterns.
  1993. Thu Jan 30 12:08:40 1997 Ian Lance Taylor <ian@cygnus.com>
  1994. * config/tc-mips.c (mips_fix_adjustable): New function.
  1995. * config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable.
  1996. (mips_fix_adjustable): Declare.
  1997. Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:
  1998. * read.c (read_a_source_file): After doing an mri_pending_align,
  1999. adjust the line_label if there is one.
  2000. (s_space): Set mri_pending_align if an odd number of bytes were
  2001. output.
  2002. Wed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
  2003. * config/tc-d10v.h (md_do_align): Add this hook to call
  2004. d10v_cleanup() when a ".align" is detected.
  2005. * config/tc-d10v.c (find_opcode): Correctly calculate
  2006. branch displacement when .aligns are present.
  2007. Wed Jan 29 09:42:11 1997 Jeffrey A Law (law@cygnus.com)
  2008. * config/tc-mn10200.c (md_relax_table): Define.
  2009. (md_convert_frag): Implement.
  2010. (md_assemble): Handle relaxable operands/instructions correctly.
  2011. (md_estimate_size_before_relax): Implement.
  2012. * config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define.
  2013. Tue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
  2014. * config/tc-mips.c (append_insn): Give an error for jumps to a
  2015. misaligned address.
  2016. (md_apply_fix): Make a branch to an odd address an error rather
  2017. than a warning.
  2018. * config/tc-mips.c (md_convert_frag): If the user explicitly
  2019. requested an extended opcode, pass warn as true to mips16_immed.
  2020. * config/tc-mips.c (mips16_ip): Handle a missing expression like
  2021. an explicit 0, so that explicitly extended instructions work
  2022. correctly.
  2023. Mon Jan 27 17:41:20 1997 Ian Lance Taylor <ian@cygnus.com>
  2024. * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
  2025. symbol for a common symbol.
  2026. Wed Jan 22 10:39:39 1997 Doug Evans <dje@canuck.cygnus.com>
  2027. Patch presumed to have been checked in awhile ago but wasn't.
  2028. Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com>
  2029. * write.c: Delete "ifndef md_relax_frag" around is_dnrange.
  2030. (relax_segment, case rs_org): Move code inside braces. Move locals
  2031. target,after inside too.
  2032. (relax_segment, case rs_machine_dependent): Guts moved to ...
  2033. (relax_frag): New function.
  2034. Call md_prepare_relax_scan if defined.
  2035. Mon Jan 20 10:56:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2036. * config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for the
  2037. 'p' operand specifier.
  2038. Mon Jan 20 10:39:36 1997 J.T. Conklin <jtc@cygnus.com>
  2039. * config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for
  2040. m68k family cpus which support long branch addressing modes.
  2041. (m68k_ip, md_convert_frag_1, md_estimate_size_before_relax,
  2042. md_create_long_jump): Use it.
  2043. Mon Jan 20 12:42:06 1997 Ian Lance Taylor <ian@cygnus.com>
  2044. * config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD for
  2045. the .reginfo or .MIPS.options section if configured for an
  2046. embedded target.
  2047. * config/tc-mips.c (md_begin): Don't set interlocks for
  2048. mips_4650.
  2049. Wed Jan 15 13:51:50 1997 Ian Lance Taylor <ian@cygnus.com>
  2050. * read.c (read_a_source_file): Make sure the symbol ends with
  2051. whitespace before checking whether the next character is '='.
  2052. Tue Jan 14 15:07:27 1997 Robert Lipe <robertl@dgii.com>
  2053. * config/tc-i386.c (sco_id): Moved from here...
  2054. * config/obj-elf.c (sco_id): ...to here. Adding the identifier
  2055. really is an SCO ELF specific thing, not just a SCO x86 specific
  2056. thing.
  2057. Mon Jan 13 22:43:01 1997 Michael Meissner <meissner@tiktok.cygnus.com>
  2058. * configure.in (tic80-*-*): Don't require 'coff'.
  2059. * configure: Regenerate.
  2060. Thu Jan 9 09:08:43 1997 Ian Lance Taylor <ian@cygnus.com>
  2061. * read.c (emit_expr): Check for overflow of a negative value
  2062. correctly.
  2063. * write.c (fixup_segment): Likewise.
  2064. * config/obj-coff.c (fixup_segment): Likewise.
  2065. * config/tc-m68k.c (struct label_line): Define.
  2066. (labels, current_label): New static variables.
  2067. (md_assemble): Mark current_label as text, and clear it.
  2068. (m68k_frob_label): New function.
  2069. (m68k_flush_pending_output): New function.
  2070. (m68k_frob_symbol): New function.
  2071. * config/tc-m68k.h (tc_frob_label): Define.
  2072. (md_flush_pending_output): Define.
  2073. (tc_frob_symbol): Don't warn, just call m68k_frob_symbol.
  2074. (tc_frob_coff_symbol): Likewise.
  2075. * read.c (read_a_source_file): When defining a macro in MRI mode,
  2076. don't add the symbol to the symbol table.
  2077. Tue Jan 7 11:21:42 1997 Jeffrey A Law (law@cygnus.com)
  2078. * config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixups
  2079. here since fixup_segment doesn't (linkrelax is set).
  2080. * config/tc-mn10200.c (tc_gen_reloc): Likewise.
  2081. Mon Jan 6 15:19:32 1997 Jeffrey A Law (law@cygnus.com)
  2082. * config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relative
  2083. relocs.
  2084. Fri Jan 3 16:47:08 1997 Jeffrey A Law (law@cygnus.com)
  2085. * config/tc-hppa.c (struct hppa_fix_struct): Tweak fx_r_field's type
  2086. to avoid warnings with the native HP compiler.
  2087. (fix_new_hppa): Similarly for the r_type argument.
  2088. (pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose
  2089. in an #if OBJ_ELF to keep gcc -Wall quiet.
  2090. (md_apply_fix): Always initialize "result".
  2091. * config/tc-mn10200.c (md_assemble): Generate relocations.
  2092. Fri Jan 3 18:17:23 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2093. * config/tc-m68k.c (s_even): Adjust the alignment of the current
  2094. section.
  2095. Fri Jan 3 17:10:33 1997 Richard Henderson <rth@tamu.edu>
  2096. * config/obj-elf.c (elf_file_symbol): When using ECOFF debugging,
  2097. pass on the new file hook.
  2098. * config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as
  2099. !alpha_force_relocation, as local LITERALs can be adjusted to be
  2100. relative to the section.
  2101. Fri Jan 3 12:09:24 1997 Ian Lance Taylor <ian@cygnus.com>
  2102. * config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is
  2103. defined, call it.
  2104. * config/tc-m68k.h (tc_frob_symbol): Check whether text label is
  2105. aligned to odd boundary.
  2106. (tc_frob_coff_symbol): Define.
  2107. * doc/as.texinfo (Set): Change parenthesized @xref to @pxref.
  2108. * macro.c (macro_expand_body): In MRI mode, just copy a single &.
  2109. * config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
  2110. PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>.
  2111. * config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an
  2112. immediate value.
  2113. (md_assemble): If the size is 'B', set fx_signed.
  2114. (md_apply_fix_2): Use fx_signed when checking for overflow.
  2115. * write.h (struct fix): Add fx_signed field.
  2116. * write.c (fix_new_internal): Initialize fx_no_overflow and
  2117. fx_signed fields.
  2118. (fixup_segment): Use fx_signed when checking for overflow.
  2119. * config/obj-coff.c (fixup_segment): Check fx_no_overflow and
  2120. fx_signed when checking for overflow.
  2121. Thu Jan 2 13:37:29 1997 Ian Lance Taylor <ian@cygnus.com>
  2122. * NOTES, NOTES.config: Removed. These are rarely, if ever,
  2123. updated, and all the useful information is in doc/internals.texi.
  2124. Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
  2125. * read.c (read_a_source_file): Check for conditional operators
  2126. before doing an MRI pending alignment.
  2127. * config/tc-m68k.h (m68k_conditional_pseudoop): Declare.
  2128. (tc_conditional_pseudop): Define.
  2129. * config/tc-m68k.c (m68k_conditional_pseudop): New function.
  2130. * doc/internals.texi (CPU backend): Describe
  2131. tc_conditional_pseudoop.
  2132. Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
  2133. * config/tc-m68k.c (m68k_rel32_from_cmdline): New static
  2134. variable.
  2135. (md_begin): Check m68k_rel32_from_cmdline before setting
  2136. m68k_rel32.
  2137. (m68k_mri_mode_change): Likewise.
  2138. (md_longopts): Add --disp-size-default-16 and
  2139. --disp-size-default-32.
  2140. (md_parse_option): Handle new options.
  2141. (md_show_usage): Mention new options.
  2142. * doc/c-m68k.texi (M68K-Opts): Document new options.
  2143. Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
  2144. * config/tc-m68k.c (m68k_index_width_default): New static
  2145. variable.
  2146. (m68k_ip): Use m68k_index_width_default to set the size of a base
  2147. register whose size was not given.
  2148. (md_longopts): Add --base-size-default-16 and
  2149. --base-size-default-32.
  2150. (md_parse_option): Handle new options.
  2151. (md_show_usage): Mention new options.
  2152. * doc/c-m68k.texi (M68K-Opts): Document new options.
  2153. * doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.
  2154. * configure.in: Recognize mips-*-linux* target.
  2155. * configure: Rebuild.
  2156. * config/tc-mips.c (load_register): Rewrite 64 bit handling to
  2157. work if valueT is only 32 bits.
  2158. * config/tc-mips.c: Throughout, check target_big_endian rather
  2159. than byte_order.
  2160. (byte_order): Remove.
  2161. (mips_init_after_args): Remove.
  2162. * config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define.
  2163. (mips_init_after_args): Don't declare.
  2164. (tc_init_after_args): Don't define.
  2165. * config/tc-mips.h (tc_frob_after_relocs): Define if
  2166. OBJ_MAYBE_ELF.
  2167. (mips_elf_final_processing): Likewise.
  2168. (ELF_TC_SPECIAL_SECTIONS): Likewise.
  2169. Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2170. * config/tc-v850.c (md_assemble): If this is sst.{h,w} or
  2171. sld.{h,w} and the operand is relocatable, adjust the adend by
  2172. shifting it right one bit.
  2173. Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
  2174. * read.c (read_a_source_file): Check mri_pending_align after
  2175. checking for a macro. From Ronald F. Guilmette
  2176. <rfg@monkeys.com>.
  2177. * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
  2178. * config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
  2179. add segment argument. If OBJ_ELF, treat a relocation against a
  2180. symbol in a linkonce section like a relocation against an external
  2181. symbol.
  2182. * config/tc-sparc.h (MD_APPLY_FIX3): Define.
  2183. Mon Dec 30 11:35:40 1996 Ian Lance Taylor <ian@cygnus.com>
  2184. * config/tc-mips.c (mips16_macro): Add case for M_ABS.
  2185. Fri Dec 27 22:51:51 1996 Fred Fish <fnf@cygnus.com>
  2186. * NOTES.config (Implementation): as.h #define's "GAS" not "gas",
  2187. includes config.h instead of host.h, tc.h instead of tp.h, and
  2188. targ-env.h instead of target-environment.h.
  2189. Also, obj-format.h includes targ-cpu.h instead of
  2190. target-processor.h.
  2191. * configure.in (case ${generic_target}): Add tic80-*-coff entry.
  2192. * configure: Rebuild with autoconf.
  2193. * config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
  2194. (TARGET_FORMAT): Define to "coff-tic80".
  2195. * config/tc-tic80.c: New file for TIc80 support.
  2196. * config/tc-tic80.h: New file for TIc80 support.
  2197. Fri Dec 27 11:42:29 1996 Ian Lance Taylor <ian@cygnus.com>
  2198. * doc/as.texinfo (M): Mention explicitly that -M changes macro
  2199. handling.
  2200. Thu Dec 19 12:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
  2201. * write.c (adjust_reloc_syms): If the fixup symbol has been
  2202. equated to an undefined symbol, convert the fixup to being against
  2203. the target symbol. Remove obsolete code handling a special case
  2204. for i386 PIC.
  2205. Wed Dec 18 22:54:39 1996 Stan Shebs <shebs@andros.cygnus.com>
  2206. * mpw-make.sed: Use NewFolderRecursive for installation.
  2207. Wed Dec 18 16:00:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2208. * config/tc-d10v.c (do_assemble): Correct previous bug fix.
  2209. Wed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2210. * config/tc-d10v.c (md_assemble): Fix bug which caused
  2211. second instruction in a line to be case sensitize.
  2212. Wed Dec 18 10:08:46 1996 Jeffrey A Law (law@cygnus.com)
  2213. * config/tc-mn10200.c (mn10200_insert_operand): Don't
  2214. range check operands with MN10200_OPERAND_NOCHECK set.
  2215. (check_operand): Likewise.
  2216. Tue Dec 17 10:59:32 1996 Ian Lance Taylor <ian@cygnus.com>
  2217. * config/tc-mips.c: Undo part of last Friday's alignment changes.
  2218. (md_begin): Always align the text section to a four byte
  2219. boundary.
  2220. (append_insn): Remove call to record_align.
  2221. * config/tc-mips.c (insn_label): Remove.
  2222. (struct insn_label_list): Define.
  2223. (insn_labels, free_insn_labels): New static variables.
  2224. (mips_clear_insn_labels): New static function.
  2225. (append_insn): Mark all mips16 text labels, and make them odd.
  2226. Handle all labels after emitting a nop, not just one. Call
  2227. mips_clear_insn_labels rather than just clearing insn_label.
  2228. (mips_emit_delays): Add insns parameter, and use it to decide
  2229. whether to mark mips16 labels. Handle all labels, not just one.
  2230. Force mips16 labels to be odd. Change all callers.
  2231. (mips16_immed): Don't check for an odd branch target.
  2232. (md_apply_fix): Don't check mips16 mode for a branch reloc.
  2233. (mips16_extended_frag): Ignore the low bit in a branch target.
  2234. (md_convert_frag): Likewise.
  2235. (mips_no_prev_insn): Call mips_clear_insn_labels rather than just
  2236. clearing insn_label.
  2237. (mips_align, mips_flush_pending_output, s_cons): Likewise.
  2238. (s_float_cons, s_gpword): Likewise.
  2239. (s_align): Use insn_labels rather than insn_label.
  2240. (s_cons, s_float_cons, s_gpword): Likewise.
  2241. (mips_frob_file_after_relocs): New function.
  2242. (mips_define_label): Rewrite to add to insn_labels list.
  2243. * config/tc-mips.h (tc_frob_file_after_relocs): Define.
  2244. * ecoff.c (ecoff_build_symbols): If the size of a function comes
  2245. out odd, increment it.
  2246. * config/tc-mips.c (append_insn): Only update prev_insn when not
  2247. reordering if place is NULL.
  2248. * config/tc-mips.c (mips16_ip): Check for a missing expression
  2249. when using the register indirect addressing mode.
  2250. Mon Dec 16 10:08:46 1996 Jeffrey A Law (law@cygnus.com)
  2251. * config/tc-mn10200.c (mn10200_insert_operand): Don't
  2252. check 24bit operands for overflow.
  2253. (check_operand): Likewise.
  2254. Mon Dec 16 11:50:40 1996 Ian Lance Taylor <ian@cygnus.com>
  2255. * doc/as.texinfo (Section): Document how to use the .section
  2256. pseudo-op for COFF and ELF.
  2257. Sun Dec 15 15:26:37 1996 Ian Lance Taylor <ian@cygnus.com>
  2258. * write.c (adjust_reloc_syms): Fix linkonce check for ELF.
  2259. Sat Dec 14 22:37:27 1996 Ian Lance Taylor <ian@cygnus.com>
  2260. * config/tc-mips.c (prev_insn_reloc_type): New static variable.
  2261. (RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and
  2262. store them. Adjust other RELAX_MIPS16 macros.
  2263. (RELAX_MIPS16_DSLOT): Define.
  2264. (RELAX_MIPS16_JAL_DSLOT): Define.
  2265. (append_insn): Pass new arguments to RELAX_MIPS16_ENCODE. Correct
  2266. handling of whether previous instruction has a fixup. Set
  2267. prev_insn_reloc_type.
  2268. (mips_no_prev_insn): Clear prev_insn_reloc_type.
  2269. (mips16_extended_frag): Use the right base address for a PC
  2270. relative add or load.
  2271. (md_convert_frag): Likewise. If a PC relative add or load is
  2272. used, record the alignment for the section.
  2273. Fri Dec 13 13:00:33 1996 Ian Lance Taylor <ian@cygnus.com>
  2274. * write.c (adjust_reloc_syms): Don't reduce a reloc against a
  2275. linkonce section into a reloc against the section symbol.
  2276. * config/tc-mips.c (mips16_macro): Remove nop instructions after
  2277. branch instructions.
  2278. * config/tc-mips.c (md_begin): If configured for an embedded ELF
  2279. system, don't set the section alignment to 2**4.
  2280. (s_change_sec): Likewise.
  2281. (append_insn): Call record_alignment for the section.
  2282. (md_section_align): Don't align the section size for an embedded
  2283. ELF system.
  2284. Thu Dec 12 16:40:47 1996 Ian Lance Taylor <ian@cygnus.com>
  2285. * write.c (adjust_reloc_syms): Make sure that symbols are
  2286. resolved; expression symbols may have been skipped.
  2287. * config/obj-coff.c (fixup_segment): Likewise.
  2288. Thu Dec 12 15:18:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2289. * config/tc-ppc.c (ppc_elf_suffix): Move @plt to
  2290. BFD_RELOC_24_PLT_PCREL relocation.
  2291. (md_apply_fix3): Support BFD_RELOC_24_PLT_PCREL.
  2292. Tue Dec 10 13:51:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2293. * config/tc-d10v.c (write_2_short): Remove code that called
  2294. parallel_ok() when the programmer specified parallel instructions.
  2295. Tue Dec 10 12:23:19 1996 Jeffrey A Law (law@cygnus.com)
  2296. * config/tc-mn10300.c (md_assemble): Update to handle endianness
  2297. issues correctly.
  2298. * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
  2299. * config/tc-mn10300.c (md_assemble): Likewise.
  2300. Tue Dec 10 11:37:14 1996 Ian Lance Taylor <ian@cygnus.com>
  2301. * config/tc-mips.c (append_insn): Make sure there is enough room
  2302. in a frag after a mips16 instruction to switch it with a jump
  2303. instruction.
  2304. * config/tc-mips.c (mips16_extended_frag): Give an error for an
  2305. attempt to use a non absolute symbol in an extending frag.
  2306. Mon Dec 9 16:48:20 1996 Jeffrey A Law (law@cygnus.com)
  2307. * config/tc-mn10200.c: Flesh out assembler support for MN10200.
  2308. * config/tc-mn10200.h: Likewise.
  2309. Mon Dec 9 17:09:42 1996 Ian Lance Taylor <ian@cygnus.com>
  2310. * app.c (do_scrub_chars): At the end of a C comment, pass space to
  2311. UNGET rather than PUT. Set old_state before setting state to -2.
  2312. * config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
  2313. when extending because the value is exactly maxtiny + 1.
  2314. * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
  2315. arguments, and store them. Adjust other RELAX_MIPS16 macros.
  2316. (RELAX_MIPS16_USER_SMALL): Define.
  2317. (RELAX_MIPS16_USER_EXT): Define.
  2318. (mips16_small, mips16_ext): New static variables.
  2319. (append_insn): Pass mips16_small and mips16_ext to
  2320. RELAX_MIPS16_ENCODE.
  2321. (mips16_ip): Set mips16_small and mips16_ext.
  2322. (mips16_immed): Don't check mips16_autoextend.
  2323. (mips16_extended_frag): Check USER_SMALL and USER_EXT.
  2324. * write.c (write_relocs): Print an error for an out of range
  2325. fixup, rather than calling abort.
  2326. * as.c (main): Unlink the output file if there are errors while
  2327. generating the fixups.
  2328. Fri Dec 6 18:48:13 1996 Ian Lance Taylor <ian@cygnus.com>
  2329. * config/tc-mips.c (mips16_extended_frag): Don't call
  2330. S_GET_VALUE.
  2331. (md_convert_frag): Call resolve_symbol_value before calling
  2332. S_GET_VALUE, and don't add in the frag address.
  2333. * config/tc-mips.c (mips16_immed): Add file and line parameters,
  2334. and use them when reporting errors. Change all callers.
  2335. Fri Dec 6 15:36:32 1996 Jeffrey A Law (law@cygnus.com)
  2336. * config/tc-mn10300.c: Fix various gcc -Wall warnings.
  2337. Remove '$' prefixing for registers.
  2338. Fri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com>
  2339. * config/tc-d10v.c (md_assemble): Check to see if prev_seg
  2340. is initialized before using it.
  2341. (d10v_cleanup): No longer uses its argument, so make it void.
  2342. * config/tc-d10v.h (d10v_cleanup): Change prototype.
  2343. Thu Dec 5 11:03:31 1996 Ian Lance Taylor <ian@cygnus.com>
  2344. * write.c (fixup_segment): Don't discard the symbol for a PC
  2345. relative fixup to an absolute symbol.
  2346. Wed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2347. * config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
  2348. with multiple sections.
  2349. Wed Dec 4 13:00:07 1996 Ian Lance Taylor <ian@cygnus.com>
  2350. * config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
  2351. no-mips-16 to no-mips16.
  2352. (s_mipsset): Accept .set mips16 and .set nomips16.
  2353. Wed Dec 4 10:35:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2354. * config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
  2355. argument, and check for +/- constant following the suffix, folding
  2356. it into the expression.
  2357. (ppc_elf_cons): Change ppc_elf_suffix calls.
  2358. (md_assemble): Ditto.
  2359. (shlib): Replace boolean mrelocatable with enumeration shlib.
  2360. (md_parse_option): Discriminate between PIC style shared libraries
  2361. and -mrelocatable.
  2362. (ppc_elf_validate_fix): Don't report warnings for PIC style shared
  2363. libraries.
  2364. Tue Dec 3 23:18:29 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2365. * config/tc-ppc.h ({tc,ppc}_comment_chars): Define, so that we can
  2366. change the comment characters.
  2367. * config/tc-ppc.c (comment_chars): Delete in favor of
  2368. tc_comment_chars.
  2369. (ppc_{eabi,solaris}_comment_chars): Eabi and Solaris versions of
  2370. comment chars.
  2371. (ppc_comment_chars): Select appropriate comment chars by default.
  2372. (msolaris): New flag for -m{,no-}solaris.
  2373. (md_parse_option): Recognize -K pic. Add support for
  2374. -m{,no-}solaris.
  2375. (md_show_usage): Update.
  2376. (md_begin): Do not set ELF flags if Solaris.
  2377. (ppc_elf_suffix): @local sets R_PPC_LOCAL24PC relocation.
  2378. (md_apply_fix3): Add support for R_PPC_LOCAL24PC.
  2379. Mon Dec 2 13:48:57 1996 Ian Lance Taylor <ian@cygnus.com>
  2380. * as.c (main): Correct handling of flag_always_generate_output.
  2381. Sun Dec 1 21:46:05 1996 Jeffrey A Law (law@cygnus.com)
  2382. * config/tc-mn10300.c (tc_gen_reloc): Get the addend from
  2383. fx_offset, not fx_addnumber.
  2384. * config/tc-mn10300.h (tc_fix_adjustable): Don't do any
  2385. reloc adjustments.
  2386. Sat Nov 30 17:34:48 1996 Eliot Dresselhaus <eliot@wally.edc.com>
  2387. * config/tc-i386.c: Correct misspelling: balenced to balanced.
  2388. Wed Nov 27 13:25:39 1996 Ian Lance Taylor <ian@cygnus.com>
  2389. * config/tc-mips.c (md_section_align): Check for an alignment of
  2390. 4, not an alignment of 16. Corrects August 7 patch.
  2391. Tue Nov 26 10:33:16 1996 Ian Lance Taylor <ian@cygnus.com>
  2392. * configure, conf.in: Rebuild with autoconf 2.12.
  2393. * config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no
  2394. alignment is specified.
  2395. Add support for mips16 (16 bit MIPS implementation):
  2396. * config/tc-mips.c: Extensive additions for mips16 support, not
  2397. listed here.
  2398. (RELAX_OLD, RELAX_NEW): Use only 7 bits each.
  2399. (insn_uses_reg): Change last parameter to an enum.
  2400. * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0.
  2401. (md_relax_frag): Define as mips_relax_frag.
  2402. (mips_relax_frag): Declare.
  2403. (struct mips_cl_insn): Add use_extend and extend fields.
  2404. (tc_fix_adjustable): Define.
  2405. * config/obj-elf.h (S_GET_OTHER): Define.
  2406. (S_SET_OTHER): Define.
  2407. Mon Nov 25 18:02:29 1996 J.T. Conklin <jtc@beauty.cygnus.com>
  2408. * config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n,
  2409. o and p operand specifiers.
  2410. Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com>
  2411. * write.c: Delete "ifndef md_relax_frag" around is_dnrange.
  2412. (relax_segment, case rs_org): Move code inside braces. Move locals
  2413. target,after inside too.
  2414. (relax_segment, case rs_machine_dependent): Guts moved to ...
  2415. (relax_frag): New function.
  2416. Call md_prepare_relax_scan if defined.
  2417. * config/tc-m68k.h (md_prepare_relax_scan): Renamed from
  2418. M68K_AIM_KLUDGE.
  2419. Mon Nov 25 08:49:36 1996 Jeffrey A Law (law@cygnus.com)
  2420. * config/tc-mn10300.c (address_registers): Use '$' as register
  2421. prefix instead of '%'.
  2422. (data_registers, other_registers, md_assemble): Likewise.
  2423. * config/tc-mn10300.c (address_registers): Use '%' prefix for regs.
  2424. (data_registers, other_registers, md_assemble): Likewise.
  2425. * config/tc-mn10300.c (md_assemble): Correctly determine the
  2426. correct location and type for each relocation.
  2427. (md_pcrel_from): Simplify.
  2428. Fri Nov 22 15:42:26 1996 Ian Lance Taylor <ian@cygnus.com>
  2429. * config/tc-sh.c (md_convert_frag): Improve warning when branch is
  2430. converted into branch around branch.
  2431. Thu Nov 21 11:56:11 1996 Jeffrey A Law (law@cygnus.com)
  2432. * config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.
  2433. (tc_fix_adjustable): Don't adjust relocs against weak symbols or
  2434. pc-relative relocs.
  2435. * config/tc-mn10300.c (md_begin): Set linkrelax.
  2436. (md_assemble): Create fixups as needed.
  2437. (md_apply_fix3): Gut. It shouldn't ever get called anymore.
  2438. Tue Nov 19 17:48:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2439. * config/tc-d10v.c (parallel_ok): When automatically converting
  2440. serial ops to parallel, do not consider a branch as the first
  2441. instruction.
  2442. Tue Nov 19 13:35:22 1996 Jeffrey A Law (law@cygnus.com)
  2443. * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.
  2444. Mon Nov 18 15:26:55 1996 Jeffrey A Law (law@cygnus.com)
  2445. * config/tc-mn10300.c (mn10300_insert_operand): Provide prototype
  2446. via PARAMS.
  2447. (check_operand): Likewise.
  2448. Mon Nov 18 15:22:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2449. * config/tc-d10v.c (parallel_ok): Branch and link instructions
  2450. modify r13.
  2451. (write_2_short): Call parallel_ok to check whether two short
  2452. instructions the user requested execute in parallel, can be
  2453. executed that way.
  2454. Thu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2455. * config/tc-d10v.c (write_2_short): Fix bug that wouldn't
  2456. allow a branch and link in parallel with an exe instruction.
  2457. Fri Nov 8 13:55:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2458. * doc/c-d10v.texi: Add info on @word modifier.
  2459. Wed Nov 6 13:46:07 1996 Jeffrey A Law (law@cygnus.com)
  2460. * config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT
  2461. operands are assumed to be 32bits. Use "bits" field to hold the
  2462. number of bits in the main instruction word for MN10300_OPERAND_SPLIT.
  2463. (mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed
  2464. to be 32bits.
  2465. * config/tc-mn10300.c (mn10300_insert_operand): Shift low part
  2466. of a MN10300_OPERAND_SPLIT operand by operand->shift.
  2467. * config/tc-mn10300.c (mn10300_insert_operand): Handle
  2468. MN10300_OPERAND_SPLIT.
  2469. Tue Nov 5 13:30:40 1996 Jeffrey A Law (law@cygnus.com)
  2470. * config/tc-mn10300.c (md_assemble): Insert operands into
  2471. the extension part of the instruction if necessary.
  2472. (mn10300_insert_operand): Accept pointer to extension word
  2473. argument. Make insn a pointer argument too. Return type
  2474. is now void. All callers changed.
  2475. Mon Nov 4 12:53:40 1996 Jeffrey A Law (law@cygnus.com)
  2476. * config/tc-mn10300.c (mn10300_insert_operand): Handle
  2477. repeated register operands.
  2478. Fri Nov 1 10:42:49 1996 Ian Lance Taylor <ian@cygnus.com>
  2479. * doc/as.texinfo: Added section on reporting bugs.
  2480. * config/tc-alpha.c: Change uses of void * to PTR. Change the
  2481. alpha_macro emit field to expect a const argument, and change the
  2482. arg field to be const. Fix some spacing to follow the GNU
  2483. standard.
  2484. Fri Nov 1 10:32:03 1996 Richard Henderson <rth@tamu.edu>
  2485. * config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
  2486. (pca56) and 21264 (ev6) cpus.
  2487. (md_apply_fix): Private relocation types are now negative.
  2488. (alpha_force_relocation): Likewise.
  2489. (tc_gen_reloc): Likewise.
  2490. (emit_insn): Likewise.
  2491. (emit_ldXu): Do the right thing when the hardware can do byte insns.
  2492. (emit_stX): Likewise.
  2493. (emit_sextX): Likewise.
  2494. Thu Oct 31 16:33:21 1996 Ian Lance Taylor <ian@cygnus.com>
  2495. * config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on
  2496. a symbol found in a reloc.
  2497. * symbols.c (resolve_symbol_value): Improve the error message if
  2498. an undefined symbol is used in an expression.
  2499. Wed Oct 30 20:15:35 1996 Ian Lance Taylor <ian@cygnus.com>
  2500. * doc/internals.texi: Rewrite, and add a lot of documentation.
  2501. * doc/Makefile.in (internals.info): New target.
  2502. Wed Oct 30 14:55:57 1996 Jeffrey A Law (law@cygnus.com)
  2503. * config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
  2504. against weak symbols.
  2505. Tue Oct 29 12:28:16 1996 Jeffrey A Law (law@cygnus.com)
  2506. * config/tc-v850.c (md_assemble): Don't lose for relaxable
  2507. addresses like .+6.
  2508. * config/tc-v850.c (md_convert_frag): Make sure we insert the
  2509. fixup at the right address within the frag.
  2510. * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
  2511. to an absolute value, instead increment it as needed.
  2512. * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
  2513. * config/tc-v850.c: Fix some indention problems.
  2514. (md_relax_table): Define for D9->D99 branch displacement
  2515. relaxing.
  2516. (md_convert_frag): Do something useful instead of aborting.
  2517. (md_estimate_size_before_relax): Likewise.
  2518. (md_assemble): Note if the matching instruction has a relaxable
  2519. operand. If it does, allocate frag with frag_var and don't
  2520. do any fixups.
  2521. Mon Oct 28 10:48:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2522. * config/tc-d10v.h (md_cleanup): New function. This is needed to
  2523. write out any buffered instructions when a ".end" is found.
  2524. Mon Oct 28 10:43:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2525. * read.c (read_a_source_file): New hook md_cleanup().
  2526. Fri Oct 25 00:01:00 1996 Ian Lance Taylor <ian@cygnus.com>
  2527. * write.c (fix_new_exp): Use make_expr_symbol to build an
  2528. expression symbol for a complex fixup.
  2529. Thu Oct 24 14:31:04 1996 Jeffrey A Law (law@cygnus.com)
  2530. * config/tc-v850.c (v850_reloc_prefix): Several disgusting
  2531. hacks to improve parsing of complex hi, lo, zda, etc
  2532. expressions.
  2533. (md_assemble): Don't demand and eat a trailing ')' after finding
  2534. a v850 relocation prefix. Sign extend the constant in a
  2535. BFD_RELOC_LO16 expression. Do eat a trailing ')' after a complete
  2536. operand.
  2537. (parse_cons_expression_v850): Don't eat a trailing ')' after
  2538. finding a v850 relocation prefix.
  2539. * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
  2540. (TC_CONS_FIX_NEW): Likewise.
  2541. * config/tc-v850.c (parse_cons_expression_v850): New function.
  2542. (cons_fix_new_v850): Likewise.
  2543. * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
  2544. Wed Oct 23 18:20:29 1996 Ian Lance Taylor <ian@cygnus.com>
  2545. * config/tc-ppc.c (md_apply_fix3): Give a better warning message
  2546. for an unknown relocation type.
  2547. Wed Oct 23 16:21:28 1996 Jeffrey A Law (law@cygnus.com)
  2548. * config/tc-v850.c (md_pseudo_table): Add .word; allocates
  2549. 4 bytes of space.
  2550. Tue Oct 22 22:01:25 1996 Jeffrey A Law (law@cygnus.com)
  2551. * config/tc-v850.c (md_assemble): Handle TDAOFF relocs
  2552. differently for movea & sst/sld insns.
  2553. Tue Oct 22 17:09:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2554. * config/tc-d10v.c (parallel_ok): Don't allow illegal combinations
  2555. of instructions.
  2556. Tue Oct 22 11:28:39 1996 Ian Lance Taylor <ian@cygnus.com>
  2557. * obj.h (struct format_ops): Add frob_file_after_relocs field.
  2558. * config/obj-multi.h (obj_frob_file_after_relocs): Define.
  2559. * config/obj-ecoff.c (ecoff_format_ops): Initialize new
  2560. frob_file_after_relocs field.
  2561. * config/obj-elf.c (elf_format_ops): Likewise.
  2562. * config/tc-mips.c: Undefine obj_frob_file_after_relocs before
  2563. including obj-elf.h.
  2564. Mon Oct 21 11:38:30 1996 Ian Lance Taylor <ian@cygnus.com>
  2565. * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
  2566. specially if not ELF.
  2567. (md_apply_fix): Handle BFD_RELOC_64.
  2568. (tc_gen_reloc): Handle BFD_RELOC_64.
  2569. * config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
  2570. relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
  2571. reloc hacking).
  2572. * config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
  2573. Don't check S_GET_OTHER.
  2574. Fri Oct 18 14:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
  2575. * config/tc-mips.c (mips_ip): Accept an odd floating point
  2576. register with l.s or s.s.
  2577. * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
  2578. .type pseudo-op.
  2579. (obj_aout_type): New static function.
  2580. Thu Oct 17 17:55:17 1996 Ian Lance Taylor <ian@cygnus.com>
  2581. * Makefile.in ($(OBJS)): Depend upon libiberty.h.
  2582. Wed Oct 16 11:28:31 1996 Jeffrey A Law (law@cygnus.com)
  2583. * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
  2584. and sdaoff expressions.
  2585. * write.c (fixup_segment): Don't add symbol value to addend if
  2586. TC_V850 and OBJ_ELF.
  2587. * config/tc-v850.h (tc_fix_adjustable): Don't adjust any
  2588. pc-relative fixups.
  2589. * config/tc-v850.c (md_pcrel_from): Undo yesterday's changes.
  2590. (md_pcrel_from_section): Likewise.
  2591. * config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise.
  2592. Tue Oct 15 23:19:00 1996 Jeffrey A Law (law@cygnus.com)
  2593. * config/tc-v850.c (md_pcrel_from): Delete unused function.
  2594. (md_pcrel_from_section): New function.
  2595. * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
  2596. Mon Oct 14 13:59:12 1996 Ian Lance Taylor <ian@cygnus.com>
  2597. * config/tc-mips.c (load_register): Add cast to offsetT when using
  2598. a constant with &~.
  2599. Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
  2600. * config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
  2601. (elf_frob_file_after_relocs): ... here. New function.
  2602. * config/obj-elf.h (obj_from_file_after_relocs): New macro.
  2603. * write.c (write_object_file): Call *frob_after_relocs after the
  2604. call to write_relocs.
  2605. * config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
  2606. * config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
  2607. symbol, as this messes up linking. Instead, expand the recursive call
  2608. inline and change up the appropriate bits to get the 0x8000 offset
  2609. in the reloc addend.
  2610. Thu Oct 10 17:30:31 1996 Ian Lance Taylor <ian@cygnus.com>
  2611. * config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
  2612. two symbols in the same segment to be adjusted.
  2613. * configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
  2614. * configure: Rebuild.
  2615. Thu Oct 10 17:22:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  2616. * config/tc-ppc.c (ppc_insert_operand): Change most warnings into
  2617. errors.
  2618. (ppc_elf_validate_fix): Ditto.
  2619. (md_assemble): Ditto.
  2620. (ppc_tc): Ditto.
  2621. (ppc_pe_section): Ditto.
  2622. (ppc_frob_symbol): Ditto.
  2623. Thu Oct 10 12:05:45 1996 Jeffrey A Law (law@cygnus.com)
  2624. * config/mn10300.c (md_assemble): Pass an extra shift count
  2625. to mn10300_insert_operand based on the opcode format.
  2626. (mn10300_insert_operand): Accept and use extra shift count
  2627. parameter.
  2628. * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
  2629. formats rather than hard-coded constants.
  2630. * config/tc-mn10300.c (md_assemble): Format D5 instructions
  2631. are 7 bytes long. Write out instructions in big-endian format.
  2632. Tue Oct 8 14:56:15 1996 Jeffrey A Law (law@cygnus.com)
  2633. * config/tc-mn10300.c (md_assemble): Tweak further so
  2634. that all instructions are parsed correctly.
  2635. Tue Oct 8 13:02:21 1996 Ian Lance Taylor <ian@cygnus.com>
  2636. * as.h: Include libiberty.h.
  2637. (xmalloc, xrealloc): Don't declare.
  2638. * as.c: Don't include libiberty.h.
  2639. * expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
  2640. * config/tc-mips.c: Likewise.
  2641. * messages.c: Likewise.
  2642. (xstrerror): Don't declare.
  2643. * xmalloc.c: Remove.
  2644. Mon Oct 7 16:53:23 1996 Jeffrey A Law (law@cygnus.com)
  2645. * config/tc-mn10300.h (pre_defined_registers) Remove.
  2646. (system_registers, cc_names): Likewise.
  2647. (address_registers, data_registers, other_registers): New register
  2648. arrays.
  2649. (register_name, system_register_name, cc_name): Remove.
  2650. (mn10300_reloc_prefix): Likewise.
  2651. (data_register_name): New function.
  2652. (address_register_name, other_register_name): Likewise.
  2653. (md_assemble): Rough cut at parsing operands. Remove lots of
  2654. unwanted code.
  2655. (md_apply_fix3): Disable for now.
  2656. Mon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2657. * config/tc-m68k.c (select_control_regs): New function, extracted
  2658. out of m68k_init_after_args.
  2659. (m68k_init_after_args): Use it.
  2660. (mri_chip): Use it here as well to update set of allowed control
  2661. regs for movec.
  2662. Mon Oct 7 11:24:29 1996 Ian Lance Taylor <ian@cygnus.com>
  2663. * config/obj-elf.c (elf_begin): New function.
  2664. (obj_elf_section): Add the section symbol to the symbol table.
  2665. * config/obj-elf.h (obj_begin): Define.
  2666. (elf_begin): Declare.
  2667. * as.c (perform_an_assembly_pass): Call obj_begin if it is
  2668. defined.
  2669. Fri Oct 4 18:37:32 1996 Ian Lance Taylor <ian@cygnus.com>
  2670. * config/obj-coff.c (fixup_segment): Subtract the section address
  2671. from a PC relative reloc if TC_M68K.
  2672. Thu Oct 3 15:15:30 1996 Ian Lance Taylor <ian@cygnus.com>
  2673. * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
  2674. .uaxword available even if not OBJ_ELF.
  2675. (md_atof): Remove unused local variable wordP.
  2676. Thu Oct 3 00:16:50 1996 Jeffrey A Law (law@cygnus.com)
  2677. * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
  2678. for Matsushita MN10x00 support.
  2679. * configure.in: Recognize mn10x00-*-*
  2680. * configure: Rebuilt.
  2681. Wed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de>
  2682. * config/obj-evax.h: move openvms definitions from here to tc-alpha.c.
  2683. * config/tc-alpha.c: add support for vms_case_hack like in vax/vms.
  2684. (load_expression): track clobbering of base reg before jmp/jsr.
  2685. (s_alpha_file): pass case_hack flags and source filename via
  2686. symbol table to bfd.
  2687. * config/tc-alpha.h (TC_CONS_FIX_NEW): define
  2688. Tue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
  2689. * configure.in (mips-*-rtems*): New target, like mips-*-elf*.
  2690. * configure: Rebuild.
  2691. Tue Oct 1 12:37:48 1996 Ian Lance Taylor <ian@cygnus.com>
  2692. * read.c (s_macro): Warn if a macro has the same name as a
  2693. pseudo-op.
  2694. (s_space): In m68k MRI mode, align to a word boundary.
  2695. * macro.c (define_macro): Add namep parameter. Change all
  2696. callers.
  2697. * macro.h (define_macro): Update declaration.
  2698. * as.c (show_usage): Print bug report address.
  2699. (parse_args): Change version printing to match current GNU
  2700. standards.
  2701. * gasp.c (show_usage): Print bug report address.
  2702. (main): Change version printing to match current GNU standards.
  2703. * config/tc-m68k.c (init_table): Correct access control unit
  2704. register numbers. From Ken Rose <rose@netcom.com>.
  2705. * config/tc-alpha.c: Add some static function prototypes.
  2706. (alpha_macros): Move to top of file. Make static.
  2707. (alpha_num_macros): Move to top of file.
  2708. Tue Oct 1 09:36:19 1996 Stu Grossman (grossman@critters.cygnus.com)
  2709. * config/tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols
  2710. generated by DWARF.
  2711. Sat Sep 28 03:38:08 1996 Ian Lance Taylor <ian@cygnus.com>
  2712. * listing.c (list_symbol_table): Remove bogus code in BFD64 case,
  2713. and just call sprintf_vma.
  2714. Thu Sep 26 16:04:11 1996 Ian Lance Taylor <ian@cygnus.com>
  2715. * expr.c (expr): Change >>= to >> (fix typo). (From meissner).
  2716. Tue Sep 24 19:05:08 1996 Ian Lance Taylor <ian@cygnus.com>
  2717. * read.c (float_cons): Call md_flush_pending_output if it is
  2718. defined.
  2719. Tue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2720. * config/tc-d10v.c (md_operand): Created. Allows operands to
  2721. start with '#'.
  2722. * config/tc-d10v.h (md_operand): Undefined.
  2723. Mon Sep 23 12:13:18 1996 Ian Lance Taylor <ian@cygnus.com>
  2724. * config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
  2725. (md_assemble): A fixup width of '3' means a 1 byte reloc.
  2726. Thu Sep 19 12:21:24 1996 Ian Lance Taylor <ian@cygnus.com>
  2727. * config/obj-coff.c (fixup_segment): Don't adjust PC relative
  2728. reloc for the i960 for a reloc in the same section. This undoes
  2729. one of the two changes made Aug 19.
  2730. Wed Sep 18 12:11:58 1996 Ian Lance Taylor <ian@cygnus.com>
  2731. * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
  2732. symbols to the position of the debugging information.
  2733. Mon Sep 16 11:41:40 1996 Ian Lance Taylor <ian@cygnus.com>
  2734. * expr.c (expr): Always use unsigned right shifts for >>.
  2735. Thu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
  2736. * config/tc-arm.c (md_apply_fix3): Update two thumb instruction
  2737. slots when processing BL fixups.
  2738. * config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
  2739. on the first half of the instruction.
  2740. Wed Sep 11 00:09:35 1996 Ian Lance Taylor <ian@cygnus.com>
  2741. * ecoff.c (ecoff_stab): Create an expression symbol for a complex
  2742. stabs expression, rather than giving an error.
  2743. * ecoff.c (ecoff_new_file): Don't do anything if we are still in
  2744. the same file.
  2745. Tue Sep 10 11:45:37 1996 Ian Lance Taylor <ian@cygnus.com>
  2746. * config/tc-mips.c (append_insn): Fill in the value for a constant
  2747. jump, rather than creating a reloc.
  2748. Mon Sep 9 10:57:42 1996 Ian Lance Taylor <ian@cygnus.com>
  2749. * config/tc-mips.c (append_insn): Don't swap an instruction which
  2750. sets a condition code with an instruction which uses a condition
  2751. code.
  2752. (mips_ip): In cases 'N' and 'M', look for $fccN rather than an
  2753. immediate value.
  2754. * config/tc-mips.c (md_begin): Recognize r5000 for cpu.
  2755. (mips_ip): Give a better error message if the ISA level is wrong.
  2756. (md_parse_option): Recognize -mcpu=[v][r]5000.
  2757. Sat Sep 7 13:25:55 1996 James G. Smith <jsmith@cygnus.co.uk>
  2758. * config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
  2759. leading zeroes.
  2760. (load_register): Ensure hi32 bits are not lost during lo32bit
  2761. processing. Fix shift offset that was overflowing into the next
  2762. instruction field. Add code to generate shorter sequences for
  2763. constants with a single contiguous seqeuence of ones.
  2764. Fri Sep 6 17:07:12 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2765. * config/tc-d10v.c (d10v_dot_word): New function to support
  2766. "@word" with the word pseudo-op.
  2767. (md_apply_fix3): Cleanup and changes to support correct sizes
  2768. for 16 and 18-bit relocs.
  2769. Fri Sep 6 16:00:29 1996 Doug Evans <dje@canuck.cygnus.com>
  2770. * configure.in (sparc-*-aout): Set `em'.
  2771. * configure: Regenerated.
  2772. * config/te-sparcaout.h: New file.
  2773. * config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
  2774. Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
  2775. * config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
  2776. (SPECIAL_CASE_{SETSW,SETX}): Define.
  2777. ({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
  2778. (md_begin): Delete setting of `target_big_endian'.
  2779. (output_insn): New function.
  2780. (md_assemble): Rewrite. Add `setx' support.
  2781. (sparc_ip): Handle `0' operand char. Recognize setuw, setsw, setx
  2782. special cases.
  2783. (md_atof): Add little endian support.
  2784. (md_number_to_chars): Likewise.
  2785. (md_apply_fix): Likewise.
  2786. (md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
  2787. (md_parse_option): Likewise.
  2788. (md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
  2789. Thu Sep 5 13:40:29 1996 Ian Lance Taylor <ian@cygnus.com>
  2790. * ecoff.c (ecoff_new_file): New function.
  2791. * ecoff.h (ecoff_new_file): Declare.
  2792. * config/obj-ecoff.h (obj_app_file): Define.
  2793. Thu Sep 5 13:39:25 1996 Richard Henderson <rth@tamu.edu>
  2794. * config/tc-alpha.c (load_expression): Bias the .lit8 section
  2795. symbol by 32k so that our 16-bit signed offset can address the
  2796. entire chunk. Reported by <matt@lkg.dec.com>.
  2797. Wed Sep 4 10:23:20 1996 Ian Lance Taylor <ian@cygnus.com>
  2798. * config/tc-mips.c (load_register): Remove unused variable tmp.
  2799. Wed Sep 4 11:24:29 1996 James G. Smith <jsmith@cygnus.co.uk>
  2800. * config/tc-mips.c (load_register): Remove unnecessary code that
  2801. was causing the high 32bits of 64bit constants to be lost.
  2802. Tue Sep 3 13:52:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2803. * config/tc-d10v.c: Added changes to support function
  2804. pointers and "@word" syntax.
  2805. Tue Sep 3 11:57:18 1996 Jeffrey A Law (law@cygnus.com)
  2806. * config/tc-v850.c: Remove commented out and #if 0'd code.
  2807. (v850_reloc_prefix): Provide prototype.
  2808. (postfix, get_reloc, build_insn): Remove prototypes for nonexistant
  2809. functions.
  2810. (md_begin, md_assemble, md_apply_fix3): Remove unused variables.
  2811. (md_assemble): Add default to case statement.
  2812. Sat Aug 31 16:03:00 1996 Jeffrey A Law (law@cygnus.com)
  2813. * config/tc-v850.c (md_assemble): Compute size of the instrction
  2814. from the opcode.
  2815. * config/tc-v850.c (md_apply_fix3): Do simple byte, short and
  2816. word fixups too.
  2817. Fri Aug 30 23:50:08 1996 Jeffrey A Law (law@cygnus.com)
  2818. * config/tc-v850.c (md_apply_fix3): Use little endian get/put
  2819. routines to fetch/store the updated instruction from/to memory.
  2820. (v850_insert_operand): If the operand has a specialized insert
  2821. routine, call it.
  2822. Fri Aug 30 18:35:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
  2823. * config/tc-v850.c (reg_name_search): Align calling convention to
  2824. be like identical function found in tc-ppc.c.
  2825. (get_reloc): Removed.
  2826. (v850_reloc_prefix): New function, parse lo(), hi() and hi0().
  2827. (md_assemble): emit fixups.
  2828. (md_pcrel_from): renamed from md_pcrel_from_section, emit proper
  2829. displacement.
  2830. (md_apply_fix3): handle fixups/relocs.
  2831. * config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
  2832. Fri Aug 30 18:12:00 1996 Ian Lance Taylor <ian@cygnus.com>
  2833. Add SH ELF support.
  2834. * configure.in (sh-*-elf*): New target.
  2835. * config/tc-sh.h (TARGET_ARCH): Define.
  2836. (WORKING_DOT_WORD): Define.
  2837. (TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
  2838. (BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
  2839. (TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
  2840. (DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
  2841. (TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
  2842. (SUB_SEGMENT_ALIGN): Likewise.
  2843. (RELOC_32): Don't define.
  2844. (tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
  2845. (target_big_endian): Declare if OBJ_ELF.
  2846. (TARGET_FORMAT): Define if OBJ_ELF.
  2847. * config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
  2848. numbers throughout.
  2849. (tc_crawl_symbol_chain): Only define if OBJ_COFF.
  2850. (tc_headers_hook, tc_coff_sizemachdep): Likewise.
  2851. (struct sh_count_relocs): Define.
  2852. (sh_count_relocs): New static function, broken out of
  2853. sh_frob_file. Add BFD_ASSEMBLER code.
  2854. (sh_frob_section): Likewise.
  2855. (sh_frob_file): Call sh_frob_section.
  2856. (md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
  2857. call section_symbol rather than seg_info (seg)->dot.
  2858. (md_section_align): Add OBJ_ELF version.
  2859. (SWITCH_TABLE_CONS): Define.
  2860. (SWITCH_TABLE): Use SWITCH_TABLE_CONS.
  2861. (md_apply_fix): Change parameter types if BFD_ASSEMBLER. Only
  2862. handle fx_r_type == 0 if not BFD_ASSEMBLER. Return 0 if
  2863. BFD_ASSEMBLER.
  2864. (struct reloc_map): Define if not BFD_ASSEMBLER.
  2865. (coff_reloc_map): Likewise.
  2866. (sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
  2867. (tc_gen_reloc): New function if BFD_ASSEMBLER.
  2868. * write.c (write_relocs): Ifdef out fx_where test which triggers
  2869. inappropriately for SH ELF.
  2870. (write_object_file): Call tc_frob_file_before_adjust and
  2871. obj_frob_file_before_adjust if they are defined.
  2872. * write.c (write_object_file): Use BFD_RELOC_16, not
  2873. BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
  2874. * read.c (emit_expr): Fix conversion of byte count to BFD reloc
  2875. code.
  2876. Fri Aug 30 14:47:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2877. * config/tc-d10v.c (find_opcode): Fix problem with calculating
  2878. branch sizes in across sections.
  2879. Fri Aug 30 00:44:13 1996 Jeffrey A Law (law@cygnus.com)
  2880. * config/tc-850.c (md_assemble): Handle hi() correctly. Handle
  2881. hi0() too.
  2882. Wed Aug 28 23:11:08 1996 Jeffrey A Law (law@cygnus.com)
  2883. * config/tc-v850.c (md_begin): Deal with end of opcode
  2884. table marker.
  2885. Wed Aug 28 19:20:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2886. * config/tc-d10v.c (find_opcode): Fix a bug which could generate
  2887. the wrong opcode for cases like st2w where there are many forms
  2888. of the same instruction.
  2889. Tue Aug 27 13:53:22 1996 Ian Lance Taylor <ian@cygnus.com>
  2890. * expr.c (operand): If md_parse_name is defined, call it before
  2891. calling symbol_find_or_make.
  2892. * config/tc-ppc.h (md_parse_name): Define.
  2893. (ppc_parse_name): Declare.
  2894. * config/tc-ppc.c (reg_name_search): Add regs and regcount
  2895. parameters.
  2896. (register_name): Update call to reg_name_search.
  2897. (cr_operand): New static variable.
  2898. (cr_names): New static const array.
  2899. (ppc_parse_name): New function.
  2900. (md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
  2901. cr_operand before calling expression.
  2902. Tue Aug 27 09:05:50 1996 Jeffrey A Law (law@cygnus.com)
  2903. * config/tc-hppa.c (tc_gen_reloc): Add new argument to
  2904. hppa_gen_reloc_type call.
  2905. Mon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2906. * config/tc-d10v.c: Fixed ".word". Fixed problem with range checking
  2907. on addresses. Improved error messages.
  2908. * doc/c-d10v.texi: Added docs for register pairs.
  2909. Mon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2910. * config/tc-d10v.c (parallel_ok): Fix bug in parallel
  2911. checking code.
  2912. Mon Aug 26 14:38:22 1996 Ian Lance Taylor <ian@cygnus.com>
  2913. * ecoff.c (init_file): Initialize fMerge to 1.
  2914. (add_file): Restore old file merging code, but only merge files if
  2915. fMerge is set.
  2916. (ecoff_directive_loc): Clear fMerge field of current file.
  2917. (ecoff_generate_asm_lineno): Likewise.
  2918. Fri Aug 23 11:40:47 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2919. * doc/c-d10v.texi: Fix typo.
  2920. Fri Aug 23 10:41:32 1996 Jeffrey A Law (law@cygnus.com)
  2921. * config/tc-v850.c (md_assemble): Correct bit masking for
  2922. hi and lo expressions.
  2923. * config/tc-v850.c (md_assemble): Rough cut at demanding
  2924. "ep" or "r30" in sst and sld instructions.
  2925. (md_apply_fix3): Don't abort. Just warn that we don't
  2926. have relocs yet.
  2927. * config/tc-v850.c (CC_NAME_CNT): Define.
  2928. (cc_name): New function.
  2929. (md_assemble): Handle V850_OPERAND_CC correctly.
  2930. * config/tc-v850.c (md_assemble): Don't forget to initialize
  2931. "insn"!
  2932. * config/tc-v850.c (reg_name_search): Generalize to search
  2933. any given register table.
  2934. (register_name): Pass appropriate table and size to reg_name_search.
  2935. (system_register_name): New function.
  2936. (SYSREG_NAME_CNT): Define.
  2937. (md_assemble): Handle operands which are system registers.
  2938. * config/tc-v850.c (md_assemble): If we find a register, but the
  2939. opcode doesn't want a register, then we don't have a match.
  2940. (md_assemble): Get size of the instruction from the opcode table.
  2941. Thu Aug 22 10:20:30 1996 Ian Lance Taylor <ian@cygnus.com>
  2942. * configure.in: Set and substitute HLDENV.
  2943. * configure: Rebuild.
  2944. * Makefile.in (HLDENV): New variable.
  2945. (as.new): Use $(HLDENV).
  2946. * ecoff.c (ecoff_directive_endef): Avoid a division by zero error
  2947. if an array dimension is not known.
  2948. Thu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2949. * config/tc-d10v.c: Fix a reloc bug caused by my last change.
  2950. * doc/c-d10v.texi: Cleanup.
  2951. Tue Aug 20 15:15:16 1996 J.T. Conklin <jtc@hippo.cygnus.com>
  2952. * config/tc-v850.c: New file.
  2953. * config/tc-v850.h: New file.
  2954. * configure (v850-*-elf): New target.
  2955. * configure.in (v850-*-elf): New target.
  2956. Wed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2957. * doc/c-d10v.texi: New file.
  2958. * doc/all.texi: Added D10V stuff.
  2959. * doc/as.texinfo: Added D10V stuff.
  2960. Tue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2961. * config/tc-d10v.c: All references to defined symbols should
  2962. now use the optimal instruction. .float and .double now work.
  2963. Mon Aug 19 14:41:36 1996 Ian Lance Taylor <ian@cygnus.com>
  2964. * config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
  2965. section address for the i960 as is done for the i386.
  2966. Thu Aug 15 16:37:59 1996 Stan Shebs <shebs@andros.cygnus.com>
  2967. * mpw-config.in: Add wildcards for config matching, add mips-*-*
  2968. case, forward-include bfd/elf-bfd.h.
  2969. Thu Aug 15 13:24:30 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  2970. * config/tc-d10v.c: Add additional information to the opcode
  2971. table to help determinine which instructions can be done
  2972. in parallel.
  2973. Thu Aug 15 17:01:31 1996 James G. Smith <jsmith@cygnus.co.uk>
  2974. * config/tc-arm.c: Major changes to add Thumb support, with lots
  2975. of change input from <rearnsha@armltd.co.uk>.
  2976. Reverted to INSN_SIZE macro, rather than insn_size variable.
  2977. (insns): Added ARM "bx" instruction support.
  2978. (tinsns): Added Thumb instruction definition structure.
  2979. (arm_tops_hsh): Added hash structure for Thumb opcodes.
  2980. (md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
  2981. (opcode_select,s_arm,s_thumb,s_code): Added.
  2982. (decode_shift): Allow upper-case RRX.
  2983. (do_ldst): Simpler halfword support.
  2984. (do_ldmstm): Improved.
  2985. (reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
  2986. thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
  2987. do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
  2988. do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
  2989. do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
  2990. do_t_adr): Added.
  2991. (md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
  2992. (md_parse_option): Add support for -mthumb.
  2993. (md_show_usage): Updated to reflect new command line option.
  2994. (arm_data_in_code, arm_canonicalize_symbol_name): Added.
  2995. * config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
  2996. fragment information to be held.
  2997. Thu Aug 15 16:12:00 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
  2998. * config/tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is
  2999. non-null, but is a constant.
  3000. (fix_new_arm): Call make_expr_symbol to make the expression symbol
  3001. so that error reporting will work correctly.
  3002. Wed Aug 14 10:37:21 1996 Ian Lance Taylor <ian@cygnus.com>
  3003. * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
  3004. against weak symbols.
  3005. Tue Aug 13 17:39:24 1996 Ian Lance Taylor <ian@cygnus.com>
  3006. * config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
  3007. (ppc_force_relocation): Declare if OBJ_XCOFF.
  3008. * config/tc-ppc.c (ppc_force_relocation): New function if
  3009. OBJ_XCOFF.
  3010. Mon Aug 12 16:49:43 1996 Ian Lance Taylor <ian@cygnus.com>
  3011. * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used.
  3012. Fri Aug 9 17:48:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3013. * config/tc-d10v.c: Fix problem with relocs.
  3014. Fri Aug 9 14:16:14 1996 Ian Lance Taylor <ian@cygnus.com>
  3015. * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
  3016. with nops if not in data_section or bss_section.
  3017. Thu Aug 8 12:32:56 1996 Klaus Kaempf <kkaempf@progis.de>
  3018. Add support for openVMS/Alpha.
  3019. * as.h (PRINTF_LIKE): Don't define if VMS, for now.
  3020. * config/obj-evax.c: New file.
  3021. * config/obj-evax.h: New file.
  3022. * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
  3023. defined.
  3024. * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
  3025. defined. Add case for bfd_target_evax_flavour.
  3026. * config/vms-a-conf.h: New file.
  3027. * conf-a-gas.com: New file.
  3028. * configure.in: Add target alpha-*-*vms*.
  3029. * configure: Rebuild.
  3030. * makefile.vms: New file.
  3031. * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
  3032. Don't call ffs on openVMS/Alpha.
  3033. Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
  3034. * configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
  3035. <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr
  3036. and sbrk.
  3037. * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
  3038. (NEED_DECLARATION_SBRK): New macro.
  3039. * configure, conf.in: Rebuild.
  3040. * as.h: Only include <strings.h> if HAVE_STRINGS_H.
  3041. (strstr): Declare if NEED_DECLARATION_STRSTR.
  3042. * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
  3043. Wed Aug 7 11:50:26 1996 Ian Lance Taylor <ian@cygnus.com>
  3044. * symbols.c (resolve_symbol_value): Handle addition or subtraction
  3045. by a constant before entering the main switch. Reject attempts to
  3046. apply an arithmetic function to non-absolute symbols, except for
  3047. the special case of subtraction of two symbols in the same
  3048. section.
  3049. * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
  3050. not to more than a 16 byte boundary.
  3051. * config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
  3052. #ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>.
  3053. (tc_gen_reloc): If out of memory call as_fatal rather than
  3054. assert. If no howto found, call as_bad_where rather than
  3055. as_fatal. Change the error message slightly. Set howto to a
  3056. non-NULL value in order to keep going.
  3057. Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3058. * config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
  3059. Tue Aug 6 11:15:26 1996 Jeffrey A Law (law@cygnus.com)
  3060. * config/tc-h8300.c (get_specific): New operand "size" derived
  3061. from ".b", ".w" and ".l" extensions. All callers changed. If
  3062. the base instruction has no operands, then use the size to
  3063. determine which specific instruction to use.
  3064. Mon Aug 5 14:21:10 1996 Ian Lance Taylor <ian@cygnus.com>
  3065. * config/tc-i960.c (mem_fmt): Call parse_expr before emit.
  3066. Fri Aug 2 11:23:31 1996 Ian Lance Taylor <ian@cygnus.com>
  3067. * config/tc-mips.c (md_section_align): Don't change addr if
  3068. OBJ_ELF.
  3069. Thu Aug 1 23:51:52 1996 Jeffrey A Law (law@cygnus.com)
  3070. * config/tc-hppa.c: Revert yesterday's changes.
  3071. Wed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3072. * config/tc-d10v.c: Disable range checking on 16-bit values.
  3073. Wed Jul 31 16:27:19 1996 Ian Lance Taylor <ian@cygnus.com>
  3074. * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
  3075. not just the ones that don't match.
  3076. Wed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3077. * config/tc-d10v.c: Fixed bugs in short relocs and range checking.
  3078. Wed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk>
  3079. * config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
  3080. pre-cursor to adding Thumb support. Also added cpu_variant flag
  3081. information to each of the asm_flg structures.
  3082. (md_parse_option): Updated ARM7 parsing to allow 't' for
  3083. thumb/halfword support, aswell as 'm' for long multiply.
  3084. (md_show_usage): Updated help message.
  3085. (md_assemble): Check that instruction flags are applicated to the
  3086. current cpu variant.
  3087. (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
  3088. BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
  3089. signextension instructions.
  3090. (do_ldst): Generate halfword and signextension variants if
  3091. mnemonic flags match.
  3092. (ldst_extend): Do not allow shifts in the offset field of halfword
  3093. or signextension instructions.
  3094. (validate_offset_imm): Provide check on halfword and signextension
  3095. immediate range.
  3096. (add_to_lit_pool): Merge identical literal pool values.
  3097. Tue Jul 30 14:28:23 1996 Jeffrey A Law (law@cygnus.com)
  3098. * config/tc-hppa.c (selector_table): Add 'E' selector.
  3099. (cons_fix_new_hppa): Don't coke on e_esel.
  3100. (tc_gen_reloc, SOM version): Handle R_COMP2 when used
  3101. to help generate exception handling tables.
  3102. (md_apply_fix): Don't try to apply fixups with an e_esel
  3103. selector.
  3104. (hppa_fix_adjustable): Fixups with e_esel selectors
  3105. are not adjustable.
  3106. Tue Jul 30 15:51:41 1996 Ian Lance Taylor <ian@cygnus.com>
  3107. * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
  3108. pseudo-ops.
  3109. Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3110. * config/tc-d10v.c: Added lots of error checking. Added hacks
  3111. to support accumulator shifts.
  3112. Fri Jul 26 11:56:08 1996 Ian Lance Taylor <ian@cygnus.com>
  3113. * symbols.c (S_SET_EXTERNAL): Let .weak override.
  3114. (S_CLEAR_EXTERNAL): Likewise.
  3115. (S_SET_WEAK): Remove error; just let .weak override.
  3116. Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3117. * config/tc-d10v.c (md_assemble): Now handles multiline
  3118. instructions.
  3119. Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3120. * config/tc-d10v.c: Fix packaging bug. Added range checking.
  3121. Added kludge for divs instruction. Fixed minor problem with
  3122. multiple text sections.
  3123. * config/tc-d10v.h (d10v_cleanup): Change prototype.
  3124. Tue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3125. * config/tc-d10v.c (md_apply_fix3): Fix all instruction
  3126. addresses to be right-shifted by 2.
  3127. Mon Jul 22 11:32:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3128. * config/tc-d10v.c: Many changes to get relocs working.
  3129. (register_name): No longer creates a symbol for register names.
  3130. (pre_defined_registers): moved to opcodes/d10v-opc.c.
  3131. (d10v_insert_operand): Now works correctly for either container.
  3132. * config/tc-d10v.h (d10v_cleanup): Declare.
  3133. Mon Jul 22 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com>
  3134. * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
  3135. BFD_RELOC_PCREL_LO16 are expected to be PC relative.
  3136. Mon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu>
  3137. * config/tc-alpha.c: Patches to track current minimum alignment to reduce
  3138. the number of fragments created with frag_align.
  3139. (alpha_current_align): New static variable.
  3140. (s_alpha_text): Reset alignment to 0.
  3141. (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
  3142. (s_alpha_stringer, s_alpha_space): New functions.
  3143. (s_alpha_cons, alpha_flush_pending_output): Remove functions.
  3144. (alpha_cons_align): New function to replace both of them.
  3145. (emit_insn): Only align if alpha_current_align is less than 2;
  3146. reset alpha_current_align to 2.
  3147. (s_alpha_gprel32): Likewise.
  3148. (s_alpha_section): New function. Basically duplicate the other
  3149. alpha section change hooks. Only define for ELF.
  3150. (s_alpha_float_cons): Simplify alignment handling.
  3151. (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
  3152. If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
  3153. Don't define the s_alpha_cons pseudo-ops. Do define
  3154. s_alpha_stringer and s_alpha_space pseudo-ops.
  3155. (alpha_align): Skip if less than current default alignment. Set
  3156. default alignment.
  3157. * config/tc-alpha.h (md_flush_pending_output): Remove.
  3158. (md_cons_align): Add.
  3159. * config/tc-alpha.c: Add oodles of function description comments.
  3160. (md_bignum_to_chars): Remove; there are no callers.
  3161. (md_show_usage): Mention some more variants.
  3162. Thu Jul 18 15:54:54 1996 Ian Lance Taylor <ian@cygnus.com>
  3163. From Andrew Gierth <ANDREWG@microlise.co.uk>:
  3164. * configure.in (sparc-*-sysv4*): New target.
  3165. * configure: Rebuild.
  3166. * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
  3167. uaxword to use s_uacons.
  3168. (sparc_no_align_cons): New static variable.
  3169. (s_uacons): New static function.
  3170. (sparc_cons_align): If sparc_no_align_cons is set, just clear it
  3171. and return.
  3172. * config/tc-sparc.c (s_common): Remove unused label allocate_bss.
  3173. * configure.in: Add mips-*-irix6* target. Handle Irix 6 like Irix
  3174. 5 with regard to shared libraries.
  3175. * configure: Rebuild.
  3176. * config/tc-m68k.c (m68k_ip): Use the correct length when
  3177. allocating space for the unsupported architecture error message.
  3178. Thu Jul 18 12:57:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3179. * configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
  3180. Wed Jul 17 14:25:13 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
  3181. * config/tc-d10v.c: New file.
  3182. * config/tc-d10v.h: New file.
  3183. * configure (d10v-*-elf): New target.
  3184. * configure.in (d10v-*-elf): New target.
  3185. Fri Jul 12 20:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3186. * config/tc-ppc.c (md_parse_option): Recognize -K PIC.
  3187. Wed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>
  3188. * config/tc-alpha.c (alpha_align): Change fill parameter
  3189. to a pointer. Take NULL as 0 or nop depending on section. Change
  3190. all callers.
  3191. (s_alpha_align): Rename local variables.
  3192. * doc/as.texinfo (.align): Document action of omitted
  3193. fill parameter.
  3194. Wed Jul 10 00:23:30 1996 Ian Lance Taylor <ian@cygnus.com>
  3195. * config/tc-ppc.c (md_apply_fix3): Give a useful error message
  3196. when an unsupported PC relative reloc is seen, rather than calling
  3197. abort.
  3198. * app.c (do_scrub_chars): Remove not_cpp_line local variable.
  3199. Instead, check state when '#' comment is seen.
  3200. Mon Jul 8 14:11:49 1996 Ian Lance Taylor <ian@cygnus.com>
  3201. * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
  3202. OBJ_MAYBE_ELF.
  3203. (tc_gen_reloc): If fixup was changed to be PC relative, change
  3204. reloc type accordingly. Use name of reloc in error message.
  3205. * as.h: Don't define const or volatile.
  3206. * flonum.h: Don't define const.
  3207. * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
  3208. if fx_pcrel is set. Correct setting the addend case in the
  3209. OBJ_ELF case (from Andreas Schwab
  3210. <schwab@issan.informatik.uni-dortmund.de>).
  3211. (md_show_usage): Correct -mfc5200 to -m5200.
  3212. Fri Jul 5 10:32:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
  3213. * doc/c-m68k.texi: Document -m5200 flag.
  3214. * doc/as.texinfo: Likewise.
  3215. * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
  3216. scale factor.
  3217. Fri Jul 5 11:07:24 1996 Ian Lance Taylor <ian@cygnus.com>
  3218. * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
  3219. (S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
  3220. Thu Jul 4 11:59:46 1996 Ian Lance Taylor <ian@cygnus.com>
  3221. * Makefile.in (VERSION): Set to cygnus-2.7.1.
  3222. * Released binutils 2.7.
  3223. Thu Jul 4 10:11:33 1996 James G. Smith <jsmith@cygnus.co.uk>
  3224. * config/tc-mips.c (mips_ip): Only perform range check when
  3225. dealing with O_constant expressions.
  3226. Wed Jul 3 15:02:21 1996 J.T. Conklin <jtc@rtl.cygnus.com>
  3227. * m68k-parse.h (m68k_register): Add new coldfile control
  3228. registers.
  3229. * config/tc-m68k.c (mcf5200_control_regs): New variable,
  3230. array of control registers for the coldfire.
  3231. (cpu_of_arch): Added mcf5200.
  3232. (archs): Added mcf5200.
  3233. (init_table): Add new control registers.
  3234. (m68k_ip): Added support for new control registers.
  3235. (m68k_init_after_args): Likewise.
  3236. * config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
  3237. Wed Jul 3 16:05:50 1996 Ian Lance Taylor <ian@cygnus.com>
  3238. * read.h (is_it_end_of_statement): Declare.
  3239. * read.c (is_it_end_of_statement): Remove declaration.
  3240. * config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
  3241. within &&.
  3242. (md_assemble): Fix handling of @l with an unsigned constant. Add
  3243. default case to reloc switch.
  3244. * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
  3245. Based on patches from Tom Quiggle <quiggle@sgi.com>:
  3246. * ecoff.c (last_lineno): New static variable.
  3247. (add_procedure): Set last_lineno.
  3248. (ecoff_directive_loc): Likewise.
  3249. (ecoff_generate_asm_lineno): Likewise.
  3250. (ecoff_fix_loc): New function.
  3251. * ecoff.h (ecoff_fix_loc): Declare.
  3252. * config/tc-mips.c (append_insn): When inserting nops, and using
  3253. ECOFF debugging, call ecoff_fix_loc.
  3254. Tue Jul 2 23:02:12 1996 Jeffrey A Law (law@cygnus.com)
  3255. * config/tc-h8300.c (build_bytes): If an operand type is
  3256. marked as SRC_IN_DST retrieve it from the "destination" op.
  3257. Sat Jun 29 13:38:31 1996 Ian Lance Taylor <ian@cygnus.com>
  3258. * configure.in (arm-*-riscix*): Set emulation to riscix.
  3259. * configure: Rebuild.
  3260. * config/te-riscix.h: New file to define TE_RISCIX.
  3261. * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
  3262. Fri Jun 28 15:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
  3263. * Makefile.in (config.status): Just run config.status as other
  3264. tools do.
  3265. Fri Jun 28 11:09:38 1996 Stan Shebs <shebs@andros.cygnus.com>
  3266. * mpw-config.in (TARGET_OS): Add definition to conf.
  3267. Thu Jun 27 20:39:40 1996 James G. Smith <jsmith@cygnus.co.uk>
  3268. * config/tc-mips.c (append_insn): Parenthesize
  3269. cop_interlocks expressions.
  3270. Thu Jun 27 12:18:26 1996 Ian Lance Taylor <ian@cygnus.com>
  3271. * listing.c (listing_print): Close the listing file if it is not
  3272. stdout. Close the other files opened for the listing.
  3273. * config/tc-sparc.h (md_cons_align): Define.
  3274. (sparc_cons_align): Declare.
  3275. (HANDLE_ALIGN): Define.
  3276. (sparc_handle_align): Declare.
  3277. * config/tc-sparc.c (sparc_cons_align): New function.
  3278. (sparc_handle_align): New function.
  3279. * read.c (cons_worker): Call md_cons_align if it is defined.
  3280. * as.h (struct frag): Add fr_file and fr_line fields.
  3281. * frags.c (frag_new): Set fr_file and fr_line.
  3282. (frag_var): Likewise.
  3283. (frag_variant): Likewise.
  3284. * as.h (struct frag): Remove unused align_mask and align_offset
  3285. fields.
  3286. * listing.c (calc_hex): Offset by fr_fix when examining fr_var.
  3287. From <uddeborg@carmen.se>.
  3288. Wed Jun 26 13:21:34 1996 Ian Lance Taylor <ian@cygnus.com>
  3289. * configure.in (mips-*-osf*): New target.
  3290. * configure: Rebuild.
  3291. * config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
  3292. Wed Jun 26 16:23:08 1996 James G. Smith <jsmith@cygnus.co.uk>
  3293. * config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
  3294. between co-processor comparisons and branches for the VR4300.
  3295. Mon Jun 24 18:02:50 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  3296. * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
  3297. INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
  3298. (docdir): Removed.
  3299. * configure.in (AC_PREREQ): autoconf 2.5 or higher.
  3300. * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
  3301. includedir): Use autoconf set values.
  3302. (docdir): Removed.
  3303. Mon Jun 24 11:58:14 1996 Ian Lance Taylor <ian@cygnus.com>
  3304. * listing.c (listing_eject): Don't do anything if listing is 0.
  3305. (listing_list): Likewise.
  3306. (listing_source_line): Likewise.
  3307. (listing_title): Don't save title if listing is 0.
  3308. (listing_source_file): Check listing rather than listing_tail.
  3309. * configure.in: On alpha*-*-osf*, link against libbfd.a if not
  3310. using shared libraries.
  3311. * configure: Rebuild.
  3312. Fri Jun 21 18:22:23 1996 Ian Lance Taylor <ian@cygnus.com>
  3313. * config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
  3314. absolute expression if a relocation type was specified.
  3315. Fri Jun 21 17:40:16 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
  3316. * configure.in: Add support for *-*-rtems* configurations.
  3317. * configure: Rebuild.
  3318. Fri Jun 21 16:01:18 1996 Richard Henderson <rth@tamu.edu>
  3319. * configure.in: Add alpha-*-linuxecoff* target. Use elf for
  3320. alpha-*-linux* target. Force bfd_gas for alpha-*. Require
  3321. opcodes library for alpha.
  3322. * configure: Rebuild with autoconf 2.10.
  3323. * config/tc-alpha.c: Substantial rewrite to add ELF support and
  3324. use new opcode table.
  3325. * config/tc-alpha.h (md_undefined_symbol): Don't define.
  3326. (LOCAL_LABEL): Define differently if OBJ_ELF.
  3327. (FAKE_LABEL_NAME): Define if OBJ_ELF.
  3328. * config/alpha-opcode.h: Remove.
  3329. * config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
  3330. * Makefile.in (TARG_CPU_DEP_alpha): Depend upon
  3331. include/opcode/alpha.h rather than config/alpha-opcode.h.
  3332. Thu Jun 20 19:10:28 1996 Ian Lance Taylor <ian@cygnus.com>
  3333. * config/obj-aout.c (obj_emit_relocations): Give an error if the
  3334. relocation symbol was not resolved.
  3335. * config/obj-coff.c (do_relocs_for): Likewise.
  3336. * write.c (adjust_reloc_syms): Refetch the symbol section after
  3337. calling S_GET_VALUE, since it may have changed.
  3338. * expr.c (struct expr_symbol_line): Define.
  3339. (expr_symbol_lines): New static variable.
  3340. (make_expr_symbol): Add entry to expr_symbol_lines.
  3341. (expr_symbol_where): New function.
  3342. * expr.h: Use extern on function declarations.
  3343. (expr_symbol_where): Declare.
  3344. * symbols.c (resolve_symbol_value): Try to use expr_symbol_where
  3345. rather than printing the meaningless name of an expression
  3346. symbol.
  3347. Thu Jun 20 15:57:41 1996 Ken Raeburn <raeburn@cygnus.com>
  3348. * config/tc-i386.c (md_number_to_chars): Deleted.
  3349. * config/tc-i386.h (md_number_to_chars): New macro.
  3350. * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
  3351. the file.
  3352. (load_symbol_address, load_expression): Use build_mem.
  3353. (build_operate): New function.
  3354. (emit_addq_r): Use it.
  3355. Wed Mar 13 22:14:14 1996 Pat Rankin <rankin@eql.caltech.edu>
  3356. * symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'.
  3357. Tue Mar 5 14:31:45 1996 Pat Rankin <rankin@eql.caltech.edu>
  3358. * config/tc-vax.h (NOP_OPCODE): Define.
  3359. Sun Feb 4 21:01:03 1996 Pat Rankin <rankin@eql.caltech.edu>
  3360. * config/obj-vms.h (S_IS_COMMON): Define.
  3361. (S_IS_LOCAL): Check for \002 as well as \001.
  3362. (LONGWORD_ALIGNMENT): New macro.
  3363. (SUB_SEGMENT_ALIGN): Use it.
  3364. Fri Jan 26 17:44:09 1996 Pat Rankin <rankin@eql.caltech.edu>
  3365. * config/vms-conf.h: Reconcile with conf.in.
  3366. Wed Jun 19 11:31:50 1996 Ian Lance Taylor <ian@cygnus.com>
  3367. * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
  3368. defined.
  3369. * doc/as.texinfo: Document that any number of hex digits can
  3370. follow \x.
  3371. * as.c (struct defsym_list): Define.
  3372. (defsyms): New static variable.
  3373. (parse_args): Just put --defsym arguments on defsyms list, rather
  3374. than defining them.
  3375. (main): Define defsyms after output file is created.
  3376. * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
  3377. cpu32. From Eric Norum <Eric.Norum@usask.ca>.
  3378. * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
  3379. insn_error rather than calling check_absolute_expr.
  3380. * as.c (emulation_name): Remove unused static variable.
  3381. (default_emul_bfd_name): Add return NULL to avoid warning.
  3382. * ecoff.c (ecoff_stab): Remove unused variables name and
  3383. name_end.
  3384. * frags.c (frag_new): Remove unused variable tmp.
  3385. * hash.c (hash_grow): Parenthesize + within <<.
  3386. (hash_print_statistics): Use %lu, not %d, to print unsigned
  3387. long variables.
  3388. * messages.c: Include "libiberty.h".
  3389. (fprint_value): Add cast to avoid printf warning.
  3390. (sprint_value): Likewise.
  3391. * read.c: Include "ecoff.h".
  3392. (emit_expr): Add casts to avoid printf warnings.
  3393. * read.h: Use extern for function declarations.
  3394. (pop_insert): Declare.
  3395. * stabs.c: Include "ecoff.h".
  3396. * subsegs.c (subseg_set_rest): Remove unused variables tmp,
  3397. former_last_fragP, and new_fragP.
  3398. * subsegs.h (subsegs_print_statistics): Declare.
  3399. * symbols.c (debug_verify_symchain): Change macro to discard
  3400. arguments.
  3401. * write.c (dump_section_relocs): Likewise.
  3402. * write.h: Use extern for function declarations.
  3403. (write_print_statistics): Declare.
  3404. * config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
  3405. warning.
  3406. * config/e-mipself.c (mipself_bfd_name): Likewise.
  3407. * config/obj-elf.h (elf_ecoff_set_ext): Declare.
  3408. * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
  3409. emit relocations against external symbols.
  3410. * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
  3411. message if bfd_reloc_type_lookup fails, rather than calling
  3412. assert.
  3413. * config/tc-alpha.c (alpha_force_relocation): Add
  3414. BFD_RELOC_12_PCREL to switch.
  3415. Tue Jun 18 20:29:57 1996 Doug Evans <dje@canuck.cygnus.com>
  3416. * config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
  3417. TE_PE (Lfoo, not .Lfoo).
  3418. Tue Jun 18 17:13:33 1996 Ian Lance Taylor <ian@cygnus.com>
  3419. * read.c (s_fill): Don't warn about a zero repeat count.
  3420. * config/tc-mips.c (mips_ip): Don't warn about using AT as a
  3421. coprocessor register.
  3422. * config/tc-i386.c (md_assemble): When checking the size of a
  3423. register to set the size of an instruction, do a bitwise and with
  3424. Reg8 and Reg16 rather than requiring the type to be exactly Reg8
  3425. or Reg16.
  3426. Tue Jun 18 13:19:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
  3427. * config/tc-h8300.c (parse_reg): Tweak error messages.
  3428. (build_bytes): Likewise.
  3429. (skip_colonthing): Handle :32 suffix.
  3430. (get_specific): Promote L_24 to L_32 if it makes a match.
  3431. Don't always promote L_8 to L_16.
  3432. (do_a_fix_imm): Clean up L_32 and L_24 handling.
  3433. * config/tc-h8300.c (Smode): New variable.
  3434. (h8300hmode): Turn off Hmode.
  3435. (h8300smode): New function. Turn on Smode and Hmode.
  3436. (md_pseudo_table): New ".h8300s" pseudo-op.
  3437. (parse_reg): Handle "exr" register.
  3438. (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
  3439. Handle "mach" and "machl" operands for ldmac.
  3440. (get_specific): Handle "stm.l" and "ldm.l".
  3441. (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
  3442. * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
  3443. (Smode): Declare.
  3444. Mon Jun 17 15:50:53 1996 J.T. Conklin <jtc@rtl.cygnus.com>
  3445. * doc/as.texinfo: Reorder chapter of machine dependent options so
  3446. that it is sorted by chip name.
  3447. * doc/as.texinfo: Use consistant spelling of Vax.
  3448. * doc/c-vax.texi: Likewise.
  3449. Mon Jun 17 11:26:56 1996 Jeffrey A. Law <law@rtl.cygnus.com>
  3450. * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
  3451. pseudo ops.
  3452. (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
  3453. (md_apply_fix): Likewise.
  3454. (pa_try): New function.
  3455. (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
  3456. Sun Jun 16 22:57:47 1996 Jeffrey A. Law <law@rtl.cygnus.com>
  3457. * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
  3458. (pa_level): New function.
  3459. Fri Jun 14 20:06:44 1996 Ian Lance Taylor <ian@cygnus.com>
  3460. * listing.c (listing_newline): Don't do anything if listing is 0.
  3461. Thu Jun 13 17:50:54 1996 Ian Lance Taylor <ian@cygnus.com>
  3462. * subsegs.c (section_symbol): If symbol_table_frozen is set, call
  3463. symbol_create, not symbol_new.
  3464. Wed Jun 12 14:10:44 1996 Ian Lance Taylor <ian@cygnus.com>
  3465. * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
  3466. absolute symbol unless TC_FORCE_RELOCATION returns true.
  3467. * config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
  3468. version.
  3469. (c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
  3470. the symbol to a pointer. Don't set previous_file_symbol.
  3471. Simplify symbol list rearrangement.
  3472. (coff_frob_symbol): Don't do anything with C_FILE symbols.
  3473. (coff_adjust_symtab): Don't check previous_file_symbol.
  3474. Mon Jun 10 14:52:29 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3475. * config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
  3476. directive.
  3477. (md_pseudo_table): Add ppc_elf_lcomm.
  3478. Mon Jun 10 11:45:51 1996 Ian Lance Taylor <ian@cygnus.com>
  3479. * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
  3480. d0{24:1},d0' works without an immediate prefix on the bit numbers.
  3481. (md_begin): Add digits to alt_notend_table.
  3482. (md_parse_option): Make s a const pointer.
  3483. * config/tc-sparc.c (md_pseudo_table): Add "empty".
  3484. (s_empty): New static function.
  3485. * config/obj-coff.c (struct filename_list): Only define if not
  3486. BFD_ASSEMBLER.
  3487. (filename_list_head, filename_list_tail): Likewise.
  3488. (c_section_symbol): Remove unused BFD_ASSEMBLER version.
  3489. (obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
  3490. flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
  3491. have a section of N_ABS rather than N_DEBUG. If we do a merge,
  3492. remove the new symbol from the list.
  3493. (obj_coff_endef, both versions): Call tag_insert even if there is
  3494. an old symbol with the same name, if the old symbol does not
  3495. happen to be a tag.
  3496. (coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
  3497. the SF_GET_DEBUG condition. Don't call SA_SET_SYM_ENDNDX with a
  3498. symbol that will be moved to the end of the symbol list.
  3499. (coff_adjust_section_syms): Always call section_symbol for .text,
  3500. .data, and .bss.
  3501. (coff_frob_section): Likewise. Also, remove unused variable
  3502. strname.
  3503. * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
  3504. manipulating frags directly.
  3505. (md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
  3506. defined.
  3507. * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
  3508. whether the next character is '*' before checking whether we are
  3509. at the start of a line. Permit LINE_COMMENT_START to start a
  3510. comment in state 1 (seen some whitespace) as well, to match the
  3511. documentation.
  3512. * gasp.c (do_align): Permit a fill value for .align.
  3513. Wed Jun 5 17:09:26 1996 Ian Lance Taylor <ian@cygnus.com>
  3514. * read.c (next_char_of_string): Warn if a newline is seen in the
  3515. middle of a string. Call bump_line_counters when appropriate.
  3516. Wed Jun 5 17:08:36 1996 Richard Henderson <rth@tamu.edu>
  3517. * symbols.c (colon): Use LOCAL_LABEL.
  3518. Tue Jun 4 10:55:16 1996 Tom Tromey <tromey@csk3.cygnus.com>
  3519. * Makefile.in (install): Don't check to see if tooldir exists.
  3520. Make $(tooldir) and $(tooldir)/bin.
  3521. Tue Jun 4 10:14:53 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3522. * config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
  3523. default.
  3524. Mon Jun 3 11:34:41 1996 Ian Lance Taylor <ian@cygnus.com>
  3525. * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
  3526. insn_error. Don't put the string "ERROR" in insn_error. Set
  3527. insn_error rather than calling as_warn for an unsupported opcode.
  3528. Sat Jun 1 21:51:55 1996 Ian Lance Taylor <ian@cygnus.com>
  3529. * config/tc-mips.c (md_parse_option): Check for a 64 bit format
  3530. before permitting -64.
  3531. * output-file.c (output_file_create): Remove duplicate
  3532. bfd_perror.
  3533. Fri May 31 01:08:06 1996 Ian Lance Taylor <ian@cygnus.com>
  3534. * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
  3535. section rather than a .reginfo section.
  3536. (mips_elf_final_processing): If -64, write out 64 bit RegInfo
  3537. information.
  3538. * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
  3539. bit value with the high bit set.
  3540. Thu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com>
  3541. * read.c (s_lcomm): Set section flags for .sbss section.
  3542. * config/tc-mips.c (mips_64): New static variable.
  3543. (mips_target_format): If mips_64, return elf64 targets rather than
  3544. elf32 ones.
  3545. (md_longopts): Add "32" and "64".
  3546. (md_parse_option): Handle -32 and -64.
  3547. (md_show_usage): Mention -32 and -64.
  3548. (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
  3549. a 4 byte one.
  3550. Thu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3551. * config/tc-ppc.c (comment_chars): Make '!' a comment character
  3552. for Solaris compatibility.
  3553. * stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
  3554. .stabd with 4 arguments into a .stabn.
  3555. Wed May 29 16:43:16 1996 Ian Lance Taylor <ian@cygnus.com>
  3556. * config/tc-mips.c (macro): When passing X_add_number to
  3557. macro_build, cast it to int first.
  3558. Tue May 28 13:29:39 1996 Ian Lance Taylor <ian@cygnus.com>
  3559. * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
  3560. created by emit_expr.
  3561. * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
  3562. as_perror rather than assert.
  3563. Fri May 24 18:24:11 1996 Ian Lance Taylor <ian@cygnus.com>
  3564. * config/tc-mips.c (mips_ip): Mark sections created to hold
  3565. floating point information as read only.
  3566. Fri May 24 12:07:54 1996 David Edelsohn <edelsohn@mhpcc.edu>
  3567. * config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
  3568. Thu May 23 17:34:24 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3569. * read.c (potable): Add .skip as a synonym for .space.
  3570. * stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
  3571. 4 arguments, providing the 4th argument is 0, to allow
  3572. compatibility with the Solaris assembler.
  3573. Thu May 16 15:51:48 1996 Ian Lance Taylor <ian@cygnus.com>
  3574. * config/tc-sh.h (struct sh_segment_info_type): Define.
  3575. (TC_SEGMENT_INFO_TYPE): Define.
  3576. (sh_frob_label): Declare.
  3577. (tc_frob_label): Define.
  3578. (sh_flush_pending_output): Declare.
  3579. (md_flush_pending_output): Define.
  3580. * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
  3581. reloc before the instruction if necessary.
  3582. (sh_frob_label): New function.
  3583. (sh_flush_pending_output): New function.
  3584. (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
  3585. when looking for the reloc for the target of .uses.
  3586. (md_convert_frag): Fix printf format (%0xlx to 0x%lx).
  3587. (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
  3588. emitted.
  3589. (md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
  3590. (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
  3591. the absolute symbol.
  3592. * subsegs.h (segment_info_type): Add tc_segment_info_data field if
  3593. TC_SEGMENT_INFO_TYPE is defined.
  3594. Wed May 15 12:23:53 1996 Ian Lance Taylor <ian@cygnus.com>
  3595. * config/tc-i386.c (md_assemble): Make sure the opcode suffix
  3596. matches the register size.
  3597. Wed May 15 08:33:37 1996 Jeffrey A Law (law@cygnus.com)
  3598. * config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
  3599. fx_done set.
  3600. (do_relocs_for): Likewise.
  3601. (fixup_segment): Don't just quit if linkrelax is set. Try to
  3602. apply non pc-relative sym1-sym2 fixups, even if linkrelax is
  3603. nonzero.
  3604. Fri May 10 14:16:59 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3605. * config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
  3606. relative relocations with -mrelocatable. Also allow unfixed
  3607. relocs in .ex_shared.
  3608. Tue May 7 11:24:10 1996 Ian Lance Taylor <ian@cygnus.com>
  3609. * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
  3610. non-zero before assuming this is a long file name.
  3611. (w_strings): Likewise.
  3612. (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
  3613. * config/obj-coff.c (w_strings): Move declaration of i inside
  3614. #ifdef block which uses it.
  3615. Tue May 7 00:49:58 1996 Jeffrey A Law (law@cygnus.com)
  3616. * config/tc-h8300.c (do_a_fix_imm): Rename last argument to
  3617. "relaxmode". Output relocs which identify various relaxing
  3618. possibilities for mov.[bwl] instructions.
  3619. (build_bytes): Pass in a relaxing mode to do_a_fix_imm.
  3620. Mon May 6 15:26:28 1996 Doug Evans <dje@canuck.cygnus.com>
  3621. * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
  3622. (MD_APPLY_FIX3): Define.
  3623. * config/tc-arm.c (my_get_expression): Only watch for bad segments
  3624. if OBJ_AOUT.
  3625. (md_apply_fix3): Renamed from md_apply_fix.
  3626. If pcrel reloc and symbol is in different section, undo effects
  3627. of md_pcrel_from.
  3628. Sat May 4 12:49:35 1996 Jeffrey A Law (law@cygnus.com)
  3629. * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
  3630. any reloc with an LR% or RR% field selector for SOM.
  3631. Sat May 4 11:26:19 1996 Ian Lance Taylor <ian@cygnus.com>
  3632. * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
  3633. variables.
  3634. Fri May 3 17:58:31 1996 Ian Lance Taylor <ian@cygnus.com>
  3635. * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
  3636. SF_GET_STATICS set.
  3637. (yank_symbols): Likewise.
  3638. Wed May 1 13:38:17 1996 Ian Lance Taylor <ian@cygnus.com>
  3639. * subsegs.h (segment_info_type): If MANY_SEGMENTS and not
  3640. BFD_ASSEMBLER, add name field.
  3641. * config/obj-coff.c: Include "libiberty.h".
  3642. (coff_header_append): Handle long section names.
  3643. (crawl_symbols): Just use the name field for the symbol name,
  3644. without worrying about null byte termination.
  3645. (w_strings): Handle long section names.
  3646. (write_object_file): Likewise. Also, use the name field, rather
  3647. than scnhdr.s_name.
  3648. (obj_coff_add_segment): Permit long section names.
  3649. (obj_coff_init_stab_section): Use the name field, rather than
  3650. scnhdr.s_name.
  3651. (adjust_stab_section): Likewise.
  3652. * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
  3653. * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
  3654. (mem_fmt): Likewise.
  3655. (md_apply_fix): Don't check fx_im_disp field.
  3656. Thu Apr 25 11:39:51 1996 Ian Lance Taylor <ian@cygnus.com>
  3657. * configure.in: Add * after sparc*-*-vxworks.
  3658. * configure: Rebuild.
  3659. * app.c (do_scrub_begin): If tc_comment_chars is not defined,
  3660. define it to comment_chars. Use tc_comment_chars rather than
  3661. comment_chars.
  3662. (do_scrub_chars): Use tc_comment_chars rather than comment_chars.
  3663. * config/tc-m68k.h (tc_comment_chars): Define.
  3664. (m68k_comment_chars): Declare.
  3665. * config/tc-m68k.c (m68k_comment_chars): Rename from
  3666. comment_chars. Change into a pointer rather than an array.
  3667. (md_longopts): Add "bitwise-or".
  3668. (md_parse_option): Handle OPTION_BITWISE_OR.
  3669. (md_show_usage): Mention --bitwise-or.
  3670. * doc/c-m68k.texi: Document --bitwise-or.
  3671. Wed Apr 24 11:28:38 1996 Ian Lance Taylor <ian@cygnus.com>
  3672. * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
  3673. in 68000 mode.
  3674. * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
  3675. call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
  3676. correct handling of input line pointer, and call
  3677. demand_empty_rest_of_line.
  3678. Mon Apr 22 18:02:37 1996 Doug Evans <dje@blues.cygnus.com>
  3679. * config/tc-sparc.c (in_bitfield_range): New static function.
  3680. (sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P.
  3681. (md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
  3682. BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
  3683. (md_apply_fix): New cases BFD_RELOC_SPARC_[56].
  3684. (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
  3685. Thu Apr 18 18:58:33 1996 Ian Lance Taylor <ian@cygnus.com>
  3686. * config/obj-coff.c: BFD_ASSEMBLER:
  3687. (coff_last_bf): New static variable.
  3688. (coff_frob_symbol): Set endndx of a .bf symbol.
  3689. Non BFD_ASSEMBLER:
  3690. (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
  3691. (last_bfP): New static variable.
  3692. (yank_symbols): Set endndx of a .bf symbol.
  3693. Thu Apr 18 11:53:58 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3694. * config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
  3695. and -s options. Add -be for good measure.
  3696. Wed Apr 17 12:31:01 1996 Ian Lance Taylor <ian@cygnus.com>
  3697. * read.c (s_space): Support non-constant fill value. Handle fill
  3698. value correctly for a size other than 1.
  3699. Tue Apr 16 15:17:40 1996 Doug Evans <dje@canuck.cygnus.com>
  3700. * config/tc-arm.c (my_get_float_expression): Update call to
  3701. gen_to_words, X_PRECISION changed from 6 to 5.
  3702. Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3703. * config/tc-ppc.c (register_name,reg_name_search): Move register
  3704. name lookup from PE specific code to all targets. Add support for
  3705. -mregnames/-mno-regnames to control whether register names are
  3706. expanded or not.
  3707. (md_assemble): Call register_name for all platforms.
  3708. (md_parse_option): Add support for -mregnames/-mno-regnames.
  3709. * configure.in (powerpcle*-*-solaris): Add support.
  3710. (powerpc*-*-linux): Ditto.
  3711. * configure: Regenerate.
  3712. * config/ppc-sol.mt: New config file for PowerPC Solaris.
  3713. Mon Apr 15 12:26:33 1996 Ian Lance Taylor <ian@cygnus.com>
  3714. * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
  3715. be associated with a single %lo reloc.
  3716. * config/tc-mips.c (load_address): Cast X_add_number to valueT
  3717. before comparing against MAX_GPREL_OFFSET, so that negative
  3718. numbers are handled correctly.
  3719. (macro): Likewise.
  3720. Thu Apr 11 12:39:02 1996 Ian Lance Taylor <ian@cygnus.com>
  3721. * config/tc-sparc.c (last_insn): New static variable.
  3722. (md_assemble): Warn about putting floating point branches in a
  3723. delay slot. If architecture is less than v9, insert NOP
  3724. instructions between floating point instructions and floating
  3725. point branches. (The SunOS assembler does both these operations.)
  3726. Save the last instruction opcode.
  3727. (sparc_ip): Add pinsn parameter. Change caller.
  3728. * config/tc-m68k.c (md_estimate_size_before_relax): Correct check
  3729. for byte jump to next instruction to skip empty frags.
  3730. Wed Apr 10 16:48:12 1996 Ian Lance Taylor <ian@cygnus.com>
  3731. * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
  3732. for addq with a 16 bit signed value, just emit a lda instruction
  3733. instead.
  3734. Wed Apr 10 14:34:49 1996 Jeffrey A Law (law@cygnus.com)
  3735. * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
  3736. of a 32bit operand.
  3737. Mon Apr 8 14:42:53 1996 Ian Lance Taylor <ian@cygnus.com>
  3738. * configure.in: Permit --enable-shared to specify a list of
  3739. directories.
  3740. * configure: Rebuild.
  3741. Fri Apr 5 17:01:35 1996 Jeffrey A Law (law@cygnus.com)
  3742. * config/tc-h8300.c (get_specific): Remove some #if 0 code.
  3743. (build_bytes): Remove all ABSMOV related code; it's unnecessary.
  3744. Fri Apr 5 15:13:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3745. * config/atof-ieee.c: Fix handling of denormalized extended
  3746. precision numbers and overflow/underflow detection.
  3747. (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
  3748. not include the 16 bit gap in the m68k extended precision format.
  3749. Fri Apr 5 14:29:23 1996 Ian Lance Taylor <ian@cygnus.com>
  3750. * configure.in: Add i386-*-freebsdelf* target; from John Polstra
  3751. <jdp@polstra.com>.
  3752. * configure: Rebuild.
  3753. Fri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk>
  3754. * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
  3755. be accessed using the $gp register.
  3756. * config/tc-mips.h (MAX_GPREL_OFFSET): Added.
  3757. Wed Apr 3 10:56:14 1996 Doug Evans <dje@canuck.cygnus.com>
  3758. * config/tc-sparc.c (sparc_md_end): Set bfd machine number to
  3759. bfd_mach_sparc_sparclet if current_architecture is sparclet.
  3760. Mon Apr 1 16:55:44 1996 Ian Lance Taylor <ian@cygnus.com>
  3761. * read.c (get_line_sb): Bump line counters based on
  3762. input_line_pointer[-1], not *input_line_pointer. Don't bother to
  3763. call LISTING_NEWLINE.
  3764. (s_macro): Don't call demand_empty_rest_of_line.
  3765. * app.c (do_scrub_chars): When handling C style comments, unget
  3766. ch2 rather than ch.
  3767. Fri Mar 29 16:15:06 1996 Ian Lance Taylor <ian@cygnus.com>
  3768. * read.h (enum linkonce_type): Define.
  3769. (s_linkonce): Declare.
  3770. * read.c (potable): Add "linkonce".
  3771. (s_linkonce): New function.
  3772. * subsegs.h (segment_info_type): Add linkonce field to
  3773. MANY_SEGMENTS && ! BFD_ASSEMBLER section.
  3774. * config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
  3775. (obj_coff_pe_handle_link_once): Declare if TE_PE.
  3776. * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
  3777. "coff/pe.h".
  3778. (obj_coff_pe_handle_link_once): New function, defined if TE_PE.
  3779. (c_section_symbol): If TE_PE, set the x_comdat field in the aux
  3780. entry based on the linkonce field in segment_info.
  3781. * doc/as.texinfo: Document .linkonce.
  3782. Fri Mar 29 11:31:27 1996 J.T. Conklin (jtc@lisa.cygnus.com)
  3783. * doc/as.1: Changed to be recognized by catman -w on Solaris.
  3784. Thu Mar 28 15:27:47 1996 Ian Lance Taylor <ian@cygnus.com>
  3785. * stabs.c (s_stab_generic): Call the listing functions before
  3786. doing the rest of the processing, which may involve freeing the
  3787. string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in
  3788. SEPARATE_STAB_SECTIONS case.
  3789. * config/tc-hppa.c: Remove nested comment.
  3790. (tc_gen_reloc): Move label done inside the ifdef in which it is
  3791. used.
  3792. (md_apply_fix): Pass pointers to correct types to libhppa.h
  3793. functions. Always return a value.
  3794. * config/tc-mips.h (tc_frob_file): Define.
  3795. (mips_frob_file): Declare.
  3796. * config/tc-mips.c (struct mips_hi_fixup): Define.
  3797. (mips_hi_fixup_list): New static variable.
  3798. (imm_unmatched_hi): New static variable.
  3799. (md_assemble): Clear imm_reloc, imm_unmatched_hi, and
  3800. offset_reloc. Pass imm_unmatched_hi to append_insn.
  3801. (append_insn): Add unmatched_hi parameter. If it is set, add the
  3802. new fixup to mips_hi_fixup_list. Change all callers.
  3803. (mips_ip): Set imm_unmatched_hi when appropriate.
  3804. (mips_frob_file): New function.
  3805. Thu Mar 28 11:47:59 1996 Doug Evans <dje@canuck.cygnus.com>
  3806. * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
  3807. * configure: Regenerated.
  3808. Tue Mar 26 18:19:12 1996 Ian Lance Taylor <ian@cygnus.com>
  3809. * as.c (main): Call bfd_set_error_program_name.
  3810. Fri Mar 22 11:13:00 1996 Ian Lance Taylor <ian@cygnus.com>
  3811. * as.h (strdup): Don't declare.
  3812. * stabs.c: Include libiberty.h
  3813. (get_stab_string_offset): Use xstrdup rather than strdup.
  3814. (s_stab_generic): Likewise.
  3815. * as.c (parse_args): Likewise.
  3816. * read.c (s_mri_sect): Likewise.
  3817. * gasp.c (change_base): Recognize \(...) construct documented to
  3818. pass through enclosed characters literally through to the output.
  3819. (process_assigns): Likewise. Also, be more careful to avoid
  3820. looking past the end of the buffer.
  3821. Thu Mar 21 13:18:43 1996 Ian Lance Taylor <ian@cygnus.com>
  3822. * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
  3823. FreeBSD compatibility. From John Polstra <jdp@polstra.com>.
  3824. Wed Mar 20 18:13:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3825. * doc/as.texinfo, doc/c-i960.texi: Fix typos.
  3826. Wed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>
  3827. * config/alpha-opcode.h: Added cvtst instruction.
  3828. Mon Mar 18 13:12:46 1996 Ian Lance Taylor <ian@cygnus.com>
  3829. * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
  3830. string. Extract the addend from the result of expression.
  3831. Fri Mar 15 17:10:43 1996 Ian Lance Taylor <ian@cygnus.com>
  3832. * app.c (do_scrub_chars): If whitespace is seen in state 11, and
  3833. LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
  3834. mode, change the state to 3 rather than 1.
  3835. Thu Mar 14 18:18:25 1996 Ian Lance Taylor <ian@cygnus.com>
  3836. * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
  3837. correspond to 11 March change.
  3838. Thu Mar 14 15:27:10 1996 Jeffrey A Law (law@cygnus.com)
  3839. * config/tc-h8300.c (build_bytes, MEMIND case): Generate
  3840. an R_MEM_INDIRECT reloc rather than R_RELBYTE.
  3841. Tue Mar 12 12:21:10 1996 Ian Lance Taylor <ian@cygnus.com>
  3842. * configure: Rebuild with autoconf 2.8.
  3843. Mon Mar 11 18:57:12 1996 Ian Lance Taylor <ian@cygnus.com>
  3844. * config/atof-ieee.c (gen_to_words): Improve handling of
  3845. X_PRECISION numbers. Based on patches from Andreas Schwab
  3846. <schwab@issan.informatik.uni-dortmund.de>.
  3847. Mon Mar 11 09:59:53 1996 Steve Chamberlain <sac@slash.cygnus.com>
  3848. * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
  3849. (SEG_LAST): New.
  3850. * subsegs.c (MANY_SEGMENTS): Increase segment limit.
  3851. * config/obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
  3852. (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
  3853. crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
  3854. SEG_E9.
  3855. Thu Mar 7 15:17:39 1996 Doug Evans <dje@charmed.cygnus.com>
  3856. * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
  3857. Thu Mar 7 09:19:15 1996 Jeffrey A Law (law@cygnus.com)
  3858. * config/tc-hppa.c (SUBSEG_MILLI): Define.
  3859. (pa_def_subspaces): Add $MILLICODE$.
  3860. (pa_spaces_begin): Set section flags for $MILLICODE$.
  3861. Wed Mar 6 14:11:30 1996 Ian Lance Taylor <ian@cygnus.com>
  3862. * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
  3863. not SHT_NOBITS. Don't tamper with flags based on type if a
  3864. special section was found (revert Feb 29 change).
  3865. * config/tc-sh.c (sh_do_align): Only align using the nop pattern
  3866. if aligning to a longword boundary or greater.
  3867. Tue Mar 5 15:10:43 1996 Jim Wilson <wilson@chestnut.cygnus.com>
  3868. * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
  3869. Mon Mar 4 20:50:57 1996 Steve Chamberlain <sac@slash.cygnus.com>
  3870. * configure.in (i386-*-cygwin32): Don't use bfd_gas.
  3871. * configure: Regenerated.
  3872. Mon Mar 4 10:13:06 1996 Jeffrey A Law (law@cygnus.com)
  3873. * config/tc-hppa.c: Add default definitions for R_N0SEL and
  3874. R_N1SEL since they're not defined for old versions of hpux.
  3875. * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
  3876. Set "sym_ptr_ptr" and "addend" fields to dummy values for
  3877. R_N0SEL and R_N1SEL.
  3878. Fri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3879. * flonum-konst.c: Add two more constants for 1e+-2048 and
  3880. 1e+-4096, and correct the other constants.
  3881. * symbols.c (resolve_symbol_value): Handle O_logical_not.
  3882. Thu Feb 29 13:58:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3883. * config/obj-elf.c (obj_elf_section): Allow predefined section
  3884. types to set the nobits type. Avoid a shadowed declaration.
  3885. Wed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com)
  3886. * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
  3887. reduce relocs using e_nlrsel field selectors.
  3888. * write.c (fix_new_exp): Don't use #elif. Some compilers
  3889. don't handle it.
  3890. * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
  3891. the selector table.
  3892. (pa_chk_field_selector): Handle new field selectors for SOM.
  3893. Tue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3894. * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
  3895. * configure: Rebuild.
  3896. * config/te-linux.h (LOCAL_LABELS_FB): Define.
  3897. * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
  3898. "a.out-m68k-linux".
  3899. * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
  3900. is defined.
  3901. Mon Feb 26 18:58:58 1996 Stan Shebs <shebs@andros.cygnus.com>
  3902. * mpw-make.sed: Update to handle shared library support.
  3903. Mon Feb 26 10:34:10 1996 Doug Evans <dje@charmed.cygnus.com>
  3904. * config/tc-sparc.c (sparc_ip): Print all architectures that support
  3905. the insn on mismatch.
  3906. Fri Feb 23 21:44:39 1996 Rob Savoye <rob@chinadoll.cygnus.com>
  3907. * configure.in: Add support for a29-coff.
  3908. * configure: Rebuild.
  3909. Thu Feb 22 16:39:43 1996 Ian Lance Taylor <ian@cygnus.com>
  3910. * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
  3911. of the section when looking for the R_SH_USES fixup, because the
  3912. frag addresses have not yet been adjusted.
  3913. * gdbinit.in: Set a breakpoint on as_warn_where.
  3914. * config/tc-mips.c (macro): Add missing arguments to macro_build
  3915. omitted in last change. From Jim Wilson <wilson@cygnus.com>.
  3916. Wed Feb 21 17:00:32 1996 Ian Lance Taylor <ian@cygnus.com>
  3917. * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
  3918. if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG.
  3919. Wed Feb 21 09:25:39 1996 Doug Evans <dje@charmed.cygnus.com>
  3920. * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
  3921. Tue Feb 20 21:48:03 1996 Doug Evans <dje@charmed.cygnus.com>
  3922. * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
  3923. (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
  3924. Recognize [uU] format args as sparclet cpregs.
  3925. Tue Feb 20 22:25:55 1996 Ian Lance Taylor <ian@cygnus.com>
  3926. * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
  3927. in bss_section.
  3928. Mon Feb 19 14:16:24 1996 Ian Lance Taylor <ian@cygnus.com>
  3929. * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
  3930. well as S_IS_EXTERNAL.
  3931. (tc_fix_adjustable): Likewise.
  3932. * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
  3933. S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
  3934. early.
  3935. (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
  3936. deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
  3937. Mon Feb 19 02:15:57 1996 Doug Evans <dje@charmed.cygnus.com>
  3938. * config/tc-sparc.c (max_architecture): Change to sparclite for
  3939. 32 bit arch.
  3940. (default_compatible): Delete.
  3941. (sparc_ffs): New function.
  3942. (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
  3943. (sparc_ip): Rewrite architecture match and bump logic.
  3944. Sun Feb 18 15:03:50 1996 Ian Lance Taylor <ian@cygnus.com>
  3945. * configure.in: Check for 'do not mix' from native linker before
  3946. trying to use -rpath.
  3947. * configure: Rebuild.
  3948. Fri Feb 16 16:53:31 1996 Ian Lance Taylor <ian@cygnus.com>
  3949. * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
  3950. (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
  3951. (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
  3952. * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
  3953. is set.
  3954. (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
  3955. to the symbol lnnoptr field, to get the correct file offset.
  3956. Thu Feb 15 14:48:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  3957. * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
  3958. symbols that are not function, file, or section symbols to be
  3959. object types.
  3960. Thu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com>
  3961. * configure: Set and substitute RPATH_ENVVAR.
  3962. * configure: Rebuild.
  3963. * Makefile.in (RPATH_ENVVAR): New variable.
  3964. (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
  3965. * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
  3966. doesn't need opcodes. If configuring shared, opcodes needs bfd.
  3967. * configure: Rebuild.
  3968. Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
  3969. * read.c (s_mri_sect): Don't return '\0' in type. Set all
  3970. appropriate flags in BFD section.
  3971. * configure.in (m68k-*-psos*): New target.
  3972. * configure: Rebuild.
  3973. * config/te-psos.h: New file.
  3974. * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
  3975. is defined.
  3976. Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
  3977. From Alan Modra <alan@spri.levels.unisa.edu.au>:
  3978. * configure.in: Remove duplicate setting of cpu_type. Check
  3979. whether opcodes library is required for on all targets, not just
  3980. primary one.
  3981. * configure: Rebuild.
  3982. * config/tc-mips.c (mips_big_got): New static variable.
  3983. (s_extern): Don't declare.
  3984. (reg_needs_delay): New static function.
  3985. (macro_build): Permit GOT/CALL_HI/LO relocs.
  3986. (macro_build_lui): If place is not NULL, use the number in the
  3987. expression.
  3988. (load_address): Handle mips_big_got case.
  3989. (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
  3990. store macros.
  3991. (OPTION_XGOT): Define.
  3992. (md_longopts): Add "xgot" if OBJ_ELF.
  3993. (md_parse_option): Handle -xgot.
  3994. (md_show_usage): Mention -xgot.
  3995. (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
  3996. (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
  3997. Wed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3998. * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
  3999. the byte relocation, point it to the low byte of the word.
  4000. Tue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com>
  4001. * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
  4002. * configure: Rebuild.
  4003. Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
  4004. * configure.in: Recognize any sparc* cpu.
  4005. * configure: Regenerated.
  4006. Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
  4007. * read.c (potable): Add "mri" and ".mri".
  4008. (s_mri): New function.
  4009. * read.h (s_mri): Declare.
  4010. * app.c (scrub_m68k_mri): New static variable.
  4011. (mri_pseudo): New static variable.
  4012. (do_scrub_begin): Add m68k_mri parameter. Use it rather than
  4013. flag_m68k_mri. Initialize scrub_m68k_mri.
  4014. (mri_state, mri_last_ch): New static variables.
  4015. (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
  4016. fields.
  4017. (app_push): Save new fields.
  4018. (app_pop): Restore new fields.
  4019. (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
  4020. If TC_M68K, use a trivial state machine to look for occurrences of
  4021. the .mri pseudo-op, and change the mode appropriately.
  4022. * as.h (do_scrub_begin): Update prototype.
  4023. * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
  4024. do_scrub_begin.
  4025. * config/tc-m68k.c (reg_prefix_optional_seen): New static
  4026. variable.
  4027. (m68k_mri_mode_change): New function.
  4028. (md_parse_option): Set reg_prefix_optional_seen.
  4029. * config/tc-m68k.h (m68k_mri_mode_change): Declare.
  4030. (MRI_MODE_CHANGE): Define.
  4031. * doc/as.texinfo: Document .mri pseudo-op.
  4032. * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
  4033. comment character.
  4034. Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  4035. Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
  4036. * config/m68k-parse.h (enum pic_relocation): Define.
  4037. (struct m68k_exp): Add pic_reloc field.
  4038. * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
  4039. (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
  4040. (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
  4041. otherwise.
  4042. * config/tc-m68k.c: Delete definition of NO_RELOC.
  4043. (struct m68k_it): Add pic_reloc field.
  4044. (add_fix): Copy over pic_reloc field.
  4045. (md_pseudo_table): Interpret .align parameter as byte count.
  4046. (mote_pseudo_table): Likewise.
  4047. (tc_m68k_fix_adjustable): New function.
  4048. (get_reloc_code): New function.
  4049. (md_assemble): Use it as last argument to fix_new_exp.
  4050. (md_apply_fix_2): For a relocation against a symbol don't put the
  4051. addend into the data.
  4052. (tc_gen_reloc): Different addend computation for OBJ_ELF.
  4053. (m68k_ip): Don't relax an operand that requires pic relocation.
  4054. (md_begin): Align .text, .data and .bss on 4 byte boundary by
  4055. default.
  4056. * write.c (fixup_segment): Don't add symbol value to addend if
  4057. TC_M68K and OBJ_ELF.
  4058. * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
  4059. (motorola_operand): Add rule for `(zapc, EXPR)'.
  4060. Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
  4061. * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
  4062. *really* is permissible before the comma.
  4063. Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
  4064. * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
  4065. inserting nop instructions.
  4066. Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
  4067. * config/te-aux.h: Change include of aux.h to aux-coff.h.
  4068. Thu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com>
  4069. * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
  4070. class setting for a CALLNAME symbol in COFF.
  4071. * read.c (potable): Pass negative numbers for new .balign[wl] and
  4072. .p2align[wl] pseudo-ops.
  4073. (s_align_bytes): Treat a negative argument as specifying the fill
  4074. length.
  4075. (s_align_ptwo): Likewise.
  4076. Wed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com>
  4077. * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
  4078. (do_align): Take new len parameter. Change all callers. Pass it
  4079. to md_do_align.
  4080. (s_align_bytes): Arg now indicates the length of the fill pattern.
  4081. (s_align_ptwo): Likewise.
  4082. * config/obj-coff.c (write_object_file): Pass length to
  4083. md_do_align.
  4084. * config/tc-i386.h (md_do_align): Take new len parameter.
  4085. * config/tc-m88k.h (md_do_align): Likewise.
  4086. * config/tc-m88k.c (m88k_do_align): Likewise.
  4087. * config/tc-sh.h (md_do_align): Likewise.
  4088. * config/tc-sh.c (sh_do_align): Likewise.
  4089. * doc/as.texinfo: Document new pseudo-ops.
  4090. * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
  4091. done in cvt_frag_to_fill.
  4092. * config/tc-sh.h (sh_do_align): Declare.
  4093. (md_do_align): Define.
  4094. * config/tc-sh.c (sh_do_align): New function.
  4095. * ecoff.c (ecoff_build_lineno): Don't try to store the address
  4096. difference if the next address is before the current one.
  4097. * config/tc-m68k.c (struct m68k_cpu): Add alias field.
  4098. (archs): Initialize new field.
  4099. (m68k_ip): Don't list alias names when listing CPUs which support
  4100. an instruction.
  4101. * as.c (main): Call parse_args before read_begin.
  4102. * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
  4103. front of generated pseudo-ops.
  4104. * read.c (potable): Ignore "name".
  4105. (s_app_file): Permit a single quote after the string, since one
  4106. may appear in m68k MRI mode.
  4107. * configure.in: Check for --enable-shared. If linking against
  4108. shared BFD and opcodes, fix library name on SunOS, and try to set
  4109. -rpath reasonably.
  4110. * configure: Rebuild.
  4111. Tue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com>
  4112. * as.h (flag_m68k_mri): Declare.
  4113. * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
  4114. * Many files: For MRI syntax that is specific to the m68k MRI
  4115. assembler, check flag_m68k_mri rather than flag_mri or
  4116. MRI_MODE_NEEDS_PSEUDO_DOT.
  4117. Mon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
  4118. * config/tc-i960.c (ARCH_HX): Define.
  4119. (arch_tab): Add HX.
  4120. (targ_has_sfr): Handle ARCH_HX.
  4121. (targ_has_iclass): Handle ARCH_HX.
  4122. (tc_coff_fix2rtype): Add return 0 to avoid warning.
  4123. (tc_headers_hook): If the architecture was specified explicitly,
  4124. use it when setting the flags. Set the extern variable coff_flags
  4125. rather than headers->filehdr.f_flags, since the latter is set
  4126. unconditionally in obj-coff.c.
  4127. (i960_handle_align): Remove unused variable fixp.
  4128. Support for building bfd and opcodes as shared libraries, based on
  4129. patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
  4130. * configure.in: Set OPCODES and BFD to search directories.
  4131. Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
  4132. * configure: Rebuild.
  4133. * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
  4134. (LIBDEPS): New variable.
  4135. (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
  4136. $(HLDFLAGS) in link.
  4137. (check): Set LD_LIBRARY_PATH in the environment.
  4138. Fri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
  4139. * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
  4140. .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
  4141. read-only, not read/write.
  4142. Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
  4143. * Makefile.in (INSTALL_XFORM): Remove -e.
  4144. Fri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com>
  4145. * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
  4146. than comparing S_GET_SEGMENT to undefined_section.
  4147. (write_object_file): Skip symbols which were equated to an
  4148. undefined or common symbol.
  4149. * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
  4150. S_IS_COMMON rather than comparing S_GET_SEGMENT to
  4151. undefined_section.
  4152. (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
  4153. or S_IS_COMMON call S_GET_VALUE.
  4154. * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
  4155. * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
  4156. to an undefined or common symbol, convert the reloc to be against
  4157. the target symbol.
  4158. (obj_crawl_symbol_chain): Skip symbols which were equated to an
  4159. undefined or common symbol.
  4160. * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
  4161. * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
  4162. to an undefined or common symbol, convert the reloc to be against
  4163. the target symbol.
  4164. (obj_crawl_symbol_chain): Skip symbols which were equated to an
  4165. undefined or common symbol.
  4166. * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
  4167. S_IS_COMMON rather than comparing S_GET_SEGMENT to
  4168. undefined_section.
  4169. (yank_symbols): Skip symbols which were equated to an undefined or
  4170. common symbol.
  4171. Thu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com>
  4172. * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
  4173. * config/obj-bout.h (S_IS_LOCAL): Likewise.
  4174. * configure.in: Make sure we only add m68k-parse.o to
  4175. ${extra_objects} once, no matter how many m68k targets have been
  4176. enabled.
  4177. * configure: Rebuild.
  4178. Wed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com>
  4179. * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
  4180. * configure: Rebuild.
  4181. Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
  4182. * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
  4183. * doc/c-m68k.texi: Document .extend and .ldouble.
  4184. * configure.in (m68*-apple-aux*): New target.
  4185. * config/te-aux.h: New file.
  4186. * config/obj-coff.c (compare_external_relocs): New static function
  4187. if TE_AUX.
  4188. (do_relocs_for): Sort relocs if TE_AUX.
  4189. (fixup_segment): If TE_AUX, store common symbol value in segment.
  4190. * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
  4191. Wed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com>
  4192. * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
  4193. * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
  4194. BSF_FUNCTION.
  4195. (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
  4196. * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
  4197. symbol.
  4198. * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
  4199. (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
  4200. an undefined symbol and the size of a function symbol.
  4201. * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
  4202. for all common symbols.
  4203. Tue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com>
  4204. * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
  4205. scaling of index.
  4206. * expr.c (operand): Accept 0x hex constants in MRI mode if not on
  4207. m68k.
  4208. Mon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com>
  4209. * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
  4210. of object. From Ronald F. Guilmette <rfg@monkeys.com>.
  4211. * ecoff.c (localsym_t): Add addend field.
  4212. (add_ecoff_symbol): Add addend argument. Change all callers.
  4213. (coff_sym_value): Make static.
  4214. (coff_sym_addend): New static variable.
  4215. (ecoff_directive_def): Initialize coff_sym_addend.
  4216. (ecoff_directive_val): Accept symbol + constant.
  4217. (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
  4218. (ecoff_build_symbols): Include the addend in the symbol value.
  4219. Fri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com>
  4220. * config/tc-ppc.c (md_assemble): Ignore overflow on
  4221. BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
  4222. Fri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4223. * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
  4224. bytes in size, so offset appropriately in big endian mode when
  4225. writing the bottom 2 bytes.
  4226. Thu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com>
  4227. * config/tc-sparc.c (default_compatible): New static local.
  4228. (md_begin): Initialize it. Rewrite warn_on_bump handling.
  4229. (sparc_ip): If no architecture or -bump specified, don't mark as
  4230. mismatched those in default_compatible.
  4231. Thu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com>
  4232. SCO ELF support from Robert Lipe <robertl@arnet.com>:
  4233. * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
  4234. * configure: Rebuild.
  4235. * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
  4236. * config/tc-i386.c (sco_id): New function, if SCO_ELF.
  4237. * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
  4238. (sco_id): Declare if SCO_ELF.
  4239. Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
  4240. * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
  4241. ({max,warn_after}_architecture): New static locals.
  4242. (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
  4243. If both architecture and -bump requested, set max_architecture to max.
  4244. (sparc_md_end): Simplify.
  4245. (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
  4246. Rewrite code to bump architecture and check for conflicts.
  4247. (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
  4248. with Solaris assembler.
  4249. (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
  4250. (md_show_usage): Update.
  4251. Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
  4252. * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
  4253. Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
  4254. * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
  4255. #ifdef sparcv9 when choosing value.
  4256. (ENV64): Delete.
  4257. (md_end): Define.
  4258. (sparc_md_end): Declare.
  4259. * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
  4260. (initial_architecture): New static local.
  4261. (can_bump_v9_p): Likewise.
  4262. (NO_V9): Delete all occurrences.
  4263. (sparc_md_end): New function.
  4264. (sparc_ip): New local v9_arg_p. Rework fp reg number test.
  4265. Don't bump architecture to v9 unless can_bump_v9_p set.
  4266. (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
  4267. * configure.in (sparc64 target cpu): Don't set obj_format here.
  4268. (SPARC_V9): Renamed from sparcv9.
  4269. (sparc64-*-elf*): Define SPARC_ARCH64.
  4270. * configure: Regenerated.
  4271. * acconfig.h (SPARC_V9): Renamed from sparcv9.
  4272. (SPARC_ARCH64): Add.
  4273. * conf.in: Regenerated.
  4274. * config/vmsconf.h: Update.
  4275. Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
  4276. * config/tc-mips.c (load_register): Optimise "dli" loads.
  4277. (md_show_usage): add "-mcpu=vr4100" to help text.
  4278. Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
  4279. * symbols.c (resolve_symbol_value): If a symbol is equated to an
  4280. undefined symbol, preserve the X_op of O_symbol.
  4281. (S_GET_VALUE): Fix check to permit this case.
  4282. * write.c (write_relocs): If a reloc is against an undefined
  4283. symbol equated to another symbol, change the reloc to be against
  4284. the latter symbol.
  4285. * config/obj-coff.c (do_relocs_for): Likewise.
  4286. * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
  4287. XMC_PR.
  4288. Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4289. * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
  4290. computer is PowerPC.
  4291. * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
  4292. * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
  4293. mentioned in the eabi.
  4294. Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
  4295. * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
  4296. * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
  4297. Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4298. * config/tc-ppc.c (mapping): Add more relocation suffixes.
  4299. Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4300. * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
  4301. as a section it is ok to have unadorned -mrelocatable pointers in.
  4302. Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4303. * config/tc-ppc.c (ppc_section*): Wrap these functions inside
  4304. #ifdef OBJ_ELF.
  4305. Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  4306. * config/obj-elf.c (obj_elf_section): Add hooks so machine
  4307. dependent section attributes can be handled.
  4308. * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
  4309. macros to add support for exclude section flag and ordered section
  4310. type.
  4311. * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
  4312. functions to add support for exclude section flag and ordered
  4313. section type.
  4314. Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
  4315. * subsegs.c (section_symbol): Don't try to look up the section
  4316. symbol in the hash table. It should be possible to have a symbol
  4317. with the same name as a section, but no connection to it.
  4318. * read.c (cons_worker): Only call mri_comment_end from flag_mri.
  4319. From James Carlson <carlson@xylogics.com>.
  4320. * expr.c (operand): Skip whitespace after a close parenthesis.
  4321. From James Carlson <carlson@xylogics.com>.
  4322. Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
  4323. * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
  4324. as_warn_where for relocation overflow.
  4325. (parse_reg): Accept register name only if next character is
  4326. not alphanumeric.
  4327. For older changes see ChangeLog-9295
  4328. Copyright (C) 1996-1997 Free Software Foundation, Inc.
  4329. Copying and distribution of this file, with or without modification,
  4330. are permitted in any medium without royalty provided the copyright
  4331. notice and this notice are preserved.
  4332. Local Variables:
  4333. mode: change-log
  4334. left-margin: 8
  4335. fill-column: 74
  4336. version-control: never
  4337. End: