1
0

binutils-avr32.patch 1.9 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436
  1. diff -Nur binutils-2.21.orig/bfd/archures.c binutils-2.21/bfd/archures.c
  2. --- binutils-2.21.orig/bfd/archures.c 2010-07-23 16:52:46.000000000 +0200
  3. +++ binutils-2.21/bfd/archures.c 2011-08-28 14:56:18.897982521 +0200
  4. @@ -373,6 +373,12 @@
  5. .#define bfd_mach_avr5 5
  6. .#define bfd_mach_avr51 51
  7. .#define bfd_mach_avr6 6
  8. +. bfd_arch_avr32, {* Atmel AVR32 *}
  9. +.#define bfd_mach_avr32_ap 7000
  10. +.#define bfd_mach_avr32_uc 3000
  11. +.#define bfd_mach_avr32_ucr1 3001
  12. +.#define bfd_mach_avr32_ucr2 3002
  13. +.#define bfd_mach_avr32_ucr3 3003
  14. . bfd_arch_bfin, {* ADI Blackfin *}
  15. .#define bfd_mach_bfin 1
  16. . bfd_arch_cr16, {* National Semiconductor CompactRISC (ie CR16). *}
  17. @@ -469,6 +475,7 @@
  18. extern const bfd_arch_info_type bfd_arc_arch;
  19. extern const bfd_arch_info_type bfd_arm_arch;
  20. extern const bfd_arch_info_type bfd_avr_arch;
  21. +extern const bfd_arch_info_type bfd_avr32_arch;
  22. extern const bfd_arch_info_type bfd_bfin_arch;
  23. extern const bfd_arch_info_type bfd_cr16_arch;
  24. extern const bfd_arch_info_type bfd_cr16c_arch;
  25. @@ -546,6 +553,7 @@
  26. &bfd_arc_arch,
  27. &bfd_arm_arch,
  28. &bfd_avr_arch,
  29. + &bfd_avr32_arch,
  30. &bfd_bfin_arch,
  31. &bfd_cr16_arch,
  32. &bfd_cr16c_arch,
  33. diff -Nur binutils-2.21.orig/bfd/bfd-in2.h binutils-2.21/bfd/bfd-in2.h
  34. --- binutils-2.21.orig/bfd/bfd-in2.h 2010-11-03 03:31:02.000000000 +0100
  35. +++ binutils-2.21/bfd/bfd-in2.h 2011-08-28 14:56:18.897982521 +0200
  36. @@ -2053,6 +2053,12 @@
  37. #define bfd_mach_avr5 5
  38. #define bfd_mach_avr51 51
  39. #define bfd_mach_avr6 6
  40. + bfd_arch_avr32, /* Atmel AVR32 */
  41. +#define bfd_mach_avr32_ap 7000
  42. +#define bfd_mach_avr32_uc 3000
  43. +#define bfd_mach_avr32_ucr1 3001
  44. +#define bfd_mach_avr32_ucr2 3002
  45. +#define bfd_mach_avr32_ucr3 3003
  46. bfd_arch_bfin, /* ADI Blackfin */
  47. #define bfd_mach_bfin 1
  48. bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
  49. @@ -3989,6 +3995,88 @@
  50. BFD_RELOC_RX_ABS16UL,
  51. BFD_RELOC_RX_RELAX,
  52. +/* Difference between two labels: L2 - L1. The value of L1 is encoded
  53. +as sym + addend, while the initial difference after assembly is
  54. +inserted into the object file by the assembler. */
  55. + BFD_RELOC_AVR32_DIFF32,
  56. + BFD_RELOC_AVR32_DIFF16,
  57. + BFD_RELOC_AVR32_DIFF8,
  58. +
  59. +/* Reference to a symbol through the Global Offset Table. The linker
  60. +will allocate an entry for symbol in the GOT and insert the offset
  61. +of this entry as the relocation value. */
  62. + BFD_RELOC_AVR32_GOT32,
  63. + BFD_RELOC_AVR32_GOT16,
  64. + BFD_RELOC_AVR32_GOT8,
  65. +
  66. +/* Normal (non-pc-relative) code relocations. Alignment and signedness
  67. +is indicated by the suffixes. S means signed, U means unsigned. W
  68. +means word-aligned, H means halfword-aligned, neither means
  69. +byte-aligned (no alignment.) SUB5 is the same relocation as 16S. */
  70. + BFD_RELOC_AVR32_21S,
  71. + BFD_RELOC_AVR32_16U,
  72. + BFD_RELOC_AVR32_16S,
  73. + BFD_RELOC_AVR32_SUB5,
  74. + BFD_RELOC_AVR32_8S_EXT,
  75. + BFD_RELOC_AVR32_8S,
  76. + BFD_RELOC_AVR32_15S,
  77. +
  78. +/* PC-relative relocations are signed if neither 'U' nor 'S' is
  79. +specified. However, we explicitly tack on a 'B' to indicate no
  80. +alignment, to avoid confusion with data relocs. All of these resolve
  81. +to sym + addend - offset, except the one with 'N' (negated) suffix.
  82. +This particular one resolves to offset - sym - addend. */
  83. + BFD_RELOC_AVR32_22H_PCREL,
  84. + BFD_RELOC_AVR32_18W_PCREL,
  85. + BFD_RELOC_AVR32_16B_PCREL,
  86. + BFD_RELOC_AVR32_16N_PCREL,
  87. + BFD_RELOC_AVR32_14UW_PCREL,
  88. + BFD_RELOC_AVR32_11H_PCREL,
  89. + BFD_RELOC_AVR32_10UW_PCREL,
  90. + BFD_RELOC_AVR32_9H_PCREL,
  91. + BFD_RELOC_AVR32_9UW_PCREL,
  92. +
  93. +/* Subtract the link-time address of the GOT from (symbol + addend)
  94. +and insert the result. */
  95. + BFD_RELOC_AVR32_GOTPC,
  96. +
  97. +/* Reference to a symbol through the GOT. The linker will allocate an
  98. +entry for symbol in the GOT and insert the offset of this entry as
  99. +the relocation value. addend must be zero. As usual, 'S' means
  100. +signed, 'W' means word-aligned, etc. */
  101. + BFD_RELOC_AVR32_GOTCALL,
  102. + BFD_RELOC_AVR32_LDA_GOT,
  103. + BFD_RELOC_AVR32_GOT21S,
  104. + BFD_RELOC_AVR32_GOT18SW,
  105. + BFD_RELOC_AVR32_GOT16S,
  106. +
  107. +/* 32-bit constant pool entry. I don't think 8- and 16-bit entries make
  108. +a whole lot of sense. */
  109. + BFD_RELOC_AVR32_32_CPENT,
  110. +
  111. +/* Constant pool references. Some of these relocations are signed,
  112. +others are unsigned. It doesn't really matter, since the constant
  113. +pool always comes after the code that references it. */
  114. + BFD_RELOC_AVR32_CPCALL,
  115. + BFD_RELOC_AVR32_16_CP,
  116. + BFD_RELOC_AVR32_9W_CP,
  117. +
  118. +/* sym must be the absolute symbol. The addend specifies the alignment
  119. +order, e.g. if addend is 2, the linker must add padding so that the
  120. +next address is aligned to a 4-byte boundary. */
  121. + BFD_RELOC_AVR32_ALIGN,
  122. +
  123. +/* Code relocations that will never make it to the output file. */
  124. + BFD_RELOC_AVR32_14UW,
  125. + BFD_RELOC_AVR32_10UW,
  126. + BFD_RELOC_AVR32_10SW,
  127. + BFD_RELOC_AVR32_STHH_W,
  128. + BFD_RELOC_AVR32_7UW,
  129. + BFD_RELOC_AVR32_6S,
  130. + BFD_RELOC_AVR32_6UW,
  131. + BFD_RELOC_AVR32_4UH,
  132. + BFD_RELOC_AVR32_3U,
  133. +
  134. /* Direct 12 bit. */
  135. BFD_RELOC_390_12,
  136. diff -Nur binutils-2.21.orig/bfd/config.bfd binutils-2.21/bfd/config.bfd
  137. --- binutils-2.21.orig/bfd/config.bfd 2010-12-01 12:03:10.000000000 +0100
  138. +++ binutils-2.21/bfd/config.bfd 2011-08-28 14:56:18.947986784 +0200
  139. @@ -346,6 +346,10 @@
  140. targ_underscore=yes
  141. ;;
  142. + avr32-*-*)
  143. + targ_defvec=bfd_elf32_avr32_vec
  144. + ;;
  145. +
  146. c30-*-*aout* | tic30-*-*aout*)
  147. targ_defvec=tic30_aout_vec
  148. ;;
  149. diff -Nur binutils-2.21.orig/bfd/configure binutils-2.21/bfd/configure
  150. --- binutils-2.21.orig/bfd/configure 2010-12-08 09:37:34.000000000 +0100
  151. +++ binutils-2.21/bfd/configure 2011-08-28 14:56:19.017982476 +0200
  152. @@ -15040,6 +15040,7 @@
  153. bfd_pei_ia64_vec) tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
  154. bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
  155. bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
  156. + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
  157. bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
  158. bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
  159. bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
  160. diff -Nur binutils-2.21.orig/bfd/configure.in binutils-2.21/bfd/configure.in
  161. --- binutils-2.21.orig/bfd/configure.in 2010-12-08 09:37:33.000000000 +0100
  162. +++ binutils-2.21/bfd/configure.in 2011-08-28 14:56:19.017982476 +0200
  163. @@ -675,6 +675,7 @@
  164. bfd_pei_ia64_vec) tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
  165. bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
  166. bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
  167. + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
  168. bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
  169. bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
  170. bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
  171. diff -Nur binutils-2.21.orig/bfd/cpu-avr32.c binutils-2.21/bfd/cpu-avr32.c
  172. --- binutils-2.21.orig/bfd/cpu-avr32.c 1970-01-01 01:00:00.000000000 +0100
  173. +++ binutils-2.21/bfd/cpu-avr32.c 2011-08-28 14:56:19.107979672 +0200
  174. @@ -0,0 +1,52 @@
  175. +/* BFD library support routines for AVR32.
  176. + Copyright 2003,2004,2005,2006,2007,2008,2009 Atmel Corporation.
  177. +
  178. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  179. +
  180. + This is part of BFD, the Binary File Descriptor library.
  181. +
  182. + This program is free software; you can redistribute it and/or modify
  183. + it under the terms of the GNU General Public License as published by
  184. + the Free Software Foundation; either version 2 of the License, or
  185. + (at your option) any later version.
  186. +
  187. + This program is distributed in the hope that it will be useful,
  188. + but WITHOUT ANY WARRANTY; without even the implied warranty of
  189. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  190. + GNU General Public License for more details.
  191. +
  192. + You should have received a copy of the GNU General Public License
  193. + along with this program; if not, write to the Free Software
  194. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  195. +
  196. +#include "bfd.h"
  197. +#include "sysdep.h"
  198. +#include "libbfd.h"
  199. +
  200. +#define N(machine, print, default, next) \
  201. + { \
  202. + 32, /* 32 bits in a word */ \
  203. + 32, /* 32 bits in an address */ \
  204. + 8, /* 8 bits in a byte */ \
  205. + bfd_arch_avr32, /* architecture */ \
  206. + machine, /* machine */ \
  207. + "avr32", /* arch name */ \
  208. + print, /* printable name */ \
  209. + 1, /* section align power */ \
  210. + default, /* the default machine? */ \
  211. + bfd_default_compatible, \
  212. + bfd_default_scan, \
  213. + next, \
  214. + }
  215. +
  216. +static const bfd_arch_info_type cpu_info[] =
  217. +{
  218. + N(bfd_mach_avr32_ap, "avr32:ap", FALSE, &cpu_info[1]),
  219. + N(bfd_mach_avr32_uc, "avr32:uc", FALSE, &cpu_info[2]),
  220. + N(bfd_mach_avr32_ucr1, "avr32:ucr1", FALSE, &cpu_info[3]),
  221. + N(bfd_mach_avr32_ucr2, "avr32:ucr2", FALSE, &cpu_info[4]),
  222. + N(bfd_mach_avr32_ucr3, "avr32:ucr3", FALSE, NULL),
  223. +};
  224. +
  225. +const bfd_arch_info_type bfd_avr32_arch =
  226. + N(bfd_mach_avr32_ap, "avr32", TRUE, &cpu_info[0]);
  227. diff -Nur binutils-2.21.orig/bfd/elf32-avr32.c binutils-2.21/bfd/elf32-avr32.c
  228. --- binutils-2.21.orig/bfd/elf32-avr32.c 1970-01-01 01:00:00.000000000 +0100
  229. +++ binutils-2.21/bfd/elf32-avr32.c 2011-08-28 15:18:33.157989524 +0200
  230. @@ -0,0 +1,3916 @@
  231. +/* AVR32-specific support for 32-bit ELF.
  232. + Copyright 2003,2004,2005,2006,2007,2008,2009 Atmel Corporation.
  233. +
  234. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  235. +
  236. + This file is part of BFD, the Binary File Descriptor library.
  237. +
  238. + This program is free software; you can redistribute it and/or modify
  239. + it under the terms of the GNU General Public License as published by
  240. + the Free Software Foundation; either version 2 of the License, or
  241. + (at your option) any later version.
  242. +
  243. + This program is distributed in the hope that it will be useful,
  244. + but WITHOUT ANY WARRANTY; without even the implied warranty of
  245. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  246. + GNU General Public License for more details.
  247. +
  248. + You should have received a copy of the GNU General Public License
  249. + along with this program; if not, write to the Free Software
  250. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  251. +
  252. +#include "bfd.h"
  253. +#include "sysdep.h"
  254. +#include "bfdlink.h"
  255. +#include "libbfd.h"
  256. +#include "elf-bfd.h"
  257. +#include "elf/avr32.h"
  258. +#include "elf32-avr32.h"
  259. +
  260. +#define xDEBUG
  261. +#define xRELAX_DEBUG
  262. +
  263. +#ifdef DEBUG
  264. +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
  265. +#else
  266. +# define pr_debug(fmt, args...) do { } while (0)
  267. +#endif
  268. +
  269. +#ifdef RELAX_DEBUG
  270. +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
  271. +#else
  272. +# define RDBG(fmt, args...) do { } while (0)
  273. +#endif
  274. +
  275. +/* When things go wrong, we want it to blow up, damnit! */
  276. +#undef BFD_ASSERT
  277. +#undef abort
  278. +#define BFD_ASSERT(expr) \
  279. + do \
  280. + { \
  281. + if (!(expr)) \
  282. + { \
  283. + bfd_assert(__FILE__, __LINE__); \
  284. + abort(); \
  285. + } \
  286. + } \
  287. + while (0)
  288. +
  289. +/* The name of the dynamic interpreter. This is put in the .interp section. */
  290. +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
  291. +
  292. +#define AVR32_GOT_HEADER_SIZE 8
  293. +#define AVR32_FUNCTION_STUB_SIZE 8
  294. +
  295. +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
  296. +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
  297. +#define ELF_R_SYM(x) ELF32_R_SYM(x)
  298. +
  299. +#define NOP_OPCODE 0xd703
  300. +
  301. +
  302. +/* Mapping between BFD relocations and ELF relocations */
  303. +
  304. +static reloc_howto_type *
  305. +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
  306. +
  307. +static reloc_howto_type *
  308. +bfd_elf32_bfd_reloc_name_lookup(bfd *abfd, const char *r_name);
  309. +
  310. +static void
  311. +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
  312. +
  313. +/* Generic HOWTO */
  314. +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
  315. + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
  316. + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
  317. + FALSE, 0, mask, pcrel)
  318. +
  319. +static reloc_howto_type elf_avr32_howto_table[] = {
  320. + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
  321. + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
  322. +
  323. + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  324. + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
  325. + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
  326. + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
  327. + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
  328. + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
  329. +
  330. + /* Difference between two symbol (sym2 - sym1). The reloc encodes
  331. + the value of sym1. The field contains the difference before any
  332. + relaxing is done. */
  333. + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  334. + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
  335. + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
  336. +
  337. + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
  338. + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
  339. + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
  340. +
  341. + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
  342. + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
  343. + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
  344. + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
  345. + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
  346. +
  347. + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
  348. + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
  349. + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
  350. + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
  351. + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
  352. + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
  353. + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
  354. + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
  355. + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
  356. +
  357. + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
  358. + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
  359. +
  360. + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  361. + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
  362. + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
  363. + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
  364. + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
  365. + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
  366. + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
  367. +
  368. + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  369. + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
  370. + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
  371. + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
  372. +
  373. + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
  374. + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  375. + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
  376. +
  377. + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
  378. +
  379. + GENH(R_AVR32_15S, 2, 2, 15, FALSE, 0, signed, 0x00007fff),
  380. +};
  381. +
  382. +struct elf_reloc_map
  383. +{
  384. + bfd_reloc_code_real_type bfd_reloc_val;
  385. + unsigned char elf_reloc_val;
  386. +};
  387. +
  388. +static const struct elf_reloc_map avr32_reloc_map[] =
  389. +{
  390. + { BFD_RELOC_NONE, R_AVR32_NONE },
  391. +
  392. + { BFD_RELOC_32, R_AVR32_32 },
  393. + { BFD_RELOC_16, R_AVR32_16 },
  394. + { BFD_RELOC_8, R_AVR32_8 },
  395. + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
  396. + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
  397. + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
  398. + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
  399. + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
  400. + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
  401. + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
  402. + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
  403. + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
  404. +
  405. + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
  406. + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
  407. + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
  408. + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
  409. + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
  410. + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
  411. +
  412. + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
  413. + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
  414. + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
  415. + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
  416. + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
  417. + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
  418. + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
  419. + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
  420. +
  421. + { BFD_RELOC_HI16, R_AVR32_HI16 },
  422. + { BFD_RELOC_LO16, R_AVR32_LO16 },
  423. +
  424. + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
  425. + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
  426. + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
  427. + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
  428. + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
  429. + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
  430. + /* GOT7UW should never be generated by the assembler */
  431. +
  432. + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
  433. + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
  434. + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
  435. + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
  436. +
  437. + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
  438. +
  439. + { BFD_RELOC_AVR32_15S, R_AVR32_15S },
  440. +};
  441. +
  442. +static reloc_howto_type *
  443. +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
  444. + bfd_reloc_code_real_type code)
  445. +{
  446. + unsigned int i;
  447. +
  448. + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
  449. + {
  450. + if (avr32_reloc_map[i].bfd_reloc_val == code)
  451. + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
  452. + }
  453. +
  454. + return NULL;
  455. +}
  456. +
  457. +static reloc_howto_type *
  458. +bfd_elf32_bfd_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
  459. + const char *r_name)
  460. +{
  461. + unsigned int i;
  462. +
  463. + for (i = 0;
  464. + i < sizeof (elf_avr32_howto_table) / sizeof (elf_avr32_howto_table[0]);
  465. + i++)
  466. + if (elf_avr32_howto_table[i].name != NULL
  467. + && strcasecmp (elf_avr32_howto_table[i].name, r_name) == 0)
  468. + return &elf_avr32_howto_table[i];
  469. +
  470. + return NULL;
  471. +}
  472. +
  473. +/* Set the howto pointer for an AVR32 ELF reloc. */
  474. +static void
  475. +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
  476. + arelent *cache_ptr,
  477. + Elf_Internal_Rela *dst)
  478. +{
  479. + unsigned int r_type;
  480. +
  481. + r_type = ELF32_R_TYPE (dst->r_info);
  482. + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
  483. + cache_ptr->howto = &elf_avr32_howto_table[r_type];
  484. +}
  485. +
  486. +
  487. +/* AVR32 ELF linker hash table and associated hash entries. */
  488. +
  489. +static struct bfd_hash_entry *
  490. +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
  491. + struct bfd_hash_table *table,
  492. + const char *string);
  493. +static void
  494. +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
  495. + struct elf_link_hash_entry *dir,
  496. + struct elf_link_hash_entry *ind);
  497. +static struct bfd_link_hash_table *
  498. +avr32_elf_link_hash_table_create(bfd *abfd);
  499. +
  500. +/*
  501. + Try to limit memory usage to something reasonable when sorting the
  502. + GOT. If just a couple of entries end up getting more references
  503. + than this, it won't affect performance at all, but if there are many
  504. + of them, we could end up with the wrong symbols being assigned the
  505. + first GOT entries.
  506. +*/
  507. +#define MAX_NR_GOT_HOLES 2048
  508. +
  509. +/*
  510. + AVR32 GOT entry. We need to keep track of refcounts and offsets
  511. + simultaneously, since we need the offsets during relaxation, and we
  512. + also want to be able to drop GOT entries during relaxation. In
  513. + addition to this, we want to keep the list of GOT entries sorted so
  514. + that we can keep the most-used entries at the lowest offsets.
  515. +*/
  516. +struct got_entry
  517. +{
  518. + struct got_entry *next;
  519. + struct got_entry **pprev;
  520. + int refcount;
  521. + bfd_signed_vma offset;
  522. +};
  523. +
  524. +struct elf_avr32_link_hash_entry
  525. +{
  526. + struct elf_link_hash_entry root;
  527. +
  528. + /* Number of runtime relocations against this symbol. */
  529. + unsigned int possibly_dynamic_relocs;
  530. +
  531. + /* If there are anything but R_AVR32_GOT18 relocations against this
  532. + symbol, it means that someone may be taking the address of the
  533. + function, and we should therefore not create a stub. */
  534. + bfd_boolean no_fn_stub;
  535. +
  536. + /* If there is a R_AVR32_32 relocation in a read-only section
  537. + against this symbol, we could be in trouble. If we're linking a
  538. + shared library or this symbol is defined in one, it means we must
  539. + emit a run-time reloc for it and that's not allowed in read-only
  540. + sections. */
  541. + asection *readonly_reloc_sec;
  542. + bfd_vma readonly_reloc_offset;
  543. +
  544. + /* Record which frag (if any) contains the symbol. This is used
  545. + during relaxation in order to avoid having to update all symbols
  546. + whenever we move something. For local symbols, this information
  547. + is in the local_sym_frag member of struct elf_obj_tdata. */
  548. + struct fragment *sym_frag;
  549. +};
  550. +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
  551. +
  552. +struct elf_avr32_link_hash_table
  553. +{
  554. + struct elf_link_hash_table root;
  555. +
  556. + /* Shortcuts to get to dynamic linker sections. */
  557. + asection *sgot;
  558. + asection *srelgot;
  559. + asection *sstub;
  560. +
  561. + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
  562. + initial refcounts have been determined, we initialize
  563. + nr_got_holes to the highest refcount ever seen and allocate an
  564. + array of nr_got_holes entries for got_hole. Each GOT entry is
  565. + then stored in this array at the index given by its refcount.
  566. +
  567. + When a GOT entry has its refcount decremented during relaxation,
  568. + it is moved to a lower index in the got_hole array.
  569. + */
  570. + struct got_entry **got_hole;
  571. + int nr_got_holes;
  572. +
  573. + /* Dynamic relocations to local symbols. Only used when linking a
  574. + shared library and -Bsymbolic is not given. */
  575. + unsigned int local_dynamic_relocs;
  576. +
  577. + bfd_boolean relocations_analyzed;
  578. + bfd_boolean symbols_adjusted;
  579. + bfd_boolean repeat_pass;
  580. + bfd_boolean direct_data_refs;
  581. + unsigned int relax_iteration;
  582. + unsigned int relax_pass;
  583. +};
  584. +#define avr32_elf_hash_table(p) \
  585. + ((struct elf_avr32_link_hash_table *)((p)->hash))
  586. +
  587. +static struct bfd_hash_entry *
  588. +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
  589. + struct bfd_hash_table *table,
  590. + const char *string)
  591. +{
  592. + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
  593. +
  594. + /* Allocate the structure if it hasn't already been allocated by a
  595. + subclass */
  596. + if (ret == NULL)
  597. + ret = (struct elf_avr32_link_hash_entry *)
  598. + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
  599. +
  600. + if (ret == NULL)
  601. + return NULL;
  602. +
  603. + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
  604. +
  605. + /* Give the superclass a chance */
  606. + ret = (struct elf_avr32_link_hash_entry *)
  607. + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
  608. +
  609. + return (struct bfd_hash_entry *)ret;
  610. +}
  611. +
  612. +/* Copy data from an indirect symbol to its direct symbol, hiding the
  613. + old indirect symbol. Process additional relocation information.
  614. + Also called for weakdefs, in which case we just let
  615. + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
  616. +
  617. +static void
  618. +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
  619. + struct elf_link_hash_entry *dir,
  620. + struct elf_link_hash_entry *ind)
  621. +{
  622. + struct elf_avr32_link_hash_entry *edir, *eind;
  623. +
  624. + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
  625. +
  626. + if (ind->root.type != bfd_link_hash_indirect)
  627. + return;
  628. +
  629. + edir = (struct elf_avr32_link_hash_entry *)dir;
  630. + eind = (struct elf_avr32_link_hash_entry *)ind;
  631. +
  632. + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
  633. + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
  634. +}
  635. +
  636. +static struct bfd_link_hash_table *
  637. +avr32_elf_link_hash_table_create(bfd *abfd)
  638. +{
  639. + struct elf_avr32_link_hash_table *ret;
  640. +
  641. + ret = bfd_zmalloc(sizeof(*ret));
  642. + if (ret == NULL)
  643. + return NULL;
  644. +
  645. + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
  646. + avr32_elf_link_hash_newfunc,
  647. + sizeof (struct elf_avr32_link_hash_entry),
  648. + GENERIC_ELF_DATA))
  649. + {
  650. + free(ret);
  651. + return NULL;
  652. + }
  653. +
  654. + /* Prevent the BFD core from creating bogus got_entry pointers */
  655. + ret->root.init_got_refcount.glist = NULL;
  656. + ret->root.init_plt_refcount.glist = NULL;
  657. + ret->root.init_got_offset.glist = NULL;
  658. + ret->root.init_plt_offset.glist = NULL;
  659. +
  660. + return &ret->root.root;
  661. +}
  662. +
  663. +
  664. +/* Initial analysis and creation of dynamic sections and symbols */
  665. +
  666. +static asection *
  667. +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
  668. + unsigned int align_power);
  669. +static struct elf_link_hash_entry *
  670. +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
  671. + const char *name, asection *sec,
  672. + bfd_vma offset);
  673. +static bfd_boolean
  674. +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
  675. +static bfd_boolean
  676. +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
  677. +static bfd_boolean
  678. +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
  679. + const Elf_Internal_Rela *relocs);
  680. +static bfd_boolean
  681. +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
  682. + struct elf_link_hash_entry *h);
  683. +
  684. +static asection *
  685. +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
  686. + unsigned int align_power)
  687. +{
  688. + asection *sec;
  689. +
  690. + sec = bfd_make_section(dynobj, name);
  691. + if (!sec
  692. + || !bfd_set_section_flags(dynobj, sec, flags)
  693. + || !bfd_set_section_alignment(dynobj, sec, align_power))
  694. + return NULL;
  695. +
  696. + return sec;
  697. +}
  698. +
  699. +static struct elf_link_hash_entry *
  700. +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
  701. + const char *name, asection *sec,
  702. + bfd_vma offset)
  703. +{
  704. + struct bfd_link_hash_entry *bh = NULL;
  705. + struct elf_link_hash_entry *h;
  706. + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
  707. +
  708. + if (!(_bfd_generic_link_add_one_symbol
  709. + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
  710. + bed->collect, &bh)))
  711. + return NULL;
  712. +
  713. + h = (struct elf_link_hash_entry *)bh;
  714. + h->def_regular = 1;
  715. + h->type = STT_OBJECT;
  716. + h->other = STV_HIDDEN;
  717. +
  718. + return h;
  719. +}
  720. +
  721. +static bfd_boolean
  722. +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
  723. +{
  724. + struct elf_avr32_link_hash_table *htab;
  725. + flagword flags;
  726. + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
  727. +
  728. + htab = avr32_elf_hash_table(info);
  729. + flags = bed->dynamic_sec_flags;
  730. +
  731. + if (htab->sgot)
  732. + return TRUE;
  733. +
  734. + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
  735. + if (!htab->srelgot)
  736. + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
  737. + flags | SEC_READONLY, 2);
  738. +
  739. + if (!htab->sgot || !htab->srelgot)
  740. + return FALSE;
  741. +
  742. + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
  743. + htab->sgot, 0);
  744. + if (!htab->root.hgot)
  745. + return FALSE;
  746. +
  747. + /* Make room for the GOT header */
  748. + htab->sgot->size += bed->got_header_size;
  749. +
  750. + return TRUE;
  751. +}
  752. +
  753. +/* (1) Create all dynamic (i.e. linker generated) sections that we may
  754. + need during the link */
  755. +
  756. +static bfd_boolean
  757. +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
  758. +{
  759. + struct elf_avr32_link_hash_table *htab;
  760. + flagword flags;
  761. + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
  762. +
  763. + pr_debug("(1) create dynamic sections\n");
  764. +
  765. + htab = avr32_elf_hash_table(info);
  766. + flags = bed->dynamic_sec_flags;
  767. +
  768. + if (!avr32_elf_create_got_section (dynobj, info))
  769. + return FALSE;
  770. +
  771. + if (!htab->sstub)
  772. + htab->sstub = create_dynamic_section(dynobj, ".stub",
  773. + flags | SEC_READONLY | SEC_CODE, 2);
  774. +
  775. + if (!htab->sstub)
  776. + return FALSE;
  777. +
  778. + return TRUE;
  779. +}
  780. +
  781. +/* (2) Go through all the relocs and count any potential GOT- or
  782. + PLT-references to each symbol */
  783. +
  784. +static bfd_boolean
  785. +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
  786. + const Elf_Internal_Rela *relocs)
  787. +{
  788. + Elf_Internal_Shdr *symtab_hdr;
  789. + struct elf_avr32_link_hash_table *htab;
  790. + struct elf_link_hash_entry **sym_hashes;
  791. + const Elf_Internal_Rela *rel, *rel_end;
  792. + struct got_entry **local_got_ents;
  793. + struct got_entry *got;
  794. + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
  795. + asection *sgot;
  796. + bfd *dynobj;
  797. +
  798. + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
  799. + abfd->filename, sec->name, sec->size);
  800. +
  801. + if (info->relocatable)
  802. + return TRUE;
  803. +
  804. + dynobj = elf_hash_table(info)->dynobj;
  805. + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
  806. + sym_hashes = elf_sym_hashes(abfd);
  807. + htab = avr32_elf_hash_table(info);
  808. + local_got_ents = elf_local_got_ents(abfd);
  809. + sgot = htab->sgot;
  810. +
  811. + rel_end = relocs + sec->reloc_count;
  812. + for (rel = relocs; rel < rel_end; rel++)
  813. + {
  814. + unsigned long r_symndx, r_type;
  815. + struct elf_avr32_link_hash_entry *h;
  816. +
  817. + r_symndx = ELF32_R_SYM(rel->r_info);
  818. + r_type = ELF32_R_TYPE(rel->r_info);
  819. +
  820. + /* Local symbols use local_got_ents, while others store the same
  821. + information in the hash entry */
  822. + if (r_symndx < symtab_hdr->sh_info)
  823. + {
  824. + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
  825. + h = NULL;
  826. + }
  827. + else
  828. + {
  829. + h = (struct elf_avr32_link_hash_entry *)
  830. + sym_hashes[r_symndx - symtab_hdr->sh_info];
  831. + while (h->root.type == bfd_link_hash_indirect
  832. + || h->root.type == bfd_link_hash_warning)
  833. + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
  834. + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
  835. + }
  836. +
  837. + /* Some relocs require special sections to be created. */
  838. + switch (r_type)
  839. + {
  840. + case R_AVR32_GOT32:
  841. + case R_AVR32_GOT16:
  842. + case R_AVR32_GOT8:
  843. + case R_AVR32_GOT21S:
  844. + case R_AVR32_GOT18SW:
  845. + case R_AVR32_GOT16S:
  846. + case R_AVR32_GOT7UW:
  847. + case R_AVR32_LDA_GOT:
  848. + case R_AVR32_GOTCALL:
  849. + if (rel->r_addend)
  850. + {
  851. + if (info->callbacks->reloc_dangerous
  852. + (info, _("Non-zero addend on GOT-relative relocation"),
  853. + abfd, sec, rel->r_offset) == FALSE)
  854. + return FALSE;
  855. + }
  856. + /* fall through */
  857. + case R_AVR32_GOTPC:
  858. + if (dynobj == NULL)
  859. + elf_hash_table(info)->dynobj = dynobj = abfd;
  860. + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
  861. + return FALSE;
  862. + break;
  863. + case R_AVR32_32:
  864. + /* We may need to create .rela.dyn later on. */
  865. + if (dynobj == NULL
  866. + && (info->shared || h != NULL)
  867. + && (sec->flags & SEC_ALLOC))
  868. + elf_hash_table(info)->dynobj = dynobj = abfd;
  869. + break;
  870. + }
  871. +
  872. + if (h != NULL && r_type != R_AVR32_GOT18SW)
  873. + h->no_fn_stub = TRUE;
  874. +
  875. + switch (r_type)
  876. + {
  877. + case R_AVR32_GOT32:
  878. + case R_AVR32_GOT16:
  879. + case R_AVR32_GOT8:
  880. + case R_AVR32_GOT21S:
  881. + case R_AVR32_GOT18SW:
  882. + case R_AVR32_GOT16S:
  883. + case R_AVR32_GOT7UW:
  884. + case R_AVR32_LDA_GOT:
  885. + case R_AVR32_GOTCALL:
  886. + if (h != NULL)
  887. + {
  888. + got = h->root.got.glist;
  889. + if (!got)
  890. + {
  891. + got = bfd_zalloc(abfd, sizeof(struct got_entry));
  892. + if (!got)
  893. + return FALSE;
  894. + h->root.got.glist = got;
  895. + }
  896. + }
  897. + else
  898. + {
  899. + if (!local_got_ents)
  900. + {
  901. + bfd_size_type size;
  902. + bfd_size_type i;
  903. + struct got_entry *tmp_entry;
  904. +
  905. + size = symtab_hdr->sh_info;
  906. + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
  907. + local_got_ents = bfd_zalloc(abfd, size);
  908. + if (!local_got_ents)
  909. + return FALSE;
  910. +
  911. + elf_local_got_ents(abfd) = local_got_ents;
  912. +
  913. + tmp_entry = (struct got_entry *)(local_got_ents
  914. + + symtab_hdr->sh_info);
  915. + for (i = 0; i < symtab_hdr->sh_info; i++)
  916. + local_got_ents[i] = &tmp_entry[i];
  917. + }
  918. +
  919. + got = local_got_ents[r_symndx];
  920. + }
  921. +
  922. + got->refcount++;
  923. + if (got->refcount > htab->nr_got_holes)
  924. + htab->nr_got_holes = got->refcount;
  925. + break;
  926. +
  927. + case R_AVR32_32:
  928. + if ((info->shared || h != NULL)
  929. + && (sec->flags & SEC_ALLOC))
  930. + {
  931. + if (htab->srelgot == NULL)
  932. + {
  933. + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
  934. + bed->dynamic_sec_flags
  935. + | SEC_READONLY, 2);
  936. + if (htab->srelgot == NULL)
  937. + return FALSE;
  938. + }
  939. +
  940. + if (sec->flags & SEC_READONLY
  941. + && !h->readonly_reloc_sec)
  942. + {
  943. + h->readonly_reloc_sec = sec;
  944. + h->readonly_reloc_offset = rel->r_offset;
  945. + }
  946. +
  947. + if (h != NULL)
  948. + {
  949. + pr_debug("Non-GOT reference to symbol %s\n",
  950. + h->root.root.root.string);
  951. + h->possibly_dynamic_relocs++;
  952. + }
  953. + else
  954. + {
  955. + pr_debug("Non-GOT reference to local symbol %lu\n",
  956. + r_symndx);
  957. + htab->local_dynamic_relocs++;
  958. + }
  959. + }
  960. +
  961. + break;
  962. +
  963. + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
  964. + }
  965. + }
  966. +
  967. + return TRUE;
  968. +}
  969. +
  970. +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
  971. + regular object. The current definition is in some section of the
  972. + dynamic object, but we're not including those sections. We have to
  973. + change the definition to something the rest of the link can
  974. + understand. */
  975. +
  976. +static bfd_boolean
  977. +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
  978. + struct elf_link_hash_entry *h)
  979. +{
  980. + struct elf_avr32_link_hash_table *htab;
  981. + struct elf_avr32_link_hash_entry *havr;
  982. + bfd *dynobj;
  983. +
  984. + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
  985. +
  986. + htab = avr32_elf_hash_table(info);
  987. + havr = (struct elf_avr32_link_hash_entry *)h;
  988. + dynobj = elf_hash_table(info)->dynobj;
  989. +
  990. + /* Make sure we know what is going on here. */
  991. + BFD_ASSERT (dynobj != NULL
  992. + && (h->u.weakdef != NULL
  993. + || (h->def_dynamic
  994. + && h->ref_regular
  995. + && !h->def_regular)));
  996. +
  997. + /* We don't want dynamic relocations in read-only sections. */
  998. + if (havr->readonly_reloc_sec)
  999. + {
  1000. + if (info->callbacks->reloc_dangerous
  1001. + (info, _("dynamic relocation in read-only section"),
  1002. + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
  1003. + havr->readonly_reloc_offset) == FALSE)
  1004. + return FALSE;
  1005. + }
  1006. +
  1007. + /* If this is a function, create a stub if possible and set the
  1008. + symbol to the stub location. */
  1009. + if (0 && !havr->no_fn_stub)
  1010. + {
  1011. + if (!h->def_regular)
  1012. + {
  1013. + asection *s = htab->sstub;
  1014. +
  1015. + BFD_ASSERT(s != NULL);
  1016. +
  1017. + h->root.u.def.section = s;
  1018. + h->root.u.def.value = s->size;
  1019. + h->plt.offset = s->size;
  1020. + s->size += AVR32_FUNCTION_STUB_SIZE;
  1021. +
  1022. + return TRUE;
  1023. + }
  1024. + }
  1025. + else if (h->type == STT_FUNC)
  1026. + {
  1027. + /* This will set the entry for this symbol in the GOT to 0, and
  1028. + the dynamic linker will take care of this. */
  1029. + h->root.u.def.value = 0;
  1030. + return TRUE;
  1031. + }
  1032. +
  1033. + /* If this is a weak symbol, and there is a real definition, the
  1034. + processor independent code will have arranged for us to see the
  1035. + real definition first, and we can just use the same value. */
  1036. + if (h->u.weakdef != NULL)
  1037. + {
  1038. + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
  1039. + || h->u.weakdef->root.type == bfd_link_hash_defweak);
  1040. + h->root.u.def.section = h->u.weakdef->root.u.def.section;
  1041. + h->root.u.def.value = h->u.weakdef->root.u.def.value;
  1042. + return TRUE;
  1043. + }
  1044. +
  1045. + /* This is a reference to a symbol defined by a dynamic object which
  1046. + is not a function. */
  1047. +
  1048. + return TRUE;
  1049. +}
  1050. +
  1051. +
  1052. +/* Garbage-collection of unused sections */
  1053. +
  1054. +static asection *
  1055. +avr32_elf_gc_mark_hook(asection *sec,
  1056. + struct bfd_link_info *info ATTRIBUTE_UNUSED,
  1057. + Elf_Internal_Rela *rel,
  1058. + struct elf_link_hash_entry *h,
  1059. + Elf_Internal_Sym *sym)
  1060. +{
  1061. + if (h)
  1062. + {
  1063. + switch (ELF32_R_TYPE(rel->r_info))
  1064. + {
  1065. + /* TODO: VTINHERIT/VTENTRY */
  1066. + default:
  1067. + switch (h->root.type)
  1068. + {
  1069. + case bfd_link_hash_defined:
  1070. + case bfd_link_hash_defweak:
  1071. + return h->root.u.def.section;
  1072. +
  1073. + case bfd_link_hash_common:
  1074. + return h->root.u.c.p->section;
  1075. +
  1076. + default:
  1077. + break;
  1078. + }
  1079. + }
  1080. + }
  1081. + else
  1082. + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
  1083. +
  1084. + return NULL;
  1085. +}
  1086. +
  1087. +/* Update the GOT entry reference counts for the section being removed. */
  1088. +static bfd_boolean
  1089. +avr32_elf_gc_sweep_hook(bfd *abfd,
  1090. + struct bfd_link_info *info ATTRIBUTE_UNUSED,
  1091. + asection *sec,
  1092. + const Elf_Internal_Rela *relocs)
  1093. +{
  1094. + Elf_Internal_Shdr *symtab_hdr;
  1095. + struct elf_avr32_link_hash_entry **sym_hashes;
  1096. + struct got_entry **local_got_ents;
  1097. + const Elf_Internal_Rela *rel, *relend;
  1098. +
  1099. + if (!(sec->flags & SEC_ALLOC))
  1100. + return TRUE;
  1101. +
  1102. + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
  1103. + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
  1104. + local_got_ents = elf_local_got_ents(abfd);
  1105. +
  1106. + relend = relocs + sec->reloc_count;
  1107. + for (rel = relocs; rel < relend; rel++)
  1108. + {
  1109. + unsigned long r_symndx;
  1110. + unsigned int r_type;
  1111. + struct elf_avr32_link_hash_entry *h = NULL;
  1112. +
  1113. + r_symndx = ELF32_R_SYM(rel->r_info);
  1114. + if (r_symndx >= symtab_hdr->sh_info)
  1115. + {
  1116. + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
  1117. + while (h->root.root.type == bfd_link_hash_indirect
  1118. + || h->root.root.type == bfd_link_hash_warning)
  1119. + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
  1120. + }
  1121. +
  1122. + r_type = ELF32_R_TYPE(rel->r_info);
  1123. +
  1124. + switch (r_type)
  1125. + {
  1126. + case R_AVR32_GOT32:
  1127. + case R_AVR32_GOT16:
  1128. + case R_AVR32_GOT8:
  1129. + case R_AVR32_GOT21S:
  1130. + case R_AVR32_GOT18SW:
  1131. + case R_AVR32_GOT16S:
  1132. + case R_AVR32_GOT7UW:
  1133. + case R_AVR32_LDA_GOT:
  1134. + case R_AVR32_GOTCALL:
  1135. + if (h)
  1136. + h->root.got.glist->refcount--;
  1137. + else
  1138. + local_got_ents[r_symndx]->refcount--;
  1139. + break;
  1140. +
  1141. + case R_AVR32_32:
  1142. + if (info->shared || h)
  1143. + {
  1144. + if (h)
  1145. + h->possibly_dynamic_relocs--;
  1146. + else
  1147. + avr32_elf_hash_table(info)->local_dynamic_relocs--;
  1148. + }
  1149. +
  1150. + default:
  1151. + break;
  1152. + }
  1153. + }
  1154. +
  1155. + return TRUE;
  1156. +}
  1157. +
  1158. +/* Sizing and refcounting of dynamic sections */
  1159. +
  1160. +static void
  1161. +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
  1162. +static void
  1163. +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
  1164. +static void
  1165. +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
  1166. +static bfd_boolean
  1167. +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
  1168. +static bfd_boolean
  1169. +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
  1170. +static bfd_boolean
  1171. +avr32_elf_size_dynamic_sections (bfd *output_bfd,
  1172. + struct bfd_link_info *info);
  1173. +
  1174. +static void
  1175. +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
  1176. +{
  1177. + /* Any entries with got_refcount > htab->nr_got_holes end up in the
  1178. + * last pigeonhole without any sorting. We expect the number of such
  1179. + * entries to be small, so it is very unlikely to affect
  1180. + * performance. */
  1181. + int entry = got->refcount;
  1182. +
  1183. + if (entry > htab->nr_got_holes)
  1184. + entry = htab->nr_got_holes;
  1185. +
  1186. + got->pprev = &htab->got_hole[entry];
  1187. + got->next = htab->got_hole[entry];
  1188. +
  1189. + if (got->next)
  1190. + got->next->pprev = &got->next;
  1191. +
  1192. + htab->got_hole[entry] = got;
  1193. +}
  1194. +
  1195. +/* Decrement the refcount of a GOT entry and update its position in
  1196. + the pigeonhole array. */
  1197. +static void
  1198. +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
  1199. +{
  1200. + BFD_ASSERT(got->refcount > 0);
  1201. +
  1202. + if (got->next)
  1203. + got->next->pprev = got->pprev;
  1204. +
  1205. + *(got->pprev) = got->next;
  1206. + got->refcount--;
  1207. + insert_got_entry(htab, got);
  1208. +}
  1209. +
  1210. +static void
  1211. +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
  1212. +{
  1213. + if (got->next)
  1214. + got->next->pprev = got->pprev;
  1215. +
  1216. + *(got->pprev) = got->next;
  1217. + got->refcount++;
  1218. + insert_got_entry(htab, got);
  1219. +
  1220. + BFD_ASSERT(got->refcount > 0);
  1221. +}
  1222. +
  1223. +/* Assign offsets to all GOT entries we intend to keep. The entries
  1224. + that are referenced most often are placed at low offsets so that we
  1225. + can use compact instructions as much as possible.
  1226. +
  1227. + Returns TRUE if any offsets or the total size of the GOT changed. */
  1228. +
  1229. +static bfd_boolean
  1230. +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
  1231. +{
  1232. + struct got_entry *got;
  1233. + bfd_size_type got_size = 0;
  1234. + bfd_boolean changed = FALSE;
  1235. + bfd_signed_vma offset;
  1236. + int i;
  1237. +
  1238. + /* The GOT header provides the address of the DYNAMIC segment, so
  1239. + we need that even if the GOT is otherwise empty. */
  1240. + if (htab->root.dynamic_sections_created)
  1241. + got_size = AVR32_GOT_HEADER_SIZE;
  1242. +
  1243. + for (i = htab->nr_got_holes; i > 0; i--)
  1244. + {
  1245. + got = htab->got_hole[i];
  1246. + while (got)
  1247. + {
  1248. + if (got->refcount > 0)
  1249. + {
  1250. + offset = got_size;
  1251. + if (got->offset != offset)
  1252. + {
  1253. + RDBG("GOT offset changed: %ld -> %ld\n",
  1254. + got->offset, offset);
  1255. + changed = TRUE;
  1256. + }
  1257. + got->offset = offset;
  1258. + got_size += 4;
  1259. + }
  1260. + got = got->next;
  1261. + }
  1262. + }
  1263. +
  1264. + if (htab->sgot->size != got_size)
  1265. + {
  1266. + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
  1267. + got_size);
  1268. + changed = TRUE;
  1269. + }
  1270. + htab->sgot->size = got_size;
  1271. +
  1272. + RDBG("assign_got_offsets: total size %lu (%s)\n",
  1273. + got_size, changed ? "changed" : "no change");
  1274. +
  1275. + return changed;
  1276. +}
  1277. +
  1278. +static bfd_boolean
  1279. +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
  1280. +{
  1281. + struct bfd_link_info *info = _info;
  1282. + struct elf_avr32_link_hash_table *htab;
  1283. + struct elf_avr32_link_hash_entry *havr;
  1284. + struct got_entry *got;
  1285. +
  1286. + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
  1287. +
  1288. + if (h->root.type == bfd_link_hash_indirect)
  1289. + return TRUE;
  1290. +
  1291. + if (h->root.type == bfd_link_hash_warning)
  1292. + /* When warning symbols are created, they **replace** the "real"
  1293. + entry in the hash table, thus we never get to see the real
  1294. + symbol in a hash traversal. So look at it now. */
  1295. + h = (struct elf_link_hash_entry *) h->root.u.i.link;
  1296. +
  1297. + htab = avr32_elf_hash_table(info);
  1298. + havr = (struct elf_avr32_link_hash_entry *)h;
  1299. +
  1300. + got = h->got.glist;
  1301. +
  1302. + /* If got is NULL, the symbol is never referenced through the GOT */
  1303. + if (got && got->refcount > 0)
  1304. + {
  1305. + insert_got_entry(htab, got);
  1306. +
  1307. + /* Shared libraries need relocs for all GOT entries unless the
  1308. + symbol is forced local or -Bsymbolic is used. Others need
  1309. + relocs for everything that is not guaranteed to be defined in
  1310. + a regular object. */
  1311. + if ((info->shared
  1312. + && !info->symbolic
  1313. + && h->dynindx != -1)
  1314. + || (htab->root.dynamic_sections_created
  1315. + && h->def_dynamic
  1316. + && !h->def_regular))
  1317. + htab->srelgot->size += sizeof(Elf32_External_Rela);
  1318. + }
  1319. +
  1320. + if (havr->possibly_dynamic_relocs
  1321. + && (info->shared
  1322. + || (elf_hash_table(info)->dynamic_sections_created
  1323. + && h->def_dynamic
  1324. + && !h->def_regular)))
  1325. + {
  1326. + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
  1327. + havr->possibly_dynamic_relocs, h->root.root.string);
  1328. + htab->srelgot->size += (havr->possibly_dynamic_relocs
  1329. + * sizeof(Elf32_External_Rela));
  1330. + }
  1331. +
  1332. + return TRUE;
  1333. +}
  1334. +
  1335. +/* (4) Calculate the sizes of the linker-generated sections and
  1336. + allocate memory for them. */
  1337. +
  1338. +static bfd_boolean
  1339. +avr32_elf_size_dynamic_sections (bfd *output_bfd,
  1340. + struct bfd_link_info *info)
  1341. +{
  1342. + struct elf_avr32_link_hash_table *htab;
  1343. + bfd *dynobj;
  1344. + asection *s;
  1345. + bfd *ibfd;
  1346. + bfd_boolean relocs;
  1347. +
  1348. + pr_debug("(4) size dynamic sections\n");
  1349. +
  1350. + htab = avr32_elf_hash_table(info);
  1351. + dynobj = htab->root.dynobj;
  1352. + BFD_ASSERT(dynobj != NULL);
  1353. +
  1354. + if (htab->root.dynamic_sections_created)
  1355. + {
  1356. + /* Initialize the contents of the .interp section to the name of
  1357. + the dynamic loader */
  1358. + if (info->executable)
  1359. + {
  1360. + s = bfd_get_section_by_name(dynobj, ".interp");
  1361. + BFD_ASSERT(s != NULL);
  1362. + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
  1363. + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
  1364. + }
  1365. + }
  1366. +
  1367. + if (htab->nr_got_holes > 0)
  1368. + {
  1369. + /* Allocate holes for the pigeonhole sort algorithm */
  1370. + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
  1371. +
  1372. + /* Limit the memory usage by clipping the number of pigeonholes
  1373. + * at a predefined maximum. All entries with a higher refcount
  1374. + * will end up in the last pigeonhole. */
  1375. + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
  1376. + {
  1377. + htab->nr_got_holes = MAX_NR_GOT_HOLES - 1;
  1378. +
  1379. + pr_debug("Limiting maximum number of GOT pigeonholes to %u\n",
  1380. + htab->nr_got_holes);
  1381. + }
  1382. + htab->got_hole = bfd_zalloc(output_bfd,
  1383. + sizeof(struct got_entry *)
  1384. + * (htab->nr_got_holes + 1));
  1385. + if (!htab->got_hole)
  1386. + return FALSE;
  1387. +
  1388. + /* Set up .got offsets for local syms. */
  1389. + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
  1390. + {
  1391. + struct got_entry **local_got;
  1392. + struct got_entry **end_local_got;
  1393. + Elf_Internal_Shdr *symtab_hdr;
  1394. + bfd_size_type locsymcount;
  1395. +
  1396. + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
  1397. +
  1398. + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
  1399. +
  1400. + local_got = elf_local_got_ents(ibfd);
  1401. + if (!local_got)
  1402. + continue;
  1403. +
  1404. + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
  1405. + locsymcount = symtab_hdr->sh_info;
  1406. + end_local_got = local_got + locsymcount;
  1407. +
  1408. + for (; local_got < end_local_got; ++local_got)
  1409. + insert_got_entry(htab, *local_got);
  1410. + }
  1411. + }
  1412. +
  1413. + /* Allocate global sym .got entries and space for global sym
  1414. + dynamic relocs */
  1415. + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
  1416. +
  1417. + /* Now that we have sorted the GOT entries, we are ready to
  1418. + assign offsets and determine the initial size of the GOT. */
  1419. + if (htab->sgot)
  1420. + assign_got_offsets(htab);
  1421. +
  1422. + /* Allocate space for local sym dynamic relocs */
  1423. + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
  1424. + if (htab->local_dynamic_relocs)
  1425. + htab->srelgot->size += (htab->local_dynamic_relocs
  1426. + * sizeof(Elf32_External_Rela));
  1427. +
  1428. + /* We now have determined the sizes of the various dynamic
  1429. + sections. Allocate memory for them. */
  1430. + relocs = FALSE;
  1431. + for (s = dynobj->sections; s; s = s->next)
  1432. + {
  1433. + if ((s->flags & SEC_LINKER_CREATED) == 0)
  1434. + continue;
  1435. +
  1436. + if (s == htab->sgot
  1437. + || s == htab->sstub)
  1438. + {
  1439. + /* Strip this section if we don't need it */
  1440. + }
  1441. + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
  1442. + {
  1443. + if (s->size != 0)
  1444. + relocs = TRUE;
  1445. +
  1446. + s->reloc_count = 0;
  1447. + }
  1448. + else
  1449. + {
  1450. + /* It's not one of our sections */
  1451. + continue;
  1452. + }
  1453. +
  1454. + if (s->size == 0)
  1455. + {
  1456. + /* Strip unneeded sections */
  1457. + pr_debug("Stripping section %s from output...\n", s->name);
  1458. + /* deleted function in 2.17
  1459. + _bfd_strip_section_from_output(info, s);
  1460. + */
  1461. + continue;
  1462. + }
  1463. +
  1464. + s->contents = bfd_zalloc(dynobj, s->size);
  1465. + if (s->contents == NULL)
  1466. + return FALSE;
  1467. + }
  1468. +
  1469. + if (htab->root.dynamic_sections_created)
  1470. + {
  1471. + /* Add some entries to the .dynamic section. We fill in the
  1472. + values later, in sh_elf_finish_dynamic_sections, but we
  1473. + must add the entries now so that we get the correct size for
  1474. + the .dynamic section. The DT_DEBUG entry is filled in by the
  1475. + dynamic linker and used by the debugger. */
  1476. +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
  1477. +
  1478. + if (!add_dynamic_entry(DT_PLTGOT, 0))
  1479. + return FALSE;
  1480. + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
  1481. + return FALSE;
  1482. +
  1483. + if (info->executable)
  1484. + {
  1485. + if (!add_dynamic_entry(DT_DEBUG, 0))
  1486. + return FALSE;
  1487. + }
  1488. + if (relocs)
  1489. + {
  1490. + if (!add_dynamic_entry(DT_RELA, 0)
  1491. + || !add_dynamic_entry(DT_RELASZ, 0)
  1492. + || !add_dynamic_entry(DT_RELAENT,
  1493. + sizeof(Elf32_External_Rela)))
  1494. + return FALSE;
  1495. + }
  1496. + }
  1497. +#undef add_dynamic_entry
  1498. +
  1499. + return TRUE;
  1500. +}
  1501. +
  1502. +
  1503. +/* Access to internal relocations, section contents and symbols.
  1504. + (stolen from the xtensa port) */
  1505. +
  1506. +static Elf_Internal_Rela *
  1507. +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
  1508. +static void
  1509. +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
  1510. +static void
  1511. +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
  1512. +static bfd_byte *
  1513. +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
  1514. +/*
  1515. +static void
  1516. +pin_contents (asection *sec, bfd_byte *contents);
  1517. +*/
  1518. +static void
  1519. +release_contents (asection *sec, bfd_byte *contents);
  1520. +static Elf_Internal_Sym *
  1521. +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
  1522. +/*
  1523. +static void
  1524. +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
  1525. +*/
  1526. +static void
  1527. +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
  1528. +
  1529. +/* During relaxation, we need to modify relocations, section contents,
  1530. + and symbol definitions, and we need to keep the original values from
  1531. + being reloaded from the input files, i.e., we need to "pin" the
  1532. + modified values in memory. We also want to continue to observe the
  1533. + setting of the "keep-memory" flag. The following functions wrap the
  1534. + standard BFD functions to take care of this for us. */
  1535. +
  1536. +static Elf_Internal_Rela *
  1537. +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
  1538. +{
  1539. + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
  1540. + to be clever here. */
  1541. + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
  1542. +}
  1543. +
  1544. +static void
  1545. +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
  1546. +{
  1547. + elf_section_data (sec)->relocs = internal_relocs;
  1548. +}
  1549. +
  1550. +static void
  1551. +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
  1552. +{
  1553. + if (internal_relocs
  1554. + && elf_section_data (sec)->relocs != internal_relocs)
  1555. + free (internal_relocs);
  1556. +}
  1557. +
  1558. +static bfd_byte *
  1559. +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
  1560. +{
  1561. + bfd_byte *contents;
  1562. + bfd_size_type sec_size;
  1563. +
  1564. + sec_size = bfd_get_section_limit (abfd, sec);
  1565. + contents = elf_section_data (sec)->this_hdr.contents;
  1566. +
  1567. + if (contents == NULL && sec_size != 0)
  1568. + {
  1569. + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
  1570. + {
  1571. + if (contents)
  1572. + free (contents);
  1573. + return NULL;
  1574. + }
  1575. + if (keep_memory)
  1576. + elf_section_data (sec)->this_hdr.contents = contents;
  1577. + }
  1578. + return contents;
  1579. +}
  1580. +
  1581. +/*
  1582. +static void
  1583. +pin_contents (asection *sec, bfd_byte *contents)
  1584. +{
  1585. + elf_section_data (sec)->this_hdr.contents = contents;
  1586. +}
  1587. +*/
  1588. +static void
  1589. +release_contents (asection *sec, bfd_byte *contents)
  1590. +{
  1591. + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
  1592. + free (contents);
  1593. +}
  1594. +
  1595. +static Elf_Internal_Sym *
  1596. +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
  1597. +{
  1598. + Elf_Internal_Shdr *symtab_hdr;
  1599. + Elf_Internal_Sym *isymbuf;
  1600. + size_t locsymcount;
  1601. +
  1602. + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
  1603. + locsymcount = symtab_hdr->sh_info;
  1604. +
  1605. + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
  1606. + if (isymbuf == NULL && locsymcount != 0)
  1607. + {
  1608. + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
  1609. + NULL, NULL, NULL);
  1610. + if (isymbuf && keep_memory)
  1611. + symtab_hdr->contents = (unsigned char *) isymbuf;
  1612. + }
  1613. +
  1614. + return isymbuf;
  1615. +}
  1616. +
  1617. +/*
  1618. +static void
  1619. +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
  1620. +{
  1621. + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
  1622. +}
  1623. +
  1624. +*/
  1625. +static void
  1626. +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
  1627. +{
  1628. + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
  1629. + != (unsigned char *)isymbuf))
  1630. + free (isymbuf);
  1631. +}
  1632. +
  1633. + /* Data structures used during relaxation. */
  1634. +
  1635. +enum relax_state_id {
  1636. + RS_ERROR = -1,
  1637. + RS_NONE = 0,
  1638. + RS_ALIGN,
  1639. + RS_CPENT,
  1640. + RS_PIC_CALL,
  1641. + RS_PIC_MCALL,
  1642. + RS_PIC_RCALL2,
  1643. + RS_PIC_RCALL1,
  1644. + RS_PIC_LDA,
  1645. + RS_PIC_LDW4,
  1646. + RS_PIC_LDW3,
  1647. + RS_PIC_SUB5,
  1648. + RS_NOPIC_MCALL,
  1649. + RS_NOPIC_RCALL2,
  1650. + RS_NOPIC_RCALL1,
  1651. + RS_NOPIC_LDW4,
  1652. + RS_NOPIC_LDDPC,
  1653. + RS_NOPIC_SUB5,
  1654. + RS_NOPIC_MOV2,
  1655. + RS_NOPIC_MOV1,
  1656. + RS_RCALL2,
  1657. + RS_RCALL1,
  1658. + RS_BRC2,
  1659. + RS_BRC1,
  1660. + RS_BRAL,
  1661. + RS_RJMP,
  1662. + RS_MAX,
  1663. +};
  1664. +
  1665. +enum reference_type {
  1666. + REF_ABSOLUTE,
  1667. + REF_PCREL,
  1668. + REF_CPOOL,
  1669. + REF_GOT,
  1670. +};
  1671. +
  1672. +struct relax_state
  1673. +{
  1674. + const char *name;
  1675. + enum relax_state_id id;
  1676. + enum relax_state_id direct;
  1677. + enum relax_state_id next;
  1678. + enum relax_state_id prev;
  1679. +
  1680. + enum reference_type reftype;
  1681. +
  1682. + unsigned int r_type;
  1683. +
  1684. + bfd_vma opcode;
  1685. + bfd_vma opcode_mask;
  1686. +
  1687. + bfd_signed_vma range_min;
  1688. + bfd_signed_vma range_max;
  1689. +
  1690. + bfd_size_type size;
  1691. +};
  1692. +
  1693. +/*
  1694. + * This is for relocs that
  1695. + * a) has an addend or is of type R_AVR32_DIFF32, and
  1696. + * b) references a different section than it's in, and
  1697. + * c) references a section that is relaxable
  1698. + *
  1699. + * as well as relocs that references the constant pool, in which case
  1700. + * the add_frag member points to the frag containing the constant pool
  1701. + * entry.
  1702. + *
  1703. + * Such relocs must be fixed up whenever we delete any code. Sections
  1704. + * that don't have any relocs with all of the above properties don't
  1705. + * have any additional reloc data, but sections that do will have
  1706. + * additional data for all its relocs.
  1707. + */
  1708. +struct avr32_reloc_data
  1709. +{
  1710. + struct fragment *add_frag;
  1711. + struct fragment *sub_frag;
  1712. +};
  1713. +
  1714. +/*
  1715. + * A 'fragment' is a relaxable entity, that is, code may be added or
  1716. + * deleted at the end of a fragment. When this happens, all subsequent
  1717. + * fragments in the list will have their offsets updated.
  1718. + */
  1719. +struct fragment
  1720. +{
  1721. + enum relax_state_id state;
  1722. + enum relax_state_id initial_state;
  1723. +
  1724. + Elf_Internal_Rela *rela;
  1725. + bfd_size_type size;
  1726. + bfd_vma offset;
  1727. + int size_adjust;
  1728. + int offset_adjust;
  1729. + bfd_boolean has_grown;
  1730. +
  1731. + /* Only used by constant pool entries. When this drops to zero, the
  1732. + frag is discarded (i.e. size_adjust is set to -4.) */
  1733. + int refcount;
  1734. +};
  1735. +
  1736. +struct avr32_relax_data
  1737. +{
  1738. + unsigned int frag_count;
  1739. + struct fragment *frag;
  1740. + struct avr32_reloc_data *reloc_data;
  1741. +
  1742. + /* TRUE if this section has one or more relaxable relocations */
  1743. + bfd_boolean is_relaxable;
  1744. + unsigned int iteration;
  1745. +};
  1746. +
  1747. +struct avr32_section_data
  1748. +{
  1749. + struct bfd_elf_section_data elf;
  1750. + struct avr32_relax_data relax_data;
  1751. +};
  1752. +
  1753. + /* Relax state definitions */
  1754. +
  1755. +#define PIC_MOV2_OPCODE 0xe0600000
  1756. +#define PIC_MOV2_MASK 0xe1e00000
  1757. +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
  1758. +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
  1759. +#define PIC_MCALL_OPCODE 0xf0160000
  1760. +#define PIC_MCALL_MASK 0xffff0000
  1761. +#define PIC_MCALL_RANGE_MIN (-131072)
  1762. +#define PIC_MCALL_RANGE_MAX (131068)
  1763. +#define RCALL2_OPCODE 0xe0a00000
  1764. +#define RCALL2_MASK 0xe1ef0000
  1765. +#define RCALL2_RANGE_MIN (-2097152)
  1766. +#define RCALL2_RANGE_MAX (2097150)
  1767. +#define RCALL1_OPCODE 0xc00c0000
  1768. +#define RCALL1_MASK 0xf00c0000
  1769. +#define RCALL1_RANGE_MIN (-1024)
  1770. +#define RCALL1_RANGE_MAX (1022)
  1771. +#define PIC_LDW4_OPCODE 0xecf00000
  1772. +#define PIC_LDW4_MASK 0xfff00000
  1773. +#define PIC_LDW4_RANGE_MIN (-32768)
  1774. +#define PIC_LDW4_RANGE_MAX (32767)
  1775. +#define PIC_LDW3_OPCODE 0x6c000000
  1776. +#define PIC_LDW3_MASK 0xfe000000
  1777. +#define PIC_LDW3_RANGE_MIN (0)
  1778. +#define PIC_LDW3_RANGE_MAX (124)
  1779. +#define SUB5_PC_OPCODE 0xfec00000
  1780. +#define SUB5_PC_MASK 0xfff00000
  1781. +#define SUB5_PC_RANGE_MIN (-32768)
  1782. +#define SUB5_PC_RANGE_MAX (32767)
  1783. +#define NOPIC_MCALL_OPCODE 0xf01f0000
  1784. +#define NOPIC_MCALL_MASK 0xffff0000
  1785. +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
  1786. +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
  1787. +#define NOPIC_LDW4_OPCODE 0xfef00000
  1788. +#define NOPIC_LDW4_MASK 0xfff00000
  1789. +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
  1790. +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
  1791. +#define LDDPC_OPCODE 0x48000000
  1792. +#define LDDPC_MASK 0xf8000000
  1793. +#define LDDPC_RANGE_MIN 0
  1794. +#define LDDPC_RANGE_MAX 508
  1795. +
  1796. +#define NOPIC_MOV2_OPCODE 0xe0600000
  1797. +#define NOPIC_MOV2_MASK 0xe1e00000
  1798. +#define NOPIC_MOV2_RANGE_MIN (-1048576)
  1799. +#define NOPIC_MOV2_RANGE_MAX (1048575)
  1800. +#define NOPIC_MOV1_OPCODE 0x30000000
  1801. +#define NOPIC_MOV1_MASK 0xf0000000
  1802. +#define NOPIC_MOV1_RANGE_MIN (-128)
  1803. +#define NOPIC_MOV1_RANGE_MAX (127)
  1804. +
  1805. +/* Only brc2 variants with cond[3] == 0 is considered, since the
  1806. + others are not relaxable. bral is a special case and is handled
  1807. + separately. */
  1808. +#define BRC2_OPCODE 0xe0800000
  1809. +#define BRC2_MASK 0xe1e80000
  1810. +#define BRC2_RANGE_MIN (-2097152)
  1811. +#define BRC2_RANGE_MAX (2097150)
  1812. +#define BRC1_OPCODE 0xc0000000
  1813. +#define BRC1_MASK 0xf0080000
  1814. +#define BRC1_RANGE_MIN (-256)
  1815. +#define BRC1_RANGE_MAX (254)
  1816. +#define BRAL_OPCODE 0xe08f0000
  1817. +#define BRAL_MASK 0xe1ef0000
  1818. +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
  1819. +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
  1820. +#define RJMP_OPCODE 0xc0080000
  1821. +#define RJMP_MASK 0xf00c0000
  1822. +#define RJMP_RANGE_MIN (-1024)
  1823. +#define RJMP_RANGE_MAX (1022)
  1824. +
  1825. +/* Define a relax state using the GOT */
  1826. +#define RG(id, dir, next, prev, r_type, opc, size) \
  1827. + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
  1828. + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
  1829. + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
  1830. +/* Define a relax state using the Constant Pool */
  1831. +#define RC(id, dir, next, prev, r_type, opc, size) \
  1832. + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
  1833. + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
  1834. + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
  1835. +
  1836. +/* Define a relax state using pc-relative direct reference */
  1837. +#define RP(id, dir, next, prev, r_type, opc, size) \
  1838. + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
  1839. + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
  1840. + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
  1841. +
  1842. +/* Define a relax state using non-pc-relative direct reference */
  1843. +#define RD(id, dir, next, prev, r_type, opc, size) \
  1844. + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_ABSOLUTE, \
  1845. + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
  1846. + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
  1847. +
  1848. +/* Define a relax state that will be handled specially */
  1849. +#define RS(id, r_type, size) \
  1850. + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
  1851. + R_AVR32_##r_type, 0, 0, 0, 0, size }
  1852. +
  1853. +const struct relax_state relax_state[RS_MAX] = {
  1854. + RS(NONE, NONE, 0),
  1855. + RS(ALIGN, ALIGN, 0),
  1856. + RS(CPENT, 32_CPENT, 4),
  1857. +
  1858. + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
  1859. + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
  1860. + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
  1861. + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
  1862. +
  1863. + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
  1864. + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
  1865. + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
  1866. + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
  1867. +
  1868. + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
  1869. + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
  1870. + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
  1871. +
  1872. + RC(NOPIC_LDW4, NOPIC_MOV1, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
  1873. + RC(NOPIC_LDDPC, NOPIC_MOV1, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
  1874. + RP(NOPIC_SUB5, NOPIC_MOV1, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
  1875. + RD(NOPIC_MOV2, NONE, NOPIC_MOV1, NOPIC_SUB5, 21S, NOPIC_MOV2, 4),
  1876. + RD(NOPIC_MOV1, NONE, NONE, NOPIC_MOV2, 8S, NOPIC_MOV1, 2),
  1877. +
  1878. + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
  1879. + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
  1880. + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
  1881. + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
  1882. + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
  1883. + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
  1884. +};
  1885. +
  1886. +static bfd_boolean
  1887. +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
  1888. +{
  1889. + struct avr32_section_data *sdata;
  1890. +
  1891. + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
  1892. + if (!sdata)
  1893. + return FALSE;
  1894. +
  1895. + sec->used_by_bfd = sdata;
  1896. + return _bfd_elf_new_section_hook(abfd, sec);
  1897. +}
  1898. +
  1899. +static struct avr32_relax_data *
  1900. +avr32_relax_data(asection *sec)
  1901. +{
  1902. + struct avr32_section_data *sdata;
  1903. +
  1904. + BFD_ASSERT(sec->used_by_bfd);
  1905. +
  1906. + sdata = (struct avr32_section_data *)elf_section_data(sec);
  1907. + return &sdata->relax_data;
  1908. +}
  1909. +
  1910. + /* Link-time relaxation */
  1911. +
  1912. +static bfd_boolean
  1913. +avr32_elf_relax_section(bfd *abfd, asection *sec,
  1914. + struct bfd_link_info *info, bfd_boolean *again);
  1915. +
  1916. +enum relax_pass_id {
  1917. + RELAX_PASS_SIZE_FRAGS,
  1918. + RELAX_PASS_MOVE_DATA,
  1919. +};
  1920. +
  1921. +/* Stolen from the xtensa port */
  1922. +static int
  1923. +internal_reloc_compare (const void *ap, const void *bp)
  1924. +{
  1925. + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
  1926. + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
  1927. +
  1928. + if (a->r_offset != b->r_offset)
  1929. + return (a->r_offset - b->r_offset);
  1930. +
  1931. + /* We don't need to sort on these criteria for correctness,
  1932. + but enforcing a more strict ordering prevents unstable qsort
  1933. + from behaving differently with different implementations.
  1934. + Without the code below we get correct but different results
  1935. + on Solaris 2.7 and 2.8. We would like to always produce the
  1936. + same results no matter the host. */
  1937. +
  1938. + if (a->r_info != b->r_info)
  1939. + return (a->r_info - b->r_info);
  1940. +
  1941. + return (a->r_addend - b->r_addend);
  1942. +}
  1943. +
  1944. +static enum relax_state_id
  1945. +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
  1946. + const Elf_Internal_Rela *rela)
  1947. +{
  1948. + bfd_byte *contents;
  1949. + bfd_vma insn;
  1950. + enum relax_state_id rs = RS_NONE;
  1951. +
  1952. + contents = retrieve_contents(abfd, sec, info->keep_memory);
  1953. + if (!contents)
  1954. + return RS_ERROR;
  1955. +
  1956. + insn = bfd_get_32(abfd, contents + rela->r_offset);
  1957. + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
  1958. + rs = RS_RCALL2;
  1959. + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
  1960. + /* Optimizing bral -> rjmp gets us into all kinds of
  1961. + trouble with jump tables. Better not do it. */
  1962. + rs = RS_NONE;
  1963. + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
  1964. + rs = RS_BRC2;
  1965. +
  1966. + release_contents(sec, contents);
  1967. +
  1968. + return rs;
  1969. +}
  1970. +
  1971. +static enum relax_state_id
  1972. +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
  1973. + const Elf_Internal_Rela *rela)
  1974. +{
  1975. + switch (ELF_R_TYPE(rela->r_info))
  1976. + {
  1977. + case R_AVR32_GOTCALL:
  1978. + return RS_PIC_CALL;
  1979. + case R_AVR32_GOT18SW:
  1980. + return RS_PIC_MCALL;
  1981. + case R_AVR32_LDA_GOT:
  1982. + return RS_PIC_LDA;
  1983. + case R_AVR32_GOT16S:
  1984. + return RS_PIC_LDW4;
  1985. + case R_AVR32_CPCALL:
  1986. + return RS_NOPIC_MCALL;
  1987. + case R_AVR32_16_CP:
  1988. + return RS_NOPIC_LDW4;
  1989. + case R_AVR32_9W_CP:
  1990. + return RS_NOPIC_LDDPC;
  1991. + case R_AVR32_ALIGN:
  1992. + return RS_ALIGN;
  1993. + case R_AVR32_32_CPENT:
  1994. + return RS_CPENT;
  1995. + case R_AVR32_22H_PCREL:
  1996. + return get_pcrel22_relax_state(abfd, sec, info, rela);
  1997. + case R_AVR32_9H_PCREL:
  1998. + return RS_BRC1;
  1999. + default:
  2000. + return RS_NONE;
  2001. + }
  2002. +}
  2003. +
  2004. +static bfd_boolean
  2005. +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
  2006. +{
  2007. + switch (ELF_R_TYPE(rela->r_info))
  2008. + {
  2009. + case R_AVR32_CPCALL:
  2010. + case R_AVR32_16_CP:
  2011. + case R_AVR32_9W_CP:
  2012. + return TRUE;
  2013. + default:
  2014. + return FALSE;
  2015. + }
  2016. +}
  2017. +
  2018. +static struct fragment *
  2019. +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
  2020. + struct avr32_relax_data *rd, enum relax_state_id state,
  2021. + Elf_Internal_Rela *rela)
  2022. +{
  2023. + struct fragment *frag;
  2024. + bfd_size_type r_size;
  2025. + bfd_vma r_offset;
  2026. + unsigned int i = rd->frag_count;
  2027. +
  2028. + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
  2029. +
  2030. + rd->frag_count++;
  2031. + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
  2032. + if (!frag)
  2033. + return NULL;
  2034. + rd->frag = frag;
  2035. +
  2036. + frag += i;
  2037. + memset(frag, 0, sizeof(struct fragment));
  2038. +
  2039. + if (state == RS_ALIGN)
  2040. + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
  2041. + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
  2042. + else
  2043. + r_size = relax_state[state].size;
  2044. +
  2045. + if (rela)
  2046. + r_offset = rela->r_offset;
  2047. + else
  2048. + r_offset = sec->size;
  2049. +
  2050. + if (i == 0)
  2051. + {
  2052. + frag->offset = 0;
  2053. + frag->size = r_offset + r_size;
  2054. + }
  2055. + else
  2056. + {
  2057. + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
  2058. + frag->size = r_offset + r_size - frag->offset;
  2059. + }
  2060. +
  2061. + if (state != RS_CPENT)
  2062. + /* Make sure we don't discard this frag */
  2063. + frag->refcount = 1;
  2064. +
  2065. + frag->initial_state = frag->state = state;
  2066. + frag->rela = rela;
  2067. +
  2068. + return frag;
  2069. +}
  2070. +
  2071. +static struct fragment *
  2072. +find_frag(asection *sec, bfd_vma offset)
  2073. +{
  2074. + struct fragment *first, *last;
  2075. + struct avr32_relax_data *rd = avr32_relax_data(sec);
  2076. +
  2077. + if (rd->frag_count == 0)
  2078. + return NULL;
  2079. +
  2080. + first = &rd->frag[0];
  2081. + last = &rd->frag[rd->frag_count - 1];
  2082. +
  2083. + /* This may be a reloc referencing the end of a section. The last
  2084. + frag will never have a reloc associated with it, so its size will
  2085. + never change, thus the offset adjustment of the last frag will
  2086. + always be the same as the offset adjustment of the end of the
  2087. + section. */
  2088. + if (offset == sec->size)
  2089. + {
  2090. + BFD_ASSERT(last->offset + last->size == sec->size);
  2091. + BFD_ASSERT(!last->rela);
  2092. + return last;
  2093. + }
  2094. +
  2095. + while (first <= last)
  2096. + {
  2097. + struct fragment *mid;
  2098. +
  2099. + mid = (last - first) / 2 + first;
  2100. + if ((mid->offset + mid->size) <= offset)
  2101. + first = mid + 1;
  2102. + else if (mid->offset > offset)
  2103. + last = mid - 1;
  2104. + else
  2105. + return mid;
  2106. + }
  2107. +
  2108. + return NULL;
  2109. +}
  2110. +
  2111. +/* Look through all relocs in a section and determine if any relocs
  2112. + may be affected by relaxation in other sections. If so, allocate
  2113. + an array of additional relocation data which links the affected
  2114. + relocations to the frag(s) where the relaxation may occur.
  2115. +
  2116. + This function also links cpool references to cpool entries and
  2117. + increments the refcount of the latter when this happens. */
  2118. +
  2119. +static bfd_boolean
  2120. +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
  2121. + struct bfd_link_info *info)
  2122. +{
  2123. + Elf_Internal_Shdr *symtab_hdr;
  2124. + Elf_Internal_Sym *isymbuf = NULL;
  2125. + struct avr32_relax_data *rd;
  2126. + unsigned int i;
  2127. + bfd_boolean ret = FALSE;
  2128. +
  2129. + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
  2130. + rd = avr32_relax_data(sec);
  2131. +
  2132. + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
  2133. +
  2134. + for (i = 0; i < sec->reloc_count; i++)
  2135. + {
  2136. + Elf_Internal_Rela *rel = &relocs[i];
  2137. + asection *sym_sec;
  2138. + unsigned long r_symndx;
  2139. + bfd_vma sym_value;
  2140. +
  2141. + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
  2142. + && !reloc_is_cpool_ref(rel))
  2143. + continue;
  2144. +
  2145. + r_symndx = ELF_R_SYM(rel->r_info);
  2146. +
  2147. + if (r_symndx < symtab_hdr->sh_info)
  2148. + {
  2149. + Elf_Internal_Sym *isym;
  2150. +
  2151. + if (!isymbuf)
  2152. + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
  2153. + if (!isymbuf)
  2154. + return FALSE;
  2155. +
  2156. + isym = &isymbuf[r_symndx];
  2157. + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
  2158. + sym_value = isym->st_value;
  2159. + }
  2160. + else
  2161. + {
  2162. + struct elf_link_hash_entry *h;
  2163. +
  2164. + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
  2165. +
  2166. + while (h->root.type == bfd_link_hash_indirect
  2167. + || h->root.type == bfd_link_hash_warning)
  2168. + h = (struct elf_link_hash_entry *)h->root.u.i.link;
  2169. +
  2170. + if (h->root.type != bfd_link_hash_defined
  2171. + && h->root.type != bfd_link_hash_defweak)
  2172. + continue;
  2173. +
  2174. + sym_sec = h->root.u.def.section;
  2175. + sym_value = h->root.u.def.value;
  2176. + }
  2177. +
  2178. + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
  2179. + {
  2180. + bfd_size_type size;
  2181. + struct fragment *frag;
  2182. +
  2183. + if (!rd->reloc_data)
  2184. + {
  2185. + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
  2186. + rd->reloc_data = bfd_zalloc(abfd, size);
  2187. + if (!rd->reloc_data)
  2188. + goto out;
  2189. + }
  2190. +
  2191. + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
  2192. + i, rel->r_offset, sym_value, rel->r_addend);
  2193. +
  2194. + frag = find_frag(sym_sec, sym_value + rel->r_addend);
  2195. + BFD_ASSERT(frag);
  2196. + rd->reloc_data[i].add_frag = frag;
  2197. +
  2198. + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
  2199. + frag->rela ? frag->rela->r_offset : sym_sec->size);
  2200. +
  2201. + if (reloc_is_cpool_ref(rel))
  2202. + {
  2203. + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
  2204. + frag->refcount++;
  2205. + }
  2206. +
  2207. + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
  2208. + {
  2209. + bfd_byte *contents;
  2210. + bfd_signed_vma diff;
  2211. +
  2212. + contents = retrieve_contents(abfd, sec, info->keep_memory);
  2213. + if (!contents)
  2214. + goto out;
  2215. +
  2216. + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
  2217. + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
  2218. + BFD_ASSERT(frag);
  2219. + rd->reloc_data[i].sub_frag = frag;
  2220. +
  2221. + release_contents(sec, contents);
  2222. + }
  2223. + }
  2224. + }
  2225. +
  2226. + ret = TRUE;
  2227. +
  2228. + out:
  2229. + release_local_syms(abfd, isymbuf);
  2230. + return ret;
  2231. +}
  2232. +
  2233. +static bfd_boolean
  2234. +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
  2235. + struct bfd_link_info *info ATTRIBUTE_UNUSED)
  2236. +{
  2237. + struct fragment *frag;
  2238. + asection *sec;
  2239. +
  2240. + if (havr->root.root.type != bfd_link_hash_defined
  2241. + && havr->root.root.type != bfd_link_hash_defweak)
  2242. + return TRUE;
  2243. +
  2244. + sec = havr->root.root.u.def.section;
  2245. + if (bfd_is_const_section(sec)
  2246. + || !avr32_relax_data(sec)->is_relaxable)
  2247. + return TRUE;
  2248. +
  2249. + frag = find_frag(sec, havr->root.root.u.def.value);
  2250. + if (!frag)
  2251. + {
  2252. + unsigned int i;
  2253. + struct avr32_relax_data *rd = avr32_relax_data(sec);
  2254. +
  2255. + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
  2256. + sec->owner->filename, havr->root.root.root.string,
  2257. + sec->name, havr->root.root.u.def.value, sec->size);
  2258. + for (i = 0; i < rd->frag_count; i++)
  2259. + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
  2260. + rd->frag[i].offset + rd->frag[i].size);
  2261. + }
  2262. + BFD_ASSERT(frag);
  2263. +
  2264. + havr->sym_frag = frag;
  2265. + return TRUE;
  2266. +}
  2267. +
  2268. +static bfd_boolean
  2269. +analyze_relocations(struct bfd_link_info *info)
  2270. +{
  2271. + bfd *abfd;
  2272. + asection *sec;
  2273. +
  2274. + /* Divide all relaxable sections into fragments */
  2275. + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
  2276. + {
  2277. + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
  2278. + {
  2279. + if (!(*info->callbacks->warning)
  2280. + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
  2281. + return FALSE;
  2282. + continue;
  2283. + }
  2284. +
  2285. + for (sec = abfd->sections; sec; sec = sec->next)
  2286. + {
  2287. + struct avr32_relax_data *rd;
  2288. + struct fragment *frag;
  2289. + Elf_Internal_Rela *relocs;
  2290. + unsigned int i;
  2291. + bfd_boolean ret = TRUE;
  2292. +
  2293. + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
  2294. + continue;
  2295. +
  2296. + rd = avr32_relax_data(sec);
  2297. +
  2298. + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
  2299. + if (!relocs)
  2300. + return FALSE;
  2301. +
  2302. + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
  2303. + internal_reloc_compare);
  2304. +
  2305. + for (i = 0; i < sec->reloc_count; i++)
  2306. + {
  2307. + enum relax_state_id state;
  2308. +
  2309. + ret = FALSE;
  2310. + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
  2311. + if (state == RS_ERROR)
  2312. + break;
  2313. +
  2314. + if (state)
  2315. + {
  2316. + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
  2317. + if (!frag)
  2318. + break;
  2319. +
  2320. + pin_internal_relocs(sec, relocs);
  2321. + rd->is_relaxable = TRUE;
  2322. + }
  2323. +
  2324. + ret = TRUE;
  2325. + }
  2326. +
  2327. + release_internal_relocs(sec, relocs);
  2328. + if (!ret)
  2329. + return ret;
  2330. +
  2331. + if (rd->is_relaxable)
  2332. + {
  2333. + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
  2334. + if (!frag)
  2335. + return FALSE;
  2336. + }
  2337. + }
  2338. + }
  2339. +
  2340. + /* Link each global symbol to the fragment where it's defined. */
  2341. + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
  2342. +
  2343. + /* Do the same for local symbols. */
  2344. + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
  2345. + {
  2346. + Elf_Internal_Sym *isymbuf, *isym;
  2347. + struct fragment **local_sym_frag;
  2348. + unsigned int i, sym_count;
  2349. +
  2350. + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
  2351. + if (sym_count == 0)
  2352. + continue;
  2353. +
  2354. + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
  2355. + if (!local_sym_frag)
  2356. + return FALSE;
  2357. + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
  2358. +
  2359. + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
  2360. + if (!isymbuf)
  2361. + return FALSE;
  2362. +
  2363. + for (i = 0; i < sym_count; i++)
  2364. + {
  2365. + struct avr32_relax_data *rd;
  2366. + struct fragment *frag;
  2367. + asection *sec;
  2368. +
  2369. + isym = &isymbuf[i];
  2370. +
  2371. + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
  2372. + if (!sec)
  2373. + continue;
  2374. +
  2375. + rd = avr32_relax_data(sec);
  2376. + if (!rd->is_relaxable)
  2377. + continue;
  2378. +
  2379. + frag = find_frag(sec, isym->st_value);
  2380. + BFD_ASSERT(frag);
  2381. +
  2382. + local_sym_frag[i] = frag;
  2383. + }
  2384. +
  2385. + release_local_syms(abfd, isymbuf);
  2386. + }
  2387. +
  2388. + /* And again for relocs with addends and constant pool references */
  2389. + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
  2390. + for (sec = abfd->sections; sec; sec = sec->next)
  2391. + {
  2392. + Elf_Internal_Rela *relocs;
  2393. + bfd_boolean ret;
  2394. +
  2395. + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
  2396. + continue;
  2397. +
  2398. + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
  2399. + if (!relocs)
  2400. + return FALSE;
  2401. +
  2402. + ret = allocate_reloc_data(abfd, sec, relocs, info);
  2403. +
  2404. + release_internal_relocs(sec, relocs);
  2405. + if (ret == FALSE)
  2406. + return ret;
  2407. + }
  2408. +
  2409. + return TRUE;
  2410. +}
  2411. +
  2412. +static bfd_boolean
  2413. +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
  2414. + bfd_vma symval, bfd_vma addr, struct got_entry *got,
  2415. + struct avr32_reloc_data *ind_data,
  2416. + bfd_signed_vma offset_adjust)
  2417. +{
  2418. + bfd_signed_vma target = 0;
  2419. +
  2420. + switch (rs->reftype)
  2421. + {
  2422. + case REF_ABSOLUTE:
  2423. + target = symval;
  2424. + break;
  2425. + case REF_PCREL:
  2426. + target = symval - addr;
  2427. + break;
  2428. + case REF_CPOOL:
  2429. + /* cpool frags are always in the same section and always after
  2430. + all frags referring to it. So it's always correct to add in
  2431. + offset_adjust here. */
  2432. + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
  2433. + + offset_adjust - frag->offset - frag->offset_adjust);
  2434. + break;
  2435. + case REF_GOT:
  2436. + target = got->offset;
  2437. + break;
  2438. + default:
  2439. + abort();
  2440. + }
  2441. +
  2442. + if (target >= rs->range_min && target <= rs->range_max)
  2443. + return TRUE;
  2444. + else
  2445. + return FALSE;
  2446. +}
  2447. +
  2448. +static bfd_boolean
  2449. +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
  2450. +{
  2451. + struct elf_avr32_link_hash_table *htab;
  2452. + struct avr32_relax_data *rd;
  2453. + Elf_Internal_Shdr *symtab_hdr;
  2454. + Elf_Internal_Rela *relocs = NULL;
  2455. + Elf_Internal_Sym *isymbuf = NULL;
  2456. + struct got_entry **local_got_ents;
  2457. + struct fragment **local_sym_frag;
  2458. + bfd_boolean ret = FALSE;
  2459. + bfd_signed_vma delta = 0;
  2460. + unsigned int i;
  2461. +
  2462. + htab = avr32_elf_hash_table(info);
  2463. + rd = avr32_relax_data(sec);
  2464. +
  2465. + if (sec == htab->sgot)
  2466. + {
  2467. + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
  2468. + sec->output_section->vma + sec->output_offset);
  2469. + if (assign_got_offsets(htab))
  2470. + htab->repeat_pass = TRUE;
  2471. + return TRUE;
  2472. + }
  2473. +
  2474. + if (!rd->is_relaxable)
  2475. + return TRUE;
  2476. +
  2477. + if (!sec->rawsize)
  2478. + sec->rawsize = sec->size;
  2479. +
  2480. + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
  2481. + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
  2482. + if (!relocs)
  2483. + goto out;
  2484. +
  2485. + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
  2486. + if (!isymbuf)
  2487. + goto out;
  2488. +
  2489. + local_got_ents = elf_local_got_ents(abfd);
  2490. + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
  2491. +
  2492. + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
  2493. + abfd->filename, sec->name,
  2494. + sec->output_section->vma + sec->output_offset, sec->size);
  2495. +
  2496. + for (i = 0; i < rd->frag_count; i++)
  2497. + {
  2498. + struct fragment *frag = &rd->frag[i];
  2499. + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
  2500. + const struct relax_state *state, *next_state;
  2501. + struct fragment *target_frag = NULL;
  2502. + asection *sym_sec = NULL;
  2503. + Elf_Internal_Rela *rela;
  2504. + struct got_entry *got;
  2505. + bfd_vma symval, r_offset, addend, addr;
  2506. + bfd_signed_vma size_adjust = 0, distance;
  2507. + unsigned long r_symndx;
  2508. + bfd_boolean defined = TRUE, dynamic = FALSE;
  2509. + unsigned char sym_type;
  2510. +
  2511. + frag->offset_adjust += delta;
  2512. + state = next_state = &relax_state[frag->state];
  2513. + rela = frag->rela;
  2514. +
  2515. + BFD_ASSERT(state->id == frag->state);
  2516. +
  2517. + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
  2518. + (frag->offset_adjust < 0)?'-':'+',
  2519. + abs(frag->offset_adjust), state->name, state->size);
  2520. +
  2521. + if (!rela)
  2522. + {
  2523. + RDBG(": no reloc, ignoring\n");
  2524. + continue;
  2525. + }
  2526. +
  2527. + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
  2528. + BFD_ASSERT(state != RS_NONE);
  2529. +
  2530. + r_offset = rela->r_offset + frag->offset_adjust;
  2531. + addr = sec->output_section->vma + sec->output_offset + r_offset;
  2532. +
  2533. + switch (frag->state)
  2534. + {
  2535. + case RS_ALIGN:
  2536. + size_adjust = ((addr + (1 << rela->r_addend) - 1)
  2537. + & ~((1 << rela->r_addend) - 1));
  2538. + size_adjust -= (sec->output_section->vma + sec->output_offset
  2539. + + frag->offset + frag->offset_adjust
  2540. + + frag->size + frag->size_adjust);
  2541. +
  2542. + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
  2543. + frag->size + frag->size_adjust + size_adjust);
  2544. + break;
  2545. +
  2546. + case RS_CPENT:
  2547. + if (frag->refcount == 0 && frag->size_adjust == 0)
  2548. + {
  2549. + RDBG(": discarding frag\n");
  2550. + size_adjust = -4;
  2551. + }
  2552. + else if (frag->refcount > 0 && frag->size_adjust < 0)
  2553. + {
  2554. + RDBG(": un-discarding frag\n");
  2555. + size_adjust = 4;
  2556. + }
  2557. + break;
  2558. +
  2559. + default:
  2560. + if (rd->reloc_data)
  2561. + r_data = &rd->reloc_data[frag->rela - relocs];
  2562. +
  2563. + /* If this is a cpool reference, we want the symbol that the
  2564. + cpool entry refers to, not the symbol for the cpool entry
  2565. + itself, as we already know what frag it's in. */
  2566. + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
  2567. + {
  2568. + Elf_Internal_Rela *irela = r_data->add_frag->rela;
  2569. +
  2570. + r_symndx = ELF_R_SYM(irela->r_info);
  2571. + addend = irela->r_addend;
  2572. +
  2573. + /* The constant pool must be in the same section as the
  2574. + reloc referring to it. */
  2575. + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
  2576. +
  2577. + ind_data = r_data;
  2578. + r_data = &rd->reloc_data[irela - relocs];
  2579. + }
  2580. + else
  2581. + {
  2582. + r_symndx = ELF_R_SYM(rela->r_info);
  2583. + addend = rela->r_addend;
  2584. + }
  2585. +
  2586. + /* Get the value of the symbol referred to by the reloc. */
  2587. + if (r_symndx < symtab_hdr->sh_info)
  2588. + {
  2589. + Elf_Internal_Sym *isym;
  2590. +
  2591. + isym = isymbuf + r_symndx;
  2592. + symval = 0;
  2593. +
  2594. + RDBG(" local sym %lu: ", r_symndx);
  2595. +
  2596. + if (isym->st_shndx == SHN_UNDEF)
  2597. + defined = FALSE;
  2598. + else if (isym->st_shndx == SHN_ABS)
  2599. + sym_sec = bfd_abs_section_ptr;
  2600. + else if (isym->st_shndx == SHN_COMMON)
  2601. + sym_sec = bfd_com_section_ptr;
  2602. + else
  2603. + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
  2604. +
  2605. + symval = isym->st_value;
  2606. + sym_type = ELF_ST_TYPE(isym->st_info);
  2607. + target_frag = local_sym_frag[r_symndx];
  2608. +
  2609. + if (local_got_ents)
  2610. + got = local_got_ents[r_symndx];
  2611. + else
  2612. + got = NULL;
  2613. + }
  2614. + else
  2615. + {
  2616. + /* Global symbol */
  2617. + unsigned long index;
  2618. + struct elf_link_hash_entry *h;
  2619. + struct elf_avr32_link_hash_entry *havr;
  2620. +
  2621. + index = r_symndx - symtab_hdr->sh_info;
  2622. + h = elf_sym_hashes(abfd)[index];
  2623. + BFD_ASSERT(h != NULL);
  2624. +
  2625. + while (h->root.type == bfd_link_hash_indirect
  2626. + || h->root.type == bfd_link_hash_warning)
  2627. + h = (struct elf_link_hash_entry *)h->root.u.i.link;
  2628. +
  2629. + havr = (struct elf_avr32_link_hash_entry *)h;
  2630. + got = h->got.glist;
  2631. +
  2632. + symval = 0;
  2633. +
  2634. + RDBG(" %s: ", h->root.root.string);
  2635. +
  2636. + if (h->root.type != bfd_link_hash_defined
  2637. + && h->root.type != bfd_link_hash_defweak)
  2638. + {
  2639. + RDBG("(undef)");
  2640. + defined = FALSE;
  2641. + }
  2642. + else if ((info->shared && !info->symbolic && h->dynindx != -1)
  2643. + || (htab->root.dynamic_sections_created
  2644. + && h->def_dynamic && !h->def_regular))
  2645. + {
  2646. + RDBG("(dynamic)");
  2647. + dynamic = TRUE;
  2648. + sym_sec = h->root.u.def.section;
  2649. + }
  2650. + else
  2651. + {
  2652. + sym_sec = h->root.u.def.section;
  2653. + symval = h->root.u.def.value;
  2654. + target_frag = havr->sym_frag;
  2655. + }
  2656. +
  2657. + sym_type = h->type;
  2658. + }
  2659. +
  2660. + /* Thanks to elf32-ppc for this one. */
  2661. + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
  2662. + {
  2663. + /* At this stage in linking, no SEC_MERGE symbol has been
  2664. + adjusted, so all references to such symbols need to be
  2665. + passed through _bfd_merged_section_offset. (Later, in
  2666. + relocate_section, all SEC_MERGE symbols *except* for
  2667. + section symbols have been adjusted.)
  2668. +
  2669. + SEC_MERGE sections are not relaxed by us, as they
  2670. + shouldn't contain any code. */
  2671. +
  2672. + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
  2673. +
  2674. + /* gas may reduce relocations against symbols in SEC_MERGE
  2675. + sections to a relocation against the section symbol when
  2676. + the original addend was zero. When the reloc is against
  2677. + a section symbol we should include the addend in the
  2678. + offset passed to _bfd_merged_section_offset, since the
  2679. + location of interest is the original symbol. On the
  2680. + other hand, an access to "sym+addend" where "sym" is not
  2681. + a section symbol should not include the addend; Such an
  2682. + access is presumed to be an offset from "sym"; The
  2683. + location of interest is just "sym". */
  2684. + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
  2685. + (sym_type == STT_SECTION)?"section":"not section",
  2686. + sym_sec->output_section->vma + sym_sec->output_offset,
  2687. + symval, addend);
  2688. +
  2689. + if (sym_type == STT_SECTION)
  2690. + symval += addend;
  2691. +
  2692. + symval = (_bfd_merged_section_offset
  2693. + (abfd, &sym_sec,
  2694. + elf_section_data(sym_sec)->sec_info, symval));
  2695. +
  2696. + if (sym_type != STT_SECTION)
  2697. + symval += addend;
  2698. + }
  2699. + else
  2700. + symval += addend;
  2701. +
  2702. + if (defined && !dynamic)
  2703. + {
  2704. + RDBG("0x%lx+0x%lx",
  2705. + sym_sec->output_section->vma + sym_sec->output_offset,
  2706. + symval);
  2707. + symval += sym_sec->output_section->vma + sym_sec->output_offset;
  2708. + }
  2709. +
  2710. + if (r_data && r_data->add_frag)
  2711. + /* If the add_frag pointer is set, it means that this reloc
  2712. + has an addend that may be affected by relaxation. */
  2713. + target_frag = r_data->add_frag;
  2714. +
  2715. + if (target_frag)
  2716. + {
  2717. + symval += target_frag->offset_adjust;
  2718. +
  2719. + /* If target_frag comes after this frag in the same
  2720. + section, we should assume that it will be moved by
  2721. + the same amount we are. */
  2722. + if ((target_frag - rd->frag) < (int)rd->frag_count
  2723. + && target_frag > frag)
  2724. + symval += delta;
  2725. + }
  2726. +
  2727. + distance = symval - addr;
  2728. +
  2729. + /* First, try to make a direct reference. If the symbol is
  2730. + dynamic or undefined, we must take care not to change its
  2731. + reference type, that is, we can't make it direct.
  2732. +
  2733. + Also, it seems like some sections may actually be resized
  2734. + after the relaxation code is done, so we can't really
  2735. + trust that our "distance" is correct. There's really no
  2736. + easy solution to this problem, so we'll just disallow
  2737. + direct references to SEC_DATA sections.
  2738. +
  2739. + Oh, and .bss isn't actually SEC_DATA, so we disallow
  2740. + !SEC_HAS_CONTENTS as well. */
  2741. + if (!dynamic && defined
  2742. + && (htab->direct_data_refs
  2743. + || (!(sym_sec->flags & SEC_DATA)
  2744. + && (sym_sec->flags & SEC_HAS_CONTENTS)))
  2745. + && next_state->direct)
  2746. + {
  2747. + next_state = &relax_state[next_state->direct];
  2748. + RDBG(" D-> %s", next_state->name);
  2749. + }
  2750. +
  2751. + /* Iterate backwards until we find a state that fits. */
  2752. + while (next_state->prev
  2753. + && !rs_is_good_enough(next_state, frag, symval, addr,
  2754. + got, ind_data, delta))
  2755. + {
  2756. + next_state = &relax_state[next_state->prev];
  2757. + RDBG(" P-> %s", next_state->name);
  2758. + }
  2759. +
  2760. + /* Then try to find the best possible state. */
  2761. + while (next_state->next)
  2762. + {
  2763. + const struct relax_state *candidate;
  2764. +
  2765. + candidate = &relax_state[next_state->next];
  2766. + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
  2767. + ind_data, delta))
  2768. + break;
  2769. +
  2770. + next_state = candidate;
  2771. + RDBG(" N-> %s", next_state->name);
  2772. + }
  2773. +
  2774. + RDBG(" [size %ld]\n", next_state->size);
  2775. +
  2776. + BFD_ASSERT(next_state->id);
  2777. + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
  2778. +
  2779. + size_adjust = next_state->size - state->size;
  2780. +
  2781. + /* There's a theoretical possibility that shrinking one frag
  2782. + may cause another to grow, which may cause the first one to
  2783. + grow as well, and we're back where we started. Avoid this
  2784. + scenario by disallowing a frag that has grown to ever
  2785. + shrink again. */
  2786. + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
  2787. + {
  2788. + if (frag->has_grown)
  2789. + next_state = state;
  2790. + else
  2791. + unref_got_entry(htab, got);
  2792. + }
  2793. + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
  2794. + {
  2795. + ref_got_entry(htab, got);
  2796. + frag->has_grown = TRUE;
  2797. + }
  2798. + else if (state->reftype == REF_CPOOL
  2799. + && next_state->reftype != REF_CPOOL)
  2800. + {
  2801. + if (frag->has_grown)
  2802. + next_state = state;
  2803. + else
  2804. + ind_data->add_frag->refcount--;
  2805. + }
  2806. + else if (state->reftype != REF_CPOOL
  2807. + && next_state->reftype == REF_CPOOL)
  2808. + {
  2809. + ind_data->add_frag->refcount++;
  2810. + frag->has_grown = TRUE;
  2811. + }
  2812. + else
  2813. + {
  2814. + if (frag->has_grown && size_adjust < 0)
  2815. + next_state = state;
  2816. + else if (size_adjust > 0)
  2817. + frag->has_grown = TRUE;
  2818. + }
  2819. +
  2820. + size_adjust = next_state->size - state->size;
  2821. + frag->state = next_state->id;
  2822. +
  2823. + break;
  2824. + }
  2825. +
  2826. + if (size_adjust)
  2827. + htab->repeat_pass = TRUE;
  2828. +
  2829. + frag->size_adjust += size_adjust;
  2830. + sec->size += size_adjust;
  2831. + delta += size_adjust;
  2832. +
  2833. + BFD_ASSERT((frag->offset + frag->offset_adjust
  2834. + + frag->size + frag->size_adjust)
  2835. + == (frag[1].offset + frag[1].offset_adjust + delta));
  2836. + }
  2837. +
  2838. + ret = TRUE;
  2839. +
  2840. + out:
  2841. + release_local_syms(abfd, isymbuf);
  2842. + release_internal_relocs(sec, relocs);
  2843. + return ret;
  2844. +}
  2845. +
  2846. +static bfd_boolean
  2847. +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
  2848. + struct bfd_link_info *info ATTRIBUTE_UNUSED)
  2849. +{
  2850. + struct elf_link_hash_entry *h = &havr->root;
  2851. +
  2852. + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
  2853. + || h->root.type == bfd_link_hash_defweak))
  2854. + {
  2855. + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
  2856. + h->root.root.string, h->root.u.def.value,
  2857. + h->root.u.def.value + havr->sym_frag->offset_adjust);
  2858. + h->root.u.def.value += havr->sym_frag->offset_adjust;
  2859. + }
  2860. + return TRUE;
  2861. +}
  2862. +
  2863. +static bfd_boolean
  2864. +adjust_syms(struct bfd_link_info *info)
  2865. +{
  2866. + struct elf_avr32_link_hash_table *htab;
  2867. + bfd *abfd;
  2868. +
  2869. + htab = avr32_elf_hash_table(info);
  2870. + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
  2871. +
  2872. + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
  2873. + {
  2874. + Elf_Internal_Sym *isymbuf;
  2875. + struct fragment **local_sym_frag, *frag;
  2876. + unsigned int i, sym_count;
  2877. +
  2878. + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
  2879. + if (sym_count == 0)
  2880. + continue;
  2881. +
  2882. + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
  2883. + if (!isymbuf)
  2884. + return FALSE;
  2885. +
  2886. + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
  2887. +
  2888. + for (i = 0; i < sym_count; i++)
  2889. + {
  2890. + frag = local_sym_frag[i];
  2891. + if (frag)
  2892. + {
  2893. + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
  2894. + abfd->filename, i, isymbuf[i].st_value,
  2895. + isymbuf[i].st_value + frag->offset_adjust);
  2896. + isymbuf[i].st_value += frag->offset_adjust;
  2897. + }
  2898. + }
  2899. +
  2900. + release_local_syms(abfd, isymbuf);
  2901. + }
  2902. +
  2903. + htab->symbols_adjusted = TRUE;
  2904. + return TRUE;
  2905. +}
  2906. +
  2907. +static bfd_boolean
  2908. +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
  2909. +{
  2910. + struct avr32_relax_data *rd;
  2911. + Elf_Internal_Rela *relocs;
  2912. + Elf_Internal_Shdr *symtab_hdr;
  2913. + unsigned int i;
  2914. + bfd_boolean ret = FALSE;
  2915. +
  2916. + rd = avr32_relax_data(sec);
  2917. + if (!rd->reloc_data)
  2918. + return TRUE;
  2919. +
  2920. + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
  2921. + sec->reloc_count);
  2922. +
  2923. + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
  2924. + if (!relocs)
  2925. + return FALSE;
  2926. +
  2927. + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
  2928. +
  2929. + for (i = 0; i < sec->reloc_count; i++)
  2930. + {
  2931. + Elf_Internal_Rela *rela = &relocs[i];
  2932. + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
  2933. + struct fragment *sym_frag;
  2934. + unsigned long r_symndx;
  2935. +
  2936. + if (r_data->add_frag)
  2937. + {
  2938. + r_symndx = ELF_R_SYM(rela->r_info);
  2939. +
  2940. + if (r_symndx < symtab_hdr->sh_info)
  2941. + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
  2942. + else
  2943. + {
  2944. + struct elf_link_hash_entry *h;
  2945. +
  2946. + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
  2947. +
  2948. + while (h->root.type == bfd_link_hash_indirect
  2949. + || h->root.type == bfd_link_hash_warning)
  2950. + h = (struct elf_link_hash_entry *)h->root.u.i.link;
  2951. +
  2952. + BFD_ASSERT(h->root.type == bfd_link_hash_defined
  2953. + || h->root.type == bfd_link_hash_defweak);
  2954. +
  2955. + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
  2956. + }
  2957. +
  2958. + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
  2959. + rela->r_addend,
  2960. + rela->r_addend + r_data->add_frag->offset_adjust
  2961. + - (sym_frag ? sym_frag->offset_adjust : 0));
  2962. +
  2963. + /* If this is against a section symbol, we won't find any
  2964. + sym_frag, so we'll just adjust the addend. */
  2965. + rela->r_addend += r_data->add_frag->offset_adjust;
  2966. + if (sym_frag)
  2967. + rela->r_addend -= sym_frag->offset_adjust;
  2968. +
  2969. + if (r_data->sub_frag)
  2970. + {
  2971. + bfd_byte *contents;
  2972. + bfd_signed_vma diff;
  2973. +
  2974. + contents = retrieve_contents(abfd, sec, info->keep_memory);
  2975. + if (!contents)
  2976. + goto out;
  2977. +
  2978. + /* I realize now that sub_frag is misnamed. It's
  2979. + actually add_frag which is subtracted in this
  2980. + case... */
  2981. + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
  2982. + diff += (r_data->sub_frag->offset_adjust
  2983. + - r_data->add_frag->offset_adjust);
  2984. + bfd_put_32(abfd, diff, contents + rela->r_offset);
  2985. +
  2986. + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
  2987. +
  2988. + release_contents(sec, contents);
  2989. + }
  2990. + }
  2991. + else
  2992. + BFD_ASSERT(!r_data->sub_frag);
  2993. + }
  2994. +
  2995. + ret = TRUE;
  2996. +
  2997. + out:
  2998. + release_internal_relocs(sec, relocs);
  2999. + return ret;
  3000. +}
  3001. +
  3002. +static bfd_boolean
  3003. +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
  3004. +{
  3005. + struct elf_avr32_link_hash_table *htab;
  3006. + struct avr32_relax_data *rd;
  3007. + struct fragment *frag, *fragend;
  3008. + Elf_Internal_Rela *relocs = NULL;
  3009. + bfd_byte *contents = NULL;
  3010. + unsigned int i;
  3011. + bfd_boolean ret = FALSE;
  3012. +
  3013. + htab = avr32_elf_hash_table(info);
  3014. + rd = avr32_relax_data(sec);
  3015. +
  3016. + if (!htab->symbols_adjusted)
  3017. + if (!adjust_syms(info))
  3018. + return FALSE;
  3019. +
  3020. + if (rd->is_relaxable)
  3021. + {
  3022. + /* Resize the section first, so that we can be sure that enough
  3023. + memory is allocated in case the section has grown. */
  3024. + if (sec->size > sec->rawsize
  3025. + && elf_section_data(sec)->this_hdr.contents)
  3026. + {
  3027. + /* We must not use cached data if the section has grown. */
  3028. + free(elf_section_data(sec)->this_hdr.contents);
  3029. + elf_section_data(sec)->this_hdr.contents = NULL;
  3030. + }
  3031. +
  3032. + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
  3033. + if (!relocs)
  3034. + goto out;
  3035. + contents = retrieve_contents(abfd, sec, info->keep_memory);
  3036. + if (!contents)
  3037. + goto out;
  3038. +
  3039. + fragend = rd->frag + rd->frag_count;
  3040. +
  3041. + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
  3042. + abfd->filename, sec->name, relocs, contents);
  3043. +
  3044. + /* First, move the data into place. We must take care to move
  3045. + frags in the right order so that we don't accidentally
  3046. + overwrite parts of the next frag. */
  3047. + for (frag = rd->frag; frag < fragend; frag++)
  3048. + {
  3049. + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
  3050. + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
  3051. + abs(frag->offset_adjust),
  3052. + frag->size, frag->size_adjust >= 0 ? '+' : '-',
  3053. + abs(frag->size_adjust));
  3054. + if (frag->offset_adjust > 0)
  3055. + {
  3056. + struct fragment *prev = frag - 1;
  3057. + struct fragment *last;
  3058. +
  3059. + for (last = frag; last < fragend && last->offset_adjust > 0;
  3060. + last++) ;
  3061. +
  3062. + if (last == fragend)
  3063. + last--;
  3064. +
  3065. + for (frag = last; frag != prev; frag--)
  3066. + {
  3067. + if (frag->offset_adjust
  3068. + && frag->size + frag->size_adjust > 0)
  3069. + {
  3070. + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
  3071. + frag->offset, frag->offset + frag->offset_adjust,
  3072. + frag->size + frag->size_adjust);
  3073. + memmove(contents + frag->offset + frag->offset_adjust,
  3074. + contents + frag->offset,
  3075. + frag->size + frag->size_adjust);
  3076. + }
  3077. + }
  3078. + frag = last;
  3079. + }
  3080. + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
  3081. + {
  3082. + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
  3083. + frag->offset, frag->offset + frag->offset_adjust,
  3084. + frag->size + frag->size_adjust);
  3085. + memmove(contents + frag->offset + frag->offset_adjust,
  3086. + contents + frag->offset,
  3087. + frag->size + frag->size_adjust);
  3088. + }
  3089. + }
  3090. +
  3091. + i = 0;
  3092. +
  3093. + for (frag = rd->frag; frag < fragend; frag++)
  3094. + {
  3095. + const struct relax_state *state, *istate;
  3096. + struct avr32_reloc_data *r_data = NULL;
  3097. +
  3098. + istate = &relax_state[frag->initial_state];
  3099. + state = &relax_state[frag->state];
  3100. +
  3101. + if (rd->reloc_data)
  3102. + r_data = &rd->reloc_data[frag->rela - relocs];
  3103. +
  3104. + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
  3105. + BFD_ASSERT(state->reftype != REF_CPOOL
  3106. + || r_data->add_frag->refcount > 0);
  3107. +
  3108. + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
  3109. + {
  3110. + struct fragment *ifrag;
  3111. +
  3112. + /* An indirect reference through the cpool has been
  3113. + converted to a direct reference. We must update the
  3114. + reloc to point to the symbol itself instead of the
  3115. + constant pool entry. The reloc type will be updated
  3116. + later. */
  3117. + ifrag = r_data->add_frag;
  3118. + frag->rela->r_info = ifrag->rela->r_info;
  3119. + frag->rela->r_addend = ifrag->rela->r_addend;
  3120. +
  3121. + /* Copy the reloc data so the addend will be adjusted
  3122. + correctly later. */
  3123. + *r_data = rd->reloc_data[ifrag->rela - relocs];
  3124. + }
  3125. +
  3126. + /* Move all relocs covered by this frag. */
  3127. + if (frag->rela)
  3128. + BFD_ASSERT(&relocs[i] <= frag->rela);
  3129. + else
  3130. + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
  3131. +
  3132. + if (frag == rd->frag)
  3133. + BFD_ASSERT(i == 0);
  3134. + else
  3135. + BFD_ASSERT(&relocs[i] > frag[-1].rela);
  3136. +
  3137. + /* If non-null, frag->rela is the last relocation in the
  3138. + fragment. frag->rela can only be null in the last
  3139. + fragment, so in that case, we'll just do the rest. */
  3140. + for (; (i < sec->reloc_count
  3141. + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
  3142. + {
  3143. + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
  3144. + relocs[i].r_offset + frag->offset_adjust);
  3145. + relocs[i].r_offset += frag->offset_adjust;
  3146. + }
  3147. +
  3148. + if (frag->refcount == 0)
  3149. + {
  3150. + /* If this frag is to be discarded, make sure we won't
  3151. + relocate it later on. */
  3152. + BFD_ASSERT(frag->state == RS_CPENT);
  3153. + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
  3154. + R_AVR32_NONE);
  3155. + }
  3156. + else if (frag->state == RS_ALIGN)
  3157. + {
  3158. + bfd_vma addr, addr_end;
  3159. +
  3160. + addr = frag->rela->r_offset;
  3161. + addr_end = (frag->offset + frag->offset_adjust
  3162. + + frag->size + frag->size_adjust);
  3163. +
  3164. + /* If the section is executable, insert NOPs.
  3165. + Otherwise, insert zeroes. */
  3166. + if (sec->flags & SEC_CODE)
  3167. + {
  3168. + if (addr & 1)
  3169. + {
  3170. + bfd_put_8(abfd, 0, contents + addr);
  3171. + addr++;
  3172. + }
  3173. +
  3174. + BFD_ASSERT(!((addr_end - addr) & 1));
  3175. +
  3176. + while (addr < addr_end)
  3177. + {
  3178. + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
  3179. + addr += 2;
  3180. + }
  3181. + }
  3182. + else
  3183. + memset(contents + addr, 0, addr_end - addr);
  3184. + }
  3185. + else if (state->opcode_mask)
  3186. + {
  3187. + bfd_vma insn;
  3188. +
  3189. + /* Update the opcode and the relocation type unless it's a
  3190. + "special" relax state (i.e. RS_NONE, RS_ALIGN or
  3191. + RS_CPENT.), in which case the opcode mask is zero. */
  3192. + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
  3193. + insn &= ~state->opcode_mask;
  3194. + insn |= state->opcode;
  3195. + RDBG(" 0x%lx: inserting insn %08lx\n",
  3196. + frag->rela->r_offset, insn);
  3197. + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
  3198. +
  3199. + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
  3200. + state->r_type);
  3201. + }
  3202. +
  3203. + if ((frag + 1) == fragend)
  3204. + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
  3205. + + frag->size_adjust) == sec->size);
  3206. + else
  3207. + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
  3208. + + frag->size_adjust)
  3209. + == (frag[1].offset + frag[1].offset_adjust));
  3210. + }
  3211. + }
  3212. +
  3213. + /* Adjust reloc addends and DIFF32 differences */
  3214. + if (!adjust_relocs(abfd, sec, info))
  3215. + return FALSE;
  3216. +
  3217. + ret = TRUE;
  3218. +
  3219. + out:
  3220. + release_contents(sec, contents);
  3221. + release_internal_relocs(sec, relocs);
  3222. + return ret;
  3223. +}
  3224. +
  3225. +static bfd_boolean
  3226. +avr32_elf_relax_section(bfd *abfd, asection *sec,
  3227. + struct bfd_link_info *info, bfd_boolean *again)
  3228. +{
  3229. + struct elf_avr32_link_hash_table *htab;
  3230. + struct avr32_relax_data *rd;
  3231. +
  3232. + *again = FALSE;
  3233. + if (info->relocatable)
  3234. + return TRUE;
  3235. +
  3236. + htab = avr32_elf_hash_table(info);
  3237. + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
  3238. + && sec != htab->sgot)
  3239. + return TRUE;
  3240. +
  3241. + if (!htab->relocations_analyzed)
  3242. + {
  3243. + if (!analyze_relocations(info))
  3244. + return FALSE;
  3245. + htab->relocations_analyzed = TRUE;
  3246. + }
  3247. +
  3248. + rd = avr32_relax_data(sec);
  3249. +
  3250. + if (rd->iteration != htab->relax_iteration)
  3251. + {
  3252. + if (!htab->repeat_pass)
  3253. + htab->relax_pass++;
  3254. + htab->relax_iteration++;
  3255. + htab->repeat_pass = FALSE;
  3256. + }
  3257. +
  3258. + rd->iteration++;
  3259. +
  3260. + switch (htab->relax_pass)
  3261. + {
  3262. + case RELAX_PASS_SIZE_FRAGS:
  3263. + if (!avr32_size_frags(abfd, sec, info))
  3264. + return FALSE;
  3265. + *again = TRUE;
  3266. + break;
  3267. + case RELAX_PASS_MOVE_DATA:
  3268. + if (!avr32_move_data(abfd, sec, info))
  3269. + return FALSE;
  3270. + break;
  3271. + }
  3272. +
  3273. + return TRUE;
  3274. +}
  3275. +
  3276. +
  3277. +/* Relocation */
  3278. +
  3279. +static bfd_reloc_status_type
  3280. +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
  3281. + bfd_signed_vma relocation, reloc_howto_type *howto);
  3282. +static bfd_reloc_status_type
  3283. +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
  3284. + asection *input_section, bfd_byte *contents,
  3285. + Elf_Internal_Rela *rel, bfd_vma value);
  3286. +static bfd_boolean
  3287. +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
  3288. + bfd *input_bfd, asection *input_section,
  3289. + bfd_byte *contents, Elf_Internal_Rela *relocs,
  3290. + Elf_Internal_Sym *local_syms,
  3291. + asection **local_sections);
  3292. +
  3293. +
  3294. +#define symbol_address(symbol) \
  3295. + symbol->value + symbol->section->output_section->vma \
  3296. + + symbol->section->output_offset
  3297. +
  3298. +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
  3299. + do \
  3300. + { \
  3301. + unsigned long x; \
  3302. + x = bfd_get_##size (abfd, data + reloc_entry->address); \
  3303. + x &= ~reloc_entry->howto->dst_mask; \
  3304. + x |= field & reloc_entry->howto->dst_mask; \
  3305. + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
  3306. + } \
  3307. + while(0)
  3308. +
  3309. +static bfd_reloc_status_type
  3310. +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
  3311. + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
  3312. + bfd_signed_vma relocation,
  3313. + reloc_howto_type *howto)
  3314. +{
  3315. + bfd_vma reloc_u;
  3316. +
  3317. + /* We take "complain_overflow_dont" to mean "don't complain on
  3318. + alignment either". This way, we don't have to special-case
  3319. + R_AVR32_HI16 */
  3320. + if (howto->complain_on_overflow == complain_overflow_dont)
  3321. + return bfd_reloc_ok;
  3322. +
  3323. + /* Check if the value is correctly aligned */
  3324. + if (relocation & ((1 << howto->rightshift) - 1))
  3325. + {
  3326. + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
  3327. + sec->owner->filename, sec->name, rela->r_offset,
  3328. + howto->name, relocation, howto->rightshift);
  3329. + return bfd_reloc_overflow;
  3330. + }
  3331. +
  3332. + /* Now, get rid of the unnecessary bits */
  3333. + relocation >>= howto->rightshift;
  3334. + reloc_u = (bfd_vma)relocation;
  3335. +
  3336. + switch (howto->complain_on_overflow)
  3337. + {
  3338. + case complain_overflow_unsigned:
  3339. + case complain_overflow_bitfield:
  3340. + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
  3341. + {
  3342. + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
  3343. + sec->owner->filename, sec->name, rela->r_offset,
  3344. + howto->name, reloc_u, howto->bitsize);
  3345. + RDBG("reloc vma: 0x%lx\n",
  3346. + sec->output_section->vma + sec->output_offset + rela->r_offset);
  3347. +
  3348. + return bfd_reloc_overflow;
  3349. + }
  3350. + break;
  3351. + case complain_overflow_signed:
  3352. + if (relocation > (1 << (howto->bitsize - 1)) - 1)
  3353. + {
  3354. + RDBG("signed overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
  3355. + sec->owner->filename, sec->name, rela->r_offset,
  3356. + howto->name, reloc_u, howto->bitsize);
  3357. + RDBG("reloc vma: 0x%lx\n",
  3358. + sec->output_section->vma + sec->output_offset + rela->r_offset);
  3359. +
  3360. + return bfd_reloc_overflow;
  3361. + }
  3362. + if (relocation < -(1 << (howto->bitsize - 1)))
  3363. + {
  3364. + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
  3365. + sec->owner->filename, sec->name, rela->r_offset,
  3366. + howto->name, -relocation, howto->bitsize);
  3367. + RDBG("reloc vma: 0x%lx\n",
  3368. + sec->output_section->vma + sec->output_offset + rela->r_offset);
  3369. +
  3370. + return bfd_reloc_overflow;
  3371. + }
  3372. + break;
  3373. + default:
  3374. + abort();
  3375. + }
  3376. +
  3377. + return bfd_reloc_ok;
  3378. +}
  3379. +
  3380. +
  3381. +static bfd_reloc_status_type
  3382. +avr32_final_link_relocate(reloc_howto_type *howto,
  3383. + bfd *input_bfd,
  3384. + asection *input_section,
  3385. + bfd_byte *contents,
  3386. + Elf_Internal_Rela *rel,
  3387. + bfd_vma value)
  3388. +{
  3389. + bfd_vma field;
  3390. + bfd_vma relocation;
  3391. + bfd_reloc_status_type status;
  3392. + bfd_byte *p = contents + rel->r_offset;
  3393. + unsigned long x;
  3394. +
  3395. + pr_debug(" (6b) final link relocate\n");
  3396. +
  3397. + /* Sanity check the address */
  3398. + if (rel->r_offset > input_section->size)
  3399. + {
  3400. + (*_bfd_error_handler)
  3401. + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
  3402. + input_bfd, input_section, rel->r_offset, input_section->size);
  3403. + return bfd_reloc_outofrange;
  3404. + }
  3405. +
  3406. + relocation = value + rel->r_addend;
  3407. +
  3408. + if (howto->pc_relative)
  3409. + {
  3410. + bfd_vma addr;
  3411. +
  3412. + addr = input_section->output_section->vma
  3413. + + input_section->output_offset + rel->r_offset;
  3414. + addr &= ~0UL << howto->rightshift;
  3415. + relocation -= addr;
  3416. + }
  3417. +
  3418. + switch (ELF32_R_TYPE(rel->r_info))
  3419. + {
  3420. + case R_AVR32_16N_PCREL:
  3421. + /* sub reg, pc, . - (sym + addend) */
  3422. + relocation = -relocation;
  3423. + break;
  3424. + }
  3425. +
  3426. + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
  3427. +
  3428. + relocation >>= howto->rightshift;
  3429. + if (howto->bitsize == 21)
  3430. + field = (relocation & 0xffff)
  3431. + | ((relocation & 0x10000) << 4)
  3432. + | ((relocation & 0x1e0000) << 8);
  3433. + else if (howto->bitsize == 12)
  3434. + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
  3435. + else if (howto->bitsize == 10)
  3436. + field = ((relocation & 0xff) << 4)
  3437. + | ((relocation & 0x300) >> 8);
  3438. + else
  3439. + field = relocation << howto->bitpos;
  3440. +
  3441. + switch (howto->size)
  3442. + {
  3443. + case 0:
  3444. + x = bfd_get_8 (input_bfd, p);
  3445. + x &= ~howto->dst_mask;
  3446. + x |= field & howto->dst_mask;
  3447. + bfd_put_8 (input_bfd, (bfd_vma) x, p);
  3448. + break;
  3449. + case 1:
  3450. + x = bfd_get_16 (input_bfd, p);
  3451. + x &= ~howto->dst_mask;
  3452. + x |= field & howto->dst_mask;
  3453. + bfd_put_16 (input_bfd, (bfd_vma) x, p);
  3454. + break;
  3455. + case 2:
  3456. + x = bfd_get_32 (input_bfd, p);
  3457. + x &= ~howto->dst_mask;
  3458. + x |= field & howto->dst_mask;
  3459. + bfd_put_32 (input_bfd, (bfd_vma) x, p);
  3460. + break;
  3461. + default:
  3462. + abort();
  3463. + }
  3464. +
  3465. + return status;
  3466. +}
  3467. +
  3468. +/* (6) Apply relocations to the normal (non-dynamic) sections */
  3469. +
  3470. +static bfd_boolean
  3471. +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
  3472. + bfd *input_bfd, asection *input_section,
  3473. + bfd_byte *contents, Elf_Internal_Rela *relocs,
  3474. + Elf_Internal_Sym *local_syms,
  3475. + asection **local_sections)
  3476. +{
  3477. + struct elf_avr32_link_hash_table *htab;
  3478. + Elf_Internal_Shdr *symtab_hdr;
  3479. + Elf_Internal_Rela *rel, *relend;
  3480. + struct elf_link_hash_entry **sym_hashes;
  3481. + struct got_entry **local_got_ents;
  3482. + asection *sgot;
  3483. + asection *srelgot;
  3484. +
  3485. + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
  3486. + input_bfd->filename, input_section->name, input_section->size);
  3487. +
  3488. + /* If we're doing a partial link, we don't have to do anything since
  3489. + we're using RELA relocations */
  3490. + if (info->relocatable)
  3491. + return TRUE;
  3492. +
  3493. + htab = avr32_elf_hash_table(info);
  3494. + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
  3495. + sym_hashes = elf_sym_hashes(input_bfd);
  3496. + local_got_ents = elf_local_got_ents(input_bfd);
  3497. + sgot = htab->sgot;
  3498. + srelgot = htab->srelgot;
  3499. +
  3500. + relend = relocs + input_section->reloc_count;
  3501. + for (rel = relocs; rel < relend; rel++)
  3502. + {
  3503. + unsigned long r_type, r_symndx;
  3504. + reloc_howto_type *howto;
  3505. + Elf_Internal_Sym *sym = NULL;
  3506. + struct elf_link_hash_entry *h = NULL;
  3507. + asection *sec = NULL;
  3508. + bfd_vma value;
  3509. + bfd_vma offset;
  3510. + bfd_reloc_status_type status;
  3511. +
  3512. + r_type = ELF32_R_TYPE(rel->r_info);
  3513. + r_symndx = ELF32_R_SYM(rel->r_info);
  3514. +
  3515. + if (r_type == R_AVR32_NONE
  3516. + || r_type == R_AVR32_ALIGN
  3517. + || r_type == R_AVR32_DIFF32
  3518. + || r_type == R_AVR32_DIFF16
  3519. + || r_type == R_AVR32_DIFF8)
  3520. + continue;
  3521. +
  3522. + /* Sanity check */
  3523. + if (r_type > R_AVR32_max)
  3524. + {
  3525. + bfd_set_error(bfd_error_bad_value);
  3526. + return FALSE;
  3527. + }
  3528. +
  3529. + howto = &elf_avr32_howto_table[r_type];
  3530. +
  3531. + if (r_symndx < symtab_hdr->sh_info)
  3532. + {
  3533. + sym = local_syms + r_symndx;
  3534. + sec = local_sections[r_symndx];
  3535. +
  3536. + pr_debug(" (6a) processing %s against local symbol %lu\n",
  3537. + howto->name, r_symndx);
  3538. +
  3539. + /* The following function changes rel->r_addend behind our back. */
  3540. + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
  3541. + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
  3542. + }
  3543. + else
  3544. + {
  3545. + if (sym_hashes == NULL)
  3546. + return FALSE;
  3547. +
  3548. + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
  3549. + while (h->root.type == bfd_link_hash_indirect
  3550. + || h->root.type == bfd_link_hash_warning)
  3551. + h = (struct elf_link_hash_entry *)h->root.u.i.link;
  3552. +
  3553. + pr_debug(" (6a) processing %s against symbol %s\n",
  3554. + howto->name, h->root.root.string);
  3555. +
  3556. + if (h->root.type == bfd_link_hash_defined
  3557. + || h->root.type == bfd_link_hash_defweak)
  3558. + {
  3559. + bfd_boolean dyn;
  3560. +
  3561. + dyn = htab->root.dynamic_sections_created;
  3562. + sec = h->root.u.def.section;
  3563. +
  3564. + if (sec->output_section)
  3565. + value = (h->root.u.def.value
  3566. + + sec->output_section->vma
  3567. + + sec->output_offset);
  3568. + else
  3569. + value = h->root.u.def.value;
  3570. + }
  3571. + else if (h->root.type == bfd_link_hash_undefweak)
  3572. + value = 0;
  3573. + else if (info->unresolved_syms_in_objects == RM_IGNORE
  3574. + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
  3575. + value = 0;
  3576. + else
  3577. + {
  3578. + bfd_boolean err;
  3579. + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
  3580. + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
  3581. + if (!info->callbacks->undefined_symbol
  3582. + (info, h->root.root.string, input_bfd,
  3583. + input_section, rel->r_offset, err))
  3584. + return FALSE;
  3585. + value = 0;
  3586. + }
  3587. +
  3588. + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
  3589. + }
  3590. +
  3591. + switch (r_type)
  3592. + {
  3593. + case R_AVR32_GOT32:
  3594. + case R_AVR32_GOT16:
  3595. + case R_AVR32_GOT8:
  3596. + case R_AVR32_GOT21S:
  3597. + case R_AVR32_GOT18SW:
  3598. + case R_AVR32_GOT16S:
  3599. + case R_AVR32_GOT7UW:
  3600. + case R_AVR32_LDA_GOT:
  3601. + case R_AVR32_GOTCALL:
  3602. + BFD_ASSERT(sgot != NULL);
  3603. +
  3604. + if (h != NULL)
  3605. + {
  3606. + BFD_ASSERT(h->got.glist->refcount > 0);
  3607. + offset = h->got.glist->offset;
  3608. +
  3609. + BFD_ASSERT(offset < sgot->size);
  3610. + if (!elf_hash_table(info)->dynamic_sections_created
  3611. + || (h->def_regular
  3612. + && (!info->shared
  3613. + || info->symbolic
  3614. + || h->dynindx == -1)))
  3615. + {
  3616. + /* This is actually a static link, or it is a
  3617. + -Bsymbolic link and the symbol is defined
  3618. + locally, or the symbol was forced to be local. */
  3619. + bfd_put_32(output_bfd, value, sgot->contents + offset);
  3620. + }
  3621. + }
  3622. + else
  3623. + {
  3624. + BFD_ASSERT(local_got_ents &&
  3625. + local_got_ents[r_symndx]->refcount > 0);
  3626. + offset = local_got_ents[r_symndx]->offset;
  3627. +
  3628. + /* Local GOT entries don't have relocs. If this is a
  3629. + shared library, the dynamic linker will add the load
  3630. + address to the initial value at startup. */
  3631. + BFD_ASSERT(offset < sgot->size);
  3632. + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
  3633. + offset, value);
  3634. + bfd_put_32 (output_bfd, value, sgot->contents + offset);
  3635. + }
  3636. +
  3637. + value = sgot->output_offset + offset;
  3638. + pr_debug("GOT reference: New value %lx\n", value);
  3639. + break;
  3640. +
  3641. + case R_AVR32_GOTPC:
  3642. + /* This relocation type is for constant pool entries used in
  3643. + the calculation "Rd = PC - (PC - GOT)", where the
  3644. + constant pool supplies the constant (PC - GOT)
  3645. + offset. The symbol value + addend indicates where the
  3646. + value of PC is taken. */
  3647. + value -= sgot->output_section->vma;
  3648. + break;
  3649. +
  3650. + case R_AVR32_32_PCREL:
  3651. + /* We must adjust r_offset to account for discarded data in
  3652. + the .eh_frame section. This is probably not the right
  3653. + way to do this, since AFAICS all other architectures do
  3654. + it some other way. I just can't figure out how... */
  3655. + {
  3656. + bfd_vma r_offset;
  3657. +
  3658. + r_offset = _bfd_elf_section_offset(output_bfd, info,
  3659. + input_section,
  3660. + rel->r_offset);
  3661. + if (r_offset == (bfd_vma)-1
  3662. + || r_offset == (bfd_vma)-2)
  3663. + continue;
  3664. + rel->r_offset = r_offset;
  3665. + }
  3666. + break;
  3667. +
  3668. + case R_AVR32_32:
  3669. + /* We need to emit a run-time relocation in the following cases:
  3670. + - we're creating a shared library
  3671. + - the symbol is not defined in any regular objects
  3672. +
  3673. + Of course, sections that aren't going to be part of the
  3674. + run-time image will not get any relocs, and undefined
  3675. + symbols won't have any either (only weak undefined
  3676. + symbols should get this far). */
  3677. + if ((info->shared
  3678. + || (elf_hash_table(info)->dynamic_sections_created
  3679. + && h != NULL
  3680. + && h->def_dynamic
  3681. + && !h->def_regular))
  3682. + && r_symndx != 0
  3683. + && (input_section->flags & SEC_ALLOC))
  3684. + {
  3685. + Elf_Internal_Rela outrel;
  3686. + bfd_byte *loc;
  3687. + bfd_boolean skip, relocate;
  3688. + struct elf_avr32_link_hash_entry *avrh;
  3689. +
  3690. + pr_debug("Going to generate dynamic reloc...\n");
  3691. +
  3692. + skip = FALSE;
  3693. + relocate = FALSE;
  3694. +
  3695. + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
  3696. + input_section,
  3697. + rel->r_offset);
  3698. + if (outrel.r_offset == (bfd_vma)-1)
  3699. + skip = TRUE;
  3700. + else if (outrel.r_offset == (bfd_vma)-2)
  3701. + skip = TRUE, relocate = TRUE;
  3702. +
  3703. + outrel.r_offset += (input_section->output_section->vma
  3704. + + input_section->output_offset);
  3705. +
  3706. + pr_debug(" ... offset %lx, dynindx %ld\n",
  3707. + outrel.r_offset, h ? h->dynindx : -1);
  3708. +
  3709. + if (skip)
  3710. + memset(&outrel, 0, sizeof(outrel));
  3711. + else
  3712. + {
  3713. + avrh = (struct elf_avr32_link_hash_entry *)h;
  3714. + /* h->dynindx may be -1 if this symbol was marked to
  3715. + become local. */
  3716. + if (h == NULL
  3717. + || ((info->symbolic || h->dynindx == -1)
  3718. + && h->def_regular))
  3719. + {
  3720. + relocate = TRUE;
  3721. + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
  3722. + outrel.r_addend = value + rel->r_addend;
  3723. + pr_debug(" ... R_AVR32_RELATIVE\n");
  3724. + }
  3725. + else
  3726. + {
  3727. + BFD_ASSERT(h->dynindx != -1);
  3728. + relocate = TRUE;
  3729. + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
  3730. + outrel.r_addend = rel->r_addend;
  3731. + pr_debug(" ... R_AVR32_GLOB_DAT\n");
  3732. + }
  3733. + }
  3734. +
  3735. + pr_debug("srelgot reloc_count: %d, size %lu\n",
  3736. + srelgot->reloc_count, srelgot->size);
  3737. +
  3738. + loc = srelgot->contents;
  3739. + loc += srelgot->reloc_count++ * sizeof(Elf32_External_Rela);
  3740. + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
  3741. +
  3742. + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
  3743. + <= srelgot->size);
  3744. +
  3745. + if (!relocate)
  3746. + continue;
  3747. + }
  3748. + break;
  3749. + }
  3750. +
  3751. + status = avr32_final_link_relocate(howto, input_bfd, input_section,
  3752. + contents, rel, value);
  3753. +
  3754. + switch (status)
  3755. + {
  3756. + case bfd_reloc_ok:
  3757. + break;
  3758. +
  3759. + case bfd_reloc_overflow:
  3760. + {
  3761. + const char *name;
  3762. +
  3763. + if (h != NULL)
  3764. + name = h->root.root.string;
  3765. + else
  3766. + {
  3767. + name = bfd_elf_string_from_elf_section(input_bfd,
  3768. + symtab_hdr->sh_link,
  3769. + sym->st_name);
  3770. + if (name == NULL)
  3771. + return FALSE;
  3772. + if (*name == '\0')
  3773. + name = bfd_section_name(input_bfd, sec);
  3774. + }
  3775. + if (!((*info->callbacks->reloc_overflow)
  3776. + (info, (h ? &h->root : NULL), name, howto->name,
  3777. + rel->r_addend, input_bfd, input_section, rel->r_offset)))
  3778. + return FALSE;
  3779. + }
  3780. + break;
  3781. +
  3782. + case bfd_reloc_outofrange:
  3783. + default:
  3784. + abort();
  3785. + }
  3786. + }
  3787. +
  3788. + return TRUE;
  3789. +}
  3790. +
  3791. +
  3792. +/* Additional processing of dynamic sections after relocation */
  3793. +
  3794. +static bfd_boolean
  3795. +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
  3796. + struct elf_link_hash_entry *h,
  3797. + Elf_Internal_Sym *sym);
  3798. +static bfd_boolean
  3799. +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
  3800. +
  3801. +
  3802. +/* (7) Initialize the contents of a dynamic symbol and/or emit
  3803. + relocations for it */
  3804. +
  3805. +static bfd_boolean
  3806. +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
  3807. + struct elf_link_hash_entry *h,
  3808. + Elf_Internal_Sym *sym)
  3809. +{
  3810. + struct elf_avr32_link_hash_table *htab;
  3811. + struct got_entry *got;
  3812. +
  3813. + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
  3814. +
  3815. + htab = avr32_elf_hash_table(info);
  3816. + got = h->got.glist;
  3817. +
  3818. + if (got && got->refcount > 0)
  3819. + {
  3820. + asection *sgot;
  3821. + asection *srelgot;
  3822. + Elf_Internal_Rela rel;
  3823. + bfd_byte *loc;
  3824. +
  3825. + /* This symbol has an entry in the GOT. Set it up. */
  3826. + sgot = htab->sgot;
  3827. + srelgot = htab->srelgot;
  3828. + BFD_ASSERT(sgot && srelgot);
  3829. +
  3830. + rel.r_offset = (sgot->output_section->vma
  3831. + + sgot->output_offset
  3832. + + got->offset);
  3833. +
  3834. + /* If this is a static link, or it is a -Bsymbolic link and the
  3835. + symbol is defined locally or was forced to be local because
  3836. + of a version file, we just want to emit a RELATIVE reloc. The
  3837. + entry in the global offset table will already have been
  3838. + initialized in the relocate_section function. */
  3839. + if ((info->shared
  3840. + && !info->symbolic
  3841. + && h->dynindx != -1)
  3842. + || (htab->root.dynamic_sections_created
  3843. + && h->def_dynamic
  3844. + && !h->def_regular))
  3845. + {
  3846. + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
  3847. + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
  3848. + rel.r_addend = 0;
  3849. +
  3850. + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
  3851. + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
  3852. + srelgot->reloc_count, srelgot->size);
  3853. +
  3854. + loc = (srelgot->contents
  3855. + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
  3856. + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
  3857. +
  3858. + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
  3859. + <= srelgot->size);
  3860. + }
  3861. + }
  3862. +
  3863. + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
  3864. + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
  3865. + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
  3866. + sym->st_shndx = SHN_ABS;
  3867. +
  3868. + return TRUE;
  3869. +}
  3870. +
  3871. +/* (8) Do any remaining initialization of the dynamic sections */
  3872. +
  3873. +static bfd_boolean
  3874. +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
  3875. +{
  3876. + struct elf_avr32_link_hash_table *htab;
  3877. + asection *sgot, *sdyn;
  3878. +
  3879. + pr_debug("(8) finish dynamic sections\n");
  3880. +
  3881. + htab = avr32_elf_hash_table(info);
  3882. + sgot = htab->sgot;
  3883. + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
  3884. +
  3885. + if (htab->root.dynamic_sections_created)
  3886. + {
  3887. + Elf32_External_Dyn *dyncon, *dynconend;
  3888. +
  3889. + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
  3890. +
  3891. + dyncon = (Elf32_External_Dyn *)sdyn->contents;
  3892. + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
  3893. + for (; dyncon < dynconend; dyncon++)
  3894. + {
  3895. + Elf_Internal_Dyn dyn;
  3896. + asection *s;
  3897. +
  3898. + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
  3899. +
  3900. + switch (dyn.d_tag)
  3901. + {
  3902. + default:
  3903. + break;
  3904. +
  3905. + case DT_PLTGOT:
  3906. + s = sgot->output_section;
  3907. + BFD_ASSERT(s != NULL);
  3908. + dyn.d_un.d_ptr = s->vma;
  3909. + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
  3910. + break;
  3911. +
  3912. + case DT_AVR32_GOTSZ:
  3913. + s = sgot->output_section;
  3914. + BFD_ASSERT(s != NULL);
  3915. + dyn.d_un.d_val = s->size;
  3916. + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
  3917. + break;
  3918. + }
  3919. + }
  3920. +
  3921. + /* Fill in the first two entries in the global offset table */
  3922. + bfd_put_32(output_bfd,
  3923. + sdyn->output_section->vma + sdyn->output_offset,
  3924. + sgot->contents);
  3925. +
  3926. + /* The runtime linker will fill this one in with the address of
  3927. + the run-time link map */
  3928. + bfd_put_32(output_bfd, 0, sgot->contents + 4);
  3929. + }
  3930. +
  3931. + if (sgot)
  3932. + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
  3933. +
  3934. + return TRUE;
  3935. +}
  3936. +
  3937. +
  3938. +/* AVR32-specific private ELF data */
  3939. +
  3940. +static bfd_boolean
  3941. +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
  3942. +static bfd_boolean
  3943. +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
  3944. +static bfd_boolean
  3945. +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
  3946. +static bfd_boolean
  3947. +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
  3948. +
  3949. +static bfd_boolean
  3950. +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
  3951. +{
  3952. + elf_elfheader(abfd)->e_flags = flags;
  3953. + elf_flags_init(abfd) = TRUE;
  3954. +
  3955. + return TRUE;
  3956. +}
  3957. +
  3958. +/* Copy backend specific data from one object module to another. */
  3959. +
  3960. +static bfd_boolean
  3961. +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
  3962. +{
  3963. + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
  3964. + return TRUE;
  3965. +}
  3966. +
  3967. +/* Merge backend specific data from an object file to the output
  3968. + object file when linking. */
  3969. +
  3970. +static bfd_boolean
  3971. +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
  3972. +{
  3973. + flagword out_flags, in_flags;
  3974. +
  3975. + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
  3976. + ibfd->filename, obfd->filename);
  3977. +
  3978. + in_flags = elf_elfheader(ibfd)->e_flags;
  3979. + out_flags = elf_elfheader(obfd)->e_flags;
  3980. +
  3981. + if (elf_flags_init(obfd))
  3982. + {
  3983. + /* If one of the inputs are non-PIC, the output must be
  3984. + considered non-PIC. The same applies to linkrelax. */
  3985. + if (!(in_flags & EF_AVR32_PIC))
  3986. + out_flags &= ~EF_AVR32_PIC;
  3987. + if (!(in_flags & EF_AVR32_LINKRELAX))
  3988. + out_flags &= ~EF_AVR32_LINKRELAX;
  3989. + }
  3990. + else
  3991. + {
  3992. + elf_flags_init(obfd) = TRUE;
  3993. + out_flags = in_flags;
  3994. + }
  3995. +
  3996. + elf_elfheader(obfd)->e_flags = out_flags;
  3997. +
  3998. + return TRUE;
  3999. +}
  4000. +
  4001. +static bfd_boolean
  4002. +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
  4003. +{
  4004. + FILE *file = (FILE *)ptr;
  4005. + unsigned long flags;
  4006. +
  4007. + BFD_ASSERT(abfd != NULL && ptr != NULL);
  4008. +
  4009. + _bfd_elf_print_private_bfd_data(abfd, ptr);
  4010. +
  4011. + flags = elf_elfheader(abfd)->e_flags;
  4012. +
  4013. + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
  4014. +
  4015. + if (flags & EF_AVR32_PIC)
  4016. + fprintf(file, " [PIC]");
  4017. + if (flags & EF_AVR32_LINKRELAX)
  4018. + fprintf(file, " [linker relaxable]");
  4019. +
  4020. + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
  4021. +
  4022. + if (flags)
  4023. + fprintf(file, _("<Unrecognized flag bits set>"));
  4024. +
  4025. + fputc('\n', file);
  4026. +
  4027. + return TRUE;
  4028. +}
  4029. +
  4030. +/* Set avr32-specific linker options. */
  4031. +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
  4032. + int direct_data_refs)
  4033. +{
  4034. + struct elf_avr32_link_hash_table *htab;
  4035. +
  4036. + htab = avr32_elf_hash_table (info);
  4037. + htab->direct_data_refs = !!direct_data_refs;
  4038. +}
  4039. +
  4040. +
  4041. +
  4042. +/* Understanding core dumps */
  4043. +
  4044. +static bfd_boolean
  4045. +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
  4046. +static bfd_boolean
  4047. +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
  4048. +
  4049. +static bfd_boolean
  4050. +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
  4051. +{
  4052. + /* Linux/AVR32B elf_prstatus */
  4053. + if (note->descsz != 148)
  4054. + return FALSE;
  4055. +
  4056. + /* pr_cursig */
  4057. + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
  4058. +
  4059. + /* pr_pid */
  4060. + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
  4061. +
  4062. + /* Make a ".reg/999" section for pr_reg. The size is for 16
  4063. + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
  4064. + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
  4065. + note->descpos + 72);
  4066. +}
  4067. +
  4068. +static bfd_boolean
  4069. +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
  4070. +{
  4071. + /* Linux/AVR32B elf_prpsinfo */
  4072. + if (note->descsz != 128)
  4073. + return FALSE;
  4074. +
  4075. + elf_tdata(abfd)->core_program
  4076. + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
  4077. + elf_tdata(abfd)->core_command
  4078. + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
  4079. +
  4080. + /* Note that for some reason, a spurious space is tacked
  4081. + onto the end of the args in some (at least one anyway)
  4082. + implementations, so strip it off if it exists. */
  4083. +
  4084. + {
  4085. + char *command = elf_tdata (abfd)->core_command;
  4086. + int n = strlen (command);
  4087. +
  4088. + if (0 < n && command[n - 1] == ' ')
  4089. + command[n - 1] = '\0';
  4090. + }
  4091. +
  4092. + return TRUE;
  4093. +}
  4094. +
  4095. +
  4096. +#define ELF_ARCH bfd_arch_avr32
  4097. +#define ELF_MACHINE_CODE EM_AVR32
  4098. +#define ELF_MAXPAGESIZE 1024
  4099. +
  4100. +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
  4101. +#define TARGET_BIG_NAME "elf32-avr32"
  4102. +
  4103. +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
  4104. +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
  4105. +
  4106. +/* Only RELA relocations are used */
  4107. +#define elf_backend_may_use_rel_p 0
  4108. +#define elf_backend_may_use_rela_p 1
  4109. +#define elf_backend_default_use_rela_p 1
  4110. +#define elf_backend_rela_normal 1
  4111. +#define elf_info_to_howto_rel NULL
  4112. +#define elf_info_to_howto avr32_info_to_howto
  4113. +
  4114. +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
  4115. +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
  4116. +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
  4117. +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
  4118. +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
  4119. +
  4120. +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
  4121. +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
  4122. +#define elf_backend_relocate_section avr32_elf_relocate_section
  4123. +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
  4124. +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
  4125. +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
  4126. +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
  4127. +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
  4128. +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
  4129. +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
  4130. +
  4131. +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
  4132. +
  4133. +/* Find out which symbols need an entry in .got. */
  4134. +#define elf_backend_check_relocs avr32_check_relocs
  4135. +#define elf_backend_can_refcount 1
  4136. +#define elf_backend_can_gc_sections 1
  4137. +#define elf_backend_plt_readonly 1
  4138. +#define elf_backend_plt_not_loaded 1
  4139. +#define elf_backend_want_plt_sym 0
  4140. +#define elf_backend_plt_alignment 2
  4141. +#define elf_backend_want_dynbss 0
  4142. +#define elf_backend_want_got_plt 0
  4143. +#define elf_backend_want_got_sym 1
  4144. +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
  4145. +
  4146. +#include "elf32-target.h"
  4147. diff -Nur binutils-2.21.orig/bfd/elf32-avr32.h binutils-2.21/bfd/elf32-avr32.h
  4148. --- binutils-2.21.orig/bfd/elf32-avr32.h 1970-01-01 01:00:00.000000000 +0100
  4149. +++ binutils-2.21/bfd/elf32-avr32.h 2011-08-28 14:56:19.177990713 +0200
  4150. @@ -0,0 +1,23 @@
  4151. +/* AVR32-specific support for 32-bit ELF.
  4152. + Copyright 2007,2008,2009 Atmel Corporation.
  4153. +
  4154. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  4155. +
  4156. + This file is part of BFD, the Binary File Descriptor library.
  4157. +
  4158. + This program is free software; you can redistribute it and/or modify
  4159. + it under the terms of the GNU General Public License as published by
  4160. + the Free Software Foundation; either version 2 of the License, or
  4161. + (at your option) any later version.
  4162. +
  4163. + This program is distributed in the hope that it will be useful,
  4164. + but WITHOUT ANY WARRANTY; without even the implied warranty of
  4165. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  4166. + GNU General Public License for more details.
  4167. +
  4168. + You should have received a copy of the GNU General Public License
  4169. + along with this program; if not, write to the Free Software
  4170. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  4171. +
  4172. +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
  4173. + int direct_data_refs);
  4174. diff -Nur binutils-2.21.orig/bfd/elf-bfd.h binutils-2.21/bfd/elf-bfd.h
  4175. --- binutils-2.21.orig/bfd/elf-bfd.h 2010-11-04 12:35:00.000000000 +0100
  4176. +++ binutils-2.21/bfd/elf-bfd.h 2011-08-28 14:56:19.187981894 +0200
  4177. @@ -1553,6 +1553,10 @@
  4178. find_nearest_line. */
  4179. struct mips_elf_find_line *find_line_info;
  4180. + /* Used by AVR32 ELF relaxation code. Contains an array of pointers
  4181. + for each local symbol to the fragment where it is defined. */
  4182. + struct fragment **local_sym_frag;
  4183. +
  4184. /* A place to stash dwarf1 info for this bfd. */
  4185. struct dwarf1_debug *dwarf1_find_line_info;
  4186. diff -Nur binutils-2.21.orig/bfd/libbfd.h binutils-2.21/bfd/libbfd.h
  4187. --- binutils-2.21.orig/bfd/libbfd.h 2010-10-29 14:10:24.000000000 +0200
  4188. +++ binutils-2.21/bfd/libbfd.h 2011-08-28 14:56:19.257982671 +0200
  4189. @@ -1783,6 +1783,48 @@
  4190. "BFD_RELOC_AVR_LDI",
  4191. "BFD_RELOC_AVR_6",
  4192. "BFD_RELOC_AVR_6_ADIW",
  4193. + "BFD_RELOC_AVR32_DIFF32",
  4194. + "BFD_RELOC_AVR32_DIFF16",
  4195. + "BFD_RELOC_AVR32_DIFF8",
  4196. + "BFD_RELOC_AVR32_GOT32",
  4197. + "BFD_RELOC_AVR32_GOT16",
  4198. + "BFD_RELOC_AVR32_GOT8",
  4199. + "BFD_RELOC_AVR32_21S",
  4200. + "BFD_RELOC_AVR32_16U",
  4201. + "BFD_RELOC_AVR32_16S",
  4202. + "BFD_RELOC_AVR32_SUB5",
  4203. + "BFD_RELOC_AVR32_8S_EXT",
  4204. + "BFD_RELOC_AVR32_8S",
  4205. + "BFD_RELOC_AVR32_15S",
  4206. + "BFD_RELOC_AVR32_22H_PCREL",
  4207. + "BFD_RELOC_AVR32_18W_PCREL",
  4208. + "BFD_RELOC_AVR32_16B_PCREL",
  4209. + "BFD_RELOC_AVR32_16N_PCREL",
  4210. + "BFD_RELOC_AVR32_14UW_PCREL",
  4211. + "BFD_RELOC_AVR32_11H_PCREL",
  4212. + "BFD_RELOC_AVR32_10UW_PCREL",
  4213. + "BFD_RELOC_AVR32_9H_PCREL",
  4214. + "BFD_RELOC_AVR32_9UW_PCREL",
  4215. + "BFD_RELOC_AVR32_GOTPC",
  4216. + "BFD_RELOC_AVR32_GOTCALL",
  4217. + "BFD_RELOC_AVR32_LDA_GOT",
  4218. + "BFD_RELOC_AVR32_GOT21S",
  4219. + "BFD_RELOC_AVR32_GOT18SW",
  4220. + "BFD_RELOC_AVR32_GOT16S",
  4221. + "BFD_RELOC_AVR32_32_CPENT",
  4222. + "BFD_RELOC_AVR32_CPCALL",
  4223. + "BFD_RELOC_AVR32_16_CP",
  4224. + "BFD_RELOC_AVR32_9W_CP",
  4225. + "BFD_RELOC_AVR32_ALIGN",
  4226. + "BFD_RELOC_AVR32_14UW",
  4227. + "BFD_RELOC_AVR32_10UW",
  4228. + "BFD_RELOC_AVR32_10SW",
  4229. + "BFD_RELOC_AVR32_STHH_W",
  4230. + "BFD_RELOC_AVR32_7UW",
  4231. + "BFD_RELOC_AVR32_6S",
  4232. + "BFD_RELOC_AVR32_6UW",
  4233. + "BFD_RELOC_AVR32_4UH",
  4234. + "BFD_RELOC_AVR32_3U",
  4235. "BFD_RELOC_RX_NEG8",
  4236. "BFD_RELOC_RX_NEG16",
  4237. "BFD_RELOC_RX_NEG24",
  4238. diff -Nur binutils-2.21.orig/bfd/Makefile.am binutils-2.21/bfd/Makefile.am
  4239. --- binutils-2.21.orig/bfd/Makefile.am 2010-12-08 09:37:33.000000000 +0100
  4240. +++ binutils-2.21/bfd/Makefile.am 2011-08-28 14:56:19.267983645 +0200
  4241. @@ -75,6 +75,7 @@
  4242. cpu-arc.lo \
  4243. cpu-arm.lo \
  4244. cpu-avr.lo \
  4245. + cpu-avr32.lo \
  4246. cpu-bfin.lo \
  4247. cpu-cr16.lo \
  4248. cpu-cr16c.lo \
  4249. @@ -272,6 +273,7 @@
  4250. elf32-arc.lo \
  4251. elf32-arm.lo \
  4252. elf32-avr.lo \
  4253. + elf32-avr32.lo \
  4254. elf32-bfin.lo \
  4255. elf32-cr16.lo \
  4256. elf32-cr16c.lo \
  4257. diff -Nur binutils-2.21.orig/bfd/reloc.c binutils-2.21/bfd/reloc.c
  4258. --- binutils-2.21.orig/bfd/reloc.c 2010-10-29 14:10:24.000000000 +0200
  4259. +++ binutils-2.21/bfd/reloc.c 2011-08-28 14:56:19.337985626 +0200
  4260. @@ -4275,6 +4275,131 @@
  4261. Renesas RX Relocations.
  4262. ENUM
  4263. + BFD_RELOC_AVR32_DIFF32
  4264. +ENUMX
  4265. + BFD_RELOC_AVR32_DIFF16
  4266. +ENUMX
  4267. + BFD_RELOC_AVR32_DIFF8
  4268. +ENUMDOC
  4269. + Difference between two labels: L2 - L1. The value of L1 is encoded
  4270. + as sym + addend, while the initial difference after assembly is
  4271. + inserted into the object file by the assembler.
  4272. +ENUM
  4273. + BFD_RELOC_AVR32_GOT32
  4274. +ENUMX
  4275. + BFD_RELOC_AVR32_GOT16
  4276. +ENUMX
  4277. + BFD_RELOC_AVR32_GOT8
  4278. +ENUMDOC
  4279. + Reference to a symbol through the Global Offset Table. The linker
  4280. + will allocate an entry for symbol in the GOT and insert the offset
  4281. + of this entry as the relocation value.
  4282. +ENUM
  4283. + BFD_RELOC_AVR32_21S
  4284. +ENUMX
  4285. + BFD_RELOC_AVR32_16U
  4286. +ENUMX
  4287. + BFD_RELOC_AVR32_16S
  4288. +ENUMX
  4289. + BFD_RELOC_AVR32_SUB5
  4290. +ENUMX
  4291. + BFD_RELOC_AVR32_8S_EXT
  4292. +ENUMX
  4293. + BFD_RELOC_AVR32_8S
  4294. +ENUMX
  4295. + BFD_RELOC_AVR32_15S
  4296. +ENUMDOC
  4297. + Normal (non-pc-relative) code relocations. Alignment and signedness
  4298. + is indicated by the suffixes. S means signed, U means unsigned. W
  4299. + means word-aligned, H means halfword-aligned, neither means
  4300. + byte-aligned (no alignment.) SUB5 is the same relocation as 16S.
  4301. +ENUM
  4302. + BFD_RELOC_AVR32_22H_PCREL
  4303. +ENUMX
  4304. + BFD_RELOC_AVR32_18W_PCREL
  4305. +ENUMX
  4306. + BFD_RELOC_AVR32_16B_PCREL
  4307. +ENUMX
  4308. + BFD_RELOC_AVR32_16N_PCREL
  4309. +ENUMX
  4310. + BFD_RELOC_AVR32_14UW_PCREL
  4311. +ENUMX
  4312. + BFD_RELOC_AVR32_11H_PCREL
  4313. +ENUMX
  4314. + BFD_RELOC_AVR32_10UW_PCREL
  4315. +ENUMX
  4316. + BFD_RELOC_AVR32_9H_PCREL
  4317. +ENUMX
  4318. + BFD_RELOC_AVR32_9UW_PCREL
  4319. +ENUMDOC
  4320. + PC-relative relocations are signed if neither 'U' nor 'S' is
  4321. + specified. However, we explicitly tack on a 'B' to indicate no
  4322. + alignment, to avoid confusion with data relocs. All of these resolve
  4323. + to sym + addend - offset, except the one with 'N' (negated) suffix.
  4324. + This particular one resolves to offset - sym - addend.
  4325. +ENUM
  4326. + BFD_RELOC_AVR32_GOTPC
  4327. +ENUMDOC
  4328. + Subtract the link-time address of the GOT from (symbol + addend)
  4329. + and insert the result.
  4330. +ENUM
  4331. + BFD_RELOC_AVR32_GOTCALL
  4332. +ENUMX
  4333. + BFD_RELOC_AVR32_LDA_GOT
  4334. +ENUMX
  4335. + BFD_RELOC_AVR32_GOT21S
  4336. +ENUMX
  4337. + BFD_RELOC_AVR32_GOT18SW
  4338. +ENUMX
  4339. + BFD_RELOC_AVR32_GOT16S
  4340. +ENUMDOC
  4341. + Reference to a symbol through the GOT. The linker will allocate an
  4342. + entry for symbol in the GOT and insert the offset of this entry as
  4343. + the relocation value. addend must be zero. As usual, 'S' means
  4344. + signed, 'W' means word-aligned, etc.
  4345. +ENUM
  4346. + BFD_RELOC_AVR32_32_CPENT
  4347. +ENUMDOC
  4348. + 32-bit constant pool entry. I don't think 8- and 16-bit entries make
  4349. + a whole lot of sense.
  4350. +ENUM
  4351. + BFD_RELOC_AVR32_CPCALL
  4352. +ENUMX
  4353. + BFD_RELOC_AVR32_16_CP
  4354. +ENUMX
  4355. + BFD_RELOC_AVR32_9W_CP
  4356. +ENUMDOC
  4357. + Constant pool references. Some of these relocations are signed,
  4358. + others are unsigned. It doesn't really matter, since the constant
  4359. + pool always comes after the code that references it.
  4360. +ENUM
  4361. + BFD_RELOC_AVR32_ALIGN
  4362. +ENUMDOC
  4363. + sym must be the absolute symbol. The addend specifies the alignment
  4364. + order, e.g. if addend is 2, the linker must add padding so that the
  4365. + next address is aligned to a 4-byte boundary.
  4366. +ENUM
  4367. + BFD_RELOC_AVR32_14UW
  4368. +ENUMX
  4369. + BFD_RELOC_AVR32_10UW
  4370. +ENUMX
  4371. + BFD_RELOC_AVR32_10SW
  4372. +ENUMX
  4373. + BFD_RELOC_AVR32_STHH_W
  4374. +ENUMX
  4375. + BFD_RELOC_AVR32_7UW
  4376. +ENUMX
  4377. + BFD_RELOC_AVR32_6S
  4378. +ENUMX
  4379. + BFD_RELOC_AVR32_6UW
  4380. +ENUMX
  4381. + BFD_RELOC_AVR32_4UH
  4382. +ENUMX
  4383. + BFD_RELOC_AVR32_3U
  4384. +ENUMDOC
  4385. + Code relocations that will never make it to the output file.
  4386. +
  4387. +ENUM
  4388. BFD_RELOC_390_12
  4389. ENUMDOC
  4390. Direct 12 bit.
  4391. diff -Nur binutils-2.21.orig/bfd/targets.c binutils-2.21/bfd/targets.c
  4392. --- binutils-2.21.orig/bfd/targets.c 2010-10-22 14:08:28.000000000 +0200
  4393. +++ binutils-2.21/bfd/targets.c 2011-08-28 14:56:19.347986251 +0200
  4394. @@ -579,6 +579,7 @@
  4395. extern const bfd_target b_out_vec_little_host;
  4396. extern const bfd_target bfd_pei_ia64_vec;
  4397. extern const bfd_target bfd_elf32_avr_vec;
  4398. +extern const bfd_target bfd_elf32_avr32_vec;
  4399. extern const bfd_target bfd_elf32_bfin_vec;
  4400. extern const bfd_target bfd_elf32_bfinfdpic_vec;
  4401. extern const bfd_target bfd_elf32_big_generic_vec;
  4402. @@ -917,6 +918,7 @@
  4403. &bfd_pei_ia64_vec,
  4404. #endif
  4405. &bfd_elf32_avr_vec,
  4406. + &bfd_elf32_avr32_vec,
  4407. &bfd_elf32_bfin_vec,
  4408. &bfd_elf32_bfinfdpic_vec,
  4409. diff -Nur binutils-2.21.orig/binutils/doc/binutils.info binutils-2.21/binutils/doc/binutils.info
  4410. --- binutils-2.21.orig/binutils/doc/binutils.info 2010-12-08 09:39:11.000000000 +0100
  4411. +++ binutils-2.21/binutils/doc/binutils.info 2011-08-28 14:56:19.407979437 +0200
  4412. @@ -1705,6 +1705,10 @@
  4413. useful when attempting to disassemble thumb code produced by other
  4414. compilers.
  4415. + For the AVR32 architectures that support Floating point unit (FPU),
  4416. + specifying '-M decode-fpu' will enable disassembler to print the
  4417. + floating point instruction instead of 'cop' instructions.
  4418. +
  4419. For the x86, some of the options duplicate functions of the `-m'
  4420. switch, but allow finer grained control. Multiple selections from
  4421. the following may be specified as a comma separated string.
  4422. diff -Nur binutils-2.21.orig/binutils/doc/binutils.texi binutils-2.21/binutils/doc/binutils.texi
  4423. --- binutils-2.21.orig/binutils/doc/binutils.texi 2010-10-29 14:10:32.000000000 +0200
  4424. +++ binutils-2.21/binutils/doc/binutils.texi 2011-08-28 14:56:19.467985920 +0200
  4425. @@ -1980,6 +1980,10 @@
  4426. useful when attempting to disassemble thumb code produced by other
  4427. compilers.
  4428. +For the AVR32 architectures that support Floating point unit (FPU),
  4429. +specifying @option{-M decode-fpu} will enable disassembler to print the
  4430. +floating point instructions instead of 'cop' instructions.
  4431. +
  4432. For the x86, some of the options duplicate functions of the @option{-m}
  4433. switch, but allow finer grained control. Multiple selections from the
  4434. following may be specified as a comma separated string.
  4435. diff -Nur binutils-2.21.orig/binutils/doc/objdump.1 binutils-2.21/binutils/doc/objdump.1
  4436. --- binutils-2.21.orig/binutils/doc/objdump.1 2010-12-08 09:39:13.000000000 +0100
  4437. +++ binutils-2.21/binutils/doc/objdump.1 2011-08-28 14:56:19.477990899 +0200
  4438. @@ -425,6 +425,10 @@
  4439. useful when attempting to disassemble thumb code produced by other
  4440. compilers.
  4441. .Sp
  4442. +For the \s-1AVR32\s0 architectures that support Floating point unit (FPU),
  4443. +specifying \fB\-M decode\-fpu\fR will enable disassembler to print the
  4444. +floating point instructions instead of 'cop' instructions.
  4445. +.Sp
  4446. For the x86, some of the options duplicate functions of the \fB\-m\fR
  4447. switch, but allow finer grained control. Multiple selections from the
  4448. following may be specified as a comma separated string.
  4449. diff -Nur binutils-2.21.orig/binutils/readelf.c binutils-2.21/binutils/readelf.c
  4450. --- binutils-2.21.orig/binutils/readelf.c 2010-11-02 15:36:35.000000000 +0100
  4451. +++ binutils-2.21/binutils/readelf.c 2011-08-28 15:20:54.897989766 +0200
  4452. @@ -95,6 +95,7 @@
  4453. #include "elf/arc.h"
  4454. #include "elf/arm.h"
  4455. #include "elf/avr.h"
  4456. +#include "elf/avr32.h"
  4457. #include "elf/bfin.h"
  4458. #include "elf/cr16.h"
  4459. #include "elf/cris.h"
  4460. @@ -619,6 +620,7 @@
  4461. case EM_ALPHA:
  4462. case EM_ALTERA_NIOS2:
  4463. case EM_AVR:
  4464. + case EM_AVR32:
  4465. case EM_AVR_OLD:
  4466. case EM_BLACKFIN:
  4467. case EM_CR16:
  4468. @@ -1072,6 +1074,10 @@
  4469. rtype = elf_avr_reloc_type (type);
  4470. break;
  4471. + case EM_AVR32:
  4472. + rtype = elf_avr32_reloc_type (type);
  4473. + break;
  4474. +
  4475. case EM_OLD_SPARCV9:
  4476. case EM_SPARC32PLUS:
  4477. case EM_SPARCV9:
  4478. diff -Nur binutils-2.21.orig/gas/as.c binutils-2.21/gas/as.c
  4479. --- binutils-2.21.orig/gas/as.c 2010-08-09 20:08:18.000000000 +0200
  4480. +++ binutils-2.21/gas/as.c 2011-08-28 14:56:19.567981083 +0200
  4481. @@ -459,10 +459,10 @@
  4482. the end of the preceeding line so that it is simpler to
  4483. selectively add and remove lines from this list. */
  4484. {"alternate", no_argument, NULL, OPTION_ALTERNATE}
  4485. - /* The entry for "a" is here to prevent getopt_long_only() from
  4486. - considering that -a is an abbreviation for --alternate. This is
  4487. - necessary because -a=<FILE> is a valid switch but getopt would
  4488. - normally reject it since --alternate does not take an argument. */
  4489. + /* The next two entries are here to prevent getopt_long_only() from
  4490. + considering that -a or -al is an abbreviation for --alternate.
  4491. + This is necessary because -a=<FILE> is a valid switch but getopt
  4492. + would normally reject it since --alternate does not take an argument. */
  4493. ,{"a", optional_argument, NULL, 'a'}
  4494. /* Handle -al=<FILE>. */
  4495. ,{"al", optional_argument, NULL, OPTION_AL}
  4496. @@ -839,8 +839,15 @@
  4497. case 'a':
  4498. if (optarg)
  4499. {
  4500. - if (optarg != old_argv[optind] && optarg[-1] == '=')
  4501. + /* If optarg is part of the -a switch and not a separate argument
  4502. + in its own right, then scan backwards to the just after the -a.
  4503. + This means skipping over both '=' and 'l' which might have been
  4504. + taken to be part of the -a switch itself. */
  4505. + if (optarg != old_argv[optind])
  4506. + {
  4507. + while (optarg[-1] == '=' || optarg[-1] == 'l')
  4508. --optarg;
  4509. + }
  4510. if (md_parse_option (optc, optarg) != 0)
  4511. break;
  4512. @@ -982,7 +989,7 @@
  4513. {
  4514. output_file_close (out_file_name);
  4515. if (!keep_it)
  4516. - unlink_if_ordinary (out_file_name);
  4517. + unlink (out_file_name);
  4518. }
  4519. /* The interface between the macro code and gas expression handling. */
  4520. diff -Nur binutils-2.21.orig/gas/as.h binutils-2.21/gas/as.h
  4521. --- binutils-2.21.orig/gas/as.h 2010-07-03 22:52:24.000000000 +0200
  4522. +++ binutils-2.21/gas/as.h 2011-08-28 14:56:19.657986437 +0200
  4523. @@ -82,6 +82,7 @@
  4524. #endif
  4525. #define gas_assert(P) \
  4526. ((void) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))
  4527. +#define assert(P) gas_assert(P)
  4528. #undef abort
  4529. #define abort() as_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
  4530. diff -Nur binutils-2.21.orig/gas/atof-generic.c binutils-2.21/gas/atof-generic.c
  4531. --- binutils-2.21.orig/gas/atof-generic.c 2009-09-02 09:24:19.000000000 +0200
  4532. +++ binutils-2.21/gas/atof-generic.c 2011-08-28 14:56:19.727983142 +0200
  4533. @@ -121,6 +121,21 @@
  4534. switch (first_digit[0])
  4535. {
  4536. + case 's':
  4537. + case 'S':
  4538. + case 'q':
  4539. + case 'Q':
  4540. + if (!strncasecmp ("nan", first_digit+1, 3))
  4541. + {
  4542. + address_of_generic_floating_point_number->sign = 0;
  4543. + address_of_generic_floating_point_number->exponent = 0;
  4544. + address_of_generic_floating_point_number->leader =
  4545. + address_of_generic_floating_point_number->low;
  4546. + *address_of_string_pointer = first_digit + 4;
  4547. + return 0;
  4548. + }
  4549. + break;
  4550. +
  4551. case 'n':
  4552. case 'N':
  4553. if (!strncasecmp ("nan", first_digit, 3))
  4554. diff -Nur binutils-2.21.orig/gas/autom4te.cache/output.0 binutils-2.21/gas/autom4te.cache/output.0
  4555. --- binutils-2.21.orig/gas/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
  4556. +++ binutils-2.21/gas/autom4te.cache/output.0 2011-08-28 14:56:19.757981389 +0200
  4557. @@ -0,0 +1,16661 @@
  4558. +@%:@! /bin/sh
  4559. +@%:@ Guess values for system-dependent variables and create Makefiles.
  4560. +@%:@ Generated by GNU Autoconf 2.64.
  4561. +@%:@
  4562. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  4563. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  4564. +@%:@ Foundation, Inc.
  4565. +@%:@
  4566. +@%:@ This configure script is free software; the Free Software Foundation
  4567. +@%:@ gives unlimited permission to copy, distribute and modify it.
  4568. +## -------------------- ##
  4569. +## M4sh Initialization. ##
  4570. +## -------------------- ##
  4571. +
  4572. +# Be more Bourne compatible
  4573. +DUALCASE=1; export DUALCASE # for MKS sh
  4574. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4575. + emulate sh
  4576. + NULLCMD=:
  4577. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4578. + # is contrary to our usage. Disable this feature.
  4579. + alias -g '${1+"$@"}'='"$@"'
  4580. + setopt NO_GLOB_SUBST
  4581. +else
  4582. + case `(set -o) 2>/dev/null` in @%:@(
  4583. + *posix*) :
  4584. + set -o posix ;; @%:@(
  4585. + *) :
  4586. + ;;
  4587. +esac
  4588. +fi
  4589. +
  4590. +
  4591. +as_nl='
  4592. +'
  4593. +export as_nl
  4594. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  4595. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4596. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4597. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4598. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  4599. +# but without wasting forks for bash or zsh.
  4600. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  4601. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4602. + as_echo='print -r --'
  4603. + as_echo_n='print -rn --'
  4604. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4605. + as_echo='printf %s\n'
  4606. + as_echo_n='printf %s'
  4607. +else
  4608. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4609. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4610. + as_echo_n='/usr/ucb/echo -n'
  4611. + else
  4612. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4613. + as_echo_n_body='eval
  4614. + arg=$1;
  4615. + case $arg in @%:@(
  4616. + *"$as_nl"*)
  4617. + expr "X$arg" : "X\\(.*\\)$as_nl";
  4618. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4619. + esac;
  4620. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4621. + '
  4622. + export as_echo_n_body
  4623. + as_echo_n='sh -c $as_echo_n_body as_echo'
  4624. + fi
  4625. + export as_echo_body
  4626. + as_echo='sh -c $as_echo_body as_echo'
  4627. +fi
  4628. +
  4629. +# The user is always right.
  4630. +if test "${PATH_SEPARATOR+set}" != set; then
  4631. + PATH_SEPARATOR=:
  4632. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4633. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4634. + PATH_SEPARATOR=';'
  4635. + }
  4636. +fi
  4637. +
  4638. +
  4639. +# IFS
  4640. +# We need space, tab and new line, in precisely that order. Quoting is
  4641. +# there to prevent editors from complaining about space-tab.
  4642. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4643. +# splitting by setting IFS to empty value.)
  4644. +IFS=" "" $as_nl"
  4645. +
  4646. +# Find who we are. Look in the path if we contain no directory separator.
  4647. +case $0 in @%:@((
  4648. + *[\\/]* ) as_myself=$0 ;;
  4649. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4650. +for as_dir in $PATH
  4651. +do
  4652. + IFS=$as_save_IFS
  4653. + test -z "$as_dir" && as_dir=.
  4654. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4655. + done
  4656. +IFS=$as_save_IFS
  4657. +
  4658. + ;;
  4659. +esac
  4660. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  4661. +# in which case we are not to be found in the path.
  4662. +if test "x$as_myself" = x; then
  4663. + as_myself=$0
  4664. +fi
  4665. +if test ! -f "$as_myself"; then
  4666. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4667. + exit 1
  4668. +fi
  4669. +
  4670. +# Unset variables that we do not need and which cause bugs (e.g. in
  4671. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4672. +# suppresses any "Segmentation fault" message there. '((' could
  4673. +# trigger a bug in pdksh 5.2.14.
  4674. +for as_var in BASH_ENV ENV MAIL MAILPATH
  4675. +do eval test x\${$as_var+set} = xset \
  4676. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4677. +done
  4678. +PS1='$ '
  4679. +PS2='> '
  4680. +PS4='+ '
  4681. +
  4682. +# NLS nuisances.
  4683. +LC_ALL=C
  4684. +export LC_ALL
  4685. +LANGUAGE=C
  4686. +export LANGUAGE
  4687. +
  4688. +# CDPATH.
  4689. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4690. +
  4691. +if test "x$CONFIG_SHELL" = x; then
  4692. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  4693. + emulate sh
  4694. + NULLCMD=:
  4695. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  4696. + # is contrary to our usage. Disable this feature.
  4697. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  4698. + setopt NO_GLOB_SUBST
  4699. +else
  4700. + case \`(set -o) 2>/dev/null\` in @%:@(
  4701. + *posix*) :
  4702. + set -o posix ;; @%:@(
  4703. + *) :
  4704. + ;;
  4705. +esac
  4706. +fi
  4707. +"
  4708. + as_required="as_fn_return () { (exit \$1); }
  4709. +as_fn_success () { as_fn_return 0; }
  4710. +as_fn_failure () { as_fn_return 1; }
  4711. +as_fn_ret_success () { return 0; }
  4712. +as_fn_ret_failure () { return 1; }
  4713. +
  4714. +exitcode=0
  4715. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  4716. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  4717. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  4718. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  4719. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  4720. +
  4721. +else
  4722. + exitcode=1; echo positional parameters were not saved.
  4723. +fi
  4724. +test x\$exitcode = x0 || exit 1"
  4725. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  4726. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  4727. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  4728. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  4729. +test \$(( 1 + 1 )) = 2 || exit 1
  4730. +
  4731. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  4732. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4733. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  4734. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  4735. + PATH=/empty FPATH=/empty; export PATH FPATH
  4736. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  4737. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  4738. + if (eval "$as_required") 2>/dev/null; then :
  4739. + as_have_required=yes
  4740. +else
  4741. + as_have_required=no
  4742. +fi
  4743. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  4744. +
  4745. +else
  4746. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4747. +as_found=false
  4748. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  4749. +do
  4750. + IFS=$as_save_IFS
  4751. + test -z "$as_dir" && as_dir=.
  4752. + as_found=:
  4753. + case $as_dir in @%:@(
  4754. + /*)
  4755. + for as_base in sh bash ksh sh5; do
  4756. + # Try only shells that exist, to save several forks.
  4757. + as_shell=$as_dir/$as_base
  4758. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  4759. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  4760. + CONFIG_SHELL=$as_shell as_have_required=yes
  4761. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  4762. + break 2
  4763. +fi
  4764. +fi
  4765. + done;;
  4766. + esac
  4767. + as_found=false
  4768. +done
  4769. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  4770. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  4771. + CONFIG_SHELL=$SHELL as_have_required=yes
  4772. +fi; }
  4773. +IFS=$as_save_IFS
  4774. +
  4775. +
  4776. + if test "x$CONFIG_SHELL" != x; then :
  4777. + # We cannot yet assume a decent shell, so we have to provide a
  4778. + # neutralization value for shells without unset; and this also
  4779. + # works around shells that cannot unset nonexistent variables.
  4780. + BASH_ENV=/dev/null
  4781. + ENV=/dev/null
  4782. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  4783. + export CONFIG_SHELL
  4784. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  4785. +fi
  4786. +
  4787. + if test x$as_have_required = xno; then :
  4788. + $as_echo "$0: This script requires a shell more modern than all"
  4789. + $as_echo "$0: the shells that I found on your system."
  4790. + if test x${ZSH_VERSION+set} = xset ; then
  4791. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  4792. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  4793. + else
  4794. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  4795. +$0: including any error possibly output before this
  4796. +$0: message. Then install a modern shell, or manually run
  4797. +$0: the script under such a shell if you do have one."
  4798. + fi
  4799. + exit 1
  4800. +fi
  4801. +fi
  4802. +fi
  4803. +SHELL=${CONFIG_SHELL-/bin/sh}
  4804. +export SHELL
  4805. +# Unset more variables known to interfere with behavior of common tools.
  4806. +CLICOLOR_FORCE= GREP_OPTIONS=
  4807. +unset CLICOLOR_FORCE GREP_OPTIONS
  4808. +
  4809. +## --------------------- ##
  4810. +## M4sh Shell Functions. ##
  4811. +## --------------------- ##
  4812. +@%:@ as_fn_unset VAR
  4813. +@%:@ ---------------
  4814. +@%:@ Portably unset VAR.
  4815. +as_fn_unset ()
  4816. +{
  4817. + { eval $1=; unset $1;}
  4818. +}
  4819. +as_unset=as_fn_unset
  4820. +
  4821. +@%:@ as_fn_set_status STATUS
  4822. +@%:@ -----------------------
  4823. +@%:@ Set $? to STATUS, without forking.
  4824. +as_fn_set_status ()
  4825. +{
  4826. + return $1
  4827. +} @%:@ as_fn_set_status
  4828. +
  4829. +@%:@ as_fn_exit STATUS
  4830. +@%:@ -----------------
  4831. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4832. +as_fn_exit ()
  4833. +{
  4834. + set +e
  4835. + as_fn_set_status $1
  4836. + exit $1
  4837. +} @%:@ as_fn_exit
  4838. +
  4839. +@%:@ as_fn_mkdir_p
  4840. +@%:@ -------------
  4841. +@%:@ Create "$as_dir" as a directory, including parents if necessary.
  4842. +as_fn_mkdir_p ()
  4843. +{
  4844. +
  4845. + case $as_dir in #(
  4846. + -*) as_dir=./$as_dir;;
  4847. + esac
  4848. + test -d "$as_dir" || eval $as_mkdir_p || {
  4849. + as_dirs=
  4850. + while :; do
  4851. + case $as_dir in #(
  4852. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4853. + *) as_qdir=$as_dir;;
  4854. + esac
  4855. + as_dirs="'$as_qdir' $as_dirs"
  4856. + as_dir=`$as_dirname -- "$as_dir" ||
  4857. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4858. + X"$as_dir" : 'X\(//\)[^/]' \| \
  4859. + X"$as_dir" : 'X\(//\)$' \| \
  4860. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4861. +$as_echo X"$as_dir" |
  4862. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4863. + s//\1/
  4864. + q
  4865. + }
  4866. + /^X\(\/\/\)[^/].*/{
  4867. + s//\1/
  4868. + q
  4869. + }
  4870. + /^X\(\/\/\)$/{
  4871. + s//\1/
  4872. + q
  4873. + }
  4874. + /^X\(\/\).*/{
  4875. + s//\1/
  4876. + q
  4877. + }
  4878. + s/.*/./; q'`
  4879. + test -d "$as_dir" && break
  4880. + done
  4881. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  4882. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4883. +
  4884. +
  4885. +} @%:@ as_fn_mkdir_p
  4886. +@%:@ as_fn_append VAR VALUE
  4887. +@%:@ ----------------------
  4888. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  4889. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  4890. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  4891. +@%:@ implementations.
  4892. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4893. + eval 'as_fn_append ()
  4894. + {
  4895. + eval $1+=\$2
  4896. + }'
  4897. +else
  4898. + as_fn_append ()
  4899. + {
  4900. + eval $1=\$$1\$2
  4901. + }
  4902. +fi # as_fn_append
  4903. +
  4904. +@%:@ as_fn_arith ARG...
  4905. +@%:@ ------------------
  4906. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  4907. +@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
  4908. +@%:@ must be portable across $(()) and expr.
  4909. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4910. + eval 'as_fn_arith ()
  4911. + {
  4912. + as_val=$(( $* ))
  4913. + }'
  4914. +else
  4915. + as_fn_arith ()
  4916. + {
  4917. + as_val=`expr "$@" || test $? -eq 1`
  4918. + }
  4919. +fi # as_fn_arith
  4920. +
  4921. +
  4922. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  4923. +@%:@ ---------------------------------
  4924. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4925. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4926. +@%:@ script with status $?, using 1 if that was 0.
  4927. +as_fn_error ()
  4928. +{
  4929. + as_status=$?; test $as_status -eq 0 && as_status=1
  4930. + if test "$3"; then
  4931. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4932. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  4933. + fi
  4934. + $as_echo "$as_me: error: $1" >&2
  4935. + as_fn_exit $as_status
  4936. +} @%:@ as_fn_error
  4937. +
  4938. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  4939. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4940. + as_expr=expr
  4941. +else
  4942. + as_expr=false
  4943. +fi
  4944. +
  4945. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4946. + as_basename=basename
  4947. +else
  4948. + as_basename=false
  4949. +fi
  4950. +
  4951. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4952. + as_dirname=dirname
  4953. +else
  4954. + as_dirname=false
  4955. +fi
  4956. +
  4957. +as_me=`$as_basename -- "$0" ||
  4958. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4959. + X"$0" : 'X\(//\)$' \| \
  4960. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4961. +$as_echo X/"$0" |
  4962. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  4963. + s//\1/
  4964. + q
  4965. + }
  4966. + /^X\/\(\/\/\)$/{
  4967. + s//\1/
  4968. + q
  4969. + }
  4970. + /^X\/\(\/\).*/{
  4971. + s//\1/
  4972. + q
  4973. + }
  4974. + s/.*/./; q'`
  4975. +
  4976. +# Avoid depending upon Character Ranges.
  4977. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4978. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4979. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4980. +as_cr_digits='0123456789'
  4981. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  4982. +
  4983. +
  4984. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  4985. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  4986. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  4987. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  4988. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  4989. + sed -n '
  4990. + p
  4991. + /[$]LINENO/=
  4992. + ' <$as_myself |
  4993. + sed '
  4994. + s/[$]LINENO.*/&-/
  4995. + t lineno
  4996. + b
  4997. + :lineno
  4998. + N
  4999. + :loop
  5000. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  5001. + t loop
  5002. + s/-\n.*//
  5003. + ' >$as_me.lineno &&
  5004. + chmod +x "$as_me.lineno" ||
  5005. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  5006. +
  5007. + # Don't try to exec as it changes $[0], causing all sort of problems
  5008. + # (the dirname of $[0] is not the place where we might find the
  5009. + # original and so on. Autoconf is especially sensitive to this).
  5010. + . "./$as_me.lineno"
  5011. + # Exit status is that of the last command.
  5012. + exit
  5013. +}
  5014. +
  5015. +ECHO_C= ECHO_N= ECHO_T=
  5016. +case `echo -n x` in @%:@(((((
  5017. +-n*)
  5018. + case `echo 'xy\c'` in
  5019. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  5020. + xy) ECHO_C='\c';;
  5021. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  5022. + ECHO_T=' ';;
  5023. + esac;;
  5024. +*)
  5025. + ECHO_N='-n';;
  5026. +esac
  5027. +
  5028. +rm -f conf$$ conf$$.exe conf$$.file
  5029. +if test -d conf$$.dir; then
  5030. + rm -f conf$$.dir/conf$$.file
  5031. +else
  5032. + rm -f conf$$.dir
  5033. + mkdir conf$$.dir 2>/dev/null
  5034. +fi
  5035. +if (echo >conf$$.file) 2>/dev/null; then
  5036. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  5037. + as_ln_s='ln -s'
  5038. + # ... but there are two gotchas:
  5039. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  5040. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  5041. + # In both cases, we have to default to `cp -p'.
  5042. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  5043. + as_ln_s='cp -p'
  5044. + elif ln conf$$.file conf$$ 2>/dev/null; then
  5045. + as_ln_s=ln
  5046. + else
  5047. + as_ln_s='cp -p'
  5048. + fi
  5049. +else
  5050. + as_ln_s='cp -p'
  5051. +fi
  5052. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  5053. +rmdir conf$$.dir 2>/dev/null
  5054. +
  5055. +if mkdir -p . 2>/dev/null; then
  5056. + as_mkdir_p='mkdir -p "$as_dir"'
  5057. +else
  5058. + test -d ./-p && rmdir ./-p
  5059. + as_mkdir_p=false
  5060. +fi
  5061. +
  5062. +if test -x / >/dev/null 2>&1; then
  5063. + as_test_x='test -x'
  5064. +else
  5065. + if ls -dL / >/dev/null 2>&1; then
  5066. + as_ls_L_option=L
  5067. + else
  5068. + as_ls_L_option=
  5069. + fi
  5070. + as_test_x='
  5071. + eval sh -c '\''
  5072. + if test -d "$1"; then
  5073. + test -d "$1/.";
  5074. + else
  5075. + case $1 in @%:@(
  5076. + -*)set "./$1";;
  5077. + esac;
  5078. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  5079. + ???[sx]*):;;*)false;;esac;fi
  5080. + '\'' sh
  5081. + '
  5082. +fi
  5083. +as_executable_p=$as_test_x
  5084. +
  5085. +# Sed expression to map a string onto a valid CPP name.
  5086. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  5087. +
  5088. +# Sed expression to map a string onto a valid variable name.
  5089. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  5090. +
  5091. +SHELL=${CONFIG_SHELL-/bin/sh}
  5092. +
  5093. +
  5094. +exec 7<&0 </dev/null 6>&1
  5095. +
  5096. +# Name of the host.
  5097. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  5098. +# so uname gets run too.
  5099. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  5100. +
  5101. +#
  5102. +# Initializations.
  5103. +#
  5104. +ac_default_prefix=/usr/local
  5105. +ac_clean_files=
  5106. +ac_config_libobj_dir=.
  5107. +LIB@&t@OBJS=
  5108. +cross_compiling=no
  5109. +subdirs=
  5110. +MFLAGS=
  5111. +MAKEFLAGS=
  5112. +
  5113. +# Identity of this package.
  5114. +PACKAGE_NAME=
  5115. +PACKAGE_TARNAME=
  5116. +PACKAGE_VERSION=
  5117. +PACKAGE_STRING=
  5118. +PACKAGE_BUGREPORT=
  5119. +PACKAGE_URL=
  5120. +
  5121. +ac_unique_file="as.h"
  5122. +# Factoring default headers for most tests.
  5123. +ac_includes_default="\
  5124. +#include <stdio.h>
  5125. +#ifdef HAVE_SYS_TYPES_H
  5126. +# include <sys/types.h>
  5127. +#endif
  5128. +#ifdef HAVE_SYS_STAT_H
  5129. +# include <sys/stat.h>
  5130. +#endif
  5131. +#ifdef STDC_HEADERS
  5132. +# include <stdlib.h>
  5133. +# include <stddef.h>
  5134. +#else
  5135. +# ifdef HAVE_STDLIB_H
  5136. +# include <stdlib.h>
  5137. +# endif
  5138. +#endif
  5139. +#ifdef HAVE_STRING_H
  5140. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5141. +# include <memory.h>
  5142. +# endif
  5143. +# include <string.h>
  5144. +#endif
  5145. +#ifdef HAVE_STRINGS_H
  5146. +# include <strings.h>
  5147. +#endif
  5148. +#ifdef HAVE_INTTYPES_H
  5149. +# include <inttypes.h>
  5150. +#endif
  5151. +#ifdef HAVE_STDINT_H
  5152. +# include <stdint.h>
  5153. +#endif
  5154. +#ifdef HAVE_UNISTD_H
  5155. +# include <unistd.h>
  5156. +#endif"
  5157. +
  5158. +ac_subst_vars='am__EXEEXT_FALSE
  5159. +am__EXEEXT_TRUE
  5160. +LTLIBOBJS
  5161. +LIB@&t@OBJS
  5162. +LIBM
  5163. +ALLOCA
  5164. +GENINSRC_NEVER_FALSE
  5165. +GENINSRC_NEVER_TRUE
  5166. +MAINT
  5167. +MAINTAINER_MODE_FALSE
  5168. +MAINTAINER_MODE_TRUE
  5169. +MSGMERGE
  5170. +MSGFMT
  5171. +MKINSTALLDIRS
  5172. +CATOBJEXT
  5173. +GENCAT
  5174. +INSTOBJEXT
  5175. +DATADIRNAME
  5176. +CATALOGS
  5177. +POSUB
  5178. +GMSGFMT
  5179. +XGETTEXT
  5180. +INCINTL
  5181. +LIBINTL_DEP
  5182. +LIBINTL
  5183. +USE_NLS
  5184. +LEXLIB
  5185. +LEX_OUTPUT_ROOT
  5186. +LEX
  5187. +YFLAGS
  5188. +YACC
  5189. +OPCODES_LIB
  5190. +atof
  5191. +install_tooldir
  5192. +te_file
  5193. +obj_format
  5194. +target_cpu_type
  5195. +extra_objects
  5196. +cgen_cpu_prefix
  5197. +GDBINIT
  5198. +NO_WERROR
  5199. +WARN_CFLAGS
  5200. +OTOOL64
  5201. +OTOOL
  5202. +LIPO
  5203. +NMEDIT
  5204. +DSYMUTIL
  5205. +RANLIB
  5206. +AR
  5207. +OBJDUMP
  5208. +LN_S
  5209. +NM
  5210. +ac_ct_DUMPBIN
  5211. +DUMPBIN
  5212. +LD
  5213. +FGREP
  5214. +SED
  5215. +LIBTOOL
  5216. +EGREP
  5217. +GREP
  5218. +CPP
  5219. +am__fastdepCC_FALSE
  5220. +am__fastdepCC_TRUE
  5221. +CCDEPMODE
  5222. +AMDEPBACKSLASH
  5223. +AMDEP_FALSE
  5224. +AMDEP_TRUE
  5225. +am__quote
  5226. +am__include
  5227. +DEPDIR
  5228. +am__untar
  5229. +am__tar
  5230. +AMTAR
  5231. +am__leading_dot
  5232. +SET_MAKE
  5233. +AWK
  5234. +mkdir_p
  5235. +MKDIR_P
  5236. +INSTALL_STRIP_PROGRAM
  5237. +STRIP
  5238. +install_sh
  5239. +MAKEINFO
  5240. +AUTOHEADER
  5241. +AUTOMAKE
  5242. +AUTOCONF
  5243. +ACLOCAL
  5244. +VERSION
  5245. +PACKAGE
  5246. +CYGPATH_W
  5247. +am__isrc
  5248. +INSTALL_DATA
  5249. +INSTALL_SCRIPT
  5250. +INSTALL_PROGRAM
  5251. +OBJEXT
  5252. +EXEEXT
  5253. +ac_ct_CC
  5254. +CPPFLAGS
  5255. +LDFLAGS
  5256. +CFLAGS
  5257. +CC
  5258. +target_os
  5259. +target_vendor
  5260. +target_cpu
  5261. +target
  5262. +host_os
  5263. +host_vendor
  5264. +host_cpu
  5265. +host
  5266. +build_os
  5267. +build_vendor
  5268. +build_cpu
  5269. +build
  5270. +target_alias
  5271. +host_alias
  5272. +build_alias
  5273. +LIBS
  5274. +ECHO_T
  5275. +ECHO_N
  5276. +ECHO_C
  5277. +DEFS
  5278. +mandir
  5279. +localedir
  5280. +libdir
  5281. +psdir
  5282. +pdfdir
  5283. +dvidir
  5284. +htmldir
  5285. +infodir
  5286. +docdir
  5287. +oldincludedir
  5288. +includedir
  5289. +localstatedir
  5290. +sharedstatedir
  5291. +sysconfdir
  5292. +datadir
  5293. +datarootdir
  5294. +libexecdir
  5295. +sbindir
  5296. +bindir
  5297. +program_transform_name
  5298. +prefix
  5299. +exec_prefix
  5300. +PACKAGE_URL
  5301. +PACKAGE_BUGREPORT
  5302. +PACKAGE_STRING
  5303. +PACKAGE_VERSION
  5304. +PACKAGE_TARNAME
  5305. +PACKAGE_NAME
  5306. +PATH_SEPARATOR
  5307. +SHELL'
  5308. +ac_subst_files=''
  5309. +ac_user_opts='
  5310. +enable_option_checking
  5311. +enable_dependency_tracking
  5312. +enable_plugins
  5313. +enable_largefile
  5314. +enable_shared
  5315. +enable_static
  5316. +with_pic
  5317. +enable_fast_install
  5318. +with_gnu_ld
  5319. +enable_libtool_lock
  5320. +enable_targets
  5321. +enable_checking
  5322. +enable_werror
  5323. +enable_build_warnings
  5324. +enable_nls
  5325. +enable_maintainer_mode
  5326. +with_zlib
  5327. +'
  5328. + ac_precious_vars='build_alias
  5329. +host_alias
  5330. +target_alias
  5331. +CC
  5332. +CFLAGS
  5333. +LDFLAGS
  5334. +LIBS
  5335. +CPPFLAGS
  5336. +CPP
  5337. +YACC
  5338. +YFLAGS'
  5339. +
  5340. +
  5341. +# Initialize some variables set by options.
  5342. +ac_init_help=
  5343. +ac_init_version=false
  5344. +ac_unrecognized_opts=
  5345. +ac_unrecognized_sep=
  5346. +# The variables have the same names as the options, with
  5347. +# dashes changed to underlines.
  5348. +cache_file=/dev/null
  5349. +exec_prefix=NONE
  5350. +no_create=
  5351. +no_recursion=
  5352. +prefix=NONE
  5353. +program_prefix=NONE
  5354. +program_suffix=NONE
  5355. +program_transform_name=s,x,x,
  5356. +silent=
  5357. +site=
  5358. +srcdir=
  5359. +verbose=
  5360. +x_includes=NONE
  5361. +x_libraries=NONE
  5362. +
  5363. +# Installation directory options.
  5364. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  5365. +# and all the variables that are supposed to be based on exec_prefix
  5366. +# by default will actually change.
  5367. +# Use braces instead of parens because sh, perl, etc. also accept them.
  5368. +# (The list follows the same order as the GNU Coding Standards.)
  5369. +bindir='${exec_prefix}/bin'
  5370. +sbindir='${exec_prefix}/sbin'
  5371. +libexecdir='${exec_prefix}/libexec'
  5372. +datarootdir='${prefix}/share'
  5373. +datadir='${datarootdir}'
  5374. +sysconfdir='${prefix}/etc'
  5375. +sharedstatedir='${prefix}/com'
  5376. +localstatedir='${prefix}/var'
  5377. +includedir='${prefix}/include'
  5378. +oldincludedir='/usr/include'
  5379. +docdir='${datarootdir}/doc/${PACKAGE}'
  5380. +infodir='${datarootdir}/info'
  5381. +htmldir='${docdir}'
  5382. +dvidir='${docdir}'
  5383. +pdfdir='${docdir}'
  5384. +psdir='${docdir}'
  5385. +libdir='${exec_prefix}/lib'
  5386. +localedir='${datarootdir}/locale'
  5387. +mandir='${datarootdir}/man'
  5388. +
  5389. +ac_prev=
  5390. +ac_dashdash=
  5391. +for ac_option
  5392. +do
  5393. + # If the previous option needs an argument, assign it.
  5394. + if test -n "$ac_prev"; then
  5395. + eval $ac_prev=\$ac_option
  5396. + ac_prev=
  5397. + continue
  5398. + fi
  5399. +
  5400. + case $ac_option in
  5401. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  5402. + *) ac_optarg=yes ;;
  5403. + esac
  5404. +
  5405. + # Accept the important Cygnus configure options, so we can diagnose typos.
  5406. +
  5407. + case $ac_dashdash$ac_option in
  5408. + --)
  5409. + ac_dashdash=yes ;;
  5410. +
  5411. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  5412. + ac_prev=bindir ;;
  5413. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  5414. + bindir=$ac_optarg ;;
  5415. +
  5416. + -build | --build | --buil | --bui | --bu)
  5417. + ac_prev=build_alias ;;
  5418. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  5419. + build_alias=$ac_optarg ;;
  5420. +
  5421. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  5422. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  5423. + ac_prev=cache_file ;;
  5424. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  5425. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  5426. + cache_file=$ac_optarg ;;
  5427. +
  5428. + --config-cache | -C)
  5429. + cache_file=config.cache ;;
  5430. +
  5431. + -datadir | --datadir | --datadi | --datad)
  5432. + ac_prev=datadir ;;
  5433. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  5434. + datadir=$ac_optarg ;;
  5435. +
  5436. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  5437. + | --dataroo | --dataro | --datar)
  5438. + ac_prev=datarootdir ;;
  5439. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  5440. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  5441. + datarootdir=$ac_optarg ;;
  5442. +
  5443. + -disable-* | --disable-*)
  5444. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  5445. + # Reject names that are not valid shell variable names.
  5446. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  5447. + as_fn_error "invalid feature name: $ac_useropt"
  5448. + ac_useropt_orig=$ac_useropt
  5449. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  5450. + case $ac_user_opts in
  5451. + *"
  5452. +"enable_$ac_useropt"
  5453. +"*) ;;
  5454. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  5455. + ac_unrecognized_sep=', ';;
  5456. + esac
  5457. + eval enable_$ac_useropt=no ;;
  5458. +
  5459. + -docdir | --docdir | --docdi | --doc | --do)
  5460. + ac_prev=docdir ;;
  5461. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  5462. + docdir=$ac_optarg ;;
  5463. +
  5464. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  5465. + ac_prev=dvidir ;;
  5466. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  5467. + dvidir=$ac_optarg ;;
  5468. +
  5469. + -enable-* | --enable-*)
  5470. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  5471. + # Reject names that are not valid shell variable names.
  5472. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  5473. + as_fn_error "invalid feature name: $ac_useropt"
  5474. + ac_useropt_orig=$ac_useropt
  5475. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  5476. + case $ac_user_opts in
  5477. + *"
  5478. +"enable_$ac_useropt"
  5479. +"*) ;;
  5480. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  5481. + ac_unrecognized_sep=', ';;
  5482. + esac
  5483. + eval enable_$ac_useropt=\$ac_optarg ;;
  5484. +
  5485. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  5486. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  5487. + | --exec | --exe | --ex)
  5488. + ac_prev=exec_prefix ;;
  5489. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  5490. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  5491. + | --exec=* | --exe=* | --ex=*)
  5492. + exec_prefix=$ac_optarg ;;
  5493. +
  5494. + -gas | --gas | --ga | --g)
  5495. + # Obsolete; use --with-gas.
  5496. + with_gas=yes ;;
  5497. +
  5498. + -help | --help | --hel | --he | -h)
  5499. + ac_init_help=long ;;
  5500. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  5501. + ac_init_help=recursive ;;
  5502. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  5503. + ac_init_help=short ;;
  5504. +
  5505. + -host | --host | --hos | --ho)
  5506. + ac_prev=host_alias ;;
  5507. + -host=* | --host=* | --hos=* | --ho=*)
  5508. + host_alias=$ac_optarg ;;
  5509. +
  5510. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  5511. + ac_prev=htmldir ;;
  5512. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  5513. + | --ht=*)
  5514. + htmldir=$ac_optarg ;;
  5515. +
  5516. + -includedir | --includedir | --includedi | --included | --include \
  5517. + | --includ | --inclu | --incl | --inc)
  5518. + ac_prev=includedir ;;
  5519. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  5520. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  5521. + includedir=$ac_optarg ;;
  5522. +
  5523. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  5524. + ac_prev=infodir ;;
  5525. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  5526. + infodir=$ac_optarg ;;
  5527. +
  5528. + -libdir | --libdir | --libdi | --libd)
  5529. + ac_prev=libdir ;;
  5530. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  5531. + libdir=$ac_optarg ;;
  5532. +
  5533. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  5534. + | --libexe | --libex | --libe)
  5535. + ac_prev=libexecdir ;;
  5536. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  5537. + | --libexe=* | --libex=* | --libe=*)
  5538. + libexecdir=$ac_optarg ;;
  5539. +
  5540. + -localedir | --localedir | --localedi | --localed | --locale)
  5541. + ac_prev=localedir ;;
  5542. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  5543. + localedir=$ac_optarg ;;
  5544. +
  5545. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  5546. + | --localstate | --localstat | --localsta | --localst | --locals)
  5547. + ac_prev=localstatedir ;;
  5548. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  5549. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  5550. + localstatedir=$ac_optarg ;;
  5551. +
  5552. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  5553. + ac_prev=mandir ;;
  5554. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  5555. + mandir=$ac_optarg ;;
  5556. +
  5557. + -nfp | --nfp | --nf)
  5558. + # Obsolete; use --without-fp.
  5559. + with_fp=no ;;
  5560. +
  5561. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  5562. + | --no-cr | --no-c | -n)
  5563. + no_create=yes ;;
  5564. +
  5565. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  5566. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  5567. + no_recursion=yes ;;
  5568. +
  5569. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  5570. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  5571. + | --oldin | --oldi | --old | --ol | --o)
  5572. + ac_prev=oldincludedir ;;
  5573. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  5574. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  5575. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  5576. + oldincludedir=$ac_optarg ;;
  5577. +
  5578. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  5579. + ac_prev=prefix ;;
  5580. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  5581. + prefix=$ac_optarg ;;
  5582. +
  5583. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  5584. + | --program-pre | --program-pr | --program-p)
  5585. + ac_prev=program_prefix ;;
  5586. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  5587. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  5588. + program_prefix=$ac_optarg ;;
  5589. +
  5590. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  5591. + | --program-suf | --program-su | --program-s)
  5592. + ac_prev=program_suffix ;;
  5593. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  5594. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  5595. + program_suffix=$ac_optarg ;;
  5596. +
  5597. + -program-transform-name | --program-transform-name \
  5598. + | --program-transform-nam | --program-transform-na \
  5599. + | --program-transform-n | --program-transform- \
  5600. + | --program-transform | --program-transfor \
  5601. + | --program-transfo | --program-transf \
  5602. + | --program-trans | --program-tran \
  5603. + | --progr-tra | --program-tr | --program-t)
  5604. + ac_prev=program_transform_name ;;
  5605. + -program-transform-name=* | --program-transform-name=* \
  5606. + | --program-transform-nam=* | --program-transform-na=* \
  5607. + | --program-transform-n=* | --program-transform-=* \
  5608. + | --program-transform=* | --program-transfor=* \
  5609. + | --program-transfo=* | --program-transf=* \
  5610. + | --program-trans=* | --program-tran=* \
  5611. + | --progr-tra=* | --program-tr=* | --program-t=*)
  5612. + program_transform_name=$ac_optarg ;;
  5613. +
  5614. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  5615. + ac_prev=pdfdir ;;
  5616. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  5617. + pdfdir=$ac_optarg ;;
  5618. +
  5619. + -psdir | --psdir | --psdi | --psd | --ps)
  5620. + ac_prev=psdir ;;
  5621. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  5622. + psdir=$ac_optarg ;;
  5623. +
  5624. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5625. + | -silent | --silent | --silen | --sile | --sil)
  5626. + silent=yes ;;
  5627. +
  5628. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  5629. + ac_prev=sbindir ;;
  5630. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  5631. + | --sbi=* | --sb=*)
  5632. + sbindir=$ac_optarg ;;
  5633. +
  5634. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  5635. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  5636. + | --sharedst | --shareds | --shared | --share | --shar \
  5637. + | --sha | --sh)
  5638. + ac_prev=sharedstatedir ;;
  5639. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  5640. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  5641. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  5642. + | --sha=* | --sh=*)
  5643. + sharedstatedir=$ac_optarg ;;
  5644. +
  5645. + -site | --site | --sit)
  5646. + ac_prev=site ;;
  5647. + -site=* | --site=* | --sit=*)
  5648. + site=$ac_optarg ;;
  5649. +
  5650. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  5651. + ac_prev=srcdir ;;
  5652. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  5653. + srcdir=$ac_optarg ;;
  5654. +
  5655. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  5656. + | --syscon | --sysco | --sysc | --sys | --sy)
  5657. + ac_prev=sysconfdir ;;
  5658. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  5659. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  5660. + sysconfdir=$ac_optarg ;;
  5661. +
  5662. + -target | --target | --targe | --targ | --tar | --ta | --t)
  5663. + ac_prev=target_alias ;;
  5664. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  5665. + target_alias=$ac_optarg ;;
  5666. +
  5667. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  5668. + verbose=yes ;;
  5669. +
  5670. + -version | --version | --versio | --versi | --vers | -V)
  5671. + ac_init_version=: ;;
  5672. +
  5673. + -with-* | --with-*)
  5674. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  5675. + # Reject names that are not valid shell variable names.
  5676. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  5677. + as_fn_error "invalid package name: $ac_useropt"
  5678. + ac_useropt_orig=$ac_useropt
  5679. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  5680. + case $ac_user_opts in
  5681. + *"
  5682. +"with_$ac_useropt"
  5683. +"*) ;;
  5684. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  5685. + ac_unrecognized_sep=', ';;
  5686. + esac
  5687. + eval with_$ac_useropt=\$ac_optarg ;;
  5688. +
  5689. + -without-* | --without-*)
  5690. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  5691. + # Reject names that are not valid shell variable names.
  5692. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  5693. + as_fn_error "invalid package name: $ac_useropt"
  5694. + ac_useropt_orig=$ac_useropt
  5695. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  5696. + case $ac_user_opts in
  5697. + *"
  5698. +"with_$ac_useropt"
  5699. +"*) ;;
  5700. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  5701. + ac_unrecognized_sep=', ';;
  5702. + esac
  5703. + eval with_$ac_useropt=no ;;
  5704. +
  5705. + --x)
  5706. + # Obsolete; use --with-x.
  5707. + with_x=yes ;;
  5708. +
  5709. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  5710. + | --x-incl | --x-inc | --x-in | --x-i)
  5711. + ac_prev=x_includes ;;
  5712. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  5713. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  5714. + x_includes=$ac_optarg ;;
  5715. +
  5716. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  5717. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  5718. + ac_prev=x_libraries ;;
  5719. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  5720. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  5721. + x_libraries=$ac_optarg ;;
  5722. +
  5723. + -*) as_fn_error "unrecognized option: \`$ac_option'
  5724. +Try \`$0 --help' for more information."
  5725. + ;;
  5726. +
  5727. + *=*)
  5728. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  5729. + # Reject names that are not valid shell variable names.
  5730. + case $ac_envvar in #(
  5731. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  5732. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  5733. + esac
  5734. + eval $ac_envvar=\$ac_optarg
  5735. + export $ac_envvar ;;
  5736. +
  5737. + *)
  5738. + # FIXME: should be removed in autoconf 3.0.
  5739. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  5740. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  5741. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  5742. + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  5743. + ;;
  5744. +
  5745. + esac
  5746. +done
  5747. +
  5748. +if test -n "$ac_prev"; then
  5749. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  5750. + as_fn_error "missing argument to $ac_option"
  5751. +fi
  5752. +
  5753. +if test -n "$ac_unrecognized_opts"; then
  5754. + case $enable_option_checking in
  5755. + no) ;;
  5756. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  5757. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  5758. + esac
  5759. +fi
  5760. +
  5761. +# Check all directory arguments for consistency.
  5762. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  5763. + datadir sysconfdir sharedstatedir localstatedir includedir \
  5764. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  5765. + libdir localedir mandir
  5766. +do
  5767. + eval ac_val=\$$ac_var
  5768. + # Remove trailing slashes.
  5769. + case $ac_val in
  5770. + */ )
  5771. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  5772. + eval $ac_var=\$ac_val;;
  5773. + esac
  5774. + # Be sure to have absolute directory names.
  5775. + case $ac_val in
  5776. + [\\/$]* | ?:[\\/]* ) continue;;
  5777. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  5778. + esac
  5779. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  5780. +done
  5781. +
  5782. +# There might be people who depend on the old broken behavior: `$host'
  5783. +# used to hold the argument of --host etc.
  5784. +# FIXME: To remove some day.
  5785. +build=$build_alias
  5786. +host=$host_alias
  5787. +target=$target_alias
  5788. +
  5789. +# FIXME: To remove some day.
  5790. +if test "x$host_alias" != x; then
  5791. + if test "x$build_alias" = x; then
  5792. + cross_compiling=maybe
  5793. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  5794. + If a cross compiler is detected then cross compile mode will be used." >&2
  5795. + elif test "x$build_alias" != "x$host_alias"; then
  5796. + cross_compiling=yes
  5797. + fi
  5798. +fi
  5799. +
  5800. +ac_tool_prefix=
  5801. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  5802. +
  5803. +test "$silent" = yes && exec 6>/dev/null
  5804. +
  5805. +
  5806. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  5807. +ac_ls_di=`ls -di .` &&
  5808. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  5809. + as_fn_error "working directory cannot be determined"
  5810. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  5811. + as_fn_error "pwd does not report name of working directory"
  5812. +
  5813. +
  5814. +# Find the source files, if location was not specified.
  5815. +if test -z "$srcdir"; then
  5816. + ac_srcdir_defaulted=yes
  5817. + # Try the directory containing this script, then the parent directory.
  5818. + ac_confdir=`$as_dirname -- "$as_myself" ||
  5819. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5820. + X"$as_myself" : 'X\(//\)[^/]' \| \
  5821. + X"$as_myself" : 'X\(//\)$' \| \
  5822. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  5823. +$as_echo X"$as_myself" |
  5824. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5825. + s//\1/
  5826. + q
  5827. + }
  5828. + /^X\(\/\/\)[^/].*/{
  5829. + s//\1/
  5830. + q
  5831. + }
  5832. + /^X\(\/\/\)$/{
  5833. + s//\1/
  5834. + q
  5835. + }
  5836. + /^X\(\/\).*/{
  5837. + s//\1/
  5838. + q
  5839. + }
  5840. + s/.*/./; q'`
  5841. + srcdir=$ac_confdir
  5842. + if test ! -r "$srcdir/$ac_unique_file"; then
  5843. + srcdir=..
  5844. + fi
  5845. +else
  5846. + ac_srcdir_defaulted=no
  5847. +fi
  5848. +if test ! -r "$srcdir/$ac_unique_file"; then
  5849. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  5850. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  5851. +fi
  5852. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  5853. +ac_abs_confdir=`(
  5854. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  5855. + pwd)`
  5856. +# When building in place, set srcdir=.
  5857. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  5858. + srcdir=.
  5859. +fi
  5860. +# Remove unnecessary trailing slashes from srcdir.
  5861. +# Double slashes in file names in object file debugging info
  5862. +# mess up M-x gdb in Emacs.
  5863. +case $srcdir in
  5864. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  5865. +esac
  5866. +for ac_var in $ac_precious_vars; do
  5867. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  5868. + eval ac_env_${ac_var}_value=\$${ac_var}
  5869. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  5870. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  5871. +done
  5872. +
  5873. +#
  5874. +# Report the --help message.
  5875. +#
  5876. +if test "$ac_init_help" = "long"; then
  5877. + # Omit some internal or obsolete options to make the list less imposing.
  5878. + # This message is too long to be a string in the A/UX 3.1 sh.
  5879. + cat <<_ACEOF
  5880. +\`configure' configures this package to adapt to many kinds of systems.
  5881. +
  5882. +Usage: $0 [OPTION]... [VAR=VALUE]...
  5883. +
  5884. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  5885. +VAR=VALUE. See below for descriptions of some of the useful variables.
  5886. +
  5887. +Defaults for the options are specified in brackets.
  5888. +
  5889. +Configuration:
  5890. + -h, --help display this help and exit
  5891. + --help=short display options specific to this package
  5892. + --help=recursive display the short help of all the included packages
  5893. + -V, --version display version information and exit
  5894. + -q, --quiet, --silent do not print \`checking...' messages
  5895. + --cache-file=FILE cache test results in FILE [disabled]
  5896. + -C, --config-cache alias for \`--cache-file=config.cache'
  5897. + -n, --no-create do not create output files
  5898. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  5899. +
  5900. +Installation directories:
  5901. + --prefix=PREFIX install architecture-independent files in PREFIX
  5902. + [$ac_default_prefix]
  5903. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  5904. + [PREFIX]
  5905. +
  5906. +By default, \`make install' will install all the files in
  5907. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  5908. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  5909. +for instance \`--prefix=\$HOME'.
  5910. +
  5911. +For better control, use the options below.
  5912. +
  5913. +Fine tuning of the installation directories:
  5914. + --bindir=DIR user executables [EPREFIX/bin]
  5915. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  5916. + --libexecdir=DIR program executables [EPREFIX/libexec]
  5917. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  5918. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  5919. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  5920. + --libdir=DIR object code libraries [EPREFIX/lib]
  5921. + --includedir=DIR C header files [PREFIX/include]
  5922. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  5923. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  5924. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  5925. + --infodir=DIR info documentation [DATAROOTDIR/info]
  5926. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  5927. + --mandir=DIR man documentation [DATAROOTDIR/man]
  5928. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
  5929. + --htmldir=DIR html documentation [DOCDIR]
  5930. + --dvidir=DIR dvi documentation [DOCDIR]
  5931. + --pdfdir=DIR pdf documentation [DOCDIR]
  5932. + --psdir=DIR ps documentation [DOCDIR]
  5933. +_ACEOF
  5934. +
  5935. + cat <<\_ACEOF
  5936. +
  5937. +Program names:
  5938. + --program-prefix=PREFIX prepend PREFIX to installed program names
  5939. + --program-suffix=SUFFIX append SUFFIX to installed program names
  5940. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  5941. +
  5942. +System types:
  5943. + --build=BUILD configure for building on BUILD [guessed]
  5944. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  5945. + --target=TARGET configure for building compilers for TARGET [HOST]
  5946. +_ACEOF
  5947. +fi
  5948. +
  5949. +if test -n "$ac_init_help"; then
  5950. +
  5951. + cat <<\_ACEOF
  5952. +
  5953. +Optional Features:
  5954. + --disable-option-checking ignore unrecognized --enable/--with options
  5955. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  5956. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  5957. + --disable-dependency-tracking speeds up one-time build
  5958. + --enable-dependency-tracking do not reject slow dependency extractors
  5959. + --enable-plugins Enable support for plugins (defaults no)
  5960. + --disable-largefile omit support for large files
  5961. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  5962. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  5963. + --enable-fast-install@<:@=PKGS@:>@
  5964. + optimize for fast installation @<:@default=yes@:>@
  5965. + --disable-libtool-lock avoid locking (might break parallel builds)
  5966. + --enable-targets alternative target configurations besides the primary
  5967. + --enable-checking enable run-time checks
  5968. + --enable-werror treat compile warnings as errors
  5969. + --enable-build-warnings enable build-time compiler warnings
  5970. + --disable-nls do not use Native Language Support
  5971. + --enable-maintainer-mode enable make rules and dependencies not useful
  5972. + (and sometimes confusing) to the casual installer
  5973. +
  5974. +Optional Packages:
  5975. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  5976. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  5977. + --with-pic try to use only PIC/non-PIC objects @<:@default=use
  5978. + both@:>@
  5979. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  5980. + --with-zlib include zlib support (auto/yes/no) default=auto
  5981. +
  5982. +Some influential environment variables:
  5983. + CC C compiler command
  5984. + CFLAGS C compiler flags
  5985. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  5986. + nonstandard directory <lib dir>
  5987. + LIBS libraries to pass to the linker, e.g. -l<library>
  5988. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  5989. + you have headers in a nonstandard directory <include dir>
  5990. + CPP C preprocessor
  5991. + YACC The `Yet Another C Compiler' implementation to use. Defaults to
  5992. + the first program found out of: `bison -y', `byacc', `yacc'.
  5993. + YFLAGS The list of arguments that will be passed by default to $YACC.
  5994. + This script will default YFLAGS to the empty string to avoid a
  5995. + default value of `-d' given by some make applications.
  5996. +
  5997. +Use these variables to override the choices made by `configure' or to help
  5998. +it to find libraries and programs with nonstandard names/locations.
  5999. +
  6000. +Report bugs to the package provider.
  6001. +_ACEOF
  6002. +ac_status=$?
  6003. +fi
  6004. +
  6005. +if test "$ac_init_help" = "recursive"; then
  6006. + # If there are subdirs, report their specific --help.
  6007. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  6008. + test -d "$ac_dir" ||
  6009. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  6010. + continue
  6011. + ac_builddir=.
  6012. +
  6013. +case "$ac_dir" in
  6014. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  6015. +*)
  6016. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  6017. + # A ".." for each directory in $ac_dir_suffix.
  6018. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  6019. + case $ac_top_builddir_sub in
  6020. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  6021. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  6022. + esac ;;
  6023. +esac
  6024. +ac_abs_top_builddir=$ac_pwd
  6025. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  6026. +# for backward compatibility:
  6027. +ac_top_builddir=$ac_top_build_prefix
  6028. +
  6029. +case $srcdir in
  6030. + .) # We are building in place.
  6031. + ac_srcdir=.
  6032. + ac_top_srcdir=$ac_top_builddir_sub
  6033. + ac_abs_top_srcdir=$ac_pwd ;;
  6034. + [\\/]* | ?:[\\/]* ) # Absolute name.
  6035. + ac_srcdir=$srcdir$ac_dir_suffix;
  6036. + ac_top_srcdir=$srcdir
  6037. + ac_abs_top_srcdir=$srcdir ;;
  6038. + *) # Relative name.
  6039. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  6040. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  6041. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  6042. +esac
  6043. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  6044. +
  6045. + cd "$ac_dir" || { ac_status=$?; continue; }
  6046. + # Check for guested configure.
  6047. + if test -f "$ac_srcdir/configure.gnu"; then
  6048. + echo &&
  6049. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  6050. + elif test -f "$ac_srcdir/configure"; then
  6051. + echo &&
  6052. + $SHELL "$ac_srcdir/configure" --help=recursive
  6053. + else
  6054. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  6055. + fi || ac_status=$?
  6056. + cd "$ac_pwd" || { ac_status=$?; break; }
  6057. + done
  6058. +fi
  6059. +
  6060. +test -n "$ac_init_help" && exit $ac_status
  6061. +if $ac_init_version; then
  6062. + cat <<\_ACEOF
  6063. +configure
  6064. +generated by GNU Autoconf 2.64
  6065. +
  6066. +Copyright (C) 2009 Free Software Foundation, Inc.
  6067. +This configure script is free software; the Free Software Foundation
  6068. +gives unlimited permission to copy, distribute and modify it.
  6069. +_ACEOF
  6070. + exit
  6071. +fi
  6072. +
  6073. +## ------------------------ ##
  6074. +## Autoconf initialization. ##
  6075. +## ------------------------ ##
  6076. +
  6077. +@%:@ ac_fn_c_try_compile LINENO
  6078. +@%:@ --------------------------
  6079. +@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded.
  6080. +ac_fn_c_try_compile ()
  6081. +{
  6082. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6083. + rm -f conftest.$ac_objext
  6084. + if { { ac_try="$ac_compile"
  6085. +case "(($ac_try" in
  6086. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6087. + *) ac_try_echo=$ac_try;;
  6088. +esac
  6089. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6090. +$as_echo "$ac_try_echo"; } >&5
  6091. + (eval "$ac_compile") 2>conftest.err
  6092. + ac_status=$?
  6093. + if test -s conftest.err; then
  6094. + grep -v '^ *+' conftest.err >conftest.er1
  6095. + cat conftest.er1 >&5
  6096. + mv -f conftest.er1 conftest.err
  6097. + fi
  6098. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6099. + test $ac_status = 0; } && {
  6100. + test -z "$ac_c_werror_flag" ||
  6101. + test ! -s conftest.err
  6102. + } && test -s conftest.$ac_objext; then :
  6103. + ac_retval=0
  6104. +else
  6105. + $as_echo "$as_me: failed program was:" >&5
  6106. +sed 's/^/| /' conftest.$ac_ext >&5
  6107. +
  6108. + ac_retval=1
  6109. +fi
  6110. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6111. + return $ac_retval
  6112. +
  6113. +} @%:@ ac_fn_c_try_compile
  6114. +
  6115. +@%:@ ac_fn_c_try_link LINENO
  6116. +@%:@ -----------------------
  6117. +@%:@ Try to link conftest.$ac_ext, and return whether this succeeded.
  6118. +ac_fn_c_try_link ()
  6119. +{
  6120. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6121. + rm -f conftest.$ac_objext conftest$ac_exeext
  6122. + if { { ac_try="$ac_link"
  6123. +case "(($ac_try" in
  6124. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6125. + *) ac_try_echo=$ac_try;;
  6126. +esac
  6127. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6128. +$as_echo "$ac_try_echo"; } >&5
  6129. + (eval "$ac_link") 2>conftest.err
  6130. + ac_status=$?
  6131. + if test -s conftest.err; then
  6132. + grep -v '^ *+' conftest.err >conftest.er1
  6133. + cat conftest.er1 >&5
  6134. + mv -f conftest.er1 conftest.err
  6135. + fi
  6136. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6137. + test $ac_status = 0; } && {
  6138. + test -z "$ac_c_werror_flag" ||
  6139. + test ! -s conftest.err
  6140. + } && test -s conftest$ac_exeext && {
  6141. + test "$cross_compiling" = yes ||
  6142. + $as_test_x conftest$ac_exeext
  6143. + }; then :
  6144. + ac_retval=0
  6145. +else
  6146. + $as_echo "$as_me: failed program was:" >&5
  6147. +sed 's/^/| /' conftest.$ac_ext >&5
  6148. +
  6149. + ac_retval=1
  6150. +fi
  6151. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  6152. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  6153. + # interfere with the next link command; also delete a directory that is
  6154. + # left behind by Apple's compiler. We do this before executing the actions.
  6155. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  6156. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6157. + return $ac_retval
  6158. +
  6159. +} @%:@ ac_fn_c_try_link
  6160. +
  6161. +@%:@ ac_fn_c_try_cpp LINENO
  6162. +@%:@ ----------------------
  6163. +@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  6164. +ac_fn_c_try_cpp ()
  6165. +{
  6166. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6167. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  6168. +case "(($ac_try" in
  6169. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6170. + *) ac_try_echo=$ac_try;;
  6171. +esac
  6172. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6173. +$as_echo "$ac_try_echo"; } >&5
  6174. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  6175. + ac_status=$?
  6176. + if test -s conftest.err; then
  6177. + grep -v '^ *+' conftest.err >conftest.er1
  6178. + cat conftest.er1 >&5
  6179. + mv -f conftest.er1 conftest.err
  6180. + fi
  6181. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6182. + test $ac_status = 0; } >/dev/null && {
  6183. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6184. + test ! -s conftest.err
  6185. + }; then :
  6186. + ac_retval=0
  6187. +else
  6188. + $as_echo "$as_me: failed program was:" >&5
  6189. +sed 's/^/| /' conftest.$ac_ext >&5
  6190. +
  6191. + ac_retval=1
  6192. +fi
  6193. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6194. + return $ac_retval
  6195. +
  6196. +} @%:@ ac_fn_c_try_cpp
  6197. +
  6198. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  6199. +@%:@ -------------------------------------------------------
  6200. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  6201. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  6202. +@%:@ accordingly.
  6203. +ac_fn_c_check_header_mongrel ()
  6204. +{
  6205. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6206. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6207. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  6208. +$as_echo_n "checking for $2... " >&6; }
  6209. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6210. + $as_echo_n "(cached) " >&6
  6211. +fi
  6212. +eval ac_res=\$$3
  6213. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6214. +$as_echo "$ac_res" >&6; }
  6215. +else
  6216. + # Is the header compilable?
  6217. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  6218. +$as_echo_n "checking $2 usability... " >&6; }
  6219. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6220. +/* end confdefs.h. */
  6221. +$4
  6222. +@%:@include <$2>
  6223. +_ACEOF
  6224. +if ac_fn_c_try_compile "$LINENO"; then :
  6225. + ac_header_compiler=yes
  6226. +else
  6227. + ac_header_compiler=no
  6228. +fi
  6229. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6230. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  6231. +$as_echo "$ac_header_compiler" >&6; }
  6232. +
  6233. +# Is the header present?
  6234. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  6235. +$as_echo_n "checking $2 presence... " >&6; }
  6236. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6237. +/* end confdefs.h. */
  6238. +@%:@include <$2>
  6239. +_ACEOF
  6240. +if ac_fn_c_try_cpp "$LINENO"; then :
  6241. + ac_header_preproc=yes
  6242. +else
  6243. + ac_header_preproc=no
  6244. +fi
  6245. +rm -f conftest.err conftest.$ac_ext
  6246. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  6247. +$as_echo "$ac_header_preproc" >&6; }
  6248. +
  6249. +# So? What about this header?
  6250. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  6251. + yes:no: )
  6252. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  6253. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6254. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  6255. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  6256. + ;;
  6257. + no:yes:* )
  6258. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  6259. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  6260. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  6261. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  6262. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  6263. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  6264. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  6265. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  6266. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  6267. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  6268. + ;;
  6269. +esac
  6270. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  6271. +$as_echo_n "checking for $2... " >&6; }
  6272. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6273. + $as_echo_n "(cached) " >&6
  6274. +else
  6275. + eval "$3=\$ac_header_compiler"
  6276. +fi
  6277. +eval ac_res=\$$3
  6278. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6279. +$as_echo "$ac_res" >&6; }
  6280. +fi
  6281. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6282. +
  6283. +} @%:@ ac_fn_c_check_header_mongrel
  6284. +
  6285. +@%:@ ac_fn_c_try_run LINENO
  6286. +@%:@ ----------------------
  6287. +@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  6288. +@%:@ that executables *can* be run.
  6289. +ac_fn_c_try_run ()
  6290. +{
  6291. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6292. + if { { ac_try="$ac_link"
  6293. +case "(($ac_try" in
  6294. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6295. + *) ac_try_echo=$ac_try;;
  6296. +esac
  6297. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6298. +$as_echo "$ac_try_echo"; } >&5
  6299. + (eval "$ac_link") 2>&5
  6300. + ac_status=$?
  6301. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6302. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  6303. + { { case "(($ac_try" in
  6304. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6305. + *) ac_try_echo=$ac_try;;
  6306. +esac
  6307. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  6308. +$as_echo "$ac_try_echo"; } >&5
  6309. + (eval "$ac_try") 2>&5
  6310. + ac_status=$?
  6311. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6312. + test $ac_status = 0; }; }; then :
  6313. + ac_retval=0
  6314. +else
  6315. + $as_echo "$as_me: program exited with status $ac_status" >&5
  6316. + $as_echo "$as_me: failed program was:" >&5
  6317. +sed 's/^/| /' conftest.$ac_ext >&5
  6318. +
  6319. + ac_retval=$ac_status
  6320. +fi
  6321. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  6322. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6323. + return $ac_retval
  6324. +
  6325. +} @%:@ ac_fn_c_try_run
  6326. +
  6327. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  6328. +@%:@ -------------------------------------------------------
  6329. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  6330. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  6331. +ac_fn_c_check_header_compile ()
  6332. +{
  6333. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6334. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  6335. +$as_echo_n "checking for $2... " >&6; }
  6336. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6337. + $as_echo_n "(cached) " >&6
  6338. +else
  6339. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6340. +/* end confdefs.h. */
  6341. +$4
  6342. +@%:@include <$2>
  6343. +_ACEOF
  6344. +if ac_fn_c_try_compile "$LINENO"; then :
  6345. + eval "$3=yes"
  6346. +else
  6347. + eval "$3=no"
  6348. +fi
  6349. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6350. +fi
  6351. +eval ac_res=\$$3
  6352. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6353. +$as_echo "$ac_res" >&6; }
  6354. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6355. +
  6356. +} @%:@ ac_fn_c_check_header_compile
  6357. +
  6358. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  6359. +@%:@ ----------------------------------
  6360. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  6361. +ac_fn_c_check_func ()
  6362. +{
  6363. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6364. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  6365. +$as_echo_n "checking for $2... " >&6; }
  6366. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6367. + $as_echo_n "(cached) " >&6
  6368. +else
  6369. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6370. +/* end confdefs.h. */
  6371. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  6372. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  6373. +#define $2 innocuous_$2
  6374. +
  6375. +/* System header to define __stub macros and hopefully few prototypes,
  6376. + which can conflict with char $2 (); below.
  6377. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6378. + <limits.h> exists even on freestanding compilers. */
  6379. +
  6380. +#ifdef __STDC__
  6381. +# include <limits.h>
  6382. +#else
  6383. +# include <assert.h>
  6384. +#endif
  6385. +
  6386. +#undef $2
  6387. +
  6388. +/* Override any GCC internal prototype to avoid an error.
  6389. + Use char because int might match the return type of a GCC
  6390. + builtin and then its argument prototype would still apply. */
  6391. +#ifdef __cplusplus
  6392. +extern "C"
  6393. +#endif
  6394. +char $2 ();
  6395. +/* The GNU C library defines this for functions which it implements
  6396. + to always fail with ENOSYS. Some functions are actually named
  6397. + something starting with __ and the normal name is an alias. */
  6398. +#if defined __stub_$2 || defined __stub___$2
  6399. +choke me
  6400. +#endif
  6401. +
  6402. +int
  6403. +main ()
  6404. +{
  6405. +return $2 ();
  6406. + ;
  6407. + return 0;
  6408. +}
  6409. +_ACEOF
  6410. +if ac_fn_c_try_link "$LINENO"; then :
  6411. + eval "$3=yes"
  6412. +else
  6413. + eval "$3=no"
  6414. +fi
  6415. +rm -f core conftest.err conftest.$ac_objext \
  6416. + conftest$ac_exeext conftest.$ac_ext
  6417. +fi
  6418. +eval ac_res=\$$3
  6419. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6420. +$as_echo "$ac_res" >&6; }
  6421. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6422. +
  6423. +} @%:@ ac_fn_c_check_func
  6424. +
  6425. +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR
  6426. +@%:@ ------------------------------------
  6427. +@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
  6428. +ac_fn_c_check_decl ()
  6429. +{
  6430. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  6431. + as_decl_name=`echo $2|sed 's/ *(.*//'`
  6432. + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  6433. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  6434. +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  6435. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  6436. + $as_echo_n "(cached) " >&6
  6437. +else
  6438. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6439. +/* end confdefs.h. */
  6440. +$4
  6441. +int
  6442. +main ()
  6443. +{
  6444. +@%:@ifndef $as_decl_name
  6445. +@%:@ifdef __cplusplus
  6446. + (void) $as_decl_use;
  6447. +@%:@else
  6448. + (void) $as_decl_name;
  6449. +@%:@endif
  6450. +@%:@endif
  6451. +
  6452. + ;
  6453. + return 0;
  6454. +}
  6455. +_ACEOF
  6456. +if ac_fn_c_try_compile "$LINENO"; then :
  6457. + eval "$3=yes"
  6458. +else
  6459. + eval "$3=no"
  6460. +fi
  6461. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6462. +fi
  6463. +eval ac_res=\$$3
  6464. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  6465. +$as_echo "$ac_res" >&6; }
  6466. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  6467. +
  6468. +} @%:@ ac_fn_c_check_decl
  6469. +cat >config.log <<_ACEOF
  6470. +This file contains any messages produced by compilers while
  6471. +running configure, to aid debugging if configure makes a mistake.
  6472. +
  6473. +It was created by $as_me, which was
  6474. +generated by GNU Autoconf 2.64. Invocation command line was
  6475. +
  6476. + $ $0 $@
  6477. +
  6478. +_ACEOF
  6479. +exec 5>>config.log
  6480. +{
  6481. +cat <<_ASUNAME
  6482. +## --------- ##
  6483. +## Platform. ##
  6484. +## --------- ##
  6485. +
  6486. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  6487. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  6488. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  6489. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  6490. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  6491. +
  6492. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  6493. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  6494. +
  6495. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  6496. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  6497. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  6498. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  6499. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  6500. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  6501. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  6502. +
  6503. +_ASUNAME
  6504. +
  6505. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6506. +for as_dir in $PATH
  6507. +do
  6508. + IFS=$as_save_IFS
  6509. + test -z "$as_dir" && as_dir=.
  6510. + $as_echo "PATH: $as_dir"
  6511. + done
  6512. +IFS=$as_save_IFS
  6513. +
  6514. +} >&5
  6515. +
  6516. +cat >&5 <<_ACEOF
  6517. +
  6518. +
  6519. +## ----------- ##
  6520. +## Core tests. ##
  6521. +## ----------- ##
  6522. +
  6523. +_ACEOF
  6524. +
  6525. +
  6526. +# Keep a trace of the command line.
  6527. +# Strip out --no-create and --no-recursion so they do not pile up.
  6528. +# Strip out --silent because we don't want to record it for future runs.
  6529. +# Also quote any args containing shell meta-characters.
  6530. +# Make two passes to allow for proper duplicate-argument suppression.
  6531. +ac_configure_args=
  6532. +ac_configure_args0=
  6533. +ac_configure_args1=
  6534. +ac_must_keep_next=false
  6535. +for ac_pass in 1 2
  6536. +do
  6537. + for ac_arg
  6538. + do
  6539. + case $ac_arg in
  6540. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  6541. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  6542. + | -silent | --silent | --silen | --sile | --sil)
  6543. + continue ;;
  6544. + *\'*)
  6545. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  6546. + esac
  6547. + case $ac_pass in
  6548. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  6549. + 2)
  6550. + as_fn_append ac_configure_args1 " '$ac_arg'"
  6551. + if test $ac_must_keep_next = true; then
  6552. + ac_must_keep_next=false # Got value, back to normal.
  6553. + else
  6554. + case $ac_arg in
  6555. + *=* | --config-cache | -C | -disable-* | --disable-* \
  6556. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  6557. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  6558. + | -with-* | --with-* | -without-* | --without-* | --x)
  6559. + case "$ac_configure_args0 " in
  6560. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  6561. + esac
  6562. + ;;
  6563. + -* ) ac_must_keep_next=true ;;
  6564. + esac
  6565. + fi
  6566. + as_fn_append ac_configure_args " '$ac_arg'"
  6567. + ;;
  6568. + esac
  6569. + done
  6570. +done
  6571. +{ ac_configure_args0=; unset ac_configure_args0;}
  6572. +{ ac_configure_args1=; unset ac_configure_args1;}
  6573. +
  6574. +# When interrupted or exit'd, cleanup temporary files, and complete
  6575. +# config.log. We remove comments because anyway the quotes in there
  6576. +# would cause problems or look ugly.
  6577. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  6578. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  6579. +trap 'exit_status=$?
  6580. + # Save into config.log some information that might help in debugging.
  6581. + {
  6582. + echo
  6583. +
  6584. + cat <<\_ASBOX
  6585. +## ---------------- ##
  6586. +## Cache variables. ##
  6587. +## ---------------- ##
  6588. +_ASBOX
  6589. + echo
  6590. + # The following way of writing the cache mishandles newlines in values,
  6591. +(
  6592. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  6593. + eval ac_val=\$$ac_var
  6594. + case $ac_val in #(
  6595. + *${as_nl}*)
  6596. + case $ac_var in #(
  6597. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  6598. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  6599. + esac
  6600. + case $ac_var in #(
  6601. + _ | IFS | as_nl) ;; #(
  6602. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  6603. + *) { eval $ac_var=; unset $ac_var;} ;;
  6604. + esac ;;
  6605. + esac
  6606. + done
  6607. + (set) 2>&1 |
  6608. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  6609. + *${as_nl}ac_space=\ *)
  6610. + sed -n \
  6611. + "s/'\''/'\''\\\\'\'''\''/g;
  6612. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  6613. + ;; #(
  6614. + *)
  6615. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6616. + ;;
  6617. + esac |
  6618. + sort
  6619. +)
  6620. + echo
  6621. +
  6622. + cat <<\_ASBOX
  6623. +## ----------------- ##
  6624. +## Output variables. ##
  6625. +## ----------------- ##
  6626. +_ASBOX
  6627. + echo
  6628. + for ac_var in $ac_subst_vars
  6629. + do
  6630. + eval ac_val=\$$ac_var
  6631. + case $ac_val in
  6632. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  6633. + esac
  6634. + $as_echo "$ac_var='\''$ac_val'\''"
  6635. + done | sort
  6636. + echo
  6637. +
  6638. + if test -n "$ac_subst_files"; then
  6639. + cat <<\_ASBOX
  6640. +## ------------------- ##
  6641. +## File substitutions. ##
  6642. +## ------------------- ##
  6643. +_ASBOX
  6644. + echo
  6645. + for ac_var in $ac_subst_files
  6646. + do
  6647. + eval ac_val=\$$ac_var
  6648. + case $ac_val in
  6649. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  6650. + esac
  6651. + $as_echo "$ac_var='\''$ac_val'\''"
  6652. + done | sort
  6653. + echo
  6654. + fi
  6655. +
  6656. + if test -s confdefs.h; then
  6657. + cat <<\_ASBOX
  6658. +## ----------- ##
  6659. +## confdefs.h. ##
  6660. +## ----------- ##
  6661. +_ASBOX
  6662. + echo
  6663. + cat confdefs.h
  6664. + echo
  6665. + fi
  6666. + test "$ac_signal" != 0 &&
  6667. + $as_echo "$as_me: caught signal $ac_signal"
  6668. + $as_echo "$as_me: exit $exit_status"
  6669. + } >&5
  6670. + rm -f core *.core core.conftest.* &&
  6671. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  6672. + exit $exit_status
  6673. +' 0
  6674. +for ac_signal in 1 2 13 15; do
  6675. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  6676. +done
  6677. +ac_signal=0
  6678. +
  6679. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  6680. +rm -f -r conftest* confdefs.h
  6681. +
  6682. +$as_echo "/* confdefs.h */" > confdefs.h
  6683. +
  6684. +# Predefined preprocessor variables.
  6685. +
  6686. +cat >>confdefs.h <<_ACEOF
  6687. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  6688. +_ACEOF
  6689. +
  6690. +cat >>confdefs.h <<_ACEOF
  6691. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  6692. +_ACEOF
  6693. +
  6694. +cat >>confdefs.h <<_ACEOF
  6695. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  6696. +_ACEOF
  6697. +
  6698. +cat >>confdefs.h <<_ACEOF
  6699. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  6700. +_ACEOF
  6701. +
  6702. +cat >>confdefs.h <<_ACEOF
  6703. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  6704. +_ACEOF
  6705. +
  6706. +cat >>confdefs.h <<_ACEOF
  6707. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  6708. +_ACEOF
  6709. +
  6710. +
  6711. +# Let the site file select an alternate cache file if it wants to.
  6712. +# Prefer an explicitly selected file to automatically selected ones.
  6713. +ac_site_file1=NONE
  6714. +ac_site_file2=NONE
  6715. +if test -n "$CONFIG_SITE"; then
  6716. + ac_site_file1=$CONFIG_SITE
  6717. +elif test "x$prefix" != xNONE; then
  6718. + ac_site_file1=$prefix/share/config.site
  6719. + ac_site_file2=$prefix/etc/config.site
  6720. +else
  6721. + ac_site_file1=$ac_default_prefix/share/config.site
  6722. + ac_site_file2=$ac_default_prefix/etc/config.site
  6723. +fi
  6724. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  6725. +do
  6726. + test "x$ac_site_file" = xNONE && continue
  6727. + if test -r "$ac_site_file"; then
  6728. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  6729. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  6730. + sed 's/^/| /' "$ac_site_file" >&5
  6731. + . "$ac_site_file"
  6732. + fi
  6733. +done
  6734. +
  6735. +if test -r "$cache_file"; then
  6736. + # Some versions of bash will fail to source /dev/null (special
  6737. + # files actually), so we avoid doing that.
  6738. + if test -f "$cache_file"; then
  6739. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  6740. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  6741. + case $cache_file in
  6742. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  6743. + *) . "./$cache_file";;
  6744. + esac
  6745. + fi
  6746. +else
  6747. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  6748. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  6749. + >$cache_file
  6750. +fi
  6751. +
  6752. +# Check that the precious variables saved in the cache have kept the same
  6753. +# value.
  6754. +ac_cache_corrupted=false
  6755. +for ac_var in $ac_precious_vars; do
  6756. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  6757. + eval ac_new_set=\$ac_env_${ac_var}_set
  6758. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  6759. + eval ac_new_val=\$ac_env_${ac_var}_value
  6760. + case $ac_old_set,$ac_new_set in
  6761. + set,)
  6762. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  6763. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  6764. + ac_cache_corrupted=: ;;
  6765. + ,set)
  6766. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  6767. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  6768. + ac_cache_corrupted=: ;;
  6769. + ,);;
  6770. + *)
  6771. + if test "x$ac_old_val" != "x$ac_new_val"; then
  6772. + # differences in whitespace do not lead to failure.
  6773. + ac_old_val_w=`echo x $ac_old_val`
  6774. + ac_new_val_w=`echo x $ac_new_val`
  6775. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  6776. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  6777. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  6778. + ac_cache_corrupted=:
  6779. + else
  6780. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  6781. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  6782. + eval $ac_var=\$ac_old_val
  6783. + fi
  6784. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  6785. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  6786. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  6787. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  6788. + fi;;
  6789. + esac
  6790. + # Pass precious variables to config.status.
  6791. + if test "$ac_new_set" = set; then
  6792. + case $ac_new_val in
  6793. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  6794. + *) ac_arg=$ac_var=$ac_new_val ;;
  6795. + esac
  6796. + case " $ac_configure_args " in
  6797. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  6798. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  6799. + esac
  6800. + fi
  6801. +done
  6802. +if $ac_cache_corrupted; then
  6803. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6804. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6805. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  6806. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  6807. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  6808. +fi
  6809. +## -------------------- ##
  6810. +## Main body of script. ##
  6811. +## -------------------- ##
  6812. +
  6813. +ac_ext=c
  6814. +ac_cpp='$CPP $CPPFLAGS'
  6815. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6816. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6817. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6818. +
  6819. +
  6820. +
  6821. +
  6822. +
  6823. +
  6824. +
  6825. +ac_aux_dir=
  6826. +for ac_dir in .. "$srcdir"/..; do
  6827. + for ac_t in install-sh install.sh shtool; do
  6828. + if test -f "$ac_dir/$ac_t"; then
  6829. + ac_aux_dir=$ac_dir
  6830. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  6831. + break 2
  6832. + fi
  6833. + done
  6834. +done
  6835. +if test -z "$ac_aux_dir"; then
  6836. + as_fn_error "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
  6837. +fi
  6838. +
  6839. +# These three variables are undocumented and unsupported,
  6840. +# and are intended to be withdrawn in a future Autoconf release.
  6841. +# They can cause serious problems if a builder's source tree is in a directory
  6842. +# whose full name contains unusual characters.
  6843. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  6844. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  6845. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  6846. +
  6847. +
  6848. +# Make sure we can run config.sub.
  6849. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6850. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  6851. +
  6852. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  6853. +$as_echo_n "checking build system type... " >&6; }
  6854. +if test "${ac_cv_build+set}" = set; then :
  6855. + $as_echo_n "(cached) " >&6
  6856. +else
  6857. + ac_build_alias=$build_alias
  6858. +test "x$ac_build_alias" = x &&
  6859. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6860. +test "x$ac_build_alias" = x &&
  6861. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  6862. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6863. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  6864. +
  6865. +fi
  6866. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  6867. +$as_echo "$ac_cv_build" >&6; }
  6868. +case $ac_cv_build in
  6869. +*-*-*) ;;
  6870. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  6871. +esac
  6872. +build=$ac_cv_build
  6873. +ac_save_IFS=$IFS; IFS='-'
  6874. +set x $ac_cv_build
  6875. +shift
  6876. +build_cpu=$1
  6877. +build_vendor=$2
  6878. +shift; shift
  6879. +# Remember, the first character of IFS is used to create $*,
  6880. +# except with old shells:
  6881. +build_os=$*
  6882. +IFS=$ac_save_IFS
  6883. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6884. +
  6885. +
  6886. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  6887. +$as_echo_n "checking host system type... " >&6; }
  6888. +if test "${ac_cv_host+set}" = set; then :
  6889. + $as_echo_n "(cached) " >&6
  6890. +else
  6891. + if test "x$host_alias" = x; then
  6892. + ac_cv_host=$ac_cv_build
  6893. +else
  6894. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6895. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  6896. +fi
  6897. +
  6898. +fi
  6899. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  6900. +$as_echo "$ac_cv_host" >&6; }
  6901. +case $ac_cv_host in
  6902. +*-*-*) ;;
  6903. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  6904. +esac
  6905. +host=$ac_cv_host
  6906. +ac_save_IFS=$IFS; IFS='-'
  6907. +set x $ac_cv_host
  6908. +shift
  6909. +host_cpu=$1
  6910. +host_vendor=$2
  6911. +shift; shift
  6912. +# Remember, the first character of IFS is used to create $*,
  6913. +# except with old shells:
  6914. +host_os=$*
  6915. +IFS=$ac_save_IFS
  6916. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6917. +
  6918. +
  6919. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  6920. +$as_echo_n "checking target system type... " >&6; }
  6921. +if test "${ac_cv_target+set}" = set; then :
  6922. + $as_echo_n "(cached) " >&6
  6923. +else
  6924. + if test "x$target_alias" = x; then
  6925. + ac_cv_target=$ac_cv_host
  6926. +else
  6927. + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  6928. + as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  6929. +fi
  6930. +
  6931. +fi
  6932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  6933. +$as_echo "$ac_cv_target" >&6; }
  6934. +case $ac_cv_target in
  6935. +*-*-*) ;;
  6936. +*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  6937. +esac
  6938. +target=$ac_cv_target
  6939. +ac_save_IFS=$IFS; IFS='-'
  6940. +set x $ac_cv_target
  6941. +shift
  6942. +target_cpu=$1
  6943. +target_vendor=$2
  6944. +shift; shift
  6945. +# Remember, the first character of IFS is used to create $*,
  6946. +# except with old shells:
  6947. +target_os=$*
  6948. +IFS=$ac_save_IFS
  6949. +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  6950. +
  6951. +
  6952. +# The aliases save the names the user supplied, while $host etc.
  6953. +# will get canonicalized.
  6954. +test -n "$target_alias" &&
  6955. + test "$program_prefix$program_suffix$program_transform_name" = \
  6956. + NONENONEs,x,x, &&
  6957. + program_prefix=${target_alias}-
  6958. +ac_ext=c
  6959. +ac_cpp='$CPP $CPPFLAGS'
  6960. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6961. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6962. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6963. +if test -n "$ac_tool_prefix"; then
  6964. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  6965. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  6966. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6967. +$as_echo_n "checking for $ac_word... " >&6; }
  6968. +if test "${ac_cv_prog_CC+set}" = set; then :
  6969. + $as_echo_n "(cached) " >&6
  6970. +else
  6971. + if test -n "$CC"; then
  6972. + ac_cv_prog_CC="$CC" # Let the user override the test.
  6973. +else
  6974. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6975. +for as_dir in $PATH
  6976. +do
  6977. + IFS=$as_save_IFS
  6978. + test -z "$as_dir" && as_dir=.
  6979. + for ac_exec_ext in '' $ac_executable_extensions; do
  6980. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6981. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  6982. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6983. + break 2
  6984. + fi
  6985. +done
  6986. + done
  6987. +IFS=$as_save_IFS
  6988. +
  6989. +fi
  6990. +fi
  6991. +CC=$ac_cv_prog_CC
  6992. +if test -n "$CC"; then
  6993. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6994. +$as_echo "$CC" >&6; }
  6995. +else
  6996. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6997. +$as_echo "no" >&6; }
  6998. +fi
  6999. +
  7000. +
  7001. +fi
  7002. +if test -z "$ac_cv_prog_CC"; then
  7003. + ac_ct_CC=$CC
  7004. + # Extract the first word of "gcc", so it can be a program name with args.
  7005. +set dummy gcc; ac_word=$2
  7006. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7007. +$as_echo_n "checking for $ac_word... " >&6; }
  7008. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  7009. + $as_echo_n "(cached) " >&6
  7010. +else
  7011. + if test -n "$ac_ct_CC"; then
  7012. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  7013. +else
  7014. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7015. +for as_dir in $PATH
  7016. +do
  7017. + IFS=$as_save_IFS
  7018. + test -z "$as_dir" && as_dir=.
  7019. + for ac_exec_ext in '' $ac_executable_extensions; do
  7020. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7021. + ac_cv_prog_ac_ct_CC="gcc"
  7022. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7023. + break 2
  7024. + fi
  7025. +done
  7026. + done
  7027. +IFS=$as_save_IFS
  7028. +
  7029. +fi
  7030. +fi
  7031. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  7032. +if test -n "$ac_ct_CC"; then
  7033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  7034. +$as_echo "$ac_ct_CC" >&6; }
  7035. +else
  7036. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7037. +$as_echo "no" >&6; }
  7038. +fi
  7039. +
  7040. + if test "x$ac_ct_CC" = x; then
  7041. + CC=""
  7042. + else
  7043. + case $cross_compiling:$ac_tool_warned in
  7044. +yes:)
  7045. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7046. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7047. +ac_tool_warned=yes ;;
  7048. +esac
  7049. + CC=$ac_ct_CC
  7050. + fi
  7051. +else
  7052. + CC="$ac_cv_prog_CC"
  7053. +fi
  7054. +
  7055. +if test -z "$CC"; then
  7056. + if test -n "$ac_tool_prefix"; then
  7057. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  7058. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  7059. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7060. +$as_echo_n "checking for $ac_word... " >&6; }
  7061. +if test "${ac_cv_prog_CC+set}" = set; then :
  7062. + $as_echo_n "(cached) " >&6
  7063. +else
  7064. + if test -n "$CC"; then
  7065. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7066. +else
  7067. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7068. +for as_dir in $PATH
  7069. +do
  7070. + IFS=$as_save_IFS
  7071. + test -z "$as_dir" && as_dir=.
  7072. + for ac_exec_ext in '' $ac_executable_extensions; do
  7073. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7074. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  7075. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7076. + break 2
  7077. + fi
  7078. +done
  7079. + done
  7080. +IFS=$as_save_IFS
  7081. +
  7082. +fi
  7083. +fi
  7084. +CC=$ac_cv_prog_CC
  7085. +if test -n "$CC"; then
  7086. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7087. +$as_echo "$CC" >&6; }
  7088. +else
  7089. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7090. +$as_echo "no" >&6; }
  7091. +fi
  7092. +
  7093. +
  7094. + fi
  7095. +fi
  7096. +if test -z "$CC"; then
  7097. + # Extract the first word of "cc", so it can be a program name with args.
  7098. +set dummy cc; ac_word=$2
  7099. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7100. +$as_echo_n "checking for $ac_word... " >&6; }
  7101. +if test "${ac_cv_prog_CC+set}" = set; then :
  7102. + $as_echo_n "(cached) " >&6
  7103. +else
  7104. + if test -n "$CC"; then
  7105. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7106. +else
  7107. + ac_prog_rejected=no
  7108. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7109. +for as_dir in $PATH
  7110. +do
  7111. + IFS=$as_save_IFS
  7112. + test -z "$as_dir" && as_dir=.
  7113. + for ac_exec_ext in '' $ac_executable_extensions; do
  7114. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7115. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  7116. + ac_prog_rejected=yes
  7117. + continue
  7118. + fi
  7119. + ac_cv_prog_CC="cc"
  7120. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7121. + break 2
  7122. + fi
  7123. +done
  7124. + done
  7125. +IFS=$as_save_IFS
  7126. +
  7127. +if test $ac_prog_rejected = yes; then
  7128. + # We found a bogon in the path, so make sure we never use it.
  7129. + set dummy $ac_cv_prog_CC
  7130. + shift
  7131. + if test $@%:@ != 0; then
  7132. + # We chose a different compiler from the bogus one.
  7133. + # However, it has the same basename, so the bogon will be chosen
  7134. + # first if we set CC to just the basename; use the full file name.
  7135. + shift
  7136. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  7137. + fi
  7138. +fi
  7139. +fi
  7140. +fi
  7141. +CC=$ac_cv_prog_CC
  7142. +if test -n "$CC"; then
  7143. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7144. +$as_echo "$CC" >&6; }
  7145. +else
  7146. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7147. +$as_echo "no" >&6; }
  7148. +fi
  7149. +
  7150. +
  7151. +fi
  7152. +if test -z "$CC"; then
  7153. + if test -n "$ac_tool_prefix"; then
  7154. + for ac_prog in cl.exe
  7155. + do
  7156. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7157. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7158. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7159. +$as_echo_n "checking for $ac_word... " >&6; }
  7160. +if test "${ac_cv_prog_CC+set}" = set; then :
  7161. + $as_echo_n "(cached) " >&6
  7162. +else
  7163. + if test -n "$CC"; then
  7164. + ac_cv_prog_CC="$CC" # Let the user override the test.
  7165. +else
  7166. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7167. +for as_dir in $PATH
  7168. +do
  7169. + IFS=$as_save_IFS
  7170. + test -z "$as_dir" && as_dir=.
  7171. + for ac_exec_ext in '' $ac_executable_extensions; do
  7172. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7173. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  7174. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7175. + break 2
  7176. + fi
  7177. +done
  7178. + done
  7179. +IFS=$as_save_IFS
  7180. +
  7181. +fi
  7182. +fi
  7183. +CC=$ac_cv_prog_CC
  7184. +if test -n "$CC"; then
  7185. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7186. +$as_echo "$CC" >&6; }
  7187. +else
  7188. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7189. +$as_echo "no" >&6; }
  7190. +fi
  7191. +
  7192. +
  7193. + test -n "$CC" && break
  7194. + done
  7195. +fi
  7196. +if test -z "$CC"; then
  7197. + ac_ct_CC=$CC
  7198. + for ac_prog in cl.exe
  7199. +do
  7200. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  7201. +set dummy $ac_prog; ac_word=$2
  7202. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7203. +$as_echo_n "checking for $ac_word... " >&6; }
  7204. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  7205. + $as_echo_n "(cached) " >&6
  7206. +else
  7207. + if test -n "$ac_ct_CC"; then
  7208. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  7209. +else
  7210. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7211. +for as_dir in $PATH
  7212. +do
  7213. + IFS=$as_save_IFS
  7214. + test -z "$as_dir" && as_dir=.
  7215. + for ac_exec_ext in '' $ac_executable_extensions; do
  7216. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7217. + ac_cv_prog_ac_ct_CC="$ac_prog"
  7218. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7219. + break 2
  7220. + fi
  7221. +done
  7222. + done
  7223. +IFS=$as_save_IFS
  7224. +
  7225. +fi
  7226. +fi
  7227. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  7228. +if test -n "$ac_ct_CC"; then
  7229. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  7230. +$as_echo "$ac_ct_CC" >&6; }
  7231. +else
  7232. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7233. +$as_echo "no" >&6; }
  7234. +fi
  7235. +
  7236. +
  7237. + test -n "$ac_ct_CC" && break
  7238. +done
  7239. +
  7240. + if test "x$ac_ct_CC" = x; then
  7241. + CC=""
  7242. + else
  7243. + case $cross_compiling:$ac_tool_warned in
  7244. +yes:)
  7245. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7246. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7247. +ac_tool_warned=yes ;;
  7248. +esac
  7249. + CC=$ac_ct_CC
  7250. + fi
  7251. +fi
  7252. +
  7253. +fi
  7254. +
  7255. +
  7256. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7257. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7258. +as_fn_error "no acceptable C compiler found in \$PATH
  7259. +See \`config.log' for more details." "$LINENO" 5; }
  7260. +
  7261. +# Provide some information about the compiler.
  7262. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  7263. +set X $ac_compile
  7264. +ac_compiler=$2
  7265. +for ac_option in --version -v -V -qversion; do
  7266. + { { ac_try="$ac_compiler $ac_option >&5"
  7267. +case "(($ac_try" in
  7268. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7269. + *) ac_try_echo=$ac_try;;
  7270. +esac
  7271. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7272. +$as_echo "$ac_try_echo"; } >&5
  7273. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7274. + ac_status=$?
  7275. + if test -s conftest.err; then
  7276. + sed '10a\
  7277. +... rest of stderr output deleted ...
  7278. + 10q' conftest.err >conftest.er1
  7279. + cat conftest.er1 >&5
  7280. + rm -f conftest.er1 conftest.err
  7281. + fi
  7282. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7283. + test $ac_status = 0; }
  7284. +done
  7285. +
  7286. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7287. +/* end confdefs.h. */
  7288. +
  7289. +int
  7290. +main ()
  7291. +{
  7292. +
  7293. + ;
  7294. + return 0;
  7295. +}
  7296. +_ACEOF
  7297. +ac_clean_files_save=$ac_clean_files
  7298. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  7299. +# Try to create an executable without -o first, disregard a.out.
  7300. +# It will help us diagnose broken compilers, and finding out an intuition
  7301. +# of exeext.
  7302. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  7303. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  7304. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  7305. +
  7306. +# The possible output files:
  7307. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  7308. +
  7309. +ac_rmfiles=
  7310. +for ac_file in $ac_files
  7311. +do
  7312. + case $ac_file in
  7313. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  7314. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  7315. + esac
  7316. +done
  7317. +rm -f $ac_rmfiles
  7318. +
  7319. +if { { ac_try="$ac_link_default"
  7320. +case "(($ac_try" in
  7321. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7322. + *) ac_try_echo=$ac_try;;
  7323. +esac
  7324. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7325. +$as_echo "$ac_try_echo"; } >&5
  7326. + (eval "$ac_link_default") 2>&5
  7327. + ac_status=$?
  7328. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7329. + test $ac_status = 0; }; then :
  7330. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  7331. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  7332. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  7333. +# so that the user can short-circuit this test for compilers unknown to
  7334. +# Autoconf.
  7335. +for ac_file in $ac_files ''
  7336. +do
  7337. + test -f "$ac_file" || continue
  7338. + case $ac_file in
  7339. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  7340. + ;;
  7341. + [ab].out )
  7342. + # We found the default executable, but exeext='' is most
  7343. + # certainly right.
  7344. + break;;
  7345. + *.* )
  7346. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  7347. + then :; else
  7348. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  7349. + fi
  7350. + # We set ac_cv_exeext here because the later test for it is not
  7351. + # safe: cross compilers may not add the suffix if given an `-o'
  7352. + # argument, so we may need to know it at that point already.
  7353. + # Even if this section looks crufty: it has the advantage of
  7354. + # actually working.
  7355. + break;;
  7356. + * )
  7357. + break;;
  7358. + esac
  7359. +done
  7360. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  7361. +
  7362. +else
  7363. + ac_file=''
  7364. +fi
  7365. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  7366. +$as_echo "$ac_file" >&6; }
  7367. +if test -z "$ac_file"; then :
  7368. + $as_echo "$as_me: failed program was:" >&5
  7369. +sed 's/^/| /' conftest.$ac_ext >&5
  7370. +
  7371. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7372. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7373. +{ as_fn_set_status 77
  7374. +as_fn_error "C compiler cannot create executables
  7375. +See \`config.log' for more details." "$LINENO" 5; }; }
  7376. +fi
  7377. +ac_exeext=$ac_cv_exeext
  7378. +
  7379. +# Check that the compiler produces executables we can run. If not, either
  7380. +# the compiler is broken, or we cross compile.
  7381. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  7382. +$as_echo_n "checking whether the C compiler works... " >&6; }
  7383. +# If not cross compiling, check that we can run a simple program.
  7384. +if test "$cross_compiling" != yes; then
  7385. + if { ac_try='./$ac_file'
  7386. + { { case "(($ac_try" in
  7387. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7388. + *) ac_try_echo=$ac_try;;
  7389. +esac
  7390. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7391. +$as_echo "$ac_try_echo"; } >&5
  7392. + (eval "$ac_try") 2>&5
  7393. + ac_status=$?
  7394. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7395. + test $ac_status = 0; }; }; then
  7396. + cross_compiling=no
  7397. + else
  7398. + if test "$cross_compiling" = maybe; then
  7399. + cross_compiling=yes
  7400. + else
  7401. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7402. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7403. +as_fn_error "cannot run C compiled programs.
  7404. +If you meant to cross compile, use \`--host'.
  7405. +See \`config.log' for more details." "$LINENO" 5; }
  7406. + fi
  7407. + fi
  7408. +fi
  7409. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7410. +$as_echo "yes" >&6; }
  7411. +
  7412. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  7413. +ac_clean_files=$ac_clean_files_save
  7414. +# Check that the compiler produces executables we can run. If not, either
  7415. +# the compiler is broken, or we cross compile.
  7416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  7417. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  7418. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  7419. +$as_echo "$cross_compiling" >&6; }
  7420. +
  7421. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  7422. +$as_echo_n "checking for suffix of executables... " >&6; }
  7423. +if { { ac_try="$ac_link"
  7424. +case "(($ac_try" in
  7425. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7426. + *) ac_try_echo=$ac_try;;
  7427. +esac
  7428. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7429. +$as_echo "$ac_try_echo"; } >&5
  7430. + (eval "$ac_link") 2>&5
  7431. + ac_status=$?
  7432. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7433. + test $ac_status = 0; }; then :
  7434. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  7435. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  7436. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  7437. +# `rm'.
  7438. +for ac_file in conftest.exe conftest conftest.*; do
  7439. + test -f "$ac_file" || continue
  7440. + case $ac_file in
  7441. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  7442. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  7443. + break;;
  7444. + * ) break;;
  7445. + esac
  7446. +done
  7447. +else
  7448. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7449. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7450. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  7451. +See \`config.log' for more details." "$LINENO" 5; }
  7452. +fi
  7453. +rm -f conftest$ac_cv_exeext
  7454. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  7455. +$as_echo "$ac_cv_exeext" >&6; }
  7456. +
  7457. +rm -f conftest.$ac_ext
  7458. +EXEEXT=$ac_cv_exeext
  7459. +ac_exeext=$EXEEXT
  7460. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  7461. +$as_echo_n "checking for suffix of object files... " >&6; }
  7462. +if test "${ac_cv_objext+set}" = set; then :
  7463. + $as_echo_n "(cached) " >&6
  7464. +else
  7465. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7466. +/* end confdefs.h. */
  7467. +
  7468. +int
  7469. +main ()
  7470. +{
  7471. +
  7472. + ;
  7473. + return 0;
  7474. +}
  7475. +_ACEOF
  7476. +rm -f conftest.o conftest.obj
  7477. +if { { ac_try="$ac_compile"
  7478. +case "(($ac_try" in
  7479. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7480. + *) ac_try_echo=$ac_try;;
  7481. +esac
  7482. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7483. +$as_echo "$ac_try_echo"; } >&5
  7484. + (eval "$ac_compile") 2>&5
  7485. + ac_status=$?
  7486. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7487. + test $ac_status = 0; }; then :
  7488. + for ac_file in conftest.o conftest.obj conftest.*; do
  7489. + test -f "$ac_file" || continue;
  7490. + case $ac_file in
  7491. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  7492. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  7493. + break;;
  7494. + esac
  7495. +done
  7496. +else
  7497. + $as_echo "$as_me: failed program was:" >&5
  7498. +sed 's/^/| /' conftest.$ac_ext >&5
  7499. +
  7500. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7501. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7502. +as_fn_error "cannot compute suffix of object files: cannot compile
  7503. +See \`config.log' for more details." "$LINENO" 5; }
  7504. +fi
  7505. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  7506. +fi
  7507. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  7508. +$as_echo "$ac_cv_objext" >&6; }
  7509. +OBJEXT=$ac_cv_objext
  7510. +ac_objext=$OBJEXT
  7511. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  7512. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  7513. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  7514. + $as_echo_n "(cached) " >&6
  7515. +else
  7516. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7517. +/* end confdefs.h. */
  7518. +
  7519. +int
  7520. +main ()
  7521. +{
  7522. +#ifndef __GNUC__
  7523. + choke me
  7524. +#endif
  7525. +
  7526. + ;
  7527. + return 0;
  7528. +}
  7529. +_ACEOF
  7530. +if ac_fn_c_try_compile "$LINENO"; then :
  7531. + ac_compiler_gnu=yes
  7532. +else
  7533. + ac_compiler_gnu=no
  7534. +fi
  7535. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7536. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  7537. +
  7538. +fi
  7539. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  7540. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  7541. +if test $ac_compiler_gnu = yes; then
  7542. + GCC=yes
  7543. +else
  7544. + GCC=
  7545. +fi
  7546. +ac_test_CFLAGS=${CFLAGS+set}
  7547. +ac_save_CFLAGS=$CFLAGS
  7548. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  7549. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  7550. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  7551. + $as_echo_n "(cached) " >&6
  7552. +else
  7553. + ac_save_c_werror_flag=$ac_c_werror_flag
  7554. + ac_c_werror_flag=yes
  7555. + ac_cv_prog_cc_g=no
  7556. + CFLAGS="-g"
  7557. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7558. +/* end confdefs.h. */
  7559. +
  7560. +int
  7561. +main ()
  7562. +{
  7563. +
  7564. + ;
  7565. + return 0;
  7566. +}
  7567. +_ACEOF
  7568. +if ac_fn_c_try_compile "$LINENO"; then :
  7569. + ac_cv_prog_cc_g=yes
  7570. +else
  7571. + CFLAGS=""
  7572. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7573. +/* end confdefs.h. */
  7574. +
  7575. +int
  7576. +main ()
  7577. +{
  7578. +
  7579. + ;
  7580. + return 0;
  7581. +}
  7582. +_ACEOF
  7583. +if ac_fn_c_try_compile "$LINENO"; then :
  7584. +
  7585. +else
  7586. + ac_c_werror_flag=$ac_save_c_werror_flag
  7587. + CFLAGS="-g"
  7588. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7589. +/* end confdefs.h. */
  7590. +
  7591. +int
  7592. +main ()
  7593. +{
  7594. +
  7595. + ;
  7596. + return 0;
  7597. +}
  7598. +_ACEOF
  7599. +if ac_fn_c_try_compile "$LINENO"; then :
  7600. + ac_cv_prog_cc_g=yes
  7601. +fi
  7602. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7603. +fi
  7604. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7605. +fi
  7606. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7607. + ac_c_werror_flag=$ac_save_c_werror_flag
  7608. +fi
  7609. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  7610. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  7611. +if test "$ac_test_CFLAGS" = set; then
  7612. + CFLAGS=$ac_save_CFLAGS
  7613. +elif test $ac_cv_prog_cc_g = yes; then
  7614. + if test "$GCC" = yes; then
  7615. + CFLAGS="-g -O2"
  7616. + else
  7617. + CFLAGS="-g"
  7618. + fi
  7619. +else
  7620. + if test "$GCC" = yes; then
  7621. + CFLAGS="-O2"
  7622. + else
  7623. + CFLAGS=
  7624. + fi
  7625. +fi
  7626. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  7627. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  7628. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  7629. + $as_echo_n "(cached) " >&6
  7630. +else
  7631. + ac_cv_prog_cc_c89=no
  7632. +ac_save_CC=$CC
  7633. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7634. +/* end confdefs.h. */
  7635. +#include <stdarg.h>
  7636. +#include <stdio.h>
  7637. +#include <sys/types.h>
  7638. +#include <sys/stat.h>
  7639. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  7640. +struct buf { int x; };
  7641. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  7642. +static char *e (p, i)
  7643. + char **p;
  7644. + int i;
  7645. +{
  7646. + return p[i];
  7647. +}
  7648. +static char *f (char * (*g) (char **, int), char **p, ...)
  7649. +{
  7650. + char *s;
  7651. + va_list v;
  7652. + va_start (v,p);
  7653. + s = g (p, va_arg (v,int));
  7654. + va_end (v);
  7655. + return s;
  7656. +}
  7657. +
  7658. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  7659. + function prototypes and stuff, but not '\xHH' hex character constants.
  7660. + These don't provoke an error unfortunately, instead are silently treated
  7661. + as 'x'. The following induces an error, until -std is added to get
  7662. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  7663. + array size at least. It's necessary to write '\x00'==0 to get something
  7664. + that's true only with -std. */
  7665. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  7666. +
  7667. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  7668. + inside strings and character constants. */
  7669. +#define FOO(x) 'x'
  7670. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  7671. +
  7672. +int test (int i, double x);
  7673. +struct s1 {int (*f) (int a);};
  7674. +struct s2 {int (*f) (double a);};
  7675. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  7676. +int argc;
  7677. +char **argv;
  7678. +int
  7679. +main ()
  7680. +{
  7681. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  7682. + ;
  7683. + return 0;
  7684. +}
  7685. +_ACEOF
  7686. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  7687. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  7688. +do
  7689. + CC="$ac_save_CC $ac_arg"
  7690. + if ac_fn_c_try_compile "$LINENO"; then :
  7691. + ac_cv_prog_cc_c89=$ac_arg
  7692. +fi
  7693. +rm -f core conftest.err conftest.$ac_objext
  7694. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  7695. +done
  7696. +rm -f conftest.$ac_ext
  7697. +CC=$ac_save_CC
  7698. +
  7699. +fi
  7700. +# AC_CACHE_VAL
  7701. +case "x$ac_cv_prog_cc_c89" in
  7702. + x)
  7703. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  7704. +$as_echo "none needed" >&6; } ;;
  7705. + xno)
  7706. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  7707. +$as_echo "unsupported" >&6; } ;;
  7708. + *)
  7709. + CC="$CC $ac_cv_prog_cc_c89"
  7710. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  7711. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  7712. +esac
  7713. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  7714. +
  7715. +fi
  7716. +
  7717. +ac_ext=c
  7718. +ac_cpp='$CPP $CPPFLAGS'
  7719. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7720. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7721. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7722. +
  7723. +
  7724. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
  7725. +$as_echo_n "checking for library containing strerror... " >&6; }
  7726. +if test "${ac_cv_search_strerror+set}" = set; then :
  7727. + $as_echo_n "(cached) " >&6
  7728. +else
  7729. + ac_func_search_save_LIBS=$LIBS
  7730. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7731. +/* end confdefs.h. */
  7732. +
  7733. +/* Override any GCC internal prototype to avoid an error.
  7734. + Use char because int might match the return type of a GCC
  7735. + builtin and then its argument prototype would still apply. */
  7736. +#ifdef __cplusplus
  7737. +extern "C"
  7738. +#endif
  7739. +char strerror ();
  7740. +int
  7741. +main ()
  7742. +{
  7743. +return strerror ();
  7744. + ;
  7745. + return 0;
  7746. +}
  7747. +_ACEOF
  7748. +for ac_lib in '' cposix; do
  7749. + if test -z "$ac_lib"; then
  7750. + ac_res="none required"
  7751. + else
  7752. + ac_res=-l$ac_lib
  7753. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  7754. + fi
  7755. + if ac_fn_c_try_link "$LINENO"; then :
  7756. + ac_cv_search_strerror=$ac_res
  7757. +fi
  7758. +rm -f core conftest.err conftest.$ac_objext \
  7759. + conftest$ac_exeext
  7760. + if test "${ac_cv_search_strerror+set}" = set; then :
  7761. + break
  7762. +fi
  7763. +done
  7764. +if test "${ac_cv_search_strerror+set}" = set; then :
  7765. +
  7766. +else
  7767. + ac_cv_search_strerror=no
  7768. +fi
  7769. +rm conftest.$ac_ext
  7770. +LIBS=$ac_func_search_save_LIBS
  7771. +fi
  7772. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
  7773. +$as_echo "$ac_cv_search_strerror" >&6; }
  7774. +ac_res=$ac_cv_search_strerror
  7775. +if test "$ac_res" != no; then :
  7776. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  7777. +
  7778. +fi
  7779. +
  7780. +
  7781. +BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
  7782. +am__api_version='1.11'
  7783. +
  7784. +# Find a good install program. We prefer a C program (faster),
  7785. +# so one script is as good as another. But avoid the broken or
  7786. +# incompatible versions:
  7787. +# SysV /etc/install, /usr/sbin/install
  7788. +# SunOS /usr/etc/install
  7789. +# IRIX /sbin/install
  7790. +# AIX /bin/install
  7791. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  7792. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  7793. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  7794. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  7795. +# OS/2's system install, which has a completely different semantic
  7796. +# ./install, which can be erroneously created by make from ./install.sh.
  7797. +# Reject install programs that cannot install multiple files.
  7798. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  7799. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  7800. +if test -z "$INSTALL"; then
  7801. +if test "${ac_cv_path_install+set}" = set; then :
  7802. + $as_echo_n "(cached) " >&6
  7803. +else
  7804. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7805. +for as_dir in $PATH
  7806. +do
  7807. + IFS=$as_save_IFS
  7808. + test -z "$as_dir" && as_dir=.
  7809. + # Account for people who put trailing slashes in PATH elements.
  7810. +case $as_dir/ in @%:@((
  7811. + ./ | .// | /[cC]/* | \
  7812. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  7813. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  7814. + /usr/ucb/* ) ;;
  7815. + *)
  7816. + # OSF1 and SCO ODT 3.0 have their own names for install.
  7817. + # Don't use installbsd from OSF since it installs stuff as root
  7818. + # by default.
  7819. + for ac_prog in ginstall scoinst install; do
  7820. + for ac_exec_ext in '' $ac_executable_extensions; do
  7821. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  7822. + if test $ac_prog = install &&
  7823. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  7824. + # AIX install. It has an incompatible calling convention.
  7825. + :
  7826. + elif test $ac_prog = install &&
  7827. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  7828. + # program-specific install script used by HP pwplus--don't use.
  7829. + :
  7830. + else
  7831. + rm -rf conftest.one conftest.two conftest.dir
  7832. + echo one > conftest.one
  7833. + echo two > conftest.two
  7834. + mkdir conftest.dir
  7835. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  7836. + test -s conftest.one && test -s conftest.two &&
  7837. + test -s conftest.dir/conftest.one &&
  7838. + test -s conftest.dir/conftest.two
  7839. + then
  7840. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  7841. + break 3
  7842. + fi
  7843. + fi
  7844. + fi
  7845. + done
  7846. + done
  7847. + ;;
  7848. +esac
  7849. +
  7850. + done
  7851. +IFS=$as_save_IFS
  7852. +
  7853. +rm -rf conftest.one conftest.two conftest.dir
  7854. +
  7855. +fi
  7856. + if test "${ac_cv_path_install+set}" = set; then
  7857. + INSTALL=$ac_cv_path_install
  7858. + else
  7859. + # As a last resort, use the slow shell script. Don't cache a
  7860. + # value for INSTALL within a source directory, because that will
  7861. + # break other packages using the cache if that directory is
  7862. + # removed, or if the value is a relative name.
  7863. + INSTALL=$ac_install_sh
  7864. + fi
  7865. +fi
  7866. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  7867. +$as_echo "$INSTALL" >&6; }
  7868. +
  7869. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  7870. +# It thinks the first close brace ends the variable substitution.
  7871. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  7872. +
  7873. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  7874. +
  7875. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  7876. +
  7877. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  7878. +$as_echo_n "checking whether build environment is sane... " >&6; }
  7879. +# Just in case
  7880. +sleep 1
  7881. +echo timestamp > conftest.file
  7882. +# Reject unsafe characters in $srcdir or the absolute working directory
  7883. +# name. Accept space and tab only in the latter.
  7884. +am_lf='
  7885. +'
  7886. +case `pwd` in
  7887. + *[\\\"\#\$\&\'\`$am_lf]*)
  7888. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  7889. +esac
  7890. +case $srcdir in
  7891. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  7892. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  7893. +esac
  7894. +
  7895. +# Do `set' in a subshell so we don't clobber the current shell's
  7896. +# arguments. Must try -L first in case configure is actually a
  7897. +# symlink; some systems play weird games with the mod time of symlinks
  7898. +# (eg FreeBSD returns the mod time of the symlink's containing
  7899. +# directory).
  7900. +if (
  7901. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  7902. + if test "$*" = "X"; then
  7903. + # -L didn't work.
  7904. + set X `ls -t "$srcdir/configure" conftest.file`
  7905. + fi
  7906. + rm -f conftest.file
  7907. + if test "$*" != "X $srcdir/configure conftest.file" \
  7908. + && test "$*" != "X conftest.file $srcdir/configure"; then
  7909. +
  7910. + # If neither matched, then we have a broken ls. This can happen
  7911. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  7912. + # broken ls alias from the environment. This has actually
  7913. + # happened. Such a system could not be considered "sane".
  7914. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  7915. +alias in your environment" "$LINENO" 5
  7916. + fi
  7917. +
  7918. + test "$2" = conftest.file
  7919. + )
  7920. +then
  7921. + # Ok.
  7922. + :
  7923. +else
  7924. + as_fn_error "newly created file is older than distributed files!
  7925. +Check your system clock" "$LINENO" 5
  7926. +fi
  7927. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7928. +$as_echo "yes" >&6; }
  7929. +test "$program_prefix" != NONE &&
  7930. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  7931. +# Use a double $ so make ignores it.
  7932. +test "$program_suffix" != NONE &&
  7933. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  7934. +# Double any \ or $.
  7935. +# By default was `s,x,x', remove it if useless.
  7936. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  7937. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  7938. +
  7939. +# expand $ac_aux_dir to an absolute path
  7940. +am_aux_dir=`cd $ac_aux_dir && pwd`
  7941. +
  7942. +if test x"${MISSING+set}" != xset; then
  7943. + case $am_aux_dir in
  7944. + *\ * | *\ *)
  7945. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  7946. + *)
  7947. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  7948. + esac
  7949. +fi
  7950. +# Use eval to expand $SHELL
  7951. +if eval "$MISSING --run true"; then
  7952. + am_missing_run="$MISSING --run "
  7953. +else
  7954. + am_missing_run=
  7955. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  7956. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  7957. +fi
  7958. +
  7959. +if test x"${install_sh}" != xset; then
  7960. + case $am_aux_dir in
  7961. + *\ * | *\ *)
  7962. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  7963. + *)
  7964. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  7965. + esac
  7966. +fi
  7967. +
  7968. +# Installed binaries are usually stripped using `strip' when the user
  7969. +# run `make install-strip'. However `strip' might not be the right
  7970. +# tool to use in cross-compilation environments, therefore Automake
  7971. +# will honor the `STRIP' environment variable to overrule this program.
  7972. +if test "$cross_compiling" != no; then
  7973. + if test -n "$ac_tool_prefix"; then
  7974. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  7975. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  7976. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7977. +$as_echo_n "checking for $ac_word... " >&6; }
  7978. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  7979. + $as_echo_n "(cached) " >&6
  7980. +else
  7981. + if test -n "$STRIP"; then
  7982. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  7983. +else
  7984. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7985. +for as_dir in $PATH
  7986. +do
  7987. + IFS=$as_save_IFS
  7988. + test -z "$as_dir" && as_dir=.
  7989. + for ac_exec_ext in '' $ac_executable_extensions; do
  7990. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7991. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  7992. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7993. + break 2
  7994. + fi
  7995. +done
  7996. + done
  7997. +IFS=$as_save_IFS
  7998. +
  7999. +fi
  8000. +fi
  8001. +STRIP=$ac_cv_prog_STRIP
  8002. +if test -n "$STRIP"; then
  8003. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  8004. +$as_echo "$STRIP" >&6; }
  8005. +else
  8006. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8007. +$as_echo "no" >&6; }
  8008. +fi
  8009. +
  8010. +
  8011. +fi
  8012. +if test -z "$ac_cv_prog_STRIP"; then
  8013. + ac_ct_STRIP=$STRIP
  8014. + # Extract the first word of "strip", so it can be a program name with args.
  8015. +set dummy strip; ac_word=$2
  8016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8017. +$as_echo_n "checking for $ac_word... " >&6; }
  8018. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  8019. + $as_echo_n "(cached) " >&6
  8020. +else
  8021. + if test -n "$ac_ct_STRIP"; then
  8022. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  8023. +else
  8024. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8025. +for as_dir in $PATH
  8026. +do
  8027. + IFS=$as_save_IFS
  8028. + test -z "$as_dir" && as_dir=.
  8029. + for ac_exec_ext in '' $ac_executable_extensions; do
  8030. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8031. + ac_cv_prog_ac_ct_STRIP="strip"
  8032. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8033. + break 2
  8034. + fi
  8035. +done
  8036. + done
  8037. +IFS=$as_save_IFS
  8038. +
  8039. +fi
  8040. +fi
  8041. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  8042. +if test -n "$ac_ct_STRIP"; then
  8043. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  8044. +$as_echo "$ac_ct_STRIP" >&6; }
  8045. +else
  8046. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8047. +$as_echo "no" >&6; }
  8048. +fi
  8049. +
  8050. + if test "x$ac_ct_STRIP" = x; then
  8051. + STRIP=":"
  8052. + else
  8053. + case $cross_compiling:$ac_tool_warned in
  8054. +yes:)
  8055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8056. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8057. +ac_tool_warned=yes ;;
  8058. +esac
  8059. + STRIP=$ac_ct_STRIP
  8060. + fi
  8061. +else
  8062. + STRIP="$ac_cv_prog_STRIP"
  8063. +fi
  8064. +
  8065. +fi
  8066. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  8067. +
  8068. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  8069. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  8070. +if test -z "$MKDIR_P"; then
  8071. + if test "${ac_cv_path_mkdir+set}" = set; then :
  8072. + $as_echo_n "(cached) " >&6
  8073. +else
  8074. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8075. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  8076. +do
  8077. + IFS=$as_save_IFS
  8078. + test -z "$as_dir" && as_dir=.
  8079. + for ac_prog in mkdir gmkdir; do
  8080. + for ac_exec_ext in '' $ac_executable_extensions; do
  8081. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  8082. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  8083. + 'mkdir (GNU coreutils) '* | \
  8084. + 'mkdir (coreutils) '* | \
  8085. + 'mkdir (fileutils) '4.1*)
  8086. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  8087. + break 3;;
  8088. + esac
  8089. + done
  8090. + done
  8091. + done
  8092. +IFS=$as_save_IFS
  8093. +
  8094. +fi
  8095. +
  8096. + if test "${ac_cv_path_mkdir+set}" = set; then
  8097. + MKDIR_P="$ac_cv_path_mkdir -p"
  8098. + else
  8099. + # As a last resort, use the slow shell script. Don't cache a
  8100. + # value for MKDIR_P within a source directory, because that will
  8101. + # break other packages using the cache if that directory is
  8102. + # removed, or if the value is a relative name.
  8103. + test -d ./--version && rmdir ./--version
  8104. + MKDIR_P="$ac_install_sh -d"
  8105. + fi
  8106. +fi
  8107. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  8108. +$as_echo "$MKDIR_P" >&6; }
  8109. +
  8110. +mkdir_p="$MKDIR_P"
  8111. +case $mkdir_p in
  8112. + [\\/$]* | ?:[\\/]*) ;;
  8113. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  8114. +esac
  8115. +
  8116. +for ac_prog in gawk mawk nawk awk
  8117. +do
  8118. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  8119. +set dummy $ac_prog; ac_word=$2
  8120. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8121. +$as_echo_n "checking for $ac_word... " >&6; }
  8122. +if test "${ac_cv_prog_AWK+set}" = set; then :
  8123. + $as_echo_n "(cached) " >&6
  8124. +else
  8125. + if test -n "$AWK"; then
  8126. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  8127. +else
  8128. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8129. +for as_dir in $PATH
  8130. +do
  8131. + IFS=$as_save_IFS
  8132. + test -z "$as_dir" && as_dir=.
  8133. + for ac_exec_ext in '' $ac_executable_extensions; do
  8134. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8135. + ac_cv_prog_AWK="$ac_prog"
  8136. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8137. + break 2
  8138. + fi
  8139. +done
  8140. + done
  8141. +IFS=$as_save_IFS
  8142. +
  8143. +fi
  8144. +fi
  8145. +AWK=$ac_cv_prog_AWK
  8146. +if test -n "$AWK"; then
  8147. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  8148. +$as_echo "$AWK" >&6; }
  8149. +else
  8150. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8151. +$as_echo "no" >&6; }
  8152. +fi
  8153. +
  8154. +
  8155. + test -n "$AWK" && break
  8156. +done
  8157. +
  8158. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  8159. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  8160. +set x ${MAKE-make}
  8161. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  8162. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  8163. + $as_echo_n "(cached) " >&6
  8164. +else
  8165. + cat >conftest.make <<\_ACEOF
  8166. +SHELL = /bin/sh
  8167. +all:
  8168. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  8169. +_ACEOF
  8170. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  8171. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  8172. + *@@@%%%=?*=@@@%%%*)
  8173. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  8174. + *)
  8175. + eval ac_cv_prog_make_${ac_make}_set=no;;
  8176. +esac
  8177. +rm -f conftest.make
  8178. +fi
  8179. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  8180. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8181. +$as_echo "yes" >&6; }
  8182. + SET_MAKE=
  8183. +else
  8184. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8185. +$as_echo "no" >&6; }
  8186. + SET_MAKE="MAKE=${MAKE-make}"
  8187. +fi
  8188. +
  8189. +rm -rf .tst 2>/dev/null
  8190. +mkdir .tst 2>/dev/null
  8191. +if test -d .tst; then
  8192. + am__leading_dot=.
  8193. +else
  8194. + am__leading_dot=_
  8195. +fi
  8196. +rmdir .tst 2>/dev/null
  8197. +
  8198. +DEPDIR="${am__leading_dot}deps"
  8199. +
  8200. +ac_config_commands="$ac_config_commands depfiles"
  8201. +
  8202. +
  8203. +am_make=${MAKE-make}
  8204. +cat > confinc << 'END'
  8205. +am__doit:
  8206. + @echo this is the am__doit target
  8207. +.PHONY: am__doit
  8208. +END
  8209. +# If we don't find an include directive, just comment out the code.
  8210. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  8211. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  8212. +am__include="#"
  8213. +am__quote=
  8214. +_am_result=none
  8215. +# First try GNU make style include.
  8216. +echo "include confinc" > confmf
  8217. +# Ignore all kinds of additional output from `make'.
  8218. +case `$am_make -s -f confmf 2> /dev/null` in #(
  8219. +*the\ am__doit\ target*)
  8220. + am__include=include
  8221. + am__quote=
  8222. + _am_result=GNU
  8223. + ;;
  8224. +esac
  8225. +# Now try BSD make style include.
  8226. +if test "$am__include" = "#"; then
  8227. + echo '.include "confinc"' > confmf
  8228. + case `$am_make -s -f confmf 2> /dev/null` in #(
  8229. + *the\ am__doit\ target*)
  8230. + am__include=.include
  8231. + am__quote="\""
  8232. + _am_result=BSD
  8233. + ;;
  8234. + esac
  8235. +fi
  8236. +
  8237. +
  8238. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  8239. +$as_echo "$_am_result" >&6; }
  8240. +rm -f confinc confmf
  8241. +
  8242. +@%:@ Check whether --enable-dependency-tracking was given.
  8243. +if test "${enable_dependency_tracking+set}" = set; then :
  8244. + enableval=$enable_dependency_tracking;
  8245. +fi
  8246. +
  8247. +if test "x$enable_dependency_tracking" != xno; then
  8248. + am_depcomp="$ac_aux_dir/depcomp"
  8249. + AMDEPBACKSLASH='\'
  8250. +fi
  8251. + if test "x$enable_dependency_tracking" != xno; then
  8252. + AMDEP_TRUE=
  8253. + AMDEP_FALSE='#'
  8254. +else
  8255. + AMDEP_TRUE='#'
  8256. + AMDEP_FALSE=
  8257. +fi
  8258. +
  8259. +
  8260. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  8261. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  8262. + # is not polluted with repeated "-I."
  8263. + am__isrc=' -I$(srcdir)'
  8264. + # test to see if srcdir already configured
  8265. + if test -f $srcdir/config.status; then
  8266. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  8267. + fi
  8268. +fi
  8269. +
  8270. +# test whether we have cygpath
  8271. +if test -z "$CYGPATH_W"; then
  8272. + if (cygpath --version) >/dev/null 2>/dev/null; then
  8273. + CYGPATH_W='cygpath -w'
  8274. + else
  8275. + CYGPATH_W=echo
  8276. + fi
  8277. +fi
  8278. +
  8279. +
  8280. +# Define the identity of the package.
  8281. + PACKAGE=gas
  8282. + VERSION=${BFD_VERSION}
  8283. +
  8284. +
  8285. +cat >>confdefs.h <<_ACEOF
  8286. +@%:@define PACKAGE "$PACKAGE"
  8287. +_ACEOF
  8288. +
  8289. +
  8290. +cat >>confdefs.h <<_ACEOF
  8291. +@%:@define VERSION "$VERSION"
  8292. +_ACEOF
  8293. +
  8294. +# Some tools Automake needs.
  8295. +
  8296. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  8297. +
  8298. +
  8299. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  8300. +
  8301. +
  8302. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  8303. +
  8304. +
  8305. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  8306. +
  8307. +
  8308. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  8309. +
  8310. +# We need awk for the "check" target. The system "awk" is bad on
  8311. +# some platforms.
  8312. +# Always define AMTAR for backward compatibility.
  8313. +
  8314. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  8315. +
  8316. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  8317. +
  8318. +
  8319. +
  8320. +
  8321. +depcc="$CC" am_compiler_list=
  8322. +
  8323. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  8324. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  8325. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  8326. + $as_echo_n "(cached) " >&6
  8327. +else
  8328. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  8329. + # We make a subdir and do the tests there. Otherwise we can end up
  8330. + # making bogus files that we don't know about and never remove. For
  8331. + # instance it was reported that on HP-UX the gcc test will end up
  8332. + # making a dummy file named `D' -- because `-MD' means `put the output
  8333. + # in D'.
  8334. + mkdir conftest.dir
  8335. + # Copy depcomp to subdir because otherwise we won't find it if we're
  8336. + # using a relative directory.
  8337. + cp "$am_depcomp" conftest.dir
  8338. + cd conftest.dir
  8339. + # We will build objects and dependencies in a subdirectory because
  8340. + # it helps to detect inapplicable dependency modes. For instance
  8341. + # both Tru64's cc and ICC support -MD to output dependencies as a
  8342. + # side effect of compilation, but ICC will put the dependencies in
  8343. + # the current directory while Tru64 will put them in the object
  8344. + # directory.
  8345. + mkdir sub
  8346. +
  8347. + am_cv_CC_dependencies_compiler_type=none
  8348. + if test "$am_compiler_list" = ""; then
  8349. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  8350. + fi
  8351. + am__universal=false
  8352. + case " $depcc " in #(
  8353. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  8354. + esac
  8355. +
  8356. + for depmode in $am_compiler_list; do
  8357. + # Setup a source with many dependencies, because some compilers
  8358. + # like to wrap large dependency lists on column 80 (with \), and
  8359. + # we should not choose a depcomp mode which is confused by this.
  8360. + #
  8361. + # We need to recreate these files for each test, as the compiler may
  8362. + # overwrite some of them when testing with obscure command lines.
  8363. + # This happens at least with the AIX C compiler.
  8364. + : > sub/conftest.c
  8365. + for i in 1 2 3 4 5 6; do
  8366. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8367. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8368. + # Solaris 8's {/usr,}/bin/sh.
  8369. + touch sub/conftst$i.h
  8370. + done
  8371. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8372. +
  8373. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8374. + # mode. It turns out that the SunPro C++ compiler does not properly
  8375. + # handle `-M -o', and we need to detect this. Also, some Intel
  8376. + # versions had trouble with output in subdirs
  8377. + am__obj=sub/conftest.${OBJEXT-o}
  8378. + am__minus_obj="-o $am__obj"
  8379. + case $depmode in
  8380. + gcc)
  8381. + # This depmode causes a compiler race in universal mode.
  8382. + test "$am__universal" = false || continue
  8383. + ;;
  8384. + nosideeffect)
  8385. + # after this tag, mechanisms are not by side-effect, so they'll
  8386. + # only be used when explicitly requested
  8387. + if test "x$enable_dependency_tracking" = xyes; then
  8388. + continue
  8389. + else
  8390. + break
  8391. + fi
  8392. + ;;
  8393. + msvisualcpp | msvcmsys)
  8394. + # This compiler won't grok `-c -o', but also, the minuso test has
  8395. + # not run yet. These depmodes are late enough in the game, and
  8396. + # so weak that their functioning should not be impacted.
  8397. + am__obj=conftest.${OBJEXT-o}
  8398. + am__minus_obj=
  8399. + ;;
  8400. + none) break ;;
  8401. + esac
  8402. + if depmode=$depmode \
  8403. + source=sub/conftest.c object=$am__obj \
  8404. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8405. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  8406. + >/dev/null 2>conftest.err &&
  8407. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  8408. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8409. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  8410. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8411. + # icc doesn't choke on unknown options, it will just issue warnings
  8412. + # or remarks (even with -Werror). So we grep stderr for any message
  8413. + # that says an option was ignored or not supported.
  8414. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  8415. + # icc: Command line warning: ignoring option '-M'; no argument required
  8416. + # The diagnosis changed in icc 8.0:
  8417. + # icc: Command line remark: option '-MP' not supported
  8418. + if (grep 'ignoring option' conftest.err ||
  8419. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  8420. + am_cv_CC_dependencies_compiler_type=$depmode
  8421. + break
  8422. + fi
  8423. + fi
  8424. + done
  8425. +
  8426. + cd ..
  8427. + rm -rf conftest.dir
  8428. +else
  8429. + am_cv_CC_dependencies_compiler_type=none
  8430. +fi
  8431. +
  8432. +fi
  8433. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  8434. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  8435. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  8436. +
  8437. + if
  8438. + test "x$enable_dependency_tracking" != xno \
  8439. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  8440. + am__fastdepCC_TRUE=
  8441. + am__fastdepCC_FALSE='#'
  8442. +else
  8443. + am__fastdepCC_TRUE='#'
  8444. + am__fastdepCC_FALSE=
  8445. +fi
  8446. +
  8447. +
  8448. +
  8449. +
  8450. +ac_ext=c
  8451. +ac_cpp='$CPP $CPPFLAGS'
  8452. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8453. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8454. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8455. +if test -n "$ac_tool_prefix"; then
  8456. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  8457. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  8458. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8459. +$as_echo_n "checking for $ac_word... " >&6; }
  8460. +if test "${ac_cv_prog_CC+set}" = set; then :
  8461. + $as_echo_n "(cached) " >&6
  8462. +else
  8463. + if test -n "$CC"; then
  8464. + ac_cv_prog_CC="$CC" # Let the user override the test.
  8465. +else
  8466. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8467. +for as_dir in $PATH
  8468. +do
  8469. + IFS=$as_save_IFS
  8470. + test -z "$as_dir" && as_dir=.
  8471. + for ac_exec_ext in '' $ac_executable_extensions; do
  8472. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8473. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  8474. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8475. + break 2
  8476. + fi
  8477. +done
  8478. + done
  8479. +IFS=$as_save_IFS
  8480. +
  8481. +fi
  8482. +fi
  8483. +CC=$ac_cv_prog_CC
  8484. +if test -n "$CC"; then
  8485. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  8486. +$as_echo "$CC" >&6; }
  8487. +else
  8488. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8489. +$as_echo "no" >&6; }
  8490. +fi
  8491. +
  8492. +
  8493. +fi
  8494. +if test -z "$ac_cv_prog_CC"; then
  8495. + ac_ct_CC=$CC
  8496. + # Extract the first word of "gcc", so it can be a program name with args.
  8497. +set dummy gcc; ac_word=$2
  8498. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8499. +$as_echo_n "checking for $ac_word... " >&6; }
  8500. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  8501. + $as_echo_n "(cached) " >&6
  8502. +else
  8503. + if test -n "$ac_ct_CC"; then
  8504. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  8505. +else
  8506. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8507. +for as_dir in $PATH
  8508. +do
  8509. + IFS=$as_save_IFS
  8510. + test -z "$as_dir" && as_dir=.
  8511. + for ac_exec_ext in '' $ac_executable_extensions; do
  8512. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8513. + ac_cv_prog_ac_ct_CC="gcc"
  8514. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8515. + break 2
  8516. + fi
  8517. +done
  8518. + done
  8519. +IFS=$as_save_IFS
  8520. +
  8521. +fi
  8522. +fi
  8523. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  8524. +if test -n "$ac_ct_CC"; then
  8525. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  8526. +$as_echo "$ac_ct_CC" >&6; }
  8527. +else
  8528. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8529. +$as_echo "no" >&6; }
  8530. +fi
  8531. +
  8532. + if test "x$ac_ct_CC" = x; then
  8533. + CC=""
  8534. + else
  8535. + case $cross_compiling:$ac_tool_warned in
  8536. +yes:)
  8537. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8538. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8539. +ac_tool_warned=yes ;;
  8540. +esac
  8541. + CC=$ac_ct_CC
  8542. + fi
  8543. +else
  8544. + CC="$ac_cv_prog_CC"
  8545. +fi
  8546. +
  8547. +if test -z "$CC"; then
  8548. + if test -n "$ac_tool_prefix"; then
  8549. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  8550. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  8551. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8552. +$as_echo_n "checking for $ac_word... " >&6; }
  8553. +if test "${ac_cv_prog_CC+set}" = set; then :
  8554. + $as_echo_n "(cached) " >&6
  8555. +else
  8556. + if test -n "$CC"; then
  8557. + ac_cv_prog_CC="$CC" # Let the user override the test.
  8558. +else
  8559. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8560. +for as_dir in $PATH
  8561. +do
  8562. + IFS=$as_save_IFS
  8563. + test -z "$as_dir" && as_dir=.
  8564. + for ac_exec_ext in '' $ac_executable_extensions; do
  8565. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8566. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  8567. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8568. + break 2
  8569. + fi
  8570. +done
  8571. + done
  8572. +IFS=$as_save_IFS
  8573. +
  8574. +fi
  8575. +fi
  8576. +CC=$ac_cv_prog_CC
  8577. +if test -n "$CC"; then
  8578. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  8579. +$as_echo "$CC" >&6; }
  8580. +else
  8581. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8582. +$as_echo "no" >&6; }
  8583. +fi
  8584. +
  8585. +
  8586. + fi
  8587. +fi
  8588. +if test -z "$CC"; then
  8589. + # Extract the first word of "cc", so it can be a program name with args.
  8590. +set dummy cc; ac_word=$2
  8591. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8592. +$as_echo_n "checking for $ac_word... " >&6; }
  8593. +if test "${ac_cv_prog_CC+set}" = set; then :
  8594. + $as_echo_n "(cached) " >&6
  8595. +else
  8596. + if test -n "$CC"; then
  8597. + ac_cv_prog_CC="$CC" # Let the user override the test.
  8598. +else
  8599. + ac_prog_rejected=no
  8600. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8601. +for as_dir in $PATH
  8602. +do
  8603. + IFS=$as_save_IFS
  8604. + test -z "$as_dir" && as_dir=.
  8605. + for ac_exec_ext in '' $ac_executable_extensions; do
  8606. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8607. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  8608. + ac_prog_rejected=yes
  8609. + continue
  8610. + fi
  8611. + ac_cv_prog_CC="cc"
  8612. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8613. + break 2
  8614. + fi
  8615. +done
  8616. + done
  8617. +IFS=$as_save_IFS
  8618. +
  8619. +if test $ac_prog_rejected = yes; then
  8620. + # We found a bogon in the path, so make sure we never use it.
  8621. + set dummy $ac_cv_prog_CC
  8622. + shift
  8623. + if test $@%:@ != 0; then
  8624. + # We chose a different compiler from the bogus one.
  8625. + # However, it has the same basename, so the bogon will be chosen
  8626. + # first if we set CC to just the basename; use the full file name.
  8627. + shift
  8628. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  8629. + fi
  8630. +fi
  8631. +fi
  8632. +fi
  8633. +CC=$ac_cv_prog_CC
  8634. +if test -n "$CC"; then
  8635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  8636. +$as_echo "$CC" >&6; }
  8637. +else
  8638. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8639. +$as_echo "no" >&6; }
  8640. +fi
  8641. +
  8642. +
  8643. +fi
  8644. +if test -z "$CC"; then
  8645. + if test -n "$ac_tool_prefix"; then
  8646. + for ac_prog in cl.exe
  8647. + do
  8648. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8649. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8650. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8651. +$as_echo_n "checking for $ac_word... " >&6; }
  8652. +if test "${ac_cv_prog_CC+set}" = set; then :
  8653. + $as_echo_n "(cached) " >&6
  8654. +else
  8655. + if test -n "$CC"; then
  8656. + ac_cv_prog_CC="$CC" # Let the user override the test.
  8657. +else
  8658. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8659. +for as_dir in $PATH
  8660. +do
  8661. + IFS=$as_save_IFS
  8662. + test -z "$as_dir" && as_dir=.
  8663. + for ac_exec_ext in '' $ac_executable_extensions; do
  8664. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8665. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  8666. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8667. + break 2
  8668. + fi
  8669. +done
  8670. + done
  8671. +IFS=$as_save_IFS
  8672. +
  8673. +fi
  8674. +fi
  8675. +CC=$ac_cv_prog_CC
  8676. +if test -n "$CC"; then
  8677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  8678. +$as_echo "$CC" >&6; }
  8679. +else
  8680. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8681. +$as_echo "no" >&6; }
  8682. +fi
  8683. +
  8684. +
  8685. + test -n "$CC" && break
  8686. + done
  8687. +fi
  8688. +if test -z "$CC"; then
  8689. + ac_ct_CC=$CC
  8690. + for ac_prog in cl.exe
  8691. +do
  8692. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  8693. +set dummy $ac_prog; ac_word=$2
  8694. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8695. +$as_echo_n "checking for $ac_word... " >&6; }
  8696. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  8697. + $as_echo_n "(cached) " >&6
  8698. +else
  8699. + if test -n "$ac_ct_CC"; then
  8700. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  8701. +else
  8702. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8703. +for as_dir in $PATH
  8704. +do
  8705. + IFS=$as_save_IFS
  8706. + test -z "$as_dir" && as_dir=.
  8707. + for ac_exec_ext in '' $ac_executable_extensions; do
  8708. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8709. + ac_cv_prog_ac_ct_CC="$ac_prog"
  8710. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8711. + break 2
  8712. + fi
  8713. +done
  8714. + done
  8715. +IFS=$as_save_IFS
  8716. +
  8717. +fi
  8718. +fi
  8719. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  8720. +if test -n "$ac_ct_CC"; then
  8721. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  8722. +$as_echo "$ac_ct_CC" >&6; }
  8723. +else
  8724. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8725. +$as_echo "no" >&6; }
  8726. +fi
  8727. +
  8728. +
  8729. + test -n "$ac_ct_CC" && break
  8730. +done
  8731. +
  8732. + if test "x$ac_ct_CC" = x; then
  8733. + CC=""
  8734. + else
  8735. + case $cross_compiling:$ac_tool_warned in
  8736. +yes:)
  8737. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  8738. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  8739. +ac_tool_warned=yes ;;
  8740. +esac
  8741. + CC=$ac_ct_CC
  8742. + fi
  8743. +fi
  8744. +
  8745. +fi
  8746. +
  8747. +
  8748. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8749. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  8750. +as_fn_error "no acceptable C compiler found in \$PATH
  8751. +See \`config.log' for more details." "$LINENO" 5; }
  8752. +
  8753. +# Provide some information about the compiler.
  8754. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  8755. +set X $ac_compile
  8756. +ac_compiler=$2
  8757. +for ac_option in --version -v -V -qversion; do
  8758. + { { ac_try="$ac_compiler $ac_option >&5"
  8759. +case "(($ac_try" in
  8760. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8761. + *) ac_try_echo=$ac_try;;
  8762. +esac
  8763. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  8764. +$as_echo "$ac_try_echo"; } >&5
  8765. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  8766. + ac_status=$?
  8767. + if test -s conftest.err; then
  8768. + sed '10a\
  8769. +... rest of stderr output deleted ...
  8770. + 10q' conftest.err >conftest.er1
  8771. + cat conftest.er1 >&5
  8772. + rm -f conftest.er1 conftest.err
  8773. + fi
  8774. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  8775. + test $ac_status = 0; }
  8776. +done
  8777. +
  8778. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  8779. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  8780. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  8781. + $as_echo_n "(cached) " >&6
  8782. +else
  8783. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8784. +/* end confdefs.h. */
  8785. +
  8786. +int
  8787. +main ()
  8788. +{
  8789. +#ifndef __GNUC__
  8790. + choke me
  8791. +#endif
  8792. +
  8793. + ;
  8794. + return 0;
  8795. +}
  8796. +_ACEOF
  8797. +if ac_fn_c_try_compile "$LINENO"; then :
  8798. + ac_compiler_gnu=yes
  8799. +else
  8800. + ac_compiler_gnu=no
  8801. +fi
  8802. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8803. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  8804. +
  8805. +fi
  8806. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  8807. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  8808. +if test $ac_compiler_gnu = yes; then
  8809. + GCC=yes
  8810. +else
  8811. + GCC=
  8812. +fi
  8813. +ac_test_CFLAGS=${CFLAGS+set}
  8814. +ac_save_CFLAGS=$CFLAGS
  8815. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  8816. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  8817. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  8818. + $as_echo_n "(cached) " >&6
  8819. +else
  8820. + ac_save_c_werror_flag=$ac_c_werror_flag
  8821. + ac_c_werror_flag=yes
  8822. + ac_cv_prog_cc_g=no
  8823. + CFLAGS="-g"
  8824. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8825. +/* end confdefs.h. */
  8826. +
  8827. +int
  8828. +main ()
  8829. +{
  8830. +
  8831. + ;
  8832. + return 0;
  8833. +}
  8834. +_ACEOF
  8835. +if ac_fn_c_try_compile "$LINENO"; then :
  8836. + ac_cv_prog_cc_g=yes
  8837. +else
  8838. + CFLAGS=""
  8839. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8840. +/* end confdefs.h. */
  8841. +
  8842. +int
  8843. +main ()
  8844. +{
  8845. +
  8846. + ;
  8847. + return 0;
  8848. +}
  8849. +_ACEOF
  8850. +if ac_fn_c_try_compile "$LINENO"; then :
  8851. +
  8852. +else
  8853. + ac_c_werror_flag=$ac_save_c_werror_flag
  8854. + CFLAGS="-g"
  8855. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8856. +/* end confdefs.h. */
  8857. +
  8858. +int
  8859. +main ()
  8860. +{
  8861. +
  8862. + ;
  8863. + return 0;
  8864. +}
  8865. +_ACEOF
  8866. +if ac_fn_c_try_compile "$LINENO"; then :
  8867. + ac_cv_prog_cc_g=yes
  8868. +fi
  8869. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8870. +fi
  8871. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8872. +fi
  8873. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8874. + ac_c_werror_flag=$ac_save_c_werror_flag
  8875. +fi
  8876. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  8877. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  8878. +if test "$ac_test_CFLAGS" = set; then
  8879. + CFLAGS=$ac_save_CFLAGS
  8880. +elif test $ac_cv_prog_cc_g = yes; then
  8881. + if test "$GCC" = yes; then
  8882. + CFLAGS="-g -O2"
  8883. + else
  8884. + CFLAGS="-g"
  8885. + fi
  8886. +else
  8887. + if test "$GCC" = yes; then
  8888. + CFLAGS="-O2"
  8889. + else
  8890. + CFLAGS=
  8891. + fi
  8892. +fi
  8893. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  8894. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  8895. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  8896. + $as_echo_n "(cached) " >&6
  8897. +else
  8898. + ac_cv_prog_cc_c89=no
  8899. +ac_save_CC=$CC
  8900. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8901. +/* end confdefs.h. */
  8902. +#include <stdarg.h>
  8903. +#include <stdio.h>
  8904. +#include <sys/types.h>
  8905. +#include <sys/stat.h>
  8906. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  8907. +struct buf { int x; };
  8908. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  8909. +static char *e (p, i)
  8910. + char **p;
  8911. + int i;
  8912. +{
  8913. + return p[i];
  8914. +}
  8915. +static char *f (char * (*g) (char **, int), char **p, ...)
  8916. +{
  8917. + char *s;
  8918. + va_list v;
  8919. + va_start (v,p);
  8920. + s = g (p, va_arg (v,int));
  8921. + va_end (v);
  8922. + return s;
  8923. +}
  8924. +
  8925. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  8926. + function prototypes and stuff, but not '\xHH' hex character constants.
  8927. + These don't provoke an error unfortunately, instead are silently treated
  8928. + as 'x'. The following induces an error, until -std is added to get
  8929. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  8930. + array size at least. It's necessary to write '\x00'==0 to get something
  8931. + that's true only with -std. */
  8932. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  8933. +
  8934. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  8935. + inside strings and character constants. */
  8936. +#define FOO(x) 'x'
  8937. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  8938. +
  8939. +int test (int i, double x);
  8940. +struct s1 {int (*f) (int a);};
  8941. +struct s2 {int (*f) (double a);};
  8942. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  8943. +int argc;
  8944. +char **argv;
  8945. +int
  8946. +main ()
  8947. +{
  8948. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  8949. + ;
  8950. + return 0;
  8951. +}
  8952. +_ACEOF
  8953. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  8954. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  8955. +do
  8956. + CC="$ac_save_CC $ac_arg"
  8957. + if ac_fn_c_try_compile "$LINENO"; then :
  8958. + ac_cv_prog_cc_c89=$ac_arg
  8959. +fi
  8960. +rm -f core conftest.err conftest.$ac_objext
  8961. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  8962. +done
  8963. +rm -f conftest.$ac_ext
  8964. +CC=$ac_save_CC
  8965. +
  8966. +fi
  8967. +# AC_CACHE_VAL
  8968. +case "x$ac_cv_prog_cc_c89" in
  8969. + x)
  8970. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  8971. +$as_echo "none needed" >&6; } ;;
  8972. + xno)
  8973. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  8974. +$as_echo "unsupported" >&6; } ;;
  8975. + *)
  8976. + CC="$CC $ac_cv_prog_cc_c89"
  8977. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  8978. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  8979. +esac
  8980. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  8981. +
  8982. +fi
  8983. +
  8984. +ac_ext=c
  8985. +ac_cpp='$CPP $CPPFLAGS'
  8986. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8987. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8988. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8989. +
  8990. +ac_ext=c
  8991. +ac_cpp='$CPP $CPPFLAGS'
  8992. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8993. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8994. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8995. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  8996. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  8997. +# On Suns, sometimes $CPP names a directory.
  8998. +if test -n "$CPP" && test -d "$CPP"; then
  8999. + CPP=
  9000. +fi
  9001. +if test -z "$CPP"; then
  9002. + if test "${ac_cv_prog_CPP+set}" = set; then :
  9003. + $as_echo_n "(cached) " >&6
  9004. +else
  9005. + # Double quotes because CPP needs to be expanded
  9006. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  9007. + do
  9008. + ac_preproc_ok=false
  9009. +for ac_c_preproc_warn_flag in '' yes
  9010. +do
  9011. + # Use a header file that comes with gcc, so configuring glibc
  9012. + # with a fresh cross-compiler works.
  9013. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9014. + # <limits.h> exists even on freestanding compilers.
  9015. + # On the NeXT, cc -E runs the code through the compiler's parser,
  9016. + # not just through cpp. "Syntax error" is here to catch this case.
  9017. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9018. +/* end confdefs.h. */
  9019. +@%:@ifdef __STDC__
  9020. +@%:@ include <limits.h>
  9021. +@%:@else
  9022. +@%:@ include <assert.h>
  9023. +@%:@endif
  9024. + Syntax error
  9025. +_ACEOF
  9026. +if ac_fn_c_try_cpp "$LINENO"; then :
  9027. +
  9028. +else
  9029. + # Broken: fails on valid input.
  9030. +continue
  9031. +fi
  9032. +rm -f conftest.err conftest.$ac_ext
  9033. +
  9034. + # OK, works on sane cases. Now check whether nonexistent headers
  9035. + # can be detected and how.
  9036. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9037. +/* end confdefs.h. */
  9038. +@%:@include <ac_nonexistent.h>
  9039. +_ACEOF
  9040. +if ac_fn_c_try_cpp "$LINENO"; then :
  9041. + # Broken: success on invalid input.
  9042. +continue
  9043. +else
  9044. + # Passes both tests.
  9045. +ac_preproc_ok=:
  9046. +break
  9047. +fi
  9048. +rm -f conftest.err conftest.$ac_ext
  9049. +
  9050. +done
  9051. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  9052. +rm -f conftest.err conftest.$ac_ext
  9053. +if $ac_preproc_ok; then :
  9054. + break
  9055. +fi
  9056. +
  9057. + done
  9058. + ac_cv_prog_CPP=$CPP
  9059. +
  9060. +fi
  9061. + CPP=$ac_cv_prog_CPP
  9062. +else
  9063. + ac_cv_prog_CPP=$CPP
  9064. +fi
  9065. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  9066. +$as_echo "$CPP" >&6; }
  9067. +ac_preproc_ok=false
  9068. +for ac_c_preproc_warn_flag in '' yes
  9069. +do
  9070. + # Use a header file that comes with gcc, so configuring glibc
  9071. + # with a fresh cross-compiler works.
  9072. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9073. + # <limits.h> exists even on freestanding compilers.
  9074. + # On the NeXT, cc -E runs the code through the compiler's parser,
  9075. + # not just through cpp. "Syntax error" is here to catch this case.
  9076. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9077. +/* end confdefs.h. */
  9078. +@%:@ifdef __STDC__
  9079. +@%:@ include <limits.h>
  9080. +@%:@else
  9081. +@%:@ include <assert.h>
  9082. +@%:@endif
  9083. + Syntax error
  9084. +_ACEOF
  9085. +if ac_fn_c_try_cpp "$LINENO"; then :
  9086. +
  9087. +else
  9088. + # Broken: fails on valid input.
  9089. +continue
  9090. +fi
  9091. +rm -f conftest.err conftest.$ac_ext
  9092. +
  9093. + # OK, works on sane cases. Now check whether nonexistent headers
  9094. + # can be detected and how.
  9095. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9096. +/* end confdefs.h. */
  9097. +@%:@include <ac_nonexistent.h>
  9098. +_ACEOF
  9099. +if ac_fn_c_try_cpp "$LINENO"; then :
  9100. + # Broken: success on invalid input.
  9101. +continue
  9102. +else
  9103. + # Passes both tests.
  9104. +ac_preproc_ok=:
  9105. +break
  9106. +fi
  9107. +rm -f conftest.err conftest.$ac_ext
  9108. +
  9109. +done
  9110. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  9111. +rm -f conftest.err conftest.$ac_ext
  9112. +if $ac_preproc_ok; then :
  9113. +
  9114. +else
  9115. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  9116. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  9117. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  9118. +See \`config.log' for more details." "$LINENO" 5; }
  9119. +fi
  9120. +
  9121. +ac_ext=c
  9122. +ac_cpp='$CPP $CPPFLAGS'
  9123. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9124. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9125. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9126. +
  9127. +
  9128. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  9129. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  9130. +if test "${ac_cv_path_GREP+set}" = set; then :
  9131. + $as_echo_n "(cached) " >&6
  9132. +else
  9133. + if test -z "$GREP"; then
  9134. + ac_path_GREP_found=false
  9135. + # Loop through the user's path and test for each of PROGNAME-LIST
  9136. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9137. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  9138. +do
  9139. + IFS=$as_save_IFS
  9140. + test -z "$as_dir" && as_dir=.
  9141. + for ac_prog in grep ggrep; do
  9142. + for ac_exec_ext in '' $ac_executable_extensions; do
  9143. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  9144. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  9145. +# Check for GNU ac_path_GREP and select it if it is found.
  9146. + # Check for GNU $ac_path_GREP
  9147. +case `"$ac_path_GREP" --version 2>&1` in
  9148. +*GNU*)
  9149. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  9150. +*)
  9151. + ac_count=0
  9152. + $as_echo_n 0123456789 >"conftest.in"
  9153. + while :
  9154. + do
  9155. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  9156. + mv "conftest.tmp" "conftest.in"
  9157. + cp "conftest.in" "conftest.nl"
  9158. + $as_echo 'GREP' >> "conftest.nl"
  9159. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  9160. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  9161. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  9162. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  9163. + # Best one so far, save it but keep looking for a better one
  9164. + ac_cv_path_GREP="$ac_path_GREP"
  9165. + ac_path_GREP_max=$ac_count
  9166. + fi
  9167. + # 10*(2^10) chars as input seems more than enough
  9168. + test $ac_count -gt 10 && break
  9169. + done
  9170. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  9171. +esac
  9172. +
  9173. + $ac_path_GREP_found && break 3
  9174. + done
  9175. + done
  9176. + done
  9177. +IFS=$as_save_IFS
  9178. + if test -z "$ac_cv_path_GREP"; then
  9179. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  9180. + fi
  9181. +else
  9182. + ac_cv_path_GREP=$GREP
  9183. +fi
  9184. +
  9185. +fi
  9186. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  9187. +$as_echo "$ac_cv_path_GREP" >&6; }
  9188. + GREP="$ac_cv_path_GREP"
  9189. +
  9190. +
  9191. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  9192. +$as_echo_n "checking for egrep... " >&6; }
  9193. +if test "${ac_cv_path_EGREP+set}" = set; then :
  9194. + $as_echo_n "(cached) " >&6
  9195. +else
  9196. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  9197. + then ac_cv_path_EGREP="$GREP -E"
  9198. + else
  9199. + if test -z "$EGREP"; then
  9200. + ac_path_EGREP_found=false
  9201. + # Loop through the user's path and test for each of PROGNAME-LIST
  9202. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9203. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  9204. +do
  9205. + IFS=$as_save_IFS
  9206. + test -z "$as_dir" && as_dir=.
  9207. + for ac_prog in egrep; do
  9208. + for ac_exec_ext in '' $ac_executable_extensions; do
  9209. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  9210. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  9211. +# Check for GNU ac_path_EGREP and select it if it is found.
  9212. + # Check for GNU $ac_path_EGREP
  9213. +case `"$ac_path_EGREP" --version 2>&1` in
  9214. +*GNU*)
  9215. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  9216. +*)
  9217. + ac_count=0
  9218. + $as_echo_n 0123456789 >"conftest.in"
  9219. + while :
  9220. + do
  9221. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  9222. + mv "conftest.tmp" "conftest.in"
  9223. + cp "conftest.in" "conftest.nl"
  9224. + $as_echo 'EGREP' >> "conftest.nl"
  9225. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  9226. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  9227. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  9228. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  9229. + # Best one so far, save it but keep looking for a better one
  9230. + ac_cv_path_EGREP="$ac_path_EGREP"
  9231. + ac_path_EGREP_max=$ac_count
  9232. + fi
  9233. + # 10*(2^10) chars as input seems more than enough
  9234. + test $ac_count -gt 10 && break
  9235. + done
  9236. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  9237. +esac
  9238. +
  9239. + $ac_path_EGREP_found && break 3
  9240. + done
  9241. + done
  9242. + done
  9243. +IFS=$as_save_IFS
  9244. + if test -z "$ac_cv_path_EGREP"; then
  9245. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  9246. + fi
  9247. +else
  9248. + ac_cv_path_EGREP=$EGREP
  9249. +fi
  9250. +
  9251. + fi
  9252. +fi
  9253. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  9254. +$as_echo "$ac_cv_path_EGREP" >&6; }
  9255. + EGREP="$ac_cv_path_EGREP"
  9256. +
  9257. +
  9258. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  9259. +$as_echo_n "checking for ANSI C header files... " >&6; }
  9260. +if test "${ac_cv_header_stdc+set}" = set; then :
  9261. + $as_echo_n "(cached) " >&6
  9262. +else
  9263. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9264. +/* end confdefs.h. */
  9265. +#include <stdlib.h>
  9266. +#include <stdarg.h>
  9267. +#include <string.h>
  9268. +#include <float.h>
  9269. +
  9270. +int
  9271. +main ()
  9272. +{
  9273. +
  9274. + ;
  9275. + return 0;
  9276. +}
  9277. +_ACEOF
  9278. +if ac_fn_c_try_compile "$LINENO"; then :
  9279. + ac_cv_header_stdc=yes
  9280. +else
  9281. + ac_cv_header_stdc=no
  9282. +fi
  9283. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9284. +
  9285. +if test $ac_cv_header_stdc = yes; then
  9286. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  9287. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9288. +/* end confdefs.h. */
  9289. +#include <string.h>
  9290. +
  9291. +_ACEOF
  9292. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9293. + $EGREP "memchr" >/dev/null 2>&1; then :
  9294. +
  9295. +else
  9296. + ac_cv_header_stdc=no
  9297. +fi
  9298. +rm -f conftest*
  9299. +
  9300. +fi
  9301. +
  9302. +if test $ac_cv_header_stdc = yes; then
  9303. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  9304. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9305. +/* end confdefs.h. */
  9306. +#include <stdlib.h>
  9307. +
  9308. +_ACEOF
  9309. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  9310. + $EGREP "free" >/dev/null 2>&1; then :
  9311. +
  9312. +else
  9313. + ac_cv_header_stdc=no
  9314. +fi
  9315. +rm -f conftest*
  9316. +
  9317. +fi
  9318. +
  9319. +if test $ac_cv_header_stdc = yes; then
  9320. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  9321. + if test "$cross_compiling" = yes; then :
  9322. + :
  9323. +else
  9324. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9325. +/* end confdefs.h. */
  9326. +#include <ctype.h>
  9327. +#include <stdlib.h>
  9328. +#if ((' ' & 0x0FF) == 0x020)
  9329. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  9330. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  9331. +#else
  9332. +# define ISLOWER(c) \
  9333. + (('a' <= (c) && (c) <= 'i') \
  9334. + || ('j' <= (c) && (c) <= 'r') \
  9335. + || ('s' <= (c) && (c) <= 'z'))
  9336. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  9337. +#endif
  9338. +
  9339. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  9340. +int
  9341. +main ()
  9342. +{
  9343. + int i;
  9344. + for (i = 0; i < 256; i++)
  9345. + if (XOR (islower (i), ISLOWER (i))
  9346. + || toupper (i) != TOUPPER (i))
  9347. + return 2;
  9348. + return 0;
  9349. +}
  9350. +_ACEOF
  9351. +if ac_fn_c_try_run "$LINENO"; then :
  9352. +
  9353. +else
  9354. + ac_cv_header_stdc=no
  9355. +fi
  9356. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  9357. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  9358. +fi
  9359. +
  9360. +fi
  9361. +fi
  9362. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  9363. +$as_echo "$ac_cv_header_stdc" >&6; }
  9364. +if test $ac_cv_header_stdc = yes; then
  9365. +
  9366. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  9367. +
  9368. +fi
  9369. +
  9370. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  9371. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  9372. + inttypes.h stdint.h unistd.h
  9373. +do :
  9374. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9375. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  9376. +"
  9377. +eval as_val=\$$as_ac_Header
  9378. + if test "x$as_val" = x""yes; then :
  9379. + cat >>confdefs.h <<_ACEOF
  9380. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  9381. +_ACEOF
  9382. +
  9383. +fi
  9384. +
  9385. +done
  9386. +
  9387. +
  9388. +
  9389. + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  9390. +if test "x$ac_cv_header_minix_config_h" = x""yes; then :
  9391. + MINIX=yes
  9392. +else
  9393. + MINIX=
  9394. +fi
  9395. +
  9396. +
  9397. + if test "$MINIX" = yes; then
  9398. +
  9399. +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
  9400. +
  9401. +
  9402. +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
  9403. +
  9404. +
  9405. +$as_echo "@%:@define _MINIX 1" >>confdefs.h
  9406. +
  9407. + fi
  9408. +
  9409. +
  9410. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  9411. +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  9412. +if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
  9413. + $as_echo_n "(cached) " >&6
  9414. +else
  9415. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9416. +/* end confdefs.h. */
  9417. +
  9418. +# define __EXTENSIONS__ 1
  9419. + $ac_includes_default
  9420. +int
  9421. +main ()
  9422. +{
  9423. +
  9424. + ;
  9425. + return 0;
  9426. +}
  9427. +_ACEOF
  9428. +if ac_fn_c_try_compile "$LINENO"; then :
  9429. + ac_cv_safe_to_define___extensions__=yes
  9430. +else
  9431. + ac_cv_safe_to_define___extensions__=no
  9432. +fi
  9433. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9434. +fi
  9435. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  9436. +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  9437. + test $ac_cv_safe_to_define___extensions__ = yes &&
  9438. + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
  9439. +
  9440. + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
  9441. +
  9442. + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
  9443. +
  9444. + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  9445. +
  9446. + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
  9447. +
  9448. +
  9449. +
  9450. +
  9451. +
  9452. +# The tests for host and target for $enable_largefile require
  9453. +# canonical names.
  9454. +
  9455. +
  9456. +
  9457. +# As the $enable_largefile decision depends on --enable-plugins we must set it
  9458. +# even in directories otherwise not depending on the $plugins option.
  9459. +
  9460. +
  9461. +@%:@ Check whether --enable-plugins was given.
  9462. +if test "${enable_plugins+set}" = set; then :
  9463. + enableval=$enable_plugins; case "${enableval}" in
  9464. + yes | "") plugins=yes ;;
  9465. + no) plugins=no ;;
  9466. + *) plugins=yes ;;
  9467. + esac
  9468. +else
  9469. + plugins=no
  9470. +fi
  9471. +
  9472. +
  9473. +
  9474. +case "${host}" in
  9475. + sparc-*-solaris*|i[3-7]86-*-solaris*)
  9476. + # On native 32bit sparc and ia32 solaris, large-file and procfs support
  9477. + # are mutually exclusive; and without procfs support, the bfd/ elf module
  9478. + # cannot provide certain routines such as elfcore_write_prpsinfo
  9479. + # or elfcore_write_prstatus. So unless the user explicitly requested
  9480. + # large-file support through the --enable-largefile switch, disable
  9481. + # large-file support in favor of procfs support.
  9482. + test "${target}" = "${host}" -a "x$plugins" = xno \
  9483. + && : ${enable_largefile="no"}
  9484. + ;;
  9485. +esac
  9486. +
  9487. +@%:@ Check whether --enable-largefile was given.
  9488. +if test "${enable_largefile+set}" = set; then :
  9489. + enableval=$enable_largefile;
  9490. +fi
  9491. +
  9492. +if test "$enable_largefile" != no; then
  9493. +
  9494. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  9495. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  9496. +if test "${ac_cv_sys_largefile_CC+set}" = set; then :
  9497. + $as_echo_n "(cached) " >&6
  9498. +else
  9499. + ac_cv_sys_largefile_CC=no
  9500. + if test "$GCC" != yes; then
  9501. + ac_save_CC=$CC
  9502. + while :; do
  9503. + # IRIX 6.2 and later do not support large files by default,
  9504. + # so use the C compiler's -n32 option if that helps.
  9505. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9506. +/* end confdefs.h. */
  9507. +@%:@include <sys/types.h>
  9508. + /* Check that off_t can represent 2**63 - 1 correctly.
  9509. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  9510. + since some C++ compilers masquerading as C compilers
  9511. + incorrectly reject 9223372036854775807. */
  9512. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  9513. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  9514. + && LARGE_OFF_T % 2147483647 == 1)
  9515. + ? 1 : -1];
  9516. +int
  9517. +main ()
  9518. +{
  9519. +
  9520. + ;
  9521. + return 0;
  9522. +}
  9523. +_ACEOF
  9524. + if ac_fn_c_try_compile "$LINENO"; then :
  9525. + break
  9526. +fi
  9527. +rm -f core conftest.err conftest.$ac_objext
  9528. + CC="$CC -n32"
  9529. + if ac_fn_c_try_compile "$LINENO"; then :
  9530. + ac_cv_sys_largefile_CC=' -n32'; break
  9531. +fi
  9532. +rm -f core conftest.err conftest.$ac_objext
  9533. + break
  9534. + done
  9535. + CC=$ac_save_CC
  9536. + rm -f conftest.$ac_ext
  9537. + fi
  9538. +fi
  9539. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  9540. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  9541. + if test "$ac_cv_sys_largefile_CC" != no; then
  9542. + CC=$CC$ac_cv_sys_largefile_CC
  9543. + fi
  9544. +
  9545. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  9546. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  9547. +if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
  9548. + $as_echo_n "(cached) " >&6
  9549. +else
  9550. + while :; do
  9551. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9552. +/* end confdefs.h. */
  9553. +@%:@include <sys/types.h>
  9554. + /* Check that off_t can represent 2**63 - 1 correctly.
  9555. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  9556. + since some C++ compilers masquerading as C compilers
  9557. + incorrectly reject 9223372036854775807. */
  9558. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  9559. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  9560. + && LARGE_OFF_T % 2147483647 == 1)
  9561. + ? 1 : -1];
  9562. +int
  9563. +main ()
  9564. +{
  9565. +
  9566. + ;
  9567. + return 0;
  9568. +}
  9569. +_ACEOF
  9570. +if ac_fn_c_try_compile "$LINENO"; then :
  9571. + ac_cv_sys_file_offset_bits=no; break
  9572. +fi
  9573. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9574. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9575. +/* end confdefs.h. */
  9576. +@%:@define _FILE_OFFSET_BITS 64
  9577. +@%:@include <sys/types.h>
  9578. + /* Check that off_t can represent 2**63 - 1 correctly.
  9579. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  9580. + since some C++ compilers masquerading as C compilers
  9581. + incorrectly reject 9223372036854775807. */
  9582. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  9583. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  9584. + && LARGE_OFF_T % 2147483647 == 1)
  9585. + ? 1 : -1];
  9586. +int
  9587. +main ()
  9588. +{
  9589. +
  9590. + ;
  9591. + return 0;
  9592. +}
  9593. +_ACEOF
  9594. +if ac_fn_c_try_compile "$LINENO"; then :
  9595. + ac_cv_sys_file_offset_bits=64; break
  9596. +fi
  9597. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9598. + ac_cv_sys_file_offset_bits=unknown
  9599. + break
  9600. +done
  9601. +fi
  9602. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  9603. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  9604. +case $ac_cv_sys_file_offset_bits in #(
  9605. + no | unknown) ;;
  9606. + *)
  9607. +cat >>confdefs.h <<_ACEOF
  9608. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  9609. +_ACEOF
  9610. +;;
  9611. +esac
  9612. +rm -rf conftest*
  9613. + if test $ac_cv_sys_file_offset_bits = unknown; then
  9614. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  9615. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  9616. +if test "${ac_cv_sys_large_files+set}" = set; then :
  9617. + $as_echo_n "(cached) " >&6
  9618. +else
  9619. + while :; do
  9620. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9621. +/* end confdefs.h. */
  9622. +@%:@include <sys/types.h>
  9623. + /* Check that off_t can represent 2**63 - 1 correctly.
  9624. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  9625. + since some C++ compilers masquerading as C compilers
  9626. + incorrectly reject 9223372036854775807. */
  9627. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  9628. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  9629. + && LARGE_OFF_T % 2147483647 == 1)
  9630. + ? 1 : -1];
  9631. +int
  9632. +main ()
  9633. +{
  9634. +
  9635. + ;
  9636. + return 0;
  9637. +}
  9638. +_ACEOF
  9639. +if ac_fn_c_try_compile "$LINENO"; then :
  9640. + ac_cv_sys_large_files=no; break
  9641. +fi
  9642. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9643. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9644. +/* end confdefs.h. */
  9645. +@%:@define _LARGE_FILES 1
  9646. +@%:@include <sys/types.h>
  9647. + /* Check that off_t can represent 2**63 - 1 correctly.
  9648. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  9649. + since some C++ compilers masquerading as C compilers
  9650. + incorrectly reject 9223372036854775807. */
  9651. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  9652. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  9653. + && LARGE_OFF_T % 2147483647 == 1)
  9654. + ? 1 : -1];
  9655. +int
  9656. +main ()
  9657. +{
  9658. +
  9659. + ;
  9660. + return 0;
  9661. +}
  9662. +_ACEOF
  9663. +if ac_fn_c_try_compile "$LINENO"; then :
  9664. + ac_cv_sys_large_files=1; break
  9665. +fi
  9666. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9667. + ac_cv_sys_large_files=unknown
  9668. + break
  9669. +done
  9670. +fi
  9671. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  9672. +$as_echo "$ac_cv_sys_large_files" >&6; }
  9673. +case $ac_cv_sys_large_files in #(
  9674. + no | unknown) ;;
  9675. + *)
  9676. +cat >>confdefs.h <<_ACEOF
  9677. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  9678. +_ACEOF
  9679. +;;
  9680. +esac
  9681. +rm -rf conftest*
  9682. + fi
  9683. +fi
  9684. +
  9685. +
  9686. +
  9687. +case `pwd` in
  9688. + *\ * | *\ *)
  9689. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  9690. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  9691. +esac
  9692. +
  9693. +
  9694. +
  9695. +macro_version='2.2.7a'
  9696. +macro_revision='1.3134'
  9697. +
  9698. +
  9699. +
  9700. +
  9701. +
  9702. +
  9703. +
  9704. +
  9705. +
  9706. +
  9707. +
  9708. +
  9709. +
  9710. +ltmain="$ac_aux_dir/ltmain.sh"
  9711. +
  9712. +# Backslashify metacharacters that are still active within
  9713. +# double-quoted strings.
  9714. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  9715. +
  9716. +# Same as above, but do not quote variable references.
  9717. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  9718. +
  9719. +# Sed substitution to delay expansion of an escaped shell variable in a
  9720. +# double_quote_subst'ed string.
  9721. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  9722. +
  9723. +# Sed substitution to delay expansion of an escaped single quote.
  9724. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  9725. +
  9726. +# Sed substitution to avoid accidental globbing in evaled expressions
  9727. +no_glob_subst='s/\*/\\\*/g'
  9728. +
  9729. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9730. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  9731. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  9732. +
  9733. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  9734. +$as_echo_n "checking how to print strings... " >&6; }
  9735. +# Test print first, because it will be a builtin if present.
  9736. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  9737. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  9738. + ECHO='print -r --'
  9739. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  9740. + ECHO='printf %s\n'
  9741. +else
  9742. + # Use this function as a fallback that always works.
  9743. + func_fallback_echo ()
  9744. + {
  9745. + eval 'cat <<_LTECHO_EOF
  9746. +$1
  9747. +_LTECHO_EOF'
  9748. + }
  9749. + ECHO='func_fallback_echo'
  9750. +fi
  9751. +
  9752. +# func_echo_all arg...
  9753. +# Invoke $ECHO with all args, space-separated.
  9754. +func_echo_all ()
  9755. +{
  9756. + $ECHO ""
  9757. +}
  9758. +
  9759. +case "$ECHO" in
  9760. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  9761. +$as_echo "printf" >&6; } ;;
  9762. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  9763. +$as_echo "print -r" >&6; } ;;
  9764. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  9765. +$as_echo "cat" >&6; } ;;
  9766. +esac
  9767. +
  9768. +
  9769. +
  9770. +
  9771. +
  9772. +
  9773. +
  9774. +
  9775. +
  9776. +
  9777. +
  9778. +
  9779. +
  9780. +
  9781. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  9782. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  9783. +if test "${ac_cv_path_SED+set}" = set; then :
  9784. + $as_echo_n "(cached) " >&6
  9785. +else
  9786. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  9787. + for ac_i in 1 2 3 4 5 6 7; do
  9788. + ac_script="$ac_script$as_nl$ac_script"
  9789. + done
  9790. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  9791. + { ac_script=; unset ac_script;}
  9792. + if test -z "$SED"; then
  9793. + ac_path_SED_found=false
  9794. + # Loop through the user's path and test for each of PROGNAME-LIST
  9795. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9796. +for as_dir in $PATH
  9797. +do
  9798. + IFS=$as_save_IFS
  9799. + test -z "$as_dir" && as_dir=.
  9800. + for ac_prog in sed gsed; do
  9801. + for ac_exec_ext in '' $ac_executable_extensions; do
  9802. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  9803. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  9804. +# Check for GNU ac_path_SED and select it if it is found.
  9805. + # Check for GNU $ac_path_SED
  9806. +case `"$ac_path_SED" --version 2>&1` in
  9807. +*GNU*)
  9808. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  9809. +*)
  9810. + ac_count=0
  9811. + $as_echo_n 0123456789 >"conftest.in"
  9812. + while :
  9813. + do
  9814. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  9815. + mv "conftest.tmp" "conftest.in"
  9816. + cp "conftest.in" "conftest.nl"
  9817. + $as_echo '' >> "conftest.nl"
  9818. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  9819. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  9820. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  9821. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  9822. + # Best one so far, save it but keep looking for a better one
  9823. + ac_cv_path_SED="$ac_path_SED"
  9824. + ac_path_SED_max=$ac_count
  9825. + fi
  9826. + # 10*(2^10) chars as input seems more than enough
  9827. + test $ac_count -gt 10 && break
  9828. + done
  9829. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  9830. +esac
  9831. +
  9832. + $ac_path_SED_found && break 3
  9833. + done
  9834. + done
  9835. + done
  9836. +IFS=$as_save_IFS
  9837. + if test -z "$ac_cv_path_SED"; then
  9838. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  9839. + fi
  9840. +else
  9841. + ac_cv_path_SED=$SED
  9842. +fi
  9843. +
  9844. +fi
  9845. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  9846. +$as_echo "$ac_cv_path_SED" >&6; }
  9847. + SED="$ac_cv_path_SED"
  9848. + rm -f conftest.sed
  9849. +
  9850. +test -z "$SED" && SED=sed
  9851. +Xsed="$SED -e 1s/^X//"
  9852. +
  9853. +
  9854. +
  9855. +
  9856. +
  9857. +
  9858. +
  9859. +
  9860. +
  9861. +
  9862. +
  9863. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  9864. +$as_echo_n "checking for fgrep... " >&6; }
  9865. +if test "${ac_cv_path_FGREP+set}" = set; then :
  9866. + $as_echo_n "(cached) " >&6
  9867. +else
  9868. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  9869. + then ac_cv_path_FGREP="$GREP -F"
  9870. + else
  9871. + if test -z "$FGREP"; then
  9872. + ac_path_FGREP_found=false
  9873. + # Loop through the user's path and test for each of PROGNAME-LIST
  9874. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9875. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  9876. +do
  9877. + IFS=$as_save_IFS
  9878. + test -z "$as_dir" && as_dir=.
  9879. + for ac_prog in fgrep; do
  9880. + for ac_exec_ext in '' $ac_executable_extensions; do
  9881. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  9882. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  9883. +# Check for GNU ac_path_FGREP and select it if it is found.
  9884. + # Check for GNU $ac_path_FGREP
  9885. +case `"$ac_path_FGREP" --version 2>&1` in
  9886. +*GNU*)
  9887. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  9888. +*)
  9889. + ac_count=0
  9890. + $as_echo_n 0123456789 >"conftest.in"
  9891. + while :
  9892. + do
  9893. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  9894. + mv "conftest.tmp" "conftest.in"
  9895. + cp "conftest.in" "conftest.nl"
  9896. + $as_echo 'FGREP' >> "conftest.nl"
  9897. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  9898. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  9899. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  9900. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  9901. + # Best one so far, save it but keep looking for a better one
  9902. + ac_cv_path_FGREP="$ac_path_FGREP"
  9903. + ac_path_FGREP_max=$ac_count
  9904. + fi
  9905. + # 10*(2^10) chars as input seems more than enough
  9906. + test $ac_count -gt 10 && break
  9907. + done
  9908. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  9909. +esac
  9910. +
  9911. + $ac_path_FGREP_found && break 3
  9912. + done
  9913. + done
  9914. + done
  9915. +IFS=$as_save_IFS
  9916. + if test -z "$ac_cv_path_FGREP"; then
  9917. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  9918. + fi
  9919. +else
  9920. + ac_cv_path_FGREP=$FGREP
  9921. +fi
  9922. +
  9923. + fi
  9924. +fi
  9925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  9926. +$as_echo "$ac_cv_path_FGREP" >&6; }
  9927. + FGREP="$ac_cv_path_FGREP"
  9928. +
  9929. +
  9930. +test -z "$GREP" && GREP=grep
  9931. +
  9932. +
  9933. +
  9934. +
  9935. +
  9936. +
  9937. +
  9938. +
  9939. +
  9940. +
  9941. +
  9942. +
  9943. +
  9944. +
  9945. +
  9946. +
  9947. +
  9948. +
  9949. +
  9950. +@%:@ Check whether --with-gnu-ld was given.
  9951. +if test "${with_gnu_ld+set}" = set; then :
  9952. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  9953. +else
  9954. + with_gnu_ld=no
  9955. +fi
  9956. +
  9957. +ac_prog=ld
  9958. +if test "$GCC" = yes; then
  9959. + # Check if gcc -print-prog-name=ld gives a path.
  9960. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  9961. +$as_echo_n "checking for ld used by $CC... " >&6; }
  9962. + case $host in
  9963. + *-*-mingw*)
  9964. + # gcc leaves a trailing carriage return which upsets mingw
  9965. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  9966. + *)
  9967. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  9968. + esac
  9969. + case $ac_prog in
  9970. + # Accept absolute paths.
  9971. + [\\/]* | ?:[\\/]*)
  9972. + re_direlt='/[^/][^/]*/\.\./'
  9973. + # Canonicalize the pathname of ld
  9974. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  9975. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  9976. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  9977. + done
  9978. + test -z "$LD" && LD="$ac_prog"
  9979. + ;;
  9980. + "")
  9981. + # If it fails, then pretend we aren't using GCC.
  9982. + ac_prog=ld
  9983. + ;;
  9984. + *)
  9985. + # If it is relative, then search for the first ld in PATH.
  9986. + with_gnu_ld=unknown
  9987. + ;;
  9988. + esac
  9989. +elif test "$with_gnu_ld" = yes; then
  9990. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  9991. +$as_echo_n "checking for GNU ld... " >&6; }
  9992. +else
  9993. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  9994. +$as_echo_n "checking for non-GNU ld... " >&6; }
  9995. +fi
  9996. +if test "${lt_cv_path_LD+set}" = set; then :
  9997. + $as_echo_n "(cached) " >&6
  9998. +else
  9999. + if test -z "$LD"; then
  10000. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10001. + for ac_dir in $PATH; do
  10002. + IFS="$lt_save_ifs"
  10003. + test -z "$ac_dir" && ac_dir=.
  10004. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  10005. + lt_cv_path_LD="$ac_dir/$ac_prog"
  10006. + # Check to see if the program is GNU ld. I'd rather use --version,
  10007. + # but apparently some variants of GNU ld only accept -v.
  10008. + # Break only if it was the GNU/non-GNU ld that we prefer.
  10009. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  10010. + *GNU* | *'with BFD'*)
  10011. + test "$with_gnu_ld" != no && break
  10012. + ;;
  10013. + *)
  10014. + test "$with_gnu_ld" != yes && break
  10015. + ;;
  10016. + esac
  10017. + fi
  10018. + done
  10019. + IFS="$lt_save_ifs"
  10020. +else
  10021. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  10022. +fi
  10023. +fi
  10024. +
  10025. +LD="$lt_cv_path_LD"
  10026. +if test -n "$LD"; then
  10027. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  10028. +$as_echo "$LD" >&6; }
  10029. +else
  10030. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10031. +$as_echo "no" >&6; }
  10032. +fi
  10033. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  10034. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  10035. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  10036. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  10037. + $as_echo_n "(cached) " >&6
  10038. +else
  10039. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  10040. +case `$LD -v 2>&1 </dev/null` in
  10041. +*GNU* | *'with BFD'*)
  10042. + lt_cv_prog_gnu_ld=yes
  10043. + ;;
  10044. +*)
  10045. + lt_cv_prog_gnu_ld=no
  10046. + ;;
  10047. +esac
  10048. +fi
  10049. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  10050. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  10051. +with_gnu_ld=$lt_cv_prog_gnu_ld
  10052. +
  10053. +
  10054. +
  10055. +
  10056. +
  10057. +
  10058. +
  10059. +
  10060. +
  10061. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  10062. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  10063. +if test "${lt_cv_path_NM+set}" = set; then :
  10064. + $as_echo_n "(cached) " >&6
  10065. +else
  10066. + if test -n "$NM"; then
  10067. + # Let the user override the test.
  10068. + lt_cv_path_NM="$NM"
  10069. +else
  10070. + lt_nm_to_check="${ac_tool_prefix}nm"
  10071. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  10072. + lt_nm_to_check="$lt_nm_to_check nm"
  10073. + fi
  10074. + for lt_tmp_nm in $lt_nm_to_check; do
  10075. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  10076. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  10077. + IFS="$lt_save_ifs"
  10078. + test -z "$ac_dir" && ac_dir=.
  10079. + tmp_nm="$ac_dir/$lt_tmp_nm"
  10080. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  10081. + # Check to see if the nm accepts a BSD-compat flag.
  10082. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  10083. + # nm: unknown option "B" ignored
  10084. + # Tru64's nm complains that /dev/null is an invalid object file
  10085. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  10086. + */dev/null* | *'Invalid file or object type'*)
  10087. + lt_cv_path_NM="$tmp_nm -B"
  10088. + break
  10089. + ;;
  10090. + *)
  10091. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  10092. + */dev/null*)
  10093. + lt_cv_path_NM="$tmp_nm -p"
  10094. + break
  10095. + ;;
  10096. + *)
  10097. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  10098. + continue # so that we can try to find one that supports BSD flags
  10099. + ;;
  10100. + esac
  10101. + ;;
  10102. + esac
  10103. + fi
  10104. + done
  10105. + IFS="$lt_save_ifs"
  10106. + done
  10107. + : ${lt_cv_path_NM=no}
  10108. +fi
  10109. +fi
  10110. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  10111. +$as_echo "$lt_cv_path_NM" >&6; }
  10112. +if test "$lt_cv_path_NM" != "no"; then
  10113. + NM="$lt_cv_path_NM"
  10114. +else
  10115. + # Didn't find any BSD compatible name lister, look for dumpbin.
  10116. + if test -n "$DUMPBIN"; then :
  10117. + # Let the user override the test.
  10118. + else
  10119. + if test -n "$ac_tool_prefix"; then
  10120. + for ac_prog in dumpbin "link -dump"
  10121. + do
  10122. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  10123. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  10124. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10125. +$as_echo_n "checking for $ac_word... " >&6; }
  10126. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  10127. + $as_echo_n "(cached) " >&6
  10128. +else
  10129. + if test -n "$DUMPBIN"; then
  10130. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  10131. +else
  10132. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10133. +for as_dir in $PATH
  10134. +do
  10135. + IFS=$as_save_IFS
  10136. + test -z "$as_dir" && as_dir=.
  10137. + for ac_exec_ext in '' $ac_executable_extensions; do
  10138. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10139. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  10140. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10141. + break 2
  10142. + fi
  10143. +done
  10144. + done
  10145. +IFS=$as_save_IFS
  10146. +
  10147. +fi
  10148. +fi
  10149. +DUMPBIN=$ac_cv_prog_DUMPBIN
  10150. +if test -n "$DUMPBIN"; then
  10151. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  10152. +$as_echo "$DUMPBIN" >&6; }
  10153. +else
  10154. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10155. +$as_echo "no" >&6; }
  10156. +fi
  10157. +
  10158. +
  10159. + test -n "$DUMPBIN" && break
  10160. + done
  10161. +fi
  10162. +if test -z "$DUMPBIN"; then
  10163. + ac_ct_DUMPBIN=$DUMPBIN
  10164. + for ac_prog in dumpbin "link -dump"
  10165. +do
  10166. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  10167. +set dummy $ac_prog; ac_word=$2
  10168. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10169. +$as_echo_n "checking for $ac_word... " >&6; }
  10170. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  10171. + $as_echo_n "(cached) " >&6
  10172. +else
  10173. + if test -n "$ac_ct_DUMPBIN"; then
  10174. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  10175. +else
  10176. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10177. +for as_dir in $PATH
  10178. +do
  10179. + IFS=$as_save_IFS
  10180. + test -z "$as_dir" && as_dir=.
  10181. + for ac_exec_ext in '' $ac_executable_extensions; do
  10182. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10183. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  10184. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10185. + break 2
  10186. + fi
  10187. +done
  10188. + done
  10189. +IFS=$as_save_IFS
  10190. +
  10191. +fi
  10192. +fi
  10193. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  10194. +if test -n "$ac_ct_DUMPBIN"; then
  10195. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  10196. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  10197. +else
  10198. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10199. +$as_echo "no" >&6; }
  10200. +fi
  10201. +
  10202. +
  10203. + test -n "$ac_ct_DUMPBIN" && break
  10204. +done
  10205. +
  10206. + if test "x$ac_ct_DUMPBIN" = x; then
  10207. + DUMPBIN=":"
  10208. + else
  10209. + case $cross_compiling:$ac_tool_warned in
  10210. +yes:)
  10211. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10212. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10213. +ac_tool_warned=yes ;;
  10214. +esac
  10215. + DUMPBIN=$ac_ct_DUMPBIN
  10216. + fi
  10217. +fi
  10218. +
  10219. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  10220. + *COFF*)
  10221. + DUMPBIN="$DUMPBIN -symbols"
  10222. + ;;
  10223. + *)
  10224. + DUMPBIN=:
  10225. + ;;
  10226. + esac
  10227. + fi
  10228. +
  10229. + if test "$DUMPBIN" != ":"; then
  10230. + NM="$DUMPBIN"
  10231. + fi
  10232. +fi
  10233. +test -z "$NM" && NM=nm
  10234. +
  10235. +
  10236. +
  10237. +
  10238. +
  10239. +
  10240. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  10241. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  10242. +if test "${lt_cv_nm_interface+set}" = set; then :
  10243. + $as_echo_n "(cached) " >&6
  10244. +else
  10245. + lt_cv_nm_interface="BSD nm"
  10246. + echo "int some_variable = 0;" > conftest.$ac_ext
  10247. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  10248. + (eval "$ac_compile" 2>conftest.err)
  10249. + cat conftest.err >&5
  10250. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  10251. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  10252. + cat conftest.err >&5
  10253. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  10254. + cat conftest.out >&5
  10255. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  10256. + lt_cv_nm_interface="MS dumpbin"
  10257. + fi
  10258. + rm -f conftest*
  10259. +fi
  10260. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  10261. +$as_echo "$lt_cv_nm_interface" >&6; }
  10262. +
  10263. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  10264. +$as_echo_n "checking whether ln -s works... " >&6; }
  10265. +LN_S=$as_ln_s
  10266. +if test "$LN_S" = "ln -s"; then
  10267. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10268. +$as_echo "yes" >&6; }
  10269. +else
  10270. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  10271. +$as_echo "no, using $LN_S" >&6; }
  10272. +fi
  10273. +
  10274. +# find the maximum length of command line arguments
  10275. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  10276. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  10277. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  10278. + $as_echo_n "(cached) " >&6
  10279. +else
  10280. + i=0
  10281. + teststring="ABCD"
  10282. +
  10283. + case $build_os in
  10284. + msdosdjgpp*)
  10285. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  10286. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  10287. + # during glob expansion). Even if it were fixed, the result of this
  10288. + # check would be larger than it should be.
  10289. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  10290. + ;;
  10291. +
  10292. + gnu*)
  10293. + # Under GNU Hurd, this test is not required because there is
  10294. + # no limit to the length of command line arguments.
  10295. + # Libtool will interpret -1 as no limit whatsoever
  10296. + lt_cv_sys_max_cmd_len=-1;
  10297. + ;;
  10298. +
  10299. + cygwin* | mingw* | cegcc*)
  10300. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  10301. + # about 5 minutes as the teststring grows exponentially.
  10302. + # Worse, since 9x/ME are not pre-emptively multitasking,
  10303. + # you end up with a "frozen" computer, even though with patience
  10304. + # the test eventually succeeds (with a max line length of 256k).
  10305. + # Instead, let's just punt: use the minimum linelength reported by
  10306. + # all of the supported platforms: 8192 (on NT/2K/XP).
  10307. + lt_cv_sys_max_cmd_len=8192;
  10308. + ;;
  10309. +
  10310. + mint*)
  10311. + # On MiNT this can take a long time and run out of memory.
  10312. + lt_cv_sys_max_cmd_len=8192;
  10313. + ;;
  10314. +
  10315. + amigaos*)
  10316. + # On AmigaOS with pdksh, this test takes hours, literally.
  10317. + # So we just punt and use a minimum line length of 8192.
  10318. + lt_cv_sys_max_cmd_len=8192;
  10319. + ;;
  10320. +
  10321. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  10322. + # This has been around since 386BSD, at least. Likely further.
  10323. + if test -x /sbin/sysctl; then
  10324. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  10325. + elif test -x /usr/sbin/sysctl; then
  10326. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  10327. + else
  10328. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  10329. + fi
  10330. + # And add a safety zone
  10331. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  10332. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  10333. + ;;
  10334. +
  10335. + interix*)
  10336. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  10337. + lt_cv_sys_max_cmd_len=196608
  10338. + ;;
  10339. +
  10340. + osf*)
  10341. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  10342. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  10343. + # nice to cause kernel panics so lets avoid the loop below.
  10344. + # First set a reasonable default.
  10345. + lt_cv_sys_max_cmd_len=16384
  10346. + #
  10347. + if test -x /sbin/sysconfig; then
  10348. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  10349. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  10350. + esac
  10351. + fi
  10352. + ;;
  10353. + sco3.2v5*)
  10354. + lt_cv_sys_max_cmd_len=102400
  10355. + ;;
  10356. + sysv5* | sco5v6* | sysv4.2uw2*)
  10357. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  10358. + if test -n "$kargmax"; then
  10359. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  10360. + else
  10361. + lt_cv_sys_max_cmd_len=32768
  10362. + fi
  10363. + ;;
  10364. + *)
  10365. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  10366. + if test -n "$lt_cv_sys_max_cmd_len"; then
  10367. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  10368. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  10369. + else
  10370. + # Make teststring a little bigger before we do anything with it.
  10371. + # a 1K string should be a reasonable start.
  10372. + for i in 1 2 3 4 5 6 7 8 ; do
  10373. + teststring=$teststring$teststring
  10374. + done
  10375. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  10376. + # If test is not a shell built-in, we'll probably end up computing a
  10377. + # maximum length that is only half of the actual maximum length, but
  10378. + # we can't tell.
  10379. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  10380. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  10381. + test $i != 17 # 1/2 MB should be enough
  10382. + do
  10383. + i=`expr $i + 1`
  10384. + teststring=$teststring$teststring
  10385. + done
  10386. + # Only check the string length outside the loop.
  10387. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  10388. + teststring=
  10389. + # Add a significant safety factor because C++ compilers can tack on
  10390. + # massive amounts of additional arguments before passing them to the
  10391. + # linker. It appears as though 1/2 is a usable value.
  10392. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  10393. + fi
  10394. + ;;
  10395. + esac
  10396. +
  10397. +fi
  10398. +
  10399. +if test -n $lt_cv_sys_max_cmd_len ; then
  10400. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  10401. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  10402. +else
  10403. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  10404. +$as_echo "none" >&6; }
  10405. +fi
  10406. +max_cmd_len=$lt_cv_sys_max_cmd_len
  10407. +
  10408. +
  10409. +
  10410. +
  10411. +
  10412. +
  10413. +: ${CP="cp -f"}
  10414. +: ${MV="mv -f"}
  10415. +: ${RM="rm -f"}
  10416. +
  10417. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  10418. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  10419. +# Try some XSI features
  10420. +xsi_shell=no
  10421. +( _lt_dummy="a/b/c"
  10422. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  10423. + = c,a/b,, \
  10424. + && eval 'test $(( 1 + 1 )) -eq 2 \
  10425. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  10426. + && xsi_shell=yes
  10427. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  10428. +$as_echo "$xsi_shell" >&6; }
  10429. +
  10430. +
  10431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  10432. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  10433. +lt_shell_append=no
  10434. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  10435. + >/dev/null 2>&1 \
  10436. + && lt_shell_append=yes
  10437. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  10438. +$as_echo "$lt_shell_append" >&6; }
  10439. +
  10440. +
  10441. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  10442. + lt_unset=unset
  10443. +else
  10444. + lt_unset=false
  10445. +fi
  10446. +
  10447. +
  10448. +
  10449. +
  10450. +
  10451. +# test EBCDIC or ASCII
  10452. +case `echo X|tr X '\101'` in
  10453. + A) # ASCII based system
  10454. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  10455. + lt_SP2NL='tr \040 \012'
  10456. + lt_NL2SP='tr \015\012 \040\040'
  10457. + ;;
  10458. + *) # EBCDIC based system
  10459. + lt_SP2NL='tr \100 \n'
  10460. + lt_NL2SP='tr \r\n \100\100'
  10461. + ;;
  10462. +esac
  10463. +
  10464. +
  10465. +
  10466. +
  10467. +
  10468. +
  10469. +
  10470. +
  10471. +
  10472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  10473. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  10474. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  10475. + $as_echo_n "(cached) " >&6
  10476. +else
  10477. + lt_cv_ld_reload_flag='-r'
  10478. +fi
  10479. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  10480. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  10481. +reload_flag=$lt_cv_ld_reload_flag
  10482. +case $reload_flag in
  10483. +"" | " "*) ;;
  10484. +*) reload_flag=" $reload_flag" ;;
  10485. +esac
  10486. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  10487. +case $host_os in
  10488. + darwin*)
  10489. + if test "$GCC" = yes; then
  10490. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  10491. + else
  10492. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  10493. + fi
  10494. + ;;
  10495. +esac
  10496. +
  10497. +
  10498. +
  10499. +
  10500. +
  10501. +
  10502. +
  10503. +
  10504. +
  10505. +if test -n "$ac_tool_prefix"; then
  10506. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  10507. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  10508. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10509. +$as_echo_n "checking for $ac_word... " >&6; }
  10510. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  10511. + $as_echo_n "(cached) " >&6
  10512. +else
  10513. + if test -n "$OBJDUMP"; then
  10514. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  10515. +else
  10516. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10517. +for as_dir in $PATH
  10518. +do
  10519. + IFS=$as_save_IFS
  10520. + test -z "$as_dir" && as_dir=.
  10521. + for ac_exec_ext in '' $ac_executable_extensions; do
  10522. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10523. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  10524. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10525. + break 2
  10526. + fi
  10527. +done
  10528. + done
  10529. +IFS=$as_save_IFS
  10530. +
  10531. +fi
  10532. +fi
  10533. +OBJDUMP=$ac_cv_prog_OBJDUMP
  10534. +if test -n "$OBJDUMP"; then
  10535. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  10536. +$as_echo "$OBJDUMP" >&6; }
  10537. +else
  10538. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10539. +$as_echo "no" >&6; }
  10540. +fi
  10541. +
  10542. +
  10543. +fi
  10544. +if test -z "$ac_cv_prog_OBJDUMP"; then
  10545. + ac_ct_OBJDUMP=$OBJDUMP
  10546. + # Extract the first word of "objdump", so it can be a program name with args.
  10547. +set dummy objdump; ac_word=$2
  10548. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10549. +$as_echo_n "checking for $ac_word... " >&6; }
  10550. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  10551. + $as_echo_n "(cached) " >&6
  10552. +else
  10553. + if test -n "$ac_ct_OBJDUMP"; then
  10554. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  10555. +else
  10556. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10557. +for as_dir in $PATH
  10558. +do
  10559. + IFS=$as_save_IFS
  10560. + test -z "$as_dir" && as_dir=.
  10561. + for ac_exec_ext in '' $ac_executable_extensions; do
  10562. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10563. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  10564. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10565. + break 2
  10566. + fi
  10567. +done
  10568. + done
  10569. +IFS=$as_save_IFS
  10570. +
  10571. +fi
  10572. +fi
  10573. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  10574. +if test -n "$ac_ct_OBJDUMP"; then
  10575. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  10576. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  10577. +else
  10578. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10579. +$as_echo "no" >&6; }
  10580. +fi
  10581. +
  10582. + if test "x$ac_ct_OBJDUMP" = x; then
  10583. + OBJDUMP="false"
  10584. + else
  10585. + case $cross_compiling:$ac_tool_warned in
  10586. +yes:)
  10587. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10588. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10589. +ac_tool_warned=yes ;;
  10590. +esac
  10591. + OBJDUMP=$ac_ct_OBJDUMP
  10592. + fi
  10593. +else
  10594. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  10595. +fi
  10596. +
  10597. +test -z "$OBJDUMP" && OBJDUMP=objdump
  10598. +
  10599. +
  10600. +
  10601. +
  10602. +
  10603. +
  10604. +
  10605. +
  10606. +
  10607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  10608. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  10609. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  10610. + $as_echo_n "(cached) " >&6
  10611. +else
  10612. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  10613. +lt_cv_file_magic_test_file=
  10614. +lt_cv_deplibs_check_method='unknown'
  10615. +# Need to set the preceding variable on all platforms that support
  10616. +# interlibrary dependencies.
  10617. +# 'none' -- dependencies not supported.
  10618. +# `unknown' -- same as none, but documents that we really don't know.
  10619. +# 'pass_all' -- all dependencies passed with no checks.
  10620. +# 'test_compile' -- check by making test program.
  10621. +# 'file_magic [[regex]]' -- check by looking for files in library path
  10622. +# which responds to the $file_magic_cmd with a given extended regex.
  10623. +# If you have `file' or equivalent on your system and you're not sure
  10624. +# whether `pass_all' will *always* work, you probably want this one.
  10625. +
  10626. +case $host_os in
  10627. +aix[4-9]*)
  10628. + lt_cv_deplibs_check_method=pass_all
  10629. + ;;
  10630. +
  10631. +beos*)
  10632. + lt_cv_deplibs_check_method=pass_all
  10633. + ;;
  10634. +
  10635. +bsdi[45]*)
  10636. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  10637. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  10638. + lt_cv_file_magic_test_file=/shlib/libc.so
  10639. + ;;
  10640. +
  10641. +cygwin*)
  10642. + # func_win32_libid is a shell function defined in ltmain.sh
  10643. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  10644. + lt_cv_file_magic_cmd='func_win32_libid'
  10645. + ;;
  10646. +
  10647. +mingw* | pw32*)
  10648. + # Base MSYS/MinGW do not provide the 'file' command needed by
  10649. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  10650. + # unless we find 'file', for example because we are cross-compiling.
  10651. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  10652. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  10653. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  10654. + lt_cv_file_magic_cmd='func_win32_libid'
  10655. + else
  10656. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  10657. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  10658. + fi
  10659. + ;;
  10660. +
  10661. +cegcc*)
  10662. + # use the weaker test based on 'objdump'. See mingw*.
  10663. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  10664. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  10665. + ;;
  10666. +
  10667. +darwin* | rhapsody*)
  10668. + lt_cv_deplibs_check_method=pass_all
  10669. + ;;
  10670. +
  10671. +freebsd* | dragonfly*)
  10672. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  10673. + case $host_cpu in
  10674. + i*86 )
  10675. + # Not sure whether the presence of OpenBSD here was a mistake.
  10676. + # Let's accept both of them until this is cleared up.
  10677. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  10678. + lt_cv_file_magic_cmd=/usr/bin/file
  10679. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  10680. + ;;
  10681. + esac
  10682. + else
  10683. + lt_cv_deplibs_check_method=pass_all
  10684. + fi
  10685. + ;;
  10686. +
  10687. +gnu*)
  10688. + lt_cv_deplibs_check_method=pass_all
  10689. + ;;
  10690. +
  10691. +haiku*)
  10692. + lt_cv_deplibs_check_method=pass_all
  10693. + ;;
  10694. +
  10695. +hpux10.20* | hpux11*)
  10696. + lt_cv_file_magic_cmd=/usr/bin/file
  10697. + case $host_cpu in
  10698. + ia64*)
  10699. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  10700. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  10701. + ;;
  10702. + hppa*64*)
  10703. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  10704. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  10705. + ;;
  10706. + *)
  10707. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  10708. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  10709. + ;;
  10710. + esac
  10711. + ;;
  10712. +
  10713. +interix[3-9]*)
  10714. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  10715. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  10716. + ;;
  10717. +
  10718. +irix5* | irix6* | nonstopux*)
  10719. + case $LD in
  10720. + *-32|*"-32 ") libmagic=32-bit;;
  10721. + *-n32|*"-n32 ") libmagic=N32;;
  10722. + *-64|*"-64 ") libmagic=64-bit;;
  10723. + *) libmagic=never-match;;
  10724. + esac
  10725. + lt_cv_deplibs_check_method=pass_all
  10726. + ;;
  10727. +
  10728. +# This must be Linux ELF.
  10729. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  10730. + lt_cv_deplibs_check_method=pass_all
  10731. + ;;
  10732. +
  10733. +netbsd*)
  10734. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  10735. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  10736. + else
  10737. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  10738. + fi
  10739. + ;;
  10740. +
  10741. +newos6*)
  10742. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  10743. + lt_cv_file_magic_cmd=/usr/bin/file
  10744. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  10745. + ;;
  10746. +
  10747. +*nto* | *qnx*)
  10748. + lt_cv_deplibs_check_method=pass_all
  10749. + ;;
  10750. +
  10751. +openbsd*)
  10752. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  10753. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  10754. + else
  10755. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  10756. + fi
  10757. + ;;
  10758. +
  10759. +osf3* | osf4* | osf5*)
  10760. + lt_cv_deplibs_check_method=pass_all
  10761. + ;;
  10762. +
  10763. +rdos*)
  10764. + lt_cv_deplibs_check_method=pass_all
  10765. + ;;
  10766. +
  10767. +solaris*)
  10768. + lt_cv_deplibs_check_method=pass_all
  10769. + ;;
  10770. +
  10771. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  10772. + lt_cv_deplibs_check_method=pass_all
  10773. + ;;
  10774. +
  10775. +sysv4 | sysv4.3*)
  10776. + case $host_vendor in
  10777. + motorola)
  10778. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  10779. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  10780. + ;;
  10781. + ncr)
  10782. + lt_cv_deplibs_check_method=pass_all
  10783. + ;;
  10784. + sequent)
  10785. + lt_cv_file_magic_cmd='/bin/file'
  10786. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  10787. + ;;
  10788. + sni)
  10789. + lt_cv_file_magic_cmd='/bin/file'
  10790. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  10791. + lt_cv_file_magic_test_file=/lib/libc.so
  10792. + ;;
  10793. + siemens)
  10794. + lt_cv_deplibs_check_method=pass_all
  10795. + ;;
  10796. + pc)
  10797. + lt_cv_deplibs_check_method=pass_all
  10798. + ;;
  10799. + esac
  10800. + ;;
  10801. +
  10802. +tpf*)
  10803. + lt_cv_deplibs_check_method=pass_all
  10804. + ;;
  10805. +esac
  10806. +
  10807. +fi
  10808. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  10809. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  10810. +file_magic_cmd=$lt_cv_file_magic_cmd
  10811. +deplibs_check_method=$lt_cv_deplibs_check_method
  10812. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  10813. +
  10814. +
  10815. +
  10816. +
  10817. +
  10818. +
  10819. +
  10820. +
  10821. +
  10822. +
  10823. +
  10824. +
  10825. +if test -n "$ac_tool_prefix"; then
  10826. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  10827. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  10828. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10829. +$as_echo_n "checking for $ac_word... " >&6; }
  10830. +if test "${ac_cv_prog_AR+set}" = set; then :
  10831. + $as_echo_n "(cached) " >&6
  10832. +else
  10833. + if test -n "$AR"; then
  10834. + ac_cv_prog_AR="$AR" # Let the user override the test.
  10835. +else
  10836. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10837. +for as_dir in $PATH
  10838. +do
  10839. + IFS=$as_save_IFS
  10840. + test -z "$as_dir" && as_dir=.
  10841. + for ac_exec_ext in '' $ac_executable_extensions; do
  10842. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10843. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  10844. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10845. + break 2
  10846. + fi
  10847. +done
  10848. + done
  10849. +IFS=$as_save_IFS
  10850. +
  10851. +fi
  10852. +fi
  10853. +AR=$ac_cv_prog_AR
  10854. +if test -n "$AR"; then
  10855. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  10856. +$as_echo "$AR" >&6; }
  10857. +else
  10858. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10859. +$as_echo "no" >&6; }
  10860. +fi
  10861. +
  10862. +
  10863. +fi
  10864. +if test -z "$ac_cv_prog_AR"; then
  10865. + ac_ct_AR=$AR
  10866. + # Extract the first word of "ar", so it can be a program name with args.
  10867. +set dummy ar; ac_word=$2
  10868. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10869. +$as_echo_n "checking for $ac_word... " >&6; }
  10870. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  10871. + $as_echo_n "(cached) " >&6
  10872. +else
  10873. + if test -n "$ac_ct_AR"; then
  10874. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  10875. +else
  10876. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10877. +for as_dir in $PATH
  10878. +do
  10879. + IFS=$as_save_IFS
  10880. + test -z "$as_dir" && as_dir=.
  10881. + for ac_exec_ext in '' $ac_executable_extensions; do
  10882. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10883. + ac_cv_prog_ac_ct_AR="ar"
  10884. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10885. + break 2
  10886. + fi
  10887. +done
  10888. + done
  10889. +IFS=$as_save_IFS
  10890. +
  10891. +fi
  10892. +fi
  10893. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  10894. +if test -n "$ac_ct_AR"; then
  10895. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  10896. +$as_echo "$ac_ct_AR" >&6; }
  10897. +else
  10898. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10899. +$as_echo "no" >&6; }
  10900. +fi
  10901. +
  10902. + if test "x$ac_ct_AR" = x; then
  10903. + AR="false"
  10904. + else
  10905. + case $cross_compiling:$ac_tool_warned in
  10906. +yes:)
  10907. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10908. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10909. +ac_tool_warned=yes ;;
  10910. +esac
  10911. + AR=$ac_ct_AR
  10912. + fi
  10913. +else
  10914. + AR="$ac_cv_prog_AR"
  10915. +fi
  10916. +
  10917. +test -z "$AR" && AR=ar
  10918. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  10919. +
  10920. +
  10921. +
  10922. +
  10923. +
  10924. +
  10925. +
  10926. +
  10927. +
  10928. +
  10929. +
  10930. +if test -n "$ac_tool_prefix"; then
  10931. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  10932. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  10933. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10934. +$as_echo_n "checking for $ac_word... " >&6; }
  10935. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  10936. + $as_echo_n "(cached) " >&6
  10937. +else
  10938. + if test -n "$STRIP"; then
  10939. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  10940. +else
  10941. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10942. +for as_dir in $PATH
  10943. +do
  10944. + IFS=$as_save_IFS
  10945. + test -z "$as_dir" && as_dir=.
  10946. + for ac_exec_ext in '' $ac_executable_extensions; do
  10947. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10948. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  10949. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10950. + break 2
  10951. + fi
  10952. +done
  10953. + done
  10954. +IFS=$as_save_IFS
  10955. +
  10956. +fi
  10957. +fi
  10958. +STRIP=$ac_cv_prog_STRIP
  10959. +if test -n "$STRIP"; then
  10960. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  10961. +$as_echo "$STRIP" >&6; }
  10962. +else
  10963. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10964. +$as_echo "no" >&6; }
  10965. +fi
  10966. +
  10967. +
  10968. +fi
  10969. +if test -z "$ac_cv_prog_STRIP"; then
  10970. + ac_ct_STRIP=$STRIP
  10971. + # Extract the first word of "strip", so it can be a program name with args.
  10972. +set dummy strip; ac_word=$2
  10973. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10974. +$as_echo_n "checking for $ac_word... " >&6; }
  10975. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  10976. + $as_echo_n "(cached) " >&6
  10977. +else
  10978. + if test -n "$ac_ct_STRIP"; then
  10979. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  10980. +else
  10981. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10982. +for as_dir in $PATH
  10983. +do
  10984. + IFS=$as_save_IFS
  10985. + test -z "$as_dir" && as_dir=.
  10986. + for ac_exec_ext in '' $ac_executable_extensions; do
  10987. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  10988. + ac_cv_prog_ac_ct_STRIP="strip"
  10989. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10990. + break 2
  10991. + fi
  10992. +done
  10993. + done
  10994. +IFS=$as_save_IFS
  10995. +
  10996. +fi
  10997. +fi
  10998. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  10999. +if test -n "$ac_ct_STRIP"; then
  11000. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  11001. +$as_echo "$ac_ct_STRIP" >&6; }
  11002. +else
  11003. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11004. +$as_echo "no" >&6; }
  11005. +fi
  11006. +
  11007. + if test "x$ac_ct_STRIP" = x; then
  11008. + STRIP=":"
  11009. + else
  11010. + case $cross_compiling:$ac_tool_warned in
  11011. +yes:)
  11012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11013. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11014. +ac_tool_warned=yes ;;
  11015. +esac
  11016. + STRIP=$ac_ct_STRIP
  11017. + fi
  11018. +else
  11019. + STRIP="$ac_cv_prog_STRIP"
  11020. +fi
  11021. +
  11022. +test -z "$STRIP" && STRIP=:
  11023. +
  11024. +
  11025. +
  11026. +
  11027. +
  11028. +
  11029. +if test -n "$ac_tool_prefix"; then
  11030. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  11031. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  11032. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11033. +$as_echo_n "checking for $ac_word... " >&6; }
  11034. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  11035. + $as_echo_n "(cached) " >&6
  11036. +else
  11037. + if test -n "$RANLIB"; then
  11038. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  11039. +else
  11040. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11041. +for as_dir in $PATH
  11042. +do
  11043. + IFS=$as_save_IFS
  11044. + test -z "$as_dir" && as_dir=.
  11045. + for ac_exec_ext in '' $ac_executable_extensions; do
  11046. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11047. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  11048. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11049. + break 2
  11050. + fi
  11051. +done
  11052. + done
  11053. +IFS=$as_save_IFS
  11054. +
  11055. +fi
  11056. +fi
  11057. +RANLIB=$ac_cv_prog_RANLIB
  11058. +if test -n "$RANLIB"; then
  11059. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  11060. +$as_echo "$RANLIB" >&6; }
  11061. +else
  11062. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11063. +$as_echo "no" >&6; }
  11064. +fi
  11065. +
  11066. +
  11067. +fi
  11068. +if test -z "$ac_cv_prog_RANLIB"; then
  11069. + ac_ct_RANLIB=$RANLIB
  11070. + # Extract the first word of "ranlib", so it can be a program name with args.
  11071. +set dummy ranlib; ac_word=$2
  11072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11073. +$as_echo_n "checking for $ac_word... " >&6; }
  11074. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  11075. + $as_echo_n "(cached) " >&6
  11076. +else
  11077. + if test -n "$ac_ct_RANLIB"; then
  11078. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  11079. +else
  11080. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11081. +for as_dir in $PATH
  11082. +do
  11083. + IFS=$as_save_IFS
  11084. + test -z "$as_dir" && as_dir=.
  11085. + for ac_exec_ext in '' $ac_executable_extensions; do
  11086. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11087. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  11088. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11089. + break 2
  11090. + fi
  11091. +done
  11092. + done
  11093. +IFS=$as_save_IFS
  11094. +
  11095. +fi
  11096. +fi
  11097. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  11098. +if test -n "$ac_ct_RANLIB"; then
  11099. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  11100. +$as_echo "$ac_ct_RANLIB" >&6; }
  11101. +else
  11102. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11103. +$as_echo "no" >&6; }
  11104. +fi
  11105. +
  11106. + if test "x$ac_ct_RANLIB" = x; then
  11107. + RANLIB=":"
  11108. + else
  11109. + case $cross_compiling:$ac_tool_warned in
  11110. +yes:)
  11111. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11112. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11113. +ac_tool_warned=yes ;;
  11114. +esac
  11115. + RANLIB=$ac_ct_RANLIB
  11116. + fi
  11117. +else
  11118. + RANLIB="$ac_cv_prog_RANLIB"
  11119. +fi
  11120. +
  11121. +test -z "$RANLIB" && RANLIB=:
  11122. +
  11123. +
  11124. +
  11125. +
  11126. +
  11127. +
  11128. +# Determine commands to create old-style static archives.
  11129. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  11130. +old_postinstall_cmds='chmod 644 $oldlib'
  11131. +old_postuninstall_cmds=
  11132. +
  11133. +if test -n "$RANLIB"; then
  11134. + case $host_os in
  11135. + openbsd*)
  11136. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  11137. + ;;
  11138. + *)
  11139. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  11140. + ;;
  11141. + esac
  11142. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  11143. +fi
  11144. +
  11145. +case $host_os in
  11146. + darwin*)
  11147. + lock_old_archive_extraction=yes ;;
  11148. + *)
  11149. + lock_old_archive_extraction=no ;;
  11150. +esac
  11151. +
  11152. +
  11153. +
  11154. +
  11155. +
  11156. +
  11157. +
  11158. +
  11159. +
  11160. +
  11161. +
  11162. +
  11163. +
  11164. +
  11165. +
  11166. +
  11167. +
  11168. +
  11169. +
  11170. +
  11171. +
  11172. +
  11173. +
  11174. +
  11175. +
  11176. +
  11177. +
  11178. +
  11179. +
  11180. +
  11181. +
  11182. +
  11183. +
  11184. +
  11185. +
  11186. +
  11187. +
  11188. +
  11189. +
  11190. +# If no C compiler was specified, use CC.
  11191. +LTCC=${LTCC-"$CC"}
  11192. +
  11193. +# If no C compiler flags were specified, use CFLAGS.
  11194. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  11195. +
  11196. +# Allow CC to be a program name with arguments.
  11197. +compiler=$CC
  11198. +
  11199. +
  11200. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  11201. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  11202. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  11203. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  11204. + $as_echo_n "(cached) " >&6
  11205. +else
  11206. +
  11207. +# These are sane defaults that work on at least a few old systems.
  11208. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  11209. +
  11210. +# Character class describing NM global symbol codes.
  11211. +symcode='[BCDEGRST]'
  11212. +
  11213. +# Regexp to match symbols that can be accessed directly from C.
  11214. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  11215. +
  11216. +# Define system-specific variables.
  11217. +case $host_os in
  11218. +aix*)
  11219. + symcode='[BCDT]'
  11220. + ;;
  11221. +cygwin* | mingw* | pw32* | cegcc*)
  11222. + symcode='[ABCDGISTW]'
  11223. + ;;
  11224. +hpux*)
  11225. + if test "$host_cpu" = ia64; then
  11226. + symcode='[ABCDEGRST]'
  11227. + fi
  11228. + ;;
  11229. +irix* | nonstopux*)
  11230. + symcode='[BCDEGRST]'
  11231. + ;;
  11232. +osf*)
  11233. + symcode='[BCDEGQRST]'
  11234. + ;;
  11235. +solaris*)
  11236. + symcode='[BDRT]'
  11237. + ;;
  11238. +sco3.2v5*)
  11239. + symcode='[DT]'
  11240. + ;;
  11241. +sysv4.2uw2*)
  11242. + symcode='[DT]'
  11243. + ;;
  11244. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  11245. + symcode='[ABDT]'
  11246. + ;;
  11247. +sysv4)
  11248. + symcode='[DFNSTU]'
  11249. + ;;
  11250. +esac
  11251. +
  11252. +# If we're using GNU nm, then use its standard symbol codes.
  11253. +case `$NM -V 2>&1` in
  11254. +*GNU* | *'with BFD'*)
  11255. + symcode='[ABCDGIRSTW]' ;;
  11256. +esac
  11257. +
  11258. +# Transform an extracted symbol line into a proper C declaration.
  11259. +# Some systems (esp. on ia64) link data and code symbols differently,
  11260. +# so use this general approach.
  11261. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  11262. +
  11263. +# Transform an extracted symbol line into symbol name and symbol address
  11264. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  11265. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  11266. +
  11267. +# Handle CRLF in mingw tool chain
  11268. +opt_cr=
  11269. +case $build_os in
  11270. +mingw*)
  11271. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  11272. + ;;
  11273. +esac
  11274. +
  11275. +# Try without a prefix underscore, then with it.
  11276. +for ac_symprfx in "" "_"; do
  11277. +
  11278. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  11279. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  11280. +
  11281. + # Write the raw and C identifiers.
  11282. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  11283. + # Fake it for dumpbin and say T for any non-static function
  11284. + # and D for any global variable.
  11285. + # Also find C++ and __fastcall symbols from MSVC++,
  11286. + # which start with @ or ?.
  11287. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  11288. +" {last_section=section; section=\$ 3};"\
  11289. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  11290. +" \$ 0!~/External *\|/{next};"\
  11291. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  11292. +" {if(hide[section]) next};"\
  11293. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  11294. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  11295. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  11296. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  11297. +" ' prfx=^$ac_symprfx"
  11298. + else
  11299. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  11300. + fi
  11301. +
  11302. + # Check to see that the pipe works correctly.
  11303. + pipe_works=no
  11304. +
  11305. + rm -f conftest*
  11306. + cat > conftest.$ac_ext <<_LT_EOF
  11307. +#ifdef __cplusplus
  11308. +extern "C" {
  11309. +#endif
  11310. +char nm_test_var;
  11311. +void nm_test_func(void);
  11312. +void nm_test_func(void){}
  11313. +#ifdef __cplusplus
  11314. +}
  11315. +#endif
  11316. +int main(){nm_test_var='a';nm_test_func();return(0);}
  11317. +_LT_EOF
  11318. +
  11319. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11320. + (eval $ac_compile) 2>&5
  11321. + ac_status=$?
  11322. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11323. + test $ac_status = 0; }; then
  11324. + # Now try to grab the symbols.
  11325. + nlist=conftest.nm
  11326. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  11327. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  11328. + ac_status=$?
  11329. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11330. + test $ac_status = 0; } && test -s "$nlist"; then
  11331. + # Try sorting and uniquifying the output.
  11332. + if sort "$nlist" | uniq > "$nlist"T; then
  11333. + mv -f "$nlist"T "$nlist"
  11334. + else
  11335. + rm -f "$nlist"T
  11336. + fi
  11337. +
  11338. + # Make sure that we snagged all the symbols we need.
  11339. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  11340. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  11341. + cat <<_LT_EOF > conftest.$ac_ext
  11342. +#ifdef __cplusplus
  11343. +extern "C" {
  11344. +#endif
  11345. +
  11346. +_LT_EOF
  11347. + # Now generate the symbol file.
  11348. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  11349. +
  11350. + cat <<_LT_EOF >> conftest.$ac_ext
  11351. +
  11352. +/* The mapping between symbol names and symbols. */
  11353. +const struct {
  11354. + const char *name;
  11355. + void *address;
  11356. +}
  11357. +lt__PROGRAM__LTX_preloaded_symbols[] =
  11358. +{
  11359. + { "@PROGRAM@", (void *) 0 },
  11360. +_LT_EOF
  11361. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  11362. + cat <<\_LT_EOF >> conftest.$ac_ext
  11363. + {0, (void *) 0}
  11364. +};
  11365. +
  11366. +/* This works around a problem in FreeBSD linker */
  11367. +#ifdef FREEBSD_WORKAROUND
  11368. +static const void *lt_preloaded_setup() {
  11369. + return lt__PROGRAM__LTX_preloaded_symbols;
  11370. +}
  11371. +#endif
  11372. +
  11373. +#ifdef __cplusplus
  11374. +}
  11375. +#endif
  11376. +_LT_EOF
  11377. + # Now try linking the two files.
  11378. + mv conftest.$ac_objext conftstm.$ac_objext
  11379. + lt_save_LIBS="$LIBS"
  11380. + lt_save_CFLAGS="$CFLAGS"
  11381. + LIBS="conftstm.$ac_objext"
  11382. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  11383. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  11384. + (eval $ac_link) 2>&5
  11385. + ac_status=$?
  11386. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11387. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  11388. + pipe_works=yes
  11389. + fi
  11390. + LIBS="$lt_save_LIBS"
  11391. + CFLAGS="$lt_save_CFLAGS"
  11392. + else
  11393. + echo "cannot find nm_test_func in $nlist" >&5
  11394. + fi
  11395. + else
  11396. + echo "cannot find nm_test_var in $nlist" >&5
  11397. + fi
  11398. + else
  11399. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  11400. + fi
  11401. + else
  11402. + echo "$progname: failed program was:" >&5
  11403. + cat conftest.$ac_ext >&5
  11404. + fi
  11405. + rm -rf conftest* conftst*
  11406. +
  11407. + # Do not use the global_symbol_pipe unless it works.
  11408. + if test "$pipe_works" = yes; then
  11409. + break
  11410. + else
  11411. + lt_cv_sys_global_symbol_pipe=
  11412. + fi
  11413. +done
  11414. +
  11415. +fi
  11416. +
  11417. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  11418. + lt_cv_sys_global_symbol_to_cdecl=
  11419. +fi
  11420. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  11421. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  11422. +$as_echo "failed" >&6; }
  11423. +else
  11424. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  11425. +$as_echo "ok" >&6; }
  11426. +fi
  11427. +
  11428. +
  11429. +
  11430. +
  11431. +
  11432. +
  11433. +
  11434. +
  11435. +
  11436. +
  11437. +
  11438. +
  11439. +
  11440. +
  11441. +
  11442. +
  11443. +
  11444. +
  11445. +
  11446. +
  11447. +
  11448. +
  11449. +@%:@ Check whether --enable-libtool-lock was given.
  11450. +if test "${enable_libtool_lock+set}" = set; then :
  11451. + enableval=$enable_libtool_lock;
  11452. +fi
  11453. +
  11454. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  11455. +
  11456. +# Some flags need to be propagated to the compiler or linker for good
  11457. +# libtool support.
  11458. +case $host in
  11459. +ia64-*-hpux*)
  11460. + # Find out which ABI we are using.
  11461. + echo 'int i;' > conftest.$ac_ext
  11462. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11463. + (eval $ac_compile) 2>&5
  11464. + ac_status=$?
  11465. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11466. + test $ac_status = 0; }; then
  11467. + case `/usr/bin/file conftest.$ac_objext` in
  11468. + *ELF-32*)
  11469. + HPUX_IA64_MODE="32"
  11470. + ;;
  11471. + *ELF-64*)
  11472. + HPUX_IA64_MODE="64"
  11473. + ;;
  11474. + esac
  11475. + fi
  11476. + rm -rf conftest*
  11477. + ;;
  11478. +*-*-irix6*)
  11479. + # Find out which ABI we are using.
  11480. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  11481. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11482. + (eval $ac_compile) 2>&5
  11483. + ac_status=$?
  11484. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11485. + test $ac_status = 0; }; then
  11486. + if test "$lt_cv_prog_gnu_ld" = yes; then
  11487. + case `/usr/bin/file conftest.$ac_objext` in
  11488. + *32-bit*)
  11489. + LD="${LD-ld} -melf32bsmip"
  11490. + ;;
  11491. + *N32*)
  11492. + LD="${LD-ld} -melf32bmipn32"
  11493. + ;;
  11494. + *64-bit*)
  11495. + LD="${LD-ld} -melf64bmip"
  11496. + ;;
  11497. + esac
  11498. + else
  11499. + case `/usr/bin/file conftest.$ac_objext` in
  11500. + *32-bit*)
  11501. + LD="${LD-ld} -32"
  11502. + ;;
  11503. + *N32*)
  11504. + LD="${LD-ld} -n32"
  11505. + ;;
  11506. + *64-bit*)
  11507. + LD="${LD-ld} -64"
  11508. + ;;
  11509. + esac
  11510. + fi
  11511. + fi
  11512. + rm -rf conftest*
  11513. + ;;
  11514. +
  11515. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  11516. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  11517. + # Find out which ABI we are using.
  11518. + echo 'int i;' > conftest.$ac_ext
  11519. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11520. + (eval $ac_compile) 2>&5
  11521. + ac_status=$?
  11522. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11523. + test $ac_status = 0; }; then
  11524. + case `/usr/bin/file conftest.o` in
  11525. + *32-bit*)
  11526. + case $host in
  11527. + x86_64-*kfreebsd*-gnu)
  11528. + LD="${LD-ld} -m elf_i386_fbsd"
  11529. + ;;
  11530. + x86_64-*linux*)
  11531. + LD="${LD-ld} -m elf_i386"
  11532. + ;;
  11533. + ppc64-*linux*|powerpc64-*linux*)
  11534. + LD="${LD-ld} -m elf32ppclinux"
  11535. + ;;
  11536. + s390x-*linux*)
  11537. + LD="${LD-ld} -m elf_s390"
  11538. + ;;
  11539. + sparc64-*linux*)
  11540. + LD="${LD-ld} -m elf32_sparc"
  11541. + ;;
  11542. + esac
  11543. + ;;
  11544. + *64-bit*)
  11545. + case $host in
  11546. + x86_64-*kfreebsd*-gnu)
  11547. + LD="${LD-ld} -m elf_x86_64_fbsd"
  11548. + ;;
  11549. + x86_64-*linux*)
  11550. + LD="${LD-ld} -m elf_x86_64"
  11551. + ;;
  11552. + ppc*-*linux*|powerpc*-*linux*)
  11553. + LD="${LD-ld} -m elf64ppc"
  11554. + ;;
  11555. + s390*-*linux*|s390*-*tpf*)
  11556. + LD="${LD-ld} -m elf64_s390"
  11557. + ;;
  11558. + sparc*-*linux*)
  11559. + LD="${LD-ld} -m elf64_sparc"
  11560. + ;;
  11561. + esac
  11562. + ;;
  11563. + esac
  11564. + fi
  11565. + rm -rf conftest*
  11566. + ;;
  11567. +
  11568. +*-*-sco3.2v5*)
  11569. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  11570. + SAVE_CFLAGS="$CFLAGS"
  11571. + CFLAGS="$CFLAGS -belf"
  11572. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  11573. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  11574. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  11575. + $as_echo_n "(cached) " >&6
  11576. +else
  11577. + ac_ext=c
  11578. +ac_cpp='$CPP $CPPFLAGS'
  11579. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11580. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11581. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11582. +
  11583. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11584. +/* end confdefs.h. */
  11585. +
  11586. +int
  11587. +main ()
  11588. +{
  11589. +
  11590. + ;
  11591. + return 0;
  11592. +}
  11593. +_ACEOF
  11594. +if ac_fn_c_try_link "$LINENO"; then :
  11595. + lt_cv_cc_needs_belf=yes
  11596. +else
  11597. + lt_cv_cc_needs_belf=no
  11598. +fi
  11599. +rm -f core conftest.err conftest.$ac_objext \
  11600. + conftest$ac_exeext conftest.$ac_ext
  11601. + ac_ext=c
  11602. +ac_cpp='$CPP $CPPFLAGS'
  11603. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11604. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11605. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11606. +
  11607. +fi
  11608. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  11609. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  11610. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  11611. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  11612. + CFLAGS="$SAVE_CFLAGS"
  11613. + fi
  11614. + ;;
  11615. +sparc*-*solaris*)
  11616. + # Find out which ABI we are using.
  11617. + echo 'int i;' > conftest.$ac_ext
  11618. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  11619. + (eval $ac_compile) 2>&5
  11620. + ac_status=$?
  11621. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11622. + test $ac_status = 0; }; then
  11623. + case `/usr/bin/file conftest.o` in
  11624. + *64-bit*)
  11625. + case $lt_cv_prog_gnu_ld in
  11626. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  11627. + *)
  11628. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  11629. + LD="${LD-ld} -64"
  11630. + fi
  11631. + ;;
  11632. + esac
  11633. + ;;
  11634. + esac
  11635. + fi
  11636. + rm -rf conftest*
  11637. + ;;
  11638. +esac
  11639. +
  11640. +need_locks="$enable_libtool_lock"
  11641. +
  11642. +
  11643. + case $host_os in
  11644. + rhapsody* | darwin*)
  11645. + if test -n "$ac_tool_prefix"; then
  11646. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  11647. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  11648. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11649. +$as_echo_n "checking for $ac_word... " >&6; }
  11650. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  11651. + $as_echo_n "(cached) " >&6
  11652. +else
  11653. + if test -n "$DSYMUTIL"; then
  11654. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  11655. +else
  11656. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11657. +for as_dir in $PATH
  11658. +do
  11659. + IFS=$as_save_IFS
  11660. + test -z "$as_dir" && as_dir=.
  11661. + for ac_exec_ext in '' $ac_executable_extensions; do
  11662. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11663. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  11664. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11665. + break 2
  11666. + fi
  11667. +done
  11668. + done
  11669. +IFS=$as_save_IFS
  11670. +
  11671. +fi
  11672. +fi
  11673. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  11674. +if test -n "$DSYMUTIL"; then
  11675. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  11676. +$as_echo "$DSYMUTIL" >&6; }
  11677. +else
  11678. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11679. +$as_echo "no" >&6; }
  11680. +fi
  11681. +
  11682. +
  11683. +fi
  11684. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  11685. + ac_ct_DSYMUTIL=$DSYMUTIL
  11686. + # Extract the first word of "dsymutil", so it can be a program name with args.
  11687. +set dummy dsymutil; ac_word=$2
  11688. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11689. +$as_echo_n "checking for $ac_word... " >&6; }
  11690. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  11691. + $as_echo_n "(cached) " >&6
  11692. +else
  11693. + if test -n "$ac_ct_DSYMUTIL"; then
  11694. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  11695. +else
  11696. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11697. +for as_dir in $PATH
  11698. +do
  11699. + IFS=$as_save_IFS
  11700. + test -z "$as_dir" && as_dir=.
  11701. + for ac_exec_ext in '' $ac_executable_extensions; do
  11702. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11703. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  11704. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11705. + break 2
  11706. + fi
  11707. +done
  11708. + done
  11709. +IFS=$as_save_IFS
  11710. +
  11711. +fi
  11712. +fi
  11713. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  11714. +if test -n "$ac_ct_DSYMUTIL"; then
  11715. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  11716. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  11717. +else
  11718. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11719. +$as_echo "no" >&6; }
  11720. +fi
  11721. +
  11722. + if test "x$ac_ct_DSYMUTIL" = x; then
  11723. + DSYMUTIL=":"
  11724. + else
  11725. + case $cross_compiling:$ac_tool_warned in
  11726. +yes:)
  11727. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11728. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11729. +ac_tool_warned=yes ;;
  11730. +esac
  11731. + DSYMUTIL=$ac_ct_DSYMUTIL
  11732. + fi
  11733. +else
  11734. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  11735. +fi
  11736. +
  11737. + if test -n "$ac_tool_prefix"; then
  11738. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  11739. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  11740. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11741. +$as_echo_n "checking for $ac_word... " >&6; }
  11742. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  11743. + $as_echo_n "(cached) " >&6
  11744. +else
  11745. + if test -n "$NMEDIT"; then
  11746. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  11747. +else
  11748. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11749. +for as_dir in $PATH
  11750. +do
  11751. + IFS=$as_save_IFS
  11752. + test -z "$as_dir" && as_dir=.
  11753. + for ac_exec_ext in '' $ac_executable_extensions; do
  11754. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11755. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  11756. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11757. + break 2
  11758. + fi
  11759. +done
  11760. + done
  11761. +IFS=$as_save_IFS
  11762. +
  11763. +fi
  11764. +fi
  11765. +NMEDIT=$ac_cv_prog_NMEDIT
  11766. +if test -n "$NMEDIT"; then
  11767. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  11768. +$as_echo "$NMEDIT" >&6; }
  11769. +else
  11770. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11771. +$as_echo "no" >&6; }
  11772. +fi
  11773. +
  11774. +
  11775. +fi
  11776. +if test -z "$ac_cv_prog_NMEDIT"; then
  11777. + ac_ct_NMEDIT=$NMEDIT
  11778. + # Extract the first word of "nmedit", so it can be a program name with args.
  11779. +set dummy nmedit; ac_word=$2
  11780. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11781. +$as_echo_n "checking for $ac_word... " >&6; }
  11782. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  11783. + $as_echo_n "(cached) " >&6
  11784. +else
  11785. + if test -n "$ac_ct_NMEDIT"; then
  11786. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  11787. +else
  11788. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11789. +for as_dir in $PATH
  11790. +do
  11791. + IFS=$as_save_IFS
  11792. + test -z "$as_dir" && as_dir=.
  11793. + for ac_exec_ext in '' $ac_executable_extensions; do
  11794. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11795. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  11796. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11797. + break 2
  11798. + fi
  11799. +done
  11800. + done
  11801. +IFS=$as_save_IFS
  11802. +
  11803. +fi
  11804. +fi
  11805. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  11806. +if test -n "$ac_ct_NMEDIT"; then
  11807. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  11808. +$as_echo "$ac_ct_NMEDIT" >&6; }
  11809. +else
  11810. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11811. +$as_echo "no" >&6; }
  11812. +fi
  11813. +
  11814. + if test "x$ac_ct_NMEDIT" = x; then
  11815. + NMEDIT=":"
  11816. + else
  11817. + case $cross_compiling:$ac_tool_warned in
  11818. +yes:)
  11819. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11820. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11821. +ac_tool_warned=yes ;;
  11822. +esac
  11823. + NMEDIT=$ac_ct_NMEDIT
  11824. + fi
  11825. +else
  11826. + NMEDIT="$ac_cv_prog_NMEDIT"
  11827. +fi
  11828. +
  11829. + if test -n "$ac_tool_prefix"; then
  11830. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  11831. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  11832. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11833. +$as_echo_n "checking for $ac_word... " >&6; }
  11834. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  11835. + $as_echo_n "(cached) " >&6
  11836. +else
  11837. + if test -n "$LIPO"; then
  11838. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  11839. +else
  11840. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11841. +for as_dir in $PATH
  11842. +do
  11843. + IFS=$as_save_IFS
  11844. + test -z "$as_dir" && as_dir=.
  11845. + for ac_exec_ext in '' $ac_executable_extensions; do
  11846. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11847. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  11848. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11849. + break 2
  11850. + fi
  11851. +done
  11852. + done
  11853. +IFS=$as_save_IFS
  11854. +
  11855. +fi
  11856. +fi
  11857. +LIPO=$ac_cv_prog_LIPO
  11858. +if test -n "$LIPO"; then
  11859. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  11860. +$as_echo "$LIPO" >&6; }
  11861. +else
  11862. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11863. +$as_echo "no" >&6; }
  11864. +fi
  11865. +
  11866. +
  11867. +fi
  11868. +if test -z "$ac_cv_prog_LIPO"; then
  11869. + ac_ct_LIPO=$LIPO
  11870. + # Extract the first word of "lipo", so it can be a program name with args.
  11871. +set dummy lipo; ac_word=$2
  11872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11873. +$as_echo_n "checking for $ac_word... " >&6; }
  11874. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  11875. + $as_echo_n "(cached) " >&6
  11876. +else
  11877. + if test -n "$ac_ct_LIPO"; then
  11878. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  11879. +else
  11880. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11881. +for as_dir in $PATH
  11882. +do
  11883. + IFS=$as_save_IFS
  11884. + test -z "$as_dir" && as_dir=.
  11885. + for ac_exec_ext in '' $ac_executable_extensions; do
  11886. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11887. + ac_cv_prog_ac_ct_LIPO="lipo"
  11888. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11889. + break 2
  11890. + fi
  11891. +done
  11892. + done
  11893. +IFS=$as_save_IFS
  11894. +
  11895. +fi
  11896. +fi
  11897. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  11898. +if test -n "$ac_ct_LIPO"; then
  11899. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  11900. +$as_echo "$ac_ct_LIPO" >&6; }
  11901. +else
  11902. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11903. +$as_echo "no" >&6; }
  11904. +fi
  11905. +
  11906. + if test "x$ac_ct_LIPO" = x; then
  11907. + LIPO=":"
  11908. + else
  11909. + case $cross_compiling:$ac_tool_warned in
  11910. +yes:)
  11911. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11912. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11913. +ac_tool_warned=yes ;;
  11914. +esac
  11915. + LIPO=$ac_ct_LIPO
  11916. + fi
  11917. +else
  11918. + LIPO="$ac_cv_prog_LIPO"
  11919. +fi
  11920. +
  11921. + if test -n "$ac_tool_prefix"; then
  11922. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  11923. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  11924. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11925. +$as_echo_n "checking for $ac_word... " >&6; }
  11926. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  11927. + $as_echo_n "(cached) " >&6
  11928. +else
  11929. + if test -n "$OTOOL"; then
  11930. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  11931. +else
  11932. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11933. +for as_dir in $PATH
  11934. +do
  11935. + IFS=$as_save_IFS
  11936. + test -z "$as_dir" && as_dir=.
  11937. + for ac_exec_ext in '' $ac_executable_extensions; do
  11938. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11939. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  11940. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11941. + break 2
  11942. + fi
  11943. +done
  11944. + done
  11945. +IFS=$as_save_IFS
  11946. +
  11947. +fi
  11948. +fi
  11949. +OTOOL=$ac_cv_prog_OTOOL
  11950. +if test -n "$OTOOL"; then
  11951. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  11952. +$as_echo "$OTOOL" >&6; }
  11953. +else
  11954. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11955. +$as_echo "no" >&6; }
  11956. +fi
  11957. +
  11958. +
  11959. +fi
  11960. +if test -z "$ac_cv_prog_OTOOL"; then
  11961. + ac_ct_OTOOL=$OTOOL
  11962. + # Extract the first word of "otool", so it can be a program name with args.
  11963. +set dummy otool; ac_word=$2
  11964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11965. +$as_echo_n "checking for $ac_word... " >&6; }
  11966. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  11967. + $as_echo_n "(cached) " >&6
  11968. +else
  11969. + if test -n "$ac_ct_OTOOL"; then
  11970. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  11971. +else
  11972. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11973. +for as_dir in $PATH
  11974. +do
  11975. + IFS=$as_save_IFS
  11976. + test -z "$as_dir" && as_dir=.
  11977. + for ac_exec_ext in '' $ac_executable_extensions; do
  11978. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  11979. + ac_cv_prog_ac_ct_OTOOL="otool"
  11980. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11981. + break 2
  11982. + fi
  11983. +done
  11984. + done
  11985. +IFS=$as_save_IFS
  11986. +
  11987. +fi
  11988. +fi
  11989. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  11990. +if test -n "$ac_ct_OTOOL"; then
  11991. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  11992. +$as_echo "$ac_ct_OTOOL" >&6; }
  11993. +else
  11994. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11995. +$as_echo "no" >&6; }
  11996. +fi
  11997. +
  11998. + if test "x$ac_ct_OTOOL" = x; then
  11999. + OTOOL=":"
  12000. + else
  12001. + case $cross_compiling:$ac_tool_warned in
  12002. +yes:)
  12003. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12004. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12005. +ac_tool_warned=yes ;;
  12006. +esac
  12007. + OTOOL=$ac_ct_OTOOL
  12008. + fi
  12009. +else
  12010. + OTOOL="$ac_cv_prog_OTOOL"
  12011. +fi
  12012. +
  12013. + if test -n "$ac_tool_prefix"; then
  12014. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  12015. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  12016. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12017. +$as_echo_n "checking for $ac_word... " >&6; }
  12018. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  12019. + $as_echo_n "(cached) " >&6
  12020. +else
  12021. + if test -n "$OTOOL64"; then
  12022. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  12023. +else
  12024. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12025. +for as_dir in $PATH
  12026. +do
  12027. + IFS=$as_save_IFS
  12028. + test -z "$as_dir" && as_dir=.
  12029. + for ac_exec_ext in '' $ac_executable_extensions; do
  12030. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12031. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  12032. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12033. + break 2
  12034. + fi
  12035. +done
  12036. + done
  12037. +IFS=$as_save_IFS
  12038. +
  12039. +fi
  12040. +fi
  12041. +OTOOL64=$ac_cv_prog_OTOOL64
  12042. +if test -n "$OTOOL64"; then
  12043. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  12044. +$as_echo "$OTOOL64" >&6; }
  12045. +else
  12046. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12047. +$as_echo "no" >&6; }
  12048. +fi
  12049. +
  12050. +
  12051. +fi
  12052. +if test -z "$ac_cv_prog_OTOOL64"; then
  12053. + ac_ct_OTOOL64=$OTOOL64
  12054. + # Extract the first word of "otool64", so it can be a program name with args.
  12055. +set dummy otool64; ac_word=$2
  12056. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  12057. +$as_echo_n "checking for $ac_word... " >&6; }
  12058. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  12059. + $as_echo_n "(cached) " >&6
  12060. +else
  12061. + if test -n "$ac_ct_OTOOL64"; then
  12062. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  12063. +else
  12064. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  12065. +for as_dir in $PATH
  12066. +do
  12067. + IFS=$as_save_IFS
  12068. + test -z "$as_dir" && as_dir=.
  12069. + for ac_exec_ext in '' $ac_executable_extensions; do
  12070. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  12071. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  12072. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  12073. + break 2
  12074. + fi
  12075. +done
  12076. + done
  12077. +IFS=$as_save_IFS
  12078. +
  12079. +fi
  12080. +fi
  12081. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  12082. +if test -n "$ac_ct_OTOOL64"; then
  12083. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  12084. +$as_echo "$ac_ct_OTOOL64" >&6; }
  12085. +else
  12086. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12087. +$as_echo "no" >&6; }
  12088. +fi
  12089. +
  12090. + if test "x$ac_ct_OTOOL64" = x; then
  12091. + OTOOL64=":"
  12092. + else
  12093. + case $cross_compiling:$ac_tool_warned in
  12094. +yes:)
  12095. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  12096. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  12097. +ac_tool_warned=yes ;;
  12098. +esac
  12099. + OTOOL64=$ac_ct_OTOOL64
  12100. + fi
  12101. +else
  12102. + OTOOL64="$ac_cv_prog_OTOOL64"
  12103. +fi
  12104. +
  12105. +
  12106. +
  12107. +
  12108. +
  12109. +
  12110. +
  12111. +
  12112. +
  12113. +
  12114. +
  12115. +
  12116. +
  12117. +
  12118. +
  12119. +
  12120. +
  12121. +
  12122. +
  12123. +
  12124. +
  12125. +
  12126. +
  12127. +
  12128. +
  12129. +
  12130. +
  12131. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  12132. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  12133. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  12134. + $as_echo_n "(cached) " >&6
  12135. +else
  12136. + lt_cv_apple_cc_single_mod=no
  12137. + if test -z "${LT_MULTI_MODULE}"; then
  12138. + # By default we will add the -single_module flag. You can override
  12139. + # by either setting the environment variable LT_MULTI_MODULE
  12140. + # non-empty at configure time, or by adding -multi_module to the
  12141. + # link flags.
  12142. + rm -rf libconftest.dylib*
  12143. + echo "int foo(void){return 1;}" > conftest.c
  12144. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  12145. +-dynamiclib -Wl,-single_module conftest.c" >&5
  12146. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  12147. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  12148. + _lt_result=$?
  12149. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  12150. + lt_cv_apple_cc_single_mod=yes
  12151. + else
  12152. + cat conftest.err >&5
  12153. + fi
  12154. + rm -rf libconftest.dylib*
  12155. + rm -f conftest.*
  12156. + fi
  12157. +fi
  12158. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  12159. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  12160. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  12161. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  12162. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  12163. + $as_echo_n "(cached) " >&6
  12164. +else
  12165. + lt_cv_ld_exported_symbols_list=no
  12166. + save_LDFLAGS=$LDFLAGS
  12167. + echo "_main" > conftest.sym
  12168. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  12169. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12170. +/* end confdefs.h. */
  12171. +
  12172. +int
  12173. +main ()
  12174. +{
  12175. +
  12176. + ;
  12177. + return 0;
  12178. +}
  12179. +_ACEOF
  12180. +if ac_fn_c_try_link "$LINENO"; then :
  12181. + lt_cv_ld_exported_symbols_list=yes
  12182. +else
  12183. + lt_cv_ld_exported_symbols_list=no
  12184. +fi
  12185. +rm -f core conftest.err conftest.$ac_objext \
  12186. + conftest$ac_exeext conftest.$ac_ext
  12187. + LDFLAGS="$save_LDFLAGS"
  12188. +
  12189. +fi
  12190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  12191. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  12192. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  12193. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  12194. +if test "${lt_cv_ld_force_load+set}" = set; then :
  12195. + $as_echo_n "(cached) " >&6
  12196. +else
  12197. + lt_cv_ld_force_load=no
  12198. + cat > conftest.c << _LT_EOF
  12199. +int forced_loaded() { return 2;}
  12200. +_LT_EOF
  12201. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  12202. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  12203. + echo "$AR cru libconftest.a conftest.o" >&5
  12204. + $AR cru libconftest.a conftest.o 2>&5
  12205. + cat > conftest.c << _LT_EOF
  12206. +int main() { return 0;}
  12207. +_LT_EOF
  12208. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  12209. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  12210. + _lt_result=$?
  12211. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  12212. + lt_cv_ld_force_load=yes
  12213. + else
  12214. + cat conftest.err >&5
  12215. + fi
  12216. + rm -f conftest.err libconftest.a conftest conftest.c
  12217. + rm -rf conftest.dSYM
  12218. +
  12219. +fi
  12220. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  12221. +$as_echo "$lt_cv_ld_force_load" >&6; }
  12222. + case $host_os in
  12223. + rhapsody* | darwin1.[012])
  12224. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  12225. + darwin1.*)
  12226. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  12227. + darwin*) # darwin 5.x on
  12228. + # if running on 10.5 or later, the deployment target defaults
  12229. + # to the OS version, if on x86, and 10.4, the deployment
  12230. + # target defaults to 10.4. Don't you love it?
  12231. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  12232. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  12233. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  12234. + 10.[012]*)
  12235. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  12236. + 10.*)
  12237. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  12238. + esac
  12239. + ;;
  12240. + esac
  12241. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  12242. + _lt_dar_single_mod='$single_module'
  12243. + fi
  12244. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  12245. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  12246. + else
  12247. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  12248. + fi
  12249. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  12250. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  12251. + else
  12252. + _lt_dsymutil=
  12253. + fi
  12254. + ;;
  12255. + esac
  12256. +
  12257. +for ac_header in dlfcn.h
  12258. +do :
  12259. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  12260. +"
  12261. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  12262. + cat >>confdefs.h <<_ACEOF
  12263. +@%:@define HAVE_DLFCN_H 1
  12264. +_ACEOF
  12265. +
  12266. +fi
  12267. +
  12268. +done
  12269. +
  12270. +
  12271. +
  12272. +
  12273. +
  12274. +# Set options
  12275. +
  12276. +
  12277. +
  12278. + enable_dlopen=no
  12279. +
  12280. +
  12281. + enable_win32_dll=no
  12282. +
  12283. +
  12284. + @%:@ Check whether --enable-shared was given.
  12285. +if test "${enable_shared+set}" = set; then :
  12286. + enableval=$enable_shared; p=${PACKAGE-default}
  12287. + case $enableval in
  12288. + yes) enable_shared=yes ;;
  12289. + no) enable_shared=no ;;
  12290. + *)
  12291. + enable_shared=no
  12292. + # Look at the argument we got. We use all the common list separators.
  12293. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  12294. + for pkg in $enableval; do
  12295. + IFS="$lt_save_ifs"
  12296. + if test "X$pkg" = "X$p"; then
  12297. + enable_shared=yes
  12298. + fi
  12299. + done
  12300. + IFS="$lt_save_ifs"
  12301. + ;;
  12302. + esac
  12303. +else
  12304. + enable_shared=yes
  12305. +fi
  12306. +
  12307. +
  12308. +
  12309. +
  12310. +
  12311. +
  12312. +
  12313. +
  12314. +
  12315. + @%:@ Check whether --enable-static was given.
  12316. +if test "${enable_static+set}" = set; then :
  12317. + enableval=$enable_static; p=${PACKAGE-default}
  12318. + case $enableval in
  12319. + yes) enable_static=yes ;;
  12320. + no) enable_static=no ;;
  12321. + *)
  12322. + enable_static=no
  12323. + # Look at the argument we got. We use all the common list separators.
  12324. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  12325. + for pkg in $enableval; do
  12326. + IFS="$lt_save_ifs"
  12327. + if test "X$pkg" = "X$p"; then
  12328. + enable_static=yes
  12329. + fi
  12330. + done
  12331. + IFS="$lt_save_ifs"
  12332. + ;;
  12333. + esac
  12334. +else
  12335. + enable_static=yes
  12336. +fi
  12337. +
  12338. +
  12339. +
  12340. +
  12341. +
  12342. +
  12343. +
  12344. +
  12345. +
  12346. +
  12347. +@%:@ Check whether --with-pic was given.
  12348. +if test "${with_pic+set}" = set; then :
  12349. + withval=$with_pic; pic_mode="$withval"
  12350. +else
  12351. + pic_mode=default
  12352. +fi
  12353. +
  12354. +
  12355. +test -z "$pic_mode" && pic_mode=default
  12356. +
  12357. +
  12358. +
  12359. +
  12360. +
  12361. +
  12362. +
  12363. + @%:@ Check whether --enable-fast-install was given.
  12364. +if test "${enable_fast_install+set}" = set; then :
  12365. + enableval=$enable_fast_install; p=${PACKAGE-default}
  12366. + case $enableval in
  12367. + yes) enable_fast_install=yes ;;
  12368. + no) enable_fast_install=no ;;
  12369. + *)
  12370. + enable_fast_install=no
  12371. + # Look at the argument we got. We use all the common list separators.
  12372. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  12373. + for pkg in $enableval; do
  12374. + IFS="$lt_save_ifs"
  12375. + if test "X$pkg" = "X$p"; then
  12376. + enable_fast_install=yes
  12377. + fi
  12378. + done
  12379. + IFS="$lt_save_ifs"
  12380. + ;;
  12381. + esac
  12382. +else
  12383. + enable_fast_install=yes
  12384. +fi
  12385. +
  12386. +
  12387. +
  12388. +
  12389. +
  12390. +
  12391. +
  12392. +
  12393. +
  12394. +
  12395. +
  12396. +# This can be used to rebuild libtool when needed
  12397. +LIBTOOL_DEPS="$ltmain"
  12398. +
  12399. +# Always use our own libtool.
  12400. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  12401. +
  12402. +
  12403. +
  12404. +
  12405. +
  12406. +
  12407. +
  12408. +
  12409. +
  12410. +
  12411. +
  12412. +
  12413. +
  12414. +
  12415. +
  12416. +
  12417. +
  12418. +
  12419. +
  12420. +
  12421. +
  12422. +
  12423. +
  12424. +
  12425. +
  12426. +
  12427. +test -z "$LN_S" && LN_S="ln -s"
  12428. +
  12429. +
  12430. +
  12431. +
  12432. +
  12433. +
  12434. +
  12435. +
  12436. +
  12437. +
  12438. +
  12439. +
  12440. +
  12441. +
  12442. +if test -n "${ZSH_VERSION+set}" ; then
  12443. + setopt NO_GLOB_SUBST
  12444. +fi
  12445. +
  12446. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  12447. +$as_echo_n "checking for objdir... " >&6; }
  12448. +if test "${lt_cv_objdir+set}" = set; then :
  12449. + $as_echo_n "(cached) " >&6
  12450. +else
  12451. + rm -f .libs 2>/dev/null
  12452. +mkdir .libs 2>/dev/null
  12453. +if test -d .libs; then
  12454. + lt_cv_objdir=.libs
  12455. +else
  12456. + # MS-DOS does not allow filenames that begin with a dot.
  12457. + lt_cv_objdir=_libs
  12458. +fi
  12459. +rmdir .libs 2>/dev/null
  12460. +fi
  12461. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  12462. +$as_echo "$lt_cv_objdir" >&6; }
  12463. +objdir=$lt_cv_objdir
  12464. +
  12465. +
  12466. +
  12467. +
  12468. +
  12469. +cat >>confdefs.h <<_ACEOF
  12470. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  12471. +_ACEOF
  12472. +
  12473. +
  12474. +
  12475. +
  12476. +case $host_os in
  12477. +aix3*)
  12478. + # AIX sometimes has problems with the GCC collect2 program. For some
  12479. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  12480. + # vanish in a puff of smoke.
  12481. + if test "X${COLLECT_NAMES+set}" != Xset; then
  12482. + COLLECT_NAMES=
  12483. + export COLLECT_NAMES
  12484. + fi
  12485. + ;;
  12486. +esac
  12487. +
  12488. +# Global variables:
  12489. +ofile=libtool
  12490. +can_build_shared=yes
  12491. +
  12492. +# All known linkers require a `.a' archive for static linking (except MSVC,
  12493. +# which needs '.lib').
  12494. +libext=a
  12495. +
  12496. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  12497. +
  12498. +old_CC="$CC"
  12499. +old_CFLAGS="$CFLAGS"
  12500. +
  12501. +# Set sane defaults for various variables
  12502. +test -z "$CC" && CC=cc
  12503. +test -z "$LTCC" && LTCC=$CC
  12504. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  12505. +test -z "$LD" && LD=ld
  12506. +test -z "$ac_objext" && ac_objext=o
  12507. +
  12508. +for cc_temp in $compiler""; do
  12509. + case $cc_temp in
  12510. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  12511. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  12512. + \-*) ;;
  12513. + *) break;;
  12514. + esac
  12515. +done
  12516. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  12517. +
  12518. +
  12519. +# Only perform the check for file, if the check method requires it
  12520. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  12521. +case $deplibs_check_method in
  12522. +file_magic*)
  12523. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  12524. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  12525. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  12526. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  12527. + $as_echo_n "(cached) " >&6
  12528. +else
  12529. + case $MAGIC_CMD in
  12530. +[\\/*] | ?:[\\/]*)
  12531. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  12532. + ;;
  12533. +*)
  12534. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  12535. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  12536. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  12537. + for ac_dir in $ac_dummy; do
  12538. + IFS="$lt_save_ifs"
  12539. + test -z "$ac_dir" && ac_dir=.
  12540. + if test -f $ac_dir/${ac_tool_prefix}file; then
  12541. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  12542. + if test -n "$file_magic_test_file"; then
  12543. + case $deplibs_check_method in
  12544. + "file_magic "*)
  12545. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  12546. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12547. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  12548. + $EGREP "$file_magic_regex" > /dev/null; then
  12549. + :
  12550. + else
  12551. + cat <<_LT_EOF 1>&2
  12552. +
  12553. +*** Warning: the command libtool uses to detect shared libraries,
  12554. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  12555. +*** The result is that libtool may fail to recognize shared libraries
  12556. +*** as such. This will affect the creation of libtool libraries that
  12557. +*** depend on shared libraries, but programs linked with such libtool
  12558. +*** libraries will work regardless of this problem. Nevertheless, you
  12559. +*** may want to report the problem to your system manager and/or to
  12560. +*** bug-libtool@gnu.org
  12561. +
  12562. +_LT_EOF
  12563. + fi ;;
  12564. + esac
  12565. + fi
  12566. + break
  12567. + fi
  12568. + done
  12569. + IFS="$lt_save_ifs"
  12570. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  12571. + ;;
  12572. +esac
  12573. +fi
  12574. +
  12575. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12576. +if test -n "$MAGIC_CMD"; then
  12577. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  12578. +$as_echo "$MAGIC_CMD" >&6; }
  12579. +else
  12580. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12581. +$as_echo "no" >&6; }
  12582. +fi
  12583. +
  12584. +
  12585. +
  12586. +
  12587. +
  12588. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  12589. + if test -n "$ac_tool_prefix"; then
  12590. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  12591. +$as_echo_n "checking for file... " >&6; }
  12592. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  12593. + $as_echo_n "(cached) " >&6
  12594. +else
  12595. + case $MAGIC_CMD in
  12596. +[\\/*] | ?:[\\/]*)
  12597. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  12598. + ;;
  12599. +*)
  12600. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  12601. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  12602. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  12603. + for ac_dir in $ac_dummy; do
  12604. + IFS="$lt_save_ifs"
  12605. + test -z "$ac_dir" && ac_dir=.
  12606. + if test -f $ac_dir/file; then
  12607. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  12608. + if test -n "$file_magic_test_file"; then
  12609. + case $deplibs_check_method in
  12610. + "file_magic "*)
  12611. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  12612. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12613. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  12614. + $EGREP "$file_magic_regex" > /dev/null; then
  12615. + :
  12616. + else
  12617. + cat <<_LT_EOF 1>&2
  12618. +
  12619. +*** Warning: the command libtool uses to detect shared libraries,
  12620. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  12621. +*** The result is that libtool may fail to recognize shared libraries
  12622. +*** as such. This will affect the creation of libtool libraries that
  12623. +*** depend on shared libraries, but programs linked with such libtool
  12624. +*** libraries will work regardless of this problem. Nevertheless, you
  12625. +*** may want to report the problem to your system manager and/or to
  12626. +*** bug-libtool@gnu.org
  12627. +
  12628. +_LT_EOF
  12629. + fi ;;
  12630. + esac
  12631. + fi
  12632. + break
  12633. + fi
  12634. + done
  12635. + IFS="$lt_save_ifs"
  12636. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  12637. + ;;
  12638. +esac
  12639. +fi
  12640. +
  12641. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  12642. +if test -n "$MAGIC_CMD"; then
  12643. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  12644. +$as_echo "$MAGIC_CMD" >&6; }
  12645. +else
  12646. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  12647. +$as_echo "no" >&6; }
  12648. +fi
  12649. +
  12650. +
  12651. + else
  12652. + MAGIC_CMD=:
  12653. + fi
  12654. +fi
  12655. +
  12656. + fi
  12657. + ;;
  12658. +esac
  12659. +
  12660. +# Use C for the default configuration in the libtool script
  12661. +
  12662. +lt_save_CC="$CC"
  12663. +ac_ext=c
  12664. +ac_cpp='$CPP $CPPFLAGS'
  12665. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  12666. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  12667. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  12668. +
  12669. +
  12670. +# Source file extension for C test sources.
  12671. +ac_ext=c
  12672. +
  12673. +# Object file extension for compiled C test sources.
  12674. +objext=o
  12675. +objext=$objext
  12676. +
  12677. +# Code to be used in simple compile tests
  12678. +lt_simple_compile_test_code="int some_variable = 0;"
  12679. +
  12680. +# Code to be used in simple link tests
  12681. +lt_simple_link_test_code='int main(){return(0);}'
  12682. +
  12683. +
  12684. +
  12685. +
  12686. +
  12687. +
  12688. +
  12689. +# If no C compiler was specified, use CC.
  12690. +LTCC=${LTCC-"$CC"}
  12691. +
  12692. +# If no C compiler flags were specified, use CFLAGS.
  12693. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  12694. +
  12695. +# Allow CC to be a program name with arguments.
  12696. +compiler=$CC
  12697. +
  12698. +# Save the default compiler, since it gets overwritten when the other
  12699. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  12700. +compiler_DEFAULT=$CC
  12701. +
  12702. +# save warnings/boilerplate of simple test code
  12703. +ac_outfile=conftest.$ac_objext
  12704. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  12705. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  12706. +_lt_compiler_boilerplate=`cat conftest.err`
  12707. +$RM conftest*
  12708. +
  12709. +ac_outfile=conftest.$ac_objext
  12710. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  12711. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  12712. +_lt_linker_boilerplate=`cat conftest.err`
  12713. +$RM -r conftest*
  12714. +
  12715. +
  12716. +## CAVEAT EMPTOR:
  12717. +## There is no encapsulation within the following macros, do not change
  12718. +## the running order or otherwise move them around unless you know exactly
  12719. +## what you are doing...
  12720. +if test -n "$compiler"; then
  12721. +
  12722. +lt_prog_compiler_no_builtin_flag=
  12723. +
  12724. +if test "$GCC" = yes; then
  12725. + case $cc_basename in
  12726. + nvcc*)
  12727. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  12728. + *)
  12729. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  12730. + esac
  12731. +
  12732. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  12733. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  12734. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  12735. + $as_echo_n "(cached) " >&6
  12736. +else
  12737. + lt_cv_prog_compiler_rtti_exceptions=no
  12738. + ac_outfile=conftest.$ac_objext
  12739. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12740. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  12741. + # Insert the option either (1) after the last *FLAGS variable, or
  12742. + # (2) before a word containing "conftest.", or (3) at the end.
  12743. + # Note that $ac_compile itself does not contain backslashes and begins
  12744. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  12745. + # The option is referenced via a variable to avoid confusing sed.
  12746. + lt_compile=`echo "$ac_compile" | $SED \
  12747. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12748. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12749. + -e 's:$: $lt_compiler_flag:'`
  12750. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12751. + (eval "$lt_compile" 2>conftest.err)
  12752. + ac_status=$?
  12753. + cat conftest.err >&5
  12754. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12755. + if (exit $ac_status) && test -s "$ac_outfile"; then
  12756. + # The compiler can only warn and ignore the option if not recognized
  12757. + # So say no if there are warnings other than the usual output.
  12758. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12759. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12760. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12761. + lt_cv_prog_compiler_rtti_exceptions=yes
  12762. + fi
  12763. + fi
  12764. + $RM conftest*
  12765. +
  12766. +fi
  12767. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  12768. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  12769. +
  12770. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  12771. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  12772. +else
  12773. + :
  12774. +fi
  12775. +
  12776. +fi
  12777. +
  12778. +
  12779. +
  12780. +
  12781. +
  12782. +
  12783. + lt_prog_compiler_wl=
  12784. +lt_prog_compiler_pic=
  12785. +lt_prog_compiler_static=
  12786. +
  12787. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12788. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12789. +
  12790. + if test "$GCC" = yes; then
  12791. + lt_prog_compiler_wl='-Wl,'
  12792. + lt_prog_compiler_static='-static'
  12793. +
  12794. + case $host_os in
  12795. + aix*)
  12796. + # All AIX code is PIC.
  12797. + if test "$host_cpu" = ia64; then
  12798. + # AIX 5 now supports IA64 processor
  12799. + lt_prog_compiler_static='-Bstatic'
  12800. + fi
  12801. + ;;
  12802. +
  12803. + amigaos*)
  12804. + case $host_cpu in
  12805. + powerpc)
  12806. + # see comment about AmigaOS4 .so support
  12807. + lt_prog_compiler_pic='-fPIC'
  12808. + ;;
  12809. + m68k)
  12810. + # FIXME: we need at least 68020 code to build shared libraries, but
  12811. + # adding the `-m68020' flag to GCC prevents building anything better,
  12812. + # like `-m68040'.
  12813. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  12814. + ;;
  12815. + esac
  12816. + ;;
  12817. +
  12818. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  12819. + # PIC is the default for these OSes.
  12820. + ;;
  12821. +
  12822. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  12823. + # This hack is so that the source file can tell whether it is being
  12824. + # built for inclusion in a dll (and should export symbols for example).
  12825. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  12826. + # (--disable-auto-import) libraries
  12827. + lt_prog_compiler_pic='-DDLL_EXPORT'
  12828. + ;;
  12829. +
  12830. + darwin* | rhapsody*)
  12831. + # PIC is the default on this platform
  12832. + # Common symbols not allowed in MH_DYLIB files
  12833. + lt_prog_compiler_pic='-fno-common'
  12834. + ;;
  12835. +
  12836. + haiku*)
  12837. + # PIC is the default for Haiku.
  12838. + # The "-static" flag exists, but is broken.
  12839. + lt_prog_compiler_static=
  12840. + ;;
  12841. +
  12842. + hpux*)
  12843. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  12844. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  12845. + # sets the default TLS model and affects inlining.
  12846. + case $host_cpu in
  12847. + hppa*64*)
  12848. + # +Z the default
  12849. + ;;
  12850. + *)
  12851. + lt_prog_compiler_pic='-fPIC'
  12852. + ;;
  12853. + esac
  12854. + ;;
  12855. +
  12856. + interix[3-9]*)
  12857. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  12858. + # Instead, we relocate shared libraries at runtime.
  12859. + ;;
  12860. +
  12861. + msdosdjgpp*)
  12862. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  12863. + # on systems that don't support them.
  12864. + lt_prog_compiler_can_build_shared=no
  12865. + enable_shared=no
  12866. + ;;
  12867. +
  12868. + *nto* | *qnx*)
  12869. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  12870. + # it will coredump.
  12871. + lt_prog_compiler_pic='-fPIC -shared'
  12872. + ;;
  12873. +
  12874. + sysv4*MP*)
  12875. + if test -d /usr/nec; then
  12876. + lt_prog_compiler_pic=-Kconform_pic
  12877. + fi
  12878. + ;;
  12879. +
  12880. + *)
  12881. + lt_prog_compiler_pic='-fPIC'
  12882. + ;;
  12883. + esac
  12884. +
  12885. + case $cc_basename in
  12886. + nvcc*) # Cuda Compiler Driver 2.2
  12887. + lt_prog_compiler_wl='-Xlinker '
  12888. + lt_prog_compiler_pic='-Xcompiler -fPIC'
  12889. + ;;
  12890. + esac
  12891. + else
  12892. + # PORTME Check for flag to pass linker flags through the system compiler.
  12893. + case $host_os in
  12894. + aix*)
  12895. + lt_prog_compiler_wl='-Wl,'
  12896. + if test "$host_cpu" = ia64; then
  12897. + # AIX 5 now supports IA64 processor
  12898. + lt_prog_compiler_static='-Bstatic'
  12899. + else
  12900. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  12901. + fi
  12902. + ;;
  12903. +
  12904. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  12905. + # This hack is so that the source file can tell whether it is being
  12906. + # built for inclusion in a dll (and should export symbols for example).
  12907. + lt_prog_compiler_pic='-DDLL_EXPORT'
  12908. + ;;
  12909. +
  12910. + hpux9* | hpux10* | hpux11*)
  12911. + lt_prog_compiler_wl='-Wl,'
  12912. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  12913. + # not for PA HP-UX.
  12914. + case $host_cpu in
  12915. + hppa*64*|ia64*)
  12916. + # +Z the default
  12917. + ;;
  12918. + *)
  12919. + lt_prog_compiler_pic='+Z'
  12920. + ;;
  12921. + esac
  12922. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  12923. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  12924. + ;;
  12925. +
  12926. + irix5* | irix6* | nonstopux*)
  12927. + lt_prog_compiler_wl='-Wl,'
  12928. + # PIC (with -KPIC) is the default.
  12929. + lt_prog_compiler_static='-non_shared'
  12930. + ;;
  12931. +
  12932. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  12933. + case $cc_basename in
  12934. + # old Intel for x86_64 which still supported -KPIC.
  12935. + ecc*)
  12936. + lt_prog_compiler_wl='-Wl,'
  12937. + lt_prog_compiler_pic='-KPIC'
  12938. + lt_prog_compiler_static='-static'
  12939. + ;;
  12940. + # icc used to be incompatible with GCC.
  12941. + # ICC 10 doesn't accept -KPIC any more.
  12942. + icc* | ifort*)
  12943. + lt_prog_compiler_wl='-Wl,'
  12944. + lt_prog_compiler_pic='-fPIC'
  12945. + lt_prog_compiler_static='-static'
  12946. + ;;
  12947. + # Lahey Fortran 8.1.
  12948. + lf95*)
  12949. + lt_prog_compiler_wl='-Wl,'
  12950. + lt_prog_compiler_pic='--shared'
  12951. + lt_prog_compiler_static='--static'
  12952. + ;;
  12953. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  12954. + # Portland Group compilers (*not* the Pentium gcc compiler,
  12955. + # which looks to be a dead project)
  12956. + lt_prog_compiler_wl='-Wl,'
  12957. + lt_prog_compiler_pic='-fpic'
  12958. + lt_prog_compiler_static='-Bstatic'
  12959. + ;;
  12960. + ccc*)
  12961. + lt_prog_compiler_wl='-Wl,'
  12962. + # All Alpha code is PIC.
  12963. + lt_prog_compiler_static='-non_shared'
  12964. + ;;
  12965. + xl* | bgxl* | bgf* | mpixl*)
  12966. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  12967. + lt_prog_compiler_wl='-Wl,'
  12968. + lt_prog_compiler_pic='-qpic'
  12969. + lt_prog_compiler_static='-qstaticlink'
  12970. + ;;
  12971. + *)
  12972. + case `$CC -V 2>&1 | sed 5q` in
  12973. + *Sun\ F* | *Sun*Fortran*)
  12974. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  12975. + lt_prog_compiler_pic='-KPIC'
  12976. + lt_prog_compiler_static='-Bstatic'
  12977. + lt_prog_compiler_wl=''
  12978. + ;;
  12979. + *Sun\ C*)
  12980. + # Sun C 5.9
  12981. + lt_prog_compiler_pic='-KPIC'
  12982. + lt_prog_compiler_static='-Bstatic'
  12983. + lt_prog_compiler_wl='-Wl,'
  12984. + ;;
  12985. + esac
  12986. + ;;
  12987. + esac
  12988. + ;;
  12989. +
  12990. + newsos6)
  12991. + lt_prog_compiler_pic='-KPIC'
  12992. + lt_prog_compiler_static='-Bstatic'
  12993. + ;;
  12994. +
  12995. + *nto* | *qnx*)
  12996. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  12997. + # it will coredump.
  12998. + lt_prog_compiler_pic='-fPIC -shared'
  12999. + ;;
  13000. +
  13001. + osf3* | osf4* | osf5*)
  13002. + lt_prog_compiler_wl='-Wl,'
  13003. + # All OSF/1 code is PIC.
  13004. + lt_prog_compiler_static='-non_shared'
  13005. + ;;
  13006. +
  13007. + rdos*)
  13008. + lt_prog_compiler_static='-non_shared'
  13009. + ;;
  13010. +
  13011. + solaris*)
  13012. + lt_prog_compiler_pic='-KPIC'
  13013. + lt_prog_compiler_static='-Bstatic'
  13014. + case $cc_basename in
  13015. + f77* | f90* | f95*)
  13016. + lt_prog_compiler_wl='-Qoption ld ';;
  13017. + *)
  13018. + lt_prog_compiler_wl='-Wl,';;
  13019. + esac
  13020. + ;;
  13021. +
  13022. + sunos4*)
  13023. + lt_prog_compiler_wl='-Qoption ld '
  13024. + lt_prog_compiler_pic='-PIC'
  13025. + lt_prog_compiler_static='-Bstatic'
  13026. + ;;
  13027. +
  13028. + sysv4 | sysv4.2uw2* | sysv4.3*)
  13029. + lt_prog_compiler_wl='-Wl,'
  13030. + lt_prog_compiler_pic='-KPIC'
  13031. + lt_prog_compiler_static='-Bstatic'
  13032. + ;;
  13033. +
  13034. + sysv4*MP*)
  13035. + if test -d /usr/nec ;then
  13036. + lt_prog_compiler_pic='-Kconform_pic'
  13037. + lt_prog_compiler_static='-Bstatic'
  13038. + fi
  13039. + ;;
  13040. +
  13041. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  13042. + lt_prog_compiler_wl='-Wl,'
  13043. + lt_prog_compiler_pic='-KPIC'
  13044. + lt_prog_compiler_static='-Bstatic'
  13045. + ;;
  13046. +
  13047. + unicos*)
  13048. + lt_prog_compiler_wl='-Wl,'
  13049. + lt_prog_compiler_can_build_shared=no
  13050. + ;;
  13051. +
  13052. + uts4*)
  13053. + lt_prog_compiler_pic='-pic'
  13054. + lt_prog_compiler_static='-Bstatic'
  13055. + ;;
  13056. +
  13057. + *)
  13058. + lt_prog_compiler_can_build_shared=no
  13059. + ;;
  13060. + esac
  13061. + fi
  13062. +
  13063. +case $host_os in
  13064. + # For platforms which do not support PIC, -DPIC is meaningless:
  13065. + *djgpp*)
  13066. + lt_prog_compiler_pic=
  13067. + ;;
  13068. + *)
  13069. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  13070. + ;;
  13071. +esac
  13072. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  13073. +$as_echo "$lt_prog_compiler_pic" >&6; }
  13074. +
  13075. +
  13076. +
  13077. +
  13078. +
  13079. +
  13080. +#
  13081. +# Check to make sure the PIC flag actually works.
  13082. +#
  13083. +if test -n "$lt_prog_compiler_pic"; then
  13084. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  13085. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  13086. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  13087. + $as_echo_n "(cached) " >&6
  13088. +else
  13089. + lt_cv_prog_compiler_pic_works=no
  13090. + ac_outfile=conftest.$ac_objext
  13091. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  13092. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  13093. + # Insert the option either (1) after the last *FLAGS variable, or
  13094. + # (2) before a word containing "conftest.", or (3) at the end.
  13095. + # Note that $ac_compile itself does not contain backslashes and begins
  13096. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  13097. + # The option is referenced via a variable to avoid confusing sed.
  13098. + lt_compile=`echo "$ac_compile" | $SED \
  13099. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  13100. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  13101. + -e 's:$: $lt_compiler_flag:'`
  13102. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  13103. + (eval "$lt_compile" 2>conftest.err)
  13104. + ac_status=$?
  13105. + cat conftest.err >&5
  13106. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13107. + if (exit $ac_status) && test -s "$ac_outfile"; then
  13108. + # The compiler can only warn and ignore the option if not recognized
  13109. + # So say no if there are warnings other than the usual output.
  13110. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  13111. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  13112. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  13113. + lt_cv_prog_compiler_pic_works=yes
  13114. + fi
  13115. + fi
  13116. + $RM conftest*
  13117. +
  13118. +fi
  13119. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  13120. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  13121. +
  13122. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  13123. + case $lt_prog_compiler_pic in
  13124. + "" | " "*) ;;
  13125. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  13126. + esac
  13127. +else
  13128. + lt_prog_compiler_pic=
  13129. + lt_prog_compiler_can_build_shared=no
  13130. +fi
  13131. +
  13132. +fi
  13133. +
  13134. +
  13135. +
  13136. +
  13137. +
  13138. +
  13139. +#
  13140. +# Check to make sure the static flag actually works.
  13141. +#
  13142. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  13143. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  13144. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  13145. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  13146. + $as_echo_n "(cached) " >&6
  13147. +else
  13148. + lt_cv_prog_compiler_static_works=no
  13149. + save_LDFLAGS="$LDFLAGS"
  13150. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  13151. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  13152. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  13153. + # The linker can only warn and ignore the option if not recognized
  13154. + # So say no if there are warnings
  13155. + if test -s conftest.err; then
  13156. + # Append any errors to the config.log.
  13157. + cat conftest.err 1>&5
  13158. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  13159. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  13160. + if diff conftest.exp conftest.er2 >/dev/null; then
  13161. + lt_cv_prog_compiler_static_works=yes
  13162. + fi
  13163. + else
  13164. + lt_cv_prog_compiler_static_works=yes
  13165. + fi
  13166. + fi
  13167. + $RM -r conftest*
  13168. + LDFLAGS="$save_LDFLAGS"
  13169. +
  13170. +fi
  13171. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  13172. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  13173. +
  13174. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  13175. + :
  13176. +else
  13177. + lt_prog_compiler_static=
  13178. +fi
  13179. +
  13180. +
  13181. +
  13182. +
  13183. +
  13184. +
  13185. +
  13186. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  13187. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  13188. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  13189. + $as_echo_n "(cached) " >&6
  13190. +else
  13191. + lt_cv_prog_compiler_c_o=no
  13192. + $RM -r conftest 2>/dev/null
  13193. + mkdir conftest
  13194. + cd conftest
  13195. + mkdir out
  13196. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  13197. +
  13198. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  13199. + # Insert the option either (1) after the last *FLAGS variable, or
  13200. + # (2) before a word containing "conftest.", or (3) at the end.
  13201. + # Note that $ac_compile itself does not contain backslashes and begins
  13202. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  13203. + lt_compile=`echo "$ac_compile" | $SED \
  13204. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  13205. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  13206. + -e 's:$: $lt_compiler_flag:'`
  13207. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  13208. + (eval "$lt_compile" 2>out/conftest.err)
  13209. + ac_status=$?
  13210. + cat out/conftest.err >&5
  13211. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13212. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  13213. + then
  13214. + # The compiler can only warn and ignore the option if not recognized
  13215. + # So say no if there are warnings
  13216. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  13217. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  13218. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  13219. + lt_cv_prog_compiler_c_o=yes
  13220. + fi
  13221. + fi
  13222. + chmod u+w . 2>&5
  13223. + $RM conftest*
  13224. + # SGI C++ compiler will create directory out/ii_files/ for
  13225. + # template instantiation
  13226. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  13227. + $RM out/* && rmdir out
  13228. + cd ..
  13229. + $RM -r conftest
  13230. + $RM conftest*
  13231. +
  13232. +fi
  13233. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  13234. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  13235. +
  13236. +
  13237. +
  13238. +
  13239. +
  13240. +
  13241. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  13242. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  13243. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  13244. + $as_echo_n "(cached) " >&6
  13245. +else
  13246. + lt_cv_prog_compiler_c_o=no
  13247. + $RM -r conftest 2>/dev/null
  13248. + mkdir conftest
  13249. + cd conftest
  13250. + mkdir out
  13251. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  13252. +
  13253. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  13254. + # Insert the option either (1) after the last *FLAGS variable, or
  13255. + # (2) before a word containing "conftest.", or (3) at the end.
  13256. + # Note that $ac_compile itself does not contain backslashes and begins
  13257. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  13258. + lt_compile=`echo "$ac_compile" | $SED \
  13259. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  13260. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  13261. + -e 's:$: $lt_compiler_flag:'`
  13262. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  13263. + (eval "$lt_compile" 2>out/conftest.err)
  13264. + ac_status=$?
  13265. + cat out/conftest.err >&5
  13266. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13267. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  13268. + then
  13269. + # The compiler can only warn and ignore the option if not recognized
  13270. + # So say no if there are warnings
  13271. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  13272. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  13273. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  13274. + lt_cv_prog_compiler_c_o=yes
  13275. + fi
  13276. + fi
  13277. + chmod u+w . 2>&5
  13278. + $RM conftest*
  13279. + # SGI C++ compiler will create directory out/ii_files/ for
  13280. + # template instantiation
  13281. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  13282. + $RM out/* && rmdir out
  13283. + cd ..
  13284. + $RM -r conftest
  13285. + $RM conftest*
  13286. +
  13287. +fi
  13288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  13289. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  13290. +
  13291. +
  13292. +
  13293. +
  13294. +hard_links="nottested"
  13295. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  13296. + # do not overwrite the value of need_locks provided by the user
  13297. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  13298. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  13299. + hard_links=yes
  13300. + $RM conftest*
  13301. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  13302. + touch conftest.a
  13303. + ln conftest.a conftest.b 2>&5 || hard_links=no
  13304. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  13305. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  13306. +$as_echo "$hard_links" >&6; }
  13307. + if test "$hard_links" = no; then
  13308. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  13309. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  13310. + need_locks=warn
  13311. + fi
  13312. +else
  13313. + need_locks=no
  13314. +fi
  13315. +
  13316. +
  13317. +
  13318. +
  13319. +
  13320. +
  13321. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  13322. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  13323. +
  13324. + runpath_var=
  13325. + allow_undefined_flag=
  13326. + always_export_symbols=no
  13327. + archive_cmds=
  13328. + archive_expsym_cmds=
  13329. + compiler_needs_object=no
  13330. + enable_shared_with_static_runtimes=no
  13331. + export_dynamic_flag_spec=
  13332. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  13333. + hardcode_automatic=no
  13334. + hardcode_direct=no
  13335. + hardcode_direct_absolute=no
  13336. + hardcode_libdir_flag_spec=
  13337. + hardcode_libdir_flag_spec_ld=
  13338. + hardcode_libdir_separator=
  13339. + hardcode_minus_L=no
  13340. + hardcode_shlibpath_var=unsupported
  13341. + inherit_rpath=no
  13342. + link_all_deplibs=unknown
  13343. + module_cmds=
  13344. + module_expsym_cmds=
  13345. + old_archive_from_new_cmds=
  13346. + old_archive_from_expsyms_cmds=
  13347. + thread_safe_flag_spec=
  13348. + whole_archive_flag_spec=
  13349. + # include_expsyms should be a list of space-separated symbols to be *always*
  13350. + # included in the symbol list
  13351. + include_expsyms=
  13352. + # exclude_expsyms can be an extended regexp of symbols to exclude
  13353. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  13354. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  13355. + # as well as any symbol that contains `d'.
  13356. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  13357. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  13358. + # platforms (ab)use it in PIC code, but their linkers get confused if
  13359. + # the symbol is explicitly referenced. Since portable code cannot
  13360. + # rely on this symbol name, it's probably fine to never include it in
  13361. + # preloaded symbol tables.
  13362. + # Exclude shared library initialization/finalization symbols.
  13363. + extract_expsyms_cmds=
  13364. +
  13365. + case $host_os in
  13366. + cygwin* | mingw* | pw32* | cegcc*)
  13367. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  13368. + # When not using gcc, we currently assume that we are using
  13369. + # Microsoft Visual C++.
  13370. + if test "$GCC" != yes; then
  13371. + with_gnu_ld=no
  13372. + fi
  13373. + ;;
  13374. + interix*)
  13375. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  13376. + with_gnu_ld=yes
  13377. + ;;
  13378. + openbsd*)
  13379. + with_gnu_ld=no
  13380. + ;;
  13381. + esac
  13382. +
  13383. + ld_shlibs=yes
  13384. +
  13385. + # On some targets, GNU ld is compatible enough with the native linker
  13386. + # that we're better off using the native interface for both.
  13387. + lt_use_gnu_ld_interface=no
  13388. + if test "$with_gnu_ld" = yes; then
  13389. + case $host_os in
  13390. + aix*)
  13391. + # The AIX port of GNU ld has always aspired to compatibility
  13392. + # with the native linker. However, as the warning in the GNU ld
  13393. + # block says, versions before 2.19.5* couldn't really create working
  13394. + # shared libraries, regardless of the interface used.
  13395. + case `$LD -v 2>&1` in
  13396. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  13397. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  13398. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  13399. + *)
  13400. + lt_use_gnu_ld_interface=yes
  13401. + ;;
  13402. + esac
  13403. + ;;
  13404. + *)
  13405. + lt_use_gnu_ld_interface=yes
  13406. + ;;
  13407. + esac
  13408. + fi
  13409. +
  13410. + if test "$lt_use_gnu_ld_interface" = yes; then
  13411. + # If archive_cmds runs LD, not CC, wlarc should be empty
  13412. + wlarc='${wl}'
  13413. +
  13414. + # Set some defaults for GNU ld with shared library support. These
  13415. + # are reset later if shared libraries are not supported. Putting them
  13416. + # here allows them to be overridden if necessary.
  13417. + runpath_var=LD_RUN_PATH
  13418. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  13419. + export_dynamic_flag_spec='${wl}--export-dynamic'
  13420. + # ancient GNU ld didn't support --whole-archive et. al.
  13421. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  13422. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  13423. + else
  13424. + whole_archive_flag_spec=
  13425. + fi
  13426. + supports_anon_versioning=no
  13427. + case `$LD -v 2>&1` in
  13428. + *GNU\ gold*) supports_anon_versioning=yes ;;
  13429. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  13430. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  13431. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  13432. + *\ 2.11.*) ;; # other 2.11 versions
  13433. + *) supports_anon_versioning=yes ;;
  13434. + esac
  13435. +
  13436. + # See if GNU ld supports shared libraries.
  13437. + case $host_os in
  13438. + aix[3-9]*)
  13439. + # On AIX/PPC, the GNU linker is very broken
  13440. + if test "$host_cpu" != ia64; then
  13441. + ld_shlibs=no
  13442. + cat <<_LT_EOF 1>&2
  13443. +
  13444. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  13445. +*** to be unable to reliably create shared libraries on AIX.
  13446. +*** Therefore, libtool is disabling shared libraries support. If you
  13447. +*** really care for shared libraries, you may want to install binutils
  13448. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  13449. +*** You will then need to restart the configuration process.
  13450. +
  13451. +_LT_EOF
  13452. + fi
  13453. + ;;
  13454. +
  13455. + amigaos*)
  13456. + case $host_cpu in
  13457. + powerpc)
  13458. + # see comment about AmigaOS4 .so support
  13459. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13460. + archive_expsym_cmds=''
  13461. + ;;
  13462. + m68k)
  13463. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  13464. + hardcode_libdir_flag_spec='-L$libdir'
  13465. + hardcode_minus_L=yes
  13466. + ;;
  13467. + esac
  13468. + ;;
  13469. +
  13470. + beos*)
  13471. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  13472. + allow_undefined_flag=unsupported
  13473. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  13474. + # support --undefined. This deserves some investigation. FIXME
  13475. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13476. + else
  13477. + ld_shlibs=no
  13478. + fi
  13479. + ;;
  13480. +
  13481. + cygwin* | mingw* | pw32* | cegcc*)
  13482. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  13483. + # as there is no search path for DLLs.
  13484. + hardcode_libdir_flag_spec='-L$libdir'
  13485. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  13486. + allow_undefined_flag=unsupported
  13487. + always_export_symbols=no
  13488. + enable_shared_with_static_runtimes=yes
  13489. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  13490. +
  13491. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  13492. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  13493. + # If the export-symbols file already is a .def file (1st line
  13494. + # is EXPORTS), use it as is; otherwise, prepend...
  13495. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  13496. + cp $export_symbols $output_objdir/$soname.def;
  13497. + else
  13498. + echo EXPORTS > $output_objdir/$soname.def;
  13499. + cat $export_symbols >> $output_objdir/$soname.def;
  13500. + fi~
  13501. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  13502. + else
  13503. + ld_shlibs=no
  13504. + fi
  13505. + ;;
  13506. +
  13507. + haiku*)
  13508. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13509. + link_all_deplibs=yes
  13510. + ;;
  13511. +
  13512. + interix[3-9]*)
  13513. + hardcode_direct=no
  13514. + hardcode_shlibpath_var=no
  13515. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  13516. + export_dynamic_flag_spec='${wl}-E'
  13517. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  13518. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  13519. + # default) and relocated if they conflict, which is a slow very memory
  13520. + # consuming and fragmenting process. To avoid this, we pick a random,
  13521. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  13522. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  13523. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  13524. + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  13525. + ;;
  13526. +
  13527. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  13528. + tmp_diet=no
  13529. + if test "$host_os" = linux-dietlibc; then
  13530. + case $cc_basename in
  13531. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  13532. + esac
  13533. + fi
  13534. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  13535. + && test "$tmp_diet" = no
  13536. + then
  13537. + tmp_addflag=
  13538. + tmp_sharedflag='-shared'
  13539. + case $cc_basename,$host_cpu in
  13540. + pgcc*) # Portland Group C compiler
  13541. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  13542. + tmp_addflag=' $pic_flag'
  13543. + ;;
  13544. + pgf77* | pgf90* | pgf95* | pgfortran*)
  13545. + # Portland Group f77 and f90 compilers
  13546. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  13547. + tmp_addflag=' $pic_flag -Mnomain' ;;
  13548. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  13549. + tmp_addflag=' -i_dynamic' ;;
  13550. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  13551. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  13552. + ifc* | ifort*) # Intel Fortran compiler
  13553. + tmp_addflag=' -nofor_main' ;;
  13554. + lf95*) # Lahey Fortran 8.1
  13555. + whole_archive_flag_spec=
  13556. + tmp_sharedflag='--shared' ;;
  13557. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  13558. + tmp_sharedflag='-qmkshrobj'
  13559. + tmp_addflag= ;;
  13560. + nvcc*) # Cuda Compiler Driver 2.2
  13561. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  13562. + compiler_needs_object=yes
  13563. + ;;
  13564. + esac
  13565. + case `$CC -V 2>&1 | sed 5q` in
  13566. + *Sun\ C*) # Sun C 5.9
  13567. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  13568. + compiler_needs_object=yes
  13569. + tmp_sharedflag='-G' ;;
  13570. + *Sun\ F*) # Sun Fortran 8.3
  13571. + tmp_sharedflag='-G' ;;
  13572. + esac
  13573. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13574. +
  13575. + if test "x$supports_anon_versioning" = xyes; then
  13576. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  13577. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  13578. + echo "local: *; };" >> $output_objdir/$libname.ver~
  13579. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  13580. + fi
  13581. +
  13582. + case $cc_basename in
  13583. + xlf* | bgf* | bgxlf* | mpixlf*)
  13584. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  13585. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  13586. + hardcode_libdir_flag_spec=
  13587. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  13588. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  13589. + if test "x$supports_anon_versioning" = xyes; then
  13590. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  13591. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  13592. + echo "local: *; };" >> $output_objdir/$libname.ver~
  13593. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  13594. + fi
  13595. + ;;
  13596. + esac
  13597. + else
  13598. + ld_shlibs=no
  13599. + fi
  13600. + ;;
  13601. +
  13602. + netbsd*)
  13603. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13604. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  13605. + wlarc=
  13606. + else
  13607. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13608. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  13609. + fi
  13610. + ;;
  13611. +
  13612. + solaris*)
  13613. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  13614. + ld_shlibs=no
  13615. + cat <<_LT_EOF 1>&2
  13616. +
  13617. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  13618. +*** create shared libraries on Solaris systems. Therefore, libtool
  13619. +*** is disabling shared libraries support. We urge you to upgrade GNU
  13620. +*** binutils to release 2.9.1 or newer. Another option is to modify
  13621. +*** your PATH or compiler configuration so that the native linker is
  13622. +*** used, and then restart.
  13623. +
  13624. +_LT_EOF
  13625. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  13626. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13627. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  13628. + else
  13629. + ld_shlibs=no
  13630. + fi
  13631. + ;;
  13632. +
  13633. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  13634. + case `$LD -v 2>&1` in
  13635. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  13636. + ld_shlibs=no
  13637. + cat <<_LT_EOF 1>&2
  13638. +
  13639. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  13640. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  13641. +*** is disabling shared libraries support. We urge you to upgrade GNU
  13642. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  13643. +*** your PATH or compiler configuration so that the native linker is
  13644. +*** used, and then restart.
  13645. +
  13646. +_LT_EOF
  13647. + ;;
  13648. + *)
  13649. + # For security reasons, it is highly recommended that you always
  13650. + # use absolute paths for naming shared libraries, and exclude the
  13651. + # DT_RUNPATH tag from executables and libraries. But doing so
  13652. + # requires that you compile everything twice, which is a pain.
  13653. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  13654. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  13655. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13656. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  13657. + else
  13658. + ld_shlibs=no
  13659. + fi
  13660. + ;;
  13661. + esac
  13662. + ;;
  13663. +
  13664. + sunos4*)
  13665. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  13666. + wlarc=
  13667. + hardcode_direct=yes
  13668. + hardcode_shlibpath_var=no
  13669. + ;;
  13670. +
  13671. + *)
  13672. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  13673. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13674. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  13675. + else
  13676. + ld_shlibs=no
  13677. + fi
  13678. + ;;
  13679. + esac
  13680. +
  13681. + if test "$ld_shlibs" = no; then
  13682. + runpath_var=
  13683. + hardcode_libdir_flag_spec=
  13684. + export_dynamic_flag_spec=
  13685. + whole_archive_flag_spec=
  13686. + fi
  13687. + else
  13688. + # PORTME fill in a description of your system's linker (not GNU ld)
  13689. + case $host_os in
  13690. + aix3*)
  13691. + allow_undefined_flag=unsupported
  13692. + always_export_symbols=yes
  13693. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  13694. + # Note: this linker hardcodes the directories in LIBPATH if there
  13695. + # are no directories specified by -L.
  13696. + hardcode_minus_L=yes
  13697. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  13698. + # Neither direct hardcoding nor static linking is supported with a
  13699. + # broken collect2.
  13700. + hardcode_direct=unsupported
  13701. + fi
  13702. + ;;
  13703. +
  13704. + aix[4-9]*)
  13705. + if test "$host_cpu" = ia64; then
  13706. + # On IA64, the linker does run time linking by default, so we don't
  13707. + # have to do anything special.
  13708. + aix_use_runtimelinking=no
  13709. + exp_sym_flag='-Bexport'
  13710. + no_entry_flag=""
  13711. + else
  13712. + # If we're using GNU nm, then we don't want the "-C" option.
  13713. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  13714. + # Also, AIX nm treats weak defined symbols like other global
  13715. + # defined symbols, whereas GNU nm marks them as "W".
  13716. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  13717. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  13718. + else
  13719. + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  13720. + fi
  13721. + aix_use_runtimelinking=no
  13722. +
  13723. + # Test if we are trying to use run time linking or normal
  13724. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  13725. + # need to do runtime linking.
  13726. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  13727. + for ld_flag in $LDFLAGS; do
  13728. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  13729. + aix_use_runtimelinking=yes
  13730. + break
  13731. + fi
  13732. + done
  13733. + ;;
  13734. + esac
  13735. +
  13736. + exp_sym_flag='-bexport'
  13737. + no_entry_flag='-bnoentry'
  13738. + fi
  13739. +
  13740. + # When large executables or shared objects are built, AIX ld can
  13741. + # have problems creating the table of contents. If linking a library
  13742. + # or program results in "error TOC overflow" add -mminimal-toc to
  13743. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  13744. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  13745. +
  13746. + archive_cmds=''
  13747. + hardcode_direct=yes
  13748. + hardcode_direct_absolute=yes
  13749. + hardcode_libdir_separator=':'
  13750. + link_all_deplibs=yes
  13751. + file_list_spec='${wl}-f,'
  13752. +
  13753. + if test "$GCC" = yes; then
  13754. + case $host_os in aix4.[012]|aix4.[012].*)
  13755. + # We only want to do this on AIX 4.2 and lower, the check
  13756. + # below for broken collect2 doesn't work under 4.3+
  13757. + collect2name=`${CC} -print-prog-name=collect2`
  13758. + if test -f "$collect2name" &&
  13759. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  13760. + then
  13761. + # We have reworked collect2
  13762. + :
  13763. + else
  13764. + # We have old collect2
  13765. + hardcode_direct=unsupported
  13766. + # It fails to find uninstalled libraries when the uninstalled
  13767. + # path is not listed in the libpath. Setting hardcode_minus_L
  13768. + # to unsupported forces relinking
  13769. + hardcode_minus_L=yes
  13770. + hardcode_libdir_flag_spec='-L$libdir'
  13771. + hardcode_libdir_separator=
  13772. + fi
  13773. + ;;
  13774. + esac
  13775. + shared_flag='-shared'
  13776. + if test "$aix_use_runtimelinking" = yes; then
  13777. + shared_flag="$shared_flag "'${wl}-G'
  13778. + fi
  13779. + else
  13780. + # not using gcc
  13781. + if test "$host_cpu" = ia64; then
  13782. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  13783. + # chokes on -Wl,-G. The following line is correct:
  13784. + shared_flag='-G'
  13785. + else
  13786. + if test "$aix_use_runtimelinking" = yes; then
  13787. + shared_flag='${wl}-G'
  13788. + else
  13789. + shared_flag='${wl}-bM:SRE'
  13790. + fi
  13791. + fi
  13792. + fi
  13793. +
  13794. + export_dynamic_flag_spec='${wl}-bexpall'
  13795. + # It seems that -bexpall does not export symbols beginning with
  13796. + # underscore (_), so it is better to generate a list of symbols to export.
  13797. + always_export_symbols=yes
  13798. + if test "$aix_use_runtimelinking" = yes; then
  13799. + # Warning - without using the other runtime loading flags (-brtl),
  13800. + # -berok will link without error, but may produce a broken library.
  13801. + allow_undefined_flag='-berok'
  13802. + # Determine the default libpath from the value encoded in an
  13803. + # empty executable.
  13804. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13805. +/* end confdefs.h. */
  13806. +
  13807. +int
  13808. +main ()
  13809. +{
  13810. +
  13811. + ;
  13812. + return 0;
  13813. +}
  13814. +_ACEOF
  13815. +if ac_fn_c_try_link "$LINENO"; then :
  13816. +
  13817. +lt_aix_libpath_sed='
  13818. + /Import File Strings/,/^$/ {
  13819. + /^0/ {
  13820. + s/^0 *\(.*\)$/\1/
  13821. + p
  13822. + }
  13823. + }'
  13824. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  13825. +# Check for a 64-bit object if we didn't find anything.
  13826. +if test -z "$aix_libpath"; then
  13827. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  13828. +fi
  13829. +fi
  13830. +rm -f core conftest.err conftest.$ac_objext \
  13831. + conftest$ac_exeext conftest.$ac_ext
  13832. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  13833. +
  13834. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  13835. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  13836. + else
  13837. + if test "$host_cpu" = ia64; then
  13838. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  13839. + allow_undefined_flag="-z nodefs"
  13840. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  13841. + else
  13842. + # Determine the default libpath from the value encoded in an
  13843. + # empty executable.
  13844. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13845. +/* end confdefs.h. */
  13846. +
  13847. +int
  13848. +main ()
  13849. +{
  13850. +
  13851. + ;
  13852. + return 0;
  13853. +}
  13854. +_ACEOF
  13855. +if ac_fn_c_try_link "$LINENO"; then :
  13856. +
  13857. +lt_aix_libpath_sed='
  13858. + /Import File Strings/,/^$/ {
  13859. + /^0/ {
  13860. + s/^0 *\(.*\)$/\1/
  13861. + p
  13862. + }
  13863. + }'
  13864. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  13865. +# Check for a 64-bit object if we didn't find anything.
  13866. +if test -z "$aix_libpath"; then
  13867. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  13868. +fi
  13869. +fi
  13870. +rm -f core conftest.err conftest.$ac_objext \
  13871. + conftest$ac_exeext conftest.$ac_ext
  13872. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  13873. +
  13874. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  13875. + # Warning - without using the other run time loading flags,
  13876. + # -berok will link without error, but may produce a broken library.
  13877. + no_undefined_flag=' ${wl}-bernotok'
  13878. + allow_undefined_flag=' ${wl}-berok'
  13879. + if test "$with_gnu_ld" = yes; then
  13880. + # We only use this code for GNU lds that support --whole-archive.
  13881. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  13882. + else
  13883. + # Exported symbols can be pulled into shared objects from archives
  13884. + whole_archive_flag_spec='$convenience'
  13885. + fi
  13886. + archive_cmds_need_lc=yes
  13887. + # This is similar to how AIX traditionally builds its shared libraries.
  13888. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  13889. + fi
  13890. + fi
  13891. + ;;
  13892. +
  13893. + amigaos*)
  13894. + case $host_cpu in
  13895. + powerpc)
  13896. + # see comment about AmigaOS4 .so support
  13897. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  13898. + archive_expsym_cmds=''
  13899. + ;;
  13900. + m68k)
  13901. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  13902. + hardcode_libdir_flag_spec='-L$libdir'
  13903. + hardcode_minus_L=yes
  13904. + ;;
  13905. + esac
  13906. + ;;
  13907. +
  13908. + bsdi[45]*)
  13909. + export_dynamic_flag_spec=-rdynamic
  13910. + ;;
  13911. +
  13912. + cygwin* | mingw* | pw32* | cegcc*)
  13913. + # When not using gcc, we currently assume that we are using
  13914. + # Microsoft Visual C++.
  13915. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  13916. + # no search path for DLLs.
  13917. + hardcode_libdir_flag_spec=' '
  13918. + allow_undefined_flag=unsupported
  13919. + # Tell ltmain to make .lib files, not .a files.
  13920. + libext=lib
  13921. + # Tell ltmain to make .dll files, not .so files.
  13922. + shrext_cmds=".dll"
  13923. + # FIXME: Setting linknames here is a bad hack.
  13924. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  13925. + # The linker will automatically build a .lib file if we build a DLL.
  13926. + old_archive_from_new_cmds='true'
  13927. + # FIXME: Should let the user specify the lib program.
  13928. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  13929. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  13930. + enable_shared_with_static_runtimes=yes
  13931. + ;;
  13932. +
  13933. + darwin* | rhapsody*)
  13934. +
  13935. +
  13936. + archive_cmds_need_lc=no
  13937. + hardcode_direct=no
  13938. + hardcode_automatic=yes
  13939. + hardcode_shlibpath_var=unsupported
  13940. + if test "$lt_cv_ld_force_load" = "yes"; then
  13941. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  13942. + else
  13943. + whole_archive_flag_spec=''
  13944. + fi
  13945. + link_all_deplibs=yes
  13946. + allow_undefined_flag="$_lt_dar_allow_undefined"
  13947. + case $cc_basename in
  13948. + ifort*) _lt_dar_can_shared=yes ;;
  13949. + *) _lt_dar_can_shared=$GCC ;;
  13950. + esac
  13951. + if test "$_lt_dar_can_shared" = "yes"; then
  13952. + output_verbose_link_cmd=func_echo_all
  13953. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  13954. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  13955. + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  13956. + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  13957. +
  13958. + else
  13959. + ld_shlibs=no
  13960. + fi
  13961. +
  13962. + ;;
  13963. +
  13964. + dgux*)
  13965. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13966. + hardcode_libdir_flag_spec='-L$libdir'
  13967. + hardcode_shlibpath_var=no
  13968. + ;;
  13969. +
  13970. + freebsd1*)
  13971. + ld_shlibs=no
  13972. + ;;
  13973. +
  13974. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  13975. + # support. Future versions do this automatically, but an explicit c++rt0.o
  13976. + # does not break anything, and helps significantly (at the cost of a little
  13977. + # extra space).
  13978. + freebsd2.2*)
  13979. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  13980. + hardcode_libdir_flag_spec='-R$libdir'
  13981. + hardcode_direct=yes
  13982. + hardcode_shlibpath_var=no
  13983. + ;;
  13984. +
  13985. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  13986. + freebsd2*)
  13987. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  13988. + hardcode_direct=yes
  13989. + hardcode_minus_L=yes
  13990. + hardcode_shlibpath_var=no
  13991. + ;;
  13992. +
  13993. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  13994. + freebsd* | dragonfly*)
  13995. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  13996. + hardcode_libdir_flag_spec='-R$libdir'
  13997. + hardcode_direct=yes
  13998. + hardcode_shlibpath_var=no
  13999. + ;;
  14000. +
  14001. + hpux9*)
  14002. + if test "$GCC" = yes; then
  14003. + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  14004. + else
  14005. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  14006. + fi
  14007. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  14008. + hardcode_libdir_separator=:
  14009. + hardcode_direct=yes
  14010. +
  14011. + # hardcode_minus_L: Not really in the search PATH,
  14012. + # but as the default location of the library.
  14013. + hardcode_minus_L=yes
  14014. + export_dynamic_flag_spec='${wl}-E'
  14015. + ;;
  14016. +
  14017. + hpux10*)
  14018. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  14019. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  14020. + else
  14021. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  14022. + fi
  14023. + if test "$with_gnu_ld" = no; then
  14024. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  14025. + hardcode_libdir_flag_spec_ld='+b $libdir'
  14026. + hardcode_libdir_separator=:
  14027. + hardcode_direct=yes
  14028. + hardcode_direct_absolute=yes
  14029. + export_dynamic_flag_spec='${wl}-E'
  14030. + # hardcode_minus_L: Not really in the search PATH,
  14031. + # but as the default location of the library.
  14032. + hardcode_minus_L=yes
  14033. + fi
  14034. + ;;
  14035. +
  14036. + hpux11*)
  14037. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  14038. + case $host_cpu in
  14039. + hppa*64*)
  14040. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  14041. + ;;
  14042. + ia64*)
  14043. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  14044. + ;;
  14045. + *)
  14046. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  14047. + ;;
  14048. + esac
  14049. + else
  14050. + case $host_cpu in
  14051. + hppa*64*)
  14052. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  14053. + ;;
  14054. + ia64*)
  14055. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  14056. + ;;
  14057. + *)
  14058. +
  14059. + # Older versions of the 11.00 compiler do not understand -b yet
  14060. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  14061. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  14062. +$as_echo_n "checking if $CC understands -b... " >&6; }
  14063. +if test "${lt_cv_prog_compiler__b+set}" = set; then :
  14064. + $as_echo_n "(cached) " >&6
  14065. +else
  14066. + lt_cv_prog_compiler__b=no
  14067. + save_LDFLAGS="$LDFLAGS"
  14068. + LDFLAGS="$LDFLAGS -b"
  14069. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  14070. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  14071. + # The linker can only warn and ignore the option if not recognized
  14072. + # So say no if there are warnings
  14073. + if test -s conftest.err; then
  14074. + # Append any errors to the config.log.
  14075. + cat conftest.err 1>&5
  14076. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  14077. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  14078. + if diff conftest.exp conftest.er2 >/dev/null; then
  14079. + lt_cv_prog_compiler__b=yes
  14080. + fi
  14081. + else
  14082. + lt_cv_prog_compiler__b=yes
  14083. + fi
  14084. + fi
  14085. + $RM -r conftest*
  14086. + LDFLAGS="$save_LDFLAGS"
  14087. +
  14088. +fi
  14089. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  14090. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  14091. +
  14092. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  14093. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  14094. +else
  14095. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  14096. +fi
  14097. +
  14098. + ;;
  14099. + esac
  14100. + fi
  14101. + if test "$with_gnu_ld" = no; then
  14102. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  14103. + hardcode_libdir_separator=:
  14104. +
  14105. + case $host_cpu in
  14106. + hppa*64*|ia64*)
  14107. + hardcode_direct=no
  14108. + hardcode_shlibpath_var=no
  14109. + ;;
  14110. + *)
  14111. + hardcode_direct=yes
  14112. + hardcode_direct_absolute=yes
  14113. + export_dynamic_flag_spec='${wl}-E'
  14114. +
  14115. + # hardcode_minus_L: Not really in the search PATH,
  14116. + # but as the default location of the library.
  14117. + hardcode_minus_L=yes
  14118. + ;;
  14119. + esac
  14120. + fi
  14121. + ;;
  14122. +
  14123. + irix5* | irix6* | nonstopux*)
  14124. + if test "$GCC" = yes; then
  14125. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  14126. + # Try to use the -exported_symbol ld option, if it does not
  14127. + # work, assume that -exports_file does not work either and
  14128. + # implicitly export all symbols.
  14129. + save_LDFLAGS="$LDFLAGS"
  14130. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  14131. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14132. +/* end confdefs.h. */
  14133. +int foo(void) {}
  14134. +_ACEOF
  14135. +if ac_fn_c_try_link "$LINENO"; then :
  14136. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  14137. +
  14138. +fi
  14139. +rm -f core conftest.err conftest.$ac_objext \
  14140. + conftest$ac_exeext conftest.$ac_ext
  14141. + LDFLAGS="$save_LDFLAGS"
  14142. + else
  14143. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  14144. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  14145. + fi
  14146. + archive_cmds_need_lc='no'
  14147. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  14148. + hardcode_libdir_separator=:
  14149. + inherit_rpath=yes
  14150. + link_all_deplibs=yes
  14151. + ;;
  14152. +
  14153. + netbsd*)
  14154. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  14155. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  14156. + else
  14157. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  14158. + fi
  14159. + hardcode_libdir_flag_spec='-R$libdir'
  14160. + hardcode_direct=yes
  14161. + hardcode_shlibpath_var=no
  14162. + ;;
  14163. +
  14164. + newsos6)
  14165. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14166. + hardcode_direct=yes
  14167. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  14168. + hardcode_libdir_separator=:
  14169. + hardcode_shlibpath_var=no
  14170. + ;;
  14171. +
  14172. + *nto* | *qnx*)
  14173. + ;;
  14174. +
  14175. + openbsd*)
  14176. + if test -f /usr/libexec/ld.so; then
  14177. + hardcode_direct=yes
  14178. + hardcode_shlibpath_var=no
  14179. + hardcode_direct_absolute=yes
  14180. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  14181. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  14182. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  14183. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  14184. + export_dynamic_flag_spec='${wl}-E'
  14185. + else
  14186. + case $host_os in
  14187. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  14188. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  14189. + hardcode_libdir_flag_spec='-R$libdir'
  14190. + ;;
  14191. + *)
  14192. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  14193. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  14194. + ;;
  14195. + esac
  14196. + fi
  14197. + else
  14198. + ld_shlibs=no
  14199. + fi
  14200. + ;;
  14201. +
  14202. + os2*)
  14203. + hardcode_libdir_flag_spec='-L$libdir'
  14204. + hardcode_minus_L=yes
  14205. + allow_undefined_flag=unsupported
  14206. + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  14207. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  14208. + ;;
  14209. +
  14210. + osf3*)
  14211. + if test "$GCC" = yes; then
  14212. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  14213. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  14214. + else
  14215. + allow_undefined_flag=' -expect_unresolved \*'
  14216. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  14217. + fi
  14218. + archive_cmds_need_lc='no'
  14219. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  14220. + hardcode_libdir_separator=:
  14221. + ;;
  14222. +
  14223. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  14224. + if test "$GCC" = yes; then
  14225. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  14226. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  14227. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  14228. + else
  14229. + allow_undefined_flag=' -expect_unresolved \*'
  14230. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  14231. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  14232. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  14233. +
  14234. + # Both c and cxx compiler support -rpath directly
  14235. + hardcode_libdir_flag_spec='-rpath $libdir'
  14236. + fi
  14237. + archive_cmds_need_lc='no'
  14238. + hardcode_libdir_separator=:
  14239. + ;;
  14240. +
  14241. + solaris*)
  14242. + no_undefined_flag=' -z defs'
  14243. + if test "$GCC" = yes; then
  14244. + wlarc='${wl}'
  14245. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  14246. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  14247. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  14248. + else
  14249. + case `$CC -V 2>&1` in
  14250. + *"Compilers 5.0"*)
  14251. + wlarc=''
  14252. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14253. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  14254. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  14255. + ;;
  14256. + *)
  14257. + wlarc='${wl}'
  14258. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  14259. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  14260. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  14261. + ;;
  14262. + esac
  14263. + fi
  14264. + hardcode_libdir_flag_spec='-R$libdir'
  14265. + hardcode_shlibpath_var=no
  14266. + case $host_os in
  14267. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  14268. + *)
  14269. + # The compiler driver will combine and reorder linker options,
  14270. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  14271. + # but is careful enough not to reorder.
  14272. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  14273. + if test "$GCC" = yes; then
  14274. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  14275. + else
  14276. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  14277. + fi
  14278. + ;;
  14279. + esac
  14280. + link_all_deplibs=yes
  14281. + ;;
  14282. +
  14283. + sunos4*)
  14284. + if test "x$host_vendor" = xsequent; then
  14285. + # Use $CC to link under sequent, because it throws in some extra .o
  14286. + # files that make .init and .fini sections work.
  14287. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  14288. + else
  14289. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  14290. + fi
  14291. + hardcode_libdir_flag_spec='-L$libdir'
  14292. + hardcode_direct=yes
  14293. + hardcode_minus_L=yes
  14294. + hardcode_shlibpath_var=no
  14295. + ;;
  14296. +
  14297. + sysv4)
  14298. + case $host_vendor in
  14299. + sni)
  14300. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14301. + hardcode_direct=yes # is this really true???
  14302. + ;;
  14303. + siemens)
  14304. + ## LD is ld it makes a PLAMLIB
  14305. + ## CC just makes a GrossModule.
  14306. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  14307. + reload_cmds='$CC -r -o $output$reload_objs'
  14308. + hardcode_direct=no
  14309. + ;;
  14310. + motorola)
  14311. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14312. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  14313. + ;;
  14314. + esac
  14315. + runpath_var='LD_RUN_PATH'
  14316. + hardcode_shlibpath_var=no
  14317. + ;;
  14318. +
  14319. + sysv4.3*)
  14320. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14321. + hardcode_shlibpath_var=no
  14322. + export_dynamic_flag_spec='-Bexport'
  14323. + ;;
  14324. +
  14325. + sysv4*MP*)
  14326. + if test -d /usr/nec; then
  14327. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14328. + hardcode_shlibpath_var=no
  14329. + runpath_var=LD_RUN_PATH
  14330. + hardcode_runpath_var=yes
  14331. + ld_shlibs=yes
  14332. + fi
  14333. + ;;
  14334. +
  14335. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  14336. + no_undefined_flag='${wl}-z,text'
  14337. + archive_cmds_need_lc=no
  14338. + hardcode_shlibpath_var=no
  14339. + runpath_var='LD_RUN_PATH'
  14340. +
  14341. + if test "$GCC" = yes; then
  14342. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14343. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14344. + else
  14345. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14346. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14347. + fi
  14348. + ;;
  14349. +
  14350. + sysv5* | sco3.2v5* | sco5v6*)
  14351. + # Note: We can NOT use -z defs as we might desire, because we do not
  14352. + # link with -lc, and that would cause any symbols used from libc to
  14353. + # always be unresolved, which means just about no library would
  14354. + # ever link correctly. If we're not using GNU ld we use -z text
  14355. + # though, which does catch some bad symbols but isn't as heavy-handed
  14356. + # as -z defs.
  14357. + no_undefined_flag='${wl}-z,text'
  14358. + allow_undefined_flag='${wl}-z,nodefs'
  14359. + archive_cmds_need_lc=no
  14360. + hardcode_shlibpath_var=no
  14361. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  14362. + hardcode_libdir_separator=':'
  14363. + link_all_deplibs=yes
  14364. + export_dynamic_flag_spec='${wl}-Bexport'
  14365. + runpath_var='LD_RUN_PATH'
  14366. +
  14367. + if test "$GCC" = yes; then
  14368. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14369. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14370. + else
  14371. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14372. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  14373. + fi
  14374. + ;;
  14375. +
  14376. + uts4*)
  14377. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  14378. + hardcode_libdir_flag_spec='-L$libdir'
  14379. + hardcode_shlibpath_var=no
  14380. + ;;
  14381. +
  14382. + *)
  14383. + ld_shlibs=no
  14384. + ;;
  14385. + esac
  14386. +
  14387. + if test x$host_vendor = xsni; then
  14388. + case $host in
  14389. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  14390. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  14391. + ;;
  14392. + esac
  14393. + fi
  14394. + fi
  14395. +
  14396. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  14397. +$as_echo "$ld_shlibs" >&6; }
  14398. +test "$ld_shlibs" = no && can_build_shared=no
  14399. +
  14400. +with_gnu_ld=$with_gnu_ld
  14401. +
  14402. +
  14403. +
  14404. +
  14405. +
  14406. +
  14407. +
  14408. +
  14409. +
  14410. +
  14411. +
  14412. +
  14413. +
  14414. +
  14415. +
  14416. +#
  14417. +# Do we need to explicitly link libc?
  14418. +#
  14419. +case "x$archive_cmds_need_lc" in
  14420. +x|xyes)
  14421. + # Assume -lc should be added
  14422. + archive_cmds_need_lc=yes
  14423. +
  14424. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  14425. + case $archive_cmds in
  14426. + *'~'*)
  14427. + # FIXME: we may have to deal with multi-command sequences.
  14428. + ;;
  14429. + '$CC '*)
  14430. + # Test whether the compiler implicitly links with -lc since on some
  14431. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  14432. + # to ld, don't add -lc before -lgcc.
  14433. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  14434. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  14435. +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  14436. + $as_echo_n "(cached) " >&6
  14437. +else
  14438. + $RM conftest*
  14439. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  14440. +
  14441. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14442. + (eval $ac_compile) 2>&5
  14443. + ac_status=$?
  14444. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14445. + test $ac_status = 0; } 2>conftest.err; then
  14446. + soname=conftest
  14447. + lib=conftest
  14448. + libobjs=conftest.$ac_objext
  14449. + deplibs=
  14450. + wl=$lt_prog_compiler_wl
  14451. + pic_flag=$lt_prog_compiler_pic
  14452. + compiler_flags=-v
  14453. + linker_flags=-v
  14454. + verstring=
  14455. + output_objdir=.
  14456. + libname=conftest
  14457. + lt_save_allow_undefined_flag=$allow_undefined_flag
  14458. + allow_undefined_flag=
  14459. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  14460. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  14461. + ac_status=$?
  14462. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14463. + test $ac_status = 0; }
  14464. + then
  14465. + lt_cv_archive_cmds_need_lc=no
  14466. + else
  14467. + lt_cv_archive_cmds_need_lc=yes
  14468. + fi
  14469. + allow_undefined_flag=$lt_save_allow_undefined_flag
  14470. + else
  14471. + cat conftest.err 1>&5
  14472. + fi
  14473. + $RM conftest*
  14474. +
  14475. +fi
  14476. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  14477. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  14478. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  14479. + ;;
  14480. + esac
  14481. + fi
  14482. + ;;
  14483. +esac
  14484. +
  14485. +
  14486. +
  14487. +
  14488. +
  14489. +
  14490. +
  14491. +
  14492. +
  14493. +
  14494. +
  14495. +
  14496. +
  14497. +
  14498. +
  14499. +
  14500. +
  14501. +
  14502. +
  14503. +
  14504. +
  14505. +
  14506. +
  14507. +
  14508. +
  14509. +
  14510. +
  14511. +
  14512. +
  14513. +
  14514. +
  14515. +
  14516. +
  14517. +
  14518. +
  14519. +
  14520. +
  14521. +
  14522. +
  14523. +
  14524. +
  14525. +
  14526. +
  14527. +
  14528. +
  14529. +
  14530. +
  14531. +
  14532. +
  14533. +
  14534. +
  14535. +
  14536. +
  14537. +
  14538. +
  14539. +
  14540. +
  14541. +
  14542. +
  14543. +
  14544. +
  14545. +
  14546. +
  14547. +
  14548. +
  14549. +
  14550. +
  14551. +
  14552. +
  14553. +
  14554. +
  14555. +
  14556. +
  14557. +
  14558. +
  14559. +
  14560. +
  14561. +
  14562. +
  14563. +
  14564. +
  14565. +
  14566. +
  14567. +
  14568. +
  14569. +
  14570. +
  14571. +
  14572. +
  14573. +
  14574. +
  14575. +
  14576. +
  14577. +
  14578. +
  14579. +
  14580. +
  14581. +
  14582. +
  14583. +
  14584. +
  14585. +
  14586. +
  14587. +
  14588. +
  14589. +
  14590. +
  14591. +
  14592. +
  14593. +
  14594. +
  14595. +
  14596. +
  14597. +
  14598. +
  14599. +
  14600. +
  14601. +
  14602. +
  14603. +
  14604. +
  14605. +
  14606. +
  14607. +
  14608. +
  14609. +
  14610. +
  14611. +
  14612. +
  14613. +
  14614. +
  14615. +
  14616. +
  14617. +
  14618. +
  14619. +
  14620. +
  14621. +
  14622. +
  14623. +
  14624. +
  14625. +
  14626. +
  14627. +
  14628. +
  14629. +
  14630. +
  14631. +
  14632. +
  14633. +
  14634. +
  14635. +
  14636. +
  14637. +
  14638. +
  14639. +
  14640. +
  14641. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  14642. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  14643. +
  14644. +if test "$GCC" = yes; then
  14645. + case $host_os in
  14646. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  14647. + *) lt_awk_arg="/^libraries:/" ;;
  14648. + esac
  14649. + case $host_os in
  14650. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  14651. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  14652. + esac
  14653. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  14654. + case $lt_search_path_spec in
  14655. + *\;*)
  14656. + # if the path contains ";" then we assume it to be the separator
  14657. + # otherwise default to the standard path separator (i.e. ":") - it is
  14658. + # assumed that no part of a normal pathname contains ";" but that should
  14659. + # okay in the real world where ";" in dirpaths is itself problematic.
  14660. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  14661. + ;;
  14662. + *)
  14663. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  14664. + ;;
  14665. + esac
  14666. + # Ok, now we have the path, separated by spaces, we can step through it
  14667. + # and add multilib dir if necessary.
  14668. + lt_tmp_lt_search_path_spec=
  14669. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  14670. + for lt_sys_path in $lt_search_path_spec; do
  14671. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  14672. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  14673. + else
  14674. + test -d "$lt_sys_path" && \
  14675. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  14676. + fi
  14677. + done
  14678. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  14679. +BEGIN {RS=" "; FS="/|\n";} {
  14680. + lt_foo="";
  14681. + lt_count=0;
  14682. + for (lt_i = NF; lt_i > 0; lt_i--) {
  14683. + if ($lt_i != "" && $lt_i != ".") {
  14684. + if ($lt_i == "..") {
  14685. + lt_count++;
  14686. + } else {
  14687. + if (lt_count == 0) {
  14688. + lt_foo="/" $lt_i lt_foo;
  14689. + } else {
  14690. + lt_count--;
  14691. + }
  14692. + }
  14693. + }
  14694. + }
  14695. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  14696. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  14697. +}'`
  14698. + # AWK program above erroneously prepends '/' to C:/dos/paths
  14699. + # for these hosts.
  14700. + case $host_os in
  14701. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  14702. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  14703. + esac
  14704. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  14705. +else
  14706. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  14707. +fi
  14708. +library_names_spec=
  14709. +libname_spec='lib$name'
  14710. +soname_spec=
  14711. +shrext_cmds=".so"
  14712. +postinstall_cmds=
  14713. +postuninstall_cmds=
  14714. +finish_cmds=
  14715. +finish_eval=
  14716. +shlibpath_var=
  14717. +shlibpath_overrides_runpath=unknown
  14718. +version_type=none
  14719. +dynamic_linker="$host_os ld.so"
  14720. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  14721. +need_lib_prefix=unknown
  14722. +hardcode_into_libs=no
  14723. +
  14724. +# when you set need_version to no, make sure it does not cause -set_version
  14725. +# flags to be left without arguments
  14726. +need_version=unknown
  14727. +
  14728. +case $host_os in
  14729. +aix3*)
  14730. + version_type=linux
  14731. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  14732. + shlibpath_var=LIBPATH
  14733. +
  14734. + # AIX 3 has no versioning support, so we append a major version to the name.
  14735. + soname_spec='${libname}${release}${shared_ext}$major'
  14736. + ;;
  14737. +
  14738. +aix[4-9]*)
  14739. + version_type=linux
  14740. + need_lib_prefix=no
  14741. + need_version=no
  14742. + hardcode_into_libs=yes
  14743. + if test "$host_cpu" = ia64; then
  14744. + # AIX 5 supports IA64
  14745. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  14746. + shlibpath_var=LD_LIBRARY_PATH
  14747. + else
  14748. + # With GCC up to 2.95.x, collect2 would create an import file
  14749. + # for dependence libraries. The import file would start with
  14750. + # the line `#! .'. This would cause the generated library to
  14751. + # depend on `.', always an invalid library. This was fixed in
  14752. + # development snapshots of GCC prior to 3.0.
  14753. + case $host_os in
  14754. + aix4 | aix4.[01] | aix4.[01].*)
  14755. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  14756. + echo ' yes '
  14757. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  14758. + :
  14759. + else
  14760. + can_build_shared=no
  14761. + fi
  14762. + ;;
  14763. + esac
  14764. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  14765. + # soname into executable. Probably we can add versioning support to
  14766. + # collect2, so additional links can be useful in future.
  14767. + if test "$aix_use_runtimelinking" = yes; then
  14768. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  14769. + # instead of lib<name>.a to let people know that these are not
  14770. + # typical AIX shared libraries.
  14771. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  14772. + else
  14773. + # We preserve .a as extension for shared libraries through AIX4.2
  14774. + # and later when we are not doing run time linking.
  14775. + library_names_spec='${libname}${release}.a $libname.a'
  14776. + soname_spec='${libname}${release}${shared_ext}$major'
  14777. + fi
  14778. + shlibpath_var=LIBPATH
  14779. + fi
  14780. + ;;
  14781. +
  14782. +amigaos*)
  14783. + case $host_cpu in
  14784. + powerpc)
  14785. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  14786. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  14787. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  14788. + ;;
  14789. + m68k)
  14790. + library_names_spec='$libname.ixlibrary $libname.a'
  14791. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  14792. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  14793. + ;;
  14794. + esac
  14795. + ;;
  14796. +
  14797. +beos*)
  14798. + library_names_spec='${libname}${shared_ext}'
  14799. + dynamic_linker="$host_os ld.so"
  14800. + shlibpath_var=LIBRARY_PATH
  14801. + ;;
  14802. +
  14803. +bsdi[45]*)
  14804. + version_type=linux
  14805. + need_version=no
  14806. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  14807. + soname_spec='${libname}${release}${shared_ext}$major'
  14808. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  14809. + shlibpath_var=LD_LIBRARY_PATH
  14810. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  14811. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  14812. + # the default ld.so.conf also contains /usr/contrib/lib and
  14813. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  14814. + # libtool to hard-code these into programs
  14815. + ;;
  14816. +
  14817. +cygwin* | mingw* | pw32* | cegcc*)
  14818. + version_type=windows
  14819. + shrext_cmds=".dll"
  14820. + need_version=no
  14821. + need_lib_prefix=no
  14822. +
  14823. + case $GCC,$host_os in
  14824. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  14825. + library_names_spec='$libname.dll.a'
  14826. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  14827. + postinstall_cmds='base_file=`basename \${file}`~
  14828. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  14829. + dldir=$destdir/`dirname \$dlpath`~
  14830. + test -d \$dldir || mkdir -p \$dldir~
  14831. + $install_prog $dir/$dlname \$dldir/$dlname~
  14832. + chmod a+x \$dldir/$dlname~
  14833. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  14834. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  14835. + fi'
  14836. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  14837. + dlpath=$dir/\$dldll~
  14838. + $RM \$dlpath'
  14839. + shlibpath_overrides_runpath=yes
  14840. +
  14841. + case $host_os in
  14842. + cygwin*)
  14843. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  14844. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  14845. +
  14846. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  14847. + ;;
  14848. + mingw* | cegcc*)
  14849. + # MinGW DLLs use traditional 'lib' prefix
  14850. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  14851. + ;;
  14852. + pw32*)
  14853. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  14854. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  14855. + ;;
  14856. + esac
  14857. + ;;
  14858. +
  14859. + *)
  14860. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  14861. + ;;
  14862. + esac
  14863. + dynamic_linker='Win32 ld.exe'
  14864. + # FIXME: first we should search . and the directory the executable is in
  14865. + shlibpath_var=PATH
  14866. + ;;
  14867. +
  14868. +darwin* | rhapsody*)
  14869. + dynamic_linker="$host_os dyld"
  14870. + version_type=darwin
  14871. + need_lib_prefix=no
  14872. + need_version=no
  14873. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  14874. + soname_spec='${libname}${release}${major}$shared_ext'
  14875. + shlibpath_overrides_runpath=yes
  14876. + shlibpath_var=DYLD_LIBRARY_PATH
  14877. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  14878. +
  14879. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  14880. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  14881. + ;;
  14882. +
  14883. +dgux*)
  14884. + version_type=linux
  14885. + need_lib_prefix=no
  14886. + need_version=no
  14887. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  14888. + soname_spec='${libname}${release}${shared_ext}$major'
  14889. + shlibpath_var=LD_LIBRARY_PATH
  14890. + ;;
  14891. +
  14892. +freebsd1*)
  14893. + dynamic_linker=no
  14894. + ;;
  14895. +
  14896. +freebsd* | dragonfly*)
  14897. + # DragonFly does not have aout. When/if they implement a new
  14898. + # versioning mechanism, adjust this.
  14899. + if test -x /usr/bin/objformat; then
  14900. + objformat=`/usr/bin/objformat`
  14901. + else
  14902. + case $host_os in
  14903. + freebsd[123]*) objformat=aout ;;
  14904. + *) objformat=elf ;;
  14905. + esac
  14906. + fi
  14907. + version_type=freebsd-$objformat
  14908. + case $version_type in
  14909. + freebsd-elf*)
  14910. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  14911. + need_version=no
  14912. + need_lib_prefix=no
  14913. + ;;
  14914. + freebsd-*)
  14915. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  14916. + need_version=yes
  14917. + ;;
  14918. + esac
  14919. + shlibpath_var=LD_LIBRARY_PATH
  14920. + case $host_os in
  14921. + freebsd2*)
  14922. + shlibpath_overrides_runpath=yes
  14923. + ;;
  14924. + freebsd3.[01]* | freebsdelf3.[01]*)
  14925. + shlibpath_overrides_runpath=yes
  14926. + hardcode_into_libs=yes
  14927. + ;;
  14928. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  14929. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  14930. + shlibpath_overrides_runpath=no
  14931. + hardcode_into_libs=yes
  14932. + ;;
  14933. + *) # from 4.6 on, and DragonFly
  14934. + shlibpath_overrides_runpath=yes
  14935. + hardcode_into_libs=yes
  14936. + ;;
  14937. + esac
  14938. + ;;
  14939. +
  14940. +gnu*)
  14941. + version_type=linux
  14942. + need_lib_prefix=no
  14943. + need_version=no
  14944. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  14945. + soname_spec='${libname}${release}${shared_ext}$major'
  14946. + shlibpath_var=LD_LIBRARY_PATH
  14947. + hardcode_into_libs=yes
  14948. + ;;
  14949. +
  14950. +haiku*)
  14951. + version_type=linux
  14952. + need_lib_prefix=no
  14953. + need_version=no
  14954. + dynamic_linker="$host_os runtime_loader"
  14955. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  14956. + soname_spec='${libname}${release}${shared_ext}$major'
  14957. + shlibpath_var=LIBRARY_PATH
  14958. + shlibpath_overrides_runpath=yes
  14959. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  14960. + hardcode_into_libs=yes
  14961. + ;;
  14962. +
  14963. +hpux9* | hpux10* | hpux11*)
  14964. + # Give a soname corresponding to the major version so that dld.sl refuses to
  14965. + # link against other versions.
  14966. + version_type=sunos
  14967. + need_lib_prefix=no
  14968. + need_version=no
  14969. + case $host_cpu in
  14970. + ia64*)
  14971. + shrext_cmds='.so'
  14972. + hardcode_into_libs=yes
  14973. + dynamic_linker="$host_os dld.so"
  14974. + shlibpath_var=LD_LIBRARY_PATH
  14975. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  14976. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  14977. + soname_spec='${libname}${release}${shared_ext}$major'
  14978. + if test "X$HPUX_IA64_MODE" = X32; then
  14979. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  14980. + else
  14981. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  14982. + fi
  14983. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  14984. + ;;
  14985. + hppa*64*)
  14986. + shrext_cmds='.sl'
  14987. + hardcode_into_libs=yes
  14988. + dynamic_linker="$host_os dld.sl"
  14989. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  14990. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  14991. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  14992. + soname_spec='${libname}${release}${shared_ext}$major'
  14993. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  14994. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  14995. + ;;
  14996. + *)
  14997. + shrext_cmds='.sl'
  14998. + dynamic_linker="$host_os dld.sl"
  14999. + shlibpath_var=SHLIB_PATH
  15000. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  15001. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15002. + soname_spec='${libname}${release}${shared_ext}$major'
  15003. + ;;
  15004. + esac
  15005. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  15006. + postinstall_cmds='chmod 555 $lib'
  15007. + # or fails outright, so override atomically:
  15008. + install_override_mode=555
  15009. + ;;
  15010. +
  15011. +interix[3-9]*)
  15012. + version_type=linux
  15013. + need_lib_prefix=no
  15014. + need_version=no
  15015. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  15016. + soname_spec='${libname}${release}${shared_ext}$major'
  15017. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  15018. + shlibpath_var=LD_LIBRARY_PATH
  15019. + shlibpath_overrides_runpath=no
  15020. + hardcode_into_libs=yes
  15021. + ;;
  15022. +
  15023. +irix5* | irix6* | nonstopux*)
  15024. + case $host_os in
  15025. + nonstopux*) version_type=nonstopux ;;
  15026. + *)
  15027. + if test "$lt_cv_prog_gnu_ld" = yes; then
  15028. + version_type=linux
  15029. + else
  15030. + version_type=irix
  15031. + fi ;;
  15032. + esac
  15033. + need_lib_prefix=no
  15034. + need_version=no
  15035. + soname_spec='${libname}${release}${shared_ext}$major'
  15036. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  15037. + case $host_os in
  15038. + irix5* | nonstopux*)
  15039. + libsuff= shlibsuff=
  15040. + ;;
  15041. + *)
  15042. + case $LD in # libtool.m4 will add one of these switches to LD
  15043. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  15044. + libsuff= shlibsuff= libmagic=32-bit;;
  15045. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  15046. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  15047. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  15048. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  15049. + *) libsuff= shlibsuff= libmagic=never-match;;
  15050. + esac
  15051. + ;;
  15052. + esac
  15053. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  15054. + shlibpath_overrides_runpath=no
  15055. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  15056. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  15057. + hardcode_into_libs=yes
  15058. + ;;
  15059. +
  15060. +# No shared lib support for Linux oldld, aout, or coff.
  15061. +linux*oldld* | linux*aout* | linux*coff*)
  15062. + dynamic_linker=no
  15063. + ;;
  15064. +
  15065. +# This must be Linux ELF.
  15066. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  15067. + version_type=linux
  15068. + need_lib_prefix=no
  15069. + need_version=no
  15070. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15071. + soname_spec='${libname}${release}${shared_ext}$major'
  15072. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  15073. + shlibpath_var=LD_LIBRARY_PATH
  15074. + shlibpath_overrides_runpath=no
  15075. +
  15076. + # Some binutils ld are patched to set DT_RUNPATH
  15077. + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  15078. + $as_echo_n "(cached) " >&6
  15079. +else
  15080. + lt_cv_shlibpath_overrides_runpath=no
  15081. + save_LDFLAGS=$LDFLAGS
  15082. + save_libdir=$libdir
  15083. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  15084. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  15085. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15086. +/* end confdefs.h. */
  15087. +
  15088. +int
  15089. +main ()
  15090. +{
  15091. +
  15092. + ;
  15093. + return 0;
  15094. +}
  15095. +_ACEOF
  15096. +if ac_fn_c_try_link "$LINENO"; then :
  15097. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  15098. + lt_cv_shlibpath_overrides_runpath=yes
  15099. +fi
  15100. +fi
  15101. +rm -f core conftest.err conftest.$ac_objext \
  15102. + conftest$ac_exeext conftest.$ac_ext
  15103. + LDFLAGS=$save_LDFLAGS
  15104. + libdir=$save_libdir
  15105. +
  15106. +fi
  15107. +
  15108. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  15109. +
  15110. + # This implies no fast_install, which is unacceptable.
  15111. + # Some rework will be needed to allow for fast_install
  15112. + # before this can be enabled.
  15113. + hardcode_into_libs=yes
  15114. +
  15115. + # Append ld.so.conf contents to the search path
  15116. + if test -f /etc/ld.so.conf; then
  15117. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  15118. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  15119. + fi
  15120. +
  15121. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  15122. + # powerpc, because MkLinux only supported shared libraries with the
  15123. + # GNU dynamic linker. Since this was broken with cross compilers,
  15124. + # most powerpc-linux boxes support dynamic linking these days and
  15125. + # people can always --disable-shared, the test was removed, and we
  15126. + # assume the GNU/Linux dynamic linker is in use.
  15127. + dynamic_linker='GNU/Linux ld.so'
  15128. + ;;
  15129. +
  15130. +netbsd*)
  15131. + version_type=sunos
  15132. + need_lib_prefix=no
  15133. + need_version=no
  15134. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  15135. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  15136. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  15137. + dynamic_linker='NetBSD (a.out) ld.so'
  15138. + else
  15139. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  15140. + soname_spec='${libname}${release}${shared_ext}$major'
  15141. + dynamic_linker='NetBSD ld.elf_so'
  15142. + fi
  15143. + shlibpath_var=LD_LIBRARY_PATH
  15144. + shlibpath_overrides_runpath=yes
  15145. + hardcode_into_libs=yes
  15146. + ;;
  15147. +
  15148. +newsos6)
  15149. + version_type=linux
  15150. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15151. + shlibpath_var=LD_LIBRARY_PATH
  15152. + shlibpath_overrides_runpath=yes
  15153. + ;;
  15154. +
  15155. +*nto* | *qnx*)
  15156. + version_type=qnx
  15157. + need_lib_prefix=no
  15158. + need_version=no
  15159. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15160. + soname_spec='${libname}${release}${shared_ext}$major'
  15161. + shlibpath_var=LD_LIBRARY_PATH
  15162. + shlibpath_overrides_runpath=no
  15163. + hardcode_into_libs=yes
  15164. + dynamic_linker='ldqnx.so'
  15165. + ;;
  15166. +
  15167. +openbsd*)
  15168. + version_type=sunos
  15169. + sys_lib_dlsearch_path_spec="/usr/lib"
  15170. + need_lib_prefix=no
  15171. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  15172. + case $host_os in
  15173. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  15174. + *) need_version=no ;;
  15175. + esac
  15176. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  15177. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  15178. + shlibpath_var=LD_LIBRARY_PATH
  15179. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  15180. + case $host_os in
  15181. + openbsd2.[89] | openbsd2.[89].*)
  15182. + shlibpath_overrides_runpath=no
  15183. + ;;
  15184. + *)
  15185. + shlibpath_overrides_runpath=yes
  15186. + ;;
  15187. + esac
  15188. + else
  15189. + shlibpath_overrides_runpath=yes
  15190. + fi
  15191. + ;;
  15192. +
  15193. +os2*)
  15194. + libname_spec='$name'
  15195. + shrext_cmds=".dll"
  15196. + need_lib_prefix=no
  15197. + library_names_spec='$libname${shared_ext} $libname.a'
  15198. + dynamic_linker='OS/2 ld.exe'
  15199. + shlibpath_var=LIBPATH
  15200. + ;;
  15201. +
  15202. +osf3* | osf4* | osf5*)
  15203. + version_type=osf
  15204. + need_lib_prefix=no
  15205. + need_version=no
  15206. + soname_spec='${libname}${release}${shared_ext}$major'
  15207. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15208. + shlibpath_var=LD_LIBRARY_PATH
  15209. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  15210. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  15211. + ;;
  15212. +
  15213. +rdos*)
  15214. + dynamic_linker=no
  15215. + ;;
  15216. +
  15217. +solaris*)
  15218. + version_type=linux
  15219. + need_lib_prefix=no
  15220. + need_version=no
  15221. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15222. + soname_spec='${libname}${release}${shared_ext}$major'
  15223. + shlibpath_var=LD_LIBRARY_PATH
  15224. + shlibpath_overrides_runpath=yes
  15225. + hardcode_into_libs=yes
  15226. + # ldd complains unless libraries are executable
  15227. + postinstall_cmds='chmod +x $lib'
  15228. + ;;
  15229. +
  15230. +sunos4*)
  15231. + version_type=sunos
  15232. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  15233. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  15234. + shlibpath_var=LD_LIBRARY_PATH
  15235. + shlibpath_overrides_runpath=yes
  15236. + if test "$with_gnu_ld" = yes; then
  15237. + need_lib_prefix=no
  15238. + fi
  15239. + need_version=yes
  15240. + ;;
  15241. +
  15242. +sysv4 | sysv4.3*)
  15243. + version_type=linux
  15244. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15245. + soname_spec='${libname}${release}${shared_ext}$major'
  15246. + shlibpath_var=LD_LIBRARY_PATH
  15247. + case $host_vendor in
  15248. + sni)
  15249. + shlibpath_overrides_runpath=no
  15250. + need_lib_prefix=no
  15251. + runpath_var=LD_RUN_PATH
  15252. + ;;
  15253. + siemens)
  15254. + need_lib_prefix=no
  15255. + ;;
  15256. + motorola)
  15257. + need_lib_prefix=no
  15258. + need_version=no
  15259. + shlibpath_overrides_runpath=no
  15260. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  15261. + ;;
  15262. + esac
  15263. + ;;
  15264. +
  15265. +sysv4*MP*)
  15266. + if test -d /usr/nec ;then
  15267. + version_type=linux
  15268. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  15269. + soname_spec='$libname${shared_ext}.$major'
  15270. + shlibpath_var=LD_LIBRARY_PATH
  15271. + fi
  15272. + ;;
  15273. +
  15274. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  15275. + version_type=freebsd-elf
  15276. + need_lib_prefix=no
  15277. + need_version=no
  15278. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  15279. + soname_spec='${libname}${release}${shared_ext}$major'
  15280. + shlibpath_var=LD_LIBRARY_PATH
  15281. + shlibpath_overrides_runpath=yes
  15282. + hardcode_into_libs=yes
  15283. + if test "$with_gnu_ld" = yes; then
  15284. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  15285. + else
  15286. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  15287. + case $host_os in
  15288. + sco3.2v5*)
  15289. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  15290. + ;;
  15291. + esac
  15292. + fi
  15293. + sys_lib_dlsearch_path_spec='/usr/lib'
  15294. + ;;
  15295. +
  15296. +tpf*)
  15297. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  15298. + version_type=linux
  15299. + need_lib_prefix=no
  15300. + need_version=no
  15301. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15302. + shlibpath_var=LD_LIBRARY_PATH
  15303. + shlibpath_overrides_runpath=no
  15304. + hardcode_into_libs=yes
  15305. + ;;
  15306. +
  15307. +uts4*)
  15308. + version_type=linux
  15309. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  15310. + soname_spec='${libname}${release}${shared_ext}$major'
  15311. + shlibpath_var=LD_LIBRARY_PATH
  15312. + ;;
  15313. +
  15314. +*)
  15315. + dynamic_linker=no
  15316. + ;;
  15317. +esac
  15318. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  15319. +$as_echo "$dynamic_linker" >&6; }
  15320. +test "$dynamic_linker" = no && can_build_shared=no
  15321. +
  15322. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  15323. +if test "$GCC" = yes; then
  15324. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  15325. +fi
  15326. +
  15327. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  15328. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  15329. +fi
  15330. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  15331. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  15332. +fi
  15333. +
  15334. +
  15335. +
  15336. +
  15337. +
  15338. +
  15339. +
  15340. +
  15341. +
  15342. +
  15343. +
  15344. +
  15345. +
  15346. +
  15347. +
  15348. +
  15349. +
  15350. +
  15351. +
  15352. +
  15353. +
  15354. +
  15355. +
  15356. +
  15357. +
  15358. +
  15359. +
  15360. +
  15361. +
  15362. +
  15363. +
  15364. +
  15365. +
  15366. +
  15367. +
  15368. +
  15369. +
  15370. +
  15371. +
  15372. +
  15373. +
  15374. +
  15375. +
  15376. +
  15377. +
  15378. +
  15379. +
  15380. +
  15381. +
  15382. +
  15383. +
  15384. +
  15385. +
  15386. +
  15387. +
  15388. +
  15389. +
  15390. +
  15391. +
  15392. +
  15393. +
  15394. +
  15395. +
  15396. +
  15397. +
  15398. +
  15399. +
  15400. +
  15401. +
  15402. +
  15403. +
  15404. +
  15405. +
  15406. +
  15407. +
  15408. +
  15409. +
  15410. +
  15411. +
  15412. +
  15413. +
  15414. +
  15415. +
  15416. +
  15417. +
  15418. +
  15419. +
  15420. +
  15421. +
  15422. +
  15423. +
  15424. +
  15425. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  15426. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  15427. +hardcode_action=
  15428. +if test -n "$hardcode_libdir_flag_spec" ||
  15429. + test -n "$runpath_var" ||
  15430. + test "X$hardcode_automatic" = "Xyes" ; then
  15431. +
  15432. + # We can hardcode non-existent directories.
  15433. + if test "$hardcode_direct" != no &&
  15434. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  15435. + # have to relink, otherwise we might link with an installed library
  15436. + # when we should be linking with a yet-to-be-installed one
  15437. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  15438. + test "$hardcode_minus_L" != no; then
  15439. + # Linking always hardcodes the temporary library directory.
  15440. + hardcode_action=relink
  15441. + else
  15442. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  15443. + hardcode_action=immediate
  15444. + fi
  15445. +else
  15446. + # We cannot hardcode anything, or else we can only hardcode existing
  15447. + # directories.
  15448. + hardcode_action=unsupported
  15449. +fi
  15450. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  15451. +$as_echo "$hardcode_action" >&6; }
  15452. +
  15453. +if test "$hardcode_action" = relink ||
  15454. + test "$inherit_rpath" = yes; then
  15455. + # Fast installation is not supported
  15456. + enable_fast_install=no
  15457. +elif test "$shlibpath_overrides_runpath" = yes ||
  15458. + test "$enable_shared" = no; then
  15459. + # Fast installation is not necessary
  15460. + enable_fast_install=needless
  15461. +fi
  15462. +
  15463. +
  15464. +
  15465. +
  15466. +
  15467. +
  15468. + if test "x$enable_dlopen" != xyes; then
  15469. + enable_dlopen=unknown
  15470. + enable_dlopen_self=unknown
  15471. + enable_dlopen_self_static=unknown
  15472. +else
  15473. + lt_cv_dlopen=no
  15474. + lt_cv_dlopen_libs=
  15475. +
  15476. + case $host_os in
  15477. + beos*)
  15478. + lt_cv_dlopen="load_add_on"
  15479. + lt_cv_dlopen_libs=
  15480. + lt_cv_dlopen_self=yes
  15481. + ;;
  15482. +
  15483. + mingw* | pw32* | cegcc*)
  15484. + lt_cv_dlopen="LoadLibrary"
  15485. + lt_cv_dlopen_libs=
  15486. + ;;
  15487. +
  15488. + cygwin*)
  15489. + lt_cv_dlopen="dlopen"
  15490. + lt_cv_dlopen_libs=
  15491. + ;;
  15492. +
  15493. + darwin*)
  15494. + # if libdl is installed we need to link against it
  15495. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  15496. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  15497. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  15498. + $as_echo_n "(cached) " >&6
  15499. +else
  15500. + ac_check_lib_save_LIBS=$LIBS
  15501. +LIBS="-ldl $LIBS"
  15502. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15503. +/* end confdefs.h. */
  15504. +
  15505. +/* Override any GCC internal prototype to avoid an error.
  15506. + Use char because int might match the return type of a GCC
  15507. + builtin and then its argument prototype would still apply. */
  15508. +#ifdef __cplusplus
  15509. +extern "C"
  15510. +#endif
  15511. +char dlopen ();
  15512. +int
  15513. +main ()
  15514. +{
  15515. +return dlopen ();
  15516. + ;
  15517. + return 0;
  15518. +}
  15519. +_ACEOF
  15520. +if ac_fn_c_try_link "$LINENO"; then :
  15521. + ac_cv_lib_dl_dlopen=yes
  15522. +else
  15523. + ac_cv_lib_dl_dlopen=no
  15524. +fi
  15525. +rm -f core conftest.err conftest.$ac_objext \
  15526. + conftest$ac_exeext conftest.$ac_ext
  15527. +LIBS=$ac_check_lib_save_LIBS
  15528. +fi
  15529. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  15530. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  15531. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  15532. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  15533. +else
  15534. +
  15535. + lt_cv_dlopen="dyld"
  15536. + lt_cv_dlopen_libs=
  15537. + lt_cv_dlopen_self=yes
  15538. +
  15539. +fi
  15540. +
  15541. + ;;
  15542. +
  15543. + *)
  15544. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  15545. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  15546. + lt_cv_dlopen="shl_load"
  15547. +else
  15548. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  15549. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  15550. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  15551. + $as_echo_n "(cached) " >&6
  15552. +else
  15553. + ac_check_lib_save_LIBS=$LIBS
  15554. +LIBS="-ldld $LIBS"
  15555. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15556. +/* end confdefs.h. */
  15557. +
  15558. +/* Override any GCC internal prototype to avoid an error.
  15559. + Use char because int might match the return type of a GCC
  15560. + builtin and then its argument prototype would still apply. */
  15561. +#ifdef __cplusplus
  15562. +extern "C"
  15563. +#endif
  15564. +char shl_load ();
  15565. +int
  15566. +main ()
  15567. +{
  15568. +return shl_load ();
  15569. + ;
  15570. + return 0;
  15571. +}
  15572. +_ACEOF
  15573. +if ac_fn_c_try_link "$LINENO"; then :
  15574. + ac_cv_lib_dld_shl_load=yes
  15575. +else
  15576. + ac_cv_lib_dld_shl_load=no
  15577. +fi
  15578. +rm -f core conftest.err conftest.$ac_objext \
  15579. + conftest$ac_exeext conftest.$ac_ext
  15580. +LIBS=$ac_check_lib_save_LIBS
  15581. +fi
  15582. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  15583. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  15584. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  15585. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  15586. +else
  15587. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  15588. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  15589. + lt_cv_dlopen="dlopen"
  15590. +else
  15591. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  15592. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  15593. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  15594. + $as_echo_n "(cached) " >&6
  15595. +else
  15596. + ac_check_lib_save_LIBS=$LIBS
  15597. +LIBS="-ldl $LIBS"
  15598. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15599. +/* end confdefs.h. */
  15600. +
  15601. +/* Override any GCC internal prototype to avoid an error.
  15602. + Use char because int might match the return type of a GCC
  15603. + builtin and then its argument prototype would still apply. */
  15604. +#ifdef __cplusplus
  15605. +extern "C"
  15606. +#endif
  15607. +char dlopen ();
  15608. +int
  15609. +main ()
  15610. +{
  15611. +return dlopen ();
  15612. + ;
  15613. + return 0;
  15614. +}
  15615. +_ACEOF
  15616. +if ac_fn_c_try_link "$LINENO"; then :
  15617. + ac_cv_lib_dl_dlopen=yes
  15618. +else
  15619. + ac_cv_lib_dl_dlopen=no
  15620. +fi
  15621. +rm -f core conftest.err conftest.$ac_objext \
  15622. + conftest$ac_exeext conftest.$ac_ext
  15623. +LIBS=$ac_check_lib_save_LIBS
  15624. +fi
  15625. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  15626. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  15627. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  15628. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  15629. +else
  15630. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  15631. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  15632. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  15633. + $as_echo_n "(cached) " >&6
  15634. +else
  15635. + ac_check_lib_save_LIBS=$LIBS
  15636. +LIBS="-lsvld $LIBS"
  15637. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15638. +/* end confdefs.h. */
  15639. +
  15640. +/* Override any GCC internal prototype to avoid an error.
  15641. + Use char because int might match the return type of a GCC
  15642. + builtin and then its argument prototype would still apply. */
  15643. +#ifdef __cplusplus
  15644. +extern "C"
  15645. +#endif
  15646. +char dlopen ();
  15647. +int
  15648. +main ()
  15649. +{
  15650. +return dlopen ();
  15651. + ;
  15652. + return 0;
  15653. +}
  15654. +_ACEOF
  15655. +if ac_fn_c_try_link "$LINENO"; then :
  15656. + ac_cv_lib_svld_dlopen=yes
  15657. +else
  15658. + ac_cv_lib_svld_dlopen=no
  15659. +fi
  15660. +rm -f core conftest.err conftest.$ac_objext \
  15661. + conftest$ac_exeext conftest.$ac_ext
  15662. +LIBS=$ac_check_lib_save_LIBS
  15663. +fi
  15664. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  15665. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  15666. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  15667. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  15668. +else
  15669. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  15670. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  15671. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  15672. + $as_echo_n "(cached) " >&6
  15673. +else
  15674. + ac_check_lib_save_LIBS=$LIBS
  15675. +LIBS="-ldld $LIBS"
  15676. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15677. +/* end confdefs.h. */
  15678. +
  15679. +/* Override any GCC internal prototype to avoid an error.
  15680. + Use char because int might match the return type of a GCC
  15681. + builtin and then its argument prototype would still apply. */
  15682. +#ifdef __cplusplus
  15683. +extern "C"
  15684. +#endif
  15685. +char dld_link ();
  15686. +int
  15687. +main ()
  15688. +{
  15689. +return dld_link ();
  15690. + ;
  15691. + return 0;
  15692. +}
  15693. +_ACEOF
  15694. +if ac_fn_c_try_link "$LINENO"; then :
  15695. + ac_cv_lib_dld_dld_link=yes
  15696. +else
  15697. + ac_cv_lib_dld_dld_link=no
  15698. +fi
  15699. +rm -f core conftest.err conftest.$ac_objext \
  15700. + conftest$ac_exeext conftest.$ac_ext
  15701. +LIBS=$ac_check_lib_save_LIBS
  15702. +fi
  15703. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  15704. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  15705. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  15706. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  15707. +fi
  15708. +
  15709. +
  15710. +fi
  15711. +
  15712. +
  15713. +fi
  15714. +
  15715. +
  15716. +fi
  15717. +
  15718. +
  15719. +fi
  15720. +
  15721. +
  15722. +fi
  15723. +
  15724. + ;;
  15725. + esac
  15726. +
  15727. + if test "x$lt_cv_dlopen" != xno; then
  15728. + enable_dlopen=yes
  15729. + else
  15730. + enable_dlopen=no
  15731. + fi
  15732. +
  15733. + case $lt_cv_dlopen in
  15734. + dlopen)
  15735. + save_CPPFLAGS="$CPPFLAGS"
  15736. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  15737. +
  15738. + save_LDFLAGS="$LDFLAGS"
  15739. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  15740. +
  15741. + save_LIBS="$LIBS"
  15742. + LIBS="$lt_cv_dlopen_libs $LIBS"
  15743. +
  15744. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  15745. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  15746. +if test "${lt_cv_dlopen_self+set}" = set; then :
  15747. + $as_echo_n "(cached) " >&6
  15748. +else
  15749. + if test "$cross_compiling" = yes; then :
  15750. + lt_cv_dlopen_self=cross
  15751. +else
  15752. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  15753. + lt_status=$lt_dlunknown
  15754. + cat > conftest.$ac_ext <<_LT_EOF
  15755. +#line __oline__ "configure"
  15756. +#include "confdefs.h"
  15757. +
  15758. +#if HAVE_DLFCN_H
  15759. +#include <dlfcn.h>
  15760. +#endif
  15761. +
  15762. +#include <stdio.h>
  15763. +
  15764. +#ifdef RTLD_GLOBAL
  15765. +# define LT_DLGLOBAL RTLD_GLOBAL
  15766. +#else
  15767. +# ifdef DL_GLOBAL
  15768. +# define LT_DLGLOBAL DL_GLOBAL
  15769. +# else
  15770. +# define LT_DLGLOBAL 0
  15771. +# endif
  15772. +#endif
  15773. +
  15774. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  15775. + find out it does not work in some platform. */
  15776. +#ifndef LT_DLLAZY_OR_NOW
  15777. +# ifdef RTLD_LAZY
  15778. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  15779. +# else
  15780. +# ifdef DL_LAZY
  15781. +# define LT_DLLAZY_OR_NOW DL_LAZY
  15782. +# else
  15783. +# ifdef RTLD_NOW
  15784. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  15785. +# else
  15786. +# ifdef DL_NOW
  15787. +# define LT_DLLAZY_OR_NOW DL_NOW
  15788. +# else
  15789. +# define LT_DLLAZY_OR_NOW 0
  15790. +# endif
  15791. +# endif
  15792. +# endif
  15793. +# endif
  15794. +#endif
  15795. +
  15796. +/* When -fvisbility=hidden is used, assume the code has been annotated
  15797. + correspondingly for the symbols needed. */
  15798. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  15799. +void fnord () __attribute__((visibility("default")));
  15800. +#endif
  15801. +
  15802. +void fnord () { int i=42; }
  15803. +int main ()
  15804. +{
  15805. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  15806. + int status = $lt_dlunknown;
  15807. +
  15808. + if (self)
  15809. + {
  15810. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  15811. + else
  15812. + {
  15813. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  15814. + else puts (dlerror ());
  15815. + }
  15816. + /* dlclose (self); */
  15817. + }
  15818. + else
  15819. + puts (dlerror ());
  15820. +
  15821. + return status;
  15822. +}
  15823. +_LT_EOF
  15824. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  15825. + (eval $ac_link) 2>&5
  15826. + ac_status=$?
  15827. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15828. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  15829. + (./conftest; exit; ) >&5 2>/dev/null
  15830. + lt_status=$?
  15831. + case x$lt_status in
  15832. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  15833. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  15834. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  15835. + esac
  15836. + else :
  15837. + # compilation failed
  15838. + lt_cv_dlopen_self=no
  15839. + fi
  15840. +fi
  15841. +rm -fr conftest*
  15842. +
  15843. +
  15844. +fi
  15845. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  15846. +$as_echo "$lt_cv_dlopen_self" >&6; }
  15847. +
  15848. + if test "x$lt_cv_dlopen_self" = xyes; then
  15849. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  15850. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  15851. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  15852. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  15853. + $as_echo_n "(cached) " >&6
  15854. +else
  15855. + if test "$cross_compiling" = yes; then :
  15856. + lt_cv_dlopen_self_static=cross
  15857. +else
  15858. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  15859. + lt_status=$lt_dlunknown
  15860. + cat > conftest.$ac_ext <<_LT_EOF
  15861. +#line __oline__ "configure"
  15862. +#include "confdefs.h"
  15863. +
  15864. +#if HAVE_DLFCN_H
  15865. +#include <dlfcn.h>
  15866. +#endif
  15867. +
  15868. +#include <stdio.h>
  15869. +
  15870. +#ifdef RTLD_GLOBAL
  15871. +# define LT_DLGLOBAL RTLD_GLOBAL
  15872. +#else
  15873. +# ifdef DL_GLOBAL
  15874. +# define LT_DLGLOBAL DL_GLOBAL
  15875. +# else
  15876. +# define LT_DLGLOBAL 0
  15877. +# endif
  15878. +#endif
  15879. +
  15880. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  15881. + find out it does not work in some platform. */
  15882. +#ifndef LT_DLLAZY_OR_NOW
  15883. +# ifdef RTLD_LAZY
  15884. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  15885. +# else
  15886. +# ifdef DL_LAZY
  15887. +# define LT_DLLAZY_OR_NOW DL_LAZY
  15888. +# else
  15889. +# ifdef RTLD_NOW
  15890. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  15891. +# else
  15892. +# ifdef DL_NOW
  15893. +# define LT_DLLAZY_OR_NOW DL_NOW
  15894. +# else
  15895. +# define LT_DLLAZY_OR_NOW 0
  15896. +# endif
  15897. +# endif
  15898. +# endif
  15899. +# endif
  15900. +#endif
  15901. +
  15902. +/* When -fvisbility=hidden is used, assume the code has been annotated
  15903. + correspondingly for the symbols needed. */
  15904. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  15905. +void fnord () __attribute__((visibility("default")));
  15906. +#endif
  15907. +
  15908. +void fnord () { int i=42; }
  15909. +int main ()
  15910. +{
  15911. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  15912. + int status = $lt_dlunknown;
  15913. +
  15914. + if (self)
  15915. + {
  15916. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  15917. + else
  15918. + {
  15919. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  15920. + else puts (dlerror ());
  15921. + }
  15922. + /* dlclose (self); */
  15923. + }
  15924. + else
  15925. + puts (dlerror ());
  15926. +
  15927. + return status;
  15928. +}
  15929. +_LT_EOF
  15930. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  15931. + (eval $ac_link) 2>&5
  15932. + ac_status=$?
  15933. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15934. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  15935. + (./conftest; exit; ) >&5 2>/dev/null
  15936. + lt_status=$?
  15937. + case x$lt_status in
  15938. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  15939. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  15940. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  15941. + esac
  15942. + else :
  15943. + # compilation failed
  15944. + lt_cv_dlopen_self_static=no
  15945. + fi
  15946. +fi
  15947. +rm -fr conftest*
  15948. +
  15949. +
  15950. +fi
  15951. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  15952. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  15953. + fi
  15954. +
  15955. + CPPFLAGS="$save_CPPFLAGS"
  15956. + LDFLAGS="$save_LDFLAGS"
  15957. + LIBS="$save_LIBS"
  15958. + ;;
  15959. + esac
  15960. +
  15961. + case $lt_cv_dlopen_self in
  15962. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  15963. + *) enable_dlopen_self=unknown ;;
  15964. + esac
  15965. +
  15966. + case $lt_cv_dlopen_self_static in
  15967. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  15968. + *) enable_dlopen_self_static=unknown ;;
  15969. + esac
  15970. +fi
  15971. +
  15972. +
  15973. +
  15974. +
  15975. +
  15976. +
  15977. +
  15978. +
  15979. +
  15980. +
  15981. +
  15982. +
  15983. +
  15984. +
  15985. +
  15986. +
  15987. +
  15988. +striplib=
  15989. +old_striplib=
  15990. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  15991. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  15992. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  15993. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  15994. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  15995. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15996. +$as_echo "yes" >&6; }
  15997. +else
  15998. +# FIXME - insert some real tests, host_os isn't really good enough
  15999. + case $host_os in
  16000. + darwin*)
  16001. + if test -n "$STRIP" ; then
  16002. + striplib="$STRIP -x"
  16003. + old_striplib="$STRIP -S"
  16004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16005. +$as_echo "yes" >&6; }
  16006. + else
  16007. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16008. +$as_echo "no" >&6; }
  16009. + fi
  16010. + ;;
  16011. + *)
  16012. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16013. +$as_echo "no" >&6; }
  16014. + ;;
  16015. + esac
  16016. +fi
  16017. +
  16018. +
  16019. +
  16020. +
  16021. +
  16022. +
  16023. +
  16024. +
  16025. +
  16026. +
  16027. +
  16028. +
  16029. + # Report which library types will actually be built
  16030. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  16031. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  16032. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  16033. +$as_echo "$can_build_shared" >&6; }
  16034. +
  16035. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  16036. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  16037. + test "$can_build_shared" = "no" && enable_shared=no
  16038. +
  16039. + # On AIX, shared libraries and static libraries use the same namespace, and
  16040. + # are all built from PIC.
  16041. + case $host_os in
  16042. + aix3*)
  16043. + test "$enable_shared" = yes && enable_static=no
  16044. + if test -n "$RANLIB"; then
  16045. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  16046. + postinstall_cmds='$RANLIB $lib'
  16047. + fi
  16048. + ;;
  16049. +
  16050. + aix[4-9]*)
  16051. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  16052. + test "$enable_shared" = yes && enable_static=no
  16053. + fi
  16054. + ;;
  16055. + esac
  16056. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  16057. +$as_echo "$enable_shared" >&6; }
  16058. +
  16059. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  16060. +$as_echo_n "checking whether to build static libraries... " >&6; }
  16061. + # Make sure either enable_shared or enable_static is yes.
  16062. + test "$enable_shared" = yes || enable_static=yes
  16063. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  16064. +$as_echo "$enable_static" >&6; }
  16065. +
  16066. +
  16067. +
  16068. +
  16069. +fi
  16070. +ac_ext=c
  16071. +ac_cpp='$CPP $CPPFLAGS'
  16072. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16073. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16074. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16075. +
  16076. +CC="$lt_save_CC"
  16077. +
  16078. +
  16079. +
  16080. +
  16081. +
  16082. +
  16083. +
  16084. +
  16085. +
  16086. +
  16087. +
  16088. +
  16089. +
  16090. + ac_config_commands="$ac_config_commands libtool"
  16091. +
  16092. +
  16093. +
  16094. +
  16095. +# Only expand once:
  16096. +
  16097. +
  16098. +
  16099. +@%:@ Check whether --enable-targets was given.
  16100. +if test "${enable_targets+set}" = set; then :
  16101. + enableval=$enable_targets; case "${enableval}" in
  16102. + yes | "") as_fn_error "enable-targets option must specify target names or 'all'" "$LINENO" 5
  16103. + ;;
  16104. + no) enable_targets= ;;
  16105. + *) enable_targets=$enableval ;;
  16106. +esac
  16107. +fi
  16108. +
  16109. +ac_checking=yes
  16110. +if grep '^RELEASE=y' ${srcdir}/../bfd/Makefile.am >/dev/null 2>/dev/null ; then
  16111. + ac_checking=
  16112. +fi
  16113. +@%:@ Check whether --enable-checking was given.
  16114. +if test "${enable_checking+set}" = set; then :
  16115. + enableval=$enable_checking; case "${enableval}" in
  16116. + no|none) ac_checking= ;;
  16117. + *) ac_checking=yes ;;
  16118. +esac
  16119. +fi
  16120. +if test x$ac_checking != x ; then
  16121. +
  16122. +$as_echo "@%:@define ENABLE_CHECKING 1" >>confdefs.h
  16123. +
  16124. +fi
  16125. +
  16126. +using_cgen=no
  16127. +
  16128. +
  16129. +GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
  16130. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16131. +/* end confdefs.h. */
  16132. +__GNUC__
  16133. +_ACEOF
  16134. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16135. + $EGREP "^[0-3]$" >/dev/null 2>&1; then :
  16136. +
  16137. +else
  16138. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
  16139. +fi
  16140. +rm -f conftest*
  16141. +
  16142. +
  16143. +@%:@ Check whether --enable-werror was given.
  16144. +if test "${enable_werror+set}" = set; then :
  16145. + enableval=$enable_werror; case "${enableval}" in
  16146. + yes | y) ERROR_ON_WARNING="yes" ;;
  16147. + no | n) ERROR_ON_WARNING="no" ;;
  16148. + *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
  16149. + esac
  16150. +fi
  16151. +
  16152. +
  16153. +# Disable -Wformat by default when using gcc on mingw
  16154. +case "${host}" in
  16155. + *-*-mingw32*)
  16156. + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
  16157. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
  16158. + fi
  16159. + ;;
  16160. + *) ;;
  16161. +esac
  16162. +
  16163. +# Enable -Werror by default when using gcc
  16164. +if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
  16165. + ERROR_ON_WARNING=yes
  16166. +fi
  16167. +
  16168. +NO_WERROR=
  16169. +if test "${ERROR_ON_WARNING}" = yes ; then
  16170. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
  16171. + NO_WERROR="-Wno-error"
  16172. +fi
  16173. +
  16174. +if test "${GCC}" = yes ; then
  16175. + WARN_CFLAGS="${GCC_WARN_CFLAGS}"
  16176. +fi
  16177. +
  16178. +@%:@ Check whether --enable-build-warnings was given.
  16179. +if test "${enable_build_warnings+set}" = set; then :
  16180. + enableval=$enable_build_warnings; case "${enableval}" in
  16181. + yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
  16182. + no) if test "${GCC}" = yes ; then
  16183. + WARN_CFLAGS="-w"
  16184. + fi;;
  16185. + ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  16186. + WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
  16187. + *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  16188. + WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
  16189. + *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
  16190. +esac
  16191. +fi
  16192. +
  16193. +
  16194. +if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
  16195. + echo "Setting warning flags = $WARN_CFLAGS" 6>&1
  16196. +fi
  16197. +
  16198. +
  16199. +
  16200. +
  16201. +
  16202. +# Generate a header file
  16203. +ac_config_headers="$ac_config_headers config.h:config.in"
  16204. +
  16205. +
  16206. +# If we are on a DOS filesystem, we must use gdb.ini rather than
  16207. +# .gdbinit.
  16208. +case "${host}" in
  16209. + *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*)
  16210. + GDBINIT="gdb.ini"
  16211. + ac_config_files="$ac_config_files gdb.ini:gdbinit.in"
  16212. +
  16213. + ;;
  16214. + *)
  16215. + GDBINIT=".gdbinit"
  16216. + ac_config_files="$ac_config_files .gdbinit:gdbinit.in"
  16217. +
  16218. + ;;
  16219. +esac
  16220. +
  16221. +
  16222. +#We need this for the host. BOUT header is in host order.
  16223. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  16224. +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  16225. +if test "${ac_cv_c_bigendian+set}" = set; then :
  16226. + $as_echo_n "(cached) " >&6
  16227. +else
  16228. + ac_cv_c_bigendian=unknown
  16229. + # See if we're dealing with a universal compiler.
  16230. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16231. +/* end confdefs.h. */
  16232. +#ifndef __APPLE_CC__
  16233. + not a universal capable compiler
  16234. + #endif
  16235. + typedef int dummy;
  16236. +
  16237. +_ACEOF
  16238. +if ac_fn_c_try_compile "$LINENO"; then :
  16239. +
  16240. + # Check for potential -arch flags. It is not universal unless
  16241. + # there are at least two -arch flags with different values.
  16242. + ac_arch=
  16243. + ac_prev=
  16244. + for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  16245. + if test -n "$ac_prev"; then
  16246. + case $ac_word in
  16247. + i?86 | x86_64 | ppc | ppc64)
  16248. + if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  16249. + ac_arch=$ac_word
  16250. + else
  16251. + ac_cv_c_bigendian=universal
  16252. + break
  16253. + fi
  16254. + ;;
  16255. + esac
  16256. + ac_prev=
  16257. + elif test "x$ac_word" = "x-arch"; then
  16258. + ac_prev=arch
  16259. + fi
  16260. + done
  16261. +fi
  16262. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16263. + if test $ac_cv_c_bigendian = unknown; then
  16264. + # See if sys/param.h defines the BYTE_ORDER macro.
  16265. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16266. +/* end confdefs.h. */
  16267. +#include <sys/types.h>
  16268. + #include <sys/param.h>
  16269. +
  16270. +int
  16271. +main ()
  16272. +{
  16273. +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  16274. + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  16275. + && LITTLE_ENDIAN)
  16276. + bogus endian macros
  16277. + #endif
  16278. +
  16279. + ;
  16280. + return 0;
  16281. +}
  16282. +_ACEOF
  16283. +if ac_fn_c_try_compile "$LINENO"; then :
  16284. + # It does; now see whether it defined to BIG_ENDIAN or not.
  16285. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16286. +/* end confdefs.h. */
  16287. +#include <sys/types.h>
  16288. + #include <sys/param.h>
  16289. +
  16290. +int
  16291. +main ()
  16292. +{
  16293. +#if BYTE_ORDER != BIG_ENDIAN
  16294. + not big endian
  16295. + #endif
  16296. +
  16297. + ;
  16298. + return 0;
  16299. +}
  16300. +_ACEOF
  16301. +if ac_fn_c_try_compile "$LINENO"; then :
  16302. + ac_cv_c_bigendian=yes
  16303. +else
  16304. + ac_cv_c_bigendian=no
  16305. +fi
  16306. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16307. +fi
  16308. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16309. + fi
  16310. + if test $ac_cv_c_bigendian = unknown; then
  16311. + # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  16312. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16313. +/* end confdefs.h. */
  16314. +#include <limits.h>
  16315. +
  16316. +int
  16317. +main ()
  16318. +{
  16319. +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  16320. + bogus endian macros
  16321. + #endif
  16322. +
  16323. + ;
  16324. + return 0;
  16325. +}
  16326. +_ACEOF
  16327. +if ac_fn_c_try_compile "$LINENO"; then :
  16328. + # It does; now see whether it defined to _BIG_ENDIAN or not.
  16329. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16330. +/* end confdefs.h. */
  16331. +#include <limits.h>
  16332. +
  16333. +int
  16334. +main ()
  16335. +{
  16336. +#ifndef _BIG_ENDIAN
  16337. + not big endian
  16338. + #endif
  16339. +
  16340. + ;
  16341. + return 0;
  16342. +}
  16343. +_ACEOF
  16344. +if ac_fn_c_try_compile "$LINENO"; then :
  16345. + ac_cv_c_bigendian=yes
  16346. +else
  16347. + ac_cv_c_bigendian=no
  16348. +fi
  16349. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16350. +fi
  16351. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16352. + fi
  16353. + if test $ac_cv_c_bigendian = unknown; then
  16354. + # Compile a test program.
  16355. + if test "$cross_compiling" = yes; then :
  16356. + # Try to guess by grepping values from an object file.
  16357. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16358. +/* end confdefs.h. */
  16359. +short int ascii_mm[] =
  16360. + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  16361. + short int ascii_ii[] =
  16362. + { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  16363. + int use_ascii (int i) {
  16364. + return ascii_mm[i] + ascii_ii[i];
  16365. + }
  16366. + short int ebcdic_ii[] =
  16367. + { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  16368. + short int ebcdic_mm[] =
  16369. + { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  16370. + int use_ebcdic (int i) {
  16371. + return ebcdic_mm[i] + ebcdic_ii[i];
  16372. + }
  16373. + extern int foo;
  16374. +
  16375. +int
  16376. +main ()
  16377. +{
  16378. +return use_ascii (foo) == use_ebcdic (foo);
  16379. + ;
  16380. + return 0;
  16381. +}
  16382. +_ACEOF
  16383. +if ac_fn_c_try_compile "$LINENO"; then :
  16384. + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  16385. + ac_cv_c_bigendian=yes
  16386. + fi
  16387. + if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  16388. + if test "$ac_cv_c_bigendian" = unknown; then
  16389. + ac_cv_c_bigendian=no
  16390. + else
  16391. + # finding both strings is unlikely to happen, but who knows?
  16392. + ac_cv_c_bigendian=unknown
  16393. + fi
  16394. + fi
  16395. +fi
  16396. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16397. +else
  16398. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16399. +/* end confdefs.h. */
  16400. +$ac_includes_default
  16401. +int
  16402. +main ()
  16403. +{
  16404. +
  16405. + /* Are we little or big endian? From Harbison&Steele. */
  16406. + union
  16407. + {
  16408. + long int l;
  16409. + char c[sizeof (long int)];
  16410. + } u;
  16411. + u.l = 1;
  16412. + return u.c[sizeof (long int) - 1] == 1;
  16413. +
  16414. + ;
  16415. + return 0;
  16416. +}
  16417. +_ACEOF
  16418. +if ac_fn_c_try_run "$LINENO"; then :
  16419. + ac_cv_c_bigendian=no
  16420. +else
  16421. + ac_cv_c_bigendian=yes
  16422. +fi
  16423. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16424. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  16425. +fi
  16426. +
  16427. + fi
  16428. +fi
  16429. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  16430. +$as_echo "$ac_cv_c_bigendian" >&6; }
  16431. + case $ac_cv_c_bigendian in #(
  16432. + yes)
  16433. + $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  16434. +;; #(
  16435. + no)
  16436. + ;; #(
  16437. + universal)
  16438. +
  16439. +$as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  16440. +
  16441. + ;; #(
  16442. + *)
  16443. + as_fn_error "unknown endianness
  16444. + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  16445. + esac
  16446. +
  16447. +
  16448. +te_file=generic
  16449. +
  16450. +# Makefile target for installing gas in $(tooldir)/bin.
  16451. +install_tooldir=install-exec-tooldir
  16452. +
  16453. +canon_targets=""
  16454. +all_targets=no
  16455. +if test -n "$enable_targets" ; then
  16456. + for t in `echo $enable_targets | sed 's/,/ /g'`; do
  16457. + if test $t = "all"; then
  16458. + all_targets=yes
  16459. + continue
  16460. + fi
  16461. + result=`$ac_config_sub $t 2>/dev/null`
  16462. + if test -n "$result" ; then
  16463. + canon_targets="$canon_targets $result"
  16464. +# else
  16465. +# # Permit "all", etc. We don't support it yet though.
  16466. +# canon_targets="$canon_targets $t"
  16467. + fi
  16468. + done
  16469. + _gas_uniq_list="$canon_targets"
  16470. +_gas_uniq_newlist=""
  16471. +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
  16472. + case $_gas_uniq_i in
  16473. + _gas_uniq_dummy) ;;
  16474. + *) case " $_gas_uniq_newlist " in
  16475. + *" $_gas_uniq_i "*) ;;
  16476. + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
  16477. + esac ;;
  16478. + esac
  16479. +done
  16480. +canon_targets=$_gas_uniq_newlist
  16481. +
  16482. +fi
  16483. +
  16484. +emulations=""
  16485. +
  16486. +for this_target in $target $canon_targets ; do
  16487. +
  16488. + targ=${this_target}
  16489. + . ${srcdir}/configure.tgt
  16490. +
  16491. + case ${target_cpu} in
  16492. + crisv32)
  16493. +
  16494. +cat >>confdefs.h <<_ACEOF
  16495. +@%:@define DEFAULT_CRIS_ARCH $arch
  16496. +_ACEOF
  16497. +
  16498. + ;;
  16499. + esac
  16500. +
  16501. + if test ${this_target} = $target ; then
  16502. + target_cpu_type=${cpu_type}
  16503. + elif test ${target_cpu_type} != ${cpu_type} ; then
  16504. + continue
  16505. + fi
  16506. +
  16507. + generic_target=${cpu_type}-${target_vendor}-${target_os}
  16508. + case ${generic_target} in
  16509. + i386-*-sco3.2v5*)
  16510. + if test ${this_target} = $target; then
  16511. +
  16512. +$as_echo "@%:@define SCO_ELF 1" >>confdefs.h
  16513. +
  16514. + fi
  16515. + ;;
  16516. +
  16517. + i386-*-msdosdjgpp* \
  16518. + | i386-*-go32* \
  16519. + | i386-go32-rtems*)
  16520. +
  16521. +$as_echo "@%:@define STRICTCOFF 1" >>confdefs.h
  16522. +
  16523. + ;;
  16524. +
  16525. + i860-*-*)
  16526. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
  16527. +$as_echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
  16528. + ;;
  16529. +
  16530. + microblaze*)
  16531. + ;;
  16532. +
  16533. + mips-sony-bsd*)
  16534. + ;;
  16535. + mips-*-bsd*)
  16536. + as_fn_error "Unknown vendor for mips-bsd configuration." "$LINENO" 5
  16537. + ;;
  16538. +
  16539. + ppc-*-aix[5-9].*)
  16540. +
  16541. +$as_echo "@%:@define AIX_WEAK_SUPPORT 1" >>confdefs.h
  16542. +
  16543. + ;;
  16544. + ppc-*-linux-*)
  16545. + case "$endian" in
  16546. + big) ;;
  16547. + *) as_fn_error "GNU/Linux must be configured big endian" "$LINENO" 5 ;;
  16548. + esac
  16549. + ;;
  16550. + ppc-*-solaris*)
  16551. + if test ${this_target} = $target; then
  16552. +
  16553. +$as_echo "@%:@define TARGET_SOLARIS_COMMENT 1" >>confdefs.h
  16554. +
  16555. + fi
  16556. + if test x${endian} = xbig; then
  16557. + as_fn_error "Solaris must be configured little endian" "$LINENO" 5
  16558. + fi
  16559. + ;;
  16560. +
  16561. + sh*-*-symbianelf*)
  16562. +
  16563. +$as_echo "@%:@define TARGET_SYMBIAN 1" >>confdefs.h
  16564. +
  16565. + ;;
  16566. + esac
  16567. +
  16568. + if test ${this_target} = $target ; then
  16569. + endian_def=
  16570. + if test x${endian} = xbig; then
  16571. + endian_def=1
  16572. + elif test x${endian} = xlittle; then
  16573. + endian_def=0
  16574. + fi
  16575. + if test x${endian_def} != x; then
  16576. +
  16577. +cat >>confdefs.h <<_ACEOF
  16578. +@%:@define TARGET_BYTES_BIG_ENDIAN $endian_def
  16579. +_ACEOF
  16580. +
  16581. + fi
  16582. + fi
  16583. +
  16584. +# Other random stuff.
  16585. +
  16586. + case ${cpu_type} in
  16587. + mips)
  16588. + # Set mips_cpu to the name of the default CPU.
  16589. + case ${target_cpu} in
  16590. + mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el)
  16591. + mips_cpu=from-abi
  16592. + ;;
  16593. + mipsisa32 | mipsisa32el)
  16594. + mips_cpu=mips32
  16595. + ;;
  16596. + mipsisa32r2 | mipsisa32r2el)
  16597. + mips_cpu=mips32r2
  16598. + ;;
  16599. + mipsisa64 | mipsisa64el)
  16600. + mips_cpu=mips64
  16601. + ;;
  16602. + mipsisa64r2 | mipsisa64r2el)
  16603. + mips_cpu=mips64r2
  16604. + ;;
  16605. + mipstx39 | mipstx39el)
  16606. + mips_cpu=r3900
  16607. + ;;
  16608. + mips64vr | mips64vrel)
  16609. + mips_cpu=vr4100
  16610. + ;;
  16611. + mipsisa32r2* | mipsisa64r2*)
  16612. + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
  16613. + ;;
  16614. + mips64* | mipsisa64* | mipsisa32*)
  16615. + mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
  16616. + ;;
  16617. + *)
  16618. + as_fn_error "$target_cpu isn't a supported MIPS CPU name" "$LINENO" 5
  16619. + ;;
  16620. + esac
  16621. + # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
  16622. + # binaries. It's a GNU extension that some OSes don't understand.
  16623. + # The value only matters on ELF targets.
  16624. + case ${target} in
  16625. + *-*-irix*)
  16626. + use_e_mips_abi_o32=0
  16627. + ;;
  16628. + *)
  16629. + use_e_mips_abi_o32=1
  16630. + ;;
  16631. + esac
  16632. + # Decide whether to generate 32-bit or 64-bit code by default.
  16633. + # Used to resolve -march=from-abi when an embedded ABI is selected.
  16634. + case ${target} in
  16635. + mips64*-*-* | mipsisa64*-*-*)
  16636. + mips_default_64bit=1
  16637. + ;;
  16638. + *)
  16639. + mips_default_64bit=0
  16640. + ;;
  16641. + esac
  16642. + # Decide which ABI to target by default.
  16643. + case ${target} in
  16644. + mips64*-linux* | mips-sgi-irix6*)
  16645. + mips_default_abi=N32_ABI
  16646. + ;;
  16647. + mips*-linux*)
  16648. + mips_default_abi=O32_ABI
  16649. + ;;
  16650. + mips64*-openbsd*)
  16651. + mips_default_abi=N64_ABI
  16652. + ;;
  16653. + *)
  16654. + mips_default_abi=NO_ABI
  16655. + ;;
  16656. + esac
  16657. +
  16658. +cat >>confdefs.h <<_ACEOF
  16659. +@%:@define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
  16660. +_ACEOF
  16661. +
  16662. +
  16663. +cat >>confdefs.h <<_ACEOF
  16664. +@%:@define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
  16665. +_ACEOF
  16666. +
  16667. +
  16668. +cat >>confdefs.h <<_ACEOF
  16669. +@%:@define MIPS_DEFAULT_64BIT $mips_default_64bit
  16670. +_ACEOF
  16671. +
  16672. +
  16673. +cat >>confdefs.h <<_ACEOF
  16674. +@%:@define MIPS_DEFAULT_ABI $mips_default_abi
  16675. +_ACEOF
  16676. +
  16677. + ;;
  16678. + esac
  16679. +
  16680. + # Do we need the opcodes library?
  16681. + case ${cpu_type} in
  16682. + vax | tic30)
  16683. + ;;
  16684. +
  16685. + *)
  16686. + need_opcodes=yes
  16687. +
  16688. + case "${enable_shared}" in
  16689. + yes) shared_opcodes=true ;;
  16690. + *opcodes*) shared_opcodes=true ;;
  16691. + *) shared_opcodes=false ;;
  16692. + esac
  16693. + ;;
  16694. + esac
  16695. +
  16696. + # Any other special object files needed ?
  16697. + case ${cpu_type} in
  16698. +
  16699. + bfin)
  16700. + echo ${extra_objects} | grep -s "bfin-parse.o"
  16701. + if test $? -ne 0 ; then
  16702. + extra_objects="$extra_objects bfin-parse.o"
  16703. + fi
  16704. +
  16705. + echo ${extra_objects} | grep -s "bfin-lex.o"
  16706. + if test $? -ne 0 ; then
  16707. + extra_objects="$extra_objects bfin-lex.o"
  16708. + fi
  16709. + ;;
  16710. +
  16711. + fr30 | ip2k | iq2000 | lm32 | m32r | openrisc)
  16712. + using_cgen=yes
  16713. + ;;
  16714. +
  16715. + m32c)
  16716. + using_cgen=yes
  16717. + ;;
  16718. + frv)
  16719. + using_cgen=yes
  16720. + ;;
  16721. + m68k)
  16722. + case ${extra_objects} in
  16723. + *m68k-parse.o*) ;;
  16724. + *) extra_objects="$extra_objects m68k-parse.o" ;;
  16725. + esac
  16726. + ;;
  16727. +
  16728. + mep)
  16729. + using_cgen=yes
  16730. + ;;
  16731. +
  16732. + mips)
  16733. + echo ${extra_objects} | grep -s "itbl-parse.o"
  16734. + if test $? -ne 0 ; then
  16735. + extra_objects="$extra_objects itbl-parse.o"
  16736. + fi
  16737. +
  16738. + echo ${extra_objects} | grep -s "itbl-lex.o"
  16739. + if test $? -ne 0 ; then
  16740. + extra_objects="$extra_objects itbl-lex.o"
  16741. + fi
  16742. +
  16743. + echo ${extra_objects} | grep -s "itbl-ops.o"
  16744. + if test $? -ne 0 ; then
  16745. + extra_objects="$extra_objects itbl-ops.o"
  16746. + fi
  16747. + ;;
  16748. +
  16749. + mt)
  16750. + using_cgen=yes
  16751. + ;;
  16752. +
  16753. + i386 | s390 | sparc)
  16754. + if test $this_target = $target ; then
  16755. +
  16756. +cat >>confdefs.h <<_ACEOF
  16757. +@%:@define DEFAULT_ARCH "${arch}"
  16758. +_ACEOF
  16759. +
  16760. + fi
  16761. + ;;
  16762. +
  16763. + rx)
  16764. + echo ${extra_objects} | grep -s "rx-parse.o"
  16765. + if test $? -ne 0 ; then
  16766. + extra_objects="$extra_objects rx-parse.o"
  16767. + fi
  16768. + ;;
  16769. +
  16770. + xstormy16)
  16771. + using_cgen=yes
  16772. + ;;
  16773. +
  16774. + xc16x)
  16775. + using_cgen=yes
  16776. + ;;
  16777. +
  16778. + xtensa)
  16779. + echo ${extra_objects} | grep -s "xtensa-relax.o"
  16780. + if test $? -ne 0 ; then
  16781. + extra_objects="$extra_objects xtensa-relax.o"
  16782. + fi
  16783. + ;;
  16784. +
  16785. + *)
  16786. + ;;
  16787. + esac
  16788. +
  16789. + if test $using_cgen = yes ; then
  16790. + case "x${extra_objects}" in
  16791. + *cgen.o*) ;;
  16792. + *) extra_objects="$extra_objects cgen.o" ;;
  16793. + esac
  16794. + fi
  16795. +
  16796. +# See if we really can support this configuration with the emulation code.
  16797. +
  16798. + if test $this_target = $target ; then
  16799. + obj_format=$fmt
  16800. + te_file=$em
  16801. + fi
  16802. +
  16803. + case ${te_file} in
  16804. + vms) extra_objects="$extra_objects te-vms.o" ;;
  16805. + esac
  16806. +
  16807. +# From target name and format, produce a list of supported emulations.
  16808. +
  16809. + case ${generic_target}-${fmt} in
  16810. + mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
  16811. + mips*-*-linux*-*) case "$endian" in
  16812. + big) emulation="mipsbelf mipslelf mipself" ;;
  16813. + *) emulation="mipslelf mipsbelf mipself" ;;
  16814. + esac ;;
  16815. + mips-*-lnews*-ecoff) ;;
  16816. + mips-*-*-ecoff) case "$endian" in
  16817. + big) emulation="mipsbecoff mipslecoff mipsecoff" ;;
  16818. + *) emulation="mipslecoff mipsbecoff mipsecoff" ;;
  16819. + esac ;;
  16820. + mips-*-*-elf) case "$endian" in
  16821. + big) emulation="mipsbelf mipslelf mipself" ;;
  16822. + *) emulation="mipslelf mipsbelf mipself" ;;
  16823. + esac ;;
  16824. + mips-*-sysv4*MP*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
  16825. + # i386-pc-pe-coff != i386-pc-coff.
  16826. + i386-*-pe-coff) ;;
  16827. + # Uncommenting the next line will turn on support for i386 AOUT
  16828. + # for the default linux configuration
  16829. + # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
  16830. + #
  16831. + i386-*-aout) emulation="i386aout" ;;
  16832. + i386-*-coff) emulation="i386coff" ;;
  16833. + i386-*-elf) emulation="i386elf" ;;
  16834. +
  16835. + # Always all formats. The first stated emulation becomes the default.
  16836. + cris-*-*aout*) emulation="crisaout criself" ;;
  16837. + cris-*-*) emulation="criself crisaout" ;;
  16838. + esac
  16839. +
  16840. + emulations="$emulations $emulation"
  16841. +
  16842. +done
  16843. +
  16844. +# Turn on all targets if possible
  16845. +if test ${all_targets} = "yes"; then
  16846. + case ${target_cpu_type} in
  16847. + i386)
  16848. + case ${obj_format} in
  16849. + aout)
  16850. + emulations="$emulations i386coff i386elf"
  16851. + ;;
  16852. + coff)
  16853. + emulations="$emulations i386aout i386elf"
  16854. + ;;
  16855. + elf)
  16856. + emulations="$emulations i386aout i386coff"
  16857. + ;;
  16858. + esac
  16859. + ;;
  16860. + x86_64)
  16861. + case ${obj_format} in
  16862. + aout)
  16863. + emulations="$emulations i386coff i386elf"
  16864. + ;;
  16865. + coff)
  16866. + emulations="$emulations i386aout i386elf"
  16867. + ;;
  16868. + elf)
  16869. + emulations="$emulations i386aout i386coff"
  16870. + ;;
  16871. + esac
  16872. + ;;
  16873. + esac
  16874. +fi
  16875. +
  16876. +# Assign floating point type. Most processors with FP support
  16877. +# IEEE FP. On those that don't support FP at all, usually IEEE
  16878. +# is emulated.
  16879. +case ${target_cpu} in
  16880. + vax | pdp11 ) atof=vax ;;
  16881. + *) atof=ieee ;;
  16882. +esac
  16883. +
  16884. +case "${obj_format}" in
  16885. + "") as_fn_error "GAS does not know what format to use for target ${target}" "$LINENO" 5 ;;
  16886. +esac
  16887. +
  16888. +# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
  16889. +cgen_cpu_prefix=""
  16890. +if test $using_cgen = yes ; then
  16891. + case ${target_cpu} in
  16892. + *) cgen_cpu_prefix=${target_cpu} ;;
  16893. + esac
  16894. +
  16895. +
  16896. +$as_echo "@%:@define USING_CGEN 1" >>confdefs.h
  16897. +
  16898. +fi
  16899. +
  16900. +
  16901. +if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then
  16902. + as_fn_error "GAS does not support target CPU ${target_cpu_type}" "$LINENO" 5
  16903. +fi
  16904. +
  16905. +if test ! -r ${srcdir}/config/obj-${obj_format}.c; then
  16906. + as_fn_error "GAS does not have support for object file format ${obj_format}" "$LINENO" 5
  16907. +fi
  16908. +
  16909. +# Some COFF configurations want these random other flags set.
  16910. +case ${obj_format} in
  16911. + coff)
  16912. + case ${target_cpu_type} in
  16913. + i386)
  16914. +$as_echo "@%:@define I386COFF 1" >>confdefs.h
  16915. + ;;
  16916. + m68k)
  16917. +$as_echo "@%:@define M68KCOFF 1" >>confdefs.h
  16918. + ;;
  16919. + m88k)
  16920. +$as_echo "@%:@define M88KCOFF 1" >>confdefs.h
  16921. + ;;
  16922. + x86_64)
  16923. +$as_echo "@%:@define I386COFF 1" >>confdefs.h
  16924. + ;;
  16925. + esac
  16926. + ;;
  16927. +esac
  16928. +
  16929. +# Getting this done right is going to be a bitch. Each configuration specified
  16930. +# with --enable-targets=... should be checked for environment, format, cpu
  16931. +# setting.
  16932. +#
  16933. +# For each configuration, the necessary object file support code must be linked
  16934. +# in. This might be only one, it might be up to four. The necessary emulation
  16935. +# code needs to be provided, too.
  16936. +#
  16937. +# And then there's "--enable-targets=all"....
  16938. +#
  16939. +# For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
  16940. +
  16941. +formats="${obj_format}"
  16942. +emfiles=""
  16943. +EMULATIONS=""
  16944. +_gas_uniq_list="$emulations"
  16945. +_gas_uniq_newlist=""
  16946. +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
  16947. + case $_gas_uniq_i in
  16948. + _gas_uniq_dummy) ;;
  16949. + *) case " $_gas_uniq_newlist " in
  16950. + *" $_gas_uniq_i "*) ;;
  16951. + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
  16952. + esac ;;
  16953. + esac
  16954. +done
  16955. +emulations=$_gas_uniq_newlist
  16956. +
  16957. +for em in . $emulations ; do
  16958. + case $em in
  16959. + .) continue ;;
  16960. + mipsbelf | mipslelf | mipself)
  16961. + fmt=elf file=mipself ;;
  16962. + mipsbecoff | mipslecoff | mipsecoff)
  16963. + fmt=ecoff file=mipsecoff ;;
  16964. + *coff)
  16965. + fmt=coff file=$em ;;
  16966. + *aout)
  16967. + fmt=aout file=$em ;;
  16968. + *elf)
  16969. + fmt=elf file=$em ;;
  16970. + esac
  16971. + formats="$formats $fmt"
  16972. + emfiles="$emfiles e-$file.o"
  16973. + EMULATIONS="$EMULATIONS &$em,"
  16974. +done
  16975. +_gas_uniq_list="$formats"
  16976. +_gas_uniq_newlist=""
  16977. +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
  16978. + case $_gas_uniq_i in
  16979. + _gas_uniq_dummy) ;;
  16980. + *) case " $_gas_uniq_newlist " in
  16981. + *" $_gas_uniq_i "*) ;;
  16982. + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
  16983. + esac ;;
  16984. + esac
  16985. +done
  16986. +formats=$_gas_uniq_newlist
  16987. +
  16988. +_gas_uniq_list="$emfiles"
  16989. +_gas_uniq_newlist=""
  16990. +for _gas_uniq_i in _gas_uniq_dummy $_gas_uniq_list ; do
  16991. + case $_gas_uniq_i in
  16992. + _gas_uniq_dummy) ;;
  16993. + *) case " $_gas_uniq_newlist " in
  16994. + *" $_gas_uniq_i "*) ;;
  16995. + *) _gas_uniq_newlist="$_gas_uniq_newlist $_gas_uniq_i" ;;
  16996. + esac ;;
  16997. + esac
  16998. +done
  16999. +emfiles=$_gas_uniq_newlist
  17000. +
  17001. +if test `set . $formats ; shift ; echo $#` -gt 1 ; then
  17002. + for fmt in $formats ; do
  17003. + case $fmt in
  17004. + aout)
  17005. +$as_echo "@%:@define OBJ_MAYBE_AOUT 1" >>confdefs.h
  17006. + ;;
  17007. + bout)
  17008. +$as_echo "@%:@define OBJ_MAYBE_BOUT 1" >>confdefs.h
  17009. + ;;
  17010. + coff)
  17011. +$as_echo "@%:@define OBJ_MAYBE_COFF 1" >>confdefs.h
  17012. + ;;
  17013. + ecoff)
  17014. +$as_echo "@%:@define OBJ_MAYBE_ECOFF 1" >>confdefs.h
  17015. + ;;
  17016. + elf)
  17017. +$as_echo "@%:@define OBJ_MAYBE_ELF 1" >>confdefs.h
  17018. + ;;
  17019. + generic)
  17020. +$as_echo "@%:@define OBJ_MAYBE_GENERIC 1" >>confdefs.h
  17021. + ;;
  17022. + som)
  17023. +$as_echo "@%:@define OBJ_MAYBE_SOM 1" >>confdefs.h
  17024. + ;;
  17025. + esac
  17026. + extra_objects="$extra_objects obj-$fmt.o"
  17027. + done
  17028. + obj_format=multi
  17029. +fi
  17030. +if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
  17031. + DEFAULT_EMULATION=`set . $emulations ; echo $2`
  17032. + # e-mips* has more than one emulation per file, e-i386* has just one at the
  17033. + # moment. If only one emulation is specified, then don't define
  17034. + # USE_EMULATIONS or include any of the e-files as they will only be bloat.
  17035. + case "${obj_format}${emfiles}" in
  17036. + multi* | *mips*)
  17037. + extra_objects="$extra_objects $emfiles"
  17038. +
  17039. +$as_echo "@%:@define USE_EMULATIONS 1" >>confdefs.h
  17040. + ;;
  17041. + esac
  17042. +fi
  17043. +
  17044. +
  17045. +cat >>confdefs.h <<_ACEOF
  17046. +@%:@define EMULATIONS $EMULATIONS
  17047. +_ACEOF
  17048. +
  17049. +
  17050. +cat >>confdefs.h <<_ACEOF
  17051. +@%:@define DEFAULT_EMULATION "$DEFAULT_EMULATION"
  17052. +_ACEOF
  17053. +
  17054. +
  17055. +reject_dev_configs=yes
  17056. +
  17057. +case ${reject_dev_configs}-${dev} in
  17058. + yes-yes) # Oops.
  17059. + as_fn_error "GAS does not support the ${generic_target} configuration." "$LINENO" 5
  17060. + ;;
  17061. +esac
  17062. +
  17063. +
  17064. +
  17065. +
  17066. +
  17067. +
  17068. +
  17069. +# do we need the opcodes library?
  17070. +case "${need_opcodes}" in
  17071. +yes)
  17072. + OPCODES_LIB=../opcodes/libopcodes.la
  17073. + ;;
  17074. +esac
  17075. +
  17076. +
  17077. +
  17078. +
  17079. +cat >>confdefs.h <<_ACEOF
  17080. +@%:@define TARGET_ALIAS "${target_alias}"
  17081. +_ACEOF
  17082. +
  17083. +
  17084. +cat >>confdefs.h <<_ACEOF
  17085. +@%:@define TARGET_CANONICAL "${target}"
  17086. +_ACEOF
  17087. +
  17088. +
  17089. +cat >>confdefs.h <<_ACEOF
  17090. +@%:@define TARGET_CPU "${target_cpu}"
  17091. +_ACEOF
  17092. +
  17093. +
  17094. +cat >>confdefs.h <<_ACEOF
  17095. +@%:@define TARGET_VENDOR "${target_vendor}"
  17096. +_ACEOF
  17097. +
  17098. +
  17099. +cat >>confdefs.h <<_ACEOF
  17100. +@%:@define TARGET_OS "${target_os}"
  17101. +_ACEOF
  17102. +
  17103. +
  17104. +for ac_prog in 'bison -y' byacc
  17105. +do
  17106. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  17107. +set dummy $ac_prog; ac_word=$2
  17108. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17109. +$as_echo_n "checking for $ac_word... " >&6; }
  17110. +if test "${ac_cv_prog_YACC+set}" = set; then :
  17111. + $as_echo_n "(cached) " >&6
  17112. +else
  17113. + if test -n "$YACC"; then
  17114. + ac_cv_prog_YACC="$YACC" # Let the user override the test.
  17115. +else
  17116. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17117. +for as_dir in $PATH
  17118. +do
  17119. + IFS=$as_save_IFS
  17120. + test -z "$as_dir" && as_dir=.
  17121. + for ac_exec_ext in '' $ac_executable_extensions; do
  17122. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17123. + ac_cv_prog_YACC="$ac_prog"
  17124. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17125. + break 2
  17126. + fi
  17127. +done
  17128. + done
  17129. +IFS=$as_save_IFS
  17130. +
  17131. +fi
  17132. +fi
  17133. +YACC=$ac_cv_prog_YACC
  17134. +if test -n "$YACC"; then
  17135. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  17136. +$as_echo "$YACC" >&6; }
  17137. +else
  17138. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17139. +$as_echo "no" >&6; }
  17140. +fi
  17141. +
  17142. +
  17143. + test -n "$YACC" && break
  17144. +done
  17145. +test -n "$YACC" || YACC="yacc"
  17146. +
  17147. +for ac_prog in flex lex
  17148. +do
  17149. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  17150. +set dummy $ac_prog; ac_word=$2
  17151. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17152. +$as_echo_n "checking for $ac_word... " >&6; }
  17153. +if test "${ac_cv_prog_LEX+set}" = set; then :
  17154. + $as_echo_n "(cached) " >&6
  17155. +else
  17156. + if test -n "$LEX"; then
  17157. + ac_cv_prog_LEX="$LEX" # Let the user override the test.
  17158. +else
  17159. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17160. +for as_dir in $PATH
  17161. +do
  17162. + IFS=$as_save_IFS
  17163. + test -z "$as_dir" && as_dir=.
  17164. + for ac_exec_ext in '' $ac_executable_extensions; do
  17165. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17166. + ac_cv_prog_LEX="$ac_prog"
  17167. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17168. + break 2
  17169. + fi
  17170. +done
  17171. + done
  17172. +IFS=$as_save_IFS
  17173. +
  17174. +fi
  17175. +fi
  17176. +LEX=$ac_cv_prog_LEX
  17177. +if test -n "$LEX"; then
  17178. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  17179. +$as_echo "$LEX" >&6; }
  17180. +else
  17181. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17182. +$as_echo "no" >&6; }
  17183. +fi
  17184. +
  17185. +
  17186. + test -n "$LEX" && break
  17187. +done
  17188. +test -n "$LEX" || LEX=":"
  17189. +
  17190. +if test "x$LEX" != "x:"; then
  17191. + cat >conftest.l <<_ACEOF
  17192. +%%
  17193. +a { ECHO; }
  17194. +b { REJECT; }
  17195. +c { yymore (); }
  17196. +d { yyless (1); }
  17197. +e { yyless (input () != 0); }
  17198. +f { unput (yytext[0]); }
  17199. +. { BEGIN INITIAL; }
  17200. +%%
  17201. +#ifdef YYTEXT_POINTER
  17202. +extern char *yytext;
  17203. +#endif
  17204. +int
  17205. +main (void)
  17206. +{
  17207. + return ! yylex () + ! yywrap ();
  17208. +}
  17209. +_ACEOF
  17210. +{ { ac_try="$LEX conftest.l"
  17211. +case "(($ac_try" in
  17212. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17213. + *) ac_try_echo=$ac_try;;
  17214. +esac
  17215. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  17216. +$as_echo "$ac_try_echo"; } >&5
  17217. + (eval "$LEX conftest.l") 2>&5
  17218. + ac_status=$?
  17219. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17220. + test $ac_status = 0; }
  17221. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  17222. +$as_echo_n "checking lex output file root... " >&6; }
  17223. +if test "${ac_cv_prog_lex_root+set}" = set; then :
  17224. + $as_echo_n "(cached) " >&6
  17225. +else
  17226. +
  17227. +if test -f lex.yy.c; then
  17228. + ac_cv_prog_lex_root=lex.yy
  17229. +elif test -f lexyy.c; then
  17230. + ac_cv_prog_lex_root=lexyy
  17231. +else
  17232. + as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
  17233. +fi
  17234. +fi
  17235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  17236. +$as_echo "$ac_cv_prog_lex_root" >&6; }
  17237. +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  17238. +
  17239. +if test -z "${LEXLIB+set}"; then
  17240. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  17241. +$as_echo_n "checking lex library... " >&6; }
  17242. +if test "${ac_cv_lib_lex+set}" = set; then :
  17243. + $as_echo_n "(cached) " >&6
  17244. +else
  17245. +
  17246. + ac_save_LIBS=$LIBS
  17247. + ac_cv_lib_lex='none needed'
  17248. + for ac_lib in '' -lfl -ll; do
  17249. + LIBS="$ac_lib $ac_save_LIBS"
  17250. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17251. +/* end confdefs.h. */
  17252. +`cat $LEX_OUTPUT_ROOT.c`
  17253. +_ACEOF
  17254. +if ac_fn_c_try_link "$LINENO"; then :
  17255. + ac_cv_lib_lex=$ac_lib
  17256. +fi
  17257. +rm -f core conftest.err conftest.$ac_objext \
  17258. + conftest$ac_exeext conftest.$ac_ext
  17259. + test "$ac_cv_lib_lex" != 'none needed' && break
  17260. + done
  17261. + LIBS=$ac_save_LIBS
  17262. +
  17263. +fi
  17264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  17265. +$as_echo "$ac_cv_lib_lex" >&6; }
  17266. + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  17267. +fi
  17268. +
  17269. +
  17270. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  17271. +$as_echo_n "checking whether yytext is a pointer... " >&6; }
  17272. +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
  17273. + $as_echo_n "(cached) " >&6
  17274. +else
  17275. + # POSIX says lex can declare yytext either as a pointer or an array; the
  17276. +# default is implementation-dependent. Figure out which it is, since
  17277. +# not all implementations provide the %pointer and %array declarations.
  17278. +ac_cv_prog_lex_yytext_pointer=no
  17279. +ac_save_LIBS=$LIBS
  17280. +LIBS="$LEXLIB $ac_save_LIBS"
  17281. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17282. +/* end confdefs.h. */
  17283. +#define YYTEXT_POINTER 1
  17284. +`cat $LEX_OUTPUT_ROOT.c`
  17285. +_ACEOF
  17286. +if ac_fn_c_try_link "$LINENO"; then :
  17287. + ac_cv_prog_lex_yytext_pointer=yes
  17288. +fi
  17289. +rm -f core conftest.err conftest.$ac_objext \
  17290. + conftest$ac_exeext conftest.$ac_ext
  17291. +LIBS=$ac_save_LIBS
  17292. +
  17293. +fi
  17294. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  17295. +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  17296. +if test $ac_cv_prog_lex_yytext_pointer = yes; then
  17297. +
  17298. +$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
  17299. +
  17300. +fi
  17301. +rm -f conftest.l $LEX_OUTPUT_ROOT.c
  17302. +
  17303. +fi
  17304. +if test "$LEX" = :; then
  17305. + LEX=${am_missing_run}flex
  17306. +fi
  17307. +
  17308. +ALL_LINGUAS="fr tr es rw id ru"
  17309. +# If we haven't got the data from the intl directory,
  17310. +# assume NLS is disabled.
  17311. +USE_NLS=no
  17312. +LIBINTL=
  17313. +LIBINTL_DEP=
  17314. +INCINTL=
  17315. +XGETTEXT=
  17316. +GMSGFMT=
  17317. +POSUB=
  17318. +
  17319. +if test -f ../intl/config.intl; then
  17320. + . ../intl/config.intl
  17321. +fi
  17322. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  17323. +$as_echo_n "checking whether NLS is requested... " >&6; }
  17324. +if test x"$USE_NLS" != xyes; then
  17325. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17326. +$as_echo "no" >&6; }
  17327. +else
  17328. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17329. +$as_echo "yes" >&6; }
  17330. +
  17331. +$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
  17332. +
  17333. +
  17334. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
  17335. +$as_echo_n "checking for catalogs to be installed... " >&6; }
  17336. + # Look for .po and .gmo files in the source directory.
  17337. + CATALOGS=
  17338. + XLINGUAS=
  17339. + for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
  17340. + # If there aren't any .gmo files the shell will give us the
  17341. + # literal string "../path/to/srcdir/po/*.gmo" which has to be
  17342. + # weeded out.
  17343. + case "$cat" in *\**)
  17344. + continue;;
  17345. + esac
  17346. + # The quadruple backslash is collapsed to a double backslash
  17347. + # by the backticks, then collapsed again by the double quotes,
  17348. + # leaving us with one backslash in the sed expression (right
  17349. + # before the dot that mustn't act as a wildcard).
  17350. + cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
  17351. + lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
  17352. + # The user is allowed to set LINGUAS to a list of languages to
  17353. + # install catalogs for. If it's empty that means "all of them."
  17354. + if test "x$LINGUAS" = x; then
  17355. + CATALOGS="$CATALOGS $cat"
  17356. + XLINGUAS="$XLINGUAS $lang"
  17357. + else
  17358. + case "$LINGUAS" in *$lang*)
  17359. + CATALOGS="$CATALOGS $cat"
  17360. + XLINGUAS="$XLINGUAS $lang"
  17361. + ;;
  17362. + esac
  17363. + fi
  17364. + done
  17365. + LINGUAS="$XLINGUAS"
  17366. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
  17367. +$as_echo "$LINGUAS" >&6; }
  17368. +
  17369. +
  17370. + DATADIRNAME=share
  17371. +
  17372. + INSTOBJEXT=.mo
  17373. +
  17374. + GENCAT=gencat
  17375. +
  17376. + CATOBJEXT=.gmo
  17377. +
  17378. +fi
  17379. +
  17380. + MKINSTALLDIRS=
  17381. + if test -n "$ac_aux_dir"; then
  17382. + case "$ac_aux_dir" in
  17383. + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
  17384. + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
  17385. + esac
  17386. + fi
  17387. + if test -z "$MKINSTALLDIRS"; then
  17388. + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  17389. + fi
  17390. +
  17391. +
  17392. +
  17393. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  17394. +$as_echo_n "checking whether NLS is requested... " >&6; }
  17395. + @%:@ Check whether --enable-nls was given.
  17396. +if test "${enable_nls+set}" = set; then :
  17397. + enableval=$enable_nls; USE_NLS=$enableval
  17398. +else
  17399. + USE_NLS=yes
  17400. +fi
  17401. +
  17402. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  17403. +$as_echo "$USE_NLS" >&6; }
  17404. +
  17405. +
  17406. +
  17407. +
  17408. +
  17409. +
  17410. +# Prepare PATH_SEPARATOR.
  17411. +# The user is always right.
  17412. +if test "${PATH_SEPARATOR+set}" != set; then
  17413. + echo "#! /bin/sh" >conf$$.sh
  17414. + echo "exit 0" >>conf$$.sh
  17415. + chmod +x conf$$.sh
  17416. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  17417. + PATH_SEPARATOR=';'
  17418. + else
  17419. + PATH_SEPARATOR=:
  17420. + fi
  17421. + rm -f conf$$.sh
  17422. +fi
  17423. +
  17424. +# Find out how to test for executable files. Don't use a zero-byte file,
  17425. +# as systems may use methods other than mode bits to determine executability.
  17426. +cat >conf$$.file <<_ASEOF
  17427. +#! /bin/sh
  17428. +exit 0
  17429. +_ASEOF
  17430. +chmod +x conf$$.file
  17431. +if test -x conf$$.file >/dev/null 2>&1; then
  17432. + ac_executable_p="test -x"
  17433. +else
  17434. + ac_executable_p="test -f"
  17435. +fi
  17436. +rm -f conf$$.file
  17437. +
  17438. +# Extract the first word of "msgfmt", so it can be a program name with args.
  17439. +set dummy msgfmt; ac_word=$2
  17440. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17441. +$as_echo_n "checking for $ac_word... " >&6; }
  17442. +if test "${ac_cv_path_MSGFMT+set}" = set; then :
  17443. + $as_echo_n "(cached) " >&6
  17444. +else
  17445. + case "$MSGFMT" in
  17446. + [\\/]* | ?:[\\/]*)
  17447. + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  17448. + ;;
  17449. + *)
  17450. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  17451. + for ac_dir in $PATH; do
  17452. + IFS="$ac_save_IFS"
  17453. + test -z "$ac_dir" && ac_dir=.
  17454. + for ac_exec_ext in '' $ac_executable_extensions; do
  17455. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  17456. + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  17457. + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  17458. + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
  17459. + break 2
  17460. + fi
  17461. + fi
  17462. + done
  17463. + done
  17464. + IFS="$ac_save_IFS"
  17465. + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  17466. + ;;
  17467. +esac
  17468. +fi
  17469. +MSGFMT="$ac_cv_path_MSGFMT"
  17470. +if test "$MSGFMT" != ":"; then
  17471. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  17472. +$as_echo "$MSGFMT" >&6; }
  17473. +else
  17474. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17475. +$as_echo "no" >&6; }
  17476. +fi
  17477. +
  17478. + # Extract the first word of "gmsgfmt", so it can be a program name with args.
  17479. +set dummy gmsgfmt; ac_word=$2
  17480. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17481. +$as_echo_n "checking for $ac_word... " >&6; }
  17482. +if test "${ac_cv_path_GMSGFMT+set}" = set; then :
  17483. + $as_echo_n "(cached) " >&6
  17484. +else
  17485. + case $GMSGFMT in
  17486. + [\\/]* | ?:[\\/]*)
  17487. + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  17488. + ;;
  17489. + *)
  17490. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17491. +for as_dir in $PATH
  17492. +do
  17493. + IFS=$as_save_IFS
  17494. + test -z "$as_dir" && as_dir=.
  17495. + for ac_exec_ext in '' $ac_executable_extensions; do
  17496. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17497. + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  17498. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  17499. + break 2
  17500. + fi
  17501. +done
  17502. + done
  17503. +IFS=$as_save_IFS
  17504. +
  17505. + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  17506. + ;;
  17507. +esac
  17508. +fi
  17509. +GMSGFMT=$ac_cv_path_GMSGFMT
  17510. +if test -n "$GMSGFMT"; then
  17511. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  17512. +$as_echo "$GMSGFMT" >&6; }
  17513. +else
  17514. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17515. +$as_echo "no" >&6; }
  17516. +fi
  17517. +
  17518. +
  17519. +
  17520. +
  17521. +# Prepare PATH_SEPARATOR.
  17522. +# The user is always right.
  17523. +if test "${PATH_SEPARATOR+set}" != set; then
  17524. + echo "#! /bin/sh" >conf$$.sh
  17525. + echo "exit 0" >>conf$$.sh
  17526. + chmod +x conf$$.sh
  17527. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  17528. + PATH_SEPARATOR=';'
  17529. + else
  17530. + PATH_SEPARATOR=:
  17531. + fi
  17532. + rm -f conf$$.sh
  17533. +fi
  17534. +
  17535. +# Find out how to test for executable files. Don't use a zero-byte file,
  17536. +# as systems may use methods other than mode bits to determine executability.
  17537. +cat >conf$$.file <<_ASEOF
  17538. +#! /bin/sh
  17539. +exit 0
  17540. +_ASEOF
  17541. +chmod +x conf$$.file
  17542. +if test -x conf$$.file >/dev/null 2>&1; then
  17543. + ac_executable_p="test -x"
  17544. +else
  17545. + ac_executable_p="test -f"
  17546. +fi
  17547. +rm -f conf$$.file
  17548. +
  17549. +# Extract the first word of "xgettext", so it can be a program name with args.
  17550. +set dummy xgettext; ac_word=$2
  17551. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17552. +$as_echo_n "checking for $ac_word... " >&6; }
  17553. +if test "${ac_cv_path_XGETTEXT+set}" = set; then :
  17554. + $as_echo_n "(cached) " >&6
  17555. +else
  17556. + case "$XGETTEXT" in
  17557. + [\\/]* | ?:[\\/]*)
  17558. + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  17559. + ;;
  17560. + *)
  17561. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  17562. + for ac_dir in $PATH; do
  17563. + IFS="$ac_save_IFS"
  17564. + test -z "$ac_dir" && ac_dir=.
  17565. + for ac_exec_ext in '' $ac_executable_extensions; do
  17566. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  17567. + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  17568. + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  17569. + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
  17570. + break 2
  17571. + fi
  17572. + fi
  17573. + done
  17574. + done
  17575. + IFS="$ac_save_IFS"
  17576. + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  17577. + ;;
  17578. +esac
  17579. +fi
  17580. +XGETTEXT="$ac_cv_path_XGETTEXT"
  17581. +if test "$XGETTEXT" != ":"; then
  17582. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  17583. +$as_echo "$XGETTEXT" >&6; }
  17584. +else
  17585. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17586. +$as_echo "no" >&6; }
  17587. +fi
  17588. +
  17589. + rm -f messages.po
  17590. +
  17591. +
  17592. +# Prepare PATH_SEPARATOR.
  17593. +# The user is always right.
  17594. +if test "${PATH_SEPARATOR+set}" != set; then
  17595. + echo "#! /bin/sh" >conf$$.sh
  17596. + echo "exit 0" >>conf$$.sh
  17597. + chmod +x conf$$.sh
  17598. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  17599. + PATH_SEPARATOR=';'
  17600. + else
  17601. + PATH_SEPARATOR=:
  17602. + fi
  17603. + rm -f conf$$.sh
  17604. +fi
  17605. +
  17606. +# Find out how to test for executable files. Don't use a zero-byte file,
  17607. +# as systems may use methods other than mode bits to determine executability.
  17608. +cat >conf$$.file <<_ASEOF
  17609. +#! /bin/sh
  17610. +exit 0
  17611. +_ASEOF
  17612. +chmod +x conf$$.file
  17613. +if test -x conf$$.file >/dev/null 2>&1; then
  17614. + ac_executable_p="test -x"
  17615. +else
  17616. + ac_executable_p="test -f"
  17617. +fi
  17618. +rm -f conf$$.file
  17619. +
  17620. +# Extract the first word of "msgmerge", so it can be a program name with args.
  17621. +set dummy msgmerge; ac_word=$2
  17622. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  17623. +$as_echo_n "checking for $ac_word... " >&6; }
  17624. +if test "${ac_cv_path_MSGMERGE+set}" = set; then :
  17625. + $as_echo_n "(cached) " >&6
  17626. +else
  17627. + case "$MSGMERGE" in
  17628. + [\\/]* | ?:[\\/]*)
  17629. + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  17630. + ;;
  17631. + *)
  17632. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  17633. + for ac_dir in $PATH; do
  17634. + IFS="$ac_save_IFS"
  17635. + test -z "$ac_dir" && ac_dir=.
  17636. + for ac_exec_ext in '' $ac_executable_extensions; do
  17637. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  17638. + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
  17639. + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
  17640. + break 2
  17641. + fi
  17642. + fi
  17643. + done
  17644. + done
  17645. + IFS="$ac_save_IFS"
  17646. + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  17647. + ;;
  17648. +esac
  17649. +fi
  17650. +MSGMERGE="$ac_cv_path_MSGMERGE"
  17651. +if test "$MSGMERGE" != ":"; then
  17652. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
  17653. +$as_echo "$MSGMERGE" >&6; }
  17654. +else
  17655. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17656. +$as_echo "no" >&6; }
  17657. +fi
  17658. +
  17659. +
  17660. + if test "$GMSGFMT" != ":"; then
  17661. + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
  17662. + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  17663. + : ;
  17664. + else
  17665. + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
  17666. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
  17667. +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
  17668. + GMSGFMT=":"
  17669. + fi
  17670. + fi
  17671. +
  17672. + if test "$XGETTEXT" != ":"; then
  17673. + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  17674. + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  17675. + : ;
  17676. + else
  17677. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
  17678. +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
  17679. + XGETTEXT=":"
  17680. + fi
  17681. + rm -f messages.po
  17682. + fi
  17683. +
  17684. + ac_config_commands="$ac_config_commands default-1"
  17685. +
  17686. +
  17687. +
  17688. +
  17689. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  17690. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  17691. + @%:@ Check whether --enable-maintainer-mode was given.
  17692. +if test "${enable_maintainer_mode+set}" = set; then :
  17693. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  17694. +else
  17695. + USE_MAINTAINER_MODE=no
  17696. +fi
  17697. +
  17698. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  17699. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  17700. + if test $USE_MAINTAINER_MODE = yes; then
  17701. + MAINTAINER_MODE_TRUE=
  17702. + MAINTAINER_MODE_FALSE='#'
  17703. +else
  17704. + MAINTAINER_MODE_TRUE='#'
  17705. + MAINTAINER_MODE_FALSE=
  17706. +fi
  17707. +
  17708. + MAINT=$MAINTAINER_MODE_TRUE
  17709. +
  17710. +
  17711. + if false; then
  17712. + GENINSRC_NEVER_TRUE=
  17713. + GENINSRC_NEVER_FALSE='#'
  17714. +else
  17715. + GENINSRC_NEVER_TRUE='#'
  17716. + GENINSRC_NEVER_FALSE=
  17717. +fi
  17718. +
  17719. +
  17720. +
  17721. +for ac_header in string.h stdlib.h memory.h strings.h unistd.h errno.h sys/types.h limits.h time.h sys/stat.h
  17722. +do :
  17723. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  17724. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  17725. +eval as_val=\$$as_ac_Header
  17726. + if test "x$as_val" = x""yes; then :
  17727. + cat >>confdefs.h <<_ACEOF
  17728. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  17729. +_ACEOF
  17730. +
  17731. +fi
  17732. +
  17733. +done
  17734. +
  17735. +
  17736. +# Put this here so that autoconf's "cross-compiling" message doesn't confuse
  17737. +# people who are not cross-compiling but are compiling cross-assemblers.
  17738. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling a cross-assembler" >&5
  17739. +$as_echo_n "checking whether compiling a cross-assembler... " >&6; }
  17740. +if test "${host}" = "${target}"; then
  17741. + cross_gas=no
  17742. +else
  17743. + cross_gas=yes
  17744. +
  17745. +$as_echo "@%:@define CROSS_COMPILE 1" >>confdefs.h
  17746. +
  17747. +fi
  17748. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_gas" >&5
  17749. +$as_echo "$cross_gas" >&6; }
  17750. +
  17751. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  17752. +# for constant arguments. Useless!
  17753. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  17754. +$as_echo_n "checking for working alloca.h... " >&6; }
  17755. +if test "${ac_cv_working_alloca_h+set}" = set; then :
  17756. + $as_echo_n "(cached) " >&6
  17757. +else
  17758. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17759. +/* end confdefs.h. */
  17760. +@%:@include <alloca.h>
  17761. +int
  17762. +main ()
  17763. +{
  17764. +char *p = (char *) alloca (2 * sizeof (int));
  17765. + if (p) return 0;
  17766. + ;
  17767. + return 0;
  17768. +}
  17769. +_ACEOF
  17770. +if ac_fn_c_try_link "$LINENO"; then :
  17771. + ac_cv_working_alloca_h=yes
  17772. +else
  17773. + ac_cv_working_alloca_h=no
  17774. +fi
  17775. +rm -f core conftest.err conftest.$ac_objext \
  17776. + conftest$ac_exeext conftest.$ac_ext
  17777. +fi
  17778. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  17779. +$as_echo "$ac_cv_working_alloca_h" >&6; }
  17780. +if test $ac_cv_working_alloca_h = yes; then
  17781. +
  17782. +$as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
  17783. +
  17784. +fi
  17785. +
  17786. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  17787. +$as_echo_n "checking for alloca... " >&6; }
  17788. +if test "${ac_cv_func_alloca_works+set}" = set; then :
  17789. + $as_echo_n "(cached) " >&6
  17790. +else
  17791. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17792. +/* end confdefs.h. */
  17793. +#ifdef __GNUC__
  17794. +# define alloca __builtin_alloca
  17795. +#else
  17796. +# ifdef _MSC_VER
  17797. +# include <malloc.h>
  17798. +# define alloca _alloca
  17799. +# else
  17800. +# ifdef HAVE_ALLOCA_H
  17801. +# include <alloca.h>
  17802. +# else
  17803. +# ifdef _AIX
  17804. + #pragma alloca
  17805. +# else
  17806. +# ifndef alloca /* predefined by HP cc +Olibcalls */
  17807. +char *alloca ();
  17808. +# endif
  17809. +# endif
  17810. +# endif
  17811. +# endif
  17812. +#endif
  17813. +
  17814. +int
  17815. +main ()
  17816. +{
  17817. +char *p = (char *) alloca (1);
  17818. + if (p) return 0;
  17819. + ;
  17820. + return 0;
  17821. +}
  17822. +_ACEOF
  17823. +if ac_fn_c_try_link "$LINENO"; then :
  17824. + ac_cv_func_alloca_works=yes
  17825. +else
  17826. + ac_cv_func_alloca_works=no
  17827. +fi
  17828. +rm -f core conftest.err conftest.$ac_objext \
  17829. + conftest$ac_exeext conftest.$ac_ext
  17830. +fi
  17831. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  17832. +$as_echo "$ac_cv_func_alloca_works" >&6; }
  17833. +
  17834. +if test $ac_cv_func_alloca_works = yes; then
  17835. +
  17836. +$as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  17837. +
  17838. +else
  17839. + # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  17840. +# that cause trouble. Some versions do not even contain alloca or
  17841. +# contain a buggy version. If you still want to use their alloca,
  17842. +# use ar to extract alloca.o from them instead of compiling alloca.c.
  17843. +
  17844. +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  17845. +
  17846. +$as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
  17847. +
  17848. +
  17849. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  17850. +$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  17851. +if test "${ac_cv_os_cray+set}" = set; then :
  17852. + $as_echo_n "(cached) " >&6
  17853. +else
  17854. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17855. +/* end confdefs.h. */
  17856. +#if defined CRAY && ! defined CRAY2
  17857. +webecray
  17858. +#else
  17859. +wenotbecray
  17860. +#endif
  17861. +
  17862. +_ACEOF
  17863. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17864. + $EGREP "webecray" >/dev/null 2>&1; then :
  17865. + ac_cv_os_cray=yes
  17866. +else
  17867. + ac_cv_os_cray=no
  17868. +fi
  17869. +rm -f conftest*
  17870. +
  17871. +fi
  17872. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  17873. +$as_echo "$ac_cv_os_cray" >&6; }
  17874. +if test $ac_cv_os_cray = yes; then
  17875. + for ac_func in _getb67 GETB67 getb67; do
  17876. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17877. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17878. +eval as_val=\$$as_ac_var
  17879. + if test "x$as_val" = x""yes; then :
  17880. +
  17881. +cat >>confdefs.h <<_ACEOF
  17882. +@%:@define CRAY_STACKSEG_END $ac_func
  17883. +_ACEOF
  17884. +
  17885. + break
  17886. +fi
  17887. +
  17888. + done
  17889. +fi
  17890. +
  17891. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  17892. +$as_echo_n "checking stack direction for C alloca... " >&6; }
  17893. +if test "${ac_cv_c_stack_direction+set}" = set; then :
  17894. + $as_echo_n "(cached) " >&6
  17895. +else
  17896. + if test "$cross_compiling" = yes; then :
  17897. + ac_cv_c_stack_direction=0
  17898. +else
  17899. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17900. +/* end confdefs.h. */
  17901. +$ac_includes_default
  17902. +int
  17903. +find_stack_direction ()
  17904. +{
  17905. + static char *addr = 0;
  17906. + auto char dummy;
  17907. + if (addr == 0)
  17908. + {
  17909. + addr = &dummy;
  17910. + return find_stack_direction ();
  17911. + }
  17912. + else
  17913. + return (&dummy > addr) ? 1 : -1;
  17914. +}
  17915. +
  17916. +int
  17917. +main ()
  17918. +{
  17919. + return find_stack_direction () < 0;
  17920. +}
  17921. +_ACEOF
  17922. +if ac_fn_c_try_run "$LINENO"; then :
  17923. + ac_cv_c_stack_direction=1
  17924. +else
  17925. + ac_cv_c_stack_direction=-1
  17926. +fi
  17927. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17928. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  17929. +fi
  17930. +
  17931. +fi
  17932. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  17933. +$as_echo "$ac_cv_c_stack_direction" >&6; }
  17934. +cat >>confdefs.h <<_ACEOF
  17935. +@%:@define STACK_DIRECTION $ac_cv_c_stack_direction
  17936. +_ACEOF
  17937. +
  17938. +
  17939. +fi
  17940. +
  17941. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  17942. +$as_echo_n "checking for inline... " >&6; }
  17943. +if test "${ac_cv_c_inline+set}" = set; then :
  17944. + $as_echo_n "(cached) " >&6
  17945. +else
  17946. + ac_cv_c_inline=no
  17947. +for ac_kw in inline __inline__ __inline; do
  17948. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17949. +/* end confdefs.h. */
  17950. +#ifndef __cplusplus
  17951. +typedef int foo_t;
  17952. +static $ac_kw foo_t static_foo () {return 0; }
  17953. +$ac_kw foo_t foo () {return 0; }
  17954. +#endif
  17955. +
  17956. +_ACEOF
  17957. +if ac_fn_c_try_compile "$LINENO"; then :
  17958. + ac_cv_c_inline=$ac_kw
  17959. +fi
  17960. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17961. + test "$ac_cv_c_inline" != no && break
  17962. +done
  17963. +
  17964. +fi
  17965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  17966. +$as_echo "$ac_cv_c_inline" >&6; }
  17967. +
  17968. +case $ac_cv_c_inline in
  17969. + inline | yes) ;;
  17970. + *)
  17971. + case $ac_cv_c_inline in
  17972. + no) ac_val=;;
  17973. + *) ac_val=$ac_cv_c_inline;;
  17974. + esac
  17975. + cat >>confdefs.h <<_ACEOF
  17976. +#ifndef __cplusplus
  17977. +#define inline $ac_val
  17978. +#endif
  17979. +_ACEOF
  17980. + ;;
  17981. +esac
  17982. +
  17983. +
  17984. +# VMS doesn't have unlink.
  17985. +for ac_func in unlink remove
  17986. +do :
  17987. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17988. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17989. +eval as_val=\$$as_ac_var
  17990. + if test "x$as_val" = x""yes; then :
  17991. + cat >>confdefs.h <<_ACEOF
  17992. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17993. +_ACEOF
  17994. + break
  17995. +fi
  17996. +done
  17997. +
  17998. +
  17999. +# Some systems don't have sbrk().
  18000. +for ac_func in sbrk
  18001. +do :
  18002. + ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk"
  18003. +if test "x$ac_cv_func_sbrk" = x""yes; then :
  18004. + cat >>confdefs.h <<_ACEOF
  18005. +@%:@define HAVE_SBRK 1
  18006. +_ACEOF
  18007. +
  18008. +fi
  18009. +done
  18010. +
  18011. +
  18012. +# do we need the math library?
  18013. +case "${need_libm}" in
  18014. +yes)
  18015. + LIBM=
  18016. +case $host in
  18017. +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
  18018. + # These system don't have libm, or don't need it
  18019. + ;;
  18020. +*-ncr-sysv4.3*)
  18021. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
  18022. +$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
  18023. +if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
  18024. + $as_echo_n "(cached) " >&6
  18025. +else
  18026. + ac_check_lib_save_LIBS=$LIBS
  18027. +LIBS="-lmw $LIBS"
  18028. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18029. +/* end confdefs.h. */
  18030. +
  18031. +/* Override any GCC internal prototype to avoid an error.
  18032. + Use char because int might match the return type of a GCC
  18033. + builtin and then its argument prototype would still apply. */
  18034. +#ifdef __cplusplus
  18035. +extern "C"
  18036. +#endif
  18037. +char _mwvalidcheckl ();
  18038. +int
  18039. +main ()
  18040. +{
  18041. +return _mwvalidcheckl ();
  18042. + ;
  18043. + return 0;
  18044. +}
  18045. +_ACEOF
  18046. +if ac_fn_c_try_link "$LINENO"; then :
  18047. + ac_cv_lib_mw__mwvalidcheckl=yes
  18048. +else
  18049. + ac_cv_lib_mw__mwvalidcheckl=no
  18050. +fi
  18051. +rm -f core conftest.err conftest.$ac_objext \
  18052. + conftest$ac_exeext conftest.$ac_ext
  18053. +LIBS=$ac_check_lib_save_LIBS
  18054. +fi
  18055. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
  18056. +$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
  18057. +if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
  18058. + LIBM="-lmw"
  18059. +fi
  18060. +
  18061. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  18062. +$as_echo_n "checking for cos in -lm... " >&6; }
  18063. +if test "${ac_cv_lib_m_cos+set}" = set; then :
  18064. + $as_echo_n "(cached) " >&6
  18065. +else
  18066. + ac_check_lib_save_LIBS=$LIBS
  18067. +LIBS="-lm $LIBS"
  18068. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18069. +/* end confdefs.h. */
  18070. +
  18071. +/* Override any GCC internal prototype to avoid an error.
  18072. + Use char because int might match the return type of a GCC
  18073. + builtin and then its argument prototype would still apply. */
  18074. +#ifdef __cplusplus
  18075. +extern "C"
  18076. +#endif
  18077. +char cos ();
  18078. +int
  18079. +main ()
  18080. +{
  18081. +return cos ();
  18082. + ;
  18083. + return 0;
  18084. +}
  18085. +_ACEOF
  18086. +if ac_fn_c_try_link "$LINENO"; then :
  18087. + ac_cv_lib_m_cos=yes
  18088. +else
  18089. + ac_cv_lib_m_cos=no
  18090. +fi
  18091. +rm -f core conftest.err conftest.$ac_objext \
  18092. + conftest$ac_exeext conftest.$ac_ext
  18093. +LIBS=$ac_check_lib_save_LIBS
  18094. +fi
  18095. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  18096. +$as_echo "$ac_cv_lib_m_cos" >&6; }
  18097. +if test "x$ac_cv_lib_m_cos" = x""yes; then :
  18098. + LIBM="$LIBM -lm"
  18099. +fi
  18100. +
  18101. + ;;
  18102. +*)
  18103. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
  18104. +$as_echo_n "checking for cos in -lm... " >&6; }
  18105. +if test "${ac_cv_lib_m_cos+set}" = set; then :
  18106. + $as_echo_n "(cached) " >&6
  18107. +else
  18108. + ac_check_lib_save_LIBS=$LIBS
  18109. +LIBS="-lm $LIBS"
  18110. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18111. +/* end confdefs.h. */
  18112. +
  18113. +/* Override any GCC internal prototype to avoid an error.
  18114. + Use char because int might match the return type of a GCC
  18115. + builtin and then its argument prototype would still apply. */
  18116. +#ifdef __cplusplus
  18117. +extern "C"
  18118. +#endif
  18119. +char cos ();
  18120. +int
  18121. +main ()
  18122. +{
  18123. +return cos ();
  18124. + ;
  18125. + return 0;
  18126. +}
  18127. +_ACEOF
  18128. +if ac_fn_c_try_link "$LINENO"; then :
  18129. + ac_cv_lib_m_cos=yes
  18130. +else
  18131. + ac_cv_lib_m_cos=no
  18132. +fi
  18133. +rm -f core conftest.err conftest.$ac_objext \
  18134. + conftest$ac_exeext conftest.$ac_ext
  18135. +LIBS=$ac_check_lib_save_LIBS
  18136. +fi
  18137. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
  18138. +$as_echo "$ac_cv_lib_m_cos" >&6; }
  18139. +if test "x$ac_cv_lib_m_cos" = x""yes; then :
  18140. + LIBM="-lm"
  18141. +fi
  18142. +
  18143. + ;;
  18144. +esac
  18145. +
  18146. +
  18147. +
  18148. + ;;
  18149. +esac
  18150. +
  18151. +# Some non-ANSI preprocessors botch requoting inside strings. That's bad
  18152. +# enough, but on some of those systems, the assert macro relies on requoting
  18153. +# working properly!
  18154. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working assert macro" >&5
  18155. +$as_echo_n "checking for working assert macro... " >&6; }
  18156. +if test "${gas_cv_assert_ok+set}" = set; then :
  18157. + $as_echo_n "(cached) " >&6
  18158. +else
  18159. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18160. +/* end confdefs.h. */
  18161. +#include <assert.h>
  18162. +#include <stdio.h>
  18163. +int
  18164. +main ()
  18165. +{
  18166. +
  18167. +/* check for requoting problems */
  18168. +static int a, b, c, d;
  18169. +static char *s;
  18170. +assert (!strcmp(s, "foo bar baz quux"));
  18171. +/* check for newline handling */
  18172. +assert (a == b
  18173. + || c == d);
  18174. +
  18175. + ;
  18176. + return 0;
  18177. +}
  18178. +_ACEOF
  18179. +if ac_fn_c_try_link "$LINENO"; then :
  18180. + gas_cv_assert_ok=yes
  18181. +else
  18182. + gas_cv_assert_ok=no
  18183. +fi
  18184. +rm -f core conftest.err conftest.$ac_objext \
  18185. + conftest$ac_exeext conftest.$ac_ext
  18186. +fi
  18187. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_assert_ok" >&5
  18188. +$as_echo "$gas_cv_assert_ok" >&6; }
  18189. +test $gas_cv_assert_ok = yes ||
  18190. +$as_echo "@%:@define BROKEN_ASSERT 1" >>confdefs.h
  18191. +
  18192. +
  18193. +
  18194. +# On some systems, the system header files may not declare malloc, realloc,
  18195. +# and free. There are places where gas needs these functions to have been
  18196. +# declared -- such as when taking their addresses.
  18197. +gas_test_headers="
  18198. +#ifdef HAVE_MEMORY_H
  18199. +#include <memory.h>
  18200. +#endif
  18201. +#ifdef HAVE_STRING_H
  18202. +#include <string.h>
  18203. +#else
  18204. +#ifdef HAVE_STRINGS_H
  18205. +#include <strings.h>
  18206. +#endif
  18207. +#endif
  18208. +#ifdef HAVE_STDLIB_H
  18209. +#include <stdlib.h>
  18210. +#endif
  18211. +#ifdef HAVE_UNISTD_H
  18212. +#include <unistd.h>
  18213. +#endif
  18214. +"
  18215. +
  18216. +# Does errno.h declare errno, or do we have to add a separate declaration
  18217. +# for it?
  18218. +
  18219. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for errno" >&5
  18220. +$as_echo_n "checking whether declaration is required for errno... " >&6; }
  18221. +if test "${gas_cv_decl_needed_errno+set}" = set; then :
  18222. + $as_echo_n "(cached) " >&6
  18223. +else
  18224. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18225. +/* end confdefs.h. */
  18226. +
  18227. +#ifdef HAVE_ERRNO_H
  18228. +#include <errno.h>
  18229. +#endif
  18230. +
  18231. +int
  18232. +main ()
  18233. +{
  18234. +
  18235. +typedef int f;
  18236. +f x;
  18237. +x = (f) errno;
  18238. +
  18239. + ;
  18240. + return 0;
  18241. +}
  18242. +_ACEOF
  18243. +if ac_fn_c_try_link "$LINENO"; then :
  18244. + gas_cv_decl_needed_errno=no
  18245. +else
  18246. + gas_cv_decl_needed_errno=yes
  18247. +fi
  18248. +rm -f core conftest.err conftest.$ac_objext \
  18249. + conftest$ac_exeext conftest.$ac_ext
  18250. +fi
  18251. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_errno" >&5
  18252. +$as_echo "$gas_cv_decl_needed_errno" >&6; }
  18253. +if test $gas_cv_decl_needed_errno = yes; then
  18254. +
  18255. +$as_echo "@%:@define NEED_DECLARATION_ERRNO 1" >>confdefs.h
  18256. +
  18257. +fi
  18258. +
  18259. +
  18260. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
  18261. +$as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
  18262. +if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then :
  18263. + $as_echo_n "(cached) " >&6
  18264. +else
  18265. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18266. +/* end confdefs.h. */
  18267. +#include <unistd.h>
  18268. +int
  18269. +main ()
  18270. +{
  18271. +extern int getopt (int, char *const*, const char *);
  18272. + ;
  18273. + return 0;
  18274. +}
  18275. +_ACEOF
  18276. +if ac_fn_c_try_compile "$LINENO"; then :
  18277. + gas_cv_decl_getopt_unistd_h=yes
  18278. +else
  18279. + gas_cv_decl_getopt_unistd_h=no
  18280. +fi
  18281. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18282. +fi
  18283. +
  18284. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_getopt_unistd_h" >&5
  18285. +$as_echo "$gas_cv_decl_getopt_unistd_h" >&6; }
  18286. +if test $gas_cv_decl_getopt_unistd_h = yes; then
  18287. +
  18288. +$as_echo "@%:@define HAVE_DECL_GETOPT 1" >>confdefs.h
  18289. +
  18290. +fi
  18291. +
  18292. +
  18293. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for environ" >&5
  18294. +$as_echo_n "checking whether declaration is required for environ... " >&6; }
  18295. +if test "${gas_cv_decl_needed_environ+set}" = set; then :
  18296. + $as_echo_n "(cached) " >&6
  18297. +else
  18298. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18299. +/* end confdefs.h. */
  18300. +$gas_test_headers
  18301. +int
  18302. +main ()
  18303. +{
  18304. +
  18305. +typedef char **f;
  18306. +f x;
  18307. +x = (f) environ;
  18308. +
  18309. + ;
  18310. + return 0;
  18311. +}
  18312. +_ACEOF
  18313. +if ac_fn_c_try_link "$LINENO"; then :
  18314. + gas_cv_decl_needed_environ=no
  18315. +else
  18316. + gas_cv_decl_needed_environ=yes
  18317. +fi
  18318. +rm -f core conftest.err conftest.$ac_objext \
  18319. + conftest$ac_exeext conftest.$ac_ext
  18320. +fi
  18321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_environ" >&5
  18322. +$as_echo "$gas_cv_decl_needed_environ" >&6; }
  18323. +if test $gas_cv_decl_needed_environ = yes; then
  18324. +
  18325. +$as_echo "@%:@define NEED_DECLARATION_ENVIRON 1" >>confdefs.h
  18326. +
  18327. +fi
  18328. +
  18329. +
  18330. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for ffs" >&5
  18331. +$as_echo_n "checking whether declaration is required for ffs... " >&6; }
  18332. +if test "${gas_cv_decl_needed_ffs+set}" = set; then :
  18333. + $as_echo_n "(cached) " >&6
  18334. +else
  18335. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18336. +/* end confdefs.h. */
  18337. +$gas_test_headers
  18338. +int
  18339. +main ()
  18340. +{
  18341. +
  18342. +typedef int (*f)(int);
  18343. +f x;
  18344. +x = (f) ffs;
  18345. +
  18346. + ;
  18347. + return 0;
  18348. +}
  18349. +_ACEOF
  18350. +if ac_fn_c_try_link "$LINENO"; then :
  18351. + gas_cv_decl_needed_ffs=no
  18352. +else
  18353. + gas_cv_decl_needed_ffs=yes
  18354. +fi
  18355. +rm -f core conftest.err conftest.$ac_objext \
  18356. + conftest$ac_exeext conftest.$ac_ext
  18357. +fi
  18358. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_ffs" >&5
  18359. +$as_echo "$gas_cv_decl_needed_ffs" >&6; }
  18360. +if test $gas_cv_decl_needed_ffs = yes; then
  18361. +
  18362. +$as_echo "@%:@define NEED_DECLARATION_FFS 1" >>confdefs.h
  18363. +
  18364. +fi
  18365. +
  18366. +
  18367. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for free" >&5
  18368. +$as_echo_n "checking whether declaration is required for free... " >&6; }
  18369. +if test "${gas_cv_decl_needed_free+set}" = set; then :
  18370. + $as_echo_n "(cached) " >&6
  18371. +else
  18372. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18373. +/* end confdefs.h. */
  18374. +$gas_test_headers
  18375. +int
  18376. +main ()
  18377. +{
  18378. +
  18379. +typedef void (*f)();
  18380. +f x;
  18381. +x = (f) free;
  18382. +
  18383. + ;
  18384. + return 0;
  18385. +}
  18386. +_ACEOF
  18387. +if ac_fn_c_try_link "$LINENO"; then :
  18388. + gas_cv_decl_needed_free=no
  18389. +else
  18390. + gas_cv_decl_needed_free=yes
  18391. +fi
  18392. +rm -f core conftest.err conftest.$ac_objext \
  18393. + conftest$ac_exeext conftest.$ac_ext
  18394. +fi
  18395. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_free" >&5
  18396. +$as_echo "$gas_cv_decl_needed_free" >&6; }
  18397. +if test $gas_cv_decl_needed_free = yes; then
  18398. +
  18399. +$as_echo "@%:@define NEED_DECLARATION_FREE 1" >>confdefs.h
  18400. +
  18401. +fi
  18402. +
  18403. +
  18404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for malloc" >&5
  18405. +$as_echo_n "checking whether declaration is required for malloc... " >&6; }
  18406. +if test "${gas_cv_decl_needed_malloc+set}" = set; then :
  18407. + $as_echo_n "(cached) " >&6
  18408. +else
  18409. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18410. +/* end confdefs.h. */
  18411. +$gas_test_headers
  18412. +int
  18413. +main ()
  18414. +{
  18415. +
  18416. +typedef char *(*f)();
  18417. +f x;
  18418. +x = (f) malloc;
  18419. +
  18420. + ;
  18421. + return 0;
  18422. +}
  18423. +_ACEOF
  18424. +if ac_fn_c_try_link "$LINENO"; then :
  18425. + gas_cv_decl_needed_malloc=no
  18426. +else
  18427. + gas_cv_decl_needed_malloc=yes
  18428. +fi
  18429. +rm -f core conftest.err conftest.$ac_objext \
  18430. + conftest$ac_exeext conftest.$ac_ext
  18431. +fi
  18432. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_malloc" >&5
  18433. +$as_echo "$gas_cv_decl_needed_malloc" >&6; }
  18434. +if test $gas_cv_decl_needed_malloc = yes; then
  18435. +
  18436. +$as_echo "@%:@define NEED_DECLARATION_MALLOC 1" >>confdefs.h
  18437. +
  18438. +fi
  18439. +
  18440. +
  18441. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for sbrk" >&5
  18442. +$as_echo_n "checking whether declaration is required for sbrk... " >&6; }
  18443. +if test "${gas_cv_decl_needed_sbrk+set}" = set; then :
  18444. + $as_echo_n "(cached) " >&6
  18445. +else
  18446. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18447. +/* end confdefs.h. */
  18448. +$gas_test_headers
  18449. +int
  18450. +main ()
  18451. +{
  18452. +
  18453. +typedef char *(*f)();
  18454. +f x;
  18455. +x = (f) sbrk;
  18456. +
  18457. + ;
  18458. + return 0;
  18459. +}
  18460. +_ACEOF
  18461. +if ac_fn_c_try_link "$LINENO"; then :
  18462. + gas_cv_decl_needed_sbrk=no
  18463. +else
  18464. + gas_cv_decl_needed_sbrk=yes
  18465. +fi
  18466. +rm -f core conftest.err conftest.$ac_objext \
  18467. + conftest$ac_exeext conftest.$ac_ext
  18468. +fi
  18469. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_sbrk" >&5
  18470. +$as_echo "$gas_cv_decl_needed_sbrk" >&6; }
  18471. +if test $gas_cv_decl_needed_sbrk = yes; then
  18472. +
  18473. +$as_echo "@%:@define NEED_DECLARATION_SBRK 1" >>confdefs.h
  18474. +
  18475. +fi
  18476. +
  18477. +
  18478. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether declaration is required for strstr" >&5
  18479. +$as_echo_n "checking whether declaration is required for strstr... " >&6; }
  18480. +if test "${gas_cv_decl_needed_strstr+set}" = set; then :
  18481. + $as_echo_n "(cached) " >&6
  18482. +else
  18483. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18484. +/* end confdefs.h. */
  18485. +$gas_test_headers
  18486. +int
  18487. +main ()
  18488. +{
  18489. +
  18490. +typedef char *(*f)();
  18491. +f x;
  18492. +x = (f) strstr;
  18493. +
  18494. + ;
  18495. + return 0;
  18496. +}
  18497. +_ACEOF
  18498. +if ac_fn_c_try_link "$LINENO"; then :
  18499. + gas_cv_decl_needed_strstr=no
  18500. +else
  18501. + gas_cv_decl_needed_strstr=yes
  18502. +fi
  18503. +rm -f core conftest.err conftest.$ac_objext \
  18504. + conftest$ac_exeext conftest.$ac_ext
  18505. +fi
  18506. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_decl_needed_strstr" >&5
  18507. +$as_echo "$gas_cv_decl_needed_strstr" >&6; }
  18508. +if test $gas_cv_decl_needed_strstr = yes; then
  18509. +
  18510. +$as_echo "@%:@define NEED_DECLARATION_STRSTR 1" >>confdefs.h
  18511. +
  18512. +fi
  18513. +
  18514. +
  18515. +ac_fn_c_check_decl "$LINENO" "mempcpy" "ac_cv_have_decl_mempcpy" "$ac_includes_default"
  18516. +if test "x$ac_cv_have_decl_mempcpy" = x""yes; then :
  18517. + ac_have_decl=1
  18518. +else
  18519. + ac_have_decl=0
  18520. +fi
  18521. +
  18522. +cat >>confdefs.h <<_ACEOF
  18523. +@%:@define HAVE_DECL_MEMPCPY $ac_have_decl
  18524. +_ACEOF
  18525. +
  18526. +ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
  18527. +if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
  18528. + ac_have_decl=1
  18529. +else
  18530. + ac_have_decl=0
  18531. +fi
  18532. +
  18533. +cat >>confdefs.h <<_ACEOF
  18534. +@%:@define HAVE_DECL_VSNPRINTF $ac_have_decl
  18535. +_ACEOF
  18536. +
  18537. +
  18538. +
  18539. +case "${host}" in
  18540. +*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
  18541. +
  18542. +$as_echo "@%:@define USE_BINARY_FOPEN 1" >>confdefs.h
  18543. + ;;
  18544. +esac
  18545. +
  18546. +# Link in zlib if we can. This allows us to write compressed debug sections.
  18547. +
  18548. + # See if the user specified whether he wants zlib support or not.
  18549. +
  18550. +@%:@ Check whether --with-zlib was given.
  18551. +if test "${with_zlib+set}" = set; then :
  18552. + withval=$with_zlib;
  18553. +else
  18554. + with_zlib=auto
  18555. +fi
  18556. +
  18557. +
  18558. + if test "$with_zlib" != "no"; then
  18559. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
  18560. +$as_echo_n "checking for library containing zlibVersion... " >&6; }
  18561. +if test "${ac_cv_search_zlibVersion+set}" = set; then :
  18562. + $as_echo_n "(cached) " >&6
  18563. +else
  18564. + ac_func_search_save_LIBS=$LIBS
  18565. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18566. +/* end confdefs.h. */
  18567. +
  18568. +/* Override any GCC internal prototype to avoid an error.
  18569. + Use char because int might match the return type of a GCC
  18570. + builtin and then its argument prototype would still apply. */
  18571. +#ifdef __cplusplus
  18572. +extern "C"
  18573. +#endif
  18574. +char zlibVersion ();
  18575. +int
  18576. +main ()
  18577. +{
  18578. +return zlibVersion ();
  18579. + ;
  18580. + return 0;
  18581. +}
  18582. +_ACEOF
  18583. +for ac_lib in '' z; do
  18584. + if test -z "$ac_lib"; then
  18585. + ac_res="none required"
  18586. + else
  18587. + ac_res=-l$ac_lib
  18588. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  18589. + fi
  18590. + if ac_fn_c_try_link "$LINENO"; then :
  18591. + ac_cv_search_zlibVersion=$ac_res
  18592. +fi
  18593. +rm -f core conftest.err conftest.$ac_objext \
  18594. + conftest$ac_exeext
  18595. + if test "${ac_cv_search_zlibVersion+set}" = set; then :
  18596. + break
  18597. +fi
  18598. +done
  18599. +if test "${ac_cv_search_zlibVersion+set}" = set; then :
  18600. +
  18601. +else
  18602. + ac_cv_search_zlibVersion=no
  18603. +fi
  18604. +rm conftest.$ac_ext
  18605. +LIBS=$ac_func_search_save_LIBS
  18606. +fi
  18607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
  18608. +$as_echo "$ac_cv_search_zlibVersion" >&6; }
  18609. +ac_res=$ac_cv_search_zlibVersion
  18610. +if test "$ac_res" != no; then :
  18611. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  18612. + for ac_header in zlib.h
  18613. +do :
  18614. + ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
  18615. +if test "x$ac_cv_header_zlib_h" = x""yes; then :
  18616. + cat >>confdefs.h <<_ACEOF
  18617. +@%:@define HAVE_ZLIB_H 1
  18618. +_ACEOF
  18619. +
  18620. +fi
  18621. +
  18622. +done
  18623. +
  18624. +fi
  18625. +
  18626. + if test "$with_zlib" = "yes" -a "$ac_cv_header_zlib_h" != "yes"; then
  18627. + as_fn_error "zlib (libz) library was explicitly requested but not found" "$LINENO" 5
  18628. + fi
  18629. + fi
  18630. +
  18631. +
  18632. +# Support for VMS timestamps via cross compile
  18633. +
  18634. +if test "$ac_cv_header_time_h" = yes; then
  18635. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct tm.tm_gmtoff in time.h" >&5
  18636. +$as_echo_n "checking for struct tm.tm_gmtoff in time.h... " >&6; }
  18637. + if test "${gas_cv_have_time_type_member_tm_gmtoff+set}" = set; then :
  18638. + $as_echo_n "(cached) " >&6
  18639. +else
  18640. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18641. +/* end confdefs.h. */
  18642. +
  18643. +#define _BSD_SOURCE 1
  18644. +#include <time.h>
  18645. +int
  18646. +main ()
  18647. +{
  18648. +struct tm avar; void* aref = (void*) &avar.tm_gmtoff
  18649. + ;
  18650. + return 0;
  18651. +}
  18652. +_ACEOF
  18653. +if ac_fn_c_try_compile "$LINENO"; then :
  18654. + gas_cv_have_time_type_member_tm_gmtoff=yes
  18655. +else
  18656. + gas_cv_have_time_type_member_tm_gmtoff=no
  18657. +
  18658. +fi
  18659. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18660. +fi
  18661. +
  18662. + if test $gas_cv_have_time_type_member_tm_gmtoff = yes; then
  18663. +
  18664. +$as_echo "@%:@define HAVE_TM_GMTOFF 1" >>confdefs.h
  18665. +
  18666. + fi
  18667. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_time_type_member_tm_gmtoff" >&5
  18668. +$as_echo "$gas_cv_have_time_type_member_tm_gmtoff" >&6; }
  18669. +
  18670. +fi
  18671. +
  18672. +if test "$ac_cv_header_sys_stat_h" = yes; then
  18673. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_sec in sys/stat.h" >&5
  18674. +$as_echo_n "checking for struct stat.st_mtim.tv_sec in sys/stat.h... " >&6; }
  18675. + if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_sec+set}" = set; then :
  18676. + $as_echo_n "(cached) " >&6
  18677. +else
  18678. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18679. +/* end confdefs.h. */
  18680. +
  18681. +#define _BSD_SOURCE 1
  18682. +#include <sys/stat.h>
  18683. +int
  18684. +main ()
  18685. +{
  18686. +struct stat avar; void* aref = (void*) &avar.st_mtim.tv_sec
  18687. + ;
  18688. + return 0;
  18689. +}
  18690. +_ACEOF
  18691. +if ac_fn_c_try_compile "$LINENO"; then :
  18692. + gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=yes
  18693. +else
  18694. + gas_cv_have_sys_stat_type_member_st_mtim_tv_sec=no
  18695. +
  18696. +fi
  18697. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18698. +fi
  18699. +
  18700. + if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec = yes; then
  18701. +
  18702. +$as_echo "@%:@define HAVE_ST_MTIM_TV_SEC 1" >>confdefs.h
  18703. +
  18704. + fi
  18705. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&5
  18706. +$as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_sec" >&6; }
  18707. +
  18708. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec in sys/stat.h" >&5
  18709. +$as_echo_n "checking for struct stat.st_mtim.tv_nsec in sys/stat.h... " >&6; }
  18710. + if test "${gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec+set}" = set; then :
  18711. + $as_echo_n "(cached) " >&6
  18712. +else
  18713. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18714. +/* end confdefs.h. */
  18715. +
  18716. +#define _BSD_SOURCE 1
  18717. +#include <sys/stat.h>
  18718. +int
  18719. +main ()
  18720. +{
  18721. +struct stat avar; void* aref = (void*) &avar.st_mtim.tv_nsec
  18722. + ;
  18723. + return 0;
  18724. +}
  18725. +_ACEOF
  18726. +if ac_fn_c_try_compile "$LINENO"; then :
  18727. + gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=yes
  18728. +else
  18729. + gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec=no
  18730. +
  18731. +fi
  18732. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18733. +fi
  18734. +
  18735. + if test $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec = yes; then
  18736. +
  18737. +$as_echo "@%:@define HAVE_ST_MTIM_TV_NSEC 1" >>confdefs.h
  18738. +
  18739. + fi
  18740. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&5
  18741. +$as_echo "$gas_cv_have_sys_stat_type_member_st_mtim_tv_nsec" >&6; }
  18742. +
  18743. +fi
  18744. +
  18745. +
  18746. +
  18747. +
  18748. +
  18749. +
  18750. +
  18751. +
  18752. +
  18753. +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
  18754. +
  18755. +ac_config_commands="$ac_config_commands default"
  18756. +
  18757. +
  18758. +cat >confcache <<\_ACEOF
  18759. +# This file is a shell script that caches the results of configure
  18760. +# tests run on this system so they can be shared between configure
  18761. +# scripts and configure runs, see configure's option --config-cache.
  18762. +# It is not useful on other systems. If it contains results you don't
  18763. +# want to keep, you may remove or edit it.
  18764. +#
  18765. +# config.status only pays attention to the cache file if you give it
  18766. +# the --recheck option to rerun configure.
  18767. +#
  18768. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  18769. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  18770. +# following values.
  18771. +
  18772. +_ACEOF
  18773. +
  18774. +# The following way of writing the cache mishandles newlines in values,
  18775. +# but we know of no workaround that is simple, portable, and efficient.
  18776. +# So, we kill variables containing newlines.
  18777. +# Ultrix sh set writes to stderr and can't be redirected directly,
  18778. +# and sets the high bit in the cache file unless we assign to the vars.
  18779. +(
  18780. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  18781. + eval ac_val=\$$ac_var
  18782. + case $ac_val in #(
  18783. + *${as_nl}*)
  18784. + case $ac_var in #(
  18785. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  18786. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  18787. + esac
  18788. + case $ac_var in #(
  18789. + _ | IFS | as_nl) ;; #(
  18790. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  18791. + *) { eval $ac_var=; unset $ac_var;} ;;
  18792. + esac ;;
  18793. + esac
  18794. + done
  18795. +
  18796. + (set) 2>&1 |
  18797. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  18798. + *${as_nl}ac_space=\ *)
  18799. + # `set' does not quote correctly, so add quotes: double-quote
  18800. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  18801. + sed -n \
  18802. + "s/'/'\\\\''/g;
  18803. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  18804. + ;; #(
  18805. + *)
  18806. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  18807. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  18808. + ;;
  18809. + esac |
  18810. + sort
  18811. +) |
  18812. + sed '
  18813. + /^ac_cv_env_/b end
  18814. + t clear
  18815. + :clear
  18816. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  18817. + t end
  18818. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  18819. + :end' >>confcache
  18820. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  18821. + if test -w "$cache_file"; then
  18822. + test "x$cache_file" != "x/dev/null" &&
  18823. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  18824. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  18825. + cat confcache >$cache_file
  18826. + else
  18827. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  18828. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  18829. + fi
  18830. +fi
  18831. +rm -f confcache
  18832. +
  18833. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  18834. +# Let make expand exec_prefix.
  18835. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  18836. +
  18837. +DEFS=-DHAVE_CONFIG_H
  18838. +
  18839. +ac_libobjs=
  18840. +ac_ltlibobjs=
  18841. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  18842. + # 1. Remove the extension, and $U if already installed.
  18843. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  18844. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  18845. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  18846. + # will be set to the directory where LIBOBJS objects are built.
  18847. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  18848. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  18849. +done
  18850. +LIB@&t@OBJS=$ac_libobjs
  18851. +
  18852. +LTLIBOBJS=$ac_ltlibobjs
  18853. +
  18854. +
  18855. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  18856. + as_fn_error "conditional \"AMDEP\" was never defined.
  18857. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  18858. +fi
  18859. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  18860. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  18861. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  18862. +fi
  18863. + if test -n "$EXEEXT"; then
  18864. + am__EXEEXT_TRUE=
  18865. + am__EXEEXT_FALSE='#'
  18866. +else
  18867. + am__EXEEXT_TRUE='#'
  18868. + am__EXEEXT_FALSE=
  18869. +fi
  18870. +
  18871. +
  18872. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  18873. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  18874. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  18875. +fi
  18876. +if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
  18877. + as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
  18878. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  18879. +fi
  18880. +
  18881. +: ${CONFIG_STATUS=./config.status}
  18882. +ac_write_fail=0
  18883. +ac_clean_files_save=$ac_clean_files
  18884. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  18885. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  18886. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  18887. +as_write_fail=0
  18888. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  18889. +#! $SHELL
  18890. +# Generated by $as_me.
  18891. +# Run this file to recreate the current configuration.
  18892. +# Compiler output produced by configure, useful for debugging
  18893. +# configure, is in config.log if it exists.
  18894. +
  18895. +debug=false
  18896. +ac_cs_recheck=false
  18897. +ac_cs_silent=false
  18898. +
  18899. +SHELL=\${CONFIG_SHELL-$SHELL}
  18900. +export SHELL
  18901. +_ASEOF
  18902. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  18903. +## -------------------- ##
  18904. +## M4sh Initialization. ##
  18905. +## -------------------- ##
  18906. +
  18907. +# Be more Bourne compatible
  18908. +DUALCASE=1; export DUALCASE # for MKS sh
  18909. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  18910. + emulate sh
  18911. + NULLCMD=:
  18912. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  18913. + # is contrary to our usage. Disable this feature.
  18914. + alias -g '${1+"$@"}'='"$@"'
  18915. + setopt NO_GLOB_SUBST
  18916. +else
  18917. + case `(set -o) 2>/dev/null` in @%:@(
  18918. + *posix*) :
  18919. + set -o posix ;; @%:@(
  18920. + *) :
  18921. + ;;
  18922. +esac
  18923. +fi
  18924. +
  18925. +
  18926. +as_nl='
  18927. +'
  18928. +export as_nl
  18929. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  18930. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  18931. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  18932. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  18933. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  18934. +# but without wasting forks for bash or zsh.
  18935. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  18936. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  18937. + as_echo='print -r --'
  18938. + as_echo_n='print -rn --'
  18939. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  18940. + as_echo='printf %s\n'
  18941. + as_echo_n='printf %s'
  18942. +else
  18943. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  18944. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  18945. + as_echo_n='/usr/ucb/echo -n'
  18946. + else
  18947. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  18948. + as_echo_n_body='eval
  18949. + arg=$1;
  18950. + case $arg in @%:@(
  18951. + *"$as_nl"*)
  18952. + expr "X$arg" : "X\\(.*\\)$as_nl";
  18953. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  18954. + esac;
  18955. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  18956. + '
  18957. + export as_echo_n_body
  18958. + as_echo_n='sh -c $as_echo_n_body as_echo'
  18959. + fi
  18960. + export as_echo_body
  18961. + as_echo='sh -c $as_echo_body as_echo'
  18962. +fi
  18963. +
  18964. +# The user is always right.
  18965. +if test "${PATH_SEPARATOR+set}" != set; then
  18966. + PATH_SEPARATOR=:
  18967. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  18968. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  18969. + PATH_SEPARATOR=';'
  18970. + }
  18971. +fi
  18972. +
  18973. +
  18974. +# IFS
  18975. +# We need space, tab and new line, in precisely that order. Quoting is
  18976. +# there to prevent editors from complaining about space-tab.
  18977. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  18978. +# splitting by setting IFS to empty value.)
  18979. +IFS=" "" $as_nl"
  18980. +
  18981. +# Find who we are. Look in the path if we contain no directory separator.
  18982. +case $0 in @%:@((
  18983. + *[\\/]* ) as_myself=$0 ;;
  18984. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18985. +for as_dir in $PATH
  18986. +do
  18987. + IFS=$as_save_IFS
  18988. + test -z "$as_dir" && as_dir=.
  18989. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  18990. + done
  18991. +IFS=$as_save_IFS
  18992. +
  18993. + ;;
  18994. +esac
  18995. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  18996. +# in which case we are not to be found in the path.
  18997. +if test "x$as_myself" = x; then
  18998. + as_myself=$0
  18999. +fi
  19000. +if test ! -f "$as_myself"; then
  19001. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19002. + exit 1
  19003. +fi
  19004. +
  19005. +# Unset variables that we do not need and which cause bugs (e.g. in
  19006. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  19007. +# suppresses any "Segmentation fault" message there. '((' could
  19008. +# trigger a bug in pdksh 5.2.14.
  19009. +for as_var in BASH_ENV ENV MAIL MAILPATH
  19010. +do eval test x\${$as_var+set} = xset \
  19011. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  19012. +done
  19013. +PS1='$ '
  19014. +PS2='> '
  19015. +PS4='+ '
  19016. +
  19017. +# NLS nuisances.
  19018. +LC_ALL=C
  19019. +export LC_ALL
  19020. +LANGUAGE=C
  19021. +export LANGUAGE
  19022. +
  19023. +# CDPATH.
  19024. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19025. +
  19026. +
  19027. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  19028. +@%:@ ---------------------------------
  19029. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  19030. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  19031. +@%:@ script with status $?, using 1 if that was 0.
  19032. +as_fn_error ()
  19033. +{
  19034. + as_status=$?; test $as_status -eq 0 && as_status=1
  19035. + if test "$3"; then
  19036. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  19037. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  19038. + fi
  19039. + $as_echo "$as_me: error: $1" >&2
  19040. + as_fn_exit $as_status
  19041. +} @%:@ as_fn_error
  19042. +
  19043. +
  19044. +@%:@ as_fn_set_status STATUS
  19045. +@%:@ -----------------------
  19046. +@%:@ Set $? to STATUS, without forking.
  19047. +as_fn_set_status ()
  19048. +{
  19049. + return $1
  19050. +} @%:@ as_fn_set_status
  19051. +
  19052. +@%:@ as_fn_exit STATUS
  19053. +@%:@ -----------------
  19054. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  19055. +as_fn_exit ()
  19056. +{
  19057. + set +e
  19058. + as_fn_set_status $1
  19059. + exit $1
  19060. +} @%:@ as_fn_exit
  19061. +
  19062. +@%:@ as_fn_unset VAR
  19063. +@%:@ ---------------
  19064. +@%:@ Portably unset VAR.
  19065. +as_fn_unset ()
  19066. +{
  19067. + { eval $1=; unset $1;}
  19068. +}
  19069. +as_unset=as_fn_unset
  19070. +@%:@ as_fn_append VAR VALUE
  19071. +@%:@ ----------------------
  19072. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  19073. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  19074. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  19075. +@%:@ implementations.
  19076. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  19077. + eval 'as_fn_append ()
  19078. + {
  19079. + eval $1+=\$2
  19080. + }'
  19081. +else
  19082. + as_fn_append ()
  19083. + {
  19084. + eval $1=\$$1\$2
  19085. + }
  19086. +fi # as_fn_append
  19087. +
  19088. +@%:@ as_fn_arith ARG...
  19089. +@%:@ ------------------
  19090. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  19091. +@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
  19092. +@%:@ must be portable across $(()) and expr.
  19093. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  19094. + eval 'as_fn_arith ()
  19095. + {
  19096. + as_val=$(( $* ))
  19097. + }'
  19098. +else
  19099. + as_fn_arith ()
  19100. + {
  19101. + as_val=`expr "$@" || test $? -eq 1`
  19102. + }
  19103. +fi # as_fn_arith
  19104. +
  19105. +
  19106. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  19107. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19108. + as_expr=expr
  19109. +else
  19110. + as_expr=false
  19111. +fi
  19112. +
  19113. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19114. + as_basename=basename
  19115. +else
  19116. + as_basename=false
  19117. +fi
  19118. +
  19119. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19120. + as_dirname=dirname
  19121. +else
  19122. + as_dirname=false
  19123. +fi
  19124. +
  19125. +as_me=`$as_basename -- "$0" ||
  19126. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19127. + X"$0" : 'X\(//\)$' \| \
  19128. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19129. +$as_echo X/"$0" |
  19130. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  19131. + s//\1/
  19132. + q
  19133. + }
  19134. + /^X\/\(\/\/\)$/{
  19135. + s//\1/
  19136. + q
  19137. + }
  19138. + /^X\/\(\/\).*/{
  19139. + s//\1/
  19140. + q
  19141. + }
  19142. + s/.*/./; q'`
  19143. +
  19144. +# Avoid depending upon Character Ranges.
  19145. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19146. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19147. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19148. +as_cr_digits='0123456789'
  19149. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  19150. +
  19151. +ECHO_C= ECHO_N= ECHO_T=
  19152. +case `echo -n x` in @%:@(((((
  19153. +-n*)
  19154. + case `echo 'xy\c'` in
  19155. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19156. + xy) ECHO_C='\c';;
  19157. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  19158. + ECHO_T=' ';;
  19159. + esac;;
  19160. +*)
  19161. + ECHO_N='-n';;
  19162. +esac
  19163. +
  19164. +rm -f conf$$ conf$$.exe conf$$.file
  19165. +if test -d conf$$.dir; then
  19166. + rm -f conf$$.dir/conf$$.file
  19167. +else
  19168. + rm -f conf$$.dir
  19169. + mkdir conf$$.dir 2>/dev/null
  19170. +fi
  19171. +if (echo >conf$$.file) 2>/dev/null; then
  19172. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  19173. + as_ln_s='ln -s'
  19174. + # ... but there are two gotchas:
  19175. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  19176. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  19177. + # In both cases, we have to default to `cp -p'.
  19178. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  19179. + as_ln_s='cp -p'
  19180. + elif ln conf$$.file conf$$ 2>/dev/null; then
  19181. + as_ln_s=ln
  19182. + else
  19183. + as_ln_s='cp -p'
  19184. + fi
  19185. +else
  19186. + as_ln_s='cp -p'
  19187. +fi
  19188. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  19189. +rmdir conf$$.dir 2>/dev/null
  19190. +
  19191. +
  19192. +@%:@ as_fn_mkdir_p
  19193. +@%:@ -------------
  19194. +@%:@ Create "$as_dir" as a directory, including parents if necessary.
  19195. +as_fn_mkdir_p ()
  19196. +{
  19197. +
  19198. + case $as_dir in #(
  19199. + -*) as_dir=./$as_dir;;
  19200. + esac
  19201. + test -d "$as_dir" || eval $as_mkdir_p || {
  19202. + as_dirs=
  19203. + while :; do
  19204. + case $as_dir in #(
  19205. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  19206. + *) as_qdir=$as_dir;;
  19207. + esac
  19208. + as_dirs="'$as_qdir' $as_dirs"
  19209. + as_dir=`$as_dirname -- "$as_dir" ||
  19210. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  19211. + X"$as_dir" : 'X\(//\)[^/]' \| \
  19212. + X"$as_dir" : 'X\(//\)$' \| \
  19213. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  19214. +$as_echo X"$as_dir" |
  19215. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  19216. + s//\1/
  19217. + q
  19218. + }
  19219. + /^X\(\/\/\)[^/].*/{
  19220. + s//\1/
  19221. + q
  19222. + }
  19223. + /^X\(\/\/\)$/{
  19224. + s//\1/
  19225. + q
  19226. + }
  19227. + /^X\(\/\).*/{
  19228. + s//\1/
  19229. + q
  19230. + }
  19231. + s/.*/./; q'`
  19232. + test -d "$as_dir" && break
  19233. + done
  19234. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  19235. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  19236. +
  19237. +
  19238. +} @%:@ as_fn_mkdir_p
  19239. +if mkdir -p . 2>/dev/null; then
  19240. + as_mkdir_p='mkdir -p "$as_dir"'
  19241. +else
  19242. + test -d ./-p && rmdir ./-p
  19243. + as_mkdir_p=false
  19244. +fi
  19245. +
  19246. +if test -x / >/dev/null 2>&1; then
  19247. + as_test_x='test -x'
  19248. +else
  19249. + if ls -dL / >/dev/null 2>&1; then
  19250. + as_ls_L_option=L
  19251. + else
  19252. + as_ls_L_option=
  19253. + fi
  19254. + as_test_x='
  19255. + eval sh -c '\''
  19256. + if test -d "$1"; then
  19257. + test -d "$1/.";
  19258. + else
  19259. + case $1 in @%:@(
  19260. + -*)set "./$1";;
  19261. + esac;
  19262. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  19263. + ???[sx]*):;;*)false;;esac;fi
  19264. + '\'' sh
  19265. + '
  19266. +fi
  19267. +as_executable_p=$as_test_x
  19268. +
  19269. +# Sed expression to map a string onto a valid CPP name.
  19270. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  19271. +
  19272. +# Sed expression to map a string onto a valid variable name.
  19273. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  19274. +
  19275. +
  19276. +exec 6>&1
  19277. +## ----------------------------------- ##
  19278. +## Main body of $CONFIG_STATUS script. ##
  19279. +## ----------------------------------- ##
  19280. +_ASEOF
  19281. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  19282. +
  19283. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19284. +# Save the log message, to keep $0 and so on meaningful, and to
  19285. +# report actual input values of CONFIG_FILES etc. instead of their
  19286. +# values after options handling.
  19287. +ac_log="
  19288. +This file was extended by $as_me, which was
  19289. +generated by GNU Autoconf 2.64. Invocation command line was
  19290. +
  19291. + CONFIG_FILES = $CONFIG_FILES
  19292. + CONFIG_HEADERS = $CONFIG_HEADERS
  19293. + CONFIG_LINKS = $CONFIG_LINKS
  19294. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  19295. + $ $0 $@
  19296. +
  19297. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  19298. +"
  19299. +
  19300. +_ACEOF
  19301. +
  19302. +case $ac_config_files in *"
  19303. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  19304. +esac
  19305. +
  19306. +case $ac_config_headers in *"
  19307. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  19308. +esac
  19309. +
  19310. +
  19311. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19312. +# Files that config.status was made for.
  19313. +config_files="$ac_config_files"
  19314. +config_headers="$ac_config_headers"
  19315. +config_commands="$ac_config_commands"
  19316. +
  19317. +_ACEOF
  19318. +
  19319. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19320. +ac_cs_usage="\
  19321. +\`$as_me' instantiates files and other configuration actions
  19322. +from templates according to the current configuration. Unless the files
  19323. +and actions are specified as TAGs, all are instantiated by default.
  19324. +
  19325. +Usage: $0 [OPTION]... [TAG]...
  19326. +
  19327. + -h, --help print this help, then exit
  19328. + -V, --version print version number and configuration settings, then exit
  19329. + -q, --quiet, --silent
  19330. + do not print progress messages
  19331. + -d, --debug don't remove temporary files
  19332. + --recheck update $as_me by reconfiguring in the same conditions
  19333. + --file=FILE[:TEMPLATE]
  19334. + instantiate the configuration file FILE
  19335. + --header=FILE[:TEMPLATE]
  19336. + instantiate the configuration header FILE
  19337. +
  19338. +Configuration files:
  19339. +$config_files
  19340. +
  19341. +Configuration headers:
  19342. +$config_headers
  19343. +
  19344. +Configuration commands:
  19345. +$config_commands
  19346. +
  19347. +Report bugs to the package provider."
  19348. +
  19349. +_ACEOF
  19350. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19351. +ac_cs_version="\\
  19352. +config.status
  19353. +configured by $0, generated by GNU Autoconf 2.64,
  19354. + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  19355. +
  19356. +Copyright (C) 2009 Free Software Foundation, Inc.
  19357. +This config.status script is free software; the Free Software Foundation
  19358. +gives unlimited permission to copy, distribute and modify it."
  19359. +
  19360. +ac_pwd='$ac_pwd'
  19361. +srcdir='$srcdir'
  19362. +INSTALL='$INSTALL'
  19363. +MKDIR_P='$MKDIR_P'
  19364. +AWK='$AWK'
  19365. +test -n "\$AWK" || AWK=awk
  19366. +_ACEOF
  19367. +
  19368. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19369. +# The default lists apply if the user does not specify any file.
  19370. +ac_need_defaults=:
  19371. +while test $# != 0
  19372. +do
  19373. + case $1 in
  19374. + --*=*)
  19375. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  19376. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  19377. + ac_shift=:
  19378. + ;;
  19379. + *)
  19380. + ac_option=$1
  19381. + ac_optarg=$2
  19382. + ac_shift=shift
  19383. + ;;
  19384. + esac
  19385. +
  19386. + case $ac_option in
  19387. + # Handling of the options.
  19388. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  19389. + ac_cs_recheck=: ;;
  19390. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  19391. + $as_echo "$ac_cs_version"; exit ;;
  19392. + --debug | --debu | --deb | --de | --d | -d )
  19393. + debug=: ;;
  19394. + --file | --fil | --fi | --f )
  19395. + $ac_shift
  19396. + case $ac_optarg in
  19397. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19398. + esac
  19399. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  19400. + ac_need_defaults=false;;
  19401. + --header | --heade | --head | --hea )
  19402. + $ac_shift
  19403. + case $ac_optarg in
  19404. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19405. + esac
  19406. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  19407. + ac_need_defaults=false;;
  19408. + --he | --h)
  19409. + # Conflict between --help and --header
  19410. + as_fn_error "ambiguous option: \`$1'
  19411. +Try \`$0 --help' for more information.";;
  19412. + --help | --hel | -h )
  19413. + $as_echo "$ac_cs_usage"; exit ;;
  19414. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  19415. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  19416. + ac_cs_silent=: ;;
  19417. +
  19418. + # This is an error.
  19419. + -*) as_fn_error "unrecognized option: \`$1'
  19420. +Try \`$0 --help' for more information." ;;
  19421. +
  19422. + *) as_fn_append ac_config_targets " $1"
  19423. + ac_need_defaults=false ;;
  19424. +
  19425. + esac
  19426. + shift
  19427. +done
  19428. +
  19429. +ac_configure_extra_args=
  19430. +
  19431. +if $ac_cs_silent; then
  19432. + exec 6>/dev/null
  19433. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  19434. +fi
  19435. +
  19436. +_ACEOF
  19437. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19438. +if \$ac_cs_recheck; then
  19439. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  19440. + shift
  19441. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  19442. + CONFIG_SHELL='$SHELL'
  19443. + export CONFIG_SHELL
  19444. + exec "\$@"
  19445. +fi
  19446. +
  19447. +_ACEOF
  19448. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19449. +exec 5>>config.log
  19450. +{
  19451. + echo
  19452. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  19453. +@%:@@%:@ Running $as_me. @%:@@%:@
  19454. +_ASBOX
  19455. + $as_echo "$ac_log"
  19456. +} >&5
  19457. +
  19458. +_ACEOF
  19459. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19460. +#
  19461. +# INIT-COMMANDS
  19462. +#
  19463. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  19464. +
  19465. +
  19466. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  19467. +# if CDPATH is set.
  19468. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19469. +
  19470. +sed_quote_subst='$sed_quote_subst'
  19471. +double_quote_subst='$double_quote_subst'
  19472. +delay_variable_subst='$delay_variable_subst'
  19473. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  19474. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  19475. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  19476. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  19477. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  19478. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  19479. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  19480. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  19481. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  19482. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  19483. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  19484. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  19485. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  19486. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  19487. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  19488. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  19489. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  19490. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  19491. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  19492. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  19493. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  19494. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  19495. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  19496. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  19497. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  19498. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  19499. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  19500. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  19501. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  19502. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  19503. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  19504. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  19505. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  19506. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  19507. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  19508. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  19509. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  19510. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  19511. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  19512. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  19513. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  19514. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  19515. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  19516. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  19517. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  19518. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  19519. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  19520. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  19521. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  19522. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  19523. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  19524. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  19525. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  19526. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  19527. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  19528. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  19529. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  19530. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  19531. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  19532. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  19533. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  19534. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  19535. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  19536. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  19537. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  19538. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  19539. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  19540. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  19541. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  19542. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  19543. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  19544. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  19545. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  19546. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  19547. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  19548. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  19549. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  19550. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  19551. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  19552. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  19553. +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  19554. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  19555. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  19556. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  19557. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  19558. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  19559. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  19560. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  19561. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  19562. +fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  19563. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  19564. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  19565. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  19566. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  19567. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  19568. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  19569. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  19570. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  19571. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  19572. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  19573. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  19574. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  19575. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  19576. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  19577. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  19578. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  19579. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  19580. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  19581. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  19582. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  19583. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  19584. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  19585. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  19586. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  19587. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  19588. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  19589. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  19590. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  19591. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  19592. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  19593. +
  19594. +LTCC='$LTCC'
  19595. +LTCFLAGS='$LTCFLAGS'
  19596. +compiler='$compiler_DEFAULT'
  19597. +
  19598. +# A function that is used when there is no print builtin or printf.
  19599. +func_fallback_echo ()
  19600. +{
  19601. + eval 'cat <<_LTECHO_EOF
  19602. +\$1
  19603. +_LTECHO_EOF'
  19604. +}
  19605. +
  19606. +# Quote evaled strings.
  19607. +for var in SHELL \
  19608. +ECHO \
  19609. +SED \
  19610. +GREP \
  19611. +EGREP \
  19612. +FGREP \
  19613. +LD \
  19614. +NM \
  19615. +LN_S \
  19616. +lt_SP2NL \
  19617. +lt_NL2SP \
  19618. +reload_flag \
  19619. +OBJDUMP \
  19620. +deplibs_check_method \
  19621. +file_magic_cmd \
  19622. +AR \
  19623. +AR_FLAGS \
  19624. +STRIP \
  19625. +RANLIB \
  19626. +CC \
  19627. +CFLAGS \
  19628. +compiler \
  19629. +lt_cv_sys_global_symbol_pipe \
  19630. +lt_cv_sys_global_symbol_to_cdecl \
  19631. +lt_cv_sys_global_symbol_to_c_name_address \
  19632. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  19633. +lt_prog_compiler_no_builtin_flag \
  19634. +lt_prog_compiler_wl \
  19635. +lt_prog_compiler_pic \
  19636. +lt_prog_compiler_static \
  19637. +lt_cv_prog_compiler_c_o \
  19638. +need_locks \
  19639. +DSYMUTIL \
  19640. +NMEDIT \
  19641. +LIPO \
  19642. +OTOOL \
  19643. +OTOOL64 \
  19644. +shrext_cmds \
  19645. +export_dynamic_flag_spec \
  19646. +whole_archive_flag_spec \
  19647. +compiler_needs_object \
  19648. +with_gnu_ld \
  19649. +allow_undefined_flag \
  19650. +no_undefined_flag \
  19651. +hardcode_libdir_flag_spec \
  19652. +hardcode_libdir_flag_spec_ld \
  19653. +hardcode_libdir_separator \
  19654. +fix_srcfile_path \
  19655. +exclude_expsyms \
  19656. +include_expsyms \
  19657. +file_list_spec \
  19658. +variables_saved_for_relink \
  19659. +libname_spec \
  19660. +library_names_spec \
  19661. +soname_spec \
  19662. +install_override_mode \
  19663. +finish_eval \
  19664. +old_striplib \
  19665. +striplib; do
  19666. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  19667. + *[\\\\\\\`\\"\\\$]*)
  19668. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  19669. + ;;
  19670. + *)
  19671. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19672. + ;;
  19673. + esac
  19674. +done
  19675. +
  19676. +# Double-quote double-evaled strings.
  19677. +for var in reload_cmds \
  19678. +old_postinstall_cmds \
  19679. +old_postuninstall_cmds \
  19680. +old_archive_cmds \
  19681. +extract_expsyms_cmds \
  19682. +old_archive_from_new_cmds \
  19683. +old_archive_from_expsyms_cmds \
  19684. +archive_cmds \
  19685. +archive_expsym_cmds \
  19686. +module_cmds \
  19687. +module_expsym_cmds \
  19688. +export_symbols_cmds \
  19689. +prelink_cmds \
  19690. +postinstall_cmds \
  19691. +postuninstall_cmds \
  19692. +finish_cmds \
  19693. +sys_lib_search_path_spec \
  19694. +sys_lib_dlsearch_path_spec; do
  19695. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  19696. + *[\\\\\\\`\\"\\\$]*)
  19697. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  19698. + ;;
  19699. + *)
  19700. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19701. + ;;
  19702. + esac
  19703. +done
  19704. +
  19705. +ac_aux_dir='$ac_aux_dir'
  19706. +xsi_shell='$xsi_shell'
  19707. +lt_shell_append='$lt_shell_append'
  19708. +
  19709. +# See if we are running on zsh, and set the options which allow our
  19710. +# commands through without removal of \ escapes INIT.
  19711. +if test -n "\${ZSH_VERSION+set}" ; then
  19712. + setopt NO_GLOB_SUBST
  19713. +fi
  19714. +
  19715. +
  19716. + PACKAGE='$PACKAGE'
  19717. + VERSION='$VERSION'
  19718. + TIMESTAMP='$TIMESTAMP'
  19719. + RM='$RM'
  19720. + ofile='$ofile'
  19721. +
  19722. +
  19723. +
  19724. +# Capture the value of obsolete ALL_LINGUAS because we need it to compute
  19725. + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
  19726. + # from automake.
  19727. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  19728. + # Capture the value of LINGUAS because we need it to compute CATALOGS.
  19729. + LINGUAS="${LINGUAS-%UNSET%}"
  19730. +
  19731. +target_cpu_type=${target_cpu_type}
  19732. + cgen_cpu_prefix=${cgen_cpu_prefix}
  19733. + obj_format=${obj_format}
  19734. + te_file=${te_file}
  19735. +
  19736. +_ACEOF
  19737. +
  19738. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19739. +
  19740. +# Handling of arguments.
  19741. +for ac_config_target in $ac_config_targets
  19742. +do
  19743. + case $ac_config_target in
  19744. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  19745. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  19746. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
  19747. + "gdb.ini") CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
  19748. + ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
  19749. + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  19750. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  19751. + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  19752. + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
  19753. + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  19754. +
  19755. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  19756. + esac
  19757. +done
  19758. +
  19759. +
  19760. +# If the user did not use the arguments to specify the items to instantiate,
  19761. +# then the envvar interface is used. Set only those that are not.
  19762. +# We use the long form for the default assignment because of an extremely
  19763. +# bizarre bug on SunOS 4.1.3.
  19764. +if $ac_need_defaults; then
  19765. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  19766. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  19767. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  19768. +fi
  19769. +
  19770. +# Have a temporary directory for convenience. Make it in the build tree
  19771. +# simply because there is no reason against having it here, and in addition,
  19772. +# creating and moving files from /tmp can sometimes cause problems.
  19773. +# Hook for its removal unless debugging.
  19774. +# Note that there is a small window in which the directory will not be cleaned:
  19775. +# after its creation but before its name has been assigned to `$tmp'.
  19776. +$debug ||
  19777. +{
  19778. + tmp=
  19779. + trap 'exit_status=$?
  19780. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  19781. +' 0
  19782. + trap 'as_fn_exit 1' 1 2 13 15
  19783. +}
  19784. +# Create a (secure) tmp directory for tmp files.
  19785. +
  19786. +{
  19787. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  19788. + test -n "$tmp" && test -d "$tmp"
  19789. +} ||
  19790. +{
  19791. + tmp=./conf$$-$RANDOM
  19792. + (umask 077 && mkdir "$tmp")
  19793. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  19794. +
  19795. +# Set up the scripts for CONFIG_FILES section.
  19796. +# No need to generate them if there are no CONFIG_FILES.
  19797. +# This happens for instance with `./config.status config.h'.
  19798. +if test -n "$CONFIG_FILES"; then
  19799. +
  19800. +
  19801. +ac_cr=`echo X | tr X '\015'`
  19802. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  19803. +# But we know of no other shell where ac_cr would be empty at this
  19804. +# point, so we can use a bashism as a fallback.
  19805. +if test "x$ac_cr" = x; then
  19806. + eval ac_cr=\$\'\\r\'
  19807. +fi
  19808. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  19809. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  19810. + ac_cs_awk_cr='\r'
  19811. +else
  19812. + ac_cs_awk_cr=$ac_cr
  19813. +fi
  19814. +
  19815. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  19816. +_ACEOF
  19817. +
  19818. +
  19819. +{
  19820. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  19821. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  19822. + echo "_ACEOF"
  19823. +} >conf$$subs.sh ||
  19824. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  19825. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  19826. +ac_delim='%!_!# '
  19827. +for ac_last_try in false false false false false :; do
  19828. + . ./conf$$subs.sh ||
  19829. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  19830. +
  19831. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  19832. + if test $ac_delim_n = $ac_delim_num; then
  19833. + break
  19834. + elif $ac_last_try; then
  19835. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  19836. + else
  19837. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  19838. + fi
  19839. +done
  19840. +rm -f conf$$subs.sh
  19841. +
  19842. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19843. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  19844. +_ACEOF
  19845. +sed -n '
  19846. +h
  19847. +s/^/S["/; s/!.*/"]=/
  19848. +p
  19849. +g
  19850. +s/^[^!]*!//
  19851. +:repl
  19852. +t repl
  19853. +s/'"$ac_delim"'$//
  19854. +t delim
  19855. +:nl
  19856. +h
  19857. +s/\(.\{148\}\).*/\1/
  19858. +t more1
  19859. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  19860. +p
  19861. +n
  19862. +b repl
  19863. +:more1
  19864. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  19865. +p
  19866. +g
  19867. +s/.\{148\}//
  19868. +t nl
  19869. +:delim
  19870. +h
  19871. +s/\(.\{148\}\).*/\1/
  19872. +t more2
  19873. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  19874. +p
  19875. +b
  19876. +:more2
  19877. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  19878. +p
  19879. +g
  19880. +s/.\{148\}//
  19881. +t delim
  19882. +' <conf$$subs.awk | sed '
  19883. +/^[^""]/{
  19884. + N
  19885. + s/\n//
  19886. +}
  19887. +' >>$CONFIG_STATUS || ac_write_fail=1
  19888. +rm -f conf$$subs.awk
  19889. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19890. +_ACAWK
  19891. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  19892. + for (key in S) S_is_set[key] = 1
  19893. + FS = ""
  19894. +
  19895. +}
  19896. +{
  19897. + line = $ 0
  19898. + nfields = split(line, field, "@")
  19899. + substed = 0
  19900. + len = length(field[1])
  19901. + for (i = 2; i < nfields; i++) {
  19902. + key = field[i]
  19903. + keylen = length(key)
  19904. + if (S_is_set[key]) {
  19905. + value = S[key]
  19906. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  19907. + len += length(value) + length(field[++i])
  19908. + substed = 1
  19909. + } else
  19910. + len += 1 + keylen
  19911. + }
  19912. +
  19913. + print line
  19914. +}
  19915. +
  19916. +_ACAWK
  19917. +_ACEOF
  19918. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19919. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  19920. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  19921. +else
  19922. + cat
  19923. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  19924. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  19925. +_ACEOF
  19926. +
  19927. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  19928. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  19929. +# trailing colons and then remove the whole line if VPATH becomes empty
  19930. +# (actually we leave an empty line to preserve line numbers).
  19931. +if test "x$srcdir" = x.; then
  19932. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  19933. +s/:*\$(srcdir):*/:/
  19934. +s/:*\${srcdir}:*/:/
  19935. +s/:*@srcdir@:*/:/
  19936. +s/^\([^=]*=[ ]*\):*/\1/
  19937. +s/:*$//
  19938. +s/^[^=]*=[ ]*$//
  19939. +}'
  19940. +fi
  19941. +
  19942. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19943. +fi # test -n "$CONFIG_FILES"
  19944. +
  19945. +# Set up the scripts for CONFIG_HEADERS section.
  19946. +# No need to generate them if there are no CONFIG_HEADERS.
  19947. +# This happens for instance with `./config.status Makefile'.
  19948. +if test -n "$CONFIG_HEADERS"; then
  19949. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  19950. +BEGIN {
  19951. +_ACEOF
  19952. +
  19953. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  19954. +# here-document in config.status, that substitutes the proper values into
  19955. +# config.h.in to produce config.h.
  19956. +
  19957. +# Create a delimiter string that does not exist in confdefs.h, to ease
  19958. +# handling of long lines.
  19959. +ac_delim='%!_!# '
  19960. +for ac_last_try in false false :; do
  19961. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  19962. + if test -z "$ac_t"; then
  19963. + break
  19964. + elif $ac_last_try; then
  19965. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  19966. + else
  19967. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  19968. + fi
  19969. +done
  19970. +
  19971. +# For the awk script, D is an array of macro values keyed by name,
  19972. +# likewise P contains macro parameters if any. Preserve backslash
  19973. +# newline sequences.
  19974. +
  19975. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  19976. +sed -n '
  19977. +s/.\{148\}/&'"$ac_delim"'/g
  19978. +t rset
  19979. +:rset
  19980. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  19981. +t def
  19982. +d
  19983. +:def
  19984. +s/\\$//
  19985. +t bsnl
  19986. +s/["\\]/\\&/g
  19987. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  19988. +D["\1"]=" \3"/p
  19989. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  19990. +d
  19991. +:bsnl
  19992. +s/["\\]/\\&/g
  19993. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  19994. +D["\1"]=" \3\\\\\\n"\\/p
  19995. +t cont
  19996. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  19997. +t cont
  19998. +d
  19999. +:cont
  20000. +n
  20001. +s/.\{148\}/&'"$ac_delim"'/g
  20002. +t clear
  20003. +:clear
  20004. +s/\\$//
  20005. +t bsnlc
  20006. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20007. +d
  20008. +:bsnlc
  20009. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20010. +b cont
  20011. +' <confdefs.h | sed '
  20012. +s/'"$ac_delim"'/"\\\
  20013. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  20014. +
  20015. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20016. + for (key in D) D_is_set[key] = 1
  20017. + FS = ""
  20018. +}
  20019. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20020. + line = \$ 0
  20021. + split(line, arg, " ")
  20022. + if (arg[1] == "#") {
  20023. + defundef = arg[2]
  20024. + mac1 = arg[3]
  20025. + } else {
  20026. + defundef = substr(arg[1], 2)
  20027. + mac1 = arg[2]
  20028. + }
  20029. + split(mac1, mac2, "(") #)
  20030. + macro = mac2[1]
  20031. + prefix = substr(line, 1, index(line, defundef) - 1)
  20032. + if (D_is_set[macro]) {
  20033. + # Preserve the white space surrounding the "#".
  20034. + print prefix "define", macro P[macro] D[macro]
  20035. + next
  20036. + } else {
  20037. + # Replace #undef with comments. This is necessary, for example,
  20038. + # in the case of _POSIX_SOURCE, which is predefined and required
  20039. + # on some systems where configure will not decide to define it.
  20040. + if (defundef == "undef") {
  20041. + print "/*", prefix defundef, macro, "*/"
  20042. + next
  20043. + }
  20044. + }
  20045. +}
  20046. +{ print }
  20047. +_ACAWK
  20048. +_ACEOF
  20049. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20050. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  20051. +fi # test -n "$CONFIG_HEADERS"
  20052. +
  20053. +
  20054. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  20055. +shift
  20056. +for ac_tag
  20057. +do
  20058. + case $ac_tag in
  20059. + :[FHLC]) ac_mode=$ac_tag; continue;;
  20060. + esac
  20061. + case $ac_mode$ac_tag in
  20062. + :[FHL]*:*);;
  20063. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  20064. + :[FH]-) ac_tag=-:-;;
  20065. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20066. + esac
  20067. + ac_save_IFS=$IFS
  20068. + IFS=:
  20069. + set x $ac_tag
  20070. + IFS=$ac_save_IFS
  20071. + shift
  20072. + ac_file=$1
  20073. + shift
  20074. +
  20075. + case $ac_mode in
  20076. + :L) ac_source=$1;;
  20077. + :[FH])
  20078. + ac_file_inputs=
  20079. + for ac_f
  20080. + do
  20081. + case $ac_f in
  20082. + -) ac_f="$tmp/stdin";;
  20083. + *) # Look for the file first in the build tree, then in the source tree
  20084. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  20085. + # because $ac_f cannot contain `:'.
  20086. + test -f "$ac_f" ||
  20087. + case $ac_f in
  20088. + [\\/$]*) false;;
  20089. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20090. + esac ||
  20091. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  20092. + esac
  20093. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20094. + as_fn_append ac_file_inputs " '$ac_f'"
  20095. + done
  20096. +
  20097. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  20098. + # use $as_me), people would be surprised to read:
  20099. + # /* config.h. Generated by config.status. */
  20100. + configure_input='Generated from '`
  20101. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20102. + `' by configure.'
  20103. + if test x"$ac_file" != x-; then
  20104. + configure_input="$ac_file. $configure_input"
  20105. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  20106. +$as_echo "$as_me: creating $ac_file" >&6;}
  20107. + fi
  20108. + # Neutralize special characters interpreted by sed in replacement strings.
  20109. + case $configure_input in #(
  20110. + *\&* | *\|* | *\\* )
  20111. + ac_sed_conf_input=`$as_echo "$configure_input" |
  20112. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20113. + *) ac_sed_conf_input=$configure_input;;
  20114. + esac
  20115. +
  20116. + case $ac_tag in
  20117. + *:-:* | *:-) cat >"$tmp/stdin" \
  20118. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  20119. + esac
  20120. + ;;
  20121. + esac
  20122. +
  20123. + ac_dir=`$as_dirname -- "$ac_file" ||
  20124. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20125. + X"$ac_file" : 'X\(//\)[^/]' \| \
  20126. + X"$ac_file" : 'X\(//\)$' \| \
  20127. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20128. +$as_echo X"$ac_file" |
  20129. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20130. + s//\1/
  20131. + q
  20132. + }
  20133. + /^X\(\/\/\)[^/].*/{
  20134. + s//\1/
  20135. + q
  20136. + }
  20137. + /^X\(\/\/\)$/{
  20138. + s//\1/
  20139. + q
  20140. + }
  20141. + /^X\(\/\).*/{
  20142. + s//\1/
  20143. + q
  20144. + }
  20145. + s/.*/./; q'`
  20146. + as_dir="$ac_dir"; as_fn_mkdir_p
  20147. + ac_builddir=.
  20148. +
  20149. +case "$ac_dir" in
  20150. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20151. +*)
  20152. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20153. + # A ".." for each directory in $ac_dir_suffix.
  20154. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20155. + case $ac_top_builddir_sub in
  20156. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20157. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20158. + esac ;;
  20159. +esac
  20160. +ac_abs_top_builddir=$ac_pwd
  20161. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20162. +# for backward compatibility:
  20163. +ac_top_builddir=$ac_top_build_prefix
  20164. +
  20165. +case $srcdir in
  20166. + .) # We are building in place.
  20167. + ac_srcdir=.
  20168. + ac_top_srcdir=$ac_top_builddir_sub
  20169. + ac_abs_top_srcdir=$ac_pwd ;;
  20170. + [\\/]* | ?:[\\/]* ) # Absolute name.
  20171. + ac_srcdir=$srcdir$ac_dir_suffix;
  20172. + ac_top_srcdir=$srcdir
  20173. + ac_abs_top_srcdir=$srcdir ;;
  20174. + *) # Relative name.
  20175. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20176. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  20177. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20178. +esac
  20179. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20180. +
  20181. +
  20182. + case $ac_mode in
  20183. + :F)
  20184. + #
  20185. + # CONFIG_FILE
  20186. + #
  20187. +
  20188. + case $INSTALL in
  20189. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  20190. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  20191. + esac
  20192. + ac_MKDIR_P=$MKDIR_P
  20193. + case $MKDIR_P in
  20194. + [\\/$]* | ?:[\\/]* ) ;;
  20195. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  20196. + esac
  20197. +_ACEOF
  20198. +
  20199. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20200. +# If the template does not know about datarootdir, expand it.
  20201. +# FIXME: This hack should be removed a few years after 2.60.
  20202. +ac_datarootdir_hack=; ac_datarootdir_seen=
  20203. +ac_sed_dataroot='
  20204. +/datarootdir/ {
  20205. + p
  20206. + q
  20207. +}
  20208. +/@datadir@/p
  20209. +/@docdir@/p
  20210. +/@infodir@/p
  20211. +/@localedir@/p
  20212. +/@mandir@/p'
  20213. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20214. +*datarootdir*) ac_datarootdir_seen=yes;;
  20215. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20216. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20217. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20218. +_ACEOF
  20219. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20220. + ac_datarootdir_hack='
  20221. + s&@datadir@&$datadir&g
  20222. + s&@docdir@&$docdir&g
  20223. + s&@infodir@&$infodir&g
  20224. + s&@localedir@&$localedir&g
  20225. + s&@mandir@&$mandir&g
  20226. + s&\\\${datarootdir}&$datarootdir&g' ;;
  20227. +esac
  20228. +_ACEOF
  20229. +
  20230. +# Neutralize VPATH when `$srcdir' = `.'.
  20231. +# Shell code in configure.ac might set extrasub.
  20232. +# FIXME: do we really want to maintain this feature?
  20233. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20234. +ac_sed_extra="$ac_vpsub
  20235. +$extrasub
  20236. +_ACEOF
  20237. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20238. +:t
  20239. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20240. +s|@configure_input@|$ac_sed_conf_input|;t t
  20241. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  20242. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20243. +s&@srcdir@&$ac_srcdir&;t t
  20244. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20245. +s&@top_srcdir@&$ac_top_srcdir&;t t
  20246. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20247. +s&@builddir@&$ac_builddir&;t t
  20248. +s&@abs_builddir@&$ac_abs_builddir&;t t
  20249. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20250. +s&@INSTALL@&$ac_INSTALL&;t t
  20251. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  20252. +$ac_datarootdir_hack
  20253. +"
  20254. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  20255. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  20256. +
  20257. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20258. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  20259. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  20260. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20261. +which seems to be undefined. Please make sure it is defined." >&5
  20262. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20263. +which seems to be undefined. Please make sure it is defined." >&2;}
  20264. +
  20265. + rm -f "$tmp/stdin"
  20266. + case $ac_file in
  20267. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  20268. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  20269. + esac \
  20270. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  20271. + ;;
  20272. + :H)
  20273. + #
  20274. + # CONFIG_HEADER
  20275. + #
  20276. + if test x"$ac_file" != x-; then
  20277. + {
  20278. + $as_echo "/* $configure_input */" \
  20279. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  20280. + } >"$tmp/config.h" \
  20281. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  20282. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  20283. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  20284. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  20285. + else
  20286. + rm -f "$ac_file"
  20287. + mv "$tmp/config.h" "$ac_file" \
  20288. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  20289. + fi
  20290. + else
  20291. + $as_echo "/* $configure_input */" \
  20292. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  20293. + || as_fn_error "could not create -" "$LINENO" 5
  20294. + fi
  20295. +# Compute "$ac_file"'s index in $config_headers.
  20296. +_am_arg="$ac_file"
  20297. +_am_stamp_count=1
  20298. +for _am_header in $config_headers :; do
  20299. + case $_am_header in
  20300. + $_am_arg | $_am_arg:* )
  20301. + break ;;
  20302. + * )
  20303. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  20304. + esac
  20305. +done
  20306. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  20307. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20308. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  20309. + X"$_am_arg" : 'X\(//\)$' \| \
  20310. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  20311. +$as_echo X"$_am_arg" |
  20312. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20313. + s//\1/
  20314. + q
  20315. + }
  20316. + /^X\(\/\/\)[^/].*/{
  20317. + s//\1/
  20318. + q
  20319. + }
  20320. + /^X\(\/\/\)$/{
  20321. + s//\1/
  20322. + q
  20323. + }
  20324. + /^X\(\/\).*/{
  20325. + s//\1/
  20326. + q
  20327. + }
  20328. + s/.*/./; q'`/stamp-h$_am_stamp_count
  20329. + ;;
  20330. +
  20331. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  20332. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  20333. + ;;
  20334. + esac
  20335. +
  20336. +
  20337. + case $ac_file$ac_mode in
  20338. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  20339. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  20340. + # are listed without --file. Let's play safe and only enable the eval
  20341. + # if we detect the quoting.
  20342. + case $CONFIG_FILES in
  20343. + *\'*) eval set x "$CONFIG_FILES" ;;
  20344. + *) set x $CONFIG_FILES ;;
  20345. + esac
  20346. + shift
  20347. + for mf
  20348. + do
  20349. + # Strip MF so we end up with the name of the file.
  20350. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  20351. + # Check whether this is an Automake generated Makefile or not.
  20352. + # We used to match only the files named `Makefile.in', but
  20353. + # some people rename them; so instead we look at the file content.
  20354. + # Grep'ing the first line is not enough: some people post-process
  20355. + # each Makefile.in and add a new line on top of each file to say so.
  20356. + # Grep'ing the whole file is not good either: AIX grep has a line
  20357. + # limit of 2048, but all sed's we know have understand at least 4000.
  20358. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  20359. + dirpart=`$as_dirname -- "$mf" ||
  20360. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20361. + X"$mf" : 'X\(//\)[^/]' \| \
  20362. + X"$mf" : 'X\(//\)$' \| \
  20363. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  20364. +$as_echo X"$mf" |
  20365. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20366. + s//\1/
  20367. + q
  20368. + }
  20369. + /^X\(\/\/\)[^/].*/{
  20370. + s//\1/
  20371. + q
  20372. + }
  20373. + /^X\(\/\/\)$/{
  20374. + s//\1/
  20375. + q
  20376. + }
  20377. + /^X\(\/\).*/{
  20378. + s//\1/
  20379. + q
  20380. + }
  20381. + s/.*/./; q'`
  20382. + else
  20383. + continue
  20384. + fi
  20385. + # Extract the definition of DEPDIR, am__include, and am__quote
  20386. + # from the Makefile without running `make'.
  20387. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  20388. + test -z "$DEPDIR" && continue
  20389. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  20390. + test -z "am__include" && continue
  20391. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  20392. + # When using ansi2knr, U may be empty or an underscore; expand it
  20393. + U=`sed -n 's/^U = //p' < "$mf"`
  20394. + # Find all dependency output files, they are included files with
  20395. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  20396. + # simplest approach to changing $(DEPDIR) to its actual value in the
  20397. + # expansion.
  20398. + for file in `sed -n "
  20399. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  20400. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  20401. + # Make sure the directory exists.
  20402. + test -f "$dirpart/$file" && continue
  20403. + fdir=`$as_dirname -- "$file" ||
  20404. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20405. + X"$file" : 'X\(//\)[^/]' \| \
  20406. + X"$file" : 'X\(//\)$' \| \
  20407. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  20408. +$as_echo X"$file" |
  20409. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20410. + s//\1/
  20411. + q
  20412. + }
  20413. + /^X\(\/\/\)[^/].*/{
  20414. + s//\1/
  20415. + q
  20416. + }
  20417. + /^X\(\/\/\)$/{
  20418. + s//\1/
  20419. + q
  20420. + }
  20421. + /^X\(\/\).*/{
  20422. + s//\1/
  20423. + q
  20424. + }
  20425. + s/.*/./; q'`
  20426. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  20427. + # echo "creating $dirpart/$file"
  20428. + echo '# dummy' > "$dirpart/$file"
  20429. + done
  20430. + done
  20431. +}
  20432. + ;;
  20433. + "libtool":C)
  20434. +
  20435. + # See if we are running on zsh, and set the options which allow our
  20436. + # commands through without removal of \ escapes.
  20437. + if test -n "${ZSH_VERSION+set}" ; then
  20438. + setopt NO_GLOB_SUBST
  20439. + fi
  20440. +
  20441. + cfgfile="${ofile}T"
  20442. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  20443. + $RM "$cfgfile"
  20444. +
  20445. + cat <<_LT_EOF >> "$cfgfile"
  20446. +#! $SHELL
  20447. +
  20448. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  20449. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  20450. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  20451. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  20452. +#
  20453. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  20454. +# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  20455. +# Written by Gordon Matzigkeit, 1996
  20456. +#
  20457. +# This file is part of GNU Libtool.
  20458. +#
  20459. +# GNU Libtool is free software; you can redistribute it and/or
  20460. +# modify it under the terms of the GNU General Public License as
  20461. +# published by the Free Software Foundation; either version 2 of
  20462. +# the License, or (at your option) any later version.
  20463. +#
  20464. +# As a special exception to the GNU General Public License,
  20465. +# if you distribute this file as part of a program or library that
  20466. +# is built using GNU Libtool, you may include this file under the
  20467. +# same distribution terms that you use for the rest of that program.
  20468. +#
  20469. +# GNU Libtool is distributed in the hope that it will be useful,
  20470. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  20471. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20472. +# GNU General Public License for more details.
  20473. +#
  20474. +# You should have received a copy of the GNU General Public License
  20475. +# along with GNU Libtool; see the file COPYING. If not, a copy
  20476. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  20477. +# obtained by writing to the Free Software Foundation, Inc.,
  20478. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  20479. +
  20480. +
  20481. +# The names of the tagged configurations supported by this script.
  20482. +available_tags=""
  20483. +
  20484. +# ### BEGIN LIBTOOL CONFIG
  20485. +
  20486. +# Which release of libtool.m4 was used?
  20487. +macro_version=$macro_version
  20488. +macro_revision=$macro_revision
  20489. +
  20490. +# Whether or not to build shared libraries.
  20491. +build_libtool_libs=$enable_shared
  20492. +
  20493. +# Whether or not to build static libraries.
  20494. +build_old_libs=$enable_static
  20495. +
  20496. +# What type of objects to build.
  20497. +pic_mode=$pic_mode
  20498. +
  20499. +# Whether or not to optimize for fast installation.
  20500. +fast_install=$enable_fast_install
  20501. +
  20502. +# Shell to use when invoking shell scripts.
  20503. +SHELL=$lt_SHELL
  20504. +
  20505. +# An echo program that protects backslashes.
  20506. +ECHO=$lt_ECHO
  20507. +
  20508. +# The host system.
  20509. +host_alias=$host_alias
  20510. +host=$host
  20511. +host_os=$host_os
  20512. +
  20513. +# The build system.
  20514. +build_alias=$build_alias
  20515. +build=$build
  20516. +build_os=$build_os
  20517. +
  20518. +# A sed program that does not truncate output.
  20519. +SED=$lt_SED
  20520. +
  20521. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  20522. +Xsed="\$SED -e 1s/^X//"
  20523. +
  20524. +# A grep program that handles long lines.
  20525. +GREP=$lt_GREP
  20526. +
  20527. +# An ERE matcher.
  20528. +EGREP=$lt_EGREP
  20529. +
  20530. +# A literal string matcher.
  20531. +FGREP=$lt_FGREP
  20532. +
  20533. +# A BSD- or MS-compatible name lister.
  20534. +NM=$lt_NM
  20535. +
  20536. +# Whether we need soft or hard links.
  20537. +LN_S=$lt_LN_S
  20538. +
  20539. +# What is the maximum length of a command?
  20540. +max_cmd_len=$max_cmd_len
  20541. +
  20542. +# Object file suffix (normally "o").
  20543. +objext=$ac_objext
  20544. +
  20545. +# Executable file suffix (normally "").
  20546. +exeext=$exeext
  20547. +
  20548. +# whether the shell understands "unset".
  20549. +lt_unset=$lt_unset
  20550. +
  20551. +# turn spaces into newlines.
  20552. +SP2NL=$lt_lt_SP2NL
  20553. +
  20554. +# turn newlines into spaces.
  20555. +NL2SP=$lt_lt_NL2SP
  20556. +
  20557. +# An object symbol dumper.
  20558. +OBJDUMP=$lt_OBJDUMP
  20559. +
  20560. +# Method to check whether dependent libraries are shared objects.
  20561. +deplibs_check_method=$lt_deplibs_check_method
  20562. +
  20563. +# Command to use when deplibs_check_method == "file_magic".
  20564. +file_magic_cmd=$lt_file_magic_cmd
  20565. +
  20566. +# The archiver.
  20567. +AR=$lt_AR
  20568. +AR_FLAGS=$lt_AR_FLAGS
  20569. +
  20570. +# A symbol stripping program.
  20571. +STRIP=$lt_STRIP
  20572. +
  20573. +# Commands used to install an old-style archive.
  20574. +RANLIB=$lt_RANLIB
  20575. +old_postinstall_cmds=$lt_old_postinstall_cmds
  20576. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  20577. +
  20578. +# Whether to use a lock for old archive extraction.
  20579. +lock_old_archive_extraction=$lock_old_archive_extraction
  20580. +
  20581. +# A C compiler.
  20582. +LTCC=$lt_CC
  20583. +
  20584. +# LTCC compiler flags.
  20585. +LTCFLAGS=$lt_CFLAGS
  20586. +
  20587. +# Take the output of nm and produce a listing of raw symbols and C names.
  20588. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  20589. +
  20590. +# Transform the output of nm in a proper C declaration.
  20591. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  20592. +
  20593. +# Transform the output of nm in a C name address pair.
  20594. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  20595. +
  20596. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  20597. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  20598. +
  20599. +# The name of the directory that contains temporary libtool files.
  20600. +objdir=$objdir
  20601. +
  20602. +# Used to examine libraries when file_magic_cmd begins with "file".
  20603. +MAGIC_CMD=$MAGIC_CMD
  20604. +
  20605. +# Must we lock files when doing compilation?
  20606. +need_locks=$lt_need_locks
  20607. +
  20608. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  20609. +DSYMUTIL=$lt_DSYMUTIL
  20610. +
  20611. +# Tool to change global to local symbols on Mac OS X.
  20612. +NMEDIT=$lt_NMEDIT
  20613. +
  20614. +# Tool to manipulate fat objects and archives on Mac OS X.
  20615. +LIPO=$lt_LIPO
  20616. +
  20617. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  20618. +OTOOL=$lt_OTOOL
  20619. +
  20620. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  20621. +OTOOL64=$lt_OTOOL64
  20622. +
  20623. +# Old archive suffix (normally "a").
  20624. +libext=$libext
  20625. +
  20626. +# Shared library suffix (normally ".so").
  20627. +shrext_cmds=$lt_shrext_cmds
  20628. +
  20629. +# The commands to extract the exported symbol list from a shared archive.
  20630. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  20631. +
  20632. +# Variables whose values should be saved in libtool wrapper scripts and
  20633. +# restored at link time.
  20634. +variables_saved_for_relink=$lt_variables_saved_for_relink
  20635. +
  20636. +# Do we need the "lib" prefix for modules?
  20637. +need_lib_prefix=$need_lib_prefix
  20638. +
  20639. +# Do we need a version for libraries?
  20640. +need_version=$need_version
  20641. +
  20642. +# Library versioning type.
  20643. +version_type=$version_type
  20644. +
  20645. +# Shared library runtime path variable.
  20646. +runpath_var=$runpath_var
  20647. +
  20648. +# Shared library path variable.
  20649. +shlibpath_var=$shlibpath_var
  20650. +
  20651. +# Is shlibpath searched before the hard-coded library search path?
  20652. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  20653. +
  20654. +# Format of library name prefix.
  20655. +libname_spec=$lt_libname_spec
  20656. +
  20657. +# List of archive names. First name is the real one, the rest are links.
  20658. +# The last name is the one that the linker finds with -lNAME
  20659. +library_names_spec=$lt_library_names_spec
  20660. +
  20661. +# The coded name of the library, if different from the real name.
  20662. +soname_spec=$lt_soname_spec
  20663. +
  20664. +# Permission mode override for installation of shared libraries.
  20665. +install_override_mode=$lt_install_override_mode
  20666. +
  20667. +# Command to use after installation of a shared archive.
  20668. +postinstall_cmds=$lt_postinstall_cmds
  20669. +
  20670. +# Command to use after uninstallation of a shared archive.
  20671. +postuninstall_cmds=$lt_postuninstall_cmds
  20672. +
  20673. +# Commands used to finish a libtool library installation in a directory.
  20674. +finish_cmds=$lt_finish_cmds
  20675. +
  20676. +# As "finish_cmds", except a single script fragment to be evaled but
  20677. +# not shown.
  20678. +finish_eval=$lt_finish_eval
  20679. +
  20680. +# Whether we should hardcode library paths into libraries.
  20681. +hardcode_into_libs=$hardcode_into_libs
  20682. +
  20683. +# Compile-time system search path for libraries.
  20684. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  20685. +
  20686. +# Run-time system search path for libraries.
  20687. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  20688. +
  20689. +# Whether dlopen is supported.
  20690. +dlopen_support=$enable_dlopen
  20691. +
  20692. +# Whether dlopen of programs is supported.
  20693. +dlopen_self=$enable_dlopen_self
  20694. +
  20695. +# Whether dlopen of statically linked programs is supported.
  20696. +dlopen_self_static=$enable_dlopen_self_static
  20697. +
  20698. +# Commands to strip libraries.
  20699. +old_striplib=$lt_old_striplib
  20700. +striplib=$lt_striplib
  20701. +
  20702. +
  20703. +# The linker used to build libraries.
  20704. +LD=$lt_LD
  20705. +
  20706. +# How to create reloadable object files.
  20707. +reload_flag=$lt_reload_flag
  20708. +reload_cmds=$lt_reload_cmds
  20709. +
  20710. +# Commands used to build an old-style archive.
  20711. +old_archive_cmds=$lt_old_archive_cmds
  20712. +
  20713. +# A language specific compiler.
  20714. +CC=$lt_compiler
  20715. +
  20716. +# Is the compiler the GNU compiler?
  20717. +with_gcc=$GCC
  20718. +
  20719. +# Compiler flag to turn off builtin functions.
  20720. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  20721. +
  20722. +# How to pass a linker flag through the compiler.
  20723. +wl=$lt_lt_prog_compiler_wl
  20724. +
  20725. +# Additional compiler flags for building library objects.
  20726. +pic_flag=$lt_lt_prog_compiler_pic
  20727. +
  20728. +# Compiler flag to prevent dynamic linking.
  20729. +link_static_flag=$lt_lt_prog_compiler_static
  20730. +
  20731. +# Does compiler simultaneously support -c and -o options?
  20732. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  20733. +
  20734. +# Whether or not to add -lc for building shared libraries.
  20735. +build_libtool_need_lc=$archive_cmds_need_lc
  20736. +
  20737. +# Whether or not to disallow shared libs when runtime libs are static.
  20738. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  20739. +
  20740. +# Compiler flag to allow reflexive dlopens.
  20741. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  20742. +
  20743. +# Compiler flag to generate shared objects directly from archives.
  20744. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  20745. +
  20746. +# Whether the compiler copes with passing no objects directly.
  20747. +compiler_needs_object=$lt_compiler_needs_object
  20748. +
  20749. +# Create an old-style archive from a shared archive.
  20750. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  20751. +
  20752. +# Create a temporary old-style archive to link instead of a shared archive.
  20753. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  20754. +
  20755. +# Commands used to build a shared archive.
  20756. +archive_cmds=$lt_archive_cmds
  20757. +archive_expsym_cmds=$lt_archive_expsym_cmds
  20758. +
  20759. +# Commands used to build a loadable module if different from building
  20760. +# a shared archive.
  20761. +module_cmds=$lt_module_cmds
  20762. +module_expsym_cmds=$lt_module_expsym_cmds
  20763. +
  20764. +# Whether we are building with GNU ld or not.
  20765. +with_gnu_ld=$lt_with_gnu_ld
  20766. +
  20767. +# Flag that allows shared libraries with undefined symbols to be built.
  20768. +allow_undefined_flag=$lt_allow_undefined_flag
  20769. +
  20770. +# Flag that enforces no undefined symbols.
  20771. +no_undefined_flag=$lt_no_undefined_flag
  20772. +
  20773. +# Flag to hardcode \$libdir into a binary during linking.
  20774. +# This must work even if \$libdir does not exist
  20775. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  20776. +
  20777. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  20778. +# during linking. This must work even if \$libdir does not exist.
  20779. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  20780. +
  20781. +# Whether we need a single "-rpath" flag with a separated argument.
  20782. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  20783. +
  20784. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  20785. +# DIR into the resulting binary.
  20786. +hardcode_direct=$hardcode_direct
  20787. +
  20788. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  20789. +# DIR into the resulting binary and the resulting library dependency is
  20790. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  20791. +# library is relocated.
  20792. +hardcode_direct_absolute=$hardcode_direct_absolute
  20793. +
  20794. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  20795. +# into the resulting binary.
  20796. +hardcode_minus_L=$hardcode_minus_L
  20797. +
  20798. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  20799. +# into the resulting binary.
  20800. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  20801. +
  20802. +# Set to "yes" if building a shared library automatically hardcodes DIR
  20803. +# into the library and all subsequent libraries and executables linked
  20804. +# against it.
  20805. +hardcode_automatic=$hardcode_automatic
  20806. +
  20807. +# Set to yes if linker adds runtime paths of dependent libraries
  20808. +# to runtime path list.
  20809. +inherit_rpath=$inherit_rpath
  20810. +
  20811. +# Whether libtool must link a program against all its dependency libraries.
  20812. +link_all_deplibs=$link_all_deplibs
  20813. +
  20814. +# Fix the shell variable \$srcfile for the compiler.
  20815. +fix_srcfile_path=$lt_fix_srcfile_path
  20816. +
  20817. +# Set to "yes" if exported symbols are required.
  20818. +always_export_symbols=$always_export_symbols
  20819. +
  20820. +# The commands to list exported symbols.
  20821. +export_symbols_cmds=$lt_export_symbols_cmds
  20822. +
  20823. +# Symbols that should not be listed in the preloaded symbols.
  20824. +exclude_expsyms=$lt_exclude_expsyms
  20825. +
  20826. +# Symbols that must always be exported.
  20827. +include_expsyms=$lt_include_expsyms
  20828. +
  20829. +# Commands necessary for linking programs (against libraries) with templates.
  20830. +prelink_cmds=$lt_prelink_cmds
  20831. +
  20832. +# Specify filename containing input files.
  20833. +file_list_spec=$lt_file_list_spec
  20834. +
  20835. +# How to hardcode a shared library path into an executable.
  20836. +hardcode_action=$hardcode_action
  20837. +
  20838. +# ### END LIBTOOL CONFIG
  20839. +
  20840. +_LT_EOF
  20841. +
  20842. + case $host_os in
  20843. + aix3*)
  20844. + cat <<\_LT_EOF >> "$cfgfile"
  20845. +# AIX sometimes has problems with the GCC collect2 program. For some
  20846. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  20847. +# vanish in a puff of smoke.
  20848. +if test "X${COLLECT_NAMES+set}" != Xset; then
  20849. + COLLECT_NAMES=
  20850. + export COLLECT_NAMES
  20851. +fi
  20852. +_LT_EOF
  20853. + ;;
  20854. + esac
  20855. +
  20856. +
  20857. +ltmain="$ac_aux_dir/ltmain.sh"
  20858. +
  20859. +
  20860. + # We use sed instead of cat because bash on DJGPP gets confused if
  20861. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  20862. + # text mode, it properly converts lines to CR/LF. This bash problem
  20863. + # is reportedly fixed, but why not run on old versions too?
  20864. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  20865. + || (rm -f "$cfgfile"; exit 1)
  20866. +
  20867. + case $xsi_shell in
  20868. + yes)
  20869. + cat << \_LT_EOF >> "$cfgfile"
  20870. +
  20871. +# func_dirname file append nondir_replacement
  20872. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  20873. +# otherwise set result to NONDIR_REPLACEMENT.
  20874. +func_dirname ()
  20875. +{
  20876. + case ${1} in
  20877. + */*) func_dirname_result="${1%/*}${2}" ;;
  20878. + * ) func_dirname_result="${3}" ;;
  20879. + esac
  20880. +}
  20881. +
  20882. +# func_basename file
  20883. +func_basename ()
  20884. +{
  20885. + func_basename_result="${1##*/}"
  20886. +}
  20887. +
  20888. +# func_dirname_and_basename file append nondir_replacement
  20889. +# perform func_basename and func_dirname in a single function
  20890. +# call:
  20891. +# dirname: Compute the dirname of FILE. If nonempty,
  20892. +# add APPEND to the result, otherwise set result
  20893. +# to NONDIR_REPLACEMENT.
  20894. +# value returned in "$func_dirname_result"
  20895. +# basename: Compute filename of FILE.
  20896. +# value retuned in "$func_basename_result"
  20897. +# Implementation must be kept synchronized with func_dirname
  20898. +# and func_basename. For efficiency, we do not delegate to
  20899. +# those functions but instead duplicate the functionality here.
  20900. +func_dirname_and_basename ()
  20901. +{
  20902. + case ${1} in
  20903. + */*) func_dirname_result="${1%/*}${2}" ;;
  20904. + * ) func_dirname_result="${3}" ;;
  20905. + esac
  20906. + func_basename_result="${1##*/}"
  20907. +}
  20908. +
  20909. +# func_stripname prefix suffix name
  20910. +# strip PREFIX and SUFFIX off of NAME.
  20911. +# PREFIX and SUFFIX must not contain globbing or regex special
  20912. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  20913. +# dot (in which case that matches only a dot).
  20914. +func_stripname ()
  20915. +{
  20916. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  20917. + # positional parameters, so assign one to ordinary parameter first.
  20918. + func_stripname_result=${3}
  20919. + func_stripname_result=${func_stripname_result#"${1}"}
  20920. + func_stripname_result=${func_stripname_result%"${2}"}
  20921. +}
  20922. +
  20923. +# func_opt_split
  20924. +func_opt_split ()
  20925. +{
  20926. + func_opt_split_opt=${1%%=*}
  20927. + func_opt_split_arg=${1#*=}
  20928. +}
  20929. +
  20930. +# func_lo2o object
  20931. +func_lo2o ()
  20932. +{
  20933. + case ${1} in
  20934. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  20935. + *) func_lo2o_result=${1} ;;
  20936. + esac
  20937. +}
  20938. +
  20939. +# func_xform libobj-or-source
  20940. +func_xform ()
  20941. +{
  20942. + func_xform_result=${1%.*}.lo
  20943. +}
  20944. +
  20945. +# func_arith arithmetic-term...
  20946. +func_arith ()
  20947. +{
  20948. + func_arith_result=$(( $* ))
  20949. +}
  20950. +
  20951. +# func_len string
  20952. +# STRING may not start with a hyphen.
  20953. +func_len ()
  20954. +{
  20955. + func_len_result=${#1}
  20956. +}
  20957. +
  20958. +_LT_EOF
  20959. + ;;
  20960. + *) # Bourne compatible functions.
  20961. + cat << \_LT_EOF >> "$cfgfile"
  20962. +
  20963. +# func_dirname file append nondir_replacement
  20964. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  20965. +# otherwise set result to NONDIR_REPLACEMENT.
  20966. +func_dirname ()
  20967. +{
  20968. + # Extract subdirectory from the argument.
  20969. + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  20970. + if test "X$func_dirname_result" = "X${1}"; then
  20971. + func_dirname_result="${3}"
  20972. + else
  20973. + func_dirname_result="$func_dirname_result${2}"
  20974. + fi
  20975. +}
  20976. +
  20977. +# func_basename file
  20978. +func_basename ()
  20979. +{
  20980. + func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  20981. +}
  20982. +
  20983. +
  20984. +# func_stripname prefix suffix name
  20985. +# strip PREFIX and SUFFIX off of NAME.
  20986. +# PREFIX and SUFFIX must not contain globbing or regex special
  20987. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  20988. +# dot (in which case that matches only a dot).
  20989. +# func_strip_suffix prefix name
  20990. +func_stripname ()
  20991. +{
  20992. + case ${2} in
  20993. + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  20994. + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  20995. + esac
  20996. +}
  20997. +
  20998. +# sed scripts:
  20999. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  21000. +my_sed_long_arg='1s/^-[^=]*=//'
  21001. +
  21002. +# func_opt_split
  21003. +func_opt_split ()
  21004. +{
  21005. + func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  21006. + func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  21007. +}
  21008. +
  21009. +# func_lo2o object
  21010. +func_lo2o ()
  21011. +{
  21012. + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  21013. +}
  21014. +
  21015. +# func_xform libobj-or-source
  21016. +func_xform ()
  21017. +{
  21018. + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  21019. +}
  21020. +
  21021. +# func_arith arithmetic-term...
  21022. +func_arith ()
  21023. +{
  21024. + func_arith_result=`expr "$@"`
  21025. +}
  21026. +
  21027. +# func_len string
  21028. +# STRING may not start with a hyphen.
  21029. +func_len ()
  21030. +{
  21031. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  21032. +}
  21033. +
  21034. +_LT_EOF
  21035. +esac
  21036. +
  21037. +case $lt_shell_append in
  21038. + yes)
  21039. + cat << \_LT_EOF >> "$cfgfile"
  21040. +
  21041. +# func_append var value
  21042. +# Append VALUE to the end of shell variable VAR.
  21043. +func_append ()
  21044. +{
  21045. + eval "$1+=\$2"
  21046. +}
  21047. +_LT_EOF
  21048. + ;;
  21049. + *)
  21050. + cat << \_LT_EOF >> "$cfgfile"
  21051. +
  21052. +# func_append var value
  21053. +# Append VALUE to the end of shell variable VAR.
  21054. +func_append ()
  21055. +{
  21056. + eval "$1=\$$1\$2"
  21057. +}
  21058. +
  21059. +_LT_EOF
  21060. + ;;
  21061. + esac
  21062. +
  21063. +
  21064. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  21065. + || (rm -f "$cfgfile"; exit 1)
  21066. +
  21067. + mv -f "$cfgfile" "$ofile" ||
  21068. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  21069. + chmod +x "$ofile"
  21070. +
  21071. + ;;
  21072. + "default-1":C)
  21073. + for ac_file in $CONFIG_FILES; do
  21074. + # Support "outfile[:infile[:infile...]]"
  21075. + case "$ac_file" in
  21076. + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  21077. + esac
  21078. + # PO directories have a Makefile.in generated from Makefile.in.in.
  21079. + case "$ac_file" in */Makefile.in)
  21080. + # Adjust a relative srcdir.
  21081. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  21082. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  21083. + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  21084. + # In autoconf-2.13 it is called $ac_given_srcdir.
  21085. + # In autoconf-2.50 it is called $srcdir.
  21086. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  21087. + case "$ac_given_srcdir" in
  21088. + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  21089. + /*) top_srcdir="$ac_given_srcdir" ;;
  21090. + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  21091. + esac
  21092. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  21093. + rm -f "$ac_dir/POTFILES"
  21094. + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  21095. + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  21096. + POMAKEFILEDEPS="POTFILES.in"
  21097. + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
  21098. + # on $ac_dir but don't depend on user-specified configuration
  21099. + # parameters.
  21100. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  21101. + # The LINGUAS file contains the set of available languages.
  21102. + if test -n "$OBSOLETE_ALL_LINGUAS"; then
  21103. + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  21104. + fi
  21105. + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  21106. + # Hide the ALL_LINGUAS assigment from automake.
  21107. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  21108. + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  21109. + else
  21110. + # The set of available languages was given in configure.in.
  21111. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  21112. + fi
  21113. + case "$ac_given_srcdir" in
  21114. + .) srcdirpre= ;;
  21115. + *) srcdirpre='$(srcdir)/' ;;
  21116. + esac
  21117. + POFILES=
  21118. + GMOFILES=
  21119. + UPDATEPOFILES=
  21120. + DUMMYPOFILES=
  21121. + for lang in $ALL_LINGUAS; do
  21122. + POFILES="$POFILES $srcdirpre$lang.po"
  21123. + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  21124. + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  21125. + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  21126. + done
  21127. + # CATALOGS depends on both $ac_dir and the user's LINGUAS
  21128. + # environment variable.
  21129. + INST_LINGUAS=
  21130. + if test -n "$ALL_LINGUAS"; then
  21131. + for presentlang in $ALL_LINGUAS; do
  21132. + useit=no
  21133. + if test "%UNSET%" != "$LINGUAS"; then
  21134. + desiredlanguages="$LINGUAS"
  21135. + else
  21136. + desiredlanguages="$ALL_LINGUAS"
  21137. + fi
  21138. + for desiredlang in $desiredlanguages; do
  21139. + # Use the presentlang catalog if desiredlang is
  21140. + # a. equal to presentlang, or
  21141. + # b. a variant of presentlang (because in this case,
  21142. + # presentlang can be used as a fallback for messages
  21143. + # which are not translated in the desiredlang catalog).
  21144. + case "$desiredlang" in
  21145. + "$presentlang"*) useit=yes;;
  21146. + esac
  21147. + done
  21148. + if test $useit = yes; then
  21149. + INST_LINGUAS="$INST_LINGUAS $presentlang"
  21150. + fi
  21151. + done
  21152. + fi
  21153. + CATALOGS=
  21154. + if test -n "$INST_LINGUAS"; then
  21155. + for lang in $INST_LINGUAS; do
  21156. + CATALOGS="$CATALOGS $lang.gmo"
  21157. + done
  21158. + fi
  21159. + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  21160. + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  21161. + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  21162. + if test -f "$f"; then
  21163. + case "$f" in
  21164. + *.orig | *.bak | *~) ;;
  21165. + *) cat "$f" >> "$ac_dir/Makefile" ;;
  21166. + esac
  21167. + fi
  21168. + done
  21169. + fi
  21170. + ;;
  21171. + esac
  21172. + done ;;
  21173. + "default":C) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
  21174. + echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
  21175. + echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
  21176. + echo '#include "te-'"${te_file}"'.h"' > targ-env.h
  21177. + echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
  21178. + if test "x$cgen_cpu_prefix" != x ; then
  21179. + echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
  21180. + fi ;;
  21181. +
  21182. + esac
  21183. +done # for ac_tag
  21184. +
  21185. +
  21186. +as_fn_exit 0
  21187. +_ACEOF
  21188. +ac_clean_files=$ac_clean_files_save
  21189. +
  21190. +test $ac_write_fail = 0 ||
  21191. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  21192. +
  21193. +
  21194. +# configure is writing to config.log, and then calls config.status.
  21195. +# config.status does its own redirection, appending to config.log.
  21196. +# Unfortunately, on DOS this fails, as config.log is still kept open
  21197. +# by configure, so config.status won't be able to write to it; its
  21198. +# output is simply discarded. So we exec the FD to /dev/null,
  21199. +# effectively closing config.log, so it can be properly (re)opened and
  21200. +# appended to by config.status. When coming back to configure, we
  21201. +# need to make the FD available again.
  21202. +if test "$no_create" != yes; then
  21203. + ac_cs_success=:
  21204. + ac_config_status_args=
  21205. + test "$silent" = yes &&
  21206. + ac_config_status_args="$ac_config_status_args --quiet"
  21207. + exec 5>/dev/null
  21208. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21209. + exec 5>>config.log
  21210. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21211. + # would make configure fail if this is the last instruction.
  21212. + $ac_cs_success || as_fn_exit $?
  21213. +fi
  21214. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21215. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21216. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21217. +fi
  21218. +
  21219. diff -Nur binutils-2.21.orig/gas/autom4te.cache/requests binutils-2.21/gas/autom4te.cache/requests
  21220. --- binutils-2.21.orig/gas/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
  21221. +++ binutils-2.21/gas/autom4te.cache/requests 2011-08-28 14:56:19.827984744 +0200
  21222. @@ -0,0 +1,68 @@
  21223. +# This file was generated.
  21224. +# It contains the lists of macros which have been traced.
  21225. +# It can be safely removed.
  21226. +
  21227. +@request = (
  21228. + bless( [
  21229. + '0',
  21230. + 1,
  21231. + [
  21232. + '/usr/share/autoconf2.64'
  21233. + ],
  21234. + [
  21235. + '/usr/share/autoconf2.64/autoconf/autoconf.m4f',
  21236. + 'aclocal.m4',
  21237. + 'configure.in'
  21238. + ],
  21239. + {
  21240. + '_LT_AC_TAGCONFIG' => 1,
  21241. + 'AM_PROG_F77_C_O' => 1,
  21242. + 'AC_INIT' => 1,
  21243. + 'm4_pattern_forbid' => 1,
  21244. + '_AM_COND_IF' => 1,
  21245. + 'AC_CANONICAL_TARGET' => 1,
  21246. + 'AC_SUBST' => 1,
  21247. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  21248. + 'AC_FC_SRCEXT' => 1,
  21249. + 'AC_CANONICAL_HOST' => 1,
  21250. + 'AC_PROG_LIBTOOL' => 1,
  21251. + 'AM_INIT_AUTOMAKE' => 1,
  21252. + 'AC_CONFIG_SUBDIRS' => 1,
  21253. + 'AM_AUTOMAKE_VERSION' => 1,
  21254. + 'LT_CONFIG_LTDL_DIR' => 1,
  21255. + 'AC_REQUIRE_AUX_FILE' => 1,
  21256. + 'AC_CONFIG_LINKS' => 1,
  21257. + 'm4_sinclude' => 1,
  21258. + 'LT_SUPPORTED_TAG' => 1,
  21259. + 'AM_MAINTAINER_MODE' => 1,
  21260. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  21261. + '_m4_warn' => 1,
  21262. + 'AM_PROG_CXX_C_O' => 1,
  21263. + '_AM_COND_ENDIF' => 1,
  21264. + 'AM_ENABLE_MULTILIB' => 1,
  21265. + 'AM_SILENT_RULES' => 1,
  21266. + 'AC_CONFIG_FILES' => 1,
  21267. + 'include' => 1,
  21268. + 'LT_INIT' => 1,
  21269. + 'AM_GNU_GETTEXT' => 1,
  21270. + 'AC_LIBSOURCE' => 1,
  21271. + 'AM_PROG_FC_C_O' => 1,
  21272. + 'AC_CANONICAL_BUILD' => 1,
  21273. + 'AC_FC_FREEFORM' => 1,
  21274. + 'AH_OUTPUT' => 1,
  21275. + '_AM_SUBST_NOTMAKE' => 1,
  21276. + 'AC_CONFIG_AUX_DIR' => 1,
  21277. + 'sinclude' => 1,
  21278. + 'm4_pattern_allow' => 1,
  21279. + 'AM_PROG_CC_C_O' => 1,
  21280. + 'AC_CANONICAL_SYSTEM' => 1,
  21281. + 'AM_CONDITIONAL' => 1,
  21282. + 'AC_CONFIG_HEADERS' => 1,
  21283. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  21284. + 'm4_include' => 1,
  21285. + '_AM_COND_ELSE' => 1,
  21286. + 'AC_SUBST_TRACE' => 1
  21287. + }
  21288. + ], 'Autom4te::Request' )
  21289. + );
  21290. +
  21291. diff -Nur binutils-2.21.orig/gas/autom4te.cache/traces.0 binutils-2.21/gas/autom4te.cache/traces.0
  21292. --- binutils-2.21.orig/gas/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
  21293. +++ binutils-2.21/gas/autom4te.cache/traces.0 2011-08-28 14:56:19.847983140 +0200
  21294. @@ -0,0 +1,1088 @@
  21295. +m4trace:aclocal.m4:992: -1- m4_include([../bfd/acinclude.m4])
  21296. +m4trace:../bfd/acinclude.m4:1: -1- sinclude([../config/zlib.m4])
  21297. +m4trace:aclocal.m4:993: -1- m4_include([../bfd/warning.m4])
  21298. +m4trace:aclocal.m4:994: -1- m4_include([../config/depstand.m4])
  21299. +m4trace:aclocal.m4:995: -1- m4_include([../config/gettext-sister.m4])
  21300. +m4trace:aclocal.m4:996: -1- m4_include([../config/largefile.m4])
  21301. +m4trace:aclocal.m4:997: -1- m4_include([../config/lead-dot.m4])
  21302. +m4trace:aclocal.m4:998: -1- m4_include([../config/nls.m4])
  21303. +m4trace:aclocal.m4:999: -1- m4_include([../config/override.m4])
  21304. +m4trace:aclocal.m4:1000: -1- m4_include([../config/plugins.m4])
  21305. +m4trace:aclocal.m4:1001: -1- m4_include([../config/po.m4])
  21306. +m4trace:aclocal.m4:1002: -1- m4_include([../config/progtest.m4])
  21307. +m4trace:aclocal.m4:1003: -1- m4_include([../libtool.m4])
  21308. +m4trace:aclocal.m4:1004: -1- m4_include([../ltoptions.m4])
  21309. +m4trace:aclocal.m4:1005: -1- m4_include([../ltsugar.m4])
  21310. +m4trace:aclocal.m4:1006: -1- m4_include([../ltversion.m4])
  21311. +m4trace:aclocal.m4:1007: -1- m4_include([../lt~obsolete.m4])
  21312. +m4trace:aclocal.m4:1008: -1- m4_include([acinclude.m4])
  21313. +m4trace:configure.in:9: -1- AC_INIT
  21314. +m4trace:configure.in:9: -1- m4_pattern_forbid([^_?A[CHUM]_])
  21315. +m4trace:configure.in:9: -1- m4_pattern_forbid([_AC_])
  21316. +m4trace:configure.in:9: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  21317. +m4trace:configure.in:9: -1- m4_pattern_allow([^AS_FLAGS$])
  21318. +m4trace:configure.in:9: -1- m4_pattern_forbid([^_?m4_])
  21319. +m4trace:configure.in:9: -1- m4_pattern_forbid([^dnl$])
  21320. +m4trace:configure.in:9: -1- m4_pattern_forbid([^_?AS_])
  21321. +m4trace:configure.in:9: -1- AC_SUBST([SHELL])
  21322. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([SHELL])
  21323. +m4trace:configure.in:9: -1- m4_pattern_allow([^SHELL$])
  21324. +m4trace:configure.in:9: -1- AC_SUBST([PATH_SEPARATOR])
  21325. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  21326. +m4trace:configure.in:9: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  21327. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  21328. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  21329. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  21330. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  21331. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  21332. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  21333. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  21334. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  21335. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  21336. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  21337. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  21338. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  21339. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  21340. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  21341. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  21342. +m4trace:configure.in:9: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  21343. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE_URL])
  21344. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  21345. +m4trace:configure.in:9: -1- AC_SUBST([exec_prefix], [NONE])
  21346. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([exec_prefix])
  21347. +m4trace:configure.in:9: -1- m4_pattern_allow([^exec_prefix$])
  21348. +m4trace:configure.in:9: -1- AC_SUBST([prefix], [NONE])
  21349. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([prefix])
  21350. +m4trace:configure.in:9: -1- m4_pattern_allow([^prefix$])
  21351. +m4trace:configure.in:9: -1- AC_SUBST([program_transform_name], [s,x,x,])
  21352. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([program_transform_name])
  21353. +m4trace:configure.in:9: -1- m4_pattern_allow([^program_transform_name$])
  21354. +m4trace:configure.in:9: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  21355. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([bindir])
  21356. +m4trace:configure.in:9: -1- m4_pattern_allow([^bindir$])
  21357. +m4trace:configure.in:9: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  21358. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([sbindir])
  21359. +m4trace:configure.in:9: -1- m4_pattern_allow([^sbindir$])
  21360. +m4trace:configure.in:9: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  21361. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([libexecdir])
  21362. +m4trace:configure.in:9: -1- m4_pattern_allow([^libexecdir$])
  21363. +m4trace:configure.in:9: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  21364. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([datarootdir])
  21365. +m4trace:configure.in:9: -1- m4_pattern_allow([^datarootdir$])
  21366. +m4trace:configure.in:9: -1- AC_SUBST([datadir], ['${datarootdir}'])
  21367. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([datadir])
  21368. +m4trace:configure.in:9: -1- m4_pattern_allow([^datadir$])
  21369. +m4trace:configure.in:9: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  21370. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([sysconfdir])
  21371. +m4trace:configure.in:9: -1- m4_pattern_allow([^sysconfdir$])
  21372. +m4trace:configure.in:9: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  21373. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([sharedstatedir])
  21374. +m4trace:configure.in:9: -1- m4_pattern_allow([^sharedstatedir$])
  21375. +m4trace:configure.in:9: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  21376. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([localstatedir])
  21377. +m4trace:configure.in:9: -1- m4_pattern_allow([^localstatedir$])
  21378. +m4trace:configure.in:9: -1- AC_SUBST([includedir], ['${prefix}/include'])
  21379. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([includedir])
  21380. +m4trace:configure.in:9: -1- m4_pattern_allow([^includedir$])
  21381. +m4trace:configure.in:9: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  21382. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([oldincludedir])
  21383. +m4trace:configure.in:9: -1- m4_pattern_allow([^oldincludedir$])
  21384. +m4trace:configure.in:9: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  21385. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  21386. + ['${datarootdir}/doc/${PACKAGE}'])])
  21387. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([docdir])
  21388. +m4trace:configure.in:9: -1- m4_pattern_allow([^docdir$])
  21389. +m4trace:configure.in:9: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  21390. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([infodir])
  21391. +m4trace:configure.in:9: -1- m4_pattern_allow([^infodir$])
  21392. +m4trace:configure.in:9: -1- AC_SUBST([htmldir], ['${docdir}'])
  21393. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([htmldir])
  21394. +m4trace:configure.in:9: -1- m4_pattern_allow([^htmldir$])
  21395. +m4trace:configure.in:9: -1- AC_SUBST([dvidir], ['${docdir}'])
  21396. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([dvidir])
  21397. +m4trace:configure.in:9: -1- m4_pattern_allow([^dvidir$])
  21398. +m4trace:configure.in:9: -1- AC_SUBST([pdfdir], ['${docdir}'])
  21399. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([pdfdir])
  21400. +m4trace:configure.in:9: -1- m4_pattern_allow([^pdfdir$])
  21401. +m4trace:configure.in:9: -1- AC_SUBST([psdir], ['${docdir}'])
  21402. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([psdir])
  21403. +m4trace:configure.in:9: -1- m4_pattern_allow([^psdir$])
  21404. +m4trace:configure.in:9: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  21405. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([libdir])
  21406. +m4trace:configure.in:9: -1- m4_pattern_allow([^libdir$])
  21407. +m4trace:configure.in:9: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  21408. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([localedir])
  21409. +m4trace:configure.in:9: -1- m4_pattern_allow([^localedir$])
  21410. +m4trace:configure.in:9: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  21411. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([mandir])
  21412. +m4trace:configure.in:9: -1- m4_pattern_allow([^mandir$])
  21413. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  21414. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_NAME$])
  21415. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  21416. +@%:@undef PACKAGE_NAME])
  21417. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  21418. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  21419. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  21420. +@%:@undef PACKAGE_TARNAME])
  21421. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  21422. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  21423. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  21424. +@%:@undef PACKAGE_VERSION])
  21425. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  21426. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_STRING$])
  21427. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  21428. +@%:@undef PACKAGE_STRING])
  21429. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  21430. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  21431. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  21432. +@%:@undef PACKAGE_BUGREPORT])
  21433. +m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  21434. +m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE_URL$])
  21435. +m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  21436. +@%:@undef PACKAGE_URL])
  21437. +m4trace:configure.in:9: -1- AC_SUBST([DEFS])
  21438. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([DEFS])
  21439. +m4trace:configure.in:9: -1- m4_pattern_allow([^DEFS$])
  21440. +m4trace:configure.in:9: -1- AC_SUBST([ECHO_C])
  21441. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([ECHO_C])
  21442. +m4trace:configure.in:9: -1- m4_pattern_allow([^ECHO_C$])
  21443. +m4trace:configure.in:9: -1- AC_SUBST([ECHO_N])
  21444. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([ECHO_N])
  21445. +m4trace:configure.in:9: -1- m4_pattern_allow([^ECHO_N$])
  21446. +m4trace:configure.in:9: -1- AC_SUBST([ECHO_T])
  21447. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([ECHO_T])
  21448. +m4trace:configure.in:9: -1- m4_pattern_allow([^ECHO_T$])
  21449. +m4trace:configure.in:9: -1- AC_SUBST([LIBS])
  21450. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([LIBS])
  21451. +m4trace:configure.in:9: -1- m4_pattern_allow([^LIBS$])
  21452. +m4trace:configure.in:9: -1- AC_SUBST([build_alias])
  21453. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([build_alias])
  21454. +m4trace:configure.in:9: -1- m4_pattern_allow([^build_alias$])
  21455. +m4trace:configure.in:9: -1- AC_SUBST([host_alias])
  21456. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([host_alias])
  21457. +m4trace:configure.in:9: -1- m4_pattern_allow([^host_alias$])
  21458. +m4trace:configure.in:9: -1- AC_SUBST([target_alias])
  21459. +m4trace:configure.in:9: -1- AC_SUBST_TRACE([target_alias])
  21460. +m4trace:configure.in:9: -1- m4_pattern_allow([^target_alias$])
  21461. +m4trace:configure.in:15: -1- AC_CONFIG_AUX_DIR([..])
  21462. +m4trace:configure.in:16: -1- AC_CANONICAL_TARGET
  21463. +m4trace:configure.in:16: -1- AC_CANONICAL_HOST
  21464. +m4trace:configure.in:16: -1- AC_CANONICAL_BUILD
  21465. +m4trace:configure.in:16: -1- AC_REQUIRE_AUX_FILE([config.sub])
  21466. +m4trace:configure.in:16: -1- AC_REQUIRE_AUX_FILE([config.guess])
  21467. +m4trace:configure.in:16: -1- AC_SUBST([build], [$ac_cv_build])
  21468. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([build])
  21469. +m4trace:configure.in:16: -1- m4_pattern_allow([^build$])
  21470. +m4trace:configure.in:16: -1- AC_SUBST([build_cpu], [$[1]])
  21471. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([build_cpu])
  21472. +m4trace:configure.in:16: -1- m4_pattern_allow([^build_cpu$])
  21473. +m4trace:configure.in:16: -1- AC_SUBST([build_vendor], [$[2]])
  21474. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([build_vendor])
  21475. +m4trace:configure.in:16: -1- m4_pattern_allow([^build_vendor$])
  21476. +m4trace:configure.in:16: -1- AC_SUBST([build_os])
  21477. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([build_os])
  21478. +m4trace:configure.in:16: -1- m4_pattern_allow([^build_os$])
  21479. +m4trace:configure.in:16: -1- AC_SUBST([host], [$ac_cv_host])
  21480. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([host])
  21481. +m4trace:configure.in:16: -1- m4_pattern_allow([^host$])
  21482. +m4trace:configure.in:16: -1- AC_SUBST([host_cpu], [$[1]])
  21483. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([host_cpu])
  21484. +m4trace:configure.in:16: -1- m4_pattern_allow([^host_cpu$])
  21485. +m4trace:configure.in:16: -1- AC_SUBST([host_vendor], [$[2]])
  21486. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([host_vendor])
  21487. +m4trace:configure.in:16: -1- m4_pattern_allow([^host_vendor$])
  21488. +m4trace:configure.in:16: -1- AC_SUBST([host_os])
  21489. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([host_os])
  21490. +m4trace:configure.in:16: -1- m4_pattern_allow([^host_os$])
  21491. +m4trace:configure.in:16: -1- AC_SUBST([target], [$ac_cv_target])
  21492. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([target])
  21493. +m4trace:configure.in:16: -1- m4_pattern_allow([^target$])
  21494. +m4trace:configure.in:16: -1- AC_SUBST([target_cpu], [$[1]])
  21495. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([target_cpu])
  21496. +m4trace:configure.in:16: -1- m4_pattern_allow([^target_cpu$])
  21497. +m4trace:configure.in:16: -1- AC_SUBST([target_vendor], [$[2]])
  21498. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([target_vendor])
  21499. +m4trace:configure.in:16: -1- m4_pattern_allow([^target_vendor$])
  21500. +m4trace:configure.in:16: -1- AC_SUBST([target_os])
  21501. +m4trace:configure.in:16: -1- AC_SUBST_TRACE([target_os])
  21502. +m4trace:configure.in:16: -1- m4_pattern_allow([^target_os$])
  21503. +m4trace:configure.in:17: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
  21504. +You should run autoupdate.], [../../lib/autoconf/specific.m4:464: AC_ISC_POSIX is expanded from...
  21505. +configure.in:17: the top level])
  21506. +m4trace:configure.in:17: -1- AC_SUBST([CC])
  21507. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CC])
  21508. +m4trace:configure.in:17: -1- m4_pattern_allow([^CC$])
  21509. +m4trace:configure.in:17: -1- AC_SUBST([CFLAGS])
  21510. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CFLAGS])
  21511. +m4trace:configure.in:17: -1- m4_pattern_allow([^CFLAGS$])
  21512. +m4trace:configure.in:17: -1- AC_SUBST([LDFLAGS])
  21513. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([LDFLAGS])
  21514. +m4trace:configure.in:17: -1- m4_pattern_allow([^LDFLAGS$])
  21515. +m4trace:configure.in:17: -1- AC_SUBST([LIBS])
  21516. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([LIBS])
  21517. +m4trace:configure.in:17: -1- m4_pattern_allow([^LIBS$])
  21518. +m4trace:configure.in:17: -1- AC_SUBST([CPPFLAGS])
  21519. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CPPFLAGS])
  21520. +m4trace:configure.in:17: -1- m4_pattern_allow([^CPPFLAGS$])
  21521. +m4trace:configure.in:17: -1- AC_SUBST([CC])
  21522. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CC])
  21523. +m4trace:configure.in:17: -1- m4_pattern_allow([^CC$])
  21524. +m4trace:configure.in:17: -1- AC_SUBST([CC])
  21525. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CC])
  21526. +m4trace:configure.in:17: -1- m4_pattern_allow([^CC$])
  21527. +m4trace:configure.in:17: -1- AC_SUBST([CC])
  21528. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CC])
  21529. +m4trace:configure.in:17: -1- m4_pattern_allow([^CC$])
  21530. +m4trace:configure.in:17: -1- AC_SUBST([CC])
  21531. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([CC])
  21532. +m4trace:configure.in:17: -1- m4_pattern_allow([^CC$])
  21533. +m4trace:configure.in:17: -1- AC_SUBST([ac_ct_CC])
  21534. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([ac_ct_CC])
  21535. +m4trace:configure.in:17: -1- m4_pattern_allow([^ac_ct_CC$])
  21536. +m4trace:configure.in:17: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  21537. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([EXEEXT])
  21538. +m4trace:configure.in:17: -1- m4_pattern_allow([^EXEEXT$])
  21539. +m4trace:configure.in:17: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  21540. +m4trace:configure.in:17: -1- AC_SUBST_TRACE([OBJEXT])
  21541. +m4trace:configure.in:17: -1- m4_pattern_allow([^OBJEXT$])
  21542. +m4trace:configure.in:22: -1- AM_INIT_AUTOMAKE([gas], [${BFD_VERSION}])
  21543. +m4trace:configure.in:22: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  21544. +m4trace:configure.in:22: -1- AM_AUTOMAKE_VERSION([1.11.1])
  21545. +m4trace:configure.in:22: -1- AC_REQUIRE_AUX_FILE([install-sh])
  21546. +m4trace:configure.in:22: -1- AC_SUBST([INSTALL_PROGRAM])
  21547. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  21548. +m4trace:configure.in:22: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  21549. +m4trace:configure.in:22: -1- AC_SUBST([INSTALL_SCRIPT])
  21550. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  21551. +m4trace:configure.in:22: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  21552. +m4trace:configure.in:22: -1- AC_SUBST([INSTALL_DATA])
  21553. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([INSTALL_DATA])
  21554. +m4trace:configure.in:22: -1- m4_pattern_allow([^INSTALL_DATA$])
  21555. +m4trace:configure.in:22: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  21556. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__isrc])
  21557. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__isrc$])
  21558. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([am__isrc])
  21559. +m4trace:configure.in:22: -1- AC_SUBST([CYGPATH_W])
  21560. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([CYGPATH_W])
  21561. +m4trace:configure.in:22: -1- m4_pattern_allow([^CYGPATH_W$])
  21562. +m4trace:configure.in:22: -1- AC_SUBST([PACKAGE], [gas])
  21563. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([PACKAGE])
  21564. +m4trace:configure.in:22: -1- m4_pattern_allow([^PACKAGE$])
  21565. +m4trace:configure.in:22: -1- AC_SUBST([VERSION], [${BFD_VERSION}])
  21566. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([VERSION])
  21567. +m4trace:configure.in:22: -1- m4_pattern_allow([^VERSION$])
  21568. +m4trace:configure.in:22: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  21569. +m4trace:configure.in:22: -1- m4_pattern_allow([^PACKAGE$])
  21570. +m4trace:configure.in:22: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  21571. +@%:@undef PACKAGE])
  21572. +m4trace:configure.in:22: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  21573. +m4trace:configure.in:22: -1- m4_pattern_allow([^VERSION$])
  21574. +m4trace:configure.in:22: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  21575. +@%:@undef VERSION])
  21576. +m4trace:configure.in:22: -1- AC_REQUIRE_AUX_FILE([missing])
  21577. +m4trace:configure.in:22: -1- AC_SUBST([ACLOCAL])
  21578. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([ACLOCAL])
  21579. +m4trace:configure.in:22: -1- m4_pattern_allow([^ACLOCAL$])
  21580. +m4trace:configure.in:22: -1- AC_SUBST([AUTOCONF])
  21581. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AUTOCONF])
  21582. +m4trace:configure.in:22: -1- m4_pattern_allow([^AUTOCONF$])
  21583. +m4trace:configure.in:22: -1- AC_SUBST([AUTOMAKE])
  21584. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AUTOMAKE])
  21585. +m4trace:configure.in:22: -1- m4_pattern_allow([^AUTOMAKE$])
  21586. +m4trace:configure.in:22: -1- AC_SUBST([AUTOHEADER])
  21587. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AUTOHEADER])
  21588. +m4trace:configure.in:22: -1- m4_pattern_allow([^AUTOHEADER$])
  21589. +m4trace:configure.in:22: -1- AC_SUBST([MAKEINFO])
  21590. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([MAKEINFO])
  21591. +m4trace:configure.in:22: -1- m4_pattern_allow([^MAKEINFO$])
  21592. +m4trace:configure.in:22: -1- AC_SUBST([install_sh])
  21593. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([install_sh])
  21594. +m4trace:configure.in:22: -1- m4_pattern_allow([^install_sh$])
  21595. +m4trace:configure.in:22: -1- AC_SUBST([STRIP])
  21596. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([STRIP])
  21597. +m4trace:configure.in:22: -1- m4_pattern_allow([^STRIP$])
  21598. +m4trace:configure.in:22: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  21599. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  21600. +m4trace:configure.in:22: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  21601. +m4trace:configure.in:22: -1- AC_REQUIRE_AUX_FILE([install-sh])
  21602. +m4trace:configure.in:22: -1- AC_SUBST([MKDIR_P])
  21603. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([MKDIR_P])
  21604. +m4trace:configure.in:22: -1- m4_pattern_allow([^MKDIR_P$])
  21605. +m4trace:configure.in:22: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
  21606. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([mkdir_p])
  21607. +m4trace:configure.in:22: -1- m4_pattern_allow([^mkdir_p$])
  21608. +m4trace:configure.in:22: -1- AC_SUBST([AWK])
  21609. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AWK])
  21610. +m4trace:configure.in:22: -1- m4_pattern_allow([^AWK$])
  21611. +m4trace:configure.in:22: -1- AC_SUBST([SET_MAKE])
  21612. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([SET_MAKE])
  21613. +m4trace:configure.in:22: -1- m4_pattern_allow([^SET_MAKE$])
  21614. +m4trace:configure.in:22: -1- AC_SUBST([am__leading_dot])
  21615. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__leading_dot])
  21616. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__leading_dot$])
  21617. +m4trace:configure.in:22: -1- AC_SUBST([AMTAR])
  21618. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AMTAR])
  21619. +m4trace:configure.in:22: -1- m4_pattern_allow([^AMTAR$])
  21620. +m4trace:configure.in:22: -1- AC_SUBST([am__tar])
  21621. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__tar])
  21622. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__tar$])
  21623. +m4trace:configure.in:22: -1- AC_SUBST([am__untar])
  21624. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__untar])
  21625. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__untar$])
  21626. +m4trace:configure.in:22: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  21627. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([DEPDIR])
  21628. +m4trace:configure.in:22: -1- m4_pattern_allow([^DEPDIR$])
  21629. +m4trace:configure.in:22: -1- AC_SUBST([am__include])
  21630. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__include])
  21631. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__include$])
  21632. +m4trace:configure.in:22: -1- AC_SUBST([am__quote])
  21633. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__quote])
  21634. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__quote$])
  21635. +m4trace:configure.in:22: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  21636. +m4trace:configure.in:22: -1- AC_SUBST([AMDEP_TRUE])
  21637. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  21638. +m4trace:configure.in:22: -1- m4_pattern_allow([^AMDEP_TRUE$])
  21639. +m4trace:configure.in:22: -1- AC_SUBST([AMDEP_FALSE])
  21640. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  21641. +m4trace:configure.in:22: -1- m4_pattern_allow([^AMDEP_FALSE$])
  21642. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  21643. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  21644. +m4trace:configure.in:22: -1- AC_SUBST([AMDEPBACKSLASH])
  21645. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  21646. +m4trace:configure.in:22: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  21647. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  21648. +m4trace:configure.in:22: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  21649. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([CCDEPMODE])
  21650. +m4trace:configure.in:22: -1- m4_pattern_allow([^CCDEPMODE$])
  21651. +m4trace:configure.in:22: -1- AM_CONDITIONAL([am__fastdepCC], [
  21652. + test "x$enable_dependency_tracking" != xno \
  21653. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  21654. +m4trace:configure.in:22: -1- AC_SUBST([am__fastdepCC_TRUE])
  21655. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  21656. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  21657. +m4trace:configure.in:22: -1- AC_SUBST([am__fastdepCC_FALSE])
  21658. +m4trace:configure.in:22: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  21659. +m4trace:configure.in:22: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  21660. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  21661. +m4trace:configure.in:22: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  21662. +m4trace:configure.in:24: -1- AC_SUBST([CC])
  21663. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
  21664. +m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
  21665. +m4trace:configure.in:24: -1- AC_SUBST([CFLAGS])
  21666. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CFLAGS])
  21667. +m4trace:configure.in:24: -1- m4_pattern_allow([^CFLAGS$])
  21668. +m4trace:configure.in:24: -1- AC_SUBST([LDFLAGS])
  21669. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([LDFLAGS])
  21670. +m4trace:configure.in:24: -1- m4_pattern_allow([^LDFLAGS$])
  21671. +m4trace:configure.in:24: -1- AC_SUBST([LIBS])
  21672. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([LIBS])
  21673. +m4trace:configure.in:24: -1- m4_pattern_allow([^LIBS$])
  21674. +m4trace:configure.in:24: -1- AC_SUBST([CPPFLAGS])
  21675. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CPPFLAGS])
  21676. +m4trace:configure.in:24: -1- m4_pattern_allow([^CPPFLAGS$])
  21677. +m4trace:configure.in:24: -1- AC_SUBST([CC])
  21678. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
  21679. +m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
  21680. +m4trace:configure.in:24: -1- AC_SUBST([CC])
  21681. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
  21682. +m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
  21683. +m4trace:configure.in:24: -1- AC_SUBST([CC])
  21684. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
  21685. +m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
  21686. +m4trace:configure.in:24: -1- AC_SUBST([CC])
  21687. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
  21688. +m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
  21689. +m4trace:configure.in:24: -1- AC_SUBST([ac_ct_CC])
  21690. +m4trace:configure.in:24: -1- AC_SUBST_TRACE([ac_ct_CC])
  21691. +m4trace:configure.in:24: -1- m4_pattern_allow([^ac_ct_CC$])
  21692. +m4trace:configure.in:25: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
  21693. +You should run autoupdate.], [../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
  21694. +configure.in:25: the top level])
  21695. +m4trace:configure.in:25: -1- AC_SUBST([CPP])
  21696. +m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPP])
  21697. +m4trace:configure.in:25: -1- m4_pattern_allow([^CPP$])
  21698. +m4trace:configure.in:25: -1- AC_SUBST([CPPFLAGS])
  21699. +m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPPFLAGS])
  21700. +m4trace:configure.in:25: -1- m4_pattern_allow([^CPPFLAGS$])
  21701. +m4trace:configure.in:25: -1- AC_SUBST([CPP])
  21702. +m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPP])
  21703. +m4trace:configure.in:25: -1- m4_pattern_allow([^CPP$])
  21704. +m4trace:configure.in:25: -1- AC_SUBST([GREP])
  21705. +m4trace:configure.in:25: -1- AC_SUBST_TRACE([GREP])
  21706. +m4trace:configure.in:25: -1- m4_pattern_allow([^GREP$])
  21707. +m4trace:configure.in:25: -1- AC_SUBST([EGREP])
  21708. +m4trace:configure.in:25: -1- AC_SUBST_TRACE([EGREP])
  21709. +m4trace:configure.in:25: -1- m4_pattern_allow([^EGREP$])
  21710. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  21711. +m4trace:configure.in:25: -1- m4_pattern_allow([^STDC_HEADERS$])
  21712. +m4trace:configure.in:25: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  21713. +@%:@undef STDC_HEADERS])
  21714. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  21715. +@%:@undef HAVE_SYS_TYPES_H])
  21716. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  21717. +@%:@undef HAVE_SYS_STAT_H])
  21718. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  21719. +@%:@undef HAVE_STDLIB_H])
  21720. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  21721. +@%:@undef HAVE_STRING_H])
  21722. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  21723. +@%:@undef HAVE_MEMORY_H])
  21724. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  21725. +@%:@undef HAVE_STRINGS_H])
  21726. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  21727. +@%:@undef HAVE_INTTYPES_H])
  21728. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  21729. +@%:@undef HAVE_STDINT_H])
  21730. +m4trace:configure.in:25: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  21731. +@%:@undef HAVE_UNISTD_H])
  21732. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE])
  21733. +m4trace:configure.in:25: -1- m4_pattern_allow([^_POSIX_SOURCE$])
  21734. +m4trace:configure.in:25: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */
  21735. +@%:@undef _POSIX_SOURCE])
  21736. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE])
  21737. +m4trace:configure.in:25: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
  21738. +m4trace:configure.in:25: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with
  21739. + this defined. */
  21740. +@%:@undef _POSIX_1_SOURCE])
  21741. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_MINIX])
  21742. +m4trace:configure.in:25: -1- m4_pattern_allow([^_MINIX$])
  21743. +m4trace:configure.in:25: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */
  21744. +@%:@undef _MINIX])
  21745. +m4trace:configure.in:25: -1- AH_OUTPUT([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */
  21746. +#ifndef _ALL_SOURCE
  21747. +# undef _ALL_SOURCE
  21748. +#endif
  21749. +/* Enable GNU extensions on systems that have them. */
  21750. +#ifndef _GNU_SOURCE
  21751. +# undef _GNU_SOURCE
  21752. +#endif
  21753. +/* Enable threading extensions on Solaris. */
  21754. +#ifndef _POSIX_PTHREAD_SEMANTICS
  21755. +# undef _POSIX_PTHREAD_SEMANTICS
  21756. +#endif
  21757. +/* Enable extensions on HP NonStop. */
  21758. +#ifndef _TANDEM_SOURCE
  21759. +# undef _TANDEM_SOURCE
  21760. +#endif
  21761. +/* Enable general extensions on Solaris. */
  21762. +#ifndef __EXTENSIONS__
  21763. +# undef __EXTENSIONS__
  21764. +#endif
  21765. +])
  21766. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__])
  21767. +m4trace:configure.in:25: -1- m4_pattern_allow([^__EXTENSIONS__$])
  21768. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE])
  21769. +m4trace:configure.in:25: -1- m4_pattern_allow([^_ALL_SOURCE$])
  21770. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
  21771. +m4trace:configure.in:25: -1- m4_pattern_allow([^_GNU_SOURCE$])
  21772. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS])
  21773. +m4trace:configure.in:25: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
  21774. +m4trace:configure.in:25: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE])
  21775. +m4trace:configure.in:25: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
  21776. +m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
  21777. +m4trace:configure.in:27: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  21778. +m4trace:configure.in:27: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
  21779. +@%:@undef _FILE_OFFSET_BITS])
  21780. +m4trace:configure.in:27: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
  21781. +m4trace:configure.in:27: -1- m4_pattern_allow([^_LARGE_FILES$])
  21782. +m4trace:configure.in:27: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
  21783. +@%:@undef _LARGE_FILES])
  21784. +m4trace:configure.in:29: -1- LT_INIT
  21785. +m4trace:configure.in:29: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  21786. +m4trace:configure.in:29: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  21787. +m4trace:configure.in:29: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  21788. +m4trace:configure.in:29: -1- AC_SUBST([LIBTOOL])
  21789. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([LIBTOOL])
  21790. +m4trace:configure.in:29: -1- m4_pattern_allow([^LIBTOOL$])
  21791. +m4trace:configure.in:29: -1- AC_SUBST([SED])
  21792. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([SED])
  21793. +m4trace:configure.in:29: -1- m4_pattern_allow([^SED$])
  21794. +m4trace:configure.in:29: -1- AC_SUBST([FGREP])
  21795. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([FGREP])
  21796. +m4trace:configure.in:29: -1- m4_pattern_allow([^FGREP$])
  21797. +m4trace:configure.in:29: -1- AC_SUBST([GREP])
  21798. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([GREP])
  21799. +m4trace:configure.in:29: -1- m4_pattern_allow([^GREP$])
  21800. +m4trace:configure.in:29: -1- AC_SUBST([LD])
  21801. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([LD])
  21802. +m4trace:configure.in:29: -1- m4_pattern_allow([^LD$])
  21803. +m4trace:configure.in:29: -1- AC_SUBST([DUMPBIN])
  21804. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([DUMPBIN])
  21805. +m4trace:configure.in:29: -1- m4_pattern_allow([^DUMPBIN$])
  21806. +m4trace:configure.in:29: -1- AC_SUBST([ac_ct_DUMPBIN])
  21807. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
  21808. +m4trace:configure.in:29: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  21809. +m4trace:configure.in:29: -1- AC_SUBST([DUMPBIN])
  21810. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([DUMPBIN])
  21811. +m4trace:configure.in:29: -1- m4_pattern_allow([^DUMPBIN$])
  21812. +m4trace:configure.in:29: -1- AC_SUBST([NM])
  21813. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([NM])
  21814. +m4trace:configure.in:29: -1- m4_pattern_allow([^NM$])
  21815. +m4trace:configure.in:29: -1- AC_SUBST([LN_S], [$as_ln_s])
  21816. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([LN_S])
  21817. +m4trace:configure.in:29: -1- m4_pattern_allow([^LN_S$])
  21818. +m4trace:configure.in:29: -1- AC_SUBST([OBJDUMP])
  21819. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([OBJDUMP])
  21820. +m4trace:configure.in:29: -1- m4_pattern_allow([^OBJDUMP$])
  21821. +m4trace:configure.in:29: -1- AC_SUBST([OBJDUMP])
  21822. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([OBJDUMP])
  21823. +m4trace:configure.in:29: -1- m4_pattern_allow([^OBJDUMP$])
  21824. +m4trace:configure.in:29: -1- AC_SUBST([AR])
  21825. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([AR])
  21826. +m4trace:configure.in:29: -1- m4_pattern_allow([^AR$])
  21827. +m4trace:configure.in:29: -1- AC_SUBST([STRIP])
  21828. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([STRIP])
  21829. +m4trace:configure.in:29: -1- m4_pattern_allow([^STRIP$])
  21830. +m4trace:configure.in:29: -1- AC_SUBST([RANLIB])
  21831. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([RANLIB])
  21832. +m4trace:configure.in:29: -1- m4_pattern_allow([^RANLIB$])
  21833. +m4trace:configure.in:29: -1- m4_pattern_allow([LT_OBJDIR])
  21834. +m4trace:configure.in:29: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
  21835. +m4trace:configure.in:29: -1- m4_pattern_allow([^LT_OBJDIR$])
  21836. +m4trace:configure.in:29: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
  21837. + */
  21838. +@%:@undef LT_OBJDIR])
  21839. +m4trace:configure.in:29: -1- LT_SUPPORTED_TAG([CC])
  21840. +m4trace:configure.in:29: -1- AC_SUBST([DSYMUTIL])
  21841. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([DSYMUTIL])
  21842. +m4trace:configure.in:29: -1- m4_pattern_allow([^DSYMUTIL$])
  21843. +m4trace:configure.in:29: -1- AC_SUBST([NMEDIT])
  21844. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([NMEDIT])
  21845. +m4trace:configure.in:29: -1- m4_pattern_allow([^NMEDIT$])
  21846. +m4trace:configure.in:29: -1- AC_SUBST([LIPO])
  21847. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([LIPO])
  21848. +m4trace:configure.in:29: -1- m4_pattern_allow([^LIPO$])
  21849. +m4trace:configure.in:29: -1- AC_SUBST([OTOOL])
  21850. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([OTOOL])
  21851. +m4trace:configure.in:29: -1- m4_pattern_allow([^OTOOL$])
  21852. +m4trace:configure.in:29: -1- AC_SUBST([OTOOL64])
  21853. +m4trace:configure.in:29: -1- AC_SUBST_TRACE([OTOOL64])
  21854. +m4trace:configure.in:29: -1- m4_pattern_allow([^OTOOL64$])
  21855. +m4trace:configure.in:29: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
  21856. +@%:@undef HAVE_DLFCN_H])
  21857. +m4trace:configure.in:29: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
  21858. +m4trace:configure.in:29: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  21859. +m4trace:configure.in:51: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_CHECKING])
  21860. +m4trace:configure.in:51: -1- m4_pattern_allow([^ENABLE_CHECKING$])
  21861. +m4trace:configure.in:51: -1- AH_OUTPUT([ENABLE_CHECKING], [/* Define if you want run-time sanity checks. */
  21862. +@%:@undef ENABLE_CHECKING])
  21863. +m4trace:configure.in:56: -1- AC_SUBST([WARN_CFLAGS])
  21864. +m4trace:configure.in:56: -1- AC_SUBST_TRACE([WARN_CFLAGS])
  21865. +m4trace:configure.in:56: -1- m4_pattern_allow([^WARN_CFLAGS$])
  21866. +m4trace:configure.in:56: -1- AC_SUBST([NO_WERROR])
  21867. +m4trace:configure.in:56: -1- AC_SUBST_TRACE([NO_WERROR])
  21868. +m4trace:configure.in:56: -1- m4_pattern_allow([^NO_WERROR$])
  21869. +m4trace:configure.in:59: -1- AC_CONFIG_HEADERS([config.h:config.in])
  21870. +m4trace:configure.in:66: -1- AC_CONFIG_FILES([gdb.ini:gdbinit.in])
  21871. +m4trace:configure.in:70: -1- AC_CONFIG_FILES([.gdbinit:gdbinit.in])
  21872. +m4trace:configure.in:73: -1- AC_SUBST([GDBINIT])
  21873. +m4trace:configure.in:73: -1- AC_SUBST_TRACE([GDBINIT])
  21874. +m4trace:configure.in:73: -1- m4_pattern_allow([^GDBINIT$])
  21875. +m4trace:configure.in:76: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  21876. + significant byte first (like Motorola and SPARC, unlike Intel). */
  21877. +#if defined AC_APPLE_UNIVERSAL_BUILD
  21878. +# if defined __BIG_ENDIAN__
  21879. +# define WORDS_BIGENDIAN 1
  21880. +# endif
  21881. +#else
  21882. +# ifndef WORDS_BIGENDIAN
  21883. +# undef WORDS_BIGENDIAN
  21884. +# endif
  21885. +#endif])
  21886. +m4trace:configure.in:76: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
  21887. +m4trace:configure.in:76: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
  21888. +m4trace:configure.in:76: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
  21889. +m4trace:configure.in:76: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
  21890. +m4trace:configure.in:76: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
  21891. +@%:@undef AC_APPLE_UNIVERSAL_BUILD])
  21892. +m4trace:configure.in:111: -1- AC_DEFINE_TRACE_LITERAL([DEFAULT_CRIS_ARCH])
  21893. +m4trace:configure.in:111: -1- m4_pattern_allow([^DEFAULT_CRIS_ARCH$])
  21894. +m4trace:configure.in:111: -1- AH_OUTPUT([DEFAULT_CRIS_ARCH], [/* Default CRIS architecture. */
  21895. +@%:@undef DEFAULT_CRIS_ARCH])
  21896. +m4trace:configure.in:126: -1- AC_DEFINE_TRACE_LITERAL([SCO_ELF])
  21897. +m4trace:configure.in:126: -1- m4_pattern_allow([^SCO_ELF$])
  21898. +m4trace:configure.in:126: -1- AH_OUTPUT([SCO_ELF], [/* Define if defaulting to ELF on SCO 5. */
  21899. +@%:@undef SCO_ELF])
  21900. +m4trace:configure.in:133: -1- AC_DEFINE_TRACE_LITERAL([STRICTCOFF])
  21901. +m4trace:configure.in:133: -1- m4_pattern_allow([^STRICTCOFF$])
  21902. +m4trace:configure.in:133: -1- AH_OUTPUT([STRICTCOFF], [/* Using strict COFF? */
  21903. +@%:@undef STRICTCOFF])
  21904. +m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([AIX_WEAK_SUPPORT])
  21905. +m4trace:configure.in:152: -1- m4_pattern_allow([^AIX_WEAK_SUPPORT$])
  21906. +m4trace:configure.in:152: -1- AH_OUTPUT([AIX_WEAK_SUPPORT], [/* Define if using AIX 5.2 value for C_WEAKEXT. */
  21907. +@%:@undef AIX_WEAK_SUPPORT])
  21908. +m4trace:configure.in:163: -1- AC_DEFINE_TRACE_LITERAL([TARGET_SOLARIS_COMMENT])
  21909. +m4trace:configure.in:163: -1- m4_pattern_allow([^TARGET_SOLARIS_COMMENT$])
  21910. +m4trace:configure.in:163: -1- AH_OUTPUT([TARGET_SOLARIS_COMMENT], [/* Define if default target is PowerPC Solaris. */
  21911. +@%:@undef TARGET_SOLARIS_COMMENT])
  21912. +m4trace:configure.in:172: -1- AC_DEFINE_TRACE_LITERAL([TARGET_SYMBIAN])
  21913. +m4trace:configure.in:172: -1- m4_pattern_allow([^TARGET_SYMBIAN$])
  21914. +m4trace:configure.in:172: -1- AH_OUTPUT([TARGET_SYMBIAN], [/* Define if target is Symbian OS. */
  21915. +@%:@undef TARGET_SYMBIAN])
  21916. +m4trace:configure.in:184: -1- AC_DEFINE_TRACE_LITERAL([TARGET_BYTES_BIG_ENDIAN])
  21917. +m4trace:configure.in:184: -1- m4_pattern_allow([^TARGET_BYTES_BIG_ENDIAN$])
  21918. +m4trace:configure.in:184: -1- AH_OUTPUT([TARGET_BYTES_BIG_ENDIAN], [/* Define as 1 if big endian. */
  21919. +@%:@undef TARGET_BYTES_BIG_ENDIAN])
  21920. +m4trace:configure.in:266: -1- AC_DEFINE_TRACE_LITERAL([MIPS_CPU_STRING_DEFAULT])
  21921. +m4trace:configure.in:266: -1- m4_pattern_allow([^MIPS_CPU_STRING_DEFAULT$])
  21922. +m4trace:configure.in:266: -1- AH_OUTPUT([MIPS_CPU_STRING_DEFAULT], [/* Default CPU for MIPS targets. */
  21923. +@%:@undef MIPS_CPU_STRING_DEFAULT])
  21924. +m4trace:configure.in:268: -1- AC_DEFINE_TRACE_LITERAL([USE_E_MIPS_ABI_O32])
  21925. +m4trace:configure.in:268: -1- m4_pattern_allow([^USE_E_MIPS_ABI_O32$])
  21926. +m4trace:configure.in:268: -1- AH_OUTPUT([USE_E_MIPS_ABI_O32], [/* Allow use of E_MIPS_ABI_O32 on MIPS targets. */
  21927. +@%:@undef USE_E_MIPS_ABI_O32])
  21928. +m4trace:configure.in:270: -1- AC_DEFINE_TRACE_LITERAL([MIPS_DEFAULT_64BIT])
  21929. +m4trace:configure.in:270: -1- m4_pattern_allow([^MIPS_DEFAULT_64BIT$])
  21930. +m4trace:configure.in:270: -1- AH_OUTPUT([MIPS_DEFAULT_64BIT], [/* Generate 64-bit code by default on MIPS targets. */
  21931. +@%:@undef MIPS_DEFAULT_64BIT])
  21932. +m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([MIPS_DEFAULT_ABI])
  21933. +m4trace:configure.in:272: -1- m4_pattern_allow([^MIPS_DEFAULT_ABI$])
  21934. +m4trace:configure.in:272: -1- AH_OUTPUT([MIPS_DEFAULT_ABI], [/* Choose a default ABI for MIPS targets. */
  21935. +@%:@undef MIPS_DEFAULT_ABI])
  21936. +m4trace:configure.in:352: -1- AC_DEFINE_TRACE_LITERAL([DEFAULT_ARCH])
  21937. +m4trace:configure.in:352: -1- m4_pattern_allow([^DEFAULT_ARCH$])
  21938. +m4trace:configure.in:352: -1- AH_OUTPUT([DEFAULT_ARCH], [/* Default architecture. */
  21939. +@%:@undef DEFAULT_ARCH])
  21940. +m4trace:configure.in:487: -1- AC_SUBST([cgen_cpu_prefix])
  21941. +m4trace:configure.in:487: -1- AC_SUBST_TRACE([cgen_cpu_prefix])
  21942. +m4trace:configure.in:487: -1- m4_pattern_allow([^cgen_cpu_prefix$])
  21943. +m4trace:configure.in:488: -1- AC_DEFINE_TRACE_LITERAL([USING_CGEN])
  21944. +m4trace:configure.in:488: -1- m4_pattern_allow([^USING_CGEN$])
  21945. +m4trace:configure.in:488: -1- AH_OUTPUT([USING_CGEN], [/* Using cgen code? */
  21946. +@%:@undef USING_CGEN])
  21947. +m4trace:configure.in:507: -1- AC_DEFINE_TRACE_LITERAL([I386COFF])
  21948. +m4trace:configure.in:507: -1- m4_pattern_allow([^I386COFF$])
  21949. +m4trace:configure.in:507: -1- AH_OUTPUT([I386COFF], [/* Using i386 COFF? */
  21950. +@%:@undef I386COFF])
  21951. +m4trace:configure.in:508: -1- AC_DEFINE_TRACE_LITERAL([M68KCOFF])
  21952. +m4trace:configure.in:508: -1- m4_pattern_allow([^M68KCOFF$])
  21953. +m4trace:configure.in:508: -1- AH_OUTPUT([M68KCOFF], [/* Using m68k COFF? */
  21954. +@%:@undef M68KCOFF])
  21955. +m4trace:configure.in:509: -1- AC_DEFINE_TRACE_LITERAL([M88KCOFF])
  21956. +m4trace:configure.in:509: -1- m4_pattern_allow([^M88KCOFF$])
  21957. +m4trace:configure.in:509: -1- AH_OUTPUT([M88KCOFF], [/* Using m88k COFF? */
  21958. +@%:@undef M88KCOFF])
  21959. +m4trace:configure.in:510: -1- AC_DEFINE_TRACE_LITERAL([I386COFF])
  21960. +m4trace:configure.in:510: -1- m4_pattern_allow([^I386COFF$])
  21961. +m4trace:configure.in:510: -1- AH_OUTPUT([I386COFF], [/* Using i386 COFF? */
  21962. +@%:@undef I386COFF])
  21963. +m4trace:configure.in:554: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_AOUT])
  21964. +m4trace:configure.in:554: -1- m4_pattern_allow([^OBJ_MAYBE_AOUT$])
  21965. +m4trace:configure.in:554: -1- AH_OUTPUT([OBJ_MAYBE_AOUT], [/* a.out support? */
  21966. +@%:@undef OBJ_MAYBE_AOUT])
  21967. +m4trace:configure.in:555: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_BOUT])
  21968. +m4trace:configure.in:555: -1- m4_pattern_allow([^OBJ_MAYBE_BOUT$])
  21969. +m4trace:configure.in:555: -1- AH_OUTPUT([OBJ_MAYBE_BOUT], [/* b.out support? */
  21970. +@%:@undef OBJ_MAYBE_BOUT])
  21971. +m4trace:configure.in:556: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_COFF])
  21972. +m4trace:configure.in:556: -1- m4_pattern_allow([^OBJ_MAYBE_COFF$])
  21973. +m4trace:configure.in:556: -1- AH_OUTPUT([OBJ_MAYBE_COFF], [/* COFF support? */
  21974. +@%:@undef OBJ_MAYBE_COFF])
  21975. +m4trace:configure.in:557: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_ECOFF])
  21976. +m4trace:configure.in:557: -1- m4_pattern_allow([^OBJ_MAYBE_ECOFF$])
  21977. +m4trace:configure.in:557: -1- AH_OUTPUT([OBJ_MAYBE_ECOFF], [/* ECOFF support? */
  21978. +@%:@undef OBJ_MAYBE_ECOFF])
  21979. +m4trace:configure.in:558: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_ELF])
  21980. +m4trace:configure.in:558: -1- m4_pattern_allow([^OBJ_MAYBE_ELF$])
  21981. +m4trace:configure.in:558: -1- AH_OUTPUT([OBJ_MAYBE_ELF], [/* ELF support? */
  21982. +@%:@undef OBJ_MAYBE_ELF])
  21983. +m4trace:configure.in:559: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_GENERIC])
  21984. +m4trace:configure.in:559: -1- m4_pattern_allow([^OBJ_MAYBE_GENERIC$])
  21985. +m4trace:configure.in:559: -1- AH_OUTPUT([OBJ_MAYBE_GENERIC], [/* generic support? */
  21986. +@%:@undef OBJ_MAYBE_GENERIC])
  21987. +m4trace:configure.in:560: -1- AC_DEFINE_TRACE_LITERAL([OBJ_MAYBE_SOM])
  21988. +m4trace:configure.in:560: -1- m4_pattern_allow([^OBJ_MAYBE_SOM$])
  21989. +m4trace:configure.in:560: -1- AH_OUTPUT([OBJ_MAYBE_SOM], [/* SOM support? */
  21990. +@%:@undef OBJ_MAYBE_SOM])
  21991. +m4trace:configure.in:574: -1- AC_DEFINE_TRACE_LITERAL([USE_EMULATIONS])
  21992. +m4trace:configure.in:574: -1- m4_pattern_allow([^USE_EMULATIONS$])
  21993. +m4trace:configure.in:574: -1- AH_OUTPUT([USE_EMULATIONS], [/* Use emulation support? */
  21994. +@%:@undef USE_EMULATIONS])
  21995. +m4trace:configure.in:577: -1- AC_SUBST([extra_objects])
  21996. +m4trace:configure.in:577: -1- AC_SUBST_TRACE([extra_objects])
  21997. +m4trace:configure.in:577: -1- m4_pattern_allow([^extra_objects$])
  21998. +m4trace:configure.in:578: -1- AC_DEFINE_TRACE_LITERAL([EMULATIONS])
  21999. +m4trace:configure.in:578: -1- m4_pattern_allow([^EMULATIONS$])
  22000. +m4trace:configure.in:578: -1- AH_OUTPUT([EMULATIONS], [/* Supported emulations. */
  22001. +@%:@undef EMULATIONS])
  22002. +m4trace:configure.in:579: -1- AC_DEFINE_TRACE_LITERAL([DEFAULT_EMULATION])
  22003. +m4trace:configure.in:579: -1- m4_pattern_allow([^DEFAULT_EMULATION$])
  22004. +m4trace:configure.in:579: -1- AH_OUTPUT([DEFAULT_EMULATION], [/* Default emulation. */
  22005. +@%:@undef DEFAULT_EMULATION])
  22006. +m4trace:configure.in:590: -1- AC_SUBST([target_cpu_type])
  22007. +m4trace:configure.in:590: -1- AC_SUBST_TRACE([target_cpu_type])
  22008. +m4trace:configure.in:590: -1- m4_pattern_allow([^target_cpu_type$])
  22009. +m4trace:configure.in:591: -1- AC_SUBST([obj_format])
  22010. +m4trace:configure.in:591: -1- AC_SUBST_TRACE([obj_format])
  22011. +m4trace:configure.in:591: -1- m4_pattern_allow([^obj_format$])
  22012. +m4trace:configure.in:592: -1- AC_SUBST([te_file])
  22013. +m4trace:configure.in:592: -1- AC_SUBST_TRACE([te_file])
  22014. +m4trace:configure.in:592: -1- m4_pattern_allow([^te_file$])
  22015. +m4trace:configure.in:593: -1- AC_SUBST([install_tooldir])
  22016. +m4trace:configure.in:593: -1- AC_SUBST_TRACE([install_tooldir])
  22017. +m4trace:configure.in:593: -1- m4_pattern_allow([^install_tooldir$])
  22018. +m4trace:configure.in:594: -1- AC_SUBST([atof])
  22019. +m4trace:configure.in:594: -1- AC_SUBST_TRACE([atof])
  22020. +m4trace:configure.in:594: -1- m4_pattern_allow([^atof$])
  22021. +m4trace:configure.in:604: -1- AC_SUBST([OPCODES_LIB])
  22022. +m4trace:configure.in:604: -1- AC_SUBST_TRACE([OPCODES_LIB])
  22023. +m4trace:configure.in:604: -1- m4_pattern_allow([^OPCODES_LIB$])
  22024. +m4trace:configure.in:606: -1- AC_DEFINE_TRACE_LITERAL([TARGET_ALIAS])
  22025. +m4trace:configure.in:606: -1- m4_pattern_allow([^TARGET_ALIAS$])
  22026. +m4trace:configure.in:606: -1- AH_OUTPUT([TARGET_ALIAS], [/* Target alias. */
  22027. +@%:@undef TARGET_ALIAS])
  22028. +m4trace:configure.in:607: -1- AC_DEFINE_TRACE_LITERAL([TARGET_CANONICAL])
  22029. +m4trace:configure.in:607: -1- m4_pattern_allow([^TARGET_CANONICAL$])
  22030. +m4trace:configure.in:607: -1- AH_OUTPUT([TARGET_CANONICAL], [/* Canonical target. */
  22031. +@%:@undef TARGET_CANONICAL])
  22032. +m4trace:configure.in:608: -1- AC_DEFINE_TRACE_LITERAL([TARGET_CPU])
  22033. +m4trace:configure.in:608: -1- m4_pattern_allow([^TARGET_CPU$])
  22034. +m4trace:configure.in:608: -1- AH_OUTPUT([TARGET_CPU], [/* Target CPU. */
  22035. +@%:@undef TARGET_CPU])
  22036. +m4trace:configure.in:609: -1- AC_DEFINE_TRACE_LITERAL([TARGET_VENDOR])
  22037. +m4trace:configure.in:609: -1- m4_pattern_allow([^TARGET_VENDOR$])
  22038. +m4trace:configure.in:609: -1- AH_OUTPUT([TARGET_VENDOR], [/* Target vendor. */
  22039. +@%:@undef TARGET_VENDOR])
  22040. +m4trace:configure.in:610: -1- AC_DEFINE_TRACE_LITERAL([TARGET_OS])
  22041. +m4trace:configure.in:610: -1- m4_pattern_allow([^TARGET_OS$])
  22042. +m4trace:configure.in:610: -1- AH_OUTPUT([TARGET_OS], [/* Target OS. */
  22043. +@%:@undef TARGET_OS])
  22044. +m4trace:configure.in:612: -1- AC_SUBST([YACC])
  22045. +m4trace:configure.in:612: -1- AC_SUBST_TRACE([YACC])
  22046. +m4trace:configure.in:612: -1- m4_pattern_allow([^YACC$])
  22047. +m4trace:configure.in:612: -1- AC_SUBST([YACC])
  22048. +m4trace:configure.in:612: -1- AC_SUBST_TRACE([YACC])
  22049. +m4trace:configure.in:612: -1- m4_pattern_allow([^YACC$])
  22050. +m4trace:configure.in:612: -1- AC_SUBST([YFLAGS])
  22051. +m4trace:configure.in:612: -1- AC_SUBST_TRACE([YFLAGS])
  22052. +m4trace:configure.in:612: -1- m4_pattern_allow([^YFLAGS$])
  22053. +m4trace:configure.in:613: -1- AC_SUBST([LEX])
  22054. +m4trace:configure.in:613: -1- AC_SUBST_TRACE([LEX])
  22055. +m4trace:configure.in:613: -1- m4_pattern_allow([^LEX$])
  22056. +m4trace:configure.in:613: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
  22057. +m4trace:configure.in:613: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT])
  22058. +m4trace:configure.in:613: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
  22059. +m4trace:configure.in:613: -1- AC_SUBST([LEXLIB])
  22060. +m4trace:configure.in:613: -1- AC_SUBST_TRACE([LEXLIB])
  22061. +m4trace:configure.in:613: -1- m4_pattern_allow([^LEXLIB$])
  22062. +m4trace:configure.in:613: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
  22063. +m4trace:configure.in:613: -1- m4_pattern_allow([^YYTEXT_POINTER$])
  22064. +m4trace:configure.in:613: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
  22065. + `char[]\'. */
  22066. +@%:@undef YYTEXT_POINTER])
  22067. +m4trace:configure.in:616: -1- AC_SUBST([USE_NLS])
  22068. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([USE_NLS])
  22069. +m4trace:configure.in:616: -1- m4_pattern_allow([^USE_NLS$])
  22070. +m4trace:configure.in:616: -1- AC_SUBST([LIBINTL])
  22071. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([LIBINTL])
  22072. +m4trace:configure.in:616: -1- m4_pattern_allow([^LIBINTL$])
  22073. +m4trace:configure.in:616: -1- AC_SUBST([LIBINTL_DEP])
  22074. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([LIBINTL_DEP])
  22075. +m4trace:configure.in:616: -1- m4_pattern_allow([^LIBINTL_DEP$])
  22076. +m4trace:configure.in:616: -1- AC_SUBST([INCINTL])
  22077. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([INCINTL])
  22078. +m4trace:configure.in:616: -1- m4_pattern_allow([^INCINTL$])
  22079. +m4trace:configure.in:616: -1- AC_SUBST([XGETTEXT])
  22080. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([XGETTEXT])
  22081. +m4trace:configure.in:616: -1- m4_pattern_allow([^XGETTEXT$])
  22082. +m4trace:configure.in:616: -1- AC_SUBST([GMSGFMT])
  22083. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([GMSGFMT])
  22084. +m4trace:configure.in:616: -1- m4_pattern_allow([^GMSGFMT$])
  22085. +m4trace:configure.in:616: -1- AC_SUBST([POSUB])
  22086. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([POSUB])
  22087. +m4trace:configure.in:616: -1- m4_pattern_allow([^POSUB$])
  22088. +m4trace:configure.in:616: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS])
  22089. +m4trace:configure.in:616: -1- m4_pattern_allow([^ENABLE_NLS$])
  22090. +m4trace:configure.in:616: -1- AH_OUTPUT([ENABLE_NLS], [/* Define to 1 if translation of program messages to the user\'s native
  22091. + language is requested. */
  22092. +@%:@undef ENABLE_NLS])
  22093. +m4trace:configure.in:616: -1- AC_SUBST([CATALOGS])
  22094. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([CATALOGS])
  22095. +m4trace:configure.in:616: -1- m4_pattern_allow([^CATALOGS$])
  22096. +m4trace:configure.in:616: -1- AC_SUBST([DATADIRNAME])
  22097. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([DATADIRNAME])
  22098. +m4trace:configure.in:616: -1- m4_pattern_allow([^DATADIRNAME$])
  22099. +m4trace:configure.in:616: -1- AC_SUBST([INSTOBJEXT])
  22100. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([INSTOBJEXT])
  22101. +m4trace:configure.in:616: -1- m4_pattern_allow([^INSTOBJEXT$])
  22102. +m4trace:configure.in:616: -1- AC_SUBST([GENCAT])
  22103. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([GENCAT])
  22104. +m4trace:configure.in:616: -1- m4_pattern_allow([^GENCAT$])
  22105. +m4trace:configure.in:616: -1- AC_SUBST([CATOBJEXT])
  22106. +m4trace:configure.in:616: -1- AC_SUBST_TRACE([CATOBJEXT])
  22107. +m4trace:configure.in:616: -1- m4_pattern_allow([^CATOBJEXT$])
  22108. +m4trace:configure.in:617: -1- AC_SUBST([MKINSTALLDIRS])
  22109. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([MKINSTALLDIRS])
  22110. +m4trace:configure.in:617: -1- m4_pattern_allow([^MKINSTALLDIRS$])
  22111. +m4trace:configure.in:617: -1- AC_SUBST([USE_NLS])
  22112. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([USE_NLS])
  22113. +m4trace:configure.in:617: -1- m4_pattern_allow([^USE_NLS$])
  22114. +m4trace:configure.in:617: -1- AC_SUBST([MSGFMT])
  22115. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([MSGFMT])
  22116. +m4trace:configure.in:617: -1- m4_pattern_allow([^MSGFMT$])
  22117. +m4trace:configure.in:617: -1- AC_SUBST([GMSGFMT])
  22118. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([GMSGFMT])
  22119. +m4trace:configure.in:617: -1- m4_pattern_allow([^GMSGFMT$])
  22120. +m4trace:configure.in:617: -1- AC_SUBST([XGETTEXT])
  22121. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([XGETTEXT])
  22122. +m4trace:configure.in:617: -1- m4_pattern_allow([^XGETTEXT$])
  22123. +m4trace:configure.in:617: -1- AC_SUBST([MSGMERGE])
  22124. +m4trace:configure.in:617: -1- AC_SUBST_TRACE([MSGMERGE])
  22125. +m4trace:configure.in:617: -1- m4_pattern_allow([^MSGMERGE$])
  22126. +m4trace:configure.in:617: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
  22127. +You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from...
  22128. +../config/po.m4:23: AM_PO_SUBDIRS is expanded from...
  22129. +configure.in:617: the top level])
  22130. +m4trace:configure.in:619: -1- AM_MAINTAINER_MODE
  22131. +m4trace:configure.in:619: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  22132. +m4trace:configure.in:619: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
  22133. +m4trace:configure.in:619: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
  22134. +m4trace:configure.in:619: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
  22135. +m4trace:configure.in:619: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
  22136. +m4trace:configure.in:619: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
  22137. +m4trace:configure.in:619: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
  22138. +m4trace:configure.in:619: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
  22139. +m4trace:configure.in:619: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
  22140. +m4trace:configure.in:619: -1- AC_SUBST([MAINT])
  22141. +m4trace:configure.in:619: -1- AC_SUBST_TRACE([MAINT])
  22142. +m4trace:configure.in:619: -1- m4_pattern_allow([^MAINT$])
  22143. +m4trace:configure.in:620: -1- AM_CONDITIONAL([GENINSRC_NEVER], [false])
  22144. +m4trace:configure.in:620: -1- AC_SUBST([GENINSRC_NEVER_TRUE])
  22145. +m4trace:configure.in:620: -1- AC_SUBST_TRACE([GENINSRC_NEVER_TRUE])
  22146. +m4trace:configure.in:620: -1- m4_pattern_allow([^GENINSRC_NEVER_TRUE$])
  22147. +m4trace:configure.in:620: -1- AC_SUBST([GENINSRC_NEVER_FALSE])
  22148. +m4trace:configure.in:620: -1- AC_SUBST_TRACE([GENINSRC_NEVER_FALSE])
  22149. +m4trace:configure.in:620: -1- m4_pattern_allow([^GENINSRC_NEVER_FALSE$])
  22150. +m4trace:configure.in:620: -1- _AM_SUBST_NOTMAKE([GENINSRC_NEVER_TRUE])
  22151. +m4trace:configure.in:620: -1- _AM_SUBST_NOTMAKE([GENINSRC_NEVER_FALSE])
  22152. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  22153. +@%:@undef HAVE_STRING_H])
  22154. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  22155. +@%:@undef HAVE_STDLIB_H])
  22156. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  22157. +@%:@undef HAVE_MEMORY_H])
  22158. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  22159. +@%:@undef HAVE_STRINGS_H])
  22160. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  22161. +@%:@undef HAVE_UNISTD_H])
  22162. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
  22163. +@%:@undef HAVE_ERRNO_H])
  22164. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  22165. +@%:@undef HAVE_SYS_TYPES_H])
  22166. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
  22167. +@%:@undef HAVE_LIMITS_H])
  22168. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_TIME_H], [/* Define to 1 if you have the <time.h> header file. */
  22169. +@%:@undef HAVE_TIME_H])
  22170. +m4trace:configure.in:623: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  22171. +@%:@undef HAVE_SYS_STAT_H])
  22172. +m4trace:configure.in:632: -1- AC_DEFINE_TRACE_LITERAL([CROSS_COMPILE])
  22173. +m4trace:configure.in:632: -1- m4_pattern_allow([^CROSS_COMPILE$])
  22174. +m4trace:configure.in:632: -1- AH_OUTPUT([CROSS_COMPILE], [/* Compiling cross-assembler? */
  22175. +@%:@undef CROSS_COMPILE])
  22176. +m4trace:configure.in:638: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
  22177. +m4trace:configure.in:638: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
  22178. +m4trace:configure.in:638: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
  22179. + */
  22180. +@%:@undef HAVE_ALLOCA_H])
  22181. +m4trace:configure.in:638: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
  22182. +m4trace:configure.in:638: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  22183. +m4trace:configure.in:638: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
  22184. +@%:@undef HAVE_ALLOCA])
  22185. +m4trace:configure.in:638: -1- AC_LIBSOURCE([alloca.c])
  22186. +m4trace:configure.in:638: -1- AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])
  22187. +m4trace:configure.in:638: -1- AC_SUBST_TRACE([ALLOCA])
  22188. +m4trace:configure.in:638: -1- m4_pattern_allow([^ALLOCA$])
  22189. +m4trace:configure.in:638: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
  22190. +m4trace:configure.in:638: -1- m4_pattern_allow([^C_ALLOCA$])
  22191. +m4trace:configure.in:638: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
  22192. +@%:@undef C_ALLOCA])
  22193. +m4trace:configure.in:638: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
  22194. +m4trace:configure.in:638: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
  22195. +m4trace:configure.in:638: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
  22196. + systems. This function is required for `alloca.c\' support on those systems.
  22197. + */
  22198. +@%:@undef CRAY_STACKSEG_END])
  22199. +m4trace:configure.in:638: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
  22200. + direction of stack growth for your system; otherwise it will be
  22201. + automatically deduced at runtime.
  22202. + STACK_DIRECTION > 0 => grows toward higher addresses
  22203. + STACK_DIRECTION < 0 => grows toward lower addresses
  22204. + STACK_DIRECTION = 0 => direction of growth unknown */
  22205. +@%:@undef STACK_DIRECTION])
  22206. +m4trace:configure.in:638: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
  22207. +m4trace:configure.in:638: -1- m4_pattern_allow([^STACK_DIRECTION$])
  22208. +m4trace:configure.in:639: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
  22209. + calls it, or to nothing if \'inline\' is not supported under any name. */
  22210. +#ifndef __cplusplus
  22211. +#undef inline
  22212. +#endif])
  22213. +m4trace:configure.in:642: -1- AH_OUTPUT([HAVE_UNLINK], [/* Define to 1 if you have the `unlink\' function. */
  22214. +@%:@undef HAVE_UNLINK])
  22215. +m4trace:configure.in:642: -1- AH_OUTPUT([HAVE_REMOVE], [/* Define to 1 if you have the `remove\' function. */
  22216. +@%:@undef HAVE_REMOVE])
  22217. +m4trace:configure.in:645: -1- AH_OUTPUT([HAVE_SBRK], [/* Define to 1 if you have the `sbrk\' function. */
  22218. +@%:@undef HAVE_SBRK])
  22219. +m4trace:configure.in:645: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SBRK])
  22220. +m4trace:configure.in:645: -1- m4_pattern_allow([^HAVE_SBRK$])
  22221. +m4trace:configure.in:650: -1- AC_SUBST([LIBM])
  22222. +m4trace:configure.in:650: -1- AC_SUBST_TRACE([LIBM])
  22223. +m4trace:configure.in:650: -1- m4_pattern_allow([^LIBM$])
  22224. +m4trace:configure.in:651: -1- AC_SUBST([LIBM])
  22225. +m4trace:configure.in:651: -1- AC_SUBST_TRACE([LIBM])
  22226. +m4trace:configure.in:651: -1- m4_pattern_allow([^LIBM$])
  22227. +m4trace:configure.in:658: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22228. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22229. +acinclude.m4:22: GAS_WORKING_ASSERT is expanded from...
  22230. +configure.in:658: the top level])
  22231. +m4trace:configure.in:658: -1- AC_DEFINE_TRACE_LITERAL([BROKEN_ASSERT])
  22232. +m4trace:configure.in:658: -1- m4_pattern_allow([^BROKEN_ASSERT$])
  22233. +m4trace:configure.in:658: -1- AH_OUTPUT([BROKEN_ASSERT], [/* assert broken? */
  22234. +@%:@undef BROKEN_ASSERT])
  22235. +m4trace:configure.in:684: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22236. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22237. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22238. +configure.in:684: the top level])
  22239. +m4trace:configure.in:684: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_ERRNO])
  22240. +m4trace:configure.in:684: -1- m4_pattern_allow([^NEED_DECLARATION_ERRNO$])
  22241. +m4trace:configure.in:684: -1- AH_OUTPUT([NEED_DECLARATION_ERRNO], [/* Define if errno is not declared in system header files. */
  22242. +@%:@undef NEED_DECLARATION_ERRNO])
  22243. +m4trace:configure.in:696: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETOPT])
  22244. +m4trace:configure.in:696: -1- m4_pattern_allow([^HAVE_DECL_GETOPT$])
  22245. +m4trace:configure.in:696: -1- AH_OUTPUT([HAVE_DECL_GETOPT], [/* Is the prototype for getopt in <unistd.h> in the expected format? */
  22246. +@%:@undef HAVE_DECL_GETOPT])
  22247. +m4trace:configure.in:700: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22248. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22249. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22250. +configure.in:700: the top level])
  22251. +m4trace:configure.in:700: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_ENVIRON])
  22252. +m4trace:configure.in:700: -1- m4_pattern_allow([^NEED_DECLARATION_ENVIRON$])
  22253. +m4trace:configure.in:700: -1- AH_OUTPUT([NEED_DECLARATION_ENVIRON], [/* Define if environ is not declared in system header files. */
  22254. +@%:@undef NEED_DECLARATION_ENVIRON])
  22255. +m4trace:configure.in:701: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22256. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22257. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22258. +configure.in:701: the top level])
  22259. +m4trace:configure.in:701: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_FFS])
  22260. +m4trace:configure.in:701: -1- m4_pattern_allow([^NEED_DECLARATION_FFS$])
  22261. +m4trace:configure.in:701: -1- AH_OUTPUT([NEED_DECLARATION_FFS], [/* Define if ffs is not declared in system header files. */
  22262. +@%:@undef NEED_DECLARATION_FFS])
  22263. +m4trace:configure.in:702: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22264. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22265. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22266. +configure.in:702: the top level])
  22267. +m4trace:configure.in:702: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_FREE])
  22268. +m4trace:configure.in:702: -1- m4_pattern_allow([^NEED_DECLARATION_FREE$])
  22269. +m4trace:configure.in:702: -1- AH_OUTPUT([NEED_DECLARATION_FREE], [/* Define if free is not declared in system header files. */
  22270. +@%:@undef NEED_DECLARATION_FREE])
  22271. +m4trace:configure.in:703: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22272. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22273. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22274. +configure.in:703: the top level])
  22275. +m4trace:configure.in:703: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_MALLOC])
  22276. +m4trace:configure.in:703: -1- m4_pattern_allow([^NEED_DECLARATION_MALLOC$])
  22277. +m4trace:configure.in:703: -1- AH_OUTPUT([NEED_DECLARATION_MALLOC], [/* Define if malloc is not declared in system header files. */
  22278. +@%:@undef NEED_DECLARATION_MALLOC])
  22279. +m4trace:configure.in:704: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22280. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22281. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22282. +configure.in:704: the top level])
  22283. +m4trace:configure.in:704: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_SBRK])
  22284. +m4trace:configure.in:704: -1- m4_pattern_allow([^NEED_DECLARATION_SBRK$])
  22285. +m4trace:configure.in:704: -1- AH_OUTPUT([NEED_DECLARATION_SBRK], [/* Define if sbrk is not declared in system header files. */
  22286. +@%:@undef NEED_DECLARATION_SBRK])
  22287. +m4trace:configure.in:705: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  22288. +You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  22289. +acinclude.m4:2: GAS_CHECK_DECL_NEEDED is expanded from...
  22290. +configure.in:705: the top level])
  22291. +m4trace:configure.in:705: -1- AC_DEFINE_TRACE_LITERAL([NEED_DECLARATION_STRSTR])
  22292. +m4trace:configure.in:705: -1- m4_pattern_allow([^NEED_DECLARATION_STRSTR$])
  22293. +m4trace:configure.in:705: -1- AH_OUTPUT([NEED_DECLARATION_STRSTR], [/* Define if strstr is not declared in system header files. */
  22294. +@%:@undef NEED_DECLARATION_STRSTR])
  22295. +m4trace:configure.in:707: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_MEMPCPY])
  22296. +m4trace:configure.in:707: -1- m4_pattern_allow([^HAVE_DECL_MEMPCPY$])
  22297. +m4trace:configure.in:707: -1- AH_OUTPUT([HAVE_DECL_MEMPCPY], [/* Define to 1 if you have the declaration of `mempcpy\', and to 0 if you
  22298. + don\'t. */
  22299. +@%:@undef HAVE_DECL_MEMPCPY])
  22300. +m4trace:configure.in:708: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_VSNPRINTF])
  22301. +m4trace:configure.in:708: -1- m4_pattern_allow([^HAVE_DECL_VSNPRINTF$])
  22302. +m4trace:configure.in:708: -1- AH_OUTPUT([HAVE_DECL_VSNPRINTF], [/* Define to 1 if you have the declaration of `vsnprintf\', and to 0 if you
  22303. + don\'t. */
  22304. +@%:@undef HAVE_DECL_VSNPRINTF])
  22305. +m4trace:configure.in:710: -1- AC_DEFINE_TRACE_LITERAL([USE_BINARY_FOPEN])
  22306. +m4trace:configure.in:710: -1- m4_pattern_allow([^USE_BINARY_FOPEN$])
  22307. +m4trace:configure.in:710: -1- AH_OUTPUT([USE_BINARY_FOPEN], [/* Use b modifier when opening binary files? */
  22308. +@%:@undef USE_BINARY_FOPEN])
  22309. +m4trace:configure.in:713: -1- AH_OUTPUT([HAVE_ZLIB_H], [/* Define to 1 if you have the <zlib.h> header file. */
  22310. +@%:@undef HAVE_ZLIB_H])
  22311. +m4trace:configure.in:713: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB_H])
  22312. +m4trace:configure.in:713: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
  22313. +m4trace:configure.in:718: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  22314. +You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  22315. +../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  22316. +../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  22317. +acinclude.m4:60: GAS_HAVE_TIME_TYPE_MEMBER is expanded from...
  22318. +configure.in:718: the top level])
  22319. +m4trace:configure.in:718: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TM_GMTOFF])
  22320. +m4trace:configure.in:718: -1- m4_pattern_allow([^HAVE_TM_GMTOFF$])
  22321. +m4trace:configure.in:718: -1- AH_OUTPUT([HAVE_TM_GMTOFF], [/* Define if <time.h> has struct tm.tm_gmtoff. */
  22322. +@%:@undef HAVE_TM_GMTOFF])
  22323. +m4trace:configure.in:722: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  22324. +You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  22325. +../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  22326. +../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  22327. +acinclude.m4:79: GAS_HAVE_SYS_STAT_TYPE_MEMBER is expanded from...
  22328. +configure.in:722: the top level])
  22329. +m4trace:configure.in:722: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_MTIM_TV_SEC])
  22330. +m4trace:configure.in:722: -1- m4_pattern_allow([^HAVE_ST_MTIM_TV_SEC$])
  22331. +m4trace:configure.in:722: -1- AH_OUTPUT([HAVE_ST_MTIM_TV_SEC], [/* Define if <sys/stat.h> has struct stat.st_mtim.tv_sec */
  22332. +@%:@undef HAVE_ST_MTIM_TV_SEC])
  22333. +m4trace:configure.in:723: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  22334. +You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  22335. +../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  22336. +../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  22337. +acinclude.m4:79: GAS_HAVE_SYS_STAT_TYPE_MEMBER is expanded from...
  22338. +configure.in:723: the top level])
  22339. +m4trace:configure.in:723: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ST_MTIM_TV_NSEC])
  22340. +m4trace:configure.in:723: -1- m4_pattern_allow([^HAVE_ST_MTIM_TV_NSEC$])
  22341. +m4trace:configure.in:723: -1- AH_OUTPUT([HAVE_ST_MTIM_TV_NSEC], [/* Define if <sys/stat.h> has struct stat.st_mtim.tv_nsec */
  22342. +@%:@undef HAVE_ST_MTIM_TV_NSEC])
  22343. +m4trace:configure.in:728: -1- AC_SUBST([datarootdir])
  22344. +m4trace:configure.in:728: -1- AC_SUBST_TRACE([datarootdir])
  22345. +m4trace:configure.in:728: -1- m4_pattern_allow([^datarootdir$])
  22346. +m4trace:configure.in:729: -1- AC_SUBST([docdir])
  22347. +m4trace:configure.in:729: -1- AC_SUBST_TRACE([docdir])
  22348. +m4trace:configure.in:729: -1- m4_pattern_allow([^docdir$])
  22349. +m4trace:configure.in:730: -1- AC_SUBST([htmldir])
  22350. +m4trace:configure.in:730: -1- AC_SUBST_TRACE([htmldir])
  22351. +m4trace:configure.in:730: -1- m4_pattern_allow([^htmldir$])
  22352. +m4trace:configure.in:731: -1- AC_SUBST([pdfdir])
  22353. +m4trace:configure.in:731: -1- AC_SUBST_TRACE([pdfdir])
  22354. +m4trace:configure.in:731: -1- m4_pattern_allow([^pdfdir$])
  22355. +m4trace:configure.in:741: -1- AC_CONFIG_FILES([Makefile doc/Makefile po/Makefile.in:po/Make-in])
  22356. +m4trace:configure.in:756: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  22357. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  22358. +m4trace:configure.in:756: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  22359. +m4trace:configure.in:756: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  22360. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([LTLIBOBJS])
  22361. +m4trace:configure.in:756: -1- m4_pattern_allow([^LTLIBOBJS$])
  22362. +m4trace:configure.in:756: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  22363. +m4trace:configure.in:756: -1- AC_SUBST([am__EXEEXT_TRUE])
  22364. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  22365. +m4trace:configure.in:756: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  22366. +m4trace:configure.in:756: -1- AC_SUBST([am__EXEEXT_FALSE])
  22367. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  22368. +m4trace:configure.in:756: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  22369. +m4trace:configure.in:756: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  22370. +m4trace:configure.in:756: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  22371. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([top_builddir])
  22372. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([top_build_prefix])
  22373. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([srcdir])
  22374. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([abs_srcdir])
  22375. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([top_srcdir])
  22376. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([abs_top_srcdir])
  22377. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([builddir])
  22378. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([abs_builddir])
  22379. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([abs_top_builddir])
  22380. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([INSTALL])
  22381. +m4trace:configure.in:756: -1- AC_SUBST_TRACE([MKDIR_P])
  22382. +m4trace:configure.in:756: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  22383. diff -Nur binutils-2.21.orig/gas/config/atof-vax.c binutils-2.21/gas/config/atof-vax.c
  22384. --- binutils-2.21.orig/gas/config/atof-vax.c 2007-10-17 18:45:54.000000000 +0200
  22385. +++ binutils-2.21/gas/config/atof-vax.c 2011-08-28 14:56:19.917984145 +0200
  22386. @@ -268,9 +268,27 @@
  22387. int exponent_skippage;
  22388. LITTLENUM_TYPE word1;
  22389. - /* JF: Deal with new Nan, +Inf and -Inf codes. */
  22390. + /* JF: Deal with new +/-(q/Q/s/S)Nan, +Inf and -Inf codes. */
  22391. if (f->sign != '-' && f->sign != '+')
  22392. {
  22393. + if (f->sign == 0)
  22394. + {
  22395. + /* All NaNs are 0. */
  22396. + memset (words, 0x00, sizeof (LITTLENUM_TYPE) * precision);
  22397. + }
  22398. + else if (f->sign == 'P')
  22399. + {
  22400. + /* Positive Infinity. */
  22401. + memset (words, 0xff, sizeof (LITTLENUM_TYPE) * precision);
  22402. + words[0] &= 0x7fff;
  22403. + }
  22404. + else if (f->sign == 'N')
  22405. + {
  22406. + /* Negative Infinity. */
  22407. + memset (words, 0x00, sizeof (LITTLENUM_TYPE) * precision);
  22408. + words[0] = 0x0080;
  22409. + }
  22410. + else
  22411. make_invalid_floating_point_number (words);
  22412. return return_value;
  22413. }
  22414. diff -Nur binutils-2.21.orig/gas/config/tc-avr32.c binutils-2.21/gas/config/tc-avr32.c
  22415. --- binutils-2.21.orig/gas/config/tc-avr32.c 1970-01-01 01:00:00.000000000 +0100
  22416. +++ binutils-2.21/gas/config/tc-avr32.c 2011-08-28 14:56:19.937979852 +0200
  22417. @@ -0,0 +1,4839 @@
  22418. +/* Assembler implementation for AVR32.
  22419. + Copyright 2003,2004,2005,2006,2007,2008,2009,2010 Atmel Corporation.
  22420. +
  22421. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  22422. +
  22423. + This file is part of GAS, the GNU Assembler.
  22424. +
  22425. + GAS is free software; you can redistribute it and/or modify it
  22426. + under the terms of the GNU General Public License as published by
  22427. + the Free Software Foundation; either version 2, or (at your option)
  22428. + any later version.
  22429. +
  22430. + GAS is distributed in the hope that it will be useful, but WITHOUT
  22431. + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  22432. + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  22433. + License for more details.
  22434. +
  22435. + You should have received a copy of the GNU General Public License
  22436. + along with GAS; see the file COPYING. If not, write to the Free
  22437. + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  22438. + 02111-1307, USA. */
  22439. +
  22440. +#include <stdio.h>
  22441. +#include "as.h"
  22442. +#include "safe-ctype.h"
  22443. +#include "subsegs.h"
  22444. +#include "symcat.h"
  22445. +#include "opcodes/avr32-opc.h"
  22446. +#include "opcodes/avr32-asm.h"
  22447. +#include "elf/avr32.h"
  22448. +#include "dwarf2dbg.h"
  22449. +
  22450. +#define xDEBUG
  22451. +#define xOPC_CONSISTENCY_CHECK
  22452. +
  22453. +#ifdef DEBUG
  22454. +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
  22455. +#else
  22456. +# define pr_debug(fmt, args...)
  22457. +#endif
  22458. +
  22459. +/* 3 MSB of instruction word indicate group. Group 7 -> extended */
  22460. +#define AVR32_COMPACT_P(opcode) ((opcode[0] & 0xe0) != 0xe0)
  22461. +
  22462. +#define streq(a, b) (strcmp(a, b) == 0)
  22463. +#define skip_whitespace(str) do { while(*(str) == ' ') ++(str); } while(0)
  22464. +
  22465. +/* Flags given on the command line */
  22466. +static int avr32_pic = FALSE;
  22467. +int linkrelax = FALSE;
  22468. +int avr32_iarcompat = FALSE;
  22469. +
  22470. +/* This array holds the chars that always start a comment. */
  22471. +const char comment_chars[] = "#";
  22472. +
  22473. +/* This array holds the chars that only start a comment at the
  22474. + beginning of a line. We must include '#' here because the compiler
  22475. + may produce #APP and #NO_APP in its output. */
  22476. +const char line_comment_chars[] = "#";
  22477. +
  22478. +/* These may be used instead of newline (same as ';' in C). */
  22479. +const char line_separator_chars[] = ";";
  22480. +
  22481. +/* Chars that can be used to separate mantissa from exponent in
  22482. + floating point numbers. */
  22483. +const char EXP_CHARS[] = "eE";
  22484. +
  22485. +/* Chars that mean this number is a floating point constant. */
  22486. +const char FLT_CHARS[] = "dD";
  22487. +
  22488. +/* Pre-defined "_GLOBAL_OFFSET_TABLE_" */
  22489. +symbolS *GOT_symbol;
  22490. +
  22491. +static struct hash_control *avr32_mnemonic_htab;
  22492. +
  22493. +struct avr32_ifield_data
  22494. +{
  22495. + bfd_vma value;
  22496. + /* FIXME: Get rid of align_order and complain. complain is never
  22497. + used, align_order is used in one place. Try to use the relax
  22498. + table instead. */
  22499. + unsigned int align_order;
  22500. +};
  22501. +
  22502. +struct avr32_insn
  22503. +{
  22504. + const struct avr32_syntax *syntax;
  22505. + expressionS immediate;
  22506. + int pcrel;
  22507. + int force_extended;
  22508. + unsigned int next_slot;
  22509. + bfd_reloc_code_real_type r_type;
  22510. + struct avr32_ifield_data field_value[AVR32_MAX_FIELDS];
  22511. +};
  22512. +
  22513. +static struct avr32_insn current_insn;
  22514. +
  22515. +/* The target specific pseudo-ops we support. */
  22516. +static void s_rseg (int);
  22517. +static void s_cpool(int);
  22518. +
  22519. +const pseudo_typeS md_pseudo_table[] =
  22520. +{
  22521. + /* Make sure that .word is 32 bits */
  22522. + { "word", cons, 4 },
  22523. + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
  22524. + { "loc", dwarf2_directive_loc, 0 },
  22525. +
  22526. + /* .lcomm requires an explicit alignment parameter */
  22527. + { "lcomm", s_lcomm, 1 },
  22528. +
  22529. + /* AVR32-specific pseudo-ops */
  22530. + { "cpool", s_cpool, 0},
  22531. +
  22532. + /* IAR compatible pseudo-ops */
  22533. + { "program", s_ignore, 0 },
  22534. + { "public", s_globl, 0 },
  22535. + { "extern", s_ignore, 0 },
  22536. + { "module", s_ignore, 0 },
  22537. + { "rseg", s_rseg, 0 },
  22538. + { "dc8", cons, 1 },
  22539. + { "dc16", cons, 2 },
  22540. + { "dc32", cons, 4 },
  22541. +
  22542. + { NULL, NULL, 0 }
  22543. +};
  22544. +
  22545. +/* Questionable stuff starts here */
  22546. +
  22547. +enum avr32_opinfo {
  22548. + AVR32_OPINFO_NONE = BFD_RELOC_NONE,
  22549. + AVR32_OPINFO_GOT,
  22550. + AVR32_OPINFO_TLSGD,
  22551. + AVR32_OPINFO_HI,
  22552. + AVR32_OPINFO_LO,
  22553. +};
  22554. +
  22555. +enum avr32_arch {
  22556. + ARCH_TYPE_AP,
  22557. + ARCH_TYPE_UCR1,
  22558. + ARCH_TYPE_UCR2,
  22559. + ARCH_TYPE_UCR3,
  22560. + ARCH_TYPE_UCR3FP
  22561. +};
  22562. +
  22563. +struct arch_type_s
  22564. +{
  22565. + /* Architecture name */
  22566. + char *name;
  22567. + /* Instruction Set Architecture Flags */
  22568. + unsigned long isa_flags;
  22569. +};
  22570. +
  22571. +struct part_type_s
  22572. +{
  22573. + /* Part name */
  22574. + char *name;
  22575. + /* Architecture type */
  22576. + unsigned int arch;
  22577. +};
  22578. +
  22579. +static struct arch_type_s arch_types[] =
  22580. +{
  22581. + {"ap", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_PICO},
  22582. + {"ucr1", AVR32_V1 | AVR32_DSP | AVR32_RMW},
  22583. + {"ucr2", AVR32_V1 | AVR32_V2 | AVR32_DSP | AVR32_RMW},
  22584. + {"ucr3", AVR32_V1 | AVR32_V2 | AVR32_V3 | AVR32_DSP | AVR32_RMW},
  22585. + {"ucr3fp", AVR32_V1 | AVR32_V2 | AVR32_V3 | AVR32_DSP | AVR32_RMW | AVR32_V3FP},
  22586. + {"all-insn", AVR32_V1 | AVR32_V2 | AVR32_V3 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_V3FP | AVR32_PICO},
  22587. + {NULL, 0}
  22588. +};
  22589. +
  22590. +static struct part_type_s part_types[] =
  22591. +{
  22592. + {"ap7000", ARCH_TYPE_AP},
  22593. + {"ap7001", ARCH_TYPE_AP},
  22594. + {"ap7002", ARCH_TYPE_AP},
  22595. + {"ap7200", ARCH_TYPE_AP},
  22596. + {"uc3a0128", ARCH_TYPE_UCR2},
  22597. + {"uc3a0256", ARCH_TYPE_UCR2},
  22598. + {"uc3a0512es", ARCH_TYPE_UCR1},
  22599. + {"uc3a0512", ARCH_TYPE_UCR2},
  22600. + {"uc3a1128", ARCH_TYPE_UCR2},
  22601. + {"uc3a1256es", ARCH_TYPE_UCR1},
  22602. + {"uc3a1256", ARCH_TYPE_UCR2},
  22603. + {"uc3a1512es", ARCH_TYPE_UCR1},
  22604. + {"uc3a1512", ARCH_TYPE_UCR2},
  22605. + {"uc3a364", ARCH_TYPE_UCR2},
  22606. + {"uc3a364s", ARCH_TYPE_UCR2},
  22607. + {"uc3a3128", ARCH_TYPE_UCR2},
  22608. + {"uc3a3128s", ARCH_TYPE_UCR2},
  22609. + {"uc3a3256", ARCH_TYPE_UCR2},
  22610. + {"uc3a3256s", ARCH_TYPE_UCR2},
  22611. + {"uc3b064", ARCH_TYPE_UCR1},
  22612. + {"uc3b0128", ARCH_TYPE_UCR1},
  22613. + {"uc3b0256es", ARCH_TYPE_UCR1},
  22614. + {"uc3b0256", ARCH_TYPE_UCR1},
  22615. + {"uc3b0512", ARCH_TYPE_UCR2},
  22616. + {"uc3b0512revc", ARCH_TYPE_UCR2},
  22617. + {"uc3b164", ARCH_TYPE_UCR1},
  22618. + {"uc3b1128", ARCH_TYPE_UCR1},
  22619. + {"uc3b1256", ARCH_TYPE_UCR1},
  22620. + {"uc3b1256es", ARCH_TYPE_UCR1},
  22621. + {"uc3b1512", ARCH_TYPE_UCR2},
  22622. + {"uc3b1512revc", ARCH_TYPE_UCR2},
  22623. + {"uc3c0512crevc", ARCH_TYPE_UCR3},
  22624. + {"uc3c1512crevc", ARCH_TYPE_UCR3},
  22625. + {"uc3c2512crevc", ARCH_TYPE_UCR3},
  22626. + {"atuc3l0256", ARCH_TYPE_UCR3},
  22627. + {"mxt768e", ARCH_TYPE_UCR3},
  22628. + {"uc3l064", ARCH_TYPE_UCR3},
  22629. + {"uc3l032", ARCH_TYPE_UCR3},
  22630. + {"uc3l016", ARCH_TYPE_UCR3},
  22631. + {"uc3l064revb", ARCH_TYPE_UCR3},
  22632. + {"uc3c064c", ARCH_TYPE_UCR3FP},
  22633. + {"uc3c0128c", ARCH_TYPE_UCR3FP},
  22634. + {"uc3c0256c", ARCH_TYPE_UCR3FP},
  22635. + {"uc3c0512c", ARCH_TYPE_UCR3FP},
  22636. + {"uc3c164c", ARCH_TYPE_UCR3FP},
  22637. + {"uc3c1128c", ARCH_TYPE_UCR3FP},
  22638. + {"uc3c1256c", ARCH_TYPE_UCR3FP},
  22639. + {"uc3c1512c", ARCH_TYPE_UCR3FP},
  22640. + {"uc3c264c", ARCH_TYPE_UCR3FP},
  22641. + {"uc3c2128c", ARCH_TYPE_UCR3FP},
  22642. + {"uc3c2256c", ARCH_TYPE_UCR3FP},
  22643. + {"uc3c2512c", ARCH_TYPE_UCR3FP},
  22644. + {NULL, 0}
  22645. +};
  22646. +
  22647. +/* Current architecture type. */
  22648. +static struct arch_type_s default_arch = {"all-insn", AVR32_V1 | AVR32_V2 | AVR32_V3 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_V3FP | AVR32_PICO };
  22649. +static struct arch_type_s *avr32_arch = &default_arch;
  22650. +
  22651. +/* Display nicely formatted list of known part- and architecture names. */
  22652. +
  22653. +static void
  22654. +show_arch_list (FILE *stream)
  22655. +{
  22656. + int i, x;
  22657. +
  22658. + fprintf (stream, _("Architectures supported by the assembler:"));
  22659. + x = 1000;
  22660. +
  22661. + for (i = 0; arch_types[i].name; i++)
  22662. + {
  22663. + int len = strlen (arch_types[i].name);
  22664. +
  22665. + x += len + 1;
  22666. +
  22667. + if (x < 75)
  22668. + fprintf (stream, " %s", arch_types[i].name);
  22669. + else
  22670. + {
  22671. + fprintf (stream, "\n %s", arch_types[i].name);
  22672. + x = len + 2;
  22673. + }
  22674. + }
  22675. +
  22676. + fprintf (stream, "\n");
  22677. +}
  22678. +
  22679. +static void
  22680. +show_part_list (FILE *stream)
  22681. +{
  22682. + int i, x;
  22683. +
  22684. + fprintf (stream, _("Known part names:"));
  22685. + x = 1000;
  22686. +
  22687. + for (i = 0; part_types[i].name; i++)
  22688. + {
  22689. + int len = strlen(part_types[i].name);
  22690. +
  22691. + x += len + 1;
  22692. +
  22693. + if (x < 75)
  22694. + fprintf (stream, " %s", part_types[i].name);
  22695. + else
  22696. + {
  22697. + fprintf(stream, "\n %s", part_types[i].name);
  22698. + x = len + 2;
  22699. + }
  22700. + }
  22701. +
  22702. + fprintf (stream, "\n");
  22703. +}
  22704. +
  22705. +const char *md_shortopts = "";
  22706. +struct option md_longopts[] =
  22707. +{
  22708. +#define OPTION_ARCH (OPTION_MD_BASE)
  22709. +#define OPTION_PART (OPTION_ARCH + 1)
  22710. +#define OPTION_IAR (OPTION_PART + 1)
  22711. +#define OPTION_PIC (OPTION_IAR + 1)
  22712. +#define OPTION_NOPIC (OPTION_PIC + 1)
  22713. +#define OPTION_LINKRELAX (OPTION_NOPIC + 1)
  22714. +#define OPTION_NOLINKRELAX (OPTION_LINKRELAX + 1)
  22715. +#define OPTION_DIRECT_DATA_REFS (OPTION_NOLINKRELAX + 1)
  22716. + {"march", required_argument, NULL, OPTION_ARCH},
  22717. + {"mpart", required_argument, NULL, OPTION_PART},
  22718. + {"iar", no_argument, NULL, OPTION_IAR},
  22719. + {"pic", no_argument, NULL, OPTION_PIC},
  22720. + {"no-pic", no_argument, NULL, OPTION_NOPIC},
  22721. + {"linkrelax", no_argument, NULL, OPTION_LINKRELAX},
  22722. + {"no-linkrelax", no_argument, NULL, OPTION_NOLINKRELAX},
  22723. + /* deprecated alias for -mpart=xxx */
  22724. + {"mcpu", required_argument, NULL, OPTION_PART},
  22725. + {NULL, no_argument, NULL, 0}
  22726. +};
  22727. +
  22728. +size_t md_longopts_size = sizeof (md_longopts);
  22729. +
  22730. +void
  22731. +md_show_usage (FILE *stream)
  22732. +{
  22733. + fprintf (stream, _("\
  22734. +AVR32 options:\n\
  22735. + -march=[arch-name] Select cpu architecture. [Default `all-insn']\n\
  22736. + -mpart=[part-name] Select specific part. [Default `none']\n\
  22737. + --pic Produce Position-Independent Code\n\
  22738. + --no-pic Don't produce Position-Independent Code\n\
  22739. + --linkrelax Produce output suitable for linker relaxing\n\
  22740. + --no-linkrelax Don't produce output suitable for linker relaxing\n"));
  22741. + show_arch_list(stream);
  22742. +}
  22743. +
  22744. +int
  22745. +md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
  22746. +{
  22747. + switch (c)
  22748. + {
  22749. + case OPTION_ARCH:
  22750. + {
  22751. + int i;
  22752. + char *s = alloca (strlen (arg) + 1);
  22753. +
  22754. + {
  22755. + char *t = s;
  22756. + char *arg1 = arg;
  22757. +
  22758. + do
  22759. + *t = TOLOWER (*arg1++);
  22760. + while (*t++);
  22761. + }
  22762. +
  22763. + /* Add backward compability */
  22764. + if (strcmp ("uc", s)== 0)
  22765. + {
  22766. + as_warn("Deprecated arch `%s' specified. "
  22767. + "Please use '-march=ucr1' instead. "
  22768. + "Using to arch 'ucr1'\n",
  22769. + s);
  22770. + s="ucr1";
  22771. + }
  22772. +
  22773. + for (i = 0; arch_types[i].name; ++i)
  22774. + if (strcmp (arch_types[i].name, s) == 0)
  22775. + break;
  22776. +
  22777. + if (!arch_types[i].name)
  22778. + {
  22779. + show_arch_list (stderr);
  22780. + as_fatal (_("unknown architecture: %s\n"), arg);
  22781. + }
  22782. +
  22783. + avr32_arch = &arch_types[i];
  22784. + break;
  22785. + }
  22786. + case OPTION_PART:
  22787. + {
  22788. + int i;
  22789. + char *s = alloca (strlen (arg) + 1);
  22790. + char *t = s;
  22791. + char *p = arg;
  22792. +
  22793. + /* If arch type has already been set, don't bother.
  22794. + -march= always overrides -mpart= */
  22795. + if (avr32_arch != &default_arch)
  22796. + break;
  22797. +
  22798. + do
  22799. + *t = TOLOWER (*p++);
  22800. + while (*t++);
  22801. +
  22802. + for (i = 0; part_types[i].name; ++i)
  22803. + if (strcmp (part_types[i].name, s) == 0)
  22804. + break;
  22805. +
  22806. + if (!part_types[i].name)
  22807. + {
  22808. + show_part_list (stderr);
  22809. + as_fatal (_("unknown part: %s\n"), arg);
  22810. + }
  22811. +
  22812. + avr32_arch = &arch_types[part_types[i].arch];
  22813. + break;
  22814. + }
  22815. + case OPTION_IAR:
  22816. + avr32_iarcompat = 1;
  22817. + break;
  22818. + case OPTION_PIC:
  22819. + avr32_pic = 1;
  22820. + break;
  22821. + case OPTION_NOPIC:
  22822. + avr32_pic = 0;
  22823. + break;
  22824. + case OPTION_LINKRELAX:
  22825. + linkrelax = 1;
  22826. + break;
  22827. + case OPTION_NOLINKRELAX:
  22828. + linkrelax = 0;
  22829. + break;
  22830. + default:
  22831. + return 0;
  22832. + }
  22833. + return 1;
  22834. +}
  22835. +
  22836. +/* Can't use symbol_new here, so have to create a symbol and then at
  22837. + a later date assign it a value. Thats what these functions do.
  22838. +
  22839. + Shamelessly stolen from ARM. */
  22840. +
  22841. +static void
  22842. +symbol_locate (symbolS * symbolP,
  22843. + const char * name, /* It is copied, the caller can modify. */
  22844. + segT segment, /* Segment identifier (SEG_<something>). */
  22845. + valueT valu, /* Symbol value. */
  22846. + fragS * frag) /* Associated fragment. */
  22847. +{
  22848. + unsigned int name_length;
  22849. + char * preserved_copy_of_name;
  22850. +
  22851. + name_length = strlen (name) + 1; /* +1 for \0. */
  22852. + obstack_grow (&notes, name, name_length);
  22853. + preserved_copy_of_name = obstack_finish (&notes);
  22854. +#ifdef STRIP_UNDERSCORE
  22855. + if (preserved_copy_of_name[0] == '_')
  22856. + preserved_copy_of_name++;
  22857. +#endif
  22858. +
  22859. +#ifdef tc_canonicalize_symbol_name
  22860. + preserved_copy_of_name =
  22861. + tc_canonicalize_symbol_name (preserved_copy_of_name);
  22862. +#endif
  22863. +
  22864. + S_SET_NAME (symbolP, preserved_copy_of_name);
  22865. +
  22866. + S_SET_SEGMENT (symbolP, segment);
  22867. + S_SET_VALUE (symbolP, valu);
  22868. + symbol_clear_list_pointers (symbolP);
  22869. +
  22870. + symbol_set_frag (symbolP, frag);
  22871. +
  22872. + /* Link to end of symbol chain. */
  22873. + {
  22874. + extern int symbol_table_frozen;
  22875. +
  22876. + if (symbol_table_frozen)
  22877. + abort ();
  22878. + }
  22879. +
  22880. + symbol_append (symbolP, symbol_lastP, & symbol_rootP, & symbol_lastP);
  22881. +
  22882. + obj_symbol_new_hook (symbolP);
  22883. +
  22884. +#ifdef tc_symbol_new_hook
  22885. + tc_symbol_new_hook (symbolP);
  22886. +#endif
  22887. +
  22888. +#ifdef DEBUG_SYMS
  22889. + verify_symbol_chain (symbol_rootP, symbol_lastP);
  22890. +#endif /* DEBUG_SYMS */
  22891. +}
  22892. +
  22893. +struct cpool_entry
  22894. +{
  22895. + int refcount;
  22896. + offsetT offset;
  22897. + expressionS exp;
  22898. +};
  22899. +
  22900. +struct cpool
  22901. +{
  22902. + struct cpool *next;
  22903. + int used;
  22904. + struct cpool_entry *literals;
  22905. + unsigned int padding;
  22906. + unsigned int next_free_entry;
  22907. + unsigned int id;
  22908. + symbolS *symbol;
  22909. + segT section;
  22910. + subsegT sub_section;
  22911. +};
  22912. +
  22913. +struct cpool *cpool_list = NULL;
  22914. +
  22915. +static struct cpool *
  22916. +find_cpool(segT section, subsegT sub_section)
  22917. +{
  22918. + struct cpool *pool;
  22919. +
  22920. + for (pool = cpool_list; pool != NULL; pool = pool->next)
  22921. + {
  22922. + if (!pool->used
  22923. + && pool->section == section
  22924. + && pool->sub_section == sub_section)
  22925. + break;
  22926. + }
  22927. +
  22928. + return pool;
  22929. +}
  22930. +
  22931. +static struct cpool *
  22932. +find_or_make_cpool(segT section, subsegT sub_section)
  22933. +{
  22934. + static unsigned int next_cpool_id = 0;
  22935. + struct cpool *pool;
  22936. +
  22937. + pool = find_cpool(section, sub_section);
  22938. +
  22939. + if (!pool)
  22940. + {
  22941. + pool = xmalloc(sizeof(*pool));
  22942. + if (!pool)
  22943. + return NULL;
  22944. +
  22945. + pool->used = 0;
  22946. + pool->literals = NULL;
  22947. + pool->padding = 0;
  22948. + pool->next_free_entry = 0;
  22949. + pool->section = section;
  22950. + pool->sub_section = sub_section;
  22951. + pool->next = cpool_list;
  22952. + pool->symbol = NULL;
  22953. +
  22954. + cpool_list = pool;
  22955. + }
  22956. +
  22957. + /* NULL symbol means that the pool is new or has just been emptied. */
  22958. + if (!pool->symbol)
  22959. + {
  22960. + pool->symbol = symbol_create(FAKE_LABEL_NAME, undefined_section,
  22961. + 0, &zero_address_frag);
  22962. + pool->id = next_cpool_id++;
  22963. + }
  22964. +
  22965. + return pool;
  22966. +}
  22967. +
  22968. +static struct cpool *
  22969. +add_to_cpool(expressionS *exp, unsigned int *index, int ref)
  22970. +{
  22971. + struct cpool *pool;
  22972. + unsigned int entry;
  22973. +
  22974. + pool = find_or_make_cpool(now_seg, now_subseg);
  22975. +
  22976. + /* Check if this constant is already in the pool. */
  22977. + for (entry = 0; entry < pool->next_free_entry; entry++)
  22978. + {
  22979. + if ((pool->literals[entry].exp.X_op == exp->X_op)
  22980. + && (exp->X_op == O_constant)
  22981. + && (pool->literals[entry].exp.X_add_number
  22982. + == exp->X_add_number)
  22983. + && (pool->literals[entry].exp.X_unsigned
  22984. + == exp->X_unsigned))
  22985. + break;
  22986. +
  22987. + if ((pool->literals[entry].exp.X_op == exp->X_op)
  22988. + && (exp->X_op == O_symbol)
  22989. + && (pool->literals[entry].exp.X_add_number
  22990. + == exp->X_add_number)
  22991. + && (pool->literals[entry].exp.X_add_symbol
  22992. + == exp->X_add_symbol)
  22993. + && (pool->literals[entry].exp.X_op_symbol
  22994. + == exp->X_op_symbol))
  22995. + break;
  22996. + }
  22997. +
  22998. + /* Create an entry if we didn't find a match */
  22999. + if (entry == pool->next_free_entry)
  23000. + {
  23001. + pool->literals = xrealloc(pool->literals,
  23002. + sizeof(struct cpool_entry) * (entry + 1));
  23003. + pool->literals[entry].exp = *exp;
  23004. + pool->literals[entry].refcount = 0;
  23005. + pool->next_free_entry++;
  23006. + }
  23007. +
  23008. + if (index)
  23009. + *index = entry;
  23010. + if (ref)
  23011. + pool->literals[entry].refcount++;
  23012. +
  23013. + return pool;
  23014. +}
  23015. +
  23016. +struct avr32_operand
  23017. +{
  23018. + int id;
  23019. + int is_signed;
  23020. + int is_pcrel;
  23021. + int align_order;
  23022. + int (*match)(char *str);
  23023. + void (*parse)(const struct avr32_operand *op, char *str, int opindex);
  23024. +};
  23025. +
  23026. +static int
  23027. +match_anything(char *str ATTRIBUTE_UNUSED)
  23028. +{
  23029. + return 1;
  23030. +}
  23031. +
  23032. +static int
  23033. +match_intreg(char *str)
  23034. +{
  23035. + int regid, ret = 1;
  23036. +
  23037. + regid = avr32_parse_intreg(str);
  23038. + if (regid < 0)
  23039. + ret = 0;
  23040. +
  23041. + pr_debug("match_intreg: `%s': %d\n", str, ret);
  23042. +
  23043. + return ret;
  23044. +}
  23045. +
  23046. +static int
  23047. +match_intreg_predec(char *str)
  23048. +{
  23049. + int regid;
  23050. +
  23051. + if (str[0] != '-' || str[1] != '-')
  23052. + return 0;
  23053. +
  23054. + regid = avr32_parse_intreg(str + 2);
  23055. + if (regid < 0)
  23056. + return 0;
  23057. +
  23058. + return 1;
  23059. +}
  23060. +
  23061. +static int
  23062. +match_intreg_postinc(char *str)
  23063. +{
  23064. + int regid, ret = 1;
  23065. + char *p, c;
  23066. +
  23067. + for (p = str; *p; p++)
  23068. + if (*p == '+')
  23069. + break;
  23070. +
  23071. + if (p[0] != '+' || p[1] != '+')
  23072. + return 0;
  23073. +
  23074. + c = *p, *p = 0;
  23075. + regid = avr32_parse_intreg(str);
  23076. + if (regid < 0)
  23077. + ret = 0;
  23078. +
  23079. + *p = c;
  23080. + return ret;
  23081. +}
  23082. +
  23083. +static int
  23084. +match_intreg_lsl(char *str)
  23085. +{
  23086. + int regid, ret = 1;
  23087. + char *p, c;
  23088. +
  23089. + for (p = str; *p; p++)
  23090. + if (*p == '<')
  23091. + break;
  23092. +
  23093. + if (p[0] && p[1] != '<')
  23094. + return 0;
  23095. +
  23096. + c = *p, *p = 0;
  23097. + regid = avr32_parse_intreg(str);
  23098. + if (regid < 0)
  23099. + ret = 0;
  23100. +
  23101. + *p = c;
  23102. + return ret;
  23103. +}
  23104. +
  23105. +static int
  23106. +match_intreg_lsr(char *str)
  23107. +{
  23108. + int regid, ret = 1;
  23109. + char *p, c;
  23110. +
  23111. + for (p = str; *p; p++)
  23112. + if (*p == '>')
  23113. + break;
  23114. +
  23115. + if (p[0] && p[1] != '>')
  23116. + return 0;
  23117. +
  23118. + c = *p, *p = 0;
  23119. +
  23120. + regid = avr32_parse_intreg(str);
  23121. + if (regid < 0)
  23122. + ret = 0;
  23123. +
  23124. + *p = c;
  23125. + return ret;
  23126. +}
  23127. +
  23128. +static int
  23129. +match_intreg_part(char *str)
  23130. +{
  23131. + int regid, ret = 1;
  23132. + char *p, c;
  23133. +
  23134. + for (p = str; *p; p++)
  23135. + if (*p == ':')
  23136. + break;
  23137. +
  23138. + if (p[0] != ':' || !ISPRINT(p[1]) || p[2] != '\0')
  23139. + return 0;
  23140. +
  23141. + c = *p, *p = 0;
  23142. + regid = avr32_parse_intreg(str);
  23143. + if (regid < 0)
  23144. + ret = 0;
  23145. +
  23146. + *p = c;
  23147. +
  23148. + return ret;
  23149. +}
  23150. +
  23151. +#define match_intreg_disp match_anything
  23152. +
  23153. +static int
  23154. +match_intreg_index(char *str)
  23155. +{
  23156. + int regid, ret = 1;
  23157. + char *p, *end, c;
  23158. +
  23159. + for (p = str; *p; p++)
  23160. + if (*p == '[')
  23161. + break;
  23162. +
  23163. + /* don't allow empty displacement here (it makes no sense) */
  23164. + if (p[0] != '[')
  23165. + return 0;
  23166. +
  23167. + for (end = p + 1; *end; end++) ;
  23168. + if (*(--end) != ']')
  23169. + return 0;
  23170. +
  23171. + c = *end, *end = 0;
  23172. + if (!match_intreg_lsl(p + 1))
  23173. + ret = 0;
  23174. + *end = c;
  23175. +
  23176. + if (ret)
  23177. + {
  23178. + c = *p, *p = 0;
  23179. + regid = avr32_parse_intreg(str);
  23180. + if (regid < 0)
  23181. + ret = 0;
  23182. + *p = c;
  23183. + }
  23184. +
  23185. + return ret;
  23186. +}
  23187. +
  23188. +static int
  23189. +match_intreg_xindex(char *str)
  23190. +{
  23191. + int regid, ret = 1;
  23192. + char *p, *end, c;
  23193. +
  23194. + for (p = str; *p; p++)
  23195. + if (*p == '[')
  23196. + break;
  23197. +
  23198. + /* empty displacement makes no sense here either */
  23199. + if (p[0] != '[')
  23200. + return 0;
  23201. +
  23202. + for (end = p + 1; *end; end++)
  23203. + if (*end == '<')
  23204. + break;
  23205. +
  23206. + if (!streq(end, "<<2]"))
  23207. + return 0;
  23208. +
  23209. + c = *end, *end = 0;
  23210. + if (!match_intreg_part(p + 1))
  23211. + ret = 0;
  23212. + *end = c;
  23213. +
  23214. + if (ret)
  23215. + {
  23216. + c = *p, *p = 0;
  23217. + regid = avr32_parse_intreg(str);
  23218. + if (regid < 0)
  23219. + ret = 0;
  23220. + *p = c;
  23221. + }
  23222. +
  23223. + return ret;
  23224. +}
  23225. +
  23226. +/* The PC_UDISP_W operator may show up as a label or as a pc[disp]
  23227. + expression. So there's no point in attempting to match this... */
  23228. +#define match_pc_disp match_anything
  23229. +
  23230. +static int
  23231. +match_sp(char *str)
  23232. +{
  23233. + /* SP in any form will do */
  23234. + return avr32_parse_intreg(str) == AVR32_REG_SP;
  23235. +}
  23236. +
  23237. +static int
  23238. +match_sp_disp(char *str)
  23239. +{
  23240. + int regid, ret = 1;
  23241. + char *p, c;
  23242. +
  23243. + for (p = str; *p; p++)
  23244. + if (*p == '[')
  23245. + break;
  23246. +
  23247. + /* allow empty displacement, meaning zero */
  23248. + if (p[0] == '[')
  23249. + {
  23250. + char *end;
  23251. + for (end = p + 1; *end; end++) ;
  23252. + if (end[-1] != ']')
  23253. + return 0;
  23254. + }
  23255. +
  23256. + c = *p, *p = 0;
  23257. + regid = avr32_parse_intreg(str);
  23258. + if (regid != AVR32_REG_SP)
  23259. + ret = 0;
  23260. +
  23261. + *p = c;
  23262. + return ret;
  23263. +}
  23264. +
  23265. +static int
  23266. +match_cpno(char *str)
  23267. +{
  23268. + if (strncasecmp(str, "cp", 2) != 0)
  23269. + return 0;
  23270. + return 1;
  23271. +}
  23272. +
  23273. +static int
  23274. +match_cpreg(char *str)
  23275. +{
  23276. + if (strncasecmp(str, "cr", 2) != 0)
  23277. + return 0;
  23278. + return 1;
  23279. +}
  23280. +
  23281. +/* We allow complex expressions, and register names may show up as
  23282. + symbols. Just make sure immediate expressions are always matched
  23283. + last. */
  23284. +#define match_const match_anything
  23285. +#define match_jmplabel match_anything
  23286. +#define match_number match_anything
  23287. +
  23288. +/* Mnemonics that take reglists never accept anything else */
  23289. +#define match_reglist8 match_anything
  23290. +#define match_reglist9 match_anything
  23291. +#define match_reglist16 match_anything
  23292. +#define match_reglist_ldm match_anything
  23293. +#define match_reglist_cp8 match_anything
  23294. +#define match_reglist_cpd8 match_anything
  23295. +
  23296. +/* Ditto for retval, jospinc and mcall */
  23297. +#define match_retval match_anything
  23298. +#define match_jospinc match_anything
  23299. +#define match_mcall match_anything
  23300. +
  23301. +/* COH is used to select between two different syntaxes */
  23302. +static int
  23303. +match_coh(char *str)
  23304. +{
  23305. + return strcasecmp(str, "coh") == 0;
  23306. +}
  23307. +#if 0
  23308. +static int
  23309. +match_fpreg(char *str)
  23310. +{
  23311. + unsigned long regid;
  23312. + char *endptr;
  23313. +
  23314. + if ((str[0] != 'f' && str[0] != 'F')
  23315. + || (str[1] != 'r' && str[1] != 'R'))
  23316. + return 0;
  23317. +
  23318. + str += 2;
  23319. + regid = strtoul(str, &endptr, 10);
  23320. + if (!*str || *endptr)
  23321. + return 0;
  23322. +
  23323. + return 1;
  23324. +}
  23325. +#endif
  23326. +
  23327. +static int
  23328. +match_picoreg(char *str)
  23329. +{
  23330. + int regid;
  23331. +
  23332. + regid = avr32_parse_picoreg(str);
  23333. + if (regid < 0)
  23334. + return 0;
  23335. + return 1;
  23336. +}
  23337. +
  23338. +#define match_pico_reglist_w match_anything
  23339. +#define match_pico_reglist_d match_anything
  23340. +
  23341. +static int
  23342. +match_pico_in(char *str)
  23343. +{
  23344. + unsigned long regid;
  23345. + char *end;
  23346. +
  23347. + if (strncasecmp(str, "in", 2) != 0)
  23348. + return 0;
  23349. +
  23350. + str += 2;
  23351. + regid = strtoul(str, &end, 10);
  23352. + if (!*str || *end)
  23353. + return 0;
  23354. +
  23355. + return 1;
  23356. +}
  23357. +
  23358. +static int
  23359. +match_pico_out0(char *str)
  23360. +{
  23361. + if (strcasecmp(str, "out0") != 0)
  23362. + return 0;
  23363. + return 1;
  23364. +}
  23365. +
  23366. +static int
  23367. +match_pico_out1(char *str)
  23368. +{
  23369. + if (strcasecmp(str, "out1") != 0)
  23370. + return 0;
  23371. + return 1;
  23372. +}
  23373. +
  23374. +static int
  23375. +match_pico_out2(char *str)
  23376. +{
  23377. + if (strcasecmp(str, "out2") != 0)
  23378. + return 0;
  23379. + return 1;
  23380. +}
  23381. +
  23382. +static int
  23383. +match_pico_out3(char *str)
  23384. +{
  23385. + if (strcasecmp(str, "out3") != 0)
  23386. + return 0;
  23387. + return 1;
  23388. +}
  23389. +
  23390. +static void parse_nothing(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23391. + char *str ATTRIBUTE_UNUSED,
  23392. + int opindex ATTRIBUTE_UNUSED)
  23393. +{
  23394. + /* Do nothing (this is used for "match-only" operands like COH) */
  23395. +}
  23396. +
  23397. +static void
  23398. +parse_const(const struct avr32_operand *op, char *str,
  23399. + int opindex ATTRIBUTE_UNUSED)
  23400. +{
  23401. + expressionS *exp = &current_insn.immediate;
  23402. + expressionS *sym_exp;
  23403. + int slot;
  23404. + char *save;
  23405. +
  23406. + pr_debug("parse_const: `%s' (signed: %d, pcrel: %d, align: %d)\n",
  23407. + str, op->is_signed, op->is_pcrel, op->align_order);
  23408. +
  23409. + save = input_line_pointer;
  23410. + input_line_pointer = str;
  23411. +
  23412. + expression(exp);
  23413. +
  23414. + slot = current_insn.next_slot++;
  23415. + current_insn.field_value[slot].align_order = op->align_order;
  23416. + current_insn.pcrel = op->is_pcrel;
  23417. +
  23418. + switch (exp->X_op)
  23419. + {
  23420. + case O_illegal:
  23421. + as_bad(_("illegal operand"));
  23422. + break;
  23423. + case O_absent:
  23424. + as_bad(_("missing operand"));
  23425. + break;
  23426. + case O_constant:
  23427. + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
  23428. + current_insn.field_value[slot].value = exp->X_add_number;
  23429. + break;
  23430. + case O_uminus:
  23431. + pr_debug(" -> uminus\n");
  23432. + sym_exp = symbol_get_value_expression(exp->X_add_symbol);
  23433. + switch (sym_exp->X_op) {
  23434. + case O_subtract:
  23435. + pr_debug(" -> subtract: switching operands\n");
  23436. + exp->X_op_symbol = sym_exp->X_add_symbol;
  23437. + exp->X_add_symbol = sym_exp->X_op_symbol;
  23438. + exp->X_op = O_subtract;
  23439. + /* TODO: Remove the old X_add_symbol */
  23440. + break;
  23441. + default:
  23442. + as_bad(_("Expression too complex\n"));
  23443. + break;
  23444. + }
  23445. + break;
  23446. +#if 0
  23447. + case O_subtract:
  23448. + /* Any expression subtracting a symbol from the current section
  23449. + can be made PC-relative by adding the right offset. */
  23450. + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
  23451. + current_insn.pcrel = TRUE;
  23452. + pr_debug(" -> subtract: pcrel? %s\n",
  23453. + current_insn.pcrel ? "yes" : "no");
  23454. + /* fall through */
  23455. +#endif
  23456. + default:
  23457. + pr_debug(" -> (%p <%d> %p + %d)\n",
  23458. + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
  23459. + exp->X_add_number);
  23460. + current_insn.field_value[slot].value = 0;
  23461. + break;
  23462. + }
  23463. +
  23464. + input_line_pointer = save;
  23465. +}
  23466. +
  23467. +static void
  23468. +parse_jmplabel(const struct avr32_operand *op, char *str,
  23469. + int opindex ATTRIBUTE_UNUSED)
  23470. +{
  23471. + expressionS *exp = &current_insn.immediate;
  23472. + int slot;
  23473. + char *save;
  23474. +
  23475. + pr_debug("parse_jmplabel: `%s' (signed: %d, pcrel: %d, align: %d)\n",
  23476. + str, op->is_signed, op->is_pcrel, op->align_order);
  23477. +
  23478. + save = input_line_pointer;
  23479. + input_line_pointer = str;
  23480. +
  23481. + expression(exp);
  23482. +
  23483. + slot = current_insn.next_slot++;
  23484. + current_insn.field_value[slot].align_order = op->align_order;
  23485. + current_insn.pcrel = TRUE;
  23486. +
  23487. + switch (exp->X_op)
  23488. + {
  23489. + case O_illegal:
  23490. + as_bad(_("illegal operand"));
  23491. + break;
  23492. + case O_absent:
  23493. + as_bad(_("missing operand"));
  23494. + break;
  23495. + case O_constant:
  23496. + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
  23497. + current_insn.field_value[slot].value = exp->X_add_number;
  23498. + current_insn.pcrel = 0;
  23499. + break;
  23500. + default:
  23501. + pr_debug(" -> (%p <%d> %p + %d)\n",
  23502. + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
  23503. + exp->X_add_number);
  23504. + current_insn.field_value[slot].value = 0;
  23505. + break;
  23506. + }
  23507. +
  23508. + input_line_pointer = save;
  23509. +}
  23510. +
  23511. +static void
  23512. +parse_intreg(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23513. + char *str, int opindex ATTRIBUTE_UNUSED)
  23514. +{
  23515. + int regid, slot;
  23516. +
  23517. + pr_debug("parse_intreg: `%s'\n", str);
  23518. +
  23519. + regid = avr32_parse_intreg(str);
  23520. + assert(regid >= 0);
  23521. +
  23522. + slot = current_insn.next_slot++;
  23523. + current_insn.field_value[slot].value = regid;
  23524. + current_insn.field_value[slot].align_order = op->align_order;
  23525. +}
  23526. +
  23527. +static void
  23528. +parse_intreg_predec(const struct avr32_operand *op, char *str, int opindex)
  23529. +{
  23530. + parse_intreg(op, str + 2, opindex);
  23531. +}
  23532. +
  23533. +static void
  23534. +parse_intreg_postinc(const struct avr32_operand *op, char *str, int opindex)
  23535. +{
  23536. + char *p, c;
  23537. +
  23538. + pr_debug("parse_intreg_postinc: `%s'\n", str);
  23539. +
  23540. + for (p = str; *p != '+'; p++) ;
  23541. +
  23542. + c = *p, *p = 0;
  23543. + parse_intreg(op, str, opindex);
  23544. + *p = c;
  23545. +}
  23546. +
  23547. +static void
  23548. +parse_intreg_shift(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23549. + char *str, int opindex ATTRIBUTE_UNUSED)
  23550. +{
  23551. + int regid, slot, shift = 0;
  23552. + char *p, c;
  23553. + char shiftop;
  23554. +
  23555. + pr_debug("parse Ry<<sa: `%s'\n", str);
  23556. +
  23557. + for (p = str; *p; p++)
  23558. + if (*p == '<' || *p == '>')
  23559. + break;
  23560. +
  23561. + shiftop = *p;
  23562. +
  23563. + c = *p, *p = 0;
  23564. + regid = avr32_parse_intreg(str);
  23565. + assert(regid >= 0);
  23566. + *p = c;
  23567. +
  23568. + if (c)
  23569. + {
  23570. + if (p[0] != shiftop || p[1] != shiftop)
  23571. + as_bad(_("expected shift operator in `%s'"), p);
  23572. + else
  23573. + {
  23574. + expressionS exp;
  23575. + char *saved;
  23576. +
  23577. + saved = input_line_pointer;
  23578. + input_line_pointer = p + 2;
  23579. + expression(&exp);
  23580. + input_line_pointer = saved;
  23581. +
  23582. + if (exp.X_op != O_constant)
  23583. + as_bad(_("shift amount must be a numeric constant"));
  23584. + else
  23585. + shift = exp.X_add_number;
  23586. + }
  23587. + }
  23588. +
  23589. + slot = current_insn.next_slot++;
  23590. + current_insn.field_value[slot].value = regid;
  23591. + slot = current_insn.next_slot++;
  23592. + current_insn.field_value[slot].value = shift;
  23593. +}
  23594. +
  23595. +/* The match() function selected the right opcode, so it doesn't
  23596. + matter which way we shift any more. */
  23597. +#define parse_intreg_lsl parse_intreg_shift
  23598. +#define parse_intreg_lsr parse_intreg_shift
  23599. +
  23600. +static void
  23601. +parse_intreg_part(const struct avr32_operand *op, char *str,
  23602. + int opindex ATTRIBUTE_UNUSED)
  23603. +{
  23604. + static const char bparts[] = { 'b', 'l', 'u', 't' };
  23605. + static const char hparts[] = { 'b', 't' };
  23606. + unsigned int slot, sel;
  23607. + int regid;
  23608. + char *p, c;
  23609. +
  23610. + pr_debug("parse reg:part `%s'\n", str);
  23611. +
  23612. + for (p = str; *p; p++)
  23613. + if (*p == ':')
  23614. + break;
  23615. +
  23616. + c = *p, *p = 0;
  23617. + regid = avr32_parse_intreg(str);
  23618. + assert(regid >= 0);
  23619. + *p = c;
  23620. +
  23621. + assert(c == ':');
  23622. +
  23623. + if (op->align_order)
  23624. + {
  23625. + for (sel = 0; sel < sizeof(hparts); sel++)
  23626. + if (TOLOWER(p[1]) == hparts[sel])
  23627. + break;
  23628. +
  23629. + if (sel >= sizeof(hparts))
  23630. + {
  23631. + as_bad(_("invalid halfword selector `%c' (must be either b or t)"),
  23632. + p[1]);
  23633. + sel = 0;
  23634. + }
  23635. + }
  23636. + else
  23637. + {
  23638. + for (sel = 0; sel < sizeof(bparts); sel++)
  23639. + if (TOLOWER(p[1]) == bparts[sel])
  23640. + break;
  23641. +
  23642. + if (sel >= sizeof(bparts))
  23643. + {
  23644. + as_bad(_("invalid byte selector `%c' (must be one of b,l,u,t)"),
  23645. + p[1]);
  23646. + sel = 0;
  23647. + }
  23648. + }
  23649. +
  23650. + slot = current_insn.next_slot++;
  23651. + current_insn.field_value[slot].value = regid;
  23652. + slot = current_insn.next_slot++;
  23653. + current_insn.field_value[slot].value = sel;
  23654. +}
  23655. +
  23656. +/* This is the parser for "Rp[displacement]" expressions. In addition
  23657. + to the "official" syntax, we accept a label as a replacement for
  23658. + the register expression. This syntax implies Rp=PC and the
  23659. + displacement is the pc-relative distance to the label. */
  23660. +static void
  23661. +parse_intreg_disp(const struct avr32_operand *op, char *str, int opindex)
  23662. +{
  23663. + expressionS *exp = &current_insn.immediate;
  23664. + int slot, regid;
  23665. + char *save, *p, c;
  23666. +
  23667. + pr_debug("parse_intreg_disp: `%s' (signed: %d, pcrel: %d, align: %d)\n",
  23668. + str, op->is_signed, op->is_pcrel, op->align_order);
  23669. +
  23670. + for (p = str; *p; p++)
  23671. + if (*p == '[')
  23672. + break;
  23673. +
  23674. + slot = current_insn.next_slot++;
  23675. +
  23676. + /* First, check if we have a valid register either before '[' or as
  23677. + the sole expression. If so, we use the Rp[disp] syntax. */
  23678. + c = *p, *p = 0;
  23679. + regid = avr32_parse_intreg(str);
  23680. + *p = c;
  23681. +
  23682. + if (regid >= 0)
  23683. + {
  23684. + current_insn.field_value[slot].value = regid;
  23685. +
  23686. + slot = current_insn.next_slot++;
  23687. + current_insn.field_value[slot].align_order = op->align_order;
  23688. +
  23689. + if (c == '[')
  23690. + {
  23691. + save = input_line_pointer;
  23692. + input_line_pointer = p + 1;
  23693. +
  23694. + expression(exp);
  23695. +
  23696. + if (*input_line_pointer != ']')
  23697. + as_bad(_("junk after displacement expression"));
  23698. +
  23699. + input_line_pointer = save;
  23700. +
  23701. + switch (exp->X_op)
  23702. + {
  23703. + case O_illegal:
  23704. + as_bad(_("illegal displacement expression"));
  23705. + break;
  23706. + case O_absent:
  23707. + as_bad(_("missing displacement expression"));
  23708. + break;
  23709. + case O_constant:
  23710. + pr_debug(" -> constant: %ld\n", exp->X_add_number);
  23711. + current_insn.field_value[slot].value = exp->X_add_number;
  23712. + break;
  23713. +#if 0
  23714. + case O_subtract:
  23715. + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
  23716. + current_insn.pcrel = TRUE;
  23717. + pr_debug(" -> subtract: pcrel? %s\n",
  23718. + current_insn.pcrel ? "yes" : "no");
  23719. + /* fall through */
  23720. +#endif
  23721. + default:
  23722. + pr_debug(" -> (%p <%d> %p + %d)\n",
  23723. + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
  23724. + exp->X_add_number);
  23725. + current_insn.field_value[slot].value = 0;
  23726. + }
  23727. + }
  23728. + else
  23729. + {
  23730. + exp->X_op = O_constant;
  23731. + exp->X_add_number = 0;
  23732. + current_insn.field_value[slot].value = 0;
  23733. + }
  23734. + }
  23735. + else
  23736. + {
  23737. + /* Didn't find a valid register. Try parsing it as a label. */
  23738. + current_insn.field_value[slot].value = AVR32_REG_PC;
  23739. + parse_jmplabel(op, str, opindex);
  23740. + }
  23741. +}
  23742. +
  23743. +static void
  23744. +parse_intreg_index(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23745. + char *str, int opindex ATTRIBUTE_UNUSED)
  23746. +{
  23747. + int slot, regid;
  23748. + char *p, *end, c;
  23749. +
  23750. + for (p = str; *p; p++)
  23751. + if (*p == '[')
  23752. + break;
  23753. +
  23754. + assert(*p);
  23755. +
  23756. + c = *p, *p = 0;
  23757. + regid = avr32_parse_intreg(str);
  23758. + assert(regid >= 0);
  23759. + *p = c;
  23760. +
  23761. + slot = current_insn.next_slot++;
  23762. + current_insn.field_value[slot].value = regid;
  23763. +
  23764. + p++;
  23765. + for (end = p; *end; end++)
  23766. + if (*end == ']' || *end == '<')
  23767. + break;
  23768. +
  23769. + assert(*end);
  23770. +
  23771. + c = *end, *end = 0;
  23772. + regid = avr32_parse_intreg(p);
  23773. + assert(regid >= 0);
  23774. + *end = c;
  23775. +
  23776. + slot = current_insn.next_slot++;
  23777. + current_insn.field_value[slot].value = regid;
  23778. +
  23779. + slot = current_insn.next_slot++;
  23780. + current_insn.field_value[slot].value = 0;
  23781. +
  23782. + if (*end == '<')
  23783. + {
  23784. + expressionS exp;
  23785. + char *save;
  23786. +
  23787. + p = end + 2;
  23788. + for (end = p; *end; end++)
  23789. + if (*end == ']')
  23790. + break;
  23791. +
  23792. + assert(*end == ']');
  23793. +
  23794. + c = *end, *end = 0;
  23795. + save = input_line_pointer;
  23796. + input_line_pointer = p;
  23797. + expression(&exp);
  23798. +
  23799. + if (*input_line_pointer)
  23800. + as_bad(_("junk after shift expression"));
  23801. +
  23802. + *end = c;
  23803. + input_line_pointer = save;
  23804. +
  23805. + if (exp.X_op == O_constant)
  23806. + current_insn.field_value[slot].value = exp.X_add_number;
  23807. + else
  23808. + as_bad(_("shift expression too complex"));
  23809. + }
  23810. +}
  23811. +
  23812. +static void
  23813. +parse_intreg_xindex(const struct avr32_operand *op, char *str, int opindex)
  23814. +{
  23815. + int slot, regid;
  23816. + char *p, *end, c;
  23817. +
  23818. + for (p = str; *p; p++)
  23819. + if (*p == '[')
  23820. + break;
  23821. +
  23822. + assert(*p);
  23823. +
  23824. + c = *p, *p = 0;
  23825. + regid = avr32_parse_intreg(str);
  23826. + assert(regid >= 0);
  23827. + *p = c;
  23828. +
  23829. + slot = current_insn.next_slot++;
  23830. + current_insn.field_value[slot].value = regid;
  23831. +
  23832. + p++;
  23833. + for (end = p; *end; end++)
  23834. + if (*end == '<')
  23835. + break;
  23836. +
  23837. + assert(*end);
  23838. +
  23839. + c = *end, *end = 0;
  23840. + parse_intreg_part(op, p, opindex);
  23841. + *end = c;
  23842. +}
  23843. +
  23844. +static void
  23845. +parse_pc_disp(const struct avr32_operand *op, char *str, int opindex)
  23846. +{
  23847. + char *p, c;
  23848. +
  23849. + for (p = str; *p; p++)
  23850. + if (*p == '[')
  23851. + break;
  23852. +
  23853. + /* The lddpc instruction comes in two different syntax variants:
  23854. + lddpc reg, expression
  23855. + lddpc reg, pc[disp]
  23856. + If the operand contains a '[', we use the second form. */
  23857. + if (*p)
  23858. + {
  23859. + int regid;
  23860. +
  23861. + c = *p, *p = 0;
  23862. + regid = avr32_parse_intreg(str);
  23863. + *p = c;
  23864. + if (regid == AVR32_REG_PC)
  23865. + {
  23866. + char *end;
  23867. +
  23868. + for (end = ++p; *end; end++) ;
  23869. + if (*(--end) != ']')
  23870. + as_bad(_("unrecognized form of instruction: `%s'"), str);
  23871. + else
  23872. + {
  23873. + c = *end, *end = 0;
  23874. + parse_const(op, p, opindex);
  23875. + *end = c;
  23876. + current_insn.pcrel = 0;
  23877. + }
  23878. + }
  23879. + else
  23880. + as_bad(_("unrecognized form of instruction: `%s'"), str);
  23881. + }
  23882. + else
  23883. + {
  23884. + parse_jmplabel(op, str, opindex);
  23885. + }
  23886. +}
  23887. +
  23888. +static void parse_sp(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23889. + char *str ATTRIBUTE_UNUSED,
  23890. + int opindex ATTRIBUTE_UNUSED)
  23891. +{
  23892. + int slot;
  23893. +
  23894. + slot = current_insn.next_slot++;
  23895. + current_insn.field_value[slot].value = AVR32_REG_SP;
  23896. +}
  23897. +
  23898. +static void
  23899. +parse_sp_disp(const struct avr32_operand *op, char *str, int opindex)
  23900. +{
  23901. + char *p, c;
  23902. +
  23903. + for (; *str; str++)
  23904. + if (*str == '[')
  23905. + break;
  23906. +
  23907. + assert(*str);
  23908. +
  23909. + for (p = ++str; *p; p++)
  23910. + if (*p == ']')
  23911. + break;
  23912. +
  23913. + c = *p, *p = 0;
  23914. + parse_const(op, str, opindex);
  23915. + *p = c;
  23916. +}
  23917. +
  23918. +static void
  23919. +parse_cpno(const struct avr32_operand *op ATTRIBUTE_UNUSED, char *str,
  23920. + int opindex ATTRIBUTE_UNUSED)
  23921. +{
  23922. + int slot;
  23923. +
  23924. + str += 2;
  23925. + if (*str == '#')
  23926. + str++;
  23927. + if (*str < '0' || *str > '7' || str[1])
  23928. + as_bad(_("invalid coprocessor `%s'"), str);
  23929. +
  23930. + slot = current_insn.next_slot++;
  23931. + current_insn.field_value[slot].value = *str - '0';
  23932. +}
  23933. +
  23934. +static void
  23935. +parse_cpreg(const struct avr32_operand *op, char *str,
  23936. + int opindex ATTRIBUTE_UNUSED)
  23937. +{
  23938. + unsigned int crid;
  23939. + int slot;
  23940. + char *endptr;
  23941. +
  23942. + str += 2;
  23943. + crid = strtoul(str, &endptr, 10);
  23944. + if (*endptr || crid > 15 || crid & ((1 << op->align_order) - 1))
  23945. + as_bad(_("invalid coprocessor register `%s'"), str);
  23946. +
  23947. + crid >>= op->align_order;
  23948. +
  23949. + slot = current_insn.next_slot++;
  23950. + current_insn.field_value[slot].value = crid;
  23951. +}
  23952. +
  23953. +static void
  23954. +parse_number(const struct avr32_operand *op, char *str,
  23955. + int opindex ATTRIBUTE_UNUSED)
  23956. +{
  23957. + expressionS exp;
  23958. + int slot;
  23959. + char *save;
  23960. +
  23961. + save = input_line_pointer;
  23962. + input_line_pointer = str;
  23963. + expression(&exp);
  23964. + input_line_pointer = save;
  23965. +
  23966. + slot = current_insn.next_slot++;
  23967. + current_insn.field_value[slot].align_order = op->align_order;
  23968. +
  23969. + if (exp.X_op == O_constant)
  23970. + current_insn.field_value[slot].value = exp.X_add_number;
  23971. + else
  23972. + as_bad(_("invalid numeric expression `%s'"), str);
  23973. +}
  23974. +
  23975. +static void
  23976. +parse_reglist8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  23977. + char *str, int opindex ATTRIBUTE_UNUSED)
  23978. +{
  23979. + unsigned long regmask;
  23980. + unsigned long value = 0;
  23981. + int slot;
  23982. + char *tail;
  23983. +
  23984. + regmask = avr32_parse_reglist(str, &tail);
  23985. + if (*tail)
  23986. + as_bad(_("invalid register list `%s'"), str);
  23987. + else
  23988. + {
  23989. + if (avr32_make_regmask8(regmask, &value))
  23990. + as_bad(_("register list `%s' doesn't fit"), str);
  23991. + }
  23992. +
  23993. + slot = current_insn.next_slot++;
  23994. + current_insn.field_value[slot].value = value;
  23995. +}
  23996. +
  23997. +static int
  23998. +parse_reglist_tail(char *str, unsigned long regmask)
  23999. +{
  24000. + expressionS exp;
  24001. + char *save, *p, c;
  24002. + int regid;
  24003. +
  24004. + for (p = str + 1; *p; p++)
  24005. + if (*p == '=')
  24006. + break;
  24007. +
  24008. + if (!*p)
  24009. + {
  24010. + as_bad(_("invalid register list `%s'"), str);
  24011. + return -2;
  24012. + }
  24013. +
  24014. + c = *p, *p = 0;
  24015. + regid = avr32_parse_intreg(str);
  24016. + *p = c;
  24017. +
  24018. + if (regid != 12)
  24019. + {
  24020. + as_bad(_("invalid register list `%s'"), str);
  24021. + return -2;
  24022. + }
  24023. +
  24024. + /* If we have an assignment, we must pop PC and we must _not_
  24025. + pop LR or R12 */
  24026. + if (!(regmask & (1 << AVR32_REG_PC)))
  24027. + {
  24028. + as_bad(_("return value specified for non-return instruction"));
  24029. + return -2;
  24030. + }
  24031. + else if (regmask & ((1 << AVR32_REG_R12) | (1 << AVR32_REG_LR)))
  24032. + {
  24033. + as_bad(_("can't pop LR or R12 when specifying return value"));
  24034. + return -2;
  24035. + }
  24036. +
  24037. + save = input_line_pointer;
  24038. + input_line_pointer = p + 1;
  24039. + expression(&exp);
  24040. + input_line_pointer = save;
  24041. +
  24042. + if (exp.X_op != O_constant
  24043. + || exp.X_add_number < -1
  24044. + || exp.X_add_number > 1)
  24045. + {
  24046. + as_bad(_("invalid return value `%s'"), str);
  24047. + return -2;
  24048. + }
  24049. +
  24050. + return exp.X_add_number;
  24051. +}
  24052. +
  24053. +static void
  24054. +parse_reglist9(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24055. + char *str, int opindex ATTRIBUTE_UNUSED)
  24056. +{
  24057. + unsigned long regmask;
  24058. + unsigned long value = 0, kbit = 0;
  24059. + int slot;
  24060. + char *tail;
  24061. +
  24062. + regmask = avr32_parse_reglist(str, &tail);
  24063. + /* printf("parsed reglist16: %04lx, tail: `%s'\n", regmask, tail); */
  24064. + if (*tail)
  24065. + {
  24066. + int retval;
  24067. +
  24068. + retval = parse_reglist_tail(tail, regmask);
  24069. +
  24070. + switch (retval)
  24071. + {
  24072. + case -1:
  24073. + regmask |= 1 << AVR32_REG_LR;
  24074. + break;
  24075. + case 0:
  24076. + break;
  24077. + case 1:
  24078. + regmask |= 1 << AVR32_REG_R12;
  24079. + break;
  24080. + default:
  24081. + break;
  24082. + }
  24083. +
  24084. + kbit = 1;
  24085. + }
  24086. +
  24087. + if (avr32_make_regmask8(regmask, &value))
  24088. + as_bad(_("register list `%s' doesn't fit"), str);
  24089. +
  24090. +
  24091. + slot = current_insn.next_slot++;
  24092. + current_insn.field_value[slot].value = (value << 1) | kbit;
  24093. +}
  24094. +
  24095. +static void
  24096. +parse_reglist16(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24097. + char *str, int opindex ATTRIBUTE_UNUSED)
  24098. +{
  24099. + unsigned long regmask;
  24100. + int slot;
  24101. + char *tail;
  24102. +
  24103. + regmask = avr32_parse_reglist(str, &tail);
  24104. + if (*tail)
  24105. + as_bad(_("invalid register list `%s'"), str);
  24106. +
  24107. + slot = current_insn.next_slot++;
  24108. + current_insn.field_value[slot].value = regmask;
  24109. +}
  24110. +
  24111. +static void
  24112. +parse_reglist_ldm(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24113. + char *str, int opindex ATTRIBUTE_UNUSED)
  24114. +{
  24115. + unsigned long regmask;
  24116. + int slot, rp, w_bit = 0;
  24117. + char *tail, *p, c;
  24118. +
  24119. + for (p = str; *p && *p != ','; p++)
  24120. + if (*p == '+')
  24121. + break;
  24122. +
  24123. + c = *p, *p = 0;
  24124. + rp = avr32_parse_intreg(str);
  24125. + *p = c;
  24126. + if (rp < 0)
  24127. + {
  24128. + as_bad(_("invalid destination register in `%s'"), str);
  24129. + return;
  24130. + }
  24131. +
  24132. + if (p[0] == '+' && p[1] == '+')
  24133. + {
  24134. + w_bit = 1;
  24135. + p += 2;
  24136. + }
  24137. +
  24138. + if (*p != ',')
  24139. + {
  24140. + as_bad(_("expected `,' after destination register in `%s'"), str);
  24141. + return;
  24142. + }
  24143. +
  24144. + str = p + 1;
  24145. + regmask = avr32_parse_reglist(str, &tail);
  24146. + if (*tail)
  24147. + {
  24148. + int retval;
  24149. +
  24150. + if (rp != AVR32_REG_SP)
  24151. + {
  24152. + as_bad(_("junk at end of line: `%s'"), tail);
  24153. + return;
  24154. + }
  24155. +
  24156. + rp = AVR32_REG_PC;
  24157. +
  24158. + retval = parse_reglist_tail(tail, regmask);
  24159. +
  24160. + switch (retval)
  24161. + {
  24162. + case -1:
  24163. + regmask |= 1 << AVR32_REG_LR;
  24164. + break;
  24165. + case 0:
  24166. + break;
  24167. + case 1:
  24168. + regmask |= 1 << AVR32_REG_R12;
  24169. + break;
  24170. + default:
  24171. + return;
  24172. + }
  24173. + }
  24174. +
  24175. + slot = current_insn.next_slot++;
  24176. + current_insn.field_value[slot].value = rp;
  24177. + slot = current_insn.next_slot++;
  24178. + current_insn.field_value[slot].value = w_bit;
  24179. + slot = current_insn.next_slot++;
  24180. + current_insn.field_value[slot].value = regmask;
  24181. +}
  24182. +
  24183. +static void
  24184. +parse_reglist_cp8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24185. + char *str, int opindex ATTRIBUTE_UNUSED)
  24186. +{
  24187. + unsigned long regmask;
  24188. + int slot, h_bit = 0;
  24189. + char *tail;
  24190. +
  24191. + regmask = avr32_parse_cpreglist(str, &tail);
  24192. + if (*tail)
  24193. + as_bad(_("junk at end of line: `%s'"), tail);
  24194. + else if (regmask & 0xffUL)
  24195. + {
  24196. + if (regmask & 0xff00UL)
  24197. + as_bad(_("register list `%s' doesn't fit"), str);
  24198. + regmask &= 0xff;
  24199. + }
  24200. + else if (regmask & 0xff00UL)
  24201. + {
  24202. + regmask >>= 8;
  24203. + h_bit = 1;
  24204. + }
  24205. + else
  24206. + as_warn(_("register list is empty"));
  24207. +
  24208. + slot = current_insn.next_slot++;
  24209. + current_insn.field_value[slot].value = regmask;
  24210. + slot = current_insn.next_slot++;
  24211. + current_insn.field_value[slot].value = h_bit;
  24212. +}
  24213. +
  24214. +static void
  24215. +parse_reglist_cpd8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24216. + char *str, int opindex ATTRIBUTE_UNUSED)
  24217. +{
  24218. + unsigned long regmask, regmask_d = 0;
  24219. + int slot, i;
  24220. + char *tail;
  24221. +
  24222. + regmask = avr32_parse_cpreglist(str, &tail);
  24223. + if (*tail)
  24224. + as_bad(_("junk at end of line: `%s'"), tail);
  24225. +
  24226. + for (i = 0; i < 8; i++)
  24227. + {
  24228. + if (regmask & 1)
  24229. + {
  24230. + if (!(regmask & 2))
  24231. + {
  24232. + as_bad(_("register list `%s' doesn't fit"), str);
  24233. + break;
  24234. + }
  24235. + regmask_d |= 1 << i;
  24236. + }
  24237. + else if (regmask & 2)
  24238. + {
  24239. + as_bad(_("register list `%s' doesn't fit"), str);
  24240. + break;
  24241. + }
  24242. +
  24243. + regmask >>= 2;
  24244. + }
  24245. +
  24246. + slot = current_insn.next_slot++;
  24247. + current_insn.field_value[slot].value = regmask_d;
  24248. +}
  24249. +
  24250. +static void
  24251. +parse_retval(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24252. + char *str, int opindex ATTRIBUTE_UNUSED)
  24253. +{
  24254. + int regid, slot;
  24255. +
  24256. + regid = avr32_parse_intreg(str);
  24257. + if (regid < 0)
  24258. + {
  24259. + expressionS exp;
  24260. + char *save;
  24261. +
  24262. + regid = 0;
  24263. +
  24264. + save = input_line_pointer;
  24265. + input_line_pointer = str;
  24266. + expression(&exp);
  24267. + input_line_pointer = save;
  24268. +
  24269. + if (exp.X_op != O_constant)
  24270. + as_bad(_("invalid return value `%s'"), str);
  24271. + else
  24272. + switch (exp.X_add_number)
  24273. + {
  24274. + case -1:
  24275. + regid = AVR32_REG_LR;
  24276. + break;
  24277. + case 0:
  24278. + regid = AVR32_REG_SP;
  24279. + break;
  24280. + case 1:
  24281. + regid = AVR32_REG_PC;
  24282. + break;
  24283. + default:
  24284. + as_bad(_("invalid return value `%s'"), str);
  24285. + break;
  24286. + }
  24287. + }
  24288. +
  24289. + slot = current_insn.next_slot++;
  24290. + current_insn.field_value[slot].value = regid;
  24291. +}
  24292. +
  24293. +#define parse_mcall parse_intreg_disp
  24294. +
  24295. +static void
  24296. +parse_jospinc(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24297. + char *str, int opindex ATTRIBUTE_UNUSED)
  24298. +{
  24299. + expressionS exp;
  24300. + int slot;
  24301. + char *save;
  24302. +
  24303. + save = input_line_pointer;
  24304. + input_line_pointer = str;
  24305. + expression(&exp);
  24306. + input_line_pointer = save;
  24307. +
  24308. + slot = current_insn.next_slot++;
  24309. +
  24310. + if (exp.X_op == O_constant)
  24311. + {
  24312. + if (exp.X_add_number > 0)
  24313. + exp.X_add_number--;
  24314. + current_insn.field_value[slot].value = exp.X_add_number;
  24315. + }
  24316. + else
  24317. + as_bad(_("invalid numeric expression `%s'"), str);
  24318. +}
  24319. +
  24320. +#define parse_coh parse_nothing
  24321. +#if 0
  24322. +static void
  24323. +parse_fpreg(const struct avr32_operand *op,
  24324. + char *str, int opindex ATTRIBUTE_UNUSED)
  24325. +{
  24326. + unsigned long regid;
  24327. + int slot;
  24328. +
  24329. + regid = strtoul(str + 2, NULL, 10);
  24330. +
  24331. + if ((regid >= 16) || (regid & ((1 << op->align_order) - 1)))
  24332. + as_bad(_("invalid floating-point register `%s'"), str);
  24333. +
  24334. + slot = current_insn.next_slot++;
  24335. + current_insn.field_value[slot].value = regid;
  24336. + current_insn.field_value[slot].align_order = op->align_order;
  24337. +}
  24338. +#endif
  24339. +
  24340. +static void
  24341. +parse_picoreg(const struct avr32_operand *op,
  24342. + char *str, int opindex ATTRIBUTE_UNUSED)
  24343. +{
  24344. + unsigned long regid;
  24345. + int slot;
  24346. +
  24347. + regid = avr32_parse_picoreg(str);
  24348. + if (regid & ((1 << op->align_order) - 1))
  24349. + as_bad(_("invalid double-word PiCo register `%s'"), str);
  24350. +
  24351. + slot = current_insn.next_slot++;
  24352. + current_insn.field_value[slot].value = regid;
  24353. + current_insn.field_value[slot].align_order = op->align_order;
  24354. +}
  24355. +
  24356. +static void
  24357. +parse_pico_reglist_w(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24358. + char *str, int opindex ATTRIBUTE_UNUSED)
  24359. +{
  24360. + unsigned long regmask;
  24361. + int slot, h_bit = 0;
  24362. + char *tail;
  24363. +
  24364. + regmask = avr32_parse_pico_reglist(str, &tail);
  24365. + if (*tail)
  24366. + as_bad(_("junk at end of line: `%s'"), tail);
  24367. +
  24368. + if (regmask & 0x00ffUL)
  24369. + {
  24370. + if (regmask & 0xff00UL)
  24371. + as_bad(_("register list `%s' doesn't fit"), str);
  24372. + regmask &= 0x00ffUL;
  24373. + }
  24374. + else if (regmask & 0xff00UL)
  24375. + {
  24376. + regmask >>= 8;
  24377. + h_bit = 1;
  24378. + }
  24379. + else
  24380. + as_warn(_("register list is empty"));
  24381. +
  24382. + slot = current_insn.next_slot++;
  24383. + current_insn.field_value[slot].value = regmask;
  24384. + slot = current_insn.next_slot++;
  24385. + current_insn.field_value[slot].value = h_bit;
  24386. +}
  24387. +
  24388. +static void
  24389. +parse_pico_reglist_d(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24390. + char *str, int opindex ATTRIBUTE_UNUSED)
  24391. +{
  24392. + unsigned long regmask, regmask_d = 0;
  24393. + int slot, i;
  24394. + char *tail;
  24395. +
  24396. + regmask = avr32_parse_pico_reglist(str, &tail);
  24397. + if (*tail)
  24398. + as_bad(_("junk at end of line: `%s'"), tail);
  24399. +
  24400. + for (i = 0; i < 8; i++)
  24401. + {
  24402. + if (regmask & 1)
  24403. + {
  24404. + if (!(regmask & 2))
  24405. + {
  24406. + as_bad(_("register list `%s' doesn't fit"), str);
  24407. + break;
  24408. + }
  24409. + regmask_d |= 1 << i;
  24410. + }
  24411. + else if (regmask & 2)
  24412. + {
  24413. + as_bad(_("register list `%s' doesn't fit"), str);
  24414. + break;
  24415. + }
  24416. +
  24417. + regmask >>= 2;
  24418. + }
  24419. +
  24420. + slot = current_insn.next_slot++;
  24421. + current_insn.field_value[slot].value = regmask_d;
  24422. +}
  24423. +
  24424. +static void
  24425. +parse_pico_in(const struct avr32_operand *op ATTRIBUTE_UNUSED,
  24426. + char *str, int opindex ATTRIBUTE_UNUSED)
  24427. +{
  24428. + unsigned long regid;
  24429. + int slot;
  24430. +
  24431. + regid = strtoul(str + 2, NULL, 10);
  24432. +
  24433. + if (regid >= 12)
  24434. + as_bad(_("invalid PiCo IN register `%s'"), str);
  24435. +
  24436. + slot = current_insn.next_slot++;
  24437. + current_insn.field_value[slot].value = regid;
  24438. + current_insn.field_value[slot].align_order = 0;
  24439. +}
  24440. +
  24441. +#define parse_pico_out0 parse_nothing
  24442. +#define parse_pico_out1 parse_nothing
  24443. +#define parse_pico_out2 parse_nothing
  24444. +#define parse_pico_out3 parse_nothing
  24445. +
  24446. +#define OP(name, sgn, pcrel, align, func) \
  24447. + { AVR32_OPERAND_##name, sgn, pcrel, align, match_##func, parse_##func }
  24448. +
  24449. +struct avr32_operand avr32_operand_table[] = {
  24450. + OP(INTREG, 0, 0, 0, intreg),
  24451. + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
  24452. + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
  24453. + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
  24454. + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
  24455. + OP(INTREG_BSEL, 0, 0, 0, intreg_part),
  24456. + OP(INTREG_HSEL, 0, 0, 1, intreg_part),
  24457. + OP(INTREG_SDISP, 1, 0, 0, intreg_disp),
  24458. + OP(INTREG_SDISP_H, 1, 0, 1, intreg_disp),
  24459. + OP(INTREG_SDISP_W, 1, 0, 2, intreg_disp),
  24460. + OP(INTREG_UDISP, 0, 0, 0, intreg_disp),
  24461. + OP(INTREG_UDISP_H, 0, 0, 1, intreg_disp),
  24462. + OP(INTREG_UDISP_W, 0, 0, 2, intreg_disp),
  24463. + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
  24464. + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
  24465. + OP(DWREG, 0, 0, 1, intreg),
  24466. + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
  24467. + OP(SP, 0, 0, 0, sp),
  24468. + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
  24469. + OP(CPNO, 0, 0, 0, cpno),
  24470. + OP(CPREG, 0, 0, 0, cpreg),
  24471. + OP(CPREG_D, 0, 0, 1, cpreg),
  24472. + OP(UNSIGNED_CONST, 0, 0, 0, const),
  24473. + OP(UNSIGNED_CONST_W, 0, 0, 2, const),
  24474. + OP(SIGNED_CONST, 1, 0, 0, const),
  24475. + OP(SIGNED_CONST_W, 1, 0, 2, const),
  24476. + OP(JMPLABEL, 1, 1, 1, jmplabel),
  24477. + OP(UNSIGNED_NUMBER, 0, 0, 0, number),
  24478. + OP(UNSIGNED_NUMBER_W, 0, 0, 2, number),
  24479. + OP(REGLIST8, 0, 0, 0, reglist8),
  24480. + OP(REGLIST9, 0, 0, 0, reglist9),
  24481. + OP(REGLIST16, 0, 0, 0, reglist16),
  24482. + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
  24483. + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
  24484. + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
  24485. + OP(RETVAL, 0, 0, 0, retval),
  24486. + OP(MCALL, 1, 0, 2, mcall),
  24487. + OP(JOSPINC, 0, 0, 0, jospinc),
  24488. + OP(COH, 0, 0, 0, coh),
  24489. + OP(PICO_REG_W, 0, 0, 0, picoreg),
  24490. + OP(PICO_REG_D, 0, 0, 1, picoreg),
  24491. + OP(PICO_REGLIST_W, 0, 0, 0, pico_reglist_w),
  24492. + OP(PICO_REGLIST_D, 0, 0, 0, pico_reglist_d),
  24493. + OP(PICO_IN, 0, 0, 0, pico_in),
  24494. + OP(PICO_OUT0, 0, 0, 0, pico_out0),
  24495. + OP(PICO_OUT1, 0, 0, 0, pico_out1),
  24496. + OP(PICO_OUT2, 0, 0, 0, pico_out2),
  24497. + OP(PICO_OUT3, 0, 0, 0, pico_out3),
  24498. +};
  24499. +
  24500. +symbolS *
  24501. +md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
  24502. +{
  24503. + pr_debug("md_undefined_symbol: %s\n", name);
  24504. + return 0;
  24505. +}
  24506. +
  24507. +struct avr32_relax_type
  24508. +{
  24509. + long lower_bound;
  24510. + long upper_bound;
  24511. + unsigned char align;
  24512. + unsigned char length;
  24513. + signed short next;
  24514. +};
  24515. +
  24516. +#define EMPTY { 0, 0, 0, 0, -1 }
  24517. +#define C(lower, upper, align, next) \
  24518. + { (lower), (upper), (align), 2, AVR32_OPC_##next }
  24519. +#define E(lower, upper, align) \
  24520. + { (lower), (upper), (align), 4, -1 }
  24521. +
  24522. +static const struct avr32_relax_type avr32_relax_table[] =
  24523. + {
  24524. + /* 0 */
  24525. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24526. + EMPTY, EMPTY, EMPTY,
  24527. + E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0),
  24528. + EMPTY,
  24529. + /* 16 */
  24530. + EMPTY, EMPTY, EMPTY, EMPTY,
  24531. +
  24532. + C(-256, 254, 1, BREQ2), C(-256, 254, 1, BRNE2),
  24533. + C(-256, 254, 1, BRCC2), C(-256, 254, 1, BRCS2),
  24534. + C(-256, 254, 1, BRGE2), C(-256, 254, 1, BRLT2),
  24535. + C(-256, 254, 1, BRMI2), C(-256, 254, 1, BRPL2),
  24536. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24537. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24538. + /* 32 */
  24539. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24540. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24541. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24542. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24543. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24544. + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
  24545. +
  24546. + EMPTY, EMPTY, EMPTY, EMPTY,
  24547. + /* 48 */
  24548. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24549. + EMPTY, EMPTY, EMPTY,
  24550. +
  24551. + C(-32, 31, 0, CP_W3), E(-1048576, 1048575, 0),
  24552. +
  24553. + EMPTY, EMPTY, EMPTY,
  24554. + /* 64: csrfcz */
  24555. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24556. + E(0, 65535, 0), E(0, 65535, 0),
  24557. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24558. + E(-32768, 32767, 0),
  24559. + /* 80: LD_SB2 */
  24560. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24561. +
  24562. + C(0, 7, 0, LD_UB4), E(-32768, 32767, 0),
  24563. +
  24564. + EMPTY,
  24565. + EMPTY, EMPTY,
  24566. +
  24567. + C(0, 14, 1, LD_SH4), E(-32768, 32767, 0),
  24568. +
  24569. + EMPTY, EMPTY, EMPTY,
  24570. +
  24571. + C(0, 14, 1, LD_UH4),
  24572. +
  24573. + /* 96: LD_UH4 */
  24574. + E(-32768, 32767, 0),
  24575. +
  24576. + EMPTY, EMPTY, EMPTY, EMPTY,
  24577. +
  24578. + C(0, 124, 2, LD_W4), E(-32768, 32767, 0),
  24579. +
  24580. + E(0, 1020, 2), /* LDC_D1 */
  24581. + EMPTY, EMPTY,
  24582. + E(0, 1020, 2), /* LDC_W1 */
  24583. + EMPTY, EMPTY,
  24584. + E(0, 16380, 2), /* LDC0_D */
  24585. + E(0, 16380, 2), /* LDC0_W */
  24586. + EMPTY,
  24587. +
  24588. + /* 112: LDCM_D_PU */
  24589. + EMPTY, EMPTY, EMPTY,
  24590. +
  24591. + C(0, 508, 2, LDDPC_EXT), E(-32768, 32767, 0),
  24592. +
  24593. + EMPTY,EMPTY, EMPTY,
  24594. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24595. +
  24596. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24597. + /* 134: MACHH_W */
  24598. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24599. + E(-131072, 131068, 2), /* MCALL */
  24600. + E(0, 1020, 2), /* MFDR */
  24601. + E(0, 1020, 2), /* MFSR */
  24602. + EMPTY, EMPTY,
  24603. +
  24604. + C(-128, 127, 0, MOV2), E(-1048576, 1048575, 0),
  24605. +
  24606. + EMPTY, EMPTY, EMPTY,
  24607. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24608. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24609. +
  24610. + E(-128, 127, 0), /* MOVEQ2 */
  24611. + E(-128, 127, 0), /* MOVNE2 */
  24612. + E(-128, 127, 0), /* MOVCC2 */
  24613. + E(-128, 127, 0), /* 166: MOVCS2 */
  24614. + E(-128, 127, 0), /* MOVGE2 */
  24615. + E(-128, 127, 0), /* MOVLT2 */
  24616. + E(-128, 127, 0), /* MOVMI2 */
  24617. + E(-128, 127, 0), /* MOVPL2 */
  24618. + E(-128, 127, 0), /* MOVLS2 */
  24619. + E(-128, 127, 0), /* MOVGT2 */
  24620. + E(-128, 127, 0), /* MOVLE2 */
  24621. + E(-128, 127, 0), /* MOVHI2 */
  24622. + E(-128, 127, 0), /* MOVVS2 */
  24623. + E(-128, 127, 0), /* MOVVC2 */
  24624. + E(-128, 127, 0), /* MOVQS2 */
  24625. + E(-128, 127, 0), /* MOVAL2 */
  24626. +
  24627. + E(0, 1020, 2), /* MTDR */
  24628. + E(0, 1020, 2), /* MTSR */
  24629. + EMPTY,
  24630. + EMPTY,
  24631. + E(-128, 127, 0), /* MUL3 */
  24632. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24633. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24634. + /* 198: MVCR_W */
  24635. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24636. + E(0, 65535, 0), E(0, 65535, 0),
  24637. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24638. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24639. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24640. + /* 230: PASR_H */
  24641. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24642. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24643. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24644. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24645. + /* 262: PUNPCKSB_H */
  24646. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24647. +
  24648. + C(-1024, 1022, 1, RCALL2), E(-2097152, 2097150, 1),
  24649. +
  24650. + EMPTY,
  24651. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24652. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24653. + EMPTY, EMPTY, EMPTY,
  24654. +
  24655. + C(-1024, 1022, 1, BRAL),
  24656. +
  24657. + EMPTY, EMPTY, EMPTY,
  24658. + E(-128, 127, 0), /* RSUB2 */
  24659. + /* 294: SATADD_H */
  24660. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24661. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24662. + E(0, 255, 0), /* SLEEP */
  24663. + EMPTY, EMPTY,
  24664. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24665. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24666. + /* 326: ST_B2 */
  24667. + EMPTY, EMPTY,
  24668. + C(0, 7, 0, ST_B4), E(-32768, 32767, 0),
  24669. + EMPTY, EMPTY, EMPTY, EMPTY,
  24670. + E(-32768, 32767, 0),
  24671. + EMPTY, EMPTY, EMPTY,
  24672. + C(0, 14, 1, ST_H4), E(-32768, 32767, 0),
  24673. + EMPTY, EMPTY,
  24674. + EMPTY,
  24675. + C(0, 60, 2, ST_W4), E(-32768, 32767, 0),
  24676. + E(0, 1020, 2), /* STC_D1 */
  24677. + EMPTY, EMPTY,
  24678. + E(0, 1020, 2), /* STC_W1 */
  24679. + EMPTY, EMPTY,
  24680. + E(0, 16380, 2), /* STC0_D */
  24681. + E(0, 16380, 2), /* STC0_W */
  24682. +
  24683. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24684. + /* 358: STDSP */
  24685. + EMPTY, EMPTY,
  24686. + E(0, 1020, 2), /* STHH_W1 */
  24687. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24688. + EMPTY, EMPTY, EMPTY,
  24689. + E(-32768, 32767, 0),
  24690. + C(-512, 508, 2, SUB4),
  24691. + C(-128, 127, 0, SUB4), E(-1048576, 1048576, 0),
  24692. + /* SUB{cond} */
  24693. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24694. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24695. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24696. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24697. + /* SUBF{cond} */
  24698. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24699. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24700. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24701. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24702. + EMPTY,
  24703. +
  24704. + /* 406: SWAP_B */
  24705. + EMPTY, EMPTY, EMPTY,
  24706. + E(0, 255, 0), /* SYNC */
  24707. + EMPTY, EMPTY, EMPTY, EMPTY,
  24708. + /* 414: TST */
  24709. + EMPTY, EMPTY, E(-65536, 65535, 2), E(-65536, 65535, 2), E(-65536, 65535, 2), EMPTY, EMPTY, EMPTY,
  24710. + /* 422: RSUB{cond} */
  24711. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24712. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24713. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24714. + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
  24715. + /* 436: ADD{cond} */
  24716. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24717. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24718. + /* 454: SUB{cond} */
  24719. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24720. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24721. + /* 472: AND{cond} */
  24722. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24723. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24724. + /* 486: OR{cond} */
  24725. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24726. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24727. + /* 502: EOR{cond} */
  24728. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24729. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24730. + /* 518: LD.w{cond} */
  24731. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24732. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24733. + /* 534: LD.sh{cond} */
  24734. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24735. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24736. + /* 550: LD.uh{cond} */
  24737. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24738. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24739. + /* 566: LD.sb{cond} */
  24740. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24741. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24742. + /* 582: LD.ub{cond} */
  24743. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24744. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24745. + /* 596: ST.w{cond} */
  24746. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24747. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24748. + /* 614: ST.h{cond} */
  24749. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24750. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24751. + /* 630: ST.b{cond} */
  24752. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24753. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24754. + /* 646: movh */
  24755. + E(0, 65535, 0), EMPTY, EMPTY,
  24756. + /* 649: fmac.s */
  24757. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24758. + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
  24759. + };
  24760. +
  24761. +#undef E
  24762. +#undef C
  24763. +#undef EMPTY
  24764. +
  24765. +#define AVR32_RS_NONE (-1)
  24766. +
  24767. +#define avr32_rs_size(state) (avr32_relax_table[(state)].length)
  24768. +#define avr32_rs_align(state) (avr32_relax_table[(state)].align)
  24769. +#define relax_more(state) (avr32_relax_table[(state)].next)
  24770. +
  24771. +#define opc_initial_substate(opc) ((opc)->id)
  24772. +
  24773. +static int need_relax(int subtype, offsetT distance)
  24774. +{
  24775. + offsetT upper_bound, lower_bound;
  24776. +
  24777. + upper_bound = avr32_relax_table[subtype].upper_bound;
  24778. + lower_bound = avr32_relax_table[subtype].lower_bound;
  24779. +
  24780. + if (distance & ((1 << avr32_rs_align(subtype)) - 1))
  24781. + return 1;
  24782. + if ((distance > upper_bound) || (distance < lower_bound))
  24783. + return 1;
  24784. +
  24785. + return 0;
  24786. +}
  24787. +
  24788. +enum {
  24789. + LDA_SUBTYPE_MOV1,
  24790. + LDA_SUBTYPE_MOV2,
  24791. + LDA_SUBTYPE_SUB,
  24792. + LDA_SUBTYPE_LDDPC,
  24793. + LDA_SUBTYPE_LDW,
  24794. + LDA_SUBTYPE_GOTLOAD,
  24795. + LDA_SUBTYPE_GOTLOAD_LARGE,
  24796. +};
  24797. +
  24798. +enum {
  24799. + CALL_SUBTYPE_RCALL1,
  24800. + CALL_SUBTYPE_RCALL2,
  24801. + CALL_SUBTYPE_MCALL_CP,
  24802. + CALL_SUBTYPE_MCALL_GOT,
  24803. + CALL_SUBTYPE_MCALL_LARGE,
  24804. +};
  24805. +
  24806. +#define LDA_INITIAL_SIZE (avr32_pic ? 4 : 2)
  24807. +#define CALL_INITIAL_SIZE 2
  24808. +
  24809. +#define need_reloc(sym, seg, pcrel) \
  24810. + (!(S_IS_DEFINED(sym) \
  24811. + && ((pcrel && S_GET_SEGMENT(sym) == seg) \
  24812. + || (!pcrel && S_GET_SEGMENT(sym) == absolute_section))) \
  24813. + || S_FORCE_RELOC(sym, 1))
  24814. +
  24815. +/* Return an initial guess of the length by which a fragment must grow to
  24816. + hold a branch to reach its destination.
  24817. + Also updates fr_type/fr_subtype as necessary.
  24818. +
  24819. + Called just before doing relaxation.
  24820. + Any symbol that is now undefined will not become defined.
  24821. + The guess for fr_var is ACTUALLY the growth beyond fr_fix.
  24822. + Whatever we do to grow fr_fix or fr_var contributes to our returned value.
  24823. + Although it may not be explicit in the frag, pretend fr_var starts with a
  24824. + 0 value. */
  24825. +
  24826. +static int
  24827. +avr32_default_estimate_size_before_relax (fragS *fragP, segT segment)
  24828. +{
  24829. + int growth = 0;
  24830. +
  24831. + assert(fragP);
  24832. + assert(fragP->fr_symbol);
  24833. +
  24834. + if (fragP->tc_frag_data.force_extended
  24835. + || need_reloc(fragP->fr_symbol, segment, fragP->tc_frag_data.pcrel))
  24836. + {
  24837. + int largest_state = fragP->fr_subtype;
  24838. + while (relax_more(largest_state) != AVR32_RS_NONE)
  24839. + largest_state = relax_more(largest_state);
  24840. + growth = avr32_rs_size(largest_state) - fragP->fr_var;
  24841. + }
  24842. + else
  24843. + {
  24844. + growth = avr32_rs_size(fragP->fr_subtype) - fragP->fr_var;
  24845. + }
  24846. +
  24847. + pr_debug("%s:%d: md_estimate_size_before_relax: %d\n",
  24848. + fragP->fr_file, fragP->fr_line, growth);
  24849. +
  24850. + return growth;
  24851. +}
  24852. +
  24853. +static int
  24854. +avr32_lda_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
  24855. +{
  24856. + return fragP->fr_var - LDA_INITIAL_SIZE;
  24857. +}
  24858. +
  24859. +static int
  24860. +avr32_call_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
  24861. +{
  24862. + return fragP->fr_var - CALL_INITIAL_SIZE;
  24863. +}
  24864. +
  24865. +static int
  24866. +avr32_cpool_estimate_size_before_relax(fragS *fragP,
  24867. + segT segment ATTRIBUTE_UNUSED)
  24868. +{
  24869. + return fragP->fr_var;
  24870. +}
  24871. +
  24872. +/* This macro may be defined to relax a frag. GAS will call this with the
  24873. + * segment, the frag, and the change in size of all previous frags;
  24874. + * md_relax_frag should return the change in size of the frag. */
  24875. +static long
  24876. +avr32_default_relax_frag (segT segment, fragS *fragP, long stretch)
  24877. +{
  24878. + int state, next_state;
  24879. + symbolS *symbolP; /* The target symbol */
  24880. + long growth = 0;
  24881. +
  24882. + state = next_state = fragP->fr_subtype;
  24883. +
  24884. + symbolP = fragP->fr_symbol;
  24885. +
  24886. + if (fragP->tc_frag_data.force_extended
  24887. + || need_reloc(symbolP, segment, fragP->tc_frag_data.pcrel))
  24888. + {
  24889. + /* Symbol must be resolved by the linker. Emit the largest
  24890. + possible opcode. */
  24891. + while (relax_more(next_state) != AVR32_RS_NONE)
  24892. + next_state = relax_more(next_state);
  24893. + }
  24894. + else
  24895. + {
  24896. + addressT address; /* The address of fragP */
  24897. + addressT target; /* The address of the target symbol */
  24898. + offsetT distance; /* The distance between the insn and the symbol */
  24899. + fragS *sym_frag;
  24900. +
  24901. + address = fragP->fr_address;
  24902. + target = fragP->fr_offset;
  24903. + symbolP = fragP->fr_symbol;
  24904. + sym_frag = symbol_get_frag(symbolP);
  24905. +
  24906. + address += fragP->fr_fix - fragP->fr_var;
  24907. + target += S_GET_VALUE(symbolP);
  24908. +
  24909. + if (stretch != 0
  24910. + && sym_frag->relax_marker != fragP->relax_marker
  24911. + && S_GET_SEGMENT(symbolP) == segment)
  24912. + /* if it was correctly aligned before, make sure it stays aligned */
  24913. + target += stretch & (~0UL << avr32_rs_align(state));
  24914. +
  24915. + if (fragP->tc_frag_data.pcrel)
  24916. + distance = target - (address & (~0UL << avr32_rs_align(state)));
  24917. + else
  24918. + distance = target;
  24919. +
  24920. + pr_debug("%s:%d: relax more? 0x%x - 0x%x = 0x%x (%d), align %d\n",
  24921. + fragP->fr_file, fragP->fr_line, target, address,
  24922. + distance, distance, avr32_rs_align(state));
  24923. +
  24924. + if (need_relax(state, distance))
  24925. + {
  24926. + if (relax_more(state) != AVR32_RS_NONE)
  24927. + next_state = relax_more(state);
  24928. + pr_debug("%s:%d: relax more %d -> %d (%d - %d, align %d)\n",
  24929. + fragP->fr_file, fragP->fr_line, state, next_state,
  24930. + target, address, avr32_rs_align(state));
  24931. + }
  24932. + }
  24933. +
  24934. + growth = avr32_rs_size(next_state) - avr32_rs_size(state);
  24935. + fragP->fr_subtype = next_state;
  24936. +
  24937. + pr_debug("%s:%d: md_relax_frag: growth=%d, subtype=%d, opc=0x%08lx\n",
  24938. + fragP->fr_file, fragP->fr_line, growth, fragP->fr_subtype,
  24939. + avr32_opc_table[next_state].value);
  24940. +
  24941. + return growth;
  24942. +}
  24943. +
  24944. +static long
  24945. +avr32_lda_relax_frag(segT segment, fragS *fragP, long stretch)
  24946. +{
  24947. + struct cpool *pool= NULL;
  24948. + unsigned int entry = 0;
  24949. + addressT address, target;
  24950. + offsetT distance;
  24951. + symbolS *symbolP;
  24952. + fragS *sym_frag;
  24953. + long old_size, new_size;
  24954. +
  24955. + symbolP = fragP->fr_symbol;
  24956. + old_size = fragP->fr_var;
  24957. + if (!avr32_pic)
  24958. + {
  24959. + pool = fragP->tc_frag_data.pool;
  24960. + entry = fragP->tc_frag_data.pool_entry;
  24961. + }
  24962. +
  24963. + address = fragP->fr_address;
  24964. + address += fragP->fr_fix - LDA_INITIAL_SIZE;
  24965. +
  24966. + if (!S_IS_DEFINED(symbolP) || S_FORCE_RELOC(symbolP, 1))
  24967. + goto relax_max;
  24968. +
  24969. + target = fragP->fr_offset;
  24970. + sym_frag = symbol_get_frag(symbolP);
  24971. + target += S_GET_VALUE(symbolP);
  24972. +
  24973. + if (sym_frag->relax_marker != fragP->relax_marker
  24974. + && S_GET_SEGMENT(symbolP) == segment)
  24975. + target += stretch;
  24976. +
  24977. + distance = target - address;
  24978. +
  24979. + pr_debug("lda_relax_frag: target: %d, address: %d, var: %d\n",
  24980. + target, address, fragP->fr_var);
  24981. +
  24982. + if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
  24983. + && target <= 127 && (offsetT)target >= -128)
  24984. + {
  24985. + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
  24986. + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
  24987. + pool->literals[entry].refcount--;
  24988. + new_size = 2;
  24989. + fragP->fr_subtype = LDA_SUBTYPE_MOV1;
  24990. + }
  24991. + else if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
  24992. + && target <= 1048575 && (offsetT)target >= -1048576)
  24993. + {
  24994. + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
  24995. + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
  24996. + pool->literals[entry].refcount--;
  24997. + new_size = 4;
  24998. + fragP->fr_subtype = LDA_SUBTYPE_MOV2;
  24999. + }
  25000. + else if (!linkrelax && S_GET_SEGMENT(symbolP) == segment
  25001. + /* the field will be negated, so this is really -(-32768)
  25002. + and -(32767) */
  25003. + && distance <= 32768 && distance >= -32767)
  25004. + {
  25005. + if (!avr32_pic
  25006. + && (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
  25007. + || fragP->fr_subtype == LDA_SUBTYPE_LDW))
  25008. + pool->literals[entry].refcount--;
  25009. + new_size = 4;
  25010. + fragP->fr_subtype = LDA_SUBTYPE_SUB;
  25011. + }
  25012. + else
  25013. + {
  25014. + relax_max:
  25015. + if (avr32_pic)
  25016. + {
  25017. + if (linkrelax)
  25018. + {
  25019. + new_size = 8;
  25020. + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD_LARGE;
  25021. + }
  25022. + else
  25023. + {
  25024. + new_size = 4;
  25025. + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD;
  25026. + }
  25027. + }
  25028. + else
  25029. + {
  25030. + if (fragP->fr_subtype != LDA_SUBTYPE_LDDPC
  25031. + && fragP->fr_subtype != LDA_SUBTYPE_LDW)
  25032. + pool->literals[entry].refcount++;
  25033. +
  25034. + sym_frag = symbol_get_frag(pool->symbol);
  25035. + target = (sym_frag->fr_address + sym_frag->fr_fix
  25036. + + pool->padding + pool->literals[entry].offset);
  25037. +
  25038. + pr_debug("cpool sym address: 0x%lx\n",
  25039. + sym_frag->fr_address + sym_frag->fr_fix);
  25040. +
  25041. + know(pool->section == segment);
  25042. +
  25043. + if (sym_frag->relax_marker != fragP->relax_marker)
  25044. + target += stretch;
  25045. +
  25046. + distance = target - address;
  25047. + if (distance <= 508 && distance >= 0)
  25048. + {
  25049. + new_size = 2;
  25050. + fragP->fr_subtype = LDA_SUBTYPE_LDDPC;
  25051. + }
  25052. + else
  25053. + {
  25054. + new_size = 4;
  25055. + fragP->fr_subtype = LDA_SUBTYPE_LDW;
  25056. + }
  25057. +
  25058. + pr_debug("lda_relax_frag (cpool): target=0x%lx, address=0x%lx, refcount=%d\n",
  25059. + target, address, pool->literals[entry].refcount);
  25060. + }
  25061. + }
  25062. +
  25063. + fragP->fr_var = new_size;
  25064. +
  25065. + pr_debug("%s:%d: lda: relax pass done. subtype: %d, growth: %ld\n",
  25066. + fragP->fr_file, fragP->fr_line,
  25067. + fragP->fr_subtype, new_size - old_size);
  25068. +
  25069. + return new_size - old_size;
  25070. +}
  25071. +
  25072. +static long
  25073. +avr32_call_relax_frag(segT segment, fragS *fragP, long stretch)
  25074. +{
  25075. + struct cpool *pool = NULL;
  25076. + unsigned int entry = 0;
  25077. + addressT address, target;
  25078. + offsetT distance;
  25079. + symbolS *symbolP;
  25080. + fragS *sym_frag;
  25081. + long old_size, new_size;
  25082. +
  25083. + symbolP = fragP->fr_symbol;
  25084. + old_size = fragP->fr_var;
  25085. + if (!avr32_pic)
  25086. + {
  25087. + pool = fragP->tc_frag_data.pool;
  25088. + entry = fragP->tc_frag_data.pool_entry;
  25089. + }
  25090. +
  25091. + address = fragP->fr_address;
  25092. + address += fragP->fr_fix - CALL_INITIAL_SIZE;
  25093. +
  25094. + if (need_reloc(symbolP, segment, 1))
  25095. + {
  25096. + pr_debug("call: must emit reloc\n");
  25097. + goto relax_max;
  25098. + }
  25099. +
  25100. + target = fragP->fr_offset;
  25101. + sym_frag = symbol_get_frag(symbolP);
  25102. + target += S_GET_VALUE(symbolP);
  25103. +
  25104. + if (sym_frag->relax_marker != fragP->relax_marker
  25105. + && S_GET_SEGMENT(symbolP) == segment)
  25106. + target += stretch;
  25107. +
  25108. + distance = target - address;
  25109. +
  25110. + if (distance <= 1022 && distance >= -1024)
  25111. + {
  25112. + pr_debug("call: distance is %d, emitting short rcall\n", distance);
  25113. + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
  25114. + pool->literals[entry].refcount--;
  25115. + new_size = 2;
  25116. + fragP->fr_subtype = CALL_SUBTYPE_RCALL1;
  25117. + }
  25118. + else if (distance <= 2097150 && distance >= -2097152)
  25119. + {
  25120. + pr_debug("call: distance is %d, emitting long rcall\n", distance);
  25121. + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
  25122. + pool->literals[entry].refcount--;
  25123. + new_size = 4;
  25124. + fragP->fr_subtype = CALL_SUBTYPE_RCALL2;
  25125. + }
  25126. + else
  25127. + {
  25128. + pr_debug("call: distance %d too far, emitting something big\n", distance);
  25129. +
  25130. + relax_max:
  25131. + if (avr32_pic)
  25132. + {
  25133. + if (linkrelax)
  25134. + {
  25135. + new_size = 10;
  25136. + fragP->fr_subtype = CALL_SUBTYPE_MCALL_LARGE;
  25137. + }
  25138. + else
  25139. + {
  25140. + new_size = 4;
  25141. + fragP->fr_subtype = CALL_SUBTYPE_MCALL_GOT;
  25142. + }
  25143. + }
  25144. + else
  25145. + {
  25146. + if (fragP->fr_subtype != CALL_SUBTYPE_MCALL_CP)
  25147. + pool->literals[entry].refcount++;
  25148. +
  25149. + new_size = 4;
  25150. + fragP->fr_subtype = CALL_SUBTYPE_MCALL_CP;
  25151. + }
  25152. + }
  25153. +
  25154. + fragP->fr_var = new_size;
  25155. +
  25156. + pr_debug("%s:%d: call: relax pass done, growth: %d, fr_var: %d\n",
  25157. + fragP->fr_file, fragP->fr_line,
  25158. + new_size - old_size, fragP->fr_var);
  25159. +
  25160. + return new_size - old_size;
  25161. +}
  25162. +
  25163. +static long
  25164. +avr32_cpool_relax_frag(segT segment ATTRIBUTE_UNUSED,
  25165. + fragS *fragP,
  25166. + long stretch ATTRIBUTE_UNUSED)
  25167. +{
  25168. + struct cpool *pool;
  25169. + addressT address;
  25170. + long old_size, new_size;
  25171. + unsigned int entry;
  25172. +
  25173. + pool = fragP->tc_frag_data.pool;
  25174. + address = fragP->fr_address + fragP->fr_fix;
  25175. + old_size = fragP->fr_var;
  25176. + new_size = 0;
  25177. +
  25178. + for (entry = 0; entry < pool->next_free_entry; entry++)
  25179. + {
  25180. + if (pool->literals[entry].refcount > 0)
  25181. + {
  25182. + pool->literals[entry].offset = new_size;
  25183. + new_size += 4;
  25184. + }
  25185. + }
  25186. +
  25187. + fragP->fr_var = new_size;
  25188. +
  25189. + return new_size - old_size;
  25190. +}
  25191. +
  25192. +/* *fragP has been relaxed to its final size, and now needs to have
  25193. + the bytes inside it modified to conform to the new size.
  25194. +
  25195. + Called after relaxation is finished.
  25196. + fragP->fr_type == rs_machine_dependent.
  25197. + fragP->fr_subtype is the subtype of what the address relaxed to. */
  25198. +
  25199. +static void
  25200. +avr32_default_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
  25201. + segT segment ATTRIBUTE_UNUSED,
  25202. + fragS *fragP)
  25203. +{
  25204. + const struct avr32_opcode *opc;
  25205. + const struct avr32_ifield *ifield;
  25206. + bfd_reloc_code_real_type r_type;
  25207. + symbolS *symbolP;
  25208. + fixS *fixP;
  25209. + bfd_vma value;
  25210. + int subtype;
  25211. +
  25212. + opc = &avr32_opc_table[fragP->fr_subtype];
  25213. + ifield = opc->fields[opc->var_field];
  25214. + symbolP = fragP->fr_symbol;
  25215. + subtype = fragP->fr_subtype;
  25216. + r_type = opc->reloc_type;
  25217. +
  25218. + /* Clear the opcode bits and the bits belonging to the relaxed
  25219. + field. We assume all other fields stay the same. */
  25220. + value = bfd_getb32(fragP->fr_opcode);
  25221. + value &= ~(opc->mask | ifield->mask);
  25222. +
  25223. + /* Insert the new opcode */
  25224. + value |= opc->value;
  25225. + bfd_putb32(value, fragP->fr_opcode);
  25226. +
  25227. + fragP->fr_fix += opc->size - fragP->fr_var;
  25228. +
  25229. + if (fragP->tc_frag_data.reloc_info != AVR32_OPINFO_NONE)
  25230. + {
  25231. + switch (fragP->tc_frag_data.reloc_info)
  25232. + {
  25233. + case AVR32_OPINFO_HI:
  25234. + r_type = BFD_RELOC_HI16;
  25235. + break;
  25236. + case AVR32_OPINFO_LO:
  25237. + r_type = BFD_RELOC_LO16;
  25238. + break;
  25239. + case AVR32_OPINFO_GOT:
  25240. + switch (r_type)
  25241. + {
  25242. + case BFD_RELOC_AVR32_18W_PCREL:
  25243. + r_type = BFD_RELOC_AVR32_GOT18SW;
  25244. + break;
  25245. + case BFD_RELOC_AVR32_16S:
  25246. + r_type = BFD_RELOC_AVR32_GOT16S;
  25247. + break;
  25248. + default:
  25249. + BAD_CASE(r_type);
  25250. + break;
  25251. + }
  25252. + break;
  25253. + default:
  25254. + BAD_CASE(fragP->tc_frag_data.reloc_info);
  25255. + break;
  25256. + }
  25257. + }
  25258. +
  25259. + pr_debug("%s:%d: convert_frag: new %s fixup\n",
  25260. + fragP->fr_file, fragP->fr_line,
  25261. + bfd_get_reloc_code_name(r_type));
  25262. +
  25263. +#if 1
  25264. + fixP = fix_new_exp(fragP, fragP->fr_fix - opc->size, opc->size,
  25265. + &fragP->tc_frag_data.exp,
  25266. + fragP->tc_frag_data.pcrel, r_type);
  25267. +#else
  25268. + fixP = fix_new(fragP, fragP->fr_fix - opc->size, opc->size, symbolP,
  25269. + fragP->fr_offset, fragP->tc_frag_data.pcrel, r_type);
  25270. +#endif
  25271. +
  25272. + /* Revert fix_new brain damage. "dot_value" is the value of PC at
  25273. + the point of the fixup, relative to the frag address. fix_new()
  25274. + and friends think they are only being called during the assembly
  25275. + pass, not during relaxation or similar, so fx_dot_value, fx_file
  25276. + and fx_line are all initialized to the wrong value. But we don't
  25277. + know the size of the fixup until now, so we really can't live up
  25278. + to the assumptions these functions make about the target. What
  25279. + do these functions think the "where" and "frag" argument mean
  25280. + anyway? */
  25281. + fixP->fx_dot_value = fragP->fr_fix - opc->size;
  25282. + fixP->fx_file = fragP->fr_file;
  25283. + fixP->fx_line = fragP->fr_line;
  25284. +
  25285. + fixP->tc_fix_data.ifield = ifield;
  25286. + fixP->tc_fix_data.align = avr32_rs_align(subtype);
  25287. + fixP->tc_fix_data.min = avr32_relax_table[subtype].lower_bound;
  25288. + fixP->tc_fix_data.max = avr32_relax_table[subtype].upper_bound;
  25289. +}
  25290. +
  25291. +static void
  25292. +avr32_lda_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
  25293. + segT segment ATTRIBUTE_UNUSED,
  25294. + fragS *fragP)
  25295. +{
  25296. + const struct avr32_opcode *opc;
  25297. + const struct avr32_ifield *ifield;
  25298. + bfd_reloc_code_real_type r_type;
  25299. + expressionS exp;
  25300. + struct cpool *pool;
  25301. + fixS *fixP;
  25302. + bfd_vma value;
  25303. + int regid, pcrel = 0, align = 0;
  25304. + char *p;
  25305. +
  25306. + r_type = BFD_RELOC_NONE;
  25307. + regid = fragP->tc_frag_data.reloc_info;
  25308. + p = fragP->fr_opcode;
  25309. + exp.X_add_symbol = fragP->fr_symbol;
  25310. + exp.X_add_number = fragP->fr_offset;
  25311. + exp.X_op = O_symbol;
  25312. +
  25313. + pr_debug("%s:%d: lda_convert_frag, subtype: %d, fix: %d, var: %d, regid: %d\n",
  25314. + fragP->fr_file, fragP->fr_line,
  25315. + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var, regid);
  25316. +
  25317. + switch (fragP->fr_subtype)
  25318. + {
  25319. + case LDA_SUBTYPE_MOV1:
  25320. + opc = &avr32_opc_table[AVR32_OPC_MOV1];
  25321. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25322. + ifield = opc->fields[1];
  25323. + r_type = opc->reloc_type;
  25324. + break;
  25325. + case LDA_SUBTYPE_MOV2:
  25326. + opc = &avr32_opc_table[AVR32_OPC_MOV2];
  25327. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25328. + ifield = opc->fields[1];
  25329. + r_type = opc->reloc_type;
  25330. + break;
  25331. + case LDA_SUBTYPE_SUB:
  25332. + opc = &avr32_opc_table[AVR32_OPC_SUB5];
  25333. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25334. + opc->fields[1]->insert(opc->fields[1], p, AVR32_REG_PC);
  25335. + ifield = opc->fields[2];
  25336. + r_type = BFD_RELOC_AVR32_16N_PCREL;
  25337. +
  25338. + /* Pretend that SUB5 isn't a "negated" pcrel expression for now.
  25339. + We'll have to fix it up later when we know whether to
  25340. + generate a reloc for it (in which case the linker will negate
  25341. + it, so we shouldn't). */
  25342. + pcrel = 1;
  25343. + break;
  25344. + case LDA_SUBTYPE_LDDPC:
  25345. + opc = &avr32_opc_table[AVR32_OPC_LDDPC];
  25346. + align = 2;
  25347. + r_type = BFD_RELOC_AVR32_9W_CP;
  25348. + goto cpool_common;
  25349. + case LDA_SUBTYPE_LDW:
  25350. + opc = &avr32_opc_table[AVR32_OPC_LDDPC_EXT];
  25351. + r_type = BFD_RELOC_AVR32_16_CP;
  25352. + cpool_common:
  25353. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25354. + ifield = opc->fields[1];
  25355. + pool = fragP->tc_frag_data.pool;
  25356. + exp.X_add_symbol = pool->symbol;
  25357. + exp.X_add_number = pool->literals[fragP->tc_frag_data.pool_entry].offset;
  25358. + pcrel = 1;
  25359. + break;
  25360. + case LDA_SUBTYPE_GOTLOAD_LARGE:
  25361. + /* ld.w Rd, r6[Rd << 2] (last) */
  25362. + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
  25363. + bfd_putb32(opc->value, p + 4);
  25364. + opc->fields[0]->insert(opc->fields[0], p + 4, regid);
  25365. + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
  25366. + opc->fields[2]->insert(opc->fields[2], p + 4, regid);
  25367. + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
  25368. +
  25369. + /* mov Rd, (got_offset / 4) */
  25370. + opc = &avr32_opc_table[AVR32_OPC_MOV2];
  25371. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25372. + ifield = opc->fields[1];
  25373. + r_type = BFD_RELOC_AVR32_LDA_GOT;
  25374. + break;
  25375. + case LDA_SUBTYPE_GOTLOAD:
  25376. + opc = &avr32_opc_table[AVR32_OPC_LD_W4];
  25377. + opc->fields[0]->insert(opc->fields[0], p, regid);
  25378. + opc->fields[1]->insert(opc->fields[1], p, 6);
  25379. + ifield = opc->fields[2];
  25380. + if (r_type == BFD_RELOC_NONE)
  25381. + r_type = BFD_RELOC_AVR32_GOT16S;
  25382. + break;
  25383. + default:
  25384. + BAD_CASE(fragP->fr_subtype);
  25385. + }
  25386. +
  25387. + value = bfd_getb32(p);
  25388. + value &= ~(opc->mask | ifield->mask);
  25389. + value |= opc->value;
  25390. + bfd_putb32(value, p);
  25391. +
  25392. + fragP->fr_fix += fragP->fr_var - LDA_INITIAL_SIZE;
  25393. +
  25394. + if (fragP->fr_next
  25395. + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
  25396. + != fragP->fr_fix))
  25397. + {
  25398. + fprintf(stderr, "LDA frag: fr_fix is wrong! fragP->fr_var = %ld, r_type = %s\n",
  25399. + fragP->fr_var, bfd_get_reloc_code_name(r_type));
  25400. + abort();
  25401. + }
  25402. +
  25403. + fixP = fix_new_exp(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
  25404. + &exp, pcrel, r_type);
  25405. +
  25406. + /* Revert fix_new brain damage. "dot_value" is the value of PC at
  25407. + the point of the fixup, relative to the frag address. fix_new()
  25408. + and friends think they are only being called during the assembly
  25409. + pass, not during relaxation or similar, so fx_dot_value, fx_file
  25410. + and fx_line are all initialized to the wrong value. But we don't
  25411. + know the size of the fixup until now, so we really can't live up
  25412. + to the assumptions these functions make about the target. What
  25413. + do these functions think the "where" and "frag" argument mean
  25414. + anyway? */
  25415. + fixP->fx_dot_value = fragP->fr_fix - opc->size;
  25416. + fixP->fx_file = fragP->fr_file;
  25417. + fixP->fx_line = fragP->fr_line;
  25418. +
  25419. + fixP->tc_fix_data.ifield = ifield;
  25420. + fixP->tc_fix_data.align = align;
  25421. + /* these are only used if the fixup can actually be resolved */
  25422. + fixP->tc_fix_data.min = -32768;
  25423. + fixP->tc_fix_data.max = 32767;
  25424. +}
  25425. +
  25426. +static void
  25427. +avr32_call_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
  25428. + segT segment ATTRIBUTE_UNUSED,
  25429. + fragS *fragP)
  25430. +{
  25431. + const struct avr32_opcode *opc = NULL;
  25432. + const struct avr32_ifield *ifield;
  25433. + bfd_reloc_code_real_type r_type;
  25434. + symbolS *symbol;
  25435. + offsetT offset;
  25436. + fixS *fixP;
  25437. + bfd_vma value;
  25438. + int pcrel = 0, align = 0;
  25439. + char *p;
  25440. +
  25441. + symbol = fragP->fr_symbol;
  25442. + offset = fragP->fr_offset;
  25443. + r_type = BFD_RELOC_NONE;
  25444. + p = fragP->fr_opcode;
  25445. +
  25446. + pr_debug("%s:%d: call_convert_frag, subtype: %d, fix: %d, var: %d\n",
  25447. + fragP->fr_file, fragP->fr_line,
  25448. + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var);
  25449. +
  25450. + switch (fragP->fr_subtype)
  25451. + {
  25452. + case CALL_SUBTYPE_RCALL1:
  25453. + opc = &avr32_opc_table[AVR32_OPC_RCALL1];
  25454. + /* fall through */
  25455. + case CALL_SUBTYPE_RCALL2:
  25456. + if (!opc)
  25457. + opc = &avr32_opc_table[AVR32_OPC_RCALL2];
  25458. + ifield = opc->fields[0];
  25459. + r_type = opc->reloc_type;
  25460. + pcrel = 1;
  25461. + align = 1;
  25462. + break;
  25463. + case CALL_SUBTYPE_MCALL_CP:
  25464. + opc = &avr32_opc_table[AVR32_OPC_MCALL];
  25465. + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_PC);
  25466. + ifield = opc->fields[1];
  25467. + r_type = BFD_RELOC_AVR32_CPCALL;
  25468. + symbol = fragP->tc_frag_data.pool->symbol;
  25469. + offset = fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].offset;
  25470. + assert(fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].refcount > 0);
  25471. + pcrel = 1;
  25472. + align = 2;
  25473. + break;
  25474. + case CALL_SUBTYPE_MCALL_GOT:
  25475. + opc = &avr32_opc_table[AVR32_OPC_MCALL];
  25476. + opc->fields[0]->insert(opc->fields[0], p, 6);
  25477. + ifield = opc->fields[1];
  25478. + r_type = BFD_RELOC_AVR32_GOT18SW;
  25479. + break;
  25480. + case CALL_SUBTYPE_MCALL_LARGE:
  25481. + assert(fragP->fr_var == 10);
  25482. + /* ld.w lr, r6[lr << 2] */
  25483. + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
  25484. + bfd_putb32(opc->value, p + 4);
  25485. + opc->fields[0]->insert(opc->fields[0], p + 4, AVR32_REG_LR);
  25486. + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
  25487. + opc->fields[2]->insert(opc->fields[2], p + 4, AVR32_REG_LR);
  25488. + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
  25489. +
  25490. + /* icall lr */
  25491. + opc = &avr32_opc_table[AVR32_OPC_ICALL];
  25492. + bfd_putb16(opc->value >> 16, p + 8);
  25493. + opc->fields[0]->insert(opc->fields[0], p + 8, AVR32_REG_LR);
  25494. +
  25495. + /* mov lr, (got_offset / 4) */
  25496. + opc = &avr32_opc_table[AVR32_OPC_MOV2];
  25497. + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_LR);
  25498. + ifield = opc->fields[1];
  25499. + r_type = BFD_RELOC_AVR32_GOTCALL;
  25500. + break;
  25501. + default:
  25502. + BAD_CASE(fragP->fr_subtype);
  25503. + }
  25504. +
  25505. + /* Insert the opcode and clear the variable ifield */
  25506. + value = bfd_getb32(p);
  25507. + value &= ~(opc->mask | ifield->mask);
  25508. + value |= opc->value;
  25509. + bfd_putb32(value, p);
  25510. +
  25511. + fragP->fr_fix += fragP->fr_var - CALL_INITIAL_SIZE;
  25512. +
  25513. + if (fragP->fr_next
  25514. + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
  25515. + != fragP->fr_fix))
  25516. + {
  25517. + fprintf(stderr, "%s:%d: fr_fix %lu is wrong! fr_var=%lu, r_type=%s\n",
  25518. + fragP->fr_file, fragP->fr_line,
  25519. + fragP->fr_fix, fragP->fr_var, bfd_get_reloc_code_name(r_type));
  25520. + fprintf(stderr, "fr_fix should be %ld. next frag is %s:%d\n",
  25521. + (offsetT)(fragP->fr_next->fr_address - fragP->fr_address),
  25522. + fragP->fr_next->fr_file, fragP->fr_next->fr_line);
  25523. + }
  25524. +
  25525. + fixP = fix_new(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
  25526. + symbol, offset, pcrel, r_type);
  25527. +
  25528. + /* Revert fix_new brain damage. "dot_value" is the value of PC at
  25529. + the point of the fixup, relative to the frag address. fix_new()
  25530. + and friends think they are only being called during the assembly
  25531. + pass, not during relaxation or similar, so fx_dot_value, fx_file
  25532. + and fx_line are all initialized to the wrong value. But we don't
  25533. + know the size of the fixup until now, so we really can't live up
  25534. + to the assumptions these functions make about the target. What
  25535. + do these functions think the "where" and "frag" argument mean
  25536. + anyway? */
  25537. + fixP->fx_dot_value = fragP->fr_fix - opc->size;
  25538. + fixP->fx_file = fragP->fr_file;
  25539. + fixP->fx_line = fragP->fr_line;
  25540. +
  25541. + fixP->tc_fix_data.ifield = ifield;
  25542. + fixP->tc_fix_data.align = align;
  25543. + /* these are only used if the fixup can actually be resolved */
  25544. + fixP->tc_fix_data.min = -2097152;
  25545. + fixP->tc_fix_data.max = 2097150;
  25546. +}
  25547. +
  25548. +static void
  25549. +avr32_cpool_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
  25550. + segT segment ATTRIBUTE_UNUSED,
  25551. + fragS *fragP)
  25552. +{
  25553. + struct cpool *pool;
  25554. + addressT address;
  25555. + unsigned int entry;
  25556. + char *p;
  25557. + char sym_name[20];
  25558. +
  25559. + /* Did we get rid of the frag altogether? */
  25560. + if (!fragP->fr_var)
  25561. + return;
  25562. +
  25563. + pool = fragP->tc_frag_data.pool;
  25564. + address = fragP->fr_address + fragP->fr_fix;
  25565. + p = fragP->fr_literal + fragP->fr_fix;
  25566. +
  25567. + sprintf(sym_name, "$$cp_\002%x", pool->id);
  25568. + symbol_locate(pool->symbol, sym_name, pool->section, fragP->fr_fix, fragP);
  25569. + symbol_table_insert(pool->symbol);
  25570. +
  25571. + for (entry = 0; entry < pool->next_free_entry; entry++)
  25572. + {
  25573. + if (pool->literals[entry].refcount > 0)
  25574. + {
  25575. + fix_new_exp(fragP, fragP->fr_fix, 4, &pool->literals[entry].exp,
  25576. + FALSE, BFD_RELOC_AVR32_32_CPENT);
  25577. + fragP->fr_fix += 4;
  25578. + }
  25579. + }
  25580. +}
  25581. +
  25582. +static struct avr32_relaxer avr32_default_relaxer = {
  25583. + .estimate_size = avr32_default_estimate_size_before_relax,
  25584. + .relax_frag = avr32_default_relax_frag,
  25585. + .convert_frag = avr32_default_convert_frag,
  25586. +};
  25587. +static struct avr32_relaxer avr32_lda_relaxer = {
  25588. + .estimate_size = avr32_lda_estimate_size_before_relax,
  25589. + .relax_frag = avr32_lda_relax_frag,
  25590. + .convert_frag = avr32_lda_convert_frag,
  25591. +};
  25592. +static struct avr32_relaxer avr32_call_relaxer = {
  25593. + .estimate_size = avr32_call_estimate_size_before_relax,
  25594. + .relax_frag = avr32_call_relax_frag,
  25595. + .convert_frag = avr32_call_convert_frag,
  25596. +};
  25597. +static struct avr32_relaxer avr32_cpool_relaxer = {
  25598. + .estimate_size = avr32_cpool_estimate_size_before_relax,
  25599. + .relax_frag = avr32_cpool_relax_frag,
  25600. + .convert_frag = avr32_cpool_convert_frag,
  25601. +};
  25602. +
  25603. +static void s_cpool(int arg ATTRIBUTE_UNUSED)
  25604. +{
  25605. + struct cpool *pool;
  25606. + unsigned int max_size;
  25607. + char *buf;
  25608. +
  25609. + pool = find_cpool(now_seg, now_subseg);
  25610. + if (!pool || !pool->symbol || pool->next_free_entry == 0)
  25611. + return;
  25612. +
  25613. + /* Make sure the constant pool is properly aligned */
  25614. + frag_align_code(2, 0);
  25615. + if (bfd_get_section_alignment(stdoutput, pool->section) < 2)
  25616. + bfd_set_section_alignment(stdoutput, pool->section, 2);
  25617. +
  25618. + /* Assume none of the entries are discarded, and that we need the
  25619. + maximum amount of alignment. But we're not going to allocate
  25620. + anything up front. */
  25621. + max_size = pool->next_free_entry * 4 + 2;
  25622. + frag_grow(max_size);
  25623. + buf = frag_more(0);
  25624. +
  25625. + frag_now->tc_frag_data.relaxer = &avr32_cpool_relaxer;
  25626. + frag_now->tc_frag_data.pool = pool;
  25627. +
  25628. + symbol_set_frag(pool->symbol, frag_now);
  25629. +
  25630. + /* Assume zero initial size, allowing other relaxers to be
  25631. + optimistic about things. */
  25632. + frag_var(rs_machine_dependent, max_size, 0,
  25633. + 0, pool->symbol, 0, NULL);
  25634. +
  25635. + /* Mark the pool as empty. */
  25636. + pool->used = 1;
  25637. +}
  25638. +
  25639. +/* The location from which a PC relative jump should be calculated,
  25640. + given a PC relative reloc. */
  25641. +
  25642. +long
  25643. +md_pcrel_from_section (fixS *fixP, segT sec)
  25644. +{
  25645. + pr_debug("pcrel_from_section, fx_offset = %d\n", fixP->fx_offset);
  25646. +
  25647. + if (fixP->fx_addsy != NULL
  25648. + && (! S_IS_DEFINED (fixP->fx_addsy)
  25649. + || S_GET_SEGMENT (fixP->fx_addsy) != sec
  25650. + || S_FORCE_RELOC(fixP->fx_addsy, 1)))
  25651. + {
  25652. + pr_debug("Unknown pcrel symbol: %s\n", S_GET_NAME(fixP->fx_addsy));
  25653. +
  25654. + /* The symbol is undefined (or is defined but not in this section).
  25655. + Let the linker figure it out. */
  25656. + return 0;
  25657. + }
  25658. +
  25659. + pr_debug("pcrel from %x + %x, symbol: %s (%x)\n",
  25660. + fixP->fx_frag->fr_address, fixP->fx_where,
  25661. + fixP->fx_addsy?S_GET_NAME(fixP->fx_addsy):"(null)",
  25662. + fixP->fx_addsy?S_GET_VALUE(fixP->fx_addsy):0);
  25663. +
  25664. + return ((fixP->fx_frag->fr_address + fixP->fx_where)
  25665. + & (~0UL << fixP->tc_fix_data.align));
  25666. +}
  25667. +
  25668. +valueT
  25669. +md_section_align (segT segment, valueT size)
  25670. +{
  25671. + int align = bfd_get_section_alignment (stdoutput, segment);
  25672. + return ((size + (1 << align) - 1) & (-1 << align));
  25673. +}
  25674. +
  25675. +static int syntax_matches(const struct avr32_syntax *syntax,
  25676. + char *str)
  25677. +{
  25678. + int i;
  25679. +
  25680. + pr_debug("syntax %d matches `%s'?\n", syntax->id, str);
  25681. +
  25682. + if (syntax->nr_operands < 0)
  25683. + {
  25684. + struct avr32_operand *op;
  25685. + int optype;
  25686. +
  25687. + for (i = 0; i < (-syntax->nr_operands - 1); i++)
  25688. + {
  25689. + char *p;
  25690. + char c;
  25691. +
  25692. + optype = syntax->operand[i];
  25693. + assert(optype < AVR32_NR_OPERANDS);
  25694. + op = &avr32_operand_table[optype];
  25695. +
  25696. + for (p = str; *p; p++)
  25697. + if (*p == ',')
  25698. + break;
  25699. +
  25700. + if (p == str)
  25701. + return 0;
  25702. +
  25703. + c = *p;
  25704. + *p = 0;
  25705. +
  25706. + if (!op->match(str))
  25707. + {
  25708. + *p = c;
  25709. + return 0;
  25710. + }
  25711. +
  25712. + str = p;
  25713. + *p = c;
  25714. + if (c)
  25715. + str++;
  25716. + }
  25717. +
  25718. + optype = syntax->operand[i];
  25719. + assert(optype < AVR32_NR_OPERANDS);
  25720. + op = &avr32_operand_table[optype];
  25721. +
  25722. + if (!op->match(str))
  25723. + return 0;
  25724. + return 1;
  25725. + }
  25726. +
  25727. + for (i = 0; i < syntax->nr_operands; i++)
  25728. + {
  25729. + struct avr32_operand *op;
  25730. + int optype = syntax->operand[i];
  25731. + char *p;
  25732. + char c;
  25733. +
  25734. + assert(optype < AVR32_NR_OPERANDS);
  25735. + op = &avr32_operand_table[optype];
  25736. +
  25737. + for (p = str; *p; p++)
  25738. + if (*p == ',')
  25739. + break;
  25740. +
  25741. + if (p == str)
  25742. + return 0;
  25743. +
  25744. + c = *p;
  25745. + *p = 0;
  25746. +
  25747. + if (!op->match(str))
  25748. + {
  25749. + *p = c;
  25750. + return 0;
  25751. + }
  25752. +
  25753. + str = p;
  25754. + *p = c;
  25755. + if (c)
  25756. + str++;
  25757. + }
  25758. +
  25759. + if (*str == '\0')
  25760. + return 1;
  25761. +
  25762. + if ((*str == 'e' || *str == 'E') && !str[1])
  25763. + return 1;
  25764. +
  25765. + return 0;
  25766. +}
  25767. +
  25768. +static int parse_operands(char *str)
  25769. +{
  25770. + int i;
  25771. +
  25772. + if (current_insn.syntax->nr_operands < 0)
  25773. + {
  25774. + int optype;
  25775. + struct avr32_operand *op;
  25776. +
  25777. + for (i = 0; i < (-current_insn.syntax->nr_operands - 1); i++)
  25778. + {
  25779. + char *p;
  25780. + char c;
  25781. +
  25782. + optype = current_insn.syntax->operand[i];
  25783. + op = &avr32_operand_table[optype];
  25784. +
  25785. + for (p = str; *p; p++)
  25786. + if (*p == ',')
  25787. + break;
  25788. +
  25789. + assert(p != str);
  25790. +
  25791. + c = *p, *p = 0;
  25792. + op->parse(op, str, i);
  25793. + *p = c;
  25794. +
  25795. + str = p;
  25796. + if (c) str++;
  25797. + }
  25798. +
  25799. + /* give the rest of the line to the last operand */
  25800. + optype = current_insn.syntax->operand[i];
  25801. + op = &avr32_operand_table[optype];
  25802. + op->parse(op, str, i);
  25803. + }
  25804. + else
  25805. + {
  25806. + for (i = 0; i < current_insn.syntax->nr_operands; i++)
  25807. + {
  25808. + int optype = current_insn.syntax->operand[i];
  25809. + struct avr32_operand *op = &avr32_operand_table[optype];
  25810. + char *p;
  25811. + char c;
  25812. +
  25813. + skip_whitespace(str);
  25814. +
  25815. + for (p = str; *p; p++)
  25816. + if (*p == ',')
  25817. + break;
  25818. +
  25819. + assert(p != str);
  25820. +
  25821. + c = *p, *p = 0;
  25822. + op->parse(op, str, i);
  25823. + *p = c;
  25824. +
  25825. + str = p;
  25826. + if (c) str++;
  25827. + }
  25828. +
  25829. + if (*str == 'E' || *str == 'e')
  25830. + current_insn.force_extended = 1;
  25831. + }
  25832. +
  25833. + return 0;
  25834. +}
  25835. +
  25836. +static const char *
  25837. +finish_insn(const struct avr32_opcode *opc)
  25838. +{
  25839. + expressionS *exp = &current_insn.immediate;
  25840. + unsigned int i;
  25841. + int will_relax = 0;
  25842. + char *buf;
  25843. +
  25844. + assert(current_insn.next_slot == opc->nr_fields);
  25845. +
  25846. + pr_debug("%s:%d: finish_insn: trying opcode %d\n",
  25847. + frag_now->fr_file, frag_now->fr_line, opc->id);
  25848. +
  25849. + /* Go through the relaxation stage for all instructions that can
  25850. + possibly take a symbolic immediate. The relax code will take
  25851. + care of range checking and alignment. */
  25852. + if (opc->var_field != -1)
  25853. + {
  25854. + int substate, largest_substate;
  25855. + symbolS *sym;
  25856. + offsetT off;
  25857. +
  25858. + will_relax = 1;
  25859. + substate = largest_substate = opc_initial_substate(opc);
  25860. +
  25861. + while (relax_more(largest_substate) != AVR32_RS_NONE)
  25862. + largest_substate = relax_more(largest_substate);
  25863. +
  25864. + pr_debug("will relax. initial substate: %d (size %d), largest substate: %d (size %d)\n",
  25865. + substate, avr32_rs_size(substate),
  25866. + largest_substate, avr32_rs_size(largest_substate));
  25867. +
  25868. + /* make sure we have enough room for the largest possible opcode */
  25869. + frag_grow(avr32_rs_size(largest_substate));
  25870. + buf = frag_more(opc->size);
  25871. +
  25872. + dwarf2_emit_insn(opc->size);
  25873. +
  25874. + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_NONE;
  25875. + frag_now->tc_frag_data.pcrel = current_insn.pcrel;
  25876. + frag_now->tc_frag_data.force_extended = current_insn.force_extended;
  25877. + frag_now->tc_frag_data.relaxer = &avr32_default_relaxer;
  25878. +
  25879. + if (exp->X_op == O_hi)
  25880. + {
  25881. + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_HI;
  25882. + exp->X_op = exp->X_md;
  25883. + }
  25884. + else if (exp->X_op == O_lo)
  25885. + {
  25886. + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_LO;
  25887. + exp->X_op = exp->X_md;
  25888. + }
  25889. + else if (exp->X_op == O_got)
  25890. + {
  25891. + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_GOT;
  25892. + exp->X_op = O_symbol;
  25893. + }
  25894. +
  25895. +#if 0
  25896. + if ((opc->reloc_type == BFD_RELOC_AVR32_SUB5)
  25897. + && exp->X_op == O_subtract)
  25898. + {
  25899. + symbolS *tmp;
  25900. + tmp = exp->X_add_symbol;
  25901. + exp->X_add_symbol = exp->X_op_symbol;
  25902. + exp->X_op_symbol = tmp;
  25903. + }
  25904. +#endif
  25905. +
  25906. + frag_now->tc_frag_data.exp = current_insn.immediate;
  25907. +
  25908. + sym = exp->X_add_symbol;
  25909. + off = exp->X_add_number;
  25910. + if (exp->X_op != O_symbol)
  25911. + {
  25912. + sym = make_expr_symbol(exp);
  25913. + off = 0;
  25914. + }
  25915. +
  25916. + frag_var(rs_machine_dependent,
  25917. + avr32_rs_size(largest_substate) - opc->size,
  25918. + opc->size,
  25919. + substate, sym, off, buf);
  25920. + }
  25921. + else
  25922. + {
  25923. + assert(avr32_rs_size(opc_initial_substate(opc)) == 0);
  25924. +
  25925. + /* Make sure we always have room for another whole word, as the ifield
  25926. + inserters can only write words. */
  25927. + frag_grow(4);
  25928. + buf = frag_more(opc->size);
  25929. + dwarf2_emit_insn(opc->size);
  25930. + }
  25931. +
  25932. + assert(!(opc->value & ~opc->mask));
  25933. +
  25934. + pr_debug("inserting opcode: 0x%lx\n", opc->value);
  25935. + bfd_putb32(opc->value, buf);
  25936. +
  25937. + for (i = 0; i < opc->nr_fields; i++)
  25938. + {
  25939. + const struct avr32_ifield *f = opc->fields[i];
  25940. + const struct avr32_ifield_data *fd = &current_insn.field_value[i];
  25941. +
  25942. + pr_debug("inserting field: 0x%lx & 0x%lx\n",
  25943. + fd->value >> fd->align_order, f->mask);
  25944. +
  25945. + f->insert(f, buf, fd->value >> fd->align_order);
  25946. + }
  25947. +
  25948. + assert(will_relax || !current_insn.immediate.X_add_symbol);
  25949. + return NULL;
  25950. +}
  25951. +
  25952. +static const char *
  25953. +finish_alias(const struct avr32_alias *alias)
  25954. +{
  25955. + const struct avr32_opcode *opc;
  25956. + struct {
  25957. + unsigned long value;
  25958. + unsigned long align;
  25959. + } mapped_operand[AVR32_MAX_OPERANDS];
  25960. + unsigned int i;
  25961. +
  25962. + opc = alias->opc;
  25963. +
  25964. + /* Remap the operands from the alias to the real opcode */
  25965. + for (i = 0; i < opc->nr_fields; i++)
  25966. + {
  25967. + if (alias->operand_map[i].is_opindex)
  25968. + {
  25969. + struct avr32_ifield_data *fd;
  25970. + fd = &current_insn.field_value[alias->operand_map[i].value];
  25971. + mapped_operand[i].value = fd->value;
  25972. + mapped_operand[i].align = fd->align_order;
  25973. + }
  25974. + else
  25975. + {
  25976. + mapped_operand[i].value = alias->operand_map[i].value;
  25977. + mapped_operand[i].align = 0;
  25978. + }
  25979. + }
  25980. +
  25981. + for (i = 0; i < opc->nr_fields; i++)
  25982. + {
  25983. + current_insn.field_value[i].value = mapped_operand[i].value;
  25984. + if (opc->id == AVR32_OPC_COP)
  25985. + current_insn.field_value[i].align_order = 0;
  25986. + else
  25987. + current_insn.field_value[i].align_order
  25988. + = mapped_operand[i].align;
  25989. + }
  25990. +
  25991. + current_insn.next_slot = opc->nr_fields;
  25992. +
  25993. + return finish_insn(opc);
  25994. +}
  25995. +
  25996. +static const char *
  25997. +finish_lda(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
  25998. +{
  25999. + expressionS *exp = &current_insn.immediate;
  26000. + relax_substateT initial_subtype;
  26001. + symbolS *sym;
  26002. + offsetT off;
  26003. + int initial_size, max_size;
  26004. + char *buf;
  26005. +
  26006. + initial_size = LDA_INITIAL_SIZE;
  26007. +
  26008. + if (avr32_pic)
  26009. + {
  26010. + initial_subtype = LDA_SUBTYPE_SUB;
  26011. + if (linkrelax)
  26012. + max_size = 8;
  26013. + else
  26014. + max_size = 4;
  26015. + }
  26016. + else
  26017. + {
  26018. + initial_subtype = LDA_SUBTYPE_MOV1;
  26019. + max_size = 4;
  26020. + }
  26021. +
  26022. + frag_grow(max_size);
  26023. + buf = frag_more(initial_size);
  26024. + dwarf2_emit_insn(initial_size);
  26025. +
  26026. + if (exp->X_op == O_symbol)
  26027. + {
  26028. + sym = exp->X_add_symbol;
  26029. + off = exp->X_add_number;
  26030. + }
  26031. + else
  26032. + {
  26033. + sym = make_expr_symbol(exp);
  26034. + off = 0;
  26035. + }
  26036. +
  26037. + frag_now->tc_frag_data.reloc_info = current_insn.field_value[0].value;
  26038. + frag_now->tc_frag_data.relaxer = &avr32_lda_relaxer;
  26039. +
  26040. + if (!avr32_pic)
  26041. + {
  26042. + /* The relaxer will bump the refcount if necessary */
  26043. + frag_now->tc_frag_data.pool
  26044. + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
  26045. + }
  26046. +
  26047. + frag_var(rs_machine_dependent, max_size - initial_size,
  26048. + initial_size, initial_subtype, sym, off, buf);
  26049. +
  26050. + return NULL;
  26051. +}
  26052. +
  26053. +static const char *
  26054. +finish_call(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
  26055. +{
  26056. + expressionS *exp = &current_insn.immediate;
  26057. + symbolS *sym;
  26058. + offsetT off;
  26059. + int initial_size, max_size;
  26060. + char *buf;
  26061. +
  26062. + initial_size = CALL_INITIAL_SIZE;
  26063. +
  26064. + if (avr32_pic)
  26065. + {
  26066. + if (linkrelax)
  26067. + max_size = 10;
  26068. + else
  26069. + max_size = 4;
  26070. + }
  26071. + else
  26072. + max_size = 4;
  26073. +
  26074. + frag_grow(max_size);
  26075. + buf = frag_more(initial_size);
  26076. + dwarf2_emit_insn(initial_size);
  26077. +
  26078. + frag_now->tc_frag_data.relaxer = &avr32_call_relaxer;
  26079. +
  26080. + if (exp->X_op == O_symbol)
  26081. + {
  26082. + sym = exp->X_add_symbol;
  26083. + off = exp->X_add_number;
  26084. + }
  26085. + else
  26086. + {
  26087. + sym = make_expr_symbol(exp);
  26088. + off = 0;
  26089. + }
  26090. +
  26091. + if (!avr32_pic)
  26092. + {
  26093. + /* The relaxer will bump the refcount if necessary */
  26094. + frag_now->tc_frag_data.pool
  26095. + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
  26096. + }
  26097. +
  26098. + frag_var(rs_machine_dependent, max_size - initial_size,
  26099. + initial_size, CALL_SUBTYPE_RCALL1, sym, off, buf);
  26100. +
  26101. + return NULL;
  26102. +}
  26103. +
  26104. +void
  26105. +md_begin (void)
  26106. +{
  26107. + unsigned long flags = 0;
  26108. + int i;
  26109. +
  26110. + avr32_mnemonic_htab = hash_new();
  26111. +
  26112. + if (!avr32_mnemonic_htab)
  26113. + as_fatal(_("virtual memory exhausted"));
  26114. +
  26115. + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
  26116. + {
  26117. + hash_insert(avr32_mnemonic_htab, avr32_mnemonic_table[i].name,
  26118. + (void *)&avr32_mnemonic_table[i]);
  26119. + }
  26120. +
  26121. + if (linkrelax)
  26122. + flags |= EF_AVR32_LINKRELAX;
  26123. + if (avr32_pic)
  26124. + flags |= EF_AVR32_PIC;
  26125. +
  26126. + bfd_set_private_flags(stdoutput, flags);
  26127. +
  26128. +#ifdef OPC_CONSISTENCY_CHECK
  26129. + if (sizeof(avr32_operand_table)/sizeof(avr32_operand_table[0])
  26130. + < AVR32_NR_OPERANDS)
  26131. + as_fatal(_("operand table is incomplete"));
  26132. +
  26133. + for (i = 0; i < AVR32_NR_OPERANDS; i++)
  26134. + if (avr32_operand_table[i].id != i)
  26135. + as_fatal(_("operand table inconsistency found at index %d\n"), i);
  26136. + pr_debug("%d operands verified\n", AVR32_NR_OPERANDS);
  26137. +
  26138. + for (i = 0; i < AVR32_NR_IFIELDS; i++)
  26139. + if (avr32_ifield_table[i].id != i)
  26140. + as_fatal(_("ifield table inconsistency found at index %d\n"), i);
  26141. + pr_debug("%d instruction fields verified\n", AVR32_NR_IFIELDS);
  26142. +
  26143. + for (i = 0; i < AVR32_NR_OPCODES; i++)
  26144. + {
  26145. + if (avr32_opc_table[i].id != i)
  26146. + as_fatal(_("opcode table inconsistency found at index %d\n"), i);
  26147. + if ((avr32_opc_table[i].var_field == -1
  26148. + && avr32_relax_table[i].length != 0)
  26149. + || (avr32_opc_table[i].var_field != -1
  26150. + && avr32_relax_table[i].length == 0))
  26151. + as_fatal(_("relax table inconsistency found at index %d\n"), i);
  26152. + }
  26153. + pr_debug("%d opcodes verified\n", AVR32_NR_OPCODES);
  26154. +
  26155. + for (i = 0; i < AVR32_NR_SYNTAX; i++)
  26156. + if (avr32_syntax_table[i].id != i)
  26157. + as_fatal(_("syntax table inconsistency found at index %d\n"), i);
  26158. + pr_debug("%d syntax variants verified\n", AVR32_NR_SYNTAX);
  26159. +
  26160. + for (i = 0; i < AVR32_NR_ALIAS; i++)
  26161. + if (avr32_alias_table[i].id != i)
  26162. + as_fatal(_("alias table inconsistency found at index %d\n"), i);
  26163. + pr_debug("%d aliases verified\n", AVR32_NR_ALIAS);
  26164. +
  26165. + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
  26166. + if (avr32_mnemonic_table[i].id != i)
  26167. + as_fatal(_("mnemonic table inconsistency found at index %d\n"), i);
  26168. + pr_debug("%d mnemonics verified\n", AVR32_NR_MNEMONICS);
  26169. +#endif
  26170. +}
  26171. +
  26172. +void
  26173. +md_assemble (char *str)
  26174. +{
  26175. + struct avr32_mnemonic *mnemonic;
  26176. + char *p, c;
  26177. +
  26178. + memset(&current_insn, 0, sizeof(current_insn));
  26179. + current_insn.immediate.X_op = O_constant;
  26180. +
  26181. + skip_whitespace(str);
  26182. + for (p = str; *p; p++)
  26183. + if (*p == ' ')
  26184. + break;
  26185. + c = *p;
  26186. + *p = 0;
  26187. +
  26188. + mnemonic = hash_find(avr32_mnemonic_htab, str);
  26189. + *p = c;
  26190. + if (c) p++;
  26191. +
  26192. + if (mnemonic)
  26193. + {
  26194. + const struct avr32_syntax *syntax;
  26195. +
  26196. + for (syntax = mnemonic->syntax; syntax; syntax = syntax->next)
  26197. + {
  26198. + const char *errmsg = NULL;
  26199. +
  26200. + if (syntax_matches(syntax, p))
  26201. + {
  26202. + if (!(syntax->isa_flags & avr32_arch->isa_flags))
  26203. + {
  26204. + as_bad(_("Selected architecture `%s' does not support `%s'"),
  26205. + avr32_arch->name, str);
  26206. + return;
  26207. + }
  26208. +
  26209. + current_insn.syntax = syntax;
  26210. + parse_operands(p);
  26211. +
  26212. + switch (syntax->type)
  26213. + {
  26214. + case AVR32_PARSER_NORMAL:
  26215. + errmsg = finish_insn(syntax->u.opc);
  26216. + break;
  26217. + case AVR32_PARSER_ALIAS:
  26218. + errmsg = finish_alias(syntax->u.alias);
  26219. + break;
  26220. + case AVR32_PARSER_LDA:
  26221. + errmsg = finish_lda(syntax);
  26222. + break;
  26223. + case AVR32_PARSER_CALL:
  26224. + errmsg = finish_call(syntax);
  26225. + break;
  26226. + default:
  26227. + BAD_CASE(syntax->type);
  26228. + break;
  26229. + }
  26230. +
  26231. + if (errmsg)
  26232. + as_bad("%s in `%s'", errmsg, str);
  26233. +
  26234. + return;
  26235. + }
  26236. + }
  26237. +
  26238. + as_bad(_("unrecognized form of instruction: `%s'"), str);
  26239. + }
  26240. + else
  26241. + as_bad(_("unrecognized instruction `%s'"), str);
  26242. +}
  26243. +
  26244. +void avr32_cleanup(void)
  26245. +{
  26246. + struct cpool *pool;
  26247. +
  26248. + /* Emit any constant pools that haven't been explicitly flushed with
  26249. + a .cpool directive. */
  26250. + for (pool = cpool_list; pool; pool = pool->next)
  26251. + {
  26252. + subseg_set(pool->section, pool->sub_section);
  26253. + s_cpool(0);
  26254. + }
  26255. +}
  26256. +
  26257. +/* Handle any PIC-related operands in data allocation pseudo-ops */
  26258. +void
  26259. +avr32_cons_fix_new (fragS *frag, int off, int size, expressionS *exp)
  26260. +{
  26261. + bfd_reloc_code_real_type r_type = BFD_RELOC_UNUSED;
  26262. + int pcrel = 0;
  26263. +
  26264. + pr_debug("%s:%u: cons_fix_new, add_sym: %s, op_sym: %s, op: %d, add_num: %d\n",
  26265. + frag->fr_file, frag->fr_line,
  26266. + exp->X_add_symbol?S_GET_NAME(exp->X_add_symbol):"(none)",
  26267. + exp->X_op_symbol?S_GET_NAME(exp->X_op_symbol):"(none)",
  26268. + exp->X_op, exp->X_add_number);
  26269. +
  26270. + if (exp->X_op == O_subtract && exp->X_op_symbol)
  26271. + {
  26272. + if (exp->X_op_symbol == GOT_symbol)
  26273. + {
  26274. + if (size != 4)
  26275. + goto bad_size;
  26276. + r_type = BFD_RELOC_AVR32_GOTPC;
  26277. + exp->X_op = O_symbol;
  26278. + exp->X_op_symbol = NULL;
  26279. + }
  26280. + }
  26281. + else if (exp->X_op == O_got)
  26282. + {
  26283. + switch (size)
  26284. + {
  26285. + case 1:
  26286. + r_type = BFD_RELOC_AVR32_GOT8;
  26287. + break;
  26288. + case 2:
  26289. + r_type = BFD_RELOC_AVR32_GOT16;
  26290. + break;
  26291. + case 4:
  26292. + r_type = BFD_RELOC_AVR32_GOT32;
  26293. + break;
  26294. + default:
  26295. + goto bad_size;
  26296. + }
  26297. +
  26298. + exp->X_op = O_symbol;
  26299. + }
  26300. +
  26301. + if (r_type == BFD_RELOC_UNUSED)
  26302. + switch (size)
  26303. + {
  26304. + case 1:
  26305. + r_type = BFD_RELOC_8;
  26306. + break;
  26307. + case 2:
  26308. + r_type = BFD_RELOC_16;
  26309. + break;
  26310. + case 4:
  26311. + r_type = BFD_RELOC_32;
  26312. + break;
  26313. + default:
  26314. + goto bad_size;
  26315. + }
  26316. + else if (size != 4)
  26317. + {
  26318. + bad_size:
  26319. + as_bad(_("unsupported BFD relocation size %u"), size);
  26320. + r_type = BFD_RELOC_UNUSED;
  26321. + }
  26322. +
  26323. + fix_new_exp (frag, off, size, exp, pcrel, r_type);
  26324. +}
  26325. +
  26326. +static void
  26327. +avr32_frob_section(bfd *abfd ATTRIBUTE_UNUSED, segT sec,
  26328. + void *ignore ATTRIBUTE_UNUSED)
  26329. +{
  26330. + segment_info_type *seginfo;
  26331. + fixS *fix;
  26332. +
  26333. + seginfo = seg_info(sec);
  26334. + if (!seginfo)
  26335. + return;
  26336. +
  26337. + for (fix = seginfo->fix_root; fix; fix = fix->fx_next)
  26338. + {
  26339. + if (fix->fx_done)
  26340. + continue;
  26341. +
  26342. + if (fix->fx_r_type == BFD_RELOC_AVR32_SUB5
  26343. + && fix->fx_addsy && fix->fx_subsy)
  26344. + {
  26345. + if (S_GET_SEGMENT(fix->fx_addsy) != S_GET_SEGMENT(fix->fx_subsy)
  26346. + || linkrelax)
  26347. + {
  26348. + symbolS *tmp;
  26349. +#ifdef DEBUG
  26350. + fprintf(stderr, "Swapping symbols in fixup:\n");
  26351. + print_fixup(fix);
  26352. +#endif
  26353. + tmp = fix->fx_addsy;
  26354. + fix->fx_addsy = fix->fx_subsy;
  26355. + fix->fx_subsy = tmp;
  26356. + fix->fx_offset = -fix->fx_offset;
  26357. + }
  26358. + }
  26359. + }
  26360. +}
  26361. +
  26362. +/* We need to look for SUB5 instructions with expressions that will be
  26363. + made PC-relative and switch fx_addsy with fx_subsy. This has to be
  26364. + done before adjustment or the wrong symbol might be adjusted.
  26365. +
  26366. + This applies to fixups that are a result of expressions like -(sym
  26367. + - .) and that will make it all the way to md_apply_fix3(). LDA
  26368. + does the right thing in convert_frag, so we must not convert
  26369. + those. */
  26370. +void
  26371. +avr32_frob_file(void)
  26372. +{
  26373. + /* if (1 || !linkrelax)
  26374. + return; */
  26375. +
  26376. + bfd_map_over_sections(stdoutput, avr32_frob_section, NULL);
  26377. +}
  26378. +
  26379. +static bfd_boolean
  26380. +convert_to_diff_reloc(fixS *fixP)
  26381. +{
  26382. + switch (fixP->fx_r_type)
  26383. + {
  26384. + case BFD_RELOC_32:
  26385. + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
  26386. + break;
  26387. + case BFD_RELOC_16:
  26388. + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF16;
  26389. + break;
  26390. + case BFD_RELOC_8:
  26391. + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF8;
  26392. + break;
  26393. + default:
  26394. + return FALSE;
  26395. + }
  26396. +
  26397. + return TRUE;
  26398. +}
  26399. +
  26400. +/* Simplify a fixup. If possible, the fixup is reduced to a single
  26401. + constant which is written to the output file. Otherwise, a
  26402. + relocation is generated so that the linker can take care of the
  26403. + rest.
  26404. +
  26405. + ELF relocations have certain constraints: They can only take a
  26406. + single symbol and a single addend. This means that for difference
  26407. + expressions, we _must_ get rid of the fx_subsy symbol somehow.
  26408. +
  26409. + The difference between two labels in the same section can be
  26410. + calculated directly unless 'linkrelax' is set, or a relocation is
  26411. + forced. If so, we must emit a R_AVR32_DIFFxx relocation. If there
  26412. + are addends involved at this point, we must be especially careful
  26413. + as the relocation must point exactly to the symbol being
  26414. + subtracted.
  26415. +
  26416. + When subtracting a symbol defined in the same section as the fixup,
  26417. + we might be able to convert it to a PC-relative expression, unless
  26418. + linkrelax is set. If this is the case, there's no way we can make
  26419. + sure that the difference between the fixup and fx_subsy stays
  26420. + constant. So for now, we're just going to disallow that.
  26421. + */
  26422. +void
  26423. +avr32_process_fixup(fixS *fixP, segT this_segment)
  26424. +{
  26425. + segT add_symbol_segment = absolute_section;
  26426. + segT sub_symbol_segment = absolute_section;
  26427. + symbolS *fx_addsy, *fx_subsy;
  26428. + offsetT value = 0, fx_offset;
  26429. + bfd_boolean apply = FALSE;
  26430. +
  26431. + assert(this_segment != absolute_section);
  26432. +
  26433. + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
  26434. + {
  26435. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26436. + _("Bad relocation type %d\n"), fixP->fx_r_type);
  26437. + return;
  26438. + }
  26439. +
  26440. + /* BFD_RELOC_AVR32_SUB5 fixups have been swapped by avr32_frob_section() */
  26441. + fx_addsy = fixP->fx_addsy;
  26442. + fx_subsy = fixP->fx_subsy;
  26443. + fx_offset = fixP->fx_offset;
  26444. +
  26445. + if (fx_addsy)
  26446. + add_symbol_segment = S_GET_SEGMENT(fx_addsy);
  26447. +
  26448. + if (fx_subsy)
  26449. + {
  26450. + resolve_symbol_value(fx_subsy);
  26451. + sub_symbol_segment = S_GET_SEGMENT(fx_subsy);
  26452. +
  26453. + if (sub_symbol_segment == this_segment
  26454. + && (!linkrelax
  26455. + || S_GET_VALUE(fx_subsy) == (fixP->fx_frag->fr_address
  26456. + + fixP->fx_where)))
  26457. + {
  26458. + fixP->fx_pcrel = TRUE;
  26459. + fx_offset += (fixP->fx_frag->fr_address + fixP->fx_where
  26460. + - S_GET_VALUE(fx_subsy));
  26461. + fx_subsy = NULL;
  26462. + }
  26463. + else if (sub_symbol_segment == absolute_section)
  26464. + {
  26465. + /* The symbol is really a constant. */
  26466. + fx_offset -= S_GET_VALUE(fx_subsy);
  26467. + fx_subsy = NULL;
  26468. + }
  26469. + else if (SEG_NORMAL(add_symbol_segment)
  26470. + && sub_symbol_segment == add_symbol_segment
  26471. + && (!linkrelax || convert_to_diff_reloc(fixP)))
  26472. + {
  26473. + /* Difference between two labels in the same section. */
  26474. + if (linkrelax)
  26475. + {
  26476. + /* convert_to_diff() has ensured that the reloc type is
  26477. + either DIFF32, DIFF16 or DIFF8. */
  26478. + value = (S_GET_VALUE(fx_addsy) + fixP->fx_offset
  26479. + - S_GET_VALUE(fx_subsy));
  26480. +
  26481. + /* Try to convert it to a section symbol if possible */
  26482. + if (!S_FORCE_RELOC(fx_addsy, 1)
  26483. + && !(sub_symbol_segment->flags & SEC_THREAD_LOCAL))
  26484. + {
  26485. + fx_offset = S_GET_VALUE(fx_subsy);
  26486. + fx_addsy = section_symbol(sub_symbol_segment);
  26487. + }
  26488. + else
  26489. + {
  26490. + fx_addsy = fx_subsy;
  26491. + fx_offset = 0;
  26492. + }
  26493. +
  26494. + fx_subsy = NULL;
  26495. + apply = TRUE;
  26496. + }
  26497. + else
  26498. + {
  26499. + fx_offset += S_GET_VALUE(fx_addsy);
  26500. + fx_offset -= S_GET_VALUE(fx_subsy);
  26501. + fx_addsy = NULL;
  26502. + fx_subsy = NULL;
  26503. + }
  26504. + }
  26505. + else
  26506. + {
  26507. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26508. + _("can't resolve `%s' {%s section} - `%s' {%s section}"),
  26509. + fx_addsy ? S_GET_NAME (fx_addsy) : "0",
  26510. + segment_name (add_symbol_segment),
  26511. + S_GET_NAME (fx_subsy),
  26512. + segment_name (sub_symbol_segment));
  26513. + return;
  26514. + }
  26515. + }
  26516. +
  26517. + if (fx_addsy && !TC_FORCE_RELOCATION(fixP))
  26518. + {
  26519. + if (add_symbol_segment == this_segment
  26520. + && fixP->fx_pcrel)
  26521. + {
  26522. + value += S_GET_VALUE(fx_addsy);
  26523. + value -= md_pcrel_from_section(fixP, this_segment);
  26524. + fx_addsy = NULL;
  26525. + fixP->fx_pcrel = FALSE;
  26526. + }
  26527. + else if (add_symbol_segment == absolute_section)
  26528. + {
  26529. + fx_offset += S_GET_VALUE(fixP->fx_addsy);
  26530. + fx_addsy = NULL;
  26531. + }
  26532. + }
  26533. +
  26534. + if (!fx_addsy)
  26535. + fixP->fx_done = TRUE;
  26536. +
  26537. + if (fixP->fx_pcrel)
  26538. + {
  26539. + if (fx_addsy != NULL
  26540. + && S_IS_DEFINED(fx_addsy)
  26541. + && S_GET_SEGMENT(fx_addsy) != this_segment)
  26542. + value += md_pcrel_from_section(fixP, this_segment);
  26543. +
  26544. + switch (fixP->fx_r_type)
  26545. + {
  26546. + case BFD_RELOC_32:
  26547. + fixP->fx_r_type = BFD_RELOC_32_PCREL;
  26548. + break;
  26549. + case BFD_RELOC_16:
  26550. + fixP->fx_r_type = BFD_RELOC_16_PCREL;
  26551. + break;
  26552. + case BFD_RELOC_8:
  26553. + fixP->fx_r_type = BFD_RELOC_8_PCREL;
  26554. + break;
  26555. + case BFD_RELOC_AVR32_SUB5:
  26556. + fixP->fx_r_type = BFD_RELOC_AVR32_16N_PCREL;
  26557. + break;
  26558. + case BFD_RELOC_AVR32_16S:
  26559. + fixP->fx_r_type = BFD_RELOC_AVR32_16B_PCREL;
  26560. + break;
  26561. + case BFD_RELOC_AVR32_14UW:
  26562. + fixP->fx_r_type = BFD_RELOC_AVR32_14UW_PCREL;
  26563. + break;
  26564. + case BFD_RELOC_AVR32_10UW:
  26565. + fixP->fx_r_type = BFD_RELOC_AVR32_10UW_PCREL;
  26566. + break;
  26567. + default:
  26568. + /* Should have been taken care of already */
  26569. + break;
  26570. + }
  26571. + }
  26572. +
  26573. + if (fixP->fx_done || apply)
  26574. + {
  26575. + const struct avr32_ifield *ifield;
  26576. + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
  26577. +
  26578. + if (fixP->fx_done)
  26579. + value += fx_offset;
  26580. +
  26581. + /* For hosts with longs bigger than 32-bits make sure that the top
  26582. + bits of a 32-bit negative value read in by the parser are set,
  26583. + so that the correct comparisons are made. */
  26584. + if (value & 0x80000000)
  26585. + value |= (-1L << 31);
  26586. +
  26587. + switch (fixP->fx_r_type)
  26588. + {
  26589. + case BFD_RELOC_32:
  26590. + case BFD_RELOC_16:
  26591. + case BFD_RELOC_8:
  26592. + case BFD_RELOC_AVR32_DIFF32:
  26593. + case BFD_RELOC_AVR32_DIFF16:
  26594. + case BFD_RELOC_AVR32_DIFF8:
  26595. + md_number_to_chars(buf, value, fixP->fx_size);
  26596. + break;
  26597. + case BFD_RELOC_HI16:
  26598. + value >>= 16;
  26599. + case BFD_RELOC_LO16:
  26600. + value &= 0xffff;
  26601. + md_number_to_chars(buf + 2, value, 2);
  26602. + break;
  26603. + case BFD_RELOC_AVR32_16N_PCREL:
  26604. + value = -value;
  26605. + /* fall through */
  26606. + case BFD_RELOC_AVR32_22H_PCREL:
  26607. + case BFD_RELOC_AVR32_18W_PCREL:
  26608. + case BFD_RELOC_AVR32_16B_PCREL:
  26609. + case BFD_RELOC_AVR32_11H_PCREL:
  26610. + case BFD_RELOC_AVR32_9H_PCREL:
  26611. + case BFD_RELOC_AVR32_9UW_PCREL:
  26612. + case BFD_RELOC_AVR32_3U:
  26613. + case BFD_RELOC_AVR32_4UH:
  26614. + case BFD_RELOC_AVR32_6UW:
  26615. + case BFD_RELOC_AVR32_6S:
  26616. + case BFD_RELOC_AVR32_7UW:
  26617. + case BFD_RELOC_AVR32_8S_EXT:
  26618. + case BFD_RELOC_AVR32_8S:
  26619. + case BFD_RELOC_AVR32_10UW:
  26620. + case BFD_RELOC_AVR32_10SW:
  26621. + case BFD_RELOC_AVR32_STHH_W:
  26622. + case BFD_RELOC_AVR32_14UW:
  26623. + case BFD_RELOC_AVR32_16S:
  26624. + case BFD_RELOC_AVR32_16U:
  26625. + case BFD_RELOC_AVR32_21S:
  26626. + case BFD_RELOC_AVR32_SUB5:
  26627. + case BFD_RELOC_AVR32_CPCALL:
  26628. + case BFD_RELOC_AVR32_16_CP:
  26629. + case BFD_RELOC_AVR32_9W_CP:
  26630. + case BFD_RELOC_AVR32_15S:
  26631. + ifield = fixP->tc_fix_data.ifield;
  26632. + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
  26633. + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
  26634. + fixP->tc_fix_data.align);
  26635. + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
  26636. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26637. + _("operand out of range (%ld not between %ld and %ld)"),
  26638. + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
  26639. + if (value & ((1 << fixP->tc_fix_data.align) - 1))
  26640. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26641. + _("misaligned operand (required alignment: %d)"),
  26642. + 1 << fixP->tc_fix_data.align);
  26643. + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
  26644. + break;
  26645. + case BFD_RELOC_AVR32_ALIGN:
  26646. + /* Nothing to do */
  26647. + fixP->fx_done = FALSE;
  26648. + break;
  26649. + default:
  26650. + as_fatal("reloc type %s not handled\n",
  26651. + bfd_get_reloc_code_name(fixP->fx_r_type));
  26652. + }
  26653. + }
  26654. +
  26655. + fixP->fx_addsy = fx_addsy;
  26656. + fixP->fx_subsy = fx_subsy;
  26657. + fixP->fx_offset = fx_offset;
  26658. +
  26659. + if (!fixP->fx_done)
  26660. + {
  26661. + if (!fixP->fx_addsy)
  26662. + fixP->fx_addsy = abs_section_sym;
  26663. +
  26664. + symbol_mark_used_in_reloc(fixP->fx_addsy);
  26665. + if (fixP->fx_subsy)
  26666. + abort();
  26667. + }
  26668. +}
  26669. +
  26670. +#if 0
  26671. +void
  26672. +md_apply_fix3 (fixS *fixP, valueT *valP, segT seg)
  26673. +{
  26674. + const struct avr32_ifield *ifield;
  26675. + offsetT value = *valP;
  26676. + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
  26677. + bfd_boolean apply;
  26678. +
  26679. + pr_debug("%s:%u: apply_fix3: r_type=%d value=%lx offset=%lx\n",
  26680. + fixP->fx_file, fixP->fx_line, fixP->fx_r_type, *valP,
  26681. + fixP->fx_offset);
  26682. +
  26683. + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
  26684. + {
  26685. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26686. + _("Bad relocation type %d\n"), fixP->fx_r_type);
  26687. + return;
  26688. + }
  26689. +
  26690. + if (!fixP->fx_addsy && !fixP->fx_subsy)
  26691. + fixP->fx_done = 1;
  26692. +
  26693. + if (fixP->fx_pcrel)
  26694. + {
  26695. + if (fixP->fx_addsy != NULL
  26696. + && S_IS_DEFINED(fixP->fx_addsy)
  26697. + && S_GET_SEGMENT(fixP->fx_addsy) != seg)
  26698. + value += md_pcrel_from_section(fixP, seg);
  26699. +
  26700. + switch (fixP->fx_r_type)
  26701. + {
  26702. + case BFD_RELOC_32:
  26703. + fixP->fx_r_type = BFD_RELOC_32_PCREL;
  26704. + break;
  26705. + case BFD_RELOC_16:
  26706. + case BFD_RELOC_8:
  26707. + as_bad_where (fixP->fx_file, fixP->fx_line,
  26708. + _("8- and 16-bit PC-relative relocations not supported"));
  26709. + break;
  26710. + case BFD_RELOC_AVR32_SUB5:
  26711. + fixP->fx_r_type = BFD_RELOC_AVR32_PCREL_SUB5;
  26712. + break;
  26713. + case BFD_RELOC_AVR32_16S:
  26714. + fixP->fx_r_type = BFD_RELOC_AVR32_16_PCREL;
  26715. + break;
  26716. + default:
  26717. + /* Should have been taken care of already */
  26718. + break;
  26719. + }
  26720. + }
  26721. +
  26722. + if (fixP->fx_r_type == BFD_RELOC_32
  26723. + && fixP->fx_subsy)
  26724. + {
  26725. + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
  26726. +
  26727. + /* Offsets are only allowed if it's a result of adjusting a
  26728. + local symbol into a section-relative offset.
  26729. + tc_fix_adjustable() should prevent any adjustment if there
  26730. + was an offset involved before. */
  26731. + if (fixP->fx_offset && !symbol_section_p(fixP->fx_addsy))
  26732. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26733. + _("cannot represent symbol difference with an offset"));
  26734. +
  26735. + value = (S_GET_VALUE(fixP->fx_addsy) + fixP->fx_offset
  26736. + - S_GET_VALUE(fixP->fx_subsy));
  26737. +
  26738. + /* The difference before any relaxing takes place is written
  26739. + out, and the DIFF32 reloc identifies the address of the first
  26740. + symbol (i.e. the on that's subtracted.) */
  26741. + *valP = value;
  26742. + fixP->fx_offset -= value;
  26743. + fixP->fx_subsy = NULL;
  26744. +
  26745. + md_number_to_chars(buf, value, fixP->fx_size);
  26746. + }
  26747. +
  26748. + if (fixP->fx_done)
  26749. + {
  26750. + switch (fixP->fx_r_type)
  26751. + {
  26752. + case BFD_RELOC_8:
  26753. + case BFD_RELOC_16:
  26754. + case BFD_RELOC_32:
  26755. + md_number_to_chars(buf, value, fixP->fx_size);
  26756. + break;
  26757. + case BFD_RELOC_HI16:
  26758. + value >>= 16;
  26759. + case BFD_RELOC_LO16:
  26760. + value &= 0xffff;
  26761. + *valP = value;
  26762. + md_number_to_chars(buf + 2, value, 2);
  26763. + break;
  26764. + case BFD_RELOC_AVR32_PCREL_SUB5:
  26765. + value = -value;
  26766. + /* fall through */
  26767. + case BFD_RELOC_AVR32_9_PCREL:
  26768. + case BFD_RELOC_AVR32_11_PCREL:
  26769. + case BFD_RELOC_AVR32_16_PCREL:
  26770. + case BFD_RELOC_AVR32_18_PCREL:
  26771. + case BFD_RELOC_AVR32_22_PCREL:
  26772. + case BFD_RELOC_AVR32_3U:
  26773. + case BFD_RELOC_AVR32_4UH:
  26774. + case BFD_RELOC_AVR32_6UW:
  26775. + case BFD_RELOC_AVR32_6S:
  26776. + case BFD_RELOC_AVR32_7UW:
  26777. + case BFD_RELOC_AVR32_8S:
  26778. + case BFD_RELOC_AVR32_10UW:
  26779. + case BFD_RELOC_AVR32_10SW:
  26780. + case BFD_RELOC_AVR32_14UW:
  26781. + case BFD_RELOC_AVR32_16S:
  26782. + case BFD_RELOC_AVR32_16U:
  26783. + case BFD_RELOC_AVR32_21S:
  26784. + case BFD_RELOC_AVR32_BRC1:
  26785. + case BFD_RELOC_AVR32_SUB5:
  26786. + case BFD_RELOC_AVR32_CPCALL:
  26787. + case BFD_RELOC_AVR32_16_CP:
  26788. + case BFD_RELOC_AVR32_9_CP:
  26789. + case BFD_RELOC_AVR32_15S:
  26790. + ifield = fixP->tc_fix_data.ifield;
  26791. + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
  26792. + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
  26793. + fixP->tc_fix_data.align);
  26794. + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
  26795. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26796. + _("operand out of range (%ld not between %ld and %ld)"),
  26797. + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
  26798. + if (value & ((1 << fixP->tc_fix_data.align) - 1))
  26799. + as_bad_where(fixP->fx_file, fixP->fx_line,
  26800. + _("misaligned operand (required alignment: %d)"),
  26801. + 1 << fixP->tc_fix_data.align);
  26802. + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
  26803. + break;
  26804. + case BFD_RELOC_AVR32_ALIGN:
  26805. + /* Nothing to do */
  26806. + fixP->fx_done = FALSE;
  26807. + break;
  26808. + default:
  26809. + as_fatal("reloc type %s not handled\n",
  26810. + bfd_get_reloc_code_name(fixP->fx_r_type));
  26811. + }
  26812. + }
  26813. +}
  26814. +#endif
  26815. +
  26816. +arelent *
  26817. +tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
  26818. + fixS *fixp)
  26819. +{
  26820. + arelent *reloc;
  26821. + bfd_reloc_code_real_type code;
  26822. +
  26823. + reloc = xmalloc (sizeof (arelent));
  26824. +
  26825. + reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
  26826. + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
  26827. + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
  26828. + reloc->addend = fixp->fx_offset;
  26829. + code = fixp->fx_r_type;
  26830. +
  26831. + reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
  26832. +
  26833. + if (reloc->howto == NULL)
  26834. + {
  26835. + as_bad_where (fixp->fx_file, fixp->fx_line,
  26836. + _("cannot represent relocation %s in this object file format"),
  26837. + bfd_get_reloc_code_name (code));
  26838. + return NULL;
  26839. + }
  26840. +
  26841. + return reloc;
  26842. +}
  26843. +
  26844. +bfd_boolean
  26845. +avr32_force_reloc(fixS *fixP)
  26846. +{
  26847. + if (linkrelax && fixP->fx_addsy
  26848. + && !(S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_DEBUGGING)
  26849. + && S_GET_SEGMENT(fixP->fx_addsy) != absolute_section)
  26850. + {
  26851. + pr_debug(stderr, "force reloc: addsy=%p, r_type=%d, sec=%s\n",
  26852. + fixP->fx_addsy, fixP->fx_r_type, S_GET_SEGMENT(fixP->fx_addsy)->name);
  26853. + return 1;
  26854. + }
  26855. +
  26856. + return generic_force_reloc(fixP);
  26857. +}
  26858. +
  26859. +bfd_boolean
  26860. +avr32_fix_adjustable(fixS *fixP)
  26861. +{
  26862. + switch (fixP->fx_r_type)
  26863. + {
  26864. + /* GOT relocations can't have addends since BFD treats all
  26865. + references to a given symbol the same. This means that we
  26866. + must avoid section-relative references to local symbols when
  26867. + dealing with these kinds of relocs */
  26868. + case BFD_RELOC_AVR32_GOT32:
  26869. + case BFD_RELOC_AVR32_GOT16:
  26870. + case BFD_RELOC_AVR32_GOT8:
  26871. + case BFD_RELOC_AVR32_GOT21S:
  26872. + case BFD_RELOC_AVR32_GOT18SW:
  26873. + case BFD_RELOC_AVR32_GOT16S:
  26874. + case BFD_RELOC_AVR32_LDA_GOT:
  26875. + case BFD_RELOC_AVR32_GOTCALL:
  26876. + pr_debug("fix not adjustable\n");
  26877. + return 0;
  26878. +
  26879. + default:
  26880. + break;
  26881. + }
  26882. +
  26883. + return 1;
  26884. +}
  26885. +
  26886. +/* When we want the linker to be able to relax the code, we need to
  26887. + output a reloc for every .align directive requesting an alignment
  26888. + to a four byte boundary or larger. If we don't do this, the linker
  26889. + can't guarantee that the alignment is actually maintained in the
  26890. + linker output.
  26891. +
  26892. + TODO: Might as well insert proper NOPs while we're at it... */
  26893. +void
  26894. +avr32_handle_align(fragS *frag)
  26895. +{
  26896. + if (linkrelax
  26897. + && frag->fr_type == rs_align_code
  26898. + && frag->fr_address + frag->fr_fix > 0
  26899. + && frag->fr_offset > 0)
  26900. + {
  26901. + /* The alignment order (fr_offset) is stored in the addend. */
  26902. + fix_new(frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset,
  26903. + FALSE, BFD_RELOC_AVR32_ALIGN);
  26904. + }
  26905. +}
  26906. +
  26907. +/* Relax_align. Advance location counter to next address that has 'alignment'
  26908. + lowest order bits all 0s, return size of adjustment made. */
  26909. +relax_addressT
  26910. +avr32_relax_align(segT segment ATTRIBUTE_UNUSED,
  26911. + fragS *fragP,
  26912. + relax_addressT address)
  26913. +{
  26914. + relax_addressT mask;
  26915. + relax_addressT new_address;
  26916. + int alignment;
  26917. +
  26918. + alignment = fragP->fr_offset;
  26919. + mask = ~((~0) << alignment);
  26920. + new_address = (address + mask) & (~mask);
  26921. +
  26922. + return new_address - address;
  26923. +}
  26924. +
  26925. +/* Turn a string in input_line_pointer into a floating point constant
  26926. + of type type, and store the appropriate bytes in *litP. The number
  26927. + of LITTLENUMS emitted is stored in *sizeP . An error message is
  26928. + returned, or NULL on OK. */
  26929. +
  26930. +/* Equal to MAX_PRECISION in atof-ieee.c */
  26931. +#define MAX_LITTLENUMS 6
  26932. +
  26933. +char *
  26934. +md_atof (type, litP, sizeP)
  26935. +char type;
  26936. +char * litP;
  26937. +int * sizeP;
  26938. +{
  26939. + int i;
  26940. + int prec;
  26941. + LITTLENUM_TYPE words [MAX_LITTLENUMS];
  26942. + char * t;
  26943. +
  26944. + switch (type)
  26945. + {
  26946. + case 'f':
  26947. + case 'F':
  26948. + case 's':
  26949. + case 'S':
  26950. + prec = 2;
  26951. + break;
  26952. +
  26953. + case 'd':
  26954. + case 'D':
  26955. + case 'r':
  26956. + case 'R':
  26957. + prec = 4;
  26958. + break;
  26959. +
  26960. + /* FIXME: Some targets allow other format chars for bigger sizes here. */
  26961. +
  26962. + default:
  26963. + * sizeP = 0;
  26964. + return _("Bad call to md_atof()");
  26965. + }
  26966. +
  26967. + t = atof_ieee (input_line_pointer, type, words);
  26968. + if (t)
  26969. + input_line_pointer = t;
  26970. + * sizeP = prec * sizeof (LITTLENUM_TYPE);
  26971. +
  26972. + for (i = 0; i < prec; i++)
  26973. + {
  26974. + md_number_to_chars (litP, (valueT) words[i],
  26975. + sizeof (LITTLENUM_TYPE));
  26976. + litP += sizeof (LITTLENUM_TYPE);
  26977. + }
  26978. +
  26979. + return 0;
  26980. +}
  26981. +
  26982. +static char *avr32_end_of_match(char *cont, char *what)
  26983. +{
  26984. + int len = strlen (what);
  26985. +
  26986. + if (! is_part_of_name (cont[len])
  26987. + && strncasecmp (cont, what, len) == 0)
  26988. + return cont + len;
  26989. +
  26990. + return NULL;
  26991. +}
  26992. +
  26993. +int
  26994. +avr32_parse_name (char const *name, expressionS *exp, char *nextchar)
  26995. +{
  26996. + char *next = input_line_pointer;
  26997. + char *next_end;
  26998. +
  26999. + pr_debug("parse_name: %s, nextchar=%c (%02x)\n", name, *nextchar, *nextchar);
  27000. +
  27001. + if (*nextchar == '(')
  27002. + {
  27003. + if (strcasecmp(name, "hi") == 0)
  27004. + {
  27005. + *next = *nextchar;
  27006. +
  27007. + expression(exp);
  27008. +
  27009. + if (exp->X_op == O_constant)
  27010. + {
  27011. + pr_debug(" -> constant hi(0x%08lx) -> 0x%04lx\n",
  27012. + exp->X_add_number, exp->X_add_number >> 16);
  27013. + exp->X_add_number = (exp->X_add_number >> 16) & 0xffff;
  27014. + }
  27015. + else
  27016. + {
  27017. + exp->X_md = exp->X_op;
  27018. + exp->X_op = O_hi;
  27019. + }
  27020. +
  27021. + return 1;
  27022. + }
  27023. + else if (strcasecmp(name, "lo") == 0)
  27024. + {
  27025. + *next = *nextchar;
  27026. +
  27027. + expression(exp);
  27028. +
  27029. + if (exp->X_op == O_constant)
  27030. + exp->X_add_number &= 0xffff;
  27031. + else
  27032. + {
  27033. + exp->X_md = exp->X_op;
  27034. + exp->X_op = O_lo;
  27035. + }
  27036. +
  27037. + return 1;
  27038. + }
  27039. + }
  27040. + else if (*nextchar == '@')
  27041. + {
  27042. + exp->X_md = exp->X_op;
  27043. +
  27044. + if ((next_end = avr32_end_of_match (next + 1, "got")))
  27045. + exp->X_op = O_got;
  27046. + else if ((next_end = avr32_end_of_match (next + 1, "tlsgd")))
  27047. + exp->X_op = O_tlsgd;
  27048. + /* Add more as needed */
  27049. + else
  27050. + {
  27051. + char c;
  27052. + input_line_pointer++;
  27053. + c = get_symbol_end();
  27054. + as_bad (_("unknown relocation override `%s'"), next + 1);
  27055. + *input_line_pointer = c;
  27056. + input_line_pointer = next;
  27057. + return 0;
  27058. + }
  27059. +
  27060. + exp->X_op_symbol = NULL;
  27061. + exp->X_add_symbol = symbol_find_or_make (name);
  27062. + exp->X_add_number = 0;
  27063. +
  27064. + *input_line_pointer = *nextchar;
  27065. + input_line_pointer = next_end;
  27066. + *nextchar = *input_line_pointer;
  27067. + *input_line_pointer = '\0';
  27068. + return 1;
  27069. + }
  27070. + else if (strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0)
  27071. + {
  27072. + if (!GOT_symbol)
  27073. + GOT_symbol = symbol_find_or_make(name);
  27074. +
  27075. + exp->X_add_symbol = GOT_symbol;
  27076. + exp->X_op = O_symbol;
  27077. + exp->X_add_number = 0;
  27078. + return 1;
  27079. + }
  27080. +
  27081. + return 0;
  27082. +}
  27083. +
  27084. +static void
  27085. +s_rseg (int value ATTRIBUTE_UNUSED)
  27086. +{
  27087. + /* Syntax: RSEG segment_name [:type] [NOROOT|ROOT] [(align)]
  27088. + * Defaults:
  27089. + * - type: undocumented ("typically CODE or DATA")
  27090. + * - ROOT
  27091. + * - align: 1 for code, 0 for others
  27092. + *
  27093. + * TODO: NOROOT is ignored. If gas supports discardable segments, it should
  27094. + * be implemented.
  27095. + */
  27096. + char *name, *end;
  27097. + int length, type, attr;
  27098. + int align = 0;
  27099. +
  27100. + SKIP_WHITESPACE();
  27101. +
  27102. + end = input_line_pointer;
  27103. + while (0 == strchr ("\n\t;:( ", *end))
  27104. + end++;
  27105. + if (end == input_line_pointer)
  27106. + {
  27107. + as_warn (_("missing name"));
  27108. + ignore_rest_of_line();
  27109. + return;
  27110. + }
  27111. +
  27112. + name = xmalloc (end - input_line_pointer + 1);
  27113. + memcpy (name, input_line_pointer, end - input_line_pointer);
  27114. + name[end - input_line_pointer] = '\0';
  27115. + input_line_pointer = end;
  27116. +
  27117. + SKIP_WHITESPACE();
  27118. +
  27119. + type = SHT_NULL;
  27120. + attr = 0;
  27121. +
  27122. + if (*input_line_pointer == ':')
  27123. + {
  27124. + /* Skip the colon */
  27125. + ++input_line_pointer;
  27126. + SKIP_WHITESPACE();
  27127. +
  27128. + /* Possible options at this point:
  27129. + * - flag (ROOT or NOROOT)
  27130. + * - a segment type
  27131. + */
  27132. + end = input_line_pointer;
  27133. + while (0 == strchr ("\n\t;:( ", *end))
  27134. + end++;
  27135. + length = end - input_line_pointer;
  27136. + if (((length == 4) && (0 == strncasecmp( input_line_pointer, "ROOT", 4))) ||
  27137. + ((length == 6) && (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
  27138. + {
  27139. + /* Ignore ROOT/NOROOT */
  27140. + input_line_pointer = end;
  27141. + }
  27142. + else
  27143. + {
  27144. + /* Must be a segment type */
  27145. + switch (*input_line_pointer)
  27146. + {
  27147. + case 'C':
  27148. + case 'c':
  27149. + if ((length == 4) &&
  27150. + (0 == strncasecmp (input_line_pointer, "CODE", 4)))
  27151. + {
  27152. + attr |= SHF_ALLOC | SHF_EXECINSTR;
  27153. + type = SHT_PROGBITS;
  27154. + align = 1;
  27155. + break;
  27156. + }
  27157. + if ((length == 5) &&
  27158. + (0 == strncasecmp (input_line_pointer, "CONST", 5)))
  27159. + {
  27160. + attr |= SHF_ALLOC;
  27161. + type = SHT_PROGBITS;
  27162. + break;
  27163. + }
  27164. + goto de_fault;
  27165. +
  27166. + case 'D':
  27167. + case 'd':
  27168. + if ((length == 4) &&
  27169. + (0 == strncasecmp (input_line_pointer, "DATA", 4)))
  27170. + {
  27171. + attr |= SHF_ALLOC | SHF_WRITE;
  27172. + type = SHT_PROGBITS;
  27173. + break;
  27174. + }
  27175. + goto de_fault;
  27176. +
  27177. + /* TODO: Add FAR*, HUGE*, IDATA and NEAR* if necessary */
  27178. +
  27179. + case 'U':
  27180. + case 'u':
  27181. + if ((length == 7) &&
  27182. + (0 == strncasecmp (input_line_pointer, "UNTYPED", 7)))
  27183. + break;
  27184. + goto de_fault;
  27185. +
  27186. + /* TODO: Add XDATA and ZPAGE if necessary */
  27187. +
  27188. + de_fault:
  27189. + default:
  27190. + as_warn (_("unrecognized segment type"));
  27191. + }
  27192. +
  27193. + input_line_pointer = end;
  27194. + SKIP_WHITESPACE();
  27195. +
  27196. + if (*input_line_pointer == ':')
  27197. + {
  27198. + /* ROOT/NOROOT */
  27199. + ++input_line_pointer;
  27200. + SKIP_WHITESPACE();
  27201. +
  27202. + end = input_line_pointer;
  27203. + while (0 == strchr ("\n\t;:( ", *end))
  27204. + end++;
  27205. + length = end - input_line_pointer;
  27206. + if (! ((length == 4) &&
  27207. + (0 == strncasecmp( input_line_pointer, "ROOT", 4))) &&
  27208. + ! ((length == 6) &&
  27209. + (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
  27210. + {
  27211. + as_warn (_("unrecognized segment flag"));
  27212. + }
  27213. +
  27214. + input_line_pointer = end;
  27215. + SKIP_WHITESPACE();
  27216. + }
  27217. + }
  27218. + }
  27219. +
  27220. + if (*input_line_pointer == '(')
  27221. + {
  27222. + align = get_absolute_expression ();
  27223. + }
  27224. +
  27225. + demand_empty_rest_of_line();
  27226. +
  27227. + obj_elf_change_section (name, type, attr, 0, NULL, 0, 0);
  27228. +#ifdef AVR32_DEBUG
  27229. + fprintf( stderr, "RSEG: Changed section to %s, type: 0x%x, attr: 0x%x\n",
  27230. + name, type, attr );
  27231. + fprintf( stderr, "RSEG: Aligning to 2**%d\n", align );
  27232. +#endif
  27233. +
  27234. + if (align > 15)
  27235. + {
  27236. + align = 15;
  27237. + as_warn (_("alignment too large: %u assumed"), align);
  27238. + }
  27239. +
  27240. + /* Hope not, that is */
  27241. + assert (now_seg != absolute_section);
  27242. +
  27243. + /* Only make a frag if we HAVE to... */
  27244. + if (align != 0 && !need_pass_2)
  27245. + {
  27246. + if (subseg_text_p (now_seg))
  27247. + frag_align_code (align, 0);
  27248. + else
  27249. + frag_align (align, 0, 0);
  27250. + }
  27251. +
  27252. + record_alignment (now_seg, align - OCTETS_PER_BYTE_POWER);
  27253. +}
  27254. +
  27255. +/* vim: syntax=c sw=2
  27256. + */
  27257. diff -Nur binutils-2.21.orig/gas/config/tc-avr32.h binutils-2.21/gas/config/tc-avr32.h
  27258. --- binutils-2.21.orig/gas/config/tc-avr32.h 1970-01-01 01:00:00.000000000 +0100
  27259. +++ binutils-2.21/gas/config/tc-avr32.h 2011-08-28 14:56:19.987978545 +0200
  27260. @@ -0,0 +1,325 @@
  27261. +/* Assembler definitions for AVR32.
  27262. + Copyright 2003,2004,2005,2006,2007,2008,2009 Atmel Corporation.
  27263. +
  27264. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  27265. +
  27266. + This file is part of GAS, the GNU Assembler.
  27267. +
  27268. + GAS is free software; you can redistribute it and/or modify it
  27269. + under the terms of the GNU General Public License as published by
  27270. + the Free Software Foundation; either version 2, or (at your option)
  27271. + any later version.
  27272. +
  27273. + GAS is distributed in the hope that it will be useful, but WITHOUT
  27274. + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  27275. + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  27276. + License for more details.
  27277. +
  27278. + You should have received a copy of the GNU General Public License
  27279. + along with GAS; see the file COPYING. If not, write to the Free
  27280. + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  27281. + 02111-1307, USA. */
  27282. +
  27283. +#if 0
  27284. +#define DEBUG
  27285. +#define DEBUG1
  27286. +#define DEBUG2
  27287. +#define DEBUG3
  27288. +#define DEBUG4
  27289. +#define DEBUG5
  27290. +#endif
  27291. +
  27292. +/* Are we trying to be compatible with the IAR assembler? (--iar) */
  27293. +extern int avr32_iarcompat;
  27294. +
  27295. +/* By convention, you should define this macro in the `.h' file. For
  27296. + example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
  27297. + if it is necessary to add CPU specific code to the object format
  27298. + file. */
  27299. +#define TC_AVR32
  27300. +
  27301. +/* This macro is the BFD target name to use when creating the output
  27302. + file. This will normally depend upon the `OBJ_FMT' macro. */
  27303. +#define TARGET_FORMAT "elf32-avr32"
  27304. +
  27305. +/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
  27306. +#define TARGET_ARCH bfd_arch_avr32
  27307. +
  27308. +/* This macro is the BFD machine number to pass to
  27309. + `bfd_set_arch_mach'. If it is not defined, GAS will use 0. */
  27310. +#define TARGET_MACH 0
  27311. +
  27312. +/* UNDOCUMENTED: Allow //-style comments */
  27313. +#define DOUBLESLASH_LINE_COMMENTS
  27314. +
  27315. +/* You should define this macro to be non-zero if the target is big
  27316. + endian, and zero if the target is little endian. */
  27317. +#define TARGET_BYTES_BIG_ENDIAN 1
  27318. +
  27319. +/* FIXME: It seems that GAS only expects a one-byte opcode...
  27320. + #define NOP_OPCODE 0xd703 */
  27321. +
  27322. +/* If you define this macro, GAS will warn about the use of
  27323. + nonstandard escape sequences in a string. */
  27324. +#undef ONLY_STANDARD_ESCAPES
  27325. +
  27326. +#define DWARF2_FORMAT(SEC) dwarf2_format_32bit
  27327. +
  27328. +/* Instructions are either 2 or 4 bytes long */
  27329. +/* #define DWARF2_LINE_MIN_INSN_LENGTH 2 */
  27330. +
  27331. +/* GAS will call this function for any expression that can not be
  27332. + recognized. When the function is called, `input_line_pointer'
  27333. + will point to the start of the expression. */
  27334. +#define md_operand(x)
  27335. +
  27336. +#define md_parse_name(name, expr, mode, c) avr32_parse_name(name, expr, c)
  27337. +extern int avr32_parse_name(const char *, struct expressionS *, char *);
  27338. +
  27339. +/* You may define this macro to generate a fixup for a data
  27340. + allocation pseudo-op. */
  27341. +#define TC_CONS_FIX_NEW(FRAG, OFF, LEN, EXP) \
  27342. + avr32_cons_fix_new(FRAG, OFF, LEN, EXP)
  27343. +void avr32_cons_fix_new (fragS *, int, int, expressionS *);
  27344. +
  27345. +/* `extsym - .' expressions can be emitted using PC-relative relocs */
  27346. +#define DIFF_EXPR_OK
  27347. +
  27348. +/* This is used to construct expressions out of @gotoff, etc. The
  27349. + relocation type is stored in X_md */
  27350. +#define O_got O_md1
  27351. +#define O_hi O_md2
  27352. +#define O_lo O_md3
  27353. +#define O_tlsgd O_md4
  27354. +
  27355. +/* You may define this macro to parse an expression used in a data
  27356. + allocation pseudo-op such as `.word'. You can use this to
  27357. + recognize relocation directives that may appear in such directives. */
  27358. +/* #define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
  27359. + void avr_parse_cons_expression (expressionS *exp, int nbytes); */
  27360. +
  27361. +/* This should just call either `number_to_chars_bigendian' or
  27362. + `number_to_chars_littleendian', whichever is appropriate. On
  27363. + targets like the MIPS which support options to change the
  27364. + endianness, which function to call is a runtime decision. On
  27365. + other targets, `md_number_to_chars' can be a simple macro. */
  27366. +#define md_number_to_chars number_to_chars_bigendian
  27367. +
  27368. +/* `md_short_jump_size'
  27369. + `md_long_jump_size'
  27370. + `md_create_short_jump'
  27371. + `md_create_long_jump'
  27372. + If `WORKING_DOT_WORD' is defined, GAS will not do broken word
  27373. + processing (*note Broken words::.). Otherwise, you should set
  27374. + `md_short_jump_size' to the size of a short jump (a jump that is
  27375. + just long enough to jump around a long jmp) and
  27376. + `md_long_jump_size' to the size of a long jump (a jump that can go
  27377. + anywhere in the function), You should define
  27378. + `md_create_short_jump' to create a short jump around a long jump,
  27379. + and define `md_create_long_jump' to create a long jump. */
  27380. +#define WORKING_DOT_WORD
  27381. +
  27382. +/* If you define this macro, it means that `tc_gen_reloc' may return
  27383. + multiple relocation entries for a single fixup. In this case, the
  27384. + return value of `tc_gen_reloc' is a pointer to a null terminated
  27385. + array. */
  27386. +#undef RELOC_EXPANSION_POSSIBLE
  27387. +
  27388. +/* If you define this macro, GAS will not require pseudo-ops to start with a .
  27389. + character. */
  27390. +#define NO_PSEUDO_DOT (avr32_iarcompat)
  27391. +
  27392. +/* The IAR assembler uses $ as the location counter. Unfortunately, we
  27393. + can't make this dependent on avr32_iarcompat... */
  27394. +#define DOLLAR_DOT
  27395. +
  27396. +/* Values passed to md_apply_fix3 don't include the symbol value. */
  27397. +#define MD_APPLY_SYM_VALUE(FIX) 0
  27398. +
  27399. +/* The number of bytes to put into a word in a listing. This affects
  27400. + the way the bytes are clumped together in the listing. For
  27401. + example, a value of 2 might print `1234 5678' where a value of 1
  27402. + would print `12 34 56 78'. The default value is 4. */
  27403. +#define LISTING_WORD_SIZE 4
  27404. +
  27405. +/* extern const struct relax_type md_relax_table[];
  27406. +#define TC_GENERIC_RELAX_TABLE md_relax_table */
  27407. +
  27408. +/*
  27409. + An `.lcomm' directive with no explicit alignment parameter will use
  27410. + this macro to set P2VAR to the alignment that a request for SIZE
  27411. + bytes will have. The alignment is expressed as a power of two. If
  27412. + no alignment should take place, the macro definition should do
  27413. + nothing. Some targets define a `.bss' directive that is also
  27414. + affected by this macro. The default definition will set P2VAR to
  27415. + the truncated power of two of sizes up to eight bytes.
  27416. +
  27417. + We want doublewords to be word-aligned, so we're going to modify the
  27418. + default definition a tiny bit.
  27419. +*/
  27420. +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) \
  27421. + do \
  27422. + { \
  27423. + if ((SIZE) >= 4) \
  27424. + (P2VAR) = 2; \
  27425. + else if ((SIZE) >= 2) \
  27426. + (P2VAR) = 1; \
  27427. + else \
  27428. + (P2VAR) = 0; \
  27429. + } \
  27430. + while (0)
  27431. +
  27432. +/* When relaxing, we need to generate relocations for alignment
  27433. + directives. */
  27434. +#define HANDLE_ALIGN(frag) avr32_handle_align(frag)
  27435. +extern void avr32_handle_align(fragS *);
  27436. +
  27437. +/* See internals doc for explanation. Oh wait...
  27438. + Now, can you guess where "alignment" comes from? ;-) */
  27439. +#define MAX_MEM_FOR_RS_ALIGN_CODE ((1 << alignment) - 1)
  27440. +
  27441. +/* We need to stop gas from reducing certain expressions (e.g. GOT
  27442. + references) */
  27443. +#define tc_fix_adjustable(fix) avr32_fix_adjustable(fix)
  27444. +extern bfd_boolean avr32_fix_adjustable(struct fix *);
  27445. +
  27446. +/* The linker needs to be passed a little more information when relaxing. */
  27447. +#define TC_FORCE_RELOCATION(fix) avr32_force_reloc(fix)
  27448. +extern bfd_boolean avr32_force_reloc(struct fix *);
  27449. +
  27450. +/* I'm tired of working around all the madness in fixup_segment().
  27451. + This hook will do basically the same things as the generic code,
  27452. + and then it will "goto" right past it. */
  27453. +#define TC_VALIDATE_FIX(FIX, SEG, SKIP) \
  27454. + do \
  27455. + { \
  27456. + avr32_process_fixup(FIX, SEG); \
  27457. + if (!(FIX)->fx_done) \
  27458. + ++seg_reloc_count; \
  27459. + goto SKIP; \
  27460. + } \
  27461. + while (0)
  27462. +extern void avr32_process_fixup(struct fix *fixP, segT this_segment);
  27463. +
  27464. +/* Positive values of TC_FX_SIZE_SLACK allow a target to define
  27465. + fixups that far past the end of a frag. Having such fixups
  27466. + is of course most most likely a bug in setting fx_size correctly.
  27467. + A negative value disables the fixup check entirely, which is
  27468. + appropriate for something like the Renesas / SuperH SH_COUNT
  27469. + reloc. */
  27470. +/* This target is buggy, and sets fix size too large. */
  27471. +#define TC_FX_SIZE_SLACK(FIX) -1
  27472. +
  27473. +/* We don't want the gas core to make any assumptions about our way of
  27474. + doing linkrelaxing. */
  27475. +#define TC_LINKRELAX_FIXUP(SEG) 0
  27476. +
  27477. +/* ... but we do want it to insert lots of padding. */
  27478. +#define LINKER_RELAXING_SHRINKS_ONLY
  27479. +
  27480. +/* Better do it ourselves, really... */
  27481. +#define TC_RELAX_ALIGN(SEG, FRAG, ADDR) avr32_relax_align(SEG, FRAG, ADDR)
  27482. +extern relax_addressT
  27483. +avr32_relax_align(segT segment, fragS *fragP, relax_addressT address);
  27484. +
  27485. +/* Use line number format that is amenable to linker relaxation. */
  27486. +#define DWARF2_USE_FIXED_ADVANCE_PC (linkrelax != 0)
  27487. +
  27488. +/* This is called by write_object_file() just before symbols are
  27489. + attempted converted into section symbols. */
  27490. +#define tc_frob_file_before_adjust() avr32_frob_file()
  27491. +extern void avr32_frob_file(void);
  27492. +
  27493. +/* If you define this macro, GAS will call it at the end of each input
  27494. + file. */
  27495. +#define md_cleanup() avr32_cleanup()
  27496. +extern void avr32_cleanup(void);
  27497. +
  27498. +/* There's an AVR32-specific hack in operand() which creates O_md
  27499. + expressions when encountering HWRD or LWRD. We need to generate
  27500. + proper relocs for them */
  27501. +/* #define md_cgen_record_fixup_exp avr32_cgen_record_fixup_exp */
  27502. +
  27503. +/* I needed to add an extra hook in gas_cgen_finish_insn() for
  27504. + conversion of O_md* operands because md_cgen_record_fixup_exp()
  27505. + isn't called for relaxable insns */
  27506. +/* #define md_cgen_convert_expr(exp, opinfo) avr32_cgen_convert_expr(exp, opinfo)
  27507. + int avr32_cgen_convert_expr(expressionS *, int); */
  27508. +
  27509. +/* #define tc_gen_reloc gas_cgen_tc_gen_reloc */
  27510. +
  27511. +/* If you define this macro, it should return the position from which
  27512. + the PC relative adjustment for a PC relative fixup should be
  27513. + made. On many processors, the base of a PC relative instruction is
  27514. + the next instruction, so this macro would return the length of an
  27515. + instruction, plus the address of the PC relative fixup. The latter
  27516. + can be calculated as fixp->fx_where + fixp->fx_frag->fr_address. */
  27517. +extern long md_pcrel_from_section (struct fix *, segT);
  27518. +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
  27519. +
  27520. +#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
  27521. +#define LOCAL_LABELS_FB 1
  27522. +
  27523. +struct avr32_relaxer
  27524. +{
  27525. + int (*estimate_size)(fragS *, segT);
  27526. + long (*relax_frag)(segT, fragS *, long);
  27527. + void (*convert_frag)(bfd *, segT, fragS *);
  27528. +};
  27529. +
  27530. +/* AVR32 has quite complex instruction coding, which means we need
  27531. + * lots of information in order to do the right thing during relaxing
  27532. + * (basically, we need to be able to reconstruct a whole new opcode if
  27533. + * necessary) */
  27534. +#define TC_FRAG_TYPE struct avr32_frag_data
  27535. +
  27536. +struct cpool;
  27537. +
  27538. +struct avr32_frag_data
  27539. +{
  27540. + /* TODO: Maybe add an expression object here so that we can use
  27541. + fix_new_exp() in md_convert_frag? We may have to decide
  27542. + pcrel-ness in md_estimate_size_before_relax() as well...or we
  27543. + might do it when parsing. Doing it while parsing may fail
  27544. + because the sub_symbol is undefined then... */
  27545. + int pcrel;
  27546. + int force_extended;
  27547. + int reloc_info;
  27548. + struct avr32_relaxer *relaxer;
  27549. + expressionS exp;
  27550. +
  27551. + /* Points to associated constant pool, for use by LDA and CALL in
  27552. + non-pic mode, and when relaxing the .cpool directive */
  27553. + struct cpool *pool;
  27554. + unsigned int pool_entry;
  27555. +};
  27556. +
  27557. +/* We will have to initialize the fields explicitly when needed */
  27558. +#define TC_FRAG_INIT(fragP)
  27559. +
  27560. +#define md_estimate_size_before_relax(fragP, segT) \
  27561. + ((fragP)->tc_frag_data.relaxer->estimate_size(fragP, segT))
  27562. +#define md_relax_frag(segment, fragP, stretch) \
  27563. + ((fragP)->tc_frag_data.relaxer->relax_frag(segment, fragP, stretch))
  27564. +#define md_convert_frag(abfd, segment, fragP) \
  27565. + ((fragP)->tc_frag_data.relaxer->convert_frag(abfd, segment, fragP))
  27566. +
  27567. +#define TC_FIX_TYPE struct avr32_fix_data
  27568. +
  27569. +struct avr32_fix_data
  27570. +{
  27571. + const struct avr32_ifield *ifield;
  27572. + unsigned int align;
  27573. + long min;
  27574. + long max;
  27575. +};
  27576. +
  27577. +#define TC_INIT_FIX_DATA(fixP) \
  27578. + do \
  27579. + { \
  27580. + (fixP)->tc_fix_data.ifield = NULL; \
  27581. + (fixP)->tc_fix_data.align = 0; \
  27582. + (fixP)->tc_fix_data.min = 0; \
  27583. + (fixP)->tc_fix_data.max = 0; \
  27584. + } \
  27585. + while (0)
  27586. diff -Nur binutils-2.21.orig/gas/configure.tgt binutils-2.21/gas/configure.tgt
  27587. --- binutils-2.21.orig/gas/configure.tgt 2010-12-01 12:03:20.000000000 +0100
  27588. +++ binutils-2.21/gas/configure.tgt 2011-08-28 14:56:20.077980239 +0200
  27589. @@ -33,6 +33,7 @@
  27590. am33_2.0) cpu_type=mn10300 endian=little ;;
  27591. arm*be|arm*b) cpu_type=arm endian=big ;;
  27592. arm*) cpu_type=arm endian=little ;;
  27593. + avr32*) cpu_type=avr32 endian=big ;;
  27594. bfin*) cpu_type=bfin endian=little ;;
  27595. c4x*) cpu_type=tic4x ;;
  27596. cr16*) cpu_type=cr16 endian=little ;;
  27597. @@ -136,6 +137,9 @@
  27598. cr16-*-elf*) fmt=elf ;;
  27599. + avr32-*-linux*) fmt=elf em=linux bfd_gas=yes ;;
  27600. + avr32*) fmt=elf bfd_gas=yes ;;
  27601. +
  27602. cris-*-linux-* | crisv32-*-linux-*)
  27603. fmt=multi em=linux ;;
  27604. cris-*-* | crisv32-*-*) fmt=multi ;;
  27605. diff -Nur binutils-2.21.orig/gas/doc/all.texi binutils-2.21/gas/doc/all.texi
  27606. --- binutils-2.21.orig/gas/doc/all.texi 2010-03-25 22:12:28.000000000 +0100
  27607. +++ binutils-2.21/gas/doc/all.texi 2011-08-28 14:56:20.127986906 +0200
  27608. @@ -30,6 +30,7 @@
  27609. @set ARC
  27610. @set ARM
  27611. @set AVR
  27612. +@set AVR32
  27613. @set Blackfin
  27614. @set CR16
  27615. @set CRIS
  27616. diff -Nur binutils-2.21.orig/gas/doc/asconfig.texi binutils-2.21/gas/doc/asconfig.texi
  27617. --- binutils-2.21.orig/gas/doc/asconfig.texi 2010-12-08 09:39:08.000000000 +0100
  27618. +++ binutils-2.21/gas/doc/asconfig.texi 2011-08-28 14:56:20.197982215 +0200
  27619. @@ -30,6 +30,7 @@
  27620. @set ARC
  27621. @set ARM
  27622. @set AVR
  27623. +@set AVR32
  27624. @set Blackfin
  27625. @set CR16
  27626. @set CRIS
  27627. diff -Nur binutils-2.21.orig/gas/doc/as.texinfo binutils-2.21/gas/doc/as.texinfo
  27628. --- binutils-2.21.orig/gas/doc/as.texinfo 2010-11-02 15:36:36.000000000 +0100
  27629. +++ binutils-2.21/gas/doc/as.texinfo 2011-08-28 14:56:20.217984394 +0200
  27630. @@ -6865,6 +6865,9 @@
  27631. @ifset AVR
  27632. * AVR-Dependent:: AVR Dependent Features
  27633. @end ifset
  27634. +@ifset AVR32
  27635. +* AVR32-Dependent:: AVR32 Dependent Features
  27636. +@end ifset
  27637. @ifset Blackfin
  27638. * Blackfin-Dependent:: Blackfin Dependent Features
  27639. @end ifset
  27640. @@ -7006,6 +7009,10 @@
  27641. @include c-avr.texi
  27642. @end ifset
  27643. +@ifset AVR32
  27644. +@include c-avr32.texi
  27645. +@end ifset
  27646. +
  27647. @ifset Blackfin
  27648. @include c-bfin.texi
  27649. @end ifset
  27650. diff -Nur binutils-2.21.orig/gas/doc/c-avr32.texi binutils-2.21/gas/doc/c-avr32.texi
  27651. --- binutils-2.21.orig/gas/doc/c-avr32.texi 1970-01-01 01:00:00.000000000 +0100
  27652. +++ binutils-2.21/gas/doc/c-avr32.texi 2011-08-28 14:56:20.277986487 +0200
  27653. @@ -0,0 +1,244 @@
  27654. +@c Copyright 2005, 2006, 2007, 2008, 2009
  27655. +@c Atmel Corporation
  27656. +@c This is part of the GAS manual.
  27657. +@c For copying conditions, see the file as.texinfo.
  27658. +
  27659. +@ifset GENERIC
  27660. +@page
  27661. +@node AVR32-Dependent
  27662. +@chapter AVR32 Dependent Features
  27663. +@end ifset
  27664. +
  27665. +@ifclear GENERIC
  27666. +@node Machine Dependencies
  27667. +@chapter AVR32 Dependent Features
  27668. +@end ifclear
  27669. +
  27670. +@cindex AVR32 support
  27671. +@menu
  27672. +* AVR32 Options:: Options
  27673. +* AVR32 Syntax:: Syntax
  27674. +* AVR32 Directives:: Directives
  27675. +* AVR32 Opcodes:: Opcodes
  27676. +@end menu
  27677. +
  27678. +@node AVR32 Options
  27679. +@section Options
  27680. +@cindex AVR32 options
  27681. +@cindex options for AVR32
  27682. +
  27683. +@table @code
  27684. +
  27685. +@cindex @code{--pic} command line option, AVR32
  27686. +@cindex PIC code generation for AVR32
  27687. +@item --pic
  27688. +This option specifies that the output of the assembler should be marked
  27689. +as position-independent code (PIC). It will also ensure that
  27690. +pseudo-instructions that deal with address calculation are output as
  27691. +PIC, and that all absolute address references in the code are marked as
  27692. +such.
  27693. +
  27694. +@cindex @code{--linkrelax} command line option, AVR32
  27695. +@item --linkrelax
  27696. +This option specifies that the output of the assembler should be marked
  27697. +as linker-relaxable. It will also ensure that all PC-relative operands
  27698. +that may change during linker relaxation get appropriate relocations.
  27699. +
  27700. +@end table
  27701. +
  27702. +
  27703. +@node AVR32 Syntax
  27704. +@section Syntax
  27705. +@menu
  27706. +* AVR32-Chars:: Special Characters
  27707. +* AVR32-Symrefs:: Symbol references
  27708. +@end menu
  27709. +
  27710. +@node AVR32-Chars
  27711. +@subsection Special Characters
  27712. +
  27713. +@cindex line comment character, AVR32
  27714. +@cindex AVR32 line comment character
  27715. +The presence of a @samp{//} on a line indicates the start of a comment
  27716. +that extends to the end of the current line. If a @samp{#} appears as
  27717. +the first character of a line, the whole line is treated as a comment.
  27718. +
  27719. +@cindex line separator, AVR32
  27720. +@cindex statement separator, AVR32
  27721. +@cindex AVR32 line separator
  27722. +The @samp{;} character can be used instead of a newline to separate
  27723. +statements.
  27724. +
  27725. +@node AVR32-Symrefs
  27726. +@subsection Symbol references
  27727. +
  27728. +The absolute value of a symbol can be obtained by simply naming the
  27729. +symbol. However, as AVR32 symbols have 32-bit values, most symbols have
  27730. +values that are outside the range of any instructions.
  27731. +
  27732. +Instructions that take a PC-relative offset, e.g. @code{lddpc} or
  27733. +@code{rcall}, can also reference a symbol by simply naming the symbol
  27734. +(no explicit calculations necessary). In this case, the assembler or
  27735. +linker subtracts the address of the instruction from the symbol's value
  27736. +and inserts the result into the instruction. Note that even though an
  27737. +overflow is less likely to happen for a relative reference than for an
  27738. +absolute reference, the assembler or linker will generate an error if
  27739. +the referenced symbol is too far away from the current location.
  27740. +
  27741. +Relative references can be used for data as well. For example:
  27742. +
  27743. +@smallexample
  27744. + lddpc r0, 2f
  27745. +1: add r0, pc
  27746. + ...
  27747. + .align 2
  27748. +2: .int @var{some_symbol} - 1b
  27749. +@end smallexample
  27750. +
  27751. +Here, r0 will end up with the run-time address of @var{some_symbol} even
  27752. +if the program was loaded at a different address than it was linked
  27753. +(position-independent code).
  27754. +
  27755. +@subsubsection Symbol modifiers
  27756. +
  27757. +@table @code
  27758. +
  27759. +@item @code{hi(@var{symbol})}
  27760. +Evaluates to the value of the symbol shifted right 16 bits. This will
  27761. +work even if @var{symbol} is defined in a different module.
  27762. +
  27763. +@item @code{lo(@var{symbol})}
  27764. +Evaluates to the low 16 bits of the symbol's value. This will work even
  27765. +if @var{symbol} is defined in a different module.
  27766. +
  27767. +@item @code{@var{symbol}@@got}
  27768. +Create a GOT entry for @var{symbol} and return the offset of that entry
  27769. +relative to the GOT base.
  27770. +
  27771. +@end table
  27772. +
  27773. +
  27774. +@node AVR32 Directives
  27775. +@section Directives
  27776. +@cindex machine directives, AVR32
  27777. +@cindex AVR32 directives
  27778. +
  27779. +@table @code
  27780. +
  27781. +@cindex @code{.cpool} directive, AVR32
  27782. +@item .cpool
  27783. +This directive causes the current contents of the constant pool to be
  27784. +dumped into the current section at the current location (aligned to a
  27785. +word boundary). @code{GAS} maintains a separate constant pool for each
  27786. +section and each sub-section. The @code{.cpool} directive will only
  27787. +affect the constant pool of the current section and sub-section. At the
  27788. +end of assembly, all remaining, non-empty constant pools will
  27789. +automatically be dumped.
  27790. +
  27791. +@end table
  27792. +
  27793. +
  27794. +@node AVR32 Opcodes
  27795. +@section Opcodes
  27796. +@cindex AVR32 opcodes
  27797. +@cindex opcodes for AVR32
  27798. +
  27799. +@code{@value{AS}} implements all the standard AVR32 opcodes. It also
  27800. +implements several pseudo-opcodes, which are recommended to use wherever
  27801. +possible because they give the tool chain better freedom to generate
  27802. +optimal code.
  27803. +
  27804. +@table @code
  27805. +
  27806. +@cindex @code{LDA.W reg, symbol} pseudo op, AVR32
  27807. +@item LDA.W
  27808. +@smallexample
  27809. + lda.w @var{reg}, @var{symbol}
  27810. +@end smallexample
  27811. +
  27812. +This instruction will load the address of @var{symbol} into
  27813. +@var{reg}. The instruction will evaluate to one of the following,
  27814. +depending on the relative distance to the symbol, the relative distance
  27815. +to the constant pool and whether the @code{--pic} option has been
  27816. +specified. If the @code{--pic} option has not been specified, the
  27817. +alternatives are as follows:
  27818. +@smallexample
  27819. + /* @var{symbol} evaluates to a small enough value */
  27820. + mov @var{reg}, @var{symbol}
  27821. +
  27822. + /* (. - @var{symbol}) evaluates to a small enough value */
  27823. + sub @var{reg}, pc, . - @var{symbol}
  27824. +
  27825. + /* Constant pool is close enough */
  27826. + lddpc @var{reg}, @var{cpent}
  27827. + ...
  27828. +@var{cpent}:
  27829. + .long @var{symbol}
  27830. +
  27831. + /* Otherwise (not implemented yet, probably not necessary) */
  27832. + mov @var{reg}, lo(@var{symbol})
  27833. + orh @var{reg}, hi(@var{symbol})
  27834. +@end smallexample
  27835. +
  27836. +If the @code{--pic} option has been specified, the alternatives are as
  27837. +follows:
  27838. +@smallexample
  27839. + /* (. - @var{symbol}) evaluates to a small enough value */
  27840. + sub @var{reg}, pc, . - @var{symbol}
  27841. +
  27842. + /* If @code{--linkrelax} not specified */
  27843. + ld.w @var{reg}, r6[@var{symbol}@@got]
  27844. +
  27845. + /* Otherwise */
  27846. + mov @var{reg}, @var{symbol}@@got / 4
  27847. + ld.w @var{reg}, r6[@var{reg} << 2]
  27848. +@end smallexample
  27849. +
  27850. +If @var{symbol} is not defined in the same file and section as the
  27851. +@code{LDA.W} instruction, the most pessimistic alternative of the
  27852. +above is selected. The linker may convert it back into the most
  27853. +optimal alternative when the final value of all symbols is known.
  27854. +
  27855. +@cindex @code{CALL symbol} pseudo op, AVR32
  27856. +@item CALL
  27857. +@smallexample
  27858. + call @var{symbol}
  27859. +@end smallexample
  27860. +
  27861. +This instruction will insert code to call the subroutine identified by
  27862. +@var{symbol}. It will evaluate to one of the following, depending on
  27863. +the relative distance to the symbol as well as the @code{--linkrelax}
  27864. +and @code{--pic} command-line options.
  27865. +
  27866. +If @var{symbol} is defined in the same section and input file, and the
  27867. +distance is small enough, an @code{rcall} instruction is inserted:
  27868. +@smallexample
  27869. + rcall @var{symbol}
  27870. +@end smallexample
  27871. +
  27872. +Otherwise, if the @code{--pic} option has not been specified:
  27873. +@smallexample
  27874. + mcall @var{cpent}
  27875. + ...
  27876. +@var{cpent}:
  27877. + .long @var{symbol}
  27878. +@end smallexample
  27879. +
  27880. +Finally, if nothing else fits and the @code{--pic} option has been
  27881. +specified, the assembler will indirect the call through the Global
  27882. +Offset Table:
  27883. +@smallexample
  27884. + /* If @code{--linkrelax} not specified */
  27885. + mcall r6[@var{symbol}@@got]
  27886. +
  27887. + /* If @code{--linkrelax} specified */
  27888. + mov lr, @var{symbol}@@got / 4
  27889. + ld.w lr, r6[lr << 2]
  27890. + icall lr
  27891. +@end smallexample
  27892. +
  27893. +The linker, after determining the final value of @var{symbol}, may
  27894. +convert any of these into more optimal alternatives. This includes
  27895. +deleting any superfluous constant pool- and GOT-entries.
  27896. +
  27897. +@end table
  27898. diff -Nur binutils-2.21.orig/gas/doc/Makefile.am binutils-2.21/gas/doc/Makefile.am
  27899. --- binutils-2.21.orig/gas/doc/Makefile.am 2010-03-25 22:12:28.000000000 +0100
  27900. +++ binutils-2.21/gas/doc/Makefile.am 2011-08-28 14:56:20.317983310 +0200
  27901. @@ -33,6 +33,7 @@
  27902. c-arc.texi \
  27903. c-arm.texi \
  27904. c-avr.texi \
  27905. + c-avr32.texi \
  27906. c-bfin.texi \
  27907. c-cr16.texi \
  27908. c-d10v.texi \
  27909. diff -Nur binutils-2.21.orig/gas/Makefile.am binutils-2.21/gas/Makefile.am
  27910. --- binutils-2.21.orig/gas/Makefile.am 2010-07-04 16:35:53.000000000 +0200
  27911. +++ binutils-2.21/gas/Makefile.am 2011-08-28 14:56:20.377984006 +0200
  27912. @@ -111,6 +111,7 @@
  27913. config/tc-arc.c \
  27914. config/tc-arm.c \
  27915. config/tc-avr.c \
  27916. + config/tc-avr32.c \
  27917. config/tc-bfin.c \
  27918. config/tc-cr16.c \
  27919. config/tc-cris.c \
  27920. @@ -175,6 +176,7 @@
  27921. config/tc-arc.h \
  27922. config/tc-arm.h \
  27923. config/tc-avr.h \
  27924. + config/tc-avr32.h \
  27925. config/tc-bfin.h \
  27926. config/tc-cr16.h \
  27927. config/tc-cris.h \
  27928. diff -Nur binutils-2.21.orig/gas/Makefile.in binutils-2.21/gas/Makefile.in
  27929. --- binutils-2.21.orig/gas/Makefile.in 2010-11-05 11:33:35.000000000 +0100
  27930. +++ binutils-2.21/gas/Makefile.in 2011-08-28 14:56:20.387980574 +0200
  27931. @@ -378,6 +378,7 @@
  27932. config/tc-arc.c \
  27933. config/tc-arm.c \
  27934. config/tc-avr.c \
  27935. + config/tc-avr32.c \
  27936. config/tc-bfin.c \
  27937. config/tc-cr16.c \
  27938. config/tc-cris.c \
  27939. @@ -442,6 +443,7 @@
  27940. config/tc-arc.h \
  27941. config/tc-arm.h \
  27942. config/tc-avr.h \
  27943. + config/tc-avr32.h \
  27944. config/tc-bfin.h \
  27945. config/tc-cr16.h \
  27946. config/tc-cris.h \
  27947. @@ -785,6 +787,7 @@
  27948. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-arc.Po@am__quote@
  27949. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-arm.Po@am__quote@
  27950. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-avr.Po@am__quote@
  27951. +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-avr32.Po@am__quote@
  27952. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-bfin.Po@am__quote@
  27953. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-cr16.Po@am__quote@
  27954. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tc-cris.Po@am__quote@
  27955. @@ -923,6 +926,20 @@
  27956. @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  27957. @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tc-avr.obj `if test -f 'config/tc-avr.c'; then $(CYGPATH_W) 'config/tc-avr.c'; else $(CYGPATH_W) '$(srcdir)/config/tc-avr.c'; fi`
  27958. +tc-avr32.o: config/tc-avr32.c
  27959. +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tc-avr32.o -MD -MP -MF $(DEPDIR)/tc-avr32.Tpo -c -o tc-avr32.o `test -f 'config/tc-avr32.c' || echo '$(srcdir)/'`config/tc-avr32.c
  27960. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/tc-avr32.Tpo $(DEPDIR)/tc-avr32.Po
  27961. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='config/tc-avr32.c' object='tc-avr32.o' libtool=no @AMDEPBACKSLASH@
  27962. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  27963. +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tc-avr32.o `test -f 'config/tc-avr32.c' || echo '$(srcdir)/'`config/tc-avr32.c
  27964. +
  27965. +tc-avr32.obj: config/tc-avr32.c
  27966. +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tc-avr32.obj -MD -MP -MF $(DEPDIR)/tc-avr32.Tpo -c -o tc-avr32.obj `if test -f 'config/tc-avr32.c'; then $(CYGPATH_W) 'config/tc-avr32.c'; else $(CYGPATH_W) '$(srcdir)/config/tc-avr32.c'; fi`
  27967. +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/tc-avr32.Tpo $(DEPDIR)/tc-avr32.Po
  27968. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='config/tc-avr32.c' object='tc-avr32.obj' libtool=no @AMDEPBACKSLASH@
  27969. +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  27970. +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tc-avr32.obj `if test -f 'config/tc-avr32.c'; then $(CYGPATH_W) 'config/tc-avr32.c'; else $(CYGPATH_W) '$(srcdir)/config/tc-avr32.c'; fi`
  27971. +
  27972. tc-bfin.o: config/tc-bfin.c
  27973. @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tc-bfin.o -MD -MP -MF $(DEPDIR)/tc-bfin.Tpo -c -o tc-bfin.o `test -f 'config/tc-bfin.c' || echo '$(srcdir)/'`config/tc-bfin.c
  27974. @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/tc-bfin.Tpo $(DEPDIR)/tc-bfin.Po
  27975. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/aliases.d binutils-2.21/gas/testsuite/gas/avr32/aliases.d
  27976. --- binutils-2.21.orig/gas/testsuite/gas/avr32/aliases.d 1970-01-01 01:00:00.000000000 +0100
  27977. +++ binutils-2.21/gas/testsuite/gas/avr32/aliases.d 2011-08-28 14:56:20.457986372 +0200
  27978. @@ -0,0 +1,19 @@
  27979. +#as:
  27980. +#objdump: -dr
  27981. +#name: aliases
  27982. +
  27983. +.*: +file format .*
  27984. +
  27985. +Disassembly of section \.text:
  27986. +
  27987. +00000000 <ld_nodisp>:
  27988. + 0: 19 80 [ \t]+ld\.ub r0,r12\[0x0\]
  27989. + 2: f9 20 00 00[ \t]+ld\.sb r0,r12\[0\]
  27990. + 6: 98 80 [ \t]+ld\.uh r0,r12\[0x0\]
  27991. + 8: 98 00 [ \t]+ld\.sh r0,r12\[0x0\]
  27992. + a: 78 00 [ \t]+ld\.w r0,r12\[0x0\]
  27993. +
  27994. +0000000c <st_nodisp>:
  27995. + c: b8 80 [ \t]+st\.b r12\[0x0\],r0
  27996. + e: b8 00 [ \t]+st\.h r12\[0x0\],r0
  27997. + 10: 99 00 [ \t]+st\.w r12\[0x0\],r0
  27998. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/aliases.s binutils-2.21/gas/testsuite/gas/avr32/aliases.s
  27999. --- binutils-2.21.orig/gas/testsuite/gas/avr32/aliases.s 1970-01-01 01:00:00.000000000 +0100
  28000. +++ binutils-2.21/gas/testsuite/gas/avr32/aliases.s 2011-08-28 14:56:20.537983220 +0200
  28001. @@ -0,0 +1,14 @@
  28002. + .text
  28003. + .global ld_nodisp
  28004. +ld_nodisp:
  28005. + ld.ub r0, r12
  28006. + ld.sb r0, r12
  28007. + ld.uh r0, r12
  28008. + ld.sh r0, r12
  28009. + ld.w r0, r12
  28010. +
  28011. + .global st_nodisp
  28012. +st_nodisp:
  28013. + st.b r12, r0
  28014. + st.h r12, r0
  28015. + st.w r12, r0
  28016. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.d binutils-2.21/gas/testsuite/gas/avr32/allinsn.d
  28017. --- binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.d 1970-01-01 01:00:00.000000000 +0100
  28018. +++ binutils-2.21/gas/testsuite/gas/avr32/allinsn.d 2011-08-28 14:56:20.557986366 +0200
  28019. @@ -0,0 +1,2987 @@
  28020. +#as:
  28021. +#objdump: -dr
  28022. +#name: allinsn
  28023. +
  28024. +.*: +file format .*
  28025. +
  28026. +Disassembly of section \.text:
  28027. +
  28028. +[0-9a-f]* <ld_d5>:
  28029. + *[0-9a-f]*: fe 0f 02 3e ld\.d lr,pc\[pc<<0x3\]
  28030. + *[0-9a-f]*: e0 00 02 00 ld\.d r0,r0\[r0\]
  28031. + *[0-9a-f]*: ea 05 02 26 ld\.d r6,r5\[r5<<0x2\]
  28032. + *[0-9a-f]*: e8 04 02 14 ld\.d r4,r4\[r4<<0x1\]
  28033. + *[0-9a-f]*: fc 0e 02 1e ld\.d lr,lr\[lr<<0x1\]
  28034. + *[0-9a-f]*: e6 0d 02 2a ld\.d r10,r3\[sp<<0x2\]
  28035. + *[0-9a-f]*: f4 06 02 28 ld\.d r8,r10\[r6<<0x2\]
  28036. + *[0-9a-f]*: ee 09 02 02 ld\.d r2,r7\[r9\]
  28037. +
  28038. +[0-9a-f]* <ld_w5>:
  28039. + *[0-9a-f]*: fe 0f 03 0f ld\.w pc,pc\[pc\]
  28040. + *[0-9a-f]*: f8 0c 03 3c ld\.w r12,r12\[r12<<0x3\]
  28041. + *[0-9a-f]*: ea 05 03 25 ld\.w r5,r5\[r5<<0x2\]
  28042. + *[0-9a-f]*: e8 04 03 14 ld\.w r4,r4\[r4<<0x1\]
  28043. + *[0-9a-f]*: fc 0e 03 1e ld\.w lr,lr\[lr<<0x1\]
  28044. + *[0-9a-f]*: f2 09 03 02 ld\.w r2,r9\[r9\]
  28045. + *[0-9a-f]*: e4 06 03 0b ld\.w r11,r2\[r6\]
  28046. + *[0-9a-f]*: e4 0d 03 30 ld\.w r0,r2\[sp<<0x3\]
  28047. +
  28048. +[0-9a-f]* <ld_sh5>:
  28049. + *[0-9a-f]*: fe 0f 04 0f ld\.sh pc,pc\[pc\]
  28050. + *[0-9a-f]*: f8 0c 04 3c ld\.sh r12,r12\[r12<<0x3\]
  28051. + *[0-9a-f]*: ea 05 04 25 ld\.sh r5,r5\[r5<<0x2\]
  28052. + *[0-9a-f]*: e8 04 04 14 ld\.sh r4,r4\[r4<<0x1\]
  28053. + *[0-9a-f]*: fc 0e 04 1e ld\.sh lr,lr\[lr<<0x1\]
  28054. + *[0-9a-f]*: e0 0f 04 2b ld\.sh r11,r0\[pc<<0x2\]
  28055. + *[0-9a-f]*: fa 06 04 2a ld\.sh r10,sp\[r6<<0x2\]
  28056. + *[0-9a-f]*: e4 02 04 0c ld\.sh r12,r2\[r2\]
  28057. +
  28058. +[0-9a-f]* <ld_uh5>:
  28059. + *[0-9a-f]*: fe 0f 05 0f ld\.uh pc,pc\[pc\]
  28060. + *[0-9a-f]*: f8 0c 05 3c ld\.uh r12,r12\[r12<<0x3\]
  28061. + *[0-9a-f]*: ea 05 05 25 ld\.uh r5,r5\[r5<<0x2\]
  28062. + *[0-9a-f]*: e8 04 05 14 ld\.uh r4,r4\[r4<<0x1\]
  28063. + *[0-9a-f]*: fc 0e 05 1e ld\.uh lr,lr\[lr<<0x1\]
  28064. + *[0-9a-f]*: fe 0e 05 38 ld\.uh r8,pc\[lr<<0x3\]
  28065. + *[0-9a-f]*: e2 0f 05 16 ld\.uh r6,r1\[pc<<0x1\]
  28066. + *[0-9a-f]*: fc 0d 05 16 ld\.uh r6,lr\[sp<<0x1\]
  28067. +
  28068. +[0-9a-f]* <ld_sb2>:
  28069. + *[0-9a-f]*: fe 0f 06 0f ld\.sb pc,pc\[pc\]
  28070. + *[0-9a-f]*: f8 0c 06 3c ld\.sb r12,r12\[r12<<0x3\]
  28071. + *[0-9a-f]*: ea 05 06 25 ld\.sb r5,r5\[r5<<0x2\]
  28072. + *[0-9a-f]*: e8 04 06 14 ld\.sb r4,r4\[r4<<0x1\]
  28073. + *[0-9a-f]*: fc 0e 06 1e ld\.sb lr,lr\[lr<<0x1\]
  28074. + *[0-9a-f]*: e2 0f 06 39 ld\.sb r9,r1\[pc<<0x3\]
  28075. + *[0-9a-f]*: e6 0b 06 10 ld\.sb r0,r3\[r11<<0x1\]
  28076. + *[0-9a-f]*: ea 05 06 1a ld\.sb r10,r5\[r5<<0x1\]
  28077. +
  28078. +[0-9a-f]* <ld_ub5>:
  28079. + *[0-9a-f]*: fe 0f 07 0f ld\.ub pc,pc\[pc\]
  28080. + *[0-9a-f]*: f8 0c 07 3c ld\.ub r12,r12\[r12<<0x3\]
  28081. + *[0-9a-f]*: ea 05 07 25 ld\.ub r5,r5\[r5<<0x2\]
  28082. + *[0-9a-f]*: e8 04 07 14 ld\.ub r4,r4\[r4<<0x1\]
  28083. + *[0-9a-f]*: fc 0e 07 1e ld\.ub lr,lr\[lr<<0x1\]
  28084. + *[0-9a-f]*: f8 07 07 36 ld\.ub r6,r12\[r7<<0x3\]
  28085. + *[0-9a-f]*: ec 0c 07 02 ld\.ub r2,r6\[r12\]
  28086. + *[0-9a-f]*: ee 0b 07 10 ld\.ub r0,r7\[r11<<0x1\]
  28087. +
  28088. +[0-9a-f]* <st_d5>:
  28089. + *[0-9a-f]*: fe 0f 08 0e st\.d pc\[pc\],lr
  28090. + *[0-9a-f]*: f8 0c 08 3c st\.d r12\[r12<<0x3\],r12
  28091. + *[0-9a-f]*: ea 05 08 26 st\.d r5\[r5<<0x2\],r6
  28092. + *[0-9a-f]*: e8 04 08 14 st\.d r4\[r4<<0x1\],r4
  28093. + *[0-9a-f]*: fc 0e 08 1e st\.d lr\[lr<<0x1\],lr
  28094. + *[0-9a-f]*: e2 09 08 14 st\.d r1\[r9<<0x1\],r4
  28095. + *[0-9a-f]*: f4 02 08 14 st\.d r10\[r2<<0x1\],r4
  28096. + *[0-9a-f]*: f8 06 08 0e st\.d r12\[r6\],lr
  28097. +
  28098. +[0-9a-f]* <st_w5>:
  28099. + *[0-9a-f]*: fe 0f 09 0f st\.w pc\[pc\],pc
  28100. + *[0-9a-f]*: f8 0c 09 3c st\.w r12\[r12<<0x3\],r12
  28101. + *[0-9a-f]*: ea 05 09 25 st\.w r5\[r5<<0x2\],r5
  28102. + *[0-9a-f]*: e8 04 09 14 st\.w r4\[r4<<0x1\],r4
  28103. + *[0-9a-f]*: fc 0e 09 1e st\.w lr\[lr<<0x1\],lr
  28104. + *[0-9a-f]*: e2 0a 09 03 st\.w r1\[r10\],r3
  28105. + *[0-9a-f]*: e0 0a 09 19 st\.w r0\[r10<<0x1\],r9
  28106. + *[0-9a-f]*: e8 05 09 3f st\.w r4\[r5<<0x3\],pc
  28107. +
  28108. +[0-9a-f]* <st_h5>:
  28109. + *[0-9a-f]*: fe 0f 0a 0f st\.h pc\[pc\],pc
  28110. + *[0-9a-f]*: f8 0c 0a 3c st\.h r12\[r12<<0x3\],r12
  28111. + *[0-9a-f]*: ea 05 0a 25 st\.h r5\[r5<<0x2\],r5
  28112. + *[0-9a-f]*: e8 04 0a 14 st\.h r4\[r4<<0x1\],r4
  28113. + *[0-9a-f]*: fc 0e 0a 1e st\.h lr\[lr<<0x1\],lr
  28114. + *[0-9a-f]*: e4 09 0a 0b st\.h r2\[r9\],r11
  28115. + *[0-9a-f]*: ea 01 0a 2c st\.h r5\[r1<<0x2\],r12
  28116. + *[0-9a-f]*: fe 08 0a 23 st\.h pc\[r8<<0x2\],r3
  28117. +
  28118. +[0-9a-f]* <st_b5>:
  28119. + *[0-9a-f]*: fe 0f 0b 0f st\.b pc\[pc\],pc
  28120. + *[0-9a-f]*: f8 0c 0b 3c st\.b r12\[r12<<0x3\],r12
  28121. + *[0-9a-f]*: ea 05 0b 25 st\.b r5\[r5<<0x2\],r5
  28122. + *[0-9a-f]*: e8 04 0b 14 st\.b r4\[r4<<0x1\],r4
  28123. + *[0-9a-f]*: fc 0e 0b 1e st\.b lr\[lr<<0x1\],lr
  28124. + *[0-9a-f]*: e2 08 0b 16 st\.b r1\[r8<<0x1\],r6
  28125. + *[0-9a-f]*: fc 0e 0b 31 st\.b lr\[lr<<0x3\],r1
  28126. + *[0-9a-f]*: ea 00 0b 2f st\.b r5\[r0<<0x2\],pc
  28127. +
  28128. +[0-9a-f]* <divs>:
  28129. + *[0-9a-f]*: fe 0f 0c 0f divs pc,pc,pc
  28130. + *[0-9a-f]*: f8 0c 0c 0c divs r12,r12,r12
  28131. + *[0-9a-f]*: ea 05 0c 05 divs r5,r5,r5
  28132. + *[0-9a-f]*: e8 04 0c 04 divs r4,r4,r4
  28133. + *[0-9a-f]*: fc 0e 0c 0e divs lr,lr,lr
  28134. + *[0-9a-f]*: fe 0f 0c 03 divs r3,pc,pc
  28135. + *[0-9a-f]*: f8 02 0c 09 divs r9,r12,r2
  28136. + *[0-9a-f]*: e8 01 0c 07 divs r7,r4,r1
  28137. +
  28138. +[0-9a-f]* <add1>:
  28139. + *[0-9a-f]*: 1e 0f add pc,pc
  28140. + *[0-9a-f]*: 18 0c add r12,r12
  28141. + *[0-9a-f]*: 0a 05 add r5,r5
  28142. + *[0-9a-f]*: 08 04 add r4,r4
  28143. + *[0-9a-f]*: 1c 0e add lr,lr
  28144. + *[0-9a-f]*: 12 0c add r12,r9
  28145. + *[0-9a-f]*: 06 06 add r6,r3
  28146. + *[0-9a-f]*: 18 0a add r10,r12
  28147. +
  28148. +[0-9a-f]* <sub1>:
  28149. + *[0-9a-f]*: 1e 1f sub pc,pc
  28150. + *[0-9a-f]*: 18 1c sub r12,r12
  28151. + *[0-9a-f]*: 0a 15 sub r5,r5
  28152. + *[0-9a-f]*: 08 14 sub r4,r4
  28153. + *[0-9a-f]*: 1c 1e sub lr,lr
  28154. + *[0-9a-f]*: 0c 1e sub lr,r6
  28155. + *[0-9a-f]*: 1a 10 sub r0,sp
  28156. + *[0-9a-f]*: 18 16 sub r6,r12
  28157. +
  28158. +[0-9a-f]* <rsub1>:
  28159. + *[0-9a-f]*: 1e 2f rsub pc,pc
  28160. + *[0-9a-f]*: 18 2c rsub r12,r12
  28161. + *[0-9a-f]*: 0a 25 rsub r5,r5
  28162. + *[0-9a-f]*: 08 24 rsub r4,r4
  28163. + *[0-9a-f]*: 1c 2e rsub lr,lr
  28164. + *[0-9a-f]*: 1a 2b rsub r11,sp
  28165. + *[0-9a-f]*: 08 27 rsub r7,r4
  28166. + *[0-9a-f]*: 02 29 rsub r9,r1
  28167. +
  28168. +[0-9a-f]* <cp1>:
  28169. + *[0-9a-f]*: 1e 3f cp\.w pc,pc
  28170. + *[0-9a-f]*: 18 3c cp\.w r12,r12
  28171. + *[0-9a-f]*: 0a 35 cp\.w r5,r5
  28172. + *[0-9a-f]*: 08 34 cp\.w r4,r4
  28173. + *[0-9a-f]*: 1c 3e cp\.w lr,lr
  28174. + *[0-9a-f]*: 04 36 cp\.w r6,r2
  28175. + *[0-9a-f]*: 12 30 cp\.w r0,r9
  28176. + *[0-9a-f]*: 1a 33 cp\.w r3,sp
  28177. +
  28178. +[0-9a-f]* <or1>:
  28179. + *[0-9a-f]*: 1e 4f or pc,pc
  28180. + *[0-9a-f]*: 18 4c or r12,r12
  28181. + *[0-9a-f]*: 0a 45 or r5,r5
  28182. + *[0-9a-f]*: 08 44 or r4,r4
  28183. + *[0-9a-f]*: 1c 4e or lr,lr
  28184. + *[0-9a-f]*: 12 44 or r4,r9
  28185. + *[0-9a-f]*: 08 4b or r11,r4
  28186. + *[0-9a-f]*: 00 44 or r4,r0
  28187. +
  28188. +[0-9a-f]* <eor1>:
  28189. + *[0-9a-f]*: 1e 5f eor pc,pc
  28190. + *[0-9a-f]*: 18 5c eor r12,r12
  28191. + *[0-9a-f]*: 0a 55 eor r5,r5
  28192. + *[0-9a-f]*: 08 54 eor r4,r4
  28193. + *[0-9a-f]*: 1c 5e eor lr,lr
  28194. + *[0-9a-f]*: 16 5c eor r12,r11
  28195. + *[0-9a-f]*: 02 50 eor r0,r1
  28196. + *[0-9a-f]*: 1e 55 eor r5,pc
  28197. +
  28198. +[0-9a-f]* <and1>:
  28199. + *[0-9a-f]*: 1e 6f and pc,pc
  28200. + *[0-9a-f]*: 18 6c and r12,r12
  28201. + *[0-9a-f]*: 0a 65 and r5,r5
  28202. + *[0-9a-f]*: 08 64 and r4,r4
  28203. + *[0-9a-f]*: 1c 6e and lr,lr
  28204. + *[0-9a-f]*: 02 68 and r8,r1
  28205. + *[0-9a-f]*: 1a 60 and r0,sp
  28206. + *[0-9a-f]*: 0a 6a and r10,r5
  28207. +
  28208. +[0-9a-f]* <tst>:
  28209. + *[0-9a-f]*: 1e 7f tst pc,pc
  28210. + *[0-9a-f]*: 18 7c tst r12,r12
  28211. + *[0-9a-f]*: 0a 75 tst r5,r5
  28212. + *[0-9a-f]*: 08 74 tst r4,r4
  28213. + *[0-9a-f]*: 1c 7e tst lr,lr
  28214. + *[0-9a-f]*: 18 70 tst r0,r12
  28215. + *[0-9a-f]*: 0c 7a tst r10,r6
  28216. + *[0-9a-f]*: 08 7d tst sp,r4
  28217. +
  28218. +[0-9a-f]* <andn>:
  28219. + *[0-9a-f]*: 1e 8f andn pc,pc
  28220. + *[0-9a-f]*: 18 8c andn r12,r12
  28221. + *[0-9a-f]*: 0a 85 andn r5,r5
  28222. + *[0-9a-f]*: 08 84 andn r4,r4
  28223. + *[0-9a-f]*: 1c 8e andn lr,lr
  28224. + *[0-9a-f]*: 18 89 andn r9,r12
  28225. + *[0-9a-f]*: 1a 8b andn r11,sp
  28226. + *[0-9a-f]*: 0a 8c andn r12,r5
  28227. +
  28228. +[0-9a-f]* <mov3>:
  28229. + *[0-9a-f]*: 1e 9f mov pc,pc
  28230. + *[0-9a-f]*: 18 9c mov r12,r12
  28231. + *[0-9a-f]*: 0a 95 mov r5,r5
  28232. + *[0-9a-f]*: 08 94 mov r4,r4
  28233. + *[0-9a-f]*: 1c 9e mov lr,lr
  28234. + *[0-9a-f]*: 12 95 mov r5,r9
  28235. + *[0-9a-f]*: 16 9b mov r11,r11
  28236. + *[0-9a-f]*: 1c 92 mov r2,lr
  28237. +
  28238. +[0-9a-f]* <st_w1>:
  28239. + *[0-9a-f]*: 1e af st\.w pc\+\+,pc
  28240. + *[0-9a-f]*: 18 ac st\.w r12\+\+,r12
  28241. + *[0-9a-f]*: 0a a5 st\.w r5\+\+,r5
  28242. + *[0-9a-f]*: 08 a4 st\.w r4\+\+,r4
  28243. + *[0-9a-f]*: 1c ae st\.w lr\+\+,lr
  28244. + *[0-9a-f]*: 02 ab st\.w r1\+\+,r11
  28245. + *[0-9a-f]*: 1a a0 st\.w sp\+\+,r0
  28246. + *[0-9a-f]*: 1a a1 st\.w sp\+\+,r1
  28247. +
  28248. +[0-9a-f]* <st_h1>:
  28249. + *[0-9a-f]*: 1e bf st\.h pc\+\+,pc
  28250. + *[0-9a-f]*: 18 bc st\.h r12\+\+,r12
  28251. + *[0-9a-f]*: 0a b5 st\.h r5\+\+,r5
  28252. + *[0-9a-f]*: 08 b4 st\.h r4\+\+,r4
  28253. + *[0-9a-f]*: 1c be st\.h lr\+\+,lr
  28254. + *[0-9a-f]*: 18 bd st\.h r12\+\+,sp
  28255. + *[0-9a-f]*: 0e be st\.h r7\+\+,lr
  28256. + *[0-9a-f]*: 0e b4 st\.h r7\+\+,r4
  28257. +
  28258. +[0-9a-f]* <st_b1>:
  28259. + *[0-9a-f]*: 1e cf st\.b pc\+\+,pc
  28260. + *[0-9a-f]*: 18 cc st\.b r12\+\+,r12
  28261. + *[0-9a-f]*: 0a c5 st\.b r5\+\+,r5
  28262. + *[0-9a-f]*: 08 c4 st\.b r4\+\+,r4
  28263. + *[0-9a-f]*: 1c ce st\.b lr\+\+,lr
  28264. + *[0-9a-f]*: 12 cd st\.b r9\+\+,sp
  28265. + *[0-9a-f]*: 02 cd st\.b r1\+\+,sp
  28266. + *[0-9a-f]*: 00 c4 st\.b r0\+\+,r4
  28267. +
  28268. +[0-9a-f]* <st_w2>:
  28269. + *[0-9a-f]*: 1e df st\.w --pc,pc
  28270. + *[0-9a-f]*: 18 dc st\.w --r12,r12
  28271. + *[0-9a-f]*: 0a d5 st\.w --r5,r5
  28272. + *[0-9a-f]*: 08 d4 st\.w --r4,r4
  28273. + *[0-9a-f]*: 1c de st\.w --lr,lr
  28274. + *[0-9a-f]*: 02 d7 st\.w --r1,r7
  28275. + *[0-9a-f]*: 06 d9 st\.w --r3,r9
  28276. + *[0-9a-f]*: 0a d5 st\.w --r5,r5
  28277. +
  28278. +[0-9a-f]* <st_h2>:
  28279. + *[0-9a-f]*: 1e ef st\.h --pc,pc
  28280. + *[0-9a-f]*: 18 ec st\.h --r12,r12
  28281. + *[0-9a-f]*: 0a e5 st\.h --r5,r5
  28282. + *[0-9a-f]*: 08 e4 st\.h --r4,r4
  28283. + *[0-9a-f]*: 1c ee st\.h --lr,lr
  28284. + *[0-9a-f]*: 0a e7 st\.h --r5,r7
  28285. + *[0-9a-f]*: 10 e8 st\.h --r8,r8
  28286. + *[0-9a-f]*: 0e e2 st\.h --r7,r2
  28287. +
  28288. +[0-9a-f]* <st_b2>:
  28289. + *[0-9a-f]*: 1e ff st\.b --pc,pc
  28290. + *[0-9a-f]*: 18 fc st\.b --r12,r12
  28291. + *[0-9a-f]*: 0a f5 st\.b --r5,r5
  28292. + *[0-9a-f]*: 08 f4 st\.b --r4,r4
  28293. + *[0-9a-f]*: 1c fe st\.b --lr,lr
  28294. + *[0-9a-f]*: 1a fd st\.b --sp,sp
  28295. + *[0-9a-f]*: 1a fb st\.b --sp,r11
  28296. + *[0-9a-f]*: 08 f5 st\.b --r4,r5
  28297. +
  28298. +[0-9a-f]* <ld_w1>:
  28299. + *[0-9a-f]*: 1f 0f ld\.w pc,pc\+\+
  28300. + *[0-9a-f]*: 19 0c ld\.w r12,r12\+\+
  28301. + *[0-9a-f]*: 0b 05 ld\.w r5,r5\+\+
  28302. + *[0-9a-f]*: 09 04 ld\.w r4,r4\+\+
  28303. + *[0-9a-f]*: 1d 0e ld\.w lr,lr\+\+
  28304. + *[0-9a-f]*: 0f 03 ld\.w r3,r7\+\+
  28305. + *[0-9a-f]*: 1d 03 ld\.w r3,lr\+\+
  28306. + *[0-9a-f]*: 0b 0c ld\.w r12,r5\+\+
  28307. +
  28308. +[0-9a-f]* <ld_sh1>:
  28309. + *[0-9a-f]*: 1f 1f ld\.sh pc,pc\+\+
  28310. + *[0-9a-f]*: 19 1c ld\.sh r12,r12\+\+
  28311. + *[0-9a-f]*: 0b 15 ld\.sh r5,r5\+\+
  28312. + *[0-9a-f]*: 09 14 ld\.sh r4,r4\+\+
  28313. + *[0-9a-f]*: 1d 1e ld\.sh lr,lr\+\+
  28314. + *[0-9a-f]*: 05 1b ld\.sh r11,r2\+\+
  28315. + *[0-9a-f]*: 11 12 ld\.sh r2,r8\+\+
  28316. + *[0-9a-f]*: 0d 17 ld\.sh r7,r6\+\+
  28317. +
  28318. +[0-9a-f]* <ld_uh1>:
  28319. + *[0-9a-f]*: 1f 2f ld\.uh pc,pc\+\+
  28320. + *[0-9a-f]*: 19 2c ld\.uh r12,r12\+\+
  28321. + *[0-9a-f]*: 0b 25 ld\.uh r5,r5\+\+
  28322. + *[0-9a-f]*: 09 24 ld\.uh r4,r4\+\+
  28323. + *[0-9a-f]*: 1d 2e ld\.uh lr,lr\+\+
  28324. + *[0-9a-f]*: 0f 26 ld\.uh r6,r7\+\+
  28325. + *[0-9a-f]*: 17 2a ld\.uh r10,r11\+\+
  28326. + *[0-9a-f]*: 09 2e ld\.uh lr,r4\+\+
  28327. +
  28328. +[0-9a-f]* <ld_ub1>:
  28329. + *[0-9a-f]*: 1f 3f ld\.ub pc,pc\+\+
  28330. + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
  28331. + *[0-9a-f]*: 0b 35 ld\.ub r5,r5\+\+
  28332. + *[0-9a-f]*: 09 34 ld\.ub r4,r4\+\+
  28333. + *[0-9a-f]*: 1d 3e ld\.ub lr,lr\+\+
  28334. + *[0-9a-f]*: 1d 38 ld\.ub r8,lr\+\+
  28335. + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
  28336. + *[0-9a-f]*: 15 3b ld\.ub r11,r10\+\+
  28337. +
  28338. +[0-9a-f]* <ld_w2>:
  28339. + *[0-9a-f]*: 1f 4f ld\.w pc,--pc
  28340. + *[0-9a-f]*: 19 4c ld\.w r12,--r12
  28341. + *[0-9a-f]*: 0b 45 ld\.w r5,--r5
  28342. + *[0-9a-f]*: 09 44 ld\.w r4,--r4
  28343. + *[0-9a-f]*: 1d 4e ld\.w lr,--lr
  28344. + *[0-9a-f]*: 1d 4a ld\.w r10,--lr
  28345. + *[0-9a-f]*: 13 4c ld\.w r12,--r9
  28346. + *[0-9a-f]*: 0b 46 ld\.w r6,--r5
  28347. +
  28348. +[0-9a-f]* <ld_sh2>:
  28349. + *[0-9a-f]*: 1f 5f ld\.sh pc,--pc
  28350. + *[0-9a-f]*: 19 5c ld\.sh r12,--r12
  28351. + *[0-9a-f]*: 0b 55 ld\.sh r5,--r5
  28352. + *[0-9a-f]*: 09 54 ld\.sh r4,--r4
  28353. + *[0-9a-f]*: 1d 5e ld\.sh lr,--lr
  28354. + *[0-9a-f]*: 15 5f ld\.sh pc,--r10
  28355. + *[0-9a-f]*: 07 56 ld\.sh r6,--r3
  28356. + *[0-9a-f]*: 0d 54 ld\.sh r4,--r6
  28357. +
  28358. +[0-9a-f]* <ld_uh2>:
  28359. + *[0-9a-f]*: 1f 6f ld\.uh pc,--pc
  28360. + *[0-9a-f]*: 19 6c ld\.uh r12,--r12
  28361. + *[0-9a-f]*: 0b 65 ld\.uh r5,--r5
  28362. + *[0-9a-f]*: 09 64 ld\.uh r4,--r4
  28363. + *[0-9a-f]*: 1d 6e ld\.uh lr,--lr
  28364. + *[0-9a-f]*: 05 63 ld\.uh r3,--r2
  28365. + *[0-9a-f]*: 01 61 ld\.uh r1,--r0
  28366. + *[0-9a-f]*: 13 62 ld\.uh r2,--r9
  28367. +
  28368. +[0-9a-f]* <ld_ub2>:
  28369. + *[0-9a-f]*: 1f 7f ld\.ub pc,--pc
  28370. + *[0-9a-f]*: 19 7c ld\.ub r12,--r12
  28371. + *[0-9a-f]*: 0b 75 ld\.ub r5,--r5
  28372. + *[0-9a-f]*: 09 74 ld\.ub r4,--r4
  28373. + *[0-9a-f]*: 1d 7e ld\.ub lr,--lr
  28374. + *[0-9a-f]*: 03 71 ld\.ub r1,--r1
  28375. + *[0-9a-f]*: 0d 70 ld\.ub r0,--r6
  28376. + *[0-9a-f]*: 0f 72 ld\.ub r2,--r7
  28377. +
  28378. +[0-9a-f]* <ld_ub3>:
  28379. + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
  28380. + *[0-9a-f]*: 19 fc ld\.ub r12,r12\[0x7\]
  28381. + *[0-9a-f]*: 0b c5 ld\.ub r5,r5\[0x4\]
  28382. + *[0-9a-f]*: 09 b4 ld\.ub r4,r4\[0x3\]
  28383. + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
  28384. + *[0-9a-f]*: 13 e6 ld\.ub r6,r9\[0x6\]
  28385. + *[0-9a-f]*: 1d c2 ld\.ub r2,lr\[0x4\]
  28386. + *[0-9a-f]*: 11 81 ld\.ub r1,r8\[0x0\]
  28387. +
  28388. +[0-9a-f]* <sub3_sp>:
  28389. + *[0-9a-f]*: 20 0d sub sp,0
  28390. + *[0-9a-f]*: 2f fd sub sp,-4
  28391. + *[0-9a-f]*: 28 0d sub sp,-512
  28392. + *[0-9a-f]*: 27 fd sub sp,508
  28393. + *[0-9a-f]*: 20 1d sub sp,4
  28394. + *[0-9a-f]*: 20 bd sub sp,44
  28395. + *[0-9a-f]*: 20 2d sub sp,8
  28396. + *[0-9a-f]*: 25 7d sub sp,348
  28397. +
  28398. +[0-9a-f]* <sub3>:
  28399. + *[0-9a-f]*: 20 0f sub pc,0
  28400. + *[0-9a-f]*: 2f fc sub r12,-1
  28401. + *[0-9a-f]*: 28 05 sub r5,-128
  28402. + *[0-9a-f]*: 27 f4 sub r4,127
  28403. + *[0-9a-f]*: 20 1e sub lr,1
  28404. + *[0-9a-f]*: 2d 76 sub r6,-41
  28405. + *[0-9a-f]*: 22 54 sub r4,37
  28406. + *[0-9a-f]*: 23 8c sub r12,56
  28407. +
  28408. +[0-9a-f]* <mov1>:
  28409. + *[0-9a-f]*: 30 0f mov pc,0
  28410. + *[0-9a-f]*: 3f fc mov r12,-1
  28411. + *[0-9a-f]*: 38 05 mov r5,-128
  28412. + *[0-9a-f]*: 37 f4 mov r4,127
  28413. + *[0-9a-f]*: 30 1e mov lr,1
  28414. + *[0-9a-f]*: 30 ef mov pc,14
  28415. + *[0-9a-f]*: 39 c6 mov r6,-100
  28416. + *[0-9a-f]*: 38 6e mov lr,-122
  28417. +
  28418. +[0-9a-f]* <lddsp>:
  28419. + *[0-9a-f]*: 40 0f lddsp pc,sp\[0x0\]
  28420. + *[0-9a-f]*: 47 fc lddsp r12,sp\[0x1fc\]
  28421. + *[0-9a-f]*: 44 05 lddsp r5,sp\[0x100\]
  28422. + *[0-9a-f]*: 43 f4 lddsp r4,sp\[0xfc\]
  28423. + *[0-9a-f]*: 40 1e lddsp lr,sp\[0x4\]
  28424. + *[0-9a-f]*: 44 0e lddsp lr,sp\[0x100\]
  28425. + *[0-9a-f]*: 40 5c lddsp r12,sp\[0x14\]
  28426. + *[0-9a-f]*: 47 69 lddsp r9,sp\[0x1d8\]
  28427. +
  28428. +[0-9a-f]* <lddpc>:
  28429. + *[0-9a-f]*: 48 0f lddpc pc,[0-9a-f]* <.*>
  28430. + *[0-9a-f]*: 4f f0 lddpc r0,[0-9a-f]* <.*>
  28431. + *[0-9a-f]*: 4c 08 lddpc r8,[0-9a-f]* <.*>
  28432. + *[0-9a-f]*: 4b f7 lddpc r7,[0-9a-f]* <.*>
  28433. + *[0-9a-f]*: 48 1e lddpc lr,[0-9a-f]* <.*>
  28434. + *[0-9a-f]*: 4f 6d lddpc sp,[0-9a-f]* <.*>
  28435. + *[0-9a-f]*: 49 e6 lddpc r6,[0-9a-f]* <.*>
  28436. + *[0-9a-f]*: 48 7b lddpc r11,[0-9a-f]* <.*>
  28437. +
  28438. +[0-9a-f]* <stdsp>:
  28439. + *[0-9a-f]*: 50 0f stdsp sp\[0x0\],pc
  28440. + *[0-9a-f]*: 57 fc stdsp sp\[0x1fc\],r12
  28441. + *[0-9a-f]*: 54 05 stdsp sp\[0x100\],r5
  28442. + *[0-9a-f]*: 53 f4 stdsp sp\[0xfc\],r4
  28443. + *[0-9a-f]*: 50 1e stdsp sp\[0x4\],lr
  28444. + *[0-9a-f]*: 54 cf stdsp sp\[0x130\],pc
  28445. + *[0-9a-f]*: 54 00 stdsp sp\[0x100\],r0
  28446. + *[0-9a-f]*: 55 45 stdsp sp\[0x150\],r5
  28447. +
  28448. +[0-9a-f]* <cp2>:
  28449. + *[0-9a-f]*: 58 0f cp.w pc,0
  28450. + *[0-9a-f]*: 5b fc cp.w r12,-1
  28451. + *[0-9a-f]*: 5a 05 cp.w r5,-32
  28452. + *[0-9a-f]*: 59 f4 cp.w r4,31
  28453. + *[0-9a-f]*: 58 1e cp.w lr,1
  28454. + *[0-9a-f]*: 58 38 cp.w r8,3
  28455. + *[0-9a-f]*: 59 0e cp.w lr,16
  28456. + *[0-9a-f]*: 5a 67 cp.w r7,-26
  28457. +
  28458. +[0-9a-f]* <acr>:
  28459. + *[0-9a-f]*: 5c 0f acr pc
  28460. + *[0-9a-f]*: 5c 0c acr r12
  28461. + *[0-9a-f]*: 5c 05 acr r5
  28462. + *[0-9a-f]*: 5c 04 acr r4
  28463. + *[0-9a-f]*: 5c 0e acr lr
  28464. + *[0-9a-f]*: 5c 02 acr r2
  28465. + *[0-9a-f]*: 5c 0c acr r12
  28466. + *[0-9a-f]*: 5c 0f acr pc
  28467. +
  28468. +[0-9a-f]* <scr>:
  28469. + *[0-9a-f]*: 5c 1f scr pc
  28470. + *[0-9a-f]*: 5c 1c scr r12
  28471. + *[0-9a-f]*: 5c 15 scr r5
  28472. + *[0-9a-f]*: 5c 14 scr r4
  28473. + *[0-9a-f]*: 5c 1e scr lr
  28474. + *[0-9a-f]*: 5c 1f scr pc
  28475. + *[0-9a-f]*: 5c 16 scr r6
  28476. + *[0-9a-f]*: 5c 11 scr r1
  28477. +
  28478. +[0-9a-f]* <cpc0>:
  28479. + *[0-9a-f]*: 5c 2f cpc pc
  28480. + *[0-9a-f]*: 5c 2c cpc r12
  28481. + *[0-9a-f]*: 5c 25 cpc r5
  28482. + *[0-9a-f]*: 5c 24 cpc r4
  28483. + *[0-9a-f]*: 5c 2e cpc lr
  28484. + *[0-9a-f]*: 5c 2f cpc pc
  28485. + *[0-9a-f]*: 5c 24 cpc r4
  28486. + *[0-9a-f]*: 5c 29 cpc r9
  28487. +
  28488. +[0-9a-f]* <neg>:
  28489. + *[0-9a-f]*: 5c 3f neg pc
  28490. + *[0-9a-f]*: 5c 3c neg r12
  28491. + *[0-9a-f]*: 5c 35 neg r5
  28492. + *[0-9a-f]*: 5c 34 neg r4
  28493. + *[0-9a-f]*: 5c 3e neg lr
  28494. + *[0-9a-f]*: 5c 37 neg r7
  28495. + *[0-9a-f]*: 5c 31 neg r1
  28496. + *[0-9a-f]*: 5c 39 neg r9
  28497. +
  28498. +[0-9a-f]* <abs>:
  28499. + *[0-9a-f]*: 5c 4f abs pc
  28500. + *[0-9a-f]*: 5c 4c abs r12
  28501. + *[0-9a-f]*: 5c 45 abs r5
  28502. + *[0-9a-f]*: 5c 44 abs r4
  28503. + *[0-9a-f]*: 5c 4e abs lr
  28504. + *[0-9a-f]*: 5c 46 abs r6
  28505. + *[0-9a-f]*: 5c 46 abs r6
  28506. + *[0-9a-f]*: 5c 44 abs r4
  28507. +
  28508. +[0-9a-f]* <castu_b>:
  28509. + *[0-9a-f]*: 5c 5f castu\.b pc
  28510. + *[0-9a-f]*: 5c 5c castu\.b r12
  28511. + *[0-9a-f]*: 5c 55 castu\.b r5
  28512. + *[0-9a-f]*: 5c 54 castu\.b r4
  28513. + *[0-9a-f]*: 5c 5e castu\.b lr
  28514. + *[0-9a-f]*: 5c 57 castu\.b r7
  28515. + *[0-9a-f]*: 5c 5d castu\.b sp
  28516. + *[0-9a-f]*: 5c 59 castu\.b r9
  28517. +
  28518. +[0-9a-f]* <casts_b>:
  28519. + *[0-9a-f]*: 5c 6f casts\.b pc
  28520. + *[0-9a-f]*: 5c 6c casts\.b r12
  28521. + *[0-9a-f]*: 5c 65 casts\.b r5
  28522. + *[0-9a-f]*: 5c 64 casts\.b r4
  28523. + *[0-9a-f]*: 5c 6e casts\.b lr
  28524. + *[0-9a-f]*: 5c 6b casts\.b r11
  28525. + *[0-9a-f]*: 5c 61 casts\.b r1
  28526. + *[0-9a-f]*: 5c 6a casts\.b r10
  28527. +
  28528. +[0-9a-f]* <castu_h>:
  28529. + *[0-9a-f]*: 5c 7f castu\.h pc
  28530. + *[0-9a-f]*: 5c 7c castu\.h r12
  28531. + *[0-9a-f]*: 5c 75 castu\.h r5
  28532. + *[0-9a-f]*: 5c 74 castu\.h r4
  28533. + *[0-9a-f]*: 5c 7e castu\.h lr
  28534. + *[0-9a-f]*: 5c 7a castu\.h r10
  28535. + *[0-9a-f]*: 5c 7b castu\.h r11
  28536. + *[0-9a-f]*: 5c 71 castu\.h r1
  28537. +
  28538. +[0-9a-f]* <casts_h>:
  28539. + *[0-9a-f]*: 5c 8f casts\.h pc
  28540. + *[0-9a-f]*: 5c 8c casts\.h r12
  28541. + *[0-9a-f]*: 5c 85 casts\.h r5
  28542. + *[0-9a-f]*: 5c 84 casts\.h r4
  28543. + *[0-9a-f]*: 5c 8e casts\.h lr
  28544. + *[0-9a-f]*: 5c 80 casts\.h r0
  28545. + *[0-9a-f]*: 5c 85 casts\.h r5
  28546. + *[0-9a-f]*: 5c 89 casts\.h r9
  28547. +
  28548. +[0-9a-f]* <brev>:
  28549. + *[0-9a-f]*: 5c 9f brev pc
  28550. + *[0-9a-f]*: 5c 9c brev r12
  28551. + *[0-9a-f]*: 5c 95 brev r5
  28552. + *[0-9a-f]*: 5c 94 brev r4
  28553. + *[0-9a-f]*: 5c 9e brev lr
  28554. + *[0-9a-f]*: 5c 95 brev r5
  28555. + *[0-9a-f]*: 5c 9a brev r10
  28556. + *[0-9a-f]*: 5c 98 brev r8
  28557. +
  28558. +[0-9a-f]* <swap_h>:
  28559. + *[0-9a-f]*: 5c af swap\.h pc
  28560. + *[0-9a-f]*: 5c ac swap\.h r12
  28561. + *[0-9a-f]*: 5c a5 swap\.h r5
  28562. + *[0-9a-f]*: 5c a4 swap\.h r4
  28563. + *[0-9a-f]*: 5c ae swap\.h lr
  28564. + *[0-9a-f]*: 5c a7 swap\.h r7
  28565. + *[0-9a-f]*: 5c a0 swap\.h r0
  28566. + *[0-9a-f]*: 5c a8 swap\.h r8
  28567. +
  28568. +[0-9a-f]* <swap_b>:
  28569. + *[0-9a-f]*: 5c bf swap\.b pc
  28570. + *[0-9a-f]*: 5c bc swap\.b r12
  28571. + *[0-9a-f]*: 5c b5 swap\.b r5
  28572. + *[0-9a-f]*: 5c b4 swap\.b r4
  28573. + *[0-9a-f]*: 5c be swap\.b lr
  28574. + *[0-9a-f]*: 5c ba swap\.b r10
  28575. + *[0-9a-f]*: 5c bc swap\.b r12
  28576. + *[0-9a-f]*: 5c b1 swap\.b r1
  28577. +
  28578. +[0-9a-f]* <swap_bh>:
  28579. + *[0-9a-f]*: 5c cf swap\.bh pc
  28580. + *[0-9a-f]*: 5c cc swap\.bh r12
  28581. + *[0-9a-f]*: 5c c5 swap\.bh r5
  28582. + *[0-9a-f]*: 5c c4 swap\.bh r4
  28583. + *[0-9a-f]*: 5c ce swap\.bh lr
  28584. + *[0-9a-f]*: 5c c9 swap\.bh r9
  28585. + *[0-9a-f]*: 5c c4 swap\.bh r4
  28586. + *[0-9a-f]*: 5c c1 swap\.bh r1
  28587. +
  28588. +[0-9a-f]* <One_s_compliment>:
  28589. + *[0-9a-f]*: 5c df com pc
  28590. + *[0-9a-f]*: 5c dc com r12
  28591. + *[0-9a-f]*: 5c d5 com r5
  28592. + *[0-9a-f]*: 5c d4 com r4
  28593. + *[0-9a-f]*: 5c de com lr
  28594. + *[0-9a-f]*: 5c d2 com r2
  28595. + *[0-9a-f]*: 5c d2 com r2
  28596. + *[0-9a-f]*: 5c d7 com r7
  28597. +
  28598. +[0-9a-f]* <tnbz>:
  28599. + *[0-9a-f]*: 5c ef tnbz pc
  28600. + *[0-9a-f]*: 5c ec tnbz r12
  28601. + *[0-9a-f]*: 5c e5 tnbz r5
  28602. + *[0-9a-f]*: 5c e4 tnbz r4
  28603. + *[0-9a-f]*: 5c ee tnbz lr
  28604. + *[0-9a-f]*: 5c e8 tnbz r8
  28605. + *[0-9a-f]*: 5c ec tnbz r12
  28606. + *[0-9a-f]*: 5c ef tnbz pc
  28607. +
  28608. +[0-9a-f]* <rol>:
  28609. + *[0-9a-f]*: 5c ff rol pc
  28610. + *[0-9a-f]*: 5c fc rol r12
  28611. + *[0-9a-f]*: 5c f5 rol r5
  28612. + *[0-9a-f]*: 5c f4 rol r4
  28613. + *[0-9a-f]*: 5c fe rol lr
  28614. + *[0-9a-f]*: 5c fa rol r10
  28615. + *[0-9a-f]*: 5c f9 rol r9
  28616. + *[0-9a-f]*: 5c f5 rol r5
  28617. +
  28618. +[0-9a-f]* <ror>:
  28619. + *[0-9a-f]*: 5d 0f ror pc
  28620. + *[0-9a-f]*: 5d 0c ror r12
  28621. + *[0-9a-f]*: 5d 05 ror r5
  28622. + *[0-9a-f]*: 5d 04 ror r4
  28623. + *[0-9a-f]*: 5d 0e ror lr
  28624. + *[0-9a-f]*: 5d 08 ror r8
  28625. + *[0-9a-f]*: 5d 04 ror r4
  28626. + *[0-9a-f]*: 5d 07 ror r7
  28627. +
  28628. +[0-9a-f]* <icall>:
  28629. + *[0-9a-f]*: 5d 1f icall pc
  28630. + *[0-9a-f]*: 5d 1c icall r12
  28631. + *[0-9a-f]*: 5d 15 icall r5
  28632. + *[0-9a-f]*: 5d 14 icall r4
  28633. + *[0-9a-f]*: 5d 1e icall lr
  28634. + *[0-9a-f]*: 5d 13 icall r3
  28635. + *[0-9a-f]*: 5d 11 icall r1
  28636. + *[0-9a-f]*: 5d 13 icall r3
  28637. +
  28638. +[0-9a-f]* <mustr>:
  28639. + *[0-9a-f]*: 5d 2f mustr pc
  28640. + *[0-9a-f]*: 5d 2c mustr r12
  28641. + *[0-9a-f]*: 5d 25 mustr r5
  28642. + *[0-9a-f]*: 5d 24 mustr r4
  28643. + *[0-9a-f]*: 5d 2e mustr lr
  28644. + *[0-9a-f]*: 5d 21 mustr r1
  28645. + *[0-9a-f]*: 5d 24 mustr r4
  28646. + *[0-9a-f]*: 5d 2c mustr r12
  28647. +
  28648. +[0-9a-f]* <musfr>:
  28649. + *[0-9a-f]*: 5d 3f musfr pc
  28650. + *[0-9a-f]*: 5d 3c musfr r12
  28651. + *[0-9a-f]*: 5d 35 musfr r5
  28652. + *[0-9a-f]*: 5d 34 musfr r4
  28653. + *[0-9a-f]*: 5d 3e musfr lr
  28654. + *[0-9a-f]*: 5d 3b musfr r11
  28655. + *[0-9a-f]*: 5d 3c musfr r12
  28656. + *[0-9a-f]*: 5d 32 musfr r2
  28657. +
  28658. +[0-9a-f]* <ret_cond>:
  28659. + *[0-9a-f]*: 5e 0f reteq 1
  28660. + *[0-9a-f]*: 5e fc retal r12
  28661. + *[0-9a-f]*: 5e 85 retls r5
  28662. + *[0-9a-f]*: 5e 74 retpl r4
  28663. + *[0-9a-f]*: 5e 1e retne -1
  28664. + *[0-9a-f]*: 5e 90 retgt r0
  28665. + *[0-9a-f]*: 5e 9c retgt r12
  28666. + *[0-9a-f]*: 5e 4a retge r10
  28667. +
  28668. +[0-9a-f]* <sr_cond>:
  28669. + *[0-9a-f]*: 5f 0f sreq pc
  28670. + *[0-9a-f]*: 5f fc sral r12
  28671. + *[0-9a-f]*: 5f 85 srls r5
  28672. + *[0-9a-f]*: 5f 74 srpl r4
  28673. + *[0-9a-f]*: 5f 1e srne lr
  28674. + *[0-9a-f]*: 5f 50 srlt r0
  28675. + *[0-9a-f]*: 5f fd sral sp
  28676. + *[0-9a-f]*: 5f 49 srge r9
  28677. +
  28678. +[0-9a-f]* <ld_w3>:
  28679. + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
  28680. + *[0-9a-f]*: 79 fc ld\.w r12,r12\[0x7c\]
  28681. + *[0-9a-f]*: 6b 05 ld\.w r5,r5\[0x40\]
  28682. + *[0-9a-f]*: 68 f4 ld\.w r4,r4\[0x3c\]
  28683. + *[0-9a-f]*: 7c 1e ld\.w lr,lr\[0x4\]
  28684. + *[0-9a-f]*: 64 dd ld\.w sp,r2\[0x34\]
  28685. + *[0-9a-f]*: 62 29 ld\.w r9,r1\[0x8\]
  28686. + *[0-9a-f]*: 7a f5 ld\.w r5,sp\[0x3c\]
  28687. +
  28688. +[0-9a-f]* <ld_sh3>:
  28689. + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
  28690. + *[0-9a-f]*: 98 7c ld\.sh r12,r12\[0xe\]
  28691. + *[0-9a-f]*: 8a 45 ld\.sh r5,r5\[0x8\]
  28692. + *[0-9a-f]*: 88 34 ld\.sh r4,r4\[0x6\]
  28693. + *[0-9a-f]*: 9c 1e ld\.sh lr,lr\[0x2\]
  28694. + *[0-9a-f]*: 84 44 ld\.sh r4,r2\[0x8\]
  28695. + *[0-9a-f]*: 9c 5d ld\.sh sp,lr\[0xa\]
  28696. + *[0-9a-f]*: 96 12 ld\.sh r2,r11\[0x2\]
  28697. +
  28698. +[0-9a-f]* <ld_uh3>:
  28699. + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
  28700. + *[0-9a-f]*: 98 fc ld\.uh r12,r12\[0xe\]
  28701. + *[0-9a-f]*: 8a c5 ld\.uh r5,r5\[0x8\]
  28702. + *[0-9a-f]*: 88 b4 ld\.uh r4,r4\[0x6\]
  28703. + *[0-9a-f]*: 9c 9e ld\.uh lr,lr\[0x2\]
  28704. + *[0-9a-f]*: 80 da ld\.uh r10,r0\[0xa\]
  28705. + *[0-9a-f]*: 96 c8 ld\.uh r8,r11\[0x8\]
  28706. + *[0-9a-f]*: 84 ea ld\.uh r10,r2\[0xc\]
  28707. +
  28708. +[0-9a-f]* <st_w3>:
  28709. + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
  28710. + *[0-9a-f]*: 99 fc st\.w r12\[0x3c\],r12
  28711. + *[0-9a-f]*: 8b 85 st\.w r5\[0x20\],r5
  28712. + *[0-9a-f]*: 89 74 st\.w r4\[0x1c\],r4
  28713. + *[0-9a-f]*: 9d 1e st\.w lr\[0x4\],lr
  28714. + *[0-9a-f]*: 8f bb st\.w r7\[0x2c\],r11
  28715. + *[0-9a-f]*: 85 66 st\.w r2\[0x18\],r6
  28716. + *[0-9a-f]*: 89 39 st\.w r4\[0xc\],r9
  28717. +
  28718. +[0-9a-f]* <st_h3>:
  28719. + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
  28720. + *[0-9a-f]*: b8 7c st\.h r12\[0xe\],r12
  28721. + *[0-9a-f]*: aa 45 st\.h r5\[0x8\],r5
  28722. + *[0-9a-f]*: a8 34 st\.h r4\[0x6\],r4
  28723. + *[0-9a-f]*: bc 1e st\.h lr\[0x2\],lr
  28724. + *[0-9a-f]*: bc 5c st\.h lr\[0xa\],r12
  28725. + *[0-9a-f]*: ac 20 st\.h r6\[0x4\],r0
  28726. + *[0-9a-f]*: aa 6d st\.h r5\[0xc\],sp
  28727. +
  28728. +[0-9a-f]* <st_b3>:
  28729. + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
  28730. + *[0-9a-f]*: b8 fc st\.b r12\[0x7\],r12
  28731. + *[0-9a-f]*: aa c5 st\.b r5\[0x4\],r5
  28732. + *[0-9a-f]*: a8 b4 st\.b r4\[0x3\],r4
  28733. + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
  28734. + *[0-9a-f]*: b8 e9 st\.b r12\[0x6\],r9
  28735. + *[0-9a-f]*: a4 be st\.b r2\[0x3\],lr
  28736. + *[0-9a-f]*: a2 bb st\.b r1\[0x3\],r11
  28737. +
  28738. +[0-9a-f]* <ldd>:
  28739. + *[0-9a-f]*: bf 00 ld\.d r0,pc
  28740. + *[0-9a-f]*: b9 0e ld\.d lr,r12
  28741. + *[0-9a-f]*: ab 08 ld\.d r8,r5
  28742. + *[0-9a-f]*: a9 06 ld\.d r6,r4
  28743. + *[0-9a-f]*: bd 02 ld\.d r2,lr
  28744. + *[0-9a-f]*: af 0e ld\.d lr,r7
  28745. + *[0-9a-f]*: a9 04 ld\.d r4,r4
  28746. + *[0-9a-f]*: bf 0e ld\.d lr,pc
  28747. +
  28748. +[0-9a-f]* <ldd_postinc>:
  28749. + *[0-9a-f]*: bf 01 ld\.d r0,pc\+\+
  28750. + *[0-9a-f]*: b9 0f ld\.d lr,r12\+\+
  28751. + *[0-9a-f]*: ab 09 ld\.d r8,r5\+\+
  28752. + *[0-9a-f]*: a9 07 ld\.d r6,r4\+\+
  28753. + *[0-9a-f]*: bd 03 ld\.d r2,lr\+\+
  28754. + *[0-9a-f]*: ab 0f ld\.d lr,r5\+\+
  28755. + *[0-9a-f]*: b7 0d ld\.d r12,r11\+\+
  28756. + *[0-9a-f]*: b9 03 ld\.d r2,r12\+\+
  28757. +
  28758. +[0-9a-f]* <ldd_predec>:
  28759. + *[0-9a-f]*: bf 10 ld\.d r0,--pc
  28760. + *[0-9a-f]*: b9 1e ld\.d lr,--r12
  28761. + *[0-9a-f]*: ab 18 ld\.d r8,--r5
  28762. + *[0-9a-f]*: a9 16 ld\.d r6,--r4
  28763. + *[0-9a-f]*: bd 12 ld\.d r2,--lr
  28764. + *[0-9a-f]*: a1 18 ld\.d r8,--r0
  28765. + *[0-9a-f]*: bf 1a ld\.d r10,--pc
  28766. + *[0-9a-f]*: a9 12 ld\.d r2,--r4
  28767. +
  28768. +[0-9a-f]* <std>:
  28769. + *[0-9a-f]*: bf 11 st\.d pc,r0
  28770. + *[0-9a-f]*: b9 1f st\.d r12,lr
  28771. + *[0-9a-f]*: ab 19 st\.d r5,r8
  28772. + *[0-9a-f]*: a9 17 st\.d r4,r6
  28773. + *[0-9a-f]*: bd 13 st\.d lr,r2
  28774. + *[0-9a-f]*: a1 1d st\.d r0,r12
  28775. + *[0-9a-f]*: bb 15 st\.d sp,r4
  28776. + *[0-9a-f]*: b9 1d st\.d r12,r12
  28777. +
  28778. +[0-9a-f]* <std_postinc>:
  28779. + *[0-9a-f]*: bf 20 st\.d pc\+\+,r0
  28780. + *[0-9a-f]*: b9 2e st\.d r12\+\+,lr
  28781. + *[0-9a-f]*: ab 28 st\.d r5\+\+,r8
  28782. + *[0-9a-f]*: a9 26 st\.d r4\+\+,r6
  28783. + *[0-9a-f]*: bd 22 st\.d lr\+\+,r2
  28784. + *[0-9a-f]*: bb 26 st\.d sp\+\+,r6
  28785. + *[0-9a-f]*: b5 26 st\.d r10\+\+,r6
  28786. + *[0-9a-f]*: af 22 st\.d r7\+\+,r2
  28787. +
  28788. +[0-9a-f]* <std_predec>:
  28789. + *[0-9a-f]*: bf 21 st\.d --pc,r0
  28790. + *[0-9a-f]*: b9 2f st\.d --r12,lr
  28791. + *[0-9a-f]*: ab 29 st\.d --r5,r8
  28792. + *[0-9a-f]*: a9 27 st\.d --r4,r6
  28793. + *[0-9a-f]*: bd 23 st\.d --lr,r2
  28794. + *[0-9a-f]*: a7 27 st\.d --r3,r6
  28795. + *[0-9a-f]*: bd 23 st\.d --lr,r2
  28796. + *[0-9a-f]*: a1 25 st\.d --r0,r4
  28797. +
  28798. +[0-9a-f]* <mul>:
  28799. + *[0-9a-f]*: bf 3f mul pc,pc
  28800. + *[0-9a-f]*: b9 3c mul r12,r12
  28801. + *[0-9a-f]*: ab 35 mul r5,r5
  28802. + *[0-9a-f]*: a9 34 mul r4,r4
  28803. + *[0-9a-f]*: bd 3e mul lr,lr
  28804. + *[0-9a-f]*: bd 3a mul r10,lr
  28805. + *[0-9a-f]*: b1 30 mul r0,r8
  28806. + *[0-9a-f]*: ab 38 mul r8,r5
  28807. +
  28808. +[0-9a-f]* <asr_imm5>:
  28809. + *[0-9a-f]*: a1 4f asr pc,0x0
  28810. + *[0-9a-f]*: bf 5c asr r12,0x1f
  28811. + *[0-9a-f]*: b1 45 asr r5,0x10
  28812. + *[0-9a-f]*: af 54 asr r4,0xf
  28813. + *[0-9a-f]*: a1 5e asr lr,0x1
  28814. + *[0-9a-f]*: b7 56 asr r6,0x17
  28815. + *[0-9a-f]*: b3 46 asr r6,0x12
  28816. + *[0-9a-f]*: a9 45 asr r5,0x8
  28817. +
  28818. +[0-9a-f]* <lsl_imm5>:
  28819. + *[0-9a-f]*: a1 6f lsl pc,0x0
  28820. + *[0-9a-f]*: bf 7c lsl r12,0x1f
  28821. + *[0-9a-f]*: b1 65 lsl r5,0x10
  28822. + *[0-9a-f]*: af 74 lsl r4,0xf
  28823. + *[0-9a-f]*: a1 7e lsl lr,0x1
  28824. + *[0-9a-f]*: ad 7c lsl r12,0xd
  28825. + *[0-9a-f]*: b1 66 lsl r6,0x10
  28826. + *[0-9a-f]*: b9 71 lsl r1,0x19
  28827. +
  28828. +[0-9a-f]* <lsr_imm5>:
  28829. + *[0-9a-f]*: a1 8f lsr pc,0x0
  28830. + *[0-9a-f]*: bf 9c lsr r12,0x1f
  28831. + *[0-9a-f]*: b1 85 lsr r5,0x10
  28832. + *[0-9a-f]*: af 94 lsr r4,0xf
  28833. + *[0-9a-f]*: a1 9e lsr lr,0x1
  28834. + *[0-9a-f]*: a1 90 lsr r0,0x1
  28835. + *[0-9a-f]*: ab 88 lsr r8,0xa
  28836. + *[0-9a-f]*: bb 87 lsr r7,0x1a
  28837. +
  28838. +[0-9a-f]* <sbr>:
  28839. + *[0-9a-f]*: a1 af sbr pc,0x0
  28840. + *[0-9a-f]*: bf bc sbr r12,0x1f
  28841. + *[0-9a-f]*: b1 a5 sbr r5,0x10
  28842. + *[0-9a-f]*: af b4 sbr r4,0xf
  28843. + *[0-9a-f]*: a1 be sbr lr,0x1
  28844. + *[0-9a-f]*: bf b8 sbr r8,0x1f
  28845. + *[0-9a-f]*: b7 a6 sbr r6,0x16
  28846. + *[0-9a-f]*: b7 b1 sbr r1,0x17
  28847. +
  28848. +[0-9a-f]* <cbr>:
  28849. + *[0-9a-f]*: a1 cf cbr pc,0x0
  28850. + *[0-9a-f]*: bf dc cbr r12,0x1f
  28851. + *[0-9a-f]*: b1 c5 cbr r5,0x10
  28852. + *[0-9a-f]*: af d4 cbr r4,0xf
  28853. + *[0-9a-f]*: a1 de cbr lr,0x1
  28854. + *[0-9a-f]*: ab cc cbr r12,0xa
  28855. + *[0-9a-f]*: b7 c7 cbr r7,0x16
  28856. + *[0-9a-f]*: a9 d8 cbr r8,0x9
  28857. +
  28858. +[0-9a-f]* <brc1>:
  28859. + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
  28860. + *[0-9a-f]*: cf f7 brpl [0-9a-f]* <.*>
  28861. + *[0-9a-f]*: c8 04 brge [0-9a-f]* <.*>
  28862. + *[0-9a-f]*: c7 f3 brcs [0-9a-f]* <.*>
  28863. + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
  28864. + *[0-9a-f]*: c7 33 brcs [0-9a-f]* <.*>
  28865. + *[0-9a-f]*: cf 70 breq [0-9a-f]* <.*>
  28866. + *[0-9a-f]*: c0 60 breq [0-9a-f]* <.*>
  28867. +
  28868. +[0-9a-f]* <rjmp>:
  28869. + *[0-9a-f]*: c0 08 rjmp [0-9a-f]* <.*>
  28870. + *[0-9a-f]*: cf fb rjmp [0-9a-f]* <.*>
  28871. + *[0-9a-f]*: c0 0a rjmp [0-9a-f]* <.*>
  28872. + *[0-9a-f]*: cf f9 rjmp [0-9a-f]* <.*>
  28873. + *[0-9a-f]*: c0 18 rjmp [0-9a-f]* <.*>
  28874. + *[0-9a-f]*: c1 fa rjmp [0-9a-f]* <.*>
  28875. + *[0-9a-f]*: c0 78 rjmp [0-9a-f]* <.*>
  28876. + *[0-9a-f]*: cf ea rjmp [0-9a-f]* <.*>
  28877. +
  28878. +[0-9a-f]* <rcall1>:
  28879. + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
  28880. + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
  28881. + *[0-9a-f]*: c0 0e rcall [0-9a-f]* <.*>
  28882. + *[0-9a-f]*: cf fd rcall [0-9a-f]* <.*>
  28883. + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
  28884. + *[0-9a-f]*: c6 cc rcall [0-9a-f]* <.*>
  28885. + *[0-9a-f]*: cf 7e rcall [0-9a-f]* <.*>
  28886. + *[0-9a-f]*: c1 ae rcall [0-9a-f]* <.*>
  28887. +
  28888. +[0-9a-f]* <acall>:
  28889. + *[0-9a-f]*: d0 00 acall 0x0
  28890. + *[0-9a-f]*: df f0 acall 0x3fc
  28891. + *[0-9a-f]*: d8 00 acall 0x200
  28892. + *[0-9a-f]*: d7 f0 acall 0x1fc
  28893. + *[0-9a-f]*: d0 10 acall 0x4
  28894. + *[0-9a-f]*: d5 90 acall 0x164
  28895. + *[0-9a-f]*: d4 c0 acall 0x130
  28896. + *[0-9a-f]*: d2 b0 acall 0xac
  28897. +
  28898. +[0-9a-f]* <scall>:
  28899. + *[0-9a-f]*: d7 33 scall
  28900. + *[0-9a-f]*: d7 33 scall
  28901. + *[0-9a-f]*: d7 33 scall
  28902. + *[0-9a-f]*: d7 33 scall
  28903. + *[0-9a-f]*: d7 33 scall
  28904. + *[0-9a-f]*: d7 33 scall
  28905. + *[0-9a-f]*: d7 33 scall
  28906. + *[0-9a-f]*: d7 33 scall
  28907. +
  28908. +[0-9a-f]* <popm>:
  28909. + *[0-9a-f]*: d8 02 popm pc
  28910. + *[0-9a-f]*: dd fa popm r0-r11,pc,r12=-1
  28911. + *[0-9a-f]*: d4 02 popm lr
  28912. + *[0-9a-f]*: db fa popm r0-r11,pc,r12=1
  28913. + *[0-9a-f]*: d0 12 popm r0-r3
  28914. + *[0-9a-f]*: d8 e2 popm r4-r10,pc
  28915. + *[0-9a-f]*: d9 1a popm r0-r3,r11,pc,r12=0
  28916. + *[0-9a-f]*: d7 b2 popm r0-r7,r10-r12,lr
  28917. +
  28918. +[0-9a-f]* <pushm>:
  28919. + *[0-9a-f]*: d8 01 pushm pc
  28920. + *[0-9a-f]*: df f1 pushm r0-r12,lr-pc
  28921. + *[0-9a-f]*: d8 01 pushm pc
  28922. + *[0-9a-f]*: d7 f1 pushm r0-r12,lr
  28923. + *[0-9a-f]*: d0 11 pushm r0-r3
  28924. + *[0-9a-f]*: dc c1 pushm r8-r10,lr-pc
  28925. + *[0-9a-f]*: d0 91 pushm r0-r3,r10
  28926. + *[0-9a-f]*: d2 41 pushm r8-r9,r12
  28927. +
  28928. +[0-9a-f]* <popm_n>:
  28929. +.*
  28930. +.*
  28931. +.*
  28932. +.*
  28933. +.*
  28934. +.*
  28935. +.*
  28936. +.*
  28937. +
  28938. +[0-9a-f]* <pushm_n>:
  28939. +.*
  28940. +.*
  28941. +.*
  28942. +.*
  28943. +.*
  28944. +.*
  28945. +.*
  28946. +.*
  28947. +
  28948. +[0-9a-f]* <csrfcz>:
  28949. + *[0-9a-f]*: d0 03 csrfcz 0x0
  28950. + *[0-9a-f]*: d1 f3 csrfcz 0x1f
  28951. + *[0-9a-f]*: d1 03 csrfcz 0x10
  28952. + *[0-9a-f]*: d0 f3 csrfcz 0xf
  28953. + *[0-9a-f]*: d0 13 csrfcz 0x1
  28954. + *[0-9a-f]*: d0 53 csrfcz 0x5
  28955. + *[0-9a-f]*: d0 d3 csrfcz 0xd
  28956. + *[0-9a-f]*: d1 73 csrfcz 0x17
  28957. +
  28958. +[0-9a-f]* <ssrf>:
  28959. + *[0-9a-f]*: d2 03 ssrf 0x0
  28960. + *[0-9a-f]*: d3 f3 ssrf 0x1f
  28961. + *[0-9a-f]*: d3 03 ssrf 0x10
  28962. + *[0-9a-f]*: d2 f3 ssrf 0xf
  28963. + *[0-9a-f]*: d2 13 ssrf 0x1
  28964. + *[0-9a-f]*: d3 d3 ssrf 0x1d
  28965. + *[0-9a-f]*: d2 d3 ssrf 0xd
  28966. + *[0-9a-f]*: d2 d3 ssrf 0xd
  28967. +
  28968. +[0-9a-f]* <csrf>:
  28969. + *[0-9a-f]*: d4 03 csrf 0x0
  28970. + *[0-9a-f]*: d5 f3 csrf 0x1f
  28971. + *[0-9a-f]*: d5 03 csrf 0x10
  28972. + *[0-9a-f]*: d4 f3 csrf 0xf
  28973. + *[0-9a-f]*: d4 13 csrf 0x1
  28974. + *[0-9a-f]*: d4 a3 csrf 0xa
  28975. + *[0-9a-f]*: d4 f3 csrf 0xf
  28976. + *[0-9a-f]*: d4 b3 csrf 0xb
  28977. +
  28978. +[0-9a-f]* <rete>:
  28979. + *[0-9a-f]*: d6 03 rete
  28980. +
  28981. +[0-9a-f]* <rets>:
  28982. + *[0-9a-f]*: d6 13 rets
  28983. +
  28984. +[0-9a-f]* <retd>:
  28985. + *[0-9a-f]*: d6 23 retd
  28986. +
  28987. +[0-9a-f]* <retj>:
  28988. + *[0-9a-f]*: d6 33 retj
  28989. +
  28990. +[0-9a-f]* <tlbr>:
  28991. + *[0-9a-f]*: d6 43 tlbr
  28992. +
  28993. +[0-9a-f]* <tlbs>:
  28994. + *[0-9a-f]*: d6 53 tlbs
  28995. +
  28996. +[0-9a-f]* <tlbw>:
  28997. + *[0-9a-f]*: d6 63 tlbw
  28998. +
  28999. +[0-9a-f]* <breakpoint>:
  29000. + *[0-9a-f]*: d6 73 breakpoint
  29001. +
  29002. +[0-9a-f]* <incjosp>:
  29003. + *[0-9a-f]*: d6 83 incjosp 1
  29004. + *[0-9a-f]*: d6 93 incjosp 2
  29005. + *[0-9a-f]*: d6 a3 incjosp 3
  29006. + *[0-9a-f]*: d6 b3 incjosp 4
  29007. + *[0-9a-f]*: d6 c3 incjosp -4
  29008. + *[0-9a-f]*: d6 d3 incjosp -3
  29009. + *[0-9a-f]*: d6 e3 incjosp -2
  29010. + *[0-9a-f]*: d6 f3 incjosp -1
  29011. +
  29012. +[0-9a-f]* <nop>:
  29013. + *[0-9a-f]*: d7 03 nop
  29014. +
  29015. +[0-9a-f]* <popjc>:
  29016. + *[0-9a-f]*: d7 13 popjc
  29017. +
  29018. +[0-9a-f]* <pushjc>:
  29019. + *[0-9a-f]*: d7 23 pushjc
  29020. +
  29021. +[0-9a-f]* <add2>:
  29022. + *[0-9a-f]*: fe 0f 00 0f add pc,pc,pc
  29023. + *[0-9a-f]*: f8 0c 00 3c add r12,r12,r12<<0x3
  29024. + *[0-9a-f]*: ea 05 00 25 add r5,r5,r5<<0x2
  29025. + *[0-9a-f]*: e8 04 00 14 add r4,r4,r4<<0x1
  29026. + *[0-9a-f]*: fc 0e 00 1e add lr,lr,lr<<0x1
  29027. + *[0-9a-f]*: f8 00 00 10 add r0,r12,r0<<0x1
  29028. + *[0-9a-f]*: f8 04 00 09 add r9,r12,r4
  29029. + *[0-9a-f]*: f8 07 00 2c add r12,r12,r7<<0x2
  29030. +
  29031. +[0-9a-f]* <sub2>:
  29032. + *[0-9a-f]*: fe 0f 01 0f sub pc,pc,pc
  29033. + *[0-9a-f]*: f8 0c 01 3c sub r12,r12,r12<<0x3
  29034. + *[0-9a-f]*: ea 05 01 25 sub r5,r5,r5<<0x2
  29035. + *[0-9a-f]*: e8 04 01 14 sub r4,r4,r4<<0x1
  29036. + *[0-9a-f]*: fc 0e 01 1e sub lr,lr,lr<<0x1
  29037. + *[0-9a-f]*: e6 04 01 0d sub sp,r3,r4
  29038. + *[0-9a-f]*: ee 03 01 03 sub r3,r7,r3
  29039. + *[0-9a-f]*: f4 0d 01 1d sub sp,r10,sp<<0x1
  29040. +
  29041. +[0-9a-f]* <divu>:
  29042. + *[0-9a-f]*: fe 0f 0d 0f divu pc,pc,pc
  29043. + *[0-9a-f]*: f8 0c 0d 0c divu r12,r12,r12
  29044. + *[0-9a-f]*: ea 05 0d 05 divu r5,r5,r5
  29045. + *[0-9a-f]*: e8 04 0d 04 divu r4,r4,r4
  29046. + *[0-9a-f]*: fc 0e 0d 0e divu lr,lr,lr
  29047. + *[0-9a-f]*: e8 0f 0d 0d divu sp,r4,pc
  29048. + *[0-9a-f]*: ea 0d 0d 05 divu r5,r5,sp
  29049. + *[0-9a-f]*: fa 00 0d 0a divu r10,sp,r0
  29050. +
  29051. +[0-9a-f]* <addhh_w>:
  29052. + *[0-9a-f]*: fe 0f 0e 0f addhh\.w pc,pc:b,pc:b
  29053. + *[0-9a-f]*: f8 0c 0e 3c addhh\.w r12,r12:t,r12:t
  29054. + *[0-9a-f]*: ea 05 0e 35 addhh\.w r5,r5:t,r5:t
  29055. + *[0-9a-f]*: e8 04 0e 04 addhh\.w r4,r4:b,r4:b
  29056. + *[0-9a-f]*: fc 0e 0e 3e addhh\.w lr,lr:t,lr:t
  29057. + *[0-9a-f]*: e0 03 0e 00 addhh\.w r0,r0:b,r3:b
  29058. + *[0-9a-f]*: f8 07 0e 2e addhh\.w lr,r12:t,r7:b
  29059. + *[0-9a-f]*: f4 02 0e 23 addhh\.w r3,r10:t,r2:b
  29060. +
  29061. +[0-9a-f]* <subhh_w>:
  29062. + *[0-9a-f]*: fe 0f 0f 0f subhh\.w pc,pc:b,pc:b
  29063. + *[0-9a-f]*: f8 0c 0f 3c subhh\.w r12,r12:t,r12:t
  29064. + *[0-9a-f]*: ea 05 0f 35 subhh\.w r5,r5:t,r5:t
  29065. + *[0-9a-f]*: e8 04 0f 04 subhh\.w r4,r4:b,r4:b
  29066. + *[0-9a-f]*: fc 0e 0f 3e subhh\.w lr,lr:t,lr:t
  29067. + *[0-9a-f]*: e2 07 0f 2a subhh\.w r10,r1:t,r7:b
  29068. + *[0-9a-f]*: f4 0e 0f 3f subhh\.w pc,r10:t,lr:t
  29069. + *[0-9a-f]*: e0 0c 0f 23 subhh\.w r3,r0:t,r12:b
  29070. +
  29071. +[0-9a-f]* <adc>:
  29072. + *[0-9a-f]*: fe 0f 00 4f adc pc,pc,pc
  29073. + *[0-9a-f]*: f8 0c 00 4c adc r12,r12,r12
  29074. + *[0-9a-f]*: ea 05 00 45 adc r5,r5,r5
  29075. + *[0-9a-f]*: e8 04 00 44 adc r4,r4,r4
  29076. + *[0-9a-f]*: fc 0e 00 4e adc lr,lr,lr
  29077. + *[0-9a-f]*: e0 07 00 44 adc r4,r0,r7
  29078. + *[0-9a-f]*: e8 03 00 4d adc sp,r4,r3
  29079. + *[0-9a-f]*: f8 00 00 42 adc r2,r12,r0
  29080. +
  29081. +[0-9a-f]* <sbc>:
  29082. + *[0-9a-f]*: fe 0f 01 4f sbc pc,pc,pc
  29083. + *[0-9a-f]*: f8 0c 01 4c sbc r12,r12,r12
  29084. + *[0-9a-f]*: ea 05 01 45 sbc r5,r5,r5
  29085. + *[0-9a-f]*: e8 04 01 44 sbc r4,r4,r4
  29086. + *[0-9a-f]*: fc 0e 01 4e sbc lr,lr,lr
  29087. + *[0-9a-f]*: ee 09 01 46 sbc r6,r7,r9
  29088. + *[0-9a-f]*: f0 05 01 40 sbc r0,r8,r5
  29089. + *[0-9a-f]*: e0 04 01 41 sbc r1,r0,r4
  29090. +
  29091. +[0-9a-f]* <mul_2>:
  29092. + *[0-9a-f]*: fe 0f 02 4f mul pc,pc,pc
  29093. + *[0-9a-f]*: f8 0c 02 4c mul r12,r12,r12
  29094. + *[0-9a-f]*: ea 05 02 45 mul r5,r5,r5
  29095. + *[0-9a-f]*: e8 04 02 44 mul r4,r4,r4
  29096. + *[0-9a-f]*: fc 0e 02 4e mul lr,lr,lr
  29097. + *[0-9a-f]*: e0 00 02 4f mul pc,r0,r0
  29098. + *[0-9a-f]*: fe 0e 02 48 mul r8,pc,lr
  29099. + *[0-9a-f]*: f8 0f 02 44 mul r4,r12,pc
  29100. +
  29101. +[0-9a-f]* <mac>:
  29102. + *[0-9a-f]*: fe 0f 03 4f mac pc,pc,pc
  29103. + *[0-9a-f]*: f8 0c 03 4c mac r12,r12,r12
  29104. + *[0-9a-f]*: ea 05 03 45 mac r5,r5,r5
  29105. + *[0-9a-f]*: e8 04 03 44 mac r4,r4,r4
  29106. + *[0-9a-f]*: fc 0e 03 4e mac lr,lr,lr
  29107. + *[0-9a-f]*: e8 00 03 4a mac r10,r4,r0
  29108. + *[0-9a-f]*: fc 00 03 47 mac r7,lr,r0
  29109. + *[0-9a-f]*: f2 0c 03 42 mac r2,r9,r12
  29110. +
  29111. +[0-9a-f]* <mulsd>:
  29112. + *[0-9a-f]*: fe 0f 04 4f muls\.d pc,pc,pc
  29113. + *[0-9a-f]*: f8 0c 04 4c muls\.d r12,r12,r12
  29114. + *[0-9a-f]*: ea 05 04 45 muls\.d r5,r5,r5
  29115. + *[0-9a-f]*: e8 04 04 44 muls\.d r4,r4,r4
  29116. + *[0-9a-f]*: fc 0e 04 4e muls\.d lr,lr,lr
  29117. + *[0-9a-f]*: f0 0e 04 42 muls\.d r2,r8,lr
  29118. + *[0-9a-f]*: e0 0b 04 44 muls\.d r4,r0,r11
  29119. + *[0-9a-f]*: fc 06 04 45 muls\.d r5,lr,r6
  29120. +
  29121. +[0-9a-f]* <macsd>:
  29122. + *[0-9a-f]*: fe 0f 05 40 macs\.d r0,pc,pc
  29123. + *[0-9a-f]*: f8 0c 05 4e macs\.d lr,r12,r12
  29124. + *[0-9a-f]*: ea 05 05 48 macs\.d r8,r5,r5
  29125. + *[0-9a-f]*: e8 04 05 46 macs\.d r6,r4,r4
  29126. + *[0-9a-f]*: fc 0e 05 42 macs\.d r2,lr,lr
  29127. + *[0-9a-f]*: e2 09 05 48 macs\.d r8,r1,r9
  29128. + *[0-9a-f]*: f0 08 05 4e macs\.d lr,r8,r8
  29129. + *[0-9a-f]*: e6 0c 05 44 macs\.d r4,r3,r12
  29130. +
  29131. +[0-9a-f]* <mulud>:
  29132. + *[0-9a-f]*: fe 0f 06 40 mulu\.d r0,pc,pc
  29133. + *[0-9a-f]*: f8 0c 06 4e mulu\.d lr,r12,r12
  29134. + *[0-9a-f]*: ea 05 06 48 mulu\.d r8,r5,r5
  29135. + *[0-9a-f]*: e8 04 06 46 mulu\.d r6,r4,r4
  29136. + *[0-9a-f]*: fc 0e 06 42 mulu\.d r2,lr,lr
  29137. + *[0-9a-f]*: ea 00 06 46 mulu\.d r6,r5,r0
  29138. + *[0-9a-f]*: ec 01 06 44 mulu\.d r4,r6,r1
  29139. + *[0-9a-f]*: f0 02 06 48 mulu\.d r8,r8,r2
  29140. +
  29141. +[0-9a-f]* <macud>:
  29142. + *[0-9a-f]*: fe 0f 07 40 macu\.d r0,pc,pc
  29143. + *[0-9a-f]*: f8 0c 07 4e macu\.d lr,r12,r12
  29144. + *[0-9a-f]*: ea 05 07 48 macu\.d r8,r5,r5
  29145. + *[0-9a-f]*: e8 04 07 46 macu\.d r6,r4,r4
  29146. + *[0-9a-f]*: fc 0e 07 42 macu\.d r2,lr,lr
  29147. + *[0-9a-f]*: fa 0b 07 46 macu\.d r6,sp,r11
  29148. + *[0-9a-f]*: e8 08 07 42 macu\.d r2,r4,r8
  29149. + *[0-9a-f]*: f4 09 07 46 macu\.d r6,r10,r9
  29150. +
  29151. +[0-9a-f]* <asr_1>:
  29152. + *[0-9a-f]*: fe 0f 08 4f asr pc,pc,pc
  29153. + *[0-9a-f]*: f8 0c 08 4c asr r12,r12,r12
  29154. + *[0-9a-f]*: ea 05 08 45 asr r5,r5,r5
  29155. + *[0-9a-f]*: e8 04 08 44 asr r4,r4,r4
  29156. + *[0-9a-f]*: fc 0e 08 4e asr lr,lr,lr
  29157. + *[0-9a-f]*: ec 0f 08 4f asr pc,r6,pc
  29158. + *[0-9a-f]*: ec 0c 08 40 asr r0,r6,r12
  29159. + *[0-9a-f]*: fa 00 08 44 asr r4,sp,r0
  29160. +
  29161. +[0-9a-f]* <lsl_1>:
  29162. + *[0-9a-f]*: fe 0f 09 4f lsl pc,pc,pc
  29163. + *[0-9a-f]*: f8 0c 09 4c lsl r12,r12,r12
  29164. + *[0-9a-f]*: ea 05 09 45 lsl r5,r5,r5
  29165. + *[0-9a-f]*: e8 04 09 44 lsl r4,r4,r4
  29166. + *[0-9a-f]*: fc 0e 09 4e lsl lr,lr,lr
  29167. + *[0-9a-f]*: ea 0e 09 4e lsl lr,r5,lr
  29168. + *[0-9a-f]*: fe 03 09 45 lsl r5,pc,r3
  29169. + *[0-9a-f]*: fe 09 09 41 lsl r1,pc,r9
  29170. +
  29171. +[0-9a-f]* <lsr_1>:
  29172. + *[0-9a-f]*: fe 0f 0a 4f lsr pc,pc,pc
  29173. + *[0-9a-f]*: f8 0c 0a 4c lsr r12,r12,r12
  29174. + *[0-9a-f]*: ea 05 0a 45 lsr r5,r5,r5
  29175. + *[0-9a-f]*: e8 04 0a 44 lsr r4,r4,r4
  29176. + *[0-9a-f]*: fc 0e 0a 4e lsr lr,lr,lr
  29177. + *[0-9a-f]*: e8 01 0a 42 lsr r2,r4,r1
  29178. + *[0-9a-f]*: e2 06 0a 45 lsr r5,r1,r6
  29179. + *[0-9a-f]*: ec 07 0a 4d lsr sp,r6,r7
  29180. +
  29181. +[0-9a-f]* <xchg>:
  29182. + *[0-9a-f]*: fe 0f 0b 4f xchg pc,pc,pc
  29183. + *[0-9a-f]*: f8 0c 0b 4c xchg r12,r12,r12
  29184. + *[0-9a-f]*: ea 05 0b 45 xchg r5,r5,r5
  29185. + *[0-9a-f]*: e8 04 0b 44 xchg r4,r4,r4
  29186. + *[0-9a-f]*: fc 0e 0b 4e xchg lr,lr,lr
  29187. + *[0-9a-f]*: e8 0d 0b 4e xchg lr,r4,sp
  29188. + *[0-9a-f]*: ea 0c 0b 41 xchg r1,r5,r12
  29189. + *[0-9a-f]*: f8 00 0b 4e xchg lr,r12,r0
  29190. +
  29191. +[0-9a-f]* <max>:
  29192. + *[0-9a-f]*: fe 0f 0c 4f max pc,pc,pc
  29193. + *[0-9a-f]*: f8 0c 0c 4c max r12,r12,r12
  29194. + *[0-9a-f]*: ea 05 0c 45 max r5,r5,r5
  29195. + *[0-9a-f]*: e8 04 0c 44 max r4,r4,r4
  29196. + *[0-9a-f]*: fc 0e 0c 4e max lr,lr,lr
  29197. + *[0-9a-f]*: e4 0d 0c 4e max lr,r2,sp
  29198. + *[0-9a-f]*: f4 09 0c 44 max r4,r10,r9
  29199. + *[0-9a-f]*: f2 0e 0c 4e max lr,r9,lr
  29200. +
  29201. +[0-9a-f]* <min>:
  29202. + *[0-9a-f]*: fe 0f 0d 4f min pc,pc,pc
  29203. + *[0-9a-f]*: f8 0c 0d 4c min r12,r12,r12
  29204. + *[0-9a-f]*: ea 05 0d 45 min r5,r5,r5
  29205. + *[0-9a-f]*: e8 04 0d 44 min r4,r4,r4
  29206. + *[0-9a-f]*: fc 0e 0d 4e min lr,lr,lr
  29207. + *[0-9a-f]*: ee 08 0d 49 min r9,r7,r8
  29208. + *[0-9a-f]*: ea 05 0d 4d min sp,r5,r5
  29209. + *[0-9a-f]*: e2 04 0d 44 min r4,r1,r4
  29210. +
  29211. +[0-9a-f]* <addabs>:
  29212. + *[0-9a-f]*: fe 0f 0e 4f addabs pc,pc,pc
  29213. + *[0-9a-f]*: f8 0c 0e 4c addabs r12,r12,r12
  29214. + *[0-9a-f]*: ea 05 0e 45 addabs r5,r5,r5
  29215. + *[0-9a-f]*: e8 04 0e 44 addabs r4,r4,r4
  29216. + *[0-9a-f]*: fc 0e 0e 4e addabs lr,lr,lr
  29217. + *[0-9a-f]*: f4 00 0e 47 addabs r7,r10,r0
  29218. + *[0-9a-f]*: f2 07 0e 49 addabs r9,r9,r7
  29219. + *[0-9a-f]*: f0 0c 0e 42 addabs r2,r8,r12
  29220. +
  29221. +[0-9a-f]* <mulnhh_w>:
  29222. + *[0-9a-f]*: fe 0f 01 8f mulnhh\.w pc,pc:b,pc:b
  29223. + *[0-9a-f]*: f8 0c 01 bc mulnhh\.w r12,r12:t,r12:t
  29224. + *[0-9a-f]*: ea 05 01 b5 mulnhh\.w r5,r5:t,r5:t
  29225. + *[0-9a-f]*: e8 04 01 84 mulnhh\.w r4,r4:b,r4:b
  29226. + *[0-9a-f]*: fc 0e 01 be mulnhh\.w lr,lr:t,lr:t
  29227. + *[0-9a-f]*: fa 09 01 ab mulnhh\.w r11,sp:t,r9:b
  29228. + *[0-9a-f]*: e8 0e 01 9d mulnhh\.w sp,r4:b,lr:t
  29229. + *[0-9a-f]*: e4 0b 01 ac mulnhh\.w r12,r2:t,r11:b
  29230. +
  29231. +[0-9a-f]* <mulnwh_d>:
  29232. + *[0-9a-f]*: fe 0f 02 80 mulnwh\.d r0,pc,pc:b
  29233. + *[0-9a-f]*: f8 0c 02 9e mulnwh\.d lr,r12,r12:t
  29234. + *[0-9a-f]*: ea 05 02 98 mulnwh\.d r8,r5,r5:t
  29235. + *[0-9a-f]*: e8 04 02 86 mulnwh\.d r6,r4,r4:b
  29236. + *[0-9a-f]*: fc 0e 02 92 mulnwh\.d r2,lr,lr:t
  29237. + *[0-9a-f]*: e6 02 02 9e mulnwh\.d lr,r3,r2:t
  29238. + *[0-9a-f]*: ea 09 02 84 mulnwh\.d r4,r5,r9:b
  29239. + *[0-9a-f]*: e8 04 02 9c mulnwh\.d r12,r4,r4:t
  29240. +
  29241. +[0-9a-f]* <machh_w>:
  29242. + *[0-9a-f]*: fe 0f 04 8f machh\.w pc,pc:b,pc:b
  29243. + *[0-9a-f]*: f8 0c 04 bc machh\.w r12,r12:t,r12:t
  29244. + *[0-9a-f]*: ea 05 04 b5 machh\.w r5,r5:t,r5:t
  29245. + *[0-9a-f]*: e8 04 04 84 machh\.w r4,r4:b,r4:b
  29246. + *[0-9a-f]*: fc 0e 04 be machh\.w lr,lr:t,lr:t
  29247. + *[0-9a-f]*: ea 01 04 9e machh\.w lr,r5:b,r1:t
  29248. + *[0-9a-f]*: ec 07 04 89 machh\.w r9,r6:b,r7:b
  29249. + *[0-9a-f]*: fc 0c 04 a5 machh\.w r5,lr:t,r12:b
  29250. +
  29251. +[0-9a-f]* <machh_d>:
  29252. + *[0-9a-f]*: fe 0f 05 80 machh\.d r0,pc:b,pc:b
  29253. + *[0-9a-f]*: f8 0c 05 be machh\.d lr,r12:t,r12:t
  29254. + *[0-9a-f]*: ea 05 05 b8 machh\.d r8,r5:t,r5:t
  29255. + *[0-9a-f]*: e8 04 05 86 machh\.d r6,r4:b,r4:b
  29256. + *[0-9a-f]*: fc 0e 05 b2 machh\.d r2,lr:t,lr:t
  29257. + *[0-9a-f]*: e0 08 05 8a machh\.d r10,r0:b,r8:b
  29258. + *[0-9a-f]*: e8 05 05 9e machh\.d lr,r4:b,r5:t
  29259. + *[0-9a-f]*: e0 04 05 98 machh\.d r8,r0:b,r4:t
  29260. +
  29261. +[0-9a-f]* <macsathh_w>:
  29262. + *[0-9a-f]*: fe 0f 06 8f macsathh\.w pc,pc:b,pc:b
  29263. + *[0-9a-f]*: f8 0c 06 bc macsathh\.w r12,r12:t,r12:t
  29264. + *[0-9a-f]*: ea 05 06 b5 macsathh\.w r5,r5:t,r5:t
  29265. + *[0-9a-f]*: e8 04 06 84 macsathh\.w r4,r4:b,r4:b
  29266. + *[0-9a-f]*: fc 0e 06 be macsathh\.w lr,lr:t,lr:t
  29267. + *[0-9a-f]*: ee 0f 06 b7 macsathh\.w r7,r7:t,pc:t
  29268. + *[0-9a-f]*: e4 04 06 a4 macsathh\.w r4,r2:t,r4:b
  29269. + *[0-9a-f]*: f0 03 06 b4 macsathh\.w r4,r8:t,r3:t
  29270. +
  29271. +[0-9a-f]* <mulhh_w>:
  29272. + *[0-9a-f]*: fe 0f 07 8f mulhh\.w pc,pc:b,pc:b
  29273. + *[0-9a-f]*: f8 0c 07 bc mulhh\.w r12,r12:t,r12:t
  29274. + *[0-9a-f]*: ea 05 07 b5 mulhh\.w r5,r5:t,r5:t
  29275. + *[0-9a-f]*: e8 04 07 84 mulhh\.w r4,r4:b,r4:b
  29276. + *[0-9a-f]*: fc 0e 07 be mulhh\.w lr,lr:t,lr:t
  29277. + *[0-9a-f]*: e8 09 07 a7 mulhh\.w r7,r4:t,r9:b
  29278. + *[0-9a-f]*: e6 07 07 bf mulhh\.w pc,r3:t,r7:t
  29279. + *[0-9a-f]*: e8 09 07 9f mulhh\.w pc,r4:b,r9:t
  29280. +
  29281. +[0-9a-f]* <mulsathh_h>:
  29282. + *[0-9a-f]*: fe 0f 08 8f mulsathh\.h pc,pc:b,pc:b
  29283. + *[0-9a-f]*: f8 0c 08 bc mulsathh\.h r12,r12:t,r12:t
  29284. + *[0-9a-f]*: ea 05 08 b5 mulsathh\.h r5,r5:t,r5:t
  29285. + *[0-9a-f]*: e8 04 08 84 mulsathh\.h r4,r4:b,r4:b
  29286. + *[0-9a-f]*: fc 0e 08 be mulsathh\.h lr,lr:t,lr:t
  29287. + *[0-9a-f]*: e2 0d 08 83 mulsathh\.h r3,r1:b,sp:b
  29288. + *[0-9a-f]*: fc 0b 08 ab mulsathh\.h r11,lr:t,r11:b
  29289. + *[0-9a-f]*: f0 0b 08 98 mulsathh\.h r8,r8:b,r11:t
  29290. +
  29291. +[0-9a-f]* <mulsathh_w>:
  29292. + *[0-9a-f]*: fe 0f 09 8f mulsathh\.w pc,pc:b,pc:b
  29293. + *[0-9a-f]*: f8 0c 09 bc mulsathh\.w r12,r12:t,r12:t
  29294. + *[0-9a-f]*: ea 05 09 b5 mulsathh\.w r5,r5:t,r5:t
  29295. + *[0-9a-f]*: e8 04 09 84 mulsathh\.w r4,r4:b,r4:b
  29296. + *[0-9a-f]*: fc 0e 09 be mulsathh\.w lr,lr:t,lr:t
  29297. + *[0-9a-f]*: f6 06 09 ae mulsathh\.w lr,r11:t,r6:b
  29298. + *[0-9a-f]*: ec 07 09 96 mulsathh\.w r6,r6:b,r7:t
  29299. + *[0-9a-f]*: e4 03 09 8a mulsathh\.w r10,r2:b,r3:b
  29300. +
  29301. +[0-9a-f]* <mulsatrndhh_h>:
  29302. + *[0-9a-f]*: fe 0f 0a 8f mulsatrndhh\.h pc,pc:b,pc:b
  29303. + *[0-9a-f]*: f8 0c 0a bc mulsatrndhh\.h r12,r12:t,r12:t
  29304. + *[0-9a-f]*: ea 05 0a b5 mulsatrndhh\.h r5,r5:t,r5:t
  29305. + *[0-9a-f]*: e8 04 0a 84 mulsatrndhh\.h r4,r4:b,r4:b
  29306. + *[0-9a-f]*: fc 0e 0a be mulsatrndhh\.h lr,lr:t,lr:t
  29307. + *[0-9a-f]*: ec 09 0a 8b mulsatrndhh\.h r11,r6:b,r9:b
  29308. + *[0-9a-f]*: e6 08 0a 9b mulsatrndhh\.h r11,r3:b,r8:t
  29309. + *[0-9a-f]*: fa 07 0a b5 mulsatrndhh\.h r5,sp:t,r7:t
  29310. +
  29311. +[0-9a-f]* <mulsatrndwh_w>:
  29312. + *[0-9a-f]*: fe 0f 0b 8f mulsatrndwh\.w pc,pc,pc:b
  29313. + *[0-9a-f]*: f8 0c 0b 9c mulsatrndwh\.w r12,r12,r12:t
  29314. + *[0-9a-f]*: ea 05 0b 95 mulsatrndwh\.w r5,r5,r5:t
  29315. + *[0-9a-f]*: e8 04 0b 84 mulsatrndwh\.w r4,r4,r4:b
  29316. + *[0-9a-f]*: fc 0e 0b 9e mulsatrndwh\.w lr,lr,lr:t
  29317. + *[0-9a-f]*: f8 00 0b 85 mulsatrndwh\.w r5,r12,r0:b
  29318. + *[0-9a-f]*: f4 0f 0b 87 mulsatrndwh\.w r7,r10,pc:b
  29319. + *[0-9a-f]*: f0 05 0b 9a mulsatrndwh\.w r10,r8,r5:t
  29320. +
  29321. +[0-9a-f]* <macwh_d>:
  29322. + *[0-9a-f]*: fe 0f 0c 80 macwh\.d r0,pc,pc:b
  29323. + *[0-9a-f]*: f8 0c 0c 9e macwh\.d lr,r12,r12:t
  29324. + *[0-9a-f]*: ea 05 0c 98 macwh\.d r8,r5,r5:t
  29325. + *[0-9a-f]*: e8 04 0c 86 macwh\.d r6,r4,r4:b
  29326. + *[0-9a-f]*: fc 0e 0c 92 macwh\.d r2,lr,lr:t
  29327. + *[0-9a-f]*: f4 0c 0c 94 macwh\.d r4,r10,r12:t
  29328. + *[0-9a-f]*: ee 0d 0c 84 macwh\.d r4,r7,sp:b
  29329. + *[0-9a-f]*: f2 0b 0c 8e macwh\.d lr,r9,r11:b
  29330. +
  29331. +[0-9a-f]* <mulwh_d>:
  29332. + *[0-9a-f]*: fe 0f 0d 80 mulwh\.d r0,pc,pc:b
  29333. + *[0-9a-f]*: f8 0c 0d 9e mulwh\.d lr,r12,r12:t
  29334. + *[0-9a-f]*: ea 05 0d 98 mulwh\.d r8,r5,r5:t
  29335. + *[0-9a-f]*: e8 04 0d 86 mulwh\.d r6,r4,r4:b
  29336. + *[0-9a-f]*: fc 0e 0d 92 mulwh\.d r2,lr,lr:t
  29337. + *[0-9a-f]*: ea 01 0d 8c mulwh\.d r12,r5,r1:b
  29338. + *[0-9a-f]*: e2 03 0d 90 mulwh\.d r0,r1,r3:t
  29339. + *[0-9a-f]*: f2 02 0d 80 mulwh\.d r0,r9,r2:b
  29340. +
  29341. +[0-9a-f]* <mulsatwh_w>:
  29342. + *[0-9a-f]*: fe 0f 0e 8f mulsatwh\.w pc,pc,pc:b
  29343. + *[0-9a-f]*: f8 0c 0e 9c mulsatwh\.w r12,r12,r12:t
  29344. + *[0-9a-f]*: ea 05 0e 95 mulsatwh\.w r5,r5,r5:t
  29345. + *[0-9a-f]*: e8 04 0e 84 mulsatwh\.w r4,r4,r4:b
  29346. + *[0-9a-f]*: fc 0e 0e 9e mulsatwh\.w lr,lr,lr:t
  29347. + *[0-9a-f]*: fe 0a 0e 9b mulsatwh\.w r11,pc,r10:t
  29348. + *[0-9a-f]*: f8 09 0e 9d mulsatwh\.w sp,r12,r9:t
  29349. + *[0-9a-f]*: e6 02 0e 90 mulsatwh\.w r0,r3,r2:t
  29350. +
  29351. +[0-9a-f]* <ldw7>:
  29352. + *[0-9a-f]*: fe 0f 0f 8f ld\.w pc,pc\[pc:b<<2\]
  29353. + *[0-9a-f]*: f8 0c 0f bc ld\.w r12,r12\[r12:t<<2\]
  29354. + *[0-9a-f]*: ea 05 0f a5 ld\.w r5,r5\[r5:u<<2\]
  29355. + *[0-9a-f]*: e8 04 0f 94 ld\.w r4,r4\[r4:l<<2\]
  29356. + *[0-9a-f]*: fc 0e 0f 9e ld\.w lr,lr\[lr:l<<2\]
  29357. + *[0-9a-f]*: f4 06 0f 99 ld\.w r9,r10\[r6:l<<2\]
  29358. + *[0-9a-f]*: f4 0a 0f 82 ld\.w r2,r10\[r10:b<<2\]
  29359. + *[0-9a-f]*: ea 0f 0f 8b ld\.w r11,r5\[pc:b<<2\]
  29360. +
  29361. +[0-9a-f]* <satadd_w>:
  29362. + *[0-9a-f]*: fe 0f 00 cf satadd\.w pc,pc,pc
  29363. + *[0-9a-f]*: f8 0c 00 cc satadd\.w r12,r12,r12
  29364. + *[0-9a-f]*: ea 05 00 c5 satadd\.w r5,r5,r5
  29365. + *[0-9a-f]*: e8 04 00 c4 satadd\.w r4,r4,r4
  29366. + *[0-9a-f]*: fc 0e 00 ce satadd\.w lr,lr,lr
  29367. + *[0-9a-f]*: f0 0b 00 c4 satadd\.w r4,r8,r11
  29368. + *[0-9a-f]*: f8 06 00 c3 satadd\.w r3,r12,r6
  29369. + *[0-9a-f]*: fc 09 00 c3 satadd\.w r3,lr,r9
  29370. +
  29371. +[0-9a-f]* <satsub_w1>:
  29372. + *[0-9a-f]*: fe 0f 01 cf satsub\.w pc,pc,pc
  29373. + *[0-9a-f]*: f8 0c 01 cc satsub\.w r12,r12,r12
  29374. + *[0-9a-f]*: ea 05 01 c5 satsub\.w r5,r5,r5
  29375. + *[0-9a-f]*: e8 04 01 c4 satsub\.w r4,r4,r4
  29376. + *[0-9a-f]*: fc 0e 01 ce satsub\.w lr,lr,lr
  29377. + *[0-9a-f]*: fa 00 01 c8 satsub\.w r8,sp,r0
  29378. + *[0-9a-f]*: f0 04 01 c9 satsub\.w r9,r8,r4
  29379. + *[0-9a-f]*: fc 02 01 cf satsub\.w pc,lr,r2
  29380. +
  29381. +[0-9a-f]* <satadd_h>:
  29382. + *[0-9a-f]*: fe 0f 02 cf satadd\.h pc,pc,pc
  29383. + *[0-9a-f]*: f8 0c 02 cc satadd\.h r12,r12,r12
  29384. + *[0-9a-f]*: ea 05 02 c5 satadd\.h r5,r5,r5
  29385. + *[0-9a-f]*: e8 04 02 c4 satadd\.h r4,r4,r4
  29386. + *[0-9a-f]*: fc 0e 02 ce satadd\.h lr,lr,lr
  29387. + *[0-9a-f]*: e6 09 02 c7 satadd\.h r7,r3,r9
  29388. + *[0-9a-f]*: e0 02 02 c1 satadd\.h r1,r0,r2
  29389. + *[0-9a-f]*: e8 0e 02 c1 satadd\.h r1,r4,lr
  29390. +
  29391. +[0-9a-f]* <satsub_h>:
  29392. + *[0-9a-f]*: fe 0f 03 cf satsub\.h pc,pc,pc
  29393. + *[0-9a-f]*: f8 0c 03 cc satsub\.h r12,r12,r12
  29394. + *[0-9a-f]*: ea 05 03 c5 satsub\.h r5,r5,r5
  29395. + *[0-9a-f]*: e8 04 03 c4 satsub\.h r4,r4,r4
  29396. + *[0-9a-f]*: fc 0e 03 ce satsub\.h lr,lr,lr
  29397. + *[0-9a-f]*: fc 03 03 ce satsub\.h lr,lr,r3
  29398. + *[0-9a-f]*: ec 05 03 cb satsub\.h r11,r6,r5
  29399. + *[0-9a-f]*: fa 00 03 c3 satsub\.h r3,sp,r0
  29400. +
  29401. +[0-9a-f]* <mul3>:
  29402. + *[0-9a-f]*: fe 0f 10 00 mul pc,pc,0
  29403. + *[0-9a-f]*: f8 0c 10 ff mul r12,r12,-1
  29404. + *[0-9a-f]*: ea 05 10 80 mul r5,r5,-128
  29405. + *[0-9a-f]*: e8 04 10 7f mul r4,r4,127
  29406. + *[0-9a-f]*: fc 0e 10 01 mul lr,lr,1
  29407. + *[0-9a-f]*: e4 0c 10 f9 mul r12,r2,-7
  29408. + *[0-9a-f]*: fe 01 10 5f mul r1,pc,95
  29409. + *[0-9a-f]*: ec 04 10 13 mul r4,r6,19
  29410. +
  29411. +[0-9a-f]* <rsub2>:
  29412. + *[0-9a-f]*: fe 0f 11 00 rsub pc,pc,0
  29413. + *[0-9a-f]*: f8 0c 11 ff rsub r12,r12,-1
  29414. + *[0-9a-f]*: ea 05 11 80 rsub r5,r5,-128
  29415. + *[0-9a-f]*: e8 04 11 7f rsub r4,r4,127
  29416. + *[0-9a-f]*: fc 0e 11 01 rsub lr,lr,1
  29417. + *[0-9a-f]*: fc 09 11 60 rsub r9,lr,96
  29418. + *[0-9a-f]*: e2 0b 11 38 rsub r11,r1,56
  29419. + *[0-9a-f]*: ee 00 11 a9 rsub r0,r7,-87
  29420. +
  29421. +[0-9a-f]* <clz>:
  29422. + *[0-9a-f]*: fe 0f 12 00 clz pc,pc
  29423. + *[0-9a-f]*: f8 0c 12 00 clz r12,r12
  29424. + *[0-9a-f]*: ea 05 12 00 clz r5,r5
  29425. + *[0-9a-f]*: e8 04 12 00 clz r4,r4
  29426. + *[0-9a-f]*: fc 0e 12 00 clz lr,lr
  29427. + *[0-9a-f]*: e6 02 12 00 clz r2,r3
  29428. + *[0-9a-f]*: f6 05 12 00 clz r5,r11
  29429. + *[0-9a-f]*: e6 0f 12 00 clz pc,r3
  29430. +
  29431. +[0-9a-f]* <cpc1>:
  29432. + *[0-9a-f]*: fe 0f 13 00 cpc pc,pc
  29433. + *[0-9a-f]*: f8 0c 13 00 cpc r12,r12
  29434. + *[0-9a-f]*: ea 05 13 00 cpc r5,r5
  29435. + *[0-9a-f]*: e8 04 13 00 cpc r4,r4
  29436. + *[0-9a-f]*: fc 0e 13 00 cpc lr,lr
  29437. + *[0-9a-f]*: e8 0f 13 00 cpc pc,r4
  29438. + *[0-9a-f]*: f2 05 13 00 cpc r5,r9
  29439. + *[0-9a-f]*: ee 06 13 00 cpc r6,r7
  29440. +
  29441. +[0-9a-f]* <asr3>:
  29442. + *[0-9a-f]*: fe 0f 14 00 asr pc,pc,0x0
  29443. + *[0-9a-f]*: f8 0c 14 1f asr r12,r12,0x1f
  29444. + *[0-9a-f]*: ea 05 14 10 asr r5,r5,0x10
  29445. + *[0-9a-f]*: e8 04 14 0f asr r4,r4,0xf
  29446. + *[0-9a-f]*: fc 0e 14 01 asr lr,lr,0x1
  29447. + *[0-9a-f]*: f6 04 14 13 asr r4,r11,0x13
  29448. + *[0-9a-f]*: fe 0d 14 1a asr sp,pc,0x1a
  29449. + *[0-9a-f]*: fa 0b 14 08 asr r11,sp,0x8
  29450. +
  29451. +[0-9a-f]* <lsl3>:
  29452. + *[0-9a-f]*: fe 0f 15 00 lsl pc,pc,0x0
  29453. + *[0-9a-f]*: f8 0c 15 1f lsl r12,r12,0x1f
  29454. + *[0-9a-f]*: ea 05 15 10 lsl r5,r5,0x10
  29455. + *[0-9a-f]*: e8 04 15 0f lsl r4,r4,0xf
  29456. + *[0-9a-f]*: fc 0e 15 01 lsl lr,lr,0x1
  29457. + *[0-9a-f]*: f4 08 15 11 lsl r8,r10,0x11
  29458. + *[0-9a-f]*: fc 02 15 03 lsl r2,lr,0x3
  29459. + *[0-9a-f]*: f6 0e 15 0e lsl lr,r11,0xe
  29460. +
  29461. +[0-9a-f]* <lsr3>:
  29462. + *[0-9a-f]*: fe 0f 16 00 lsr pc,pc,0x0
  29463. + *[0-9a-f]*: f8 0c 16 1f lsr r12,r12,0x1f
  29464. + *[0-9a-f]*: ea 05 16 10 lsr r5,r5,0x10
  29465. + *[0-9a-f]*: e8 04 16 0f lsr r4,r4,0xf
  29466. + *[0-9a-f]*: fc 0e 16 01 lsr lr,lr,0x1
  29467. + *[0-9a-f]*: e6 04 16 1f lsr r4,r3,0x1f
  29468. + *[0-9a-f]*: f2 0f 16 0e lsr pc,r9,0xe
  29469. + *[0-9a-f]*: e0 03 16 06 lsr r3,r0,0x6
  29470. +
  29471. +[0-9a-f]* <movc1>:
  29472. + *[0-9a-f]*: fe 0f 17 00 moveq pc,pc
  29473. + *[0-9a-f]*: f8 0c 17 f0 moval r12,r12
  29474. + *[0-9a-f]*: ea 05 17 80 movls r5,r5
  29475. + *[0-9a-f]*: e8 04 17 70 movpl r4,r4
  29476. + *[0-9a-f]*: fc 0e 17 10 movne lr,lr
  29477. + *[0-9a-f]*: f6 0f 17 10 movne pc,r11
  29478. + *[0-9a-f]*: e4 0a 17 60 movmi r10,r2
  29479. + *[0-9a-f]*: f8 08 17 80 movls r8,r12
  29480. +
  29481. +[0-9a-f]* <padd_h>:
  29482. + *[0-9a-f]*: fe 0f 20 0f padd\.h pc,pc,pc
  29483. + *[0-9a-f]*: f8 0c 20 0c padd\.h r12,r12,r12
  29484. + *[0-9a-f]*: ea 05 20 05 padd\.h r5,r5,r5
  29485. + *[0-9a-f]*: e8 04 20 04 padd\.h r4,r4,r4
  29486. + *[0-9a-f]*: fc 0e 20 0e padd\.h lr,lr,lr
  29487. + *[0-9a-f]*: e4 07 20 08 padd\.h r8,r2,r7
  29488. + *[0-9a-f]*: e0 03 20 00 padd\.h r0,r0,r3
  29489. + *[0-9a-f]*: f6 06 20 0d padd\.h sp,r11,r6
  29490. +
  29491. +[0-9a-f]* <psub_h>:
  29492. + *[0-9a-f]*: fe 0f 20 1f psub\.h pc,pc,pc
  29493. + *[0-9a-f]*: f8 0c 20 1c psub\.h r12,r12,r12
  29494. + *[0-9a-f]*: ea 05 20 15 psub\.h r5,r5,r5
  29495. + *[0-9a-f]*: e8 04 20 14 psub\.h r4,r4,r4
  29496. + *[0-9a-f]*: fc 0e 20 1e psub\.h lr,lr,lr
  29497. + *[0-9a-f]*: ec 08 20 1e psub\.h lr,r6,r8
  29498. + *[0-9a-f]*: e2 0d 20 10 psub\.h r0,r1,sp
  29499. + *[0-9a-f]*: fe 0d 20 1f psub\.h pc,pc,sp
  29500. +
  29501. +[0-9a-f]* <paddx_h>:
  29502. + *[0-9a-f]*: fe 0f 20 2f paddx\.h pc,pc,pc
  29503. + *[0-9a-f]*: f8 0c 20 2c paddx\.h r12,r12,r12
  29504. + *[0-9a-f]*: ea 05 20 25 paddx\.h r5,r5,r5
  29505. + *[0-9a-f]*: e8 04 20 24 paddx\.h r4,r4,r4
  29506. + *[0-9a-f]*: fc 0e 20 2e paddx\.h lr,lr,lr
  29507. + *[0-9a-f]*: fe 01 20 2f paddx\.h pc,pc,r1
  29508. + *[0-9a-f]*: e8 05 20 2a paddx\.h r10,r4,r5
  29509. + *[0-9a-f]*: fe 02 20 25 paddx\.h r5,pc,r2
  29510. +
  29511. +[0-9a-f]* <psubx_h>:
  29512. + *[0-9a-f]*: fe 0f 20 3f psubx\.h pc,pc,pc
  29513. + *[0-9a-f]*: f8 0c 20 3c psubx\.h r12,r12,r12
  29514. + *[0-9a-f]*: ea 05 20 35 psubx\.h r5,r5,r5
  29515. + *[0-9a-f]*: e8 04 20 34 psubx\.h r4,r4,r4
  29516. + *[0-9a-f]*: fc 0e 20 3e psubx\.h lr,lr,lr
  29517. + *[0-9a-f]*: f8 05 20 35 psubx\.h r5,r12,r5
  29518. + *[0-9a-f]*: f0 03 20 33 psubx\.h r3,r8,r3
  29519. + *[0-9a-f]*: e4 03 20 35 psubx\.h r5,r2,r3
  29520. +
  29521. +[0-9a-f]* <padds_sh>:
  29522. + *[0-9a-f]*: fe 0f 20 4f padds\.sh pc,pc,pc
  29523. + *[0-9a-f]*: f8 0c 20 4c padds\.sh r12,r12,r12
  29524. + *[0-9a-f]*: ea 05 20 45 padds\.sh r5,r5,r5
  29525. + *[0-9a-f]*: e8 04 20 44 padds\.sh r4,r4,r4
  29526. + *[0-9a-f]*: fc 0e 20 4e padds\.sh lr,lr,lr
  29527. + *[0-9a-f]*: fc 02 20 49 padds\.sh r9,lr,r2
  29528. + *[0-9a-f]*: f0 01 20 46 padds\.sh r6,r8,r1
  29529. + *[0-9a-f]*: e8 0a 20 46 padds\.sh r6,r4,r10
  29530. +
  29531. +[0-9a-f]* <psubs_sh>:
  29532. + *[0-9a-f]*: fe 0f 20 5f psubs\.sh pc,pc,pc
  29533. + *[0-9a-f]*: f8 0c 20 5c psubs\.sh r12,r12,r12
  29534. + *[0-9a-f]*: ea 05 20 55 psubs\.sh r5,r5,r5
  29535. + *[0-9a-f]*: e8 04 20 54 psubs\.sh r4,r4,r4
  29536. + *[0-9a-f]*: fc 0e 20 5e psubs\.sh lr,lr,lr
  29537. + *[0-9a-f]*: fc 0b 20 56 psubs\.sh r6,lr,r11
  29538. + *[0-9a-f]*: f8 04 20 52 psubs\.sh r2,r12,r4
  29539. + *[0-9a-f]*: f2 00 20 50 psubs\.sh r0,r9,r0
  29540. +
  29541. +[0-9a-f]* <paddxs_sh>:
  29542. + *[0-9a-f]*: fe 0f 20 6f paddxs\.sh pc,pc,pc
  29543. + *[0-9a-f]*: f8 0c 20 6c paddxs\.sh r12,r12,r12
  29544. + *[0-9a-f]*: ea 05 20 65 paddxs\.sh r5,r5,r5
  29545. + *[0-9a-f]*: e8 04 20 64 paddxs\.sh r4,r4,r4
  29546. + *[0-9a-f]*: fc 0e 20 6e paddxs\.sh lr,lr,lr
  29547. + *[0-9a-f]*: e6 09 20 60 paddxs\.sh r0,r3,r9
  29548. + *[0-9a-f]*: f4 0b 20 6f paddxs\.sh pc,r10,r11
  29549. + *[0-9a-f]*: f4 0f 20 6f paddxs\.sh pc,r10,pc
  29550. +
  29551. +[0-9a-f]* <psubxs_sh>:
  29552. + *[0-9a-f]*: fe 0f 20 7f psubxs\.sh pc,pc,pc
  29553. + *[0-9a-f]*: f8 0c 20 7c psubxs\.sh r12,r12,r12
  29554. + *[0-9a-f]*: ea 05 20 75 psubxs\.sh r5,r5,r5
  29555. + *[0-9a-f]*: e8 04 20 74 psubxs\.sh r4,r4,r4
  29556. + *[0-9a-f]*: fc 0e 20 7e psubxs\.sh lr,lr,lr
  29557. + *[0-9a-f]*: e8 04 20 77 psubxs\.sh r7,r4,r4
  29558. + *[0-9a-f]*: f0 03 20 77 psubxs\.sh r7,r8,r3
  29559. + *[0-9a-f]*: ec 05 20 7f psubxs\.sh pc,r6,r5
  29560. +
  29561. +[0-9a-f]* <padds_uh>:
  29562. + *[0-9a-f]*: fe 0f 20 8f padds\.uh pc,pc,pc
  29563. + *[0-9a-f]*: f8 0c 20 8c padds\.uh r12,r12,r12
  29564. + *[0-9a-f]*: ea 05 20 85 padds\.uh r5,r5,r5
  29565. + *[0-9a-f]*: e8 04 20 84 padds\.uh r4,r4,r4
  29566. + *[0-9a-f]*: fc 0e 20 8e padds\.uh lr,lr,lr
  29567. + *[0-9a-f]*: f6 07 20 8c padds\.uh r12,r11,r7
  29568. + *[0-9a-f]*: f0 0e 20 87 padds\.uh r7,r8,lr
  29569. + *[0-9a-f]*: f2 07 20 86 padds\.uh r6,r9,r7
  29570. +
  29571. +[0-9a-f]* <psubs_uh>:
  29572. + *[0-9a-f]*: fe 0f 20 9f psubs\.uh pc,pc,pc
  29573. + *[0-9a-f]*: f8 0c 20 9c psubs\.uh r12,r12,r12
  29574. + *[0-9a-f]*: ea 05 20 95 psubs\.uh r5,r5,r5
  29575. + *[0-9a-f]*: e8 04 20 94 psubs\.uh r4,r4,r4
  29576. + *[0-9a-f]*: fc 0e 20 9e psubs\.uh lr,lr,lr
  29577. + *[0-9a-f]*: f4 06 20 9e psubs\.uh lr,r10,r6
  29578. + *[0-9a-f]*: e4 0f 20 9d psubs\.uh sp,r2,pc
  29579. + *[0-9a-f]*: f2 02 20 92 psubs\.uh r2,r9,r2
  29580. +
  29581. +[0-9a-f]* <paddxs_uh>:
  29582. + *[0-9a-f]*: fe 0f 20 af paddxs\.uh pc,pc,pc
  29583. + *[0-9a-f]*: f8 0c 20 ac paddxs\.uh r12,r12,r12
  29584. + *[0-9a-f]*: ea 05 20 a5 paddxs\.uh r5,r5,r5
  29585. + *[0-9a-f]*: e8 04 20 a4 paddxs\.uh r4,r4,r4
  29586. + *[0-9a-f]*: fc 0e 20 ae paddxs\.uh lr,lr,lr
  29587. + *[0-9a-f]*: f2 05 20 a7 paddxs\.uh r7,r9,r5
  29588. + *[0-9a-f]*: e2 04 20 a9 paddxs\.uh r9,r1,r4
  29589. + *[0-9a-f]*: e4 03 20 a5 paddxs\.uh r5,r2,r3
  29590. +
  29591. +[0-9a-f]* <psubxs_uh>:
  29592. + *[0-9a-f]*: fe 0f 20 bf psubxs\.uh pc,pc,pc
  29593. + *[0-9a-f]*: f8 0c 20 bc psubxs\.uh r12,r12,r12
  29594. + *[0-9a-f]*: ea 05 20 b5 psubxs\.uh r5,r5,r5
  29595. + *[0-9a-f]*: e8 04 20 b4 psubxs\.uh r4,r4,r4
  29596. + *[0-9a-f]*: fc 0e 20 be psubxs\.uh lr,lr,lr
  29597. + *[0-9a-f]*: ea 0d 20 bd psubxs\.uh sp,r5,sp
  29598. + *[0-9a-f]*: ec 06 20 bd psubxs\.uh sp,r6,r6
  29599. + *[0-9a-f]*: f6 08 20 b3 psubxs\.uh r3,r11,r8
  29600. +
  29601. +[0-9a-f]* <paddh_sh>:
  29602. + *[0-9a-f]*: fe 0f 20 cf paddh\.sh pc,pc,pc
  29603. + *[0-9a-f]*: f8 0c 20 cc paddh\.sh r12,r12,r12
  29604. + *[0-9a-f]*: ea 05 20 c5 paddh\.sh r5,r5,r5
  29605. + *[0-9a-f]*: e8 04 20 c4 paddh\.sh r4,r4,r4
  29606. + *[0-9a-f]*: fc 0e 20 ce paddh\.sh lr,lr,lr
  29607. + *[0-9a-f]*: fa 03 20 cc paddh\.sh r12,sp,r3
  29608. + *[0-9a-f]*: ea 03 20 cf paddh\.sh pc,r5,r3
  29609. + *[0-9a-f]*: f0 0d 20 c8 paddh\.sh r8,r8,sp
  29610. +
  29611. +[0-9a-f]* <psubh_sh>:
  29612. + *[0-9a-f]*: fe 0f 20 df psubh\.sh pc,pc,pc
  29613. + *[0-9a-f]*: f8 0c 20 dc psubh\.sh r12,r12,r12
  29614. + *[0-9a-f]*: ea 05 20 d5 psubh\.sh r5,r5,r5
  29615. + *[0-9a-f]*: e8 04 20 d4 psubh\.sh r4,r4,r4
  29616. + *[0-9a-f]*: fc 0e 20 de psubh\.sh lr,lr,lr
  29617. + *[0-9a-f]*: ea 08 20 d1 psubh\.sh r1,r5,r8
  29618. + *[0-9a-f]*: e6 06 20 d7 psubh\.sh r7,r3,r6
  29619. + *[0-9a-f]*: e6 03 20 d4 psubh\.sh r4,r3,r3
  29620. +
  29621. +[0-9a-f]* <paddxh_sh>:
  29622. + *[0-9a-f]*: fe 0f 20 ef paddxh\.sh pc,pc,pc
  29623. + *[0-9a-f]*: f8 0c 20 ec paddxh\.sh r12,r12,r12
  29624. + *[0-9a-f]*: ea 05 20 e5 paddxh\.sh r5,r5,r5
  29625. + *[0-9a-f]*: e8 04 20 e4 paddxh\.sh r4,r4,r4
  29626. + *[0-9a-f]*: fc 0e 20 ee paddxh\.sh lr,lr,lr
  29627. + *[0-9a-f]*: e0 04 20 e6 paddxh\.sh r6,r0,r4
  29628. + *[0-9a-f]*: f0 09 20 e9 paddxh\.sh r9,r8,r9
  29629. + *[0-9a-f]*: e0 0d 20 e3 paddxh\.sh r3,r0,sp
  29630. +
  29631. +[0-9a-f]* <psubxh_sh>:
  29632. + *[0-9a-f]*: fe 0f 20 ff psubxh\.sh pc,pc,pc
  29633. + *[0-9a-f]*: f8 0c 20 fc psubxh\.sh r12,r12,r12
  29634. + *[0-9a-f]*: ea 05 20 f5 psubxh\.sh r5,r5,r5
  29635. + *[0-9a-f]*: e8 04 20 f4 psubxh\.sh r4,r4,r4
  29636. + *[0-9a-f]*: fc 0e 20 fe psubxh\.sh lr,lr,lr
  29637. + *[0-9a-f]*: fe 0c 20 f4 psubxh\.sh r4,pc,r12
  29638. + *[0-9a-f]*: e8 06 20 f8 psubxh\.sh r8,r4,r6
  29639. + *[0-9a-f]*: f2 04 20 fc psubxh\.sh r12,r9,r4
  29640. +
  29641. +[0-9a-f]* <paddsub_h>:
  29642. + *[0-9a-f]*: fe 0f 21 0f paddsub\.h pc,pc:b,pc:b
  29643. + *[0-9a-f]*: f8 0c 21 3c paddsub\.h r12,r12:t,r12:t
  29644. + *[0-9a-f]*: ea 05 21 35 paddsub\.h r5,r5:t,r5:t
  29645. + *[0-9a-f]*: e8 04 21 04 paddsub\.h r4,r4:b,r4:b
  29646. + *[0-9a-f]*: fc 0e 21 3e paddsub\.h lr,lr:t,lr:t
  29647. + *[0-9a-f]*: e4 0e 21 25 paddsub\.h r5,r2:t,lr:b
  29648. + *[0-9a-f]*: e2 08 21 07 paddsub\.h r7,r1:b,r8:b
  29649. + *[0-9a-f]*: f4 05 21 36 paddsub\.h r6,r10:t,r5:t
  29650. +
  29651. +[0-9a-f]* <psubadd_h>:
  29652. + *[0-9a-f]*: fe 0f 21 4f psubadd\.h pc,pc:b,pc:b
  29653. + *[0-9a-f]*: f8 0c 21 7c psubadd\.h r12,r12:t,r12:t
  29654. + *[0-9a-f]*: ea 05 21 75 psubadd\.h r5,r5:t,r5:t
  29655. + *[0-9a-f]*: e8 04 21 44 psubadd\.h r4,r4:b,r4:b
  29656. + *[0-9a-f]*: fc 0e 21 7e psubadd\.h lr,lr:t,lr:t
  29657. + *[0-9a-f]*: f6 08 21 79 psubadd\.h r9,r11:t,r8:t
  29658. + *[0-9a-f]*: ee 0e 21 7a psubadd\.h r10,r7:t,lr:t
  29659. + *[0-9a-f]*: fe 0f 21 66 psubadd\.h r6,pc:t,pc:b
  29660. +
  29661. +[0-9a-f]* <paddsubs_sh>:
  29662. + *[0-9a-f]*: fe 0f 21 8f paddsubs\.sh pc,pc:b,pc:b
  29663. + *[0-9a-f]*: f8 0c 21 bc paddsubs\.sh r12,r12:t,r12:t
  29664. + *[0-9a-f]*: ea 05 21 b5 paddsubs\.sh r5,r5:t,r5:t
  29665. + *[0-9a-f]*: e8 04 21 84 paddsubs\.sh r4,r4:b,r4:b
  29666. + *[0-9a-f]*: fc 0e 21 be paddsubs\.sh lr,lr:t,lr:t
  29667. + *[0-9a-f]*: fc 00 21 a0 paddsubs\.sh r0,lr:t,r0:b
  29668. + *[0-9a-f]*: e4 04 21 b9 paddsubs\.sh r9,r2:t,r4:t
  29669. + *[0-9a-f]*: f2 0d 21 bc paddsubs\.sh r12,r9:t,sp:t
  29670. +
  29671. +[0-9a-f]* <psubadds_sh>:
  29672. + *[0-9a-f]*: fe 0f 21 cf psubadds\.sh pc,pc:b,pc:b
  29673. + *[0-9a-f]*: f8 0c 21 fc psubadds\.sh r12,r12:t,r12:t
  29674. + *[0-9a-f]*: ea 05 21 f5 psubadds\.sh r5,r5:t,r5:t
  29675. + *[0-9a-f]*: e8 04 21 c4 psubadds\.sh r4,r4:b,r4:b
  29676. + *[0-9a-f]*: fc 0e 21 fe psubadds\.sh lr,lr:t,lr:t
  29677. + *[0-9a-f]*: fc 01 21 df psubadds\.sh pc,lr:b,r1:t
  29678. + *[0-9a-f]*: e6 0c 21 cb psubadds\.sh r11,r3:b,r12:b
  29679. + *[0-9a-f]*: e4 08 21 fa psubadds\.sh r10,r2:t,r8:t
  29680. +
  29681. +[0-9a-f]* <paddsubs_uh>:
  29682. + *[0-9a-f]*: fe 0f 22 0f paddsubs\.uh pc,pc:b,pc:b
  29683. + *[0-9a-f]*: f8 0c 22 3c paddsubs\.uh r12,r12:t,r12:t
  29684. + *[0-9a-f]*: ea 05 22 35 paddsubs\.uh r5,r5:t,r5:t
  29685. + *[0-9a-f]*: e8 04 22 04 paddsubs\.uh r4,r4:b,r4:b
  29686. + *[0-9a-f]*: fc 0e 22 3e paddsubs\.uh lr,lr:t,lr:t
  29687. + *[0-9a-f]*: e4 03 22 09 paddsubs\.uh r9,r2:b,r3:b
  29688. + *[0-9a-f]*: fa 07 22 1d paddsubs\.uh sp,sp:b,r7:t
  29689. + *[0-9a-f]*: e0 0a 22 1e paddsubs\.uh lr,r0:b,r10:t
  29690. +
  29691. +[0-9a-f]* <psubadds_uh>:
  29692. + *[0-9a-f]*: fe 0f 22 4f psubadds\.uh pc,pc:b,pc:b
  29693. + *[0-9a-f]*: f8 0c 22 7c psubadds\.uh r12,r12:t,r12:t
  29694. + *[0-9a-f]*: ea 05 22 75 psubadds\.uh r5,r5:t,r5:t
  29695. + *[0-9a-f]*: e8 04 22 44 psubadds\.uh r4,r4:b,r4:b
  29696. + *[0-9a-f]*: fc 0e 22 7e psubadds\.uh lr,lr:t,lr:t
  29697. + *[0-9a-f]*: f2 0f 22 7c psubadds\.uh r12,r9:t,pc:t
  29698. + *[0-9a-f]*: ec 08 22 48 psubadds\.uh r8,r6:b,r8:b
  29699. + *[0-9a-f]*: f0 04 22 48 psubadds\.uh r8,r8:b,r4:b
  29700. +
  29701. +[0-9a-f]* <paddsubh_sh>:
  29702. + *[0-9a-f]*: fe 0f 22 8f paddsubh\.sh pc,pc:b,pc:b
  29703. + *[0-9a-f]*: f8 0c 22 bc paddsubh\.sh r12,r12:t,r12:t
  29704. + *[0-9a-f]*: ea 05 22 b5 paddsubh\.sh r5,r5:t,r5:t
  29705. + *[0-9a-f]*: e8 04 22 84 paddsubh\.sh r4,r4:b,r4:b
  29706. + *[0-9a-f]*: fc 0e 22 be paddsubh\.sh lr,lr:t,lr:t
  29707. + *[0-9a-f]*: f2 09 22 a8 paddsubh\.sh r8,r9:t,r9:b
  29708. + *[0-9a-f]*: fa 01 22 b0 paddsubh\.sh r0,sp:t,r1:t
  29709. + *[0-9a-f]*: e2 00 22 93 paddsubh\.sh r3,r1:b,r0:t
  29710. +
  29711. +[0-9a-f]* <psubaddh_sh>:
  29712. + *[0-9a-f]*: fe 0f 22 cf psubaddh\.sh pc,pc:b,pc:b
  29713. + *[0-9a-f]*: f8 0c 22 fc psubaddh\.sh r12,r12:t,r12:t
  29714. + *[0-9a-f]*: ea 05 22 f5 psubaddh\.sh r5,r5:t,r5:t
  29715. + *[0-9a-f]*: e8 04 22 c4 psubaddh\.sh r4,r4:b,r4:b
  29716. + *[0-9a-f]*: fc 0e 22 fe psubaddh\.sh lr,lr:t,lr:t
  29717. + *[0-9a-f]*: e6 0a 22 e7 psubaddh\.sh r7,r3:t,r10:b
  29718. + *[0-9a-f]*: e4 01 22 f7 psubaddh\.sh r7,r2:t,r1:t
  29719. + *[0-9a-f]*: e6 06 22 cb psubaddh\.sh r11,r3:b,r6:b
  29720. +
  29721. +[0-9a-f]* <padd_b>:
  29722. + *[0-9a-f]*: fe 0f 23 0f padd\.b pc,pc,pc
  29723. + *[0-9a-f]*: f8 0c 23 0c padd\.b r12,r12,r12
  29724. + *[0-9a-f]*: ea 05 23 05 padd\.b r5,r5,r5
  29725. + *[0-9a-f]*: e8 04 23 04 padd\.b r4,r4,r4
  29726. + *[0-9a-f]*: fc 0e 23 0e padd\.b lr,lr,lr
  29727. + *[0-9a-f]*: ec 0f 23 02 padd\.b r2,r6,pc
  29728. + *[0-9a-f]*: f2 0c 23 08 padd\.b r8,r9,r12
  29729. + *[0-9a-f]*: f8 03 23 05 padd\.b r5,r12,r3
  29730. +
  29731. +[0-9a-f]* <psub_b>:
  29732. + *[0-9a-f]*: fe 0f 23 1f psub\.b pc,pc,pc
  29733. + *[0-9a-f]*: f8 0c 23 1c psub\.b r12,r12,r12
  29734. + *[0-9a-f]*: ea 05 23 15 psub\.b r5,r5,r5
  29735. + *[0-9a-f]*: e8 04 23 14 psub\.b r4,r4,r4
  29736. + *[0-9a-f]*: fc 0e 23 1e psub\.b lr,lr,lr
  29737. + *[0-9a-f]*: f8 0f 23 10 psub\.b r0,r12,pc
  29738. + *[0-9a-f]*: fa 0a 23 17 psub\.b r7,sp,r10
  29739. + *[0-9a-f]*: fa 0c 23 15 psub\.b r5,sp,r12
  29740. +
  29741. +[0-9a-f]* <padds_sb>:
  29742. + *[0-9a-f]*: fe 0f 23 2f padds\.sb pc,pc,pc
  29743. + *[0-9a-f]*: f8 0c 23 2c padds\.sb r12,r12,r12
  29744. + *[0-9a-f]*: ea 05 23 25 padds\.sb r5,r5,r5
  29745. + *[0-9a-f]*: e8 04 23 24 padds\.sb r4,r4,r4
  29746. + *[0-9a-f]*: fc 0e 23 2e padds\.sb lr,lr,lr
  29747. + *[0-9a-f]*: f6 04 23 2d padds\.sb sp,r11,r4
  29748. + *[0-9a-f]*: f4 0b 23 2b padds\.sb r11,r10,r11
  29749. + *[0-9a-f]*: f8 06 23 25 padds\.sb r5,r12,r6
  29750. +
  29751. +[0-9a-f]* <psubs_sb>:
  29752. + *[0-9a-f]*: fe 0f 23 3f psubs\.sb pc,pc,pc
  29753. + *[0-9a-f]*: f8 0c 23 3c psubs\.sb r12,r12,r12
  29754. + *[0-9a-f]*: ea 05 23 35 psubs\.sb r5,r5,r5
  29755. + *[0-9a-f]*: e8 04 23 34 psubs\.sb r4,r4,r4
  29756. + *[0-9a-f]*: fc 0e 23 3e psubs\.sb lr,lr,lr
  29757. + *[0-9a-f]*: ec 08 23 37 psubs\.sb r7,r6,r8
  29758. + *[0-9a-f]*: f4 09 23 3c psubs\.sb r12,r10,r9
  29759. + *[0-9a-f]*: f6 00 23 3f psubs\.sb pc,r11,r0
  29760. +
  29761. +[0-9a-f]* <padds_ub>:
  29762. + *[0-9a-f]*: fe 0f 23 4f padds\.ub pc,pc,pc
  29763. + *[0-9a-f]*: f8 0c 23 4c padds\.ub r12,r12,r12
  29764. + *[0-9a-f]*: ea 05 23 45 padds\.ub r5,r5,r5
  29765. + *[0-9a-f]*: e8 04 23 44 padds\.ub r4,r4,r4
  29766. + *[0-9a-f]*: fc 0e 23 4e padds\.ub lr,lr,lr
  29767. + *[0-9a-f]*: e4 0b 23 43 padds\.ub r3,r2,r11
  29768. + *[0-9a-f]*: f0 01 23 4a padds\.ub r10,r8,r1
  29769. + *[0-9a-f]*: f0 0a 23 4b padds\.ub r11,r8,r10
  29770. +
  29771. +[0-9a-f]* <psubs_ub>:
  29772. + *[0-9a-f]*: fe 0f 23 5f psubs\.ub pc,pc,pc
  29773. + *[0-9a-f]*: f8 0c 23 5c psubs\.ub r12,r12,r12
  29774. + *[0-9a-f]*: ea 05 23 55 psubs\.ub r5,r5,r5
  29775. + *[0-9a-f]*: e8 04 23 54 psubs\.ub r4,r4,r4
  29776. + *[0-9a-f]*: fc 0e 23 5e psubs\.ub lr,lr,lr
  29777. + *[0-9a-f]*: e4 07 23 50 psubs\.ub r0,r2,r7
  29778. + *[0-9a-f]*: ea 03 23 5e psubs\.ub lr,r5,r3
  29779. + *[0-9a-f]*: ee 09 23 56 psubs\.ub r6,r7,r9
  29780. +
  29781. +[0-9a-f]* <paddh_ub>:
  29782. + *[0-9a-f]*: fe 0f 23 6f paddh\.ub pc,pc,pc
  29783. + *[0-9a-f]*: f8 0c 23 6c paddh\.ub r12,r12,r12
  29784. + *[0-9a-f]*: ea 05 23 65 paddh\.ub r5,r5,r5
  29785. + *[0-9a-f]*: e8 04 23 64 paddh\.ub r4,r4,r4
  29786. + *[0-9a-f]*: fc 0e 23 6e paddh\.ub lr,lr,lr
  29787. + *[0-9a-f]*: e2 00 23 6e paddh\.ub lr,r1,r0
  29788. + *[0-9a-f]*: ee 07 23 62 paddh\.ub r2,r7,r7
  29789. + *[0-9a-f]*: e2 02 23 62 paddh\.ub r2,r1,r2
  29790. +
  29791. +[0-9a-f]* <psubh_ub>:
  29792. + *[0-9a-f]*: fe 0f 23 7f psubh\.ub pc,pc,pc
  29793. + *[0-9a-f]*: f8 0c 23 7c psubh\.ub r12,r12,r12
  29794. + *[0-9a-f]*: ea 05 23 75 psubh\.ub r5,r5,r5
  29795. + *[0-9a-f]*: e8 04 23 74 psubh\.ub r4,r4,r4
  29796. + *[0-9a-f]*: fc 0e 23 7e psubh\.ub lr,lr,lr
  29797. + *[0-9a-f]*: e2 06 23 70 psubh\.ub r0,r1,r6
  29798. + *[0-9a-f]*: fc 0a 23 74 psubh\.ub r4,lr,r10
  29799. + *[0-9a-f]*: f0 01 23 79 psubh\.ub r9,r8,r1
  29800. +
  29801. +[0-9a-f]* <pmax_ub>:
  29802. + *[0-9a-f]*: fe 0f 23 8f pmax\.ub pc,pc,pc
  29803. + *[0-9a-f]*: f8 0c 23 8c pmax\.ub r12,r12,r12
  29804. + *[0-9a-f]*: ea 05 23 85 pmax\.ub r5,r5,r5
  29805. + *[0-9a-f]*: e8 04 23 84 pmax\.ub r4,r4,r4
  29806. + *[0-9a-f]*: fc 0e 23 8e pmax\.ub lr,lr,lr
  29807. + *[0-9a-f]*: e4 0b 23 8f pmax\.ub pc,r2,r11
  29808. + *[0-9a-f]*: e2 01 23 8c pmax\.ub r12,r1,r1
  29809. + *[0-9a-f]*: e4 00 23 85 pmax\.ub r5,r2,r0
  29810. +
  29811. +[0-9a-f]* <pmax_sh>:
  29812. + *[0-9a-f]*: fe 0f 23 9f pmax\.sh pc,pc,pc
  29813. + *[0-9a-f]*: f8 0c 23 9c pmax\.sh r12,r12,r12
  29814. + *[0-9a-f]*: ea 05 23 95 pmax\.sh r5,r5,r5
  29815. + *[0-9a-f]*: e8 04 23 94 pmax\.sh r4,r4,r4
  29816. + *[0-9a-f]*: fc 0e 23 9e pmax\.sh lr,lr,lr
  29817. + *[0-9a-f]*: ec 0c 23 9e pmax\.sh lr,r6,r12
  29818. + *[0-9a-f]*: fe 05 23 92 pmax\.sh r2,pc,r5
  29819. + *[0-9a-f]*: e4 07 23 9f pmax\.sh pc,r2,r7
  29820. +
  29821. +[0-9a-f]* <pmin_ub>:
  29822. + *[0-9a-f]*: fe 0f 23 af pmin\.ub pc,pc,pc
  29823. + *[0-9a-f]*: f8 0c 23 ac pmin\.ub r12,r12,r12
  29824. + *[0-9a-f]*: ea 05 23 a5 pmin\.ub r5,r5,r5
  29825. + *[0-9a-f]*: e8 04 23 a4 pmin\.ub r4,r4,r4
  29826. + *[0-9a-f]*: fc 0e 23 ae pmin\.ub lr,lr,lr
  29827. + *[0-9a-f]*: e2 05 23 a8 pmin\.ub r8,r1,r5
  29828. + *[0-9a-f]*: f0 03 23 a1 pmin\.ub r1,r8,r3
  29829. + *[0-9a-f]*: e4 07 23 a0 pmin\.ub r0,r2,r7
  29830. +
  29831. +[0-9a-f]* <pmin_sh>:
  29832. + *[0-9a-f]*: fe 0f 23 bf pmin\.sh pc,pc,pc
  29833. + *[0-9a-f]*: f8 0c 23 bc pmin\.sh r12,r12,r12
  29834. + *[0-9a-f]*: ea 05 23 b5 pmin\.sh r5,r5,r5
  29835. + *[0-9a-f]*: e8 04 23 b4 pmin\.sh r4,r4,r4
  29836. + *[0-9a-f]*: fc 0e 23 be pmin\.sh lr,lr,lr
  29837. + *[0-9a-f]*: e8 0a 23 b8 pmin\.sh r8,r4,r10
  29838. + *[0-9a-f]*: f4 0c 23 be pmin\.sh lr,r10,r12
  29839. + *[0-9a-f]*: ec 02 23 b2 pmin\.sh r2,r6,r2
  29840. +
  29841. +[0-9a-f]* <pavg_ub>:
  29842. + *[0-9a-f]*: fe 0f 23 cf pavg\.ub pc,pc,pc
  29843. + *[0-9a-f]*: f8 0c 23 cc pavg\.ub r12,r12,r12
  29844. + *[0-9a-f]*: ea 05 23 c5 pavg\.ub r5,r5,r5
  29845. + *[0-9a-f]*: e8 04 23 c4 pavg\.ub r4,r4,r4
  29846. + *[0-9a-f]*: fc 0e 23 ce pavg\.ub lr,lr,lr
  29847. + *[0-9a-f]*: e2 06 23 c0 pavg\.ub r0,r1,r6
  29848. + *[0-9a-f]*: e6 06 23 c8 pavg\.ub r8,r3,r6
  29849. + *[0-9a-f]*: f8 0a 23 cf pavg\.ub pc,r12,r10
  29850. +
  29851. +[0-9a-f]* <pavg_sh>:
  29852. + *[0-9a-f]*: fe 0f 23 df pavg\.sh pc,pc,pc
  29853. + *[0-9a-f]*: f8 0c 23 dc pavg\.sh r12,r12,r12
  29854. + *[0-9a-f]*: ea 05 23 d5 pavg\.sh r5,r5,r5
  29855. + *[0-9a-f]*: e8 04 23 d4 pavg\.sh r4,r4,r4
  29856. + *[0-9a-f]*: fc 0e 23 de pavg\.sh lr,lr,lr
  29857. + *[0-9a-f]*: fe 0d 23 d9 pavg\.sh r9,pc,sp
  29858. + *[0-9a-f]*: fa 03 23 df pavg\.sh pc,sp,r3
  29859. + *[0-9a-f]*: e2 09 23 d6 pavg\.sh r6,r1,r9
  29860. +
  29861. +[0-9a-f]* <pabs_sb>:
  29862. + *[0-9a-f]*: e0 0f 23 ef pabs\.sb pc,pc
  29863. + *[0-9a-f]*: e0 0c 23 ec pabs\.sb r12,r12
  29864. + *[0-9a-f]*: e0 05 23 e5 pabs\.sb r5,r5
  29865. + *[0-9a-f]*: e0 04 23 e4 pabs\.sb r4,r4
  29866. + *[0-9a-f]*: e0 0e 23 ee pabs\.sb lr,lr
  29867. + *[0-9a-f]*: e0 06 23 eb pabs\.sb r11,r6
  29868. + *[0-9a-f]*: e0 09 23 ee pabs\.sb lr,r9
  29869. + *[0-9a-f]*: e0 07 23 ed pabs\.sb sp,r7
  29870. +
  29871. +[0-9a-f]* <pabs_sh>:
  29872. + *[0-9a-f]*: e0 0f 23 ff pabs\.sh pc,pc
  29873. + *[0-9a-f]*: e0 0c 23 fc pabs\.sh r12,r12
  29874. + *[0-9a-f]*: e0 05 23 f5 pabs\.sh r5,r5
  29875. + *[0-9a-f]*: e0 04 23 f4 pabs\.sh r4,r4
  29876. + *[0-9a-f]*: e0 0e 23 fe pabs\.sh lr,lr
  29877. + *[0-9a-f]*: e0 03 23 ff pabs\.sh pc,r3
  29878. + *[0-9a-f]*: e0 07 23 f5 pabs\.sh r5,r7
  29879. + *[0-9a-f]*: e0 00 23 f4 pabs\.sh r4,r0
  29880. +
  29881. +[0-9a-f]* <psad>:
  29882. + *[0-9a-f]*: fe 0f 24 0f psad pc,pc,pc
  29883. + *[0-9a-f]*: f8 0c 24 0c psad r12,r12,r12
  29884. + *[0-9a-f]*: ea 05 24 05 psad r5,r5,r5
  29885. + *[0-9a-f]*: e8 04 24 04 psad r4,r4,r4
  29886. + *[0-9a-f]*: fc 0e 24 0e psad lr,lr,lr
  29887. + *[0-9a-f]*: f6 0b 24 09 psad r9,r11,r11
  29888. + *[0-9a-f]*: e8 0d 24 0e psad lr,r4,sp
  29889. + *[0-9a-f]*: e8 05 24 0e psad lr,r4,r5
  29890. +
  29891. +[0-9a-f]* <pasr_b>:
  29892. + *[0-9a-f]*: fe 00 24 1f pasr\.b pc,pc,0x0
  29893. + *[0-9a-f]*: f8 07 24 1c pasr\.b r12,r12,0x7
  29894. + *[0-9a-f]*: ea 04 24 15 pasr\.b r5,r5,0x4
  29895. + *[0-9a-f]*: e8 03 24 14 pasr\.b r4,r4,0x3
  29896. + *[0-9a-f]*: fc 01 24 1e pasr\.b lr,lr,0x1
  29897. + *[0-9a-f]*: ee 01 24 1f pasr\.b pc,r7,0x1
  29898. + *[0-9a-f]*: fc 06 24 1d pasr\.b sp,lr,0x6
  29899. + *[0-9a-f]*: e6 02 24 1d pasr\.b sp,r3,0x2
  29900. +
  29901. +[0-9a-f]* <plsl_b>:
  29902. + *[0-9a-f]*: fe 00 24 2f plsl\.b pc,pc,0x0
  29903. + *[0-9a-f]*: f8 07 24 2c plsl\.b r12,r12,0x7
  29904. + *[0-9a-f]*: ea 04 24 25 plsl\.b r5,r5,0x4
  29905. + *[0-9a-f]*: e8 03 24 24 plsl\.b r4,r4,0x3
  29906. + *[0-9a-f]*: fc 01 24 2e plsl\.b lr,lr,0x1
  29907. + *[0-9a-f]*: f6 04 24 22 plsl\.b r2,r11,0x4
  29908. + *[0-9a-f]*: ea 07 24 28 plsl\.b r8,r5,0x7
  29909. + *[0-9a-f]*: e0 02 24 2f plsl\.b pc,r0,0x2
  29910. +
  29911. +[0-9a-f]* <plsr_b>:
  29912. + *[0-9a-f]*: fe 00 24 3f plsr\.b pc,pc,0x0
  29913. + *[0-9a-f]*: f8 07 24 3c plsr\.b r12,r12,0x7
  29914. + *[0-9a-f]*: ea 04 24 35 plsr\.b r5,r5,0x4
  29915. + *[0-9a-f]*: e8 03 24 34 plsr\.b r4,r4,0x3
  29916. + *[0-9a-f]*: fc 01 24 3e plsr\.b lr,lr,0x1
  29917. + *[0-9a-f]*: e2 02 24 3c plsr\.b r12,r1,0x2
  29918. + *[0-9a-f]*: fe 07 24 36 plsr\.b r6,pc,0x7
  29919. + *[0-9a-f]*: f6 02 24 3c plsr\.b r12,r11,0x2
  29920. +
  29921. +[0-9a-f]* <pasr_h>:
  29922. + *[0-9a-f]*: fe 00 24 4f pasr\.h pc,pc,0x0
  29923. + *[0-9a-f]*: f8 0f 24 4c pasr\.h r12,r12,0xf
  29924. + *[0-9a-f]*: ea 08 24 45 pasr\.h r5,r5,0x8
  29925. + *[0-9a-f]*: e8 07 24 44 pasr\.h r4,r4,0x7
  29926. + *[0-9a-f]*: fc 01 24 4e pasr\.h lr,lr,0x1
  29927. + *[0-9a-f]*: f6 0a 24 40 pasr\.h r0,r11,0xa
  29928. + *[0-9a-f]*: ec 08 24 44 pasr\.h r4,r6,0x8
  29929. + *[0-9a-f]*: e4 04 24 46 pasr\.h r6,r2,0x4
  29930. +
  29931. +[0-9a-f]* <plsl_h>:
  29932. + *[0-9a-f]*: fe 00 24 5f plsl\.h pc,pc,0x0
  29933. + *[0-9a-f]*: f8 0f 24 5c plsl\.h r12,r12,0xf
  29934. + *[0-9a-f]*: ea 08 24 55 plsl\.h r5,r5,0x8
  29935. + *[0-9a-f]*: e8 07 24 54 plsl\.h r4,r4,0x7
  29936. + *[0-9a-f]*: fc 01 24 5e plsl\.h lr,lr,0x1
  29937. + *[0-9a-f]*: f4 09 24 55 plsl\.h r5,r10,0x9
  29938. + *[0-9a-f]*: fc 08 24 5d plsl\.h sp,lr,0x8
  29939. + *[0-9a-f]*: fc 07 24 50 plsl\.h r0,lr,0x7
  29940. +
  29941. +[0-9a-f]* <plsr_h>:
  29942. + *[0-9a-f]*: fe 00 24 6f plsr\.h pc,pc,0x0
  29943. + *[0-9a-f]*: f8 0f 24 6c plsr\.h r12,r12,0xf
  29944. + *[0-9a-f]*: ea 08 24 65 plsr\.h r5,r5,0x8
  29945. + *[0-9a-f]*: e8 07 24 64 plsr\.h r4,r4,0x7
  29946. + *[0-9a-f]*: fc 01 24 6e plsr\.h lr,lr,0x1
  29947. + *[0-9a-f]*: e0 0f 24 6b plsr\.h r11,r0,0xf
  29948. + *[0-9a-f]*: e6 03 24 6e plsr\.h lr,r3,0x3
  29949. + *[0-9a-f]*: fc 0a 24 68 plsr\.h r8,lr,0xa
  29950. +
  29951. +[0-9a-f]* <packw_sh>:
  29952. + *[0-9a-f]*: fe 0f 24 7f packw\.sh pc,pc,pc
  29953. + *[0-9a-f]*: f8 0c 24 7c packw\.sh r12,r12,r12
  29954. + *[0-9a-f]*: ea 05 24 75 packw\.sh r5,r5,r5
  29955. + *[0-9a-f]*: e8 04 24 74 packw\.sh r4,r4,r4
  29956. + *[0-9a-f]*: fc 0e 24 7e packw\.sh lr,lr,lr
  29957. + *[0-9a-f]*: f6 0a 24 7d packw\.sh sp,r11,r10
  29958. + *[0-9a-f]*: e4 0c 24 78 packw\.sh r8,r2,r12
  29959. + *[0-9a-f]*: e2 05 24 78 packw\.sh r8,r1,r5
  29960. +
  29961. +[0-9a-f]* <punpckub_h>:
  29962. + *[0-9a-f]*: fe 00 24 8f punpckub\.h pc,pc:b
  29963. + *[0-9a-f]*: f8 00 24 9c punpckub\.h r12,r12:t
  29964. + *[0-9a-f]*: ea 00 24 95 punpckub\.h r5,r5:t
  29965. + *[0-9a-f]*: e8 00 24 84 punpckub\.h r4,r4:b
  29966. + *[0-9a-f]*: fc 00 24 9e punpckub\.h lr,lr:t
  29967. + *[0-9a-f]*: e2 00 24 96 punpckub\.h r6,r1:t
  29968. + *[0-9a-f]*: ea 00 24 8e punpckub\.h lr,r5:b
  29969. + *[0-9a-f]*: e4 00 24 9e punpckub\.h lr,r2:t
  29970. +
  29971. +[0-9a-f]* <punpcksb_h>:
  29972. + *[0-9a-f]*: fe 00 24 af punpcksb\.h pc,pc:b
  29973. + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
  29974. + *[0-9a-f]*: ea 00 24 b5 punpcksb\.h r5,r5:t
  29975. + *[0-9a-f]*: e8 00 24 a4 punpcksb\.h r4,r4:b
  29976. + *[0-9a-f]*: fc 00 24 be punpcksb\.h lr,lr:t
  29977. + *[0-9a-f]*: ee 00 24 b4 punpcksb\.h r4,r7:t
  29978. + *[0-9a-f]*: fc 00 24 a6 punpcksb\.h r6,lr:b
  29979. + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
  29980. +
  29981. +[0-9a-f]* <packsh_ub>:
  29982. + *[0-9a-f]*: fe 0f 24 cf packsh\.ub pc,pc,pc
  29983. + *[0-9a-f]*: f8 0c 24 cc packsh\.ub r12,r12,r12
  29984. + *[0-9a-f]*: ea 05 24 c5 packsh\.ub r5,r5,r5
  29985. + *[0-9a-f]*: e8 04 24 c4 packsh\.ub r4,r4,r4
  29986. + *[0-9a-f]*: fc 0e 24 ce packsh\.ub lr,lr,lr
  29987. + *[0-9a-f]*: ec 03 24 c3 packsh\.ub r3,r6,r3
  29988. + *[0-9a-f]*: e0 03 24 c8 packsh\.ub r8,r0,r3
  29989. + *[0-9a-f]*: e6 0e 24 c9 packsh\.ub r9,r3,lr
  29990. +
  29991. +[0-9a-f]* <packsh_sb>:
  29992. + *[0-9a-f]*: fe 0f 24 df packsh\.sb pc,pc,pc
  29993. + *[0-9a-f]*: f8 0c 24 dc packsh\.sb r12,r12,r12
  29994. + *[0-9a-f]*: ea 05 24 d5 packsh\.sb r5,r5,r5
  29995. + *[0-9a-f]*: e8 04 24 d4 packsh\.sb r4,r4,r4
  29996. + *[0-9a-f]*: fc 0e 24 de packsh\.sb lr,lr,lr
  29997. + *[0-9a-f]*: f0 01 24 d6 packsh\.sb r6,r8,r1
  29998. + *[0-9a-f]*: f2 08 24 de packsh\.sb lr,r9,r8
  29999. + *[0-9a-f]*: ec 06 24 dd packsh\.sb sp,r6,r6
  30000. +
  30001. +[0-9a-f]* <andl>:
  30002. + *[0-9a-f]*: e0 1f 00 00 andl pc,0x0
  30003. + *[0-9a-f]*: e0 1c ff ff andl r12,0xffff
  30004. + *[0-9a-f]*: e0 15 80 00 andl r5,0x8000
  30005. + *[0-9a-f]*: e0 14 7f ff andl r4,0x7fff
  30006. + *[0-9a-f]*: e0 1e 00 01 andl lr,0x1
  30007. + *[0-9a-f]*: e0 1f 5a 58 andl pc,0x5a58
  30008. + *[0-9a-f]*: e0 18 b8 9e andl r8,0xb89e
  30009. + *[0-9a-f]*: e0 17 35 97 andl r7,0x3597
  30010. +
  30011. +[0-9a-f]* <andl_coh>:
  30012. + *[0-9a-f]*: e2 1f 00 00 andl pc,0x0,COH
  30013. + *[0-9a-f]*: e2 1c ff ff andl r12,0xffff,COH
  30014. + *[0-9a-f]*: e2 15 80 00 andl r5,0x8000,COH
  30015. + *[0-9a-f]*: e2 14 7f ff andl r4,0x7fff,COH
  30016. + *[0-9a-f]*: e2 1e 00 01 andl lr,0x1,COH
  30017. + *[0-9a-f]*: e2 16 58 e1 andl r6,0x58e1,COH
  30018. + *[0-9a-f]*: e2 10 9e cd andl r0,0x9ecd,COH
  30019. + *[0-9a-f]*: e2 14 bd c4 andl r4,0xbdc4,COH
  30020. +
  30021. +[0-9a-f]* <andh>:
  30022. + *[0-9a-f]*: e4 1f 00 00 andh pc,0x0
  30023. + *[0-9a-f]*: e4 1c ff ff andh r12,0xffff
  30024. + *[0-9a-f]*: e4 15 80 00 andh r5,0x8000
  30025. + *[0-9a-f]*: e4 14 7f ff andh r4,0x7fff
  30026. + *[0-9a-f]*: e4 1e 00 01 andh lr,0x1
  30027. + *[0-9a-f]*: e4 1c cc 58 andh r12,0xcc58
  30028. + *[0-9a-f]*: e4 13 21 e3 andh r3,0x21e3
  30029. + *[0-9a-f]*: e4 12 a7 eb andh r2,0xa7eb
  30030. +
  30031. +[0-9a-f]* <andh_coh>:
  30032. + *[0-9a-f]*: e6 1f 00 00 andh pc,0x0,COH
  30033. + *[0-9a-f]*: e6 1c ff ff andh r12,0xffff,COH
  30034. + *[0-9a-f]*: e6 15 80 00 andh r5,0x8000,COH
  30035. + *[0-9a-f]*: e6 14 7f ff andh r4,0x7fff,COH
  30036. + *[0-9a-f]*: e6 1e 00 01 andh lr,0x1,COH
  30037. + *[0-9a-f]*: e6 1b 86 0d andh r11,0x860d,COH
  30038. + *[0-9a-f]*: e6 18 ce f6 andh r8,0xcef6,COH
  30039. + *[0-9a-f]*: e6 1a 5c 83 andh r10,0x5c83,COH
  30040. +
  30041. +[0-9a-f]* <orl>:
  30042. + *[0-9a-f]*: e8 1f 00 00 orl pc,0x0
  30043. + *[0-9a-f]*: e8 1c ff ff orl r12,0xffff
  30044. + *[0-9a-f]*: e8 15 80 00 orl r5,0x8000
  30045. + *[0-9a-f]*: e8 14 7f ff orl r4,0x7fff
  30046. + *[0-9a-f]*: e8 1e 00 01 orl lr,0x1
  30047. + *[0-9a-f]*: e8 1d 41 7e orl sp,0x417e
  30048. + *[0-9a-f]*: e8 10 52 bd orl r0,0x52bd
  30049. + *[0-9a-f]*: e8 1f ac 47 orl pc,0xac47
  30050. +
  30051. +[0-9a-f]* <orh>:
  30052. + *[0-9a-f]*: ea 1f 00 00 orh pc,0x0
  30053. + *[0-9a-f]*: ea 1c ff ff orh r12,0xffff
  30054. + *[0-9a-f]*: ea 15 80 00 orh r5,0x8000
  30055. + *[0-9a-f]*: ea 14 7f ff orh r4,0x7fff
  30056. + *[0-9a-f]*: ea 1e 00 01 orh lr,0x1
  30057. + *[0-9a-f]*: ea 18 6e 7d orh r8,0x6e7d
  30058. + *[0-9a-f]*: ea 1c 77 1c orh r12,0x771c
  30059. + *[0-9a-f]*: ea 11 ea 1a orh r1,0xea1a
  30060. +
  30061. +[0-9a-f]* <eorl>:
  30062. + *[0-9a-f]*: ec 1f 00 00 eorl pc,0x0
  30063. + *[0-9a-f]*: ec 1c ff ff eorl r12,0xffff
  30064. + *[0-9a-f]*: ec 15 80 00 eorl r5,0x8000
  30065. + *[0-9a-f]*: ec 14 7f ff eorl r4,0x7fff
  30066. + *[0-9a-f]*: ec 1e 00 01 eorl lr,0x1
  30067. + *[0-9a-f]*: ec 14 c7 b9 eorl r4,0xc7b9
  30068. + *[0-9a-f]*: ec 16 fb dd eorl r6,0xfbdd
  30069. + *[0-9a-f]*: ec 11 51 b1 eorl r1,0x51b1
  30070. +
  30071. +[0-9a-f]* <eorh>:
  30072. + *[0-9a-f]*: ee 1f 00 00 eorh pc,0x0
  30073. + *[0-9a-f]*: ee 1c ff ff eorh r12,0xffff
  30074. + *[0-9a-f]*: ee 15 80 00 eorh r5,0x8000
  30075. + *[0-9a-f]*: ee 14 7f ff eorh r4,0x7fff
  30076. + *[0-9a-f]*: ee 1e 00 01 eorh lr,0x1
  30077. + *[0-9a-f]*: ee 10 2d d4 eorh r0,0x2dd4
  30078. + *[0-9a-f]*: ee 1a 94 b5 eorh r10,0x94b5
  30079. + *[0-9a-f]*: ee 19 df 2a eorh r9,0xdf2a
  30080. +
  30081. +[0-9a-f]* <mcall>:
  30082. + *[0-9a-f]*: f0 1f 00 00 mcall [0-9a-f]* <.*>
  30083. + *[0-9a-f]*: f0 1c ff ff mcall r12\[-4\]
  30084. + *[0-9a-f]*: f0 15 80 00 mcall r5\[-131072\]
  30085. + *[0-9a-f]*: f0 14 7f ff mcall r4\[131068\]
  30086. + *[0-9a-f]*: f0 1e 00 01 mcall lr\[4\]
  30087. + *[0-9a-f]*: f0 1d 3b bf mcall sp\[61180\]
  30088. + *[0-9a-f]*: f0 14 dd d2 mcall r4\[-35000\]
  30089. + *[0-9a-f]*: f0 10 09 b1 mcall r0\[9924\]
  30090. +
  30091. +[0-9a-f]* <pref>:
  30092. + *[0-9a-f]*: f2 1f 00 00 pref pc\[0\]
  30093. + *[0-9a-f]*: f2 1c ff ff pref r12\[-1\]
  30094. + *[0-9a-f]*: f2 15 80 00 pref r5\[-32768\]
  30095. + *[0-9a-f]*: f2 14 7f ff pref r4\[32767\]
  30096. + *[0-9a-f]*: f2 1e 00 01 pref lr\[1\]
  30097. + *[0-9a-f]*: f2 17 1e 44 pref r7\[7748\]
  30098. + *[0-9a-f]*: f2 17 e1 ed pref r7\[-7699\]
  30099. + *[0-9a-f]*: f2 12 9a dc pref r2\[-25892\]
  30100. +
  30101. +[0-9a-f]* <cache>:
  30102. + *[0-9a-f]*: f4 1f 00 00 cache pc\[0\],0x0
  30103. + *[0-9a-f]*: f4 1c ff ff cache r12\[-1\],0x1f
  30104. + *[0-9a-f]*: f4 15 84 00 cache r5\[-1024\],0x10
  30105. + *[0-9a-f]*: f4 14 7b ff cache r4\[1023\],0xf
  30106. + *[0-9a-f]*: f4 1e 08 01 cache lr\[1\],0x1
  30107. + *[0-9a-f]*: f4 13 8c 3c cache r3\[-964\],0x11
  30108. + *[0-9a-f]*: f4 14 b6 89 cache r4\[-375\],0x16
  30109. + *[0-9a-f]*: f4 13 8c 88 cache r3\[-888\],0x11
  30110. +
  30111. +[0-9a-f]* <sub4>:
  30112. + *[0-9a-f]*: 20 0f sub pc,0
  30113. + *[0-9a-f]*: 2f fc sub r12,-1
  30114. + *[0-9a-f]*: f0 25 00 00 sub r5,-1048576
  30115. + *[0-9a-f]*: ee 34 ff ff sub r4,1048575
  30116. + *[0-9a-f]*: 20 1e sub lr,1
  30117. + *[0-9a-f]*: f6 22 8d 6c sub r2,-619156
  30118. + *[0-9a-f]*: e6 3e 0a cd sub lr,461517
  30119. + *[0-9a-f]*: fc 38 2d 25 sub r8,-185051
  30120. +
  30121. +[0-9a-f]* <cp3>:
  30122. + *[0-9a-f]*: 58 0f cp.w pc,0
  30123. + *[0-9a-f]*: 5b fc cp.w r12,-1
  30124. + *[0-9a-f]*: f0 45 00 00 cp.w r5,-1048576
  30125. + *[0-9a-f]*: ee 54 ff ff cp.w r4,1048575
  30126. + *[0-9a-f]*: 58 1e cp.w lr,1
  30127. + *[0-9a-f]*: e0 51 e4 ae cp.w r1,124078
  30128. + *[0-9a-f]*: fa 40 37 e3 cp.w r0,-378909
  30129. + *[0-9a-f]*: fc 44 4a 14 cp.w r4,-243180
  30130. +
  30131. +[0-9a-f]* <mov2>:
  30132. + *[0-9a-f]*: 30 0f mov pc,0
  30133. + *[0-9a-f]*: 3f fc mov r12,-1
  30134. + *[0-9a-f]*: f0 65 00 00 mov r5,-1048576
  30135. + *[0-9a-f]*: ee 74 ff ff mov r4,1048575
  30136. + *[0-9a-f]*: 30 1e mov lr,1
  30137. + *[0-9a-f]*: fa 75 29 a3 mov r5,-317021
  30138. + *[0-9a-f]*: f4 6d 91 94 mov sp,-749164
  30139. + *[0-9a-f]*: ee 65 58 93 mov r5,940179
  30140. +
  30141. +[0-9a-f]* <brc2>:
  30142. + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
  30143. + *[0-9a-f]*: fe 9f ff ff bral [0-9a-f]* <.*>
  30144. + *[0-9a-f]*: f0 88 00 00 brls [0-9a-f]* <.*>
  30145. + *[0-9a-f]*: ee 97 ff ff brpl [0-9a-f]* <.*>
  30146. + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
  30147. + *[0-9a-f]*: f2 8b 4a 4d brhi [0-9a-f]* <.*>
  30148. + *[0-9a-f]*: ea 8e 14 cc brqs [0-9a-f]* <.*>
  30149. + *[0-9a-f]*: fa 98 98 33 brls [0-9a-f]* <.*>
  30150. +
  30151. +[0-9a-f]* <rcall2>:
  30152. + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
  30153. + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
  30154. + *[0-9a-f]*: f0 a0 00 00 rcall [0-9a-f]* <.*>
  30155. + *[0-9a-f]*: ee b0 ff ff rcall [0-9a-f]* <.*>
  30156. + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
  30157. + *[0-9a-f]*: e2 b0 ca 5a rcall [0-9a-f]* <.*>
  30158. + *[0-9a-f]*: e8 a0 47 52 rcall [0-9a-f]* <.*>
  30159. + *[0-9a-f]*: fe b0 fd ef rcall [0-9a-f]* <.*>
  30160. +
  30161. +[0-9a-f]* <sub5>:
  30162. + *[0-9a-f]*: fe cf 00 00 sub pc,pc,0
  30163. + *[0-9a-f]*: f8 cc ff ff sub r12,r12,-1
  30164. + *[0-9a-f]*: ea c5 80 00 sub r5,r5,-32768
  30165. + *[0-9a-f]*: e8 c4 7f ff sub r4,r4,32767
  30166. + *[0-9a-f]*: fc ce 00 01 sub lr,lr,1
  30167. + *[0-9a-f]*: fe cf ce 38 sub pc,pc,-12744
  30168. + *[0-9a-f]*: ee c7 95 1b sub r7,r7,-27365
  30169. + *[0-9a-f]*: f2 c2 bc 32 sub r2,r9,-17358
  30170. +
  30171. +[0-9a-f]* <satsub_w2>:
  30172. + *[0-9a-f]*: fe df 00 00 satsub\.w pc,pc,0
  30173. + *[0-9a-f]*: f8 dc ff ff satsub\.w r12,r12,-1
  30174. + *[0-9a-f]*: ea d5 80 00 satsub\.w r5,r5,-32768
  30175. + *[0-9a-f]*: e8 d4 7f ff satsub\.w r4,r4,32767
  30176. + *[0-9a-f]*: fc de 00 01 satsub\.w lr,lr,1
  30177. + *[0-9a-f]*: fc d2 f8 29 satsub\.w r2,lr,-2007
  30178. + *[0-9a-f]*: f8 d7 fc f0 satsub\.w r7,r12,-784
  30179. + *[0-9a-f]*: ee d4 5a 8c satsub\.w r4,r7,23180
  30180. +
  30181. +[0-9a-f]* <ld_d4>:
  30182. + *[0-9a-f]*: fe e0 00 00 ld\.d r0,pc\[0\]
  30183. + *[0-9a-f]*: f8 ee ff ff ld\.d lr,r12\[-1\]
  30184. + *[0-9a-f]*: ea e8 80 00 ld\.d r8,r5\[-32768\]
  30185. + *[0-9a-f]*: e8 e6 7f ff ld\.d r6,r4\[32767\]
  30186. + *[0-9a-f]*: fc e2 00 01 ld\.d r2,lr\[1\]
  30187. + *[0-9a-f]*: f6 ee 39 c0 ld\.d lr,r11\[14784\]
  30188. + *[0-9a-f]*: f2 e6 b6 27 ld\.d r6,r9\[-18905\]
  30189. + *[0-9a-f]*: e6 e2 e7 2d ld\.d r2,r3\[-6355\]
  30190. +
  30191. +[0-9a-f]* <ld_w4>:
  30192. + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
  30193. + *[0-9a-f]*: f8 fc ff ff ld\.w r12,r12\[-1\]
  30194. + *[0-9a-f]*: ea f5 80 00 ld\.w r5,r5\[-32768\]
  30195. + *[0-9a-f]*: e8 f4 7f ff ld\.w r4,r4\[32767\]
  30196. + *[0-9a-f]*: fc fe 00 01 ld\.w lr,lr\[1\]
  30197. + *[0-9a-f]*: f8 f0 a9 8b ld\.w r0,r12\[-22133\]
  30198. + *[0-9a-f]*: fe fd af d7 ld\.w sp,pc\[-20521\]
  30199. + *[0-9a-f]*: d7 03 nop
  30200. +
  30201. +[0-9a-f]* <ld_sh4>:
  30202. + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
  30203. + *[0-9a-f]*: f9 0c ff ff ld\.sh r12,r12\[-1\]
  30204. + *[0-9a-f]*: eb 05 80 00 ld\.sh r5,r5\[-32768\]
  30205. + *[0-9a-f]*: e9 04 7f ff ld\.sh r4,r4\[32767\]
  30206. + *[0-9a-f]*: fd 0e 00 01 ld\.sh lr,lr\[1\]
  30207. + *[0-9a-f]*: f5 06 78 d2 ld\.sh r6,r10\[30930\]
  30208. + *[0-9a-f]*: f5 06 55 d5 ld\.sh r6,r10\[21973\]
  30209. + *[0-9a-f]*: d7 03 nop
  30210. +
  30211. +[0-9a-f]* <ld_uh4>:
  30212. + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
  30213. + *[0-9a-f]*: f9 1c ff ff ld\.uh r12,r12\[-1\]
  30214. + *[0-9a-f]*: eb 15 80 00 ld\.uh r5,r5\[-32768\]
  30215. + *[0-9a-f]*: e9 14 7f ff ld\.uh r4,r4\[32767\]
  30216. + *[0-9a-f]*: fd 1e 00 01 ld\.uh lr,lr\[1\]
  30217. + *[0-9a-f]*: f3 11 cb d6 ld\.uh r1,r9\[-13354\]
  30218. + *[0-9a-f]*: f7 1e 53 59 ld\.uh lr,r11\[21337\]
  30219. + *[0-9a-f]*: d7 03 nop
  30220. +
  30221. +[0-9a-f]* <ld_sb1>:
  30222. + *[0-9a-f]*: ff 2f 00 00 ld\.sb pc,pc\[0\]
  30223. + *[0-9a-f]*: f9 2c ff ff ld\.sb r12,r12\[-1\]
  30224. + *[0-9a-f]*: eb 25 80 00 ld\.sb r5,r5\[-32768\]
  30225. + *[0-9a-f]*: e9 24 7f ff ld\.sb r4,r4\[32767\]
  30226. + *[0-9a-f]*: fd 2e 00 01 ld\.sb lr,lr\[1\]
  30227. + *[0-9a-f]*: fb 27 90 09 ld\.sb r7,sp\[-28663\]
  30228. + *[0-9a-f]*: e3 22 e9 09 ld\.sb r2,r1\[-5879\]
  30229. + *[0-9a-f]*: e7 2c 49 2e ld\.sb r12,r3\[18734\]
  30230. +
  30231. +[0-9a-f]* <ld_ub4>:
  30232. + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
  30233. + *[0-9a-f]*: f9 3c ff ff ld\.ub r12,r12\[-1\]
  30234. + *[0-9a-f]*: eb 35 80 00 ld\.ub r5,r5\[-32768\]
  30235. + *[0-9a-f]*: e9 34 7f ff ld\.ub r4,r4\[32767\]
  30236. + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
  30237. + *[0-9a-f]*: e9 3f 20 55 ld\.ub pc,r4\[8277\]
  30238. + *[0-9a-f]*: f9 35 4a e4 ld\.ub r5,r12\[19172\]
  30239. + *[0-9a-f]*: fd 3a 66 eb ld\.ub r10,lr\[26347\]
  30240. +
  30241. +[0-9a-f]* <st_d4>:
  30242. + *[0-9a-f]*: fe e1 00 00 st\.d pc\[0\],r0
  30243. + *[0-9a-f]*: f8 ef ff ff st\.d r12\[-1\],lr
  30244. + *[0-9a-f]*: ea e9 80 00 st\.d r5\[-32768\],r8
  30245. + *[0-9a-f]*: e8 e7 7f ff st\.d r4\[32767\],r6
  30246. + *[0-9a-f]*: fc e3 00 01 st\.d lr\[1\],r2
  30247. + *[0-9a-f]*: ea eb 33 90 st\.d r5\[13200\],r10
  30248. + *[0-9a-f]*: ea eb 24 88 st\.d r5\[9352\],r10
  30249. + *[0-9a-f]*: ea e5 7e 75 st\.d r5\[32373\],r4
  30250. +
  30251. +[0-9a-f]* <st_w4>:
  30252. + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
  30253. + *[0-9a-f]*: f9 4c ff ff st\.w r12\[-1\],r12
  30254. + *[0-9a-f]*: eb 45 80 00 st\.w r5\[-32768\],r5
  30255. + *[0-9a-f]*: e9 44 7f ff st\.w r4\[32767\],r4
  30256. + *[0-9a-f]*: fd 4e 00 01 st\.w lr\[1\],lr
  30257. + *[0-9a-f]*: fb 47 17 f8 st\.w sp\[6136\],r7
  30258. + *[0-9a-f]*: ed 4c 69 cf st\.w r6\[27087\],r12
  30259. + *[0-9a-f]*: d7 03 nop
  30260. +
  30261. +[0-9a-f]* <st_h4>:
  30262. + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
  30263. + *[0-9a-f]*: f9 5c ff ff st\.h r12\[-1\],r12
  30264. + *[0-9a-f]*: eb 55 80 00 st\.h r5\[-32768\],r5
  30265. + *[0-9a-f]*: e9 54 7f ff st\.h r4\[32767\],r4
  30266. + *[0-9a-f]*: fd 5e 00 01 st\.h lr\[1\],lr
  30267. + *[0-9a-f]*: e9 57 d9 16 st\.h r4\[-9962\],r7
  30268. + *[0-9a-f]*: f3 53 c0 86 st\.h r9\[-16250\],r3
  30269. + *[0-9a-f]*: d7 03 nop
  30270. +
  30271. +[0-9a-f]* <st_b4>:
  30272. + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
  30273. + *[0-9a-f]*: f9 6c ff ff st\.b r12\[-1\],r12
  30274. + *[0-9a-f]*: eb 65 80 00 st\.b r5\[-32768\],r5
  30275. + *[0-9a-f]*: e9 64 7f ff st\.b r4\[32767\],r4
  30276. + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
  30277. + *[0-9a-f]*: f9 66 75 96 st\.b r12\[30102\],r6
  30278. + *[0-9a-f]*: eb 61 71 31 st\.b r5\[28977\],r1
  30279. + *[0-9a-f]*: e1 61 15 5e st\.b r0\[5470\],r1
  30280. +
  30281. +[0-9a-f]* <mfsr>:
  30282. + *[0-9a-f]*: e1 bf 00 00 mfsr pc,0x0
  30283. + *[0-9a-f]*: e1 bc 00 ff mfsr r12,0x3fc
  30284. + *[0-9a-f]*: e1 b5 00 80 mfsr r5,0x200
  30285. + *[0-9a-f]*: e1 b4 00 7f mfsr r4,0x1fc
  30286. + *[0-9a-f]*: e1 be 00 01 mfsr lr,0x4
  30287. + *[0-9a-f]*: e1 b2 00 ae mfsr r2,0x2b8
  30288. + *[0-9a-f]*: e1 b4 00 41 mfsr r4,0x104
  30289. + *[0-9a-f]*: e1 ba 00 fe mfsr r10,0x3f8
  30290. +
  30291. +[0-9a-f]* <mtsr>:
  30292. + *[0-9a-f]*: e3 bf 00 00 mtsr 0x0,pc
  30293. + *[0-9a-f]*: e3 bc 00 ff mtsr 0x3fc,r12
  30294. + *[0-9a-f]*: e3 b5 00 80 mtsr 0x200,r5
  30295. + *[0-9a-f]*: e3 b4 00 7f mtsr 0x1fc,r4
  30296. + *[0-9a-f]*: e3 be 00 01 mtsr 0x4,lr
  30297. + *[0-9a-f]*: e3 ba 00 38 mtsr 0xe0,r10
  30298. + *[0-9a-f]*: e3 bc 00 d1 mtsr 0x344,r12
  30299. + *[0-9a-f]*: e3 b9 00 4c mtsr 0x130,r9
  30300. +
  30301. +[0-9a-f]* <mfdr>:
  30302. + *[0-9a-f]*: e5 bf 00 00 mfdr pc,0x0
  30303. + *[0-9a-f]*: e5 bc 00 ff mfdr r12,0x3fc
  30304. + *[0-9a-f]*: e5 b5 00 80 mfdr r5,0x200
  30305. + *[0-9a-f]*: e5 b4 00 7f mfdr r4,0x1fc
  30306. + *[0-9a-f]*: e5 be 00 01 mfdr lr,0x4
  30307. + *[0-9a-f]*: e5 b6 00 e9 mfdr r6,0x3a4
  30308. + *[0-9a-f]*: e5 b5 00 09 mfdr r5,0x24
  30309. + *[0-9a-f]*: e5 b9 00 4b mfdr r9,0x12c
  30310. +
  30311. +[0-9a-f]* <mtdr>:
  30312. + *[0-9a-f]*: e7 bf 00 00 mtdr 0x0,pc
  30313. + *[0-9a-f]*: e7 bc 00 ff mtdr 0x3fc,r12
  30314. + *[0-9a-f]*: e7 b5 00 80 mtdr 0x200,r5
  30315. + *[0-9a-f]*: e7 b4 00 7f mtdr 0x1fc,r4
  30316. + *[0-9a-f]*: e7 be 00 01 mtdr 0x4,lr
  30317. + *[0-9a-f]*: e7 b8 00 2d mtdr 0xb4,r8
  30318. + *[0-9a-f]*: e7 ba 00 b4 mtdr 0x2d0,r10
  30319. + *[0-9a-f]*: e7 be 00 66 mtdr 0x198,lr
  30320. +
  30321. +[0-9a-f]* <sleep>:
  30322. + *[0-9a-f]*: e9 b0 00 00 sleep 0x0
  30323. + *[0-9a-f]*: e9 b0 00 ff sleep 0xff
  30324. + *[0-9a-f]*: e9 b0 00 80 sleep 0x80
  30325. + *[0-9a-f]*: e9 b0 00 7f sleep 0x7f
  30326. + *[0-9a-f]*: e9 b0 00 01 sleep 0x1
  30327. + *[0-9a-f]*: e9 b0 00 fe sleep 0xfe
  30328. + *[0-9a-f]*: e9 b0 00 0f sleep 0xf
  30329. + *[0-9a-f]*: e9 b0 00 2b sleep 0x2b
  30330. +
  30331. +[0-9a-f]* <sync>:
  30332. + *[0-9a-f]*: eb b0 00 00 sync 0x0
  30333. + *[0-9a-f]*: eb b0 00 ff sync 0xff
  30334. + *[0-9a-f]*: eb b0 00 80 sync 0x80
  30335. + *[0-9a-f]*: eb b0 00 7f sync 0x7f
  30336. + *[0-9a-f]*: eb b0 00 01 sync 0x1
  30337. + *[0-9a-f]*: eb b0 00 a6 sync 0xa6
  30338. + *[0-9a-f]*: eb b0 00 e6 sync 0xe6
  30339. + *[0-9a-f]*: eb b0 00 b4 sync 0xb4
  30340. +
  30341. +[0-9a-f]* <bld>:
  30342. + *[0-9a-f]*: ed bf 00 00 bld pc,0x0
  30343. + *[0-9a-f]*: ed bc 00 1f bld r12,0x1f
  30344. + *[0-9a-f]*: ed b5 00 10 bld r5,0x10
  30345. + *[0-9a-f]*: ed b4 00 0f bld r4,0xf
  30346. + *[0-9a-f]*: ed be 00 01 bld lr,0x1
  30347. + *[0-9a-f]*: ed b9 00 0f bld r9,0xf
  30348. + *[0-9a-f]*: ed b0 00 04 bld r0,0x4
  30349. + *[0-9a-f]*: ed be 00 1a bld lr,0x1a
  30350. +
  30351. +[0-9a-f]* <bst>:
  30352. + *[0-9a-f]*: ef bf 00 00 bst pc,0x0
  30353. + *[0-9a-f]*: ef bc 00 1f bst r12,0x1f
  30354. + *[0-9a-f]*: ef b5 00 10 bst r5,0x10
  30355. + *[0-9a-f]*: ef b4 00 0f bst r4,0xf
  30356. + *[0-9a-f]*: ef be 00 01 bst lr,0x1
  30357. + *[0-9a-f]*: ef ba 00 1c bst r10,0x1c
  30358. + *[0-9a-f]*: ef b0 00 03 bst r0,0x3
  30359. + *[0-9a-f]*: ef bd 00 02 bst sp,0x2
  30360. +
  30361. +[0-9a-f]* <sats>:
  30362. + *[0-9a-f]*: f1 bf 00 00 sats pc,0x0
  30363. + *[0-9a-f]*: f1 bc 03 ff sats r12>>0x1f,0x1f
  30364. + *[0-9a-f]*: f1 b5 02 10 sats r5>>0x10,0x10
  30365. + *[0-9a-f]*: f1 b4 01 ef sats r4>>0xf,0xf
  30366. + *[0-9a-f]*: f1 be 00 21 sats lr>>0x1,0x1
  30367. + *[0-9a-f]*: f1 ba 02 63 sats r10>>0x3,0x13
  30368. + *[0-9a-f]*: f1 ba 03 42 sats r10>>0x2,0x1a
  30369. + *[0-9a-f]*: f1 b1 00 34 sats r1>>0x14,0x1
  30370. +
  30371. +[0-9a-f]* <satu>:
  30372. + *[0-9a-f]*: f1 bf 04 00 satu pc,0x0
  30373. + *[0-9a-f]*: f1 bc 07 ff satu r12>>0x1f,0x1f
  30374. + *[0-9a-f]*: f1 b5 06 10 satu r5>>0x10,0x10
  30375. + *[0-9a-f]*: f1 b4 05 ef satu r4>>0xf,0xf
  30376. + *[0-9a-f]*: f1 be 04 21 satu lr>>0x1,0x1
  30377. + *[0-9a-f]*: f1 bf 04 e5 satu pc>>0x5,0x7
  30378. + *[0-9a-f]*: f1 b7 04 a5 satu r7>>0x5,0x5
  30379. + *[0-9a-f]*: f1 b2 06 7a satu r2>>0x1a,0x13
  30380. +
  30381. +[0-9a-f]* <satrnds>:
  30382. + *[0-9a-f]*: f3 bf 00 00 satrnds pc,0x0
  30383. + *[0-9a-f]*: f3 bc 03 ff satrnds r12>>0x1f,0x1f
  30384. + *[0-9a-f]*: f3 b5 02 10 satrnds r5>>0x10,0x10
  30385. + *[0-9a-f]*: f3 b4 01 ef satrnds r4>>0xf,0xf
  30386. + *[0-9a-f]*: f3 be 00 21 satrnds lr>>0x1,0x1
  30387. + *[0-9a-f]*: f3 b0 02 75 satrnds r0>>0x15,0x13
  30388. + *[0-9a-f]*: f3 bd 00 40 satrnds sp,0x2
  30389. + *[0-9a-f]*: f3 b7 03 a6 satrnds r7>>0x6,0x1d
  30390. +
  30391. +[0-9a-f]* <satrndu>:
  30392. + *[0-9a-f]*: f3 bf 04 00 satrndu pc,0x0
  30393. + *[0-9a-f]*: f3 bc 07 ff satrndu r12>>0x1f,0x1f
  30394. + *[0-9a-f]*: f3 b5 06 10 satrndu r5>>0x10,0x10
  30395. + *[0-9a-f]*: f3 b4 05 ef satrndu r4>>0xf,0xf
  30396. + *[0-9a-f]*: f3 be 04 21 satrndu lr>>0x1,0x1
  30397. + *[0-9a-f]*: f3 bc 07 40 satrndu r12,0x1a
  30398. + *[0-9a-f]*: f3 b4 04 75 satrndu r4>>0x15,0x3
  30399. + *[0-9a-f]*: f3 ba 06 03 satrndu r10>>0x3,0x10
  30400. +
  30401. +[0-9a-f]* <subfc>:
  30402. + *[0-9a-f]*: f5 bf 00 00 subfeq pc,0
  30403. + *[0-9a-f]*: f5 bc 0f ff subfal r12,-1
  30404. + *[0-9a-f]*: f5 b5 08 80 subfls r5,-128
  30405. + *[0-9a-f]*: f5 b4 07 7f subfpl r4,127
  30406. + *[0-9a-f]*: f5 be 01 01 subfne lr,1
  30407. + *[0-9a-f]*: f5 ba 08 08 subfls r10,8
  30408. + *[0-9a-f]*: f5 bb 0d 63 subfvc r11,99
  30409. + *[0-9a-f]*: f5 b2 0c 49 subfvs r2,73
  30410. +
  30411. +[0-9a-f]* <subc>:
  30412. + *[0-9a-f]*: f7 bf 00 00 subeq pc,0
  30413. + *[0-9a-f]*: f7 bc 0f ff subal r12,-1
  30414. + *[0-9a-f]*: f7 b5 08 80 subls r5,-128
  30415. + *[0-9a-f]*: f7 b4 07 7f subpl r4,127
  30416. + *[0-9a-f]*: f7 be 01 01 subne lr,1
  30417. + *[0-9a-f]*: f7 bc 08 76 subls r12,118
  30418. + *[0-9a-f]*: f7 be 0d f4 subvc lr,-12
  30419. + *[0-9a-f]*: f7 b4 06 f3 submi r4,-13
  30420. +
  30421. +[0-9a-f]* <movc2>:
  30422. + *[0-9a-f]*: f9 bf 00 00 moveq pc,0
  30423. + *[0-9a-f]*: f9 bc 0f ff moval r12,-1
  30424. + *[0-9a-f]*: f9 b5 08 80 movls r5,-128
  30425. + *[0-9a-f]*: f9 b4 07 7f movpl r4,127
  30426. + *[0-9a-f]*: f9 be 01 01 movne lr,1
  30427. + *[0-9a-f]*: f9 b3 05 86 movlt r3,-122
  30428. + *[0-9a-f]*: f9 b8 0d 02 movvc r8,2
  30429. + *[0-9a-f]*: f9 b7 01 91 movne r7,-111
  30430. +
  30431. +[0-9a-f]* <cp_b>:
  30432. + *[0-9a-f]*: e0 0f 18 00 cp\.b pc,r0
  30433. + *[0-9a-f]*: fe 00 18 00 cp\.b r0,pc
  30434. + *[0-9a-f]*: f0 07 18 00 cp\.b r7,r8
  30435. + *[0-9a-f]*: ee 08 18 00 cp\.b r8,r7
  30436. +
  30437. +[0-9a-f]* <cp_h>:
  30438. + *[0-9a-f]*: e0 0f 19 00 cp\.h pc,r0
  30439. + *[0-9a-f]*: fe 00 19 00 cp\.h r0,pc
  30440. + *[0-9a-f]*: f0 07 19 00 cp\.h r7,r8
  30441. + *[0-9a-f]*: ee 08 19 00 cp\.h r8,r7
  30442. +
  30443. +[0-9a-f]* <ldm>:
  30444. + *[0-9a-f]*: e1 cf 00 7e ldm pc,r1-r6
  30445. + *[0-9a-f]*: e1 cc ff ff ldm r12,r0-pc
  30446. + *[0-9a-f]*: e1 c5 80 00 ldm r5,pc
  30447. + *[0-9a-f]*: e1 c4 7f ff ldm r4,r0-lr
  30448. + *[0-9a-f]*: e1 ce 00 01 ldm lr,r0
  30449. + *[0-9a-f]*: e1 c9 40 22 ldm r9,r1,r5,lr
  30450. + *[0-9a-f]*: e1 cb 81 ec ldm r11,r2-r3,r5-r8,pc
  30451. + *[0-9a-f]*: e1 c6 a2 09 ldm r6,r0,r3,r9,sp,pc
  30452. +
  30453. +[0-9a-f]* <ldm_pu>:
  30454. + *[0-9a-f]*: e3 cf 03 c0 ldm pc\+\+,r6-r9
  30455. + *[0-9a-f]*: e3 cc ff ff ldm r12\+\+,r0-pc
  30456. + *[0-9a-f]*: e3 c5 80 00 ldm r5\+\+,pc
  30457. + *[0-9a-f]*: e3 c4 7f ff ldm r4\+\+,r0-lr
  30458. + *[0-9a-f]*: e3 ce 00 01 ldm lr\+\+,r0
  30459. + *[0-9a-f]*: e3 cc d5 38 ldm r12\+\+,r3-r5,r8,r10,r12,lr-pc
  30460. + *[0-9a-f]*: e3 ca c0 74 ldm r10\+\+,r2,r4-r6,lr-pc
  30461. + *[0-9a-f]*: e3 c6 7e 1a ldm r6\+\+,r1,r3-r4,r9-lr
  30462. +
  30463. +[0-9a-f]* <ldmts>:
  30464. + *[0-9a-f]*: e5 cf 01 80 ldmts pc,r7-r8
  30465. + *[0-9a-f]*: e5 cc ff ff ldmts r12,r0-pc
  30466. + *[0-9a-f]*: e5 c5 80 00 ldmts r5,pc
  30467. + *[0-9a-f]*: e5 c4 7f ff ldmts r4,r0-lr
  30468. + *[0-9a-f]*: e5 ce 00 01 ldmts lr,r0
  30469. + *[0-9a-f]*: e5 c0 18 06 ldmts r0,r1-r2,r11-r12
  30470. + *[0-9a-f]*: e5 ce 61 97 ldmts lr,r0-r2,r4,r7-r8,sp-lr
  30471. + *[0-9a-f]*: e5 cc c2 3b ldmts r12,r0-r1,r3-r5,r9,lr-pc
  30472. +
  30473. +[0-9a-f]* <ldmts_pu>:
  30474. + *[0-9a-f]*: e7 cf 02 00 ldmts pc\+\+,r9
  30475. + *[0-9a-f]*: e7 cc ff ff ldmts r12\+\+,r0-pc
  30476. + *[0-9a-f]*: e7 c5 80 00 ldmts r5\+\+,pc
  30477. + *[0-9a-f]*: e7 c4 7f ff ldmts r4\+\+,r0-lr
  30478. + *[0-9a-f]*: e7 ce 00 01 ldmts lr\+\+,r0
  30479. + *[0-9a-f]*: e7 cd 0a bd ldmts sp\+\+,r0,r2-r5,r7,r9,r11
  30480. + *[0-9a-f]*: e7 c5 0c 8e ldmts r5\+\+,r1-r3,r7,r10-r11
  30481. + *[0-9a-f]*: e7 c8 a1 9c ldmts r8\+\+,r2-r4,r7-r8,sp,pc
  30482. +
  30483. +[0-9a-f]* <stm>:
  30484. + *[0-9a-f]*: e9 cf 00 80 stm pc,r7
  30485. + *[0-9a-f]*: e9 cc ff ff stm r12,r0-pc
  30486. + *[0-9a-f]*: e9 c5 80 00 stm r5,pc
  30487. + *[0-9a-f]*: e9 c4 7f ff stm r4,r0-lr
  30488. + *[0-9a-f]*: e9 ce 00 01 stm lr,r0
  30489. + *[0-9a-f]*: e9 cd 49 2c stm sp,r2-r3,r5,r8,r11,lr
  30490. + *[0-9a-f]*: e9 c4 4c 5f stm r4,r0-r4,r6,r10-r11,lr
  30491. + *[0-9a-f]*: e9 c9 f2 22 stm r9,r1,r5,r9,r12-pc
  30492. +
  30493. +[0-9a-f]* <stm_pu>:
  30494. + *[0-9a-f]*: eb cf 00 70 stm --pc,r4-r6
  30495. + *[0-9a-f]*: eb cc ff ff stm --r12,r0-pc
  30496. + *[0-9a-f]*: eb c5 80 00 stm --r5,pc
  30497. + *[0-9a-f]*: eb c4 7f ff stm --r4,r0-lr
  30498. + *[0-9a-f]*: eb ce 00 01 stm --lr,r0
  30499. + *[0-9a-f]*: eb cb fb f1 stm --r11,r0,r4-r9,r11-pc
  30500. + *[0-9a-f]*: eb cb 56 09 stm --r11,r0,r3,r9-r10,r12,lr
  30501. + *[0-9a-f]*: eb c6 63 04 stm --r6,r2,r8-r9,sp-lr
  30502. +
  30503. +[0-9a-f]* <stmts>:
  30504. + *[0-9a-f]*: ed cf 01 00 stmts pc,r8
  30505. + *[0-9a-f]*: ed cc ff ff stmts r12,r0-pc
  30506. + *[0-9a-f]*: ed c5 80 00 stmts r5,pc
  30507. + *[0-9a-f]*: ed c4 7f ff stmts r4,r0-lr
  30508. + *[0-9a-f]*: ed ce 00 01 stmts lr,r0
  30509. + *[0-9a-f]*: ed c1 c6 5b stmts r1,r0-r1,r3-r4,r6,r9-r10,lr-pc
  30510. + *[0-9a-f]*: ed c3 1d c1 stmts r3,r0,r6-r8,r10-r12
  30511. + *[0-9a-f]*: ed cb d6 d1 stmts r11,r0,r4,r6-r7,r9-r10,r12,lr-pc
  30512. +
  30513. +[0-9a-f]* <stmts_pu>:
  30514. + *[0-9a-f]*: ef cf 01 c0 stmts --pc,r6-r8
  30515. + *[0-9a-f]*: ef cc ff ff stmts --r12,r0-pc
  30516. + *[0-9a-f]*: ef c5 80 00 stmts --r5,pc
  30517. + *[0-9a-f]*: ef c4 7f ff stmts --r4,r0-lr
  30518. + *[0-9a-f]*: ef ce 00 01 stmts --lr,r0
  30519. + *[0-9a-f]*: ef c2 36 19 stmts --r2,r0,r3-r4,r9-r10,r12-sp
  30520. + *[0-9a-f]*: ef c3 c0 03 stmts --r3,r0-r1,lr-pc
  30521. + *[0-9a-f]*: ef c0 44 7d stmts --r0,r0,r2-r6,r10,lr
  30522. +
  30523. +[0-9a-f]* <ldins_h>:
  30524. + *[0-9a-f]*: ff df 00 00 ldins\.h pc:b,pc\[0\]
  30525. + *[0-9a-f]*: f9 dc 1f ff ldins\.h r12:t,r12\[-2\]
  30526. + *[0-9a-f]*: eb d5 18 00 ldins\.h r5:t,r5\[-4096\]
  30527. + *[0-9a-f]*: e9 d4 07 ff ldins\.h r4:b,r4\[4094\]
  30528. + *[0-9a-f]*: fd de 10 01 ldins\.h lr:t,lr\[2\]
  30529. + *[0-9a-f]*: fd d0 13 c5 ldins\.h r0:t,lr\[1930\]
  30530. + *[0-9a-f]*: ef d3 0e f5 ldins\.h r3:b,r7\[-534\]
  30531. + *[0-9a-f]*: f9 d2 0b 9a ldins\.h r2:b,r12\[-2252\]
  30532. +
  30533. +[0-9a-f]* <ldins_b>:
  30534. + *[0-9a-f]*: ff df 40 00 ldins\.b pc:b,pc\[0\]
  30535. + *[0-9a-f]*: f9 dc 7f ff ldins\.b r12:t,r12\[-1\]
  30536. + *[0-9a-f]*: eb d5 68 00 ldins\.b r5:u,r5\[-2048\]
  30537. + *[0-9a-f]*: e9 d4 57 ff ldins\.b r4:l,r4\[2047\]
  30538. + *[0-9a-f]*: fd de 50 01 ldins\.b lr:l,lr\[1\]
  30539. + *[0-9a-f]*: e9 d6 7d 6a ldins\.b r6:t,r4\[-662\]
  30540. + *[0-9a-f]*: e3 d5 4f 69 ldins\.b r5:b,r1\[-151\]
  30541. + *[0-9a-f]*: f7 da 78 7d ldins\.b r10:t,r11\[-1923\]
  30542. +
  30543. +[0-9a-f]* <ldswp_sh>:
  30544. + *[0-9a-f]*: ff df 20 00 ldswp\.sh pc,pc\[0\]
  30545. + *[0-9a-f]*: f9 dc 2f ff ldswp\.sh r12,r12\[-2\]
  30546. + *[0-9a-f]*: eb d5 28 00 ldswp\.sh r5,r5\[-4096\]
  30547. + *[0-9a-f]*: e9 d4 27 ff ldswp\.sh r4,r4\[4094\]
  30548. + *[0-9a-f]*: fd de 20 01 ldswp\.sh lr,lr\[2\]
  30549. + *[0-9a-f]*: f5 d9 27 84 ldswp\.sh r9,r10\[3848\]
  30550. + *[0-9a-f]*: f9 d4 2c 04 ldswp\.sh r4,r12\[-2040\]
  30551. + *[0-9a-f]*: e5 da 26 08 ldswp\.sh r10,r2\[3088\]
  30552. +
  30553. +[0-9a-f]* <ldswp_uh>:
  30554. + *[0-9a-f]*: ff df 30 00 ldswp\.uh pc,pc\[0\]
  30555. + *[0-9a-f]*: f9 dc 3f ff ldswp\.uh r12,r12\[-2\]
  30556. + *[0-9a-f]*: eb d5 38 00 ldswp\.uh r5,r5\[-4096\]
  30557. + *[0-9a-f]*: e9 d4 37 ff ldswp\.uh r4,r4\[4094\]
  30558. + *[0-9a-f]*: fd de 30 01 ldswp\.uh lr,lr\[2\]
  30559. + *[0-9a-f]*: f3 d4 37 46 ldswp\.uh r4,r9\[3724\]
  30560. + *[0-9a-f]*: fb de 3c bc ldswp\.uh lr,sp\[-1672\]
  30561. + *[0-9a-f]*: f9 d8 38 7d ldswp\.uh r8,r12\[-3846\]
  30562. +
  30563. +[0-9a-f]* <ldswp_w>:
  30564. + *[0-9a-f]*: ff df 80 00 ldswp\.w pc,pc\[0\]
  30565. + *[0-9a-f]*: f9 dc 8f ff ldswp\.w r12,r12\[-4\]
  30566. + *[0-9a-f]*: eb d5 88 00 ldswp\.w r5,r5\[-8192\]
  30567. + *[0-9a-f]*: e9 d4 87 ff ldswp\.w r4,r4\[8188\]
  30568. + *[0-9a-f]*: fd de 80 01 ldswp\.w lr,lr\[4\]
  30569. + *[0-9a-f]*: ef dd 81 d1 ldswp\.w sp,r7\[1860\]
  30570. + *[0-9a-f]*: eb df 8c c1 ldswp\.w pc,r5\[-3324\]
  30571. + *[0-9a-f]*: f5 dc 8c c8 ldswp\.w r12,r10\[-3296\]
  30572. +
  30573. +[0-9a-f]* <stswp_h>:
  30574. + *[0-9a-f]*: ff df 90 00 stswp\.h pc\[0\],pc
  30575. + *[0-9a-f]*: f9 dc 9f ff stswp\.h r12\[-2\],r12
  30576. + *[0-9a-f]*: eb d5 98 00 stswp\.h r5\[-4096\],r5
  30577. + *[0-9a-f]*: e9 d4 97 ff stswp\.h r4\[4094\],r4
  30578. + *[0-9a-f]*: fd de 90 01 stswp\.h lr\[2\],lr
  30579. + *[0-9a-f]*: ef da 90 20 stswp\.h r7\[64\],r10
  30580. + *[0-9a-f]*: f5 d2 95 e8 stswp\.h r10\[3024\],r2
  30581. + *[0-9a-f]*: e1 da 9b 74 stswp\.h r0\[-2328\],r10
  30582. +
  30583. +[0-9a-f]* <stswp_w>:
  30584. + *[0-9a-f]*: ff df a0 00 stswp\.w pc\[0\],pc
  30585. + *[0-9a-f]*: f9 dc af ff stswp\.w r12\[-4\],r12
  30586. + *[0-9a-f]*: eb d5 a8 00 stswp\.w r5\[-8192\],r5
  30587. + *[0-9a-f]*: e9 d4 a7 ff stswp\.w r4\[8188\],r4
  30588. + *[0-9a-f]*: fd de a0 01 stswp\.w lr\[4\],lr
  30589. + *[0-9a-f]*: ff d8 a1 21 stswp\.w pc\[1156\],r8
  30590. + *[0-9a-f]*: fb da a7 ce stswp\.w sp\[7992\],r10
  30591. + *[0-9a-f]*: f1 d5 ae db stswp\.w r8\[-1172\],r5
  30592. +
  30593. +[0-9a-f]* <and2>:
  30594. + *[0-9a-f]*: ff ef 00 0f and pc,pc,pc
  30595. + *[0-9a-f]*: f9 ec 01 fc and r12,r12,r12<<0x1f
  30596. + *[0-9a-f]*: eb e5 01 05 and r5,r5,r5<<0x10
  30597. + *[0-9a-f]*: e9 e4 00 f4 and r4,r4,r4<<0xf
  30598. + *[0-9a-f]*: fd ee 00 1e and lr,lr,lr<<0x1
  30599. + *[0-9a-f]*: e5 e1 00 1a and r10,r2,r1<<0x1
  30600. + *[0-9a-f]*: f1 eb 01 bc and r12,r8,r11<<0x1b
  30601. + *[0-9a-f]*: ef e0 00 3a and r10,r7,r0<<0x3
  30602. +
  30603. +[0-9a-f]* <and3>:
  30604. + *[0-9a-f]*: ff ef 02 0f and pc,pc,pc
  30605. + *[0-9a-f]*: f9 ec 03 fc and r12,r12,r12>>0x1f
  30606. + *[0-9a-f]*: eb e5 03 05 and r5,r5,r5>>0x10
  30607. + *[0-9a-f]*: e9 e4 02 f4 and r4,r4,r4>>0xf
  30608. + *[0-9a-f]*: fd ee 02 1e and lr,lr,lr>>0x1
  30609. + *[0-9a-f]*: f1 e7 03 1c and r12,r8,r7>>0x11
  30610. + *[0-9a-f]*: e9 e9 03 4f and pc,r4,r9>>0x14
  30611. + *[0-9a-f]*: f3 ea 02 ca and r10,r9,r10>>0xc
  30612. +
  30613. +[0-9a-f]* <or2>:
  30614. + *[0-9a-f]*: ff ef 10 0f or pc,pc,pc
  30615. + *[0-9a-f]*: f9 ec 11 fc or r12,r12,r12<<0x1f
  30616. + *[0-9a-f]*: eb e5 11 05 or r5,r5,r5<<0x10
  30617. + *[0-9a-f]*: e9 e4 10 f4 or r4,r4,r4<<0xf
  30618. + *[0-9a-f]*: fd ee 10 1e or lr,lr,lr<<0x1
  30619. + *[0-9a-f]*: fb eb 11 d8 or r8,sp,r11<<0x1d
  30620. + *[0-9a-f]*: f3 e2 11 cf or pc,r9,r2<<0x1c
  30621. + *[0-9a-f]*: e3 e2 10 35 or r5,r1,r2<<0x3
  30622. +
  30623. +[0-9a-f]* <or3>:
  30624. + *[0-9a-f]*: ff ef 12 0f or pc,pc,pc
  30625. + *[0-9a-f]*: f9 ec 13 fc or r12,r12,r12>>0x1f
  30626. + *[0-9a-f]*: eb e5 13 05 or r5,r5,r5>>0x10
  30627. + *[0-9a-f]*: e9 e4 12 f4 or r4,r4,r4>>0xf
  30628. + *[0-9a-f]*: fd ee 12 1e or lr,lr,lr>>0x1
  30629. + *[0-9a-f]*: fb ed 12 21 or r1,sp,sp>>0x2
  30630. + *[0-9a-f]*: e3 e1 13 d0 or r0,r1,r1>>0x1d
  30631. + *[0-9a-f]*: f9 e8 12 84 or r4,r12,r8>>0x8
  30632. +
  30633. +[0-9a-f]* <eor2>:
  30634. + *[0-9a-f]*: ff ef 20 0f eor pc,pc,pc
  30635. + *[0-9a-f]*: f9 ec 21 fc eor r12,r12,r12<<0x1f
  30636. + *[0-9a-f]*: eb e5 21 05 eor r5,r5,r5<<0x10
  30637. + *[0-9a-f]*: e9 e4 20 f4 eor r4,r4,r4<<0xf
  30638. + *[0-9a-f]*: fd ee 20 1e eor lr,lr,lr<<0x1
  30639. + *[0-9a-f]*: f3 e4 20 ba eor r10,r9,r4<<0xb
  30640. + *[0-9a-f]*: e1 e1 21 f4 eor r4,r0,r1<<0x1f
  30641. + *[0-9a-f]*: e5 ec 20 d6 eor r6,r2,r12<<0xd
  30642. +
  30643. +[0-9a-f]* <eor3>:
  30644. + *[0-9a-f]*: ff ef 22 0f eor pc,pc,pc
  30645. + *[0-9a-f]*: f9 ec 23 fc eor r12,r12,r12>>0x1f
  30646. + *[0-9a-f]*: eb e5 23 05 eor r5,r5,r5>>0x10
  30647. + *[0-9a-f]*: e9 e4 22 f4 eor r4,r4,r4>>0xf
  30648. + *[0-9a-f]*: fd ee 22 1e eor lr,lr,lr>>0x1
  30649. + *[0-9a-f]*: eb e5 23 65 eor r5,r5,r5>>0x16
  30650. + *[0-9a-f]*: e3 ee 22 3a eor r10,r1,lr>>0x3
  30651. + *[0-9a-f]*: fd ed 23 a7 eor r7,lr,sp>>0x1a
  30652. +
  30653. +[0-9a-f]* <sthh_w2>:
  30654. + *[0-9a-f]*: ff ef 8f 0f sthh\.w pc\[pc\],pc:b,pc:b
  30655. + *[0-9a-f]*: f9 ec bc 3c sthh\.w r12\[r12<<0x3\],r12:t,r12:t
  30656. + *[0-9a-f]*: eb e5 b5 25 sthh\.w r5\[r5<<0x2\],r5:t,r5:t
  30657. + *[0-9a-f]*: e9 e4 84 14 sthh\.w r4\[r4<<0x1\],r4:b,r4:b
  30658. + *[0-9a-f]*: fd ee be 1e sthh\.w lr\[lr<<0x1\],lr:t,lr:t
  30659. + *[0-9a-f]*: e3 ec b6 3d sthh\.w sp\[r6<<0x3\],r1:t,r12:t
  30660. + *[0-9a-f]*: f3 e9 b6 06 sthh\.w r6\[r6\],r9:t,r9:t
  30661. + *[0-9a-f]*: e1 eb 93 0a sthh\.w r10\[r3\],r0:b,r11:t
  30662. +
  30663. +[0-9a-f]* <sthh_w1>:
  30664. + *[0-9a-f]*: ff ef c0 0f sthh\.w pc\[0x0\],pc:b,pc:b
  30665. + *[0-9a-f]*: f9 ec ff fc sthh\.w r12\[0x3fc\],r12:t,r12:t
  30666. + *[0-9a-f]*: eb e5 f8 05 sthh\.w r5\[0x200\],r5:t,r5:t
  30667. + *[0-9a-f]*: e9 e4 c7 f4 sthh\.w r4\[0x1fc\],r4:b,r4:b
  30668. + *[0-9a-f]*: fd ee f0 1e sthh\.w lr\[0x4\],lr:t,lr:t
  30669. + *[0-9a-f]*: f3 e0 e6 54 sthh\.w r4\[0x194\],r9:t,r0:b
  30670. + *[0-9a-f]*: e5 ea e5 78 sthh\.w r8\[0x15c\],r2:t,r10:b
  30671. + *[0-9a-f]*: f3 e2 c2 bd sthh\.w sp\[0xac\],r9:b,r2:b
  30672. +
  30673. +[0-9a-f]* <cop>:
  30674. + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
  30675. + *[0-9a-f]*: e7 af ff ff cop cp7,cr15,cr15,cr15,0x7f
  30676. + *[0-9a-f]*: e3 a8 75 55 cop cp3,cr5,cr5,cr5,0x31
  30677. + *[0-9a-f]*: e3 a8 44 44 cop cp2,cr4,cr4,cr4,0x30
  30678. + *[0-9a-f]*: e5 ad a8 37 cop cp5,cr8,cr3,cr7,0x5a
  30679. +
  30680. +[0-9a-f]* <ldc_w1>:
  30681. + *[0-9a-f]*: e9 a0 00 00 ldc\.w cp0,cr0,r0\[0x0\]
  30682. + *[0-9a-f]*: e9 af ef ff ldc\.w cp7,cr15,pc\[0x3fc\]
  30683. + *[0-9a-f]*: e9 a5 65 80 ldc\.w cp3,cr5,r5\[0x200\]
  30684. + *[0-9a-f]*: e9 a4 44 7f ldc\.w cp2,cr4,r4\[0x1fc\]
  30685. + *[0-9a-f]*: e9 ad 89 24 ldc\.w cp4,cr9,sp\[0x90\]
  30686. +
  30687. +[0-9a-f]* <ldc_w2>:
  30688. + *[0-9a-f]*: ef a0 00 40 ldc\.w cp0,cr0,--r0
  30689. + *[0-9a-f]*: ef af ef 40 ldc\.w cp7,cr15,--pc
  30690. + *[0-9a-f]*: ef a5 65 40 ldc\.w cp3,cr5,--r5
  30691. + *[0-9a-f]*: ef a4 44 40 ldc\.w cp2,cr4,--r4
  30692. + *[0-9a-f]*: ef ad 89 40 ldc\.w cp4,cr9,--sp
  30693. +
  30694. +[0-9a-f]* <ldc_w3>:
  30695. + *[0-9a-f]*: ef a0 10 00 ldc\.w cp0,cr0,r0\[r0\]
  30696. + *[0-9a-f]*: ef af ff 3f ldc\.w cp7,cr15,pc\[pc<<0x3\]
  30697. + *[0-9a-f]*: ef a5 75 24 ldc\.w cp3,cr5,r5\[r4<<0x2\]
  30698. + *[0-9a-f]*: ef a4 54 13 ldc\.w cp2,cr4,r4\[r3<<0x1\]
  30699. + *[0-9a-f]*: ef ad 99 0c ldc\.w cp4,cr9,sp\[r12\]
  30700. +
  30701. +[0-9a-f]* <ldc_d1>:
  30702. + *[0-9a-f]*: e9 a0 10 00 ldc\.d cp0,cr0,r0\[0x0\]
  30703. + *[0-9a-f]*: e9 af fe ff ldc\.d cp7,cr14,pc\[0x3fc\]
  30704. + *[0-9a-f]*: e9 a5 76 80 ldc\.d cp3,cr6,r5\[0x200\]
  30705. + *[0-9a-f]*: e9 a4 54 7f ldc\.d cp2,cr4,r4\[0x1fc\]
  30706. + *[0-9a-f]*: e9 ad 98 24 ldc\.d cp4,cr8,sp\[0x90\]
  30707. +
  30708. +[0-9a-f]* <ldc_d2>:
  30709. + *[0-9a-f]*: ef a0 00 50 ldc\.d cp0,cr0,--r0
  30710. + *[0-9a-f]*: ef af ee 50 ldc\.d cp7,cr14,--pc
  30711. + *[0-9a-f]*: ef a5 66 50 ldc\.d cp3,cr6,--r5
  30712. + *[0-9a-f]*: ef a4 44 50 ldc\.d cp2,cr4,--r4
  30713. + *[0-9a-f]*: ef ad 88 50 ldc\.d cp4,cr8,--sp
  30714. +
  30715. +[0-9a-f]* <ldc_d3>:
  30716. + *[0-9a-f]*: ef a0 10 40 ldc\.d cp0,cr0,r0\[r0\]
  30717. + *[0-9a-f]*: ef af fe 7f ldc\.d cp7,cr14,pc\[pc<<0x3\]
  30718. + *[0-9a-f]*: ef a5 76 64 ldc\.d cp3,cr6,r5\[r4<<0x2\]
  30719. + *[0-9a-f]*: ef a4 54 53 ldc\.d cp2,cr4,r4\[r3<<0x1\]
  30720. + *[0-9a-f]*: ef ad 98 4c ldc\.d cp4,cr8,sp\[r12\]
  30721. +
  30722. +[0-9a-f]* <stc_w1>:
  30723. + *[0-9a-f]*: eb a0 00 00 stc\.w cp0,r0\[0x0\],cr0
  30724. + *[0-9a-f]*: eb af ef ff stc\.w cp7,pc\[0x3fc\],cr15
  30725. + *[0-9a-f]*: eb a5 65 80 stc\.w cp3,r5\[0x200\],cr5
  30726. + *[0-9a-f]*: eb a4 44 7f stc\.w cp2,r4\[0x1fc\],cr4
  30727. + *[0-9a-f]*: eb ad 89 24 stc\.w cp4,sp\[0x90\],cr9
  30728. +
  30729. +[0-9a-f]* <stc_w2>:
  30730. + *[0-9a-f]*: ef a0 00 60 stc\.w cp0,r0\+\+,cr0
  30731. + *[0-9a-f]*: ef af ef 60 stc\.w cp7,pc\+\+,cr15
  30732. + *[0-9a-f]*: ef a5 65 60 stc\.w cp3,r5\+\+,cr5
  30733. + *[0-9a-f]*: ef a4 44 60 stc\.w cp2,r4\+\+,cr4
  30734. + *[0-9a-f]*: ef ad 89 60 stc\.w cp4,sp\+\+,cr9
  30735. +
  30736. +[0-9a-f]* <stc_w3>:
  30737. + *[0-9a-f]*: ef a0 10 80 stc\.w cp0,r0\[r0\],cr0
  30738. + *[0-9a-f]*: ef af ff bf stc\.w cp7,pc\[pc<<0x3\],cr15
  30739. + *[0-9a-f]*: ef a5 75 a4 stc\.w cp3,r5\[r4<<0x2\],cr5
  30740. + *[0-9a-f]*: ef a4 54 93 stc\.w cp2,r4\[r3<<0x1\],cr4
  30741. + *[0-9a-f]*: ef ad 99 8c stc\.w cp4,sp\[r12\],cr9
  30742. +
  30743. +[0-9a-f]* <stc_d1>:
  30744. + *[0-9a-f]*: eb a0 10 00 stc\.d cp0,r0\[0x0\],cr0
  30745. + *[0-9a-f]*: eb af fe ff stc\.d cp7,pc\[0x3fc\],cr14
  30746. + *[0-9a-f]*: eb a5 76 80 stc\.d cp3,r5\[0x200\],cr6
  30747. + *[0-9a-f]*: eb a4 54 7f stc\.d cp2,r4\[0x1fc\],cr4
  30748. + *[0-9a-f]*: eb ad 98 24 stc\.d cp4,sp\[0x90\],cr8
  30749. +
  30750. +[0-9a-f]* <stc_d2>:
  30751. + *[0-9a-f]*: ef a0 00 70 stc\.d cp0,r0\+\+,cr0
  30752. + *[0-9a-f]*: ef af ee 70 stc\.d cp7,pc\+\+,cr14
  30753. + *[0-9a-f]*: ef a5 66 70 stc\.d cp3,r5\+\+,cr6
  30754. + *[0-9a-f]*: ef a4 44 70 stc\.d cp2,r4\+\+,cr4
  30755. + *[0-9a-f]*: ef ad 88 70 stc\.d cp4,sp\+\+,cr8
  30756. +
  30757. +[0-9a-f]* <stc_d3>:
  30758. + *[0-9a-f]*: ef a0 10 c0 stc\.d cp0,r0\[r0\],cr0
  30759. + *[0-9a-f]*: ef af fe ff stc\.d cp7,pc\[pc<<0x3\],cr14
  30760. + *[0-9a-f]*: ef a5 76 e4 stc\.d cp3,r5\[r4<<0x2\],cr6
  30761. + *[0-9a-f]*: ef a4 54 d3 stc\.d cp2,r4\[r3<<0x1\],cr4
  30762. + *[0-9a-f]*: ef ad 98 cc stc\.d cp4,sp\[r12\],cr8
  30763. +
  30764. +[0-9a-f]* <ldc0_w>:
  30765. + *[0-9a-f]*: f1 a0 00 00 ldc0\.w cr0,r0\[0x0\]
  30766. + *[0-9a-f]*: f1 af ff ff ldc0\.w cr15,pc\[0x3ffc\]
  30767. + *[0-9a-f]*: f1 a5 85 00 ldc0\.w cr5,r5\[0x2000\]
  30768. + *[0-9a-f]*: f1 a4 74 ff ldc0\.w cr4,r4\[0x1ffc\]
  30769. + *[0-9a-f]*: f1 ad 09 93 ldc0\.w cr9,sp\[0x24c\]
  30770. +
  30771. +[0-9a-f]* <ldc0_d>:
  30772. + *[0-9a-f]*: f3 a0 00 00 ldc0\.d cr0,r0\[0x0\]
  30773. + *[0-9a-f]*: f3 af fe ff ldc0\.d cr14,pc\[0x3ffc\]
  30774. + *[0-9a-f]*: f3 a5 86 00 ldc0\.d cr6,r5\[0x2000\]
  30775. + *[0-9a-f]*: f3 a4 74 ff ldc0\.d cr4,r4\[0x1ffc\]
  30776. + *[0-9a-f]*: f3 ad 08 93 ldc0\.d cr8,sp\[0x24c\]
  30777. +
  30778. +[0-9a-f]* <stc0_w>:
  30779. + *[0-9a-f]*: f5 a0 00 00 stc0\.w r0\[0x0\],cr0
  30780. + *[0-9a-f]*: f5 af ff ff stc0\.w pc\[0x3ffc\],cr15
  30781. + *[0-9a-f]*: f5 a5 85 00 stc0\.w r5\[0x2000\],cr5
  30782. + *[0-9a-f]*: f5 a4 74 ff stc0\.w r4\[0x1ffc\],cr4
  30783. + *[0-9a-f]*: f5 ad 09 93 stc0\.w sp\[0x24c\],cr9
  30784. +
  30785. +[0-9a-f]* <stc0_d>:
  30786. + *[0-9a-f]*: f7 a0 00 00 stc0\.d r0\[0x0\],cr0
  30787. + *[0-9a-f]*: f7 af fe ff stc0\.d pc\[0x3ffc\],cr14
  30788. + *[0-9a-f]*: f7 a5 86 00 stc0\.d r5\[0x2000\],cr6
  30789. + *[0-9a-f]*: f7 a4 74 ff stc0\.d r4\[0x1ffc\],cr4
  30790. + *[0-9a-f]*: f7 ad 08 93 stc0\.d sp\[0x24c\],cr8
  30791. +
  30792. +[0-9a-f]* <memc>:
  30793. + *[0-9a-f]*: f6 10 00 00 memc 0,0x0
  30794. + *[0-9a-f]*: f6 1f ff ff memc -4,0x1f
  30795. + *[0-9a-f]*: f6 18 40 00 memc -65536,0x10
  30796. + *[0-9a-f]*: f6 17 bf ff memc 65532,0xf
  30797. +
  30798. +[0-9a-f]* <mems>:
  30799. + *[0-9a-f]*: f8 10 00 00 mems 0,0x0
  30800. + *[0-9a-f]*: f8 1f ff ff mems -4,0x1f
  30801. + *[0-9a-f]*: f8 18 40 00 mems -65536,0x10
  30802. + *[0-9a-f]*: f8 17 bf ff mems 65532,0xf
  30803. +
  30804. +[0-9a-f]* <memt>:
  30805. + *[0-9a-f]*: fa 10 00 00 memt 0,0x0
  30806. + *[0-9a-f]*: fa 1f ff ff memt -4,0x1f
  30807. + *[0-9a-f]*: fa 18 40 00 memt -65536,0x10
  30808. + *[0-9a-f]*: fa 17 bf ff memt 65532,0xf
  30809. +
  30810. +[0-9a-f]* <stcond>:
  30811. + *[0-9a-f]*: e1 70 00 00 stcond r0\[0\],r0
  30812. + *[0-9a-f]*: ff 7f ff ff stcond pc\[-1\],pc
  30813. + *[0-9a-f]*: f1 77 80 00 stcond r8\[-32768\],r7
  30814. + *[0-9a-f]*: ef 78 7f ff stcond r7\[32767\],r8
  30815. + *[0-9a-f]*: eb 7a 12 34 stcond r5\[4660\],r10
  30816. +
  30817. +[0-9a-f]* <ldcm_w>:
  30818. + *[0-9a-f]*: ed af 00 ff ldcm\.w cp0,pc,cr0-cr7
  30819. + *[0-9a-f]*: ed a0 e0 01 ldcm\.w cp7,r0,cr0
  30820. + *[0-9a-f]*: ed a4 90 7f ldcm\.w cp4,r4\+\+,cr0-cr6
  30821. + *[0-9a-f]*: ed a7 60 80 ldcm\.w cp3,r7,cr7
  30822. + *[0-9a-f]*: ed ac 30 72 ldcm\.w cp1,r12\+\+,cr1,cr4-cr6
  30823. + *[0-9a-f]*: ed af 01 ff ldcm\.w cp0,pc,cr8-cr15
  30824. + *[0-9a-f]*: ed a0 e1 01 ldcm\.w cp7,r0,cr8
  30825. + *[0-9a-f]*: ed a4 91 7f ldcm\.w cp4,r4\+\+,cr8-cr14
  30826. + *[0-9a-f]*: ed a7 61 80 ldcm\.w cp3,r7,cr15
  30827. + *[0-9a-f]*: ed ac 31 72 ldcm\.w cp1,r12\+\+,cr9,cr12-cr14
  30828. +
  30829. +[0-9a-f]* <ldcm_d>:
  30830. + *[0-9a-f]*: ed af 04 ff ldcm\.d cp0,pc,cr0-cr15
  30831. + *[0-9a-f]*: ed a0 e4 01 ldcm\.d cp7,r0,cr0-cr1
  30832. + *[0-9a-f]*: ed a4 94 7f ldcm\.d cp4,r4\+\+,cr0-cr13
  30833. + *[0-9a-f]*: ed a7 64 80 ldcm\.d cp3,r7,cr14-cr15
  30834. + *[0-9a-f]*: ed ac 54 93 ldcm\.d cp2,r12\+\+,cr0-cr3,cr8-cr9,cr14-cr15
  30835. +
  30836. +[0-9a-f]* <stcm_w>:
  30837. + *[0-9a-f]*: ed af 02 ff stcm\.w cp0,pc,cr0-cr7
  30838. + *[0-9a-f]*: ed a0 e2 01 stcm\.w cp7,r0,cr0
  30839. + *[0-9a-f]*: ed a4 92 7f stcm\.w cp4,--r4,cr0-cr6
  30840. + *[0-9a-f]*: ed a7 62 80 stcm\.w cp3,r7,cr7
  30841. + *[0-9a-f]*: ed ac 32 72 stcm\.w cp1,--r12,cr1,cr4-cr6
  30842. + *[0-9a-f]*: ed af 03 ff stcm\.w cp0,pc,cr8-cr15
  30843. + *[0-9a-f]*: ed a0 e3 01 stcm\.w cp7,r0,cr8
  30844. + *[0-9a-f]*: ed a4 93 7f stcm\.w cp4,--r4,cr8-cr14
  30845. + *[0-9a-f]*: ed a7 63 80 stcm\.w cp3,r7,cr15
  30846. + *[0-9a-f]*: ed ac 33 72 stcm\.w cp1,--r12,cr9,cr12-cr14
  30847. +
  30848. +[0-9a-f]* <stcm_d>:
  30849. + *[0-9a-f]*: ed af 05 ff stcm\.d cp0,pc,cr0-cr15
  30850. + *[0-9a-f]*: ed a0 e5 01 stcm\.d cp7,r0,cr0-cr1
  30851. + *[0-9a-f]*: ed a4 95 7f stcm\.d cp4,--r4,cr0-cr13
  30852. + *[0-9a-f]*: ed a7 65 80 stcm\.d cp3,r7,cr14-cr15
  30853. + *[0-9a-f]*: ed ac 55 93 stcm\.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
  30854. +
  30855. +[0-9a-f]* <mvcr_w>:
  30856. + *[0-9a-f]*: ef af ef 00 mvcr\.w cp7,pc,cr15
  30857. + *[0-9a-f]*: ef a0 00 00 mvcr\.w cp0,r0,cr0
  30858. + *[0-9a-f]*: ef af 0f 00 mvcr\.w cp0,pc,cr15
  30859. + *[0-9a-f]*: ef a0 ef 00 mvcr\.w cp7,r0,cr15
  30860. + *[0-9a-f]*: ef af e0 00 mvcr\.w cp7,pc,cr0
  30861. + *[0-9a-f]*: ef a7 88 00 mvcr\.w cp4,r7,cr8
  30862. + *[0-9a-f]*: ef a8 67 00 mvcr\.w cp3,r8,cr7
  30863. +
  30864. +[0-9a-f]* <mvcr_d>:
  30865. + *[0-9a-f]*: ef ae ee 10 mvcr\.d cp7,lr,cr14
  30866. + *[0-9a-f]*: ef a0 00 10 mvcr\.d cp0,r0,cr0
  30867. + *[0-9a-f]*: ef ae 0e 10 mvcr\.d cp0,lr,cr14
  30868. + *[0-9a-f]*: ef a0 ee 10 mvcr\.d cp7,r0,cr14
  30869. + *[0-9a-f]*: ef ae e0 10 mvcr\.d cp7,lr,cr0
  30870. + *[0-9a-f]*: ef a6 88 10 mvcr\.d cp4,r6,cr8
  30871. + *[0-9a-f]*: ef a8 66 10 mvcr\.d cp3,r8,cr6
  30872. +
  30873. +[0-9a-f]* <mvrc_w>:
  30874. + *[0-9a-f]*: ef af ef 20 mvrc\.w cp7,cr15,pc
  30875. + *[0-9a-f]*: ef a0 00 20 mvrc\.w cp0,cr0,r0
  30876. + *[0-9a-f]*: ef af 0f 20 mvrc\.w cp0,cr15,pc
  30877. + *[0-9a-f]*: ef a0 ef 20 mvrc\.w cp7,cr15,r0
  30878. + *[0-9a-f]*: ef af e0 20 mvrc\.w cp7,cr0,pc
  30879. + *[0-9a-f]*: ef a7 88 20 mvrc\.w cp4,cr8,r7
  30880. + *[0-9a-f]*: ef a8 67 20 mvrc\.w cp3,cr7,r8
  30881. +
  30882. +[0-9a-f]* <mvrc_d>:
  30883. + *[0-9a-f]*: ef ae ee 30 mvrc\.d cp7,cr14,lr
  30884. + *[0-9a-f]*: ef a0 00 30 mvrc\.d cp0,cr0,r0
  30885. + *[0-9a-f]*: ef ae 0e 30 mvrc\.d cp0,cr14,lr
  30886. + *[0-9a-f]*: ef a0 ee 30 mvrc\.d cp7,cr14,r0
  30887. + *[0-9a-f]*: ef ae e0 30 mvrc\.d cp7,cr0,lr
  30888. + *[0-9a-f]*: ef a6 88 30 mvrc\.d cp4,cr8,r6
  30889. + *[0-9a-f]*: ef a8 66 30 mvrc\.d cp3,cr6,r8
  30890. +
  30891. +[0-9a-f]* <bfexts>:
  30892. + *[0-9a-f]*: ff df b3 ff bfexts pc,pc,0x1f,0x1f
  30893. + *[0-9a-f]*: e1 d0 b0 00 bfexts r0,r0,0x0,0x0
  30894. + *[0-9a-f]*: e1 df b3 ff bfexts r0,pc,0x1f,0x1f
  30895. + *[0-9a-f]*: ff d0 b3 ff bfexts pc,r0,0x1f,0x1f
  30896. + *[0-9a-f]*: ff df b0 1f bfexts pc,pc,0x0,0x1f
  30897. + *[0-9a-f]*: ff df b3 e0 bfexts pc,pc,0x1f,0x0
  30898. + *[0-9a-f]*: ef d8 b1 f0 bfexts r7,r8,0xf,0x10
  30899. + *[0-9a-f]*: f1 d7 b2 0f bfexts r8,r7,0x10,0xf
  30900. +
  30901. +[0-9a-f]* <bfextu>:
  30902. + *[0-9a-f]*: ff df c3 ff bfextu pc,pc,0x1f,0x1f
  30903. + *[0-9a-f]*: e1 d0 c0 00 bfextu r0,r0,0x0,0x0
  30904. + *[0-9a-f]*: e1 df c3 ff bfextu r0,pc,0x1f,0x1f
  30905. + *[0-9a-f]*: ff d0 c3 ff bfextu pc,r0,0x1f,0x1f
  30906. + *[0-9a-f]*: ff df c0 1f bfextu pc,pc,0x0,0x1f
  30907. + *[0-9a-f]*: ff df c3 e0 bfextu pc,pc,0x1f,0x0
  30908. + *[0-9a-f]*: ef d8 c1 f0 bfextu r7,r8,0xf,0x10
  30909. + *[0-9a-f]*: f1 d7 c2 0f bfextu r8,r7,0x10,0xf
  30910. +
  30911. +[0-9a-f]* <bfins>:
  30912. + *[0-9a-f]*: ff df d3 ff bfins pc,pc,0x1f,0x1f
  30913. + *[0-9a-f]*: e1 d0 d0 00 bfins r0,r0,0x0,0x0
  30914. + *[0-9a-f]*: e1 df d3 ff bfins r0,pc,0x1f,0x1f
  30915. + *[0-9a-f]*: ff d0 d3 ff bfins pc,r0,0x1f,0x1f
  30916. + *[0-9a-f]*: ff df d0 1f bfins pc,pc,0x0,0x1f
  30917. + *[0-9a-f]*: ff df d3 e0 bfins pc,pc,0x1f,0x0
  30918. + *[0-9a-f]*: ef d8 d1 f0 bfins r7,r8,0xf,0x10
  30919. + *[0-9a-f]*: f1 d7 d2 0f bfins r8,r7,0x10,0xf
  30920. +
  30921. +[0-9a-f]* <rsubc>:
  30922. + *[0-9a-f]*: fb bf 00 00 rsubeq pc,0
  30923. + *[0-9a-f]*: fb bc 0f ff rsubal r12,-1
  30924. + *[0-9a-f]*: fb b5 08 80 rsubls r5,-128
  30925. + *[0-9a-f]*: fb b4 07 7f rsubpl r4,127
  30926. + *[0-9a-f]*: fb be 01 01 rsubne lr,1
  30927. + *[0-9a-f]*: fb bc 08 76 rsubls r12,118
  30928. + *[0-9a-f]*: fb be 0d f4 rsubvc lr,-12
  30929. + *[0-9a-f]*: fb b4 06 f3 rsubmi r4,-13
  30930. +
  30931. +[0-9a-f]* <addc>:
  30932. + *[0-9a-f]*: ff df e0 0f addeq pc,pc,pc
  30933. + *[0-9a-f]*: f9 dc ef 0c addal r12,r12,r12
  30934. + *[0-9a-f]*: eb d5 e8 05 addls r5,r5,r5
  30935. + *[0-9a-f]*: e9 d4 e7 04 addpl r4,r4,r4
  30936. + *[0-9a-f]*: fd de e1 0e addne lr,lr,lr
  30937. + *[0-9a-f]*: e5 d1 e8 0a addls r10,r2,r1
  30938. + *[0-9a-f]*: f1 db ed 0c addvc r12,r8,r11
  30939. + *[0-9a-f]*: ef d0 e6 0a addmi r10,r7,r0
  30940. +
  30941. +[0-9a-f]* <subc2>:
  30942. + *[0-9a-f]*: ff df e0 1f subeq pc,pc,pc
  30943. + *[0-9a-f]*: f9 dc ef 1c subal r12,r12,r12
  30944. + *[0-9a-f]*: eb d5 e8 15 subls r5,r5,r5
  30945. + *[0-9a-f]*: e9 d4 e7 14 subpl r4,r4,r4
  30946. + *[0-9a-f]*: fd de e1 1e subne lr,lr,lr
  30947. + *[0-9a-f]*: e5 d1 e8 1a subls r10,r2,r1
  30948. + *[0-9a-f]*: f1 db ed 1c subvc r12,r8,r11
  30949. + *[0-9a-f]*: ef d0 e6 1a submi r10,r7,r0
  30950. +
  30951. +[0-9a-f]* <andc>:
  30952. + *[0-9a-f]*: ff df e0 2f andeq pc,pc,pc
  30953. + *[0-9a-f]*: f9 dc ef 2c andal r12,r12,r12
  30954. + *[0-9a-f]*: eb d5 e8 25 andls r5,r5,r5
  30955. + *[0-9a-f]*: e9 d4 e7 24 andpl r4,r4,r4
  30956. + *[0-9a-f]*: fd de e1 2e andne lr,lr,lr
  30957. + *[0-9a-f]*: e5 d1 e8 2a andls r10,r2,r1
  30958. + *[0-9a-f]*: f1 db ed 2c andvc r12,r8,r11
  30959. + *[0-9a-f]*: ef d0 e6 2a andmi r10,r7,r0
  30960. +
  30961. +[0-9a-f]* <orc>:
  30962. + *[0-9a-f]*: ff df e0 3f oreq pc,pc,pc
  30963. + *[0-9a-f]*: f9 dc ef 3c oral r12,r12,r12
  30964. + *[0-9a-f]*: eb d5 e8 35 orls r5,r5,r5
  30965. + *[0-9a-f]*: e9 d4 e7 34 orpl r4,r4,r4
  30966. + *[0-9a-f]*: fd de e1 3e orne lr,lr,lr
  30967. + *[0-9a-f]*: e5 d1 e8 3a orls r10,r2,r1
  30968. + *[0-9a-f]*: f1 db ed 3c orvc r12,r8,r11
  30969. + *[0-9a-f]*: ef d0 e6 3a ormi r10,r7,r0
  30970. +
  30971. +[0-9a-f]* <eorc>:
  30972. + *[0-9a-f]*: ff df e0 4f eoreq pc,pc,pc
  30973. + *[0-9a-f]*: f9 dc ef 4c eoral r12,r12,r12
  30974. + *[0-9a-f]*: eb d5 e8 45 eorls r5,r5,r5
  30975. + *[0-9a-f]*: e9 d4 e7 44 eorpl r4,r4,r4
  30976. + *[0-9a-f]*: fd de e1 4e eorne lr,lr,lr
  30977. + *[0-9a-f]*: e5 d1 e8 4a eorls r10,r2,r1
  30978. + *[0-9a-f]*: f1 db ed 4c eorvc r12,r8,r11
  30979. + *[0-9a-f]*: ef d0 e6 4a eormi r10,r7,r0
  30980. +
  30981. +[0-9a-f]* <ldcond>:
  30982. + *[0-9a-f]*: ff ff 01 ff ld.weq pc,pc[0x7fc]
  30983. + *[0-9a-f]*: f9 fc f3 ff ld.shal r12,r12[0x3fe]
  30984. + *[0-9a-f]*: eb f5 84 00 ld.shls r5,r5[0x0]
  30985. + *[0-9a-f]*: e9 f4 79 ff ld.ubpl r4,r4[0x1ff]
  30986. + *[0-9a-f]*: fd fe 16 00 ld.sbne lr,lr[0x0]
  30987. + *[0-9a-f]*: e5 fa 80 00 ld.wls r10,r2[0x0]
  30988. + *[0-9a-f]*: f1 fc d3 ff ld.shvc r12,r8[0x3fe]
  30989. + *[0-9a-f]*: ef fa 68 01 ld.ubmi r10,r7[0x1]
  30990. +
  30991. +[0-9a-f]* <stcond2>:
  30992. + *[0-9a-f]*: ff ff 0b ff st.weq pc[0x7fc],pc
  30993. + *[0-9a-f]*: f9 fc fd ff st.hal r12[0x3fe],r12
  30994. + *[0-9a-f]*: eb f5 8c 00 st.hls r5[0x0],r5
  30995. + *[0-9a-f]*: e9 f4 7f ff st.bpl r4[0x1ff],r4
  30996. + *[0-9a-f]*: fd fe 1e 00 st.bne lr[0x0],lr
  30997. + *[0-9a-f]*: e5 fa 8a 00 st.wls r2[0x0],r10
  30998. + *[0-9a-f]*: f1 fc dd ff st.hvc r8[0x3fe],r12
  30999. + *[0-9a-f]*: ef fa 6e 01 st.bmi r7[0x1],r10
  31000. +
  31001. +[0-9a-f]* <movh>:
  31002. + *[0-9a-f]*: fc 1f ff ff movh pc,0xffff
  31003. + *[0-9a-f]*: fc 10 00 00 movh r0,0x0
  31004. + *[0-9a-f]*: fc 15 00 01 movh r5,0x1
  31005. + *[0-9a-f]*: fc 1c 7f ff movh r12,0x7fff
  31006. +
  31007. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.exp binutils-2.21/gas/testsuite/gas/avr32/allinsn.exp
  31008. --- binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.exp 1970-01-01 01:00:00.000000000 +0100
  31009. +++ binutils-2.21/gas/testsuite/gas/avr32/allinsn.exp 2011-08-28 14:56:20.627990721 +0200
  31010. @@ -0,0 +1,5 @@
  31011. +# AVR32 assembler testsuite. -*- Tcl -*-
  31012. +
  31013. +if [istarget avr32-*-*] {
  31014. + run_dump_test "allinsn"
  31015. +}
  31016. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.s binutils-2.21/gas/testsuite/gas/avr32/allinsn.s
  31017. --- binutils-2.21.orig/gas/testsuite/gas/avr32/allinsn.s 1970-01-01 01:00:00.000000000 +0100
  31018. +++ binutils-2.21/gas/testsuite/gas/avr32/allinsn.s 2011-08-28 14:56:20.687982602 +0200
  31019. @@ -0,0 +1,3330 @@
  31020. + .data
  31021. +foodata: .word 42
  31022. + .text
  31023. +footext:
  31024. + .text
  31025. + .global ld_d5
  31026. +ld_d5:
  31027. + ld.d lr,pc[pc<<3]
  31028. + ld.d r0,r0[r0<<0]
  31029. + ld.d r6,r5[r5<<2]
  31030. + ld.d r4,r4[r4<<1]
  31031. + ld.d lr,lr[lr<<1]
  31032. + ld.d r10,r3[sp<<2]
  31033. + ld.d r8,r10[r6<<2]
  31034. + ld.d r2,r7[r9<<0]
  31035. + .text
  31036. + .global ld_w5
  31037. +ld_w5:
  31038. + ld.w pc,pc[pc<<0]
  31039. + ld.w r12,r12[r12<<3]
  31040. + ld.w r5,r5[r5<<2]
  31041. + ld.w r4,r4[r4<<1]
  31042. + ld.w lr,lr[lr<<1]
  31043. + ld.w r2,r9[r9<<0]
  31044. + ld.w r11,r2[r6<<0]
  31045. + ld.w r0,r2[sp<<3]
  31046. + .text
  31047. + .global ld_sh5
  31048. +ld_sh5:
  31049. + ld.sh pc,pc[pc<<0]
  31050. + ld.sh r12,r12[r12<<3]
  31051. + ld.sh r5,r5[r5<<2]
  31052. + ld.sh r4,r4[r4<<1]
  31053. + ld.sh lr,lr[lr<<1]
  31054. + ld.sh r11,r0[pc<<2]
  31055. + ld.sh r10,sp[r6<<2]
  31056. + ld.sh r12,r2[r2<<0]
  31057. + .text
  31058. + .global ld_uh5
  31059. +ld_uh5:
  31060. + ld.uh pc,pc[pc<<0]
  31061. + ld.uh r12,r12[r12<<3]
  31062. + ld.uh r5,r5[r5<<2]
  31063. + ld.uh r4,r4[r4<<1]
  31064. + ld.uh lr,lr[lr<<1]
  31065. + ld.uh r8,pc[lr<<3]
  31066. + ld.uh r6,r1[pc<<1]
  31067. + ld.uh r6,lr[sp<<1]
  31068. + .text
  31069. + .global ld_sb2
  31070. +ld_sb2:
  31071. + ld.sb pc,pc[pc<<0]
  31072. + ld.sb r12,r12[r12<<3]
  31073. + ld.sb r5,r5[r5<<2]
  31074. + ld.sb r4,r4[r4<<1]
  31075. + ld.sb lr,lr[lr<<1]
  31076. + ld.sb r9,r1[pc<<3]
  31077. + ld.sb r0,r3[r11<<1]
  31078. + ld.sb r10,r5[r5<<1]
  31079. + .text
  31080. + .global ld_ub5
  31081. +ld_ub5:
  31082. + ld.ub pc,pc[pc<<0]
  31083. + ld.ub r12,r12[r12<<3]
  31084. + ld.ub r5,r5[r5<<2]
  31085. + ld.ub r4,r4[r4<<1]
  31086. + ld.ub lr,lr[lr<<1]
  31087. + ld.ub r6,r12[r7<<3]
  31088. + ld.ub r2,r6[r12<<0]
  31089. + ld.ub r0,r7[r11<<1]
  31090. + .text
  31091. + .global st_d5
  31092. +st_d5:
  31093. + st.d pc[pc<<0],r14
  31094. + st.d r12[r12<<3],r12
  31095. + st.d r5[r5<<2],r6
  31096. + st.d r4[r4<<1],r4
  31097. + st.d lr[lr<<1],lr
  31098. + st.d r1[r9<<1],r4
  31099. + st.d r10[r2<<1],r4
  31100. + st.d r12[r6<<0],lr
  31101. + .text
  31102. + .global st_w5
  31103. +st_w5:
  31104. + st.w pc[pc<<0],pc
  31105. + st.w r12[r12<<3],r12
  31106. + st.w r5[r5<<2],r5
  31107. + st.w r4[r4<<1],r4
  31108. + st.w lr[lr<<1],lr
  31109. + st.w r1[r10<<0],r3
  31110. + st.w r0[r10<<1],r9
  31111. + st.w r4[r5<<3],pc
  31112. + .text
  31113. + .global st_h5
  31114. +st_h5:
  31115. + st.h pc[pc<<0],pc
  31116. + st.h r12[r12<<3],r12
  31117. + st.h r5[r5<<2],r5
  31118. + st.h r4[r4<<1],r4
  31119. + st.h lr[lr<<1],lr
  31120. + st.h r2[r9<<0],r11
  31121. + st.h r5[r1<<2],r12
  31122. + st.h pc[r8<<2],r3
  31123. + .text
  31124. + .global st_b5
  31125. +st_b5:
  31126. + st.b pc[pc<<0],pc
  31127. + st.b r12[r12<<3],r12
  31128. + st.b r5[r5<<2],r5
  31129. + st.b r4[r4<<1],r4
  31130. + st.b lr[lr<<1],lr
  31131. + st.b r1[r8<<1],r6
  31132. + st.b lr[lr<<3],r1
  31133. + st.b r5[r0<<2],pc
  31134. + .text
  31135. + .global divs
  31136. +divs:
  31137. + divs pc,pc,pc
  31138. + divs r12,r12,r12
  31139. + divs r5,r5,r5
  31140. + divs r4,r4,r4
  31141. + divs lr,lr,lr
  31142. + divs r3,pc,pc
  31143. + divs r9,r12,r2
  31144. + divs r7,r4,r1
  31145. + .text
  31146. + .global add1
  31147. +add1:
  31148. + add pc,pc
  31149. + add r12,r12
  31150. + add r5,r5
  31151. + add r4,r4
  31152. + add lr,lr
  31153. + add r12,r9
  31154. + add r6,r3
  31155. + add r10,r12
  31156. + .text
  31157. + .global sub1
  31158. +sub1:
  31159. + sub pc,pc
  31160. + sub r12,r12
  31161. + sub r5,r5
  31162. + sub r4,r4
  31163. + sub lr,lr
  31164. + sub lr,r6
  31165. + sub r0,sp
  31166. + sub r6,r12
  31167. + .text
  31168. + .global rsub1
  31169. +rsub1:
  31170. + rsub pc,pc
  31171. + rsub r12,r12
  31172. + rsub r5,r5
  31173. + rsub r4,r4
  31174. + rsub lr,lr
  31175. + rsub r11,sp
  31176. + rsub r7,r4
  31177. + rsub r9,r1
  31178. + .text
  31179. + .global cp1
  31180. +cp1:
  31181. + cp pc,pc
  31182. + cp r12,r12
  31183. + cp r5,r5
  31184. + cp r4,r4
  31185. + cp lr,lr
  31186. + cp r6,r2
  31187. + cp r0,r9
  31188. + cp r3,sp
  31189. + .text
  31190. + .global or1
  31191. +or1:
  31192. + or pc,pc
  31193. + or r12,r12
  31194. + or r5,r5
  31195. + or r4,r4
  31196. + or lr,lr
  31197. + or r4,r9
  31198. + or r11,r4
  31199. + or r4,r0
  31200. + .text
  31201. + .global eor1
  31202. +eor1:
  31203. + eor pc,pc
  31204. + eor r12,r12
  31205. + eor r5,r5
  31206. + eor r4,r4
  31207. + eor lr,lr
  31208. + eor r12,r11
  31209. + eor r0,r1
  31210. + eor r5,pc
  31211. + .text
  31212. + .global and1
  31213. +and1:
  31214. + and pc,pc
  31215. + and r12,r12
  31216. + and r5,r5
  31217. + and r4,r4
  31218. + and lr,lr
  31219. + and r8,r1
  31220. + and r0,sp
  31221. + and r10,r5
  31222. + .text
  31223. + .global tst
  31224. +tst:
  31225. + tst pc,pc
  31226. + tst r12,r12
  31227. + tst r5,r5
  31228. + tst r4,r4
  31229. + tst lr,lr
  31230. + tst r0,r12
  31231. + tst r10,r6
  31232. + tst sp,r4
  31233. + .text
  31234. + .global andn
  31235. +andn:
  31236. + andn pc,pc
  31237. + andn r12,r12
  31238. + andn r5,r5
  31239. + andn r4,r4
  31240. + andn lr,lr
  31241. + andn r9,r12
  31242. + andn r11,sp
  31243. + andn r12,r5
  31244. + .text
  31245. + .global mov3
  31246. +mov3:
  31247. + mov pc,pc
  31248. + mov r12,r12
  31249. + mov r5,r5
  31250. + mov r4,r4
  31251. + mov lr,lr
  31252. + mov r5,r9
  31253. + mov r11,r11
  31254. + mov r2,lr
  31255. + .text
  31256. + .global st_w1
  31257. +st_w1:
  31258. + st.w pc++,pc
  31259. + st.w r12++,r12
  31260. + st.w r5++,r5
  31261. + st.w r4++,r4
  31262. + st.w lr++,lr
  31263. + st.w r1++,r11
  31264. + st.w sp++,r0
  31265. + st.w sp++,r1
  31266. + .text
  31267. + .global st_h1
  31268. +st_h1:
  31269. + st.h pc++,pc
  31270. + st.h r12++,r12
  31271. + st.h r5++,r5
  31272. + st.h r4++,r4
  31273. + st.h lr++,lr
  31274. + st.h r12++,sp
  31275. + st.h r7++,lr
  31276. + st.h r7++,r4
  31277. + .text
  31278. + .global st_b1
  31279. +st_b1:
  31280. + st.b pc++,pc
  31281. + st.b r12++,r12
  31282. + st.b r5++,r5
  31283. + st.b r4++,r4
  31284. + st.b lr++,lr
  31285. + st.b r9++,sp
  31286. + st.b r1++,sp
  31287. + st.b r0++,r4
  31288. + .text
  31289. + .global st_w2
  31290. +st_w2:
  31291. + st.w --pc,pc
  31292. + st.w --r12,r12
  31293. + st.w --r5,r5
  31294. + st.w --r4,r4
  31295. + st.w --lr,lr
  31296. + st.w --r1,r7
  31297. + st.w --r3,r9
  31298. + st.w --r5,r5
  31299. + .text
  31300. + .global st_h2
  31301. +st_h2:
  31302. + st.h --pc,pc
  31303. + st.h --r12,r12
  31304. + st.h --r5,r5
  31305. + st.h --r4,r4
  31306. + st.h --lr,lr
  31307. + st.h --r5,r7
  31308. + st.h --r8,r8
  31309. + st.h --r7,r2
  31310. + .text
  31311. + .global st_b2
  31312. +st_b2:
  31313. + st.b --pc,pc
  31314. + st.b --r12,r12
  31315. + st.b --r5,r5
  31316. + st.b --r4,r4
  31317. + st.b --lr,lr
  31318. + st.b --sp,sp
  31319. + st.b --sp,r11
  31320. + st.b --r4,r5
  31321. + .text
  31322. + .global ld_w1
  31323. +ld_w1:
  31324. + ld.w pc,pc++
  31325. + ld.w r12,r12++
  31326. + ld.w r5,r5++
  31327. + ld.w r4,r4++
  31328. + ld.w lr,lr++
  31329. + ld.w r3,r7++
  31330. + ld.w r3,lr++
  31331. + ld.w r12,r5++
  31332. + .text
  31333. + .global ld_sh1
  31334. +ld_sh1:
  31335. + ld.sh pc,pc++
  31336. + ld.sh r12,r12++
  31337. + ld.sh r5,r5++
  31338. + ld.sh r4,r4++
  31339. + ld.sh lr,lr++
  31340. + ld.sh r11,r2++
  31341. + ld.sh r2,r8++
  31342. + ld.sh r7,r6++
  31343. + .text
  31344. + .global ld_uh1
  31345. +ld_uh1:
  31346. + ld.uh pc,pc++
  31347. + ld.uh r12,r12++
  31348. + ld.uh r5,r5++
  31349. + ld.uh r4,r4++
  31350. + ld.uh lr,lr++
  31351. + ld.uh r6,r7++
  31352. + ld.uh r10,r11++
  31353. + ld.uh lr,r4++
  31354. + .text
  31355. + .global ld_ub1
  31356. +ld_ub1:
  31357. + ld.ub pc,pc++
  31358. + ld.ub r12,r12++
  31359. + ld.ub r5,r5++
  31360. + ld.ub r4,r4++
  31361. + ld.ub lr,lr++
  31362. + ld.ub r8,lr++
  31363. + ld.ub r12,r12++
  31364. + ld.ub r11,r10++
  31365. + .text
  31366. + .global ld_w2
  31367. +ld_w2:
  31368. + ld.w pc,--pc
  31369. + ld.w r12,--r12
  31370. + ld.w r5,--r5
  31371. + ld.w r4,--r4
  31372. + ld.w lr,--lr
  31373. + ld.w r10,--lr
  31374. + ld.w r12,--r9
  31375. + ld.w r6,--r5
  31376. + .text
  31377. + .global ld_sh2
  31378. +ld_sh2:
  31379. + ld.sh pc,--pc
  31380. + ld.sh r12,--r12
  31381. + ld.sh r5,--r5
  31382. + ld.sh r4,--r4
  31383. + ld.sh lr,--lr
  31384. + ld.sh pc,--r10
  31385. + ld.sh r6,--r3
  31386. + ld.sh r4,--r6
  31387. + .text
  31388. + .global ld_uh2
  31389. +ld_uh2:
  31390. + ld.uh pc,--pc
  31391. + ld.uh r12,--r12
  31392. + ld.uh r5,--r5
  31393. + ld.uh r4,--r4
  31394. + ld.uh lr,--lr
  31395. + ld.uh r3,--r2
  31396. + ld.uh r1,--r0
  31397. + ld.uh r2,--r9
  31398. + .text
  31399. + .global ld_ub2
  31400. +ld_ub2:
  31401. + ld.ub pc,--pc
  31402. + ld.ub r12,--r12
  31403. + ld.ub r5,--r5
  31404. + ld.ub r4,--r4
  31405. + ld.ub lr,--lr
  31406. + ld.ub r1,--r1
  31407. + ld.ub r0,--r6
  31408. + ld.ub r2,--r7
  31409. + .text
  31410. + .global ld_ub3
  31411. +ld_ub3:
  31412. + ld.ub pc,pc[0]
  31413. + ld.ub r12,r12[7]
  31414. + ld.ub r5,r5[4]
  31415. + ld.ub r4,r4[3]
  31416. + ld.ub lr,lr[1]
  31417. + ld.ub r6,r9[6]
  31418. + ld.ub r2,lr[4]
  31419. + ld.ub r1,r8[0]
  31420. + .text
  31421. + .global sub3_sp
  31422. +sub3_sp:
  31423. + sub sp,0
  31424. + sub sp,-4
  31425. + sub sp,-512
  31426. + sub sp,508
  31427. + sub sp,4
  31428. + sub sp,44
  31429. + sub sp,8
  31430. + sub sp,348
  31431. + .text
  31432. + .global sub3
  31433. +sub3:
  31434. + sub pc,0
  31435. + sub r12,-1
  31436. + sub r5,-128
  31437. + sub r4,127
  31438. + sub lr,1
  31439. + sub r6,-41
  31440. + sub r4,37
  31441. + sub r12,56
  31442. + .text
  31443. + .global mov1
  31444. +mov1:
  31445. + mov pc,0
  31446. + mov r12,-1
  31447. + mov r5,-128
  31448. + mov r4,127
  31449. + mov lr,1
  31450. + mov pc,14
  31451. + mov r6,-100
  31452. + mov lr,-122
  31453. + .text
  31454. + .global lddsp
  31455. +lddsp:
  31456. + lddsp pc,sp[0]
  31457. + lddsp r12,sp[508]
  31458. + lddsp r5,sp[256]
  31459. + lddsp r4,sp[252]
  31460. + lddsp lr,sp[4]
  31461. + lddsp lr,sp[256]
  31462. + lddsp r12,sp[20]
  31463. + lddsp r9,sp[472]
  31464. + .text
  31465. + .global lddpc
  31466. +lddpc:
  31467. + lddpc pc,pc[0]
  31468. + lddpc r0,pc[508]
  31469. + lddpc r8,pc[256]
  31470. + lddpc r7,pc[252]
  31471. + lddpc lr,pc[4]
  31472. + lddpc sp,pc[472]
  31473. + lddpc r6,pc[120]
  31474. + lddpc r11,pc[28]
  31475. + .text
  31476. + .global stdsp
  31477. +stdsp:
  31478. + stdsp sp[0],pc
  31479. + stdsp sp[508],r12
  31480. + stdsp sp[256],r5
  31481. + stdsp sp[252],r4
  31482. + stdsp sp[4],lr
  31483. + stdsp sp[304],pc
  31484. + stdsp sp[256],r0
  31485. + stdsp sp[336],r5
  31486. + .text
  31487. + .global cp2
  31488. +cp2:
  31489. + cp pc,0
  31490. + cp r12,-1
  31491. + cp r5,-32
  31492. + cp r4,31
  31493. + cp lr,1
  31494. + cp r8,3
  31495. + cp lr,16
  31496. + cp r7,-26
  31497. + .text
  31498. + .global acr
  31499. +acr:
  31500. + acr pc
  31501. + acr r12
  31502. + acr r5
  31503. + acr r4
  31504. + acr lr
  31505. + acr r2
  31506. + acr r12
  31507. + acr pc
  31508. + .text
  31509. + .global scr
  31510. +scr:
  31511. + scr pc
  31512. + scr r12
  31513. + scr r5
  31514. + scr r4
  31515. + scr lr
  31516. + scr pc
  31517. + scr r6
  31518. + scr r1
  31519. + .text
  31520. + .global cpc0
  31521. +cpc0:
  31522. + cpc pc
  31523. + cpc r12
  31524. + cpc r5
  31525. + cpc r4
  31526. + cpc lr
  31527. + cpc pc
  31528. + cpc r4
  31529. + cpc r9
  31530. + .text
  31531. + .global neg
  31532. +neg:
  31533. + neg pc
  31534. + neg r12
  31535. + neg r5
  31536. + neg r4
  31537. + neg lr
  31538. + neg r7
  31539. + neg r1
  31540. + neg r9
  31541. + .text
  31542. + .global abs
  31543. +abs:
  31544. + abs pc
  31545. + abs r12
  31546. + abs r5
  31547. + abs r4
  31548. + abs lr
  31549. + abs r6
  31550. + abs r6
  31551. + abs r4
  31552. + .text
  31553. + .global castu_b
  31554. +castu_b:
  31555. + castu.b pc
  31556. + castu.b r12
  31557. + castu.b r5
  31558. + castu.b r4
  31559. + castu.b lr
  31560. + castu.b r7
  31561. + castu.b sp
  31562. + castu.b r9
  31563. + .text
  31564. + .global casts_b
  31565. +casts_b:
  31566. + casts.b pc
  31567. + casts.b r12
  31568. + casts.b r5
  31569. + casts.b r4
  31570. + casts.b lr
  31571. + casts.b r11
  31572. + casts.b r1
  31573. + casts.b r10
  31574. + .text
  31575. + .global castu_h
  31576. +castu_h:
  31577. + castu.h pc
  31578. + castu.h r12
  31579. + castu.h r5
  31580. + castu.h r4
  31581. + castu.h lr
  31582. + castu.h r10
  31583. + castu.h r11
  31584. + castu.h r1
  31585. + .text
  31586. + .global casts_h
  31587. +casts_h:
  31588. + casts.h pc
  31589. + casts.h r12
  31590. + casts.h r5
  31591. + casts.h r4
  31592. + casts.h lr
  31593. + casts.h r0
  31594. + casts.h r5
  31595. + casts.h r9
  31596. + .text
  31597. + .global brev
  31598. +brev:
  31599. + brev pc
  31600. + brev r12
  31601. + brev r5
  31602. + brev r4
  31603. + brev lr
  31604. + brev r5
  31605. + brev r10
  31606. + brev r8
  31607. + .text
  31608. + .global swap_h
  31609. +swap_h:
  31610. + swap.h pc
  31611. + swap.h r12
  31612. + swap.h r5
  31613. + swap.h r4
  31614. + swap.h lr
  31615. + swap.h r7
  31616. + swap.h r0
  31617. + swap.h r8
  31618. + .text
  31619. + .global swap_b
  31620. +swap_b:
  31621. + swap.b pc
  31622. + swap.b r12
  31623. + swap.b r5
  31624. + swap.b r4
  31625. + swap.b lr
  31626. + swap.b r10
  31627. + swap.b r12
  31628. + swap.b r1
  31629. + .text
  31630. + .global swap_bh
  31631. +swap_bh:
  31632. + swap.bh pc
  31633. + swap.bh r12
  31634. + swap.bh r5
  31635. + swap.bh r4
  31636. + swap.bh lr
  31637. + swap.bh r9
  31638. + swap.bh r4
  31639. + swap.bh r1
  31640. + .text
  31641. + .global One_s_compliment
  31642. +One_s_compliment:
  31643. + com pc
  31644. + com r12
  31645. + com r5
  31646. + com r4
  31647. + com lr
  31648. + com r2
  31649. + com r2
  31650. + com r7
  31651. + .text
  31652. + .global tnbz
  31653. +tnbz:
  31654. + tnbz pc
  31655. + tnbz r12
  31656. + tnbz r5
  31657. + tnbz r4
  31658. + tnbz lr
  31659. + tnbz r8
  31660. + tnbz r12
  31661. + tnbz pc
  31662. + .text
  31663. + .global rol
  31664. +rol:
  31665. + rol pc
  31666. + rol r12
  31667. + rol r5
  31668. + rol r4
  31669. + rol lr
  31670. + rol r10
  31671. + rol r9
  31672. + rol r5
  31673. + .text
  31674. + .global ror
  31675. +ror:
  31676. + ror pc
  31677. + ror r12
  31678. + ror r5
  31679. + ror r4
  31680. + ror lr
  31681. + ror r8
  31682. + ror r4
  31683. + ror r7
  31684. + .text
  31685. + .global icall
  31686. +icall:
  31687. + icall pc
  31688. + icall r12
  31689. + icall r5
  31690. + icall r4
  31691. + icall lr
  31692. + icall r3
  31693. + icall r1
  31694. + icall r3
  31695. + .text
  31696. + .global mustr
  31697. +mustr:
  31698. + mustr pc
  31699. + mustr r12
  31700. + mustr r5
  31701. + mustr r4
  31702. + mustr lr
  31703. + mustr r1
  31704. + mustr r4
  31705. + mustr r12
  31706. + .text
  31707. + .global musfr
  31708. +musfr:
  31709. + musfr pc
  31710. + musfr r12
  31711. + musfr r5
  31712. + musfr r4
  31713. + musfr lr
  31714. + musfr r11
  31715. + musfr r12
  31716. + musfr r2
  31717. + .text
  31718. + .global ret_cond
  31719. +ret_cond:
  31720. + reteq pc
  31721. + retal r12
  31722. + retls r5
  31723. + retpl r4
  31724. + retne lr
  31725. + retgt r0
  31726. + retgt r12
  31727. + retge r10
  31728. + .text
  31729. + .global sr_cond
  31730. +sr_cond:
  31731. + sreq pc
  31732. + sral r12
  31733. + srls r5
  31734. + srpl r4
  31735. + srne lr
  31736. + srlt r0
  31737. + sral sp
  31738. + srge r9
  31739. + .text
  31740. + .global ld_w3
  31741. +ld_w3:
  31742. + ld.w pc,pc[0]
  31743. + ld.w r12,r12[124]
  31744. + ld.w r5,r5[64]
  31745. + ld.w r4,r4[60]
  31746. + ld.w lr,lr[4]
  31747. + ld.w sp,r2[52]
  31748. + ld.w r9,r1[8]
  31749. + ld.w r5,sp[60]
  31750. + .text
  31751. + .global ld_sh3
  31752. +ld_sh3:
  31753. + ld.sh pc,pc[0]
  31754. + ld.sh r12,r12[14]
  31755. + ld.sh r5,r5[8]
  31756. + ld.sh r4,r4[6]
  31757. + ld.sh lr,lr[2]
  31758. + ld.sh r4,r2[8]
  31759. + ld.sh sp,lr[10]
  31760. + ld.sh r2,r11[2]
  31761. + .text
  31762. + .global ld_uh3
  31763. +ld_uh3:
  31764. + ld.uh pc,pc[0]
  31765. + ld.uh r12,r12[14]
  31766. + ld.uh r5,r5[8]
  31767. + ld.uh r4,r4[6]
  31768. + ld.uh lr,lr[2]
  31769. + ld.uh r10,r0[10]
  31770. + ld.uh r8,r11[8]
  31771. + ld.uh r10,r2[12]
  31772. + .text
  31773. + .global st_w3
  31774. +st_w3:
  31775. + st.w pc[0],pc
  31776. + st.w r12[60],r12
  31777. + st.w r5[32],r5
  31778. + st.w r4[28],r4
  31779. + st.w lr[4],lr
  31780. + st.w r7[44],r11
  31781. + st.w r2[24],r6
  31782. + st.w r4[12],r9
  31783. + .text
  31784. + .global st_h3
  31785. +st_h3:
  31786. + st.h pc[0],pc
  31787. + st.h r12[14],r12
  31788. + st.h r5[8],r5
  31789. + st.h r4[6],r4
  31790. + st.h lr[2],lr
  31791. + st.h lr[10],r12
  31792. + st.h r6[4],r0
  31793. + st.h r5[12],sp
  31794. + .text
  31795. + .global st_b3
  31796. +st_b3:
  31797. + st.b pc[0],pc
  31798. + st.b r12[7],r12
  31799. + st.b r5[4],r5
  31800. + st.b r4[3],r4
  31801. + st.b lr[1],lr
  31802. + st.b r12[6],r9
  31803. + st.b r2[3],lr
  31804. + st.b r1[3],r11
  31805. + .text
  31806. + .global ldd
  31807. +ldd:
  31808. + ld.d r0,pc
  31809. + ld.d r14,r12
  31810. + ld.d r8,r5
  31811. + ld.d r6,r4
  31812. + ld.d r2,lr
  31813. + ld.d r14,r7
  31814. + ld.d r4,r4
  31815. + ld.d r14,pc
  31816. + .text
  31817. + .global ldd_postinc
  31818. +ldd_postinc:
  31819. + ld.d r0,pc++
  31820. + ld.d r14,r12++
  31821. + ld.d r8,r5++
  31822. + ld.d r6,r4++
  31823. + ld.d r2,lr++
  31824. + ld.d r14,r5++
  31825. + ld.d r12,r11++
  31826. + ld.d r2,r12++
  31827. + .text
  31828. + .global ldd_predec
  31829. +ldd_predec:
  31830. + ld.d r0,--pc
  31831. + ld.d r14,--r12
  31832. + ld.d r8,--r5
  31833. + ld.d r6,--r4
  31834. + ld.d r2,--lr
  31835. + ld.d r8,--r0
  31836. + ld.d r10,--pc
  31837. + ld.d r2,--r4
  31838. + .text
  31839. + .global std
  31840. +std:
  31841. + st.d pc,r0
  31842. + st.d r12,r14
  31843. + st.d r5,r8
  31844. + st.d r4,r6
  31845. + st.d lr,r2
  31846. + st.d r0,r12
  31847. + st.d sp,r4
  31848. + st.d r12,r12
  31849. + .text
  31850. + .global std_postinc
  31851. +std_postinc:
  31852. + st.d pc++,r0
  31853. + st.d r12++,r14
  31854. + st.d r5++,r8
  31855. + st.d r4++,r6
  31856. + st.d lr++,r2
  31857. + st.d sp++,r6
  31858. + st.d r10++,r6
  31859. + st.d r7++,r2
  31860. + .text
  31861. + .global std_predec
  31862. +std_predec:
  31863. + st.d --pc,r0
  31864. + st.d --r12,r14
  31865. + st.d --r5,r8
  31866. + st.d --r4,r6
  31867. + st.d --lr,r2
  31868. + st.d --r3,r6
  31869. + st.d --lr,r2
  31870. + st.d --r0,r4
  31871. + .text
  31872. + .global mul
  31873. +mul:
  31874. + mul pc,pc
  31875. + mul r12,r12
  31876. + mul r5,r5
  31877. + mul r4,r4
  31878. + mul lr,lr
  31879. + mul r10,lr
  31880. + mul r0,r8
  31881. + mul r8,r5
  31882. + .text
  31883. + .global asr_imm5
  31884. +asr_imm5:
  31885. + asr pc,0
  31886. + asr r12,31
  31887. + asr r5,16
  31888. + asr r4,15
  31889. + asr lr,1
  31890. + asr r6,23
  31891. + asr r6,18
  31892. + asr r5,8
  31893. + .text
  31894. + .global lsl_imm5
  31895. +lsl_imm5:
  31896. + lsl pc,0
  31897. + lsl r12,31
  31898. + lsl r5,16
  31899. + lsl r4,15
  31900. + lsl lr,1
  31901. + lsl r12,13
  31902. + lsl r6,16
  31903. + lsl r1,25
  31904. + .text
  31905. + .global lsr_imm5
  31906. +lsr_imm5:
  31907. + lsr pc,0
  31908. + lsr r12,31
  31909. + lsr r5,16
  31910. + lsr r4,15
  31911. + lsr lr,1
  31912. + lsr r0,1
  31913. + lsr r8,10
  31914. + lsr r7,26
  31915. + .text
  31916. + .global sbr
  31917. +sbr:
  31918. + sbr pc,0
  31919. + sbr r12,31
  31920. + sbr r5,16
  31921. + sbr r4,15
  31922. + sbr lr,1
  31923. + sbr r8,31
  31924. + sbr r6,22
  31925. + sbr r1,23
  31926. + .text
  31927. + .global cbr
  31928. +cbr:
  31929. + cbr pc,0
  31930. + cbr r12,31
  31931. + cbr r5,16
  31932. + cbr r4,15
  31933. + cbr lr,1
  31934. + cbr r12,10
  31935. + cbr r7,22
  31936. + cbr r8,9
  31937. + .text
  31938. + .global brc1
  31939. +brc1:
  31940. + breq 0
  31941. + brpl -2
  31942. + brge -256
  31943. + brcs 254
  31944. + brne 2
  31945. + brcs 230
  31946. + breq -18
  31947. + breq 12
  31948. + .text
  31949. + .global rjmp
  31950. +rjmp:
  31951. + rjmp 0
  31952. + rjmp -2
  31953. + rjmp -1024
  31954. + rjmp 1022
  31955. + rjmp 2
  31956. + rjmp -962
  31957. + rjmp 14
  31958. + rjmp -516
  31959. + .text
  31960. + .global rcall1
  31961. +rcall1:
  31962. + rcall 0
  31963. + rcall -2
  31964. + rcall -1024
  31965. + rcall 1022
  31966. + rcall 2
  31967. + rcall 216
  31968. + rcall -530
  31969. + rcall -972
  31970. + .text
  31971. + .global acall
  31972. +acall:
  31973. + acall 0
  31974. + acall 1020
  31975. + acall 512
  31976. + acall 508
  31977. + acall 4
  31978. + acall 356
  31979. + acall 304
  31980. + acall 172
  31981. + .text
  31982. + .global scall
  31983. +scall:
  31984. + scall
  31985. + scall
  31986. + scall
  31987. + scall
  31988. + scall
  31989. + scall
  31990. + scall
  31991. + scall
  31992. + .text
  31993. + .global popm
  31994. +popm:
  31995. + /* popm with no argument fails currently */
  31996. + popm pc
  31997. + popm r0-r11,pc,r12=-1
  31998. + popm lr
  31999. + popm r0-r11,pc,r12=1
  32000. + popm r0-r3
  32001. + popm r4-r10,pc
  32002. + popm r0-r3,r11,pc,r12=0
  32003. + popm r0-r7,r10-r12,lr
  32004. + .text
  32005. + .global pushm
  32006. +pushm:
  32007. + pushm pc
  32008. + pushm r0-r12,lr,pc
  32009. + pushm pc
  32010. + pushm r0-r12,lr
  32011. + pushm r0-r3
  32012. + pushm r8-r10,lr,pc
  32013. + pushm r0-r3,r10
  32014. + pushm r8-r9,r12
  32015. + .text
  32016. + .global popm_n
  32017. +popm_n:
  32018. + popm pc
  32019. + popm r0-r11,pc,r12=-1
  32020. + popm lr
  32021. + popm r0-r11,pc,r12=1
  32022. + popm r0-r3
  32023. + popm r4-r10,pc
  32024. + popm r0-r3,r11,pc,r12=0
  32025. + popm r0-r7,r10-r12,lr
  32026. + .text
  32027. + .global pushm_n
  32028. +pushm_n:
  32029. + pushm pc
  32030. + pushm r0-r12,lr,pc
  32031. + pushm pc
  32032. + pushm r0-r12,lr
  32033. + pushm r0-r3
  32034. + pushm r8-r10,lr,pc
  32035. + pushm r0-r3,r10
  32036. + pushm r8-r9,r12
  32037. + .text
  32038. + .global csrfcz
  32039. +csrfcz:
  32040. + csrfcz 0
  32041. + csrfcz 31
  32042. + csrfcz 16
  32043. + csrfcz 15
  32044. + csrfcz 1
  32045. + csrfcz 5
  32046. + csrfcz 13
  32047. + csrfcz 23
  32048. + .text
  32049. + .global ssrf
  32050. +ssrf:
  32051. + ssrf 0
  32052. + ssrf 31
  32053. + ssrf 16
  32054. + ssrf 15
  32055. + ssrf 1
  32056. + ssrf 29
  32057. + ssrf 13
  32058. + ssrf 13
  32059. + .text
  32060. + .global csrf
  32061. +csrf:
  32062. + csrf 0
  32063. + csrf 31
  32064. + csrf 16
  32065. + csrf 15
  32066. + csrf 1
  32067. + csrf 10
  32068. + csrf 15
  32069. + csrf 11
  32070. + .text
  32071. + .global rete
  32072. +rete:
  32073. + rete
  32074. + .text
  32075. + .global rets
  32076. +rets:
  32077. + rets
  32078. + .text
  32079. + .global retd
  32080. +retd:
  32081. + retd
  32082. + .text
  32083. + .global retj
  32084. +retj:
  32085. + retj
  32086. + .text
  32087. + .global tlbr
  32088. +tlbr:
  32089. + tlbr
  32090. + .text
  32091. + .global tlbs
  32092. +tlbs:
  32093. + tlbs
  32094. + .text
  32095. + .global tlbw
  32096. +tlbw:
  32097. + tlbw
  32098. + .text
  32099. + .global breakpoint
  32100. +breakpoint:
  32101. + breakpoint
  32102. + .text
  32103. + .global incjosp
  32104. +incjosp:
  32105. + incjosp 1
  32106. + incjosp 2
  32107. + incjosp 3
  32108. + incjosp 4
  32109. + incjosp -4
  32110. + incjosp -3
  32111. + incjosp -2
  32112. + incjosp -1
  32113. + .text
  32114. + .global nop
  32115. +nop:
  32116. + nop
  32117. + .text
  32118. + .global popjc
  32119. +popjc:
  32120. + popjc
  32121. + .text
  32122. + .global pushjc
  32123. +pushjc:
  32124. + pushjc
  32125. + .text
  32126. + .global add2
  32127. +add2:
  32128. + add pc,pc,pc<<0
  32129. + add r12,r12,r12<<3
  32130. + add r5,r5,r5<<2
  32131. + add r4,r4,r4<<1
  32132. + add lr,lr,lr<<1
  32133. + add r0,r12,r0<<1
  32134. + add r9,r12,r4<<0
  32135. + add r12,r12,r7<<2
  32136. + .text
  32137. + .global sub2
  32138. +sub2:
  32139. + sub pc,pc,pc<<0
  32140. + sub r12,r12,r12<<3
  32141. + sub r5,r5,r5<<2
  32142. + sub r4,r4,r4<<1
  32143. + sub lr,lr,lr<<1
  32144. + sub sp,r3,r4<<0
  32145. + sub r3,r7,r3<<0
  32146. + sub sp,r10,sp<<1
  32147. + .text
  32148. + .global divu
  32149. +divu:
  32150. + divu pc,pc,pc
  32151. + divu r12,r12,r12
  32152. + divu r5,r5,r5
  32153. + divu r4,r4,r4
  32154. + divu lr,lr,lr
  32155. + divu sp,r4,pc
  32156. + divu r5,r5,sp
  32157. + divu r10,sp,r0
  32158. + .text
  32159. + .global addhh_w
  32160. +addhh_w:
  32161. + addhh.w pc,pc:b,pc:b
  32162. + addhh.w r12,r12:t,r12:t
  32163. + addhh.w r5,r5:t,r5:t
  32164. + addhh.w r4,r4:b,r4:b
  32165. + addhh.w lr,lr:t,lr:t
  32166. + addhh.w r0,r0:b,r3:b
  32167. + addhh.w lr,r12:t,r7:b
  32168. + addhh.w r3,r10:t,r2:b
  32169. + .text
  32170. + .global subhh_w
  32171. +subhh_w:
  32172. + subhh.w pc,pc:b,pc:b
  32173. + subhh.w r12,r12:t,r12:t
  32174. + subhh.w r5,r5:t,r5:t
  32175. + subhh.w r4,r4:b,r4:b
  32176. + subhh.w lr,lr:t,lr:t
  32177. + subhh.w r10,r1:t,r7:b
  32178. + subhh.w pc,r10:t,lr:t
  32179. + subhh.w r3,r0:t,r12:b
  32180. + .text
  32181. + .global adc
  32182. +adc:
  32183. + adc pc,pc,pc
  32184. + adc r12,r12,r12
  32185. + adc r5,r5,r5
  32186. + adc r4,r4,r4
  32187. + adc lr,lr,lr
  32188. + adc r4,r0,r7
  32189. + adc sp,r4,r3
  32190. + adc r2,r12,r0
  32191. + .text
  32192. + .global sbc
  32193. +sbc:
  32194. + sbc pc,pc,pc
  32195. + sbc r12,r12,r12
  32196. + sbc r5,r5,r5
  32197. + sbc r4,r4,r4
  32198. + sbc lr,lr,lr
  32199. + sbc r6,r7,r9
  32200. + sbc r0,r8,r5
  32201. + sbc r1,r0,r4
  32202. + .text
  32203. + .global mul_2
  32204. +mul_2:
  32205. + mul pc,pc,pc
  32206. + mul r12,r12,r12
  32207. + mul r5,r5,r5
  32208. + mul r4,r4,r4
  32209. + mul lr,lr,lr
  32210. + mul pc,r0,r0
  32211. + mul r8,pc,lr
  32212. + mul r4,r12,pc
  32213. + .text
  32214. + .global mac
  32215. +mac:
  32216. + mac pc,pc,pc
  32217. + mac r12,r12,r12
  32218. + mac r5,r5,r5
  32219. + mac r4,r4,r4
  32220. + mac lr,lr,lr
  32221. + mac r10,r4,r0
  32222. + mac r7,lr,r0
  32223. + mac r2,r9,r12
  32224. + .text
  32225. + .global mulsd
  32226. +mulsd:
  32227. + muls.d pc,pc,pc
  32228. + muls.d r12,r12,r12
  32229. + muls.d r5,r5,r5
  32230. + muls.d r4,r4,r4
  32231. + muls.d lr,lr,lr
  32232. + muls.d r2,r8,lr
  32233. + muls.d r4,r0,r11
  32234. + muls.d r5,lr,r6
  32235. + .text
  32236. + .global macsd
  32237. +macsd:
  32238. + macs.d r0,pc,pc
  32239. + macs.d r14,r12,r12
  32240. + macs.d r8,r5,r5
  32241. + macs.d r6,r4,r4
  32242. + macs.d r2,lr,lr
  32243. + macs.d r8,r1,r9
  32244. + macs.d r14,r8,r8
  32245. + macs.d r4,r3,r12
  32246. + .text
  32247. + .global mulud
  32248. +mulud:
  32249. + mulu.d r0,pc,pc
  32250. + mulu.d r14,r12,r12
  32251. + mulu.d r8,r5,r5
  32252. + mulu.d r6,r4,r4
  32253. + mulu.d r2,lr,lr
  32254. + mulu.d r6,r5,r0
  32255. + mulu.d r4,r6,r1
  32256. + mulu.d r8,r8,r2
  32257. + .text
  32258. + .global macud
  32259. +macud:
  32260. + macu.d r0,pc,pc
  32261. + macu.d r14,r12,r12
  32262. + macu.d r8,r5,r5
  32263. + macu.d r6,r4,r4
  32264. + macu.d r2,lr,lr
  32265. + macu.d r6,sp,r11
  32266. + macu.d r2,r4,r8
  32267. + macu.d r6,r10,r9
  32268. + .text
  32269. + .global asr_1
  32270. +asr_1:
  32271. + asr pc,pc,pc
  32272. + asr r12,r12,r12
  32273. + asr r5,r5,r5
  32274. + asr r4,r4,r4
  32275. + asr lr,lr,lr
  32276. + asr pc,r6,pc
  32277. + asr r0,r6,r12
  32278. + asr r4,sp,r0
  32279. + .text
  32280. + .global lsl_1
  32281. +lsl_1:
  32282. + lsl pc,pc,pc
  32283. + lsl r12,r12,r12
  32284. + lsl r5,r5,r5
  32285. + lsl r4,r4,r4
  32286. + lsl lr,lr,lr
  32287. + lsl lr,r5,lr
  32288. + lsl r5,pc,r3
  32289. + lsl r1,pc,r9
  32290. + .text
  32291. + .global lsr_1
  32292. +lsr_1:
  32293. + lsr pc,pc,pc
  32294. + lsr r12,r12,r12
  32295. + lsr r5,r5,r5
  32296. + lsr r4,r4,r4
  32297. + lsr lr,lr,lr
  32298. + lsr r2,r4,r1
  32299. + lsr r5,r1,r6
  32300. + lsr sp,r6,r7
  32301. + .text
  32302. + .global xchg
  32303. +xchg:
  32304. + xchg pc,pc,pc
  32305. + xchg r12,r12,r12
  32306. + xchg r5,r5,r5
  32307. + xchg r4,r4,r4
  32308. + xchg lr,lr,lr
  32309. + xchg lr,r4,sp
  32310. + xchg r1,r5,r12
  32311. + xchg lr,r12,r0
  32312. + .text
  32313. + .global max
  32314. +max:
  32315. + max pc,pc,pc
  32316. + max r12,r12,r12
  32317. + max r5,r5,r5
  32318. + max r4,r4,r4
  32319. + max lr,lr,lr
  32320. + max lr,r2,sp
  32321. + max r4,r10,r9
  32322. + max lr,r9,lr
  32323. + .text
  32324. + .global min
  32325. +min:
  32326. + min pc,pc,pc
  32327. + min r12,r12,r12
  32328. + min r5,r5,r5
  32329. + min r4,r4,r4
  32330. + min lr,lr,lr
  32331. + min r9,r7,r8
  32332. + min sp,r5,r5
  32333. + min r4,r1,r4
  32334. + .text
  32335. + .global addabs
  32336. +addabs:
  32337. + addabs pc,pc,pc
  32338. + addabs r12,r12,r12
  32339. + addabs r5,r5,r5
  32340. + addabs r4,r4,r4
  32341. + addabs lr,lr,lr
  32342. + addabs r7,r10,r0
  32343. + addabs r9,r9,r7
  32344. + addabs r2,r8,r12
  32345. + .text
  32346. + .global mulnhh_w
  32347. +mulnhh_w:
  32348. + mulnhh.w pc,pc:b,pc:b
  32349. + mulnhh.w r12,r12:t,r12:t
  32350. + mulnhh.w r5,r5:t,r5:t
  32351. + mulnhh.w r4,r4:b,r4:b
  32352. + mulnhh.w lr,lr:t,lr:t
  32353. + mulnhh.w r11,sp:t,r9:b
  32354. + mulnhh.w sp,r4:b,lr:t
  32355. + mulnhh.w r12,r2:t,r11:b
  32356. + .text
  32357. + .global mulnwh_d
  32358. +mulnwh_d:
  32359. + mulnwh.d r0,pc,pc:b
  32360. + mulnwh.d r14,r12,r12:t
  32361. + mulnwh.d r8,r5,r5:t
  32362. + mulnwh.d r6,r4,r4:b
  32363. + mulnwh.d r2,lr,lr:t
  32364. + mulnwh.d r14,r3,r2:t
  32365. + mulnwh.d r4,r5,r9:b
  32366. + mulnwh.d r12,r4,r4:t
  32367. + .text
  32368. + .global machh_w
  32369. +machh_w:
  32370. + machh.w pc,pc:b,pc:b
  32371. + machh.w r12,r12:t,r12:t
  32372. + machh.w r5,r5:t,r5:t
  32373. + machh.w r4,r4:b,r4:b
  32374. + machh.w lr,lr:t,lr:t
  32375. + machh.w lr,r5:b,r1:t
  32376. + machh.w r9,r6:b,r7:b
  32377. + machh.w r5,lr:t,r12:b
  32378. + .text
  32379. + .global machh_d
  32380. +machh_d:
  32381. + machh.d r0,pc:b,pc:b
  32382. + machh.d r14,r12:t,r12:t
  32383. + machh.d r8,r5:t,r5:t
  32384. + machh.d r6,r4:b,r4:b
  32385. + machh.d r2,lr:t,lr:t
  32386. + machh.d r10,r0:b,r8:b
  32387. + machh.d r14,r4:b,r5:t
  32388. + machh.d r8,r0:b,r4:t
  32389. + .text
  32390. + .global macsathh_w
  32391. +macsathh_w:
  32392. + macsathh.w pc,pc:b,pc:b
  32393. + macsathh.w r12,r12:t,r12:t
  32394. + macsathh.w r5,r5:t,r5:t
  32395. + macsathh.w r4,r4:b,r4:b
  32396. + macsathh.w lr,lr:t,lr:t
  32397. + macsathh.w r7,r7:t,pc:t
  32398. + macsathh.w r4,r2:t,r4:b
  32399. + macsathh.w r4,r8:t,r3:t
  32400. + .text
  32401. + .global mulhh_w
  32402. +mulhh_w:
  32403. + mulhh.w pc,pc:b,pc:b
  32404. + mulhh.w r12,r12:t,r12:t
  32405. + mulhh.w r5,r5:t,r5:t
  32406. + mulhh.w r4,r4:b,r4:b
  32407. + mulhh.w lr,lr:t,lr:t
  32408. + mulhh.w r7,r4:t,r9:b
  32409. + mulhh.w pc,r3:t,r7:t
  32410. + mulhh.w pc,r4:b,r9:t
  32411. + .text
  32412. + .global mulsathh_h
  32413. +mulsathh_h:
  32414. + mulsathh.h pc,pc:b,pc:b
  32415. + mulsathh.h r12,r12:t,r12:t
  32416. + mulsathh.h r5,r5:t,r5:t
  32417. + mulsathh.h r4,r4:b,r4:b
  32418. + mulsathh.h lr,lr:t,lr:t
  32419. + mulsathh.h r3,r1:b,sp:b
  32420. + mulsathh.h r11,lr:t,r11:b
  32421. + mulsathh.h r8,r8:b,r11:t
  32422. + .text
  32423. + .global mulsathh_w
  32424. +mulsathh_w:
  32425. + mulsathh.w pc,pc:b,pc:b
  32426. + mulsathh.w r12,r12:t,r12:t
  32427. + mulsathh.w r5,r5:t,r5:t
  32428. + mulsathh.w r4,r4:b,r4:b
  32429. + mulsathh.w lr,lr:t,lr:t
  32430. + mulsathh.w lr,r11:t,r6:b
  32431. + mulsathh.w r6,r6:b,r7:t
  32432. + mulsathh.w r10,r2:b,r3:b
  32433. + .text
  32434. + .global mulsatrndhh_h
  32435. +mulsatrndhh_h:
  32436. + mulsatrndhh.h pc,pc:b,pc:b
  32437. + mulsatrndhh.h r12,r12:t,r12:t
  32438. + mulsatrndhh.h r5,r5:t,r5:t
  32439. + mulsatrndhh.h r4,r4:b,r4:b
  32440. + mulsatrndhh.h lr,lr:t,lr:t
  32441. + mulsatrndhh.h r11,r6:b,r9:b
  32442. + mulsatrndhh.h r11,r3:b,r8:t
  32443. + mulsatrndhh.h r5,sp:t,r7:t
  32444. + .text
  32445. + .global mulsatrndwh_w
  32446. +mulsatrndwh_w:
  32447. + mulsatrndwh.w pc,pc,pc:b
  32448. + mulsatrndwh.w r12,r12,r12:t
  32449. + mulsatrndwh.w r5,r5,r5:t
  32450. + mulsatrndwh.w r4,r4,r4:b
  32451. + mulsatrndwh.w lr,lr,lr:t
  32452. + mulsatrndwh.w r5,r12,r0:b
  32453. + mulsatrndwh.w r7,r10,pc:b
  32454. + mulsatrndwh.w r10,r8,r5:t
  32455. + .text
  32456. + .global macwh_d
  32457. +macwh_d:
  32458. + macwh.d r0,pc,pc:b
  32459. + macwh.d r14,r12,r12:t
  32460. + macwh.d r8,r5,r5:t
  32461. + macwh.d r6,r4,r4:b
  32462. + macwh.d r2,lr,lr:t
  32463. + macwh.d r4,r10,r12:t
  32464. + macwh.d r4,r7,sp:b
  32465. + macwh.d r14,r9,r11:b
  32466. + .text
  32467. + .global mulwh_d
  32468. +mulwh_d:
  32469. + mulwh.d r0,pc,pc:b
  32470. + mulwh.d r14,r12,r12:t
  32471. + mulwh.d r8,r5,r5:t
  32472. + mulwh.d r6,r4,r4:b
  32473. + mulwh.d r2,lr,lr:t
  32474. + mulwh.d r12,r5,r1:b
  32475. + mulwh.d r0,r1,r3:t
  32476. + mulwh.d r0,r9,r2:b
  32477. + .text
  32478. + .global mulsatwh_w
  32479. +mulsatwh_w:
  32480. + mulsatwh.w pc,pc,pc:b
  32481. + mulsatwh.w r12,r12,r12:t
  32482. + mulsatwh.w r5,r5,r5:t
  32483. + mulsatwh.w r4,r4,r4:b
  32484. + mulsatwh.w lr,lr,lr:t
  32485. + mulsatwh.w r11,pc,r10:t
  32486. + mulsatwh.w sp,r12,r9:t
  32487. + mulsatwh.w r0,r3,r2:t
  32488. + .text
  32489. + .global ldw7
  32490. +ldw7:
  32491. + ld.w pc,pc[pc:b<<2]
  32492. + ld.w r12,r12[r12:t<<2]
  32493. + ld.w r5,r5[r5:u<<2]
  32494. + ld.w r4,r4[r4:l<<2]
  32495. + ld.w lr,lr[lr:l<<2]
  32496. + ld.w r9,r10[r6:l<<2]
  32497. + ld.w r2,r10[r10:b<<2]
  32498. + ld.w r11,r5[pc:b<<2]
  32499. + .text
  32500. + .global satadd_w
  32501. +satadd_w:
  32502. + satadd.w pc,pc,pc
  32503. + satadd.w r12,r12,r12
  32504. + satadd.w r5,r5,r5
  32505. + satadd.w r4,r4,r4
  32506. + satadd.w lr,lr,lr
  32507. + satadd.w r4,r8,r11
  32508. + satadd.w r3,r12,r6
  32509. + satadd.w r3,lr,r9
  32510. + .text
  32511. + .global satsub_w1
  32512. +satsub_w1:
  32513. + satsub.w pc,pc,pc
  32514. + satsub.w r12,r12,r12
  32515. + satsub.w r5,r5,r5
  32516. + satsub.w r4,r4,r4
  32517. + satsub.w lr,lr,lr
  32518. + satsub.w r8,sp,r0
  32519. + satsub.w r9,r8,r4
  32520. + satsub.w pc,lr,r2
  32521. + .text
  32522. + .global satadd_h
  32523. +satadd_h:
  32524. + satadd.h pc,pc,pc
  32525. + satadd.h r12,r12,r12
  32526. + satadd.h r5,r5,r5
  32527. + satadd.h r4,r4,r4
  32528. + satadd.h lr,lr,lr
  32529. + satadd.h r7,r3,r9
  32530. + satadd.h r1,r0,r2
  32531. + satadd.h r1,r4,lr
  32532. + .text
  32533. + .global satsub_h
  32534. +satsub_h:
  32535. + satsub.h pc,pc,pc
  32536. + satsub.h r12,r12,r12
  32537. + satsub.h r5,r5,r5
  32538. + satsub.h r4,r4,r4
  32539. + satsub.h lr,lr,lr
  32540. + satsub.h lr,lr,r3
  32541. + satsub.h r11,r6,r5
  32542. + satsub.h r3,sp,r0
  32543. + .text
  32544. + .global mul3
  32545. +mul3:
  32546. + mul pc,pc,0
  32547. + mul r12,r12,-1
  32548. + mul r5,r5,-128
  32549. + mul r4,r4,127
  32550. + mul lr,lr,1
  32551. + mul r12,r2,-7
  32552. + mul r1,pc,95
  32553. + mul r4,r6,19
  32554. + .text
  32555. + .global rsub2
  32556. +rsub2:
  32557. + rsub pc,pc,0
  32558. + rsub r12,r12,-1
  32559. + rsub r5,r5,-128
  32560. + rsub r4,r4,127
  32561. + rsub lr,lr,1
  32562. + rsub r9,lr,96
  32563. + rsub r11,r1,56
  32564. + rsub r0,r7,-87
  32565. + .text
  32566. + .global clz
  32567. +clz:
  32568. + clz pc,pc
  32569. + clz r12,r12
  32570. + clz r5,r5
  32571. + clz r4,r4
  32572. + clz lr,lr
  32573. + clz r2,r3
  32574. + clz r5,r11
  32575. + clz pc,r3
  32576. + .text
  32577. + .global cpc1
  32578. +cpc1:
  32579. + cpc pc,pc
  32580. + cpc r12,r12
  32581. + cpc r5,r5
  32582. + cpc r4,r4
  32583. + cpc lr,lr
  32584. + cpc pc,r4
  32585. + cpc r5,r9
  32586. + cpc r6,r7
  32587. + .text
  32588. + .global asr3
  32589. +asr3:
  32590. + asr pc,pc,0
  32591. + asr r12,r12,31
  32592. + asr r5,r5,16
  32593. + asr r4,r4,15
  32594. + asr lr,lr,1
  32595. + asr r4,r11,19
  32596. + asr sp,pc,26
  32597. + asr r11,sp,8
  32598. + .text
  32599. + .global lsl3
  32600. +lsl3:
  32601. + lsl pc,pc,0
  32602. + lsl r12,r12,31
  32603. + lsl r5,r5,16
  32604. + lsl r4,r4,15
  32605. + lsl lr,lr,1
  32606. + lsl r8,r10,17
  32607. + lsl r2,lr,3
  32608. + lsl lr,r11,14
  32609. + .text
  32610. + .global lsr3
  32611. +lsr3:
  32612. + lsr pc,pc,0
  32613. + lsr r12,r12,31
  32614. + lsr r5,r5,16
  32615. + lsr r4,r4,15
  32616. + lsr lr,lr,1
  32617. + lsr r4,r3,31
  32618. + lsr pc,r9,14
  32619. + lsr r3,r0,6
  32620. +/* .text
  32621. + .global extract_b
  32622. +extract_b:
  32623. + extract.b pc,pc:b
  32624. + extract.b r12,r12:t
  32625. + extract.b r5,r5:u
  32626. + extract.b r4,r4:l
  32627. + extract.b lr,lr:l
  32628. + extract.b r2,r5:l
  32629. + extract.b r12,r3:l
  32630. + extract.b sp,r3:l
  32631. + .text
  32632. + .global insert_b
  32633. +insert_b:
  32634. + insert.b pc:b,pc
  32635. + insert.b r12:t,r12
  32636. + insert.b r5:u,r5
  32637. + insert.b r4:l,r4
  32638. + insert.b lr:l,lr
  32639. + insert.b r12:u,r3
  32640. + insert.b r10:l,lr
  32641. + insert.b r11:l,r12
  32642. + .text
  32643. + .global extract_h
  32644. +extract_h:
  32645. + extract.h pc,pc:b
  32646. + extract.h r12,r12:t
  32647. + extract.h r5,r5:t
  32648. + extract.h r4,r4:b
  32649. + extract.h lr,lr:t
  32650. + extract.h r11,lr:b
  32651. + extract.h r10,r0:b
  32652. + extract.h r11,r12:b
  32653. + .text
  32654. + .global insert_h
  32655. +insert_h:
  32656. + insert.h pc:b,pc
  32657. + insert.h r12:t,r12
  32658. + insert.h r5:t,r5
  32659. + insert.h r4:b,r4
  32660. + insert.h lr:t,lr
  32661. + insert.h r12:t,r11
  32662. + insert.h r7:b,r6
  32663. + insert.h r1:t,r11 */
  32664. + .text
  32665. + .global movc1
  32666. +movc1:
  32667. + moveq pc,pc
  32668. + moval r12,r12
  32669. + movls r5,r5
  32670. + movpl r4,r4
  32671. + movne lr,lr
  32672. + movne pc,r11
  32673. + movmi r10,r2
  32674. + movls r8,r12
  32675. + .text
  32676. + .global padd_h
  32677. +padd_h:
  32678. + padd.h pc,pc,pc
  32679. + padd.h r12,r12,r12
  32680. + padd.h r5,r5,r5
  32681. + padd.h r4,r4,r4
  32682. + padd.h lr,lr,lr
  32683. + padd.h r8,r2,r7
  32684. + padd.h r0,r0,r3
  32685. + padd.h sp,r11,r6
  32686. + .text
  32687. + .global psub_h
  32688. +psub_h:
  32689. + psub.h pc,pc,pc
  32690. + psub.h r12,r12,r12
  32691. + psub.h r5,r5,r5
  32692. + psub.h r4,r4,r4
  32693. + psub.h lr,lr,lr
  32694. + psub.h lr,r6,r8
  32695. + psub.h r0,r1,sp
  32696. + psub.h pc,pc,sp
  32697. + .text
  32698. + .global paddx_h
  32699. +paddx_h:
  32700. + paddx.h pc,pc,pc
  32701. + paddx.h r12,r12,r12
  32702. + paddx.h r5,r5,r5
  32703. + paddx.h r4,r4,r4
  32704. + paddx.h lr,lr,lr
  32705. + paddx.h pc,pc,r1
  32706. + paddx.h r10,r4,r5
  32707. + paddx.h r5,pc,r2
  32708. + .text
  32709. + .global psubx_h
  32710. +psubx_h:
  32711. + psubx.h pc,pc,pc
  32712. + psubx.h r12,r12,r12
  32713. + psubx.h r5,r5,r5
  32714. + psubx.h r4,r4,r4
  32715. + psubx.h lr,lr,lr
  32716. + psubx.h r5,r12,r5
  32717. + psubx.h r3,r8,r3
  32718. + psubx.h r5,r2,r3
  32719. + .text
  32720. + .global padds_sh
  32721. +padds_sh:
  32722. + padds.sh pc,pc,pc
  32723. + padds.sh r12,r12,r12
  32724. + padds.sh r5,r5,r5
  32725. + padds.sh r4,r4,r4
  32726. + padds.sh lr,lr,lr
  32727. + padds.sh r9,lr,r2
  32728. + padds.sh r6,r8,r1
  32729. + padds.sh r6,r4,r10
  32730. + .text
  32731. + .global psubs_sh
  32732. +psubs_sh:
  32733. + psubs.sh pc,pc,pc
  32734. + psubs.sh r12,r12,r12
  32735. + psubs.sh r5,r5,r5
  32736. + psubs.sh r4,r4,r4
  32737. + psubs.sh lr,lr,lr
  32738. + psubs.sh r6,lr,r11
  32739. + psubs.sh r2,r12,r4
  32740. + psubs.sh r0,r9,r0
  32741. + .text
  32742. + .global paddxs_sh
  32743. +paddxs_sh:
  32744. + paddxs.sh pc,pc,pc
  32745. + paddxs.sh r12,r12,r12
  32746. + paddxs.sh r5,r5,r5
  32747. + paddxs.sh r4,r4,r4
  32748. + paddxs.sh lr,lr,lr
  32749. + paddxs.sh r0,r3,r9
  32750. + paddxs.sh pc,r10,r11
  32751. + paddxs.sh pc,r10,pc
  32752. + .text
  32753. + .global psubxs_sh
  32754. +psubxs_sh:
  32755. + psubxs.sh pc,pc,pc
  32756. + psubxs.sh r12,r12,r12
  32757. + psubxs.sh r5,r5,r5
  32758. + psubxs.sh r4,r4,r4
  32759. + psubxs.sh lr,lr,lr
  32760. + psubxs.sh r7,r4,r4
  32761. + psubxs.sh r7,r8,r3
  32762. + psubxs.sh pc,r6,r5
  32763. + .text
  32764. + .global padds_uh
  32765. +padds_uh:
  32766. + padds.uh pc,pc,pc
  32767. + padds.uh r12,r12,r12
  32768. + padds.uh r5,r5,r5
  32769. + padds.uh r4,r4,r4
  32770. + padds.uh lr,lr,lr
  32771. + padds.uh r12,r11,r7
  32772. + padds.uh r7,r8,lr
  32773. + padds.uh r6,r9,r7
  32774. + .text
  32775. + .global psubs_uh
  32776. +psubs_uh:
  32777. + psubs.uh pc,pc,pc
  32778. + psubs.uh r12,r12,r12
  32779. + psubs.uh r5,r5,r5
  32780. + psubs.uh r4,r4,r4
  32781. + psubs.uh lr,lr,lr
  32782. + psubs.uh lr,r10,r6
  32783. + psubs.uh sp,r2,pc
  32784. + psubs.uh r2,r9,r2
  32785. + .text
  32786. + .global paddxs_uh
  32787. +paddxs_uh:
  32788. + paddxs.uh pc,pc,pc
  32789. + paddxs.uh r12,r12,r12
  32790. + paddxs.uh r5,r5,r5
  32791. + paddxs.uh r4,r4,r4
  32792. + paddxs.uh lr,lr,lr
  32793. + paddxs.uh r7,r9,r5
  32794. + paddxs.uh r9,r1,r4
  32795. + paddxs.uh r5,r2,r3
  32796. + .text
  32797. + .global psubxs_uh
  32798. +psubxs_uh:
  32799. + psubxs.uh pc,pc,pc
  32800. + psubxs.uh r12,r12,r12
  32801. + psubxs.uh r5,r5,r5
  32802. + psubxs.uh r4,r4,r4
  32803. + psubxs.uh lr,lr,lr
  32804. + psubxs.uh sp,r5,sp
  32805. + psubxs.uh sp,r6,r6
  32806. + psubxs.uh r3,r11,r8
  32807. + .text
  32808. + .global paddh_sh
  32809. +paddh_sh:
  32810. + paddh.sh pc,pc,pc
  32811. + paddh.sh r12,r12,r12
  32812. + paddh.sh r5,r5,r5
  32813. + paddh.sh r4,r4,r4
  32814. + paddh.sh lr,lr,lr
  32815. + paddh.sh r12,sp,r3
  32816. + paddh.sh pc,r5,r3
  32817. + paddh.sh r8,r8,sp
  32818. + .text
  32819. + .global psubh_sh
  32820. +psubh_sh:
  32821. + psubh.sh pc,pc,pc
  32822. + psubh.sh r12,r12,r12
  32823. + psubh.sh r5,r5,r5
  32824. + psubh.sh r4,r4,r4
  32825. + psubh.sh lr,lr,lr
  32826. + psubh.sh r1,r5,r8
  32827. + psubh.sh r7,r3,r6
  32828. + psubh.sh r4,r3,r3
  32829. + .text
  32830. + .global paddxh_sh
  32831. +paddxh_sh:
  32832. + paddxh.sh pc,pc,pc
  32833. + paddxh.sh r12,r12,r12
  32834. + paddxh.sh r5,r5,r5
  32835. + paddxh.sh r4,r4,r4
  32836. + paddxh.sh lr,lr,lr
  32837. + paddxh.sh r6,r0,r4
  32838. + paddxh.sh r9,r8,r9
  32839. + paddxh.sh r3,r0,sp
  32840. + .text
  32841. + .global psubxh_sh
  32842. +psubxh_sh:
  32843. + psubxh.sh pc,pc,pc
  32844. + psubxh.sh r12,r12,r12
  32845. + psubxh.sh r5,r5,r5
  32846. + psubxh.sh r4,r4,r4
  32847. + psubxh.sh lr,lr,lr
  32848. + psubxh.sh r4,pc,r12
  32849. + psubxh.sh r8,r4,r6
  32850. + psubxh.sh r12,r9,r4
  32851. + .text
  32852. + .global paddsub_h
  32853. +paddsub_h:
  32854. + paddsub.h pc,pc:b,pc:b
  32855. + paddsub.h r12,r12:t,r12:t
  32856. + paddsub.h r5,r5:t,r5:t
  32857. + paddsub.h r4,r4:b,r4:b
  32858. + paddsub.h lr,lr:t,lr:t
  32859. + paddsub.h r5,r2:t,lr:b
  32860. + paddsub.h r7,r1:b,r8:b
  32861. + paddsub.h r6,r10:t,r5:t
  32862. + .text
  32863. + .global psubadd_h
  32864. +psubadd_h:
  32865. + psubadd.h pc,pc:b,pc:b
  32866. + psubadd.h r12,r12:t,r12:t
  32867. + psubadd.h r5,r5:t,r5:t
  32868. + psubadd.h r4,r4:b,r4:b
  32869. + psubadd.h lr,lr:t,lr:t
  32870. + psubadd.h r9,r11:t,r8:t
  32871. + psubadd.h r10,r7:t,lr:t
  32872. + psubadd.h r6,pc:t,pc:b
  32873. + .text
  32874. + .global paddsubs_sh
  32875. +paddsubs_sh:
  32876. + paddsubs.sh pc,pc:b,pc:b
  32877. + paddsubs.sh r12,r12:t,r12:t
  32878. + paddsubs.sh r5,r5:t,r5:t
  32879. + paddsubs.sh r4,r4:b,r4:b
  32880. + paddsubs.sh lr,lr:t,lr:t
  32881. + paddsubs.sh r0,lr:t,r0:b
  32882. + paddsubs.sh r9,r2:t,r4:t
  32883. + paddsubs.sh r12,r9:t,sp:t
  32884. + .text
  32885. + .global psubadds_sh
  32886. +psubadds_sh:
  32887. + psubadds.sh pc,pc:b,pc:b
  32888. + psubadds.sh r12,r12:t,r12:t
  32889. + psubadds.sh r5,r5:t,r5:t
  32890. + psubadds.sh r4,r4:b,r4:b
  32891. + psubadds.sh lr,lr:t,lr:t
  32892. + psubadds.sh pc,lr:b,r1:t
  32893. + psubadds.sh r11,r3:b,r12:b
  32894. + psubadds.sh r10,r2:t,r8:t
  32895. + .text
  32896. + .global paddsubs_uh
  32897. +paddsubs_uh:
  32898. + paddsubs.uh pc,pc:b,pc:b
  32899. + paddsubs.uh r12,r12:t,r12:t
  32900. + paddsubs.uh r5,r5:t,r5:t
  32901. + paddsubs.uh r4,r4:b,r4:b
  32902. + paddsubs.uh lr,lr:t,lr:t
  32903. + paddsubs.uh r9,r2:b,r3:b
  32904. + paddsubs.uh sp,sp:b,r7:t
  32905. + paddsubs.uh lr,r0:b,r10:t
  32906. + .text
  32907. + .global psubadds_uh
  32908. +psubadds_uh:
  32909. + psubadds.uh pc,pc:b,pc:b
  32910. + psubadds.uh r12,r12:t,r12:t
  32911. + psubadds.uh r5,r5:t,r5:t
  32912. + psubadds.uh r4,r4:b,r4:b
  32913. + psubadds.uh lr,lr:t,lr:t
  32914. + psubadds.uh r12,r9:t,pc:t
  32915. + psubadds.uh r8,r6:b,r8:b
  32916. + psubadds.uh r8,r8:b,r4:b
  32917. + .text
  32918. + .global paddsubh_sh
  32919. +paddsubh_sh:
  32920. + paddsubh.sh pc,pc:b,pc:b
  32921. + paddsubh.sh r12,r12:t,r12:t
  32922. + paddsubh.sh r5,r5:t,r5:t
  32923. + paddsubh.sh r4,r4:b,r4:b
  32924. + paddsubh.sh lr,lr:t,lr:t
  32925. + paddsubh.sh r8,r9:t,r9:b
  32926. + paddsubh.sh r0,sp:t,r1:t
  32927. + paddsubh.sh r3,r1:b,r0:t
  32928. + .text
  32929. + .global psubaddh_sh
  32930. +psubaddh_sh:
  32931. + psubaddh.sh pc,pc:b,pc:b
  32932. + psubaddh.sh r12,r12:t,r12:t
  32933. + psubaddh.sh r5,r5:t,r5:t
  32934. + psubaddh.sh r4,r4:b,r4:b
  32935. + psubaddh.sh lr,lr:t,lr:t
  32936. + psubaddh.sh r7,r3:t,r10:b
  32937. + psubaddh.sh r7,r2:t,r1:t
  32938. + psubaddh.sh r11,r3:b,r6:b
  32939. + .text
  32940. + .global padd_b
  32941. +padd_b:
  32942. + padd.b pc,pc,pc
  32943. + padd.b r12,r12,r12
  32944. + padd.b r5,r5,r5
  32945. + padd.b r4,r4,r4
  32946. + padd.b lr,lr,lr
  32947. + padd.b r2,r6,pc
  32948. + padd.b r8,r9,r12
  32949. + padd.b r5,r12,r3
  32950. + .text
  32951. + .global psub_b
  32952. +psub_b:
  32953. + psub.b pc,pc,pc
  32954. + psub.b r12,r12,r12
  32955. + psub.b r5,r5,r5
  32956. + psub.b r4,r4,r4
  32957. + psub.b lr,lr,lr
  32958. + psub.b r0,r12,pc
  32959. + psub.b r7,sp,r10
  32960. + psub.b r5,sp,r12
  32961. + .text
  32962. + .global padds_sb
  32963. +padds_sb:
  32964. + padds.sb pc,pc,pc
  32965. + padds.sb r12,r12,r12
  32966. + padds.sb r5,r5,r5
  32967. + padds.sb r4,r4,r4
  32968. + padds.sb lr,lr,lr
  32969. + padds.sb sp,r11,r4
  32970. + padds.sb r11,r10,r11
  32971. + padds.sb r5,r12,r6
  32972. + .text
  32973. + .global psubs_sb
  32974. +psubs_sb:
  32975. + psubs.sb pc,pc,pc
  32976. + psubs.sb r12,r12,r12
  32977. + psubs.sb r5,r5,r5
  32978. + psubs.sb r4,r4,r4
  32979. + psubs.sb lr,lr,lr
  32980. + psubs.sb r7,r6,r8
  32981. + psubs.sb r12,r10,r9
  32982. + psubs.sb pc,r11,r0
  32983. + .text
  32984. + .global padds_ub
  32985. +padds_ub:
  32986. + padds.ub pc,pc,pc
  32987. + padds.ub r12,r12,r12
  32988. + padds.ub r5,r5,r5
  32989. + padds.ub r4,r4,r4
  32990. + padds.ub lr,lr,lr
  32991. + padds.ub r3,r2,r11
  32992. + padds.ub r10,r8,r1
  32993. + padds.ub r11,r8,r10
  32994. + .text
  32995. + .global psubs_ub
  32996. +psubs_ub:
  32997. + psubs.ub pc,pc,pc
  32998. + psubs.ub r12,r12,r12
  32999. + psubs.ub r5,r5,r5
  33000. + psubs.ub r4,r4,r4
  33001. + psubs.ub lr,lr,lr
  33002. + psubs.ub r0,r2,r7
  33003. + psubs.ub lr,r5,r3
  33004. + psubs.ub r6,r7,r9
  33005. + .text
  33006. + .global paddh_ub
  33007. +paddh_ub:
  33008. + paddh.ub pc,pc,pc
  33009. + paddh.ub r12,r12,r12
  33010. + paddh.ub r5,r5,r5
  33011. + paddh.ub r4,r4,r4
  33012. + paddh.ub lr,lr,lr
  33013. + paddh.ub lr,r1,r0
  33014. + paddh.ub r2,r7,r7
  33015. + paddh.ub r2,r1,r2
  33016. + .text
  33017. + .global psubh_ub
  33018. +psubh_ub:
  33019. + psubh.ub pc,pc,pc
  33020. + psubh.ub r12,r12,r12
  33021. + psubh.ub r5,r5,r5
  33022. + psubh.ub r4,r4,r4
  33023. + psubh.ub lr,lr,lr
  33024. + psubh.ub r0,r1,r6
  33025. + psubh.ub r4,lr,r10
  33026. + psubh.ub r9,r8,r1
  33027. + .text
  33028. + .global pmax_ub
  33029. +pmax_ub:
  33030. + pmax.ub pc,pc,pc
  33031. + pmax.ub r12,r12,r12
  33032. + pmax.ub r5,r5,r5
  33033. + pmax.ub r4,r4,r4
  33034. + pmax.ub lr,lr,lr
  33035. + pmax.ub pc,r2,r11
  33036. + pmax.ub r12,r1,r1
  33037. + pmax.ub r5,r2,r0
  33038. + .text
  33039. + .global pmax_sh
  33040. +pmax_sh:
  33041. + pmax.sh pc,pc,pc
  33042. + pmax.sh r12,r12,r12
  33043. + pmax.sh r5,r5,r5
  33044. + pmax.sh r4,r4,r4
  33045. + pmax.sh lr,lr,lr
  33046. + pmax.sh lr,r6,r12
  33047. + pmax.sh r2,pc,r5
  33048. + pmax.sh pc,r2,r7
  33049. + .text
  33050. + .global pmin_ub
  33051. +pmin_ub:
  33052. + pmin.ub pc,pc,pc
  33053. + pmin.ub r12,r12,r12
  33054. + pmin.ub r5,r5,r5
  33055. + pmin.ub r4,r4,r4
  33056. + pmin.ub lr,lr,lr
  33057. + pmin.ub r8,r1,r5
  33058. + pmin.ub r1,r8,r3
  33059. + pmin.ub r0,r2,r7
  33060. + .text
  33061. + .global pmin_sh
  33062. +pmin_sh:
  33063. + pmin.sh pc,pc,pc
  33064. + pmin.sh r12,r12,r12
  33065. + pmin.sh r5,r5,r5
  33066. + pmin.sh r4,r4,r4
  33067. + pmin.sh lr,lr,lr
  33068. + pmin.sh r8,r4,r10
  33069. + pmin.sh lr,r10,r12
  33070. + pmin.sh r2,r6,r2
  33071. + .text
  33072. + .global pavg_ub
  33073. +pavg_ub:
  33074. + pavg.ub pc,pc,pc
  33075. + pavg.ub r12,r12,r12
  33076. + pavg.ub r5,r5,r5
  33077. + pavg.ub r4,r4,r4
  33078. + pavg.ub lr,lr,lr
  33079. + pavg.ub r0,r1,r6
  33080. + pavg.ub r8,r3,r6
  33081. + pavg.ub pc,r12,r10
  33082. + .text
  33083. + .global pavg_sh
  33084. +pavg_sh:
  33085. + pavg.sh pc,pc,pc
  33086. + pavg.sh r12,r12,r12
  33087. + pavg.sh r5,r5,r5
  33088. + pavg.sh r4,r4,r4
  33089. + pavg.sh lr,lr,lr
  33090. + pavg.sh r9,pc,sp
  33091. + pavg.sh pc,sp,r3
  33092. + pavg.sh r6,r1,r9
  33093. + .text
  33094. + .global pabs_sb
  33095. +pabs_sb:
  33096. + pabs.sb pc,pc
  33097. + pabs.sb r12,r12
  33098. + pabs.sb r5,r5
  33099. + pabs.sb r4,r4
  33100. + pabs.sb lr,lr
  33101. + pabs.sb r11,r6
  33102. + pabs.sb lr,r9
  33103. + pabs.sb sp,r7
  33104. + .text
  33105. + .global pabs_sh
  33106. +pabs_sh:
  33107. + pabs.sh pc,pc
  33108. + pabs.sh r12,r12
  33109. + pabs.sh r5,r5
  33110. + pabs.sh r4,r4
  33111. + pabs.sh lr,lr
  33112. + pabs.sh pc,r3
  33113. + pabs.sh r5,r7
  33114. + pabs.sh r4,r0
  33115. + .text
  33116. + .global psad
  33117. +psad:
  33118. + psad pc,pc,pc
  33119. + psad r12,r12,r12
  33120. + psad r5,r5,r5
  33121. + psad r4,r4,r4
  33122. + psad lr,lr,lr
  33123. + psad r9,r11,r11
  33124. + psad lr,r4,sp
  33125. + psad lr,r4,r5
  33126. + .text
  33127. + .global pasr_b
  33128. +pasr_b:
  33129. + pasr.b pc,pc,0
  33130. + pasr.b r12,r12,7
  33131. + pasr.b r5,r5,4
  33132. + pasr.b r4,r4,3
  33133. + pasr.b lr,lr,1
  33134. + pasr.b pc,r7,1
  33135. + pasr.b sp,lr,6
  33136. + pasr.b sp,r3,2
  33137. + .text
  33138. + .global plsl_b
  33139. +plsl_b:
  33140. + plsl.b pc,pc,0
  33141. + plsl.b r12,r12,7
  33142. + plsl.b r5,r5,4
  33143. + plsl.b r4,r4,3
  33144. + plsl.b lr,lr,1
  33145. + plsl.b r2,r11,4
  33146. + plsl.b r8,r5,7
  33147. + plsl.b pc,r0,2
  33148. + .text
  33149. + .global plsr_b
  33150. +plsr_b:
  33151. + plsr.b pc,pc,0
  33152. + plsr.b r12,r12,7
  33153. + plsr.b r5,r5,4
  33154. + plsr.b r4,r4,3
  33155. + plsr.b lr,lr,1
  33156. + plsr.b r12,r1,2
  33157. + plsr.b r6,pc,7
  33158. + plsr.b r12,r11,2
  33159. + .text
  33160. + .global pasr_h
  33161. +pasr_h:
  33162. + pasr.h pc,pc,0
  33163. + pasr.h r12,r12,15
  33164. + pasr.h r5,r5,8
  33165. + pasr.h r4,r4,7
  33166. + pasr.h lr,lr,1
  33167. + pasr.h r0,r11,10
  33168. + pasr.h r4,r6,8
  33169. + pasr.h r6,r2,4
  33170. + .text
  33171. + .global plsl_h
  33172. +plsl_h:
  33173. + plsl.h pc,pc,0
  33174. + plsl.h r12,r12,15
  33175. + plsl.h r5,r5,8
  33176. + plsl.h r4,r4,7
  33177. + plsl.h lr,lr,1
  33178. + plsl.h r5,r10,9
  33179. + plsl.h sp,lr,8
  33180. + plsl.h r0,lr,7
  33181. + .text
  33182. + .global plsr_h
  33183. +plsr_h:
  33184. + plsr.h pc,pc,0
  33185. + plsr.h r12,r12,15
  33186. + plsr.h r5,r5,8
  33187. + plsr.h r4,r4,7
  33188. + plsr.h lr,lr,1
  33189. + plsr.h r11,r0,15
  33190. + plsr.h lr,r3,3
  33191. + plsr.h r8,lr,10
  33192. + .text
  33193. + .global packw_sh
  33194. +packw_sh:
  33195. + packw.sh pc,pc,pc
  33196. + packw.sh r12,r12,r12
  33197. + packw.sh r5,r5,r5
  33198. + packw.sh r4,r4,r4
  33199. + packw.sh lr,lr,lr
  33200. + packw.sh sp,r11,r10
  33201. + packw.sh r8,r2,r12
  33202. + packw.sh r8,r1,r5
  33203. + .text
  33204. + .global punpckub_h
  33205. +punpckub_h:
  33206. + punpckub.h pc,pc:b
  33207. + punpckub.h r12,r12:t
  33208. + punpckub.h r5,r5:t
  33209. + punpckub.h r4,r4:b
  33210. + punpckub.h lr,lr:t
  33211. + punpckub.h r6,r1:t
  33212. + punpckub.h lr,r5:b
  33213. + punpckub.h lr,r2:t
  33214. + .text
  33215. + .global punpcksb_h
  33216. +punpcksb_h:
  33217. + punpcksb.h pc,pc:b
  33218. + punpcksb.h r12,r12:t
  33219. + punpcksb.h r5,r5:t
  33220. + punpcksb.h r4,r4:b
  33221. + punpcksb.h lr,lr:t
  33222. + punpcksb.h r4,r7:t
  33223. + punpcksb.h r6,lr:b
  33224. + punpcksb.h r12,r12:t
  33225. + .text
  33226. + .global packsh_ub
  33227. +packsh_ub:
  33228. + packsh.ub pc,pc,pc
  33229. + packsh.ub r12,r12,r12
  33230. + packsh.ub r5,r5,r5
  33231. + packsh.ub r4,r4,r4
  33232. + packsh.ub lr,lr,lr
  33233. + packsh.ub r3,r6,r3
  33234. + packsh.ub r8,r0,r3
  33235. + packsh.ub r9,r3,lr
  33236. + .text
  33237. + .global packsh_sb
  33238. +packsh_sb:
  33239. + packsh.sb pc,pc,pc
  33240. + packsh.sb r12,r12,r12
  33241. + packsh.sb r5,r5,r5
  33242. + packsh.sb r4,r4,r4
  33243. + packsh.sb lr,lr,lr
  33244. + packsh.sb r6,r8,r1
  33245. + packsh.sb lr,r9,r8
  33246. + packsh.sb sp,r6,r6
  33247. + .text
  33248. + .global andl
  33249. +andl:
  33250. + andl pc,0
  33251. + andl r12,65535
  33252. + andl r5,32768
  33253. + andl r4,32767
  33254. + andl lr,1
  33255. + andl pc,23128
  33256. + andl r8,47262
  33257. + andl r7,13719
  33258. + .text
  33259. + .global andl_coh
  33260. +andl_coh:
  33261. + andl pc,0,COH
  33262. + andl r12,65535,COH
  33263. + andl r5,32768,COH
  33264. + andl r4,32767,COH
  33265. + andl lr,1,COH
  33266. + andl r6,22753,COH
  33267. + andl r0,40653,COH
  33268. + andl r4,48580,COH
  33269. + .text
  33270. + .global andh
  33271. +andh:
  33272. + andh pc,0
  33273. + andh r12,65535
  33274. + andh r5,32768
  33275. + andh r4,32767
  33276. + andh lr,1
  33277. + andh r12,52312
  33278. + andh r3,8675
  33279. + andh r2,42987
  33280. + .text
  33281. + .global andh_coh
  33282. +andh_coh:
  33283. + andh pc,0,COH
  33284. + andh r12,65535,COH
  33285. + andh r5,32768,COH
  33286. + andh r4,32767,COH
  33287. + andh lr,1,COH
  33288. + andh r11,34317,COH
  33289. + andh r8,52982,COH
  33290. + andh r10,23683,COH
  33291. + .text
  33292. + .global orl
  33293. +orl:
  33294. + orl pc,0
  33295. + orl r12,65535
  33296. + orl r5,32768
  33297. + orl r4,32767
  33298. + orl lr,1
  33299. + orl sp,16766
  33300. + orl r0,21181
  33301. + orl pc,44103
  33302. + .text
  33303. + .global orh
  33304. +orh:
  33305. + orh pc,0
  33306. + orh r12,65535
  33307. + orh r5,32768
  33308. + orh r4,32767
  33309. + orh lr,1
  33310. + orh r8,28285
  33311. + orh r12,30492
  33312. + orh r1,59930
  33313. + .text
  33314. + .global eorl
  33315. +eorl:
  33316. + eorl pc,0
  33317. + eorl r12,65535
  33318. + eorl r5,32768
  33319. + eorl r4,32767
  33320. + eorl lr,1
  33321. + eorl r4,51129
  33322. + eorl r6,64477
  33323. + eorl r1,20913
  33324. + .text
  33325. + .global eorh
  33326. +eorh:
  33327. + eorh pc,0
  33328. + eorh r12,65535
  33329. + eorh r5,32768
  33330. + eorh r4,32767
  33331. + eorh lr,1
  33332. + eorh r0,11732
  33333. + eorh r10,38069
  33334. + eorh r9,57130
  33335. + .text
  33336. + .global mcall
  33337. +mcall:
  33338. + mcall pc[0]
  33339. + mcall r12[-4]
  33340. + mcall r5[-131072]
  33341. + mcall r4[131068]
  33342. + mcall lr[4]
  33343. + mcall sp[61180]
  33344. + mcall r4[-35000]
  33345. + mcall r0[9924]
  33346. + .text
  33347. + .global pref
  33348. +pref:
  33349. + pref pc[0]
  33350. + pref r12[-1]
  33351. + pref r5[-32768]
  33352. + pref r4[32767]
  33353. + pref lr[1]
  33354. + pref r7[7748]
  33355. + pref r7[-7699]
  33356. + pref r2[-25892]
  33357. + .text
  33358. + .global cache
  33359. +cache:
  33360. + cache pc[0],0
  33361. + cache r12[-1],31
  33362. + cache r5[-1024],16
  33363. + cache r4[1023],15
  33364. + cache lr[1],1
  33365. + cache r3[-964],17
  33366. + cache r4[-375],22
  33367. + cache r3[-888],17
  33368. + .text
  33369. + .global sub4
  33370. +sub4:
  33371. + sub pc,0
  33372. + sub r12,-1
  33373. + sub r5,-1048576
  33374. + sub r4,1048575
  33375. + sub lr,1
  33376. + sub r2,-619156
  33377. + sub lr,461517
  33378. + sub r8,-185051
  33379. + .text
  33380. + .global cp3
  33381. +cp3:
  33382. + cp pc,0
  33383. + cp r12,-1
  33384. + cp r5,-1048576
  33385. + cp r4,1048575
  33386. + cp lr,1
  33387. + cp r1,124078
  33388. + cp r0,-378909
  33389. + cp r4,-243180
  33390. + .text
  33391. + .global mov2
  33392. +mov2:
  33393. + mov pc,0
  33394. + mov r12,-1
  33395. + mov r5,-1048576
  33396. + mov r4,1048575
  33397. + mov lr,1
  33398. + mov r5,-317021
  33399. + mov sp,-749164
  33400. + mov r5,940179
  33401. + .text
  33402. + .global brc2
  33403. +brc2:
  33404. + breq 0
  33405. + bral -2
  33406. + brls -2097152
  33407. + brpl 2097150
  33408. + brne 2
  33409. + brhi -1796966
  33410. + brqs 1321368
  33411. + brls -577434
  33412. + .text
  33413. + .global rcall2
  33414. +rcall2:
  33415. + rcall 0
  33416. + rcall -2
  33417. + rcall -2097152
  33418. + rcall 2097150
  33419. + rcall 2
  33420. + rcall 496820
  33421. + rcall 1085092
  33422. + rcall -1058
  33423. + .text
  33424. + .global sub5
  33425. +sub5:
  33426. + sub pc,pc,0
  33427. + sub r12,r12,-1
  33428. + sub r5,r5,-32768
  33429. + sub r4,r4,32767
  33430. + sub lr,lr,1
  33431. + sub pc,pc,-12744
  33432. + sub r7,r7,-27365
  33433. + sub r2,r9,-17358
  33434. + .text
  33435. + .global satsub_w2
  33436. +satsub_w2:
  33437. + satsub.w pc,pc,0
  33438. + satsub.w r12,r12,-1
  33439. + satsub.w r5,r5,-32768
  33440. + satsub.w r4,r4,32767
  33441. + satsub.w lr,lr,1
  33442. + satsub.w r2,lr,-2007
  33443. + satsub.w r7,r12,-784
  33444. + satsub.w r4,r7,23180
  33445. + .text
  33446. + .global ld_d4
  33447. +ld_d4:
  33448. + ld.d r0,pc[0]
  33449. + ld.d r14,r12[-1]
  33450. + ld.d r8,r5[-32768]
  33451. + ld.d r6,r4[32767]
  33452. + ld.d r2,lr[1]
  33453. + ld.d r14,r11[14784]
  33454. + ld.d r6,r9[-18905]
  33455. + ld.d r2,r3[-6355]
  33456. + .text
  33457. + .global ld_w4
  33458. +ld_w4:
  33459. + ld.w pc,pc[0]
  33460. + ld.w r12,r12[-1]
  33461. + ld.w r5,r5[-32768]
  33462. + ld.w r4,r4[32767]
  33463. + ld.w lr,lr[1]
  33464. + ld.w r0,r12[-22133]
  33465. + ld.w sp,pc[-20521]
  33466. + /* ld.w r3,r5[29035] */
  33467. + nop
  33468. + .text
  33469. + .global ld_sh4
  33470. +ld_sh4:
  33471. + ld.sh pc,pc[0]
  33472. + ld.sh r12,r12[-1]
  33473. + ld.sh r5,r5[-32768]
  33474. + ld.sh r4,r4[32767]
  33475. + ld.sh lr,lr[1]
  33476. + ld.sh r6,r10[30930]
  33477. + ld.sh r6,r10[21973]
  33478. + /* ld.sh r11,r10[-2058] */
  33479. + nop
  33480. + .text
  33481. + .global ld_uh4
  33482. +ld_uh4:
  33483. + ld.uh pc,pc[0]
  33484. + ld.uh r12,r12[-1]
  33485. + ld.uh r5,r5[-32768]
  33486. + ld.uh r4,r4[32767]
  33487. + ld.uh lr,lr[1]
  33488. + ld.uh r1,r9[-13354]
  33489. + ld.uh lr,r11[21337]
  33490. + /* ld.uh r2,lr[-25370] */
  33491. + nop
  33492. + .text
  33493. + .global ld_sb1
  33494. +ld_sb1:
  33495. + ld.sb pc,pc[0]
  33496. + ld.sb r12,r12[-1]
  33497. + ld.sb r5,r5[-32768]
  33498. + ld.sb r4,r4[32767]
  33499. + ld.sb lr,lr[1]
  33500. + ld.sb r7,sp[-28663]
  33501. + ld.sb r2,r1[-5879]
  33502. + ld.sb r12,r3[18734]
  33503. + .text
  33504. + .global ld_ub4
  33505. +ld_ub4:
  33506. + ld.ub pc,pc[0]
  33507. + ld.ub r12,r12[-1]
  33508. + ld.ub r5,r5[-32768]
  33509. + ld.ub r4,r4[32767]
  33510. + ld.ub lr,lr[1]
  33511. + ld.ub pc,r4[8277]
  33512. + ld.ub r5,r12[19172]
  33513. + ld.ub r10,lr[26347]
  33514. + .text
  33515. + .global st_d4
  33516. +st_d4:
  33517. + st.d pc[0],r0
  33518. + st.d r12[-1],r14
  33519. + st.d r5[-32768],r8
  33520. + st.d r4[32767],r6
  33521. + st.d lr[1],r2
  33522. + st.d r5[13200],r10
  33523. + st.d r5[9352],r10
  33524. + st.d r5[32373],r4
  33525. + .text
  33526. + .global st_w4
  33527. +st_w4:
  33528. + st.w pc[0],pc
  33529. + st.w r12[-1],r12
  33530. + st.w r5[-32768],r5
  33531. + st.w r4[32767],r4
  33532. + st.w lr[1],lr
  33533. + st.w sp[6136],r7
  33534. + st.w r6[27087],r12
  33535. + /* st.w r3[20143],r7 */
  33536. + nop
  33537. + .text
  33538. + .global st_h4
  33539. +st_h4:
  33540. + st.h pc[0],pc
  33541. + st.h r12[-1],r12
  33542. + st.h r5[-32768],r5
  33543. + st.h r4[32767],r4
  33544. + st.h lr[1],lr
  33545. + st.h r4[-9962],r7
  33546. + st.h r9[-16250],r3
  33547. + /* st.h r8[-28810],r7 */
  33548. + nop
  33549. + .text
  33550. + .global st_b4
  33551. +st_b4:
  33552. + st.b pc[0],pc
  33553. + st.b r12[-1],r12
  33554. + st.b r5[-32768],r5
  33555. + st.b r4[32767],r4
  33556. + st.b lr[1],lr
  33557. + st.b r12[30102],r6
  33558. + st.b r5[28977],r1
  33559. + st.b r0[5470],r1
  33560. + .text
  33561. + .global mfsr
  33562. +mfsr:
  33563. + mfsr pc,0
  33564. + mfsr r12,1020
  33565. + mfsr r5,512
  33566. + mfsr r4,508
  33567. + mfsr lr,4
  33568. + mfsr r2,696
  33569. + mfsr r4,260
  33570. + mfsr r10,1016
  33571. + .text
  33572. + .global mtsr
  33573. +mtsr:
  33574. + mtsr 0,pc
  33575. + mtsr 1020,r12
  33576. + mtsr 512,r5
  33577. + mtsr 508,r4
  33578. + mtsr 4,lr
  33579. + mtsr 224,r10
  33580. + mtsr 836,r12
  33581. + mtsr 304,r9
  33582. + .text
  33583. + .global mfdr
  33584. +mfdr:
  33585. + mfdr pc,0
  33586. + mfdr r12,1020
  33587. + mfdr r5,512
  33588. + mfdr r4,508
  33589. + mfdr lr,4
  33590. + mfdr r6,932
  33591. + mfdr r5,36
  33592. + mfdr r9,300
  33593. + .text
  33594. + .global mtdr
  33595. +mtdr:
  33596. + mtdr 0,pc
  33597. + mtdr 1020,r12
  33598. + mtdr 512,r5
  33599. + mtdr 508,r4
  33600. + mtdr 4,lr
  33601. + mtdr 180,r8
  33602. + mtdr 720,r10
  33603. + mtdr 408,lr
  33604. + .text
  33605. + .global sleep
  33606. +sleep:
  33607. + sleep 0
  33608. + sleep 255
  33609. + sleep 128
  33610. + sleep 127
  33611. + sleep 1
  33612. + sleep 254
  33613. + sleep 15
  33614. + sleep 43
  33615. + .text
  33616. + .global sync
  33617. +sync:
  33618. + sync 0
  33619. + sync 255
  33620. + sync 128
  33621. + sync 127
  33622. + sync 1
  33623. + sync 166
  33624. + sync 230
  33625. + sync 180
  33626. + .text
  33627. + .global bld
  33628. +bld:
  33629. + bld pc,0
  33630. + bld r12,31
  33631. + bld r5,16
  33632. + bld r4,15
  33633. + bld lr,1
  33634. + bld r9,15
  33635. + bld r0,4
  33636. + bld lr,26
  33637. + .text
  33638. + .global bst
  33639. +bst:
  33640. + bst pc,0
  33641. + bst r12,31
  33642. + bst r5,16
  33643. + bst r4,15
  33644. + bst lr,1
  33645. + bst r10,28
  33646. + bst r0,3
  33647. + bst sp,2
  33648. + .text
  33649. + .global sats
  33650. +sats:
  33651. + sats pc>>0,0
  33652. + sats r12>>31,31
  33653. + sats r5>>16,16
  33654. + sats r4>>15,15
  33655. + sats lr>>1,1
  33656. + sats r10>>3,19
  33657. + sats r10>>2,26
  33658. + sats r1>>20,1
  33659. + .text
  33660. + .global satu
  33661. +satu:
  33662. + satu pc>>0,0
  33663. + satu r12>>31,31
  33664. + satu r5>>16,16
  33665. + satu r4>>15,15
  33666. + satu lr>>1,1
  33667. + satu pc>>5,7
  33668. + satu r7>>5,5
  33669. + satu r2>>26,19
  33670. + .text
  33671. + .global satrnds
  33672. +satrnds:
  33673. + satrnds pc>>0,0
  33674. + satrnds r12>>31,31
  33675. + satrnds r5>>16,16
  33676. + satrnds r4>>15,15
  33677. + satrnds lr>>1,1
  33678. + satrnds r0>>21,19
  33679. + satrnds sp>>0,2
  33680. + satrnds r7>>6,29
  33681. + .text
  33682. + .global satrndu
  33683. +satrndu:
  33684. + satrndu pc>>0,0
  33685. + satrndu r12>>31,31
  33686. + satrndu r5>>16,16
  33687. + satrndu r4>>15,15
  33688. + satrndu lr>>1,1
  33689. + satrndu r12>>0,26
  33690. + satrndu r4>>21,3
  33691. + satrndu r10>>3,16
  33692. + .text
  33693. + .global subfc
  33694. +subfc:
  33695. + subfeq pc,0
  33696. + subfal r12,-1
  33697. + subfls r5,-128
  33698. + subfpl r4,127
  33699. + subfne lr,1
  33700. + subfls r10,8
  33701. + subfvc r11,99
  33702. + subfvs r2,73
  33703. + .text
  33704. + .global subc
  33705. +subc:
  33706. + subeq pc,0
  33707. + subal r12,-1
  33708. + subls r5,-128
  33709. + subpl r4,127
  33710. + subne lr,1
  33711. + subls r12,118
  33712. + subvc lr,-12
  33713. + submi r4,-13
  33714. + .text
  33715. + .global movc2
  33716. +movc2:
  33717. + moveq pc,0
  33718. + moval r12,-1
  33719. + movls r5,-128
  33720. + movpl r4,127
  33721. + movne lr,1
  33722. + movlt r3,-122
  33723. + movvc r8,2
  33724. + movne r7,-111
  33725. + .text
  33726. + .global cp_b
  33727. +cp_b:
  33728. + cp.b pc,r0
  33729. + cp.b r0,pc
  33730. + cp.b r7,r8
  33731. + cp.b r8,r7
  33732. + .text
  33733. + .global cp_h
  33734. +cp_h:
  33735. + cp.h pc,r0
  33736. + cp.h r0,pc
  33737. + cp.h r7,r8
  33738. + cp.h r8,r7
  33739. + .text
  33740. + .global ldm
  33741. +ldm:
  33742. + ldm pc,r1-r6
  33743. + ldm r12,r0-r15
  33744. + ldm r5,r15
  33745. + ldm r4,r0-r14
  33746. + ldm lr,r0
  33747. + ldm r9,r1,r5,r14
  33748. + ldm r11,r2-r3,r5-r8,r15
  33749. + ldm r6,r0,r3,r9,r13,r15
  33750. + .text
  33751. + .global ldm_pu
  33752. +ldm_pu:
  33753. + ldm pc++,r6-r9
  33754. + ldm r12++,r0-r15
  33755. + ldm r5++,r15
  33756. + ldm r4++,r0-r14
  33757. + ldm lr++,r0
  33758. + ldm r12++,r3-r5,r8,r10,r12,r14-r15
  33759. + ldm r10++,r2,r4-r6,r14-r15
  33760. + ldm r6++,r1,r3-r4,r9-r14
  33761. + .text
  33762. + .global ldmts
  33763. +ldmts:
  33764. + ldmts pc,r7-r8
  33765. + ldmts r12,r0-r15
  33766. + ldmts r5,r15
  33767. + ldmts r4,r0-r14
  33768. + ldmts lr,r0
  33769. + ldmts r0,r1-r2,r11-r12
  33770. + ldmts lr,r0-r2,r4,r7-r8,r13-r14
  33771. + ldmts r12,r0-r1,r3-r5,r9,r14-r15
  33772. + .text
  33773. + .global ldmts_pu
  33774. +ldmts_pu:
  33775. + ldmts pc++,r9
  33776. + ldmts r12++,r0-r15
  33777. + ldmts r5++,r15
  33778. + ldmts r4++,r0-r14
  33779. + ldmts lr++,r0
  33780. + ldmts sp++,r0,r2-r5,r7,r9,r11
  33781. + ldmts r5++,r1-r3,r7,r10-r11
  33782. + ldmts r8++,r2-r4,r7-r8,r13,r15
  33783. + .text
  33784. + .global stm
  33785. +stm:
  33786. + stm pc,r7
  33787. + stm r12,r0-r15
  33788. + stm r5,r15
  33789. + stm r4,r0-r14
  33790. + stm lr,r0
  33791. + stm sp,r2-r3,r5,r8,r11,r14
  33792. + stm r4,r0-r4,r6,r10-r11,r14
  33793. + stm r9,r1,r5,r9,r12-r15
  33794. + .text
  33795. + .global stm_pu
  33796. +stm_pu:
  33797. + stm --pc,r4-r6
  33798. + stm --r12,r0-r15
  33799. + stm --r5,r15
  33800. + stm --r4,r0-r14
  33801. + stm --lr,r0
  33802. + stm --r11,r0,r4-r9,r11-r15
  33803. + stm --r11,r0,r3,r9-r10,r12,r14
  33804. + stm --r6,r2,r8-r9,r13-r14
  33805. + .text
  33806. + .global stmts
  33807. +stmts:
  33808. + stmts pc,r8
  33809. + stmts r12,r0-r15
  33810. + stmts r5,r15
  33811. + stmts r4,r0-r14
  33812. + stmts lr,r0
  33813. + stmts r1,r0-r1,r3-r4,r6,r9-r10,r14-r15
  33814. + stmts r3,r0,r6-r8,r10-r12
  33815. + stmts r11,r0,r4,r6-r7,r9-r10,r12,r14-r15
  33816. + .text
  33817. + .global stmts_pu
  33818. +stmts_pu:
  33819. + stmts --pc,r6-r8
  33820. + stmts --r12,r0-r15
  33821. + stmts --r5,r15
  33822. + stmts --r4,r0-r14
  33823. + stmts --lr,r0
  33824. + stmts --r2,r0,r3-r4,r9-r10,r12-r13
  33825. + stmts --r3,r0-r1,r14-r15
  33826. + stmts --r0,r0,r2-r6,r10,r14
  33827. + .text
  33828. + .global ldins_h
  33829. +ldins_h:
  33830. + ldins.h pc:b,pc[0]
  33831. + ldins.h r12:t,r12[-2]
  33832. + ldins.h r5:t,r5[-4096]
  33833. + ldins.h r4:b,r4[4094]
  33834. + ldins.h lr:t,lr[2]
  33835. + ldins.h r0:t,lr[1930]
  33836. + ldins.h r3:b,r7[-534]
  33837. + ldins.h r2:b,r12[-2252]
  33838. + .text
  33839. + .global ldins_b
  33840. +ldins_b:
  33841. + ldins.b pc:b,pc[0]
  33842. + ldins.b r12:t,r12[-1]
  33843. + ldins.b r5:u,r5[-2048]
  33844. + ldins.b r4:l,r4[2047]
  33845. + ldins.b lr:l,lr[1]
  33846. + ldins.b r6:t,r4[-662]
  33847. + ldins.b r5:b,r1[-151]
  33848. + ldins.b r10:t,r11[-1923]
  33849. + .text
  33850. + .global ldswp_sh
  33851. +ldswp_sh:
  33852. + ldswp.sh pc,pc[0]
  33853. + ldswp.sh r12,r12[-2]
  33854. + ldswp.sh r5,r5[-4096]
  33855. + ldswp.sh r4,r4[4094]
  33856. + ldswp.sh lr,lr[2]
  33857. + ldswp.sh r9,r10[3848]
  33858. + ldswp.sh r4,r12[-2040]
  33859. + ldswp.sh r10,r2[3088]
  33860. + .text
  33861. + .global ldswp_uh
  33862. +ldswp_uh:
  33863. + ldswp.uh pc,pc[0]
  33864. + ldswp.uh r12,r12[-2]
  33865. + ldswp.uh r5,r5[-4096]
  33866. + ldswp.uh r4,r4[4094]
  33867. + ldswp.uh lr,lr[2]
  33868. + ldswp.uh r4,r9[3724]
  33869. + ldswp.uh lr,sp[-1672]
  33870. + ldswp.uh r8,r12[-3846]
  33871. + .text
  33872. + .global ldswp_w
  33873. +ldswp_w:
  33874. + ldswp.w pc,pc[0]
  33875. + ldswp.w r12,r12[-4]
  33876. + ldswp.w r5,r5[-8192]
  33877. + ldswp.w r4,r4[8188]
  33878. + ldswp.w lr,lr[4]
  33879. + ldswp.w sp,r7[1860]
  33880. + ldswp.w pc,r5[-3324]
  33881. + ldswp.w r12,r10[-3296]
  33882. + .text
  33883. + .global stswp_h
  33884. +stswp_h:
  33885. + stswp.h pc[0],pc
  33886. + stswp.h r12[-2],r12
  33887. + stswp.h r5[-4096],r5
  33888. + stswp.h r4[4094],r4
  33889. + stswp.h lr[2],lr
  33890. + stswp.h r7[64],r10
  33891. + stswp.h r10[3024],r2
  33892. + stswp.h r0[-2328],r10
  33893. + .text
  33894. + .global stswp_w
  33895. +stswp_w:
  33896. + stswp.w pc[0],pc
  33897. + stswp.w r12[-4],r12
  33898. + stswp.w r5[-8192],r5
  33899. + stswp.w r4[8188],r4
  33900. + stswp.w lr[4],lr
  33901. + stswp.w pc[1156],r8
  33902. + stswp.w sp[7992],r10
  33903. + stswp.w r8[-1172],r5
  33904. + .text
  33905. + .global and2
  33906. +and2:
  33907. + and pc,pc,pc<<0
  33908. + and r12,r12,r12<<31
  33909. + and r5,r5,r5<<16
  33910. + and r4,r4,r4<<15
  33911. + and lr,lr,lr<<1
  33912. + and r10,r2,r1<<1
  33913. + and r12,r8,r11<<27
  33914. + and r10,r7,r0<<3
  33915. + .text
  33916. + .global and3
  33917. +and3:
  33918. + and pc,pc,pc>>0
  33919. + and r12,r12,r12>>31
  33920. + and r5,r5,r5>>16
  33921. + and r4,r4,r4>>15
  33922. + and lr,lr,lr>>1
  33923. + and r12,r8,r7>>17
  33924. + and pc,r4,r9>>20
  33925. + and r10,r9,r10>>12
  33926. + .text
  33927. + .global or2
  33928. +or2:
  33929. + or pc,pc,pc<<0
  33930. + or r12,r12,r12<<31
  33931. + or r5,r5,r5<<16
  33932. + or r4,r4,r4<<15
  33933. + or lr,lr,lr<<1
  33934. + or r8,sp,r11<<29
  33935. + or pc,r9,r2<<28
  33936. + or r5,r1,r2<<3
  33937. + .text
  33938. + .global or3
  33939. +or3:
  33940. + or pc,pc,pc>>0
  33941. + or r12,r12,r12>>31
  33942. + or r5,r5,r5>>16
  33943. + or r4,r4,r4>>15
  33944. + or lr,lr,lr>>1
  33945. + or r1,sp,sp>>2
  33946. + or r0,r1,r1>>29
  33947. + or r4,r12,r8>>8
  33948. + .text
  33949. + .global eor2
  33950. +eor2:
  33951. + eor pc,pc,pc<<0
  33952. + eor r12,r12,r12<<31
  33953. + eor r5,r5,r5<<16
  33954. + eor r4,r4,r4<<15
  33955. + eor lr,lr,lr<<1
  33956. + eor r10,r9,r4<<11
  33957. + eor r4,r0,r1<<31
  33958. + eor r6,r2,r12<<13
  33959. + .text
  33960. + .global eor3
  33961. +eor3:
  33962. + eor pc,pc,pc>>0
  33963. + eor r12,r12,r12>>31
  33964. + eor r5,r5,r5>>16
  33965. + eor r4,r4,r4>>15
  33966. + eor lr,lr,lr>>1
  33967. + eor r5,r5,r5>>22
  33968. + eor r10,r1,lr>>3
  33969. + eor r7,lr,sp>>26
  33970. + .text
  33971. + .global sthh_w2
  33972. +sthh_w2:
  33973. + sthh.w pc[pc<<0],pc:b,pc:b
  33974. + sthh.w r12[r12<<3],r12:t,r12:t
  33975. + sthh.w r5[r5<<2],r5:t,r5:t
  33976. + sthh.w r4[r4<<1],r4:b,r4:b
  33977. + sthh.w lr[lr<<1],lr:t,lr:t
  33978. + sthh.w sp[r6<<3],r1:t,r12:t
  33979. + sthh.w r6[r6<<0],r9:t,r9:t
  33980. + sthh.w r10[r3<<0],r0:b,r11:t
  33981. + .text
  33982. + .global sthh_w1
  33983. +sthh_w1:
  33984. + sthh.w pc[0],pc:b,pc:b
  33985. + sthh.w r12[1020],r12:t,r12:t
  33986. + sthh.w r5[512],r5:t,r5:t
  33987. + sthh.w r4[508],r4:b,r4:b
  33988. + sthh.w lr[4],lr:t,lr:t
  33989. + sthh.w r4[404],r9:t,r0:b
  33990. + sthh.w r8[348],r2:t,r10:b
  33991. + sthh.w sp[172],r9:b,r2:b
  33992. + .text
  33993. + .global cop
  33994. +cop:
  33995. + cop cp0,cr0,cr0,cr0,0
  33996. + cop cp7,cr15,cr15,cr15,0x7f
  33997. + cop cp3,cr5,cr5,cr5,0x31
  33998. + cop cp2,cr4,cr4,cr4,0x30
  33999. + cop cp5,cr8,cr3,cr7,0x5a
  34000. + .text
  34001. + .global ldc_w1
  34002. +ldc_w1:
  34003. + ldc.w cp0,cr0,r0[0]
  34004. + ldc.w cp7,cr15,pc[255<<2]
  34005. + ldc.w cp3,cr5,r5[128<<2]
  34006. + ldc.w cp2,cr4,r4[127<<2]
  34007. + ldc.w cp4,cr9,r13[36<<2]
  34008. + .text
  34009. + .global ldc_w2
  34010. +ldc_w2:
  34011. + ldc.w cp0,cr0,--r0
  34012. + ldc.w cp7,cr15,--pc
  34013. + ldc.w cp3,cr5,--r5
  34014. + ldc.w cp2,cr4,--r4
  34015. + ldc.w cp4,cr9,--r13
  34016. + .text
  34017. + .global ldc_w3
  34018. +ldc_w3:
  34019. + ldc.w cp0,cr0,r0[r0]
  34020. + ldc.w cp7,cr15,pc[pc<<3]
  34021. + ldc.w cp3,cr5,r5[r4<<2]
  34022. + ldc.w cp2,cr4,r4[r3<<1]
  34023. + ldc.w cp4,cr9,r13[r12<<0]
  34024. + .text
  34025. + .global ldc_d1
  34026. +ldc_d1:
  34027. + ldc.d cp0,cr0,r0[0]
  34028. + ldc.d cp7,cr14,pc[255<<2]
  34029. + ldc.d cp3,cr6,r5[128<<2]
  34030. + ldc.d cp2,cr4,r4[127<<2]
  34031. + ldc.d cp4,cr8,r13[36<<2]
  34032. + .text
  34033. + .global ldc_d2
  34034. +ldc_d2:
  34035. + ldc.d cp0,cr0,--r0
  34036. + ldc.d cp7,cr14,--pc
  34037. + ldc.d cp3,cr6,--r5
  34038. + ldc.d cp2,cr4,--r4
  34039. + ldc.d cp4,cr8,--r13
  34040. + .text
  34041. + .global ldc_d3
  34042. +ldc_d3:
  34043. + ldc.d cp0,cr0,r0[r0]
  34044. + ldc.d cp7,cr14,pc[pc<<3]
  34045. + ldc.d cp3,cr6,r5[r4<<2]
  34046. + ldc.d cp2,cr4,r4[r3<<1]
  34047. + ldc.d cp4,cr8,r13[r12<<0]
  34048. + .text
  34049. + .global stc_w1
  34050. +stc_w1:
  34051. + stc.w cp0,r0[0],cr0
  34052. + stc.w cp7,pc[255<<2],cr15
  34053. + stc.w cp3,r5[128<<2],cr5
  34054. + stc.w cp2,r4[127<<2],cr4
  34055. + stc.w cp4,r13[36<<2],cr9
  34056. + .text
  34057. + .global stc_w2
  34058. +stc_w2:
  34059. + stc.w cp0,r0++,cr0
  34060. + stc.w cp7,pc++,cr15
  34061. + stc.w cp3,r5++,cr5
  34062. + stc.w cp2,r4++,cr4
  34063. + stc.w cp4,r13++,cr9
  34064. + .text
  34065. + .global stc_w3
  34066. +stc_w3:
  34067. + stc.w cp0,r0[r0],cr0
  34068. + stc.w cp7,pc[pc<<3],cr15
  34069. + stc.w cp3,r5[r4<<2],cr5
  34070. + stc.w cp2,r4[r3<<1],cr4
  34071. + stc.w cp4,r13[r12<<0],cr9
  34072. + .text
  34073. + .global stc_d1
  34074. +stc_d1:
  34075. + stc.d cp0,r0[0],cr0
  34076. + stc.d cp7,pc[255<<2],cr14
  34077. + stc.d cp3,r5[128<<2],cr6
  34078. + stc.d cp2,r4[127<<2],cr4
  34079. + stc.d cp4,r13[36<<2],cr8
  34080. + .text
  34081. + .global stc_d2
  34082. +stc_d2:
  34083. + stc.d cp0,r0++,cr0
  34084. + stc.d cp7,pc++,cr14
  34085. + stc.d cp3,r5++,cr6
  34086. + stc.d cp2,r4++,cr4
  34087. + stc.d cp4,r13++,cr8
  34088. + .text
  34089. + .global stc_d3
  34090. +stc_d3:
  34091. + stc.d cp0,r0[r0],cr0
  34092. + stc.d cp7,pc[pc<<3],cr14
  34093. + stc.d cp3,r5[r4<<2],cr6
  34094. + stc.d cp2,r4[r3<<1],cr4
  34095. + stc.d cp4,r13[r12<<0],cr8
  34096. + .text
  34097. + .global ldc0_w
  34098. +ldc0_w:
  34099. + ldc0.w cr0,r0[0]
  34100. + ldc0.w cr15,pc[4095<<2]
  34101. + ldc0.w cr5,r5[2048<<2]
  34102. + ldc0.w cr4,r4[2047<<2]
  34103. + ldc0.w cr9,r13[147<<2]
  34104. + .text
  34105. + .global ldc0_d
  34106. +ldc0_d:
  34107. + ldc0.d cr0,r0[0]
  34108. + ldc0.d cr14,pc[4095<<2]
  34109. + ldc0.d cr6,r5[2048<<2]
  34110. + ldc0.d cr4,r4[2047<<2]
  34111. + ldc0.d cr8,r13[147<<2]
  34112. + .text
  34113. + .global stc0_w
  34114. +stc0_w:
  34115. + stc0.w r0[0],cr0
  34116. + stc0.w pc[4095<<2],cr15
  34117. + stc0.w r5[2048<<2],cr5
  34118. + stc0.w r4[2047<<2],cr4
  34119. + stc0.w r13[147<<2],cr9
  34120. + .text
  34121. + .global stc0_d
  34122. +stc0_d:
  34123. + stc0.d r0[0],cr0
  34124. + stc0.d pc[4095<<2],cr14
  34125. + stc0.d r5[2048<<2],cr6
  34126. + stc0.d r4[2047<<2],cr4
  34127. + stc0.d r13[147<<2],cr8
  34128. + .text
  34129. + .global memc
  34130. +memc:
  34131. + memc 0, 0
  34132. + memc -4, 31
  34133. + memc -65536, 16
  34134. + memc 65532, 15
  34135. + .text
  34136. + .global mems
  34137. +mems:
  34138. + mems 0, 0
  34139. + mems -4, 31
  34140. + mems -65536, 16
  34141. + mems 65532, 15
  34142. + .text
  34143. + .global memt
  34144. +memt:
  34145. + memt 0, 0
  34146. + memt -4, 31
  34147. + memt -65536, 16
  34148. + memt 65532, 15
  34149. +
  34150. + .text
  34151. + .global stcond
  34152. +stcond:
  34153. + stcond r0[0], r0
  34154. + stcond pc[-1], pc
  34155. + stcond r8[-32768], r7
  34156. + stcond r7[32767], r8
  34157. + stcond r5[0x1234], r10
  34158. +
  34159. +ldcm_w:
  34160. + ldcm.w cp0,pc,cr0-cr7
  34161. + ldcm.w cp7,r0,cr0
  34162. + ldcm.w cp4,r4++,cr0-cr6
  34163. + ldcm.w cp3,r7,cr7
  34164. + ldcm.w cp1,r12++,cr1,cr4-cr6
  34165. + ldcm.w cp0,pc,cr8-cr15
  34166. + ldcm.w cp7,r0,cr8
  34167. + ldcm.w cp4,r4++,cr8-cr14
  34168. + ldcm.w cp3,r7,cr15
  34169. + ldcm.w cp1,r12++,cr9,cr12-cr14
  34170. +
  34171. +ldcm_d:
  34172. + ldcm.d cp0,pc,cr0-cr15
  34173. + ldcm.d cp7,r0,cr0,cr1
  34174. + ldcm.d cp4,r4++,cr0-cr13
  34175. + ldcm.d cp3,r7,cr14-cr15
  34176. + ldcm.d cp2,r12++,cr0-cr3,cr8-cr9,cr14-cr15
  34177. +
  34178. +stcm_w:
  34179. + stcm.w cp0,pc,cr0-cr7
  34180. + stcm.w cp7,r0,cr0
  34181. + stcm.w cp4,--r4,cr0-cr6
  34182. + stcm.w cp3,r7,cr7
  34183. + stcm.w cp1,--r12,cr1,cr4-cr6
  34184. + stcm.w cp0,pc,cr8-cr15
  34185. + stcm.w cp7,r0,cr8
  34186. + stcm.w cp4,--r4,cr8-cr14
  34187. + stcm.w cp3,r7,cr15
  34188. + stcm.w cp1,--r12,cr9,cr12-cr14
  34189. +
  34190. +stcm_d:
  34191. + stcm.d cp0,pc,cr0-cr15
  34192. + stcm.d cp7,r0,cr0,cr1
  34193. + stcm.d cp4,--r4,cr0-cr13
  34194. + stcm.d cp3,r7,cr14-cr15
  34195. + stcm.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
  34196. +
  34197. +mvcr_w:
  34198. + mvcr.w cp7,pc,cr15
  34199. + mvcr.w cp0,r0,cr0
  34200. + mvcr.w cp0,pc,cr15
  34201. + mvcr.w cp7,r0,cr15
  34202. + mvcr.w cp7,pc,cr0
  34203. + mvcr.w cp4,r7,cr8
  34204. + mvcr.w cp3,r8,cr7
  34205. +
  34206. +mvcr_d:
  34207. + mvcr.d cp7,lr,cr14
  34208. + mvcr.d cp0,r0,cr0
  34209. + mvcr.d cp0,lr,cr14
  34210. + mvcr.d cp7,r0,cr14
  34211. + mvcr.d cp7,lr,cr0
  34212. + mvcr.d cp4,r6,cr8
  34213. + mvcr.d cp3,r8,cr6
  34214. +
  34215. +mvrc_w:
  34216. + mvrc.w cp7,cr15,pc
  34217. + mvrc.w cp0,cr0,r0
  34218. + mvrc.w cp0,cr15,pc
  34219. + mvrc.w cp7,cr15,r0
  34220. + mvrc.w cp7,cr0,pc
  34221. + mvrc.w cp4,cr8,r7
  34222. + mvrc.w cp3,cr7,r8
  34223. +
  34224. +mvrc_d:
  34225. + mvrc.d cp7,cr14,lr
  34226. + mvrc.d cp0,cr0,r0
  34227. + mvrc.d cp0,cr14,lr
  34228. + mvrc.d cp7,cr14,r0
  34229. + mvrc.d cp7,cr0,lr
  34230. + mvrc.d cp4,cr8,r6
  34231. + mvrc.d cp3,cr6,r8
  34232. +
  34233. +bfexts:
  34234. + bfexts pc,pc,31,31
  34235. + bfexts r0,r0,0,0
  34236. + bfexts r0,pc,31,31
  34237. + bfexts pc,r0,31,31
  34238. + bfexts pc,pc,0,31
  34239. + bfexts pc,pc,31,0
  34240. + bfexts r7,r8,15,16
  34241. + bfexts r8,r7,16,15
  34242. +
  34243. +bfextu:
  34244. + bfextu pc,pc,31,31
  34245. + bfextu r0,r0,0,0
  34246. + bfextu r0,pc,31,31
  34247. + bfextu pc,r0,31,31
  34248. + bfextu pc,pc,0,31
  34249. + bfextu pc,pc,31,0
  34250. + bfextu r7,r8,15,16
  34251. + bfextu r8,r7,16,15
  34252. +
  34253. +bfins:
  34254. + bfins pc,pc,31,31
  34255. + bfins r0,r0,0,0
  34256. + bfins r0,pc,31,31
  34257. + bfins pc,r0,31,31
  34258. + bfins pc,pc,0,31
  34259. + bfins pc,pc,31,0
  34260. + bfins r7,r8,15,16
  34261. + bfins r8,r7,16,15
  34262. +
  34263. +rsubc:
  34264. + rsubeq pc,0
  34265. + rsubal r12,-1
  34266. + rsubls r5,-128
  34267. + rsubpl r4,127
  34268. + rsubne lr,1
  34269. + rsubls r12,118
  34270. + rsubvc lr,-12
  34271. + rsubmi r4,-13
  34272. +
  34273. +addc:
  34274. + addeq pc,pc,pc
  34275. + addal r12,r12,r12
  34276. + addls r5,r5,r5
  34277. + addpl r4,r4,r4
  34278. + addne lr,lr,lr
  34279. + addls r10,r2,r1
  34280. + addvc r12,r8,r11
  34281. + addmi r10,r7,r0
  34282. +
  34283. +subc2:
  34284. + subeq pc,pc,pc
  34285. + subal r12,r12,r12
  34286. + subls r5,r5,r5
  34287. + subpl r4,r4,r4
  34288. + subne lr,lr,lr
  34289. + subls r10,r2,r1
  34290. + subvc r12,r8,r11
  34291. + submi r10,r7,r0
  34292. +
  34293. +andc:
  34294. + andeq pc,pc,pc
  34295. + andal r12,r12,r12
  34296. + andls r5,r5,r5
  34297. + andpl r4,r4,r4
  34298. + andne lr,lr,lr
  34299. + andls r10,r2,r1
  34300. + andvc r12,r8,r11
  34301. + andmi r10,r7,r0
  34302. +
  34303. +orc:
  34304. + oreq pc,pc,pc
  34305. + oral r12,r12,r12
  34306. + orls r5,r5,r5
  34307. + orpl r4,r4,r4
  34308. + orne lr,lr,lr
  34309. + orls r10,r2,r1
  34310. + orvc r12,r8,r11
  34311. + ormi r10,r7,r0
  34312. +
  34313. +eorc:
  34314. + eoreq pc,pc,pc
  34315. + eoral r12,r12,r12
  34316. + eorls r5,r5,r5
  34317. + eorpl r4,r4,r4
  34318. + eorne lr,lr,lr
  34319. + eorls r10,r2,r1
  34320. + eorvc r12,r8,r11
  34321. + eormi r10,r7,r0
  34322. +
  34323. +ldcond:
  34324. + ld.weq pc,pc[2044]
  34325. + ld.shal r12,r12[1022]
  34326. + ld.uhls r5,r5[0]
  34327. + ld.ubpl r4,r4[511]
  34328. + ld.sbne lr,lr[0]
  34329. + ld.wls r10,r2[0]
  34330. + ld.shvc r12,r8[0x3fe]
  34331. + ld.ubmi r10,r7[1]
  34332. +
  34333. +stcond2:
  34334. + st.weq pc[2044],pc
  34335. + st.hal r12[1022],r12
  34336. + st.hls r5[0],r5
  34337. + st.bpl r4[511],r4
  34338. + st.bne lr[0],lr
  34339. + st.wls r2[0],r10
  34340. + st.hvc r8[0x3fe],r12
  34341. + st.bmi r7[1],r10
  34342. +
  34343. +movh:
  34344. + movh pc, 65535
  34345. + movh r0, 0
  34346. + movh r5, 1
  34347. + movh r12, 32767
  34348. +
  34349. +
  34350. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/avr32.exp binutils-2.21/gas/testsuite/gas/avr32/avr32.exp
  34351. --- binutils-2.21.orig/gas/testsuite/gas/avr32/avr32.exp 1970-01-01 01:00:00.000000000 +0100
  34352. +++ binutils-2.21/gas/testsuite/gas/avr32/avr32.exp 2011-08-28 14:56:20.727983227 +0200
  34353. @@ -0,0 +1,23 @@
  34354. +# AVR32 assembler testsuite. -*- Tcl -*-
  34355. +
  34356. +if [istarget avr32-*-*] {
  34357. + run_dump_test "hwrd-lwrd"
  34358. + run_dump_test "pcrel"
  34359. + run_dump_test "aliases"
  34360. + run_dump_test "dwarf2"
  34361. + run_dump_test "pic_reloc"
  34362. + run_dump_test "fpinsn"
  34363. + run_dump_test "pico"
  34364. + run_dump_test "lda_pic"
  34365. + run_dump_test "lda_pic_linkrelax"
  34366. + run_dump_test "lda_nopic"
  34367. + run_dump_test "lda_nopic_linkrelax"
  34368. + run_dump_test "call_pic"
  34369. + run_dump_test "call_pic_linkrelax"
  34370. + run_dump_test "call_nopic"
  34371. + run_dump_test "call_nopic_linkrelax"
  34372. + run_dump_test "jmptable"
  34373. + run_dump_test "jmptable_linkrelax"
  34374. + run_dump_test "symdiff"
  34375. + run_dump_test "symdiff_linkrelax"
  34376. +}
  34377. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/call_nopic.d binutils-2.21/gas/testsuite/gas/avr32/call_nopic.d
  34378. --- binutils-2.21.orig/gas/testsuite/gas/avr32/call_nopic.d 1970-01-01 01:00:00.000000000 +0100
  34379. +++ binutils-2.21/gas/testsuite/gas/avr32/call_nopic.d 2011-08-28 14:56:20.777990675 +0200
  34380. @@ -0,0 +1,36 @@
  34381. +#source: call.s
  34382. +#as:
  34383. +#objdump: -dr
  34384. +#name: call_nopic
  34385. +
  34386. +.*: +file format .*
  34387. +
  34388. +Disassembly of section \.text:
  34389. +
  34390. +00000000 <call_test>:
  34391. + 0: d7 03 nop
  34392. +
  34393. +00000002 <toofar_negative>:
  34394. + \.\.\.
  34395. + 1ffffe: 00 00 add r0,r0
  34396. + 200000: f0 a0 00 00 rcall 0 <call_test>
  34397. + 200004: f0 1f 00 0c mcall 200034 <toofar_negative\+0x200032>
  34398. + 200008: f0 1f 00 0c mcall 200038 <toofar_negative\+0x200036>
  34399. + 20000c: f0 1f 00 0c mcall 20003c <toofar_negative\+0x20003a>
  34400. + 200010: f0 1f 00 0c mcall 200040 <toofar_negative\+0x20003e>
  34401. + \.\.\.
  34402. + 200030: ee b0 ff ff rcall 40002e <far_positive>
  34403. + \.\.\.
  34404. + 200034: R_AVR32_32_CPENT \.text\+0x2
  34405. + 200038: R_AVR32_32_CPENT \.text\.init
  34406. + 20003c: R_AVR32_32_CPENT undefined
  34407. + 200040: R_AVR32_32_CPENT \.text\+0x40002c
  34408. +
  34409. +0040002c <toofar_positive>:
  34410. + 40002c: d7 03 nop
  34411. +0040002e <far_positive>:
  34412. + 40002e: d7 03 nop
  34413. +Disassembly of section \.text\.init:
  34414. +
  34415. +00000000 <different_section>:
  34416. + 0: e2 c0 00 00 sub r0,r1,0
  34417. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/call_nopic_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/call_nopic_linkrelax.d
  34418. --- binutils-2.21.orig/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  34419. +++ binutils-2.21/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 2011-08-28 14:56:20.837981728 +0200
  34420. @@ -0,0 +1,43 @@
  34421. +#source: call.s
  34422. +#as: --linkrelax
  34423. +#objdump: -dr
  34424. +#name: call_nopic_linkrelax
  34425. +
  34426. +.*: +file format .*
  34427. +
  34428. +Disassembly of section \.text:
  34429. +
  34430. +00000000 <call_test>:
  34431. + 0: d7 03 nop
  34432. +
  34433. +00000002 <toofar_negative>:
  34434. + \.\.\.
  34435. + 1ffffe: 00 00 add r0,r0
  34436. + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
  34437. + 200000: R_AVR32_22H_PCREL \.text
  34438. + 200004: f0 1f 00 00 mcall 200004 <toofar_negative\+0x200002>
  34439. + 200004: R_AVR32_CPCALL \.text\+0x200034
  34440. + 200008: f0 1f 00 00 mcall 200008 <toofar_negative\+0x200006>
  34441. + 200008: R_AVR32_CPCALL \.text\+0x200038
  34442. + 20000c: f0 1f 00 00 mcall 20000c <toofar_negative\+0x20000a>
  34443. + 20000c: R_AVR32_CPCALL \.text\+0x20003c
  34444. + 200010: f0 1f 00 00 mcall 200010 <toofar_negative\+0x20000e>
  34445. + 200010: R_AVR32_CPCALL \.text\+0x200040
  34446. + \.\.\.
  34447. + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
  34448. + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
  34449. + \.\.\.
  34450. + 200034: R_AVR32_ALIGN \*ABS\*\+0x2
  34451. + 200034: R_AVR32_32_CPENT \.text\+0x2
  34452. + 200038: R_AVR32_32_CPENT \.text\.init
  34453. + 20003c: R_AVR32_32_CPENT undefined
  34454. + 200040: R_AVR32_32_CPENT \.text\+0x40002c
  34455. +
  34456. +0040002c <toofar_positive>:
  34457. + 40002c: d7 03 nop
  34458. +0040002e <far_positive>:
  34459. + 40002e: d7 03 nop
  34460. +Disassembly of section \.text\.init:
  34461. +
  34462. +00000000 <different_section>:
  34463. + 0: e2 c0 00 00 sub r0,r1,0
  34464. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/call_pic.d binutils-2.21/gas/testsuite/gas/avr32/call_pic.d
  34465. --- binutils-2.21.orig/gas/testsuite/gas/avr32/call_pic.d 1970-01-01 01:00:00.000000000 +0100
  34466. +++ binutils-2.21/gas/testsuite/gas/avr32/call_pic.d 2011-08-28 14:56:20.877986773 +0200
  34467. @@ -0,0 +1,36 @@
  34468. +#source: call.s
  34469. +#as: --pic
  34470. +#objdump: -dr
  34471. +#name: call_pic
  34472. +
  34473. +.*: +file format .*
  34474. +
  34475. +Disassembly of section \.text:
  34476. +
  34477. +00000000 <call_test>:
  34478. + 0: d7 03 nop
  34479. +
  34480. +00000002 <toofar_negative>:
  34481. + \.\.\.
  34482. + 1ffffe: 00 00 add r0,r0
  34483. + 200000: f0 a0 00 00 rcall 0 <call_test>
  34484. + 200004: f0 16 00 00 mcall r6\[0\]
  34485. + 200004: R_AVR32_GOT18SW toofar_negative
  34486. + 200008: f0 16 00 00 mcall r6\[0\]
  34487. + 200008: R_AVR32_GOT18SW different_section
  34488. + 20000c: f0 16 00 00 mcall r6\[0\]
  34489. + 20000c: R_AVR32_GOT18SW undefined
  34490. + 200010: f0 16 00 00 mcall r6\[0\]
  34491. + 200010: R_AVR32_GOT18SW toofar_positive
  34492. + \.\.\.
  34493. + 200030: ee b0 ff ff rcall 40002e <far_positive>
  34494. + \.\.\.
  34495. +
  34496. +0040002c <toofar_positive>:
  34497. + 40002c: d7 03 nop
  34498. +0040002e <far_positive>:
  34499. + 40002e: d7 03 nop
  34500. +Disassembly of section \.text\.init:
  34501. +
  34502. +00000000 <different_section>:
  34503. + 0: e2 c0 00 00 sub r0,r1,0
  34504. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/call_pic_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/call_pic_linkrelax.d
  34505. --- binutils-2.21.orig/gas/testsuite/gas/avr32/call_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  34506. +++ binutils-2.21/gas/testsuite/gas/avr32/call_pic_linkrelax.d 2011-08-28 14:56:20.927985506 +0200
  34507. @@ -0,0 +1,47 @@
  34508. +#source: call.s
  34509. +#as: --pic --linkrelax
  34510. +#objdump: -dr
  34511. +#name: call_pic_linkrelax
  34512. +
  34513. +.*: +file format .*
  34514. +
  34515. +Disassembly of section \.text:
  34516. +
  34517. +00000000 <call_test>:
  34518. + 0: d7 03 nop
  34519. +
  34520. +00000002 <toofar_negative>:
  34521. + \.\.\.
  34522. + 1ffffe: 00 00 add r0,r0
  34523. + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
  34524. + 200000: R_AVR32_22H_PCREL \.text
  34525. + 200004: e0 6e 00 00 mov lr,0
  34526. + 200004: R_AVR32_GOTCALL toofar_negative
  34527. + 200008: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
  34528. + 20000c: 5d 1e icall lr
  34529. + 20000e: e0 6e 00 00 mov lr,0
  34530. + 20000e: R_AVR32_GOTCALL different_section
  34531. + 200012: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
  34532. + 200016: 5d 1e icall lr
  34533. + 200018: e0 6e 00 00 mov lr,0
  34534. + 200018: R_AVR32_GOTCALL undefined
  34535. + 20001c: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
  34536. + 200020: 5d 1e icall lr
  34537. + 200022: e0 6e 00 00 mov lr,0
  34538. + 200022: R_AVR32_GOTCALL toofar_positive
  34539. + 200026: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
  34540. + 20002a: 5d 1e icall lr
  34541. + 20002c: 00 00 add r0,r0
  34542. + 20002e: 00 00 add r0,r0
  34543. + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
  34544. + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
  34545. + \.\.\.
  34546. +
  34547. +0040002c <toofar_positive>:
  34548. + 40002c: d7 03 nop
  34549. +0040002e <far_positive>:
  34550. + 40002e: d7 03 nop
  34551. +Disassembly of section \.text\.init:
  34552. +
  34553. +00000000 <different_section>:
  34554. + 0: e2 c0 00 00 sub r0,r1,0
  34555. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/call.s binutils-2.21/gas/testsuite/gas/avr32/call.s
  34556. --- binutils-2.21.orig/gas/testsuite/gas/avr32/call.s 1970-01-01 01:00:00.000000000 +0100
  34557. +++ binutils-2.21/gas/testsuite/gas/avr32/call.s 2011-08-28 14:56:21.007978939 +0200
  34558. @@ -0,0 +1,30 @@
  34559. +
  34560. + .text
  34561. + .global call_test
  34562. +call_test:
  34563. +far_negative:
  34564. + nop
  34565. +toofar_negative:
  34566. +
  34567. + .org 0x200000
  34568. +
  34569. + call far_negative
  34570. + call toofar_negative
  34571. + call different_section
  34572. + call undefined
  34573. + call toofar_positive
  34574. + .org 0x200030
  34575. + call far_positive
  34576. +
  34577. + .cpool
  34578. +
  34579. + .org 0x40002c
  34580. +
  34581. +toofar_positive:
  34582. + nop
  34583. +far_positive:
  34584. + nop
  34585. +
  34586. + .section .text.init,"ax",@progbits
  34587. +different_section:
  34588. + sub r0, r1, 0
  34589. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/dwarf2.d binutils-2.21/gas/testsuite/gas/avr32/dwarf2.d
  34590. --- binutils-2.21.orig/gas/testsuite/gas/avr32/dwarf2.d 1970-01-01 01:00:00.000000000 +0100
  34591. +++ binutils-2.21/gas/testsuite/gas/avr32/dwarf2.d 2011-08-28 14:56:21.057991029 +0200
  34592. @@ -0,0 +1,42 @@
  34593. +#readelf: -wl
  34594. +#name: dwarf2
  34595. +#source: dwarf2.s
  34596. +
  34597. +Dump of debug contents of section \.debug_line:
  34598. +
  34599. + Length: 53
  34600. + DWARF Version: 2
  34601. + Prologue Length: 26
  34602. + Minimum Instruction Length: 1
  34603. + Initial value of 'is_stmt': 1
  34604. + Line Base: -5
  34605. + Line Range: 14
  34606. + Opcode Base: 10
  34607. + \(Pointer size: 4\)
  34608. +
  34609. + Opcodes:
  34610. + Opcode 1 has 0 args
  34611. + Opcode 2 has 1 args
  34612. + Opcode 3 has 1 args
  34613. + Opcode 4 has 1 args
  34614. + Opcode 5 has 1 args
  34615. + Opcode 6 has 0 args
  34616. + Opcode 7 has 0 args
  34617. + Opcode 8 has 0 args
  34618. + Opcode 9 has 1 args
  34619. +
  34620. + The Directory Table is empty\.
  34621. +
  34622. + The File Name Table:
  34623. + Entry Dir Time Size Name
  34624. + 1 0 0 0 main\.c
  34625. +
  34626. + Line Number Statements:
  34627. + Extended opcode 2: set Address to 0x0
  34628. + Advance Line by 87 to 88
  34629. + Copy
  34630. + Advance Line by 23 to 111
  34631. + Special opcode .*: advance Address by 4 to 0x4 and Line by 0 to 111
  34632. + Special opcode .*: advance Address by 10 to 0xe and Line by 1 to 112
  34633. + Advance PC by 530 to 220
  34634. + Extended opcode 1: End of Sequence
  34635. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/dwarf2.s binutils-2.21/gas/testsuite/gas/avr32/dwarf2.s
  34636. --- binutils-2.21.orig/gas/testsuite/gas/avr32/dwarf2.s 1970-01-01 01:00:00.000000000 +0100
  34637. +++ binutils-2.21/gas/testsuite/gas/avr32/dwarf2.s 2011-08-28 14:56:21.097979812 +0200
  34638. @@ -0,0 +1,67 @@
  34639. +# Source file used to test DWARF2 information for AVR32.
  34640. +
  34641. + .file "main.c"
  34642. +
  34643. + .section .debug_abbrev,"",@progbits
  34644. +.Ldebug_abbrev0:
  34645. + .section .debug_info,"",@progbits
  34646. +.Ldebug_info0:
  34647. + .section .debug_line,"",@progbits
  34648. +.Ldebug_line0:
  34649. +
  34650. + .text
  34651. + .align 1
  34652. + .globl main
  34653. + .type main, @function
  34654. +.Ltext0:
  34655. +main:
  34656. + .file 1 "main.c"
  34657. + .loc 1 88 0
  34658. + pushm r0-r7,lr
  34659. + sub sp, 4
  34660. + .loc 1 111 0
  34661. + lddpc r12, .LC1
  34662. + lddpc r7, .LC1
  34663. + icall r7
  34664. + .loc 1 112 0
  34665. + lddpc r6, .LC4
  34666. +
  34667. + .align 2
  34668. +.LC4: .int 0
  34669. +
  34670. + .fill 256, 2, 0
  34671. +
  34672. + .align 2
  34673. +.LC1:
  34674. + .int 0
  34675. +.LC2:
  34676. + .int 0
  34677. +.LC3:
  34678. + .int 0
  34679. + .size main, . - main
  34680. +
  34681. +.Letext0:
  34682. +
  34683. + .section .debug_info
  34684. + .int .Ledebug_info0 - .Ldebug_info0 // size
  34685. + .short 2 // version
  34686. + .int .Ldebug_abbrev0 // abbrev offset
  34687. + .byte 4 // bytes per addr
  34688. +
  34689. + .uleb128 1 // abbrev 1
  34690. + .int .Ldebug_line0 // DW_AT_stmt_list
  34691. + .int .Letext0 // DW_AT_high_pc
  34692. + .int .Ltext0 // DW_AT_low_pc
  34693. +
  34694. +.Ledebug_info0:
  34695. +
  34696. + .section .debug_abbrev
  34697. + .uleb128 0x01
  34698. + .uleb128 0x11 // DW_TAG_compile_unit
  34699. + .byte 0 // DW_CHILDREN_no
  34700. + .uleb128 0x10, 0x6 // DW_AT_stmt_list
  34701. + .uleb128 0x12, 0x1 // DW_AT_high_pc
  34702. + .uleb128 0x11, 0x1 // DW_AT_low_pc
  34703. + .uleb128 0, 0
  34704. +
  34705. + .byte 0
  34706. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/fpinsn.d binutils-2.21/gas/testsuite/gas/avr32/fpinsn.d
  34707. --- binutils-2.21.orig/gas/testsuite/gas/avr32/fpinsn.d 1970-01-01 01:00:00.000000000 +0100
  34708. +++ binutils-2.21/gas/testsuite/gas/avr32/fpinsn.d 2011-08-28 14:56:21.137980708 +0200
  34709. @@ -0,0 +1,271 @@
  34710. +#as:
  34711. +#objdump: -dr
  34712. +#name: fpinsn
  34713. +
  34714. +.*: +file format .*
  34715. +
  34716. +Disassembly of section \.text:
  34717. +
  34718. +[0-9a-f]* <fadd_s>:
  34719. + *[0-9a-f]*: e1 a2 0f ff cop cp0,cr15,cr15,cr15,0x4
  34720. + *[0-9a-f]*: e1 a2 00 00 cop cp0,cr0,cr0,cr0,0x4
  34721. + *[0-9a-f]*: e1 a2 00 ff cop cp0,cr0,cr15,cr15,0x4
  34722. + *[0-9a-f]*: e1 a2 0f 0f cop cp0,cr15,cr0,cr15,0x4
  34723. + *[0-9a-f]*: e1 a2 0f f0 cop cp0,cr15,cr15,cr0,0x4
  34724. + *[0-9a-f]*: e1 a2 07 88 cop cp0,cr7,cr8,cr8,0x4
  34725. + *[0-9a-f]*: e1 a2 08 78 cop cp0,cr8,cr7,cr8,0x4
  34726. + *[0-9a-f]*: e1 a2 08 87 cop cp0,cr8,cr8,cr7,0x4
  34727. +
  34728. +[0-9a-f]* <fsub_s>:
  34729. + *[0-9a-f]*: e1 a2 1f ff cop cp0,cr15,cr15,cr15,0x5
  34730. + *[0-9a-f]*: e1 a2 10 00 cop cp0,cr0,cr0,cr0,0x5
  34731. + *[0-9a-f]*: e1 a2 10 ff cop cp0,cr0,cr15,cr15,0x5
  34732. + *[0-9a-f]*: e1 a2 1f 0f cop cp0,cr15,cr0,cr15,0x5
  34733. + *[0-9a-f]*: e1 a2 1f f0 cop cp0,cr15,cr15,cr0,0x5
  34734. + *[0-9a-f]*: e1 a2 17 88 cop cp0,cr7,cr8,cr8,0x5
  34735. + *[0-9a-f]*: e1 a2 18 78 cop cp0,cr8,cr7,cr8,0x5
  34736. + *[0-9a-f]*: e1 a2 18 87 cop cp0,cr8,cr8,cr7,0x5
  34737. +
  34738. +[0-9a-f]* <fmac_s>:
  34739. + *[0-9a-f]*: e1 a0 0f ff cop cp0,cr15,cr15,cr15,0x0
  34740. + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
  34741. + *[0-9a-f]*: e1 a0 00 ff cop cp0,cr0,cr15,cr15,0x0
  34742. + *[0-9a-f]*: e1 a0 0f 0f cop cp0,cr15,cr0,cr15,0x0
  34743. + *[0-9a-f]*: e1 a0 0f f0 cop cp0,cr15,cr15,cr0,0x0
  34744. + *[0-9a-f]*: e1 a0 07 88 cop cp0,cr7,cr8,cr8,0x0
  34745. + *[0-9a-f]*: e1 a0 08 78 cop cp0,cr8,cr7,cr8,0x0
  34746. + *[0-9a-f]*: e1 a0 08 87 cop cp0,cr8,cr8,cr7,0x0
  34747. +
  34748. +[0-9a-f]* <fnmac_s>:
  34749. + *[0-9a-f]*: e1 a0 1f ff cop cp0,cr15,cr15,cr15,0x1
  34750. + *[0-9a-f]*: e1 a0 10 00 cop cp0,cr0,cr0,cr0,0x1
  34751. + *[0-9a-f]*: e1 a0 10 ff cop cp0,cr0,cr15,cr15,0x1
  34752. + *[0-9a-f]*: e1 a0 1f 0f cop cp0,cr15,cr0,cr15,0x1
  34753. + *[0-9a-f]*: e1 a0 1f f0 cop cp0,cr15,cr15,cr0,0x1
  34754. + *[0-9a-f]*: e1 a0 17 88 cop cp0,cr7,cr8,cr8,0x1
  34755. + *[0-9a-f]*: e1 a0 18 78 cop cp0,cr8,cr7,cr8,0x1
  34756. + *[0-9a-f]*: e1 a0 18 87 cop cp0,cr8,cr8,cr7,0x1
  34757. +
  34758. +[0-9a-f]* <fmsc_s>:
  34759. + *[0-9a-f]*: e1 a1 0f ff cop cp0,cr15,cr15,cr15,0x2
  34760. + *[0-9a-f]*: e1 a1 00 00 cop cp0,cr0,cr0,cr0,0x2
  34761. + *[0-9a-f]*: e1 a1 00 ff cop cp0,cr0,cr15,cr15,0x2
  34762. + *[0-9a-f]*: e1 a1 0f 0f cop cp0,cr15,cr0,cr15,0x2
  34763. + *[0-9a-f]*: e1 a1 0f f0 cop cp0,cr15,cr15,cr0,0x2
  34764. + *[0-9a-f]*: e1 a1 07 88 cop cp0,cr7,cr8,cr8,0x2
  34765. + *[0-9a-f]*: e1 a1 08 78 cop cp0,cr8,cr7,cr8,0x2
  34766. + *[0-9a-f]*: e1 a1 08 87 cop cp0,cr8,cr8,cr7,0x2
  34767. +
  34768. +[0-9a-f]* <fnmsc_s>:
  34769. + *[0-9a-f]*: e1 a1 1f ff cop cp0,cr15,cr15,cr15,0x3
  34770. + *[0-9a-f]*: e1 a1 10 00 cop cp0,cr0,cr0,cr0,0x3
  34771. + *[0-9a-f]*: e1 a1 10 ff cop cp0,cr0,cr15,cr15,0x3
  34772. + *[0-9a-f]*: e1 a1 1f 0f cop cp0,cr15,cr0,cr15,0x3
  34773. + *[0-9a-f]*: e1 a1 1f f0 cop cp0,cr15,cr15,cr0,0x3
  34774. + *[0-9a-f]*: e1 a1 17 88 cop cp0,cr7,cr8,cr8,0x3
  34775. + *[0-9a-f]*: e1 a1 18 78 cop cp0,cr8,cr7,cr8,0x3
  34776. + *[0-9a-f]*: e1 a1 18 87 cop cp0,cr8,cr8,cr7,0x3
  34777. +
  34778. +[0-9a-f]* <fmul_s>:
  34779. + *[0-9a-f]*: e1 a3 0f ff cop cp0,cr15,cr15,cr15,0x6
  34780. + *[0-9a-f]*: e1 a3 00 00 cop cp0,cr0,cr0,cr0,0x6
  34781. + *[0-9a-f]*: e1 a3 00 ff cop cp0,cr0,cr15,cr15,0x6
  34782. + *[0-9a-f]*: e1 a3 0f 0f cop cp0,cr15,cr0,cr15,0x6
  34783. + *[0-9a-f]*: e1 a3 0f f0 cop cp0,cr15,cr15,cr0,0x6
  34784. + *[0-9a-f]*: e1 a3 07 88 cop cp0,cr7,cr8,cr8,0x6
  34785. + *[0-9a-f]*: e1 a3 08 78 cop cp0,cr8,cr7,cr8,0x6
  34786. + *[0-9a-f]*: e1 a3 08 87 cop cp0,cr8,cr8,cr7,0x6
  34787. +
  34788. +[0-9a-f]* <fnmul_s>:
  34789. + *[0-9a-f]*: e1 a3 1f ff cop cp0,cr15,cr15,cr15,0x7
  34790. + *[0-9a-f]*: e1 a3 10 00 cop cp0,cr0,cr0,cr0,0x7
  34791. + *[0-9a-f]*: e1 a3 10 ff cop cp0,cr0,cr15,cr15,0x7
  34792. + *[0-9a-f]*: e1 a3 1f 0f cop cp0,cr15,cr0,cr15,0x7
  34793. + *[0-9a-f]*: e1 a3 1f f0 cop cp0,cr15,cr15,cr0,0x7
  34794. + *[0-9a-f]*: e1 a3 17 88 cop cp0,cr7,cr8,cr8,0x7
  34795. + *[0-9a-f]*: e1 a3 18 78 cop cp0,cr8,cr7,cr8,0x7
  34796. + *[0-9a-f]*: e1 a3 18 87 cop cp0,cr8,cr8,cr7,0x7
  34797. +
  34798. +[0-9a-f]* <fneg_s>:
  34799. + *[0-9a-f]*: e1 a4 0f f0 cop cp0,cr15,cr15,cr0,0x8
  34800. + *[0-9a-f]*: e1 a4 00 00 cop cp0,cr0,cr0,cr0,0x8
  34801. + *[0-9a-f]*: e1 a4 00 f0 cop cp0,cr0,cr15,cr0,0x8
  34802. + *[0-9a-f]*: e1 a4 0f 00 cop cp0,cr15,cr0,cr0,0x8
  34803. + *[0-9a-f]*: e1 a4 07 80 cop cp0,cr7,cr8,cr0,0x8
  34804. + *[0-9a-f]*: e1 a4 08 70 cop cp0,cr8,cr7,cr0,0x8
  34805. +
  34806. +[0-9a-f]* <fabs_s>:
  34807. + *[0-9a-f]*: e1 a4 1f f0 cop cp0,cr15,cr15,cr0,0x9
  34808. + *[0-9a-f]*: e1 a4 10 00 cop cp0,cr0,cr0,cr0,0x9
  34809. + *[0-9a-f]*: e1 a4 10 f0 cop cp0,cr0,cr15,cr0,0x9
  34810. + *[0-9a-f]*: e1 a4 1f 00 cop cp0,cr15,cr0,cr0,0x9
  34811. + *[0-9a-f]*: e1 a4 17 80 cop cp0,cr7,cr8,cr0,0x9
  34812. + *[0-9a-f]*: e1 a4 18 70 cop cp0,cr8,cr7,cr0,0x9
  34813. +
  34814. +[0-9a-f]* <fcmp_s>:
  34815. + *[0-9a-f]*: e1 a6 10 ff cop cp0,cr0,cr15,cr15,0xd
  34816. + *[0-9a-f]*: e1 a6 10 00 cop cp0,cr0,cr0,cr0,0xd
  34817. + *[0-9a-f]*: e1 a6 10 0f cop cp0,cr0,cr0,cr15,0xd
  34818. + *[0-9a-f]*: e1 a6 10 f0 cop cp0,cr0,cr15,cr0,0xd
  34819. + *[0-9a-f]*: e1 a6 10 78 cop cp0,cr0,cr7,cr8,0xd
  34820. + *[0-9a-f]*: e1 a6 10 87 cop cp0,cr0,cr8,cr7,0xd
  34821. +
  34822. +[0-9a-f]* <fadd_d>:
  34823. + *[0-9a-f]*: e5 a2 0e ee cop cp0,cr14,cr14,cr14,0x44
  34824. + *[0-9a-f]*: e5 a2 00 00 cop cp0,cr0,cr0,cr0,0x44
  34825. + *[0-9a-f]*: e5 a2 00 ee cop cp0,cr0,cr14,cr14,0x44
  34826. + *[0-9a-f]*: e5 a2 0e 0e cop cp0,cr14,cr0,cr14,0x44
  34827. + *[0-9a-f]*: e5 a2 0e e0 cop cp0,cr14,cr14,cr0,0x44
  34828. + *[0-9a-f]*: e5 a2 06 88 cop cp0,cr6,cr8,cr8,0x44
  34829. + *[0-9a-f]*: e5 a2 08 68 cop cp0,cr8,cr6,cr8,0x44
  34830. + *[0-9a-f]*: e5 a2 08 86 cop cp0,cr8,cr8,cr6,0x44
  34831. +
  34832. +[0-9a-f]* <fsub_d>:
  34833. + *[0-9a-f]*: e5 a2 1e ee cop cp0,cr14,cr14,cr14,0x45
  34834. + *[0-9a-f]*: e5 a2 10 00 cop cp0,cr0,cr0,cr0,0x45
  34835. + *[0-9a-f]*: e5 a2 10 ee cop cp0,cr0,cr14,cr14,0x45
  34836. + *[0-9a-f]*: e5 a2 1e 0e cop cp0,cr14,cr0,cr14,0x45
  34837. + *[0-9a-f]*: e5 a2 1e e0 cop cp0,cr14,cr14,cr0,0x45
  34838. + *[0-9a-f]*: e5 a2 16 88 cop cp0,cr6,cr8,cr8,0x45
  34839. + *[0-9a-f]*: e5 a2 18 68 cop cp0,cr8,cr6,cr8,0x45
  34840. + *[0-9a-f]*: e5 a2 18 86 cop cp0,cr8,cr8,cr6,0x45
  34841. +
  34842. +[0-9a-f]* <fmac_d>:
  34843. + *[0-9a-f]*: e5 a0 0e ee cop cp0,cr14,cr14,cr14,0x40
  34844. + *[0-9a-f]*: e5 a0 00 00 cop cp0,cr0,cr0,cr0,0x40
  34845. + *[0-9a-f]*: e5 a0 00 ee cop cp0,cr0,cr14,cr14,0x40
  34846. + *[0-9a-f]*: e5 a0 0e 0e cop cp0,cr14,cr0,cr14,0x40
  34847. + *[0-9a-f]*: e5 a0 0e e0 cop cp0,cr14,cr14,cr0,0x40
  34848. + *[0-9a-f]*: e5 a0 06 88 cop cp0,cr6,cr8,cr8,0x40
  34849. + *[0-9a-f]*: e5 a0 08 68 cop cp0,cr8,cr6,cr8,0x40
  34850. + *[0-9a-f]*: e5 a0 08 86 cop cp0,cr8,cr8,cr6,0x40
  34851. +
  34852. +[0-9a-f]* <fnmac_d>:
  34853. + *[0-9a-f]*: e5 a0 1e ee cop cp0,cr14,cr14,cr14,0x41
  34854. + *[0-9a-f]*: e5 a0 10 00 cop cp0,cr0,cr0,cr0,0x41
  34855. + *[0-9a-f]*: e5 a0 10 ee cop cp0,cr0,cr14,cr14,0x41
  34856. + *[0-9a-f]*: e5 a0 1e 0e cop cp0,cr14,cr0,cr14,0x41
  34857. + *[0-9a-f]*: e5 a0 1e e0 cop cp0,cr14,cr14,cr0,0x41
  34858. + *[0-9a-f]*: e5 a0 16 88 cop cp0,cr6,cr8,cr8,0x41
  34859. + *[0-9a-f]*: e5 a0 18 68 cop cp0,cr8,cr6,cr8,0x41
  34860. + *[0-9a-f]*: e5 a0 18 86 cop cp0,cr8,cr8,cr6,0x41
  34861. +
  34862. +[0-9a-f]* <fmsc_d>:
  34863. + *[0-9a-f]*: e5 a1 0e ee cop cp0,cr14,cr14,cr14,0x42
  34864. + *[0-9a-f]*: e5 a1 00 00 cop cp0,cr0,cr0,cr0,0x42
  34865. + *[0-9a-f]*: e5 a1 00 ee cop cp0,cr0,cr14,cr14,0x42
  34866. + *[0-9a-f]*: e5 a1 0e 0e cop cp0,cr14,cr0,cr14,0x42
  34867. + *[0-9a-f]*: e5 a1 0e e0 cop cp0,cr14,cr14,cr0,0x42
  34868. + *[0-9a-f]*: e5 a1 06 88 cop cp0,cr6,cr8,cr8,0x42
  34869. + *[0-9a-f]*: e5 a1 08 68 cop cp0,cr8,cr6,cr8,0x42
  34870. + *[0-9a-f]*: e5 a1 08 86 cop cp0,cr8,cr8,cr6,0x42
  34871. +
  34872. +[0-9a-f]* <fnmsc_d>:
  34873. + *[0-9a-f]*: e5 a1 1e ee cop cp0,cr14,cr14,cr14,0x43
  34874. + *[0-9a-f]*: e5 a1 10 00 cop cp0,cr0,cr0,cr0,0x43
  34875. + *[0-9a-f]*: e5 a1 10 ee cop cp0,cr0,cr14,cr14,0x43
  34876. + *[0-9a-f]*: e5 a1 1e 0e cop cp0,cr14,cr0,cr14,0x43
  34877. + *[0-9a-f]*: e5 a1 1e e0 cop cp0,cr14,cr14,cr0,0x43
  34878. + *[0-9a-f]*: e5 a1 16 88 cop cp0,cr6,cr8,cr8,0x43
  34879. + *[0-9a-f]*: e5 a1 18 68 cop cp0,cr8,cr6,cr8,0x43
  34880. + *[0-9a-f]*: e5 a1 18 86 cop cp0,cr8,cr8,cr6,0x43
  34881. +
  34882. +[0-9a-f]* <fmul_d>:
  34883. + *[0-9a-f]*: e5 a3 0e ee cop cp0,cr14,cr14,cr14,0x46
  34884. + *[0-9a-f]*: e5 a3 00 00 cop cp0,cr0,cr0,cr0,0x46
  34885. + *[0-9a-f]*: e5 a3 00 ee cop cp0,cr0,cr14,cr14,0x46
  34886. + *[0-9a-f]*: e5 a3 0e 0e cop cp0,cr14,cr0,cr14,0x46
  34887. + *[0-9a-f]*: e5 a3 0e e0 cop cp0,cr14,cr14,cr0,0x46
  34888. + *[0-9a-f]*: e5 a3 06 88 cop cp0,cr6,cr8,cr8,0x46
  34889. + *[0-9a-f]*: e5 a3 08 68 cop cp0,cr8,cr6,cr8,0x46
  34890. + *[0-9a-f]*: e5 a3 08 86 cop cp0,cr8,cr8,cr6,0x46
  34891. +
  34892. +[0-9a-f]* <fnmul_d>:
  34893. + *[0-9a-f]*: e5 a3 1e ee cop cp0,cr14,cr14,cr14,0x47
  34894. + *[0-9a-f]*: e5 a3 10 00 cop cp0,cr0,cr0,cr0,0x47
  34895. + *[0-9a-f]*: e5 a3 10 ee cop cp0,cr0,cr14,cr14,0x47
  34896. + *[0-9a-f]*: e5 a3 1e 0e cop cp0,cr14,cr0,cr14,0x47
  34897. + *[0-9a-f]*: e5 a3 1e e0 cop cp0,cr14,cr14,cr0,0x47
  34898. + *[0-9a-f]*: e5 a3 16 88 cop cp0,cr6,cr8,cr8,0x47
  34899. + *[0-9a-f]*: e5 a3 18 68 cop cp0,cr8,cr6,cr8,0x47
  34900. + *[0-9a-f]*: e5 a3 18 86 cop cp0,cr8,cr8,cr6,0x47
  34901. +
  34902. +[0-9a-f]* <fneg_d>:
  34903. + *[0-9a-f]*: e5 a4 0e e0 cop cp0,cr14,cr14,cr0,0x48
  34904. + *[0-9a-f]*: e5 a4 00 00 cop cp0,cr0,cr0,cr0,0x48
  34905. + *[0-9a-f]*: e5 a4 00 e0 cop cp0,cr0,cr14,cr0,0x48
  34906. + *[0-9a-f]*: e5 a4 0e 00 cop cp0,cr14,cr0,cr0,0x48
  34907. + *[0-9a-f]*: e5 a4 06 80 cop cp0,cr6,cr8,cr0,0x48
  34908. + *[0-9a-f]*: e5 a4 08 60 cop cp0,cr8,cr6,cr0,0x48
  34909. +
  34910. +[0-9a-f]* <fabs_d>:
  34911. + *[0-9a-f]*: e5 a4 1e e0 cop cp0,cr14,cr14,cr0,0x49
  34912. + *[0-9a-f]*: e5 a4 10 00 cop cp0,cr0,cr0,cr0,0x49
  34913. + *[0-9a-f]*: e5 a4 10 e0 cop cp0,cr0,cr14,cr0,0x49
  34914. + *[0-9a-f]*: e5 a4 1e 00 cop cp0,cr14,cr0,cr0,0x49
  34915. + *[0-9a-f]*: e5 a4 16 80 cop cp0,cr6,cr8,cr0,0x49
  34916. + *[0-9a-f]*: e5 a4 18 60 cop cp0,cr8,cr6,cr0,0x49
  34917. +
  34918. +[0-9a-f]* <fcmp_d>:
  34919. + *[0-9a-f]*: e5 a6 10 ee cop cp0,cr0,cr14,cr14,0x4d
  34920. + *[0-9a-f]*: e5 a6 10 00 cop cp0,cr0,cr0,cr0,0x4d
  34921. + *[0-9a-f]*: e5 a6 10 0e cop cp0,cr0,cr0,cr14,0x4d
  34922. + *[0-9a-f]*: e5 a6 10 e0 cop cp0,cr0,cr14,cr0,0x4d
  34923. + *[0-9a-f]*: e5 a6 10 68 cop cp0,cr0,cr6,cr8,0x4d
  34924. + *[0-9a-f]*: e5 a6 10 86 cop cp0,cr0,cr8,cr6,0x4d
  34925. +
  34926. +[0-9a-f]* <fmov_s>:
  34927. + *[0-9a-f]*: e1 a5 0f f0 cop cp0,cr15,cr15,cr0,0xa
  34928. + *[0-9a-f]*: e1 a5 00 00 cop cp0,cr0,cr0,cr0,0xa
  34929. + *[0-9a-f]*: e1 a5 0f 00 cop cp0,cr15,cr0,cr0,0xa
  34930. + *[0-9a-f]*: e1 a5 00 f0 cop cp0,cr0,cr15,cr0,0xa
  34931. + *[0-9a-f]*: e1 a5 08 70 cop cp0,cr8,cr7,cr0,0xa
  34932. + *[0-9a-f]*: e1 a5 07 80 cop cp0,cr7,cr8,cr0,0xa
  34933. + *[0-9a-f]*: ef af 0f 00 mvcr.w cp0,pc,cr15
  34934. + *[0-9a-f]*: ef a0 00 00 mvcr.w cp0,r0,cr0
  34935. + *[0-9a-f]*: ef af 00 00 mvcr.w cp0,pc,cr0
  34936. + *[0-9a-f]*: ef a0 0f 00 mvcr.w cp0,r0,cr15
  34937. + *[0-9a-f]*: ef a8 07 00 mvcr.w cp0,r8,cr7
  34938. + *[0-9a-f]*: ef a7 08 00 mvcr.w cp0,r7,cr8
  34939. + *[0-9a-f]*: ef af 0f 20 mvrc.w cp0,cr15,pc
  34940. + *[0-9a-f]*: ef a0 00 20 mvrc.w cp0,cr0,r0
  34941. + *[0-9a-f]*: ef a0 0f 20 mvrc.w cp0,cr15,r0
  34942. + *[0-9a-f]*: ef af 00 20 mvrc.w cp0,cr0,pc
  34943. + *[0-9a-f]*: ef a7 08 20 mvrc.w cp0,cr8,r7
  34944. + *[0-9a-f]*: ef a8 07 20 mvrc.w cp0,cr7,r8
  34945. +
  34946. +[0-9a-f]* <fmov_d>:
  34947. + *[0-9a-f]*: e5 a5 0e e0 cop cp0,cr14,cr14,cr0,0x4a
  34948. + *[0-9a-f]*: e5 a5 00 00 cop cp0,cr0,cr0,cr0,0x4a
  34949. + *[0-9a-f]*: e5 a5 0e 00 cop cp0,cr14,cr0,cr0,0x4a
  34950. + *[0-9a-f]*: e5 a5 00 e0 cop cp0,cr0,cr14,cr0,0x4a
  34951. + *[0-9a-f]*: e5 a5 08 60 cop cp0,cr8,cr6,cr0,0x4a
  34952. + *[0-9a-f]*: e5 a5 06 80 cop cp0,cr6,cr8,cr0,0x4a
  34953. + *[0-9a-f]*: ef ae 0e 10 mvcr.d cp0,lr,cr14
  34954. + *[0-9a-f]*: ef a0 00 10 mvcr.d cp0,r0,cr0
  34955. + *[0-9a-f]*: ef ae 00 10 mvcr.d cp0,lr,cr0
  34956. + *[0-9a-f]*: ef a0 0e 10 mvcr.d cp0,r0,cr14
  34957. + *[0-9a-f]*: ef a8 06 10 mvcr.d cp0,r8,cr6
  34958. + *[0-9a-f]*: ef a6 08 10 mvcr.d cp0,r6,cr8
  34959. + *[0-9a-f]*: ef ae 0e 30 mvrc.d cp0,cr14,lr
  34960. + *[0-9a-f]*: ef a0 00 30 mvrc.d cp0,cr0,r0
  34961. + *[0-9a-f]*: ef a0 0e 30 mvrc.d cp0,cr14,r0
  34962. + *[0-9a-f]*: ef ae 00 30 mvrc.d cp0,cr0,lr
  34963. + *[0-9a-f]*: ef a6 08 30 mvrc.d cp0,cr8,r6
  34964. + *[0-9a-f]*: ef a8 06 30 mvrc.d cp0,cr6,r8
  34965. +
  34966. +[0-9a-f]* <fcasts_d>:
  34967. + *[0-9a-f]*: e1 a7 1f e0 cop cp0,cr15,cr14,cr0,0xf
  34968. + *[0-9a-f]*: e1 a7 10 00 cop cp0,cr0,cr0,cr0,0xf
  34969. + *[0-9a-f]*: e1 a7 1f 00 cop cp0,cr15,cr0,cr0,0xf
  34970. + *[0-9a-f]*: e1 a7 10 e0 cop cp0,cr0,cr14,cr0,0xf
  34971. + *[0-9a-f]*: e1 a7 18 60 cop cp0,cr8,cr6,cr0,0xf
  34972. + *[0-9a-f]*: e1 a7 17 80 cop cp0,cr7,cr8,cr0,0xf
  34973. +
  34974. +[0-9a-f]* <fcastd_s>:
  34975. + *[0-9a-f]*: e1 a8 0e f0 cop cp0,cr14,cr15,cr0,0x10
  34976. + *[0-9a-f]*: e1 a8 00 00 cop cp0,cr0,cr0,cr0,0x10
  34977. + *[0-9a-f]*: e1 a8 0e 00 cop cp0,cr14,cr0,cr0,0x10
  34978. + *[0-9a-f]*: e1 a8 00 f0 cop cp0,cr0,cr15,cr0,0x10
  34979. + *[0-9a-f]*: e1 a8 08 70 cop cp0,cr8,cr7,cr0,0x10
  34980. + *[0-9a-f]*: e1 a8 06 80 cop cp0,cr6,cr8,cr0,0x10
  34981. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/fpinsn.s binutils-2.21/gas/testsuite/gas/avr32/fpinsn.s
  34982. --- binutils-2.21.orig/gas/testsuite/gas/avr32/fpinsn.s 1970-01-01 01:00:00.000000000 +0100
  34983. +++ binutils-2.21/gas/testsuite/gas/avr32/fpinsn.s 2011-08-28 14:56:21.197982789 +0200
  34984. @@ -0,0 +1,266 @@
  34985. +
  34986. + .text
  34987. + .global fadd_s
  34988. +fadd_s:
  34989. + fadd.s fr15, fr15, fr15
  34990. + fadd.s fr0, fr0, fr0
  34991. + fadd.s fr0, fr15, fr15
  34992. + fadd.s fr15, fr0, fr15
  34993. + fadd.s fr15, fr15, fr0
  34994. + fadd.s fr7, fr8, fr8
  34995. + fadd.s fr8, fr7, fr8
  34996. + fadd.s fr8, fr8, fr7
  34997. + .global fsub_s
  34998. +fsub_s:
  34999. + fsub.s fr15, fr15, fr15
  35000. + fsub.s fr0, fr0, fr0
  35001. + fsub.s fr0, fr15, fr15
  35002. + fsub.s fr15, fr0, fr15
  35003. + fsub.s fr15, fr15, fr0
  35004. + fsub.s fr7, fr8, fr8
  35005. + fsub.s fr8, fr7, fr8
  35006. + fsub.s fr8, fr8, fr7
  35007. + .global fmac_s
  35008. +fmac_s:
  35009. + fmac.s fr15, fr15, fr15
  35010. + fmac.s fr0, fr0, fr0
  35011. + fmac.s fr0, fr15, fr15
  35012. + fmac.s fr15, fr0, fr15
  35013. + fmac.s fr15, fr15, fr0
  35014. + fmac.s fr7, fr8, fr8
  35015. + fmac.s fr8, fr7, fr8
  35016. + fmac.s fr8, fr8, fr7
  35017. + .global fnmac_s
  35018. +fnmac_s:
  35019. + fnmac.s fr15, fr15, fr15
  35020. + fnmac.s fr0, fr0, fr0
  35021. + fnmac.s fr0, fr15, fr15
  35022. + fnmac.s fr15, fr0, fr15
  35023. + fnmac.s fr15, fr15, fr0
  35024. + fnmac.s fr7, fr8, fr8
  35025. + fnmac.s fr8, fr7, fr8
  35026. + fnmac.s fr8, fr8, fr7
  35027. + .global fmsc_s
  35028. +fmsc_s:
  35029. + fmsc.s fr15, fr15, fr15
  35030. + fmsc.s fr0, fr0, fr0
  35031. + fmsc.s fr0, fr15, fr15
  35032. + fmsc.s fr15, fr0, fr15
  35033. + fmsc.s fr15, fr15, fr0
  35034. + fmsc.s fr7, fr8, fr8
  35035. + fmsc.s fr8, fr7, fr8
  35036. + fmsc.s fr8, fr8, fr7
  35037. + .global fnmsc_s
  35038. +fnmsc_s:
  35039. + fnmsc.s fr15, fr15, fr15
  35040. + fnmsc.s fr0, fr0, fr0
  35041. + fnmsc.s fr0, fr15, fr15
  35042. + fnmsc.s fr15, fr0, fr15
  35043. + fnmsc.s fr15, fr15, fr0
  35044. + fnmsc.s fr7, fr8, fr8
  35045. + fnmsc.s fr8, fr7, fr8
  35046. + fnmsc.s fr8, fr8, fr7
  35047. + .global fmul_s
  35048. +fmul_s:
  35049. + fmul.s fr15, fr15, fr15
  35050. + fmul.s fr0, fr0, fr0
  35051. + fmul.s fr0, fr15, fr15
  35052. + fmul.s fr15, fr0, fr15
  35053. + fmul.s fr15, fr15, fr0
  35054. + fmul.s fr7, fr8, fr8
  35055. + fmul.s fr8, fr7, fr8
  35056. + fmul.s fr8, fr8, fr7
  35057. + .global fnmul_s
  35058. +fnmul_s:
  35059. + fnmul.s fr15, fr15, fr15
  35060. + fnmul.s fr0, fr0, fr0
  35061. + fnmul.s fr0, fr15, fr15
  35062. + fnmul.s fr15, fr0, fr15
  35063. + fnmul.s fr15, fr15, fr0
  35064. + fnmul.s fr7, fr8, fr8
  35065. + fnmul.s fr8, fr7, fr8
  35066. + fnmul.s fr8, fr8, fr7
  35067. + .global fneg_s
  35068. +fneg_s:
  35069. + fneg.s fr15, fr15
  35070. + fneg.s fr0, fr0
  35071. + fneg.s fr0, fr15
  35072. + fneg.s fr15, fr0
  35073. + fneg.s fr7, fr8
  35074. + fneg.s fr8, fr7
  35075. + .global fabs_s
  35076. +fabs_s:
  35077. + fabs.s fr15, fr15
  35078. + fabs.s fr0, fr0
  35079. + fabs.s fr0, fr15
  35080. + fabs.s fr15, fr0
  35081. + fabs.s fr7, fr8
  35082. + fabs.s fr8, fr7
  35083. + .global fcmp_s
  35084. +fcmp_s:
  35085. + fcmp.s fr15, fr15
  35086. + fcmp.s fr0, fr0
  35087. + fcmp.s fr0, fr15
  35088. + fcmp.s fr15, fr0
  35089. + fcmp.s fr7, fr8
  35090. + fcmp.s fr8, fr7
  35091. + .global fadd_d
  35092. +fadd_d:
  35093. + fadd.d fr14, fr14, fr14
  35094. + fadd.d fr0, fr0, fr0
  35095. + fadd.d fr0, fr14, fr14
  35096. + fadd.d fr14, fr0, fr14
  35097. + fadd.d fr14, fr14, fr0
  35098. + fadd.d fr6, fr8, fr8
  35099. + fadd.d fr8, fr6, fr8
  35100. + fadd.d fr8, fr8, fr6
  35101. + .global fsub_d
  35102. +fsub_d:
  35103. + fsub.d fr14, fr14, fr14
  35104. + fsub.d fr0, fr0, fr0
  35105. + fsub.d fr0, fr14, fr14
  35106. + fsub.d fr14, fr0, fr14
  35107. + fsub.d fr14, fr14, fr0
  35108. + fsub.d fr6, fr8, fr8
  35109. + fsub.d fr8, fr6, fr8
  35110. + fsub.d fr8, fr8, fr6
  35111. + .global fmac_d
  35112. +fmac_d:
  35113. + fmac.d fr14, fr14, fr14
  35114. + fmac.d fr0, fr0, fr0
  35115. + fmac.d fr0, fr14, fr14
  35116. + fmac.d fr14, fr0, fr14
  35117. + fmac.d fr14, fr14, fr0
  35118. + fmac.d fr6, fr8, fr8
  35119. + fmac.d fr8, fr6, fr8
  35120. + fmac.d fr8, fr8, fr6
  35121. + .global fnmac_d
  35122. +fnmac_d:
  35123. + fnmac.d fr14, fr14, fr14
  35124. + fnmac.d fr0, fr0, fr0
  35125. + fnmac.d fr0, fr14, fr14
  35126. + fnmac.d fr14, fr0, fr14
  35127. + fnmac.d fr14, fr14, fr0
  35128. + fnmac.d fr6, fr8, fr8
  35129. + fnmac.d fr8, fr6, fr8
  35130. + fnmac.d fr8, fr8, fr6
  35131. + .global fmsc_d
  35132. +fmsc_d:
  35133. + fmsc.d fr14, fr14, fr14
  35134. + fmsc.d fr0, fr0, fr0
  35135. + fmsc.d fr0, fr14, fr14
  35136. + fmsc.d fr14, fr0, fr14
  35137. + fmsc.d fr14, fr14, fr0
  35138. + fmsc.d fr6, fr8, fr8
  35139. + fmsc.d fr8, fr6, fr8
  35140. + fmsc.d fr8, fr8, fr6
  35141. + .global fnmsc_d
  35142. +fnmsc_d:
  35143. + fnmsc.d fr14, fr14, fr14
  35144. + fnmsc.d fr0, fr0, fr0
  35145. + fnmsc.d fr0, fr14, fr14
  35146. + fnmsc.d fr14, fr0, fr14
  35147. + fnmsc.d fr14, fr14, fr0
  35148. + fnmsc.d fr6, fr8, fr8
  35149. + fnmsc.d fr8, fr6, fr8
  35150. + fnmsc.d fr8, fr8, fr6
  35151. + .global fmul_d
  35152. +fmul_d:
  35153. + fmul.d fr14, fr14, fr14
  35154. + fmul.d fr0, fr0, fr0
  35155. + fmul.d fr0, fr14, fr14
  35156. + fmul.d fr14, fr0, fr14
  35157. + fmul.d fr14, fr14, fr0
  35158. + fmul.d fr6, fr8, fr8
  35159. + fmul.d fr8, fr6, fr8
  35160. + fmul.d fr8, fr8, fr6
  35161. + .global fnmul_d
  35162. +fnmul_d:
  35163. + fnmul.d fr14, fr14, fr14
  35164. + fnmul.d fr0, fr0, fr0
  35165. + fnmul.d fr0, fr14, fr14
  35166. + fnmul.d fr14, fr0, fr14
  35167. + fnmul.d fr14, fr14, fr0
  35168. + fnmul.d fr6, fr8, fr8
  35169. + fnmul.d fr8, fr6, fr8
  35170. + fnmul.d fr8, fr8, fr6
  35171. + .global fneg_d
  35172. +fneg_d:
  35173. + fneg.d fr14, fr14
  35174. + fneg.d fr0, fr0
  35175. + fneg.d fr0, fr14
  35176. + fneg.d fr14, fr0
  35177. + fneg.d fr6, fr8
  35178. + fneg.d fr8, fr6
  35179. + .global fabs_d
  35180. +fabs_d:
  35181. + fabs.d fr14, fr14
  35182. + fabs.d fr0, fr0
  35183. + fabs.d fr0, fr14
  35184. + fabs.d fr14, fr0
  35185. + fabs.d fr6, fr8
  35186. + fabs.d fr8, fr6
  35187. + .global fcmp_d
  35188. +fcmp_d:
  35189. + fcmp.d fr14, fr14
  35190. + fcmp.d fr0, fr0
  35191. + fcmp.d fr0, fr14
  35192. + fcmp.d fr14, fr0
  35193. + fcmp.d fr6, fr8
  35194. + fcmp.d fr8, fr6
  35195. + .global fmov_s
  35196. +fmov_s:
  35197. + fmov.s fr15, fr15
  35198. + fmov.s fr0, fr0
  35199. + fmov.s fr15, fr0
  35200. + fmov.s fr0, fr15
  35201. + fmov.s fr8, fr7
  35202. + fmov.s fr7, fr8
  35203. + fmov.s pc, fr15
  35204. + fmov.s r0, fr0
  35205. + fmov.s pc, fr0
  35206. + fmov.s r0, fr15
  35207. + fmov.s r8, fr7
  35208. + fmov.s r7, fr8
  35209. + fmov.s fr15, pc
  35210. + fmov.s fr0, r0
  35211. + fmov.s fr15, r0
  35212. + fmov.s fr0, pc
  35213. + fmov.s fr8, r7
  35214. + fmov.s fr7, r8
  35215. + .global fmov_d
  35216. +fmov_d:
  35217. + fmov.d fr14, fr14
  35218. + fmov.d fr0, fr0
  35219. + fmov.d fr14, fr0
  35220. + fmov.d fr0, fr14
  35221. + fmov.d fr8, fr6
  35222. + fmov.d fr6, fr8
  35223. + fmov.d lr, fr14
  35224. + fmov.d r0, fr0
  35225. + fmov.d lr, fr0
  35226. + fmov.d r0, fr14
  35227. + fmov.d r8, fr6
  35228. + fmov.d r6, fr8
  35229. + fmov.d fr14, lr
  35230. + fmov.d fr0, r0
  35231. + fmov.d fr14, r0
  35232. + fmov.d fr0, lr
  35233. + fmov.d fr8, r6
  35234. + fmov.d fr6, r8
  35235. + .global fcasts_d
  35236. +fcasts_d:
  35237. + fcasts.d fr15, fr14
  35238. + fcasts.d fr0, fr0
  35239. + fcasts.d fr15, fr0
  35240. + fcasts.d fr0, fr14
  35241. + fcasts.d fr8, fr6
  35242. + fcasts.d fr7, fr8
  35243. + .global fcastd_s
  35244. +fcastd_s:
  35245. + fcastd.s fr14, fr15
  35246. + fcastd.s fr0, fr0
  35247. + fcastd.s fr14, fr0
  35248. + fcastd.s fr0, fr15
  35249. + fcastd.s fr8, fr7
  35250. + fcastd.s fr6, fr8
  35251. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/hwrd-lwrd.d binutils-2.21/gas/testsuite/gas/avr32/hwrd-lwrd.d
  35252. --- binutils-2.21.orig/gas/testsuite/gas/avr32/hwrd-lwrd.d 1970-01-01 01:00:00.000000000 +0100
  35253. +++ binutils-2.21/gas/testsuite/gas/avr32/hwrd-lwrd.d 2011-08-28 14:56:21.237983521 +0200
  35254. @@ -0,0 +1,47 @@
  35255. +#as:
  35256. +#objdump: -dr
  35257. +#name: hwrd-lwrd
  35258. +
  35259. +.*: +file format .*
  35260. +
  35261. +Disassembly of section \.text:
  35262. +
  35263. +00000000 <test_hwrd>:
  35264. + 0: e0 60 87 65 mov r0,34661
  35265. + 4: e0 60 12 34 mov r0,4660
  35266. + 8: e0 60 00 00 mov r0,0
  35267. + 8: R_AVR32_HI16 \.text\+0x60
  35268. + c: e0 60 00 00 mov r0,0
  35269. + c: R_AVR32_HI16 extsym1
  35270. + 10: ea 10 87 65 orh r0,0x8765
  35271. + 14: ea 10 12 34 orh r0,0x1234
  35272. + 18: ea 10 00 00 orh r0,0x0
  35273. + 18: R_AVR32_HI16 \.text\+0x60
  35274. + 1c: ea 10 00 00 orh r0,0x0
  35275. + 1c: R_AVR32_HI16 extsym1
  35276. + 20: e4 10 87 65 andh r0,0x8765
  35277. + 24: e4 10 12 34 andh r0,0x1234
  35278. + 28: e4 10 00 00 andh r0,0x0
  35279. + 28: R_AVR32_HI16 \.text\+0x60
  35280. + 2c: e4 10 00 00 andh r0,0x0
  35281. + 2c: R_AVR32_HI16 extsym1
  35282. +
  35283. +00000030 <test_lwrd>:
  35284. + 30: e0 60 43 21 mov r0,17185
  35285. + 34: e0 60 56 78 mov r0,22136
  35286. + 38: e0 60 00 00 mov r0,0
  35287. + 38: R_AVR32_LO16 \.text\+0x60
  35288. + 3c: e0 60 00 00 mov r0,0
  35289. + 3c: R_AVR32_LO16 extsym1
  35290. + 40: e8 10 43 21 orl r0,0x4321
  35291. + 44: e8 10 56 78 orl r0,0x5678
  35292. + 48: e8 10 00 00 orl r0,0x0
  35293. + 48: R_AVR32_LO16 \.text\+0x60
  35294. + 4c: e8 10 00 00 orl r0,0x0
  35295. + 4c: R_AVR32_LO16 extsym1
  35296. + 50: e0 10 43 21 andl r0,0x4321
  35297. + 54: e0 10 56 78 andl r0,0x5678
  35298. + 58: e0 10 00 00 andl r0,0x0
  35299. + 58: R_AVR32_LO16 \.text\+0x60
  35300. + 5c: e0 10 00 00 andl r0,0x0
  35301. + 5c: R_AVR32_LO16 extsym1
  35302. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/hwrd-lwrd.s binutils-2.21/gas/testsuite/gas/avr32/hwrd-lwrd.s
  35303. --- binutils-2.21.orig/gas/testsuite/gas/avr32/hwrd-lwrd.s 1970-01-01 01:00:00.000000000 +0100
  35304. +++ binutils-2.21/gas/testsuite/gas/avr32/hwrd-lwrd.s 2011-08-28 14:56:21.287985939 +0200
  35305. @@ -0,0 +1,39 @@
  35306. +
  35307. + .equ sym1, 0x12345678
  35308. +
  35309. + .text
  35310. + .global test_hwrd
  35311. +test_hwrd:
  35312. + mov r0, hi(0x87654321)
  35313. + mov r0, hi(sym1)
  35314. + mov r0, hi(sym2)
  35315. + mov r0, hi(extsym1)
  35316. +
  35317. + orh r0, hi(0x87654321)
  35318. + orh r0, hi(sym1)
  35319. + orh r0, hi(sym2)
  35320. + orh r0, hi(extsym1)
  35321. +
  35322. + andh r0, hi(0x87654321)
  35323. + andh r0, hi(sym1)
  35324. + andh r0, hi(sym2)
  35325. + andh r0, hi(extsym1)
  35326. +
  35327. + .global test_lwrd
  35328. +test_lwrd:
  35329. + mov r0, lo(0x87654321)
  35330. + mov r0, lo(sym1)
  35331. + mov r0, lo(sym2)
  35332. + mov r0, lo(extsym1)
  35333. +
  35334. + orl r0, lo(0x87654321)
  35335. + orl r0, lo(sym1)
  35336. + orl r0, lo(sym2)
  35337. + orl r0, lo(extsym1)
  35338. +
  35339. + andl r0, lo(0x87654321)
  35340. + andl r0, lo(sym1)
  35341. + andl r0, lo(sym2)
  35342. + andl r0, lo(extsym1)
  35343. +
  35344. +sym2:
  35345. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable.d binutils-2.21/gas/testsuite/gas/avr32/jmptable.d
  35346. --- binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable.d 1970-01-01 01:00:00.000000000 +0100
  35347. +++ binutils-2.21/gas/testsuite/gas/avr32/jmptable.d 2011-08-28 14:56:21.337984562 +0200
  35348. @@ -0,0 +1,20 @@
  35349. +#source: jmptable.s
  35350. +#as:
  35351. +#objdump: -dr
  35352. +#name: jmptable
  35353. +
  35354. +.*: +file format .*
  35355. +
  35356. +Disassembly of section \.text:
  35357. +
  35358. +00000000 <jmptable_test>:
  35359. + 0: fe c8 ff f4 sub r8,pc,-12
  35360. + 4: f0 00 00 2f add pc,r8,r0<<0x2
  35361. + 8: d7 03 nop
  35362. + a: 00 00 add r0,r0
  35363. + c: c0 38 rjmp 12 <jmptable_test\+0x12>
  35364. + e: c0 38 rjmp 14 <jmptable_test\+0x14>
  35365. + 10: c0 38 rjmp 16 <jmptable_test\+0x16>
  35366. + 12: d7 03 nop
  35367. + 14: d7 03 nop
  35368. + 16: d7 03 nop
  35369. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/jmptable_linkrelax.d
  35370. --- binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  35371. +++ binutils-2.21/gas/testsuite/gas/avr32/jmptable_linkrelax.d 2011-08-28 14:56:21.407984155 +0200
  35372. @@ -0,0 +1,25 @@
  35373. +#source: jmptable.s
  35374. +#as: --linkrelax
  35375. +#objdump: -dr
  35376. +#name: jmptable_linkrelax
  35377. +
  35378. +.*: +file format .*
  35379. +
  35380. +Disassembly of section \.text:
  35381. +
  35382. +00000000 <jmptable_test>:
  35383. + 0: fe c8 00 00 sub r8,pc,0
  35384. + 0: R_AVR32_16N_PCREL \.text\+0xc
  35385. + 4: f0 00 00 2f add pc,r8,r0<<0x2
  35386. + 8: d7 03 nop
  35387. + a: 00 00 add r0,r0
  35388. + a: R_AVR32_ALIGN \*ABS\*\+0x2
  35389. + c: c0 08 rjmp c <jmptable_test\+0xc>
  35390. + c: R_AVR32_11H_PCREL \.text\+0x12
  35391. + e: c0 08 rjmp e <jmptable_test\+0xe>
  35392. + e: R_AVR32_11H_PCREL \.text\+0x14
  35393. + 10: c0 08 rjmp 10 <jmptable_test\+0x10>
  35394. + 10: R_AVR32_11H_PCREL \.text\+0x16
  35395. + 12: d7 03 nop
  35396. + 14: d7 03 nop
  35397. + 16: d7 03 nop
  35398. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable.s binutils-2.21/gas/testsuite/gas/avr32/jmptable.s
  35399. --- binutils-2.21.orig/gas/testsuite/gas/avr32/jmptable.s 1970-01-01 01:00:00.000000000 +0100
  35400. +++ binutils-2.21/gas/testsuite/gas/avr32/jmptable.s 2011-08-28 14:56:21.477991202 +0200
  35401. @@ -0,0 +1,14 @@
  35402. +
  35403. + .text
  35404. + .global jmptable_test
  35405. +jmptable_test:
  35406. + sub r8, pc, -(.L1 - .)
  35407. + add pc, r8, r0 << 2
  35408. + nop
  35409. + .align 2
  35410. +.L1: rjmp 1f
  35411. + rjmp 2f
  35412. + rjmp 3f
  35413. +1: nop
  35414. +2: nop
  35415. +3: nop
  35416. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/lda_nopic.d binutils-2.21/gas/testsuite/gas/avr32/lda_nopic.d
  35417. --- binutils-2.21.orig/gas/testsuite/gas/avr32/lda_nopic.d 1970-01-01 01:00:00.000000000 +0100
  35418. +++ binutils-2.21/gas/testsuite/gas/avr32/lda_nopic.d 2011-08-28 14:56:21.517988336 +0200
  35419. @@ -0,0 +1,32 @@
  35420. +#source: lda.s
  35421. +#as:
  35422. +#objdump: -dr
  35423. +#name: lda_nopic
  35424. +
  35425. +.*: +file format .*
  35426. +
  35427. +Disassembly of section \.text:
  35428. +
  35429. +00000000 <lda_test>:
  35430. + 0: f2 c8 00 00 sub r8,r9,0
  35431. +
  35432. +00000004 <far_negative>:
  35433. + 4: f6 ca 00 00 sub r10,r11,0
  35434. + ...
  35435. + 8000: fe c0 7f fc sub r0,pc,32764
  35436. + 8004: 48 31 lddpc r1,8010 <far_negative\+0x800c>
  35437. + 8006: 48 42 lddpc r2,8014 <far_negative\+0x8010>
  35438. + 8008: 48 43 lddpc r3,8018 <far_negative\+0x8014>
  35439. + 800a: 48 54 lddpc r4,801c <far_negative\+0x8018>
  35440. + 800c: fe c5 80 04 sub r5,pc,-32764
  35441. + ...
  35442. + 8010: R_AVR32_32_CPENT \.text
  35443. + 8014: R_AVR32_32_CPENT \.data
  35444. + 8018: R_AVR32_32_CPENT undefined
  35445. + 801c: R_AVR32_32_CPENT \.text\+0x1001c
  35446. +
  35447. +00010008 <far_positive>:
  35448. + 10008: fa cc 00 00 sub r12,sp,0
  35449. + ...
  35450. +0001001c <toofar_positive>:
  35451. + 1001c: fe ce 00 00 sub lr,pc,0
  35452. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d
  35453. --- binutils-2.21.orig/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  35454. +++ binutils-2.21/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 2011-08-28 14:56:21.557985456 +0200
  35455. @@ -0,0 +1,41 @@
  35456. +#source: lda.s
  35457. +#as: --linkrelax
  35458. +#objdump: -dr
  35459. +#name: lda_nopic_linkrelax
  35460. +
  35461. +.*: +file format .*
  35462. +
  35463. +Disassembly of section \.text:
  35464. +
  35465. +00000000 <lda_test>:
  35466. + 0: f2 c8 00 00 sub r8,r9,0
  35467. +
  35468. +00000004 <far_negative>:
  35469. + 4: f6 ca 00 00 sub r10,r11,0
  35470. + \.\.\.
  35471. + 8000: 48 00 lddpc r0,8000 <far_negative\+0x7ffc>
  35472. + 8000: R_AVR32_9W_CP \.text\+0x800c
  35473. + 8002: 48 01 lddpc r1,8000 <far_negative\+0x7ffc>
  35474. + 8002: R_AVR32_9W_CP \.text\+0x8010
  35475. + 8004: 48 02 lddpc r2,8004 <far_negative\+0x8000>
  35476. + 8004: R_AVR32_9W_CP \.text\+0x8014
  35477. + 8006: 48 03 lddpc r3,8004 <far_negative\+0x8000>
  35478. + 8006: R_AVR32_9W_CP \.text\+0x8018
  35479. + 8008: 48 04 lddpc r4,8008 <far_negative\+0x8004>
  35480. + 8008: R_AVR32_9W_CP \.text\+0x801c
  35481. + 800a: 48 05 lddpc r5,8008 <far_negative\+0x8004>
  35482. + 800a: R_AVR32_9W_CP \.text\+0x8020
  35483. + \.\.\.
  35484. + 800c: R_AVR32_ALIGN \*ABS\*\+0x2
  35485. + 800c: R_AVR32_32_CPENT \.text\+0x4
  35486. + 8010: R_AVR32_32_CPENT \.text
  35487. + 8014: R_AVR32_32_CPENT \.data
  35488. + 8018: R_AVR32_32_CPENT undefined
  35489. + 801c: R_AVR32_32_CPENT \.text\+0x10020
  35490. + 8020: R_AVR32_32_CPENT \.text\+0x1000c
  35491. +
  35492. +0001000c <far_positive>:
  35493. + 1000c: fa cc 00 00 sub r12,sp,0
  35494. + \.\.\.
  35495. +00010020 <toofar_positive>:
  35496. + 10020: fe ce 00 00 sub lr,pc,0
  35497. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/lda_pic.d binutils-2.21/gas/testsuite/gas/avr32/lda_pic.d
  35498. --- binutils-2.21.orig/gas/testsuite/gas/avr32/lda_pic.d 1970-01-01 01:00:00.000000000 +0100
  35499. +++ binutils-2.21/gas/testsuite/gas/avr32/lda_pic.d 2011-08-28 14:56:21.597980257 +0200
  35500. @@ -0,0 +1,32 @@
  35501. +#source: lda.s
  35502. +#as: --pic
  35503. +#objdump: -dr
  35504. +#name: lda_pic
  35505. +
  35506. +.*: +file format .*
  35507. +
  35508. +Disassembly of section \.text:
  35509. +
  35510. +00000000 <lda_test>:
  35511. + 0: f2 c8 00 00 sub r8,r9,0
  35512. +
  35513. +00000004 <far_negative>:
  35514. + 4: f6 ca 00 00 sub r10,r11,0
  35515. + ...
  35516. + 8000: fe c0 7f fc sub r0,pc,32764
  35517. + 8004: ec f1 00 00 ld.w r1,r6\[0\]
  35518. + 8004: R_AVR32_GOT16S toofar_negative
  35519. + 8008: ec f2 00 00 ld.w r2,r6\[0\]
  35520. + 8008: R_AVR32_GOT16S different_section
  35521. + 800c: ec f3 00 00 ld.w r3,r6\[0\]
  35522. + 800c: R_AVR32_GOT16S undefined
  35523. + 8010: ec f4 00 00 ld.w r4,r6\[0\]
  35524. + 8010: R_AVR32_GOT16S toofar_positive
  35525. + 8014: fe c5 80 14 sub r5,pc,-32748
  35526. + ...
  35527. +
  35528. +00010000 <far_positive>:
  35529. + 10000: fa cc 00 00 sub r12,sp,0
  35530. + ...
  35531. +00010014 <toofar_positive>:
  35532. + 10014: fe ce 00 00 sub lr,pc,0
  35533. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/lda_pic_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/lda_pic_linkrelax.d
  35534. --- binutils-2.21.orig/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  35535. +++ binutils-2.21/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 2011-08-28 14:56:21.677981137 +0200
  35536. @@ -0,0 +1,40 @@
  35537. +#source: lda.s
  35538. +#as: --pic --linkrelax
  35539. +#objdump: -dr
  35540. +#name: lda_pic_linkrelax
  35541. +
  35542. +.*: +file format .*
  35543. +
  35544. +Disassembly of section \.text:
  35545. +
  35546. +00000000 <lda_test>:
  35547. + 0: f2 c8 00 00 sub r8,r9,0
  35548. +
  35549. +00000004 <far_negative>:
  35550. + 4: f6 ca 00 00 sub r10,r11,0
  35551. + ...
  35552. + 8000: e0 60 00 00 mov r0,0
  35553. + 8000: R_AVR32_LDA_GOT far_negative
  35554. + 8004: ec 00 03 20 ld\.w r0,r6\[r0<<0x2\]
  35555. + 8008: e0 61 00 00 mov r1,0
  35556. + 8008: R_AVR32_LDA_GOT toofar_negative
  35557. + 800c: ec 01 03 21 ld\.w r1,r6\[r1<<0x2\]
  35558. + 8010: e0 62 00 00 mov r2,0
  35559. + 8010: R_AVR32_LDA_GOT different_section
  35560. + 8014: ec 02 03 22 ld\.w r2,r6\[r2<<0x2\]
  35561. + 8018: e0 63 00 00 mov r3,0
  35562. + 8018: R_AVR32_LDA_GOT undefined
  35563. + 801c: ec 03 03 23 ld\.w r3,r6\[r3<<0x2\]
  35564. + 8020: e0 64 00 00 mov r4,0
  35565. + 8020: R_AVR32_LDA_GOT toofar_positive
  35566. + 8024: ec 04 03 24 ld\.w r4,r6\[r4<<0x2\]
  35567. + 8028: e0 65 00 00 mov r5,0
  35568. + 8028: R_AVR32_LDA_GOT far_positive
  35569. + 802c: ec 05 03 25 ld\.w r5,r6\[r5<<0x2\]
  35570. + ...
  35571. +
  35572. +00010018 <far_positive>:
  35573. + 10018: fa cc 00 00 sub r12,sp,0
  35574. + ...
  35575. +0001002c <toofar_positive>:
  35576. + 1002c: fe ce 00 00 sub lr,pc,0
  35577. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/lda.s binutils-2.21/gas/testsuite/gas/avr32/lda.s
  35578. --- binutils-2.21.orig/gas/testsuite/gas/avr32/lda.s 1970-01-01 01:00:00.000000000 +0100
  35579. +++ binutils-2.21/gas/testsuite/gas/avr32/lda.s 2011-08-28 14:56:21.727980838 +0200
  35580. @@ -0,0 +1,30 @@
  35581. +
  35582. + .text
  35583. + .global lda_test
  35584. +lda_test:
  35585. +toofar_negative:
  35586. + sub r8, r9, 0
  35587. +far_negative:
  35588. + sub r10, r11, 0
  35589. +
  35590. + .fill 32760, 1, 0x00
  35591. +
  35592. + lda.w r0, far_negative
  35593. + lda.w r1, toofar_negative
  35594. + lda.w r2, different_section
  35595. + lda.w r3, undefined
  35596. + lda.w r4, toofar_positive
  35597. + lda.w r5, far_positive
  35598. +
  35599. + .cpool
  35600. +
  35601. + .fill 32744, 1, 0x00
  35602. +far_positive:
  35603. + sub r12, sp, 0
  35604. + .fill 16, 1, 0x00
  35605. +toofar_positive:
  35606. + sub lr, pc, 0
  35607. +
  35608. + .data
  35609. +different_section:
  35610. + .long 0x12345678
  35611. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pcrel.d binutils-2.21/gas/testsuite/gas/avr32/pcrel.d
  35612. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pcrel.d 1970-01-01 01:00:00.000000000 +0100
  35613. +++ binutils-2.21/gas/testsuite/gas/avr32/pcrel.d 2011-08-28 14:56:21.787986178 +0200
  35614. @@ -0,0 +1,64 @@
  35615. +#as:
  35616. +#objdump: -dr
  35617. +#name: pcrel
  35618. +
  35619. +.*: +file format .*
  35620. +
  35621. +Disassembly of section \.text:
  35622. +
  35623. +00000000 <test_rjmp>:
  35624. + 0: d7 03 nop
  35625. + 2: c0 28 rjmp 6 <test_rjmp\+0x6>
  35626. + 4: d7 03 nop
  35627. + 6: e0 8f 00 00 bral 6 <test_rjmp\+0x6>
  35628. + 6: R_AVR32_22H_PCREL extsym10
  35629. +
  35630. +0000000a <test_rcall>:
  35631. + a: d7 03 nop
  35632. +0000000c <test_rcall2>:
  35633. + c: c0 2c rcall 10 <test_rcall2\+0x4>
  35634. + e: d7 03 nop
  35635. + 10: e0 a0 00 00 rcall 10 <test_rcall2\+0x4>
  35636. + 10: R_AVR32_22H_PCREL extsym21
  35637. +
  35638. +00000014 <test_branch>:
  35639. + 14: c0 31 brne 1a <test_branch\+0x6>
  35640. + 16: e0 8f 00 00 bral 16 <test_branch\+0x2>
  35641. + 16: R_AVR32_22H_PCREL test_branch
  35642. + 1a: e0 80 00 00 breq 1a <test_branch\+0x6>
  35643. + 1a: R_AVR32_22H_PCREL extsym21
  35644. +
  35645. +0000001e <test_lddpc>:
  35646. + 1e: 48 30 lddpc r0,28 <sym1>
  35647. + 20: 48 20 lddpc r0,28 <sym1>
  35648. + 22: fe f0 00 00 ld.w r0,pc\[0\]
  35649. + 22: R_AVR32_16B_PCREL extsym16
  35650. + \.\.\.
  35651. +
  35652. +00000028 <sym1>:
  35653. + 28: d7 03 nop
  35654. + 2a: d7 03 nop
  35655. +
  35656. +0000002c <test_local>:
  35657. + 2c: 48 20 lddpc r0,34 <test_local\+0x8>
  35658. + 2e: 48 30 lddpc r0,38 <test_local\+0xc>
  35659. + 30: 48 20 lddpc r0,38 <test_local\+0xc>
  35660. + 32: 00 00 add r0,r0
  35661. + 34: d7 03 nop
  35662. + 36: d7 03 nop
  35663. + 38: d7 03 nop
  35664. + 3a: d7 03 nop
  35665. +
  35666. +Disassembly of section \.text\.init:
  35667. +
  35668. +00000000 <test_inter_section>:
  35669. + 0: e0 a0 .. .. rcall [0-9a-f]+ <.*>
  35670. + 0: R_AVR32_22H_PCREL test_rcall
  35671. + 4: d7 03 nop
  35672. + 6: e0 a0 .. .. rcall [0-9a-f]+ <.*>
  35673. + 6: R_AVR32_22H_PCREL test_rcall
  35674. + a: e0 a0 .. .. rcall [0-9a-z]+ <.*>
  35675. + a: R_AVR32_22H_PCREL \.text\+0xc
  35676. + e: d7 03 nop
  35677. + 10: e0 a0 .. .. rcall [0-9a-f]+ <.*>
  35678. + 10: R_AVR32_22H_PCREL \.text\+0xc
  35679. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pcrel.s binutils-2.21/gas/testsuite/gas/avr32/pcrel.s
  35680. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pcrel.s 1970-01-01 01:00:00.000000000 +0100
  35681. +++ binutils-2.21/gas/testsuite/gas/avr32/pcrel.s 2011-08-28 14:56:21.837986264 +0200
  35682. @@ -0,0 +1,57 @@
  35683. +
  35684. + .text
  35685. + .global test_rjmp
  35686. +test_rjmp:
  35687. + nop
  35688. + rjmp 0f
  35689. + nop
  35690. +0: rjmp extsym10
  35691. +
  35692. + .global test_rcall
  35693. +test_rcall:
  35694. + nop
  35695. +test_rcall2:
  35696. + rcall 0f
  35697. + nop
  35698. +0: rcall extsym21
  35699. +
  35700. + .global test_branch
  35701. +test_branch:
  35702. + brne 0f
  35703. + /* This will generate a reloc since test_branch is global */
  35704. + bral test_branch
  35705. +0: breq extsym21
  35706. +
  35707. + .global test_lddpc
  35708. +test_lddpc:
  35709. + lddpc r0,sym1
  35710. + lddpc r0,sym1
  35711. + lddpc r0,extsym16
  35712. +
  35713. + .align 2
  35714. +sym1: nop
  35715. + nop
  35716. +
  35717. + .global test_local
  35718. +test_local:
  35719. + lddpc r0, .LC1
  35720. + lddpc r0, .LC2
  35721. + lddpc r0, .LC1 + 0x4
  35722. +
  35723. + .align 2
  35724. +.LC1:
  35725. + nop
  35726. + nop
  35727. +.LC2:
  35728. + nop
  35729. + nop
  35730. +
  35731. + .section .text.init,"ax"
  35732. + .global test_inter_section
  35733. +test_inter_section:
  35734. + rcall test_rcall
  35735. + nop
  35736. + rcall test_rcall
  35737. + rcall test_rcall2
  35738. + nop
  35739. + rcall test_rcall2
  35740. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pico.d binutils-2.21/gas/testsuite/gas/avr32/pico.d
  35741. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pico.d 1970-01-01 01:00:00.000000000 +0100
  35742. +++ binutils-2.21/gas/testsuite/gas/avr32/pico.d 2011-08-28 14:56:21.927980820 +0200
  35743. @@ -0,0 +1,149 @@
  35744. +#as:
  35745. +#objdump: -dr
  35746. +#name: pico
  35747. +
  35748. +.*: +file format .*
  35749. +
  35750. +Disassembly of section \.text:
  35751. +
  35752. +[0-9a-f]* <picosvmac>:
  35753. + *[0-9a-f]*: e1 a6 20 00 cop cp1,cr0,cr0,cr0,0xc
  35754. + *[0-9a-f]*: e1 a7 2b bb cop cp1,cr11,cr11,cr11,0xe
  35755. + *[0-9a-f]*: e1 a6 3a 05 cop cp1,cr10,cr0,cr5,0xd
  35756. + *[0-9a-f]*: e1 a7 36 90 cop cp1,cr6,cr9,cr0,0xf
  35757. +
  35758. +[0-9a-f]* <picosvmul>:
  35759. + *[0-9a-f]*: e1 a4 20 00 cop cp1,cr0,cr0,cr0,0x8
  35760. + *[0-9a-f]*: e1 a5 2b bb cop cp1,cr11,cr11,cr11,0xa
  35761. + *[0-9a-f]*: e1 a4 3a 05 cop cp1,cr10,cr0,cr5,0x9
  35762. + *[0-9a-f]*: e1 a5 36 90 cop cp1,cr6,cr9,cr0,0xb
  35763. +
  35764. +[0-9a-f]* <picovmac>:
  35765. + *[0-9a-f]*: e1 a2 20 00 cop cp1,cr0,cr0,cr0,0x4
  35766. + *[0-9a-f]*: e1 a3 2b bb cop cp1,cr11,cr11,cr11,0x6
  35767. + *[0-9a-f]*: e1 a2 3a 05 cop cp1,cr10,cr0,cr5,0x5
  35768. + *[0-9a-f]*: e1 a3 36 90 cop cp1,cr6,cr9,cr0,0x7
  35769. +
  35770. +[0-9a-f]* <picovmul>:
  35771. + *[0-9a-f]*: e1 a0 20 00 cop cp1,cr0,cr0,cr0,0x0
  35772. + *[0-9a-f]*: e1 a1 2b bb cop cp1,cr11,cr11,cr11,0x2
  35773. + *[0-9a-f]*: e1 a0 3a 05 cop cp1,cr10,cr0,cr5,0x1
  35774. + *[0-9a-f]*: e1 a1 36 90 cop cp1,cr6,cr9,cr0,0x3
  35775. +
  35776. +[0-9a-f]* <picold_d>:
  35777. + *[0-9a-f]*: e9 af 3e ff ldc\.d cp1,cr14,pc\[0x3fc\]
  35778. + *[0-9a-f]*: e9 a0 30 ff ldc\.d cp1,cr0,r0\[0x3fc\]
  35779. + *[0-9a-f]*: e9 a0 30 00 ldc\.d cp1,cr0,r0\[0x0\]
  35780. + *[0-9a-f]*: ef a8 26 50 ldc\.d cp1,cr6,--r8
  35781. + *[0-9a-f]*: ef a7 28 50 ldc\.d cp1,cr8,--r7
  35782. + *[0-9a-f]*: ef aa 32 65 ldc\.d cp1,cr2,r10\[r5<<0x2\]
  35783. + *[0-9a-f]*: ef a3 3c 46 ldc\.d cp1,cr12,r3\[r6\]
  35784. +
  35785. +[0-9a-f]* <picold_w>:
  35786. + *[0-9a-f]*: e9 af 2f ff ldc\.w cp1,cr15,pc\[0x3fc\]
  35787. + *[0-9a-f]*: e9 a0 20 ff ldc\.w cp1,cr0,r0\[0x3fc\]
  35788. + *[0-9a-f]*: e9 a0 20 00 ldc\.w cp1,cr0,r0\[0x0\]
  35789. + *[0-9a-f]*: ef a8 27 40 ldc\.w cp1,cr7,--r8
  35790. + *[0-9a-f]*: ef a7 28 40 ldc\.w cp1,cr8,--r7
  35791. + *[0-9a-f]*: ef aa 31 25 ldc\.w cp1,cr1,r10\[r5<<0x2\]
  35792. + *[0-9a-f]*: ef a3 3d 06 ldc\.w cp1,cr13,r3\[r6\]
  35793. +
  35794. +[0-9a-f]* <picoldm_d>:
  35795. + *[0-9a-f]*: ed af 24 ff ldcm\.d cp1,pc,cr0-cr15
  35796. + *[0-9a-f]*: ed a0 24 01 ldcm\.d cp1,r0,cr0-cr1
  35797. + *[0-9a-f]*: ed a7 24 80 ldcm\.d cp1,r7,cr14-cr15
  35798. + *[0-9a-f]*: ed a8 24 7f ldcm\.d cp1,r8,cr0-cr13
  35799. +
  35800. +[0-9a-f]* <picoldm_d_pu>:
  35801. + *[0-9a-f]*: ed af 34 ff ldcm\.d cp1,pc\+\+,cr0-cr15
  35802. + *[0-9a-f]*: ed a0 34 01 ldcm\.d cp1,r0\+\+,cr0-cr1
  35803. + *[0-9a-f]*: ed a7 34 80 ldcm\.d cp1,r7\+\+,cr14-cr15
  35804. + *[0-9a-f]*: ed a8 34 7f ldcm\.d cp1,r8\+\+,cr0-cr13
  35805. +
  35806. +[0-9a-f]* <picoldm_w>:
  35807. + *[0-9a-f]*: ed af 20 ff ldcm\.w cp1,pc,cr0-cr7
  35808. + *[0-9a-f]*: ed a0 20 01 ldcm\.w cp1,r0,cr0
  35809. + *[0-9a-f]*: ed a7 20 80 ldcm\.w cp1,r7,cr7
  35810. + *[0-9a-f]*: ed a8 20 7f ldcm\.w cp1,r8,cr0-cr6
  35811. + *[0-9a-f]*: ed af 21 ff ldcm\.w cp1,pc,cr8-cr15
  35812. + *[0-9a-f]*: ed a0 21 01 ldcm\.w cp1,r0,cr8
  35813. + *[0-9a-f]*: ed a7 21 80 ldcm\.w cp1,r7,cr15
  35814. + *[0-9a-f]*: ed a8 21 7f ldcm\.w cp1,r8,cr8-cr14
  35815. +
  35816. +[0-9a-f]* <picoldm_w_pu>:
  35817. + *[0-9a-f]*: ed af 30 ff ldcm\.w cp1,pc\+\+,cr0-cr7
  35818. + *[0-9a-f]*: ed a0 30 01 ldcm\.w cp1,r0\+\+,cr0
  35819. + *[0-9a-f]*: ed a7 30 80 ldcm\.w cp1,r7\+\+,cr7
  35820. + *[0-9a-f]*: ed a8 30 7f ldcm\.w cp1,r8\+\+,cr0-cr6
  35821. + *[0-9a-f]*: ed af 31 ff ldcm\.w cp1,pc\+\+,cr8-cr15
  35822. + *[0-9a-f]*: ed a0 31 01 ldcm\.w cp1,r0\+\+,cr8
  35823. + *[0-9a-f]*: ed a7 31 80 ldcm\.w cp1,r7\+\+,cr15
  35824. + *[0-9a-f]*: ed a8 31 7f ldcm\.w cp1,r8\+\+,cr8-cr14
  35825. +
  35826. +[0-9a-f]* <picomv_d>:
  35827. + *[0-9a-f]*: ef ae 2e 30 mvrc\.d cp1,cr14,lr
  35828. + *[0-9a-f]*: ef a0 20 30 mvrc\.d cp1,cr0,r0
  35829. + *[0-9a-f]*: ef a8 26 30 mvrc\.d cp1,cr6,r8
  35830. + *[0-9a-f]*: ef a6 28 30 mvrc\.d cp1,cr8,r6
  35831. + *[0-9a-f]*: ef ae 2e 10 mvcr\.d cp1,lr,cr14
  35832. + *[0-9a-f]*: ef a0 20 10 mvcr\.d cp1,r0,cr0
  35833. + *[0-9a-f]*: ef a8 26 10 mvcr\.d cp1,r8,cr6
  35834. + *[0-9a-f]*: ef a6 28 10 mvcr\.d cp1,r6,cr8
  35835. +
  35836. +[0-9a-f]* <picomv_w>:
  35837. + *[0-9a-f]*: ef af 2f 20 mvrc\.w cp1,cr15,pc
  35838. + *[0-9a-f]*: ef a0 20 20 mvrc\.w cp1,cr0,r0
  35839. + *[0-9a-f]*: ef a8 27 20 mvrc\.w cp1,cr7,r8
  35840. + *[0-9a-f]*: ef a7 28 20 mvrc\.w cp1,cr8,r7
  35841. + *[0-9a-f]*: ef af 2f 00 mvcr\.w cp1,pc,cr15
  35842. + *[0-9a-f]*: ef a0 20 00 mvcr\.w cp1,r0,cr0
  35843. + *[0-9a-f]*: ef a8 27 00 mvcr\.w cp1,r8,cr7
  35844. + *[0-9a-f]*: ef a7 28 00 mvcr\.w cp1,r7,cr8
  35845. +
  35846. +[0-9a-f]* <picost_d>:
  35847. + *[0-9a-f]*: eb af 3e ff stc\.d cp1,pc\[0x3fc\],cr14
  35848. + *[0-9a-f]*: eb a0 30 00 stc\.d cp1,r0\[0x0\],cr0
  35849. + *[0-9a-f]*: ef a8 26 70 stc\.d cp1,r8\+\+,cr6
  35850. + *[0-9a-f]*: ef a7 28 70 stc\.d cp1,r7\+\+,cr8
  35851. + *[0-9a-f]*: ef aa 32 e5 stc\.d cp1,r10\[r5<<0x2\],cr2
  35852. + *[0-9a-f]*: ef a3 3c c6 stc\.d cp1,r3\[r6\],cr12
  35853. +
  35854. +[0-9a-f]* <picost_w>:
  35855. + *[0-9a-f]*: eb af 2f ff stc\.w cp1,pc\[0x3fc\],cr15
  35856. + *[0-9a-f]*: eb a0 20 00 stc\.w cp1,r0\[0x0\],cr0
  35857. + *[0-9a-f]*: ef a8 27 60 stc\.w cp1,r8\+\+,cr7
  35858. + *[0-9a-f]*: ef a7 28 60 stc\.w cp1,r7\+\+,cr8
  35859. + *[0-9a-f]*: ef aa 31 a5 stc\.w cp1,r10\[r5<<0x2\],cr1
  35860. + *[0-9a-f]*: ef a3 3d 86 stc\.w cp1,r3\[r6\],cr13
  35861. +
  35862. +[0-9a-f]* <picostm_d>:
  35863. + *[0-9a-f]*: ed af 25 ff stcm\.d cp1,pc,cr0-cr15
  35864. + *[0-9a-f]*: ed a0 25 01 stcm\.d cp1,r0,cr0-cr1
  35865. + *[0-9a-f]*: ed a7 25 80 stcm\.d cp1,r7,cr14-cr15
  35866. + *[0-9a-f]*: ed a8 25 7f stcm\.d cp1,r8,cr0-cr13
  35867. +
  35868. +[0-9a-f]* <picostm_d_pu>:
  35869. + *[0-9a-f]*: ed af 35 ff stcm\.d cp1,--pc,cr0-cr15
  35870. + *[0-9a-f]*: ed a0 35 01 stcm\.d cp1,--r0,cr0-cr1
  35871. + *[0-9a-f]*: ed a7 35 80 stcm\.d cp1,--r7,cr14-cr15
  35872. + *[0-9a-f]*: ed a8 35 7f stcm\.d cp1,--r8,cr0-cr13
  35873. +
  35874. +[0-9a-f]* <picostm_w>:
  35875. + *[0-9a-f]*: ed af 22 ff stcm\.w cp1,pc,cr0-cr7
  35876. + *[0-9a-f]*: ed a0 22 01 stcm\.w cp1,r0,cr0
  35877. + *[0-9a-f]*: ed a7 22 80 stcm\.w cp1,r7,cr7
  35878. + *[0-9a-f]*: ed a8 22 7f stcm\.w cp1,r8,cr0-cr6
  35879. + *[0-9a-f]*: ed af 23 ff stcm\.w cp1,pc,cr8-cr15
  35880. + *[0-9a-f]*: ed a0 23 01 stcm\.w cp1,r0,cr8
  35881. + *[0-9a-f]*: ed a7 23 80 stcm\.w cp1,r7,cr15
  35882. + *[0-9a-f]*: ed a8 23 7f stcm\.w cp1,r8,cr8-cr14
  35883. +
  35884. +[0-9a-f]* <picostm_w_pu>:
  35885. + *[0-9a-f]*: ed af 32 ff stcm\.w cp1,--pc,cr0-cr7
  35886. + *[0-9a-f]*: ed a0 32 01 stcm\.w cp1,--r0,cr0
  35887. + *[0-9a-f]*: ed a7 32 80 stcm\.w cp1,--r7,cr7
  35888. + *[0-9a-f]*: ed a8 32 7f stcm\.w cp1,--r8,cr0-cr6
  35889. + *[0-9a-f]*: ed af 33 ff stcm\.w cp1,--pc,cr8-cr15
  35890. + *[0-9a-f]*: ed a0 33 01 stcm\.w cp1,--r0,cr8
  35891. + *[0-9a-f]*: ed a7 33 80 stcm\.w cp1,--r7,cr15
  35892. + *[0-9a-f]*: ed a8 33 7f stcm\.w cp1,--r8,cr8-cr14
  35893. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pico.s binutils-2.21/gas/testsuite/gas/avr32/pico.s
  35894. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pico.s 1970-01-01 01:00:00.000000000 +0100
  35895. +++ binutils-2.21/gas/testsuite/gas/avr32/pico.s 2011-08-28 14:56:21.957982652 +0200
  35896. @@ -0,0 +1,144 @@
  35897. +
  35898. + .text
  35899. + .global picosvmac
  35900. +picosvmac:
  35901. + picosvmac out0, in0, in0, in0
  35902. + picosvmac out2, in11, in11, in11
  35903. + picosvmac out1, in10, in0, in5
  35904. + picosvmac out3, in6, in9, in0
  35905. + .global picosvmul
  35906. +picosvmul:
  35907. + picosvmul out0, in0, in0, in0
  35908. + picosvmul out2, in11, in11, in11
  35909. + picosvmul out1, in10, in0, in5
  35910. + picosvmul out3, in6, in9, in0
  35911. + .global picovmac
  35912. +picovmac:
  35913. + picovmac out0, in0, in0, in0
  35914. + picovmac out2, in11, in11, in11
  35915. + picovmac out1, in10, in0, in5
  35916. + picovmac out3, in6, in9, in0
  35917. + .global picovmul
  35918. +picovmul:
  35919. + picovmul out0, in0, in0, in0
  35920. + picovmul out2, in11, in11, in11
  35921. + picovmul out1, in10, in0, in5
  35922. + picovmul out3, in6, in9, in0
  35923. + .global picold_d
  35924. +picold_d:
  35925. + picold.d vmu2_out, pc[1020]
  35926. + picold.d inpix2, r0[1020]
  35927. + picold.d inpix2, r0[0]
  35928. + picold.d coeff0_a, --r8
  35929. + picold.d coeff1_a, --r7
  35930. + picold.d inpix0, r10[r5 << 2]
  35931. + picold.d vmu0_out, r3[r6 << 0]
  35932. + .global picold_w
  35933. +picold_w:
  35934. + picold.w config, pc[1020]
  35935. + picold.w inpix2, r0[1020]
  35936. + picold.w inpix2, r0[0]
  35937. + picold.w coeff0_b, --r8
  35938. + picold.w coeff1_a, --r7
  35939. + picold.w inpix1, r10[r5 << 2]
  35940. + picold.w vmu1_out, r3[r6 << 0]
  35941. + .global picoldm_d
  35942. +picoldm_d:
  35943. + picoldm.d pc, inpix2-config
  35944. + picoldm.d r0, inpix2, inpix1
  35945. + picoldm.d r7, vmu2_out, config
  35946. + picoldm.d r8, inpix2-vmu1_out
  35947. + .global picoldm_d_pu
  35948. +picoldm_d_pu:
  35949. + picoldm.d pc++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
  35950. + picoldm.d r0++, inpix2, inpix1
  35951. + picoldm.d r7++, vmu2_out, config
  35952. + picoldm.d r8++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
  35953. + .global picoldm_w
  35954. +picoldm_w:
  35955. + picoldm.w pc, inpix2-coeff0_b
  35956. + picoldm.w r0, inpix2
  35957. + picoldm.w r7, coeff0_b
  35958. + picoldm.w r8, inpix2-coeff0_a
  35959. + picoldm.w pc, coeff1_a-config
  35960. + picoldm.w r0, coeff1_a
  35961. + picoldm.w r7, config
  35962. + picoldm.w r8, coeff1_a-vmu2_out
  35963. + .global picoldm_w_pu
  35964. +picoldm_w_pu:
  35965. + picoldm.w pc++, inpix2-coeff0_b
  35966. + picoldm.w r0++, inpix2
  35967. + picoldm.w r7++, coeff0_b
  35968. + picoldm.w r8++, inpix2-coeff0_a
  35969. + picoldm.w pc++, coeff1_a-config
  35970. + picoldm.w r0++, coeff1_a
  35971. + picoldm.w r7++, config
  35972. + picoldm.w r8++, coeff1_a-vmu2_out
  35973. + .global picomv_d
  35974. +picomv_d:
  35975. + picomv.d vmu2_out, lr
  35976. + picomv.d inpix2, r0
  35977. + picomv.d coeff0_a, r8
  35978. + picomv.d coeff1_a, r6
  35979. + picomv.d pc, vmu2_out
  35980. + picomv.d r0, inpix2
  35981. + picomv.d r8, coeff0_a
  35982. + picomv.d r6, coeff1_a
  35983. + .global picomv_w
  35984. +picomv_w:
  35985. + picomv.w config, pc
  35986. + picomv.w inpix2, r0
  35987. + picomv.w coeff0_b, r8
  35988. + picomv.w coeff1_a, r7
  35989. + picomv.w pc, config
  35990. + picomv.w r0, inpix2
  35991. + picomv.w r8, coeff0_b
  35992. + picomv.w r7, coeff1_a
  35993. + .global picost_d
  35994. +picost_d:
  35995. + picost.d pc[1020], vmu2_out
  35996. + picost.d r0[0], inpix2
  35997. + picost.d r8++, coeff0_a
  35998. + picost.d r7++, coeff1_a
  35999. + picost.d r10[r5 << 2], inpix0
  36000. + picost.d r3[r6 << 0], vmu0_out
  36001. + .global picost_w
  36002. +picost_w:
  36003. + picost.w pc[1020], config
  36004. + picost.w r0[0], inpix2
  36005. + picost.w r8++, coeff0_b
  36006. + picost.w r7++, coeff1_a
  36007. + picost.w r10[r5 << 2], inpix1
  36008. + picost.w r3[r6 << 0], vmu1_out
  36009. + .global picostm_d
  36010. +picostm_d:
  36011. + picostm.d pc, inpix2-config
  36012. + picostm.d r0, inpix2, inpix1
  36013. + picostm.d r7, vmu2_out, config
  36014. + picostm.d r8, inpix2-vmu1_out
  36015. + .global picostm_d_pu
  36016. +picostm_d_pu:
  36017. + picostm.d --pc, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
  36018. + picostm.d --r0, inpix2, inpix1
  36019. + picostm.d --r7, vmu2_out, config
  36020. + picostm.d --r8, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
  36021. + .global picostm_w
  36022. +picostm_w:
  36023. + picostm.w pc, inpix2-coeff0_b
  36024. + picostm.w r0, inpix2
  36025. + picostm.w r7, coeff0_b
  36026. + picostm.w r8, inpix2-coeff0_a
  36027. + picostm.w pc, coeff1_a-config
  36028. + picostm.w r0, coeff1_a
  36029. + picostm.w r7, config
  36030. + picostm.w r8, coeff1_a-vmu2_out
  36031. + .global picostm_w_pu
  36032. +picostm_w_pu:
  36033. + picostm.w --pc, inpix2-coeff0_b
  36034. + picostm.w --r0, inpix2
  36035. + picostm.w --r7, coeff0_b
  36036. + picostm.w --r8, inpix2-coeff0_a
  36037. + picostm.w --pc, coeff1_a-config
  36038. + picostm.w --r0, coeff1_a
  36039. + picostm.w --r7, config
  36040. + picostm.w --r8, coeff1_a-vmu2_out
  36041. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pic_reloc.d binutils-2.21/gas/testsuite/gas/avr32/pic_reloc.d
  36042. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pic_reloc.d 1970-01-01 01:00:00.000000000 +0100
  36043. +++ binutils-2.21/gas/testsuite/gas/avr32/pic_reloc.d 2011-08-28 14:56:22.017991469 +0200
  36044. @@ -0,0 +1,27 @@
  36045. +#as:
  36046. +#objdump: -dr
  36047. +#name: pic_reloc
  36048. +
  36049. +.*: +file format .*
  36050. +
  36051. +Disassembly of section \.text:
  36052. +
  36053. +00000000 <mcall_got>:
  36054. + 0: f0 16 00 00 mcall r6\[0\]
  36055. + 0: R_AVR32_GOT18SW extfunc
  36056. + 4: f0 16 00 00 mcall r6\[0\]
  36057. + 4: R_AVR32_GOT18SW \.L1
  36058. + 8: f0 16 00 00 mcall r6\[0\]
  36059. + 8: R_AVR32_GOT18SW \.L2
  36060. + c: f0 16 00 00 mcall r6\[0\]
  36061. + c: R_AVR32_GOT18SW mcall_got
  36062. +
  36063. +00000010 <ldw_got>:
  36064. + 10: ec f0 00 00 ld.w r0,r6\[0\]
  36065. + 10: R_AVR32_GOT16S extvar
  36066. + 14: ec f0 00 00 ld.w r0,r6\[0\]
  36067. + 14: R_AVR32_GOT16S \.L3
  36068. + 18: ec f0 00 00 ld.w r0,r6\[0\]
  36069. + 18: R_AVR32_GOT16S \.L4
  36070. + 1c: ec f0 00 00 ld.w r0,r6\[0\]
  36071. + 1c: R_AVR32_GOT16S ldw_got
  36072. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/pic_reloc.s binutils-2.21/gas/testsuite/gas/avr32/pic_reloc.s
  36073. --- binutils-2.21.orig/gas/testsuite/gas/avr32/pic_reloc.s 1970-01-01 01:00:00.000000000 +0100
  36074. +++ binutils-2.21/gas/testsuite/gas/avr32/pic_reloc.s 2011-08-28 14:56:22.057980163 +0200
  36075. @@ -0,0 +1,18 @@
  36076. +
  36077. + .text
  36078. + .global mcall_got
  36079. +mcall_got:
  36080. +.L1:
  36081. + mcall r6[extfunc@got]
  36082. + mcall r6[.L1@got]
  36083. + mcall r6[.L2@got]
  36084. + mcall r6[mcall_got@got]
  36085. +.L2:
  36086. +
  36087. + .global ldw_got
  36088. +ldw_got:
  36089. +.L3: ld.w r0,r6[extvar@got]
  36090. + ld.w r0,r6[.L3@got]
  36091. + ld.w r0,r6[.L4@got]
  36092. + ld.w r0,r6[ldw_got@got]
  36093. +.L4:
  36094. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff.d binutils-2.21/gas/testsuite/gas/avr32/symdiff.d
  36095. --- binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff.d 1970-01-01 01:00:00.000000000 +0100
  36096. +++ binutils-2.21/gas/testsuite/gas/avr32/symdiff.d 2011-08-28 14:56:22.097986770 +0200
  36097. @@ -0,0 +1,24 @@
  36098. +#source: symdiff.s
  36099. +#as:
  36100. +#objdump: -dr
  36101. +#name: symdiff
  36102. +
  36103. +.*: +file format .*
  36104. +
  36105. +Disassembly of section \.text:
  36106. +
  36107. +00000000 <diff32>:
  36108. + 0: 00 00 add r0,r0
  36109. + 2: 00 04 add r4,r0
  36110. +
  36111. +00000004 <diff16>:
  36112. + 4: 00 04 add r4,r0
  36113. +
  36114. +00000006 <diff8>:
  36115. + 6: 04 00 add r0,r2
  36116. +
  36117. +00000008 <symdiff_test>:
  36118. + 8: d7 03 nop
  36119. + a: d7 03 nop
  36120. + c: d7 03 nop
  36121. + e: d7 03 nop
  36122. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff_linkrelax.d binutils-2.21/gas/testsuite/gas/avr32/symdiff_linkrelax.d
  36123. --- binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
  36124. +++ binutils-2.21/gas/testsuite/gas/avr32/symdiff_linkrelax.d 2011-08-28 14:56:22.137987090 +0200
  36125. @@ -0,0 +1,28 @@
  36126. +#source: symdiff.s
  36127. +#as: --linkrelax
  36128. +#objdump: -dr
  36129. +#name: symdiff_linkrelax
  36130. +
  36131. +.*: +file format .*
  36132. +
  36133. +Disassembly of section \.text:
  36134. +
  36135. +00000000 <diff32>:
  36136. + 0: 00 00 add r0,r0
  36137. + 0: R_AVR32_DIFF32 \.text\+0xa
  36138. + 2: 00 04 add r4,r0
  36139. +
  36140. +00000004 <diff16>:
  36141. + 4: 00 04 add r4,r0
  36142. + 4: R_AVR32_DIFF16 \.text\+0xa
  36143. +
  36144. +00000006 <diff8>:
  36145. + 6: 04 00 add r0,r2
  36146. + 6: R_AVR32_DIFF8 \.text\+0xa
  36147. + 7: R_AVR32_ALIGN \*ABS\*\+0x1
  36148. +
  36149. +00000008 <symdiff_test>:
  36150. + 8: d7 03 nop
  36151. + a: d7 03 nop
  36152. + c: d7 03 nop
  36153. + e: d7 03 nop
  36154. diff -Nur binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff.s binutils-2.21/gas/testsuite/gas/avr32/symdiff.s
  36155. --- binutils-2.21.orig/gas/testsuite/gas/avr32/symdiff.s 1970-01-01 01:00:00.000000000 +0100
  36156. +++ binutils-2.21/gas/testsuite/gas/avr32/symdiff.s 2011-08-28 14:56:22.217991432 +0200
  36157. @@ -0,0 +1,19 @@
  36158. +
  36159. + .text
  36160. + .global diff32
  36161. +diff32:
  36162. + .long .L2 - .L1
  36163. + .global diff16
  36164. +diff16:
  36165. + .short .L2 - .L1
  36166. + .global diff8
  36167. +diff8:
  36168. + .byte .L2 - .L1
  36169. +
  36170. + .global symdiff_test
  36171. + .align 1
  36172. +symdiff_test:
  36173. + nop
  36174. +.L1: nop
  36175. + nop
  36176. +.L2: nop
  36177. diff -Nur binutils-2.21.orig/gas/write.c binutils-2.21/gas/write.c
  36178. --- binutils-2.21.orig/gas/write.c 2010-10-29 14:10:34.000000000 +0200
  36179. +++ binutils-2.21/gas/write.c 2011-08-28 14:56:22.227982829 +0200
  36180. @@ -2221,6 +2221,10 @@
  36181. #endif /* defined (TC_GENERIC_RELAX_TABLE) */
  36182. +#ifdef TC_RELAX_ALIGN
  36183. +#define RELAX_ALIGN(SEG, FRAG, ADDR) TC_RELAX_ALIGN(SEG, FRAG, ADDR)
  36184. +#else
  36185. +#define RELAX_ALIGN(SEG, FRAG, ADDR) relax_align(ADDR, (FRAG)->fr_offset)
  36186. /* Relax_align. Advance location counter to next address that has 'alignment'
  36187. lowest order bits all 0s, return size of adjustment made. */
  36188. static relax_addressT
  36189. @@ -2240,6 +2244,7 @@
  36190. #endif
  36191. return (new_address - address);
  36192. }
  36193. +#endif
  36194. /* Now we have a segment, not a crowd of sub-segments, we can make
  36195. fr_address values.
  36196. @@ -2286,7 +2291,7 @@
  36197. case rs_align_code:
  36198. case rs_align_test:
  36199. {
  36200. - addressT offset = relax_align (address, (int) fragP->fr_offset);
  36201. + addressT offset = RELAX_ALIGN(segment, fragP, address);
  36202. if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype)
  36203. offset = 0;
  36204. @@ -2497,10 +2502,10 @@
  36205. {
  36206. addressT oldoff, newoff;
  36207. - oldoff = relax_align (was_address + fragP->fr_fix,
  36208. - (int) offset);
  36209. - newoff = relax_align (address + fragP->fr_fix,
  36210. - (int) offset);
  36211. + oldoff = RELAX_ALIGN (segment, fragP,
  36212. + was_address + fragP->fr_fix);
  36213. + newoff = RELAX_ALIGN (segment, fragP,
  36214. + address + fragP->fr_fix);
  36215. if (fragP->fr_subtype != 0)
  36216. {
  36217. diff -Nur binutils-2.21.orig/include/dis-asm.h binutils-2.21/include/dis-asm.h
  36218. --- binutils-2.21.orig/include/dis-asm.h 2010-06-29 06:17:27.000000000 +0200
  36219. +++ binutils-2.21/include/dis-asm.h 2011-08-28 14:56:22.277986557 +0200
  36220. @@ -222,6 +222,7 @@
  36221. extern int print_insn_alpha (bfd_vma, disassemble_info *);
  36222. extern int print_insn_avr (bfd_vma, disassemble_info *);
  36223. +extern int print_insn_avr32 (bfd_vma, disassemble_info *);
  36224. extern int print_insn_bfin (bfd_vma, disassemble_info *);
  36225. extern int print_insn_big_arm (bfd_vma, disassemble_info *);
  36226. extern int print_insn_big_mips (bfd_vma, disassemble_info *);
  36227. @@ -304,7 +305,9 @@
  36228. extern void print_mips_disassembler_options (FILE *);
  36229. extern void print_ppc_disassembler_options (FILE *);
  36230. extern void print_arm_disassembler_options (FILE *);
  36231. +extern void print_avr32_disassembler_options (FILE *);
  36232. extern void parse_arm_disassembler_option (char *);
  36233. +extern void parse_avr32_disassembler_option (char *);
  36234. extern void print_s390_disassembler_options (FILE *);
  36235. extern int get_arm_regname_num_options (void);
  36236. extern int set_arm_regname_option (int);
  36237. diff -Nur binutils-2.21.orig/include/elf/avr32.h binutils-2.21/include/elf/avr32.h
  36238. --- binutils-2.21.orig/include/elf/avr32.h 1970-01-01 01:00:00.000000000 +0100
  36239. +++ binutils-2.21/include/elf/avr32.h 2011-08-28 14:56:22.347981920 +0200
  36240. @@ -0,0 +1,98 @@
  36241. +/* AVR32 ELF support for BFD.
  36242. + Copyright 2003,2004,2005,2006,2007,2008,2009 Atmel Corporation.
  36243. +
  36244. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  36245. +
  36246. + This file is part of BFD, the Binary File Descriptor library.
  36247. +
  36248. + This program is free software; you can redistribute it and/or
  36249. + modify it under the terms of the GNU General Public License as
  36250. + published by the Free Software Foundation; either version 2 of the
  36251. + License, or (at your option) any later version.
  36252. +
  36253. + This program is distributed in the hope that it will be useful, but
  36254. + WITHOUT ANY WARRANTY; without even the implied warranty of
  36255. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  36256. + General Public License for more details.
  36257. +
  36258. + You should have received a copy of the GNU General Public License
  36259. + along with this program; if not, write to the Free Software
  36260. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  36261. + 02111-1307, USA. */
  36262. +
  36263. +#include "elf/reloc-macros.h"
  36264. +
  36265. +/* CPU-specific flags for the ELF header e_flags field */
  36266. +#define EF_AVR32_LINKRELAX 0x01
  36267. +#define EF_AVR32_PIC 0x02
  36268. +
  36269. +START_RELOC_NUMBERS (elf_avr32_reloc_type)
  36270. + RELOC_NUMBER (R_AVR32_NONE, 0)
  36271. +
  36272. + /* Data Relocations */
  36273. + RELOC_NUMBER (R_AVR32_32, 1)
  36274. + RELOC_NUMBER (R_AVR32_16, 2)
  36275. + RELOC_NUMBER (R_AVR32_8, 3)
  36276. + RELOC_NUMBER (R_AVR32_32_PCREL, 4)
  36277. + RELOC_NUMBER (R_AVR32_16_PCREL, 5)
  36278. + RELOC_NUMBER (R_AVR32_8_PCREL, 6)
  36279. + RELOC_NUMBER (R_AVR32_DIFF32, 7)
  36280. + RELOC_NUMBER (R_AVR32_DIFF16, 8)
  36281. + RELOC_NUMBER (R_AVR32_DIFF8, 9)
  36282. + RELOC_NUMBER (R_AVR32_GOT32, 10)
  36283. + RELOC_NUMBER (R_AVR32_GOT16, 11)
  36284. + RELOC_NUMBER (R_AVR32_GOT8, 12)
  36285. +
  36286. + /* Normal Code Relocations */
  36287. + RELOC_NUMBER (R_AVR32_21S, 13)
  36288. + RELOC_NUMBER (R_AVR32_16U, 14)
  36289. + RELOC_NUMBER (R_AVR32_16S, 15)
  36290. + RELOC_NUMBER (R_AVR32_8S, 16)
  36291. + RELOC_NUMBER (R_AVR32_8S_EXT, 17)
  36292. +
  36293. + /* PC-Relative Code Relocations */
  36294. + RELOC_NUMBER (R_AVR32_22H_PCREL, 18)
  36295. + RELOC_NUMBER (R_AVR32_18W_PCREL, 19)
  36296. + RELOC_NUMBER (R_AVR32_16B_PCREL, 20)
  36297. + RELOC_NUMBER (R_AVR32_16N_PCREL, 21)
  36298. + RELOC_NUMBER (R_AVR32_14UW_PCREL, 22)
  36299. + RELOC_NUMBER (R_AVR32_11H_PCREL, 23)
  36300. + RELOC_NUMBER (R_AVR32_10UW_PCREL, 24)
  36301. + RELOC_NUMBER (R_AVR32_9H_PCREL, 25)
  36302. + RELOC_NUMBER (R_AVR32_9UW_PCREL, 26)
  36303. +
  36304. + /* Special Code Relocations */
  36305. + RELOC_NUMBER (R_AVR32_HI16, 27)
  36306. + RELOC_NUMBER (R_AVR32_LO16, 28)
  36307. +
  36308. + /* PIC Relocations */
  36309. + RELOC_NUMBER (R_AVR32_GOTPC, 29)
  36310. + RELOC_NUMBER (R_AVR32_GOTCALL, 30)
  36311. + RELOC_NUMBER (R_AVR32_LDA_GOT, 31)
  36312. + RELOC_NUMBER (R_AVR32_GOT21S, 32)
  36313. + RELOC_NUMBER (R_AVR32_GOT18SW, 33)
  36314. + RELOC_NUMBER (R_AVR32_GOT16S, 34)
  36315. + RELOC_NUMBER (R_AVR32_GOT7UW, 35)
  36316. +
  36317. + /* Constant Pool Relocations */
  36318. + RELOC_NUMBER (R_AVR32_32_CPENT, 36)
  36319. + RELOC_NUMBER (R_AVR32_CPCALL, 37)
  36320. + RELOC_NUMBER (R_AVR32_16_CP, 38)
  36321. + RELOC_NUMBER (R_AVR32_9W_CP, 39)
  36322. +
  36323. + /* Dynamic Relocations */
  36324. + RELOC_NUMBER (R_AVR32_RELATIVE, 40)
  36325. + RELOC_NUMBER (R_AVR32_GLOB_DAT, 41)
  36326. + RELOC_NUMBER (R_AVR32_JMP_SLOT, 42)
  36327. +
  36328. + /* Linkrelax Information */
  36329. + RELOC_NUMBER (R_AVR32_ALIGN, 43)
  36330. +
  36331. + RELOC_NUMBER (R_AVR32_15S, 44)
  36332. +
  36333. +END_RELOC_NUMBERS (R_AVR32_max)
  36334. +
  36335. +/* Processor specific dynamic array tags. */
  36336. +
  36337. +/* The total size in bytes of the Global Offset Table */
  36338. +#define DT_AVR32_GOTSZ 0x70000001
  36339. diff -Nur binutils-2.21.orig/include/elf/common.h binutils-2.21/include/elf/common.h
  36340. --- binutils-2.21.orig/include/elf/common.h 2010-05-18 05:31:06.000000000 +0200
  36341. +++ binutils-2.21/include/elf/common.h 2011-08-28 14:56:22.387990129 +0200
  36342. @@ -289,7 +289,7 @@
  36343. #define EM_INTEL182 182 /* Reserved by Intel */
  36344. #define EM_res183 183 /* Reserved by ARM */
  36345. #define EM_res184 184 /* Reserved by ARM */
  36346. -#define EM_AVR32 185 /* Atmel Corporation 32-bit microprocessor family */
  36347. +#define EM_AVR32_OLD 185 /* Atmel Corporation 32-bit microprocessor family */
  36348. #define EM_STM8 186 /* STMicroeletronics STM8 8-bit microcontroller */
  36349. #define EM_TILE64 187 /* Tilera TILE64 multicore architecture family */
  36350. #define EM_TILEPRO 188 /* Tilera TILEPro multicore architecture family */
  36351. @@ -369,6 +369,9 @@
  36352. /* V850 backend magic number. Written in the absense of an ABI. */
  36353. #define EM_CYGNUS_V850 0x9080
  36354. +/* AVR32 magic number, picked by IAR Systems. */
  36355. +#define EM_AVR32 0x18ad
  36356. +
  36357. /* old S/390 backend magic number. Written in the absence of an ABI. */
  36358. #define EM_S390_OLD 0xa390
  36359. diff -Nur binutils-2.21.orig/ld/autom4te.cache/output.0 binutils-2.21/ld/autom4te.cache/output.0
  36360. --- binutils-2.21.orig/ld/autom4te.cache/output.0 1970-01-01 01:00:00.000000000 +0100
  36361. +++ binutils-2.21/ld/autom4te.cache/output.0 2011-08-28 14:56:22.417984323 +0200
  36362. @@ -0,0 +1,15806 @@
  36363. +@%:@! /bin/sh
  36364. +@%:@ Guess values for system-dependent variables and create Makefiles.
  36365. +@%:@ Generated by GNU Autoconf 2.64.
  36366. +@%:@
  36367. +@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  36368. +@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  36369. +@%:@ Foundation, Inc.
  36370. +@%:@
  36371. +@%:@ This configure script is free software; the Free Software Foundation
  36372. +@%:@ gives unlimited permission to copy, distribute and modify it.
  36373. +## -------------------- ##
  36374. +## M4sh Initialization. ##
  36375. +## -------------------- ##
  36376. +
  36377. +# Be more Bourne compatible
  36378. +DUALCASE=1; export DUALCASE # for MKS sh
  36379. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  36380. + emulate sh
  36381. + NULLCMD=:
  36382. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  36383. + # is contrary to our usage. Disable this feature.
  36384. + alias -g '${1+"$@"}'='"$@"'
  36385. + setopt NO_GLOB_SUBST
  36386. +else
  36387. + case `(set -o) 2>/dev/null` in @%:@(
  36388. + *posix*) :
  36389. + set -o posix ;; @%:@(
  36390. + *) :
  36391. + ;;
  36392. +esac
  36393. +fi
  36394. +
  36395. +
  36396. +as_nl='
  36397. +'
  36398. +export as_nl
  36399. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  36400. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36401. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  36402. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  36403. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  36404. +# but without wasting forks for bash or zsh.
  36405. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  36406. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  36407. + as_echo='print -r --'
  36408. + as_echo_n='print -rn --'
  36409. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  36410. + as_echo='printf %s\n'
  36411. + as_echo_n='printf %s'
  36412. +else
  36413. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  36414. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  36415. + as_echo_n='/usr/ucb/echo -n'
  36416. + else
  36417. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  36418. + as_echo_n_body='eval
  36419. + arg=$1;
  36420. + case $arg in @%:@(
  36421. + *"$as_nl"*)
  36422. + expr "X$arg" : "X\\(.*\\)$as_nl";
  36423. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  36424. + esac;
  36425. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  36426. + '
  36427. + export as_echo_n_body
  36428. + as_echo_n='sh -c $as_echo_n_body as_echo'
  36429. + fi
  36430. + export as_echo_body
  36431. + as_echo='sh -c $as_echo_body as_echo'
  36432. +fi
  36433. +
  36434. +# The user is always right.
  36435. +if test "${PATH_SEPARATOR+set}" != set; then
  36436. + PATH_SEPARATOR=:
  36437. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  36438. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  36439. + PATH_SEPARATOR=';'
  36440. + }
  36441. +fi
  36442. +
  36443. +
  36444. +# IFS
  36445. +# We need space, tab and new line, in precisely that order. Quoting is
  36446. +# there to prevent editors from complaining about space-tab.
  36447. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  36448. +# splitting by setting IFS to empty value.)
  36449. +IFS=" "" $as_nl"
  36450. +
  36451. +# Find who we are. Look in the path if we contain no directory separator.
  36452. +case $0 in @%:@((
  36453. + *[\\/]* ) as_myself=$0 ;;
  36454. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36455. +for as_dir in $PATH
  36456. +do
  36457. + IFS=$as_save_IFS
  36458. + test -z "$as_dir" && as_dir=.
  36459. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  36460. + done
  36461. +IFS=$as_save_IFS
  36462. +
  36463. + ;;
  36464. +esac
  36465. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  36466. +# in which case we are not to be found in the path.
  36467. +if test "x$as_myself" = x; then
  36468. + as_myself=$0
  36469. +fi
  36470. +if test ! -f "$as_myself"; then
  36471. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  36472. + exit 1
  36473. +fi
  36474. +
  36475. +# Unset variables that we do not need and which cause bugs (e.g. in
  36476. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  36477. +# suppresses any "Segmentation fault" message there. '((' could
  36478. +# trigger a bug in pdksh 5.2.14.
  36479. +for as_var in BASH_ENV ENV MAIL MAILPATH
  36480. +do eval test x\${$as_var+set} = xset \
  36481. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  36482. +done
  36483. +PS1='$ '
  36484. +PS2='> '
  36485. +PS4='+ '
  36486. +
  36487. +# NLS nuisances.
  36488. +LC_ALL=C
  36489. +export LC_ALL
  36490. +LANGUAGE=C
  36491. +export LANGUAGE
  36492. +
  36493. +# CDPATH.
  36494. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  36495. +
  36496. +if test "x$CONFIG_SHELL" = x; then
  36497. + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  36498. + emulate sh
  36499. + NULLCMD=:
  36500. + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  36501. + # is contrary to our usage. Disable this feature.
  36502. + alias -g '\${1+\"\$@\"}'='\"\$@\"'
  36503. + setopt NO_GLOB_SUBST
  36504. +else
  36505. + case \`(set -o) 2>/dev/null\` in @%:@(
  36506. + *posix*) :
  36507. + set -o posix ;; @%:@(
  36508. + *) :
  36509. + ;;
  36510. +esac
  36511. +fi
  36512. +"
  36513. + as_required="as_fn_return () { (exit \$1); }
  36514. +as_fn_success () { as_fn_return 0; }
  36515. +as_fn_failure () { as_fn_return 1; }
  36516. +as_fn_ret_success () { return 0; }
  36517. +as_fn_ret_failure () { return 1; }
  36518. +
  36519. +exitcode=0
  36520. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  36521. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  36522. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  36523. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  36524. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  36525. +
  36526. +else
  36527. + exitcode=1; echo positional parameters were not saved.
  36528. +fi
  36529. +test x\$exitcode = x0 || exit 1"
  36530. + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  36531. + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  36532. + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  36533. + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  36534. +test \$(( 1 + 1 )) = 2 || exit 1
  36535. +
  36536. + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  36537. + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36538. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  36539. + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  36540. + PATH=/empty FPATH=/empty; export PATH FPATH
  36541. + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  36542. + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  36543. + if (eval "$as_required") 2>/dev/null; then :
  36544. + as_have_required=yes
  36545. +else
  36546. + as_have_required=no
  36547. +fi
  36548. + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  36549. +
  36550. +else
  36551. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  36552. +as_found=false
  36553. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  36554. +do
  36555. + IFS=$as_save_IFS
  36556. + test -z "$as_dir" && as_dir=.
  36557. + as_found=:
  36558. + case $as_dir in @%:@(
  36559. + /*)
  36560. + for as_base in sh bash ksh sh5; do
  36561. + # Try only shells that exist, to save several forks.
  36562. + as_shell=$as_dir/$as_base
  36563. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  36564. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  36565. + CONFIG_SHELL=$as_shell as_have_required=yes
  36566. + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  36567. + break 2
  36568. +fi
  36569. +fi
  36570. + done;;
  36571. + esac
  36572. + as_found=false
  36573. +done
  36574. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  36575. + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  36576. + CONFIG_SHELL=$SHELL as_have_required=yes
  36577. +fi; }
  36578. +IFS=$as_save_IFS
  36579. +
  36580. +
  36581. + if test "x$CONFIG_SHELL" != x; then :
  36582. + # We cannot yet assume a decent shell, so we have to provide a
  36583. + # neutralization value for shells without unset; and this also
  36584. + # works around shells that cannot unset nonexistent variables.
  36585. + BASH_ENV=/dev/null
  36586. + ENV=/dev/null
  36587. + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  36588. + export CONFIG_SHELL
  36589. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  36590. +fi
  36591. +
  36592. + if test x$as_have_required = xno; then :
  36593. + $as_echo "$0: This script requires a shell more modern than all"
  36594. + $as_echo "$0: the shells that I found on your system."
  36595. + if test x${ZSH_VERSION+set} = xset ; then
  36596. + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  36597. + $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  36598. + else
  36599. + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  36600. +$0: including any error possibly output before this
  36601. +$0: message. Then install a modern shell, or manually run
  36602. +$0: the script under such a shell if you do have one."
  36603. + fi
  36604. + exit 1
  36605. +fi
  36606. +fi
  36607. +fi
  36608. +SHELL=${CONFIG_SHELL-/bin/sh}
  36609. +export SHELL
  36610. +# Unset more variables known to interfere with behavior of common tools.
  36611. +CLICOLOR_FORCE= GREP_OPTIONS=
  36612. +unset CLICOLOR_FORCE GREP_OPTIONS
  36613. +
  36614. +## --------------------- ##
  36615. +## M4sh Shell Functions. ##
  36616. +## --------------------- ##
  36617. +@%:@ as_fn_unset VAR
  36618. +@%:@ ---------------
  36619. +@%:@ Portably unset VAR.
  36620. +as_fn_unset ()
  36621. +{
  36622. + { eval $1=; unset $1;}
  36623. +}
  36624. +as_unset=as_fn_unset
  36625. +
  36626. +@%:@ as_fn_set_status STATUS
  36627. +@%:@ -----------------------
  36628. +@%:@ Set $? to STATUS, without forking.
  36629. +as_fn_set_status ()
  36630. +{
  36631. + return $1
  36632. +} @%:@ as_fn_set_status
  36633. +
  36634. +@%:@ as_fn_exit STATUS
  36635. +@%:@ -----------------
  36636. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  36637. +as_fn_exit ()
  36638. +{
  36639. + set +e
  36640. + as_fn_set_status $1
  36641. + exit $1
  36642. +} @%:@ as_fn_exit
  36643. +
  36644. +@%:@ as_fn_mkdir_p
  36645. +@%:@ -------------
  36646. +@%:@ Create "$as_dir" as a directory, including parents if necessary.
  36647. +as_fn_mkdir_p ()
  36648. +{
  36649. +
  36650. + case $as_dir in #(
  36651. + -*) as_dir=./$as_dir;;
  36652. + esac
  36653. + test -d "$as_dir" || eval $as_mkdir_p || {
  36654. + as_dirs=
  36655. + while :; do
  36656. + case $as_dir in #(
  36657. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  36658. + *) as_qdir=$as_dir;;
  36659. + esac
  36660. + as_dirs="'$as_qdir' $as_dirs"
  36661. + as_dir=`$as_dirname -- "$as_dir" ||
  36662. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  36663. + X"$as_dir" : 'X\(//\)[^/]' \| \
  36664. + X"$as_dir" : 'X\(//\)$' \| \
  36665. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  36666. +$as_echo X"$as_dir" |
  36667. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  36668. + s//\1/
  36669. + q
  36670. + }
  36671. + /^X\(\/\/\)[^/].*/{
  36672. + s//\1/
  36673. + q
  36674. + }
  36675. + /^X\(\/\/\)$/{
  36676. + s//\1/
  36677. + q
  36678. + }
  36679. + /^X\(\/\).*/{
  36680. + s//\1/
  36681. + q
  36682. + }
  36683. + s/.*/./; q'`
  36684. + test -d "$as_dir" && break
  36685. + done
  36686. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  36687. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  36688. +
  36689. +
  36690. +} @%:@ as_fn_mkdir_p
  36691. +@%:@ as_fn_append VAR VALUE
  36692. +@%:@ ----------------------
  36693. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  36694. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  36695. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  36696. +@%:@ implementations.
  36697. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  36698. + eval 'as_fn_append ()
  36699. + {
  36700. + eval $1+=\$2
  36701. + }'
  36702. +else
  36703. + as_fn_append ()
  36704. + {
  36705. + eval $1=\$$1\$2
  36706. + }
  36707. +fi # as_fn_append
  36708. +
  36709. +@%:@ as_fn_arith ARG...
  36710. +@%:@ ------------------
  36711. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  36712. +@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
  36713. +@%:@ must be portable across $(()) and expr.
  36714. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  36715. + eval 'as_fn_arith ()
  36716. + {
  36717. + as_val=$(( $* ))
  36718. + }'
  36719. +else
  36720. + as_fn_arith ()
  36721. + {
  36722. + as_val=`expr "$@" || test $? -eq 1`
  36723. + }
  36724. +fi # as_fn_arith
  36725. +
  36726. +
  36727. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  36728. +@%:@ ---------------------------------
  36729. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  36730. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  36731. +@%:@ script with status $?, using 1 if that was 0.
  36732. +as_fn_error ()
  36733. +{
  36734. + as_status=$?; test $as_status -eq 0 && as_status=1
  36735. + if test "$3"; then
  36736. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  36737. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  36738. + fi
  36739. + $as_echo "$as_me: error: $1" >&2
  36740. + as_fn_exit $as_status
  36741. +} @%:@ as_fn_error
  36742. +
  36743. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  36744. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  36745. + as_expr=expr
  36746. +else
  36747. + as_expr=false
  36748. +fi
  36749. +
  36750. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  36751. + as_basename=basename
  36752. +else
  36753. + as_basename=false
  36754. +fi
  36755. +
  36756. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  36757. + as_dirname=dirname
  36758. +else
  36759. + as_dirname=false
  36760. +fi
  36761. +
  36762. +as_me=`$as_basename -- "$0" ||
  36763. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  36764. + X"$0" : 'X\(//\)$' \| \
  36765. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  36766. +$as_echo X/"$0" |
  36767. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  36768. + s//\1/
  36769. + q
  36770. + }
  36771. + /^X\/\(\/\/\)$/{
  36772. + s//\1/
  36773. + q
  36774. + }
  36775. + /^X\/\(\/\).*/{
  36776. + s//\1/
  36777. + q
  36778. + }
  36779. + s/.*/./; q'`
  36780. +
  36781. +# Avoid depending upon Character Ranges.
  36782. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  36783. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  36784. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  36785. +as_cr_digits='0123456789'
  36786. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  36787. +
  36788. +
  36789. + as_lineno_1=$LINENO as_lineno_1a=$LINENO
  36790. + as_lineno_2=$LINENO as_lineno_2a=$LINENO
  36791. + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  36792. + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  36793. + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  36794. + sed -n '
  36795. + p
  36796. + /[$]LINENO/=
  36797. + ' <$as_myself |
  36798. + sed '
  36799. + s/[$]LINENO.*/&-/
  36800. + t lineno
  36801. + b
  36802. + :lineno
  36803. + N
  36804. + :loop
  36805. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  36806. + t loop
  36807. + s/-\n.*//
  36808. + ' >$as_me.lineno &&
  36809. + chmod +x "$as_me.lineno" ||
  36810. + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  36811. +
  36812. + # Don't try to exec as it changes $[0], causing all sort of problems
  36813. + # (the dirname of $[0] is not the place where we might find the
  36814. + # original and so on. Autoconf is especially sensitive to this).
  36815. + . "./$as_me.lineno"
  36816. + # Exit status is that of the last command.
  36817. + exit
  36818. +}
  36819. +
  36820. +ECHO_C= ECHO_N= ECHO_T=
  36821. +case `echo -n x` in @%:@(((((
  36822. +-n*)
  36823. + case `echo 'xy\c'` in
  36824. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  36825. + xy) ECHO_C='\c';;
  36826. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  36827. + ECHO_T=' ';;
  36828. + esac;;
  36829. +*)
  36830. + ECHO_N='-n';;
  36831. +esac
  36832. +
  36833. +rm -f conf$$ conf$$.exe conf$$.file
  36834. +if test -d conf$$.dir; then
  36835. + rm -f conf$$.dir/conf$$.file
  36836. +else
  36837. + rm -f conf$$.dir
  36838. + mkdir conf$$.dir 2>/dev/null
  36839. +fi
  36840. +if (echo >conf$$.file) 2>/dev/null; then
  36841. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  36842. + as_ln_s='ln -s'
  36843. + # ... but there are two gotchas:
  36844. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  36845. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  36846. + # In both cases, we have to default to `cp -p'.
  36847. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  36848. + as_ln_s='cp -p'
  36849. + elif ln conf$$.file conf$$ 2>/dev/null; then
  36850. + as_ln_s=ln
  36851. + else
  36852. + as_ln_s='cp -p'
  36853. + fi
  36854. +else
  36855. + as_ln_s='cp -p'
  36856. +fi
  36857. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  36858. +rmdir conf$$.dir 2>/dev/null
  36859. +
  36860. +if mkdir -p . 2>/dev/null; then
  36861. + as_mkdir_p='mkdir -p "$as_dir"'
  36862. +else
  36863. + test -d ./-p && rmdir ./-p
  36864. + as_mkdir_p=false
  36865. +fi
  36866. +
  36867. +if test -x / >/dev/null 2>&1; then
  36868. + as_test_x='test -x'
  36869. +else
  36870. + if ls -dL / >/dev/null 2>&1; then
  36871. + as_ls_L_option=L
  36872. + else
  36873. + as_ls_L_option=
  36874. + fi
  36875. + as_test_x='
  36876. + eval sh -c '\''
  36877. + if test -d "$1"; then
  36878. + test -d "$1/.";
  36879. + else
  36880. + case $1 in @%:@(
  36881. + -*)set "./$1";;
  36882. + esac;
  36883. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  36884. + ???[sx]*):;;*)false;;esac;fi
  36885. + '\'' sh
  36886. + '
  36887. +fi
  36888. +as_executable_p=$as_test_x
  36889. +
  36890. +# Sed expression to map a string onto a valid CPP name.
  36891. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  36892. +
  36893. +# Sed expression to map a string onto a valid variable name.
  36894. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  36895. +
  36896. +SHELL=${CONFIG_SHELL-/bin/sh}
  36897. +
  36898. +
  36899. +exec 7<&0 </dev/null 6>&1
  36900. +
  36901. +# Name of the host.
  36902. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  36903. +# so uname gets run too.
  36904. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  36905. +
  36906. +#
  36907. +# Initializations.
  36908. +#
  36909. +ac_default_prefix=/usr/local
  36910. +ac_clean_files=
  36911. +ac_config_libobj_dir=.
  36912. +LIB@&t@OBJS=
  36913. +cross_compiling=no
  36914. +subdirs=
  36915. +MFLAGS=
  36916. +MAKEFLAGS=
  36917. +
  36918. +# Identity of this package.
  36919. +PACKAGE_NAME=
  36920. +PACKAGE_TARNAME=
  36921. +PACKAGE_VERSION=
  36922. +PACKAGE_STRING=
  36923. +PACKAGE_BUGREPORT=
  36924. +PACKAGE_URL=
  36925. +
  36926. +ac_unique_file="ldmain.c"
  36927. +# Factoring default headers for most tests.
  36928. +ac_includes_default="\
  36929. +#include <stdio.h>
  36930. +#ifdef HAVE_SYS_TYPES_H
  36931. +# include <sys/types.h>
  36932. +#endif
  36933. +#ifdef HAVE_SYS_STAT_H
  36934. +# include <sys/stat.h>
  36935. +#endif
  36936. +#ifdef STDC_HEADERS
  36937. +# include <stdlib.h>
  36938. +# include <stddef.h>
  36939. +#else
  36940. +# ifdef HAVE_STDLIB_H
  36941. +# include <stdlib.h>
  36942. +# endif
  36943. +#endif
  36944. +#ifdef HAVE_STRING_H
  36945. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  36946. +# include <memory.h>
  36947. +# endif
  36948. +# include <string.h>
  36949. +#endif
  36950. +#ifdef HAVE_STRINGS_H
  36951. +# include <strings.h>
  36952. +#endif
  36953. +#ifdef HAVE_INTTYPES_H
  36954. +# include <inttypes.h>
  36955. +#endif
  36956. +#ifdef HAVE_STDINT_H
  36957. +# include <stdint.h>
  36958. +#endif
  36959. +#ifdef HAVE_UNISTD_H
  36960. +# include <unistd.h>
  36961. +#endif"
  36962. +
  36963. +ac_subst_vars='am__EXEEXT_FALSE
  36964. +am__EXEEXT_TRUE
  36965. +LTLIBOBJS
  36966. +LIB@&t@OBJS
  36967. +TESTBFDLIB
  36968. +EMULATION_LIBPATH
  36969. +LIB_PATH
  36970. +EMUL_EXTRA_OFILES
  36971. +EMULATION_OFILES
  36972. +EMUL
  36973. +STRINGIFY
  36974. +ENABLE_PLUGINS_FALSE
  36975. +ENABLE_PLUGINS_TRUE
  36976. +NATIVE_LIB_DIRS
  36977. +HOSTING_LIBS
  36978. +HOSTING_CRT0
  36979. +HDEFINES
  36980. +do_compare
  36981. +GENINSRC_NEVER_FALSE
  36982. +GENINSRC_NEVER_TRUE
  36983. +LEXLIB
  36984. +LEX_OUTPUT_ROOT
  36985. +LEX
  36986. +YFLAGS
  36987. +YACC
  36988. +MSGMERGE
  36989. +MSGFMT
  36990. +MKINSTALLDIRS
  36991. +CATOBJEXT
  36992. +GENCAT
  36993. +INSTOBJEXT
  36994. +DATADIRNAME
  36995. +CATALOGS
  36996. +POSUB
  36997. +GMSGFMT
  36998. +XGETTEXT
  36999. +INCINTL
  37000. +LIBINTL_DEP
  37001. +LIBINTL
  37002. +USE_NLS
  37003. +OTOOL64
  37004. +OTOOL
  37005. +LIPO
  37006. +NMEDIT
  37007. +DSYMUTIL
  37008. +RANLIB
  37009. +AR
  37010. +OBJDUMP
  37011. +LN_S
  37012. +NM
  37013. +ac_ct_DUMPBIN
  37014. +DUMPBIN
  37015. +LD
  37016. +FGREP
  37017. +SED
  37018. +LIBTOOL
  37019. +NO_WERROR
  37020. +WARN_CFLAGS
  37021. +EGREP
  37022. +GREP
  37023. +CPP
  37024. +installed_linker
  37025. +install_as_default
  37026. +TARGET_SYSTEM_ROOT_DEFINE
  37027. +TARGET_SYSTEM_ROOT
  37028. +use_sysroot
  37029. +MAINT
  37030. +MAINTAINER_MODE_FALSE
  37031. +MAINTAINER_MODE_TRUE
  37032. +am__fastdepCC_FALSE
  37033. +am__fastdepCC_TRUE
  37034. +CCDEPMODE
  37035. +AMDEPBACKSLASH
  37036. +AMDEP_FALSE
  37037. +AMDEP_TRUE
  37038. +am__quote
  37039. +am__include
  37040. +DEPDIR
  37041. +am__untar
  37042. +am__tar
  37043. +AMTAR
  37044. +am__leading_dot
  37045. +SET_MAKE
  37046. +AWK
  37047. +mkdir_p
  37048. +MKDIR_P
  37049. +INSTALL_STRIP_PROGRAM
  37050. +STRIP
  37051. +install_sh
  37052. +MAKEINFO
  37053. +AUTOHEADER
  37054. +AUTOMAKE
  37055. +AUTOCONF
  37056. +ACLOCAL
  37057. +VERSION
  37058. +PACKAGE
  37059. +CYGPATH_W
  37060. +am__isrc
  37061. +INSTALL_DATA
  37062. +INSTALL_SCRIPT
  37063. +INSTALL_PROGRAM
  37064. +OBJEXT
  37065. +EXEEXT
  37066. +ac_ct_CC
  37067. +CPPFLAGS
  37068. +LDFLAGS
  37069. +CFLAGS
  37070. +CC
  37071. +target_os
  37072. +target_vendor
  37073. +target_cpu
  37074. +target
  37075. +host_os
  37076. +host_vendor
  37077. +host_cpu
  37078. +host
  37079. +build_os
  37080. +build_vendor
  37081. +build_cpu
  37082. +build
  37083. +target_alias
  37084. +host_alias
  37085. +build_alias
  37086. +LIBS
  37087. +ECHO_T
  37088. +ECHO_N
  37089. +ECHO_C
  37090. +DEFS
  37091. +mandir
  37092. +localedir
  37093. +libdir
  37094. +psdir
  37095. +pdfdir
  37096. +dvidir
  37097. +htmldir
  37098. +infodir
  37099. +docdir
  37100. +oldincludedir
  37101. +includedir
  37102. +localstatedir
  37103. +sharedstatedir
  37104. +sysconfdir
  37105. +datadir
  37106. +datarootdir
  37107. +libexecdir
  37108. +sbindir
  37109. +bindir
  37110. +program_transform_name
  37111. +prefix
  37112. +exec_prefix
  37113. +PACKAGE_URL
  37114. +PACKAGE_BUGREPORT
  37115. +PACKAGE_STRING
  37116. +PACKAGE_VERSION
  37117. +PACKAGE_TARNAME
  37118. +PACKAGE_NAME
  37119. +PATH_SEPARATOR
  37120. +SHELL'
  37121. +ac_subst_files='TDIRS'
  37122. +ac_user_opts='
  37123. +enable_option_checking
  37124. +enable_dependency_tracking
  37125. +enable_maintainer_mode
  37126. +with_lib_path
  37127. +enable_targets
  37128. +enable_64_bit_bfd
  37129. +with_sysroot
  37130. +enable_gold
  37131. +enable_got
  37132. +enable_werror
  37133. +enable_build_warnings
  37134. +enable_plugins
  37135. +enable_largefile
  37136. +enable_shared
  37137. +enable_static
  37138. +with_pic
  37139. +enable_fast_install
  37140. +with_gnu_ld
  37141. +enable_libtool_lock
  37142. +enable_nls
  37143. +'
  37144. + ac_precious_vars='build_alias
  37145. +host_alias
  37146. +target_alias
  37147. +CC
  37148. +CFLAGS
  37149. +LDFLAGS
  37150. +LIBS
  37151. +CPPFLAGS
  37152. +CPP
  37153. +YACC
  37154. +YFLAGS'
  37155. +
  37156. +
  37157. +# Initialize some variables set by options.
  37158. +ac_init_help=
  37159. +ac_init_version=false
  37160. +ac_unrecognized_opts=
  37161. +ac_unrecognized_sep=
  37162. +# The variables have the same names as the options, with
  37163. +# dashes changed to underlines.
  37164. +cache_file=/dev/null
  37165. +exec_prefix=NONE
  37166. +no_create=
  37167. +no_recursion=
  37168. +prefix=NONE
  37169. +program_prefix=NONE
  37170. +program_suffix=NONE
  37171. +program_transform_name=s,x,x,
  37172. +silent=
  37173. +site=
  37174. +srcdir=
  37175. +verbose=
  37176. +x_includes=NONE
  37177. +x_libraries=NONE
  37178. +
  37179. +# Installation directory options.
  37180. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  37181. +# and all the variables that are supposed to be based on exec_prefix
  37182. +# by default will actually change.
  37183. +# Use braces instead of parens because sh, perl, etc. also accept them.
  37184. +# (The list follows the same order as the GNU Coding Standards.)
  37185. +bindir='${exec_prefix}/bin'
  37186. +sbindir='${exec_prefix}/sbin'
  37187. +libexecdir='${exec_prefix}/libexec'
  37188. +datarootdir='${prefix}/share'
  37189. +datadir='${datarootdir}'
  37190. +sysconfdir='${prefix}/etc'
  37191. +sharedstatedir='${prefix}/com'
  37192. +localstatedir='${prefix}/var'
  37193. +includedir='${prefix}/include'
  37194. +oldincludedir='/usr/include'
  37195. +docdir='${datarootdir}/doc/${PACKAGE}'
  37196. +infodir='${datarootdir}/info'
  37197. +htmldir='${docdir}'
  37198. +dvidir='${docdir}'
  37199. +pdfdir='${docdir}'
  37200. +psdir='${docdir}'
  37201. +libdir='${exec_prefix}/lib'
  37202. +localedir='${datarootdir}/locale'
  37203. +mandir='${datarootdir}/man'
  37204. +
  37205. +ac_prev=
  37206. +ac_dashdash=
  37207. +for ac_option
  37208. +do
  37209. + # If the previous option needs an argument, assign it.
  37210. + if test -n "$ac_prev"; then
  37211. + eval $ac_prev=\$ac_option
  37212. + ac_prev=
  37213. + continue
  37214. + fi
  37215. +
  37216. + case $ac_option in
  37217. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  37218. + *) ac_optarg=yes ;;
  37219. + esac
  37220. +
  37221. + # Accept the important Cygnus configure options, so we can diagnose typos.
  37222. +
  37223. + case $ac_dashdash$ac_option in
  37224. + --)
  37225. + ac_dashdash=yes ;;
  37226. +
  37227. + -bindir | --bindir | --bindi | --bind | --bin | --bi)
  37228. + ac_prev=bindir ;;
  37229. + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  37230. + bindir=$ac_optarg ;;
  37231. +
  37232. + -build | --build | --buil | --bui | --bu)
  37233. + ac_prev=build_alias ;;
  37234. + -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  37235. + build_alias=$ac_optarg ;;
  37236. +
  37237. + -cache-file | --cache-file | --cache-fil | --cache-fi \
  37238. + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  37239. + ac_prev=cache_file ;;
  37240. + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  37241. + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  37242. + cache_file=$ac_optarg ;;
  37243. +
  37244. + --config-cache | -C)
  37245. + cache_file=config.cache ;;
  37246. +
  37247. + -datadir | --datadir | --datadi | --datad)
  37248. + ac_prev=datadir ;;
  37249. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  37250. + datadir=$ac_optarg ;;
  37251. +
  37252. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  37253. + | --dataroo | --dataro | --datar)
  37254. + ac_prev=datarootdir ;;
  37255. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  37256. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  37257. + datarootdir=$ac_optarg ;;
  37258. +
  37259. + -disable-* | --disable-*)
  37260. + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  37261. + # Reject names that are not valid shell variable names.
  37262. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  37263. + as_fn_error "invalid feature name: $ac_useropt"
  37264. + ac_useropt_orig=$ac_useropt
  37265. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  37266. + case $ac_user_opts in
  37267. + *"
  37268. +"enable_$ac_useropt"
  37269. +"*) ;;
  37270. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  37271. + ac_unrecognized_sep=', ';;
  37272. + esac
  37273. + eval enable_$ac_useropt=no ;;
  37274. +
  37275. + -docdir | --docdir | --docdi | --doc | --do)
  37276. + ac_prev=docdir ;;
  37277. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  37278. + docdir=$ac_optarg ;;
  37279. +
  37280. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  37281. + ac_prev=dvidir ;;
  37282. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  37283. + dvidir=$ac_optarg ;;
  37284. +
  37285. + -enable-* | --enable-*)
  37286. + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  37287. + # Reject names that are not valid shell variable names.
  37288. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  37289. + as_fn_error "invalid feature name: $ac_useropt"
  37290. + ac_useropt_orig=$ac_useropt
  37291. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  37292. + case $ac_user_opts in
  37293. + *"
  37294. +"enable_$ac_useropt"
  37295. +"*) ;;
  37296. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  37297. + ac_unrecognized_sep=', ';;
  37298. + esac
  37299. + eval enable_$ac_useropt=\$ac_optarg ;;
  37300. +
  37301. + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  37302. + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  37303. + | --exec | --exe | --ex)
  37304. + ac_prev=exec_prefix ;;
  37305. + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  37306. + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  37307. + | --exec=* | --exe=* | --ex=*)
  37308. + exec_prefix=$ac_optarg ;;
  37309. +
  37310. + -gas | --gas | --ga | --g)
  37311. + # Obsolete; use --with-gas.
  37312. + with_gas=yes ;;
  37313. +
  37314. + -help | --help | --hel | --he | -h)
  37315. + ac_init_help=long ;;
  37316. + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  37317. + ac_init_help=recursive ;;
  37318. + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  37319. + ac_init_help=short ;;
  37320. +
  37321. + -host | --host | --hos | --ho)
  37322. + ac_prev=host_alias ;;
  37323. + -host=* | --host=* | --hos=* | --ho=*)
  37324. + host_alias=$ac_optarg ;;
  37325. +
  37326. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  37327. + ac_prev=htmldir ;;
  37328. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  37329. + | --ht=*)
  37330. + htmldir=$ac_optarg ;;
  37331. +
  37332. + -includedir | --includedir | --includedi | --included | --include \
  37333. + | --includ | --inclu | --incl | --inc)
  37334. + ac_prev=includedir ;;
  37335. + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  37336. + | --includ=* | --inclu=* | --incl=* | --inc=*)
  37337. + includedir=$ac_optarg ;;
  37338. +
  37339. + -infodir | --infodir | --infodi | --infod | --info | --inf)
  37340. + ac_prev=infodir ;;
  37341. + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  37342. + infodir=$ac_optarg ;;
  37343. +
  37344. + -libdir | --libdir | --libdi | --libd)
  37345. + ac_prev=libdir ;;
  37346. + -libdir=* | --libdir=* | --libdi=* | --libd=*)
  37347. + libdir=$ac_optarg ;;
  37348. +
  37349. + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  37350. + | --libexe | --libex | --libe)
  37351. + ac_prev=libexecdir ;;
  37352. + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  37353. + | --libexe=* | --libex=* | --libe=*)
  37354. + libexecdir=$ac_optarg ;;
  37355. +
  37356. + -localedir | --localedir | --localedi | --localed | --locale)
  37357. + ac_prev=localedir ;;
  37358. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  37359. + localedir=$ac_optarg ;;
  37360. +
  37361. + -localstatedir | --localstatedir | --localstatedi | --localstated \
  37362. + | --localstate | --localstat | --localsta | --localst | --locals)
  37363. + ac_prev=localstatedir ;;
  37364. + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  37365. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  37366. + localstatedir=$ac_optarg ;;
  37367. +
  37368. + -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  37369. + ac_prev=mandir ;;
  37370. + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  37371. + mandir=$ac_optarg ;;
  37372. +
  37373. + -nfp | --nfp | --nf)
  37374. + # Obsolete; use --without-fp.
  37375. + with_fp=no ;;
  37376. +
  37377. + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  37378. + | --no-cr | --no-c | -n)
  37379. + no_create=yes ;;
  37380. +
  37381. + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  37382. + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  37383. + no_recursion=yes ;;
  37384. +
  37385. + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  37386. + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  37387. + | --oldin | --oldi | --old | --ol | --o)
  37388. + ac_prev=oldincludedir ;;
  37389. + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  37390. + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  37391. + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  37392. + oldincludedir=$ac_optarg ;;
  37393. +
  37394. + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  37395. + ac_prev=prefix ;;
  37396. + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  37397. + prefix=$ac_optarg ;;
  37398. +
  37399. + -program-prefix | --program-prefix | --program-prefi | --program-pref \
  37400. + | --program-pre | --program-pr | --program-p)
  37401. + ac_prev=program_prefix ;;
  37402. + -program-prefix=* | --program-prefix=* | --program-prefi=* \
  37403. + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  37404. + program_prefix=$ac_optarg ;;
  37405. +
  37406. + -program-suffix | --program-suffix | --program-suffi | --program-suff \
  37407. + | --program-suf | --program-su | --program-s)
  37408. + ac_prev=program_suffix ;;
  37409. + -program-suffix=* | --program-suffix=* | --program-suffi=* \
  37410. + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  37411. + program_suffix=$ac_optarg ;;
  37412. +
  37413. + -program-transform-name | --program-transform-name \
  37414. + | --program-transform-nam | --program-transform-na \
  37415. + | --program-transform-n | --program-transform- \
  37416. + | --program-transform | --program-transfor \
  37417. + | --program-transfo | --program-transf \
  37418. + | --program-trans | --program-tran \
  37419. + | --progr-tra | --program-tr | --program-t)
  37420. + ac_prev=program_transform_name ;;
  37421. + -program-transform-name=* | --program-transform-name=* \
  37422. + | --program-transform-nam=* | --program-transform-na=* \
  37423. + | --program-transform-n=* | --program-transform-=* \
  37424. + | --program-transform=* | --program-transfor=* \
  37425. + | --program-transfo=* | --program-transf=* \
  37426. + | --program-trans=* | --program-tran=* \
  37427. + | --progr-tra=* | --program-tr=* | --program-t=*)
  37428. + program_transform_name=$ac_optarg ;;
  37429. +
  37430. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  37431. + ac_prev=pdfdir ;;
  37432. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  37433. + pdfdir=$ac_optarg ;;
  37434. +
  37435. + -psdir | --psdir | --psdi | --psd | --ps)
  37436. + ac_prev=psdir ;;
  37437. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  37438. + psdir=$ac_optarg ;;
  37439. +
  37440. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  37441. + | -silent | --silent | --silen | --sile | --sil)
  37442. + silent=yes ;;
  37443. +
  37444. + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  37445. + ac_prev=sbindir ;;
  37446. + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  37447. + | --sbi=* | --sb=*)
  37448. + sbindir=$ac_optarg ;;
  37449. +
  37450. + -sharedstatedir | --sharedstatedir | --sharedstatedi \
  37451. + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  37452. + | --sharedst | --shareds | --shared | --share | --shar \
  37453. + | --sha | --sh)
  37454. + ac_prev=sharedstatedir ;;
  37455. + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  37456. + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  37457. + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  37458. + | --sha=* | --sh=*)
  37459. + sharedstatedir=$ac_optarg ;;
  37460. +
  37461. + -site | --site | --sit)
  37462. + ac_prev=site ;;
  37463. + -site=* | --site=* | --sit=*)
  37464. + site=$ac_optarg ;;
  37465. +
  37466. + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  37467. + ac_prev=srcdir ;;
  37468. + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  37469. + srcdir=$ac_optarg ;;
  37470. +
  37471. + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  37472. + | --syscon | --sysco | --sysc | --sys | --sy)
  37473. + ac_prev=sysconfdir ;;
  37474. + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  37475. + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  37476. + sysconfdir=$ac_optarg ;;
  37477. +
  37478. + -target | --target | --targe | --targ | --tar | --ta | --t)
  37479. + ac_prev=target_alias ;;
  37480. + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  37481. + target_alias=$ac_optarg ;;
  37482. +
  37483. + -v | -verbose | --verbose | --verbos | --verbo | --verb)
  37484. + verbose=yes ;;
  37485. +
  37486. + -version | --version | --versio | --versi | --vers | -V)
  37487. + ac_init_version=: ;;
  37488. +
  37489. + -with-* | --with-*)
  37490. + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  37491. + # Reject names that are not valid shell variable names.
  37492. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  37493. + as_fn_error "invalid package name: $ac_useropt"
  37494. + ac_useropt_orig=$ac_useropt
  37495. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  37496. + case $ac_user_opts in
  37497. + *"
  37498. +"with_$ac_useropt"
  37499. +"*) ;;
  37500. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  37501. + ac_unrecognized_sep=', ';;
  37502. + esac
  37503. + eval with_$ac_useropt=\$ac_optarg ;;
  37504. +
  37505. + -without-* | --without-*)
  37506. + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  37507. + # Reject names that are not valid shell variable names.
  37508. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  37509. + as_fn_error "invalid package name: $ac_useropt"
  37510. + ac_useropt_orig=$ac_useropt
  37511. + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  37512. + case $ac_user_opts in
  37513. + *"
  37514. +"with_$ac_useropt"
  37515. +"*) ;;
  37516. + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  37517. + ac_unrecognized_sep=', ';;
  37518. + esac
  37519. + eval with_$ac_useropt=no ;;
  37520. +
  37521. + --x)
  37522. + # Obsolete; use --with-x.
  37523. + with_x=yes ;;
  37524. +
  37525. + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  37526. + | --x-incl | --x-inc | --x-in | --x-i)
  37527. + ac_prev=x_includes ;;
  37528. + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  37529. + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  37530. + x_includes=$ac_optarg ;;
  37531. +
  37532. + -x-libraries | --x-libraries | --x-librarie | --x-librari \
  37533. + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  37534. + ac_prev=x_libraries ;;
  37535. + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  37536. + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  37537. + x_libraries=$ac_optarg ;;
  37538. +
  37539. + -*) as_fn_error "unrecognized option: \`$ac_option'
  37540. +Try \`$0 --help' for more information."
  37541. + ;;
  37542. +
  37543. + *=*)
  37544. + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  37545. + # Reject names that are not valid shell variable names.
  37546. + case $ac_envvar in #(
  37547. + '' | [0-9]* | *[!_$as_cr_alnum]* )
  37548. + as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  37549. + esac
  37550. + eval $ac_envvar=\$ac_optarg
  37551. + export $ac_envvar ;;
  37552. +
  37553. + *)
  37554. + # FIXME: should be removed in autoconf 3.0.
  37555. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  37556. + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  37557. + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  37558. + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  37559. + ;;
  37560. +
  37561. + esac
  37562. +done
  37563. +
  37564. +if test -n "$ac_prev"; then
  37565. + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  37566. + as_fn_error "missing argument to $ac_option"
  37567. +fi
  37568. +
  37569. +if test -n "$ac_unrecognized_opts"; then
  37570. + case $enable_option_checking in
  37571. + no) ;;
  37572. + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  37573. + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  37574. + esac
  37575. +fi
  37576. +
  37577. +# Check all directory arguments for consistency.
  37578. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  37579. + datadir sysconfdir sharedstatedir localstatedir includedir \
  37580. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  37581. + libdir localedir mandir
  37582. +do
  37583. + eval ac_val=\$$ac_var
  37584. + # Remove trailing slashes.
  37585. + case $ac_val in
  37586. + */ )
  37587. + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  37588. + eval $ac_var=\$ac_val;;
  37589. + esac
  37590. + # Be sure to have absolute directory names.
  37591. + case $ac_val in
  37592. + [\\/$]* | ?:[\\/]* ) continue;;
  37593. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  37594. + esac
  37595. + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  37596. +done
  37597. +
  37598. +# There might be people who depend on the old broken behavior: `$host'
  37599. +# used to hold the argument of --host etc.
  37600. +# FIXME: To remove some day.
  37601. +build=$build_alias
  37602. +host=$host_alias
  37603. +target=$target_alias
  37604. +
  37605. +# FIXME: To remove some day.
  37606. +if test "x$host_alias" != x; then
  37607. + if test "x$build_alias" = x; then
  37608. + cross_compiling=maybe
  37609. + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  37610. + If a cross compiler is detected then cross compile mode will be used." >&2
  37611. + elif test "x$build_alias" != "x$host_alias"; then
  37612. + cross_compiling=yes
  37613. + fi
  37614. +fi
  37615. +
  37616. +ac_tool_prefix=
  37617. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  37618. +
  37619. +test "$silent" = yes && exec 6>/dev/null
  37620. +
  37621. +
  37622. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  37623. +ac_ls_di=`ls -di .` &&
  37624. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  37625. + as_fn_error "working directory cannot be determined"
  37626. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  37627. + as_fn_error "pwd does not report name of working directory"
  37628. +
  37629. +
  37630. +# Find the source files, if location was not specified.
  37631. +if test -z "$srcdir"; then
  37632. + ac_srcdir_defaulted=yes
  37633. + # Try the directory containing this script, then the parent directory.
  37634. + ac_confdir=`$as_dirname -- "$as_myself" ||
  37635. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  37636. + X"$as_myself" : 'X\(//\)[^/]' \| \
  37637. + X"$as_myself" : 'X\(//\)$' \| \
  37638. + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  37639. +$as_echo X"$as_myself" |
  37640. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  37641. + s//\1/
  37642. + q
  37643. + }
  37644. + /^X\(\/\/\)[^/].*/{
  37645. + s//\1/
  37646. + q
  37647. + }
  37648. + /^X\(\/\/\)$/{
  37649. + s//\1/
  37650. + q
  37651. + }
  37652. + /^X\(\/\).*/{
  37653. + s//\1/
  37654. + q
  37655. + }
  37656. + s/.*/./; q'`
  37657. + srcdir=$ac_confdir
  37658. + if test ! -r "$srcdir/$ac_unique_file"; then
  37659. + srcdir=..
  37660. + fi
  37661. +else
  37662. + ac_srcdir_defaulted=no
  37663. +fi
  37664. +if test ! -r "$srcdir/$ac_unique_file"; then
  37665. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  37666. + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  37667. +fi
  37668. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  37669. +ac_abs_confdir=`(
  37670. + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  37671. + pwd)`
  37672. +# When building in place, set srcdir=.
  37673. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  37674. + srcdir=.
  37675. +fi
  37676. +# Remove unnecessary trailing slashes from srcdir.
  37677. +# Double slashes in file names in object file debugging info
  37678. +# mess up M-x gdb in Emacs.
  37679. +case $srcdir in
  37680. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  37681. +esac
  37682. +for ac_var in $ac_precious_vars; do
  37683. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  37684. + eval ac_env_${ac_var}_value=\$${ac_var}
  37685. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  37686. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  37687. +done
  37688. +
  37689. +#
  37690. +# Report the --help message.
  37691. +#
  37692. +if test "$ac_init_help" = "long"; then
  37693. + # Omit some internal or obsolete options to make the list less imposing.
  37694. + # This message is too long to be a string in the A/UX 3.1 sh.
  37695. + cat <<_ACEOF
  37696. +\`configure' configures this package to adapt to many kinds of systems.
  37697. +
  37698. +Usage: $0 [OPTION]... [VAR=VALUE]...
  37699. +
  37700. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  37701. +VAR=VALUE. See below for descriptions of some of the useful variables.
  37702. +
  37703. +Defaults for the options are specified in brackets.
  37704. +
  37705. +Configuration:
  37706. + -h, --help display this help and exit
  37707. + --help=short display options specific to this package
  37708. + --help=recursive display the short help of all the included packages
  37709. + -V, --version display version information and exit
  37710. + -q, --quiet, --silent do not print \`checking...' messages
  37711. + --cache-file=FILE cache test results in FILE [disabled]
  37712. + -C, --config-cache alias for \`--cache-file=config.cache'
  37713. + -n, --no-create do not create output files
  37714. + --srcdir=DIR find the sources in DIR [configure dir or \`..']
  37715. +
  37716. +Installation directories:
  37717. + --prefix=PREFIX install architecture-independent files in PREFIX
  37718. + [$ac_default_prefix]
  37719. + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  37720. + [PREFIX]
  37721. +
  37722. +By default, \`make install' will install all the files in
  37723. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  37724. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  37725. +for instance \`--prefix=\$HOME'.
  37726. +
  37727. +For better control, use the options below.
  37728. +
  37729. +Fine tuning of the installation directories:
  37730. + --bindir=DIR user executables [EPREFIX/bin]
  37731. + --sbindir=DIR system admin executables [EPREFIX/sbin]
  37732. + --libexecdir=DIR program executables [EPREFIX/libexec]
  37733. + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  37734. + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  37735. + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  37736. + --libdir=DIR object code libraries [EPREFIX/lib]
  37737. + --includedir=DIR C header files [PREFIX/include]
  37738. + --oldincludedir=DIR C header files for non-gcc [/usr/include]
  37739. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  37740. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  37741. + --infodir=DIR info documentation [DATAROOTDIR/info]
  37742. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  37743. + --mandir=DIR man documentation [DATAROOTDIR/man]
  37744. + --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
  37745. + --htmldir=DIR html documentation [DOCDIR]
  37746. + --dvidir=DIR dvi documentation [DOCDIR]
  37747. + --pdfdir=DIR pdf documentation [DOCDIR]
  37748. + --psdir=DIR ps documentation [DOCDIR]
  37749. +_ACEOF
  37750. +
  37751. + cat <<\_ACEOF
  37752. +
  37753. +Program names:
  37754. + --program-prefix=PREFIX prepend PREFIX to installed program names
  37755. + --program-suffix=SUFFIX append SUFFIX to installed program names
  37756. + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  37757. +
  37758. +System types:
  37759. + --build=BUILD configure for building on BUILD [guessed]
  37760. + --host=HOST cross-compile to build programs to run on HOST [BUILD]
  37761. + --target=TARGET configure for building compilers for TARGET [HOST]
  37762. +_ACEOF
  37763. +fi
  37764. +
  37765. +if test -n "$ac_init_help"; then
  37766. +
  37767. + cat <<\_ACEOF
  37768. +
  37769. +Optional Features:
  37770. + --disable-option-checking ignore unrecognized --enable/--with options
  37771. + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  37772. + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  37773. + --disable-dependency-tracking speeds up one-time build
  37774. + --enable-dependency-tracking do not reject slow dependency extractors
  37775. + --enable-maintainer-mode enable make rules and dependencies not useful
  37776. + (and sometimes confusing) to the casual installer
  37777. + --enable-targets alternative target configurations
  37778. + --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
  37779. + --enable-gold[=ARG] build gold [ARG={default,yes,no}]
  37780. + --enable-got=<type> GOT handling scheme (target, single, negative,
  37781. + multigot)
  37782. + --enable-werror treat compile warnings as errors
  37783. + --enable-build-warnings enable build-time compiler warnings
  37784. + --enable-plugins Enable support for plugins (defaults no)
  37785. + --disable-largefile omit support for large files
  37786. + --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  37787. + --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
  37788. + --enable-fast-install@<:@=PKGS@:>@
  37789. + optimize for fast installation @<:@default=yes@:>@
  37790. + --disable-libtool-lock avoid locking (might break parallel builds)
  37791. + --disable-nls do not use Native Language Support
  37792. +
  37793. +Optional Packages:
  37794. + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  37795. + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  37796. + --with-lib-path=dir1:dir2... set default LIB_PATH
  37797. + --with-sysroot=DIR Search for usr/lib et al within DIR.
  37798. + --with-pic try to use only PIC/non-PIC objects @<:@default=use
  37799. + both@:>@
  37800. + --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  37801. +
  37802. +Some influential environment variables:
  37803. + CC C compiler command
  37804. + CFLAGS C compiler flags
  37805. + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  37806. + nonstandard directory <lib dir>
  37807. + LIBS libraries to pass to the linker, e.g. -l<library>
  37808. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  37809. + you have headers in a nonstandard directory <include dir>
  37810. + CPP C preprocessor
  37811. + YACC The `Yet Another C Compiler' implementation to use. Defaults to
  37812. + the first program found out of: `bison -y', `byacc', `yacc'.
  37813. + YFLAGS The list of arguments that will be passed by default to $YACC.
  37814. + This script will default YFLAGS to the empty string to avoid a
  37815. + default value of `-d' given by some make applications.
  37816. +
  37817. +Use these variables to override the choices made by `configure' or to help
  37818. +it to find libraries and programs with nonstandard names/locations.
  37819. +
  37820. +Report bugs to the package provider.
  37821. +_ACEOF
  37822. +ac_status=$?
  37823. +fi
  37824. +
  37825. +if test "$ac_init_help" = "recursive"; then
  37826. + # If there are subdirs, report their specific --help.
  37827. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  37828. + test -d "$ac_dir" ||
  37829. + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  37830. + continue
  37831. + ac_builddir=.
  37832. +
  37833. +case "$ac_dir" in
  37834. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  37835. +*)
  37836. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  37837. + # A ".." for each directory in $ac_dir_suffix.
  37838. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  37839. + case $ac_top_builddir_sub in
  37840. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  37841. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  37842. + esac ;;
  37843. +esac
  37844. +ac_abs_top_builddir=$ac_pwd
  37845. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  37846. +# for backward compatibility:
  37847. +ac_top_builddir=$ac_top_build_prefix
  37848. +
  37849. +case $srcdir in
  37850. + .) # We are building in place.
  37851. + ac_srcdir=.
  37852. + ac_top_srcdir=$ac_top_builddir_sub
  37853. + ac_abs_top_srcdir=$ac_pwd ;;
  37854. + [\\/]* | ?:[\\/]* ) # Absolute name.
  37855. + ac_srcdir=$srcdir$ac_dir_suffix;
  37856. + ac_top_srcdir=$srcdir
  37857. + ac_abs_top_srcdir=$srcdir ;;
  37858. + *) # Relative name.
  37859. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  37860. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  37861. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  37862. +esac
  37863. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  37864. +
  37865. + cd "$ac_dir" || { ac_status=$?; continue; }
  37866. + # Check for guested configure.
  37867. + if test -f "$ac_srcdir/configure.gnu"; then
  37868. + echo &&
  37869. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  37870. + elif test -f "$ac_srcdir/configure"; then
  37871. + echo &&
  37872. + $SHELL "$ac_srcdir/configure" --help=recursive
  37873. + else
  37874. + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  37875. + fi || ac_status=$?
  37876. + cd "$ac_pwd" || { ac_status=$?; break; }
  37877. + done
  37878. +fi
  37879. +
  37880. +test -n "$ac_init_help" && exit $ac_status
  37881. +if $ac_init_version; then
  37882. + cat <<\_ACEOF
  37883. +configure
  37884. +generated by GNU Autoconf 2.64
  37885. +
  37886. +Copyright (C) 2009 Free Software Foundation, Inc.
  37887. +This configure script is free software; the Free Software Foundation
  37888. +gives unlimited permission to copy, distribute and modify it.
  37889. +_ACEOF
  37890. + exit
  37891. +fi
  37892. +
  37893. +## ------------------------ ##
  37894. +## Autoconf initialization. ##
  37895. +## ------------------------ ##
  37896. +
  37897. +@%:@ ac_fn_c_try_compile LINENO
  37898. +@%:@ --------------------------
  37899. +@%:@ Try to compile conftest.$ac_ext, and return whether this succeeded.
  37900. +ac_fn_c_try_compile ()
  37901. +{
  37902. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  37903. + rm -f conftest.$ac_objext
  37904. + if { { ac_try="$ac_compile"
  37905. +case "(($ac_try" in
  37906. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37907. + *) ac_try_echo=$ac_try;;
  37908. +esac
  37909. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  37910. +$as_echo "$ac_try_echo"; } >&5
  37911. + (eval "$ac_compile") 2>conftest.err
  37912. + ac_status=$?
  37913. + if test -s conftest.err; then
  37914. + grep -v '^ *+' conftest.err >conftest.er1
  37915. + cat conftest.er1 >&5
  37916. + mv -f conftest.er1 conftest.err
  37917. + fi
  37918. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37919. + test $ac_status = 0; } && {
  37920. + test -z "$ac_c_werror_flag" ||
  37921. + test ! -s conftest.err
  37922. + } && test -s conftest.$ac_objext; then :
  37923. + ac_retval=0
  37924. +else
  37925. + $as_echo "$as_me: failed program was:" >&5
  37926. +sed 's/^/| /' conftest.$ac_ext >&5
  37927. +
  37928. + ac_retval=1
  37929. +fi
  37930. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  37931. + return $ac_retval
  37932. +
  37933. +} @%:@ ac_fn_c_try_compile
  37934. +
  37935. +@%:@ ac_fn_c_try_link LINENO
  37936. +@%:@ -----------------------
  37937. +@%:@ Try to link conftest.$ac_ext, and return whether this succeeded.
  37938. +ac_fn_c_try_link ()
  37939. +{
  37940. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  37941. + rm -f conftest.$ac_objext conftest$ac_exeext
  37942. + if { { ac_try="$ac_link"
  37943. +case "(($ac_try" in
  37944. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37945. + *) ac_try_echo=$ac_try;;
  37946. +esac
  37947. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  37948. +$as_echo "$ac_try_echo"; } >&5
  37949. + (eval "$ac_link") 2>conftest.err
  37950. + ac_status=$?
  37951. + if test -s conftest.err; then
  37952. + grep -v '^ *+' conftest.err >conftest.er1
  37953. + cat conftest.er1 >&5
  37954. + mv -f conftest.er1 conftest.err
  37955. + fi
  37956. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  37957. + test $ac_status = 0; } && {
  37958. + test -z "$ac_c_werror_flag" ||
  37959. + test ! -s conftest.err
  37960. + } && test -s conftest$ac_exeext && {
  37961. + test "$cross_compiling" = yes ||
  37962. + $as_test_x conftest$ac_exeext
  37963. + }; then :
  37964. + ac_retval=0
  37965. +else
  37966. + $as_echo "$as_me: failed program was:" >&5
  37967. +sed 's/^/| /' conftest.$ac_ext >&5
  37968. +
  37969. + ac_retval=1
  37970. +fi
  37971. + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  37972. + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  37973. + # interfere with the next link command; also delete a directory that is
  37974. + # left behind by Apple's compiler. We do this before executing the actions.
  37975. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  37976. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  37977. + return $ac_retval
  37978. +
  37979. +} @%:@ ac_fn_c_try_link
  37980. +
  37981. +@%:@ ac_fn_c_try_cpp LINENO
  37982. +@%:@ ----------------------
  37983. +@%:@ Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  37984. +ac_fn_c_try_cpp ()
  37985. +{
  37986. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  37987. + if { { ac_try="$ac_cpp conftest.$ac_ext"
  37988. +case "(($ac_try" in
  37989. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  37990. + *) ac_try_echo=$ac_try;;
  37991. +esac
  37992. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  37993. +$as_echo "$ac_try_echo"; } >&5
  37994. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  37995. + ac_status=$?
  37996. + if test -s conftest.err; then
  37997. + grep -v '^ *+' conftest.err >conftest.er1
  37998. + cat conftest.er1 >&5
  37999. + mv -f conftest.er1 conftest.err
  38000. + fi
  38001. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  38002. + test $ac_status = 0; } >/dev/null && {
  38003. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  38004. + test ! -s conftest.err
  38005. + }; then :
  38006. + ac_retval=0
  38007. +else
  38008. + $as_echo "$as_me: failed program was:" >&5
  38009. +sed 's/^/| /' conftest.$ac_ext >&5
  38010. +
  38011. + ac_retval=1
  38012. +fi
  38013. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38014. + return $ac_retval
  38015. +
  38016. +} @%:@ ac_fn_c_try_cpp
  38017. +
  38018. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  38019. +@%:@ -------------------------------------------------------
  38020. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  38021. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  38022. +@%:@ accordingly.
  38023. +ac_fn_c_check_header_mongrel ()
  38024. +{
  38025. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38026. + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38027. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  38028. +$as_echo_n "checking for $2... " >&6; }
  38029. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38030. + $as_echo_n "(cached) " >&6
  38031. +fi
  38032. +eval ac_res=\$$3
  38033. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  38034. +$as_echo "$ac_res" >&6; }
  38035. +else
  38036. + # Is the header compilable?
  38037. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  38038. +$as_echo_n "checking $2 usability... " >&6; }
  38039. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38040. +/* end confdefs.h. */
  38041. +$4
  38042. +@%:@include <$2>
  38043. +_ACEOF
  38044. +if ac_fn_c_try_compile "$LINENO"; then :
  38045. + ac_header_compiler=yes
  38046. +else
  38047. + ac_header_compiler=no
  38048. +fi
  38049. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  38051. +$as_echo "$ac_header_compiler" >&6; }
  38052. +
  38053. +# Is the header present?
  38054. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  38055. +$as_echo_n "checking $2 presence... " >&6; }
  38056. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38057. +/* end confdefs.h. */
  38058. +@%:@include <$2>
  38059. +_ACEOF
  38060. +if ac_fn_c_try_cpp "$LINENO"; then :
  38061. + ac_header_preproc=yes
  38062. +else
  38063. + ac_header_preproc=no
  38064. +fi
  38065. +rm -f conftest.err conftest.$ac_ext
  38066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  38067. +$as_echo "$ac_header_preproc" >&6; }
  38068. +
  38069. +# So? What about this header?
  38070. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  38071. + yes:no: )
  38072. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  38073. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  38074. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  38075. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  38076. + ;;
  38077. + no:yes:* )
  38078. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  38079. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  38080. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  38081. +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  38082. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  38083. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  38084. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  38085. +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  38086. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  38087. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  38088. + ;;
  38089. +esac
  38090. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  38091. +$as_echo_n "checking for $2... " >&6; }
  38092. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38093. + $as_echo_n "(cached) " >&6
  38094. +else
  38095. + eval "$3=\$ac_header_compiler"
  38096. +fi
  38097. +eval ac_res=\$$3
  38098. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  38099. +$as_echo "$ac_res" >&6; }
  38100. +fi
  38101. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38102. +
  38103. +} @%:@ ac_fn_c_check_header_mongrel
  38104. +
  38105. +@%:@ ac_fn_c_try_run LINENO
  38106. +@%:@ ----------------------
  38107. +@%:@ Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  38108. +@%:@ that executables *can* be run.
  38109. +ac_fn_c_try_run ()
  38110. +{
  38111. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38112. + if { { ac_try="$ac_link"
  38113. +case "(($ac_try" in
  38114. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38115. + *) ac_try_echo=$ac_try;;
  38116. +esac
  38117. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  38118. +$as_echo "$ac_try_echo"; } >&5
  38119. + (eval "$ac_link") 2>&5
  38120. + ac_status=$?
  38121. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  38122. + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  38123. + { { case "(($ac_try" in
  38124. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  38125. + *) ac_try_echo=$ac_try;;
  38126. +esac
  38127. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  38128. +$as_echo "$ac_try_echo"; } >&5
  38129. + (eval "$ac_try") 2>&5
  38130. + ac_status=$?
  38131. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  38132. + test $ac_status = 0; }; }; then :
  38133. + ac_retval=0
  38134. +else
  38135. + $as_echo "$as_me: program exited with status $ac_status" >&5
  38136. + $as_echo "$as_me: failed program was:" >&5
  38137. +sed 's/^/| /' conftest.$ac_ext >&5
  38138. +
  38139. + ac_retval=$ac_status
  38140. +fi
  38141. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  38142. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38143. + return $ac_retval
  38144. +
  38145. +} @%:@ ac_fn_c_try_run
  38146. +
  38147. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  38148. +@%:@ -------------------------------------------------------
  38149. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  38150. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  38151. +ac_fn_c_check_header_compile ()
  38152. +{
  38153. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38154. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  38155. +$as_echo_n "checking for $2... " >&6; }
  38156. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38157. + $as_echo_n "(cached) " >&6
  38158. +else
  38159. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38160. +/* end confdefs.h. */
  38161. +$4
  38162. +@%:@include <$2>
  38163. +_ACEOF
  38164. +if ac_fn_c_try_compile "$LINENO"; then :
  38165. + eval "$3=yes"
  38166. +else
  38167. + eval "$3=no"
  38168. +fi
  38169. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38170. +fi
  38171. +eval ac_res=\$$3
  38172. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  38173. +$as_echo "$ac_res" >&6; }
  38174. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38175. +
  38176. +} @%:@ ac_fn_c_check_header_compile
  38177. +
  38178. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  38179. +@%:@ ----------------------------------
  38180. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  38181. +ac_fn_c_check_func ()
  38182. +{
  38183. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38184. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  38185. +$as_echo_n "checking for $2... " >&6; }
  38186. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38187. + $as_echo_n "(cached) " >&6
  38188. +else
  38189. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38190. +/* end confdefs.h. */
  38191. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  38192. + For example, HP-UX 11i <limits.h> declares gettimeofday. */
  38193. +#define $2 innocuous_$2
  38194. +
  38195. +/* System header to define __stub macros and hopefully few prototypes,
  38196. + which can conflict with char $2 (); below.
  38197. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  38198. + <limits.h> exists even on freestanding compilers. */
  38199. +
  38200. +#ifdef __STDC__
  38201. +# include <limits.h>
  38202. +#else
  38203. +# include <assert.h>
  38204. +#endif
  38205. +
  38206. +#undef $2
  38207. +
  38208. +/* Override any GCC internal prototype to avoid an error.
  38209. + Use char because int might match the return type of a GCC
  38210. + builtin and then its argument prototype would still apply. */
  38211. +#ifdef __cplusplus
  38212. +extern "C"
  38213. +#endif
  38214. +char $2 ();
  38215. +/* The GNU C library defines this for functions which it implements
  38216. + to always fail with ENOSYS. Some functions are actually named
  38217. + something starting with __ and the normal name is an alias. */
  38218. +#if defined __stub_$2 || defined __stub___$2
  38219. +choke me
  38220. +#endif
  38221. +
  38222. +int
  38223. +main ()
  38224. +{
  38225. +return $2 ();
  38226. + ;
  38227. + return 0;
  38228. +}
  38229. +_ACEOF
  38230. +if ac_fn_c_try_link "$LINENO"; then :
  38231. + eval "$3=yes"
  38232. +else
  38233. + eval "$3=no"
  38234. +fi
  38235. +rm -f core conftest.err conftest.$ac_objext \
  38236. + conftest$ac_exeext conftest.$ac_ext
  38237. +fi
  38238. +eval ac_res=\$$3
  38239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  38240. +$as_echo "$ac_res" >&6; }
  38241. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38242. +
  38243. +} @%:@ ac_fn_c_check_func
  38244. +
  38245. +@%:@ ac_fn_c_check_decl LINENO SYMBOL VAR
  38246. +@%:@ ------------------------------------
  38247. +@%:@ Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
  38248. +ac_fn_c_check_decl ()
  38249. +{
  38250. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38251. + as_decl_name=`echo $2|sed 's/ *(.*//'`
  38252. + as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  38253. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  38254. +$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  38255. +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  38256. + $as_echo_n "(cached) " >&6
  38257. +else
  38258. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38259. +/* end confdefs.h. */
  38260. +$4
  38261. +int
  38262. +main ()
  38263. +{
  38264. +@%:@ifndef $as_decl_name
  38265. +@%:@ifdef __cplusplus
  38266. + (void) $as_decl_use;
  38267. +@%:@else
  38268. + (void) $as_decl_name;
  38269. +@%:@endif
  38270. +@%:@endif
  38271. +
  38272. + ;
  38273. + return 0;
  38274. +}
  38275. +_ACEOF
  38276. +if ac_fn_c_try_compile "$LINENO"; then :
  38277. + eval "$3=yes"
  38278. +else
  38279. + eval "$3=no"
  38280. +fi
  38281. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38282. +fi
  38283. +eval ac_res=\$$3
  38284. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  38285. +$as_echo "$ac_res" >&6; }
  38286. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38287. +
  38288. +} @%:@ ac_fn_c_check_decl
  38289. +
  38290. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  38291. +@%:@ --------------------------------------------
  38292. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  38293. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  38294. +@%:@ computed
  38295. +ac_fn_c_compute_int ()
  38296. +{
  38297. + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  38298. + if test "$cross_compiling" = yes; then
  38299. + # Depending upon the size, compute the lo and hi bounds.
  38300. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38301. +/* end confdefs.h. */
  38302. +$4
  38303. +int
  38304. +main ()
  38305. +{
  38306. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  38307. +test_array @<:@0@:>@ = 0
  38308. +
  38309. + ;
  38310. + return 0;
  38311. +}
  38312. +_ACEOF
  38313. +if ac_fn_c_try_compile "$LINENO"; then :
  38314. + ac_lo=0 ac_mid=0
  38315. + while :; do
  38316. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38317. +/* end confdefs.h. */
  38318. +$4
  38319. +int
  38320. +main ()
  38321. +{
  38322. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  38323. +test_array @<:@0@:>@ = 0
  38324. +
  38325. + ;
  38326. + return 0;
  38327. +}
  38328. +_ACEOF
  38329. +if ac_fn_c_try_compile "$LINENO"; then :
  38330. + ac_hi=$ac_mid; break
  38331. +else
  38332. + as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  38333. + if test $ac_lo -le $ac_mid; then
  38334. + ac_lo= ac_hi=
  38335. + break
  38336. + fi
  38337. + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  38338. +fi
  38339. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38340. + done
  38341. +else
  38342. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38343. +/* end confdefs.h. */
  38344. +$4
  38345. +int
  38346. +main ()
  38347. +{
  38348. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  38349. +test_array @<:@0@:>@ = 0
  38350. +
  38351. + ;
  38352. + return 0;
  38353. +}
  38354. +_ACEOF
  38355. +if ac_fn_c_try_compile "$LINENO"; then :
  38356. + ac_hi=-1 ac_mid=-1
  38357. + while :; do
  38358. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38359. +/* end confdefs.h. */
  38360. +$4
  38361. +int
  38362. +main ()
  38363. +{
  38364. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  38365. +test_array @<:@0@:>@ = 0
  38366. +
  38367. + ;
  38368. + return 0;
  38369. +}
  38370. +_ACEOF
  38371. +if ac_fn_c_try_compile "$LINENO"; then :
  38372. + ac_lo=$ac_mid; break
  38373. +else
  38374. + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  38375. + if test $ac_mid -le $ac_hi; then
  38376. + ac_lo= ac_hi=
  38377. + break
  38378. + fi
  38379. + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  38380. +fi
  38381. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38382. + done
  38383. +else
  38384. + ac_lo= ac_hi=
  38385. +fi
  38386. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38387. +fi
  38388. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38389. +# Binary search between lo and hi bounds.
  38390. +while test "x$ac_lo" != "x$ac_hi"; do
  38391. + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  38392. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38393. +/* end confdefs.h. */
  38394. +$4
  38395. +int
  38396. +main ()
  38397. +{
  38398. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  38399. +test_array @<:@0@:>@ = 0
  38400. +
  38401. + ;
  38402. + return 0;
  38403. +}
  38404. +_ACEOF
  38405. +if ac_fn_c_try_compile "$LINENO"; then :
  38406. + ac_hi=$ac_mid
  38407. +else
  38408. + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  38409. +fi
  38410. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  38411. +done
  38412. +case $ac_lo in @%:@((
  38413. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  38414. +'') ac_retval=1 ;;
  38415. +esac
  38416. + else
  38417. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  38418. +/* end confdefs.h. */
  38419. +$4
  38420. +static long int longval () { return $2; }
  38421. +static unsigned long int ulongval () { return $2; }
  38422. +@%:@include <stdio.h>
  38423. +@%:@include <stdlib.h>
  38424. +int
  38425. +main ()
  38426. +{
  38427. +
  38428. + FILE *f = fopen ("conftest.val", "w");
  38429. + if (! f)
  38430. + return 1;
  38431. + if (($2) < 0)
  38432. + {
  38433. + long int i = longval ();
  38434. + if (i != ($2))
  38435. + return 1;
  38436. + fprintf (f, "%ld", i);
  38437. + }
  38438. + else
  38439. + {
  38440. + unsigned long int i = ulongval ();
  38441. + if (i != ($2))
  38442. + return 1;
  38443. + fprintf (f, "%lu", i);
  38444. + }
  38445. + /* Do not output a trailing newline, as this causes \r\n confusion
  38446. + on some platforms. */
  38447. + return ferror (f) || fclose (f) != 0;
  38448. +
  38449. + ;
  38450. + return 0;
  38451. +}
  38452. +_ACEOF
  38453. +if ac_fn_c_try_run "$LINENO"; then :
  38454. + echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  38455. +else
  38456. + ac_retval=1
  38457. +fi
  38458. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  38459. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  38460. +rm -f conftest.val
  38461. +
  38462. + fi
  38463. + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  38464. + return $ac_retval
  38465. +
  38466. +} @%:@ ac_fn_c_compute_int
  38467. +cat >config.log <<_ACEOF
  38468. +This file contains any messages produced by compilers while
  38469. +running configure, to aid debugging if configure makes a mistake.
  38470. +
  38471. +It was created by $as_me, which was
  38472. +generated by GNU Autoconf 2.64. Invocation command line was
  38473. +
  38474. + $ $0 $@
  38475. +
  38476. +_ACEOF
  38477. +exec 5>>config.log
  38478. +{
  38479. +cat <<_ASUNAME
  38480. +## --------- ##
  38481. +## Platform. ##
  38482. +## --------- ##
  38483. +
  38484. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  38485. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  38486. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  38487. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  38488. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  38489. +
  38490. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  38491. +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  38492. +
  38493. +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  38494. +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  38495. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  38496. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  38497. +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  38498. +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  38499. +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  38500. +
  38501. +_ASUNAME
  38502. +
  38503. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38504. +for as_dir in $PATH
  38505. +do
  38506. + IFS=$as_save_IFS
  38507. + test -z "$as_dir" && as_dir=.
  38508. + $as_echo "PATH: $as_dir"
  38509. + done
  38510. +IFS=$as_save_IFS
  38511. +
  38512. +} >&5
  38513. +
  38514. +cat >&5 <<_ACEOF
  38515. +
  38516. +
  38517. +## ----------- ##
  38518. +## Core tests. ##
  38519. +## ----------- ##
  38520. +
  38521. +_ACEOF
  38522. +
  38523. +
  38524. +# Keep a trace of the command line.
  38525. +# Strip out --no-create and --no-recursion so they do not pile up.
  38526. +# Strip out --silent because we don't want to record it for future runs.
  38527. +# Also quote any args containing shell meta-characters.
  38528. +# Make two passes to allow for proper duplicate-argument suppression.
  38529. +ac_configure_args=
  38530. +ac_configure_args0=
  38531. +ac_configure_args1=
  38532. +ac_must_keep_next=false
  38533. +for ac_pass in 1 2
  38534. +do
  38535. + for ac_arg
  38536. + do
  38537. + case $ac_arg in
  38538. + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  38539. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  38540. + | -silent | --silent | --silen | --sile | --sil)
  38541. + continue ;;
  38542. + *\'*)
  38543. + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  38544. + esac
  38545. + case $ac_pass in
  38546. + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  38547. + 2)
  38548. + as_fn_append ac_configure_args1 " '$ac_arg'"
  38549. + if test $ac_must_keep_next = true; then
  38550. + ac_must_keep_next=false # Got value, back to normal.
  38551. + else
  38552. + case $ac_arg in
  38553. + *=* | --config-cache | -C | -disable-* | --disable-* \
  38554. + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  38555. + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  38556. + | -with-* | --with-* | -without-* | --without-* | --x)
  38557. + case "$ac_configure_args0 " in
  38558. + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  38559. + esac
  38560. + ;;
  38561. + -* ) ac_must_keep_next=true ;;
  38562. + esac
  38563. + fi
  38564. + as_fn_append ac_configure_args " '$ac_arg'"
  38565. + ;;
  38566. + esac
  38567. + done
  38568. +done
  38569. +{ ac_configure_args0=; unset ac_configure_args0;}
  38570. +{ ac_configure_args1=; unset ac_configure_args1;}
  38571. +
  38572. +# When interrupted or exit'd, cleanup temporary files, and complete
  38573. +# config.log. We remove comments because anyway the quotes in there
  38574. +# would cause problems or look ugly.
  38575. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  38576. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  38577. +trap 'exit_status=$?
  38578. + # Save into config.log some information that might help in debugging.
  38579. + {
  38580. + echo
  38581. +
  38582. + cat <<\_ASBOX
  38583. +## ---------------- ##
  38584. +## Cache variables. ##
  38585. +## ---------------- ##
  38586. +_ASBOX
  38587. + echo
  38588. + # The following way of writing the cache mishandles newlines in values,
  38589. +(
  38590. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  38591. + eval ac_val=\$$ac_var
  38592. + case $ac_val in #(
  38593. + *${as_nl}*)
  38594. + case $ac_var in #(
  38595. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  38596. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  38597. + esac
  38598. + case $ac_var in #(
  38599. + _ | IFS | as_nl) ;; #(
  38600. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  38601. + *) { eval $ac_var=; unset $ac_var;} ;;
  38602. + esac ;;
  38603. + esac
  38604. + done
  38605. + (set) 2>&1 |
  38606. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  38607. + *${as_nl}ac_space=\ *)
  38608. + sed -n \
  38609. + "s/'\''/'\''\\\\'\'''\''/g;
  38610. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  38611. + ;; #(
  38612. + *)
  38613. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  38614. + ;;
  38615. + esac |
  38616. + sort
  38617. +)
  38618. + echo
  38619. +
  38620. + cat <<\_ASBOX
  38621. +## ----------------- ##
  38622. +## Output variables. ##
  38623. +## ----------------- ##
  38624. +_ASBOX
  38625. + echo
  38626. + for ac_var in $ac_subst_vars
  38627. + do
  38628. + eval ac_val=\$$ac_var
  38629. + case $ac_val in
  38630. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  38631. + esac
  38632. + $as_echo "$ac_var='\''$ac_val'\''"
  38633. + done | sort
  38634. + echo
  38635. +
  38636. + if test -n "$ac_subst_files"; then
  38637. + cat <<\_ASBOX
  38638. +## ------------------- ##
  38639. +## File substitutions. ##
  38640. +## ------------------- ##
  38641. +_ASBOX
  38642. + echo
  38643. + for ac_var in $ac_subst_files
  38644. + do
  38645. + eval ac_val=\$$ac_var
  38646. + case $ac_val in
  38647. + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  38648. + esac
  38649. + $as_echo "$ac_var='\''$ac_val'\''"
  38650. + done | sort
  38651. + echo
  38652. + fi
  38653. +
  38654. + if test -s confdefs.h; then
  38655. + cat <<\_ASBOX
  38656. +## ----------- ##
  38657. +## confdefs.h. ##
  38658. +## ----------- ##
  38659. +_ASBOX
  38660. + echo
  38661. + cat confdefs.h
  38662. + echo
  38663. + fi
  38664. + test "$ac_signal" != 0 &&
  38665. + $as_echo "$as_me: caught signal $ac_signal"
  38666. + $as_echo "$as_me: exit $exit_status"
  38667. + } >&5
  38668. + rm -f core *.core core.conftest.* &&
  38669. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  38670. + exit $exit_status
  38671. +' 0
  38672. +for ac_signal in 1 2 13 15; do
  38673. + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  38674. +done
  38675. +ac_signal=0
  38676. +
  38677. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  38678. +rm -f -r conftest* confdefs.h
  38679. +
  38680. +$as_echo "/* confdefs.h */" > confdefs.h
  38681. +
  38682. +# Predefined preprocessor variables.
  38683. +
  38684. +cat >>confdefs.h <<_ACEOF
  38685. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  38686. +_ACEOF
  38687. +
  38688. +cat >>confdefs.h <<_ACEOF
  38689. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  38690. +_ACEOF
  38691. +
  38692. +cat >>confdefs.h <<_ACEOF
  38693. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  38694. +_ACEOF
  38695. +
  38696. +cat >>confdefs.h <<_ACEOF
  38697. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  38698. +_ACEOF
  38699. +
  38700. +cat >>confdefs.h <<_ACEOF
  38701. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  38702. +_ACEOF
  38703. +
  38704. +cat >>confdefs.h <<_ACEOF
  38705. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  38706. +_ACEOF
  38707. +
  38708. +
  38709. +# Let the site file select an alternate cache file if it wants to.
  38710. +# Prefer an explicitly selected file to automatically selected ones.
  38711. +ac_site_file1=NONE
  38712. +ac_site_file2=NONE
  38713. +if test -n "$CONFIG_SITE"; then
  38714. + ac_site_file1=$CONFIG_SITE
  38715. +elif test "x$prefix" != xNONE; then
  38716. + ac_site_file1=$prefix/share/config.site
  38717. + ac_site_file2=$prefix/etc/config.site
  38718. +else
  38719. + ac_site_file1=$ac_default_prefix/share/config.site
  38720. + ac_site_file2=$ac_default_prefix/etc/config.site
  38721. +fi
  38722. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  38723. +do
  38724. + test "x$ac_site_file" = xNONE && continue
  38725. + if test -r "$ac_site_file"; then
  38726. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  38727. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  38728. + sed 's/^/| /' "$ac_site_file" >&5
  38729. + . "$ac_site_file"
  38730. + fi
  38731. +done
  38732. +
  38733. +if test -r "$cache_file"; then
  38734. + # Some versions of bash will fail to source /dev/null (special
  38735. + # files actually), so we avoid doing that.
  38736. + if test -f "$cache_file"; then
  38737. + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  38738. +$as_echo "$as_me: loading cache $cache_file" >&6;}
  38739. + case $cache_file in
  38740. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  38741. + *) . "./$cache_file";;
  38742. + esac
  38743. + fi
  38744. +else
  38745. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  38746. +$as_echo "$as_me: creating cache $cache_file" >&6;}
  38747. + >$cache_file
  38748. +fi
  38749. +
  38750. +# Check that the precious variables saved in the cache have kept the same
  38751. +# value.
  38752. +ac_cache_corrupted=false
  38753. +for ac_var in $ac_precious_vars; do
  38754. + eval ac_old_set=\$ac_cv_env_${ac_var}_set
  38755. + eval ac_new_set=\$ac_env_${ac_var}_set
  38756. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  38757. + eval ac_new_val=\$ac_env_${ac_var}_value
  38758. + case $ac_old_set,$ac_new_set in
  38759. + set,)
  38760. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  38761. +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  38762. + ac_cache_corrupted=: ;;
  38763. + ,set)
  38764. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  38765. +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  38766. + ac_cache_corrupted=: ;;
  38767. + ,);;
  38768. + *)
  38769. + if test "x$ac_old_val" != "x$ac_new_val"; then
  38770. + # differences in whitespace do not lead to failure.
  38771. + ac_old_val_w=`echo x $ac_old_val`
  38772. + ac_new_val_w=`echo x $ac_new_val`
  38773. + if test "$ac_old_val_w" != "$ac_new_val_w"; then
  38774. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  38775. +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  38776. + ac_cache_corrupted=:
  38777. + else
  38778. + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  38779. +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  38780. + eval $ac_var=\$ac_old_val
  38781. + fi
  38782. + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  38783. +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  38784. + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  38785. +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  38786. + fi;;
  38787. + esac
  38788. + # Pass precious variables to config.status.
  38789. + if test "$ac_new_set" = set; then
  38790. + case $ac_new_val in
  38791. + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  38792. + *) ac_arg=$ac_var=$ac_new_val ;;
  38793. + esac
  38794. + case " $ac_configure_args " in
  38795. + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  38796. + *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  38797. + esac
  38798. + fi
  38799. +done
  38800. +if $ac_cache_corrupted; then
  38801. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  38802. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  38803. + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  38804. +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  38805. + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  38806. +fi
  38807. +## -------------------- ##
  38808. +## Main body of script. ##
  38809. +## -------------------- ##
  38810. +
  38811. +ac_ext=c
  38812. +ac_cpp='$CPP $CPPFLAGS'
  38813. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  38814. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  38815. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  38816. +
  38817. +
  38818. +
  38819. +
  38820. +
  38821. +
  38822. +
  38823. +ac_aux_dir=
  38824. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  38825. + for ac_t in install-sh install.sh shtool; do
  38826. + if test -f "$ac_dir/$ac_t"; then
  38827. + ac_aux_dir=$ac_dir
  38828. + ac_install_sh="$ac_aux_dir/$ac_t -c"
  38829. + break 2
  38830. + fi
  38831. + done
  38832. +done
  38833. +if test -z "$ac_aux_dir"; then
  38834. + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  38835. +fi
  38836. +
  38837. +# These three variables are undocumented and unsupported,
  38838. +# and are intended to be withdrawn in a future Autoconf release.
  38839. +# They can cause serious problems if a builder's source tree is in a directory
  38840. +# whose full name contains unusual characters.
  38841. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  38842. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  38843. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  38844. +
  38845. +
  38846. +# Make sure we can run config.sub.
  38847. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  38848. + as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  38849. +
  38850. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  38851. +$as_echo_n "checking build system type... " >&6; }
  38852. +if test "${ac_cv_build+set}" = set; then :
  38853. + $as_echo_n "(cached) " >&6
  38854. +else
  38855. + ac_build_alias=$build_alias
  38856. +test "x$ac_build_alias" = x &&
  38857. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  38858. +test "x$ac_build_alias" = x &&
  38859. + as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  38860. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  38861. + as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  38862. +
  38863. +fi
  38864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  38865. +$as_echo "$ac_cv_build" >&6; }
  38866. +case $ac_cv_build in
  38867. +*-*-*) ;;
  38868. +*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  38869. +esac
  38870. +build=$ac_cv_build
  38871. +ac_save_IFS=$IFS; IFS='-'
  38872. +set x $ac_cv_build
  38873. +shift
  38874. +build_cpu=$1
  38875. +build_vendor=$2
  38876. +shift; shift
  38877. +# Remember, the first character of IFS is used to create $*,
  38878. +# except with old shells:
  38879. +build_os=$*
  38880. +IFS=$ac_save_IFS
  38881. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  38882. +
  38883. +
  38884. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  38885. +$as_echo_n "checking host system type... " >&6; }
  38886. +if test "${ac_cv_host+set}" = set; then :
  38887. + $as_echo_n "(cached) " >&6
  38888. +else
  38889. + if test "x$host_alias" = x; then
  38890. + ac_cv_host=$ac_cv_build
  38891. +else
  38892. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  38893. + as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  38894. +fi
  38895. +
  38896. +fi
  38897. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  38898. +$as_echo "$ac_cv_host" >&6; }
  38899. +case $ac_cv_host in
  38900. +*-*-*) ;;
  38901. +*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  38902. +esac
  38903. +host=$ac_cv_host
  38904. +ac_save_IFS=$IFS; IFS='-'
  38905. +set x $ac_cv_host
  38906. +shift
  38907. +host_cpu=$1
  38908. +host_vendor=$2
  38909. +shift; shift
  38910. +# Remember, the first character of IFS is used to create $*,
  38911. +# except with old shells:
  38912. +host_os=$*
  38913. +IFS=$ac_save_IFS
  38914. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  38915. +
  38916. +
  38917. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  38918. +$as_echo_n "checking target system type... " >&6; }
  38919. +if test "${ac_cv_target+set}" = set; then :
  38920. + $as_echo_n "(cached) " >&6
  38921. +else
  38922. + if test "x$target_alias" = x; then
  38923. + ac_cv_target=$ac_cv_host
  38924. +else
  38925. + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  38926. + as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  38927. +fi
  38928. +
  38929. +fi
  38930. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  38931. +$as_echo "$ac_cv_target" >&6; }
  38932. +case $ac_cv_target in
  38933. +*-*-*) ;;
  38934. +*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  38935. +esac
  38936. +target=$ac_cv_target
  38937. +ac_save_IFS=$IFS; IFS='-'
  38938. +set x $ac_cv_target
  38939. +shift
  38940. +target_cpu=$1
  38941. +target_vendor=$2
  38942. +shift; shift
  38943. +# Remember, the first character of IFS is used to create $*,
  38944. +# except with old shells:
  38945. +target_os=$*
  38946. +IFS=$ac_save_IFS
  38947. +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  38948. +
  38949. +
  38950. +# The aliases save the names the user supplied, while $host etc.
  38951. +# will get canonicalized.
  38952. +test -n "$target_alias" &&
  38953. + test "$program_prefix$program_suffix$program_transform_name" = \
  38954. + NONENONEs,x,x, &&
  38955. + program_prefix=${target_alias}-
  38956. +ac_ext=c
  38957. +ac_cpp='$CPP $CPPFLAGS'
  38958. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  38959. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  38960. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  38961. +if test -n "$ac_tool_prefix"; then
  38962. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  38963. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  38964. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  38965. +$as_echo_n "checking for $ac_word... " >&6; }
  38966. +if test "${ac_cv_prog_CC+set}" = set; then :
  38967. + $as_echo_n "(cached) " >&6
  38968. +else
  38969. + if test -n "$CC"; then
  38970. + ac_cv_prog_CC="$CC" # Let the user override the test.
  38971. +else
  38972. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  38973. +for as_dir in $PATH
  38974. +do
  38975. + IFS=$as_save_IFS
  38976. + test -z "$as_dir" && as_dir=.
  38977. + for ac_exec_ext in '' $ac_executable_extensions; do
  38978. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  38979. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  38980. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  38981. + break 2
  38982. + fi
  38983. +done
  38984. + done
  38985. +IFS=$as_save_IFS
  38986. +
  38987. +fi
  38988. +fi
  38989. +CC=$ac_cv_prog_CC
  38990. +if test -n "$CC"; then
  38991. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  38992. +$as_echo "$CC" >&6; }
  38993. +else
  38994. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  38995. +$as_echo "no" >&6; }
  38996. +fi
  38997. +
  38998. +
  38999. +fi
  39000. +if test -z "$ac_cv_prog_CC"; then
  39001. + ac_ct_CC=$CC
  39002. + # Extract the first word of "gcc", so it can be a program name with args.
  39003. +set dummy gcc; ac_word=$2
  39004. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39005. +$as_echo_n "checking for $ac_word... " >&6; }
  39006. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  39007. + $as_echo_n "(cached) " >&6
  39008. +else
  39009. + if test -n "$ac_ct_CC"; then
  39010. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  39011. +else
  39012. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39013. +for as_dir in $PATH
  39014. +do
  39015. + IFS=$as_save_IFS
  39016. + test -z "$as_dir" && as_dir=.
  39017. + for ac_exec_ext in '' $ac_executable_extensions; do
  39018. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39019. + ac_cv_prog_ac_ct_CC="gcc"
  39020. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39021. + break 2
  39022. + fi
  39023. +done
  39024. + done
  39025. +IFS=$as_save_IFS
  39026. +
  39027. +fi
  39028. +fi
  39029. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  39030. +if test -n "$ac_ct_CC"; then
  39031. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  39032. +$as_echo "$ac_ct_CC" >&6; }
  39033. +else
  39034. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39035. +$as_echo "no" >&6; }
  39036. +fi
  39037. +
  39038. + if test "x$ac_ct_CC" = x; then
  39039. + CC=""
  39040. + else
  39041. + case $cross_compiling:$ac_tool_warned in
  39042. +yes:)
  39043. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  39044. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  39045. +ac_tool_warned=yes ;;
  39046. +esac
  39047. + CC=$ac_ct_CC
  39048. + fi
  39049. +else
  39050. + CC="$ac_cv_prog_CC"
  39051. +fi
  39052. +
  39053. +if test -z "$CC"; then
  39054. + if test -n "$ac_tool_prefix"; then
  39055. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  39056. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  39057. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39058. +$as_echo_n "checking for $ac_word... " >&6; }
  39059. +if test "${ac_cv_prog_CC+set}" = set; then :
  39060. + $as_echo_n "(cached) " >&6
  39061. +else
  39062. + if test -n "$CC"; then
  39063. + ac_cv_prog_CC="$CC" # Let the user override the test.
  39064. +else
  39065. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39066. +for as_dir in $PATH
  39067. +do
  39068. + IFS=$as_save_IFS
  39069. + test -z "$as_dir" && as_dir=.
  39070. + for ac_exec_ext in '' $ac_executable_extensions; do
  39071. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39072. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  39073. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39074. + break 2
  39075. + fi
  39076. +done
  39077. + done
  39078. +IFS=$as_save_IFS
  39079. +
  39080. +fi
  39081. +fi
  39082. +CC=$ac_cv_prog_CC
  39083. +if test -n "$CC"; then
  39084. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  39085. +$as_echo "$CC" >&6; }
  39086. +else
  39087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39088. +$as_echo "no" >&6; }
  39089. +fi
  39090. +
  39091. +
  39092. + fi
  39093. +fi
  39094. +if test -z "$CC"; then
  39095. + # Extract the first word of "cc", so it can be a program name with args.
  39096. +set dummy cc; ac_word=$2
  39097. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39098. +$as_echo_n "checking for $ac_word... " >&6; }
  39099. +if test "${ac_cv_prog_CC+set}" = set; then :
  39100. + $as_echo_n "(cached) " >&6
  39101. +else
  39102. + if test -n "$CC"; then
  39103. + ac_cv_prog_CC="$CC" # Let the user override the test.
  39104. +else
  39105. + ac_prog_rejected=no
  39106. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39107. +for as_dir in $PATH
  39108. +do
  39109. + IFS=$as_save_IFS
  39110. + test -z "$as_dir" && as_dir=.
  39111. + for ac_exec_ext in '' $ac_executable_extensions; do
  39112. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39113. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  39114. + ac_prog_rejected=yes
  39115. + continue
  39116. + fi
  39117. + ac_cv_prog_CC="cc"
  39118. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39119. + break 2
  39120. + fi
  39121. +done
  39122. + done
  39123. +IFS=$as_save_IFS
  39124. +
  39125. +if test $ac_prog_rejected = yes; then
  39126. + # We found a bogon in the path, so make sure we never use it.
  39127. + set dummy $ac_cv_prog_CC
  39128. + shift
  39129. + if test $@%:@ != 0; then
  39130. + # We chose a different compiler from the bogus one.
  39131. + # However, it has the same basename, so the bogon will be chosen
  39132. + # first if we set CC to just the basename; use the full file name.
  39133. + shift
  39134. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  39135. + fi
  39136. +fi
  39137. +fi
  39138. +fi
  39139. +CC=$ac_cv_prog_CC
  39140. +if test -n "$CC"; then
  39141. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  39142. +$as_echo "$CC" >&6; }
  39143. +else
  39144. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39145. +$as_echo "no" >&6; }
  39146. +fi
  39147. +
  39148. +
  39149. +fi
  39150. +if test -z "$CC"; then
  39151. + if test -n "$ac_tool_prefix"; then
  39152. + for ac_prog in cl.exe
  39153. + do
  39154. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  39155. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  39156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39157. +$as_echo_n "checking for $ac_word... " >&6; }
  39158. +if test "${ac_cv_prog_CC+set}" = set; then :
  39159. + $as_echo_n "(cached) " >&6
  39160. +else
  39161. + if test -n "$CC"; then
  39162. + ac_cv_prog_CC="$CC" # Let the user override the test.
  39163. +else
  39164. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39165. +for as_dir in $PATH
  39166. +do
  39167. + IFS=$as_save_IFS
  39168. + test -z "$as_dir" && as_dir=.
  39169. + for ac_exec_ext in '' $ac_executable_extensions; do
  39170. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39171. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  39172. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39173. + break 2
  39174. + fi
  39175. +done
  39176. + done
  39177. +IFS=$as_save_IFS
  39178. +
  39179. +fi
  39180. +fi
  39181. +CC=$ac_cv_prog_CC
  39182. +if test -n "$CC"; then
  39183. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  39184. +$as_echo "$CC" >&6; }
  39185. +else
  39186. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39187. +$as_echo "no" >&6; }
  39188. +fi
  39189. +
  39190. +
  39191. + test -n "$CC" && break
  39192. + done
  39193. +fi
  39194. +if test -z "$CC"; then
  39195. + ac_ct_CC=$CC
  39196. + for ac_prog in cl.exe
  39197. +do
  39198. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  39199. +set dummy $ac_prog; ac_word=$2
  39200. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39201. +$as_echo_n "checking for $ac_word... " >&6; }
  39202. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  39203. + $as_echo_n "(cached) " >&6
  39204. +else
  39205. + if test -n "$ac_ct_CC"; then
  39206. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  39207. +else
  39208. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39209. +for as_dir in $PATH
  39210. +do
  39211. + IFS=$as_save_IFS
  39212. + test -z "$as_dir" && as_dir=.
  39213. + for ac_exec_ext in '' $ac_executable_extensions; do
  39214. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39215. + ac_cv_prog_ac_ct_CC="$ac_prog"
  39216. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39217. + break 2
  39218. + fi
  39219. +done
  39220. + done
  39221. +IFS=$as_save_IFS
  39222. +
  39223. +fi
  39224. +fi
  39225. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  39226. +if test -n "$ac_ct_CC"; then
  39227. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  39228. +$as_echo "$ac_ct_CC" >&6; }
  39229. +else
  39230. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  39231. +$as_echo "no" >&6; }
  39232. +fi
  39233. +
  39234. +
  39235. + test -n "$ac_ct_CC" && break
  39236. +done
  39237. +
  39238. + if test "x$ac_ct_CC" = x; then
  39239. + CC=""
  39240. + else
  39241. + case $cross_compiling:$ac_tool_warned in
  39242. +yes:)
  39243. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  39244. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  39245. +ac_tool_warned=yes ;;
  39246. +esac
  39247. + CC=$ac_ct_CC
  39248. + fi
  39249. +fi
  39250. +
  39251. +fi
  39252. +
  39253. +
  39254. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39255. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39256. +as_fn_error "no acceptable C compiler found in \$PATH
  39257. +See \`config.log' for more details." "$LINENO" 5; }
  39258. +
  39259. +# Provide some information about the compiler.
  39260. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  39261. +set X $ac_compile
  39262. +ac_compiler=$2
  39263. +for ac_option in --version -v -V -qversion; do
  39264. + { { ac_try="$ac_compiler $ac_option >&5"
  39265. +case "(($ac_try" in
  39266. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39267. + *) ac_try_echo=$ac_try;;
  39268. +esac
  39269. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39270. +$as_echo "$ac_try_echo"; } >&5
  39271. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  39272. + ac_status=$?
  39273. + if test -s conftest.err; then
  39274. + sed '10a\
  39275. +... rest of stderr output deleted ...
  39276. + 10q' conftest.err >conftest.er1
  39277. + cat conftest.er1 >&5
  39278. + rm -f conftest.er1 conftest.err
  39279. + fi
  39280. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39281. + test $ac_status = 0; }
  39282. +done
  39283. +
  39284. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39285. +/* end confdefs.h. */
  39286. +
  39287. +int
  39288. +main ()
  39289. +{
  39290. +
  39291. + ;
  39292. + return 0;
  39293. +}
  39294. +_ACEOF
  39295. +ac_clean_files_save=$ac_clean_files
  39296. +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  39297. +# Try to create an executable without -o first, disregard a.out.
  39298. +# It will help us diagnose broken compilers, and finding out an intuition
  39299. +# of exeext.
  39300. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  39301. +$as_echo_n "checking for C compiler default output file name... " >&6; }
  39302. +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  39303. +
  39304. +# The possible output files:
  39305. +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  39306. +
  39307. +ac_rmfiles=
  39308. +for ac_file in $ac_files
  39309. +do
  39310. + case $ac_file in
  39311. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  39312. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  39313. + esac
  39314. +done
  39315. +rm -f $ac_rmfiles
  39316. +
  39317. +if { { ac_try="$ac_link_default"
  39318. +case "(($ac_try" in
  39319. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39320. + *) ac_try_echo=$ac_try;;
  39321. +esac
  39322. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39323. +$as_echo "$ac_try_echo"; } >&5
  39324. + (eval "$ac_link_default") 2>&5
  39325. + ac_status=$?
  39326. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39327. + test $ac_status = 0; }; then :
  39328. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  39329. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  39330. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  39331. +# so that the user can short-circuit this test for compilers unknown to
  39332. +# Autoconf.
  39333. +for ac_file in $ac_files ''
  39334. +do
  39335. + test -f "$ac_file" || continue
  39336. + case $ac_file in
  39337. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  39338. + ;;
  39339. + [ab].out )
  39340. + # We found the default executable, but exeext='' is most
  39341. + # certainly right.
  39342. + break;;
  39343. + *.* )
  39344. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  39345. + then :; else
  39346. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  39347. + fi
  39348. + # We set ac_cv_exeext here because the later test for it is not
  39349. + # safe: cross compilers may not add the suffix if given an `-o'
  39350. + # argument, so we may need to know it at that point already.
  39351. + # Even if this section looks crufty: it has the advantage of
  39352. + # actually working.
  39353. + break;;
  39354. + * )
  39355. + break;;
  39356. + esac
  39357. +done
  39358. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  39359. +
  39360. +else
  39361. + ac_file=''
  39362. +fi
  39363. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  39364. +$as_echo "$ac_file" >&6; }
  39365. +if test -z "$ac_file"; then :
  39366. + $as_echo "$as_me: failed program was:" >&5
  39367. +sed 's/^/| /' conftest.$ac_ext >&5
  39368. +
  39369. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39370. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39371. +{ as_fn_set_status 77
  39372. +as_fn_error "C compiler cannot create executables
  39373. +See \`config.log' for more details." "$LINENO" 5; }; }
  39374. +fi
  39375. +ac_exeext=$ac_cv_exeext
  39376. +
  39377. +# Check that the compiler produces executables we can run. If not, either
  39378. +# the compiler is broken, or we cross compile.
  39379. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  39380. +$as_echo_n "checking whether the C compiler works... " >&6; }
  39381. +# If not cross compiling, check that we can run a simple program.
  39382. +if test "$cross_compiling" != yes; then
  39383. + if { ac_try='./$ac_file'
  39384. + { { case "(($ac_try" in
  39385. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39386. + *) ac_try_echo=$ac_try;;
  39387. +esac
  39388. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39389. +$as_echo "$ac_try_echo"; } >&5
  39390. + (eval "$ac_try") 2>&5
  39391. + ac_status=$?
  39392. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39393. + test $ac_status = 0; }; }; then
  39394. + cross_compiling=no
  39395. + else
  39396. + if test "$cross_compiling" = maybe; then
  39397. + cross_compiling=yes
  39398. + else
  39399. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39400. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39401. +as_fn_error "cannot run C compiled programs.
  39402. +If you meant to cross compile, use \`--host'.
  39403. +See \`config.log' for more details." "$LINENO" 5; }
  39404. + fi
  39405. + fi
  39406. +fi
  39407. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39408. +$as_echo "yes" >&6; }
  39409. +
  39410. +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  39411. +ac_clean_files=$ac_clean_files_save
  39412. +# Check that the compiler produces executables we can run. If not, either
  39413. +# the compiler is broken, or we cross compile.
  39414. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  39415. +$as_echo_n "checking whether we are cross compiling... " >&6; }
  39416. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  39417. +$as_echo "$cross_compiling" >&6; }
  39418. +
  39419. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  39420. +$as_echo_n "checking for suffix of executables... " >&6; }
  39421. +if { { ac_try="$ac_link"
  39422. +case "(($ac_try" in
  39423. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39424. + *) ac_try_echo=$ac_try;;
  39425. +esac
  39426. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39427. +$as_echo "$ac_try_echo"; } >&5
  39428. + (eval "$ac_link") 2>&5
  39429. + ac_status=$?
  39430. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39431. + test $ac_status = 0; }; then :
  39432. + # If both `conftest.exe' and `conftest' are `present' (well, observable)
  39433. +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  39434. +# work properly (i.e., refer to `conftest.exe'), while it won't with
  39435. +# `rm'.
  39436. +for ac_file in conftest.exe conftest conftest.*; do
  39437. + test -f "$ac_file" || continue
  39438. + case $ac_file in
  39439. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  39440. + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  39441. + break;;
  39442. + * ) break;;
  39443. + esac
  39444. +done
  39445. +else
  39446. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39447. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39448. +as_fn_error "cannot compute suffix of executables: cannot compile and link
  39449. +See \`config.log' for more details." "$LINENO" 5; }
  39450. +fi
  39451. +rm -f conftest$ac_cv_exeext
  39452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  39453. +$as_echo "$ac_cv_exeext" >&6; }
  39454. +
  39455. +rm -f conftest.$ac_ext
  39456. +EXEEXT=$ac_cv_exeext
  39457. +ac_exeext=$EXEEXT
  39458. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  39459. +$as_echo_n "checking for suffix of object files... " >&6; }
  39460. +if test "${ac_cv_objext+set}" = set; then :
  39461. + $as_echo_n "(cached) " >&6
  39462. +else
  39463. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39464. +/* end confdefs.h. */
  39465. +
  39466. +int
  39467. +main ()
  39468. +{
  39469. +
  39470. + ;
  39471. + return 0;
  39472. +}
  39473. +_ACEOF
  39474. +rm -f conftest.o conftest.obj
  39475. +if { { ac_try="$ac_compile"
  39476. +case "(($ac_try" in
  39477. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  39478. + *) ac_try_echo=$ac_try;;
  39479. +esac
  39480. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  39481. +$as_echo "$ac_try_echo"; } >&5
  39482. + (eval "$ac_compile") 2>&5
  39483. + ac_status=$?
  39484. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  39485. + test $ac_status = 0; }; then :
  39486. + for ac_file in conftest.o conftest.obj conftest.*; do
  39487. + test -f "$ac_file" || continue;
  39488. + case $ac_file in
  39489. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  39490. + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  39491. + break;;
  39492. + esac
  39493. +done
  39494. +else
  39495. + $as_echo "$as_me: failed program was:" >&5
  39496. +sed 's/^/| /' conftest.$ac_ext >&5
  39497. +
  39498. +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  39499. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  39500. +as_fn_error "cannot compute suffix of object files: cannot compile
  39501. +See \`config.log' for more details." "$LINENO" 5; }
  39502. +fi
  39503. +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  39504. +fi
  39505. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  39506. +$as_echo "$ac_cv_objext" >&6; }
  39507. +OBJEXT=$ac_cv_objext
  39508. +ac_objext=$OBJEXT
  39509. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  39510. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  39511. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  39512. + $as_echo_n "(cached) " >&6
  39513. +else
  39514. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39515. +/* end confdefs.h. */
  39516. +
  39517. +int
  39518. +main ()
  39519. +{
  39520. +#ifndef __GNUC__
  39521. + choke me
  39522. +#endif
  39523. +
  39524. + ;
  39525. + return 0;
  39526. +}
  39527. +_ACEOF
  39528. +if ac_fn_c_try_compile "$LINENO"; then :
  39529. + ac_compiler_gnu=yes
  39530. +else
  39531. + ac_compiler_gnu=no
  39532. +fi
  39533. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39534. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  39535. +
  39536. +fi
  39537. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  39538. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  39539. +if test $ac_compiler_gnu = yes; then
  39540. + GCC=yes
  39541. +else
  39542. + GCC=
  39543. +fi
  39544. +ac_test_CFLAGS=${CFLAGS+set}
  39545. +ac_save_CFLAGS=$CFLAGS
  39546. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  39547. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  39548. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  39549. + $as_echo_n "(cached) " >&6
  39550. +else
  39551. + ac_save_c_werror_flag=$ac_c_werror_flag
  39552. + ac_c_werror_flag=yes
  39553. + ac_cv_prog_cc_g=no
  39554. + CFLAGS="-g"
  39555. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39556. +/* end confdefs.h. */
  39557. +
  39558. +int
  39559. +main ()
  39560. +{
  39561. +
  39562. + ;
  39563. + return 0;
  39564. +}
  39565. +_ACEOF
  39566. +if ac_fn_c_try_compile "$LINENO"; then :
  39567. + ac_cv_prog_cc_g=yes
  39568. +else
  39569. + CFLAGS=""
  39570. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39571. +/* end confdefs.h. */
  39572. +
  39573. +int
  39574. +main ()
  39575. +{
  39576. +
  39577. + ;
  39578. + return 0;
  39579. +}
  39580. +_ACEOF
  39581. +if ac_fn_c_try_compile "$LINENO"; then :
  39582. +
  39583. +else
  39584. + ac_c_werror_flag=$ac_save_c_werror_flag
  39585. + CFLAGS="-g"
  39586. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39587. +/* end confdefs.h. */
  39588. +
  39589. +int
  39590. +main ()
  39591. +{
  39592. +
  39593. + ;
  39594. + return 0;
  39595. +}
  39596. +_ACEOF
  39597. +if ac_fn_c_try_compile "$LINENO"; then :
  39598. + ac_cv_prog_cc_g=yes
  39599. +fi
  39600. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39601. +fi
  39602. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39603. +fi
  39604. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  39605. + ac_c_werror_flag=$ac_save_c_werror_flag
  39606. +fi
  39607. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  39608. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  39609. +if test "$ac_test_CFLAGS" = set; then
  39610. + CFLAGS=$ac_save_CFLAGS
  39611. +elif test $ac_cv_prog_cc_g = yes; then
  39612. + if test "$GCC" = yes; then
  39613. + CFLAGS="-g -O2"
  39614. + else
  39615. + CFLAGS="-g"
  39616. + fi
  39617. +else
  39618. + if test "$GCC" = yes; then
  39619. + CFLAGS="-O2"
  39620. + else
  39621. + CFLAGS=
  39622. + fi
  39623. +fi
  39624. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  39625. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  39626. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  39627. + $as_echo_n "(cached) " >&6
  39628. +else
  39629. + ac_cv_prog_cc_c89=no
  39630. +ac_save_CC=$CC
  39631. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39632. +/* end confdefs.h. */
  39633. +#include <stdarg.h>
  39634. +#include <stdio.h>
  39635. +#include <sys/types.h>
  39636. +#include <sys/stat.h>
  39637. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  39638. +struct buf { int x; };
  39639. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  39640. +static char *e (p, i)
  39641. + char **p;
  39642. + int i;
  39643. +{
  39644. + return p[i];
  39645. +}
  39646. +static char *f (char * (*g) (char **, int), char **p, ...)
  39647. +{
  39648. + char *s;
  39649. + va_list v;
  39650. + va_start (v,p);
  39651. + s = g (p, va_arg (v,int));
  39652. + va_end (v);
  39653. + return s;
  39654. +}
  39655. +
  39656. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  39657. + function prototypes and stuff, but not '\xHH' hex character constants.
  39658. + These don't provoke an error unfortunately, instead are silently treated
  39659. + as 'x'. The following induces an error, until -std is added to get
  39660. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  39661. + array size at least. It's necessary to write '\x00'==0 to get something
  39662. + that's true only with -std. */
  39663. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  39664. +
  39665. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  39666. + inside strings and character constants. */
  39667. +#define FOO(x) 'x'
  39668. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  39669. +
  39670. +int test (int i, double x);
  39671. +struct s1 {int (*f) (int a);};
  39672. +struct s2 {int (*f) (double a);};
  39673. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  39674. +int argc;
  39675. +char **argv;
  39676. +int
  39677. +main ()
  39678. +{
  39679. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  39680. + ;
  39681. + return 0;
  39682. +}
  39683. +_ACEOF
  39684. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  39685. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  39686. +do
  39687. + CC="$ac_save_CC $ac_arg"
  39688. + if ac_fn_c_try_compile "$LINENO"; then :
  39689. + ac_cv_prog_cc_c89=$ac_arg
  39690. +fi
  39691. +rm -f core conftest.err conftest.$ac_objext
  39692. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  39693. +done
  39694. +rm -f conftest.$ac_ext
  39695. +CC=$ac_save_CC
  39696. +
  39697. +fi
  39698. +# AC_CACHE_VAL
  39699. +case "x$ac_cv_prog_cc_c89" in
  39700. + x)
  39701. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  39702. +$as_echo "none needed" >&6; } ;;
  39703. + xno)
  39704. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  39705. +$as_echo "unsupported" >&6; } ;;
  39706. + *)
  39707. + CC="$CC $ac_cv_prog_cc_c89"
  39708. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  39709. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  39710. +esac
  39711. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  39712. +
  39713. +fi
  39714. +
  39715. +ac_ext=c
  39716. +ac_cpp='$CPP $CPPFLAGS'
  39717. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  39718. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  39719. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  39720. +
  39721. +
  39722. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
  39723. +$as_echo_n "checking for library containing strerror... " >&6; }
  39724. +if test "${ac_cv_search_strerror+set}" = set; then :
  39725. + $as_echo_n "(cached) " >&6
  39726. +else
  39727. + ac_func_search_save_LIBS=$LIBS
  39728. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  39729. +/* end confdefs.h. */
  39730. +
  39731. +/* Override any GCC internal prototype to avoid an error.
  39732. + Use char because int might match the return type of a GCC
  39733. + builtin and then its argument prototype would still apply. */
  39734. +#ifdef __cplusplus
  39735. +extern "C"
  39736. +#endif
  39737. +char strerror ();
  39738. +int
  39739. +main ()
  39740. +{
  39741. +return strerror ();
  39742. + ;
  39743. + return 0;
  39744. +}
  39745. +_ACEOF
  39746. +for ac_lib in '' cposix; do
  39747. + if test -z "$ac_lib"; then
  39748. + ac_res="none required"
  39749. + else
  39750. + ac_res=-l$ac_lib
  39751. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  39752. + fi
  39753. + if ac_fn_c_try_link "$LINENO"; then :
  39754. + ac_cv_search_strerror=$ac_res
  39755. +fi
  39756. +rm -f core conftest.err conftest.$ac_objext \
  39757. + conftest$ac_exeext
  39758. + if test "${ac_cv_search_strerror+set}" = set; then :
  39759. + break
  39760. +fi
  39761. +done
  39762. +if test "${ac_cv_search_strerror+set}" = set; then :
  39763. +
  39764. +else
  39765. + ac_cv_search_strerror=no
  39766. +fi
  39767. +rm conftest.$ac_ext
  39768. +LIBS=$ac_func_search_save_LIBS
  39769. +fi
  39770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
  39771. +$as_echo "$ac_cv_search_strerror" >&6; }
  39772. +ac_res=$ac_cv_search_strerror
  39773. +if test "$ac_res" != no; then :
  39774. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  39775. +
  39776. +fi
  39777. +
  39778. +
  39779. +BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
  39780. +am__api_version='1.11'
  39781. +
  39782. +# Find a good install program. We prefer a C program (faster),
  39783. +# so one script is as good as another. But avoid the broken or
  39784. +# incompatible versions:
  39785. +# SysV /etc/install, /usr/sbin/install
  39786. +# SunOS /usr/etc/install
  39787. +# IRIX /sbin/install
  39788. +# AIX /bin/install
  39789. +# AmigaOS /C/install, which installs bootblocks on floppy discs
  39790. +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  39791. +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  39792. +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  39793. +# OS/2's system install, which has a completely different semantic
  39794. +# ./install, which can be erroneously created by make from ./install.sh.
  39795. +# Reject install programs that cannot install multiple files.
  39796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  39797. +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  39798. +if test -z "$INSTALL"; then
  39799. +if test "${ac_cv_path_install+set}" = set; then :
  39800. + $as_echo_n "(cached) " >&6
  39801. +else
  39802. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39803. +for as_dir in $PATH
  39804. +do
  39805. + IFS=$as_save_IFS
  39806. + test -z "$as_dir" && as_dir=.
  39807. + # Account for people who put trailing slashes in PATH elements.
  39808. +case $as_dir/ in @%:@((
  39809. + ./ | .// | /[cC]/* | \
  39810. + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  39811. + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  39812. + /usr/ucb/* ) ;;
  39813. + *)
  39814. + # OSF1 and SCO ODT 3.0 have their own names for install.
  39815. + # Don't use installbsd from OSF since it installs stuff as root
  39816. + # by default.
  39817. + for ac_prog in ginstall scoinst install; do
  39818. + for ac_exec_ext in '' $ac_executable_extensions; do
  39819. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  39820. + if test $ac_prog = install &&
  39821. + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  39822. + # AIX install. It has an incompatible calling convention.
  39823. + :
  39824. + elif test $ac_prog = install &&
  39825. + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  39826. + # program-specific install script used by HP pwplus--don't use.
  39827. + :
  39828. + else
  39829. + rm -rf conftest.one conftest.two conftest.dir
  39830. + echo one > conftest.one
  39831. + echo two > conftest.two
  39832. + mkdir conftest.dir
  39833. + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  39834. + test -s conftest.one && test -s conftest.two &&
  39835. + test -s conftest.dir/conftest.one &&
  39836. + test -s conftest.dir/conftest.two
  39837. + then
  39838. + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  39839. + break 3
  39840. + fi
  39841. + fi
  39842. + fi
  39843. + done
  39844. + done
  39845. + ;;
  39846. +esac
  39847. +
  39848. + done
  39849. +IFS=$as_save_IFS
  39850. +
  39851. +rm -rf conftest.one conftest.two conftest.dir
  39852. +
  39853. +fi
  39854. + if test "${ac_cv_path_install+set}" = set; then
  39855. + INSTALL=$ac_cv_path_install
  39856. + else
  39857. + # As a last resort, use the slow shell script. Don't cache a
  39858. + # value for INSTALL within a source directory, because that will
  39859. + # break other packages using the cache if that directory is
  39860. + # removed, or if the value is a relative name.
  39861. + INSTALL=$ac_install_sh
  39862. + fi
  39863. +fi
  39864. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  39865. +$as_echo "$INSTALL" >&6; }
  39866. +
  39867. +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  39868. +# It thinks the first close brace ends the variable substitution.
  39869. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  39870. +
  39871. +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  39872. +
  39873. +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  39874. +
  39875. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  39876. +$as_echo_n "checking whether build environment is sane... " >&6; }
  39877. +# Just in case
  39878. +sleep 1
  39879. +echo timestamp > conftest.file
  39880. +# Reject unsafe characters in $srcdir or the absolute working directory
  39881. +# name. Accept space and tab only in the latter.
  39882. +am_lf='
  39883. +'
  39884. +case `pwd` in
  39885. + *[\\\"\#\$\&\'\`$am_lf]*)
  39886. + as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  39887. +esac
  39888. +case $srcdir in
  39889. + *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  39890. + as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  39891. +esac
  39892. +
  39893. +# Do `set' in a subshell so we don't clobber the current shell's
  39894. +# arguments. Must try -L first in case configure is actually a
  39895. +# symlink; some systems play weird games with the mod time of symlinks
  39896. +# (eg FreeBSD returns the mod time of the symlink's containing
  39897. +# directory).
  39898. +if (
  39899. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  39900. + if test "$*" = "X"; then
  39901. + # -L didn't work.
  39902. + set X `ls -t "$srcdir/configure" conftest.file`
  39903. + fi
  39904. + rm -f conftest.file
  39905. + if test "$*" != "X $srcdir/configure conftest.file" \
  39906. + && test "$*" != "X conftest.file $srcdir/configure"; then
  39907. +
  39908. + # If neither matched, then we have a broken ls. This can happen
  39909. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  39910. + # broken ls alias from the environment. This has actually
  39911. + # happened. Such a system could not be considered "sane".
  39912. + as_fn_error "ls -t appears to fail. Make sure there is not a broken
  39913. +alias in your environment" "$LINENO" 5
  39914. + fi
  39915. +
  39916. + test "$2" = conftest.file
  39917. + )
  39918. +then
  39919. + # Ok.
  39920. + :
  39921. +else
  39922. + as_fn_error "newly created file is older than distributed files!
  39923. +Check your system clock" "$LINENO" 5
  39924. +fi
  39925. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  39926. +$as_echo "yes" >&6; }
  39927. +test "$program_prefix" != NONE &&
  39928. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  39929. +# Use a double $ so make ignores it.
  39930. +test "$program_suffix" != NONE &&
  39931. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  39932. +# Double any \ or $.
  39933. +# By default was `s,x,x', remove it if useless.
  39934. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  39935. +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  39936. +
  39937. +# expand $ac_aux_dir to an absolute path
  39938. +am_aux_dir=`cd $ac_aux_dir && pwd`
  39939. +
  39940. +if test x"${MISSING+set}" != xset; then
  39941. + case $am_aux_dir in
  39942. + *\ * | *\ *)
  39943. + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  39944. + *)
  39945. + MISSING="\${SHELL} $am_aux_dir/missing" ;;
  39946. + esac
  39947. +fi
  39948. +# Use eval to expand $SHELL
  39949. +if eval "$MISSING --run true"; then
  39950. + am_missing_run="$MISSING --run "
  39951. +else
  39952. + am_missing_run=
  39953. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  39954. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  39955. +fi
  39956. +
  39957. +if test x"${install_sh}" != xset; then
  39958. + case $am_aux_dir in
  39959. + *\ * | *\ *)
  39960. + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  39961. + *)
  39962. + install_sh="\${SHELL} $am_aux_dir/install-sh"
  39963. + esac
  39964. +fi
  39965. +
  39966. +# Installed binaries are usually stripped using `strip' when the user
  39967. +# run `make install-strip'. However `strip' might not be the right
  39968. +# tool to use in cross-compilation environments, therefore Automake
  39969. +# will honor the `STRIP' environment variable to overrule this program.
  39970. +if test "$cross_compiling" != no; then
  39971. + if test -n "$ac_tool_prefix"; then
  39972. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  39973. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  39974. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  39975. +$as_echo_n "checking for $ac_word... " >&6; }
  39976. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  39977. + $as_echo_n "(cached) " >&6
  39978. +else
  39979. + if test -n "$STRIP"; then
  39980. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  39981. +else
  39982. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  39983. +for as_dir in $PATH
  39984. +do
  39985. + IFS=$as_save_IFS
  39986. + test -z "$as_dir" && as_dir=.
  39987. + for ac_exec_ext in '' $ac_executable_extensions; do
  39988. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  39989. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  39990. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  39991. + break 2
  39992. + fi
  39993. +done
  39994. + done
  39995. +IFS=$as_save_IFS
  39996. +
  39997. +fi
  39998. +fi
  39999. +STRIP=$ac_cv_prog_STRIP
  40000. +if test -n "$STRIP"; then
  40001. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  40002. +$as_echo "$STRIP" >&6; }
  40003. +else
  40004. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40005. +$as_echo "no" >&6; }
  40006. +fi
  40007. +
  40008. +
  40009. +fi
  40010. +if test -z "$ac_cv_prog_STRIP"; then
  40011. + ac_ct_STRIP=$STRIP
  40012. + # Extract the first word of "strip", so it can be a program name with args.
  40013. +set dummy strip; ac_word=$2
  40014. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40015. +$as_echo_n "checking for $ac_word... " >&6; }
  40016. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  40017. + $as_echo_n "(cached) " >&6
  40018. +else
  40019. + if test -n "$ac_ct_STRIP"; then
  40020. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  40021. +else
  40022. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40023. +for as_dir in $PATH
  40024. +do
  40025. + IFS=$as_save_IFS
  40026. + test -z "$as_dir" && as_dir=.
  40027. + for ac_exec_ext in '' $ac_executable_extensions; do
  40028. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  40029. + ac_cv_prog_ac_ct_STRIP="strip"
  40030. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40031. + break 2
  40032. + fi
  40033. +done
  40034. + done
  40035. +IFS=$as_save_IFS
  40036. +
  40037. +fi
  40038. +fi
  40039. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  40040. +if test -n "$ac_ct_STRIP"; then
  40041. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  40042. +$as_echo "$ac_ct_STRIP" >&6; }
  40043. +else
  40044. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40045. +$as_echo "no" >&6; }
  40046. +fi
  40047. +
  40048. + if test "x$ac_ct_STRIP" = x; then
  40049. + STRIP=":"
  40050. + else
  40051. + case $cross_compiling:$ac_tool_warned in
  40052. +yes:)
  40053. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  40054. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  40055. +ac_tool_warned=yes ;;
  40056. +esac
  40057. + STRIP=$ac_ct_STRIP
  40058. + fi
  40059. +else
  40060. + STRIP="$ac_cv_prog_STRIP"
  40061. +fi
  40062. +
  40063. +fi
  40064. +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  40065. +
  40066. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  40067. +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  40068. +if test -z "$MKDIR_P"; then
  40069. + if test "${ac_cv_path_mkdir+set}" = set; then :
  40070. + $as_echo_n "(cached) " >&6
  40071. +else
  40072. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40073. +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  40074. +do
  40075. + IFS=$as_save_IFS
  40076. + test -z "$as_dir" && as_dir=.
  40077. + for ac_prog in mkdir gmkdir; do
  40078. + for ac_exec_ext in '' $ac_executable_extensions; do
  40079. + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  40080. + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  40081. + 'mkdir (GNU coreutils) '* | \
  40082. + 'mkdir (coreutils) '* | \
  40083. + 'mkdir (fileutils) '4.1*)
  40084. + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  40085. + break 3;;
  40086. + esac
  40087. + done
  40088. + done
  40089. + done
  40090. +IFS=$as_save_IFS
  40091. +
  40092. +fi
  40093. +
  40094. + if test "${ac_cv_path_mkdir+set}" = set; then
  40095. + MKDIR_P="$ac_cv_path_mkdir -p"
  40096. + else
  40097. + # As a last resort, use the slow shell script. Don't cache a
  40098. + # value for MKDIR_P within a source directory, because that will
  40099. + # break other packages using the cache if that directory is
  40100. + # removed, or if the value is a relative name.
  40101. + test -d ./--version && rmdir ./--version
  40102. + MKDIR_P="$ac_install_sh -d"
  40103. + fi
  40104. +fi
  40105. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  40106. +$as_echo "$MKDIR_P" >&6; }
  40107. +
  40108. +mkdir_p="$MKDIR_P"
  40109. +case $mkdir_p in
  40110. + [\\/$]* | ?:[\\/]*) ;;
  40111. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  40112. +esac
  40113. +
  40114. +for ac_prog in gawk mawk nawk awk
  40115. +do
  40116. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  40117. +set dummy $ac_prog; ac_word=$2
  40118. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40119. +$as_echo_n "checking for $ac_word... " >&6; }
  40120. +if test "${ac_cv_prog_AWK+set}" = set; then :
  40121. + $as_echo_n "(cached) " >&6
  40122. +else
  40123. + if test -n "$AWK"; then
  40124. + ac_cv_prog_AWK="$AWK" # Let the user override the test.
  40125. +else
  40126. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40127. +for as_dir in $PATH
  40128. +do
  40129. + IFS=$as_save_IFS
  40130. + test -z "$as_dir" && as_dir=.
  40131. + for ac_exec_ext in '' $ac_executable_extensions; do
  40132. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  40133. + ac_cv_prog_AWK="$ac_prog"
  40134. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40135. + break 2
  40136. + fi
  40137. +done
  40138. + done
  40139. +IFS=$as_save_IFS
  40140. +
  40141. +fi
  40142. +fi
  40143. +AWK=$ac_cv_prog_AWK
  40144. +if test -n "$AWK"; then
  40145. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  40146. +$as_echo "$AWK" >&6; }
  40147. +else
  40148. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40149. +$as_echo "no" >&6; }
  40150. +fi
  40151. +
  40152. +
  40153. + test -n "$AWK" && break
  40154. +done
  40155. +
  40156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  40157. +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  40158. +set x ${MAKE-make}
  40159. +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  40160. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  40161. + $as_echo_n "(cached) " >&6
  40162. +else
  40163. + cat >conftest.make <<\_ACEOF
  40164. +SHELL = /bin/sh
  40165. +all:
  40166. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  40167. +_ACEOF
  40168. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  40169. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  40170. + *@@@%%%=?*=@@@%%%*)
  40171. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  40172. + *)
  40173. + eval ac_cv_prog_make_${ac_make}_set=no;;
  40174. +esac
  40175. +rm -f conftest.make
  40176. +fi
  40177. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  40178. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  40179. +$as_echo "yes" >&6; }
  40180. + SET_MAKE=
  40181. +else
  40182. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40183. +$as_echo "no" >&6; }
  40184. + SET_MAKE="MAKE=${MAKE-make}"
  40185. +fi
  40186. +
  40187. +rm -rf .tst 2>/dev/null
  40188. +mkdir .tst 2>/dev/null
  40189. +if test -d .tst; then
  40190. + am__leading_dot=.
  40191. +else
  40192. + am__leading_dot=_
  40193. +fi
  40194. +rmdir .tst 2>/dev/null
  40195. +
  40196. +DEPDIR="${am__leading_dot}deps"
  40197. +
  40198. +ac_config_commands="$ac_config_commands depfiles"
  40199. +
  40200. +
  40201. +am_make=${MAKE-make}
  40202. +cat > confinc << 'END'
  40203. +am__doit:
  40204. + @echo this is the am__doit target
  40205. +.PHONY: am__doit
  40206. +END
  40207. +# If we don't find an include directive, just comment out the code.
  40208. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  40209. +$as_echo_n "checking for style of include used by $am_make... " >&6; }
  40210. +am__include="#"
  40211. +am__quote=
  40212. +_am_result=none
  40213. +# First try GNU make style include.
  40214. +echo "include confinc" > confmf
  40215. +# Ignore all kinds of additional output from `make'.
  40216. +case `$am_make -s -f confmf 2> /dev/null` in #(
  40217. +*the\ am__doit\ target*)
  40218. + am__include=include
  40219. + am__quote=
  40220. + _am_result=GNU
  40221. + ;;
  40222. +esac
  40223. +# Now try BSD make style include.
  40224. +if test "$am__include" = "#"; then
  40225. + echo '.include "confinc"' > confmf
  40226. + case `$am_make -s -f confmf 2> /dev/null` in #(
  40227. + *the\ am__doit\ target*)
  40228. + am__include=.include
  40229. + am__quote="\""
  40230. + _am_result=BSD
  40231. + ;;
  40232. + esac
  40233. +fi
  40234. +
  40235. +
  40236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  40237. +$as_echo "$_am_result" >&6; }
  40238. +rm -f confinc confmf
  40239. +
  40240. +@%:@ Check whether --enable-dependency-tracking was given.
  40241. +if test "${enable_dependency_tracking+set}" = set; then :
  40242. + enableval=$enable_dependency_tracking;
  40243. +fi
  40244. +
  40245. +if test "x$enable_dependency_tracking" != xno; then
  40246. + am_depcomp="$ac_aux_dir/depcomp"
  40247. + AMDEPBACKSLASH='\'
  40248. +fi
  40249. + if test "x$enable_dependency_tracking" != xno; then
  40250. + AMDEP_TRUE=
  40251. + AMDEP_FALSE='#'
  40252. +else
  40253. + AMDEP_TRUE='#'
  40254. + AMDEP_FALSE=
  40255. +fi
  40256. +
  40257. +
  40258. +if test "`cd $srcdir && pwd`" != "`pwd`"; then
  40259. + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  40260. + # is not polluted with repeated "-I."
  40261. + am__isrc=' -I$(srcdir)'
  40262. + # test to see if srcdir already configured
  40263. + if test -f $srcdir/config.status; then
  40264. + as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  40265. + fi
  40266. +fi
  40267. +
  40268. +# test whether we have cygpath
  40269. +if test -z "$CYGPATH_W"; then
  40270. + if (cygpath --version) >/dev/null 2>/dev/null; then
  40271. + CYGPATH_W='cygpath -w'
  40272. + else
  40273. + CYGPATH_W=echo
  40274. + fi
  40275. +fi
  40276. +
  40277. +
  40278. +# Define the identity of the package.
  40279. + PACKAGE=ld
  40280. + VERSION=${BFD_VERSION}
  40281. +
  40282. +
  40283. +cat >>confdefs.h <<_ACEOF
  40284. +@%:@define PACKAGE "$PACKAGE"
  40285. +_ACEOF
  40286. +
  40287. +
  40288. +cat >>confdefs.h <<_ACEOF
  40289. +@%:@define VERSION "$VERSION"
  40290. +_ACEOF
  40291. +
  40292. +# Some tools Automake needs.
  40293. +
  40294. +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  40295. +
  40296. +
  40297. +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  40298. +
  40299. +
  40300. +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  40301. +
  40302. +
  40303. +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  40304. +
  40305. +
  40306. +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  40307. +
  40308. +# We need awk for the "check" target. The system "awk" is bad on
  40309. +# some platforms.
  40310. +# Always define AMTAR for backward compatibility.
  40311. +
  40312. +AMTAR=${AMTAR-"${am_missing_run}tar"}
  40313. +
  40314. +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  40315. +
  40316. +
  40317. +
  40318. +
  40319. +depcc="$CC" am_compiler_list=
  40320. +
  40321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  40322. +$as_echo_n "checking dependency style of $depcc... " >&6; }
  40323. +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  40324. + $as_echo_n "(cached) " >&6
  40325. +else
  40326. + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  40327. + # We make a subdir and do the tests there. Otherwise we can end up
  40328. + # making bogus files that we don't know about and never remove. For
  40329. + # instance it was reported that on HP-UX the gcc test will end up
  40330. + # making a dummy file named `D' -- because `-MD' means `put the output
  40331. + # in D'.
  40332. + mkdir conftest.dir
  40333. + # Copy depcomp to subdir because otherwise we won't find it if we're
  40334. + # using a relative directory.
  40335. + cp "$am_depcomp" conftest.dir
  40336. + cd conftest.dir
  40337. + # We will build objects and dependencies in a subdirectory because
  40338. + # it helps to detect inapplicable dependency modes. For instance
  40339. + # both Tru64's cc and ICC support -MD to output dependencies as a
  40340. + # side effect of compilation, but ICC will put the dependencies in
  40341. + # the current directory while Tru64 will put them in the object
  40342. + # directory.
  40343. + mkdir sub
  40344. +
  40345. + am_cv_CC_dependencies_compiler_type=none
  40346. + if test "$am_compiler_list" = ""; then
  40347. + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  40348. + fi
  40349. + am__universal=false
  40350. + case " $depcc " in #(
  40351. + *\ -arch\ *\ -arch\ *) am__universal=true ;;
  40352. + esac
  40353. +
  40354. + for depmode in $am_compiler_list; do
  40355. + # Setup a source with many dependencies, because some compilers
  40356. + # like to wrap large dependency lists on column 80 (with \), and
  40357. + # we should not choose a depcomp mode which is confused by this.
  40358. + #
  40359. + # We need to recreate these files for each test, as the compiler may
  40360. + # overwrite some of them when testing with obscure command lines.
  40361. + # This happens at least with the AIX C compiler.
  40362. + : > sub/conftest.c
  40363. + for i in 1 2 3 4 5 6; do
  40364. + echo '#include "conftst'$i'.h"' >> sub/conftest.c
  40365. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  40366. + # Solaris 8's {/usr,}/bin/sh.
  40367. + touch sub/conftst$i.h
  40368. + done
  40369. + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  40370. +
  40371. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  40372. + # mode. It turns out that the SunPro C++ compiler does not properly
  40373. + # handle `-M -o', and we need to detect this. Also, some Intel
  40374. + # versions had trouble with output in subdirs
  40375. + am__obj=sub/conftest.${OBJEXT-o}
  40376. + am__minus_obj="-o $am__obj"
  40377. + case $depmode in
  40378. + gcc)
  40379. + # This depmode causes a compiler race in universal mode.
  40380. + test "$am__universal" = false || continue
  40381. + ;;
  40382. + nosideeffect)
  40383. + # after this tag, mechanisms are not by side-effect, so they'll
  40384. + # only be used when explicitly requested
  40385. + if test "x$enable_dependency_tracking" = xyes; then
  40386. + continue
  40387. + else
  40388. + break
  40389. + fi
  40390. + ;;
  40391. + msvisualcpp | msvcmsys)
  40392. + # This compiler won't grok `-c -o', but also, the minuso test has
  40393. + # not run yet. These depmodes are late enough in the game, and
  40394. + # so weak that their functioning should not be impacted.
  40395. + am__obj=conftest.${OBJEXT-o}
  40396. + am__minus_obj=
  40397. + ;;
  40398. + none) break ;;
  40399. + esac
  40400. + if depmode=$depmode \
  40401. + source=sub/conftest.c object=$am__obj \
  40402. + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  40403. + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  40404. + >/dev/null 2>conftest.err &&
  40405. + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  40406. + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  40407. + grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  40408. + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  40409. + # icc doesn't choke on unknown options, it will just issue warnings
  40410. + # or remarks (even with -Werror). So we grep stderr for any message
  40411. + # that says an option was ignored or not supported.
  40412. + # When given -MP, icc 7.0 and 7.1 complain thusly:
  40413. + # icc: Command line warning: ignoring option '-M'; no argument required
  40414. + # The diagnosis changed in icc 8.0:
  40415. + # icc: Command line remark: option '-MP' not supported
  40416. + if (grep 'ignoring option' conftest.err ||
  40417. + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  40418. + am_cv_CC_dependencies_compiler_type=$depmode
  40419. + break
  40420. + fi
  40421. + fi
  40422. + done
  40423. +
  40424. + cd ..
  40425. + rm -rf conftest.dir
  40426. +else
  40427. + am_cv_CC_dependencies_compiler_type=none
  40428. +fi
  40429. +
  40430. +fi
  40431. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  40432. +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  40433. +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  40434. +
  40435. + if
  40436. + test "x$enable_dependency_tracking" != xno \
  40437. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  40438. + am__fastdepCC_TRUE=
  40439. + am__fastdepCC_FALSE='#'
  40440. +else
  40441. + am__fastdepCC_TRUE='#'
  40442. + am__fastdepCC_FALSE=
  40443. +fi
  40444. +
  40445. +
  40446. +
  40447. +
  40448. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  40449. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  40450. + @%:@ Check whether --enable-maintainer-mode was given.
  40451. +if test "${enable_maintainer_mode+set}" = set; then :
  40452. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  40453. +else
  40454. + USE_MAINTAINER_MODE=no
  40455. +fi
  40456. +
  40457. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  40458. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  40459. + if test $USE_MAINTAINER_MODE = yes; then
  40460. + MAINTAINER_MODE_TRUE=
  40461. + MAINTAINER_MODE_FALSE='#'
  40462. +else
  40463. + MAINTAINER_MODE_TRUE='#'
  40464. + MAINTAINER_MODE_FALSE=
  40465. +fi
  40466. +
  40467. + MAINT=$MAINTAINER_MODE_TRUE
  40468. +
  40469. +
  40470. +
  40471. +
  40472. +@%:@ Check whether --with-lib-path was given.
  40473. +if test "${with_lib_path+set}" = set; then :
  40474. + withval=$with_lib_path; LIB_PATH=$withval
  40475. +fi
  40476. +
  40477. +@%:@ Check whether --enable-targets was given.
  40478. +if test "${enable_targets+set}" = set; then :
  40479. + enableval=$enable_targets; case "${enableval}" in
  40480. + yes | "") as_fn_error "enable-targets option must specify target names or 'all'" "$LINENO" 5
  40481. + ;;
  40482. + no) enable_targets= ;;
  40483. + *) enable_targets=$enableval ;;
  40484. +esac
  40485. +fi
  40486. +@%:@ Check whether --enable-64-bit-bfd was given.
  40487. +if test "${enable_64_bit_bfd+set}" = set; then :
  40488. + enableval=$enable_64_bit_bfd; case "${enableval}" in
  40489. + yes) want64=true ;;
  40490. + no) want64=false ;;
  40491. + *) as_fn_error "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;;
  40492. +esac
  40493. +else
  40494. + want64=false
  40495. +fi
  40496. +
  40497. +
  40498. +@%:@ Check whether --with-sysroot was given.
  40499. +if test "${with_sysroot+set}" = set; then :
  40500. + withval=$with_sysroot;
  40501. + case ${with_sysroot} in
  40502. + yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
  40503. + *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
  40504. + esac
  40505. +
  40506. + TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
  40507. + use_sysroot=yes
  40508. +
  40509. + if test "x$prefix" = xNONE; then
  40510. + test_prefix=/usr/local
  40511. + else
  40512. + test_prefix=$prefix
  40513. + fi
  40514. + if test "x$exec_prefix" = xNONE; then
  40515. + test_exec_prefix=$test_prefix
  40516. + else
  40517. + test_exec_prefix=$exec_prefix
  40518. + fi
  40519. + case ${TARGET_SYSTEM_ROOT} in
  40520. + "${test_prefix}"|"${test_prefix}/"*|\
  40521. + "${test_exec_prefix}"|"${test_exec_prefix}/"*|\
  40522. + '${prefix}'|'${prefix}/'*|\
  40523. + '${exec_prefix}'|'${exec_prefix}/'*)
  40524. + t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
  40525. + TARGET_SYSTEM_ROOT_DEFINE="$t"
  40526. + ;;
  40527. + esac
  40528. +
  40529. +else
  40530. +
  40531. + use_sysroot=no
  40532. + TARGET_SYSTEM_ROOT=
  40533. + TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
  40534. +
  40535. +fi
  40536. +
  40537. +
  40538. +
  40539. +
  40540. +
  40541. +@%:@ Check whether --enable-gold was given.
  40542. +if test "${enable_gold+set}" = set; then :
  40543. + enableval=$enable_gold; case "${enableval}" in
  40544. + default)
  40545. + install_as_default=no
  40546. + installed_linker=ld.bfd
  40547. + ;;
  40548. + yes|no)
  40549. + install_as_default=yes
  40550. + installed_linker=ld.bfd
  40551. + ;;
  40552. + *)
  40553. + as_fn_error "invalid --enable-gold argument" "$LINENO" 5
  40554. + ;;
  40555. + esac
  40556. +else
  40557. + install_as_default=yes
  40558. + installed_linker=ld.bfd
  40559. +fi
  40560. +
  40561. +
  40562. +
  40563. +
  40564. +@%:@ Check whether --enable-got was given.
  40565. +if test "${enable_got+set}" = set; then :
  40566. + enableval=$enable_got; case "${enableval}" in
  40567. + target | single | negative | multigot) got_handling=$enableval ;;
  40568. + *) as_fn_error "bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
  40569. +esac
  40570. +else
  40571. + got_handling=target
  40572. +fi
  40573. +
  40574. +
  40575. +case "${got_handling}" in
  40576. + target)
  40577. +
  40578. +$as_echo "@%:@define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
  40579. + ;;
  40580. + single)
  40581. +
  40582. +$as_echo "@%:@define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
  40583. + ;;
  40584. + negative)
  40585. +
  40586. +$as_echo "@%:@define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
  40587. + ;;
  40588. + multigot)
  40589. +
  40590. +$as_echo "@%:@define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
  40591. + ;;
  40592. + *) as_fn_error "bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
  40593. +esac
  40594. +
  40595. +ac_ext=c
  40596. +ac_cpp='$CPP $CPPFLAGS'
  40597. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40598. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40599. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40600. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  40601. +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  40602. +# On Suns, sometimes $CPP names a directory.
  40603. +if test -n "$CPP" && test -d "$CPP"; then
  40604. + CPP=
  40605. +fi
  40606. +if test -z "$CPP"; then
  40607. + if test "${ac_cv_prog_CPP+set}" = set; then :
  40608. + $as_echo_n "(cached) " >&6
  40609. +else
  40610. + # Double quotes because CPP needs to be expanded
  40611. + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  40612. + do
  40613. + ac_preproc_ok=false
  40614. +for ac_c_preproc_warn_flag in '' yes
  40615. +do
  40616. + # Use a header file that comes with gcc, so configuring glibc
  40617. + # with a fresh cross-compiler works.
  40618. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  40619. + # <limits.h> exists even on freestanding compilers.
  40620. + # On the NeXT, cc -E runs the code through the compiler's parser,
  40621. + # not just through cpp. "Syntax error" is here to catch this case.
  40622. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40623. +/* end confdefs.h. */
  40624. +@%:@ifdef __STDC__
  40625. +@%:@ include <limits.h>
  40626. +@%:@else
  40627. +@%:@ include <assert.h>
  40628. +@%:@endif
  40629. + Syntax error
  40630. +_ACEOF
  40631. +if ac_fn_c_try_cpp "$LINENO"; then :
  40632. +
  40633. +else
  40634. + # Broken: fails on valid input.
  40635. +continue
  40636. +fi
  40637. +rm -f conftest.err conftest.$ac_ext
  40638. +
  40639. + # OK, works on sane cases. Now check whether nonexistent headers
  40640. + # can be detected and how.
  40641. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40642. +/* end confdefs.h. */
  40643. +@%:@include <ac_nonexistent.h>
  40644. +_ACEOF
  40645. +if ac_fn_c_try_cpp "$LINENO"; then :
  40646. + # Broken: success on invalid input.
  40647. +continue
  40648. +else
  40649. + # Passes both tests.
  40650. +ac_preproc_ok=:
  40651. +break
  40652. +fi
  40653. +rm -f conftest.err conftest.$ac_ext
  40654. +
  40655. +done
  40656. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  40657. +rm -f conftest.err conftest.$ac_ext
  40658. +if $ac_preproc_ok; then :
  40659. + break
  40660. +fi
  40661. +
  40662. + done
  40663. + ac_cv_prog_CPP=$CPP
  40664. +
  40665. +fi
  40666. + CPP=$ac_cv_prog_CPP
  40667. +else
  40668. + ac_cv_prog_CPP=$CPP
  40669. +fi
  40670. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  40671. +$as_echo "$CPP" >&6; }
  40672. +ac_preproc_ok=false
  40673. +for ac_c_preproc_warn_flag in '' yes
  40674. +do
  40675. + # Use a header file that comes with gcc, so configuring glibc
  40676. + # with a fresh cross-compiler works.
  40677. + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  40678. + # <limits.h> exists even on freestanding compilers.
  40679. + # On the NeXT, cc -E runs the code through the compiler's parser,
  40680. + # not just through cpp. "Syntax error" is here to catch this case.
  40681. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40682. +/* end confdefs.h. */
  40683. +@%:@ifdef __STDC__
  40684. +@%:@ include <limits.h>
  40685. +@%:@else
  40686. +@%:@ include <assert.h>
  40687. +@%:@endif
  40688. + Syntax error
  40689. +_ACEOF
  40690. +if ac_fn_c_try_cpp "$LINENO"; then :
  40691. +
  40692. +else
  40693. + # Broken: fails on valid input.
  40694. +continue
  40695. +fi
  40696. +rm -f conftest.err conftest.$ac_ext
  40697. +
  40698. + # OK, works on sane cases. Now check whether nonexistent headers
  40699. + # can be detected and how.
  40700. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40701. +/* end confdefs.h. */
  40702. +@%:@include <ac_nonexistent.h>
  40703. +_ACEOF
  40704. +if ac_fn_c_try_cpp "$LINENO"; then :
  40705. + # Broken: success on invalid input.
  40706. +continue
  40707. +else
  40708. + # Passes both tests.
  40709. +ac_preproc_ok=:
  40710. +break
  40711. +fi
  40712. +rm -f conftest.err conftest.$ac_ext
  40713. +
  40714. +done
  40715. +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  40716. +rm -f conftest.err conftest.$ac_ext
  40717. +if $ac_preproc_ok; then :
  40718. +
  40719. +else
  40720. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  40721. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  40722. +as_fn_error "C preprocessor \"$CPP\" fails sanity check
  40723. +See \`config.log' for more details." "$LINENO" 5; }
  40724. +fi
  40725. +
  40726. +ac_ext=c
  40727. +ac_cpp='$CPP $CPPFLAGS'
  40728. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40729. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40730. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40731. +
  40732. +
  40733. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  40734. +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  40735. +if test "${ac_cv_path_GREP+set}" = set; then :
  40736. + $as_echo_n "(cached) " >&6
  40737. +else
  40738. + if test -z "$GREP"; then
  40739. + ac_path_GREP_found=false
  40740. + # Loop through the user's path and test for each of PROGNAME-LIST
  40741. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40742. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  40743. +do
  40744. + IFS=$as_save_IFS
  40745. + test -z "$as_dir" && as_dir=.
  40746. + for ac_prog in grep ggrep; do
  40747. + for ac_exec_ext in '' $ac_executable_extensions; do
  40748. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  40749. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  40750. +# Check for GNU ac_path_GREP and select it if it is found.
  40751. + # Check for GNU $ac_path_GREP
  40752. +case `"$ac_path_GREP" --version 2>&1` in
  40753. +*GNU*)
  40754. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  40755. +*)
  40756. + ac_count=0
  40757. + $as_echo_n 0123456789 >"conftest.in"
  40758. + while :
  40759. + do
  40760. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  40761. + mv "conftest.tmp" "conftest.in"
  40762. + cp "conftest.in" "conftest.nl"
  40763. + $as_echo 'GREP' >> "conftest.nl"
  40764. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  40765. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  40766. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  40767. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  40768. + # Best one so far, save it but keep looking for a better one
  40769. + ac_cv_path_GREP="$ac_path_GREP"
  40770. + ac_path_GREP_max=$ac_count
  40771. + fi
  40772. + # 10*(2^10) chars as input seems more than enough
  40773. + test $ac_count -gt 10 && break
  40774. + done
  40775. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  40776. +esac
  40777. +
  40778. + $ac_path_GREP_found && break 3
  40779. + done
  40780. + done
  40781. + done
  40782. +IFS=$as_save_IFS
  40783. + if test -z "$ac_cv_path_GREP"; then
  40784. + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  40785. + fi
  40786. +else
  40787. + ac_cv_path_GREP=$GREP
  40788. +fi
  40789. +
  40790. +fi
  40791. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  40792. +$as_echo "$ac_cv_path_GREP" >&6; }
  40793. + GREP="$ac_cv_path_GREP"
  40794. +
  40795. +
  40796. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  40797. +$as_echo_n "checking for egrep... " >&6; }
  40798. +if test "${ac_cv_path_EGREP+set}" = set; then :
  40799. + $as_echo_n "(cached) " >&6
  40800. +else
  40801. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  40802. + then ac_cv_path_EGREP="$GREP -E"
  40803. + else
  40804. + if test -z "$EGREP"; then
  40805. + ac_path_EGREP_found=false
  40806. + # Loop through the user's path and test for each of PROGNAME-LIST
  40807. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40808. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  40809. +do
  40810. + IFS=$as_save_IFS
  40811. + test -z "$as_dir" && as_dir=.
  40812. + for ac_prog in egrep; do
  40813. + for ac_exec_ext in '' $ac_executable_extensions; do
  40814. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  40815. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  40816. +# Check for GNU ac_path_EGREP and select it if it is found.
  40817. + # Check for GNU $ac_path_EGREP
  40818. +case `"$ac_path_EGREP" --version 2>&1` in
  40819. +*GNU*)
  40820. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  40821. +*)
  40822. + ac_count=0
  40823. + $as_echo_n 0123456789 >"conftest.in"
  40824. + while :
  40825. + do
  40826. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  40827. + mv "conftest.tmp" "conftest.in"
  40828. + cp "conftest.in" "conftest.nl"
  40829. + $as_echo 'EGREP' >> "conftest.nl"
  40830. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  40831. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  40832. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  40833. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  40834. + # Best one so far, save it but keep looking for a better one
  40835. + ac_cv_path_EGREP="$ac_path_EGREP"
  40836. + ac_path_EGREP_max=$ac_count
  40837. + fi
  40838. + # 10*(2^10) chars as input seems more than enough
  40839. + test $ac_count -gt 10 && break
  40840. + done
  40841. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  40842. +esac
  40843. +
  40844. + $ac_path_EGREP_found && break 3
  40845. + done
  40846. + done
  40847. + done
  40848. +IFS=$as_save_IFS
  40849. + if test -z "$ac_cv_path_EGREP"; then
  40850. + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  40851. + fi
  40852. +else
  40853. + ac_cv_path_EGREP=$EGREP
  40854. +fi
  40855. +
  40856. + fi
  40857. +fi
  40858. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  40859. +$as_echo "$ac_cv_path_EGREP" >&6; }
  40860. + EGREP="$ac_cv_path_EGREP"
  40861. +
  40862. +
  40863. +
  40864. +GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
  40865. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  40866. +/* end confdefs.h. */
  40867. +__GNUC__
  40868. +_ACEOF
  40869. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  40870. + $EGREP "^[0-3]$" >/dev/null 2>&1; then :
  40871. +
  40872. +else
  40873. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
  40874. +fi
  40875. +rm -f conftest*
  40876. +
  40877. +
  40878. +@%:@ Check whether --enable-werror was given.
  40879. +if test "${enable_werror+set}" = set; then :
  40880. + enableval=$enable_werror; case "${enableval}" in
  40881. + yes | y) ERROR_ON_WARNING="yes" ;;
  40882. + no | n) ERROR_ON_WARNING="no" ;;
  40883. + *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
  40884. + esac
  40885. +fi
  40886. +
  40887. +
  40888. +# Disable -Wformat by default when using gcc on mingw
  40889. +case "${host}" in
  40890. + *-*-mingw32*)
  40891. + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
  40892. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
  40893. + fi
  40894. + ;;
  40895. + *) ;;
  40896. +esac
  40897. +
  40898. +# Enable -Werror by default when using gcc
  40899. +if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
  40900. + ERROR_ON_WARNING=yes
  40901. +fi
  40902. +
  40903. +NO_WERROR=
  40904. +if test "${ERROR_ON_WARNING}" = yes ; then
  40905. + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
  40906. + NO_WERROR="-Wno-error"
  40907. +fi
  40908. +
  40909. +if test "${GCC}" = yes ; then
  40910. + WARN_CFLAGS="${GCC_WARN_CFLAGS}"
  40911. +fi
  40912. +
  40913. +@%:@ Check whether --enable-build-warnings was given.
  40914. +if test "${enable_build_warnings+set}" = set; then :
  40915. + enableval=$enable_build_warnings; case "${enableval}" in
  40916. + yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
  40917. + no) if test "${GCC}" = yes ; then
  40918. + WARN_CFLAGS="-w"
  40919. + fi;;
  40920. + ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  40921. + WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
  40922. + *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
  40923. + WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
  40924. + *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
  40925. +esac
  40926. +fi
  40927. +
  40928. +
  40929. +if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
  40930. + echo "Setting warning flags = $WARN_CFLAGS" 6>&1
  40931. +fi
  40932. +
  40933. +
  40934. +
  40935. +
  40936. +
  40937. +ac_config_headers="$ac_config_headers config.h:config.in"
  40938. +
  40939. +
  40940. +if test -z "$target" ; then
  40941. + as_fn_error "Unrecognized target system type; please check config.sub." "$LINENO" 5
  40942. +fi
  40943. +if test -z "$host" ; then
  40944. + as_fn_error "Unrecognized host system type; please check config.sub." "$LINENO" 5
  40945. +fi
  40946. +
  40947. +# host-specific stuff:
  40948. +
  40949. +ac_ext=c
  40950. +ac_cpp='$CPP $CPPFLAGS'
  40951. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  40952. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  40953. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  40954. +if test -n "$ac_tool_prefix"; then
  40955. + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  40956. +set dummy ${ac_tool_prefix}gcc; ac_word=$2
  40957. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40958. +$as_echo_n "checking for $ac_word... " >&6; }
  40959. +if test "${ac_cv_prog_CC+set}" = set; then :
  40960. + $as_echo_n "(cached) " >&6
  40961. +else
  40962. + if test -n "$CC"; then
  40963. + ac_cv_prog_CC="$CC" # Let the user override the test.
  40964. +else
  40965. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  40966. +for as_dir in $PATH
  40967. +do
  40968. + IFS=$as_save_IFS
  40969. + test -z "$as_dir" && as_dir=.
  40970. + for ac_exec_ext in '' $ac_executable_extensions; do
  40971. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  40972. + ac_cv_prog_CC="${ac_tool_prefix}gcc"
  40973. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  40974. + break 2
  40975. + fi
  40976. +done
  40977. + done
  40978. +IFS=$as_save_IFS
  40979. +
  40980. +fi
  40981. +fi
  40982. +CC=$ac_cv_prog_CC
  40983. +if test -n "$CC"; then
  40984. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  40985. +$as_echo "$CC" >&6; }
  40986. +else
  40987. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  40988. +$as_echo "no" >&6; }
  40989. +fi
  40990. +
  40991. +
  40992. +fi
  40993. +if test -z "$ac_cv_prog_CC"; then
  40994. + ac_ct_CC=$CC
  40995. + # Extract the first word of "gcc", so it can be a program name with args.
  40996. +set dummy gcc; ac_word=$2
  40997. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  40998. +$as_echo_n "checking for $ac_word... " >&6; }
  40999. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  41000. + $as_echo_n "(cached) " >&6
  41001. +else
  41002. + if test -n "$ac_ct_CC"; then
  41003. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  41004. +else
  41005. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41006. +for as_dir in $PATH
  41007. +do
  41008. + IFS=$as_save_IFS
  41009. + test -z "$as_dir" && as_dir=.
  41010. + for ac_exec_ext in '' $ac_executable_extensions; do
  41011. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  41012. + ac_cv_prog_ac_ct_CC="gcc"
  41013. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41014. + break 2
  41015. + fi
  41016. +done
  41017. + done
  41018. +IFS=$as_save_IFS
  41019. +
  41020. +fi
  41021. +fi
  41022. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  41023. +if test -n "$ac_ct_CC"; then
  41024. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  41025. +$as_echo "$ac_ct_CC" >&6; }
  41026. +else
  41027. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41028. +$as_echo "no" >&6; }
  41029. +fi
  41030. +
  41031. + if test "x$ac_ct_CC" = x; then
  41032. + CC=""
  41033. + else
  41034. + case $cross_compiling:$ac_tool_warned in
  41035. +yes:)
  41036. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  41037. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  41038. +ac_tool_warned=yes ;;
  41039. +esac
  41040. + CC=$ac_ct_CC
  41041. + fi
  41042. +else
  41043. + CC="$ac_cv_prog_CC"
  41044. +fi
  41045. +
  41046. +if test -z "$CC"; then
  41047. + if test -n "$ac_tool_prefix"; then
  41048. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  41049. +set dummy ${ac_tool_prefix}cc; ac_word=$2
  41050. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41051. +$as_echo_n "checking for $ac_word... " >&6; }
  41052. +if test "${ac_cv_prog_CC+set}" = set; then :
  41053. + $as_echo_n "(cached) " >&6
  41054. +else
  41055. + if test -n "$CC"; then
  41056. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41057. +else
  41058. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41059. +for as_dir in $PATH
  41060. +do
  41061. + IFS=$as_save_IFS
  41062. + test -z "$as_dir" && as_dir=.
  41063. + for ac_exec_ext in '' $ac_executable_extensions; do
  41064. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  41065. + ac_cv_prog_CC="${ac_tool_prefix}cc"
  41066. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41067. + break 2
  41068. + fi
  41069. +done
  41070. + done
  41071. +IFS=$as_save_IFS
  41072. +
  41073. +fi
  41074. +fi
  41075. +CC=$ac_cv_prog_CC
  41076. +if test -n "$CC"; then
  41077. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41078. +$as_echo "$CC" >&6; }
  41079. +else
  41080. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41081. +$as_echo "no" >&6; }
  41082. +fi
  41083. +
  41084. +
  41085. + fi
  41086. +fi
  41087. +if test -z "$CC"; then
  41088. + # Extract the first word of "cc", so it can be a program name with args.
  41089. +set dummy cc; ac_word=$2
  41090. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41091. +$as_echo_n "checking for $ac_word... " >&6; }
  41092. +if test "${ac_cv_prog_CC+set}" = set; then :
  41093. + $as_echo_n "(cached) " >&6
  41094. +else
  41095. + if test -n "$CC"; then
  41096. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41097. +else
  41098. + ac_prog_rejected=no
  41099. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41100. +for as_dir in $PATH
  41101. +do
  41102. + IFS=$as_save_IFS
  41103. + test -z "$as_dir" && as_dir=.
  41104. + for ac_exec_ext in '' $ac_executable_extensions; do
  41105. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  41106. + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  41107. + ac_prog_rejected=yes
  41108. + continue
  41109. + fi
  41110. + ac_cv_prog_CC="cc"
  41111. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41112. + break 2
  41113. + fi
  41114. +done
  41115. + done
  41116. +IFS=$as_save_IFS
  41117. +
  41118. +if test $ac_prog_rejected = yes; then
  41119. + # We found a bogon in the path, so make sure we never use it.
  41120. + set dummy $ac_cv_prog_CC
  41121. + shift
  41122. + if test $@%:@ != 0; then
  41123. + # We chose a different compiler from the bogus one.
  41124. + # However, it has the same basename, so the bogon will be chosen
  41125. + # first if we set CC to just the basename; use the full file name.
  41126. + shift
  41127. + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  41128. + fi
  41129. +fi
  41130. +fi
  41131. +fi
  41132. +CC=$ac_cv_prog_CC
  41133. +if test -n "$CC"; then
  41134. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41135. +$as_echo "$CC" >&6; }
  41136. +else
  41137. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41138. +$as_echo "no" >&6; }
  41139. +fi
  41140. +
  41141. +
  41142. +fi
  41143. +if test -z "$CC"; then
  41144. + if test -n "$ac_tool_prefix"; then
  41145. + for ac_prog in cl.exe
  41146. + do
  41147. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  41148. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  41149. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41150. +$as_echo_n "checking for $ac_word... " >&6; }
  41151. +if test "${ac_cv_prog_CC+set}" = set; then :
  41152. + $as_echo_n "(cached) " >&6
  41153. +else
  41154. + if test -n "$CC"; then
  41155. + ac_cv_prog_CC="$CC" # Let the user override the test.
  41156. +else
  41157. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41158. +for as_dir in $PATH
  41159. +do
  41160. + IFS=$as_save_IFS
  41161. + test -z "$as_dir" && as_dir=.
  41162. + for ac_exec_ext in '' $ac_executable_extensions; do
  41163. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  41164. + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  41165. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41166. + break 2
  41167. + fi
  41168. +done
  41169. + done
  41170. +IFS=$as_save_IFS
  41171. +
  41172. +fi
  41173. +fi
  41174. +CC=$ac_cv_prog_CC
  41175. +if test -n "$CC"; then
  41176. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  41177. +$as_echo "$CC" >&6; }
  41178. +else
  41179. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41180. +$as_echo "no" >&6; }
  41181. +fi
  41182. +
  41183. +
  41184. + test -n "$CC" && break
  41185. + done
  41186. +fi
  41187. +if test -z "$CC"; then
  41188. + ac_ct_CC=$CC
  41189. + for ac_prog in cl.exe
  41190. +do
  41191. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  41192. +set dummy $ac_prog; ac_word=$2
  41193. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  41194. +$as_echo_n "checking for $ac_word... " >&6; }
  41195. +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  41196. + $as_echo_n "(cached) " >&6
  41197. +else
  41198. + if test -n "$ac_ct_CC"; then
  41199. + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  41200. +else
  41201. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  41202. +for as_dir in $PATH
  41203. +do
  41204. + IFS=$as_save_IFS
  41205. + test -z "$as_dir" && as_dir=.
  41206. + for ac_exec_ext in '' $ac_executable_extensions; do
  41207. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  41208. + ac_cv_prog_ac_ct_CC="$ac_prog"
  41209. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  41210. + break 2
  41211. + fi
  41212. +done
  41213. + done
  41214. +IFS=$as_save_IFS
  41215. +
  41216. +fi
  41217. +fi
  41218. +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  41219. +if test -n "$ac_ct_CC"; then
  41220. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  41221. +$as_echo "$ac_ct_CC" >&6; }
  41222. +else
  41223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  41224. +$as_echo "no" >&6; }
  41225. +fi
  41226. +
  41227. +
  41228. + test -n "$ac_ct_CC" && break
  41229. +done
  41230. +
  41231. + if test "x$ac_ct_CC" = x; then
  41232. + CC=""
  41233. + else
  41234. + case $cross_compiling:$ac_tool_warned in
  41235. +yes:)
  41236. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  41237. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  41238. +ac_tool_warned=yes ;;
  41239. +esac
  41240. + CC=$ac_ct_CC
  41241. + fi
  41242. +fi
  41243. +
  41244. +fi
  41245. +
  41246. +
  41247. +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  41248. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  41249. +as_fn_error "no acceptable C compiler found in \$PATH
  41250. +See \`config.log' for more details." "$LINENO" 5; }
  41251. +
  41252. +# Provide some information about the compiler.
  41253. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  41254. +set X $ac_compile
  41255. +ac_compiler=$2
  41256. +for ac_option in --version -v -V -qversion; do
  41257. + { { ac_try="$ac_compiler $ac_option >&5"
  41258. +case "(($ac_try" in
  41259. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  41260. + *) ac_try_echo=$ac_try;;
  41261. +esac
  41262. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  41263. +$as_echo "$ac_try_echo"; } >&5
  41264. + (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  41265. + ac_status=$?
  41266. + if test -s conftest.err; then
  41267. + sed '10a\
  41268. +... rest of stderr output deleted ...
  41269. + 10q' conftest.err >conftest.er1
  41270. + cat conftest.er1 >&5
  41271. + rm -f conftest.er1 conftest.err
  41272. + fi
  41273. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  41274. + test $ac_status = 0; }
  41275. +done
  41276. +
  41277. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  41278. +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  41279. +if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  41280. + $as_echo_n "(cached) " >&6
  41281. +else
  41282. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41283. +/* end confdefs.h. */
  41284. +
  41285. +int
  41286. +main ()
  41287. +{
  41288. +#ifndef __GNUC__
  41289. + choke me
  41290. +#endif
  41291. +
  41292. + ;
  41293. + return 0;
  41294. +}
  41295. +_ACEOF
  41296. +if ac_fn_c_try_compile "$LINENO"; then :
  41297. + ac_compiler_gnu=yes
  41298. +else
  41299. + ac_compiler_gnu=no
  41300. +fi
  41301. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41302. +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  41303. +
  41304. +fi
  41305. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  41306. +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  41307. +if test $ac_compiler_gnu = yes; then
  41308. + GCC=yes
  41309. +else
  41310. + GCC=
  41311. +fi
  41312. +ac_test_CFLAGS=${CFLAGS+set}
  41313. +ac_save_CFLAGS=$CFLAGS
  41314. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  41315. +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  41316. +if test "${ac_cv_prog_cc_g+set}" = set; then :
  41317. + $as_echo_n "(cached) " >&6
  41318. +else
  41319. + ac_save_c_werror_flag=$ac_c_werror_flag
  41320. + ac_c_werror_flag=yes
  41321. + ac_cv_prog_cc_g=no
  41322. + CFLAGS="-g"
  41323. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41324. +/* end confdefs.h. */
  41325. +
  41326. +int
  41327. +main ()
  41328. +{
  41329. +
  41330. + ;
  41331. + return 0;
  41332. +}
  41333. +_ACEOF
  41334. +if ac_fn_c_try_compile "$LINENO"; then :
  41335. + ac_cv_prog_cc_g=yes
  41336. +else
  41337. + CFLAGS=""
  41338. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41339. +/* end confdefs.h. */
  41340. +
  41341. +int
  41342. +main ()
  41343. +{
  41344. +
  41345. + ;
  41346. + return 0;
  41347. +}
  41348. +_ACEOF
  41349. +if ac_fn_c_try_compile "$LINENO"; then :
  41350. +
  41351. +else
  41352. + ac_c_werror_flag=$ac_save_c_werror_flag
  41353. + CFLAGS="-g"
  41354. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41355. +/* end confdefs.h. */
  41356. +
  41357. +int
  41358. +main ()
  41359. +{
  41360. +
  41361. + ;
  41362. + return 0;
  41363. +}
  41364. +_ACEOF
  41365. +if ac_fn_c_try_compile "$LINENO"; then :
  41366. + ac_cv_prog_cc_g=yes
  41367. +fi
  41368. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41369. +fi
  41370. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41371. +fi
  41372. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41373. + ac_c_werror_flag=$ac_save_c_werror_flag
  41374. +fi
  41375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  41376. +$as_echo "$ac_cv_prog_cc_g" >&6; }
  41377. +if test "$ac_test_CFLAGS" = set; then
  41378. + CFLAGS=$ac_save_CFLAGS
  41379. +elif test $ac_cv_prog_cc_g = yes; then
  41380. + if test "$GCC" = yes; then
  41381. + CFLAGS="-g -O2"
  41382. + else
  41383. + CFLAGS="-g"
  41384. + fi
  41385. +else
  41386. + if test "$GCC" = yes; then
  41387. + CFLAGS="-O2"
  41388. + else
  41389. + CFLAGS=
  41390. + fi
  41391. +fi
  41392. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  41393. +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  41394. +if test "${ac_cv_prog_cc_c89+set}" = set; then :
  41395. + $as_echo_n "(cached) " >&6
  41396. +else
  41397. + ac_cv_prog_cc_c89=no
  41398. +ac_save_CC=$CC
  41399. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41400. +/* end confdefs.h. */
  41401. +#include <stdarg.h>
  41402. +#include <stdio.h>
  41403. +#include <sys/types.h>
  41404. +#include <sys/stat.h>
  41405. +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  41406. +struct buf { int x; };
  41407. +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  41408. +static char *e (p, i)
  41409. + char **p;
  41410. + int i;
  41411. +{
  41412. + return p[i];
  41413. +}
  41414. +static char *f (char * (*g) (char **, int), char **p, ...)
  41415. +{
  41416. + char *s;
  41417. + va_list v;
  41418. + va_start (v,p);
  41419. + s = g (p, va_arg (v,int));
  41420. + va_end (v);
  41421. + return s;
  41422. +}
  41423. +
  41424. +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  41425. + function prototypes and stuff, but not '\xHH' hex character constants.
  41426. + These don't provoke an error unfortunately, instead are silently treated
  41427. + as 'x'. The following induces an error, until -std is added to get
  41428. + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  41429. + array size at least. It's necessary to write '\x00'==0 to get something
  41430. + that's true only with -std. */
  41431. +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  41432. +
  41433. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  41434. + inside strings and character constants. */
  41435. +#define FOO(x) 'x'
  41436. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  41437. +
  41438. +int test (int i, double x);
  41439. +struct s1 {int (*f) (int a);};
  41440. +struct s2 {int (*f) (double a);};
  41441. +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  41442. +int argc;
  41443. +char **argv;
  41444. +int
  41445. +main ()
  41446. +{
  41447. +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  41448. + ;
  41449. + return 0;
  41450. +}
  41451. +_ACEOF
  41452. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  41453. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  41454. +do
  41455. + CC="$ac_save_CC $ac_arg"
  41456. + if ac_fn_c_try_compile "$LINENO"; then :
  41457. + ac_cv_prog_cc_c89=$ac_arg
  41458. +fi
  41459. +rm -f core conftest.err conftest.$ac_objext
  41460. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  41461. +done
  41462. +rm -f conftest.$ac_ext
  41463. +CC=$ac_save_CC
  41464. +
  41465. +fi
  41466. +# AC_CACHE_VAL
  41467. +case "x$ac_cv_prog_cc_c89" in
  41468. + x)
  41469. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  41470. +$as_echo "none needed" >&6; } ;;
  41471. + xno)
  41472. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  41473. +$as_echo "unsupported" >&6; } ;;
  41474. + *)
  41475. + CC="$CC $ac_cv_prog_cc_c89"
  41476. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  41477. +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  41478. +esac
  41479. +if test "x$ac_cv_prog_cc_c89" != xno; then :
  41480. +
  41481. +fi
  41482. +
  41483. +ac_ext=c
  41484. +ac_cpp='$CPP $CPPFLAGS'
  41485. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  41486. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  41487. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  41488. +
  41489. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  41490. +$as_echo_n "checking for ANSI C header files... " >&6; }
  41491. +if test "${ac_cv_header_stdc+set}" = set; then :
  41492. + $as_echo_n "(cached) " >&6
  41493. +else
  41494. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41495. +/* end confdefs.h. */
  41496. +#include <stdlib.h>
  41497. +#include <stdarg.h>
  41498. +#include <string.h>
  41499. +#include <float.h>
  41500. +
  41501. +int
  41502. +main ()
  41503. +{
  41504. +
  41505. + ;
  41506. + return 0;
  41507. +}
  41508. +_ACEOF
  41509. +if ac_fn_c_try_compile "$LINENO"; then :
  41510. + ac_cv_header_stdc=yes
  41511. +else
  41512. + ac_cv_header_stdc=no
  41513. +fi
  41514. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41515. +
  41516. +if test $ac_cv_header_stdc = yes; then
  41517. + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  41518. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41519. +/* end confdefs.h. */
  41520. +#include <string.h>
  41521. +
  41522. +_ACEOF
  41523. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  41524. + $EGREP "memchr" >/dev/null 2>&1; then :
  41525. +
  41526. +else
  41527. + ac_cv_header_stdc=no
  41528. +fi
  41529. +rm -f conftest*
  41530. +
  41531. +fi
  41532. +
  41533. +if test $ac_cv_header_stdc = yes; then
  41534. + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  41535. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41536. +/* end confdefs.h. */
  41537. +#include <stdlib.h>
  41538. +
  41539. +_ACEOF
  41540. +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  41541. + $EGREP "free" >/dev/null 2>&1; then :
  41542. +
  41543. +else
  41544. + ac_cv_header_stdc=no
  41545. +fi
  41546. +rm -f conftest*
  41547. +
  41548. +fi
  41549. +
  41550. +if test $ac_cv_header_stdc = yes; then
  41551. + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  41552. + if test "$cross_compiling" = yes; then :
  41553. + :
  41554. +else
  41555. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41556. +/* end confdefs.h. */
  41557. +#include <ctype.h>
  41558. +#include <stdlib.h>
  41559. +#if ((' ' & 0x0FF) == 0x020)
  41560. +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  41561. +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  41562. +#else
  41563. +# define ISLOWER(c) \
  41564. + (('a' <= (c) && (c) <= 'i') \
  41565. + || ('j' <= (c) && (c) <= 'r') \
  41566. + || ('s' <= (c) && (c) <= 'z'))
  41567. +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  41568. +#endif
  41569. +
  41570. +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  41571. +int
  41572. +main ()
  41573. +{
  41574. + int i;
  41575. + for (i = 0; i < 256; i++)
  41576. + if (XOR (islower (i), ISLOWER (i))
  41577. + || toupper (i) != TOUPPER (i))
  41578. + return 2;
  41579. + return 0;
  41580. +}
  41581. +_ACEOF
  41582. +if ac_fn_c_try_run "$LINENO"; then :
  41583. +
  41584. +else
  41585. + ac_cv_header_stdc=no
  41586. +fi
  41587. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  41588. + conftest.$ac_objext conftest.beam conftest.$ac_ext
  41589. +fi
  41590. +
  41591. +fi
  41592. +fi
  41593. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  41594. +$as_echo "$ac_cv_header_stdc" >&6; }
  41595. +if test $ac_cv_header_stdc = yes; then
  41596. +
  41597. +$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  41598. +
  41599. +fi
  41600. +
  41601. +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  41602. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  41603. + inttypes.h stdint.h unistd.h
  41604. +do :
  41605. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  41606. +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  41607. +"
  41608. +eval as_val=\$$as_ac_Header
  41609. + if test "x$as_val" = x""yes; then :
  41610. + cat >>confdefs.h <<_ACEOF
  41611. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  41612. +_ACEOF
  41613. +
  41614. +fi
  41615. +
  41616. +done
  41617. +
  41618. +
  41619. +
  41620. + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
  41621. +if test "x$ac_cv_header_minix_config_h" = x""yes; then :
  41622. + MINIX=yes
  41623. +else
  41624. + MINIX=
  41625. +fi
  41626. +
  41627. +
  41628. + if test "$MINIX" = yes; then
  41629. +
  41630. +$as_echo "@%:@define _POSIX_SOURCE 1" >>confdefs.h
  41631. +
  41632. +
  41633. +$as_echo "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
  41634. +
  41635. +
  41636. +$as_echo "@%:@define _MINIX 1" >>confdefs.h
  41637. +
  41638. + fi
  41639. +
  41640. +
  41641. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
  41642. +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
  41643. +if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
  41644. + $as_echo_n "(cached) " >&6
  41645. +else
  41646. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41647. +/* end confdefs.h. */
  41648. +
  41649. +# define __EXTENSIONS__ 1
  41650. + $ac_includes_default
  41651. +int
  41652. +main ()
  41653. +{
  41654. +
  41655. + ;
  41656. + return 0;
  41657. +}
  41658. +_ACEOF
  41659. +if ac_fn_c_try_compile "$LINENO"; then :
  41660. + ac_cv_safe_to_define___extensions__=yes
  41661. +else
  41662. + ac_cv_safe_to_define___extensions__=no
  41663. +fi
  41664. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41665. +fi
  41666. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
  41667. +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
  41668. + test $ac_cv_safe_to_define___extensions__ = yes &&
  41669. + $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
  41670. +
  41671. + $as_echo "@%:@define _ALL_SOURCE 1" >>confdefs.h
  41672. +
  41673. + $as_echo "@%:@define _GNU_SOURCE 1" >>confdefs.h
  41674. +
  41675. + $as_echo "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
  41676. +
  41677. + $as_echo "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
  41678. +
  41679. +
  41680. +
  41681. +
  41682. +
  41683. +# The tests for host and target for $enable_largefile require
  41684. +# canonical names.
  41685. +
  41686. +
  41687. +
  41688. +# As the $enable_largefile decision depends on --enable-plugins we must set it
  41689. +# even in directories otherwise not depending on the $plugins option.
  41690. +
  41691. +
  41692. +@%:@ Check whether --enable-plugins was given.
  41693. +if test "${enable_plugins+set}" = set; then :
  41694. + enableval=$enable_plugins; case "${enableval}" in
  41695. + yes | "") plugins=yes ;;
  41696. + no) plugins=no ;;
  41697. + *) plugins=yes ;;
  41698. + esac
  41699. +else
  41700. + plugins=no
  41701. +fi
  41702. +
  41703. +
  41704. +
  41705. +case "${host}" in
  41706. + sparc-*-solaris*|i[3-7]86-*-solaris*)
  41707. + # On native 32bit sparc and ia32 solaris, large-file and procfs support
  41708. + # are mutually exclusive; and without procfs support, the bfd/ elf module
  41709. + # cannot provide certain routines such as elfcore_write_prpsinfo
  41710. + # or elfcore_write_prstatus. So unless the user explicitly requested
  41711. + # large-file support through the --enable-largefile switch, disable
  41712. + # large-file support in favor of procfs support.
  41713. + test "${target}" = "${host}" -a "x$plugins" = xno \
  41714. + && : ${enable_largefile="no"}
  41715. + ;;
  41716. +esac
  41717. +
  41718. +@%:@ Check whether --enable-largefile was given.
  41719. +if test "${enable_largefile+set}" = set; then :
  41720. + enableval=$enable_largefile;
  41721. +fi
  41722. +
  41723. +if test "$enable_largefile" != no; then
  41724. +
  41725. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  41726. +$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  41727. +if test "${ac_cv_sys_largefile_CC+set}" = set; then :
  41728. + $as_echo_n "(cached) " >&6
  41729. +else
  41730. + ac_cv_sys_largefile_CC=no
  41731. + if test "$GCC" != yes; then
  41732. + ac_save_CC=$CC
  41733. + while :; do
  41734. + # IRIX 6.2 and later do not support large files by default,
  41735. + # so use the C compiler's -n32 option if that helps.
  41736. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41737. +/* end confdefs.h. */
  41738. +@%:@include <sys/types.h>
  41739. + /* Check that off_t can represent 2**63 - 1 correctly.
  41740. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  41741. + since some C++ compilers masquerading as C compilers
  41742. + incorrectly reject 9223372036854775807. */
  41743. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  41744. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  41745. + && LARGE_OFF_T % 2147483647 == 1)
  41746. + ? 1 : -1];
  41747. +int
  41748. +main ()
  41749. +{
  41750. +
  41751. + ;
  41752. + return 0;
  41753. +}
  41754. +_ACEOF
  41755. + if ac_fn_c_try_compile "$LINENO"; then :
  41756. + break
  41757. +fi
  41758. +rm -f core conftest.err conftest.$ac_objext
  41759. + CC="$CC -n32"
  41760. + if ac_fn_c_try_compile "$LINENO"; then :
  41761. + ac_cv_sys_largefile_CC=' -n32'; break
  41762. +fi
  41763. +rm -f core conftest.err conftest.$ac_objext
  41764. + break
  41765. + done
  41766. + CC=$ac_save_CC
  41767. + rm -f conftest.$ac_ext
  41768. + fi
  41769. +fi
  41770. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  41771. +$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  41772. + if test "$ac_cv_sys_largefile_CC" != no; then
  41773. + CC=$CC$ac_cv_sys_largefile_CC
  41774. + fi
  41775. +
  41776. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  41777. +$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  41778. +if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
  41779. + $as_echo_n "(cached) " >&6
  41780. +else
  41781. + while :; do
  41782. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41783. +/* end confdefs.h. */
  41784. +@%:@include <sys/types.h>
  41785. + /* Check that off_t can represent 2**63 - 1 correctly.
  41786. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  41787. + since some C++ compilers masquerading as C compilers
  41788. + incorrectly reject 9223372036854775807. */
  41789. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  41790. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  41791. + && LARGE_OFF_T % 2147483647 == 1)
  41792. + ? 1 : -1];
  41793. +int
  41794. +main ()
  41795. +{
  41796. +
  41797. + ;
  41798. + return 0;
  41799. +}
  41800. +_ACEOF
  41801. +if ac_fn_c_try_compile "$LINENO"; then :
  41802. + ac_cv_sys_file_offset_bits=no; break
  41803. +fi
  41804. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41805. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41806. +/* end confdefs.h. */
  41807. +@%:@define _FILE_OFFSET_BITS 64
  41808. +@%:@include <sys/types.h>
  41809. + /* Check that off_t can represent 2**63 - 1 correctly.
  41810. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  41811. + since some C++ compilers masquerading as C compilers
  41812. + incorrectly reject 9223372036854775807. */
  41813. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  41814. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  41815. + && LARGE_OFF_T % 2147483647 == 1)
  41816. + ? 1 : -1];
  41817. +int
  41818. +main ()
  41819. +{
  41820. +
  41821. + ;
  41822. + return 0;
  41823. +}
  41824. +_ACEOF
  41825. +if ac_fn_c_try_compile "$LINENO"; then :
  41826. + ac_cv_sys_file_offset_bits=64; break
  41827. +fi
  41828. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41829. + ac_cv_sys_file_offset_bits=unknown
  41830. + break
  41831. +done
  41832. +fi
  41833. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  41834. +$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  41835. +case $ac_cv_sys_file_offset_bits in #(
  41836. + no | unknown) ;;
  41837. + *)
  41838. +cat >>confdefs.h <<_ACEOF
  41839. +@%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  41840. +_ACEOF
  41841. +;;
  41842. +esac
  41843. +rm -rf conftest*
  41844. + if test $ac_cv_sys_file_offset_bits = unknown; then
  41845. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  41846. +$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  41847. +if test "${ac_cv_sys_large_files+set}" = set; then :
  41848. + $as_echo_n "(cached) " >&6
  41849. +else
  41850. + while :; do
  41851. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41852. +/* end confdefs.h. */
  41853. +@%:@include <sys/types.h>
  41854. + /* Check that off_t can represent 2**63 - 1 correctly.
  41855. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  41856. + since some C++ compilers masquerading as C compilers
  41857. + incorrectly reject 9223372036854775807. */
  41858. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  41859. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  41860. + && LARGE_OFF_T % 2147483647 == 1)
  41861. + ? 1 : -1];
  41862. +int
  41863. +main ()
  41864. +{
  41865. +
  41866. + ;
  41867. + return 0;
  41868. +}
  41869. +_ACEOF
  41870. +if ac_fn_c_try_compile "$LINENO"; then :
  41871. + ac_cv_sys_large_files=no; break
  41872. +fi
  41873. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41874. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  41875. +/* end confdefs.h. */
  41876. +@%:@define _LARGE_FILES 1
  41877. +@%:@include <sys/types.h>
  41878. + /* Check that off_t can represent 2**63 - 1 correctly.
  41879. + We can't simply define LARGE_OFF_T to be 9223372036854775807,
  41880. + since some C++ compilers masquerading as C compilers
  41881. + incorrectly reject 9223372036854775807. */
  41882. +@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  41883. + int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  41884. + && LARGE_OFF_T % 2147483647 == 1)
  41885. + ? 1 : -1];
  41886. +int
  41887. +main ()
  41888. +{
  41889. +
  41890. + ;
  41891. + return 0;
  41892. +}
  41893. +_ACEOF
  41894. +if ac_fn_c_try_compile "$LINENO"; then :
  41895. + ac_cv_sys_large_files=1; break
  41896. +fi
  41897. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  41898. + ac_cv_sys_large_files=unknown
  41899. + break
  41900. +done
  41901. +fi
  41902. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  41903. +$as_echo "$ac_cv_sys_large_files" >&6; }
  41904. +case $ac_cv_sys_large_files in #(
  41905. + no | unknown) ;;
  41906. + *)
  41907. +cat >>confdefs.h <<_ACEOF
  41908. +@%:@define _LARGE_FILES $ac_cv_sys_large_files
  41909. +_ACEOF
  41910. +;;
  41911. +esac
  41912. +rm -rf conftest*
  41913. + fi
  41914. +fi
  41915. +
  41916. +
  41917. +
  41918. +
  41919. +case `pwd` in
  41920. + *\ * | *\ *)
  41921. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  41922. +$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  41923. +esac
  41924. +
  41925. +
  41926. +
  41927. +macro_version='2.2.7a'
  41928. +macro_revision='1.3134'
  41929. +
  41930. +
  41931. +
  41932. +
  41933. +
  41934. +
  41935. +
  41936. +
  41937. +
  41938. +
  41939. +
  41940. +
  41941. +
  41942. +ltmain="$ac_aux_dir/ltmain.sh"
  41943. +
  41944. +# Backslashify metacharacters that are still active within
  41945. +# double-quoted strings.
  41946. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  41947. +
  41948. +# Same as above, but do not quote variable references.
  41949. +double_quote_subst='s/\(["`\\]\)/\\\1/g'
  41950. +
  41951. +# Sed substitution to delay expansion of an escaped shell variable in a
  41952. +# double_quote_subst'ed string.
  41953. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  41954. +
  41955. +# Sed substitution to delay expansion of an escaped single quote.
  41956. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  41957. +
  41958. +# Sed substitution to avoid accidental globbing in evaled expressions
  41959. +no_glob_subst='s/\*/\\\*/g'
  41960. +
  41961. +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41962. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  41963. +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  41964. +
  41965. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  41966. +$as_echo_n "checking how to print strings... " >&6; }
  41967. +# Test print first, because it will be a builtin if present.
  41968. +if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  41969. + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  41970. + ECHO='print -r --'
  41971. +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  41972. + ECHO='printf %s\n'
  41973. +else
  41974. + # Use this function as a fallback that always works.
  41975. + func_fallback_echo ()
  41976. + {
  41977. + eval 'cat <<_LTECHO_EOF
  41978. +$1
  41979. +_LTECHO_EOF'
  41980. + }
  41981. + ECHO='func_fallback_echo'
  41982. +fi
  41983. +
  41984. +# func_echo_all arg...
  41985. +# Invoke $ECHO with all args, space-separated.
  41986. +func_echo_all ()
  41987. +{
  41988. + $ECHO ""
  41989. +}
  41990. +
  41991. +case "$ECHO" in
  41992. + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  41993. +$as_echo "printf" >&6; } ;;
  41994. + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  41995. +$as_echo "print -r" >&6; } ;;
  41996. + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  41997. +$as_echo "cat" >&6; } ;;
  41998. +esac
  41999. +
  42000. +
  42001. +
  42002. +
  42003. +
  42004. +
  42005. +
  42006. +
  42007. +
  42008. +
  42009. +
  42010. +
  42011. +
  42012. +
  42013. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  42014. +$as_echo_n "checking for a sed that does not truncate output... " >&6; }
  42015. +if test "${ac_cv_path_SED+set}" = set; then :
  42016. + $as_echo_n "(cached) " >&6
  42017. +else
  42018. + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  42019. + for ac_i in 1 2 3 4 5 6 7; do
  42020. + ac_script="$ac_script$as_nl$ac_script"
  42021. + done
  42022. + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  42023. + { ac_script=; unset ac_script;}
  42024. + if test -z "$SED"; then
  42025. + ac_path_SED_found=false
  42026. + # Loop through the user's path and test for each of PROGNAME-LIST
  42027. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42028. +for as_dir in $PATH
  42029. +do
  42030. + IFS=$as_save_IFS
  42031. + test -z "$as_dir" && as_dir=.
  42032. + for ac_prog in sed gsed; do
  42033. + for ac_exec_ext in '' $ac_executable_extensions; do
  42034. + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  42035. + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  42036. +# Check for GNU ac_path_SED and select it if it is found.
  42037. + # Check for GNU $ac_path_SED
  42038. +case `"$ac_path_SED" --version 2>&1` in
  42039. +*GNU*)
  42040. + ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  42041. +*)
  42042. + ac_count=0
  42043. + $as_echo_n 0123456789 >"conftest.in"
  42044. + while :
  42045. + do
  42046. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  42047. + mv "conftest.tmp" "conftest.in"
  42048. + cp "conftest.in" "conftest.nl"
  42049. + $as_echo '' >> "conftest.nl"
  42050. + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  42051. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  42052. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  42053. + if test $ac_count -gt ${ac_path_SED_max-0}; then
  42054. + # Best one so far, save it but keep looking for a better one
  42055. + ac_cv_path_SED="$ac_path_SED"
  42056. + ac_path_SED_max=$ac_count
  42057. + fi
  42058. + # 10*(2^10) chars as input seems more than enough
  42059. + test $ac_count -gt 10 && break
  42060. + done
  42061. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  42062. +esac
  42063. +
  42064. + $ac_path_SED_found && break 3
  42065. + done
  42066. + done
  42067. + done
  42068. +IFS=$as_save_IFS
  42069. + if test -z "$ac_cv_path_SED"; then
  42070. + as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  42071. + fi
  42072. +else
  42073. + ac_cv_path_SED=$SED
  42074. +fi
  42075. +
  42076. +fi
  42077. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  42078. +$as_echo "$ac_cv_path_SED" >&6; }
  42079. + SED="$ac_cv_path_SED"
  42080. + rm -f conftest.sed
  42081. +
  42082. +test -z "$SED" && SED=sed
  42083. +Xsed="$SED -e 1s/^X//"
  42084. +
  42085. +
  42086. +
  42087. +
  42088. +
  42089. +
  42090. +
  42091. +
  42092. +
  42093. +
  42094. +
  42095. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  42096. +$as_echo_n "checking for fgrep... " >&6; }
  42097. +if test "${ac_cv_path_FGREP+set}" = set; then :
  42098. + $as_echo_n "(cached) " >&6
  42099. +else
  42100. + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  42101. + then ac_cv_path_FGREP="$GREP -F"
  42102. + else
  42103. + if test -z "$FGREP"; then
  42104. + ac_path_FGREP_found=false
  42105. + # Loop through the user's path and test for each of PROGNAME-LIST
  42106. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42107. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  42108. +do
  42109. + IFS=$as_save_IFS
  42110. + test -z "$as_dir" && as_dir=.
  42111. + for ac_prog in fgrep; do
  42112. + for ac_exec_ext in '' $ac_executable_extensions; do
  42113. + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  42114. + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  42115. +# Check for GNU ac_path_FGREP and select it if it is found.
  42116. + # Check for GNU $ac_path_FGREP
  42117. +case `"$ac_path_FGREP" --version 2>&1` in
  42118. +*GNU*)
  42119. + ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  42120. +*)
  42121. + ac_count=0
  42122. + $as_echo_n 0123456789 >"conftest.in"
  42123. + while :
  42124. + do
  42125. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  42126. + mv "conftest.tmp" "conftest.in"
  42127. + cp "conftest.in" "conftest.nl"
  42128. + $as_echo 'FGREP' >> "conftest.nl"
  42129. + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  42130. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  42131. + as_fn_arith $ac_count + 1 && ac_count=$as_val
  42132. + if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  42133. + # Best one so far, save it but keep looking for a better one
  42134. + ac_cv_path_FGREP="$ac_path_FGREP"
  42135. + ac_path_FGREP_max=$ac_count
  42136. + fi
  42137. + # 10*(2^10) chars as input seems more than enough
  42138. + test $ac_count -gt 10 && break
  42139. + done
  42140. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  42141. +esac
  42142. +
  42143. + $ac_path_FGREP_found && break 3
  42144. + done
  42145. + done
  42146. + done
  42147. +IFS=$as_save_IFS
  42148. + if test -z "$ac_cv_path_FGREP"; then
  42149. + as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  42150. + fi
  42151. +else
  42152. + ac_cv_path_FGREP=$FGREP
  42153. +fi
  42154. +
  42155. + fi
  42156. +fi
  42157. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  42158. +$as_echo "$ac_cv_path_FGREP" >&6; }
  42159. + FGREP="$ac_cv_path_FGREP"
  42160. +
  42161. +
  42162. +test -z "$GREP" && GREP=grep
  42163. +
  42164. +
  42165. +
  42166. +
  42167. +
  42168. +
  42169. +
  42170. +
  42171. +
  42172. +
  42173. +
  42174. +
  42175. +
  42176. +
  42177. +
  42178. +
  42179. +
  42180. +
  42181. +
  42182. +@%:@ Check whether --with-gnu-ld was given.
  42183. +if test "${with_gnu_ld+set}" = set; then :
  42184. + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  42185. +else
  42186. + with_gnu_ld=no
  42187. +fi
  42188. +
  42189. +ac_prog=ld
  42190. +if test "$GCC" = yes; then
  42191. + # Check if gcc -print-prog-name=ld gives a path.
  42192. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  42193. +$as_echo_n "checking for ld used by $CC... " >&6; }
  42194. + case $host in
  42195. + *-*-mingw*)
  42196. + # gcc leaves a trailing carriage return which upsets mingw
  42197. + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  42198. + *)
  42199. + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  42200. + esac
  42201. + case $ac_prog in
  42202. + # Accept absolute paths.
  42203. + [\\/]* | ?:[\\/]*)
  42204. + re_direlt='/[^/][^/]*/\.\./'
  42205. + # Canonicalize the pathname of ld
  42206. + ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  42207. + while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  42208. + ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  42209. + done
  42210. + test -z "$LD" && LD="$ac_prog"
  42211. + ;;
  42212. + "")
  42213. + # If it fails, then pretend we aren't using GCC.
  42214. + ac_prog=ld
  42215. + ;;
  42216. + *)
  42217. + # If it is relative, then search for the first ld in PATH.
  42218. + with_gnu_ld=unknown
  42219. + ;;
  42220. + esac
  42221. +elif test "$with_gnu_ld" = yes; then
  42222. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  42223. +$as_echo_n "checking for GNU ld... " >&6; }
  42224. +else
  42225. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  42226. +$as_echo_n "checking for non-GNU ld... " >&6; }
  42227. +fi
  42228. +if test "${lt_cv_path_LD+set}" = set; then :
  42229. + $as_echo_n "(cached) " >&6
  42230. +else
  42231. + if test -z "$LD"; then
  42232. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  42233. + for ac_dir in $PATH; do
  42234. + IFS="$lt_save_ifs"
  42235. + test -z "$ac_dir" && ac_dir=.
  42236. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  42237. + lt_cv_path_LD="$ac_dir/$ac_prog"
  42238. + # Check to see if the program is GNU ld. I'd rather use --version,
  42239. + # but apparently some variants of GNU ld only accept -v.
  42240. + # Break only if it was the GNU/non-GNU ld that we prefer.
  42241. + case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  42242. + *GNU* | *'with BFD'*)
  42243. + test "$with_gnu_ld" != no && break
  42244. + ;;
  42245. + *)
  42246. + test "$with_gnu_ld" != yes && break
  42247. + ;;
  42248. + esac
  42249. + fi
  42250. + done
  42251. + IFS="$lt_save_ifs"
  42252. +else
  42253. + lt_cv_path_LD="$LD" # Let the user override the test with a path.
  42254. +fi
  42255. +fi
  42256. +
  42257. +LD="$lt_cv_path_LD"
  42258. +if test -n "$LD"; then
  42259. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  42260. +$as_echo "$LD" >&6; }
  42261. +else
  42262. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42263. +$as_echo "no" >&6; }
  42264. +fi
  42265. +test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  42266. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  42267. +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  42268. +if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  42269. + $as_echo_n "(cached) " >&6
  42270. +else
  42271. + # I'd rather use --version here, but apparently some GNU lds only accept -v.
  42272. +case `$LD -v 2>&1 </dev/null` in
  42273. +*GNU* | *'with BFD'*)
  42274. + lt_cv_prog_gnu_ld=yes
  42275. + ;;
  42276. +*)
  42277. + lt_cv_prog_gnu_ld=no
  42278. + ;;
  42279. +esac
  42280. +fi
  42281. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  42282. +$as_echo "$lt_cv_prog_gnu_ld" >&6; }
  42283. +with_gnu_ld=$lt_cv_prog_gnu_ld
  42284. +
  42285. +
  42286. +
  42287. +
  42288. +
  42289. +
  42290. +
  42291. +
  42292. +
  42293. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  42294. +$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  42295. +if test "${lt_cv_path_NM+set}" = set; then :
  42296. + $as_echo_n "(cached) " >&6
  42297. +else
  42298. + if test -n "$NM"; then
  42299. + # Let the user override the test.
  42300. + lt_cv_path_NM="$NM"
  42301. +else
  42302. + lt_nm_to_check="${ac_tool_prefix}nm"
  42303. + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  42304. + lt_nm_to_check="$lt_nm_to_check nm"
  42305. + fi
  42306. + for lt_tmp_nm in $lt_nm_to_check; do
  42307. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  42308. + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  42309. + IFS="$lt_save_ifs"
  42310. + test -z "$ac_dir" && ac_dir=.
  42311. + tmp_nm="$ac_dir/$lt_tmp_nm"
  42312. + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  42313. + # Check to see if the nm accepts a BSD-compat flag.
  42314. + # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  42315. + # nm: unknown option "B" ignored
  42316. + # Tru64's nm complains that /dev/null is an invalid object file
  42317. + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  42318. + */dev/null* | *'Invalid file or object type'*)
  42319. + lt_cv_path_NM="$tmp_nm -B"
  42320. + break
  42321. + ;;
  42322. + *)
  42323. + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  42324. + */dev/null*)
  42325. + lt_cv_path_NM="$tmp_nm -p"
  42326. + break
  42327. + ;;
  42328. + *)
  42329. + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  42330. + continue # so that we can try to find one that supports BSD flags
  42331. + ;;
  42332. + esac
  42333. + ;;
  42334. + esac
  42335. + fi
  42336. + done
  42337. + IFS="$lt_save_ifs"
  42338. + done
  42339. + : ${lt_cv_path_NM=no}
  42340. +fi
  42341. +fi
  42342. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  42343. +$as_echo "$lt_cv_path_NM" >&6; }
  42344. +if test "$lt_cv_path_NM" != "no"; then
  42345. + NM="$lt_cv_path_NM"
  42346. +else
  42347. + # Didn't find any BSD compatible name lister, look for dumpbin.
  42348. + if test -n "$DUMPBIN"; then :
  42349. + # Let the user override the test.
  42350. + else
  42351. + if test -n "$ac_tool_prefix"; then
  42352. + for ac_prog in dumpbin "link -dump"
  42353. + do
  42354. + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  42355. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  42356. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42357. +$as_echo_n "checking for $ac_word... " >&6; }
  42358. +if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  42359. + $as_echo_n "(cached) " >&6
  42360. +else
  42361. + if test -n "$DUMPBIN"; then
  42362. + ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  42363. +else
  42364. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42365. +for as_dir in $PATH
  42366. +do
  42367. + IFS=$as_save_IFS
  42368. + test -z "$as_dir" && as_dir=.
  42369. + for ac_exec_ext in '' $ac_executable_extensions; do
  42370. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  42371. + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  42372. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42373. + break 2
  42374. + fi
  42375. +done
  42376. + done
  42377. +IFS=$as_save_IFS
  42378. +
  42379. +fi
  42380. +fi
  42381. +DUMPBIN=$ac_cv_prog_DUMPBIN
  42382. +if test -n "$DUMPBIN"; then
  42383. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  42384. +$as_echo "$DUMPBIN" >&6; }
  42385. +else
  42386. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42387. +$as_echo "no" >&6; }
  42388. +fi
  42389. +
  42390. +
  42391. + test -n "$DUMPBIN" && break
  42392. + done
  42393. +fi
  42394. +if test -z "$DUMPBIN"; then
  42395. + ac_ct_DUMPBIN=$DUMPBIN
  42396. + for ac_prog in dumpbin "link -dump"
  42397. +do
  42398. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  42399. +set dummy $ac_prog; ac_word=$2
  42400. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42401. +$as_echo_n "checking for $ac_word... " >&6; }
  42402. +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  42403. + $as_echo_n "(cached) " >&6
  42404. +else
  42405. + if test -n "$ac_ct_DUMPBIN"; then
  42406. + ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  42407. +else
  42408. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42409. +for as_dir in $PATH
  42410. +do
  42411. + IFS=$as_save_IFS
  42412. + test -z "$as_dir" && as_dir=.
  42413. + for ac_exec_ext in '' $ac_executable_extensions; do
  42414. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  42415. + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  42416. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42417. + break 2
  42418. + fi
  42419. +done
  42420. + done
  42421. +IFS=$as_save_IFS
  42422. +
  42423. +fi
  42424. +fi
  42425. +ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  42426. +if test -n "$ac_ct_DUMPBIN"; then
  42427. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  42428. +$as_echo "$ac_ct_DUMPBIN" >&6; }
  42429. +else
  42430. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42431. +$as_echo "no" >&6; }
  42432. +fi
  42433. +
  42434. +
  42435. + test -n "$ac_ct_DUMPBIN" && break
  42436. +done
  42437. +
  42438. + if test "x$ac_ct_DUMPBIN" = x; then
  42439. + DUMPBIN=":"
  42440. + else
  42441. + case $cross_compiling:$ac_tool_warned in
  42442. +yes:)
  42443. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  42444. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  42445. +ac_tool_warned=yes ;;
  42446. +esac
  42447. + DUMPBIN=$ac_ct_DUMPBIN
  42448. + fi
  42449. +fi
  42450. +
  42451. + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  42452. + *COFF*)
  42453. + DUMPBIN="$DUMPBIN -symbols"
  42454. + ;;
  42455. + *)
  42456. + DUMPBIN=:
  42457. + ;;
  42458. + esac
  42459. + fi
  42460. +
  42461. + if test "$DUMPBIN" != ":"; then
  42462. + NM="$DUMPBIN"
  42463. + fi
  42464. +fi
  42465. +test -z "$NM" && NM=nm
  42466. +
  42467. +
  42468. +
  42469. +
  42470. +
  42471. +
  42472. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  42473. +$as_echo_n "checking the name lister ($NM) interface... " >&6; }
  42474. +if test "${lt_cv_nm_interface+set}" = set; then :
  42475. + $as_echo_n "(cached) " >&6
  42476. +else
  42477. + lt_cv_nm_interface="BSD nm"
  42478. + echo "int some_variable = 0;" > conftest.$ac_ext
  42479. + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  42480. + (eval "$ac_compile" 2>conftest.err)
  42481. + cat conftest.err >&5
  42482. + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  42483. + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  42484. + cat conftest.err >&5
  42485. + (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  42486. + cat conftest.out >&5
  42487. + if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  42488. + lt_cv_nm_interface="MS dumpbin"
  42489. + fi
  42490. + rm -f conftest*
  42491. +fi
  42492. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  42493. +$as_echo "$lt_cv_nm_interface" >&6; }
  42494. +
  42495. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  42496. +$as_echo_n "checking whether ln -s works... " >&6; }
  42497. +LN_S=$as_ln_s
  42498. +if test "$LN_S" = "ln -s"; then
  42499. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  42500. +$as_echo "yes" >&6; }
  42501. +else
  42502. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  42503. +$as_echo "no, using $LN_S" >&6; }
  42504. +fi
  42505. +
  42506. +# find the maximum length of command line arguments
  42507. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  42508. +$as_echo_n "checking the maximum length of command line arguments... " >&6; }
  42509. +if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  42510. + $as_echo_n "(cached) " >&6
  42511. +else
  42512. + i=0
  42513. + teststring="ABCD"
  42514. +
  42515. + case $build_os in
  42516. + msdosdjgpp*)
  42517. + # On DJGPP, this test can blow up pretty badly due to problems in libc
  42518. + # (any single argument exceeding 2000 bytes causes a buffer overrun
  42519. + # during glob expansion). Even if it were fixed, the result of this
  42520. + # check would be larger than it should be.
  42521. + lt_cv_sys_max_cmd_len=12288; # 12K is about right
  42522. + ;;
  42523. +
  42524. + gnu*)
  42525. + # Under GNU Hurd, this test is not required because there is
  42526. + # no limit to the length of command line arguments.
  42527. + # Libtool will interpret -1 as no limit whatsoever
  42528. + lt_cv_sys_max_cmd_len=-1;
  42529. + ;;
  42530. +
  42531. + cygwin* | mingw* | cegcc*)
  42532. + # On Win9x/ME, this test blows up -- it succeeds, but takes
  42533. + # about 5 minutes as the teststring grows exponentially.
  42534. + # Worse, since 9x/ME are not pre-emptively multitasking,
  42535. + # you end up with a "frozen" computer, even though with patience
  42536. + # the test eventually succeeds (with a max line length of 256k).
  42537. + # Instead, let's just punt: use the minimum linelength reported by
  42538. + # all of the supported platforms: 8192 (on NT/2K/XP).
  42539. + lt_cv_sys_max_cmd_len=8192;
  42540. + ;;
  42541. +
  42542. + mint*)
  42543. + # On MiNT this can take a long time and run out of memory.
  42544. + lt_cv_sys_max_cmd_len=8192;
  42545. + ;;
  42546. +
  42547. + amigaos*)
  42548. + # On AmigaOS with pdksh, this test takes hours, literally.
  42549. + # So we just punt and use a minimum line length of 8192.
  42550. + lt_cv_sys_max_cmd_len=8192;
  42551. + ;;
  42552. +
  42553. + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  42554. + # This has been around since 386BSD, at least. Likely further.
  42555. + if test -x /sbin/sysctl; then
  42556. + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  42557. + elif test -x /usr/sbin/sysctl; then
  42558. + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  42559. + else
  42560. + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  42561. + fi
  42562. + # And add a safety zone
  42563. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  42564. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  42565. + ;;
  42566. +
  42567. + interix*)
  42568. + # We know the value 262144 and hardcode it with a safety zone (like BSD)
  42569. + lt_cv_sys_max_cmd_len=196608
  42570. + ;;
  42571. +
  42572. + osf*)
  42573. + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  42574. + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  42575. + # nice to cause kernel panics so lets avoid the loop below.
  42576. + # First set a reasonable default.
  42577. + lt_cv_sys_max_cmd_len=16384
  42578. + #
  42579. + if test -x /sbin/sysconfig; then
  42580. + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  42581. + *1*) lt_cv_sys_max_cmd_len=-1 ;;
  42582. + esac
  42583. + fi
  42584. + ;;
  42585. + sco3.2v5*)
  42586. + lt_cv_sys_max_cmd_len=102400
  42587. + ;;
  42588. + sysv5* | sco5v6* | sysv4.2uw2*)
  42589. + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  42590. + if test -n "$kargmax"; then
  42591. + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  42592. + else
  42593. + lt_cv_sys_max_cmd_len=32768
  42594. + fi
  42595. + ;;
  42596. + *)
  42597. + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  42598. + if test -n "$lt_cv_sys_max_cmd_len"; then
  42599. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  42600. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  42601. + else
  42602. + # Make teststring a little bigger before we do anything with it.
  42603. + # a 1K string should be a reasonable start.
  42604. + for i in 1 2 3 4 5 6 7 8 ; do
  42605. + teststring=$teststring$teststring
  42606. + done
  42607. + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  42608. + # If test is not a shell built-in, we'll probably end up computing a
  42609. + # maximum length that is only half of the actual maximum length, but
  42610. + # we can't tell.
  42611. + while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  42612. + = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  42613. + test $i != 17 # 1/2 MB should be enough
  42614. + do
  42615. + i=`expr $i + 1`
  42616. + teststring=$teststring$teststring
  42617. + done
  42618. + # Only check the string length outside the loop.
  42619. + lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  42620. + teststring=
  42621. + # Add a significant safety factor because C++ compilers can tack on
  42622. + # massive amounts of additional arguments before passing them to the
  42623. + # linker. It appears as though 1/2 is a usable value.
  42624. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  42625. + fi
  42626. + ;;
  42627. + esac
  42628. +
  42629. +fi
  42630. +
  42631. +if test -n $lt_cv_sys_max_cmd_len ; then
  42632. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  42633. +$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  42634. +else
  42635. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  42636. +$as_echo "none" >&6; }
  42637. +fi
  42638. +max_cmd_len=$lt_cv_sys_max_cmd_len
  42639. +
  42640. +
  42641. +
  42642. +
  42643. +
  42644. +
  42645. +: ${CP="cp -f"}
  42646. +: ${MV="mv -f"}
  42647. +: ${RM="rm -f"}
  42648. +
  42649. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  42650. +$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  42651. +# Try some XSI features
  42652. +xsi_shell=no
  42653. +( _lt_dummy="a/b/c"
  42654. + test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  42655. + = c,a/b,, \
  42656. + && eval 'test $(( 1 + 1 )) -eq 2 \
  42657. + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  42658. + && xsi_shell=yes
  42659. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  42660. +$as_echo "$xsi_shell" >&6; }
  42661. +
  42662. +
  42663. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  42664. +$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  42665. +lt_shell_append=no
  42666. +( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  42667. + >/dev/null 2>&1 \
  42668. + && lt_shell_append=yes
  42669. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  42670. +$as_echo "$lt_shell_append" >&6; }
  42671. +
  42672. +
  42673. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  42674. + lt_unset=unset
  42675. +else
  42676. + lt_unset=false
  42677. +fi
  42678. +
  42679. +
  42680. +
  42681. +
  42682. +
  42683. +# test EBCDIC or ASCII
  42684. +case `echo X|tr X '\101'` in
  42685. + A) # ASCII based system
  42686. + # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  42687. + lt_SP2NL='tr \040 \012'
  42688. + lt_NL2SP='tr \015\012 \040\040'
  42689. + ;;
  42690. + *) # EBCDIC based system
  42691. + lt_SP2NL='tr \100 \n'
  42692. + lt_NL2SP='tr \r\n \100\100'
  42693. + ;;
  42694. +esac
  42695. +
  42696. +
  42697. +
  42698. +
  42699. +
  42700. +
  42701. +
  42702. +
  42703. +
  42704. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  42705. +$as_echo_n "checking for $LD option to reload object files... " >&6; }
  42706. +if test "${lt_cv_ld_reload_flag+set}" = set; then :
  42707. + $as_echo_n "(cached) " >&6
  42708. +else
  42709. + lt_cv_ld_reload_flag='-r'
  42710. +fi
  42711. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  42712. +$as_echo "$lt_cv_ld_reload_flag" >&6; }
  42713. +reload_flag=$lt_cv_ld_reload_flag
  42714. +case $reload_flag in
  42715. +"" | " "*) ;;
  42716. +*) reload_flag=" $reload_flag" ;;
  42717. +esac
  42718. +reload_cmds='$LD$reload_flag -o $output$reload_objs'
  42719. +case $host_os in
  42720. + darwin*)
  42721. + if test "$GCC" = yes; then
  42722. + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  42723. + else
  42724. + reload_cmds='$LD$reload_flag -o $output$reload_objs'
  42725. + fi
  42726. + ;;
  42727. +esac
  42728. +
  42729. +
  42730. +
  42731. +
  42732. +
  42733. +
  42734. +
  42735. +
  42736. +
  42737. +if test -n "$ac_tool_prefix"; then
  42738. + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  42739. +set dummy ${ac_tool_prefix}objdump; ac_word=$2
  42740. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42741. +$as_echo_n "checking for $ac_word... " >&6; }
  42742. +if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  42743. + $as_echo_n "(cached) " >&6
  42744. +else
  42745. + if test -n "$OBJDUMP"; then
  42746. + ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  42747. +else
  42748. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42749. +for as_dir in $PATH
  42750. +do
  42751. + IFS=$as_save_IFS
  42752. + test -z "$as_dir" && as_dir=.
  42753. + for ac_exec_ext in '' $ac_executable_extensions; do
  42754. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  42755. + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  42756. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42757. + break 2
  42758. + fi
  42759. +done
  42760. + done
  42761. +IFS=$as_save_IFS
  42762. +
  42763. +fi
  42764. +fi
  42765. +OBJDUMP=$ac_cv_prog_OBJDUMP
  42766. +if test -n "$OBJDUMP"; then
  42767. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  42768. +$as_echo "$OBJDUMP" >&6; }
  42769. +else
  42770. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42771. +$as_echo "no" >&6; }
  42772. +fi
  42773. +
  42774. +
  42775. +fi
  42776. +if test -z "$ac_cv_prog_OBJDUMP"; then
  42777. + ac_ct_OBJDUMP=$OBJDUMP
  42778. + # Extract the first word of "objdump", so it can be a program name with args.
  42779. +set dummy objdump; ac_word=$2
  42780. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  42781. +$as_echo_n "checking for $ac_word... " >&6; }
  42782. +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  42783. + $as_echo_n "(cached) " >&6
  42784. +else
  42785. + if test -n "$ac_ct_OBJDUMP"; then
  42786. + ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  42787. +else
  42788. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  42789. +for as_dir in $PATH
  42790. +do
  42791. + IFS=$as_save_IFS
  42792. + test -z "$as_dir" && as_dir=.
  42793. + for ac_exec_ext in '' $ac_executable_extensions; do
  42794. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  42795. + ac_cv_prog_ac_ct_OBJDUMP="objdump"
  42796. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  42797. + break 2
  42798. + fi
  42799. +done
  42800. + done
  42801. +IFS=$as_save_IFS
  42802. +
  42803. +fi
  42804. +fi
  42805. +ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  42806. +if test -n "$ac_ct_OBJDUMP"; then
  42807. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  42808. +$as_echo "$ac_ct_OBJDUMP" >&6; }
  42809. +else
  42810. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  42811. +$as_echo "no" >&6; }
  42812. +fi
  42813. +
  42814. + if test "x$ac_ct_OBJDUMP" = x; then
  42815. + OBJDUMP="false"
  42816. + else
  42817. + case $cross_compiling:$ac_tool_warned in
  42818. +yes:)
  42819. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  42820. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  42821. +ac_tool_warned=yes ;;
  42822. +esac
  42823. + OBJDUMP=$ac_ct_OBJDUMP
  42824. + fi
  42825. +else
  42826. + OBJDUMP="$ac_cv_prog_OBJDUMP"
  42827. +fi
  42828. +
  42829. +test -z "$OBJDUMP" && OBJDUMP=objdump
  42830. +
  42831. +
  42832. +
  42833. +
  42834. +
  42835. +
  42836. +
  42837. +
  42838. +
  42839. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  42840. +$as_echo_n "checking how to recognize dependent libraries... " >&6; }
  42841. +if test "${lt_cv_deplibs_check_method+set}" = set; then :
  42842. + $as_echo_n "(cached) " >&6
  42843. +else
  42844. + lt_cv_file_magic_cmd='$MAGIC_CMD'
  42845. +lt_cv_file_magic_test_file=
  42846. +lt_cv_deplibs_check_method='unknown'
  42847. +# Need to set the preceding variable on all platforms that support
  42848. +# interlibrary dependencies.
  42849. +# 'none' -- dependencies not supported.
  42850. +# `unknown' -- same as none, but documents that we really don't know.
  42851. +# 'pass_all' -- all dependencies passed with no checks.
  42852. +# 'test_compile' -- check by making test program.
  42853. +# 'file_magic [[regex]]' -- check by looking for files in library path
  42854. +# which responds to the $file_magic_cmd with a given extended regex.
  42855. +# If you have `file' or equivalent on your system and you're not sure
  42856. +# whether `pass_all' will *always* work, you probably want this one.
  42857. +
  42858. +case $host_os in
  42859. +aix[4-9]*)
  42860. + lt_cv_deplibs_check_method=pass_all
  42861. + ;;
  42862. +
  42863. +beos*)
  42864. + lt_cv_deplibs_check_method=pass_all
  42865. + ;;
  42866. +
  42867. +bsdi[45]*)
  42868. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  42869. + lt_cv_file_magic_cmd='/usr/bin/file -L'
  42870. + lt_cv_file_magic_test_file=/shlib/libc.so
  42871. + ;;
  42872. +
  42873. +cygwin*)
  42874. + # func_win32_libid is a shell function defined in ltmain.sh
  42875. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  42876. + lt_cv_file_magic_cmd='func_win32_libid'
  42877. + ;;
  42878. +
  42879. +mingw* | pw32*)
  42880. + # Base MSYS/MinGW do not provide the 'file' command needed by
  42881. + # func_win32_libid shell function, so use a weaker test based on 'objdump',
  42882. + # unless we find 'file', for example because we are cross-compiling.
  42883. + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  42884. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  42885. + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  42886. + lt_cv_file_magic_cmd='func_win32_libid'
  42887. + else
  42888. + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  42889. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  42890. + fi
  42891. + ;;
  42892. +
  42893. +cegcc*)
  42894. + # use the weaker test based on 'objdump'. See mingw*.
  42895. + lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  42896. + lt_cv_file_magic_cmd='$OBJDUMP -f'
  42897. + ;;
  42898. +
  42899. +darwin* | rhapsody*)
  42900. + lt_cv_deplibs_check_method=pass_all
  42901. + ;;
  42902. +
  42903. +freebsd* | dragonfly*)
  42904. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  42905. + case $host_cpu in
  42906. + i*86 )
  42907. + # Not sure whether the presence of OpenBSD here was a mistake.
  42908. + # Let's accept both of them until this is cleared up.
  42909. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  42910. + lt_cv_file_magic_cmd=/usr/bin/file
  42911. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  42912. + ;;
  42913. + esac
  42914. + else
  42915. + lt_cv_deplibs_check_method=pass_all
  42916. + fi
  42917. + ;;
  42918. +
  42919. +gnu*)
  42920. + lt_cv_deplibs_check_method=pass_all
  42921. + ;;
  42922. +
  42923. +haiku*)
  42924. + lt_cv_deplibs_check_method=pass_all
  42925. + ;;
  42926. +
  42927. +hpux10.20* | hpux11*)
  42928. + lt_cv_file_magic_cmd=/usr/bin/file
  42929. + case $host_cpu in
  42930. + ia64*)
  42931. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  42932. + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  42933. + ;;
  42934. + hppa*64*)
  42935. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  42936. + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  42937. + ;;
  42938. + *)
  42939. + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  42940. + lt_cv_file_magic_test_file=/usr/lib/libc.sl
  42941. + ;;
  42942. + esac
  42943. + ;;
  42944. +
  42945. +interix[3-9]*)
  42946. + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  42947. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  42948. + ;;
  42949. +
  42950. +irix5* | irix6* | nonstopux*)
  42951. + case $LD in
  42952. + *-32|*"-32 ") libmagic=32-bit;;
  42953. + *-n32|*"-n32 ") libmagic=N32;;
  42954. + *-64|*"-64 ") libmagic=64-bit;;
  42955. + *) libmagic=never-match;;
  42956. + esac
  42957. + lt_cv_deplibs_check_method=pass_all
  42958. + ;;
  42959. +
  42960. +# This must be Linux ELF.
  42961. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  42962. + lt_cv_deplibs_check_method=pass_all
  42963. + ;;
  42964. +
  42965. +netbsd*)
  42966. + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  42967. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  42968. + else
  42969. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  42970. + fi
  42971. + ;;
  42972. +
  42973. +newos6*)
  42974. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  42975. + lt_cv_file_magic_cmd=/usr/bin/file
  42976. + lt_cv_file_magic_test_file=/usr/lib/libnls.so
  42977. + ;;
  42978. +
  42979. +*nto* | *qnx*)
  42980. + lt_cv_deplibs_check_method=pass_all
  42981. + ;;
  42982. +
  42983. +openbsd*)
  42984. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  42985. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  42986. + else
  42987. + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  42988. + fi
  42989. + ;;
  42990. +
  42991. +osf3* | osf4* | osf5*)
  42992. + lt_cv_deplibs_check_method=pass_all
  42993. + ;;
  42994. +
  42995. +rdos*)
  42996. + lt_cv_deplibs_check_method=pass_all
  42997. + ;;
  42998. +
  42999. +solaris*)
  43000. + lt_cv_deplibs_check_method=pass_all
  43001. + ;;
  43002. +
  43003. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  43004. + lt_cv_deplibs_check_method=pass_all
  43005. + ;;
  43006. +
  43007. +sysv4 | sysv4.3*)
  43008. + case $host_vendor in
  43009. + motorola)
  43010. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  43011. + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  43012. + ;;
  43013. + ncr)
  43014. + lt_cv_deplibs_check_method=pass_all
  43015. + ;;
  43016. + sequent)
  43017. + lt_cv_file_magic_cmd='/bin/file'
  43018. + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  43019. + ;;
  43020. + sni)
  43021. + lt_cv_file_magic_cmd='/bin/file'
  43022. + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  43023. + lt_cv_file_magic_test_file=/lib/libc.so
  43024. + ;;
  43025. + siemens)
  43026. + lt_cv_deplibs_check_method=pass_all
  43027. + ;;
  43028. + pc)
  43029. + lt_cv_deplibs_check_method=pass_all
  43030. + ;;
  43031. + esac
  43032. + ;;
  43033. +
  43034. +tpf*)
  43035. + lt_cv_deplibs_check_method=pass_all
  43036. + ;;
  43037. +esac
  43038. +
  43039. +fi
  43040. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  43041. +$as_echo "$lt_cv_deplibs_check_method" >&6; }
  43042. +file_magic_cmd=$lt_cv_file_magic_cmd
  43043. +deplibs_check_method=$lt_cv_deplibs_check_method
  43044. +test -z "$deplibs_check_method" && deplibs_check_method=unknown
  43045. +
  43046. +
  43047. +
  43048. +
  43049. +
  43050. +
  43051. +
  43052. +
  43053. +
  43054. +
  43055. +
  43056. +
  43057. +if test -n "$ac_tool_prefix"; then
  43058. + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  43059. +set dummy ${ac_tool_prefix}ar; ac_word=$2
  43060. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43061. +$as_echo_n "checking for $ac_word... " >&6; }
  43062. +if test "${ac_cv_prog_AR+set}" = set; then :
  43063. + $as_echo_n "(cached) " >&6
  43064. +else
  43065. + if test -n "$AR"; then
  43066. + ac_cv_prog_AR="$AR" # Let the user override the test.
  43067. +else
  43068. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43069. +for as_dir in $PATH
  43070. +do
  43071. + IFS=$as_save_IFS
  43072. + test -z "$as_dir" && as_dir=.
  43073. + for ac_exec_ext in '' $ac_executable_extensions; do
  43074. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43075. + ac_cv_prog_AR="${ac_tool_prefix}ar"
  43076. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43077. + break 2
  43078. + fi
  43079. +done
  43080. + done
  43081. +IFS=$as_save_IFS
  43082. +
  43083. +fi
  43084. +fi
  43085. +AR=$ac_cv_prog_AR
  43086. +if test -n "$AR"; then
  43087. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  43088. +$as_echo "$AR" >&6; }
  43089. +else
  43090. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43091. +$as_echo "no" >&6; }
  43092. +fi
  43093. +
  43094. +
  43095. +fi
  43096. +if test -z "$ac_cv_prog_AR"; then
  43097. + ac_ct_AR=$AR
  43098. + # Extract the first word of "ar", so it can be a program name with args.
  43099. +set dummy ar; ac_word=$2
  43100. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43101. +$as_echo_n "checking for $ac_word... " >&6; }
  43102. +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  43103. + $as_echo_n "(cached) " >&6
  43104. +else
  43105. + if test -n "$ac_ct_AR"; then
  43106. + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  43107. +else
  43108. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43109. +for as_dir in $PATH
  43110. +do
  43111. + IFS=$as_save_IFS
  43112. + test -z "$as_dir" && as_dir=.
  43113. + for ac_exec_ext in '' $ac_executable_extensions; do
  43114. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43115. + ac_cv_prog_ac_ct_AR="ar"
  43116. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43117. + break 2
  43118. + fi
  43119. +done
  43120. + done
  43121. +IFS=$as_save_IFS
  43122. +
  43123. +fi
  43124. +fi
  43125. +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  43126. +if test -n "$ac_ct_AR"; then
  43127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  43128. +$as_echo "$ac_ct_AR" >&6; }
  43129. +else
  43130. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43131. +$as_echo "no" >&6; }
  43132. +fi
  43133. +
  43134. + if test "x$ac_ct_AR" = x; then
  43135. + AR="false"
  43136. + else
  43137. + case $cross_compiling:$ac_tool_warned in
  43138. +yes:)
  43139. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43140. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43141. +ac_tool_warned=yes ;;
  43142. +esac
  43143. + AR=$ac_ct_AR
  43144. + fi
  43145. +else
  43146. + AR="$ac_cv_prog_AR"
  43147. +fi
  43148. +
  43149. +test -z "$AR" && AR=ar
  43150. +test -z "$AR_FLAGS" && AR_FLAGS=cru
  43151. +
  43152. +
  43153. +
  43154. +
  43155. +
  43156. +
  43157. +
  43158. +
  43159. +
  43160. +
  43161. +
  43162. +if test -n "$ac_tool_prefix"; then
  43163. + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  43164. +set dummy ${ac_tool_prefix}strip; ac_word=$2
  43165. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43166. +$as_echo_n "checking for $ac_word... " >&6; }
  43167. +if test "${ac_cv_prog_STRIP+set}" = set; then :
  43168. + $as_echo_n "(cached) " >&6
  43169. +else
  43170. + if test -n "$STRIP"; then
  43171. + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  43172. +else
  43173. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43174. +for as_dir in $PATH
  43175. +do
  43176. + IFS=$as_save_IFS
  43177. + test -z "$as_dir" && as_dir=.
  43178. + for ac_exec_ext in '' $ac_executable_extensions; do
  43179. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43180. + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  43181. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43182. + break 2
  43183. + fi
  43184. +done
  43185. + done
  43186. +IFS=$as_save_IFS
  43187. +
  43188. +fi
  43189. +fi
  43190. +STRIP=$ac_cv_prog_STRIP
  43191. +if test -n "$STRIP"; then
  43192. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  43193. +$as_echo "$STRIP" >&6; }
  43194. +else
  43195. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43196. +$as_echo "no" >&6; }
  43197. +fi
  43198. +
  43199. +
  43200. +fi
  43201. +if test -z "$ac_cv_prog_STRIP"; then
  43202. + ac_ct_STRIP=$STRIP
  43203. + # Extract the first word of "strip", so it can be a program name with args.
  43204. +set dummy strip; ac_word=$2
  43205. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43206. +$as_echo_n "checking for $ac_word... " >&6; }
  43207. +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  43208. + $as_echo_n "(cached) " >&6
  43209. +else
  43210. + if test -n "$ac_ct_STRIP"; then
  43211. + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  43212. +else
  43213. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43214. +for as_dir in $PATH
  43215. +do
  43216. + IFS=$as_save_IFS
  43217. + test -z "$as_dir" && as_dir=.
  43218. + for ac_exec_ext in '' $ac_executable_extensions; do
  43219. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43220. + ac_cv_prog_ac_ct_STRIP="strip"
  43221. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43222. + break 2
  43223. + fi
  43224. +done
  43225. + done
  43226. +IFS=$as_save_IFS
  43227. +
  43228. +fi
  43229. +fi
  43230. +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  43231. +if test -n "$ac_ct_STRIP"; then
  43232. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  43233. +$as_echo "$ac_ct_STRIP" >&6; }
  43234. +else
  43235. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43236. +$as_echo "no" >&6; }
  43237. +fi
  43238. +
  43239. + if test "x$ac_ct_STRIP" = x; then
  43240. + STRIP=":"
  43241. + else
  43242. + case $cross_compiling:$ac_tool_warned in
  43243. +yes:)
  43244. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43245. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43246. +ac_tool_warned=yes ;;
  43247. +esac
  43248. + STRIP=$ac_ct_STRIP
  43249. + fi
  43250. +else
  43251. + STRIP="$ac_cv_prog_STRIP"
  43252. +fi
  43253. +
  43254. +test -z "$STRIP" && STRIP=:
  43255. +
  43256. +
  43257. +
  43258. +
  43259. +
  43260. +
  43261. +if test -n "$ac_tool_prefix"; then
  43262. + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  43263. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  43264. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43265. +$as_echo_n "checking for $ac_word... " >&6; }
  43266. +if test "${ac_cv_prog_RANLIB+set}" = set; then :
  43267. + $as_echo_n "(cached) " >&6
  43268. +else
  43269. + if test -n "$RANLIB"; then
  43270. + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  43271. +else
  43272. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43273. +for as_dir in $PATH
  43274. +do
  43275. + IFS=$as_save_IFS
  43276. + test -z "$as_dir" && as_dir=.
  43277. + for ac_exec_ext in '' $ac_executable_extensions; do
  43278. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43279. + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  43280. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43281. + break 2
  43282. + fi
  43283. +done
  43284. + done
  43285. +IFS=$as_save_IFS
  43286. +
  43287. +fi
  43288. +fi
  43289. +RANLIB=$ac_cv_prog_RANLIB
  43290. +if test -n "$RANLIB"; then
  43291. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  43292. +$as_echo "$RANLIB" >&6; }
  43293. +else
  43294. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43295. +$as_echo "no" >&6; }
  43296. +fi
  43297. +
  43298. +
  43299. +fi
  43300. +if test -z "$ac_cv_prog_RANLIB"; then
  43301. + ac_ct_RANLIB=$RANLIB
  43302. + # Extract the first word of "ranlib", so it can be a program name with args.
  43303. +set dummy ranlib; ac_word=$2
  43304. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43305. +$as_echo_n "checking for $ac_word... " >&6; }
  43306. +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  43307. + $as_echo_n "(cached) " >&6
  43308. +else
  43309. + if test -n "$ac_ct_RANLIB"; then
  43310. + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  43311. +else
  43312. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43313. +for as_dir in $PATH
  43314. +do
  43315. + IFS=$as_save_IFS
  43316. + test -z "$as_dir" && as_dir=.
  43317. + for ac_exec_ext in '' $ac_executable_extensions; do
  43318. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43319. + ac_cv_prog_ac_ct_RANLIB="ranlib"
  43320. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43321. + break 2
  43322. + fi
  43323. +done
  43324. + done
  43325. +IFS=$as_save_IFS
  43326. +
  43327. +fi
  43328. +fi
  43329. +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  43330. +if test -n "$ac_ct_RANLIB"; then
  43331. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  43332. +$as_echo "$ac_ct_RANLIB" >&6; }
  43333. +else
  43334. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43335. +$as_echo "no" >&6; }
  43336. +fi
  43337. +
  43338. + if test "x$ac_ct_RANLIB" = x; then
  43339. + RANLIB=":"
  43340. + else
  43341. + case $cross_compiling:$ac_tool_warned in
  43342. +yes:)
  43343. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43344. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43345. +ac_tool_warned=yes ;;
  43346. +esac
  43347. + RANLIB=$ac_ct_RANLIB
  43348. + fi
  43349. +else
  43350. + RANLIB="$ac_cv_prog_RANLIB"
  43351. +fi
  43352. +
  43353. +test -z "$RANLIB" && RANLIB=:
  43354. +
  43355. +
  43356. +
  43357. +
  43358. +
  43359. +
  43360. +# Determine commands to create old-style static archives.
  43361. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  43362. +old_postinstall_cmds='chmod 644 $oldlib'
  43363. +old_postuninstall_cmds=
  43364. +
  43365. +if test -n "$RANLIB"; then
  43366. + case $host_os in
  43367. + openbsd*)
  43368. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  43369. + ;;
  43370. + *)
  43371. + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  43372. + ;;
  43373. + esac
  43374. + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  43375. +fi
  43376. +
  43377. +case $host_os in
  43378. + darwin*)
  43379. + lock_old_archive_extraction=yes ;;
  43380. + *)
  43381. + lock_old_archive_extraction=no ;;
  43382. +esac
  43383. +
  43384. +
  43385. +
  43386. +
  43387. +
  43388. +
  43389. +
  43390. +
  43391. +
  43392. +
  43393. +
  43394. +
  43395. +
  43396. +
  43397. +
  43398. +
  43399. +
  43400. +
  43401. +
  43402. +
  43403. +
  43404. +
  43405. +
  43406. +
  43407. +
  43408. +
  43409. +
  43410. +
  43411. +
  43412. +
  43413. +
  43414. +
  43415. +
  43416. +
  43417. +
  43418. +
  43419. +
  43420. +
  43421. +
  43422. +# If no C compiler was specified, use CC.
  43423. +LTCC=${LTCC-"$CC"}
  43424. +
  43425. +# If no C compiler flags were specified, use CFLAGS.
  43426. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  43427. +
  43428. +# Allow CC to be a program name with arguments.
  43429. +compiler=$CC
  43430. +
  43431. +
  43432. +# Check for command to grab the raw symbol name followed by C symbol from nm.
  43433. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  43434. +$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  43435. +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  43436. + $as_echo_n "(cached) " >&6
  43437. +else
  43438. +
  43439. +# These are sane defaults that work on at least a few old systems.
  43440. +# [They come from Ultrix. What could be older than Ultrix?!! ;)]
  43441. +
  43442. +# Character class describing NM global symbol codes.
  43443. +symcode='[BCDEGRST]'
  43444. +
  43445. +# Regexp to match symbols that can be accessed directly from C.
  43446. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  43447. +
  43448. +# Define system-specific variables.
  43449. +case $host_os in
  43450. +aix*)
  43451. + symcode='[BCDT]'
  43452. + ;;
  43453. +cygwin* | mingw* | pw32* | cegcc*)
  43454. + symcode='[ABCDGISTW]'
  43455. + ;;
  43456. +hpux*)
  43457. + if test "$host_cpu" = ia64; then
  43458. + symcode='[ABCDEGRST]'
  43459. + fi
  43460. + ;;
  43461. +irix* | nonstopux*)
  43462. + symcode='[BCDEGRST]'
  43463. + ;;
  43464. +osf*)
  43465. + symcode='[BCDEGQRST]'
  43466. + ;;
  43467. +solaris*)
  43468. + symcode='[BDRT]'
  43469. + ;;
  43470. +sco3.2v5*)
  43471. + symcode='[DT]'
  43472. + ;;
  43473. +sysv4.2uw2*)
  43474. + symcode='[DT]'
  43475. + ;;
  43476. +sysv5* | sco5v6* | unixware* | OpenUNIX*)
  43477. + symcode='[ABDT]'
  43478. + ;;
  43479. +sysv4)
  43480. + symcode='[DFNSTU]'
  43481. + ;;
  43482. +esac
  43483. +
  43484. +# If we're using GNU nm, then use its standard symbol codes.
  43485. +case `$NM -V 2>&1` in
  43486. +*GNU* | *'with BFD'*)
  43487. + symcode='[ABCDGIRSTW]' ;;
  43488. +esac
  43489. +
  43490. +# Transform an extracted symbol line into a proper C declaration.
  43491. +# Some systems (esp. on ia64) link data and code symbols differently,
  43492. +# so use this general approach.
  43493. +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  43494. +
  43495. +# Transform an extracted symbol line into symbol name and symbol address
  43496. +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  43497. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  43498. +
  43499. +# Handle CRLF in mingw tool chain
  43500. +opt_cr=
  43501. +case $build_os in
  43502. +mingw*)
  43503. + opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  43504. + ;;
  43505. +esac
  43506. +
  43507. +# Try without a prefix underscore, then with it.
  43508. +for ac_symprfx in "" "_"; do
  43509. +
  43510. + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  43511. + symxfrm="\\1 $ac_symprfx\\2 \\2"
  43512. +
  43513. + # Write the raw and C identifiers.
  43514. + if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  43515. + # Fake it for dumpbin and say T for any non-static function
  43516. + # and D for any global variable.
  43517. + # Also find C++ and __fastcall symbols from MSVC++,
  43518. + # which start with @ or ?.
  43519. + lt_cv_sys_global_symbol_pipe="$AWK '"\
  43520. +" {last_section=section; section=\$ 3};"\
  43521. +" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  43522. +" \$ 0!~/External *\|/{next};"\
  43523. +" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  43524. +" {if(hide[section]) next};"\
  43525. +" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  43526. +" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  43527. +" s[1]~/^[@?]/{print s[1], s[1]; next};"\
  43528. +" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  43529. +" ' prfx=^$ac_symprfx"
  43530. + else
  43531. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  43532. + fi
  43533. +
  43534. + # Check to see that the pipe works correctly.
  43535. + pipe_works=no
  43536. +
  43537. + rm -f conftest*
  43538. + cat > conftest.$ac_ext <<_LT_EOF
  43539. +#ifdef __cplusplus
  43540. +extern "C" {
  43541. +#endif
  43542. +char nm_test_var;
  43543. +void nm_test_func(void);
  43544. +void nm_test_func(void){}
  43545. +#ifdef __cplusplus
  43546. +}
  43547. +#endif
  43548. +int main(){nm_test_var='a';nm_test_func();return(0);}
  43549. +_LT_EOF
  43550. +
  43551. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43552. + (eval $ac_compile) 2>&5
  43553. + ac_status=$?
  43554. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43555. + test $ac_status = 0; }; then
  43556. + # Now try to grab the symbols.
  43557. + nlist=conftest.nm
  43558. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  43559. + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  43560. + ac_status=$?
  43561. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43562. + test $ac_status = 0; } && test -s "$nlist"; then
  43563. + # Try sorting and uniquifying the output.
  43564. + if sort "$nlist" | uniq > "$nlist"T; then
  43565. + mv -f "$nlist"T "$nlist"
  43566. + else
  43567. + rm -f "$nlist"T
  43568. + fi
  43569. +
  43570. + # Make sure that we snagged all the symbols we need.
  43571. + if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  43572. + if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  43573. + cat <<_LT_EOF > conftest.$ac_ext
  43574. +#ifdef __cplusplus
  43575. +extern "C" {
  43576. +#endif
  43577. +
  43578. +_LT_EOF
  43579. + # Now generate the symbol file.
  43580. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  43581. +
  43582. + cat <<_LT_EOF >> conftest.$ac_ext
  43583. +
  43584. +/* The mapping between symbol names and symbols. */
  43585. +const struct {
  43586. + const char *name;
  43587. + void *address;
  43588. +}
  43589. +lt__PROGRAM__LTX_preloaded_symbols[] =
  43590. +{
  43591. + { "@PROGRAM@", (void *) 0 },
  43592. +_LT_EOF
  43593. + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  43594. + cat <<\_LT_EOF >> conftest.$ac_ext
  43595. + {0, (void *) 0}
  43596. +};
  43597. +
  43598. +/* This works around a problem in FreeBSD linker */
  43599. +#ifdef FREEBSD_WORKAROUND
  43600. +static const void *lt_preloaded_setup() {
  43601. + return lt__PROGRAM__LTX_preloaded_symbols;
  43602. +}
  43603. +#endif
  43604. +
  43605. +#ifdef __cplusplus
  43606. +}
  43607. +#endif
  43608. +_LT_EOF
  43609. + # Now try linking the two files.
  43610. + mv conftest.$ac_objext conftstm.$ac_objext
  43611. + lt_save_LIBS="$LIBS"
  43612. + lt_save_CFLAGS="$CFLAGS"
  43613. + LIBS="conftstm.$ac_objext"
  43614. + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  43615. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  43616. + (eval $ac_link) 2>&5
  43617. + ac_status=$?
  43618. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43619. + test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  43620. + pipe_works=yes
  43621. + fi
  43622. + LIBS="$lt_save_LIBS"
  43623. + CFLAGS="$lt_save_CFLAGS"
  43624. + else
  43625. + echo "cannot find nm_test_func in $nlist" >&5
  43626. + fi
  43627. + else
  43628. + echo "cannot find nm_test_var in $nlist" >&5
  43629. + fi
  43630. + else
  43631. + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  43632. + fi
  43633. + else
  43634. + echo "$progname: failed program was:" >&5
  43635. + cat conftest.$ac_ext >&5
  43636. + fi
  43637. + rm -rf conftest* conftst*
  43638. +
  43639. + # Do not use the global_symbol_pipe unless it works.
  43640. + if test "$pipe_works" = yes; then
  43641. + break
  43642. + else
  43643. + lt_cv_sys_global_symbol_pipe=
  43644. + fi
  43645. +done
  43646. +
  43647. +fi
  43648. +
  43649. +if test -z "$lt_cv_sys_global_symbol_pipe"; then
  43650. + lt_cv_sys_global_symbol_to_cdecl=
  43651. +fi
  43652. +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  43653. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  43654. +$as_echo "failed" >&6; }
  43655. +else
  43656. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  43657. +$as_echo "ok" >&6; }
  43658. +fi
  43659. +
  43660. +
  43661. +
  43662. +
  43663. +
  43664. +
  43665. +
  43666. +
  43667. +
  43668. +
  43669. +
  43670. +
  43671. +
  43672. +
  43673. +
  43674. +
  43675. +
  43676. +
  43677. +
  43678. +
  43679. +
  43680. +
  43681. +@%:@ Check whether --enable-libtool-lock was given.
  43682. +if test "${enable_libtool_lock+set}" = set; then :
  43683. + enableval=$enable_libtool_lock;
  43684. +fi
  43685. +
  43686. +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  43687. +
  43688. +# Some flags need to be propagated to the compiler or linker for good
  43689. +# libtool support.
  43690. +case $host in
  43691. +ia64-*-hpux*)
  43692. + # Find out which ABI we are using.
  43693. + echo 'int i;' > conftest.$ac_ext
  43694. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43695. + (eval $ac_compile) 2>&5
  43696. + ac_status=$?
  43697. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43698. + test $ac_status = 0; }; then
  43699. + case `/usr/bin/file conftest.$ac_objext` in
  43700. + *ELF-32*)
  43701. + HPUX_IA64_MODE="32"
  43702. + ;;
  43703. + *ELF-64*)
  43704. + HPUX_IA64_MODE="64"
  43705. + ;;
  43706. + esac
  43707. + fi
  43708. + rm -rf conftest*
  43709. + ;;
  43710. +*-*-irix6*)
  43711. + # Find out which ABI we are using.
  43712. + echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  43713. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43714. + (eval $ac_compile) 2>&5
  43715. + ac_status=$?
  43716. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43717. + test $ac_status = 0; }; then
  43718. + if test "$lt_cv_prog_gnu_ld" = yes; then
  43719. + case `/usr/bin/file conftest.$ac_objext` in
  43720. + *32-bit*)
  43721. + LD="${LD-ld} -melf32bsmip"
  43722. + ;;
  43723. + *N32*)
  43724. + LD="${LD-ld} -melf32bmipn32"
  43725. + ;;
  43726. + *64-bit*)
  43727. + LD="${LD-ld} -melf64bmip"
  43728. + ;;
  43729. + esac
  43730. + else
  43731. + case `/usr/bin/file conftest.$ac_objext` in
  43732. + *32-bit*)
  43733. + LD="${LD-ld} -32"
  43734. + ;;
  43735. + *N32*)
  43736. + LD="${LD-ld} -n32"
  43737. + ;;
  43738. + *64-bit*)
  43739. + LD="${LD-ld} -64"
  43740. + ;;
  43741. + esac
  43742. + fi
  43743. + fi
  43744. + rm -rf conftest*
  43745. + ;;
  43746. +
  43747. +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  43748. +s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  43749. + # Find out which ABI we are using.
  43750. + echo 'int i;' > conftest.$ac_ext
  43751. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43752. + (eval $ac_compile) 2>&5
  43753. + ac_status=$?
  43754. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43755. + test $ac_status = 0; }; then
  43756. + case `/usr/bin/file conftest.o` in
  43757. + *32-bit*)
  43758. + case $host in
  43759. + x86_64-*kfreebsd*-gnu)
  43760. + LD="${LD-ld} -m elf_i386_fbsd"
  43761. + ;;
  43762. + x86_64-*linux*)
  43763. + LD="${LD-ld} -m elf_i386"
  43764. + ;;
  43765. + ppc64-*linux*|powerpc64-*linux*)
  43766. + LD="${LD-ld} -m elf32ppclinux"
  43767. + ;;
  43768. + s390x-*linux*)
  43769. + LD="${LD-ld} -m elf_s390"
  43770. + ;;
  43771. + sparc64-*linux*)
  43772. + LD="${LD-ld} -m elf32_sparc"
  43773. + ;;
  43774. + esac
  43775. + ;;
  43776. + *64-bit*)
  43777. + case $host in
  43778. + x86_64-*kfreebsd*-gnu)
  43779. + LD="${LD-ld} -m elf_x86_64_fbsd"
  43780. + ;;
  43781. + x86_64-*linux*)
  43782. + LD="${LD-ld} -m elf_x86_64"
  43783. + ;;
  43784. + ppc*-*linux*|powerpc*-*linux*)
  43785. + LD="${LD-ld} -m elf64ppc"
  43786. + ;;
  43787. + s390*-*linux*|s390*-*tpf*)
  43788. + LD="${LD-ld} -m elf64_s390"
  43789. + ;;
  43790. + sparc*-*linux*)
  43791. + LD="${LD-ld} -m elf64_sparc"
  43792. + ;;
  43793. + esac
  43794. + ;;
  43795. + esac
  43796. + fi
  43797. + rm -rf conftest*
  43798. + ;;
  43799. +
  43800. +*-*-sco3.2v5*)
  43801. + # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  43802. + SAVE_CFLAGS="$CFLAGS"
  43803. + CFLAGS="$CFLAGS -belf"
  43804. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  43805. +$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  43806. +if test "${lt_cv_cc_needs_belf+set}" = set; then :
  43807. + $as_echo_n "(cached) " >&6
  43808. +else
  43809. + ac_ext=c
  43810. +ac_cpp='$CPP $CPPFLAGS'
  43811. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  43812. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  43813. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  43814. +
  43815. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  43816. +/* end confdefs.h. */
  43817. +
  43818. +int
  43819. +main ()
  43820. +{
  43821. +
  43822. + ;
  43823. + return 0;
  43824. +}
  43825. +_ACEOF
  43826. +if ac_fn_c_try_link "$LINENO"; then :
  43827. + lt_cv_cc_needs_belf=yes
  43828. +else
  43829. + lt_cv_cc_needs_belf=no
  43830. +fi
  43831. +rm -f core conftest.err conftest.$ac_objext \
  43832. + conftest$ac_exeext conftest.$ac_ext
  43833. + ac_ext=c
  43834. +ac_cpp='$CPP $CPPFLAGS'
  43835. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  43836. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  43837. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  43838. +
  43839. +fi
  43840. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  43841. +$as_echo "$lt_cv_cc_needs_belf" >&6; }
  43842. + if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  43843. + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  43844. + CFLAGS="$SAVE_CFLAGS"
  43845. + fi
  43846. + ;;
  43847. +sparc*-*solaris*)
  43848. + # Find out which ABI we are using.
  43849. + echo 'int i;' > conftest.$ac_ext
  43850. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  43851. + (eval $ac_compile) 2>&5
  43852. + ac_status=$?
  43853. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  43854. + test $ac_status = 0; }; then
  43855. + case `/usr/bin/file conftest.o` in
  43856. + *64-bit*)
  43857. + case $lt_cv_prog_gnu_ld in
  43858. + yes*) LD="${LD-ld} -m elf64_sparc" ;;
  43859. + *)
  43860. + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  43861. + LD="${LD-ld} -64"
  43862. + fi
  43863. + ;;
  43864. + esac
  43865. + ;;
  43866. + esac
  43867. + fi
  43868. + rm -rf conftest*
  43869. + ;;
  43870. +esac
  43871. +
  43872. +need_locks="$enable_libtool_lock"
  43873. +
  43874. +
  43875. + case $host_os in
  43876. + rhapsody* | darwin*)
  43877. + if test -n "$ac_tool_prefix"; then
  43878. + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  43879. +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  43880. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43881. +$as_echo_n "checking for $ac_word... " >&6; }
  43882. +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  43883. + $as_echo_n "(cached) " >&6
  43884. +else
  43885. + if test -n "$DSYMUTIL"; then
  43886. + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  43887. +else
  43888. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43889. +for as_dir in $PATH
  43890. +do
  43891. + IFS=$as_save_IFS
  43892. + test -z "$as_dir" && as_dir=.
  43893. + for ac_exec_ext in '' $ac_executable_extensions; do
  43894. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43895. + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  43896. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43897. + break 2
  43898. + fi
  43899. +done
  43900. + done
  43901. +IFS=$as_save_IFS
  43902. +
  43903. +fi
  43904. +fi
  43905. +DSYMUTIL=$ac_cv_prog_DSYMUTIL
  43906. +if test -n "$DSYMUTIL"; then
  43907. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  43908. +$as_echo "$DSYMUTIL" >&6; }
  43909. +else
  43910. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43911. +$as_echo "no" >&6; }
  43912. +fi
  43913. +
  43914. +
  43915. +fi
  43916. +if test -z "$ac_cv_prog_DSYMUTIL"; then
  43917. + ac_ct_DSYMUTIL=$DSYMUTIL
  43918. + # Extract the first word of "dsymutil", so it can be a program name with args.
  43919. +set dummy dsymutil; ac_word=$2
  43920. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43921. +$as_echo_n "checking for $ac_word... " >&6; }
  43922. +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  43923. + $as_echo_n "(cached) " >&6
  43924. +else
  43925. + if test -n "$ac_ct_DSYMUTIL"; then
  43926. + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  43927. +else
  43928. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43929. +for as_dir in $PATH
  43930. +do
  43931. + IFS=$as_save_IFS
  43932. + test -z "$as_dir" && as_dir=.
  43933. + for ac_exec_ext in '' $ac_executable_extensions; do
  43934. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43935. + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  43936. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43937. + break 2
  43938. + fi
  43939. +done
  43940. + done
  43941. +IFS=$as_save_IFS
  43942. +
  43943. +fi
  43944. +fi
  43945. +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  43946. +if test -n "$ac_ct_DSYMUTIL"; then
  43947. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  43948. +$as_echo "$ac_ct_DSYMUTIL" >&6; }
  43949. +else
  43950. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  43951. +$as_echo "no" >&6; }
  43952. +fi
  43953. +
  43954. + if test "x$ac_ct_DSYMUTIL" = x; then
  43955. + DSYMUTIL=":"
  43956. + else
  43957. + case $cross_compiling:$ac_tool_warned in
  43958. +yes:)
  43959. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  43960. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  43961. +ac_tool_warned=yes ;;
  43962. +esac
  43963. + DSYMUTIL=$ac_ct_DSYMUTIL
  43964. + fi
  43965. +else
  43966. + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  43967. +fi
  43968. +
  43969. + if test -n "$ac_tool_prefix"; then
  43970. + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  43971. +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  43972. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  43973. +$as_echo_n "checking for $ac_word... " >&6; }
  43974. +if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  43975. + $as_echo_n "(cached) " >&6
  43976. +else
  43977. + if test -n "$NMEDIT"; then
  43978. + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  43979. +else
  43980. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  43981. +for as_dir in $PATH
  43982. +do
  43983. + IFS=$as_save_IFS
  43984. + test -z "$as_dir" && as_dir=.
  43985. + for ac_exec_ext in '' $ac_executable_extensions; do
  43986. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  43987. + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  43988. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  43989. + break 2
  43990. + fi
  43991. +done
  43992. + done
  43993. +IFS=$as_save_IFS
  43994. +
  43995. +fi
  43996. +fi
  43997. +NMEDIT=$ac_cv_prog_NMEDIT
  43998. +if test -n "$NMEDIT"; then
  43999. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  44000. +$as_echo "$NMEDIT" >&6; }
  44001. +else
  44002. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44003. +$as_echo "no" >&6; }
  44004. +fi
  44005. +
  44006. +
  44007. +fi
  44008. +if test -z "$ac_cv_prog_NMEDIT"; then
  44009. + ac_ct_NMEDIT=$NMEDIT
  44010. + # Extract the first word of "nmedit", so it can be a program name with args.
  44011. +set dummy nmedit; ac_word=$2
  44012. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44013. +$as_echo_n "checking for $ac_word... " >&6; }
  44014. +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  44015. + $as_echo_n "(cached) " >&6
  44016. +else
  44017. + if test -n "$ac_ct_NMEDIT"; then
  44018. + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  44019. +else
  44020. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44021. +for as_dir in $PATH
  44022. +do
  44023. + IFS=$as_save_IFS
  44024. + test -z "$as_dir" && as_dir=.
  44025. + for ac_exec_ext in '' $ac_executable_extensions; do
  44026. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44027. + ac_cv_prog_ac_ct_NMEDIT="nmedit"
  44028. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44029. + break 2
  44030. + fi
  44031. +done
  44032. + done
  44033. +IFS=$as_save_IFS
  44034. +
  44035. +fi
  44036. +fi
  44037. +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  44038. +if test -n "$ac_ct_NMEDIT"; then
  44039. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  44040. +$as_echo "$ac_ct_NMEDIT" >&6; }
  44041. +else
  44042. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44043. +$as_echo "no" >&6; }
  44044. +fi
  44045. +
  44046. + if test "x$ac_ct_NMEDIT" = x; then
  44047. + NMEDIT=":"
  44048. + else
  44049. + case $cross_compiling:$ac_tool_warned in
  44050. +yes:)
  44051. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44052. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44053. +ac_tool_warned=yes ;;
  44054. +esac
  44055. + NMEDIT=$ac_ct_NMEDIT
  44056. + fi
  44057. +else
  44058. + NMEDIT="$ac_cv_prog_NMEDIT"
  44059. +fi
  44060. +
  44061. + if test -n "$ac_tool_prefix"; then
  44062. + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  44063. +set dummy ${ac_tool_prefix}lipo; ac_word=$2
  44064. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44065. +$as_echo_n "checking for $ac_word... " >&6; }
  44066. +if test "${ac_cv_prog_LIPO+set}" = set; then :
  44067. + $as_echo_n "(cached) " >&6
  44068. +else
  44069. + if test -n "$LIPO"; then
  44070. + ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  44071. +else
  44072. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44073. +for as_dir in $PATH
  44074. +do
  44075. + IFS=$as_save_IFS
  44076. + test -z "$as_dir" && as_dir=.
  44077. + for ac_exec_ext in '' $ac_executable_extensions; do
  44078. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44079. + ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  44080. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44081. + break 2
  44082. + fi
  44083. +done
  44084. + done
  44085. +IFS=$as_save_IFS
  44086. +
  44087. +fi
  44088. +fi
  44089. +LIPO=$ac_cv_prog_LIPO
  44090. +if test -n "$LIPO"; then
  44091. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  44092. +$as_echo "$LIPO" >&6; }
  44093. +else
  44094. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44095. +$as_echo "no" >&6; }
  44096. +fi
  44097. +
  44098. +
  44099. +fi
  44100. +if test -z "$ac_cv_prog_LIPO"; then
  44101. + ac_ct_LIPO=$LIPO
  44102. + # Extract the first word of "lipo", so it can be a program name with args.
  44103. +set dummy lipo; ac_word=$2
  44104. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44105. +$as_echo_n "checking for $ac_word... " >&6; }
  44106. +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  44107. + $as_echo_n "(cached) " >&6
  44108. +else
  44109. + if test -n "$ac_ct_LIPO"; then
  44110. + ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  44111. +else
  44112. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44113. +for as_dir in $PATH
  44114. +do
  44115. + IFS=$as_save_IFS
  44116. + test -z "$as_dir" && as_dir=.
  44117. + for ac_exec_ext in '' $ac_executable_extensions; do
  44118. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44119. + ac_cv_prog_ac_ct_LIPO="lipo"
  44120. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44121. + break 2
  44122. + fi
  44123. +done
  44124. + done
  44125. +IFS=$as_save_IFS
  44126. +
  44127. +fi
  44128. +fi
  44129. +ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  44130. +if test -n "$ac_ct_LIPO"; then
  44131. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  44132. +$as_echo "$ac_ct_LIPO" >&6; }
  44133. +else
  44134. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44135. +$as_echo "no" >&6; }
  44136. +fi
  44137. +
  44138. + if test "x$ac_ct_LIPO" = x; then
  44139. + LIPO=":"
  44140. + else
  44141. + case $cross_compiling:$ac_tool_warned in
  44142. +yes:)
  44143. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44144. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44145. +ac_tool_warned=yes ;;
  44146. +esac
  44147. + LIPO=$ac_ct_LIPO
  44148. + fi
  44149. +else
  44150. + LIPO="$ac_cv_prog_LIPO"
  44151. +fi
  44152. +
  44153. + if test -n "$ac_tool_prefix"; then
  44154. + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  44155. +set dummy ${ac_tool_prefix}otool; ac_word=$2
  44156. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44157. +$as_echo_n "checking for $ac_word... " >&6; }
  44158. +if test "${ac_cv_prog_OTOOL+set}" = set; then :
  44159. + $as_echo_n "(cached) " >&6
  44160. +else
  44161. + if test -n "$OTOOL"; then
  44162. + ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  44163. +else
  44164. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44165. +for as_dir in $PATH
  44166. +do
  44167. + IFS=$as_save_IFS
  44168. + test -z "$as_dir" && as_dir=.
  44169. + for ac_exec_ext in '' $ac_executable_extensions; do
  44170. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44171. + ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  44172. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44173. + break 2
  44174. + fi
  44175. +done
  44176. + done
  44177. +IFS=$as_save_IFS
  44178. +
  44179. +fi
  44180. +fi
  44181. +OTOOL=$ac_cv_prog_OTOOL
  44182. +if test -n "$OTOOL"; then
  44183. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  44184. +$as_echo "$OTOOL" >&6; }
  44185. +else
  44186. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44187. +$as_echo "no" >&6; }
  44188. +fi
  44189. +
  44190. +
  44191. +fi
  44192. +if test -z "$ac_cv_prog_OTOOL"; then
  44193. + ac_ct_OTOOL=$OTOOL
  44194. + # Extract the first word of "otool", so it can be a program name with args.
  44195. +set dummy otool; ac_word=$2
  44196. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44197. +$as_echo_n "checking for $ac_word... " >&6; }
  44198. +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  44199. + $as_echo_n "(cached) " >&6
  44200. +else
  44201. + if test -n "$ac_ct_OTOOL"; then
  44202. + ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  44203. +else
  44204. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44205. +for as_dir in $PATH
  44206. +do
  44207. + IFS=$as_save_IFS
  44208. + test -z "$as_dir" && as_dir=.
  44209. + for ac_exec_ext in '' $ac_executable_extensions; do
  44210. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44211. + ac_cv_prog_ac_ct_OTOOL="otool"
  44212. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44213. + break 2
  44214. + fi
  44215. +done
  44216. + done
  44217. +IFS=$as_save_IFS
  44218. +
  44219. +fi
  44220. +fi
  44221. +ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  44222. +if test -n "$ac_ct_OTOOL"; then
  44223. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  44224. +$as_echo "$ac_ct_OTOOL" >&6; }
  44225. +else
  44226. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44227. +$as_echo "no" >&6; }
  44228. +fi
  44229. +
  44230. + if test "x$ac_ct_OTOOL" = x; then
  44231. + OTOOL=":"
  44232. + else
  44233. + case $cross_compiling:$ac_tool_warned in
  44234. +yes:)
  44235. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44236. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44237. +ac_tool_warned=yes ;;
  44238. +esac
  44239. + OTOOL=$ac_ct_OTOOL
  44240. + fi
  44241. +else
  44242. + OTOOL="$ac_cv_prog_OTOOL"
  44243. +fi
  44244. +
  44245. + if test -n "$ac_tool_prefix"; then
  44246. + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  44247. +set dummy ${ac_tool_prefix}otool64; ac_word=$2
  44248. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44249. +$as_echo_n "checking for $ac_word... " >&6; }
  44250. +if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  44251. + $as_echo_n "(cached) " >&6
  44252. +else
  44253. + if test -n "$OTOOL64"; then
  44254. + ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  44255. +else
  44256. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44257. +for as_dir in $PATH
  44258. +do
  44259. + IFS=$as_save_IFS
  44260. + test -z "$as_dir" && as_dir=.
  44261. + for ac_exec_ext in '' $ac_executable_extensions; do
  44262. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44263. + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  44264. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44265. + break 2
  44266. + fi
  44267. +done
  44268. + done
  44269. +IFS=$as_save_IFS
  44270. +
  44271. +fi
  44272. +fi
  44273. +OTOOL64=$ac_cv_prog_OTOOL64
  44274. +if test -n "$OTOOL64"; then
  44275. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  44276. +$as_echo "$OTOOL64" >&6; }
  44277. +else
  44278. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44279. +$as_echo "no" >&6; }
  44280. +fi
  44281. +
  44282. +
  44283. +fi
  44284. +if test -z "$ac_cv_prog_OTOOL64"; then
  44285. + ac_ct_OTOOL64=$OTOOL64
  44286. + # Extract the first word of "otool64", so it can be a program name with args.
  44287. +set dummy otool64; ac_word=$2
  44288. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  44289. +$as_echo_n "checking for $ac_word... " >&6; }
  44290. +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  44291. + $as_echo_n "(cached) " >&6
  44292. +else
  44293. + if test -n "$ac_ct_OTOOL64"; then
  44294. + ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  44295. +else
  44296. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  44297. +for as_dir in $PATH
  44298. +do
  44299. + IFS=$as_save_IFS
  44300. + test -z "$as_dir" && as_dir=.
  44301. + for ac_exec_ext in '' $ac_executable_extensions; do
  44302. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  44303. + ac_cv_prog_ac_ct_OTOOL64="otool64"
  44304. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  44305. + break 2
  44306. + fi
  44307. +done
  44308. + done
  44309. +IFS=$as_save_IFS
  44310. +
  44311. +fi
  44312. +fi
  44313. +ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  44314. +if test -n "$ac_ct_OTOOL64"; then
  44315. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  44316. +$as_echo "$ac_ct_OTOOL64" >&6; }
  44317. +else
  44318. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44319. +$as_echo "no" >&6; }
  44320. +fi
  44321. +
  44322. + if test "x$ac_ct_OTOOL64" = x; then
  44323. + OTOOL64=":"
  44324. + else
  44325. + case $cross_compiling:$ac_tool_warned in
  44326. +yes:)
  44327. +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  44328. +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  44329. +ac_tool_warned=yes ;;
  44330. +esac
  44331. + OTOOL64=$ac_ct_OTOOL64
  44332. + fi
  44333. +else
  44334. + OTOOL64="$ac_cv_prog_OTOOL64"
  44335. +fi
  44336. +
  44337. +
  44338. +
  44339. +
  44340. +
  44341. +
  44342. +
  44343. +
  44344. +
  44345. +
  44346. +
  44347. +
  44348. +
  44349. +
  44350. +
  44351. +
  44352. +
  44353. +
  44354. +
  44355. +
  44356. +
  44357. +
  44358. +
  44359. +
  44360. +
  44361. +
  44362. +
  44363. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  44364. +$as_echo_n "checking for -single_module linker flag... " >&6; }
  44365. +if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  44366. + $as_echo_n "(cached) " >&6
  44367. +else
  44368. + lt_cv_apple_cc_single_mod=no
  44369. + if test -z "${LT_MULTI_MODULE}"; then
  44370. + # By default we will add the -single_module flag. You can override
  44371. + # by either setting the environment variable LT_MULTI_MODULE
  44372. + # non-empty at configure time, or by adding -multi_module to the
  44373. + # link flags.
  44374. + rm -rf libconftest.dylib*
  44375. + echo "int foo(void){return 1;}" > conftest.c
  44376. + echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  44377. +-dynamiclib -Wl,-single_module conftest.c" >&5
  44378. + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  44379. + -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  44380. + _lt_result=$?
  44381. + if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  44382. + lt_cv_apple_cc_single_mod=yes
  44383. + else
  44384. + cat conftest.err >&5
  44385. + fi
  44386. + rm -rf libconftest.dylib*
  44387. + rm -f conftest.*
  44388. + fi
  44389. +fi
  44390. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  44391. +$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  44392. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  44393. +$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  44394. +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  44395. + $as_echo_n "(cached) " >&6
  44396. +else
  44397. + lt_cv_ld_exported_symbols_list=no
  44398. + save_LDFLAGS=$LDFLAGS
  44399. + echo "_main" > conftest.sym
  44400. + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  44401. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  44402. +/* end confdefs.h. */
  44403. +
  44404. +int
  44405. +main ()
  44406. +{
  44407. +
  44408. + ;
  44409. + return 0;
  44410. +}
  44411. +_ACEOF
  44412. +if ac_fn_c_try_link "$LINENO"; then :
  44413. + lt_cv_ld_exported_symbols_list=yes
  44414. +else
  44415. + lt_cv_ld_exported_symbols_list=no
  44416. +fi
  44417. +rm -f core conftest.err conftest.$ac_objext \
  44418. + conftest$ac_exeext conftest.$ac_ext
  44419. + LDFLAGS="$save_LDFLAGS"
  44420. +
  44421. +fi
  44422. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  44423. +$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  44424. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  44425. +$as_echo_n "checking for -force_load linker flag... " >&6; }
  44426. +if test "${lt_cv_ld_force_load+set}" = set; then :
  44427. + $as_echo_n "(cached) " >&6
  44428. +else
  44429. + lt_cv_ld_force_load=no
  44430. + cat > conftest.c << _LT_EOF
  44431. +int forced_loaded() { return 2;}
  44432. +_LT_EOF
  44433. + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  44434. + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  44435. + echo "$AR cru libconftest.a conftest.o" >&5
  44436. + $AR cru libconftest.a conftest.o 2>&5
  44437. + cat > conftest.c << _LT_EOF
  44438. +int main() { return 0;}
  44439. +_LT_EOF
  44440. + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  44441. + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  44442. + _lt_result=$?
  44443. + if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  44444. + lt_cv_ld_force_load=yes
  44445. + else
  44446. + cat conftest.err >&5
  44447. + fi
  44448. + rm -f conftest.err libconftest.a conftest conftest.c
  44449. + rm -rf conftest.dSYM
  44450. +
  44451. +fi
  44452. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  44453. +$as_echo "$lt_cv_ld_force_load" >&6; }
  44454. + case $host_os in
  44455. + rhapsody* | darwin1.[012])
  44456. + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  44457. + darwin1.*)
  44458. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  44459. + darwin*) # darwin 5.x on
  44460. + # if running on 10.5 or later, the deployment target defaults
  44461. + # to the OS version, if on x86, and 10.4, the deployment
  44462. + # target defaults to 10.4. Don't you love it?
  44463. + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  44464. + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  44465. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  44466. + 10.[012]*)
  44467. + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  44468. + 10.*)
  44469. + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  44470. + esac
  44471. + ;;
  44472. + esac
  44473. + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  44474. + _lt_dar_single_mod='$single_module'
  44475. + fi
  44476. + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  44477. + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  44478. + else
  44479. + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  44480. + fi
  44481. + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  44482. + _lt_dsymutil='~$DSYMUTIL $lib || :'
  44483. + else
  44484. + _lt_dsymutil=
  44485. + fi
  44486. + ;;
  44487. + esac
  44488. +
  44489. +for ac_header in dlfcn.h
  44490. +do :
  44491. + ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  44492. +"
  44493. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  44494. + cat >>confdefs.h <<_ACEOF
  44495. +@%:@define HAVE_DLFCN_H 1
  44496. +_ACEOF
  44497. +
  44498. +fi
  44499. +
  44500. +done
  44501. +
  44502. +
  44503. +
  44504. +
  44505. +
  44506. +# Set options
  44507. +
  44508. +
  44509. +
  44510. + enable_dlopen=no
  44511. +
  44512. +
  44513. + enable_win32_dll=no
  44514. +
  44515. +
  44516. + @%:@ Check whether --enable-shared was given.
  44517. +if test "${enable_shared+set}" = set; then :
  44518. + enableval=$enable_shared; p=${PACKAGE-default}
  44519. + case $enableval in
  44520. + yes) enable_shared=yes ;;
  44521. + no) enable_shared=no ;;
  44522. + *)
  44523. + enable_shared=no
  44524. + # Look at the argument we got. We use all the common list separators.
  44525. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  44526. + for pkg in $enableval; do
  44527. + IFS="$lt_save_ifs"
  44528. + if test "X$pkg" = "X$p"; then
  44529. + enable_shared=yes
  44530. + fi
  44531. + done
  44532. + IFS="$lt_save_ifs"
  44533. + ;;
  44534. + esac
  44535. +else
  44536. + enable_shared=yes
  44537. +fi
  44538. +
  44539. +
  44540. +
  44541. +
  44542. +
  44543. +
  44544. +
  44545. +
  44546. +
  44547. + @%:@ Check whether --enable-static was given.
  44548. +if test "${enable_static+set}" = set; then :
  44549. + enableval=$enable_static; p=${PACKAGE-default}
  44550. + case $enableval in
  44551. + yes) enable_static=yes ;;
  44552. + no) enable_static=no ;;
  44553. + *)
  44554. + enable_static=no
  44555. + # Look at the argument we got. We use all the common list separators.
  44556. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  44557. + for pkg in $enableval; do
  44558. + IFS="$lt_save_ifs"
  44559. + if test "X$pkg" = "X$p"; then
  44560. + enable_static=yes
  44561. + fi
  44562. + done
  44563. + IFS="$lt_save_ifs"
  44564. + ;;
  44565. + esac
  44566. +else
  44567. + enable_static=yes
  44568. +fi
  44569. +
  44570. +
  44571. +
  44572. +
  44573. +
  44574. +
  44575. +
  44576. +
  44577. +
  44578. +
  44579. +@%:@ Check whether --with-pic was given.
  44580. +if test "${with_pic+set}" = set; then :
  44581. + withval=$with_pic; pic_mode="$withval"
  44582. +else
  44583. + pic_mode=default
  44584. +fi
  44585. +
  44586. +
  44587. +test -z "$pic_mode" && pic_mode=default
  44588. +
  44589. +
  44590. +
  44591. +
  44592. +
  44593. +
  44594. +
  44595. + @%:@ Check whether --enable-fast-install was given.
  44596. +if test "${enable_fast_install+set}" = set; then :
  44597. + enableval=$enable_fast_install; p=${PACKAGE-default}
  44598. + case $enableval in
  44599. + yes) enable_fast_install=yes ;;
  44600. + no) enable_fast_install=no ;;
  44601. + *)
  44602. + enable_fast_install=no
  44603. + # Look at the argument we got. We use all the common list separators.
  44604. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  44605. + for pkg in $enableval; do
  44606. + IFS="$lt_save_ifs"
  44607. + if test "X$pkg" = "X$p"; then
  44608. + enable_fast_install=yes
  44609. + fi
  44610. + done
  44611. + IFS="$lt_save_ifs"
  44612. + ;;
  44613. + esac
  44614. +else
  44615. + enable_fast_install=yes
  44616. +fi
  44617. +
  44618. +
  44619. +
  44620. +
  44621. +
  44622. +
  44623. +
  44624. +
  44625. +
  44626. +
  44627. +
  44628. +# This can be used to rebuild libtool when needed
  44629. +LIBTOOL_DEPS="$ltmain"
  44630. +
  44631. +# Always use our own libtool.
  44632. +LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  44633. +
  44634. +
  44635. +
  44636. +
  44637. +
  44638. +
  44639. +
  44640. +
  44641. +
  44642. +
  44643. +
  44644. +
  44645. +
  44646. +
  44647. +
  44648. +
  44649. +
  44650. +
  44651. +
  44652. +
  44653. +
  44654. +
  44655. +
  44656. +
  44657. +
  44658. +
  44659. +test -z "$LN_S" && LN_S="ln -s"
  44660. +
  44661. +
  44662. +
  44663. +
  44664. +
  44665. +
  44666. +
  44667. +
  44668. +
  44669. +
  44670. +
  44671. +
  44672. +
  44673. +
  44674. +if test -n "${ZSH_VERSION+set}" ; then
  44675. + setopt NO_GLOB_SUBST
  44676. +fi
  44677. +
  44678. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  44679. +$as_echo_n "checking for objdir... " >&6; }
  44680. +if test "${lt_cv_objdir+set}" = set; then :
  44681. + $as_echo_n "(cached) " >&6
  44682. +else
  44683. + rm -f .libs 2>/dev/null
  44684. +mkdir .libs 2>/dev/null
  44685. +if test -d .libs; then
  44686. + lt_cv_objdir=.libs
  44687. +else
  44688. + # MS-DOS does not allow filenames that begin with a dot.
  44689. + lt_cv_objdir=_libs
  44690. +fi
  44691. +rmdir .libs 2>/dev/null
  44692. +fi
  44693. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  44694. +$as_echo "$lt_cv_objdir" >&6; }
  44695. +objdir=$lt_cv_objdir
  44696. +
  44697. +
  44698. +
  44699. +
  44700. +
  44701. +cat >>confdefs.h <<_ACEOF
  44702. +@%:@define LT_OBJDIR "$lt_cv_objdir/"
  44703. +_ACEOF
  44704. +
  44705. +
  44706. +
  44707. +
  44708. +case $host_os in
  44709. +aix3*)
  44710. + # AIX sometimes has problems with the GCC collect2 program. For some
  44711. + # reason, if we set the COLLECT_NAMES environment variable, the problems
  44712. + # vanish in a puff of smoke.
  44713. + if test "X${COLLECT_NAMES+set}" != Xset; then
  44714. + COLLECT_NAMES=
  44715. + export COLLECT_NAMES
  44716. + fi
  44717. + ;;
  44718. +esac
  44719. +
  44720. +# Global variables:
  44721. +ofile=libtool
  44722. +can_build_shared=yes
  44723. +
  44724. +# All known linkers require a `.a' archive for static linking (except MSVC,
  44725. +# which needs '.lib').
  44726. +libext=a
  44727. +
  44728. +with_gnu_ld="$lt_cv_prog_gnu_ld"
  44729. +
  44730. +old_CC="$CC"
  44731. +old_CFLAGS="$CFLAGS"
  44732. +
  44733. +# Set sane defaults for various variables
  44734. +test -z "$CC" && CC=cc
  44735. +test -z "$LTCC" && LTCC=$CC
  44736. +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  44737. +test -z "$LD" && LD=ld
  44738. +test -z "$ac_objext" && ac_objext=o
  44739. +
  44740. +for cc_temp in $compiler""; do
  44741. + case $cc_temp in
  44742. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  44743. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  44744. + \-*) ;;
  44745. + *) break;;
  44746. + esac
  44747. +done
  44748. +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  44749. +
  44750. +
  44751. +# Only perform the check for file, if the check method requires it
  44752. +test -z "$MAGIC_CMD" && MAGIC_CMD=file
  44753. +case $deplibs_check_method in
  44754. +file_magic*)
  44755. + if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  44756. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  44757. +$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  44758. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  44759. + $as_echo_n "(cached) " >&6
  44760. +else
  44761. + case $MAGIC_CMD in
  44762. +[\\/*] | ?:[\\/]*)
  44763. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  44764. + ;;
  44765. +*)
  44766. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  44767. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  44768. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  44769. + for ac_dir in $ac_dummy; do
  44770. + IFS="$lt_save_ifs"
  44771. + test -z "$ac_dir" && ac_dir=.
  44772. + if test -f $ac_dir/${ac_tool_prefix}file; then
  44773. + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  44774. + if test -n "$file_magic_test_file"; then
  44775. + case $deplibs_check_method in
  44776. + "file_magic "*)
  44777. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  44778. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  44779. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  44780. + $EGREP "$file_magic_regex" > /dev/null; then
  44781. + :
  44782. + else
  44783. + cat <<_LT_EOF 1>&2
  44784. +
  44785. +*** Warning: the command libtool uses to detect shared libraries,
  44786. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  44787. +*** The result is that libtool may fail to recognize shared libraries
  44788. +*** as such. This will affect the creation of libtool libraries that
  44789. +*** depend on shared libraries, but programs linked with such libtool
  44790. +*** libraries will work regardless of this problem. Nevertheless, you
  44791. +*** may want to report the problem to your system manager and/or to
  44792. +*** bug-libtool@gnu.org
  44793. +
  44794. +_LT_EOF
  44795. + fi ;;
  44796. + esac
  44797. + fi
  44798. + break
  44799. + fi
  44800. + done
  44801. + IFS="$lt_save_ifs"
  44802. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  44803. + ;;
  44804. +esac
  44805. +fi
  44806. +
  44807. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  44808. +if test -n "$MAGIC_CMD"; then
  44809. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  44810. +$as_echo "$MAGIC_CMD" >&6; }
  44811. +else
  44812. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44813. +$as_echo "no" >&6; }
  44814. +fi
  44815. +
  44816. +
  44817. +
  44818. +
  44819. +
  44820. +if test -z "$lt_cv_path_MAGIC_CMD"; then
  44821. + if test -n "$ac_tool_prefix"; then
  44822. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  44823. +$as_echo_n "checking for file... " >&6; }
  44824. +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  44825. + $as_echo_n "(cached) " >&6
  44826. +else
  44827. + case $MAGIC_CMD in
  44828. +[\\/*] | ?:[\\/]*)
  44829. + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  44830. + ;;
  44831. +*)
  44832. + lt_save_MAGIC_CMD="$MAGIC_CMD"
  44833. + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  44834. + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  44835. + for ac_dir in $ac_dummy; do
  44836. + IFS="$lt_save_ifs"
  44837. + test -z "$ac_dir" && ac_dir=.
  44838. + if test -f $ac_dir/file; then
  44839. + lt_cv_path_MAGIC_CMD="$ac_dir/file"
  44840. + if test -n "$file_magic_test_file"; then
  44841. + case $deplibs_check_method in
  44842. + "file_magic "*)
  44843. + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  44844. + MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  44845. + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  44846. + $EGREP "$file_magic_regex" > /dev/null; then
  44847. + :
  44848. + else
  44849. + cat <<_LT_EOF 1>&2
  44850. +
  44851. +*** Warning: the command libtool uses to detect shared libraries,
  44852. +*** $file_magic_cmd, produces output that libtool cannot recognize.
  44853. +*** The result is that libtool may fail to recognize shared libraries
  44854. +*** as such. This will affect the creation of libtool libraries that
  44855. +*** depend on shared libraries, but programs linked with such libtool
  44856. +*** libraries will work regardless of this problem. Nevertheless, you
  44857. +*** may want to report the problem to your system manager and/or to
  44858. +*** bug-libtool@gnu.org
  44859. +
  44860. +_LT_EOF
  44861. + fi ;;
  44862. + esac
  44863. + fi
  44864. + break
  44865. + fi
  44866. + done
  44867. + IFS="$lt_save_ifs"
  44868. + MAGIC_CMD="$lt_save_MAGIC_CMD"
  44869. + ;;
  44870. +esac
  44871. +fi
  44872. +
  44873. +MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  44874. +if test -n "$MAGIC_CMD"; then
  44875. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  44876. +$as_echo "$MAGIC_CMD" >&6; }
  44877. +else
  44878. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  44879. +$as_echo "no" >&6; }
  44880. +fi
  44881. +
  44882. +
  44883. + else
  44884. + MAGIC_CMD=:
  44885. + fi
  44886. +fi
  44887. +
  44888. + fi
  44889. + ;;
  44890. +esac
  44891. +
  44892. +# Use C for the default configuration in the libtool script
  44893. +
  44894. +lt_save_CC="$CC"
  44895. +ac_ext=c
  44896. +ac_cpp='$CPP $CPPFLAGS'
  44897. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  44898. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  44899. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  44900. +
  44901. +
  44902. +# Source file extension for C test sources.
  44903. +ac_ext=c
  44904. +
  44905. +# Object file extension for compiled C test sources.
  44906. +objext=o
  44907. +objext=$objext
  44908. +
  44909. +# Code to be used in simple compile tests
  44910. +lt_simple_compile_test_code="int some_variable = 0;"
  44911. +
  44912. +# Code to be used in simple link tests
  44913. +lt_simple_link_test_code='int main(){return(0);}'
  44914. +
  44915. +
  44916. +
  44917. +
  44918. +
  44919. +
  44920. +
  44921. +# If no C compiler was specified, use CC.
  44922. +LTCC=${LTCC-"$CC"}
  44923. +
  44924. +# If no C compiler flags were specified, use CFLAGS.
  44925. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  44926. +
  44927. +# Allow CC to be a program name with arguments.
  44928. +compiler=$CC
  44929. +
  44930. +# Save the default compiler, since it gets overwritten when the other
  44931. +# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  44932. +compiler_DEFAULT=$CC
  44933. +
  44934. +# save warnings/boilerplate of simple test code
  44935. +ac_outfile=conftest.$ac_objext
  44936. +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  44937. +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  44938. +_lt_compiler_boilerplate=`cat conftest.err`
  44939. +$RM conftest*
  44940. +
  44941. +ac_outfile=conftest.$ac_objext
  44942. +echo "$lt_simple_link_test_code" >conftest.$ac_ext
  44943. +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  44944. +_lt_linker_boilerplate=`cat conftest.err`
  44945. +$RM -r conftest*
  44946. +
  44947. +
  44948. +## CAVEAT EMPTOR:
  44949. +## There is no encapsulation within the following macros, do not change
  44950. +## the running order or otherwise move them around unless you know exactly
  44951. +## what you are doing...
  44952. +if test -n "$compiler"; then
  44953. +
  44954. +lt_prog_compiler_no_builtin_flag=
  44955. +
  44956. +if test "$GCC" = yes; then
  44957. + case $cc_basename in
  44958. + nvcc*)
  44959. + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  44960. + *)
  44961. + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  44962. + esac
  44963. +
  44964. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  44965. +$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  44966. +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  44967. + $as_echo_n "(cached) " >&6
  44968. +else
  44969. + lt_cv_prog_compiler_rtti_exceptions=no
  44970. + ac_outfile=conftest.$ac_objext
  44971. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  44972. + lt_compiler_flag="-fno-rtti -fno-exceptions"
  44973. + # Insert the option either (1) after the last *FLAGS variable, or
  44974. + # (2) before a word containing "conftest.", or (3) at the end.
  44975. + # Note that $ac_compile itself does not contain backslashes and begins
  44976. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  44977. + # The option is referenced via a variable to avoid confusing sed.
  44978. + lt_compile=`echo "$ac_compile" | $SED \
  44979. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  44980. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  44981. + -e 's:$: $lt_compiler_flag:'`
  44982. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  44983. + (eval "$lt_compile" 2>conftest.err)
  44984. + ac_status=$?
  44985. + cat conftest.err >&5
  44986. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  44987. + if (exit $ac_status) && test -s "$ac_outfile"; then
  44988. + # The compiler can only warn and ignore the option if not recognized
  44989. + # So say no if there are warnings other than the usual output.
  44990. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  44991. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  44992. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  44993. + lt_cv_prog_compiler_rtti_exceptions=yes
  44994. + fi
  44995. + fi
  44996. + $RM conftest*
  44997. +
  44998. +fi
  44999. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  45000. +$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  45001. +
  45002. +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  45003. + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  45004. +else
  45005. + :
  45006. +fi
  45007. +
  45008. +fi
  45009. +
  45010. +
  45011. +
  45012. +
  45013. +
  45014. +
  45015. + lt_prog_compiler_wl=
  45016. +lt_prog_compiler_pic=
  45017. +lt_prog_compiler_static=
  45018. +
  45019. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  45020. +$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  45021. +
  45022. + if test "$GCC" = yes; then
  45023. + lt_prog_compiler_wl='-Wl,'
  45024. + lt_prog_compiler_static='-static'
  45025. +
  45026. + case $host_os in
  45027. + aix*)
  45028. + # All AIX code is PIC.
  45029. + if test "$host_cpu" = ia64; then
  45030. + # AIX 5 now supports IA64 processor
  45031. + lt_prog_compiler_static='-Bstatic'
  45032. + fi
  45033. + ;;
  45034. +
  45035. + amigaos*)
  45036. + case $host_cpu in
  45037. + powerpc)
  45038. + # see comment about AmigaOS4 .so support
  45039. + lt_prog_compiler_pic='-fPIC'
  45040. + ;;
  45041. + m68k)
  45042. + # FIXME: we need at least 68020 code to build shared libraries, but
  45043. + # adding the `-m68020' flag to GCC prevents building anything better,
  45044. + # like `-m68040'.
  45045. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  45046. + ;;
  45047. + esac
  45048. + ;;
  45049. +
  45050. + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  45051. + # PIC is the default for these OSes.
  45052. + ;;
  45053. +
  45054. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  45055. + # This hack is so that the source file can tell whether it is being
  45056. + # built for inclusion in a dll (and should export symbols for example).
  45057. + # Although the cygwin gcc ignores -fPIC, still need this for old-style
  45058. + # (--disable-auto-import) libraries
  45059. + lt_prog_compiler_pic='-DDLL_EXPORT'
  45060. + ;;
  45061. +
  45062. + darwin* | rhapsody*)
  45063. + # PIC is the default on this platform
  45064. + # Common symbols not allowed in MH_DYLIB files
  45065. + lt_prog_compiler_pic='-fno-common'
  45066. + ;;
  45067. +
  45068. + haiku*)
  45069. + # PIC is the default for Haiku.
  45070. + # The "-static" flag exists, but is broken.
  45071. + lt_prog_compiler_static=
  45072. + ;;
  45073. +
  45074. + hpux*)
  45075. + # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  45076. + # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  45077. + # sets the default TLS model and affects inlining.
  45078. + case $host_cpu in
  45079. + hppa*64*)
  45080. + # +Z the default
  45081. + ;;
  45082. + *)
  45083. + lt_prog_compiler_pic='-fPIC'
  45084. + ;;
  45085. + esac
  45086. + ;;
  45087. +
  45088. + interix[3-9]*)
  45089. + # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  45090. + # Instead, we relocate shared libraries at runtime.
  45091. + ;;
  45092. +
  45093. + msdosdjgpp*)
  45094. + # Just because we use GCC doesn't mean we suddenly get shared libraries
  45095. + # on systems that don't support them.
  45096. + lt_prog_compiler_can_build_shared=no
  45097. + enable_shared=no
  45098. + ;;
  45099. +
  45100. + *nto* | *qnx*)
  45101. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  45102. + # it will coredump.
  45103. + lt_prog_compiler_pic='-fPIC -shared'
  45104. + ;;
  45105. +
  45106. + sysv4*MP*)
  45107. + if test -d /usr/nec; then
  45108. + lt_prog_compiler_pic=-Kconform_pic
  45109. + fi
  45110. + ;;
  45111. +
  45112. + *)
  45113. + lt_prog_compiler_pic='-fPIC'
  45114. + ;;
  45115. + esac
  45116. +
  45117. + case $cc_basename in
  45118. + nvcc*) # Cuda Compiler Driver 2.2
  45119. + lt_prog_compiler_wl='-Xlinker '
  45120. + lt_prog_compiler_pic='-Xcompiler -fPIC'
  45121. + ;;
  45122. + esac
  45123. + else
  45124. + # PORTME Check for flag to pass linker flags through the system compiler.
  45125. + case $host_os in
  45126. + aix*)
  45127. + lt_prog_compiler_wl='-Wl,'
  45128. + if test "$host_cpu" = ia64; then
  45129. + # AIX 5 now supports IA64 processor
  45130. + lt_prog_compiler_static='-Bstatic'
  45131. + else
  45132. + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  45133. + fi
  45134. + ;;
  45135. +
  45136. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  45137. + # This hack is so that the source file can tell whether it is being
  45138. + # built for inclusion in a dll (and should export symbols for example).
  45139. + lt_prog_compiler_pic='-DDLL_EXPORT'
  45140. + ;;
  45141. +
  45142. + hpux9* | hpux10* | hpux11*)
  45143. + lt_prog_compiler_wl='-Wl,'
  45144. + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  45145. + # not for PA HP-UX.
  45146. + case $host_cpu in
  45147. + hppa*64*|ia64*)
  45148. + # +Z the default
  45149. + ;;
  45150. + *)
  45151. + lt_prog_compiler_pic='+Z'
  45152. + ;;
  45153. + esac
  45154. + # Is there a better lt_prog_compiler_static that works with the bundled CC?
  45155. + lt_prog_compiler_static='${wl}-a ${wl}archive'
  45156. + ;;
  45157. +
  45158. + irix5* | irix6* | nonstopux*)
  45159. + lt_prog_compiler_wl='-Wl,'
  45160. + # PIC (with -KPIC) is the default.
  45161. + lt_prog_compiler_static='-non_shared'
  45162. + ;;
  45163. +
  45164. + linux* | k*bsd*-gnu | kopensolaris*-gnu)
  45165. + case $cc_basename in
  45166. + # old Intel for x86_64 which still supported -KPIC.
  45167. + ecc*)
  45168. + lt_prog_compiler_wl='-Wl,'
  45169. + lt_prog_compiler_pic='-KPIC'
  45170. + lt_prog_compiler_static='-static'
  45171. + ;;
  45172. + # icc used to be incompatible with GCC.
  45173. + # ICC 10 doesn't accept -KPIC any more.
  45174. + icc* | ifort*)
  45175. + lt_prog_compiler_wl='-Wl,'
  45176. + lt_prog_compiler_pic='-fPIC'
  45177. + lt_prog_compiler_static='-static'
  45178. + ;;
  45179. + # Lahey Fortran 8.1.
  45180. + lf95*)
  45181. + lt_prog_compiler_wl='-Wl,'
  45182. + lt_prog_compiler_pic='--shared'
  45183. + lt_prog_compiler_static='--static'
  45184. + ;;
  45185. + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  45186. + # Portland Group compilers (*not* the Pentium gcc compiler,
  45187. + # which looks to be a dead project)
  45188. + lt_prog_compiler_wl='-Wl,'
  45189. + lt_prog_compiler_pic='-fpic'
  45190. + lt_prog_compiler_static='-Bstatic'
  45191. + ;;
  45192. + ccc*)
  45193. + lt_prog_compiler_wl='-Wl,'
  45194. + # All Alpha code is PIC.
  45195. + lt_prog_compiler_static='-non_shared'
  45196. + ;;
  45197. + xl* | bgxl* | bgf* | mpixl*)
  45198. + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  45199. + lt_prog_compiler_wl='-Wl,'
  45200. + lt_prog_compiler_pic='-qpic'
  45201. + lt_prog_compiler_static='-qstaticlink'
  45202. + ;;
  45203. + *)
  45204. + case `$CC -V 2>&1 | sed 5q` in
  45205. + *Sun\ F* | *Sun*Fortran*)
  45206. + # Sun Fortran 8.3 passes all unrecognized flags to the linker
  45207. + lt_prog_compiler_pic='-KPIC'
  45208. + lt_prog_compiler_static='-Bstatic'
  45209. + lt_prog_compiler_wl=''
  45210. + ;;
  45211. + *Sun\ C*)
  45212. + # Sun C 5.9
  45213. + lt_prog_compiler_pic='-KPIC'
  45214. + lt_prog_compiler_static='-Bstatic'
  45215. + lt_prog_compiler_wl='-Wl,'
  45216. + ;;
  45217. + esac
  45218. + ;;
  45219. + esac
  45220. + ;;
  45221. +
  45222. + newsos6)
  45223. + lt_prog_compiler_pic='-KPIC'
  45224. + lt_prog_compiler_static='-Bstatic'
  45225. + ;;
  45226. +
  45227. + *nto* | *qnx*)
  45228. + # QNX uses GNU C++, but need to define -shared option too, otherwise
  45229. + # it will coredump.
  45230. + lt_prog_compiler_pic='-fPIC -shared'
  45231. + ;;
  45232. +
  45233. + osf3* | osf4* | osf5*)
  45234. + lt_prog_compiler_wl='-Wl,'
  45235. + # All OSF/1 code is PIC.
  45236. + lt_prog_compiler_static='-non_shared'
  45237. + ;;
  45238. +
  45239. + rdos*)
  45240. + lt_prog_compiler_static='-non_shared'
  45241. + ;;
  45242. +
  45243. + solaris*)
  45244. + lt_prog_compiler_pic='-KPIC'
  45245. + lt_prog_compiler_static='-Bstatic'
  45246. + case $cc_basename in
  45247. + f77* | f90* | f95*)
  45248. + lt_prog_compiler_wl='-Qoption ld ';;
  45249. + *)
  45250. + lt_prog_compiler_wl='-Wl,';;
  45251. + esac
  45252. + ;;
  45253. +
  45254. + sunos4*)
  45255. + lt_prog_compiler_wl='-Qoption ld '
  45256. + lt_prog_compiler_pic='-PIC'
  45257. + lt_prog_compiler_static='-Bstatic'
  45258. + ;;
  45259. +
  45260. + sysv4 | sysv4.2uw2* | sysv4.3*)
  45261. + lt_prog_compiler_wl='-Wl,'
  45262. + lt_prog_compiler_pic='-KPIC'
  45263. + lt_prog_compiler_static='-Bstatic'
  45264. + ;;
  45265. +
  45266. + sysv4*MP*)
  45267. + if test -d /usr/nec ;then
  45268. + lt_prog_compiler_pic='-Kconform_pic'
  45269. + lt_prog_compiler_static='-Bstatic'
  45270. + fi
  45271. + ;;
  45272. +
  45273. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  45274. + lt_prog_compiler_wl='-Wl,'
  45275. + lt_prog_compiler_pic='-KPIC'
  45276. + lt_prog_compiler_static='-Bstatic'
  45277. + ;;
  45278. +
  45279. + unicos*)
  45280. + lt_prog_compiler_wl='-Wl,'
  45281. + lt_prog_compiler_can_build_shared=no
  45282. + ;;
  45283. +
  45284. + uts4*)
  45285. + lt_prog_compiler_pic='-pic'
  45286. + lt_prog_compiler_static='-Bstatic'
  45287. + ;;
  45288. +
  45289. + *)
  45290. + lt_prog_compiler_can_build_shared=no
  45291. + ;;
  45292. + esac
  45293. + fi
  45294. +
  45295. +case $host_os in
  45296. + # For platforms which do not support PIC, -DPIC is meaningless:
  45297. + *djgpp*)
  45298. + lt_prog_compiler_pic=
  45299. + ;;
  45300. + *)
  45301. + lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  45302. + ;;
  45303. +esac
  45304. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  45305. +$as_echo "$lt_prog_compiler_pic" >&6; }
  45306. +
  45307. +
  45308. +
  45309. +
  45310. +
  45311. +
  45312. +#
  45313. +# Check to make sure the PIC flag actually works.
  45314. +#
  45315. +if test -n "$lt_prog_compiler_pic"; then
  45316. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  45317. +$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  45318. +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  45319. + $as_echo_n "(cached) " >&6
  45320. +else
  45321. + lt_cv_prog_compiler_pic_works=no
  45322. + ac_outfile=conftest.$ac_objext
  45323. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  45324. + lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
  45325. + # Insert the option either (1) after the last *FLAGS variable, or
  45326. + # (2) before a word containing "conftest.", or (3) at the end.
  45327. + # Note that $ac_compile itself does not contain backslashes and begins
  45328. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  45329. + # The option is referenced via a variable to avoid confusing sed.
  45330. + lt_compile=`echo "$ac_compile" | $SED \
  45331. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  45332. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  45333. + -e 's:$: $lt_compiler_flag:'`
  45334. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  45335. + (eval "$lt_compile" 2>conftest.err)
  45336. + ac_status=$?
  45337. + cat conftest.err >&5
  45338. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  45339. + if (exit $ac_status) && test -s "$ac_outfile"; then
  45340. + # The compiler can only warn and ignore the option if not recognized
  45341. + # So say no if there are warnings other than the usual output.
  45342. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  45343. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  45344. + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  45345. + lt_cv_prog_compiler_pic_works=yes
  45346. + fi
  45347. + fi
  45348. + $RM conftest*
  45349. +
  45350. +fi
  45351. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  45352. +$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  45353. +
  45354. +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  45355. + case $lt_prog_compiler_pic in
  45356. + "" | " "*) ;;
  45357. + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  45358. + esac
  45359. +else
  45360. + lt_prog_compiler_pic=
  45361. + lt_prog_compiler_can_build_shared=no
  45362. +fi
  45363. +
  45364. +fi
  45365. +
  45366. +
  45367. +
  45368. +
  45369. +
  45370. +
  45371. +#
  45372. +# Check to make sure the static flag actually works.
  45373. +#
  45374. +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  45375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  45376. +$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  45377. +if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  45378. + $as_echo_n "(cached) " >&6
  45379. +else
  45380. + lt_cv_prog_compiler_static_works=no
  45381. + save_LDFLAGS="$LDFLAGS"
  45382. + LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  45383. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  45384. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  45385. + # The linker can only warn and ignore the option if not recognized
  45386. + # So say no if there are warnings
  45387. + if test -s conftest.err; then
  45388. + # Append any errors to the config.log.
  45389. + cat conftest.err 1>&5
  45390. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  45391. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  45392. + if diff conftest.exp conftest.er2 >/dev/null; then
  45393. + lt_cv_prog_compiler_static_works=yes
  45394. + fi
  45395. + else
  45396. + lt_cv_prog_compiler_static_works=yes
  45397. + fi
  45398. + fi
  45399. + $RM -r conftest*
  45400. + LDFLAGS="$save_LDFLAGS"
  45401. +
  45402. +fi
  45403. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  45404. +$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  45405. +
  45406. +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  45407. + :
  45408. +else
  45409. + lt_prog_compiler_static=
  45410. +fi
  45411. +
  45412. +
  45413. +
  45414. +
  45415. +
  45416. +
  45417. +
  45418. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  45419. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  45420. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  45421. + $as_echo_n "(cached) " >&6
  45422. +else
  45423. + lt_cv_prog_compiler_c_o=no
  45424. + $RM -r conftest 2>/dev/null
  45425. + mkdir conftest
  45426. + cd conftest
  45427. + mkdir out
  45428. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  45429. +
  45430. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  45431. + # Insert the option either (1) after the last *FLAGS variable, or
  45432. + # (2) before a word containing "conftest.", or (3) at the end.
  45433. + # Note that $ac_compile itself does not contain backslashes and begins
  45434. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  45435. + lt_compile=`echo "$ac_compile" | $SED \
  45436. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  45437. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  45438. + -e 's:$: $lt_compiler_flag:'`
  45439. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  45440. + (eval "$lt_compile" 2>out/conftest.err)
  45441. + ac_status=$?
  45442. + cat out/conftest.err >&5
  45443. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  45444. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  45445. + then
  45446. + # The compiler can only warn and ignore the option if not recognized
  45447. + # So say no if there are warnings
  45448. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  45449. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  45450. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  45451. + lt_cv_prog_compiler_c_o=yes
  45452. + fi
  45453. + fi
  45454. + chmod u+w . 2>&5
  45455. + $RM conftest*
  45456. + # SGI C++ compiler will create directory out/ii_files/ for
  45457. + # template instantiation
  45458. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  45459. + $RM out/* && rmdir out
  45460. + cd ..
  45461. + $RM -r conftest
  45462. + $RM conftest*
  45463. +
  45464. +fi
  45465. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  45466. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  45467. +
  45468. +
  45469. +
  45470. +
  45471. +
  45472. +
  45473. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  45474. +$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  45475. +if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  45476. + $as_echo_n "(cached) " >&6
  45477. +else
  45478. + lt_cv_prog_compiler_c_o=no
  45479. + $RM -r conftest 2>/dev/null
  45480. + mkdir conftest
  45481. + cd conftest
  45482. + mkdir out
  45483. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  45484. +
  45485. + lt_compiler_flag="-o out/conftest2.$ac_objext"
  45486. + # Insert the option either (1) after the last *FLAGS variable, or
  45487. + # (2) before a word containing "conftest.", or (3) at the end.
  45488. + # Note that $ac_compile itself does not contain backslashes and begins
  45489. + # with a dollar sign (not a hyphen), so the echo should work correctly.
  45490. + lt_compile=`echo "$ac_compile" | $SED \
  45491. + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  45492. + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  45493. + -e 's:$: $lt_compiler_flag:'`
  45494. + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  45495. + (eval "$lt_compile" 2>out/conftest.err)
  45496. + ac_status=$?
  45497. + cat out/conftest.err >&5
  45498. + echo "$as_me:$LINENO: \$? = $ac_status" >&5
  45499. + if (exit $ac_status) && test -s out/conftest2.$ac_objext
  45500. + then
  45501. + # The compiler can only warn and ignore the option if not recognized
  45502. + # So say no if there are warnings
  45503. + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  45504. + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  45505. + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  45506. + lt_cv_prog_compiler_c_o=yes
  45507. + fi
  45508. + fi
  45509. + chmod u+w . 2>&5
  45510. + $RM conftest*
  45511. + # SGI C++ compiler will create directory out/ii_files/ for
  45512. + # template instantiation
  45513. + test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  45514. + $RM out/* && rmdir out
  45515. + cd ..
  45516. + $RM -r conftest
  45517. + $RM conftest*
  45518. +
  45519. +fi
  45520. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  45521. +$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  45522. +
  45523. +
  45524. +
  45525. +
  45526. +hard_links="nottested"
  45527. +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  45528. + # do not overwrite the value of need_locks provided by the user
  45529. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  45530. +$as_echo_n "checking if we can lock with hard links... " >&6; }
  45531. + hard_links=yes
  45532. + $RM conftest*
  45533. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  45534. + touch conftest.a
  45535. + ln conftest.a conftest.b 2>&5 || hard_links=no
  45536. + ln conftest.a conftest.b 2>/dev/null && hard_links=no
  45537. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  45538. +$as_echo "$hard_links" >&6; }
  45539. + if test "$hard_links" = no; then
  45540. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  45541. +$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  45542. + need_locks=warn
  45543. + fi
  45544. +else
  45545. + need_locks=no
  45546. +fi
  45547. +
  45548. +
  45549. +
  45550. +
  45551. +
  45552. +
  45553. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  45554. +$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  45555. +
  45556. + runpath_var=
  45557. + allow_undefined_flag=
  45558. + always_export_symbols=no
  45559. + archive_cmds=
  45560. + archive_expsym_cmds=
  45561. + compiler_needs_object=no
  45562. + enable_shared_with_static_runtimes=no
  45563. + export_dynamic_flag_spec=
  45564. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  45565. + hardcode_automatic=no
  45566. + hardcode_direct=no
  45567. + hardcode_direct_absolute=no
  45568. + hardcode_libdir_flag_spec=
  45569. + hardcode_libdir_flag_spec_ld=
  45570. + hardcode_libdir_separator=
  45571. + hardcode_minus_L=no
  45572. + hardcode_shlibpath_var=unsupported
  45573. + inherit_rpath=no
  45574. + link_all_deplibs=unknown
  45575. + module_cmds=
  45576. + module_expsym_cmds=
  45577. + old_archive_from_new_cmds=
  45578. + old_archive_from_expsyms_cmds=
  45579. + thread_safe_flag_spec=
  45580. + whole_archive_flag_spec=
  45581. + # include_expsyms should be a list of space-separated symbols to be *always*
  45582. + # included in the symbol list
  45583. + include_expsyms=
  45584. + # exclude_expsyms can be an extended regexp of symbols to exclude
  45585. + # it will be wrapped by ` (' and `)$', so one must not match beginning or
  45586. + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  45587. + # as well as any symbol that contains `d'.
  45588. + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  45589. + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  45590. + # platforms (ab)use it in PIC code, but their linkers get confused if
  45591. + # the symbol is explicitly referenced. Since portable code cannot
  45592. + # rely on this symbol name, it's probably fine to never include it in
  45593. + # preloaded symbol tables.
  45594. + # Exclude shared library initialization/finalization symbols.
  45595. + extract_expsyms_cmds=
  45596. +
  45597. + case $host_os in
  45598. + cygwin* | mingw* | pw32* | cegcc*)
  45599. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  45600. + # When not using gcc, we currently assume that we are using
  45601. + # Microsoft Visual C++.
  45602. + if test "$GCC" != yes; then
  45603. + with_gnu_ld=no
  45604. + fi
  45605. + ;;
  45606. + interix*)
  45607. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  45608. + with_gnu_ld=yes
  45609. + ;;
  45610. + openbsd*)
  45611. + with_gnu_ld=no
  45612. + ;;
  45613. + esac
  45614. +
  45615. + ld_shlibs=yes
  45616. +
  45617. + # On some targets, GNU ld is compatible enough with the native linker
  45618. + # that we're better off using the native interface for both.
  45619. + lt_use_gnu_ld_interface=no
  45620. + if test "$with_gnu_ld" = yes; then
  45621. + case $host_os in
  45622. + aix*)
  45623. + # The AIX port of GNU ld has always aspired to compatibility
  45624. + # with the native linker. However, as the warning in the GNU ld
  45625. + # block says, versions before 2.19.5* couldn't really create working
  45626. + # shared libraries, regardless of the interface used.
  45627. + case `$LD -v 2>&1` in
  45628. + *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  45629. + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  45630. + *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  45631. + *)
  45632. + lt_use_gnu_ld_interface=yes
  45633. + ;;
  45634. + esac
  45635. + ;;
  45636. + *)
  45637. + lt_use_gnu_ld_interface=yes
  45638. + ;;
  45639. + esac
  45640. + fi
  45641. +
  45642. + if test "$lt_use_gnu_ld_interface" = yes; then
  45643. + # If archive_cmds runs LD, not CC, wlarc should be empty
  45644. + wlarc='${wl}'
  45645. +
  45646. + # Set some defaults for GNU ld with shared library support. These
  45647. + # are reset later if shared libraries are not supported. Putting them
  45648. + # here allows them to be overridden if necessary.
  45649. + runpath_var=LD_RUN_PATH
  45650. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  45651. + export_dynamic_flag_spec='${wl}--export-dynamic'
  45652. + # ancient GNU ld didn't support --whole-archive et. al.
  45653. + if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  45654. + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  45655. + else
  45656. + whole_archive_flag_spec=
  45657. + fi
  45658. + supports_anon_versioning=no
  45659. + case `$LD -v 2>&1` in
  45660. + *GNU\ gold*) supports_anon_versioning=yes ;;
  45661. + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  45662. + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  45663. + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  45664. + *\ 2.11.*) ;; # other 2.11 versions
  45665. + *) supports_anon_versioning=yes ;;
  45666. + esac
  45667. +
  45668. + # See if GNU ld supports shared libraries.
  45669. + case $host_os in
  45670. + aix[3-9]*)
  45671. + # On AIX/PPC, the GNU linker is very broken
  45672. + if test "$host_cpu" != ia64; then
  45673. + ld_shlibs=no
  45674. + cat <<_LT_EOF 1>&2
  45675. +
  45676. +*** Warning: the GNU linker, at least up to release 2.19, is reported
  45677. +*** to be unable to reliably create shared libraries on AIX.
  45678. +*** Therefore, libtool is disabling shared libraries support. If you
  45679. +*** really care for shared libraries, you may want to install binutils
  45680. +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  45681. +*** You will then need to restart the configuration process.
  45682. +
  45683. +_LT_EOF
  45684. + fi
  45685. + ;;
  45686. +
  45687. + amigaos*)
  45688. + case $host_cpu in
  45689. + powerpc)
  45690. + # see comment about AmigaOS4 .so support
  45691. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45692. + archive_expsym_cmds=''
  45693. + ;;
  45694. + m68k)
  45695. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  45696. + hardcode_libdir_flag_spec='-L$libdir'
  45697. + hardcode_minus_L=yes
  45698. + ;;
  45699. + esac
  45700. + ;;
  45701. +
  45702. + beos*)
  45703. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  45704. + allow_undefined_flag=unsupported
  45705. + # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  45706. + # support --undefined. This deserves some investigation. FIXME
  45707. + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45708. + else
  45709. + ld_shlibs=no
  45710. + fi
  45711. + ;;
  45712. +
  45713. + cygwin* | mingw* | pw32* | cegcc*)
  45714. + # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  45715. + # as there is no search path for DLLs.
  45716. + hardcode_libdir_flag_spec='-L$libdir'
  45717. + export_dynamic_flag_spec='${wl}--export-all-symbols'
  45718. + allow_undefined_flag=unsupported
  45719. + always_export_symbols=no
  45720. + enable_shared_with_static_runtimes=yes
  45721. + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  45722. +
  45723. + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  45724. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  45725. + # If the export-symbols file already is a .def file (1st line
  45726. + # is EXPORTS), use it as is; otherwise, prepend...
  45727. + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  45728. + cp $export_symbols $output_objdir/$soname.def;
  45729. + else
  45730. + echo EXPORTS > $output_objdir/$soname.def;
  45731. + cat $export_symbols >> $output_objdir/$soname.def;
  45732. + fi~
  45733. + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  45734. + else
  45735. + ld_shlibs=no
  45736. + fi
  45737. + ;;
  45738. +
  45739. + haiku*)
  45740. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45741. + link_all_deplibs=yes
  45742. + ;;
  45743. +
  45744. + interix[3-9]*)
  45745. + hardcode_direct=no
  45746. + hardcode_shlibpath_var=no
  45747. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  45748. + export_dynamic_flag_spec='${wl}-E'
  45749. + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  45750. + # Instead, shared libraries are loaded at an image base (0x10000000 by
  45751. + # default) and relocated if they conflict, which is a slow very memory
  45752. + # consuming and fragmenting process. To avoid this, we pick a random,
  45753. + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  45754. + # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  45755. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  45756. + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  45757. + ;;
  45758. +
  45759. + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  45760. + tmp_diet=no
  45761. + if test "$host_os" = linux-dietlibc; then
  45762. + case $cc_basename in
  45763. + diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  45764. + esac
  45765. + fi
  45766. + if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  45767. + && test "$tmp_diet" = no
  45768. + then
  45769. + tmp_addflag=
  45770. + tmp_sharedflag='-shared'
  45771. + case $cc_basename,$host_cpu in
  45772. + pgcc*) # Portland Group C compiler
  45773. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  45774. + tmp_addflag=' $pic_flag'
  45775. + ;;
  45776. + pgf77* | pgf90* | pgf95* | pgfortran*)
  45777. + # Portland Group f77 and f90 compilers
  45778. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  45779. + tmp_addflag=' $pic_flag -Mnomain' ;;
  45780. + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  45781. + tmp_addflag=' -i_dynamic' ;;
  45782. + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  45783. + tmp_addflag=' -i_dynamic -nofor_main' ;;
  45784. + ifc* | ifort*) # Intel Fortran compiler
  45785. + tmp_addflag=' -nofor_main' ;;
  45786. + lf95*) # Lahey Fortran 8.1
  45787. + whole_archive_flag_spec=
  45788. + tmp_sharedflag='--shared' ;;
  45789. + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  45790. + tmp_sharedflag='-qmkshrobj'
  45791. + tmp_addflag= ;;
  45792. + nvcc*) # Cuda Compiler Driver 2.2
  45793. + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  45794. + compiler_needs_object=yes
  45795. + ;;
  45796. + esac
  45797. + case `$CC -V 2>&1 | sed 5q` in
  45798. + *Sun\ C*) # Sun C 5.9
  45799. + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  45800. + compiler_needs_object=yes
  45801. + tmp_sharedflag='-G' ;;
  45802. + *Sun\ F*) # Sun Fortran 8.3
  45803. + tmp_sharedflag='-G' ;;
  45804. + esac
  45805. + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45806. +
  45807. + if test "x$supports_anon_versioning" = xyes; then
  45808. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  45809. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  45810. + echo "local: *; };" >> $output_objdir/$libname.ver~
  45811. + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  45812. + fi
  45813. +
  45814. + case $cc_basename in
  45815. + xlf* | bgf* | bgxlf* | mpixlf*)
  45816. + # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  45817. + whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  45818. + hardcode_libdir_flag_spec=
  45819. + hardcode_libdir_flag_spec_ld='-rpath $libdir'
  45820. + archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  45821. + if test "x$supports_anon_versioning" = xyes; then
  45822. + archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  45823. + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  45824. + echo "local: *; };" >> $output_objdir/$libname.ver~
  45825. + $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  45826. + fi
  45827. + ;;
  45828. + esac
  45829. + else
  45830. + ld_shlibs=no
  45831. + fi
  45832. + ;;
  45833. +
  45834. + netbsd*)
  45835. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  45836. + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  45837. + wlarc=
  45838. + else
  45839. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45840. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45841. + fi
  45842. + ;;
  45843. +
  45844. + solaris*)
  45845. + if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  45846. + ld_shlibs=no
  45847. + cat <<_LT_EOF 1>&2
  45848. +
  45849. +*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  45850. +*** create shared libraries on Solaris systems. Therefore, libtool
  45851. +*** is disabling shared libraries support. We urge you to upgrade GNU
  45852. +*** binutils to release 2.9.1 or newer. Another option is to modify
  45853. +*** your PATH or compiler configuration so that the native linker is
  45854. +*** used, and then restart.
  45855. +
  45856. +_LT_EOF
  45857. + elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  45858. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45859. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45860. + else
  45861. + ld_shlibs=no
  45862. + fi
  45863. + ;;
  45864. +
  45865. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  45866. + case `$LD -v 2>&1` in
  45867. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  45868. + ld_shlibs=no
  45869. + cat <<_LT_EOF 1>&2
  45870. +
  45871. +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  45872. +*** reliably create shared libraries on SCO systems. Therefore, libtool
  45873. +*** is disabling shared libraries support. We urge you to upgrade GNU
  45874. +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  45875. +*** your PATH or compiler configuration so that the native linker is
  45876. +*** used, and then restart.
  45877. +
  45878. +_LT_EOF
  45879. + ;;
  45880. + *)
  45881. + # For security reasons, it is highly recommended that you always
  45882. + # use absolute paths for naming shared libraries, and exclude the
  45883. + # DT_RUNPATH tag from executables and libraries. But doing so
  45884. + # requires that you compile everything twice, which is a pain.
  45885. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  45886. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  45887. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45888. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45889. + else
  45890. + ld_shlibs=no
  45891. + fi
  45892. + ;;
  45893. + esac
  45894. + ;;
  45895. +
  45896. + sunos4*)
  45897. + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  45898. + wlarc=
  45899. + hardcode_direct=yes
  45900. + hardcode_shlibpath_var=no
  45901. + ;;
  45902. +
  45903. + *)
  45904. + if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  45905. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  45906. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  45907. + else
  45908. + ld_shlibs=no
  45909. + fi
  45910. + ;;
  45911. + esac
  45912. +
  45913. + if test "$ld_shlibs" = no; then
  45914. + runpath_var=
  45915. + hardcode_libdir_flag_spec=
  45916. + export_dynamic_flag_spec=
  45917. + whole_archive_flag_spec=
  45918. + fi
  45919. + else
  45920. + # PORTME fill in a description of your system's linker (not GNU ld)
  45921. + case $host_os in
  45922. + aix3*)
  45923. + allow_undefined_flag=unsupported
  45924. + always_export_symbols=yes
  45925. + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  45926. + # Note: this linker hardcodes the directories in LIBPATH if there
  45927. + # are no directories specified by -L.
  45928. + hardcode_minus_L=yes
  45929. + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  45930. + # Neither direct hardcoding nor static linking is supported with a
  45931. + # broken collect2.
  45932. + hardcode_direct=unsupported
  45933. + fi
  45934. + ;;
  45935. +
  45936. + aix[4-9]*)
  45937. + if test "$host_cpu" = ia64; then
  45938. + # On IA64, the linker does run time linking by default, so we don't
  45939. + # have to do anything special.
  45940. + aix_use_runtimelinking=no
  45941. + exp_sym_flag='-Bexport'
  45942. + no_entry_flag=""
  45943. + else
  45944. + # If we're using GNU nm, then we don't want the "-C" option.
  45945. + # -C means demangle to AIX nm, but means don't demangle with GNU nm
  45946. + # Also, AIX nm treats weak defined symbols like other global
  45947. + # defined symbols, whereas GNU nm marks them as "W".
  45948. + if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  45949. + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  45950. + else
  45951. + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  45952. + fi
  45953. + aix_use_runtimelinking=no
  45954. +
  45955. + # Test if we are trying to use run time linking or normal
  45956. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  45957. + # need to do runtime linking.
  45958. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  45959. + for ld_flag in $LDFLAGS; do
  45960. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  45961. + aix_use_runtimelinking=yes
  45962. + break
  45963. + fi
  45964. + done
  45965. + ;;
  45966. + esac
  45967. +
  45968. + exp_sym_flag='-bexport'
  45969. + no_entry_flag='-bnoentry'
  45970. + fi
  45971. +
  45972. + # When large executables or shared objects are built, AIX ld can
  45973. + # have problems creating the table of contents. If linking a library
  45974. + # or program results in "error TOC overflow" add -mminimal-toc to
  45975. + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  45976. + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  45977. +
  45978. + archive_cmds=''
  45979. + hardcode_direct=yes
  45980. + hardcode_direct_absolute=yes
  45981. + hardcode_libdir_separator=':'
  45982. + link_all_deplibs=yes
  45983. + file_list_spec='${wl}-f,'
  45984. +
  45985. + if test "$GCC" = yes; then
  45986. + case $host_os in aix4.[012]|aix4.[012].*)
  45987. + # We only want to do this on AIX 4.2 and lower, the check
  45988. + # below for broken collect2 doesn't work under 4.3+
  45989. + collect2name=`${CC} -print-prog-name=collect2`
  45990. + if test -f "$collect2name" &&
  45991. + strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  45992. + then
  45993. + # We have reworked collect2
  45994. + :
  45995. + else
  45996. + # We have old collect2
  45997. + hardcode_direct=unsupported
  45998. + # It fails to find uninstalled libraries when the uninstalled
  45999. + # path is not listed in the libpath. Setting hardcode_minus_L
  46000. + # to unsupported forces relinking
  46001. + hardcode_minus_L=yes
  46002. + hardcode_libdir_flag_spec='-L$libdir'
  46003. + hardcode_libdir_separator=
  46004. + fi
  46005. + ;;
  46006. + esac
  46007. + shared_flag='-shared'
  46008. + if test "$aix_use_runtimelinking" = yes; then
  46009. + shared_flag="$shared_flag "'${wl}-G'
  46010. + fi
  46011. + else
  46012. + # not using gcc
  46013. + if test "$host_cpu" = ia64; then
  46014. + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  46015. + # chokes on -Wl,-G. The following line is correct:
  46016. + shared_flag='-G'
  46017. + else
  46018. + if test "$aix_use_runtimelinking" = yes; then
  46019. + shared_flag='${wl}-G'
  46020. + else
  46021. + shared_flag='${wl}-bM:SRE'
  46022. + fi
  46023. + fi
  46024. + fi
  46025. +
  46026. + export_dynamic_flag_spec='${wl}-bexpall'
  46027. + # It seems that -bexpall does not export symbols beginning with
  46028. + # underscore (_), so it is better to generate a list of symbols to export.
  46029. + always_export_symbols=yes
  46030. + if test "$aix_use_runtimelinking" = yes; then
  46031. + # Warning - without using the other runtime loading flags (-brtl),
  46032. + # -berok will link without error, but may produce a broken library.
  46033. + allow_undefined_flag='-berok'
  46034. + # Determine the default libpath from the value encoded in an
  46035. + # empty executable.
  46036. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46037. +/* end confdefs.h. */
  46038. +
  46039. +int
  46040. +main ()
  46041. +{
  46042. +
  46043. + ;
  46044. + return 0;
  46045. +}
  46046. +_ACEOF
  46047. +if ac_fn_c_try_link "$LINENO"; then :
  46048. +
  46049. +lt_aix_libpath_sed='
  46050. + /Import File Strings/,/^$/ {
  46051. + /^0/ {
  46052. + s/^0 *\(.*\)$/\1/
  46053. + p
  46054. + }
  46055. + }'
  46056. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  46057. +# Check for a 64-bit object if we didn't find anything.
  46058. +if test -z "$aix_libpath"; then
  46059. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  46060. +fi
  46061. +fi
  46062. +rm -f core conftest.err conftest.$ac_objext \
  46063. + conftest$ac_exeext conftest.$ac_ext
  46064. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  46065. +
  46066. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  46067. + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  46068. + else
  46069. + if test "$host_cpu" = ia64; then
  46070. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  46071. + allow_undefined_flag="-z nodefs"
  46072. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  46073. + else
  46074. + # Determine the default libpath from the value encoded in an
  46075. + # empty executable.
  46076. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46077. +/* end confdefs.h. */
  46078. +
  46079. +int
  46080. +main ()
  46081. +{
  46082. +
  46083. + ;
  46084. + return 0;
  46085. +}
  46086. +_ACEOF
  46087. +if ac_fn_c_try_link "$LINENO"; then :
  46088. +
  46089. +lt_aix_libpath_sed='
  46090. + /Import File Strings/,/^$/ {
  46091. + /^0/ {
  46092. + s/^0 *\(.*\)$/\1/
  46093. + p
  46094. + }
  46095. + }'
  46096. +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  46097. +# Check for a 64-bit object if we didn't find anything.
  46098. +if test -z "$aix_libpath"; then
  46099. + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  46100. +fi
  46101. +fi
  46102. +rm -f core conftest.err conftest.$ac_objext \
  46103. + conftest$ac_exeext conftest.$ac_ext
  46104. +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  46105. +
  46106. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  46107. + # Warning - without using the other run time loading flags,
  46108. + # -berok will link without error, but may produce a broken library.
  46109. + no_undefined_flag=' ${wl}-bernotok'
  46110. + allow_undefined_flag=' ${wl}-berok'
  46111. + if test "$with_gnu_ld" = yes; then
  46112. + # We only use this code for GNU lds that support --whole-archive.
  46113. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  46114. + else
  46115. + # Exported symbols can be pulled into shared objects from archives
  46116. + whole_archive_flag_spec='$convenience'
  46117. + fi
  46118. + archive_cmds_need_lc=yes
  46119. + # This is similar to how AIX traditionally builds its shared libraries.
  46120. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  46121. + fi
  46122. + fi
  46123. + ;;
  46124. +
  46125. + amigaos*)
  46126. + case $host_cpu in
  46127. + powerpc)
  46128. + # see comment about AmigaOS4 .so support
  46129. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  46130. + archive_expsym_cmds=''
  46131. + ;;
  46132. + m68k)
  46133. + archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  46134. + hardcode_libdir_flag_spec='-L$libdir'
  46135. + hardcode_minus_L=yes
  46136. + ;;
  46137. + esac
  46138. + ;;
  46139. +
  46140. + bsdi[45]*)
  46141. + export_dynamic_flag_spec=-rdynamic
  46142. + ;;
  46143. +
  46144. + cygwin* | mingw* | pw32* | cegcc*)
  46145. + # When not using gcc, we currently assume that we are using
  46146. + # Microsoft Visual C++.
  46147. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  46148. + # no search path for DLLs.
  46149. + hardcode_libdir_flag_spec=' '
  46150. + allow_undefined_flag=unsupported
  46151. + # Tell ltmain to make .lib files, not .a files.
  46152. + libext=lib
  46153. + # Tell ltmain to make .dll files, not .so files.
  46154. + shrext_cmds=".dll"
  46155. + # FIXME: Setting linknames here is a bad hack.
  46156. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  46157. + # The linker will automatically build a .lib file if we build a DLL.
  46158. + old_archive_from_new_cmds='true'
  46159. + # FIXME: Should let the user specify the lib program.
  46160. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  46161. + fix_srcfile_path='`cygpath -w "$srcfile"`'
  46162. + enable_shared_with_static_runtimes=yes
  46163. + ;;
  46164. +
  46165. + darwin* | rhapsody*)
  46166. +
  46167. +
  46168. + archive_cmds_need_lc=no
  46169. + hardcode_direct=no
  46170. + hardcode_automatic=yes
  46171. + hardcode_shlibpath_var=unsupported
  46172. + if test "$lt_cv_ld_force_load" = "yes"; then
  46173. + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  46174. + else
  46175. + whole_archive_flag_spec=''
  46176. + fi
  46177. + link_all_deplibs=yes
  46178. + allow_undefined_flag="$_lt_dar_allow_undefined"
  46179. + case $cc_basename in
  46180. + ifort*) _lt_dar_can_shared=yes ;;
  46181. + *) _lt_dar_can_shared=$GCC ;;
  46182. + esac
  46183. + if test "$_lt_dar_can_shared" = "yes"; then
  46184. + output_verbose_link_cmd=func_echo_all
  46185. + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  46186. + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  46187. + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  46188. + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  46189. +
  46190. + else
  46191. + ld_shlibs=no
  46192. + fi
  46193. +
  46194. + ;;
  46195. +
  46196. + dgux*)
  46197. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46198. + hardcode_libdir_flag_spec='-L$libdir'
  46199. + hardcode_shlibpath_var=no
  46200. + ;;
  46201. +
  46202. + freebsd1*)
  46203. + ld_shlibs=no
  46204. + ;;
  46205. +
  46206. + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  46207. + # support. Future versions do this automatically, but an explicit c++rt0.o
  46208. + # does not break anything, and helps significantly (at the cost of a little
  46209. + # extra space).
  46210. + freebsd2.2*)
  46211. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  46212. + hardcode_libdir_flag_spec='-R$libdir'
  46213. + hardcode_direct=yes
  46214. + hardcode_shlibpath_var=no
  46215. + ;;
  46216. +
  46217. + # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  46218. + freebsd2*)
  46219. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  46220. + hardcode_direct=yes
  46221. + hardcode_minus_L=yes
  46222. + hardcode_shlibpath_var=no
  46223. + ;;
  46224. +
  46225. + # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  46226. + freebsd* | dragonfly*)
  46227. + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  46228. + hardcode_libdir_flag_spec='-R$libdir'
  46229. + hardcode_direct=yes
  46230. + hardcode_shlibpath_var=no
  46231. + ;;
  46232. +
  46233. + hpux9*)
  46234. + if test "$GCC" = yes; then
  46235. + archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  46236. + else
  46237. + archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  46238. + fi
  46239. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  46240. + hardcode_libdir_separator=:
  46241. + hardcode_direct=yes
  46242. +
  46243. + # hardcode_minus_L: Not really in the search PATH,
  46244. + # but as the default location of the library.
  46245. + hardcode_minus_L=yes
  46246. + export_dynamic_flag_spec='${wl}-E'
  46247. + ;;
  46248. +
  46249. + hpux10*)
  46250. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  46251. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  46252. + else
  46253. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  46254. + fi
  46255. + if test "$with_gnu_ld" = no; then
  46256. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  46257. + hardcode_libdir_flag_spec_ld='+b $libdir'
  46258. + hardcode_libdir_separator=:
  46259. + hardcode_direct=yes
  46260. + hardcode_direct_absolute=yes
  46261. + export_dynamic_flag_spec='${wl}-E'
  46262. + # hardcode_minus_L: Not really in the search PATH,
  46263. + # but as the default location of the library.
  46264. + hardcode_minus_L=yes
  46265. + fi
  46266. + ;;
  46267. +
  46268. + hpux11*)
  46269. + if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  46270. + case $host_cpu in
  46271. + hppa*64*)
  46272. + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46273. + ;;
  46274. + ia64*)
  46275. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  46276. + ;;
  46277. + *)
  46278. + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  46279. + ;;
  46280. + esac
  46281. + else
  46282. + case $host_cpu in
  46283. + hppa*64*)
  46284. + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46285. + ;;
  46286. + ia64*)
  46287. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  46288. + ;;
  46289. + *)
  46290. +
  46291. + # Older versions of the 11.00 compiler do not understand -b yet
  46292. + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  46293. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  46294. +$as_echo_n "checking if $CC understands -b... " >&6; }
  46295. +if test "${lt_cv_prog_compiler__b+set}" = set; then :
  46296. + $as_echo_n "(cached) " >&6
  46297. +else
  46298. + lt_cv_prog_compiler__b=no
  46299. + save_LDFLAGS="$LDFLAGS"
  46300. + LDFLAGS="$LDFLAGS -b"
  46301. + echo "$lt_simple_link_test_code" > conftest.$ac_ext
  46302. + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  46303. + # The linker can only warn and ignore the option if not recognized
  46304. + # So say no if there are warnings
  46305. + if test -s conftest.err; then
  46306. + # Append any errors to the config.log.
  46307. + cat conftest.err 1>&5
  46308. + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  46309. + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  46310. + if diff conftest.exp conftest.er2 >/dev/null; then
  46311. + lt_cv_prog_compiler__b=yes
  46312. + fi
  46313. + else
  46314. + lt_cv_prog_compiler__b=yes
  46315. + fi
  46316. + fi
  46317. + $RM -r conftest*
  46318. + LDFLAGS="$save_LDFLAGS"
  46319. +
  46320. +fi
  46321. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  46322. +$as_echo "$lt_cv_prog_compiler__b" >&6; }
  46323. +
  46324. +if test x"$lt_cv_prog_compiler__b" = xyes; then
  46325. + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  46326. +else
  46327. + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  46328. +fi
  46329. +
  46330. + ;;
  46331. + esac
  46332. + fi
  46333. + if test "$with_gnu_ld" = no; then
  46334. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  46335. + hardcode_libdir_separator=:
  46336. +
  46337. + case $host_cpu in
  46338. + hppa*64*|ia64*)
  46339. + hardcode_direct=no
  46340. + hardcode_shlibpath_var=no
  46341. + ;;
  46342. + *)
  46343. + hardcode_direct=yes
  46344. + hardcode_direct_absolute=yes
  46345. + export_dynamic_flag_spec='${wl}-E'
  46346. +
  46347. + # hardcode_minus_L: Not really in the search PATH,
  46348. + # but as the default location of the library.
  46349. + hardcode_minus_L=yes
  46350. + ;;
  46351. + esac
  46352. + fi
  46353. + ;;
  46354. +
  46355. + irix5* | irix6* | nonstopux*)
  46356. + if test "$GCC" = yes; then
  46357. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  46358. + # Try to use the -exported_symbol ld option, if it does not
  46359. + # work, assume that -exports_file does not work either and
  46360. + # implicitly export all symbols.
  46361. + save_LDFLAGS="$LDFLAGS"
  46362. + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  46363. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  46364. +/* end confdefs.h. */
  46365. +int foo(void) {}
  46366. +_ACEOF
  46367. +if ac_fn_c_try_link "$LINENO"; then :
  46368. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  46369. +
  46370. +fi
  46371. +rm -f core conftest.err conftest.$ac_objext \
  46372. + conftest$ac_exeext conftest.$ac_ext
  46373. + LDFLAGS="$save_LDFLAGS"
  46374. + else
  46375. + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  46376. + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  46377. + fi
  46378. + archive_cmds_need_lc='no'
  46379. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  46380. + hardcode_libdir_separator=:
  46381. + inherit_rpath=yes
  46382. + link_all_deplibs=yes
  46383. + ;;
  46384. +
  46385. + netbsd*)
  46386. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  46387. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  46388. + else
  46389. + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  46390. + fi
  46391. + hardcode_libdir_flag_spec='-R$libdir'
  46392. + hardcode_direct=yes
  46393. + hardcode_shlibpath_var=no
  46394. + ;;
  46395. +
  46396. + newsos6)
  46397. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46398. + hardcode_direct=yes
  46399. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  46400. + hardcode_libdir_separator=:
  46401. + hardcode_shlibpath_var=no
  46402. + ;;
  46403. +
  46404. + *nto* | *qnx*)
  46405. + ;;
  46406. +
  46407. + openbsd*)
  46408. + if test -f /usr/libexec/ld.so; then
  46409. + hardcode_direct=yes
  46410. + hardcode_shlibpath_var=no
  46411. + hardcode_direct_absolute=yes
  46412. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  46413. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  46414. + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  46415. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  46416. + export_dynamic_flag_spec='${wl}-E'
  46417. + else
  46418. + case $host_os in
  46419. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  46420. + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  46421. + hardcode_libdir_flag_spec='-R$libdir'
  46422. + ;;
  46423. + *)
  46424. + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  46425. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  46426. + ;;
  46427. + esac
  46428. + fi
  46429. + else
  46430. + ld_shlibs=no
  46431. + fi
  46432. + ;;
  46433. +
  46434. + os2*)
  46435. + hardcode_libdir_flag_spec='-L$libdir'
  46436. + hardcode_minus_L=yes
  46437. + allow_undefined_flag=unsupported
  46438. + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  46439. + old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  46440. + ;;
  46441. +
  46442. + osf3*)
  46443. + if test "$GCC" = yes; then
  46444. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  46445. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  46446. + else
  46447. + allow_undefined_flag=' -expect_unresolved \*'
  46448. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  46449. + fi
  46450. + archive_cmds_need_lc='no'
  46451. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  46452. + hardcode_libdir_separator=:
  46453. + ;;
  46454. +
  46455. + osf4* | osf5*) # as osf3* with the addition of -msym flag
  46456. + if test "$GCC" = yes; then
  46457. + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  46458. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  46459. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  46460. + else
  46461. + allow_undefined_flag=' -expect_unresolved \*'
  46462. + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  46463. + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  46464. + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  46465. +
  46466. + # Both c and cxx compiler support -rpath directly
  46467. + hardcode_libdir_flag_spec='-rpath $libdir'
  46468. + fi
  46469. + archive_cmds_need_lc='no'
  46470. + hardcode_libdir_separator=:
  46471. + ;;
  46472. +
  46473. + solaris*)
  46474. + no_undefined_flag=' -z defs'
  46475. + if test "$GCC" = yes; then
  46476. + wlarc='${wl}'
  46477. + archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  46478. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  46479. + $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  46480. + else
  46481. + case `$CC -V 2>&1` in
  46482. + *"Compilers 5.0"*)
  46483. + wlarc=''
  46484. + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46485. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  46486. + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  46487. + ;;
  46488. + *)
  46489. + wlarc='${wl}'
  46490. + archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  46491. + archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  46492. + $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  46493. + ;;
  46494. + esac
  46495. + fi
  46496. + hardcode_libdir_flag_spec='-R$libdir'
  46497. + hardcode_shlibpath_var=no
  46498. + case $host_os in
  46499. + solaris2.[0-5] | solaris2.[0-5].*) ;;
  46500. + *)
  46501. + # The compiler driver will combine and reorder linker options,
  46502. + # but understands `-z linker_flag'. GCC discards it without `$wl',
  46503. + # but is careful enough not to reorder.
  46504. + # Supported since Solaris 2.6 (maybe 2.5.1?)
  46505. + if test "$GCC" = yes; then
  46506. + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  46507. + else
  46508. + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  46509. + fi
  46510. + ;;
  46511. + esac
  46512. + link_all_deplibs=yes
  46513. + ;;
  46514. +
  46515. + sunos4*)
  46516. + if test "x$host_vendor" = xsequent; then
  46517. + # Use $CC to link under sequent, because it throws in some extra .o
  46518. + # files that make .init and .fini sections work.
  46519. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  46520. + else
  46521. + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  46522. + fi
  46523. + hardcode_libdir_flag_spec='-L$libdir'
  46524. + hardcode_direct=yes
  46525. + hardcode_minus_L=yes
  46526. + hardcode_shlibpath_var=no
  46527. + ;;
  46528. +
  46529. + sysv4)
  46530. + case $host_vendor in
  46531. + sni)
  46532. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46533. + hardcode_direct=yes # is this really true???
  46534. + ;;
  46535. + siemens)
  46536. + ## LD is ld it makes a PLAMLIB
  46537. + ## CC just makes a GrossModule.
  46538. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  46539. + reload_cmds='$CC -r -o $output$reload_objs'
  46540. + hardcode_direct=no
  46541. + ;;
  46542. + motorola)
  46543. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46544. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  46545. + ;;
  46546. + esac
  46547. + runpath_var='LD_RUN_PATH'
  46548. + hardcode_shlibpath_var=no
  46549. + ;;
  46550. +
  46551. + sysv4.3*)
  46552. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46553. + hardcode_shlibpath_var=no
  46554. + export_dynamic_flag_spec='-Bexport'
  46555. + ;;
  46556. +
  46557. + sysv4*MP*)
  46558. + if test -d /usr/nec; then
  46559. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46560. + hardcode_shlibpath_var=no
  46561. + runpath_var=LD_RUN_PATH
  46562. + hardcode_runpath_var=yes
  46563. + ld_shlibs=yes
  46564. + fi
  46565. + ;;
  46566. +
  46567. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  46568. + no_undefined_flag='${wl}-z,text'
  46569. + archive_cmds_need_lc=no
  46570. + hardcode_shlibpath_var=no
  46571. + runpath_var='LD_RUN_PATH'
  46572. +
  46573. + if test "$GCC" = yes; then
  46574. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46575. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46576. + else
  46577. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46578. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46579. + fi
  46580. + ;;
  46581. +
  46582. + sysv5* | sco3.2v5* | sco5v6*)
  46583. + # Note: We can NOT use -z defs as we might desire, because we do not
  46584. + # link with -lc, and that would cause any symbols used from libc to
  46585. + # always be unresolved, which means just about no library would
  46586. + # ever link correctly. If we're not using GNU ld we use -z text
  46587. + # though, which does catch some bad symbols but isn't as heavy-handed
  46588. + # as -z defs.
  46589. + no_undefined_flag='${wl}-z,text'
  46590. + allow_undefined_flag='${wl}-z,nodefs'
  46591. + archive_cmds_need_lc=no
  46592. + hardcode_shlibpath_var=no
  46593. + hardcode_libdir_flag_spec='${wl}-R,$libdir'
  46594. + hardcode_libdir_separator=':'
  46595. + link_all_deplibs=yes
  46596. + export_dynamic_flag_spec='${wl}-Bexport'
  46597. + runpath_var='LD_RUN_PATH'
  46598. +
  46599. + if test "$GCC" = yes; then
  46600. + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46601. + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46602. + else
  46603. + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46604. + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  46605. + fi
  46606. + ;;
  46607. +
  46608. + uts4*)
  46609. + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  46610. + hardcode_libdir_flag_spec='-L$libdir'
  46611. + hardcode_shlibpath_var=no
  46612. + ;;
  46613. +
  46614. + *)
  46615. + ld_shlibs=no
  46616. + ;;
  46617. + esac
  46618. +
  46619. + if test x$host_vendor = xsni; then
  46620. + case $host in
  46621. + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  46622. + export_dynamic_flag_spec='${wl}-Blargedynsym'
  46623. + ;;
  46624. + esac
  46625. + fi
  46626. + fi
  46627. +
  46628. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  46629. +$as_echo "$ld_shlibs" >&6; }
  46630. +test "$ld_shlibs" = no && can_build_shared=no
  46631. +
  46632. +with_gnu_ld=$with_gnu_ld
  46633. +
  46634. +
  46635. +
  46636. +
  46637. +
  46638. +
  46639. +
  46640. +
  46641. +
  46642. +
  46643. +
  46644. +
  46645. +
  46646. +
  46647. +
  46648. +#
  46649. +# Do we need to explicitly link libc?
  46650. +#
  46651. +case "x$archive_cmds_need_lc" in
  46652. +x|xyes)
  46653. + # Assume -lc should be added
  46654. + archive_cmds_need_lc=yes
  46655. +
  46656. + if test "$enable_shared" = yes && test "$GCC" = yes; then
  46657. + case $archive_cmds in
  46658. + *'~'*)
  46659. + # FIXME: we may have to deal with multi-command sequences.
  46660. + ;;
  46661. + '$CC '*)
  46662. + # Test whether the compiler implicitly links with -lc since on some
  46663. + # systems, -lgcc has to come before -lc. If gcc already passes -lc
  46664. + # to ld, don't add -lc before -lgcc.
  46665. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  46666. +$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  46667. +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  46668. + $as_echo_n "(cached) " >&6
  46669. +else
  46670. + $RM conftest*
  46671. + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  46672. +
  46673. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  46674. + (eval $ac_compile) 2>&5
  46675. + ac_status=$?
  46676. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46677. + test $ac_status = 0; } 2>conftest.err; then
  46678. + soname=conftest
  46679. + lib=conftest
  46680. + libobjs=conftest.$ac_objext
  46681. + deplibs=
  46682. + wl=$lt_prog_compiler_wl
  46683. + pic_flag=$lt_prog_compiler_pic
  46684. + compiler_flags=-v
  46685. + linker_flags=-v
  46686. + verstring=
  46687. + output_objdir=.
  46688. + libname=conftest
  46689. + lt_save_allow_undefined_flag=$allow_undefined_flag
  46690. + allow_undefined_flag=
  46691. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  46692. + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  46693. + ac_status=$?
  46694. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  46695. + test $ac_status = 0; }
  46696. + then
  46697. + lt_cv_archive_cmds_need_lc=no
  46698. + else
  46699. + lt_cv_archive_cmds_need_lc=yes
  46700. + fi
  46701. + allow_undefined_flag=$lt_save_allow_undefined_flag
  46702. + else
  46703. + cat conftest.err 1>&5
  46704. + fi
  46705. + $RM conftest*
  46706. +
  46707. +fi
  46708. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  46709. +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  46710. + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  46711. + ;;
  46712. + esac
  46713. + fi
  46714. + ;;
  46715. +esac
  46716. +
  46717. +
  46718. +
  46719. +
  46720. +
  46721. +
  46722. +
  46723. +
  46724. +
  46725. +
  46726. +
  46727. +
  46728. +
  46729. +
  46730. +
  46731. +
  46732. +
  46733. +
  46734. +
  46735. +
  46736. +
  46737. +
  46738. +
  46739. +
  46740. +
  46741. +
  46742. +
  46743. +
  46744. +
  46745. +
  46746. +
  46747. +
  46748. +
  46749. +
  46750. +
  46751. +
  46752. +
  46753. +
  46754. +
  46755. +
  46756. +
  46757. +
  46758. +
  46759. +
  46760. +
  46761. +
  46762. +
  46763. +
  46764. +
  46765. +
  46766. +
  46767. +
  46768. +
  46769. +
  46770. +
  46771. +
  46772. +
  46773. +
  46774. +
  46775. +
  46776. +
  46777. +
  46778. +
  46779. +
  46780. +
  46781. +
  46782. +
  46783. +
  46784. +
  46785. +
  46786. +
  46787. +
  46788. +
  46789. +
  46790. +
  46791. +
  46792. +
  46793. +
  46794. +
  46795. +
  46796. +
  46797. +
  46798. +
  46799. +
  46800. +
  46801. +
  46802. +
  46803. +
  46804. +
  46805. +
  46806. +
  46807. +
  46808. +
  46809. +
  46810. +
  46811. +
  46812. +
  46813. +
  46814. +
  46815. +
  46816. +
  46817. +
  46818. +
  46819. +
  46820. +
  46821. +
  46822. +
  46823. +
  46824. +
  46825. +
  46826. +
  46827. +
  46828. +
  46829. +
  46830. +
  46831. +
  46832. +
  46833. +
  46834. +
  46835. +
  46836. +
  46837. +
  46838. +
  46839. +
  46840. +
  46841. +
  46842. +
  46843. +
  46844. +
  46845. +
  46846. +
  46847. +
  46848. +
  46849. +
  46850. +
  46851. +
  46852. +
  46853. +
  46854. +
  46855. +
  46856. +
  46857. +
  46858. +
  46859. +
  46860. +
  46861. +
  46862. +
  46863. +
  46864. +
  46865. +
  46866. +
  46867. +
  46868. +
  46869. +
  46870. +
  46871. +
  46872. +
  46873. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  46874. +$as_echo_n "checking dynamic linker characteristics... " >&6; }
  46875. +
  46876. +if test "$GCC" = yes; then
  46877. + case $host_os in
  46878. + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  46879. + *) lt_awk_arg="/^libraries:/" ;;
  46880. + esac
  46881. + case $host_os in
  46882. + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
  46883. + *) lt_sed_strip_eq="s,=/,/,g" ;;
  46884. + esac
  46885. + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  46886. + case $lt_search_path_spec in
  46887. + *\;*)
  46888. + # if the path contains ";" then we assume it to be the separator
  46889. + # otherwise default to the standard path separator (i.e. ":") - it is
  46890. + # assumed that no part of a normal pathname contains ";" but that should
  46891. + # okay in the real world where ";" in dirpaths is itself problematic.
  46892. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  46893. + ;;
  46894. + *)
  46895. + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  46896. + ;;
  46897. + esac
  46898. + # Ok, now we have the path, separated by spaces, we can step through it
  46899. + # and add multilib dir if necessary.
  46900. + lt_tmp_lt_search_path_spec=
  46901. + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  46902. + for lt_sys_path in $lt_search_path_spec; do
  46903. + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  46904. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  46905. + else
  46906. + test -d "$lt_sys_path" && \
  46907. + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  46908. + fi
  46909. + done
  46910. + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  46911. +BEGIN {RS=" "; FS="/|\n";} {
  46912. + lt_foo="";
  46913. + lt_count=0;
  46914. + for (lt_i = NF; lt_i > 0; lt_i--) {
  46915. + if ($lt_i != "" && $lt_i != ".") {
  46916. + if ($lt_i == "..") {
  46917. + lt_count++;
  46918. + } else {
  46919. + if (lt_count == 0) {
  46920. + lt_foo="/" $lt_i lt_foo;
  46921. + } else {
  46922. + lt_count--;
  46923. + }
  46924. + }
  46925. + }
  46926. + }
  46927. + if (lt_foo != "") { lt_freq[lt_foo]++; }
  46928. + if (lt_freq[lt_foo] == 1) { print lt_foo; }
  46929. +}'`
  46930. + # AWK program above erroneously prepends '/' to C:/dos/paths
  46931. + # for these hosts.
  46932. + case $host_os in
  46933. + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  46934. + $SED 's,/\([A-Za-z]:\),\1,g'` ;;
  46935. + esac
  46936. + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  46937. +else
  46938. + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  46939. +fi
  46940. +library_names_spec=
  46941. +libname_spec='lib$name'
  46942. +soname_spec=
  46943. +shrext_cmds=".so"
  46944. +postinstall_cmds=
  46945. +postuninstall_cmds=
  46946. +finish_cmds=
  46947. +finish_eval=
  46948. +shlibpath_var=
  46949. +shlibpath_overrides_runpath=unknown
  46950. +version_type=none
  46951. +dynamic_linker="$host_os ld.so"
  46952. +sys_lib_dlsearch_path_spec="/lib /usr/lib"
  46953. +need_lib_prefix=unknown
  46954. +hardcode_into_libs=no
  46955. +
  46956. +# when you set need_version to no, make sure it does not cause -set_version
  46957. +# flags to be left without arguments
  46958. +need_version=unknown
  46959. +
  46960. +case $host_os in
  46961. +aix3*)
  46962. + version_type=linux
  46963. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  46964. + shlibpath_var=LIBPATH
  46965. +
  46966. + # AIX 3 has no versioning support, so we append a major version to the name.
  46967. + soname_spec='${libname}${release}${shared_ext}$major'
  46968. + ;;
  46969. +
  46970. +aix[4-9]*)
  46971. + version_type=linux
  46972. + need_lib_prefix=no
  46973. + need_version=no
  46974. + hardcode_into_libs=yes
  46975. + if test "$host_cpu" = ia64; then
  46976. + # AIX 5 supports IA64
  46977. + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  46978. + shlibpath_var=LD_LIBRARY_PATH
  46979. + else
  46980. + # With GCC up to 2.95.x, collect2 would create an import file
  46981. + # for dependence libraries. The import file would start with
  46982. + # the line `#! .'. This would cause the generated library to
  46983. + # depend on `.', always an invalid library. This was fixed in
  46984. + # development snapshots of GCC prior to 3.0.
  46985. + case $host_os in
  46986. + aix4 | aix4.[01] | aix4.[01].*)
  46987. + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  46988. + echo ' yes '
  46989. + echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  46990. + :
  46991. + else
  46992. + can_build_shared=no
  46993. + fi
  46994. + ;;
  46995. + esac
  46996. + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  46997. + # soname into executable. Probably we can add versioning support to
  46998. + # collect2, so additional links can be useful in future.
  46999. + if test "$aix_use_runtimelinking" = yes; then
  47000. + # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  47001. + # instead of lib<name>.a to let people know that these are not
  47002. + # typical AIX shared libraries.
  47003. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47004. + else
  47005. + # We preserve .a as extension for shared libraries through AIX4.2
  47006. + # and later when we are not doing run time linking.
  47007. + library_names_spec='${libname}${release}.a $libname.a'
  47008. + soname_spec='${libname}${release}${shared_ext}$major'
  47009. + fi
  47010. + shlibpath_var=LIBPATH
  47011. + fi
  47012. + ;;
  47013. +
  47014. +amigaos*)
  47015. + case $host_cpu in
  47016. + powerpc)
  47017. + # Since July 2007 AmigaOS4 officially supports .so libraries.
  47018. + # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  47019. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47020. + ;;
  47021. + m68k)
  47022. + library_names_spec='$libname.ixlibrary $libname.a'
  47023. + # Create ${libname}_ixlibrary.a entries in /sys/libs.
  47024. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  47025. + ;;
  47026. + esac
  47027. + ;;
  47028. +
  47029. +beos*)
  47030. + library_names_spec='${libname}${shared_ext}'
  47031. + dynamic_linker="$host_os ld.so"
  47032. + shlibpath_var=LIBRARY_PATH
  47033. + ;;
  47034. +
  47035. +bsdi[45]*)
  47036. + version_type=linux
  47037. + need_version=no
  47038. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47039. + soname_spec='${libname}${release}${shared_ext}$major'
  47040. + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  47041. + shlibpath_var=LD_LIBRARY_PATH
  47042. + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  47043. + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  47044. + # the default ld.so.conf also contains /usr/contrib/lib and
  47045. + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  47046. + # libtool to hard-code these into programs
  47047. + ;;
  47048. +
  47049. +cygwin* | mingw* | pw32* | cegcc*)
  47050. + version_type=windows
  47051. + shrext_cmds=".dll"
  47052. + need_version=no
  47053. + need_lib_prefix=no
  47054. +
  47055. + case $GCC,$host_os in
  47056. + yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  47057. + library_names_spec='$libname.dll.a'
  47058. + # DLL is installed to $(libdir)/../bin by postinstall_cmds
  47059. + postinstall_cmds='base_file=`basename \${file}`~
  47060. + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  47061. + dldir=$destdir/`dirname \$dlpath`~
  47062. + test -d \$dldir || mkdir -p \$dldir~
  47063. + $install_prog $dir/$dlname \$dldir/$dlname~
  47064. + chmod a+x \$dldir/$dlname~
  47065. + if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  47066. + eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  47067. + fi'
  47068. + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  47069. + dlpath=$dir/\$dldll~
  47070. + $RM \$dlpath'
  47071. + shlibpath_overrides_runpath=yes
  47072. +
  47073. + case $host_os in
  47074. + cygwin*)
  47075. + # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  47076. + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  47077. +
  47078. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  47079. + ;;
  47080. + mingw* | cegcc*)
  47081. + # MinGW DLLs use traditional 'lib' prefix
  47082. + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  47083. + ;;
  47084. + pw32*)
  47085. + # pw32 DLLs use 'pw' prefix rather than 'lib'
  47086. + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  47087. + ;;
  47088. + esac
  47089. + ;;
  47090. +
  47091. + *)
  47092. + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  47093. + ;;
  47094. + esac
  47095. + dynamic_linker='Win32 ld.exe'
  47096. + # FIXME: first we should search . and the directory the executable is in
  47097. + shlibpath_var=PATH
  47098. + ;;
  47099. +
  47100. +darwin* | rhapsody*)
  47101. + dynamic_linker="$host_os dyld"
  47102. + version_type=darwin
  47103. + need_lib_prefix=no
  47104. + need_version=no
  47105. + library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  47106. + soname_spec='${libname}${release}${major}$shared_ext'
  47107. + shlibpath_overrides_runpath=yes
  47108. + shlibpath_var=DYLD_LIBRARY_PATH
  47109. + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  47110. +
  47111. + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  47112. + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  47113. + ;;
  47114. +
  47115. +dgux*)
  47116. + version_type=linux
  47117. + need_lib_prefix=no
  47118. + need_version=no
  47119. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  47120. + soname_spec='${libname}${release}${shared_ext}$major'
  47121. + shlibpath_var=LD_LIBRARY_PATH
  47122. + ;;
  47123. +
  47124. +freebsd1*)
  47125. + dynamic_linker=no
  47126. + ;;
  47127. +
  47128. +freebsd* | dragonfly*)
  47129. + # DragonFly does not have aout. When/if they implement a new
  47130. + # versioning mechanism, adjust this.
  47131. + if test -x /usr/bin/objformat; then
  47132. + objformat=`/usr/bin/objformat`
  47133. + else
  47134. + case $host_os in
  47135. + freebsd[123]*) objformat=aout ;;
  47136. + *) objformat=elf ;;
  47137. + esac
  47138. + fi
  47139. + version_type=freebsd-$objformat
  47140. + case $version_type in
  47141. + freebsd-elf*)
  47142. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  47143. + need_version=no
  47144. + need_lib_prefix=no
  47145. + ;;
  47146. + freebsd-*)
  47147. + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  47148. + need_version=yes
  47149. + ;;
  47150. + esac
  47151. + shlibpath_var=LD_LIBRARY_PATH
  47152. + case $host_os in
  47153. + freebsd2*)
  47154. + shlibpath_overrides_runpath=yes
  47155. + ;;
  47156. + freebsd3.[01]* | freebsdelf3.[01]*)
  47157. + shlibpath_overrides_runpath=yes
  47158. + hardcode_into_libs=yes
  47159. + ;;
  47160. + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  47161. + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  47162. + shlibpath_overrides_runpath=no
  47163. + hardcode_into_libs=yes
  47164. + ;;
  47165. + *) # from 4.6 on, and DragonFly
  47166. + shlibpath_overrides_runpath=yes
  47167. + hardcode_into_libs=yes
  47168. + ;;
  47169. + esac
  47170. + ;;
  47171. +
  47172. +gnu*)
  47173. + version_type=linux
  47174. + need_lib_prefix=no
  47175. + need_version=no
  47176. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  47177. + soname_spec='${libname}${release}${shared_ext}$major'
  47178. + shlibpath_var=LD_LIBRARY_PATH
  47179. + hardcode_into_libs=yes
  47180. + ;;
  47181. +
  47182. +haiku*)
  47183. + version_type=linux
  47184. + need_lib_prefix=no
  47185. + need_version=no
  47186. + dynamic_linker="$host_os runtime_loader"
  47187. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  47188. + soname_spec='${libname}${release}${shared_ext}$major'
  47189. + shlibpath_var=LIBRARY_PATH
  47190. + shlibpath_overrides_runpath=yes
  47191. + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
  47192. + hardcode_into_libs=yes
  47193. + ;;
  47194. +
  47195. +hpux9* | hpux10* | hpux11*)
  47196. + # Give a soname corresponding to the major version so that dld.sl refuses to
  47197. + # link against other versions.
  47198. + version_type=sunos
  47199. + need_lib_prefix=no
  47200. + need_version=no
  47201. + case $host_cpu in
  47202. + ia64*)
  47203. + shrext_cmds='.so'
  47204. + hardcode_into_libs=yes
  47205. + dynamic_linker="$host_os dld.so"
  47206. + shlibpath_var=LD_LIBRARY_PATH
  47207. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  47208. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47209. + soname_spec='${libname}${release}${shared_ext}$major'
  47210. + if test "X$HPUX_IA64_MODE" = X32; then
  47211. + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  47212. + else
  47213. + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  47214. + fi
  47215. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  47216. + ;;
  47217. + hppa*64*)
  47218. + shrext_cmds='.sl'
  47219. + hardcode_into_libs=yes
  47220. + dynamic_linker="$host_os dld.sl"
  47221. + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  47222. + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  47223. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47224. + soname_spec='${libname}${release}${shared_ext}$major'
  47225. + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  47226. + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  47227. + ;;
  47228. + *)
  47229. + shrext_cmds='.sl'
  47230. + dynamic_linker="$host_os dld.sl"
  47231. + shlibpath_var=SHLIB_PATH
  47232. + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  47233. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47234. + soname_spec='${libname}${release}${shared_ext}$major'
  47235. + ;;
  47236. + esac
  47237. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  47238. + postinstall_cmds='chmod 555 $lib'
  47239. + # or fails outright, so override atomically:
  47240. + install_override_mode=555
  47241. + ;;
  47242. +
  47243. +interix[3-9]*)
  47244. + version_type=linux
  47245. + need_lib_prefix=no
  47246. + need_version=no
  47247. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  47248. + soname_spec='${libname}${release}${shared_ext}$major'
  47249. + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  47250. + shlibpath_var=LD_LIBRARY_PATH
  47251. + shlibpath_overrides_runpath=no
  47252. + hardcode_into_libs=yes
  47253. + ;;
  47254. +
  47255. +irix5* | irix6* | nonstopux*)
  47256. + case $host_os in
  47257. + nonstopux*) version_type=nonstopux ;;
  47258. + *)
  47259. + if test "$lt_cv_prog_gnu_ld" = yes; then
  47260. + version_type=linux
  47261. + else
  47262. + version_type=irix
  47263. + fi ;;
  47264. + esac
  47265. + need_lib_prefix=no
  47266. + need_version=no
  47267. + soname_spec='${libname}${release}${shared_ext}$major'
  47268. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  47269. + case $host_os in
  47270. + irix5* | nonstopux*)
  47271. + libsuff= shlibsuff=
  47272. + ;;
  47273. + *)
  47274. + case $LD in # libtool.m4 will add one of these switches to LD
  47275. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  47276. + libsuff= shlibsuff= libmagic=32-bit;;
  47277. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  47278. + libsuff=32 shlibsuff=N32 libmagic=N32;;
  47279. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  47280. + libsuff=64 shlibsuff=64 libmagic=64-bit;;
  47281. + *) libsuff= shlibsuff= libmagic=never-match;;
  47282. + esac
  47283. + ;;
  47284. + esac
  47285. + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  47286. + shlibpath_overrides_runpath=no
  47287. + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  47288. + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  47289. + hardcode_into_libs=yes
  47290. + ;;
  47291. +
  47292. +# No shared lib support for Linux oldld, aout, or coff.
  47293. +linux*oldld* | linux*aout* | linux*coff*)
  47294. + dynamic_linker=no
  47295. + ;;
  47296. +
  47297. +# This must be Linux ELF.
  47298. +linux* | k*bsd*-gnu | kopensolaris*-gnu)
  47299. + version_type=linux
  47300. + need_lib_prefix=no
  47301. + need_version=no
  47302. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47303. + soname_spec='${libname}${release}${shared_ext}$major'
  47304. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  47305. + shlibpath_var=LD_LIBRARY_PATH
  47306. + shlibpath_overrides_runpath=no
  47307. +
  47308. + # Some binutils ld are patched to set DT_RUNPATH
  47309. + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
  47310. + $as_echo_n "(cached) " >&6
  47311. +else
  47312. + lt_cv_shlibpath_overrides_runpath=no
  47313. + save_LDFLAGS=$LDFLAGS
  47314. + save_libdir=$libdir
  47315. + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  47316. + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  47317. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47318. +/* end confdefs.h. */
  47319. +
  47320. +int
  47321. +main ()
  47322. +{
  47323. +
  47324. + ;
  47325. + return 0;
  47326. +}
  47327. +_ACEOF
  47328. +if ac_fn_c_try_link "$LINENO"; then :
  47329. + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  47330. + lt_cv_shlibpath_overrides_runpath=yes
  47331. +fi
  47332. +fi
  47333. +rm -f core conftest.err conftest.$ac_objext \
  47334. + conftest$ac_exeext conftest.$ac_ext
  47335. + LDFLAGS=$save_LDFLAGS
  47336. + libdir=$save_libdir
  47337. +
  47338. +fi
  47339. +
  47340. + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  47341. +
  47342. + # This implies no fast_install, which is unacceptable.
  47343. + # Some rework will be needed to allow for fast_install
  47344. + # before this can be enabled.
  47345. + hardcode_into_libs=yes
  47346. +
  47347. + # Append ld.so.conf contents to the search path
  47348. + if test -f /etc/ld.so.conf; then
  47349. + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  47350. + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  47351. + fi
  47352. +
  47353. + # We used to test for /lib/ld.so.1 and disable shared libraries on
  47354. + # powerpc, because MkLinux only supported shared libraries with the
  47355. + # GNU dynamic linker. Since this was broken with cross compilers,
  47356. + # most powerpc-linux boxes support dynamic linking these days and
  47357. + # people can always --disable-shared, the test was removed, and we
  47358. + # assume the GNU/Linux dynamic linker is in use.
  47359. + dynamic_linker='GNU/Linux ld.so'
  47360. + ;;
  47361. +
  47362. +netbsd*)
  47363. + version_type=sunos
  47364. + need_lib_prefix=no
  47365. + need_version=no
  47366. + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  47367. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47368. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  47369. + dynamic_linker='NetBSD (a.out) ld.so'
  47370. + else
  47371. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  47372. + soname_spec='${libname}${release}${shared_ext}$major'
  47373. + dynamic_linker='NetBSD ld.elf_so'
  47374. + fi
  47375. + shlibpath_var=LD_LIBRARY_PATH
  47376. + shlibpath_overrides_runpath=yes
  47377. + hardcode_into_libs=yes
  47378. + ;;
  47379. +
  47380. +newsos6)
  47381. + version_type=linux
  47382. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47383. + shlibpath_var=LD_LIBRARY_PATH
  47384. + shlibpath_overrides_runpath=yes
  47385. + ;;
  47386. +
  47387. +*nto* | *qnx*)
  47388. + version_type=qnx
  47389. + need_lib_prefix=no
  47390. + need_version=no
  47391. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47392. + soname_spec='${libname}${release}${shared_ext}$major'
  47393. + shlibpath_var=LD_LIBRARY_PATH
  47394. + shlibpath_overrides_runpath=no
  47395. + hardcode_into_libs=yes
  47396. + dynamic_linker='ldqnx.so'
  47397. + ;;
  47398. +
  47399. +openbsd*)
  47400. + version_type=sunos
  47401. + sys_lib_dlsearch_path_spec="/usr/lib"
  47402. + need_lib_prefix=no
  47403. + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  47404. + case $host_os in
  47405. + openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  47406. + *) need_version=no ;;
  47407. + esac
  47408. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47409. + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  47410. + shlibpath_var=LD_LIBRARY_PATH
  47411. + if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  47412. + case $host_os in
  47413. + openbsd2.[89] | openbsd2.[89].*)
  47414. + shlibpath_overrides_runpath=no
  47415. + ;;
  47416. + *)
  47417. + shlibpath_overrides_runpath=yes
  47418. + ;;
  47419. + esac
  47420. + else
  47421. + shlibpath_overrides_runpath=yes
  47422. + fi
  47423. + ;;
  47424. +
  47425. +os2*)
  47426. + libname_spec='$name'
  47427. + shrext_cmds=".dll"
  47428. + need_lib_prefix=no
  47429. + library_names_spec='$libname${shared_ext} $libname.a'
  47430. + dynamic_linker='OS/2 ld.exe'
  47431. + shlibpath_var=LIBPATH
  47432. + ;;
  47433. +
  47434. +osf3* | osf4* | osf5*)
  47435. + version_type=osf
  47436. + need_lib_prefix=no
  47437. + need_version=no
  47438. + soname_spec='${libname}${release}${shared_ext}$major'
  47439. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47440. + shlibpath_var=LD_LIBRARY_PATH
  47441. + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  47442. + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  47443. + ;;
  47444. +
  47445. +rdos*)
  47446. + dynamic_linker=no
  47447. + ;;
  47448. +
  47449. +solaris*)
  47450. + version_type=linux
  47451. + need_lib_prefix=no
  47452. + need_version=no
  47453. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47454. + soname_spec='${libname}${release}${shared_ext}$major'
  47455. + shlibpath_var=LD_LIBRARY_PATH
  47456. + shlibpath_overrides_runpath=yes
  47457. + hardcode_into_libs=yes
  47458. + # ldd complains unless libraries are executable
  47459. + postinstall_cmds='chmod +x $lib'
  47460. + ;;
  47461. +
  47462. +sunos4*)
  47463. + version_type=sunos
  47464. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  47465. + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  47466. + shlibpath_var=LD_LIBRARY_PATH
  47467. + shlibpath_overrides_runpath=yes
  47468. + if test "$with_gnu_ld" = yes; then
  47469. + need_lib_prefix=no
  47470. + fi
  47471. + need_version=yes
  47472. + ;;
  47473. +
  47474. +sysv4 | sysv4.3*)
  47475. + version_type=linux
  47476. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47477. + soname_spec='${libname}${release}${shared_ext}$major'
  47478. + shlibpath_var=LD_LIBRARY_PATH
  47479. + case $host_vendor in
  47480. + sni)
  47481. + shlibpath_overrides_runpath=no
  47482. + need_lib_prefix=no
  47483. + runpath_var=LD_RUN_PATH
  47484. + ;;
  47485. + siemens)
  47486. + need_lib_prefix=no
  47487. + ;;
  47488. + motorola)
  47489. + need_lib_prefix=no
  47490. + need_version=no
  47491. + shlibpath_overrides_runpath=no
  47492. + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  47493. + ;;
  47494. + esac
  47495. + ;;
  47496. +
  47497. +sysv4*MP*)
  47498. + if test -d /usr/nec ;then
  47499. + version_type=linux
  47500. + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  47501. + soname_spec='$libname${shared_ext}.$major'
  47502. + shlibpath_var=LD_LIBRARY_PATH
  47503. + fi
  47504. + ;;
  47505. +
  47506. +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  47507. + version_type=freebsd-elf
  47508. + need_lib_prefix=no
  47509. + need_version=no
  47510. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  47511. + soname_spec='${libname}${release}${shared_ext}$major'
  47512. + shlibpath_var=LD_LIBRARY_PATH
  47513. + shlibpath_overrides_runpath=yes
  47514. + hardcode_into_libs=yes
  47515. + if test "$with_gnu_ld" = yes; then
  47516. + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  47517. + else
  47518. + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  47519. + case $host_os in
  47520. + sco3.2v5*)
  47521. + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  47522. + ;;
  47523. + esac
  47524. + fi
  47525. + sys_lib_dlsearch_path_spec='/usr/lib'
  47526. + ;;
  47527. +
  47528. +tpf*)
  47529. + # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  47530. + version_type=linux
  47531. + need_lib_prefix=no
  47532. + need_version=no
  47533. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47534. + shlibpath_var=LD_LIBRARY_PATH
  47535. + shlibpath_overrides_runpath=no
  47536. + hardcode_into_libs=yes
  47537. + ;;
  47538. +
  47539. +uts4*)
  47540. + version_type=linux
  47541. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  47542. + soname_spec='${libname}${release}${shared_ext}$major'
  47543. + shlibpath_var=LD_LIBRARY_PATH
  47544. + ;;
  47545. +
  47546. +*)
  47547. + dynamic_linker=no
  47548. + ;;
  47549. +esac
  47550. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  47551. +$as_echo "$dynamic_linker" >&6; }
  47552. +test "$dynamic_linker" = no && can_build_shared=no
  47553. +
  47554. +variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  47555. +if test "$GCC" = yes; then
  47556. + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  47557. +fi
  47558. +
  47559. +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  47560. + sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  47561. +fi
  47562. +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  47563. + sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  47564. +fi
  47565. +
  47566. +
  47567. +
  47568. +
  47569. +
  47570. +
  47571. +
  47572. +
  47573. +
  47574. +
  47575. +
  47576. +
  47577. +
  47578. +
  47579. +
  47580. +
  47581. +
  47582. +
  47583. +
  47584. +
  47585. +
  47586. +
  47587. +
  47588. +
  47589. +
  47590. +
  47591. +
  47592. +
  47593. +
  47594. +
  47595. +
  47596. +
  47597. +
  47598. +
  47599. +
  47600. +
  47601. +
  47602. +
  47603. +
  47604. +
  47605. +
  47606. +
  47607. +
  47608. +
  47609. +
  47610. +
  47611. +
  47612. +
  47613. +
  47614. +
  47615. +
  47616. +
  47617. +
  47618. +
  47619. +
  47620. +
  47621. +
  47622. +
  47623. +
  47624. +
  47625. +
  47626. +
  47627. +
  47628. +
  47629. +
  47630. +
  47631. +
  47632. +
  47633. +
  47634. +
  47635. +
  47636. +
  47637. +
  47638. +
  47639. +
  47640. +
  47641. +
  47642. +
  47643. +
  47644. +
  47645. +
  47646. +
  47647. +
  47648. +
  47649. +
  47650. +
  47651. +
  47652. +
  47653. +
  47654. +
  47655. +
  47656. +
  47657. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  47658. +$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  47659. +hardcode_action=
  47660. +if test -n "$hardcode_libdir_flag_spec" ||
  47661. + test -n "$runpath_var" ||
  47662. + test "X$hardcode_automatic" = "Xyes" ; then
  47663. +
  47664. + # We can hardcode non-existent directories.
  47665. + if test "$hardcode_direct" != no &&
  47666. + # If the only mechanism to avoid hardcoding is shlibpath_var, we
  47667. + # have to relink, otherwise we might link with an installed library
  47668. + # when we should be linking with a yet-to-be-installed one
  47669. + ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  47670. + test "$hardcode_minus_L" != no; then
  47671. + # Linking always hardcodes the temporary library directory.
  47672. + hardcode_action=relink
  47673. + else
  47674. + # We can link without hardcoding, and we can hardcode nonexisting dirs.
  47675. + hardcode_action=immediate
  47676. + fi
  47677. +else
  47678. + # We cannot hardcode anything, or else we can only hardcode existing
  47679. + # directories.
  47680. + hardcode_action=unsupported
  47681. +fi
  47682. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  47683. +$as_echo "$hardcode_action" >&6; }
  47684. +
  47685. +if test "$hardcode_action" = relink ||
  47686. + test "$inherit_rpath" = yes; then
  47687. + # Fast installation is not supported
  47688. + enable_fast_install=no
  47689. +elif test "$shlibpath_overrides_runpath" = yes ||
  47690. + test "$enable_shared" = no; then
  47691. + # Fast installation is not necessary
  47692. + enable_fast_install=needless
  47693. +fi
  47694. +
  47695. +
  47696. +
  47697. +
  47698. +
  47699. +
  47700. + if test "x$enable_dlopen" != xyes; then
  47701. + enable_dlopen=unknown
  47702. + enable_dlopen_self=unknown
  47703. + enable_dlopen_self_static=unknown
  47704. +else
  47705. + lt_cv_dlopen=no
  47706. + lt_cv_dlopen_libs=
  47707. +
  47708. + case $host_os in
  47709. + beos*)
  47710. + lt_cv_dlopen="load_add_on"
  47711. + lt_cv_dlopen_libs=
  47712. + lt_cv_dlopen_self=yes
  47713. + ;;
  47714. +
  47715. + mingw* | pw32* | cegcc*)
  47716. + lt_cv_dlopen="LoadLibrary"
  47717. + lt_cv_dlopen_libs=
  47718. + ;;
  47719. +
  47720. + cygwin*)
  47721. + lt_cv_dlopen="dlopen"
  47722. + lt_cv_dlopen_libs=
  47723. + ;;
  47724. +
  47725. + darwin*)
  47726. + # if libdl is installed we need to link against it
  47727. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  47728. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  47729. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  47730. + $as_echo_n "(cached) " >&6
  47731. +else
  47732. + ac_check_lib_save_LIBS=$LIBS
  47733. +LIBS="-ldl $LIBS"
  47734. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47735. +/* end confdefs.h. */
  47736. +
  47737. +/* Override any GCC internal prototype to avoid an error.
  47738. + Use char because int might match the return type of a GCC
  47739. + builtin and then its argument prototype would still apply. */
  47740. +#ifdef __cplusplus
  47741. +extern "C"
  47742. +#endif
  47743. +char dlopen ();
  47744. +int
  47745. +main ()
  47746. +{
  47747. +return dlopen ();
  47748. + ;
  47749. + return 0;
  47750. +}
  47751. +_ACEOF
  47752. +if ac_fn_c_try_link "$LINENO"; then :
  47753. + ac_cv_lib_dl_dlopen=yes
  47754. +else
  47755. + ac_cv_lib_dl_dlopen=no
  47756. +fi
  47757. +rm -f core conftest.err conftest.$ac_objext \
  47758. + conftest$ac_exeext conftest.$ac_ext
  47759. +LIBS=$ac_check_lib_save_LIBS
  47760. +fi
  47761. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  47762. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  47763. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  47764. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  47765. +else
  47766. +
  47767. + lt_cv_dlopen="dyld"
  47768. + lt_cv_dlopen_libs=
  47769. + lt_cv_dlopen_self=yes
  47770. +
  47771. +fi
  47772. +
  47773. + ;;
  47774. +
  47775. + *)
  47776. + ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  47777. +if test "x$ac_cv_func_shl_load" = x""yes; then :
  47778. + lt_cv_dlopen="shl_load"
  47779. +else
  47780. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  47781. +$as_echo_n "checking for shl_load in -ldld... " >&6; }
  47782. +if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
  47783. + $as_echo_n "(cached) " >&6
  47784. +else
  47785. + ac_check_lib_save_LIBS=$LIBS
  47786. +LIBS="-ldld $LIBS"
  47787. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47788. +/* end confdefs.h. */
  47789. +
  47790. +/* Override any GCC internal prototype to avoid an error.
  47791. + Use char because int might match the return type of a GCC
  47792. + builtin and then its argument prototype would still apply. */
  47793. +#ifdef __cplusplus
  47794. +extern "C"
  47795. +#endif
  47796. +char shl_load ();
  47797. +int
  47798. +main ()
  47799. +{
  47800. +return shl_load ();
  47801. + ;
  47802. + return 0;
  47803. +}
  47804. +_ACEOF
  47805. +if ac_fn_c_try_link "$LINENO"; then :
  47806. + ac_cv_lib_dld_shl_load=yes
  47807. +else
  47808. + ac_cv_lib_dld_shl_load=no
  47809. +fi
  47810. +rm -f core conftest.err conftest.$ac_objext \
  47811. + conftest$ac_exeext conftest.$ac_ext
  47812. +LIBS=$ac_check_lib_save_LIBS
  47813. +fi
  47814. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  47815. +$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  47816. +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
  47817. + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  47818. +else
  47819. + ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  47820. +if test "x$ac_cv_func_dlopen" = x""yes; then :
  47821. + lt_cv_dlopen="dlopen"
  47822. +else
  47823. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  47824. +$as_echo_n "checking for dlopen in -ldl... " >&6; }
  47825. +if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
  47826. + $as_echo_n "(cached) " >&6
  47827. +else
  47828. + ac_check_lib_save_LIBS=$LIBS
  47829. +LIBS="-ldl $LIBS"
  47830. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47831. +/* end confdefs.h. */
  47832. +
  47833. +/* Override any GCC internal prototype to avoid an error.
  47834. + Use char because int might match the return type of a GCC
  47835. + builtin and then its argument prototype would still apply. */
  47836. +#ifdef __cplusplus
  47837. +extern "C"
  47838. +#endif
  47839. +char dlopen ();
  47840. +int
  47841. +main ()
  47842. +{
  47843. +return dlopen ();
  47844. + ;
  47845. + return 0;
  47846. +}
  47847. +_ACEOF
  47848. +if ac_fn_c_try_link "$LINENO"; then :
  47849. + ac_cv_lib_dl_dlopen=yes
  47850. +else
  47851. + ac_cv_lib_dl_dlopen=no
  47852. +fi
  47853. +rm -f core conftest.err conftest.$ac_objext \
  47854. + conftest$ac_exeext conftest.$ac_ext
  47855. +LIBS=$ac_check_lib_save_LIBS
  47856. +fi
  47857. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  47858. +$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  47859. +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
  47860. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  47861. +else
  47862. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  47863. +$as_echo_n "checking for dlopen in -lsvld... " >&6; }
  47864. +if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
  47865. + $as_echo_n "(cached) " >&6
  47866. +else
  47867. + ac_check_lib_save_LIBS=$LIBS
  47868. +LIBS="-lsvld $LIBS"
  47869. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47870. +/* end confdefs.h. */
  47871. +
  47872. +/* Override any GCC internal prototype to avoid an error.
  47873. + Use char because int might match the return type of a GCC
  47874. + builtin and then its argument prototype would still apply. */
  47875. +#ifdef __cplusplus
  47876. +extern "C"
  47877. +#endif
  47878. +char dlopen ();
  47879. +int
  47880. +main ()
  47881. +{
  47882. +return dlopen ();
  47883. + ;
  47884. + return 0;
  47885. +}
  47886. +_ACEOF
  47887. +if ac_fn_c_try_link "$LINENO"; then :
  47888. + ac_cv_lib_svld_dlopen=yes
  47889. +else
  47890. + ac_cv_lib_svld_dlopen=no
  47891. +fi
  47892. +rm -f core conftest.err conftest.$ac_objext \
  47893. + conftest$ac_exeext conftest.$ac_ext
  47894. +LIBS=$ac_check_lib_save_LIBS
  47895. +fi
  47896. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  47897. +$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  47898. +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
  47899. + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  47900. +else
  47901. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  47902. +$as_echo_n "checking for dld_link in -ldld... " >&6; }
  47903. +if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
  47904. + $as_echo_n "(cached) " >&6
  47905. +else
  47906. + ac_check_lib_save_LIBS=$LIBS
  47907. +LIBS="-ldld $LIBS"
  47908. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  47909. +/* end confdefs.h. */
  47910. +
  47911. +/* Override any GCC internal prototype to avoid an error.
  47912. + Use char because int might match the return type of a GCC
  47913. + builtin and then its argument prototype would still apply. */
  47914. +#ifdef __cplusplus
  47915. +extern "C"
  47916. +#endif
  47917. +char dld_link ();
  47918. +int
  47919. +main ()
  47920. +{
  47921. +return dld_link ();
  47922. + ;
  47923. + return 0;
  47924. +}
  47925. +_ACEOF
  47926. +if ac_fn_c_try_link "$LINENO"; then :
  47927. + ac_cv_lib_dld_dld_link=yes
  47928. +else
  47929. + ac_cv_lib_dld_dld_link=no
  47930. +fi
  47931. +rm -f core conftest.err conftest.$ac_objext \
  47932. + conftest$ac_exeext conftest.$ac_ext
  47933. +LIBS=$ac_check_lib_save_LIBS
  47934. +fi
  47935. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  47936. +$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  47937. +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
  47938. + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  47939. +fi
  47940. +
  47941. +
  47942. +fi
  47943. +
  47944. +
  47945. +fi
  47946. +
  47947. +
  47948. +fi
  47949. +
  47950. +
  47951. +fi
  47952. +
  47953. +
  47954. +fi
  47955. +
  47956. + ;;
  47957. + esac
  47958. +
  47959. + if test "x$lt_cv_dlopen" != xno; then
  47960. + enable_dlopen=yes
  47961. + else
  47962. + enable_dlopen=no
  47963. + fi
  47964. +
  47965. + case $lt_cv_dlopen in
  47966. + dlopen)
  47967. + save_CPPFLAGS="$CPPFLAGS"
  47968. + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  47969. +
  47970. + save_LDFLAGS="$LDFLAGS"
  47971. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  47972. +
  47973. + save_LIBS="$LIBS"
  47974. + LIBS="$lt_cv_dlopen_libs $LIBS"
  47975. +
  47976. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  47977. +$as_echo_n "checking whether a program can dlopen itself... " >&6; }
  47978. +if test "${lt_cv_dlopen_self+set}" = set; then :
  47979. + $as_echo_n "(cached) " >&6
  47980. +else
  47981. + if test "$cross_compiling" = yes; then :
  47982. + lt_cv_dlopen_self=cross
  47983. +else
  47984. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  47985. + lt_status=$lt_dlunknown
  47986. + cat > conftest.$ac_ext <<_LT_EOF
  47987. +#line __oline__ "configure"
  47988. +#include "confdefs.h"
  47989. +
  47990. +#if HAVE_DLFCN_H
  47991. +#include <dlfcn.h>
  47992. +#endif
  47993. +
  47994. +#include <stdio.h>
  47995. +
  47996. +#ifdef RTLD_GLOBAL
  47997. +# define LT_DLGLOBAL RTLD_GLOBAL
  47998. +#else
  47999. +# ifdef DL_GLOBAL
  48000. +# define LT_DLGLOBAL DL_GLOBAL
  48001. +# else
  48002. +# define LT_DLGLOBAL 0
  48003. +# endif
  48004. +#endif
  48005. +
  48006. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  48007. + find out it does not work in some platform. */
  48008. +#ifndef LT_DLLAZY_OR_NOW
  48009. +# ifdef RTLD_LAZY
  48010. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  48011. +# else
  48012. +# ifdef DL_LAZY
  48013. +# define LT_DLLAZY_OR_NOW DL_LAZY
  48014. +# else
  48015. +# ifdef RTLD_NOW
  48016. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  48017. +# else
  48018. +# ifdef DL_NOW
  48019. +# define LT_DLLAZY_OR_NOW DL_NOW
  48020. +# else
  48021. +# define LT_DLLAZY_OR_NOW 0
  48022. +# endif
  48023. +# endif
  48024. +# endif
  48025. +# endif
  48026. +#endif
  48027. +
  48028. +/* When -fvisbility=hidden is used, assume the code has been annotated
  48029. + correspondingly for the symbols needed. */
  48030. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  48031. +void fnord () __attribute__((visibility("default")));
  48032. +#endif
  48033. +
  48034. +void fnord () { int i=42; }
  48035. +int main ()
  48036. +{
  48037. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  48038. + int status = $lt_dlunknown;
  48039. +
  48040. + if (self)
  48041. + {
  48042. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  48043. + else
  48044. + {
  48045. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  48046. + else puts (dlerror ());
  48047. + }
  48048. + /* dlclose (self); */
  48049. + }
  48050. + else
  48051. + puts (dlerror ());
  48052. +
  48053. + return status;
  48054. +}
  48055. +_LT_EOF
  48056. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  48057. + (eval $ac_link) 2>&5
  48058. + ac_status=$?
  48059. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  48060. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  48061. + (./conftest; exit; ) >&5 2>/dev/null
  48062. + lt_status=$?
  48063. + case x$lt_status in
  48064. + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  48065. + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  48066. + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  48067. + esac
  48068. + else :
  48069. + # compilation failed
  48070. + lt_cv_dlopen_self=no
  48071. + fi
  48072. +fi
  48073. +rm -fr conftest*
  48074. +
  48075. +
  48076. +fi
  48077. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  48078. +$as_echo "$lt_cv_dlopen_self" >&6; }
  48079. +
  48080. + if test "x$lt_cv_dlopen_self" = xyes; then
  48081. + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  48082. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  48083. +$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  48084. +if test "${lt_cv_dlopen_self_static+set}" = set; then :
  48085. + $as_echo_n "(cached) " >&6
  48086. +else
  48087. + if test "$cross_compiling" = yes; then :
  48088. + lt_cv_dlopen_self_static=cross
  48089. +else
  48090. + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  48091. + lt_status=$lt_dlunknown
  48092. + cat > conftest.$ac_ext <<_LT_EOF
  48093. +#line __oline__ "configure"
  48094. +#include "confdefs.h"
  48095. +
  48096. +#if HAVE_DLFCN_H
  48097. +#include <dlfcn.h>
  48098. +#endif
  48099. +
  48100. +#include <stdio.h>
  48101. +
  48102. +#ifdef RTLD_GLOBAL
  48103. +# define LT_DLGLOBAL RTLD_GLOBAL
  48104. +#else
  48105. +# ifdef DL_GLOBAL
  48106. +# define LT_DLGLOBAL DL_GLOBAL
  48107. +# else
  48108. +# define LT_DLGLOBAL 0
  48109. +# endif
  48110. +#endif
  48111. +
  48112. +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  48113. + find out it does not work in some platform. */
  48114. +#ifndef LT_DLLAZY_OR_NOW
  48115. +# ifdef RTLD_LAZY
  48116. +# define LT_DLLAZY_OR_NOW RTLD_LAZY
  48117. +# else
  48118. +# ifdef DL_LAZY
  48119. +# define LT_DLLAZY_OR_NOW DL_LAZY
  48120. +# else
  48121. +# ifdef RTLD_NOW
  48122. +# define LT_DLLAZY_OR_NOW RTLD_NOW
  48123. +# else
  48124. +# ifdef DL_NOW
  48125. +# define LT_DLLAZY_OR_NOW DL_NOW
  48126. +# else
  48127. +# define LT_DLLAZY_OR_NOW 0
  48128. +# endif
  48129. +# endif
  48130. +# endif
  48131. +# endif
  48132. +#endif
  48133. +
  48134. +/* When -fvisbility=hidden is used, assume the code has been annotated
  48135. + correspondingly for the symbols needed. */
  48136. +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  48137. +void fnord () __attribute__((visibility("default")));
  48138. +#endif
  48139. +
  48140. +void fnord () { int i=42; }
  48141. +int main ()
  48142. +{
  48143. + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  48144. + int status = $lt_dlunknown;
  48145. +
  48146. + if (self)
  48147. + {
  48148. + if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  48149. + else
  48150. + {
  48151. + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  48152. + else puts (dlerror ());
  48153. + }
  48154. + /* dlclose (self); */
  48155. + }
  48156. + else
  48157. + puts (dlerror ());
  48158. +
  48159. + return status;
  48160. +}
  48161. +_LT_EOF
  48162. + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  48163. + (eval $ac_link) 2>&5
  48164. + ac_status=$?
  48165. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  48166. + test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
  48167. + (./conftest; exit; ) >&5 2>/dev/null
  48168. + lt_status=$?
  48169. + case x$lt_status in
  48170. + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  48171. + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  48172. + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  48173. + esac
  48174. + else :
  48175. + # compilation failed
  48176. + lt_cv_dlopen_self_static=no
  48177. + fi
  48178. +fi
  48179. +rm -fr conftest*
  48180. +
  48181. +
  48182. +fi
  48183. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  48184. +$as_echo "$lt_cv_dlopen_self_static" >&6; }
  48185. + fi
  48186. +
  48187. + CPPFLAGS="$save_CPPFLAGS"
  48188. + LDFLAGS="$save_LDFLAGS"
  48189. + LIBS="$save_LIBS"
  48190. + ;;
  48191. + esac
  48192. +
  48193. + case $lt_cv_dlopen_self in
  48194. + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  48195. + *) enable_dlopen_self=unknown ;;
  48196. + esac
  48197. +
  48198. + case $lt_cv_dlopen_self_static in
  48199. + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  48200. + *) enable_dlopen_self_static=unknown ;;
  48201. + esac
  48202. +fi
  48203. +
  48204. +
  48205. +
  48206. +
  48207. +
  48208. +
  48209. +
  48210. +
  48211. +
  48212. +
  48213. +
  48214. +
  48215. +
  48216. +
  48217. +
  48218. +
  48219. +
  48220. +striplib=
  48221. +old_striplib=
  48222. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  48223. +$as_echo_n "checking whether stripping libraries is possible... " >&6; }
  48224. +if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  48225. + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  48226. + test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  48227. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  48228. +$as_echo "yes" >&6; }
  48229. +else
  48230. +# FIXME - insert some real tests, host_os isn't really good enough
  48231. + case $host_os in
  48232. + darwin*)
  48233. + if test -n "$STRIP" ; then
  48234. + striplib="$STRIP -x"
  48235. + old_striplib="$STRIP -S"
  48236. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  48237. +$as_echo "yes" >&6; }
  48238. + else
  48239. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48240. +$as_echo "no" >&6; }
  48241. + fi
  48242. + ;;
  48243. + *)
  48244. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48245. +$as_echo "no" >&6; }
  48246. + ;;
  48247. + esac
  48248. +fi
  48249. +
  48250. +
  48251. +
  48252. +
  48253. +
  48254. +
  48255. +
  48256. +
  48257. +
  48258. +
  48259. +
  48260. +
  48261. + # Report which library types will actually be built
  48262. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  48263. +$as_echo_n "checking if libtool supports shared libraries... " >&6; }
  48264. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  48265. +$as_echo "$can_build_shared" >&6; }
  48266. +
  48267. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  48268. +$as_echo_n "checking whether to build shared libraries... " >&6; }
  48269. + test "$can_build_shared" = "no" && enable_shared=no
  48270. +
  48271. + # On AIX, shared libraries and static libraries use the same namespace, and
  48272. + # are all built from PIC.
  48273. + case $host_os in
  48274. + aix3*)
  48275. + test "$enable_shared" = yes && enable_static=no
  48276. + if test -n "$RANLIB"; then
  48277. + archive_cmds="$archive_cmds~\$RANLIB \$lib"
  48278. + postinstall_cmds='$RANLIB $lib'
  48279. + fi
  48280. + ;;
  48281. +
  48282. + aix[4-9]*)
  48283. + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  48284. + test "$enable_shared" = yes && enable_static=no
  48285. + fi
  48286. + ;;
  48287. + esac
  48288. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  48289. +$as_echo "$enable_shared" >&6; }
  48290. +
  48291. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  48292. +$as_echo_n "checking whether to build static libraries... " >&6; }
  48293. + # Make sure either enable_shared or enable_static is yes.
  48294. + test "$enable_shared" = yes || enable_static=yes
  48295. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  48296. +$as_echo "$enable_static" >&6; }
  48297. +
  48298. +
  48299. +
  48300. +
  48301. +fi
  48302. +ac_ext=c
  48303. +ac_cpp='$CPP $CPPFLAGS'
  48304. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  48305. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  48306. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  48307. +
  48308. +CC="$lt_save_CC"
  48309. +
  48310. +
  48311. +
  48312. +
  48313. +
  48314. +
  48315. +
  48316. +
  48317. +
  48318. +
  48319. +
  48320. +
  48321. +
  48322. + ac_config_commands="$ac_config_commands libtool"
  48323. +
  48324. +
  48325. +
  48326. +
  48327. +# Only expand once:
  48328. +
  48329. +
  48330. +
  48331. +ALL_LINGUAS="fr sv tr es da vi zh_CN zh_TW ga fi id bg"
  48332. +# If we haven't got the data from the intl directory,
  48333. +# assume NLS is disabled.
  48334. +USE_NLS=no
  48335. +LIBINTL=
  48336. +LIBINTL_DEP=
  48337. +INCINTL=
  48338. +XGETTEXT=
  48339. +GMSGFMT=
  48340. +POSUB=
  48341. +
  48342. +if test -f ../intl/config.intl; then
  48343. + . ../intl/config.intl
  48344. +fi
  48345. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  48346. +$as_echo_n "checking whether NLS is requested... " >&6; }
  48347. +if test x"$USE_NLS" != xyes; then
  48348. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48349. +$as_echo "no" >&6; }
  48350. +else
  48351. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  48352. +$as_echo "yes" >&6; }
  48353. +
  48354. +$as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
  48355. +
  48356. +
  48357. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
  48358. +$as_echo_n "checking for catalogs to be installed... " >&6; }
  48359. + # Look for .po and .gmo files in the source directory.
  48360. + CATALOGS=
  48361. + XLINGUAS=
  48362. + for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
  48363. + # If there aren't any .gmo files the shell will give us the
  48364. + # literal string "../path/to/srcdir/po/*.gmo" which has to be
  48365. + # weeded out.
  48366. + case "$cat" in *\**)
  48367. + continue;;
  48368. + esac
  48369. + # The quadruple backslash is collapsed to a double backslash
  48370. + # by the backticks, then collapsed again by the double quotes,
  48371. + # leaving us with one backslash in the sed expression (right
  48372. + # before the dot that mustn't act as a wildcard).
  48373. + cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
  48374. + lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
  48375. + # The user is allowed to set LINGUAS to a list of languages to
  48376. + # install catalogs for. If it's empty that means "all of them."
  48377. + if test "x$LINGUAS" = x; then
  48378. + CATALOGS="$CATALOGS $cat"
  48379. + XLINGUAS="$XLINGUAS $lang"
  48380. + else
  48381. + case "$LINGUAS" in *$lang*)
  48382. + CATALOGS="$CATALOGS $cat"
  48383. + XLINGUAS="$XLINGUAS $lang"
  48384. + ;;
  48385. + esac
  48386. + fi
  48387. + done
  48388. + LINGUAS="$XLINGUAS"
  48389. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
  48390. +$as_echo "$LINGUAS" >&6; }
  48391. +
  48392. +
  48393. + DATADIRNAME=share
  48394. +
  48395. + INSTOBJEXT=.mo
  48396. +
  48397. + GENCAT=gencat
  48398. +
  48399. + CATOBJEXT=.gmo
  48400. +
  48401. +fi
  48402. +
  48403. + MKINSTALLDIRS=
  48404. + if test -n "$ac_aux_dir"; then
  48405. + case "$ac_aux_dir" in
  48406. + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
  48407. + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
  48408. + esac
  48409. + fi
  48410. + if test -z "$MKINSTALLDIRS"; then
  48411. + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  48412. + fi
  48413. +
  48414. +
  48415. +
  48416. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
  48417. +$as_echo_n "checking whether NLS is requested... " >&6; }
  48418. + @%:@ Check whether --enable-nls was given.
  48419. +if test "${enable_nls+set}" = set; then :
  48420. + enableval=$enable_nls; USE_NLS=$enableval
  48421. +else
  48422. + USE_NLS=yes
  48423. +fi
  48424. +
  48425. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
  48426. +$as_echo "$USE_NLS" >&6; }
  48427. +
  48428. +
  48429. +
  48430. +
  48431. +
  48432. +
  48433. +# Prepare PATH_SEPARATOR.
  48434. +# The user is always right.
  48435. +if test "${PATH_SEPARATOR+set}" != set; then
  48436. + echo "#! /bin/sh" >conf$$.sh
  48437. + echo "exit 0" >>conf$$.sh
  48438. + chmod +x conf$$.sh
  48439. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  48440. + PATH_SEPARATOR=';'
  48441. + else
  48442. + PATH_SEPARATOR=:
  48443. + fi
  48444. + rm -f conf$$.sh
  48445. +fi
  48446. +
  48447. +# Find out how to test for executable files. Don't use a zero-byte file,
  48448. +# as systems may use methods other than mode bits to determine executability.
  48449. +cat >conf$$.file <<_ASEOF
  48450. +#! /bin/sh
  48451. +exit 0
  48452. +_ASEOF
  48453. +chmod +x conf$$.file
  48454. +if test -x conf$$.file >/dev/null 2>&1; then
  48455. + ac_executable_p="test -x"
  48456. +else
  48457. + ac_executable_p="test -f"
  48458. +fi
  48459. +rm -f conf$$.file
  48460. +
  48461. +# Extract the first word of "msgfmt", so it can be a program name with args.
  48462. +set dummy msgfmt; ac_word=$2
  48463. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48464. +$as_echo_n "checking for $ac_word... " >&6; }
  48465. +if test "${ac_cv_path_MSGFMT+set}" = set; then :
  48466. + $as_echo_n "(cached) " >&6
  48467. +else
  48468. + case "$MSGFMT" in
  48469. + [\\/]* | ?:[\\/]*)
  48470. + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  48471. + ;;
  48472. + *)
  48473. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  48474. + for ac_dir in $PATH; do
  48475. + IFS="$ac_save_IFS"
  48476. + test -z "$ac_dir" && ac_dir=.
  48477. + for ac_exec_ext in '' $ac_executable_extensions; do
  48478. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  48479. + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  48480. + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  48481. + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
  48482. + break 2
  48483. + fi
  48484. + fi
  48485. + done
  48486. + done
  48487. + IFS="$ac_save_IFS"
  48488. + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  48489. + ;;
  48490. +esac
  48491. +fi
  48492. +MSGFMT="$ac_cv_path_MSGFMT"
  48493. +if test "$MSGFMT" != ":"; then
  48494. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  48495. +$as_echo "$MSGFMT" >&6; }
  48496. +else
  48497. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48498. +$as_echo "no" >&6; }
  48499. +fi
  48500. +
  48501. + # Extract the first word of "gmsgfmt", so it can be a program name with args.
  48502. +set dummy gmsgfmt; ac_word=$2
  48503. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48504. +$as_echo_n "checking for $ac_word... " >&6; }
  48505. +if test "${ac_cv_path_GMSGFMT+set}" = set; then :
  48506. + $as_echo_n "(cached) " >&6
  48507. +else
  48508. + case $GMSGFMT in
  48509. + [\\/]* | ?:[\\/]*)
  48510. + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  48511. + ;;
  48512. + *)
  48513. + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  48514. +for as_dir in $PATH
  48515. +do
  48516. + IFS=$as_save_IFS
  48517. + test -z "$as_dir" && as_dir=.
  48518. + for ac_exec_ext in '' $ac_executable_extensions; do
  48519. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  48520. + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
  48521. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  48522. + break 2
  48523. + fi
  48524. +done
  48525. + done
  48526. +IFS=$as_save_IFS
  48527. +
  48528. + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  48529. + ;;
  48530. +esac
  48531. +fi
  48532. +GMSGFMT=$ac_cv_path_GMSGFMT
  48533. +if test -n "$GMSGFMT"; then
  48534. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
  48535. +$as_echo "$GMSGFMT" >&6; }
  48536. +else
  48537. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48538. +$as_echo "no" >&6; }
  48539. +fi
  48540. +
  48541. +
  48542. +
  48543. +
  48544. +# Prepare PATH_SEPARATOR.
  48545. +# The user is always right.
  48546. +if test "${PATH_SEPARATOR+set}" != set; then
  48547. + echo "#! /bin/sh" >conf$$.sh
  48548. + echo "exit 0" >>conf$$.sh
  48549. + chmod +x conf$$.sh
  48550. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  48551. + PATH_SEPARATOR=';'
  48552. + else
  48553. + PATH_SEPARATOR=:
  48554. + fi
  48555. + rm -f conf$$.sh
  48556. +fi
  48557. +
  48558. +# Find out how to test for executable files. Don't use a zero-byte file,
  48559. +# as systems may use methods other than mode bits to determine executability.
  48560. +cat >conf$$.file <<_ASEOF
  48561. +#! /bin/sh
  48562. +exit 0
  48563. +_ASEOF
  48564. +chmod +x conf$$.file
  48565. +if test -x conf$$.file >/dev/null 2>&1; then
  48566. + ac_executable_p="test -x"
  48567. +else
  48568. + ac_executable_p="test -f"
  48569. +fi
  48570. +rm -f conf$$.file
  48571. +
  48572. +# Extract the first word of "xgettext", so it can be a program name with args.
  48573. +set dummy xgettext; ac_word=$2
  48574. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48575. +$as_echo_n "checking for $ac_word... " >&6; }
  48576. +if test "${ac_cv_path_XGETTEXT+set}" = set; then :
  48577. + $as_echo_n "(cached) " >&6
  48578. +else
  48579. + case "$XGETTEXT" in
  48580. + [\\/]* | ?:[\\/]*)
  48581. + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  48582. + ;;
  48583. + *)
  48584. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  48585. + for ac_dir in $PATH; do
  48586. + IFS="$ac_save_IFS"
  48587. + test -z "$ac_dir" && ac_dir=.
  48588. + for ac_exec_ext in '' $ac_executable_extensions; do
  48589. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  48590. + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  48591. + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  48592. + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
  48593. + break 2
  48594. + fi
  48595. + fi
  48596. + done
  48597. + done
  48598. + IFS="$ac_save_IFS"
  48599. + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  48600. + ;;
  48601. +esac
  48602. +fi
  48603. +XGETTEXT="$ac_cv_path_XGETTEXT"
  48604. +if test "$XGETTEXT" != ":"; then
  48605. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
  48606. +$as_echo "$XGETTEXT" >&6; }
  48607. +else
  48608. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48609. +$as_echo "no" >&6; }
  48610. +fi
  48611. +
  48612. + rm -f messages.po
  48613. +
  48614. +
  48615. +# Prepare PATH_SEPARATOR.
  48616. +# The user is always right.
  48617. +if test "${PATH_SEPARATOR+set}" != set; then
  48618. + echo "#! /bin/sh" >conf$$.sh
  48619. + echo "exit 0" >>conf$$.sh
  48620. + chmod +x conf$$.sh
  48621. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  48622. + PATH_SEPARATOR=';'
  48623. + else
  48624. + PATH_SEPARATOR=:
  48625. + fi
  48626. + rm -f conf$$.sh
  48627. +fi
  48628. +
  48629. +# Find out how to test for executable files. Don't use a zero-byte file,
  48630. +# as systems may use methods other than mode bits to determine executability.
  48631. +cat >conf$$.file <<_ASEOF
  48632. +#! /bin/sh
  48633. +exit 0
  48634. +_ASEOF
  48635. +chmod +x conf$$.file
  48636. +if test -x conf$$.file >/dev/null 2>&1; then
  48637. + ac_executable_p="test -x"
  48638. +else
  48639. + ac_executable_p="test -f"
  48640. +fi
  48641. +rm -f conf$$.file
  48642. +
  48643. +# Extract the first word of "msgmerge", so it can be a program name with args.
  48644. +set dummy msgmerge; ac_word=$2
  48645. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48646. +$as_echo_n "checking for $ac_word... " >&6; }
  48647. +if test "${ac_cv_path_MSGMERGE+set}" = set; then :
  48648. + $as_echo_n "(cached) " >&6
  48649. +else
  48650. + case "$MSGMERGE" in
  48651. + [\\/]* | ?:[\\/]*)
  48652. + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  48653. + ;;
  48654. + *)
  48655. + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  48656. + for ac_dir in $PATH; do
  48657. + IFS="$ac_save_IFS"
  48658. + test -z "$ac_dir" && ac_dir=.
  48659. + for ac_exec_ext in '' $ac_executable_extensions; do
  48660. + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  48661. + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
  48662. + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
  48663. + break 2
  48664. + fi
  48665. + fi
  48666. + done
  48667. + done
  48668. + IFS="$ac_save_IFS"
  48669. + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  48670. + ;;
  48671. +esac
  48672. +fi
  48673. +MSGMERGE="$ac_cv_path_MSGMERGE"
  48674. +if test "$MSGMERGE" != ":"; then
  48675. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
  48676. +$as_echo "$MSGMERGE" >&6; }
  48677. +else
  48678. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48679. +$as_echo "no" >&6; }
  48680. +fi
  48681. +
  48682. +
  48683. + if test "$GMSGFMT" != ":"; then
  48684. + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
  48685. + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  48686. + : ;
  48687. + else
  48688. + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
  48689. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
  48690. +$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
  48691. + GMSGFMT=":"
  48692. + fi
  48693. + fi
  48694. +
  48695. + if test "$XGETTEXT" != ":"; then
  48696. + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  48697. + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  48698. + : ;
  48699. + else
  48700. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
  48701. +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
  48702. + XGETTEXT=":"
  48703. + fi
  48704. + rm -f messages.po
  48705. + fi
  48706. +
  48707. + ac_config_commands="$ac_config_commands default-1"
  48708. +
  48709. +
  48710. +
  48711. +
  48712. +
  48713. +for ac_prog in 'bison -y' byacc
  48714. +do
  48715. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  48716. +set dummy $ac_prog; ac_word=$2
  48717. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48718. +$as_echo_n "checking for $ac_word... " >&6; }
  48719. +if test "${ac_cv_prog_YACC+set}" = set; then :
  48720. + $as_echo_n "(cached) " >&6
  48721. +else
  48722. + if test -n "$YACC"; then
  48723. + ac_cv_prog_YACC="$YACC" # Let the user override the test.
  48724. +else
  48725. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  48726. +for as_dir in $PATH
  48727. +do
  48728. + IFS=$as_save_IFS
  48729. + test -z "$as_dir" && as_dir=.
  48730. + for ac_exec_ext in '' $ac_executable_extensions; do
  48731. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  48732. + ac_cv_prog_YACC="$ac_prog"
  48733. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  48734. + break 2
  48735. + fi
  48736. +done
  48737. + done
  48738. +IFS=$as_save_IFS
  48739. +
  48740. +fi
  48741. +fi
  48742. +YACC=$ac_cv_prog_YACC
  48743. +if test -n "$YACC"; then
  48744. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  48745. +$as_echo "$YACC" >&6; }
  48746. +else
  48747. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48748. +$as_echo "no" >&6; }
  48749. +fi
  48750. +
  48751. +
  48752. + test -n "$YACC" && break
  48753. +done
  48754. +test -n "$YACC" || YACC="yacc"
  48755. +
  48756. +for ac_prog in flex lex
  48757. +do
  48758. + # Extract the first word of "$ac_prog", so it can be a program name with args.
  48759. +set dummy $ac_prog; ac_word=$2
  48760. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  48761. +$as_echo_n "checking for $ac_word... " >&6; }
  48762. +if test "${ac_cv_prog_LEX+set}" = set; then :
  48763. + $as_echo_n "(cached) " >&6
  48764. +else
  48765. + if test -n "$LEX"; then
  48766. + ac_cv_prog_LEX="$LEX" # Let the user override the test.
  48767. +else
  48768. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  48769. +for as_dir in $PATH
  48770. +do
  48771. + IFS=$as_save_IFS
  48772. + test -z "$as_dir" && as_dir=.
  48773. + for ac_exec_ext in '' $ac_executable_extensions; do
  48774. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  48775. + ac_cv_prog_LEX="$ac_prog"
  48776. + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  48777. + break 2
  48778. + fi
  48779. +done
  48780. + done
  48781. +IFS=$as_save_IFS
  48782. +
  48783. +fi
  48784. +fi
  48785. +LEX=$ac_cv_prog_LEX
  48786. +if test -n "$LEX"; then
  48787. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  48788. +$as_echo "$LEX" >&6; }
  48789. +else
  48790. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  48791. +$as_echo "no" >&6; }
  48792. +fi
  48793. +
  48794. +
  48795. + test -n "$LEX" && break
  48796. +done
  48797. +test -n "$LEX" || LEX=":"
  48798. +
  48799. +if test "x$LEX" != "x:"; then
  48800. + cat >conftest.l <<_ACEOF
  48801. +%%
  48802. +a { ECHO; }
  48803. +b { REJECT; }
  48804. +c { yymore (); }
  48805. +d { yyless (1); }
  48806. +e { yyless (input () != 0); }
  48807. +f { unput (yytext[0]); }
  48808. +. { BEGIN INITIAL; }
  48809. +%%
  48810. +#ifdef YYTEXT_POINTER
  48811. +extern char *yytext;
  48812. +#endif
  48813. +int
  48814. +main (void)
  48815. +{
  48816. + return ! yylex () + ! yywrap ();
  48817. +}
  48818. +_ACEOF
  48819. +{ { ac_try="$LEX conftest.l"
  48820. +case "(($ac_try" in
  48821. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  48822. + *) ac_try_echo=$ac_try;;
  48823. +esac
  48824. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  48825. +$as_echo "$ac_try_echo"; } >&5
  48826. + (eval "$LEX conftest.l") 2>&5
  48827. + ac_status=$?
  48828. + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  48829. + test $ac_status = 0; }
  48830. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  48831. +$as_echo_n "checking lex output file root... " >&6; }
  48832. +if test "${ac_cv_prog_lex_root+set}" = set; then :
  48833. + $as_echo_n "(cached) " >&6
  48834. +else
  48835. +
  48836. +if test -f lex.yy.c; then
  48837. + ac_cv_prog_lex_root=lex.yy
  48838. +elif test -f lexyy.c; then
  48839. + ac_cv_prog_lex_root=lexyy
  48840. +else
  48841. + as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
  48842. +fi
  48843. +fi
  48844. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  48845. +$as_echo "$ac_cv_prog_lex_root" >&6; }
  48846. +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  48847. +
  48848. +if test -z "${LEXLIB+set}"; then
  48849. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  48850. +$as_echo_n "checking lex library... " >&6; }
  48851. +if test "${ac_cv_lib_lex+set}" = set; then :
  48852. + $as_echo_n "(cached) " >&6
  48853. +else
  48854. +
  48855. + ac_save_LIBS=$LIBS
  48856. + ac_cv_lib_lex='none needed'
  48857. + for ac_lib in '' -lfl -ll; do
  48858. + LIBS="$ac_lib $ac_save_LIBS"
  48859. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48860. +/* end confdefs.h. */
  48861. +`cat $LEX_OUTPUT_ROOT.c`
  48862. +_ACEOF
  48863. +if ac_fn_c_try_link "$LINENO"; then :
  48864. + ac_cv_lib_lex=$ac_lib
  48865. +fi
  48866. +rm -f core conftest.err conftest.$ac_objext \
  48867. + conftest$ac_exeext conftest.$ac_ext
  48868. + test "$ac_cv_lib_lex" != 'none needed' && break
  48869. + done
  48870. + LIBS=$ac_save_LIBS
  48871. +
  48872. +fi
  48873. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  48874. +$as_echo "$ac_cv_lib_lex" >&6; }
  48875. + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  48876. +fi
  48877. +
  48878. +
  48879. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  48880. +$as_echo_n "checking whether yytext is a pointer... " >&6; }
  48881. +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
  48882. + $as_echo_n "(cached) " >&6
  48883. +else
  48884. + # POSIX says lex can declare yytext either as a pointer or an array; the
  48885. +# default is implementation-dependent. Figure out which it is, since
  48886. +# not all implementations provide the %pointer and %array declarations.
  48887. +ac_cv_prog_lex_yytext_pointer=no
  48888. +ac_save_LIBS=$LIBS
  48889. +LIBS="$LEXLIB $ac_save_LIBS"
  48890. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  48891. +/* end confdefs.h. */
  48892. +#define YYTEXT_POINTER 1
  48893. +`cat $LEX_OUTPUT_ROOT.c`
  48894. +_ACEOF
  48895. +if ac_fn_c_try_link "$LINENO"; then :
  48896. + ac_cv_prog_lex_yytext_pointer=yes
  48897. +fi
  48898. +rm -f core conftest.err conftest.$ac_objext \
  48899. + conftest$ac_exeext conftest.$ac_ext
  48900. +LIBS=$ac_save_LIBS
  48901. +
  48902. +fi
  48903. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  48904. +$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  48905. +if test $ac_cv_prog_lex_yytext_pointer = yes; then
  48906. +
  48907. +$as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
  48908. +
  48909. +fi
  48910. +rm -f conftest.l $LEX_OUTPUT_ROOT.c
  48911. +
  48912. +fi
  48913. +if test "$LEX" = :; then
  48914. + LEX=${am_missing_run}flex
  48915. +fi
  48916. +
  48917. +
  48918. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  48919. +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  48920. + @%:@ Check whether --enable-maintainer-mode was given.
  48921. +if test "${enable_maintainer_mode+set}" = set; then :
  48922. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  48923. +else
  48924. + USE_MAINTAINER_MODE=no
  48925. +fi
  48926. +
  48927. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  48928. +$as_echo "$USE_MAINTAINER_MODE" >&6; }
  48929. + if test $USE_MAINTAINER_MODE = yes; then
  48930. + MAINTAINER_MODE_TRUE=
  48931. + MAINTAINER_MODE_FALSE='#'
  48932. +else
  48933. + MAINTAINER_MODE_TRUE='#'
  48934. + MAINTAINER_MODE_FALSE=
  48935. +fi
  48936. +
  48937. + MAINT=$MAINTAINER_MODE_TRUE
  48938. +
  48939. +
  48940. + if false; then
  48941. + GENINSRC_NEVER_TRUE=
  48942. + GENINSRC_NEVER_FALSE='#'
  48943. +else
  48944. + GENINSRC_NEVER_TRUE='#'
  48945. + GENINSRC_NEVER_FALSE=
  48946. +fi
  48947. +
  48948. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
  48949. +$as_echo_n "checking how to compare bootstrapped objects... " >&6; }
  48950. +if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
  48951. + $as_echo_n "(cached) " >&6
  48952. +else
  48953. + echo abfoo >t1
  48954. + echo cdfoo >t2
  48955. + gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  48956. + if cmp t1 t2 2 2 > /dev/null 2>&1; then
  48957. + if cmp t1 t2 1 1 > /dev/null 2>&1; then
  48958. + :
  48959. + else
  48960. + gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
  48961. + fi
  48962. + fi
  48963. + if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
  48964. + if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
  48965. + :
  48966. + else
  48967. + gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
  48968. + fi
  48969. + fi
  48970. + rm t1 t2
  48971. +
  48972. +fi
  48973. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
  48974. +$as_echo "$gcc_cv_prog_cmp_skip" >&6; }
  48975. +do_compare="$gcc_cv_prog_cmp_skip"
  48976. +
  48977. +
  48978. +
  48979. +. ${srcdir}/configure.host
  48980. +
  48981. +
  48982. +
  48983. +
  48984. +
  48985. +
  48986. +for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
  48987. +do :
  48988. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  48989. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  48990. +eval as_val=\$$as_ac_Header
  48991. + if test "x$as_val" = x""yes; then :
  48992. + cat >>confdefs.h <<_ACEOF
  48993. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  48994. +_ACEOF
  48995. +
  48996. +fi
  48997. +
  48998. +done
  48999. +
  49000. +for ac_header in fcntl.h sys/file.h sys/time.h sys/stat.h
  49001. +do :
  49002. + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  49003. +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  49004. +eval as_val=\$$as_ac_Header
  49005. + if test "x$as_val" = x""yes; then :
  49006. + cat >>confdefs.h <<_ACEOF
  49007. +@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  49008. +_ACEOF
  49009. +
  49010. +fi
  49011. +
  49012. +done
  49013. +
  49014. +for ac_func in glob mkstemp realpath sbrk waitpid
  49015. +do :
  49016. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  49017. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  49018. +eval as_val=\$$as_ac_var
  49019. + if test "x$as_val" = x""yes; then :
  49020. + cat >>confdefs.h <<_ACEOF
  49021. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  49022. +_ACEOF
  49023. +
  49024. +fi
  49025. +done
  49026. +
  49027. +for ac_func in open lseek close
  49028. +do :
  49029. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  49030. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  49031. +eval as_val=\$$as_ac_var
  49032. + if test "x$as_val" = x""yes; then :
  49033. + cat >>confdefs.h <<_ACEOF
  49034. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  49035. +_ACEOF
  49036. +
  49037. +fi
  49038. +done
  49039. +
  49040. +ac_header_dirent=no
  49041. +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  49042. + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  49043. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  49044. +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  49045. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
  49046. + $as_echo_n "(cached) " >&6
  49047. +else
  49048. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49049. +/* end confdefs.h. */
  49050. +#include <sys/types.h>
  49051. +#include <$ac_hdr>
  49052. +
  49053. +int
  49054. +main ()
  49055. +{
  49056. +if ((DIR *) 0)
  49057. +return 0;
  49058. + ;
  49059. + return 0;
  49060. +}
  49061. +_ACEOF
  49062. +if ac_fn_c_try_compile "$LINENO"; then :
  49063. + eval "$as_ac_Header=yes"
  49064. +else
  49065. + eval "$as_ac_Header=no"
  49066. +fi
  49067. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  49068. +fi
  49069. +eval ac_res=\$$as_ac_Header
  49070. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  49071. +$as_echo "$ac_res" >&6; }
  49072. +eval as_val=\$$as_ac_Header
  49073. + if test "x$as_val" = x""yes; then :
  49074. + cat >>confdefs.h <<_ACEOF
  49075. +@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  49076. +_ACEOF
  49077. +
  49078. +ac_header_dirent=$ac_hdr; break
  49079. +fi
  49080. +
  49081. +done
  49082. +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  49083. +if test $ac_header_dirent = dirent.h; then
  49084. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  49085. +$as_echo_n "checking for library containing opendir... " >&6; }
  49086. +if test "${ac_cv_search_opendir+set}" = set; then :
  49087. + $as_echo_n "(cached) " >&6
  49088. +else
  49089. + ac_func_search_save_LIBS=$LIBS
  49090. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49091. +/* end confdefs.h. */
  49092. +
  49093. +/* Override any GCC internal prototype to avoid an error.
  49094. + Use char because int might match the return type of a GCC
  49095. + builtin and then its argument prototype would still apply. */
  49096. +#ifdef __cplusplus
  49097. +extern "C"
  49098. +#endif
  49099. +char opendir ();
  49100. +int
  49101. +main ()
  49102. +{
  49103. +return opendir ();
  49104. + ;
  49105. + return 0;
  49106. +}
  49107. +_ACEOF
  49108. +for ac_lib in '' dir; do
  49109. + if test -z "$ac_lib"; then
  49110. + ac_res="none required"
  49111. + else
  49112. + ac_res=-l$ac_lib
  49113. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  49114. + fi
  49115. + if ac_fn_c_try_link "$LINENO"; then :
  49116. + ac_cv_search_opendir=$ac_res
  49117. +fi
  49118. +rm -f core conftest.err conftest.$ac_objext \
  49119. + conftest$ac_exeext
  49120. + if test "${ac_cv_search_opendir+set}" = set; then :
  49121. + break
  49122. +fi
  49123. +done
  49124. +if test "${ac_cv_search_opendir+set}" = set; then :
  49125. +
  49126. +else
  49127. + ac_cv_search_opendir=no
  49128. +fi
  49129. +rm conftest.$ac_ext
  49130. +LIBS=$ac_func_search_save_LIBS
  49131. +fi
  49132. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  49133. +$as_echo "$ac_cv_search_opendir" >&6; }
  49134. +ac_res=$ac_cv_search_opendir
  49135. +if test "$ac_res" != no; then :
  49136. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  49137. +
  49138. +fi
  49139. +
  49140. +else
  49141. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  49142. +$as_echo_n "checking for library containing opendir... " >&6; }
  49143. +if test "${ac_cv_search_opendir+set}" = set; then :
  49144. + $as_echo_n "(cached) " >&6
  49145. +else
  49146. + ac_func_search_save_LIBS=$LIBS
  49147. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49148. +/* end confdefs.h. */
  49149. +
  49150. +/* Override any GCC internal prototype to avoid an error.
  49151. + Use char because int might match the return type of a GCC
  49152. + builtin and then its argument prototype would still apply. */
  49153. +#ifdef __cplusplus
  49154. +extern "C"
  49155. +#endif
  49156. +char opendir ();
  49157. +int
  49158. +main ()
  49159. +{
  49160. +return opendir ();
  49161. + ;
  49162. + return 0;
  49163. +}
  49164. +_ACEOF
  49165. +for ac_lib in '' x; do
  49166. + if test -z "$ac_lib"; then
  49167. + ac_res="none required"
  49168. + else
  49169. + ac_res=-l$ac_lib
  49170. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  49171. + fi
  49172. + if ac_fn_c_try_link "$LINENO"; then :
  49173. + ac_cv_search_opendir=$ac_res
  49174. +fi
  49175. +rm -f core conftest.err conftest.$ac_objext \
  49176. + conftest$ac_exeext
  49177. + if test "${ac_cv_search_opendir+set}" = set; then :
  49178. + break
  49179. +fi
  49180. +done
  49181. +if test "${ac_cv_search_opendir+set}" = set; then :
  49182. +
  49183. +else
  49184. + ac_cv_search_opendir=no
  49185. +fi
  49186. +rm conftest.$ac_ext
  49187. +LIBS=$ac_func_search_save_LIBS
  49188. +fi
  49189. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  49190. +$as_echo "$ac_cv_search_opendir" >&6; }
  49191. +ac_res=$ac_cv_search_opendir
  49192. +if test "$ac_res" != no; then :
  49193. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  49194. +
  49195. +fi
  49196. +
  49197. +fi
  49198. +
  49199. +
  49200. +# Check for dlopen support and enable plugins if possible.
  49201. +enable_plugins=yes
  49202. +ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  49203. +"
  49204. +if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  49205. +
  49206. +else
  49207. + enable_plugins=no
  49208. +fi
  49209. +
  49210. +
  49211. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  49212. +$as_echo_n "checking for library containing dlopen... " >&6; }
  49213. +if test "${ac_cv_search_dlopen+set}" = set; then :
  49214. + $as_echo_n "(cached) " >&6
  49215. +else
  49216. + ac_func_search_save_LIBS=$LIBS
  49217. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49218. +/* end confdefs.h. */
  49219. +
  49220. +/* Override any GCC internal prototype to avoid an error.
  49221. + Use char because int might match the return type of a GCC
  49222. + builtin and then its argument prototype would still apply. */
  49223. +#ifdef __cplusplus
  49224. +extern "C"
  49225. +#endif
  49226. +char dlopen ();
  49227. +int
  49228. +main ()
  49229. +{
  49230. +return dlopen ();
  49231. + ;
  49232. + return 0;
  49233. +}
  49234. +_ACEOF
  49235. +for ac_lib in '' dl; do
  49236. + if test -z "$ac_lib"; then
  49237. + ac_res="none required"
  49238. + else
  49239. + ac_res=-l$ac_lib
  49240. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  49241. + fi
  49242. + if ac_fn_c_try_link "$LINENO"; then :
  49243. + ac_cv_search_dlopen=$ac_res
  49244. +fi
  49245. +rm -f core conftest.err conftest.$ac_objext \
  49246. + conftest$ac_exeext
  49247. + if test "${ac_cv_search_dlopen+set}" = set; then :
  49248. + break
  49249. +fi
  49250. +done
  49251. +if test "${ac_cv_search_dlopen+set}" = set; then :
  49252. +
  49253. +else
  49254. + ac_cv_search_dlopen=no
  49255. +fi
  49256. +rm conftest.$ac_ext
  49257. +LIBS=$ac_func_search_save_LIBS
  49258. +fi
  49259. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  49260. +$as_echo "$ac_cv_search_dlopen" >&6; }
  49261. +ac_res=$ac_cv_search_dlopen
  49262. +if test "$ac_res" != no; then :
  49263. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  49264. +
  49265. +else
  49266. + enable_plugins=no
  49267. +fi
  49268. +
  49269. +for ac_func in dlopen dlsym dlclose
  49270. +do :
  49271. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  49272. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  49273. +eval as_val=\$$as_ac_var
  49274. + if test "x$as_val" = x""yes; then :
  49275. + cat >>confdefs.h <<_ACEOF
  49276. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  49277. +_ACEOF
  49278. +
  49279. +else
  49280. + enable_plugins=no
  49281. +fi
  49282. +done
  49283. +
  49284. +# We also support plugins on Windows (MinGW).
  49285. +if test x$enable_plugins = xno ; then
  49286. + for ac_header in Windows.h
  49287. +do :
  49288. + ac_fn_c_check_header_compile "$LINENO" "Windows.h" "ac_cv_header_Windows_h" "$ac_includes_default
  49289. +"
  49290. +if test "x$ac_cv_header_Windows_h" = x""yes; then :
  49291. + cat >>confdefs.h <<_ACEOF
  49292. +@%:@define HAVE_WINDOWS_H 1
  49293. +_ACEOF
  49294. + enable_plugins=yes
  49295. +fi
  49296. +
  49297. +done
  49298. +
  49299. +fi
  49300. + if test x$enable_plugins = xyes; then
  49301. + ENABLE_PLUGINS_TRUE=
  49302. + ENABLE_PLUGINS_FALSE='#'
  49303. +else
  49304. + ENABLE_PLUGINS_TRUE='#'
  49305. + ENABLE_PLUGINS_FALSE=
  49306. +fi
  49307. +
  49308. +
  49309. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
  49310. +$as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
  49311. +if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then :
  49312. + $as_echo_n "(cached) " >&6
  49313. +else
  49314. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49315. +/* end confdefs.h. */
  49316. +#include <unistd.h>
  49317. +int
  49318. +main ()
  49319. +{
  49320. +extern int getopt (int, char *const*, const char *);
  49321. + ;
  49322. + return 0;
  49323. +}
  49324. +_ACEOF
  49325. +if ac_fn_c_try_compile "$LINENO"; then :
  49326. + ld_cv_decl_getopt_unistd_h=yes
  49327. +else
  49328. + ld_cv_decl_getopt_unistd_h=no
  49329. +fi
  49330. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  49331. +fi
  49332. +
  49333. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
  49334. +$as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
  49335. +if test $ld_cv_decl_getopt_unistd_h = yes; then
  49336. +
  49337. +$as_echo "@%:@define HAVE_DECL_GETOPT 1" >>confdefs.h
  49338. +
  49339. +fi
  49340. +
  49341. +
  49342. +case "${host}" in
  49343. +*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
  49344. +
  49345. +$as_echo "@%:@define USE_BINARY_FOPEN 1" >>confdefs.h
  49346. + ;;
  49347. +esac
  49348. +
  49349. +ac_fn_c_check_decl "$LINENO" "strstr" "ac_cv_have_decl_strstr" "$ac_includes_default"
  49350. +if test "x$ac_cv_have_decl_strstr" = x""yes; then :
  49351. + ac_have_decl=1
  49352. +else
  49353. + ac_have_decl=0
  49354. +fi
  49355. +
  49356. +cat >>confdefs.h <<_ACEOF
  49357. +@%:@define HAVE_DECL_STRSTR $ac_have_decl
  49358. +_ACEOF
  49359. +ac_fn_c_check_decl "$LINENO" "free" "ac_cv_have_decl_free" "$ac_includes_default"
  49360. +if test "x$ac_cv_have_decl_free" = x""yes; then :
  49361. + ac_have_decl=1
  49362. +else
  49363. + ac_have_decl=0
  49364. +fi
  49365. +
  49366. +cat >>confdefs.h <<_ACEOF
  49367. +@%:@define HAVE_DECL_FREE $ac_have_decl
  49368. +_ACEOF
  49369. +ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
  49370. +if test "x$ac_cv_have_decl_sbrk" = x""yes; then :
  49371. + ac_have_decl=1
  49372. +else
  49373. + ac_have_decl=0
  49374. +fi
  49375. +
  49376. +cat >>confdefs.h <<_ACEOF
  49377. +@%:@define HAVE_DECL_SBRK $ac_have_decl
  49378. +_ACEOF
  49379. +ac_fn_c_check_decl "$LINENO" "getenv" "ac_cv_have_decl_getenv" "$ac_includes_default"
  49380. +if test "x$ac_cv_have_decl_getenv" = x""yes; then :
  49381. + ac_have_decl=1
  49382. +else
  49383. + ac_have_decl=0
  49384. +fi
  49385. +
  49386. +cat >>confdefs.h <<_ACEOF
  49387. +@%:@define HAVE_DECL_GETENV $ac_have_decl
  49388. +_ACEOF
  49389. +ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
  49390. +if test "x$ac_cv_have_decl_environ" = x""yes; then :
  49391. + ac_have_decl=1
  49392. +else
  49393. + ac_have_decl=0
  49394. +fi
  49395. +
  49396. +cat >>confdefs.h <<_ACEOF
  49397. +@%:@define HAVE_DECL_ENVIRON $ac_have_decl
  49398. +_ACEOF
  49399. +
  49400. +
  49401. +# Link in zlib if we can. This is needed only for the bootstrap tests
  49402. +# right now, since those tests use libbfd, which depends on zlib.
  49403. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
  49404. +$as_echo_n "checking for library containing zlibVersion... " >&6; }
  49405. +if test "${ac_cv_search_zlibVersion+set}" = set; then :
  49406. + $as_echo_n "(cached) " >&6
  49407. +else
  49408. + ac_func_search_save_LIBS=$LIBS
  49409. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49410. +/* end confdefs.h. */
  49411. +
  49412. +/* Override any GCC internal prototype to avoid an error.
  49413. + Use char because int might match the return type of a GCC
  49414. + builtin and then its argument prototype would still apply. */
  49415. +#ifdef __cplusplus
  49416. +extern "C"
  49417. +#endif
  49418. +char zlibVersion ();
  49419. +int
  49420. +main ()
  49421. +{
  49422. +return zlibVersion ();
  49423. + ;
  49424. + return 0;
  49425. +}
  49426. +_ACEOF
  49427. +for ac_lib in '' z; do
  49428. + if test -z "$ac_lib"; then
  49429. + ac_res="none required"
  49430. + else
  49431. + ac_res=-l$ac_lib
  49432. + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  49433. + fi
  49434. + if ac_fn_c_try_link "$LINENO"; then :
  49435. + ac_cv_search_zlibVersion=$ac_res
  49436. +fi
  49437. +rm -f core conftest.err conftest.$ac_objext \
  49438. + conftest$ac_exeext
  49439. + if test "${ac_cv_search_zlibVersion+set}" = set; then :
  49440. + break
  49441. +fi
  49442. +done
  49443. +if test "${ac_cv_search_zlibVersion+set}" = set; then :
  49444. +
  49445. +else
  49446. + ac_cv_search_zlibVersion=no
  49447. +fi
  49448. +rm conftest.$ac_ext
  49449. +LIBS=$ac_func_search_save_LIBS
  49450. +fi
  49451. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
  49452. +$as_echo "$ac_cv_search_zlibVersion" >&6; }
  49453. +ac_res=$ac_cv_search_zlibVersion
  49454. +if test "$ac_res" != no; then :
  49455. + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  49456. + for ac_header in zlib.h
  49457. +do :
  49458. + ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
  49459. +if test "x$ac_cv_header_zlib_h" = x""yes; then :
  49460. + cat >>confdefs.h <<_ACEOF
  49461. +@%:@define HAVE_ZLIB_H 1
  49462. +_ACEOF
  49463. +
  49464. +fi
  49465. +
  49466. +done
  49467. +
  49468. +fi
  49469. +
  49470. +
  49471. +# When converting linker scripts into strings for use in emulation
  49472. +# files, use astring.sed if the compiler supports ANSI string
  49473. +# concatenation, or ostring.sed otherwise. This is to support the
  49474. +# broken Microsoft MSVC compiler, which limits the length of string
  49475. +# constants, while still supporting pre-ANSI compilers which do not
  49476. +# support string concatenation.
  49477. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
  49478. +$as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
  49479. +if test "${ld_cv_string_concatenation+set}" = set; then :
  49480. + $as_echo_n "(cached) " >&6
  49481. +else
  49482. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  49483. +/* end confdefs.h. */
  49484. +
  49485. +int
  49486. +main ()
  49487. +{
  49488. +char *a = "a" "a";
  49489. + ;
  49490. + return 0;
  49491. +}
  49492. +_ACEOF
  49493. +if ac_fn_c_try_compile "$LINENO"; then :
  49494. + ld_cv_string_concatenation=yes
  49495. +else
  49496. + ld_cv_string_concatenation=no
  49497. +fi
  49498. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  49499. +fi
  49500. +
  49501. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
  49502. +$as_echo "$ld_cv_string_concatenation" >&6; }
  49503. +if test "$ld_cv_string_concatenation" = "yes"; then
  49504. + STRINGIFY=astring.sed
  49505. +else
  49506. + STRINGIFY=ostring.sed
  49507. +fi
  49508. +
  49509. +
  49510. +# target-specific stuff:
  49511. +
  49512. +all_targets=
  49513. +EMUL=
  49514. +all_emuls=
  49515. +all_emul_extras=
  49516. +all_libpath=
  49517. +
  49518. +rm -f tdirs
  49519. +
  49520. +for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
  49521. +do
  49522. + if test "$targ_alias" = "all"; then
  49523. + all_targets=true
  49524. + else
  49525. + # Canonicalize the secondary target names.
  49526. + result=`$ac_config_sub $targ_alias 2>/dev/null`
  49527. + if test -n "$result"; then
  49528. + targ=$result
  49529. + else
  49530. + targ=$targ_alias
  49531. + fi
  49532. +
  49533. + . ${srcdir}/configure.tgt
  49534. +
  49535. + if test "$targ" = "$target"; then
  49536. + EMUL=$targ_emul
  49537. + fi
  49538. +
  49539. + if test x${want64} = xfalse; then
  49540. + . ${srcdir}/../bfd/config.bfd
  49541. + fi
  49542. +
  49543. + if test x${want64} = xtrue; then
  49544. + targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
  49545. + targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
  49546. + fi
  49547. +
  49548. + for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
  49549. + case " $all_emuls " in
  49550. + *" e${i}.o "*) ;;
  49551. + *)
  49552. + all_emuls="$all_emuls e${i}.o"
  49553. + eval result=\$tdir_$i
  49554. + test -z "$result" && result=$targ_alias
  49555. + echo tdir_$i=$result >> tdirs
  49556. + ;;
  49557. + esac
  49558. + done
  49559. +
  49560. + for i in $targ_emul $targ_extra_libpath; do
  49561. + case " $all_libpath " in
  49562. + *" ${i} "*) ;;
  49563. + *)
  49564. + if test -z "$all_libpath"; then
  49565. + all_libpath=${i}
  49566. + else
  49567. + all_libpath="$all_libpath ${i}"
  49568. + fi
  49569. + ;;
  49570. + esac
  49571. + done
  49572. +
  49573. + for i in $targ_extra_ofiles; do
  49574. + case " $all_emul_extras " in
  49575. + *" ${i} "*) ;;
  49576. + *)
  49577. + all_emul_extras="$all_emul_extras ${i}"
  49578. + ;;
  49579. + esac
  49580. + done
  49581. + fi
  49582. +done
  49583. +
  49584. +
  49585. +
  49586. +TDIRS=tdirs
  49587. +
  49588. +
  49589. +if test x${all_targets} = xtrue; then
  49590. + if test x${want64} = xfalse; then
  49591. + # The cast to long int works around a bug in the HP C Compiler
  49592. +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  49593. +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  49594. +# This bug is HP SR number 8606223364.
  49595. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  49596. +$as_echo_n "checking size of long... " >&6; }
  49597. +if test "${ac_cv_sizeof_long+set}" = set; then :
  49598. + $as_echo_n "(cached) " >&6
  49599. +else
  49600. + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  49601. +
  49602. +else
  49603. + if test "$ac_cv_type_long" = yes; then
  49604. + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  49605. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  49606. +{ as_fn_set_status 77
  49607. +as_fn_error "cannot compute sizeof (long)
  49608. +See \`config.log' for more details." "$LINENO" 5; }; }
  49609. + else
  49610. + ac_cv_sizeof_long=0
  49611. + fi
  49612. +fi
  49613. +
  49614. +fi
  49615. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  49616. +$as_echo "$ac_cv_sizeof_long" >&6; }
  49617. +
  49618. +
  49619. +
  49620. +cat >>confdefs.h <<_ACEOF
  49621. +@%:@define SIZEOF_LONG $ac_cv_sizeof_long
  49622. +_ACEOF
  49623. +
  49624. +
  49625. + if test "x${ac_cv_sizeof_long}" = "x8"; then
  49626. + want64=true
  49627. + fi
  49628. + fi
  49629. + if test x${want64} = xtrue; then
  49630. + EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
  49631. + else
  49632. + EMULATION_OFILES='$(ALL_EMULATIONS)'
  49633. + fi
  49634. + EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
  49635. +else
  49636. + EMULATION_OFILES=$all_emuls
  49637. + EMUL_EXTRA_OFILES=$all_emul_extras
  49638. +fi
  49639. +
  49640. +
  49641. +
  49642. +
  49643. +EMULATION_LIBPATH=$all_libpath
  49644. +
  49645. +
  49646. +if test x${enable_static} = xno; then
  49647. + TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
  49648. +else
  49649. + TESTBFDLIB="../bfd/.libs/libbfd.a"
  49650. +fi
  49651. +
  49652. +
  49653. +target_vendor=${target_vendor=$host_vendor}
  49654. +case "$target_vendor" in
  49655. + hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
  49656. + *) EXTRA_SHLIB_EXTENSION= ;;
  49657. +esac
  49658. +
  49659. +case "$target_os" in
  49660. + lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
  49661. +esac
  49662. +
  49663. +if test x${EXTRA_SHLIB_EXTENSION} != x ; then
  49664. +
  49665. +cat >>confdefs.h <<_ACEOF
  49666. +@%:@define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
  49667. +_ACEOF
  49668. +
  49669. +fi
  49670. +
  49671. +
  49672. +
  49673. +
  49674. +
  49675. +
  49676. +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
  49677. +
  49678. +cat >confcache <<\_ACEOF
  49679. +# This file is a shell script that caches the results of configure
  49680. +# tests run on this system so they can be shared between configure
  49681. +# scripts and configure runs, see configure's option --config-cache.
  49682. +# It is not useful on other systems. If it contains results you don't
  49683. +# want to keep, you may remove or edit it.
  49684. +#
  49685. +# config.status only pays attention to the cache file if you give it
  49686. +# the --recheck option to rerun configure.
  49687. +#
  49688. +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  49689. +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  49690. +# following values.
  49691. +
  49692. +_ACEOF
  49693. +
  49694. +# The following way of writing the cache mishandles newlines in values,
  49695. +# but we know of no workaround that is simple, portable, and efficient.
  49696. +# So, we kill variables containing newlines.
  49697. +# Ultrix sh set writes to stderr and can't be redirected directly,
  49698. +# and sets the high bit in the cache file unless we assign to the vars.
  49699. +(
  49700. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  49701. + eval ac_val=\$$ac_var
  49702. + case $ac_val in #(
  49703. + *${as_nl}*)
  49704. + case $ac_var in #(
  49705. + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  49706. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  49707. + esac
  49708. + case $ac_var in #(
  49709. + _ | IFS | as_nl) ;; #(
  49710. + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  49711. + *) { eval $ac_var=; unset $ac_var;} ;;
  49712. + esac ;;
  49713. + esac
  49714. + done
  49715. +
  49716. + (set) 2>&1 |
  49717. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  49718. + *${as_nl}ac_space=\ *)
  49719. + # `set' does not quote correctly, so add quotes: double-quote
  49720. + # substitution turns \\\\ into \\, and sed turns \\ into \.
  49721. + sed -n \
  49722. + "s/'/'\\\\''/g;
  49723. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  49724. + ;; #(
  49725. + *)
  49726. + # `set' quotes correctly as required by POSIX, so do not add quotes.
  49727. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  49728. + ;;
  49729. + esac |
  49730. + sort
  49731. +) |
  49732. + sed '
  49733. + /^ac_cv_env_/b end
  49734. + t clear
  49735. + :clear
  49736. + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  49737. + t end
  49738. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  49739. + :end' >>confcache
  49740. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  49741. + if test -w "$cache_file"; then
  49742. + test "x$cache_file" != "x/dev/null" &&
  49743. + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  49744. +$as_echo "$as_me: updating cache $cache_file" >&6;}
  49745. + cat confcache >$cache_file
  49746. + else
  49747. + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  49748. +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  49749. + fi
  49750. +fi
  49751. +rm -f confcache
  49752. +
  49753. +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  49754. +# Let make expand exec_prefix.
  49755. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  49756. +
  49757. +DEFS=-DHAVE_CONFIG_H
  49758. +
  49759. +ac_libobjs=
  49760. +ac_ltlibobjs=
  49761. +for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  49762. + # 1. Remove the extension, and $U if already installed.
  49763. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  49764. + ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  49765. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  49766. + # will be set to the directory where LIBOBJS objects are built.
  49767. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  49768. + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  49769. +done
  49770. +LIB@&t@OBJS=$ac_libobjs
  49771. +
  49772. +LTLIBOBJS=$ac_ltlibobjs
  49773. +
  49774. +
  49775. +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  49776. + as_fn_error "conditional \"AMDEP\" was never defined.
  49777. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49778. +fi
  49779. +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  49780. + as_fn_error "conditional \"am__fastdepCC\" was never defined.
  49781. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49782. +fi
  49783. + if test -n "$EXEEXT"; then
  49784. + am__EXEEXT_TRUE=
  49785. + am__EXEEXT_FALSE='#'
  49786. +else
  49787. + am__EXEEXT_TRUE='#'
  49788. + am__EXEEXT_FALSE=
  49789. +fi
  49790. +
  49791. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  49792. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  49793. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49794. +fi
  49795. +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  49796. + as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  49797. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49798. +fi
  49799. +if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
  49800. + as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
  49801. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49802. +fi
  49803. +if test -z "${ENABLE_PLUGINS_TRUE}" && test -z "${ENABLE_PLUGINS_FALSE}"; then
  49804. + as_fn_error "conditional \"ENABLE_PLUGINS\" was never defined.
  49805. +Usually this means the macro was only invoked conditionally." "$LINENO" 5
  49806. +fi
  49807. +
  49808. +: ${CONFIG_STATUS=./config.status}
  49809. +ac_write_fail=0
  49810. +ac_clean_files_save=$ac_clean_files
  49811. +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  49812. +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  49813. +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  49814. +as_write_fail=0
  49815. +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  49816. +#! $SHELL
  49817. +# Generated by $as_me.
  49818. +# Run this file to recreate the current configuration.
  49819. +# Compiler output produced by configure, useful for debugging
  49820. +# configure, is in config.log if it exists.
  49821. +
  49822. +debug=false
  49823. +ac_cs_recheck=false
  49824. +ac_cs_silent=false
  49825. +
  49826. +SHELL=\${CONFIG_SHELL-$SHELL}
  49827. +export SHELL
  49828. +_ASEOF
  49829. +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  49830. +## -------------------- ##
  49831. +## M4sh Initialization. ##
  49832. +## -------------------- ##
  49833. +
  49834. +# Be more Bourne compatible
  49835. +DUALCASE=1; export DUALCASE # for MKS sh
  49836. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  49837. + emulate sh
  49838. + NULLCMD=:
  49839. + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  49840. + # is contrary to our usage. Disable this feature.
  49841. + alias -g '${1+"$@"}'='"$@"'
  49842. + setopt NO_GLOB_SUBST
  49843. +else
  49844. + case `(set -o) 2>/dev/null` in @%:@(
  49845. + *posix*) :
  49846. + set -o posix ;; @%:@(
  49847. + *) :
  49848. + ;;
  49849. +esac
  49850. +fi
  49851. +
  49852. +
  49853. +as_nl='
  49854. +'
  49855. +export as_nl
  49856. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  49857. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  49858. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  49859. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  49860. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  49861. +# but without wasting forks for bash or zsh.
  49862. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  49863. + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  49864. + as_echo='print -r --'
  49865. + as_echo_n='print -rn --'
  49866. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  49867. + as_echo='printf %s\n'
  49868. + as_echo_n='printf %s'
  49869. +else
  49870. + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49871. + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  49872. + as_echo_n='/usr/ucb/echo -n'
  49873. + else
  49874. + as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  49875. + as_echo_n_body='eval
  49876. + arg=$1;
  49877. + case $arg in @%:@(
  49878. + *"$as_nl"*)
  49879. + expr "X$arg" : "X\\(.*\\)$as_nl";
  49880. + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  49881. + esac;
  49882. + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  49883. + '
  49884. + export as_echo_n_body
  49885. + as_echo_n='sh -c $as_echo_n_body as_echo'
  49886. + fi
  49887. + export as_echo_body
  49888. + as_echo='sh -c $as_echo_body as_echo'
  49889. +fi
  49890. +
  49891. +# The user is always right.
  49892. +if test "${PATH_SEPARATOR+set}" != set; then
  49893. + PATH_SEPARATOR=:
  49894. + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  49895. + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  49896. + PATH_SEPARATOR=';'
  49897. + }
  49898. +fi
  49899. +
  49900. +
  49901. +# IFS
  49902. +# We need space, tab and new line, in precisely that order. Quoting is
  49903. +# there to prevent editors from complaining about space-tab.
  49904. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  49905. +# splitting by setting IFS to empty value.)
  49906. +IFS=" "" $as_nl"
  49907. +
  49908. +# Find who we are. Look in the path if we contain no directory separator.
  49909. +case $0 in @%:@((
  49910. + *[\\/]* ) as_myself=$0 ;;
  49911. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  49912. +for as_dir in $PATH
  49913. +do
  49914. + IFS=$as_save_IFS
  49915. + test -z "$as_dir" && as_dir=.
  49916. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  49917. + done
  49918. +IFS=$as_save_IFS
  49919. +
  49920. + ;;
  49921. +esac
  49922. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  49923. +# in which case we are not to be found in the path.
  49924. +if test "x$as_myself" = x; then
  49925. + as_myself=$0
  49926. +fi
  49927. +if test ! -f "$as_myself"; then
  49928. + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  49929. + exit 1
  49930. +fi
  49931. +
  49932. +# Unset variables that we do not need and which cause bugs (e.g. in
  49933. +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  49934. +# suppresses any "Segmentation fault" message there. '((' could
  49935. +# trigger a bug in pdksh 5.2.14.
  49936. +for as_var in BASH_ENV ENV MAIL MAILPATH
  49937. +do eval test x\${$as_var+set} = xset \
  49938. + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  49939. +done
  49940. +PS1='$ '
  49941. +PS2='> '
  49942. +PS4='+ '
  49943. +
  49944. +# NLS nuisances.
  49945. +LC_ALL=C
  49946. +export LC_ALL
  49947. +LANGUAGE=C
  49948. +export LANGUAGE
  49949. +
  49950. +# CDPATH.
  49951. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  49952. +
  49953. +
  49954. +@%:@ as_fn_error ERROR [LINENO LOG_FD]
  49955. +@%:@ ---------------------------------
  49956. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  49957. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  49958. +@%:@ script with status $?, using 1 if that was 0.
  49959. +as_fn_error ()
  49960. +{
  49961. + as_status=$?; test $as_status -eq 0 && as_status=1
  49962. + if test "$3"; then
  49963. + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  49964. + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  49965. + fi
  49966. + $as_echo "$as_me: error: $1" >&2
  49967. + as_fn_exit $as_status
  49968. +} @%:@ as_fn_error
  49969. +
  49970. +
  49971. +@%:@ as_fn_set_status STATUS
  49972. +@%:@ -----------------------
  49973. +@%:@ Set $? to STATUS, without forking.
  49974. +as_fn_set_status ()
  49975. +{
  49976. + return $1
  49977. +} @%:@ as_fn_set_status
  49978. +
  49979. +@%:@ as_fn_exit STATUS
  49980. +@%:@ -----------------
  49981. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  49982. +as_fn_exit ()
  49983. +{
  49984. + set +e
  49985. + as_fn_set_status $1
  49986. + exit $1
  49987. +} @%:@ as_fn_exit
  49988. +
  49989. +@%:@ as_fn_unset VAR
  49990. +@%:@ ---------------
  49991. +@%:@ Portably unset VAR.
  49992. +as_fn_unset ()
  49993. +{
  49994. + { eval $1=; unset $1;}
  49995. +}
  49996. +as_unset=as_fn_unset
  49997. +@%:@ as_fn_append VAR VALUE
  49998. +@%:@ ----------------------
  49999. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  50000. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  50001. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  50002. +@%:@ implementations.
  50003. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  50004. + eval 'as_fn_append ()
  50005. + {
  50006. + eval $1+=\$2
  50007. + }'
  50008. +else
  50009. + as_fn_append ()
  50010. + {
  50011. + eval $1=\$$1\$2
  50012. + }
  50013. +fi # as_fn_append
  50014. +
  50015. +@%:@ as_fn_arith ARG...
  50016. +@%:@ ------------------
  50017. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  50018. +@%:@ global $as_val. Take advantage of shells that can avoid forks. The arguments
  50019. +@%:@ must be portable across $(()) and expr.
  50020. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  50021. + eval 'as_fn_arith ()
  50022. + {
  50023. + as_val=$(( $* ))
  50024. + }'
  50025. +else
  50026. + as_fn_arith ()
  50027. + {
  50028. + as_val=`expr "$@" || test $? -eq 1`
  50029. + }
  50030. +fi # as_fn_arith
  50031. +
  50032. +
  50033. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  50034. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  50035. + as_expr=expr
  50036. +else
  50037. + as_expr=false
  50038. +fi
  50039. +
  50040. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  50041. + as_basename=basename
  50042. +else
  50043. + as_basename=false
  50044. +fi
  50045. +
  50046. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  50047. + as_dirname=dirname
  50048. +else
  50049. + as_dirname=false
  50050. +fi
  50051. +
  50052. +as_me=`$as_basename -- "$0" ||
  50053. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  50054. + X"$0" : 'X\(//\)$' \| \
  50055. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  50056. +$as_echo X/"$0" |
  50057. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  50058. + s//\1/
  50059. + q
  50060. + }
  50061. + /^X\/\(\/\/\)$/{
  50062. + s//\1/
  50063. + q
  50064. + }
  50065. + /^X\/\(\/\).*/{
  50066. + s//\1/
  50067. + q
  50068. + }
  50069. + s/.*/./; q'`
  50070. +
  50071. +# Avoid depending upon Character Ranges.
  50072. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  50073. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  50074. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  50075. +as_cr_digits='0123456789'
  50076. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  50077. +
  50078. +ECHO_C= ECHO_N= ECHO_T=
  50079. +case `echo -n x` in @%:@(((((
  50080. +-n*)
  50081. + case `echo 'xy\c'` in
  50082. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  50083. + xy) ECHO_C='\c';;
  50084. + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  50085. + ECHO_T=' ';;
  50086. + esac;;
  50087. +*)
  50088. + ECHO_N='-n';;
  50089. +esac
  50090. +
  50091. +rm -f conf$$ conf$$.exe conf$$.file
  50092. +if test -d conf$$.dir; then
  50093. + rm -f conf$$.dir/conf$$.file
  50094. +else
  50095. + rm -f conf$$.dir
  50096. + mkdir conf$$.dir 2>/dev/null
  50097. +fi
  50098. +if (echo >conf$$.file) 2>/dev/null; then
  50099. + if ln -s conf$$.file conf$$ 2>/dev/null; then
  50100. + as_ln_s='ln -s'
  50101. + # ... but there are two gotchas:
  50102. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  50103. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  50104. + # In both cases, we have to default to `cp -p'.
  50105. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  50106. + as_ln_s='cp -p'
  50107. + elif ln conf$$.file conf$$ 2>/dev/null; then
  50108. + as_ln_s=ln
  50109. + else
  50110. + as_ln_s='cp -p'
  50111. + fi
  50112. +else
  50113. + as_ln_s='cp -p'
  50114. +fi
  50115. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  50116. +rmdir conf$$.dir 2>/dev/null
  50117. +
  50118. +
  50119. +@%:@ as_fn_mkdir_p
  50120. +@%:@ -------------
  50121. +@%:@ Create "$as_dir" as a directory, including parents if necessary.
  50122. +as_fn_mkdir_p ()
  50123. +{
  50124. +
  50125. + case $as_dir in #(
  50126. + -*) as_dir=./$as_dir;;
  50127. + esac
  50128. + test -d "$as_dir" || eval $as_mkdir_p || {
  50129. + as_dirs=
  50130. + while :; do
  50131. + case $as_dir in #(
  50132. + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  50133. + *) as_qdir=$as_dir;;
  50134. + esac
  50135. + as_dirs="'$as_qdir' $as_dirs"
  50136. + as_dir=`$as_dirname -- "$as_dir" ||
  50137. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  50138. + X"$as_dir" : 'X\(//\)[^/]' \| \
  50139. + X"$as_dir" : 'X\(//\)$' \| \
  50140. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  50141. +$as_echo X"$as_dir" |
  50142. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  50143. + s//\1/
  50144. + q
  50145. + }
  50146. + /^X\(\/\/\)[^/].*/{
  50147. + s//\1/
  50148. + q
  50149. + }
  50150. + /^X\(\/\/\)$/{
  50151. + s//\1/
  50152. + q
  50153. + }
  50154. + /^X\(\/\).*/{
  50155. + s//\1/
  50156. + q
  50157. + }
  50158. + s/.*/./; q'`
  50159. + test -d "$as_dir" && break
  50160. + done
  50161. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  50162. + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  50163. +
  50164. +
  50165. +} @%:@ as_fn_mkdir_p
  50166. +if mkdir -p . 2>/dev/null; then
  50167. + as_mkdir_p='mkdir -p "$as_dir"'
  50168. +else
  50169. + test -d ./-p && rmdir ./-p
  50170. + as_mkdir_p=false
  50171. +fi
  50172. +
  50173. +if test -x / >/dev/null 2>&1; then
  50174. + as_test_x='test -x'
  50175. +else
  50176. + if ls -dL / >/dev/null 2>&1; then
  50177. + as_ls_L_option=L
  50178. + else
  50179. + as_ls_L_option=
  50180. + fi
  50181. + as_test_x='
  50182. + eval sh -c '\''
  50183. + if test -d "$1"; then
  50184. + test -d "$1/.";
  50185. + else
  50186. + case $1 in @%:@(
  50187. + -*)set "./$1";;
  50188. + esac;
  50189. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  50190. + ???[sx]*):;;*)false;;esac;fi
  50191. + '\'' sh
  50192. + '
  50193. +fi
  50194. +as_executable_p=$as_test_x
  50195. +
  50196. +# Sed expression to map a string onto a valid CPP name.
  50197. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  50198. +
  50199. +# Sed expression to map a string onto a valid variable name.
  50200. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  50201. +
  50202. +
  50203. +exec 6>&1
  50204. +## ----------------------------------- ##
  50205. +## Main body of $CONFIG_STATUS script. ##
  50206. +## ----------------------------------- ##
  50207. +_ASEOF
  50208. +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  50209. +
  50210. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50211. +# Save the log message, to keep $0 and so on meaningful, and to
  50212. +# report actual input values of CONFIG_FILES etc. instead of their
  50213. +# values after options handling.
  50214. +ac_log="
  50215. +This file was extended by $as_me, which was
  50216. +generated by GNU Autoconf 2.64. Invocation command line was
  50217. +
  50218. + CONFIG_FILES = $CONFIG_FILES
  50219. + CONFIG_HEADERS = $CONFIG_HEADERS
  50220. + CONFIG_LINKS = $CONFIG_LINKS
  50221. + CONFIG_COMMANDS = $CONFIG_COMMANDS
  50222. + $ $0 $@
  50223. +
  50224. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  50225. +"
  50226. +
  50227. +_ACEOF
  50228. +
  50229. +case $ac_config_files in *"
  50230. +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  50231. +esac
  50232. +
  50233. +case $ac_config_headers in *"
  50234. +"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  50235. +esac
  50236. +
  50237. +
  50238. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50239. +# Files that config.status was made for.
  50240. +config_files="$ac_config_files"
  50241. +config_headers="$ac_config_headers"
  50242. +config_commands="$ac_config_commands"
  50243. +
  50244. +_ACEOF
  50245. +
  50246. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50247. +ac_cs_usage="\
  50248. +\`$as_me' instantiates files and other configuration actions
  50249. +from templates according to the current configuration. Unless the files
  50250. +and actions are specified as TAGs, all are instantiated by default.
  50251. +
  50252. +Usage: $0 [OPTION]... [TAG]...
  50253. +
  50254. + -h, --help print this help, then exit
  50255. + -V, --version print version number and configuration settings, then exit
  50256. + -q, --quiet, --silent
  50257. + do not print progress messages
  50258. + -d, --debug don't remove temporary files
  50259. + --recheck update $as_me by reconfiguring in the same conditions
  50260. + --file=FILE[:TEMPLATE]
  50261. + instantiate the configuration file FILE
  50262. + --header=FILE[:TEMPLATE]
  50263. + instantiate the configuration header FILE
  50264. +
  50265. +Configuration files:
  50266. +$config_files
  50267. +
  50268. +Configuration headers:
  50269. +$config_headers
  50270. +
  50271. +Configuration commands:
  50272. +$config_commands
  50273. +
  50274. +Report bugs to the package provider."
  50275. +
  50276. +_ACEOF
  50277. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50278. +ac_cs_version="\\
  50279. +config.status
  50280. +configured by $0, generated by GNU Autoconf 2.64,
  50281. + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  50282. +
  50283. +Copyright (C) 2009 Free Software Foundation, Inc.
  50284. +This config.status script is free software; the Free Software Foundation
  50285. +gives unlimited permission to copy, distribute and modify it."
  50286. +
  50287. +ac_pwd='$ac_pwd'
  50288. +srcdir='$srcdir'
  50289. +INSTALL='$INSTALL'
  50290. +MKDIR_P='$MKDIR_P'
  50291. +AWK='$AWK'
  50292. +test -n "\$AWK" || AWK=awk
  50293. +_ACEOF
  50294. +
  50295. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50296. +# The default lists apply if the user does not specify any file.
  50297. +ac_need_defaults=:
  50298. +while test $# != 0
  50299. +do
  50300. + case $1 in
  50301. + --*=*)
  50302. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  50303. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  50304. + ac_shift=:
  50305. + ;;
  50306. + *)
  50307. + ac_option=$1
  50308. + ac_optarg=$2
  50309. + ac_shift=shift
  50310. + ;;
  50311. + esac
  50312. +
  50313. + case $ac_option in
  50314. + # Handling of the options.
  50315. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  50316. + ac_cs_recheck=: ;;
  50317. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  50318. + $as_echo "$ac_cs_version"; exit ;;
  50319. + --debug | --debu | --deb | --de | --d | -d )
  50320. + debug=: ;;
  50321. + --file | --fil | --fi | --f )
  50322. + $ac_shift
  50323. + case $ac_optarg in
  50324. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  50325. + esac
  50326. + as_fn_append CONFIG_FILES " '$ac_optarg'"
  50327. + ac_need_defaults=false;;
  50328. + --header | --heade | --head | --hea )
  50329. + $ac_shift
  50330. + case $ac_optarg in
  50331. + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  50332. + esac
  50333. + as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  50334. + ac_need_defaults=false;;
  50335. + --he | --h)
  50336. + # Conflict between --help and --header
  50337. + as_fn_error "ambiguous option: \`$1'
  50338. +Try \`$0 --help' for more information.";;
  50339. + --help | --hel | -h )
  50340. + $as_echo "$ac_cs_usage"; exit ;;
  50341. + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  50342. + | -silent | --silent | --silen | --sile | --sil | --si | --s)
  50343. + ac_cs_silent=: ;;
  50344. +
  50345. + # This is an error.
  50346. + -*) as_fn_error "unrecognized option: \`$1'
  50347. +Try \`$0 --help' for more information." ;;
  50348. +
  50349. + *) as_fn_append ac_config_targets " $1"
  50350. + ac_need_defaults=false ;;
  50351. +
  50352. + esac
  50353. + shift
  50354. +done
  50355. +
  50356. +ac_configure_extra_args=
  50357. +
  50358. +if $ac_cs_silent; then
  50359. + exec 6>/dev/null
  50360. + ac_configure_extra_args="$ac_configure_extra_args --silent"
  50361. +fi
  50362. +
  50363. +_ACEOF
  50364. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50365. +if \$ac_cs_recheck; then
  50366. + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  50367. + shift
  50368. + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  50369. + CONFIG_SHELL='$SHELL'
  50370. + export CONFIG_SHELL
  50371. + exec "\$@"
  50372. +fi
  50373. +
  50374. +_ACEOF
  50375. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50376. +exec 5>>config.log
  50377. +{
  50378. + echo
  50379. + sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  50380. +@%:@@%:@ Running $as_me. @%:@@%:@
  50381. +_ASBOX
  50382. + $as_echo "$ac_log"
  50383. +} >&5
  50384. +
  50385. +_ACEOF
  50386. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50387. +#
  50388. +# INIT-COMMANDS
  50389. +#
  50390. +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  50391. +
  50392. +
  50393. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  50394. +# if CDPATH is set.
  50395. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  50396. +
  50397. +sed_quote_subst='$sed_quote_subst'
  50398. +double_quote_subst='$double_quote_subst'
  50399. +delay_variable_subst='$delay_variable_subst'
  50400. +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  50401. +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  50402. +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  50403. +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  50404. +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  50405. +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  50406. +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  50407. +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  50408. +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  50409. +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  50410. +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  50411. +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  50412. +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  50413. +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  50414. +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  50415. +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  50416. +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  50417. +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  50418. +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  50419. +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  50420. +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  50421. +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  50422. +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  50423. +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  50424. +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  50425. +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  50426. +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  50427. +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  50428. +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  50429. +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  50430. +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  50431. +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  50432. +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  50433. +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  50434. +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  50435. +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  50436. +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  50437. +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  50438. +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  50439. +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  50440. +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  50441. +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  50442. +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  50443. +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  50444. +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  50445. +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  50446. +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  50447. +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  50448. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  50449. +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  50450. +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  50451. +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  50452. +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  50453. +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  50454. +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  50455. +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  50456. +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  50457. +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  50458. +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  50459. +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  50460. +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  50461. +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  50462. +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  50463. +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  50464. +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  50465. +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  50466. +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  50467. +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  50468. +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  50469. +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  50470. +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  50471. +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  50472. +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  50473. +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  50474. +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  50475. +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  50476. +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  50477. +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  50478. +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  50479. +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  50480. +hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
  50481. +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  50482. +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  50483. +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  50484. +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  50485. +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  50486. +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  50487. +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  50488. +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  50489. +fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
  50490. +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  50491. +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  50492. +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  50493. +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  50494. +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  50495. +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  50496. +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  50497. +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  50498. +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  50499. +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  50500. +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  50501. +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  50502. +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  50503. +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  50504. +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  50505. +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  50506. +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  50507. +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  50508. +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  50509. +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  50510. +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  50511. +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  50512. +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  50513. +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
  50514. +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  50515. +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  50516. +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  50517. +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  50518. +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  50519. +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  50520. +
  50521. +LTCC='$LTCC'
  50522. +LTCFLAGS='$LTCFLAGS'
  50523. +compiler='$compiler_DEFAULT'
  50524. +
  50525. +# A function that is used when there is no print builtin or printf.
  50526. +func_fallback_echo ()
  50527. +{
  50528. + eval 'cat <<_LTECHO_EOF
  50529. +\$1
  50530. +_LTECHO_EOF'
  50531. +}
  50532. +
  50533. +# Quote evaled strings.
  50534. +for var in SHELL \
  50535. +ECHO \
  50536. +SED \
  50537. +GREP \
  50538. +EGREP \
  50539. +FGREP \
  50540. +LD \
  50541. +NM \
  50542. +LN_S \
  50543. +lt_SP2NL \
  50544. +lt_NL2SP \
  50545. +reload_flag \
  50546. +OBJDUMP \
  50547. +deplibs_check_method \
  50548. +file_magic_cmd \
  50549. +AR \
  50550. +AR_FLAGS \
  50551. +STRIP \
  50552. +RANLIB \
  50553. +CC \
  50554. +CFLAGS \
  50555. +compiler \
  50556. +lt_cv_sys_global_symbol_pipe \
  50557. +lt_cv_sys_global_symbol_to_cdecl \
  50558. +lt_cv_sys_global_symbol_to_c_name_address \
  50559. +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  50560. +lt_prog_compiler_no_builtin_flag \
  50561. +lt_prog_compiler_wl \
  50562. +lt_prog_compiler_pic \
  50563. +lt_prog_compiler_static \
  50564. +lt_cv_prog_compiler_c_o \
  50565. +need_locks \
  50566. +DSYMUTIL \
  50567. +NMEDIT \
  50568. +LIPO \
  50569. +OTOOL \
  50570. +OTOOL64 \
  50571. +shrext_cmds \
  50572. +export_dynamic_flag_spec \
  50573. +whole_archive_flag_spec \
  50574. +compiler_needs_object \
  50575. +with_gnu_ld \
  50576. +allow_undefined_flag \
  50577. +no_undefined_flag \
  50578. +hardcode_libdir_flag_spec \
  50579. +hardcode_libdir_flag_spec_ld \
  50580. +hardcode_libdir_separator \
  50581. +fix_srcfile_path \
  50582. +exclude_expsyms \
  50583. +include_expsyms \
  50584. +file_list_spec \
  50585. +variables_saved_for_relink \
  50586. +libname_spec \
  50587. +library_names_spec \
  50588. +soname_spec \
  50589. +install_override_mode \
  50590. +finish_eval \
  50591. +old_striplib \
  50592. +striplib; do
  50593. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  50594. + *[\\\\\\\`\\"\\\$]*)
  50595. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  50596. + ;;
  50597. + *)
  50598. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  50599. + ;;
  50600. + esac
  50601. +done
  50602. +
  50603. +# Double-quote double-evaled strings.
  50604. +for var in reload_cmds \
  50605. +old_postinstall_cmds \
  50606. +old_postuninstall_cmds \
  50607. +old_archive_cmds \
  50608. +extract_expsyms_cmds \
  50609. +old_archive_from_new_cmds \
  50610. +old_archive_from_expsyms_cmds \
  50611. +archive_cmds \
  50612. +archive_expsym_cmds \
  50613. +module_cmds \
  50614. +module_expsym_cmds \
  50615. +export_symbols_cmds \
  50616. +prelink_cmds \
  50617. +postinstall_cmds \
  50618. +postuninstall_cmds \
  50619. +finish_cmds \
  50620. +sys_lib_search_path_spec \
  50621. +sys_lib_dlsearch_path_spec; do
  50622. + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  50623. + *[\\\\\\\`\\"\\\$]*)
  50624. + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  50625. + ;;
  50626. + *)
  50627. + eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  50628. + ;;
  50629. + esac
  50630. +done
  50631. +
  50632. +ac_aux_dir='$ac_aux_dir'
  50633. +xsi_shell='$xsi_shell'
  50634. +lt_shell_append='$lt_shell_append'
  50635. +
  50636. +# See if we are running on zsh, and set the options which allow our
  50637. +# commands through without removal of \ escapes INIT.
  50638. +if test -n "\${ZSH_VERSION+set}" ; then
  50639. + setopt NO_GLOB_SUBST
  50640. +fi
  50641. +
  50642. +
  50643. + PACKAGE='$PACKAGE'
  50644. + VERSION='$VERSION'
  50645. + TIMESTAMP='$TIMESTAMP'
  50646. + RM='$RM'
  50647. + ofile='$ofile'
  50648. +
  50649. +
  50650. +
  50651. +# Capture the value of obsolete ALL_LINGUAS because we need it to compute
  50652. + # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
  50653. + # from automake.
  50654. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  50655. + # Capture the value of LINGUAS because we need it to compute CATALOGS.
  50656. + LINGUAS="${LINGUAS-%UNSET%}"
  50657. +
  50658. +
  50659. +_ACEOF
  50660. +
  50661. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50662. +
  50663. +# Handling of arguments.
  50664. +for ac_config_target in $ac_config_targets
  50665. +do
  50666. + case $ac_config_target in
  50667. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  50668. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
  50669. + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  50670. + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  50671. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  50672. + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
  50673. +
  50674. + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  50675. + esac
  50676. +done
  50677. +
  50678. +
  50679. +# If the user did not use the arguments to specify the items to instantiate,
  50680. +# then the envvar interface is used. Set only those that are not.
  50681. +# We use the long form for the default assignment because of an extremely
  50682. +# bizarre bug on SunOS 4.1.3.
  50683. +if $ac_need_defaults; then
  50684. + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  50685. + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  50686. + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  50687. +fi
  50688. +
  50689. +# Have a temporary directory for convenience. Make it in the build tree
  50690. +# simply because there is no reason against having it here, and in addition,
  50691. +# creating and moving files from /tmp can sometimes cause problems.
  50692. +# Hook for its removal unless debugging.
  50693. +# Note that there is a small window in which the directory will not be cleaned:
  50694. +# after its creation but before its name has been assigned to `$tmp'.
  50695. +$debug ||
  50696. +{
  50697. + tmp=
  50698. + trap 'exit_status=$?
  50699. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  50700. +' 0
  50701. + trap 'as_fn_exit 1' 1 2 13 15
  50702. +}
  50703. +# Create a (secure) tmp directory for tmp files.
  50704. +
  50705. +{
  50706. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  50707. + test -n "$tmp" && test -d "$tmp"
  50708. +} ||
  50709. +{
  50710. + tmp=./conf$$-$RANDOM
  50711. + (umask 077 && mkdir "$tmp")
  50712. +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  50713. +
  50714. +# Set up the scripts for CONFIG_FILES section.
  50715. +# No need to generate them if there are no CONFIG_FILES.
  50716. +# This happens for instance with `./config.status config.h'.
  50717. +if test -n "$CONFIG_FILES"; then
  50718. +
  50719. +if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
  50720. + ac_cs_awk_getline=:
  50721. + ac_cs_awk_pipe_init=
  50722. + ac_cs_awk_read_file='
  50723. + while ((getline aline < (F[key])) > 0)
  50724. + print(aline)
  50725. + close(F[key])'
  50726. + ac_cs_awk_pipe_fini=
  50727. +else
  50728. + ac_cs_awk_getline=false
  50729. + ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
  50730. + ac_cs_awk_read_file='
  50731. + print "|#_!!_#|"
  50732. + print "cat " F[key] " &&"
  50733. + '$ac_cs_awk_pipe_init
  50734. + # The final `:' finishes the AND list.
  50735. + ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
  50736. +fi
  50737. +ac_cr=`echo X | tr X '\015'`
  50738. +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  50739. +# But we know of no other shell where ac_cr would be empty at this
  50740. +# point, so we can use a bashism as a fallback.
  50741. +if test "x$ac_cr" = x; then
  50742. + eval ac_cr=\$\'\\r\'
  50743. +fi
  50744. +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  50745. +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  50746. + ac_cs_awk_cr='\r'
  50747. +else
  50748. + ac_cs_awk_cr=$ac_cr
  50749. +fi
  50750. +
  50751. +echo 'BEGIN {' >"$tmp/subs1.awk" &&
  50752. +_ACEOF
  50753. +
  50754. +# Create commands to substitute file output variables.
  50755. +{
  50756. + echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
  50757. + echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
  50758. + echo "$ac_subst_files" | sed 's/.*/F@<:@"&"@:>@="$&"/' &&
  50759. + echo "_ACAWK" &&
  50760. + echo "_ACEOF"
  50761. +} >conf$$files.sh &&
  50762. +. ./conf$$files.sh ||
  50763. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  50764. +rm -f conf$$files.sh
  50765. +
  50766. +{
  50767. + echo "cat >conf$$subs.awk <<_ACEOF" &&
  50768. + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  50769. + echo "_ACEOF"
  50770. +} >conf$$subs.sh ||
  50771. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  50772. +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  50773. +ac_delim='%!_!# '
  50774. +for ac_last_try in false false false false false :; do
  50775. + . ./conf$$subs.sh ||
  50776. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  50777. +
  50778. + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  50779. + if test $ac_delim_n = $ac_delim_num; then
  50780. + break
  50781. + elif $ac_last_try; then
  50782. + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  50783. + else
  50784. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  50785. + fi
  50786. +done
  50787. +rm -f conf$$subs.sh
  50788. +
  50789. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50790. +cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  50791. +_ACEOF
  50792. +sed -n '
  50793. +h
  50794. +s/^/S["/; s/!.*/"]=/
  50795. +p
  50796. +g
  50797. +s/^[^!]*!//
  50798. +:repl
  50799. +t repl
  50800. +s/'"$ac_delim"'$//
  50801. +t delim
  50802. +:nl
  50803. +h
  50804. +s/\(.\{148\}\).*/\1/
  50805. +t more1
  50806. +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  50807. +p
  50808. +n
  50809. +b repl
  50810. +:more1
  50811. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  50812. +p
  50813. +g
  50814. +s/.\{148\}//
  50815. +t nl
  50816. +:delim
  50817. +h
  50818. +s/\(.\{148\}\).*/\1/
  50819. +t more2
  50820. +s/["\\]/\\&/g; s/^/"/; s/$/"/
  50821. +p
  50822. +b
  50823. +:more2
  50824. +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  50825. +p
  50826. +g
  50827. +s/.\{148\}//
  50828. +t delim
  50829. +' <conf$$subs.awk | sed '
  50830. +/^[^""]/{
  50831. + N
  50832. + s/\n//
  50833. +}
  50834. +' >>$CONFIG_STATUS || ac_write_fail=1
  50835. +rm -f conf$$subs.awk
  50836. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50837. +_ACAWK
  50838. +cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  50839. + for (key in S) S_is_set[key] = 1
  50840. + FS = ""
  50841. + \$ac_cs_awk_pipe_init
  50842. +}
  50843. +{
  50844. + line = $ 0
  50845. + nfields = split(line, field, "@")
  50846. + substed = 0
  50847. + len = length(field[1])
  50848. + for (i = 2; i < nfields; i++) {
  50849. + key = field[i]
  50850. + keylen = length(key)
  50851. + if (S_is_set[key]) {
  50852. + value = S[key]
  50853. + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  50854. + len += length(value) + length(field[++i])
  50855. + substed = 1
  50856. + } else
  50857. + len += 1 + keylen
  50858. + }
  50859. + if (nfields == 3 && !substed) {
  50860. + key = field[2]
  50861. + if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
  50862. + \$ac_cs_awk_read_file
  50863. + next
  50864. + }
  50865. + }
  50866. + print line
  50867. +}
  50868. +\$ac_cs_awk_pipe_fini
  50869. +_ACAWK
  50870. +_ACEOF
  50871. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50872. +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  50873. + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  50874. +else
  50875. + cat
  50876. +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  50877. + || as_fn_error "could not setup config files machinery" "$LINENO" 5
  50878. +_ACEOF
  50879. +
  50880. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  50881. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  50882. +# trailing colons and then remove the whole line if VPATH becomes empty
  50883. +# (actually we leave an empty line to preserve line numbers).
  50884. +if test "x$srcdir" = x.; then
  50885. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  50886. +s/:*\$(srcdir):*/:/
  50887. +s/:*\${srcdir}:*/:/
  50888. +s/:*@srcdir@:*/:/
  50889. +s/^\([^=]*=[ ]*\):*/\1/
  50890. +s/:*$//
  50891. +s/^[^=]*=[ ]*$//
  50892. +}'
  50893. +fi
  50894. +
  50895. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  50896. +fi # test -n "$CONFIG_FILES"
  50897. +
  50898. +# Set up the scripts for CONFIG_HEADERS section.
  50899. +# No need to generate them if there are no CONFIG_HEADERS.
  50900. +# This happens for instance with `./config.status Makefile'.
  50901. +if test -n "$CONFIG_HEADERS"; then
  50902. +cat >"$tmp/defines.awk" <<\_ACAWK ||
  50903. +BEGIN {
  50904. +_ACEOF
  50905. +
  50906. +# Transform confdefs.h into an awk script `defines.awk', embedded as
  50907. +# here-document in config.status, that substitutes the proper values into
  50908. +# config.h.in to produce config.h.
  50909. +
  50910. +# Create a delimiter string that does not exist in confdefs.h, to ease
  50911. +# handling of long lines.
  50912. +ac_delim='%!_!# '
  50913. +for ac_last_try in false false :; do
  50914. + ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  50915. + if test -z "$ac_t"; then
  50916. + break
  50917. + elif $ac_last_try; then
  50918. + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  50919. + else
  50920. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  50921. + fi
  50922. +done
  50923. +
  50924. +# For the awk script, D is an array of macro values keyed by name,
  50925. +# likewise P contains macro parameters if any. Preserve backslash
  50926. +# newline sequences.
  50927. +
  50928. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  50929. +sed -n '
  50930. +s/.\{148\}/&'"$ac_delim"'/g
  50931. +t rset
  50932. +:rset
  50933. +s/^[ ]*#[ ]*define[ ][ ]*/ /
  50934. +t def
  50935. +d
  50936. +:def
  50937. +s/\\$//
  50938. +t bsnl
  50939. +s/["\\]/\\&/g
  50940. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  50941. +D["\1"]=" \3"/p
  50942. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  50943. +d
  50944. +:bsnl
  50945. +s/["\\]/\\&/g
  50946. +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  50947. +D["\1"]=" \3\\\\\\n"\\/p
  50948. +t cont
  50949. +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  50950. +t cont
  50951. +d
  50952. +:cont
  50953. +n
  50954. +s/.\{148\}/&'"$ac_delim"'/g
  50955. +t clear
  50956. +:clear
  50957. +s/\\$//
  50958. +t bsnlc
  50959. +s/["\\]/\\&/g; s/^/"/; s/$/"/p
  50960. +d
  50961. +:bsnlc
  50962. +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  50963. +b cont
  50964. +' <confdefs.h | sed '
  50965. +s/'"$ac_delim"'/"\\\
  50966. +"/g' >>$CONFIG_STATUS || ac_write_fail=1
  50967. +
  50968. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  50969. + for (key in D) D_is_set[key] = 1
  50970. + FS = ""
  50971. +}
  50972. +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  50973. + line = \$ 0
  50974. + split(line, arg, " ")
  50975. + if (arg[1] == "#") {
  50976. + defundef = arg[2]
  50977. + mac1 = arg[3]
  50978. + } else {
  50979. + defundef = substr(arg[1], 2)
  50980. + mac1 = arg[2]
  50981. + }
  50982. + split(mac1, mac2, "(") #)
  50983. + macro = mac2[1]
  50984. + prefix = substr(line, 1, index(line, defundef) - 1)
  50985. + if (D_is_set[macro]) {
  50986. + # Preserve the white space surrounding the "#".
  50987. + print prefix "define", macro P[macro] D[macro]
  50988. + next
  50989. + } else {
  50990. + # Replace #undef with comments. This is necessary, for example,
  50991. + # in the case of _POSIX_SOURCE, which is predefined and required
  50992. + # on some systems where configure will not decide to define it.
  50993. + if (defundef == "undef") {
  50994. + print "/*", prefix defundef, macro, "*/"
  50995. + next
  50996. + }
  50997. + }
  50998. +}
  50999. +{ print }
  51000. +_ACAWK
  51001. +_ACEOF
  51002. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  51003. + as_fn_error "could not setup config headers machinery" "$LINENO" 5
  51004. +fi # test -n "$CONFIG_HEADERS"
  51005. +
  51006. +
  51007. +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  51008. +shift
  51009. +for ac_tag
  51010. +do
  51011. + case $ac_tag in
  51012. + :[FHLC]) ac_mode=$ac_tag; continue;;
  51013. + esac
  51014. + case $ac_mode$ac_tag in
  51015. + :[FHL]*:*);;
  51016. + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  51017. + :[FH]-) ac_tag=-:-;;
  51018. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  51019. + esac
  51020. + ac_save_IFS=$IFS
  51021. + IFS=:
  51022. + set x $ac_tag
  51023. + IFS=$ac_save_IFS
  51024. + shift
  51025. + ac_file=$1
  51026. + shift
  51027. +
  51028. + case $ac_mode in
  51029. + :L) ac_source=$1;;
  51030. + :[FH])
  51031. + ac_file_inputs=
  51032. + for ac_f
  51033. + do
  51034. + case $ac_f in
  51035. + -) ac_f="$tmp/stdin";;
  51036. + *) # Look for the file first in the build tree, then in the source tree
  51037. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  51038. + # because $ac_f cannot contain `:'.
  51039. + test -f "$ac_f" ||
  51040. + case $ac_f in
  51041. + [\\/$]*) false;;
  51042. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  51043. + esac ||
  51044. + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  51045. + esac
  51046. + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  51047. + as_fn_append ac_file_inputs " '$ac_f'"
  51048. + done
  51049. +
  51050. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  51051. + # use $as_me), people would be surprised to read:
  51052. + # /* config.h. Generated by config.status. */
  51053. + configure_input='Generated from '`
  51054. + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  51055. + `' by configure.'
  51056. + if test x"$ac_file" != x-; then
  51057. + configure_input="$ac_file. $configure_input"
  51058. + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  51059. +$as_echo "$as_me: creating $ac_file" >&6;}
  51060. + fi
  51061. + # Neutralize special characters interpreted by sed in replacement strings.
  51062. + case $configure_input in #(
  51063. + *\&* | *\|* | *\\* )
  51064. + ac_sed_conf_input=`$as_echo "$configure_input" |
  51065. + sed 's/[\\\\&|]/\\\\&/g'`;; #(
  51066. + *) ac_sed_conf_input=$configure_input;;
  51067. + esac
  51068. +
  51069. + case $ac_tag in
  51070. + *:-:* | *:-) cat >"$tmp/stdin" \
  51071. + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  51072. + esac
  51073. + ;;
  51074. + esac
  51075. +
  51076. + ac_dir=`$as_dirname -- "$ac_file" ||
  51077. +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  51078. + X"$ac_file" : 'X\(//\)[^/]' \| \
  51079. + X"$ac_file" : 'X\(//\)$' \| \
  51080. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  51081. +$as_echo X"$ac_file" |
  51082. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  51083. + s//\1/
  51084. + q
  51085. + }
  51086. + /^X\(\/\/\)[^/].*/{
  51087. + s//\1/
  51088. + q
  51089. + }
  51090. + /^X\(\/\/\)$/{
  51091. + s//\1/
  51092. + q
  51093. + }
  51094. + /^X\(\/\).*/{
  51095. + s//\1/
  51096. + q
  51097. + }
  51098. + s/.*/./; q'`
  51099. + as_dir="$ac_dir"; as_fn_mkdir_p
  51100. + ac_builddir=.
  51101. +
  51102. +case "$ac_dir" in
  51103. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  51104. +*)
  51105. + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  51106. + # A ".." for each directory in $ac_dir_suffix.
  51107. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  51108. + case $ac_top_builddir_sub in
  51109. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  51110. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  51111. + esac ;;
  51112. +esac
  51113. +ac_abs_top_builddir=$ac_pwd
  51114. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  51115. +# for backward compatibility:
  51116. +ac_top_builddir=$ac_top_build_prefix
  51117. +
  51118. +case $srcdir in
  51119. + .) # We are building in place.
  51120. + ac_srcdir=.
  51121. + ac_top_srcdir=$ac_top_builddir_sub
  51122. + ac_abs_top_srcdir=$ac_pwd ;;
  51123. + [\\/]* | ?:[\\/]* ) # Absolute name.
  51124. + ac_srcdir=$srcdir$ac_dir_suffix;
  51125. + ac_top_srcdir=$srcdir
  51126. + ac_abs_top_srcdir=$srcdir ;;
  51127. + *) # Relative name.
  51128. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  51129. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  51130. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  51131. +esac
  51132. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  51133. +
  51134. +
  51135. + case $ac_mode in
  51136. + :F)
  51137. + #
  51138. + # CONFIG_FILE
  51139. + #
  51140. +
  51141. + case $INSTALL in
  51142. + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  51143. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  51144. + esac
  51145. + ac_MKDIR_P=$MKDIR_P
  51146. + case $MKDIR_P in
  51147. + [\\/$]* | ?:[\\/]* ) ;;
  51148. + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  51149. + esac
  51150. +_ACEOF
  51151. +
  51152. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  51153. +# If the template does not know about datarootdir, expand it.
  51154. +# FIXME: This hack should be removed a few years after 2.60.
  51155. +ac_datarootdir_hack=; ac_datarootdir_seen=
  51156. +ac_sed_dataroot='
  51157. +/datarootdir/ {
  51158. + p
  51159. + q
  51160. +}
  51161. +/@datadir@/p
  51162. +/@docdir@/p
  51163. +/@infodir@/p
  51164. +/@localedir@/p
  51165. +/@mandir@/p'
  51166. +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  51167. +*datarootdir*) ac_datarootdir_seen=yes;;
  51168. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  51169. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  51170. +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  51171. +_ACEOF
  51172. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  51173. + ac_datarootdir_hack='
  51174. + s&@datadir@&$datadir&g
  51175. + s&@docdir@&$docdir&g
  51176. + s&@infodir@&$infodir&g
  51177. + s&@localedir@&$localedir&g
  51178. + s&@mandir@&$mandir&g
  51179. + s&\\\${datarootdir}&$datarootdir&g' ;;
  51180. +esac
  51181. +_ACEOF
  51182. +
  51183. +# Neutralize VPATH when `$srcdir' = `.'.
  51184. +# Shell code in configure.ac might set extrasub.
  51185. +# FIXME: do we really want to maintain this feature?
  51186. +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  51187. +ac_sed_extra="$ac_vpsub
  51188. +$extrasub
  51189. +_ACEOF
  51190. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  51191. +:t
  51192. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  51193. +s|@configure_input@|$ac_sed_conf_input|;t t
  51194. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  51195. +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  51196. +s&@srcdir@&$ac_srcdir&;t t
  51197. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  51198. +s&@top_srcdir@&$ac_top_srcdir&;t t
  51199. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  51200. +s&@builddir@&$ac_builddir&;t t
  51201. +s&@abs_builddir@&$ac_abs_builddir&;t t
  51202. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  51203. +s&@INSTALL@&$ac_INSTALL&;t t
  51204. +s&@MKDIR_P@&$ac_MKDIR_P&;t t
  51205. +$ac_datarootdir_hack
  51206. +"
  51207. +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
  51208. +if $ac_cs_awk_getline; then
  51209. + $AWK -f "$tmp/subs.awk"
  51210. +else
  51211. + $AWK -f "$tmp/subs.awk" | $SHELL
  51212. +fi >$tmp/out \
  51213. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  51214. +
  51215. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  51216. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  51217. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  51218. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  51219. +which seems to be undefined. Please make sure it is defined." >&5
  51220. +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  51221. +which seems to be undefined. Please make sure it is defined." >&2;}
  51222. +
  51223. + rm -f "$tmp/stdin"
  51224. + case $ac_file in
  51225. + -) cat "$tmp/out" && rm -f "$tmp/out";;
  51226. + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  51227. + esac \
  51228. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  51229. + ;;
  51230. + :H)
  51231. + #
  51232. + # CONFIG_HEADER
  51233. + #
  51234. + if test x"$ac_file" != x-; then
  51235. + {
  51236. + $as_echo "/* $configure_input */" \
  51237. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  51238. + } >"$tmp/config.h" \
  51239. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  51240. + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  51241. + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  51242. +$as_echo "$as_me: $ac_file is unchanged" >&6;}
  51243. + else
  51244. + rm -f "$ac_file"
  51245. + mv "$tmp/config.h" "$ac_file" \
  51246. + || as_fn_error "could not create $ac_file" "$LINENO" 5
  51247. + fi
  51248. + else
  51249. + $as_echo "/* $configure_input */" \
  51250. + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  51251. + || as_fn_error "could not create -" "$LINENO" 5
  51252. + fi
  51253. +# Compute "$ac_file"'s index in $config_headers.
  51254. +_am_arg="$ac_file"
  51255. +_am_stamp_count=1
  51256. +for _am_header in $config_headers :; do
  51257. + case $_am_header in
  51258. + $_am_arg | $_am_arg:* )
  51259. + break ;;
  51260. + * )
  51261. + _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  51262. + esac
  51263. +done
  51264. +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  51265. +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  51266. + X"$_am_arg" : 'X\(//\)[^/]' \| \
  51267. + X"$_am_arg" : 'X\(//\)$' \| \
  51268. + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  51269. +$as_echo X"$_am_arg" |
  51270. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  51271. + s//\1/
  51272. + q
  51273. + }
  51274. + /^X\(\/\/\)[^/].*/{
  51275. + s//\1/
  51276. + q
  51277. + }
  51278. + /^X\(\/\/\)$/{
  51279. + s//\1/
  51280. + q
  51281. + }
  51282. + /^X\(\/\).*/{
  51283. + s//\1/
  51284. + q
  51285. + }
  51286. + s/.*/./; q'`/stamp-h$_am_stamp_count
  51287. + ;;
  51288. +
  51289. + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  51290. +$as_echo "$as_me: executing $ac_file commands" >&6;}
  51291. + ;;
  51292. + esac
  51293. +
  51294. +
  51295. + case $ac_file$ac_mode in
  51296. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  51297. + # Autoconf 2.62 quotes --file arguments for eval, but not when files
  51298. + # are listed without --file. Let's play safe and only enable the eval
  51299. + # if we detect the quoting.
  51300. + case $CONFIG_FILES in
  51301. + *\'*) eval set x "$CONFIG_FILES" ;;
  51302. + *) set x $CONFIG_FILES ;;
  51303. + esac
  51304. + shift
  51305. + for mf
  51306. + do
  51307. + # Strip MF so we end up with the name of the file.
  51308. + mf=`echo "$mf" | sed -e 's/:.*$//'`
  51309. + # Check whether this is an Automake generated Makefile or not.
  51310. + # We used to match only the files named `Makefile.in', but
  51311. + # some people rename them; so instead we look at the file content.
  51312. + # Grep'ing the first line is not enough: some people post-process
  51313. + # each Makefile.in and add a new line on top of each file to say so.
  51314. + # Grep'ing the whole file is not good either: AIX grep has a line
  51315. + # limit of 2048, but all sed's we know have understand at least 4000.
  51316. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  51317. + dirpart=`$as_dirname -- "$mf" ||
  51318. +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  51319. + X"$mf" : 'X\(//\)[^/]' \| \
  51320. + X"$mf" : 'X\(//\)$' \| \
  51321. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  51322. +$as_echo X"$mf" |
  51323. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  51324. + s//\1/
  51325. + q
  51326. + }
  51327. + /^X\(\/\/\)[^/].*/{
  51328. + s//\1/
  51329. + q
  51330. + }
  51331. + /^X\(\/\/\)$/{
  51332. + s//\1/
  51333. + q
  51334. + }
  51335. + /^X\(\/\).*/{
  51336. + s//\1/
  51337. + q
  51338. + }
  51339. + s/.*/./; q'`
  51340. + else
  51341. + continue
  51342. + fi
  51343. + # Extract the definition of DEPDIR, am__include, and am__quote
  51344. + # from the Makefile without running `make'.
  51345. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  51346. + test -z "$DEPDIR" && continue
  51347. + am__include=`sed -n 's/^am__include = //p' < "$mf"`
  51348. + test -z "am__include" && continue
  51349. + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  51350. + # When using ansi2knr, U may be empty or an underscore; expand it
  51351. + U=`sed -n 's/^U = //p' < "$mf"`
  51352. + # Find all dependency output files, they are included files with
  51353. + # $(DEPDIR) in their names. We invoke sed twice because it is the
  51354. + # simplest approach to changing $(DEPDIR) to its actual value in the
  51355. + # expansion.
  51356. + for file in `sed -n "
  51357. + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  51358. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  51359. + # Make sure the directory exists.
  51360. + test -f "$dirpart/$file" && continue
  51361. + fdir=`$as_dirname -- "$file" ||
  51362. +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  51363. + X"$file" : 'X\(//\)[^/]' \| \
  51364. + X"$file" : 'X\(//\)$' \| \
  51365. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  51366. +$as_echo X"$file" |
  51367. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  51368. + s//\1/
  51369. + q
  51370. + }
  51371. + /^X\(\/\/\)[^/].*/{
  51372. + s//\1/
  51373. + q
  51374. + }
  51375. + /^X\(\/\/\)$/{
  51376. + s//\1/
  51377. + q
  51378. + }
  51379. + /^X\(\/\).*/{
  51380. + s//\1/
  51381. + q
  51382. + }
  51383. + s/.*/./; q'`
  51384. + as_dir=$dirpart/$fdir; as_fn_mkdir_p
  51385. + # echo "creating $dirpart/$file"
  51386. + echo '# dummy' > "$dirpart/$file"
  51387. + done
  51388. + done
  51389. +}
  51390. + ;;
  51391. + "libtool":C)
  51392. +
  51393. + # See if we are running on zsh, and set the options which allow our
  51394. + # commands through without removal of \ escapes.
  51395. + if test -n "${ZSH_VERSION+set}" ; then
  51396. + setopt NO_GLOB_SUBST
  51397. + fi
  51398. +
  51399. + cfgfile="${ofile}T"
  51400. + trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  51401. + $RM "$cfgfile"
  51402. +
  51403. + cat <<_LT_EOF >> "$cfgfile"
  51404. +#! $SHELL
  51405. +
  51406. +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  51407. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  51408. +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  51409. +# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  51410. +#
  51411. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  51412. +# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  51413. +# Written by Gordon Matzigkeit, 1996
  51414. +#
  51415. +# This file is part of GNU Libtool.
  51416. +#
  51417. +# GNU Libtool is free software; you can redistribute it and/or
  51418. +# modify it under the terms of the GNU General Public License as
  51419. +# published by the Free Software Foundation; either version 2 of
  51420. +# the License, or (at your option) any later version.
  51421. +#
  51422. +# As a special exception to the GNU General Public License,
  51423. +# if you distribute this file as part of a program or library that
  51424. +# is built using GNU Libtool, you may include this file under the
  51425. +# same distribution terms that you use for the rest of that program.
  51426. +#
  51427. +# GNU Libtool is distributed in the hope that it will be useful,
  51428. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  51429. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  51430. +# GNU General Public License for more details.
  51431. +#
  51432. +# You should have received a copy of the GNU General Public License
  51433. +# along with GNU Libtool; see the file COPYING. If not, a copy
  51434. +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  51435. +# obtained by writing to the Free Software Foundation, Inc.,
  51436. +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  51437. +
  51438. +
  51439. +# The names of the tagged configurations supported by this script.
  51440. +available_tags=""
  51441. +
  51442. +# ### BEGIN LIBTOOL CONFIG
  51443. +
  51444. +# Which release of libtool.m4 was used?
  51445. +macro_version=$macro_version
  51446. +macro_revision=$macro_revision
  51447. +
  51448. +# Whether or not to build shared libraries.
  51449. +build_libtool_libs=$enable_shared
  51450. +
  51451. +# Whether or not to build static libraries.
  51452. +build_old_libs=$enable_static
  51453. +
  51454. +# What type of objects to build.
  51455. +pic_mode=$pic_mode
  51456. +
  51457. +# Whether or not to optimize for fast installation.
  51458. +fast_install=$enable_fast_install
  51459. +
  51460. +# Shell to use when invoking shell scripts.
  51461. +SHELL=$lt_SHELL
  51462. +
  51463. +# An echo program that protects backslashes.
  51464. +ECHO=$lt_ECHO
  51465. +
  51466. +# The host system.
  51467. +host_alias=$host_alias
  51468. +host=$host
  51469. +host_os=$host_os
  51470. +
  51471. +# The build system.
  51472. +build_alias=$build_alias
  51473. +build=$build
  51474. +build_os=$build_os
  51475. +
  51476. +# A sed program that does not truncate output.
  51477. +SED=$lt_SED
  51478. +
  51479. +# Sed that helps us avoid accidentally triggering echo(1) options like -n.
  51480. +Xsed="\$SED -e 1s/^X//"
  51481. +
  51482. +# A grep program that handles long lines.
  51483. +GREP=$lt_GREP
  51484. +
  51485. +# An ERE matcher.
  51486. +EGREP=$lt_EGREP
  51487. +
  51488. +# A literal string matcher.
  51489. +FGREP=$lt_FGREP
  51490. +
  51491. +# A BSD- or MS-compatible name lister.
  51492. +NM=$lt_NM
  51493. +
  51494. +# Whether we need soft or hard links.
  51495. +LN_S=$lt_LN_S
  51496. +
  51497. +# What is the maximum length of a command?
  51498. +max_cmd_len=$max_cmd_len
  51499. +
  51500. +# Object file suffix (normally "o").
  51501. +objext=$ac_objext
  51502. +
  51503. +# Executable file suffix (normally "").
  51504. +exeext=$exeext
  51505. +
  51506. +# whether the shell understands "unset".
  51507. +lt_unset=$lt_unset
  51508. +
  51509. +# turn spaces into newlines.
  51510. +SP2NL=$lt_lt_SP2NL
  51511. +
  51512. +# turn newlines into spaces.
  51513. +NL2SP=$lt_lt_NL2SP
  51514. +
  51515. +# An object symbol dumper.
  51516. +OBJDUMP=$lt_OBJDUMP
  51517. +
  51518. +# Method to check whether dependent libraries are shared objects.
  51519. +deplibs_check_method=$lt_deplibs_check_method
  51520. +
  51521. +# Command to use when deplibs_check_method == "file_magic".
  51522. +file_magic_cmd=$lt_file_magic_cmd
  51523. +
  51524. +# The archiver.
  51525. +AR=$lt_AR
  51526. +AR_FLAGS=$lt_AR_FLAGS
  51527. +
  51528. +# A symbol stripping program.
  51529. +STRIP=$lt_STRIP
  51530. +
  51531. +# Commands used to install an old-style archive.
  51532. +RANLIB=$lt_RANLIB
  51533. +old_postinstall_cmds=$lt_old_postinstall_cmds
  51534. +old_postuninstall_cmds=$lt_old_postuninstall_cmds
  51535. +
  51536. +# Whether to use a lock for old archive extraction.
  51537. +lock_old_archive_extraction=$lock_old_archive_extraction
  51538. +
  51539. +# A C compiler.
  51540. +LTCC=$lt_CC
  51541. +
  51542. +# LTCC compiler flags.
  51543. +LTCFLAGS=$lt_CFLAGS
  51544. +
  51545. +# Take the output of nm and produce a listing of raw symbols and C names.
  51546. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  51547. +
  51548. +# Transform the output of nm in a proper C declaration.
  51549. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  51550. +
  51551. +# Transform the output of nm in a C name address pair.
  51552. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  51553. +
  51554. +# Transform the output of nm in a C name address pair when lib prefix is needed.
  51555. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  51556. +
  51557. +# The name of the directory that contains temporary libtool files.
  51558. +objdir=$objdir
  51559. +
  51560. +# Used to examine libraries when file_magic_cmd begins with "file".
  51561. +MAGIC_CMD=$MAGIC_CMD
  51562. +
  51563. +# Must we lock files when doing compilation?
  51564. +need_locks=$lt_need_locks
  51565. +
  51566. +# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  51567. +DSYMUTIL=$lt_DSYMUTIL
  51568. +
  51569. +# Tool to change global to local symbols on Mac OS X.
  51570. +NMEDIT=$lt_NMEDIT
  51571. +
  51572. +# Tool to manipulate fat objects and archives on Mac OS X.
  51573. +LIPO=$lt_LIPO
  51574. +
  51575. +# ldd/readelf like tool for Mach-O binaries on Mac OS X.
  51576. +OTOOL=$lt_OTOOL
  51577. +
  51578. +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  51579. +OTOOL64=$lt_OTOOL64
  51580. +
  51581. +# Old archive suffix (normally "a").
  51582. +libext=$libext
  51583. +
  51584. +# Shared library suffix (normally ".so").
  51585. +shrext_cmds=$lt_shrext_cmds
  51586. +
  51587. +# The commands to extract the exported symbol list from a shared archive.
  51588. +extract_expsyms_cmds=$lt_extract_expsyms_cmds
  51589. +
  51590. +# Variables whose values should be saved in libtool wrapper scripts and
  51591. +# restored at link time.
  51592. +variables_saved_for_relink=$lt_variables_saved_for_relink
  51593. +
  51594. +# Do we need the "lib" prefix for modules?
  51595. +need_lib_prefix=$need_lib_prefix
  51596. +
  51597. +# Do we need a version for libraries?
  51598. +need_version=$need_version
  51599. +
  51600. +# Library versioning type.
  51601. +version_type=$version_type
  51602. +
  51603. +# Shared library runtime path variable.
  51604. +runpath_var=$runpath_var
  51605. +
  51606. +# Shared library path variable.
  51607. +shlibpath_var=$shlibpath_var
  51608. +
  51609. +# Is shlibpath searched before the hard-coded library search path?
  51610. +shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  51611. +
  51612. +# Format of library name prefix.
  51613. +libname_spec=$lt_libname_spec
  51614. +
  51615. +# List of archive names. First name is the real one, the rest are links.
  51616. +# The last name is the one that the linker finds with -lNAME
  51617. +library_names_spec=$lt_library_names_spec
  51618. +
  51619. +# The coded name of the library, if different from the real name.
  51620. +soname_spec=$lt_soname_spec
  51621. +
  51622. +# Permission mode override for installation of shared libraries.
  51623. +install_override_mode=$lt_install_override_mode
  51624. +
  51625. +# Command to use after installation of a shared archive.
  51626. +postinstall_cmds=$lt_postinstall_cmds
  51627. +
  51628. +# Command to use after uninstallation of a shared archive.
  51629. +postuninstall_cmds=$lt_postuninstall_cmds
  51630. +
  51631. +# Commands used to finish a libtool library installation in a directory.
  51632. +finish_cmds=$lt_finish_cmds
  51633. +
  51634. +# As "finish_cmds", except a single script fragment to be evaled but
  51635. +# not shown.
  51636. +finish_eval=$lt_finish_eval
  51637. +
  51638. +# Whether we should hardcode library paths into libraries.
  51639. +hardcode_into_libs=$hardcode_into_libs
  51640. +
  51641. +# Compile-time system search path for libraries.
  51642. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  51643. +
  51644. +# Run-time system search path for libraries.
  51645. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  51646. +
  51647. +# Whether dlopen is supported.
  51648. +dlopen_support=$enable_dlopen
  51649. +
  51650. +# Whether dlopen of programs is supported.
  51651. +dlopen_self=$enable_dlopen_self
  51652. +
  51653. +# Whether dlopen of statically linked programs is supported.
  51654. +dlopen_self_static=$enable_dlopen_self_static
  51655. +
  51656. +# Commands to strip libraries.
  51657. +old_striplib=$lt_old_striplib
  51658. +striplib=$lt_striplib
  51659. +
  51660. +
  51661. +# The linker used to build libraries.
  51662. +LD=$lt_LD
  51663. +
  51664. +# How to create reloadable object files.
  51665. +reload_flag=$lt_reload_flag
  51666. +reload_cmds=$lt_reload_cmds
  51667. +
  51668. +# Commands used to build an old-style archive.
  51669. +old_archive_cmds=$lt_old_archive_cmds
  51670. +
  51671. +# A language specific compiler.
  51672. +CC=$lt_compiler
  51673. +
  51674. +# Is the compiler the GNU compiler?
  51675. +with_gcc=$GCC
  51676. +
  51677. +# Compiler flag to turn off builtin functions.
  51678. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  51679. +
  51680. +# How to pass a linker flag through the compiler.
  51681. +wl=$lt_lt_prog_compiler_wl
  51682. +
  51683. +# Additional compiler flags for building library objects.
  51684. +pic_flag=$lt_lt_prog_compiler_pic
  51685. +
  51686. +# Compiler flag to prevent dynamic linking.
  51687. +link_static_flag=$lt_lt_prog_compiler_static
  51688. +
  51689. +# Does compiler simultaneously support -c and -o options?
  51690. +compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  51691. +
  51692. +# Whether or not to add -lc for building shared libraries.
  51693. +build_libtool_need_lc=$archive_cmds_need_lc
  51694. +
  51695. +# Whether or not to disallow shared libs when runtime libs are static.
  51696. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  51697. +
  51698. +# Compiler flag to allow reflexive dlopens.
  51699. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  51700. +
  51701. +# Compiler flag to generate shared objects directly from archives.
  51702. +whole_archive_flag_spec=$lt_whole_archive_flag_spec
  51703. +
  51704. +# Whether the compiler copes with passing no objects directly.
  51705. +compiler_needs_object=$lt_compiler_needs_object
  51706. +
  51707. +# Create an old-style archive from a shared archive.
  51708. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  51709. +
  51710. +# Create a temporary old-style archive to link instead of a shared archive.
  51711. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  51712. +
  51713. +# Commands used to build a shared archive.
  51714. +archive_cmds=$lt_archive_cmds
  51715. +archive_expsym_cmds=$lt_archive_expsym_cmds
  51716. +
  51717. +# Commands used to build a loadable module if different from building
  51718. +# a shared archive.
  51719. +module_cmds=$lt_module_cmds
  51720. +module_expsym_cmds=$lt_module_expsym_cmds
  51721. +
  51722. +# Whether we are building with GNU ld or not.
  51723. +with_gnu_ld=$lt_with_gnu_ld
  51724. +
  51725. +# Flag that allows shared libraries with undefined symbols to be built.
  51726. +allow_undefined_flag=$lt_allow_undefined_flag
  51727. +
  51728. +# Flag that enforces no undefined symbols.
  51729. +no_undefined_flag=$lt_no_undefined_flag
  51730. +
  51731. +# Flag to hardcode \$libdir into a binary during linking.
  51732. +# This must work even if \$libdir does not exist
  51733. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  51734. +
  51735. +# If ld is used when linking, flag to hardcode \$libdir into a binary
  51736. +# during linking. This must work even if \$libdir does not exist.
  51737. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  51738. +
  51739. +# Whether we need a single "-rpath" flag with a separated argument.
  51740. +hardcode_libdir_separator=$lt_hardcode_libdir_separator
  51741. +
  51742. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  51743. +# DIR into the resulting binary.
  51744. +hardcode_direct=$hardcode_direct
  51745. +
  51746. +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  51747. +# DIR into the resulting binary and the resulting library dependency is
  51748. +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  51749. +# library is relocated.
  51750. +hardcode_direct_absolute=$hardcode_direct_absolute
  51751. +
  51752. +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  51753. +# into the resulting binary.
  51754. +hardcode_minus_L=$hardcode_minus_L
  51755. +
  51756. +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  51757. +# into the resulting binary.
  51758. +hardcode_shlibpath_var=$hardcode_shlibpath_var
  51759. +
  51760. +# Set to "yes" if building a shared library automatically hardcodes DIR
  51761. +# into the library and all subsequent libraries and executables linked
  51762. +# against it.
  51763. +hardcode_automatic=$hardcode_automatic
  51764. +
  51765. +# Set to yes if linker adds runtime paths of dependent libraries
  51766. +# to runtime path list.
  51767. +inherit_rpath=$inherit_rpath
  51768. +
  51769. +# Whether libtool must link a program against all its dependency libraries.
  51770. +link_all_deplibs=$link_all_deplibs
  51771. +
  51772. +# Fix the shell variable \$srcfile for the compiler.
  51773. +fix_srcfile_path=$lt_fix_srcfile_path
  51774. +
  51775. +# Set to "yes" if exported symbols are required.
  51776. +always_export_symbols=$always_export_symbols
  51777. +
  51778. +# The commands to list exported symbols.
  51779. +export_symbols_cmds=$lt_export_symbols_cmds
  51780. +
  51781. +# Symbols that should not be listed in the preloaded symbols.
  51782. +exclude_expsyms=$lt_exclude_expsyms
  51783. +
  51784. +# Symbols that must always be exported.
  51785. +include_expsyms=$lt_include_expsyms
  51786. +
  51787. +# Commands necessary for linking programs (against libraries) with templates.
  51788. +prelink_cmds=$lt_prelink_cmds
  51789. +
  51790. +# Specify filename containing input files.
  51791. +file_list_spec=$lt_file_list_spec
  51792. +
  51793. +# How to hardcode a shared library path into an executable.
  51794. +hardcode_action=$hardcode_action
  51795. +
  51796. +# ### END LIBTOOL CONFIG
  51797. +
  51798. +_LT_EOF
  51799. +
  51800. + case $host_os in
  51801. + aix3*)
  51802. + cat <<\_LT_EOF >> "$cfgfile"
  51803. +# AIX sometimes has problems with the GCC collect2 program. For some
  51804. +# reason, if we set the COLLECT_NAMES environment variable, the problems
  51805. +# vanish in a puff of smoke.
  51806. +if test "X${COLLECT_NAMES+set}" != Xset; then
  51807. + COLLECT_NAMES=
  51808. + export COLLECT_NAMES
  51809. +fi
  51810. +_LT_EOF
  51811. + ;;
  51812. + esac
  51813. +
  51814. +
  51815. +ltmain="$ac_aux_dir/ltmain.sh"
  51816. +
  51817. +
  51818. + # We use sed instead of cat because bash on DJGPP gets confused if
  51819. + # if finds mixed CR/LF and LF-only lines. Since sed operates in
  51820. + # text mode, it properly converts lines to CR/LF. This bash problem
  51821. + # is reportedly fixed, but why not run on old versions too?
  51822. + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  51823. + || (rm -f "$cfgfile"; exit 1)
  51824. +
  51825. + case $xsi_shell in
  51826. + yes)
  51827. + cat << \_LT_EOF >> "$cfgfile"
  51828. +
  51829. +# func_dirname file append nondir_replacement
  51830. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  51831. +# otherwise set result to NONDIR_REPLACEMENT.
  51832. +func_dirname ()
  51833. +{
  51834. + case ${1} in
  51835. + */*) func_dirname_result="${1%/*}${2}" ;;
  51836. + * ) func_dirname_result="${3}" ;;
  51837. + esac
  51838. +}
  51839. +
  51840. +# func_basename file
  51841. +func_basename ()
  51842. +{
  51843. + func_basename_result="${1##*/}"
  51844. +}
  51845. +
  51846. +# func_dirname_and_basename file append nondir_replacement
  51847. +# perform func_basename and func_dirname in a single function
  51848. +# call:
  51849. +# dirname: Compute the dirname of FILE. If nonempty,
  51850. +# add APPEND to the result, otherwise set result
  51851. +# to NONDIR_REPLACEMENT.
  51852. +# value returned in "$func_dirname_result"
  51853. +# basename: Compute filename of FILE.
  51854. +# value retuned in "$func_basename_result"
  51855. +# Implementation must be kept synchronized with func_dirname
  51856. +# and func_basename. For efficiency, we do not delegate to
  51857. +# those functions but instead duplicate the functionality here.
  51858. +func_dirname_and_basename ()
  51859. +{
  51860. + case ${1} in
  51861. + */*) func_dirname_result="${1%/*}${2}" ;;
  51862. + * ) func_dirname_result="${3}" ;;
  51863. + esac
  51864. + func_basename_result="${1##*/}"
  51865. +}
  51866. +
  51867. +# func_stripname prefix suffix name
  51868. +# strip PREFIX and SUFFIX off of NAME.
  51869. +# PREFIX and SUFFIX must not contain globbing or regex special
  51870. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  51871. +# dot (in which case that matches only a dot).
  51872. +func_stripname ()
  51873. +{
  51874. + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  51875. + # positional parameters, so assign one to ordinary parameter first.
  51876. + func_stripname_result=${3}
  51877. + func_stripname_result=${func_stripname_result#"${1}"}
  51878. + func_stripname_result=${func_stripname_result%"${2}"}
  51879. +}
  51880. +
  51881. +# func_opt_split
  51882. +func_opt_split ()
  51883. +{
  51884. + func_opt_split_opt=${1%%=*}
  51885. + func_opt_split_arg=${1#*=}
  51886. +}
  51887. +
  51888. +# func_lo2o object
  51889. +func_lo2o ()
  51890. +{
  51891. + case ${1} in
  51892. + *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  51893. + *) func_lo2o_result=${1} ;;
  51894. + esac
  51895. +}
  51896. +
  51897. +# func_xform libobj-or-source
  51898. +func_xform ()
  51899. +{
  51900. + func_xform_result=${1%.*}.lo
  51901. +}
  51902. +
  51903. +# func_arith arithmetic-term...
  51904. +func_arith ()
  51905. +{
  51906. + func_arith_result=$(( $* ))
  51907. +}
  51908. +
  51909. +# func_len string
  51910. +# STRING may not start with a hyphen.
  51911. +func_len ()
  51912. +{
  51913. + func_len_result=${#1}
  51914. +}
  51915. +
  51916. +_LT_EOF
  51917. + ;;
  51918. + *) # Bourne compatible functions.
  51919. + cat << \_LT_EOF >> "$cfgfile"
  51920. +
  51921. +# func_dirname file append nondir_replacement
  51922. +# Compute the dirname of FILE. If nonempty, add APPEND to the result,
  51923. +# otherwise set result to NONDIR_REPLACEMENT.
  51924. +func_dirname ()
  51925. +{
  51926. + # Extract subdirectory from the argument.
  51927. + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  51928. + if test "X$func_dirname_result" = "X${1}"; then
  51929. + func_dirname_result="${3}"
  51930. + else
  51931. + func_dirname_result="$func_dirname_result${2}"
  51932. + fi
  51933. +}
  51934. +
  51935. +# func_basename file
  51936. +func_basename ()
  51937. +{
  51938. + func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  51939. +}
  51940. +
  51941. +
  51942. +# func_stripname prefix suffix name
  51943. +# strip PREFIX and SUFFIX off of NAME.
  51944. +# PREFIX and SUFFIX must not contain globbing or regex special
  51945. +# characters, hashes, percent signs, but SUFFIX may contain a leading
  51946. +# dot (in which case that matches only a dot).
  51947. +# func_strip_suffix prefix name
  51948. +func_stripname ()
  51949. +{
  51950. + case ${2} in
  51951. + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  51952. + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  51953. + esac
  51954. +}
  51955. +
  51956. +# sed scripts:
  51957. +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  51958. +my_sed_long_arg='1s/^-[^=]*=//'
  51959. +
  51960. +# func_opt_split
  51961. +func_opt_split ()
  51962. +{
  51963. + func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  51964. + func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  51965. +}
  51966. +
  51967. +# func_lo2o object
  51968. +func_lo2o ()
  51969. +{
  51970. + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  51971. +}
  51972. +
  51973. +# func_xform libobj-or-source
  51974. +func_xform ()
  51975. +{
  51976. + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  51977. +}
  51978. +
  51979. +# func_arith arithmetic-term...
  51980. +func_arith ()
  51981. +{
  51982. + func_arith_result=`expr "$@"`
  51983. +}
  51984. +
  51985. +# func_len string
  51986. +# STRING may not start with a hyphen.
  51987. +func_len ()
  51988. +{
  51989. + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  51990. +}
  51991. +
  51992. +_LT_EOF
  51993. +esac
  51994. +
  51995. +case $lt_shell_append in
  51996. + yes)
  51997. + cat << \_LT_EOF >> "$cfgfile"
  51998. +
  51999. +# func_append var value
  52000. +# Append VALUE to the end of shell variable VAR.
  52001. +func_append ()
  52002. +{
  52003. + eval "$1+=\$2"
  52004. +}
  52005. +_LT_EOF
  52006. + ;;
  52007. + *)
  52008. + cat << \_LT_EOF >> "$cfgfile"
  52009. +
  52010. +# func_append var value
  52011. +# Append VALUE to the end of shell variable VAR.
  52012. +func_append ()
  52013. +{
  52014. + eval "$1=\$$1\$2"
  52015. +}
  52016. +
  52017. +_LT_EOF
  52018. + ;;
  52019. + esac
  52020. +
  52021. +
  52022. + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  52023. + || (rm -f "$cfgfile"; exit 1)
  52024. +
  52025. + mv -f "$cfgfile" "$ofile" ||
  52026. + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  52027. + chmod +x "$ofile"
  52028. +
  52029. + ;;
  52030. + "default-1":C)
  52031. + for ac_file in $CONFIG_FILES; do
  52032. + # Support "outfile[:infile[:infile...]]"
  52033. + case "$ac_file" in
  52034. + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  52035. + esac
  52036. + # PO directories have a Makefile.in generated from Makefile.in.in.
  52037. + case "$ac_file" in */Makefile.in)
  52038. + # Adjust a relative srcdir.
  52039. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  52040. + ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  52041. + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  52042. + # In autoconf-2.13 it is called $ac_given_srcdir.
  52043. + # In autoconf-2.50 it is called $srcdir.
  52044. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  52045. + case "$ac_given_srcdir" in
  52046. + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  52047. + /*) top_srcdir="$ac_given_srcdir" ;;
  52048. + *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  52049. + esac
  52050. + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  52051. + rm -f "$ac_dir/POTFILES"
  52052. + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  52053. + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  52054. + POMAKEFILEDEPS="POTFILES.in"
  52055. + # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
  52056. + # on $ac_dir but don't depend on user-specified configuration
  52057. + # parameters.
  52058. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  52059. + # The LINGUAS file contains the set of available languages.
  52060. + if test -n "$OBSOLETE_ALL_LINGUAS"; then
  52061. + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  52062. + fi
  52063. + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  52064. + # Hide the ALL_LINGUAS assigment from automake.
  52065. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  52066. + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  52067. + else
  52068. + # The set of available languages was given in configure.in.
  52069. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  52070. + fi
  52071. + case "$ac_given_srcdir" in
  52072. + .) srcdirpre= ;;
  52073. + *) srcdirpre='$(srcdir)/' ;;
  52074. + esac
  52075. + POFILES=
  52076. + GMOFILES=
  52077. + UPDATEPOFILES=
  52078. + DUMMYPOFILES=
  52079. + for lang in $ALL_LINGUAS; do
  52080. + POFILES="$POFILES $srcdirpre$lang.po"
  52081. + GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  52082. + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  52083. + DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  52084. + done
  52085. + # CATALOGS depends on both $ac_dir and the user's LINGUAS
  52086. + # environment variable.
  52087. + INST_LINGUAS=
  52088. + if test -n "$ALL_LINGUAS"; then
  52089. + for presentlang in $ALL_LINGUAS; do
  52090. + useit=no
  52091. + if test "%UNSET%" != "$LINGUAS"; then
  52092. + desiredlanguages="$LINGUAS"
  52093. + else
  52094. + desiredlanguages="$ALL_LINGUAS"
  52095. + fi
  52096. + for desiredlang in $desiredlanguages; do
  52097. + # Use the presentlang catalog if desiredlang is
  52098. + # a. equal to presentlang, or
  52099. + # b. a variant of presentlang (because in this case,
  52100. + # presentlang can be used as a fallback for messages
  52101. + # which are not translated in the desiredlang catalog).
  52102. + case "$desiredlang" in
  52103. + "$presentlang"*) useit=yes;;
  52104. + esac
  52105. + done
  52106. + if test $useit = yes; then
  52107. + INST_LINGUAS="$INST_LINGUAS $presentlang"
  52108. + fi
  52109. + done
  52110. + fi
  52111. + CATALOGS=
  52112. + if test -n "$INST_LINGUAS"; then
  52113. + for lang in $INST_LINGUAS; do
  52114. + CATALOGS="$CATALOGS $lang.gmo"
  52115. + done
  52116. + fi
  52117. + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  52118. + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  52119. + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  52120. + if test -f "$f"; then
  52121. + case "$f" in
  52122. + *.orig | *.bak | *~) ;;
  52123. + *) cat "$f" >> "$ac_dir/Makefile" ;;
  52124. + esac
  52125. + fi
  52126. + done
  52127. + fi
  52128. + ;;
  52129. + esac
  52130. + done ;;
  52131. +
  52132. + esac
  52133. +done # for ac_tag
  52134. +
  52135. +
  52136. +as_fn_exit 0
  52137. +_ACEOF
  52138. +ac_clean_files=$ac_clean_files_save
  52139. +
  52140. +test $ac_write_fail = 0 ||
  52141. + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  52142. +
  52143. +
  52144. +# configure is writing to config.log, and then calls config.status.
  52145. +# config.status does its own redirection, appending to config.log.
  52146. +# Unfortunately, on DOS this fails, as config.log is still kept open
  52147. +# by configure, so config.status won't be able to write to it; its
  52148. +# output is simply discarded. So we exec the FD to /dev/null,
  52149. +# effectively closing config.log, so it can be properly (re)opened and
  52150. +# appended to by config.status. When coming back to configure, we
  52151. +# need to make the FD available again.
  52152. +if test "$no_create" != yes; then
  52153. + ac_cs_success=:
  52154. + ac_config_status_args=
  52155. + test "$silent" = yes &&
  52156. + ac_config_status_args="$ac_config_status_args --quiet"
  52157. + exec 5>/dev/null
  52158. + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  52159. + exec 5>>config.log
  52160. + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  52161. + # would make configure fail if this is the last instruction.
  52162. + $ac_cs_success || as_fn_exit $?
  52163. +fi
  52164. +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  52165. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  52166. +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  52167. +fi
  52168. +
  52169. diff -Nur binutils-2.21.orig/ld/autom4te.cache/requests binutils-2.21/ld/autom4te.cache/requests
  52170. --- binutils-2.21.orig/ld/autom4te.cache/requests 1970-01-01 01:00:00.000000000 +0100
  52171. +++ binutils-2.21/ld/autom4te.cache/requests 2011-08-28 14:56:22.487981405 +0200
  52172. @@ -0,0 +1,68 @@
  52173. +# This file was generated.
  52174. +# It contains the lists of macros which have been traced.
  52175. +# It can be safely removed.
  52176. +
  52177. +@request = (
  52178. + bless( [
  52179. + '0',
  52180. + 1,
  52181. + [
  52182. + '/usr/share/autoconf2.64'
  52183. + ],
  52184. + [
  52185. + '/usr/share/autoconf2.64/autoconf/autoconf.m4f',
  52186. + 'aclocal.m4',
  52187. + 'configure.in'
  52188. + ],
  52189. + {
  52190. + '_LT_AC_TAGCONFIG' => 1,
  52191. + 'AM_PROG_F77_C_O' => 1,
  52192. + 'AC_INIT' => 1,
  52193. + 'm4_pattern_forbid' => 1,
  52194. + '_AM_COND_IF' => 1,
  52195. + 'AC_CANONICAL_TARGET' => 1,
  52196. + 'AC_SUBST' => 1,
  52197. + 'AC_CONFIG_LIBOBJ_DIR' => 1,
  52198. + 'AC_FC_SRCEXT' => 1,
  52199. + 'AC_CANONICAL_HOST' => 1,
  52200. + 'AC_PROG_LIBTOOL' => 1,
  52201. + 'AM_INIT_AUTOMAKE' => 1,
  52202. + 'AC_CONFIG_SUBDIRS' => 1,
  52203. + 'AM_AUTOMAKE_VERSION' => 1,
  52204. + 'LT_CONFIG_LTDL_DIR' => 1,
  52205. + 'AC_REQUIRE_AUX_FILE' => 1,
  52206. + 'AC_CONFIG_LINKS' => 1,
  52207. + 'm4_sinclude' => 1,
  52208. + 'LT_SUPPORTED_TAG' => 1,
  52209. + 'AM_MAINTAINER_MODE' => 1,
  52210. + 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  52211. + '_m4_warn' => 1,
  52212. + 'AM_PROG_CXX_C_O' => 1,
  52213. + '_AM_COND_ENDIF' => 1,
  52214. + 'AM_ENABLE_MULTILIB' => 1,
  52215. + 'AM_SILENT_RULES' => 1,
  52216. + 'AC_CONFIG_FILES' => 1,
  52217. + 'include' => 1,
  52218. + 'LT_INIT' => 1,
  52219. + 'AM_GNU_GETTEXT' => 1,
  52220. + 'AC_LIBSOURCE' => 1,
  52221. + 'AM_PROG_FC_C_O' => 1,
  52222. + 'AC_CANONICAL_BUILD' => 1,
  52223. + 'AC_FC_FREEFORM' => 1,
  52224. + 'AH_OUTPUT' => 1,
  52225. + '_AM_SUBST_NOTMAKE' => 1,
  52226. + 'AC_CONFIG_AUX_DIR' => 1,
  52227. + 'sinclude' => 1,
  52228. + 'm4_pattern_allow' => 1,
  52229. + 'AM_PROG_CC_C_O' => 1,
  52230. + 'AC_CANONICAL_SYSTEM' => 1,
  52231. + 'AM_CONDITIONAL' => 1,
  52232. + 'AC_CONFIG_HEADERS' => 1,
  52233. + 'AC_DEFINE_TRACE_LITERAL' => 1,
  52234. + 'm4_include' => 1,
  52235. + '_AM_COND_ELSE' => 1,
  52236. + 'AC_SUBST_TRACE' => 1
  52237. + }
  52238. + ], 'Autom4te::Request' )
  52239. + );
  52240. +
  52241. diff -Nur binutils-2.21.orig/ld/autom4te.cache/traces.0 binutils-2.21/ld/autom4te.cache/traces.0
  52242. --- binutils-2.21.orig/ld/autom4te.cache/traces.0 1970-01-01 01:00:00.000000000 +0100
  52243. +++ binutils-2.21/ld/autom4te.cache/traces.0 2011-08-28 14:56:22.547980166 +0200
  52244. @@ -0,0 +1,912 @@
  52245. +m4trace:aclocal.m4:992: -1- m4_include([../bfd/acinclude.m4])
  52246. +m4trace:../bfd/acinclude.m4:1: -1- sinclude([../config/zlib.m4])
  52247. +m4trace:aclocal.m4:993: -1- m4_include([../bfd/warning.m4])
  52248. +m4trace:aclocal.m4:994: -1- m4_include([../config/acx.m4])
  52249. +m4trace:aclocal.m4:995: -1- m4_include([../config/depstand.m4])
  52250. +m4trace:aclocal.m4:996: -1- m4_include([../config/gettext-sister.m4])
  52251. +m4trace:aclocal.m4:997: -1- m4_include([../config/largefile.m4])
  52252. +m4trace:aclocal.m4:998: -1- m4_include([../config/lead-dot.m4])
  52253. +m4trace:aclocal.m4:999: -1- m4_include([../config/nls.m4])
  52254. +m4trace:aclocal.m4:1000: -1- m4_include([../config/override.m4])
  52255. +m4trace:aclocal.m4:1001: -1- m4_include([../config/plugins.m4])
  52256. +m4trace:aclocal.m4:1002: -1- m4_include([../config/po.m4])
  52257. +m4trace:aclocal.m4:1003: -1- m4_include([../config/progtest.m4])
  52258. +m4trace:aclocal.m4:1004: -1- m4_include([../libtool.m4])
  52259. +m4trace:aclocal.m4:1005: -1- m4_include([../ltoptions.m4])
  52260. +m4trace:aclocal.m4:1006: -1- m4_include([../ltsugar.m4])
  52261. +m4trace:aclocal.m4:1007: -1- m4_include([../ltversion.m4])
  52262. +m4trace:aclocal.m4:1008: -1- m4_include([../lt~obsolete.m4])
  52263. +m4trace:configure.in:4: -1- AC_INIT
  52264. +m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
  52265. +m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
  52266. +m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  52267. +m4trace:configure.in:4: -1- m4_pattern_allow([^AS_FLAGS$])
  52268. +m4trace:configure.in:4: -1- m4_pattern_forbid([^_?m4_])
  52269. +m4trace:configure.in:4: -1- m4_pattern_forbid([^dnl$])
  52270. +m4trace:configure.in:4: -1- m4_pattern_forbid([^_?AS_])
  52271. +m4trace:configure.in:4: -1- AC_SUBST([SHELL])
  52272. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([SHELL])
  52273. +m4trace:configure.in:4: -1- m4_pattern_allow([^SHELL$])
  52274. +m4trace:configure.in:4: -1- AC_SUBST([PATH_SEPARATOR])
  52275. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
  52276. +m4trace:configure.in:4: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  52277. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
  52278. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_NAME])
  52279. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
  52280. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
  52281. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
  52282. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  52283. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
  52284. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
  52285. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  52286. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
  52287. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_STRING])
  52288. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
  52289. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
  52290. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
  52291. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  52292. +m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
  52293. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_URL])
  52294. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_URL$])
  52295. +m4trace:configure.in:4: -1- AC_SUBST([exec_prefix], [NONE])
  52296. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([exec_prefix])
  52297. +m4trace:configure.in:4: -1- m4_pattern_allow([^exec_prefix$])
  52298. +m4trace:configure.in:4: -1- AC_SUBST([prefix], [NONE])
  52299. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([prefix])
  52300. +m4trace:configure.in:4: -1- m4_pattern_allow([^prefix$])
  52301. +m4trace:configure.in:4: -1- AC_SUBST([program_transform_name], [s,x,x,])
  52302. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([program_transform_name])
  52303. +m4trace:configure.in:4: -1- m4_pattern_allow([^program_transform_name$])
  52304. +m4trace:configure.in:4: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
  52305. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([bindir])
  52306. +m4trace:configure.in:4: -1- m4_pattern_allow([^bindir$])
  52307. +m4trace:configure.in:4: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
  52308. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([sbindir])
  52309. +m4trace:configure.in:4: -1- m4_pattern_allow([^sbindir$])
  52310. +m4trace:configure.in:4: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
  52311. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([libexecdir])
  52312. +m4trace:configure.in:4: -1- m4_pattern_allow([^libexecdir$])
  52313. +m4trace:configure.in:4: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
  52314. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([datarootdir])
  52315. +m4trace:configure.in:4: -1- m4_pattern_allow([^datarootdir$])
  52316. +m4trace:configure.in:4: -1- AC_SUBST([datadir], ['${datarootdir}'])
  52317. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([datadir])
  52318. +m4trace:configure.in:4: -1- m4_pattern_allow([^datadir$])
  52319. +m4trace:configure.in:4: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
  52320. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([sysconfdir])
  52321. +m4trace:configure.in:4: -1- m4_pattern_allow([^sysconfdir$])
  52322. +m4trace:configure.in:4: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
  52323. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([sharedstatedir])
  52324. +m4trace:configure.in:4: -1- m4_pattern_allow([^sharedstatedir$])
  52325. +m4trace:configure.in:4: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
  52326. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([localstatedir])
  52327. +m4trace:configure.in:4: -1- m4_pattern_allow([^localstatedir$])
  52328. +m4trace:configure.in:4: -1- AC_SUBST([includedir], ['${prefix}/include'])
  52329. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([includedir])
  52330. +m4trace:configure.in:4: -1- m4_pattern_allow([^includedir$])
  52331. +m4trace:configure.in:4: -1- AC_SUBST([oldincludedir], ['/usr/include'])
  52332. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([oldincludedir])
  52333. +m4trace:configure.in:4: -1- m4_pattern_allow([^oldincludedir$])
  52334. +m4trace:configure.in:4: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
  52335. + ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
  52336. + ['${datarootdir}/doc/${PACKAGE}'])])
  52337. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([docdir])
  52338. +m4trace:configure.in:4: -1- m4_pattern_allow([^docdir$])
  52339. +m4trace:configure.in:4: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
  52340. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([infodir])
  52341. +m4trace:configure.in:4: -1- m4_pattern_allow([^infodir$])
  52342. +m4trace:configure.in:4: -1- AC_SUBST([htmldir], ['${docdir}'])
  52343. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([htmldir])
  52344. +m4trace:configure.in:4: -1- m4_pattern_allow([^htmldir$])
  52345. +m4trace:configure.in:4: -1- AC_SUBST([dvidir], ['${docdir}'])
  52346. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([dvidir])
  52347. +m4trace:configure.in:4: -1- m4_pattern_allow([^dvidir$])
  52348. +m4trace:configure.in:4: -1- AC_SUBST([pdfdir], ['${docdir}'])
  52349. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([pdfdir])
  52350. +m4trace:configure.in:4: -1- m4_pattern_allow([^pdfdir$])
  52351. +m4trace:configure.in:4: -1- AC_SUBST([psdir], ['${docdir}'])
  52352. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([psdir])
  52353. +m4trace:configure.in:4: -1- m4_pattern_allow([^psdir$])
  52354. +m4trace:configure.in:4: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
  52355. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([libdir])
  52356. +m4trace:configure.in:4: -1- m4_pattern_allow([^libdir$])
  52357. +m4trace:configure.in:4: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
  52358. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([localedir])
  52359. +m4trace:configure.in:4: -1- m4_pattern_allow([^localedir$])
  52360. +m4trace:configure.in:4: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
  52361. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([mandir])
  52362. +m4trace:configure.in:4: -1- m4_pattern_allow([^mandir$])
  52363. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
  52364. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
  52365. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
  52366. +@%:@undef PACKAGE_NAME])
  52367. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
  52368. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  52369. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
  52370. +@%:@undef PACKAGE_TARNAME])
  52371. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
  52372. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  52373. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
  52374. +@%:@undef PACKAGE_VERSION])
  52375. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
  52376. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
  52377. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
  52378. +@%:@undef PACKAGE_STRING])
  52379. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
  52380. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  52381. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
  52382. +@%:@undef PACKAGE_BUGREPORT])
  52383. +m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
  52384. +m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_URL$])
  52385. +m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
  52386. +@%:@undef PACKAGE_URL])
  52387. +m4trace:configure.in:4: -1- AC_SUBST([DEFS])
  52388. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([DEFS])
  52389. +m4trace:configure.in:4: -1- m4_pattern_allow([^DEFS$])
  52390. +m4trace:configure.in:4: -1- AC_SUBST([ECHO_C])
  52391. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_C])
  52392. +m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_C$])
  52393. +m4trace:configure.in:4: -1- AC_SUBST([ECHO_N])
  52394. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_N])
  52395. +m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_N$])
  52396. +m4trace:configure.in:4: -1- AC_SUBST([ECHO_T])
  52397. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_T])
  52398. +m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_T$])
  52399. +m4trace:configure.in:4: -1- AC_SUBST([LIBS])
  52400. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([LIBS])
  52401. +m4trace:configure.in:4: -1- m4_pattern_allow([^LIBS$])
  52402. +m4trace:configure.in:4: -1- AC_SUBST([build_alias])
  52403. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([build_alias])
  52404. +m4trace:configure.in:4: -1- m4_pattern_allow([^build_alias$])
  52405. +m4trace:configure.in:4: -1- AC_SUBST([host_alias])
  52406. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([host_alias])
  52407. +m4trace:configure.in:4: -1- m4_pattern_allow([^host_alias$])
  52408. +m4trace:configure.in:4: -1- AC_SUBST([target_alias])
  52409. +m4trace:configure.in:4: -1- AC_SUBST_TRACE([target_alias])
  52410. +m4trace:configure.in:4: -1- m4_pattern_allow([^target_alias$])
  52411. +m4trace:configure.in:7: -1- AC_CANONICAL_TARGET
  52412. +m4trace:configure.in:7: -1- AC_CANONICAL_HOST
  52413. +m4trace:configure.in:7: -1- AC_CANONICAL_BUILD
  52414. +m4trace:configure.in:7: -1- AC_REQUIRE_AUX_FILE([config.sub])
  52415. +m4trace:configure.in:7: -1- AC_REQUIRE_AUX_FILE([config.guess])
  52416. +m4trace:configure.in:7: -1- AC_SUBST([build], [$ac_cv_build])
  52417. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([build])
  52418. +m4trace:configure.in:7: -1- m4_pattern_allow([^build$])
  52419. +m4trace:configure.in:7: -1- AC_SUBST([build_cpu], [$[1]])
  52420. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_cpu])
  52421. +m4trace:configure.in:7: -1- m4_pattern_allow([^build_cpu$])
  52422. +m4trace:configure.in:7: -1- AC_SUBST([build_vendor], [$[2]])
  52423. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_vendor])
  52424. +m4trace:configure.in:7: -1- m4_pattern_allow([^build_vendor$])
  52425. +m4trace:configure.in:7: -1- AC_SUBST([build_os])
  52426. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_os])
  52427. +m4trace:configure.in:7: -1- m4_pattern_allow([^build_os$])
  52428. +m4trace:configure.in:7: -1- AC_SUBST([host], [$ac_cv_host])
  52429. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([host])
  52430. +m4trace:configure.in:7: -1- m4_pattern_allow([^host$])
  52431. +m4trace:configure.in:7: -1- AC_SUBST([host_cpu], [$[1]])
  52432. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_cpu])
  52433. +m4trace:configure.in:7: -1- m4_pattern_allow([^host_cpu$])
  52434. +m4trace:configure.in:7: -1- AC_SUBST([host_vendor], [$[2]])
  52435. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_vendor])
  52436. +m4trace:configure.in:7: -1- m4_pattern_allow([^host_vendor$])
  52437. +m4trace:configure.in:7: -1- AC_SUBST([host_os])
  52438. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_os])
  52439. +m4trace:configure.in:7: -1- m4_pattern_allow([^host_os$])
  52440. +m4trace:configure.in:7: -1- AC_SUBST([target], [$ac_cv_target])
  52441. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([target])
  52442. +m4trace:configure.in:7: -1- m4_pattern_allow([^target$])
  52443. +m4trace:configure.in:7: -1- AC_SUBST([target_cpu], [$[1]])
  52444. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_cpu])
  52445. +m4trace:configure.in:7: -1- m4_pattern_allow([^target_cpu$])
  52446. +m4trace:configure.in:7: -1- AC_SUBST([target_vendor], [$[2]])
  52447. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_vendor])
  52448. +m4trace:configure.in:7: -1- m4_pattern_allow([^target_vendor$])
  52449. +m4trace:configure.in:7: -1- AC_SUBST([target_os])
  52450. +m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_os])
  52451. +m4trace:configure.in:7: -1- m4_pattern_allow([^target_os$])
  52452. +m4trace:configure.in:8: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
  52453. +You should run autoupdate.], [../../lib/autoconf/specific.m4:464: AC_ISC_POSIX is expanded from...
  52454. +configure.in:8: the top level])
  52455. +m4trace:configure.in:8: -1- AC_SUBST([CC])
  52456. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC])
  52457. +m4trace:configure.in:8: -1- m4_pattern_allow([^CC$])
  52458. +m4trace:configure.in:8: -1- AC_SUBST([CFLAGS])
  52459. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CFLAGS])
  52460. +m4trace:configure.in:8: -1- m4_pattern_allow([^CFLAGS$])
  52461. +m4trace:configure.in:8: -1- AC_SUBST([LDFLAGS])
  52462. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([LDFLAGS])
  52463. +m4trace:configure.in:8: -1- m4_pattern_allow([^LDFLAGS$])
  52464. +m4trace:configure.in:8: -1- AC_SUBST([LIBS])
  52465. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([LIBS])
  52466. +m4trace:configure.in:8: -1- m4_pattern_allow([^LIBS$])
  52467. +m4trace:configure.in:8: -1- AC_SUBST([CPPFLAGS])
  52468. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CPPFLAGS])
  52469. +m4trace:configure.in:8: -1- m4_pattern_allow([^CPPFLAGS$])
  52470. +m4trace:configure.in:8: -1- AC_SUBST([CC])
  52471. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC])
  52472. +m4trace:configure.in:8: -1- m4_pattern_allow([^CC$])
  52473. +m4trace:configure.in:8: -1- AC_SUBST([CC])
  52474. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC])
  52475. +m4trace:configure.in:8: -1- m4_pattern_allow([^CC$])
  52476. +m4trace:configure.in:8: -1- AC_SUBST([CC])
  52477. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC])
  52478. +m4trace:configure.in:8: -1- m4_pattern_allow([^CC$])
  52479. +m4trace:configure.in:8: -1- AC_SUBST([CC])
  52480. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([CC])
  52481. +m4trace:configure.in:8: -1- m4_pattern_allow([^CC$])
  52482. +m4trace:configure.in:8: -1- AC_SUBST([ac_ct_CC])
  52483. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([ac_ct_CC])
  52484. +m4trace:configure.in:8: -1- m4_pattern_allow([^ac_ct_CC$])
  52485. +m4trace:configure.in:8: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
  52486. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([EXEEXT])
  52487. +m4trace:configure.in:8: -1- m4_pattern_allow([^EXEEXT$])
  52488. +m4trace:configure.in:8: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
  52489. +m4trace:configure.in:8: -1- AC_SUBST_TRACE([OBJEXT])
  52490. +m4trace:configure.in:8: -1- m4_pattern_allow([^OBJEXT$])
  52491. +m4trace:configure.in:13: -1- AM_INIT_AUTOMAKE([ld], [${BFD_VERSION}])
  52492. +m4trace:configure.in:13: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  52493. +m4trace:configure.in:13: -1- AM_AUTOMAKE_VERSION([1.11.1])
  52494. +m4trace:configure.in:13: -1- AC_REQUIRE_AUX_FILE([install-sh])
  52495. +m4trace:configure.in:13: -1- AC_SUBST([INSTALL_PROGRAM])
  52496. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  52497. +m4trace:configure.in:13: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  52498. +m4trace:configure.in:13: -1- AC_SUBST([INSTALL_SCRIPT])
  52499. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
  52500. +m4trace:configure.in:13: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  52501. +m4trace:configure.in:13: -1- AC_SUBST([INSTALL_DATA])
  52502. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([INSTALL_DATA])
  52503. +m4trace:configure.in:13: -1- m4_pattern_allow([^INSTALL_DATA$])
  52504. +m4trace:configure.in:13: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
  52505. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__isrc])
  52506. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__isrc$])
  52507. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([am__isrc])
  52508. +m4trace:configure.in:13: -1- AC_SUBST([CYGPATH_W])
  52509. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([CYGPATH_W])
  52510. +m4trace:configure.in:13: -1- m4_pattern_allow([^CYGPATH_W$])
  52511. +m4trace:configure.in:13: -1- AC_SUBST([PACKAGE], [ld])
  52512. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([PACKAGE])
  52513. +m4trace:configure.in:13: -1- m4_pattern_allow([^PACKAGE$])
  52514. +m4trace:configure.in:13: -1- AC_SUBST([VERSION], [${BFD_VERSION}])
  52515. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([VERSION])
  52516. +m4trace:configure.in:13: -1- m4_pattern_allow([^VERSION$])
  52517. +m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
  52518. +m4trace:configure.in:13: -1- m4_pattern_allow([^PACKAGE$])
  52519. +m4trace:configure.in:13: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
  52520. +@%:@undef PACKAGE])
  52521. +m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
  52522. +m4trace:configure.in:13: -1- m4_pattern_allow([^VERSION$])
  52523. +m4trace:configure.in:13: -1- AH_OUTPUT([VERSION], [/* Version number of package */
  52524. +@%:@undef VERSION])
  52525. +m4trace:configure.in:13: -1- AC_REQUIRE_AUX_FILE([missing])
  52526. +m4trace:configure.in:13: -1- AC_SUBST([ACLOCAL])
  52527. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([ACLOCAL])
  52528. +m4trace:configure.in:13: -1- m4_pattern_allow([^ACLOCAL$])
  52529. +m4trace:configure.in:13: -1- AC_SUBST([AUTOCONF])
  52530. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AUTOCONF])
  52531. +m4trace:configure.in:13: -1- m4_pattern_allow([^AUTOCONF$])
  52532. +m4trace:configure.in:13: -1- AC_SUBST([AUTOMAKE])
  52533. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AUTOMAKE])
  52534. +m4trace:configure.in:13: -1- m4_pattern_allow([^AUTOMAKE$])
  52535. +m4trace:configure.in:13: -1- AC_SUBST([AUTOHEADER])
  52536. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AUTOHEADER])
  52537. +m4trace:configure.in:13: -1- m4_pattern_allow([^AUTOHEADER$])
  52538. +m4trace:configure.in:13: -1- AC_SUBST([MAKEINFO])
  52539. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([MAKEINFO])
  52540. +m4trace:configure.in:13: -1- m4_pattern_allow([^MAKEINFO$])
  52541. +m4trace:configure.in:13: -1- AC_SUBST([install_sh])
  52542. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([install_sh])
  52543. +m4trace:configure.in:13: -1- m4_pattern_allow([^install_sh$])
  52544. +m4trace:configure.in:13: -1- AC_SUBST([STRIP])
  52545. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([STRIP])
  52546. +m4trace:configure.in:13: -1- m4_pattern_allow([^STRIP$])
  52547. +m4trace:configure.in:13: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
  52548. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
  52549. +m4trace:configure.in:13: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  52550. +m4trace:configure.in:13: -1- AC_REQUIRE_AUX_FILE([install-sh])
  52551. +m4trace:configure.in:13: -1- AC_SUBST([MKDIR_P])
  52552. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([MKDIR_P])
  52553. +m4trace:configure.in:13: -1- m4_pattern_allow([^MKDIR_P$])
  52554. +m4trace:configure.in:13: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
  52555. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([mkdir_p])
  52556. +m4trace:configure.in:13: -1- m4_pattern_allow([^mkdir_p$])
  52557. +m4trace:configure.in:13: -1- AC_SUBST([AWK])
  52558. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AWK])
  52559. +m4trace:configure.in:13: -1- m4_pattern_allow([^AWK$])
  52560. +m4trace:configure.in:13: -1- AC_SUBST([SET_MAKE])
  52561. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([SET_MAKE])
  52562. +m4trace:configure.in:13: -1- m4_pattern_allow([^SET_MAKE$])
  52563. +m4trace:configure.in:13: -1- AC_SUBST([am__leading_dot])
  52564. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__leading_dot])
  52565. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__leading_dot$])
  52566. +m4trace:configure.in:13: -1- AC_SUBST([AMTAR])
  52567. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AMTAR])
  52568. +m4trace:configure.in:13: -1- m4_pattern_allow([^AMTAR$])
  52569. +m4trace:configure.in:13: -1- AC_SUBST([am__tar])
  52570. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__tar])
  52571. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__tar$])
  52572. +m4trace:configure.in:13: -1- AC_SUBST([am__untar])
  52573. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__untar])
  52574. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__untar$])
  52575. +m4trace:configure.in:13: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
  52576. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([DEPDIR])
  52577. +m4trace:configure.in:13: -1- m4_pattern_allow([^DEPDIR$])
  52578. +m4trace:configure.in:13: -1- AC_SUBST([am__include])
  52579. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__include])
  52580. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__include$])
  52581. +m4trace:configure.in:13: -1- AC_SUBST([am__quote])
  52582. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__quote])
  52583. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__quote$])
  52584. +m4trace:configure.in:13: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  52585. +m4trace:configure.in:13: -1- AC_SUBST([AMDEP_TRUE])
  52586. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AMDEP_TRUE])
  52587. +m4trace:configure.in:13: -1- m4_pattern_allow([^AMDEP_TRUE$])
  52588. +m4trace:configure.in:13: -1- AC_SUBST([AMDEP_FALSE])
  52589. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AMDEP_FALSE])
  52590. +m4trace:configure.in:13: -1- m4_pattern_allow([^AMDEP_FALSE$])
  52591. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
  52592. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
  52593. +m4trace:configure.in:13: -1- AC_SUBST([AMDEPBACKSLASH])
  52594. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
  52595. +m4trace:configure.in:13: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
  52596. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
  52597. +m4trace:configure.in:13: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
  52598. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([CCDEPMODE])
  52599. +m4trace:configure.in:13: -1- m4_pattern_allow([^CCDEPMODE$])
  52600. +m4trace:configure.in:13: -1- AM_CONDITIONAL([am__fastdepCC], [
  52601. + test "x$enable_dependency_tracking" != xno \
  52602. + && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
  52603. +m4trace:configure.in:13: -1- AC_SUBST([am__fastdepCC_TRUE])
  52604. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
  52605. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
  52606. +m4trace:configure.in:13: -1- AC_SUBST([am__fastdepCC_FALSE])
  52607. +m4trace:configure.in:13: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
  52608. +m4trace:configure.in:13: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
  52609. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
  52610. +m4trace:configure.in:13: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
  52611. +m4trace:configure.in:14: -1- AM_MAINTAINER_MODE
  52612. +m4trace:configure.in:14: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  52613. +m4trace:configure.in:14: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
  52614. +m4trace:configure.in:14: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
  52615. +m4trace:configure.in:14: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
  52616. +m4trace:configure.in:14: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
  52617. +m4trace:configure.in:14: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
  52618. +m4trace:configure.in:14: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
  52619. +m4trace:configure.in:14: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
  52620. +m4trace:configure.in:14: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
  52621. +m4trace:configure.in:14: -1- AC_SUBST([MAINT])
  52622. +m4trace:configure.in:14: -1- AC_SUBST_TRACE([MAINT])
  52623. +m4trace:configure.in:14: -1- m4_pattern_allow([^MAINT$])
  52624. +m4trace:configure.in:68: -1- AC_SUBST([use_sysroot])
  52625. +m4trace:configure.in:68: -1- AC_SUBST_TRACE([use_sysroot])
  52626. +m4trace:configure.in:68: -1- m4_pattern_allow([^use_sysroot$])
  52627. +m4trace:configure.in:69: -1- AC_SUBST([TARGET_SYSTEM_ROOT])
  52628. +m4trace:configure.in:69: -1- AC_SUBST_TRACE([TARGET_SYSTEM_ROOT])
  52629. +m4trace:configure.in:69: -1- m4_pattern_allow([^TARGET_SYSTEM_ROOT$])
  52630. +m4trace:configure.in:70: -1- AC_SUBST([TARGET_SYSTEM_ROOT_DEFINE])
  52631. +m4trace:configure.in:70: -1- AC_SUBST_TRACE([TARGET_SYSTEM_ROOT_DEFINE])
  52632. +m4trace:configure.in:70: -1- m4_pattern_allow([^TARGET_SYSTEM_ROOT_DEFINE$])
  52633. +m4trace:configure.in:92: -1- AC_SUBST([install_as_default])
  52634. +m4trace:configure.in:92: -1- AC_SUBST_TRACE([install_as_default])
  52635. +m4trace:configure.in:92: -1- m4_pattern_allow([^install_as_default$])
  52636. +m4trace:configure.in:93: -1- AC_SUBST([installed_linker])
  52637. +m4trace:configure.in:93: -1- AC_SUBST_TRACE([installed_linker])
  52638. +m4trace:configure.in:93: -1- m4_pattern_allow([^installed_linker$])
  52639. +m4trace:configure.in:106: -1- AC_DEFINE_TRACE_LITERAL([GOT_HANDLING_DEFAULT])
  52640. +m4trace:configure.in:106: -1- m4_pattern_allow([^GOT_HANDLING_DEFAULT$])
  52641. +m4trace:configure.in:106: -1- AH_OUTPUT([GOT_HANDLING_DEFAULT], [/* Define to choose default GOT handling scheme */
  52642. +@%:@undef GOT_HANDLING_DEFAULT])
  52643. +m4trace:configure.in:109: -1- AC_DEFINE_TRACE_LITERAL([GOT_HANDLING_DEFAULT])
  52644. +m4trace:configure.in:109: -1- m4_pattern_allow([^GOT_HANDLING_DEFAULT$])
  52645. +m4trace:configure.in:109: -1- AH_OUTPUT([GOT_HANDLING_DEFAULT], [/* Define to choose default GOT handling scheme */
  52646. +@%:@undef GOT_HANDLING_DEFAULT])
  52647. +m4trace:configure.in:112: -1- AC_DEFINE_TRACE_LITERAL([GOT_HANDLING_DEFAULT])
  52648. +m4trace:configure.in:112: -1- m4_pattern_allow([^GOT_HANDLING_DEFAULT$])
  52649. +m4trace:configure.in:112: -1- AH_OUTPUT([GOT_HANDLING_DEFAULT], [/* Define to choose default GOT handling scheme */
  52650. +@%:@undef GOT_HANDLING_DEFAULT])
  52651. +m4trace:configure.in:115: -1- AC_DEFINE_TRACE_LITERAL([GOT_HANDLING_DEFAULT])
  52652. +m4trace:configure.in:115: -1- m4_pattern_allow([^GOT_HANDLING_DEFAULT$])
  52653. +m4trace:configure.in:115: -1- AH_OUTPUT([GOT_HANDLING_DEFAULT], [/* Define to choose default GOT handling scheme */
  52654. +@%:@undef GOT_HANDLING_DEFAULT])
  52655. +m4trace:configure.in:120: -1- AC_SUBST([CPP])
  52656. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([CPP])
  52657. +m4trace:configure.in:120: -1- m4_pattern_allow([^CPP$])
  52658. +m4trace:configure.in:120: -1- AC_SUBST([CPPFLAGS])
  52659. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([CPPFLAGS])
  52660. +m4trace:configure.in:120: -1- m4_pattern_allow([^CPPFLAGS$])
  52661. +m4trace:configure.in:120: -1- AC_SUBST([CPP])
  52662. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([CPP])
  52663. +m4trace:configure.in:120: -1- m4_pattern_allow([^CPP$])
  52664. +m4trace:configure.in:120: -1- AC_SUBST([GREP])
  52665. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([GREP])
  52666. +m4trace:configure.in:120: -1- m4_pattern_allow([^GREP$])
  52667. +m4trace:configure.in:120: -1- AC_SUBST([EGREP])
  52668. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([EGREP])
  52669. +m4trace:configure.in:120: -1- m4_pattern_allow([^EGREP$])
  52670. +m4trace:configure.in:120: -1- AC_SUBST([WARN_CFLAGS])
  52671. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([WARN_CFLAGS])
  52672. +m4trace:configure.in:120: -1- m4_pattern_allow([^WARN_CFLAGS$])
  52673. +m4trace:configure.in:120: -1- AC_SUBST([NO_WERROR])
  52674. +m4trace:configure.in:120: -1- AC_SUBST_TRACE([NO_WERROR])
  52675. +m4trace:configure.in:120: -1- m4_pattern_allow([^NO_WERROR$])
  52676. +m4trace:configure.in:122: -1- AC_CONFIG_HEADERS([config.h:config.in])
  52677. +m4trace:configure.in:133: -1- AC_SUBST([CC])
  52678. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CC])
  52679. +m4trace:configure.in:133: -1- m4_pattern_allow([^CC$])
  52680. +m4trace:configure.in:133: -1- AC_SUBST([CFLAGS])
  52681. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CFLAGS])
  52682. +m4trace:configure.in:133: -1- m4_pattern_allow([^CFLAGS$])
  52683. +m4trace:configure.in:133: -1- AC_SUBST([LDFLAGS])
  52684. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([LDFLAGS])
  52685. +m4trace:configure.in:133: -1- m4_pattern_allow([^LDFLAGS$])
  52686. +m4trace:configure.in:133: -1- AC_SUBST([LIBS])
  52687. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([LIBS])
  52688. +m4trace:configure.in:133: -1- m4_pattern_allow([^LIBS$])
  52689. +m4trace:configure.in:133: -1- AC_SUBST([CPPFLAGS])
  52690. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CPPFLAGS])
  52691. +m4trace:configure.in:133: -1- m4_pattern_allow([^CPPFLAGS$])
  52692. +m4trace:configure.in:133: -1- AC_SUBST([CC])
  52693. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CC])
  52694. +m4trace:configure.in:133: -1- m4_pattern_allow([^CC$])
  52695. +m4trace:configure.in:133: -1- AC_SUBST([CC])
  52696. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CC])
  52697. +m4trace:configure.in:133: -1- m4_pattern_allow([^CC$])
  52698. +m4trace:configure.in:133: -1- AC_SUBST([CC])
  52699. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CC])
  52700. +m4trace:configure.in:133: -1- m4_pattern_allow([^CC$])
  52701. +m4trace:configure.in:133: -1- AC_SUBST([CC])
  52702. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([CC])
  52703. +m4trace:configure.in:133: -1- m4_pattern_allow([^CC$])
  52704. +m4trace:configure.in:133: -1- AC_SUBST([ac_ct_CC])
  52705. +m4trace:configure.in:133: -1- AC_SUBST_TRACE([ac_ct_CC])
  52706. +m4trace:configure.in:133: -1- m4_pattern_allow([^ac_ct_CC$])
  52707. +m4trace:configure.in:134: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete.
  52708. +You should run autoupdate.], [../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
  52709. +configure.in:134: the top level])
  52710. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
  52711. +m4trace:configure.in:134: -1- m4_pattern_allow([^STDC_HEADERS$])
  52712. +m4trace:configure.in:134: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
  52713. +@%:@undef STDC_HEADERS])
  52714. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
  52715. +@%:@undef HAVE_SYS_TYPES_H])
  52716. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  52717. +@%:@undef HAVE_SYS_STAT_H])
  52718. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  52719. +@%:@undef HAVE_STDLIB_H])
  52720. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  52721. +@%:@undef HAVE_STRING_H])
  52722. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
  52723. +@%:@undef HAVE_MEMORY_H])
  52724. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  52725. +@%:@undef HAVE_STRINGS_H])
  52726. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  52727. +@%:@undef HAVE_INTTYPES_H])
  52728. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  52729. +@%:@undef HAVE_STDINT_H])
  52730. +m4trace:configure.in:134: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  52731. +@%:@undef HAVE_UNISTD_H])
  52732. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_SOURCE])
  52733. +m4trace:configure.in:134: -1- m4_pattern_allow([^_POSIX_SOURCE$])
  52734. +m4trace:configure.in:134: -1- AH_OUTPUT([_POSIX_SOURCE], [/* Define to 1 if you need to in order for `stat\' and other things to work. */
  52735. +@%:@undef _POSIX_SOURCE])
  52736. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_1_SOURCE])
  52737. +m4trace:configure.in:134: -1- m4_pattern_allow([^_POSIX_1_SOURCE$])
  52738. +m4trace:configure.in:134: -1- AH_OUTPUT([_POSIX_1_SOURCE], [/* Define to 2 if the system does not provide POSIX.1 features except with
  52739. + this defined. */
  52740. +@%:@undef _POSIX_1_SOURCE])
  52741. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_MINIX])
  52742. +m4trace:configure.in:134: -1- m4_pattern_allow([^_MINIX$])
  52743. +m4trace:configure.in:134: -1- AH_OUTPUT([_MINIX], [/* Define to 1 if on MINIX. */
  52744. +@%:@undef _MINIX])
  52745. +m4trace:configure.in:134: -1- AH_OUTPUT([USE_SYSTEM_EXTENSIONS], [/* Enable extensions on AIX 3, Interix. */
  52746. +#ifndef _ALL_SOURCE
  52747. +# undef _ALL_SOURCE
  52748. +#endif
  52749. +/* Enable GNU extensions on systems that have them. */
  52750. +#ifndef _GNU_SOURCE
  52751. +# undef _GNU_SOURCE
  52752. +#endif
  52753. +/* Enable threading extensions on Solaris. */
  52754. +#ifndef _POSIX_PTHREAD_SEMANTICS
  52755. +# undef _POSIX_PTHREAD_SEMANTICS
  52756. +#endif
  52757. +/* Enable extensions on HP NonStop. */
  52758. +#ifndef _TANDEM_SOURCE
  52759. +# undef _TANDEM_SOURCE
  52760. +#endif
  52761. +/* Enable general extensions on Solaris. */
  52762. +#ifndef __EXTENSIONS__
  52763. +# undef __EXTENSIONS__
  52764. +#endif
  52765. +])
  52766. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([__EXTENSIONS__])
  52767. +m4trace:configure.in:134: -1- m4_pattern_allow([^__EXTENSIONS__$])
  52768. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_ALL_SOURCE])
  52769. +m4trace:configure.in:134: -1- m4_pattern_allow([^_ALL_SOURCE$])
  52770. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_GNU_SOURCE])
  52771. +m4trace:configure.in:134: -1- m4_pattern_allow([^_GNU_SOURCE$])
  52772. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_POSIX_PTHREAD_SEMANTICS])
  52773. +m4trace:configure.in:134: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$])
  52774. +m4trace:configure.in:134: -1- AC_DEFINE_TRACE_LITERAL([_TANDEM_SOURCE])
  52775. +m4trace:configure.in:134: -1- m4_pattern_allow([^_TANDEM_SOURCE$])
  52776. +m4trace:configure.in:136: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
  52777. +m4trace:configure.in:136: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
  52778. +m4trace:configure.in:136: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
  52779. +@%:@undef _FILE_OFFSET_BITS])
  52780. +m4trace:configure.in:136: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
  52781. +m4trace:configure.in:136: -1- m4_pattern_allow([^_LARGE_FILES$])
  52782. +m4trace:configure.in:136: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
  52783. +@%:@undef _LARGE_FILES])
  52784. +m4trace:configure.in:139: -1- LT_INIT
  52785. +m4trace:configure.in:139: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
  52786. +m4trace:configure.in:139: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
  52787. +m4trace:configure.in:139: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  52788. +m4trace:configure.in:139: -1- AC_SUBST([LIBTOOL])
  52789. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([LIBTOOL])
  52790. +m4trace:configure.in:139: -1- m4_pattern_allow([^LIBTOOL$])
  52791. +m4trace:configure.in:139: -1- AC_SUBST([SED])
  52792. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([SED])
  52793. +m4trace:configure.in:139: -1- m4_pattern_allow([^SED$])
  52794. +m4trace:configure.in:139: -1- AC_SUBST([FGREP])
  52795. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([FGREP])
  52796. +m4trace:configure.in:139: -1- m4_pattern_allow([^FGREP$])
  52797. +m4trace:configure.in:139: -1- AC_SUBST([GREP])
  52798. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([GREP])
  52799. +m4trace:configure.in:139: -1- m4_pattern_allow([^GREP$])
  52800. +m4trace:configure.in:139: -1- AC_SUBST([LD])
  52801. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([LD])
  52802. +m4trace:configure.in:139: -1- m4_pattern_allow([^LD$])
  52803. +m4trace:configure.in:139: -1- AC_SUBST([DUMPBIN])
  52804. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([DUMPBIN])
  52805. +m4trace:configure.in:139: -1- m4_pattern_allow([^DUMPBIN$])
  52806. +m4trace:configure.in:139: -1- AC_SUBST([ac_ct_DUMPBIN])
  52807. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([ac_ct_DUMPBIN])
  52808. +m4trace:configure.in:139: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
  52809. +m4trace:configure.in:139: -1- AC_SUBST([DUMPBIN])
  52810. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([DUMPBIN])
  52811. +m4trace:configure.in:139: -1- m4_pattern_allow([^DUMPBIN$])
  52812. +m4trace:configure.in:139: -1- AC_SUBST([NM])
  52813. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([NM])
  52814. +m4trace:configure.in:139: -1- m4_pattern_allow([^NM$])
  52815. +m4trace:configure.in:139: -1- AC_SUBST([LN_S], [$as_ln_s])
  52816. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([LN_S])
  52817. +m4trace:configure.in:139: -1- m4_pattern_allow([^LN_S$])
  52818. +m4trace:configure.in:139: -1- AC_SUBST([OBJDUMP])
  52819. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([OBJDUMP])
  52820. +m4trace:configure.in:139: -1- m4_pattern_allow([^OBJDUMP$])
  52821. +m4trace:configure.in:139: -1- AC_SUBST([OBJDUMP])
  52822. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([OBJDUMP])
  52823. +m4trace:configure.in:139: -1- m4_pattern_allow([^OBJDUMP$])
  52824. +m4trace:configure.in:139: -1- AC_SUBST([AR])
  52825. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([AR])
  52826. +m4trace:configure.in:139: -1- m4_pattern_allow([^AR$])
  52827. +m4trace:configure.in:139: -1- AC_SUBST([STRIP])
  52828. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([STRIP])
  52829. +m4trace:configure.in:139: -1- m4_pattern_allow([^STRIP$])
  52830. +m4trace:configure.in:139: -1- AC_SUBST([RANLIB])
  52831. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([RANLIB])
  52832. +m4trace:configure.in:139: -1- m4_pattern_allow([^RANLIB$])
  52833. +m4trace:configure.in:139: -1- m4_pattern_allow([LT_OBJDIR])
  52834. +m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([LT_OBJDIR])
  52835. +m4trace:configure.in:139: -1- m4_pattern_allow([^LT_OBJDIR$])
  52836. +m4trace:configure.in:139: -1- AH_OUTPUT([LT_OBJDIR], [/* Define to the sub-directory in which libtool stores uninstalled libraries.
  52837. + */
  52838. +@%:@undef LT_OBJDIR])
  52839. +m4trace:configure.in:139: -1- LT_SUPPORTED_TAG([CC])
  52840. +m4trace:configure.in:139: -1- AC_SUBST([DSYMUTIL])
  52841. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([DSYMUTIL])
  52842. +m4trace:configure.in:139: -1- m4_pattern_allow([^DSYMUTIL$])
  52843. +m4trace:configure.in:139: -1- AC_SUBST([NMEDIT])
  52844. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([NMEDIT])
  52845. +m4trace:configure.in:139: -1- m4_pattern_allow([^NMEDIT$])
  52846. +m4trace:configure.in:139: -1- AC_SUBST([LIPO])
  52847. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([LIPO])
  52848. +m4trace:configure.in:139: -1- m4_pattern_allow([^LIPO$])
  52849. +m4trace:configure.in:139: -1- AC_SUBST([OTOOL])
  52850. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([OTOOL])
  52851. +m4trace:configure.in:139: -1- m4_pattern_allow([^OTOOL$])
  52852. +m4trace:configure.in:139: -1- AC_SUBST([OTOOL64])
  52853. +m4trace:configure.in:139: -1- AC_SUBST_TRACE([OTOOL64])
  52854. +m4trace:configure.in:139: -1- m4_pattern_allow([^OTOOL64$])
  52855. +m4trace:configure.in:139: -1- AH_OUTPUT([HAVE_DLFCN_H], [/* Define to 1 if you have the <dlfcn.h> header file. */
  52856. +@%:@undef HAVE_DLFCN_H])
  52857. +m4trace:configure.in:139: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DLFCN_H])
  52858. +m4trace:configure.in:139: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
  52859. +m4trace:configure.in:142: -1- AC_SUBST([USE_NLS])
  52860. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([USE_NLS])
  52861. +m4trace:configure.in:142: -1- m4_pattern_allow([^USE_NLS$])
  52862. +m4trace:configure.in:142: -1- AC_SUBST([LIBINTL])
  52863. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([LIBINTL])
  52864. +m4trace:configure.in:142: -1- m4_pattern_allow([^LIBINTL$])
  52865. +m4trace:configure.in:142: -1- AC_SUBST([LIBINTL_DEP])
  52866. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([LIBINTL_DEP])
  52867. +m4trace:configure.in:142: -1- m4_pattern_allow([^LIBINTL_DEP$])
  52868. +m4trace:configure.in:142: -1- AC_SUBST([INCINTL])
  52869. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([INCINTL])
  52870. +m4trace:configure.in:142: -1- m4_pattern_allow([^INCINTL$])
  52871. +m4trace:configure.in:142: -1- AC_SUBST([XGETTEXT])
  52872. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([XGETTEXT])
  52873. +m4trace:configure.in:142: -1- m4_pattern_allow([^XGETTEXT$])
  52874. +m4trace:configure.in:142: -1- AC_SUBST([GMSGFMT])
  52875. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([GMSGFMT])
  52876. +m4trace:configure.in:142: -1- m4_pattern_allow([^GMSGFMT$])
  52877. +m4trace:configure.in:142: -1- AC_SUBST([POSUB])
  52878. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([POSUB])
  52879. +m4trace:configure.in:142: -1- m4_pattern_allow([^POSUB$])
  52880. +m4trace:configure.in:142: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS])
  52881. +m4trace:configure.in:142: -1- m4_pattern_allow([^ENABLE_NLS$])
  52882. +m4trace:configure.in:142: -1- AH_OUTPUT([ENABLE_NLS], [/* Define to 1 if translation of program messages to the user\'s native
  52883. + language is requested. */
  52884. +@%:@undef ENABLE_NLS])
  52885. +m4trace:configure.in:142: -1- AC_SUBST([CATALOGS])
  52886. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([CATALOGS])
  52887. +m4trace:configure.in:142: -1- m4_pattern_allow([^CATALOGS$])
  52888. +m4trace:configure.in:142: -1- AC_SUBST([DATADIRNAME])
  52889. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([DATADIRNAME])
  52890. +m4trace:configure.in:142: -1- m4_pattern_allow([^DATADIRNAME$])
  52891. +m4trace:configure.in:142: -1- AC_SUBST([INSTOBJEXT])
  52892. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([INSTOBJEXT])
  52893. +m4trace:configure.in:142: -1- m4_pattern_allow([^INSTOBJEXT$])
  52894. +m4trace:configure.in:142: -1- AC_SUBST([GENCAT])
  52895. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([GENCAT])
  52896. +m4trace:configure.in:142: -1- m4_pattern_allow([^GENCAT$])
  52897. +m4trace:configure.in:142: -1- AC_SUBST([CATOBJEXT])
  52898. +m4trace:configure.in:142: -1- AC_SUBST_TRACE([CATOBJEXT])
  52899. +m4trace:configure.in:142: -1- m4_pattern_allow([^CATOBJEXT$])
  52900. +m4trace:configure.in:143: -1- AC_SUBST([MKINSTALLDIRS])
  52901. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([MKINSTALLDIRS])
  52902. +m4trace:configure.in:143: -1- m4_pattern_allow([^MKINSTALLDIRS$])
  52903. +m4trace:configure.in:143: -1- AC_SUBST([USE_NLS])
  52904. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([USE_NLS])
  52905. +m4trace:configure.in:143: -1- m4_pattern_allow([^USE_NLS$])
  52906. +m4trace:configure.in:143: -1- AC_SUBST([MSGFMT])
  52907. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([MSGFMT])
  52908. +m4trace:configure.in:143: -1- m4_pattern_allow([^MSGFMT$])
  52909. +m4trace:configure.in:143: -1- AC_SUBST([GMSGFMT])
  52910. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([GMSGFMT])
  52911. +m4trace:configure.in:143: -1- m4_pattern_allow([^GMSGFMT$])
  52912. +m4trace:configure.in:143: -1- AC_SUBST([XGETTEXT])
  52913. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([XGETTEXT])
  52914. +m4trace:configure.in:143: -1- m4_pattern_allow([^XGETTEXT$])
  52915. +m4trace:configure.in:143: -1- AC_SUBST([MSGMERGE])
  52916. +m4trace:configure.in:143: -1- AC_SUBST_TRACE([MSGMERGE])
  52917. +m4trace:configure.in:143: -1- m4_pattern_allow([^MSGMERGE$])
  52918. +m4trace:configure.in:143: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
  52919. +You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from...
  52920. +../config/po.m4:23: AM_PO_SUBDIRS is expanded from...
  52921. +configure.in:143: the top level])
  52922. +m4trace:configure.in:147: -1- AC_SUBST([YACC])
  52923. +m4trace:configure.in:147: -1- AC_SUBST_TRACE([YACC])
  52924. +m4trace:configure.in:147: -1- m4_pattern_allow([^YACC$])
  52925. +m4trace:configure.in:147: -1- AC_SUBST([YACC])
  52926. +m4trace:configure.in:147: -1- AC_SUBST_TRACE([YACC])
  52927. +m4trace:configure.in:147: -1- m4_pattern_allow([^YACC$])
  52928. +m4trace:configure.in:147: -1- AC_SUBST([YFLAGS])
  52929. +m4trace:configure.in:147: -1- AC_SUBST_TRACE([YFLAGS])
  52930. +m4trace:configure.in:147: -1- m4_pattern_allow([^YFLAGS$])
  52931. +m4trace:configure.in:148: -1- AC_SUBST([LEX])
  52932. +m4trace:configure.in:148: -1- AC_SUBST_TRACE([LEX])
  52933. +m4trace:configure.in:148: -1- m4_pattern_allow([^LEX$])
  52934. +m4trace:configure.in:148: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
  52935. +m4trace:configure.in:148: -1- AC_SUBST_TRACE([LEX_OUTPUT_ROOT])
  52936. +m4trace:configure.in:148: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
  52937. +m4trace:configure.in:148: -1- AC_SUBST([LEXLIB])
  52938. +m4trace:configure.in:148: -1- AC_SUBST_TRACE([LEXLIB])
  52939. +m4trace:configure.in:148: -1- m4_pattern_allow([^LEXLIB$])
  52940. +m4trace:configure.in:148: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
  52941. +m4trace:configure.in:148: -1- m4_pattern_allow([^YYTEXT_POINTER$])
  52942. +m4trace:configure.in:148: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
  52943. + `char[]\'. */
  52944. +@%:@undef YYTEXT_POINTER])
  52945. +m4trace:configure.in:150: -1- AM_MAINTAINER_MODE
  52946. +m4trace:configure.in:150: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  52947. +m4trace:configure.in:150: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
  52948. +m4trace:configure.in:150: -1- AC_SUBST_TRACE([MAINTAINER_MODE_TRUE])
  52949. +m4trace:configure.in:150: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$])
  52950. +m4trace:configure.in:150: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
  52951. +m4trace:configure.in:150: -1- AC_SUBST_TRACE([MAINTAINER_MODE_FALSE])
  52952. +m4trace:configure.in:150: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$])
  52953. +m4trace:configure.in:150: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE])
  52954. +m4trace:configure.in:150: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE])
  52955. +m4trace:configure.in:150: -1- AC_SUBST([MAINT])
  52956. +m4trace:configure.in:150: -1- AC_SUBST_TRACE([MAINT])
  52957. +m4trace:configure.in:150: -1- m4_pattern_allow([^MAINT$])
  52958. +m4trace:configure.in:151: -1- AM_CONDITIONAL([GENINSRC_NEVER], [false])
  52959. +m4trace:configure.in:151: -1- AC_SUBST([GENINSRC_NEVER_TRUE])
  52960. +m4trace:configure.in:151: -1- AC_SUBST_TRACE([GENINSRC_NEVER_TRUE])
  52961. +m4trace:configure.in:151: -1- m4_pattern_allow([^GENINSRC_NEVER_TRUE$])
  52962. +m4trace:configure.in:151: -1- AC_SUBST([GENINSRC_NEVER_FALSE])
  52963. +m4trace:configure.in:151: -1- AC_SUBST_TRACE([GENINSRC_NEVER_FALSE])
  52964. +m4trace:configure.in:151: -1- m4_pattern_allow([^GENINSRC_NEVER_FALSE$])
  52965. +m4trace:configure.in:151: -1- _AM_SUBST_NOTMAKE([GENINSRC_NEVER_TRUE])
  52966. +m4trace:configure.in:151: -1- _AM_SUBST_NOTMAKE([GENINSRC_NEVER_FALSE])
  52967. +m4trace:configure.in:152: -1- AC_SUBST([do_compare])
  52968. +m4trace:configure.in:152: -1- AC_SUBST_TRACE([do_compare])
  52969. +m4trace:configure.in:152: -1- m4_pattern_allow([^do_compare$])
  52970. +m4trace:configure.in:156: -1- AC_SUBST([HDEFINES])
  52971. +m4trace:configure.in:156: -1- AC_SUBST_TRACE([HDEFINES])
  52972. +m4trace:configure.in:156: -1- m4_pattern_allow([^HDEFINES$])
  52973. +m4trace:configure.in:157: -1- AC_SUBST([HOSTING_CRT0])
  52974. +m4trace:configure.in:157: -1- AC_SUBST_TRACE([HOSTING_CRT0])
  52975. +m4trace:configure.in:157: -1- m4_pattern_allow([^HOSTING_CRT0$])
  52976. +m4trace:configure.in:158: -1- AC_SUBST([HOSTING_LIBS])
  52977. +m4trace:configure.in:158: -1- AC_SUBST_TRACE([HOSTING_LIBS])
  52978. +m4trace:configure.in:158: -1- m4_pattern_allow([^HOSTING_LIBS$])
  52979. +m4trace:configure.in:159: -1- AC_SUBST([NATIVE_LIB_DIRS])
  52980. +m4trace:configure.in:159: -1- AC_SUBST_TRACE([NATIVE_LIB_DIRS])
  52981. +m4trace:configure.in:159: -1- m4_pattern_allow([^NATIVE_LIB_DIRS$])
  52982. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  52983. +@%:@undef HAVE_STRING_H])
  52984. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  52985. +@%:@undef HAVE_STRINGS_H])
  52986. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  52987. +@%:@undef HAVE_STDLIB_H])
  52988. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  52989. +@%:@undef HAVE_UNISTD_H])
  52990. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_ELF_HINTS_H], [/* Define to 1 if you have the <elf-hints.h> header file. */
  52991. +@%:@undef HAVE_ELF_HINTS_H])
  52992. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
  52993. +@%:@undef HAVE_LIMITS_H])
  52994. +m4trace:configure.in:161: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  52995. +@%:@undef HAVE_SYS_PARAM_H])
  52996. +m4trace:configure.in:162: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
  52997. +@%:@undef HAVE_FCNTL_H])
  52998. +m4trace:configure.in:162: -1- AH_OUTPUT([HAVE_SYS_FILE_H], [/* Define to 1 if you have the <sys/file.h> header file. */
  52999. +@%:@undef HAVE_SYS_FILE_H])
  53000. +m4trace:configure.in:162: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  53001. +@%:@undef HAVE_SYS_TIME_H])
  53002. +m4trace:configure.in:162: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
  53003. +@%:@undef HAVE_SYS_STAT_H])
  53004. +m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_GLOB], [/* Define to 1 if you have the `glob\' function. */
  53005. +@%:@undef HAVE_GLOB])
  53006. +m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_MKSTEMP], [/* Define to 1 if you have the `mkstemp\' function. */
  53007. +@%:@undef HAVE_MKSTEMP])
  53008. +m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
  53009. +@%:@undef HAVE_REALPATH])
  53010. +m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_SBRK], [/* Define to 1 if you have the `sbrk\' function. */
  53011. +@%:@undef HAVE_SBRK])
  53012. +m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_WAITPID], [/* Define to 1 if you have the `waitpid\' function. */
  53013. +@%:@undef HAVE_WAITPID])
  53014. +m4trace:configure.in:164: -1- AH_OUTPUT([HAVE_OPEN], [/* Define to 1 if you have the `open\' function. */
  53015. +@%:@undef HAVE_OPEN])
  53016. +m4trace:configure.in:164: -1- AH_OUTPUT([HAVE_LSEEK], [/* Define to 1 if you have the `lseek\' function. */
  53017. +@%:@undef HAVE_LSEEK])
  53018. +m4trace:configure.in:164: -1- AH_OUTPUT([HAVE_CLOSE], [/* Define to 1 if you have the `close\' function. */
  53019. +@%:@undef HAVE_CLOSE])
  53020. +m4trace:configure.in:165: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
  53021. + */
  53022. +@%:@undef HAVE_DIRENT_H])
  53023. +m4trace:configure.in:165: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
  53024. + */
  53025. +@%:@undef HAVE_SYS_NDIR_H])
  53026. +m4trace:configure.in:165: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
  53027. + */
  53028. +@%:@undef HAVE_SYS_DIR_H])
  53029. +m4trace:configure.in:165: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
  53030. +@%:@undef HAVE_NDIR_H])
  53031. +m4trace:configure.in:171: -1- AH_OUTPUT([HAVE_DLOPEN], [/* Define to 1 if you have the `dlopen\' function. */
  53032. +@%:@undef HAVE_DLOPEN])
  53033. +m4trace:configure.in:171: -1- AH_OUTPUT([HAVE_DLSYM], [/* Define to 1 if you have the `dlsym\' function. */
  53034. +@%:@undef HAVE_DLSYM])
  53035. +m4trace:configure.in:171: -1- AH_OUTPUT([HAVE_DLCLOSE], [/* Define to 1 if you have the `dlclose\' function. */
  53036. +@%:@undef HAVE_DLCLOSE])
  53037. +m4trace:configure.in:174: -1- AH_OUTPUT([HAVE_WINDOWS_H], [/* Define to 1 if you have the <Windows.h> header file. */
  53038. +@%:@undef HAVE_WINDOWS_H])
  53039. +m4trace:configure.in:174: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WINDOWS_H])
  53040. +m4trace:configure.in:174: -1- m4_pattern_allow([^HAVE_WINDOWS_H$])
  53041. +m4trace:configure.in:176: -1- AM_CONDITIONAL([ENABLE_PLUGINS], [test x$enable_plugins = xyes])
  53042. +m4trace:configure.in:176: -1- AC_SUBST([ENABLE_PLUGINS_TRUE])
  53043. +m4trace:configure.in:176: -1- AC_SUBST_TRACE([ENABLE_PLUGINS_TRUE])
  53044. +m4trace:configure.in:176: -1- m4_pattern_allow([^ENABLE_PLUGINS_TRUE$])
  53045. +m4trace:configure.in:176: -1- AC_SUBST([ENABLE_PLUGINS_FALSE])
  53046. +m4trace:configure.in:176: -1- AC_SUBST_TRACE([ENABLE_PLUGINS_FALSE])
  53047. +m4trace:configure.in:176: -1- m4_pattern_allow([^ENABLE_PLUGINS_FALSE$])
  53048. +m4trace:configure.in:176: -1- _AM_SUBST_NOTMAKE([ENABLE_PLUGINS_TRUE])
  53049. +m4trace:configure.in:176: -1- _AM_SUBST_NOTMAKE([ENABLE_PLUGINS_FALSE])
  53050. +m4trace:configure.in:184: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETOPT])
  53051. +m4trace:configure.in:184: -1- m4_pattern_allow([^HAVE_DECL_GETOPT$])
  53052. +m4trace:configure.in:184: -1- AH_OUTPUT([HAVE_DECL_GETOPT], [/* Is the prototype for getopt in <unistd.h> in the expected format? */
  53053. +@%:@undef HAVE_DECL_GETOPT])
  53054. +m4trace:configure.in:188: -1- AC_DEFINE_TRACE_LITERAL([USE_BINARY_FOPEN])
  53055. +m4trace:configure.in:188: -1- m4_pattern_allow([^USE_BINARY_FOPEN$])
  53056. +m4trace:configure.in:188: -1- AH_OUTPUT([USE_BINARY_FOPEN], [/* Use b modifier when opening binary files? */
  53057. +@%:@undef USE_BINARY_FOPEN])
  53058. +m4trace:configure.in:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_STRSTR])
  53059. +m4trace:configure.in:190: -1- m4_pattern_allow([^HAVE_DECL_STRSTR$])
  53060. +m4trace:configure.in:190: -1- AH_OUTPUT([HAVE_DECL_STRSTR], [/* Define to 1 if you have the declaration of `strstr\', and to 0 if you don\'t.
  53061. + */
  53062. +@%:@undef HAVE_DECL_STRSTR])
  53063. +m4trace:configure.in:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_FREE])
  53064. +m4trace:configure.in:190: -1- m4_pattern_allow([^HAVE_DECL_FREE$])
  53065. +m4trace:configure.in:190: -1- AH_OUTPUT([HAVE_DECL_FREE], [/* Define to 1 if you have the declaration of `free\', and to 0 if you don\'t.
  53066. + */
  53067. +@%:@undef HAVE_DECL_FREE])
  53068. +m4trace:configure.in:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_SBRK])
  53069. +m4trace:configure.in:190: -1- m4_pattern_allow([^HAVE_DECL_SBRK$])
  53070. +m4trace:configure.in:190: -1- AH_OUTPUT([HAVE_DECL_SBRK], [/* Define to 1 if you have the declaration of `sbrk\', and to 0 if you don\'t.
  53071. + */
  53072. +@%:@undef HAVE_DECL_SBRK])
  53073. +m4trace:configure.in:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_GETENV])
  53074. +m4trace:configure.in:190: -1- m4_pattern_allow([^HAVE_DECL_GETENV$])
  53075. +m4trace:configure.in:190: -1- AH_OUTPUT([HAVE_DECL_GETENV], [/* Define to 1 if you have the declaration of `getenv\', and to 0 if you don\'t.
  53076. + */
  53077. +@%:@undef HAVE_DECL_GETENV])
  53078. +m4trace:configure.in:190: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_ENVIRON])
  53079. +m4trace:configure.in:190: -1- m4_pattern_allow([^HAVE_DECL_ENVIRON$])
  53080. +m4trace:configure.in:190: -1- AH_OUTPUT([HAVE_DECL_ENVIRON], [/* Define to 1 if you have the declaration of `environ\', and to 0 if you
  53081. + don\'t. */
  53082. +@%:@undef HAVE_DECL_ENVIRON])
  53083. +m4trace:configure.in:194: -1- AH_OUTPUT([HAVE_ZLIB_H], [/* Define to 1 if you have the <zlib.h> header file. */
  53084. +@%:@undef HAVE_ZLIB_H])
  53085. +m4trace:configure.in:194: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ZLIB_H])
  53086. +m4trace:configure.in:194: -1- m4_pattern_allow([^HAVE_ZLIB_H$])
  53087. +m4trace:configure.in:213: -1- AC_SUBST([STRINGIFY])
  53088. +m4trace:configure.in:213: -1- AC_SUBST_TRACE([STRINGIFY])
  53089. +m4trace:configure.in:213: -1- m4_pattern_allow([^STRINGIFY$])
  53090. +m4trace:configure.in:293: -1- AC_SUBST([EMUL])
  53091. +m4trace:configure.in:293: -1- AC_SUBST_TRACE([EMUL])
  53092. +m4trace:configure.in:293: -1- m4_pattern_allow([^EMUL$])
  53093. +m4trace:configure.in:296: -1- m4_pattern_allow([^TDIRS$])
  53094. +m4trace:configure.in:300: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
  53095. +m4trace:configure.in:300: -1- m4_pattern_allow([^SIZEOF_LONG$])
  53096. +m4trace:configure.in:300: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of `long\', as computed by sizeof. */
  53097. +@%:@undef SIZEOF_LONG])
  53098. +m4trace:configure.in:315: -1- AC_SUBST([EMULATION_OFILES])
  53099. +m4trace:configure.in:315: -1- AC_SUBST_TRACE([EMULATION_OFILES])
  53100. +m4trace:configure.in:315: -1- m4_pattern_allow([^EMULATION_OFILES$])
  53101. +m4trace:configure.in:316: -1- AC_SUBST([EMUL_EXTRA_OFILES])
  53102. +m4trace:configure.in:316: -1- AC_SUBST_TRACE([EMUL_EXTRA_OFILES])
  53103. +m4trace:configure.in:316: -1- m4_pattern_allow([^EMUL_EXTRA_OFILES$])
  53104. +m4trace:configure.in:317: -1- AC_SUBST([LIB_PATH])
  53105. +m4trace:configure.in:317: -1- AC_SUBST_TRACE([LIB_PATH])
  53106. +m4trace:configure.in:317: -1- m4_pattern_allow([^LIB_PATH$])
  53107. +m4trace:configure.in:320: -1- AC_SUBST([EMULATION_LIBPATH])
  53108. +m4trace:configure.in:320: -1- AC_SUBST_TRACE([EMULATION_LIBPATH])
  53109. +m4trace:configure.in:320: -1- m4_pattern_allow([^EMULATION_LIBPATH$])
  53110. +m4trace:configure.in:327: -1- AC_SUBST([TESTBFDLIB])
  53111. +m4trace:configure.in:327: -1- AC_SUBST_TRACE([TESTBFDLIB])
  53112. +m4trace:configure.in:327: -1- m4_pattern_allow([^TESTBFDLIB$])
  53113. +m4trace:configure.in:340: -1- AC_DEFINE_TRACE_LITERAL([EXTRA_SHLIB_EXTENSION])
  53114. +m4trace:configure.in:340: -1- m4_pattern_allow([^EXTRA_SHLIB_EXTENSION$])
  53115. +m4trace:configure.in:340: -1- AH_OUTPUT([EXTRA_SHLIB_EXTENSION], [/* Additional extension a shared object might have. */
  53116. +@%:@undef EXTRA_SHLIB_EXTENSION])
  53117. +m4trace:configure.in:345: -1- AC_SUBST([datarootdir])
  53118. +m4trace:configure.in:345: -1- AC_SUBST_TRACE([datarootdir])
  53119. +m4trace:configure.in:345: -1- m4_pattern_allow([^datarootdir$])
  53120. +m4trace:configure.in:346: -1- AC_SUBST([docdir])
  53121. +m4trace:configure.in:346: -1- AC_SUBST_TRACE([docdir])
  53122. +m4trace:configure.in:346: -1- m4_pattern_allow([^docdir$])
  53123. +m4trace:configure.in:347: -1- AC_SUBST([htmldir])
  53124. +m4trace:configure.in:347: -1- AC_SUBST_TRACE([htmldir])
  53125. +m4trace:configure.in:347: -1- m4_pattern_allow([^htmldir$])
  53126. +m4trace:configure.in:348: -1- AC_SUBST([pdfdir])
  53127. +m4trace:configure.in:348: -1- AC_SUBST_TRACE([pdfdir])
  53128. +m4trace:configure.in:348: -1- m4_pattern_allow([^pdfdir$])
  53129. +m4trace:configure.in:350: -1- AC_CONFIG_FILES([Makefile po/Makefile.in:po/Make-in])
  53130. +m4trace:configure.in:351: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  53131. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  53132. +m4trace:configure.in:351: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  53133. +m4trace:configure.in:351: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  53134. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([LTLIBOBJS])
  53135. +m4trace:configure.in:351: -1- m4_pattern_allow([^LTLIBOBJS$])
  53136. +m4trace:configure.in:351: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  53137. +m4trace:configure.in:351: -1- AC_SUBST([am__EXEEXT_TRUE])
  53138. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  53139. +m4trace:configure.in:351: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  53140. +m4trace:configure.in:351: -1- AC_SUBST([am__EXEEXT_FALSE])
  53141. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  53142. +m4trace:configure.in:351: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  53143. +m4trace:configure.in:351: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  53144. +m4trace:configure.in:351: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  53145. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([top_builddir])
  53146. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([top_build_prefix])
  53147. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([srcdir])
  53148. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([abs_srcdir])
  53149. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([top_srcdir])
  53150. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([abs_top_srcdir])
  53151. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([builddir])
  53152. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([abs_builddir])
  53153. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([abs_top_builddir])
  53154. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([INSTALL])
  53155. +m4trace:configure.in:351: -1- AC_SUBST_TRACE([MKDIR_P])
  53156. +m4trace:configure.in:351: -1- AC_REQUIRE_AUX_FILE([ltmain.sh])
  53157. diff -Nur binutils-2.21.orig/ld/configdoc.texi binutils-2.21/ld/configdoc.texi
  53158. --- binutils-2.21.orig/ld/configdoc.texi 2010-12-08 09:39:09.000000000 +0100
  53159. +++ binutils-2.21/ld/configdoc.texi 2011-08-28 14:56:22.607987562 +0200
  53160. @@ -7,6 +7,7 @@
  53161. @set H8300
  53162. @set HPPA
  53163. @set I960
  53164. +@set AVR32
  53165. @set M68HC11
  53166. @set M68K
  53167. @set MMIX
  53168. diff -Nur binutils-2.21.orig/ld/configure.tgt binutils-2.21/ld/configure.tgt
  53169. --- binutils-2.21.orig/ld/configure.tgt 2010-12-01 12:03:47.000000000 +0100
  53170. +++ binutils-2.21/ld/configure.tgt 2011-08-28 14:56:22.657984216 +0200
  53171. @@ -113,6 +113,9 @@
  53172. avr-*-*) targ_emul=avr2
  53173. targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6"
  53174. ;;
  53175. +avr32-*-none) targ_emul=avr32elf_ap7000
  53176. + targ_extra_emuls="avr32elf_ap7001 avr32elf_ap7002 avr32elf_ap7200 avr32elf_uc3a0128 avr32elf_uc3a0256 avr32elf_uc3a0512 avr32elf_uc3a0512es avr32elf_uc3a1128 avr32elf_uc3a1256 avr32elf_uc3a1512es avr32elf_uc3a1512 avr32elf_uc3a364 avr32elf_uc3a364s avr32elf_uc3a3128 avr32elf_uc3a3128s avr32elf_uc3a3256 avr32elf_uc3a3256s avr32elf_uc3b064 avr32elf_uc3b0128 avr32elf_uc3b0256es avr32elf_uc3b0256 avr32elf_uc3b0512 avr32elf_uc3b0512revc avr32elf_uc3b164 avr32elf_uc3b1128 avr32elf_uc3b1256es avr32elf_uc3b1256 avr32elf_uc3b1512 avr32elf_uc3b1512revc avr32elf_uc3c0512crevc avr32elf_uc3c1512crevc avr32elf_uc3c2512crevc avr32elf_atuc3l0256 avr32elf_mxt768e avr32elf_uc3l064 avr32elf_uc3l032 avr32elf_uc3l016 avr32elf_uc3l064revb avr32elf_uc3c064c avr32elf_uc3c0128c avr32elf_uc3c0256c avr32elf_uc3c0512c avr32elf_uc3c164c avr32elf_uc3c1128c avr32elf_uc3c1256c avr32elf_uc3c1512c avr32elf_uc3c264c avr32elf_uc3c2128c avr32elf_uc3c2256c avr32elf_uc3c2512c" ;;
  53177. +avr32-*-linux*) targ_emul=avr32linux ;;
  53178. bfin-*-elf) targ_emul=elf32bfin;
  53179. targ_extra_emuls="elf32bfinfd"
  53180. targ_extra_libpath=$targ_extra_emuls
  53181. diff -Nur binutils-2.21.orig/ld/emulparams/avr32elf.sh binutils-2.21/ld/emulparams/avr32elf.sh
  53182. --- binutils-2.21.orig/ld/emulparams/avr32elf.sh 1970-01-01 01:00:00.000000000 +0100
  53183. +++ binutils-2.21/ld/emulparams/avr32elf.sh 2011-08-28 14:56:22.707986669 +0200
  53184. @@ -0,0 +1,402 @@
  53185. +# This script is called from ld/genscript.sh
  53186. +# There is a difference on how 'bash' and POSIX handles
  53187. +# the '.' (source) command in a script.
  53188. +# genscript.sh calls this script with argument ${EMULATION_NAME}
  53189. +# but that will fail on POSIX compilant shells like 'sh' or 'dash'
  53190. +# therefor I use the variable directly instead of $1
  53191. +EMULATION=${EMULATION_NAME}
  53192. +SCRIPT_NAME=avr32
  53193. +TEMPLATE_NAME=elf32
  53194. +EXTRA_EM_FILE=avr32elf
  53195. +OUTPUT_FORMAT="elf32-avr32"
  53196. +ARCH=avr32
  53197. +MAXPAGESIZE=4096
  53198. +ENTRY=_start
  53199. +EMBEDDED=yes
  53200. +NO_SMALL_DATA=yes
  53201. +NOP=0xd703d703
  53202. +
  53203. +DATA_SEGMENT_ALIGN=8
  53204. +BSS_ALIGNMENT=8
  53205. +
  53206. +RO_LMA_REGION="FLASH"
  53207. +RO_VMA_REGION="FLASH"
  53208. +RW_LMA_REGION="FLASH"
  53209. +RW_VMA_REGION="CPUSRAM"
  53210. +
  53211. +STACK_SIZE=_stack_size
  53212. +STACK_ADDR="ORIGIN(CPUSRAM) + LENGTH(CPUSRAM) - ${STACK_SIZE}"
  53213. +
  53214. +DATA_SEGMENT_END="
  53215. + __heap_start__ = ALIGN(8);
  53216. + . = ${STACK_ADDR};
  53217. + __heap_end__ = .;
  53218. +"
  53219. +
  53220. +case "$EMULATION" in
  53221. +avr32elf_ap*)
  53222. + MACHINE=ap
  53223. + INITIAL_READONLY_SECTIONS="
  53224. + .reset : { *(.reset) } >FLASH AT>FLASH
  53225. + . = . & 0x9fffffff;
  53226. +"
  53227. + TEXT_START_ADDR=0xa0000000
  53228. + case "$EMULATION" in
  53229. + avr32elf_ap700[0-2])
  53230. + MEMORY="
  53231. +MEMORY
  53232. +{
  53233. + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 64M
  53234. + CPUSRAM (rwxa) : ORIGIN = 0x24000000, LENGTH = 32K
  53235. +}
  53236. +"
  53237. + ;;
  53238. + avr32elf_ap7200)
  53239. + MEMORY="
  53240. +MEMORY
  53241. +{
  53242. + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 64M
  53243. + CPUSRAM (rwxa) : ORIGIN = 0x08000000, LENGTH = 64K
  53244. +}
  53245. +"
  53246. + ;;
  53247. + esac
  53248. + ;;
  53249. +
  53250. +avr32elf_mxt768e)
  53251. + MACHINE=uc
  53252. + INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
  53253. + TEXT_START_ADDR=0x80000000
  53254. + OTHER_SECTIONS="
  53255. + .userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
  53256. + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE
  53257. +"
  53258. + MEMORY="
  53259. +MEMORY
  53260. +{
  53261. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 64K
  53262. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53263. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53264. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53265. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53266. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53267. +}
  53268. +"
  53269. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53270. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53271. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53272. +"
  53273. + ;;
  53274. +
  53275. +avr32elf_atuc3*)
  53276. + MACHINE=uc
  53277. + INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
  53278. + TEXT_START_ADDR=0x80000000
  53279. + OTHER_SECTIONS="
  53280. + .userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
  53281. + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE
  53282. +"
  53283. + case "$EMULATION" in
  53284. + avr32elf_atuc3l0256)
  53285. + MEMORY="
  53286. +MEMORY
  53287. +{
  53288. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
  53289. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53290. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53291. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53292. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53293. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53294. +}
  53295. +"
  53296. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53297. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53298. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53299. +"
  53300. + ;;
  53301. + esac
  53302. + ;;
  53303. +
  53304. +avr32elf_uc3*)
  53305. + MACHINE=uc
  53306. + INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
  53307. + TEXT_START_ADDR=0x80000000
  53308. + OTHER_SECTIONS="
  53309. + .userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
  53310. + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE
  53311. +"
  53312. +
  53313. + case "$EMULATION" in
  53314. + avr32elf_uc3c[012]512c)
  53315. + MEMORY="
  53316. +MEMORY
  53317. +{
  53318. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 512K
  53319. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53320. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53321. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53322. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53323. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53324. +}
  53325. +"
  53326. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53327. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53328. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53329. +"
  53330. + ;;
  53331. +
  53332. + avr32elf_uc3c[012]256c)
  53333. + MEMORY="
  53334. +MEMORY
  53335. +{
  53336. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
  53337. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53338. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53339. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53340. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53341. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53342. +}
  53343. +"
  53344. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53345. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53346. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53347. +"
  53348. + ;;
  53349. +
  53350. + avr32elf_uc3c[012]128c)
  53351. + MEMORY="
  53352. +MEMORY
  53353. +{
  53354. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 128K
  53355. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x7FFC
  53356. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53357. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53358. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53359. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53360. +}
  53361. +"
  53362. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53363. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53364. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53365. +"
  53366. + ;;
  53367. +
  53368. + avr32elf_uc3c[012]64c)
  53369. + MEMORY="
  53370. +MEMORY
  53371. +{
  53372. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 64K
  53373. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53374. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53375. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53376. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53377. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53378. +}
  53379. +"
  53380. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53381. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53382. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53383. +"
  53384. + ;;
  53385. +
  53386. + avr32elf_uc3[ac][012]512*)
  53387. + MEMORY="
  53388. +MEMORY
  53389. +{
  53390. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 512K
  53391. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53392. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53393. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53394. +}
  53395. +"
  53396. + ;;
  53397. +
  53398. + avr32elf_uc3a[012]256*)
  53399. + MEMORY="
  53400. +MEMORY
  53401. +{
  53402. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
  53403. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53404. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53405. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53406. +}
  53407. +"
  53408. + ;;
  53409. +
  53410. + avr32elf_uc3b[01]512revc)
  53411. + MEMORY="
  53412. +MEMORY
  53413. +{
  53414. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 512K
  53415. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x17FFC
  53416. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53417. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53418. +}
  53419. +"
  53420. + PADDING="
  53421. + .padding : {
  53422. + QUAD(0)
  53423. + QUAD(0)
  53424. + QUAD(0)
  53425. + QUAD(0)
  53426. + } >FLASH AT>FLASH
  53427. +"
  53428. + ;;
  53429. +
  53430. + avr32elf_uc3b[01]512)
  53431. + MEMORY="
  53432. +MEMORY
  53433. +{
  53434. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 512K
  53435. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x17FFC
  53436. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53437. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53438. +}
  53439. +"
  53440. + ;;
  53441. +
  53442. + avr32elf_uc3b[01]256*)
  53443. + MEMORY="
  53444. +MEMORY
  53445. +{
  53446. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
  53447. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x7FFC
  53448. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53449. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53450. +}
  53451. +"
  53452. + ;;
  53453. +
  53454. + avr32elf_uc3[ab][012]128*)
  53455. + MEMORY="
  53456. +MEMORY
  53457. +{
  53458. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 128K
  53459. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x7FFC
  53460. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53461. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53462. +}
  53463. +"
  53464. + ;;
  53465. +
  53466. + avr32elf_uc3b[0123]64*)
  53467. + MEMORY="
  53468. +MEMORY
  53469. +{
  53470. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 64K
  53471. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53472. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53473. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53474. +}
  53475. +"
  53476. + ;;
  53477. +
  53478. + avr32elf_uc3a3256*)
  53479. + MEMORY="
  53480. +MEMORY
  53481. +{
  53482. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 256K
  53483. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53484. + HSBSRAM (wxa!ri) : ORIGIN = 0xFF000000, LENGTH = 64K
  53485. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53486. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53487. +}
  53488. +"
  53489. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53490. + .hsbsram : { *(.hsbsram .hsbsram.*) } >HSBSRAM AT>FLASH :FLASH
  53491. +"
  53492. +
  53493. + ;;
  53494. +
  53495. + avr32elf_uc3a3128*)
  53496. + MEMORY="
  53497. +MEMORY
  53498. +{
  53499. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 128K
  53500. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53501. + HSBSRAM (wxa!ri) : ORIGIN = 0xFF000000, LENGTH = 64K
  53502. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53503. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53504. +}
  53505. +"
  53506. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53507. + .hsbsram : { *(.hsbsram .hsbsram.*) } >HSBSRAM AT>FLASH :FLASH
  53508. +"
  53509. + ;;
  53510. +
  53511. + avr32elf_uc3a364*)
  53512. + MEMORY="
  53513. +MEMORY
  53514. +{
  53515. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 64K
  53516. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0xFFFC
  53517. + HSBSRAM (wxa!ri) : ORIGIN = 0xFF000000, LENGTH = 64K
  53518. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53519. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53520. +}
  53521. +"
  53522. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53523. + .hsbsram : { *(.hsbsram .hsbsram.*) } >HSBSRAM AT>FLASH :FLASH
  53524. +"
  53525. + ;;
  53526. +
  53527. +
  53528. + avr32elf_uc3l[0123]64*)
  53529. + MEMORY="
  53530. +MEMORY
  53531. +{
  53532. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 64K
  53533. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53534. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53535. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53536. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53537. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53538. +}
  53539. +"
  53540. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53541. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53542. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53543. +"
  53544. + ;;
  53545. +
  53546. + avr32elf_uc3l[0123]32*)
  53547. + MEMORY="
  53548. +MEMORY
  53549. +{
  53550. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 32K
  53551. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x3FFC
  53552. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53553. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53554. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53555. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53556. +}
  53557. +"
  53558. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53559. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53560. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53561. +"
  53562. + ;;
  53563. +
  53564. + avr32elf_uc3l[0123]16*)
  53565. + MEMORY="
  53566. +MEMORY
  53567. +{
  53568. + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 16K
  53569. + CPUSRAM (wxa!ri) : ORIGIN = 0x00000004, LENGTH = 0x1FFC
  53570. + USERPAGE : ORIGIN = 0x80800000, LENGTH = 512
  53571. + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 512
  53572. + FLASHVAULT_FLASH_SIZE (r) : ORIGIN = 0x80800400, LENGTH = 8
  53573. + FLASHVAULT_RAM_SIZE (r) : ORIGIN = 0x80800408, LENGTH = 8
  53574. +}
  53575. +"
  53576. + OTHER_SECTIONS="${OTHER_SECTIONS}
  53577. + .flashvault_flash_size : { KEEP(*(.flashvault_flash_size .flashvault_flash_size.*)) } > FLASHVAULT_FLASH_SIZE
  53578. + .flashvault_ram_size : { KEEP(*(.flashvault_ram_size .flashvault_ram_size.*)) } > FLASHVAULT_RAM_SIZE
  53579. +"
  53580. + ;;
  53581. +
  53582. +
  53583. + esac
  53584. + ;;
  53585. +
  53586. +esac
  53587. diff -Nur binutils-2.21.orig/ld/emulparams/avr32linux.sh binutils-2.21/ld/emulparams/avr32linux.sh
  53588. --- binutils-2.21.orig/ld/emulparams/avr32linux.sh 1970-01-01 01:00:00.000000000 +0100
  53589. +++ binutils-2.21/ld/emulparams/avr32linux.sh 2011-08-28 14:56:22.757982985 +0200
  53590. @@ -0,0 +1,14 @@
  53591. +ARCH=avr32
  53592. +SCRIPT_NAME=elf
  53593. +TEMPLATE_NAME=elf32
  53594. +EXTRA_EM_FILE=avr32elf
  53595. +OUTPUT_FORMAT="elf32-avr32"
  53596. +GENERATE_SHLIB_SCRIPT=yes
  53597. +MAXPAGESIZE=0x1000
  53598. +TEXT_START_ADDR=0x00001000
  53599. +NOP=0xd703d703
  53600. +
  53601. +# This appears to place the GOT before the data section, which is
  53602. +# essential for uClinux. We don't use those .s* sections on AVR32
  53603. +# anyway, so it shouldn't hurt for regular Linux either...
  53604. +NO_SMALL_DATA=yes
  53605. diff -Nur binutils-2.21.orig/ld/emultempl/avr32elf.em binutils-2.21/ld/emultempl/avr32elf.em
  53606. --- binutils-2.21.orig/ld/emultempl/avr32elf.em 1970-01-01 01:00:00.000000000 +0100
  53607. +++ binutils-2.21/ld/emultempl/avr32elf.em 2011-08-28 14:56:22.807982389 +0200
  53608. @@ -0,0 +1,162 @@
  53609. +# This shell script emits a C file. -*- C -*-
  53610. +# Copyright (C) 2007,2008,2009 Atmel Corporation
  53611. +#
  53612. +# This file is part of GLD, the Gnu Linker.
  53613. +#
  53614. +# This program is free software; you can redistribute it and/or modify
  53615. +# it under the terms of the GNU General Public License as published by
  53616. +# the Free Software Foundation; either version 2 of the License, or
  53617. +# (at your option) any later version.
  53618. +#
  53619. +# This program is distributed in the hope that it will be useful,
  53620. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  53621. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  53622. +# GNU General Public License for more details.
  53623. +#
  53624. +# You should have received a copy of the GNU General Public License
  53625. +# along with this program; if not, write to the Free Software
  53626. +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
  53627. +#
  53628. +
  53629. +# This file is sourced from elf32.em, and defines extra avr32-elf
  53630. +# specific routines.
  53631. +#
  53632. +
  53633. +# Generate linker script for writable rodata
  53634. +LD_FLAG=rodata-writable
  53635. +DATA_ALIGNMENT=${DATA_ALIGNMENT_}
  53636. +RELOCATING=" "
  53637. +WRITABLE_RODATA=" "
  53638. +( echo "/* Linker script for writable rodata */"
  53639. + . ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME}
  53640. + . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc
  53641. +) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xwr
  53642. +
  53643. +
  53644. +cat >> e${EMULATION_NAME}.c <<EOF
  53645. +
  53646. +#include "libbfd.h"
  53647. +#include "elf32-avr32.h"
  53648. +
  53649. +/* Whether to allow direct references (sub or mov) to SEC_DATA and
  53650. + !SEC_CONTENTS sections when optimizing. Not enabled by default
  53651. + since it might cause link errors. */
  53652. +static int direct_data_refs = 0;
  53653. +
  53654. +static void avr32_elf_after_open (void)
  53655. +{
  53656. + bfd_elf32_avr32_set_options (&link_info, direct_data_refs);
  53657. + gld${EMULATION_NAME}_after_open ();
  53658. +}
  53659. +
  53660. +static int rodata_writable = 0;
  53661. +
  53662. +static int stack_size = 0x1000;
  53663. +
  53664. +static void avr32_elf_set_symbols (void)
  53665. +{
  53666. + /* Glue the assignments into the abs section. */
  53667. + lang_statement_list_type *save = stat_ptr;
  53668. +
  53669. +
  53670. + stat_ptr = &(abs_output_section->children);
  53671. +
  53672. + lang_add_assignment (exp_assop ('=', "_stack_size",
  53673. + exp_intop (stack_size)));
  53674. +
  53675. + stat_ptr = save;
  53676. +}
  53677. +
  53678. +static char * gld${EMULATION_NAME}_get_script (int *isfile);
  53679. +
  53680. +static char * avr32_elf_get_script (int *isfile)
  53681. +{
  53682. + if ( rodata_writable )
  53683. + {
  53684. +EOF
  53685. +if test -n "$COMPILE_IN"
  53686. +then
  53687. +# Scripts compiled in.
  53688. +
  53689. +# sed commands to quote an ld script as a C string.
  53690. +sc="-f stringify.sed"
  53691. +
  53692. +cat >>e${EMULATION_NAME}.c <<EOF
  53693. + *isfile = 0;
  53694. + return
  53695. +EOF
  53696. +sed $sc ldscripts/${EMULATION_NAME}.xwr >> e${EMULATION_NAME}.c
  53697. +echo ';' >> e${EMULATION_NAME}.c
  53698. +else
  53699. +# Scripts read from the filesystem.
  53700. +
  53701. +cat >>e${EMULATION_NAME}.c <<EOF
  53702. + *isfile = 1;
  53703. + return "ldscripts/${EMULATION_NAME}.xwr";
  53704. +EOF
  53705. +fi
  53706. +
  53707. +cat >>e${EMULATION_NAME}.c <<EOF
  53708. + }
  53709. + return gld${EMULATION_NAME}_get_script (isfile);
  53710. +}
  53711. +
  53712. +
  53713. +EOF
  53714. +
  53715. +# Define some shell vars to insert bits of code into the standard elf
  53716. +# parse_args and list_options functions.
  53717. +#
  53718. +PARSE_AND_LIST_PROLOGUE='
  53719. +#define OPTION_DIRECT_DATA 300
  53720. +#define OPTION_NO_DIRECT_DATA 301
  53721. +#define OPTION_RODATA_WRITABLE 302
  53722. +#define OPTION_NO_RODATA_WRITABLE 303
  53723. +#define OPTION_STACK 304
  53724. +'
  53725. +
  53726. +PARSE_AND_LIST_LONGOPTS='
  53727. + { "direct-data", no_argument, NULL, OPTION_DIRECT_DATA },
  53728. + { "no-direct-data", no_argument, NULL, OPTION_NO_DIRECT_DATA },
  53729. + { "rodata-writable", no_argument, NULL, OPTION_RODATA_WRITABLE },
  53730. + { "no-rodata-writable", no_argument, NULL, OPTION_NO_RODATA_WRITABLE },
  53731. + { "stack", required_argument, NULL, OPTION_STACK },
  53732. +'
  53733. +
  53734. +PARSE_AND_LIST_OPTIONS='
  53735. + fprintf (file, _(" --direct-data\t\tAllow direct data references when optimizing\n"));
  53736. + fprintf (file, _(" --no-direct-data\tDo not allow direct data references when optimizing\n"));
  53737. + fprintf (file, _(" --rodata-writable\tPut read-only data in writable data section\n"));
  53738. + fprintf (file, _(" --no-rodata-writable\tDo not put read-only data in writable data section\n"));
  53739. + fprintf (file, _(" --stack <size>\tSet the initial size of the stack\n"));
  53740. +'
  53741. +
  53742. +PARSE_AND_LIST_ARGS_CASES='
  53743. + case OPTION_DIRECT_DATA:
  53744. + direct_data_refs = 1;
  53745. + break;
  53746. + case OPTION_NO_DIRECT_DATA:
  53747. + direct_data_refs = 0;
  53748. + break;
  53749. + case OPTION_RODATA_WRITABLE:
  53750. + rodata_writable = 1;
  53751. + break;
  53752. + case OPTION_NO_RODATA_WRITABLE:
  53753. + rodata_writable = 0;
  53754. + break;
  53755. + case OPTION_STACK:
  53756. + {
  53757. + char *end;
  53758. + stack_size = strtoul (optarg, &end, 0);
  53759. + if (end == optarg)
  53760. + einfo (_("%P%F: invalid hex number for parameter '%s'\n"), optarg);
  53761. + optarg = end;
  53762. + break;
  53763. + }
  53764. +'
  53765. +
  53766. +# Replace some of the standard ELF functions with our own versions.
  53767. +#
  53768. +LDEMUL_AFTER_OPEN=avr32_elf_after_open
  53769. +LDEMUL_GET_SCRIPT=avr32_elf_get_script
  53770. +LDEMUL_SET_SYMBOLS=avr32_elf_set_symbols
  53771. diff -Nur binutils-2.21.orig/ld/Makefile.am binutils-2.21/ld/Makefile.am
  53772. --- binutils-2.21.orig/ld/Makefile.am 2010-11-03 04:22:01.000000000 +0100
  53773. +++ binutils-2.21/ld/Makefile.am 2011-08-28 14:56:22.837980145 +0200
  53774. @@ -162,6 +162,58 @@
  53775. eavr5.c \
  53776. eavr51.c \
  53777. eavr6.c \
  53778. + eavr32elf_ap7000.o \
  53779. + eavr32elf_ap7001.o \
  53780. + eavr32elf_ap7002.o \
  53781. + eavr32elf_ap7200.o \
  53782. + eavr32elf_uc3a0128.o \
  53783. + eavr32elf_uc3a0256.o \
  53784. + eavr32elf_uc3a0512.o \
  53785. + eavr32elf_uc3a0512es.o \
  53786. + eavr32elf_uc3a1128.o \
  53787. + eavr32elf_uc3a1256.o \
  53788. + eavr32elf_uc3a1512es.o \
  53789. + eavr32elf_uc3a1512.o \
  53790. + eavr32elf_uc3a364.o \
  53791. + eavr32elf_uc3a364s.o \
  53792. + eavr32elf_uc3a3128.o \
  53793. + eavr32elf_uc3a3128s.o \
  53794. + eavr32elf_uc3a3256.o \
  53795. + eavr32elf_uc3a3256s.o \
  53796. + eavr32elf_uc3b064.o \
  53797. + eavr32elf_uc3b0128.o \
  53798. + eavr32elf_uc3b0256es.o \
  53799. + eavr32elf_uc3b0256.o \
  53800. + eavr32elf_uc3b0512.o \
  53801. + eavr32elf_uc3b0512revc.o \
  53802. + eavr32elf_uc3b164.o \
  53803. + eavr32elf_uc3b1128.o \
  53804. + eavr32elf_uc3b1256es.o \
  53805. + eavr32elf_uc3b1256.o \
  53806. + eavr32elf_uc3b1512.o \
  53807. + eavr32elf_uc3b1512revc.o \
  53808. + eavr32elf_uc3c0512crevc.o \
  53809. + eavr32elf_uc3c1512crevc.o \
  53810. + eavr32elf_uc3c2512crevc.o \
  53811. + eavr32elf_atuc3l0256.o \
  53812. + eavr32elf_mxt768e.o \
  53813. + eavr32elf_uc3l064.o \
  53814. + eavr32elf_uc3l032.o \
  53815. + eavr32elf_uc3l016.o \
  53816. + eavr32elf_uc3l064revb.o \
  53817. + eavr32elf_uc3c064c.o \
  53818. + eavr32elf_uc3c0128c.o \
  53819. + eavr32elf_uc3c0256c.o \
  53820. + eavr32elf_uc3c0512c.o \
  53821. + eavr32elf_uc3c164c.o \
  53822. + eavr32elf_uc3c1128c.o \
  53823. + eavr32elf_uc3c1256c.o \
  53824. + eavr32elf_uc3c1512c.o \
  53825. + eavr32elf_uc3c264c.o \
  53826. + eavr32elf_uc3c2128c.o \
  53827. + eavr32elf_uc3c2256c.o \
  53828. + eavr32elf_uc3c2512c.o \
  53829. + eavr32linux.o \
  53830. ecoff_i860.c \
  53831. ecoff_sparc.c \
  53832. eelf32_spu.c \
  53833. @@ -760,6 +812,214 @@
  53834. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  53835. ${GEN_DEPENDS}
  53836. ${GENSCRIPTS} avr6 "$(tdir_avr2)"
  53837. +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf.sh \
  53838. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53839. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53840. + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)" avr32elf
  53841. +eavr32elf_ap7001.c: $(srcdir)/emulparams/avr32elf.sh \
  53842. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53843. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53844. + ${GENSCRIPTS} avr32elf_ap7001 "$(tdir_avr32)" avr32elf
  53845. +eavr32elf_ap7002.c: $(srcdir)/emulparams/avr32elf.sh \
  53846. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53847. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53848. + ${GENSCRIPTS} avr32elf_ap7002 "$(tdir_avr32)" avr32elf
  53849. +eavr32elf_ap7200.c: $(srcdir)/emulparams/avr32elf.sh \
  53850. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53851. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53852. + ${GENSCRIPTS} avr32elf_ap7200 "$(tdir_avr32)" avr32elf
  53853. +eavr32elf_uc3a0128.c: $(srcdir)/emulparams/avr32elf.sh \
  53854. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53855. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53856. + ${GENSCRIPTS} avr32elf_uc3a0128 "$(tdir_avr32)" avr32elf
  53857. +eavr32elf_uc3a0256.c: $(srcdir)/emulparams/avr32elf.sh \
  53858. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53859. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53860. + ${GENSCRIPTS} avr32elf_uc3a0256 "$(tdir_avr32)" avr32elf
  53861. +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf.sh \
  53862. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53863. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53864. + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)" avr32elf
  53865. +eavr32elf_uc3a0512es.c: $(srcdir)/emulparams/avr32elf.sh \
  53866. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53867. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53868. + ${GENSCRIPTS} avr32elf_uc3a0512es "$(tdir_avr32)" avr32elf
  53869. +eavr32elf_uc3a1128.c: $(srcdir)/emulparams/avr32elf.sh \
  53870. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53871. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53872. + ${GENSCRIPTS} avr32elf_uc3a1128 "$(tdir_avr32)" avr32elf
  53873. +eavr32elf_uc3a1256.c: $(srcdir)/emulparams/avr32elf.sh \
  53874. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53875. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53876. + ${GENSCRIPTS} avr32elf_uc3a1256 "$(tdir_avr32)" avr32elf
  53877. +eavr32elf_uc3a1512.c: $(srcdir)/emulparams/avr32elf.sh \
  53878. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53879. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53880. + ${GENSCRIPTS} avr32elf_uc3a1512 "$(tdir_avr32)" avr32elf
  53881. +eavr32elf_uc3a1512es.c: $(srcdir)/emulparams/avr32elf.sh \
  53882. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53883. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53884. + ${GENSCRIPTS} avr32elf_uc3a1512es "$(tdir_avr32)" avr32elf
  53885. +eavr32elf_uc3a364.c: $(srcdir)/emulparams/avr32elf.sh \
  53886. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53887. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53888. + ${GENSCRIPTS} avr32elf_uc3a364 "$(tdir_avr32)" avr32elf
  53889. +eavr32elf_uc3a364s.c: $(srcdir)/emulparams/avr32elf.sh \
  53890. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53891. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53892. + ${GENSCRIPTS} avr32elf_uc3a364s "$(tdir_avr32)" avr32elf
  53893. +eavr32elf_uc3a3128.c: $(srcdir)/emulparams/avr32elf.sh \
  53894. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53895. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53896. + ${GENSCRIPTS} avr32elf_uc3a3128 "$(tdir_avr32)" avr32elf
  53897. +eavr32elf_uc3a3128s.c: $(srcdir)/emulparams/avr32elf.sh \
  53898. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53899. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53900. + ${GENSCRIPTS} avr32elf_uc3a3128s "$(tdir_avr32)" avr32elf
  53901. +eavr32elf_uc3a3256.c: $(srcdir)/emulparams/avr32elf.sh \
  53902. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53903. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53904. + ${GENSCRIPTS} avr32elf_uc3a3256 "$(tdir_avr32)" avr32elf
  53905. +eavr32elf_uc3a3256s.c: $(srcdir)/emulparams/avr32elf.sh \
  53906. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53907. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53908. + ${GENSCRIPTS} avr32elf_uc3a3256s "$(tdir_avr32)" avr32elf
  53909. +eavr32elf_uc3b064.c: $(srcdir)/emulparams/avr32elf.sh \
  53910. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53911. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53912. + ${GENSCRIPTS} avr32elf_uc3b064 "$(tdir_avr32)" avr32elf
  53913. +eavr32elf_uc3b0128.c: $(srcdir)/emulparams/avr32elf.sh \
  53914. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53915. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53916. + ${GENSCRIPTS} avr32elf_uc3b0128 "$(tdir_avr32)" avr32elf
  53917. +eavr32elf_uc3b0256.c: $(srcdir)/emulparams/avr32elf.sh \
  53918. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53919. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53920. + ${GENSCRIPTS} avr32elf_uc3b0256 "$(tdir_avr32)" avr32elf
  53921. +eavr32elf_uc3b0256es.c: $(srcdir)/emulparams/avr32elf.sh \
  53922. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53923. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53924. + ${GENSCRIPTS} avr32elf_uc3b0256es "$(tdir_avr32)" avr32elf
  53925. +eavr32elf_uc3b0512.c: $(srcdir)/emulparams/avr32elf.sh \
  53926. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53927. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53928. + ${GENSCRIPTS} avr32elf_uc3b0512 "$(tdir_avr32)" avr32elf
  53929. +eavr32elf_uc3b0512revc.c: $(srcdir)/emulparams/avr32elf.sh \
  53930. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53931. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53932. + ${GENSCRIPTS} avr32elf_uc3b0512revc "$(tdir_avr32)" avr32elf
  53933. +eavr32elf_uc3b164.c: $(srcdir)/emulparams/avr32elf.sh \
  53934. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53935. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53936. + ${GENSCRIPTS} avr32elf_uc3b164 "$(tdir_avr32)" avr32elf
  53937. +eavr32elf_uc3b1128.c: $(srcdir)/emulparams/avr32elf.sh \
  53938. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53939. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53940. + ${GENSCRIPTS} avr32elf_uc3b1128 "$(tdir_avr32)" avr32elf
  53941. +eavr32elf_uc3b1256.c: $(srcdir)/emulparams/avr32elf.sh \
  53942. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53943. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53944. + ${GENSCRIPTS} avr32elf_uc3b1256 "$(tdir_avr32)" avr32elf
  53945. +eavr32elf_uc3b1256es.c: $(srcdir)/emulparams/avr32elf.sh \
  53946. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53947. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53948. + ${GENSCRIPTS} avr32elf_uc3b1256es "$(tdir_avr32)" avr32elf
  53949. +eavr32elf_uc3b1512.c: $(srcdir)/emulparams/avr32elf.sh \
  53950. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53951. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53952. + ${GENSCRIPTS} avr32elf_uc3b1512 "$(tdir_avr32)" avr32elf
  53953. +eavr32elf_uc3b1512revc.c: $(srcdir)/emulparams/avr32elf.sh \
  53954. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53955. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53956. + ${GENSCRIPTS} avr32elf_uc3b1512revc "$(tdir_avr32)" avr32elf
  53957. +eavr32elf_uc3c0512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  53958. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53959. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53960. + ${GENSCRIPTS} avr32elf_uc3c0512crevc "$(tdir_avr32)" avr32elf
  53961. +eavr32elf_uc3c1512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  53962. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53963. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53964. + ${GENSCRIPTS} avr32elf_uc3c1512crevc "$(tdir_avr32)" avr32elf
  53965. +eavr32elf_uc3c2512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  53966. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53967. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53968. + ${GENSCRIPTS} avr32elf_uc3c2512crevc "$(tdir_avr32)" avr32elf
  53969. +eavr32elf_atuc3l0256.c: $(srcdir)/emulparams/avr32elf.sh \
  53970. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53971. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53972. + ${GENSCRIPTS} avr32elf_atuc3l0256 "$(tdir_avr32)" avr32elf
  53973. +eavr32elf_mxt768e.c: $(srcdir)/emulparams/avr32elf.sh \
  53974. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53975. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53976. + ${GENSCRIPTS} avr32elf_mxt768e "$(tdir_avr32)" avr32elf
  53977. +eavr32elf_uc3l064.c: $(srcdir)/emulparams/avr32elf.sh \
  53978. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53979. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53980. + ${GENSCRIPTS} avr32elf_uc3l064 "$(tdir_avr32)" avr32elf
  53981. +eavr32elf_uc3l032.c: $(srcdir)/emulparams/avr32elf.sh \
  53982. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53983. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53984. + ${GENSCRIPTS} avr32elf_uc3l032 "$(tdir_avr32)" avr32elf
  53985. +eavr32elf_uc3l016.c: $(srcdir)/emulparams/avr32elf.sh \
  53986. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53987. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53988. + ${GENSCRIPTS} avr32elf_uc3l016 "$(tdir_avr32)" avr32elf
  53989. +eavr32elf_uc3l064revb.c: $(srcdir)/emulparams/avr32elf.sh \
  53990. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53991. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53992. + ${GENSCRIPTS} avr32elf_uc3l064revb "$(tdir_avr32)" avr32elf
  53993. +eavr32elf_uc3c064c.c: $(srcdir)/emulparams/avr32elf.sh \
  53994. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53995. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  53996. + ${GENSCRIPTS} avr32elf_uc3c064c "$(tdir_avr32)" avr32elf
  53997. +eavr32elf_uc3c0128c.c: $(srcdir)/emulparams/avr32elf.sh \
  53998. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  53999. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54000. + ${GENSCRIPTS} avr32elf_uc3c0128c "$(tdir_avr32)" avr32elf
  54001. +eavr32elf_uc3c0256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54002. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54003. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54004. + ${GENSCRIPTS} avr32elf_uc3c0256c "$(tdir_avr32)" avr32elf
  54005. +eavr32elf_uc3c0512c.c: $(srcdir)/emulparams/avr32elf.sh \
  54006. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54007. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54008. + ${GENSCRIPTS} avr32elf_uc3c0512c "$(tdir_avr32)" avr32elf
  54009. +eavr32elf_uc3c164c.c: $(srcdir)/emulparams/avr32elf.sh \
  54010. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54011. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54012. + ${GENSCRIPTS} avr32elf_uc3c164c "$(tdir_avr32)" avr32elf
  54013. +eavr32elf_uc3c1128c.c: $(srcdir)/emulparams/avr32elf.sh \
  54014. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54015. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54016. + ${GENSCRIPTS} avr32elf_uc3c1128c "$(tdir_avr32)" avr32elf
  54017. +eavr32elf_uc3c1256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54018. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54019. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54020. + ${GENSCRIPTS} avr32elf_uc3c1256c "$(tdir_avr32)" avr32elf
  54021. +eavr32elf_uc3c1512c.c: $(srcdir)/emulparams/avr32elf.sh \
  54022. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54023. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54024. + ${GENSCRIPTS} avr32elf_uc3c1512c "$(tdir_avr32)" avr32elf
  54025. +eavr32elf_uc3c264c.c: $(srcdir)/emulparams/avr32elf.sh \
  54026. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54027. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54028. + ${GENSCRIPTS} avr32elf_uc3c264c "$(tdir_avr32)" avr32elf
  54029. +eavr32elf_uc3c2128c.c: $(srcdir)/emulparams/avr32elf.sh \
  54030. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54031. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54032. + ${GENSCRIPTS} avr32elf_uc3c2128c "$(tdir_avr32)" avr32elf
  54033. +eavr32elf_uc3c2256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54034. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54035. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54036. + ${GENSCRIPTS} avr32elf_uc3c2256c "$(tdir_avr32)" avr32elf
  54037. +eavr32elf_uc3c2512c.c: $(srcdir)/emulparams/avr32elf.sh \
  54038. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54039. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54040. + ${GENSCRIPTS} avr32elf_uc3c2512c "$(tdir_avr32)" avr32elf
  54041. +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
  54042. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54043. + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  54044. + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
  54045. ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
  54046. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
  54047. ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
  54048. @@ -2052,7 +2312,9 @@
  54049. fi; \
  54050. fi
  54051. -install-data-local:
  54052. +# We want install to imply install-info as per GNU standards, despite the
  54053. +# cygnus option.
  54054. +install-data-local: install-info
  54055. $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
  54056. for f in ldscripts/*; do \
  54057. $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
  54058. diff -Nur binutils-2.21.orig/ld/Makefile.in binutils-2.21/ld/Makefile.in
  54059. --- binutils-2.21.orig/ld/Makefile.in 2010-11-05 11:34:22.000000000 +0100
  54060. +++ binutils-2.21/ld/Makefile.in 2011-08-28 14:56:22.907983934 +0200
  54061. @@ -2183,6 +2183,194 @@
  54062. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  54063. ${GEN_DEPENDS}
  54064. ${GENSCRIPTS} avr6 "$(tdir_avr2)"
  54065. +eavr32elf_ap7000.c: $(srcdir)/emulparams/avr32elf.sh \
  54066. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54067. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54068. + ${GENSCRIPTS} avr32elf_ap7000 "$(tdir_avr32)" avr32elf
  54069. +eavr32elf_ap7001.c: $(srcdir)/emulparams/avr32elf.sh \
  54070. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54071. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54072. + ${GENSCRIPTS} avr32elf_ap7001 "$(tdir_avr32)" avr32elf
  54073. +eavr32elf_ap7002.c: $(srcdir)/emulparams/avr32elf.sh \
  54074. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54075. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54076. + ${GENSCRIPTS} avr32elf_ap7002 "$(tdir_avr32)" avr32elf
  54077. +eavr32elf_ap7200.c: $(srcdir)/emulparams/avr32elf.sh \
  54078. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54079. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54080. + ${GENSCRIPTS} avr32elf_ap7200 "$(tdir_avr32)" avr32elf
  54081. +eavr32elf_uc3a0128.c: $(srcdir)/emulparams/avr32elf.sh \
  54082. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54083. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54084. + ${GENSCRIPTS} avr32elf_uc3a0128 "$(tdir_avr32)" avr32elf
  54085. +eavr32elf_uc3a0256.c: $(srcdir)/emulparams/avr32elf.sh \
  54086. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54087. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54088. + ${GENSCRIPTS} avr32elf_uc3a0256 "$(tdir_avr32)" avr32elf
  54089. +eavr32elf_uc3a0512.c: $(srcdir)/emulparams/avr32elf.sh \
  54090. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54091. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54092. + ${GENSCRIPTS} avr32elf_uc3a0512 "$(tdir_avr32)" avr32elf
  54093. +eavr32elf_uc3a0512es.c: $(srcdir)/emulparams/avr32elf.sh \
  54094. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54095. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54096. + ${GENSCRIPTS} avr32elf_uc3a0512es "$(tdir_avr32)" avr32elf
  54097. +eavr32elf_uc3a1128.c: $(srcdir)/emulparams/avr32elf.sh \
  54098. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54099. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54100. + ${GENSCRIPTS} avr32elf_uc3a1128 "$(tdir_avr32)" avr32elf
  54101. +eavr32elf_uc3a1256.c: $(srcdir)/emulparams/avr32elf.sh \
  54102. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54103. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54104. + ${GENSCRIPTS} avr32elf_uc3a1256 "$(tdir_avr32)" avr32elf
  54105. +eavr32elf_uc3a1512.c: $(srcdir)/emulparams/avr32elf.sh \
  54106. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54107. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54108. + ${GENSCRIPTS} avr32elf_uc3a1512 "$(tdir_avr32)" avr32elf
  54109. +eavr32elf_uc3a1512es.c: $(srcdir)/emulparams/avr32elf.sh \
  54110. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54111. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54112. + ${GENSCRIPTS} avr32elf_uc3a1512es "$(tdir_avr32)" avr32elf
  54113. +eavr32elf_uc3a364.c: $(srcdir)/emulparams/avr32elf.sh \
  54114. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54115. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54116. + ${GENSCRIPTS} avr32elf_uc3a364 "$(tdir_avr32)" avr32elf
  54117. +eavr32elf_uc3a364s.c: $(srcdir)/emulparams/avr32elf.sh \
  54118. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54119. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54120. + ${GENSCRIPTS} avr32elf_uc3a364s "$(tdir_avr32)" avr32elf
  54121. +eavr32elf_uc3a3128.c: $(srcdir)/emulparams/avr32elf.sh \
  54122. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54123. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54124. + ${GENSCRIPTS} avr32elf_uc3a3128 "$(tdir_avr32)" avr32elf
  54125. +eavr32elf_uc3a3128s.c: $(srcdir)/emulparams/avr32elf.sh \
  54126. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54127. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54128. + ${GENSCRIPTS} avr32elf_uc3a3128s "$(tdir_avr32)" avr32elf
  54129. +eavr32elf_uc3a3256.c: $(srcdir)/emulparams/avr32elf.sh \
  54130. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54131. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54132. + ${GENSCRIPTS} avr32elf_uc3a3256 "$(tdir_avr32)" avr32elf
  54133. +eavr32elf_uc3a3256s.c: $(srcdir)/emulparams/avr32elf.sh \
  54134. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54135. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54136. + ${GENSCRIPTS} avr32elf_uc3a3256s "$(tdir_avr32)" avr32elf
  54137. +eavr32elf_uc3b064.c: $(srcdir)/emulparams/avr32elf.sh \
  54138. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54139. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54140. + ${GENSCRIPTS} avr32elf_uc3b064 "$(tdir_avr32)" avr32elf
  54141. +eavr32elf_uc3b0128.c: $(srcdir)/emulparams/avr32elf.sh \
  54142. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54143. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54144. + ${GENSCRIPTS} avr32elf_uc3b0128 "$(tdir_avr32)" avr32elf
  54145. +eavr32elf_uc3b0256.c: $(srcdir)/emulparams/avr32elf.sh \
  54146. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54147. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54148. + ${GENSCRIPTS} avr32elf_uc3b0256 "$(tdir_avr32)" avr32elf
  54149. +eavr32elf_uc3b0256es.c: $(srcdir)/emulparams/avr32elf.sh \
  54150. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54151. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54152. + ${GENSCRIPTS} avr32elf_uc3b0256es "$(tdir_avr32)" avr32elf
  54153. +eavr32elf_uc3b0512.c: $(srcdir)/emulparams/avr32elf.sh \
  54154. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54155. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54156. + ${GENSCRIPTS} avr32elf_uc3b0512 "$(tdir_avr32)" avr32elf
  54157. +eavr32elf_uc3b0512revc.c: $(srcdir)/emulparams/avr32elf.sh \
  54158. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54159. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54160. + ${GENSCRIPTS} avr32elf_uc3b0512revc "$(tdir_avr32)" avr32elf
  54161. +eavr32elf_uc3b164.c: $(srcdir)/emulparams/avr32elf.sh \
  54162. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54163. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54164. + ${GENSCRIPTS} avr32elf_uc3b164 "$(tdir_avr32)" avr32elf
  54165. +eavr32elf_uc3b1128.c: $(srcdir)/emulparams/avr32elf.sh \
  54166. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54167. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54168. + ${GENSCRIPTS} avr32elf_uc3b1128 "$(tdir_avr32)" avr32elf
  54169. +eavr32elf_uc3b1256.c: $(srcdir)/emulparams/avr32elf.sh \
  54170. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54171. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54172. + ${GENSCRIPTS} avr32elf_uc3b1256 "$(tdir_avr32)" avr32elf
  54173. +eavr32elf_uc3b1256es.c: $(srcdir)/emulparams/avr32elf.sh \
  54174. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54175. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54176. + ${GENSCRIPTS} avr32elf_uc3b1256es "$(tdir_avr32)" avr32elf
  54177. +eavr32elf_uc3b1512.c: $(srcdir)/emulparams/avr32elf.sh \
  54178. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54179. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54180. + ${GENSCRIPTS} avr32elf_uc3b1512 "$(tdir_avr32)" avr32elf
  54181. +eavr32elf_uc3b1512revc.c: $(srcdir)/emulparams/avr32elf.sh \
  54182. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54183. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54184. + ${GENSCRIPTS} avr32elf_uc3b1512revc "$(tdir_avr32)" avr32elf
  54185. +eavr32elf_uc3c064c.c: $(srcdir)/emulparams/avr32elf.sh \
  54186. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54187. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54188. + ${GENSCRIPTS} avr32elf_uc3c064c "$(tdir_avr32)" avr32elf
  54189. +eavr32elf_uc3c0128c.c: $(srcdir)/emulparams/avr32elf.sh \
  54190. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54191. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54192. + ${GENSCRIPTS} avr32elf_uc3c0128c "$(tdir_avr32)" avr32elf
  54193. +eavr32elf_uc3c0256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54194. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54195. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54196. + ${GENSCRIPTS} avr32elf_uc3c0256c "$(tdir_avr32)" avr32elf
  54197. +eavr32elf_uc3c0512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  54198. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54199. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54200. + ${GENSCRIPTS} avr32elf_uc3c0512crevc "$(tdir_avr32)" avr32elf
  54201. +eavr32elf_uc3c164c.c: $(srcdir)/emulparams/avr32elf.sh \
  54202. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54203. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54204. + ${GENSCRIPTS} avr32elf_uc3c164c "$(tdir_avr32)" avr32elf
  54205. +eavr32elf_uc3c1128c.c: $(srcdir)/emulparams/avr32elf.sh \
  54206. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54207. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54208. + ${GENSCRIPTS} avr32elf_uc3c1128c "$(tdir_avr32)" avr32elf
  54209. +eavr32elf_uc3c1256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54210. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54211. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54212. + ${GENSCRIPTS} avr32elf_uc3c1256c "$(tdir_avr32)" avr32elf
  54213. +eavr32elf_uc3c1512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  54214. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54215. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54216. + ${GENSCRIPTS} avr32elf_uc3c1512crevc "$(tdir_avr32)" avr32elf
  54217. +eavr32elf_uc3c264c.c: $(srcdir)/emulparams/avr32elf.sh \
  54218. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54219. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54220. + ${GENSCRIPTS} avr32elf_uc3c264c "$(tdir_avr32)" avr32elf
  54221. +eavr32elf_uc3c2128c.c: $(srcdir)/emulparams/avr32elf.sh \
  54222. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54223. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54224. + ${GENSCRIPTS} avr32elf_uc3c2128c "$(tdir_avr32)" avr32elf
  54225. +eavr32elf_uc3c2256c.c: $(srcdir)/emulparams/avr32elf.sh \
  54226. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54227. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54228. + ${GENSCRIPTS} avr32elf_uc3c2256c "$(tdir_avr32)" avr32elf
  54229. +eavr32elf_uc3c2512crevc.c: $(srcdir)/emulparams/avr32elf.sh \
  54230. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54231. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54232. + ${GENSCRIPTS} avr32elf_uc3c2512crevc "$(tdir_avr32)" avr32elf
  54233. +eavr32elf_uc3l064.c: $(srcdir)/emulparams/avr32elf.sh \
  54234. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54235. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54236. + ${GENSCRIPTS} avr32elf_uc3l064 "$(tdir_avr32)" avr32elf
  54237. +eavr32elf_uc3l032.c: $(srcdir)/emulparams/avr32elf.sh \
  54238. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54239. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54240. + ${GENSCRIPTS} avr32elf_uc3l032 "$(tdir_avr32)" avr32elf
  54241. +eavr32elf_uc3l016.c: $(srcdir)/emulparams/avr32elf.sh \
  54242. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54243. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54244. + ${GENSCRIPTS} avr32elf_uc3l016 "$(tdir_avr32)" avr32elf
  54245. +eavr32elf_uc3l064revb.c: $(srcdir)/emulparams/avr32elf.sh \
  54246. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54247. + $(srcdir)/scripttempl/avr32.sc ${GEN_DEPENDS}
  54248. + ${GENSCRIPTS} avr32elf_uc3l064revb "$(tdir_avr32)" avr32elf
  54249. +eavr32linux.c: $(srcdir)/emulparams/avr32linux.sh \
  54250. + $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/avr32elf.em \
  54251. + $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  54252. + ${GENSCRIPTS} avr32linux "$(tdir_avr32)"
  54253. ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
  54254. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
  54255. ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)"
  54256. diff -Nur binutils-2.21.orig/ld/scripttempl/avr32.sc binutils-2.21/ld/scripttempl/avr32.sc
  54257. --- binutils-2.21.orig/ld/scripttempl/avr32.sc 1970-01-01 01:00:00.000000000 +0100
  54258. +++ binutils-2.21/ld/scripttempl/avr32.sc 2011-08-28 14:56:22.957991418 +0200
  54259. @@ -0,0 +1,459 @@
  54260. +#
  54261. +# Unusual variables checked by this code:
  54262. +# NOP - four byte opcode for no-op (defaults to 0)
  54263. +# NO_SMALL_DATA - no .sbss/.sbss2/.sdata/.sdata2 sections if not
  54264. +# empty.
  54265. +# SMALL_DATA_CTOR - .ctors contains small data.
  54266. +# SMALL_DATA_DTOR - .dtors contains small data.
  54267. +# DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
  54268. +# INITIAL_READONLY_SECTIONS - at start of text segment
  54269. +# OTHER_READONLY_SECTIONS - other than .text .init .rodata ...
  54270. +# (e.g., .PARISC.milli)
  54271. +# OTHER_TEXT_SECTIONS - these get put in .text when relocating
  54272. +# OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
  54273. +# (e.g., .PARISC.global)
  54274. +# OTHER_RELRO_SECTIONS - other than .data.rel.ro ...
  54275. +# (e.g. PPC32 .fixup, .got[12])
  54276. +# OTHER_BSS_SECTIONS - other than .bss .sbss ...
  54277. +# OTHER_SECTIONS - at the end
  54278. +# EXECUTABLE_SYMBOLS - symbols that must be defined for an
  54279. +# executable (e.g., _DYNAMIC_LINK)
  54280. +# TEXT_START_ADDR - the first byte of the text segment, after any
  54281. +# headers.
  54282. +# TEXT_BASE_ADDRESS - the first byte of the text segment.
  54283. +# TEXT_START_SYMBOLS - symbols that appear at the start of the
  54284. +# .text section.
  54285. +# DATA_START_SYMBOLS - symbols that appear at the start of the
  54286. +# .data section.
  54287. +# OTHER_GOT_SYMBOLS - symbols defined just before .got.
  54288. +# OTHER_GOT_SECTIONS - sections just after .got.
  54289. +# OTHER_SDATA_SECTIONS - sections just after .sdata.
  54290. +# OTHER_BSS_SYMBOLS - symbols that appear at the start of the
  54291. +# .bss section besides __bss_start.
  54292. +# DATA_PLT - .plt should be in data segment, not text segment.
  54293. +# PLT_BEFORE_GOT - .plt just before .got when .plt is in data segement.
  54294. +# BSS_PLT - .plt should be in bss segment
  54295. +# TEXT_DYNAMIC - .dynamic in text segment, not data segment.
  54296. +# EMBEDDED - whether this is for an embedded system.
  54297. +# SHLIB_TEXT_START_ADDR - if set, add to SIZEOF_HEADERS to set
  54298. +# start address of shared library.
  54299. +# INPUT_FILES - INPUT command of files to always include
  54300. +# WRITABLE_RODATA - if set, the .rodata section should be writable
  54301. +# INIT_START, INIT_END - statements just before and just after
  54302. +# combination of .init sections.
  54303. +# FINI_START, FINI_END - statements just before and just after
  54304. +# combination of .fini sections.
  54305. +# STACK_ADDR - start of a .stack section.
  54306. +# OTHER_END_SYMBOLS - symbols to place right at the end of the script.
  54307. +# SEPARATE_GOTPLT - if set, .got.plt should be separate output section,
  54308. +# so that .got can be in the RELRO area. It should be set to
  54309. +# the number of bytes in the beginning of .got.plt which can be
  54310. +# in the RELRO area as well.
  54311. +#
  54312. +# When adding sections, do note that the names of some sections are used
  54313. +# when specifying the start address of the next.
  54314. +#
  54315. +
  54316. +# Many sections come in three flavours. There is the 'real' section,
  54317. +# like ".data". Then there are the per-procedure or per-variable
  54318. +# sections, generated by -ffunction-sections and -fdata-sections in GCC,
  54319. +# and useful for --gc-sections, which for a variable "foo" might be
  54320. +# ".data.foo". Then there are the linkonce sections, for which the linker
  54321. +# eliminates duplicates, which are named like ".gnu.linkonce.d.foo".
  54322. +# The exact correspondences are:
  54323. +#
  54324. +# Section Linkonce section
  54325. +# .text .gnu.linkonce.t.foo
  54326. +# .rodata .gnu.linkonce.r.foo
  54327. +# .data .gnu.linkonce.d.foo
  54328. +# .bss .gnu.linkonce.b.foo
  54329. +# .sdata .gnu.linkonce.s.foo
  54330. +# .sbss .gnu.linkonce.sb.foo
  54331. +# .sdata2 .gnu.linkonce.s2.foo
  54332. +# .sbss2 .gnu.linkonce.sb2.foo
  54333. +# .debug_info .gnu.linkonce.wi.foo
  54334. +# .tdata .gnu.linkonce.td.foo
  54335. +# .tbss .gnu.linkonce.tb.foo
  54336. +#
  54337. +# Each of these can also have corresponding .rel.* and .rela.* sections.
  54338. +
  54339. +test -z "$ENTRY" && ENTRY=_start
  54340. +test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}
  54341. +test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT}
  54342. +if [ -z "$MACHINE" ]; then OUTPUT_ARCH=${ARCH}; else OUTPUT_ARCH=${ARCH}:${MACHINE}; fi
  54343. +test -z "${ELFSIZE}" && ELFSIZE=32
  54344. +test -z "${ALIGNMENT}" && ALIGNMENT="${ELFSIZE} / 8"
  54345. +test "$LD_FLAG" = "N" && DATA_ADDR=.
  54346. +test -n "$CREATE_SHLIB$CREATE_PIE" && test -n "$SHLIB_DATA_ADDR" && COMMONPAGESIZE=""
  54347. +test -z "$CREATE_SHLIB$CREATE_PIE" && test -n "$DATA_ADDR" && COMMONPAGESIZE=""
  54348. +test -n "$RELRO_NOW" && unset SEPARATE_GOTPLT
  54349. +if test -n "$RELOCATING"; then
  54350. + RO_REGION="${RO_VMA_REGION+ >}${RO_VMA_REGION}${RO_LMA_REGION+ AT>}${RO_LMA_REGION}"
  54351. + RW_REGION="${RW_VMA_REGION+ >}${RW_VMA_REGION}${RW_LMA_REGION+ AT>}${RW_LMA_REGION}"
  54352. + RW_BSS_REGION="${RW_VMA_REGION+ >}${RW_VMA_REGION}"
  54353. +else
  54354. + RO_REGION=""
  54355. + RW_REGION=""
  54356. + RW_BSS_REGION=""
  54357. +fi
  54358. +INTERP=".interp ${RELOCATING-0} : { *(.interp) }${RO_REGION}"
  54359. +PLT=".plt ${RELOCATING-0} : { *(.plt) }"
  54360. +if test -z "$GOT"; then
  54361. + if test -z "$SEPARATE_GOTPLT"; then
  54362. + GOT=".got ${RELOCATING-0} : { *(.got.plt) *(.got) }"
  54363. + else
  54364. + GOT=".got ${RELOCATING-0} : { *(.got) }"
  54365. + GOTPLT="${RELOCATING+${DATA_SEGMENT_RELRO_GOTPLT_END}}
  54366. + .got.plt ${RELOCATING-0} : { *(.got.plt) }"
  54367. + fi
  54368. +fi
  54369. +DALIGN=".dalign : { . = ALIGN(${DATA_SEGMENT_ALIGN}); PROVIDE(_data_lma = .); }${RO_REGION}"
  54370. +BALIGN=".balign : { . = ALIGN(${BSS_ALIGNMENT}); _edata = .; }${RW_REGION}"
  54371. +DYNAMIC=".dynamic ${RELOCATING-0} : { *(.dynamic) }"
  54372. +RODATA=".rodata ${RELOCATING-0} : { *(.rodata${RELOCATING+ .rodata.* .gnu.linkonce.r.*}) }"
  54373. +DATARELRO=".data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }${RW_REGION}"
  54374. +STACKNOTE="/DISCARD/ : { *(.note.GNU-stack) }"
  54375. +if test -z "${NO_SMALL_DATA}"; then
  54376. + SBSS=".sbss ${RELOCATING-0} :
  54377. + {
  54378. + ${RELOCATING+PROVIDE (__sbss_start = .);}
  54379. + ${RELOCATING+PROVIDE (___sbss_start = .);}
  54380. + ${CREATE_SHLIB+*(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)}
  54381. + *(.dynsbss)
  54382. + *(.sbss${RELOCATING+ .sbss.* .gnu.linkonce.sb.*})
  54383. + *(.scommon)
  54384. + ${RELOCATING+PROVIDE (__sbss_end = .);}
  54385. + ${RELOCATING+PROVIDE (___sbss_end = .);}
  54386. + }${RW_BSS_REGION}"
  54387. + SBSS2=".sbss2 ${RELOCATING-0} : { *(.sbss2${RELOCATING+ .sbss2.* .gnu.linkonce.sb2.*}) }${RW_REGION}"
  54388. + SDATA="/* We want the small data sections together, so single-instruction offsets
  54389. + can access them all, and initialized data all before uninitialized, so
  54390. + we can shorten the on-disk segment size. */
  54391. + .sdata ${RELOCATING-0} :
  54392. + {
  54393. + ${RELOCATING+${SDATA_START_SYMBOLS}}
  54394. + ${CREATE_SHLIB+*(.sdata2 .sdata2.* .gnu.linkonce.s2.*)}
  54395. + *(.sdata${RELOCATING+ .sdata.* .gnu.linkonce.s.*})
  54396. + }${RW_REGION}"
  54397. + SDATA2=".sdata2 ${RELOCATING-0} : { *(.sdata2${RELOCATING+ .sdata2.* .gnu.linkonce.s2.*}) }${RW_REGION}"
  54398. + REL_SDATA=".rel.sdata ${RELOCATING-0} : { *(.rel.sdata${RELOCATING+ .rel.sdata.* .rel.gnu.linkonce.s.*}) }${RO_REGION}
  54399. + .rela.sdata ${RELOCATING-0} : { *(.rela.sdata${RELOCATING+ .rela.sdata.* .rela.gnu.linkonce.s.*}) }"
  54400. + REL_SBSS=".rel.sbss ${RELOCATING-0} : { *(.rel.sbss${RELOCATING+ .rel.sbss.* .rel.gnu.linkonce.sb.*}) }${RO_REGION}
  54401. + .rela.sbss ${RELOCATING-0} : { *(.rela.sbss${RELOCATING+ .rela.sbss.* .rela.gnu.linkonce.sb.*}) }${RO_REGION}"
  54402. + REL_SDATA2=".rel.sdata2 ${RELOCATING-0} : { *(.rel.sdata2${RELOCATING+ .rel.sdata2.* .rel.gnu.linkonce.s2.*}) }${RO_REGION}
  54403. + .rela.sdata2 ${RELOCATING-0} : { *(.rela.sdata2${RELOCATING+ .rela.sdata2.* .rela.gnu.linkonce.s2.*}) }${RO_REGION}"
  54404. + REL_SBSS2=".rel.sbss2 ${RELOCATING-0} : { *(.rel.sbss2${RELOCATING+ .rel.sbss2.* .rel.gnu.linkonce.sb2.*}) }${RO_REGION}
  54405. + .rela.sbss2 ${RELOCATING-0} : { *(.rela.sbss2${RELOCATING+ .rela.sbss2.* .rela.gnu.linkonce.sb2.*}) }${RO_REGION}"
  54406. +else
  54407. + NO_SMALL_DATA=" "
  54408. +fi
  54409. +test -n "$SEPARATE_GOTPLT" && SEPARATE_GOTPLT=" "
  54410. +CTOR=".ctors ${CONSTRUCTING-0} :
  54411. + {
  54412. + ${CONSTRUCTING+${CTOR_START}}
  54413. + /* gcc uses crtbegin.o to find the start of
  54414. + the constructors, so we make sure it is
  54415. + first. Because this is a wildcard, it
  54416. + doesn't matter if the user does not
  54417. + actually link against crtbegin.o; the
  54418. + linker won't look for a file to match a
  54419. + wildcard. The wildcard also means that it
  54420. + doesn't matter which directory crtbegin.o
  54421. + is in. */
  54422. +
  54423. + KEEP (*crtbegin*.o(.ctors))
  54424. +
  54425. + /* We don't want to include the .ctor section from
  54426. + from the crtend.o file until after the sorted ctors.
  54427. + The .ctor section from the crtend file contains the
  54428. + end of ctors marker and it must be last */
  54429. +
  54430. + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .ctors))
  54431. + KEEP (*(SORT(.ctors.*)))
  54432. + KEEP (*(.ctors))
  54433. + ${CONSTRUCTING+${CTOR_END}}
  54434. + }"
  54435. +DTOR=".dtors ${CONSTRUCTING-0} :
  54436. + {
  54437. + ${CONSTRUCTING+${DTOR_START}}
  54438. + KEEP (*crtbegin*.o(.dtors))
  54439. + KEEP (*(EXCLUDE_FILE (*crtend*.o $OTHER_EXCLUDE_FILES) .dtors))
  54440. + KEEP (*(SORT(.dtors.*)))
  54441. + KEEP (*(.dtors))
  54442. + ${CONSTRUCTING+${DTOR_END}}
  54443. + }"
  54444. +STACK=".stack ${RELOCATING-0}${RELOCATING+${STACK_ADDR}} :
  54445. + {
  54446. + ${RELOCATING+_stack = .;}
  54447. + *(.stack)
  54448. + ${RELOCATING+${STACK_SIZE+. = ${STACK_SIZE};}}
  54449. + ${RELOCATING+_estack = .;}
  54450. + }${RW_BSS_REGION}"
  54451. +
  54452. +# if this is for an embedded system, don't add SIZEOF_HEADERS.
  54453. +if [ -z "$EMBEDDED" ]; then
  54454. + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR} + SIZEOF_HEADERS"
  54455. +else
  54456. + test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}"
  54457. +fi
  54458. +
  54459. +cat <<EOF
  54460. +OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
  54461. + "${LITTLE_OUTPUT_FORMAT}")
  54462. +OUTPUT_ARCH(${OUTPUT_ARCH})
  54463. +ENTRY(${ENTRY})
  54464. +
  54465. +${RELOCATING+${LIB_SEARCH_DIRS}}
  54466. +${RELOCATING+/* Do we need any of these for elf?
  54467. + __DYNAMIC = 0; ${STACKZERO+${STACKZERO}} ${SHLIB_PATH+${SHLIB_PATH}} */}
  54468. +${RELOCATING+${EXECUTABLE_SYMBOLS}}
  54469. +${RELOCATING+${INPUT_FILES}}
  54470. +${RELOCATING- /* For some reason, the Solaris linker makes bad executables
  54471. + if gld -r is used and the intermediate file has sections starting
  54472. + at non-zero addresses. Could be a Solaris ld bug, could be a GNU ld
  54473. + bug. But for now assigning the zero vmas works. */}
  54474. +
  54475. +${RELOCATING+${MEMORY}}
  54476. +
  54477. +SECTIONS
  54478. +{
  54479. + /* Read-only sections, merged into text segment: */
  54480. + ${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+PROVIDE (__executable_start = ${TEXT_START_ADDR}); . = ${TEXT_BASE_ADDRESS};}}}
  54481. + ${PADDING}
  54482. + ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
  54483. + ${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
  54484. + ${CREATE_SHLIB-${INTERP}}
  54485. + ${INITIAL_READONLY_SECTIONS}
  54486. + ${TEXT_DYNAMIC+${DYNAMIC}${RO_REGION}}
  54487. + .hash ${RELOCATING-0} : { *(.hash) }${RO_REGION}
  54488. + .dynsym ${RELOCATING-0} : { *(.dynsym) }${RO_REGION}
  54489. + .dynstr ${RELOCATING-0} : { *(.dynstr) }${RO_REGION}
  54490. + .gnu.version ${RELOCATING-0} : { *(.gnu.version) }${RO_REGION}
  54491. + .gnu.version_d ${RELOCATING-0}: { *(.gnu.version_d) }${RO_REGION}
  54492. + .gnu.version_r ${RELOCATING-0}: { *(.gnu.version_r) }${RO_REGION}
  54493. +
  54494. +EOF
  54495. +if [ "x$COMBRELOC" = x ]; then
  54496. + COMBRELOCCAT=cat
  54497. +else
  54498. + COMBRELOCCAT="cat > $COMBRELOC"
  54499. +fi
  54500. +eval $COMBRELOCCAT <<EOF
  54501. + .rel.init ${RELOCATING-0} : { *(.rel.init) }${RO_REGION}
  54502. + .rela.init ${RELOCATING-0} : { *(.rela.init) }${RO_REGION}
  54503. + .rel.text ${RELOCATING-0} : { *(.rel.text${RELOCATING+ .rel.text.* .rel.gnu.linkonce.t.*}) }${RO_REGION}
  54504. + .rela.text ${RELOCATING-0} : { *(.rela.text${RELOCATING+ .rela.text.* .rela.gnu.linkonce.t.*}) }${RO_REGION}
  54505. + .rel.fini ${RELOCATING-0} : { *(.rel.fini) }${RO_REGION}
  54506. + .rela.fini ${RELOCATING-0} : { *(.rela.fini) }${RO_REGION}
  54507. + .rel.rodata ${RELOCATING-0} : { *(.rel.rodata${RELOCATING+ .rel.rodata.* .rel.gnu.linkonce.r.*}) }${RO_REGION}
  54508. + .rela.rodata ${RELOCATING-0} : { *(.rela.rodata${RELOCATING+ .rela.rodata.* .rela.gnu.linkonce.r.*}) }${RO_REGION}
  54509. + ${OTHER_READONLY_RELOC_SECTIONS}
  54510. + .rel.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
  54511. + .rela.data.rel.ro ${RELOCATING-0} : { *(.rel.data.rel.ro${RELOCATING+*}) }${RO_REGION}
  54512. + .rel.data ${RELOCATING-0} : { *(.rel.data${RELOCATING+ .rel.data.* .rel.gnu.linkonce.d.*}) }${RO_REGION}
  54513. + .rela.data ${RELOCATING-0} : { *(.rela.data${RELOCATING+ .rela.data.* .rela.gnu.linkonce.d.*}) }${RO_REGION}
  54514. + .rel.tdata ${RELOCATING-0} : { *(.rel.tdata${RELOCATING+ .rel.tdata.* .rel.gnu.linkonce.td.*}) }${RO_REGION}
  54515. + .rela.tdata ${RELOCATING-0} : { *(.rela.tdata${RELOCATING+ .rela.tdata.* .rela.gnu.linkonce.td.*}) }${RO_REGION}
  54516. + .rel.tbss ${RELOCATING-0} : { *(.rel.tbss${RELOCATING+ .rel.tbss.* .rel.gnu.linkonce.tb.*}) }${RO_REGION}
  54517. + .rela.tbss ${RELOCATING-0} : { *(.rela.tbss${RELOCATING+ .rela.tbss.* .rela.gnu.linkonce.tb.*}) }${RO_REGION}
  54518. + .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) }${RO_REGION}
  54519. + .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) }${RO_REGION}
  54520. + .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) }${RO_REGION}
  54521. + .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) }${RO_REGION}
  54522. + .rel.got ${RELOCATING-0} : { *(.rel.got) }${RO_REGION}
  54523. + .rela.got ${RELOCATING-0} : { *(.rela.got) }${RO_REGION}
  54524. + ${OTHER_GOT_RELOC_SECTIONS}
  54525. + ${REL_SDATA}
  54526. + ${REL_SBSS}
  54527. + ${REL_SDATA2}
  54528. + ${REL_SBSS2}
  54529. + .rel.bss ${RELOCATING-0} : { *(.rel.bss${RELOCATING+ .rel.bss.* .rel.gnu.linkonce.b.*}) }${RO_REGION}
  54530. + .rela.bss ${RELOCATING-0} : { *(.rela.bss${RELOCATING+ .rela.bss.* .rela.gnu.linkonce.b.*}) }${RO_REGION}
  54531. +EOF
  54532. +if [ -n "$COMBRELOC" ]; then
  54533. +cat <<EOF
  54534. + .rel.dyn ${RELOCATING-0} :
  54535. + {
  54536. +EOF
  54537. +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rela\./d;s/^.*: { *\(.*\)}$/ \1/' $COMBRELOC
  54538. +cat <<EOF
  54539. + }${RO_REGION}
  54540. + .rela.dyn ${RELOCATING-0} :
  54541. + {
  54542. +EOF
  54543. +sed -e '/^[ ]*[{}][ ]*$/d;/:[ ]*$/d;/\.rel\./d;s/^.*: { *\(.*\)}/ \1/' $COMBRELOC
  54544. +cat <<EOF
  54545. + }${RO_REGION}
  54546. +EOF
  54547. +fi
  54548. +cat <<EOF
  54549. + .rel.plt ${RELOCATING-0} : { *(.rel.plt) }${RO_REGION}
  54550. + .rela.plt ${RELOCATING-0} : { *(.rela.plt) }${RO_REGION}
  54551. + ${OTHER_PLT_RELOC_SECTIONS}
  54552. +
  54553. + .init ${RELOCATING-0} :
  54554. + {
  54555. + ${RELOCATING+${INIT_START}}
  54556. + KEEP (*(.init))
  54557. + ${RELOCATING+${INIT_END}}
  54558. + }${RO_REGION} =${NOP-0}
  54559. +
  54560. + ${DATA_PLT-${BSS_PLT-${PLT}${RO_REGION}}}
  54561. + .text ${RELOCATING-0} :
  54562. + {
  54563. + ${RELOCATING+${TEXT_START_SYMBOLS}}
  54564. + *(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
  54565. + KEEP (*(.text.*personality*))
  54566. + /* .gnu.warning sections are handled specially by elf32.em. */
  54567. + *(.gnu.warning)
  54568. + ${RELOCATING+${OTHER_TEXT_SECTIONS}}
  54569. + }${RO_REGION} =${NOP-0}
  54570. + .fini ${RELOCATING-0} :
  54571. + {
  54572. + ${RELOCATING+${FINI_START}}
  54573. + KEEP (*(.fini))
  54574. + ${RELOCATING+${FINI_END}}
  54575. + }${RO_REGION} =${NOP-0}
  54576. + ${RELOCATING+PROVIDE (__etext = .);}
  54577. + ${RELOCATING+PROVIDE (_etext = .);}
  54578. + ${RELOCATING+PROVIDE (etext = .);}
  54579. + ${WRITABLE_RODATA-${RODATA}${RO_REGION}}
  54580. + .rodata1 ${RELOCATING-0} : { *(.rodata1) }${RO_REGION}
  54581. + ${CREATE_SHLIB-${SDATA2}}
  54582. + ${CREATE_SHLIB-${SBSS2}}
  54583. + ${OTHER_READONLY_SECTIONS}
  54584. + .eh_frame_hdr : { *(.eh_frame_hdr) }${RO_REGION}
  54585. + .eh_frame ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.eh_frame)) }${RO_REGION}
  54586. + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RO_REGION}
  54587. +
  54588. + ${RELOCATING+${DALIGN}}
  54589. + ${RELOCATING+PROVIDE (_data = ORIGIN(${RW_VMA_REGION}));}
  54590. + . = ORIGIN(${RW_VMA_REGION});
  54591. + /* Exception handling */
  54592. + .eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) }${RW_REGION}
  54593. + .gcc_except_table ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }${RW_REGION}
  54594. +
  54595. + /* Thread Local Storage sections */
  54596. + .tdata ${RELOCATING-0} : { *(.tdata${RELOCATING+ .tdata.* .gnu.linkonce.td.*}) }${RW_REGION}
  54597. + .tbss ${RELOCATING-0} : { *(.tbss${RELOCATING+ .tbss.* .gnu.linkonce.tb.*})${RELOCATING+ *(.tcommon)} }${RW_BSS_REGION}
  54598. +
  54599. + /* Ensure the __preinit_array_start label is properly aligned. We
  54600. + could instead move the label definition inside the section, but
  54601. + the linker would then create the section even if it turns out to
  54602. + be empty, which isn't pretty. */
  54603. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = ALIGN(${ALIGNMENT}));}}
  54604. + .preinit_array ${RELOCATING-0} : { KEEP (*(.preinit_array)) }${RW_REGION}
  54605. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_end = .);}}
  54606. +
  54607. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_start = .);}}
  54608. + .init_array ${RELOCATING-0} : { KEEP (*(.init_array)) }${RW_REGION}
  54609. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}}
  54610. +
  54611. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_start = .);}}
  54612. + .fini_array ${RELOCATING-0} : { KEEP (*(.fini_array)) }${RW_REGION}
  54613. + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__fini_array_end = .);}}
  54614. +
  54615. + ${SMALL_DATA_CTOR-${RELOCATING+${CTOR}${RW_REGION}}}
  54616. + ${SMALL_DATA_DTOR-${RELOCATING+${DTOR}${RW_REGION}}}
  54617. + .jcr ${RELOCATING-0} : { KEEP (*(.jcr)) }${RW_REGION}
  54618. +
  54619. + ${RELOCATING+${DATARELRO}}
  54620. + ${OTHER_RELRO_SECTIONS}
  54621. + ${TEXT_DYNAMIC-${DYNAMIC}${RW_REGION}}
  54622. + ${NO_SMALL_DATA+${RELRO_NOW+${GOT}${RW_REGION}}}
  54623. + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOT}${RW_REGION}}}}
  54624. + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT+${GOTPLT}${RW_REGION}}}}
  54625. + ${RELOCATING+${DATA_SEGMENT_RELRO_END}}
  54626. + ${NO_SMALL_DATA+${RELRO_NOW-${SEPARATE_GOTPLT-${GOT}${RW_REGION}}}}
  54627. +
  54628. + ${DATA_PLT+${PLT_BEFORE_GOT-${PLT}${RW_REGION}}}
  54629. +
  54630. + .data ${RELOCATING-0} :
  54631. + {
  54632. + ${RELOCATING+${DATA_START_SYMBOLS}}
  54633. + *(.data${RELOCATING+ .data.* .gnu.linkonce.d.*})
  54634. + KEEP (*(.gnu.linkonce.d.*personality*))
  54635. + ${CONSTRUCTING+SORT(CONSTRUCTORS)}
  54636. + }${RW_REGION}
  54637. + .data1 ${RELOCATING-0} : { *(.data1) }${RW_REGION}
  54638. + ${WRITABLE_RODATA+${RODATA}${RW_REGION}}
  54639. + ${OTHER_READWRITE_SECTIONS}
  54640. + ${SMALL_DATA_CTOR+${RELOCATING+${CTOR}${RW_REGION}}}
  54641. + ${SMALL_DATA_DTOR+${RELOCATING+${DTOR}${RW_REGION}}}
  54642. + ${DATA_PLT+${PLT_BEFORE_GOT+${PLT}${RW_REGION}}}
  54643. + ${RELOCATING+${OTHER_GOT_SYMBOLS}}
  54644. + ${NO_SMALL_DATA-${GOT}${RW_REGION}}
  54645. + ${OTHER_GOT_SECTIONS}
  54646. + ${SDATA}
  54647. + ${OTHER_SDATA_SECTIONS}
  54648. + ${RELOCATING+${BALIGN}}
  54649. + ${RELOCATING+_edata = .;}
  54650. + ${RELOCATING+PROVIDE (edata = .);}
  54651. + ${RELOCATING+__bss_start = .;}
  54652. + ${RELOCATING+${OTHER_BSS_SYMBOLS}}
  54653. + ${SBSS}
  54654. + ${BSS_PLT+${PLT}${RW_REGION}}
  54655. + .bss ${RELOCATING-0} :
  54656. + {
  54657. + *(.dynbss)
  54658. + *(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
  54659. + *(COMMON)
  54660. + /* Align here to ensure that the .bss section occupies space up to
  54661. + _end. Align after .bss to ensure correct alignment even if the
  54662. + .bss section disappears because there are no input sections. */
  54663. + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
  54664. + }${RW_BSS_REGION}
  54665. + ${OTHER_BSS_SECTIONS}
  54666. + ${RELOCATING+. = ALIGN(${BSS_ALIGNMENT});}
  54667. + ${RELOCATING+_end = .;}
  54668. + ${RELOCATING+${OTHER_BSS_END_SYMBOLS}}
  54669. + ${RELOCATING+PROVIDE (end = .);}
  54670. + ${RELOCATING+${DATA_SEGMENT_END}}
  54671. +
  54672. + /* Stabs debugging sections. */
  54673. + .stab 0 : { *(.stab) }
  54674. + .stabstr 0 : { *(.stabstr) }
  54675. + .stab.excl 0 : { *(.stab.excl) }
  54676. + .stab.exclstr 0 : { *(.stab.exclstr) }
  54677. + .stab.index 0 : { *(.stab.index) }
  54678. + .stab.indexstr 0 : { *(.stab.indexstr) }
  54679. +
  54680. + .comment 0 : { *(.comment) }
  54681. +
  54682. + /* DWARF debug sections.
  54683. + Symbols in the DWARF debugging sections are relative to the beginning
  54684. + of the section so we begin them at 0. */
  54685. +
  54686. + /* DWARF 1 */
  54687. + .debug 0 : { *(.debug) }
  54688. + .line 0 : { *(.line) }
  54689. +
  54690. + /* GNU DWARF 1 extensions */
  54691. + .debug_srcinfo 0 : { *(.debug_srcinfo) }
  54692. + .debug_sfnames 0 : { *(.debug_sfnames) }
  54693. +
  54694. + /* DWARF 1.1 and DWARF 2 */
  54695. + .debug_aranges 0 : { *(.debug_aranges) }
  54696. + .debug_pubnames 0 : { *(.debug_pubnames) }
  54697. +
  54698. + /* DWARF 2 */
  54699. + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
  54700. + .debug_abbrev 0 : { *(.debug_abbrev) }
  54701. + .debug_line 0 : { *(.debug_line) }
  54702. + .debug_frame 0 : { *(.debug_frame) }
  54703. + .debug_str 0 : { *(.debug_str) }
  54704. + .debug_loc 0 : { *(.debug_loc) }
  54705. + .debug_macinfo 0 : { *(.debug_macinfo) }
  54706. +
  54707. + /* SGI/MIPS DWARF 2 extensions */
  54708. + .debug_weaknames 0 : { *(.debug_weaknames) }
  54709. + .debug_funcnames 0 : { *(.debug_funcnames) }
  54710. + .debug_typenames 0 : { *(.debug_typenames) }
  54711. + .debug_varnames 0 : { *(.debug_varnames) }
  54712. +
  54713. + ${STACK_ADDR+${STACK}}
  54714. + ${OTHER_SECTIONS}
  54715. + ${RELOCATING+${OTHER_END_SYMBOLS}}
  54716. + ${RELOCATING+${STACKNOTE}}
  54717. +}
  54718. +EOF
  54719. diff -Nur binutils-2.21.orig/ld/testsuite/ld-avr32/avr32.exp binutils-2.21/ld/testsuite/ld-avr32/avr32.exp
  54720. --- binutils-2.21.orig/ld/testsuite/ld-avr32/avr32.exp 1970-01-01 01:00:00.000000000 +0100
  54721. +++ binutils-2.21/ld/testsuite/ld-avr32/avr32.exp 2011-08-28 14:56:23.007981837 +0200
  54722. @@ -0,0 +1,25 @@
  54723. +# Expect script for AVR32 ELF linker tests.
  54724. +# Copyright 2004-2006 Atmel Corporation.
  54725. +#
  54726. +# This file is free software; you can redistribute it and/or modify
  54727. +# it under the terms of the GNU General Public License as published by
  54728. +# the Free Software Foundation; either version 2 of the License, or
  54729. +# (at your option) any later version.
  54730. +#
  54731. +# This program is distributed in the hope that it will be useful,
  54732. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  54733. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  54734. +# GNU General Public License for more details.
  54735. +#
  54736. +# You should have received a copy of the GNU General Public License
  54737. +# along with this program; if not, write to the Free Software
  54738. +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  54739. +#
  54740. +# Written by Haavard Skinnemoen (hskinnemoen@atmel.com)
  54741. +#
  54742. +
  54743. +if ![istarget avr32-*-*] {
  54744. + return
  54745. +}
  54746. +
  54747. +run_dump_test "pcrel"
  54748. diff -Nur binutils-2.21.orig/ld/testsuite/ld-avr32/pcrel.d binutils-2.21/ld/testsuite/ld-avr32/pcrel.d
  54749. --- binutils-2.21.orig/ld/testsuite/ld-avr32/pcrel.d 1970-01-01 01:00:00.000000000 +0100
  54750. +++ binutils-2.21/ld/testsuite/ld-avr32/pcrel.d 2011-08-28 14:56:23.057982771 +0200
  54751. @@ -0,0 +1,74 @@
  54752. +#name: AVR32 ELF PC-relative external relocs
  54753. +#source: symbols.s
  54754. +#source: ../../../gas/testsuite/gas/avr32/pcrel.s
  54755. +#ld: -T $srcdir/$subdir/pcrel.ld
  54756. +#objdump: -d
  54757. +
  54758. +.*: file format elf.*avr32.*
  54759. +
  54760. +Disassembly of section .text:
  54761. +
  54762. +a0000000 <_start>:
  54763. +a0000000: d7 03 nop
  54764. +a0000002: d7 03 nop
  54765. +
  54766. +a0000004 <test_rjmp>:
  54767. +a0000004: d7 03 nop
  54768. +a0000006: c0 28 rjmp a000000a <test_rjmp\+0x6>
  54769. +a0000008: d7 03 nop
  54770. +a000000a: e0 8f 01 fb bral a0000400 <extsym10>
  54771. +
  54772. +a000000e <test_rcall>:
  54773. +a000000e: d7 03 nop
  54774. +a0000010 <test_rcall2>:
  54775. +a0000010: c0 2c rcall a0000014 <test_rcall2\+0x4>
  54776. +a0000012: d7 03 nop
  54777. +a0000014: ee b0 ff f6 rcall a0200000 <extsym21>
  54778. +
  54779. +a0000018 <test_branch>:
  54780. +a0000018: c0 31 brne a000001e <test_branch\+0x6>
  54781. +a000001a: fe 9f ff ff bral a0000018 <test_branch>
  54782. +a000001e: ee 90 ff f1 breq a0200000 <extsym21>
  54783. +
  54784. +a0000022 <test_lddpc>:
  54785. +a0000022: 48 30 lddpc r0,a000002c <sym1>
  54786. +a0000024: 48 20 lddpc r0,a000002c <sym1>
  54787. +a0000026: fe f0 7f da ld.w r0,pc\[32730\]
  54788. + ...
  54789. +
  54790. +a000002c <sym1>:
  54791. +a000002c: d7 03 nop
  54792. +a000002e: d7 03 nop
  54793. +
  54794. +a0000030 <test_local>:
  54795. +a0000030: 48 20 lddpc r0,a0000038 <test_local\+0x8>
  54796. +a0000032: 48 30 lddpc r0,a000003c <test_local\+0xc>
  54797. +a0000034: 48 20 lddpc r0,a000003c <test_local\+0xc>
  54798. +a0000036: 00 00 add r0,r0
  54799. +a0000038: d7 03 nop
  54800. +a000003a: d7 03 nop
  54801. +a000003c: d7 03 nop
  54802. +a000003e: d7 03 nop
  54803. +
  54804. +Disassembly of section \.text\.init:
  54805. +a0000040 <test_inter_section>:
  54806. +a0000040: fe b0 ff e7 rcall a000000e <test_rcall>
  54807. +a0000044: d7 03 nop
  54808. +a0000046: fe b0 ff e4 rcall a000000e <test_rcall>
  54809. +a000004a: fe b0 ff e3 rcall a0000010 <test_rcall2>
  54810. +a000004e: d7 03 nop
  54811. +a0000050: fe b0 ff e0 rcall a0000010 <test_rcall2>
  54812. +
  54813. +Disassembly of section \.text\.pcrel10:
  54814. +
  54815. +a0000400 <extsym10>:
  54816. +a0000400: d7 03 nop
  54817. +
  54818. +Disassembly of section \.text\.pcrel16:
  54819. +
  54820. +a0008000 <extsym16>:
  54821. +a0008000: d7 03 nop
  54822. +
  54823. +Disassembly of section \.text\.pcrel21:
  54824. +a0200000 <extsym21>:
  54825. +a0200000: d7 03 nop
  54826. diff -Nur binutils-2.21.orig/ld/testsuite/ld-avr32/pcrel.ld binutils-2.21/ld/testsuite/ld-avr32/pcrel.ld
  54827. --- binutils-2.21.orig/ld/testsuite/ld-avr32/pcrel.ld 1970-01-01 01:00:00.000000000 +0100
  54828. +++ binutils-2.21/ld/testsuite/ld-avr32/pcrel.ld 2011-08-28 14:56:23.107980446 +0200
  54829. @@ -0,0 +1,23 @@
  54830. +ENTRY(_start)
  54831. +SECTIONS
  54832. +{
  54833. + .text 0xa0000000:
  54834. + {
  54835. + *(.text)
  54836. + }
  54837. +
  54838. + .text.pcrel10 0xa0000400:
  54839. + {
  54840. + *(.text.pcrel10)
  54841. + }
  54842. +
  54843. + .text.pcrel16 0xa0008000:
  54844. + {
  54845. + *(.text.pcrel16)
  54846. + }
  54847. +
  54848. + .text.pcrel21 0xa0200000:
  54849. + {
  54850. + *(.text.pcrel21)
  54851. + }
  54852. +}
  54853. diff -Nur binutils-2.21.orig/ld/testsuite/ld-avr32/symbols.s binutils-2.21/ld/testsuite/ld-avr32/symbols.s
  54854. --- binutils-2.21.orig/ld/testsuite/ld-avr32/symbols.s 1970-01-01 01:00:00.000000000 +0100
  54855. +++ binutils-2.21/ld/testsuite/ld-avr32/symbols.s 2011-08-28 14:56:23.177984059 +0200
  54856. @@ -0,0 +1,20 @@
  54857. + .text
  54858. + .global _start
  54859. +_start:
  54860. + nop
  54861. + nop
  54862. +
  54863. + .section .text.pcrel10,"ax"
  54864. + .global extsym10
  54865. +extsym10:
  54866. + nop
  54867. +
  54868. + .section .text.pcrel16,"ax"
  54869. + .global extsym16
  54870. +extsym16:
  54871. + nop
  54872. +
  54873. + .section .text.pcrel21,"ax"
  54874. + .global extsym21
  54875. +extsym21:
  54876. + nop
  54877. diff -Nur binutils-2.21.orig/opcodes/avr32-asm.c binutils-2.21/opcodes/avr32-asm.c
  54878. --- binutils-2.21.orig/opcodes/avr32-asm.c 1970-01-01 01:00:00.000000000 +0100
  54879. +++ binutils-2.21/opcodes/avr32-asm.c 2011-08-28 14:56:23.217983259 +0200
  54880. @@ -0,0 +1,244 @@
  54881. +/* Assembler interface for AVR32.
  54882. + Copyright 2005,2006,2007,2008,2009 Atmel Corporation.
  54883. +
  54884. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  54885. +
  54886. + This file is part of libopcodes.
  54887. +
  54888. + This program is free software; you can redistribute it and/or
  54889. + modify it under the terms of the GNU General Public License as
  54890. + published by the Free Software Foundation; either version 2 of the
  54891. + License, or (at your option) any later version.
  54892. +
  54893. + This program is distributed in the hope that it will be useful, but
  54894. + WITHOUT ANY WARRANTY; without even the implied warranty of
  54895. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  54896. + General Public License for more details.
  54897. +
  54898. + You should have received a copy of the GNU General Public License
  54899. + along with this program; if not, write to the Free Software
  54900. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  54901. + 02111-1307, USA. */
  54902. +
  54903. +#include <string.h>
  54904. +
  54905. +#include "avr32-opc.h"
  54906. +#include "avr32-asm.h"
  54907. +
  54908. +/* Structure for a register hash table entry. */
  54909. +struct reg_entry
  54910. +{
  54911. + const char *name;
  54912. + int number;
  54913. +};
  54914. +
  54915. +/* Integer Registers. */
  54916. +static const struct reg_entry reg_table[] =
  54917. + {
  54918. + /* Primary names (used by the disassembler) */
  54919. + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
  54920. + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
  54921. + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
  54922. + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
  54923. + /* Alternatives to sp, lr and pc. */
  54924. + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
  54925. + };
  54926. +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
  54927. +
  54928. +/* Coprocessor Registers. */
  54929. +static const struct reg_entry cr_table[] =
  54930. + {
  54931. + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
  54932. + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
  54933. + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
  54934. + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
  54935. + };
  54936. +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
  54937. +
  54938. +#define AVR32_NR_FPREGS (sizeof(fr_table)/sizeof(fr_table[0]))
  54939. +
  54940. +/* PiCo Registers. */
  54941. +static const struct reg_entry pico_table[] =
  54942. + {
  54943. + { "inpix2", 0 }, { "inpix1", 1 }, { "inpix0", 2 },
  54944. + { "outpix2", 3 }, { "outpix1", 4 }, { "outpix0", 5 },
  54945. + { "coeff0_a", 6 }, { "coeff0_b", 7 }, { "coeff1_a", 8 },
  54946. + { "coeff1_b", 9 }, { "coeff2_a", 10 }, { "coeff2_b", 11 },
  54947. + { "vmu0_out", 12 }, { "vmu1_out", 13 }, { "vmu2_out", 14 },
  54948. + { "config", 15 },
  54949. + };
  54950. +#define AVR32_NR_PICOREGS (sizeof(pico_table)/sizeof(pico_table[0]))
  54951. +
  54952. +int
  54953. +avr32_parse_intreg(const char *str)
  54954. +{
  54955. + unsigned int i;
  54956. +
  54957. + for (i = 0; i < AVR32_NR_INTREGS; i++)
  54958. + {
  54959. + if (strcasecmp(reg_table[i].name, str) == 0)
  54960. + return reg_table[i].number;
  54961. + }
  54962. +
  54963. + return -1;
  54964. +}
  54965. +
  54966. +int
  54967. +avr32_parse_cpreg(const char *str)
  54968. +{
  54969. + unsigned int i;
  54970. +
  54971. + for (i = 0; i < AVR32_NR_CPREGS; i++)
  54972. + {
  54973. + if (strcasecmp(cr_table[i].name, str) == 0)
  54974. + return cr_table[i].number;
  54975. + }
  54976. +
  54977. + return -1;
  54978. +}
  54979. +
  54980. +
  54981. +int avr32_parse_picoreg(const char *str)
  54982. +{
  54983. + unsigned int i;
  54984. +
  54985. + for (i = 0; i < AVR32_NR_PICOREGS; i++)
  54986. + {
  54987. + if (strcasecmp(pico_table[i].name, str) == 0)
  54988. + return pico_table[i].number;
  54989. + }
  54990. +
  54991. + return -1;
  54992. +}
  54993. +
  54994. +static unsigned long
  54995. +parse_reglist(char *str, char **endptr, int (*parse_reg)(const char *))
  54996. +{
  54997. + int reg_from, reg_to;
  54998. + unsigned long result = 0;
  54999. + char *p1, *p2, c;
  55000. +
  55001. + while (*str)
  55002. + {
  55003. + for (p1 = str; *p1; p1++)
  55004. + if (*p1 == ',' || *p1 == '-')
  55005. + break;
  55006. +
  55007. + c = *p1, *p1 = 0;
  55008. + reg_from = parse_reg(str);
  55009. + *p1 = c;
  55010. +
  55011. + if (reg_from < 0)
  55012. + break;
  55013. +
  55014. + if (*p1 == '-')
  55015. + {
  55016. + for (p2 = ++p1; *p2; p2++)
  55017. + if (*p2 == ',')
  55018. + break;
  55019. +
  55020. + c = *p2, *p2 = 0;
  55021. + /* printf("going to parse reg_to from `%s'\n", p1); */
  55022. + reg_to = parse_reg(p1);
  55023. + *p2 = c;
  55024. +
  55025. + if (reg_to < 0)
  55026. + break;
  55027. +
  55028. + while (reg_from <= reg_to)
  55029. + result |= (1 << reg_from++);
  55030. + p1 = p2;
  55031. + }
  55032. + else
  55033. + result |= (1 << reg_from);
  55034. +
  55035. + str = p1;
  55036. + if (*str) ++str;
  55037. + }
  55038. +
  55039. + if (endptr)
  55040. + *endptr = str;
  55041. +
  55042. + return result;
  55043. +}
  55044. +
  55045. +unsigned long
  55046. +avr32_parse_reglist(char *str, char **endptr)
  55047. +{
  55048. + return parse_reglist(str, endptr, avr32_parse_intreg);
  55049. +}
  55050. +
  55051. +unsigned long
  55052. +avr32_parse_cpreglist(char *str, char **endptr)
  55053. +{
  55054. + return parse_reglist(str, endptr, avr32_parse_cpreg);
  55055. +}
  55056. +
  55057. +unsigned long
  55058. +avr32_parse_pico_reglist(char *str, char **endptr)
  55059. +{
  55060. + return parse_reglist(str, endptr, avr32_parse_picoreg);
  55061. +}
  55062. +
  55063. +int
  55064. +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8)
  55065. +{
  55066. + unsigned long result = 0;
  55067. +
  55068. + /* printf("convert regmask16 0x%04lx\n", regmask16); */
  55069. +
  55070. + if (regmask16 & 0xf)
  55071. + {
  55072. + if ((regmask16 & 0xf) == 0xf)
  55073. + result |= 1 << 0;
  55074. + else
  55075. + return -1;
  55076. + }
  55077. + if (regmask16 & 0xf0)
  55078. + {
  55079. + if ((regmask16 & 0xf0) == 0xf0)
  55080. + result |= 1 << 1;
  55081. + else
  55082. + return -1;
  55083. + }
  55084. + if (regmask16 & 0x300)
  55085. + {
  55086. + if ((regmask16 & 0x300) == 0x300)
  55087. + result |= 1 << 2;
  55088. + else
  55089. + return -1;
  55090. + }
  55091. + if (regmask16 & (1 << 13))
  55092. + return -1;
  55093. +
  55094. + if (regmask16 & (1 << 10))
  55095. + result |= 1 << 3;
  55096. + if (regmask16 & (1 << 11))
  55097. + result |= 1 << 4;
  55098. + if (regmask16 & (1 << 12))
  55099. + result |= 1 << 5;
  55100. + if (regmask16 & (1 << 14))
  55101. + result |= 1 << 6;
  55102. + if (regmask16 & (1 << 15))
  55103. + result |= 1 << 7;
  55104. +
  55105. + *regmask8 = result;
  55106. +
  55107. + return 0;
  55108. +}
  55109. +
  55110. +#if 0
  55111. +struct reg_map
  55112. +{
  55113. + const struct reg_entry *names;
  55114. + int nr_regs;
  55115. + struct hash_control *htab;
  55116. + const char *errmsg;
  55117. +};
  55118. +
  55119. +struct reg_map all_reg_maps[] =
  55120. + {
  55121. + { reg_table, AVR32_NR_INTREGS, NULL, N_("integral register expected") },
  55122. + { cr_table, AVR32_NR_CPREGS, NULL, N_("coprocessor register expected") },
  55123. + };
  55124. +#endif
  55125. diff -Nur binutils-2.21.orig/opcodes/avr32-asm.h binutils-2.21/opcodes/avr32-asm.h
  55126. --- binutils-2.21.orig/opcodes/avr32-asm.h 1970-01-01 01:00:00.000000000 +0100
  55127. +++ binutils-2.21/opcodes/avr32-asm.h 2011-08-28 14:56:23.267979368 +0200
  55128. @@ -0,0 +1,40 @@
  55129. +/* Assembler interface for AVR32.
  55130. + Copyright 2005,2006,2007,2008,2009 Atmel Corporation.
  55131. +
  55132. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  55133. +
  55134. + This file is part of libopcodes.
  55135. +
  55136. + This program is free software; you can redistribute it and/or
  55137. + modify it under the terms of the GNU General Public License as
  55138. + published by the Free Software Foundation; either version 2 of the
  55139. + License, or (at your option) any later version.
  55140. +
  55141. + This program is distributed in the hope that it will be useful, but
  55142. + WITHOUT ANY WARRANTY; without even the implied warranty of
  55143. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  55144. + General Public License for more details.
  55145. +
  55146. + You should have received a copy of the GNU General Public License
  55147. + along with this program; if not, write to the Free Software
  55148. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  55149. + 02111-1307, USA. */
  55150. +#ifndef __OPCODES_AVR32_ASM_H
  55151. +#define __OPCODES_AVR32_ASM_H
  55152. +
  55153. +extern int
  55154. +avr32_parse_intreg(const char *str);
  55155. +extern int
  55156. +avr32_parse_cpreg(const char *str);
  55157. +extern int
  55158. +avr32_parse_picoreg(const char *str);
  55159. +extern unsigned long
  55160. +avr32_parse_reglist(char *str, char **endptr);
  55161. +extern unsigned long
  55162. +avr32_parse_cpreglist(char *str, char **endptr);
  55163. +extern unsigned long
  55164. +avr32_parse_pico_reglist(char *str, char **endptr);
  55165. +extern int
  55166. +avr32_make_regmask8(unsigned long regmask16, unsigned long *regmask8);
  55167. +
  55168. +#endif /* __OPCODES_AVR32_ASM_H */
  55169. diff -Nur binutils-2.21.orig/opcodes/avr32-dis.c binutils-2.21/opcodes/avr32-dis.c
  55170. --- binutils-2.21.orig/opcodes/avr32-dis.c 1970-01-01 01:00:00.000000000 +0100
  55171. +++ binutils-2.21/opcodes/avr32-dis.c 2011-08-28 14:56:23.327983383 +0200
  55172. @@ -0,0 +1,916 @@
  55173. +/* Print AVR32 instructions for GDB and objdump.
  55174. + Copyright 2005,2006,2007,2008,2009 Atmel Corporation.
  55175. +
  55176. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  55177. +
  55178. + This file is part of libopcodes.
  55179. +
  55180. + This program is free software; you can redistribute it and/or
  55181. + modify it under the terms of the GNU General Public License as
  55182. + published by the Free Software Foundation; either version 2 of the
  55183. + License, or (at your option) any later version.
  55184. +
  55185. + This program is distributed in the hope that it will be useful, but
  55186. + WITHOUT ANY WARRANTY; without even the implied warranty of
  55187. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  55188. + General Public License for more details.
  55189. +
  55190. + You should have received a copy of the GNU General Public License
  55191. + along with this program; if not, write to the Free Software
  55192. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  55193. + 02111-1307, USA. */
  55194. +
  55195. +#include "sysdep.h"
  55196. +#include "dis-asm.h"
  55197. +#include "avr32-opc.h"
  55198. +#include "opintl.h"
  55199. +#include "safe-ctype.h"
  55200. +
  55201. +/* TODO: Share this with -asm */
  55202. +
  55203. +/* Structure for a register hash table entry. */
  55204. +struct reg_entry
  55205. +{
  55206. + const char *name;
  55207. + int number;
  55208. +};
  55209. +
  55210. +#ifndef strneq
  55211. +#define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0)
  55212. +#endif
  55213. +
  55214. +static char avr32_opt_decode_fpu = 0;
  55215. +
  55216. +static const struct reg_entry reg_table[] =
  55217. + {
  55218. + /* Primary names (used by the disassembler) */
  55219. + { "r0", 0 }, { "r1", 1 }, { "r2", 2 }, { "r3", 3 },
  55220. + { "r4", 4 }, { "r5", 5 }, { "r6", 6 }, { "r7", 7 },
  55221. + { "r8", 8 }, { "r9", 9 }, { "r10", 10 }, { "r11", 11 },
  55222. + { "r12", 12 }, { "sp", 13 }, { "lr", 14 }, { "pc", 15 },
  55223. + /* Alternatives to sp, lr and pc. */
  55224. + { "r13", 13 }, { "r14", 14 }, { "r15", 15 },
  55225. + };
  55226. +#define AVR32_NR_INTREGS (sizeof(reg_table)/sizeof(reg_table[0]))
  55227. +
  55228. +/* Coprocessor Registers. */
  55229. +static const struct reg_entry cr_table[] =
  55230. + {
  55231. + { "cr0", 0 }, { "cr1", 1 }, { "cr2", 2 }, { "cr3", 3 },
  55232. + { "cr4", 4 }, { "cr5", 5 }, { "cr6", 6 }, { "cr7", 7 },
  55233. + { "cr8", 8 }, { "cr9", 9 }, { "cr10", 10 }, { "cr11", 11 },
  55234. + { "cr12", 12 }, { "cr13", 13 }, { "cr14", 14 }, { "cr15", 15 },
  55235. + };
  55236. +#define AVR32_NR_CPREGS (sizeof(cr_table)/sizeof(cr_table[0]))
  55237. +
  55238. +static const char bparts[4] = { 'b', 'l', 'u', 't' };
  55239. +static bfd_vma current_pc;
  55240. +
  55241. +struct avr32_field_value
  55242. +{
  55243. + const struct avr32_ifield *ifield;
  55244. + unsigned long value;
  55245. +};
  55246. +
  55247. +struct avr32_operand
  55248. +{
  55249. + int id;
  55250. + int is_pcrel;
  55251. + int align_order;
  55252. + int (*print)(struct avr32_operand *op, struct disassemble_info *info,
  55253. + struct avr32_field_value *ifields);
  55254. +};
  55255. +
  55256. +static signed long
  55257. +get_signed_value(const struct avr32_field_value *fv)
  55258. +{
  55259. + signed long value = fv->value;
  55260. +
  55261. + if (fv->value & (1 << (fv->ifield->bitsize - 1)))
  55262. + value |= (~0UL << fv->ifield->bitsize);
  55263. +
  55264. + return value;
  55265. +}
  55266. +
  55267. +static void
  55268. +print_reglist_range(unsigned int first, unsigned int last,
  55269. + const struct reg_entry *reg_names,
  55270. + int need_comma,
  55271. + struct disassemble_info *info)
  55272. +{
  55273. + if (need_comma)
  55274. + info->fprintf_func(info->stream, ",");
  55275. +
  55276. + if (first == last)
  55277. + info->fprintf_func(info->stream, "%s",
  55278. + reg_names[first].name);
  55279. + else
  55280. + info->fprintf_func(info->stream, "%s-%s",
  55281. + reg_names[first].name, reg_names[last].name);
  55282. +}
  55283. +
  55284. +static int
  55285. +print_intreg(struct avr32_operand *op,
  55286. + struct disassemble_info *info,
  55287. + struct avr32_field_value *ifields)
  55288. +{
  55289. + unsigned long regid = ifields[0].value << op->align_order;
  55290. +
  55291. + info->fprintf_func(info->stream, "%s",
  55292. + reg_table[regid].name);
  55293. + return 1;
  55294. +}
  55295. +
  55296. +static int
  55297. +print_intreg_predec(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55298. + struct disassemble_info *info,
  55299. + struct avr32_field_value *ifields)
  55300. +{
  55301. + info->fprintf_func(info->stream, "--%s",
  55302. + reg_table[ifields[0].value].name);
  55303. + return 1;
  55304. +}
  55305. +
  55306. +static int
  55307. +print_intreg_postinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55308. + struct disassemble_info *info,
  55309. + struct avr32_field_value *ifields)
  55310. +{
  55311. + info->fprintf_func(info->stream, "%s++",
  55312. + reg_table[ifields[0].value].name);
  55313. + return 1;
  55314. +}
  55315. +
  55316. +static int
  55317. +print_intreg_lsl(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55318. + struct disassemble_info *info,
  55319. + struct avr32_field_value *ifields)
  55320. +{
  55321. + const char *rp = reg_table[ifields[0].value].name;
  55322. + unsigned long sa = ifields[1].value;
  55323. +
  55324. + if (sa)
  55325. + info->fprintf_func(info->stream, "%s<<0x%lx", rp, sa);
  55326. + else
  55327. + info->fprintf_func(info->stream, "%s", rp);
  55328. +
  55329. + return 2;
  55330. +}
  55331. +
  55332. +static int
  55333. +print_intreg_lsr(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55334. + struct disassemble_info *info,
  55335. + struct avr32_field_value *ifields)
  55336. +{
  55337. + const char *rp = reg_table[ifields[0].value].name;
  55338. + unsigned long sa = ifields[1].value;
  55339. +
  55340. + if (sa)
  55341. + info->fprintf_func(info->stream, "%s>>0x%lx", rp, sa);
  55342. + else
  55343. + info->fprintf_func(info->stream, "%s", rp);
  55344. +
  55345. + return 2;
  55346. +}
  55347. +
  55348. +static int
  55349. +print_intreg_bpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55350. + struct disassemble_info *info,
  55351. + struct avr32_field_value *ifields)
  55352. +{
  55353. + info->fprintf_func(info->stream, "%s:%c",
  55354. + reg_table[ifields[0].value].name,
  55355. + bparts[ifields[1].value]);
  55356. + return 2;
  55357. +}
  55358. +
  55359. +static int
  55360. +print_intreg_hpart(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55361. + struct disassemble_info *info,
  55362. + struct avr32_field_value *ifields)
  55363. +{
  55364. + info->fprintf_func(info->stream, "%s:%c",
  55365. + reg_table[ifields[0].value].name,
  55366. + ifields[1].value ? 't' : 'b');
  55367. + return 2;
  55368. +}
  55369. +
  55370. +static int
  55371. +print_intreg_sdisp(struct avr32_operand *op,
  55372. + struct disassemble_info *info,
  55373. + struct avr32_field_value *ifields)
  55374. +{
  55375. + signed long disp;
  55376. +
  55377. + disp = get_signed_value(&ifields[1]) << op->align_order;
  55378. +
  55379. + info->fprintf_func(info->stream, "%s[%ld]",
  55380. + reg_table[ifields[0].value].name, disp);
  55381. + return 2;
  55382. +}
  55383. +
  55384. +static int
  55385. +print_intreg_udisp(struct avr32_operand *op,
  55386. + struct disassemble_info *info,
  55387. + struct avr32_field_value *ifields)
  55388. +{
  55389. + info->fprintf_func(info->stream, "%s[0x%lx]",
  55390. + reg_table[ifields[0].value].name,
  55391. + ifields[1].value << op->align_order);
  55392. + return 2;
  55393. +}
  55394. +
  55395. +static int
  55396. +print_intreg_index(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55397. + struct disassemble_info *info,
  55398. + struct avr32_field_value *ifields)
  55399. +{
  55400. + const char *rb, *ri;
  55401. + unsigned long sa = ifields[2].value;
  55402. +
  55403. + rb = reg_table[ifields[0].value].name;
  55404. + ri = reg_table[ifields[1].value].name;
  55405. +
  55406. + if (sa)
  55407. + info->fprintf_func(info->stream, "%s[%s<<0x%lx]", rb, ri, sa);
  55408. + else
  55409. + info->fprintf_func(info->stream, "%s[%s]", rb, ri);
  55410. +
  55411. + return 3;
  55412. +}
  55413. +
  55414. +static int
  55415. +print_intreg_xindex(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55416. + struct disassemble_info *info,
  55417. + struct avr32_field_value *ifields)
  55418. +{
  55419. + info->fprintf_func(info->stream, "%s[%s:%c<<2]",
  55420. + reg_table[ifields[0].value].name,
  55421. + reg_table[ifields[1].value].name,
  55422. + bparts[ifields[2].value]);
  55423. + return 3;
  55424. +}
  55425. +
  55426. +static int
  55427. +print_jmplabel(struct avr32_operand *op,
  55428. + struct disassemble_info *info,
  55429. + struct avr32_field_value *ifields)
  55430. +{
  55431. + bfd_vma address, offset;
  55432. +
  55433. + offset = get_signed_value(ifields) << op->align_order;
  55434. + address = (current_pc & (~0UL << op->align_order)) + offset;
  55435. +
  55436. + info->print_address_func(address, info);
  55437. +
  55438. + return 1;
  55439. +}
  55440. +
  55441. +static int
  55442. +print_pc_disp(struct avr32_operand *op,
  55443. + struct disassemble_info *info,
  55444. + struct avr32_field_value *ifields)
  55445. +{
  55446. + bfd_vma address, offset;
  55447. +
  55448. + offset = ifields[0].value << op->align_order;
  55449. + address = (current_pc & (~0UL << op->align_order)) + offset;
  55450. +
  55451. + info->print_address_func(address, info);
  55452. +
  55453. + return 1;
  55454. +}
  55455. +
  55456. +static int
  55457. +print_sp(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55458. + struct disassemble_info *info,
  55459. + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
  55460. +{
  55461. + info->fprintf_func(info->stream, "sp");
  55462. + return 1;
  55463. +}
  55464. +
  55465. +static int
  55466. +print_sp_disp(struct avr32_operand *op,
  55467. + struct disassemble_info *info,
  55468. + struct avr32_field_value *ifields)
  55469. +{
  55470. + info->fprintf_func(info->stream, "sp[0x%lx]",
  55471. + ifields[0].value << op->align_order);
  55472. + return 1;
  55473. +}
  55474. +
  55475. +static int
  55476. +print_cpno(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55477. + struct disassemble_info *info,
  55478. + struct avr32_field_value *ifields)
  55479. +{
  55480. + info->fprintf_func(info->stream, "cp%lu", ifields[0].value);
  55481. + return 1;
  55482. +}
  55483. +
  55484. +static int
  55485. +print_cpreg(struct avr32_operand *op,
  55486. + struct disassemble_info *info,
  55487. + struct avr32_field_value *ifields)
  55488. +{
  55489. + info->fprintf_func(info->stream, "cr%lu",
  55490. + ifields[0].value << op->align_order);
  55491. + return 1;
  55492. +}
  55493. +
  55494. +static int
  55495. +print_uconst(struct avr32_operand *op,
  55496. + struct disassemble_info *info,
  55497. + struct avr32_field_value *ifields)
  55498. +{
  55499. + info->fprintf_func(info->stream, "0x%lx",
  55500. + ifields[0].value << op->align_order);
  55501. + return 1;
  55502. +}
  55503. +
  55504. +static int
  55505. +print_sconst(struct avr32_operand *op,
  55506. + struct disassemble_info *info,
  55507. + struct avr32_field_value *ifields)
  55508. +{
  55509. + info->fprintf_func(info->stream, "%ld",
  55510. + get_signed_value(ifields) << op->align_order);
  55511. + return 1;
  55512. +}
  55513. +
  55514. +static int
  55515. +print_reglist8_head(unsigned long regmask, int *commap,
  55516. + struct disassemble_info *info)
  55517. +{
  55518. + int first = -1, last, i = 0;
  55519. + int need_comma = 0;
  55520. +
  55521. + while (i < 12)
  55522. + {
  55523. + if (first == -1 && (regmask & 1))
  55524. + {
  55525. + first = i;
  55526. + }
  55527. + else if (first != -1 && !(regmask & 1))
  55528. + {
  55529. + last = i - 1;
  55530. +
  55531. + print_reglist_range(first, last, reg_table, need_comma, info);
  55532. + need_comma = 1;
  55533. + first = -1;
  55534. + }
  55535. +
  55536. + if (i < 8)
  55537. + i += 4;
  55538. + else if (i < 10)
  55539. + i += 2;
  55540. + else
  55541. + i++;
  55542. + regmask >>= 1;
  55543. + }
  55544. +
  55545. + *commap = need_comma;
  55546. + return first;
  55547. +}
  55548. +
  55549. +static void
  55550. +print_reglist8_tail(unsigned long regmask, int first, int need_comma,
  55551. + struct disassemble_info *info)
  55552. +{
  55553. + int last = 11;
  55554. +
  55555. + if (regmask & 0x20)
  55556. + {
  55557. + if (first == -1)
  55558. + first = 12;
  55559. + last = 12;
  55560. + }
  55561. +
  55562. + if (first != -1)
  55563. + {
  55564. + print_reglist_range(first, last, reg_table, need_comma, info);
  55565. + need_comma = 1;
  55566. + first = -1;
  55567. + }
  55568. +
  55569. + if (regmask & 0x40)
  55570. + {
  55571. + if (first == -1)
  55572. + first = 14;
  55573. + last = 14;
  55574. + }
  55575. +
  55576. + if (regmask & 0x80)
  55577. + {
  55578. + if (first == -1)
  55579. + first = 15;
  55580. + last = 15;
  55581. + }
  55582. +
  55583. + if (first != -1)
  55584. + print_reglist_range(first, last, reg_table, need_comma, info);
  55585. +}
  55586. +
  55587. +static int
  55588. +print_reglist8(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55589. + struct disassemble_info *info,
  55590. + struct avr32_field_value *ifields)
  55591. +{
  55592. + unsigned long regmask = ifields[0].value;
  55593. + int first, need_comma;
  55594. +
  55595. + first = print_reglist8_head(regmask, &need_comma, info);
  55596. + print_reglist8_tail(regmask, first, need_comma, info);
  55597. +
  55598. + return 1;
  55599. +}
  55600. +
  55601. +static int
  55602. +print_reglist9(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55603. + struct disassemble_info *info,
  55604. + struct avr32_field_value *ifields)
  55605. +{
  55606. + unsigned long regmask = ifields[0].value >> 1;
  55607. + int first, last, need_comma;
  55608. +
  55609. + first = print_reglist8_head(regmask, &need_comma, info);
  55610. +
  55611. + if ((ifields[0].value & 0x101) == 0x101)
  55612. + {
  55613. + if (first != -1)
  55614. + {
  55615. + last = 11;
  55616. +
  55617. + print_reglist_range(first, last, reg_table, need_comma, info);
  55618. + need_comma = 1;
  55619. + first = -1;
  55620. + }
  55621. +
  55622. + print_reglist_range(15, 15, reg_table, need_comma, info);
  55623. +
  55624. + regmask >>= 5;
  55625. +
  55626. + if ((regmask & 3) == 0)
  55627. + info->fprintf_func(info->stream, ",r12=0");
  55628. + else if ((regmask & 3) == 1)
  55629. + info->fprintf_func(info->stream, ",r12=1");
  55630. + else
  55631. + info->fprintf_func(info->stream, ",r12=-1");
  55632. + }
  55633. + else
  55634. + print_reglist8_tail(regmask, first, need_comma, info);
  55635. +
  55636. + return 1;
  55637. +}
  55638. +
  55639. +static int
  55640. +print_reglist16(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55641. + struct disassemble_info *info,
  55642. + struct avr32_field_value *ifields)
  55643. +{
  55644. + unsigned long regmask = ifields[0].value;
  55645. + unsigned int i = 0, first, last;
  55646. + int need_comma = 0;
  55647. +
  55648. + while (i < 16)
  55649. + {
  55650. + if (regmask & 1)
  55651. + {
  55652. + first = i;
  55653. + while (i < 16)
  55654. + {
  55655. + i++;
  55656. + regmask >>= 1;
  55657. + if (!(regmask & 1))
  55658. + break;
  55659. + }
  55660. + last = i - 1;
  55661. + print_reglist_range(first, last, reg_table, need_comma, info);
  55662. + need_comma = 1;
  55663. + }
  55664. + else
  55665. + {
  55666. + i++;
  55667. + regmask >>= 1;
  55668. + }
  55669. + }
  55670. +
  55671. + return 1;
  55672. +}
  55673. +
  55674. +static int
  55675. +print_reglist_ldm(struct avr32_operand *op,
  55676. + struct disassemble_info *info,
  55677. + struct avr32_field_value *ifields)
  55678. +{
  55679. + int rp, w_bit;
  55680. + int i, first, last;
  55681. + unsigned long regmask;
  55682. +
  55683. + rp = ifields[0].value;
  55684. + w_bit = ifields[1].value;
  55685. + regmask = ifields[2].value;
  55686. +
  55687. + if (regmask & (1 << AVR32_REG_PC) && rp == AVR32_REG_PC)
  55688. + {
  55689. + if (w_bit)
  55690. + info->fprintf_func(info->stream, "sp++");
  55691. + else
  55692. + info->fprintf_func(info->stream, "sp");
  55693. +
  55694. + for (i = 0; i < 12; )
  55695. + {
  55696. + if (regmask & (1 << i))
  55697. + {
  55698. + first = i;
  55699. + while (i < 12)
  55700. + {
  55701. + i++;
  55702. + if (!(regmask & (1 << i)))
  55703. + break;
  55704. + }
  55705. + last = i - 1;
  55706. + print_reglist_range(first, last, reg_table, 1, info);
  55707. + }
  55708. + else
  55709. + i++;
  55710. + }
  55711. +
  55712. + info->fprintf_func(info->stream, ",pc");
  55713. + if (regmask & (1 << AVR32_REG_LR))
  55714. + info->fprintf_func(info->stream, ",r12=-1");
  55715. + else if (regmask & (1 << AVR32_REG_R12))
  55716. + info->fprintf_func(info->stream, ",r12=1");
  55717. + else
  55718. + info->fprintf_func(info->stream, ",r12=0");
  55719. + }
  55720. + else
  55721. + {
  55722. + if (w_bit)
  55723. + info->fprintf_func(info->stream, "%s++,", reg_table[rp].name);
  55724. + else
  55725. + info->fprintf_func(info->stream, "%s,", reg_table[rp].name);
  55726. +
  55727. + print_reglist16(op, info, ifields + 2);
  55728. + }
  55729. +
  55730. + return 3;
  55731. +}
  55732. +
  55733. +static int
  55734. +print_reglist_cp8(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55735. + struct disassemble_info *info,
  55736. + struct avr32_field_value *ifields)
  55737. +{
  55738. + unsigned long regmask = ifields[0].value;
  55739. + unsigned int i = 0, first, last, offset = 0;
  55740. + int need_comma = 0;
  55741. +
  55742. + if (ifields[1].value)
  55743. + offset = 8;
  55744. +
  55745. + while (i < 8)
  55746. + {
  55747. + if (regmask & 1)
  55748. + {
  55749. + first = i;
  55750. + while (i < 8)
  55751. + {
  55752. + i++;
  55753. + regmask >>= 1;
  55754. + if (!(regmask & 1))
  55755. + break;
  55756. + }
  55757. + last = i - 1;
  55758. + print_reglist_range(offset + first, offset + last,
  55759. + cr_table, need_comma, info);
  55760. + need_comma = 1;
  55761. + }
  55762. + else
  55763. + {
  55764. + i++;
  55765. + regmask >>= 1;
  55766. + }
  55767. + }
  55768. +
  55769. + return 2;
  55770. +}
  55771. +
  55772. +static int
  55773. +print_reglist_cpd8(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55774. + struct disassemble_info *info,
  55775. + struct avr32_field_value *ifields)
  55776. +{
  55777. + unsigned long regmask = ifields[0].value;
  55778. + unsigned int i = 0, first, last;
  55779. + int need_comma = 0;
  55780. +
  55781. + while (i < 8)
  55782. + {
  55783. + if (regmask & 1)
  55784. + {
  55785. + first = 2 * i;
  55786. + while (i < 8)
  55787. + {
  55788. + i++;
  55789. + regmask >>= 1;
  55790. + if (!(regmask & 1))
  55791. + break;
  55792. + }
  55793. + last = 2 * (i - 1) + 1;
  55794. + print_reglist_range(first, last, cr_table, need_comma, info);
  55795. + need_comma = 1;
  55796. + }
  55797. + else
  55798. + {
  55799. + i++;
  55800. + regmask >>= 1;
  55801. + }
  55802. + }
  55803. +
  55804. + return 1;
  55805. +}
  55806. +
  55807. +static int
  55808. +print_retval(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55809. + struct disassemble_info *info,
  55810. + struct avr32_field_value *ifields)
  55811. +{
  55812. + unsigned long regid = ifields[0].value;
  55813. + const char *retval;
  55814. +
  55815. + if (regid < AVR32_REG_SP)
  55816. + retval = reg_table[regid].name;
  55817. + else if (regid == AVR32_REG_SP)
  55818. + retval = "0";
  55819. + else if (regid == AVR32_REG_LR)
  55820. + retval = "-1";
  55821. + else
  55822. + retval = "1";
  55823. +
  55824. + info->fprintf_func(info->stream, "%s", retval);
  55825. +
  55826. + return 1;
  55827. +}
  55828. +
  55829. +static int
  55830. +print_mcall(struct avr32_operand *op,
  55831. + struct disassemble_info *info,
  55832. + struct avr32_field_value *ifields)
  55833. +{
  55834. + unsigned long regid = ifields[0].value;
  55835. +
  55836. + if (regid == AVR32_REG_PC)
  55837. + print_jmplabel(op, info, ifields + 1);
  55838. + else
  55839. + print_intreg_sdisp(op, info, ifields);
  55840. +
  55841. + return 2;
  55842. +}
  55843. +
  55844. +static int
  55845. +print_jospinc(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55846. + struct disassemble_info *info,
  55847. + struct avr32_field_value *ifields)
  55848. +{
  55849. + signed long value = ifields[0].value;
  55850. +
  55851. + if (value >= 4)
  55852. + value -= 8;
  55853. + else
  55854. + value += 1;
  55855. +
  55856. + info->fprintf_func(info->stream, "%ld", value);
  55857. +
  55858. + return 1;
  55859. +}
  55860. +
  55861. +static int
  55862. +print_coh(struct avr32_operand *op ATTRIBUTE_UNUSED,
  55863. + struct disassemble_info *info,
  55864. + struct avr32_field_value *ifields ATTRIBUTE_UNUSED)
  55865. +{
  55866. + info->fprintf_func(info->stream, "COH");
  55867. + return 0;
  55868. +}
  55869. +
  55870. +#define OP(name, sgn, pcrel, align, func) \
  55871. + { AVR32_OPERAND_##name, pcrel, align, print_##func }
  55872. +
  55873. +struct avr32_operand operand[AVR32_NR_OPERANDS] =
  55874. + {
  55875. + OP(INTREG, 0, 0, 0, intreg),
  55876. + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
  55877. + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
  55878. + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
  55879. + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
  55880. + OP(INTREG_BSEL, 0, 0, 0, intreg_bpart),
  55881. + OP(INTREG_HSEL, 0, 0, 1, intreg_hpart),
  55882. + OP(INTREG_SDISP, 1, 0, 0, intreg_sdisp),
  55883. + OP(INTREG_SDISP_H, 1, 0, 1, intreg_sdisp),
  55884. + OP(INTREG_SDISP_W, 1, 0, 2, intreg_sdisp),
  55885. + OP(INTREG_UDISP, 0, 0, 0, intreg_udisp),
  55886. + OP(INTREG_UDISP_H, 0, 0, 1, intreg_udisp),
  55887. + OP(INTREG_UDISP_W, 0, 0, 2, intreg_udisp),
  55888. + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
  55889. + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
  55890. + OP(DWREG, 0, 0, 1, intreg),
  55891. + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
  55892. + OP(SP, 0, 0, 0, sp),
  55893. + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
  55894. + OP(CPNO, 0, 0, 0, cpno),
  55895. + OP(CPREG, 0, 0, 0, cpreg),
  55896. + OP(CPREG_D, 0, 0, 1, cpreg),
  55897. + OP(UNSIGNED_CONST, 0, 0, 0, uconst),
  55898. + OP(UNSIGNED_CONST_W, 0, 0, 2, uconst),
  55899. + OP(SIGNED_CONST, 1, 0, 0, sconst),
  55900. + OP(SIGNED_CONST_W, 1, 0, 2, sconst),
  55901. + OP(JMPLABEL, 1, 1, 1, jmplabel),
  55902. + OP(UNSIGNED_NUMBER, 0, 0, 0, uconst),
  55903. + OP(UNSIGNED_NUMBER_W, 0, 0, 2, uconst),
  55904. + OP(REGLIST8, 0, 0, 0, reglist8),
  55905. + OP(REGLIST9, 0, 0, 0, reglist9),
  55906. + OP(REGLIST16, 0, 0, 0, reglist16),
  55907. + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
  55908. + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
  55909. + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
  55910. + OP(RETVAL, 0, 0, 0, retval),
  55911. + OP(MCALL, 1, 0, 2, mcall),
  55912. + OP(JOSPINC, 0, 0, 0, jospinc),
  55913. + OP(COH, 0, 0, 0, coh),
  55914. + };
  55915. +
  55916. +static void
  55917. +print_opcode(bfd_vma insn_word, const struct avr32_opcode *opc,
  55918. + bfd_vma pc, struct disassemble_info *info)
  55919. +{
  55920. + const struct avr32_syntax *syntax = opc->syntax;
  55921. + struct avr32_field_value fields[AVR32_MAX_FIELDS];
  55922. + unsigned int i, next_field = 0, nr_operands;
  55923. +
  55924. + for (i = 0; i < opc->nr_fields; i++)
  55925. + {
  55926. + opc->fields[i]->extract(opc->fields[i], &insn_word, &fields[i].value);
  55927. + fields[i].ifield = opc->fields[i];
  55928. + }
  55929. +
  55930. + current_pc = pc;
  55931. + info->fprintf_func(info->stream, "%s", syntax->mnemonic->name);
  55932. +
  55933. + if (syntax->nr_operands < 0)
  55934. + nr_operands = (unsigned int) -syntax->nr_operands;
  55935. + else
  55936. + nr_operands = (unsigned int) syntax->nr_operands;
  55937. +
  55938. + for (i = 0; i < nr_operands; i++)
  55939. + {
  55940. + struct avr32_operand *op = &operand[syntax->operand[i]];
  55941. +
  55942. + if (i)
  55943. + info->fprintf_func(info->stream, ",");
  55944. + else
  55945. + info->fprintf_func(info->stream, "\t");
  55946. + next_field += op->print(op, info, &fields[next_field]);
  55947. + }
  55948. +}
  55949. +
  55950. +#define is_fpu_insn(iw) ((iw&0xf9f0e000)==0xe1a00000)
  55951. +
  55952. +static const struct avr32_opcode *
  55953. +find_opcode(bfd_vma insn_word)
  55954. +{
  55955. + int i;
  55956. +
  55957. + for (i = 0; i < AVR32_NR_OPCODES; i++)
  55958. + {
  55959. + const struct avr32_opcode *opc = &avr32_opc_table[i];
  55960. +
  55961. + if ((insn_word & opc->mask) == opc->value)
  55962. + {
  55963. + if (avr32_opt_decode_fpu)
  55964. + {
  55965. + if (is_fpu_insn(insn_word))
  55966. + {
  55967. + if (opc->id != AVR32_OPC_COP)
  55968. + return opc;
  55969. + }
  55970. + else
  55971. + return opc;
  55972. + }
  55973. + else
  55974. + return opc;
  55975. + }
  55976. + }
  55977. +
  55978. + return NULL;
  55979. +}
  55980. +
  55981. +static int
  55982. +read_insn_word(bfd_vma pc, bfd_vma *valuep,
  55983. + struct disassemble_info *info)
  55984. +{
  55985. + bfd_byte b[4];
  55986. + int status;
  55987. +
  55988. + status = info->read_memory_func(pc, b, 4, info);
  55989. + if (status)
  55990. + {
  55991. + status = info->read_memory_func(pc, b, 2, info);
  55992. + if (status)
  55993. + {
  55994. + info->memory_error_func(status, pc, info);
  55995. + return -1;
  55996. + }
  55997. + b[3] = b[2] = 0;
  55998. + }
  55999. +
  56000. + *valuep = (b[0] << 24) | (b[1] << 16) | (b[2] << 8) | b[3];
  56001. + return 0;
  56002. +}
  56003. +
  56004. +/* Parse an individual disassembler option. */
  56005. +
  56006. +void
  56007. +parse_avr32_disassembler_option (option)
  56008. + char * option;
  56009. +{
  56010. + if (option == NULL)
  56011. + return;
  56012. +
  56013. + if (!strcmp(option,"decode-fpu"))
  56014. + {
  56015. + avr32_opt_decode_fpu = 1;
  56016. + return;
  56017. + }
  56018. +
  56019. + printf("\n%s--",option);
  56020. + /* XXX - should break 'option' at following delimiter. */
  56021. + fprintf (stderr, _("Unrecognised disassembler option: %s\n"), option);
  56022. +
  56023. + return;
  56024. +}
  56025. +
  56026. +/* Parse the string of disassembler options, spliting it at whitespaces
  56027. + or commas. (Whitespace separators supported for backwards compatibility). */
  56028. +
  56029. +static void
  56030. +parse_disassembler_options (char *options)
  56031. +{
  56032. + if (options == NULL)
  56033. + return;
  56034. +
  56035. + while (*options)
  56036. + {
  56037. + parse_avr32_disassembler_option (options);
  56038. +
  56039. + /* Skip forward to next seperator. */
  56040. + while ((*options) && (! ISSPACE (*options)) && (*options != ','))
  56041. + ++ options;
  56042. + /* Skip forward past seperators. */
  56043. + while (ISSPACE (*options) || (*options == ','))
  56044. + ++ options;
  56045. + }
  56046. +}
  56047. +
  56048. +int
  56049. +print_insn_avr32(bfd_vma pc, struct disassemble_info *info)
  56050. +{
  56051. + bfd_vma insn_word;
  56052. + const struct avr32_opcode *opc;
  56053. +
  56054. + if (info->disassembler_options)
  56055. + {
  56056. + parse_disassembler_options (info->disassembler_options);
  56057. +
  56058. + /* To avoid repeated parsing of these options, we remove them here. */
  56059. + info->disassembler_options = NULL;
  56060. + }
  56061. +
  56062. + info->bytes_per_chunk = 1;
  56063. + info->display_endian = BFD_ENDIAN_BIG;
  56064. +
  56065. + if (read_insn_word(pc, &insn_word, info))
  56066. + return -1;
  56067. +
  56068. + opc = find_opcode(insn_word);
  56069. + if (opc)
  56070. + {
  56071. + print_opcode(insn_word, opc, pc, info);
  56072. + return opc->size;
  56073. + }
  56074. + else
  56075. + {
  56076. + info->fprintf_func(info->stream, _("*unknown*"));
  56077. + return 2;
  56078. + }
  56079. +
  56080. +}
  56081. +
  56082. +void
  56083. +print_avr32_disassembler_options (FILE *stream ATTRIBUTE_UNUSED)
  56084. +{
  56085. + fprintf(stream, "\n AVR32 Specific Disassembler Options:\n");
  56086. + fprintf(stream, " -M decode-fpu Print FPU instructions instead of 'cop' \n");
  56087. +}
  56088. +
  56089. diff -Nur binutils-2.21.orig/opcodes/avr32-opc.c binutils-2.21/opcodes/avr32-opc.c
  56090. --- binutils-2.21.orig/opcodes/avr32-opc.c 1970-01-01 01:00:00.000000000 +0100
  56091. +++ binutils-2.21/opcodes/avr32-opc.c 2011-08-28 14:56:23.347980430 +0200
  56092. @@ -0,0 +1,6906 @@
  56093. +/* Opcode tables for AVR32.
  56094. + Copyright 2005,2006,2007,2008,2009 Atmel Corporation.
  56095. +
  56096. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  56097. +
  56098. + This file is part of libopcodes.
  56099. +
  56100. + This program is free software; you can redistribute it and/or
  56101. + modify it under the terms of the GNU General Public License as
  56102. + published by the Free Software Foundation; either version 2 of the
  56103. + License, or (at your option) any later version.
  56104. +
  56105. + This program is distributed in the hope that it will be useful, but
  56106. + WITHOUT ANY WARRANTY; without even the implied warranty of
  56107. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  56108. + General Public License for more details.
  56109. +
  56110. + You should have received a copy of the GNU General Public License
  56111. + along with this program; if not, write to the Free Software
  56112. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  56113. + 02111-1307, USA. */
  56114. +
  56115. +#include <stdlib.h>
  56116. +#include <assert.h>
  56117. +
  56118. +#include "avr32-opc.h"
  56119. +
  56120. +#define PICO_CPNO 1
  56121. +
  56122. +void
  56123. +avr32_insert_simple(const struct avr32_ifield *field,
  56124. + void *buf, unsigned long value)
  56125. +{
  56126. + bfd_vma word;
  56127. +
  56128. + word = bfd_getb32(buf);
  56129. + word &= ~field->mask;
  56130. + word |= (value << field->shift) & field->mask;
  56131. + bfd_putb32(word, buf);
  56132. +}
  56133. +
  56134. +void
  56135. +avr32_insert_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56136. + void *buf, unsigned long value)
  56137. +{
  56138. + char *opcode = buf;
  56139. +
  56140. + opcode[0] = (opcode[0] & 0xe1) | (value & 0x1e);
  56141. + opcode[1] = (opcode[1] & 0xef) | ((value & 1) << 4);
  56142. +}
  56143. +
  56144. +void
  56145. +avr32_insert_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56146. + void *buf, unsigned long value)
  56147. +{
  56148. + char *opcode = buf;
  56149. +
  56150. + opcode[0] = (opcode[0] & 0xf0) | ((value & 0xf0) >> 4);
  56151. + opcode[1] = ((opcode[1] & 0x0c) | ((value & 0x0f) << 4)
  56152. + | ((value & 0x300) >> 8));
  56153. +}
  56154. +
  56155. +
  56156. +void
  56157. +avr32_insert_k21(const struct avr32_ifield *field,
  56158. + void *buf, unsigned long value)
  56159. +{
  56160. + bfd_vma word;
  56161. + bfd_vma k21;
  56162. +
  56163. + word = bfd_getb32(buf);
  56164. + word &= ~field->mask;
  56165. + k21 = ((value & 0xffff) | ((value & 0x10000) << 4)
  56166. + | ((value & 0x1e0000) << 8));
  56167. + assert(!(k21 & ~field->mask));
  56168. + word |= k21;
  56169. + bfd_putb32(word, buf);
  56170. +}
  56171. +
  56172. +void
  56173. +avr32_insert_cpop(const struct avr32_ifield *field,
  56174. + void *buf, unsigned long value)
  56175. +{
  56176. + bfd_vma word;
  56177. +
  56178. + word = bfd_getb32(buf);
  56179. + word &= ~field->mask;
  56180. + word |= (((value & 0x1e) << 15) | ((value & 0x60) << 20)
  56181. + | ((value & 0x01) << 12));
  56182. + bfd_putb32(word, buf);
  56183. +}
  56184. +
  56185. +void
  56186. +avr32_insert_k12cp(const struct avr32_ifield *field,
  56187. + void *buf, unsigned long value)
  56188. +{
  56189. + bfd_vma word;
  56190. +
  56191. + word = bfd_getb32(buf);
  56192. + word &= ~field->mask;
  56193. + word |= ((value & 0xf00) << 4) | (value & 0xff);
  56194. + bfd_putb32(word, buf);
  56195. +}
  56196. +
  56197. +void avr32_extract_simple(const struct avr32_ifield *field,
  56198. + void *buf, unsigned long *value)
  56199. +{
  56200. + /* XXX: The disassembler has done any necessary byteswapping already */
  56201. + bfd_vma word = *(bfd_vma *)buf;
  56202. +
  56203. + *value = (word & field->mask) >> field->shift;
  56204. +}
  56205. +
  56206. +void avr32_extract_bit5c(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56207. + void *buf, unsigned long *value)
  56208. +{
  56209. + bfd_vma word = *(bfd_vma *)buf;
  56210. +
  56211. + *value = ((word >> 20) & 1) | ((word >> 24) & 0x1e);
  56212. +}
  56213. +
  56214. +void avr32_extract_k10(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56215. + void *buf, unsigned long *value)
  56216. +{
  56217. + bfd_vma word = *(bfd_vma *)buf;
  56218. +
  56219. + *value = ((word >> 8) & 0x300) | ((word >> 20) & 0xff);
  56220. +}
  56221. +
  56222. +void avr32_extract_k21(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56223. + void *buf, unsigned long *value)
  56224. +{
  56225. + bfd_vma word = *(bfd_vma *)buf;
  56226. +
  56227. + *value = ((word & 0xffff) | ((word >> 4) & 0x10000)
  56228. + | ((word >> 8) & 0x1e0000));
  56229. +}
  56230. +
  56231. +void avr32_extract_cpop(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56232. + void *buf, unsigned long *value)
  56233. +{
  56234. + bfd_vma word = *(bfd_vma *)buf;
  56235. +
  56236. + *value = (((word >> 12) & 1) | ((word >> 15) & 0x1e)
  56237. + | ((word >> 20) & 0x60));
  56238. +}
  56239. +
  56240. +void avr32_extract_k12cp(const struct avr32_ifield *field ATTRIBUTE_UNUSED,
  56241. + void *buf, unsigned long *value)
  56242. +{
  56243. + bfd_vma word = *(bfd_vma *)buf;
  56244. +
  56245. + *value = ((word >> 4) & 0xf00) | (word & 0xff);
  56246. +}
  56247. +
  56248. +
  56249. +#define IFLD(id, bitsz, shift, mask, func) \
  56250. + { AVR32_IFIELD_##id, bitsz, shift, mask, \
  56251. + avr32_insert_##func, avr32_extract_##func }
  56252. +
  56253. +const struct avr32_ifield avr32_ifield_table[] =
  56254. + {
  56255. + IFLD(RX, 4, 25, 0x1e000000, simple),
  56256. + IFLD(RY, 4, 16, 0x000f0000, simple),
  56257. + IFLD(COND4C, 4, 20, 0x00f00000, simple),
  56258. + IFLD(K8C, 8, 20, 0x0ff00000, simple),
  56259. + IFLD(K7C, 7, 20, 0x07f00000, simple),
  56260. + IFLD(K5C, 5, 20, 0x01f00000, simple),
  56261. + IFLD(K3, 3, 20, 0x00700000, simple),
  56262. + IFLD(RY_DW, 3, 17, 0x000e0000, simple),
  56263. + IFLD(COND4E, 4, 8, 0x00000f00, simple),
  56264. + IFLD(K8E, 8, 0, 0x000000ff, simple),
  56265. + IFLD(BIT5C, 5, 20, 0x1e100000, bit5c),
  56266. + IFLD(COND3, 3, 16, 0x00070000, simple),
  56267. + IFLD(K10, 10, 16, 0x0ff30000, k10),
  56268. + IFLD(POPM, 9, 19, 0x0ff80000, simple),
  56269. + IFLD(K2, 2, 4, 0x00000030, simple),
  56270. + IFLD(RD_E, 4, 0, 0x0000000f, simple),
  56271. + IFLD(RD_DW, 3, 1, 0x0000000e, simple),
  56272. + IFLD(X, 1, 5, 0x00000020, simple),
  56273. + IFLD(Y, 1, 4, 0x00000010, simple),
  56274. + IFLD(X2, 1, 13, 0x00002000, simple),
  56275. + IFLD(Y2, 1, 12, 0x00001000, simple),
  56276. + IFLD(K5E, 5, 0, 0x0000001f, simple),
  56277. + IFLD(PART2, 2, 0, 0x00000003, simple),
  56278. + IFLD(PART1, 1, 0, 0x00000001, simple),
  56279. + IFLD(K16, 16, 0, 0x0000ffff, simple),
  56280. + IFLD(CACHEOP, 5, 11, 0x0000f800, simple),
  56281. + IFLD(K11, 11, 0, 0x000007ff, simple),
  56282. + IFLD(K21, 21, 0, 0x1e10ffff, k21),
  56283. + IFLD(CPOP, 7, 12, 0x060f1000, cpop),
  56284. + IFLD(CPNO, 3, 13, 0x0000e000, simple),
  56285. + IFLD(CRD_RI, 4, 8, 0x00000f00, simple),
  56286. + IFLD(CRX, 4, 4, 0x000000f0, simple),
  56287. + IFLD(CRY, 4, 0, 0x0000000f, simple),
  56288. + IFLD(K7E, 7, 0, 0x0000007f, simple),
  56289. + IFLD(CRD_DW, 3, 9, 0x00000e00, simple),
  56290. + IFLD(PART1_K12, 1, 12, 0x00001000, simple),
  56291. + IFLD(PART2_K12, 2, 12, 0x00003000, simple),
  56292. + IFLD(K12, 12, 0, 0x00000fff, simple),
  56293. + IFLD(S5, 5, 5, 0x000003e0, simple),
  56294. + IFLD(K5E2, 5, 4, 0x000001f0, simple),
  56295. + IFLD(K4, 4, 20, 0x00f00000, simple),
  56296. + IFLD(COND4E2, 4, 4, 0x000000f0, simple),
  56297. + IFLD(K8E2, 8, 4, 0x00000ff0, simple),
  56298. + IFLD(K6, 6, 20, 0x03f00000, simple),
  56299. + IFLD(MEM15, 15, 0, 0x00007fff, simple),
  56300. + IFLD(MEMB5, 5, 15, 0x000f8000, simple),
  56301. + IFLD(W, 1, 25, 0x02000000, simple),
  56302. + /* Coprocessor Multiple High/Low */
  56303. + IFLD(CM_HL, 1, 8, 0x00000100, simple),
  56304. + IFLD(K12CP, 12 ,0, 0x0000f0ff, k12cp),
  56305. + IFLD(K9E, 9 ,0, 0x000001ff, simple),
  56306. + IFLD (FP_RX, 4, 4, 0x000000F0, simple),
  56307. + IFLD (FP_RY, 4, 0, 0x0000000F, simple),
  56308. + IFLD (FP_RD, 4, 8, 0x00000F00, simple),
  56309. + IFLD (FP_RA, 4, 16, 0x000F0000, simple)
  56310. + };
  56311. +#undef IFLD
  56312. +
  56313. +
  56314. +struct avr32_opcode avr32_opc_table[] =
  56315. + {
  56316. + {
  56317. + AVR32_OPC_ABS, 2, 0x5c400000, 0xfff00000,
  56318. + &avr32_syntax_table[AVR32_SYNTAX_ABS],
  56319. + BFD_RELOC_UNUSED, 1, -1,
  56320. + {
  56321. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56322. + }
  56323. + },
  56324. + {
  56325. + AVR32_OPC_ACALL, 2, 0xd0000000, 0xf00f0000,
  56326. + &avr32_syntax_table[AVR32_SYNTAX_ACALL],
  56327. + BFD_RELOC_UNUSED, 1, -1,
  56328. + {
  56329. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56330. + },
  56331. + },
  56332. + {
  56333. + AVR32_OPC_ACR, 2, 0x5c000000, 0xfff00000,
  56334. + &avr32_syntax_table[AVR32_SYNTAX_ACR],
  56335. + BFD_RELOC_UNUSED, 1, -1,
  56336. + {
  56337. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56338. + },
  56339. + },
  56340. + {
  56341. + AVR32_OPC_ADC, 4, 0xe0000040, 0xe1f0fff0,
  56342. + &avr32_syntax_table[AVR32_SYNTAX_ADC],
  56343. + BFD_RELOC_UNUSED, 3, -1,
  56344. + {
  56345. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56346. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56347. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56348. + },
  56349. + },
  56350. + {
  56351. + AVR32_OPC_ADD1, 2, 0x00000000, 0xe1f00000,
  56352. + &avr32_syntax_table[AVR32_SYNTAX_ADD1],
  56353. + BFD_RELOC_UNUSED, 2, -1,
  56354. + {
  56355. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56356. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56357. + },
  56358. + },
  56359. + {
  56360. + AVR32_OPC_ADD2, 4, 0xe0000000, 0xe1f0ffc0,
  56361. + &avr32_syntax_table[AVR32_SYNTAX_ADD2],
  56362. + BFD_RELOC_UNUSED, 4, -1,
  56363. + {
  56364. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56365. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56366. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56367. + &avr32_ifield_table[AVR32_IFIELD_K2],
  56368. + },
  56369. + },
  56370. + {
  56371. + AVR32_OPC_ADDABS, 4, 0xe0000e40, 0xe1f0fff0,
  56372. + &avr32_syntax_table[AVR32_SYNTAX_ADDABS],
  56373. + BFD_RELOC_UNUSED, 3, -1,
  56374. + {
  56375. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56376. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56377. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56378. + },
  56379. + },
  56380. + {
  56381. + AVR32_OPC_ADDHH_W, 4, 0xe0000e00, 0xe1f0ffc0,
  56382. + &avr32_syntax_table[AVR32_SYNTAX_ADDHH_W],
  56383. + BFD_RELOC_UNUSED, 5, -1,
  56384. + {
  56385. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56386. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56387. + &avr32_ifield_table[AVR32_IFIELD_X],
  56388. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56389. + &avr32_ifield_table[AVR32_IFIELD_Y],
  56390. + },
  56391. + },
  56392. + {
  56393. + AVR32_OPC_AND1, 2, 0x00600000, 0xe1f00000,
  56394. + &avr32_syntax_table[AVR32_SYNTAX_AND1],
  56395. + BFD_RELOC_UNUSED, 2, -1,
  56396. + {
  56397. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56398. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56399. + },
  56400. + },
  56401. + {
  56402. + AVR32_OPC_AND2, 4, 0xe1e00000, 0xe1f0fe00,
  56403. + &avr32_syntax_table[AVR32_SYNTAX_AND2],
  56404. + BFD_RELOC_UNUSED, 4, -1,
  56405. + {
  56406. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56407. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56408. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56409. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  56410. + },
  56411. + },
  56412. + {
  56413. + AVR32_OPC_AND3, 4, 0xe1e00200, 0xe1f0fe00,
  56414. + &avr32_syntax_table[AVR32_SYNTAX_AND3],
  56415. + BFD_RELOC_UNUSED, 4, -1,
  56416. + {
  56417. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56418. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56419. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56420. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  56421. + },
  56422. + },
  56423. + {
  56424. + AVR32_OPC_ANDH, 4, 0xe4100000, 0xfff00000,
  56425. + &avr32_syntax_table[AVR32_SYNTAX_ANDH],
  56426. + BFD_RELOC_AVR32_16U, 2, 1,
  56427. + {
  56428. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56429. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56430. + },
  56431. + },
  56432. + {
  56433. + AVR32_OPC_ANDH_COH, 4, 0xe6100000, 0xfff00000,
  56434. + &avr32_syntax_table[AVR32_SYNTAX_ANDH_COH],
  56435. + BFD_RELOC_AVR32_16U, 2, 1,
  56436. + {
  56437. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56438. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56439. + },
  56440. + },
  56441. + {
  56442. + AVR32_OPC_ANDL, 4, 0xe0100000, 0xfff00000,
  56443. + &avr32_syntax_table[AVR32_SYNTAX_ANDL],
  56444. + BFD_RELOC_AVR32_16U, 2, 1,
  56445. + {
  56446. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56447. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56448. + },
  56449. + },
  56450. + {
  56451. + AVR32_OPC_ANDL_COH, 4, 0xe2100000, 0xfff00000,
  56452. + &avr32_syntax_table[AVR32_SYNTAX_ANDL_COH],
  56453. + BFD_RELOC_AVR32_16U, 2, 1,
  56454. + {
  56455. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56456. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56457. + },
  56458. + },
  56459. + {
  56460. + AVR32_OPC_ANDN, 2, 0x00800000, 0xe1f00000,
  56461. + &avr32_syntax_table[AVR32_SYNTAX_ANDN],
  56462. + BFD_RELOC_UNUSED, 2, -1,
  56463. + {
  56464. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56465. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56466. + },
  56467. + },
  56468. + {
  56469. + AVR32_OPC_ASR1, 4, 0xe0000840, 0xe1f0fff0,
  56470. + &avr32_syntax_table[AVR32_SYNTAX_ASR1],
  56471. + BFD_RELOC_UNUSED, 3, -1,
  56472. + {
  56473. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56474. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56475. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56476. + },
  56477. + },
  56478. + {
  56479. + AVR32_OPC_ASR3, 4, 0xe0001400, 0xe1f0ffe0,
  56480. + &avr32_syntax_table[AVR32_SYNTAX_ASR3],
  56481. + BFD_RELOC_UNUSED, 3, -1,
  56482. + {
  56483. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56484. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56485. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  56486. + },
  56487. + },
  56488. + {
  56489. + AVR32_OPC_ASR2, 2, 0xa1400000, 0xe1e00000,
  56490. + &avr32_syntax_table[AVR32_SYNTAX_ASR2],
  56491. + BFD_RELOC_UNUSED, 2, -1,
  56492. + {
  56493. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56494. + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
  56495. + },
  56496. + },
  56497. + {
  56498. + AVR32_OPC_BLD, 4, 0xedb00000, 0xfff0ffe0,
  56499. + &avr32_syntax_table[AVR32_SYNTAX_BLD],
  56500. + BFD_RELOC_UNUSED, 2, -1,
  56501. + {
  56502. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56503. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  56504. + },
  56505. + },
  56506. + {
  56507. + AVR32_OPC_BREQ1, 2, 0xc0000000, 0xf00f0000,
  56508. + &avr32_syntax_table[AVR32_SYNTAX_BREQ1],
  56509. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56510. + {
  56511. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56512. + },
  56513. + },
  56514. + {
  56515. + AVR32_OPC_BRNE1, 2, 0xc0010000, 0xf00f0000,
  56516. + &avr32_syntax_table[AVR32_SYNTAX_BRNE1],
  56517. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56518. + {
  56519. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56520. + },
  56521. + },
  56522. + {
  56523. + AVR32_OPC_BRCC1, 2, 0xc0020000, 0xf00f0000,
  56524. + &avr32_syntax_table[AVR32_SYNTAX_BRCC1],
  56525. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56526. + {
  56527. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56528. + },
  56529. + },
  56530. + {
  56531. + AVR32_OPC_BRCS1, 2, 0xc0030000, 0xf00f0000,
  56532. + &avr32_syntax_table[AVR32_SYNTAX_BRCS1],
  56533. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56534. + {
  56535. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56536. + },
  56537. + },
  56538. + {
  56539. + AVR32_OPC_BRGE1, 2, 0xc0040000, 0xf00f0000,
  56540. + &avr32_syntax_table[AVR32_SYNTAX_BRGE1],
  56541. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56542. + {
  56543. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56544. + },
  56545. + },
  56546. + {
  56547. + AVR32_OPC_BRLT1, 2, 0xc0050000, 0xf00f0000,
  56548. + &avr32_syntax_table[AVR32_SYNTAX_BRLT1],
  56549. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56550. + {
  56551. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56552. + },
  56553. + },
  56554. + {
  56555. + AVR32_OPC_BRMI1, 2, 0xc0060000, 0xf00f0000,
  56556. + &avr32_syntax_table[AVR32_SYNTAX_BRMI1],
  56557. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56558. + {
  56559. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56560. + },
  56561. + },
  56562. + {
  56563. + AVR32_OPC_BRPL1, 2, 0xc0070000, 0xf00f0000,
  56564. + &avr32_syntax_table[AVR32_SYNTAX_BRPL1],
  56565. + BFD_RELOC_AVR32_9H_PCREL, 1, 0,
  56566. + {
  56567. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  56568. + },
  56569. + },
  56570. + {
  56571. + AVR32_OPC_BREQ2, 4, 0xe0800000, 0xe1ef0000,
  56572. + &avr32_syntax_table[AVR32_SYNTAX_BREQ2],
  56573. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56574. + {
  56575. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56576. + },
  56577. + },
  56578. + {
  56579. + AVR32_OPC_BRNE2, 4, 0xe0810000, 0xe1ef0000,
  56580. + &avr32_syntax_table[AVR32_SYNTAX_BRNE2],
  56581. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56582. + {
  56583. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56584. + },
  56585. + },
  56586. + {
  56587. + AVR32_OPC_BRCC2, 4, 0xe0820000, 0xe1ef0000,
  56588. + &avr32_syntax_table[AVR32_SYNTAX_BRHS2],
  56589. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56590. + {
  56591. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56592. + },
  56593. + },
  56594. + {
  56595. + AVR32_OPC_BRCS2, 4, 0xe0830000, 0xe1ef0000,
  56596. + &avr32_syntax_table[AVR32_SYNTAX_BRLO2],
  56597. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56598. + {
  56599. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56600. + },
  56601. + },
  56602. + {
  56603. + AVR32_OPC_BRGE2, 4, 0xe0840000, 0xe1ef0000,
  56604. + &avr32_syntax_table[AVR32_SYNTAX_BRGE2],
  56605. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56606. + {
  56607. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56608. + },
  56609. + },
  56610. + {
  56611. + AVR32_OPC_BRLT2, 4, 0xe0850000, 0xe1ef0000,
  56612. + &avr32_syntax_table[AVR32_SYNTAX_BRLT2],
  56613. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56614. + {
  56615. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56616. + },
  56617. + },
  56618. + {
  56619. + AVR32_OPC_BRMI2, 4, 0xe0860000, 0xe1ef0000,
  56620. + &avr32_syntax_table[AVR32_SYNTAX_BRMI2],
  56621. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56622. + {
  56623. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56624. + },
  56625. + },
  56626. + {
  56627. + AVR32_OPC_BRPL2, 4, 0xe0870000, 0xe1ef0000,
  56628. + &avr32_syntax_table[AVR32_SYNTAX_BRPL2],
  56629. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56630. + {
  56631. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56632. + },
  56633. + },
  56634. + {
  56635. + AVR32_OPC_BRLS, 4, 0xe0880000, 0xe1ef0000,
  56636. + &avr32_syntax_table[AVR32_SYNTAX_BRLS],
  56637. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56638. + {
  56639. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56640. + },
  56641. + },
  56642. + {
  56643. + AVR32_OPC_BRGT, 4, 0xe0890000, 0xe1ef0000,
  56644. + &avr32_syntax_table[AVR32_SYNTAX_BRGT],
  56645. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56646. + {
  56647. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56648. + },
  56649. + },
  56650. + {
  56651. + AVR32_OPC_BRLE, 4, 0xe08a0000, 0xe1ef0000,
  56652. + &avr32_syntax_table[AVR32_SYNTAX_BRLE],
  56653. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56654. + {
  56655. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56656. + },
  56657. + },
  56658. + {
  56659. + AVR32_OPC_BRHI, 4, 0xe08b0000, 0xe1ef0000,
  56660. + &avr32_syntax_table[AVR32_SYNTAX_BRHI],
  56661. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56662. + {
  56663. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56664. + },
  56665. + },
  56666. + {
  56667. + AVR32_OPC_BRVS, 4, 0xe08c0000, 0xe1ef0000,
  56668. + &avr32_syntax_table[AVR32_SYNTAX_BRVS],
  56669. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56670. + {
  56671. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56672. + },
  56673. + },
  56674. + {
  56675. + AVR32_OPC_BRVC, 4, 0xe08d0000, 0xe1ef0000,
  56676. + &avr32_syntax_table[AVR32_SYNTAX_BRVC],
  56677. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56678. + {
  56679. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56680. + },
  56681. + },
  56682. + {
  56683. + AVR32_OPC_BRQS, 4, 0xe08e0000, 0xe1ef0000,
  56684. + &avr32_syntax_table[AVR32_SYNTAX_BRQS],
  56685. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56686. + {
  56687. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56688. + },
  56689. + },
  56690. + {
  56691. + AVR32_OPC_BRAL, 4, 0xe08f0000, 0xe1ef0000,
  56692. + &avr32_syntax_table[AVR32_SYNTAX_BRAL],
  56693. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  56694. + {
  56695. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56696. + },
  56697. + },
  56698. + {
  56699. + AVR32_OPC_BREAKPOINT, 2, 0xd6730000, 0xffff0000,
  56700. + &avr32_syntax_table[AVR32_SYNTAX_BREAKPOINT],
  56701. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  56702. + },
  56703. + {
  56704. + AVR32_OPC_BREV, 2, 0x5c900000, 0xfff00000,
  56705. + &avr32_syntax_table[AVR32_SYNTAX_BREV],
  56706. + BFD_RELOC_UNUSED, 1, -1,
  56707. + {
  56708. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56709. + },
  56710. + },
  56711. + {
  56712. + AVR32_OPC_BST, 4, 0xefb00000, 0xfff0ffe0,
  56713. + &avr32_syntax_table[AVR32_SYNTAX_BST],
  56714. + BFD_RELOC_UNUSED, 2, -1,
  56715. + {
  56716. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56717. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  56718. + },
  56719. + },
  56720. + {
  56721. + AVR32_OPC_CACHE, 4, 0xf4100000, 0xfff00000,
  56722. + &avr32_syntax_table[AVR32_SYNTAX_CACHE],
  56723. + BFD_RELOC_UNUSED, 3, -1,
  56724. + {
  56725. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56726. + &avr32_ifield_table[AVR32_IFIELD_K11],
  56727. + &avr32_ifield_table[AVR32_IFIELD_CACHEOP],
  56728. + },
  56729. + },
  56730. + {
  56731. + AVR32_OPC_CASTS_B, 2, 0x5c600000, 0xfff00000,
  56732. + &avr32_syntax_table[AVR32_SYNTAX_CASTS_B],
  56733. + BFD_RELOC_UNUSED, 1, -1,
  56734. + {
  56735. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56736. + },
  56737. + },
  56738. + {
  56739. + AVR32_OPC_CASTS_H, 2, 0x5c800000, 0xfff00000,
  56740. + &avr32_syntax_table[AVR32_SYNTAX_CASTS_H],
  56741. + BFD_RELOC_UNUSED, 1, -1,
  56742. + {
  56743. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56744. + },
  56745. + },
  56746. + {
  56747. + AVR32_OPC_CASTU_B, 2, 0x5c500000, 0xfff00000,
  56748. + &avr32_syntax_table[AVR32_SYNTAX_CASTU_B],
  56749. + BFD_RELOC_UNUSED, 1, -1,
  56750. + {
  56751. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56752. + },
  56753. + },
  56754. + {
  56755. + AVR32_OPC_CASTU_H, 2, 0x5c700000, 0xfff00000,
  56756. + &avr32_syntax_table[AVR32_SYNTAX_CASTU_H],
  56757. + BFD_RELOC_UNUSED, 1, -1,
  56758. + {
  56759. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56760. + },
  56761. + },
  56762. + {
  56763. + AVR32_OPC_CBR, 2, 0xa1c00000, 0xe1e00000,
  56764. + &avr32_syntax_table[AVR32_SYNTAX_CBR],
  56765. + BFD_RELOC_UNUSED, 2, -1,
  56766. + {
  56767. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56768. + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
  56769. + },
  56770. + },
  56771. + {
  56772. + AVR32_OPC_CLZ, 4, 0xe0001200, 0xe1f0ffff,
  56773. + &avr32_syntax_table[AVR32_SYNTAX_CLZ],
  56774. + BFD_RELOC_UNUSED, 2, -1,
  56775. + {
  56776. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56777. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56778. + },
  56779. + },
  56780. + {
  56781. + AVR32_OPC_COM, 2, 0x5cd00000, 0xfff00000,
  56782. + &avr32_syntax_table[AVR32_SYNTAX_COM],
  56783. + BFD_RELOC_UNUSED, 1, -1,
  56784. + {
  56785. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56786. + },
  56787. + },
  56788. + {
  56789. + AVR32_OPC_COP, 4, 0xe1a00000, 0xf9f00000,
  56790. + &avr32_syntax_table[AVR32_SYNTAX_COP],
  56791. + BFD_RELOC_UNUSED, 5, -1,
  56792. + {
  56793. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  56794. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  56795. + &avr32_ifield_table[AVR32_IFIELD_CRX],
  56796. + &avr32_ifield_table[AVR32_IFIELD_CRY],
  56797. + &avr32_ifield_table[AVR32_IFIELD_CPOP],
  56798. + },
  56799. + },
  56800. + {
  56801. + AVR32_OPC_CP_B, 4, 0xe0001800, 0xe1f0ffff,
  56802. + &avr32_syntax_table[AVR32_SYNTAX_CP_B],
  56803. + BFD_RELOC_UNUSED, 2, -1,
  56804. + {
  56805. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56806. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56807. + },
  56808. + },
  56809. + {
  56810. + AVR32_OPC_CP_H, 4, 0xe0001900, 0xe1f0ffff,
  56811. + &avr32_syntax_table[AVR32_SYNTAX_CP_H],
  56812. + BFD_RELOC_UNUSED, 2, -1,
  56813. + {
  56814. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56815. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56816. + },
  56817. + },
  56818. + {
  56819. + AVR32_OPC_CP_W1, 2, 0x00300000, 0xe1f00000,
  56820. + &avr32_syntax_table[AVR32_SYNTAX_CP_W1],
  56821. + BFD_RELOC_UNUSED, 2, -1,
  56822. + {
  56823. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56824. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56825. + },
  56826. + },
  56827. + {
  56828. + AVR32_OPC_CP_W2, 2, 0x58000000, 0xfc000000,
  56829. + &avr32_syntax_table[AVR32_SYNTAX_CP_W2],
  56830. + BFD_RELOC_AVR32_6S, 2, 1,
  56831. + {
  56832. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56833. + &avr32_ifield_table[AVR32_IFIELD_K6],
  56834. + },
  56835. + },
  56836. + {
  56837. + AVR32_OPC_CP_W3, 4, 0xe0400000, 0xe1e00000,
  56838. + &avr32_syntax_table[AVR32_SYNTAX_CP_W3],
  56839. + BFD_RELOC_AVR32_21S, 2, 1,
  56840. + {
  56841. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56842. + &avr32_ifield_table[AVR32_IFIELD_K21],
  56843. + },
  56844. + },
  56845. + {
  56846. + AVR32_OPC_CPC1, 4, 0xe0001300, 0xe1f0ffff,
  56847. + &avr32_syntax_table[AVR32_SYNTAX_CPC1],
  56848. + BFD_RELOC_UNUSED, 2, -1,
  56849. + {
  56850. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56851. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56852. + },
  56853. + },
  56854. + {
  56855. + AVR32_OPC_CPC2, 2, 0x5c200000, 0xfff00000,
  56856. + &avr32_syntax_table[AVR32_SYNTAX_CPC2],
  56857. + BFD_RELOC_UNUSED, 1, -1,
  56858. + {
  56859. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56860. + },
  56861. + },
  56862. + {
  56863. + AVR32_OPC_CSRF, 2, 0xd4030000, 0xfe0f0000,
  56864. + &avr32_syntax_table[AVR32_SYNTAX_CSRF],
  56865. + BFD_RELOC_UNUSED, 1, -1,
  56866. + {
  56867. + &avr32_ifield_table[AVR32_IFIELD_K5C],
  56868. + },
  56869. + },
  56870. + {
  56871. + AVR32_OPC_CSRFCZ, 2, 0xd0030000, 0xfe0f0000,
  56872. + &avr32_syntax_table[AVR32_SYNTAX_CSRFCZ],
  56873. + BFD_RELOC_UNUSED, 1, -1,
  56874. + {
  56875. + &avr32_ifield_table[AVR32_IFIELD_K5C],
  56876. + },
  56877. + },
  56878. + {
  56879. + AVR32_OPC_DIVS, 4, 0xe0000c00, 0xe1f0ffc0,
  56880. + &avr32_syntax_table[AVR32_SYNTAX_DIVS],
  56881. + BFD_RELOC_UNUSED, 3, -1,
  56882. + {
  56883. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56884. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56885. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56886. + },
  56887. + },
  56888. + {
  56889. + AVR32_OPC_DIVU, 4, 0xe0000d00, 0xe1f0ffc0,
  56890. + &avr32_syntax_table[AVR32_SYNTAX_DIVU],
  56891. + BFD_RELOC_UNUSED, 3, -1,
  56892. + {
  56893. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56894. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56895. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56896. + },
  56897. + },
  56898. + {
  56899. + AVR32_OPC_EOR1, 2, 0x00500000, 0xe1f00000,
  56900. + &avr32_syntax_table[AVR32_SYNTAX_EOR1],
  56901. + BFD_RELOC_UNUSED, 2, -1,
  56902. + {
  56903. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56904. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56905. + },
  56906. + },
  56907. + {
  56908. + AVR32_OPC_EOR2, 4, 0xe1e02000, 0xe1f0fe00,
  56909. + &avr32_syntax_table[AVR32_SYNTAX_EOR2],
  56910. + BFD_RELOC_UNUSED, 4, -1,
  56911. + {
  56912. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56913. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56914. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56915. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  56916. + }
  56917. + },
  56918. + {
  56919. + AVR32_OPC_EOR3, 4, 0xe1e02200, 0xe1f0fe00,
  56920. + &avr32_syntax_table[AVR32_SYNTAX_EOR3],
  56921. + BFD_RELOC_UNUSED, 4, -1,
  56922. + {
  56923. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  56924. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56925. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56926. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  56927. + }
  56928. + },
  56929. + {
  56930. + AVR32_OPC_EORL, 4, 0xec100000, 0xfff00000,
  56931. + &avr32_syntax_table[AVR32_SYNTAX_EORL],
  56932. + BFD_RELOC_AVR32_16U, 2, 1,
  56933. + {
  56934. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56935. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56936. + },
  56937. + },
  56938. + {
  56939. + AVR32_OPC_EORH, 4, 0xee100000, 0xfff00000,
  56940. + &avr32_syntax_table[AVR32_SYNTAX_EORH],
  56941. + BFD_RELOC_AVR32_16U, 2, 1,
  56942. + {
  56943. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56944. + &avr32_ifield_table[AVR32_IFIELD_K16],
  56945. + },
  56946. + },
  56947. + {
  56948. + AVR32_OPC_FRS, 2, 0xd7430000, 0xffff0000,
  56949. + &avr32_syntax_table[AVR32_SYNTAX_FRS],
  56950. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  56951. + },
  56952. + {
  56953. + AVR32_OPC_ICALL, 2, 0x5d100000, 0xfff00000,
  56954. + &avr32_syntax_table[AVR32_SYNTAX_ICALL],
  56955. + BFD_RELOC_UNUSED, 1, -1,
  56956. + {
  56957. + &avr32_ifield_table[AVR32_IFIELD_RY],
  56958. + },
  56959. + },
  56960. + {
  56961. + AVR32_OPC_INCJOSP, 2, 0xd6830000, 0xff8f0000,
  56962. + &avr32_syntax_table[AVR32_SYNTAX_INCJOSP],
  56963. + BFD_RELOC_UNUSED, 1, -1,
  56964. + {
  56965. + &avr32_ifield_table[AVR32_IFIELD_K3],
  56966. + },
  56967. + },
  56968. + {
  56969. + AVR32_OPC_LD_D1, 2, 0xa1010000, 0xe1f10000,
  56970. + &avr32_syntax_table[AVR32_SYNTAX_LD_D1],
  56971. + BFD_RELOC_UNUSED, 2, -1,
  56972. + {
  56973. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  56974. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56975. + },
  56976. + },
  56977. + {
  56978. + AVR32_OPC_LD_D2, 2, 0xa1100000, 0xe1f10000,
  56979. + &avr32_syntax_table[AVR32_SYNTAX_LD_D2],
  56980. + BFD_RELOC_UNUSED, 2, -1,
  56981. + {
  56982. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  56983. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56984. + },
  56985. + },
  56986. + {
  56987. + AVR32_OPC_LD_D3, 2, 0xa1000000, 0xe1f10000,
  56988. + &avr32_syntax_table[AVR32_SYNTAX_LD_D3],
  56989. + BFD_RELOC_UNUSED, 2, -1,
  56990. + {
  56991. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  56992. + &avr32_ifield_table[AVR32_IFIELD_RX],
  56993. + },
  56994. + },
  56995. + {
  56996. + AVR32_OPC_LD_D5, 4, 0xe0000200, 0xe1f0ffc1,
  56997. + &avr32_syntax_table[AVR32_SYNTAX_LD_D5],
  56998. + BFD_RELOC_UNUSED, 4, -1,
  56999. + {
  57000. + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
  57001. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57002. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57003. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57004. + },
  57005. + },
  57006. + {
  57007. + AVR32_OPC_LD_D4, 4, 0xe0e00000, 0xe1f10000,
  57008. + &avr32_syntax_table[AVR32_SYNTAX_LD_D4],
  57009. + BFD_RELOC_AVR32_16S, 3, 2,
  57010. + {
  57011. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  57012. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57013. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57014. + },
  57015. + },
  57016. + {
  57017. + AVR32_OPC_LD_SB2, 4, 0xe0000600, 0xe1f0ffc0,
  57018. + &avr32_syntax_table[AVR32_SYNTAX_LD_SB2],
  57019. + BFD_RELOC_UNUSED, 4, -1,
  57020. + {
  57021. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57022. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57023. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57024. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57025. + },
  57026. + },
  57027. + {
  57028. + AVR32_OPC_LD_SB1, 4, 0xe1200000, 0xe1f00000,
  57029. + &avr32_syntax_table[AVR32_SYNTAX_LD_SB1],
  57030. + BFD_RELOC_AVR32_16S, 3, -1,
  57031. + {
  57032. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57033. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57034. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57035. + },
  57036. + },
  57037. + {
  57038. + AVR32_OPC_LD_UB1, 2, 0x01300000, 0xe1f00000,
  57039. + &avr32_syntax_table[AVR32_SYNTAX_LD_UB1],
  57040. + BFD_RELOC_UNUSED, 2, -1,
  57041. + {
  57042. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57043. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57044. + },
  57045. + },
  57046. + {
  57047. + AVR32_OPC_LD_UB2, 2, 0x01700000, 0xe1f00000,
  57048. + &avr32_syntax_table[AVR32_SYNTAX_LD_UB2],
  57049. + BFD_RELOC_UNUSED, 2, -1,
  57050. + {
  57051. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57052. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57053. + },
  57054. + },
  57055. + {
  57056. + AVR32_OPC_LD_UB5, 4, 0xe0000700, 0xe1f0ffc0,
  57057. + &avr32_syntax_table[AVR32_SYNTAX_LD_UB5],
  57058. + BFD_RELOC_UNUSED, 4, -1,
  57059. + {
  57060. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57061. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57062. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57063. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57064. + },
  57065. + },
  57066. + {
  57067. + AVR32_OPC_LD_UB3, 2, 0x01800000, 0xe1800000,
  57068. + &avr32_syntax_table[AVR32_SYNTAX_LD_UB3],
  57069. + BFD_RELOC_AVR32_3U, 3, 2,
  57070. + {
  57071. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57072. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57073. + &avr32_ifield_table[AVR32_IFIELD_K3],
  57074. + },
  57075. + },
  57076. + {
  57077. + AVR32_OPC_LD_UB4, 4, 0xe1300000, 0xe1f00000,
  57078. + &avr32_syntax_table[AVR32_SYNTAX_LD_UB4],
  57079. + BFD_RELOC_AVR32_16S, 3, 2,
  57080. + {
  57081. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57082. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57083. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57084. + },
  57085. + },
  57086. + {
  57087. + AVR32_OPC_LD_SH1, 2, 0x01100000, 0xe1f00000,
  57088. + &avr32_syntax_table[AVR32_SYNTAX_LD_SH1],
  57089. + BFD_RELOC_UNUSED, 2, -1,
  57090. + {
  57091. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57092. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57093. + },
  57094. + },
  57095. + {
  57096. + AVR32_OPC_LD_SH2, 2, 0x01500000, 0xe1f00000,
  57097. + &avr32_syntax_table[AVR32_SYNTAX_LD_SH2],
  57098. + BFD_RELOC_UNUSED, 2, -1,
  57099. + {
  57100. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57101. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57102. + },
  57103. + },
  57104. + {
  57105. + AVR32_OPC_LD_SH5, 4, 0xe0000400, 0xe1f0ffc0,
  57106. + &avr32_syntax_table[AVR32_SYNTAX_LD_SH5],
  57107. + BFD_RELOC_UNUSED, 4, -1,
  57108. + {
  57109. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57110. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57111. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57112. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57113. + },
  57114. + },
  57115. + {
  57116. + AVR32_OPC_LD_SH3, 2, 0x80000000, 0xe1800000,
  57117. + &avr32_syntax_table[AVR32_SYNTAX_LD_SH3],
  57118. + BFD_RELOC_AVR32_4UH, 3, 2,
  57119. + {
  57120. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57121. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57122. + &avr32_ifield_table[AVR32_IFIELD_K3],
  57123. + },
  57124. + },
  57125. + {
  57126. + AVR32_OPC_LD_SH4, 4, 0xe1000000, 0xe1f00000,
  57127. + &avr32_syntax_table[AVR32_SYNTAX_LD_SH4],
  57128. + BFD_RELOC_AVR32_16S, 3, 2,
  57129. + {
  57130. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57131. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57132. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57133. + },
  57134. + },
  57135. + {
  57136. + AVR32_OPC_LD_UH1, 2, 0x01200000, 0xe1f00000,
  57137. + &avr32_syntax_table[AVR32_SYNTAX_LD_UH1],
  57138. + BFD_RELOC_UNUSED, 2, -1,
  57139. + {
  57140. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57141. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57142. + },
  57143. + },
  57144. + {
  57145. + AVR32_OPC_LD_UH2, 2, 0x01600000, 0xe1f00000,
  57146. + &avr32_syntax_table[AVR32_SYNTAX_LD_UH2],
  57147. + BFD_RELOC_UNUSED, 2, -1,
  57148. + {
  57149. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57150. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57151. + },
  57152. + },
  57153. + {
  57154. + AVR32_OPC_LD_UH5, 4, 0xe0000500, 0xe1f0ffc0,
  57155. + &avr32_syntax_table[AVR32_SYNTAX_LD_UH5],
  57156. + BFD_RELOC_UNUSED, 4, -1,
  57157. + {
  57158. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57159. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57160. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57161. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57162. + },
  57163. + },
  57164. + {
  57165. + AVR32_OPC_LD_UH3, 2, 0x80800000, 0xe1800000,
  57166. + &avr32_syntax_table[AVR32_SYNTAX_LD_UH3],
  57167. + BFD_RELOC_AVR32_4UH, 3, 2,
  57168. + {
  57169. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57170. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57171. + &avr32_ifield_table[AVR32_IFIELD_K3],
  57172. + },
  57173. + },
  57174. + {
  57175. + AVR32_OPC_LD_UH4, 4, 0xe1100000, 0xe1f00000,
  57176. + &avr32_syntax_table[AVR32_SYNTAX_LD_UH4],
  57177. + BFD_RELOC_AVR32_16S, 3, 2,
  57178. + {
  57179. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57180. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57181. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57182. + },
  57183. + },
  57184. + {
  57185. + AVR32_OPC_LD_W1, 2, 0x01000000, 0xe1f00000,
  57186. + &avr32_syntax_table[AVR32_SYNTAX_LD_W1],
  57187. + BFD_RELOC_UNUSED, 2, -1,
  57188. + {
  57189. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57190. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57191. + },
  57192. + },
  57193. + {
  57194. + AVR32_OPC_LD_W2, 2, 0x01400000, 0xe1f00000,
  57195. + &avr32_syntax_table[AVR32_SYNTAX_LD_W2],
  57196. + BFD_RELOC_UNUSED, 2, -1,
  57197. + {
  57198. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57199. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57200. + },
  57201. + },
  57202. + {
  57203. + AVR32_OPC_LD_W5, 4, 0xe0000300, 0xe1f0ffc0,
  57204. + &avr32_syntax_table[AVR32_SYNTAX_LD_W5],
  57205. + BFD_RELOC_UNUSED, 4, -1,
  57206. + {
  57207. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57208. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57209. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57210. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57211. + },
  57212. + },
  57213. + {
  57214. + AVR32_OPC_LD_W6, 4, 0xe0000f80, 0xe1f0ffc0,
  57215. + &avr32_syntax_table[AVR32_SYNTAX_LD_W6],
  57216. + BFD_RELOC_UNUSED, 4, -1,
  57217. + {
  57218. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57219. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57220. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57221. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57222. + },
  57223. + },
  57224. + {
  57225. + AVR32_OPC_LD_W3, 2, 0x60000000, 0xe0000000,
  57226. + &avr32_syntax_table[AVR32_SYNTAX_LD_W3],
  57227. + BFD_RELOC_AVR32_7UW, 3, 2,
  57228. + {
  57229. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57230. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57231. + &avr32_ifield_table[AVR32_IFIELD_K5C],
  57232. + },
  57233. + },
  57234. + {
  57235. + AVR32_OPC_LD_W4, 4, 0xe0f00000, 0xe1f00000,
  57236. + &avr32_syntax_table[AVR32_SYNTAX_LD_W4],
  57237. + BFD_RELOC_AVR32_16S, 3, 2,
  57238. + {
  57239. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57240. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57241. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57242. + },
  57243. + },
  57244. + {
  57245. + AVR32_OPC_LDC_D1, 4, 0xe9a01000, 0xfff01100,
  57246. + &avr32_syntax_table[AVR32_SYNTAX_LDC_D1],
  57247. + BFD_RELOC_AVR32_10UW, 4, 3,
  57248. + {
  57249. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57250. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  57251. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57252. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57253. + },
  57254. + },
  57255. + {
  57256. + AVR32_OPC_LDC_D2, 4, 0xefa00050, 0xfff011ff,
  57257. + &avr32_syntax_table[AVR32_SYNTAX_LDC_D2],
  57258. + BFD_RELOC_UNUSED, 3, -1,
  57259. + {
  57260. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57261. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  57262. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57263. + },
  57264. + },
  57265. + {
  57266. + AVR32_OPC_LDC_D3, 4, 0xefa01040, 0xfff011c0,
  57267. + &avr32_syntax_table[AVR32_SYNTAX_LDC_D3],
  57268. + BFD_RELOC_UNUSED, 5, -1,
  57269. + {
  57270. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57271. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  57272. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57273. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57274. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57275. + },
  57276. + },
  57277. + {
  57278. + AVR32_OPC_LDC_W1, 4, 0xe9a00000, 0xfff01000,
  57279. + &avr32_syntax_table[AVR32_SYNTAX_LDC_W1],
  57280. + BFD_RELOC_AVR32_10UW, 4, 3,
  57281. + {
  57282. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57283. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  57284. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57285. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57286. + },
  57287. + },
  57288. + {
  57289. + AVR32_OPC_LDC_W2, 4, 0xefa00040, 0xfff010ff,
  57290. + &avr32_syntax_table[AVR32_SYNTAX_LDC_W2],
  57291. + BFD_RELOC_UNUSED, 3, -1,
  57292. + {
  57293. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57294. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  57295. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57296. + },
  57297. + },
  57298. + {
  57299. + AVR32_OPC_LDC_W3, 4, 0xefa01000, 0xfff010c0,
  57300. + &avr32_syntax_table[AVR32_SYNTAX_LDC_W3],
  57301. + BFD_RELOC_UNUSED, 5, -1,
  57302. + {
  57303. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57304. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  57305. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57306. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57307. + &avr32_ifield_table[AVR32_IFIELD_K2],
  57308. + },
  57309. + },
  57310. + {
  57311. + AVR32_OPC_LDC0_D, 4, 0xf3a00000, 0xfff00100,
  57312. + &avr32_syntax_table[AVR32_SYNTAX_LDC0_D],
  57313. + BFD_RELOC_AVR32_14UW, 3, 2,
  57314. + {
  57315. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  57316. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57317. + &avr32_ifield_table[AVR32_IFIELD_K12CP],
  57318. + },
  57319. + },
  57320. + {
  57321. + AVR32_OPC_LDC0_W, 4, 0xf1a00000, 0xfff00000,
  57322. + &avr32_syntax_table[AVR32_SYNTAX_LDC0_W],
  57323. + BFD_RELOC_AVR32_14UW, 3, 2,
  57324. + {
  57325. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  57326. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57327. + &avr32_ifield_table[AVR32_IFIELD_K12CP],
  57328. + },
  57329. + },
  57330. + {
  57331. + AVR32_OPC_LDCM_D, 4, 0xeda00400, 0xfff01f00,
  57332. + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D],
  57333. + BFD_RELOC_UNUSED, 3, -1,
  57334. + {
  57335. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57336. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57337. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57338. + },
  57339. + },
  57340. + {
  57341. + AVR32_OPC_LDCM_D_PU, 4, 0xeda01400, 0xfff01f00,
  57342. + &avr32_syntax_table[AVR32_SYNTAX_LDCM_D_PU],
  57343. + BFD_RELOC_UNUSED, 3, -1,
  57344. + {
  57345. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57346. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57347. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57348. + },
  57349. + },
  57350. + {
  57351. + AVR32_OPC_LDCM_W, 4, 0xeda00000, 0xfff01e00,
  57352. + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W],
  57353. + BFD_RELOC_UNUSED, 4, -1,
  57354. + {
  57355. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57356. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57357. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57358. + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
  57359. + },
  57360. + },
  57361. + {
  57362. + AVR32_OPC_LDCM_W_PU, 4, 0xeda01000, 0xfff01e00,
  57363. + &avr32_syntax_table[AVR32_SYNTAX_LDCM_W_PU],
  57364. + BFD_RELOC_UNUSED, 4, -1,
  57365. + {
  57366. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  57367. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57368. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57369. + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
  57370. + },
  57371. + },
  57372. + {
  57373. + AVR32_OPC_LDDPC, 2, 0x48000000, 0xf8000000,
  57374. + &avr32_syntax_table[AVR32_SYNTAX_LDDPC],
  57375. + BFD_RELOC_AVR32_9UW_PCREL, 2, 1,
  57376. + {
  57377. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57378. + &avr32_ifield_table[AVR32_IFIELD_K7C],
  57379. + },
  57380. + },
  57381. + {
  57382. + AVR32_OPC_LDDPC_EXT, 4, 0xfef00000, 0xfff00000,
  57383. + &avr32_syntax_table[AVR32_SYNTAX_LDDPC_EXT],
  57384. + BFD_RELOC_AVR32_16B_PCREL, 2, 1,
  57385. + {
  57386. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57387. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57388. + },
  57389. + },
  57390. + {
  57391. + AVR32_OPC_LDDSP, 2, 0x40000000, 0xf8000000,
  57392. + &avr32_syntax_table[AVR32_SYNTAX_LDDSP],
  57393. + BFD_RELOC_UNUSED, 2, -1,
  57394. + {
  57395. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57396. + &avr32_ifield_table[AVR32_IFIELD_K7C],
  57397. + },
  57398. + },
  57399. + {
  57400. + AVR32_OPC_LDINS_B, 4, 0xe1d04000, 0xe1f0c000,
  57401. + &avr32_syntax_table[AVR32_SYNTAX_LDINS_B],
  57402. + BFD_RELOC_UNUSED, 4, -1,
  57403. + {
  57404. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57405. + &avr32_ifield_table[AVR32_IFIELD_PART2_K12],
  57406. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57407. + &avr32_ifield_table[AVR32_IFIELD_K12],
  57408. + },
  57409. + },
  57410. + {
  57411. + AVR32_OPC_LDINS_H, 4, 0xe1d00000, 0xe1f0e000,
  57412. + &avr32_syntax_table[AVR32_SYNTAX_LDINS_H],
  57413. + BFD_RELOC_UNUSED, 4, -1,
  57414. + {
  57415. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57416. + &avr32_ifield_table[AVR32_IFIELD_PART1_K12],
  57417. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57418. + &avr32_ifield_table[AVR32_IFIELD_K12],
  57419. + },
  57420. + },
  57421. + {
  57422. + AVR32_OPC_LDM, 4, 0xe1c00000, 0xfdf00000,
  57423. + &avr32_syntax_table[AVR32_SYNTAX_LDM],
  57424. + BFD_RELOC_UNUSED, 3, -1,
  57425. + {
  57426. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57427. + &avr32_ifield_table[AVR32_IFIELD_W],
  57428. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57429. + },
  57430. + },
  57431. + {
  57432. + AVR32_OPC_LDMTS, 4, 0xe5c00000, 0xfff00000,
  57433. + &avr32_syntax_table[AVR32_SYNTAX_LDMTS],
  57434. + BFD_RELOC_UNUSED, 2, -1,
  57435. + {
  57436. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57437. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57438. + },
  57439. + },
  57440. + {
  57441. + AVR32_OPC_LDMTS_PU, 4, 0xe7c00000, 0xfff00000,
  57442. + &avr32_syntax_table[AVR32_SYNTAX_LDMTS_PU],
  57443. + BFD_RELOC_UNUSED, 2, -1,
  57444. + {
  57445. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57446. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57447. + },
  57448. + },
  57449. + {
  57450. + AVR32_OPC_LDSWP_SH, 4, 0xe1d02000, 0xe1f0f000,
  57451. + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_SH],
  57452. + BFD_RELOC_UNUSED, 3, -1,
  57453. + {
  57454. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57455. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57456. + &avr32_ifield_table[AVR32_IFIELD_K12],
  57457. + },
  57458. + },
  57459. + {
  57460. + AVR32_OPC_LDSWP_UH, 4, 0xe1d03000, 0xe1f0f000,
  57461. + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_UH],
  57462. + BFD_RELOC_UNUSED, 3, -1,
  57463. + {
  57464. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57465. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57466. + &avr32_ifield_table[AVR32_IFIELD_K12],
  57467. + },
  57468. + },
  57469. + {
  57470. + AVR32_OPC_LDSWP_W, 4, 0xe1d08000, 0xe1f0f000,
  57471. + &avr32_syntax_table[AVR32_SYNTAX_LDSWP_W],
  57472. + BFD_RELOC_UNUSED, 3, -1,
  57473. + {
  57474. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57475. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57476. + &avr32_ifield_table[AVR32_IFIELD_K12],
  57477. + },
  57478. + },
  57479. + {
  57480. + AVR32_OPC_LSL1, 4, 0xe0000940, 0xe1f0fff0,
  57481. + &avr32_syntax_table[AVR32_SYNTAX_LSL1],
  57482. + BFD_RELOC_UNUSED, 3, -1,
  57483. + {
  57484. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57485. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57486. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57487. + },
  57488. + },
  57489. + {
  57490. + AVR32_OPC_LSL3, 4, 0xe0001500, 0xe1f0ffe0,
  57491. + &avr32_syntax_table[AVR32_SYNTAX_LSL3],
  57492. + BFD_RELOC_UNUSED, 3, -1,
  57493. + {
  57494. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57495. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57496. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  57497. + },
  57498. + },
  57499. + {
  57500. + AVR32_OPC_LSL2, 2, 0xa1600000, 0xe1e00000,
  57501. + &avr32_syntax_table[AVR32_SYNTAX_LSL2],
  57502. + BFD_RELOC_UNUSED, 2, -1,
  57503. + {
  57504. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57505. + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
  57506. + },
  57507. + },
  57508. + {
  57509. + AVR32_OPC_LSR1, 4, 0xe0000a40, 0xe1f0fff0,
  57510. + &avr32_syntax_table[AVR32_SYNTAX_LSR1],
  57511. + BFD_RELOC_UNUSED, 3, -1,
  57512. + {
  57513. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57514. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57515. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57516. + },
  57517. + },
  57518. + {
  57519. + AVR32_OPC_LSR3, 4, 0xe0001600, 0xe1f0ffe0,
  57520. + &avr32_syntax_table[AVR32_SYNTAX_LSR3],
  57521. + BFD_RELOC_UNUSED, 3, -1,
  57522. + {
  57523. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57524. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57525. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  57526. + },
  57527. + },
  57528. + {
  57529. + AVR32_OPC_LSR2, 2, 0xa1800000, 0xe1e00000,
  57530. + &avr32_syntax_table[AVR32_SYNTAX_LSR2],
  57531. + BFD_RELOC_UNUSED, 2, -1,
  57532. + {
  57533. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57534. + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
  57535. + },
  57536. + },
  57537. + {
  57538. + AVR32_OPC_MAC, 4, 0xe0000340, 0xe1f0fff0,
  57539. + &avr32_syntax_table[AVR32_SYNTAX_MAC],
  57540. + BFD_RELOC_UNUSED, 3, -1,
  57541. + {
  57542. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57543. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57544. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57545. + },
  57546. + },
  57547. + {
  57548. + AVR32_OPC_MACHH_D, 4, 0xe0000580, 0xe1f0ffc1,
  57549. + &avr32_syntax_table[AVR32_SYNTAX_MACHH_D],
  57550. + BFD_RELOC_UNUSED, 5, -1,
  57551. + {
  57552. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57553. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57554. + &avr32_ifield_table[AVR32_IFIELD_X],
  57555. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57556. + &avr32_ifield_table[AVR32_IFIELD_Y],
  57557. + },
  57558. + },
  57559. + {
  57560. + AVR32_OPC_MACHH_W, 4, 0xe0000480, 0xe1f0ffc0,
  57561. + &avr32_syntax_table[AVR32_SYNTAX_MACHH_W],
  57562. + BFD_RELOC_UNUSED, 5, -1,
  57563. + {
  57564. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57565. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57566. + &avr32_ifield_table[AVR32_IFIELD_X],
  57567. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57568. + &avr32_ifield_table[AVR32_IFIELD_Y],
  57569. + },
  57570. + },
  57571. + {
  57572. + AVR32_OPC_MACS_D, 4, 0xe0000540, 0xe1f0fff1,
  57573. + &avr32_syntax_table[AVR32_SYNTAX_MACS_D],
  57574. + BFD_RELOC_UNUSED, 3, -1,
  57575. + {
  57576. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57577. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57578. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57579. + },
  57580. + },
  57581. + {
  57582. + AVR32_OPC_MACSATHH_W, 4, 0xe0000680, 0xe1f0ffc0,
  57583. + &avr32_syntax_table[AVR32_SYNTAX_MACSATHH_W],
  57584. + BFD_RELOC_UNUSED, 5, -1,
  57585. + {
  57586. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57587. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57588. + &avr32_ifield_table[AVR32_IFIELD_X],
  57589. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57590. + &avr32_ifield_table[AVR32_IFIELD_Y],
  57591. + },
  57592. + },
  57593. + {
  57594. + AVR32_OPC_MACUD, 4, 0xe0000740, 0xe1f0fff1,
  57595. + &avr32_syntax_table[AVR32_SYNTAX_MACUD],
  57596. + BFD_RELOC_UNUSED, 3, -1,
  57597. + {
  57598. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57599. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57600. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57601. + },
  57602. + },
  57603. + {
  57604. + AVR32_OPC_MACWH_D, 4, 0xe0000c80, 0xe1f0ffe1,
  57605. + &avr32_syntax_table[AVR32_SYNTAX_MACWH_D],
  57606. + BFD_RELOC_UNUSED, 4, -1,
  57607. + {
  57608. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57609. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57610. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57611. + &avr32_ifield_table[AVR32_IFIELD_Y],
  57612. + },
  57613. + },
  57614. + {
  57615. + AVR32_OPC_MAX, 4, 0xe0000c40, 0xe1f0fff0,
  57616. + &avr32_syntax_table[AVR32_SYNTAX_MAX],
  57617. + BFD_RELOC_UNUSED, 3, -1,
  57618. + {
  57619. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57620. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57621. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57622. + },
  57623. + },
  57624. + {
  57625. + AVR32_OPC_MCALL, 4, 0xf0100000, 0xfff00000,
  57626. + &avr32_syntax_table[AVR32_SYNTAX_MCALL],
  57627. + BFD_RELOC_AVR32_18W_PCREL, 2, 1,
  57628. + {
  57629. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57630. + &avr32_ifield_table[AVR32_IFIELD_K16],
  57631. + },
  57632. + },
  57633. + {
  57634. + AVR32_OPC_MFDR, 4, 0xe5b00000, 0xfff0ff00,
  57635. + &avr32_syntax_table[AVR32_SYNTAX_MFDR],
  57636. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57637. + {
  57638. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57639. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57640. + },
  57641. + },
  57642. + {
  57643. + AVR32_OPC_MFSR, 4, 0xe1b00000, 0xfff0ff00,
  57644. + &avr32_syntax_table[AVR32_SYNTAX_MFSR],
  57645. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57646. + {
  57647. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57648. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57649. + },
  57650. + },
  57651. + {
  57652. + AVR32_OPC_MIN, 4, 0xe0000d40, 0xe1f0fff0,
  57653. + &avr32_syntax_table[AVR32_SYNTAX_MIN],
  57654. + BFD_RELOC_UNUSED, 3, -1,
  57655. + {
  57656. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  57657. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57658. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57659. + },
  57660. + },
  57661. + {
  57662. + AVR32_OPC_MOV3, 2, 0x00900000, 0xe1f00000,
  57663. + &avr32_syntax_table[AVR32_SYNTAX_MOV3],
  57664. + BFD_RELOC_NONE, 2, -1,
  57665. + {
  57666. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57667. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57668. + },
  57669. + },
  57670. + {
  57671. + AVR32_OPC_MOV1, 2, 0x30000000, 0xf0000000,
  57672. + &avr32_syntax_table[AVR32_SYNTAX_MOV1],
  57673. + BFD_RELOC_AVR32_8S, 2, 1,
  57674. + {
  57675. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57676. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  57677. + },
  57678. + },
  57679. + {
  57680. + AVR32_OPC_MOV2, 4, 0xe0600000, 0xe1e00000,
  57681. + &avr32_syntax_table[AVR32_SYNTAX_MOV2],
  57682. + BFD_RELOC_AVR32_21S, 2, 1,
  57683. + {
  57684. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57685. + &avr32_ifield_table[AVR32_IFIELD_K21],
  57686. + },
  57687. + },
  57688. + {
  57689. + AVR32_OPC_MOVEQ1, 4, 0xe0001700, 0xe1f0ffff,
  57690. + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ1],
  57691. + BFD_RELOC_UNUSED, 2, -1,
  57692. + {
  57693. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57694. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57695. + },
  57696. + },
  57697. + {
  57698. + AVR32_OPC_MOVNE1, 4, 0xe0001710, 0xe1f0ffff,
  57699. + &avr32_syntax_table[AVR32_SYNTAX_MOVNE1],
  57700. + BFD_RELOC_UNUSED, 2, -1,
  57701. + {
  57702. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57703. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57704. + },
  57705. + },
  57706. + {
  57707. + AVR32_OPC_MOVCC1, 4, 0xe0001720, 0xe1f0ffff,
  57708. + &avr32_syntax_table[AVR32_SYNTAX_MOVHS1],
  57709. + BFD_RELOC_UNUSED, 2, -1,
  57710. + {
  57711. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57712. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57713. + },
  57714. + },
  57715. + {
  57716. + AVR32_OPC_MOVCS1, 4, 0xe0001730, 0xe1f0ffff,
  57717. + &avr32_syntax_table[AVR32_SYNTAX_MOVLO1],
  57718. + BFD_RELOC_UNUSED, 2, -1,
  57719. + {
  57720. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57721. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57722. + },
  57723. + },
  57724. + {
  57725. + AVR32_OPC_MOVGE1, 4, 0xe0001740, 0xe1f0ffff,
  57726. + &avr32_syntax_table[AVR32_SYNTAX_MOVGE1],
  57727. + BFD_RELOC_UNUSED, 2, -1,
  57728. + {
  57729. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57730. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57731. + },
  57732. + },
  57733. + {
  57734. + AVR32_OPC_MOVLT1, 4, 0xe0001750, 0xe1f0ffff,
  57735. + &avr32_syntax_table[AVR32_SYNTAX_MOVLT1],
  57736. + BFD_RELOC_UNUSED, 2, -1,
  57737. + {
  57738. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57739. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57740. + },
  57741. + },
  57742. + {
  57743. + AVR32_OPC_MOVMI1, 4, 0xe0001760, 0xe1f0ffff,
  57744. + &avr32_syntax_table[AVR32_SYNTAX_MOVMI1],
  57745. + BFD_RELOC_UNUSED, 2, -1,
  57746. + {
  57747. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57748. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57749. + },
  57750. + },
  57751. + {
  57752. + AVR32_OPC_MOVPL1, 4, 0xe0001770, 0xe1f0ffff,
  57753. + &avr32_syntax_table[AVR32_SYNTAX_MOVPL1],
  57754. + BFD_RELOC_UNUSED, 2, -1,
  57755. + {
  57756. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57757. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57758. + },
  57759. + },
  57760. + {
  57761. + AVR32_OPC_MOVLS1, 4, 0xe0001780, 0xe1f0ffff,
  57762. + &avr32_syntax_table[AVR32_SYNTAX_MOVLS1],
  57763. + BFD_RELOC_UNUSED, 2, -1,
  57764. + {
  57765. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57766. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57767. + },
  57768. + },
  57769. + {
  57770. + AVR32_OPC_MOVGT1, 4, 0xe0001790, 0xe1f0ffff,
  57771. + &avr32_syntax_table[AVR32_SYNTAX_MOVGT1],
  57772. + BFD_RELOC_UNUSED, 2, -1,
  57773. + {
  57774. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57775. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57776. + },
  57777. + },
  57778. + {
  57779. + AVR32_OPC_MOVLE1, 4, 0xe00017a0, 0xe1f0ffff,
  57780. + &avr32_syntax_table[AVR32_SYNTAX_MOVLE1],
  57781. + BFD_RELOC_UNUSED, 2, -1,
  57782. + {
  57783. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57784. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57785. + },
  57786. + },
  57787. + {
  57788. + AVR32_OPC_MOVHI1, 4, 0xe00017b0, 0xe1f0ffff,
  57789. + &avr32_syntax_table[AVR32_SYNTAX_MOVHI1],
  57790. + BFD_RELOC_UNUSED, 2, -1,
  57791. + {
  57792. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57793. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57794. + },
  57795. + },
  57796. + {
  57797. + AVR32_OPC_MOVVS1, 4, 0xe00017c0, 0xe1f0ffff,
  57798. + &avr32_syntax_table[AVR32_SYNTAX_MOVVS1],
  57799. + BFD_RELOC_UNUSED, 2, -1,
  57800. + {
  57801. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57802. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57803. + },
  57804. + },
  57805. + {
  57806. + AVR32_OPC_MOVVC1, 4, 0xe00017d0, 0xe1f0ffff,
  57807. + &avr32_syntax_table[AVR32_SYNTAX_MOVVC1],
  57808. + BFD_RELOC_UNUSED, 2, -1,
  57809. + {
  57810. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57811. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57812. + },
  57813. + },
  57814. + {
  57815. + AVR32_OPC_MOVQS1, 4, 0xe00017e0, 0xe1f0ffff,
  57816. + &avr32_syntax_table[AVR32_SYNTAX_MOVQS1],
  57817. + BFD_RELOC_UNUSED, 2, -1,
  57818. + {
  57819. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57820. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57821. + },
  57822. + },
  57823. + {
  57824. + AVR32_OPC_MOVAL1, 4, 0xe00017f0, 0xe1f0ffff,
  57825. + &avr32_syntax_table[AVR32_SYNTAX_MOVAL1],
  57826. + BFD_RELOC_UNUSED, 2, -1,
  57827. + {
  57828. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57829. + &avr32_ifield_table[AVR32_IFIELD_RX],
  57830. + },
  57831. + },
  57832. + {
  57833. + AVR32_OPC_MOVEQ2, 4, 0xf9b00000, 0xfff0ff00,
  57834. + &avr32_syntax_table[AVR32_SYNTAX_MOVEQ2],
  57835. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57836. + {
  57837. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57838. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57839. + },
  57840. + },
  57841. + {
  57842. + AVR32_OPC_MOVNE2, 4, 0xf9b00100, 0xfff0ff00,
  57843. + &avr32_syntax_table[AVR32_SYNTAX_MOVNE2],
  57844. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57845. + {
  57846. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57847. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57848. + },
  57849. + },
  57850. + {
  57851. + AVR32_OPC_MOVCC2, 4, 0xf9b00200, 0xfff0ff00,
  57852. + &avr32_syntax_table[AVR32_SYNTAX_MOVHS2],
  57853. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57854. + {
  57855. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57856. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57857. + },
  57858. + },
  57859. + {
  57860. + AVR32_OPC_MOVCS2, 4, 0xf9b00300, 0xfff0ff00,
  57861. + &avr32_syntax_table[AVR32_SYNTAX_MOVLO2],
  57862. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57863. + {
  57864. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57865. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57866. + },
  57867. + },
  57868. + {
  57869. + AVR32_OPC_MOVGE2, 4, 0xf9b00400, 0xfff0ff00,
  57870. + &avr32_syntax_table[AVR32_SYNTAX_MOVGE2],
  57871. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57872. + {
  57873. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57874. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57875. + },
  57876. + },
  57877. + {
  57878. + AVR32_OPC_MOVLT2, 4, 0xf9b00500, 0xfff0ff00,
  57879. + &avr32_syntax_table[AVR32_SYNTAX_MOVLT2],
  57880. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57881. + {
  57882. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57883. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57884. + },
  57885. + },
  57886. + {
  57887. + AVR32_OPC_MOVMI2, 4, 0xf9b00600, 0xfff0ff00,
  57888. + &avr32_syntax_table[AVR32_SYNTAX_MOVMI2],
  57889. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57890. + {
  57891. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57892. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57893. + },
  57894. + },
  57895. + {
  57896. + AVR32_OPC_MOVPL2, 4, 0xf9b00700, 0xfff0ff00,
  57897. + &avr32_syntax_table[AVR32_SYNTAX_MOVPL2],
  57898. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57899. + {
  57900. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57901. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57902. + },
  57903. + },
  57904. + {
  57905. + AVR32_OPC_MOVLS2, 4, 0xf9b00800, 0xfff0ff00,
  57906. + &avr32_syntax_table[AVR32_SYNTAX_MOVLS2],
  57907. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57908. + {
  57909. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57910. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57911. + },
  57912. + },
  57913. + {
  57914. + AVR32_OPC_MOVGT2, 4, 0xf9b00900, 0xfff0ff00,
  57915. + &avr32_syntax_table[AVR32_SYNTAX_MOVGT2],
  57916. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57917. + {
  57918. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57919. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57920. + },
  57921. + },
  57922. + {
  57923. + AVR32_OPC_MOVLE2, 4, 0xf9b00a00, 0xfff0ff00,
  57924. + &avr32_syntax_table[AVR32_SYNTAX_MOVLE2],
  57925. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57926. + {
  57927. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57928. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57929. + },
  57930. + },
  57931. + {
  57932. + AVR32_OPC_MOVHI2, 4, 0xf9b00b00, 0xfff0ff00,
  57933. + &avr32_syntax_table[AVR32_SYNTAX_MOVHI2],
  57934. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57935. + {
  57936. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57937. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57938. + },
  57939. + },
  57940. + {
  57941. + AVR32_OPC_MOVVS2, 4, 0xf9b00c00, 0xfff0ff00,
  57942. + &avr32_syntax_table[AVR32_SYNTAX_MOVVS2],
  57943. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57944. + {
  57945. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57946. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57947. + },
  57948. + },
  57949. + {
  57950. + AVR32_OPC_MOVVC2, 4, 0xf9b00d00, 0xfff0ff00,
  57951. + &avr32_syntax_table[AVR32_SYNTAX_MOVVC2],
  57952. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57953. + {
  57954. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57955. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57956. + },
  57957. + },
  57958. + {
  57959. + AVR32_OPC_MOVQS2, 4, 0xf9b00e00, 0xfff0ff00,
  57960. + &avr32_syntax_table[AVR32_SYNTAX_MOVQS2],
  57961. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57962. + {
  57963. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57964. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57965. + },
  57966. + },
  57967. + {
  57968. + AVR32_OPC_MOVAL2, 4, 0xf9b00f00, 0xfff0ff00,
  57969. + &avr32_syntax_table[AVR32_SYNTAX_MOVAL2],
  57970. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  57971. + {
  57972. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57973. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57974. + },
  57975. + },
  57976. + {
  57977. + AVR32_OPC_MTDR, 4, 0xe7b00000, 0xfff0ff00,
  57978. + &avr32_syntax_table[AVR32_SYNTAX_MTDR],
  57979. + BFD_RELOC_AVR32_8S_EXT, 2, 0,
  57980. + {
  57981. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57982. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57983. + },
  57984. + },
  57985. + {
  57986. + AVR32_OPC_MTSR, 4, 0xe3b00000, 0xfff0ff00,
  57987. + &avr32_syntax_table[AVR32_SYNTAX_MTSR],
  57988. + BFD_RELOC_AVR32_8S_EXT, 2, 0,
  57989. + {
  57990. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  57991. + &avr32_ifield_table[AVR32_IFIELD_RY],
  57992. + },
  57993. + },
  57994. + {
  57995. + AVR32_OPC_MUL1, 2, 0xa1300000, 0xe1f00000,
  57996. + &avr32_syntax_table[AVR32_SYNTAX_MUL1],
  57997. + BFD_RELOC_UNUSED, 2, -1,
  57998. + {
  57999. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58000. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58001. + },
  58002. + },
  58003. + {
  58004. + AVR32_OPC_MUL2, 4, 0xe0000240, 0xe1f0fff0,
  58005. + &avr32_syntax_table[AVR32_SYNTAX_MUL2],
  58006. + BFD_RELOC_UNUSED, 3, -1,
  58007. + {
  58008. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58009. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58010. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58011. + },
  58012. + },
  58013. + {
  58014. + AVR32_OPC_MUL3, 4, 0xe0001000, 0xe1f0ff00,
  58015. + &avr32_syntax_table[AVR32_SYNTAX_MUL3],
  58016. + BFD_RELOC_AVR32_8S_EXT, 3, 2,
  58017. + {
  58018. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58019. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58020. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  58021. + },
  58022. + },
  58023. + {
  58024. + AVR32_OPC_MULHH_W, 4, 0xe0000780, 0xe1f0ffc0,
  58025. + &avr32_syntax_table[AVR32_SYNTAX_MULHH_W],
  58026. + BFD_RELOC_UNUSED, 5, -1,
  58027. + {
  58028. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58029. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58030. + &avr32_ifield_table[AVR32_IFIELD_X],
  58031. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58032. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58033. + },
  58034. + },
  58035. + {
  58036. + AVR32_OPC_MULNHH_W, 4, 0xe0000180, 0xe1f0ffc0,
  58037. + &avr32_syntax_table[AVR32_SYNTAX_MULNHH_W],
  58038. + BFD_RELOC_UNUSED, 5, -1,
  58039. + {
  58040. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58041. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58042. + &avr32_ifield_table[AVR32_IFIELD_X],
  58043. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58044. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58045. + },
  58046. + },
  58047. + {
  58048. + AVR32_OPC_MULNWH_D, 4, 0xe0000280, 0xe1f0ffe1,
  58049. + &avr32_syntax_table[AVR32_SYNTAX_MULNWH_D],
  58050. + BFD_RELOC_UNUSED, 4, -1,
  58051. + {
  58052. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58053. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58054. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58055. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58056. + },
  58057. + },
  58058. + {
  58059. + AVR32_OPC_MULSD, 4, 0xe0000440, 0xe1f0fff0,
  58060. + &avr32_syntax_table[AVR32_SYNTAX_MULSD],
  58061. + BFD_RELOC_UNUSED, 3, -1,
  58062. + {
  58063. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58064. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58065. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58066. + },
  58067. + },
  58068. + {
  58069. + AVR32_OPC_MULSATHH_H, 4, 0xe0000880, 0xe1f0ffc0,
  58070. + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_H],
  58071. + BFD_RELOC_UNUSED, 5, -1,
  58072. + {
  58073. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58074. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58075. + &avr32_ifield_table[AVR32_IFIELD_X],
  58076. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58077. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58078. + },
  58079. + },
  58080. + {
  58081. + AVR32_OPC_MULSATHH_W, 4, 0xe0000980, 0xe1f0ffc0,
  58082. + &avr32_syntax_table[AVR32_SYNTAX_MULSATHH_W],
  58083. + BFD_RELOC_UNUSED, 5, -1,
  58084. + {
  58085. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58086. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58087. + &avr32_ifield_table[AVR32_IFIELD_X],
  58088. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58089. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58090. + },
  58091. + },
  58092. + {
  58093. + AVR32_OPC_MULSATRNDHH_H, 4, 0xe0000a80, 0xe1f0ffc0,
  58094. + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDHH_H],
  58095. + BFD_RELOC_UNUSED, 5, -1,
  58096. + {
  58097. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58098. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58099. + &avr32_ifield_table[AVR32_IFIELD_X],
  58100. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58101. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58102. + },
  58103. + },
  58104. + {
  58105. + AVR32_OPC_MULSATRNDWH_W, 4, 0xe0000b80, 0xe1f0ffe0,
  58106. + &avr32_syntax_table[AVR32_SYNTAX_MULSATRNDWH_W],
  58107. + BFD_RELOC_UNUSED, 4, -1,
  58108. + {
  58109. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58110. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58111. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58112. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58113. + },
  58114. + },
  58115. + {
  58116. + AVR32_OPC_MULSATWH_W, 4, 0xe0000e80, 0xe1f0ffe0,
  58117. + &avr32_syntax_table[AVR32_SYNTAX_MULSATWH_W],
  58118. + BFD_RELOC_UNUSED, 4, -1,
  58119. + {
  58120. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58121. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58122. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58123. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58124. + },
  58125. + },
  58126. + {
  58127. + AVR32_OPC_MULU_D, 4, 0xe0000640, 0xe1f0fff1,
  58128. + &avr32_syntax_table[AVR32_SYNTAX_MULU_D],
  58129. + BFD_RELOC_UNUSED, 3, -1,
  58130. + {
  58131. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58132. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58133. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58134. + },
  58135. + },
  58136. + {
  58137. + AVR32_OPC_MULWH_D, 4, 0xe0000d80, 0xe1f0ffe1,
  58138. + &avr32_syntax_table[AVR32_SYNTAX_MULWH_D],
  58139. + BFD_RELOC_UNUSED, 4, -1,
  58140. + {
  58141. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58142. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58143. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58144. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58145. + },
  58146. + },
  58147. + {
  58148. + AVR32_OPC_MUSFR, 2, 0x5d300000, 0xfff00000,
  58149. + &avr32_syntax_table[AVR32_SYNTAX_MUSFR],
  58150. + BFD_RELOC_UNUSED, 1, -1,
  58151. + {
  58152. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58153. + }
  58154. + },
  58155. + {
  58156. + AVR32_OPC_MUSTR, 2, 0x5d200000, 0xfff00000,
  58157. + &avr32_syntax_table[AVR32_SYNTAX_MUSTR],
  58158. + BFD_RELOC_UNUSED, 1, -1,
  58159. + {
  58160. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58161. + }
  58162. + },
  58163. + {
  58164. + AVR32_OPC_MVCR_D, 4, 0xefa00010, 0xfff111ff,
  58165. + &avr32_syntax_table[AVR32_SYNTAX_MVCR_D],
  58166. + BFD_RELOC_UNUSED, 3, -1,
  58167. + {
  58168. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  58169. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  58170. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  58171. + },
  58172. + },
  58173. + {
  58174. + AVR32_OPC_MVCR_W, 4, 0xefa00000, 0xfff010ff,
  58175. + &avr32_syntax_table[AVR32_SYNTAX_MVCR_W],
  58176. + BFD_RELOC_UNUSED, 3, -1,
  58177. + {
  58178. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  58179. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58180. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  58181. + },
  58182. + },
  58183. + {
  58184. + AVR32_OPC_MVRC_D, 4, 0xefa00030, 0xfff111ff,
  58185. + &avr32_syntax_table[AVR32_SYNTAX_MVRC_D],
  58186. + BFD_RELOC_UNUSED, 3, -1,
  58187. + {
  58188. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  58189. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  58190. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  58191. + },
  58192. + },
  58193. + {
  58194. + AVR32_OPC_MVRC_W, 4, 0xefa00020, 0xfff010ff,
  58195. + &avr32_syntax_table[AVR32_SYNTAX_MVRC_W],
  58196. + BFD_RELOC_UNUSED, 3, -1,
  58197. + {
  58198. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  58199. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  58200. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58201. + },
  58202. + },
  58203. + {
  58204. + AVR32_OPC_NEG, 2, 0x5c300000, 0xfff00000,
  58205. + &avr32_syntax_table[AVR32_SYNTAX_NEG],
  58206. + BFD_RELOC_UNUSED, 1, -1,
  58207. + {
  58208. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58209. + }
  58210. + },
  58211. + {
  58212. + AVR32_OPC_NOP, 2, 0xd7030000, 0xffff0000,
  58213. + &avr32_syntax_table[AVR32_SYNTAX_NOP],
  58214. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  58215. + },
  58216. + {
  58217. + AVR32_OPC_OR1, 2, 0x00400000, 0xe1f00000,
  58218. + &avr32_syntax_table[AVR32_SYNTAX_OR1],
  58219. + BFD_RELOC_UNUSED, 2, -1,
  58220. + {
  58221. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58222. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58223. + },
  58224. + },
  58225. + {
  58226. + AVR32_OPC_OR2, 4, 0xe1e01000, 0xe1f0fe00,
  58227. + &avr32_syntax_table[AVR32_SYNTAX_OR2],
  58228. + BFD_RELOC_UNUSED, 4, -1,
  58229. + {
  58230. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58231. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58232. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58233. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  58234. + },
  58235. + },
  58236. + {
  58237. + AVR32_OPC_OR3, 4, 0xe1e01200, 0xe1f0fe00,
  58238. + &avr32_syntax_table[AVR32_SYNTAX_OR3],
  58239. + BFD_RELOC_UNUSED, 4, -1,
  58240. + {
  58241. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58242. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58243. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58244. + &avr32_ifield_table[AVR32_IFIELD_K5E2],
  58245. + },
  58246. + },
  58247. + {
  58248. + AVR32_OPC_ORH, 4, 0xea100000, 0xfff00000,
  58249. + &avr32_syntax_table[AVR32_SYNTAX_ORH],
  58250. + BFD_RELOC_AVR32_16U, 2, 1,
  58251. + {
  58252. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58253. + &avr32_ifield_table[AVR32_IFIELD_K16],
  58254. + },
  58255. + },
  58256. + {
  58257. + AVR32_OPC_ORL, 4, 0xe8100000, 0xfff00000,
  58258. + &avr32_syntax_table[AVR32_SYNTAX_ORL],
  58259. + BFD_RELOC_AVR32_16U, 2, 1,
  58260. + {
  58261. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58262. + &avr32_ifield_table[AVR32_IFIELD_K16],
  58263. + },
  58264. + },
  58265. + {
  58266. + AVR32_OPC_PABS_SB, 4, 0xe00023e0, 0xfff0fff0,
  58267. + &avr32_syntax_table[AVR32_SYNTAX_PABS_SB],
  58268. + BFD_RELOC_UNUSED, 2, -1,
  58269. + {
  58270. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58271. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58272. + },
  58273. + },
  58274. + {
  58275. + AVR32_OPC_PABS_SH, 4, 0xe00023f0, 0xfff0fff0,
  58276. + &avr32_syntax_table[AVR32_SYNTAX_PABS_SH],
  58277. + BFD_RELOC_UNUSED, 2, -1,
  58278. + {
  58279. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58280. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58281. + },
  58282. + },
  58283. + {
  58284. + AVR32_OPC_PACKSH_SB, 4, 0xe00024d0, 0xe1f0fff0,
  58285. + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_SB],
  58286. + BFD_RELOC_UNUSED, 3, -1,
  58287. + {
  58288. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58289. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58290. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58291. + },
  58292. + },
  58293. + {
  58294. + AVR32_OPC_PACKSH_UB, 4, 0xe00024c0, 0xe1f0fff0,
  58295. + &avr32_syntax_table[AVR32_SYNTAX_PACKSH_UB],
  58296. + BFD_RELOC_UNUSED, 3, -1,
  58297. + {
  58298. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58299. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58300. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58301. + },
  58302. + },
  58303. + {
  58304. + AVR32_OPC_PACKW_SH, 4, 0xe0002470, 0xe1f0fff0,
  58305. + &avr32_syntax_table[AVR32_SYNTAX_PACKW_SH],
  58306. + BFD_RELOC_UNUSED, 3, -1,
  58307. + {
  58308. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58309. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58310. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58311. + },
  58312. + },
  58313. + {
  58314. + AVR32_OPC_PADD_B, 4, 0xe0002300, 0xe1f0fff0,
  58315. + &avr32_syntax_table[AVR32_SYNTAX_PADD_B],
  58316. + BFD_RELOC_UNUSED, 3, -1,
  58317. + {
  58318. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58319. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58320. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58321. + },
  58322. + },
  58323. + {
  58324. + AVR32_OPC_PADD_H, 4, 0xe0002000, 0xe1f0fff0,
  58325. + &avr32_syntax_table[AVR32_SYNTAX_PADD_H],
  58326. + BFD_RELOC_UNUSED, 3, -1,
  58327. + {
  58328. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58329. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58330. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58331. + },
  58332. + },
  58333. + {
  58334. + AVR32_OPC_PADDH_SH, 4, 0xe00020c0, 0xe1f0fff0,
  58335. + &avr32_syntax_table[AVR32_SYNTAX_PADDH_SH],
  58336. + BFD_RELOC_UNUSED, 3, -1,
  58337. + {
  58338. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58339. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58340. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58341. + },
  58342. + },
  58343. + {
  58344. + AVR32_OPC_PADDH_UB, 4, 0xe0002360, 0xe1f0fff0,
  58345. + &avr32_syntax_table[AVR32_SYNTAX_PADDH_UB],
  58346. + BFD_RELOC_UNUSED, 3, -1,
  58347. + {
  58348. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58349. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58350. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58351. + },
  58352. + },
  58353. + {
  58354. + AVR32_OPC_PADDS_SB, 4, 0xe0002320, 0xe1f0fff0,
  58355. + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SB],
  58356. + BFD_RELOC_UNUSED, 3, -1,
  58357. + {
  58358. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58359. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58360. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58361. + },
  58362. + },
  58363. + {
  58364. + AVR32_OPC_PADDS_SH, 4, 0xe0002040, 0xe1f0fff0,
  58365. + &avr32_syntax_table[AVR32_SYNTAX_PADDS_SH],
  58366. + BFD_RELOC_UNUSED, 3, -1,
  58367. + {
  58368. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58369. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58370. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58371. + },
  58372. + },
  58373. + {
  58374. + AVR32_OPC_PADDS_UB, 4, 0xe0002340, 0xe1f0fff0,
  58375. + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UB],
  58376. + BFD_RELOC_UNUSED, 3, -1,
  58377. + {
  58378. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58379. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58380. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58381. + },
  58382. + },
  58383. + {
  58384. + AVR32_OPC_PADDS_UH, 4, 0xe0002080, 0xe1f0fff0,
  58385. + &avr32_syntax_table[AVR32_SYNTAX_PADDS_UH],
  58386. + BFD_RELOC_UNUSED, 3, -1,
  58387. + {
  58388. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58389. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58390. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58391. + },
  58392. + },
  58393. + {
  58394. + AVR32_OPC_PADDSUB_H, 4, 0xe0002100, 0xe1f0ffc0,
  58395. + &avr32_syntax_table[AVR32_SYNTAX_PADDSUB_H],
  58396. + BFD_RELOC_UNUSED, 5, -1,
  58397. + {
  58398. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58399. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58400. + &avr32_ifield_table[AVR32_IFIELD_X],
  58401. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58402. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58403. + },
  58404. + },
  58405. + {
  58406. + AVR32_OPC_PADDSUBH_SH, 4, 0xe0002280, 0xe1f0ffc0,
  58407. + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBH_SH],
  58408. + BFD_RELOC_UNUSED, 5, -1,
  58409. + {
  58410. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58411. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58412. + &avr32_ifield_table[AVR32_IFIELD_X],
  58413. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58414. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58415. + },
  58416. + },
  58417. + {
  58418. + AVR32_OPC_PADDSUBS_SH, 4, 0xe0002180, 0xe1f0ffc0,
  58419. + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_SH],
  58420. + BFD_RELOC_UNUSED, 5, -1,
  58421. + {
  58422. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58423. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58424. + &avr32_ifield_table[AVR32_IFIELD_X],
  58425. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58426. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58427. + },
  58428. + },
  58429. + {
  58430. + AVR32_OPC_PADDSUBS_UH, 4, 0xe0002200, 0xe1f0ffc0,
  58431. + &avr32_syntax_table[AVR32_SYNTAX_PADDSUBS_UH],
  58432. + BFD_RELOC_UNUSED, 5, -1,
  58433. + {
  58434. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58435. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58436. + &avr32_ifield_table[AVR32_IFIELD_X],
  58437. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58438. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58439. + },
  58440. + },
  58441. + {
  58442. + AVR32_OPC_PADDX_H, 4, 0xe0002020, 0xe1f0fff0,
  58443. + &avr32_syntax_table[AVR32_SYNTAX_PADDX_H],
  58444. + BFD_RELOC_UNUSED, 3, -1,
  58445. + {
  58446. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58447. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58448. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58449. + },
  58450. + },
  58451. + {
  58452. + AVR32_OPC_PADDXH_SH, 4, 0xe00020e0, 0xe1f0fff0,
  58453. + &avr32_syntax_table[AVR32_SYNTAX_PADDXH_SH],
  58454. + BFD_RELOC_UNUSED, 3, -1,
  58455. + {
  58456. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58457. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58458. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58459. + },
  58460. + },
  58461. + {
  58462. + AVR32_OPC_PADDXS_SH, 4, 0xe0002060, 0xe1f0fff0,
  58463. + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_SH],
  58464. + BFD_RELOC_UNUSED, 3, -1,
  58465. + {
  58466. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58467. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58468. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58469. + },
  58470. + },
  58471. + {
  58472. + AVR32_OPC_PADDXS_UH, 4, 0xe00020a0, 0xe1f0fff0,
  58473. + &avr32_syntax_table[AVR32_SYNTAX_PADDXS_UH],
  58474. + BFD_RELOC_UNUSED, 3, -1,
  58475. + {
  58476. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58477. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58478. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58479. + },
  58480. + },
  58481. + {
  58482. + AVR32_OPC_PASR_B, 4, 0xe0002410, 0xe1f8fff0,
  58483. + &avr32_syntax_table[AVR32_SYNTAX_PASR_B],
  58484. + BFD_RELOC_UNUSED, 3, -1,
  58485. + {
  58486. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58487. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58488. + &avr32_ifield_table[AVR32_IFIELD_COND3],
  58489. + },
  58490. + },
  58491. + {
  58492. + AVR32_OPC_PASR_H, 4, 0xe0002440, 0xe1f0fff0,
  58493. + &avr32_syntax_table[AVR32_SYNTAX_PASR_H],
  58494. + BFD_RELOC_UNUSED, 3, -1,
  58495. + {
  58496. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58497. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58498. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58499. + },
  58500. + },
  58501. + {
  58502. + AVR32_OPC_PAVG_SH, 4, 0xe00023d0, 0xe1f0fff0,
  58503. + &avr32_syntax_table[AVR32_SYNTAX_PAVG_SH],
  58504. + BFD_RELOC_UNUSED, 3, -1,
  58505. + {
  58506. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58507. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58508. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58509. + },
  58510. + },
  58511. + {
  58512. + AVR32_OPC_PAVG_UB, 4, 0xe00023c0, 0xe1f0fff0,
  58513. + &avr32_syntax_table[AVR32_SYNTAX_PAVG_UB],
  58514. + BFD_RELOC_UNUSED, 3, -1,
  58515. + {
  58516. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58517. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58518. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58519. + },
  58520. + },
  58521. + {
  58522. + AVR32_OPC_PLSL_B, 4, 0xe0002420, 0xe1f8fff0,
  58523. + &avr32_syntax_table[AVR32_SYNTAX_PLSL_B],
  58524. + BFD_RELOC_UNUSED, 3, -1,
  58525. + {
  58526. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58527. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58528. + &avr32_ifield_table[AVR32_IFIELD_COND3],
  58529. + },
  58530. + },
  58531. + {
  58532. + AVR32_OPC_PLSL_H, 4, 0xe0002450, 0xe1f0fff0,
  58533. + &avr32_syntax_table[AVR32_SYNTAX_PLSL_H],
  58534. + BFD_RELOC_UNUSED, 3, -1,
  58535. + {
  58536. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58537. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58538. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58539. + },
  58540. + },
  58541. + {
  58542. + AVR32_OPC_PLSR_B, 4, 0xe0002430, 0xe1f8fff0,
  58543. + &avr32_syntax_table[AVR32_SYNTAX_PLSR_B],
  58544. + BFD_RELOC_UNUSED, 3, -1,
  58545. + {
  58546. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58547. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58548. + &avr32_ifield_table[AVR32_IFIELD_COND3],
  58549. + },
  58550. + },
  58551. + {
  58552. + AVR32_OPC_PLSR_H, 4, 0xe0002460, 0xe1f0fff0,
  58553. + &avr32_syntax_table[AVR32_SYNTAX_PLSR_H],
  58554. + BFD_RELOC_UNUSED, 3, -1,
  58555. + {
  58556. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58557. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58558. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58559. + },
  58560. + },
  58561. + {
  58562. + AVR32_OPC_PMAX_SH, 4, 0xe0002390, 0xe1f0fff0,
  58563. + &avr32_syntax_table[AVR32_SYNTAX_PMAX_SH],
  58564. + BFD_RELOC_UNUSED, 3, -1,
  58565. + {
  58566. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58567. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58568. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58569. + },
  58570. + },
  58571. + {
  58572. + AVR32_OPC_PMAX_UB, 4, 0xe0002380, 0xe1f0fff0,
  58573. + &avr32_syntax_table[AVR32_SYNTAX_PMAX_UB],
  58574. + BFD_RELOC_UNUSED, 3, -1,
  58575. + {
  58576. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58577. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58578. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58579. + },
  58580. + },
  58581. + {
  58582. + AVR32_OPC_PMIN_SH, 4, 0xe00023b0, 0xe1f0fff0,
  58583. + &avr32_syntax_table[AVR32_SYNTAX_PMIN_SH],
  58584. + BFD_RELOC_UNUSED, 3, -1,
  58585. + {
  58586. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58587. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58588. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58589. + },
  58590. + },
  58591. + {
  58592. + AVR32_OPC_PMIN_UB, 4, 0xe00023a0, 0xe1f0fff0,
  58593. + &avr32_syntax_table[AVR32_SYNTAX_PMIN_UB],
  58594. + BFD_RELOC_UNUSED, 3, -1,
  58595. + {
  58596. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58597. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58598. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58599. + },
  58600. + },
  58601. + {
  58602. + AVR32_OPC_POPJC, 2, 0xd7130000, 0xffff0000,
  58603. + &avr32_syntax_table[AVR32_SYNTAX_POPJC],
  58604. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  58605. + },
  58606. + {
  58607. + AVR32_OPC_POPM, 2, 0xd0020000, 0xf0070000,
  58608. + &avr32_syntax_table[AVR32_SYNTAX_POPM],
  58609. + BFD_RELOC_UNUSED, 1, -1,
  58610. + {
  58611. + &avr32_ifield_table[AVR32_IFIELD_POPM],
  58612. + },
  58613. + },
  58614. + {
  58615. + AVR32_OPC_POPM_E, 4, 0xe3cd0000, 0xffff0000,
  58616. + &avr32_syntax_table[AVR32_SYNTAX_POPM_E],
  58617. + BFD_RELOC_UNUSED, 1, -1,
  58618. + {
  58619. + &avr32_ifield_table[AVR32_IFIELD_K16],
  58620. + },
  58621. + },
  58622. + {
  58623. + AVR32_OPC_PREF, 4, 0xf2100000, 0xfff00000,
  58624. + &avr32_syntax_table[AVR32_SYNTAX_PREF],
  58625. + BFD_RELOC_AVR32_16S, 2, -1,
  58626. + {
  58627. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58628. + &avr32_ifield_table[AVR32_IFIELD_K16],
  58629. + },
  58630. + },
  58631. + {
  58632. + AVR32_OPC_PSAD, 4, 0xe0002400, 0xe1f0fff0,
  58633. + &avr32_syntax_table[AVR32_SYNTAX_PSAD],
  58634. + BFD_RELOC_UNUSED, 3, -1,
  58635. + {
  58636. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58637. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58638. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58639. + },
  58640. + },
  58641. + {
  58642. + AVR32_OPC_PSUB_B, 4, 0xe0002310, 0xe1f0fff0,
  58643. + &avr32_syntax_table[AVR32_SYNTAX_PSUB_B],
  58644. + BFD_RELOC_UNUSED, 3, -1,
  58645. + {
  58646. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58647. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58648. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58649. + },
  58650. + },
  58651. + {
  58652. + AVR32_OPC_PSUB_H, 4, 0xe0002010, 0xe1f0fff0,
  58653. + &avr32_syntax_table[AVR32_SYNTAX_PSUB_H],
  58654. + BFD_RELOC_UNUSED, 3, -1,
  58655. + {
  58656. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58657. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58658. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58659. + },
  58660. + },
  58661. + {
  58662. + AVR32_OPC_PSUBADD_H, 4, 0xe0002140, 0xe1f0ffc0,
  58663. + &avr32_syntax_table[AVR32_SYNTAX_PSUBADD_H],
  58664. + BFD_RELOC_UNUSED, 5, -1,
  58665. + {
  58666. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58667. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58668. + &avr32_ifield_table[AVR32_IFIELD_X],
  58669. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58670. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58671. + },
  58672. + },
  58673. + {
  58674. + AVR32_OPC_PSUBADDH_SH, 4, 0xe00022c0, 0xe1f0ffc0,
  58675. + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDH_SH],
  58676. + BFD_RELOC_UNUSED, 5, -1,
  58677. + {
  58678. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58679. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58680. + &avr32_ifield_table[AVR32_IFIELD_X],
  58681. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58682. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58683. + },
  58684. + },
  58685. + {
  58686. + AVR32_OPC_PSUBADDS_SH, 4, 0xe00021c0, 0xe1f0ffc0,
  58687. + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_SH],
  58688. + BFD_RELOC_UNUSED, 5, -1,
  58689. + {
  58690. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58691. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58692. + &avr32_ifield_table[AVR32_IFIELD_X],
  58693. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58694. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58695. + },
  58696. + },
  58697. + {
  58698. + AVR32_OPC_PSUBADDS_UH, 4, 0xe0002240, 0xe1f0ffc0,
  58699. + &avr32_syntax_table[AVR32_SYNTAX_PSUBADDS_UH],
  58700. + BFD_RELOC_UNUSED, 5, -1,
  58701. + {
  58702. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58703. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58704. + &avr32_ifield_table[AVR32_IFIELD_X],
  58705. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58706. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58707. + },
  58708. + },
  58709. + {
  58710. + AVR32_OPC_PSUBH_SH, 4, 0xe00020d0, 0xe1f0fff0,
  58711. + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_SH],
  58712. + BFD_RELOC_UNUSED, 3, -1,
  58713. + {
  58714. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58715. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58716. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58717. + },
  58718. + },
  58719. + {
  58720. + AVR32_OPC_PSUBH_UB, 4, 0xe0002370, 0xe1f0fff0,
  58721. + &avr32_syntax_table[AVR32_SYNTAX_PSUBH_UB],
  58722. + BFD_RELOC_UNUSED, 3, -1,
  58723. + {
  58724. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58725. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58726. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58727. + },
  58728. + },
  58729. + {
  58730. + AVR32_OPC_PSUBS_SB, 4, 0xe0002330, 0xe1f0fff0,
  58731. + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SB],
  58732. + BFD_RELOC_UNUSED, 3, -1,
  58733. + {
  58734. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58735. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58736. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58737. + },
  58738. + },
  58739. + {
  58740. + AVR32_OPC_PSUBS_SH, 4, 0xe0002050, 0xe1f0fff0,
  58741. + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_SH],
  58742. + BFD_RELOC_UNUSED, 3, -1,
  58743. + {
  58744. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58745. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58746. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58747. + },
  58748. + },
  58749. + {
  58750. + AVR32_OPC_PSUBS_UB, 4, 0xe0002350, 0xe1f0fff0,
  58751. + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UB],
  58752. + BFD_RELOC_UNUSED, 3, -1,
  58753. + {
  58754. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58755. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58756. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58757. + },
  58758. + },
  58759. + {
  58760. + AVR32_OPC_PSUBS_UH, 4, 0xe0002090, 0xe1f0fff0,
  58761. + &avr32_syntax_table[AVR32_SYNTAX_PSUBS_UH],
  58762. + BFD_RELOC_UNUSED, 3, -1,
  58763. + {
  58764. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58765. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58766. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58767. + },
  58768. + },
  58769. + {
  58770. + AVR32_OPC_PSUBX_H, 4, 0xe0002030, 0xe1f0fff0,
  58771. + &avr32_syntax_table[AVR32_SYNTAX_PSUBX_H],
  58772. + BFD_RELOC_UNUSED, 3, -1,
  58773. + {
  58774. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58775. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58776. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58777. + },
  58778. + },
  58779. + {
  58780. + AVR32_OPC_PSUBXH_SH, 4, 0xe00020f0, 0xe1f0fff0,
  58781. + &avr32_syntax_table[AVR32_SYNTAX_PSUBXH_SH],
  58782. + BFD_RELOC_UNUSED, 3, -1,
  58783. + {
  58784. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58785. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58786. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58787. + },
  58788. + },
  58789. + {
  58790. + AVR32_OPC_PSUBXS_SH, 4, 0xe0002070, 0xe1f0fff0,
  58791. + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_SH],
  58792. + BFD_RELOC_UNUSED, 3, -1,
  58793. + {
  58794. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58795. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58796. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58797. + },
  58798. + },
  58799. + {
  58800. + AVR32_OPC_PSUBXS_UH, 4, 0xe00020b0, 0xe1f0fff0,
  58801. + &avr32_syntax_table[AVR32_SYNTAX_PSUBXS_UH],
  58802. + BFD_RELOC_UNUSED, 3, -1,
  58803. + {
  58804. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58805. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58806. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58807. + },
  58808. + },
  58809. + {
  58810. + AVR32_OPC_PUNPCKSB_H, 4, 0xe00024a0, 0xe1ffffe0,
  58811. + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKSB_H],
  58812. + BFD_RELOC_UNUSED, 3, -1,
  58813. + {
  58814. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58815. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58816. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58817. + },
  58818. + },
  58819. + {
  58820. + AVR32_OPC_PUNPCKUB_H, 4, 0xe0002480, 0xe1ffffe0,
  58821. + &avr32_syntax_table[AVR32_SYNTAX_PUNPCKUB_H],
  58822. + BFD_RELOC_UNUSED, 3, -1,
  58823. + {
  58824. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  58825. + &avr32_ifield_table[AVR32_IFIELD_RX],
  58826. + &avr32_ifield_table[AVR32_IFIELD_Y],
  58827. + },
  58828. + },
  58829. + {
  58830. + AVR32_OPC_PUSHJC, 2, 0xd7230000, 0xffff0000,
  58831. + &avr32_syntax_table[AVR32_SYNTAX_PUSHJC],
  58832. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  58833. + },
  58834. + {
  58835. + AVR32_OPC_PUSHM, 2, 0xd0010000, 0xf00f0000,
  58836. + &avr32_syntax_table[AVR32_SYNTAX_PUSHM],
  58837. + BFD_RELOC_UNUSED, 1, -1,
  58838. + {
  58839. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  58840. + },
  58841. + },
  58842. + {
  58843. + AVR32_OPC_PUSHM_E, 4, 0xebcd0000, 0xffff0000,
  58844. + &avr32_syntax_table[AVR32_SYNTAX_PUSHM_E],
  58845. + BFD_RELOC_UNUSED, 1, -1,
  58846. + {
  58847. + &avr32_ifield_table[AVR32_IFIELD_K16],
  58848. + },
  58849. + },
  58850. + {
  58851. + AVR32_OPC_RCALL1, 2, 0xc00c0000, 0xf00c0000,
  58852. + &avr32_syntax_table[AVR32_SYNTAX_RCALL1],
  58853. + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
  58854. + {
  58855. + &avr32_ifield_table[AVR32_IFIELD_K10],
  58856. + },
  58857. + },
  58858. + {
  58859. + AVR32_OPC_RCALL2, 4, 0xe0a00000, 0xe1ef0000,
  58860. + &avr32_syntax_table[AVR32_SYNTAX_RCALL2],
  58861. + BFD_RELOC_AVR32_22H_PCREL, 1, 0,
  58862. + {
  58863. + &avr32_ifield_table[AVR32_IFIELD_K21],
  58864. + },
  58865. + },
  58866. + {
  58867. + AVR32_OPC_RETEQ, 2, 0x5e000000, 0xfff00000,
  58868. + &avr32_syntax_table[AVR32_SYNTAX_RETEQ],
  58869. + BFD_RELOC_NONE, 1, -1,
  58870. + {
  58871. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58872. + },
  58873. + },
  58874. + {
  58875. + AVR32_OPC_RETNE, 2, 0x5e100000, 0xfff00000,
  58876. + &avr32_syntax_table[AVR32_SYNTAX_RETNE],
  58877. + BFD_RELOC_NONE, 1, -1,
  58878. + {
  58879. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58880. + },
  58881. + },
  58882. + {
  58883. + AVR32_OPC_RETCC, 2, 0x5e200000, 0xfff00000,
  58884. + &avr32_syntax_table[AVR32_SYNTAX_RETHS],
  58885. + BFD_RELOC_NONE, 1, -1,
  58886. + {
  58887. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58888. + },
  58889. + },
  58890. + {
  58891. + AVR32_OPC_RETCS, 2, 0x5e300000, 0xfff00000,
  58892. + &avr32_syntax_table[AVR32_SYNTAX_RETLO],
  58893. + BFD_RELOC_NONE, 1, -1,
  58894. + {
  58895. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58896. + },
  58897. + },
  58898. + {
  58899. + AVR32_OPC_RETGE, 2, 0x5e400000, 0xfff00000,
  58900. + &avr32_syntax_table[AVR32_SYNTAX_RETGE],
  58901. + BFD_RELOC_NONE, 1, -1,
  58902. + {
  58903. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58904. + },
  58905. + },
  58906. + {
  58907. + AVR32_OPC_RETLT, 2, 0x5e500000, 0xfff00000,
  58908. + &avr32_syntax_table[AVR32_SYNTAX_RETLT],
  58909. + BFD_RELOC_NONE, 1, -1,
  58910. + {
  58911. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58912. + },
  58913. + },
  58914. + {
  58915. + AVR32_OPC_RETMI, 2, 0x5e600000, 0xfff00000,
  58916. + &avr32_syntax_table[AVR32_SYNTAX_RETMI],
  58917. + BFD_RELOC_NONE, 1, -1,
  58918. + {
  58919. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58920. + },
  58921. + },
  58922. + {
  58923. + AVR32_OPC_RETPL, 2, 0x5e700000, 0xfff00000,
  58924. + &avr32_syntax_table[AVR32_SYNTAX_RETPL],
  58925. + BFD_RELOC_NONE, 1, -1,
  58926. + {
  58927. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58928. + },
  58929. + },
  58930. + {
  58931. + AVR32_OPC_RETLS, 2, 0x5e800000, 0xfff00000,
  58932. + &avr32_syntax_table[AVR32_SYNTAX_RETLS],
  58933. + BFD_RELOC_NONE, 1, -1,
  58934. + {
  58935. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58936. + },
  58937. + },
  58938. + {
  58939. + AVR32_OPC_RETGT, 2, 0x5e900000, 0xfff00000,
  58940. + &avr32_syntax_table[AVR32_SYNTAX_RETGT],
  58941. + BFD_RELOC_NONE, 1, -1,
  58942. + {
  58943. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58944. + },
  58945. + },
  58946. + {
  58947. + AVR32_OPC_RETLE, 2, 0x5ea00000, 0xfff00000,
  58948. + &avr32_syntax_table[AVR32_SYNTAX_RETLE],
  58949. + BFD_RELOC_NONE, 1, -1,
  58950. + {
  58951. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58952. + },
  58953. + },
  58954. + {
  58955. + AVR32_OPC_RETHI, 2, 0x5eb00000, 0xfff00000,
  58956. + &avr32_syntax_table[AVR32_SYNTAX_RETHI],
  58957. + BFD_RELOC_NONE, 1, -1,
  58958. + {
  58959. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58960. + },
  58961. + },
  58962. + {
  58963. + AVR32_OPC_RETVS, 2, 0x5ec00000, 0xfff00000,
  58964. + &avr32_syntax_table[AVR32_SYNTAX_RETVS],
  58965. + BFD_RELOC_NONE, 1, -1,
  58966. + {
  58967. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58968. + },
  58969. + },
  58970. + {
  58971. + AVR32_OPC_RETVC, 2, 0x5ed00000, 0xfff00000,
  58972. + &avr32_syntax_table[AVR32_SYNTAX_RETVC],
  58973. + BFD_RELOC_NONE, 1, -1,
  58974. + {
  58975. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58976. + },
  58977. + },
  58978. + {
  58979. + AVR32_OPC_RETQS, 2, 0x5ee00000, 0xfff00000,
  58980. + &avr32_syntax_table[AVR32_SYNTAX_RETQS],
  58981. + BFD_RELOC_NONE, 1, -1,
  58982. + {
  58983. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58984. + },
  58985. + },
  58986. + {
  58987. + AVR32_OPC_RETAL, 2, 0x5ef00000, 0xfff00000,
  58988. + &avr32_syntax_table[AVR32_SYNTAX_RETAL],
  58989. + BFD_RELOC_NONE, 1, -1,
  58990. + {
  58991. + &avr32_ifield_table[AVR32_IFIELD_RY],
  58992. + },
  58993. + },
  58994. + {
  58995. + AVR32_OPC_RETD, 2, 0xd6230000, 0xffff0000,
  58996. + &avr32_syntax_table[AVR32_SYNTAX_RETD],
  58997. + BFD_RELOC_NONE, 0, -1, { NULL },
  58998. + },
  58999. + {
  59000. + AVR32_OPC_RETE, 2, 0xd6030000, 0xffff0000,
  59001. + &avr32_syntax_table[AVR32_SYNTAX_RETE],
  59002. + BFD_RELOC_NONE, 0, -1, { NULL },
  59003. + },
  59004. + {
  59005. + AVR32_OPC_RETJ, 2, 0xd6330000, 0xffff0000,
  59006. + &avr32_syntax_table[AVR32_SYNTAX_RETJ],
  59007. + BFD_RELOC_NONE, 0, -1, { NULL },
  59008. + },
  59009. + {
  59010. + AVR32_OPC_RETS, 2, 0xd6130000, 0xffff0000,
  59011. + &avr32_syntax_table[AVR32_SYNTAX_RETS],
  59012. + BFD_RELOC_NONE, 0, -1, { NULL },
  59013. + },
  59014. + {
  59015. + AVR32_OPC_RJMP, 2, 0xc0080000, 0xf00c0000,
  59016. + &avr32_syntax_table[AVR32_SYNTAX_RJMP],
  59017. + BFD_RELOC_AVR32_11H_PCREL, 1, 0,
  59018. + {
  59019. + &avr32_ifield_table[AVR32_IFIELD_K10],
  59020. + },
  59021. + },
  59022. + {
  59023. + AVR32_OPC_ROL, 2, 0x5cf00000, 0xfff00000,
  59024. + &avr32_syntax_table[AVR32_SYNTAX_ROL],
  59025. + BFD_RELOC_UNUSED, 1, -1,
  59026. + {
  59027. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59028. + }
  59029. + },
  59030. + {
  59031. + AVR32_OPC_ROR, 2, 0x5d000000, 0xfff00000,
  59032. + &avr32_syntax_table[AVR32_SYNTAX_ROR],
  59033. + BFD_RELOC_UNUSED, 1, -1,
  59034. + {
  59035. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59036. + }
  59037. + },
  59038. + {
  59039. + AVR32_OPC_RSUB1, 2, 0x00200000, 0xe1f00000,
  59040. + &avr32_syntax_table[AVR32_SYNTAX_RSUB1],
  59041. + BFD_RELOC_UNUSED, 2, -1,
  59042. + {
  59043. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59044. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59045. + },
  59046. + },
  59047. + {
  59048. + AVR32_OPC_RSUB2, 4, 0xe0001100, 0xe1f0ff00,
  59049. + &avr32_syntax_table[AVR32_SYNTAX_RSUB2],
  59050. + BFD_RELOC_AVR32_8S_EXT, 3, 2,
  59051. + {
  59052. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59053. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59054. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59055. + },
  59056. + },
  59057. + {
  59058. + AVR32_OPC_SATADD_H, 4, 0xe00002c0, 0xe1f0fff0,
  59059. + &avr32_syntax_table[AVR32_SYNTAX_SATADD_H],
  59060. + BFD_RELOC_UNUSED, 3, -1,
  59061. + {
  59062. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59063. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59064. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59065. + },
  59066. + },
  59067. + {
  59068. + AVR32_OPC_SATADD_W, 4, 0xe00000c0, 0xe1f0fff0,
  59069. + &avr32_syntax_table[AVR32_SYNTAX_SATADD_W],
  59070. + BFD_RELOC_UNUSED, 3, -1,
  59071. + {
  59072. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59073. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59074. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59075. + },
  59076. + },
  59077. + {
  59078. + AVR32_OPC_SATRNDS, 4, 0xf3b00000, 0xfff0fc00,
  59079. + &avr32_syntax_table[AVR32_SYNTAX_SATRNDS],
  59080. + BFD_RELOC_UNUSED, 3, -1,
  59081. + {
  59082. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59083. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  59084. + &avr32_ifield_table[AVR32_IFIELD_S5],
  59085. + },
  59086. + },
  59087. + {
  59088. + AVR32_OPC_SATRNDU, 4, 0xf3b00400, 0xfff0fc00,
  59089. + &avr32_syntax_table[AVR32_SYNTAX_SATRNDU],
  59090. + BFD_RELOC_UNUSED, 3, -1,
  59091. + {
  59092. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59093. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  59094. + &avr32_ifield_table[AVR32_IFIELD_S5],
  59095. + },
  59096. + },
  59097. + {
  59098. + AVR32_OPC_SATS, 4, 0xf1b00000, 0xfff0fc00,
  59099. + &avr32_syntax_table[AVR32_SYNTAX_SATS],
  59100. + BFD_RELOC_UNUSED, 3, -1,
  59101. + {
  59102. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59103. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  59104. + &avr32_ifield_table[AVR32_IFIELD_S5],
  59105. + },
  59106. + },
  59107. + {
  59108. + AVR32_OPC_SATSUB_H, 4, 0xe00003c0, 0xe1f0fff0,
  59109. + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_H],
  59110. + BFD_RELOC_UNUSED, 3, -1,
  59111. + {
  59112. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59113. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59114. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59115. + },
  59116. + },
  59117. + {
  59118. + AVR32_OPC_SATSUB_W1, 4, 0xe00001c0, 0xe1f0fff0,
  59119. + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W1],
  59120. + BFD_RELOC_UNUSED, 3, -1,
  59121. + {
  59122. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59123. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59124. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59125. + },
  59126. + },
  59127. + {
  59128. + AVR32_OPC_SATSUB_W2, 4, 0xe0d00000, 0xe1f00000,
  59129. + &avr32_syntax_table[AVR32_SYNTAX_SATSUB_W2],
  59130. + BFD_RELOC_UNUSED, 3, -1,
  59131. + {
  59132. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59133. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59134. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59135. + },
  59136. + },
  59137. + {
  59138. + AVR32_OPC_SATU, 4, 0xf1b00400, 0xfff0fc00,
  59139. + &avr32_syntax_table[AVR32_SYNTAX_SATU],
  59140. + BFD_RELOC_UNUSED, 3, -1,
  59141. + {
  59142. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59143. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  59144. + &avr32_ifield_table[AVR32_IFIELD_S5],
  59145. + },
  59146. + },
  59147. + {
  59148. + AVR32_OPC_SBC, 4, 0xe0000140, 0xe1f0fff0,
  59149. + &avr32_syntax_table[AVR32_SYNTAX_SBC],
  59150. + BFD_RELOC_UNUSED, 3, -1,
  59151. + {
  59152. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59153. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59154. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59155. + },
  59156. + },
  59157. + {
  59158. + AVR32_OPC_SBR, 2, 0xa1a00000, 0xe1e00000,
  59159. + &avr32_syntax_table[AVR32_SYNTAX_SBR],
  59160. + BFD_RELOC_UNUSED, 2, -1,
  59161. + {
  59162. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59163. + &avr32_ifield_table[AVR32_IFIELD_BIT5C],
  59164. + },
  59165. + },
  59166. + {
  59167. + AVR32_OPC_SCALL, 2, 0xd7330000, 0xffff0000,
  59168. + &avr32_syntax_table[AVR32_SYNTAX_SCALL],
  59169. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  59170. + },
  59171. + {
  59172. + AVR32_OPC_SCR, 2, 0x5c100000, 0xfff00000,
  59173. + &avr32_syntax_table[AVR32_SYNTAX_SCR],
  59174. + BFD_RELOC_UNUSED, 1, -1,
  59175. + {
  59176. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59177. + },
  59178. + },
  59179. + {
  59180. + AVR32_OPC_SLEEP, 4, 0xe9b00000, 0xffffff00,
  59181. + &avr32_syntax_table[AVR32_SYNTAX_SLEEP],
  59182. + BFD_RELOC_AVR32_8S_EXT, 1, 0,
  59183. + {
  59184. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59185. + },
  59186. + },
  59187. + {
  59188. + AVR32_OPC_SREQ, 2, 0x5f000000, 0xfff00000,
  59189. + &avr32_syntax_table[AVR32_SYNTAX_SREQ],
  59190. + BFD_RELOC_UNUSED, 1, -1,
  59191. + {
  59192. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59193. + },
  59194. + },
  59195. + {
  59196. + AVR32_OPC_SRNE, 2, 0x5f100000, 0xfff00000,
  59197. + &avr32_syntax_table[AVR32_SYNTAX_SRNE],
  59198. + BFD_RELOC_UNUSED, 1, -1,
  59199. + {
  59200. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59201. + },
  59202. + },
  59203. + {
  59204. + AVR32_OPC_SRCC, 2, 0x5f200000, 0xfff00000,
  59205. + &avr32_syntax_table[AVR32_SYNTAX_SRHS],
  59206. + BFD_RELOC_UNUSED, 1, -1,
  59207. + {
  59208. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59209. + },
  59210. + },
  59211. + {
  59212. + AVR32_OPC_SRCS, 2, 0x5f300000, 0xfff00000,
  59213. + &avr32_syntax_table[AVR32_SYNTAX_SRLO],
  59214. + BFD_RELOC_UNUSED, 1, -1,
  59215. + {
  59216. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59217. + },
  59218. + },
  59219. + {
  59220. + AVR32_OPC_SRGE, 2, 0x5f400000, 0xfff00000,
  59221. + &avr32_syntax_table[AVR32_SYNTAX_SRGE],
  59222. + BFD_RELOC_UNUSED, 1, -1,
  59223. + {
  59224. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59225. + },
  59226. + },
  59227. + {
  59228. + AVR32_OPC_SRLT, 2, 0x5f500000, 0xfff00000,
  59229. + &avr32_syntax_table[AVR32_SYNTAX_SRLT],
  59230. + BFD_RELOC_UNUSED, 1, -1,
  59231. + {
  59232. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59233. + },
  59234. + },
  59235. + {
  59236. + AVR32_OPC_SRMI, 2, 0x5f600000, 0xfff00000,
  59237. + &avr32_syntax_table[AVR32_SYNTAX_SRMI],
  59238. + BFD_RELOC_UNUSED, 1, -1,
  59239. + {
  59240. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59241. + },
  59242. + },
  59243. + {
  59244. + AVR32_OPC_SRPL, 2, 0x5f700000, 0xfff00000,
  59245. + &avr32_syntax_table[AVR32_SYNTAX_SRPL],
  59246. + BFD_RELOC_UNUSED, 1, -1,
  59247. + {
  59248. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59249. + },
  59250. + },
  59251. + {
  59252. + AVR32_OPC_SRLS, 2, 0x5f800000, 0xfff00000,
  59253. + &avr32_syntax_table[AVR32_SYNTAX_SRLS],
  59254. + BFD_RELOC_UNUSED, 1, -1,
  59255. + {
  59256. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59257. + },
  59258. + },
  59259. + {
  59260. + AVR32_OPC_SRGT, 2, 0x5f900000, 0xfff00000,
  59261. + &avr32_syntax_table[AVR32_SYNTAX_SRGT],
  59262. + BFD_RELOC_UNUSED, 1, -1,
  59263. + {
  59264. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59265. + },
  59266. + },
  59267. + {
  59268. + AVR32_OPC_SRLE, 2, 0x5fa00000, 0xfff00000,
  59269. + &avr32_syntax_table[AVR32_SYNTAX_SRLE],
  59270. + BFD_RELOC_UNUSED, 1, -1,
  59271. + {
  59272. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59273. + },
  59274. + },
  59275. + {
  59276. + AVR32_OPC_SRHI, 2, 0x5fb00000, 0xfff00000,
  59277. + &avr32_syntax_table[AVR32_SYNTAX_SRHI],
  59278. + BFD_RELOC_UNUSED, 1, -1,
  59279. + {
  59280. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59281. + },
  59282. + },
  59283. + {
  59284. + AVR32_OPC_SRVS, 2, 0x5fc00000, 0xfff00000,
  59285. + &avr32_syntax_table[AVR32_SYNTAX_SRVS],
  59286. + BFD_RELOC_UNUSED, 1, -1,
  59287. + {
  59288. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59289. + },
  59290. + },
  59291. + {
  59292. + AVR32_OPC_SRVC, 2, 0x5fd00000, 0xfff00000,
  59293. + &avr32_syntax_table[AVR32_SYNTAX_SRVC],
  59294. + BFD_RELOC_UNUSED, 1, -1,
  59295. + {
  59296. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59297. + },
  59298. + },
  59299. + {
  59300. + AVR32_OPC_SRQS, 2, 0x5fe00000, 0xfff00000,
  59301. + &avr32_syntax_table[AVR32_SYNTAX_SRQS],
  59302. + BFD_RELOC_UNUSED, 1, -1,
  59303. + {
  59304. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59305. + },
  59306. + },
  59307. + {
  59308. + AVR32_OPC_SRAL, 2, 0x5ff00000, 0xfff00000,
  59309. + &avr32_syntax_table[AVR32_SYNTAX_SRAL],
  59310. + BFD_RELOC_UNUSED, 1, -1,
  59311. + {
  59312. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59313. + },
  59314. + },
  59315. + {
  59316. + AVR32_OPC_SSRF, 2, 0xd2030000, 0xfe0f0000,
  59317. + &avr32_syntax_table[AVR32_SYNTAX_SSRF],
  59318. + BFD_RELOC_UNUSED, 1, -1,
  59319. + {
  59320. + &avr32_ifield_table[AVR32_IFIELD_K5C],
  59321. + },
  59322. + },
  59323. + {
  59324. + AVR32_OPC_ST_B1, 2, 0x00c00000, 0xe1f00000,
  59325. + &avr32_syntax_table[AVR32_SYNTAX_ST_B1],
  59326. + BFD_RELOC_UNUSED, 2, -1,
  59327. + {
  59328. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59329. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59330. + },
  59331. + },
  59332. + {
  59333. + AVR32_OPC_ST_B2, 2, 0x00f00000, 0xe1f00000,
  59334. + &avr32_syntax_table[AVR32_SYNTAX_ST_B2],
  59335. + BFD_RELOC_UNUSED, 2, -1,
  59336. + {
  59337. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59338. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59339. + },
  59340. + },
  59341. + {
  59342. + AVR32_OPC_ST_B5, 4, 0xe0000b00, 0xe1f0ffc0,
  59343. + &avr32_syntax_table[AVR32_SYNTAX_ST_B5],
  59344. + BFD_RELOC_UNUSED, 4, -1,
  59345. + {
  59346. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59347. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59348. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59349. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59350. + },
  59351. + },
  59352. + {
  59353. + AVR32_OPC_ST_B3, 2, 0xa0800000, 0xe1800000,
  59354. + &avr32_syntax_table[AVR32_SYNTAX_ST_B3],
  59355. + BFD_RELOC_AVR32_3U, 3, 1,
  59356. + {
  59357. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59358. + &avr32_ifield_table[AVR32_IFIELD_K3],
  59359. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59360. + },
  59361. + },
  59362. + {
  59363. + AVR32_OPC_ST_B4, 4, 0xe1600000, 0xe1f00000,
  59364. + &avr32_syntax_table[AVR32_SYNTAX_ST_B4],
  59365. + BFD_RELOC_AVR32_16S, 3, 1,
  59366. + {
  59367. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59368. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59369. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59370. + },
  59371. + },
  59372. + {
  59373. + AVR32_OPC_ST_D1, 2, 0xa1200000, 0xe1f10000,
  59374. + &avr32_syntax_table[AVR32_SYNTAX_ST_D1],
  59375. + BFD_RELOC_UNUSED, 2, -1,
  59376. + {
  59377. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59378. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  59379. + },
  59380. + },
  59381. + {
  59382. + AVR32_OPC_ST_D2, 2, 0xa1210000, 0xe1f10000,
  59383. + &avr32_syntax_table[AVR32_SYNTAX_ST_D2],
  59384. + BFD_RELOC_UNUSED, 2, -1,
  59385. + {
  59386. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59387. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  59388. + },
  59389. + },
  59390. + {
  59391. + AVR32_OPC_ST_D3, 2, 0xa1110000, 0xe1f10000,
  59392. + &avr32_syntax_table[AVR32_SYNTAX_ST_D3],
  59393. + BFD_RELOC_UNUSED, 2, -1,
  59394. + {
  59395. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59396. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  59397. + },
  59398. + },
  59399. + {
  59400. + AVR32_OPC_ST_D5, 4, 0xe0000800, 0xe1f0ffc1,
  59401. + &avr32_syntax_table[AVR32_SYNTAX_ST_D5],
  59402. + BFD_RELOC_UNUSED, 4, -1,
  59403. + {
  59404. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59405. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59406. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59407. + &avr32_ifield_table[AVR32_IFIELD_RD_DW],
  59408. + },
  59409. + },
  59410. + {
  59411. + AVR32_OPC_ST_D4, 4, 0xe0e10000, 0xe1f10000,
  59412. + &avr32_syntax_table[AVR32_SYNTAX_ST_D4],
  59413. + BFD_RELOC_AVR32_16S, 3, 1,
  59414. + {
  59415. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59416. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59417. + &avr32_ifield_table[AVR32_IFIELD_RY_DW],
  59418. + },
  59419. + },
  59420. + {
  59421. + AVR32_OPC_ST_H1, 2, 0x00b00000, 0xe1f00000,
  59422. + &avr32_syntax_table[AVR32_SYNTAX_ST_H1],
  59423. + BFD_RELOC_UNUSED, 2, -1,
  59424. + {
  59425. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59426. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59427. + },
  59428. + },
  59429. + {
  59430. + AVR32_OPC_ST_H2, 2, 0x00e00000, 0xe1f00000,
  59431. + &avr32_syntax_table[AVR32_SYNTAX_ST_H2],
  59432. + BFD_RELOC_UNUSED, 2, -1,
  59433. + {
  59434. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59435. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59436. + },
  59437. + },
  59438. + {
  59439. + AVR32_OPC_ST_H5, 4, 0xe0000a00, 0xe1f0ffc0,
  59440. + &avr32_syntax_table[AVR32_SYNTAX_ST_H5],
  59441. + BFD_RELOC_UNUSED, 4, -1,
  59442. + {
  59443. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59444. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59445. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59446. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59447. + },
  59448. + },
  59449. + {
  59450. + AVR32_OPC_ST_H3, 2, 0xa0000000, 0xe1800000,
  59451. + &avr32_syntax_table[AVR32_SYNTAX_ST_H3],
  59452. + BFD_RELOC_AVR32_4UH, 3, 1,
  59453. + {
  59454. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59455. + &avr32_ifield_table[AVR32_IFIELD_K3],
  59456. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59457. + },
  59458. + },
  59459. + {
  59460. + AVR32_OPC_ST_H4, 4, 0xe1500000, 0xe1f00000,
  59461. + &avr32_syntax_table[AVR32_SYNTAX_ST_H4],
  59462. + BFD_RELOC_AVR32_16S, 3, 1,
  59463. + {
  59464. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59465. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59466. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59467. + },
  59468. + },
  59469. + {
  59470. + AVR32_OPC_ST_W1, 2, 0x00a00000, 0xe1f00000,
  59471. + &avr32_syntax_table[AVR32_SYNTAX_ST_W1],
  59472. + BFD_RELOC_UNUSED, 2, -1,
  59473. + {
  59474. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59475. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59476. + },
  59477. + },
  59478. + {
  59479. + AVR32_OPC_ST_W2, 2, 0x00d00000, 0xe1f00000,
  59480. + &avr32_syntax_table[AVR32_SYNTAX_ST_W2],
  59481. + BFD_RELOC_UNUSED, 2, -1,
  59482. + {
  59483. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59484. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59485. + },
  59486. + },
  59487. + {
  59488. + AVR32_OPC_ST_W5, 4, 0xe0000900, 0xe1f0ffc0,
  59489. + &avr32_syntax_table[AVR32_SYNTAX_ST_W5],
  59490. + BFD_RELOC_UNUSED, 4, -1,
  59491. + {
  59492. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59493. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59494. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59495. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59496. + },
  59497. + },
  59498. + {
  59499. + AVR32_OPC_ST_W3, 2, 0x81000000, 0xe1000000,
  59500. + &avr32_syntax_table[AVR32_SYNTAX_ST_W3],
  59501. + BFD_RELOC_AVR32_6UW, 3, 1,
  59502. + {
  59503. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59504. + &avr32_ifield_table[AVR32_IFIELD_K4],
  59505. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59506. + },
  59507. + },
  59508. + {
  59509. + AVR32_OPC_ST_W4, 4, 0xe1400000, 0xe1f00000,
  59510. + &avr32_syntax_table[AVR32_SYNTAX_ST_W4],
  59511. + BFD_RELOC_AVR32_16S, 3, 1,
  59512. + {
  59513. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59514. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59515. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59516. + },
  59517. + },
  59518. + {
  59519. + AVR32_OPC_STC_D1, 4, 0xeba01000, 0xfff01100,
  59520. + &avr32_syntax_table[AVR32_SYNTAX_STC_D1],
  59521. + BFD_RELOC_AVR32_10UW, 4, 2,
  59522. + {
  59523. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59524. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59525. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59526. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  59527. + },
  59528. + },
  59529. + {
  59530. + AVR32_OPC_STC_D2, 4, 0xefa00070, 0xfff011f0,
  59531. + &avr32_syntax_table[AVR32_SYNTAX_STC_D2],
  59532. + BFD_RELOC_UNUSED, 3, -1,
  59533. + {
  59534. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59535. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59536. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  59537. + },
  59538. + },
  59539. + {
  59540. + AVR32_OPC_STC_D3, 4, 0xefa010c0, 0xfff011c0,
  59541. + &avr32_syntax_table[AVR32_SYNTAX_STC_D3],
  59542. + BFD_RELOC_UNUSED, 5, -1,
  59543. + {
  59544. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59545. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59546. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59547. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59548. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  59549. + },
  59550. + },
  59551. + {
  59552. + AVR32_OPC_STC_W1, 4, 0xeba00000, 0xfff01000,
  59553. + &avr32_syntax_table[AVR32_SYNTAX_STC_W1],
  59554. + BFD_RELOC_AVR32_10UW, 4, 2,
  59555. + {
  59556. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59557. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59558. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59559. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  59560. + },
  59561. + },
  59562. + {
  59563. + AVR32_OPC_STC_W2, 4, 0xefa00060, 0xfff010ff,
  59564. + &avr32_syntax_table[AVR32_SYNTAX_STC_W2],
  59565. + BFD_RELOC_UNUSED, 3, -1,
  59566. + {
  59567. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59568. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59569. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  59570. + },
  59571. + },
  59572. + {
  59573. + AVR32_OPC_STC_W3, 4, 0xefa01080, 0xfff010c0,
  59574. + &avr32_syntax_table[AVR32_SYNTAX_STC_W3],
  59575. + BFD_RELOC_UNUSED, 5, -1,
  59576. + {
  59577. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59578. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59579. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59580. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59581. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  59582. + },
  59583. + },
  59584. + {
  59585. + AVR32_OPC_STC0_D, 4, 0xf7a00000, 0xfff00100,
  59586. + &avr32_syntax_table[AVR32_SYNTAX_STC0_D],
  59587. + BFD_RELOC_AVR32_14UW, 3, 1,
  59588. + {
  59589. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59590. + &avr32_ifield_table[AVR32_IFIELD_K12CP],
  59591. + &avr32_ifield_table[AVR32_IFIELD_CRD_DW],
  59592. + },
  59593. + },
  59594. + {
  59595. + AVR32_OPC_STC0_W, 4, 0xf5a00000, 0xfff00000,
  59596. + &avr32_syntax_table[AVR32_SYNTAX_STC0_W],
  59597. + BFD_RELOC_AVR32_14UW, 3, 1,
  59598. + {
  59599. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59600. + &avr32_ifield_table[AVR32_IFIELD_K12CP],
  59601. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  59602. + },
  59603. + },
  59604. + {
  59605. + AVR32_OPC_STCM_D, 4, 0xeda00500, 0xfff01f00,
  59606. + &avr32_syntax_table[AVR32_SYNTAX_STCM_D],
  59607. + BFD_RELOC_UNUSED, 3, -1,
  59608. + {
  59609. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59610. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59611. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59612. + },
  59613. + },
  59614. + {
  59615. + AVR32_OPC_STCM_D_PU, 4, 0xeda01500, 0xfff01f00,
  59616. + &avr32_syntax_table[AVR32_SYNTAX_STCM_D_PU],
  59617. + BFD_RELOC_UNUSED, 3, -1,
  59618. + {
  59619. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59620. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59621. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59622. + },
  59623. + },
  59624. + {
  59625. + AVR32_OPC_STCM_W, 4, 0xeda00200, 0xfff01e00,
  59626. + &avr32_syntax_table[AVR32_SYNTAX_STCM_W],
  59627. + BFD_RELOC_UNUSED, 4, -1,
  59628. + {
  59629. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59630. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59631. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59632. + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
  59633. + },
  59634. + },
  59635. + {
  59636. + AVR32_OPC_STCM_W_PU, 4, 0xeda01200, 0xfff01e00,
  59637. + &avr32_syntax_table[AVR32_SYNTAX_STCM_W_PU],
  59638. + BFD_RELOC_UNUSED, 4, -1,
  59639. + {
  59640. + &avr32_ifield_table[AVR32_IFIELD_CPNO],
  59641. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59642. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59643. + &avr32_ifield_table[AVR32_IFIELD_CM_HL],
  59644. + },
  59645. + },
  59646. + {
  59647. + AVR32_OPC_STCOND, 4, 0xe1700000, 0xe1f00000,
  59648. + &avr32_syntax_table[AVR32_SYNTAX_STCOND],
  59649. + BFD_RELOC_UNUSED, 3, -1,
  59650. + {
  59651. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59652. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59653. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59654. + },
  59655. + },
  59656. + {
  59657. + AVR32_OPC_STDSP, 2, 0x50000000, 0xf8000000,
  59658. + &avr32_syntax_table[AVR32_SYNTAX_STDSP],
  59659. + BFD_RELOC_UNUSED, 2, -1,
  59660. + {
  59661. + &avr32_ifield_table[AVR32_IFIELD_K7C],
  59662. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59663. + },
  59664. + },
  59665. + {
  59666. + AVR32_OPC_STHH_W2, 4, 0xe1e08000, 0xe1f0c0c0,
  59667. + &avr32_syntax_table[AVR32_SYNTAX_STHH_W2],
  59668. + BFD_RELOC_UNUSED, 7, -1,
  59669. + {
  59670. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59671. + &avr32_ifield_table[AVR32_IFIELD_CRD_RI],
  59672. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59673. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59674. + &avr32_ifield_table[AVR32_IFIELD_X2],
  59675. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59676. + &avr32_ifield_table[AVR32_IFIELD_Y2],
  59677. + },
  59678. + },
  59679. + {
  59680. + AVR32_OPC_STHH_W1, 4, 0xe1e0c000, 0xe1f0c000,
  59681. + &avr32_syntax_table[AVR32_SYNTAX_STHH_W1],
  59682. + BFD_RELOC_AVR32_STHH_W, 6, 1,
  59683. + {
  59684. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59685. + &avr32_ifield_table[AVR32_IFIELD_K8E2],
  59686. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59687. + &avr32_ifield_table[AVR32_IFIELD_X2],
  59688. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59689. + &avr32_ifield_table[AVR32_IFIELD_Y2],
  59690. + },
  59691. + },
  59692. + {
  59693. + AVR32_OPC_STM, 4, 0xe9c00000, 0xfff00000,
  59694. + &avr32_syntax_table[AVR32_SYNTAX_STM],
  59695. + BFD_RELOC_UNUSED, 2, -1,
  59696. + {
  59697. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59698. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59699. + },
  59700. + },
  59701. + {
  59702. + AVR32_OPC_STM_PU, 4, 0xebc00000, 0xfff00000,
  59703. + &avr32_syntax_table[AVR32_SYNTAX_STM_PU],
  59704. + BFD_RELOC_UNUSED, 2, -1,
  59705. + {
  59706. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59707. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59708. + },
  59709. + },
  59710. + {
  59711. + AVR32_OPC_STMTS, 4, 0xedc00000, 0xfff00000,
  59712. + &avr32_syntax_table[AVR32_SYNTAX_STMTS],
  59713. + BFD_RELOC_UNUSED, 2, -1,
  59714. + {
  59715. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59716. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59717. + },
  59718. + },
  59719. + {
  59720. + AVR32_OPC_STMTS_PU, 4, 0xefc00000, 0xfff00000,
  59721. + &avr32_syntax_table[AVR32_SYNTAX_STMTS_PU],
  59722. + BFD_RELOC_UNUSED, 2, -1,
  59723. + {
  59724. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59725. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59726. + },
  59727. + },
  59728. + {
  59729. + AVR32_OPC_STSWP_H, 4, 0xe1d09000, 0xe1f0f000,
  59730. + &avr32_syntax_table[AVR32_SYNTAX_STSWP_H],
  59731. + BFD_RELOC_UNUSED, 3, -1,
  59732. + {
  59733. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59734. + &avr32_ifield_table[AVR32_IFIELD_K12],
  59735. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59736. + },
  59737. + },
  59738. + {
  59739. + AVR32_OPC_STSWP_W, 4, 0xe1d0a000, 0xe1f0f000,
  59740. + &avr32_syntax_table[AVR32_SYNTAX_STSWP_W],
  59741. + BFD_RELOC_UNUSED, 3, -1,
  59742. + {
  59743. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59744. + &avr32_ifield_table[AVR32_IFIELD_K12],
  59745. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59746. + },
  59747. + },
  59748. + {
  59749. + AVR32_OPC_SUB1, 2, 0x00100000, 0xe1f00000,
  59750. + &avr32_syntax_table[AVR32_SYNTAX_SUB1],
  59751. + BFD_RELOC_UNUSED, 2, -1,
  59752. + {
  59753. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59754. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59755. + },
  59756. + },
  59757. + {
  59758. + AVR32_OPC_SUB2, 4, 0xe0000100, 0xe1f0ffc0,
  59759. + &avr32_syntax_table[AVR32_SYNTAX_SUB2],
  59760. + BFD_RELOC_UNUSED, 4, -1,
  59761. + {
  59762. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  59763. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59764. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59765. + &avr32_ifield_table[AVR32_IFIELD_K2],
  59766. + },
  59767. + },
  59768. + {
  59769. + AVR32_OPC_SUB5, 4, 0xe0c00000, 0xe1f00000,
  59770. + &avr32_syntax_table[AVR32_SYNTAX_SUB5],
  59771. + BFD_RELOC_AVR32_SUB5, 3, 2,
  59772. + {
  59773. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59774. + &avr32_ifield_table[AVR32_IFIELD_RX],
  59775. + &avr32_ifield_table[AVR32_IFIELD_K16],
  59776. + },
  59777. + },
  59778. + {
  59779. + AVR32_OPC_SUB3_SP, 2, 0x200d0000, 0xf00f0000,
  59780. + &avr32_syntax_table[AVR32_SYNTAX_SUB3_SP],
  59781. + BFD_RELOC_AVR32_10SW, 2, 1,
  59782. + {
  59783. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59784. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  59785. + },
  59786. + },
  59787. + {
  59788. + AVR32_OPC_SUB3, 2, 0x20000000, 0xf0000000,
  59789. + &avr32_syntax_table[AVR32_SYNTAX_SUB3],
  59790. + BFD_RELOC_AVR32_8S, 2, 1,
  59791. + {
  59792. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59793. + &avr32_ifield_table[AVR32_IFIELD_K8C],
  59794. + },
  59795. + },
  59796. + {
  59797. + AVR32_OPC_SUB4, 4, 0xe0200000, 0xe1e00000,
  59798. + &avr32_syntax_table[AVR32_SYNTAX_SUB4],
  59799. + BFD_RELOC_AVR32_21S, 2, 1,
  59800. + {
  59801. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59802. + &avr32_ifield_table[AVR32_IFIELD_K21],
  59803. + },
  59804. + },
  59805. + {
  59806. + AVR32_OPC_SUBEQ, 4, 0xf7b00000, 0xfff0ff00,
  59807. + &avr32_syntax_table[AVR32_SYNTAX_SUBEQ],
  59808. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59809. + {
  59810. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59811. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59812. + },
  59813. + },
  59814. + {
  59815. + AVR32_OPC_SUBNE, 4, 0xf7b00100, 0xfff0ff00,
  59816. + &avr32_syntax_table[AVR32_SYNTAX_SUBNE],
  59817. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59818. + {
  59819. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59820. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59821. + },
  59822. + },
  59823. + {
  59824. + AVR32_OPC_SUBCC, 4, 0xf7b00200, 0xfff0ff00,
  59825. + &avr32_syntax_table[AVR32_SYNTAX_SUBHS],
  59826. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59827. + {
  59828. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59829. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59830. + },
  59831. + },
  59832. + {
  59833. + AVR32_OPC_SUBCS, 4, 0xf7b00300, 0xfff0ff00,
  59834. + &avr32_syntax_table[AVR32_SYNTAX_SUBLO],
  59835. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59836. + {
  59837. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59838. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59839. + },
  59840. + },
  59841. + {
  59842. + AVR32_OPC_SUBGE, 4, 0xf7b00400, 0xfff0ff00,
  59843. + &avr32_syntax_table[AVR32_SYNTAX_SUBGE],
  59844. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59845. + {
  59846. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59847. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59848. + },
  59849. + },
  59850. + {
  59851. + AVR32_OPC_SUBLT, 4, 0xf7b00500, 0xfff0ff00,
  59852. + &avr32_syntax_table[AVR32_SYNTAX_SUBLT],
  59853. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59854. + {
  59855. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59856. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59857. + },
  59858. + },
  59859. + {
  59860. + AVR32_OPC_SUBMI, 4, 0xf7b00600, 0xfff0ff00,
  59861. + &avr32_syntax_table[AVR32_SYNTAX_SUBMI],
  59862. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59863. + {
  59864. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59865. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59866. + },
  59867. + },
  59868. + {
  59869. + AVR32_OPC_SUBPL, 4, 0xf7b00700, 0xfff0ff00,
  59870. + &avr32_syntax_table[AVR32_SYNTAX_SUBPL],
  59871. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59872. + {
  59873. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59874. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59875. + },
  59876. + },
  59877. + {
  59878. + AVR32_OPC_SUBLS, 4, 0xf7b00800, 0xfff0ff00,
  59879. + &avr32_syntax_table[AVR32_SYNTAX_SUBLS],
  59880. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59881. + {
  59882. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59883. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59884. + },
  59885. + },
  59886. + {
  59887. + AVR32_OPC_SUBGT, 4, 0xf7b00900, 0xfff0ff00,
  59888. + &avr32_syntax_table[AVR32_SYNTAX_SUBGT],
  59889. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59890. + {
  59891. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59892. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59893. + },
  59894. + },
  59895. + {
  59896. + AVR32_OPC_SUBLE, 4, 0xf7b00a00, 0xfff0ff00,
  59897. + &avr32_syntax_table[AVR32_SYNTAX_SUBLE],
  59898. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59899. + {
  59900. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59901. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59902. + },
  59903. + },
  59904. + {
  59905. + AVR32_OPC_SUBHI, 4, 0xf7b00b00, 0xfff0ff00,
  59906. + &avr32_syntax_table[AVR32_SYNTAX_SUBHI],
  59907. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59908. + {
  59909. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59910. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59911. + },
  59912. + },
  59913. + {
  59914. + AVR32_OPC_SUBVS, 4, 0xf7b00c00, 0xfff0ff00,
  59915. + &avr32_syntax_table[AVR32_SYNTAX_SUBVS],
  59916. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59917. + {
  59918. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59919. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59920. + },
  59921. + },
  59922. + {
  59923. + AVR32_OPC_SUBVC, 4, 0xf7b00d00, 0xfff0ff00,
  59924. + &avr32_syntax_table[AVR32_SYNTAX_SUBVC],
  59925. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59926. + {
  59927. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59928. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59929. + },
  59930. + },
  59931. + {
  59932. + AVR32_OPC_SUBQS, 4, 0xf7b00e00, 0xfff0ff00,
  59933. + &avr32_syntax_table[AVR32_SYNTAX_SUBQS],
  59934. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59935. + {
  59936. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59937. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59938. + },
  59939. + },
  59940. + {
  59941. + AVR32_OPC_SUBAL, 4, 0xf7b00f00, 0xfff0ff00,
  59942. + &avr32_syntax_table[AVR32_SYNTAX_SUBAL],
  59943. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59944. + {
  59945. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59946. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59947. + },
  59948. + },
  59949. + {
  59950. + AVR32_OPC_SUBFEQ, 4, 0xf5b00000, 0xfff0ff00,
  59951. + &avr32_syntax_table[AVR32_SYNTAX_SUBFEQ],
  59952. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59953. + {
  59954. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59955. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59956. + },
  59957. + },
  59958. + {
  59959. + AVR32_OPC_SUBFNE, 4, 0xf5b00100, 0xfff0ff00,
  59960. + &avr32_syntax_table[AVR32_SYNTAX_SUBFNE],
  59961. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59962. + {
  59963. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59964. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59965. + },
  59966. + },
  59967. + {
  59968. + AVR32_OPC_SUBFCC, 4, 0xf5b00200, 0xfff0ff00,
  59969. + &avr32_syntax_table[AVR32_SYNTAX_SUBFHS],
  59970. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59971. + {
  59972. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59973. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59974. + },
  59975. + },
  59976. + {
  59977. + AVR32_OPC_SUBFCS, 4, 0xf5b00300, 0xfff0ff00,
  59978. + &avr32_syntax_table[AVR32_SYNTAX_SUBFLO],
  59979. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59980. + {
  59981. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59982. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59983. + },
  59984. + },
  59985. + {
  59986. + AVR32_OPC_SUBFGE, 4, 0xf5b00400, 0xfff0ff00,
  59987. + &avr32_syntax_table[AVR32_SYNTAX_SUBFGE],
  59988. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59989. + {
  59990. + &avr32_ifield_table[AVR32_IFIELD_RY],
  59991. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  59992. + },
  59993. + },
  59994. + {
  59995. + AVR32_OPC_SUBFLT, 4, 0xf5b00500, 0xfff0ff00,
  59996. + &avr32_syntax_table[AVR32_SYNTAX_SUBFLT],
  59997. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  59998. + {
  59999. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60000. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60001. + },
  60002. + },
  60003. + {
  60004. + AVR32_OPC_SUBFMI, 4, 0xf5b00600, 0xfff0ff00,
  60005. + &avr32_syntax_table[AVR32_SYNTAX_SUBFMI],
  60006. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60007. + {
  60008. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60009. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60010. + },
  60011. + },
  60012. + {
  60013. + AVR32_OPC_SUBFPL, 4, 0xf5b00700, 0xfff0ff00,
  60014. + &avr32_syntax_table[AVR32_SYNTAX_SUBFPL],
  60015. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60016. + {
  60017. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60018. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60019. + },
  60020. + },
  60021. + {
  60022. + AVR32_OPC_SUBFLS, 4, 0xf5b00800, 0xfff0ff00,
  60023. + &avr32_syntax_table[AVR32_SYNTAX_SUBFLS],
  60024. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60025. + {
  60026. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60027. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60028. + },
  60029. + },
  60030. + {
  60031. + AVR32_OPC_SUBFGT, 4, 0xf5b00900, 0xfff0ff00,
  60032. + &avr32_syntax_table[AVR32_SYNTAX_SUBFGT],
  60033. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60034. + {
  60035. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60036. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60037. + },
  60038. + },
  60039. + {
  60040. + AVR32_OPC_SUBFLE, 4, 0xf5b00a00, 0xfff0ff00,
  60041. + &avr32_syntax_table[AVR32_SYNTAX_SUBFLE],
  60042. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60043. + {
  60044. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60045. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60046. + },
  60047. + },
  60048. + {
  60049. + AVR32_OPC_SUBFHI, 4, 0xf5b00b00, 0xfff0ff00,
  60050. + &avr32_syntax_table[AVR32_SYNTAX_SUBFHI],
  60051. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60052. + {
  60053. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60054. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60055. + },
  60056. + },
  60057. + {
  60058. + AVR32_OPC_SUBFVS, 4, 0xf5b00c00, 0xfff0ff00,
  60059. + &avr32_syntax_table[AVR32_SYNTAX_SUBFVS],
  60060. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60061. + {
  60062. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60063. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60064. + },
  60065. + },
  60066. + {
  60067. + AVR32_OPC_SUBFVC, 4, 0xf5b00d00, 0xfff0ff00,
  60068. + &avr32_syntax_table[AVR32_SYNTAX_SUBFVC],
  60069. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60070. + {
  60071. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60072. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60073. + },
  60074. + },
  60075. + {
  60076. + AVR32_OPC_SUBFQS, 4, 0xf5b00e00, 0xfff0ff00,
  60077. + &avr32_syntax_table[AVR32_SYNTAX_SUBFQS],
  60078. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60079. + {
  60080. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60081. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60082. + },
  60083. + },
  60084. + {
  60085. + AVR32_OPC_SUBFAL, 4, 0xf5b00f00, 0xfff0ff00,
  60086. + &avr32_syntax_table[AVR32_SYNTAX_SUBFAL],
  60087. + BFD_RELOC_AVR32_8S_EXT, 2, 1,
  60088. + {
  60089. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60090. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60091. + },
  60092. + },
  60093. + {
  60094. + AVR32_OPC_SUBHH_W, 4, 0xe0000f00, 0xe1f0ffc0,
  60095. + &avr32_syntax_table[AVR32_SYNTAX_SUBHH_W],
  60096. + BFD_RELOC_UNUSED, 5, -1,
  60097. + {
  60098. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  60099. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60100. + &avr32_ifield_table[AVR32_IFIELD_X],
  60101. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60102. + &avr32_ifield_table[AVR32_IFIELD_Y],
  60103. + },
  60104. + },
  60105. + {
  60106. + AVR32_OPC_SWAP_B, 2, 0x5cb00000, 0xfff00000,
  60107. + &avr32_syntax_table[AVR32_SYNTAX_SWAP_B],
  60108. + BFD_RELOC_UNUSED, 1, -1,
  60109. + {
  60110. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60111. + }
  60112. + },
  60113. + {
  60114. + AVR32_OPC_SWAP_BH, 2, 0x5cc00000, 0xfff00000,
  60115. + &avr32_syntax_table[AVR32_SYNTAX_SWAP_BH],
  60116. + BFD_RELOC_UNUSED, 1, -1,
  60117. + {
  60118. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60119. + }
  60120. + },
  60121. + {
  60122. + AVR32_OPC_SWAP_H, 2, 0x5ca00000, 0xfff00000,
  60123. + &avr32_syntax_table[AVR32_SYNTAX_SWAP_H],
  60124. + BFD_RELOC_UNUSED, 1, -1,
  60125. + {
  60126. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60127. + }
  60128. + },
  60129. + {
  60130. + AVR32_OPC_SYNC, 4, 0xebb00000, 0xffffff00,
  60131. + &avr32_syntax_table[AVR32_SYNTAX_SYNC],
  60132. + BFD_RELOC_AVR32_8S_EXT, 1, 0,
  60133. + {
  60134. + &avr32_ifield_table[AVR32_IFIELD_K8E],
  60135. + }
  60136. + },
  60137. + {
  60138. + AVR32_OPC_TLBR, 2, 0xd6430000, 0xffff0000,
  60139. + &avr32_syntax_table[AVR32_SYNTAX_TLBR],
  60140. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  60141. + },
  60142. + {
  60143. + AVR32_OPC_TLBS, 2, 0xd6530000, 0xffff0000,
  60144. + &avr32_syntax_table[AVR32_SYNTAX_TLBS],
  60145. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  60146. + },
  60147. + {
  60148. + AVR32_OPC_TLBW, 2, 0xd6630000, 0xffff0000,
  60149. + &avr32_syntax_table[AVR32_SYNTAX_TLBW],
  60150. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  60151. + },
  60152. + {
  60153. + AVR32_OPC_TNBZ, 2, 0x5ce00000, 0xfff00000,
  60154. + &avr32_syntax_table[AVR32_SYNTAX_TNBZ],
  60155. + BFD_RELOC_UNUSED, 1, -1,
  60156. + {
  60157. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60158. + }
  60159. + },
  60160. + {
  60161. + AVR32_OPC_TST, 2, 0x00700000, 0xe1f00000,
  60162. + &avr32_syntax_table[AVR32_SYNTAX_TST],
  60163. + BFD_RELOC_UNUSED, 2, -1,
  60164. + {
  60165. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60166. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60167. + },
  60168. + },
  60169. + {
  60170. + AVR32_OPC_XCHG, 4, 0xe0000b40, 0xe1f0fff0,
  60171. + &avr32_syntax_table[AVR32_SYNTAX_XCHG],
  60172. + BFD_RELOC_UNUSED, 3, -1,
  60173. + {
  60174. + &avr32_ifield_table[AVR32_IFIELD_RD_E],
  60175. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60176. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60177. + },
  60178. + },
  60179. + {
  60180. + AVR32_OPC_MEMC, 4, 0xf6100000, 0xfff00000,
  60181. + &avr32_syntax_table[AVR32_SYNTAX_MEMC],
  60182. + BFD_RELOC_AVR32_15S, 2, 0,
  60183. + {
  60184. + &avr32_ifield_table[AVR32_IFIELD_MEM15],
  60185. + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
  60186. + },
  60187. + },
  60188. + {
  60189. + AVR32_OPC_MEMS, 4, 0xf8100000, 0xfff00000,
  60190. + &avr32_syntax_table[AVR32_SYNTAX_MEMS],
  60191. + BFD_RELOC_AVR32_15S, 2, 0,
  60192. + {
  60193. + &avr32_ifield_table[AVR32_IFIELD_MEM15],
  60194. + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
  60195. + },
  60196. + },
  60197. + {
  60198. + AVR32_OPC_MEMT, 4, 0xfa100000, 0xfff00000,
  60199. + &avr32_syntax_table[AVR32_SYNTAX_MEMT],
  60200. + BFD_RELOC_AVR32_15S, 2, 0,
  60201. + {
  60202. + &avr32_ifield_table[AVR32_IFIELD_MEM15],
  60203. + &avr32_ifield_table[AVR32_IFIELD_MEMB5],
  60204. + },
  60205. + },
  60206. + {
  60207. + AVR32_OPC_BFEXTS, 4, 0xe1d0b000, 0xe1f0fc00,
  60208. + &avr32_syntax_table[AVR32_SYNTAX_BFEXTS],
  60209. + BFD_RELOC_UNUSED, 4, -1,
  60210. + {
  60211. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60212. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60213. + &avr32_ifield_table[AVR32_IFIELD_S5],
  60214. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  60215. + },
  60216. + },
  60217. + {
  60218. + AVR32_OPC_BFEXTU, 4, 0xe1d0c000, 0xe1f0fc00,
  60219. + &avr32_syntax_table[AVR32_SYNTAX_BFEXTU],
  60220. + BFD_RELOC_UNUSED, 4, -1,
  60221. + {
  60222. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60223. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60224. + &avr32_ifield_table[AVR32_IFIELD_S5],
  60225. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  60226. + },
  60227. + },
  60228. + {
  60229. + AVR32_OPC_BFINS, 4, 0xe1d0d000, 0xe1f0fc00,
  60230. + &avr32_syntax_table[AVR32_SYNTAX_BFINS],
  60231. + BFD_RELOC_UNUSED, 4, -1,
  60232. + {
  60233. + &avr32_ifield_table[AVR32_IFIELD_RX],
  60234. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60235. + &avr32_ifield_table[AVR32_IFIELD_S5],
  60236. + &avr32_ifield_table[AVR32_IFIELD_K5E],
  60237. + },
  60238. + },
  60239. +#define AVR32_OPCODE_RSUBCOND(cond_name, cond_field) \
  60240. + { \
  60241. + AVR32_OPC_RSUB ## cond_name , 4, \
  60242. + 0xfbb00000 | (cond_field << 8), 0xfff0ff00, \
  60243. + &avr32_syntax_table[AVR32_SYNTAX_RSUB ## cond_name ], \
  60244. + BFD_RELOC_AVR32_8S_EXT, 2, 1, \
  60245. + { \
  60246. + &avr32_ifield_table[AVR32_IFIELD_RY], \
  60247. + &avr32_ifield_table[AVR32_IFIELD_K8E], \
  60248. + }, \
  60249. + },
  60250. +
  60251. + AVR32_OPCODE_RSUBCOND (EQ, 0)
  60252. + AVR32_OPCODE_RSUBCOND (NE, 1)
  60253. + AVR32_OPCODE_RSUBCOND (CC, 2)
  60254. + AVR32_OPCODE_RSUBCOND (CS, 3)
  60255. + AVR32_OPCODE_RSUBCOND (GE, 4)
  60256. + AVR32_OPCODE_RSUBCOND (LT, 5)
  60257. + AVR32_OPCODE_RSUBCOND (MI, 6)
  60258. + AVR32_OPCODE_RSUBCOND (PL, 7)
  60259. + AVR32_OPCODE_RSUBCOND (LS, 8)
  60260. + AVR32_OPCODE_RSUBCOND (GT, 9)
  60261. + AVR32_OPCODE_RSUBCOND (LE, 10)
  60262. + AVR32_OPCODE_RSUBCOND (HI, 11)
  60263. + AVR32_OPCODE_RSUBCOND (VS, 12)
  60264. + AVR32_OPCODE_RSUBCOND (VC, 13)
  60265. + AVR32_OPCODE_RSUBCOND (QS, 14)
  60266. + AVR32_OPCODE_RSUBCOND (AL, 15)
  60267. +
  60268. +#define AVR32_OPCODE_OP3_COND(op_name, op_field, cond_name, cond_field) \
  60269. + { \
  60270. + AVR32_OPC_ ## op_name ## cond_name , 4, \
  60271. + 0xe1d0e000 | (cond_field << 8) | (op_field << 4), 0xe1f0fff0, \
  60272. + &avr32_syntax_table[AVR32_SYNTAX_ ## op_name ## cond_name ], \
  60273. + BFD_RELOC_UNUSED, 3, -1, \
  60274. + { \
  60275. + &avr32_ifield_table[AVR32_IFIELD_RD_E], \
  60276. + &avr32_ifield_table[AVR32_IFIELD_RX], \
  60277. + &avr32_ifield_table[AVR32_IFIELD_RY], \
  60278. + }, \
  60279. + },
  60280. +
  60281. + AVR32_OPCODE_OP3_COND (ADD, 0, EQ, 0)
  60282. + AVR32_OPCODE_OP3_COND (ADD, 0, NE, 1)
  60283. + AVR32_OPCODE_OP3_COND (ADD, 0, CC, 2)
  60284. + AVR32_OPCODE_OP3_COND (ADD, 0, CS, 3)
  60285. + AVR32_OPCODE_OP3_COND (ADD, 0, GE, 4)
  60286. + AVR32_OPCODE_OP3_COND (ADD, 0, LT, 5)
  60287. + AVR32_OPCODE_OP3_COND (ADD, 0, MI, 6)
  60288. + AVR32_OPCODE_OP3_COND (ADD, 0, PL, 7)
  60289. + AVR32_OPCODE_OP3_COND (ADD, 0, LS, 8)
  60290. + AVR32_OPCODE_OP3_COND (ADD, 0, GT, 9)
  60291. + AVR32_OPCODE_OP3_COND (ADD, 0, LE, 10)
  60292. + AVR32_OPCODE_OP3_COND (ADD, 0, HI, 11)
  60293. + AVR32_OPCODE_OP3_COND (ADD, 0, VS, 12)
  60294. + AVR32_OPCODE_OP3_COND (ADD, 0, VC, 13)
  60295. + AVR32_OPCODE_OP3_COND (ADD, 0, QS, 14)
  60296. + AVR32_OPCODE_OP3_COND (ADD, 0, AL, 15)
  60297. +
  60298. + AVR32_OPCODE_OP3_COND (SUB2, 1, EQ, 0)
  60299. + AVR32_OPCODE_OP3_COND (SUB2, 1, NE, 1)
  60300. + AVR32_OPCODE_OP3_COND (SUB2, 1, CC, 2)
  60301. + AVR32_OPCODE_OP3_COND (SUB2, 1, CS, 3)
  60302. + AVR32_OPCODE_OP3_COND (SUB2, 1, GE, 4)
  60303. + AVR32_OPCODE_OP3_COND (SUB2, 1, LT, 5)
  60304. + AVR32_OPCODE_OP3_COND (SUB2, 1, MI, 6)
  60305. + AVR32_OPCODE_OP3_COND (SUB2, 1, PL, 7)
  60306. + AVR32_OPCODE_OP3_COND (SUB2, 1, LS, 8)
  60307. + AVR32_OPCODE_OP3_COND (SUB2, 1, GT, 9)
  60308. + AVR32_OPCODE_OP3_COND (SUB2, 1, LE, 10)
  60309. + AVR32_OPCODE_OP3_COND (SUB2, 1, HI, 11)
  60310. + AVR32_OPCODE_OP3_COND (SUB2, 1, VS, 12)
  60311. + AVR32_OPCODE_OP3_COND (SUB2, 1, VC, 13)
  60312. + AVR32_OPCODE_OP3_COND (SUB2, 1, QS, 14)
  60313. + AVR32_OPCODE_OP3_COND (SUB2, 1, AL, 15)
  60314. +
  60315. + AVR32_OPCODE_OP3_COND (AND, 2, EQ, 0)
  60316. + AVR32_OPCODE_OP3_COND (AND, 2, NE, 1)
  60317. + AVR32_OPCODE_OP3_COND (AND, 2, CC, 2)
  60318. + AVR32_OPCODE_OP3_COND (AND, 2, CS, 3)
  60319. + AVR32_OPCODE_OP3_COND (AND, 2, GE, 4)
  60320. + AVR32_OPCODE_OP3_COND (AND, 2, LT, 5)
  60321. + AVR32_OPCODE_OP3_COND (AND, 2, MI, 6)
  60322. + AVR32_OPCODE_OP3_COND (AND, 2, PL, 7)
  60323. + AVR32_OPCODE_OP3_COND (AND, 2, LS, 8)
  60324. + AVR32_OPCODE_OP3_COND (AND, 2, GT, 9)
  60325. + AVR32_OPCODE_OP3_COND (AND, 2, LE, 10)
  60326. + AVR32_OPCODE_OP3_COND (AND, 2, HI, 11)
  60327. + AVR32_OPCODE_OP3_COND (AND, 2, VS, 12)
  60328. + AVR32_OPCODE_OP3_COND (AND, 2, VC, 13)
  60329. + AVR32_OPCODE_OP3_COND (AND, 2, QS, 14)
  60330. + AVR32_OPCODE_OP3_COND (AND, 2, AL, 15)
  60331. +
  60332. + AVR32_OPCODE_OP3_COND (OR, 3, EQ, 0)
  60333. + AVR32_OPCODE_OP3_COND (OR, 3, NE, 1)
  60334. + AVR32_OPCODE_OP3_COND (OR, 3, CC, 2)
  60335. + AVR32_OPCODE_OP3_COND (OR, 3, CS, 3)
  60336. + AVR32_OPCODE_OP3_COND (OR, 3, GE, 4)
  60337. + AVR32_OPCODE_OP3_COND (OR, 3, LT, 5)
  60338. + AVR32_OPCODE_OP3_COND (OR, 3, MI, 6)
  60339. + AVR32_OPCODE_OP3_COND (OR, 3, PL, 7)
  60340. + AVR32_OPCODE_OP3_COND (OR, 3, LS, 8)
  60341. + AVR32_OPCODE_OP3_COND (OR, 3, GT, 9)
  60342. + AVR32_OPCODE_OP3_COND (OR, 3, LE, 10)
  60343. + AVR32_OPCODE_OP3_COND (OR, 3, HI, 11)
  60344. + AVR32_OPCODE_OP3_COND (OR, 3, VS, 12)
  60345. + AVR32_OPCODE_OP3_COND (OR, 3, VC, 13)
  60346. + AVR32_OPCODE_OP3_COND (OR, 3, QS, 14)
  60347. + AVR32_OPCODE_OP3_COND (OR, 3, AL, 15)
  60348. +
  60349. + AVR32_OPCODE_OP3_COND (EOR, 4, EQ, 0)
  60350. + AVR32_OPCODE_OP3_COND (EOR, 4, NE, 1)
  60351. + AVR32_OPCODE_OP3_COND (EOR, 4, CC, 2)
  60352. + AVR32_OPCODE_OP3_COND (EOR, 4, CS, 3)
  60353. + AVR32_OPCODE_OP3_COND (EOR, 4, GE, 4)
  60354. + AVR32_OPCODE_OP3_COND (EOR, 4, LT, 5)
  60355. + AVR32_OPCODE_OP3_COND (EOR, 4, MI, 6)
  60356. + AVR32_OPCODE_OP3_COND (EOR, 4, PL, 7)
  60357. + AVR32_OPCODE_OP3_COND (EOR, 4, LS, 8)
  60358. + AVR32_OPCODE_OP3_COND (EOR, 4, GT, 9)
  60359. + AVR32_OPCODE_OP3_COND (EOR, 4, LE, 10)
  60360. + AVR32_OPCODE_OP3_COND (EOR, 4, HI, 11)
  60361. + AVR32_OPCODE_OP3_COND (EOR, 4, VS, 12)
  60362. + AVR32_OPCODE_OP3_COND (EOR, 4, VC, 13)
  60363. + AVR32_OPCODE_OP3_COND (EOR, 4, QS, 14)
  60364. + AVR32_OPCODE_OP3_COND (EOR, 4, AL, 15)
  60365. +
  60366. +#define AVR32_OPCODE_LD_COND(op_name, op_field, cond_name, cond_field) \
  60367. + { \
  60368. + AVR32_OPC_ ## op_name ## cond_name , 4, \
  60369. + 0xe1f00000 | (cond_field << 12) | (op_field << 9), 0xe1f0fe00, \
  60370. + &avr32_syntax_table[AVR32_SYNTAX_ ## op_name ## cond_name ], \
  60371. + BFD_RELOC_UNUSED, 3, -1, \
  60372. + { \
  60373. + &avr32_ifield_table[AVR32_IFIELD_RY], \
  60374. + &avr32_ifield_table[AVR32_IFIELD_RX], \
  60375. + &avr32_ifield_table[AVR32_IFIELD_K9E], \
  60376. + }, \
  60377. + },
  60378. +
  60379. +#define AVR32_OPCODE_ST_COND(op_name, op_field, cond_name, cond_field) \
  60380. + { \
  60381. + AVR32_OPC_ ## op_name ## cond_name , 4, \
  60382. + 0xe1f00000 | (cond_field << 12) | (op_field << 9), 0xe1f0fe00, \
  60383. + &avr32_syntax_table[AVR32_SYNTAX_ ## op_name ## cond_name ], \
  60384. + BFD_RELOC_UNUSED, 3, -1, \
  60385. + { \
  60386. + &avr32_ifield_table[AVR32_IFIELD_RX], \
  60387. + &avr32_ifield_table[AVR32_IFIELD_K9E], \
  60388. + &avr32_ifield_table[AVR32_IFIELD_RY], \
  60389. + }, \
  60390. + },
  60391. +
  60392. + AVR32_OPCODE_LD_COND (LD_W, 0, EQ, 0)
  60393. + AVR32_OPCODE_LD_COND (LD_W, 0, NE, 1)
  60394. + AVR32_OPCODE_LD_COND (LD_W, 0, CC, 2)
  60395. + AVR32_OPCODE_LD_COND (LD_W, 0, CS, 3)
  60396. + AVR32_OPCODE_LD_COND (LD_W, 0, GE, 4)
  60397. + AVR32_OPCODE_LD_COND (LD_W, 0, LT, 5)
  60398. + AVR32_OPCODE_LD_COND (LD_W, 0, MI, 6)
  60399. + AVR32_OPCODE_LD_COND (LD_W, 0, PL, 7)
  60400. + AVR32_OPCODE_LD_COND (LD_W, 0, LS, 8)
  60401. + AVR32_OPCODE_LD_COND (LD_W, 0, GT, 9)
  60402. + AVR32_OPCODE_LD_COND (LD_W, 0, LE, 10)
  60403. + AVR32_OPCODE_LD_COND (LD_W, 0, HI, 11)
  60404. + AVR32_OPCODE_LD_COND (LD_W, 0, VS, 12)
  60405. + AVR32_OPCODE_LD_COND (LD_W, 0, VC, 13)
  60406. + AVR32_OPCODE_LD_COND (LD_W, 0, QS, 14)
  60407. + AVR32_OPCODE_LD_COND (LD_W, 0, AL, 15)
  60408. +
  60409. + AVR32_OPCODE_LD_COND (LD_SH, 1, EQ, 0)
  60410. + AVR32_OPCODE_LD_COND (LD_SH, 1, NE, 1)
  60411. + AVR32_OPCODE_LD_COND (LD_SH, 1, CC, 2)
  60412. + AVR32_OPCODE_LD_COND (LD_SH, 1, CS, 3)
  60413. + AVR32_OPCODE_LD_COND (LD_SH, 1, GE, 4)
  60414. + AVR32_OPCODE_LD_COND (LD_SH, 1, LT, 5)
  60415. + AVR32_OPCODE_LD_COND (LD_SH, 1, MI, 6)
  60416. + AVR32_OPCODE_LD_COND (LD_SH, 1, PL, 7)
  60417. + AVR32_OPCODE_LD_COND (LD_SH, 1, LS, 8)
  60418. + AVR32_OPCODE_LD_COND (LD_SH, 1, GT, 9)
  60419. + AVR32_OPCODE_LD_COND (LD_SH, 1, LE, 10)
  60420. + AVR32_OPCODE_LD_COND (LD_SH, 1, HI, 11)
  60421. + AVR32_OPCODE_LD_COND (LD_SH, 1, VS, 12)
  60422. + AVR32_OPCODE_LD_COND (LD_SH, 1, VC, 13)
  60423. + AVR32_OPCODE_LD_COND (LD_SH, 1, QS, 14)
  60424. + AVR32_OPCODE_LD_COND (LD_SH, 1, AL, 15)
  60425. +
  60426. + AVR32_OPCODE_LD_COND (LD_UH, 2, EQ, 0)
  60427. + AVR32_OPCODE_LD_COND (LD_UH, 2, NE, 1)
  60428. + AVR32_OPCODE_LD_COND (LD_UH, 2, CC, 2)
  60429. + AVR32_OPCODE_LD_COND (LD_UH, 2, CS, 3)
  60430. + AVR32_OPCODE_LD_COND (LD_UH, 2, GE, 4)
  60431. + AVR32_OPCODE_LD_COND (LD_UH, 2, LT, 5)
  60432. + AVR32_OPCODE_LD_COND (LD_UH, 2, MI, 6)
  60433. + AVR32_OPCODE_LD_COND (LD_UH, 2, PL, 7)
  60434. + AVR32_OPCODE_LD_COND (LD_SH, 2, LS, 8)
  60435. + AVR32_OPCODE_LD_COND (LD_SH, 2, GT, 9)
  60436. + AVR32_OPCODE_LD_COND (LD_SH, 2, LE, 10)
  60437. + AVR32_OPCODE_LD_COND (LD_SH, 2, HI, 11)
  60438. + AVR32_OPCODE_LD_COND (LD_SH, 2, VS, 12)
  60439. + AVR32_OPCODE_LD_COND (LD_SH, 2, VC, 13)
  60440. + AVR32_OPCODE_LD_COND (LD_SH, 2, QS, 14)
  60441. + AVR32_OPCODE_LD_COND (LD_SH, 2, AL, 15)
  60442. +
  60443. + AVR32_OPCODE_LD_COND (LD_SB, 3, EQ, 0)
  60444. + AVR32_OPCODE_LD_COND (LD_SB, 3, NE, 1)
  60445. + AVR32_OPCODE_LD_COND (LD_SB, 3, CC, 2)
  60446. + AVR32_OPCODE_LD_COND (LD_SB, 3, CS, 3)
  60447. + AVR32_OPCODE_LD_COND (LD_SB, 3, GE, 4)
  60448. + AVR32_OPCODE_LD_COND (LD_SB, 3, LT, 5)
  60449. + AVR32_OPCODE_LD_COND (LD_SB, 3, MI, 6)
  60450. + AVR32_OPCODE_LD_COND (LD_SB, 3, PL, 7)
  60451. + AVR32_OPCODE_LD_COND (LD_SB, 3, LS, 8)
  60452. + AVR32_OPCODE_LD_COND (LD_SB, 3, GT, 9)
  60453. + AVR32_OPCODE_LD_COND (LD_SB, 3, LE, 10)
  60454. + AVR32_OPCODE_LD_COND (LD_SB, 3, HI, 11)
  60455. + AVR32_OPCODE_LD_COND (LD_SB, 3, VS, 12)
  60456. + AVR32_OPCODE_LD_COND (LD_SB, 3, VC, 13)
  60457. + AVR32_OPCODE_LD_COND (LD_SB, 3, QS, 14)
  60458. + AVR32_OPCODE_LD_COND (LD_SB, 3, AL, 15)
  60459. +
  60460. + AVR32_OPCODE_LD_COND (LD_UB, 4, EQ, 0)
  60461. + AVR32_OPCODE_LD_COND (LD_UB, 4, NE, 1)
  60462. + AVR32_OPCODE_LD_COND (LD_UB, 4, CC, 2)
  60463. + AVR32_OPCODE_LD_COND (LD_UB, 4, CS, 3)
  60464. + AVR32_OPCODE_LD_COND (LD_UB, 4, GE, 4)
  60465. + AVR32_OPCODE_LD_COND (LD_UB, 4, LT, 5)
  60466. + AVR32_OPCODE_LD_COND (LD_UB, 4, MI, 6)
  60467. + AVR32_OPCODE_LD_COND (LD_UB, 4, PL, 7)
  60468. + AVR32_OPCODE_LD_COND (LD_UB, 4, LS, 8)
  60469. + AVR32_OPCODE_LD_COND (LD_UB, 4, GT, 9)
  60470. + AVR32_OPCODE_LD_COND (LD_UB, 4, LE, 10)
  60471. + AVR32_OPCODE_LD_COND (LD_UB, 4, HI, 11)
  60472. + AVR32_OPCODE_LD_COND (LD_UB, 4, VS, 12)
  60473. + AVR32_OPCODE_LD_COND (LD_UB, 4, VC, 13)
  60474. + AVR32_OPCODE_LD_COND (LD_UB, 4, QS, 14)
  60475. + AVR32_OPCODE_LD_COND (LD_UB, 4, AL, 15)
  60476. +
  60477. + AVR32_OPCODE_ST_COND (ST_W, 5, EQ, 0)
  60478. + AVR32_OPCODE_ST_COND (ST_W, 5, NE, 1)
  60479. + AVR32_OPCODE_ST_COND (ST_W, 5, CC, 2)
  60480. + AVR32_OPCODE_ST_COND (ST_W, 5, CS, 3)
  60481. + AVR32_OPCODE_ST_COND (ST_W, 5, GE, 4)
  60482. + AVR32_OPCODE_ST_COND (ST_W, 5, LT, 5)
  60483. + AVR32_OPCODE_ST_COND (ST_W, 5, MI, 6)
  60484. + AVR32_OPCODE_ST_COND (ST_W, 5, PL, 7)
  60485. + AVR32_OPCODE_ST_COND (ST_W, 5, LS, 8)
  60486. + AVR32_OPCODE_ST_COND (ST_W, 5, GT, 9)
  60487. + AVR32_OPCODE_ST_COND (ST_W, 5, LE, 10)
  60488. + AVR32_OPCODE_ST_COND (ST_W, 5, HI, 11)
  60489. + AVR32_OPCODE_ST_COND (ST_W, 5, VS, 12)
  60490. + AVR32_OPCODE_ST_COND (ST_W, 5, VC, 13)
  60491. + AVR32_OPCODE_ST_COND (ST_W, 5, QS, 14)
  60492. + AVR32_OPCODE_ST_COND (ST_W, 5, AL, 15)
  60493. +
  60494. + AVR32_OPCODE_ST_COND (ST_H, 6, EQ, 0)
  60495. + AVR32_OPCODE_ST_COND (ST_H, 6, NE, 1)
  60496. + AVR32_OPCODE_ST_COND (ST_H, 6, CC, 2)
  60497. + AVR32_OPCODE_ST_COND (ST_H, 6, CS, 3)
  60498. + AVR32_OPCODE_ST_COND (ST_H, 6, GE, 4)
  60499. + AVR32_OPCODE_ST_COND (ST_H, 6, LT, 5)
  60500. + AVR32_OPCODE_ST_COND (ST_H, 6, MI, 6)
  60501. + AVR32_OPCODE_ST_COND (ST_H, 6, PL, 7)
  60502. + AVR32_OPCODE_ST_COND (ST_H, 6, LS, 8)
  60503. + AVR32_OPCODE_ST_COND (ST_H, 6, GT, 9)
  60504. + AVR32_OPCODE_ST_COND (ST_H, 6, LE, 10)
  60505. + AVR32_OPCODE_ST_COND (ST_H, 6, HI, 11)
  60506. + AVR32_OPCODE_ST_COND (ST_H, 6, VS, 12)
  60507. + AVR32_OPCODE_ST_COND (ST_H, 6, VC, 13)
  60508. + AVR32_OPCODE_ST_COND (ST_H, 6, QS, 14)
  60509. + AVR32_OPCODE_ST_COND (ST_H, 6, AL, 15)
  60510. +
  60511. + AVR32_OPCODE_ST_COND (ST_B, 7, EQ, 0)
  60512. + AVR32_OPCODE_ST_COND (ST_B, 7, NE, 1)
  60513. + AVR32_OPCODE_ST_COND (ST_B, 7, CC, 2)
  60514. + AVR32_OPCODE_ST_COND (ST_B, 7, CS, 3)
  60515. + AVR32_OPCODE_ST_COND (ST_B, 7, GE, 4)
  60516. + AVR32_OPCODE_ST_COND (ST_B, 7, LT, 5)
  60517. + AVR32_OPCODE_ST_COND (ST_B, 7, MI, 6)
  60518. + AVR32_OPCODE_ST_COND (ST_B, 7, PL, 7)
  60519. + AVR32_OPCODE_ST_COND (ST_B, 7, LS, 8)
  60520. + AVR32_OPCODE_ST_COND (ST_B, 7, GT, 9)
  60521. + AVR32_OPCODE_ST_COND (ST_B, 7, LE, 10)
  60522. + AVR32_OPCODE_ST_COND (ST_B, 7, HI, 11)
  60523. + AVR32_OPCODE_ST_COND (ST_B, 7, VS, 12)
  60524. + AVR32_OPCODE_ST_COND (ST_B, 7, VC, 13)
  60525. + AVR32_OPCODE_ST_COND (ST_B, 7, QS, 14)
  60526. + AVR32_OPCODE_ST_COND (ST_B, 7, AL, 15)
  60527. +
  60528. + {
  60529. + AVR32_OPC_MOVH, 4, 0xfc100000, 0xfff00000,
  60530. + &avr32_syntax_table[AVR32_SYNTAX_MOVH],
  60531. + BFD_RELOC_AVR32_16U, 2, 1,
  60532. + {
  60533. + &avr32_ifield_table[AVR32_IFIELD_RY],
  60534. + &avr32_ifield_table[AVR32_IFIELD_K16],
  60535. + },
  60536. + },
  60537. + {
  60538. + AVR32_OPC_SSCALL, 2, 0xd7530000, 0xffff0000,
  60539. + &avr32_syntax_table[AVR32_SYNTAX_SSCALL],
  60540. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  60541. + },
  60542. + {
  60543. + AVR32_OPC_RETSS, 2, 0xd7630000, 0xffff0000,
  60544. + &avr32_syntax_table[AVR32_SYNTAX_RETSS],
  60545. + BFD_RELOC_UNUSED, 0, -1, { NULL },
  60546. + },
  60547. +
  60548. + {
  60549. + AVR32_OPC_FMAC_S, 4, 0xE1A00000, 0xFFF0F000,
  60550. + &avr32_syntax_table[AVR32_SYNTAX_FMAC_S],
  60551. + BFD_RELOC_UNUSED, 4, -1,
  60552. + {
  60553. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60554. + &avr32_ifield_table[AVR32_IFIELD_FP_RA],
  60555. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60556. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60557. + }
  60558. + },
  60559. + {
  60560. + AVR32_OPC_FNMAC_S, 4, 0xE1A01000, 0xFFF0F000,
  60561. + &avr32_syntax_table[AVR32_SYNTAX_FNMAC_S],
  60562. + BFD_RELOC_UNUSED, 4, -1,
  60563. + {
  60564. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60565. + &avr32_ifield_table[AVR32_IFIELD_FP_RA],
  60566. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60567. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60568. + }
  60569. + },
  60570. + {
  60571. + AVR32_OPC_FMSC_S, 4, 0xE3A00000, 0xFFF0F000,
  60572. + &avr32_syntax_table[AVR32_SYNTAX_FMSC_S],
  60573. + BFD_RELOC_UNUSED, 4, -1,
  60574. + {
  60575. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60576. + &avr32_ifield_table[AVR32_IFIELD_FP_RA],
  60577. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60578. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60579. + }
  60580. + },
  60581. + {
  60582. + AVR32_OPC_FNMSC_S, 4, 0xE3A01000, 0xFFF0F000,
  60583. + &avr32_syntax_table[AVR32_SYNTAX_FNMSC_S],
  60584. + BFD_RELOC_UNUSED, 4, -1,
  60585. + {
  60586. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60587. + &avr32_ifield_table[AVR32_IFIELD_FP_RA],
  60588. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60589. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60590. + }
  60591. + },
  60592. + {
  60593. + AVR32_OPC_FMUL_S, 4, 0xE5A20000, 0xFFFFF000,
  60594. + &avr32_syntax_table[AVR32_SYNTAX_FMUL_S],
  60595. + BFD_RELOC_UNUSED, 3, -1,
  60596. + {
  60597. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60598. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60599. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60600. + }
  60601. + },
  60602. + {
  60603. + AVR32_OPC_FNMUL_S, 4, 0xE5A30000, 0xFFFFF000,
  60604. + &avr32_syntax_table[AVR32_SYNTAX_FNMUL_S],
  60605. + BFD_RELOC_UNUSED, 3, -1,
  60606. + {
  60607. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60608. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60609. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60610. + }
  60611. + },
  60612. + {
  60613. + AVR32_OPC_FADD_S, 4, 0xE5A00000, 0xFFFFF000,
  60614. + &avr32_syntax_table[AVR32_SYNTAX_FADD_S],
  60615. + BFD_RELOC_UNUSED, 3, -1,
  60616. + {
  60617. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60618. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60619. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60620. + }
  60621. + },
  60622. + {
  60623. + AVR32_OPC_FSUB_S, 4, 0xE5A10000, 0xFFFFF000,
  60624. + &avr32_syntax_table[AVR32_SYNTAX_FSUB_S],
  60625. + BFD_RELOC_UNUSED, 3, -1,
  60626. + {
  60627. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60628. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60629. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60630. + }
  60631. + },
  60632. + {
  60633. + AVR32_OPC_FCASTRS_SW, 4, 0xE5AB0000, 0xFFFFF0F0,
  60634. + &avr32_syntax_table[AVR32_SYNTAX_FCASTRS_SW],
  60635. + BFD_RELOC_UNUSED, 2, -1,
  60636. + {
  60637. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60638. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60639. + }
  60640. + },
  60641. + {
  60642. + AVR32_OPC_FCASTRS_UW, 4, 0xE5A90000, 0xFFFFF0F0,
  60643. + &avr32_syntax_table[AVR32_SYNTAX_FCASTRS_UW],
  60644. + BFD_RELOC_UNUSED, 2, -1,
  60645. + {
  60646. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60647. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60648. + }
  60649. + },
  60650. + {
  60651. + AVR32_OPC_FCASTSW_S, 4, 0xE5A60000, 0xFFFFF0F0,
  60652. + &avr32_syntax_table[AVR32_SYNTAX_FCASTSW_S],
  60653. + BFD_RELOC_UNUSED, 2, -1,
  60654. + {
  60655. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60656. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60657. + }
  60658. + },
  60659. + {
  60660. + AVR32_OPC_FCASTUW_S, 4, 0xE5A40000, 0xFFFFF0F0,
  60661. + &avr32_syntax_table[AVR32_SYNTAX_FCASTUW_S],
  60662. + BFD_RELOC_UNUSED, 2, -1,
  60663. + {
  60664. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60665. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60666. + }
  60667. + },
  60668. + {
  60669. + AVR32_OPC_FCMP_S, 4, 0xE5AC0000, 0xFFFFFF00,
  60670. + &avr32_syntax_table[AVR32_SYNTAX_FCMP_S],
  60671. + BFD_RELOC_UNUSED, 2, -1,
  60672. + {
  60673. + &avr32_ifield_table[AVR32_IFIELD_FP_RX],
  60674. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60675. + }
  60676. + },
  60677. + {
  60678. + AVR32_OPC_FCHK_S, 4, 0xE5AD0000, 0xFFFFFFF0,
  60679. + &avr32_syntax_table[AVR32_SYNTAX_FCHK_S],
  60680. + BFD_RELOC_UNUSED, 1, -1,
  60681. + {
  60682. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60683. + }
  60684. + },
  60685. + {
  60686. + AVR32_OPC_FRCPA_S, 4, 0xE5AE0000, 0xFFFFF0F0,
  60687. + &avr32_syntax_table[AVR32_SYNTAX_FRCPA_S],
  60688. + BFD_RELOC_UNUSED, 2, -1,
  60689. + {
  60690. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60691. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60692. + }
  60693. + },
  60694. + {
  60695. + AVR32_OPC_FRSQRTA_S, 4, 0xE5AF0000, 0xFFFFF0F0,
  60696. + &avr32_syntax_table[AVR32_SYNTAX_FRSQRTA_S],
  60697. + BFD_RELOC_UNUSED, 2, -1,
  60698. + {
  60699. + &avr32_ifield_table[AVR32_IFIELD_FP_RD],
  60700. + &avr32_ifield_table[AVR32_IFIELD_FP_RY]
  60701. + }
  60702. + }
  60703. +
  60704. +};
  60705. +
  60706. +
  60707. +const struct avr32_alias avr32_alias_table[] =
  60708. + {
  60709. + {
  60710. + AVR32_ALIAS_PICOSVMAC0,
  60711. + &avr32_opc_table[AVR32_OPC_COP],
  60712. + {
  60713. + { 0, PICO_CPNO },
  60714. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60715. + { 0, 0x0c },
  60716. + },
  60717. + },
  60718. + {
  60719. + AVR32_ALIAS_PICOSVMAC1,
  60720. + &avr32_opc_table[AVR32_OPC_COP],
  60721. + {
  60722. + { 0, PICO_CPNO },
  60723. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60724. + { 0, 0x0d },
  60725. + },
  60726. + },
  60727. + {
  60728. + AVR32_ALIAS_PICOSVMAC2,
  60729. + &avr32_opc_table[AVR32_OPC_COP],
  60730. + {
  60731. + { 0, PICO_CPNO },
  60732. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60733. + { 0, 0x0e },
  60734. + },
  60735. + },
  60736. + {
  60737. + AVR32_ALIAS_PICOSVMAC3,
  60738. + &avr32_opc_table[AVR32_OPC_COP],
  60739. + {
  60740. + { 0, PICO_CPNO },
  60741. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60742. + { 0, 0x0f },
  60743. + },
  60744. + },
  60745. + {
  60746. + AVR32_ALIAS_PICOSVMUL0,
  60747. + &avr32_opc_table[AVR32_OPC_COP],
  60748. + {
  60749. + { 0, PICO_CPNO },
  60750. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60751. + { 0, 0x08 },
  60752. + },
  60753. + },
  60754. + {
  60755. + AVR32_ALIAS_PICOSVMUL1,
  60756. + &avr32_opc_table[AVR32_OPC_COP],
  60757. + {
  60758. + { 0, PICO_CPNO },
  60759. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60760. + { 0, 0x09 },
  60761. + },
  60762. + },
  60763. + {
  60764. + AVR32_ALIAS_PICOSVMUL2,
  60765. + &avr32_opc_table[AVR32_OPC_COP],
  60766. + {
  60767. + { 0, PICO_CPNO },
  60768. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60769. + { 0, 0x0a },
  60770. + },
  60771. + },
  60772. + {
  60773. + AVR32_ALIAS_PICOSVMUL3,
  60774. + &avr32_opc_table[AVR32_OPC_COP],
  60775. + {
  60776. + { 0, PICO_CPNO },
  60777. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60778. + { 0, 0x0b },
  60779. + },
  60780. + },
  60781. + {
  60782. + AVR32_ALIAS_PICOVMAC0,
  60783. + &avr32_opc_table[AVR32_OPC_COP],
  60784. + {
  60785. + { 0, PICO_CPNO },
  60786. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60787. + { 0, 0x04 },
  60788. + },
  60789. + },
  60790. + {
  60791. + AVR32_ALIAS_PICOVMAC1,
  60792. + &avr32_opc_table[AVR32_OPC_COP],
  60793. + {
  60794. + { 0, PICO_CPNO },
  60795. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60796. + { 0, 0x05 },
  60797. + },
  60798. + },
  60799. + {
  60800. + AVR32_ALIAS_PICOVMAC2,
  60801. + &avr32_opc_table[AVR32_OPC_COP],
  60802. + {
  60803. + { 0, PICO_CPNO },
  60804. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60805. + { 0, 0x06 },
  60806. + },
  60807. + },
  60808. + {
  60809. + AVR32_ALIAS_PICOVMAC3,
  60810. + &avr32_opc_table[AVR32_OPC_COP],
  60811. + {
  60812. + { 0, PICO_CPNO },
  60813. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60814. + { 0, 0x07 },
  60815. + },
  60816. + },
  60817. + {
  60818. + AVR32_ALIAS_PICOVMUL0,
  60819. + &avr32_opc_table[AVR32_OPC_COP],
  60820. + {
  60821. + { 0, PICO_CPNO },
  60822. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60823. + { 0, 0x00 },
  60824. + },
  60825. + },
  60826. + {
  60827. + AVR32_ALIAS_PICOVMUL1,
  60828. + &avr32_opc_table[AVR32_OPC_COP],
  60829. + {
  60830. + { 0, PICO_CPNO },
  60831. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60832. + { 0, 0x01 },
  60833. + },
  60834. + },
  60835. + {
  60836. + AVR32_ALIAS_PICOVMUL2,
  60837. + &avr32_opc_table[AVR32_OPC_COP],
  60838. + {
  60839. + { 0, PICO_CPNO },
  60840. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60841. + { 0, 0x02 },
  60842. + },
  60843. + },
  60844. + {
  60845. + AVR32_ALIAS_PICOVMUL3,
  60846. + &avr32_opc_table[AVR32_OPC_COP],
  60847. + {
  60848. + { 0, PICO_CPNO },
  60849. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60850. + { 0, 0x03 },
  60851. + },
  60852. + },
  60853. + {
  60854. + AVR32_ALIAS_PICOLD_D1,
  60855. + &avr32_opc_table[AVR32_OPC_LDC_D1],
  60856. + {
  60857. + { 0, PICO_CPNO },
  60858. + { 1, 0 }, { 1, 1 },
  60859. + },
  60860. + },
  60861. + {
  60862. + AVR32_ALIAS_PICOLD_D2,
  60863. + &avr32_opc_table[AVR32_OPC_LDC_D2],
  60864. + {
  60865. + { 0, PICO_CPNO },
  60866. + { 1, 0 }, { 1, 1 },
  60867. + },
  60868. + },
  60869. + {
  60870. + AVR32_ALIAS_PICOLD_D3,
  60871. + &avr32_opc_table[AVR32_OPC_LDC_D3],
  60872. + {
  60873. + { 0, PICO_CPNO },
  60874. + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
  60875. + },
  60876. + },
  60877. + {
  60878. + AVR32_ALIAS_PICOLD_W1,
  60879. + &avr32_opc_table[AVR32_OPC_LDC_W1],
  60880. + {
  60881. + { 0, PICO_CPNO },
  60882. + { 1, 0 }, { 1, 1 },
  60883. + },
  60884. + },
  60885. + {
  60886. + AVR32_ALIAS_PICOLD_W2,
  60887. + &avr32_opc_table[AVR32_OPC_LDC_W2],
  60888. + {
  60889. + { 0, PICO_CPNO },
  60890. + { 1, 0 }, { 1, 1 },
  60891. + },
  60892. + },
  60893. + {
  60894. + AVR32_ALIAS_PICOLD_W3,
  60895. + &avr32_opc_table[AVR32_OPC_LDC_W3],
  60896. + {
  60897. + { 0, PICO_CPNO },
  60898. + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
  60899. + },
  60900. + },
  60901. + {
  60902. + AVR32_ALIAS_PICOLDM_D,
  60903. + &avr32_opc_table[AVR32_OPC_LDCM_D],
  60904. + {
  60905. + { 0, PICO_CPNO },
  60906. + { 1, 0 }, { 1, 1 },
  60907. + },
  60908. + },
  60909. + {
  60910. + AVR32_ALIAS_PICOLDM_D_PU,
  60911. + &avr32_opc_table[AVR32_OPC_LDCM_D_PU],
  60912. + {
  60913. + { 0, PICO_CPNO },
  60914. + { 1, 0 }, { 1, 1 },
  60915. + },
  60916. + },
  60917. + {
  60918. + AVR32_ALIAS_PICOLDM_W,
  60919. + &avr32_opc_table[AVR32_OPC_LDCM_W],
  60920. + {
  60921. + { 0, PICO_CPNO },
  60922. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60923. + },
  60924. + },
  60925. + {
  60926. + AVR32_ALIAS_PICOLDM_W_PU,
  60927. + &avr32_opc_table[AVR32_OPC_LDCM_W_PU],
  60928. + {
  60929. + { 0, PICO_CPNO },
  60930. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60931. + },
  60932. + },
  60933. + {
  60934. + AVR32_ALIAS_PICOMV_D1,
  60935. + &avr32_opc_table[AVR32_OPC_MVCR_D],
  60936. + {
  60937. + { 0, PICO_CPNO },
  60938. + { 1, 0 }, { 1, 1 },
  60939. + },
  60940. + },
  60941. + {
  60942. + AVR32_ALIAS_PICOMV_D2,
  60943. + &avr32_opc_table[AVR32_OPC_MVRC_D],
  60944. + {
  60945. + { 0, PICO_CPNO },
  60946. + { 1, 0 }, { 1, 1 },
  60947. + },
  60948. + },
  60949. + {
  60950. + AVR32_ALIAS_PICOMV_W1,
  60951. + &avr32_opc_table[AVR32_OPC_MVCR_W],
  60952. + {
  60953. + { 0, PICO_CPNO },
  60954. + { 1, 0 }, { 1, 1 },
  60955. + },
  60956. + },
  60957. + {
  60958. + AVR32_ALIAS_PICOMV_W2,
  60959. + &avr32_opc_table[AVR32_OPC_MVRC_W],
  60960. + {
  60961. + { 0, PICO_CPNO },
  60962. + { 1, 0 }, { 1, 1 },
  60963. + },
  60964. + },
  60965. + {
  60966. + AVR32_ALIAS_PICOST_D1,
  60967. + &avr32_opc_table[AVR32_OPC_STC_D1],
  60968. + {
  60969. + { 0, PICO_CPNO },
  60970. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60971. + },
  60972. + },
  60973. + {
  60974. + AVR32_ALIAS_PICOST_D2,
  60975. + &avr32_opc_table[AVR32_OPC_STC_D2],
  60976. + {
  60977. + { 0, PICO_CPNO },
  60978. + { 1, 0 }, { 1, 1 },
  60979. + },
  60980. + },
  60981. + {
  60982. + AVR32_ALIAS_PICOST_D3,
  60983. + &avr32_opc_table[AVR32_OPC_STC_D3],
  60984. + {
  60985. + { 0, PICO_CPNO },
  60986. + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
  60987. + },
  60988. + },
  60989. + {
  60990. + AVR32_ALIAS_PICOST_W1,
  60991. + &avr32_opc_table[AVR32_OPC_STC_W1],
  60992. + {
  60993. + { 0, PICO_CPNO },
  60994. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  60995. + },
  60996. + },
  60997. + {
  60998. + AVR32_ALIAS_PICOST_W2,
  60999. + &avr32_opc_table[AVR32_OPC_STC_W2],
  61000. + {
  61001. + { 0, PICO_CPNO },
  61002. + { 1, 0 }, { 1, 1 },
  61003. + },
  61004. + },
  61005. + {
  61006. + AVR32_ALIAS_PICOST_W3,
  61007. + &avr32_opc_table[AVR32_OPC_STC_W3],
  61008. + {
  61009. + { 0, PICO_CPNO },
  61010. + { 1, 0 }, { 1, 1 }, { 1, 2 }, { 1, 3 },
  61011. + },
  61012. + },
  61013. + {
  61014. + AVR32_ALIAS_PICOSTM_D,
  61015. + &avr32_opc_table[AVR32_OPC_STCM_D],
  61016. + {
  61017. + { 0, PICO_CPNO },
  61018. + { 1, 0 }, { 1, 1 },
  61019. + },
  61020. + },
  61021. + {
  61022. + AVR32_ALIAS_PICOSTM_D_PU,
  61023. + &avr32_opc_table[AVR32_OPC_STCM_D_PU],
  61024. + {
  61025. + { 0, PICO_CPNO },
  61026. + { 1, 0 }, { 1, 1 },
  61027. + },
  61028. + },
  61029. + {
  61030. + AVR32_ALIAS_PICOSTM_W,
  61031. + &avr32_opc_table[AVR32_OPC_STCM_W],
  61032. + {
  61033. + { 0, PICO_CPNO },
  61034. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  61035. + },
  61036. + },
  61037. + {
  61038. + AVR32_ALIAS_PICOSTM_W_PU,
  61039. + &avr32_opc_table[AVR32_OPC_STCM_W_PU],
  61040. + {
  61041. + { 0, PICO_CPNO },
  61042. + { 1, 0 }, { 1, 1 }, { 1, 2 },
  61043. + },
  61044. + },
  61045. + };
  61046. +
  61047. +
  61048. +#define SYNTAX_NORMAL0(id, mne, opc, arch) \
  61049. + { \
  61050. + AVR32_SYNTAX_##id, arch, \
  61051. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61052. + AVR32_PARSER_NORMAL, \
  61053. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61054. + NULL, 0, { } \
  61055. + }
  61056. +#define SYNTAX_NORMAL1(id, mne, opc, op0, arch) \
  61057. + { \
  61058. + AVR32_SYNTAX_##id, arch, \
  61059. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61060. + AVR32_PARSER_NORMAL, \
  61061. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61062. + NULL, 1, \
  61063. + { \
  61064. + AVR32_OPERAND_##op0, \
  61065. + } \
  61066. + }
  61067. +#define SYNTAX_NORMALM1(id, mne, opc, op0, arch) \
  61068. + { \
  61069. + AVR32_SYNTAX_##id, arch, \
  61070. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61071. + AVR32_PARSER_NORMAL, \
  61072. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61073. + NULL, -1, \
  61074. + { \
  61075. + AVR32_OPERAND_##op0, \
  61076. + } \
  61077. + }
  61078. +#define SYNTAX_NORMAL2(id, mne, opc, op0, op1, arch) \
  61079. + { \
  61080. + AVR32_SYNTAX_##id, arch, \
  61081. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61082. + AVR32_PARSER_NORMAL, \
  61083. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61084. + NULL, 2, \
  61085. + { \
  61086. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61087. + } \
  61088. + }
  61089. +#define SYNTAX_NORMALM2(id, mne, opc, op0, op1, arch) \
  61090. + { \
  61091. + AVR32_SYNTAX_##id, arch, \
  61092. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61093. + AVR32_PARSER_NORMAL, \
  61094. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61095. + NULL, -2, \
  61096. + { \
  61097. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61098. + } \
  61099. + }
  61100. +#define SYNTAX_NORMAL3(id, mne, opc, op0, op1, op2, arch) \
  61101. + { \
  61102. + AVR32_SYNTAX_##id, arch, \
  61103. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61104. + AVR32_PARSER_NORMAL, \
  61105. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61106. + NULL, 3, \
  61107. + { \
  61108. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61109. + AVR32_OPERAND_##op2, \
  61110. + } \
  61111. + }
  61112. +#define SYNTAX_NORMALM3(id, mne, opc, op0, op1, op2, arch) \
  61113. + { \
  61114. + AVR32_SYNTAX_##id, arch, \
  61115. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61116. + AVR32_PARSER_NORMAL, \
  61117. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61118. + NULL, -3, \
  61119. + { \
  61120. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61121. + AVR32_OPERAND_##op2, \
  61122. + } \
  61123. + }
  61124. +#define SYNTAX_NORMAL4(id, mne, opc, op0, op1, op2, op3, arch)\
  61125. + { \
  61126. + AVR32_SYNTAX_##id, arch, \
  61127. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61128. + AVR32_PARSER_NORMAL, \
  61129. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61130. + NULL, 4, \
  61131. + { \
  61132. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61133. + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
  61134. + } \
  61135. + }
  61136. +#define SYNTAX_NORMAL5(id, mne, opc, op0, op1, op2, op3, op4, arch) \
  61137. + { \
  61138. + AVR32_SYNTAX_##id, arch, \
  61139. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61140. + AVR32_PARSER_NORMAL, \
  61141. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61142. + NULL, 5, \
  61143. + { \
  61144. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61145. + AVR32_OPERAND_##op2, AVR32_OPERAND_##op3, \
  61146. + AVR32_OPERAND_##op4, \
  61147. + } \
  61148. + }
  61149. +
  61150. +#define SYNTAX_NORMAL_C1(id, mne, opc, nxt, op0, arch) \
  61151. + { \
  61152. + AVR32_SYNTAX_##id, arch, \
  61153. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61154. + AVR32_PARSER_NORMAL, \
  61155. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61156. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 1, \
  61157. + { \
  61158. + AVR32_OPERAND_##op0, \
  61159. + } \
  61160. + }
  61161. +#define SYNTAX_NORMAL_CM1(id, mne, opc, nxt, op0, arch) \
  61162. + { \
  61163. + AVR32_SYNTAX_##id, arch, \
  61164. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61165. + AVR32_PARSER_NORMAL, \
  61166. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61167. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -1, \
  61168. + { \
  61169. + AVR32_OPERAND_##op0, \
  61170. + } \
  61171. + }
  61172. +#define SYNTAX_NORMAL_C2(id, mne, opc, nxt, op0, op1, arch) \
  61173. + { \
  61174. + AVR32_SYNTAX_##id, arch, \
  61175. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61176. + AVR32_PARSER_NORMAL, \
  61177. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61178. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 2, \
  61179. + { \
  61180. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61181. + } \
  61182. + }
  61183. +#define SYNTAX_NORMAL_CM2(id, mne, opc, nxt, op0, op1, arch) \
  61184. + { \
  61185. + AVR32_SYNTAX_##id, arch, \
  61186. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61187. + AVR32_PARSER_NORMAL, \
  61188. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61189. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -2, \
  61190. + { \
  61191. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61192. + } \
  61193. + }
  61194. +#define SYNTAX_NORMAL_C3(id, mne, opc, nxt, op0, op1, op2, arch) \
  61195. + { \
  61196. + AVR32_SYNTAX_##id, arch, \
  61197. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61198. + AVR32_PARSER_NORMAL, \
  61199. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61200. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], 3, \
  61201. + { \
  61202. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61203. + AVR32_OPERAND_##op2, \
  61204. + } \
  61205. + }
  61206. +#define SYNTAX_NORMAL_CM3(id, mne, opc, nxt, op0, op1, op2, arch) \
  61207. + { \
  61208. + AVR32_SYNTAX_##id, arch, \
  61209. + &avr32_mnemonic_table[AVR32_MNEMONIC_##mne], \
  61210. + AVR32_PARSER_NORMAL, \
  61211. + { &avr32_opc_table[AVR32_OPC_##opc], }, \
  61212. + &avr32_syntax_table[AVR32_SYNTAX_##nxt], -3, \
  61213. + { \
  61214. + AVR32_OPERAND_##op0, AVR32_OPERAND_##op1, \
  61215. + AVR32_OPERAND_##op2, \
  61216. + } \
  61217. + }
  61218. +
  61219. +
  61220. +const struct avr32_syntax avr32_syntax_table[] =
  61221. + {
  61222. + SYNTAX_NORMAL1(ABS, ABS, ABS, INTREG, AVR32_V1),
  61223. + SYNTAX_NORMAL1(ACALL, ACALL, ACALL, UNSIGNED_CONST_W, AVR32_V1),
  61224. + SYNTAX_NORMAL1(ACR, ACR, ACR, INTREG,AVR32_V1),
  61225. + SYNTAX_NORMAL3(ADC, ADC, ADC, INTREG, INTREG, INTREG, AVR32_V1),
  61226. + SYNTAX_NORMAL_C2(ADD1, ADD, ADD1, ADD2, INTREG, INTREG, AVR32_V1),
  61227. + SYNTAX_NORMAL3(ADD2, ADD, ADD2, INTREG, INTREG, INTREG_LSL, AVR32_V1),
  61228. + SYNTAX_NORMAL3(ADDABS, ADDABS, ADDABS, INTREG, INTREG, INTREG, AVR32_V1),
  61229. + SYNTAX_NORMAL3(ADDHH_W, ADDHH_W, ADDHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61230. + SYNTAX_NORMAL_C2(AND1, AND, AND1, AND2, INTREG, INTREG, AVR32_V1),
  61231. + SYNTAX_NORMAL_C3(AND2, AND, AND2, AND3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
  61232. + SYNTAX_NORMAL3(AND3, AND, AND3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
  61233. + SYNTAX_NORMAL_C2(ANDH, ANDH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
  61234. + SYNTAX_NORMAL3(ANDH_COH, ANDH, ANDH_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
  61235. + SYNTAX_NORMAL_C2(ANDL, ANDL, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, AVR32_V1),
  61236. + SYNTAX_NORMAL3(ANDL_COH, ANDL, ANDL_COH, INTREG, UNSIGNED_CONST, COH, AVR32_V1),
  61237. + SYNTAX_NORMAL2(ANDN, ANDN, ANDN, INTREG, INTREG, AVR32_V1),
  61238. + SYNTAX_NORMAL_C3(ASR1, ASR, ASR1, ASR3, INTREG, INTREG, INTREG, AVR32_V1),
  61239. + SYNTAX_NORMAL_C3(ASR3, ASR, ASR3, ASR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61240. + SYNTAX_NORMAL2(ASR2, ASR, ASR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61241. + SYNTAX_NORMAL4(BFEXTS, BFEXTS, BFEXTS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
  61242. + SYNTAX_NORMAL4(BFEXTU, BFEXTU, BFEXTU, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
  61243. + SYNTAX_NORMAL4(BFINS, BFINS, BFINS, INTREG, INTREG, UNSIGNED_NUMBER, UNSIGNED_NUMBER, AVR32_V1),
  61244. + SYNTAX_NORMAL2(BLD, BLD, BLD, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61245. + SYNTAX_NORMAL_C1(BREQ1, BREQ, BREQ1, BREQ2, JMPLABEL, AVR32_V1),
  61246. + SYNTAX_NORMAL_C1(BRNE1, BRNE, BRNE1, BRNE2, JMPLABEL, AVR32_V1),
  61247. + SYNTAX_NORMAL_C1(BRCC1, BRCC, BRCC1, BRCC2, JMPLABEL, AVR32_V1),
  61248. + SYNTAX_NORMAL_C1(BRCS1, BRCS, BRCS1, BRCS2, JMPLABEL, AVR32_V1),
  61249. + SYNTAX_NORMAL_C1(BRGE1, BRGE, BRGE1, BRGE2, JMPLABEL, AVR32_V1),
  61250. + SYNTAX_NORMAL_C1(BRLT1, BRLT, BRLT1, BRLT2, JMPLABEL, AVR32_V1),
  61251. + SYNTAX_NORMAL_C1(BRMI1, BRMI, BRMI1, BRMI2, JMPLABEL, AVR32_V1),
  61252. + SYNTAX_NORMAL_C1(BRPL1, BRPL, BRPL1, BRPL2, JMPLABEL, AVR32_V1),
  61253. + SYNTAX_NORMAL_C1(BRHS1, BRHS, BRCC1, BRHS2, JMPLABEL, AVR32_V1),
  61254. + SYNTAX_NORMAL_C1(BRLO1, BRLO, BRCS1, BRLO2, JMPLABEL, AVR32_V1),
  61255. + SYNTAX_NORMAL1(BREQ2, BREQ, BREQ2, JMPLABEL, AVR32_V1),
  61256. + SYNTAX_NORMAL1(BRNE2, BRNE, BRNE2, JMPLABEL, AVR32_V1),
  61257. + SYNTAX_NORMAL1(BRCC2, BRCC, BRCC2, JMPLABEL, AVR32_V1),
  61258. + SYNTAX_NORMAL1(BRCS2, BRCS, BRCS2, JMPLABEL, AVR32_V1),
  61259. + SYNTAX_NORMAL1(BRGE2, BRGE, BRGE2, JMPLABEL, AVR32_V1),
  61260. + SYNTAX_NORMAL1(BRLT2, BRLT, BRLT2, JMPLABEL, AVR32_V1),
  61261. + SYNTAX_NORMAL1(BRMI2, BRMI, BRMI2, JMPLABEL, AVR32_V1),
  61262. + SYNTAX_NORMAL1(BRPL2, BRPL, BRPL2, JMPLABEL, AVR32_V1),
  61263. + SYNTAX_NORMAL1(BRLS, BRLS, BRLS, JMPLABEL, AVR32_V1),
  61264. + SYNTAX_NORMAL1(BRGT, BRGT, BRGT, JMPLABEL, AVR32_V1),
  61265. + SYNTAX_NORMAL1(BRLE, BRLE, BRLE, JMPLABEL, AVR32_V1),
  61266. + SYNTAX_NORMAL1(BRHI, BRHI, BRHI, JMPLABEL, AVR32_V1),
  61267. + SYNTAX_NORMAL1(BRVS, BRVS, BRVS, JMPLABEL, AVR32_V1),
  61268. + SYNTAX_NORMAL1(BRVC, BRVC, BRVC, JMPLABEL, AVR32_V1),
  61269. + SYNTAX_NORMAL1(BRQS, BRQS, BRQS, JMPLABEL, AVR32_V1),
  61270. + SYNTAX_NORMAL1(BRAL, BRAL, BRAL, JMPLABEL, AVR32_V1),
  61271. + SYNTAX_NORMAL1(BRHS2, BRHS, BRCC2, JMPLABEL, AVR32_V1),
  61272. + SYNTAX_NORMAL1(BRLO2, BRLO, BRCS2, JMPLABEL, AVR32_V1),
  61273. + SYNTAX_NORMAL0(BREAKPOINT, BREAKPOINT, BREAKPOINT, AVR32_V1),
  61274. + SYNTAX_NORMAL1(BREV, BREV, BREV, INTREG, AVR32_V1),
  61275. + SYNTAX_NORMAL2(BST, BST, BST, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61276. + SYNTAX_NORMAL2(CACHE, CACHE, CACHE, INTREG_SDISP, UNSIGNED_NUMBER, AVR32_V1),
  61277. + SYNTAX_NORMAL1(CASTS_B, CASTS_B, CASTS_B, INTREG, AVR32_V1),
  61278. + SYNTAX_NORMAL1(CASTS_H, CASTS_H, CASTS_H, INTREG, AVR32_V1),
  61279. + SYNTAX_NORMAL1(CASTU_B, CASTU_B, CASTU_B, INTREG, AVR32_V1),
  61280. + SYNTAX_NORMAL1(CASTU_H, CASTU_H, CASTU_H, INTREG, AVR32_V1),
  61281. + SYNTAX_NORMAL2(CBR, CBR, CBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61282. + SYNTAX_NORMAL2(CLZ, CLZ, CLZ, INTREG, INTREG, AVR32_V1),
  61283. + SYNTAX_NORMAL1(COM, COM, COM, INTREG, AVR32_V1),
  61284. + SYNTAX_NORMAL5(COP, COP, COP, CPNO, CPREG, CPREG, CPREG, UNSIGNED_NUMBER, AVR32_V1),
  61285. + SYNTAX_NORMAL2(CP_B, CP_B, CP_B, INTREG, INTREG, AVR32_V1),
  61286. + SYNTAX_NORMAL2(CP_H, CP_H, CP_H, INTREG, INTREG, AVR32_V1),
  61287. + SYNTAX_NORMAL_C2(CP_W1, CP_W, CP_W1, CP_W2, INTREG, INTREG, AVR32_V1),
  61288. + SYNTAX_NORMAL_C2(CP_W2, CP_W, CP_W2, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
  61289. + SYNTAX_NORMAL2(CP_W3, CP_W, CP_W3, INTREG, SIGNED_CONST, AVR32_V1),
  61290. + SYNTAX_NORMAL_C2(CPC1, CPC, CPC1, CPC2, INTREG, INTREG, AVR32_V1),
  61291. + SYNTAX_NORMAL1(CPC2, CPC, CPC2, INTREG, AVR32_V1),
  61292. + SYNTAX_NORMAL1(CSRF, CSRF, CSRF, UNSIGNED_NUMBER, AVR32_V1),
  61293. + SYNTAX_NORMAL1(CSRFCZ, CSRFCZ, CSRFCZ, UNSIGNED_NUMBER, AVR32_V1),
  61294. + SYNTAX_NORMAL3(DIVS, DIVS, DIVS, INTREG, INTREG, INTREG, AVR32_V1),
  61295. + SYNTAX_NORMAL3(DIVU, DIVU, DIVU, INTREG, INTREG, INTREG, AVR32_V1),
  61296. + SYNTAX_NORMAL_C2(EOR1, EOR, EOR1, EOR2, INTREG, INTREG, AVR32_V1),
  61297. + SYNTAX_NORMAL_C3(EOR2, EOR, EOR2, EOR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
  61298. + SYNTAX_NORMAL3(EOR3, EOR, EOR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
  61299. + SYNTAX_NORMAL2(EORL, EORL, EORL, INTREG, UNSIGNED_CONST, AVR32_V1),
  61300. + SYNTAX_NORMAL2(EORH, EORH, EORH, INTREG, UNSIGNED_CONST, AVR32_V1),
  61301. + SYNTAX_NORMAL0(FRS, FRS, FRS, AVR32_V1),
  61302. + SYNTAX_NORMAL0(SSCALL, SSCALL, SSCALL, AVR32_V3),
  61303. + SYNTAX_NORMAL0(RETSS, RETSS, RETSS, AVR32_V3),
  61304. + SYNTAX_NORMAL1(ICALL, ICALL, ICALL, INTREG, AVR32_V1),
  61305. + SYNTAX_NORMAL1(INCJOSP, INCJOSP, INCJOSP, JOSPINC, AVR32_V1),
  61306. + SYNTAX_NORMAL_C2(LD_D1, LD_D, LD_D1, LD_D2, DWREG, INTREG_POSTINC, AVR32_V1),
  61307. + SYNTAX_NORMAL_C2(LD_D2, LD_D, LD_D2, LD_D3, DWREG, INTREG_PREDEC, AVR32_V1),
  61308. + SYNTAX_NORMAL_C2(LD_D3, LD_D, LD_D3, LD_D5, DWREG, INTREG, AVR32_V1),
  61309. + SYNTAX_NORMAL_C2(LD_D5, LD_D, LD_D5, LD_D4, DWREG, INTREG_INDEX, AVR32_V1),
  61310. + SYNTAX_NORMAL2(LD_D4, LD_D, LD_D4, DWREG, INTREG_SDISP, AVR32_V1),
  61311. + SYNTAX_NORMAL_C2(LD_SB2, LD_SB, LD_SB2, LD_SB1, INTREG, INTREG_INDEX, AVR32_V1),
  61312. + SYNTAX_NORMAL2(LD_SB1, LD_SB, LD_SB1, INTREG, INTREG_SDISP, AVR32_V1),
  61313. + SYNTAX_NORMAL_C2(LD_UB1, LD_UB, LD_UB1, LD_UB2, INTREG, INTREG_POSTINC, AVR32_V1),
  61314. + SYNTAX_NORMAL_C2(LD_UB2, LD_UB, LD_UB2, LD_UB5, INTREG, INTREG_PREDEC, AVR32_V1),
  61315. + SYNTAX_NORMAL_C2(LD_UB5, LD_UB, LD_UB5, LD_UB3, INTREG, INTREG_INDEX, AVR32_V1),
  61316. + SYNTAX_NORMAL_C2(LD_UB3, LD_UB, LD_UB3, LD_UB4, INTREG, INTREG_UDISP, AVR32_V1),
  61317. + SYNTAX_NORMAL2(LD_UB4, LD_UB, LD_UB4, INTREG, INTREG_SDISP, AVR32_V1),
  61318. + SYNTAX_NORMAL_C2(LD_SH1, LD_SH, LD_SH1, LD_SH2, INTREG, INTREG_POSTINC, AVR32_V1),
  61319. + SYNTAX_NORMAL_C2(LD_SH2, LD_SH, LD_SH2, LD_SH5, INTREG, INTREG_PREDEC, AVR32_V1),
  61320. + SYNTAX_NORMAL_C2(LD_SH5, LD_SH, LD_SH5, LD_SH3, INTREG, INTREG_INDEX, AVR32_V1),
  61321. + SYNTAX_NORMAL_C2(LD_SH3, LD_SH, LD_SH3, LD_SH4, INTREG, INTREG_UDISP_H, AVR32_V1),
  61322. + SYNTAX_NORMAL2(LD_SH4, LD_SH, LD_SH4, INTREG, INTREG_SDISP, AVR32_V1),
  61323. + SYNTAX_NORMAL_C2(LD_UH1, LD_UH, LD_UH1, LD_UH2, INTREG, INTREG_POSTINC, AVR32_V1),
  61324. + SYNTAX_NORMAL_C2(LD_UH2, LD_UH, LD_UH2, LD_UH5, INTREG, INTREG_PREDEC, AVR32_V1),
  61325. + SYNTAX_NORMAL_C2(LD_UH5, LD_UH, LD_UH5, LD_UH3, INTREG, INTREG_INDEX, AVR32_V1),
  61326. + SYNTAX_NORMAL_C2(LD_UH3, LD_UH, LD_UH3, LD_UH4, INTREG, INTREG_UDISP_H, AVR32_V1),
  61327. + SYNTAX_NORMAL2(LD_UH4, LD_UH, LD_UH4, INTREG, INTREG_SDISP, AVR32_V1),
  61328. + SYNTAX_NORMAL_C2(LD_W1, LD_W, LD_W1, LD_W2, INTREG, INTREG_POSTINC, AVR32_V1),
  61329. + SYNTAX_NORMAL_C2(LD_W2, LD_W, LD_W2, LD_W5, INTREG, INTREG_PREDEC, AVR32_V1),
  61330. + SYNTAX_NORMAL_C2(LD_W5, LD_W, LD_W5, LD_W6, INTREG, INTREG_INDEX, AVR32_V1),
  61331. + SYNTAX_NORMAL_C2(LD_W6, LD_W, LD_W6, LD_W3, INTREG, INTREG_XINDEX, AVR32_V1),
  61332. + SYNTAX_NORMAL_C2(LD_W3, LD_W, LD_W3, LD_W4, INTREG, INTREG_UDISP_W, AVR32_V1),
  61333. + SYNTAX_NORMAL2(LD_W4, LD_W, LD_W4, INTREG, INTREG_SDISP, AVR32_V1),
  61334. + SYNTAX_NORMAL3(LDC_D1, LDC_D, LDC_D1, CPNO, CPREG_D, INTREG_UDISP_W, AVR32_V1),
  61335. + SYNTAX_NORMAL_C3(LDC_D2, LDC_D, LDC_D2, LDC_D1, CPNO, CPREG_D, INTREG_PREDEC, AVR32_V1),
  61336. + SYNTAX_NORMAL_C3(LDC_D3, LDC_D, LDC_D3, LDC_D2, CPNO, CPREG_D, INTREG_INDEX, AVR32_V1),
  61337. + SYNTAX_NORMAL3(LDC_W1, LDC_W, LDC_W1, CPNO, CPREG, INTREG_UDISP_W, AVR32_V1),
  61338. + SYNTAX_NORMAL_C3(LDC_W2, LDC_W, LDC_W2, LDC_W1, CPNO, CPREG, INTREG_PREDEC, AVR32_V1),
  61339. + SYNTAX_NORMAL_C3(LDC_W3, LDC_W, LDC_W3, LDC_W2, CPNO, CPREG, INTREG_INDEX, AVR32_V1),
  61340. + SYNTAX_NORMAL2(LDC0_D, LDC0_D, LDC0_D, CPREG_D, INTREG_UDISP_W, AVR32_V1),
  61341. + SYNTAX_NORMAL2(LDC0_W, LDC0_W, LDC0_W, CPREG, INTREG_UDISP_W, AVR32_V1),
  61342. + SYNTAX_NORMAL_CM3(LDCM_D, LDCM_D, LDCM_D, LDCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
  61343. + SYNTAX_NORMALM3(LDCM_D_PU, LDCM_D, LDCM_D_PU, CPNO, INTREG_POSTINC, REGLIST_CPD8, AVR32_V1),
  61344. + SYNTAX_NORMAL_CM3(LDCM_W, LDCM_W, LDCM_W, LDCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
  61345. + SYNTAX_NORMALM3(LDCM_W_PU, LDCM_W, LDCM_W_PU, CPNO, INTREG_POSTINC, REGLIST_CP8, AVR32_V1),
  61346. + SYNTAX_NORMAL2(LDDPC, LDDPC, LDDPC, INTREG, PC_UDISP_W, AVR32_V1),
  61347. + SYNTAX_NORMAL2(LDDPC_EXT, LDDPC, LDDPC_EXT, INTREG, SIGNED_CONST, AVR32_V1),
  61348. + SYNTAX_NORMAL2(LDDSP, LDDSP, LDDSP, INTREG, SP_UDISP_W, AVR32_V1),
  61349. + SYNTAX_NORMAL2(LDINS_B, LDINS_B, LDINS_B, INTREG_BSEL, INTREG_SDISP, AVR32_V1),
  61350. + SYNTAX_NORMAL2(LDINS_H, LDINS_H, LDINS_H, INTREG_HSEL, INTREG_SDISP_H, AVR32_V1),
  61351. + SYNTAX_NORMALM1(LDM, LDM, LDM, REGLIST_LDM, AVR32_V1),
  61352. + SYNTAX_NORMAL_CM2(LDMTS, LDMTS, LDMTS, LDMTS_PU, INTREG, REGLIST16, AVR32_V1),
  61353. + SYNTAX_NORMALM2(LDMTS_PU, LDMTS, LDMTS_PU, INTREG_POSTINC, REGLIST16, AVR32_V1),
  61354. + SYNTAX_NORMAL2(LDSWP_SH, LDSWP_SH, LDSWP_SH, INTREG, INTREG_SDISP_H, AVR32_V1),
  61355. + SYNTAX_NORMAL2(LDSWP_UH, LDSWP_UH, LDSWP_UH, INTREG, INTREG_SDISP_H, AVR32_V1),
  61356. + SYNTAX_NORMAL2(LDSWP_W, LDSWP_W, LDSWP_W, INTREG, INTREG_SDISP_W, AVR32_V1),
  61357. + SYNTAX_NORMAL_C3(LSL1, LSL, LSL1, LSL3, INTREG, INTREG, INTREG, AVR32_V1),
  61358. + SYNTAX_NORMAL_C3(LSL3, LSL, LSL3, LSL2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61359. + SYNTAX_NORMAL2(LSL2, LSL, LSL2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61360. + SYNTAX_NORMAL_C3(LSR1, LSR, LSR1, LSR3, INTREG, INTREG, INTREG, AVR32_V1),
  61361. + SYNTAX_NORMAL_C3(LSR3, LSR, LSR3, LSR2, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61362. + SYNTAX_NORMAL2(LSR2, LSR, LSR2, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61363. + SYNTAX_NORMAL3(MAC, MAC, MAC, INTREG, INTREG, INTREG, AVR32_V1),
  61364. + SYNTAX_NORMAL3(MACHH_D, MACHH_D, MACHH_D, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61365. + SYNTAX_NORMAL3(MACHH_W, MACHH_W, MACHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61366. + SYNTAX_NORMAL3(MACS_D, MACS_D, MACS_D, INTREG, INTREG, INTREG, AVR32_V1),
  61367. + SYNTAX_NORMAL3(MACSATHH_W, MACSATHH_W, MACSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61368. + SYNTAX_NORMAL3(MACUD, MACU_D, MACUD, INTREG, INTREG, INTREG, AVR32_V1),
  61369. + SYNTAX_NORMAL3(MACWH_D, MACWH_D, MACWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
  61370. + SYNTAX_NORMAL3(MAX, MAX, MAX, INTREG, INTREG, INTREG, AVR32_V1),
  61371. + SYNTAX_NORMAL1(MCALL, MCALL, MCALL, MCALL, AVR32_V1),
  61372. + SYNTAX_NORMAL2(MFDR, MFDR, MFDR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
  61373. + SYNTAX_NORMAL2(MFSR, MFSR, MFSR, INTREG, UNSIGNED_CONST_W, AVR32_V1),
  61374. + SYNTAX_NORMAL3(MIN, MIN, MIN, INTREG, INTREG, INTREG, AVR32_V1),
  61375. + SYNTAX_NORMAL_C2(MOV3, MOV, MOV3, MOV1, INTREG, INTREG, AVR32_V1),
  61376. + SYNTAX_NORMAL_C2(MOV1, MOV, MOV1, MOV2, INTREG, SIGNED_CONST, AVR32_V1),
  61377. + SYNTAX_NORMAL2(MOV2, MOV, MOV2,INTREG, SIGNED_CONST, AVR32_V1),
  61378. + SYNTAX_NORMAL_C2(MOVEQ1, MOVEQ, MOVEQ1, MOVEQ2, INTREG, INTREG, AVR32_V1),
  61379. + SYNTAX_NORMAL_C2(MOVNE1, MOVNE, MOVNE1, MOVNE2, INTREG, INTREG, AVR32_V1),
  61380. + SYNTAX_NORMAL_C2(MOVCC1, MOVCC, MOVCC1, MOVCC2, INTREG, INTREG, AVR32_V1),
  61381. + SYNTAX_NORMAL_C2(MOVCS1, MOVCS, MOVCS1, MOVCS2, INTREG, INTREG, AVR32_V1),
  61382. + SYNTAX_NORMAL_C2(MOVGE1, MOVGE, MOVGE1, MOVGE2, INTREG, INTREG, AVR32_V1),
  61383. + SYNTAX_NORMAL_C2(MOVLT1, MOVLT, MOVLT1, MOVLT2, INTREG, INTREG, AVR32_V1),
  61384. + SYNTAX_NORMAL_C2(MOVMI1, MOVMI, MOVMI1, MOVMI2, INTREG, INTREG, AVR32_V1),
  61385. + SYNTAX_NORMAL_C2(MOVPL1, MOVPL, MOVPL1, MOVPL2, INTREG, INTREG, AVR32_V1),
  61386. + SYNTAX_NORMAL_C2(MOVLS1, MOVLS, MOVLS1, MOVLS2, INTREG, INTREG, AVR32_V1),
  61387. + SYNTAX_NORMAL_C2(MOVGT1, MOVGT, MOVGT1, MOVGT2, INTREG, INTREG, AVR32_V1),
  61388. + SYNTAX_NORMAL_C2(MOVLE1, MOVLE, MOVLE1, MOVLE2, INTREG, INTREG, AVR32_V1),
  61389. + SYNTAX_NORMAL_C2(MOVHI1, MOVHI, MOVHI1, MOVHI2, INTREG, INTREG, AVR32_V1),
  61390. + SYNTAX_NORMAL_C2(MOVVS1, MOVVS, MOVVS1, MOVVS2, INTREG, INTREG, AVR32_V1),
  61391. + SYNTAX_NORMAL_C2(MOVVC1, MOVVC, MOVVC1, MOVVC2, INTREG, INTREG, AVR32_V1),
  61392. + SYNTAX_NORMAL_C2(MOVQS1, MOVQS, MOVQS1, MOVQS2, INTREG, INTREG, AVR32_V1),
  61393. + SYNTAX_NORMAL_C2(MOVAL1, MOVAL, MOVAL1, MOVAL2, INTREG, INTREG, AVR32_V1),
  61394. + SYNTAX_NORMAL_C2(MOVHS1, MOVHS, MOVCC1, MOVHS2, INTREG, INTREG, AVR32_V1),
  61395. + SYNTAX_NORMAL_C2(MOVLO1, MOVLO, MOVCS1, MOVLO2, INTREG, INTREG, AVR32_V1),
  61396. + SYNTAX_NORMAL2(MOVEQ2, MOVEQ, MOVEQ2, INTREG, SIGNED_CONST, AVR32_V1),
  61397. + SYNTAX_NORMAL2(MOVNE2, MOVNE, MOVNE2, INTREG, SIGNED_CONST, AVR32_V1),
  61398. + SYNTAX_NORMAL2(MOVCC2, MOVCC, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
  61399. + SYNTAX_NORMAL2(MOVCS2, MOVCS, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
  61400. + SYNTAX_NORMAL2(MOVGE2, MOVGE, MOVGE2, INTREG, SIGNED_CONST, AVR32_V1),
  61401. + SYNTAX_NORMAL2(MOVLT2, MOVLT, MOVLT2, INTREG, SIGNED_CONST, AVR32_V1),
  61402. + SYNTAX_NORMAL2(MOVMI2, MOVMI, MOVMI2, INTREG, SIGNED_CONST, AVR32_V1),
  61403. + SYNTAX_NORMAL2(MOVPL2, MOVPL, MOVPL2, INTREG, SIGNED_CONST, AVR32_V1),
  61404. + SYNTAX_NORMAL2(MOVLS2, MOVLS, MOVLS2, INTREG, SIGNED_CONST, AVR32_V1),
  61405. + SYNTAX_NORMAL2(MOVGT2, MOVGT, MOVGT2, INTREG, SIGNED_CONST, AVR32_V1),
  61406. + SYNTAX_NORMAL2(MOVLE2, MOVLE, MOVLE2, INTREG, SIGNED_CONST, AVR32_V1),
  61407. + SYNTAX_NORMAL2(MOVHI2, MOVHI, MOVHI2, INTREG, SIGNED_CONST, AVR32_V1),
  61408. + SYNTAX_NORMAL2(MOVVS2, MOVVS, MOVVS2, INTREG, SIGNED_CONST, AVR32_V1),
  61409. + SYNTAX_NORMAL2(MOVVC2, MOVVC, MOVVC2, INTREG, SIGNED_CONST, AVR32_V1),
  61410. + SYNTAX_NORMAL2(MOVQS2, MOVQS, MOVQS2, INTREG, SIGNED_CONST, AVR32_V1),
  61411. + SYNTAX_NORMAL2(MOVAL2, MOVAL, MOVAL2, INTREG, SIGNED_CONST, AVR32_V1),
  61412. + SYNTAX_NORMAL2(MOVHS2, MOVHS, MOVCC2, INTREG, SIGNED_CONST, AVR32_V1),
  61413. + SYNTAX_NORMAL2(MOVLO2, MOVLO, MOVCS2, INTREG, SIGNED_CONST, AVR32_V1),
  61414. + SYNTAX_NORMAL2(MTDR, MTDR, MTDR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
  61415. + SYNTAX_NORMAL2(MTSR, MTSR, MTSR, UNSIGNED_CONST_W, INTREG, AVR32_V1),
  61416. + SYNTAX_NORMAL_C2(MUL1, MUL, MUL1, MUL2, INTREG, INTREG, AVR32_V1),
  61417. + SYNTAX_NORMAL_C3(MUL2, MUL, MUL2, MUL3, INTREG, INTREG, INTREG, AVR32_V1),
  61418. + SYNTAX_NORMAL3(MUL3, MUL, MUL3, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
  61419. + SYNTAX_NORMAL3(MULHH_W, MULHH_W, MULHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61420. + SYNTAX_NORMAL3(MULNHH_W, MULNHH_W, MULNHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61421. + SYNTAX_NORMAL3(MULNWH_D, MULNWH_D, MULNWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
  61422. + SYNTAX_NORMAL3(MULSD, MULS_D, MULSD, INTREG, INTREG, INTREG, AVR32_V1),
  61423. + SYNTAX_NORMAL3(MULSATHH_H, MULSATHH_H, MULSATHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61424. + SYNTAX_NORMAL3(MULSATHH_W, MULSATHH_W, MULSATHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61425. + SYNTAX_NORMAL3(MULSATRNDHH_H, MULSATRNDHH_H, MULSATRNDHH_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61426. + SYNTAX_NORMAL3(MULSATRNDWH_W, MULSATRNDWH_W, MULSATRNDWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
  61427. + SYNTAX_NORMAL3(MULSATWH_W, MULSATWH_W, MULSATWH_W, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
  61428. + SYNTAX_NORMAL3(MULU_D, MULU_D, MULU_D, INTREG, INTREG, INTREG, AVR32_V1),
  61429. + SYNTAX_NORMAL3(MULWH_D, MULWH_D, MULWH_D, INTREG, INTREG, INTREG_HSEL, AVR32_DSP),
  61430. + SYNTAX_NORMAL1(MUSFR, MUSFR, MUSFR, INTREG, AVR32_V1),
  61431. + SYNTAX_NORMAL1(MUSTR, MUSTR, MUSTR, INTREG, AVR32_V1),
  61432. + SYNTAX_NORMAL3(MVCR_D, MVCR_D, MVCR_D, CPNO, DWREG, CPREG_D, AVR32_V1),
  61433. + SYNTAX_NORMAL3(MVCR_W, MVCR_W, MVCR_W, CPNO, INTREG, CPREG, AVR32_V1),
  61434. + SYNTAX_NORMAL3(MVRC_D, MVRC_D, MVRC_D, CPNO, CPREG_D, DWREG, AVR32_V1),
  61435. + SYNTAX_NORMAL3(MVRC_W, MVRC_W, MVRC_W, CPNO, CPREG, INTREG, AVR32_V1),
  61436. + SYNTAX_NORMAL1(NEG, NEG, NEG, INTREG, AVR32_V1),
  61437. + SYNTAX_NORMAL0(NOP, NOP, NOP, AVR32_V1),
  61438. + SYNTAX_NORMAL_C2(OR1, OR, OR1, OR2, INTREG, INTREG, AVR32_V1),
  61439. + SYNTAX_NORMAL_C3(OR2, OR, OR2, OR3, INTREG, INTREG, INTREG_LSL, AVR32_V1),
  61440. + SYNTAX_NORMAL3(OR3, OR, OR3, INTREG, INTREG, INTREG_LSR, AVR32_V1),
  61441. + SYNTAX_NORMAL2(ORH, ORH, ORH, INTREG, UNSIGNED_CONST, AVR32_V1),
  61442. + SYNTAX_NORMAL2(ORL, ORL, ORL, INTREG, UNSIGNED_CONST, AVR32_V1),
  61443. + SYNTAX_NORMAL2(PABS_SB, PABS_SB, PABS_SB, INTREG, INTREG, AVR32_SIMD),
  61444. + SYNTAX_NORMAL2(PABS_SH, PABS_SH, PABS_SH, INTREG, INTREG, AVR32_SIMD),
  61445. + SYNTAX_NORMAL3(PACKSH_SB, PACKSH_SB, PACKSH_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61446. + SYNTAX_NORMAL3(PACKSH_UB, PACKSH_UB, PACKSH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61447. + SYNTAX_NORMAL3(PACKW_SH, PACKW_SH, PACKW_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61448. + SYNTAX_NORMAL3(PADD_B, PADD_B, PADD_B, INTREG, INTREG, INTREG, AVR32_SIMD),
  61449. + SYNTAX_NORMAL3(PADD_H, PADD_H, PADD_H, INTREG, INTREG, INTREG, AVR32_SIMD),
  61450. + SYNTAX_NORMAL3(PADDH_SH, PADDH_SH, PADDH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61451. + SYNTAX_NORMAL3(PADDH_UB, PADDH_UB, PADDH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61452. + SYNTAX_NORMAL3(PADDS_SB, PADDS_SB, PADDS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61453. + SYNTAX_NORMAL3(PADDS_SH, PADDS_SH, PADDS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61454. + SYNTAX_NORMAL3(PADDS_UB, PADDS_UB, PADDS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61455. + SYNTAX_NORMAL3(PADDS_UH, PADDS_UH, PADDS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61456. + SYNTAX_NORMAL3(PADDSUB_H, PADDSUB_H, PADDSUB_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61457. + SYNTAX_NORMAL3(PADDSUBH_SH, PADDSUBH_SH, PADDSUBH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61458. + SYNTAX_NORMAL3(PADDSUBS_SH, PADDSUBS_SH, PADDSUBS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61459. + SYNTAX_NORMAL3(PADDSUBS_UH, PADDSUBS_UH, PADDSUBS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61460. + SYNTAX_NORMAL3(PADDX_H, PADDX_H, PADDX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
  61461. + SYNTAX_NORMAL3(PADDXH_SH, PADDXH_SH, PADDXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61462. + SYNTAX_NORMAL3(PADDXS_SH, PADDXS_SH, PADDXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61463. + SYNTAX_NORMAL3(PADDXS_UH, PADDXS_UH, PADDXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61464. + SYNTAX_NORMAL3(PASR_B, PASR_B, PASR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61465. + SYNTAX_NORMAL3(PASR_H, PASR_H, PASR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61466. + SYNTAX_NORMAL3(PAVG_SH, PAVG_SH, PAVG_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61467. + SYNTAX_NORMAL3(PAVG_UB, PAVG_UB, PAVG_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61468. + SYNTAX_NORMAL3(PLSL_B, PLSL_B, PLSL_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61469. + SYNTAX_NORMAL3(PLSL_H, PLSL_H, PLSL_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61470. + SYNTAX_NORMAL3(PLSR_B, PLSR_B, PLSR_B, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61471. + SYNTAX_NORMAL3(PLSR_H, PLSR_H, PLSR_H, INTREG, INTREG, UNSIGNED_NUMBER, AVR32_SIMD),
  61472. + SYNTAX_NORMAL3(PMAX_SH, PMAX_SH, PMAX_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61473. + SYNTAX_NORMAL3(PMAX_UB, PMAX_UB, PMAX_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61474. + SYNTAX_NORMAL3(PMIN_SH, PMIN_SH, PMIN_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61475. + SYNTAX_NORMAL3(PMIN_UB, PMIN_UB, PMIN_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61476. + SYNTAX_NORMAL0(POPJC, POPJC, POPJC, AVR32_V1),
  61477. + SYNTAX_NORMAL_CM1(POPM, POPM, POPM, POPM_E, REGLIST9, AVR32_V1),
  61478. + SYNTAX_NORMALM1(POPM_E, POPM, POPM_E, REGLIST16, AVR32_V1),
  61479. + SYNTAX_NORMAL1(PREF, PREF, PREF, INTREG_SDISP, AVR32_V1),
  61480. + SYNTAX_NORMAL3(PSAD, PSAD, PSAD, INTREG, INTREG, INTREG, AVR32_SIMD),
  61481. + SYNTAX_NORMAL3(PSUB_B, PSUB_B, PSUB_B, INTREG, INTREG, INTREG, AVR32_SIMD),
  61482. + SYNTAX_NORMAL3(PSUB_H, PSUB_H, PSUB_H, INTREG, INTREG, INTREG, AVR32_SIMD),
  61483. + SYNTAX_NORMAL3(PSUBADD_H, PSUBADD_H, PSUBADD_H, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61484. + SYNTAX_NORMAL3(PSUBADDH_SH, PSUBADDH_SH, PSUBADDH_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61485. + SYNTAX_NORMAL3(PSUBADDS_SH, PSUBADDS_SH, PSUBADDS_SH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61486. + SYNTAX_NORMAL3(PSUBADDS_UH, PSUBADDS_UH, PSUBADDS_UH, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_SIMD),
  61487. + SYNTAX_NORMAL3(PSUBH_SH, PSUBH_SH, PSUBH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61488. + SYNTAX_NORMAL3(PSUBH_UB, PSUBH_UB, PSUBH_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61489. + SYNTAX_NORMAL3(PSUBS_SB, PSUBS_SB, PSUBS_SB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61490. + SYNTAX_NORMAL3(PSUBS_SH, PSUBS_SH, PSUBS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61491. + SYNTAX_NORMAL3(PSUBS_UB, PSUBS_UB, PSUBS_UB, INTREG, INTREG, INTREG, AVR32_SIMD),
  61492. + SYNTAX_NORMAL3(PSUBS_UH, PSUBS_UH, PSUBS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61493. + SYNTAX_NORMAL3(PSUBX_H, PSUBX_H, PSUBX_H, INTREG, INTREG, INTREG, AVR32_SIMD),
  61494. + SYNTAX_NORMAL3(PSUBXH_SH, PSUBXH_SH, PSUBXH_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61495. + SYNTAX_NORMAL3(PSUBXS_SH, PSUBXS_SH, PSUBXS_SH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61496. + SYNTAX_NORMAL3(PSUBXS_UH, PSUBXS_UH, PSUBXS_UH, INTREG, INTREG, INTREG, AVR32_SIMD),
  61497. + SYNTAX_NORMAL2(PUNPCKSB_H, PUNPCKSB_H, PUNPCKSB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
  61498. + SYNTAX_NORMAL2(PUNPCKUB_H, PUNPCKUB_H, PUNPCKUB_H, INTREG, INTREG_HSEL, AVR32_SIMD),
  61499. + SYNTAX_NORMAL0(PUSHJC, PUSHJC, PUSHJC, AVR32_V1),
  61500. + SYNTAX_NORMAL_CM1(PUSHM, PUSHM, PUSHM, PUSHM_E, REGLIST8, AVR32_V1),
  61501. + SYNTAX_NORMALM1(PUSHM_E, PUSHM, PUSHM_E, REGLIST16, AVR32_V1),
  61502. + SYNTAX_NORMAL_C1(RCALL1, RCALL, RCALL1, RCALL2, JMPLABEL, AVR32_V1),
  61503. + SYNTAX_NORMAL1(RCALL2, RCALL, RCALL2, JMPLABEL, AVR32_V1),
  61504. + SYNTAX_NORMAL1(RETEQ, RETEQ, RETEQ, RETVAL, AVR32_V1),
  61505. + SYNTAX_NORMAL1(RETNE, RETNE, RETNE, RETVAL, AVR32_V1),
  61506. + SYNTAX_NORMAL1(RETCC, RETCC, RETCC, RETVAL, AVR32_V1),
  61507. + SYNTAX_NORMAL1(RETCS, RETCS, RETCS, RETVAL, AVR32_V1),
  61508. + SYNTAX_NORMAL1(RETGE, RETGE, RETGE, RETVAL, AVR32_V1),
  61509. + SYNTAX_NORMAL1(RETLT, RETLT, RETLT, RETVAL, AVR32_V1),
  61510. + SYNTAX_NORMAL1(RETMI, RETMI, RETMI, RETVAL, AVR32_V1),
  61511. + SYNTAX_NORMAL1(RETPL, RETPL, RETPL, RETVAL, AVR32_V1),
  61512. + SYNTAX_NORMAL1(RETLS, RETLS, RETLS, RETVAL, AVR32_V1),
  61513. + SYNTAX_NORMAL1(RETGT, RETGT, RETGT, RETVAL, AVR32_V1),
  61514. + SYNTAX_NORMAL1(RETLE, RETLE, RETLE, RETVAL, AVR32_V1),
  61515. + SYNTAX_NORMAL1(RETHI, RETHI, RETHI, RETVAL, AVR32_V1),
  61516. + SYNTAX_NORMAL1(RETVS, RETVS, RETVS, RETVAL, AVR32_V1),
  61517. + SYNTAX_NORMAL1(RETVC, RETVC, RETVC, RETVAL, AVR32_V1),
  61518. + SYNTAX_NORMAL1(RETQS, RETQS, RETQS, RETVAL, AVR32_V1),
  61519. + SYNTAX_NORMAL1(RETAL, RETAL, RETAL, RETVAL, AVR32_V1),
  61520. + SYNTAX_NORMAL1(RETHS, RETHS, RETCC, RETVAL, AVR32_V1),
  61521. + SYNTAX_NORMAL1(RETLO, RETLO, RETCS, RETVAL, AVR32_V1),
  61522. + SYNTAX_NORMAL0(RETD, RETD, RETD, AVR32_V1),
  61523. + SYNTAX_NORMAL0(RETE, RETE, RETE, AVR32_V1),
  61524. + SYNTAX_NORMAL0(RETJ, RETJ, RETJ, AVR32_V1),
  61525. + SYNTAX_NORMAL0(RETS, RETS, RETS, AVR32_V1),
  61526. + SYNTAX_NORMAL1(RJMP, RJMP, RJMP, JMPLABEL, AVR32_V1),
  61527. + SYNTAX_NORMAL1(ROL, ROL, ROL, INTREG, AVR32_V1),
  61528. + SYNTAX_NORMAL1(ROR, ROR, ROR, INTREG, AVR32_V1),
  61529. + SYNTAX_NORMAL_C2(RSUB1, RSUB, RSUB1, RSUB2, INTREG, INTREG, AVR32_V1),
  61530. + SYNTAX_NORMAL3(RSUB2, RSUB, RSUB2, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
  61531. + SYNTAX_NORMAL3(SATADD_H, SATADD_H, SATADD_H, INTREG, INTREG, INTREG, AVR32_DSP),
  61532. + SYNTAX_NORMAL3(SATADD_W, SATADD_W, SATADD_W, INTREG, INTREG, INTREG, AVR32_DSP),
  61533. + SYNTAX_NORMAL2(SATRNDS, SATRNDS, SATRNDS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
  61534. + SYNTAX_NORMAL2(SATRNDU, SATRNDU, SATRNDU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
  61535. + SYNTAX_NORMAL2(SATS, SATS, SATS, INTREG_LSR, UNSIGNED_NUMBER, AVR32_DSP),
  61536. + SYNTAX_NORMAL3(SATSUB_H, SATSUB_H, SATSUB_H, INTREG, INTREG, INTREG, AVR32_DSP),
  61537. + SYNTAX_NORMAL_C3(SATSUB_W1, SATSUB_W, SATSUB_W1, SATSUB_W2, INTREG, INTREG, INTREG, AVR32_DSP),
  61538. + SYNTAX_NORMAL3(SATSUB_W2, SATSUB_W, SATSUB_W2, INTREG, INTREG, SIGNED_CONST, AVR32_DSP),
  61539. + SYNTAX_NORMAL2(SATU, SATU, SATU, INTREG_LSR, UNSIGNED_NUMBER, AVR32_V1),
  61540. + SYNTAX_NORMAL3(SBC, SBC, SBC, INTREG, INTREG, INTREG, AVR32_V1),
  61541. + SYNTAX_NORMAL2(SBR, SBR, SBR, INTREG, UNSIGNED_NUMBER, AVR32_V1),
  61542. + SYNTAX_NORMAL0(SCALL, SCALL, SCALL, AVR32_V1),
  61543. + SYNTAX_NORMAL1(SCR, SCR, SCR, INTREG, AVR32_V1),
  61544. + SYNTAX_NORMAL1(SLEEP, SLEEP, SLEEP, UNSIGNED_CONST, AVR32_V1),
  61545. + SYNTAX_NORMAL1(SREQ, SREQ, SREQ, INTREG, AVR32_V1),
  61546. + SYNTAX_NORMAL1(SRNE, SRNE, SRNE, INTREG, AVR32_V1),
  61547. + SYNTAX_NORMAL1(SRCC, SRCC, SRCC, INTREG, AVR32_V1),
  61548. + SYNTAX_NORMAL1(SRCS, SRCS, SRCS, INTREG, AVR32_V1),
  61549. + SYNTAX_NORMAL1(SRGE, SRGE, SRGE, INTREG, AVR32_V1),
  61550. + SYNTAX_NORMAL1(SRLT, SRLT, SRLT, INTREG, AVR32_V1),
  61551. + SYNTAX_NORMAL1(SRMI, SRMI, SRMI, INTREG, AVR32_V1),
  61552. + SYNTAX_NORMAL1(SRPL, SRPL, SRPL, INTREG, AVR32_V1),
  61553. + SYNTAX_NORMAL1(SRLS, SRLS, SRLS, INTREG, AVR32_V1),
  61554. + SYNTAX_NORMAL1(SRGT, SRGT, SRGT, INTREG, AVR32_V1),
  61555. + SYNTAX_NORMAL1(SRLE, SRLE, SRLE, INTREG, AVR32_V1),
  61556. + SYNTAX_NORMAL1(SRHI, SRHI, SRHI, INTREG, AVR32_V1),
  61557. + SYNTAX_NORMAL1(SRVS, SRVS, SRVS, INTREG, AVR32_V1),
  61558. + SYNTAX_NORMAL1(SRVC, SRVC, SRVC, INTREG, AVR32_V1),
  61559. + SYNTAX_NORMAL1(SRQS, SRQS, SRQS, INTREG, AVR32_V1),
  61560. + SYNTAX_NORMAL1(SRAL, SRAL, SRAL, INTREG, AVR32_V1),
  61561. + SYNTAX_NORMAL1(SRHS, SRHS, SRCC, INTREG, AVR32_V1),
  61562. + SYNTAX_NORMAL1(SRLO, SRLO, SRCS, INTREG, AVR32_V1),
  61563. + SYNTAX_NORMAL1(SSRF, SSRF, SSRF, UNSIGNED_NUMBER, AVR32_V1),
  61564. + SYNTAX_NORMAL_C2(ST_B1, ST_B, ST_B1, ST_B2, INTREG_POSTINC, INTREG, AVR32_V1),
  61565. + SYNTAX_NORMAL_C2(ST_B2, ST_B, ST_B2, ST_B5, INTREG_PREDEC, INTREG, AVR32_V1),
  61566. + SYNTAX_NORMAL_C2(ST_B5, ST_B, ST_B5, ST_B3, INTREG_INDEX, INTREG, AVR32_V1),
  61567. + SYNTAX_NORMAL_C2(ST_B3, ST_B, ST_B3, ST_B4, INTREG_UDISP, INTREG, AVR32_V1),
  61568. + SYNTAX_NORMAL2(ST_B4, ST_B, ST_B4, INTREG_SDISP, INTREG, AVR32_V1),
  61569. + SYNTAX_NORMAL_C2(ST_D1, ST_D, ST_D1, ST_D2, INTREG_POSTINC, DWREG, AVR32_V1),
  61570. + SYNTAX_NORMAL_C2(ST_D2, ST_D, ST_D2, ST_D3, INTREG_PREDEC, DWREG, AVR32_V1),
  61571. + SYNTAX_NORMAL_C2(ST_D3, ST_D, ST_D3, ST_D5, INTREG, DWREG, AVR32_V1),
  61572. + SYNTAX_NORMAL_C2(ST_D5, ST_D, ST_D5, ST_D4, INTREG_INDEX, DWREG, AVR32_V1),
  61573. + SYNTAX_NORMAL2(ST_D4, ST_D, ST_D4, INTREG_SDISP, DWREG, AVR32_V1),
  61574. + SYNTAX_NORMAL_C2(ST_H1, ST_H, ST_H1, ST_H2, INTREG_POSTINC, INTREG, AVR32_V1),
  61575. + SYNTAX_NORMAL_C2(ST_H2, ST_H, ST_H2, ST_H5, INTREG_PREDEC, INTREG, AVR32_V1),
  61576. + SYNTAX_NORMAL_C2(ST_H5, ST_H, ST_H5, ST_H3, INTREG_INDEX, INTREG, AVR32_V1),
  61577. + SYNTAX_NORMAL_C2(ST_H3, ST_H, ST_H3, ST_H4, INTREG_UDISP_H, INTREG, AVR32_V1),
  61578. + SYNTAX_NORMAL2(ST_H4, ST_H, ST_H4, INTREG_SDISP, INTREG, AVR32_V1),
  61579. + SYNTAX_NORMAL_C2(ST_W1, ST_W, ST_W1, ST_W2, INTREG_POSTINC, INTREG, AVR32_V1),
  61580. + SYNTAX_NORMAL_C2(ST_W2, ST_W, ST_W2, ST_W5, INTREG_PREDEC, INTREG, AVR32_V1),
  61581. + SYNTAX_NORMAL_C2(ST_W5, ST_W, ST_W5, ST_W3, INTREG_INDEX, INTREG, AVR32_V1),
  61582. + SYNTAX_NORMAL_C2(ST_W3, ST_W, ST_W3, ST_W4, INTREG_UDISP_W, INTREG, AVR32_V1),
  61583. + SYNTAX_NORMAL2(ST_W4, ST_W, ST_W4, INTREG_SDISP, INTREG, AVR32_V1),
  61584. + SYNTAX_NORMAL3(STC_D1, STC_D, STC_D1, CPNO, INTREG_UDISP_W, CPREG_D, AVR32_V1),
  61585. + SYNTAX_NORMAL_C3(STC_D2, STC_D, STC_D2, STC_D1, CPNO, INTREG_POSTINC, CPREG_D, AVR32_V1),
  61586. + SYNTAX_NORMAL_C3(STC_D3, STC_D, STC_D3, STC_D2, CPNO, INTREG_INDEX, CPREG_D, AVR32_V1),
  61587. + SYNTAX_NORMAL3(STC_W1, STC_W, STC_W1, CPNO, INTREG_UDISP_W, CPREG, AVR32_V1),
  61588. + SYNTAX_NORMAL_C3(STC_W2, STC_W, STC_W2, STC_W1, CPNO, INTREG_POSTINC, CPREG, AVR32_V1),
  61589. + SYNTAX_NORMAL_C3(STC_W3, STC_W, STC_W3, STC_W2, CPNO, INTREG_INDEX, CPREG, AVR32_V1),
  61590. + SYNTAX_NORMAL2(STC0_D, STC0_D, STC0_D, INTREG_UDISP_W, CPREG_D, AVR32_V1),
  61591. + SYNTAX_NORMAL2(STC0_W, STC0_W, STC0_W, INTREG_UDISP_W, CPREG, AVR32_V1),
  61592. + SYNTAX_NORMAL_CM3(STCM_D, STCM_D, STCM_D, STCM_D_PU, CPNO, INTREG, REGLIST_CPD8, AVR32_V1),
  61593. + SYNTAX_NORMALM3(STCM_D_PU, STCM_D, STCM_D_PU, CPNO, INTREG_PREDEC, REGLIST_CPD8, AVR32_V1),
  61594. + SYNTAX_NORMAL_CM3(STCM_W, STCM_W, STCM_W, STCM_W_PU, CPNO, INTREG, REGLIST_CP8, AVR32_V1),
  61595. + SYNTAX_NORMALM3(STCM_W_PU, STCM_W, STCM_W_PU, CPNO, INTREG_PREDEC, REGLIST_CP8, AVR32_V1),
  61596. + SYNTAX_NORMAL2(STCOND, STCOND, STCOND, INTREG_SDISP, INTREG, AVR32_V1),
  61597. + SYNTAX_NORMAL2(STDSP, STDSP, STDSP, SP_UDISP_W, INTREG, AVR32_V1),
  61598. + SYNTAX_NORMAL_C3(STHH_W2, STHH_W, STHH_W2, STHH_W1, INTREG_INDEX, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
  61599. + SYNTAX_NORMAL3(STHH_W1, STHH_W, STHH_W1, INTREG_UDISP_W, INTREG_HSEL, INTREG_HSEL, AVR32_V1),
  61600. + SYNTAX_NORMAL_CM2(STM, STM, STM, STM_PU, INTREG, REGLIST16, AVR32_V1),
  61601. + SYNTAX_NORMALM2(STM_PU, STM, STM_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
  61602. + SYNTAX_NORMAL_CM2(STMTS, STMTS, STMTS, STMTS_PU, INTREG, REGLIST16, AVR32_V1),
  61603. + SYNTAX_NORMALM2(STMTS_PU, STMTS, STMTS_PU, INTREG_PREDEC, REGLIST16, AVR32_V1),
  61604. + SYNTAX_NORMAL2(STSWP_H, STSWP_H, STSWP_H, INTREG_SDISP_H, INTREG, AVR32_V1),
  61605. + SYNTAX_NORMAL2(STSWP_W, STSWP_W, STSWP_W, INTREG_SDISP_W, INTREG, AVR32_V1),
  61606. + SYNTAX_NORMAL_C2(SUB1, SUB, SUB1, SUB2, INTREG, INTREG, AVR32_V1),
  61607. + SYNTAX_NORMAL_C3(SUB2, SUB, SUB2, SUB5, INTREG, INTREG, INTREG_LSL, AVR32_V1),
  61608. + SYNTAX_NORMAL_C3(SUB5, SUB, SUB5, SUB3_SP, INTREG, INTREG, SIGNED_CONST, AVR32_V1),
  61609. + SYNTAX_NORMAL_C2(SUB3_SP, SUB, SUB3_SP, SUB3, SP, SIGNED_CONST_W, AVR32_V1),
  61610. + SYNTAX_NORMAL_C2(SUB3, SUB, SUB3, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
  61611. + SYNTAX_NORMAL2(SUB4, SUB, SUB4, INTREG, SIGNED_CONST, AVR32_V1),
  61612. + SYNTAX_NORMAL_C2(SUBEQ, SUBEQ, SUBEQ, SUB2EQ, INTREG, SIGNED_CONST, AVR32_V1),
  61613. + SYNTAX_NORMAL_C2(SUBNE, SUBNE, SUBNE, SUB2NE, INTREG, SIGNED_CONST, AVR32_V1),
  61614. + SYNTAX_NORMAL_C2(SUBCC, SUBCC, SUBCC, SUB2CC, INTREG, SIGNED_CONST, AVR32_V1),
  61615. + SYNTAX_NORMAL_C2(SUBCS, SUBCS, SUBCS, SUB2CS, INTREG, SIGNED_CONST, AVR32_V1),
  61616. + SYNTAX_NORMAL_C2(SUBGE, SUBGE, SUBGE, SUB2GE, INTREG, SIGNED_CONST, AVR32_V1),
  61617. + SYNTAX_NORMAL_C2(SUBLT, SUBLT, SUBLT, SUB2LT, INTREG, SIGNED_CONST, AVR32_V1),
  61618. + SYNTAX_NORMAL_C2(SUBMI, SUBMI, SUBMI, SUB2MI, INTREG, SIGNED_CONST, AVR32_V1),
  61619. + SYNTAX_NORMAL_C2(SUBPL, SUBPL, SUBPL, SUB2PL, INTREG, SIGNED_CONST, AVR32_V1),
  61620. + SYNTAX_NORMAL_C2(SUBLS, SUBLS, SUBLS, SUB2LS, INTREG, SIGNED_CONST, AVR32_V1),
  61621. + SYNTAX_NORMAL_C2(SUBGT, SUBGT, SUBGT, SUB2GT, INTREG, SIGNED_CONST, AVR32_V1),
  61622. + SYNTAX_NORMAL_C2(SUBLE, SUBLE, SUBLE, SUB2LE, INTREG, SIGNED_CONST, AVR32_V1),
  61623. + SYNTAX_NORMAL_C2(SUBHI, SUBHI, SUBHI, SUB2HI, INTREG, SIGNED_CONST, AVR32_V1),
  61624. + SYNTAX_NORMAL_C2(SUBVS, SUBVS, SUBVS, SUB2VS, INTREG, SIGNED_CONST, AVR32_V1),
  61625. + SYNTAX_NORMAL_C2(SUBVC, SUBVC, SUBVC, SUB2VC, INTREG, SIGNED_CONST, AVR32_V1),
  61626. + SYNTAX_NORMAL_C2(SUBQS, SUBQS, SUBQS, SUB2QS, INTREG, SIGNED_CONST, AVR32_V1),
  61627. + SYNTAX_NORMAL_C2(SUBAL, SUBAL, SUBAL, SUB2AL, INTREG, SIGNED_CONST, AVR32_V1),
  61628. + SYNTAX_NORMAL_C2(SUBHS, SUBHS, SUBCC, SUB2CC, INTREG, SIGNED_CONST, AVR32_V1),
  61629. + SYNTAX_NORMAL_C2(SUBLO, SUBLO, SUBCS, SUB2CS, INTREG, SIGNED_CONST, AVR32_V1),
  61630. + SYNTAX_NORMAL2(SUBFEQ, SUBFEQ, SUBFEQ, INTREG, SIGNED_CONST, AVR32_V1),
  61631. + SYNTAX_NORMAL2(SUBFNE, SUBFNE, SUBFNE, INTREG, SIGNED_CONST, AVR32_V1),
  61632. + SYNTAX_NORMAL2(SUBFCC, SUBFCC, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
  61633. + SYNTAX_NORMAL2(SUBFCS, SUBFCS, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
  61634. + SYNTAX_NORMAL2(SUBFGE, SUBFGE, SUBFGE, INTREG, SIGNED_CONST, AVR32_V1),
  61635. + SYNTAX_NORMAL2(SUBFLT, SUBFLT, SUBFLT, INTREG, SIGNED_CONST, AVR32_V1),
  61636. + SYNTAX_NORMAL2(SUBFMI, SUBFMI, SUBFMI, INTREG, SIGNED_CONST, AVR32_V1),
  61637. + SYNTAX_NORMAL2(SUBFPL, SUBFPL, SUBFPL, INTREG, SIGNED_CONST, AVR32_V1),
  61638. + SYNTAX_NORMAL2(SUBFLS, SUBFLS, SUBFLS, INTREG, SIGNED_CONST, AVR32_V1),
  61639. + SYNTAX_NORMAL2(SUBFGT, SUBFGT, SUBFGT, INTREG, SIGNED_CONST, AVR32_V1),
  61640. + SYNTAX_NORMAL2(SUBFLE, SUBFLE, SUBFLE, INTREG, SIGNED_CONST, AVR32_V1),
  61641. + SYNTAX_NORMAL2(SUBFHI, SUBFHI, SUBFHI, INTREG, SIGNED_CONST, AVR32_V1),
  61642. + SYNTAX_NORMAL2(SUBFVS, SUBFVS, SUBFVS, INTREG, SIGNED_CONST, AVR32_V1),
  61643. + SYNTAX_NORMAL2(SUBFVC, SUBFVC, SUBFVC, INTREG, SIGNED_CONST, AVR32_V1),
  61644. + SYNTAX_NORMAL2(SUBFQS, SUBFQS, SUBFQS, INTREG, SIGNED_CONST, AVR32_V1),
  61645. + SYNTAX_NORMAL2(SUBFAL, SUBFAL, SUBFAL, INTREG, SIGNED_CONST, AVR32_V1),
  61646. + SYNTAX_NORMAL2(SUBFHS, SUBFHS, SUBFCC, INTREG, SIGNED_CONST, AVR32_V1),
  61647. + SYNTAX_NORMAL2(SUBFLO, SUBFLO, SUBFCS, INTREG, SIGNED_CONST, AVR32_V1),
  61648. + SYNTAX_NORMAL3(SUBHH_W, SUBHH_W, SUBHH_W, INTREG, INTREG_HSEL, INTREG_HSEL, AVR32_DSP),
  61649. + SYNTAX_NORMAL1(SWAP_B, SWAP_B, SWAP_B, INTREG, AVR32_V1),
  61650. + SYNTAX_NORMAL1(SWAP_BH, SWAP_BH, SWAP_BH, INTREG, AVR32_V1),
  61651. + SYNTAX_NORMAL1(SWAP_H, SWAP_H, SWAP_H, INTREG, AVR32_V1),
  61652. + SYNTAX_NORMAL1(SYNC, SYNC, SYNC, UNSIGNED_CONST, AVR32_V1),
  61653. + SYNTAX_NORMAL0(TLBR, TLBR, TLBR, AVR32_V1),
  61654. + SYNTAX_NORMAL0(TLBS, TLBS, TLBS, AVR32_V1),
  61655. + SYNTAX_NORMAL0(TLBW, TLBW, TLBW, AVR32_V1),
  61656. + SYNTAX_NORMAL1(TNBZ, TNBZ, TNBZ, INTREG, AVR32_V1),
  61657. + SYNTAX_NORMAL2(TST, TST, TST, INTREG, INTREG, AVR32_V1),
  61658. + SYNTAX_NORMAL3(XCHG, XCHG, XCHG, INTREG, INTREG, INTREG, AVR32_V1),
  61659. + SYNTAX_NORMAL2(MEMC, MEMC, MEMC, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
  61660. + SYNTAX_NORMAL2(MEMS, MEMS, MEMS, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
  61661. + SYNTAX_NORMAL2(MEMT, MEMT, MEMT, SIGNED_CONST_W, UNSIGNED_NUMBER, AVR32_RMW),
  61662. + SYNTAX_NORMAL4 (FMAC_S, FMAC_S, FMAC_S, INTREG, INTREG, INTREG, INTREG,
  61663. + AVR32_V3FP),
  61664. + SYNTAX_NORMAL4 (FNMAC_S, FNMAC_S, FNMAC_S, INTREG, INTREG, INTREG, INTREG,
  61665. + AVR32_V3FP),
  61666. + SYNTAX_NORMAL4 (FMSC_S, FMSC_S, FMSC_S, INTREG, INTREG, INTREG, INTREG,
  61667. + AVR32_V3FP),
  61668. + SYNTAX_NORMAL4 (FNMSC_S, FNMSC_S, FNMSC_S, INTREG, INTREG, INTREG, INTREG,
  61669. + AVR32_V3FP),
  61670. + SYNTAX_NORMAL3 (FMUL_S, FMUL_S, FMUL_S, INTREG, INTREG, INTREG, AVR32_V3FP),
  61671. + SYNTAX_NORMAL3 (FNMUL_S, FNMUL_S, FNMUL_S, INTREG, INTREG, INTREG, AVR32_V3FP),
  61672. + SYNTAX_NORMAL3 (FADD_S, FADD_S, FADD_S, INTREG, INTREG, INTREG, AVR32_V3FP),
  61673. + SYNTAX_NORMAL3 (FSUB_S, FSUB_S, FSUB_S, INTREG, INTREG, INTREG, AVR32_V3FP),
  61674. + SYNTAX_NORMAL2 (FCASTRS_SW, FCASTRS_SW, FCASTRS_SW, INTREG, INTREG, AVR32_V3FP),
  61675. + SYNTAX_NORMAL2 (FCASTRS_UW, FCASTRS_UW, FCASTRS_UW, INTREG, INTREG, AVR32_V3FP),
  61676. + SYNTAX_NORMAL2 (FCASTSW_S, FCASTSW_S, FCASTSW_S, INTREG, INTREG, AVR32_V3FP),
  61677. + SYNTAX_NORMAL2 (FCASTUW_S, FCASTUW_S, FCASTUW_S, INTREG, INTREG, AVR32_V3FP),
  61678. + SYNTAX_NORMAL2 (FCMP_S, FCMP_S, FCMP_S, INTREG, INTREG, AVR32_V3FP),
  61679. + SYNTAX_NORMAL1 (FCHK_S, FCHK_S, FCHK_S, INTREG, AVR32_V3FP),
  61680. + SYNTAX_NORMAL2 (FRCPA_S, FRCPA_S, FRCPA_S, INTREG, INTREG, AVR32_V3FP),
  61681. + SYNTAX_NORMAL2 (FRSQRTA_S, FRSQRTA_S, FRSQRTA_S, INTREG, INTREG, AVR32_V3FP),
  61682. + {
  61683. + AVR32_SYNTAX_LDA_W,
  61684. + AVR32_V1, NULL, AVR32_PARSER_LDA,
  61685. + { NULL }, NULL,
  61686. + 2,
  61687. + {
  61688. + AVR32_OPERAND_INTREG,
  61689. + AVR32_OPERAND_SIGNED_CONST,
  61690. + },
  61691. + },
  61692. + {
  61693. + AVR32_SYNTAX_CALL,
  61694. + AVR32_V1, NULL, AVR32_PARSER_CALL,
  61695. + { NULL }, NULL,
  61696. + 1,
  61697. + {
  61698. + AVR32_OPERAND_JMPLABEL,
  61699. + },
  61700. + },
  61701. + {
  61702. + AVR32_SYNTAX_PICOSVMAC0,
  61703. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
  61704. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC0] },
  61705. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC1], 4,
  61706. + {
  61707. + AVR32_OPERAND_PICO_OUT0,
  61708. + AVR32_OPERAND_PICO_IN,
  61709. + AVR32_OPERAND_PICO_IN,
  61710. + AVR32_OPERAND_PICO_IN,
  61711. + },
  61712. + },
  61713. + {
  61714. + AVR32_SYNTAX_PICOSVMAC1,
  61715. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
  61716. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC1] },
  61717. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC2], 4,
  61718. + {
  61719. + AVR32_OPERAND_PICO_OUT1,
  61720. + AVR32_OPERAND_PICO_IN,
  61721. + AVR32_OPERAND_PICO_IN,
  61722. + AVR32_OPERAND_PICO_IN,
  61723. + },
  61724. + },
  61725. + {
  61726. + AVR32_SYNTAX_PICOSVMAC2,
  61727. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
  61728. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC2] },
  61729. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMAC3], 4,
  61730. + {
  61731. + AVR32_OPERAND_PICO_OUT2,
  61732. + AVR32_OPERAND_PICO_IN,
  61733. + AVR32_OPERAND_PICO_IN,
  61734. + AVR32_OPERAND_PICO_IN,
  61735. + },
  61736. + },
  61737. + {
  61738. + AVR32_SYNTAX_PICOSVMAC3,
  61739. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMAC], AVR32_PARSER_ALIAS,
  61740. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMAC3] },
  61741. + NULL, 4,
  61742. + {
  61743. + AVR32_OPERAND_PICO_OUT3,
  61744. + AVR32_OPERAND_PICO_IN,
  61745. + AVR32_OPERAND_PICO_IN,
  61746. + AVR32_OPERAND_PICO_IN,
  61747. + },
  61748. + },
  61749. + {
  61750. + AVR32_SYNTAX_PICOSVMUL0,
  61751. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
  61752. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL0] },
  61753. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL1], 4,
  61754. + {
  61755. + AVR32_OPERAND_PICO_OUT0,
  61756. + AVR32_OPERAND_PICO_IN,
  61757. + AVR32_OPERAND_PICO_IN,
  61758. + AVR32_OPERAND_PICO_IN,
  61759. + },
  61760. + },
  61761. + {
  61762. + AVR32_SYNTAX_PICOSVMUL1,
  61763. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
  61764. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL1] },
  61765. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL2], 4,
  61766. + {
  61767. + AVR32_OPERAND_PICO_OUT1,
  61768. + AVR32_OPERAND_PICO_IN,
  61769. + AVR32_OPERAND_PICO_IN,
  61770. + AVR32_OPERAND_PICO_IN,
  61771. + },
  61772. + },
  61773. + {
  61774. + AVR32_SYNTAX_PICOSVMUL2,
  61775. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
  61776. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL2] },
  61777. + &avr32_syntax_table[AVR32_SYNTAX_PICOSVMUL3], 4,
  61778. + {
  61779. + AVR32_OPERAND_PICO_OUT2,
  61780. + AVR32_OPERAND_PICO_IN,
  61781. + AVR32_OPERAND_PICO_IN,
  61782. + AVR32_OPERAND_PICO_IN,
  61783. + },
  61784. + },
  61785. + {
  61786. + AVR32_SYNTAX_PICOSVMUL3,
  61787. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSVMUL], AVR32_PARSER_ALIAS,
  61788. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSVMUL3] },
  61789. + NULL, 4,
  61790. + {
  61791. + AVR32_OPERAND_PICO_OUT3,
  61792. + AVR32_OPERAND_PICO_IN,
  61793. + AVR32_OPERAND_PICO_IN,
  61794. + AVR32_OPERAND_PICO_IN,
  61795. + },
  61796. + },
  61797. + {
  61798. + AVR32_SYNTAX_PICOVMAC0,
  61799. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
  61800. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC0] },
  61801. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC1], 4,
  61802. + {
  61803. + AVR32_OPERAND_PICO_OUT0,
  61804. + AVR32_OPERAND_PICO_IN,
  61805. + AVR32_OPERAND_PICO_IN,
  61806. + AVR32_OPERAND_PICO_IN,
  61807. + },
  61808. + },
  61809. + {
  61810. + AVR32_SYNTAX_PICOVMAC1,
  61811. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
  61812. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC1] },
  61813. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC2], 4,
  61814. + {
  61815. + AVR32_OPERAND_PICO_OUT1,
  61816. + AVR32_OPERAND_PICO_IN,
  61817. + AVR32_OPERAND_PICO_IN,
  61818. + AVR32_OPERAND_PICO_IN,
  61819. + },
  61820. + },
  61821. + {
  61822. + AVR32_SYNTAX_PICOVMAC2,
  61823. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
  61824. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC2] },
  61825. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMAC3], 4,
  61826. + {
  61827. + AVR32_OPERAND_PICO_OUT2,
  61828. + AVR32_OPERAND_PICO_IN,
  61829. + AVR32_OPERAND_PICO_IN,
  61830. + AVR32_OPERAND_PICO_IN,
  61831. + },
  61832. + },
  61833. + {
  61834. + AVR32_SYNTAX_PICOVMAC3,
  61835. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMAC], AVR32_PARSER_ALIAS,
  61836. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMAC3] },
  61837. + NULL, 4,
  61838. + {
  61839. + AVR32_OPERAND_PICO_OUT3,
  61840. + AVR32_OPERAND_PICO_IN,
  61841. + AVR32_OPERAND_PICO_IN,
  61842. + AVR32_OPERAND_PICO_IN,
  61843. + },
  61844. + },
  61845. + {
  61846. + AVR32_SYNTAX_PICOVMUL0,
  61847. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
  61848. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL0] },
  61849. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL1], 4,
  61850. + {
  61851. + AVR32_OPERAND_PICO_OUT0,
  61852. + AVR32_OPERAND_PICO_IN,
  61853. + AVR32_OPERAND_PICO_IN,
  61854. + AVR32_OPERAND_PICO_IN,
  61855. + },
  61856. + },
  61857. + {
  61858. + AVR32_SYNTAX_PICOVMUL1,
  61859. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
  61860. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL1] },
  61861. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL2], 4,
  61862. + {
  61863. + AVR32_OPERAND_PICO_OUT1,
  61864. + AVR32_OPERAND_PICO_IN,
  61865. + AVR32_OPERAND_PICO_IN,
  61866. + AVR32_OPERAND_PICO_IN,
  61867. + },
  61868. + },
  61869. + {
  61870. + AVR32_SYNTAX_PICOVMUL2,
  61871. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
  61872. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL2] },
  61873. + &avr32_syntax_table[AVR32_SYNTAX_PICOVMUL3], 4,
  61874. + {
  61875. + AVR32_OPERAND_PICO_OUT2,
  61876. + AVR32_OPERAND_PICO_IN,
  61877. + AVR32_OPERAND_PICO_IN,
  61878. + AVR32_OPERAND_PICO_IN,
  61879. + },
  61880. + },
  61881. + {
  61882. + AVR32_SYNTAX_PICOVMUL3,
  61883. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOVMUL], AVR32_PARSER_ALIAS,
  61884. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOVMUL3] },
  61885. + NULL, 4,
  61886. + {
  61887. + AVR32_OPERAND_PICO_OUT3,
  61888. + AVR32_OPERAND_PICO_IN,
  61889. + AVR32_OPERAND_PICO_IN,
  61890. + AVR32_OPERAND_PICO_IN,
  61891. + },
  61892. + },
  61893. + {
  61894. + AVR32_SYNTAX_PICOLD_D2,
  61895. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
  61896. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D2] },
  61897. + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D3], 2,
  61898. + {
  61899. + AVR32_OPERAND_PICO_REG_D,
  61900. + AVR32_OPERAND_INTREG_PREDEC,
  61901. + },
  61902. + },
  61903. + {
  61904. + AVR32_SYNTAX_PICOLD_D3,
  61905. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
  61906. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D3] },
  61907. + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_D1], 2,
  61908. + {
  61909. + AVR32_OPERAND_PICO_REG_D,
  61910. + AVR32_OPERAND_INTREG_INDEX,
  61911. + },
  61912. + },
  61913. + {
  61914. + AVR32_SYNTAX_PICOLD_D1,
  61915. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_D], AVR32_PARSER_ALIAS,
  61916. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_D1] },
  61917. + NULL, 2,
  61918. + {
  61919. + AVR32_OPERAND_PICO_REG_D,
  61920. + AVR32_OPERAND_INTREG_UDISP_W,
  61921. + },
  61922. + },
  61923. + {
  61924. + AVR32_SYNTAX_PICOLD_W2,
  61925. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
  61926. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W2] },
  61927. + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W3], 2,
  61928. + {
  61929. + AVR32_OPERAND_PICO_REG_W,
  61930. + AVR32_OPERAND_INTREG_PREDEC,
  61931. + },
  61932. + },
  61933. + {
  61934. + AVR32_SYNTAX_PICOLD_W3,
  61935. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
  61936. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W3] },
  61937. + &avr32_syntax_table[AVR32_SYNTAX_PICOLD_W1], 2,
  61938. + {
  61939. + AVR32_OPERAND_PICO_REG_W,
  61940. + AVR32_OPERAND_INTREG_INDEX,
  61941. + },
  61942. + },
  61943. + {
  61944. + AVR32_SYNTAX_PICOLD_W1,
  61945. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLD_W], AVR32_PARSER_ALIAS,
  61946. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLD_W1] },
  61947. + NULL, 2,
  61948. + {
  61949. + AVR32_OPERAND_PICO_REG_W,
  61950. + AVR32_OPERAND_INTREG_UDISP_W,
  61951. + },
  61952. + },
  61953. + {
  61954. + AVR32_SYNTAX_PICOLDM_D,
  61955. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
  61956. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D] },
  61957. + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_D_PU], -2,
  61958. + {
  61959. + AVR32_OPERAND_INTREG,
  61960. + AVR32_OPERAND_PICO_REGLIST_D,
  61961. + },
  61962. + },
  61963. + {
  61964. + AVR32_SYNTAX_PICOLDM_D_PU,
  61965. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_D], AVR32_PARSER_ALIAS,
  61966. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_D_PU] },
  61967. + NULL, -2,
  61968. + {
  61969. + AVR32_OPERAND_INTREG_POSTINC,
  61970. + AVR32_OPERAND_PICO_REGLIST_D,
  61971. + },
  61972. + },
  61973. + {
  61974. + AVR32_SYNTAX_PICOLDM_W,
  61975. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
  61976. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W] },
  61977. + &avr32_syntax_table[AVR32_SYNTAX_PICOLDM_W_PU], -2,
  61978. + {
  61979. + AVR32_OPERAND_INTREG,
  61980. + AVR32_OPERAND_PICO_REGLIST_W,
  61981. + },
  61982. + },
  61983. + {
  61984. + AVR32_SYNTAX_PICOLDM_W_PU,
  61985. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOLDM_W], AVR32_PARSER_ALIAS,
  61986. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOLDM_W_PU] },
  61987. + NULL, -2,
  61988. + {
  61989. + AVR32_OPERAND_INTREG_POSTINC,
  61990. + AVR32_OPERAND_PICO_REGLIST_W,
  61991. + },
  61992. + },
  61993. + {
  61994. + AVR32_SYNTAX_PICOMV_D1,
  61995. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
  61996. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D1] },
  61997. + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_D2], 2,
  61998. + {
  61999. + AVR32_OPERAND_DWREG,
  62000. + AVR32_OPERAND_PICO_REG_D,
  62001. + },
  62002. + },
  62003. + {
  62004. + AVR32_SYNTAX_PICOMV_D2,
  62005. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_D], AVR32_PARSER_ALIAS,
  62006. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_D2] },
  62007. + NULL, 2,
  62008. + {
  62009. + AVR32_OPERAND_PICO_REG_D,
  62010. + AVR32_OPERAND_DWREG,
  62011. + },
  62012. + },
  62013. + {
  62014. + AVR32_SYNTAX_PICOMV_W1,
  62015. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
  62016. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W1] },
  62017. + &avr32_syntax_table[AVR32_SYNTAX_PICOMV_W2], 2,
  62018. + {
  62019. + AVR32_OPERAND_INTREG,
  62020. + AVR32_OPERAND_PICO_REG_W,
  62021. + },
  62022. + },
  62023. + {
  62024. + AVR32_SYNTAX_PICOMV_W2,
  62025. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOMV_W], AVR32_PARSER_ALIAS,
  62026. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOMV_W2] },
  62027. + NULL, 2,
  62028. + {
  62029. + AVR32_OPERAND_PICO_REG_W,
  62030. + AVR32_OPERAND_INTREG,
  62031. + },
  62032. + },
  62033. + {
  62034. + AVR32_SYNTAX_PICOST_D2,
  62035. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
  62036. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D2] },
  62037. + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D3], 2,
  62038. + {
  62039. + AVR32_OPERAND_INTREG_POSTINC,
  62040. + AVR32_OPERAND_PICO_REG_D,
  62041. + },
  62042. + },
  62043. + {
  62044. + AVR32_SYNTAX_PICOST_D3,
  62045. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
  62046. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D3] },
  62047. + &avr32_syntax_table[AVR32_SYNTAX_PICOST_D1], 2,
  62048. + {
  62049. + AVR32_OPERAND_INTREG_INDEX,
  62050. + AVR32_OPERAND_PICO_REG_D,
  62051. + },
  62052. + },
  62053. + {
  62054. + AVR32_SYNTAX_PICOST_D1,
  62055. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_D], AVR32_PARSER_ALIAS,
  62056. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_D1] },
  62057. + NULL, 2,
  62058. + {
  62059. + AVR32_OPERAND_INTREG_UDISP_W,
  62060. + AVR32_OPERAND_PICO_REG_D,
  62061. + },
  62062. + },
  62063. + {
  62064. + AVR32_SYNTAX_PICOST_W2,
  62065. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
  62066. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W2] },
  62067. + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W3], 2,
  62068. + {
  62069. + AVR32_OPERAND_INTREG_POSTINC,
  62070. + AVR32_OPERAND_PICO_REG_W,
  62071. + },
  62072. + },
  62073. + {
  62074. + AVR32_SYNTAX_PICOST_W3,
  62075. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
  62076. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W3] },
  62077. + &avr32_syntax_table[AVR32_SYNTAX_PICOST_W1], 2,
  62078. + {
  62079. + AVR32_OPERAND_INTREG_INDEX,
  62080. + AVR32_OPERAND_PICO_REG_W,
  62081. + },
  62082. + },
  62083. + {
  62084. + AVR32_SYNTAX_PICOST_W1,
  62085. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOST_W], AVR32_PARSER_ALIAS,
  62086. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOST_W1] },
  62087. + NULL, 2,
  62088. + {
  62089. + AVR32_OPERAND_INTREG_UDISP_W,
  62090. + AVR32_OPERAND_PICO_REG_W,
  62091. + },
  62092. + },
  62093. + {
  62094. + AVR32_SYNTAX_PICOSTM_D,
  62095. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
  62096. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D] },
  62097. + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_D_PU], -2,
  62098. + {
  62099. + AVR32_OPERAND_INTREG,
  62100. + AVR32_OPERAND_PICO_REGLIST_D,
  62101. + },
  62102. + },
  62103. + {
  62104. + AVR32_SYNTAX_PICOSTM_D_PU,
  62105. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_D], AVR32_PARSER_ALIAS,
  62106. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_D_PU] },
  62107. + NULL, -2,
  62108. + {
  62109. + AVR32_OPERAND_INTREG_PREDEC,
  62110. + AVR32_OPERAND_PICO_REGLIST_D,
  62111. + },
  62112. + },
  62113. + {
  62114. + AVR32_SYNTAX_PICOSTM_W,
  62115. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
  62116. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W] },
  62117. + &avr32_syntax_table[AVR32_SYNTAX_PICOSTM_W_PU], -2,
  62118. + {
  62119. + AVR32_OPERAND_INTREG,
  62120. + AVR32_OPERAND_PICO_REGLIST_W,
  62121. + },
  62122. + },
  62123. + {
  62124. + AVR32_SYNTAX_PICOSTM_W_PU,
  62125. + AVR32_PICO, &avr32_mnemonic_table[AVR32_MNEMONIC_PICOSTM_W], AVR32_PARSER_ALIAS,
  62126. + { .alias = &avr32_alias_table[AVR32_ALIAS_PICOSTM_W_PU] },
  62127. + NULL, -2,
  62128. + {
  62129. + AVR32_OPERAND_INTREG_PREDEC,
  62130. + AVR32_OPERAND_PICO_REGLIST_W,
  62131. + },
  62132. + },
  62133. + SYNTAX_NORMAL2(RSUBEQ, RSUBEQ, RSUBEQ, INTREG, SIGNED_CONST, AVR32_V1),
  62134. + SYNTAX_NORMAL2(RSUBNE, RSUBNE, RSUBNE, INTREG, SIGNED_CONST, AVR32_V2),
  62135. + SYNTAX_NORMAL2(RSUBCC, RSUBCC, RSUBCC, INTREG, SIGNED_CONST, AVR32_V2),
  62136. + SYNTAX_NORMAL2(RSUBCS, RSUBCS, RSUBCS, INTREG, SIGNED_CONST, AVR32_V2),
  62137. + SYNTAX_NORMAL2(RSUBGE, RSUBGE, RSUBGE, INTREG, SIGNED_CONST, AVR32_V2),
  62138. + SYNTAX_NORMAL2(RSUBLT, RSUBLT, RSUBLT, INTREG, SIGNED_CONST, AVR32_V2),
  62139. + SYNTAX_NORMAL2(RSUBMI, RSUBMI, RSUBMI, INTREG, SIGNED_CONST, AVR32_V2),
  62140. + SYNTAX_NORMAL2(RSUBPL, RSUBPL, RSUBPL, INTREG, SIGNED_CONST, AVR32_V2),
  62141. + SYNTAX_NORMAL2(RSUBLS, RSUBLS, RSUBLS, INTREG, SIGNED_CONST, AVR32_V2),
  62142. + SYNTAX_NORMAL2(RSUBGT, RSUBGT, RSUBGT, INTREG, SIGNED_CONST, AVR32_V2),
  62143. + SYNTAX_NORMAL2(RSUBLE, RSUBLE, RSUBLE, INTREG, SIGNED_CONST, AVR32_V2),
  62144. + SYNTAX_NORMAL2(RSUBHI, RSUBHI, RSUBHI, INTREG, SIGNED_CONST, AVR32_V2),
  62145. + SYNTAX_NORMAL2(RSUBVS, RSUBVS, RSUBVS, INTREG, SIGNED_CONST, AVR32_V2),
  62146. + SYNTAX_NORMAL2(RSUBVC, RSUBVC, RSUBVC, INTREG, SIGNED_CONST, AVR32_V2),
  62147. + SYNTAX_NORMAL2(RSUBQS, RSUBQS, RSUBQS, INTREG, SIGNED_CONST, AVR32_V2),
  62148. + SYNTAX_NORMAL2(RSUBAL, RSUBAL, RSUBAL, INTREG, SIGNED_CONST, AVR32_V2),
  62149. + SYNTAX_NORMAL2(RSUBHS, RSUBHS, RSUBCC, INTREG, SIGNED_CONST, AVR32_V2),
  62150. + SYNTAX_NORMAL2(RSUBLO, RSUBLO, RSUBCS, INTREG, SIGNED_CONST, AVR32_V2),
  62151. + SYNTAX_NORMAL3(ADDEQ, ADDEQ, ADDEQ, INTREG, INTREG, INTREG, AVR32_V2),
  62152. + SYNTAX_NORMAL3(ADDNE, ADDNE, ADDNE, INTREG, INTREG, INTREG, AVR32_V2),
  62153. + SYNTAX_NORMAL3(ADDCC, ADDCC, ADDCC, INTREG, INTREG, INTREG, AVR32_V2),
  62154. + SYNTAX_NORMAL3(ADDCS, ADDCS, ADDCS, INTREG, INTREG, INTREG, AVR32_V2),
  62155. + SYNTAX_NORMAL3(ADDGE, ADDGE, ADDGE, INTREG, INTREG, INTREG, AVR32_V2),
  62156. + SYNTAX_NORMAL3(ADDLT, ADDLT, ADDLT, INTREG, INTREG, INTREG, AVR32_V2),
  62157. + SYNTAX_NORMAL3(ADDMI, ADDMI, ADDMI, INTREG, INTREG, INTREG, AVR32_V2),
  62158. + SYNTAX_NORMAL3(ADDPL, ADDPL, ADDPL, INTREG, INTREG, INTREG, AVR32_V2),
  62159. + SYNTAX_NORMAL3(ADDLS, ADDLS, ADDLS, INTREG, INTREG, INTREG, AVR32_V2),
  62160. + SYNTAX_NORMAL3(ADDGT, ADDGT, ADDGT, INTREG, INTREG, INTREG, AVR32_V2),
  62161. + SYNTAX_NORMAL3(ADDLE, ADDLE, ADDLE, INTREG, INTREG, INTREG, AVR32_V2),
  62162. + SYNTAX_NORMAL3(ADDHI, ADDHI, ADDHI, INTREG, INTREG, INTREG, AVR32_V2),
  62163. + SYNTAX_NORMAL3(ADDVS, ADDVS, ADDVS, INTREG, INTREG, INTREG, AVR32_V2),
  62164. + SYNTAX_NORMAL3(ADDVC, ADDVC, ADDVC, INTREG, INTREG, INTREG, AVR32_V2),
  62165. + SYNTAX_NORMAL3(ADDQS, ADDQS, ADDQS, INTREG, INTREG, INTREG, AVR32_V2),
  62166. + SYNTAX_NORMAL3(ADDAL, ADDAL, ADDAL, INTREG, INTREG, INTREG, AVR32_V2),
  62167. + SYNTAX_NORMAL3(ADDHS, ADDHS, ADDCC, INTREG, INTREG, INTREG, AVR32_V2),
  62168. + SYNTAX_NORMAL3(ADDLO, ADDLO, ADDCS, INTREG, INTREG, INTREG, AVR32_V2),
  62169. + SYNTAX_NORMAL3(SUB2EQ, SUBEQ, SUB2EQ, INTREG, INTREG, INTREG, AVR32_V2),
  62170. + SYNTAX_NORMAL3(SUB2NE, SUBNE, SUB2NE, INTREG, INTREG, INTREG, AVR32_V2),
  62171. + SYNTAX_NORMAL3(SUB2CC, SUBCC, SUB2CC, INTREG, INTREG, INTREG, AVR32_V2),
  62172. + SYNTAX_NORMAL3(SUB2CS, SUBCS, SUB2CS, INTREG, INTREG, INTREG, AVR32_V2),
  62173. + SYNTAX_NORMAL3(SUB2GE, SUBGE, SUB2GE, INTREG, INTREG, INTREG, AVR32_V2),
  62174. + SYNTAX_NORMAL3(SUB2LT, SUBLT, SUB2LT, INTREG, INTREG, INTREG, AVR32_V2),
  62175. + SYNTAX_NORMAL3(SUB2MI, SUBMI, SUB2MI, INTREG, INTREG, INTREG, AVR32_V2),
  62176. + SYNTAX_NORMAL3(SUB2PL, SUBPL, SUB2PL, INTREG, INTREG, INTREG, AVR32_V2),
  62177. + SYNTAX_NORMAL3(SUB2LS, SUBLS, SUB2LS, INTREG, INTREG, INTREG, AVR32_V2),
  62178. + SYNTAX_NORMAL3(SUB2GT, SUBGT, SUB2GT, INTREG, INTREG, INTREG, AVR32_V2),
  62179. + SYNTAX_NORMAL3(SUB2LE, SUBLE, SUB2LE, INTREG, INTREG, INTREG, AVR32_V2),
  62180. + SYNTAX_NORMAL3(SUB2HI, SUBHI, SUB2HI, INTREG, INTREG, INTREG, AVR32_V2),
  62181. + SYNTAX_NORMAL3(SUB2VS, SUBVS, SUB2VS, INTREG, INTREG, INTREG, AVR32_V2),
  62182. + SYNTAX_NORMAL3(SUB2VC, SUBVC, SUB2VC, INTREG, INTREG, INTREG, AVR32_V2),
  62183. + SYNTAX_NORMAL3(SUB2QS, SUBQS, SUB2QS, INTREG, INTREG, INTREG, AVR32_V2),
  62184. + SYNTAX_NORMAL3(SUB2AL, SUBAL, SUB2AL, INTREG, INTREG, INTREG, AVR32_V2),
  62185. + SYNTAX_NORMAL3(SUB2HS, SUBHS, SUB2CC, INTREG, INTREG, INTREG, AVR32_V2),
  62186. + SYNTAX_NORMAL3(SUB2LO, SUBLO, SUB2CS, INTREG, INTREG, INTREG, AVR32_V2),
  62187. + SYNTAX_NORMAL3(ANDEQ, ANDEQ, ANDEQ, INTREG, INTREG, INTREG, AVR32_V2),
  62188. + SYNTAX_NORMAL3(ANDNE, ANDNE, ANDNE, INTREG, INTREG, INTREG, AVR32_V2),
  62189. + SYNTAX_NORMAL3(ANDCC, ANDCC, ANDCC, INTREG, INTREG, INTREG, AVR32_V2),
  62190. + SYNTAX_NORMAL3(ANDCS, ANDCS, ANDCS, INTREG, INTREG, INTREG, AVR32_V2),
  62191. + SYNTAX_NORMAL3(ANDGE, ANDGE, ANDGE, INTREG, INTREG, INTREG, AVR32_V2),
  62192. + SYNTAX_NORMAL3(ANDLT, ANDLT, ANDLT, INTREG, INTREG, INTREG, AVR32_V2),
  62193. + SYNTAX_NORMAL3(ANDMI, ANDMI, ANDMI, INTREG, INTREG, INTREG, AVR32_V2),
  62194. + SYNTAX_NORMAL3(ANDPL, ANDPL, ANDPL, INTREG, INTREG, INTREG, AVR32_V2),
  62195. + SYNTAX_NORMAL3(ANDLS, ANDLS, ANDLS, INTREG, INTREG, INTREG, AVR32_V2),
  62196. + SYNTAX_NORMAL3(ANDGT, ANDGT, ANDGT, INTREG, INTREG, INTREG, AVR32_V2),
  62197. + SYNTAX_NORMAL3(ANDLE, ANDLE, ANDLE, INTREG, INTREG, INTREG, AVR32_V2),
  62198. + SYNTAX_NORMAL3(ANDHI, ANDHI, ANDHI, INTREG, INTREG, INTREG, AVR32_V2),
  62199. + SYNTAX_NORMAL3(ANDVS, ANDVS, ANDVS, INTREG, INTREG, INTREG, AVR32_V2),
  62200. + SYNTAX_NORMAL3(ANDVC, ANDVC, ANDVC, INTREG, INTREG, INTREG, AVR32_V2),
  62201. + SYNTAX_NORMAL3(ANDQS, ANDQS, ANDQS, INTREG, INTREG, INTREG, AVR32_V2),
  62202. + SYNTAX_NORMAL3(ANDAL, ANDAL, ANDAL, INTREG, INTREG, INTREG, AVR32_V2),
  62203. + SYNTAX_NORMAL3(ANDHS, ANDHS, ANDCC, INTREG, INTREG, INTREG, AVR32_V2),
  62204. + SYNTAX_NORMAL3(ANDLO, ANDLO, ANDCS, INTREG, INTREG, INTREG, AVR32_V2),
  62205. + SYNTAX_NORMAL3(OREQ, OREQ, OREQ, INTREG, INTREG, INTREG, AVR32_V2),
  62206. + SYNTAX_NORMAL3(ORNE, ORNE, ORNE, INTREG, INTREG, INTREG, AVR32_V2),
  62207. + SYNTAX_NORMAL3(ORCC, ORCC, ORCC, INTREG, INTREG, INTREG, AVR32_V2),
  62208. + SYNTAX_NORMAL3(ORCS, ORCS, ORCS, INTREG, INTREG, INTREG, AVR32_V2),
  62209. + SYNTAX_NORMAL3(ORGE, ORGE, ORGE, INTREG, INTREG, INTREG, AVR32_V2),
  62210. + SYNTAX_NORMAL3(ORLT, ORLT, ORLT, INTREG, INTREG, INTREG, AVR32_V2),
  62211. + SYNTAX_NORMAL3(ORMI, ORMI, ORMI, INTREG, INTREG, INTREG, AVR32_V2),
  62212. + SYNTAX_NORMAL3(ORPL, ORPL, ORPL, INTREG, INTREG, INTREG, AVR32_V2),
  62213. + SYNTAX_NORMAL3(ORLS, ORLS, ORLS, INTREG, INTREG, INTREG, AVR32_V2),
  62214. + SYNTAX_NORMAL3(ORGT, ORGT, ORGT, INTREG, INTREG, INTREG, AVR32_V2),
  62215. + SYNTAX_NORMAL3(ORLE, ORLE, ORLE, INTREG, INTREG, INTREG, AVR32_V2),
  62216. + SYNTAX_NORMAL3(ORHI, ORHI, ORHI, INTREG, INTREG, INTREG, AVR32_V2),
  62217. + SYNTAX_NORMAL3(ORVS, ORVS, ORVS, INTREG, INTREG, INTREG, AVR32_V2),
  62218. + SYNTAX_NORMAL3(ORVC, ORVC, ORVC, INTREG, INTREG, INTREG, AVR32_V2),
  62219. + SYNTAX_NORMAL3(ORQS, ORQS, ORQS, INTREG, INTREG, INTREG, AVR32_V2),
  62220. + SYNTAX_NORMAL3(ORAL, ORAL, ORAL, INTREG, INTREG, INTREG, AVR32_V2),
  62221. + SYNTAX_NORMAL3(ORHS, ORHS, ORCC, INTREG, INTREG, INTREG, AVR32_V2),
  62222. + SYNTAX_NORMAL3(ORLO, ORLO, ORCS, INTREG, INTREG, INTREG, AVR32_V2),
  62223. + SYNTAX_NORMAL3(EOREQ, EOREQ, EOREQ, INTREG, INTREG, INTREG, AVR32_V2),
  62224. + SYNTAX_NORMAL3(EORNE, EORNE, EORNE, INTREG, INTREG, INTREG, AVR32_V2),
  62225. + SYNTAX_NORMAL3(EORCC, EORCC, EORCC, INTREG, INTREG, INTREG, AVR32_V2),
  62226. + SYNTAX_NORMAL3(EORCS, EORCS, EORCS, INTREG, INTREG, INTREG, AVR32_V2),
  62227. + SYNTAX_NORMAL3(EORGE, EORGE, EORGE, INTREG, INTREG, INTREG, AVR32_V2),
  62228. + SYNTAX_NORMAL3(EORLT, EORLT, EORLT, INTREG, INTREG, INTREG, AVR32_V2),
  62229. + SYNTAX_NORMAL3(EORMI, EORMI, EORMI, INTREG, INTREG, INTREG, AVR32_V2),
  62230. + SYNTAX_NORMAL3(EORPL, EORPL, EORPL, INTREG, INTREG, INTREG, AVR32_V2),
  62231. + SYNTAX_NORMAL3(EORLS, EORLS, EORLS, INTREG, INTREG, INTREG, AVR32_V2),
  62232. + SYNTAX_NORMAL3(EORGT, EORGT, EORGT, INTREG, INTREG, INTREG, AVR32_V2),
  62233. + SYNTAX_NORMAL3(EORLE, EORLE, EORLE, INTREG, INTREG, INTREG, AVR32_V2),
  62234. + SYNTAX_NORMAL3(EORHI, EORHI, EORHI, INTREG, INTREG, INTREG, AVR32_V2),
  62235. + SYNTAX_NORMAL3(EORVS, EORVS, EORVS, INTREG, INTREG, INTREG, AVR32_V2),
  62236. + SYNTAX_NORMAL3(EORVC, EORVC, EORVC, INTREG, INTREG, INTREG, AVR32_V2),
  62237. + SYNTAX_NORMAL3(EORQS, EORQS, EORQS, INTREG, INTREG, INTREG, AVR32_V2),
  62238. + SYNTAX_NORMAL3(EORAL, EORAL, EORAL, INTREG, INTREG, INTREG, AVR32_V2),
  62239. + SYNTAX_NORMAL3(EORHS, EORHS, EORCC, INTREG, INTREG, INTREG, AVR32_V2),
  62240. + SYNTAX_NORMAL3(EORLO, EORLO, EORCS, INTREG, INTREG, INTREG, AVR32_V2),
  62241. + SYNTAX_NORMAL2(LD_WEQ, LD_WEQ, LD_WEQ, INTREG, INTREG_UDISP_W, AVR32_V2),
  62242. + SYNTAX_NORMAL2(LD_WNE, LD_WNE, LD_WNE, INTREG, INTREG_UDISP_W, AVR32_V2),
  62243. + SYNTAX_NORMAL2(LD_WCC, LD_WCC, LD_WCC, INTREG, INTREG_UDISP_W, AVR32_V2),
  62244. + SYNTAX_NORMAL2(LD_WCS, LD_WCS, LD_WCS, INTREG, INTREG_UDISP_W, AVR32_V2),
  62245. + SYNTAX_NORMAL2(LD_WGE, LD_WGE, LD_WGE, INTREG, INTREG_UDISP_W, AVR32_V2),
  62246. + SYNTAX_NORMAL2(LD_WLT, LD_WLT, LD_WLT, INTREG, INTREG_UDISP_W, AVR32_V2),
  62247. + SYNTAX_NORMAL2(LD_WMI, LD_WMI, LD_WMI, INTREG, INTREG_UDISP_W, AVR32_V2),
  62248. + SYNTAX_NORMAL2(LD_WPL, LD_WPL, LD_WPL, INTREG, INTREG_UDISP_W, AVR32_V2),
  62249. + SYNTAX_NORMAL2(LD_WLS, LD_WLS, LD_WLS, INTREG, INTREG_UDISP_W, AVR32_V2),
  62250. + SYNTAX_NORMAL2(LD_WGT, LD_WGT, LD_WGT, INTREG, INTREG_UDISP_W, AVR32_V2),
  62251. + SYNTAX_NORMAL2(LD_WLE, LD_WLE, LD_WLE, INTREG, INTREG_UDISP_W, AVR32_V2),
  62252. + SYNTAX_NORMAL2(LD_WHI, LD_WHI, LD_WHI, INTREG, INTREG_UDISP_W, AVR32_V2),
  62253. + SYNTAX_NORMAL2(LD_WVS, LD_WVS, LD_WVS, INTREG, INTREG_UDISP_W, AVR32_V2),
  62254. + SYNTAX_NORMAL2(LD_WVC, LD_WVC, LD_WVC, INTREG, INTREG_UDISP_W, AVR32_V2),
  62255. + SYNTAX_NORMAL2(LD_WQS, LD_WQS, LD_WQS, INTREG, INTREG_UDISP_W, AVR32_V2),
  62256. + SYNTAX_NORMAL2(LD_WAL, LD_WAL, LD_WAL, INTREG, INTREG_UDISP_W, AVR32_V2),
  62257. + SYNTAX_NORMAL2(LD_WHS, LD_WHS, LD_WCC, INTREG, INTREG_UDISP_W, AVR32_V2),
  62258. + SYNTAX_NORMAL2(LD_WLO, LD_WLO, LD_WCS, INTREG, INTREG_UDISP_W, AVR32_V2),
  62259. + SYNTAX_NORMAL2(LD_SHEQ, LD_SHEQ, LD_SHEQ, INTREG, INTREG_UDISP_H, AVR32_V2),
  62260. + SYNTAX_NORMAL2(LD_SHNE, LD_SHNE, LD_SHNE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62261. + SYNTAX_NORMAL2(LD_SHCC, LD_SHCC, LD_SHCC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62262. + SYNTAX_NORMAL2(LD_SHCS, LD_SHCS, LD_SHCS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62263. + SYNTAX_NORMAL2(LD_SHGE, LD_SHGE, LD_SHGE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62264. + SYNTAX_NORMAL2(LD_SHLT, LD_SHLT, LD_SHLT, INTREG, INTREG_UDISP_H, AVR32_V2),
  62265. + SYNTAX_NORMAL2(LD_SHMI, LD_SHMI, LD_SHMI, INTREG, INTREG_UDISP_H, AVR32_V2),
  62266. + SYNTAX_NORMAL2(LD_SHPL, LD_SHPL, LD_SHPL, INTREG, INTREG_UDISP_H, AVR32_V2),
  62267. + SYNTAX_NORMAL2(LD_SHLS, LD_SHLS, LD_SHLS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62268. + SYNTAX_NORMAL2(LD_SHGT, LD_SHGT, LD_SHGT, INTREG, INTREG_UDISP_H, AVR32_V2),
  62269. + SYNTAX_NORMAL2(LD_SHLE, LD_SHLE, LD_SHLE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62270. + SYNTAX_NORMAL2(LD_SHHI, LD_SHHI, LD_SHHI, INTREG, INTREG_UDISP_H, AVR32_V2),
  62271. + SYNTAX_NORMAL2(LD_SHVS, LD_SHVS, LD_SHVS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62272. + SYNTAX_NORMAL2(LD_SHVC, LD_SHVC, LD_SHVC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62273. + SYNTAX_NORMAL2(LD_SHQS, LD_SHQS, LD_SHQS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62274. + SYNTAX_NORMAL2(LD_SHAL, LD_SHAL, LD_SHAL, INTREG, INTREG_UDISP_H, AVR32_V2),
  62275. + SYNTAX_NORMAL2(LD_SHHS, LD_SHHS, LD_SHCC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62276. + SYNTAX_NORMAL2(LD_SHLO, LD_SHLO, LD_SHCS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62277. + SYNTAX_NORMAL2(LD_UHEQ, LD_UHEQ, LD_UHEQ, INTREG, INTREG_UDISP_H, AVR32_V2),
  62278. + SYNTAX_NORMAL2(LD_UHNE, LD_UHNE, LD_UHNE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62279. + SYNTAX_NORMAL2(LD_UHCC, LD_UHCC, LD_UHCC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62280. + SYNTAX_NORMAL2(LD_UHCS, LD_UHCS, LD_UHCS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62281. + SYNTAX_NORMAL2(LD_UHGE, LD_UHGE, LD_UHGE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62282. + SYNTAX_NORMAL2(LD_UHLT, LD_UHLT, LD_UHLT, INTREG, INTREG_UDISP_H, AVR32_V2),
  62283. + SYNTAX_NORMAL2(LD_UHMI, LD_UHMI, LD_UHMI, INTREG, INTREG_UDISP_H, AVR32_V2),
  62284. + SYNTAX_NORMAL2(LD_UHPL, LD_UHPL, LD_UHPL, INTREG, INTREG_UDISP_H, AVR32_V2),
  62285. + SYNTAX_NORMAL2(LD_UHLS, LD_UHLS, LD_UHLS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62286. + SYNTAX_NORMAL2(LD_UHGT, LD_UHGT, LD_UHGT, INTREG, INTREG_UDISP_H, AVR32_V2),
  62287. + SYNTAX_NORMAL2(LD_UHLE, LD_UHLE, LD_UHLE, INTREG, INTREG_UDISP_H, AVR32_V2),
  62288. + SYNTAX_NORMAL2(LD_UHHI, LD_UHHI, LD_UHHI, INTREG, INTREG_UDISP_H, AVR32_V2),
  62289. + SYNTAX_NORMAL2(LD_UHVS, LD_UHVS, LD_UHVS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62290. + SYNTAX_NORMAL2(LD_UHVC, LD_UHVC, LD_UHVC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62291. + SYNTAX_NORMAL2(LD_UHQS, LD_UHQS, LD_UHQS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62292. + SYNTAX_NORMAL2(LD_UHAL, LD_UHAL, LD_UHAL, INTREG, INTREG_UDISP_H, AVR32_V2),
  62293. + SYNTAX_NORMAL2(LD_UHHS, LD_UHHS, LD_UHCC, INTREG, INTREG_UDISP_H, AVR32_V2),
  62294. + SYNTAX_NORMAL2(LD_UHLO, LD_UHLO, LD_UHCS, INTREG, INTREG_UDISP_H, AVR32_V2),
  62295. + SYNTAX_NORMAL2(LD_SBEQ, LD_SBEQ, LD_SBEQ, INTREG, INTREG_UDISP, AVR32_V2),
  62296. + SYNTAX_NORMAL2(LD_SBNE, LD_SBNE, LD_SBNE, INTREG, INTREG_UDISP, AVR32_V2),
  62297. + SYNTAX_NORMAL2(LD_SBCC, LD_SBCC, LD_SBCC, INTREG, INTREG_UDISP, AVR32_V2),
  62298. + SYNTAX_NORMAL2(LD_SBCS, LD_SBCS, LD_SBCS, INTREG, INTREG_UDISP, AVR32_V2),
  62299. + SYNTAX_NORMAL2(LD_SBGE, LD_SBGE, LD_SBGE, INTREG, INTREG_UDISP, AVR32_V2),
  62300. + SYNTAX_NORMAL2(LD_SBLT, LD_SBLT, LD_SBLT, INTREG, INTREG_UDISP, AVR32_V2),
  62301. + SYNTAX_NORMAL2(LD_SBMI, LD_SBMI, LD_SBMI, INTREG, INTREG_UDISP, AVR32_V2),
  62302. + SYNTAX_NORMAL2(LD_SBPL, LD_SBPL, LD_SBPL, INTREG, INTREG_UDISP, AVR32_V2),
  62303. + SYNTAX_NORMAL2(LD_SBLS, LD_SBLS, LD_SBLS, INTREG, INTREG_UDISP, AVR32_V2),
  62304. + SYNTAX_NORMAL2(LD_SBGT, LD_SBGT, LD_SBGT, INTREG, INTREG_UDISP, AVR32_V2),
  62305. + SYNTAX_NORMAL2(LD_SBLE, LD_SBLE, LD_SBLE, INTREG, INTREG_UDISP, AVR32_V2),
  62306. + SYNTAX_NORMAL2(LD_SBHI, LD_SBHI, LD_SBHI, INTREG, INTREG_UDISP, AVR32_V2),
  62307. + SYNTAX_NORMAL2(LD_SBVS, LD_SBVS, LD_SBVS, INTREG, INTREG_UDISP, AVR32_V2),
  62308. + SYNTAX_NORMAL2(LD_SBVC, LD_SBVC, LD_SBVC, INTREG, INTREG_UDISP, AVR32_V2),
  62309. + SYNTAX_NORMAL2(LD_SBQS, LD_SBQS, LD_SBQS, INTREG, INTREG_UDISP, AVR32_V2),
  62310. + SYNTAX_NORMAL2(LD_SBAL, LD_SBAL, LD_SBAL, INTREG, INTREG_UDISP, AVR32_V2),
  62311. + SYNTAX_NORMAL2(LD_SBHS, LD_SBHS, LD_SBCC, INTREG, INTREG_UDISP, AVR32_V2),
  62312. + SYNTAX_NORMAL2(LD_SBLO, LD_SBLO, LD_SBCS, INTREG, INTREG_UDISP, AVR32_V2),
  62313. + SYNTAX_NORMAL2(LD_UBEQ, LD_UBEQ, LD_UBEQ, INTREG, INTREG_UDISP, AVR32_V2),
  62314. + SYNTAX_NORMAL2(LD_UBNE, LD_UBNE, LD_UBNE, INTREG, INTREG_UDISP, AVR32_V2),
  62315. + SYNTAX_NORMAL2(LD_UBCC, LD_UBCC, LD_UBCC, INTREG, INTREG_UDISP, AVR32_V2),
  62316. + SYNTAX_NORMAL2(LD_UBCS, LD_UBCS, LD_UBCS, INTREG, INTREG_UDISP, AVR32_V2),
  62317. + SYNTAX_NORMAL2(LD_UBGE, LD_UBGE, LD_UBGE, INTREG, INTREG_UDISP, AVR32_V2),
  62318. + SYNTAX_NORMAL2(LD_UBLT, LD_UBLT, LD_UBLT, INTREG, INTREG_UDISP, AVR32_V2),
  62319. + SYNTAX_NORMAL2(LD_UBMI, LD_UBMI, LD_UBMI, INTREG, INTREG_UDISP, AVR32_V2),
  62320. + SYNTAX_NORMAL2(LD_UBPL, LD_UBPL, LD_UBPL, INTREG, INTREG_UDISP, AVR32_V2),
  62321. + SYNTAX_NORMAL2(LD_UBLS, LD_UBLS, LD_UBLS, INTREG, INTREG_UDISP, AVR32_V2),
  62322. + SYNTAX_NORMAL2(LD_UBGT, LD_UBGT, LD_UBGT, INTREG, INTREG_UDISP, AVR32_V2),
  62323. + SYNTAX_NORMAL2(LD_UBLE, LD_UBLE, LD_UBLE, INTREG, INTREG_UDISP, AVR32_V2),
  62324. + SYNTAX_NORMAL2(LD_UBHI, LD_UBHI, LD_UBHI, INTREG, INTREG_UDISP, AVR32_V2),
  62325. + SYNTAX_NORMAL2(LD_UBVS, LD_UBVS, LD_UBVS, INTREG, INTREG_UDISP, AVR32_V2),
  62326. + SYNTAX_NORMAL2(LD_UBVC, LD_UBVC, LD_UBVC, INTREG, INTREG_UDISP, AVR32_V2),
  62327. + SYNTAX_NORMAL2(LD_UBQS, LD_UBQS, LD_UBQS, INTREG, INTREG_UDISP, AVR32_V2),
  62328. + SYNTAX_NORMAL2(LD_UBAL, LD_UBAL, LD_UBAL, INTREG, INTREG_UDISP, AVR32_V2),
  62329. + SYNTAX_NORMAL2(LD_UBHS, LD_UBHS, LD_UBCC, INTREG, INTREG_UDISP, AVR32_V2),
  62330. + SYNTAX_NORMAL2(LD_UBLO, LD_UBLO, LD_UBCS, INTREG, INTREG_UDISP, AVR32_V2),
  62331. + SYNTAX_NORMAL2(ST_WEQ, ST_WEQ, ST_WEQ, INTREG_UDISP_W, INTREG, AVR32_V2),
  62332. + SYNTAX_NORMAL2(ST_WNE, ST_WNE, ST_WNE, INTREG_UDISP_W, INTREG, AVR32_V2),
  62333. + SYNTAX_NORMAL2(ST_WCC, ST_WCC, ST_WCC, INTREG_UDISP_W, INTREG, AVR32_V2),
  62334. + SYNTAX_NORMAL2(ST_WCS, ST_WCS, ST_WCS, INTREG_UDISP_W, INTREG, AVR32_V2),
  62335. + SYNTAX_NORMAL2(ST_WGE, ST_WGE, ST_WGE, INTREG_UDISP_W, INTREG, AVR32_V2),
  62336. + SYNTAX_NORMAL2(ST_WLT, ST_WLT, ST_WLT, INTREG_UDISP_W, INTREG, AVR32_V2),
  62337. + SYNTAX_NORMAL2(ST_WMI, ST_WMI, ST_WMI, INTREG_UDISP_W, INTREG, AVR32_V2),
  62338. + SYNTAX_NORMAL2(ST_WPL, ST_WPL, ST_WPL, INTREG_UDISP_W, INTREG, AVR32_V2),
  62339. + SYNTAX_NORMAL2(ST_WLS, ST_WLS, ST_WLS, INTREG_UDISP_W, INTREG, AVR32_V2),
  62340. + SYNTAX_NORMAL2(ST_WGT, ST_WGT, ST_WGT, INTREG_UDISP_W, INTREG, AVR32_V2),
  62341. + SYNTAX_NORMAL2(ST_WLE, ST_WLE, ST_WLE, INTREG_UDISP_W, INTREG, AVR32_V2),
  62342. + SYNTAX_NORMAL2(ST_WHI, ST_WHI, ST_WHI, INTREG_UDISP_W, INTREG, AVR32_V2),
  62343. + SYNTAX_NORMAL2(ST_WVS, ST_WVS, ST_WVS, INTREG_UDISP_W, INTREG, AVR32_V2),
  62344. + SYNTAX_NORMAL2(ST_WVC, ST_WVC, ST_WVC, INTREG_UDISP_W, INTREG, AVR32_V2),
  62345. + SYNTAX_NORMAL2(ST_WQS, ST_WQS, ST_WQS, INTREG_UDISP_W, INTREG, AVR32_V2),
  62346. + SYNTAX_NORMAL2(ST_WAL, ST_WAL, ST_WAL, INTREG_UDISP_W, INTREG, AVR32_V2),
  62347. + SYNTAX_NORMAL2(ST_WHS, ST_WHS, ST_WCC, INTREG_UDISP_W, INTREG, AVR32_V2),
  62348. + SYNTAX_NORMAL2(ST_WLO, ST_WLO, ST_WCS, INTREG_UDISP_W, INTREG, AVR32_V2),
  62349. + SYNTAX_NORMAL2(ST_HEQ, ST_HEQ, ST_HEQ, INTREG_UDISP_H, INTREG, AVR32_V2),
  62350. + SYNTAX_NORMAL2(ST_HNE, ST_HNE, ST_HNE, INTREG_UDISP_H, INTREG, AVR32_V2),
  62351. + SYNTAX_NORMAL2(ST_HCC, ST_HCC, ST_HCC, INTREG_UDISP_H, INTREG, AVR32_V2),
  62352. + SYNTAX_NORMAL2(ST_HCS, ST_HCS, ST_HCS, INTREG_UDISP_H, INTREG, AVR32_V2),
  62353. + SYNTAX_NORMAL2(ST_HGE, ST_HGE, ST_HGE, INTREG_UDISP_H, INTREG, AVR32_V2),
  62354. + SYNTAX_NORMAL2(ST_HLT, ST_HLT, ST_HLT, INTREG_UDISP_H, INTREG, AVR32_V2),
  62355. + SYNTAX_NORMAL2(ST_HMI, ST_HMI, ST_HMI, INTREG_UDISP_H, INTREG, AVR32_V2),
  62356. + SYNTAX_NORMAL2(ST_HPL, ST_HPL, ST_HPL, INTREG_UDISP_H, INTREG, AVR32_V2),
  62357. + SYNTAX_NORMAL2(ST_HLS, ST_HLS, ST_HLS, INTREG_UDISP_H, INTREG, AVR32_V2),
  62358. + SYNTAX_NORMAL2(ST_HGT, ST_HGT, ST_HGT, INTREG_UDISP_H, INTREG, AVR32_V2),
  62359. + SYNTAX_NORMAL2(ST_HLE, ST_HLE, ST_HLE, INTREG_UDISP_H, INTREG, AVR32_V2),
  62360. + SYNTAX_NORMAL2(ST_HHI, ST_HHI, ST_HHI, INTREG_UDISP_H, INTREG, AVR32_V2),
  62361. + SYNTAX_NORMAL2(ST_HVS, ST_HVS, ST_HVS, INTREG_UDISP_H, INTREG, AVR32_V2),
  62362. + SYNTAX_NORMAL2(ST_HVC, ST_HVC, ST_HVC, INTREG_UDISP_H, INTREG, AVR32_V2),
  62363. + SYNTAX_NORMAL2(ST_HQS, ST_HQS, ST_HQS, INTREG_UDISP_H, INTREG, AVR32_V2),
  62364. + SYNTAX_NORMAL2(ST_HAL, ST_HAL, ST_HAL, INTREG_UDISP_H, INTREG, AVR32_V2),
  62365. + SYNTAX_NORMAL2(ST_HHS, ST_HHS, ST_HCC, INTREG_UDISP_H, INTREG, AVR32_V2),
  62366. + SYNTAX_NORMAL2(ST_HLO, ST_HLO, ST_HCS, INTREG_UDISP_H, INTREG, AVR32_V2),
  62367. + SYNTAX_NORMAL2(ST_BEQ, ST_BEQ, ST_BEQ, INTREG_UDISP, INTREG, AVR32_V2),
  62368. + SYNTAX_NORMAL2(ST_BNE, ST_BNE, ST_BNE, INTREG_UDISP, INTREG, AVR32_V2),
  62369. + SYNTAX_NORMAL2(ST_BCC, ST_BCC, ST_BCC, INTREG_UDISP, INTREG, AVR32_V2),
  62370. + SYNTAX_NORMAL2(ST_BCS, ST_BCS, ST_BCS, INTREG_UDISP, INTREG, AVR32_V2),
  62371. + SYNTAX_NORMAL2(ST_BGE, ST_BGE, ST_BGE, INTREG_UDISP, INTREG, AVR32_V2),
  62372. + SYNTAX_NORMAL2(ST_BLT, ST_BLT, ST_BLT, INTREG_UDISP, INTREG, AVR32_V2),
  62373. + SYNTAX_NORMAL2(ST_BMI, ST_BMI, ST_BMI, INTREG_UDISP, INTREG, AVR32_V2),
  62374. + SYNTAX_NORMAL2(ST_BPL, ST_BPL, ST_BPL, INTREG_UDISP, INTREG, AVR32_V2),
  62375. + SYNTAX_NORMAL2(ST_BLS, ST_BLS, ST_BLS, INTREG_UDISP, INTREG, AVR32_V2),
  62376. + SYNTAX_NORMAL2(ST_BGT, ST_BGT, ST_BGT, INTREG_UDISP, INTREG, AVR32_V2),
  62377. + SYNTAX_NORMAL2(ST_BLE, ST_BLE, ST_BLE, INTREG_UDISP, INTREG, AVR32_V2),
  62378. + SYNTAX_NORMAL2(ST_BHI, ST_BHI, ST_BHI, INTREG_UDISP, INTREG, AVR32_V2),
  62379. + SYNTAX_NORMAL2(ST_BVS, ST_BVS, ST_BVS, INTREG_UDISP, INTREG, AVR32_V2),
  62380. + SYNTAX_NORMAL2(ST_BVC, ST_BVC, ST_BVC, INTREG_UDISP, INTREG, AVR32_V2),
  62381. + SYNTAX_NORMAL2(ST_BQS, ST_BQS, ST_BQS, INTREG_UDISP, INTREG, AVR32_V2),
  62382. + SYNTAX_NORMAL2(ST_BAL, ST_BAL, ST_BAL, INTREG_UDISP, INTREG, AVR32_V2),
  62383. + SYNTAX_NORMAL2(ST_BHS, ST_BHS, ST_BCC, INTREG_UDISP, INTREG, AVR32_V2),
  62384. + SYNTAX_NORMAL2(ST_BLO, ST_BLO, ST_BCS, INTREG_UDISP, INTREG, AVR32_V2),
  62385. + SYNTAX_NORMAL2(MOVH, MOVH, MOVH, INTREG, UNSIGNED_CONST, AVR32_V2),
  62386. +
  62387. + };
  62388. +
  62389. +#define NORMAL_MNEMONIC(name, syntax, str) \
  62390. + { \
  62391. + AVR32_MNEMONIC_##name, str, \
  62392. + &avr32_syntax_table[AVR32_SYNTAX_##syntax], \
  62393. + }
  62394. +#define FP_MNEMONIC(name, syntax, str) \
  62395. + NORMAL_MNEMONIC(name##_S, syntax##_S, str ".s"), \
  62396. + NORMAL_MNEMONIC(name##_D, syntax##_D, str ".d")
  62397. +
  62398. +const struct avr32_mnemonic avr32_mnemonic_table[] =
  62399. + {
  62400. + NORMAL_MNEMONIC(ABS, ABS, "abs"),
  62401. + NORMAL_MNEMONIC(ACALL, ACALL, "acall"),
  62402. + NORMAL_MNEMONIC(ACR, ACR, "acr"),
  62403. + NORMAL_MNEMONIC(ADC, ADC, "adc"),
  62404. + NORMAL_MNEMONIC(ADD, ADD1, "add"),
  62405. + NORMAL_MNEMONIC(ADDABS, ADDABS, "addabs"),
  62406. + NORMAL_MNEMONIC(ADDHH_W, ADDHH_W, "addhh.w"),
  62407. + NORMAL_MNEMONIC(AND, AND1, "and"),
  62408. + NORMAL_MNEMONIC(ANDH, ANDH, "andh"),
  62409. + NORMAL_MNEMONIC(ANDL, ANDL, "andl"),
  62410. + NORMAL_MNEMONIC(ANDN, ANDN, "andn"),
  62411. + NORMAL_MNEMONIC(ASR, ASR1, "asr"),
  62412. + NORMAL_MNEMONIC(BFEXTS, BFEXTS, "bfexts"),
  62413. + NORMAL_MNEMONIC(BFEXTU, BFEXTU, "bfextu"),
  62414. + NORMAL_MNEMONIC(BFINS, BFINS, "bfins"),
  62415. + NORMAL_MNEMONIC(BLD, BLD, "bld"),
  62416. + NORMAL_MNEMONIC(BREQ, BREQ1, "breq"),
  62417. + NORMAL_MNEMONIC(BRNE, BRNE1, "brne"),
  62418. + NORMAL_MNEMONIC(BRCC, BRCC1, "brcc"),
  62419. + NORMAL_MNEMONIC(BRCS, BRCS1, "brcs"),
  62420. + NORMAL_MNEMONIC(BRGE, BRGE1, "brge"),
  62421. + NORMAL_MNEMONIC(BRLT, BRLT1, "brlt"),
  62422. + NORMAL_MNEMONIC(BRMI, BRMI1, "brmi"),
  62423. + NORMAL_MNEMONIC(BRPL, BRPL1, "brpl"),
  62424. + NORMAL_MNEMONIC(BRHS, BRHS1, "brhs"),
  62425. + NORMAL_MNEMONIC(BRLO, BRLO1, "brlo"),
  62426. + NORMAL_MNEMONIC(BRLS, BRLS, "brls"),
  62427. + NORMAL_MNEMONIC(BRGT, BRGT, "brgt"),
  62428. + NORMAL_MNEMONIC(BRLE, BRLE, "brle"),
  62429. + NORMAL_MNEMONIC(BRHI, BRHI, "brhi"),
  62430. + NORMAL_MNEMONIC(BRVS, BRVS, "brvs"),
  62431. + NORMAL_MNEMONIC(BRVC, BRVC, "brvc"),
  62432. + NORMAL_MNEMONIC(BRQS, BRQS, "brqs"),
  62433. + NORMAL_MNEMONIC(BRAL, BRAL, "bral"),
  62434. + NORMAL_MNEMONIC(BREAKPOINT, BREAKPOINT, "breakpoint"),
  62435. + NORMAL_MNEMONIC(BREV, BREV, "brev"),
  62436. + NORMAL_MNEMONIC(BST, BST, "bst"),
  62437. + NORMAL_MNEMONIC(CACHE, CACHE, "cache"),
  62438. + NORMAL_MNEMONIC(CASTS_B, CASTS_B, "casts.b"),
  62439. + NORMAL_MNEMONIC(CASTS_H, CASTS_H, "casts.h"),
  62440. + NORMAL_MNEMONIC(CASTU_B, CASTU_B, "castu.b"),
  62441. + NORMAL_MNEMONIC(CASTU_H, CASTU_H, "castu.h"),
  62442. + NORMAL_MNEMONIC(CBR, CBR, "cbr"),
  62443. + NORMAL_MNEMONIC(CLZ, CLZ, "clz"),
  62444. + NORMAL_MNEMONIC(COM, COM, "com"),
  62445. + NORMAL_MNEMONIC(COP, COP, "cop"),
  62446. + NORMAL_MNEMONIC(CP_B, CP_B, "cp.b"),
  62447. + NORMAL_MNEMONIC(CP_H, CP_H, "cp.h"),
  62448. + NORMAL_MNEMONIC(CP_W, CP_W1, "cp.w"),
  62449. + NORMAL_MNEMONIC(CP, CP_W1, "cp"),
  62450. + NORMAL_MNEMONIC(CPC, CPC1, "cpc"),
  62451. + NORMAL_MNEMONIC(CSRF, CSRF, "csrf"),
  62452. + NORMAL_MNEMONIC(CSRFCZ, CSRFCZ, "csrfcz"),
  62453. + NORMAL_MNEMONIC(DIVS, DIVS, "divs"),
  62454. + NORMAL_MNEMONIC(DIVU, DIVU, "divu"),
  62455. + NORMAL_MNEMONIC(EOR, EOR1, "eor"),
  62456. + NORMAL_MNEMONIC(EORL, EORL, "eorl"),
  62457. + NORMAL_MNEMONIC(EORH, EORH, "eorh"),
  62458. + NORMAL_MNEMONIC(FRS, FRS, "frs"),
  62459. + NORMAL_MNEMONIC(SSCALL, SSCALL, "sscall"),
  62460. + NORMAL_MNEMONIC(RETSS, RETSS, "retss"),
  62461. + NORMAL_MNEMONIC(ICALL, ICALL, "icall"),
  62462. + NORMAL_MNEMONIC(INCJOSP, INCJOSP, "incjosp"),
  62463. + NORMAL_MNEMONIC(LD_D, LD_D1, "ld.d"),
  62464. + NORMAL_MNEMONIC(LD_SB, LD_SB2, "ld.sb"),
  62465. + NORMAL_MNEMONIC(LD_UB, LD_UB1, "ld.ub"),
  62466. + NORMAL_MNEMONIC(LD_SH, LD_SH1, "ld.sh"),
  62467. + NORMAL_MNEMONIC(LD_UH, LD_UH1, "ld.uh"),
  62468. + NORMAL_MNEMONIC(LD_W, LD_W1, "ld.w"),
  62469. + NORMAL_MNEMONIC(LDC_D, LDC_D3, "ldc.d"),
  62470. + NORMAL_MNEMONIC(LDC_W, LDC_W3, "ldc.w"),
  62471. + NORMAL_MNEMONIC(LDC0_D, LDC0_D, "ldc0.d"),
  62472. + NORMAL_MNEMONIC(LDC0_W, LDC0_W, "ldc0.w"),
  62473. + NORMAL_MNEMONIC(LDCM_D, LDCM_D, "ldcm.d"),
  62474. + NORMAL_MNEMONIC(LDCM_W, LDCM_W, "ldcm.w"),
  62475. + NORMAL_MNEMONIC(LDDPC, LDDPC, "lddpc"),
  62476. + NORMAL_MNEMONIC(LDDSP, LDDSP, "lddsp"),
  62477. + NORMAL_MNEMONIC(LDINS_B, LDINS_B, "ldins.b"),
  62478. + NORMAL_MNEMONIC(LDINS_H, LDINS_H, "ldins.h"),
  62479. + NORMAL_MNEMONIC(LDM, LDM, "ldm"),
  62480. + NORMAL_MNEMONIC(LDMTS, LDMTS, "ldmts"),
  62481. + NORMAL_MNEMONIC(LDSWP_SH, LDSWP_SH, "ldswp.sh"),
  62482. + NORMAL_MNEMONIC(LDSWP_UH, LDSWP_UH, "ldswp.uh"),
  62483. + NORMAL_MNEMONIC(LDSWP_W, LDSWP_W, "ldswp.w"),
  62484. + NORMAL_MNEMONIC(LSL, LSL1, "lsl"),
  62485. + NORMAL_MNEMONIC(LSR, LSR1, "lsr"),
  62486. + NORMAL_MNEMONIC(MAC, MAC, "mac"),
  62487. + NORMAL_MNEMONIC(MACHH_D, MACHH_D, "machh.d"),
  62488. + NORMAL_MNEMONIC(MACHH_W, MACHH_W, "machh.w"),
  62489. + NORMAL_MNEMONIC(MACS_D, MACS_D, "macs.d"),
  62490. + NORMAL_MNEMONIC(MACSATHH_W, MACSATHH_W, "macsathh.w"),
  62491. + NORMAL_MNEMONIC(MACU_D, MACUD, "macu.d"),
  62492. + NORMAL_MNEMONIC(MACWH_D, MACWH_D, "macwh.d"),
  62493. + NORMAL_MNEMONIC(MAX, MAX, "max"),
  62494. + NORMAL_MNEMONIC(MCALL, MCALL, "mcall"),
  62495. + NORMAL_MNEMONIC(MFDR, MFDR, "mfdr"),
  62496. + NORMAL_MNEMONIC(MFSR, MFSR, "mfsr"),
  62497. + NORMAL_MNEMONIC(MIN, MIN, "min"),
  62498. + NORMAL_MNEMONIC(MOV, MOV3, "mov"),
  62499. + NORMAL_MNEMONIC(MOVEQ, MOVEQ1, "moveq"),
  62500. + NORMAL_MNEMONIC(MOVNE, MOVNE1, "movne"),
  62501. + NORMAL_MNEMONIC(MOVCC, MOVCC1, "movcc"),
  62502. + NORMAL_MNEMONIC(MOVCS, MOVCS1, "movcs"),
  62503. + NORMAL_MNEMONIC(MOVGE, MOVGE1, "movge"),
  62504. + NORMAL_MNEMONIC(MOVLT, MOVLT1, "movlt"),
  62505. + NORMAL_MNEMONIC(MOVMI, MOVMI1, "movmi"),
  62506. + NORMAL_MNEMONIC(MOVPL, MOVPL1, "movpl"),
  62507. + NORMAL_MNEMONIC(MOVLS, MOVLS1, "movls"),
  62508. + NORMAL_MNEMONIC(MOVGT, MOVGT1, "movgt"),
  62509. + NORMAL_MNEMONIC(MOVLE, MOVLE1, "movle"),
  62510. + NORMAL_MNEMONIC(MOVHI, MOVHI1, "movhi"),
  62511. + NORMAL_MNEMONIC(MOVVS, MOVVS1, "movvs"),
  62512. + NORMAL_MNEMONIC(MOVVC, MOVVC1, "movvc"),
  62513. + NORMAL_MNEMONIC(MOVQS, MOVQS1, "movqs"),
  62514. + NORMAL_MNEMONIC(MOVAL, MOVAL1, "moval"),
  62515. + NORMAL_MNEMONIC(MOVHS, MOVHS1, "movhs"),
  62516. + NORMAL_MNEMONIC(MOVLO, MOVLO1, "movlo"),
  62517. + NORMAL_MNEMONIC(MTDR, MTDR, "mtdr"),
  62518. + NORMAL_MNEMONIC(MTSR, MTSR, "mtsr"),
  62519. + NORMAL_MNEMONIC(MUL, MUL1, "mul"),
  62520. + NORMAL_MNEMONIC(MULHH_W, MULHH_W, "mulhh.w"),
  62521. + NORMAL_MNEMONIC(MULNHH_W, MULNHH_W, "mulnhh.w"),
  62522. + NORMAL_MNEMONIC(MULNWH_D, MULNWH_D, "mulnwh.d"),
  62523. + NORMAL_MNEMONIC(MULS_D, MULSD, "muls.d"),
  62524. + NORMAL_MNEMONIC(MULSATHH_H, MULSATHH_H, "mulsathh.h"),
  62525. + NORMAL_MNEMONIC(MULSATHH_W, MULSATHH_W, "mulsathh.w"),
  62526. + NORMAL_MNEMONIC(MULSATRNDHH_H, MULSATRNDHH_H, "mulsatrndhh.h"),
  62527. + NORMAL_MNEMONIC(MULSATRNDWH_W, MULSATRNDWH_W, "mulsatrndwh.w"),
  62528. + NORMAL_MNEMONIC(MULSATWH_W, MULSATWH_W, "mulsatwh.w"),
  62529. + NORMAL_MNEMONIC(MULU_D, MULU_D, "mulu.d"),
  62530. + NORMAL_MNEMONIC(MULWH_D, MULWH_D, "mulwh.d"),
  62531. + NORMAL_MNEMONIC(MUSFR, MUSFR, "musfr"),
  62532. + NORMAL_MNEMONIC(MUSTR, MUSTR, "mustr"),
  62533. + NORMAL_MNEMONIC(MVCR_D, MVCR_D, "mvcr.d"),
  62534. + NORMAL_MNEMONIC(MVCR_W, MVCR_W, "mvcr.w"),
  62535. + NORMAL_MNEMONIC(MVRC_D, MVRC_D, "mvrc.d"),
  62536. + NORMAL_MNEMONIC(MVRC_W, MVRC_W, "mvrc.w"),
  62537. + NORMAL_MNEMONIC(NEG, NEG, "neg"),
  62538. + NORMAL_MNEMONIC(NOP, NOP, "nop"),
  62539. + NORMAL_MNEMONIC(OR, OR1, "or"),
  62540. + NORMAL_MNEMONIC(ORH, ORH, "orh"),
  62541. + NORMAL_MNEMONIC(ORL, ORL, "orl"),
  62542. + NORMAL_MNEMONIC(PABS_SB, PABS_SB, "pabs.sb"),
  62543. + NORMAL_MNEMONIC(PABS_SH, PABS_SH, "pabs.sh"),
  62544. + NORMAL_MNEMONIC(PACKSH_SB, PACKSH_SB, "packsh.sb"),
  62545. + NORMAL_MNEMONIC(PACKSH_UB, PACKSH_UB, "packsh.ub"),
  62546. + NORMAL_MNEMONIC(PACKW_SH, PACKW_SH, "packw.sh"),
  62547. + NORMAL_MNEMONIC(PADD_B, PADD_B, "padd.b"),
  62548. + NORMAL_MNEMONIC(PADD_H, PADD_H, "padd.h"),
  62549. + NORMAL_MNEMONIC(PADDH_SH, PADDH_SH, "paddh.sh"),
  62550. + NORMAL_MNEMONIC(PADDH_UB, PADDH_UB, "paddh.ub"),
  62551. + NORMAL_MNEMONIC(PADDS_SB, PADDS_SB, "padds.sb"),
  62552. + NORMAL_MNEMONIC(PADDS_SH, PADDS_SH, "padds.sh"),
  62553. + NORMAL_MNEMONIC(PADDS_UB, PADDS_UB, "padds.ub"),
  62554. + NORMAL_MNEMONIC(PADDS_UH, PADDS_UH, "padds.uh"),
  62555. + NORMAL_MNEMONIC(PADDSUB_H, PADDSUB_H, "paddsub.h"),
  62556. + NORMAL_MNEMONIC(PADDSUBH_SH, PADDSUBH_SH, "paddsubh.sh"),
  62557. + NORMAL_MNEMONIC(PADDSUBS_SH, PADDSUBS_SH, "paddsubs.sh"),
  62558. + NORMAL_MNEMONIC(PADDSUBS_UH, PADDSUBS_UH, "paddsubs.uh"),
  62559. + NORMAL_MNEMONIC(PADDX_H, PADDX_H, "paddx.h"),
  62560. + NORMAL_MNEMONIC(PADDXH_SH, PADDXH_SH, "paddxh.sh"),
  62561. + NORMAL_MNEMONIC(PADDXS_SH, PADDXS_SH, "paddxs.sh"),
  62562. + NORMAL_MNEMONIC(PADDXS_UH, PADDXS_UH, "paddxs.uh"),
  62563. + NORMAL_MNEMONIC(PASR_B, PASR_B, "pasr.b"),
  62564. + NORMAL_MNEMONIC(PASR_H, PASR_H, "pasr.h"),
  62565. + NORMAL_MNEMONIC(PAVG_SH, PAVG_SH, "pavg.sh"),
  62566. + NORMAL_MNEMONIC(PAVG_UB, PAVG_UB, "pavg.ub"),
  62567. + NORMAL_MNEMONIC(PLSL_B, PLSL_B, "plsl.b"),
  62568. + NORMAL_MNEMONIC(PLSL_H, PLSL_H, "plsl.h"),
  62569. + NORMAL_MNEMONIC(PLSR_B, PLSR_B, "plsr.b"),
  62570. + NORMAL_MNEMONIC(PLSR_H, PLSR_H, "plsr.h"),
  62571. + NORMAL_MNEMONIC(PMAX_SH, PMAX_SH, "pmax.sh"),
  62572. + NORMAL_MNEMONIC(PMAX_UB, PMAX_UB, "pmax.ub"),
  62573. + NORMAL_MNEMONIC(PMIN_SH, PMIN_SH, "pmin.sh"),
  62574. + NORMAL_MNEMONIC(PMIN_UB, PMIN_UB, "pmin.ub"),
  62575. + NORMAL_MNEMONIC(POPJC, POPJC, "popjc"),
  62576. + NORMAL_MNEMONIC(POPM, POPM, "popm"),
  62577. + NORMAL_MNEMONIC(PREF, PREF, "pref"),
  62578. + NORMAL_MNEMONIC(PSAD, PSAD, "psad"),
  62579. + NORMAL_MNEMONIC(PSUB_B, PSUB_B, "psub.b"),
  62580. + NORMAL_MNEMONIC(PSUB_H, PSUB_H, "psub.h"),
  62581. + NORMAL_MNEMONIC(PSUBADD_H, PSUBADD_H, "psubadd.h"),
  62582. + NORMAL_MNEMONIC(PSUBADDH_SH, PSUBADDH_SH, "psubaddh.sh"),
  62583. + NORMAL_MNEMONIC(PSUBADDS_SH, PSUBADDS_SH, "psubadds.sh"),
  62584. + NORMAL_MNEMONIC(PSUBADDS_UH, PSUBADDS_UH, "psubadds.uh"),
  62585. + NORMAL_MNEMONIC(PSUBH_SH, PSUBH_SH, "psubh.sh"),
  62586. + NORMAL_MNEMONIC(PSUBH_UB, PSUBH_UB, "psubh.ub"),
  62587. + NORMAL_MNEMONIC(PSUBS_SB, PSUBS_SB, "psubs.sb"),
  62588. + NORMAL_MNEMONIC(PSUBS_SH, PSUBS_SH, "psubs.sh"),
  62589. + NORMAL_MNEMONIC(PSUBS_UB, PSUBS_UB, "psubs.ub"),
  62590. + NORMAL_MNEMONIC(PSUBS_UH, PSUBS_UH, "psubs.uh"),
  62591. + NORMAL_MNEMONIC(PSUBX_H, PSUBX_H, "psubx.h"),
  62592. + NORMAL_MNEMONIC(PSUBXH_SH, PSUBXH_SH, "psubxh.sh"),
  62593. + NORMAL_MNEMONIC(PSUBXS_SH, PSUBXS_SH, "psubxs.sh"),
  62594. + NORMAL_MNEMONIC(PSUBXS_UH, PSUBXS_UH, "psubxs.uh"),
  62595. + NORMAL_MNEMONIC(PUNPCKSB_H, PUNPCKSB_H, "punpcksb.h"),
  62596. + NORMAL_MNEMONIC(PUNPCKUB_H, PUNPCKUB_H, "punpckub.h"),
  62597. + NORMAL_MNEMONIC(PUSHJC, PUSHJC, "pushjc"),
  62598. + NORMAL_MNEMONIC(PUSHM, PUSHM, "pushm"),
  62599. + NORMAL_MNEMONIC(RCALL, RCALL1, "rcall"),
  62600. + NORMAL_MNEMONIC(RETEQ, RETEQ, "reteq"),
  62601. + NORMAL_MNEMONIC(RETNE, RETNE, "retne"),
  62602. + NORMAL_MNEMONIC(RETCC, RETCC, "retcc"),
  62603. + NORMAL_MNEMONIC(RETCS, RETCS, "retcs"),
  62604. + NORMAL_MNEMONIC(RETGE, RETGE, "retge"),
  62605. + NORMAL_MNEMONIC(RETLT, RETLT, "retlt"),
  62606. + NORMAL_MNEMONIC(RETMI, RETMI, "retmi"),
  62607. + NORMAL_MNEMONIC(RETPL, RETPL, "retpl"),
  62608. + NORMAL_MNEMONIC(RETLS, RETLS, "retls"),
  62609. + NORMAL_MNEMONIC(RETGT, RETGT, "retgt"),
  62610. + NORMAL_MNEMONIC(RETLE, RETLE, "retle"),
  62611. + NORMAL_MNEMONIC(RETHI, RETHI, "rethi"),
  62612. + NORMAL_MNEMONIC(RETVS, RETVS, "retvs"),
  62613. + NORMAL_MNEMONIC(RETVC, RETVC, "retvc"),
  62614. + NORMAL_MNEMONIC(RETQS, RETQS, "retqs"),
  62615. + NORMAL_MNEMONIC(RETAL, RETAL, "retal"),
  62616. + NORMAL_MNEMONIC(RETHS, RETHS, "reths"),
  62617. + NORMAL_MNEMONIC(RETLO, RETLO, "retlo"),
  62618. + NORMAL_MNEMONIC(RET, RETAL, "ret"),
  62619. + NORMAL_MNEMONIC(RETD, RETD, "retd"),
  62620. + NORMAL_MNEMONIC(RETE, RETE, "rete"),
  62621. + NORMAL_MNEMONIC(RETJ, RETJ, "retj"),
  62622. + NORMAL_MNEMONIC(RETS, RETS, "rets"),
  62623. + NORMAL_MNEMONIC(RJMP, RJMP, "rjmp"),
  62624. + NORMAL_MNEMONIC(ROL, ROL, "rol"),
  62625. + NORMAL_MNEMONIC(ROR, ROR, "ror"),
  62626. + NORMAL_MNEMONIC(RSUB, RSUB1, "rsub"),
  62627. + NORMAL_MNEMONIC(SATADD_H, SATADD_H, "satadd.h"),
  62628. + NORMAL_MNEMONIC(SATADD_W, SATADD_W, "satadd.w"),
  62629. + NORMAL_MNEMONIC(SATRNDS, SATRNDS, "satrnds"),
  62630. + NORMAL_MNEMONIC(SATRNDU, SATRNDU, "satrndu"),
  62631. + NORMAL_MNEMONIC(SATS, SATS, "sats"),
  62632. + NORMAL_MNEMONIC(SATSUB_H, SATSUB_H, "satsub.h"),
  62633. + NORMAL_MNEMONIC(SATSUB_W, SATSUB_W1, "satsub.w"),
  62634. + NORMAL_MNEMONIC(SATU, SATU, "satu"),
  62635. + NORMAL_MNEMONIC(SBC, SBC, "sbc"),
  62636. + NORMAL_MNEMONIC(SBR, SBR, "sbr"),
  62637. + NORMAL_MNEMONIC(SCALL, SCALL, "scall"),
  62638. + NORMAL_MNEMONIC(SCR, SCR, "scr"),
  62639. + NORMAL_MNEMONIC(SLEEP, SLEEP, "sleep"),
  62640. + NORMAL_MNEMONIC(SREQ, SREQ, "sreq"),
  62641. + NORMAL_MNEMONIC(SRNE, SRNE, "srne"),
  62642. + NORMAL_MNEMONIC(SRCC, SRCC, "srcc"),
  62643. + NORMAL_MNEMONIC(SRCS, SRCS, "srcs"),
  62644. + NORMAL_MNEMONIC(SRGE, SRGE, "srge"),
  62645. + NORMAL_MNEMONIC(SRLT, SRLT, "srlt"),
  62646. + NORMAL_MNEMONIC(SRMI, SRMI, "srmi"),
  62647. + NORMAL_MNEMONIC(SRPL, SRPL, "srpl"),
  62648. + NORMAL_MNEMONIC(SRLS, SRLS, "srls"),
  62649. + NORMAL_MNEMONIC(SRGT, SRGT, "srgt"),
  62650. + NORMAL_MNEMONIC(SRLE, SRLE, "srle"),
  62651. + NORMAL_MNEMONIC(SRHI, SRHI, "srhi"),
  62652. + NORMAL_MNEMONIC(SRVS, SRVS, "srvs"),
  62653. + NORMAL_MNEMONIC(SRVC, SRVC, "srvc"),
  62654. + NORMAL_MNEMONIC(SRQS, SRQS, "srqs"),
  62655. + NORMAL_MNEMONIC(SRAL, SRAL, "sral"),
  62656. + NORMAL_MNEMONIC(SRHS, SRHS, "srhs"),
  62657. + NORMAL_MNEMONIC(SRLO, SRLO, "srlo"),
  62658. + NORMAL_MNEMONIC(SSRF, SSRF, "ssrf"),
  62659. + NORMAL_MNEMONIC(ST_B, ST_B1, "st.b"),
  62660. + NORMAL_MNEMONIC(ST_D, ST_D1, "st.d"),
  62661. + NORMAL_MNEMONIC(ST_H, ST_H1, "st.h"),
  62662. + NORMAL_MNEMONIC(ST_W, ST_W1, "st.w"),
  62663. + NORMAL_MNEMONIC(STC_D, STC_D3, "stc.d"),
  62664. + NORMAL_MNEMONIC(STC_W, STC_W3, "stc.w"),
  62665. + NORMAL_MNEMONIC(STC0_D, STC0_D, "stc0.d"),
  62666. + NORMAL_MNEMONIC(STC0_W, STC0_W, "stc0.w"),
  62667. + NORMAL_MNEMONIC(STCM_D, STCM_D, "stcm.d"),
  62668. + NORMAL_MNEMONIC(STCM_W, STCM_W, "stcm.w"),
  62669. + NORMAL_MNEMONIC(STCOND, STCOND, "stcond"),
  62670. + NORMAL_MNEMONIC(STDSP, STDSP, "stdsp"),
  62671. + NORMAL_MNEMONIC(STHH_W, STHH_W2, "sthh.w"),
  62672. + NORMAL_MNEMONIC(STM, STM, "stm"),
  62673. + NORMAL_MNEMONIC(STMTS, STMTS, "stmts"),
  62674. + NORMAL_MNEMONIC(STSWP_H, STSWP_H, "stswp.h"),
  62675. + NORMAL_MNEMONIC(STSWP_W, STSWP_W, "stswp.w"),
  62676. + NORMAL_MNEMONIC(SUB, SUB1, "sub"),
  62677. + NORMAL_MNEMONIC(SUBEQ, SUBEQ, "subeq"),
  62678. + NORMAL_MNEMONIC(SUBNE, SUBNE, "subne"),
  62679. + NORMAL_MNEMONIC(SUBCC, SUBCC, "subcc"),
  62680. + NORMAL_MNEMONIC(SUBCS, SUBCS, "subcs"),
  62681. + NORMAL_MNEMONIC(SUBGE, SUBGE, "subge"),
  62682. + NORMAL_MNEMONIC(SUBLT, SUBLT, "sublt"),
  62683. + NORMAL_MNEMONIC(SUBMI, SUBMI, "submi"),
  62684. + NORMAL_MNEMONIC(SUBPL, SUBPL, "subpl"),
  62685. + NORMAL_MNEMONIC(SUBLS, SUBLS, "subls"),
  62686. + NORMAL_MNEMONIC(SUBGT, SUBGT, "subgt"),
  62687. + NORMAL_MNEMONIC(SUBLE, SUBLE, "suble"),
  62688. + NORMAL_MNEMONIC(SUBHI, SUBHI, "subhi"),
  62689. + NORMAL_MNEMONIC(SUBVS, SUBVS, "subvs"),
  62690. + NORMAL_MNEMONIC(SUBVC, SUBVC, "subvc"),
  62691. + NORMAL_MNEMONIC(SUBQS, SUBQS, "subqs"),
  62692. + NORMAL_MNEMONIC(SUBAL, SUBAL, "subal"),
  62693. + NORMAL_MNEMONIC(SUBHS, SUBHS, "subhs"),
  62694. + NORMAL_MNEMONIC(SUBLO, SUBLO, "sublo"),
  62695. + NORMAL_MNEMONIC(SUBFEQ, SUBFEQ, "subfeq"),
  62696. + NORMAL_MNEMONIC(SUBFNE, SUBFNE, "subfne"),
  62697. + NORMAL_MNEMONIC(SUBFCC, SUBFCC, "subfcc"),
  62698. + NORMAL_MNEMONIC(SUBFCS, SUBFCS, "subfcs"),
  62699. + NORMAL_MNEMONIC(SUBFGE, SUBFGE, "subfge"),
  62700. + NORMAL_MNEMONIC(SUBFLT, SUBFLT, "subflt"),
  62701. + NORMAL_MNEMONIC(SUBFMI, SUBFMI, "subfmi"),
  62702. + NORMAL_MNEMONIC(SUBFPL, SUBFPL, "subfpl"),
  62703. + NORMAL_MNEMONIC(SUBFLS, SUBFLS, "subfls"),
  62704. + NORMAL_MNEMONIC(SUBFGT, SUBFGT, "subfgt"),
  62705. + NORMAL_MNEMONIC(SUBFLE, SUBFLE, "subfle"),
  62706. + NORMAL_MNEMONIC(SUBFHI, SUBFHI, "subfhi"),
  62707. + NORMAL_MNEMONIC(SUBFVS, SUBFVS, "subfvs"),
  62708. + NORMAL_MNEMONIC(SUBFVC, SUBFVC, "subfvc"),
  62709. + NORMAL_MNEMONIC(SUBFQS, SUBFQS, "subfqs"),
  62710. + NORMAL_MNEMONIC(SUBFAL, SUBFAL, "subfal"),
  62711. + NORMAL_MNEMONIC(SUBFHS, SUBFHS, "subfhs"),
  62712. + NORMAL_MNEMONIC(SUBFLO, SUBFLO, "subflo"),
  62713. + NORMAL_MNEMONIC(SUBHH_W, SUBHH_W, "subhh.w"),
  62714. + NORMAL_MNEMONIC(SWAP_B, SWAP_B, "swap.b"),
  62715. + NORMAL_MNEMONIC(SWAP_BH, SWAP_BH, "swap.bh"),
  62716. + NORMAL_MNEMONIC(SWAP_H, SWAP_H, "swap.h"),
  62717. + NORMAL_MNEMONIC(SYNC, SYNC, "sync"),
  62718. + NORMAL_MNEMONIC(TLBR, TLBR, "tlbr"),
  62719. + NORMAL_MNEMONIC(TLBS, TLBS, "tlbs"),
  62720. + NORMAL_MNEMONIC(TLBW, TLBW, "tlbw"),
  62721. + NORMAL_MNEMONIC(TNBZ, TNBZ, "tnbz"),
  62722. + NORMAL_MNEMONIC(TST, TST, "tst"),
  62723. + NORMAL_MNEMONIC(XCHG, XCHG, "xchg"),
  62724. + NORMAL_MNEMONIC(MEMC, MEMC, "memc"),
  62725. + NORMAL_MNEMONIC(MEMS, MEMS, "mems"),
  62726. + NORMAL_MNEMONIC(MEMT, MEMT, "memt"),
  62727. + NORMAL_MNEMONIC (FMAC_S, FMAC_S, "fmac.s"),
  62728. + NORMAL_MNEMONIC (FNMAC_S, FNMAC_S, "fnmac.s"),
  62729. + NORMAL_MNEMONIC (FMSC_S, FMSC_S, "fmsc.s"),
  62730. + NORMAL_MNEMONIC (FNMSC_S, FNMSC_S, "fnmsc.s"),
  62731. + NORMAL_MNEMONIC (FMUL_S, FMUL_S, "fmul.s"),
  62732. + NORMAL_MNEMONIC (FNMUL_S, FNMUL_S, "fnmul.s"),
  62733. + NORMAL_MNEMONIC (FADD_S, FADD_S, "fadd.s"),
  62734. + NORMAL_MNEMONIC (FSUB_S, FSUB_S, "fsub.s"),
  62735. + NORMAL_MNEMONIC (FCASTRS_SW, FCASTRS_SW, "fcastrs.sw"),
  62736. + NORMAL_MNEMONIC (FCASTRS_UW, FCASTRS_UW, "fcastrs.uw"),
  62737. + NORMAL_MNEMONIC (FCASTSW_S, FCASTSW_S, "fcastsw.s"),
  62738. + NORMAL_MNEMONIC (FCASTUW_S, FCASTUW_S, "fcastuw.s"),
  62739. + NORMAL_MNEMONIC (FCMP_S, FCMP_S, "fcmp.s"),
  62740. + NORMAL_MNEMONIC (FCHK_S, FCHK_S, "fchk.s"),
  62741. + NORMAL_MNEMONIC (FRCPA_S, FRCPA_S, "frcpa.s"),
  62742. + NORMAL_MNEMONIC (FRSQRTA_S, FRSQRTA_S, "frsqrta.s"),
  62743. + NORMAL_MNEMONIC(LDA_W, LDA_W, "lda.w"),
  62744. + NORMAL_MNEMONIC(CALL, CALL, "call"),
  62745. + NORMAL_MNEMONIC(PICOSVMAC, PICOSVMAC0, "picosvmac"),
  62746. + NORMAL_MNEMONIC(PICOSVMUL, PICOSVMUL0, "picosvmul"),
  62747. + NORMAL_MNEMONIC(PICOVMAC, PICOVMAC0, "picovmac"),
  62748. + NORMAL_MNEMONIC(PICOVMUL, PICOVMUL0, "picovmul"),
  62749. + NORMAL_MNEMONIC(PICOLD_D, PICOLD_D2, "picold.d"),
  62750. + NORMAL_MNEMONIC(PICOLD_W, PICOLD_W2, "picold.w"),
  62751. + NORMAL_MNEMONIC(PICOLDM_D, PICOLDM_D, "picoldm.d"),
  62752. + NORMAL_MNEMONIC(PICOLDM_W, PICOLDM_W, "picoldm.w"),
  62753. + NORMAL_MNEMONIC(PICOMV_D, PICOMV_D1, "picomv.d"),
  62754. + NORMAL_MNEMONIC(PICOMV_W, PICOMV_W1, "picomv.w"),
  62755. + NORMAL_MNEMONIC(PICOST_D, PICOST_D2, "picost.d"),
  62756. + NORMAL_MNEMONIC(PICOST_W, PICOST_W2, "picost.w"),
  62757. + NORMAL_MNEMONIC(PICOSTM_D, PICOSTM_D, "picostm.d"),
  62758. + NORMAL_MNEMONIC(PICOSTM_W, PICOSTM_W, "picostm.w"),
  62759. + NORMAL_MNEMONIC(RSUBEQ, RSUBEQ, "rsubeq"),
  62760. + NORMAL_MNEMONIC(RSUBNE, RSUBNE, "rsubne"),
  62761. + NORMAL_MNEMONIC(RSUBCC, RSUBCC, "rsubcc"),
  62762. + NORMAL_MNEMONIC(RSUBCS, RSUBCS, "rsubcs"),
  62763. + NORMAL_MNEMONIC(RSUBGE, RSUBGE, "rsubge"),
  62764. + NORMAL_MNEMONIC(RSUBLT, RSUBLT, "rsublt"),
  62765. + NORMAL_MNEMONIC(RSUBMI, RSUBMI, "rsubmi"),
  62766. + NORMAL_MNEMONIC(RSUBPL, RSUBPL, "rsubpl"),
  62767. + NORMAL_MNEMONIC(RSUBLS, RSUBLS, "rsubls"),
  62768. + NORMAL_MNEMONIC(RSUBGT, RSUBGT, "rsubgt"),
  62769. + NORMAL_MNEMONIC(RSUBLE, RSUBLE, "rsuble"),
  62770. + NORMAL_MNEMONIC(RSUBHI, RSUBHI, "rsubhi"),
  62771. + NORMAL_MNEMONIC(RSUBVS, RSUBVS, "rsubvs"),
  62772. + NORMAL_MNEMONIC(RSUBVC, RSUBVC, "rsubvc"),
  62773. + NORMAL_MNEMONIC(RSUBQS, RSUBQS, "rsubqs"),
  62774. + NORMAL_MNEMONIC(RSUBAL, RSUBAL, "rsubal"),
  62775. + NORMAL_MNEMONIC(RSUBHS, RSUBHS, "rsubhs"),
  62776. + NORMAL_MNEMONIC(RSUBLO, RSUBLO, "rsublo"),
  62777. + NORMAL_MNEMONIC(ADDEQ, ADDEQ, "addeq"),
  62778. + NORMAL_MNEMONIC(ADDNE, ADDNE, "addne"),
  62779. + NORMAL_MNEMONIC(ADDCC, ADDCC, "addcc"),
  62780. + NORMAL_MNEMONIC(ADDCS, ADDCS, "addcs"),
  62781. + NORMAL_MNEMONIC(ADDGE, ADDGE, "addge"),
  62782. + NORMAL_MNEMONIC(ADDLT, ADDLT, "addlt"),
  62783. + NORMAL_MNEMONIC(ADDMI, ADDMI, "addmi"),
  62784. + NORMAL_MNEMONIC(ADDPL, ADDPL, "addpl"),
  62785. + NORMAL_MNEMONIC(ADDLS, ADDLS, "addls"),
  62786. + NORMAL_MNEMONIC(ADDGT, ADDGT, "addgt"),
  62787. + NORMAL_MNEMONIC(ADDLE, ADDLE, "addle"),
  62788. + NORMAL_MNEMONIC(ADDHI, ADDHI, "addhi"),
  62789. + NORMAL_MNEMONIC(ADDVS, ADDVS, "addvs"),
  62790. + NORMAL_MNEMONIC(ADDVC, ADDVC, "addvc"),
  62791. + NORMAL_MNEMONIC(ADDQS, ADDQS, "addqs"),
  62792. + NORMAL_MNEMONIC(ADDAL, ADDAL, "addal"),
  62793. + NORMAL_MNEMONIC(ADDHS, ADDHS, "addhs"),
  62794. + NORMAL_MNEMONIC(ADDLO, ADDLO, "addlo"),
  62795. + NORMAL_MNEMONIC(ANDEQ, ANDEQ, "andeq"),
  62796. + NORMAL_MNEMONIC(ANDNE, ANDNE, "andne"),
  62797. + NORMAL_MNEMONIC(ANDCC, ANDCC, "andcc"),
  62798. + NORMAL_MNEMONIC(ANDCS, ANDCS, "andcs"),
  62799. + NORMAL_MNEMONIC(ANDGE, ANDGE, "andge"),
  62800. + NORMAL_MNEMONIC(ANDLT, ANDLT, "andlt"),
  62801. + NORMAL_MNEMONIC(ANDMI, ANDMI, "andmi"),
  62802. + NORMAL_MNEMONIC(ANDPL, ANDPL, "andpl"),
  62803. + NORMAL_MNEMONIC(ANDLS, ANDLS, "andls"),
  62804. + NORMAL_MNEMONIC(ANDGT, ANDGT, "andgt"),
  62805. + NORMAL_MNEMONIC(ANDLE, ANDLE, "andle"),
  62806. + NORMAL_MNEMONIC(ANDHI, ANDHI, "andhi"),
  62807. + NORMAL_MNEMONIC(ANDVS, ANDVS, "andvs"),
  62808. + NORMAL_MNEMONIC(ANDVC, ANDVC, "andvc"),
  62809. + NORMAL_MNEMONIC(ANDQS, ANDQS, "andqs"),
  62810. + NORMAL_MNEMONIC(ANDAL, ANDAL, "andal"),
  62811. + NORMAL_MNEMONIC(ANDHS, ANDHS, "andhs"),
  62812. + NORMAL_MNEMONIC(ANDLO, ANDLO, "andlo"),
  62813. + NORMAL_MNEMONIC(OREQ, OREQ, "oreq"),
  62814. + NORMAL_MNEMONIC(ORNE, ORNE, "orne"),
  62815. + NORMAL_MNEMONIC(ORCC, ORCC, "orcc"),
  62816. + NORMAL_MNEMONIC(ORCS, ORCS, "orcs"),
  62817. + NORMAL_MNEMONIC(ORGE, ORGE, "orge"),
  62818. + NORMAL_MNEMONIC(ORLT, ORLT, "orlt"),
  62819. + NORMAL_MNEMONIC(ORMI, ORMI, "ormi"),
  62820. + NORMAL_MNEMONIC(ORPL, ORPL, "orpl"),
  62821. + NORMAL_MNEMONIC(ORLS, ORLS, "orls"),
  62822. + NORMAL_MNEMONIC(ORGT, ORGT, "orgt"),
  62823. + NORMAL_MNEMONIC(ORLE, ORLE, "orle"),
  62824. + NORMAL_MNEMONIC(ORHI, ORHI, "orhi"),
  62825. + NORMAL_MNEMONIC(ORVS, ORVS, "orvs"),
  62826. + NORMAL_MNEMONIC(ORVC, ORVC, "orvc"),
  62827. + NORMAL_MNEMONIC(ORQS, ORQS, "orqs"),
  62828. + NORMAL_MNEMONIC(ORAL, ORAL, "oral"),
  62829. + NORMAL_MNEMONIC(ORHS, ORHS, "orhs"),
  62830. + NORMAL_MNEMONIC(ORLO, ORLO, "orlo"),
  62831. + NORMAL_MNEMONIC(EOREQ, EOREQ, "eoreq"),
  62832. + NORMAL_MNEMONIC(EORNE, EORNE, "eorne"),
  62833. + NORMAL_MNEMONIC(EORCC, EORCC, "eorcc"),
  62834. + NORMAL_MNEMONIC(EORCS, EORCS, "eorcs"),
  62835. + NORMAL_MNEMONIC(EORGE, EORGE, "eorge"),
  62836. + NORMAL_MNEMONIC(EORLT, EORLT, "eorlt"),
  62837. + NORMAL_MNEMONIC(EORMI, EORMI, "eormi"),
  62838. + NORMAL_MNEMONIC(EORPL, EORPL, "eorpl"),
  62839. + NORMAL_MNEMONIC(EORLS, EORLS, "eorls"),
  62840. + NORMAL_MNEMONIC(EORGT, EORGT, "eorgt"),
  62841. + NORMAL_MNEMONIC(EORLE, EORLE, "eorle"),
  62842. + NORMAL_MNEMONIC(EORHI, EORHI, "eorhi"),
  62843. + NORMAL_MNEMONIC(EORVS, EORVS, "eorvs"),
  62844. + NORMAL_MNEMONIC(EORVC, EORVC, "eorvc"),
  62845. + NORMAL_MNEMONIC(EORQS, EORQS, "eorqs"),
  62846. + NORMAL_MNEMONIC(EORAL, EORAL, "eoral"),
  62847. + NORMAL_MNEMONIC(EORHS, EORHS, "eorhs"),
  62848. + NORMAL_MNEMONIC(EORLO, EORLO, "eorlo"),
  62849. + NORMAL_MNEMONIC(LD_WEQ, LD_WEQ, "ld.weq"),
  62850. + NORMAL_MNEMONIC(LD_WNE, LD_WNE, "ld.wne"),
  62851. + NORMAL_MNEMONIC(LD_WCC, LD_WCC, "ld.wcc"),
  62852. + NORMAL_MNEMONIC(LD_WCS, LD_WCS, "ld.wcs"),
  62853. + NORMAL_MNEMONIC(LD_WGE, LD_WGE, "ld.wge"),
  62854. + NORMAL_MNEMONIC(LD_WLT, LD_WLT, "ld.wlt"),
  62855. + NORMAL_MNEMONIC(LD_WMI, LD_WMI, "ld.wmi"),
  62856. + NORMAL_MNEMONIC(LD_WPL, LD_WPL, "ld.wpl"),
  62857. + NORMAL_MNEMONIC(LD_WLS, LD_WLS, "ld.wls"),
  62858. + NORMAL_MNEMONIC(LD_WGT, LD_WGT, "ld.wgt"),
  62859. + NORMAL_MNEMONIC(LD_WLE, LD_WLE, "ld.wle"),
  62860. + NORMAL_MNEMONIC(LD_WHI, LD_WHI, "ld.whi"),
  62861. + NORMAL_MNEMONIC(LD_WVS, LD_WVS, "ld.wvs"),
  62862. + NORMAL_MNEMONIC(LD_WVC, LD_WVC, "ld.wvc"),
  62863. + NORMAL_MNEMONIC(LD_WQS, LD_WQS, "ld.wqs"),
  62864. + NORMAL_MNEMONIC(LD_WAL, LD_WAL, "ld.wal"),
  62865. + NORMAL_MNEMONIC(LD_WHS, LD_WHS, "ld.whs"),
  62866. + NORMAL_MNEMONIC(LD_WLO, LD_WLO, "ld.wlo"),
  62867. + NORMAL_MNEMONIC(LD_SHEQ, LD_SHEQ, "ld.sheq"),
  62868. + NORMAL_MNEMONIC(LD_SHNE, LD_SHNE, "ld.shne"),
  62869. + NORMAL_MNEMONIC(LD_SHCC, LD_SHCC, "ld.shcc"),
  62870. + NORMAL_MNEMONIC(LD_SHCS, LD_SHCS, "ld.shcs"),
  62871. + NORMAL_MNEMONIC(LD_SHGE, LD_SHGE, "ld.shge"),
  62872. + NORMAL_MNEMONIC(LD_SHLT, LD_SHLT, "ld.shlt"),
  62873. + NORMAL_MNEMONIC(LD_SHMI, LD_SHMI, "ld.shmi"),
  62874. + NORMAL_MNEMONIC(LD_SHPL, LD_SHPL, "ld.shpl"),
  62875. + NORMAL_MNEMONIC(LD_SHLS, LD_SHLS, "ld.shls"),
  62876. + NORMAL_MNEMONIC(LD_SHGT, LD_SHGT, "ld.shgt"),
  62877. + NORMAL_MNEMONIC(LD_SHLE, LD_SHLE, "ld.shle"),
  62878. + NORMAL_MNEMONIC(LD_SHHI, LD_SHHI, "ld.shhi"),
  62879. + NORMAL_MNEMONIC(LD_SHVS, LD_SHVS, "ld.shvs"),
  62880. + NORMAL_MNEMONIC(LD_SHVC, LD_SHVC, "ld.shvc"),
  62881. + NORMAL_MNEMONIC(LD_SHQS, LD_SHQS, "ld.shqs"),
  62882. + NORMAL_MNEMONIC(LD_SHAL, LD_SHAL, "ld.shal"),
  62883. + NORMAL_MNEMONIC(LD_SHHS, LD_SHHS, "ld.shhs"),
  62884. + NORMAL_MNEMONIC(LD_SHLO, LD_SHLO, "ld.shlo"),
  62885. + NORMAL_MNEMONIC(LD_UHEQ, LD_UHEQ, "ld.uheq"),
  62886. + NORMAL_MNEMONIC(LD_UHNE, LD_UHNE, "ld.uhne"),
  62887. + NORMAL_MNEMONIC(LD_UHCC, LD_UHCC, "ld.uhcc"),
  62888. + NORMAL_MNEMONIC(LD_UHCS, LD_UHCS, "ld.uhcs"),
  62889. + NORMAL_MNEMONIC(LD_UHGE, LD_UHGE, "ld.uhge"),
  62890. + NORMAL_MNEMONIC(LD_UHLT, LD_UHLT, "ld.uhlt"),
  62891. + NORMAL_MNEMONIC(LD_UHMI, LD_UHMI, "ld.uhmi"),
  62892. + NORMAL_MNEMONIC(LD_UHPL, LD_UHPL, "ld.uhpl"),
  62893. + NORMAL_MNEMONIC(LD_UHLS, LD_UHLS, "ld.uhls"),
  62894. + NORMAL_MNEMONIC(LD_UHGT, LD_UHGT, "ld.uhgt"),
  62895. + NORMAL_MNEMONIC(LD_UHLE, LD_UHLE, "ld.uhle"),
  62896. + NORMAL_MNEMONIC(LD_UHHI, LD_UHHI, "ld.uhhi"),
  62897. + NORMAL_MNEMONIC(LD_UHVS, LD_UHVS, "ld.uhvs"),
  62898. + NORMAL_MNEMONIC(LD_UHVC, LD_UHVC, "ld.uhvc"),
  62899. + NORMAL_MNEMONIC(LD_UHQS, LD_UHQS, "ld.uhqs"),
  62900. + NORMAL_MNEMONIC(LD_UHAL, LD_UHAL, "ld.uhal"),
  62901. + NORMAL_MNEMONIC(LD_UHHS, LD_UHHS, "ld.uhhs"),
  62902. + NORMAL_MNEMONIC(LD_UHLO, LD_UHLO, "ld.uhlo"),
  62903. + NORMAL_MNEMONIC(LD_SBEQ, LD_SBEQ, "ld.sbeq"),
  62904. + NORMAL_MNEMONIC(LD_SBNE, LD_SBNE, "ld.sbne"),
  62905. + NORMAL_MNEMONIC(LD_SBCC, LD_SBCC, "ld.sbcc"),
  62906. + NORMAL_MNEMONIC(LD_SBCS, LD_SBCS, "ld.sbcs"),
  62907. + NORMAL_MNEMONIC(LD_SBGE, LD_SBGE, "ld.sbge"),
  62908. + NORMAL_MNEMONIC(LD_SBLT, LD_SBLT, "ld.sblt"),
  62909. + NORMAL_MNEMONIC(LD_SBMI, LD_SBMI, "ld.sbmi"),
  62910. + NORMAL_MNEMONIC(LD_SBPL, LD_SBPL, "ld.sbpl"),
  62911. + NORMAL_MNEMONIC(LD_SBLS, LD_SBLS, "ld.sbls"),
  62912. + NORMAL_MNEMONIC(LD_SBGT, LD_SBGT, "ld.sbgt"),
  62913. + NORMAL_MNEMONIC(LD_SBLE, LD_SBLE, "ld.sble"),
  62914. + NORMAL_MNEMONIC(LD_SBHI, LD_SBHI, "ld.sbhi"),
  62915. + NORMAL_MNEMONIC(LD_SBVS, LD_SBVS, "ld.sbvs"),
  62916. + NORMAL_MNEMONIC(LD_SBVC, LD_SBVC, "ld.sbvc"),
  62917. + NORMAL_MNEMONIC(LD_SBQS, LD_SBQS, "ld.sbqs"),
  62918. + NORMAL_MNEMONIC(LD_SBAL, LD_SBAL, "ld.sbal"),
  62919. + NORMAL_MNEMONIC(LD_SBHS, LD_SBHS, "ld.sbhs"),
  62920. + NORMAL_MNEMONIC(LD_SBLO, LD_SBLO, "ld.sblo"),
  62921. + NORMAL_MNEMONIC(LD_UBEQ, LD_UBEQ, "ld.ubeq"),
  62922. + NORMAL_MNEMONIC(LD_UBNE, LD_UBNE, "ld.ubne"),
  62923. + NORMAL_MNEMONIC(LD_UBCC, LD_UBCC, "ld.ubcc"),
  62924. + NORMAL_MNEMONIC(LD_UBCS, LD_UBCS, "ld.ubcs"),
  62925. + NORMAL_MNEMONIC(LD_UBGE, LD_UBGE, "ld.ubge"),
  62926. + NORMAL_MNEMONIC(LD_UBLT, LD_UBLT, "ld.ublt"),
  62927. + NORMAL_MNEMONIC(LD_UBMI, LD_UBMI, "ld.ubmi"),
  62928. + NORMAL_MNEMONIC(LD_UBPL, LD_UBPL, "ld.ubpl"),
  62929. + NORMAL_MNEMONIC(LD_UBLS, LD_UBLS, "ld.ubls"),
  62930. + NORMAL_MNEMONIC(LD_UBGT, LD_UBGT, "ld.ubgt"),
  62931. + NORMAL_MNEMONIC(LD_UBLE, LD_UBLE, "ld.uble"),
  62932. + NORMAL_MNEMONIC(LD_UBHI, LD_UBHI, "ld.ubhi"),
  62933. + NORMAL_MNEMONIC(LD_UBVS, LD_UBVS, "ld.ubvs"),
  62934. + NORMAL_MNEMONIC(LD_UBVC, LD_UBVC, "ld.ubvc"),
  62935. + NORMAL_MNEMONIC(LD_UBQS, LD_UBQS, "ld.ubqs"),
  62936. + NORMAL_MNEMONIC(LD_UBAL, LD_UBAL, "ld.ubal"),
  62937. + NORMAL_MNEMONIC(LD_UBHS, LD_UBHS, "ld.ubhs"),
  62938. + NORMAL_MNEMONIC(LD_UBLO, LD_UBLO, "ld.ublo"),
  62939. + NORMAL_MNEMONIC(ST_WEQ, ST_WEQ, "st.weq"),
  62940. + NORMAL_MNEMONIC(ST_WNE, ST_WNE, "st.wne"),
  62941. + NORMAL_MNEMONIC(ST_WCC, ST_WCC, "st.wcc"),
  62942. + NORMAL_MNEMONIC(ST_WCS, ST_WCS, "st.wcs"),
  62943. + NORMAL_MNEMONIC(ST_WGE, ST_WGE, "st.wge"),
  62944. + NORMAL_MNEMONIC(ST_WLT, ST_WLT, "st.wlt"),
  62945. + NORMAL_MNEMONIC(ST_WMI, ST_WMI, "st.wmi"),
  62946. + NORMAL_MNEMONIC(ST_WPL, ST_WPL, "st.wpl"),
  62947. + NORMAL_MNEMONIC(ST_WLS, ST_WLS, "st.wls"),
  62948. + NORMAL_MNEMONIC(ST_WGT, ST_WGT, "st.wgt"),
  62949. + NORMAL_MNEMONIC(ST_WLE, ST_WLE, "st.wle"),
  62950. + NORMAL_MNEMONIC(ST_WHI, ST_WHI, "st.whi"),
  62951. + NORMAL_MNEMONIC(ST_WVS, ST_WVS, "st.wvs"),
  62952. + NORMAL_MNEMONIC(ST_WVC, ST_WVC, "st.wvc"),
  62953. + NORMAL_MNEMONIC(ST_WQS, ST_WQS, "st.wqs"),
  62954. + NORMAL_MNEMONIC(ST_WAL, ST_WAL, "st.wal"),
  62955. + NORMAL_MNEMONIC(ST_WHS, ST_WHS, "st.whs"),
  62956. + NORMAL_MNEMONIC(ST_WLO, ST_WLO, "st.wlo"),
  62957. + NORMAL_MNEMONIC(ST_HEQ, ST_HEQ, "st.heq"),
  62958. + NORMAL_MNEMONIC(ST_HNE, ST_HNE, "st.hne"),
  62959. + NORMAL_MNEMONIC(ST_HCC, ST_HCC, "st.hcc"),
  62960. + NORMAL_MNEMONIC(ST_HCS, ST_HCS, "st.hcs"),
  62961. + NORMAL_MNEMONIC(ST_HGE, ST_HGE, "st.hge"),
  62962. + NORMAL_MNEMONIC(ST_HLT, ST_HLT, "st.hlt"),
  62963. + NORMAL_MNEMONIC(ST_HMI, ST_HMI, "st.hmi"),
  62964. + NORMAL_MNEMONIC(ST_HPL, ST_HPL, "st.hpl"),
  62965. + NORMAL_MNEMONIC(ST_HLS, ST_HLS, "st.hls"),
  62966. + NORMAL_MNEMONIC(ST_HGT, ST_HGT, "st.hgt"),
  62967. + NORMAL_MNEMONIC(ST_HLE, ST_HLE, "st.hle"),
  62968. + NORMAL_MNEMONIC(ST_HHI, ST_HHI, "st.hhi"),
  62969. + NORMAL_MNEMONIC(ST_HVS, ST_HVS, "st.hvs"),
  62970. + NORMAL_MNEMONIC(ST_HVC, ST_HVC, "st.hvc"),
  62971. + NORMAL_MNEMONIC(ST_HQS, ST_HQS, "st.hqs"),
  62972. + NORMAL_MNEMONIC(ST_HAL, ST_HAL, "st.hal"),
  62973. + NORMAL_MNEMONIC(ST_HHS, ST_HHS, "st.hhs"),
  62974. + NORMAL_MNEMONIC(ST_HLO, ST_HLO, "st.hlo"),
  62975. + NORMAL_MNEMONIC(ST_BEQ, ST_BEQ, "st.beq"),
  62976. + NORMAL_MNEMONIC(ST_BNE, ST_BNE, "st.bne"),
  62977. + NORMAL_MNEMONIC(ST_BCC, ST_BCC, "st.bcc"),
  62978. + NORMAL_MNEMONIC(ST_BCS, ST_BCS, "st.bcs"),
  62979. + NORMAL_MNEMONIC(ST_BGE, ST_BGE, "st.bge"),
  62980. + NORMAL_MNEMONIC(ST_BLT, ST_BLT, "st.blt"),
  62981. + NORMAL_MNEMONIC(ST_BMI, ST_BMI, "st.bmi"),
  62982. + NORMAL_MNEMONIC(ST_BPL, ST_BPL, "st.bpl"),
  62983. + NORMAL_MNEMONIC(ST_BLS, ST_BLS, "st.bls"),
  62984. + NORMAL_MNEMONIC(ST_BGT, ST_BGT, "st.bgt"),
  62985. + NORMAL_MNEMONIC(ST_BLE, ST_BLE, "st.ble"),
  62986. + NORMAL_MNEMONIC(ST_BHI, ST_BHI, "st.bhi"),
  62987. + NORMAL_MNEMONIC(ST_BVS, ST_BVS, "st.bvs"),
  62988. + NORMAL_MNEMONIC(ST_BVC, ST_BVC, "st.bvc"),
  62989. + NORMAL_MNEMONIC(ST_BQS, ST_BQS, "st.bqs"),
  62990. + NORMAL_MNEMONIC(ST_BAL, ST_BAL, "st.bal"),
  62991. + NORMAL_MNEMONIC(ST_BHS, ST_BHS, "st.bhs"),
  62992. + NORMAL_MNEMONIC(ST_BLO, ST_BLO, "st.blo"),
  62993. + NORMAL_MNEMONIC(MOVH, MOVH, "movh"),
  62994. +
  62995. + };
  62996. +#undef NORMAL_MNEMONIC
  62997. +#undef ALIAS_MNEMONIC
  62998. +#undef FP_MNEMONIC
  62999. diff -Nur binutils-2.21.orig/opcodes/avr32-opc.h binutils-2.21/opcodes/avr32-opc.h
  63000. --- binutils-2.21.orig/opcodes/avr32-opc.h 1970-01-01 01:00:00.000000000 +0100
  63001. +++ binutils-2.21/opcodes/avr32-opc.h 2011-08-28 14:56:23.387979564 +0200
  63002. @@ -0,0 +1,2341 @@
  63003. +/* Opcode tables for AVR32.
  63004. + Copyright 2005,2006,2007,2008,2009 Atmel Corporation.
  63005. +
  63006. + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
  63007. +
  63008. + This file is part of libopcodes.
  63009. +
  63010. + This program is free software; you can redistribute it and/or
  63011. + modify it under the terms of the GNU General Public License as
  63012. + published by the Free Software Foundation; either version 2 of the
  63013. + License, or (at your option) any later version.
  63014. +
  63015. + This program is distributed in the hope that it will be useful, but
  63016. + WITHOUT ANY WARRANTY; without even the implied warranty of
  63017. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  63018. + General Public License for more details.
  63019. +
  63020. + You should have received a copy of the GNU General Public License
  63021. + along with this program; if not, write to the Free Software
  63022. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  63023. + 02111-1307, USA. */
  63024. +
  63025. +#include "bfd.h"
  63026. +
  63027. +#define AVR32_MAX_OPERANDS 8
  63028. +#define AVR32_MAX_FIELDS 8
  63029. +
  63030. +#define AVR32_V1 (1 << 1)
  63031. +#define AVR32_SIMD (1 << 2)
  63032. +#define AVR32_DSP (1 << 3)
  63033. +#define AVR32_RMW (1 << 4)
  63034. +#define AVR32_V2 (1 << 5)
  63035. +#define AVR32_V3 (1 << 6)
  63036. +#define AVR32_V3FP (1 << 7)
  63037. +#define AVR32_PICO (1 << 17)
  63038. +
  63039. +/* Registers we commonly refer to */
  63040. +#define AVR32_REG_R12 12
  63041. +#define AVR32_REG_SP 13
  63042. +#define AVR32_REG_LR 14
  63043. +#define AVR32_REG_PC 15
  63044. +
  63045. +struct avr32_ifield
  63046. +{
  63047. + int id;
  63048. + unsigned short bitsize;
  63049. + unsigned short shift;
  63050. + unsigned long mask;
  63051. +
  63052. + /* If the value doesn't fit, it will be truncated with no warning */
  63053. + void (*insert)(const struct avr32_ifield *, void *, unsigned long);
  63054. + void (*extract)(const struct avr32_ifield *, void *, unsigned long *);
  63055. +};
  63056. +
  63057. +struct avr32_opcode
  63058. +{
  63059. + int id;
  63060. + int size;
  63061. + unsigned long value;
  63062. + unsigned long mask;
  63063. + const struct avr32_syntax *syntax;
  63064. + bfd_reloc_code_real_type reloc_type;
  63065. + unsigned int nr_fields;
  63066. + /* if relaxable, which field is variable, otherwise -1 */
  63067. + int var_field;
  63068. + const struct avr32_ifield *fields[AVR32_MAX_FIELDS];
  63069. +};
  63070. +
  63071. +struct avr32_alias
  63072. +{
  63073. + int id;
  63074. + const struct avr32_opcode *opc;
  63075. + struct {
  63076. + int is_opindex;
  63077. + unsigned long value;
  63078. + } operand_map[AVR32_MAX_OPERANDS];
  63079. +};
  63080. +
  63081. +struct avr32_syntax
  63082. +{
  63083. + int id;
  63084. + unsigned long isa_flags;
  63085. + const struct avr32_mnemonic *mnemonic;
  63086. + int type;
  63087. + union {
  63088. + const struct avr32_opcode *opc;
  63089. + const struct avr32_alias *alias;
  63090. + } u;
  63091. + const struct avr32_syntax *next;
  63092. + /* negative means "vararg" */
  63093. + int nr_operands;
  63094. + int operand[AVR32_MAX_OPERANDS];
  63095. +};
  63096. +
  63097. +#if 0
  63098. +#define AVR32_ALIAS_MAKE_CONST(val) ((val) | 0x80000000UL)
  63099. +#define AVR32_ALIAS_IS_CONST(mapval) (((mapval) & 0x80000000UL) != 0)
  63100. +#define AVR32_ALIAS_GET_CONST(mapval) ((mapval) & ~0x80000000UL)
  63101. +#endif
  63102. +
  63103. +struct avr32_mnemonic
  63104. +{
  63105. + int id;
  63106. + const char *name;
  63107. + const struct avr32_syntax *syntax;
  63108. +};
  63109. +
  63110. +extern const struct avr32_ifield avr32_ifield_table[];
  63111. +extern struct avr32_opcode avr32_opc_table[];
  63112. +extern const struct avr32_syntax avr32_syntax_table[];
  63113. +extern const struct avr32_alias avr32_alias_table[];
  63114. +extern const struct avr32_mnemonic avr32_mnemonic_table[];
  63115. +
  63116. +extern void avr32_insert_simple(const struct avr32_ifield *field,
  63117. + void *buf, unsigned long value);
  63118. +extern void avr32_insert_bit5c(const struct avr32_ifield *field,
  63119. + void *buf, unsigned long value);
  63120. +extern void avr32_insert_k10(const struct avr32_ifield *field,
  63121. + void *buf, unsigned long value);
  63122. +extern void avr32_insert_k21(const struct avr32_ifield *field,
  63123. + void *buf, unsigned long value);
  63124. +extern void avr32_insert_cpop(const struct avr32_ifield *field,
  63125. + void *buf, unsigned long value);
  63126. +extern void avr32_insert_k12cp(const struct avr32_ifield *field,
  63127. + void *buf, unsigned long value);
  63128. +
  63129. +extern void avr32_extract_simple(const struct avr32_ifield *field,
  63130. + void *buf, unsigned long *value);
  63131. +extern void avr32_extract_bit5c(const struct avr32_ifield *field,
  63132. + void *buf, unsigned long *value);
  63133. +extern void avr32_extract_k10(const struct avr32_ifield *field,
  63134. + void *buf, unsigned long *value);
  63135. +extern void avr32_extract_k21(const struct avr32_ifield *field,
  63136. + void *buf, unsigned long *value);
  63137. +extern void avr32_extract_cpop(const struct avr32_ifield *field,
  63138. + void *buf, unsigned long *value);
  63139. +extern void avr32_extract_k12cp(const struct avr32_ifield *field,
  63140. + void *buf, unsigned long *value);
  63141. +
  63142. +enum avr32_operand_type
  63143. +{
  63144. + AVR32_OPERAND_INTREG, /* just a register */
  63145. + AVR32_OPERAND_INTREG_PREDEC, /* register with pre-decrement */
  63146. + AVR32_OPERAND_INTREG_POSTINC, /* register with post-increment */
  63147. + AVR32_OPERAND_INTREG_LSL, /* register with left shift */
  63148. + AVR32_OPERAND_INTREG_LSR, /* register with right shift */
  63149. + AVR32_OPERAND_INTREG_BSEL, /* register with byte selector */
  63150. + AVR32_OPERAND_INTREG_HSEL, /* register with halfword selector */
  63151. + AVR32_OPERAND_INTREG_SDISP, /* Rp[signed disp] */
  63152. + AVR32_OPERAND_INTREG_SDISP_H, /* Rp[signed hword-aligned disp] */
  63153. + AVR32_OPERAND_INTREG_SDISP_W, /* Rp[signed word-aligned disp] */
  63154. + AVR32_OPERAND_INTREG_UDISP, /* Rp[unsigned disp] */
  63155. + AVR32_OPERAND_INTREG_UDISP_H, /* Rp[unsigned hword-aligned disp] */
  63156. + AVR32_OPERAND_INTREG_UDISP_W, /* Rp[unsigned word-aligned disp] */
  63157. + AVR32_OPERAND_INTREG_INDEX, /* Rp[Ri << sa] */
  63158. + AVR32_OPERAND_INTREG_XINDEX, /* Rp[Ri:bytesel << 2] */
  63159. + AVR32_OPERAND_DWREG, /* Even-numbered register */
  63160. + AVR32_OPERAND_PC_UDISP_W, /* PC[unsigned word-aligned disp] or label */
  63161. + AVR32_OPERAND_SP, /* Just SP */
  63162. + AVR32_OPERAND_SP_UDISP_W, /* SP[unsigned word-aligned disp] */
  63163. + AVR32_OPERAND_CPNO,
  63164. + AVR32_OPERAND_CPREG,
  63165. + AVR32_OPERAND_CPREG_D,
  63166. + AVR32_OPERAND_UNSIGNED_CONST,
  63167. + AVR32_OPERAND_UNSIGNED_CONST_W,
  63168. + AVR32_OPERAND_SIGNED_CONST,
  63169. + AVR32_OPERAND_SIGNED_CONST_W,
  63170. + AVR32_OPERAND_JMPLABEL,
  63171. + AVR32_OPERAND_UNSIGNED_NUMBER,
  63172. + AVR32_OPERAND_UNSIGNED_NUMBER_W,
  63173. + AVR32_OPERAND_REGLIST8,
  63174. + AVR32_OPERAND_REGLIST9,
  63175. + AVR32_OPERAND_REGLIST16,
  63176. + AVR32_OPERAND_REGLIST_LDM,
  63177. + AVR32_OPERAND_REGLIST_CP8,
  63178. + AVR32_OPERAND_REGLIST_CPD8,
  63179. + AVR32_OPERAND_RETVAL,
  63180. + AVR32_OPERAND_MCALL,
  63181. + AVR32_OPERAND_JOSPINC,
  63182. + AVR32_OPERAND_COH,
  63183. + AVR32_OPERAND_PICO_REG_W,
  63184. + AVR32_OPERAND_PICO_REG_D,
  63185. + AVR32_OPERAND_PICO_REGLIST_W,
  63186. + AVR32_OPERAND_PICO_REGLIST_D,
  63187. + AVR32_OPERAND_PICO_IN,
  63188. + AVR32_OPERAND_PICO_OUT0,
  63189. + AVR32_OPERAND_PICO_OUT1,
  63190. + AVR32_OPERAND_PICO_OUT2,
  63191. + AVR32_OPERAND_PICO_OUT3,
  63192. + AVR32_OPERAND__END_
  63193. +};
  63194. +#define AVR32_OPERAND_UNKNOWN AVR32_OPERAND__END_
  63195. +#define AVR32_NR_OPERANDS AVR32_OPERAND__END_
  63196. +
  63197. +enum avr32_ifield_type
  63198. +{
  63199. + AVR32_IFIELD_RX,
  63200. + AVR32_IFIELD_RY,
  63201. + AVR32_IFIELD_COND4C,
  63202. + AVR32_IFIELD_K8C,
  63203. + AVR32_IFIELD_K7C,
  63204. + AVR32_IFIELD_K5C,
  63205. + AVR32_IFIELD_K3,
  63206. + AVR32_IFIELD_RY_DW,
  63207. + AVR32_IFIELD_COND4E,
  63208. + AVR32_IFIELD_K8E,
  63209. + AVR32_IFIELD_BIT5C,
  63210. + AVR32_IFIELD_COND3,
  63211. + AVR32_IFIELD_K10,
  63212. + AVR32_IFIELD_POPM,
  63213. + AVR32_IFIELD_K2,
  63214. + AVR32_IFIELD_RD_E,
  63215. + AVR32_IFIELD_RD_DW,
  63216. + AVR32_IFIELD_X,
  63217. + AVR32_IFIELD_Y,
  63218. + AVR32_IFIELD_X2,
  63219. + AVR32_IFIELD_Y2,
  63220. + AVR32_IFIELD_K5E,
  63221. + AVR32_IFIELD_PART2,
  63222. + AVR32_IFIELD_PART1,
  63223. + AVR32_IFIELD_K16,
  63224. + AVR32_IFIELD_CACHEOP,
  63225. + AVR32_IFIELD_K11,
  63226. + AVR32_IFIELD_K21,
  63227. + AVR32_IFIELD_CPOP,
  63228. + AVR32_IFIELD_CPNO,
  63229. + AVR32_IFIELD_CRD_RI,
  63230. + AVR32_IFIELD_CRX,
  63231. + AVR32_IFIELD_CRY,
  63232. + AVR32_IFIELD_K7E,
  63233. + AVR32_IFIELD_CRD_DW,
  63234. + AVR32_IFIELD_PART1_K12,
  63235. + AVR32_IFIELD_PART2_K12,
  63236. + AVR32_IFIELD_K12,
  63237. + AVR32_IFIELD_S5,
  63238. + AVR32_IFIELD_K5E2,
  63239. + AVR32_IFIELD_K4,
  63240. + AVR32_IFIELD_COND4E2,
  63241. + AVR32_IFIELD_K8E2,
  63242. + AVR32_IFIELD_K6,
  63243. + AVR32_IFIELD_MEM15,
  63244. + AVR32_IFIELD_MEMB5,
  63245. + AVR32_IFIELD_W,
  63246. + AVR32_IFIELD_CM_HL,
  63247. + AVR32_IFIELD_K12CP,
  63248. + AVR32_IFIELD_K9E,
  63249. + AVR32_IFIELD_FP_RX,
  63250. + AVR32_IFIELD_FP_RY,
  63251. + AVR32_IFIELD_FP_RD,
  63252. + AVR32_IFIELD_FP_RA,
  63253. + AVR32_IFIELD__END_,
  63254. +};
  63255. +#define AVR32_NR_IFIELDS AVR32_IFIELD__END_
  63256. +
  63257. +enum avr32_opc_type
  63258. +{
  63259. + AVR32_OPC_ABS,
  63260. + AVR32_OPC_ACALL,
  63261. + AVR32_OPC_ACR,
  63262. + AVR32_OPC_ADC,
  63263. + AVR32_OPC_ADD1,
  63264. + AVR32_OPC_ADD2,
  63265. + AVR32_OPC_ADDABS,
  63266. + AVR32_OPC_ADDHH_W,
  63267. + AVR32_OPC_AND1,
  63268. + AVR32_OPC_AND2,
  63269. + AVR32_OPC_AND3,
  63270. + AVR32_OPC_ANDH,
  63271. + AVR32_OPC_ANDH_COH,
  63272. + AVR32_OPC_ANDL,
  63273. + AVR32_OPC_ANDL_COH,
  63274. + AVR32_OPC_ANDN,
  63275. + AVR32_OPC_ASR1,
  63276. + AVR32_OPC_ASR3,
  63277. + AVR32_OPC_ASR2,
  63278. + AVR32_OPC_BLD,
  63279. + AVR32_OPC_BREQ1,
  63280. + AVR32_OPC_BRNE1,
  63281. + AVR32_OPC_BRCC1,
  63282. + AVR32_OPC_BRCS1,
  63283. + AVR32_OPC_BRGE1,
  63284. + AVR32_OPC_BRLT1,
  63285. + AVR32_OPC_BRMI1,
  63286. + AVR32_OPC_BRPL1,
  63287. + AVR32_OPC_BREQ2,
  63288. + AVR32_OPC_BRNE2,
  63289. + AVR32_OPC_BRCC2,
  63290. + AVR32_OPC_BRCS2,
  63291. + AVR32_OPC_BRGE2,
  63292. + AVR32_OPC_BRLT2,
  63293. + AVR32_OPC_BRMI2,
  63294. + AVR32_OPC_BRPL2,
  63295. + AVR32_OPC_BRLS,
  63296. + AVR32_OPC_BRGT,
  63297. + AVR32_OPC_BRLE,
  63298. + AVR32_OPC_BRHI,
  63299. + AVR32_OPC_BRVS,
  63300. + AVR32_OPC_BRVC,
  63301. + AVR32_OPC_BRQS,
  63302. + AVR32_OPC_BRAL,
  63303. + AVR32_OPC_BREAKPOINT,
  63304. + AVR32_OPC_BREV,
  63305. + AVR32_OPC_BST,
  63306. + AVR32_OPC_CACHE,
  63307. + AVR32_OPC_CASTS_B,
  63308. + AVR32_OPC_CASTS_H,
  63309. + AVR32_OPC_CASTU_B,
  63310. + AVR32_OPC_CASTU_H,
  63311. + AVR32_OPC_CBR,
  63312. + AVR32_OPC_CLZ,
  63313. + AVR32_OPC_COM,
  63314. + AVR32_OPC_COP,
  63315. + AVR32_OPC_CP_B,
  63316. + AVR32_OPC_CP_H,
  63317. + AVR32_OPC_CP_W1,
  63318. + AVR32_OPC_CP_W2,
  63319. + AVR32_OPC_CP_W3,
  63320. + AVR32_OPC_CPC1,
  63321. + AVR32_OPC_CPC2,
  63322. + AVR32_OPC_CSRF,
  63323. + AVR32_OPC_CSRFCZ,
  63324. + AVR32_OPC_DIVS,
  63325. + AVR32_OPC_DIVU,
  63326. + AVR32_OPC_EOR1,
  63327. + AVR32_OPC_EOR2,
  63328. + AVR32_OPC_EOR3,
  63329. + AVR32_OPC_EORL,
  63330. + AVR32_OPC_EORH,
  63331. + AVR32_OPC_FRS,
  63332. + AVR32_OPC_ICALL,
  63333. + AVR32_OPC_INCJOSP,
  63334. + AVR32_OPC_LD_D1,
  63335. + AVR32_OPC_LD_D2,
  63336. + AVR32_OPC_LD_D3,
  63337. + AVR32_OPC_LD_D5,
  63338. + AVR32_OPC_LD_D4,
  63339. + AVR32_OPC_LD_SB2,
  63340. + AVR32_OPC_LD_SB1,
  63341. + AVR32_OPC_LD_UB1,
  63342. + AVR32_OPC_LD_UB2,
  63343. + AVR32_OPC_LD_UB5,
  63344. + AVR32_OPC_LD_UB3,
  63345. + AVR32_OPC_LD_UB4,
  63346. + AVR32_OPC_LD_SH1,
  63347. + AVR32_OPC_LD_SH2,
  63348. + AVR32_OPC_LD_SH5,
  63349. + AVR32_OPC_LD_SH3,
  63350. + AVR32_OPC_LD_SH4,
  63351. + AVR32_OPC_LD_UH1,
  63352. + AVR32_OPC_LD_UH2,
  63353. + AVR32_OPC_LD_UH5,
  63354. + AVR32_OPC_LD_UH3,
  63355. + AVR32_OPC_LD_UH4,
  63356. + AVR32_OPC_LD_W1,
  63357. + AVR32_OPC_LD_W2,
  63358. + AVR32_OPC_LD_W5,
  63359. + AVR32_OPC_LD_W6,
  63360. + AVR32_OPC_LD_W3,
  63361. + AVR32_OPC_LD_W4,
  63362. + AVR32_OPC_LDC_D1,
  63363. + AVR32_OPC_LDC_D2,
  63364. + AVR32_OPC_LDC_D3,
  63365. + AVR32_OPC_LDC_W1,
  63366. + AVR32_OPC_LDC_W2,
  63367. + AVR32_OPC_LDC_W3,
  63368. + AVR32_OPC_LDC0_D,
  63369. + AVR32_OPC_LDC0_W,
  63370. + AVR32_OPC_LDCM_D,
  63371. + AVR32_OPC_LDCM_D_PU,
  63372. + AVR32_OPC_LDCM_W,
  63373. + AVR32_OPC_LDCM_W_PU,
  63374. + AVR32_OPC_LDDPC,
  63375. + AVR32_OPC_LDDPC_EXT,
  63376. + AVR32_OPC_LDDSP,
  63377. + AVR32_OPC_LDINS_B,
  63378. + AVR32_OPC_LDINS_H,
  63379. + AVR32_OPC_LDM,
  63380. + AVR32_OPC_LDMTS,
  63381. + AVR32_OPC_LDMTS_PU,
  63382. + AVR32_OPC_LDSWP_SH,
  63383. + AVR32_OPC_LDSWP_UH,
  63384. + AVR32_OPC_LDSWP_W,
  63385. + AVR32_OPC_LSL1,
  63386. + AVR32_OPC_LSL3,
  63387. + AVR32_OPC_LSL2,
  63388. + AVR32_OPC_LSR1,
  63389. + AVR32_OPC_LSR3,
  63390. + AVR32_OPC_LSR2,
  63391. + AVR32_OPC_MAC,
  63392. + AVR32_OPC_MACHH_D,
  63393. + AVR32_OPC_MACHH_W,
  63394. + AVR32_OPC_MACS_D,
  63395. + AVR32_OPC_MACSATHH_W,
  63396. + AVR32_OPC_MACUD,
  63397. + AVR32_OPC_MACWH_D,
  63398. + AVR32_OPC_MAX,
  63399. + AVR32_OPC_MCALL,
  63400. + AVR32_OPC_MFDR,
  63401. + AVR32_OPC_MFSR,
  63402. + AVR32_OPC_MIN,
  63403. + AVR32_OPC_MOV3,
  63404. + AVR32_OPC_MOV1,
  63405. + AVR32_OPC_MOV2,
  63406. + AVR32_OPC_MOVEQ1,
  63407. + AVR32_OPC_MOVNE1,
  63408. + AVR32_OPC_MOVCC1,
  63409. + AVR32_OPC_MOVCS1,
  63410. + AVR32_OPC_MOVGE1,
  63411. + AVR32_OPC_MOVLT1,
  63412. + AVR32_OPC_MOVMI1,
  63413. + AVR32_OPC_MOVPL1,
  63414. + AVR32_OPC_MOVLS1,
  63415. + AVR32_OPC_MOVGT1,
  63416. + AVR32_OPC_MOVLE1,
  63417. + AVR32_OPC_MOVHI1,
  63418. + AVR32_OPC_MOVVS1,
  63419. + AVR32_OPC_MOVVC1,
  63420. + AVR32_OPC_MOVQS1,
  63421. + AVR32_OPC_MOVAL1,
  63422. + AVR32_OPC_MOVEQ2,
  63423. + AVR32_OPC_MOVNE2,
  63424. + AVR32_OPC_MOVCC2,
  63425. + AVR32_OPC_MOVCS2,
  63426. + AVR32_OPC_MOVGE2,
  63427. + AVR32_OPC_MOVLT2,
  63428. + AVR32_OPC_MOVMI2,
  63429. + AVR32_OPC_MOVPL2,
  63430. + AVR32_OPC_MOVLS2,
  63431. + AVR32_OPC_MOVGT2,
  63432. + AVR32_OPC_MOVLE2,
  63433. + AVR32_OPC_MOVHI2,
  63434. + AVR32_OPC_MOVVS2,
  63435. + AVR32_OPC_MOVVC2,
  63436. + AVR32_OPC_MOVQS2,
  63437. + AVR32_OPC_MOVAL2,
  63438. + AVR32_OPC_MTDR,
  63439. + AVR32_OPC_MTSR,
  63440. + AVR32_OPC_MUL1,
  63441. + AVR32_OPC_MUL2,
  63442. + AVR32_OPC_MUL3,
  63443. + AVR32_OPC_MULHH_W,
  63444. + AVR32_OPC_MULNHH_W,
  63445. + AVR32_OPC_MULNWH_D,
  63446. + AVR32_OPC_MULSD,
  63447. + AVR32_OPC_MULSATHH_H,
  63448. + AVR32_OPC_MULSATHH_W,
  63449. + AVR32_OPC_MULSATRNDHH_H,
  63450. + AVR32_OPC_MULSATRNDWH_W,
  63451. + AVR32_OPC_MULSATWH_W,
  63452. + AVR32_OPC_MULU_D,
  63453. + AVR32_OPC_MULWH_D,
  63454. + AVR32_OPC_MUSFR,
  63455. + AVR32_OPC_MUSTR,
  63456. + AVR32_OPC_MVCR_D,
  63457. + AVR32_OPC_MVCR_W,
  63458. + AVR32_OPC_MVRC_D,
  63459. + AVR32_OPC_MVRC_W,
  63460. + AVR32_OPC_NEG,
  63461. + AVR32_OPC_NOP,
  63462. + AVR32_OPC_OR1,
  63463. + AVR32_OPC_OR2,
  63464. + AVR32_OPC_OR3,
  63465. + AVR32_OPC_ORH,
  63466. + AVR32_OPC_ORL,
  63467. + AVR32_OPC_PABS_SB,
  63468. + AVR32_OPC_PABS_SH,
  63469. + AVR32_OPC_PACKSH_SB,
  63470. + AVR32_OPC_PACKSH_UB,
  63471. + AVR32_OPC_PACKW_SH,
  63472. + AVR32_OPC_PADD_B,
  63473. + AVR32_OPC_PADD_H,
  63474. + AVR32_OPC_PADDH_SH,
  63475. + AVR32_OPC_PADDH_UB,
  63476. + AVR32_OPC_PADDS_SB,
  63477. + AVR32_OPC_PADDS_SH,
  63478. + AVR32_OPC_PADDS_UB,
  63479. + AVR32_OPC_PADDS_UH,
  63480. + AVR32_OPC_PADDSUB_H,
  63481. + AVR32_OPC_PADDSUBH_SH,
  63482. + AVR32_OPC_PADDSUBS_SH,
  63483. + AVR32_OPC_PADDSUBS_UH,
  63484. + AVR32_OPC_PADDX_H,
  63485. + AVR32_OPC_PADDXH_SH,
  63486. + AVR32_OPC_PADDXS_SH,
  63487. + AVR32_OPC_PADDXS_UH,
  63488. + AVR32_OPC_PASR_B,
  63489. + AVR32_OPC_PASR_H,
  63490. + AVR32_OPC_PAVG_SH,
  63491. + AVR32_OPC_PAVG_UB,
  63492. + AVR32_OPC_PLSL_B,
  63493. + AVR32_OPC_PLSL_H,
  63494. + AVR32_OPC_PLSR_B,
  63495. + AVR32_OPC_PLSR_H,
  63496. + AVR32_OPC_PMAX_SH,
  63497. + AVR32_OPC_PMAX_UB,
  63498. + AVR32_OPC_PMIN_SH,
  63499. + AVR32_OPC_PMIN_UB,
  63500. + AVR32_OPC_POPJC,
  63501. + AVR32_OPC_POPM,
  63502. + AVR32_OPC_POPM_E,
  63503. + AVR32_OPC_PREF,
  63504. + AVR32_OPC_PSAD,
  63505. + AVR32_OPC_PSUB_B,
  63506. + AVR32_OPC_PSUB_H,
  63507. + AVR32_OPC_PSUBADD_H,
  63508. + AVR32_OPC_PSUBADDH_SH,
  63509. + AVR32_OPC_PSUBADDS_SH,
  63510. + AVR32_OPC_PSUBADDS_UH,
  63511. + AVR32_OPC_PSUBH_SH,
  63512. + AVR32_OPC_PSUBH_UB,
  63513. + AVR32_OPC_PSUBS_SB,
  63514. + AVR32_OPC_PSUBS_SH,
  63515. + AVR32_OPC_PSUBS_UB,
  63516. + AVR32_OPC_PSUBS_UH,
  63517. + AVR32_OPC_PSUBX_H,
  63518. + AVR32_OPC_PSUBXH_SH,
  63519. + AVR32_OPC_PSUBXS_SH,
  63520. + AVR32_OPC_PSUBXS_UH,
  63521. + AVR32_OPC_PUNPCKSB_H,
  63522. + AVR32_OPC_PUNPCKUB_H,
  63523. + AVR32_OPC_PUSHJC,
  63524. + AVR32_OPC_PUSHM,
  63525. + AVR32_OPC_PUSHM_E,
  63526. + AVR32_OPC_RCALL1,
  63527. + AVR32_OPC_RCALL2,
  63528. + AVR32_OPC_RETEQ,
  63529. + AVR32_OPC_RETNE,
  63530. + AVR32_OPC_RETCC,
  63531. + AVR32_OPC_RETCS,
  63532. + AVR32_OPC_RETGE,
  63533. + AVR32_OPC_RETLT,
  63534. + AVR32_OPC_RETMI,
  63535. + AVR32_OPC_RETPL,
  63536. + AVR32_OPC_RETLS,
  63537. + AVR32_OPC_RETGT,
  63538. + AVR32_OPC_RETLE,
  63539. + AVR32_OPC_RETHI,
  63540. + AVR32_OPC_RETVS,
  63541. + AVR32_OPC_RETVC,
  63542. + AVR32_OPC_RETQS,
  63543. + AVR32_OPC_RETAL,
  63544. + AVR32_OPC_RETD,
  63545. + AVR32_OPC_RETE,
  63546. + AVR32_OPC_RETJ,
  63547. + AVR32_OPC_RETS,
  63548. + AVR32_OPC_RJMP,
  63549. + AVR32_OPC_ROL,
  63550. + AVR32_OPC_ROR,
  63551. + AVR32_OPC_RSUB1,
  63552. + AVR32_OPC_RSUB2,
  63553. + AVR32_OPC_SATADD_H,
  63554. + AVR32_OPC_SATADD_W,
  63555. + AVR32_OPC_SATRNDS,
  63556. + AVR32_OPC_SATRNDU,
  63557. + AVR32_OPC_SATS,
  63558. + AVR32_OPC_SATSUB_H,
  63559. + AVR32_OPC_SATSUB_W1,
  63560. + AVR32_OPC_SATSUB_W2,
  63561. + AVR32_OPC_SATU,
  63562. + AVR32_OPC_SBC,
  63563. + AVR32_OPC_SBR,
  63564. + AVR32_OPC_SCALL,
  63565. + AVR32_OPC_SCR,
  63566. + AVR32_OPC_SLEEP,
  63567. + AVR32_OPC_SREQ,
  63568. + AVR32_OPC_SRNE,
  63569. + AVR32_OPC_SRCC,
  63570. + AVR32_OPC_SRCS,
  63571. + AVR32_OPC_SRGE,
  63572. + AVR32_OPC_SRLT,
  63573. + AVR32_OPC_SRMI,
  63574. + AVR32_OPC_SRPL,
  63575. + AVR32_OPC_SRLS,
  63576. + AVR32_OPC_SRGT,
  63577. + AVR32_OPC_SRLE,
  63578. + AVR32_OPC_SRHI,
  63579. + AVR32_OPC_SRVS,
  63580. + AVR32_OPC_SRVC,
  63581. + AVR32_OPC_SRQS,
  63582. + AVR32_OPC_SRAL,
  63583. + AVR32_OPC_SSRF,
  63584. + AVR32_OPC_ST_B1,
  63585. + AVR32_OPC_ST_B2,
  63586. + AVR32_OPC_ST_B5,
  63587. + AVR32_OPC_ST_B3,
  63588. + AVR32_OPC_ST_B4,
  63589. + AVR32_OPC_ST_D1,
  63590. + AVR32_OPC_ST_D2,
  63591. + AVR32_OPC_ST_D3,
  63592. + AVR32_OPC_ST_D5,
  63593. + AVR32_OPC_ST_D4,
  63594. + AVR32_OPC_ST_H1,
  63595. + AVR32_OPC_ST_H2,
  63596. + AVR32_OPC_ST_H5,
  63597. + AVR32_OPC_ST_H3,
  63598. + AVR32_OPC_ST_H4,
  63599. + AVR32_OPC_ST_W1,
  63600. + AVR32_OPC_ST_W2,
  63601. + AVR32_OPC_ST_W5,
  63602. + AVR32_OPC_ST_W3,
  63603. + AVR32_OPC_ST_W4,
  63604. + AVR32_OPC_STC_D1,
  63605. + AVR32_OPC_STC_D2,
  63606. + AVR32_OPC_STC_D3,
  63607. + AVR32_OPC_STC_W1,
  63608. + AVR32_OPC_STC_W2,
  63609. + AVR32_OPC_STC_W3,
  63610. + AVR32_OPC_STC0_D,
  63611. + AVR32_OPC_STC0_W,
  63612. + AVR32_OPC_STCM_D,
  63613. + AVR32_OPC_STCM_D_PU,
  63614. + AVR32_OPC_STCM_W,
  63615. + AVR32_OPC_STCM_W_PU,
  63616. + AVR32_OPC_STCOND,
  63617. + AVR32_OPC_STDSP,
  63618. + AVR32_OPC_STHH_W2,
  63619. + AVR32_OPC_STHH_W1,
  63620. + AVR32_OPC_STM,
  63621. + AVR32_OPC_STM_PU,
  63622. + AVR32_OPC_STMTS,
  63623. + AVR32_OPC_STMTS_PU,
  63624. + AVR32_OPC_STSWP_H,
  63625. + AVR32_OPC_STSWP_W,
  63626. + AVR32_OPC_SUB1,
  63627. + AVR32_OPC_SUB2,
  63628. + AVR32_OPC_SUB5,
  63629. + AVR32_OPC_SUB3_SP,
  63630. + AVR32_OPC_SUB3,
  63631. + AVR32_OPC_SUB4,
  63632. + AVR32_OPC_SUBEQ,
  63633. + AVR32_OPC_SUBNE,
  63634. + AVR32_OPC_SUBCC,
  63635. + AVR32_OPC_SUBCS,
  63636. + AVR32_OPC_SUBGE,
  63637. + AVR32_OPC_SUBLT,
  63638. + AVR32_OPC_SUBMI,
  63639. + AVR32_OPC_SUBPL,
  63640. + AVR32_OPC_SUBLS,
  63641. + AVR32_OPC_SUBGT,
  63642. + AVR32_OPC_SUBLE,
  63643. + AVR32_OPC_SUBHI,
  63644. + AVR32_OPC_SUBVS,
  63645. + AVR32_OPC_SUBVC,
  63646. + AVR32_OPC_SUBQS,
  63647. + AVR32_OPC_SUBAL,
  63648. + AVR32_OPC_SUBFEQ,
  63649. + AVR32_OPC_SUBFNE,
  63650. + AVR32_OPC_SUBFCC,
  63651. + AVR32_OPC_SUBFCS,
  63652. + AVR32_OPC_SUBFGE,
  63653. + AVR32_OPC_SUBFLT,
  63654. + AVR32_OPC_SUBFMI,
  63655. + AVR32_OPC_SUBFPL,
  63656. + AVR32_OPC_SUBFLS,
  63657. + AVR32_OPC_SUBFGT,
  63658. + AVR32_OPC_SUBFLE,
  63659. + AVR32_OPC_SUBFHI,
  63660. + AVR32_OPC_SUBFVS,
  63661. + AVR32_OPC_SUBFVC,
  63662. + AVR32_OPC_SUBFQS,
  63663. + AVR32_OPC_SUBFAL,
  63664. + AVR32_OPC_SUBHH_W,
  63665. + AVR32_OPC_SWAP_B,
  63666. + AVR32_OPC_SWAP_BH,
  63667. + AVR32_OPC_SWAP_H,
  63668. + AVR32_OPC_SYNC,
  63669. + AVR32_OPC_TLBR,
  63670. + AVR32_OPC_TLBS,
  63671. + AVR32_OPC_TLBW,
  63672. + AVR32_OPC_TNBZ,
  63673. + AVR32_OPC_TST,
  63674. + AVR32_OPC_XCHG,
  63675. + AVR32_OPC_MEMC,
  63676. + AVR32_OPC_MEMS,
  63677. + AVR32_OPC_MEMT,
  63678. + AVR32_OPC_BFEXTS,
  63679. + AVR32_OPC_BFEXTU,
  63680. + AVR32_OPC_BFINS,
  63681. + AVR32_OPC_RSUBEQ,
  63682. + AVR32_OPC_RSUBNE,
  63683. + AVR32_OPC_RSUBCC,
  63684. + AVR32_OPC_RSUBCS,
  63685. + AVR32_OPC_RSUBGE,
  63686. + AVR32_OPC_RSUBLT,
  63687. + AVR32_OPC_RSUBMI,
  63688. + AVR32_OPC_RSUBPL,
  63689. + AVR32_OPC_RSUBLS,
  63690. + AVR32_OPC_RSUBGT,
  63691. + AVR32_OPC_RSUBLE,
  63692. + AVR32_OPC_RSUBHI,
  63693. + AVR32_OPC_RSUBVS,
  63694. + AVR32_OPC_RSUBVC,
  63695. + AVR32_OPC_RSUBQS,
  63696. + AVR32_OPC_RSUBAL,
  63697. + AVR32_OPC_ADDEQ,
  63698. + AVR32_OPC_ADDNE,
  63699. + AVR32_OPC_ADDCC,
  63700. + AVR32_OPC_ADDCS,
  63701. + AVR32_OPC_ADDGE,
  63702. + AVR32_OPC_ADDLT,
  63703. + AVR32_OPC_ADDMI,
  63704. + AVR32_OPC_ADDPL,
  63705. + AVR32_OPC_ADDLS,
  63706. + AVR32_OPC_ADDGT,
  63707. + AVR32_OPC_ADDLE,
  63708. + AVR32_OPC_ADDHI,
  63709. + AVR32_OPC_ADDVS,
  63710. + AVR32_OPC_ADDVC,
  63711. + AVR32_OPC_ADDQS,
  63712. + AVR32_OPC_ADDAL,
  63713. + AVR32_OPC_SUB2EQ,
  63714. + AVR32_OPC_SUB2NE,
  63715. + AVR32_OPC_SUB2CC,
  63716. + AVR32_OPC_SUB2CS,
  63717. + AVR32_OPC_SUB2GE,
  63718. + AVR32_OPC_SUB2LT,
  63719. + AVR32_OPC_SUB2MI,
  63720. + AVR32_OPC_SUB2PL,
  63721. + AVR32_OPC_SUB2LS,
  63722. + AVR32_OPC_SUB2GT,
  63723. + AVR32_OPC_SUB2LE,
  63724. + AVR32_OPC_SUB2HI,
  63725. + AVR32_OPC_SUB2VS,
  63726. + AVR32_OPC_SUB2VC,
  63727. + AVR32_OPC_SUB2QS,
  63728. + AVR32_OPC_SUB2AL,
  63729. + AVR32_OPC_ANDEQ,
  63730. + AVR32_OPC_ANDNE,
  63731. + AVR32_OPC_ANDCC,
  63732. + AVR32_OPC_ANDCS,
  63733. + AVR32_OPC_ANDGE,
  63734. + AVR32_OPC_ANDLT,
  63735. + AVR32_OPC_ANDMI,
  63736. + AVR32_OPC_ANDPL,
  63737. + AVR32_OPC_ANDLS,
  63738. + AVR32_OPC_ANDGT,
  63739. + AVR32_OPC_ANDLE,
  63740. + AVR32_OPC_ANDHI,
  63741. + AVR32_OPC_ANDVS,
  63742. + AVR32_OPC_ANDVC,
  63743. + AVR32_OPC_ANDQS,
  63744. + AVR32_OPC_ANDAL,
  63745. + AVR32_OPC_OREQ,
  63746. + AVR32_OPC_ORNE,
  63747. + AVR32_OPC_ORCC,
  63748. + AVR32_OPC_ORCS,
  63749. + AVR32_OPC_ORGE,
  63750. + AVR32_OPC_ORLT,
  63751. + AVR32_OPC_ORMI,
  63752. + AVR32_OPC_ORPL,
  63753. + AVR32_OPC_ORLS,
  63754. + AVR32_OPC_ORGT,
  63755. + AVR32_OPC_ORLE,
  63756. + AVR32_OPC_ORHI,
  63757. + AVR32_OPC_ORVS,
  63758. + AVR32_OPC_ORVC,
  63759. + AVR32_OPC_ORQS,
  63760. + AVR32_OPC_ORAL,
  63761. + AVR32_OPC_EOREQ,
  63762. + AVR32_OPC_EORNE,
  63763. + AVR32_OPC_EORCC,
  63764. + AVR32_OPC_EORCS,
  63765. + AVR32_OPC_EORGE,
  63766. + AVR32_OPC_EORLT,
  63767. + AVR32_OPC_EORMI,
  63768. + AVR32_OPC_EORPL,
  63769. + AVR32_OPC_EORLS,
  63770. + AVR32_OPC_EORGT,
  63771. + AVR32_OPC_EORLE,
  63772. + AVR32_OPC_EORHI,
  63773. + AVR32_OPC_EORVS,
  63774. + AVR32_OPC_EORVC,
  63775. + AVR32_OPC_EORQS,
  63776. + AVR32_OPC_EORAL,
  63777. + AVR32_OPC_LD_WEQ,
  63778. + AVR32_OPC_LD_WNE,
  63779. + AVR32_OPC_LD_WCC,
  63780. + AVR32_OPC_LD_WCS,
  63781. + AVR32_OPC_LD_WGE,
  63782. + AVR32_OPC_LD_WLT,
  63783. + AVR32_OPC_LD_WMI,
  63784. + AVR32_OPC_LD_WPL,
  63785. + AVR32_OPC_LD_WLS,
  63786. + AVR32_OPC_LD_WGT,
  63787. + AVR32_OPC_LD_WLE,
  63788. + AVR32_OPC_LD_WHI,
  63789. + AVR32_OPC_LD_WVS,
  63790. + AVR32_OPC_LD_WVC,
  63791. + AVR32_OPC_LD_WQS,
  63792. + AVR32_OPC_LD_WAL,
  63793. + AVR32_OPC_LD_SHEQ,
  63794. + AVR32_OPC_LD_SHNE,
  63795. + AVR32_OPC_LD_SHCC,
  63796. + AVR32_OPC_LD_SHCS,
  63797. + AVR32_OPC_LD_SHGE,
  63798. + AVR32_OPC_LD_SHLT,
  63799. + AVR32_OPC_LD_SHMI,
  63800. + AVR32_OPC_LD_SHPL,
  63801. + AVR32_OPC_LD_SHLS,
  63802. + AVR32_OPC_LD_SHGT,
  63803. + AVR32_OPC_LD_SHLE,
  63804. + AVR32_OPC_LD_SHHI,
  63805. + AVR32_OPC_LD_SHVS,
  63806. + AVR32_OPC_LD_SHVC,
  63807. + AVR32_OPC_LD_SHQS,
  63808. + AVR32_OPC_LD_SHAL,
  63809. + AVR32_OPC_LD_UHEQ,
  63810. + AVR32_OPC_LD_UHNE,
  63811. + AVR32_OPC_LD_UHCC,
  63812. + AVR32_OPC_LD_UHCS,
  63813. + AVR32_OPC_LD_UHGE,
  63814. + AVR32_OPC_LD_UHLT,
  63815. + AVR32_OPC_LD_UHMI,
  63816. + AVR32_OPC_LD_UHPL,
  63817. + AVR32_OPC_LD_UHLS,
  63818. + AVR32_OPC_LD_UHGT,
  63819. + AVR32_OPC_LD_UHLE,
  63820. + AVR32_OPC_LD_UHHI,
  63821. + AVR32_OPC_LD_UHVS,
  63822. + AVR32_OPC_LD_UHVC,
  63823. + AVR32_OPC_LD_UHQS,
  63824. + AVR32_OPC_LD_UHAL,
  63825. + AVR32_OPC_LD_SBEQ,
  63826. + AVR32_OPC_LD_SBNE,
  63827. + AVR32_OPC_LD_SBCC,
  63828. + AVR32_OPC_LD_SBCS,
  63829. + AVR32_OPC_LD_SBGE,
  63830. + AVR32_OPC_LD_SBLT,
  63831. + AVR32_OPC_LD_SBMI,
  63832. + AVR32_OPC_LD_SBPL,
  63833. + AVR32_OPC_LD_SBLS,
  63834. + AVR32_OPC_LD_SBGT,
  63835. + AVR32_OPC_LD_SBLE,
  63836. + AVR32_OPC_LD_SBHI,
  63837. + AVR32_OPC_LD_SBVS,
  63838. + AVR32_OPC_LD_SBVC,
  63839. + AVR32_OPC_LD_SBQS,
  63840. + AVR32_OPC_LD_SBAL,
  63841. + AVR32_OPC_LD_UBEQ,
  63842. + AVR32_OPC_LD_UBNE,
  63843. + AVR32_OPC_LD_UBCC,
  63844. + AVR32_OPC_LD_UBCS,
  63845. + AVR32_OPC_LD_UBGE,
  63846. + AVR32_OPC_LD_UBLT,
  63847. + AVR32_OPC_LD_UBMI,
  63848. + AVR32_OPC_LD_UBPL,
  63849. + AVR32_OPC_LD_UBLS,
  63850. + AVR32_OPC_LD_UBGT,
  63851. + AVR32_OPC_LD_UBLE,
  63852. + AVR32_OPC_LD_UBHI,
  63853. + AVR32_OPC_LD_UBVS,
  63854. + AVR32_OPC_LD_UBVC,
  63855. + AVR32_OPC_LD_UBQS,
  63856. + AVR32_OPC_LD_UBAL,
  63857. + AVR32_OPC_ST_WEQ,
  63858. + AVR32_OPC_ST_WNE,
  63859. + AVR32_OPC_ST_WCC,
  63860. + AVR32_OPC_ST_WCS,
  63861. + AVR32_OPC_ST_WGE,
  63862. + AVR32_OPC_ST_WLT,
  63863. + AVR32_OPC_ST_WMI,
  63864. + AVR32_OPC_ST_WPL,
  63865. + AVR32_OPC_ST_WLS,
  63866. + AVR32_OPC_ST_WGT,
  63867. + AVR32_OPC_ST_WLE,
  63868. + AVR32_OPC_ST_WHI,
  63869. + AVR32_OPC_ST_WVS,
  63870. + AVR32_OPC_ST_WVC,
  63871. + AVR32_OPC_ST_WQS,
  63872. + AVR32_OPC_ST_WAL,
  63873. + AVR32_OPC_ST_HEQ,
  63874. + AVR32_OPC_ST_HNE,
  63875. + AVR32_OPC_ST_HCC,
  63876. + AVR32_OPC_ST_HCS,
  63877. + AVR32_OPC_ST_HGE,
  63878. + AVR32_OPC_ST_HLT,
  63879. + AVR32_OPC_ST_HMI,
  63880. + AVR32_OPC_ST_HPL,
  63881. + AVR32_OPC_ST_HLS,
  63882. + AVR32_OPC_ST_HGT,
  63883. + AVR32_OPC_ST_HLE,
  63884. + AVR32_OPC_ST_HHI,
  63885. + AVR32_OPC_ST_HVS,
  63886. + AVR32_OPC_ST_HVC,
  63887. + AVR32_OPC_ST_HQS,
  63888. + AVR32_OPC_ST_HAL,
  63889. + AVR32_OPC_ST_BEQ,
  63890. + AVR32_OPC_ST_BNE,
  63891. + AVR32_OPC_ST_BCC,
  63892. + AVR32_OPC_ST_BCS,
  63893. + AVR32_OPC_ST_BGE,
  63894. + AVR32_OPC_ST_BLT,
  63895. + AVR32_OPC_ST_BMI,
  63896. + AVR32_OPC_ST_BPL,
  63897. + AVR32_OPC_ST_BLS,
  63898. + AVR32_OPC_ST_BGT,
  63899. + AVR32_OPC_ST_BLE,
  63900. + AVR32_OPC_ST_BHI,
  63901. + AVR32_OPC_ST_BVS,
  63902. + AVR32_OPC_ST_BVC,
  63903. + AVR32_OPC_ST_BQS,
  63904. + AVR32_OPC_ST_BAL,
  63905. + AVR32_OPC_MOVH,
  63906. + AVR32_OPC_SSCALL,
  63907. + AVR32_OPC_RETSS,
  63908. + AVR32_OPC_FMAC_S,
  63909. + AVR32_OPC_FNMAC_S,
  63910. + AVR32_OPC_FMSC_S,
  63911. + AVR32_OPC_FNMSC_S,
  63912. + AVR32_OPC_FMUL_S,
  63913. + AVR32_OPC_FNMUL_S,
  63914. + AVR32_OPC_FADD_S,
  63915. + AVR32_OPC_FSUB_S,
  63916. + AVR32_OPC_FCASTRS_SW,
  63917. + AVR32_OPC_FCASTRS_UW,
  63918. + AVR32_OPC_FCASTSW_S,
  63919. + AVR32_OPC_FCASTUW_S,
  63920. + AVR32_OPC_FCMP_S,
  63921. + AVR32_OPC_FCHK_S,
  63922. + AVR32_OPC_FRCPA_S,
  63923. + AVR32_OPC_FRSQRTA_S,
  63924. + AVR32_OPC__END_
  63925. +};
  63926. +#define AVR32_NR_OPCODES AVR32_OPC__END_
  63927. +
  63928. +enum avr32_syntax_type
  63929. +{
  63930. + AVR32_SYNTAX_ABS,
  63931. + AVR32_SYNTAX_ACALL,
  63932. + AVR32_SYNTAX_ACR,
  63933. + AVR32_SYNTAX_ADC,
  63934. + AVR32_SYNTAX_ADD1,
  63935. + AVR32_SYNTAX_ADD2,
  63936. + AVR32_SYNTAX_ADDABS,
  63937. + AVR32_SYNTAX_ADDHH_W,
  63938. + AVR32_SYNTAX_AND1,
  63939. + AVR32_SYNTAX_AND2,
  63940. + AVR32_SYNTAX_AND3,
  63941. + AVR32_SYNTAX_ANDH,
  63942. + AVR32_SYNTAX_ANDH_COH,
  63943. + AVR32_SYNTAX_ANDL,
  63944. + AVR32_SYNTAX_ANDL_COH,
  63945. + AVR32_SYNTAX_ANDN,
  63946. + AVR32_SYNTAX_ASR1,
  63947. + AVR32_SYNTAX_ASR3,
  63948. + AVR32_SYNTAX_ASR2,
  63949. + AVR32_SYNTAX_BFEXTS,
  63950. + AVR32_SYNTAX_BFEXTU,
  63951. + AVR32_SYNTAX_BFINS,
  63952. + AVR32_SYNTAX_BLD,
  63953. + AVR32_SYNTAX_BREQ1,
  63954. + AVR32_SYNTAX_BRNE1,
  63955. + AVR32_SYNTAX_BRCC1,
  63956. + AVR32_SYNTAX_BRCS1,
  63957. + AVR32_SYNTAX_BRGE1,
  63958. + AVR32_SYNTAX_BRLT1,
  63959. + AVR32_SYNTAX_BRMI1,
  63960. + AVR32_SYNTAX_BRPL1,
  63961. + AVR32_SYNTAX_BRHS1,
  63962. + AVR32_SYNTAX_BRLO1,
  63963. + AVR32_SYNTAX_BREQ2,
  63964. + AVR32_SYNTAX_BRNE2,
  63965. + AVR32_SYNTAX_BRCC2,
  63966. + AVR32_SYNTAX_BRCS2,
  63967. + AVR32_SYNTAX_BRGE2,
  63968. + AVR32_SYNTAX_BRLT2,
  63969. + AVR32_SYNTAX_BRMI2,
  63970. + AVR32_SYNTAX_BRPL2,
  63971. + AVR32_SYNTAX_BRLS,
  63972. + AVR32_SYNTAX_BRGT,
  63973. + AVR32_SYNTAX_BRLE,
  63974. + AVR32_SYNTAX_BRHI,
  63975. + AVR32_SYNTAX_BRVS,
  63976. + AVR32_SYNTAX_BRVC,
  63977. + AVR32_SYNTAX_BRQS,
  63978. + AVR32_SYNTAX_BRAL,
  63979. + AVR32_SYNTAX_BRHS2,
  63980. + AVR32_SYNTAX_BRLO2,
  63981. + AVR32_SYNTAX_BREAKPOINT,
  63982. + AVR32_SYNTAX_BREV,
  63983. + AVR32_SYNTAX_BST,
  63984. + AVR32_SYNTAX_CACHE,
  63985. + AVR32_SYNTAX_CASTS_B,
  63986. + AVR32_SYNTAX_CASTS_H,
  63987. + AVR32_SYNTAX_CASTU_B,
  63988. + AVR32_SYNTAX_CASTU_H,
  63989. + AVR32_SYNTAX_CBR,
  63990. + AVR32_SYNTAX_CLZ,
  63991. + AVR32_SYNTAX_COM,
  63992. + AVR32_SYNTAX_COP,
  63993. + AVR32_SYNTAX_CP_B,
  63994. + AVR32_SYNTAX_CP_H,
  63995. + AVR32_SYNTAX_CP_W1,
  63996. + AVR32_SYNTAX_CP_W2,
  63997. + AVR32_SYNTAX_CP_W3,
  63998. + AVR32_SYNTAX_CPC1,
  63999. + AVR32_SYNTAX_CPC2,
  64000. + AVR32_SYNTAX_CSRF,
  64001. + AVR32_SYNTAX_CSRFCZ,
  64002. + AVR32_SYNTAX_DIVS,
  64003. + AVR32_SYNTAX_DIVU,
  64004. + AVR32_SYNTAX_EOR1,
  64005. + AVR32_SYNTAX_EOR2,
  64006. + AVR32_SYNTAX_EOR3,
  64007. + AVR32_SYNTAX_EORL,
  64008. + AVR32_SYNTAX_EORH,
  64009. + AVR32_SYNTAX_FRS,
  64010. + AVR32_SYNTAX_SSCALL,
  64011. + AVR32_SYNTAX_RETSS,
  64012. + AVR32_SYNTAX_ICALL,
  64013. + AVR32_SYNTAX_INCJOSP,
  64014. + AVR32_SYNTAX_LD_D1,
  64015. + AVR32_SYNTAX_LD_D2,
  64016. + AVR32_SYNTAX_LD_D3,
  64017. + AVR32_SYNTAX_LD_D5,
  64018. + AVR32_SYNTAX_LD_D4,
  64019. + AVR32_SYNTAX_LD_SB2,
  64020. + AVR32_SYNTAX_LD_SB1,
  64021. + AVR32_SYNTAX_LD_UB1,
  64022. + AVR32_SYNTAX_LD_UB2,
  64023. + AVR32_SYNTAX_LD_UB5,
  64024. + AVR32_SYNTAX_LD_UB3,
  64025. + AVR32_SYNTAX_LD_UB4,
  64026. + AVR32_SYNTAX_LD_SH1,
  64027. + AVR32_SYNTAX_LD_SH2,
  64028. + AVR32_SYNTAX_LD_SH5,
  64029. + AVR32_SYNTAX_LD_SH3,
  64030. + AVR32_SYNTAX_LD_SH4,
  64031. + AVR32_SYNTAX_LD_UH1,
  64032. + AVR32_SYNTAX_LD_UH2,
  64033. + AVR32_SYNTAX_LD_UH5,
  64034. + AVR32_SYNTAX_LD_UH3,
  64035. + AVR32_SYNTAX_LD_UH4,
  64036. + AVR32_SYNTAX_LD_W1,
  64037. + AVR32_SYNTAX_LD_W2,
  64038. + AVR32_SYNTAX_LD_W5,
  64039. + AVR32_SYNTAX_LD_W6,
  64040. + AVR32_SYNTAX_LD_W3,
  64041. + AVR32_SYNTAX_LD_W4,
  64042. + AVR32_SYNTAX_LDC_D1,
  64043. + AVR32_SYNTAX_LDC_D2,
  64044. + AVR32_SYNTAX_LDC_D3,
  64045. + AVR32_SYNTAX_LDC_W1,
  64046. + AVR32_SYNTAX_LDC_W2,
  64047. + AVR32_SYNTAX_LDC_W3,
  64048. + AVR32_SYNTAX_LDC0_D,
  64049. + AVR32_SYNTAX_LDC0_W,
  64050. + AVR32_SYNTAX_LDCM_D,
  64051. + AVR32_SYNTAX_LDCM_D_PU,
  64052. + AVR32_SYNTAX_LDCM_W,
  64053. + AVR32_SYNTAX_LDCM_W_PU,
  64054. + AVR32_SYNTAX_LDDPC,
  64055. + AVR32_SYNTAX_LDDPC_EXT,
  64056. + AVR32_SYNTAX_LDDSP,
  64057. + AVR32_SYNTAX_LDINS_B,
  64058. + AVR32_SYNTAX_LDINS_H,
  64059. + AVR32_SYNTAX_LDM,
  64060. + AVR32_SYNTAX_LDMTS,
  64061. + AVR32_SYNTAX_LDMTS_PU,
  64062. + AVR32_SYNTAX_LDSWP_SH,
  64063. + AVR32_SYNTAX_LDSWP_UH,
  64064. + AVR32_SYNTAX_LDSWP_W,
  64065. + AVR32_SYNTAX_LSL1,
  64066. + AVR32_SYNTAX_LSL3,
  64067. + AVR32_SYNTAX_LSL2,
  64068. + AVR32_SYNTAX_LSR1,
  64069. + AVR32_SYNTAX_LSR3,
  64070. + AVR32_SYNTAX_LSR2,
  64071. + AVR32_SYNTAX_MAC,
  64072. + AVR32_SYNTAX_MACHH_D,
  64073. + AVR32_SYNTAX_MACHH_W,
  64074. + AVR32_SYNTAX_MACS_D,
  64075. + AVR32_SYNTAX_MACSATHH_W,
  64076. + AVR32_SYNTAX_MACUD,
  64077. + AVR32_SYNTAX_MACWH_D,
  64078. + AVR32_SYNTAX_MAX,
  64079. + AVR32_SYNTAX_MCALL,
  64080. + AVR32_SYNTAX_MFDR,
  64081. + AVR32_SYNTAX_MFSR,
  64082. + AVR32_SYNTAX_MIN,
  64083. + AVR32_SYNTAX_MOV3,
  64084. + AVR32_SYNTAX_MOV1,
  64085. + AVR32_SYNTAX_MOV2,
  64086. + AVR32_SYNTAX_MOVEQ1,
  64087. + AVR32_SYNTAX_MOVNE1,
  64088. + AVR32_SYNTAX_MOVCC1,
  64089. + AVR32_SYNTAX_MOVCS1,
  64090. + AVR32_SYNTAX_MOVGE1,
  64091. + AVR32_SYNTAX_MOVLT1,
  64092. + AVR32_SYNTAX_MOVMI1,
  64093. + AVR32_SYNTAX_MOVPL1,
  64094. + AVR32_SYNTAX_MOVLS1,
  64095. + AVR32_SYNTAX_MOVGT1,
  64096. + AVR32_SYNTAX_MOVLE1,
  64097. + AVR32_SYNTAX_MOVHI1,
  64098. + AVR32_SYNTAX_MOVVS1,
  64099. + AVR32_SYNTAX_MOVVC1,
  64100. + AVR32_SYNTAX_MOVQS1,
  64101. + AVR32_SYNTAX_MOVAL1,
  64102. + AVR32_SYNTAX_MOVHS1,
  64103. + AVR32_SYNTAX_MOVLO1,
  64104. + AVR32_SYNTAX_MOVEQ2,
  64105. + AVR32_SYNTAX_MOVNE2,
  64106. + AVR32_SYNTAX_MOVCC2,
  64107. + AVR32_SYNTAX_MOVCS2,
  64108. + AVR32_SYNTAX_MOVGE2,
  64109. + AVR32_SYNTAX_MOVLT2,
  64110. + AVR32_SYNTAX_MOVMI2,
  64111. + AVR32_SYNTAX_MOVPL2,
  64112. + AVR32_SYNTAX_MOVLS2,
  64113. + AVR32_SYNTAX_MOVGT2,
  64114. + AVR32_SYNTAX_MOVLE2,
  64115. + AVR32_SYNTAX_MOVHI2,
  64116. + AVR32_SYNTAX_MOVVS2,
  64117. + AVR32_SYNTAX_MOVVC2,
  64118. + AVR32_SYNTAX_MOVQS2,
  64119. + AVR32_SYNTAX_MOVAL2,
  64120. + AVR32_SYNTAX_MOVHS2,
  64121. + AVR32_SYNTAX_MOVLO2,
  64122. + AVR32_SYNTAX_MTDR,
  64123. + AVR32_SYNTAX_MTSR,
  64124. + AVR32_SYNTAX_MUL1,
  64125. + AVR32_SYNTAX_MUL2,
  64126. + AVR32_SYNTAX_MUL3,
  64127. + AVR32_SYNTAX_MULHH_W,
  64128. + AVR32_SYNTAX_MULNHH_W,
  64129. + AVR32_SYNTAX_MULNWH_D,
  64130. + AVR32_SYNTAX_MULSD,
  64131. + AVR32_SYNTAX_MULSATHH_H,
  64132. + AVR32_SYNTAX_MULSATHH_W,
  64133. + AVR32_SYNTAX_MULSATRNDHH_H,
  64134. + AVR32_SYNTAX_MULSATRNDWH_W,
  64135. + AVR32_SYNTAX_MULSATWH_W,
  64136. + AVR32_SYNTAX_MULU_D,
  64137. + AVR32_SYNTAX_MULWH_D,
  64138. + AVR32_SYNTAX_MUSFR,
  64139. + AVR32_SYNTAX_MUSTR,
  64140. + AVR32_SYNTAX_MVCR_D,
  64141. + AVR32_SYNTAX_MVCR_W,
  64142. + AVR32_SYNTAX_MVRC_D,
  64143. + AVR32_SYNTAX_MVRC_W,
  64144. + AVR32_SYNTAX_NEG,
  64145. + AVR32_SYNTAX_NOP,
  64146. + AVR32_SYNTAX_OR1,
  64147. + AVR32_SYNTAX_OR2,
  64148. + AVR32_SYNTAX_OR3,
  64149. + AVR32_SYNTAX_ORH,
  64150. + AVR32_SYNTAX_ORL,
  64151. + AVR32_SYNTAX_PABS_SB,
  64152. + AVR32_SYNTAX_PABS_SH,
  64153. + AVR32_SYNTAX_PACKSH_SB,
  64154. + AVR32_SYNTAX_PACKSH_UB,
  64155. + AVR32_SYNTAX_PACKW_SH,
  64156. + AVR32_SYNTAX_PADD_B,
  64157. + AVR32_SYNTAX_PADD_H,
  64158. + AVR32_SYNTAX_PADDH_SH,
  64159. + AVR32_SYNTAX_PADDH_UB,
  64160. + AVR32_SYNTAX_PADDS_SB,
  64161. + AVR32_SYNTAX_PADDS_SH,
  64162. + AVR32_SYNTAX_PADDS_UB,
  64163. + AVR32_SYNTAX_PADDS_UH,
  64164. + AVR32_SYNTAX_PADDSUB_H,
  64165. + AVR32_SYNTAX_PADDSUBH_SH,
  64166. + AVR32_SYNTAX_PADDSUBS_SH,
  64167. + AVR32_SYNTAX_PADDSUBS_UH,
  64168. + AVR32_SYNTAX_PADDX_H,
  64169. + AVR32_SYNTAX_PADDXH_SH,
  64170. + AVR32_SYNTAX_PADDXS_SH,
  64171. + AVR32_SYNTAX_PADDXS_UH,
  64172. + AVR32_SYNTAX_PASR_B,
  64173. + AVR32_SYNTAX_PASR_H,
  64174. + AVR32_SYNTAX_PAVG_SH,
  64175. + AVR32_SYNTAX_PAVG_UB,
  64176. + AVR32_SYNTAX_PLSL_B,
  64177. + AVR32_SYNTAX_PLSL_H,
  64178. + AVR32_SYNTAX_PLSR_B,
  64179. + AVR32_SYNTAX_PLSR_H,
  64180. + AVR32_SYNTAX_PMAX_SH,
  64181. + AVR32_SYNTAX_PMAX_UB,
  64182. + AVR32_SYNTAX_PMIN_SH,
  64183. + AVR32_SYNTAX_PMIN_UB,
  64184. + AVR32_SYNTAX_POPJC,
  64185. + AVR32_SYNTAX_POPM,
  64186. + AVR32_SYNTAX_POPM_E,
  64187. + AVR32_SYNTAX_PREF,
  64188. + AVR32_SYNTAX_PSAD,
  64189. + AVR32_SYNTAX_PSUB_B,
  64190. + AVR32_SYNTAX_PSUB_H,
  64191. + AVR32_SYNTAX_PSUBADD_H,
  64192. + AVR32_SYNTAX_PSUBADDH_SH,
  64193. + AVR32_SYNTAX_PSUBADDS_SH,
  64194. + AVR32_SYNTAX_PSUBADDS_UH,
  64195. + AVR32_SYNTAX_PSUBH_SH,
  64196. + AVR32_SYNTAX_PSUBH_UB,
  64197. + AVR32_SYNTAX_PSUBS_SB,
  64198. + AVR32_SYNTAX_PSUBS_SH,
  64199. + AVR32_SYNTAX_PSUBS_UB,
  64200. + AVR32_SYNTAX_PSUBS_UH,
  64201. + AVR32_SYNTAX_PSUBX_H,
  64202. + AVR32_SYNTAX_PSUBXH_SH,
  64203. + AVR32_SYNTAX_PSUBXS_SH,
  64204. + AVR32_SYNTAX_PSUBXS_UH,
  64205. + AVR32_SYNTAX_PUNPCKSB_H,
  64206. + AVR32_SYNTAX_PUNPCKUB_H,
  64207. + AVR32_SYNTAX_PUSHJC,
  64208. + AVR32_SYNTAX_PUSHM,
  64209. + AVR32_SYNTAX_PUSHM_E,
  64210. + AVR32_SYNTAX_RCALL1,
  64211. + AVR32_SYNTAX_RCALL2,
  64212. + AVR32_SYNTAX_RETEQ,
  64213. + AVR32_SYNTAX_RETNE,
  64214. + AVR32_SYNTAX_RETCC,
  64215. + AVR32_SYNTAX_RETCS,
  64216. + AVR32_SYNTAX_RETGE,
  64217. + AVR32_SYNTAX_RETLT,
  64218. + AVR32_SYNTAX_RETMI,
  64219. + AVR32_SYNTAX_RETPL,
  64220. + AVR32_SYNTAX_RETLS,
  64221. + AVR32_SYNTAX_RETGT,
  64222. + AVR32_SYNTAX_RETLE,
  64223. + AVR32_SYNTAX_RETHI,
  64224. + AVR32_SYNTAX_RETVS,
  64225. + AVR32_SYNTAX_RETVC,
  64226. + AVR32_SYNTAX_RETQS,
  64227. + AVR32_SYNTAX_RETAL,
  64228. + AVR32_SYNTAX_RETHS,
  64229. + AVR32_SYNTAX_RETLO,
  64230. + AVR32_SYNTAX_RETD,
  64231. + AVR32_SYNTAX_RETE,
  64232. + AVR32_SYNTAX_RETJ,
  64233. + AVR32_SYNTAX_RETS,
  64234. + AVR32_SYNTAX_RJMP,
  64235. + AVR32_SYNTAX_ROL,
  64236. + AVR32_SYNTAX_ROR,
  64237. + AVR32_SYNTAX_RSUB1,
  64238. + AVR32_SYNTAX_RSUB2,
  64239. + AVR32_SYNTAX_SATADD_H,
  64240. + AVR32_SYNTAX_SATADD_W,
  64241. + AVR32_SYNTAX_SATRNDS,
  64242. + AVR32_SYNTAX_SATRNDU,
  64243. + AVR32_SYNTAX_SATS,
  64244. + AVR32_SYNTAX_SATSUB_H,
  64245. + AVR32_SYNTAX_SATSUB_W1,
  64246. + AVR32_SYNTAX_SATSUB_W2,
  64247. + AVR32_SYNTAX_SATU,
  64248. + AVR32_SYNTAX_SBC,
  64249. + AVR32_SYNTAX_SBR,
  64250. + AVR32_SYNTAX_SCALL,
  64251. + AVR32_SYNTAX_SCR,
  64252. + AVR32_SYNTAX_SLEEP,
  64253. + AVR32_SYNTAX_SREQ,
  64254. + AVR32_SYNTAX_SRNE,
  64255. + AVR32_SYNTAX_SRCC,
  64256. + AVR32_SYNTAX_SRCS,
  64257. + AVR32_SYNTAX_SRGE,
  64258. + AVR32_SYNTAX_SRLT,
  64259. + AVR32_SYNTAX_SRMI,
  64260. + AVR32_SYNTAX_SRPL,
  64261. + AVR32_SYNTAX_SRLS,
  64262. + AVR32_SYNTAX_SRGT,
  64263. + AVR32_SYNTAX_SRLE,
  64264. + AVR32_SYNTAX_SRHI,
  64265. + AVR32_SYNTAX_SRVS,
  64266. + AVR32_SYNTAX_SRVC,
  64267. + AVR32_SYNTAX_SRQS,
  64268. + AVR32_SYNTAX_SRAL,
  64269. + AVR32_SYNTAX_SRHS,
  64270. + AVR32_SYNTAX_SRLO,
  64271. + AVR32_SYNTAX_SSRF,
  64272. + AVR32_SYNTAX_ST_B1,
  64273. + AVR32_SYNTAX_ST_B2,
  64274. + AVR32_SYNTAX_ST_B5,
  64275. + AVR32_SYNTAX_ST_B3,
  64276. + AVR32_SYNTAX_ST_B4,
  64277. + AVR32_SYNTAX_ST_D1,
  64278. + AVR32_SYNTAX_ST_D2,
  64279. + AVR32_SYNTAX_ST_D3,
  64280. + AVR32_SYNTAX_ST_D5,
  64281. + AVR32_SYNTAX_ST_D4,
  64282. + AVR32_SYNTAX_ST_H1,
  64283. + AVR32_SYNTAX_ST_H2,
  64284. + AVR32_SYNTAX_ST_H5,
  64285. + AVR32_SYNTAX_ST_H3,
  64286. + AVR32_SYNTAX_ST_H4,
  64287. + AVR32_SYNTAX_ST_W1,
  64288. + AVR32_SYNTAX_ST_W2,
  64289. + AVR32_SYNTAX_ST_W5,
  64290. + AVR32_SYNTAX_ST_W3,
  64291. + AVR32_SYNTAX_ST_W4,
  64292. + AVR32_SYNTAX_STC_D1,
  64293. + AVR32_SYNTAX_STC_D2,
  64294. + AVR32_SYNTAX_STC_D3,
  64295. + AVR32_SYNTAX_STC_W1,
  64296. + AVR32_SYNTAX_STC_W2,
  64297. + AVR32_SYNTAX_STC_W3,
  64298. + AVR32_SYNTAX_STC0_D,
  64299. + AVR32_SYNTAX_STC0_W,
  64300. + AVR32_SYNTAX_STCM_D,
  64301. + AVR32_SYNTAX_STCM_D_PU,
  64302. + AVR32_SYNTAX_STCM_W,
  64303. + AVR32_SYNTAX_STCM_W_PU,
  64304. + AVR32_SYNTAX_STCOND,
  64305. + AVR32_SYNTAX_STDSP,
  64306. + AVR32_SYNTAX_STHH_W2,
  64307. + AVR32_SYNTAX_STHH_W1,
  64308. + AVR32_SYNTAX_STM,
  64309. + AVR32_SYNTAX_STM_PU,
  64310. + AVR32_SYNTAX_STMTS,
  64311. + AVR32_SYNTAX_STMTS_PU,
  64312. + AVR32_SYNTAX_STSWP_H,
  64313. + AVR32_SYNTAX_STSWP_W,
  64314. + AVR32_SYNTAX_SUB1,
  64315. + AVR32_SYNTAX_SUB2,
  64316. + AVR32_SYNTAX_SUB5,
  64317. + AVR32_SYNTAX_SUB3_SP,
  64318. + AVR32_SYNTAX_SUB3,
  64319. + AVR32_SYNTAX_SUB4,
  64320. + AVR32_SYNTAX_SUBEQ,
  64321. + AVR32_SYNTAX_SUBNE,
  64322. + AVR32_SYNTAX_SUBCC,
  64323. + AVR32_SYNTAX_SUBCS,
  64324. + AVR32_SYNTAX_SUBGE,
  64325. + AVR32_SYNTAX_SUBLT,
  64326. + AVR32_SYNTAX_SUBMI,
  64327. + AVR32_SYNTAX_SUBPL,
  64328. + AVR32_SYNTAX_SUBLS,
  64329. + AVR32_SYNTAX_SUBGT,
  64330. + AVR32_SYNTAX_SUBLE,
  64331. + AVR32_SYNTAX_SUBHI,
  64332. + AVR32_SYNTAX_SUBVS,
  64333. + AVR32_SYNTAX_SUBVC,
  64334. + AVR32_SYNTAX_SUBQS,
  64335. + AVR32_SYNTAX_SUBAL,
  64336. + AVR32_SYNTAX_SUBHS,
  64337. + AVR32_SYNTAX_SUBLO,
  64338. + AVR32_SYNTAX_SUBFEQ,
  64339. + AVR32_SYNTAX_SUBFNE,
  64340. + AVR32_SYNTAX_SUBFCC,
  64341. + AVR32_SYNTAX_SUBFCS,
  64342. + AVR32_SYNTAX_SUBFGE,
  64343. + AVR32_SYNTAX_SUBFLT,
  64344. + AVR32_SYNTAX_SUBFMI,
  64345. + AVR32_SYNTAX_SUBFPL,
  64346. + AVR32_SYNTAX_SUBFLS,
  64347. + AVR32_SYNTAX_SUBFGT,
  64348. + AVR32_SYNTAX_SUBFLE,
  64349. + AVR32_SYNTAX_SUBFHI,
  64350. + AVR32_SYNTAX_SUBFVS,
  64351. + AVR32_SYNTAX_SUBFVC,
  64352. + AVR32_SYNTAX_SUBFQS,
  64353. + AVR32_SYNTAX_SUBFAL,
  64354. + AVR32_SYNTAX_SUBFHS,
  64355. + AVR32_SYNTAX_SUBFLO,
  64356. + AVR32_SYNTAX_SUBHH_W,
  64357. + AVR32_SYNTAX_SWAP_B,
  64358. + AVR32_SYNTAX_SWAP_BH,
  64359. + AVR32_SYNTAX_SWAP_H,
  64360. + AVR32_SYNTAX_SYNC,
  64361. + AVR32_SYNTAX_TLBR,
  64362. + AVR32_SYNTAX_TLBS,
  64363. + AVR32_SYNTAX_TLBW,
  64364. + AVR32_SYNTAX_TNBZ,
  64365. + AVR32_SYNTAX_TST,
  64366. + AVR32_SYNTAX_XCHG,
  64367. + AVR32_SYNTAX_MEMC,
  64368. + AVR32_SYNTAX_MEMS,
  64369. + AVR32_SYNTAX_MEMT,
  64370. + AVR32_SYNTAX_FMAC_S,
  64371. + AVR32_SYNTAX_FNMAC_S,
  64372. + AVR32_SYNTAX_FMSC_S,
  64373. + AVR32_SYNTAX_FNMSC_S,
  64374. + AVR32_SYNTAX_FMUL_S,
  64375. + AVR32_SYNTAX_FNMUL_S,
  64376. + AVR32_SYNTAX_FADD_S,
  64377. + AVR32_SYNTAX_FSUB_S,
  64378. + AVR32_SYNTAX_FCASTRS_SW,
  64379. + AVR32_SYNTAX_FCASTRS_UW,
  64380. + AVR32_SYNTAX_FCASTSW_S,
  64381. + AVR32_SYNTAX_FCASTUW_S,
  64382. + AVR32_SYNTAX_FCMP_S,
  64383. + AVR32_SYNTAX_FCHK_S,
  64384. + AVR32_SYNTAX_FRCPA_S,
  64385. + AVR32_SYNTAX_FRSQRTA_S,
  64386. + AVR32_SYNTAX_LDA_W,
  64387. + AVR32_SYNTAX_CALL,
  64388. + AVR32_SYNTAX_PICOSVMAC0,
  64389. + AVR32_SYNTAX_PICOSVMAC1,
  64390. + AVR32_SYNTAX_PICOSVMAC2,
  64391. + AVR32_SYNTAX_PICOSVMAC3,
  64392. + AVR32_SYNTAX_PICOSVMUL0,
  64393. + AVR32_SYNTAX_PICOSVMUL1,
  64394. + AVR32_SYNTAX_PICOSVMUL2,
  64395. + AVR32_SYNTAX_PICOSVMUL3,
  64396. + AVR32_SYNTAX_PICOVMAC0,
  64397. + AVR32_SYNTAX_PICOVMAC1,
  64398. + AVR32_SYNTAX_PICOVMAC2,
  64399. + AVR32_SYNTAX_PICOVMAC3,
  64400. + AVR32_SYNTAX_PICOVMUL0,
  64401. + AVR32_SYNTAX_PICOVMUL1,
  64402. + AVR32_SYNTAX_PICOVMUL2,
  64403. + AVR32_SYNTAX_PICOVMUL3,
  64404. + AVR32_SYNTAX_PICOLD_D2,
  64405. + AVR32_SYNTAX_PICOLD_D3,
  64406. + AVR32_SYNTAX_PICOLD_D1,
  64407. + AVR32_SYNTAX_PICOLD_W2,
  64408. + AVR32_SYNTAX_PICOLD_W3,
  64409. + AVR32_SYNTAX_PICOLD_W1,
  64410. + AVR32_SYNTAX_PICOLDM_D,
  64411. + AVR32_SYNTAX_PICOLDM_D_PU,
  64412. + AVR32_SYNTAX_PICOLDM_W,
  64413. + AVR32_SYNTAX_PICOLDM_W_PU,
  64414. + AVR32_SYNTAX_PICOMV_D1,
  64415. + AVR32_SYNTAX_PICOMV_D2,
  64416. + AVR32_SYNTAX_PICOMV_W1,
  64417. + AVR32_SYNTAX_PICOMV_W2,
  64418. + AVR32_SYNTAX_PICOST_D2,
  64419. + AVR32_SYNTAX_PICOST_D3,
  64420. + AVR32_SYNTAX_PICOST_D1,
  64421. + AVR32_SYNTAX_PICOST_W2,
  64422. + AVR32_SYNTAX_PICOST_W3,
  64423. + AVR32_SYNTAX_PICOST_W1,
  64424. + AVR32_SYNTAX_PICOSTM_D,
  64425. + AVR32_SYNTAX_PICOSTM_D_PU,
  64426. + AVR32_SYNTAX_PICOSTM_W,
  64427. + AVR32_SYNTAX_PICOSTM_W_PU,
  64428. + AVR32_SYNTAX_RSUBEQ,
  64429. + AVR32_SYNTAX_RSUBNE,
  64430. + AVR32_SYNTAX_RSUBCC,
  64431. + AVR32_SYNTAX_RSUBCS,
  64432. + AVR32_SYNTAX_RSUBGE,
  64433. + AVR32_SYNTAX_RSUBLT,
  64434. + AVR32_SYNTAX_RSUBMI,
  64435. + AVR32_SYNTAX_RSUBPL,
  64436. + AVR32_SYNTAX_RSUBLS,
  64437. + AVR32_SYNTAX_RSUBGT,
  64438. + AVR32_SYNTAX_RSUBLE,
  64439. + AVR32_SYNTAX_RSUBHI,
  64440. + AVR32_SYNTAX_RSUBVS,
  64441. + AVR32_SYNTAX_RSUBVC,
  64442. + AVR32_SYNTAX_RSUBQS,
  64443. + AVR32_SYNTAX_RSUBAL,
  64444. + AVR32_SYNTAX_RSUBHS,
  64445. + AVR32_SYNTAX_RSUBLO,
  64446. + AVR32_SYNTAX_ADDEQ,
  64447. + AVR32_SYNTAX_ADDNE,
  64448. + AVR32_SYNTAX_ADDCC,
  64449. + AVR32_SYNTAX_ADDCS,
  64450. + AVR32_SYNTAX_ADDGE,
  64451. + AVR32_SYNTAX_ADDLT,
  64452. + AVR32_SYNTAX_ADDMI,
  64453. + AVR32_SYNTAX_ADDPL,
  64454. + AVR32_SYNTAX_ADDLS,
  64455. + AVR32_SYNTAX_ADDGT,
  64456. + AVR32_SYNTAX_ADDLE,
  64457. + AVR32_SYNTAX_ADDHI,
  64458. + AVR32_SYNTAX_ADDVS,
  64459. + AVR32_SYNTAX_ADDVC,
  64460. + AVR32_SYNTAX_ADDQS,
  64461. + AVR32_SYNTAX_ADDAL,
  64462. + AVR32_SYNTAX_ADDHS,
  64463. + AVR32_SYNTAX_ADDLO,
  64464. + AVR32_SYNTAX_SUB2EQ,
  64465. + AVR32_SYNTAX_SUB2NE,
  64466. + AVR32_SYNTAX_SUB2CC,
  64467. + AVR32_SYNTAX_SUB2CS,
  64468. + AVR32_SYNTAX_SUB2GE,
  64469. + AVR32_SYNTAX_SUB2LT,
  64470. + AVR32_SYNTAX_SUB2MI,
  64471. + AVR32_SYNTAX_SUB2PL,
  64472. + AVR32_SYNTAX_SUB2LS,
  64473. + AVR32_SYNTAX_SUB2GT,
  64474. + AVR32_SYNTAX_SUB2LE,
  64475. + AVR32_SYNTAX_SUB2HI,
  64476. + AVR32_SYNTAX_SUB2VS,
  64477. + AVR32_SYNTAX_SUB2VC,
  64478. + AVR32_SYNTAX_SUB2QS,
  64479. + AVR32_SYNTAX_SUB2AL,
  64480. + AVR32_SYNTAX_SUB2HS,
  64481. + AVR32_SYNTAX_SUB2LO,
  64482. + AVR32_SYNTAX_ANDEQ,
  64483. + AVR32_SYNTAX_ANDNE,
  64484. + AVR32_SYNTAX_ANDCC,
  64485. + AVR32_SYNTAX_ANDCS,
  64486. + AVR32_SYNTAX_ANDGE,
  64487. + AVR32_SYNTAX_ANDLT,
  64488. + AVR32_SYNTAX_ANDMI,
  64489. + AVR32_SYNTAX_ANDPL,
  64490. + AVR32_SYNTAX_ANDLS,
  64491. + AVR32_SYNTAX_ANDGT,
  64492. + AVR32_SYNTAX_ANDLE,
  64493. + AVR32_SYNTAX_ANDHI,
  64494. + AVR32_SYNTAX_ANDVS,
  64495. + AVR32_SYNTAX_ANDVC,
  64496. + AVR32_SYNTAX_ANDQS,
  64497. + AVR32_SYNTAX_ANDAL,
  64498. + AVR32_SYNTAX_ANDHS,
  64499. + AVR32_SYNTAX_ANDLO,
  64500. + AVR32_SYNTAX_OREQ,
  64501. + AVR32_SYNTAX_ORNE,
  64502. + AVR32_SYNTAX_ORCC,
  64503. + AVR32_SYNTAX_ORCS,
  64504. + AVR32_SYNTAX_ORGE,
  64505. + AVR32_SYNTAX_ORLT,
  64506. + AVR32_SYNTAX_ORMI,
  64507. + AVR32_SYNTAX_ORPL,
  64508. + AVR32_SYNTAX_ORLS,
  64509. + AVR32_SYNTAX_ORGT,
  64510. + AVR32_SYNTAX_ORLE,
  64511. + AVR32_SYNTAX_ORHI,
  64512. + AVR32_SYNTAX_ORVS,
  64513. + AVR32_SYNTAX_ORVC,
  64514. + AVR32_SYNTAX_ORQS,
  64515. + AVR32_SYNTAX_ORAL,
  64516. + AVR32_SYNTAX_ORHS,
  64517. + AVR32_SYNTAX_ORLO,
  64518. + AVR32_SYNTAX_EOREQ,
  64519. + AVR32_SYNTAX_EORNE,
  64520. + AVR32_SYNTAX_EORCC,
  64521. + AVR32_SYNTAX_EORCS,
  64522. + AVR32_SYNTAX_EORGE,
  64523. + AVR32_SYNTAX_EORLT,
  64524. + AVR32_SYNTAX_EORMI,
  64525. + AVR32_SYNTAX_EORPL,
  64526. + AVR32_SYNTAX_EORLS,
  64527. + AVR32_SYNTAX_EORGT,
  64528. + AVR32_SYNTAX_EORLE,
  64529. + AVR32_SYNTAX_EORHI,
  64530. + AVR32_SYNTAX_EORVS,
  64531. + AVR32_SYNTAX_EORVC,
  64532. + AVR32_SYNTAX_EORQS,
  64533. + AVR32_SYNTAX_EORAL,
  64534. + AVR32_SYNTAX_EORHS,
  64535. + AVR32_SYNTAX_EORLO,
  64536. + AVR32_SYNTAX_LD_WEQ,
  64537. + AVR32_SYNTAX_LD_WNE,
  64538. + AVR32_SYNTAX_LD_WCC,
  64539. + AVR32_SYNTAX_LD_WCS,
  64540. + AVR32_SYNTAX_LD_WGE,
  64541. + AVR32_SYNTAX_LD_WLT,
  64542. + AVR32_SYNTAX_LD_WMI,
  64543. + AVR32_SYNTAX_LD_WPL,
  64544. + AVR32_SYNTAX_LD_WLS,
  64545. + AVR32_SYNTAX_LD_WGT,
  64546. + AVR32_SYNTAX_LD_WLE,
  64547. + AVR32_SYNTAX_LD_WHI,
  64548. + AVR32_SYNTAX_LD_WVS,
  64549. + AVR32_SYNTAX_LD_WVC,
  64550. + AVR32_SYNTAX_LD_WQS,
  64551. + AVR32_SYNTAX_LD_WAL,
  64552. + AVR32_SYNTAX_LD_WHS,
  64553. + AVR32_SYNTAX_LD_WLO,
  64554. + AVR32_SYNTAX_LD_SHEQ,
  64555. + AVR32_SYNTAX_LD_SHNE,
  64556. + AVR32_SYNTAX_LD_SHCC,
  64557. + AVR32_SYNTAX_LD_SHCS,
  64558. + AVR32_SYNTAX_LD_SHGE,
  64559. + AVR32_SYNTAX_LD_SHLT,
  64560. + AVR32_SYNTAX_LD_SHMI,
  64561. + AVR32_SYNTAX_LD_SHPL,
  64562. + AVR32_SYNTAX_LD_SHLS,
  64563. + AVR32_SYNTAX_LD_SHGT,
  64564. + AVR32_SYNTAX_LD_SHLE,
  64565. + AVR32_SYNTAX_LD_SHHI,
  64566. + AVR32_SYNTAX_LD_SHVS,
  64567. + AVR32_SYNTAX_LD_SHVC,
  64568. + AVR32_SYNTAX_LD_SHQS,
  64569. + AVR32_SYNTAX_LD_SHAL,
  64570. + AVR32_SYNTAX_LD_SHHS,
  64571. + AVR32_SYNTAX_LD_SHLO,
  64572. + AVR32_SYNTAX_LD_UHEQ,
  64573. + AVR32_SYNTAX_LD_UHNE,
  64574. + AVR32_SYNTAX_LD_UHCC,
  64575. + AVR32_SYNTAX_LD_UHCS,
  64576. + AVR32_SYNTAX_LD_UHGE,
  64577. + AVR32_SYNTAX_LD_UHLT,
  64578. + AVR32_SYNTAX_LD_UHMI,
  64579. + AVR32_SYNTAX_LD_UHPL,
  64580. + AVR32_SYNTAX_LD_UHLS,
  64581. + AVR32_SYNTAX_LD_UHGT,
  64582. + AVR32_SYNTAX_LD_UHLE,
  64583. + AVR32_SYNTAX_LD_UHHI,
  64584. + AVR32_SYNTAX_LD_UHVS,
  64585. + AVR32_SYNTAX_LD_UHVC,
  64586. + AVR32_SYNTAX_LD_UHQS,
  64587. + AVR32_SYNTAX_LD_UHAL,
  64588. + AVR32_SYNTAX_LD_UHHS,
  64589. + AVR32_SYNTAX_LD_UHLO,
  64590. + AVR32_SYNTAX_LD_SBEQ,
  64591. + AVR32_SYNTAX_LD_SBNE,
  64592. + AVR32_SYNTAX_LD_SBCC,
  64593. + AVR32_SYNTAX_LD_SBCS,
  64594. + AVR32_SYNTAX_LD_SBGE,
  64595. + AVR32_SYNTAX_LD_SBLT,
  64596. + AVR32_SYNTAX_LD_SBMI,
  64597. + AVR32_SYNTAX_LD_SBPL,
  64598. + AVR32_SYNTAX_LD_SBLS,
  64599. + AVR32_SYNTAX_LD_SBGT,
  64600. + AVR32_SYNTAX_LD_SBLE,
  64601. + AVR32_SYNTAX_LD_SBHI,
  64602. + AVR32_SYNTAX_LD_SBVS,
  64603. + AVR32_SYNTAX_LD_SBVC,
  64604. + AVR32_SYNTAX_LD_SBQS,
  64605. + AVR32_SYNTAX_LD_SBAL,
  64606. + AVR32_SYNTAX_LD_SBHS,
  64607. + AVR32_SYNTAX_LD_SBLO,
  64608. + AVR32_SYNTAX_LD_UBEQ,
  64609. + AVR32_SYNTAX_LD_UBNE,
  64610. + AVR32_SYNTAX_LD_UBCC,
  64611. + AVR32_SYNTAX_LD_UBCS,
  64612. + AVR32_SYNTAX_LD_UBGE,
  64613. + AVR32_SYNTAX_LD_UBLT,
  64614. + AVR32_SYNTAX_LD_UBMI,
  64615. + AVR32_SYNTAX_LD_UBPL,
  64616. + AVR32_SYNTAX_LD_UBLS,
  64617. + AVR32_SYNTAX_LD_UBGT,
  64618. + AVR32_SYNTAX_LD_UBLE,
  64619. + AVR32_SYNTAX_LD_UBHI,
  64620. + AVR32_SYNTAX_LD_UBVS,
  64621. + AVR32_SYNTAX_LD_UBVC,
  64622. + AVR32_SYNTAX_LD_UBQS,
  64623. + AVR32_SYNTAX_LD_UBAL,
  64624. + AVR32_SYNTAX_LD_UBHS,
  64625. + AVR32_SYNTAX_LD_UBLO,
  64626. + AVR32_SYNTAX_ST_WEQ,
  64627. + AVR32_SYNTAX_ST_WNE,
  64628. + AVR32_SYNTAX_ST_WCC,
  64629. + AVR32_SYNTAX_ST_WCS,
  64630. + AVR32_SYNTAX_ST_WGE,
  64631. + AVR32_SYNTAX_ST_WLT,
  64632. + AVR32_SYNTAX_ST_WMI,
  64633. + AVR32_SYNTAX_ST_WPL,
  64634. + AVR32_SYNTAX_ST_WLS,
  64635. + AVR32_SYNTAX_ST_WGT,
  64636. + AVR32_SYNTAX_ST_WLE,
  64637. + AVR32_SYNTAX_ST_WHI,
  64638. + AVR32_SYNTAX_ST_WVS,
  64639. + AVR32_SYNTAX_ST_WVC,
  64640. + AVR32_SYNTAX_ST_WQS,
  64641. + AVR32_SYNTAX_ST_WAL,
  64642. + AVR32_SYNTAX_ST_WHS,
  64643. + AVR32_SYNTAX_ST_WLO,
  64644. + AVR32_SYNTAX_ST_HEQ,
  64645. + AVR32_SYNTAX_ST_HNE,
  64646. + AVR32_SYNTAX_ST_HCC,
  64647. + AVR32_SYNTAX_ST_HCS,
  64648. + AVR32_SYNTAX_ST_HGE,
  64649. + AVR32_SYNTAX_ST_HLT,
  64650. + AVR32_SYNTAX_ST_HMI,
  64651. + AVR32_SYNTAX_ST_HPL,
  64652. + AVR32_SYNTAX_ST_HLS,
  64653. + AVR32_SYNTAX_ST_HGT,
  64654. + AVR32_SYNTAX_ST_HLE,
  64655. + AVR32_SYNTAX_ST_HHI,
  64656. + AVR32_SYNTAX_ST_HVS,
  64657. + AVR32_SYNTAX_ST_HVC,
  64658. + AVR32_SYNTAX_ST_HQS,
  64659. + AVR32_SYNTAX_ST_HAL,
  64660. + AVR32_SYNTAX_ST_HHS,
  64661. + AVR32_SYNTAX_ST_HLO,
  64662. + AVR32_SYNTAX_ST_BEQ,
  64663. + AVR32_SYNTAX_ST_BNE,
  64664. + AVR32_SYNTAX_ST_BCC,
  64665. + AVR32_SYNTAX_ST_BCS,
  64666. + AVR32_SYNTAX_ST_BGE,
  64667. + AVR32_SYNTAX_ST_BLT,
  64668. + AVR32_SYNTAX_ST_BMI,
  64669. + AVR32_SYNTAX_ST_BPL,
  64670. + AVR32_SYNTAX_ST_BLS,
  64671. + AVR32_SYNTAX_ST_BGT,
  64672. + AVR32_SYNTAX_ST_BLE,
  64673. + AVR32_SYNTAX_ST_BHI,
  64674. + AVR32_SYNTAX_ST_BVS,
  64675. + AVR32_SYNTAX_ST_BVC,
  64676. + AVR32_SYNTAX_ST_BQS,
  64677. + AVR32_SYNTAX_ST_BAL,
  64678. + AVR32_SYNTAX_ST_BHS,
  64679. + AVR32_SYNTAX_ST_BLO,
  64680. + AVR32_SYNTAX_MOVH,
  64681. + AVR32_SYNTAX__END_
  64682. +};
  64683. +#define AVR32_NR_SYNTAX AVR32_SYNTAX__END_
  64684. +
  64685. +enum avr32_alias_type
  64686. + {
  64687. + AVR32_ALIAS_PICOSVMAC0,
  64688. + AVR32_ALIAS_PICOSVMAC1,
  64689. + AVR32_ALIAS_PICOSVMAC2,
  64690. + AVR32_ALIAS_PICOSVMAC3,
  64691. + AVR32_ALIAS_PICOSVMUL0,
  64692. + AVR32_ALIAS_PICOSVMUL1,
  64693. + AVR32_ALIAS_PICOSVMUL2,
  64694. + AVR32_ALIAS_PICOSVMUL3,
  64695. + AVR32_ALIAS_PICOVMAC0,
  64696. + AVR32_ALIAS_PICOVMAC1,
  64697. + AVR32_ALIAS_PICOVMAC2,
  64698. + AVR32_ALIAS_PICOVMAC3,
  64699. + AVR32_ALIAS_PICOVMUL0,
  64700. + AVR32_ALIAS_PICOVMUL1,
  64701. + AVR32_ALIAS_PICOVMUL2,
  64702. + AVR32_ALIAS_PICOVMUL3,
  64703. + AVR32_ALIAS_PICOLD_D1,
  64704. + AVR32_ALIAS_PICOLD_D2,
  64705. + AVR32_ALIAS_PICOLD_D3,
  64706. + AVR32_ALIAS_PICOLD_W1,
  64707. + AVR32_ALIAS_PICOLD_W2,
  64708. + AVR32_ALIAS_PICOLD_W3,
  64709. + AVR32_ALIAS_PICOLDM_D,
  64710. + AVR32_ALIAS_PICOLDM_D_PU,
  64711. + AVR32_ALIAS_PICOLDM_W,
  64712. + AVR32_ALIAS_PICOLDM_W_PU,
  64713. + AVR32_ALIAS_PICOMV_D1,
  64714. + AVR32_ALIAS_PICOMV_D2,
  64715. + AVR32_ALIAS_PICOMV_W1,
  64716. + AVR32_ALIAS_PICOMV_W2,
  64717. + AVR32_ALIAS_PICOST_D1,
  64718. + AVR32_ALIAS_PICOST_D2,
  64719. + AVR32_ALIAS_PICOST_D3,
  64720. + AVR32_ALIAS_PICOST_W1,
  64721. + AVR32_ALIAS_PICOST_W2,
  64722. + AVR32_ALIAS_PICOST_W3,
  64723. + AVR32_ALIAS_PICOSTM_D,
  64724. + AVR32_ALIAS_PICOSTM_D_PU,
  64725. + AVR32_ALIAS_PICOSTM_W,
  64726. + AVR32_ALIAS_PICOSTM_W_PU,
  64727. + AVR32_ALIAS__END_
  64728. + };
  64729. +#define AVR32_NR_ALIAS AVR32_ALIAS__END_
  64730. +
  64731. +enum avr32_mnemonic_type
  64732. +{
  64733. + AVR32_MNEMONIC_ABS,
  64734. + AVR32_MNEMONIC_ACALL,
  64735. + AVR32_MNEMONIC_ACR,
  64736. + AVR32_MNEMONIC_ADC,
  64737. + AVR32_MNEMONIC_ADD,
  64738. + AVR32_MNEMONIC_ADDABS,
  64739. + AVR32_MNEMONIC_ADDHH_W,
  64740. + AVR32_MNEMONIC_AND,
  64741. + AVR32_MNEMONIC_ANDH,
  64742. + AVR32_MNEMONIC_ANDL,
  64743. + AVR32_MNEMONIC_ANDN,
  64744. + AVR32_MNEMONIC_ASR,
  64745. + AVR32_MNEMONIC_BFEXTS,
  64746. + AVR32_MNEMONIC_BFEXTU,
  64747. + AVR32_MNEMONIC_BFINS,
  64748. + AVR32_MNEMONIC_BLD,
  64749. + AVR32_MNEMONIC_BREQ,
  64750. + AVR32_MNEMONIC_BRNE,
  64751. + AVR32_MNEMONIC_BRCC,
  64752. + AVR32_MNEMONIC_BRCS,
  64753. + AVR32_MNEMONIC_BRGE,
  64754. + AVR32_MNEMONIC_BRLT,
  64755. + AVR32_MNEMONIC_BRMI,
  64756. + AVR32_MNEMONIC_BRPL,
  64757. + AVR32_MNEMONIC_BRHS,
  64758. + AVR32_MNEMONIC_BRLO,
  64759. + AVR32_MNEMONIC_BRLS,
  64760. + AVR32_MNEMONIC_BRGT,
  64761. + AVR32_MNEMONIC_BRLE,
  64762. + AVR32_MNEMONIC_BRHI,
  64763. + AVR32_MNEMONIC_BRVS,
  64764. + AVR32_MNEMONIC_BRVC,
  64765. + AVR32_MNEMONIC_BRQS,
  64766. + AVR32_MNEMONIC_BRAL,
  64767. + AVR32_MNEMONIC_BREAKPOINT,
  64768. + AVR32_MNEMONIC_BREV,
  64769. + AVR32_MNEMONIC_BST,
  64770. + AVR32_MNEMONIC_CACHE,
  64771. + AVR32_MNEMONIC_CASTS_B,
  64772. + AVR32_MNEMONIC_CASTS_H,
  64773. + AVR32_MNEMONIC_CASTU_B,
  64774. + AVR32_MNEMONIC_CASTU_H,
  64775. + AVR32_MNEMONIC_CBR,
  64776. + AVR32_MNEMONIC_CLZ,
  64777. + AVR32_MNEMONIC_COM,
  64778. + AVR32_MNEMONIC_COP,
  64779. + AVR32_MNEMONIC_CP_B,
  64780. + AVR32_MNEMONIC_CP_H,
  64781. + AVR32_MNEMONIC_CP_W,
  64782. + AVR32_MNEMONIC_CP,
  64783. + AVR32_MNEMONIC_CPC,
  64784. + AVR32_MNEMONIC_CSRF,
  64785. + AVR32_MNEMONIC_CSRFCZ,
  64786. + AVR32_MNEMONIC_DIVS,
  64787. + AVR32_MNEMONIC_DIVU,
  64788. + AVR32_MNEMONIC_EOR,
  64789. + AVR32_MNEMONIC_EORL,
  64790. + AVR32_MNEMONIC_EORH,
  64791. + AVR32_MNEMONIC_FRS,
  64792. + AVR32_MNEMONIC_SSCALL,
  64793. + AVR32_MNEMONIC_RETSS,
  64794. + AVR32_MNEMONIC_ICALL,
  64795. + AVR32_MNEMONIC_INCJOSP,
  64796. + AVR32_MNEMONIC_LD_D,
  64797. + AVR32_MNEMONIC_LD_SB,
  64798. + AVR32_MNEMONIC_LD_UB,
  64799. + AVR32_MNEMONIC_LD_SH,
  64800. + AVR32_MNEMONIC_LD_UH,
  64801. + AVR32_MNEMONIC_LD_W,
  64802. + AVR32_MNEMONIC_LDC_D,
  64803. + AVR32_MNEMONIC_LDC_W,
  64804. + AVR32_MNEMONIC_LDC0_D,
  64805. + AVR32_MNEMONIC_LDC0_W,
  64806. + AVR32_MNEMONIC_LDCM_D,
  64807. + AVR32_MNEMONIC_LDCM_W,
  64808. + AVR32_MNEMONIC_LDDPC,
  64809. + AVR32_MNEMONIC_LDDSP,
  64810. + AVR32_MNEMONIC_LDINS_B,
  64811. + AVR32_MNEMONIC_LDINS_H,
  64812. + AVR32_MNEMONIC_LDM,
  64813. + AVR32_MNEMONIC_LDMTS,
  64814. + AVR32_MNEMONIC_LDSWP_SH,
  64815. + AVR32_MNEMONIC_LDSWP_UH,
  64816. + AVR32_MNEMONIC_LDSWP_W,
  64817. + AVR32_MNEMONIC_LSL,
  64818. + AVR32_MNEMONIC_LSR,
  64819. + AVR32_MNEMONIC_MAC,
  64820. + AVR32_MNEMONIC_MACHH_D,
  64821. + AVR32_MNEMONIC_MACHH_W,
  64822. + AVR32_MNEMONIC_MACS_D,
  64823. + AVR32_MNEMONIC_MACSATHH_W,
  64824. + AVR32_MNEMONIC_MACU_D,
  64825. + AVR32_MNEMONIC_MACWH_D,
  64826. + AVR32_MNEMONIC_MAX,
  64827. + AVR32_MNEMONIC_MCALL,
  64828. + AVR32_MNEMONIC_MFDR,
  64829. + AVR32_MNEMONIC_MFSR,
  64830. + AVR32_MNEMONIC_MIN,
  64831. + AVR32_MNEMONIC_MOV,
  64832. + AVR32_MNEMONIC_MOVEQ,
  64833. + AVR32_MNEMONIC_MOVNE,
  64834. + AVR32_MNEMONIC_MOVCC,
  64835. + AVR32_MNEMONIC_MOVCS,
  64836. + AVR32_MNEMONIC_MOVGE,
  64837. + AVR32_MNEMONIC_MOVLT,
  64838. + AVR32_MNEMONIC_MOVMI,
  64839. + AVR32_MNEMONIC_MOVPL,
  64840. + AVR32_MNEMONIC_MOVLS,
  64841. + AVR32_MNEMONIC_MOVGT,
  64842. + AVR32_MNEMONIC_MOVLE,
  64843. + AVR32_MNEMONIC_MOVHI,
  64844. + AVR32_MNEMONIC_MOVVS,
  64845. + AVR32_MNEMONIC_MOVVC,
  64846. + AVR32_MNEMONIC_MOVQS,
  64847. + AVR32_MNEMONIC_MOVAL,
  64848. + AVR32_MNEMONIC_MOVHS,
  64849. + AVR32_MNEMONIC_MOVLO,
  64850. + AVR32_MNEMONIC_MTDR,
  64851. + AVR32_MNEMONIC_MTSR,
  64852. + AVR32_MNEMONIC_MUL,
  64853. + AVR32_MNEMONIC_MULHH_W,
  64854. + AVR32_MNEMONIC_MULNHH_W,
  64855. + AVR32_MNEMONIC_MULNWH_D,
  64856. + AVR32_MNEMONIC_MULS_D,
  64857. + AVR32_MNEMONIC_MULSATHH_H,
  64858. + AVR32_MNEMONIC_MULSATHH_W,
  64859. + AVR32_MNEMONIC_MULSATRNDHH_H,
  64860. + AVR32_MNEMONIC_MULSATRNDWH_W,
  64861. + AVR32_MNEMONIC_MULSATWH_W,
  64862. + AVR32_MNEMONIC_MULU_D,
  64863. + AVR32_MNEMONIC_MULWH_D,
  64864. + AVR32_MNEMONIC_MUSFR,
  64865. + AVR32_MNEMONIC_MUSTR,
  64866. + AVR32_MNEMONIC_MVCR_D,
  64867. + AVR32_MNEMONIC_MVCR_W,
  64868. + AVR32_MNEMONIC_MVRC_D,
  64869. + AVR32_MNEMONIC_MVRC_W,
  64870. + AVR32_MNEMONIC_NEG,
  64871. + AVR32_MNEMONIC_NOP,
  64872. + AVR32_MNEMONIC_OR,
  64873. + AVR32_MNEMONIC_ORH,
  64874. + AVR32_MNEMONIC_ORL,
  64875. + AVR32_MNEMONIC_PABS_SB,
  64876. + AVR32_MNEMONIC_PABS_SH,
  64877. + AVR32_MNEMONIC_PACKSH_SB,
  64878. + AVR32_MNEMONIC_PACKSH_UB,
  64879. + AVR32_MNEMONIC_PACKW_SH,
  64880. + AVR32_MNEMONIC_PADD_B,
  64881. + AVR32_MNEMONIC_PADD_H,
  64882. + AVR32_MNEMONIC_PADDH_SH,
  64883. + AVR32_MNEMONIC_PADDH_UB,
  64884. + AVR32_MNEMONIC_PADDS_SB,
  64885. + AVR32_MNEMONIC_PADDS_SH,
  64886. + AVR32_MNEMONIC_PADDS_UB,
  64887. + AVR32_MNEMONIC_PADDS_UH,
  64888. + AVR32_MNEMONIC_PADDSUB_H,
  64889. + AVR32_MNEMONIC_PADDSUBH_SH,
  64890. + AVR32_MNEMONIC_PADDSUBS_SH,
  64891. + AVR32_MNEMONIC_PADDSUBS_UH,
  64892. + AVR32_MNEMONIC_PADDX_H,
  64893. + AVR32_MNEMONIC_PADDXH_SH,
  64894. + AVR32_MNEMONIC_PADDXS_SH,
  64895. + AVR32_MNEMONIC_PADDXS_UH,
  64896. + AVR32_MNEMONIC_PASR_B,
  64897. + AVR32_MNEMONIC_PASR_H,
  64898. + AVR32_MNEMONIC_PAVG_SH,
  64899. + AVR32_MNEMONIC_PAVG_UB,
  64900. + AVR32_MNEMONIC_PLSL_B,
  64901. + AVR32_MNEMONIC_PLSL_H,
  64902. + AVR32_MNEMONIC_PLSR_B,
  64903. + AVR32_MNEMONIC_PLSR_H,
  64904. + AVR32_MNEMONIC_PMAX_SH,
  64905. + AVR32_MNEMONIC_PMAX_UB,
  64906. + AVR32_MNEMONIC_PMIN_SH,
  64907. + AVR32_MNEMONIC_PMIN_UB,
  64908. + AVR32_MNEMONIC_POPJC,
  64909. + AVR32_MNEMONIC_POPM,
  64910. + AVR32_MNEMONIC_PREF,
  64911. + AVR32_MNEMONIC_PSAD,
  64912. + AVR32_MNEMONIC_PSUB_B,
  64913. + AVR32_MNEMONIC_PSUB_H,
  64914. + AVR32_MNEMONIC_PSUBADD_H,
  64915. + AVR32_MNEMONIC_PSUBADDH_SH,
  64916. + AVR32_MNEMONIC_PSUBADDS_SH,
  64917. + AVR32_MNEMONIC_PSUBADDS_UH,
  64918. + AVR32_MNEMONIC_PSUBH_SH,
  64919. + AVR32_MNEMONIC_PSUBH_UB,
  64920. + AVR32_MNEMONIC_PSUBS_SB,
  64921. + AVR32_MNEMONIC_PSUBS_SH,
  64922. + AVR32_MNEMONIC_PSUBS_UB,
  64923. + AVR32_MNEMONIC_PSUBS_UH,
  64924. + AVR32_MNEMONIC_PSUBX_H,
  64925. + AVR32_MNEMONIC_PSUBXH_SH,
  64926. + AVR32_MNEMONIC_PSUBXS_SH,
  64927. + AVR32_MNEMONIC_PSUBXS_UH,
  64928. + AVR32_MNEMONIC_PUNPCKSB_H,
  64929. + AVR32_MNEMONIC_PUNPCKUB_H,
  64930. + AVR32_MNEMONIC_PUSHJC,
  64931. + AVR32_MNEMONIC_PUSHM,
  64932. + AVR32_MNEMONIC_RCALL,
  64933. + AVR32_MNEMONIC_RETEQ,
  64934. + AVR32_MNEMONIC_RETNE,
  64935. + AVR32_MNEMONIC_RETCC,
  64936. + AVR32_MNEMONIC_RETCS,
  64937. + AVR32_MNEMONIC_RETGE,
  64938. + AVR32_MNEMONIC_RETLT,
  64939. + AVR32_MNEMONIC_RETMI,
  64940. + AVR32_MNEMONIC_RETPL,
  64941. + AVR32_MNEMONIC_RETLS,
  64942. + AVR32_MNEMONIC_RETGT,
  64943. + AVR32_MNEMONIC_RETLE,
  64944. + AVR32_MNEMONIC_RETHI,
  64945. + AVR32_MNEMONIC_RETVS,
  64946. + AVR32_MNEMONIC_RETVC,
  64947. + AVR32_MNEMONIC_RETQS,
  64948. + AVR32_MNEMONIC_RETAL,
  64949. + AVR32_MNEMONIC_RETHS,
  64950. + AVR32_MNEMONIC_RETLO,
  64951. + AVR32_MNEMONIC_RET,
  64952. + AVR32_MNEMONIC_RETD,
  64953. + AVR32_MNEMONIC_RETE,
  64954. + AVR32_MNEMONIC_RETJ,
  64955. + AVR32_MNEMONIC_RETS,
  64956. + AVR32_MNEMONIC_RJMP,
  64957. + AVR32_MNEMONIC_ROL,
  64958. + AVR32_MNEMONIC_ROR,
  64959. + AVR32_MNEMONIC_RSUB,
  64960. + AVR32_MNEMONIC_SATADD_H,
  64961. + AVR32_MNEMONIC_SATADD_W,
  64962. + AVR32_MNEMONIC_SATRNDS,
  64963. + AVR32_MNEMONIC_SATRNDU,
  64964. + AVR32_MNEMONIC_SATS,
  64965. + AVR32_MNEMONIC_SATSUB_H,
  64966. + AVR32_MNEMONIC_SATSUB_W,
  64967. + AVR32_MNEMONIC_SATU,
  64968. + AVR32_MNEMONIC_SBC,
  64969. + AVR32_MNEMONIC_SBR,
  64970. + AVR32_MNEMONIC_SCALL,
  64971. + AVR32_MNEMONIC_SCR,
  64972. + AVR32_MNEMONIC_SLEEP,
  64973. + AVR32_MNEMONIC_SREQ,
  64974. + AVR32_MNEMONIC_SRNE,
  64975. + AVR32_MNEMONIC_SRCC,
  64976. + AVR32_MNEMONIC_SRCS,
  64977. + AVR32_MNEMONIC_SRGE,
  64978. + AVR32_MNEMONIC_SRLT,
  64979. + AVR32_MNEMONIC_SRMI,
  64980. + AVR32_MNEMONIC_SRPL,
  64981. + AVR32_MNEMONIC_SRLS,
  64982. + AVR32_MNEMONIC_SRGT,
  64983. + AVR32_MNEMONIC_SRLE,
  64984. + AVR32_MNEMONIC_SRHI,
  64985. + AVR32_MNEMONIC_SRVS,
  64986. + AVR32_MNEMONIC_SRVC,
  64987. + AVR32_MNEMONIC_SRQS,
  64988. + AVR32_MNEMONIC_SRAL,
  64989. + AVR32_MNEMONIC_SRHS,
  64990. + AVR32_MNEMONIC_SRLO,
  64991. + AVR32_MNEMONIC_SSRF,
  64992. + AVR32_MNEMONIC_ST_B,
  64993. + AVR32_MNEMONIC_ST_D,
  64994. + AVR32_MNEMONIC_ST_H,
  64995. + AVR32_MNEMONIC_ST_W,
  64996. + AVR32_MNEMONIC_STC_D,
  64997. + AVR32_MNEMONIC_STC_W,
  64998. + AVR32_MNEMONIC_STC0_D,
  64999. + AVR32_MNEMONIC_STC0_W,
  65000. + AVR32_MNEMONIC_STCM_D,
  65001. + AVR32_MNEMONIC_STCM_W,
  65002. + AVR32_MNEMONIC_STCOND,
  65003. + AVR32_MNEMONIC_STDSP,
  65004. + AVR32_MNEMONIC_STHH_W,
  65005. + AVR32_MNEMONIC_STM,
  65006. + AVR32_MNEMONIC_STMTS,
  65007. + AVR32_MNEMONIC_STSWP_H,
  65008. + AVR32_MNEMONIC_STSWP_W,
  65009. + AVR32_MNEMONIC_SUB,
  65010. + AVR32_MNEMONIC_SUBEQ,
  65011. + AVR32_MNEMONIC_SUBNE,
  65012. + AVR32_MNEMONIC_SUBCC,
  65013. + AVR32_MNEMONIC_SUBCS,
  65014. + AVR32_MNEMONIC_SUBGE,
  65015. + AVR32_MNEMONIC_SUBLT,
  65016. + AVR32_MNEMONIC_SUBMI,
  65017. + AVR32_MNEMONIC_SUBPL,
  65018. + AVR32_MNEMONIC_SUBLS,
  65019. + AVR32_MNEMONIC_SUBGT,
  65020. + AVR32_MNEMONIC_SUBLE,
  65021. + AVR32_MNEMONIC_SUBHI,
  65022. + AVR32_MNEMONIC_SUBVS,
  65023. + AVR32_MNEMONIC_SUBVC,
  65024. + AVR32_MNEMONIC_SUBQS,
  65025. + AVR32_MNEMONIC_SUBAL,
  65026. + AVR32_MNEMONIC_SUBHS,
  65027. + AVR32_MNEMONIC_SUBLO,
  65028. + AVR32_MNEMONIC_SUBFEQ,
  65029. + AVR32_MNEMONIC_SUBFNE,
  65030. + AVR32_MNEMONIC_SUBFCC,
  65031. + AVR32_MNEMONIC_SUBFCS,
  65032. + AVR32_MNEMONIC_SUBFGE,
  65033. + AVR32_MNEMONIC_SUBFLT,
  65034. + AVR32_MNEMONIC_SUBFMI,
  65035. + AVR32_MNEMONIC_SUBFPL,
  65036. + AVR32_MNEMONIC_SUBFLS,
  65037. + AVR32_MNEMONIC_SUBFGT,
  65038. + AVR32_MNEMONIC_SUBFLE,
  65039. + AVR32_MNEMONIC_SUBFHI,
  65040. + AVR32_MNEMONIC_SUBFVS,
  65041. + AVR32_MNEMONIC_SUBFVC,
  65042. + AVR32_MNEMONIC_SUBFQS,
  65043. + AVR32_MNEMONIC_SUBFAL,
  65044. + AVR32_MNEMONIC_SUBFHS,
  65045. + AVR32_MNEMONIC_SUBFLO,
  65046. + AVR32_MNEMONIC_SUBHH_W,
  65047. + AVR32_MNEMONIC_SWAP_B,
  65048. + AVR32_MNEMONIC_SWAP_BH,
  65049. + AVR32_MNEMONIC_SWAP_H,
  65050. + AVR32_MNEMONIC_SYNC,
  65051. + AVR32_MNEMONIC_TLBR,
  65052. + AVR32_MNEMONIC_TLBS,
  65053. + AVR32_MNEMONIC_TLBW,
  65054. + AVR32_MNEMONIC_TNBZ,
  65055. + AVR32_MNEMONIC_TST,
  65056. + AVR32_MNEMONIC_XCHG,
  65057. + AVR32_MNEMONIC_MEMC,
  65058. + AVR32_MNEMONIC_MEMS,
  65059. + AVR32_MNEMONIC_MEMT,
  65060. + AVR32_MNEMONIC_FMAC_S,
  65061. + AVR32_MNEMONIC_FNMAC_S,
  65062. + AVR32_MNEMONIC_FMSC_S,
  65063. + AVR32_MNEMONIC_FNMSC_S,
  65064. + AVR32_MNEMONIC_FMUL_S,
  65065. + AVR32_MNEMONIC_FNMUL_S,
  65066. + AVR32_MNEMONIC_FADD_S,
  65067. + AVR32_MNEMONIC_FSUB_S,
  65068. + AVR32_MNEMONIC_FCASTRS_SW,
  65069. + AVR32_MNEMONIC_FCASTRS_UW,
  65070. + AVR32_MNEMONIC_FCASTSW_S,
  65071. + AVR32_MNEMONIC_FCASTUW_S,
  65072. + AVR32_MNEMONIC_FCMP_S,
  65073. + AVR32_MNEMONIC_FCHK_S,
  65074. + AVR32_MNEMONIC_FRCPA_S,
  65075. + AVR32_MNEMONIC_FRSQRTA_S,
  65076. + /* AVR32_MNEMONIC_FLD_S,
  65077. + AVR32_MNEMONIC_FLD_D,
  65078. + AVR32_MNEMONIC_FST_S,
  65079. + AVR32_MNEMONIC_FST_D, */
  65080. + AVR32_MNEMONIC_LDA_W,
  65081. + AVR32_MNEMONIC_CALL,
  65082. + AVR32_MNEMONIC_PICOSVMAC,
  65083. + AVR32_MNEMONIC_PICOSVMUL,
  65084. + AVR32_MNEMONIC_PICOVMAC,
  65085. + AVR32_MNEMONIC_PICOVMUL,
  65086. + AVR32_MNEMONIC_PICOLD_D,
  65087. + AVR32_MNEMONIC_PICOLD_W,
  65088. + AVR32_MNEMONIC_PICOLDM_D,
  65089. + AVR32_MNEMONIC_PICOLDM_W,
  65090. + AVR32_MNEMONIC_PICOMV_D,
  65091. + AVR32_MNEMONIC_PICOMV_W,
  65092. + AVR32_MNEMONIC_PICOST_D,
  65093. + AVR32_MNEMONIC_PICOST_W,
  65094. + AVR32_MNEMONIC_PICOSTM_D,
  65095. + AVR32_MNEMONIC_PICOSTM_W,
  65096. + AVR32_MNEMONIC_RSUBEQ,
  65097. + AVR32_MNEMONIC_RSUBNE,
  65098. + AVR32_MNEMONIC_RSUBCC,
  65099. + AVR32_MNEMONIC_RSUBCS,
  65100. + AVR32_MNEMONIC_RSUBGE,
  65101. + AVR32_MNEMONIC_RSUBLT,
  65102. + AVR32_MNEMONIC_RSUBMI,
  65103. + AVR32_MNEMONIC_RSUBPL,
  65104. + AVR32_MNEMONIC_RSUBLS,
  65105. + AVR32_MNEMONIC_RSUBGT,
  65106. + AVR32_MNEMONIC_RSUBLE,
  65107. + AVR32_MNEMONIC_RSUBHI,
  65108. + AVR32_MNEMONIC_RSUBVS,
  65109. + AVR32_MNEMONIC_RSUBVC,
  65110. + AVR32_MNEMONIC_RSUBQS,
  65111. + AVR32_MNEMONIC_RSUBAL,
  65112. + AVR32_MNEMONIC_RSUBHS,
  65113. + AVR32_MNEMONIC_RSUBLO,
  65114. + AVR32_MNEMONIC_ADDEQ,
  65115. + AVR32_MNEMONIC_ADDNE,
  65116. + AVR32_MNEMONIC_ADDCC,
  65117. + AVR32_MNEMONIC_ADDCS,
  65118. + AVR32_MNEMONIC_ADDGE,
  65119. + AVR32_MNEMONIC_ADDLT,
  65120. + AVR32_MNEMONIC_ADDMI,
  65121. + AVR32_MNEMONIC_ADDPL,
  65122. + AVR32_MNEMONIC_ADDLS,
  65123. + AVR32_MNEMONIC_ADDGT,
  65124. + AVR32_MNEMONIC_ADDLE,
  65125. + AVR32_MNEMONIC_ADDHI,
  65126. + AVR32_MNEMONIC_ADDVS,
  65127. + AVR32_MNEMONIC_ADDVC,
  65128. + AVR32_MNEMONIC_ADDQS,
  65129. + AVR32_MNEMONIC_ADDAL,
  65130. + AVR32_MNEMONIC_ADDHS,
  65131. + AVR32_MNEMONIC_ADDLO,
  65132. + AVR32_MNEMONIC_ANDEQ,
  65133. + AVR32_MNEMONIC_ANDNE,
  65134. + AVR32_MNEMONIC_ANDCC,
  65135. + AVR32_MNEMONIC_ANDCS,
  65136. + AVR32_MNEMONIC_ANDGE,
  65137. + AVR32_MNEMONIC_ANDLT,
  65138. + AVR32_MNEMONIC_ANDMI,
  65139. + AVR32_MNEMONIC_ANDPL,
  65140. + AVR32_MNEMONIC_ANDLS,
  65141. + AVR32_MNEMONIC_ANDGT,
  65142. + AVR32_MNEMONIC_ANDLE,
  65143. + AVR32_MNEMONIC_ANDHI,
  65144. + AVR32_MNEMONIC_ANDVS,
  65145. + AVR32_MNEMONIC_ANDVC,
  65146. + AVR32_MNEMONIC_ANDQS,
  65147. + AVR32_MNEMONIC_ANDAL,
  65148. + AVR32_MNEMONIC_ANDHS,
  65149. + AVR32_MNEMONIC_ANDLO,
  65150. + AVR32_MNEMONIC_OREQ,
  65151. + AVR32_MNEMONIC_ORNE,
  65152. + AVR32_MNEMONIC_ORCC,
  65153. + AVR32_MNEMONIC_ORCS,
  65154. + AVR32_MNEMONIC_ORGE,
  65155. + AVR32_MNEMONIC_ORLT,
  65156. + AVR32_MNEMONIC_ORMI,
  65157. + AVR32_MNEMONIC_ORPL,
  65158. + AVR32_MNEMONIC_ORLS,
  65159. + AVR32_MNEMONIC_ORGT,
  65160. + AVR32_MNEMONIC_ORLE,
  65161. + AVR32_MNEMONIC_ORHI,
  65162. + AVR32_MNEMONIC_ORVS,
  65163. + AVR32_MNEMONIC_ORVC,
  65164. + AVR32_MNEMONIC_ORQS,
  65165. + AVR32_MNEMONIC_ORAL,
  65166. + AVR32_MNEMONIC_ORHS,
  65167. + AVR32_MNEMONIC_ORLO,
  65168. + AVR32_MNEMONIC_EOREQ,
  65169. + AVR32_MNEMONIC_EORNE,
  65170. + AVR32_MNEMONIC_EORCC,
  65171. + AVR32_MNEMONIC_EORCS,
  65172. + AVR32_MNEMONIC_EORGE,
  65173. + AVR32_MNEMONIC_EORLT,
  65174. + AVR32_MNEMONIC_EORMI,
  65175. + AVR32_MNEMONIC_EORPL,
  65176. + AVR32_MNEMONIC_EORLS,
  65177. + AVR32_MNEMONIC_EORGT,
  65178. + AVR32_MNEMONIC_EORLE,
  65179. + AVR32_MNEMONIC_EORHI,
  65180. + AVR32_MNEMONIC_EORVS,
  65181. + AVR32_MNEMONIC_EORVC,
  65182. + AVR32_MNEMONIC_EORQS,
  65183. + AVR32_MNEMONIC_EORAL,
  65184. + AVR32_MNEMONIC_EORHS,
  65185. + AVR32_MNEMONIC_EORLO,
  65186. + AVR32_MNEMONIC_LD_WEQ,
  65187. + AVR32_MNEMONIC_LD_WNE,
  65188. + AVR32_MNEMONIC_LD_WCC,
  65189. + AVR32_MNEMONIC_LD_WCS,
  65190. + AVR32_MNEMONIC_LD_WGE,
  65191. + AVR32_MNEMONIC_LD_WLT,
  65192. + AVR32_MNEMONIC_LD_WMI,
  65193. + AVR32_MNEMONIC_LD_WPL,
  65194. + AVR32_MNEMONIC_LD_WLS,
  65195. + AVR32_MNEMONIC_LD_WGT,
  65196. + AVR32_MNEMONIC_LD_WLE,
  65197. + AVR32_MNEMONIC_LD_WHI,
  65198. + AVR32_MNEMONIC_LD_WVS,
  65199. + AVR32_MNEMONIC_LD_WVC,
  65200. + AVR32_MNEMONIC_LD_WQS,
  65201. + AVR32_MNEMONIC_LD_WAL,
  65202. + AVR32_MNEMONIC_LD_WHS,
  65203. + AVR32_MNEMONIC_LD_WLO,
  65204. + AVR32_MNEMONIC_LD_SHEQ,
  65205. + AVR32_MNEMONIC_LD_SHNE,
  65206. + AVR32_MNEMONIC_LD_SHCC,
  65207. + AVR32_MNEMONIC_LD_SHCS,
  65208. + AVR32_MNEMONIC_LD_SHGE,
  65209. + AVR32_MNEMONIC_LD_SHLT,
  65210. + AVR32_MNEMONIC_LD_SHMI,
  65211. + AVR32_MNEMONIC_LD_SHPL,
  65212. + AVR32_MNEMONIC_LD_SHLS,
  65213. + AVR32_MNEMONIC_LD_SHGT,
  65214. + AVR32_MNEMONIC_LD_SHLE,
  65215. + AVR32_MNEMONIC_LD_SHHI,
  65216. + AVR32_MNEMONIC_LD_SHVS,
  65217. + AVR32_MNEMONIC_LD_SHVC,
  65218. + AVR32_MNEMONIC_LD_SHQS,
  65219. + AVR32_MNEMONIC_LD_SHAL,
  65220. + AVR32_MNEMONIC_LD_SHHS,
  65221. + AVR32_MNEMONIC_LD_SHLO,
  65222. + AVR32_MNEMONIC_LD_UHEQ,
  65223. + AVR32_MNEMONIC_LD_UHNE,
  65224. + AVR32_MNEMONIC_LD_UHCC,
  65225. + AVR32_MNEMONIC_LD_UHCS,
  65226. + AVR32_MNEMONIC_LD_UHGE,
  65227. + AVR32_MNEMONIC_LD_UHLT,
  65228. + AVR32_MNEMONIC_LD_UHMI,
  65229. + AVR32_MNEMONIC_LD_UHPL,
  65230. + AVR32_MNEMONIC_LD_UHLS,
  65231. + AVR32_MNEMONIC_LD_UHGT,
  65232. + AVR32_MNEMONIC_LD_UHLE,
  65233. + AVR32_MNEMONIC_LD_UHHI,
  65234. + AVR32_MNEMONIC_LD_UHVS,
  65235. + AVR32_MNEMONIC_LD_UHVC,
  65236. + AVR32_MNEMONIC_LD_UHQS,
  65237. + AVR32_MNEMONIC_LD_UHAL,
  65238. + AVR32_MNEMONIC_LD_UHHS,
  65239. + AVR32_MNEMONIC_LD_UHLO,
  65240. + AVR32_MNEMONIC_LD_SBEQ,
  65241. + AVR32_MNEMONIC_LD_SBNE,
  65242. + AVR32_MNEMONIC_LD_SBCC,
  65243. + AVR32_MNEMONIC_LD_SBCS,
  65244. + AVR32_MNEMONIC_LD_SBGE,
  65245. + AVR32_MNEMONIC_LD_SBLT,
  65246. + AVR32_MNEMONIC_LD_SBMI,
  65247. + AVR32_MNEMONIC_LD_SBPL,
  65248. + AVR32_MNEMONIC_LD_SBLS,
  65249. + AVR32_MNEMONIC_LD_SBGT,
  65250. + AVR32_MNEMONIC_LD_SBLE,
  65251. + AVR32_MNEMONIC_LD_SBHI,
  65252. + AVR32_MNEMONIC_LD_SBVS,
  65253. + AVR32_MNEMONIC_LD_SBVC,
  65254. + AVR32_MNEMONIC_LD_SBQS,
  65255. + AVR32_MNEMONIC_LD_SBAL,
  65256. + AVR32_MNEMONIC_LD_SBHS,
  65257. + AVR32_MNEMONIC_LD_SBLO,
  65258. + AVR32_MNEMONIC_LD_UBEQ,
  65259. + AVR32_MNEMONIC_LD_UBNE,
  65260. + AVR32_MNEMONIC_LD_UBCC,
  65261. + AVR32_MNEMONIC_LD_UBCS,
  65262. + AVR32_MNEMONIC_LD_UBGE,
  65263. + AVR32_MNEMONIC_LD_UBLT,
  65264. + AVR32_MNEMONIC_LD_UBMI,
  65265. + AVR32_MNEMONIC_LD_UBPL,
  65266. + AVR32_MNEMONIC_LD_UBLS,
  65267. + AVR32_MNEMONIC_LD_UBGT,
  65268. + AVR32_MNEMONIC_LD_UBLE,
  65269. + AVR32_MNEMONIC_LD_UBHI,
  65270. + AVR32_MNEMONIC_LD_UBVS,
  65271. + AVR32_MNEMONIC_LD_UBVC,
  65272. + AVR32_MNEMONIC_LD_UBQS,
  65273. + AVR32_MNEMONIC_LD_UBAL,
  65274. + AVR32_MNEMONIC_LD_UBHS,
  65275. + AVR32_MNEMONIC_LD_UBLO,
  65276. + AVR32_MNEMONIC_ST_WEQ,
  65277. + AVR32_MNEMONIC_ST_WNE,
  65278. + AVR32_MNEMONIC_ST_WCC,
  65279. + AVR32_MNEMONIC_ST_WCS,
  65280. + AVR32_MNEMONIC_ST_WGE,
  65281. + AVR32_MNEMONIC_ST_WLT,
  65282. + AVR32_MNEMONIC_ST_WMI,
  65283. + AVR32_MNEMONIC_ST_WPL,
  65284. + AVR32_MNEMONIC_ST_WLS,
  65285. + AVR32_MNEMONIC_ST_WGT,
  65286. + AVR32_MNEMONIC_ST_WLE,
  65287. + AVR32_MNEMONIC_ST_WHI,
  65288. + AVR32_MNEMONIC_ST_WVS,
  65289. + AVR32_MNEMONIC_ST_WVC,
  65290. + AVR32_MNEMONIC_ST_WQS,
  65291. + AVR32_MNEMONIC_ST_WAL,
  65292. + AVR32_MNEMONIC_ST_WHS,
  65293. + AVR32_MNEMONIC_ST_WLO,
  65294. + AVR32_MNEMONIC_ST_HEQ,
  65295. + AVR32_MNEMONIC_ST_HNE,
  65296. + AVR32_MNEMONIC_ST_HCC,
  65297. + AVR32_MNEMONIC_ST_HCS,
  65298. + AVR32_MNEMONIC_ST_HGE,
  65299. + AVR32_MNEMONIC_ST_HLT,
  65300. + AVR32_MNEMONIC_ST_HMI,
  65301. + AVR32_MNEMONIC_ST_HPL,
  65302. + AVR32_MNEMONIC_ST_HLS,
  65303. + AVR32_MNEMONIC_ST_HGT,
  65304. + AVR32_MNEMONIC_ST_HLE,
  65305. + AVR32_MNEMONIC_ST_HHI,
  65306. + AVR32_MNEMONIC_ST_HVS,
  65307. + AVR32_MNEMONIC_ST_HVC,
  65308. + AVR32_MNEMONIC_ST_HQS,
  65309. + AVR32_MNEMONIC_ST_HAL,
  65310. + AVR32_MNEMONIC_ST_HHS,
  65311. + AVR32_MNEMONIC_ST_HLO,
  65312. + AVR32_MNEMONIC_ST_BEQ,
  65313. + AVR32_MNEMONIC_ST_BNE,
  65314. + AVR32_MNEMONIC_ST_BCC,
  65315. + AVR32_MNEMONIC_ST_BCS,
  65316. + AVR32_MNEMONIC_ST_BGE,
  65317. + AVR32_MNEMONIC_ST_BLT,
  65318. + AVR32_MNEMONIC_ST_BMI,
  65319. + AVR32_MNEMONIC_ST_BPL,
  65320. + AVR32_MNEMONIC_ST_BLS,
  65321. + AVR32_MNEMONIC_ST_BGT,
  65322. + AVR32_MNEMONIC_ST_BLE,
  65323. + AVR32_MNEMONIC_ST_BHI,
  65324. + AVR32_MNEMONIC_ST_BVS,
  65325. + AVR32_MNEMONIC_ST_BVC,
  65326. + AVR32_MNEMONIC_ST_BQS,
  65327. + AVR32_MNEMONIC_ST_BAL,
  65328. + AVR32_MNEMONIC_ST_BHS,
  65329. + AVR32_MNEMONIC_ST_BLO,
  65330. + AVR32_MNEMONIC_MOVH,
  65331. + AVR32_MNEMONIC__END_
  65332. +};
  65333. +#define AVR32_NR_MNEMONICS AVR32_MNEMONIC__END_
  65334. +
  65335. +enum avr32_syntax_parser
  65336. + {
  65337. + AVR32_PARSER_NORMAL,
  65338. + AVR32_PARSER_ALIAS,
  65339. + AVR32_PARSER_LDA,
  65340. + AVR32_PARSER_CALL,
  65341. + AVR32_PARSER__END_
  65342. + };
  65343. +#define AVR32_NR_PARSERS AVR32_PARSER__END_
  65344. diff -Nur binutils-2.21.orig/opcodes/configure binutils-2.21/opcodes/configure
  65345. --- binutils-2.21.orig/opcodes/configure 2010-11-05 11:32:32.000000000 +0100
  65346. +++ binutils-2.21/opcodes/configure 2011-08-28 14:56:23.407984199 +0200
  65347. @@ -12417,6 +12417,7 @@
  65348. bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
  65349. bfd_arm_arch) ta="$ta arm-dis.lo" ;;
  65350. bfd_avr_arch) ta="$ta avr-dis.lo" ;;
  65351. + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
  65352. bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
  65353. bfd_cr16_arch) ta="$ta cr16-dis.lo cr16-opc.lo" ;;
  65354. bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
  65355. diff -Nur binutils-2.21.orig/opcodes/configure.in binutils-2.21/opcodes/configure.in
  65356. --- binutils-2.21.orig/opcodes/configure.in 2010-06-29 06:17:33.000000000 +0200
  65357. +++ binutils-2.21/opcodes/configure.in 2011-08-28 14:56:23.467990930 +0200
  65358. @@ -223,6 +223,7 @@
  65359. bfd_arc_arch) ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
  65360. bfd_arm_arch) ta="$ta arm-dis.lo" ;;
  65361. bfd_avr_arch) ta="$ta avr-dis.lo" ;;
  65362. + bfd_avr32_arch) ta="$ta avr32-asm.lo avr32-dis.lo avr32-opc.lo" ;;
  65363. bfd_bfin_arch) ta="$ta bfin-dis.lo" ;;
  65364. bfd_cr16_arch) ta="$ta cr16-dis.lo cr16-opc.lo" ;;
  65365. bfd_cris_arch) ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
  65366. @@ -285,7 +286,7 @@
  65367. ta="$ta sh64-dis.lo sh64-opc.lo"
  65368. archdefs="$archdefs -DINCLUDE_SHMEDIA"
  65369. break;;
  65370. - esac;
  65371. + esac
  65372. done
  65373. ta="$ta sh-dis.lo cgen-bitset.lo" ;;
  65374. bfd_sparc_arch) ta="$ta sparc-dis.lo sparc-opc.lo" ;;
  65375. diff -Nur binutils-2.21.orig/opcodes/disassemble.c binutils-2.21/opcodes/disassemble.c
  65376. --- binutils-2.21.orig/opcodes/disassemble.c 2010-08-06 05:59:49.000000000 +0200
  65377. +++ binutils-2.21/opcodes/disassemble.c 2011-08-28 14:56:23.537981600 +0200
  65378. @@ -27,6 +27,7 @@
  65379. #define ARCH_arc
  65380. #define ARCH_arm
  65381. #define ARCH_avr
  65382. +#define ARCH_avr32
  65383. #define ARCH_bfin
  65384. #define ARCH_cr16
  65385. #define ARCH_cris
  65386. @@ -130,6 +131,11 @@
  65387. disassemble = print_insn_avr;
  65388. break;
  65389. #endif
  65390. +#ifdef ARCH_avr32
  65391. + case bfd_arch_avr32:
  65392. + disassemble = print_insn_avr32;
  65393. + break;
  65394. +#endif
  65395. #ifdef ARCH_bfin
  65396. case bfd_arch_bfin:
  65397. disassemble = print_insn_bfin;
  65398. @@ -489,6 +495,9 @@
  65399. #ifdef ARCH_i386
  65400. print_i386_disassembler_options (stream);
  65401. #endif
  65402. +#ifdef ARCH_avr32
  65403. + print_avr32_disassembler_options (stream);
  65404. +#endif
  65405. #ifdef ARCH_s390
  65406. print_s390_disassembler_options (stream);
  65407. #endif