ChangeLog-2005 153 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269
  1. 2005-12-30 Sterling Augustine <sterling@tensilica.com>
  2. Bob Wilson <bob.wilson@acm.org>
  3. * config/tc-xtensa.c (op_placement_info_struct): Delete single,
  4. single_size, widest, and widest_size fields. Add narrowest_slot.
  5. (xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
  6. Use xg_get_single_slot to find the slot.
  7. (finish_vinsn): Use emit_single_op instead of bundle_single_op.
  8. (bundle_single_op): Rename this to....
  9. (bundle_tinsn): ...this function, which builds a vliw_insn but does
  10. not call finish_vinsn.
  11. (emit_single_op): Use bundle_tinsn instead of bundle_single_op.
  12. (relax_frag_immed): Get num_slots from cur_vinsn.
  13. (convert_frag_narrow): Update call to xg_emit_insn_to_buf.
  14. (convert_frag_immed): Likewise. Also, get num_slots from cur_vinsn.
  15. (init_op_placement_info_table): Set narrowest_slot field. Remove
  16. code for deleted fields.
  17. (xg_get_single_size): Return narrowest_size field, not single_size.
  18. (xg_get_single_format): Return narrowest field, not single.
  19. (xg_get_single_slot): New.
  20. (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
  21. * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
  22. (transition_applies): Check wide branch option availability.
  23. 2005-12-29 Sterling Augustine <sterling@tensilica.com>
  24. * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
  25. 2005-12-29 Sterling Augustine <sterling@tensilica.com>
  26. * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
  27. 2005-12-27 Nathan Sidwell <nathan@codesourcery.com>
  28. * config/tc-mt.c (mt_arch): Default to ms1_16_002.
  29. (md_parse_options): Only allow lowercase.
  30. (md_show_usage): Update.
  31. 2005-12-27 Leif Ekblad <leif@rdos.net>
  32. * configure.tgt: Add support for RDOS targets.
  33. 2005-12-27 James Troup <james@nocrew.org>
  34. PR 1300
  35. * config/tc-arm.c (md_apply_fix): Fix casts to match type in
  36. printf format.
  37. 2005-12-27 Alan Modra <amodra@bigpond.net.au>
  38. * Makefile.am: Run "make dep-am".
  39. * Makefile.in: Regenerate.
  40. * po/POTFILES.in: Regenerate.
  41. 2005-12-22 Jan Beulich <jbeulich@novell.com>
  42. * symbols.h (snapshot_symbol): First parameter is now pointer
  43. to pointer to symbolS.
  44. * symbols.c (snapshot_symbol): Likewise. Store resulting symbol
  45. there. Use symbol_equated_p.
  46. * expr.c (resolve_expression): Change first argument to
  47. snapshot_symbol. Track possibly changed add_symbol consistently
  48. across function. Resolve more special cases with known result.
  49. Also update final_val when replacing add_symbol.
  50. 2005-12-13 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  51. * config/tc-vax.c: Convert to ISO C90 format. Fix formatting and
  52. white space usage as well.
  53. 2005-12-20 Sterling Augustine <sterling@tensilica.com>
  54. * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set
  55. is_aligning_branch flag.
  56. (find_address_of_next_align_frag): Limit by xtensa_fetch_width.
  57. (future_alignment_required): Except for frags with is_aligning_branch
  58. flag set, call frag_wane for frags that do not need to be reexamined
  59. for aligning.
  60. (relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak.
  61. (convert_frag_immed): Likewise.
  62. (convert_frag_narrow): Check is_aligning_branch flag.
  63. * config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag.
  64. 2005-12-20 Sterling Augustine <sterling@tensilica.com>
  65. * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
  66. (xg_init_vinsn): Remove redundant initialization.
  67. (xg_clear_vinsn): Zero all the slots with a single memset.
  68. * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots.
  69. 2005-12-20 Nathan Sidwell <nathan@codesourcery.com>
  70. * doc/t-mt.texi: Update MS1 to MT.
  71. 2005-12-16 Nathan Sidwell <nathan@codesourcery.com>
  72. Second part of ms1 to mt renaming.
  73. * configure: Rebuilt.
  74. * configure.in (mt): Remove special case.
  75. * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
  76. #includes.
  77. (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
  78. Rename, adjust.
  79. (md_parse_option, md_show_usage, md_begin, md_assemble,
  80. md_cgen_lookup_reloc, md_atof): Adjust.
  81. (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
  82. * config/tc-mt.h (TC_MT): Rename.
  83. (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
  84. (md_apply_fix): Adjust.
  85. (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
  86. (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.
  87. 2005-12-14 Jan Beulich <jbeulich@novell.com>
  88. * config/tc-i386.c (add_prefix): More fine-grained handling of
  89. REX prefixes. Or new prefix value into i.prefix instead of
  90. assigning.
  91. 2005-12-13 DJ Delorie <dj@redhat.com>
  92. * config/tc-m32c.c (m32c_md_end): Only pad code sections.
  93. 2005-12-12 Paul Brook <paul@codesourcery.com>
  94. * config/tc-arm.c (do_branch): Generate EABI branch relocations.
  95. (do_bl): New function.
  96. (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
  97. (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
  98. (insns): Use do_bl.
  99. (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
  100. BFD_RELOC_ARM_PCREL_JUMP.
  101. (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
  102. BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and
  103. BFD_RELOC_ARM_PCREL_JUMP.
  104. (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
  105. BFD_RELOC_ARM_PCREL_JUMP.
  106. 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
  107. * configure.in: Replace ms1 arch with mt arch.
  108. * configure: Rebuilt.
  109. * configure.tgt: Replace ms1 arch with mt arch.
  110. * config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
  111. * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
  112. * doc/Makefile.in: Rebuilt.
  113. 2005-12-07 Hans-Peter Nilsson <hp@axis.com>
  114. Change 32-bit-branch expansion for --pic.
  115. * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
  116. (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
  117. (cris_any_v0_v10_long_jump_size_pic): New macro.
  118. (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
  119. (md_convert_frag): Similar.
  120. (md_create_long_jump): Change 32-bit-branch expansion for --pic.
  121. (md_assemble, gen_cond_branch_32): Adjust similarly.
  122. (md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
  123. <case OPTION_ARCH>: Similar, if --pic.
  124. 2005-12-06 H.J. Lu <hongjiu.lu@intel.com>
  125. PR gas/1874
  126. * config/tc-i386.c (match_template): Handle monitor.
  127. (process_suffix): Likewise.
  128. 2005-12-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  129. Bug gas/1948
  130. * symbols.c (colon): Also check if now_seg is bss_section when a symbol
  131. is being redefined.
  132. 2005-12-02 Arnold Metselaar <arnoldm@sourceware.org>
  133. * config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
  134. 2005-11-26 Arnold Metselaar <arnoldm@sourceware.org>
  135. * config/tc-z80.c (z80_start_line_hook): issue an error when
  136. redefining a symbol with equ
  137. * doc/as.texinfo(equ<z80>): mention difference with .equiv
  138. * doc/as.texinfo(err): fix typo
  139. * doc/c-z80.texi(equ): redefining a symbol with equ is no longer
  140. allowed
  141. 2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  142. Bug gas/1896
  143. * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
  144. R_HPPA relocations that are 32-bits wide.
  145. 2005-11-23 Daniel Jacobowitz <dan@codesourcery.com>
  146. Thiemo Seufer <ths@networkno.de>
  147. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
  148. (macro_build): Complain for invalid branch displacements.
  149. (mips_validate_fix): Delete.
  150. (md_apply_fix): Re-add pcrel support for branches. Use consistent
  151. text for misaligned branch targets.
  152. (tc_gen_reloc: Re-add pcrel support for branches. Handle strange
  153. BFD pcrel processing. Remove error for unresolved branches.
  154. * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
  155. 2005-11-22 James E Wilson <wilson@specifix.com>
  156. * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
  157. even when manual_bundling isn't set.
  158. * config/tc-ia64.c (slot_index): Emit an error instead of a warning
  159. when the frag chain is broken by section switching.
  160. 2005-11-18 Jie Zhang <jie.zhang@analog.com>
  161. * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
  162. * config/bfin-parse.y (asm_1): Check register type for load immediate
  163. instruction.
  164. 2005-11-17 Alexandre Oliva <aoliva@redhat.com>
  165. * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
  166. dotname.
  167. * write.c (write_object_file): Do not remove used weakrefd.
  168. 2005-11-17 Jan Beulich <jbeulich@novell.com>
  169. * dw2gencfi.c (dot_cfi): Put argument parsing for cases
  170. DW_CFA_restore and DW_CFA_undefined in a loop.
  171. 2005-11-17 Jan Beulich <jbeulich@novell.com>
  172. * symbols.h (S_CLEAR_VOLATILE): Declare.
  173. * symbols.c (colon): Also accept redefinable symbols for
  174. redefinition. Clone them before modifying.
  175. (S_CLEAR_VOLATILE): Define.
  176. * cond.c (s_ifdef): Also test for equated symbols.
  177. * read.c (s_comm_internal): Also exclude non-redefinable
  178. equated symbols. Clone redefinable ones before modifying.
  179. (s_weakref): Clone redefinable symbols before modifying.
  180. * doc/internals.texi: Document sy_volatile, sy_forward_ref,
  181. S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
  182. S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
  183. 2005-11-16 Alan Modra <amodra@bigpond.net.au>
  184. * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
  185. 2005-11-16 Alan Modra <amodra@bigpond.net.au>
  186. * configure.tgt (i386-*-gnu*): Set em=gnu.
  187. * config/te-gnu.h: New file.
  188. * config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
  189. 2005-11-16 Alan Modra <amodra@bigpond.net.au>
  190. * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
  191. * config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove
  192. redundant check.
  193. * read.c (s_lsym): Remove non-BFD assembler sym handling.
  194. 2005-11-16 Alan Modra <amodra@bigpond.net.au>
  195. * read.c (s_comm_internal): Set bfd_com_section segment.
  196. (s_mri_common): Likewise.
  197. * write.c (write_object_file): Remove non-BFD assembler common
  198. sym handling.
  199. 2005-11-15 Daniel Jacobowitz <dan@codesourcery.com>
  200. * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
  201. opcode if r4-r15 are not saved.
  202. 2005-11-15 Alan Modra <amodra@bigpond.net.au>
  203. * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
  204. 2005-11-14 Jan Beulich <jbeulich@novell.com>
  205. * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
  206. AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
  207. (ar): Use AR_* instead of literals.
  208. (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
  209. CR_PMV, CR_CMCV): Define.
  210. (cr): Use CR_* instead of literals.
  211. 2005-11-14 Jan Beulich <jbeulich@novell.com>
  212. * config/tc-ia64.c (md): Rename regsym to indregsym and move
  213. it to the end of the structure.
  214. (ar): Field regnum is unsigned.
  215. (cr): Likewise:
  216. (indirect_reg): Likewise.
  217. (declare_register_set): Parameter regnum is unsigned.
  218. (declare_register): Parameter numregs and base_regnum are
  219. unsigned. So is the local loop variable.
  220. (md_begin): Restrict scope of local variable regnum, which
  221. also is unsigned. Replace loops with function calls where
  222. possible. Re-order things so that register groups are kept
  223. together. Remove all uses of regsym except for indirect
  224. registers. Replace use of regsym by indregsym for indirect
  225. registers.
  226. (ia64_optimize_expr): Replace use of regsym by indregsym for
  227. indirect registers, with appropriate bias.
  228. 2005-11-14 David Ung <davidu@mips.com>
  229. * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
  230. for the MIPS16e save/restore instructions.
  231. 2005-11-11 Jan Beulich <jbeulich@novell.com>
  232. * doc/Makefile.am: Make asconfig.texi writeable before trying
  233. to write to it.
  234. * doc/Makefile.in: Refresh.
  235. 2005-11-10 Jan Beulich <jbeulich@novell.com>
  236. * config/tc-i386.c (intel_e11): Don't special-case segment
  237. registers in brackets.
  238. 2005-11-10 Nick Clifton <nickc@redhat.com>
  239. * config/tc-arm.c (BAD_ADDR_MODE): Define.
  240. (arm_reg_parse_multi): Return NULL rather than FAIL.
  241. (arm_reg_parse): Fix comment, the function returns FAIL rather
  242. than NULL if it is unable to parse the register name.
  243. (do_ldrex): Use BAD_ADDR_MODE.
  244. Change error message for PC-relative addressing.
  245. (do_strex): Likewise.
  246. (do_t_ldrex): Use BAD_ADDR_MODE.
  247. (do_t_strex): Likewise.
  248. 2005-11-08 Jean-Jacques Metayer <jean-jacques.metayer@thomson.net>
  249. * config/tc-sparc.c (isoctal): Fix thinko.
  250. 2005-11-08 Arnold Metselaar <arnold.metselaar@planet.nl>
  251. * expr.c (operand <case '$'>): Use DOLLAR_AMBIGU rather than
  252. flag_mri_m68k as condition for parsing the '$' as a prefix.
  253. * as.h (DOLLAR_AMBIGU): Define if needed.
  254. 2005-11-08 Nathan Sidwell <nathan@codesourcery.com>
  255. Add ms2 support.
  256. * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
  257. (ms1_architectures): Add ms2.
  258. (md_parse_option): Add ms2.
  259. (md_show_usage): Add ms2.
  260. (md_assemble): Add JAL_HAZARD detection logic.
  261. (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
  262. * doc/c-ms1.texi: New.
  263. * doc/all.texi: Add MS1.
  264. * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
  265. * doc/Makefile.in: Rebuilt.
  266. * doc/Makefile: Rebuilt.
  267. 2005-11-07 Steve Ellcey <sje@cup.hp.com>
  268. * configure: Regenerate after modifying bfd/warning.m4.
  269. 2005-11-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  270. PR gas/1804
  271. * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
  272. output constant data.
  273. 2005-11-07 Mark Mitchell <mark@codesourcery.com>
  274. * doc/Makefile.am (asconfig.texi): Set top_srcdir.
  275. * doc/Makefile.in: Regenerated.
  276. * doc/as.texinfo: Document "@FILE".
  277. 2005-11-07 Nick Clifton <nickc@redhat.com>
  278. PR binutils/1568
  279. * config/obj-coff.c (obj_coff_section): Set readonly flag with the
  280. 'x' attribute. Remember the actions of the 'w' and 'n' attributes
  281. and do not allow the 'x','s' or 'd' attributes to change them.
  282. 2005-11-07 John Levon <levon@movementarian.org>
  283. * config/tc-i386.h (tc_comment_chars): Define.
  284. * config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
  285. (i386_comment_chars): Add.
  286. (md_parse_options): Process OPTION_DIVIDE.
  287. (md_show_usage): Describe --divide option.
  288. * doc/c-i386.texi: Document --divide option.
  289. 2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
  290. * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
  291. * config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
  292. 2005-11-07 Alan Modra <amodra@bigpond.net.au>
  293. * macro.c (buffer_and_nest): Skip labels regardless of
  294. NO_PSEUDO_DOT and flag_m68k_mri.
  295. 2005-11-07 Arnold Metselaar <arnold.metselaar@planet.nl>
  296. * expr.c (integer_constant): Match only 'B' as binary suffix if
  297. NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
  298. otherwise.
  299. 2005-11-04 Alexandre Oliva <aoliva@redhat.com>
  300. * read.c (s_weakref): Do not permit redefinitions.
  301. * symbols.c (colon): Do not permit redefinitions of equated
  302. symbols.
  303. 2005-11-01 Thiemo Seufer <ths@networkno.de>
  304. PR gas/1299
  305. * Makefile.am: Disable -Werror for the itbl-lex.o rule.
  306. * Makefile.in: Regenerate.
  307. 2005-11-01 Thiemo Seufer <ths@networkno.de>
  308. * config/tc-mips.c (md_parse_option): Fix typo in comment.
  309. 2005-10-30 Mark Mitchell <mark@codesourcery.com>
  310. * as.c (show_usage): Document "@FILE".
  311. 2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
  312. * Makefile.am (OBJ_FORMATS): Remove vms.
  313. Run "make dep-am".
  314. * Makefile.in: Regenerated.
  315. * dep-in.sed: Replace " ./" with " ".
  316. 2005-10-28 Dave Brolley <brolley@redhat.com>
  317. Contribute the following change:
  318. 2005-09-19 Dave Brolley <brolley@redhat.com>
  319. * config/tc-m32c.c (default_isa): New static variable.
  320. (m32c_isa): Now of type CGEN_BITSET.
  321. (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
  322. 2005-10-28 Paul Brook <paul@codesourcery.com>
  323. * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
  324. instead of mcpu_cpu_opt.
  325. 2005-10-27 Sterling Augustine <sterling@tensilica.com>
  326. * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
  327. refer to "ports" instead of "queues".
  328. (check_t1_t2_reads_and_writes): Pass correct interface values to
  329. xtensa_interface_inout.
  330. 2005-10-27 Jan Beulich <jbeulich@novell.com>
  331. * read.c (assign_symbol): Also consider equates already defined.
  332. * symbols.c (symbol_clone): Also clone the underlying BFD symbol.
  333. * config/obj-coff.h (obj_symbol_clone_hook): New.
  334. (coff_obj_symbol_clone_hook): Declare.
  335. * config/obj-coff.c (coff_obj_symbol_clone_hook): New.
  336. 2005-10-26 DJ Delorie <dj@redhat.com>
  337. * config/tc-m32c.c (md_relax_table, subtype_mappings,
  338. md_convert_frag): Add jsr.w support.
  339. * config/tc-m32c.c (md_assemble): Don't use errmsg as the format
  340. itself.
  341. (md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24
  342. and imm-8-HI operands.
  343. 2005-10-26 Paul Brook <paul@codesourcery.com>
  344. * config/tc-arm.c (insns): Correct "sel" entry.
  345. 2005-10-26 Jan Beulich <jbeulich@novell.com>
  346. * config/tc-i386.c (i386_operand): Don't check register prefix here.
  347. (parse_real_register): Rename from parse_register.
  348. (parse_register): New.
  349. (i386_parse_name): New.
  350. (md_operand): New.
  351. (intel_e11): Don't tolerate registers in offset expressions anymore.
  352. (intel_get_token): Don't check register prefix here. Copy the actual
  353. register token, not the canonical register name.
  354. * config/tc-i386.h (md_operand): Delete.
  355. (i386_parse_name): Declare.
  356. (md_parse_name): Define.
  357. 2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
  358. * Makefile.am: Add Z80 cpu.
  359. * Makefile.in: Regenerated.
  360. * app.c (do_scrub_chars)<TC_Z80>: Correctly scrub "ex af,af'"
  361. and disallow newlines in quoted strings.
  362. * configure.tgt: Add z80-*-coff.
  363. * config/obj-coff.h: Add format "coff-z80".
  364. * doc/Makefile.am: Add c-z80.texi.
  365. * doc/Makefile.in: Regenerated.
  366. * doc/all.texi: Add Z80.
  367. * doc/c-z80.texi: New file
  368. * doc/as.texinfo: Add z80 options and some z80-related remarks.
  369. * config/tc-z80.c: New file
  370. * config/tc-z80.h: New file
  371. * NEWS: Mention new support.
  372. 2005-10-25 H.J. Lu <hongjiu.lu@intel.com>
  373. * write.c (adjust_reloc_syms): Undo the change made on
  374. 2005-04-26 to allow local symbol set to undefined symbol.
  375. 2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
  376. * Makefile.am (bfin-parse.tab.h): Removed.
  377. (bfin-parse.h): Added.
  378. * Makefile.in: Regenerated.
  379. 2005-10-25 Alan Modra <amodra@bigpond.net.au>
  380. * po/POTFILES.in: Regenerate.
  381. * po/gas.pot: Regenerate.
  382. 2005-10-24 Bernd Schmidt <bernd.schmidt@analog.com>
  383. * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
  384. make a single reloc with an offset rather than a stack.
  385. * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
  386. 2005-10-24 Alexandre Oliva <aoliva@redhat.com>
  387. * read.c (potable): Add weakref.
  388. (s_weakref): New.
  389. * read.h (s_weakref): Declare.
  390. * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
  391. * symbols.c (colon): Clear weakrefr.
  392. (symbol_find_exact): Rename to, and reimplement in terms of...
  393. (symbol_find_exact_noref): ... new function.
  394. (symbol_find): Likewise...
  395. (symbol_find_noref): ... ditto.
  396. (resolve_symbol_value): Resolve weakrefr without setting their
  397. values.
  398. (S_SET_WEAK): Call hook.
  399. (S_GET_VALUE): Follow weakref link.
  400. (S_SET_VALUE): Clear weakrefr.
  401. (S_IS_WEAK): Follow weakref link.
  402. (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
  403. (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
  404. (symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
  405. (symbol_mark_used): Follow weakref link.
  406. (print_symbol_value_1): Print weak, weakrefr and weakrefd.
  407. * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
  408. (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
  409. (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
  410. * write.c (adust_reloc_syms): Follow weakref link. Do not
  411. complain if target is undefined.
  412. (write_object_file): Likewise. Remove weakrefr symbols. Drop
  413. unreferenced weakrefd symbols.
  414. * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
  415. symbols EXTERNAL.
  416. (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
  417. * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
  418. * doc/as.texinfo: Document weakref.
  419. * doc/internals.texi: Document new struct members, internal
  420. functions and hooks.
  421. 2005-10-24 Jie Zhang <jie.zhang@analog.com>
  422. * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
  423. (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
  424. * Makefile.in: Regenerate.
  425. * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
  426. * config/tc-bfin.c (md_chars_to_number): Change the type of first
  427. argument from unsigned char * to char * to remove signedness warnings.
  428. 2005-10-24 Jan Beulich <jbeulich@novell.com>
  429. * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
  430. (dot_rot): Change type of num_* variables. Check for positive count.
  431. (ia64_optimize_expr): Re-structure.
  432. (md_operand): Check for general register.
  433. 2005-10-24 Jan Beulich <jbeulich@novell.com>
  434. * config/tc-ia64.c (declare_register): Call symbol_create.
  435. (md_begin): Remove local variables total, ar_base, and cr_base.
  436. Start loops for registers at their respective first one. Don't
  437. update md.regsym for alias names. Generate alias name tp for r13.
  438. 2005-10-21 DJ Delorie <dj@redhat.com>
  439. * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
  440. names unstead of numbers.
  441. 2005-10-19 David Ung <davidu@mips.com>
  442. * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
  443. into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
  444. hence avoiding to emit a nop.
  445. 2005-10-19 Jie Zhang <jie.zhang@analog.com>
  446. * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
  447. LEX_BEGIN_NAME.
  448. (bfin_start_line_hook): Remove the workaround for LSETUP(.
  449. (bfin_name_is_register): Remove the workarounds for LSETUP(
  450. and SAA(.
  451. (bfin_start_label): Ditto.
  452. 2005-10-18 Bob Wilson <bob.wilson@acm.org>
  453. * config/tc-xtensa.c (xtensa_end_directive): Restore
  454. default_lit_sections regardless of use_literal_section.
  455. 2005-10-18 Jie Zhang <jie.zhang@analog.com>
  456. * Makefile.am (bfin-lex.c): Update ylwrap invocation.
  457. * Makefile.in: Regenerated.
  458. 2005-10-18 Arnold Metselaar <arnold.metselaar@planet.nl>
  459. * doc/as.texinfo (.loc) Fix placement of '@end table'.
  460. 2005-10-17 Bob Wilson <bob.wilson@acm.org>
  461. * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
  462. unsigned line number. Do not include "dwarf2dbg.h".
  463. * config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
  464. (xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
  465. (xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
  466. (md_assemble): Use as_where instead of dwarf2_where.
  467. (xg_assemble_vliw_tokens): Use unsigned line numbers instead of
  468. dwarf2_line_infos. Change to call new_logical_line followed by
  469. dwarf2_emit_insn.
  470. 2005-10-14 Mike Frysinger <vapier@gentoo.org>
  471. * doc/as.texinfo (Section): Add missing ']' to .section example.
  472. 2005-10-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  473. PR binutils/941
  474. * config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
  475. unknown opcode is found.
  476. 2005-10-12 Mark Mitchell <mark@codesourcery.com>
  477. * NEWS: Mention @file.
  478. 2005-10-12 Nick Clifton <nickc@redhat.com>
  479. * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and
  480. generally tidy up the code.
  481. * config/tc-avr.h: Likewise.
  482. 2005-10-12 Jan Beulich <jbeulich@novell.com>
  483. * config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
  484. (dot_pred_rel): Likewise.
  485. (parse_operand): Likewise.
  486. (ia64_unrecognized_line): Likewise.
  487. (md_operand): Likewise.
  488. 2005-10-11 Jan Beulich <jbeulich@novell.com>
  489. * expr.h (enum expr_mode): New.
  490. (expression): Pass third argument to expr.
  491. (expression_and_evaluate): New.
  492. (deferred_expression): New.
  493. (expr): Add third parameter.
  494. (resolve_expression): New.
  495. * struc-symbol.h (struct symbol): New members sy_volatile and
  496. sy_forward_ref.
  497. * symbols.c, symbols.h (symbol_clone): New.
  498. (symbol_clone_if_forward_ref): New.
  499. (snapshot_symbol): New.
  500. (S_IS_VOLATILE): New.
  501. (S_IS_FORWARD_REF): New.
  502. (S_SET_VOLATILE): New.
  503. (S_SET_FORWARD_REF): New.
  504. * as.c (macro_expr): Use expression_and_evaluate.
  505. * cond.c (s_if): Likewise.
  506. (s_elseif): Likewise.
  507. * dw2gencfi.c (cfi_parse_reg): Likewise.
  508. * expr.c (operand): Add second parameter. Optionally call
  509. deferred_expression. Pass mode argument to itself and md_parse_name.
  510. Check mode before trying to evaluate symbol. Call
  511. symbol_clone_if_forward_ref for both operands.
  512. (expr): Add third parameter. Pass mode to operand and itself.
  513. Optionally call resolve_expression.
  514. (resolve_expression): New.
  515. (get_single_number): Pass second argument to operand.
  516. * read.c (potable): New entry for .eqv.
  517. (read_a_source_file): Handle new == operator.
  518. (get_absolute_expr): Use expression_and_evaluate.
  519. (s_lsym): Likewise.
  520. (assign_symbol): Rename second parameter. Call symbol_clone on
  521. legal and illegal redefinition. Call S_SET_VOLATILE and
  522. S_SET_FORWARD_REF depending on mode.
  523. (s_set): Update description.
  524. (s_space): Call resolve_expression.
  525. (pseudo_set): Optionally call deferred_expression. Check
  526. S_IS_FORWARD_REF before trying to simplify/resolve an expression.
  527. (equals): Handle ==.
  528. * config/tc-ia64.h (md_parse_name): Add mode parameter.
  529. * config/tc-arc.c (arc_parse_cons_expression): Likewise.
  530. * config/tc-m32r.h (md_parse_name): Likewise.
  531. (m32r_parse_name): Likewise.
  532. * config/tc-mmix.h (md_parse_name): Likewise.
  533. * config/tc-mn10300.h (md_parse_name): Likewise.
  534. (mn10300_parse_name): Likewise.
  535. * config/tc-ppc.h (md_parse_name): Likewise.
  536. * config/tc-sh.h (md_parse_name): Likewise.
  537. (sh_parse_name): Likewise.
  538. * config/tc-sh64.h (md_parse_name): Likewise.
  539. (sh64_consume_datalabel): Likewise.
  540. * config/tc-tic54x.h (md_parse_name): Likewise.
  541. * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it
  542. before trying to evaluate symbol.
  543. * config/tc-mn10300.c (mn10300_parse_name): Likewise.
  544. * config/tc-sh.c (sh_parse_name): Likewise.
  545. * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass
  546. second argument to operandf. Pass mode parameter to sh_parse_name.
  547. * doc/as.texinfo: Document .eqv and the == assignment operator.
  548. 2005-10-10 Ian Lance Taylor <ian@airs.com>
  549. * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
  550. * Makefile.in: Regenerate.
  551. 2005-10-10 Arnold Metselaar <arnold.metselaar@planet.nl>
  552. * expr.c (operator): Allow "!=" as a synonym for "<>".
  553. * doc/as.texinfo (Infix Op): Mention "!=".
  554. 2005-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  555. * config/tc-hppa.c (strict): Don't initialize. Update comment.
  556. (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
  557. found. Simplify handling of "ma" and "mb" completers.
  558. 2005-10-08 Paul Brook <paul@codesourcery.com>
  559. * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
  560. (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
  561. New variables.
  562. (arm_cpu_option_table): Add canonical_name.
  563. (arm_cpus): Populate canonical_name field.
  564. (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
  565. aeabi_set_public_attributes, arm_md_end): New functions.
  566. (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
  567. (md_assemble): Set thumb_arch_used and arm_arch_used.
  568. (md_begin): Set defaut cpu if CPU_DEFAULT not defined.
  569. * config/tc-arm.h (md_end): Define.
  570. * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
  571. 2005-10-06 Khem Raj <kraj@mvista.com>
  572. NIIBE Yutaka <gniibe@m17n.org>
  573. * config/tc-sh.c (allow_dollar_register_prefix): New variable.
  574. (parse_reg_without_prefix): New function.
  575. (parse_reg): Check for '$' register prefix if --allow-reg-prefix is
  576. set.
  577. (option md_longopts): Add allow-reg-prefix option.
  578. * doc/c-sh.texi: Document --allow-reg-prefix option.
  579. * NEWS: Mention the new switch.
  580. 2005-10-03 Arnold Metselaar <arnold.metselaar@planet.nl>
  581. * doc/as.texinfo (Infix Ops): '<' and '>' are not shift
  582. operators.
  583. 2005-09-30 Sterling Augustine <sterling@tensilica.com>
  584. Bob Wilson <bob.wilson@acm.org>
  585. * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
  586. 2005-09-30 H.J. Lu <hongjiu.lu@intel.com>
  587. * Makefile.am: Run "make dep-am".
  588. * Makefile.in: Regenerated.
  589. * aclocal.m4: Likewise.
  590. 2005-09-30 Mark Mitchell <mark@codesourcery.com>
  591. * as.c (main): Use expandargv.
  592. 2005-09-30 Jan Beulich <jbeulich@novell.com>
  593. * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
  594. (removed) comma.
  595. 2005-09-30 Catherine Moore <clm@cm00re.com>
  596. * Makefile.am: Bfin support.
  597. * Makefile.in: Regenerated.
  598. * aclocal.m4: Regenerated.
  599. * configure: Regenerated.
  600. * configure.in: Bfin support.
  601. * configure.tgt: Bfin support.
  602. * config/bfin-aux.h: New file.
  603. * config/bfin-defs.h: New file.
  604. * config/bfin-lex.l: New file.
  605. * config/bfin-parse.y: New file.
  606. * config/tc-bfin.c: New file.
  607. * config/tc-bfin.h: New file.
  608. * doc/Makefile.am: Recognize c-bfin.texi.
  609. * doc/Makefile.in: Regenerated.
  610. * doc/all.texi: Bfin support.
  611. * doc/as.texinfo: Likewise.
  612. * doc/c-bfin.texi: Document bfin-specific syntax and
  613. directives.
  614. 2005-09-30 Paul Brook <paul@codesourcery.com>
  615. * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
  616. (opcode_lookup): Handle OT_cinfix3_legacy. Revert earlier change for
  617. normal infix conditions.
  618. (C3E): Include Thumb-2 definition.
  619. (CL, cCL): Define.
  620. (insns): Use them for legacy mnemonics.
  621. 2005-09-30 Matthias Kurz <mk@baerlap.north.de>
  622. * asintl.h: Prevent the inclusion of <libintl.h> from the Solaris
  623. version of <locale.h> when ENABLE_NLS is not defined.
  624. 2005-09-29 Jan Beulich <jbeulich@novell.com>
  625. * config/tc-ia64.c (parse_operands): Always parse first operand of
  626. alloc.
  627. 2005-09-29 Arnold Metselaar <arnold.metselaar@planet.nl>
  628. Alan Modra <amodra@bigpond.net.au>
  629. * app.c (do_scrub_chars): Match open and close quote of strings.
  630. Remove redundant EOF test in case 7.
  631. 2005-09-28 Jan Beulich <jbeulich@novell.com>
  632. * config/tc-i386.c (reloc): Disable signedness check for 4-byte
  633. relocations in 16- and 32-bit modes.
  634. (i386_displacement): Make pc-relative branch handling dependent
  635. upon operand (rather than address) size.
  636. 2005-09-28 Jan Beulich <jbeulich@novell.com>
  637. * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
  638. parsing the input.
  639. (dot_cfi_startproc): Likewise.
  640. (dot_cfi_endproc): Likewise. Also check no extra input was given.
  641. (dot_cfi_escape): Likewise.
  642. 2005-09-28 Jan Beulich <jbeulich@novell.com>
  643. * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
  644. (TC_CONS_FIX_NEW): Define unconditionally.
  645. (x86_pe_cons_fix_new): Remove.
  646. * config/tc-i386.c (signed_cons): New.
  647. (md_pseudo_table): Add slong.
  648. (x86_cons_fix_new): Declare unconditionally.
  649. (x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
  650. (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
  651. conversion.
  652. 2005-09-28 Arnold Metselaar <arnold.metselaar@planet.nl>
  653. * app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
  654. buffer after copying string.
  655. 2005-09-27 Paul Brook <paul@codesourcery.com>
  656. * config/arm.c (arm_cpus): Add more cpu names.
  657. * doc/c-arm.texi: Document them.
  658. 2005-09-21 Alan Modra <amodra@bigpond.net.au>
  659. * read.c (pseudo_set): Don't set undefined symbols to expr_section.
  660. 2005-09-20 Richard Henderson <rth@redhat.com>
  661. * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
  662. 2005-09-20 Richard Henderson <rth@redhat.com>
  663. * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
  664. with label.
  665. (dwarf2_loc_mark_labels): New.
  666. (dwarf2_gen_line_info_1): Split out of ...
  667. (dwarf2_gen_line_info): ... here. Create the temp symbol here.
  668. (dwarf2_emit_label): New.
  669. (dwarf2_directive_loc_mark_labels): New.
  670. (out_set_addr): Take a symbol instead of frag+ofs.
  671. (relax_inc_line_addr): Likewise.
  672. (emit_inc_line_addr): Assert delta non-negative.
  673. (process_entries): Remove dead code. Update to work with temp
  674. symbols instead of frag+ofs.
  675. * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
  676. (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
  677. * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
  678. * config/obj-elf.h (obj_frob_label): New.
  679. * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
  680. * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
  681. config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
  682. Similarly in the respective tc_frob_label implementation functions.
  683. * config/tc-i386.c (md_pseudo_table): Move file and loc to
  684. non-elf section; add loc_mark_labels.
  685. * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
  686. (ia64_flush_insns): Check for marked labels; emit line entry if so.
  687. (emit_one_bundle): Similarly.
  688. (ia64_frob_label): Record marked labels.
  689. * config/tc-m68hc11.h (tc_frob_label): Remove.
  690. * config/tc-ms1.c (md_pseudo_table): Remove file and loc.
  691. * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
  692. * config/tc-sh64.h (tc_frob_label): Likewise.
  693. * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
  694. 2005-09-20 Alan Modra <amodra@bigpond.net.au>
  695. * read.c (pseudo_set): Set segment of expression syms to expr_section.
  696. 2005-09-14 Jan Beulich <jbeulich@novell.com>
  697. * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
  698. registers, floating point control and status words, and mxcsr as
  699. well as (for 64-bit code) segment base registers and rflags.
  700. 2005-09-09 Dmitry Diky <diwil@spec.ru>
  701. * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
  702. (msp430_relax_frag): add a guard check to ensure that final fr_subtype
  703. has been reached.
  704. 2005-09-08 Chao-ying Fu <fu@mips.com>
  705. * doc/as.texinfo: Document -mdsp and -mno-dsp options.
  706. * doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
  707. directives.
  708. 2005-09-08 Paul Brook <paul@codesourcery.com>
  709. * config/tc-arm.c (do_smi, do_t_smi): Rename ...
  710. (do_smc, do_t_smc): ... to this.
  711. (insns): Remane smi to smc.
  712. (md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
  713. BFD_RELOC_ARM_SMC.
  714. 2005-09-07 Richard Henderson <rth@redhat.com>
  715. * dwarf2dbg.c (dwarf2_where): Set line->isa.
  716. (dwarf2_set_isa): New.
  717. (dwarf2_directive_loc): Rearrange to allow all options on one line.
  718. * dwarf2dbg.h (dwarf2_set_isa): Declare.
  719. * doc/as.texinfo: Update .loc documentation.
  720. 2005-09-07 Richard Henderson <rth@redhat.com>
  721. * dwarf2dbg.c: Include safe-ctype.h.
  722. (DWARF2_LINE_OPCODE_BASE): Bump to 13.
  723. (current): Initialize.
  724. (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
  725. DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
  726. (dwarf2_directive_file): Cope with invalid filename.
  727. (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
  728. epilogue_begin, is_stmt, isa.
  729. (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
  730. case down lower.
  731. (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
  732. and DWARF2_FLAG_EPILOGUE_BEGIN.
  733. (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
  734. DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
  735. * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.
  736. (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
  737. (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
  738. (struct dwarf2_line_info): Add isa member.
  739. * doc/as.texinfo (LNS directives): New node.
  740. 2005-09-07 David Ung <davidu@mips.com>
  741. * config/tc-mips.c (append_insn): Undo last change. Instead add
  742. guard to suppress calling frag_grow if the current instruction is
  743. one that allows a delay slot.
  744. 2005-09-06 Chao-ying Fu <fu@mips.com>
  745. * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
  746. (mips_opts): Add -1 to initialize ase_mt.
  747. (file_ase_mt): New variable for -mmt.
  748. (CPU_HAS_MT): New define.
  749. (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
  750. formats.
  751. (mips_ip): Check ase_mt to enable MT instructions.
  752. Handle !, $, *, &, +T, +t, g operand formats.
  753. For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
  754. odd float registers.
  755. (OPTION_MT, OPTION_NO_MT): New define.
  756. (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
  757. (md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
  758. (mips_after_parse_args): Set ase_mt based on CPU.
  759. (s_mipsset): Handle ".set mt" and ".set nomt".
  760. (mips_elf_final_processing): Remind of adding new flag for MT ASE.
  761. (md_show_usage): Show usage of -mmt and -mno-mt.
  762. * doc/as.texinfo: Document -mmt and -mno-mt options.
  763. * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
  764. directives.
  765. 2005-09-06 Paul Brook <paul@codesourcery.com>
  766. * config/tc-arm.c (arm_it): Add relax field.
  767. (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
  768. b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
  769. (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
  770. do_t_mov_cmp): Allow relaxation.
  771. (output_relax_insn): New function.
  772. (put_thumb32_insn): New function.
  773. (output_inst): Use new functions.
  774. (md_assemble): Don't throw error on relaxable instructions.
  775. (insns): Change "b" entry from TCE(...) to tCE(...).
  776. (md_estimate_size_before_relax): Return 2.
  777. (md_convert_frag, relax_immediate, relax_adr, relax_addsub,
  778. relax_branch, arm_relax_frag): New functions.
  779. (arm_force_relocation): Return 0 for Thumb-2 immediate operand
  780. relocations.
  781. * config/tc-arm.h (md_convert_frag): Remove definition.
  782. (md_relax_frag): Define.
  783. (arm_relax_frag): Add prototype.
  784. 2005-09-02 Paul Brook <paul@codesourcery.com>
  785. * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
  786. 2005-09-02 Paul Brook <paul@codesourcery.com>
  787. * config/tc-arm.c (encode_arm_cp_address): Use
  788. BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
  789. (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
  790. mode.
  791. (md_assemble): Only allow coprocessor instructions when Thumb-2 is
  792. available.
  793. (cCE, cC3): Define.
  794. (insns): Use them for coprocessor instructions.
  795. (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
  796. (get_thumb32_insn): New function.
  797. (put_thumb32_insn): New function.
  798. (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
  799. BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
  800. 2005-09-02 Paul Brook <paul@codesourcery.com>
  801. * config/tc-arm.c (opcode_lookup): Look for infix opcode when
  802. incorrect suffix matches.
  803. 2005-09-01 David Ung <davidu@mips.com>
  804. * config/tc-mips.c (append_insn): Correctly handle mips16 case
  805. when the frags are different for the 2 instructions we want to
  806. swap. If the lengths of the 2 instructions are not the same, we
  807. won't do the swap but emit an nop.
  808. 2005-09-01 Dmitry Diky <diwil@spec.ru>
  809. * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
  810. as appropriate. Change frag_variant() to frag_var() for relaxes.
  811. 2005-08-29 Nick Clifton <nickc@redhat.com>
  812. * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if
  813. there is no symbol.
  814. 2005-08-26 Jan Beulich <jbeulich@novell.com>
  815. * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
  816. qualified operand of a branch.
  817. (intel_bracket_expr): Set JumpAbsolute here...
  818. (intel_e11): ... rather than here.
  819. 2005-08-26 Christian Groessler <chris@groessler.org>
  820. * configure.tgt: Set bfd_gas also for z8k cpu.
  821. * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine
  822. type.
  823. (newfix): Adapt to bfd reloc types.
  824. (build_bytes): Adapt to bfd reloc types. Ensure that enough space
  825. is available in the current frag.
  826. (md_convert_frag): Adapt function parameters.
  827. (tc_gen_reloc): New function.
  828. (md_section_align): Use bfd_get_section_alignment.
  829. (md_apply_fix): Adapt to bfd reloc types. Fix handling of
  830. BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32
  831. relocations.
  832. * config/tc-z8k.h (TARGET_ARCH): Define.
  833. (tc_fix_adjustable): Define.
  834. 2005-08-25 Chao-ying Fu <fu@mips.com>
  835. * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
  836. (mips_opts): Add -1 to initialize ase_dsp.
  837. (file_ase_dsp): New variable for -mdsp.
  838. (CPU_HAS_DSP): New define.
  839. (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
  840. operand formats.
  841. (mips_ip): Add min_range and max_range for checking singed numbers.
  842. Check ase_dsp to enable DSP instructions.
  843. Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
  844. (OPTION_DSP, OPTION_NO_DSP): New define.
  845. (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
  846. (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
  847. (mips_after_parse_args): Set ase_dsp based on CPU.
  848. (s_mipsset): Handle ".set dsp" and ".set nodsp".
  849. (mips_elf_final_processing): Remind of adding new flag for DSP ASE.
  850. (md_show_usage): Show usage of -mdsp and -mno-dsp.
  851. 2005-08-23 David Ung <davidu@mips.com>
  852. * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
  853. cpu names.
  854. 2005-08-23 Alan Modra <amodra@bigpond.net.au>
  855. PR 1036
  856. * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
  857. 2005-08-23 Phil Edwards <phil@codesourcery.com>
  858. * configure.tgt (*-*-vxworks): Match vxworks* instead.
  859. 2005-08-22 Jan Beulich <jbeulich@novell.com>
  860. * config/tc-i386.c (object_64bit): New.
  861. (i386_target_format): Initialize it.
  862. (output_disp): Use object_64bit for relocation type determination.
  863. (output_imm): Likewise.
  864. (i386_validate_fix): Likewise.
  865. (tc_gen_reloc): Likewise.
  866. (lex_got): Likewise. Remove static mode_name. Change array size
  867. of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
  868. (x86_cons): Use object_64bit for deciding whether quad fields can
  869. have relocations.
  870. 2005-08-18 Christian Groessler <chris@groessler.org>
  871. * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
  872. * config/tc-mcore.h: Likewise.
  873. * config/tc-z8k.h: Likewise.
  874. * config/tc-z8k.c: Likewise.
  875. * config/tc-sh.h: Remove TC_RELOC_MANGLE and
  876. sh_coff_reloc_mangle declaration.
  877. * config/tc-sh.c: (md_apply_fix): Fix comment for case
  878. BFD_RELOC_SH_USES.
  879. 2005-08-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  880. * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
  881. to confirm that no ISA is specified.
  882. 2005-08-18 Nick Clifton <nickc@redhat.com>
  883. * write.c (relax_segment): Count the number of frags being
  884. processed and use this to compute a maximum limit on the number of
  885. iterations that will be allowed when attempting to relax the
  886. segment.
  887. 2005-08-17 Danny Smith <dannysmith@users.sourceforge.net>
  888. * config/obj-coff.c (obj_coff_weak): Set auxiliary record
  889. of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
  890. 2005-08-16 Alan Modra <amodra@bigpond.net.au>
  891. * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
  892. default cpu.
  893. 2005-08-15 Paul Brook <paul@codesourcery.com>
  894. * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
  895. instructions.
  896. (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
  897. 2005-08-15 Daniel Jacobowitz <dan@codesourcery.com>
  898. * config/tc-ppc.c (parse_cpu): Add -me300 support.
  899. (md_show_usage): Likewise.
  900. * doc/c-ppc.texi (PowerPC-Opts): Document it.
  901. 2005-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
  902. * config/tc-s390.c (md_parse_option): Add cpu type z9-109.
  903. (md_gather_operands): Add support for optional operands.
  904. 2005-08-12 Dmitry Diky <diwil@spec.ru>
  905. * config/tc-msp430.c (msp430_enable_relax): New flag.
  906. (msp430_enable_polys): Likewise.
  907. (OPTION_RELAX): New option.
  908. (OPTION_POLYMORPHS): Likewise.
  909. (md_longopts): New long options.
  910. (md_show_usage): Updated.
  911. (md_parse_option): Add new options handler.
  912. (msp430_operands): Add check if polymorph insns are enabled.
  913. (msp430_force_relocation_local): New function.
  914. (md_apply_fix): Now delete relocs according to new flags combination.
  915. (msp430_relax_frag): Convert long branches to short branches only if
  916. flag msp430_enable_relax is set.
  917. * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
  918. (msp430_force_relocation_local): Likewise.
  919. * doc/c-msp430.texi: Describe new options.
  920. 2005-08-11 Ian Lance Taylor <ian@airs.com>
  921. * Makefile.am ($(srcdir)/make-gas.com): Remove target.
  922. (stamp-mk.com): Likewise.
  923. (EXTRA_DIST): Remove make-gas.com from list.
  924. (MOSTLYCLEANFILES): Remove stamp-mk.com from list.
  925. * Makefile.in: Regenerate.
  926. 2005-08-11 Hans-Peter Nilsson <hp@axis.com>
  927. * subsegs.c (subseg_change): Move declaration of seginfo to before
  928. first statement.
  929. 2005-08-11 Alan Modra <amodra@bigpond.net.au>
  930. * README-vms: Delete.
  931. * config-gas.com: Delete.
  932. * makefile.vms: Delete.
  933. * vmsconf.sh: Delete.
  934. * config/atof-tahoe.c: Delete.
  935. * config/m88k-opcode.h: Delete.
  936. * config/obj-bout.c: Delete.
  937. * config/obj-bout.h: Delete.
  938. * config/obj-hp300.c: Delete.
  939. * config/obj-hp300.h: Delete.
  940. * config/tc-a29k.c: Delete.
  941. * config/tc-a29k.h: Delete.
  942. * config/tc-h8500.c: Delete.
  943. * config/tc-h8500.h: Delete.
  944. * config/tc-m88k.c: Delete.
  945. * config/tc-m88k.h: Delete.
  946. * config/tc-tahoe.c: Delete.
  947. * config/tc-tahoe.h: Delete.
  948. * config/tc-tic80.c: Delete.
  949. * config/tc-tic80.h: Delete.
  950. * config/tc-w65.c: Delete.
  951. * config/tc-w65.h: Delete.
  952. * config/te-aux.h: Delete.
  953. * config/te-delt88.h: Delete.
  954. * config/te-delta.h: Delete.
  955. * config/te-dpx2.h: Delete.
  956. * config/te-hp300.h: Delete.
  957. * config/te-ic960.h: Delete.
  958. * config/vms-a-conf.h: Delete.
  959. * doc/c-a29k.texi: Delete.
  960. * doc/c-h8500.texi: Delete.
  961. * doc/c-m88k.texi: Delete.
  962. * README: Remove obsolete examples, and list of supported targets.
  963. * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
  964. bout and hp300 support.
  965. (DEP_FLAGS): Don't define BFD_ASSEMBLER.
  966. * configure.in: Remove --enable-bfd-assembler, need_bfd,
  967. primary_bfd_gas.
  968. * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
  969. m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
  970. * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
  971. * as.h: Likewise.
  972. * dw2gencfi.c: Likewise.
  973. * dwarf2dbg.c: Likewise.
  974. * ehopt.c: Likewise.
  975. * input-file.c: Likewise.
  976. * listing.c: Likewise.
  977. * literal.c: Likewise.
  978. * messages.c: Likewise.
  979. * obj.h: Likewise.
  980. * output-file.c: Likewise.
  981. * read.c: Likewise.
  982. * stabs.c: Likewise.
  983. * struc-symbol.h: Likewise.
  984. * subsegs.c: Likewise.
  985. * subsegs.h: Likewise.
  986. * symbols.c: Likewise.
  987. * symbols.h: Likewise.
  988. * tc.h: Likewise.
  989. * write.c: Likewise.
  990. * write.h: Likewise.
  991. * config/aout_gnu.h: Likewise.
  992. * config/obj-aout.c: Likewise.
  993. * config/obj-aout.h: Likewise.
  994. * config/obj-coff.c: Likewise.
  995. * config/obj-coff.h: Likewise.
  996. * config/obj-evax.h: Likewise.
  997. * config/obj-ieee.h: Likewise.
  998. * config/tc-arm.c: Likewise.
  999. * config/tc-arm.h: Likewise.
  1000. * config/tc-avr.c: Likewise.
  1001. * config/tc-avr.h: Likewise.
  1002. * config/tc-crx.h: Likewise.
  1003. * config/tc-d10v.h: Likewise.
  1004. * config/tc-d30v.h: Likewise.
  1005. * config/tc-dlx.h: Likewise.
  1006. * config/tc-fr30.h: Likewise.
  1007. * config/tc-frv.h: Likewise.
  1008. * config/tc-h8300.c: Likewise.
  1009. * config/tc-h8300.h: Likewise.
  1010. * config/tc-hppa.h: Likewise.
  1011. * config/tc-i370.h: Likewise.
  1012. * config/tc-i386.c: Likewise.
  1013. * config/tc-i386.h: Likewise.
  1014. * config/tc-i860.h: Likewise.
  1015. * config/tc-i960.c: Likewise.
  1016. * config/tc-i960.h: Likewise.
  1017. * config/tc-ip2k.h: Likewise.
  1018. * config/tc-iq2000.h: Likewise.
  1019. * config/tc-m32c.h: Likewise.
  1020. * config/tc-m32r.h: Likewise.
  1021. * config/tc-m68hc11.h: Likewise.
  1022. * config/tc-m68k.c: Likewise.
  1023. * config/tc-m68k.h: Likewise.
  1024. * config/tc-maxq.c: Likewise.
  1025. * config/tc-maxq.h: Likewise.
  1026. * config/tc-mcore.c: Likewise.
  1027. * config/tc-mcore.h: Likewise.
  1028. * config/tc-mn10200.h: Likewise.
  1029. * config/tc-mn10300.c: Likewise.
  1030. * config/tc-mn10300.h: Likewise.
  1031. * config/tc-ms1.h: Likewise.
  1032. * config/tc-msp430.c: Likewise.
  1033. * config/tc-msp430.h: Likewise.
  1034. * config/tc-ns32k.c: Likewise.
  1035. * config/tc-ns32k.h: Likewise.
  1036. * config/tc-openrisc.h: Likewise.
  1037. * config/tc-or32.c: Likewise.
  1038. * config/tc-or32.h: Likewise.
  1039. * config/tc-ppc.c: Likewise.
  1040. * config/tc-ppc.h: Likewise.
  1041. * config/tc-s390.h: Likewise.
  1042. * config/tc-sh.c: Likewise.
  1043. * config/tc-sh.h: Likewise.
  1044. * config/tc-sparc.c: Likewise.
  1045. * config/tc-tic30.c: Likewise.
  1046. * config/tc-tic30.h: Likewise.
  1047. * config/tc-tic4x.c: Likewise.
  1048. * config/tc-tic4x.h: Likewise.
  1049. * config/tc-tic54x.c: Likewise.
  1050. * config/tc-tic54x.h: Likewise.
  1051. * config/tc-v850.h: Likewise.
  1052. * config/tc-vax.c: Likewise.
  1053. * config/tc-vax.h: Likewise.
  1054. * config/tc-xstormy16.h: Likewise.
  1055. * config/tc-xtensa.h: Likewise.
  1056. * config/tc-z8k.c: Likewise.
  1057. * config/tc-z8k.h: Likewise.
  1058. * config/vms-a-conf.h
  1059. * doc/Makefile.am: Likewise.
  1060. * doc/all.texi: Likewise.
  1061. * doc/as.texinfo: Likewise.
  1062. * doc/internals.texi: Likewise.
  1063. * doc/Makefile.in: Regenerate.
  1064. * Makefile.in: Regenerate.
  1065. * configure: Regenerate.
  1066. * config.in: Regenerate.
  1067. * po/POTFILES.in: Regenerate.
  1068. 2005-08-09 Nick Clifton <nickc@redhat.com>
  1069. PR 1070
  1070. * macro.c (getstring): Do not treat round parentheses exactly the
  1071. same as angle brackets - the parentheses need to be preserved and
  1072. passed on to the macro processing code.
  1073. 2005-08-08 Nick Clifton <nickc@redhat.com>
  1074. * config/tc-msp430.c (MSP430_ISA_21): Define.
  1075. (mcu_types): Add entries for msp430x21xx variants.
  1076. 2005-08-08 Nick Clifton <nickc@redhat.com>
  1077. PR 1070
  1078. * macro.c (getstring): Treat round parentheses in the same way as
  1079. angle brackets.
  1080. (get_any_string): Likewise.
  1081. 2005-08-07 H.J. Lu <hongjiu.lu@intel.com>
  1082. PR gas/1118
  1083. * as.c (parse_args): Handle -al=<FILE>.
  1084. 2005-08-07 Nick Clifton <nickc@redhat.com>
  1085. * read.c (s_app_line): Accept a line number of 0 for compatibility
  1086. with gcc's output for assembler-with-cpp files.
  1087. 2005-08-05 Paul Brook <paul@codesourcery.com>
  1088. * config/tc-arm.c (current_it_mask, current_cc): New variables.
  1089. (do_t_add_sub): Use correct encodings inside IT block.
  1090. (do_t_arit3c): Ditto.
  1091. (do_t_it): Simplify logic. Set current_it_mask and current_cc.
  1092. (md_assemble): Verify conditional suffixes agains IT blocks.
  1093. 2005-08-05 Paul Brook <paul@codesourcery.com>
  1094. * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted
  1095. constants.
  1096. (encode_thumb32_shifted_operand): Prohibit register shifts.
  1097. (encode_thumb32_addr_mode): Fix typo.
  1098. (insns): Correct thumb2 ldm and stm opcodes.
  1099. 2005-08-02 Khem Raj <kraj@mvista.com>
  1100. * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for
  1101. WLDRD/WSTRD instruction.
  1102. 2005-08-02 Alan Modra <amodra@bigpond.net.au>
  1103. * config/tc-ppc.c (md_apply_fix <ELF>): Don't warn on overflow
  1104. if emitting a reloc.
  1105. 2005-07-29 Thiemo Seufer <ths@networkno.de>
  1106. * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.
  1107. 2005-07-29 Paul Brook <paul@codesourcery.com>
  1108. * config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
  1109. pop.
  1110. (do_t_addr): Implement 32-bit variant.
  1111. (do_t_push_pop): Make some errors warnings. Handle single register
  1112. 32-bit case.
  1113. (insns): Use tCE for adr.
  1114. (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
  1115. (md_apply_fix): Ditto.
  1116. 2005-07-29 Paul Brook <paul@codesourcery.com>
  1117. * config/tc-arm.c (parse_tb): New function.
  1118. (enum operand_parse_code): Add OP_TB.
  1119. (parse_operands): Handle OP_TB.
  1120. (do_t_add_sub_w, do_t_tb): New functions.
  1121. (insns): Add entries for addw, subw, tbb and tbh.
  1122. (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
  1123. 2005-07-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1124. * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
  1125. 2005-07-27 H.J. Lu <hongjiu.lu@intel.com>
  1126. * config/tc-i386.c (handle_large_common): Declare only for ELF.
  1127. 2005-07-27 Jan Beulich <jbeulich@novell.com>
  1128. * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
  1129. int.
  1130. (unw_p_record): Remove unused/redundant fields imask and rmask.
  1131. Combine spoff and pspoff into a union. Combine gr and br into a
  1132. union. Change type of grmask and brmask to unsigned char. Change type
  1133. of frmask to unsigned int.
  1134. (unw_x_record): Combine spoff, pspoff, and treg into a union.
  1135. * config/tc-ia64.c (unwind): New field 'pending_saves'.
  1136. (check_pending_save): New.
  1137. (alloc_record): Clear out entire record.
  1138. (output_psp_gr): Use renamed structure fields.
  1139. (output_psp_sprel): Likewise.
  1140. (output_rp_gr): Likewise.
  1141. (output_rp_br): Likewise.
  1142. (output_rp_psprel): Likewise.
  1143. (output_rp_sprel): Likewise.
  1144. (output_pfs_gr): Likewise.
  1145. (output_pfs_psprel): Likewise.
  1146. (output_pfs_sprel): Likewise.
  1147. (output_preds_gr): Likewise.
  1148. (output_preds_psprel): Likewise.
  1149. (output_preds_sprel): Likewise.
  1150. (output_spill_base): Likewise.
  1151. (output_unat_gr): Likewise.
  1152. (output_unat_psprel): Likewise.
  1153. (output_unat_sprel): Likewise.
  1154. (output_lc_gr): Likewise.
  1155. (output_lc_psprel): Likewise.
  1156. (output_lc_sprel): Likewise.
  1157. (output_fpsr_gr): Likewise.
  1158. (output_fpsr_psprel): Likewise.
  1159. (output_fpsr_sprel): Likewise.
  1160. (output_priunat_gr): Likewise.
  1161. (output_priunat_psprel): Likewise.
  1162. (output_priunat_sprel): Likewise.
  1163. (output_bsp_gr): Likewise.
  1164. (output_bsp_psprel): Likewise.
  1165. (output_bsp_sprel): Likewise.
  1166. (output_bspstore_gr): Likewise.
  1167. (output_bspstore_psprel): Likewise.
  1168. (output_bspstore_sprel): Likewise.
  1169. (output_rnat_gr): Likewise.
  1170. (output_rnat_psprel): Likewise.
  1171. (output_rnat_sprel): Likewise.
  1172. (output_spill_psprel): Likewise.
  1173. (output_spill_sprel): Likewise.
  1174. (output_spill_reg): Likewise.
  1175. (output_fr_mem): Likewise. Allocate one unwind record per set mask
  1176. bit.
  1177. (output_frgr_mem): Likewise.
  1178. (output_gr_mem): Likewise.
  1179. (output_br_mem): Likewise.
  1180. (output_gr_gr): Likewise.
  1181. (output_br_gr): Likewise.
  1182. (fixup_unw_records): Likewise.
  1183. (process_one_record): Use renamed structure fields. For gr_gr and
  1184. br_gr, collect mask from chain of records before output.
  1185. (in_prologue): Simplify and eliminate early returns. Call
  1186. check_pending_save.
  1187. (in_body): Simplify and eliminate early returns.
  1188. (dot_body): Call check_pending_save.
  1189. (md_assemble): Update comment. Deal with pending saves.
  1190. 2005-07-26 Jan Beulich <jbeulich@novell.com>
  1191. * config/tc-i386.c (optimize_imm): Calculate candidate immediates
  1192. mask from guessed suffix, but mask out other immediate types only
  1193. if at least on candidate is valid for the insn.
  1194. 2005-07-25 DJ Delorie <dj@redhat.com>
  1195. * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
  1196. Support %mod() modifiers from opcodes.
  1197. * doc/c-m32c.texi (M32C-Modifiers): New section.
  1198. 2005-07-25 Jan Hubicka <jh@suse.cz>
  1199. H.J. Lu <hongjiu.lu@intel.com>
  1200. * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
  1201. defined.
  1202. (elf_com_section_ptr): New.
  1203. (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
  1204. (elf_common_parse): Make it global. Use elf_com_section_ptr
  1205. instead of bfd_com_section_ptr.
  1206. (obj_elf_change_section): Handle x86-64 large bss sections.
  1207. * config/obj-elf.h (elf_com_section_ptr): New.
  1208. (elf_common_parse): New.
  1209. * config/tc-i386.c (handle_large_common): New.
  1210. (md_pseudo_table): Add "largecomm".
  1211. (x86_64_section_letter): New.
  1212. (x86_64_section_word): New.
  1213. * config/tc-i386.h (x86_64_section_word): New.
  1214. (x86_64_section_letter): New.
  1215. (md_elf_section_letter): New. Defined.
  1216. (md_elf_section_word): Likewise.
  1217. 2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org>
  1218. * configure.tgt: Remove i386-*-rtemself*.
  1219. Remove sparc-*-rtemself*.
  1220. 2005-07-21 Ben Elliston <bje@gnu.org>
  1221. * config/tc-m68k.h: Remove TE_LYNX conditional code.
  1222. 2005-07-21 Paul Brook <paul@codesourcery.com>
  1223. * config/tc-arm.c (encode_thumb32_addr_mode): Don't set
  1224. inst.reloc.pc_rel.
  1225. 2005-07-20 Tavis Ormandy <taviso@gentoo.org>
  1226. * messages.c: Use vsnprintf instead of vsprintf.
  1227. 2005-07-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1228. * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and
  1229. BFD_RELOC_16_PCREL to Support R_M32R_REL32.
  1230. 2005-07-18 Nick Clifton <nickc@redhat.com>
  1231. * configure.tgt: Restore alpha ordering to list of arches.
  1232. 2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1233. * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
  1234. 2005-07-18 Jan Beulich <jbeulich@novell.com>
  1235. * config/tc-i386.c (md_begin): Use IS_ELF.
  1236. (tc_i386_fix_adjustable): Likewise.
  1237. (md_estimate_size_before_relax): Likewise.
  1238. (md_apply_fix): Likewise.
  1239. (i386_target_format): Likewise.
  1240. (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
  1241. (i386_immediate): Remove #ifdef LEX_AT.
  1242. (i386_displacement): Likewise.
  1243. * config/tc-i386.h (x86_cons): Prototype only when ELF and when not
  1244. LEX_AT.
  1245. 2005-07-18 Jan Beulich <jbeulich@novell.com>
  1246. * config/tc-i386.c (reloc): Convert to ISO C90. Change first
  1247. parameter to unsigned. Parameter sign now is tristate - zero/
  1248. positive mean unsigned/signed, negative means signedness doesn't
  1249. matter. Check field size,
  1250. signedness, and pcrel-ness are in agreement between relocated field
  1251. and relocation type. Adjust diagnostics.
  1252. (optimize_imm): And type mask of operand instead of overwriting it.
  1253. (lex_got): Convert to ISO C90. Add third parameter. Add new field to
  1254. local structure and initialize gotrel accordingly. Pass caller as
  1255. mask of types that the operator can match.
  1256. (x86_cons_fix_new): Let reloc know that signedness of relocation
  1257. doesn't matter.
  1258. (x86_pe_cons_fix_new): Likewise.
  1259. (x86_cons): Pass additional argument to lex_got.
  1260. (i386_immediate): New local variable 'types'. Pass its address as
  1261. additional argument to lex_got. Mask out operand types not supported
  1262. befoe returning.
  1263. (i386_displacement): Likewise. Set bigdisp to all types supported in
  1264. 64-bit mode, combining the previously split initialization.
  1265. 2005-07-18 Jan Beulich <jbeulich@novell.com>
  1266. * config/tc-i386.c (parse_insn): Reject prefix if unavailable in
  1267. current mode.
  1268. 2005-07-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1269. * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
  1270. promoted match.
  1271. 2005-07-16 Alan Modra <amodra@bigpond.net.au>
  1272. * Makefile.am: Run "make dep-am".
  1273. * Makefile.in: Regenerate.
  1274. 2005-07-15 H.J. Lu <hongjiu.lu@intel.com>
  1275. * gas/config/tc-i386.h (CpuVMX): New.
  1276. (CpuUnknownFlags): Add CpuVMX.
  1277. 2005-07-14 Jim Blandy <jimb@redhat.com>
  1278. Add support for the Renesas M32C.
  1279. * Makefile.am (CPU_TYPES): List m32c.
  1280. (TARGET_CPU_CFILES): List config/tc-m32c.c.
  1281. (TARGET_CPU_HFILES): List config/tc-m32c.h.
  1282. * configure.in: Add case for m32c.
  1283. * configure.tgt: Add cases for m32c and m32c-*-elf.
  1284. * configure: Regenerated.
  1285. * config/tc-m32c.c, config/tc-m32c.h: New files.
  1286. * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
  1287. * doc/Makefile.in: Regenerated.
  1288. * doc/all.texi: Set M32C.
  1289. * doc/as.texinfo: Add text for the M32C-specific options and line
  1290. comment characters, and refer to c-m32c.texi.
  1291. * doc/c-m32c.texi: New file.
  1292. 2005-07-14 Nick Clifton <nickc@redhat.com>
  1293. PR 1069
  1294. * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing
  1295. the ins_parse buffer.
  1296. 2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org>
  1297. * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*,
  1298. i386-*-rtemscoff*, sparc-*-rtemsaout*.
  1299. 2005-07-10 H.J. Lu <hongjiu.lu@intel.com>
  1300. * config/tc-i386.c (optimize_disp): Optimize signed 32bit
  1301. displacements.
  1302. 2005-07-08 Ben Elliston <bje@au.ibm.com>
  1303. * frags.h: Remove ANSI_PROTOTYPES conditional code.
  1304. * config/obj-elf.h: Likewise.
  1305. * config/tc-h8300.h: Likewise.
  1306. * config/tc-h8500.h: Likewise.
  1307. * config/tc-i370.h: Likewise.
  1308. * config/tc-i386.h: Likewise.
  1309. * config/tc-m68hc11.h: Likewise.
  1310. * config/tc-m68k.h: Likewise.
  1311. * config/tc-ppc.h: Likewise.
  1312. * config/tc-s390.h: Likewise.
  1313. * config/tc-sh.h: Likewise.
  1314. * config/tc-sparc.h: Likewise.
  1315. * config/tc-tic30.c: Likewise.
  1316. * config/tc-w65.h: Likewise.
  1317. * config/tc-xtensa.h: Likewise.
  1318. 2005-07-08 Hans-Peter Nilsson <hp@axis.com>
  1319. PR gas/1049
  1320. * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
  1321. 2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1322. * config/tc-tic30.c (debug): Add format attribute. Fix format
  1323. bugs.
  1324. 2005-07-06 H.J. Lu <hongjiu.lu@intel.com>
  1325. * config/tc-i386.c (cpu_arch): Add sse3.
  1326. * config/tc-i386.h (CpuSSE3): Renamed from ...
  1327. (CpuPNI): This. Defined as CpuSSE3.
  1328. * doc/c-i386.texi: Document .sse3.
  1329. 2005-07-06 Jan Beulich <jbeulich@novell.com>
  1330. * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
  1331. 2005-07-05 Nick Clifton <nickc@redhat.com>
  1332. * config/tc-pdp11.c (md_apply_fix): Cast first argument to
  1333. md_chars_to_numbers to an unsigned pointer in order to avoid a
  1334. compile time warning.
  1335. 2005-07-05 Paul Brook <paul@codesourcery.com>
  1336. * config/tc-ppc.c (ppc_target_format): Add VxWorks.
  1337. 2005-07-05 Aldy Hernandez <aldyh@redhat.com>
  1338. * config/tc-ms1.c: New.
  1339. * config/tc-ms1.h: New.
  1340. 2005-07-05 Jan Beulich <jbeulich@novell.com>
  1341. * config/tc-i386.h (CpuSVME): New.
  1342. (CpuUnknownFlags): Include CpuSVME.
  1343. * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
  1344. as alias of sledgehammer.
  1345. (md_assemble): Include invlpga in the check for insns with two source
  1346. operands.
  1347. (process_operands): Include SVME insns in the check for ignored
  1348. segment overrides. Adjust diagnostic.
  1349. (i386_index_check): Special-case SVME insns with memory operands.
  1350. 2005-07-04 Khem Raj <kraj@mvista.com>
  1351. Nick Clifton <nickc@redhat.com>
  1352. * tc-arm.c (struct arm_it): Make operands.imm signed to match its
  1353. use an immediate value.
  1354. (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
  1355. since the register field of the operands structure is unsigned.
  1356. (s_arm_unwind_save_vfp): Make "reg" unsigned.
  1357. (parse_operands): Make the 2ns parameter an unsigned pointer to
  1358. match its use.
  1359. (do_ldrd): When using the imm field of the operands structure as a
  1360. second register field, treat it as unsigned.
  1361. 2005-07-04 Alan Modra <amodra@bigpond.net.au>
  1362. PR 1004
  1363. * config/obj-elf.c (obj_elf_change_section): Use backend
  1364. get_sec_type_attr.
  1365. 2005-07-01 Jan Beulich <jbeulich@novell.com>
  1366. * config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
  1367. (output_spill_psprel, output_spill_psprel_p): Combine.
  1368. (output_spill_sprel, output_spill_sprel_p): Combine.
  1369. (output_spill_reg, output_spill_regp_p): Combine.
  1370. (process_one_record): Handle psp_psprel.
  1371. (parse_predicate_and_operand): New.
  1372. (convert_expr_to_ab_reg): Two new parameters. Return void. Always
  1373. initialize output values. Emit diagnostic case here.
  1374. (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
  1375. (add_unwind_entry): New second parameter. Allow first parameter to
  1376. be NULL. Parse optional tag, emit warning about further support for
  1377. it otherwise being missing. Check end-of-line when requested.
  1378. (dot_fframe): Clear operand when wrong. Allow tag.
  1379. (dot_vframe): Likewise.
  1380. (dot_vframesp): Likewise. Rename parameter, issue warning when psp
  1381. relative.
  1382. (dot_vframepsp): Remove.
  1383. (dot_altrp): Clear operand when wrong. Allow tag.
  1384. (dot_save): Likewise. Let default case also go through
  1385. add_unwind_entry.
  1386. (dot_savemem): Likewise.
  1387. (dot_restore): Don't return when wrong operand. Allow tag.
  1388. (dot_spillreg, dot_spillreg_p): Combine. Simplify by using
  1389. parse_predicate_and_operand and the new arguments to
  1390. convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
  1391. when wrong operand. Allow tag.
  1392. (dot_restorereg, dot_restorereg_p): Likewise.
  1393. (dot_spillmem, dot_spillmem_p): Likewise.
  1394. (dot_saveg): Clear operand when wrong. Perform tighter operand
  1395. checks. Allow tag.
  1396. (dot_savef): Likewise.
  1397. (dot_saveb): Likewise.
  1398. (dot_savegf): Likewise.
  1399. (dot_spill): Remove end-of-line check. Combine. Simplify by using
  1400. parse_predicate_and_operand and the new arguments to
  1401. convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
  1402. when wrong operand. Allow tag.
  1403. (popcount): New.
  1404. (dot_label_state): Don't return when wrong operand.
  1405. (dot_copy_state): Likewise.
  1406. (dot_unwabi): Likewise. Check if in prologue.
  1407. (dot_body): Don't call demand_empty_rest_of_line.
  1408. (dot_prologue): Type of mask and grsave is unsigned. Perform tighter
  1409. operand checks.
  1410. (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
  1411. use dot_spillreg for .spillreg.p. Also use dot_spillmem for
  1412. .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
  1413. (parse_operand): New second parameter. Don't deal with '}' here
  1414. anymore. Don't advance past end-of-line.
  1415. (parse_operands): Pass second argument to parse_operand.
  1416. (ia64_start_line): Prevent out-of-bounds access through
  1417. input_line_pointer. Deal with '}' here.
  1418. (ia64_unrecognized_line): Don't deal with '}' here.
  1419. (dot_alias): Use ignore_rest_of_line not its deprecated alias
  1420. discard_rest_of_line.
  1421. 2005-06-30 Zack Weinberg <zack@codesourcery.com>
  1422. * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
  1423. (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
  1424. (do_t_branch, insns [b, bl]): Don't encode pipeline offset.
  1425. (do_branch): Always set inst.reloc.pc_rel.
  1426. (s_arm_elf_cons): Disallow use of (plt) suffix.
  1427. (do_adrl): Adjust X_add_number unconditionally.
  1428. (md_pcrel_from): Rename md_pcrel_from_section, add second segT
  1429. argument. Handle all adjustment for pipeline offset here.
  1430. (md_apply_fix): No need to undo work of md_pcrel_from. No
  1431. need to extract pre-encoded pipeline adjustments from various
  1432. branch instructions. Generally, assume instructions are already
  1433. all-bits-zero in the field being fixed up. Remove all OBJ_ELF
  1434. special cases. Handle BFD_RELOC_ARM_PLT32 like
  1435. BFD_RELOC_ARM_PCREL_BRANCH.
  1436. (tc_gen_reloc): Remove OBJ_ELF special case.
  1437. * config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
  1438. 2005-06-30 Ben Elliston <bje@gnu.org>
  1439. * Makefile.am (check-DEJAGNU): Don't search for expect.
  1440. * Makefile.in: Regenerate.
  1441. 2005-06-30 Ben Elliston <bje@gnu.org>
  1442. * Makefile.am (EXPECT): Set to expect.
  1443. (RUNTEST): Likewise, set to runtest.
  1444. * Makefile.in: Regenerate.
  1445. 2005-06-23 Ben Elliston <bje@gnu.org>
  1446. * config/m68k-parse.h: Use ISO C90.
  1447. * config/m68k-parse.y: Likewise.
  1448. * config/tc-m68k.h: Likewise.
  1449. 2005-06-20 H.J. Lu <hongjiu.lu@intel.com>
  1450. PR 1013
  1451. * config/tc-i386.c (md_assemble): Don't call optimize_disp on
  1452. movabs.
  1453. (optimize_disp): Optimize only if possible. Don't use 64bit
  1454. displacement on non-constants and do same on constants if
  1455. possible.
  1456. 2005-06-17 Jan Beulich <jbeulich@novell.com>
  1457. * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
  1458. (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
  1459. BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
  1460. (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
  1461. and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
  1462. aborting.
  1463. (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
  1464. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
  1465. (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
  1466. Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
  1467. BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
  1468. BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
  1469. convert 8-byte pc-relative relocations.
  1470. (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
  1471. (i386_validate_fix): Likewise.
  1472. (x86_cons): Also handle quad values in 64-bit mode.
  1473. (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
  1474. (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
  1475. BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
  1476. to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
  1477. 2005-06-13 Zack Weinberg <zack@codesourcery.com>
  1478. * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
  1479. symbolP as well as for names with a leading dot. Use ACONCAT.
  1480. (md_apply_fix): For branch relocations, only replace value
  1481. with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
  1482. (arm_force_relocation): Remove #ifdef OBJ_ELF case.
  1483. * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
  1484. (LOCAL_LABEL_PREFIX): Don't define.
  1485. 2005-06-10 Alan Modra <amodra@bigpond.net.au>
  1486. * config/tc-hppa.c (pa_block): Allocate just one byte for the
  1487. fill pattern.
  1488. 2005-06-08 James E Wilson <wilson@specifixinc.com>
  1489. PR 994
  1490. * config/tc-ia64.c (slot_index): Revert last change. If first_frag
  1491. is NULL, then emit a warning, and return the current index.
  1492. 2005-06-08 Tomas Hurka <tom@hukatronic.cz>
  1493. PR 991
  1494. * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
  1495. temporary copy of the operands array so that changes can be safely
  1496. backed out if the insn does not match.
  1497. (m68k_compare_opcode): Shortcut the test when the parameters are
  1498. the same. Return 1 if the names match but the second opcode is
  1499. further on in the array than the first.
  1500. 2005-06-08 Nick Clifton <nickc@redhat.com>
  1501. PR 994
  1502. * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
  1503. 2005-06-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
  1504. * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
  1505. 2005-06-07 Aldy Hernandez <aldyh@redhat.com>
  1506. Michael Snyder <msnyder@redhat.com>
  1507. Stan Cox <scox@redhat.com>
  1508. * configure.in: Add ms1 case.
  1509. * configure: Regenerate.
  1510. * configure.tgt: Add ms1 case.
  1511. 2005-06-07 Bob Wilson <bob.wilson@acm.org>
  1512. * config/tc-xtensa.h (resource_table): Change units to unsigned chars.
  1513. * config/tc-xtensa.c (new_resource_table): Likewise.
  1514. (resize_resource_table): Likewise.
  1515. (release_resources): Fix assertion for unsigned values.
  1516. 2005-06-07 Zack Weinberg <zack@codesourcery.com>
  1517. * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
  1518. * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
  1519. * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
  1520. * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
  1521. * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
  1522. * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
  1523. * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
  1524. * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
  1525. * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
  1526. * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
  1527. * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
  1528. * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
  1529. * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
  1530. * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
  1531. * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
  1532. * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
  1533. * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
  1534. * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
  1535. * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
  1536. * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
  1537. * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
  1538. * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
  1539. * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
  1540. * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
  1541. * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
  1542. * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
  1543. * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
  1544. * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
  1545. * config/tc-xtensa.c, config/tc-z8k.c:
  1546. Replace all instances of the string "_apply_fix3" with
  1547. "_apply_fix".
  1548. * po/POTFILES.in, po/gas.pot: Regenerate.
  1549. 2005-06-08 Alan Modra <amodra@bigpond.net.au>
  1550. * Makefile.am: Run "make dep-am".
  1551. (POTFILES): Remove GAS_CFILES.
  1552. * Makefile.in: Regenerate.
  1553. 2005-06-07 David Ung <davidu@mips.com>
  1554. * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
  1555. 24kc, 24kf and 24kfx under MIPS32 release 2.
  1556. 2005-06-04 Nick Clifton <nickc@redhat.com>
  1557. * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
  1558. to their Thumb-enabled equivalents.
  1559. 2005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
  1560. * config/tc-mips.c (load_register): Add leading "0x" to the
  1561. output of sprintf_vma().
  1562. (macro): Likewise.
  1563. 2005-06-01 Nick Clifton <nickc@redhat.com>
  1564. * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
  1565. test for the presence of thumb version of the parsing functions
  1566. since they must always exist and the test generates a compile time
  1567. warning message.
  1568. 2005-05-31 Richard Henderson <rth@redhat.com>
  1569. * config/tc-alpha.c (O_lituse_jsrdirect): New.
  1570. (alpha_reloc_op): Add it.
  1571. (debug_exp): Handle it.
  1572. (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
  1573. (emit_insn): Handle it.
  1574. * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
  1575. 2005-05-31 Christian Groessler <chris@groessler.org>
  1576. * write.c (dump_section_relocs): Convert to ISO-C.
  1577. (write_relocs): Avoid signed/unsigned and fprintf argument
  1578. warnings in debug code.
  1579. 2005-05-26 Zack Weinberg <zack@codesourcery.com>
  1580. * config/tc-arm.h (TC_FIX_TYPE): Change to int.
  1581. (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
  1582. * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
  1583. (md_apply_fix3): Delete fix_is_thumb variable; refer to
  1584. fixP->tc_fix_data directly in the sole place it was used.
  1585. Explicitly truncate value, *valP, fixP->fx_addnumber, and
  1586. fixP->fx_offset to 32 bits, for consistent behavior between 32-
  1587. and 64-bit hosts.
  1588. 2005-05-27 Jan Beulich <jbeulich@novell.com>
  1589. * config/tc-ia64.c (struct proc_pending): New.
  1590. (unwind): Replace proc_start with proc_pending.
  1591. (unwind_diagnostic): Check unwind.proc_pending.sym.
  1592. (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
  1593. Check if previous proc not closed. Record all entry points.
  1594. (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
  1595. Set symbol sizes for entry points recorded in dot_proc. Check
  1596. arguments for consistency with respective .proc's.
  1597. (md_assemble): Replace unwind.proc_start with
  1598. unwind.proc_pending.sym.
  1599. 2005-05-27 Jan Beulich <jbeulich@novell.com>
  1600. * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
  1601. and last_ptr. Check all in-use slots for first one with non-NULL
  1602. unwind_record. Don't reload end_ptr before second update round.
  1603. 2005-05-26 James E Wilson <wilson@specifixinc.com>
  1604. * config/tc-ia64.c (extra_goodness): Update comment.
  1605. (md_begin): Add debugging code to print best_template table.
  1606. 2005-05-25 Jan Beulich <jbeulich@novell.com>
  1607. * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
  1608. template.
  1609. 2005-05-25 Jan Beulich <jbeulich@novell.com>
  1610. * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
  1611. BFD_RELOC_UNUSED when determining the width of the reloc.
  1612. 2005-05-25 Jan Beulich <jbeulich@novell.com>
  1613. * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
  1614. section entry.
  1615. 2005-05-25 Jan Beulich <jbeulich@novell.com>
  1616. * config/tc-ia64.c (dot_radix): Rewrite.
  1617. 2005-05-25 Jan Beulich <jbeulich@novell.com>
  1618. * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
  1619. and next_slot_frag.
  1620. (alloc_record): Remove references to next_slot_number and
  1621. next_slot_frag.
  1622. (emit_one_bundle): Likewise.
  1623. 2005-05-22 Nick Clifton <nickc@redhat.com>
  1624. * config/tc-v850.c (md_apply_fix3): Pass the address of the
  1625. message buffer when invoking the insert function.
  1626. 2005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  1627. * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
  1628. only if an instruction match is found.
  1629. 2005-05-20 Bob Wilson <bob.wilson@acm.org>
  1630. * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
  1631. to addition in argument to xtensa_dwarf2_emit_insn.
  1632. 2005-05-19 Zack Weinberg <zack@codesourcery.com>
  1633. * Makefile.am: Have 'all' depend on 'info'.
  1634. * Makefile.in: Regenerate.
  1635. 2005-05-19 Alan Modra <amodra@bigpond.net.au>
  1636. * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
  1637. 2005-05-19 Anton Blanchard <anton@samba.org>
  1638. * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
  1639. (md_show_usage): Document it.
  1640. (ppc_setup_opcodes): Insert POWER5 mnemonics.
  1641. * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
  1642. 2005-05-19 Jan Beulich <jbeulich@novell.com>
  1643. * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
  1644. relocations in unwind section.
  1645. 2005-05-18 Nick Clifton <nickc@redhat.com>
  1646. * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
  1647. if one exists. Ignore any error messages it may produce, just
  1648. allow it to perform the insertion.
  1649. 2005-05-17 Zack Weinberg <zack@codesourcery.com>
  1650. * hash.c (hash_lookup): Add len parameter. All callers changed.
  1651. (hash_find_n): New interface.
  1652. * hash.h: Prototype hash_find_n.
  1653. * sb.c: Include as.h.
  1654. (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
  1655. (sb_scrub_and_add_sb): New interface.
  1656. * sb.h: Prototype sb_scrub_and_add_sb.
  1657. * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
  1658. * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
  1659. reference to BFD_RELOC_ARM_GOT12 which is never generated.
  1660. * config/tc-arm.c: Rewrite, adding Thumb-2 support.
  1661. 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
  1662. * doc/Makefile.am (gasver.texi): Don't use $<.
  1663. * doc/Makefile.in: Regenerated.
  1664. 2005-05-17 Nick Clifton <nickc@redhat.com>
  1665. PR 876
  1666. * symbols.c (resolve_symbol_value): Do not move symbols whose
  1667. value expression has not been resolved or finalized into the
  1668. absolute section as this will confuse other parts of the assembler
  1669. into thinking that their value is zero.
  1670. 2005-05-17 Jan Beulich <jbeulich@novell.com>
  1671. * read.c (_find_end_of_line): New.
  1672. (find_end_of_line): New.
  1673. (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
  1674. (read_a_source_file): Use it.
  1675. (s_globl): Use it.
  1676. (s_macro): Use it.
  1677. (get_line_sb): Use it.
  1678. (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
  1679. (s_comm_internal): Likewise.
  1680. (s_lsym): Likewise.
  1681. (s_macro): Likewise.
  1682. (s_ignore): Use ignore_rest_of_line.
  1683. * read.h (find_end_of_line): Prototype.
  1684. (discard_rest_of_line): Remove prototype. #define to
  1685. ignore_rest_of_line.
  1686. 2005-05-17 Nick Clifton <nickc@redhat.com>
  1687. * config/tc-v850,h (TC_FIX_TYPE): Define.
  1688. (TC_INIT_FIX_TYPE): Define.
  1689. * config/tc-v850.c (md_assemble): When creating a fix record the
  1690. operand in the tc_fix_data field.
  1691. (md_apply_fix3): When applying a resolved fix use the operand's
  1692. insertion procedure to store the value, if the operand has been
  1693. recorded.
  1694. 2005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
  1695. * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
  1696. invocation.
  1697. * Makefile.in: Regenerated.
  1698. 2005-05-13 Sterling Augustine <sterling@tensilica.com>
  1699. Bob Wilson <bob.wilson@acm.org>
  1700. * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
  1701. message.
  1702. (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
  1703. for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
  1704. 2005-05-11 Alan Modra <amodra@bigpond.net.au>
  1705. * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
  1706. BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
  1707. 2005-05-10 Michael Matz <matz@suse.de>
  1708. * frags.c (frag_grow): Don't be too greedy in allocating memory.
  1709. * config/tc-hppa.c (pa_block): Check arguments to .block[z].
  1710. 2005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
  1711. PR binutils/886
  1712. * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
  1713. Handle label-without-colon before ordinary dot-pseudo as an
  1714. ordinary label. Don't leak memory for label-without-colon alone
  1715. on a line. Don't mmixal-munge operands for dot-pseudos.
  1716. 2005-05-10 Jan Beulich <jbeulich@novell.com>
  1717. * macro.c (get_any_string): Remove the two last parameters. Replace
  1718. references to the former expand parameter by using macro_alternate.
  1719. Simplify loop condition for checking for end-of-string.
  1720. (get_string): Remove redunant call to sb_skip_white.
  1721. (do_formals): Remove two last arguments to get_any_string.
  1722. (macro_expand): Likewise.
  1723. (expand_irp): Likewise.
  1724. 2005-05-10 Jan Beulich <jbeulich@novell.com>
  1725. * read.c (s_macro): Move local variable 'local' to smaller scope.
  1726. Call sb_kill on it when done.
  1727. 2005-05-09 Jan Beulich <jbeulich@novell.com>
  1728. * config/tc-i386.c (optimize_disp): Discard displacement entirely
  1729. when zero and not required by encoding constraints.
  1730. 2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
  1731. PR 936
  1732. * config/tc-sh64.c (sh64_fake_label): New.
  1733. * config/tc-sh64.h (TC_FAKE_LABEL): New.
  1734. * doc/internals.texi (TC_FAKE_LABEL): Document.
  1735. * write.c (TC_FAKE_LABEL): New.
  1736. (adjust_reloc_syms): Use it.
  1737. (write_object_file): Likewise.
  1738. 2005-05-09 Jan Beulich <jbeulich@novell.com>
  1739. * config/tc-i386.c (parse_insn): Disallow use of prefix separator
  1740. and comma in Intel mode.
  1741. 2005-05-09 Jan Beulich <jbeulich@novell.com>
  1742. * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
  1743. names to match ABI. Add more registers for 32-bit and 64-bit modes.
  1744. Make name array static and const. Adjust lookup to account for NULL
  1745. entries (standing for unused register numbers).
  1746. 2005-05-09 Jan Beulich <jbeulich@novell.com>
  1747. * config/tc-i386.c (parse_insn): Consider all matching instructions
  1748. when checking for string instruction after string-only prefix.
  1749. 2005-05-07 H.J. Lu <hongjiu.lu@intel.com>
  1750. PR 940
  1751. * config/tc-ia64.c (start_unwind_section): Properly check
  1752. comdat group with SHF_GROUP.
  1753. 2005-05-06 Bob Wilson <bob.wilson@acm.org>
  1754. * doc/c-xtensa.texi (Literal Directive): Spelling correction.
  1755. 2005-05-06 Bob Wilson <bob.wilson@acm.org>
  1756. * config/tc-xtensa.c: Remove excess whitespace.
  1757. * config/tc-xtensa.h: Likewise.
  1758. * config/xtensa-istack.h: Likewise.
  1759. * config/xtensa-relax.c: Likewise.
  1760. * config/xtensa-relax.h: Likewise.
  1761. 2005-05-06 Nick Clifton <nickc@redhat.com>
  1762. * sb.h: Fix formatting of comments.
  1763. * sb.c: Fix formatting of comments.
  1764. 2005-05-06 Jan Beulich <jbeulich@novell.com>
  1765. * sb.h (sb_add_buffer): Reintroduce.
  1766. * sb.c (sb_add_buffer): Likewise.
  1767. 2005-05-06 Jan Beulich <jbeulich@novell.com>
  1768. * macro.c (new_formal, del_formal): New.
  1769. (do_formals): Use new_formal. Check for and parse qualifier. Warn if
  1770. required argument has default value. Stop looking for more formal
  1771. when there was a vararg one.
  1772. (macro_expand_body): Use new_formal and del_formal.
  1773. (macro_expand): Likewise. Initialize local variable err. Don't
  1774. return immediately when encountering an error. Warn when keyword
  1775. argument already had a value assigned. Eliminate duplicate clearing
  1776. of argument value. When current positional argument matches parameter
  1777. of vararg type, assign to it all the remaining arguments. Issue error
  1778. when required parameter does not have value.
  1779. (free_macro): Use del_formal.
  1780. (expand_irp): Initialize formal type. Free buffers associated with
  1781. formal prior to returning.
  1782. * macro.h (struct formal_struct): Add new field 'type' with new
  1783. enumeration type 'formal_type'.
  1784. * doc/as.texinfo: Document macro parameter qualifiers.
  1785. * NEWS: Mention new functionality.
  1786. 2005-05-06 Jan Beulich <jbeulich@novell.com>
  1787. * cond.c (s_ifb): New.
  1788. * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
  1789. * read.h (s_ifb): Prototype.
  1790. * doc/as.texinfo: Document .ifb and .ifnb.
  1791. 2005-05-05 Steve Ellcey <sje@cup.hp.com>
  1792. * config/tc-ia64.c (MIN): Undef.
  1793. 2005-05-05 Paul Brook <paul@codesourcery.com>
  1794. * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
  1795. 2005-05-05 Matt Thomas <matt@3am-software.com>
  1796. * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
  1797. bytes.
  1798. 2005-05-05 Nick Clifton <nickc@redhat.com>
  1799. * Update the address and phone number of the FSF organization in
  1800. the GPL notices in the following files:
  1801. COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
  1802. bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
  1803. dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
  1804. emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
  1805. flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
  1806. input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
  1807. itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
  1808. literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
  1809. output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
  1810. struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
  1811. write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
  1812. config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
  1813. config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
  1814. config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
  1815. config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
  1816. config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
  1817. config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
  1818. config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
  1819. config/obj-multi.h, config/obj-som.c, config/obj-som.h,
  1820. config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
  1821. config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
  1822. config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
  1823. config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
  1824. config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
  1825. config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
  1826. config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
  1827. config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
  1828. config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
  1829. config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
  1830. config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
  1831. config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
  1832. config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
  1833. config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
  1834. config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
  1835. config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
  1836. config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
  1837. config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
  1838. config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
  1839. config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
  1840. config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
  1841. config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
  1842. config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
  1843. config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
  1844. config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
  1845. config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
  1846. config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
  1847. config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
  1848. config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
  1849. config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
  1850. config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
  1851. config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
  1852. config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
  1853. config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
  1854. config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
  1855. config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
  1856. config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
  1857. config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
  1858. config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
  1859. config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
  1860. config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
  1861. config/xtensa-istack.h, config/xtensa-relax.c,
  1862. config/xtensa-relax.h, doc/fdl.texi
  1863. 2005-05-05 Nick Clifton <nickc@redhat.com>
  1864. * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
  1865. the target_big_endian variable to false.
  1866. 2005-05-04 Alan Modra <amodra@bigpond.net.au>
  1867. * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
  1868. list traversal. Use bfd_section_list_prepend.
  1869. * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
  1870. over the section list.
  1871. * config/tc-xtensa.c (xtensa_remove_section): Delete.
  1872. (xtensa_insert_section): Delete.
  1873. (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
  1874. and bfd_section_list_prepend.
  1875. (xtensa_reorder_seg_list): Use bfd_section_list_remove and
  1876. bfd_section_list_insert_after.
  1877. 2005-05-03 Nick Clifton <nickc@redhat.com>
  1878. * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
  1879. of bfd_section_list... macros.
  1880. * config/tc-mmix.c (mmix_frob_file): Likewise.
  1881. * config/tc-xtensa.c (xtensa_remove_section): Likewise.
  1882. (xtensa_insert_section): Likewise.
  1883. * macro.c (macro_hash): Remove static.
  1884. * macro.h (macro_hash): Provide an external declaration.
  1885. 2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
  1886. * write.c (write_object_file): Use bfd_section_double_list_remove
  1887. to remove sections.
  1888. 2005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
  1889. * doc/Makefile.am (gasver.texi): Correct quoting.
  1890. * doc/Makefile.in: Regenerated.
  1891. 2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
  1892. * configure.tgt: Add h8300*-*-rtemscoff.
  1893. Switch h8300*-*-rtems* to elf.
  1894. 2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
  1895. * hash.c: Undo the last change.
  1896. * hash.h: Likewise.
  1897. 2005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
  1898. * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
  1899. of Makefile.
  1900. (DISTCLEANFILES): Remove.
  1901. (MAINTAINERCLEANFILES): Add asconfig.texi.
  1902. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
  1903. 2005-04-29 Ben Elliston <bje@au.ibm.com>
  1904. * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
  1905. (GENERIC_OBJS): Likewise, remove bignum-copy.o.
  1906. (bignum-copy.o): Remove.
  1907. * Makefile.in: Regenerate.
  1908. * makefile.vms (OBJS): Remove bignum-copy.obj.
  1909. * symbols.h (local_symbol_make): Remove declaration.
  1910. (verify_symbol_chain_2): Likewise.
  1911. * symbols.c (local_symbol_make): Make static.
  1912. (max_indent_level): Likewise.
  1913. (verify_symbol_chain_2): Remove.
  1914. * macro.c (macro_hash): Make static.
  1915. * messages.c (fprint_value): Remove.
  1916. * read.h (get_absolute_expr): Remove.
  1917. (emit_leb128_expr): Likewise.
  1918. (do_s_func): Likewise.
  1919. * read.c (do_s_func): Make static.
  1920. (emit_leb128_expr): Likewise.
  1921. (get_absolute_expr): Likewise.
  1922. * as.h (as_howmuch): Remove declaration.
  1923. (fprint_value): Likewise.
  1924. * as.c (myname): Make static.
  1925. * input-scrub.c (as_howmuch): Remove.
  1926. (as_1_char): Likewise.
  1927. * input-file.h (input_file_is_open): Remove.
  1928. * input-file.c (input_file_is_open): Likewise.
  1929. * expr.h (expr_build_unary): Remove declaration.
  1930. (expr_build_binary): Likewise.
  1931. * expr.c (expr_build_unary): Remove.
  1932. (expr_build_binary): Likewise.
  1933. * hash.h (hash_replace): Remove declaration.
  1934. (hash_delete): Likewise.
  1935. * hash.c (hash_replace): Remove.
  1936. (hash_delete): Likewise.
  1937. * bignum-copy.c (bignum_copy): Move from here ..
  1938. * config/tc-vax.c (bignum_copy): .. to here.
  1939. * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
  1940. (bignum_copy): Remove extern declaration.
  1941. * sb.h (string_count): Remove extern declaration.
  1942. (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
  1943. (sb_name): Likewise.
  1944. * sb.c (dsize): Replace preprocessor macro with static int.
  1945. (string_count): Make static.
  1946. (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
  1947. (sb_name): Likewise.
  1948. * config/obj-coff.c (dim_index): Make static.
  1949. * config/tc-i386.c (GOT_symbol): Likewise.
  1950. (output_invalid_buf): Likewise.
  1951. * doc/internals.texi (Warning and error messages): Remove the
  1952. prototype for fprint_value.
  1953. 2005-04-27 Ben Elliston <bje@au.ibm.com>
  1954. * link.cmd: Remove.
  1955. 2005-04-26 H.J. Lu <hongjiu.lu@intel.com>
  1956. * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
  1957. * read.c (pseudo_set): Disallow symbol set to common symbol.
  1958. PR 857
  1959. * write.c (write_object_file): Report common symbol name when
  1960. disallowing local symbol set to common symbol.
  1961. (adjust_reloc_syms): Disallow local symbol set to undefined
  1962. symbol.
  1963. 2005-04-25 Jan Beulich <jbeulich@novell.com>
  1964. * macro.c (macro_expand_body): Replace locals indicator parameters
  1965. with actual macro_entry. New local variables macro_line and err.
  1966. Don't return when encountering an error, just record the fact.
  1967. Detect local symbol name colliding with parameter. Track line number
  1968. inside of macro expansion.
  1969. (do_formals): Move local variable name to wider scope. Check
  1970. parameter of the same name doesn't already exist. In MRI mode, also
  1971. check it doesn't collide with the argument count pseudo-parameter).
  1972. (define_macro): Add file and line number parameters. Remove local
  1973. variable namestr. New local variable error. Initialize macro_entry
  1974. members file, line, and name. Don't return when encountering an
  1975. error, just record the fact. Use %s in some diagnostics for read.c
  1976. to insert the macro name. Free macro_entry on error.
  1977. (macro_expand): Pass macro_entry to macro_epand_body. Don't return
  1978. when encountering an error, just record the fact.
  1979. (expand_irp): Don't return when encountering an error, just record
  1980. the fact.
  1981. * macro.h (macro_struct): New members name, file, and line.
  1982. (define_macro): Add file and line number parameters.
  1983. * read.c (s_macro): Pass file and line to define_macro. Tag warning
  1984. regarding pseudo-op redefinition with the file/line that macro
  1985. definition started at.
  1986. 2005-04-22 Bob Wilson <bob.wilson@acm.org>
  1987. * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
  1988. (future_alignment_required): Remove ifdefs that use it.
  1989. 2005-04-22 Bob Wilson <bob.wilson@acm.org>
  1990. * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
  1991. (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
  1992. (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
  1993. parameters.
  1994. (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
  1995. convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
  1996. 2005-04-21 Christian Groessler <chris@groessler.org>
  1997. * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
  1998. array.
  1999. 2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
  2000. * config/obj-aout.h (S_IS_EXTERN): Removed.
  2001. * config/obj-bout.h (S_IS_EXTERN): Likewise.
  2002. * config/obj-coff.h (S_IS_EXTERN): Likewise.
  2003. * symbols.c (S_IS_EXTERN): Likewise.
  2004. * symbols.h (S_IS_EXTERN): Likewise.
  2005. * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
  2006. S_IS_EXTERNAL.
  2007. * config/tc-d10v.c (md_apply_fix3): Likewise.
  2008. * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
  2009. * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
  2010. * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
  2011. * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
  2012. * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
  2013. (shmedia_md_convert_frag): Likewise.
  2014. * symbols.c (print_symbol_value_1): Likewise.
  2015. * write.c (write_object_file): Likewise.
  2016. 2005-04-20 Nick Clifton <nickc@redhat.com>
  2017. * config/tc-xtensa.c (get_aligned_diff): Change type of
  2018. branch_align to offsetT so that its signedness matches that of
  2019. target_size.
  2020. * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
  2021. number into a readable string.
  2022. (load_register): Likewise.
  2023. 2005-04-20 Andreas Schwab <schwab@suse.de>
  2024. * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
  2025. 2005-04-19 David S. Miller <davem@davemloft.net>
  2026. * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
  2027. NULL insn, exit early. Remove now spurious NULL checks.
  2028. (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
  2029. to NULL and exit.
  2030. 2005-04-19 Jan Beulich <jbeulich@novell.com>
  2031. * symbols.h (symbol_find_base): Remove prototype.
  2032. * symbols.c (save_symbol_name): Remove code section conditional upon
  2033. STRIP_UNDERSCORE.
  2034. (symbol_find): Remove.
  2035. (symbol_find_base): Rename to symbol_find.
  2036. * subsegs.c (section_symbol): Replace use of symbol_find_base with
  2037. symbol_find.
  2038. * config/obj-coff.c (tag_insert): Remove code section conditional
  2039. upon STRIP_UNDERSCORE.
  2040. (obj_coff_def): Likewise.
  2041. (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
  2042. (coff_frob_symbol): Likewise.
  2043. (yank_symbols): Likewise.
  2044. (c_section_symbol): Likewise.
  2045. * config/obj-coff.h (DO_NOT_STRIP): Remove.
  2046. * config/tc-arm.c (symbol_locate): Remove code section conditional
  2047. upon STRIP_UNDERSCORE.
  2048. * config/tc-h8300.h (DO_NOT_STRIP): Remove.
  2049. * config/tc-h8500.h (DO_NOT_STRIP): Remove.
  2050. * config/tc-sh.h (DO_NOT_STRIP): Remove.
  2051. * config/tc-w65.h (DO_NOT_STRIP): Remove.
  2052. * config/tc-z8k.h (DO_NOT_STRIP): Remove.
  2053. 2005-04-19 Andreas Schwab <schwab@suse.de>
  2054. * config/tc-ia64.c (md_assemble): Fix error message for wrong
  2055. access to application registers.
  2056. 2005-04-19 Jan Beulich <jbeulich@novell.com>
  2057. * config/te-sysv32.h: Remove.
  2058. * Makefile.am (TARG_ENV_HFILES): Remove reference to
  2059. config/te-sysv32.h.
  2060. * Makefile.in (TARG_ENV_HFILES): Likewise.
  2061. 2005-04-19 Jan Beulich <jbeulich@novell.com>
  2062. PR/847
  2063. * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
  2064. length symbols.
  2065. 2005-04-18 Mark Kettenis <kettenis@gnu.org>
  2066. * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
  2067. 2005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
  2068. * config/tc-mips.c (normalize_constant_expr): Don't check for
  2069. HAVE_32BIT_GPRS.
  2070. (check_absolute_expr): Only call normalize_constant_expr() if
  2071. HAVE_32BIT_GPRS.
  2072. (mips_ip): Likewise.
  2073. * config/tc-mips.c (check_absolute_expr): Fix formatting.
  2074. 2005-04-18 Jan Beulich <jbeulich@novell.com>
  2075. * macro.c (free_token): New, freeing all the memory associated with a
  2076. macro.
  2077. (do_formals): Move initializers to ...
  2078. (define_macro): ... here.
  2079. (delete_macro): Convert passed in name to lower case. Warn when
  2080. purging macro that doesn't exist. Use hash_jam instead of hash_delete.
  2081. 2005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
  2082. * config/tc-mips.c (normalize_constant_expr): Fix formatting.
  2083. 2005-04-15 Jan Beulich <jbeulich@novell.com>
  2084. * config/obj-elf.c (obj_elf_struct): New.
  2085. (elf_pseudo_table). Use it for .offset and .struct.
  2086. 2005-04-14 Bob Wilson <bob.wilson@acm.org>
  2087. Sterling Augustine <sterling@tensilica.com>
  2088. * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
  2089. than the section alignment.
  2090. 2005-04-14 Bob Wilson <bob.wilson@acm.org>
  2091. H.J. Lu <hongjiu.lu@intel.com>
  2092. * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
  2093. * config/tc-xtensa.c (xg_translate_sysreg_op,
  2094. xtensa_translate_old_userregs_ops,
  2095. xtensa_find_unaligned_branch_targets,
  2096. xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
  2097. relax_frag_add_nop): Support 64-bit host.
  2098. (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
  2099. tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
  2100. 2005-04-14 Mark Kettenis <kettenis@gnu.org>
  2101. * configure.tgt: Add support for OpenBSD/sparc ELF.
  2102. * configure.tgt: Set emulation for mips-*-openbsd*.
  2103. Remove broken mips-dec-openbsd* config.
  2104. * configure.in: Set default ABI for mips64-*-openbsd*.
  2105. * configure: Regenerate.
  2106. 2005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
  2107. * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
  2108. optimization for constant addresses.
  2109. 2005-04-14 Nick Clifton <nickc@redhat.com>
  2110. * as.c (main): Move parse_args before symbol_begin and frag_init
  2111. so that the hash table size can be set before it is used.
  2112. * hash.c: Use an unsigned long type for the size of the hash
  2113. tables.
  2114. * hash.h (set_gas_hash_table_size): Update the prototype.
  2115. 2005-04-14 Alan Modra <amodra@bigpond.net.au>
  2116. * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
  2117. * acinclude.m4: Include ../bfd/warning.m4.
  2118. * configure.in: Invoke AM_BINUTILS_WARNINGS.
  2119. * Makefile.in: Regenerate.
  2120. * configure: Regenerate.
  2121. * doc/Makefile.in: Regenerate.
  2122. 2005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
  2123. * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
  2124. (normalize_address_expr): New function to sign-extend address
  2125. offsets that fit into 32 bits in 32-bit mode.
  2126. (macro_build_ldst_constoffset): Use normalize_address_expr()
  2127. instead of a handcoded sequence.
  2128. (load_register): Likewise. Report oversized numbers in a useful
  2129. way.
  2130. (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
  2131. for constant addresses. Report oversized numbers in a useful way.
  2132. (mips_ip): Use normalize_address_expr() for addresses.
  2133. 2005-04-12 Mark Kettenis <kettenis@gnu.org>
  2134. * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
  2135. similar to other instructions now that they're marked as ImmExt.
  2136. 2005-04-12 Nick Clifton <nickc@redhat.com>
  2137. * hash.c (DEFAULT_SIZE): Delete. Replace with:
  2138. (gas_hash_table_size): New static variable.
  2139. (set_gas_hash_table_size): New function: Records a requested size
  2140. for the hash tables.
  2141. (get_gas_hash_table_size): New function: Return a prime number
  2142. near the requested size of the hash table.
  2143. (hash_new): Use get_gas_hash_table_size.
  2144. * hash.h: Add a prototype for set_gas_hash_table_size.
  2145. * as.c (show_usage): Add description of new switches: --hash-size
  2146. and --reduce-memory-overheads.
  2147. (option_values): Add OPTION_HASH_TABLE_SIZE and
  2148. OPTION_REDUCE_MEMORY_OVERHEADS.
  2149. (std_longpopts): Add entries for the new options.
  2150. (parse_args): Handle the new options.
  2151. * Makefile.am: Add a dependency of as.c on hash.h.
  2152. * Makefile.in: Regenerate.
  2153. * doc/as.texinfo: Document the new switches.
  2154. * NEWS: Mention the new switches.
  2155. 2005-04-12 Nick Clifton <nickc@redhat.com>
  2156. PR gas/818
  2157. * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
  2158. synonyms.
  2159. 2005-04-12 Alan Modra <amodra@bigpond.net.au>
  2160. * Makefile.am: Run "make dep-am".
  2161. * Makefile.in: Regenerate.
  2162. 2005-04-11 Sterling Augustine <sterling@tensilica.com>
  2163. Bob Wilson <bob.wilson@acm.org>
  2164. * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
  2165. 2005-04-11 Mark Kettenis <kettenis@gnu.org>
  2166. * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
  2167. 2005-04-11 Jan Beulich <jbeulich@novell.com>
  2168. * NEWS: Mention these changes and their effects.
  2169. * macro.c (get_token): Use is_name_beginner/is_part_of_name/
  2170. is_name_ender.
  2171. (check_macro): Likewise.
  2172. (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
  2173. labels together with the closing pseudo-op.
  2174. (macro_expand_body): Adjust comment. Range-check input before use.
  2175. Adjust mis-spelled diagnostic. Use is_name_beginner.
  2176. * read.c (try_macro): New.
  2177. (read_a_source_file): New static variable last_eol. Don't list
  2178. macro expansion lines more than once. Call try_macro.
  2179. (s_macro): Set section of line_label to absolute instead of undefined.
  2180. * doc/as.texinfo: Add information on the caveats of these changes.
  2181. 2005-04-11 Alan Modra <amodra@bigpond.net.au>
  2182. * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
  2183. * symbols.h (symbol_X_add_number): Update prototype.
  2184. 2005-04-10 Eric Christopher <echristo@redhat.com>
  2185. * symbols.c (symbol_X_add_number): Fix warning.
  2186. 2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
  2187. * config/tc-m68k.c (md_begin): Support 64bit host.
  2188. (get_num): Support 64bit BFD on 32bit host.
  2189. 2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
  2190. * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
  2191. 2005-04-09 Alan Modra <amodra@bigpond.net.au>
  2192. * read.c (assign_symbol): Remove const from parm. Fix xcalloc
  2193. call. Don't do the COFF hacks for multi-emulation gas. Move
  2194. demand_empty_rest_of_line back to caller.
  2195. (s_set, equals): demand_empty_rest_of_line here.
  2196. PR gas/827
  2197. * as.h (rs_dummy): Define.
  2198. * symbols.c (symbol_X_add_number): New function.
  2199. * symbols.h (symbol_X_add_number): Declare.
  2200. * stabs.c (aout_process_stab): Tidy symbol frag setting.
  2201. * read.c (assign_symbol): New function, split out from s_set.
  2202. Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
  2203. Fix COFF hacks for multi-emulation gas.
  2204. (s_set): Call assign_symbol. Remove "register" keyword.
  2205. (set_zero_frag): New function.
  2206. (pseudo_set): Always check for assignment to section syms.
  2207. Always set segment and frag of symbol, and likewise extern for
  2208. aout/bout. Handle assignment of sym=sym+/-const specially. Don't
  2209. special case exp.X_add_number non-zero for O_symbol expressions.
  2210. (equals): Use assign_symbol.
  2211. 2005-04-08 Bob Wilson <bob.wilson@acm.org>
  2212. * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
  2213. SEC_MERGE sections.
  2214. 2005-04-06 H.J. Lu <hongjiu.lu@intel.com>
  2215. * config/tc-i386.c (tc_gen_reloc): Don't turn
  2216. BFD_RELOC_X86_64_32S into BFD_RELOC_32.
  2217. 2005-04-06 Nick Clifton <nickc@redhat.com>
  2218. * po/rw.po: New translation: Kinyarwanda
  2219. * configure.in (ALL_LINGUAS): Add rw
  2220. * configure: Regenerate.
  2221. 2005-04-05 Sterling Augustine <sterling@tensilica.com>
  2222. Bob Wilson <bob.wilson@acm.org>
  2223. * config/tc-xtensa.c (branch_align_power): New.
  2224. (xtensa_find_unaligned_branch_targets, get_aligned_diff,
  2225. future_alignment_required): Use branch_align_power to check section
  2226. alignment as well as xtensa_fetch_width when aligning branch targets.
  2227. 2005-04-05 Bob Wilson <bob.wilson@acm.org>
  2228. * config/tc-xtensa.c: Warning fixes throughout.
  2229. (xtensa_fetch_width): Change to unsigned.
  2230. (assemble_nop, xtensa_find_unaligned_branch_targets,
  2231. xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
  2232. is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
  2233. min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
  2234. unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
  2235. count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
  2236. get_text_align_max_fill_size, get_text_align_nop_count,
  2237. get_text_align_nth_nop_size, get_noop_aligned_address,
  2238. get_aligned_diff, convert_frag_align_next_opcode,
  2239. convert_frag_immed_finish_loop, xtensa_create_property_segments,
  2240. xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
  2241. types, avoiding size_t and using offsetT and addressT appropriately.
  2242. (get_text_align_power): Clean up types. Avoid incorrect bound.
  2243. (get_text_align_fill_size): Clean up types. Restructure for clarity.
  2244. 2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
  2245. * config/tc-ia64.c (start_unwind_section): Undo the change
  2246. of 2004-08-18.
  2247. (generate_unwind_image, dot_endp): Likewise.
  2248. 2005-04-01 David Mosberger <davidm@hpl.hp.com>
  2249. * config/tc-ia64.c (ia64_handle_align): Move le_nop and
  2250. le_nop_stop arrays and initializers to file scope.
  2251. (md_begin): When generating code for anything other than
  2252. Itanium 1, use MMI instead of MFI NOP bundles as a filler.
  2253. 2005-04-01 Jan Beulich <jbeulich@novell.com>
  2254. * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
  2255. immediates.
  2256. 2005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  2257. * NEWS: Mention [fdgh]_floating.
  2258. * config/atof-vax.c: Fix some whitespace.
  2259. * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
  2260. 2005-04-01 Nick Clifton <nickc@redhat.com>
  2261. * configure.in: Add a check for <unistd.h> providing a prototype
  2262. for getopt() which is compatible with the one in
  2263. include/getopt.h. If so then define HAVE_DECL_GETOPT.
  2264. * configure: Regenerate.
  2265. * config.in (HAVE_DECL_GETOPT): Add.
  2266. 2005-04-01 Jan Beulich <jbeulich@novell.com>
  2267. * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
  2268. 2005-04-01 Jan Beulich <jbeulich@novell.com>
  2269. * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
  2270. (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
  2271. 2005-03-30 Julian Brown <julian@codesourcery.com>
  2272. * config/tc-arm.c (arm_adjust_symtab): Rename
  2273. bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
  2274. 2005-03-30 Julian Brown <julian@codesourcery.com>
  2275. * config/tc-arm.c (mapping_state): Change documentation in function
  2276. comment to cross-reference spec instead. Change type of mapping symbols
  2277. to BSF_NO_TYPE.
  2278. (arm_adjust_symtab): Don't change type of mapping symbols here.
  2279. 2005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
  2280. * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
  2281. * config.in: Regenerate.
  2282. * configure: Regenerate.
  2283. * configure.in: Check for ffs decl and alphabetize.
  2284. 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
  2285. Phil Blundell <philb@gnu.org>
  2286. * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
  2287. (md_apply_fix3): Mark TLS symbols.
  2288. (tc_gen_reloc): Handle TLS relocations.
  2289. (arm_fix_adjustable): Ignore TLS relocations.
  2290. (s_arm_elf_cons): Support expressions after decorated symbols.
  2291. 2005-03-29 Julian Brown <julian@codesourcery.com>
  2292. * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
  2293. whether personality routine index N has been output for this section.
  2294. (mapping_state): tc_segment_info_data now struct not enum.
  2295. (arm_elf_change_section): Likewise, and marked_pr_dependency is now
  2296. handled on section change.
  2297. (create_unwind_entry): Previous code to output dependency removed.
  2298. (s_arm_unwind_fnend): Output dependency if it hasn't been done already
  2299. for this section.
  2300. * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
  2301. arm_segment_info_type.
  2302. (arm_segment_info_type): New struct.
  2303. 2005-03-28 Sterling Augustine <sterling@tensilica.com>
  2304. Bob Wilson <bob.wilson@acm.org>
  2305. * config/tc-xtensa.c (do_align_targets): Update comment.
  2306. (xtensa_frob_label): Compute "freq" before possibly switching frags.
  2307. Insert a LOOP_END frag before every loop target, and do not overload
  2308. DESIRE_ALIGN_IF_TARGET frags with loop end information.
  2309. (xg_assemble_vliw_tokens): Use do_align_targets.
  2310. (xtensa_fix_target_frags): Remove code to convert a
  2311. DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
  2312. negatable branch at the end of a loop.
  2313. (frag_can_negate_branch): Delete.
  2314. 2005-03-28 David Mosberger <davidm@hpl.hp.com>
  2315. H.J. Lu <hongjiu.lu@intel.com>
  2316. PR 803
  2317. NEWS: Mention "-mtune=[itanium1|itanium2]".
  2318. * config/tc-ia64.c (md): Add tune.
  2319. (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
  2320. (md_show_usage): Add "-mtune=[itanium1|itanium2]".
  2321. (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
  2322. B unit NOPs are discouraged for McKinley-derived cores.
  2323. (md_begin): Don't hardcode the "extra_goodness()" function in
  2324. the comment...
  2325. (ia64_init): Set md.tune to itanium2.
  2326. * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
  2327. * doc/c-ia64.texi: Likewise.
  2328. 2005-03-27 Ian Lance Taylor <ian@airs.com>
  2329. * config/obj-coff.c (coff_frob_symbol): When crashing because of a
  2330. bad C_EFCN symbol, print its name.
  2331. 2005-03-25 Bob Wilson <bob.wilson@acm.org>
  2332. * config/tc-xtensa.c (use_longcalls): Delete.
  2333. (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
  2334. the use_longcalls flag is set. Do this before checking the segment.
  2335. (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
  2336. expand direct calls at this point.
  2337. (xtensa_set_frag_assembly_state): Set use_longcalls flag.
  2338. (xtensa_find_unmarked_state_frags): Likewise.
  2339. (md_assemble): Do not disable longcalls by setting is_specific_opcode.
  2340. (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
  2341. (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
  2342. * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
  2343. 2005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
  2344. * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
  2345. 2005-03-25 Hans-Peter Nilsson <hp@axis.com>
  2346. * config/tc-cris.h: Convert to ISO C90.
  2347. * config/tc-cris.c: Ditto.
  2348. (md_estimate_size_before_relax): Remove obsolete comment for
  2349. parameter "segment_type".
  2350. (md_begin): Document reason for cast of hash_insert argument.
  2351. (md_atof): Correct type of parameter "type".
  2352. 2005-03-24 Nick Clifton <nickc@redhat.com>
  2353. * write.h (bit_fix_new): Remove redundant prototype.
  2354. * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
  2355. * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
  2356. * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
  2357. * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
  2358. * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
  2359. * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
  2360. * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
  2361. * config/obj-som.c: Convert to ISO-C90 and fix formatting.
  2362. * config/obj-som.h: Convert to ISO-C90 and fix formatting.
  2363. * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
  2364. * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
  2365. * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
  2366. * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
  2367. * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
  2368. * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
  2369. * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
  2370. * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
  2371. * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
  2372. * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
  2373. * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
  2374. * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
  2375. * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
  2376. * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
  2377. * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
  2378. * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
  2379. * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
  2380. * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
  2381. * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
  2382. * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
  2383. * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
  2384. * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
  2385. * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
  2386. * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
  2387. * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
  2388. * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
  2389. * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
  2390. * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
  2391. * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
  2392. * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
  2393. * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
  2394. * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
  2395. * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
  2396. * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
  2397. * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
  2398. * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
  2399. * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
  2400. * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
  2401. * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
  2402. * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
  2403. * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
  2404. * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
  2405. * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
  2406. * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
  2407. * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
  2408. * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
  2409. 2005-03-23 Jim Blandy <jimb@redhat.com>
  2410. * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
  2411. attributes properly.
  2412. 2005-03-23 Mike Frysinger <vapier@gentoo.org>
  2413. Nick Clifton <nickc@redhat.com>
  2414. * configure.tgt: Accept any C library to accompany a GNU Linux
  2415. implementation, not just the GNU C library.
  2416. * configure.in: Likewise.
  2417. * configure: Regenerate.
  2418. 2005-03-23 Nick Clifton <nickc@redhat.com>
  2419. * config/tc-tic30.c: Convert to ISO C90 formatting.
  2420. * config/tc-tic30.h: Convert to ISO C90 formatting.
  2421. * config/tc-pdp11.c: Convert to ISO C90 formatting.
  2422. * config/atof-vax.c: Convert to ISO C90 formatting.
  2423. 2005-03-21 Maciej W. Rozycki <macro@mips.com>
  2424. * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
  2425. relocations correctly as well.
  2426. (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
  2427. relocations in mergeable sections section-relative either.
  2428. 2005-03-21 Bob Wilson <bob.wilson@acm.org>
  2429. * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
  2430. 2005-03-21 Nick Clifton <nickc@redhat.com>
  2431. * config/tc-sh.c (sh_elf_final_processing): Fix compile time
  2432. warning by providing a prototype for sh_symbian_find_elf_flags.
  2433. * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
  2434. previous delta.
  2435. 2005-03-21 Alan Modra <amodra@bigpond.net.au>
  2436. * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
  2437. along with other formats that set bfd_gas. Remove unnecessary
  2438. setting of bfd_gas. Delete strongarm cases in generic_target
  2439. switch.
  2440. 2005-03-21 Alan Modra <amodra@bigpond.net.au>
  2441. PR gas/780
  2442. * config/tc-m68k.c (TRUNC, SEXT): Define.
  2443. (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
  2444. (m68k_ip): Truncate or sign extend expressions as appropriate.
  2445. (get_num): Likewise.
  2446. (md_apply_fix3): Use SEXT.
  2447. 2005-03-21 Alan Modra <amodra@bigpond.net.au>
  2448. * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
  2449. (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
  2450. (obj-vms.o): Delete rule.
  2451. Run "make dep-am".
  2452. * Makefile.in: Regenerate.
  2453. * aclocal.m4: Regenerate.
  2454. * doc/Makefile.in: Regenerate.
  2455. * po/POTFILES.in: Regenerate.
  2456. 2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
  2457. * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
  2458. flag for coldfire v4e.
  2459. 2005-03-17 Bob Wilson <bob.wilson@acm.org>
  2460. * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
  2461. xg_apply_fix_value and return a value to indicate success.
  2462. (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
  2463. (xtensa_force_relocation): Remove checks for VTABLE relocs.
  2464. (xtensa_validate_fix_sub): New.
  2465. (xtensa_fix_adjustable): Remove check for external or weak symbols.
  2466. (tc_gen_reloc): Move code to handle difference of symbols and code to
  2467. apply tentative fix values to ...
  2468. (md_apply_fix3): ...here. Enable standard overflow checks for simple
  2469. 8, 16, and 32 bit relocations. Apply fixes for slot-specific
  2470. relocations when linkrelax flag is not set.
  2471. * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
  2472. (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
  2473. 2005-03-17 Jan Beulich <jbeulich@novell.com>
  2474. * config/tc-i386.c (i386_scale): Beautify error message.
  2475. (Intel syntax comments): Update.
  2476. (struct intel_parser_s): Add fields in_offset, in_bracket, and
  2477. next_operand.
  2478. (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
  2479. Remove declarations.
  2480. (intel_bracket_expr): Declare.
  2481. (i386_intel_operand): Initialize new intel_parser fields. Wrap most
  2482. of the function body in a loop allowing to split an operand into two.
  2483. Replace calls to malloc and checks of it returning non-NULL with
  2484. calls to xmalloc/xstrdup.
  2485. (intel_expr): SHORT no longer handled here. Add comment indicating
  2486. comparison ops need implementation.
  2487. (intel_e04, intel_e04_1): Combine, replace recursion with loop.
  2488. Check right operand of - does not specify a register when parsing
  2489. the address of a memory reference.
  2490. (intel_e05, intel_e05_1): Combine, replace recursion with loop.
  2491. Check operands do not specify a register when parsing the address of
  2492. a memory reference.
  2493. (intel_e06, intel_e06_1): Likewise.
  2494. (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
  2495. handle SHORT as well as unary + and -. Don't accept : except for
  2496. segment overrides or in direct far jump/call insns.
  2497. (intel_brack_expr): New.
  2498. (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
  2499. intel_brack_expr.
  2500. (intel_e11): Replace chain of if/else-if by switch, alloing fall-
  2501. through in certain cases. Use intel_brack_expr. Add new diagnostics.
  2502. Allow symbolic constants as register scale value.
  2503. (intel_get_token): Replace call to malloc and check of return value
  2504. with call to xmalloc. Change handling for FLAT to match MASM's.
  2505. (intel_putback_token): Don't try to back up/free current token if
  2506. that is T_NIL.
  2507. 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
  2508. * configure.tgt: Set emulation for arm-*-eabi*.
  2509. * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
  2510. * config/te-armeabi.h: New file.
  2511. * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
  2512. * config/te-symbian.h: Include "te-armeabi.h".
  2513. 2005-03-16 Nick Clifton <nickc@redhat.com>
  2514. * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
  2515. local variable in case it is clobbered by the setjmp.
  2516. 2005-03-16 Nick Clifton <nickc@redhat.com>
  2517. Ben Elliston <bje@au.ibm.com>
  2518. * configure.in (werror): New switch: Add -Werror to the
  2519. compiler command line. Enabled by default. Disable via
  2520. --disable-werror.
  2521. * configure: Regenerate.
  2522. 2005-03-16 Nick Clifton <nickc@redhat.com>
  2523. * config/obj-coff.h: Convert to ISO C90 formatting.
  2524. * config/obj-coff.c: Convert to ISO C90 formatting.
  2525. 2005-03-15 Zack Weinberg <zack@codesourcery.com>
  2526. * config/tc-arm.c (do_mla): Rename to do_mlas, take second
  2527. is_mls parameter; do not diagnose Rm==Rd when is_mls.
  2528. (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
  2529. (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
  2530. (insns): Add ARMv6T2 instructions:
  2531. bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
  2532. (arm_archs): Add V6T2 variants.
  2533. 2005-03-15 Nick Clifton <nickc@redhat.com>
  2534. * NEWS: Add cutoff for changes in 2.16 release.
  2535. 2005-03-15 Jan Beulich <jbeulich@novell.com>
  2536. * expr.c (operand): Merge handling of unary + into that for unary
  2537. -, !, and ~.
  2538. 2005-03-14 Eric Christopher <echristo@redhat.com>
  2539. * config/tc-mips.c: Include dw2gencfi.h.
  2540. (mips_cfi_frame_initial_instructions): New.
  2541. * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
  2542. (tc_cfi_frame_initial_instructions): Ditto.
  2543. (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
  2544. (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
  2545. * Makefile.am: Update dependencies.
  2546. * Makefile.in: Regenerate.
  2547. 2005-03-15 Alan Modra <amodra@bigpond.net.au>
  2548. * po/es.po: Commit new Spanish translation.
  2549. 2005-03-14 Alan Modra <amodra@bigpond.net.au>
  2550. * po/tr.po: Commit new Turkish translation.
  2551. 2005-03-12 Zack Weinberg <zack@codesourcery.com>
  2552. * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
  2553. wfi, yield.
  2554. 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
  2555. * config-gas.com: Mark vax-vms as obsolete.
  2556. * configure.in: Remove fmt=vms support.
  2557. * config.in: Regenerate.
  2558. * configure: Regenerate.
  2559. * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
  2560. 2005-03-10 Sterling Augustine <sterling@tensilica.com>
  2561. Bob Wilson <bob.wilson@acm.org>
  2562. * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
  2563. when checking if xg_resolve_literals needs to be called.
  2564. * config/tc-xtensa.h: Fix spelling typo in a comment.
  2565. 2005-03-10 Jan Beulich <jbeulich@novell.com>
  2566. * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
  2567. * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
  2568. crafted structure declarations with the types from macro.h.
  2569. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2570. * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
  2571. for -mno-shared optimization.
  2572. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2573. * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
  2574. (MAX_NOPS): Bump to 4.
  2575. (mips_fix_vr4130): New variable.
  2576. (nops_for_vr4130): New function.
  2577. (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
  2578. nops_for_vr4130 if working around VR4130 errata.
  2579. (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
  2580. (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
  2581. (md_parse_option): Handle them.
  2582. (md_show_usage): Print them.
  2583. * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
  2584. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2585. * config/tc-mips.c (append_insn): Remove cop_interlocks test from
  2586. branch delay code.
  2587. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2588. * config/tc-mips.h (mips_flush_pending_output): Delete.
  2589. (mips_emit_delays): Declare.
  2590. (md_flush_pending_output): Use mips_emit_delays.
  2591. * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
  2592. the previous instructions.
  2593. (md_begin, append_insn, md_parse_option): Update callers.
  2594. (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
  2595. start_noreorder.
  2596. (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
  2597. (s_gpdword): Update callers.
  2598. (start_noreorder, end_noreorder): New functions.
  2599. (macro, macro2, mips16_macro, s_mipsset): Use them instead of
  2600. manipulating mips_opts or prev_nop_frag directly.
  2601. (mips_flush_pending_output): Delete.
  2602. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2603. * config/tc-mips.c (mips_move_labels): New function, taken from...
  2604. (append_insn, mips_emit_delays): ...here.
  2605. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2606. * config/tc-mips.c (MAX_NOPS): New macro.
  2607. (history): Resize to 1 + MAX_NOPS.
  2608. (fix_vr4120_class): New enumeration.
  2609. (vr4120_conflicts): New variable.
  2610. (init_vr4120_conflicts): New function.
  2611. (md_begin): Call it.
  2612. (insn_uses_reg): Constify first argument.
  2613. (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
  2614. (nops_for_insn_or_target): New functions.
  2615. (append_insn): Use the new nops_for_* functions instead of inline
  2616. delay checks. Generalize prev_nop_frag handling to handle an
  2617. arbitrary history length. Insert nops into the history buffer
  2618. once the number of nops in prev_nop_frag is fixed.
  2619. (emit_delays): Use nops_for_insn instead of inline delay checks.
  2620. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2621. * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
  2622. check from branch delay code. Remove unnecessary check for branches.
  2623. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2624. * config/tc-mips.c (dummy_opcode): Delete.
  2625. (nop_insn, mips16_nop_insn): New variables.
  2626. (NOP_INSN): New macro.
  2627. (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
  2628. (add_relaxed_insn, insert_into_history, emit_nop): New functions.
  2629. (md_begin): Initialize nop_insn and mips16_nop_insn.
  2630. (append_insn): Use the new emit_nop function to add nops, recording
  2631. them in the history buffer. Use add_fixed_insn or add_relaxed_insn
  2632. to reserve room for the instruction and install_insn to install the
  2633. final form. Use insert_into_history to record the instruction in
  2634. the history buffer. Use move_insn to do delay slot filling.
  2635. (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
  2636. (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
  2637. (mips16_ip): Use create_insn to initialize mips_cl_insns.
  2638. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2639. * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
  2640. (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
  2641. (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
  2642. (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
  2643. (mips16_ip): Use the new macros instead of explicit masks and shifts.
  2644. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2645. * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
  2646. and extended_p fields with a single fixed_p field.
  2647. (append_insn, mips_no_prev_insn): Adjust accordingly.
  2648. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2649. * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
  2650. a single mips16_absolute_jump_p bit.
  2651. (append_insn): Adjust accordingly.
  2652. 2005-03-09 Richard Sandiford <rsandifo@redhat.com>
  2653. * config/tc-mips.h (mips_cl_insn): Move definition to...
  2654. * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
  2655. frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
  2656. and extended_p.
  2657. (history): New variable.
  2658. (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
  2659. (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
  2660. (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
  2661. (prev_prev_insn_unreordered): Delete.
  2662. (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
  2663. (macro_start): Replace uses of prev_insn* with the equivalent history[]
  2664. field.
  2665. 2005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
  2666. * doc/Makefile.am: Update as.info dependencies.
  2667. * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
  2668. 2005-03-08 Jan Beulich <jbeulich@novell.com>
  2669. * doc/as.texinfo: Add sentence to indicate redefining a macro is an
  2670. error, and point to .purgem documentation if someone really needs
  2671. re-definitions.
  2672. * NEWS: Mention macro redefinition is now an error.
  2673. 2005-03-08 Jan Beulich <jbeulich@novell.com>
  2674. * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
  2675. emitted to. Add more precise diagnostics for non-fitting insns based
  2676. on that. Eliminate now superfluous special casing of MLX. Clear out
  2677. slot information when dropping an insn.
  2678. 2005-03-08 Jan Beulich <jbeulich@novell.com>
  2679. * config/tc-ia64.c (parse_section_name): Rename to...
  2680. (cross_section): In addition to separating the name from the rest of
  2681. the arguments, also carry out the operation.
  2682. (dot_xdata): Use cross_section.
  2683. (dot_float_cons): Likewise.
  2684. (dot_xstringer): Likewise.
  2685. (dot_xdata_ua): Likewise.
  2686. (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
  2687. 2005-03-05 Alan Modra <amodra@bigpond.net.au>
  2688. * po/gas.pot: Regenerate.
  2689. 2005-03-04 David Daney <ddaney@avtrex.com>
  2690. * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
  2691. instead of '_gp' for -mno-shared optimization.
  2692. (s_cpload): Ditto.
  2693. (s_abicalls): Document it in the comment.
  2694. (md_show_usage): Document the -mno-shared option.
  2695. 2005-03-04 Richard Sandiford <rsandifo@redhat.com>
  2696. * config/tc-mips.c (mips_set_options): Add sym32 field.
  2697. (mips_opts): Initialize it.
  2698. (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
  2699. (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
  2700. (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
  2701. (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
  2702. when deciding whether to use a symbolic %highest/%higher expansion.
  2703. (macro): Likewise. Remove o64/n32 linux hack. Always use
  2704. ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
  2705. and "la". Handle constants separately from symbolic expressions in
  2706. the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
  2707. and using load_register to load the high part of the address.
  2708. (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
  2709. (OPTION_ELF_BASE): Bump by 2.
  2710. (md_longopts): Add entries for -msym32 and -mno-sym32.
  2711. (md_parse_option): Handle them.
  2712. (usage): Document them.
  2713. (s_mipsset): Handle ".set sym32" and ".set nosym32".
  2714. (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
  2715. HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
  2716. * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
  2717. -msym32 and -mno-sym32.
  2718. 2005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  2719. * config/tc-mips.c (load_address): Implement GP optimization
  2720. for 64bit address space non-PIC. Fix formatting.
  2721. (macro): Likewise. Simplify code.
  2722. (md_parse_option): Don't bail out if -G 0 is set for PIC code.
  2723. (mips_after_parse_args): Simplify code.
  2724. 2005-03-03 Nick Clifton <nickc@redhat.com>
  2725. * expr.c (operand): Remove redundant code enclosed by #ifdef
  2726. RELAX_PAREN_GROUPING....#endif.
  2727. * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
  2728. reloc is the difference of two symbols defined in the same
  2729. section.
  2730. * config/tc-iq2000.c (line_comment_chars): Include the # character
  2731. as otherwise this breaks #APP/#NO_APP processing.
  2732. 2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
  2733. * config/tc-arc.c(md_assemble): Remove dead code for handling
  2734. immediate indexing of ld and st .
  2735. 2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
  2736. Joseph Myers <joseph@codesourcery.com>
  2737. * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
  2738. %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
  2739. (parse_relocation): Check for a word break after a relocation
  2740. operator.
  2741. (md_apply_fix3): Handle TLS relocations, and mark thread-local
  2742. symbols.
  2743. 2005-03-02 Alan Modra <amodra@bigpond.net.au>
  2744. * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
  2745. 2005-03-02 Jan Beulich <jbeulich@novell.com>
  2746. * as.c (main): Use unlink_if_ordinary instead of unlink.
  2747. * messages.c (as_fatal): Likewise.
  2748. 2005-03-02 Jan Beulich <jbeulich@novell.com>
  2749. * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
  2750. accesses.
  2751. (parse_register): Allow cr8...15 in all modes.
  2752. 2005-03-02 Jan Beulich <jbeulich@novell.com>
  2753. * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
  2754. etc. like normal symbol references (T_ID).
  2755. 2005-03-02 Alan Modra <amodra@bigpond.net.au>
  2756. * symbols.c (fb_label_name): Fix silly thinko in last change.
  2757. 2005-03-02 Alan Modra <amodra@bigpond.net.au>
  2758. * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
  2759. * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
  2760. * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
  2761. 2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
  2762. PR gas/708
  2763. * config/tc-arc.c (md_assemble): Initialize suffix for extension
  2764. suffixes also.
  2765. 2005-03-01 Alan Modra <amodra@bigpond.net.au>
  2766. * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
  2767. * as.h (assert): Warning fix.
  2768. * expr.c (expr): Correct assertion.
  2769. * read.c (s_comm_internal): Remove assertion.
  2770. * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
  2771. (fixup_segment): Remove assertion.
  2772. * config/tc-dlx.c (machine_ip): Remove untrue assertions.
  2773. (md_apply_fix3): Likewise.
  2774. * config/tc-i370.c (md_begin): Correct assertion.
  2775. (i370_macro): Warning fix for assertion.
  2776. 2005-03-01 Alan Modra <amodra@bigpond.net.au>
  2777. * configure.in (AC_C_BIGENDIAN): Invoke.
  2778. * configure: Regenerate.
  2779. * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
  2780. host variable to set string header size.
  2781. * config/obj-aout.c (obj_header_append): Don't use host structs.
  2782. (obj_symbol_to_chars): Likewise.
  2783. (obj_emit_strings): Likewise. Use the passed in output pointer.
  2784. * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
  2785. * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
  2786. not sizeof host struct.
  2787. (obj_header_append, obj_symbol_to_chars): Don't use host structs.
  2788. (obj_emit_strings): Likewise.
  2789. * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
  2790. (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
  2791. sizeof host struct.
  2792. (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
  2793. sizeof host struct.
  2794. (host_number_to_chars): Define.
  2795. * config/obj-hp300.c (hp300_header_append): Don't use sizeof
  2796. host internal struct to set header sizes.
  2797. * config/tc-i960.c (md_number_to_field): Warning fix.
  2798. (md_ri_to_chars): Use host byte order.
  2799. (get_cdisp, md_apply_fix3): Warning fix.
  2800. * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
  2801. 2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
  2802. * doc/c-arc.texi: Update documentation about ARC's extension
  2803. instructions.
  2804. 2005-02-27 Svein E. Seldal <svein@dev.seldal.com>
  2805. * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
  2806. address for myself.
  2807. 2005-02-23 Alan Modra <amodra@bigpond.net.au>
  2808. * cgen.c: Warning fixes.
  2809. * config/tc-arc.c: Likewise.
  2810. * config/tc-arm.c: Likewise.
  2811. * config/tc-avr.c: Likewise.
  2812. * config/tc-d10v.c: Likewise.
  2813. * config/tc-d30v.c: Likewise.
  2814. * config/tc-frv.c: Likewise.
  2815. * config/tc-frv.h: Likewise.
  2816. * config/tc-h8300.c: Likewise.
  2817. * config/tc-h8500.c: Likewise.
  2818. * config/tc-i370.c: Likewise.
  2819. * config/tc-i960.c: Likewise.
  2820. * config/tc-ia64.c: Likewise.
  2821. * config/tc-ip2k.c: Likewise.
  2822. * config/tc-m68hc11.c: Likewise.
  2823. * config/tc-maxq.c: Likewise.
  2824. * config/tc-mcore.c: Likewise.
  2825. * config/tc-mips.c: Likewise.
  2826. * config/tc-msp430.c: Likewise.
  2827. * config/tc-pj.c: Likewise.
  2828. * config/tc-ppc.c: Likewise.
  2829. * config/tc-ppc.h: Likewise.
  2830. * config/tc-s390.c: Likewise.
  2831. * config/tc-sh.c: Likewise.
  2832. * config/tc-sh64.c: Likewise.
  2833. * config/tc-tic4x.c: Likewise.
  2834. * config/tc-tic80.c: Likewise.
  2835. * config/tc-v850.c: Likewise.
  2836. * config/tc-vax.c: Likewise.
  2837. * config/tc-w65.c: Likewise.
  2838. * config/tc-xstormy16.c: Likewise.
  2839. * config/tc-z8k.c: Likewise.
  2840. 2005-02-22 Catherine Moore <clm@cm00re.com>
  2841. * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
  2842. * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
  2843. 2005-02-22 Eric Christopher <echristo@redhat.com>
  2844. * config/tc-mips.c (struct proc): Change isym to
  2845. func_sym. New member func_end_sym.
  2846. (s_mips_ent): Update.
  2847. (s_mips_end): Ditto. Add code to compute function size.
  2848. 2005-02-22 Alan Modra <amodra@bigpond.net.au>
  2849. * read.c: Warning fixes.
  2850. * config/obj-elf.c: Likewise.
  2851. 2005-02-22 Maciej W. Rozycki <macro@mips.com>
  2852. * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
  2853. emitting insn.
  2854. 2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
  2855. * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
  2856. SEC_COFF_SHARED.
  2857. * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
  2858. SEC_TIC54X_BLOCK.
  2859. (demand_empty_rest_of_line): Likewise.
  2860. (tic54x_sblock): Likewise.
  2861. (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
  2862. 2005-02-21 Alan Modra <amodra@bigpond.net.au>
  2863. * read.c (address_bytes): New function.
  2864. (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
  2865. (potable): Add "dc.a".
  2866. (cons_worker): Handle "dc.a".
  2867. * doc/internals.texi (TC_ADDRESS_BYTES): Document.
  2868. 2005-02-21 Alan Modra <amodra@bigpond.net.au>
  2869. * input-file.c (input_file_open): Rearrange to avoid warning.
  2870. 2005-02-19 Alan Modra <amodra@bigpond.net.au>
  2871. * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
  2872. * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
  2873. * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
  2874. 2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  2875. * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
  2876. uses after .set noat.
  2877. (load_address): Likewise.
  2878. (macro): Likewise. Don't try to avoid $at use by sacrificing
  2879. the target register before it is stored, it won't work.
  2880. 2005-02-17 James E Wilson <wilson@specifixinc.com>
  2881. * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
  2882. see an instruction that specifies a template.
  2883. 2005-02-18 Alan Modra <amodra@bigpond.net.au>
  2884. * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
  2885. * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
  2886. * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
  2887. 2005-02-17 H.J. Lu <hongjiu.lu@intel.com>
  2888. * NEWS: Mention "-mhint.b=[ok|warning|error]".
  2889. * config/tc-ia64.c (md): Add hint_b.
  2890. (emit_one_bundle): Handle md.hint_b for "hint".
  2891. (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
  2892. (md_show_usage): Add "-mhint.b=[ok|warning|error]".
  2893. (ia64_init): Set md.hint_b to error.
  2894. (md_assemble): Handle md.hint_b for "hint.b".
  2895. * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
  2896. * doc/c-ia64.texi: Likewise.
  2897. 2005-02-17 Alan Modra <amodra@bigpond.net.au>
  2898. * tc.h (struct relax_type, relax_typeS): Move from here..
  2899. * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
  2900. * ecoff.c (ecoff_new_file): Add appfile param.
  2901. * ecoff.h (ecoff_new_file): Likewise.
  2902. * itbl-lex.h: New file.
  2903. * itbl-lex.l: Include itbl-lex.h.
  2904. * itbl-parse.y: Likewise.
  2905. (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
  2906. * read.c (s_app_file_string): Mark appfile possibly unused.
  2907. * subsegs.c (seg_not_empty_p): Make sec possibly unused.
  2908. * subsegs.h (struct seg_info_trash): Delete.
  2909. (seg_info): Use segment_info_type instead.
  2910. * config/obj-coff.c (struct filename_list): Make filename const char *.
  2911. * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
  2912. * config/obj-elf.c (elf_file_symbol): Similarly.
  2913. * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
  2914. signed right shift.
  2915. * config/tc-arc.c (md_operand): Warning fix.
  2916. * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
  2917. (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
  2918. * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
  2919. * config/tc-frv.c (frv_force_relocation): Warning fix.
  2920. * config/tc-m68k.c (md_parse_option): Delete unused var.
  2921. * config/tc-mcore.c (mylog2): Rename from log2 throughout.
  2922. * config/tc-sparc.c: Likewise.
  2923. (s_common): Warning fix.
  2924. * config/tc-mips.c (append_insn): Use unsigned long long expressions.
  2925. * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
  2926. addressT.
  2927. * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
  2928. * config/tc-sh.c (sh_cfi_frame_initial_instructions,
  2929. sh_regname_to_dw2regnum): Only define for OBJ_ELF.
  2930. * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
  2931. (tic4x_do_align): Use TIC_NOP_OPCODE.
  2932. * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
  2933. * config/tc-vax.c: Include netinet/in.h.
  2934. (tc_headers_hook): Formatting.
  2935. * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
  2936. 2005-02-17 Jan Beulich <jbeulich@novell.com>
  2937. * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
  2938. parsing inN, locN, outN. Set 'idx' to offset register number starts
  2939. at. Don't handle numbers with leading zeroes or beyond 95. Remove
  2940. pointless cast.
  2941. 2005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  2942. * config/tc-mips.c (load_address): Fix formatting.
  2943. (macro): Don't use AT if .set noat is in effect. Fix formatting.
  2944. Catch macros which are unexpandable without AT. Remove duplicate
  2945. zeroing of used_at.
  2946. (macro2): Remove duplicate zeroing of used_at.
  2947. 2005-02-16 Alan Modra <amodra@bigpond.net.au>
  2948. * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
  2949. than zero.
  2950. 2005-02-15 Nigel Stephens <nigel@mips.com>
  2951. Maciej W. Rozycki <macro@mips.com>
  2952. * config/tc-mips.c (reloc_needs_lo_p): Handle
  2953. BFD_RELOC_MIPS16_HI16_S.
  2954. (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
  2955. (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
  2956. and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
  2957. complaints on.
  2958. (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
  2959. BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
  2960. Call my_getSmallExpression() to parse percent operators.
  2961. (percent_op_match, mips_percent_op): Separate definitions.
  2962. (mips16_percent_op): Define percent operators for the MIPS16 mode.
  2963. (parse_relocation): Handle the MIPS16 mode using
  2964. mips16_percent_op.
  2965. (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
  2966. BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
  2967. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  2968. * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
  2969. instead of explicitly dealing with the translation; exclude
  2970. relocations that are already pcrel, however.
  2971. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  2972. * config/tc-ia64.c: Include limits.h (if available).
  2973. (gr_values[0]): Set path to INT_MAX.
  2974. (dot_reg_val): Don't allow changing value of r0. Limit range of
  2975. general registers at r127.
  2976. (specify_resource): Default resource index is -1. Don't set resource
  2977. index (in case IA64_RS_RSE) without setting the specific flag.
  2978. (note_register_values): Check operand is O_constant before tracking
  2979. input value of moves. Add tracking for dep.z with constant inputs.
  2980. (print_dependency): Resource index of specific resource may be zero.
  2981. (check_dependencies): Likewise.
  2982. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  2983. * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
  2984. reg_class. Check operands and emit diagnostics for illegal use of
  2985. registers.
  2986. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  2987. * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
  2988. new variables type, suffix, and width. Handle
  2989. BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
  2990. Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
  2991. FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
  2992. FUNC_DTP_RELATIVE case. Return incoming relocation type if
  2993. BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
  2994. if unable to translate relocation type, using the new variables.
  2995. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  2996. * config/tc-ia64.h (ia64_symbol_chars): Declare.
  2997. (ty_symbol_chars): Define.
  2998. * config/tc-ia64.c (ia64_symbol_chars): Define.
  2999. 2005-02-15 Jan Beulich <jbeulich@novell.com>
  3000. * config/tc-ia64.c (ia64_parse_name): Only update next character if
  3001. input_line_pointer was advanced.
  3002. 2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3003. * config/tc-sh.c (md_apply_fix3): Add parentheses around &
  3004. within |.
  3005. 2005-02-13 Jan Beulich <jbeulich@novell.com>
  3006. * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
  3007. (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
  3008. indicator.
  3009. (ia64_init): Set md.detect_dv.
  3010. (ia64_start_line): New static variable warned. Warn only once when
  3011. encountering explicit stops in automatic mode.
  3012. * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
  3013. * NEWS: Mention new default mode.
  3014. 2005-02-13 Jan Beulich <jbeulich@novell.com>
  3015. * config/tc-ia64.c (dot_rot): Add comment that name strings should
  3016. be freed when wiping out previous state. Canonicalize names before
  3017. use. Free name string when detecting redefinition.
  3018. (dot_pred_rel): Call generic expression parser to process arguments.
  3019. Handle O_register case for individual predicates and O_subtract for
  3020. ranges.
  3021. (ia64_parse_name): Canonicalize name before looking it up in dynamic
  3022. register hash.
  3023. (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
  3024. Warn if multiple found, issue error if resulting symbol name has zero
  3025. length.
  3026. (dot_alias): Canonicalize name before use.
  3027. 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
  3028. * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
  3029. and 0 for error.
  3030. (in_procedure): Return -1 for warning.
  3031. (in_prologue): Likewise.
  3032. (in_body): Likewise.
  3033. 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
  3034. * config/tc-ia64.c (dot_xdata): Undo the last change.
  3035. (dot_float_cons): Likewise.
  3036. (dot_xstringer): Likewise.
  3037. (dot_xdata_ua): Likewise.
  3038. (dot_float_cons_ua): Likewise.
  3039. 2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
  3040. * NEWS: Mention "-munwind-check=[warning|error]".
  3041. * config/tc-ia64.c (md): Add unwind_check.
  3042. (unwind_diagnostic): New.
  3043. (in_procedure): Call unwind_diagnostic when a directive isn't
  3044. in procedure.
  3045. (in_prologue): Call unwind_diagnostic when a directive isn't in
  3046. prologue.
  3047. (in_body): Call unwind_diagnostic when a directive isn't in
  3048. body region.
  3049. (dot_endp): Set md.unwind_check to error before calling
  3050. in_procedure and restore it after. When the name is missing or
  3051. couldn't be found, use the one from the last .proc if
  3052. md.unwind_check isn't error. Warn if md.unwind_check is
  3053. warning.
  3054. (md_parse_option): Handle "-munwind-check=[warning|error]".
  3055. (md_show_usage): Add "-munwind-check=[warning|error]".
  3056. (ia64_init): Set md.unwind_check to warning.
  3057. * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
  3058. * doc/c-ia64.texi: Likewise.
  3059. 2005-02-11 Jan Beulich <jbeulich@novell.com>
  3060. * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
  3061. (LEX_QM): Likewise.
  3062. (ia64_parse_name): New third parameter.
  3063. (md_parse_name): Pass third argument.
  3064. * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
  3065. (md_operand): Handling of '@'-prefixed symbols moved from here...
  3066. (ia64_parse_name): ...to here.
  3067. 2005-02-11 Jan Beulich <jbeulich@novell.com>
  3068. * config/tc-ia64.c (md): Remove last_groups and group_idx.
  3069. (errata_nop_necessary_p): Remove declaraction and definition.
  3070. (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
  3071. update md.group_idx. Don't reset md.last_groups.
  3072. 2005-02-11 Jan Beulich <jbeulich@novell.com>
  3073. * config/tc-ia64.c (parse_section_name): Handle non-quoted first
  3074. argument.
  3075. (dot_xdata): Free section name after use.
  3076. (dot_float_cons): Likewise.
  3077. (dot_xstringer): Likewise.
  3078. (dot_xdata_ua): Likewise.
  3079. (dot_float_cons_ua): Likewise.
  3080. (md_pseudo_table): Add xdata16 and xdata16.ua.
  3081. 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
  3082. * doc/all.texi: Add IA64.
  3083. * doc/as.texinfo: Likewise.
  3084. * doc/c-ia64.texi: Fix typos.
  3085. 2005-02-10 Julian Brown <julian@codesourcery.com>
  3086. * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
  3087. BFD_RELOC_UNUSED.
  3088. (do_t_push_pop): Likewise.
  3089. (md_assemble): Likewise.
  3090. (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
  3091. BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
  3092. (create_unwind_entry): Output dependency on the required personality
  3093. routines.
  3094. 2005-02-07 Nathan Sidwell <nathan@codesourcery.com>
  3095. * as.h (seg_not_empty_p): Return int, not bfd_boolean.
  3096. * subsegs.c (seg_not_empty_p): Likewise.
  3097. 2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
  3098. * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
  3099. relative jump calculation.
  3100. <md_convert_frag) : Likewise.
  3101. <output_disp): Likewise.
  3102. 2005-02-07 Hans-Peter Nilsson <hp@axis.com>
  3103. * write.c (write_object_file): Recognize warning-symbol construct
  3104. and skip object- and target- handling for the second symbol.
  3105. 2005-02-02 Jan Beulich <jbeulich@novell.com>
  3106. * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
  3107. designators along with quoted ones. Free copy of quoted designator
  3108. when done.
  3109. 2005-02-01 Ben Elliston <bje@au.ibm.com>
  3110. * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
  3111. config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
  3112. config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
  3113. config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
  3114. config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
  3115. config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
  3116. config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
  3117. config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
  3118. config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
  3119. config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
  3120. config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
  3121. config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
  3122. config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
  3123. #if 0'd code throughout.
  3124. 2005-01-31 Nick Clifton <nickc@redhat.com>
  3125. * as.c (parse_args): Bump copyright date reported by --version to
  3126. 2005.
  3127. 2005-01-31 Nick Clifton <nickc@redhat.com>
  3128. * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
  3129. and vax-vms.
  3130. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3131. * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
  3132. that can end with .endr in that case. Make requiring/permitting
  3133. pseudo-ops without leading dot closer to the logic in read.c serving
  3134. the same purpose.
  3135. (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
  3136. ignored.
  3137. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3138. * macro.c (do_formals): Adjust to no longer accept empty parameter
  3139. names.
  3140. (define_macro): Adjust to no longer accept empty macro name, garbage
  3141. following the parameters, or macros that were previously defined.
  3142. * read.c (s_bad_end): Declare.
  3143. (potable): Add endm. Handler for endr and endm is s_bad_end.
  3144. (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
  3145. and .endr.
  3146. * read.h (s_bad_endr): Remove.
  3147. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3148. * config/tc-ia64.c (parse_operands): Parse all specified operands,
  3149. immediately discarding (but counting) those exceeding the maximum
  3150. possible amount. Track whether output and input operand counts ever
  3151. matched, and use this to better indicate which of the operands/
  3152. operand types was wrong; specifically don't default to pointing to
  3153. the first operand.
  3154. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3155. * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
  3156. variable in dot_endp). Add body and insn. Make prologue,
  3157. prologue_mask, body, and insn bitfields.
  3158. (fixup_unw_records): Remove spurious new-lines from end of diagnostic
  3159. messages.
  3160. (in_procedure, in_prologue, in_body): New.
  3161. (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
  3162. dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
  3163. dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
  3164. dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
  3165. dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
  3166. dot_personality): Use the appropriate one of the above.
  3167. (dot_proc): Clear unwind.proc_start; set to current location only if
  3168. none of the entry points were valid. Check for non-zero-length entry
  3169. point names. Check that entry points aren't defined, yet. Clear
  3170. unwind.prologue, unwind.body, and unwind.insn.
  3171. (dot_body): Call in_procedure. Check that first directive in procedure
  3172. had no insns emitted before. Set unwind.body.
  3173. (dot_prologue): Call in_procedure. Check that not already in prologue.
  3174. Check that first directive in procedure had no insns emitted before.
  3175. Clear unwind.body.
  3176. (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
  3177. length entry point names. Check that entry points became defined.
  3178. (md_assemble): Set unwind.insn once unwind.proc_start is defined.
  3179. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3180. * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
  3181. before actually using it. Don't generate an error in manual bundling
  3182. mode when looking at an insn requiring slot 2 but not yet at slot 2.
  3183. Don't generate an error in manual bundling mode when looking at an
  3184. insn required to be last in its group but the required slot hasn't
  3185. been reached, yet. Allow conversion from MII to MI;I for bundle
  3186. consisting of only 2 insns with the stop between them. Suppress
  3187. various meaningless errors resulting from detecting earlier ones.
  3188. 2005-01-31 Jan Beulich <jbeulich@novell.com>
  3189. * config/tc-ia64.c (parse_operands): Also handle alloc without first
  3190. input being ar.pfs.
  3191. 2005-01-28 Christian Groessler <chris@groessler.org>
  3192. * config/tc-z8k.c (md_assemble): Improve error detection.
  3193. 2005-01-28 Jan Beulich <jbeulich@novell.com>
  3194. * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
  3195. for personality routine pointer only if there is one.
  3196. (ia64_convert_frag): Likewise.
  3197. (generate_unwind_image): Likewise.
  3198. 2005-01-27 Christian Groessler <chris@groessler.org>
  3199. * config/tc-z8k.c (INSERT): Remove, not used anywhere.
  3200. (md_apply_fix3): Make relative branches out of range an error
  3201. instead of a warning. Display correct line number for out of
  3202. range branches/calls/memory accesses.
  3203. 2005-01-27 Nathan Sidwell <nathan@codesourcery.com>
  3204. * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
  3205. to emit .debug_line and other debug sections.
  3206. * as.h (seg_not_empty_p): Declare.
  3207. * subsegs.c (seg_not_empty_p): New predicate.
  3208. 2005-01-27 Andrew Cagney <cagney@gnu.org>
  3209. * configure: Regenerate to track ../gettext.m4 change.
  3210. 2005-01-27 Jan Beulich <jbeulich@novell.com>
  3211. * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
  3212. 2005-01-27 Jan Beulich <jbeulich@novell.com>
  3213. * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
  3214. to/from application registers dynamic insns.
  3215. (md_assemble): Defer resolution of move to/from application registers
  3216. dynamic insns when they can be issued on either the I- or M-units.
  3217. 2005-01-25 Alexandre Oliva <aoliva@redhat.com>
  3218. * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
  3219. 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
  3220. * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
  3221. 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
  3222. * cgen.c (gas_cgen_parse_operand): Handle
  3223. CGEN_PARSE_OPERAND_SYMBOLIC.
  3224. * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
  3225. (frv_force_relocation): Likewise. Fix handling of PIC
  3226. relocations.
  3227. (md_apply_fix3): Likewise.
  3228. 2005-01-21 Ben Elliston <bje@au.ibm.com>
  3229. * as.h: Remove #if 0'd code.
  3230. * atof-generic.c (atof_generic): Likewise.
  3231. * ecoff.c (ecoff_directive_frame): Likewise.
  3232. * frags.h (FRAG_APPEND_1_CHAR): Likewise.
  3233. * itbl-ops.c (itbl_add_reg): Likewise.
  3234. * listing.c (calc_hex): Likewise.
  3235. * read.c (MASK_CHAR): Likewise.
  3236. * subsegs.c (subsegs_print_statistics): Likewise.
  3237. * symbols.c (indent): Likewise.
  3238. * write.c (write_relocs): Likewise.
  3239. (write_object_file): Likewise.
  3240. (relax_frag): Likewise.
  3241. 2005-01-20 Nick Clifton <nickc@redhat.com>
  3242. * as.c (std_longopts): Add an entry for "--a" in order to prevent
  3243. getopt_long_only() from considering -a as an abbreviation for
  3244. --alternate.
  3245. (parse_args): Fix the parsing of -a=<file>.
  3246. 2005-01-20 Alan Modra <amodra@bigpond.net.au>
  3247. PR gas/684
  3248. * read.c (s_incbin): Adjust default count for skip. Check validity
  3249. of count and skip rigorously.
  3250. 2005-01-19 Fred Fish <fnf@specifixinc.com>
  3251. * config/tc-mips.c (dummy_opcode): Add init for new struct member.
  3252. 2005-01-19 Richard Sandiford <rsandifo@redhat.com>
  3253. * read.c (convert_to_bignum): New function, split out from...
  3254. (emit_expr): ...here. Handle the case where X_add_number is
  3255. positive and the input value is negative.
  3256. (output_big_sleb128): Fix setting of continuation bit. Check whether
  3257. the final byte needs to be sign-extended. Fix size-shrinking loop.
  3258. (emit_leb128_expr): When generating a signed leb128, see whether the
  3259. sign of an O_constant's X_add_number matches the sign of the input
  3260. value. Use a bignum if not.
  3261. 2005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
  3262. * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
  3263. arch_sh_up in order to match the external name and make the
  3264. testsuite's job easier.
  3265. 2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
  3266. PR 659
  3267. * config/tc-i386.c (i386_scale): Disallow 0 scale.
  3268. 2005-01-12 Nick Clifton <nickc@redhat.com>
  3269. * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
  3270. ignored_arguments array.
  3271. 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
  3272. * write.c (write_object_file): Disallow a symbol equated to
  3273. common symbol.
  3274. 2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
  3275. * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
  3276. bfd_mach_maxq20.
  3277. (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
  3278. (maxq_target): New function: Set the machine type.
  3279. 2005-01-06 Paul Brook <paul@codesourcery.com>
  3280. * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
  3281. (md_begin): Handle TE_VXWORKS for FP defaults.
  3282. (md_apply_fix3): Correct rela offsets.
  3283. (elf32_arm_target_format): Add VxWorks targets.
  3284. 2005-01-06 Paul Brook <paul@codesourcery.com>
  3285. * configure.tgt: Set em=vxworks for *-*-vxworks.
  3286. * config/te-vxworks.h: New File.
  3287. 2005-01-06 Paul Brook <paul@codesourcery.com>
  3288. * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
  3289. 2005-01-04 Dmitry Diky <diwil@spec.ru>
  3290. * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
  3291. global label.
  3292. 2005-01-03 David Mosberger <davidm@hpl.hp.com>
  3293. * config/tc-ia64.c (md): Add member "loc_directive_seen".
  3294. (dot_loc): New function.
  3295. (md_pseudo_table): Add entry to map .loc to dot_loc().
  3296. (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
  3297. seen a .loc directive or we're generating DWARF2 debug info for
  3298. assembly source.
  3299. For older changes see ChangeLog-2004
  3300. Copyright (C) 2005 Free Software Foundation, Inc.
  3301. Copying and distribution of this file, with or without modification,
  3302. are permitted in any medium without royalty provided the copyright
  3303. notice and this notice are preserved.
  3304. Local Variables:
  3305. mode: change-log
  3306. left-margin: 8
  3307. fill-column: 74
  3308. version-control: never
  3309. End: