ChangeLog-2020 222 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119
  1. 2020-12-18 Alan Modra <amodra@gmail.com>
  2. * ecoff.c (ecoff_frob_symbol): Rename scom_section to
  3. ecoff_scom_section, move to file scope and statically initialise.
  4. 2020-12-16 Alan Modra <amodra@gmail.com>
  5. * config/obj-elf.c (obj_elf_section): Don't set elf_osabi here.
  6. (obj_elf_type): Likewise.
  7. 2020-12-15 Alan Modra <amodra@gmail.com>
  8. PR 27071
  9. * config/obj-elf.c (elf_obj_symbol_clone_hook): New function.
  10. (elf_format_ops): Set symbol_clone_hook.
  11. * config/obj-elf.h (elf_obj_symbol_clone_hook): Declare.
  12. (obj_symbol_clone_hook): Define.
  13. * listing.c (buffer_line): Avoid integer overflow on paper_width
  14. set to zero.
  15. 2020-12-14 Alan Modra <amodra@gmail.com>
  16. * testsuite/gas/elf/section27.s: Reorder .text, .data and .bss
  17. so that output section order does not depend on those sections
  18. being already created. Use ".section .text" rather than ".text".
  19. 2020-12-13 Borislav Petkov <bp@suse.de>
  20. * testsuite/gas/i386/align-branch-9.s: Don't use labels that are
  21. automatically local for ELF targets.
  22. * testsuite/gas/i386/branch.s: Likewise.
  23. * testsuite/gas/i386/x86-64-align-branch-9.s: Likewise.
  24. * testsuite/gas/i386/x86-64-branch.s: Likewise.
  25. * testsuite/gas/i386/align-branch-9.d: Adjust to match more targets.
  26. * testsuite/gas/i386/branch.d: Likewise.
  27. * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
  28. * testsuite/gas/i386/x86-64-align-branch-9.d: Likewise.
  29. * testsuite/gas/i386/x86-64-branch.d: Likewise.
  30. 2020-12-11 Sergey Belyashov <sergey.belyashov@gmail.com>
  31. Nick Clifton <nickc@redhat.com>
  32. PR 27047
  33. * config/tc-z80.c (s_bss): New function.
  34. (md_pseudo_table): Add bss entry.
  35. 2020-12-10 Nelson Chu <nelson.chu@sifive.com>
  36. * config/tc-riscv.c (riscv_ext): New function. Use md_assemblef
  37. to expand the zext and sext pseudos, to give them a chance to be
  38. expanded into c-ext instructions.
  39. (macro): Handle M_ZEXTH, M_ZEXTW, M_SEXTB and M_SEXTH.
  40. * testsuite/gas/riscv/ext.s: New testcase.
  41. * testsuite/gas/riscv/ext-32.d: Likewise.
  42. * testsuite/gas/riscv/ext-64.d: Likewise.
  43. 2020-12-10 Nelson Chu <nelson.chu@sifive.com>
  44. * config/tc-riscv.c (riscv_multi_subset_supports): Handle INSN_CLASS_ZICSR
  45. and INSN_CLASS_ZIFENCEI.
  46. * testsuite/gas/riscv/march-imply-i.s: New testcase.
  47. * testsuite/gas/riscv/march-imply-i2p0-01.d: New testcase. The version
  48. of i is less than 2.1, and zi* are supported in the chosen spec, so
  49. enable the fence.i and csr instructions, also output the implicit zi* to
  50. the arch string.
  51. * testsuite/gas/riscv/march-imply-i2p0-02.d: Likewise, but the zi* are
  52. not supported in the spec 2.2. Enable the related instructions since
  53. i's version is less than 2.1, but do not output them.
  54. * testsuite/gas/riscv/march-imply-i2p1-01.d: New testcase. The version
  55. of i is 2.1, so don't add it's implicit zi*, and disable the related
  56. instructions.
  57. * testsuite/gas/riscv/march-imply-i2p1-01.l: Likewise.
  58. * testsuite/gas/riscv/march-imply-i2p1-02.d: Likewise, and set the zi*
  59. explicitly, so enable the related instructions.
  60. * testsuite/gas/riscv/march-imply-i2p0.d: Removed.
  61. * testsuite/gas/riscv/march-imply-i2p1.d: Removed.
  62. 2020-12-08 H.J. Lu <hongjiu.lu@intel.com>
  63. * config/obj-elf.c (SEC_ASSEMBLER_SHF_MASK): New.
  64. (get_section_by_match): Also check if SEC_ASSEMBLER_SHF_MASK of
  65. sh_flags matches. Rename info to sh_info.
  66. (obj_elf_change_section): Don't check previous SHF_GNU_RETAIN.
  67. Rename info to sh_info.
  68. (obj_elf_section): Rename info to sh_info. Set sh_flags for
  69. SHF_GNU_RETAIN.
  70. * config/obj-elf.h (elf_section_match): Rename info to sh_info.
  71. Add sh_flags.
  72. * testsuite/gas/elf/elf.exp: Run section27.
  73. * testsuite/gas/elf/section24b.d: Updated.
  74. * testsuite/gas/elf/section27.d: New file.
  75. * testsuite/gas/elf/section27.s: Likewise.
  76. 2020-12-04 Andreas Krebbel <krebbel@linux.ibm.com>
  77. * testsuite/gas/s390/zarch-z10.s: Add tests for risbgz.
  78. * testsuite/gas/s390/zarch-z10.d: Add regexp for risbgz.
  79. * testsuite/gas/s390/zarch-zEC12.s: Add tests for risbgnz.
  80. * testsuite/gas/s390/zarch-zEC12.d: Add regexp for risbgnz.
  81. 2020-12-03 Andreas Krebbel <krebbel@linux.ibm.com>
  82. * testsuite/gas/s390/esa-g5.s: Test new extended mnemonics.
  83. * testsuite/gas/s390/esa-g5.d: Likewise.
  84. * testsuite/gas/s390/esa-z900.s: Likewise.
  85. * testsuite/gas/s390/esa-z900.d: Likewise.
  86. * testsuite/gas/s390/zarch-z900.s: Likewise.
  87. * testsuite/gas/s390/zarch-z900.d: Likewise.
  88. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  89. * testsuite/gas/riscv/attribute-10.d: Updated.
  90. * testsuite/gas/riscv/march-imply-g.d: New testcase for g.
  91. * testsuite/gas/riscv/march-imply-unsupported.d: The zicsr and zifencei
  92. are not supported in the ISA spec v2.2, so don't add and output them.
  93. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  94. * config/tc-riscv.c (riscv_subset_supports): Updated.
  95. * testsuite/gas/riscv/march-imply-i2p0.d: New testcase. Need to
  96. add the implicit zicsr and zifencei when i's version less than 2.1.
  97. * testsuite/gas/riscv/march-imply-i2p1.d: New testcase.
  98. * testsuite/gas/riscv/march-imply-d.d: Likewise.
  99. * testsuite/gas/riscv/march-imply-f.d: Likewise.
  100. * testsuite/gas/riscv/march-imply-q.d: Likewise.
  101. * testsuite/gas/riscv/march-fail-rv32iq.l: Updated.
  102. * testsuite/gas/riscv/march-fail-rv32id.d: Removed.
  103. * testsuite/gas/riscv/march-fail-rv32id.l: Likewise.
  104. * testsuite/gas/riscv/march-fail-rv64iq.d: Likewise.
  105. * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
  106. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  107. * config/tc-riscv.c (riscv_get_default_ext_version):
  108. Change the version type from unsigned to int.
  109. (riscv_set_arch): Use as_bad rather than as_fatal to
  110. report more errors.
  111. * testsuite/gas/riscv/attribute-02.d: Updated since x must be
  112. set with versions.
  113. * testsuite/gas/riscv/attribute-03.d: Likewise.
  114. * testsuite/gas/riscv/march-ok-two-nse.d: Likewise.
  115. * testsuite/gas/riscv/attribute-09.d: zicsr wasn't supported
  116. in the spec 2.2, so choose the newer spec.
  117. * testsuite/gas/riscv/march-fail-base-01.l: Updated since as_bad.
  118. * testsuite/gas/riscv/march-fail-base-02.l: Likewise.
  119. * testsuite/gas/riscv/march-fail-order-std.l: Likewise.
  120. * testsuite/gas/riscv/march-fail-order-x.l: Likewise.
  121. * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
  122. * testsuite/gas/riscv/march-fail-porder.l: Likewise.
  123. * testsuite/gas/riscv/march-fail-rv32ef.l: Likewise.
  124. * testsuite/gas/riscv/march-fail-rv32id.l: Likewise.
  125. * testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
  126. * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
  127. * testsuite/gas/riscv/march-fail-single-char.l: Likewise.
  128. * testsuite/gas/riscv/march-fail-unknown-std.l: Likewise.
  129. * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
  130. * testsuite/gas/riscv/march-fail-uppercase.l: Likewise.
  131. * testsuite/gas/riscv/march-fail-version.l: Likewise.
  132. * testsuite/gas/riscv/march-fail-isa-spec.d: Likewise.
  133. * testsuite/gas/riscv/march-fail-isa-spec.l: Likewise.
  134. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  135. * testsuite/gas/riscv/march-fail-order-z.d: New testcase, check
  136. orders of prefixed z extensions.
  137. * testsuite/gas/riscv/march-fail-order-z.l: Likewise.
  138. * testsuite/gas/riscv/march-fail-single-char-h.d: New testcase.
  139. * testsuite/gas/riscv/march-fail-single-char.l: Updated.
  140. * testsuite/gas/riscv/march-fail-unknown-h.d: New testcase.
  141. * testsuite/gas/riscv/march-fail-unknown.l: Updated.
  142. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  143. * testsuite/gas/riscv/march-fail-uppercase-base.d: Updated.
  144. * testsuite/gas/riscv/march-fail-uppercase.l: Updated.
  145. * testsuite/gas/riscv/march-fail-uppercase-x.d: New testcase.
  146. 2020-12-01 Nelson Chu <nelson.chu@sifive.com>
  147. (These are new testcases that cover more cases)
  148. * testsuite/gas/riscv/march-fail-base-01.d: The first extension must
  149. be e, i or g.
  150. * testsuite/gas/riscv/march-fail-base-01.l: Likewise.
  151. * testsuite/gas/riscv/march-fail-base-02.d: rv64e is an invalid base ISA.
  152. * testsuite/gas/riscv/march-fail-base-02.l: Likewise.
  153. * testsuite/gas/riscv/march-fail-order-std.d: Check orders of standard
  154. extensions.
  155. * testsuite/gas/riscv/march-fail-order-std.l: Likewise.
  156. * testsuite/gas/riscv/march-fail-order-x.d: Check orders of prefixed
  157. x extensions.
  158. * testsuite/gas/riscv/march-fail-order-x.l: Likewise.
  159. * testsuite/gas/riscv/march-fail-porder-x-std.d: Check orders when
  160. standard and prefixed extensions are set at the same time.
  161. * testsuite/gas/riscv/march-fail-porder-x-z.d: Likewise.
  162. * testsuite/gas/riscv/march-fail-porder-z-std.d: Likewise.
  163. * testsuite/gas/riscv/march-fail-porder.l: Likewise.
  164. * testsuite/gas/riscv/march-fail-single-char-s.d: Only standard
  165. extensions can use single char.
  166. * testsuite/gas/riscv/march-fail-single-char-x.d: Likewise.
  167. * testsuite/gas/riscv/march-fail-single-char-z.d: Likewise.
  168. * testsuite/gas/riscv/march-fail-single-char.l: Likewise.
  169. * testsuite/gas/riscv/march-fail-unknown-s.d: All extensions
  170. should be known, except the non-standard x extensions.
  171. * testsuite/gas/riscv/march-fail-unknown-std.d: Likewise.
  172. * testsuite/gas/riscv/march-fail-unknown-std.l: Likewise.
  173. * testsuite/gas/riscv/march-fail-unknown-z.d: Likewise.
  174. * testsuite/gas/riscv/march-fail-unknown.l: Likewise.
  175. * testsuite/gas/riscv/march-fail-uppercase-base.d: Do not
  176. allow any uppercase in the arch string.
  177. * testsuite/gas/riscv/march-fail-uppercase-std.d: Likewise.
  178. * testsuite/gas/riscv/march-fail-uppercase-z.d: Likewise.
  179. * testsuite/gas/riscv/march-fail-uppercase.l: Likewise.
  180. * testsuite/gas/riscv/march-fail-version-x.d: Failed to set versions.
  181. * testsuite/gas/riscv/march-fail-version-z.d: Likewise.
  182. * testsuite/gas/riscv/march-fail-version.l: Likewise.
  183. * testsuite/gas/riscv/march-fail-rv32ef.l: Updated.
  184. * testsuite/gas/riscv/march-fail-rv32id.d: Need f-ext.
  185. * testsuite/gas/riscv/march-fail-rv32iq.d: Should be rv64.
  186. * testsuite/gas/riscv/march-fail-rv32iq.l: Likewise.
  187. * testsuite/gas/riscv/march-fail-rv64iq.d: Need d-ext and f-ext.
  188. * testsuite/gas/riscv/march-fail-rv64iq.l: Likewise.
  189. (The following testcases are removed and covered by new testcases)
  190. * testsuite/gas/riscv/march-fail-rv32i.d: march-fail-uppercase-base.
  191. * testsuite/gas/riscv/march-fail-rv32i.l: Likewise.
  192. * testsuite/gas/riscv/march-fail-rv32iam.d: march-fail-order-std.
  193. * testsuite/gas/riscv/march-fail-rv32iam.l: Likewise.
  194. * testsuite/gas/riscv/march-fail-rv32ic.d: march-fail-uppercase-std.
  195. * testsuite/gas/riscv/march-fail-rv32ic.l: Likewise.
  196. * testsuite/gas/riscv/march-fail-rv32icx2p.d: march-fail-version-x.
  197. * testsuite/gas/riscv/march-fail-rv32icx2p.l: Likewise.
  198. * testsuite/gas/riscv/march-fail-rv32imc.d: march-fail-order-std.
  199. * testsuite/gas/riscv/march-fail-rv32imc.l: Likewise.
  200. * testsuite/gas/riscv/march-fail-rv64I.d: march-fail-uppercase-std.
  201. * testsuite/gas/riscv/march-fail-rv64I.l: Likewise.
  202. * testsuite/gas/riscv/march-fail-rv64e.d: march-fail-base-02.
  203. * testsuite/gas/riscv/march-fail-rv64e.l: Likewise.
  204. * testsuite/gas/riscv/march-fail-s-with-version.d: march-fail-unknown-s.
  205. * testsuite/gas/riscv/march-fail-s-with-version.l: Likewise.
  206. * testsuite/gas/riscv/march-fail-s.d: march-fail-unknown-s.
  207. * testsuite/gas/riscv/march-fail-s.l: Likewise.
  208. * testsuite/gas/riscv/march-fail-sx.d: march-fail-unknown-s.
  209. * testsuite/gas/riscv/march-fail-sx.l: Likewise.
  210. 2002-11-29 Borislav Petkov <bp@suse.de>
  211. * testsuite/gas/i386/branch.d: Add new branch insns test.
  212. * testsuite/gas/i386/branch.s: Likewise.
  213. * testsuite/gas/i386/i386.exp: Insert the new branch test.
  214. * testsuite/gas/i386/x86-64-branch.d: Test for branch hints insns.
  215. * testsuite/gas/i386/x86-64-branch.s: Likewise.
  216. * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
  217. 2020-11-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  218. * testsuite/gas/elf/elf.exp: Run new tests.
  219. * testsuite/gas/elf/section25.d: New test.
  220. * testsuite/gas/elf/section25.s: New test.
  221. * testsuite/gas/elf/section26.d: New test.
  222. * testsuite/gas/elf/section26.s: New test.
  223. 2020-11-25 Alan Modra <amodra@gmail.com>
  224. * output-file.c (output_file_close): Remove "can't close" from
  225. error message.
  226. * testsuite/gas/mips/reginfo-2.l: Update expected output.
  227. 2020-11-04 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  228. * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A78C.
  229. * doc/c-aarch64.texi: Document -mcpu=cortex-a78c.
  230. * doc/NEWS: Update news.
  231. 2020-11-19 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  232. * testsuite/gas/elf/section22.d: Allow FreeBSD OSABI in readelf
  233. output.
  234. * testsuite/gas/elf/section23a.d: Likewise.
  235. * testsuite/gas/elf/section24a.d: Likewise.
  236. 2020-11-18 Alan Modra <amodra@gmail.com>
  237. * doc/as.texi (.nop): Document optional size arg.
  238. * dwarf2dbg.c (dwarf2_gen_line_info_1): Only check SEC_ALLOC
  239. when ELF. Warn whenever dwarf line number information is ignored.
  240. * frags.c (frag_offset_ignore_align_p): New function.
  241. * frags.h (frag_offset_ignore_align_p): Declare.
  242. * read.c (s_nop): Extend to support optional size arg.
  243. * testsuite/gas/elf/dwarf2-20.d: Expect warnings, and exact range.
  244. * testsuite/gas/elf/dwarf2-20.s: Emit 16 bytes worth of nops.
  245. * testsuite/gas/m68hc11/indexed12.d: Expect warnings.
  246. 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  247. H.J. Lu <hongjiu.lu@intel.com>
  248. * NEWS: Announce SHF_GNU_RETAIN support.
  249. * config/obj-elf.c (obj_elf_change_section): Merge SHF_GNU_RETAIN bit
  250. between section declarations.
  251. (obj_elf_parse_section_letters): Handle 'R' flag.
  252. Handle numeric flag values within the SHF_MASKOS range.
  253. (obj_elf_section): Validate SHF_GNU_RETAIN usage.
  254. * doc/as.texi: Document 'R' flag to .section directive.
  255. * testsuite/gas/elf/elf.exp: Run new tests.
  256. * testsuite/gas/elf/section10.d: Unset SHF_GNU_RETAIN bit.
  257. * testsuite/gas/elf/section10.s: Likewise.
  258. * testsuite/gas/elf/section22.d: New test.
  259. * testsuite/gas/elf/section22.s: New test.
  260. * testsuite/gas/elf/section23.s: New test.
  261. * testsuite/gas/elf/section23a.d: New test.
  262. * testsuite/gas/elf/section23b.d: New test.
  263. * testsuite/gas/elf/section23b.err: New test.
  264. * testsuite/gas/elf/section24.s: New test.
  265. * testsuite/gas/elf/section24a.d: New test.
  266. * testsuite/gas/elf/section24b.d: New test.
  267. 2020-11-13 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  268. * NEWS: Update news.
  269. * config/tc-aarch64.c: Add option +pauth to -march.
  270. * doc/c-aarch64.texi: Update docs.
  271. * testsuite/gas/aarch64/pac-feat.d: New test.
  272. * testsuite/gas/aarch64/pac-feat.s: New test.
  273. 2020-11-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  274. * NEWS: Update news.
  275. * config/tc-aarch64.c: New feature flag +flagm.
  276. * doc/c-aarch64.texi: Update docs.
  277. * testsuite/gas/aarch64/flagm.d: New test.
  278. * testsuite/gas/aarch64/flagm.s: New test.
  279. 2020-11-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  280. * config/tc-arm.c (arm_cpus): Add Cortex-A78C.
  281. * doc/c-arm.texi: Document -mcpu=cortex-a78c.
  282. * testsuite/gas/arm/cpu-cortex-a78c.d: New test.
  283. 2020-11-14 Borislav Petkov <bp@suse.de>
  284. * testsuite/gas/i386/x86-64-segovr.d: Adjust regexes.
  285. * testsuite/gas/i386/x86-64-nops.d: Likewise.
  286. * testsuite/gas/i386/x86-64-nops-1.d: Likewise.
  287. * testsuite/gas/i386/x86-64-nops-1-g64.d: Likewise.
  288. * testsuite/gas/i386/x86-64-nops-1-core2.d: Likewise.
  289. * testsuite/gas/i386/x86-64-nops-1-k8.d: Likewise.
  290. * testsuite/gas/i386/x86-64-nops-2.d: Likewise.
  291. * testsuite/gas/i386/x86-64-nops-3.d: Likewise.
  292. * testsuite/gas/i386/x86-64-nops-4.d: Likewise.
  293. * testsuite/gas/i386/x86-64-nops-4-core2.d: Likewise.
  294. * testsuite/gas/i386/x86-64-nops-4-k8.d: Likewise.
  295. * testsuite/gas/i386/x86-64-nops-5.d: Likewise.
  296. * testsuite/gas/i386/x86-64-nops-5-k8.d: Likewise.
  297. * testsuite/gas/i386/x86-64-nops-7.d: Likewise.
  298. * testsuite/gas/i386/x86-64-nop-1.d: Likewise.
  299. * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
  300. * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
  301. * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
  302. * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
  303. * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
  304. * testsuite/gas/i386/x86-64-align-branch-2c.d: Likewise.
  305. * testsuite/gas/i386/x86-64-align-branch-6.d: Likewise.
  306. * testsuite/gas/i386/x86-64-align-branch-7.d: Likewise.
  307. * testsuite/gas/i386/x86-64-align-branch-8.d: Likewise.
  308. * testsuite/gas/i386/ilp32/x86-64-nops-1-core2.d: Likewise.
  309. * testsuite/gas/i386/ilp32/x86-64-nops-1-k8.d: Likewise.
  310. * testsuite/gas/i386/ilp32/x86-64-nops-1.d: Likewise.
  311. * testsuite/gas/i386/ilp32/x86-64-nops-2.d: Likewise.
  312. * testsuite/gas/i386/ilp32/x86-64-nops-3.d: Likewise.
  313. * testsuite/gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
  314. * testsuite/gas/i386/ilp32/x86-64-nops-4-k8.d: Likewise.
  315. * testsuite/gas/i386/ilp32/x86-64-nops-4.d: Likewise.
  316. * testsuite/gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
  317. * testsuite/gas/i386/ilp32/x86-64-nops-5.d: Likewise.
  318. * testsuite/gas/i386/ilp32/x86-64-nops.d:: Likewise.
  319. 2020-11-12 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  320. * config/tc-msp430.c (OPTION_MOVE_DATA): Define.
  321. (md_parse_option): Ignore OPTION_MOVE_DATA.
  322. (md_longopts): Handle -md option.
  323. * testsuite/gas/msp430/msp430.exp: Run new test.
  324. * testsuite/gas/msp430/empty.s: New test.
  325. * testsuite/gas/msp430/ignore-md.d: New test.
  326. 2020-11-12 Nick Clifton <nickc@redhat.com>
  327. PR 26850
  328. * dwarf2dbg.c (dwarf2_gen_line_info_1): Do not record lines in
  329. sections that are not executable or not loadable.
  330. (out_debug_line): Move warning message into dwarf2_gen_line_info_1.
  331. * testsuite/gas/elf/dwarf2-20.s: New test.
  332. * testsuite/gas/elf/dwarf2-20.d: New test driver.
  333. * testsuite/gas/elf/elf.exp: Run the new test.
  334. * testsuite/gas/elf/warn-2.s: Use the .nop directive.
  335. 2020-11-11 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  336. * testsuite/gas/aarch64/ls64.s: Update test.
  337. 2020-11-09 Denys Zagorui <dzagorui@cisco.com>
  338. * config/obj-elf (obj_elf_init_stab_section): Improve
  339. reproducibility for stabs debugging data format
  340. 2020-11-09 Spencer E. Olson <olsonse@umich.edu>
  341. * testsuite/gas/pru/misc.s: Add tests for lmbd (left-most bit
  342. detect).
  343. * testsuite/gas/pru/misc.d: Update expected disassembly.
  344. 2020-11-09 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  345. * config/tc-aarch64.c: Fix comment.
  346. * testsuite/gas/aarch64/ls64.d: New test.
  347. * testsuite/gas/aarch64/ls64.s: Test for ACCDATA_EL1 register.
  348. 2020-11-09 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  349. * config/tc-aarch64.c (process_omitted_operand): Add AARCH64_OPND_Rt_LS64.
  350. (parse_operands): Parse Rt range for AARCH64_OPND_Rt_LS64.
  351. * testsuite/gas/aarch64/ls64-invalid.l: Update test.
  352. * testsuite/gas/aarch64/ls64-invalid.s: Update test.
  353. * testsuite/gas/aarch64/ls64.s: Update test.
  354. 2020-11-09 Andreas Schwab <schwab@linux-m68k.org>
  355. * Makefile.am (development.exp): Fix regexp.
  356. * Makefile.in: Regenerate.
  357. 2020-11-09 Nelson Chu <nelson.chu@sifive.com>
  358. * config/tc-riscv.c (explicit_mabi): New boolean to indicate if
  359. the -mabi= option is explictly set.
  360. (md_parse_option): Set explicit_mabi to TRUE if -mabi is set.
  361. (riscv_set_abi_by_arch): New function. If the -mabi option isn't
  362. set, then we set the abi according to the architecture string.
  363. Otherwise, check if there are conflicts between architecture
  364. and abi setting.
  365. (riscv_after_parse_args): Move the abi setting to md_assemble nad
  366. riscv_elf_final_processing.
  367. (md_assemble): Call the riscv_set_abi_by_arch when we set the
  368. start_assemble to TRUE.
  369. (riscv_elf_final_processing): Likewise, in case the file without
  370. any instruction.
  371. * testsuite/gas/riscv/mabi-attr-01.s: New testcase.
  372. * testsuite/gas/riscv/mabi-attr-02.s: Likewise.
  373. * testsuite/gas/riscv/mabi-attr-03.s: Likewise.
  374. * testsuite/gas/riscv/mabi-fail-01.d: Likewise.
  375. * testsuite/gas/riscv/mabi-fail-01.l: Likewise.
  376. * testsuite/gas/riscv/mabi-fail-02.d: Likewise.
  377. * testsuite/gas/riscv/mabi-fail-02.l: Likewise.
  378. * testsuite/gas/riscv/mabi-noabi-attr-01a.d: Likewise.
  379. * testsuite/gas/riscv/mabi-noabi-attr-01b.d: Likewise.
  380. * testsuite/gas/riscv/mabi-noabi-attr-02a.d: Likewise.
  381. * testsuite/gas/riscv/mabi-noabi-attr-02b.d: Likewise.
  382. * testsuite/gas/riscv/mabi-noabi-attr-03a.d: Likewise.
  383. * testsuite/gas/riscv/mabi-noabi-attr-03b.d: Likewise.
  384. * testsuite/gas/riscv/mabi-noabi-march-01.d: Likewise.
  385. * testsuite/gas/riscv/mabi-noabi-march-02.d: Likewise.
  386. * testsuite/gas/riscv/mabi-noabi-march-03.d: Likewise.
  387. 2020-11-04 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  388. * testsuite/gas/aarch64/armv8-ras-1_1-invalid.d: New test.
  389. * testsuite/gas/aarch64/armv8-ras-1_1-invalid.l: New test.
  390. * testsuite/gas/aarch64/armv8-ras-1_1-invalid.s: New test.
  391. * testsuite/gas/aarch64/armv8-ras-1_1.d: New test.
  392. * testsuite/gas/aarch64/armv8-ras-1_1.s: New test.
  393. * testsuite/gas/aarch64/illegal-ras-1.d: Remove.
  394. * testsuite/gas/aarch64/illegal-ras-1.l: Remove.
  395. * testsuite/gas/aarch64/illegal-ras-1.s: Remove.
  396. * testsuite/gas/aarch64/illegal-sysreg-2.d: Remove.
  397. * testsuite/gas/aarch64/illegal-sysreg-2.l: Remove.
  398. 2020-11-03 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  399. * NEWS: Update docs.
  400. * config/tc-aarch64.c: Add +ls64 feature to -march flags set.
  401. * testsuite/gas/aarch64/ls64-invalid.d: New test.
  402. * testsuite/gas/aarch64/ls64-invalid.l: New test.
  403. * testsuite/gas/aarch64/ls64-invalid.s: New test.
  404. * testsuite/gas/aarch64/ls64.s: New test.
  405. 2020-11-03 Christian Eggers <ceggers@gmx.de>
  406. * config/obj-elf (elf_frob_symbol): Fix symbol value calculation
  407. for versioned symbol aliases.
  408. 2020-10-30 H.J. Lu <hongjiu.lu@intel.com>
  409. PR gas/26703
  410. * config/tc-i386.c (output_insn): Update for
  411. GNU_PROPERTY_X86_ISA_1_BASELINE.
  412. * testsuite/gas/i386/property-1.d: Updated.
  413. * testsuite/gas/i386/property-2.d: Likewise.
  414. * testsuite/gas/i386/property-3.d: Likewise.
  415. * testsuite/gas/i386/property-4.d: Likewise.
  416. * testsuite/gas/i386/property-5.d: Likewise.
  417. * testsuite/gas/i386/property-6.d: Likewise.
  418. * testsuite/gas/i386/property-11.d: Likewise.
  419. * testsuite/gas/i386/property-12.d: Likewise.
  420. * testsuite/gas/i386/x86-64-property-1.d: Likewise.
  421. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  422. * testsuite/gas/i386/x86-64-property-3.d: Likewise.
  423. * testsuite/gas/i386/x86-64-property-4.d: Likewise.
  424. * testsuite/gas/i386/x86-64-property-5.d: Likewise.
  425. * testsuite/gas/i386/x86-64-property-6.d: Likewise.
  426. * testsuite/gas/i386/x86-64-property-11.d: Likewise.
  427. * testsuite/gas/i386/x86-64-property-12.d: Likewise.
  428. 2020-10-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  429. * NEWS: Update docs.
  430. * testsuite/gas/aarch64/system-5.d: Update test with WFIT insn.
  431. * testsuite/gas/aarch64/system-5.s: Update test with WFIT insn.
  432. 2020-10-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  433. * config/tc-aarch64.c (parse_operands): Check for C0-C15 value of DSB
  434. immediate string operand.
  435. * testsuite/gas/aarch64/system-4.d: Update test.
  436. * testsuite/gas/aarch64/system-4.s: Update test.
  437. 2020-10-27 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  438. * NEWS: Update docs.
  439. * config/tc-aarch64.c (parse_csr_operand): New operand parser.
  440. (parse_operands): Call to CSR operand parser.
  441. * testsuite/gas/aarch64/csre_csr-invalid.d: New test.
  442. * testsuite/gas/aarch64/csre_csr-invalid.l: New test.
  443. * testsuite/gas/aarch64/csre_csr-invalid.s: New test.
  444. * testsuite/gas/aarch64/csre_csr.d: New test.
  445. * testsuite/gas/aarch64/csre_csr.s: New test.
  446. 2020-10-27 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  447. * NEWS: Update docs.
  448. * testsuite/gas/aarch64/system-5.d: New test.
  449. * testsuite/gas/aarch64/system-5.s: New test.
  450. 2020-10-26 H.J. Lu <hongjiu.lu@intel.com>
  451. PR gas/26778
  452. * * dwarf2dbg.c (num_of_auto_assigned): New.
  453. (allocate_filenum): Increment num_of_auto_assigned.
  454. (dwarf2_directive_filename): Clear the slots auto-assigned
  455. before the first .file <NUMBER> directive was seen.
  456. * testsuite/gas/i386/dwarf4-line-1.d: New file.
  457. * testsuite/gas/i386/dwarf4-line-1.s: Likewise.
  458. * testsuite/gas/i386/i386.exp: Run dwarf4-line-1.
  459. 2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
  460. * config/tc-csky.c (dump_literals): Fix the literal dump
  461. of big vector constant.
  462. 2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
  463. * testsuite/gas/csky/enhance_dsp.s : Change plsl.u16 to plsl.16.
  464. * testsuite/gas/csky/enhance_dsp.d : Change plsl.u16 to plsl.16.
  465. 2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
  466. * config/tc-csky.c (md_begin): Add version flag in eflag.
  467. 2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
  468. * config/tc-csky.c (get_operand_value): Add handler for
  469. OPRND_TYPE_IMM5b_VSH and OPRND_TYPE_VREG_WITH_INDEX.
  470. * testsuite/gas/csky/csky_vdsp.d : Fix the disassembling for
  471. vector register.
  472. 2020-10-26 Lili Cui <lili.cui@intel.com>
  473. * testsuite/gas/i386/avx-vnni.d: Change psuedo prefix from
  474. {vex3} to {vex}
  475. * testsuite/gas/i386/x86-64-avx-vnni.d: Likewise.
  476. 2020-10-23 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  477. * NEWS: Docs update.
  478. * config/tc-aarch64.c (parse_operands): Add
  479. AARCH64_OPND_BARRIER_DSB_NXS handler.
  480. (md_begin): Add content of aarch64_barrier_dsb_nxs_options to
  481. aarch64_barrier_opt_hsh hash.
  482. * testsuite/gas/aarch64/system-4-invalid.d: New test.
  483. * testsuite/gas/aarch64/system-4-invalid.l: New test.
  484. * testsuite/gas/aarch64/system-4-invalid.s: New test.
  485. * testsuite/gas/aarch64/system-4.d: New test.
  486. * testsuite/gas/aarch64/system-4.s: New test.
  487. 2020-10-21 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
  488. PR target/26763
  489. * config/tc-arm.c (parse_address_main): Add new MVE addressing mode
  490. check.
  491. * testsuite/gas/arm/mve-vldr-vstr-bad.d: New test.
  492. * testsuite/gas/arm/mve-vldr-vstr-bad.l: Likewise.
  493. * testsuite/gas/arm/mve-vldr-vstr-bad.s: Likewise.
  494. 2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
  495. * config/tc-arc.c (emit_insn0): Fix printf format.
  496. 2020-10-20 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
  497. * config/tc-i386.c (cpu_arch): Add CPU_ZNVER3_FLAGS flags.
  498. (i386_align_code): Add PROCESSOR_ZNVER cases.
  499. * doc/c-i386.texi: Add znver3, snp, invlpgb and tlbsync.
  500. * gas/i386/i386.exp: Add new znver3 test cases.
  501. * gas/i386/arch-14-znver3.d: New.
  502. * gas/i386/arch-14.d: New.
  503. * gas/i386/arch-14.s: New.
  504. * gas/i386/invlpgb.d: New.
  505. * gas/i386/invlpgb64.d: New.
  506. * gas/i386/invlpgb.s: New.
  507. * gas/i386/snp.d: New.
  508. * gas/i386/snp64.d: New.
  509. * gas/i386/snp.s: New.
  510. * gas/i386/tlbsync.d: New.
  511. * gas/i386/tlbsync.s: New.
  512. * gas/i386/x86-64-arch-4-znver3.d: New.
  513. * gas/i386/x86-64-arch-4.d: New.
  514. * gas/i386/x86-64-arch-4.s: New.
  515. 2020-10-17 H.J. Lu <hongjiu.lu@intel.com>
  516. PR gas/25878
  517. PR gas/26740
  518. * testsuite/gas/i386/dwarf5-line-4.d: New file.
  519. * testsuite/gas/i386/dwarf5-line-4.s: Likewise.
  520. * testsuite/gas/i386/i386.exp: Run dwarf5-line-4.
  521. 2020-10-17 H.J. Lu <hongjiu.lu@intel.com>
  522. PR gas/25878
  523. PR gas/26740
  524. * testsuite/gas/i386/dwarf5-line-3.s: Replace dwarf5-line-2.S
  525. with dwarf5-line-3.S.
  526. * testsuite/gas/i386/dwarf5-line-3.d: Updated.
  527. 2020-10-17 H.J. Lu <hongjiu.lu@intel.com>
  528. PR gas/25878
  529. PR gas/26740
  530. * dwarf2dbg.c (allocate_filename_to_slot): Don't reuse the slot 1
  531. here.
  532. (dwarf2_where): Restore as_where.
  533. (dwarf2_directive_filename): Clear the slot 1 if it was assigned
  534. to the input file.
  535. * testsuite/gas/i386/dwarf5-line-2.d: New file.
  536. * testsuite/gas/i386/dwarf5-line-2.s: Likewise.
  537. * testsuite/gas/i386/dwarf5-line-3.d: Likewise.
  538. * testsuite/gas/i386/dwarf5-line-3.s: Likewise.
  539. * testsuite/gas/i386/i386.exp: Run dwarf5-line-2 and
  540. dwarf5-line-3.
  541. gas/ChangeLog:
  542. 2020-10-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  543. * NEWS: Docs update.
  544. * config/tc-aarch64.c (armv8.7-a): New arch.
  545. * doc/c-aarch64.texi (-march=armv8.7-a): Update docs.
  546. 2020-10-16 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  547. * testsuite/gas/aarch64/sysreg-6.d: New test.
  548. * testsuite/gas/aarch64/sysreg-6.s: New test.
  549. 2020-10-16 H.J. Lu <hongjiu.lu@intel.com>
  550. PR gas/25878
  551. PR gas/26740
  552. * dwarf2dbg.c (file_entry): Remove auto_assigned.
  553. (assign_file_to_slot): Remove the auto_assign argument.
  554. (allocate_filenum): Updated.
  555. (allocate_filename_to_slot): Reuse the input file entry in the
  556. file table.
  557. (dwarf2_where): Replace as_where with as_where_physical.
  558. * testsuite/gas/i386/dwarf5-line-1.d: New file.
  559. * testsuite/gas/i386/dwarf5-line-1.s: Likewise.
  560. * testsuite/gas/i386/i386.exp: Run dwarf5-line-1.
  561. 2020-10-16 Lili Cui <lili.cui@intel.com>
  562. * config/tc-i386.c (cpu_flags_match): Move Pseudo Prefix check
  563. to ...
  564. (match_template): Here.
  565. * testsuite/gas/i386/avx-vnni-inval.l: New file.
  566. * testsuite/gas/i386/avx-vnni-inval.s: Likewise.
  567. * testsuite/gas/i386/avx-vnni.d: Delete invalid {vex2} test.
  568. * testsuite/gas/i386/avx-vnni.s: Likewise.
  569. * testsuite/gas/i386/i386.exp: Add AVX VNNI invalid tests.
  570. * testsuite/gas/i386/x86-64-avx-vnni-inval.l: New file.
  571. * testsuite/gas/i386/x86-64-avx-vnni-inval.s: Likewise.
  572. * testsuite/gas/i386/x86-64-avx-vnni.d: Delete invalid {vex2} test.
  573. * testsuite/gas/i386/x86-64-avx-vnni.s: Likewise.
  574. 2020-10-14 H.J. Lu <hongjiu.lu@intel.com>
  575. Lili Cui <lili.cui@intel.com>
  576. * NEWS: Add Intel AVX VNNI.
  577. * config/tc-i386.c (cpu_arch): Add .avx_vnni and noavx_vnni.
  578. (cpu_flags_match): Support CpuVEX_PREFIX.
  579. * doc/c-i386.texi: Document .avx_vnni, noavx_vnni and how to
  580. encode Intel VNNI instructions with VEX prefix.
  581. * testsuite/gas/i386/avx-vnni.d: New file.
  582. * testsuite/gas/i386/avx-vnni.s: Likewise.
  583. * testsuite/gas/i386/x86-64-avx-vnni.d: Likewise.
  584. * testsuite/gas/i386/x86-64-avx-vnni.s: Likewise.
  585. * testsuite/gas/i386/i386.exp: Run AVX VNNI tests.
  586. 2020-10-14 Lili Cui <lili.cui@intel.com>
  587. * NEWS: Add Intel HRESET.
  588. * config/tc-i386.c (cpu_arch): Add .hreset.
  589. (cpu_noarch): Likewise.
  590. * doc/c-i386.texi: Document .hreset, nohreset.
  591. * testsuite/gas/i386/i386.exp: Run HRESET tests.
  592. * testsuite/gas/i386/hreset.d: New file.
  593. * testsuite/gas/i386/x86-64-hreset.d: Likewise.
  594. * testsuite/gas/i386/hreset.s: Likewise.
  595. 2020-10-14 Lili Cui <lili.cui@intel.com>
  596. * NEWS: Add Intel UINTR.
  597. * config/tc-i386.c (cpu_arch): Add .uintr.
  598. (cpu_noarch): Likewise.
  599. * doc/c-i386.texi: Document .uintr and nouintr.
  600. * testsuite/gas/i386/i386.exp: Run UINTR tests.
  601. * testsuite/gas/i386/x86-64-uintr.d: Likewise.
  602. * testsuite/gas/i386/x86-64-uintr.s: Likewise.
  603. 2020-10-14 H.J. Lu <hongjiu.lu@intel.com>
  604. * config/tc-i386.c (load_insn_p): Check opcodeprefix == 0 for
  605. base_opcode == 0xfc7.
  606. (match_template): Likewise.
  607. (process_suffix): Check opcodeprefix == PREFIX_0XF2 for CRC32.
  608. (check_byte_reg): Likewise.
  609. (output_insn): Don't add the 0xf3 prefix twice for PadLock
  610. instructions. Don't add prefix from non-VEX/EVEX base_opcode.
  611. 2020-10-13 H.J. Lu <hongjiu.lu@intel.com>
  612. * config/tc-i386.c (build_vex_prefix): Replace vexopcode with
  613. opcodeprefix.
  614. (build_evex_prefix): Likewise.
  615. (is_any_vex_encoding): Don't check vexopcode.
  616. (output_insn): Handle opcodeprefix.
  617. 2020-10-09 H.J. Lu <hongjiu.lu@intel.com>
  618. PR gas/26703
  619. * config/tc-i386.c (xstate): Add xstate_mask.
  620. (md_assemble): Check i.types[j], instead of i.tm.operand_types[j],
  621. for xstate. Set xstate_mask, instead of xstate_zmm, for RegMask.
  622. (output_insn): Update for GNU_PROPERTY_X86_ISA_1_V[234]. Update
  623. xstate for mask register and VSIB.
  624. * testsuite/gas/i386/i386.exp: Run more GNU_PROPERTY tests.
  625. * testsuite/gas/i386/property-1.s: Updated to the current
  626. GNU_PROPERTY_X86_ISA_1_USED value.
  627. * testsuite/gas/i386/property-2.s: Only keep cmove.
  628. * testsuite/gas/i386/property-3.s: Changed to addsubpd.
  629. * testsuite/gas/i386/property-1.d: Updated.
  630. * testsuite/gas/i386/property-2.d: Likewise.
  631. * testsuite/gas/i386/property-3.d: Likewise.
  632. * testsuite/gas/i386/property-4.d: Likewise.
  633. * testsuite/gas/i386/property-5.d: Likewise.
  634. * testsuite/gas/i386/property-6.d: Likewise.
  635. * testsuite/gas/i386/x86-64-property-1.d: Likewise.
  636. * testsuite/gas/i386/x86-64-property-2.d: Likewise.
  637. * testsuite/gas/i386/x86-64-property-3.d: Likewise.
  638. * testsuite/gas/i386/x86-64-property-4.d: Likewise.
  639. * testsuite/gas/i386/x86-64-property-5.d: Likewise.
  640. * testsuite/gas/i386/x86-64-property-6.d: Likewise.
  641. * testsuite/gas/i386/x86-64-property-7.d: Likewise.
  642. * testsuite/gas/i386/x86-64-property-8.d: Likewise.
  643. * testsuite/gas/i386/x86-64-property-9.d: Likewise.
  644. * testsuite/gas/i386/property-11.d: New file.
  645. * testsuite/gas/i386/property-11.s: Likewise.
  646. * testsuite/gas/i386/property-12.d: Likewise.
  647. * testsuite/gas/i386/property-12.s: Likewise.
  648. * testsuite/gas/i386/property-13.d: Likewise.
  649. * testsuite/gas/i386/property-13.s: Likewise.
  650. * testsuite/gas/i386/x86-64-property-11.d: Likewise.
  651. * testsuite/gas/i386/x86-64-property-12.d: Likewise.
  652. * testsuite/gas/i386/x86-64-property-13.d: Likewise.
  653. * testsuite/gas/i386/x86-64-property-14.d: Likewise.
  654. * testsuite/gas/i386/x86-64-property-14.s: Likewise.
  655. 2020-10-08 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  656. * NEWS: Docs update.
  657. * testsuite/gas/aarch64/brbe-invalid.d: New test.
  658. * testsuite/gas/aarch64/brbe-invalid.l: New test.
  659. * testsuite/gas/aarch64/brbe-invalid.s: New test.
  660. * testsuite/gas/aarch64/brbe.d: New test.
  661. * testsuite/gas/aarch64/brbe.s: New test.
  662. 2020-10-08 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  663. * NEWS: Docs update.
  664. * testsuite/gas/aarch64/csre-invalid.d: New test.
  665. * testsuite/gas/aarch64/csre-invalid.l: New test.
  666. * testsuite/gas/aarch64/csre-invalid.s: New test.
  667. * testsuite/gas/aarch64/csre.d: New test.
  668. * testsuite/gas/aarch64/csre.s: New test.
  669. 2020-10-06 Alex Coplan <alex.coplan@arm.com>
  670. PR 26699
  671. * config/tc-aarch64.c (asm_barrier_opt): Delete.
  672. (parse_barrier): Fix bogus type punning.
  673. * testsuite/gas/aarch64/system.d: Update disassembly.
  674. * testsuite/gas/aarch64/system.s: Add isb sy test.
  675. 2020-10-06 Sergey Belyashav <sergey.belyashov@gmail.com>
  676. PR 26692
  677. * config/tc-z80.c (md_begin): Ensure that xpressions are empty
  678. before using them.
  679. (unify_indexed): Likewise.
  680. (z80_start_line_hook): Improve hash sign handling when SDCC
  681. compatibility mode enabled.
  682. (md_parse_exp_not_indexed): Improve indirect addressing
  683. detection.
  684. (md_pseudo_table): Accept hd64 as an alias of z810.
  685. 2020-10-06 Alan Modra <amodra@gmail.com>
  686. * testsuite/gas/elf/sh-link-zero.s: Don't start directives in
  687. first column. Don't use numeric labels.
  688. 2020-10-05 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  689. * config/tc-arm.c: Update Cortex-X1 feature flags.
  690. 2020-10-05 Kamil Rytarowski <n54@gmx.com>
  691. * configure.tgt (aarch64*-*-netbsd*): Add target.
  692. 2020-10-05 Samanta Navarro <ferivoz@riseup.net>
  693. * doc/as.texi: Fix spelling mistakes.
  694. * doc/c-wasm32.texi: Likewise.
  695. 2020-10-05 T.K. Chia <u1049321969@caramail.com>
  696. PR gas/26694
  697. * NEWS: Updated for i386 lcall and ljmp change.
  698. * config/tc-i386.c (output_interseg_jump): Allow non-absolute
  699. segment operand for immediate lcall and ljmp.
  700. * testsuite/gas/i386/jump.d,
  701. * testsuite/gas/i386/jump.s,
  702. * testsuite/gas/i386/jump16.d,
  703. * testsuite/gas/i386/jump16.e,
  704. * testsuite/gas/i386/jump16.s: Add tests for non-absolute
  705. segment operand for immediate ljmp.
  706. 2020-10-05 H.J. Lu <hongjiu.lu@intel.com>
  707. PR binutils/26704
  708. * testsuite/gas/i386/noreg64-data16.d: Expect sysretl instead of
  709. sysret.
  710. * testsuite/gas/i386/noreg64.d: Likewise.
  711. * testsuite/gas/i386/x86-64-intel64.d: Likewise.
  712. * testsuite/gas/i386/x86-64-opcode.d: Likewise.
  713. 2020-10-05 H.J. Lu <hongjiu.lu@intel.com>
  714. PR binutils/26705
  715. * testsuite/gas/i386/x86-64-suffix.s: Add "mov %rsp,%rbp" before
  716. sysretq.
  717. * testsuite/gas/i386/x86-64-suffix-intel.d: Updated.
  718. * testsuite/gas/i386/x86-64-suffix.d: Likewise.
  719. 2020-10-05 Nick Clifton <nickc@redhat.com>
  720. PR 26253
  721. * config/obj-elf.c (obj_elf_section): Accept a numeric value for
  722. the "o" section flag. Interpret it as a section index. Allow an
  723. index of zero.
  724. * doc/as.texi: Document the new behaviour.
  725. * NEWS: Mention the new feature. Tidy entries.
  726. * testsuite/gas/elf/sh-link-zero.s: New test.
  727. * testsuite/gas/elf/sh-link-zero.d: New test driver.
  728. * testsuite/gas/elf/elf.exp: Run the new test.
  729. * testsuite/gas/elf/section21.l: Updated expected assembler
  730. output.
  731. 2020-10-05 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  732. * config/tc-aarch64.c: Update Cortex-X1 feature flags.
  733. 2020-10-03 H.J. Lu <hongjiu.lu@intel.com>
  734. PR gas/26685
  735. * config/tc-i386.c (process_suffix): Also check the register
  736. operand for the address size prefix if the memory operand has
  737. no real registers.
  738. * testsuite/gas/i386/enqcmd-16bit.d: New file.
  739. * testsuite/gas/i386/enqcmd-16bit.s: Likewise.
  740. * testsuite/gas/i386/movdir-16bit.d: Likewise.
  741. * testsuite/gas/i386/movdir-16bit.s: Likewise.
  742. * testsuite/gas/i386/enqcmd.s: Add tests with symbol and DISP.
  743. * testsuite/gas/i386/x86-64-enqcmd.s: Likewise.
  744. * testsuite/gas/i386/x86-64-movdir.s: Likewise.
  745. * testsuite/gas/i386/movdir.s: Add tests with symbol and DISP.
  746. Remove the .code16 test.
  747. * testsuite/gas/i386/i386.exp: Run movdir-16bit and enqcmd-16bit.
  748. * testsuite/gas/i386/x86-64-enqcmd-intel.d: Updated.
  749. * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
  750. * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
  751. * testsuite/gas/i386/x86-64-movdir.d: Likewise.
  752. * testsuite/gas/i386/enqcmd-intel.d: Likewise.
  753. * testsuite/gas/i386/enqcmd.d: Likewise.
  754. * testsuite/gas/i386/movdir-intel.d: Likewise.
  755. * testsuite/gas/i386/movdir.d: Likewise.
  756. * testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise.
  757. * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
  758. * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
  759. * testsuite/gas/i386/x86-64-movdir.d: Likewise.
  760. 2020-10-02 Nick Clifton <nickc@redhat.com>
  761. * testsuite/gas/arm/mve-vcvtne-it.d: Allow for padding inserted by
  762. PE based targets.
  763. 2020-10-01 Nick Clifton <nickc@redhat.com>
  764. * config/obj-elf (elf_pseudo_table): Add attach_to_group.
  765. (obj_elf_attach_to_group): New function.
  766. * doc/as.texi: Document the new directive.
  767. * NEWS: Mention the new feature.
  768. * testsuite/gas/elf/attach-1.s: New test.
  769. * testsuite/gas/elf/attach-1.d: New test driver.
  770. * testsuite/gas/elf/attach-2.s: New test.
  771. * testsuite/gas/elf/attach-2.d: New test driver.
  772. * testsuite/gas/elf/attach-err.s: New test.
  773. * testsuite/gas/elf/attach-err.d: New test driver.
  774. * testsuite/gas/elf/attach-err.err: New test error output.
  775. * testsuite/gas/elf/elf.exp: Run the new tests.
  776. 2020-09-16 H.J. Lu <hongjiu.lu@intel.com>
  777. PR gas/26685
  778. * config/tc-i386.c (process_suffix): Check the register operand
  779. for the address size prefix if the memory operand is symbol(%rip).
  780. * testsuite/gas/i386/x86-64-enqcmd.s: Add tests with RIP-relative
  781. addressing.
  782. * testsuite/gas/i386/x86-64-movdir.s: Likewise.
  783. * testsuite/gas/i386/x86-64-enqcmd-intel.d: Updated.
  784. * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
  785. * testsuite/gas/i386/x86-64-movdir-intel.d: Likewise.
  786. * testsuite/gas/i386/x86-64-movdir.d: Likewise.
  787. 2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  788. * config/tc-aarch64.c: Add Cortex-A78 and Cortex-A78AE cores.
  789. * doc/c-aarch64.texi: Update docs.
  790. * NEWS: Update news.
  791. 2020-09-30 Alex Coplan <alex.coplan@arm.com>
  792. * NEWS: Mention recent Arm processor support.
  793. 2020-09-30 Alex Coplan <alex.coplan@arm.com>
  794. * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
  795. * doc/c-aarch64.texi: Document support for Neoverse N2.
  796. 2020-09-30 Alan Modra <amodra@gmail.com>
  797. * config/obj-elf.c (obj_elf_change_section): Rename variable to
  798. avoid shadowing warning.
  799. * symbols.c (symbol_entry_find): Init all symbol_flags fields.
  800. 2020-09-30 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  801. * config/tc-arm.c: Add cortex-a78 and cortex-a78ae cores.
  802. * doc/c-arm.texi: Update docs.
  803. * NEWS: Update news.
  804. * testsuite/gas/arm/cpu-cortex-a78.d: New test.
  805. * testsuite/gas/arm/cpu-cortex-a78ae.d: New test.
  806. 2020-09-29 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  807. * NEWS: TRBE, ETE, ETMv4 and Cortex-X1 news updates.
  808. 2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  809. * config/tc-arm.c: (arm_cpus): Add Cortex-X1.
  810. * doc/c-arm.texi: Document -mcpu=cortex-x1.
  811. * testsuite/gas/arm/cpu-cortex-x1.d: New test.
  812. 2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  813. * testsuite/gas/aarch64/etm-ro-invalid.d: New test.
  814. * testsuite/gas/aarch64/etm-ro-invalid.l: New test.
  815. * testsuite/gas/aarch64/etm-ro-invalid.s: New test.
  816. * testsuite/gas/aarch64/etm-ro.s: New test.
  817. * testsuite/gas/aarch64/etm-wo-invalid.d: New test.
  818. * testsuite/gas/aarch64/etm-wo-invalid.l: New test.
  819. * testsuite/gas/aarch64/etm-wo-invalid.s: New test.
  820. * testsuite/gas/aarch64/etm-wo.s: New test.
  821. * testsuite/gas/aarch64/etm.s: New test.
  822. * testsuite/gas/aarch64/sysreg.d: system register s2_1_c0_c3_0
  823. disassembled now to trcstatr.
  824. 2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  825. * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
  826. * doc/c-aarch64.texi: Document -mcpu=cortex-x1.
  827. 2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  828. * testsuite/gas/aarch64/ete.d: New test.
  829. * testsuite/gas/aarch64/ete.s: New test.
  830. 2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  831. * testsuite/gas/aarch64/trbe-invalid.d: New test.
  832. * testsuite/gas/aarch64/trbe-invalid.l: New test.
  833. * testsuite/gas/aarch64/trbe-invalid.s: New test.
  834. * testsuite/gas/aarch64/trbe.d: New test.
  835. * testsuite/gas/aarch64/trbe.s: New test.
  836. 2020-09-28 Alex Coplan <alex.coplan@arm.com>
  837. * config/tc-arm.c (arm_cpus): Add FP16 to Neoverse V1.
  838. 2020-09-28 Alex Coplan <alex.coplan@arm.com>
  839. * config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores together,
  840. add missing F16 bit to Neoverse V1.
  841. 2020-09-26 Alan Modra <amodra@gmail.com>
  842. * config/tc-csky.c (parse_type_ctrlreg): Don't mask mach_flag
  843. for csky_get_control_regno.
  844. (csky_get_reg_val): Likewise when calling csky_get_general_regno.
  845. 2020-09-24 Jim Wilson <jimw@sifive.com>
  846. PR 26400
  847. * config/tc-riscv.c (append_insn): If in absolute section, emit
  848. error before add_relaxed_insn call.
  849. * testsuite/gas/riscv/absolute-sec.d: New.
  850. * testsuite/gas/riscv/absolute-sec.l: New.
  851. * testsuite/gas/riscv/absolute-sec.s: New.
  852. 2020-09-23 Mark Wielaard <mark@klomp.org>
  853. * testsuite/gas/elf/dwarf-5-cu.d: Adjust expected output.
  854. 2020-09-24 Alex Coplan <alex.coplan@arm.com>
  855. * config/tc-arm.c (arm_cpus): Add Neoverse V1.
  856. * doc/c-arm.texi: Document Neoverse V1 support.
  857. 2020-09-24 Alex Coplan <alex.coplan@arm.com>
  858. * config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1.
  859. * doc/c-aarch64.texi: Document Neoverse V1 support.
  860. 2020-09-24 Alex Coplan <alex.coplan@arm.com>
  861. * config/tc-arm.c (arm_cpus): Add Neoverse N2.
  862. * doc/c-arm.texi: Document -mcpu=neoverse-n2.
  863. 2020-09-24 Lili Cui <lili.cui@intel.com>
  864. * NEWS: Add TDX.
  865. * config/tc-i386.c (cpu_arch): Add .tdx.
  866. (cpu_noarch): Likewise.
  867. * doc/c-i386.texi: Document tdx.
  868. * testsuite/gas/i386/i386.exp: Run tdx tests.
  869. * testsuite/gas/i386/tdx.d: Likewise.
  870. * testsuite/gas/i386/tdx.s: Likewise.
  871. * testsuite/gas/i386/x86-64-tdx.d: Likewise.
  872. * testsuite/gas/i386/x86-64-tdx.s: Likewise.
  873. 2020-09-17 Cooper Qu <cooper.qu@linux.alibaba.com>
  874. * config/tc-csky.c (parse_type_ctrlreg): Use function
  875. csky_get_control_regno to operand.
  876. (csky_get_reg_val): Likewise.
  877. (is_reg_sp_with_bracket): Use function csky_get_reg_val
  878. to parse operand.
  879. (is_reg_sp): Refine.
  880. (is_oimm_within_range): Fix, report error when operand
  881. is not constant.
  882. (parse_type_cpreg): Refine.
  883. (parse_type_cpcreg): Refine.
  884. (get_operand_value): Add handle of OPRND_TYPE_IMM5b_LS.
  885. (md_assemble): Fix no error reporting somtimes when
  886. operands number are not fit.
  887. (csky_addc64): Refine.
  888. (csky_subc64): Refine.
  889. (csky_or64): Refine.
  890. (v1_work_fpu_fo): Refine.
  891. (v1_work_fpu_read): Refine.
  892. (v1_work_fpu_writed): Refine.
  893. (v1_work_fpu_readd): Refine.
  894. (v2_work_addc): New function, strengthen the operands legality
  895. check of addc.
  896. * testsuite/gas/csky/all.d : Use register number format when
  897. disassemble register name by default.
  898. * testsuite/gas/csky/cskyv2_all.d : Likewise.
  899. * testsuite/gas/csky/trust.d: Likewise.
  900. * testsuite/gas/csky/cskyv2_ck860.d : Fix.
  901. * testsuite/gas/csky/trust.s : Fix.
  902. 2020-09-23 Lili Cui <lili.cui@intel.com>
  903. * NEWS: Add Key Locker.
  904. * config/tc-i386.c (cpu_arch): Add .kl and .wide_kl.
  905. (cpu_noarch): Likewise.
  906. * doc/c-i386.texi: Document kl and wide_kl.
  907. * testsuite/gas/i386/i386.exp: Run keylocker tests.
  908. * testsuite/gas/i386/keylocker-intel.d: New test.
  909. * testsuite/gas/i386/keylocker.d: Likewise.
  910. * testsuite/gas/i386/keylocker.s: Likewise.
  911. * testsuite/gas/i386/x86-64-keylocker-intel.d: Likewise.
  912. * testsuite/gas/i386/x86-64-keylocker.d: Likewise.
  913. * testsuite/gas/i386/x86-64-keylocker.s: Likewise.
  914. * testsuite/gas/i386/x86-64-property-10.d: Likewise.
  915. * testsuite/gas/i386/property-10.d: Likewise.
  916. * testsuite/gas/i386/property-10.s: Likewise.
  917. 2020-09-21 Alan Modra <amodra@gmail.com>
  918. PR 26569
  919. * config/tc-riscv.c (append_insn): Don't tie off frags at CALL
  920. relocs.
  921. (riscv_call): Tie them off after the jalr.
  922. (md_apply_fix): Zero fx_size of RELAX fixup.
  923. 2020-09-018 David Faust <david.faust@oracle.com>
  924. * testsuite/gas/bpf/alu-xbpf.d: New file.
  925. * testsuite/gas/bpf/alu-xbpf.s: Likewise.
  926. * testsuite/gas/bpf/alu32-xbpf.d: Likewise.
  927. * testsuite/gas/bpf/alu32-xbpf.d: Likewise.
  928. * testuiste/gas/bpf/bpf.exp: Run new tests.
  929. 2020-09-18 Tucker <tuckkern+sourceware@gmail.com>
  930. PR 26556
  931. * read.c (bss_alloc): Convert size parameter from octets to
  932. bytes.
  933. 2020-09-17 Alan Modra <amodra@gmail.com>
  934. * testsuite/gas/i386/i386.exp: Return early if not x86.
  935. 2020-09-16 Alan Modra <amodra@gmail.com>
  936. * config/obj-elf.c (obj_elf_visibility, elf_frob_symbol): Adjust
  937. elf_symbol_from invocation.
  938. * config/tc-aarch64.c (s_variant_pcs): Likewise.
  939. * config/tc-m68hc11.c (s_m68hc11_mark_symbol): Likewise.
  940. * config/tc-ppc.c (ppc_elf_localentry, ppc_force_relocation),
  941. (ppc_fix_adjustable): Likewise.
  942. * config/tc-xgate.c (xgate_frob_symbol): Likewise.
  943. 2020-09-15 H.J. Lu <hongjiu.lu@intel.com>
  944. * testsuite/gas/cfi/reloc-pe-i386.d: Updated.
  945. * testsuite/gas/i386/x86-64-w64-pcrel.d: Likewise.
  946. 2020-09-15 Alan Modra <amodra@gmail.com>
  947. PR 26610
  948. * config/tc-arm.c (move_or_literal_pool): Correct extraction of
  949. bignum. Use unsigned "v"
  950. (is_double_a_single): Make "v" and "mantissa" unsigned. Formatting.
  951. (double_to_single): Likewise.
  952. 2020-09-15 Nick Clifton <nickc@redhat.com>
  953. * read.c (s_nop): Preserve the input_line_pointer around the call
  954. to md_assemble.
  955. * config/tc-s12z.c (md_assemble): Revert previous delta.
  956. 2020-09-15 David Faust <david.faust@oracle.com>
  957. * config/tc-bpf.h (md_single_noop_insn): Use 'ja 0' for no-op.
  958. 2020-09-14 Nick Clifton <nickc@redhat.com>
  959. * read.c (s_nop): New function. Handles the .nop directive.
  960. (potable): Add entry for "nop".
  961. (s_nops): Code tidy.
  962. * read.h (s_nop): Add prototype.
  963. * config/tc-bpf.h (md_single_noop_insn): Define.
  964. * config/tc-mmix.h (md_single_noop_insn): Define.
  965. * config/tc-or1k.h (md_single_noop_insn): Define.
  966. * config/tc-ia64.h (md_single_noop_insn): Define.
  967. * config/tc-s12z.c (md_assemble): Preserve the input line pointer,
  968. rather than corrupting it.
  969. * write.c (relax_segment): Update error message regarding
  970. non-absolute values passed to .fill and .nops.
  971. * NEWS: Mention the new directive.
  972. * doc/as.texi: Document the new directive.
  973. * doc/internals.texi: Document the new internal macros used to
  974. implement the new directive.
  975. * testsuite/gas/all/nop.s: New test.
  976. * testsuite/gas/all/nop.d: New test control file.
  977. * testsuite/gas/all/gas.exp: Run the new test.
  978. * testsuite/gas/elf/dwarf-5-nop-for-line-table.s: New test.
  979. * testsuite/gas/elf/dwarf-5-nop-for-line-table.d: New test
  980. control file.
  981. * testsuite/gas/elf/elf.exp: Run the new test.
  982. * testsuite/gas/i386/space1.l: Adjust expected output.
  983. 2020-09-07 Mark Wielaard <mark@klomp.org>
  984. * as.texi (-g): Explicitly mention when .debug_info and .debug_line
  985. are generated for the DWARF format.
  986. (Loc): Add that it is an error to both use a .loc directive and
  987. generate a .debug_line yourself.
  988. * dwarf2dbg.c (dwarf2_any_loc_directive_seen): New static variable.
  989. (dwarf2_directive_loc): Set dwarf2_any_loc_directive_seen to TRUE.
  990. (dwarf2_finish): Check dwarf2_any_loc_directive_seen before emitting
  991. an error. Only create .debug_line if it is empty (or doesn't exist).
  992. * testsuite/gas/i386/i386.exp: Add dwarf2-line-{1,2,3,4} when testing
  993. an elf target.
  994. * testsuite/gas/i386/dwarf2-line-{1,2,3,4}.{s,d,l}: New test files.
  995. 2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com>
  996. * config/tc-csky.c (md_begin): Enable extend lrw by default for
  997. CK802, CK803 and CK860.
  998. 2020-09-10 Cooper Qu <cooper.qu@linux.alibaba.com>
  999. * config/tc-csky.c (struct csky_cpu_info): Add new members
  1000. isa_flag, features and ver.
  1001. (struct csky_cpu_feature): New.
  1002. (struct csky_cpu_version): New.
  1003. (CSKY_FEATURE_MAX): Define.
  1004. (CSKY_CPU_REVERISON_MAX): Define.
  1005. (FEATURE_DSP_EXT, FEATURE_DSP, FEATURE_MMU, FEATURE_VDSP,
  1006. FEATURE_FLOAT, FEATURE_TRUST, FEATURE_JAVA, FEATURE_SHIELD):
  1007. Define, each standard one collection of instructions.
  1008. (CSKY_FEATURES_DEF_NULL, CSKY_FEATURES_DEF_e,
  1009. CSKY_FEATURES_DEF_t, CSKY_FEATURES_DEF_f, CSKY_FEATURES_DEF_v,
  1010. CSKY_FEATURES_DEF_ef, CSKY_FEATURES_DEF_jt,
  1011. CSKY_FEATURES_DEF_efht, CSKY_FEATURES_DEF_efv,
  1012. CSKY_FEATURES_DEF_eft, CSKY_FEATURES_DEF_d,
  1013. CSKY_FEATURES_DEF_df, CSKY_FEATURES_DEF_ft,
  1014. CSKY_FEATURES_DEF_tv, CSKY_FEATURES_DEF_fv,
  1015. CSKY_FEATURES_DEF_dft, CSKY_FEATURES_DEF_dfv,
  1016. CSKY_FEATURES_DEF_ftv, CSKY_FEATURES_DEF_eftv): Define,
  1017. the features combination used by cpu.
  1018. (CSKY_CPU_REVERISON_r0p0, CSKY_CPU_REVERISON_r1p0,
  1019. CSKY_CPU_REVERISON_r2p0, CSKY_CPU_REVERISON_r3p0,
  1020. CSKY_CPU_REVERISON_RESERVED, CSKY_CPU_REVERISON_R3):
  1021. Define, version information used by cpu.
  1022. (csky_cpus): Refine, and add CK804, CK805 and CK800.
  1023. (parse_cpu): Refine.
  1024. (parse_arch): Refine.
  1025. (md_show_usage): Refine.
  1026. (md_begin): Refine.
  1027. 2020-09-09 Alan Modra <amodra@gmail.com>
  1028. * config/tc-ppc.c (md_assemble): Emit prefix insn by parts when
  1029. valueT is smaller than 64 bits.
  1030. 2020-09-07 Cooper Qu <cooper.qu@linux.alibaba.com>
  1031. * config/tc-csky.c (CSKYV2_ISA_DSP): CSKY_ISA_DSPE60.
  1032. (CSKY_ISA_860): Likewise.
  1033. 2020-09-07 Cooper Qu <cooper.qu@linux.alibaba.com>
  1034. * config/tc-csky.c (float_abi): New.
  1035. (md_longopts): Add mfloat-abi.
  1036. (struct sky_option_value_table): New.
  1037. (csky_float_abis): New, the possible values for -mfloat-abi.
  1038. (parse_float_abi): New funtion.
  1039. (md_show_usage): Show help information for -mfloat-abi.
  1040. (set_csky_attribute): Store float-abi value.
  1041. 2020-09-07 Cooper Qu <cooper.qu@linux.alibaba.com>
  1042. * config/tc-csky.c (float_work_fpuv3_fmovi): New function,
  1043. helper function to encode fpuv3 fmovi instructions.
  1044. (float_work_fpuv3_fstore): New function.
  1045. (struct literal): Add new member 'offset'.
  1046. (csky_cpus): New cpu CK860f.
  1047. (enter_literal): Return literal pool pointer instead of offset.
  1048. (parse_rt): Adjust the change of enter_literal.
  1049. (parse_rtf): Likewise.
  1050. (v1_work_lrw): Likewise.
  1051. (v1_work_jbsr): Likewise.
  1052. (v2_work_lrw): Likewise.
  1053. (v2_work_jbsr): Likewise.
  1054. (v2_work_jsri): Likewise.
  1055. (vdsp_work_vlrw): Likewise.
  1056. (is_freglist_legal): Add handler for FPUV3.
  1057. (parse_type_freg): Likewise.
  1058. (is_imm_within_range): Set e.X_add_number if it is a signed and
  1059. negtive number.
  1060. (get_operand_value): Add handler for OPRND_TYPE_IMM9b,
  1061. OPRND_TYPE_HFLOAT_FMOVI, OPRND_TYPE_SFLOAT_FMOVI
  1062. and OPRND_TYPE_DFLOAT_FMOVI.
  1063. (float_to_half): Convert float number to harf float.
  1064. * testsuite/gas/csky/case-fpuv3-ck860f/ : New folder containing
  1065. the test cases for FPUV3, they are divided by instruction
  1066. operands format and both have legal cases and illegal cases.
  1067. 2020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  1068. Kuan-Lin Chen <kuanlinchentw@gmail.com>
  1069. * config/tc-msp430.c (msp430_insert_uleb128_fixes): New.
  1070. (msp430_md_end): Call msp430_insert_uleb128_fixes.
  1071. 2020-09-08 Alex Coplan <alex.coplan@arm.com>
  1072. * config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82.
  1073. * doc/c-aarch64.texi: Document -mcpu=cortex-r82.
  1074. 2020-09-08 Alex Coplan <alex.coplan@arm.com>
  1075. * config/tc-aarch64.c (parse_sys_reg): Also pass sysreg name to
  1076. validation function.
  1077. (parse_sys_ins_reg): Likewise.
  1078. (print_operands): Pass CPU features to aarch64_print_operand().
  1079. * testsuite/gas/aarch64/v8-r-bad-sysregs.d: New test.
  1080. * testsuite/gas/aarch64/v8-r-bad-sysregs.l: Error output.
  1081. * testsuite/gas/aarch64/v8-r-bad-sysregs.s: Input.
  1082. * testsuite/gas/aarch64/v8-r-sysregs-need-arch.d: New test.
  1083. * testsuite/gas/aarch64/v8-r-sysregs-need-arch.l: Error output.
  1084. * testsuite/gas/aarch64/v8-r-sysregs.d: New test.
  1085. * testsuite/gas/aarch64/v8-r-sysregs.s: Input for previous two tests.
  1086. 2020-09-08 Alex Coplan <alex.coplan@arm.com>
  1087. * testsuite/gas/aarch64/dfb.d: New test.
  1088. * testsuite/gas/aarch64/dfb.s: Input.
  1089. 2020-09-08 Alex Coplan <alex.coplan@arm.com>
  1090. * config/tc-aarch64.c (aarch64_archs): Add armv8-r.
  1091. * doc/c-aarch64.texi: Document -march=armv8-r.
  1092. 2020-09-07 Mark Wielaard <mark@klomp.org>
  1093. * dwarf2dbg.c (add_line_strp): New function.
  1094. (out_dir_and_file_list): Take line_seg and sizeof_offset as
  1095. arguments, Use DW_FORM_line_strp for dir and file. Call
  1096. add_line_strp and set symbol offset for DWARF2_LINE_VERSION 5.
  1097. (out_debug_line): Call out_dir_and_file_list with line_seg and
  1098. sizeof_offset.
  1099. * testsuite/gas/elf/dwarf-5-file0.d: Expect indirect line
  1100. strings.
  1101. 2020-09-07 Mark Wielaard <mark@klomp.org>
  1102. * dwarf2dbg.c (DWARF2_RNGLISTS_VERSION): New constant.
  1103. (out_debug_ranges): Add ranges_sym argument and set it.
  1104. (out_debug_rnglists): New function.
  1105. (out_debug_info): Change ranges_seg argument to ranges_sym
  1106. and use it to set DW_AT_ranges value.
  1107. (dwarf2_finish): Remove ranges_seg, add ranges_sym. For
  1108. DWARF2_VERSION 5 call out_debug_rnglists.
  1109. 2020-09-07 Mark Wielaard <mark@klomp.org>
  1110. * dwarf2dbg.c (dwarf2_directive_filename): Initialize with_md5 to
  1111. FALSE.
  1112. * testsuite/gas/elf/dwarf-5-file0.s: Add a random bignum.
  1113. 2020-09-01 Mark Wielaard <mark@klomp.org>
  1114. * dwarf2dbg.c (out_debug_abbrev): Use DW_FORM_sec_offset for DWARF
  1115. version 4 or higher.
  1116. 2020-09-02 Alan Modra <amodra@gmail.com>
  1117. * expr.c (add_to_result, subtract_from_result): Use unsigned
  1118. addition and subtraction.
  1119. 2020-09-02 Alan Modra <amodra@gmail.com>
  1120. * config/tc-z80.c (is_overflow): Avoid too large shift.
  1121. 2020-09-02 Alan Modra <amodra@gmail.com>
  1122. * config/tc-sparc.c (in_signed_range): Use an unsigned type for
  1123. sign mask.
  1124. 2020-09-02 Alan Modra <amodra@gmail.com>
  1125. * config/tc-nios2.c (md_apply_fix): Avoid too large shift.
  1126. 2020-09-02 Alan Modra <amodra@gmail.com>
  1127. * config/tc-mips.c (load_register): Avoid too large shift.
  1128. 2020-09-02 Alan Modra <amodra@gmail.com>
  1129. * config/tc-d30v.c (parallel_ok): Use 1UL for left shift expression.
  1130. 2020-09-02 Alan Modra <amodra@gmail.com>
  1131. * config/rx-parse.y (rx_intop): Avoid too large shifts.
  1132. (rx_intop, rx_uintop, rx_disp3op, rx_disp5op, displacement),
  1133. (rtsd_immediate): Use correctly typed unsigned variables.
  1134. 2020-09-02 Alan Modra <amodra@gmail.com>
  1135. * config/obj-macho.c (obj_mach_o_zerofill): Correct type of
  1136. constant shifted left.
  1137. 2020-09-02 Alan Modra <amodra@gmail.com>
  1138. * config/bfin-lex.l: Use an unsigned type for "value".
  1139. 2020-09-02 Alan Modra <amodra@gmail.com>
  1140. * config/tc-pdp11.c (md_number_to_chars): Condition nbytes=8 code
  1141. on BFD64.
  1142. 2020-09-02 Cooper Qu <cooper.qu@linux.alibaba.com>
  1143. * config/tc-csky.c (csky_cpus): Add ck803r3.
  1144. (CSKY_ISA_803R3): Define.
  1145. (CSKY_ISA_803R2): Refine, use CSKY_ISA_803R1.
  1146. 2020-09-02 Cooper Qu <cooper.qu@linux.alibaba.com>
  1147. * testsuite/gas/csky/cskyv2_dsp.d : Fix Encode of mulsws.
  1148. 2020-09-02 Cooper Qu <cooper.qu@linux.alibaba.com>
  1149. * config/tc-csky.c (struct literal): New member bignum.
  1150. (dump_literals): Handle big constant.
  1151. (enter_literal): Likewise.
  1152. (parse_type_freg): Handle vector register.
  1153. 2020-09-01 H.J. Lu <hongjiu.lu@intel.com>
  1154. * doc/as.texi: Document the .tls_common directive.
  1155. 2020-09-01 Alan Modra <amodra@gmail.com>
  1156. PR 26420
  1157. PR 26421
  1158. PR 26425
  1159. PR 26427
  1160. * config/tc-arm.c (struct arm_it): Make size, size_req, cond and
  1161. uncond_value unsigned.
  1162. (parse_vfp_reg_list): Make setmask unsigned, vpr_str_len size_t.
  1163. (parse_big_immediate): Cast generic_bignum elements to unsigned.
  1164. (encode_thumb32_immediate): Shift left 0xffU.
  1165. (double_to_single): Make sign unsigned. Tidy.
  1166. (move_or_literal_pool): Cast LITTLE_NUM elements to uint64_t or
  1167. valueT.
  1168. (vfp_or_neon_is_neon): Adjust inst.uncond_value expression.
  1169. (md_assemble): Likewise.
  1170. (handle_pred_state): Make cond unsigned.
  1171. (thumb32_negate_data_op): Make variables unsigned.
  1172. (md_apply_fix): Make value and newval unsigned, adjust uses.
  1173. 2020-08-31 Alan Modra <amodra@gmail.com>
  1174. PR 26510
  1175. * config/tc-z8k.c (buffer): Use unsigned char.
  1176. (apply_fix): Use unsigned char* pointers.
  1177. (build_bytes): Likewise and mask nibbles when packing.
  1178. 2020-08-31 Alan Modra <amodra@gmail.com>
  1179. PR 26503
  1180. * config/tc-v850.c (parse_register_list): Shift 1u left.
  1181. 2020-08-31 Alan Modra <amodra@gmail.com>
  1182. PR 26502
  1183. * config/tc-tic6x.c (md_apply_fix): Use unsigned variables.
  1184. 2020-08-31 Alan Modra <amodra@gmail.com>
  1185. PR 26497
  1186. * config/tc-sh.c (assemble_ppi): Use unsigned variables.
  1187. 2020-08-31 Alan Modra <amodra@gmail.com>
  1188. PR 26495
  1189. * config/tc-score.c (s3_apply_fix): Use unsigned variables.
  1190. * config/tc-score7.c (s7_apply_fix): Likewise.
  1191. 2020-08-31 Alan Modra <amodra@gmail.com>
  1192. PR 26480
  1193. * config/tc-nios2.c (nios2_parse_reglist): Shift 1UL left.
  1194. 2020-08-31 Alan Modra <amodra@gmail.com>
  1195. PR 26479
  1196. * config/tc-nios2.c (md_chars_to_number): Cast buf[i] before shifting.
  1197. 2020-08-31 Alan Modra <amodra@gmail.com>
  1198. PR 26472
  1199. PR 26473
  1200. PR 26474
  1201. * config/tc-mips.c (operand_reg_mask): Shift 1u left.
  1202. (load_register): Shift 0xffffU left.
  1203. 2020-08-31 Alan Modra <amodra@gmail.com>
  1204. PR 26471
  1205. * config/tc-metag.c (md_chars_to_number): Make retval unsigned.
  1206. 2020-08-31 Alan Modra <amodra@gmail.com>
  1207. PR 26468
  1208. * config/tc-mep.c (md_convert_frag): Use uint32_t for addend and
  1209. other variables.
  1210. 2020-08-31 Alan Modra <amodra@gmail.com>
  1211. PR 26493
  1212. * config/tc-riscv.c (riscv_ip): Cast X_add_number passed to
  1213. VALID_* macros to unsigned.
  1214. 2020-08-31 Alan Modra <amodra@gmail.com>
  1215. * config/tc-crx.c: Formatting.
  1216. (CRX_PRINT): Wrap params in parentheses. Remove parens from uses
  1217. throughout file.
  1218. (reset_vars, get_register, get_copregister, get_optype, get_opbits),
  1219. (get_opflags, get_number_of_operands, parse_operand, gettrap),
  1220. (handle_LoadStor, getconstant, check_range, getreg_image),
  1221. (parse_operands, parse_insn, print_operand, print_constant),
  1222. (exponent2scale, mask_reg, process_label_constant, set_operand),
  1223. (assemble_insn, print_insn): Delete unnecessary forward declaration.
  1224. (print_insn): Make static.
  1225. (print_constant): Make "constant" unsigned.
  1226. (assemble_insn): Tidy REVERSE_MATCH index calc.
  1227. * expr.c (generic_bignum_to_int32): Cast elements to valueT.
  1228. 2020-08-31 Alan Modra <amodra@gmail.com>
  1229. PR 26509
  1230. * config/tc-z80.c (is_overflow): Use 1UL in mask shift expression.
  1231. 2020-08-30 Alan Modra <amodra@gmail.com>
  1232. * config/tc-tic4x.c (tic4x_gen_to_words): Rewrite mantissa
  1233. overflow test without UB. Avoid other UB shifts by making them
  1234. unsigned.
  1235. 2020-08-31 Cooper Qu <cooper.qu@linux.alibaba.com>
  1236. * config/tc-csky.c (csky_error_state): New member 'arg_int'.
  1237. (SET_ERROR_NUMBER): Rename to SET_ERROR_STRING.
  1238. (SET_ERROR_INTEGER): New.
  1239. (err_formats): Add error format for ERROR_FREG_OVER_RANGE and
  1240. ERROR_VREG_OVER_RANGE.
  1241. (csky_show_error): Pass an integer argument for some error
  1242. numbers.
  1243. (parse_exp): Call SET_ERROR_STRING instead of SET_ERROR_NUMBER.
  1244. (parse_rt): Likewise.
  1245. (parse_type_ctrlreg): Likewise.
  1246. (csky_get_reg_val): Likewise.
  1247. (is_reglist_legal): Likewise.
  1248. (is_freglist_legal): Likewise.
  1249. (is_reglist_dash_comma_legal): Likewise.
  1250. (is_reg_lshift_illegal): Likewise.
  1251. (is_psr_bit): Likewise.
  1252. (parse_type_cpreg): Likewise.
  1253. (parse_type_cpcreg): Likewise.
  1254. (parse_type_areg): Likewise.
  1255. (parse_type_freg): Likewise.
  1256. (parse_ldst_imm): Likewise and call SET_ERROR_INTEGER.
  1257. (get_operand_value): Likewise.
  1258. (parse_operands_op): Likewise and call is_imm_within_range,
  1259. is_imm_within_range_ext and is_oimm_within_range.
  1260. (md_assemble): Likewise.
  1261. (is_imm_within_range): New.
  1262. (is_imm_within_range_ext): Rename from is_imm_over_range.
  1263. (is_oimm_within_range): Rename from is_oimm_over_range.
  1264. (v2_work_add_sub): Call SET_ERROR_INTEGER.
  1265. (csky_rolc): call is_imm_within_range instead of
  1266. is_imm_over_range.
  1267. 2020-08-31 Cooper Qu <cooper.qu@linux.alibaba.com>
  1268. * config/tc-csky.c (md_begin): Add warning when -mdsp and
  1269. -mcpu=ck803ern are both added.
  1270. (parse_ldst_imm): Fix error message.
  1271. 2020-08-30 Alan Modra <amodra@gmail.com>
  1272. * testsuite/gas/cr16/cbitb_test.d: Update expected output.
  1273. * testsuite/gas/cr16/cbitw_test.d: Likewise.
  1274. * testsuite/gas/cr16/sbitb_test.d: Likewise.
  1275. * testsuite/gas/cr16/sbitw_test.d: Likewise.
  1276. * testsuite/gas/cr16/storb_test.d: Likewise.
  1277. * testsuite/gas/cr16/storw_test.d: Likewise.
  1278. * testsuite/gas/cr16/tbitb_test.d: Likewise.
  1279. * testsuite/gas/cr16/tbitw_test.d: Likewise.
  1280. 2020-08-30 Alan Modra <amodra@gmail.com>
  1281. PR 26437
  1282. PR 26438
  1283. * config/tc-cr16.c: Include limits.h, formatting.
  1284. (CR16_PRINT): Wrap params in parentheses. Remove parens from uses
  1285. throughout file.
  1286. (getconstant): Handle zero nbits.
  1287. (print_operand): Use unsigned variables. Simplify handling of
  1288. index regs.
  1289. (check_range): Use int32_t variables. Correct range checks.
  1290. 2020-08-29 Alan Modra <amodra@gmail.com>
  1291. PR 26481
  1292. * config/tc-pj.c (md_assemble): Don't loop past end of
  1293. opcode->arg array.
  1294. 2020-08-28 Alan Modra <amodra@gmail.com>
  1295. PR 26460
  1296. * config/tc-ia64.c (parse_operands): Don't access past end of
  1297. idesc->operands.
  1298. 2020-08-26 Mark Wielaard <mark@klomp.org>
  1299. * as.c (parse_args): Handle bad -gdwarf options.
  1300. 2020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
  1301. * config/tc-csky.c (md_begin): Set attributes.
  1302. (isa_flag): Change type to unsigned 64 bits.
  1303. (struct csky_cpu_info): Likewise.
  1304. (struct csky_macro_info): Likewise.
  1305. (set_csky_attribute): New.
  1306. * testsuite/gas/csky/802j.d: Ignore .csky.attributes section.
  1307. * testsuite/gas/csky/all.d: Likewise.
  1308. * testsuite/gas/csky/bsr1.d: Likewise.
  1309. * testsuite/gas/csky/csky_vdsp.d: Likewise.
  1310. * testsuite/gas/csky/cskyv2_all.d: Likewise.
  1311. * testsuite/gas/csky/cskyv2_ck803r2.d: Likewise.
  1312. * testsuite/gas/csky/cskyv2_ck860.d: Likewise.
  1313. * testsuite/gas/csky/cskyv2_dsp.d: Likewise.
  1314. * testsuite/gas/csky/cskyv2_elrw.d: Likewise.
  1315. * testsuite/gas/csky/cskyv2_float.d: Likewise.
  1316. * testsuite/gas/csky/enhance_dsp.d: Likewise.
  1317. * testsuite/gas/csky/java.d: Likewise.
  1318. * testsuite/gas/csky/v1_float.d: Likewise.
  1319. * testsuite/gas/csky/v2_float_part1.d: Likewise.
  1320. * testsuite/gas/csky/v2_float_part2.d: Likewise.
  1321. * testsuite/gas/csky/v2_tls_gd.d: Likewise.
  1322. * testsuite/gas/csky/v2_tls_ie.d: Likewise.
  1323. * testsuite/gas/csky/v2_tls_ld.d: Likewise.
  1324. * testsuite/gas/csky/v2_tls_le.d: Likewise.
  1325. * testsuite/gas/elf/elf.exp: Add handler for CSKY.
  1326. * testsuite/gas/elf/section2.e-csky: New.
  1327. 2020-08-27 Alan Modra <amodra@gmail.com>
  1328. PR 26467
  1329. * cgen.c (weak_operand_overflow_check): Handle opmask for
  1330. operand length zero. Use 1UL constant.
  1331. 2020-08-26 Alan Modra <amodra@gmail.com>
  1332. PR 26508
  1333. * config/tc-xtensa.c (xg_get_trampoline_chain): Return early
  1334. when n_entries is zero.
  1335. 2020-08-26 Alan Modra <amodra@gmail.com>
  1336. PR 26448
  1337. * symbols.c: Include limits.h.
  1338. (resolve_symbol_value <O_left_shift, O_right_shift>): Do an
  1339. unsigned shift. Warn if shift count larger than valueT size.
  1340. 2020-08-26 Alan Modra <amodra@gmail.com>
  1341. PR 26447
  1342. * expr.c (expr <O_left_shift>): Do an unsigned shift.
  1343. 2020-08-25 Alan Modra <amodra@gmail.com>
  1344. 2020-08-26 David Faust <david.faust@oracle.com>
  1345. * config/tc-bpf.c: Add option -mxbpf to select xbpf isa.
  1346. * testsuite/gas/bpf/indcall-1.d: New file.
  1347. * testsuite/gas/bpf/indcall-1.s: Likewise.
  1348. * testsuite/gas/bpf/indcall-bad-1.l: Likewise.
  1349. * testsuite/gas/bpf/indcall-bad-1.s: Likewise.
  1350. * testsuite/gas/bpf/bpf.exp: Run new tests.
  1351. 2020-08-25 Alan Modra <amodra@gmail.com>
  1352. PR 26501
  1353. * config/tc-tic54x.c (tic54x_undefined_symbol): Properly treat
  1354. misc_symbol_hash entries without values.
  1355. 2020-08-25 Alan Modra <amodra@gmail.com>
  1356. PR 26500
  1357. * config/tc-tic4x.c (tic4x_inst_make): Don't die on terminating
  1358. insn with name = "".
  1359. 2020-08-25 Alan Modra <amodra@gmail.com>
  1360. PR 26441
  1361. * config/tc-cr16.c (get_b_cc): Return NULL early if op isn't
  1362. two or three chars, and don't bother copying.
  1363. 2020-08-25 Alan Modra <amodra@gmail.com>
  1364. PR 26426
  1365. * config/tc-arm.c (do_neon_mvn, do_neon_swp): Bail out on
  1366. NS_NULL shape.
  1367. 2020-08-25 Alan Modra <amodra@gmail.com>
  1368. PR 26410
  1369. * symbols.c (dollar_label_count, dollar_label_max): Make size_t.
  1370. (dollar_label_clear): Don't call memset with NULL pointer.
  1371. 2020-08-25 Alan Modra <amodra@gmail.com>
  1372. * config/tc-arc.c (declare_register_set): Avoid false positive
  1373. format-overflow warning.
  1374. * config/tc-epiphany.c (md_assemble): Likewise.
  1375. * config/tc-mips.c (md_begin): Likewise.
  1376. * config/tc-mmix.c (mmix_md_begin): Likewise.
  1377. * config/tc-nds32.c (nds32_elf_append_relax_relocs): Avoid false
  1378. positive "may be used uninitialized" warning.
  1379. 2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
  1380. * config/tc-csky.c (csky_archs): Add item for CK860,
  1381. change ck810 and ck807's arch_flag.
  1382. (csky_cpus): Add item for CK860.
  1383. (md_begin): Enable DSP for CK810 and CK807 by default.
  1384. (md_apply_fix): Fix CKCORE_TLS_IE32 relocation failure.
  1385. * testsuite/gas/csky/cskyv2_all.d: Change 'sync 0' to 'sync'.
  1386. * testsuite/gas/csky/cskyv2_all.s: Likewise.
  1387. * testsuite/gas/csky/cskyv2_ck860.d: New.
  1388. * testsuite/gas/csky/cskyv2_ck860.s: New.
  1389. * testsuite/gas/csky/enhance_dsp.d: Change plsli.u16 to plsli.16.
  1390. * testsuite/gas/csky/enhance_dsp.s: Likewise.
  1391. 2020-08-24 Alan Modra <amodra@gmail.com>
  1392. * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name"
  1393. in case where it isn't copied.
  1394. * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef.
  1395. * testsuite/gas/tic54x/field.d: Dump section contents and symbols
  1396. rather than disassembling.
  1397. * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
  1398. 2020-08-24 Alan Modra <amodra@gmail.com>
  1399. * config/tc-aarch64.c (md_begin): Don't bother checking for
  1400. out of memory failure from str_htab_create.
  1401. * config/tc-arc.c (arc_insert_opcode, md_begin): Likewise.
  1402. (arc_extcorereg, arc_stralloc): Likewise.
  1403. * config/tc-arm.c (md_begin): Likewise.
  1404. * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
  1405. * config/tc-cris.c (md_begin): Likewise.
  1406. * config/tc-crx.c (md_begin): Likewise.
  1407. * config/tc-pdp11.c (md_begin): Likewise.
  1408. * config/tc-score.c (s3_build_reg_hsh, s3_begin): Likewise.
  1409. * config/tc-score7.c (s7_build_reg_hsh, s7_begin): Likewise.
  1410. 2020-08-24 Alan Modra <amodra@gmail.com>
  1411. * config/tc-arm.c (move_or_literal_pool): Avoid false positive
  1412. "may be used uninitialised".
  1413. (opcode_lookup): Likewise.
  1414. 2020-08-24 Alan Modra <amodra@gmail.com>
  1415. PR 26526
  1416. * symbols.c (local_symbol_convert): Clear out xtra.
  1417. 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
  1418. * config/tc-csky.c (CSKY_ISA_803R2): New.
  1419. (csky_archs): Add ck803r2 series.
  1420. (md_begin): Fix warning about -medsp.
  1421. (csky_get_freg_val): Support lowercase of fpu register name.
  1422. * testsuite/gas/csky/cskyv2_ck803r2.s: New file.
  1423. * testsuite/gas/csky/cskyv2_ck803r2.d: New file.
  1424. 2020-08-23 Alan Modra <amodra@gmail.com>
  1425. PR 26513
  1426. * hash.h (htab_insert): Update prototype and comment.
  1427. (struct string_tuple): Make "value" a const void*.
  1428. (string_tuple_alloc): Likewise.
  1429. (str_hash_find, str_hash_find_n): Cast returned value.
  1430. (str_hash_insert): Add "replace" parameter, and return slot pointer.
  1431. Free alloc'd element when not inserted.
  1432. * hash.c (htab_insert): Likewise. Return slot when element exists,
  1433. otherwise return NULL.
  1434. * read.c (pop_insert): Insert into hash table without first searching.
  1435. * config/tc-avr.c (md_begin): Likewise.
  1436. * config/tc-msp430.c (md_begin): Likewise.
  1437. * config/tc-nds32.c (nds32_init_nds32_pseudo_opcodes): Likewise.
  1438. * config/tc-v850.c (md_begin): Likewise.
  1439. * macro.c (do_formals, define_macro, macro_expand_body): Likewise.
  1440. (delete_macro): Delete from hash table.
  1441. * config/tc-tic54x.c (subsym_create_or_replace): Correct logic.
  1442. * symbols.c (local_symbol_make, symbol_table_insert): Allow
  1443. replacement of hash table entries.
  1444. * config/obj-coff-seh.c (seh_hash_insert): Likewise.
  1445. * config/obj-coff.c (tag_insert): Likewise.
  1446. * config/tc-iq2000.c (iq2000_add_macro): Likewise.
  1447. * config/tc-m68k.c (md_begin): Likewise for aliases.
  1448. * config/tc-tic4x.c (tic4x_asg): Likewise.
  1449. * config/tc-tic6x.c (md_begin): Likewise.
  1450. * dw2gencfi.c (dwcfi_hash_find_or_make): Disallow replacement of
  1451. hash table entries.
  1452. * ecoff.c (add_string, get_tag): Likewise.
  1453. * macro.c (expand_irp): Likewise.
  1454. * config/obj-elf.c (build_additional_section_info): Likewise.
  1455. * config/tc-aarch64.c (insert_reg_alias): Likewise.
  1456. (checked_hash_insert): Likewise.
  1457. * config/tc-alpha.c (get_alpha_reloc_tag, md_begin): Likewise.
  1458. * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
  1459. (declare_addrtype, md_begin, arc_extcorereg): Likewise.
  1460. * config/tc-arm.c (insert_reg_alias): Likewise.
  1461. (arm_tc_equal_in_insn, md_begin): Likewise.
  1462. * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
  1463. * config/tc-cris.c (md_begin): Likewise.
  1464. * config/tc-crx.c (md_begin): Likewise.
  1465. * config/tc-csky.c (md_begin): Likewise.
  1466. * config/tc-d10v.c (md_begin): Likewise.
  1467. * config/tc-dlx.c (md_begin): Likewise.
  1468. * config/tc-ft32.c (md_begin): Likewise.
  1469. * config/tc-h8300.c (md_begin): Likewise.
  1470. * config/tc-hppa.c (md_begin): Likewise.
  1471. * config/tc-i386.c (md_begin): Likewise.
  1472. * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
  1473. (md_begin, dot_alias): Likewise.
  1474. * config/tc-m68hc11.c (md_begin): Likewise.
  1475. * config/tc-m68k.c (md_begin): Likewise.
  1476. * config/tc-mcore.c (md_begin): Likewise.
  1477. * config/tc-microblaze.c (md_begin): Likewise.
  1478. * config/tc-mips.c (md_begin): Likewise.
  1479. * config/tc-mmix.c (md_begin): Likewise.
  1480. * config/tc-mn10200.c (md_begin): Likewise.
  1481. * config/tc-mn10300.c (md_begin): Likewise.
  1482. * config/tc-moxie.c (md_begin): Likewise.
  1483. * config/tc-nds32.c (nds32_relax_hint, md_begin): Likewise.
  1484. * config/tc-nios2.c (md_begin): Likewise.
  1485. * config/tc-ns32k.c (md_begin): Likewise.
  1486. * config/tc-pdp11.c (md_begin): Likewise.
  1487. * config/tc-pj.c (fake_opcode, md_begin): Likewise.
  1488. * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
  1489. * config/tc-pru.c (md_begin): Likewise.
  1490. * config/tc-riscv.c (init_ext_version_hash): Likewise.
  1491. (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
  1492. (riscv_init_csr_hash): Likewise.
  1493. * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
  1494. * config/tc-score.c (s3_insert_reg): Likewise.
  1495. (s3_build_score_ops_hsh, s3_build_dependency_insn_hsh): Likewise.
  1496. * config/tc-score7.c (s7_build_score_ops_hsh): Likewise.
  1497. (s7_build_dependency_insn_hsh, s7_insert_reg): Likewise.
  1498. * config/tc-sh.c (md_begin): Likewise.
  1499. * config/tc-sparc.c (md_begin): Likewise.
  1500. * config/tc-spu.c (md_begin): Likewise.
  1501. * config/tc-tic30.c (md_begin): Likewise.
  1502. * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
  1503. * config/tc-tic54x.c (stag_add_field_symbols, md_begin): Likewise.
  1504. (tic54x_endstruct, tic54x_var, tic54x_macro_info): Likewise.
  1505. (subsym_substitute): Likewise.
  1506. * config/tc-tilegx.c (md_begin): Likewise.
  1507. * config/tc-tilepro.c (md_begin): Likewise.
  1508. * config/tc-vax.c (vip_begin): Likewise.
  1509. * config/tc-wasm32.c (md_begin): Likewise.
  1510. * config/tc-xgate.c (md_begin): Likewise.
  1511. * config/tc-z8k.c (md_begin): Likewise.
  1512. * testsuite/gas/ppc/dcbt.d,
  1513. * testsuite/gas/ppc/dcbt.s: New test.
  1514. * testsuite/gas/ppc/ppc.exp: Run it.
  1515. * ecoff.c (add_string): Report fatal error on duplicates.
  1516. * config/tc-alpha.c (md_begin): Likewise.
  1517. * config/tc-arc.c (arc_insert_opcode, declare_register): Likewise.
  1518. (declare_addrtype, md_begin, arc_extcorereg): Likewise.
  1519. * config/tc-cr16.c (initialise_reg_hash_table, md_begin): Likewise.
  1520. * config/tc-cris.c (md_begin): Likewise.
  1521. * config/tc-crx.c (md_begin): Likewise.
  1522. * config/tc-dlx.c (md_begin): Likewise.
  1523. * config/tc-hppa.c (md_begin): Likewise.
  1524. * config/tc-i386.c (md_begin): Likewise.
  1525. * config/tc-ia64.c (dot_rot, dot_entry, declare_register): Likewise.
  1526. (md_begin): Likewise.
  1527. * config/tc-m68k.c (md_begin): Likewise.
  1528. * config/tc-mips.c (md_begin): Likewise.
  1529. * config/tc-nios2.c (md_begin): Likewise.
  1530. * config/tc-ns32k.c (md_begin): Likewise.
  1531. * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
  1532. * config/tc-pru.c (md_begin): Likewise.
  1533. * config/tc-riscv.c (init_ext_version_hash): Likewise.
  1534. (init_opcode_names_hash, hash_reg_name, init_opcode_hash): Likewise.
  1535. * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
  1536. * config/tc-sparc.c (md_begin): Likewise.
  1537. * config/tc-tic30.c (md_begin): Likewise.
  1538. * config/tc-tic4x.c (tic4x_inst_insert): Likewise.
  1539. * config/tc-tilegx.c (md_begin): Likewise.
  1540. * config/tc-tilepro.c (md_begin): Likewise.
  1541. * config/tc-vax.c (vip_begin): Likewise.
  1542. * config/tc-alpha.c,
  1543. * config/tc-arm.c,
  1544. * config/tc-avr.c,
  1545. * config/tc-cr16.c,
  1546. * config/tc-csky.c,
  1547. * config/tc-i386.c,
  1548. * config/tc-m68hc11.c,
  1549. * config/tc-m68k.c,
  1550. * config/tc-microblaze.c,
  1551. * config/tc-ns32k.c,
  1552. * config/tc-pj.c,
  1553. * config/tc-ppc.c,
  1554. * config/tc-score.c,
  1555. * config/tc-score7.c,
  1556. * config/tc-tic4x.c,
  1557. * config/tc-tic54x.c,
  1558. * config/tc-tilegx.c,
  1559. * config/tc-tilepro.c,
  1560. * config/tc-xgate.c: Formatting.
  1561. 2020-08-21 Alan Modra <amodra@gmail.com>
  1562. * symbols.c (struct local_symbol): Add "hash" entry. Reorder fields.
  1563. Delete union. Adjust code throughout file.
  1564. (struct symbol): Add "hash", "name" and "x" entries. Reorder fields.
  1565. Split off some to..
  1566. (struct xsymbol): ..this. New struct. Adjust code throughout file
  1567. accessing these fields.
  1568. (struct symbol_entry): Delete.
  1569. (union symbol_entry): New.
  1570. (hash_symbol_entry): Adjust for symbol_entry_t change.
  1571. (symbol_entry_find): Likewise.
  1572. (eq_symbol_entry): Compare hash values too.
  1573. (symbol_entry_alloc): Delete.
  1574. (local_symbol_converted_p, local_symbol_mark_converted): Delete.
  1575. (local_symbol_get_real_symbol, local_symbol_set_real_symbol): Delete.
  1576. (local_hash): Delete.
  1577. (abs_symbol_x, dot_symbol_x): New static var.
  1578. (symbol_init): New function.
  1579. (symbol_create): Rewrite.
  1580. (LOCAL_SYMBOL_CHECK): Delete. Replace uses throughout with simple
  1581. test of flags.local_symbol.
  1582. (local_symbol_make): Adjust for struct local_symbol changes.
  1583. (local_symbol_convert): Rewrite. Adjust all callers.
  1584. (symbol_table_insert): Simplify.
  1585. (symbol_clone): Comment on local sym cloning. Handle split symbol
  1586. struct.
  1587. (get_real_sym): Delete. Remove all uses.
  1588. (symbol_find_exact_noref): Simplify.
  1589. (resolve_local_symbol): Don't resolve non-locals.
  1590. (S_SET_SEGMENT): Don't special case reg_section.
  1591. (S_SET_NAME): Set both name and bsym->name.
  1592. (symbol_mark_resolved, symbol_resolved_p): Simplify.
  1593. (symbol_symbolS): Update comment.
  1594. (symbol_begin): Don't create local_hash. Adjust abs_symbol setup.
  1595. (dot_symbol_init): Adjust dot_symbol setup.
  1596. (symbol_print_statistics): Delete local_hash stats.
  1597. 2020-08-21 Alan Modra <amodra@gmail.com>
  1598. * symbols.c (struct symbol_flags): Rename sy_volatile to volatil,
  1599. and remove sy_ from other field names. Update throughout.
  1600. (struct symbol): Remove sy_ from field names. Delete unused
  1601. TARGET_SYMBOL_FIELDS. Update throughout file. Move after..
  1602. (struct local_symbol): ..here. Remove lsy_ from field names.
  1603. Delete unused TC_LOCAL_SYMFIELD_TYPE. Update throughout file.
  1604. (local_symbol_resolved_p, local_symbol_mark_resolved): Delete.
  1605. Expand uses throughout file.
  1606. (local_symbol_get_frag, local_symbol_set_frag): Likewise.
  1607. (symbol_new): Move symbol_table_frozen test to..
  1608. (symbol_append): ..here, and..
  1609. (symbol_insert): ..here.
  1610. (resolve_symbol_value, symbol_relc_make_expr): White space fixes.
  1611. (HANDLE_XADD_OPT1, HANDLE_XADD_OPT2): Likewise.
  1612. * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Update.
  1613. 2020-08-21 Alan Modra <amodra@gmail.com>
  1614. * symbols.h (symbol_new, symbol_create, local_symbol_make),
  1615. (symbol_temp_new): Arrange params as section, frag, offset.
  1616. * symbols.c: Adjust to suit.
  1617. * as.c: Likewise.
  1618. * cgen.c: Likewise.
  1619. * dwarf2dbg.c: Likewise.
  1620. * ecoff.c: Likewise.
  1621. * expr.c: Likewise.
  1622. * itbl-ops.c: Likewise.
  1623. * read.c: Likewise.
  1624. * stabs.c: Likewise.
  1625. * subsegs.c: Likewise.
  1626. * config/obj-coff.c: Likewise.
  1627. * config/obj-elf.c: Likewise.
  1628. * config/obj-macho.c: Likewise.
  1629. * config/tc-aarch64.c: Likewise.
  1630. * config/tc-alpha.c: Likewise.
  1631. * config/tc-arc.c: Likewise.
  1632. * config/tc-arm.c: Likewise.
  1633. * config/tc-avr.c: Likewise.
  1634. * config/tc-cr16.c: Likewise.
  1635. * config/tc-cris.c: Likewise.
  1636. * config/tc-csky.c: Likewise.
  1637. * config/tc-dlx.c: Likewise.
  1638. * config/tc-hppa.c: Likewise.
  1639. * config/tc-i386.c: Likewise.
  1640. * config/tc-ia64.c: Likewise.
  1641. * config/tc-m32r.c: Likewise.
  1642. * config/tc-m68k.c: Likewise.
  1643. * config/tc-mips.c: Likewise.
  1644. * config/tc-mmix.c: Likewise.
  1645. * config/tc-mn10200.c: Likewise.
  1646. * config/tc-mn10300.c: Likewise.
  1647. * config/tc-nds32.c: Likewise.
  1648. * config/tc-nios2.c: Likewise.
  1649. * config/tc-ppc.c: Likewise.
  1650. * config/tc-riscv.c: Likewise.
  1651. * config/tc-s390.c: Likewise.
  1652. * config/tc-sh.c: Likewise.
  1653. * config/tc-tic4x.c: Likewise.
  1654. * config/tc-tic54x.c: Likewise.
  1655. * config/tc-xtensa.c: Likewise.
  1656. 2020-08-21 Cooper Qu <cooper.qu@linux.alibaba.com>
  1657. * config/tc-csky.c (csky_insn_info): Add member last_isize.
  1658. (md_assemble): Assign value to csky_insn.last_isize.
  1659. * testsuite/gas/csky/enhance_dsp.d: Test bloop's two operands form.
  1660. * testsuite/gas/csky/enhance_dsp.s: Likewise.
  1661. 2020-08-20 Martin Liska <mliska@suse.cz>
  1662. * NEWS: Mention --reduce-memory-overheads and --hash-size arguments
  1663. options.
  1664. * as.c: Remove the options from help.
  1665. * doc/as.texi: Remove options.
  1666. * doc/internals.texi: Remove hash from documentation.
  1667. * hash.c (struct hash_entry): Remove.
  1668. (struct hash_control): Likewise.
  1669. (set_gas_hash_table_size): Likewise.
  1670. (hash_new_sized): Likewise.
  1671. (hash_new): Likewise.
  1672. (hash_die): Likewise.
  1673. (hash_lookup): Likewise.
  1674. (hash_insert): Likewise.
  1675. (hash_jam): Likewise.
  1676. (hash_replace): Likewise.
  1677. (hash_find): Likewise.
  1678. (hash_find_n): Likewise.
  1679. (hash_delete): Likewise.
  1680. (hash_traverse): Likewise.
  1681. (hash_print_statistics): Likewise.
  1682. (TABLES): Likewise.
  1683. (STATBUFSIZE): Likewise.
  1684. (main): Likewise.
  1685. (what): Likewise.
  1686. (destroy): Likewise.
  1687. (applicatee): Likewise.
  1688. (whattable): Likewise.
  1689. * hash.h (struct hash_control): Likewise.
  1690. (set_gas_hash_table_size): Likewise.
  1691. (hash_new): Likewise.
  1692. (hash_new_sized): Likewise.
  1693. (hash_die): Likewise.
  1694. (hash_insert): Likewise.
  1695. (hash_jam): Likewise.
  1696. (hash_replace): Likewise.
  1697. (hash_find): Likewise.
  1698. (hash_find_n): Likewise.
  1699. (hash_delete): Likewise.
  1700. (hash_traverse): Likewise.
  1701. (hash_print_statistics): Likewise.
  1702. 2020-08-20 Martin Liska <mliska@suse.cz>
  1703. * config/obj-coff-seh.c (seh_hash_insert): Port to use new
  1704. str_htab type.
  1705. (seh_hash_find): Likewise.
  1706. (seh_hash_find_or_make): Likewise.
  1707. * config/obj-coff.c (tag_init): Likewise.
  1708. (tag_insert): Likewise.
  1709. (tag_find): Likewise.
  1710. * config/obj-elf.c (struct group_list): Likewise.
  1711. (build_additional_section_info): Likewise.
  1712. (free_section_idx): Likewise.
  1713. (elf_adjust_symtab): Likewise.
  1714. (elf_frob_file_after_relocs): Likewise.
  1715. * config/tc-aarch64.c (INSN_SIZE): Likewise.
  1716. (parse_reg): Likewise.
  1717. (insert_reg_alias): Likewise.
  1718. (create_register_alias): Likewise.
  1719. (s_unreq): Likewise.
  1720. (parse_shift): Likewise.
  1721. (parse_pldop): Likewise.
  1722. (parse_barrier): Likewise.
  1723. (parse_barrier_psb): Likewise.
  1724. (parse_bti_operand): Likewise.
  1725. (parse_sys_reg): Likewise.
  1726. (parse_sys_ins_reg): Likewise.
  1727. (lookup_mnemonic): Likewise.
  1728. (opcode_lookup): Likewise.
  1729. (parse_operands): Likewise.
  1730. (checked_hash_insert): Likewise.
  1731. (sysreg_hash_insert): Likewise.
  1732. (fill_instruction_hash_table): Likewise.
  1733. (md_begin): Likewise.
  1734. * config/tc-alpha.c (struct alpha_reloc_tag): Likewise.
  1735. (get_alpha_reloc_tag): Likewise.
  1736. (assemble_tokens_to_insn): Likewise.
  1737. (assemble_tokens): Likewise.
  1738. (md_begin): Likewise.
  1739. * config/tc-arc.c (arc_find_opcode): Likewise.
  1740. (arc_insert_opcode): Likewise.
  1741. (find_opcode_match): Likewise.
  1742. (declare_register): Likewise.
  1743. (declare_addrtype): Likewise.
  1744. (md_begin): Likewise.
  1745. (arc_parse_name): Likewise.
  1746. (tc_arc_regname_to_dw2regnum): Likewise.
  1747. (arc_extcorereg): Likewise.
  1748. * config/tc-arm.c (MVE_BAD_QREG): Likewise.
  1749. (arm_reg_parse_multi): Likewise.
  1750. (parse_reloc): Likewise.
  1751. (insert_reg_alias): Likewise.
  1752. (create_register_alias): Likewise.
  1753. (s_unreq): Likewise.
  1754. (parse_shift): Likewise.
  1755. (parse_psr): Likewise.
  1756. (parse_cond): Likewise.
  1757. (parse_barrier): Likewise.
  1758. (do_vfp_nsyn_opcode): Likewise.
  1759. (opcode_lookup): Likewise.
  1760. (arm_tc_equal_in_insn): Likewise.
  1761. (md_begin): Likewise.
  1762. * config/tc-avr.c (md_begin): Likewise.
  1763. (avr_ldi_expression): Likewise.
  1764. (md_assemble): Likewise.
  1765. (avr_update_gccisr): Likewise.
  1766. (avr_emit_insn): Likewise.
  1767. * config/tc-cr16.c (get_register): Likewise.
  1768. (get_register_pair): Likewise.
  1769. (get_index_register): Likewise.
  1770. (get_index_register_pair): Likewise.
  1771. (get_pregister): Likewise.
  1772. (get_pregisterp): Likewise.
  1773. (initialise_reg_hash_table): Likewise.
  1774. (md_begin): Likewise.
  1775. (cr16_assemble): Likewise.
  1776. (md_assemble): Likewise.
  1777. * config/tc-cris.c (cris_insn_first_word_frag): Likewise.
  1778. (md_begin): Likewise.
  1779. (cris_process_instruction): Likewise.
  1780. * config/tc-crx.c (get_register): Likewise.
  1781. (get_copregister): Likewise.
  1782. (md_begin): Likewise.
  1783. (md_assemble): Likewise.
  1784. * config/tc-csky.c (md_begin): Likewise.
  1785. (parse_opcode): Likewise.
  1786. (get_operand_value): Likewise.
  1787. (v1_work_jbsr): Likewise.
  1788. (v2_work_rotlc): Likewise.
  1789. (v2_work_bgeni): Likewise.
  1790. (v2_work_not): Likewise.
  1791. * config/tc-d10v.c (sizeof): Likewise.
  1792. (md_begin): Likewise.
  1793. (do_assemble): Likewise.
  1794. (md_apply_fix): Likewise.
  1795. * config/tc-d30v.c (sizeof): Likewise.
  1796. (md_begin): Likewise.
  1797. (do_assemble): Likewise.
  1798. * config/tc-dlx.c (RELOC_DLX_VTENTRY): Likewise.
  1799. (md_begin): Likewise.
  1800. (machine_ip): Likewise.
  1801. * config/tc-ft32.c (md_begin): Likewise.
  1802. (md_assemble): Likewise.
  1803. * config/tc-h8300.c (md_begin): Likewise.
  1804. (md_assemble): Likewise.
  1805. * config/tc-hppa.c (pa_ip): Likewise.
  1806. (md_begin): Likewise.
  1807. * config/tc-i386.c (md_begin): Likewise.
  1808. (i386_print_statistics): Likewise.
  1809. (parse_insn): Likewise.
  1810. (process_operands): Likewise.
  1811. (i386_index_check): Likewise.
  1812. (parse_real_register): Likewise.
  1813. * config/tc-ia64.c (dot_rot): Likewise.
  1814. (dot_entry): Likewise.
  1815. (declare_register): Likewise.
  1816. (md_begin): Likewise.
  1817. (ia64_parse_name): Likewise.
  1818. (md_assemble): Likewise.
  1819. (dot_alias): Likewise.
  1820. (do_alias): Likewise.
  1821. (ia64_adjust_symtab): Likewise.
  1822. (do_secalias): Likewise.
  1823. (ia64_frob_file): Likewise.
  1824. * config/tc-m68hc11.c (m68hc11_print_statistics): Likewise.
  1825. (md_begin): Likewise.
  1826. (print_insn_format): Likewise.
  1827. (md_assemble): Likewise.
  1828. * config/tc-m68k.c (tc_gen_reloc): Likewise.
  1829. (m68k_ip): Likewise.
  1830. (md_begin): Likewise.
  1831. * config/tc-mcore.c (md_begin): Likewise.
  1832. (md_assemble): Likewise.
  1833. * config/tc-microblaze.c (md_begin): Likewise.
  1834. (md_assemble): Likewise.
  1835. (md_apply_fix): Likewise.
  1836. * config/tc-mips.c (nopic_need_relax): Likewise.
  1837. (md_begin): Likewise.
  1838. (macro_build): Likewise.
  1839. (mips16_macro_build): Likewise.
  1840. (mips_lookup_insn): Likewise.
  1841. (mips_ip): Likewise.
  1842. (mips16_ip): Likewise.
  1843. * config/tc-mmix.c (sizeof): Likewise.
  1844. (mmix_md_begin): Likewise.
  1845. (md_assemble): Likewise.
  1846. * config/tc-mn10200.c (md_begin): Likewise.
  1847. (md_assemble): Likewise.
  1848. * config/tc-mn10300.c (HAVE_AM30): Likewise.
  1849. (md_begin): Likewise.
  1850. (md_assemble): Likewise.
  1851. * config/tc-moxie.c (md_begin): Likewise.
  1852. (md_assemble): Likewise.
  1853. * config/tc-msp430.c (md_begin): Likewise.
  1854. (msp430_operands): Likewise.
  1855. (md_assemble): Likewise.
  1856. * config/tc-nds32.c (PV_DONT_CARE): Likewise.
  1857. (builtin_isreg): Likewise.
  1858. (builtin_regnum): Likewise.
  1859. (nds32_init_nds32_pseudo_opcodes): Likewise.
  1860. (nds32_lookup_pseudo_opcode): Likewise.
  1861. (nds32_relax_hint): Likewise.
  1862. (md_begin): Likewise.
  1863. (nds32_find_reloc_table): Likewise.
  1864. (nds32_elf_append_relax_relocs_traverse): Likewise.
  1865. (nds32_relax_branch_instructions): Likewise.
  1866. (md_convert_frag): Likewise.
  1867. (nds32_elf_analysis_relax_hint): Likewise.
  1868. (tc_nds32_regname_to_dw2regnum): Likewise.
  1869. * config/tc-nios2.c (nios2_opcode_lookup): Likewise.
  1870. (nios2_reg_lookup): Likewise.
  1871. (nios2_ps_lookup): Likewise.
  1872. (md_begin): Likewise.
  1873. * config/tc-ns32k.c (struct hash_control): Likewise.
  1874. (parse): Likewise.
  1875. (md_begin): Likewise.
  1876. * config/tc-pdp11.c (md_begin): Likewise.
  1877. (md_assemble): Likewise.
  1878. * config/tc-pj.c (fake_opcode): Likewise.
  1879. (alias): Likewise.
  1880. (md_begin): Likewise.
  1881. (md_assemble): Likewise.
  1882. * config/tc-ppc.c (ppc_setup_opcodes): Likewise.
  1883. (md_assemble): Likewise.
  1884. * config/tc-pru.c (pru_opcode_lookup): Likewise.
  1885. (pru_reg_lookup): Likewise.
  1886. (md_begin): Likewise.
  1887. (md_end): Likewise.
  1888. * config/tc-riscv.c (init_ext_version_hash): Likewise.
  1889. (riscv_get_default_ext_version): Likewise.
  1890. (riscv_set_arch): Likewise.
  1891. (init_opcode_names_hash): Likewise.
  1892. (opcode_name_lookup): Likewise.
  1893. (enum reg_class): Likewise.
  1894. (hash_reg_name): Likewise.
  1895. (riscv_init_csr_hash): Likewise.
  1896. (reg_csr_lookup_internal): Likewise.
  1897. (reg_lookup_internal): Likewise.
  1898. (init_opcode_hash): Likewise.
  1899. (md_begin): Likewise.
  1900. (DECLARE_CSR): Likewise.
  1901. (macro_build): Likewise.
  1902. (riscv_ip): Likewise.
  1903. * config/tc-s390.c (register_name): Likewise.
  1904. (s390_setup_opcodes): Likewise.
  1905. (md_begin): Likewise.
  1906. (md_assemble): Likewise.
  1907. (s390_insn): Likewise.
  1908. * config/tc-score.c (struct s3_reg_map): Likewise.
  1909. (s3_score_reg_parse): Likewise.
  1910. (s3_dependency_type_from_insn): Likewise.
  1911. (s3_parse_16_32_inst): Likewise.
  1912. (s3_parse_48_inst): Likewise.
  1913. (s3_insert_reg): Likewise.
  1914. (s3_build_reg_hsh): Likewise.
  1915. (s3_build_score_ops_hsh): Likewise.
  1916. (s3_build_dependency_insn_hsh): Likewise.
  1917. (s3_begin): Likewise.
  1918. * config/tc-score7.c (struct s7_reg_map): Likewise.
  1919. (s7_score_reg_parse): Likewise.
  1920. (s7_dependency_type_from_insn): Likewise.
  1921. (s7_parse_16_32_inst): Likewise.
  1922. (s7_build_score_ops_hsh): Likewise.
  1923. (s7_build_dependency_insn_hsh): Likewise.
  1924. (s7_insert_reg): Likewise.
  1925. (s7_build_reg_hsh): Likewise.
  1926. (s7_begin): Likewise.
  1927. * config/tc-sh.c (EMPTY): Likewise.
  1928. (md_begin): Likewise.
  1929. (find_cooked_opcode): Likewise.
  1930. * config/tc-sparc.c (md_begin): Likewise.
  1931. (sparc_ip): Likewise.
  1932. * config/tc-spu.c (md_begin): Likewise.
  1933. (md_assemble): Likewise.
  1934. * config/tc-tic30.c (md_begin): Likewise.
  1935. (tic30_operand): Likewise.
  1936. (tic30_parallel_insn): Likewise.
  1937. (md_assemble): Likewise.
  1938. * config/tc-tic4x.c (TIC4X_ALT_SYNTAX): Likewise.
  1939. (tic4x_asg): Likewise.
  1940. (tic4x_inst_insert): Likewise.
  1941. (tic4x_inst_add): Likewise.
  1942. (md_begin): Likewise.
  1943. (tic4x_operand_parse): Likewise.
  1944. (md_assemble): Likewise.
  1945. * config/tc-tic54x.c (MAX_SUBSYM_HASH): Likewise.
  1946. (stag_add_field_symbols): Likewise.
  1947. (tic54x_endstruct): Likewise.
  1948. (tic54x_tag): Likewise.
  1949. (tic54x_remove_local_label): Likewise.
  1950. (tic54x_clear_local_labels): Likewise.
  1951. (tic54x_var): Likewise.
  1952. (tic54x_macro_start): Likewise.
  1953. (tic54x_macro_info): Likewise.
  1954. (tic54x_macro_end): Likewise.
  1955. (subsym_isreg): Likewise.
  1956. (subsym_structsz): Likewise.
  1957. (md_begin): Likewise.
  1958. (is_mmreg): Likewise.
  1959. (is_type): Likewise.
  1960. (encode_condition): Likewise.
  1961. (encode_cc3): Likewise.
  1962. (encode_cc2): Likewise.
  1963. (encode_operand): Likewise.
  1964. (tic54x_parse_insn): Likewise.
  1965. (tic54x_parse_parallel_insn_firstline): Likewise.
  1966. (subsym_create_or_replace): Likewise.
  1967. (subsym_lookup): Likewise.
  1968. (subsym_substitute): Likewise.
  1969. (tic54x_undefined_symbol): Likewise.
  1970. * config/tc-tic6x.c (md_begin): Likewise.
  1971. (md_assemble): Likewise.
  1972. * config/tc-tilegx.c (O_hw2_last_plt): Likewise.
  1973. (INSERT_SPECIAL_OP): Likewise.
  1974. (md_begin): Likewise.
  1975. (tilegx_parse_name): Likewise.
  1976. (parse_reg_expression): Likewise.
  1977. (md_assemble): Likewise.
  1978. * config/tc-tilepro.c (O_tls_ie_load): Likewise.
  1979. (INSERT_SPECIAL_OP): Likewise.
  1980. (tilepro_parse_name): Likewise.
  1981. (parse_reg_expression): Likewise.
  1982. (md_assemble): Likewise.
  1983. * config/tc-v850.c (md_begin): Likewise.
  1984. (md_assemble): Likewise.
  1985. * config/tc-vax.c (md_ri_to_chars): Likewise.
  1986. (vip_begin): Likewise.
  1987. (vip): Likewise.
  1988. (main): Likewise.
  1989. (md_begin): Likewise.
  1990. * config/tc-wasm32.c (md_begin): Likewise.
  1991. (md_assemble): Likewise.
  1992. * config/tc-xgate.c (xgate_parse_operand): Likewise.
  1993. (md_begin): Likewise.
  1994. (md_assemble): Likewise.
  1995. * config/tc-z8k.c (md_begin): Likewise.
  1996. (md_assemble): Likewise.
  1997. 2020-08-20 Martin Liska <mliska@suse.cz>
  1998. * dw2gencfi.c (dwcfi_hash_insert): Use htab_t and str_hash_*
  1999. functions.
  2000. (dwcfi_hash_find): Likewise.
  2001. (dwcfi_hash_find_or_make): Likewise.
  2002. 2020-08-20 Martin Liska <mliska@suse.cz>
  2003. * ecoff.c (INIT_VARRAY): Use htab_t.
  2004. (add_string): Likewise.
  2005. (ecoff_read_begin_hook): Use new str_htab_create.
  2006. (get_tag): Use htab_t.
  2007. (add_file): Likewise.
  2008. 2020-08-20 Martin Liska <mliska@suse.cz>
  2009. * hash.h (struct string_tuple): New.
  2010. (hash_string_tuple): Likewise.
  2011. (eq_string_tuple): Likewise.
  2012. (string_tuple_alloc): Likewise.
  2013. (str_hash_find): Likewise.
  2014. (str_hash_find_n): Likewise.
  2015. (str_hash_delete): Likewise.
  2016. (str_hash_insert): Likewise.
  2017. (str_htab_create): Likewise.
  2018. 2020-08-20 Martin Liska <mliska@suse.cz>
  2019. * symbols.c (struct symbol_entry): New.
  2020. (hash_symbol_entry): Likewise.
  2021. (eq_symbol_entry): Likewise.
  2022. (symbol_entry_alloc): Likewise.
  2023. (symbol_entry_find): Likewise.
  2024. (local_symbol_make): Use htab hash table.
  2025. (local_symbol_convert): Likewise.
  2026. (symbol_table_insert): Likewise.
  2027. (symbol_find_exact_noref): Likewise.
  2028. (resolve_local_symbol): Likewise.
  2029. (resolve_local_symbol_values): Likewise.
  2030. (symbol_begin): Likewise.
  2031. (symbol_print_statistics): Likewise.
  2032. 2020-08-20 Martin Liska <mliska@suse.cz>
  2033. * read.c (struct po_entry): New.
  2034. (hash_po_entry): Likewise.
  2035. (eq_po_entry): Likewise.
  2036. (po_entry_alloc): Likewise.
  2037. (po_entry_find): Likewise.
  2038. (pop_insert): Likewise.
  2039. (pobegin): Use htab hash table.
  2040. (read_a_source_file): Likewise.
  2041. (s_macro): Likewise.
  2042. (read_print_statistics): Likewise.
  2043. * config/tc-m68k.c (m68k_conditional_pseudoop): Add const qualifier.
  2044. * config/tc-m68k.h (m68k_conditional_pseudoop): Likewise.
  2045. 2020-08-20 Martin Liska <mliska@suse.cz>
  2046. * config/tc-iq2000.c (iq2000_add_macro): Use htab hash table.
  2047. * macro.c (struct hash_control): Use htab.
  2048. (macro_init): Likewise.
  2049. (do_formals): Likewise.
  2050. (free_macro): Likewise.
  2051. (define_macro): Likewise.
  2052. (sub_actual): Likewise.
  2053. (macro_expand_body): Likewise.
  2054. (macro_expand): Likewise.
  2055. (check_macro): Likewise.
  2056. (delete_macro): Likewise.
  2057. (expand_irp): Likewise.
  2058. * macro.h (struct macro_hash_entry): New struct.
  2059. (hash_macro_entry): New.
  2060. (eq_macro_entry): Likewise.
  2061. (macro_entry_alloc): Likewise.
  2062. (macro_entry_find): Likewise.
  2063. (struct formal_hash_entry): Likewise.
  2064. (hash_formal_entry): Likewise.
  2065. (eq_formal_entry): Likewise.
  2066. (formal_entry_alloc): Likewise.
  2067. (formal_entry_find): Likewise.
  2068. 2020-08-20 Martin Liska <mliska@suse.cz>
  2069. * as.h: Include hashtab.h.
  2070. * hash.c (htab_insert): New.
  2071. (htab_print_statistics): Likewise.
  2072. * hash.h (htab_insert): Likewise.
  2073. (htab_print_statistics): Likewise.
  2074. 2020-08-19 Alan Modra <amodra@gmail.com>
  2075. * testsuite/gas/ppc/int128.s: Correct vcmpuq.
  2076. * testsuite/gas/ppc/int128.d: Update.
  2077. * testsuite/gas/ppc/xvtlsbb.d: Update.
  2078. 2020-08-18 Peter Bergner <bergner@linux.ibm.com>
  2079. * testsuite/gas/ppc/vsx4.s: Update test to use new mnemonic.
  2080. * testsuite/gas/ppc/vsx4.d: Likewise.
  2081. 2020-08-17 Alex Coplan <alex.coplan@arm.com>
  2082. * config/obj-elf.c (obj_elf_change_section): When repurposing an
  2083. existing symbol, ensure that we set sy_value as per other (fresh)
  2084. section symbols.
  2085. * testsuite/gas/elf/elf.exp: Add new test.
  2086. * testsuite/gas/elf/section-symbol-redef.d: New test.
  2087. * testsuite/gas/elf/section-symbol-redef.s: Input for test.
  2088. 2020-08-13 Nick Clifton <nickc@redhat.com>
  2089. PR 26359
  2090. * config/obj-som.c (obj_som_init_stab_section): Do nothing if the
  2091. $GDB_DEBUG$ section has already been created.
  2092. 2020-08-12 Joe Ramsay <joe.ramsay@.arm.com>
  2093. * config/tc-arm.c (do_neon_cvt_1): Parse vcvtne as vcvt-ne for
  2094. NS_FD shape when MVE is present
  2095. * testsuite/gas/arm/mve-vcvtne-it-bad.d: New test.
  2096. * testsuite/gas/arm/mve-vcvtne-it-bad.l: New test.
  2097. * testsuite/gas/arm/mve-vcvtne-it-bad.s: New test.
  2098. * testsuite/gas/arm/mve-vcvtne-it.d: New test.
  2099. * testsuite/gas/arm/mve-vcvtne-it.s: New test.
  2100. 2020-08-12 Alex Coplan <alex.coplan@arm.com>
  2101. * testsuite/gas/aarch64/mpam-bad.d: New test.
  2102. * testsuite/gas/aarch64/mpam-bad.l: Error output.
  2103. * testsuite/gas/aarch64/mpam-bad.s: Input.
  2104. * testsuite/gas/aarch64/mpam.d: New test.
  2105. * testsuite/gas/aarch64/mpam.s: Input.
  2106. 2020-08-12 Nick Clifton <nickc@redhat.com>
  2107. PR 26346
  2108. * doc/c-riscv.texi (RISC-V-Options): Fix typo in the description
  2109. of the -mno-csr-check option.
  2110. 2020-08-12 Nick Clifton <nickc@redhat.com>
  2111. * po/ru.po: Updated Russian translation.
  2112. 2020-08-10 Alex Coplan <alex.coplan@arm.com>
  2113. * config/tc-aarch64.c (parse_sys_reg): Don't assert when parsing
  2114. a long system register.
  2115. (parse_sys_ins_reg): Likewise.
  2116. (sysreg_hash_insert): New.
  2117. (md_begin): Use sysreg_hash_insert() to ensure all system
  2118. registers are no longer than the maximum length at startup.
  2119. * testsuite/gas/aarch64/invalid-sysreg-assert.d: New test.
  2120. * testsuite/gas/aarch64/invalid-sysreg-assert.l: Error output.
  2121. * testsuite/gas/aarch64/invalid-sysreg-assert.s: Input.
  2122. 2020-08-10 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
  2123. * config/tc-aarch64.c (parse_sys_reg): Call to
  2124. aarch64_sys_ins_reg_supported_p instead of
  2125. aarch64_sys_reg_supported_p.
  2126. (parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
  2127. * testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
  2128. * testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
  2129. * testsuite/gas/aarch64/sysreg-5.s: New test.
  2130. 2020-08-10 Alan Modra <amodra@gmail.com>
  2131. * testsuite/gas/ppc/power8.d,
  2132. * testsuite/gas/ppc/power8.s: Add miso.
  2133. * testsuite/gas/ppc/power9.d,
  2134. * testsuite/gas/ppc/power8.s: Add exser, msgsndu, msgclru.
  2135. 2020-08-10 Alan Modra <amodra@gmail.com>
  2136. * testsuite/gas/ppc/power8.d: Update.
  2137. * testsuite/gas/ppc/vsx2.d: Update.
  2138. 2020-08-10 Alan Modra <amodra@gmail.com>
  2139. * config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
  2140. stswi, or stswx in little-endian mode.
  2141. * testsuite/gas/ppc/476.d,
  2142. * testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
  2143. * testsuite/gas/ppc/a2.d,
  2144. * testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
  2145. * testsuite/gas/ppc/be.d,
  2146. * testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
  2147. * testsuite/gas/ppc/le_error.d,
  2148. * testsuite/gas/ppc/le_error.l: New little-endian test.
  2149. * testsuite/gas/ppc/ppc.exp: Run new tests.
  2150. 2020-08-07 H.J. Lu <hongjiu.lu@intel.com>
  2151. * read.c (read_a_source_file): Ignore rest of line on overflow
  2152. error.
  2153. 2020-08-06 Alex Coplan <alex.coplan@arm.com>
  2154. * read.c (read_a_source_file): Use long for local labels, detect
  2155. overflow and raise an error for overly-long labels.
  2156. * testsuite/gas/all/gas.exp: Add local-label-overflow test.
  2157. * testsuite/gas/all/local-label-overflow.d: New test.
  2158. * testsuite/gas/all/local-label-overflow.l: Error output.
  2159. * testsuite/gas/all/local-label-overflow.s: Input.
  2160. 2020-08-04 Christian Groessler <chris@groessler.org>
  2161. * testsuite/gas/z8k/inout.d: Adapt to correct encoding of
  2162. "sout/soutb #imm,reg"
  2163. 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
  2164. * NEWS: Mention {disp16} pseudo prefix.
  2165. 2020-08-04 H.J. Lu <hongjiu.lu@intel.com>
  2166. * testsuite/gas/i386/x86-64-pseudos.d: Revert an accidental
  2167. change.
  2168. 2020-08-04 Mark Wielaard <mark@klomp.org>
  2169. * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
  2170. DW_FORM_udata for DW_AT_high_pc.
  2171. (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
  2172. DWARF2_VERSION >= 4.
  2173. * read.c (emit_leb128_exp): No longer static.
  2174. * read.h (emit_leb128_exp): Define.
  2175. 2020-08-02 Mark Wielaard <mark@klomp.org>
  2176. * dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at
  2177. least one directory if there is at least one file. Use dirs[1]
  2178. if dirs[0] is not set, or if there is no dirs[1] the current
  2179. working directory. Use files[1] filename, when files[0] filename
  2180. isn't set.
  2181. 2020-08-02 Mark Wielaard <mark@klomp.org>
  2182. * dwarf2dbg.c (out_debug_info): Emit unit type and abbrev offset
  2183. for DWARF5.
  2184. * testsuite/gas/elf/dwarf-4-cu.d: New file.
  2185. * testsuite/gas/elf/dwarf-4-cu.s: Likewise.
  2186. * testsuite/gas/elf/dwarf-5-cu.d: Likewise.
  2187. * testsuite/gas/elf/dwarf-5-cu.s: Likewise.
  2188. * testsuite/gas/elf/elf.exp: Run dwarf-4-cu and dwarf-5-cu.
  2189. 2020-08-02 Mark Wielaard <mark@klomp.org>
  2190. * doc/as.texi (--gdwarf-[345]): Fix typo.
  2191. 2020-08-03 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  2192. * config/tc-msp430.c (OPTION_MOVE_DATA): Remove.
  2193. (md_parse_option): Remove case for OPTION_MOVE_DATA.
  2194. (md_longopts): Remove "md" entry.
  2195. (md_show_usage): Likewise.
  2196. 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
  2197. PR gas/26305
  2198. * config/tc-i386.c (_i386_insn::disp_encoding): Add
  2199. disp_encoding_16bit.
  2200. (parse_insn): Check Prefix_XXX for pseudo prefixes. Handle
  2201. {disp16}.
  2202. (build_modrm_byte): Handle {disp16}.
  2203. (i386_index_check): Check invalid {disp16} and {disp32} pseudo
  2204. prefixes.
  2205. * doc/c-i386.texi: Update {disp32} documentation and document
  2206. {disp16}.
  2207. * testsuite/gas/i386/i386.exp: Run x86-64-inval-pseudo.
  2208. * testsuite/gas/i386/inval-pseudo.s: Add {disp32}/{disp16}
  2209. tests.
  2210. * testsuite/gas/i386/pseudos.s: Add {disp8}/{disp32} vmovaps
  2211. tests with 128-byte displacement. Add {disp16} tests.
  2212. * testsuite/gas/i386/x86-64-pseudos.s: Add {disp8}/{disp32}
  2213. vmovaps test. Add (%r13)/(%r13d) tests.
  2214. * testsuite/gas/i386/x86-64-inval-pseudo.l: New file.
  2215. * testsuite/gas/i386/x86-64-inval-pseudo.s: Likewise.
  2216. * testsuite/gas/i386/inval-pseudo.l: Updated.
  2217. * testsuite/gas/i386/pseudos.d: Likewise.
  2218. * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
  2219. 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  2220. * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
  2221. * Makefile.in, doc/Makefile.in: Regenerate.
  2222. * configure: Regenerate.
  2223. 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
  2224. * testsuite/gas/elf/dwarf2-3.d:Pass --gdwarf-3 to assembler.
  2225. * testsuite/gas/elf/dwarf2-5.d: Likewise.
  2226. * testsuite/gas/i386/dw2-compress-3a.d: Likewise.
  2227. * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
  2228. * testsuite/gas/i386/dw2-compressed-3a.d: Likewise.
  2229. * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
  2230. 2020-07-30 Nick Clifton <nickc@redhat.com>
  2231. * as.c (dwarf_level): Initialise to 3 in case this is not set on
  2232. the command line.
  2233. 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
  2234. * testsuite/gas/mips/global-local-symtab-sort-o32.d: New test.
  2235. * testsuite/gas/mips/global-local-symtab-sort-o32t.d: New test.
  2236. * testsuite/gas/mips/global-local-symtab-sort-n32.d: New test.
  2237. * testsuite/gas/mips/global-local-symtab-sort-n32t.d: New test.
  2238. * testsuite/gas/mips/global-local-symtab-sort-n64.d: New test.
  2239. * testsuite/gas/mips/global-local-symtab-sort-n64t.d: New test.
  2240. * testsuite/gas/mips/mips.exp: Run the new tests.
  2241. 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
  2242. * testsuite/gas/mips/global-local-symtab-o32.d: New test.
  2243. * testsuite/gas/mips/global-local-symtab-o32t.d: New test.
  2244. * testsuite/gas/mips/global-local-symtab-n32.d: New test.
  2245. * testsuite/gas/mips/global-local-symtab-n32t.d: New test.
  2246. * testsuite/gas/mips/global-local-symtab-n64.d: New test.
  2247. * testsuite/gas/mips/global-local-symtab.s: New test source.
  2248. * testsuite/gas/mips/mips.exp: Run the new tests.
  2249. 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
  2250. PR gas/26305
  2251. * config/tc-i386.c (build_modrm_byte): Use disp32/disp16 on
  2252. (%bp)/(%ebp)/(%rbp) for {disp32}.
  2253. * doc/c-i386.texi: Update {disp32} documentation.
  2254. * testsuite/gas/i386/pseudos.s: Add (%bp)/(%ebp) tests.
  2255. * testsuite/gas/i386/x86-64-pseudos.s: Add (%ebp)/(%rbp) tests.
  2256. * testsuite/gas/i386/pseudos.d: Updated.
  2257. * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
  2258. 2020-07-27 H.J. Lu <hongjiu.lu@intel.com>
  2259. * doc/as.texi: Replace preceeded with preceded.
  2260. 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
  2261. * testsuite/gas/mips/jal-svr4pic-irix.d: New file.
  2262. * testsuite/gas/mips/mips1@jal-svr4pic-irix.d: New file.
  2263. * testsuite/gas/mips/mipsr6@jal-svr4pic-irix.d: New file.
  2264. * testsuite/gas/mips/micromips@jal-svr4pic-irix.d: New file.
  2265. * testsuite/gas/mips/r3000@jal-svr4pic-irix.d: New file.
  2266. * testsuite/gas/mips/jal-svr4pic-local-irix.d: New file.
  2267. * testsuite/gas/mips/mips1@jal-svr4pic-local-irix.d: New file.
  2268. * testsuite/gas/mips/micromips@jal-svr4pic-local-irix.d: New
  2269. file.
  2270. * testsuite/gas/mips/r3000@jal-svr4pic-local-irix.d: New file.
  2271. * testsuite/gas/mips/jal-svr4pic-noreorder-irix.d: New file.
  2272. * testsuite/gas/mips/mips1@jal-svr4pic-noreorder-irix.d: New
  2273. file.
  2274. * testsuite/gas/mips/mipsr6@jal-svr4pic-noreorder-irix.d: New
  2275. file.
  2276. * testsuite/gas/mips/micromips@jal-svr4pic-noreorder-irix.d: New
  2277. file.
  2278. * testsuite/gas/mips/r3000@jal-svr4pic-noreorder-irix.d: New
  2279. file.
  2280. * testsuite/gas/mips/jal-xgot-irix.d: New file.
  2281. * testsuite/gas/mips/jalr2-irix.d: New file.
  2282. * testsuite/gas/mips/micromips-branch-relax-insn32-pic-irix.d:
  2283. New file.
  2284. * testsuite/gas/mips/micromips-branch-relax-pic-irix.d: New
  2285. file.
  2286. * testsuite/gas/mips/mips-abi32-pic2-irix.d: New file.
  2287. * testsuite/gas/mips/jal-svr4pic-local.d: Don't exclude
  2288. `*-*-irix*' targets. Add source file designator.
  2289. * testsuite/gas/mips/mips1@jal-svr4pic-local.d: Don't exclude
  2290. `*-*-irix*' targets.
  2291. * testsuite/gas/mips/r3000@jal-svr4pic-local.d: Likewise.
  2292. * testsuite/gas/mips/micromips@jal-svr4pic-local.d: Likewise.
  2293. * testsuite/gas/mips/jalr2.d: Add name designator.
  2294. * testsuite/gas/mips/mips.exp: Use respective IRIX variants for
  2295. tests involving the JALR relocation throughout.
  2296. 2020-07-22 Maciej W. Rozycki <macro@linux-mips.org>
  2297. * testsuite/gas/mips/mips.exp: Use a helper variable for
  2298. IRIX/non-IRIX test selection.
  2299. 2020-07-21 Jan Beulich <jbeulich@suse.com>
  2300. * testsuite/gas/i386/evex-no-scale-64.d,
  2301. testsuite/gas/i386/addr32.d,
  2302. testsuite/gas/i386/x86-64-addr32-intel.d,
  2303. testsuite/gas/i386/x86-64-addr32.d: Adjust expectations.
  2304. 2020-07-21 Cooper Qu <cooper.qu@linux.alibaba.com>
  2305. * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
  2306. 2020-07-21 Jan Beulich <jbeulich@suse.com>
  2307. * testsuite/gas/i386/evex-no-scale-32.d,
  2308. testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
  2309. * testsuite/gas/i386/evex-no-scale-32.s,
  2310. testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
  2311. * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
  2312. instead of .section.
  2313. * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
  2314. specific section.
  2315. 2020-07-21 Maciej W. Rozycki <macro@linux-mips.org>
  2316. * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
  2317. (my_getSmallExpression): Adjust accordingly.
  2318. 2020-07-20 Jan Beulich <jbeulich@suse.com>
  2319. PR gas/4572
  2320. * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
  2321. conditional around it.
  2322. (md_begin): Insert backslash into operand_chars[] when slash is
  2323. a comment character.
  2324. * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
  2325. \* as operators when / may be a comment character.
  2326. * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
  2327. * testsuite/gas/i386/i386.exp: Run new test.
  2328. 2020-07-20 Jan Beulich <jbeulich@suse.com>
  2329. PR gas/4572
  2330. * app.c (last_char): Drop TC_ARM conditional around it.
  2331. (struct app_save): Drop TC_ARM conditional around last_char.
  2332. (app_push, app_pop): Drop TC_ARM conditional from last_char
  2333. accesses.
  2334. (do_scrub_chars): Likewise. Drop TC_ARM conditional from
  2335. backslash-precedes-comment-character check.
  2336. 2020-07-20 Jan Beulich <jbeulich@suse.com>
  2337. * config/tc-i386.c (frag_opcode_byte): New.
  2338. (output_branch): Emit error when in absolute section.
  2339. (output_jump, output_insn): Use frag_opcode_byte. Handle being
  2340. in absolute section.
  2341. (output_interseg_jump, output_disp, output_imm): Handle being in
  2342. absolute section.
  2343. * testsuite/gas/i386/sizing.s,
  2344. testsuite/gas/i386/sizing32.d,
  2345. testsuite/gas/i386/sizing64.d: New.
  2346. * testsuite/gas/i386/i386.exp: Run new tests.
  2347. 2020-07-20 Jan Beulich <jbeulich@suse.com>
  2348. * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
  2349. is_elf_format as applicable; merely exclude iamcu tests.
  2350. 2020-07-19 H.J. Lu <hongjiu.lu@intel.com>
  2351. PR gas/26263
  2352. * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
  2353. against section to PC32 reloc.
  2354. * testsuite/gas/i386/relax-5.d: Updated.
  2355. * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
  2356. 2020-07-15 H.J. Lu <hongjiu.lu@intel.com>
  2357. PR gas/26237
  2358. * testsuite/gas/i386/evex-no-scale-64.d: Updated.
  2359. * testsuite/gas/i386/addr32.d: Likewise.
  2360. * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
  2361. * testsuite/gas/i386/x86-64-addr32.d: Likewise.
  2362. 2020-07-15 Nick Clifton <nickc@redhat.com>
  2363. * write.c (create_note_reloc): Add desc2_size parameter. Zero out
  2364. the addend field of REL relocations. Store the full addend into
  2365. the note for REL relocations.
  2366. 2020-07-15 Jan Beulich <jbeulich@suse.com>
  2367. * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
  2368. immediate.
  2369. * testsuite/gas/i386/x86-64-stack-intel.d,
  2370. testsuite/gas/i386/x86-64-stack-suffix.d,
  2371. testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
  2372. 2020-07-15 Jan Beulich <jbeulich@suse.com>
  2373. * testsuite/gas/i386/disassem.d,
  2374. testsuite/gas/i386/ilp32/x86-64-branch.d,
  2375. testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
  2376. testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
  2377. testsuite/gas/i386/noreg32.d,
  2378. testsuite/gas/i386/noreg64-rex64.d,
  2379. testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
  2380. testsuite/gas/i386/opcode.d,
  2381. testsuite/gas/i386/solaris/x86-64-branch-2.d,
  2382. testsuite/gas/i386/solaris/x86-64-jump.d,
  2383. testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
  2384. testsuite/gas/i386/solaris/x86-64-nop-3.d,
  2385. testsuite/gas/i386/solaris/x86-64-nop-4.d,
  2386. testsuite/gas/i386/solaris/x86-64-nop-5.d,
  2387. testsuite/gas/i386/solaris/x86-64-relax-2.d,
  2388. testsuite/gas/i386/solaris/x86-64-relax-3.d,
  2389. testsuite/gas/i386/x86-64-align-branch-1a.d,
  2390. testsuite/gas/i386/x86-64-align-branch-1b.d,
  2391. testsuite/gas/i386/x86-64-align-branch-1c.d,
  2392. testsuite/gas/i386/x86-64-align-branch-1d.d,
  2393. testsuite/gas/i386/x86-64-align-branch-1e.d,
  2394. testsuite/gas/i386/x86-64-align-branch-1f.d,
  2395. testsuite/gas/i386/x86-64-align-branch-1g.d,
  2396. testsuite/gas/i386/x86-64-align-branch-1h.d,
  2397. testsuite/gas/i386/x86-64-align-branch-1i.d,
  2398. testsuite/gas/i386/x86-64-align-branch-2a.d,
  2399. testsuite/gas/i386/x86-64-align-branch-2b.d,
  2400. testsuite/gas/i386/x86-64-align-branch-2c.d,
  2401. testsuite/gas/i386/x86-64-align-branch-3.d,
  2402. testsuite/gas/i386/x86-64-align-branch-4a.d,
  2403. testsuite/gas/i386/x86-64-align-branch-4b.d,
  2404. testsuite/gas/i386/x86-64-align-branch-5.d,
  2405. testsuite/gas/i386/x86-64-align-branch-6.d,
  2406. testsuite/gas/i386/x86-64-branch-2.d,
  2407. testsuite/gas/i386/x86-64-branch-3.d,
  2408. testsuite/gas/i386/x86-64-branch.d,
  2409. testsuite/gas/i386/x86-64-disassem.d,
  2410. testsuite/gas/i386/x86-64-disp32.d,
  2411. testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
  2412. testsuite/gas/i386/x86-64-gotpcrel.d,
  2413. testsuite/gas/i386/x86-64-ifunc.d,
  2414. testsuite/gas/i386/x86-64-jump.d,
  2415. testsuite/gas/i386/x86-64-lfence-byte.d,
  2416. testsuite/gas/i386/x86-64-lfence-indbr-a.d,
  2417. testsuite/gas/i386/x86-64-lfence-indbr-b.d,
  2418. testsuite/gas/i386/x86-64-lfence-indbr-c.d,
  2419. testsuite/gas/i386/x86-64-lfence-load.d,
  2420. testsuite/gas/i386/x86-64-lfence-ret-a.d,
  2421. testsuite/gas/i386/x86-64-lfence-ret-b.d,
  2422. testsuite/gas/i386/x86-64-lfence-ret-c.d,
  2423. testsuite/gas/i386/x86-64-lfence-ret-d.d,
  2424. testsuite/gas/i386/x86-64-lfence-ret-e.d,
  2425. testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
  2426. testsuite/gas/i386/x86-64-mpx-branch-1.d,
  2427. testsuite/gas/i386/x86-64-mpx.d,
  2428. testsuite/gas/i386/x86-64-nop-3.d,
  2429. testsuite/gas/i386/x86-64-nop-4.d,
  2430. testsuite/gas/i386/x86-64-nop-5.d,
  2431. testsuite/gas/i386/x86-64-nops-7.d,
  2432. testsuite/gas/i386/x86-64-notrack.d,
  2433. testsuite/gas/i386/x86-64-opcode.d,
  2434. testsuite/gas/i386/x86-64-relax-2.d,
  2435. testsuite/gas/i386/x86-64-relax-3.d,
  2436. testsuite/gas/i386/x86-64-relax-4.d,
  2437. testsuite/gas/i386/x86-64-rtm.d,
  2438. testsuite/gas/i386/x86-64-stack.d,
  2439. testsuite/gas/i386/x86-64-unique.d,
  2440. testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
  2441. 2020-07-14 H.J. Lu <hongjiu.lu@intel.com>
  2442. PR gas/26237
  2443. * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
  2444. address.
  2445. * testsuite/gas/i386/x86-64-addr32.s: Likewise.
  2446. * testsuite/gas/i386/addr32.d: Updated.
  2447. * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
  2448. * testsuite/gas/i386/x86-64-addr32.d: Likewise.
  2449. * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
  2450. * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
  2451. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2452. * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
  2453. * testsuite/gas/i386/intel-intel.d: Disambiguate name.
  2454. * testsuite/gas/i386/intel.d,
  2455. testsuite/gas/i386/opcode-intel.d: Adjust expectations.
  2456. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2457. * testsuite/gas/i386/prefix.d: Adjust expectations.
  2458. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2459. * testsuite/gas/i386/x86-64-avx-intel.d,
  2460. testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
  2461. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2462. * testsuite/gas/i386/movbe-suffix.d,
  2463. testsuite/gas/i386/x86-64-movbe-suffix.d: New.
  2464. * testsuite/gas/i386/i386.exp: Run new tests.
  2465. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2466. * testsuite/gas/i386/crc32-suffix.d,
  2467. testsuite/gas/i386/x86-64-crc32-suffix.d: New.
  2468. * testsuite/gas/i386/i386.exp: Run new tests.
  2469. * testsuite/gas/i386/arch-10-bdver1.d,
  2470. testsuite/gas/i386/arch-10-bdver2.d,
  2471. testsuite/gas/i386/arch-10-bdver3.d,
  2472. testsuite/gas/i386/arch-10-bdver4.d,
  2473. testsuite/gas/i386/arch-10-btver1.d,
  2474. testsuite/gas/i386/arch-10-btver2.d,
  2475. testsuite/gas/i386/arch-10-lzcnt.d,
  2476. testsuite/gas/i386/arch-10-prefetchw.d,
  2477. testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
  2478. testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
  2479. testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
  2480. testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
  2481. testsuite/gas/i386/x86-64-arch-2-bdver1.d,
  2482. testsuite/gas/i386/x86-64-arch-2-bdver2.d,
  2483. testsuite/gas/i386/x86-64-arch-2-bdver3.d,
  2484. testsuite/gas/i386/x86-64-arch-2-bdver4.d,
  2485. testsuite/gas/i386/x86-64-arch-2-btver1.d,
  2486. testsuite/gas/i386/x86-64-arch-2-btver2.d,
  2487. testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
  2488. testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
  2489. testsuite/gas/i386/x86-64-arch-2.d,
  2490. testsuite/gas/i386/x86-64-crc32.d,
  2491. testsuite/gas/i386/x86-64-pseudos.d,
  2492. testsuite/gas/i386/x86-64-sse-noavx.d,
  2493. testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
  2494. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2495. * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
  2496. ModR/M-encoded byte register cases.
  2497. * testsuite/gas/i386/x86-64-pseudos.d,
  2498. testsuite/gas/i386/x86-64-reg-intel.d,
  2499. testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
  2500. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2501. * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
  2502. not-ModR/M-encoded byte register cases.
  2503. * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
  2504. 2020-07-14 Jan Beulich <jbeulich@suse.com>
  2505. * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
  2506. testsuite/gas/i386/ilp32/x86-64-arch-2.d,
  2507. testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
  2508. testsuite/gas/i386/ilp32/x86-64-avx.d,
  2509. testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
  2510. testsuite/gas/i386/ilp32/x86-64-crc32.d,
  2511. testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
  2512. testsuite/gas/i386/ilp32/x86-64-ifunc.d,
  2513. testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
  2514. testsuite/gas/i386/ilp32/x86-64-reg.d,
  2515. testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
  2516. testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
  2517. testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
  2518. testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
  2519. testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
  2520. testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
  2521. dump expectations.
  2522. 2020-07-13 H.J. Lu <hongjiu.lu@intel.com>
  2523. * config/tc-i386.c (offset_in_range): Remove 32-bit sign
  2524. extension.
  2525. 2020-07-13 Nick Clifton <nickc@redhat.com>
  2526. * po/fr.po: Updated French translation.
  2527. 2020-07-13 Alan Modra <amodra@gmail.com>
  2528. * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
  2529. * testsuite/gas/elf/dwarf2-12.d: Likewise.
  2530. * testsuite/gas/elf/dwarf2-13.d: Likewise.
  2531. * testsuite/gas/elf/dwarf2-14.d: Likewise.
  2532. 2020-07-11 H.J. Lu <hongjiu.lu@intel.com>
  2533. * config/tc-i386.c (output_insn): Check i.xstate to set
  2534. GNU_PROPERTY_X86_FEATURE_2_TMM.
  2535. * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
  2536. x86-64-property-8 and x86-64-property-9.
  2537. * testsuite/gas/i386/x86-64-property-7.d: New file.
  2538. * testsuite/gas/i386/x86-64-property-7.s: Likewise.
  2539. * testsuite/gas/i386/x86-64-property-8.d: Likewise.
  2540. * testsuite/gas/i386/x86-64-property-8.s: Likewise.
  2541. * testsuite/gas/i386/x86-64-property-9.d: Likewise.
  2542. * testsuite/gas/i386/x86-64-property-9.s: Likewise.
  2543. 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
  2544. * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
  2545. has_regymm, has_regzmm and has_regtmm. Add xstate.
  2546. (md_assemble): Set i.xstate from operand types in instruction
  2547. template.
  2548. (build_modrm_byte): Updated.
  2549. (output_insn): Check i.xstate.
  2550. * testsuite/gas/i386/i386.exp: Run property-6 and
  2551. x86-64-property-6.
  2552. * testsuite/gas/i386/property-6.d: New file.
  2553. * testsuite/gas/i386/property-6.s: Updated.
  2554. * testsuite/gas/i386/x86-64-property-6.d: Likewise.
  2555. 2020-07-10 H.J. Lu <hongjiu.lu@intel.com>
  2556. * testsuite/gas/i386/property-5.d: Correct test name.
  2557. 2020-07-10 Lili Cui <lili.cui@intel.com>
  2558. * NEWS: Mention support for Intel AMX instructions.
  2559. * config/tc-i386.c (i386_error): Add invalid_sib_address.
  2560. (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
  2561. (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
  2562. (match_simd_size): Add tmmword check.
  2563. (operand_type_match): Add tmmword.
  2564. (type_names): Add rTMM.
  2565. (i386_error): Add invalid_tmm_register_set.
  2566. (check_VecOperands): Handle invalid_sib_address and
  2567. invalid_tmm_register_set.
  2568. (match_template): Handle invalid_sib_address.
  2569. (build_modrm_byte): Handle non-vector SIB and zmmword.
  2570. (i386_index_check): Disallow RegIP for non-vector SIB.
  2571. (check_register): Handle zmmword.
  2572. * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
  2573. * testsuite/gas/i386/i386.exp: Add AMX new tests.
  2574. * testsuite/gas/i386/intel-regs.d: Add tmm.
  2575. * testsuite/gas/i386/intel-regs.s: Add tmm.
  2576. * testsuite/gas/i386/x86-64-amx-intel.d: New.
  2577. * testsuite/gas/i386/x86-64-amx-inval.l: New.
  2578. * testsuite/gas/i386/x86-64-amx-inval.s: New.
  2579. * testsuite/gas/i386/x86-64-amx.d: New.
  2580. * testsuite/gas/i386/x86-64-amx.s: New.
  2581. * testsuite/gas/i386/x86-64-amx-bad.d: New.
  2582. * testsuite/gas/i386/x86-64-amx-bad.s: New.
  2583. 2020-07-10 Tom de Vries <tdevries@suse.de>
  2584. * testsuite/gas/elf/dwarf2-11.d: Update expected output from
  2585. readelf's line table decoding.
  2586. * testsuite/gas/elf/dwarf2-12.d: Likewise.
  2587. * testsuite/gas/elf/dwarf2-13.d: Likewise.
  2588. * testsuite/gas/elf/dwarf2-14.d: Likewise.
  2589. * testsuite/gas/elf/dwarf2-15.d: Likewise.
  2590. * testsuite/gas/elf/dwarf2-16.d: Likewise.
  2591. * testsuite/gas/elf/dwarf2-17.d: Likewise.
  2592. * testsuite/gas/elf/dwarf2-18.d: Likewise.
  2593. * testsuite/gas/elf/dwarf2-19.d: Likewise.
  2594. * testsuite/gas/elf/dwarf2-5.d: Likewise.
  2595. * testsuite/gas/elf/dwarf2-6.d: Likewise.
  2596. * testsuite/gas/elf/dwarf2-7.d: Likewise.
  2597. 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
  2598. * config/tc-i386.c (output_insn): Set YMM/ZMM features for
  2599. VEX/EVEX vector instructions.
  2600. * testsuite/gas/i386/property-4.d: New file.
  2601. * testsuite/gas/i386/property-4.s: Likewise.
  2602. * testsuite/gas/i386/property-5.d: Likewise.
  2603. * testsuite/gas/i386/property-5.s: Likewise.
  2604. * testsuite/gas/i386/x86-64-property-4.d: Likewise.
  2605. * testsuite/gas/i386/x86-64-property-5.d: Likewise.
  2606. 2020-07-09 H.J. Lu <hongjiu.lu@intel.com>
  2607. * NEWS: Mention --enable-x86-used-note.
  2608. * configure.ac: Configure with --enable-x86-used-note by default
  2609. for Linux/x86.
  2610. * configure: Regenerated.
  2611. 2020-07-09 Alan Modra <amodra@gmail.com>
  2612. * config/obj-coff.h: Remove TE_PE support.
  2613. * config/tc-ppc.c: Likewise.
  2614. * config/tc-ppc.h: Likewise.
  2615. * configure.tgt: Remove powerpc PE and powerpc lynxos.
  2616. * testsuite/gas/cfi/cfi.exp (cfi-common-6): Remove powerpc PE
  2617. condition.
  2618. * testsuite/gas/macros/macros.exp: Don't xfail powerpc PE.
  2619. 2020-07-08 Jan Beulich <jbeulich@suse.com>
  2620. * testsuite/gas/i386/fma4-lig.d, testsuite/gas/i386/xop-lig.d:
  2621. New.
  2622. * testsuite/gas/i386/i386.exp: Run new tests.
  2623. 2020-07-07 Claudiu Zissulescu <claziss@synopsys.com>
  2624. * config/tc-arc.c (find_opcode_match): Add error messages.
  2625. * testsuite/gas/arc/add_s-err.s: Update test.
  2626. * testsuite/gas/arc/asm-errors.err: Likewise.
  2627. * testsuite/gas/arc/cpu-em-err.s: Likewise.
  2628. * testsuite/gas/arc/hregs-err.s: Likewise.
  2629. * testsuite/gas/arc/warn.s: Likewise.
  2630. 2020-07-07 H.J. Lu <hongjiu.lu@intel.com>
  2631. PR gas/26212
  2632. * doc/c-i386.texi: Remove an incorrect AVX2 entry.
  2633. 2020-07-07 Alan Modra <amodra@gmail.com>
  2634. * testsuite/gas/all/gas.exp: Use is_xcoff_format.
  2635. * testsuite/gas/ppc/ppc.exp: Likewise.
  2636. * testsuite/gas/all/weakref1l.d: Likewise.
  2637. 2020-07-07 Nick Clifton <nickc@redhat.com>
  2638. * testsuite/gas/arm/cde-missing-fp.l: Fix spelling mistake in
  2639. expected output.
  2640. 2020-07-06 Jan Beulich <jbeulich@suse.com>
  2641. * testsuite/gas/i386/x86-64-avx512bw-wig1.d,
  2642. testsuite/gas/i386/x86-64-avx512bw-wig1-intel.d,
  2643. testsuite/gas/i386/x86-64-evex-wig1.d,
  2644. testsuite/gas/i386/x86-64-evex-wig1-intel.d: Adjust
  2645. expectations.
  2646. 2020-07-06 Jan Beulich <jbeulich@suse.com>
  2647. * testsuite/gas/i386/avx512f-opts.s: Add EVEX movq tests.
  2648. * testsuite/gas/i386/x86-64-avx512f-opts.s: Add blank line.
  2649. * testsuite/gas/i386/avx512f-opts-intel.d,
  2650. testsuite/gas/i386/avx512f-opts.d
  2651. testsuite/gas/i386/x86-64-avx512f-opts-intel.d
  2652. testsuite/gas/i386/x86-64-avx512f-opts.d: Adjust expectations.
  2653. 2020-07-06 Yuri Chornoivan <yurchor@ukr.net>
  2654. PR 26204
  2655. * config/tc-arm.c: Fix spelling mistake.
  2656. * config/tc-riscv.c: Likewise.
  2657. * config/tc-z80.c: Likewise.
  2658. * po/gas.pot: Regenerate.
  2659. 2020-07-06 Nick Clifton <nickc@redhat.com>
  2660. * po/uk.po: Updated Ukranian translation.
  2661. 2020-07-04 Nick Clifton <nickc@redhat.com>
  2662. * configure: Regenerate.
  2663. * po/gas.pot: Regenerate.
  2664. 2020-07-04 Nick Clifton <nickc@redhat.com>
  2665. * version.m4: Change version number to 2.35.50.
  2666. * configure: Regenerate.
  2667. * po/bfd.pot: Regenerate.
  2668. 2020-07-04 Nick Clifton <nickc@redhat.com>
  2669. Binutils 2.35 branch created.
  2670. 2020-07-03 Alan Modra <amodra@gmail.com>
  2671. PR 26028
  2672. * testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
  2673. 2020-07-02 H.J. Lu <hongjiu.lu@intel.com>
  2674. * config/tc-i386.c (build_modrm_byte): Check vexswapsources to
  2675. swap two source operands.
  2676. 2020-07-02 Nick Clifton <nickc@redhat.com>
  2677. * testsuite/gas/all/fill-1.d: Skip for MeP targets.
  2678. 2020-07-02 Alex Coplan <alex.coplan@arm.com>
  2679. * config/tc-aarch64.c (reg_name_p): Fix cast so that we don't
  2680. segfault on negative chars.
  2681. * testsuite/gas/aarch64/reglike-label-unicode-segv.d: New test.
  2682. * testsuite/gas/aarch64/reglike-label-unicode-segv.s: Input.
  2683. 2020-07-02 Nick Clifton <nickc@redhat.com>
  2684. PR 26028
  2685. * testsuite/gas/ia64/group-2.d: Add -T option to readelf
  2686. command line.
  2687. * testsuite/gas/ia64/unwind.d: Likewise.
  2688. * testsuite/gas/mmix/bspec-1.d: Likewise.
  2689. * testsuite/gas/mmix/bspec-2.d: Likewise.
  2690. * testsuite/gas/mmix/comment-1.d: Likewise.
  2691. * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
  2692. 2020-07-01 Alan Modra <amodra@gmail.com>
  2693. * config/tc-xc16x.c (md_apply_fix): Add FIXME.
  2694. 2020-07-01 Alan Modra <amodra@gmail.com>
  2695. * testsuite/gas/all/eqv-dot.d: xfail targets that set linkrelax
  2696. in data sections, and mep.
  2697. 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
  2698. * NEWS: Mention x86 NaCl target support removal.
  2699. * config/tc-i386.c: Remove x86 NaCl target support.
  2700. * config/tc-i386.h: Likewise.
  2701. * configure.tgt: Likewise.
  2702. * testsuite/gas/i386/i386.exp: Likewise.
  2703. * testsuite/gas/i386/iamcu-1.d: Likewise.
  2704. * testsuite/gas/i386/iamcu-2.d: Likewise.
  2705. * testsuite/gas/i386/iamcu-3.d: Likewise.
  2706. * testsuite/gas/i386/iamcu-4.d: Likewise.
  2707. * testsuite/gas/i386/iamcu-5.d: Likewise.
  2708. * testsuite/gas/i386/k1om.d: Likewise.
  2709. * testsuite/gas/i386/l1om.d: Likewise.
  2710. 2020-06-30 Nelson Chu <nelson.chu@sifive.com>
  2711. * config/tc-riscv.c (riscv_csr_class_check): Removed. Move the
  2712. checking into riscv_csr_address.
  2713. (riscv_csr_version_check): Likewise.
  2714. (riscv_csr_address): New function. Return the suitable CSR address
  2715. after checking the ISA dependency and versions. Issue warnings if
  2716. we find any conflict and -mcsr-check is set. CSR_CLASS_F and
  2717. CSR_CLASS_DEBUG are unprivileged CSR for now, so don't check the
  2718. priv spec versions for them.
  2719. (reg_csr_lookup_internal): Call riscv_csr_address to find the
  2720. suitable CSR address.
  2721. * testsuite/gas/riscv/priv-reg-fail-fext.d: Remove -mpriv-spec=1.11.
  2722. * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
  2723. * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
  2724. * testsuite/gas/riscv/priv-reg-fail-fext.l: We don't care the
  2725. priv spec warnings here. These warnings are added by accident.
  2726. Remove them and only focus on the ISA dependency warnings.
  2727. * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
  2728. * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
  2729. * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Updated since
  2730. dscratch0 and dscratch1 are regarded as the unprivileged CSR rather
  2731. than the privileged ones.
  2732. * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
  2733. * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
  2734. * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
  2735. * testsuite/gas/riscv/priv-reg.s: Likewise. Add missing debug CSR.
  2736. * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
  2737. * testsuite/gas/riscv/priv-reg-version-1p9p1.d: Likewise.
  2738. * testsuite/gas/riscv/priv-reg-version-1p10.d: Likewise.
  2739. * testsuite/gas/riscv/priv-reg-version-1p11.d: Likewise.
  2740. * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
  2741. * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
  2742. 2020-06-29 H.J. Lu <hongjiu.lu@intel.com>
  2743. * config/tc-i386.c (build_vex_prefix): Support VEX base opcode
  2744. length > 1.
  2745. (md_assemble): Don't process ImmExt without operands.
  2746. 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
  2747. PR gas/25331
  2748. * config/tc-mmix.c (md_assemble) <fixup for
  2749. BFD_RELOC_MMIX_BASE_PLUS_OFFSET>: This fixup affects 1 byte, not 8.
  2750. Also, set its fx_no_overflow.
  2751. (md_convert_frag) <case ENCODE_RELAX (STATE_PUSHJSTUB, STATE_ZERO)>:
  2752. Similarly this fixup affects 4 bytes, not 8 and needs its
  2753. fx_no_overflow set.
  2754. * config/tc-mmix.h (TC_FX_SIZE_SLACK): Don't define.
  2755. * testsuite/gas/mmix/pr25331.d, testsuite/gas/mmix/pr25331.s: New test.
  2756. 2020-06-29 Alan Modra <amodra@gmail.com>
  2757. * config/tc-s12z.c: Use C style comments.
  2758. * config/tc-z80.c: Likewise.
  2759. * config/tc-xtensa.c (emit_ld_r_n): Remove commented out code.
  2760. 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
  2761. * config/tc-i386.c (md_assemble): Process ImmExt without
  2762. operands.
  2763. 2020-06-26 H.J. Lu <hongjiu.lu@intel.com>
  2764. * config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
  2765. Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
  2766. VECSIB256 and VECSIB512, respectively.
  2767. (build_modrm_byte): Replace vecsib with sib.
  2768. 2020-06-26 Jan Beulich <jbeulich@suse.com>
  2769. * testsuite/gas/i386/nop-1-suffix.d: New.
  2770. * testsuite/gas/i386/i386.exp: Run new test.
  2771. 2020-06-26 Pat Bernardi <bernardi@adacore.com>
  2772. * config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
  2773. (md_pseudo_table): Handle "gnu_attribute".
  2774. * doc/as.texi: Document GNU attribute for M68K.
  2775. 2020-06-25 Nick Clifton <nickc@redhat.com>
  2776. PR 26141
  2777. * config/tc-arm.c (arm_force_relocation): Force resolution of
  2778. BFD_RELOC_THUMB_PCREL_BRANCH12 relocations.
  2779. * testsuite/gas/arm/plt-1.d: Adjust expected disassembly.
  2780. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2781. * config/tc-i386.c (md_assemble): Move call to process_immext()
  2782. ...
  2783. (process_operands): ... here.
  2784. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2785. * config/tc-i386.c (process_suffix): Skip ambiguous operand size
  2786. diagnostic when there is a sizing prefix. Switch to word/dword/
  2787. qword encoding when there is a sizing prefix and no (explicit or
  2788. derived) suffix.
  2789. (update_imm): Handle presence of a sizing prefix.
  2790. * testsuite/gas/i386/noreg16-data32.d,
  2791. testsuite/gas/i386/noreg32-data16.d,
  2792. testsuite/gas/i386/noreg32-data16.e,
  2793. testsuite/gas/i386/noreg64-data16.d,
  2794. testsuite/gas/i386/noreg64-data16.e,
  2795. testsuite/gas/i386/noreg64-rex64.d: New.
  2796. * testsuite/gas/i386/i386.exp: Run new tests.
  2797. * testsuite/gas/i386/noreg32.s, testsuite/gas/i386/noreg64.s:
  2798. Introduce and use pfx* macros.
  2799. * testsuite/gas/i386/noreg16.s: Likewise. Replace 32-bit
  2800. addressing.
  2801. * testsuite/gas/i386/noreg16.d: Adjust expectations.
  2802. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2803. * testsuite/gas/i386/avx-16bit.d,
  2804. testsuite/gas/i386/avx-scalar.d, testsuite/gas/i386/avx.d,
  2805. testsuite/gas/i386/avx512f-16bit.d,
  2806. testsuite/gas/i386/avx512f.d,
  2807. testsuite/gas/i386/evex-lig256.d,
  2808. testsuite/gas/i386/evex-lig512.d
  2809. testsuite/gas/i386/evex-wig1.d, testsuite/gas/i386/katmai.d,
  2810. testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg32.d,
  2811. testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/simd.d,
  2812. testsuite/gas/i386/sse2-16bit.d,
  2813. testsuite/gas/i386/sse2.d, testsuite/gas/i386/sse2avx.d: Adjust
  2814. expectations.
  2815. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2816. * config/tc-i386.c (md_assemble): Also reject explicit REX
  2817. prefixes with VEX and alike encoded insns. Zap consumed bits
  2818. from i.rex.
  2819. (output_insn): Don't ignore REX prefix for VEX and alike
  2820. encodings; abort() instead if encountered.
  2821. * testsuite/gas/i386/x86-64-pseudos.s: Move REX-with-VEX cases
  2822. ...
  2823. * testsuite/gas/i386/x86-64-pseudos-bad.s: ... here.
  2824. * testsuite/gas/i386/x86-64-pseudos.d,
  2825. testsuite/gas/i386/x86-64-pseudos-bad.l: Adjust expectations.
  2826. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2827. * config/tc-i386.c (process_operands): Translate explicit REX
  2828. prefix into i.rex for SSE2AVX templates.
  2829. (set_rex_vrex): New helper.
  2830. (build_modrm_byte): Use it.
  2831. * testsuite/gas/i386/x86-64-sse2avx.s: Add cases with explicit
  2832. REX prefixes.
  2833. * testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
  2834. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2835. * config/tc-i386.c (cpu_flags_match): Only match SSE2AVX
  2836. templates when there's no data size prefix.
  2837. (md_assemble): Reject data size prefix also for legacy encoded
  2838. SIMD templates.
  2839. * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix64.s:
  2840. Uncomment previously not working line.
  2841. * testsuite/gas/i386/sse2avx.s: Add ldmxcsr/stmxcsr cases with
  2842. data16 prefix.
  2843. * testsuite/gas/i386/prefix32.l, testsuite/gas/i386/prefix64.l,
  2844. testsuite/gas/i386/sse2avx.d: Adjust expectations.
  2845. 2020-06-25 Jan Beulich <jbeulich@suse.com>
  2846. * config/tc-i386.c (build_evex_prefix): Drop early setting of
  2847. vec_length.
  2848. 2020-06-23 Nelson Chu <nelson.chu@sifive.com>
  2849. * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to
  2850. explicit_priv_attr. It used to indicate CSR or priv instructions are
  2851. explicitly used.
  2852. (riscv_is_priv_insn): Return True if it is a privileged instruction.
  2853. (riscv_ip): Call riscv_is_priv_insn to check whether the instruction
  2854. is privileged or not. If it is, then set explicit_priv_attr to TRUE.
  2855. (riscv_write_out_attrs): Clarification of when to generate the elf
  2856. priv spec attributes.
  2857. * testsuite/gas/riscv/attribute-11.s: Add comments.
  2858. * testsuite/gas/riscv/attribute-14.s: New testcase. Use symbol
  2859. `priv_insn_<n>` to decide which priv instruction is expected to used.
  2860. (<n> is a to e.)
  2861. * testsuite/gas/riscv/attribute-14a.d: Likewise.
  2862. * testsuite/gas/riscv/attribute-14b.d: Likewise.
  2863. * testsuite/gas/riscv/attribute-14c.d: Likewise.
  2864. * testsuite/gas/riscv/attribute-14d.d: Likewise.
  2865. * testsuite/gas/riscv/attribute-14e.d: Likewise.
  2866. 2020-06-22 Nelson Chu <nelson.chu@sifive.com>
  2867. * config/tc-riscv.c (buf_size, buf): Remove the unused variables.
  2868. (riscv_set_default_priv_spec): Get the priv spec version from the
  2869. priv spec attributes by riscv_get_priv_spec_class_from_numbers.
  2870. 2020-06-20 Alan Modra <amodra@gmail.com>
  2871. * configure.tgt: Set bfd_gas for all SH targets.
  2872. 2020-06-18 Jan Beulich <jbeulich@suse.com>
  2873. * testsuite/gas/i386/arch-13.s: Add alternative VMGEXIT case.
  2874. * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
  2875. expectations.
  2876. 2020-06-16 Lili Cui <lili.cui@intel.com>
  2877. * config/tc-i386.c (cpu_arch): Correct noavx512_vp2intersect
  2878. cpu_arch to CPU_ANY_VP2INTERSECT_FLAGS.
  2879. * doc/c-i386.texi: Add avx512_vp2intersect.
  2880. 2020-06-16 Jan Beulich <jbeulich@suse.com>
  2881. * config/tc-i386.c (md_assemble): Drop SSE4a from SSE check
  2882. conditional.
  2883. * testsuite/gas/i386/sse-check.s: Adjust comment.
  2884. * testsuite/gas/i386/sse-check-error.l,
  2885. testsuite/gas/i386/sse-check-warn.e,
  2886. testsuite/gas/i386/x86-64-sse-check-error.l: Adjust
  2887. expectations.
  2888. 2020-06-16 Alan Modra <amodra@gmail.com>
  2889. * config/tc-tic30.h: Remove OBJ_AOUT support.
  2890. * configure.tgt: Delete tic30-*-*aout* entry.
  2891. 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
  2892. * config/tc-xtensa.c (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New
  2893. macros.
  2894. (elf32xtensa_abi): New declaration.
  2895. (option_abi_windowed, option_abi_call0): New enum constants.
  2896. (md_longopts): Add entries for --abi-windowed and --abi-call0.
  2897. (md_parse_option): Add handlers for --abi-windowed and
  2898. --abi-call0.
  2899. (xtensa_add_config_info): Use xtensa_abi_choice instead of
  2900. XSHAL_ABI to format ABI tag.
  2901. * doc/as.texi (Target Xtensa options): Add --abi-windowed and
  2902. --abi-call0 to the list of options.
  2903. * doc/c-xtensa.texi: Add description for options --abi-windowed
  2904. and --abi-call0.
  2905. * testsuite/gas/xtensa/abi-call0.d: New test definition.
  2906. * testsuite/gas/xtensa/abi-windowed.d: New test definition.
  2907. * testsuite/gas/xtensa/abi.s: New test source.
  2908. 2020-06-14 H.J. Lu <hongjiu.lu@intel.com>
  2909. PR gas/26115
  2910. * testsuite/gas/i386/tsxldtrk.d: Replace xsuspldtrk with
  2911. xsusldtrk.
  2912. * testsuite/gas/i386/tsxldtrk.s: Likewise.
  2913. * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
  2914. * testsuite/gas/i386/x86-64-tsxldtrk.s: Likewise.
  2915. 2020-06-12 Nelson Chu <nelson.chu@sifive.com>
  2916. * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Removed.
  2917. * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
  2918. * testsuite/gas/riscv/priv-reg-version-1p9.d: Likewise.
  2919. 2020-06-09 Seth Girvan <snth@snthhacks.com>
  2920. * doc/c-avr.texi: Improve wording.
  2921. 2020-06-09 Jan Beulich <jbeulich@suse.com>
  2922. * testsuite/gas/i386/x86-64-pseudos-bad.s,
  2923. testsuite/gas/i386/x86-64-pseudos-bad.l: New.
  2924. 2020-06-09 Jan Beulich <jbeulich@suse.com>
  2925. * testsuite/gas/i386/prefix.s: Add bogus prefix-with-VEX/EVEX
  2926. encoding tests.
  2927. * testsuite/gas/i386/prefix.d: Adjust expectations.
  2928. 2020-06-09 Jan Beulich <jbeulich@suse.com>
  2929. * testsuite/gas/i386/prefix.s: Add bogus REP / EVEX.W prefix
  2930. with VEX/EVEX encoding tests.
  2931. * testsuite/gas/i386/prefix.d: Adjust expectations.
  2932. 2020-06-09 Jan Beulich <jbeulich@suse.com>
  2933. * config/tc-i386.c (process_suffix): Restrict defaulting to 'q'
  2934. suffix.
  2935. * testsuite/gas/i386/noreg64.s: Add lcall/ljmp cases.
  2936. * testsuite/gas/i386/noreg64.d: Adjust expectations.
  2937. * testsuite/gas/i386/noreg-intel64.d,
  2938. testsuite/gas/i386/noreg-intel64.l,
  2939. testsuite/gas/i386/noreg-intel64.s: New.
  2940. * testsuite/gas/i386/i386.exp: Run new tests.
  2941. 2020-06-09 Jan Beulich <jbeulich@suse.com>
  2942. * config/tc-i386.c (vex_encoding_error): New enumerator.
  2943. (VEX_check_operands): Rename to VEX_check_encoding. Check
  2944. for vex_encoding_error. Move Imm4 handling ...
  2945. (check_VecOperands): ... here.
  2946. (match_template): Call VEX_check_encoding when there are no
  2947. operands. Split construct calling check_VecOperands and
  2948. VEX_check_encoding (when there are operands).
  2949. (check_register): Don't blindly set vex_encoding_evex.
  2950. * testsuite/gas/i386/pseudos-bad.s,
  2951. testsuite/gas/i386/pseudos-bad.l: New.
  2952. * testsuite/gas/i386/i386.exp: Run new test.
  2953. * testsuite/gas/i386/xmmhi64.s: Drop {vex2}.
  2954. 2020-06-08 Alex Coplan <alex.coplan@arm.com>
  2955. * config/tc-arm.c (insns): Add dfb.
  2956. * testsuite/gas/arm/dfb.d: New test.
  2957. * testsuite/gas/arm/dfb.s: Input for test.
  2958. 2020-06-08 Nick Clifton <nickc@redhat.com>
  2959. * testsuite/gas/cfi/cfi-i386-2.d: Skip for PE based targets.
  2960. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2961. * config/tc-i386.c (pi): Add checks for RegMask and RegBND.
  2962. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2963. * config/tc-i386.c (check_byte_reg): Drop dead conditional
  2964. around as_bad().
  2965. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2966. * config/tc-i386.c (check_register): Split RegTR handling, to
  2967. fail recognition also in 64-bit mode as well as with i586 or
  2968. i686 explicitly enabled.
  2969. * testsuite/gas/i386/x86_64.s: Add insns referencing tr<N>.
  2970. * testsuite/gas/i386/x86_64-intel.d,
  2971. testsuite/gas/i386/x86_64.d: Adjust expectations.
  2972. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2973. * testsuite/gas/cfi/cfi-i386-2.d: Adjust expectations.
  2974. * testsuite/gas/cfi/cfi.exp: Run this test.
  2975. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2976. * config/tc-i386.c (parse_real_register): Add allow_pseudo_reg
  2977. check to %st(N) parsing logic.
  2978. * testsuite/gas/cfi/cfi-i386.s: Set "generic32" arch.
  2979. 2020-06-08 Jan Beulich <jbeulich@suse.com>
  2980. * config/tc-i386.c (bad_reg): New.
  2981. (check_VecOperations, i386_att_operand, i386_parse_name): Check
  2982. for it.
  2983. (check_register): New, broken out from ...
  2984. (parse_real_register): ... here. Call it.
  2985. (parse_register): Call it, and error upon failure.
  2986. * testsuite/gas/i386/equ-bad.s, testsuite/gas/i386/equ-bad.l,
  2987. testsuite/gas/i386/x86-64-equ-bad.s,
  2988. testsuite/gas/i386/x86-64-equ-bad.l: New.
  2989. * testsuite/gas/i386/i386.exp: Run new tests.
  2990. 2020-06-06 Alan Modra <amodra@gmail.com>
  2991. * config/tc-ppc.c (md_show_usage): Mention -mpower10 and -mpwr10.
  2992. * doc/c-ppc.texi: Likewise.
  2993. 2020-06-06 Alan Modra <amodra@gmail.com>
  2994. * config/tc-ppc.c: Update throughout for reloc renaming.
  2995. 2020-06-05 Jose E. Marchesi <jose.marchesi@oracle.com>
  2996. * config/tc-bpf.c (md_apply_fix): Avoid GCC 10 warning
  2997. stringop-overflow.
  2998. 2020-06-05 Nelson Chu <nelson.chu@sifive.com>
  2999. * config/tc-riscv.c (explicit_csr): New static boolean.
  3000. Used to indicate CSR are explicitly used.
  3001. (riscv_ip): Set explicit_csr to TRUE if any CSR is used.
  3002. (riscv_write_out_attrs): If we already have set elf priv
  3003. attributes, then generate them. Otherwise, don't generate
  3004. them when no CSR are used.
  3005. * testsuite/gas/riscv/attribute-01.d: Remove the priv attributes.
  3006. * testsuite/gas/riscv/attribute-02.d: Likewise.
  3007. * testsuite/gas/riscv/attribute-03.d: Likewise.
  3008. * testsuite/gas/riscv/attribute-04.d: Likewise.
  3009. * testsuite/gas/riscv/attribute-05.d: Likewise.
  3010. * testsuite/gas/riscv/attribute-06.d: Likewise.
  3011. * testsuite/gas/riscv/attribute-07.d: Likewise.
  3012. * testsuite/gas/riscv/attribute-08.d: Likewise.
  3013. * testsuite/gas/riscv/attribute-09.d: Likewise.
  3014. * testsuite/gas/riscv/attribute-10.d: Likewise.
  3015. * testsuite/gas/riscv/attribute-unknown.d: Likewise.
  3016. * testsuite/gas/riscv/attribute-11.s: New testcase.
  3017. * testsuite/gas/riscv/attribute-11.d: New testcase. The CSR is
  3018. used, so we should output the ELF priv attributes.
  3019. * testsuite/gas/riscv/attribute-12.d: New testcase. The CSR is
  3020. used, so output the priv attributes according to the -mpriv-spec.
  3021. * testsuite/gas/riscv/attribute-13.d: New testcase. The CSR isn't
  3022. used, so ignore the -mpriv-spec setting.
  3023. 2020-06-04 H.J. Lu <hongjiu.lu@intel.com>
  3024. * config/tc-ip2k. (ip2k_apply_fix): Pass endianness to
  3025. cgen_get_insn_value.
  3026. * config/tc-xstormy16.c (xstormy16_md_apply_fix): Pass
  3027. endianness to cgen_get_insn_value and cgen_put_insn_value.
  3028. 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
  3029. * config/tc-bpf.c (md_apply_fix): Simplify and avoid using
  3030. cgen_put_insn_value.
  3031. 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
  3032. * config/tc-bpf.c (md_begin): Pass CGEN_CPU_OPEN_INSN_ENDIAN to
  3033. bpf_cgen_cpu_open.
  3034. (md_assemble): Remove no longer needed hack.
  3035. 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
  3036. * cgen.c (gas_cgen_finish_insn): Pass the endianness to
  3037. cgen_put_insn_value.
  3038. (gas_cgen_md_apply_fix): Likewise.
  3039. (gas_cgen_md_apply_fix): Likewise.
  3040. * config/tc-bpf.c (md_apply_fix): Pass data endianness to
  3041. cgen_put_insn_value.
  3042. * config/tc-mep.c (mep_check_ivc2_scheduling): Pass endianness to
  3043. cgen_put_insn_value.
  3044. 2020-06-04 Alan Modra <amodra@gmail.com>
  3045. * testsuite/config/default.exp: Remove global directive outside
  3046. proc body.
  3047. * testsuite/gas/mep/complex-relocs.exp: Likewise.
  3048. * testsuite/gas/microblaze/relax_size.exp: Likewise.
  3049. * testsuite/gas/microblaze/reloc_sym.exp: Likewise.
  3050. * testsuite/gas/mt/relocs.exp: Likewise.
  3051. * testsuite/gas/rx/rx.exp: Likewise.
  3052. 2020-06-03 Stephen Casner <casner@acm.org>
  3053. * doc/c-riscv.texi (RISC-V-Options): Fix non-ASCII apostrophe.
  3054. 2020-06-02 Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr>
  3055. Jim Wilson <jimw@sifive.com>
  3056. PR 26051
  3057. * doc/c-riscv.texi (RISC-V-Formats): Add missing I format using
  3058. simm12(rs1). Correct S format to use simm12(rs1). Drop SB and B
  3059. formats using simm12(rs1). Correct SB and B to use rs1 and rs2.
  3060. Move B before SB. Move J before UJ.
  3061. 2020-06-01 Alex Coplan <alex.coplan@arm.com>
  3062. * write.c (relax_segment): Fix handling of negative offset when
  3063. relaxing an rs_org frag.
  3064. * testsuite/gas/aarch64/org-neg.d: New test.
  3065. * testsuite/gas/aarch64/org-neg.l: Error output for test.
  3066. * testsuite/gas/aarch64/org-neg.s: Input for test.
  3067. * testsuite/gas/arm/org-neg.d: New test.
  3068. * testsuite/gas/arm/org-neg.l: Error output for test.
  3069. * testsuite/gas/arm/org-neg.s: Input for test.
  3070. 2020-05-28 Stephen Casner <casner@acm.org>
  3071. Fix unexpected failures in gas testsuite for pdp11-aout target.
  3072. These are caused by the PDP11's mix of little-endian octets in
  3073. shorts but shorts in big endian order for long or quad.
  3074. * config/tc-pdp11.c (md_number_to_chars): Implement .quad
  3075. * testsuite/gas/all/gas.exp: Select alternate test scripts for
  3076. pdp11, skip octa test completely.
  3077. * testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
  3078. * testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
  3079. * testsuite/gas/all/cond-pdp11.l: Match different octet order.
  3080. 2020-05-28 Alex Coplan <alex.coplan@arm.com>
  3081. * frags.c (frag_grow): Fix comment.
  3082. 2020-05-27 Stephen Casner <casner@acm.org>
  3083. PR gas/26001
  3084. * config/tc-pdp11.c (parse_reg): Distinguish register names from
  3085. symbols that begin with a register name.
  3086. * testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
  3087. * testsuite/gas/pdp11/pr26001.s: Likewise.
  3088. * testsuite/gas/pdp11/pr26001.d: Likewise.
  3089. 2020-05-27 Simon Cook <simon.cook@embecosm.com>
  3090. * config/tc-riscv.c (riscv_init_csr_hash): NULL initilize next
  3091. pointer when creating struct riscv_csr_extra.
  3092. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3093. * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
  3094. * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
  3095. * testsuite/gas/i386/inval-avx512f.l: Updated.
  3096. 2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
  3097. * testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
  3098. load/store instruction variants with alignment hints.
  3099. * testsuite/gas/s390/zarch-z13.s: Emit new vector load/store
  3100. instruction variants with alignment hints.
  3101. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3102. PR gas/26044
  3103. * config/tc-xgate.c (md_apply_fix): Check BFD_RELOC_XGATE_PCREL_X
  3104. instead of R_XGATE_PCREL_X.
  3105. (xgate_parse_operand): Replace R_XGATE_PCREL_X with
  3106. BFD_RELOC_XGATE_PCREL_X.
  3107. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3108. PR gas/26044
  3109. * config/tc-visium.c (md_convert_frag): Replace fragP->fr_literal
  3110. with &fragP->fr_literal[0].
  3111. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3112. PR gas/26044
  3113. * config/tc-vax.c (md_estimate_size_before_relax): Replace
  3114. fragP->fr_literal with &fragP->fr_literal[0].
  3115. (md_convert_frag): Likewise.
  3116. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3117. PR gas/26044
  3118. * config/tc-v850.c (md_convert_frag): Replace fragP->fr_literal
  3119. with &fragP->fr_literal[0].
  3120. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3121. PR gas/26044
  3122. * config/tc-crx.c (getreg_image): Change argument type to int.
  3123. (md_convert_frag): Replace fragP->fr_literal with
  3124. &fragP->fr_literal[0].
  3125. 2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
  3126. PR gas/26044
  3127. * onfig/tc-score.c (s3_do_macro_bcmp): Replace overlapping
  3128. sprintf with memmove.
  3129. 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3130. * config/tc-mcore.c (md_convert_frag): Replace fragP->fr_literal
  3131. with &fragP->fr_literal[0].
  3132. 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3133. PR gas/26041
  3134. * config/tc-cr16.c (md_assemble): Use memmove to concatenate
  3135. 2 overlapping strings.
  3136. 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3137. * config/tc-cr16.c (md_convert_frag): Replace fragP->fr_literal
  3138. with &fragP->fr_literal[0].
  3139. 2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
  3140. * config/tc-csky.c (md_convert_frag): Replace fragp->fr_literal
  3141. with &fragp->fr_literal[0].
  3142. * config/tc-microblaze.c (md_apply_fix): Likewise.
  3143. * config/tc-sh.c (md_convert_frag): Likewise.
  3144. 2020-05-24 Jim Wilson <jimw@sifive.com>
  3145. PR 26025
  3146. * config/tc-riscv.c (riscv_pre_output_hook): Change s type from const
  3147. asection to segT. New locals seg and subseg. Call subseg_set before
  3148. fix_new_exp. Call subseg_set after loop to restore original values.
  3149. 2020-05-21 Alan Modra <amodra@gmail.com>
  3150. * atof-generic.c: Replace "if (x) free (x)" with "free (x)"
  3151. throughout.
  3152. * config/obj-elf.c: Likewise.
  3153. * config/tc-aarch64.c: Likewise.
  3154. * config/tc-arm.c: Likewise.
  3155. * config/tc-m68k.c: Likewise.
  3156. * config/tc-nios2.c: Likewise.
  3157. * config/tc-tic30.c: Likewise.
  3158. * ecoff.c: Likewise.
  3159. * read.c: Likewise.
  3160. * stabs.c: Likewise.
  3161. * symbols.c: Likewise.
  3162. * testsuite/gas/all/test-gen.c: Likewise.
  3163. 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
  3164. * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: Updated.
  3165. * config/tc-riscv.c (default_arch_with_ext, default_isa_spec):
  3166. Static variables which are used to set the ISA extensions. You can
  3167. use -march (or ELF build attributes) and -misa-spec to set them,
  3168. respectively.
  3169. (ext_version_hash): The hash table used to handle the extensions
  3170. with versions.
  3171. (init_ext_version_hash): Initialize the ext_version_hash according
  3172. to riscv_ext_version_table.
  3173. (riscv_get_default_ext_version): The callback function of
  3174. riscv_parse_subset_t. According to the choosed ISA spec,
  3175. get the default version for the specific extension.
  3176. (riscv_set_arch): Set the callback function.
  3177. (enum options, struct option md_longopts): Add new option -misa-spec.
  3178. (md_parse_option): Do not call riscv_set_arch for -march. We will
  3179. call it later in riscv_after_parse_args. Call riscv_get_isa_spec_class
  3180. to set default_isa_spec class.
  3181. (riscv_after_parse_args): Call init_ext_version_hash to initialize the
  3182. ext_version_hash, and then call riscv_set_arch to set the architecture
  3183. with versions according to default_arch_with_ext.
  3184. * testsuite/gas/riscv/attribute-02.d: Set 0p0 as default version for
  3185. x extensions.
  3186. * testsuite/gas/riscv/attribute-03.d: Likewise.
  3187. * testsuite/gas/riscv/attribute-09.d: New testcase. For i-ext, we
  3188. already set it's version to 2p1 by march, so no need to use the default
  3189. 2p2 version. For m-ext, we do not set the version by -march and ELF arch
  3190. attribute, so set the default 2p0 to it. For zicsr, it is not defined in
  3191. ISA spec 2p2, so set 0p0 to it.
  3192. * testsuite/gas/riscv/attribute-10.d: New testcase. The version of
  3193. zicsr is 2p0 according to ISA spec 20191213.
  3194. * config/tc-riscv.c (DEFAULT_RISCV_ARCH_WITH_EXT)
  3195. (DEFAULT_RISCV_ISA_SPEC): Default configure option settings.
  3196. You can set them by configure options --with-arch and
  3197. --with-isa-spec, respectively.
  3198. (riscv_set_default_isa_spec): New function used to set the
  3199. default ISA spec.
  3200. (md_parse_option): Call riscv_set_default_isa_spec rather than
  3201. call riscv_get_isa_spec_class directly.
  3202. (riscv_after_parse_args): If the -isa-spec is not set, then we
  3203. set the default ISA spec according to DEFAULT_RISCV_ISA_SPEC by
  3204. calling riscv_set_default_isa_spec.
  3205. * testsuite/gas/riscv/attribute-01.d: Add -misa-spec=2.2, since
  3206. the --with-isa-spec may be set to different ISA spec.
  3207. * testsuite/gas/riscv/attribute-02.d: Likewise.
  3208. * testsuite/gas/riscv/attribute-03.d: Likewise.
  3209. * testsuite/gas/riscv/attribute-04.d: Likewise.
  3210. * testsuite/gas/riscv/attribute-05.d: Likewise.
  3211. * testsuite/gas/riscv/attribute-06.d: Likewise.
  3212. * testsuite/gas/riscv/attribute-07.d: Likewise.
  3213. * configure.ac: Add configure options, --with-arch and
  3214. --with-isa-spec.
  3215. * configure: Regenerated.
  3216. * config.in: Regenerated.
  3217. * config/tc-riscv.c (default_priv_spec): Static variable which is
  3218. used to check if the CSR is valid for the chosen privilege spec. You
  3219. can use -mpriv-spec to set it.
  3220. (enum reg_class): We now get the CSR address from csr_extra_hash rather
  3221. than reg_names_hash. Therefore, move RCLASS_CSR behind RCLASS_MAX.
  3222. (riscv_init_csr_hashes): Only need to initialize one hash table
  3223. csr_extra_hash.
  3224. (riscv_csr_class_check): Change the return type to void. Don't check
  3225. the ISA dependency if -mcsr-check isn't set.
  3226. (riscv_csr_version_check): New function. Check and find the CSR address
  3227. from csr_extra_hash, according to default_priv_spec. Report warning
  3228. for the invalid CSR if -mcsr-check is set.
  3229. (reg_csr_lookup_internal): Updated.
  3230. (reg_lookup_internal): Likewise.
  3231. (md_begin): Updated since DECLARE_CSR and DECLARE_CSR_ALIAS are changed.
  3232. (enum options, struct option md_longopts): Add new GAS option -mpriv-spec.
  3233. (md_parse_option): Call riscv_set_default_priv_version to set
  3234. default_priv_spec.
  3235. (riscv_after_parse_args): If -mpriv-spec isn't set, then set the default
  3236. privilege spec to the newest one.
  3237. (enum riscv_csr_class, struct riscv_csr_extra): Move them to
  3238. include/opcode/riscv.h.
  3239. * testsuite/gas/riscv/priv-reg-fail-fext.d: This test case just want
  3240. to check the ISA dependency for CSR, so fix the spec version by adding
  3241. -mpriv-spec=1.11.
  3242. * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise. There are some
  3243. version warnings for the test case.
  3244. * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
  3245. * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
  3246. * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
  3247. * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
  3248. * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
  3249. * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: New test case.
  3250. Check whether the CSR is valid when privilege version 1.9 is choosed.
  3251. * testsuite/gas/riscv/priv-reg-fail-version-1p9.l: Likewise.
  3252. * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: New test case.
  3253. Check whether the CSR is valid when privilege version 1.9.1 is choosed.
  3254. * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.l: Likewise.
  3255. * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: New test case.
  3256. Check whether the CSR is valid when privilege version 1.10 is choosed.
  3257. * testsuite/gas/riscv/priv-reg-fail-version-1p10.l: Likewise.
  3258. * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: New test case.
  3259. Check whether the CSR is valid when privilege version 1.11 is choosed.
  3260. * testsuite/gas/riscv/priv-reg-fail-version-1p11.l: Likewise.
  3261. * config/tc-riscv.c (DEFAULT_RISCV_ISA_SPEC): Default configure option
  3262. setting. You can set it by configure option --with-priv-spec.
  3263. (riscv_set_default_priv_spec): New function used to set the default
  3264. privilege spec.
  3265. (md_parse_option): Call riscv_set_default_priv_spec rather than
  3266. call riscv_get_priv_spec_class directly.
  3267. (riscv_after_parse_args): If -mpriv-spec isn't set, then we set the
  3268. default privilege spec according to DEFAULT_RISCV_PRIV_SPEC by
  3269. calling riscv_set_default_priv_spec.
  3270. * testsuite/gas/riscv/csr-dw-regnums.d: Add -mpriv-spec=1.11, since
  3271. the --with-priv-spec may be set to different privilege spec.
  3272. * testsuite/gas/riscv/priv-reg.d: Likewise.
  3273. * configure.ac: Add configure option --with-priv-spec.
  3274. * configure: Regenerated.
  3275. * config.in: Regenerated.
  3276. * config/tc-riscv.c (explicit_attr): Rename explicit_arch_attr to
  3277. explicit_attr. Set it to TRUE if any ELF attribute is found.
  3278. (riscv_set_default_priv_spec): Try to set the default_priv_spec if
  3279. the priv attributes are set.
  3280. (md_assemble): Set the default_priv_spec according to the priv
  3281. attributes when we start to assemble instruction.
  3282. (riscv_write_out_attrs): Rename riscv_write_out_arch_attr to
  3283. riscv_write_out_attrs. Update the arch and priv attributes. If we
  3284. don't set the corresponding ELF attributes, then try to output the
  3285. default ones.
  3286. (riscv_set_public_attributes): If any ELF attribute or -march-attr
  3287. options is set (explicit_attr is TRUE), then call riscv_write_out_attrs
  3288. to update the arch and priv attributes.
  3289. (s_riscv_attribute): Make sure all arch and priv attributes are set
  3290. before any instruction.
  3291. * testsuite/gas/riscv/attribute-01.d: Update the priv attributes if any
  3292. ELF attribute or -march-attr is set. If the priv attributes are not
  3293. set, then try to update them by the default setting (-mpriv-spec or
  3294. --with-priv-spec).
  3295. * testsuite/gas/riscv/attribute-02.d: Likewise.
  3296. * testsuite/gas/riscv/attribute-03.d: Likewise.
  3297. * testsuite/gas/riscv/attribute-04.d: Likewise.
  3298. * testsuite/gas/riscv/attribute-06.d: Likewise.
  3299. * testsuite/gas/riscv/attribute-07.d: Likewise.
  3300. * testsuite/gas/riscv/attribute-08.d: Likewise.
  3301. * testsuite/gas/riscv/attribute-09.d: Likewise.
  3302. * testsuite/gas/riscv/attribute-10.d: Likewise.
  3303. * testsuite/gas/riscv/attribute-unknown.d: Likewise.
  3304. * testsuite/gas/riscv/attribute-05.d: Likewise. Also, the priv spec
  3305. set by priv attributes must be supported.
  3306. * testsuite/gas/riscv/attribute-05.s: Likewise.
  3307. * testsuite/gas/riscv/priv-reg-fail-version-1p9.d: Likewise. Updated
  3308. priv attributes according to the -mpriv-spec option.
  3309. * testsuite/gas/riscv/priv-reg-fail-version-1p9p1.d: Likewise.
  3310. * testsuite/gas/riscv/priv-reg-fail-version-1p10.d: Likewise.
  3311. * testsuite/gas/riscv/priv-reg-fail-version-1p11.d: Likewise.
  3312. * testsuite/gas/riscv/priv-reg.d: Removed.
  3313. * testsuite/gas/riscv/priv-reg-version-1p9.d: New test case. Dump the
  3314. CSR according to the priv spec 1.9.
  3315. * testsuite/gas/riscv/priv-reg-version-1p9p1.d: New test case. Dump the
  3316. CSR according to the priv spec 1.9.1.
  3317. * testsuite/gas/riscv/priv-reg-version-1p10.d: New test case. Dump the
  3318. CSR according to the priv spec 1.10.
  3319. * testsuite/gas/riscv/priv-reg-version-1p11.d: New test case. Dump the
  3320. CSR according to the priv spec 1.11.
  3321. * config/tc-riscv.c (md_show_usage): Add descriptions about
  3322. the new GAS options.
  3323. * doc/c-riscv.texi: Likewise.
  3324. 2020-05-19 Peter Bergner <bergner@linux.ibm.com>
  3325. * testsuite/gas/ppc/power9.s <dcbf, dcbfl, dcbflp>: Add tests.
  3326. * testsuite/gas/ppc/power9.d: Likewise.
  3327. * testsuite/gas/ppc/power10.s <dcbf, dcbfps, dcbstps, hwsync, lwsync,
  3328. pause_short, phwsync, plwsync, ptesync, stcisync, stncisync, stsync,
  3329. sync, wait, waitrsv>: Add tests.
  3330. * testsuite/gas/ppc/power10.d: Likewise.
  3331. 2020-05-19 Alexander Fedotov <alfedotov@gmail.com>
  3332. PR 25992
  3333. * config/tc-arm.c : Add arm_ext_v8r feature.
  3334. (it_fsm_post_encode): Check arm_ext_v8r feature.
  3335. (get_aeabi_cpu_arch_from_fset): Check arm_ext_v8r feature.
  3336. 2020-05-19 Alan Modra <amodra@gmail.com>
  3337. * write.c (write_contents): Use bfd_get_filename rather than
  3338. accessing bfd->filename directly. Use bfd_section_name rather
  3339. than accessing section->name directly.
  3340. 2020-05-19 Alan Modra <amodra@gmail.com>
  3341. * symbols.c (local_symbol_make): Init all of lsy_flags.
  3342. 2020-05-18 Alan Modra <amodra@gmail.com>
  3343. * symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
  3344. before looking at add_symbol->sy_flags.
  3345. 2020-05-18 Hongtao Liu <hongtao.liu@intel.com>
  3346. * config/tc-i386.c: Not handle lret/iret.
  3347. * testsuite/gas/i386/lfence-ret-a.d: Adjust testcase.
  3348. * testsuite/gas/i386/lfence-ret-b.d: Ditto.
  3349. * testsuite/gas/i386/lfence-ret-c.d: Ditto.
  3350. * testsuite/gas/i386/lfence-ret-d.d: Ditto.
  3351. * testsuite/gas/i386/lfence-ret.s: Ditto.
  3352. * testsuite/gas/i386/x86-64-lfence-ret-a.d: Ditto.
  3353. * testsuite/gas/i386/x86-64-lfence-ret-b.d: Ditto.
  3354. * testsuite/gas/i386/x86-64-lfence-ret-c.d: Ditto.
  3355. * testsuite/gas/i386/x86-64-lfence-ret-d.d: Ditto.
  3356. * testsuite/gas/i386/x86-64-lfence-ret-e.d: Ditto.
  3357. * testsuite/gas/i386/x86-64-lfence-ret.s: Ditto.
  3358. * testsuite/gas/i386/x86-64-lfence-ret.e: Deleted.
  3359. 2020-05-15 Alan Modra <amodra@gmail.com>
  3360. Alex Coplan <alex.coplan@arm.com>
  3361. * symbols.c (struct local_symbol): Update comment.
  3362. (resolve_symbol_value): For resolved symbols equated to other
  3363. symbols, verify that the referenced symbol is not a local_symbol
  3364. before accessing sy_value. Don't leave symbol loops during
  3365. finalize_syms resolution.
  3366. * testsuite/gas/all/assign-bad-recursive.d: New test.
  3367. * testsuite/gas/all/assign-bad-recursive.l: Error output for test.
  3368. * testsuite/gas/all/assign-bad-recursive.s: Assembly for test.
  3369. * testsuite/gas/all/gas.exp: Run it.
  3370. 2020-05-14 Nick Clifton <nickc@redhat.com>
  3371. * po/sv.po: Updated Swedish translation.
  3372. 2020-05-11 Alan Modra <amodra@gmail.com>
  3373. * testsuite/gas/ppc/scalarquad.d,
  3374. * testsuite/gas/ppc/scalarquad.s: New test.
  3375. * testsuite/gas/ppc/ppc.exp: Run it.
  3376. 2020-05-11 Alan Modra <amodra@gmail.com>
  3377. * testsuite/gas/ppc/rightmost.d,
  3378. * testsuite/gas/ppc/rightmost.s: New test.
  3379. * testsuite/gas/ppc/ppc.exp: Run it.
  3380. 2020-05-11 Alan Modra <amodra@gmail.com>
  3381. * testsuite/gas/ppc/xvtlsbb.d,
  3382. * testsuite/gas/ppc/xvtlsbb.s: New test.
  3383. * testsuite/gas/ppc/ppc.exp: Run it.
  3384. 2020-05-11 Alan Modra <amodra@gmail.com>
  3385. * testsuite/gas/ppc/stringop.d,
  3386. * testsuite/gas/ppc/stringop.s: New test.
  3387. * testsuite/gas/ppc/ppc.exp: Run it.
  3388. 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
  3389. * testsuite/gas/ppc/set_bool.d,
  3390. * testsuite/gas/ppc/set_bool.s: New test.
  3391. * testsuite/gas/ppc/ppc.exp: Run it.
  3392. 2020-05-11 Alan Modra <amodra@gmail.com>
  3393. * testsuite/gas/ppc/bitmanip.d,
  3394. * testsuite/gas/ppc/bitmanip.s: New test.
  3395. * testsuite/gas/ppc/ppc.exp: Run it.
  3396. 2020-05-11 Alan Modra <amodra@gmail.com>
  3397. * testsuite/gas/ppc/genpcv.d,
  3398. * testsuite/gas/ppc/genpcv.s: New test.
  3399. * testsuite/gas/ppc/ppc.exp: Run it.
  3400. 2020-05-11 Alan Modra <amodra@gmail.com>
  3401. * testsuite/gas/ppc/maskmanip.d,
  3402. * testsuite/gas/ppc/maskmanip.s: New test.
  3403. * testsuite/gas/ppc/ppc.exp: Run it.
  3404. 2020-05-11 Alan Modra <amodra@gmail.com>
  3405. Peter Bergner <bergner@linux.ibm.com>
  3406. * config/tc-ppc.c (pre_defined_registers): Add accumulators.
  3407. (md_assemble): Check acc specified in correct operand.
  3408. * testsuite/gas/ppc/outerprod.d,
  3409. * testsuite/gas/ppc/outerprod.s,
  3410. * testsuite/gas/ppc/vsx4.d,
  3411. * testsuite/gas/ppc/vsx4.s: New tests.
  3412. * testsuite/gas/ppc/ppc.exp: Run them.
  3413. 2020-05-11 Alan Modra <amodra@gmail.com>
  3414. * testsuite/gas/ppc/simd_perm.d,
  3415. * testsuite/gas/ppc/simd_perm.s: New test.
  3416. * testsuite/gas/ppc/ppc.exp: Run it.
  3417. 2020-05-11 Alan Modra <amodra@gmail.com>
  3418. * testsuite/gas/ppc/int128.d,
  3419. * testsuite/gas/ppc/int128.s: New test.
  3420. * testsuite/gas/ppc/ppc.exp: Run it.
  3421. 2020-05-11 Alan Modra <amodra@gmail.com>
  3422. * testsuite/gas/ppc/vsx_32byte.d,
  3423. * testsuite/gas/ppc/vsx_32byte.s: New test.
  3424. * testsuite/gas/ppc/ppc.exp: Run it.
  3425. 2020-05-11 Alan Modra <amodra@gmail.com>
  3426. * testsuite/gas/ppc/vec_mul.s,
  3427. * testsuite/gas/ppc/vec_mul.d: New test.
  3428. * testsuite/gas/ppc/ppc.exp: Run it.
  3429. 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
  3430. * testsuite/gas/ppc/byte_rev.d,
  3431. * testsuite/gas/ppc/byte_rev.s: New test.
  3432. * testsuite/gas/ppc/ppc.exp: Run it.
  3433. 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
  3434. * testsuite/gas/ppc/power10.d: Add paste. tests.
  3435. * testsuite/gas/ppc/power10.s: Likewise.
  3436. 2020-05-11 Peter Bergner <bergner@linux.ibm.com>
  3437. * testsuite/gas/ppc/power10.s: New test.
  3438. * testsuite/gas/ppc/power10.d: Likewise.
  3439. * testsuite/gas/ppc/ppc.exp: Run it.
  3440. 2020-05-11 Alan Modra <amodra@gmail.com>
  3441. * config/tc-ppc.c (md_assemble): Update for PPC_OPCODE_POWER10
  3442. renaming.
  3443. * testsuite/gas/ppc/prefix-align.d: Use -mpower10/-Mpower10 in
  3444. place of -mfuture/-Mfuture.
  3445. * testsuite/gas/ppc/prefix-pcrel.d: Likewise.
  3446. * testsuite/gas/ppc/prefix-reloc.d: Likewise.
  3447. 2020-05-06 Nick Clifton <nickc@redhat.com>
  3448. * po/sv.po: Updated Swedish translation.
  3449. 2020-05-06 Nick Clifton <nickc@redhat.com>
  3450. PR 25927
  3451. * doc/as.texi (Preprocessing): Replace cross reference to not
  3452. existant document with a URL to the equivalent page in the GCC
  3453. manual.
  3454. 2020-05-05 Nick Clifton <nickc@redhat.com>
  3455. * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the
  3456. construction of a DWARF-5 directory name table.
  3457. * testsuite/gas/elf/pr25917.d: Update expected output.
  3458. 2020-05-05 Gunther Nikl <gnikl@justmail.de>
  3459. * config/tc-rx.c (elf_flags): Initialize for non-linux targets.
  3460. (md_parse_option): Remove initialization of elf_flags.
  3461. 2020-05-04 Andre Vieira <andre.simoesdiasvieira@arm.com>
  3462. PR gas/25863
  3463. * config/tc-arm.c (do_mve_vmull): Fix scalar and NEON parsing of vmul.
  3464. * testsuite/gas/arm/mve-scalar-vmult-it.d: New test.
  3465. * testsuite/gas/arm/mve-scalar-vmult-it.s: New test.
  3466. 2020-05-04 Nick Clifton <nickc@redhat.com>
  3467. PR 25917
  3468. * dwarf2dbg.c (out_dir_and_file_list): Check for the directory
  3469. table's existence before looking at its entries.
  3470. Also do not emit a default directory entry if there are no
  3471. directories in use.
  3472. * testsuite/gas/elf/pr25917.s: New test source file.
  3473. * testsuite/gas/elf/pr25917.d: New test driver.
  3474. * testsuite/gas/elf/elf.exp (run_elf_list_test): Run the new test.
  3475. 2020-04-30 Alex Coplan <alex.coplan@arm.com>
  3476. * config/tc-aarch64.c (fix_insn): Implement for
  3477. AARCH64_OPND_UNDEFINED.
  3478. (parse_operands): Implement for AARCH64_OPND_UNDEFINED.
  3479. * testsuite/gas/aarch64/udf.s: New.
  3480. * testsuite/gas/aarch64/udf.d: New.
  3481. * testsuite/gas/aarch64/udf-invalid.s: New.
  3482. * testsuite/gas/aarch64/udf-invalid.l: New.
  3483. * testsuite/gas/aarch64/udf-invalid.d: New.
  3484. 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
  3485. * config/tc-rx.c (elf_flags): Reset default value.
  3486. (md_parse_option): For rx-elf Initialize elf_flags with RX_ABI.
  3487. 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
  3488. * config/tc-xtensa.c (XTENSA_MARCH_EARLIEST): Define macro as 0
  3489. if it's not defined.
  3490. (microarch_earliest): New static variable.
  3491. (xg_translate_idioms): Translate "simcall" to "simcall 0" when
  3492. simcall opcode has mandatory parameter.
  3493. (xg_init_global_config): Initialize microarch_earliest.
  3494. 2020-04-29 Nick Clifton <nickc@redhat.com>
  3495. PR 22699
  3496. * config/tc-sh.c (build_Mytes): Change operand type IMM0_8 to
  3497. IMM0_8S and add support for IMM0_8U.
  3498. * testsuite/gas/sh/sh4a.s: Add test of a logical insn using an
  3499. unsigned 8-bit immediate.
  3500. * testsuite/gas/sh/sh4a.d: Extended expected disassembly.
  3501. * testsuite/gas/sh/sh4al-dsp.d: Update expected disassembly.
  3502. 2020-04-27 Tamar Christina <tamar.christina@arm.com>
  3503. * NEWS: Add news entry for big-obj.
  3504. * config/tc-i386.c (i386_target_format): Support new format.
  3505. * doc/c-i386.texi: Add i386 support.
  3506. * testsuite/gas/pe/big-obj.d: Rename test to not be x64 specific.
  3507. * testsuite/gas/pe/pe.exp (big-obj): Make test run on i386 as well.
  3508. 2020-04-27 Nick Clifton <nickc@redhat.com>
  3509. PR 25878
  3510. * dwarf2dbg.c (struct file_entry): Add auto_assigned field.
  3511. (assign_file_to_slot): New function. Fills in an entry in the
  3512. files table.
  3513. (allocate_filenum): Use new function.
  3514. (allocate_filename_to_slot): Use new function. If the specified
  3515. slot entry is already in use, but was chosen automatically then
  3516. reassign the automatic entry.
  3517. 2020-04-26 Hongtao Liu <hongtao.liu@intel.com
  3518. * config/tc-i386.c (lfence_before_ret_shl): New member.
  3519. (load_insn_p): implict load for POP/POPA/POPF/XLATB, no load
  3520. for Anysize insns.
  3521. (insert_after_load): Issue warning for REP CMPS/SCAS.
  3522. (insert_before_before): Handle iret, Handle
  3523. -mlfence-before-ret=shl, Adjust operand size of or/not/shl to ret's,
  3524. (md_parse_option): Change -mlfence-before-ret=[none|not|or] to
  3525. -mlfence-before-ret=[none/not/or/shl/yes].
  3526. Enable -mlfence-before-ret=shl when
  3527. -mlfence-beofre-indirect-branch=all and no explicit -mlfence-before-ret option.
  3528. (md_show_usage): Ditto.
  3529. * doc/c-i386.texi: Ditto.
  3530. * testsuite/gas/i386/i386.exp: Add new testcases.
  3531. * testsuite/gas/i386/lfence-load-b.d: New.
  3532. * testsuite/gas/i386/lfence-load-b.e: New.
  3533. * testsuite/gas/i386/lfence-load.d: Modified.
  3534. * testsuite/gas/i386/lfence-load.e: New.
  3535. * testsuite/gas/i386/lfence-load.s: Modified.
  3536. * testsuite/gas/i386/lfence-ret-a.d: Modified.
  3537. * testsuite/gas/i386/lfence-ret-b.d: Modified.
  3538. * testsuite/gas/i386/lfence-ret-c.d: New.
  3539. * testsuite/gas/i386/lfence-ret-d.d: New.
  3540. * testsuite/gas/i386/lfence-ret.s: Modified.
  3541. * testsuite/gas/i386/x86-64-lfence-load-b.d: New.
  3542. * testsuite/gas/i386/x86-64-lfence-load.d: Modified.
  3543. * testsuite/gas/i386/x86-64-lfence-load.s: Modified.
  3544. * testsuite/gas/i386/x86-64-lfence-ret-a.d: Modified.
  3545. * testsuite/gas/i386/x86-64-lfence-ret-b.d: Modified.
  3546. * testsuite/gas/i386/x86-64-lfence-ret-c.d: New.
  3547. * testsuite/gas/i386/x86-64-lfence-ret-d.d: New
  3548. * testsuite/gas/i386/x86-64-lfence-ret-e.d: New.
  3549. * testsuite/gas/i386/x86-64-lfence-ret.e: New.
  3550. * testsuite/gas/i386/x86-64-lfence-ret.s: New.
  3551. 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
  3552. PR ld/25861
  3553. * config/tc-xtensa.c (md_apply_fix): Replace
  3554. BFD_RELOC_XTENSA_DIFF{8,16,32} generation with
  3555. BFD_RELOC_XTENSA_PDIFF{8,16,32} and
  3556. BFD_RELOC_XTENSA_NDIFF{8,16,32} generation.
  3557. * testsuite/gas/xtensa/loc.d: Replace BFD_RELOC_XTENSA_DIFF16
  3558. with BFD_RELOC_XTENSA_PDIFF16 in the expected output.
  3559. 2020-04-22 Alan Modra <amodra@gmail.com>
  3560. * config/obj-elf.c (elf_frob_symbol): Unconditionally remove
  3561. symbol for ".symver .. remove".
  3562. * doc/as.texi (.symver): Update.
  3563. * testsuite/gas/symver/symver11.s: Make foo weak.
  3564. * testsuite/gas/symver/symver11.d: Expect an error.
  3565. * testsuite/gas/symver/symver7.d: Allow other random symbols.
  3566. 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
  3567. * testsuite/gas/symver/symver11.s: Add ".balign 8".
  3568. 2020-04-21 Andreas Schwab <schwab@linux-m68k.org>
  3569. PR 25848
  3570. * testsuite/gas/m68k/operands.s: Add tests for cmpi.
  3571. * testsuite/gas/m68k/operands.d: Update.
  3572. * testsuite/gas/m68k/op68000.d: Update for new error messages.
  3573. 2020-04-21 Tamar Christina <tamar.christina@arm.com>
  3574. PR binutils/24753
  3575. * testsuite/gas/arm/pr24753.d: New test.
  3576. * testsuite/gas/arm/pr24753.s: New test.
  3577. 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
  3578. PR gas/23840
  3579. PR gas/25295
  3580. * NEWS: Mention .symver extension.
  3581. * config/obj-elf.c (obj_elf_find_and_add_versioned_name): New
  3582. function.
  3583. (obj_elf_symver): Call obj_elf_find_and_add_versioned_name to
  3584. add a version name. Add local, hidden and remove visibility
  3585. support.
  3586. (elf_frob_symbol): Handle the list of version names. Update the
  3587. original symbol to local, hidden or remove it from the symbol
  3588. table.
  3589. (elf_frob_file_before_adjust): Handle the list of version names.
  3590. * config/obj-elf.h (elf_visibility): New.
  3591. (elf_versioned_name_list): Likewise.
  3592. (elf_obj_sy): Change local to bitfield. Add rename, bad_version
  3593. and visibility. Change versioned_name pointer to struct
  3594. elf_versioned_name_list.
  3595. * doc/as.texi: Update .symver directive.
  3596. * testsuite/gas/symver/symver.exp: Run all *.d tests. Add more
  3597. error checking tests.
  3598. * testsuite/gas/symver/symver6.d: New file.
  3599. * testsuite/gas/symver/symver7.d: Likewise.
  3600. * testsuite/gas/symver/symver7.s: Likewise.
  3601. * testsuite/gas/symver/symver8.d: Likewise.
  3602. * testsuite/gas/symver/symver8.s: Likewise.
  3603. * testsuite/gas/symver/symver9.s: Likewise.
  3604. * testsuite/gas/symver/symver9a.d: Likewise.
  3605. * testsuite/gas/symver/symver9b.d: Likewise.
  3606. * testsuite/gas/symver/symver10.s: Likewise.
  3607. * testsuite/gas/symver/symver10a.d: Likewise.
  3608. * testsuite/gas/symver/symver10b.d: Likewise.
  3609. * testsuite/gas/symver/symver11.d: Likewise.
  3610. * testsuite/gas/symver/symver11.s: Likewise.
  3611. * testsuite/gas/symver/symver12.d: Likewise.
  3612. * testsuite/gas/symver/symver12.s: Likewise.
  3613. * testsuite/gas/symver/symver13.d: Likewise.
  3614. * testsuite/gas/symver/symver13.s: Likewise.
  3615. * testsuite/gas/symver/symver14.d: Likewise.
  3616. * testsuite/gas/symver/symver14.l: Likewise.
  3617. * testsuite/gas/symver/symver15.d: Likewise.
  3618. * testsuite/gas/symver/symver15.l: Likewise.
  3619. * testsuite/gas/symver/symver6.l: Removed.
  3620. * testsuite/gas/symver/symver6.s: Updated.
  3621. 2020-04-20 Sudakshina Das <sudi.das@arm.com>
  3622. * config/tc-aarch64.c (parse_barrier_psb): Update error messages
  3623. to include TSB.
  3624. * testsuite/gas/aarch64/system-2.d: Update -march and new tsb tests.
  3625. * testsuite/gas/aarch64/system-2.s: Add new tsb tests.
  3626. * testsuite/gas/aarch64/system.d: Update.
  3627. 2020-04-20 Sudakshina Das <sudi.das@arm.com>
  3628. * testsuite/gas/aarch64/bti.d: Update -march option.
  3629. * testsuite/gas/aarch64/illegal-bti.d: Remove.
  3630. * testsuite/gas/aarch64/illegal-bti.l: Remove.
  3631. * testsuite/gas/aarch64/illegal-ras-1.l: Remove esb.
  3632. * testsuite/gas/aarch64/illegal-ras-1.s: Remove esb.
  3633. 2020-04-17 Alan Modra <amodra@gmail.com>
  3634. * config/tc-bfin.h (TC_EQUAL_IN_INSN): Allow assignment to dot.
  3635. 2020-04-16 Gagan Singh Sidhu <broly@mac.com>
  3636. Nick Clifton <nickc@redhat.com>
  3637. PR 25803
  3638. * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
  3639. targets.
  3640. * testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
  3641. for the type-2 test.
  3642. * testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
  3643. targets running this test.
  3644. 2020-02-16 David Faust <david.faust@oracle.com>
  3645. * testsuite/gas/bpf/bpf.exp: Run jump32 tests.
  3646. * testsuite/gas/bpf/jump32.s: New file.
  3647. * testsuite/gas/bpf/jump32.d: Likewise.
  3648. 2020-04-08 H.J. Lu <hongjiu.lu@intel.com>
  3649. * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
  3650. documentation.
  3651. 2020-04-08 Gunther Nikl <gnikl@justmail.de>
  3652. * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
  3653. (md_pcrel_from): Remove prototytpe.
  3654. * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
  3655. define.
  3656. (md_pcrel_from_section): Remove duplicate prototype.
  3657. * tc.h (md_pcrel_from_section): Add prototype.
  3658. * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
  3659. * config/tc-arc.h (md_pcrel_from_section): Likewise.
  3660. * config/tc-arm.h (md_pcrel_from_section): Likewise.
  3661. * config/tc-avr.h (md_pcrel_from_section): Likewise.
  3662. * config/tc-bfin.h (md_pcrel_from_section): Likewise.
  3663. * config/tc-bpf.h (md_pcrel_from_section): Likewise.
  3664. * config/tc-csky.h (md_pcrel_from_section): Likewise.
  3665. * config/tc-d10v.h (md_pcrel_from_section): Likewise.
  3666. * config/tc-d30v.h (md_pcrel_from_section): Likewise.
  3667. * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
  3668. * config/tc-fr30.h (md_pcrel_from_section): Likewise.
  3669. * config/tc-frv.h (md_pcrel_from_section): Likewise.
  3670. * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
  3671. * config/tc-lm32.h (md_pcrel_from_section): Likewise.
  3672. * config/tc-m32c.h (md_pcrel_from_section): Likewise.
  3673. * config/tc-m32r.h (md_pcrel_from_section): Likewise.
  3674. * config/tc-mcore.h (md_pcrel_from_section): Likewise.
  3675. * config/tc-mep.h (md_pcrel_from_section): Likewise.
  3676. * config/tc-metag.h (md_pcrel_from_section): Likewise.
  3677. * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
  3678. * config/tc-mmix.h (md_pcrel_from_section): Likewise.
  3679. * config/tc-moxie.h (md_pcrel_from_section): Likewise.
  3680. * config/tc-msp430.h (md_pcrel_from_section): Likewise.
  3681. * config/tc-mt.h (md_pcrel_from_section): Likewise.
  3682. * config/tc-or1k.h (md_pcrel_from_section): Likewise.
  3683. * config/tc-ppc.h (md_pcrel_from_section): Likewise.
  3684. * config/tc-rl78.h (md_pcrel_from_section): Likewise.
  3685. * config/tc-rx.h (md_pcrel_from_section): Likewise.
  3686. * config/tc-s390.h (md_pcrel_from_section): Likewise.
  3687. * config/tc-sh.h (md_pcrel_from_section): Likewise.
  3688. * config/tc-xc16x.h (md_pcrel_from_section): Likewise.
  3689. * config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
  3690. * config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
  3691. md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
  3692. md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
  3693. md_apply_fix3): Delete prototypes.
  3694. 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
  3695. * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
  3696. instructions.
  3697. 2020-04-07 H.J. Lu <hongjiu.lu@intel.com>
  3698. * doc/c-z80.texi: Fix @xref warnings.
  3699. 2020-04-07 Lili Cui <lili.cui@intel.com>
  3700. * config/tc-i386.c (cpu_arch): Add .TSXLDTRK.
  3701. (cpu_noarch): Likewise.
  3702. * doc/c-i386.texi: Document TSXLDTRK.
  3703. * testsuite/gas/i386/i386.exp: Run TSXLDTRK tests.
  3704. * testsuite/gas/i386/tsxldtrk.d: Likewise.
  3705. * testsuite/gas/i386/tsxldtrk.s: Likewise.
  3706. * testsuite/gas/i386/x86-64-tsxldtrk.d: Likewise.
  3707. 2020-04-02 Lili Cui <lili.cui@intel.com>
  3708. * config/tc-i386.c (cpu_arch): Add .serialize.
  3709. (cpu_noarch): Likewise.
  3710. * doc/c-i386.texi: Document serialize.
  3711. * testsuite/gas/i386/i386.exp: Run serialize tests
  3712. * testsuite/gas/i386/serialize.d: Likewise.
  3713. * testsuite/gas/i386/x86-64-serialize.d: Likewise.
  3714. * testsuite/gas/i386/serialize.s: Likewise.
  3715. 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  3716. * testsuite/gas/elf/section12a.d: Use notarget instead of xfail.
  3717. * testsuite/gas/elf/section12b.d: Likewise.
  3718. * testsuite/gas/elf/section16a.d: Likewise.
  3719. * testsuite/gas/elf/section16b.d: Likewise.
  3720. 2020-04-02 Gunther Nikl <gnikl@justmail.de>
  3721. * config/tc-m68k.c (m68k_ip): Fix range check for index register
  3722. with a suppressed address register.
  3723. 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
  3724. PR gas/25756
  3725. * config/tc-i386.h (TC_FORCE_RELOCATION_ABS): New.
  3726. * testsuite/gas/i386/localpic.s: Add a test for relocation
  3727. against local absolute symbol.
  3728. * testsuite/gas/i386/x86-64-localpic.s: Likewise.
  3729. * testsuite/gas/i386/localpic.d: Updated.
  3730. * testsuite/gas/i386/x86-64-localpic.d: Likewise.
  3731. * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
  3732. 2020-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  3733. PR gas/25732
  3734. * testsuite/gas/i386/solaris/x86-64-branch-2.d: New file.
  3735. * testsuite/gas/i386/solaris/x86-64-branch-3.d: New file.
  3736. * testsuite/gas/i386/solaris/x86-64-jump.d: Incorporate changes to
  3737. testsuite/gas/i386/x86-64-jump.d.
  3738. * testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d:
  3739. Incorporate changes to
  3740. gas/testsuite/gas/i386/x86-64-mpx-branch-1.d.
  3741. * testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d : Incorporate
  3742. changes to testsuite/gas/i386/x86-64-mpx-branch-2.d.
  3743. * testsuite/gas/i386/x86-64-branch-2.d: Skip on *-*-solaris*.
  3744. * testsuite/gas/i386/x86-64-branch-3.d: Likewise.
  3745. 2020-03-31 Maciej W. Rozycki <macro@linux-mips.org>
  3746. PR 25611
  3747. PR 25614
  3748. * dwarf2dbg.c: Do not include "bignum.h".
  3749. 2020-03-30 Nelson Chu <nelson.chu@sifive.com>
  3750. * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo.
  3751. * testsuite/gas/riscv/alias-csr.s: Likewise.
  3752. * testsuite/gas/riscv/no-aliases-csr.d: Move this
  3753. to priv-reg-pseudo-noalias.
  3754. * testsuite/gas/riscv/bad-csr.d: Rename to priv-reg-fail-nonexistent.
  3755. * testsuite/gas/riscv/bad-csr.l: Likewise.
  3756. * testsuite/gas/riscv/bad-csr.s: Likewise.
  3757. * testsuite/gas/riscv/satp.d: Removed. Already included in priv-reg.
  3758. * testsuite/gas/riscv/satp.s: Likewise.
  3759. * testsuite/gas/riscv/priv-reg-pseudo.d: New testcase for all pseudo
  3760. csr instruction, including alias-csr testcase.
  3761. * testsuite/gas/riscv/priv-reg-pseudo.s: Likewise.
  3762. * testsuite/gas/riscv/priv-reg-pseudo-noalias.d: New testcase for all
  3763. pseudo instruction with objdump -Mno-aliases.
  3764. * testsuite/gas/riscv/priv-reg-fail-nonexistent.d: New testcase.
  3765. * testsuite/gas/riscv/priv-reg-fail-nonexistent.l: Likewise.
  3766. * testsuite/gas/riscv/priv-reg-fail-nonexistent.s: Likewise.
  3767. * testsuite/gas/riscv/priv-reg.d: Update CSR to 1.11.
  3768. * testsuite/gas/riscv/priv-reg.s: Likewise.
  3769. * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
  3770. * testsuite/gas/riscv/csr-dw-regnums.d: Likewise.
  3771. * testsuite/gas/riscv/csr-dw-regnums.s: Likewise.
  3772. 2020-03-25 J.W. Jagersma <jwjagersma@gmail.com>
  3773. * config/obj-coff.c (obj_coff_section): Set the bss flag on
  3774. sections with the "b" attribute.
  3775. 2020-03-22 Alan Modra <amodra@gmail.com>
  3776. * testsuite/gas/s12z/truncated.d: Update expected output.
  3777. 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
  3778. PR 25690
  3779. * config/tc-z80.c (md_pseudo_table): Add xdef anf xref pseudo ops.
  3780. * doc/c-z80.texi: Update documentation.
  3781. 2020-03-17 Sergey Belyashov <sergey.belyashov@gmail.com>
  3782. PR 25641
  3783. PR 25668
  3784. PR 25633
  3785. Fix disassembling ED+A4/AC/B4/BC opcodes.
  3786. Fix assembling lines containing colonless label and instruction
  3787. with first operand inside parentheses.
  3788. Fix registration of unsupported by target CPU registers.
  3789. * config/tc-z80.c: See above.
  3790. * config/tc-z80.h: See above.
  3791. * testsuite/gas/z80/colonless.d: Update test.
  3792. * testsuite/gas/z80/colonless.s: Likewise.
  3793. * testsuite/gas/z80/ez80_adl_all.d: Likewise.
  3794. * testsuite/gas/z80/ez80_unsup_regs.d: Likewise.
  3795. * testsuite/gas/z80/ez80_z80_all.d: Likewise.
  3796. * testsuite/gas/z80/gbz80_unsup_regs.d: Likewise.
  3797. * testsuite/gas/z80/r800_unsup_regs.d: Likewise.
  3798. * testsuite/gas/z80/unsup_regs.s: Likewise.
  3799. * testsuite/gas/z80/z180_unsup_regs.d: Likewise.
  3800. * testsuite/gas/z80/z80.exp: Likewise.
  3801. * testsuite/gas/z80/z80_strict_unsup_regs.d: Likewise.
  3802. * testsuite/gas/z80/z80_unsup_regs.d: Likewise.
  3803. * testsuite/gas/z80/z80n_unsup_regs.d: Likewise.
  3804. 2020-03-13 Andre Vieira <andre.simoesdiasvieira@arm.com>
  3805. PR 25660
  3806. * config/tc-arm.c (operand_parse_code): Add OP_RNSDMQR and OP_oRNSDMQ.
  3807. (parse_operands): Handle new operand codes.
  3808. (do_neon_dyadic_long): Make shape check accept the scalar variants.
  3809. (asm_opcode_insns): Fix operand codes for vaddl and vsubl.
  3810. * testsuite/gas/arm/mve-vaddsub-it.s: New test.
  3811. * testsuite/gas/arm/mve-vaddsub-it.d: New test.
  3812. * testsuite/gas/arm/mve-vaddsub-it-bad.s: New test.
  3813. * testsuite/gas/arm/mve-vaddsub-it-bad.l: New test.
  3814. * testsuite/gas/arm/mve-vaddsub-it-bad.d: New test.
  3815. * testsuite/gas/arm/nomve-vaddsub-it.d: New test.
  3816. 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
  3817. * NEWS: Mention x86 assembler options for CVE-2020-0551.
  3818. 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
  3819. * testsuite/gas/i386/i386.exp: Run new tests.
  3820. * testsuite/gas/i386/lfence-byte.d: New file.
  3821. * testsuite/gas/i386/lfence-byte.e: Likewise.
  3822. * testsuite/gas/i386/lfence-byte.s: Likewise.
  3823. * testsuite/gas/i386/lfence-indbr-a.d: Likewise.
  3824. * testsuite/gas/i386/lfence-indbr-b.d: Likewise.
  3825. * testsuite/gas/i386/lfence-indbr-c.d: Likewise.
  3826. * testsuite/gas/i386/lfence-indbr.e: Likewise.
  3827. * testsuite/gas/i386/lfence-indbr.s: Likewise.
  3828. * testsuite/gas/i386/lfence-load.d: Likewise.
  3829. * testsuite/gas/i386/lfence-load.s: Likewise.
  3830. * testsuite/gas/i386/lfence-ret-a.d: Likewise.
  3831. * testsuite/gas/i386/lfence-ret-b.d: Likewise.
  3832. * testsuite/gas/i386/lfence-ret.s: Likewise.
  3833. * testsuite/gas/i386/x86-64-lfence-byte.d: Likewise.
  3834. * testsuite/gas/i386/x86-64-lfence-byte.e: Likewise.
  3835. * testsuite/gas/i386/x86-64-lfence-byte.s: Likewise.
  3836. * testsuite/gas/i386/x86-64-lfence-indbr-a.d: Likewise.
  3837. * testsuite/gas/i386/x86-64-lfence-indbr-b.d: Likewise.
  3838. * testsuite/gas/i386/x86-64-lfence-indbr-c.d: Likewise.
  3839. * testsuite/gas/i386/x86-64-lfence-indbr.e: Likewise.
  3840. * testsuite/gas/i386/x86-64-lfence-indbr.s: Likewise.
  3841. * testsuite/gas/i386/x86-64-lfence-load.d: Likewise.
  3842. * testsuite/gas/i386/x86-64-lfence-load.s: Likewise.
  3843. * testsuite/gas/i386/x86-64-lfence-ret-a.d: Likewise.
  3844. * testsuite/gas/i386/x86-64-lfence-ret-b.d: Likewise.
  3845. 2020-03-11 H.J. Lu <hongjiu.lu@intel.com>
  3846. * config/tc-i386.c (lfence_after_load): New.
  3847. (lfence_before_indirect_branch_kind): New.
  3848. (lfence_before_indirect_branch): New.
  3849. (lfence_before_ret_kind): New.
  3850. (lfence_before_ret): New.
  3851. (last_insn): New.
  3852. (load_insn_p): New.
  3853. (insert_lfence_after): New.
  3854. (insert_lfence_before): New.
  3855. (md_assemble): Call insert_lfence_before and insert_lfence_after.
  3856. Set last_insn.
  3857. (OPTION_MLFENCE_AFTER_LOAD): New.
  3858. (OPTION_MLFENCE_BEFORE_INDIRECT_BRANCH): New.
  3859. (OPTION_MLFENCE_BEFORE_RET): New.
  3860. (md_longopts): Add -mlfence-after-load=,
  3861. -mlfence-before-indirect-branch= and -mlfence-before-ret=.
  3862. (md_parse_option): Handle -mlfence-after-load=,
  3863. -mlfence-before-indirect-branch= and -mlfence-before-ret=.
  3864. (md_show_usage): Display -mlfence-after-load=,
  3865. -mlfence-before-indirect-branch= and -mlfence-before-ret=.
  3866. (i386_cons_align): New.
  3867. * config/tc-i386.h (i386_cons_align): New.
  3868. (md_cons_align): New.
  3869. * doc/c-i386.texi: Document -mlfence-after-load=,
  3870. -mlfence-before-indirect-branch= and -mlfence-before-ret=.
  3871. 2020-03-11 Nick Clifton <nickc@redhat.com>
  3872. PR 25611
  3873. PR 25614
  3874. * dwarf2dbg.c (DWARF2_FILE_TIME_NAME): Default to -1.
  3875. (DWARF2_FILE_SIZE_NAME): Default to -1.
  3876. (DWARF2_LINE_VERSION): Default to the current dwarf level or 3,
  3877. whichever is higher.
  3878. (DWARF2_LINE_MAX_OPS_PER_INSN): Provide a default value of 1.
  3879. (NUM_MD5_BYTES): Define.
  3880. (struct file entry): Add md5 field.
  3881. (get_filenum): Delete and replace with...
  3882. (get_basename): New function.
  3883. (get_directory_table_entry): New function.
  3884. (allocate_filenum): New function.
  3885. (allocate_filename_to_slot): New function.
  3886. (dwarf2_where): Use new functions.
  3887. (dwarf2_directive_filename): Add support for extended .file
  3888. pseudo-op.
  3889. (dwarf2_directive_loc): Allow the use of file number zero with
  3890. DWARF 5 or higher.
  3891. (out_file_list): Rename to...
  3892. (out_dir_and_file_list): Add DWARF 5 support.
  3893. (out_debug_line): Emit extra values into the section header for
  3894. DWARF 5.
  3895. (out_debug_str): Allow for file 0 to be used with DWARF 5.
  3896. * doc/as.texi (.file): Update the description of this pseudo-op.
  3897. * testsuite/gas/elf-dwarf-5-file0.s: Add more lines.
  3898. * testsuite/gas/elf-dwarf-5-file0.d: Update expected dump output.
  3899. * testsuite/gas/lns/lns-diag-1.l: Update expected error message.
  3900. * NEWS: Mention the new feature.
  3901. 2020-03-10 Alan Modra <amodra@gmail.com>
  3902. * config/tc-csky.c (get_operand_value): Rewrite 1 << 31 expressions
  3903. to avoid signed overflow.
  3904. * config/tc-mcore.c (md_assemble): Likewise.
  3905. * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Likewise.
  3906. * config/tc-nds32.c (SET_ADDEND): Likewise.
  3907. * config/tc-nios2.c (nios2_assemble_arg_R): Likewise.
  3908. 2020-03-09 Jan Beulich <jbeulich@suse.com>
  3909. * testsuite/gas/i386/avx.s: Add long-form VCMP[PS][SD] pseudos.
  3910. * testsuite/gas/i386/avx.d, testsuite/gas/i386/avx-16bit.d,
  3911. testsuite/gas/i386/avx-intel.d: Adjust expectations.
  3912. 2020-03-07 Alan Modra <amodra@gmail.com>
  3913. * testsuite/gas/elf/dwarf-5-file0.s: Don't start directives in
  3914. first column.
  3915. 2020-03-06 Nick Clifton <nickc@redhat.com>
  3916. PR 25614
  3917. * dwarf2dbg.c (dwarf2_directive_filename): Allow a file number of
  3918. 0 if the dwarf_level is 5 or more. Complain if a filename follows
  3919. a file 0.
  3920. * testsuite/gas/elf/dwarf-5-file0.s: New test.
  3921. * testsuite/gas/elf/dwarf-5-file0.d: New test driver.
  3922. * testsuite/gas/elf/elf.exp: Run the new test.
  3923. PR 25612
  3924. * config/tc-ia64.h (DWARF2_VERISION): Fix typo.
  3925. * doc/as.texi: Fix another typo.
  3926. 2020-03-06 Nick Clifton <nickc@redhat.com>
  3927. PR 25612
  3928. * as.c (dwarf_level): Define.
  3929. (show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
  3930. (parse_args): Add support for the new options.
  3931. as.h (dwarf_level): Prototype.
  3932. * dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
  3933. value.
  3934. * config/tc-ia64.h (DWARF2_VERISION): Update definition.
  3935. (DWARF2_LINE_VERSION): Remove definition.
  3936. * doc/as.texi: Document the new options.
  3937. 2020-03-06 Nick Clifton <nickc@redhat.com>
  3938. PR 25572
  3939. * as.c (main): Allow matching input and outputs when they are
  3940. not regular files.
  3941. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3942. * config/tc-i386.c (match_mem_size): Generalize broadcast special
  3943. casing.
  3944. (check_VecOperands): Zap xmmword/ymmword/zmmword when more than
  3945. one of byte/word/dword/qword is set alongside a SIMD register in
  3946. a template's operand.
  3947. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3948. * config/tc-i386.c (match_template): Extend code in logic
  3949. rejecting certain suffixes in certain modes to also cover mask
  3950. register use and VecSIB. Drop special casing of broadcast. Skip
  3951. immediates in the check.
  3952. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3953. * config/tc-i386.c (match_template): Fold duplicate code in
  3954. logic rejecting certain suffixes in certain modes. Drop
  3955. pointless "else".
  3956. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3957. * config/tc-i386.c (process_suffix): Exlucde !vexw insns
  3958. alongside !norex64 ones.
  3959. * testsuite/gas/i386/x86-64-avx512bw.s: Test VPEXTR* and VPINSR*
  3960. with both 32- and 64-bit GPR operands.
  3961. * testsuite/gas/i386/x86-64-avx512f.s: Test VEXTRACTPS with both
  3962. 32- and 64-bit GPR operands.
  3963. * testsuite/gas/i386/x86-64-avx512bw-intel.d,
  3964. testsuite/gas/i386/x86-64-avx512bw.d,
  3965. testsuite/gas/i386/x86-64-avx512f-intel.d,
  3966. testsuite/gas/i386/x86-64-avx512f.d: Adjust expectations.
  3967. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3968. * config/tc-i386.c (md_assemble): Drop use of rex64.
  3969. (process_suffix): For REX.W for 64-bit CRC32.
  3970. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3971. * config/tc-i386.c (i386_addressing_mode): For 32-bit
  3972. addressing for MPX insns without base/index.
  3973. * testsuite/gas/i386/mpx-16bit.s,
  3974. * testsuite/gas/i386/mpx-16bit.d: New.
  3975. * testsuite/gas/i386/i386.exp: Run new test.
  3976. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3977. * testsuite/gas/i386/adx.s, testsuite/gas/i386/cet.s,
  3978. testsuite/gas/i386/ept.s, testsuite/gas/i386/fsgs.s,
  3979. testsuite/gas/i386/invpcid.s, testsuite/gas/i386/movdir.s,
  3980. testsuite/gas/i386/ptwrite.s, testsuite/gas/i386/vmx.s,
  3981. * testsuite/gas/i386/code16.s: Add CR, DR, and TR access cases
  3982. as well as a BSWAP one.
  3983. * testsuite/gas/i386/rdpid.s: Add 16-bit case.
  3984. * testsuite/gas/i386/sse2-16bit.s: Cover more insns.
  3985. * testsuite/gas/i386/adx-intel.d, testsuite/gas/i386/adx.d,
  3986. testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
  3987. testsuite/gas/i386/code16.d, testsuite/gas/i386/ept-intel.d,
  3988. testsuite/gas/i386/ept.d, testsuite/gas/i386/fsgs-intel.d,
  3989. testsuite/gas/i386/fsgs.d, testsuite/gas/i386/invpcid-intel.d,
  3990. testsuite/gas/i386/invpcid.d, testsuite/gas/i386/movdir-intel.d,
  3991. testsuite/gas/i386/movdir.d, testsuite/gas/i386/ptwrite-intel.d,
  3992. testsuite/gas/i386/ptwrite.d, testsuite/gas/i386/rdpid-intel.d,
  3993. testsuite/gas/i386/rdpid.d, testsuite/gas/i386/sse2-16bit.d,
  3994. testsuite/gas/i386/vmx.d: Adjust expectations.
  3995. 2020-03-06 Jan Beulich <jbeulich@suse.com>
  3996. * config/tc-i386.c (md_assemble): Also exclude tpause and umwait
  3997. from having their operands swapped.
  3998. * testsuite/gas/i386/waitpkg.s,
  3999. testsuite/gas/i386/x86-64-waitpkg.s: Add tpause and umwait
  4000. 3-operand cases as well as testing of 16-bit code generation.
  4001. * testsuite/gas/i386/waitpkg.d,
  4002. testsuite/gas/i386/waitpkg-intel.d,
  4003. testsuite/gas/i386/x86-64-waitpkg.d,
  4004. testsuite/gas/i386/x86-64-waitpkg-intel.d: Adjust expectations.
  4005. 2020-03-04 Nelson Chu <nelson.chu@sifive.com>
  4006. * config/tc-riscv.c (percent_op_utype): Support the modifier
  4007. %got_pcrel_hi.
  4008. * doc/c-riscv.texi: Add documentation.
  4009. * testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
  4010. modifier %got_pcrel_hi.
  4011. * testsuite/gas/riscv/no-relax-reloc.s: Likewise.
  4012. * testsuite/gas/riscv/relax-reloc.d: Likewise.
  4013. * testsuite/gas/riscv/relax-reloc.s: Likewise.
  4014. * doc/c-riscv.texi (relocation modifiers): Add documentation.
  4015. (RISC-V-Formats): Update the section name from "Instruction Formats"
  4016. to "RISC-V Instruction Formats".
  4017. 2020-03-04 Alexandre Oliva <oliva@adacore.com>
  4018. * config/tc-arm.c (md_apply_fix): Warn if a PC-relative load is
  4019. detected in a section which does not have at least 4 byte
  4020. alignment.
  4021. * testsuite/gas/arm/armv8-ar-it-bad.s: Add alignment directive.
  4022. * testsuite/gas/arm/ldr-t.s: Likewise.
  4023. * testsuite/gas/arm/sp-pc-usage-t.s: Likewise.
  4024. * testsuite/gas/arm/sp-pc-usage-t.d: Finish test at end of
  4025. disassembly, ignoring any NOPs that may have been inserted because
  4026. of section alignment.
  4027. * testsuite/gas/arm/ldr-t.d: Likewise.
  4028. 2020-03-04 Jan Beulich <jbeulich@suse.com>
  4029. * config/tc-i386.c (cpu_arch): Add .sev_es entry.
  4030. * doc/c-i386.texi: Mention sev_es.
  4031. * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
  4032. * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
  4033. expectations.
  4034. * testsuite/gas/i386/arch-13-znver1.d,
  4035. testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
  4036. 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
  4037. * config/tc-i386.c (match_template): Replace ignoresize and
  4038. defaultsize with mnemonicsize.
  4039. (process_suffix): Likewise.
  4040. 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
  4041. PR 25627
  4042. * config/tc-z80.c (emit_ld_rr_m): Fix invalid compilation of
  4043. instruction LD IY,(HL).
  4044. * testsuite/gas/z80/ez80_adl_all.d: Update expected disassembly.
  4045. * testsuite/gas/z80/ez80_adl_all.s: Add tests of the instruction.
  4046. * testsuite/gas/z80/ez80_z80_all.d: Update expected disassembly.
  4047. * testsuite/gas/z80/ez80_z80_all.s: Add tests of the instruction.
  4048. 2020-03-03 H.J. Lu <hongjiu.lu@intel.com>
  4049. PR gas/25622
  4050. * testsuite/gas/i386/i386.exp: Run x86-64-default-suffix and
  4051. x86-64-default-suffix-avx.
  4052. * testsuite/gas/i386/noreg64.s: Remove cvtsi2sd, cvtsi2ss,
  4053. vcvtsi2sd, vcvtsi2ss, vcvtusi2sd and vcvtusi2ss entries.
  4054. * testsuite/gas/i386/noreg64.d: Updated.
  4055. * testsuite/gas/i386/noreg64.l: Likewise.
  4056. * testsuite/gas/i386/x86-64-default-suffix-avx.d: New file.
  4057. * testsuite/gas/i386/x86-64-default-suffix.d: Likewise.
  4058. * testsuite/gas/i386/x86-64-default-suffix.s: Likewise.
  4059. 2020-03-03 Sergey Belyashov <sergey.belyashov@gmail.com>
  4060. PR 25604
  4061. * config/tc-z80.c (contains_register): Prevent an illegal memory
  4062. access when checking an expression for a register name.
  4063. 2020-03-03 Alan Modra <amodra@gmail.com>
  4064. * config/obj-coff.h: Remove vestiges of coff-m68k and pe-mips
  4065. support.
  4066. 2020-03-02 Alan Modra <amodra@gmail.com>
  4067. * config/tc-m32r.c (md_begin): Set SEC_SMALL_DATA on .scommon section.
  4068. * config/tc-mips.c (s_change_sec): Set SEC_SMALL_DATA for .sdata
  4069. and .sbss sections.
  4070. * config/tc-score.c: Delete !BFD_ASSEMBLER code throughout.
  4071. (s3_s_change_sec): Set SEC_SMALL_DATA for .sbss section.
  4072. (s3_s_score_lcomm): Likewise.
  4073. * config/tc-score7.c: Similarly.
  4074. * read.c (bss_alloc): Set SEC_SMALL_DATA for .sbss section.
  4075. 2020-02-28 YunQiang Su <syq@debian.org>
  4076. PR gas/25539
  4077. * config/tc-mips.c (fix_loongson3_llsc): Compare label value
  4078. to handle multi-labels.
  4079. (has_label_name): New.
  4080. 2020-02-26 Matthew Malcomson <matthew.malcomson@arm.com>
  4081. * config/tc-arm.c (enum pred_instruction_type): Remove
  4082. NEUTRAL_IT_NO_VPT_INSN predication type.
  4083. (cxn_handle_predication): Modify to require condition suffixes.
  4084. (handle_pred_state): Remove NEUTRAL_IT_NO_VPT_INSN cases.
  4085. * testsuite/gas/arm/cde-scalar.s: Update test.
  4086. * testsuite/gas/arm/cde-warnings.l: Update test.
  4087. * testsuite/gas/arm/cde-warnings.s: Update test.
  4088. 2020-02-26 Alan Modra <amodra@gmail.com>
  4089. * config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
  4090. N_() on empty string.
  4091. 2020-02-26 Alan Modra <amodra@gmail.com>
  4092. * read.c (read_a_source_file): Call strncpy with length one
  4093. less than size of original_case_string.
  4094. 2020-02-26 Alan Modra <amodra@gmail.com>
  4095. * config/obj-elf.c: Indent labels correctly.
  4096. * config/obj-macho.c: Likewise.
  4097. * config/tc-aarch64.c: Likewise.
  4098. * config/tc-alpha.c: Likewise.
  4099. * config/tc-arm.c: Likewise.
  4100. * config/tc-cr16.c: Likewise.
  4101. * config/tc-crx.c: Likewise.
  4102. * config/tc-frv.c: Likewise.
  4103. * config/tc-i386-intel.c: Likewise.
  4104. * config/tc-i386.c: Likewise.
  4105. * config/tc-ia64.c: Likewise.
  4106. * config/tc-mn10200.c: Likewise.
  4107. * config/tc-mn10300.c: Likewise.
  4108. * config/tc-nds32.c: Likewise.
  4109. * config/tc-riscv.c: Likewise.
  4110. * config/tc-s12z.c: Likewise.
  4111. * config/tc-xtensa.c: Likewise.
  4112. * config/tc-z80.c: Likewise.
  4113. * read.c: Likewise.
  4114. * symbols.c: Likewise.
  4115. * write.c: Likewise.
  4116. 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
  4117. * config/tc-riscv.c (riscv_ip): New boolean insn_with_csr to indicate
  4118. we are assembling instruction with CSR. Call riscv_csr_read_only_check
  4119. after parsing all arguments.
  4120. (enum csr_insn_type): New enum is used to classify the CSR instruction.
  4121. (riscv_csr_insn_type, riscv_csr_read_only_check): New functions. These
  4122. are used to check if we write a read-only CSR by the CSR instruction.
  4123. * testsuite/gas/riscv/priv-reg-fail-read-only-01.s: New testcase. Test
  4124. all CSR for the read-only CSR checking.
  4125. * testsuite/gas/riscv/priv-reg-fail-read-only-01.d: Likewise.
  4126. * testsuite/gas/riscv/priv-reg-fail-read-only-01.l: Likewise.
  4127. * testsuite/gas/riscv/priv-reg-fail-read-only-02.s: New testcase. Test
  4128. all CSR instructions for the read-only CSR checking.
  4129. * testsuite/gas/riscv/priv-reg-fail-read-only-02.d: Likewise.
  4130. * testsuite/gas/riscv/priv-reg-fail-read-only-02.l: Likewise.
  4131. * config/tc-riscv.c (struct riscv_set_options): New field csr_check.
  4132. (riscv_opts): Initialize it.
  4133. (reg_lookup_internal): Check the `riscv_opts.csr_check`
  4134. before doing the CSR checking.
  4135. (enum options): Add OPTION_CSR_CHECK and OPTION_NO_CSR_CHECK.
  4136. (md_longopts): Add mcsr-check and mno-csr-check.
  4137. (md_parse_option): Handle new enum option values.
  4138. (s_riscv_option): Handle new long options.
  4139. * doc/c-riscv.texi: Add description for the new .option and assembler
  4140. options.
  4141. * testsuite/gas/riscv/priv-reg-fail-fext.d: Add `-mcsr-check` to enable
  4142. the CSR checking.
  4143. * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: Likewise.
  4144. * config/tc-riscv.c (csr_extra_hash): New.
  4145. (enum riscv_csr_class): New enum. Used to decide
  4146. whether or not this CSR is legal in the current ISA string.
  4147. (struct riscv_csr_extra): New structure to hold all extra information
  4148. of CSR.
  4149. (riscv_init_csr_hashes): New. According to the DECLARE_CSR and
  4150. DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
  4151. Call hash_reg_name to insert CSR address into reg_names_hash.
  4152. (reg_csr_lookup_internal, riscv_csr_class_check): New functions.
  4153. Decide whether the CSR is valid according to the csr_extra_hash.
  4154. (reg_lookup_internal): Call reg_csr_lookup_internal for CSRs.
  4155. (init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
  4156. not a boolean. This is same as riscv_init_csr_hash, so keep the
  4157. consistent usage.
  4158. (md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
  4159. * testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
  4160. * testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
  4161. * testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
  4162. file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
  4163. f-ext CSR are not allowed.
  4164. * testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
  4165. * testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
  4166. source file is `priv-reg.s`, and the ISA is rv64if, so the
  4167. rv32-only CSR are not allowed.
  4168. * testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
  4169. 2020-02-21 Alan Modra <amodra@gmail.com>
  4170. * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
  4171. (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
  4172. 2020-02-21 Alan Modra <amodra@gmail.com>
  4173. PR 25569
  4174. * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
  4175. on section size adjustment, instead perform another write if
  4176. exec header size is larger than section size.
  4177. 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
  4178. * doc/c-riscv.texi: Add the doc entries for -march-attr/
  4179. -mno-arch-attr command line options.
  4180. 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
  4181. * testsuite/gas/riscv/c-add-addi.d: New testcase.
  4182. * testsuite/gas/riscv/c-add-addi.s: Likewise.
  4183. 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
  4184. PR 25576
  4185. * config/tc-z80.c (md_parse_option): Do not use an underscore
  4186. prefix for local labels in SDCC compatability mode.
  4187. (z80_start_line_hook): Remove SDCC dollar label support.
  4188. * testsuite/gas/z80/sdcc.d: Update expected disassembly.
  4189. * testsuite/gas/z80/sdcc.s: Likewise.
  4190. 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
  4191. PR 25517
  4192. * config/tc-z80.c: Add -march option.
  4193. * doc/as.texi: Update Z80 documentation.
  4194. * doc/c-z80.texi: Likewise.
  4195. * testsuite/gas/z80/ez80_adl_all.d: Update command line.
  4196. * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
  4197. * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
  4198. * testsuite/gas/z80/ez80_z80_all.d: Likewise.
  4199. * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
  4200. * testsuite/gas/z80/gbz80_all.d: Likewise.
  4201. * testsuite/gas/z80/r800_extra.d: Likewise.
  4202. * testsuite/gas/z80/r800_ii8.d: Likewise.
  4203. * testsuite/gas/z80/r800_z80_doc.d: Likewise.
  4204. * testsuite/gas/z80/sdcc.d: Likewise.
  4205. * testsuite/gas/z80/z180.d: Likewise.
  4206. * testsuite/gas/z80/z180_z80_doc.d: Likewise.
  4207. * testsuite/gas/z80/z80_doc.d: Likewise.
  4208. * testsuite/gas/z80/z80_ii8.d: Likewise.
  4209. * testsuite/gas/z80/z80_in_f_c.d: Likewise.
  4210. * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
  4211. * testsuite/gas/z80/z80_out_c_0.d: Likewise.
  4212. * testsuite/gas/z80/z80_sli.d: Likewise.
  4213. * testsuite/gas/z80/z80n_all.d: Likewise.
  4214. * testsuite/gas/z80/z80n_reloc.d: Likewise.
  4215. 2020-02-19 H.J. Lu <hongjiu.lu@intel.com>
  4216. * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
  4217. with GNU_PROPERTY_X86_FEATURE_2_MMX.
  4218. * testsuite/gas/i386/i386.exp: Run property-3 and
  4219. x86-64-property-3.
  4220. * testsuite/gas/i386/property-3.d: New file.
  4221. * testsuite/gas/i386/property-3.s: Likewise.
  4222. * testsuite/gas/i386/x86-64-property-3.d: Likewise.
  4223. 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
  4224. * config/tc-i386.c (cpu_arch): Add .popcnt.
  4225. * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
  4226. Add a tab before @samp{.sse4a}.
  4227. 2020-02-17 Jan Beulich <jbeulich@suse.com>
  4228. * config/tc-i386.c (process_suffix): Don't try to guess a suffix
  4229. for AddrPrefixOpReg templates. Combine the two pieces of
  4230. addrprefixopreg handling. Reject 16-bit address reg in 64-bit
  4231. mode.
  4232. 2020-02-17 Jan Beulich <jbeulich@suse.com>
  4233. PR gas/14439
  4234. * config/tc-i386.c (md_assemble): Also suppress operand
  4235. swapping for MONITOR{,X} and MWAIT{,X}.
  4236. * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
  4237. Add Intel syntax monitor/mwait tests.
  4238. * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
  4239. Adjust expectations.
  4240. *testsuite/gas/i386/sse3-intel.d,
  4241. testsuite/gas/i386/x86-64-sse3-intel.d: New.
  4242. * testsuite/gas/i386/i386.exp: Run new tests.
  4243. 2020-02-17 Jan Beulich <jbeulich@suse.com>
  4244. PR gas/6518
  4245. * config/tc-i386.c (process_suffix): Re-work Intel-syntax
  4246. [XYZ]MMWord memory operand ambiguity recognition logic (largely
  4247. re-indentation).
  4248. * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
  4249. cases.
  4250. * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
  4251. * testsuite/gas/i386/avx512dq-inval.l,
  4252. testsuite/gas/i386/inval-avx.l,
  4253. testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
  4254. * testsuite/gas/i386/avx512vl-ambig.s,
  4255. testsuite/gas/i386/avx512vl-ambig.l: New.
  4256. * testsuite/gas/i386/i386.exp: Run new test.
  4257. 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
  4258. * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
  4259. nosse4.
  4260. * doc/c-i386.texi: Document sse4a and nosse4a.
  4261. 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
  4262. * doc/c-i386.texi: Remove the old movsx and movzx documentation
  4263. for AT&T syntax.
  4264. 2020-02-14 Jan Beulich <jbeulich@suse.com>
  4265. PR gas/25438
  4266. * config/tc-i386.c (md_assemble): Move movsx/movzx special
  4267. casing ...
  4268. (process_suffix): ... here. Consider just the first operand
  4269. initially.
  4270. (check_long_reg): Drop opcode 0x63 special case again.
  4271. * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
  4272. testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
  4273. Move ambiguous operand size tests ...
  4274. * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
  4275. testsuite/gas/i386/noreg64.s: ... here.
  4276. * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
  4277. testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
  4278. testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
  4279. testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
  4280. testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
  4281. testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
  4282. testsuite/gas/i386/x86-64-movsxd.d,
  4283. testsuite/gas/i386/x86-64-movsxd-intel.d,
  4284. testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
  4285. Adjust expectations.
  4286. * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
  4287. testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
  4288. testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
  4289. * testsuite/gas/i386/i386.exp: Run new tests.
  4290. 2020-02-14 Jan Beulich <jbeulich@suse.com>
  4291. * config/tc-i386.c (process_operands): Also skip segment
  4292. override prefix emission if it matches an already present one.
  4293. * testsuite/gas/i386/prefix32.s: Add double segment override
  4294. cases.
  4295. * testsuite/gas/i386/prefix32.l: Adjust expectations.
  4296. 2020-02-14 Jan Beulich <jbeulich@suse.com>
  4297. * config/tc-i386.c (process_operands): Drop ineffectual segment
  4298. overrides when optimizing.
  4299. * testsuite/gas/i386/lea-optimize.d: New.
  4300. * testsuite/gas/i386/i386.exp: Run new test.
  4301. 2020-02-14 Jan Beulich <jbeulich@suse.com>
  4302. * config/tc-i386.c (process_operands): Also check insn prefix
  4303. for ineffectual segment override warning. Don't cover possible
  4304. VEX/EVEX encoded insns there.
  4305. * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
  4306. testsuite/gas/i386/lea.e: New.
  4307. * testsuite/gas/i386/i386.exp: Run new test.
  4308. 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
  4309. PR gas/25438
  4310. * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
  4311. syntax.
  4312. 2020-02-13 Fangrui Song <maskray@google.com>
  4313. H.J. Lu <hongjiu.lu@intel.com>
  4314. PR gas/25551
  4315. * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
  4316. BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
  4317. * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
  4318. * testsuite/gas/i386/relax-5.d: New file.
  4319. * testsuite/gas/i386/relax-5.s: Likewise.
  4320. * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
  4321. * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
  4322. 2020-02-13 Jan Beulich <jbeulich@suse.com>
  4323. * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
  4324. "nosse4" entry.
  4325. 2020-02-12 Jan Beulich <jbeulich@suse.com>
  4326. * config/tc-i386.c (avx512): New (at file scope), moved from
  4327. (check_VecOperands): ... here.
  4328. (process_suffix): Add [XYZ]MMword operand size handling.
  4329. * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
  4330. * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
  4331. tests.
  4332. * testsuite/gas/i386/avx512dq-inval.l,
  4333. testsuite/gas/i386/noavx512-2.l: Adjust expectations.
  4334. 2020-02-12 Jan Beulich <jbeulich@suse.com>
  4335. PR gas/24546
  4336. * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
  4337. code only.
  4338. * config/tc-i386-intel.c (i386_intel_operand): Also handle
  4339. CALL/JMP in O_tbyte_ptr case.
  4340. * doc/c-i386.texi: Mention far call and full pointer load ISA
  4341. differences.
  4342. * testsuite/gas/i386/x86-64-branch-3.s,
  4343. testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
  4344. * testsuite/gas/i386/x86-64-branch-3.d,
  4345. testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
  4346. * testsuite/gas/i386/x86-64-branch-5.l,
  4347. testsuite/gas/i386/x86-64-branch-5.s: New.
  4348. * testsuite/gas/i386/i386.exp: Run new test.
  4349. 2020-02-12 Jan Beulich <jbeulich@suse.com>
  4350. PR gas/25438
  4351. * config/tc-i386.c (REGISTER_WARNINGS): Delete.
  4352. (check_byte_reg): Skip only source operand of CRC32. Drop Non-
  4353. 64-bit-only warning.
  4354. (check_word_reg): Consistently error on mismatching register
  4355. size and suffix.
  4356. * testsuite/gas/i386/general.s: Replace dword GPR with word one
  4357. for movw. Replace suffix / GPR for orb.
  4358. * testsuite/gas/i386/inval.s: Add tests for movw with dword and
  4359. byte GPRs as well as ones for inb/outb with a word accumulator.
  4360. * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
  4361. testsuite/gas/i386/inval.l: Adjust expectations.
  4362. 2020-02-12 Jan Beulich <jbeulich@suse.com>
  4363. * config/tc-i386.c (operand_type_register_match): Also fall
  4364. through initial two if()-s when the template allows for a GPR
  4365. operand. Adjust comment.
  4366. 2020-02-11 Jan Beulich <jbeulich@suse.com>
  4367. (struct _i386_insn): New field "short_form".
  4368. (optimize_encoding): Drop setting of shortform field.
  4369. (process_suffix): Set i.short_form. Replace shortform use.
  4370. (process_operands): Replace shortform use.
  4371. 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
  4372. * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
  4373. loop initial declaration.
  4374. 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
  4375. * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
  4376. instructions that can have 5 arguments.
  4377. (enum operand_parse_code): Add new operands.
  4378. (parse_operands): Account for new operands.
  4379. (S5): New macro.
  4380. (enum neon_shape_el): Introduce P suffixes for coprocessor.
  4381. (neon_select_shape): Account for P suffix.
  4382. (LOW1): Move macro to global position.
  4383. (HI4): Move macro to global position.
  4384. (vcx_assign_vec_d): New.
  4385. (vcx_assign_vec_m): New.
  4386. (vcx_assign_vec_n): New.
  4387. (enum vcx_reg_type): New.
  4388. (vcx_get_reg_type): New.
  4389. (vcx_size_pos): New.
  4390. (vcx_vec_pos): New.
  4391. (vcx_handle_shape): New.
  4392. (vcx_ensure_register_in_range): New.
  4393. (vcx_handle_register_arguments): New.
  4394. (vcx_handle_insn_block): New.
  4395. (vcx_handle_common_checks): New.
  4396. (do_vcx1): New.
  4397. (do_vcx2): New.
  4398. (do_vcx3): New.
  4399. * testsuite/gas/arm/cde-missing-fp.d: New test.
  4400. * testsuite/gas/arm/cde-missing-fp.l: New test.
  4401. * testsuite/gas/arm/cde-missing-mve.d: New test.
  4402. * testsuite/gas/arm/cde-missing-mve.l: New test.
  4403. * testsuite/gas/arm/cde-mve-or-neon.d: New test.
  4404. * testsuite/gas/arm/cde-mve-or-neon.s: New test.
  4405. * testsuite/gas/arm/cde-mve.s: New test.
  4406. * testsuite/gas/arm/cde-warnings.l:
  4407. * testsuite/gas/arm/cde-warnings.s:
  4408. * testsuite/gas/arm/cde.d:
  4409. * testsuite/gas/arm/cde.s:
  4410. 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
  4411. Matthew Malcomson <matthew.malcomson@arm.com>
  4412. * config/tc-arm.c (arm_ext_cde*): New feature sets for each
  4413. CDE coprocessor that can be enabled.
  4414. (enum pred_instruction_type): New pred type.
  4415. (BAD_NO_VPT): New error message.
  4416. (BAD_CDE): New error message.
  4417. (BAD_CDE_COPROC): New error message.
  4418. (enum operand_parse_code): Add new immediate operands.
  4419. (parse_operands): Account for new immediate operands.
  4420. (check_cde_operand): New.
  4421. (cde_coproc_enabled): New.
  4422. (cde_coproc_pos): New.
  4423. (cde_handle_coproc): New.
  4424. (cxn_handle_predication): New.
  4425. (do_custom_instruction_1): New.
  4426. (do_custom_instruction_2): New.
  4427. (do_custom_instruction_3): New.
  4428. (do_cx1): New.
  4429. (do_cx1a): New.
  4430. (do_cx1d): New.
  4431. (do_cx1da): New.
  4432. (do_cx2): New.
  4433. (do_cx2a): New.
  4434. (do_cx2d): New.
  4435. (do_cx2da): New.
  4436. (do_cx3): New.
  4437. (do_cx3a): New.
  4438. (do_cx3d): New.
  4439. (do_cx3da): New.
  4440. (handle_pred_state): Define new IT block behaviour.
  4441. (insns): Add newn CX*{,d}{,a} instructions.
  4442. (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
  4443. Define new cdecp extension strings.
  4444. * doc/c-arm.texi: Document new cdecp extension arguments.
  4445. * testsuite/gas/arm/cde-scalar.d: New test.
  4446. * testsuite/gas/arm/cde-scalar.s: New test.
  4447. * testsuite/gas/arm/cde-warnings.d: New test.
  4448. * testsuite/gas/arm/cde-warnings.l: New test.
  4449. * testsuite/gas/arm/cde-warnings.s: New test.
  4450. * testsuite/gas/arm/cde.d: New test.
  4451. * testsuite/gas/arm/cde.s: New test.
  4452. 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
  4453. PR gas/25516
  4454. * config/tc-i386.c (intel64): Renamed to ...
  4455. (isa64): This.
  4456. (match_template): Accept Intel64 only instruction by default.
  4457. (i386_displacement): Updated.
  4458. (md_parse_option): Updated.
  4459. * c-i386.texi: Update -mamd64/-mintel64 documentation.
  4460. * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
  4461. -mamd64 to x86-64-sysenter-amd.
  4462. * testsuite/gas/i386/x86-64-sysenter.d: New file.
  4463. 2020-02-10 Alan Modra <amodra@gmail.com>
  4464. * config/obj-elf.c (obj_elf_change_section): Error for section
  4465. type, attr or entsize changes in assembly.
  4466. * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
  4467. * testsuite/gas/elf/section5.l: Update.
  4468. 2020-02-10 Alan Modra <amodra@gmail.com>
  4469. * output-file.c (output_file_close): Do a normal close when
  4470. flag_always_generate_output.
  4471. * write.c (write_object_file): Don't stop output when
  4472. flag_always_generate_output.
  4473. 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
  4474. PR 25469
  4475. * config/tc-z80.c: Add -gbz80 command line option to generate code
  4476. for the GameBoy Z80. Add support for generating DWARF.
  4477. * config/tc-z80.h: Add support for DWARF debug information
  4478. generation.
  4479. * doc/c-z80.texi: Document new command line option.
  4480. * testsuite/gas/z80/gbz80_all.d: New file.
  4481. * testsuite/gas/z80/gbz80_all.s: New file.
  4482. * testsuite/gas/z80/z80.exp: Run the new tests.
  4483. * testsuite/gas/z80/z80n_all.d: New file.
  4484. * testsuite/gas/z80/z80n_all.s: New file.
  4485. * testsuite/gas/z80/z80n_reloc.d: New file.
  4486. 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
  4487. PR gas/25381
  4488. * config/obj-elf.c (get_section): Also check
  4489. linked_to_symbol_name.
  4490. (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
  4491. (obj_elf_parse_section_letters): Handle the 'o' flag.
  4492. (build_group_lists): Renamed to ...
  4493. (build_additional_section_info): This. Set elf_linked_to_section
  4494. from map_head.linked_to_symbol_name.
  4495. (elf_adjust_symtab): Updated.
  4496. * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
  4497. * doc/as.texi: Document the 'o' flag.
  4498. * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
  4499. * testsuite/gas/elf/section18.d: New file.
  4500. * testsuite/gas/elf/section18.s: Likewise.
  4501. * testsuite/gas/elf/section19.d: Likewise.
  4502. * testsuite/gas/elf/section19.s: Likewise.
  4503. * testsuite/gas/elf/section20.d: Likewise.
  4504. * testsuite/gas/elf/section20.s: Likewise.
  4505. * testsuite/gas/elf/section21.d: Likewise.
  4506. * testsuite/gas/elf/section21.l: Likewise.
  4507. * testsuite/gas/elf/section21.s: Likewise.
  4508. 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
  4509. * NEWS: Mention x86 assembler options to align branches for
  4510. binutils 2.34.
  4511. 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
  4512. * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
  4513. only for ELF targets.
  4514. * testsuite/gas/i386/unique.d: Don't xfail.
  4515. * testsuite/gas/i386/x86-64-unique.d: Likewise.
  4516. 2020-02-06 Alan Modra <amodra@gmail.com>
  4517. * testsuite/gas/i386/unique.d: xfail for non-elf targets.
  4518. * testsuite/gas/i386/x86-64-unique.d: Likewise.
  4519. 2020-02-06 Alan Modra <amodra@gmail.com>
  4520. * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
  4521. xfail, and rename test.
  4522. * testsuite/gas/elf/section12b.d: Likewise.
  4523. * testsuite/gas/elf/section16a.d: Likewise.
  4524. * testsuite/gas/elf/section16b.d: Likewise.
  4525. 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
  4526. PR gas/25380
  4527. * config/obj-elf.c (section_match): Removed.
  4528. (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
  4529. section_id.
  4530. (obj_elf_change_section): Replace info and group_name arguments
  4531. with match_p. Also update the section ID and flags from match_p.
  4532. (obj_elf_section): Handle "unique,N". Update call to
  4533. obj_elf_change_section.
  4534. * config/obj-elf.h (elf_section_match): New.
  4535. (obj_elf_change_section): Updated.
  4536. * config/tc-arm.c (start_unwind_section): Update call to
  4537. obj_elf_change_section.
  4538. * config/tc-ia64.c (obj_elf_vms_common): Likewise.
  4539. * config/tc-microblaze.c (microblaze_s_data): Likewise.
  4540. (microblaze_s_sdata): Likewise.
  4541. (microblaze_s_rdata): Likewise.
  4542. (microblaze_s_bss): Likewise.
  4543. * config/tc-mips.c (s_change_section): Likewise.
  4544. * config/tc-msp430.c (msp430_profiler): Likewise.
  4545. * config/tc-rx.c (parse_rx_section): Likewise.
  4546. * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
  4547. * doc/as.texi: Document "unique,N" in .section directive.
  4548. * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
  4549. * testsuite/gas/elf/section15.d: New file.
  4550. * testsuite/gas/elf/section15.s: Likewise.
  4551. * testsuite/gas/elf/section16.s: Likewise.
  4552. * testsuite/gas/elf/section16a.d: Likewise.
  4553. * testsuite/gas/elf/section16b.d: Likewise.
  4554. * testsuite/gas/elf/section17.d: Likewise.
  4555. * testsuite/gas/elf/section17.l: Likewise.
  4556. * testsuite/gas/elf/section17.s: Likewise.
  4557. * testsuite/gas/i386/unique.d: Likewise.
  4558. * testsuite/gas/i386/unique.s: Likewise.
  4559. * testsuite/gas/i386/x86-64-unique.d: Likewise.
  4560. * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
  4561. 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
  4562. * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
  4563. 2020-02-01 Anthony Green <green@moxielogic.com>
  4564. * config/tc-moxie.c (md_begin): Don't force big-endian mode.
  4565. 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
  4566. * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
  4567. %tls_ldo.
  4568. 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
  4569. PR gas/25472
  4570. * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
  4571. (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
  4572. +mve.
  4573. * testsuite/gas/arm/mve_dsp.d: New test.
  4574. 2020-01-31 Nick Clifton <nickc@redhat.com>
  4575. * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
  4576. rather than BFD_RELOC_NONE.
  4577. 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
  4578. * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
  4579. to support VLDMIA instruction for MVE.
  4580. (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
  4581. instruction for MVE.
  4582. (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
  4583. instruction for MVE.
  4584. (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
  4585. instruction for MVE.
  4586. * testsuite/gas/arm/mve-ldst.d: New test.
  4587. * testsuite/gas/arm/mve-ldst.s: Likewise.
  4588. 2020-01-31 Nick Clifton <nickc@redhat.com>
  4589. * po/fr.po: Updated French translation.
  4590. * po/ru.po: Updated Russian translation.
  4591. 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
  4592. * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
  4593. .s for the movprfx.
  4594. * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
  4595. * testsuite/gas/aarch64/sve-movprfx_28.d,
  4596. * testsuite/gas/aarch64/sve-movprfx_28.l,
  4597. * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
  4598. 2020-01-30 Jan Beulich <jbeulich@suse.com>
  4599. * config/tc-i386.c (output_disp): Tighten base_opcode check.
  4600. * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
  4601. * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
  4602. Adjust expectations.
  4603. 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
  4604. * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
  4605. * testsuite/gas/bpf/alu-be.d: Likewise.
  4606. * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
  4607. * testsuite/gas/bpf/alu32-be.d: Likewise.
  4608. 2020-01-30 Jan Beulich <jbeulich@suse.com>
  4609. * testsuite/gas/i386/x86-64-branch-2.s,
  4610. testsuite/gas/i386/x86-64-branch-4.s,
  4611. testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
  4612. * testsuite/gas/i386/ilp32/x86-64-branch.d,
  4613. testsuite/gas/i386/x86-64-branch-2.d,
  4614. testsuite/gas/i386/x86-64-branch-4.l,
  4615. testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
  4616. 2020-01-30 Jan Beulich <jbeulich@suse.com>
  4617. * config/tc-i386.c (process_suffix): .
  4618. testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
  4619. testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
  4620. Add LRETQ case.
  4621. testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
  4622. suffix.
  4623. testsuite/gas/i386/x86_64.s: Add RETF cases.
  4624. * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
  4625. testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
  4626. testsuite/gas/i386/x86-64-opcode.d,
  4627. testsuite/gas/i386/x86-64-suffix-intel.d,
  4628. testsuite/gas/i386/x86-64-suffix.d,
  4629. testsuite/gas/i386/x86_64-intel.d
  4630. testsuite/gas/i386/x86_64.d: Adjust expectations.
  4631. * testsuite/gas/i386/x86-64-suffix.e,
  4632. testsuite/gas/i386/x86_64.e: New.
  4633. 2020-01-30 Jan Beulich <jbeulich@suse.com>
  4634. * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
  4635. special case.
  4636. 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
  4637. PR binutils/25445
  4638. * config/tc-i386.c (check_long_reg): Also convert to QWORD for
  4639. movsxd.
  4640. * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
  4641. differences. Document movslq and movsxd.
  4642. * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
  4643. * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
  4644. * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
  4645. * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
  4646. * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
  4647. * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
  4648. * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
  4649. * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
  4650. * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
  4651. * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
  4652. * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
  4653. 2020-01-27 Alan Modra <amodra@gmail.com>
  4654. * testsuite/gas/all/gas.exp: Replace case statements with switch
  4655. statements.
  4656. * testsuite/gas/elf/elf.exp: Likewise.
  4657. * testsuite/gas/macros/macros.exp: Likewise.
  4658. * testsuite/lib/gas-defs.exp: Likewise.
  4659. 2020-01-27 Tamar Christina <tamar.christina@arm.com>
  4660. PR 25403
  4661. * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
  4662. * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
  4663. 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
  4664. * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
  4665. s exts must be known, so rename *ok* to *fail*.
  4666. * testsuite/gas/riscv/march-ok-sx.d: Likewise.
  4667. * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
  4668. * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
  4669. above change.
  4670. * testsuite/gas/riscv/march-fail-sx.l: Likewise.
  4671. * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
  4672. 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
  4673. PR gas/25438
  4674. * config/tc-i386.c (check_long_reg): Always disallow double word
  4675. suffix in mnemonic with word general register.
  4676. * testsuite/gas/i386/general.s: Replace word general register
  4677. with double word general register for movl.
  4678. * testsuite/gas/i386/inval.s: Add tests for movl with word general
  4679. register.
  4680. * testsuite/gas/i386/general.l: Updated.
  4681. * testsuite/gas/i386/inval.l: Likewise.
  4682. 2020-01-22 Alan Modra <amodra@gmail.com>
  4683. * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
  4684. __tls_get_addr_desc and __tls_get_addr_opt.
  4685. 2020-01-21 Jan Beulich <jbeulich@suse.com>
  4686. * testsuite/gas/i386/inval-crc32.s,
  4687. testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
  4688. * testsuite/gas/i386/inval-crc32.l,
  4689. testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
  4690. 2020-01-21 Jan Beulich <jbeulich@suse.com>
  4691. * config/tc-i386.c (process_suffix): Merge CRC32 handling into
  4692. generic code path. Deal with No_lSuf being set in a template.
  4693. * testsuite/gas/i386/inval-crc32.l,
  4694. testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
  4695. instead of error(s) when operand size is ambiguous.
  4696. * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
  4697. testsuite/gas/i386/noreg64.s: Add CRC32 tests.
  4698. * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
  4699. testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
  4700. testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
  4701. Adjust expectations.
  4702. 2020-01-21 Jan Beulich <jbeulich@suse.com>
  4703. * config/tc-i386.c (process_suffix): Drop SYSRET special case
  4704. and an intel_syntax check. Re-write lack-of-suffix processing
  4705. logic.
  4706. * doc/c-i386.texi: Document operand size defaults for suffix-
  4707. less AT&T syntax insns.
  4708. * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
  4709. testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
  4710. testsuite/gas/i386/x86-64-avx-scalar.s,
  4711. testsuite/gas/i386/x86-64-avx.s,
  4712. testsuite/gas/i386/x86-64-bundle.s,
  4713. testsuite/gas/i386/x86-64-intel64.s,
  4714. testsuite/gas/i386/x86-64-lock-1.s,
  4715. testsuite/gas/i386/x86-64-opcode.s,
  4716. testsuite/gas/i386/x86-64-sse2avx.s,
  4717. testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
  4718. * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
  4719. testsuite/gas/i386/x86-64-nops.s,
  4720. testsuite/gas/i386/x86-64-ptwrite.s,
  4721. testsuite/gas/i386/x86-64-simd.s,
  4722. testsuite/gas/i386/x86-64-sse-noavx.s,
  4723. testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
  4724. insns.
  4725. * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
  4726. testsuite/gas/i386/noreg64.s: Add further tests.
  4727. * testsuite/gas/i386/ilp32/x86-64-nops.d,
  4728. testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
  4729. testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
  4730. testsuite/gas/i386/sse-noavx.d,
  4731. testsuite/gas/i386/x86-64-intel64.d,
  4732. testsuite/gas/i386/x86-64-nops.d,
  4733. testsuite/gas/i386/x86-64-opcode.d,
  4734. testsuite/gas/i386/x86-64-ptwrite-intel.d,
  4735. testsuite/gas/i386/x86-64-ptwrite.d,
  4736. testsuite/gas/i386/x86-64-simd-intel.d,
  4737. testsuite/gas/i386/x86-64-simd-suffix.d,
  4738. testsuite/gas/i386/x86-64-simd.d,
  4739. testsuite/gas/i386/x86-64-sse-noavx.d
  4740. testsuite/gas/i386/x86-64-suffix.d,
  4741. testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
  4742. * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
  4743. testsuite/gas/i386/noreg64.l: New.
  4744. * testsuite/gas/i386/i386.exp: Run new tests.
  4745. 2020-01-21 Jan Beulich <jbeulich@suse.com>
  4746. * testsuite/gas/i386/avx512_bf16_vl.s,
  4747. testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
  4748. of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
  4749. broadcast forms of VCVTNEPS2BF16.
  4750. * testsuite/gas/i386/avx512_bf16_vl.d,
  4751. testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
  4752. 2020-01-20 Nick Clifton <nickc@redhat.com>
  4753. * po/uk.po: Updated Ukranian translation.
  4754. 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
  4755. PR ld/25416
  4756. * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
  4757. for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
  4758. x32 object.
  4759. * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
  4760. * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
  4761. R_X86_64_GOTPC32_TLSDESC relocation.
  4762. 2020-01-18 Nick Clifton <nickc@redhat.com>
  4763. * configure: Regenerate.
  4764. * po/gas.pot: Regenerate.
  4765. 2020-01-18 Nick Clifton <nickc@redhat.com>
  4766. Binutils 2.34 branch created.
  4767. 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
  4768. * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
  4769. with vex_encoding_vex.
  4770. (parse_insn): Likewise.
  4771. * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
  4772. and {vex3} documentation.
  4773. * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
  4774. {vex}.
  4775. * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
  4776. 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
  4777. PR 25376
  4778. * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
  4779. (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
  4780. * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
  4781. * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
  4782. * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
  4783. * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
  4784. 2020-01-16 Jan Beulich <jbeulich@suse.com>
  4785. * config/tc-i386.c (match_template): Drop found_cpu_match local
  4786. variable.
  4787. 2020-01-16 Jan Beulich <jbeulich@suse.com>
  4788. * testsuite/gas/i386/avx512dq-inval.l,
  4789. testsuite/gas/i386/avx512dq-inval.s: New.
  4790. * testsuite/gas/i386/i386.exp: Run new test.
  4791. 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
  4792. * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
  4793. relocations when the target is 430X, except when extracting part of an
  4794. expression.
  4795. (msp430_srcoperand): Adjust comment.
  4796. Initialize the expp member of the msp430_operand_s struct as
  4797. appropriate.
  4798. (msp430_dstoperand): Likewise.
  4799. * testsuite/gas/msp430/msp430.exp: Run new test.
  4800. * testsuite/gas/msp430/reloc-lo-430x.d: New test.
  4801. * testsuite/gas/msp430/reloc-lo-430x.s: New test.
  4802. 2020-01-15 Alan Modra <amodra@gmail.com>
  4803. * configure.tgt: Add sparc-*-freebsd case.
  4804. 2020-01-14 Lili Cui <lili.cui@intel.com>
  4805. * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
  4806. * testsuite/gas/i386/align-branch-1b.d: Likewise.
  4807. * testsuite/gas/i386/align-branch-1c.d: Likewise.
  4808. * testsuite/gas/i386/align-branch-1d.d: Likewise.
  4809. * testsuite/gas/i386/align-branch-1e.d: Likewise.
  4810. * testsuite/gas/i386/align-branch-1f.d: Likewise.
  4811. * testsuite/gas/i386/align-branch-1g.d: Likewise.
  4812. * testsuite/gas/i386/align-branch-1h.d: Likewise.
  4813. * testsuite/gas/i386/align-branch-1i.d: Likewise.
  4814. * testsuite/gas/i386/align-branch-5.d: Likewise.
  4815. * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
  4816. * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
  4817. * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
  4818. * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
  4819. * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
  4820. * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
  4821. * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
  4822. * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
  4823. * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
  4824. * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
  4825. * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
  4826. x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
  4827. 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
  4828. PR 25377
  4829. * config/tc-z80.c: Add support for half precision, single
  4830. precision and double precision floating point values.
  4831. * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
  4832. * doc/as.texi: Add new z80 command line options.
  4833. * doc/c-z80.texi: Document new z80 command line options.
  4834. * testsuite/gas/z80/ez80_pref_dis.s: New test.
  4835. * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
  4836. * testsuite/gas/z80/z80.exp: Run the new test.
  4837. * testsuite/gas/z80/fp_math48.d: Use correct command line option.
  4838. * testsuite/gas/z80/fp_zeda32.d: Likewise.
  4839. * testsuite/gas/z80/strings.d: Update expected output.
  4840. 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
  4841. * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
  4842. dependency.
  4843. 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
  4844. * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
  4845. the CPU.
  4846. * config/tc-arc.h: Add header if/defs.
  4847. * testsuite/gas/arc/pseudos.d: Improve matching pattern.
  4848. 2020-01-13 Alan Modra <amodra@gmail.com>
  4849. * testsuite/gas/wasm32/allinsn.d: Update expected output.
  4850. 2020-01-13 Alan Modra <amodra@gmail.com>
  4851. * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
  4852. insertion.
  4853. 2020-01-10 Alan Modra <amodra@gmail.com>
  4854. * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
  4855. * testsuite/gas/elf/pr21661.d: Don't run on hpux.
  4856. 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
  4857. PR 25224
  4858. * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
  4859. opcode byte values.
  4860. (emit_ld_r_r): Likewise.
  4861. (emit_ld_rr_m): Likewise.
  4862. (emit_ld_rr_nn): Likewise.
  4863. 2020-01-09 Jan Beulich <jbeulich@suse.com>
  4864. * config/tc-i386.c (optimize_encoding): Add
  4865. is_any_vex_encoding() invocations. Drop respective
  4866. i.tm.extension_opcode == None checks.
  4867. 2020-01-09 Jan Beulich <jbeulich@suse.com>
  4868. * config/tc-i386.c (md_assemble): Check RegRex is clear during
  4869. REX transformations. Correct comment indentation.
  4870. 2020-01-09 Jan Beulich <jbeulich@suse.com>
  4871. * config/tc-i386.c (optimize_encoding): Generalize register
  4872. transformation for TEST optimization.
  4873. 2020-01-09 Jan Beulich <jbeulich@suse.com>
  4874. * testsuite/gas/i386/x86-64-sysenter-amd.s,
  4875. testsuite/gas/i386/x86-64-sysenter-amd.d,
  4876. testsuite/gas/i386/x86-64-sysenter-amd.l,
  4877. testsuite/gas/i386/x86-64-sysenter-intel.d,
  4878. testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
  4879. * testsuite/gas/i386/i386.exp: Run new tests.
  4880. 2020-01-08 Nick Clifton <nickc@redhat.com>
  4881. PR 25284
  4882. * doc/as.texi (Align): Document the fact that all arguments can be
  4883. omitted.
  4884. (Balign): Likewise.
  4885. (P2align): Likewise.
  4886. 2020-01-08 Nick Clifton <nickc@redhat.com>
  4887. PR 14891
  4888. * config/obj-elf.c (obj_elf_section): Fail if the section name is
  4889. already defined as a different symbol type.
  4890. * testsuite/gas/elf/pr14891.s: New test source file.
  4891. * testsuite/gas/elf/pr14891.d: New test driver.
  4892. * testsuite/gas/elf/pr14891.s: New test expected error output.
  4893. * testsuite/gas/elf/elf.exp: Run the new test.
  4894. 2020-01-08 Alan Modra <amodra@gmail.com>
  4895. * config/tc-z8k.c (md_begin): Make idx unsigned.
  4896. (get_specific): Likewise for this_index.
  4897. 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
  4898. * onfig/tc-arc.c (parse_reloc_symbol): New function.
  4899. (tokenize_arguments): Clean up, use parse_reloc_symbol function.
  4900. (md_operand): Set X_md to absent.
  4901. (arc_parse_name): Check for X_md.
  4902. 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
  4903. PR 25311
  4904. * as.h (TC_STRING_ESCAPES): Provide a default definition.
  4905. * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
  4906. NO_STRING_ESCAPES.
  4907. * read.c (next_char_of_string): Likewise.
  4908. * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
  4909. * config/tc-z80.h (TC_STRING_ESCAPES): Define.
  4910. 2020-01-03 Nick Clifton <nickc@redhat.com>
  4911. * po/sv.po: Updated Swedish translation.
  4912. 2020-01-03 Jan Beulich <jbeulich@suse.com>
  4913. * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
  4914. * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
  4915. 2020-01-03 Jan Beulich <jbeulich@suse.com>
  4916. * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
  4917. by-element usdot. Add 64-bit form tests for by-element sudot.
  4918. * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
  4919. 2020-01-03 Jan Beulich <jbeulich@suse.com>
  4920. * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
  4921. * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
  4922. 2020-01-03 Jan Beulich <jbeulich@suse.com>
  4923. * testsuite/gas/aarch64/f64mm.d,
  4924. testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
  4925. 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
  4926. * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
  4927. support for assembler code generated by SDCC. Add new relocation
  4928. types. Add z80-elf target support.
  4929. * config/tc-z80.h: Add z80-elf target support. Enable dollar local
  4930. labels. Local labels starts from ".L".
  4931. * NEWS: Mention the new support.
  4932. * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
  4933. * testsuite/gas/all/fwdexp.s: Likewise.
  4934. * testsuite/gas/all/cond.l: Likewise.
  4935. * testsuite/gas/all/cond.s: Likewise.
  4936. * testsuite/gas/all/fwdexp.d: Likewise.
  4937. * testsuite/gas/all/fwdexp.s: Likewise.
  4938. * testsuite/gas/elf/section2.e-mips: Likewise.
  4939. * testsuite/gas/elf/section2.l: Likewise.
  4940. * testsuite/gas/elf/section2.s: Likewise.
  4941. * testsuite/gas/macros/app1.d: Likewise.
  4942. * testsuite/gas/macros/app1.s: Likewise.
  4943. * testsuite/gas/macros/app2.d: Likewise.
  4944. * testsuite/gas/macros/app2.s: Likewise.
  4945. * testsuite/gas/macros/app3.d: Likewise.
  4946. * testsuite/gas/macros/app3.s: Likewise.
  4947. * testsuite/gas/macros/app4.d: Likewise.
  4948. * testsuite/gas/macros/app4.s: Likewise.
  4949. * testsuite/gas/macros/app4b.s: Likewise.
  4950. * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
  4951. * testsuite/gas/z80/z80.exp: Add new tests
  4952. * testsuite/gas/z80/dollar.d: New file.
  4953. * testsuite/gas/z80/dollar.s: New file.
  4954. * testsuite/gas/z80/ez80_adl_all.d: New file.
  4955. * testsuite/gas/z80/ez80_adl_all.s: New file.
  4956. * testsuite/gas/z80/ez80_adl_suf.d: New file.
  4957. * testsuite/gas/z80/ez80_isuf.s: New file.
  4958. * testsuite/gas/z80/ez80_z80_all.d: New file.
  4959. * testsuite/gas/z80/ez80_z80_all.s: New file.
  4960. * testsuite/gas/z80/ez80_z80_suf.d: New file.
  4961. * testsuite/gas/z80/r800_extra.d: New file.
  4962. * testsuite/gas/z80/r800_extra.s: New file.
  4963. * testsuite/gas/z80/r800_ii8.d: New file.
  4964. * testsuite/gas/z80/r800_z80_doc.d: New file.
  4965. * testsuite/gas/z80/z180.d: New file.
  4966. * testsuite/gas/z80/z180.s: New file.
  4967. * testsuite/gas/z80/z180_z80_doc.d: New file.
  4968. * testsuite/gas/z80/z80_doc.d: New file.
  4969. * testsuite/gas/z80/z80_doc.s: New file.
  4970. * testsuite/gas/z80/z80_ii8.d: New file.
  4971. * testsuite/gas/z80/z80_ii8.s: New file.
  4972. * testsuite/gas/z80/z80_in_f_c.d: New file.
  4973. * testsuite/gas/z80/z80_in_f_c.s: New file.
  4974. * testsuite/gas/z80/z80_op_ii_ld.d: New file.
  4975. * testsuite/gas/z80/z80_op_ii_ld.s: New file.
  4976. * testsuite/gas/z80/z80_out_c_0.d: New file.
  4977. * testsuite/gas/z80/z80_out_c_0.s: New file.
  4978. * testsuite/gas/z80/z80_reloc.d: New file.
  4979. * testsuite/gas/z80/z80_reloc.s: New file.
  4980. * testsuite/gas/z80/z80_sli.d: New file.
  4981. * testsuite/gas/z80/z80_sli.s: New file.
  4982. 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
  4983. * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
  4984. REGLIST_RN.
  4985. 2020-01-01 Alan Modra <amodra@gmail.com>
  4986. Update year range in copyright notice of all files.
  4987. For older changes see ChangeLog-2019
  4988. Copyright (C) 2020 Free Software Foundation, Inc.
  4989. Copying and distribution of this file, with or without modification,
  4990. are permitted in any medium without royalty provided the copyright
  4991. notice and this notice are preserved.
  4992. Local Variables:
  4993. mode: change-log
  4994. left-margin: 8
  4995. fill-column: 74
  4996. version-control: never
  4997. End: