ChangeLog-9899 169 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873
  1. 1999-12-27 Alan Modra <alan@spri.levels.unisa.edu.au>
  2. * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
  3. warning for absolute jump/call without `*' in non-intel mode. No
  4. need to set i.types[0] JumpAbsolute in intel mode.
  5. 1999-12-22 Philip Blundell <pb@futuretv.com>
  6. * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
  7. hook function when changing sections.
  8. (arm_s_data): Likewise.
  9. 1999-12-14 Nick Clifton <nickc@cygnus.com>
  10. * config/tc-arm.c (md_parse_option): Add support for -marm720
  11. command line switch.
  12. Tue Nov 30 22:59:00 1999 Jeffrey A Law (law@cygnus.com)
  13. * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
  14. (r_registers, xr_registers): Define.
  15. (r_register_name, xr_register_name): New functions.
  16. (md_assemble): Handle new am33 operand types and instruction
  17. formats.
  18. (mn10300_insert_operand, check_operand): Likewise.
  19. 1999-11-29 Nick Clifton <nickc@cygnus.com>
  20. * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
  21. (s_force_thumb): Set thumb_mode to 2.
  22. (md_assemble): Do not complain about thumb instructions on a
  23. non-thumb target if thumb_mode is set to 2.
  24. 1999-11-28 Michael Meissner <meissner@cygnus.com>
  25. * config/tc-alpha.c (toplevel): Include struc-symbol.h.
  26. (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
  27. (O_...): Add new machine dependent expressions if we are handling
  28. explicit relocations.
  29. (alpha_reloc_op): New static table holding the explicit relocation
  30. information.
  31. (alpha_literal_hash): New static to hold the hash table for
  32. explicit relocations.
  33. (alpha_macros): Add support for explicit relocations.
  34. (md_begin): If explicit relocations, initialize hash table.
  35. (md_assemble): Don't print a second error if tokenize_arguments
  36. already printed an error message.
  37. (md_apply_fix): Add support for explicit relocations.
  38. (alpha_force_relocation): Ditto.
  39. (alpha_fix_adjustable): Ditto.
  40. (alpha_adjust_symtab): New function to support explicit
  41. relocations.
  42. (alpha_adjust_symtab_relocs): Ditto.
  43. (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
  44. (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
  45. Add support for explicit relocations. Return -2 if an error
  46. message was already printed.
  47. (find_macro_match): Add support for explicit relocations. Comment
  48. each of the cases.
  49. (emit_insn): Add support for explicit relocations.
  50. (assemble_tokens): Ditto.
  51. (emit_ldgp): Ditto.
  52. (load_expression): Ditto.
  53. (emit_lda): Ditto.
  54. (emit_ldah): Ditto.
  55. (emit_ir_load): Ditto.
  56. (emit_loadstore): Ditto.
  57. (emit_ldXu): Ditto.
  58. (emit_ldil): Ditto.
  59. (emit_sextX): Ditto.
  60. (emit_division): Ditto.
  61. (emit_jsrjmp): Ditto.
  62. (emit_retjcr): Ditto.
  63. * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
  64. ELF object format.
  65. (tc_adjust_symtab): If explicit relocations, call the function
  66. alpha_adjust_symtab.
  67. (TC_FIX_TYPE): Add fields to be able to move explicit lituse
  68. relocations next to the literal relocation they reference.
  69. (TC_INIT_FIX_DATA): Initialize the new fields.
  70. (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
  71. Wed Nov 24 20:27:58 1999 Jeffrey A Law (law@cygnus.com)
  72. * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
  73. 'B' operand for PA2.0 bb instruction.
  74. 1999-11-18 Nick Clifton <nickc@cygnus.com>
  75. * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
  76. target.
  77. * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
  78. relocs.
  79. (mcore_force_relocation): Force relocations to be generated for
  80. RVA relocs.
  81. 1999-11-16 Alan Modra <alan@spri.levels.unisa.edu.au>
  82. * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
  83. (i386_displacement): Disallow O_big displacements.
  84. Mon Nov 15 20:12:43 1999 Donald Lindsay <dlindsay@cygnus.com>
  85. * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg):
  86. Small improvements in error checking.
  87. (md_assemble): Support for unconditional ARM instructions.
  88. (md_parse_option): Support for -m[arm]v5e flag.
  89. 1999-11-12 Nick Clifton <nickc@cygnus.com>
  90. * macro.c (buffer_and_nest): Do not check beyond the end of the
  91. buffer.
  92. 1999-11-11 Nick Clifton <nickc@cygnus.com>
  93. * macro.c (buffer_and_nest): Look for seperator after TO and
  94. FROM tokens.
  95. 1999-11-08 Andrew Haley <aph@cygnus.com>
  96. * app.c (do_scrub_chars): When in State 10, treat backslash
  97. characters in the same way as as symbol characters.
  98. 1999-11-07 Richard Henderson <rth@cygnus.com>
  99. * config/tc-alpha.c (alpha_align): Check, don't assert, that
  100. the previous label was in the current section before playing
  101. with auto-alignment.
  102. 1999-11-06 Nick Clifton <nickc@cygnus.com>
  103. * config/tc-v850.c (v850_force_relocation): Force relocation
  104. for weak symbols.
  105. (v850_pcrel_from_selection): Do not compute a pcrel offset if
  106. the symbol is weak.
  107. 1999-11-05 Michael Meissner <meissner@cygnus.com>
  108. * expr.h (operatorT): Increase machine dependent operators to 16.
  109. * expr.c (op_rank): Ditto.
  110. 1999-11-03 Ian Lance Taylor <ian@zembu.com>
  111. * read.c (pseudo_set): Reject attempts to set the value of a
  112. section symbol.
  113. * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
  114. if it is defined.
  115. * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
  116. * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
  117. to bfd_set_section_contents.
  118. 1999-11-03 Nick Clifton <nickc@cygnus.com>
  119. * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
  120. 1999-11-01 Gavin Romig-Koch <gavin@cygnus.com>
  121. * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
  122. (mips_ip): Use OPCODE_IS_MEMBER.
  123. Wed Oct 27 16:50:44 1999 Don Lindsay <dlindsay@cygnus.com>
  124. * config/tc-arm.c (reg_required_here): Improve comments.
  125. * config/tc-arm.c (thumb_opcode): Add "variants" field.
  126. (tinsns): Initialize variants field.
  127. * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
  128. BAD_PC respectively.
  129. 1999-10-27 Scott Bambrough <scottb@netwinder.org>
  130. * config/tc-arm.c (reloc_map[]): Fix compiler warning.
  131. * config/tc-arm.h: Fix compile time warnings.
  132. Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
  133. * config/tc-d10v.c (find_opcode): Allow ATSIGN to match
  134. expressions of the form @abs16, @(abs16) and @(abs16 + imm).
  135. 1999-10-21 Gavin Romig-Koch <gavin@cygnus.com>
  136. * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
  137. (ISA_HAS_64_BIT_REGS) New.
  138. (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
  139. mips_emit_delays,macro_build,load_register,load_addresss,
  140. macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
  141. and/or use new ISA_xxx macros in expressions involving
  142. ISA, particularly mips_opts.isa.
  143. 1999-10-18 Michael Meissner <meissner@cygnus.com>
  144. * expr.h (operatorT): Add machine dependent operators md1..md8.
  145. (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
  146. for the machine dependent operators to use.
  147. * expr.c (op_rank): Add machine dependent operators.
  148. * config/tc-alpha.c (O_pregister): Define as a machine dependent
  149. operator.
  150. (O_cpregister): Ditto.
  151. (md_begin): Change X_op test that field is wide enough to use
  152. O_max instead of O_alpha_max.
  153. (cpu_types): Fill in missing initializer.
  154. (alpha_num_macros): Make unsigned.
  155. (md_assemble): Make opnamelen be size_t.
  156. (md_apply_fix): Cast alpha_num_operands to int before testing.
  157. (alpha_force_relocation): Ditto.
  158. (alpha_fix_adjustable): Ditto.
  159. (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
  160. (tc_gen_reloc): Ditto.
  161. (tc_get_register): Ditto.
  162. (emit_ldgp): Ditto.
  163. (emit_lda): Ditto.
  164. (emit_ldah): Ditto.
  165. (emit_ldil): Ditto.
  166. (s_alpha_ent): Ditto.
  167. (s_alpha_end): Ditto.
  168. (s_alpha_frame): Ditto.
  169. (s_alpha_prologue): Ditto.
  170. (s_alpha_file): Ditto.
  171. (s_alpha_gprel32): Ditto.
  172. (s_alpha_proc): Ditto.
  173. (s_alpha_set): Ditto.
  174. (s_alpha_base): Ditto.
  175. (s_alpha_align): Ditto.
  176. (s_alpha_arch): Ditto.
  177. (alpha_align): Ditto.
  178. (assemble_insn): Suppress unused variable warning.
  179. (emit_insn): Ditto.
  180. (assemble_insn): Don't assume X_op and X_unsigned are in a given
  181. order in the structure.
  182. (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
  183. Sun Oct 17 17:15:58 1999 Jeffrey A Law (law@cygnus.com)
  184. * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
  185. 1999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
  186. * config/tc-i386.c (i386_index_check): Correct #endif location.
  187. Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
  188. * as.c (show_usage): Document new options.
  189. (parse_args): Add --no-warn, --warn, --fatal-warnings,
  190. which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
  191. (parse_args): Parse the new options.
  192. (main): If there were warnings, and --fatal-warnings
  193. was specified, print an error.
  194. * as.h: New variable, flag_fatal_warnings, for new option.
  195. Sun Oct 10 01:47:23 1999 Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
  196. * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
  197. '@'. Change autoincrement completers to fall through to cache control
  198. completers.
  199. * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
  200. arg.
  201. (pa_parse_addb_64_cmpltr): New function.
  202. * config/tc-hppa.c (pa_ip): Change error message.
  203. (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
  204. '?Q' args to allow falling through.
  205. * config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
  206. Remove unused conditional codes.
  207. (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
  208. Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
  209. * config/tc-d30v.c (CHAR_BIT): Define.
  210. (check_range): Fix bit operations to support integers bigger than
  211. 32 bits.
  212. Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <dnovillo@cygnus.com>
  213. * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
  214. operands.
  215. Mon Oct 4 17:24:23 1999 Nick Clifton <nickc@cygnus.com>
  216. Doug Evans <devans@cygnus.com>
  217. Add support for m32rx.
  218. * config/tc-m32r.c (enable_m32rx): New static global.
  219. (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
  220. (allow_m32rx): New function.
  221. (M32R_SHORTOPTS): Add `O'.
  222. (md_longopts): Add --m32rx plus several warning options.
  223. (md_parse_option): Handle new options.
  224. (md_show_usage): Print them.
  225. (md_begin): Enable m32rx.
  226. (OPERAND_IS_COND_BIT): New macro.
  227. (first_writes_to_seconds_operands): New function.
  228. (writes_to_pc,can_make_parallel,make_parallel): New functions.
  229. (target_make_parallel,assemble_two_insns): New functions.
  230. (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
  231. If optimizing and m32rx, try to make consecutive insns parallel.
  232. Tue Sep 28 14:06:44 1999 Geoffrey Keating <geoffk@cygnus.com>
  233. * config/tc-mips.c (nopic_need_relax): Allow for the
  234. .sdata.foo sections generated by -fdata-sections,
  235. and for the .gnu.linkonce.s sections generated by C++.
  236. Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
  237. * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
  238. with cleaner code using completer prefixes. Add 'Y'.
  239. * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
  240. Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
  241. * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
  242. (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
  243. insn does not match and we should try the next insn in the table.
  244. 1999-09-22 Nick Clifton <nickc@cygnus.com>
  245. * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
  246. Mon Sep 20 04:01:41 1999 Jeffrey A Law (law@cygnus.com)
  247. * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
  248. of PA2.0 support.
  249. 1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
  250. * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
  251. OBJ_ELF. If ELF, add "sq".
  252. (md_parse_option): If ELF, ignore -s and -q.
  253. (md_show_usage): Mention ELF options.
  254. Sun Sep 19 10:43:31 1999 Jeffrey A Law (law@cygnus.com)
  255. * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
  256. operands.
  257. * config/tc-hppa.c (pa_ip): Handle "fe", and 'cJ'.
  258. * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
  259. * config/tc-hppa.c (struct pa_it): New field "trunc".
  260. (pa_ip): Handle 'h', 'm', '=', '{', and '_' operands.
  261. (pa_parse_ftest_gfx_completer): New function
  262. (pa_parse_fp_cnv_format): New function.
  263. * config/tc-hppa.c (pa_ip): Handle 'X' operand.
  264. (md_apply_fix): Handle 22bit pc-rel branches.
  265. * config/tc-hppa.c (pa_ip): Handle 'B' operand.
  266. * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
  267. * config/tc-hppa.c (pa_ip): Handle 'l' operand.
  268. * config/tc-hppa.c (pa_ip): Handle 'g' operand.
  269. Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
  270. * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
  271. (pa_ip): Handle 'fX'.
  272. Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
  273. * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
  274. unwinds unless the function is in the text space.
  275. (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
  276. Wed Sep 15 05:14:32 1999 Jeffrey A Law (law@cygnus.com)
  277. * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
  278. (md_assemble): To here. Tweak address generation.
  279. * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
  280. debug_line.
  281. (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
  282. (md_assemble): Call dwarf2_where for OBJ_ELF.
  283. (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
  284. (pa_end_of_source): New function.
  285. * config/tc-hppa.h (md_end): Define for OBJ_ELF.
  286. 1999-09-14 Michael Meissner <meissner@cygnus.com>
  287. * configure.in (Canonicalization of target names): Remove adding
  288. ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
  289. generates $ac_config_sub with a ${CONFIG_SHELL} already.
  290. * configure: Regenerate.
  291. 1999-09-14 Donn Terry <donn@interix.com>
  292. * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
  293. 1999-09-13 Alan Modra <alan@spri.levels.unisa.edu.au>
  294. * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
  295. pc-relative jmp/call to an absolute symbol.
  296. (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
  297. absolute section symbols.
  298. * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
  299. jump handling code and comments.
  300. 1999-09-12 Ian Lance Taylor <ian@zembu.com>
  301. * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
  302. the value if TE_PE and a global defined symbol.
  303. 1999-09-11 Ian Lance Taylor <ian@zembu.com>
  304. * write.c (dump_section_relocs): Call print_symbol_value_1 to
  305. print the symbol, rather than printing it here.
  306. 1999-09-11 Donn Terry <donn@interix.com>
  307. * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
  308. BFD_RELOC_RVA relocations.
  309. * config/tc-i386.c (md_undefined_symbol): Compare the name against
  310. the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
  311. starts with "_G".
  312. * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
  313. defined.
  314. * config/obj-coff.h (SET_SECTION_RELOCS): Define.
  315. * doc/internals.texi (Object format backend): Document
  316. SET_SECTION_RELOCS.
  317. * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
  318. relocations against global symbols if TE_PE.
  319. * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
  320. (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
  321. * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
  322. symbols.
  323. * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
  324. symbols which do not have a constant value, or tags with
  325. non-tags. Remove the symbol from the list before adding it at the
  326. end.
  327. * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
  328. C_FCN symbol differently if TE_PE.
  329. (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
  330. appears in the pseudo-op, rather coff_line_base which is only set
  331. for a .bf symbol.
  332. * config/obj-coff.c (obj_coff_loc): New static function.
  333. (obj_pseudo_table): Add "loc".
  334. * config/obj-coff.c (add_lineno): Check that the line number is
  335. positive.
  336. * config/atof-ieee.c (atof_ieee): Change what_kind to int.
  337. * config/atof-vax.c (flonum_gen2vax): Change format_letter to
  338. int.
  339. (md_atof): Return NULL rather than 0.
  340. * config/tc-i386.c (md_atof): Change type to int.
  341. * expr.c (expr): Change first parameter to int.
  342. * config/obj-coff.c: Add declarations for static functions.
  343. (coff_frob_symbol): Use SYM_AUXENT.
  344. * config/tc-i386.h (flag_16bit_code): Don't declare.
  345. * config/obj-coff.c (obj_coff_section): Default to setting
  346. SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
  347. * write.c (adjust_reloc_syms): Print adjusted fixup.
  348. * expr.c (integer_constant): Correct too_many_digits calculation
  349. in base 10 case.
  350. 1999-09-09 Andreas Schwab <schwab@suse.de>
  351. * doc/c-arm.texi: Fix arguments of @var to not contain
  352. punctuation.
  353. 1999-09-08 Philip Blundell <pb@nexus.co.uk>
  354. * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
  355. and COFF targets.
  356. (md_parse_option): Only support -k flag for ELF and COFF targets.
  357. Tue Sep 7 13:28:59 1999 Jeffrey A Law (law@cygnus.com)
  358. * config/tc-hppa.c (pa_ip): Put strict register checks before
  359. call to pa_parse_number.
  360. * config/tc-hppa.c (pa_ip): Support 'Z' argument.
  361. 1999-09-06 Ian Lance Taylor <ian@zembu.com>
  362. * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
  363. BFD_ASSEMBLER code.
  364. 1999-09-06 Donn Terry <donn@interix.com>
  365. * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
  366. Mon Sep 6 04:26:56 1999 Jeffrey A Law (law@cygnus.com)
  367. * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
  368. candidate instruction. Require registers for register arguments
  369. when in strict mode. Require assemble-time constants for
  370. constants when in strict mode.
  371. (pa_get_absolute_expression): Require a constant when in strict
  372. mode.
  373. 1999-09-06 Nick Clifton <nickc@cygnus.com>
  374. * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
  375. 1999-09-04 Steve Chamberlain <sac@pobox.com>
  376. * config/tc-pj.c: New file, supports picoJava in ELF.
  377. * config/tc-pj.h: Ditto.
  378. * configure.in (pjl*, pj*): New targets.
  379. * Makefile.am: Rebuild dependencies.
  380. (CPU_TYPES): Add pj.
  381. (TARGET_CPU_CFILES): Add config/tc-pj.c.
  382. (TARGET_CPU_HFILES): Add config/tc-pj.h.
  383. * doc/c-pj.texi: New file.
  384. * doc/as.texinfo: Add some PJ specifics.
  385. * doc/all.texi: Add PJ to the list of all architectures, sort them
  386. all alphabetically.
  387. * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
  388. * configure, Makefile.in, doc/Makefile.in: Rebuild.
  389. 1999-09-02 Alan Modra <alan@spri.levels.unisa.edu.au>
  390. * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
  391. (obj_frob_file): Test for null pointer.
  392. (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
  393. (OBJ_PROCESS_STAB): And here.
  394. (elf_obj_sy): Remove
  395. * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
  396. except OBJ_PROCESS_STAB, which we #undef for ecoff.
  397. (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
  398. * config/obj-coff.c (no_func): Remove.
  399. (coff_format_ops): Change occurrences of no_func to 0, as we test
  400. for 0 in obj-multi.h.
  401. * configure.in: Enable bfd for i386-coff when primary target is
  402. bfd. Enable i386 elf,coff emulation support. Don't set
  403. USE_EMULATIONS=1 or te_file=multi unless there is more than one
  404. emulation to support.
  405. *configure: Regenerate.
  406. 1999-09-02 Nick Clifton <nickc@cygnus.com>
  407. * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
  408. .section .line directive is encountered.
  409. 1999-09-01 Nick Clifton <nickc@cygnus.com>
  410. * config/tc-arm.c (md_section_align): Do not align sections in ELF
  411. format.
  412. * as.c (show_usage): Add --gdwarf2 to list of options displayed.
  413. * as.texinfo: Document --gdwarf2 command line option.
  414. Add additional documentation of ARM command line switches.
  415. 1999-08-30 Alan Modra <alan@spri.levels.unisa.edu.au>
  416. * config/tc-i386.c (i386_intel_memory_operand): Combine
  417. i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
  418. and RESTORE_END_STRING around parse_register calls.
  419. (i386_operand): Here too.
  420. (i386_is_reg): Remove.
  421. (parse_register): Move as_bad calls from within this function to
  422. callers.
  423. 1999-08-29 Alan Modra <alan@spri.levels.unisa.edu.au>
  424. Based on a patch from H.J. Lu <hjl@gnu.org>
  425. * config/tc-i386.c (parse_register): Handle FP regs specially.
  426. (md_begin): Remove '(' and ')' from register_chars.
  427. 1999-08-29 Doug Evans <devans@casey.cygnus.com>
  428. * config/tc-m32r.c (md_parse_option): Delete unrecognized option
  429. error message (done elsewhere).
  430. Sat Aug 28 01:23:11 1999 Jeffrey A Law (law@cygnus.com)
  431. * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
  432. Sat Aug 28 00:26:26 1999 Jerry Quinn <jquinn@nortelnetworks.com>
  433. * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
  434. args by 'f'.
  435. * config/tc-hppa.c (pa_ip): Add args q, %, and |.
  436. * config/tc-hppa.c (pa_ip): Absorb white space in instructions
  437. between args.
  438. Add new completers. Fix bug in 64 bit condition handling.
  439. * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
  440. 'cS', and 'c*'.
  441. * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
  442. * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
  443. * config/tc-hppa.c (pa_ip): Add case for 'I'.
  444. 1999-08-27 Jim Wilson <wilson@cygnus.com>
  445. * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
  446. (struct ls): Add frag field. Initialize it to zero.
  447. (out_end_sequence): New local text_frag. Set it while in text section.
  448. Replace address check with frag check. Set ls.frag to text_frag if
  449. out_set_addr called.
  450. (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
  451. Set it before switching sections. Replace address check with frag
  452. check. Set ls.frag to saved_frag if out_set_addr called.
  453. 1999-08-26 David Mosberger <davidm@hpl.hp.com>
  454. * dwarf2dbg.c (out_end_sequence): If address changed, directly
  455. output "advance_pc" opcode instead of calling gen_addr_line().
  456. The latter has the undesired side-effect of creating a new row
  457. in the debug line info matrix.
  458. 1999-08-26 Jim Wilson <wilson@cygnus.com>
  459. * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
  460. ls.last_filename if last is less than zero. Set ls.last_filename
  461. when allocating new entry.
  462. (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
  463. call.
  464. 1999-08-20 Alan Modra <alan@spri.levels.unisa.edu.au>
  465. * config/tc-i386.c (i386_index_check): Fix the displacement size
  466. when INFER_ADDR_PREFIX.
  467. 1999-08-18 Nick Clifton <nickc@cygnus.com>
  468. * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
  469. display its value.
  470. 1999-08-17 Ian Lance Taylor <ian@zembu.com>
  471. * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
  472. handle 0xffffNNNN constants correctly.
  473. 1999-08-16 Nick Clifton <nickc@cygnus.com>
  474. * config/tc-arm.c (do_ldst): Look for register conflicts on stores
  475. as well as loads.
  476. 1999-08-13 Nick Clifton <nickc@cygnus.com>
  477. * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
  478. (md_apply_fix3): Always pass positive values to
  479. validate_offset_imm.
  480. 1999-08-12 Nick Clifton <nickc@cygnus.com>
  481. * config/tc-arm.c (skip_whitespace): New macro.
  482. Formatting tidy ups.
  483. (md_apply_fix3): Store relocation offset in addend for ELF based
  484. relocs.
  485. (arm_force_relocation): Always generate relocs for Thumb function
  486. calls.
  487. 1999-08-11 Alan Modra <alan@spri.levels.unisa.edu.au>
  488. * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
  489. LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
  490. Tue Aug 10 12:58:31 1999 Jeffrey A Law (law@cygnus.com)
  491. * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
  492. flags for the unwind subspace.
  493. * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
  494. (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
  495. suitable relocation based on the size of the target's pointer.
  496. Always Use subsegment zero for the unwinders.
  497. (pa_level): Handle "2.0w".
  498. Mon Aug 9 20:02:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
  499. * config/tc-d30v.c (write_2_short): Don't group repeat instructions
  500. with the following instruction unless this was specified.
  501. 1999-08-09 Ian Lance Taylor <ian@zembu.com>
  502. * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
  503. certain sections, to match BFD changes.
  504. 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
  505. * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
  506. (EXTRA_SCRIPTS): Define to keep automake happy.
  507. * Makefile.in: Rebuild.
  508. 1999-08-08 Ian Lance Taylor <ian@zembu.com>
  509. * Makefile.am: Rename .dep* files to DEP*.
  510. (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
  511. than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
  512. targets to DEPOBJ.
  513. * Makefile.in: Rebuild.
  514. 1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
  515. * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
  516. 1999-08-08 Ian Lance Taylor <ian@zembu.com>
  517. * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
  518. avoid problems on DOS filesystems.
  519. * Makefile.in: Rebuild.
  520. * doc/as.texinfo (Section): Document 's' flag for COFF version.
  521. 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>
  522. * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
  523. section flag.
  524. 1999-08-08 Ian Lance Taylor <ian@zembu.com>
  525. * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
  526. line to create ${GDBINIT} rather than .gdbinit.
  527. * configure, Makefile.in, doc/Makefile.in: Rebuild.
  528. Fri Aug 6 12:12:44 1999 Jeffrey A Law (law@cygnus.com)
  529. * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
  530. Fri Aug 6 09:46:35 1999 Jerry Quinn <jquinn@nortelnetworks.com>
  531. * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
  532. 1999-08-06 Jakub Jelinek <jj@ultra.linux.cz>
  533. * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
  534. non-adjustable symbols.
  535. Thu Aug 5 16:52:51 1999 Jerry Quinn <jquinn@nortelnetworks.com>
  536. * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
  537. Thu Aug 5 23:05:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
  538. * config/tc-sh.c (md_assemble): Call as_bad when there are excess
  539. operands.
  540. 1999-08-05 Donn Terry <donn@interix.com>
  541. * config/te-interix.h: New file.
  542. * configure.in (i386-*-interix*): New target.
  543. * configure: Rebuild.
  544. Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
  545. * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
  546. selectors for ELF too.
  547. (selector_table): Add "ltp" and "rtp" selectors.
  548. 1999-08-04 Alan Modra <alan@spri.levels.unisa.edu.au>
  549. * config/tc-i386.c (i386_operand): No need to change
  550. operand_string pointer in segment reg case before goto
  551. do_memory_reference. Initialise displacement_string_start and
  552. displacement_string_end after do_memory_reference label.
  553. (i386_index_check): Add operand_string param, and print error
  554. message on failure here.
  555. (i386_intel_memory_operand): Instead of here.
  556. (i386_operand): And here.
  557. (INFER_ADDR_PREFIX): Enable.
  558. * doc/c-i386.texi (i386-16bit): Document .code16gcc.
  559. * config/tc-i386.h (DefaultSize): Define. Renumber following
  560. opcode_modifier defines.
  561. From Etienne Lorrain <etienne.lorrain@ibm.net>
  562. * config/tc-i386.c (stackop_size): New variable.
  563. (set_16bit_code_flag): Clear it here.
  564. (set_16bit_gcc_code_flag): New function.
  565. (md_pseudo_table): Add "code16gcc" entry.
  566. (md_assemble): Set i.suffix for insns with DefaultSize modifier.
  567. 1999-08-03 Ian Lance Taylor <ian@zembu.com>
  568. * config/obj-coff.c (coff_frob_symbol): Always update set_end with
  569. next_set_end even if the end symbol is being discarded.
  570. * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
  571. * output-file.c, symbols.c, config/tc-i386.c: Likewise.
  572. * config/obj-coff.c: Likewise.
  573. (seg_info_type): Remove.
  574. (seg_info_off_by_4): Change to array of segT.
  575. (s_get_segment): Adjust accordingly.
  576. (obj_pseudo_table): Fully initialize sentinel entry.
  577. * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
  578. Ralf Baechle <ralf@uni-koblenz.de>.
  579. 1999-08-03 Etienne Lorrain <etienne.lorrain@ibm.net>
  580. * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
  581. 1999-08-03 Alan Modra <alan@spri.levels.unisa.edu.au>
  582. * config/tc-i386.c: Indentation and white space changes.
  583. (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
  584. don't enable it by default.
  585. (i386_intel_operand): Remove redundant prototype.
  586. Move check on number of memory operands, and i.mem_operands++
  587. (i386_intel_memory_operand): To here.
  588. Remove i386_immediate code from here. Remove special case code
  589. for input and output using (%dx). Remove base/index checks and
  590. call i386_index_check instead. Save initial operand_string
  591. argument for error message.
  592. (i386_operand): Remove redundant prototype. Move base/index
  593. checks to i386_index_check.
  594. (i386_displacement): Move intel mode check for non-zero
  595. i.disp_operand
  596. (i386_intel_memory_operand): To here.
  597. 1999-07-30 Jakub Jelinek <jj@ultra.linux.cz>
  598. * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
  599. (sparc_ip): Warn if %g2 or %g3 register is used and not covered
  600. by .register pseudo-op if -64 and --no-undeclared-regs.
  601. (s_register, sparc_adjust_symtab): New functions.
  602. * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
  603. Declare sparc_adjust_symtab as tc_adjust_symtab.
  604. * doc/c-sparc.texi: Add description of #ignore special literal
  605. for .register pseudo-op.
  606. 1999-07-30 Catherine Moore <clm@cygnus.com>
  607. * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
  608. the relocation's section offset.
  609. 1999-07-29 Alan Modra <alan@spri.levels.unisa.edu.au>
  610. * write.c (fixup_segment): Fix generic error check overflow test.
  611. * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
  612. X_add_number to long.
  613. Wed Jul 28 02:04:24 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
  614. * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
  615. processing.
  616. 1999-07-27 Ian Lance Taylor <ian@zembu.com>
  617. * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
  618. VTABLE relocations.
  619. 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com>
  620. * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
  621. * configure.bat: Remove; obsolete.
  622. * config/go32.cfg: Likewise.
  623. 1999-07-21 Brad M. Garcia <bgarcia@fore.com>
  624. * configure.in (i386-*-vxworks*): New target.
  625. * configure: Rebuild.
  626. 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
  627. * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
  628. 1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
  629. * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
  630. on -64 and not pic.
  631. (output_insn): Put OLO10's secondary addend into tc_fix_data.
  632. (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
  633. (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
  634. * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
  635. MAX_RELOC_EXPANSION): Define.
  636. (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
  637. 1999-07-16 Alan Modra <alan@spri.levels.unisa.edu.au>
  638. * config/tc-i386.c (intel_float_operand): Add prototype, make static.
  639. (md_assemble): Localize *exp variable to if (fake_zero_displacement)
  640. block. Print a warning if an 8-bit or 16-bit constant
  641. displacement or immediate is truncated on output.
  642. (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
  643. immediate.
  644. (i386_operand): Disallow immediate jump absolute operand.
  645. 1999-07-15 Ian Lance Taylor <ian@zembu.com>
  646. * configure.in: Bump version number to 2.9.5.
  647. * configure: Rebuild.
  648. * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
  649. or %llx work.
  650. Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
  651. * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
  652. (cons_fix_new_hppa): Derive size of fixup from size of the object.
  653. 1999-07-14 Philip Blundell <pb@nexus.co.uk>
  654. * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
  655. is defined.
  656. * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
  657. * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
  658. if -mno-fpu was given.
  659. (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
  660. relocs.
  661. (cons_fix_new_arm): Remove misleading comments.
  662. 1999-07-14 Ian Lance Taylor <ian@zembu.com>
  663. * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
  664. error message.
  665. (relax_segment): Likewise. After giving a rs_org error, convert
  666. the frag to rs_align to avoid cascading errors.
  667. 1999-07-12 Andreas Schwab <schwab@suse.de>
  668. * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
  669. 1999-07-11 Ian Lance Taylor <ian@zembu.com>
  670. * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
  671. as appropriate. Fill in structure initializations. Add variable
  672. initializations. Add casts.
  673. * dwarf2dbg.c (print_stats): Change i to size_t.
  674. * listing.c (listing_listing): Change list_line to unsigned int.
  675. 1999-07-10 Ian Lance Taylor <ian@zembu.com>
  676. * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
  677. rather than checking for \001 and \002 in symbol name.
  678. * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
  679. Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
  680. * configure.in (hppa*-linux-gnu*): New target.
  681. * configure: Rebuilt.
  682. 1999-07-08 Nick Clifton <nickc@cygnus.com>
  683. * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
  684. 1999-07-07 Nick Clifton <nickc@cygnus.com>
  685. * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
  686. accessing symbolP directly.
  687. Tue Jul 6 10:41:42 1999 Jeffrey A Law (law@cygnus.com)
  688. * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
  689. for ELF.
  690. 1999-07-05 Nick Clifton <nickc@cygnus.com>
  691. * config/tc-arm.c (ARM_EXT_V5): Define.
  692. (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
  693. (md_begin): Detect ARM v5 architectures.
  694. (md_parse_option): Accept arm v5 specification.
  695. (md_show_usage): Documment -marmv5 switch.
  696. * doc/c-arm.texi: Document -marmv5 command line option.
  697. * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
  698. op.
  699. (validate_immediate_twopart): New function. Determine if a
  700. constant can be computed by two ADD instructions.
  701. (output_inst): Remove its command line parameter - it was never
  702. used.
  703. (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
  704. implememt the ADRL pseudo op.
  705. (tc_gen_reloc): Generate a suitable error message if an ADRL
  706. instruction tries to generate a real reloc.
  707. * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
  708. Thu Jul 1 15:33:10 1999 Jeffrey A Law (law@cygnus.com)
  709. * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
  710. into lower case.
  711. 1999-06-27 H.J. Lu <hjl@gnu.org>
  712. * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
  713. non BFD_ASSEMBLER case.
  714. 1999-06-26 Mumit Khan <khan@xraylith.wisc.edu>
  715. * config/obj-coff.c (obj_coff_section): Mark writable sections as
  716. data.
  717. 1999-06-26 David Mosberger <davidm@hpl.hp.com>
  718. * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
  719. out_end_sequence() when the address decreases due to a new frag.
  720. (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
  721. numbering starts with 1.
  722. 1999-06-23 Nick Clifton <nickc@cygnus.com>
  723. * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
  724. .section for COFF.
  725. (mcore_s_text): Call obj_elf_text for ELF target.
  726. (mcore_s_data): Call obj_elf_data for ELF target.
  727. (mcore_s_section): No longer ELF specific. Call obj_coff_section
  728. for COFF target.
  729. (mcore_s_bss): New function: Dump literal table before changing
  730. sections.
  731. (mcore_s_comm): New function: Dump literal table before changing
  732. sections.
  733. * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
  734. No longer static functions.
  735. * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
  736. Provide prototypes for these functions.
  737. 1999-06-22 Ian Lance Taylor <ian@zembu.com>
  738. * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
  739. a list of names, to try obj_segment_name, and to try abbreviated
  740. names when using COFF without long section names.
  741. * config/tc-alpha.c: More use of symbol accessor functions.
  742. * config/tc-arc.c: Likewise.
  743. * config/tc-d30v.c: Likewise.
  744. * config/tc-fr30.c: Likewise.
  745. * config/tc-i860.c: Likewise.
  746. * config/tc-m88k.c: Likewise.
  747. * config/tc-mcore.c: Likewise.
  748. * config/tc-ns32k.c: Likewise.
  749. * config/tc-sparc.c: Likewise.
  750. * config/tc-v850.c: Likewise.
  751. * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
  752. sy_value with appropriate accessor functions.
  753. * config/tc-arm.c (md_apply_fix3): Likewise.
  754. * config/tc-d10v.c (AT_WORD_P): Likewise.
  755. * config/tc-v850.c (reg_name_search): Likewise.
  756. * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
  757. use symbol_get_bfdsym instead.
  758. * config/tc-ppc.c (md_assemble): Likewise.
  759. * config/tc-v850.c (v850_comm): Likewise.
  760. 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
  761. * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
  762. the symbol, rather than accessing the bsym member.
  763. * config/tc-d10v.c (tc_gen_reloc): Likewise.
  764. * config/tc-d30v.c (tc_gen_reloc): Likewise.
  765. * config/tc-mcore.c (tc_gen_reloc): Likewise.
  766. * config/tc-mn10200.c (tc_gen_reloc): Likewise.
  767. * config/tc-mn10300.c (tc_gen_reloc): Likewise.
  768. * config/tc-ns32k.c (tc_gen_reloc): Likewise.
  769. * config/tc-tic30.c (tc_gen_reloc): Likewise.
  770. * config/tc-v850.c (tc_gen_reloc): Likewise.
  771. Mon Jun 21 16:45:19 1999 Jeffrey A Law (law@cygnus.com)
  772. * config/tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
  773. (hppa_gen_reloc_type): Conditionalize on BFD64.
  774. (tc_gen_reloc): Re-enable ELF relocations.
  775. * config/tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
  776. 1999-06-21 Ian Lance Taylor <ian@zembu.com>
  777. * config/tc-arm.c (ldst_extend): Add parentheses to avoid
  778. warning.
  779. (do_ldst): Move assignment out of if condition.
  780. (md_apply_fix3): Add casts to avoid printf format warnings. Add
  781. parentheses to avoid warning.
  782. 1999-06-21 Nick Clifton <nickc@cygnus.com>
  783. * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
  784. macro to get at the BFD symbol associated with a GAS symbol.
  785. 1999-06-19 Ian Lance Taylor <ian@zembu.com>
  786. * config/tc-ppc.c: Update for symbol handling changes.
  787. * config/obj-coff.c: Likewise.
  788. Fri Jun 18 14:34:18 1999 Jeffrey A Law (law@cygnus.com)
  789. * config/tc-hppa.c: General cleanups of ELF support. No more spaces
  790. and subspaces for ELF.
  791. (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
  792. (GDB_STRINGS_SUBSPACE_NAME): Likewise.
  793. (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
  794. (UNWIND_SECTION_NAME): Likewise.
  795. (space/subspace related structures): Conditionalize definitions
  796. on OBJ_SOM.
  797. (space/subspace directives and support routines): Conditionalize
  798. definitions and references/uses on OBJ_SOM.
  799. (label_symbol_struct): For ELF, track the symbol's segment. For
  800. SOM track its space.
  801. (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
  802. changes.
  803. (USE_ALIASES): Kill for both SOM & ELF.
  804. (pa_def_subspaces, pa_def_spaces): Corresponding changes.
  805. (pa_space, pa_subspace): Corresponding changes.
  806. (pa_spaces_begin): Corresponding chagnes.
  807. (md_begin): Do not muck around with space/subspace stuff for
  808. OBJ_ELF.
  809. (md_apply_fix): Temporarily disable argument relocation stuff
  810. for OBJ_ELF.
  811. (tc_gen_reloc): Temporarily disable relocation generation for
  812. OBJ_ELF
  813. (pa_build_unwind_subspace): Similarly.
  814. 1999-06-16 Nick Clifton <nickc@cygnus.com>
  815. * config/tc-arm.c (thumb_set): New pseudo op.
  816. (text, data, section): Override these pseudo ops with ARM
  817. specific versions.
  818. (s_thumb_set): New function: Perform the same as a .set pseudo
  819. op, but also mark the alias'ed symbol as being a Thumb
  820. function.
  821. (arm_s_text): New function: Perform the same as the .text
  822. pseudo op, but dump the literal pool before changing
  823. sections.
  824. (arm_s_data): New function: Perform the same as the .data
  825. pseudo op, but dump the literal pool before changing
  826. sections.
  827. (arm_s_section): New function: Perform the same as the
  828. .section pseudo op, but dump the literal pool before changing
  829. sections.
  830. (arm_cleanup): Do not reset the current section before dumping
  831. the literal pool.
  832. 1999-06-17 Nick Clifton <nickc@cygnus.com>
  833. * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
  834. OPTION_NO_WARN_UNMATCHED entries.
  835. (md_parse_option): Generate a warning message if an unrecognised
  836. option is encountered.
  837. * config/tc-d10v.c (do_not_ignore_hash): New variable.
  838. (get_operands): When parsing an expression after an '@' symbol
  839. has been detected, do not ignore '#' symbols.
  840. (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
  841. false.
  842. 1999-06-13 Ian Lance Taylor <ian@zembu.com>
  843. From K. Richard Pixley <rich@noir.com>:
  844. * configure.in (ppc-*-vxworks*): New target.
  845. * configure: Rebuild.
  846. 1999-06-12 Philip Blundell <philb@gnu.org>
  847. * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
  848. 1999-06-13 Ian Lance Taylor <ian@zembu.com>
  849. * write.c (adjust_reloc_syms): Rather than never reducing reloc
  850. which refer to symbols in linkonce sections, permit reducing the
  851. relocs if the symbol is local.
  852. 1999-06-12 Ian Lance Taylor <ian@zembu.com>
  853. * subsegs.c (subseg_text_p): New function.
  854. * as.h (subseg_text_p): Declare.
  855. * read.c (do_align): Use subseg_text_p to set the default fill.
  856. * write.c (subsegs_finish): Likewise.
  857. * config/obj-coff.c (write_object_file): Likewise.
  858. * config/tc-i386.h (md_maybe_text): Don't define.
  859. (md_do_align): Use subseg_text_p to set the default fill.
  860. * config/tc-m32r.c (m32r_do_align): Likewise.
  861. * config/tc-sh.c (sh_do_align): Likewise.
  862. * config/tc-sparc.h (md_do_align): Likewise.
  863. 1999-06-12 David O'Brien <obrien@freebsd.org>
  864. * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
  865. * configure: Rebuild.
  866. 1999-06-12 Ian Lance Taylor <ian@zembu.com>
  867. * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
  868. * Makefile.am: Rebuild dependencies.
  869. * Makefile.in: Rebuild.
  870. * config/tc-i386.c (i386_immediate): Remove unused label
  871. seg_unimplemented.
  872. * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
  873. * symbols.c: Likewise.
  874. * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
  875. sy_next field when taking address, rather than symbol_next.
  876. * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
  877. offsetT.
  878. (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
  879. value from the output file architecture.
  880. (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
  881. * dwarf2dbg.h: Change bfd_vma to addressT.
  882. 1999-06-11 Ian Lance Taylor <ian@zembu.com>
  883. * dwarf2dbg.h: Use PARAMS in function declarations.
  884. 1999-06-11 Martin Dorey <mdorey@madge.com>
  885. * write.c (fixup_segment): Don't add symbol value for i960 ELF.
  886. * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
  887. OBJ_ELF.
  888. (md_apply_fix): Simplify BFD_ASSEMBLER handling.
  889. 1999-06-11 Ian Lance Taylor <ian@zembu.com>
  890. * config/tc-i386.c (md_apply_fix3): Add default case to switch.
  891. * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
  892. popsection.
  893. * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
  894. * read.c (read_a_source_file): Only declare inescape if
  895. QUOTES_IN_INSN.
  896. * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
  897. match parameters.
  898. (find_entry_byval): Add parens to avoid warning.
  899. * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
  900. * symbols.c (resolve_symbol_value): Don't permit subtraction of
  901. undefined symbols.
  902. 1999-06-10 Jakub Jelinek <jj@ultra.linux.cz>
  903. * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
  904. with isoctal.
  905. * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
  906. synthetize_setx): New functions.
  907. (md_assemble): Broken the special cases into the above
  908. functions. Make compiler happy if sizeof(bfd_vma)==4.
  909. Fix sethi generated from set/setuw. If instructions have a relloc,
  910. always clear the fields to be relocated in the opcode.
  911. (sparc_ip): Remove special_case global variable.
  912. 1999-06-10 Ian Lance Taylor <ian@zembu.com>
  913. Based on patches from John W. Woznack <jwoznack@concentric.net>:
  914. * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
  915. indication of success rather than a value.
  916. (itbl_get_val): Likewise.
  917. (itbl_get_field): Use strcspn. Change delimiters to include
  918. parens.
  919. * itbl-ops.h (itbl_get_reg_val): Update declaration.
  920. (itbl_get_val): Likewise.
  921. * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
  922. * symbols.c (copy_symbol_attributes): Convert local symbols to
  923. regular symbols.
  924. 1999-06-10 Nick Clifton <nickc@cygnus.com>
  925. * config/tc-arm.c (md_parse_option): Add support for ARM920 and
  926. ARM920t.
  927. 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
  928. * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
  929. Optimize set if sizeof(bfd_vma) == 64.
  930. (sparc_ip): Fix sethi - without %hi() it should generate
  931. R_SPARC_22 reloc, not R_SPARC_HI22.
  932. (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
  933. 1999-06-07 Jakub Jelinek <jj@ultra.linux.cz>
  934. * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
  935. (s_ncons): New function.
  936. (native_op_table): New table.
  937. (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
  938. R_SPARC_OLO10 handling.
  939. Mon Jun 7 10:22:16 1999 Richard Henderson <rth@cygnus.com>
  940. * expr.h (struct expressionS): Revert last change; widen X_op.
  941. * config/tc-alpha.c (md_begin): Check the field is wide enough.
  942. Mon Jun 7 11:25:16 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  943. * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
  944. (TARGET_CPU_HFILES): Add config/tc-fr30.h.
  945. (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
  946. * Makefile.in: Regenerated.
  947. * config/obj-elf.c (obj_elf_common): In MRI mode if called as
  948. `common' pass on to s_mri_common.
  949. (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
  950. 1999-06-06 Richard Henderson <rth@cygnus.com>
  951. * config/obj-elf.c (obj_elf_section): Don't free the return
  952. value of demand_copy_C_string.
  953. 1999-06-05 Richard Henderson <rth@cygnus.com>
  954. * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
  955. creation logic from obj_elf_create_section.
  956. * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
  957. (section_stack): New.
  958. (special_sections): Make const.
  959. (obj_elf_section): Gut and rewrite parsing.
  960. (obj_elf_change_section): New function broken out of obj_elf_section.
  961. (obj_elf_parse_section_letters): Likewise.
  962. (obj_elf_section_word): Likewise.
  963. (obj_elf_section_type): Likewise.
  964. (obj_elf_previous): Treat as a toggle.
  965. (obj_elf_popsection): New.
  966. * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
  967. (ppc_section_type): Likewise.
  968. * config/tc-ppc.h: Likewise.
  969. * expr.h (struct expressionS): Don't make X_op a bitfield.
  970. * config/tc-alpha.c: Update for symbol handling changes.
  971. (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
  972. (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
  973. 1999-06-05 Richard Henderson <rth@cygnus.com>
  974. * dwarf2dbg.c (*): Convert to K&R + prototypes.
  975. (dwarf2_gen_line_info): Kill unused variables.
  976. (dwarf2_finish): Likewise.
  977. (dwarf2_where): Likewise.
  978. (dwarf2_directive_file): If we've only got a string,
  979. hand off to s_app_file.
  980. * ecoff.c: Move the include of ecoff.h.
  981. * symbols.h (S_IS_FUNCTION): Prototype.
  982. * read.c (LEX_HASH): Supply a default.
  983. (lex_type): Use it.
  984. (s_globl): Update `c' after skipping whitespace.
  985. * read.h (LEX_END_NAME, is_name_ender): New.
  986. * expr.c (get_symbol_end): Respect it.
  987. 1999-06-04 Mark Klein <mklein@dis.com>
  988. * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
  989. to real if OBJ_SOM
  990. (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
  991. * config/tc-hppa.c: Update for symbol handling changes.
  992. 1999-06-03 Ian Lance Taylor <ian@zembu.com>
  993. * cgen.c: Update for symbol handling changes.
  994. * config/tc-m32r.c: Likewise.
  995. * config/tc-hppa.h: Update for symbol handling changes.
  996. * config/tc-hppa.c: Likewise.
  997. * config/tc-arm.h: Update for symbol handling changes.
  998. * config/tc-arm.c: Likewise.
  999. (symbol_make_empty): Remove. Just use symbol_create.
  1000. * symbols.c (symbol_set_tc): Correct name.
  1001. * Makefile.am: Rebuild dependencies.
  1002. ($(OBJS)): Don't depend upon struc-symbol.h.
  1003. (.dep1, .tcdep, .objdep): Create itbl-parse.h.
  1004. * dep-in.sed: Don't remove struc-symbol.h.
  1005. * Makefile.in: Rebuild.
  1006. * doc/internals.texi (Symbols): Describe changes in symbol
  1007. handling.
  1008. 1999-06-03 Richard Henderson <rth@cygnus.com>
  1009. * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
  1010. instead of doing the work by hand.
  1011. 1999-06-03 David Mosberger <davidm@hpl.hp.com>
  1012. * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
  1013. state of line state-machine.
  1014. (struct ls): Collect DWARF2 line state-machine state in new member
  1015. SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
  1016. resulted in any DWARF2 directives.
  1017. (reset_state_machine): New function.
  1018. (out_end_sequence): Ditto.
  1019. (dwarf2_gen_line_info): When switching sections or switching to a
  1020. lower text address, call out_end_sequence() first to terminate the
  1021. previous code sequence as code sequences MUST have monotonically
  1022. increasing addresses.
  1023. (dwarf2_finish): Call out_end_sequence() instead of open coding it.
  1024. 1999-06-03 David Mosberger <davidm@hpl.hp.com>
  1025. * as.c (parse_args): Add option -gdwarf2 to allow requesting
  1026. DWARF2 debug info (line information only, at this point).
  1027. * as.h: Update comment about supported debug formats.
  1028. * dwarf2dbg.c, dwarf2dbg.h: New files.
  1029. * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
  1030. * expr.c (operand): Don't use [ for parens if we want an index op.
  1031. (op_encoding): Switch [ into O_index, if desired.
  1032. (op_rank): Renumber with O_index on bottom.
  1033. (expr): If O_index, match closing bracket.
  1034. * expr.h (O_index): New.
  1035. * read.c (read_a_source_file): Conditionally allow matched "
  1036. in lines passed to md_assemble.
  1037. * config/obj-elf.c (elf_pseudo_table): Add `common'.
  1038. 1999-06-03 Ian Lance Taylor <ian@zembu.com>
  1039. Add support for storing local symbols in a small structure to save
  1040. memory when assembling large files.
  1041. * as.h: Don't include struc-symbol.h.
  1042. (symbolS): Add typedef.
  1043. * symbols.c: Include struc-symbol.h.
  1044. (local_hash): New static variable.
  1045. (save_symbol_name): New static function, from symbol_create.
  1046. (symbol_create): Call save_symbol_name.
  1047. (local_symbol_count): New static variable.
  1048. (local_symbol_conversion_count): Likewise.
  1049. (LOCAL_SYMBOL_CHECK): Define.
  1050. (local_symbol_make): New static function.
  1051. (local_symbol_convert): New static function.
  1052. (colon): Handle local symbols. Create local symbol for local
  1053. label name.
  1054. (symbol_table_insert): Handle local symbols.
  1055. (symbol_find_or_make): Create local symbol for local label name.
  1056. (symbol_find_base): Check for local symbol.
  1057. (symbol_append, symbol_insert): Check for local symbols.
  1058. (symbol_clear_list_pointers, symbol_remove): Likewise.
  1059. (verify_symbol_chain): Likewise.
  1060. (copy_symbol_attributes): Likewise.
  1061. (resolve_symbol_value): Handle local symbols.
  1062. (resolve_local_symbol): New static function.
  1063. (resolve_local_symbol_values): New function.
  1064. (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
  1065. (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
  1066. (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
  1067. (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
  1068. (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
  1069. (symbol_previous, symbol_next): New functions.
  1070. (symbol_get_value_expression): Likewise.
  1071. (symbol_set_value_expression): Likewise.
  1072. (symbol_set_frag, symbol_get_frag): Likewise.
  1073. (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
  1074. (symbol_mark_used_in_reloc): Likewise.
  1075. (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
  1076. (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
  1077. (symbol_mri_common_p): Likewise.
  1078. (symbol_mark_written, symbol_clear_written): Likewise.
  1079. (symbol_written_p): Likewise.
  1080. (symbol_mark_resolved, symbol_resolved_p): Likewise.
  1081. (symbol_section_p, symbol_equated_p): Likewise.
  1082. (symbol_constant_p): Likewise.
  1083. (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
  1084. (symbol_get_obj, symbol_set_obj): Likewise.
  1085. (symbol_get_tc, symbol_set_tc): Likewise.
  1086. (symbol_begin): Initialize local_hash.
  1087. (print_symbol_value_1): Handle local symbols.
  1088. (symbol_print_statistics): Print local symbol statistics.
  1089. * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
  1090. Declare new symbols.c functions. Move many declarations here from
  1091. struc-symbol.h.
  1092. (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
  1093. * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
  1094. (struct symbol): Move bsym to make it clearly the first field.
  1095. Remove TARGET_SYMBOL_FIELDS.
  1096. (symbolS): Don't typedef.
  1097. (struct broken_word): Remove.
  1098. (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
  1099. (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
  1100. (symbol_clear_list_pointers): Likewise.
  1101. (symbol_insert, symbol_remove): Likewise.
  1102. (symbol_previous, symbol_append): Likewise.
  1103. (verify_symbol_chain, verify_symbol_chain_2): Likewise.
  1104. (struct local_symbol): Define.
  1105. (local_symbol_converted_p, local_symbol_mark_converted): Define.
  1106. (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
  1107. (local_symbol_get_frag, local_symbol_set_frag): Define.
  1108. (local_symbol_get_real_symbol): Define.
  1109. (local_symbol_set_real_symbol): Define.
  1110. Define.
  1111. * write.c (write_object_file): Call resolve_local_symbol_values.
  1112. * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
  1113. (TARGET_SYMBOL_FIELDS): Don't define.
  1114. * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
  1115. ECOFF_DEBUGGING, add ECOFF fields.
  1116. (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
  1117. * config/obj-multi.h (struct elf_obj_sy): Add local field. If
  1118. ECOFF_DEBUGGING, add ECOFF fields.
  1119. (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
  1120. (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
  1121. * config/tc-mcore.h: Don't include struc-symbol.h.
  1122. (TARGET_SYMBOL_FIELDS): Don't define.
  1123. (struct mcore_tc_sy): Define.
  1124. (TC_SYMFIELD_TYPE): Define.
  1125. * Many files: Use symbolS instead of struct symbol. Use new
  1126. accessor functions rather than referring to symbolS fields
  1127. directly.
  1128. * read.c (s_mri_common): Don't add in value of line_label.
  1129. * config/tc-mips.c (md_apply_fix): Correct parenthesization when
  1130. checking for SEC_LINK_ONCE.
  1131. * config/tc-sh.h (sh_fix_adjustable): Declare.
  1132. * app.c (input_buffer): New static variable.
  1133. (app_push): Save saved_input in allocated buffer.
  1134. (app_pop): Restored saved_input.
  1135. (do_scrub_chars): Change get parameter to take char * and int as
  1136. arguments. Change GET macro to pass input_buffer to get
  1137. function. Don't save input into allocated buffer.
  1138. * as.h (do_scrub_chars): Update declaration.
  1139. * input-file.c (input_file_get): Change to take char * and int.
  1140. Read data into passed in buffer. Remove static buffer.
  1141. * read.c (scrub_from_string): Change to take char * and int. Copy
  1142. data into passed in buffer.
  1143. * hash.h: Neaten. Declare hash_traverse.
  1144. * hash.c: Complete rewrite based on BFD hashing code.
  1145. * gasp.c (chunksize): New variable.
  1146. * macro.c (macro_expand_body): Call hash_jam with NULL rather than
  1147. hash_delete.
  1148. 1999-05-28 Nick Clifton <nickc@cygnus.com>
  1149. * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
  1150. addend unless the target uses an old ABI.
  1151. Mon May 24 13:36:55 1999 Doug Evans <devans@canuck.cygnus.com>
  1152. -Wchar-subscripts cleanup
  1153. * listing.c (listing_newline): Use unsigned char variable, so
  1154. calls to isascii,iscntrl are correct.
  1155. * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
  1156. (unsigned char).
  1157. * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
  1158. * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
  1159. * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
  1160. (my_getSmallExpression,get_number,s_mips_ent): Ditto.
  1161. 1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
  1162. * config/tc-m68k.c (m68k_ip): Check for disallowed index register
  1163. width for Coldfire.
  1164. (arch_coldfire_p): New #define.
  1165. (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
  1166. 1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
  1167. * config/tc-m68k.c (install_operand): Add places `n', `o'.
  1168. * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
  1169. (install_operand): Add place `N'.
  1170. (init_table): Add registers ACC, MACSR, MASK.
  1171. * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
  1172. * config/tc-m68k.c: Change mcf5200 --> mcf.
  1173. (archs): Add mcf5206e, mcf5307.
  1174. (m68k_ip): Add format `u'.
  1175. (install_operand): Add place `m', `M', `h'.
  1176. (init_table): Add upper/lower registers.
  1177. * config/m68k-parse.h (m68k_register): Add upper/lower registers.
  1178. 1999-05-28 Martin Dorey <mdorey@madge.com>
  1179. * config/tc-i960.c: Several minor changes to add ELF and
  1180. BFD_ASSEMBLER support.
  1181. * config/tc-i960.h: Likewise.
  1182. * configure.in (i960-*-elf*): New target.
  1183. * aclocal.m4, configure: Rebuild.
  1184. 1999-05-25 Alan Modra <alan@spri.levels.unisa.edu.au>
  1185. * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
  1186. reloc changes when defined(BFD_ASSEMBLER).
  1187. 1999-05-17 Alan Modra <alan@spri.levels.unisa.edu.au>
  1188. * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
  1189. * write.c (write_print_statistics): Output to file, not stderr.
  1190. * expr.c (generic_bignum_to_int32,64): Prototype.
  1191. * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
  1192. output_sleb128, output_uleb128, output_big_sleb128,
  1193. output_big_uleb128, output_big_leb128): Prototype.
  1194. (output_big_sleb128, output_big_uleb128): Make inline.
  1195. (output_big_leb128): Remove inline
  1196. From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  1197. * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
  1198. fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
  1199. Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
  1200. value for correct overflow check in write.c:fixup_segment.
  1201. * write.c (fixup_segment): Move bitfield overflow checks to after
  1202. the md_apply_fix call.
  1203. * config/obj-coff.c (fixup_segment): Likewise.
  1204. * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
  1205. valueT *val argument.
  1206. Fri May 14 10:52:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  1207. * config/atof-ieee.c (gen_to_words): Correctly round a
  1208. denormalized number. Fix off-by-one in range checking for
  1209. exponent in a denormal.
  1210. 1999-05-10 Nick Clifton <nickc@cygnus.com>
  1211. * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
  1212. name.
  1213. Thu May 13 09:46:59 1999 Joel Sherrill (joel@OARcorp.com)
  1214. * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
  1215. 1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
  1216. * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
  1217. (ReverseRegRegmem): Remove.
  1218. (ImmExt): New flag. Renumber some of the opcode_modifier bits.
  1219. * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
  1220. 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
  1221. kludge.
  1222. From Doug Ledford <dledford@redhat.com>
  1223. * config/tc-i386.h (RegXMM): New for P/III.
  1224. * config/tc-i386.c: Add support for P/III.
  1225. Sat May 8 23:28:50 1999 Richard Henderson <rth@cygnus.com>
  1226. * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
  1227. (md_begin): Allow ppc32 insns in ppc64bridge mode.
  1228. (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
  1229. Thu May 6 23:13:39 1999 Richard Henderson <rth@cygnus.com>
  1230. * config/tc-i386.c (i386_immediate): Skip whitespace before
  1231. complaining about junk after expression.
  1232. (i386_displacement): Likewise.
  1233. Thu May 6 19:50:14 1999 Richard Henderson <rth@cygnus.com>
  1234. * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
  1235. Don't copy before downcaseing.
  1236. 1999-05-05 Catherine Moore <clm@cygnus.com>
  1237. * config/tc-m68k.c: Include elf/m68k.h.
  1238. (m68k_elf_final_processing): New routine.
  1239. * config/tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
  1240. Define.
  1241. Mon May 3 10:26:03 1999 Jeffrey A Law (law@cygnus.com)
  1242. * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
  1243. 17 bit fmt insn.
  1244. 1999-04-30 Nick Clifton <nickc@cygnus.com>
  1245. * config/tc-mcore.c (mcore_s_section): Dump literals before
  1246. changing section.
  1247. 1999-04-29 Nick Clifton <nickc@cygnus.com>
  1248. * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
  1249. for COFF/PE port.
  1250. Mon Apr 26 12:34:37 1999 Doug Evans <devans@canuck.cygnus.com>
  1251. * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
  1252. (TC_INIT_FIX_DATA): Delete.
  1253. * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
  1254. (TC_INIT_FIX_DATA): Delete.
  1255. * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
  1256. * write.c (fix_new_internal): Initialize fx_cgen member.
  1257. * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
  1258. (gas_cgen_md_apply_fix3): Update.
  1259. * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
  1260. (md_cgen_record_fixup_exp): Update.
  1261. (FX_OPINFO_R_TYPE): Update.
  1262. * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
  1263. * config/tc-fr30.h (TC_FRAG_INIT): Delete.
  1264. * config/tc-m32r.h (TC_FRAG_INIT): Delete.
  1265. * frags.h (struct frag): Make opindex, opinfo ints.
  1266. * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
  1267. 1999-04-26 Tom Tromey <tromey@cygnus.com>
  1268. * aclocal.m4, configure: Updated for new version of libtool.
  1269. 1999-04-22 Nick Clifton <nickc@cygnus.com>
  1270. * config/tc-mcore.c (md_apply_fix3): Renamed function from
  1271. md_apply_fix.
  1272. (md_apply_fix3): Do not fix up absolute relocations against
  1273. symbolic values.
  1274. * config/tc-mcore.h (MD_APPLY_FIX3): Define.
  1275. 1999-04-20 Nick Clifton <nickc@cygnus.com>
  1276. * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
  1277. changes and data-in-text directives.
  1278. (mcore_cons): New function: intercept cons() operations.
  1279. (mcore_float_cons): New function: intercept float_cons()
  1280. operations.
  1281. (mcore_stringer): New function: intercept stringer() operations.
  1282. 1999-04-18 Ian Lance Taylor <ian@zembu.com>
  1283. * obj.h (struct format_ops): Change generate_asm_lineno field to
  1284. take no parameters.
  1285. * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
  1286. * config/tc-alpha.c (find_opcode_match): Add default case to
  1287. switch.
  1288. (find_macro_match): Likewise.
  1289. (load_expression): Parenthesize && within ||.
  1290. * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
  1291. 1999-04-17 Nick Clifton <nickc@cygnus.com>
  1292. * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
  1293. .text .data .section pseudo ops.
  1294. (mcore_s_section): New function. Dump lits before changing secs.
  1295. (mcore_s_text): New function. Dump lits before changing secs.
  1296. (mcore_s_data): New function. Dump lits before changing secs.
  1297. 1999-04-16 Gavin Romig-Koch <gavin@cygnus.com>
  1298. * config/tc-mips.c (mips_32bitmode): New.
  1299. (md_begin): Set mips_32bitmode if needed.
  1300. (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
  1301. Set EF_MIPS_32BITMODE.
  1302. Fri Apr 16 12:26:39 1999 Bob Manson <manson@charmed.cygnus.com>
  1303. * config/obj-coff.c (c_section_symbol): Fix typo in previous
  1304. change.
  1305. 1999-04-16 Nick Clifton <nickc@cygnus.com>
  1306. * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
  1307. Thu Apr 15 16:52:09 1999 Jeffrey A Law (law@cygnus.com)
  1308. * config/tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
  1309. expressions correctly.
  1310. 1999-04-15 Gavin Romig-Koch <gavin@cygnus.com>
  1311. * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
  1312. Mon Apr 12 23:45:07 1999 Jeffrey A Law (law@cygnus.com)
  1313. * config/tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
  1314. and fmpynfadd instructions.
  1315. 1999-04-11 Richard Henderson <rth@cygnus.com>
  1316. * as.h (environ): Declare it, if needed.
  1317. * as.c (dump_statistics): Don't declare environ.
  1318. * configure.in (environ): Detect declaration.
  1319. * configure, config.in: Rebuild
  1320. * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
  1321. (i386_displacement): Allocate enough space for replacement buffer.
  1322. Clean up replacement buffer initialization.
  1323. 1999-04-11 Bob Manson <manson@charmed.cygnus.com>:
  1324. * subsegs.c (section_symbol): Don't create a new symbol if one
  1325. already exists; instead, use the existing one, but set its segment
  1326. and frag data if it hasn't already been defined.
  1327. * config/obj-coff.c (c_section_symbol): Likewise.
  1328. Sat Apr 10 20:10:02 1999 Richard Henderson <rth@cygnus.com>
  1329. * config/tc-alpha.c (load_expression): Call as_bad instead of abort.
  1330. 1999-04-08 Nick Clifton <nickc@cygnus.com>
  1331. * config/tc-mcore.c: New File: Support routines for MCore
  1332. assembler.
  1333. * config/tc-mcore.h: New File: Definitions for MCore assembler.
  1334. * config/obj-coff.c: Add support for mcore-pe target.
  1335. * Makefile.am: Add support for MCore targets.
  1336. * Makefile.in: Regenerate.
  1337. * configure.in: Add support for MCore targets.
  1338. * configure: Regenerate.
  1339. * doc/all.texi: Set MCORE.
  1340. * doc/as.texinfo: Document MCore specific command line options.
  1341. * write.h: Prevent multiple inclusion.
  1342. 1999-04-06 Ian Lance Taylor <ian@zembu.com>
  1343. * asintl.h (LC_MESSAGES): Never define.
  1344. * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
  1345. does not define it.
  1346. * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
  1347. does not define it.
  1348. * Makefile.am (m68k-parse.c): If configuring in the source
  1349. directory, copy m68k-parse.y into the local directory before
  1350. running ylwrap, to remove spurious differences when generating
  1351. snapshots.
  1352. * Makefile.in: Rebuild.
  1353. * config/tc-sparc.h (md_do_align): Just allocate the number of
  1354. bytes necessary, rather than always allocating 1024.
  1355. 1999-04-04 Ian Lance Taylor <ian@zembu.com>
  1356. * listing.c (listing_newline): Add cast to avoid warning.
  1357. * read.c (generate_lineno_debug): Add cases to switch. Reindent.
  1358. * config/tc-i386.c (i386_scale): Add return value.
  1359. (build_displacement_string): Remove unused local temp_disp2.
  1360. (i386_intel_memory_operand): Add parentheses to avoid warning.
  1361. (i386_intel_operand): Remove unused local end_of_operand_string.
  1362. (i386_operand): Remove unused local operand_modifier.
  1363. (i386_operand): Add parens to avoid warning.
  1364. 1999-04-04 Don Bowman <don@pixsci.com>
  1365. * configure.in: Add mips*-*-vxworks* target; have it define
  1366. MIPS_STABS_ELF.
  1367. * configure, config.in: Rebuild.
  1368. 1999-03-31 Nick Clifton <nickc@cygnus.com>
  1369. * configure.in (emulations): Add support for arm-epoc-pe.
  1370. * configure: Regenerate.
  1371. * config/te-epoc-pe.h: New file. Define macros specific to
  1372. arm-epoc-pe target.
  1373. * config/tc-arm.h: Select epoc-pe-arm target format if configured
  1374. for arm-epoc-pe target.
  1375. Mon Mar 29 10:15:40 CST 1999 Catherine Moore <clm@cygnus.com>
  1376. * config/tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
  1377. Wed Mar 24 14:11:10 1999 Jeffrey A Law (law@cygnus.com)
  1378. * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
  1379. detect ",n" without a condition.
  1380. (pa_parse_neg_cmpsub_cmpltr): Likewise.
  1381. Tue Mar 23 11:28:23 1999 Jeffrey A Law (law@cygnus.com)
  1382. * config/tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
  1383. instruction is encoded with one bit.
  1384. 1999-03-23 Ian Lance Taylor <ian@zembu.com>
  1385. * doc/internals.texi (CPU backend): Mention that
  1386. line_separator_chars should not include newline. From thi
  1387. <ttn@mingle.glug.org>.
  1388. 1999-03-22 Doug Evans <devans@casey.cygnus.com>
  1389. * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
  1390. * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
  1391. Sun Mar 21 18:08:18 1999 Richard Henderson <rth@cygnus.com>
  1392. * config/tc-alpha.c (md_assemble): Allow '6' in an opcode.
  1393. Thu Mar 18 10:55:30 1999 Jeffrey A Law (law@cygnus.com)
  1394. * config/tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
  1395. Thu Mar 18 02:30:07 1999 Jeffrey A Law (law@cygnus.com)
  1396. * config/tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
  1397. 1999-03-15 Martin Hunt <hunt@cygnus.com>
  1398. * app.c (do_scrub_begin): Change '-' back to a symbol char
  1399. so we can use multiple opcodes on a line again.
  1400. * config/tc-d30v.c: By default, warn if a symbol has
  1401. the same name as a register. Plus some minor
  1402. updates from the branch.
  1403. 1999-03-13 Nick Clifton <nickc@cygnus.com>
  1404. * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
  1405. BFD_RELOC_16 and BFD_RELOC_64.
  1406. 1999-03-12 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  1407. * expr.c (expr): Add missing else.
  1408. 1999-03-12 Nick Clifton <nickc@cygnus.com>
  1409. * config/tc-arm.c (md_apply_fix3): Improve error message.
  1410. 1999-03-11 Doug Evans <devans@casey.cygnus.com>
  1411. * Makefile.am (CPU_TYPES): Add fr30.
  1412. (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
  1413. (fr30,m32r dependencies): Update.
  1414. * Makefile.in: Rebuild.
  1415. * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
  1416. (gas_cgen_record_fixup_exp): Ditto.
  1417. (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
  1418. (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
  1419. * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
  1420. (md_cgen_lookup_reloc): Update use of operand->type.
  1421. * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
  1422. (md_convert_frag): Call cgen_operand_lookup_by_num.
  1423. (md_cgen_lookup_reloc): Update use of operand->type.
  1424. (m32r_cgen_record_fixup_exp): Ditto.
  1425. 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
  1426. * config/tc-mips.c (md_show_usage): Fix message.
  1427. 1999-03-03 Nick Clifton <nickc@cygnus.com>
  1428. * doc/c-arm.texi (ARM Syntax): Document new command line switches
  1429. and LDR reg,=<expr> instruction.
  1430. * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
  1431. -mcpu=arm9tdmi.
  1432. Fri Feb 19 09:36:30 1999 Ian Lance Taylor <ian@cygnus.com>
  1433. * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
  1434. 1999-02-17 Nick Clifton <nickc@cygnus.com>
  1435. This patch was created by: Scott Bambrough
  1436. <scottb@corelcomputer.com>
  1437. * app.c:
  1438. Special cased '@' character. The '@' character is used as the
  1439. ARM assembler comment character, as a special character
  1440. and in ELF .symver pseudo-op's, and as a special character in
  1441. .type and .section pseudo-ops.
  1442. (symver_pseudo): New static variable.
  1443. (symver_state): New static variable.
  1444. (struct app_save): Add field 'symver_state'.
  1445. (app_push): Save global symver_state int struct app_save.
  1446. (app_pop): Restore global symver_state from struct app_save.
  1447. (do_scrub_chars): Special case handling of '@' character in
  1448. .symver pseudo-ops.
  1449. * configure.in: Modified to recognize armv* uname syntax from ARM
  1450. Linux kernel.
  1451. * configure: Regenerated.
  1452. * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
  1453. a prefix to the section's type.
  1454. (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
  1455. the type's typename.
  1456. * config/tc-arm.h: Add support for PIC generation:
  1457. (pic_code): New boolean.
  1458. (obj_relocate_extern): Define.
  1459. (TC_RELOC_RTSYM_LOC_FIXUP): Define
  1460. (TC_CONS_FIX_NEW): Define.
  1461. (tc_fix_adjustable): Define.
  1462. (GLOBAL_OFFSET_TABLE_NAME): Define.
  1463. * config/tc-arm.c: Add support for PIC generation:
  1464. (line_seperator_chars): Allow ';' as a seperator for Linux.
  1465. (is_immediate_prefix): New macro.
  1466. (arm_parse_reloc): New function.
  1467. (s_arm_elf_cons): New function.
  1468. (do_branch): Special case for BFD_RELOC_ARM_PLT32.
  1469. (md_undefined_symbol): Special case handling for the Global Offset
  1470. Table's symbol.
  1471. (md_apply_fix3): Handle PIC relocs.
  1472. (tc_gen_reloc): Handle PIC relocs.
  1473. (md_parse_option): Add support for '-k' command line switch to
  1474. enable PIC generation.
  1475. (cons_fix_new_arm): New function.
  1476. (s_arm_elf_cons): New function.
  1477. Tue Feb 16 16:31:53 1999 Ian Lance Taylor <ian@cygnus.com>
  1478. * configure.in: Add comments for uses of AC_DEFINE.
  1479. * acinclude.m4: Likewise.
  1480. * acconfig.h: Remove.
  1481. * aclocal.m4: Rebuild.
  1482. * configure: Rebuild.
  1483. * Makefile.in: Rebuild.
  1484. * config.in: Rebuild.
  1485. 1999-02-15 Jim Lemke <jlemke@cygnus.com>
  1486. * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
  1487. non-constant offset from a base register.
  1488. 1999-02-14 Ken Raeburn <raeburn@raeburn.org>
  1489. * config/tc-alpha.c (md_show_usage): Put \ before newline in
  1490. strings always.
  1491. Sat Feb 13 14:10:10 1999 Richard Henderson <rth@cygnus.com>
  1492. * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
  1493. (emit_insn): Look for pc-relative and no-overflow specifiers on
  1494. internal relocation types.
  1495. 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
  1496. * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
  1497. -mcpu=NNNN flags.
  1498. * config/tc-mips.c: Remove all the mips_NNNN variables; just use
  1499. mips_cpu instead.
  1500. (mips_4650, mips_4010, mips_4100): Variables removed.
  1501. (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
  1502. macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
  1503. variables.
  1504. (md_begin): Don't bother initializing the mips_NNNN variables;
  1505. mips_cpu is set, and that's good enough now.
  1506. (md_parse_option): Have the -mNNNN options set mips_cpu instead of
  1507. the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
  1508. (show): New function, to handle wrapping in the CPU lists.
  1509. (md_show_usage): Update lists of -mcpu and -mNNNN switches.
  1510. Sat Feb 13 00:17:26 1999 Richard Henderson <rth@cygnus.com>
  1511. * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
  1512. than treat as an immediate specifier.
  1513. Thu Feb 11 16:18:31 1999 Richard Henderson <rth@cygnus.com>
  1514. * config/tc-i386.c: Prototype many functions.
  1515. (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
  1516. (i386_immediate): Remove unused second argument.
  1517. (i386_intel_operand): Fix i386_is_reg typo.
  1518. (i386_operand): Use allow_naked_reg.
  1519. (output_invalid): Make operand int for K&R.
  1520. Thu Feb 11 11:21:02 1999 Ian Lance Taylor <ian@cygnus.com>
  1521. * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
  1522. patch.
  1523. * Makefile.in: Rebuild.
  1524. 1999-02-09 Doug Evans <devans@casey.cygnus.com>
  1525. * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
  1526. (cgen.o): Ditto.
  1527. (EXTRA_as_new_SOURCES): Comment out.
  1528. (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
  1529. * Makefile.in: Rebuild.
  1530. * doc/Makefile.in: Rebuild.
  1531. * configure.in: Require autoconf 2.13. Redo using_cgen handling.
  1532. Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
  1533. (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
  1534. * configure: Rebuild.
  1535. * aclocal.m4: Rebuild.
  1536. * config.in: Rebuild.
  1537. * cgen.c: Include cgen-desc.h, not cgen-opc.h.
  1538. (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
  1539. (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
  1540. CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
  1541. CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
  1542. (gas_cgen_record_fixup): Remove unnecessary != 0 test.
  1543. (gas_cgen_record_fixup_exp): Ditto.
  1544. (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
  1545. descriptor, not global variable.
  1546. (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
  1547. descriptor, not global variable. Refer to insert_operand handler
  1548. via cpu descriptor, not global function.
  1549. * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
  1550. * config/tc-fr30.c: Include opcodes/fr30-desc.h.
  1551. (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
  1552. CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
  1553. Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
  1554. * config/tc-m32r.c: Ditto.
  1555. (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
  1556. (md_assemble): Ditto.
  1557. (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
  1558. 1999-02-09 Nick Clifton <nickc@cygnus.com>
  1559. * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
  1560. relocations for ELF targets.
  1561. 1999-02-08 Nick Clifton <nickc@cygnus.com>
  1562. * configure.in: Add support for StrongARM target.
  1563. * configure: Regenerate.
  1564. 1999-02-05 Nick Clifton <nickc@cygnus.com>
  1565. * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
  1566. * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
  1567. for COFF ports.
  1568. Wed Feb 3 11:35:47 1999 Richard Henderson <rth@cygnus.com>
  1569. * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
  1570. Mon Feb 1 20:37:30 1999 Catherine Moore <clm@cygnus.com>
  1571. * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
  1572. (INTEL_DWORD_MNEM_SUFFIX): Define.
  1573. (BYTE_PTR): Define.
  1574. (WORD_PTR): Define.
  1575. (DWORD_PTR): Define.
  1576. (XWORD_PTR): Define.
  1577. (SHORT): Define.
  1578. (OFFSET_FLAT): Define.
  1579. (FLAT): Define.
  1580. (NONE_FOUND): Define.
  1581. (No_dSuf): Define.
  1582. (No_xSuf): Define.
  1583. * config/tc-i386.c (set_intel_syntax): New routine.
  1584. (intel_syntax): Declare.
  1585. (allow_naked_reg): Declare.
  1586. (md_pseudo_table): Support .intel_syntax and .att_syntax.
  1587. (intel_float_operand): New routine.
  1588. (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
  1589. Handle brackets as well as parens. Call i386_intel_operand for
  1590. intel syntax. Reverse operands if appropriate. Handle new
  1591. suffixes. Handle movzx and movsx.
  1592. (i386_is_reg): New routine.
  1593. (i386_immediate): New routine.
  1594. (i386_scale): New routine.
  1595. (i386_displacement): New routine.
  1596. (i386_operand_modifier): New routine.
  1597. (build_displacement_string): New routine.
  1598. (i386_parse_seg): New routine.
  1599. (i386_intel_memory_operand): New routine.
  1600. (i386_intel_operand): New routine.
  1601. (i386_operand): Call i386_displacement, i386_immediate,
  1602. i386_scale, etc. instead of handling inline.
  1603. (parse_register): Handle registers without prefix.
  1604. Mon Feb 1 12:24:58 1999 Catherine Moore <clm@cygnus.com>
  1605. * configure: Regenerate.
  1606. * configure.in (arm-*-oabi): New.
  1607. (thumb-*-oabi): New.
  1608. * config/tc-arm.c (target_oabi): Declare.
  1609. (md_apply_fix3): Support REL relocs.
  1610. (md_parse_option): Handle -oabi.
  1611. (elf32_arm_target_format): New routine.
  1612. (md_longopts): Add OPTION_OABI.
  1613. * config/tc-arm.h: Redefine TARGET_FORMAT.
  1614. 1999-01-28 Nick Clifton <nickc@cygnus.com>
  1615. * write.c (write_relocs): Handle out of range error.
  1616. * config/tc-fr30.c (fr30_fix_adjustable): New function.
  1617. (fr30_force_relocation): Default to 0.
  1618. * config/tc-fr30.h (obj_fix_adjustable): Define.
  1619. (TC_FORCE_RELOCATION): Define.
  1620. * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
  1621. relocs.
  1622. 1999-01-16 Nick Clifton <nickc@cygnus.com>
  1623. * config/tc-d30v.c (write_2_short): Do not generate a sequential
  1624. merge of two instructions if the left instruciton kills the right.
  1625. 1999-01-11 Doug Evans <devans@casey.cygnus.com>
  1626. * Makefile.in: Regenerate.
  1627. * configure.in: Redo test for using cgen.
  1628. * configure: Regenerate.
  1629. 1999-01-09 Nick Clifton <nickc@cygnus.com>
  1630. * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
  1631. redefinition of this macro.
  1632. Tue Jan 5 21:58:03 1999 Doug Evans <devans@canuck.cygnus.com>
  1633. * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
  1634. warning.
  1635. 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
  1636. * config/tc-mips.c (append_insn): For mips16, insert a nop between
  1637. a read of HI or LO and an immediatly following branch.
  1638. 1998-12-29 Gavin Romig-Koch <gavin@cygnus.com>
  1639. * config/tc-mips.c (md_begin): Another correction to the setting of
  1640. mips_eabi64.
  1641. 1998-12-23 Gavin Romig-Koch <gavin@cygnus.com>
  1642. * config/tc-mips.c (md_begin): Correct type-o in setting of
  1643. mips_eabi64.
  1644. 1998-12-21 Nick Clifton <nickc@cygnus.com>
  1645. * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
  1646. bit insn when optimizing, so that parallelised instructions will
  1647. start on a 32 bit boundary.
  1648. 1998-12-19 Gavin Romig-Koch <gavin@cygnus.com>
  1649. * config/tc-mips.c (mips_eabi64): New.
  1650. (md_begin): Set mips_eabi64.
  1651. (mips_elf_final_processing): Use it.
  1652. 1998-12-18 Gavin Romig-Koch <gavin@cygnus.com>
  1653. * config/tc-mips.c (mips_elf_final_processing):
  1654. Correct setting of ABI in e_flags.
  1655. Wed Dec 16 16:17:22 1998 Dave Brolley <brolley@cygnus.com>
  1656. * config/tc-fr30.c (md_assemble): Warn about invalid instructions
  1657. in delay slots.
  1658. 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
  1659. * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
  1660. 1998-12-15 Doug Evans <devans@casey.cygnus.com>
  1661. * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
  1662. warning, values that don't fit in the field.
  1663. 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
  1664. * config/tc-mips.c (mips_abi_string): New.
  1665. (md_parse_option,md_longopts): Add mabi.
  1666. (mips_elf_final_processing): Set e_flags based on mabi flag.
  1667. 1998-12-15 Gavin Romig-Koch <gavin@cygnus.com>
  1668. * config/tc-mips.c (md_parse_option): Handle vr4111.
  1669. 98-12-11 Ken Raeburn <raeburn@cygnus.com>
  1670. * config/tc-h8300.c (build_bytes): Change message given if the
  1671. instruction requires H8/300H mode and we're not in Hmode, to
  1672. suggest that it may be the operand modes that are the problem, not
  1673. necessarily the opcode.
  1674. 1998-12-10 Nick Clifton <nickc@cygnus.com>
  1675. * config/tc-fr30.c: Add line separator character.
  1676. Tue Dec 8 19:51:50 1998 Mark Klein <mklein@dis.com>
  1677. * configure.in (hppa-*-mpeix*): New target.
  1678. * config/obj-som.h (obj_som_compiler): Declare.
  1679. * config/obj-som.c (compiler_seen): New static variable.
  1680. (obj_som_compiler): New function.
  1681. * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
  1682. (md_pseudo_table): Add "compiler" if OBJ_SOM.
  1683. (pa_type_args): Set hppa_priv_level.
  1684. (pa_compiler): New static function if OBJ_SOM.
  1685. * configure: Rebuild.
  1686. Tue Dec 8 15:00:50 1998 Ian Lance Taylor <ian@cygnus.com>
  1687. * read.c (output_leb128): Don't mark as inline.
  1688. 1998-12-08 Andrew MacLeod <amacleod@cygnus.com>
  1689. * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
  1690. AIX .vbyte unaligned data support.
  1691. (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
  1692. (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
  1693. sections.
  1694. 1998-12-07 Nick Clifton <nickc@cygnus.com>
  1695. * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
  1696. input handling.
  1697. Mon Dec 7 09:48:34 1998 Catherine Moore <clm@cygnus.com>
  1698. * config/tc-arm.c (elf32_arm_force_relocation): Check for
  1699. BFD_RELOC_ARM_PCREL_BRANCH.
  1700. Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
  1701. * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
  1702. checking the target type.
  1703. (mips-dec-bsd*): Set endian to little.
  1704. * configure: Rebuild.
  1705. COFF weak symbol support, based on patches from Mark Elbrecht
  1706. <snowball3@usa.net>:
  1707. * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
  1708. * config/obj-coff.c (obj_coff_weak): New static function.
  1709. (obj_coff_endef) [both versions]: Handle weak symbols.
  1710. (coff_frob_symbol): Likewise.
  1711. (yank_symbols): Likewise.
  1712. (obj_pseudo_table): Add "weak".
  1713. * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
  1714. <aymeric.vincent@emi.u-bordeaux.fr>.
  1715. * aclocal.m4: Rebuild with current tools.
  1716. * configure: Rebuild.
  1717. * config/tc-alpha.c (emit_ldgp): Give an error message rather than
  1718. an assertion failure for a case we can't handle when OBJ_ECOFF.
  1719. * expr.c (operator): And with 0xff to avoid problems with signed
  1720. char.
  1721. 1998-12-03 Nick Clifton <nickc@cygnus.com>
  1722. * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
  1723. BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
  1724. 1998-12-02 Nick Clifton <nickc@cygnus.com>
  1725. * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
  1726. LDI:20 insn.
  1727. Thu Nov 26 11:23:48 1998 Dave Brolley <brolley@cygnus.com>
  1728. * config/tc-fr30.c (md_pcrel_from_section): Restore previous
  1729. calculation of pcrel point.
  1730. Tue Nov 24 17:21:52 1998 Nick Clifton <nickc@cygnus.com>
  1731. * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
  1732. pcrel point.
  1733. Tue Nov 24 14:54:38 1998 Nick Clifton <nickc@cygnus.com>
  1734. * config/tc-d10v.c (md_assemble): Make static 'etype' have file
  1735. scope.
  1736. (d10v_cleanup): Only generate previous insn if a multiline insn is
  1737. not pending.
  1738. Fri Nov 20 11:41:13 1998 Nick Clifton <nickc@cygnus.com>
  1739. * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
  1740. FR30_OPERAND_I32.
  1741. Thu Nov 19 15:01:29 1998 Nick Clifton <nickc@cygnus.com>
  1742. * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
  1743. -marm6xxx command line switches.
  1744. 1998-11-18 Doug Evans <devans@casey.cygnus.com>
  1745. * Makefile.am (DEP): Use $(srcdir)/../mkdep.
  1746. (itbl-ops.o): Delete duplicate dependencies.
  1747. Rebuild dependencies.
  1748. Add fr30 dependencies.
  1749. * Makefile.in: Rebuild.
  1750. Tue Nov 17 13:42:42 1998 Nick Clifton <nickc@cygnus.com>
  1751. * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
  1752. opcode list.
  1753. * listing.c: Ignore line terminator characters found inside
  1754. strings.
  1755. Thu Nov 12 19:21:24 1998 Dave Brolley <brolley@cygnus.com>
  1756. * po/gas.pot: Regenerated.
  1757. Thu Nov 12 10:54:16 1998 Nick Clifton <nickc@cygnus.com>
  1758. * config/tc-fr30.c (fr30_is_colon_insn): New name for
  1759. fr30_is_label_start(). Also checks for delay slot insns.
  1760. * config/tc-fr30.c (fr30_is_label_start): New function: Handle
  1761. FR30 instructions which contain a colon in the mnemonic.
  1762. * config/tc-fr30.h (TC_START_LABEL): Define this macro.
  1763. Wed Nov 11 09:58:21 1998 Nick Clifton <nickc@cygnus.com>
  1764. * config/tc-fr30.c: Removed currently superflous code.
  1765. Tue Nov 10 13:13:05 1998 Nick Clifton <nickc@cygnus.com>
  1766. * config/tc-fr30.h: New file.
  1767. * config/tc-fr30.c: Tweaking so that it will compile.
  1768. Tue Nov 10 14:41:33 1998 Catherine Moore <clm@cygnus.com>
  1769. * config/tc-d10v.h (obj_fix_adjustable): Define.
  1770. (TC_FORCE_RELOCATION): Define.
  1771. (d10v_force_relocation): Declare.
  1772. * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
  1773. (md_apply_fix3): Handle Vtable relocs.
  1774. (d10v_fix_adjustable): New.
  1775. (d10v_force_relocation): New.
  1776. Mon Nov 9 14:25:06 1998 Nick Clifton <nickc@cygnus.com>
  1777. * config/tc-d30v.c: Change default behaviour to ignore potential
  1778. conflicts between register name and symbol names.
  1779. Wed Nov 4 18:42:00 1998 Dave Brolley <brolley@cygnus.com>
  1780. * configure.in: Add fr30-*-*.
  1781. * config/tc-fr30.c: New file.
  1782. * Makefile.in: Regenerated.
  1783. * config.in: Regenerated.
  1784. * configure: Regenerated.
  1785. * doc/Makefile.in: Regenerated.
  1786. * po/gas.pot: Regenerated.
  1787. Mon Nov 2 20:54:16 1998 Doug Evans <devans@canuck.cygnus.com>
  1788. * config/tc-m32r.c (assemble_two_insns): Ensure both insns
  1789. are 16 bit insns.
  1790. Mon Nov 2 20:10:18 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
  1791. * app.c (do_scrub_begin): Set characters above 127 to be symbol
  1792. characters.
  1793. (do_scrub_chars): Add some casts to unsigned char to avoid
  1794. unwanted sign extension.
  1795. * read.c (lex_type): Set characters about 127 to be symbol
  1796. characters.
  1797. * config/tc-i386.c (md_begin): Set identifier_chars and
  1798. operand_chars for values above 127.
  1799. Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
  1800. * configure.in: detect cygwin* instead of cygwin32*
  1801. * configure: regenerate
  1802. Tue Oct 27 13:18:40 1998 Nick Clifton <nickc@cygnus.com>
  1803. * listing.c: Add support for producing a listing from piped
  1804. input.
  1805. Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
  1806. * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
  1807. (append_insn): Account for the tx39's multiply behavior.
  1808. 1998-10-26 Michael Meissner <meissner@cygnus.com>
  1809. * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
  1810. from assemble_parallel_insns. Add support for '->' to indicate
  1811. explicitly serializing the instructions.
  1812. (md_assemble): Ditto.
  1813. Sat Oct 24 15:12:19 1998 Catherine Moore <clm@cygnus.com>
  1814. * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
  1815. WEAK handling.
  1816. Thu Oct 22 12:41:33 1998 Catherine Moore <clm@cygnus.com>
  1817. * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
  1818. Thu Oct 22 10:03:15 1998 Ron Unrau <runrau@cygnus.com>
  1819. * config/tc-mips.c: support frame and regmask/fregmask when
  1820. MIPS_STABS_ELF is specified.
  1821. Wed Oct 21 11:34:51 1998 Catherine Moore <clm@cygnus.com>
  1822. * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
  1823. (md_apply_fix): Don't return 1 for VTABLE relocs.
  1824. * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
  1825. Tue Oct 20 11:18:28 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  1826. * doc/c-i386.texi: Replace occurences of "opcode" with
  1827. "instruction mnemonic", "instruction", or "mnemonic" when
  1828. referring to the name of an instruction. Use "opcode" when
  1829. referring to the sequence of machine bytes.
  1830. * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
  1831. (is_opcode_char): Rename to is_mnemonic_char.
  1832. (md_assemble and i386_operand): Correct error messages from
  1833. "opcode" to "instruction mnemonic"
  1834. Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
  1835. MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
  1836. DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
  1837. WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
  1838. BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
  1839. SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
  1840. LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
  1841. * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
  1842. * config/tc-i386.c (i386_operand): Check for garbage after
  1843. register name.
  1844. Tue Oct 20 10:49:42 1998 Ian Lance Taylor <ian@cygnus.com>
  1845. * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
  1846. for BFD_ASSEMBLER to only change value when COFF if TE_PE.
  1847. Mon Oct 19 20:20:42 1998 Catherine Moore <clm@cygnus.com>
  1848. * config/tc-sh.h (obj_fix_adjustable): Define.
  1849. * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
  1850. (md_apply_fix): Likewise.
  1851. (tc_gen_reloc): Likewise.
  1852. (sh_fix_adjustable): New.
  1853. Mon Oct 19 12:35:43 1998 Doug Evans <devans@seba.cygnus.com>
  1854. * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
  1855. * cgen.h (gas_cgen_finish_insn): Update prototype.
  1856. * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
  1857. cgen_insn_t -> CGEN_INSN_INT.
  1858. (make_parallel): Update handling of CGEN_INT_INSN_P.
  1859. (assemble_parallel_insn): Ditto.
  1860. (target_make_parallel): New function.
  1861. (md_assemble): Use it.
  1862. Mon Oct 19 13:16:12 1998 Catherine Moore <clm@cygnus.com>
  1863. * config/tc-m32r.c (m32r_force_relocation): Fix typo.
  1864. Sun Oct 18 18:48:57 1998 Jeffrey A Law (law@cygnus.com)
  1865. * config/tc-sh.c (md_assemble): Make sure the entire opcode is
  1866. converted into lower case.
  1867. Fri Oct 16 13:36:34 CDT Catherine Moore <clm@cygnus.com>
  1868. * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
  1869. (gas_cgen_tc_gen_reloc): Likewise.
  1870. * config/tc-m32r.h (obj_fix_adjustable): Define.
  1871. * config/tc-m32r.c (m32r_fix_adjustable): New.
  1872. (m32r_force_relocation): Handle VTABLE relocs.
  1873. Wed Oct 14 11:33:38 1998 Nick Clifton <nickc@cygnus.com>
  1874. * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
  1875. Mon Oct 12 11:07:21 1998 Nick Clifton <nickc@cygnus.com>
  1876. * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
  1877. to lower case before parsing.
  1878. * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
  1879. parallel insns modift buts in the PSW as a side effect.
  1880. Thu Oct 8 10:18:33 1998 Nick Clifton <nickc@cygnus.com>
  1881. * config/tc-d30v.c (find_format): Test for missing flag and
  1882. control registers.
  1883. (md_apply_fix3): Fix error messages to avoid
  1884. assumption about presence of a symbol.
  1885. (parallel_ok): Disallow parallel instructions that both modify the
  1886. same flag register.
  1887. (find_format): Generate a warning if an odd numbered register is
  1888. used as the first register in a mutli-register instruction.
  1889. Wed Oct 7 14:09:14 1998 Nick Clifton <nickc@cygnus.com>
  1890. * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
  1891. relocations are always associated with a symbol.
  1892. Tue Oct 6 09:31:15 1998 Catherine Moore <clm@cygnus.com>
  1893. * config/tc-sparc.h (TC_FORCE_RELOCATION): Define.
  1894. (elf32_sparc_force_relocation): Declare.
  1895. * config/tc-sparc.c (md_apply_fix3): Handle vtable relocs.
  1896. (tc_gen_reloc): Handle vtable relocs.
  1897. (elf32_sparc_force_relocation): New.
  1898. Mon Oct 5 09:25:32 1998 Catherine Moore <clm@cygnsu.com>
  1899. * symbols.c (S_IS_FUNCTION): New.
  1900. * config/tc-v850.h (obj_fix_adjustable): Define.
  1901. (TC_FORCE_RELOCATION): Define.
  1902. (v850_force_relocation): Declare.
  1903. * config/tc-v850.c (tc_gen_reloc): Use offset instead
  1904. of fx_addnumber for VTABLE reloc addends.
  1905. (md_apply_fix3): Handle VTABLE relocs.
  1906. (v850_fix_adjustable): New.
  1907. (v850_force_relocation): New.
  1908. Mon Oct 5 00:48:52 1998 Jeffrey A Law (law@cygnus.com)
  1909. * config/tc-hppa.c (fp_operand_format): Add some additional formats.
  1910. (pa_ip): Do not automatically promote into pa2.0 mode.
  1911. (pa_level): Handle ".level 2.0".
  1912. Sun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  1913. * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
  1914. * config/tc-i386.h (template.extension_opcode): Change to
  1915. unsigned int to allow full range of 8-bit opcode suffixes.
  1916. (None): Redefine as 0xffff.
  1917. From Jeff B Epler <jepler@usgs.gov>
  1918. * doc/c-i386.texi (i386-SIMD): New section.
  1919. Thu Oct 1 15:37:54 1998 Richard Henderson <rth@cygnus.com>
  1920. * read.c (discard_rest_of_line): New function.
  1921. * read.h: Declare it.
  1922. * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
  1923. Thu Oct 1 10:33:53 1998 Nick Clifton <nickc@cygnus.com>
  1924. * config/tc-d10v.c (find_symbol_matching_register): New function.
  1925. (find_opcode): Cope with the case where a register name matches
  1926. a symbol name.
  1927. Wed Sep 30 10:52:32 1998 Nick Clifton <nickc@cygnus.com>
  1928. * config/tc-v850.c (md_pcrel_from): Rename to
  1929. v850_pcrel_from_section.
  1930. (v850_pcrel_from_section): Do not resolves symbols in other
  1931. sections.
  1932. * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
  1933. Mon Sep 28 11:01:20 1998 Nick Clifton <nickc@cygnus.com>
  1934. * config/tc-d10v.c (find_opcode): Generate an error if a register
  1935. is supplied for an operand that should not be a register.
  1936. Fri Sep 25 10:04:21 1998 Nick Clifton <nickc@cygnus.com>
  1937. * config/tc-d30v.c (write_2_short): But do allow delayed branch
  1938. instructions to have another instruction in the right bin.
  1939. Thu Sep 24 09:28:34 1998 Nick Clifton <nickc@cygnus.com>
  1940. * config/tc-d30v.c (write_2_short): Do not allow instructions in
  1941. the right container if the left container holds a branch
  1942. instruction.
  1943. Wed Sep 23 10:54:29 1998 Nick Clifton <nickc@cygnus.com>
  1944. * config/tc-d30v.c (reg_name_search): Only warn if a name matches
  1945. both a register name and symbol name.
  1946. (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
  1947. Tue Sep 22 17:49:16 1998 Nick Clifton <nickc@cygnus.com>
  1948. * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
  1949. execution unit class.
  1950. (reg_name_search): If a name matches a register and a symbol,
  1951. prefer the register.
  1952. (find_format): Disallow flag registers when a general purpose
  1953. register is required.
  1954. If a number is required, but a register has been given, check to
  1955. see if a symbol with the same name as the register exists, and if
  1956. so, use that symbol.
  1957. Tue Sep 22 16:40:52 1998 Jim Wilson <wilson@cygnus.com>
  1958. * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
  1959. Tue Sep 22 15:44:21 1998 Nick Clifton <nickc@cygnus.com>
  1960. * config/tc-d30v.c (find_format): Do not accept flag registers as
  1961. general purpose registers.
  1962. (find_format): If an immediate value is expected at a given place
  1963. in a format, but a register name has been provided instead, check
  1964. to see if that register name matches the name of a predefined
  1965. symbol and if it does, then use the symbol instead.
  1966. (reg_name_search): If a register name matches a symbol name,
  1967. prefer the register name to the symbol name.
  1968. Mon Sep 21 10:42:57 1998 Nick Clifton <nickc@cygnus.com>
  1969. * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
  1970. the previous insn to empty.
  1971. 1998-09-20 Michael Meissner <meissner@cygnus.com>
  1972. * config/tc-ppc.c (md_apply_fix3): Do not break string into two
  1973. pieces, forcing the use of an ANSI compiler.
  1974. Sun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1975. * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
  1976. relocs.
  1977. * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
  1978. Tue Sep 15 08:51:07 1998 Catherine Moore <clm@cygnus.com>
  1979. * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
  1980. assembler syntax.
  1981. (obj_elf_vtable_entry): Likewise.
  1982. * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
  1983. * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
  1984. (tc_gen_reloc): Likewise.
  1985. (arm_fix_adjustable): Likewise.
  1986. (elf32_arm_force_relocation): New.
  1987. (armelf_frob_symbol): Remove coff-style symbol support.
  1988. Wed Sep 9 11:27:16 1998 Richard Henderson <rth@cygnus.com>
  1989. * config/tc-i386.c (i386_operand): Fix typo in last patch.
  1990. Tue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
  1991. * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
  1992. OBJ_COFF so that routine is defined for a.out format.
  1993. Tue Sep 8 15:56:19 1998 Richard Henderson <rth@cygnus.com>
  1994. * config/tc-i386.c (i386_operand): Detect non-segment registers
  1995. used as segment prefixes.
  1996. Sat Sep 5 19:00:38 1998 Ian Lance Taylor <ian@cygnus.com>
  1997. * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
  1998. optimize across FDE boundaries.
  1999. * config/obj-coff.c (obj_coff_section): Preserve any link once
  2000. flags when setting the section flags.
  2001. Fri Sep 4 17:07:14 1998 Nick Clifton <nickc@cygnus.com>
  2002. * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
  2003. * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
  2004. Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
  2005. * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
  2006. to the host width.
  2007. Wed Sep 2 11:31:14 1998 Richard Henderson <rth@cygnus.com>
  2008. * frags.c (frag_grow): Include the size of the frag struct in the
  2009. obstack chunk size.
  2010. * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
  2011. if the new subseg comes before the old.
  2012. Tue Sep 1 15:01:33 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
  2013. * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
  2014. to handle edge8 and edge16.
  2015. Mon Aug 31 09:51:14 1998 Richard Henderson <rth@cygnus.com>
  2016. * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
  2017. before we clobber the symbol involved.
  2018. Mon Aug 31 10:58:06 1998 Catherine Moore <clm@cygnus.com>
  2019. * config/tc-arm.c: Remove OBJ_ELF definitions for
  2020. S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
  2021. use arm_adjust_symtab for OBJ_COFF.
  2022. (armelf_adjust_symtab): New Routine.
  2023. * config/tc-arm.h: Define obj_adjust_symtab to
  2024. armelf_adjust_symtab for OBJ_ELF.
  2025. Sat Aug 29 22:18:51 1998 Richard Henderson <rth@cygnus.com>
  2026. * configure.in: Make all i386-elf targets use bfd_gas.
  2027. * config/tc-i386.c (tc_i386_force_relocation): New.
  2028. (tc_i386_fix_adjustable): Don't fix vtable relocs.
  2029. (md_apply_fix3): Likewise.
  2030. (tc_gen_reloc): Handle them.
  2031. * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
  2032. tc_i386_force_relocation.
  2033. Mon Aug 24 13:40:21 1998 Nick Clifton <nickc@cygnus.com>
  2034. * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
  2035. Fri Aug 21 18:43:48 1998 Nick Clifton <nickc@cygnus.com>
  2036. * config/tc-d30v.c (md_assemble): Copy previous opcode over
  2037. current opcode after writing the first insturction of a reverse
  2038. sequential pair.
  2039. Fri Aug 21 07:30:35 1998 Doug Evans <devans@canuck.cygnus.com>
  2040. * read.h (generate_lineno_debug): Add prototype.
  2041. * read.c (generate_lineno_debug): Make non-static.
  2042. Thu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2043. * config/tc-i386.c (md_assemble): Only warn for address/data size
  2044. prefixes.
  2045. Thu Aug 20 14:45:08 1998 Nick Clifton <nickc@cygnus.com>
  2046. * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
  2047. against Thumb function names, as the linker needs this information.
  2048. 1998-08-20 Vladimir N. Makarov <vmakarov@cygnus.com>
  2049. * expr.c (operand): Check also that there is no advance in operand
  2050. after atof_generic in order to decide "is it label 0f or floating
  2051. point number?".
  2052. Wed Aug 19 09:30:16 1998 Nick Clifton <nickc@cygnus.com>
  2053. * config/tc-m32r.c: Replace double dash prefix to M32R specific
  2054. command line options with a single dash.
  2055. * doc/c-m32r.texi: Replace double dash prefix with a single dash.
  2056. Tue Aug 18 11:59:43 1998 Catherine Moore <clm@cygnus.com>
  2057. * config/tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
  2058. * config/tc-arm.c (arm_fix_adjustable): New routine.
  2059. 1998-08-13 Vladimir N. Makarov <vmakarov@cygnus.com>
  2060. * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
  2061. s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
  2062. demand_empty_rest_of_line before mri_comment_end.
  2063. (equals): Check garbage after expression before
  2064. mri_comment_end in MRI mode.
  2065. Thu Aug 13 15:08:42 1998 Ian Lance Taylor <ian@cygnus.com>
  2066. * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
  2067. small immediate constant to use the constant itself rather than
  2068. always using 1.
  2069. Wed Aug 12 18:47:38 1998 Ian Lance Taylor <ian@cygnus.com>
  2070. * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
  2071. (pa_leave): Likewise.
  2072. Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2073. * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
  2074. prefixes.
  2075. (i386_operand): Fix an error message.
  2076. Tue Aug 11 14:44:32 1998 Nick Clifton <nickc@cygnus.com>
  2077. * doc/c-arm.texi (ARM Directives): Document .req directive.
  2078. * config/tc-arm.c (reg_required_here): Display erroneous string if
  2079. the register name could not be decoded.
  2080. Do not set inst.instruction if the sift is -1.
  2081. Mon Aug 10 15:39:56 1998 Richard Henderson <rth@cygnus.com>
  2082. * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
  2083. we do for EXTERN.
  2084. Mon Aug 10 15:06:18 1998 Nick Clifton <nickc@cygnus.com>
  2085. * config/tc-d30v.c (d30v_align): Always perform alignment request,
  2086. even if it is belived to be unnecessary.
  2087. Mon Aug 10 17:48:09 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2088. config/tc-i386.c (i386_operand): Size immediate constants by
  2089. suffix (erroneously removed as part of July 7 change).
  2090. Sun Aug 9 20:45:32 1998 Catherine Moore <clm@cygnus.com>
  2091. * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
  2092. * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
  2093. (armelf_frob_symbol): New Routine.
  2094. * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
  2095. Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
  2096. * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
  2097. Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>
  2098. * config/tc-arm.c (md_begin): Set BFD private flags depending upon
  2099. command line switches passed to assembler.
  2100. Mon Aug 3 14:02:52 1998 Doug Evans <devans@seba.cygnus.com>
  2101. * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
  2102. (gas_cgen_opcode_desc): Declare.
  2103. (gas_cgen_parse_operand): Declare.
  2104. (*): Prepend gas_ to gas specific fns to denote them as such.
  2105. All uses updated.
  2106. * cgen.c (gas_cgen_opcode_desc): New global
  2107. (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
  2108. (queue_fixup): Renamed from cgen_queue_fixup.
  2109. (*): Prepend gas_ to gas specific fns to denote them as such.
  2110. All uses updated.
  2111. (gas_cgen_md_apply_fix3): Update call to insert_operand.
  2112. (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
  2113. * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
  2114. Open opcode table and initialize it.
  2115. (make_parallel): Use gas_cgen_opcode_desc.
  2116. (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
  2117. (md_assemble): Ditto.
  2118. Sat Aug 1 19:27:30 1998 Richard Henderson <rth@cygnus.com>
  2119. * as.h (debug_info_type): Add entries for unspecified and dwarf*.
  2120. * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
  2121. as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
  2122. * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
  2123. Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
  2124. * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
  2125. DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
  2126. * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
  2127. (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
  2128. (INIT_STAB_SECTION): Likewise.
  2129. (OBJ_PROCESS_STAB): Likewise.
  2130. * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
  2131. (md_parse_option): Watch for them.
  2132. (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
  2133. (md_begin): Kill neverdef code.
  2134. (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
  2135. (s_alpha_prologue): Watch alpha_cur_ent_sym.
  2136. (s_alpha_coff_wrapper): New.
  2137. (md_pseudo_table): Trap all ECOFF pseudos.
  2138. Fri Jul 31 16:45:54 1998 Ron Unrau <runrau@cygnus.com>
  2139. Start of changes to remove mdebug section from mips*-elf
  2140. Based on MIPS_STAB_ELF definition
  2141. * acconfig.h: undef if not configured
  2142. * config.in: undef if not configured
  2143. * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
  2144. * config/tc-mips.c (s_ent): set BSF_FUNCTION
  2145. * stabs.c (s_stab_generic): flush frag
  2146. Fri Jul 31 16:14:45 1998 Catherine Moore <clm@cygnus.com>
  2147. * configure.in: (arm-*-elf): Handle.
  2148. (thumb-*-elf): Handle.
  2149. * configure: Regenerate.
  2150. * read.c (stringer): Fix typo in comment.
  2151. * write.c (fixup_segment): Don't add symbol value to addend if
  2152. TC_ARM and OBJ_ELF.
  2153. * config/tc-arm.c (md_section_align): Don't align dwarf debug
  2154. sections.
  2155. (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
  2156. for OBJ_ELF.
  2157. Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <fche@cygnus.com>
  2158. * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
  2159. (write_2_short): Emit warning if new flag is set.
  2160. (do_assemble): Set flags if left instruction is one of special
  2161. "right-instruction-killer" type.
  2162. Tue Jun 28 18:12:28 1998 Stan Cox <scox@cygnus.com>
  2163. * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
  2164. Always output words in debug_info section as big endian.
  2165. (sparc_target_format): Choose correct bfd target.
  2166. (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
  2167. Tue Jul 28 11:01:21 1998 Jeffrey A Law (law@cygnus.com)
  2168. * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
  2169. to work with internationalization code. Issue an error when two
  2170. operands match that are not allowed to match.
  2171. Mon Jul 27 16:25:58 1998 Doug Evans <devans@canuck.cygnus.com>
  2172. * configure.in (install_tooldir): Allow target to specify whether
  2173. it wants to be installed in $(tooldir)/bin.
  2174. * configure: Regenerate.
  2175. * Makefile.am (install-exec-local): Set install-exec-tooldir
  2176. dependency via configure.
  2177. * Makefile.in: Regenerate.
  2178. Fri Jul 24 19:58:59 1998 Doug Evans <devans@canuck.cygnus.com>
  2179. * Makefile.am (install-exec-local): Split into two ...
  2180. (install-exec-bindir,install-exec-tooldir): New rules.
  2181. * Makefile.in: Regenerate.
  2182. Fri Jul 24 16:31:49 1998 Ian Lance Taylor <ian@cygnus.com>
  2183. * Makefile.am (install-exec-local): Don't remove the file before
  2184. checking whether $(bindir) == $(tooldir)/bin. From Maciej
  2185. W. Rozycki <macro@ds2.pg.gda.pl>.
  2186. * Makefile.in: Rebuild.
  2187. Fri Jul 24 09:13:46 1998 Doug Evans <devans@canuck.cygnus.com>
  2188. * cgen.c: Include libiberty.h.
  2189. (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
  2190. (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
  2191. * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
  2192. (md_cgen_lookup_reloc)): Declare.
  2193. (md_cgen_record_fixup_exp): Declare.
  2194. * config/tc-m32r.h (md_pcrel_from_section): Declare.
  2195. (m32r_relax_frag): Declare.
  2196. (cgen_md_apply_fix3): Decls moved to cgen.h.
  2197. (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
  2198. (m32r_cgen_record_fixup_exp): Delete decl.
  2199. * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
  2200. (assemble_nop): Delete.
  2201. (expand_debug_syms): Delete unused `exp'.
  2202. (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
  2203. Add default case for -Wall.
  2204. (m32r_cgen_record_fixup_exp): Add default case for -Wall.
  2205. (md_atof): Delete unused wordP.
  2206. Thu Jul 23 13:19:50 1998 Jeffrey A Law (law@cygnus.com)
  2207. * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
  2208. value.
  2209. Wed Jul 22 14:36:56 1998 Ian Lance Taylor <ian@cygnus.com>
  2210. * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
  2211. .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
  2212. .print, .purgem, and .struct. Remove documentation for
  2213. .app-file.
  2214. Tue Jul 21 16:50:52 1998 Doug Evans <devans@seba.cygnus.com>
  2215. * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
  2216. Update call to insert_operand.
  2217. Fri Jul 17 11:42:20 1998 Nick Clifton <nickc@cygnus.com>
  2218. * config/tc-m32r.c (ms_show_usage): Formatting changes.
  2219. Wed Jul 15 15:38:28 1998 Ian Lance Taylor <ian@cygnus.com>
  2220. * config/tc-i386.c (md_assemble): Don't get confused by trailing
  2221. whitespace after a prefix operator.
  2222. Tue Jul 14 15:32:56 1998 Richard Henderson <rth@cygnus.com>
  2223. * configure.in (i386-*-beos{pe,elf,}*): Recognize.
  2224. Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
  2225. * config/tc-sparc.c (log2): New static function.
  2226. (s_reserve): Use log2 to convert alignment before calling
  2227. record_alignment.
  2228. (s_common): Use log2 to convert alignment before calling
  2229. record_alignment and frag_align.
  2230. (sparc_cons_align): Use log2.
  2231. Tue Jul 14 11:58:40 1998 Ian Lance Taylor <ian@cygnus.com>
  2232. * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
  2233. (s_common): Likewise.
  2234. * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
  2235. initialization of waddr.
  2236. (sparc_elf_final_processing): Add default case to switch.
  2237. Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2238. * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
  2239. than temporary real.
  2240. Mon Jul 13 13:55:42 1998 Ian Lance Taylor <ian@cygnus.com>
  2241. * write.c (subsegs_finish): Don't align the segments if there were
  2242. any errors.
  2243. * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
  2244. copying aux information.
  2245. * expr.c (make_expr_symbol): Catch attempts to turn an O_big
  2246. expression into a symbol.
  2247. Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2248. * config/tc-i386.c (mode_from_disp_size): Change arg and return
  2249. type to unsigned int.
  2250. (md_assemble): Change type used to store offsets from unsigned
  2251. long to long.
  2252. (i386_operand): Switch error check to only call RESTORE_END_STRING
  2253. once after parse_register.
  2254. Fri Jul 10 16:00:04 1998 Nick Clifton <nickc@cygnus.com>
  2255. * config/tc-v850.c (md_show_usage): Changed format to match that
  2256. of gcc, ld, etc.
  2257. * as.c (show_usage): Changed format to match that of gcc, ld, etc.
  2258. Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2259. * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
  2260. relocs.
  2261. (md_apply_fix_2): Force the symbol of the vtable reloc to be
  2262. weak.
  2263. Thu Jul 9 11:31:54 1998 Ian Lance Taylor <ian@cygnus.com>
  2264. * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
  2265. * doc/Makefile.in: Rebuild.
  2266. Wed Jul 8 12:18:56 1998 Jeffrey A Law (law@cygnus.com)
  2267. * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
  2268. for %lo expressions.
  2269. (mips_ip, case 'u'): Move range check after code to mask
  2270. off bits in %hi/%lo expressions. Mask off high bits for
  2271. %lo expressions.
  2272. Tue Jul 7 17:57:38 1998 Ian Lance Taylor <ian@cygnus.com>
  2273. * doc/Makefile.am (gasver.texi): New target.
  2274. (as.info, as.dvi): Depends upon gasver.texi.
  2275. * doc/as.texinfo: Include gasver.texi. Mention version number on
  2276. title page and in top node.
  2277. * doc/Makefile.in: Rebuild.
  2278. Tue Jul 7 11:42:16 1998 Richard Henderson <rth@cygnus.com>
  2279. * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
  2280. but not including the line containing the edict.
  2281. * listing.h (LISTING_EOF): New.
  2282. * input-scrub.c (input_scrub_next_buffer): Call it.
  2283. Tue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2284. * config/tc-i386.c (i386_operand): Don't set the size of an
  2285. immediate address based solely on the suffix and the mode.
  2286. * config/tc-i386.c (md_assemble): Add assertion to make sure
  2287. overlap2 does not set Imm.
  2288. * config/tc-i386.c (space_chars): Remove. The scrubber converts
  2289. sequences of whitespace to a single space.
  2290. (is_space_chars): Just compare with space.
  2291. (md_begin): Don't initialize space_chars.
  2292. (md_assemble): Just skip a single whitespace character.
  2293. (i386_operand): Rewrite base-index parsing to use new
  2294. parse_register, and to skip white space. Skip white space in a
  2295. number of other places too. Don't give error message if
  2296. parse_register fails.
  2297. (parse_register): Change reg_string parameter to be non-const.
  2298. Add end_op parameter. Skip white space after the `%', and return
  2299. end of register string. Give error message here rather than
  2300. caller.
  2301. Fri Jul 3 15:34:34 1998 Ian Lance Taylor <ian@cygnus.com>
  2302. Based on patch from Matt Semersky <matts@scd.hp.com>:
  2303. * expr.c (op_encoding): Make const.
  2304. (expr_set_precedence): New function.
  2305. (expr_begin): Don't set operator rankings, just call
  2306. expr_set_precedence.
  2307. * expr.h (expr_set_precedence): Declare.
  2308. * read.c (s_mri): Call expr_set_precedence.
  2309. Thu Jul 2 16:24:58 1998 Ian Lance Taylor <ian@cygnus.com>
  2310. * doc/as.texinfo (Statements): Remove paragraph discussing
  2311. continuing lines with a backslash. This hasn't worked for years,
  2312. if it ever did.
  2313. Thu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
  2314. * config/obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
  2315. symbol definitions.
  2316. (Ctors_Symbols, Dtors_Symbols): New symbol chains.
  2317. (ps_CTORS, ps_DTORS): New section types.
  2318. (vms_fixup_xtors_section): New function
  2319. (Ctors_Psect, Dtors_Psect): Define.
  2320. (IS_GXX_XTOR): Define
  2321. (global_symbol_directory): Change check of gxx_bug_fixed to 0.
  2322. Filter static constructors/destructors and add to
  2323. Ctors_Symbols/Dtors_Symbols chain.
  2324. (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
  2325. appropriate section.
  2326. * config/tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
  2327. * makefile.vms: Merge vax/vms support.
  2328. Wed Jul 1 20:06:20 1998 Richard Henderson <rth@cygnus.com>
  2329. * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
  2330. (elf_pseudo_table): Add them.
  2331. * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
  2332. (md_apply_fix): Accept them.
  2333. (mips_fix_adjustable): Don't adjust them.
  2334. (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
  2335. * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
  2336. * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
  2337. (tc_fix_adjustable): Don't adjust them.
  2338. Wed Jul 1 16:35:32 1998 Doug Evans <devans@seba.cygnus.com>
  2339. * Makefile.am (CGEN_CPU_PREFIX): New variable.
  2340. (cgen.o): Use it.
  2341. * Makefile.in: Regenerate.
  2342. * configure.in: AC_SUBST cgen_cpu_prefix.
  2343. * configure: Regenerate.
  2344. Wed Jul 1 21:38:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
  2345. * config/tc-sh.c (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
  2346. Changed all users of COND12_DELAY.
  2347. Fri Jun 26 11:21:11 1998 Jeffrey A Law (law@cygnus.com)
  2348. * config/tc-mn10300.c (set_arch_mach): New function.
  2349. (md_pseudo_table): Add pseudo-ops to set the current machine type.
  2350. (md_begin): Default to mn10300 mode.
  2351. (md_assemble): Only accept instructions for the core mn10300
  2352. chip and the active machine type.
  2353. Wed Jun 24 19:06:04 1998 Ian Lance Taylor <ian@cygnus.com>
  2354. * subsegs.h (segment_info_type): Give the struct a name.
  2355. * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
  2356. * config/tc-h8500.h (tc_reloc_mangle): Declare.
  2357. * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
  2358. * config/tc-w65.h (tc_reloc_mangle): Declare.
  2359. * config/tc-z8k.h (tc_reloc_mangle): Declare.
  2360. Wed Jun 24 13:45:00 1998 Catherine Moore <clm@cygnus.com>
  2361. * config/tc-v850.c (v850_comm): Restore old section
  2362. after common processing.
  2363. Wed Jun 24 11:50:54 1998 Klaus Kaempf <kkaempf@progis.de>
  2364. * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
  2365. Tue Jun 23 17:47:31 1998 Jim Wilson <wilson@cygnus.com>
  2366. * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
  2367. char with code that explicitly sign-extends.
  2368. Tue Jun 23 13:54:57 1998 Nick Clifton <nickc@cygnus.com>
  2369. * config/tc-v850.c (md_begin): Restore text section as the current
  2370. section after creating call table sections.
  2371. * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
  2372. code.
  2373. * config/obj-coff.c (c_symbol_merge): Replace complex expresion
  2374. with call to macro SYM_AUXINFO.
  2375. Tue Jun 23 15:09:27 1998 Mike Stump <mrs@wrs.com>
  2376. * Makefile.am (install-exec-local): Don't let EXEEXT interfere
  2377. with the program transform name.
  2378. * Makefile.in: Rebuild.
  2379. Mon Jun 22 19:52:42 1998 Ian Lance Taylor <ian@cygnus.com>
  2380. * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
  2381. information.
  2382. Mon Jun 22 15:18:58 1998 Ian Lance Taylor <ian@cygnus.com>
  2383. * config/tc-i386.c (i386_operand): Be prepared for a space between
  2384. the open parenthesis and the start of the register operand,
  2385. because of the June 16 change.
  2386. Sun Jun 21 21:27:03 1998 Ian Lance Taylor <ian@cygnus.com>
  2387. * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
  2388. BFD_ASSEMBLER.
  2389. Sun Jun 21 12:26:36 1998 Nick Clifton <nickc@cygnus.com>
  2390. * config/tc-d30v.c (d30v_align): Always perform alignment request,
  2391. even if it is belived to be unnecessary.
  2392. Fri Jun 19 13:57:06 1998 Ian Lance Taylor <ian@cygnus.com>
  2393. * write.c (adjust_reloc_syms): Never adjust relocs against weak
  2394. symbols.
  2395. * config/tc-mips.c (md_apply_fix): Adjust accordingly.
  2396. Fri Jun 19 09:50:17 1998 Jeffrey A Law (law@cygnus.com)
  2397. * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
  2398. shift amount for a repeated operand. The shift amount for the
  2399. repeated copy comes from the size of the operand.
  2400. Fri Jun 19 00:44:19 1998 Jeffrey A Law (law@cygnus.com)
  2401. * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
  2402. Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
  2403. * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
  2404. Tue Jun 16 13:06:21 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2405. * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
  2406. characters in it as LEX_IS_SYMBOL_COMPONENT.
  2407. * config/tc-i386.h (tc_symbol_chars): Define.
  2408. (extra_symbol_chars): Declare.
  2409. * config/tc-i386.c (extra_symbol_chars): Define.
  2410. (comment_chars): Don't use '/' as comment start if TE_LINUX.
  2411. (line_comment_chars): Set to '/' if TE_LINUX.
  2412. * doc/c-i386.texi (i386-prefixes): Update.
  2413. * doc/internals.texi (CPU backend): Document tc_symbol_chars.
  2414. Fri Jun 12 13:36:54 1998 Tom Tromey <tromey@cygnus.com>
  2415. * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
  2416. ($(PACKAGE).pot): Unconditionally depend on POTFILES.
  2417. 1998-06-12 Vladimir N. Makarov <vmakarov@cygnus.com>
  2418. * config/tc-d10v.c (md_apply_fix3): Checking displacement
  2419. constraint in instructions REP & REPI.
  2420. Thu Jun 11 08:56:46 1998 Nick Clifton <nickc@cygnus.com>
  2421. * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
  2422. BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
  2423. (check_range): If the operand is shifted, then shift the number
  2424. before checking its range.
  2425. * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
  2426. * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
  2427. common sections.
  2428. Wed Jun 10 17:26:35 1998 Nick Clifton <nickc@cygnus.com>
  2429. * config/tc-v850.c (v850_comm): Create special sections as needed.
  2430. 1998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
  2431. * config/tc-d10v.c (write_2_short): Addition of swapping
  2432. instructions for sequential and reverse sequential order when
  2433. given order is not possible.
  2434. Tue Jun 9 13:52:53 1998 Ian Lance Taylor <ian@cygnus.com>
  2435. * Makefile.am: Rebuild dependencies.
  2436. (DEP_INCLUDES): Fix reference to intl build directory.
  2437. * Makefile.in: Rebuild.
  2438. Tue Jun 9 12:20:05 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2439. * doc/c-i386.texi: Update 16 bit documentation.
  2440. * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
  2441. IgnoreDataSize to IgnoreSize as they are used for address size as
  2442. well as data size.
  2443. * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
  2444. 32-bit mode, similarly addr16/data16 and variants.
  2445. Mon Jun 8 18:32:01 1998 Nick Clifton <nickc@cygnus.com>
  2446. * config/tc-d30v.c (md_assemble): Fix handling of reverse
  2447. sequential word multiply instructions.
  2448. (do_assemble): Add extra command line argument, to allow mul32
  2449. attribute to be preserved across parallel insns.
  2450. (md_assemble): Insert NOPs between explicitly parallel insns which
  2451. contain an 32 bit multiply and a 16 multiply.
  2452. Mon Jun 8 12:20:30 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2453. * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
  2454. likewise for REPE.
  2455. * config/tc-i386.c (reloc): Add braces.
  2456. * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
  2457. consistent with Intel naming.
  2458. * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
  2459. use bitfields in sib_byte.
  2460. (modrm_byte): Don't use bitfields here either.
  2461. * config/tc-i386.c (current_templates): Add const.
  2462. (parse_register): Add const to return, param, and char *s.
  2463. (i386_operand): Add const to reg_entry *r.
  2464. * config/tc-i386.h (templates): Add const to start, end.
  2465. Inspired by code for 16 bit gas support from Martynas Kunigelis
  2466. <martynas@nm3.ktu.lt>:
  2467. * config/tc-i386.c (md_assemble): Add full support for 16 bit
  2468. modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
  2469. (uses_mem_addrmode): Remove.
  2470. (md_estimate_size_before_relax): Add support here too.
  2471. (md_relax_table): Rewrite interface to md_relax for 16 bit
  2472. support.
  2473. (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
  2474. (opcode_suffix_to_type): Remove.
  2475. (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
  2476. (SIZE_FROM_RELAX_STATE): Modify to suit above.
  2477. (md_convert_frag): Likewise.
  2478. (i386_operand): Add support for 16 bit base/index regs,
  2479. immediates, and displacements. Remove some unnecessary casts, and
  2480. localise end_of_operand_string, displacement_string_start,
  2481. displacement_string_end variables. Add GCC_ASM_O_HACK.
  2482. * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
  2483. * config/tc-i386.c (prefix_hash): Remove.
  2484. (md_begin): Rewrite without obstacks. Remove prefix hash table
  2485. handling. Rewrite lexical table handling.
  2486. (i386_print_statistics): Don't print prefix statistics.
  2487. (md_assemble): Rewrite instruction parser so that line is not
  2488. converted to lower case. Don't do a hash_find for prefixes,
  2489. instead recognise them via opcode modifier.
  2490. (expecting_operand, paren_not_balanced): Localise variables.
  2491. * config/tc-i386.h (IsPrefix): Define.
  2492. (prefix_entry): Remove.
  2493. * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
  2494. * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
  2495. '\\' in case where comment_chars contains '/'.
  2496. * config/tc-i386.c (MATCH): Ensure given operand and template
  2497. match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
  2498. you must write `ljmp *table(%ebx)'.
  2499. From H.J. Lu <hjl@gnu.org>:
  2500. * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
  2501. as 0 ifndef BFD_ASSEMBLER.
  2502. (md_assemble): Allow immediate operands without suffix or
  2503. other reg operand to default in size to the current code size.
  2504. Mon Jun 8 09:45:00 1998 Catherine Moore <clm@cygnus.com>
  2505. * config/tc-v850.c (md_begin): Restore creation of
  2506. .call_table_text and .call_table_data sections.
  2507. Sat Jun 6 00:02:41 1998 Nick Clifton <nickc@cygnus.com>
  2508. * config/tc-d30v.c (md_assemble): Set execution type to unknown
  2509. after emitting a word of noops.
  2510. Fri Jun 5 23:27:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2511. * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
  2512. (i386_operand): Simplify checks for valid base/index combinations.
  2513. Disallow `in 4(%dx),%al'.
  2514. * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
  2515. index_reg const.
  2516. (add_prefix): Change parameter from char to int.
  2517. * config/tc-i386.h (Ugh): Define opcode modifier.
  2518. * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
  2519. * config/tc-i386.c (md_assemble): Rewrite MATCH and
  2520. CONSISTENT_REGISTER_MATCH macros to check register types more
  2521. thoroughly. Check for illegal suffix/operand combinations
  2522. when matching insns with operands. Handle new `s' suffix, and
  2523. associated FloatMF opcode modifier for float insns with memory
  2524. operands.
  2525. * config/tc-i386.h (FloatMF): Define new opcode modifier.
  2526. (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
  2527. (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
  2528. * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
  2529. DATA_PREFIX_OPCODE throughout.
  2530. * config/tc-i386.c (REGISTER_WARNINGS): Define.
  2531. (md_assemble): Rewrite suffix/register operand checking code to be
  2532. more thorough. Remove Abs8,16,32. Change occurrences of Mem to
  2533. AnyMem, the better to grep.
  2534. (pi): Remove Abs.
  2535. (i386_operand): Don't set Mem bits in i.types[this_operand] when
  2536. given a memory operand. Don't set Abs bits either.
  2537. (type_names): Remove Mem*, Abs*.
  2538. * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
  2539. define opcode_modifiers as these cases are handled by Disp8,
  2540. Disp16, Disp32 and suffix checks.
  2541. (COMES_IN_BOTH_DIRECTIONS): Remove.
  2542. (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
  2543. * config/tc-i386.c (md_assemble): Don't emit operand size prefix
  2544. if IgnoreDataSize modifier given. Remove ShortformW modifier
  2545. test. Add test for ShortForm in W base_opcode modification.
  2546. Merge Seg2ShortForm and Seg3ShortForm code.
  2547. * config/tc-i386.h (ShortFormW): Remove.
  2548. (IgnoreDataSize): Define.
  2549. Fri Jun 5 10:50:53 1998 Nick Clifton <nickc@cygnus.com>
  2550. * config/tc-d30v.c (md_assemble): Store previous segment state
  2551. with previous instruction.
  2552. Wed Jun 3 18:21:56 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2553. * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
  2554. (ebp, esp): Remove static variables.
  2555. (MATCH): Remove test for InOutPortReg.
  2556. (i386_operand): Properly handle InOutPortReg here instead.
  2557. Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
  2558. (md_assemble): Simplify and correct modrm and sib generation.
  2559. (i386_operand): Add warning for scale without index.
  2560. Rewrite checks for valid base/index combinations.
  2561. * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
  2562. macros and enclose in do while(0).
  2563. (RESTORE_END_STRING): Likewise.
  2564. (md_assemble): Add one to printed operand number so we start
  2565. from 1 not 0. Add some more gettext invocations.
  2566. (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
  2567. number here too.
  2568. * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
  2569. DATA_PREFIX, SEG_PREFIX): Define.
  2570. * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
  2571. (check_prefix): Remove function.
  2572. (add_prefix): New function. Add prefix to i.prefix as well as
  2573. doing checks.
  2574. (md_assemble): Changes for add_prefix. Remove hack for wait
  2575. prefix, instead always output prefixes in fixed order. Test
  2576. for jcxz/loop when selecting between word & dword operations,
  2577. and add address size prefix rather than operand size prefix.
  2578. Remove operand -> address size hack when emitting jcxz/loop.
  2579. (i386_operand): Remove O_Absent check as it's done in expr.
  2580. Wed Jun 3 15:09:10 1998 Ian Lance Taylor <ian@cygnus.com>
  2581. * configure.in: Recognize m5200 as a cpu_type of m68k.
  2582. * aclocal.m4: Rebuild with current libtool.
  2583. * configure: Rebuild.
  2584. Wed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2585. * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
  2586. to relaxable_symbol to prevent references to external symbol from
  2587. being relaxed.
  2588. Wed Jun 3 14:10:36 1998 Ian Lance Taylor <ian@cygnus.com>
  2589. * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
  2590. symbols are relaxable.
  2591. Wed Jun 3 09:16:00 1998 Catherine Moore <clm@cygnus.com>
  2592. * config/tc-v850.c (md_begin): Don't create special
  2593. sections by default.
  2594. Tue Jun 2 14:52:56 1998 Jeffrey A Law (law@cygnus.com)
  2595. * config/tc-mips.c (macro): For div and udiv, close the
  2596. reorder block as soon as possible.
  2597. Tue Jun 2 15:36:13 1998 Ian Lance Taylor <ian@cygnus.com>
  2598. From Matt Semersky <matts@scd.hp.com>:
  2599. * macro.c (macro_mri_mode): New function.
  2600. * macro.h (macro_mri_mode): Declare.
  2601. * read.c (s_mri): Call macro_mri_mode when switching in and out of
  2602. MRI mode.
  2603. Tue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
  2604. * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
  2605. OBJ_EVAX case.
  2606. * config/tc-alpha.c (s_alpha_comm): Defer restoring character
  2607. until after xstrdup in OBJ_EVAX case.
  2608. Tue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
  2609. * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
  2610. offset calculation. Also, use VAX_BRW from vax-inst.h instead
  2611. of hardcoded magic number.
  2612. (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
  2613. Tue Jun 2 09:25:34 1998 Doug Evans <devans@canuck.cygnus.com>
  2614. * read.c (do_s_func): New function.
  2615. (s_func): Call it.
  2616. * read.h (do_s_func): Add prototype.
  2617. Mon Jun 1 12:47:30 1998 Doug Evans <devans@canuck.cygnus.com>
  2618. * config/tc-m32r.c (m32r_do_align): Only fill code sections with
  2619. nops if fill pattern not specified.
  2620. Mon Jun 1 14:08:35 1998 Ian Lance Taylor <ian@cygnus.com>
  2621. From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
  2622. * config/te-go32.h (TE_GO32): Define.
  2623. * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
  2624. Sun May 31 15:43:06 1998 Doug Evans <devans@canuck.cygnus.com>
  2625. Implement .func/.endfunc pseudo-ops.
  2626. * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
  2627. (s_func): Declare.
  2628. * read.c (potable): Add .func,.endfunc.
  2629. (s_func): New function.
  2630. * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
  2631. functions.
  2632. (in_doc_func_p,current_function_label): New static globals.
  2633. (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
  2634. Fri May 29 18:13:12 1998 Ian Lance Taylor <ian@cygnus.com>
  2635. * config/tc-a29k.h (WORKING_DOT_WORD): Define.
  2636. * config/tc-alpha.h (WORKING_DOT_WORD): Define.
  2637. * config/tc-arm.h (WORKING_DOT_WORD): Define.
  2638. * config/tc-h8300.h (WORKING_DOT_WORD): Define.
  2639. * config/tc-h8500.h (WORKING_DOT_WORD): Define.
  2640. * config/tc-hppa.h (WORKING_DOT_WORD): Define.
  2641. * config/tc-i860.h (WORKING_DOT_WORD): Define.
  2642. * config/tc-i960.h (WORKING_DOT_WORD): Define.
  2643. * config/tc-tic30.h (WORKING_DOT_WORD): Define.
  2644. * config/tc-w65.h (WORKING_DOT_WORD): Define.
  2645. * config/tc-z8k.h (WORKING_DOT_WORD): Define.
  2646. * config/tc-a29k.c: Don't define md_short_jump_size,
  2647. md_long_jump_size, md_create_short_jump or md_create_long_jump.
  2648. * config/tc-alpha.c: Likewise.
  2649. * config/tc-alpha.h: Likewise.
  2650. * config/tc-arm.c: Likewise.
  2651. * config/tc-h8300.c: Likewise.
  2652. * config/tc-h8500.c: Likewise.
  2653. * config/tc-hppa.c: Likewise.
  2654. * config/tc-i860.c: Likewise.
  2655. * config/tc-i960.c: Likewise.
  2656. * config/tc-ppc.c: Likewise.
  2657. * config/tc-sh.c: Likewise.
  2658. * config/tc-sparc.h: Likewise.
  2659. * config/tc-tic30.c: Likewise.
  2660. * config/tc-w65.c: Likewise.
  2661. * config/tc-z8k.c: Likewise.
  2662. Fri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
  2663. * config/tc-vax.c (_): Delete this macro used for placeholder
  2664. values in vax_operand_width_size; it conflicts with the _() macro
  2665. used for internationalization.
  2666. Fri May 29 13:46:07 1998 Ian Lance Taylor <ian@cygnus.com>
  2667. * symbols.c (symbol_find_base): Fix case insensitive symbol name
  2668. code. From Chris Moller <moller@bops.com>.
  2669. Based on patch from Klaus Kaempf <kkaempf@progis.de>:
  2670. * struc-symbol.h (struct broken_word): Add seg and subseg fields.
  2671. * read.c (emit_expr): Initialize seg and subseg fields of a new
  2672. broken word.
  2673. * write.c (write_object_file): Switch to the appropriate segment
  2674. and subsegment when processing a broken word.
  2675. * config/tc-m68k.c (mri_assemble): New static function.
  2676. (build_mri_control_operand): Call mri_assemble rather than
  2677. md_assemble.
  2678. (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
  2679. (s_mri_endf, s_mri_endw): Likewise.
  2680. Wed May 27 11:16:25 1998 Ian Lance Taylor <ian@cygnus.com>
  2681. * read.c (s_org): Call md_flush_pending_output if it is defined.
  2682. * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
  2683. Tue May 26 19:27:52 1998 Stan Cox <scox@equinox.cygnus.com>
  2684. * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
  2685. (md_parse_option): Add for same.
  2686. (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
  2687. (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
  2688. (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
  2689. * config/tc-sparc.h (cons_fix_new_sparc): Added.
  2690. Thu May 21 15:02:41 1998 Nick Clifton <nickc@cygnus.com>
  2691. * config/tc-arm.c (find_real_start): Relax definition of local
  2692. labels.
  2693. Tue May 19 16:59:44 1998 Nick Clifton <nickc@cygnus.com>
  2694. * config/tc-d30v.c (d30v_align): Apply address adjustment to all
  2695. symbols at the given address, not just the last one specified.
  2696. Tue May 19 08:25:19 1998 Catherine Moore <clm@cygnus.com>
  2697. * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
  2698. or number_to_chars_littleendian to write data.
  2699. Mon May 18 17:09:30 1998 Nick Clifton <nickc@cygnus.com>
  2700. * config/tc-v850.c (md_assemble): Remove artificially created
  2701. register name symbols.
  2702. Mon May 18 13:47:06 1998 Doug Evans <devans@canuck.cygnus.com>
  2703. * write.c (fixup_segment): Change "segment" to "section" in
  2704. error message.
  2705. Mon May 18 16:55:40 1998 Michael Meissner <meissner@cygnus.com>
  2706. * write.c (fixup_segment): Change sym1-sym2 message again.
  2707. Mon May 18 09:31:43 1998 Michael Meissner <meissner@cygnus.com>
  2708. * write.c (fixup_segment): Improve error message for sym1-sym2
  2709. errors when sym1 is in a different segment from sym2.
  2710. Wed May 13 10:16:37 1998 Doug Evans <devans@canuck.cygnus.com>
  2711. * config/tc-m32r.c (warn_unmatched_high): New static local.
  2712. (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
  2713. (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
  2714. (md_longopts): Recognize --{no-,}warn-unmatched-high.
  2715. (md_parse_option): Likewise.
  2716. (md_show_usage): Likewise.
  2717. (m32r_frob_file): Likewise.
  2718. * read.c (generate_file_debug,generate_lineno_debug): New functions.
  2719. (read_a_source_file): Call them.
  2720. * read.h (stabs_generate_asm_file): Declare.
  2721. * stabs.c (stabs_generate_asm_file): New function.
  2722. (generate_asm_file): New function.
  2723. (stabs_generate_asm_lineno): Move file name handling into
  2724. generate_asm_file.
  2725. Tue May 12 12:03:44 1998 Richard Henderson <rth@cygnus.com>
  2726. * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
  2727. (d30v_current_align, d30v_current_align_seg): New variables.
  2728. (d30v_last_label): New variable.
  2729. (d30v_align, s_d30v_align, s_d30v_text): New functions.
  2730. (s_d30v_data, s_d30v_section): Likewise.
  2731. (md_pseudo_table): Call them.
  2732. (md_begin): Initialize d30v_current_align_seg.
  2733. (md_assemble): Call d30v_align when needed by known current alignment.
  2734. (d30v_frob_label, d30v_cons_align): New functions.
  2735. * config/tc-d30v.h (md_do_align): Remove.
  2736. (tc_frob_label): Call d30v_frob_label.
  2737. (md_cons_align): New.
  2738. * config/tc-d30v.c (find_format): Convert complex expressions to
  2739. expression symbols before processing. Clean up code formatting.
  2740. Sun May 10 22:35:02 1998 Jeffrey A Law (law@cygnus.com)
  2741. * po/Make-in (install-info): New target.
  2742. Thu May 7 15:49:07 1998 Jeffrey A Law (law@cygnus.com)
  2743. * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
  2744. instructions.
  2745. * config/tc-mn10300.c (md_assemble): Likewise.
  2746. Thu May 7 11:47:22 1998 Doug Evans <devans@canuck.cygnus.com>
  2747. * Makefile.am: Update with `make dep-am'.
  2748. (HFILES): Add cgen.h.
  2749. (cgen.o): Depend on cgen.h.
  2750. * Makefile.in: Regenerate.
  2751. * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
  2752. Thu May 7 13:20:56 1998 Anders Blomdell <anders.blomdell@control.lth.se>
  2753. * gasp.c (grab_label): Permit a label to be a preprocessor
  2754. variable by permitting a label to start with a backslash.
  2755. Thu May 7 12:50:33 1998 Frank Ch. Eigler <fche@cygnus.com>
  2756. * config/tc-mips.c (validate_mips_insn): Removed hack
  2757. for previously inaccessible bitfields in some INSN_TRAP
  2758. instructions.
  2759. Thu May 7 11:13:00 1998 Frank Ch. Eigler <fche@cygnus.com>
  2760. * config/tc-d30v.c (do_assemble): Abort with error message
  2761. if opcode operands do not match.
  2762. Thu May 7 09:36:06 1998 Frank Ch. Eigler <fche@cygnus.com>
  2763. * config/tc-mips.c (macro_build, validate_mips_insn): Implement
  2764. 'q' operand format for 20-bit "break"/"sdbbp" instructions.
  2765. (mips_ip): Truncate overflowed "break" 'c' operand. Implement
  2766. similar new 'q' operand.
  2767. Thu May 7 07:47:14 1998 Michael Meissner <meissner@cygnus.com>
  2768. * cgen.c (cgen_asm_finish_insn): Fix typo.
  2769. Thu May 7 02:19:14 1998 Doug Evans <devans@charmed.cygnus.com>
  2770. * cgen.h: New file.
  2771. * cgen.c: Include it.
  2772. (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
  2773. (cgen_asm_finish_insn): Result is now void. New arg `result'.
  2774. All callers updated.
  2775. * config/tc-m32r.c: Include cgen.h.
  2776. (m23r_insn): New members num_fixups,fixups.
  2777. Wed May 6 16:29:19 1998 Jeffrey A Law (law@cygnus.com)
  2778. * config/tc-hppa.c (md_apply_fix): Slightly rework some code
  2779. to avoid compiler warning.
  2780. Wed May 6 15:26:34 1998 Klaus Kaempf <kkaempf@progis.de>
  2781. * makefile.vms: Run dec c with /nodebug. Pass CC value when
  2782. calling make.
  2783. * makefile.vms (OBJS): Add ehopt.obj
  2784. Wed May 6 15:11:12 1998 Klaus Kaempf <kkaempf@progis.de>
  2785. * doc/c-vax.texi: Correct and extend vax/vms documentation.
  2786. Wed May 6 11:51:51 1998 Richard Henderson <rth@cygnus.com>
  2787. * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
  2788. a short format insn.
  2789. (md_assemble): Set it for explicitly packed insns.
  2790. Tue May 5 13:23:13 1998 Nick Clifton <nickc@cygnus.com>
  2791. * config/obj-coff.c (c_symbol_merge): Do not take address of
  2792. native fields when performing the memcpy.
  2793. Tue May 5 13:10:41 1998 Gavin Koch <gavin@cygnus.com>
  2794. * config/tc-mips.c (macro,macro2): Implement
  2795. M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
  2796. Mon May 4 17:49:14 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2797. * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
  2798. relocations against globally visible symbols.
  2799. * config/tc-m68k.c (relaxable_symbol): New macro.
  2800. (m68k_ip, md_estimate_size_before_relax): Use it.
  2801. (tc_m68k_fix_adjustable): Also handle weak symbols.
  2802. Mon May 4 16:12:23 1998 Ian Lance Taylor <ian@cygnus.com>
  2803. * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
  2804. references to externally visible symbols.
  2805. * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
  2806. values in twice for a PC relative reloc if the symbol is
  2807. externally defined.
  2808. * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
  2809. don't adjust a PC relative reloc against an externally visible
  2810. symbol.
  2811. * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
  2812. for a PC relative fixup against an externally visible defined
  2813. symbol, arrange to store object file and addend values as though
  2814. the symbol were not defined.
  2815. (tc_gen_reloc): Likewise.
  2816. Thu Apr 30 13:09:39 1998 Fred Fish <fnf@ninemoons.com>
  2817. * read.c (sizeof_leb128): Referenced externally by write.c so
  2818. don't inline.
  2819. Wed Apr 29 15:45:57 1998 Michael Meissner <meissner@cygnus.com>
  2820. * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
  2821. and expand a 'debug' symbol associated with the next instruction
  2822. that does not cause a short instruction to be filled with a NOP.
  2823. (md_pseudo_table): Add support for .debugsym.
  2824. (assemble_parallel_insn): Add calls to expand_debug_sym as
  2825. appropriate.
  2826. (md_assemble): Ditto.
  2827. Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com>
  2828. * as.c (main): Conditionally call setlocale.
  2829. * gasp.c (main): Likewise.
  2830. * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
  2831. (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
  2832. Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com>
  2833. * config/tc-d30v.c (md_show_usage): Correct gettext typo.
  2834. Tue Apr 28 12:16:30 1998 Ian Lance Taylor <ian@cygnus.com>
  2835. * config/tc-hppa.c: Change all calls to bzero to use memset.
  2836. (pa_ip): Add cast to avoid warning.
  2837. (tc_gen_reloc, md_apply_fix): Likewise.
  2838. (pa_find_space_by_number): Likewise.
  2839. (hppa_force_relocation): Likewise.
  2840. (pa_block): Change i to unsigned int.
  2841. * config/obj-som.h (obj_som_copyright): Declare.
  2842. Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <fche@cygnus.com>
  2843. * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
  2844. for line numbers for assembly source.
  2845. Mon Apr 27 15:58:46 1998 Ian Lance Taylor <ian@cygnus.com>
  2846. * configure.in: Change version number to 2.9.4
  2847. * configure: Rebuild.
  2848. Mon Apr 27 12:07:33 1998 Doug Evans <devans@seba.cygnus.com>
  2849. * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
  2850. Mon Apr 27 15:16:12 1998 Ian Lance Taylor <ian@cygnus.com>
  2851. * ecoff.h: Change symbolS in function declaration to struct
  2852. symbol.
  2853. Sun Apr 26 13:44:22 1998 Ian Lance Taylor <ian@cygnus.com>
  2854. * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
  2855. (md_convert_frag): Fix i18n typo.
  2856. Sat Apr 25 20:12:02 1998 Richard Henderson <rth@cygnus.com>
  2857. * ecoff.c (ecoff_get_cur_proc_sym): New function.
  2858. * ecoff.h: Protoype it.
  2859. * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
  2860. [EVAX] (s_alpha_prologue): Delete.
  2861. (md_pseudo_table): Update.
  2862. Sat Apr 25 14:00:52 1998 Ian Lance Taylor <ian@cygnus.com>
  2863. * config/tc-i960.c (md_assemble): Change bp_error_msg from static
  2864. array to local pointer.
  2865. (get_args, parse_expr): Add casts to avoid warnings.
  2866. Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
  2867. * read.c (s_set): Cast xmalloc return value to fragS *.
  2868. * config/tc-m68k.c (m68k_ip): Function made static to match
  2869. previous forward declaration.
  2870. (insert_reg, init_regtable, md_convert_frag_1): Likewise.
  2871. Fri Apr 24 09:26:46 1998 Nick Clifton <nickc@cygnus.com>
  2872. * config/tc-v850.c: Add internationalisation macros to error
  2873. strings.
  2874. * config/tc-m32r.c (can_make_parallel): Add internationalisation
  2875. macros to error strings.
  2876. Thu Apr 23 19:23:23 1998 Ian Lance Taylor <ian@cygnus.com>
  2877. * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
  2878. reloc is in the TOC csect.
  2879. (md_apply_fix3): Correct gettext typo.
  2880. Thu Apr 23 14:58:31 1998 Nick Clifton <nickc@cygnus.com>
  2881. * config/tc-arm.c (find_real_start): Ignore symbols starting with
  2882. .L - they are local labels and the branches are not really
  2883. function calls but rather far jumps.
  2884. Wed Apr 22 15:57:21 1998 Tom Tromey <tromey@cygnus.com>
  2885. * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
  2886. Wed Apr 22 14:52:36 1998 Ian Lance Taylor <ian@cygnus.com>
  2887. * config/tc-i386.c (md_assemble): Print operand number rather than
  2888. using ordinal_names.
  2889. (i386_operand): Likewise.
  2890. Tue Apr 21 22:34:25 1998 Tom Tromey <tromey@scribbles.cygnus.com>
  2891. * Makefile.am (INTLLIBS): Define to work around apparent automake
  2892. bug.
  2893. All Makefiles: Regenerated.
  2894. * Many files: Added gettext invocations around user-visible
  2895. strings.
  2896. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
  2897. HAVE_LC_MESSAGES): Define.
  2898. * dep-in.sed: Added asintl.h.
  2899. * po/Make-in: New file.
  2900. * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
  2901. Include "asintl.h".
  2902. * read.c (Z_): Renamed from `_'.
  2903. * Makefile.am (SUBDIRS): Added po.
  2904. (POTFILES): new macro.
  2905. (po/POTFILES.in): New target.
  2906. ($(OBJS)): Added asintl.h.
  2907. (HFILES): Likewise.
  2908. (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
  2909. (as_new_LDADD): Added $(INTLLIBS).
  2910. (as_new_DEPENDENCIES): Added $(INTLDEPS).
  2911. (gasp_new_LDADD): Added $(INTLLIBS).
  2912. (gasp_new_DEPENDENCIES): New macro.
  2913. * configure, aclocal.m4: Rebuilt.
  2914. * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
  2915. po/Makefile.
  2916. (ALL_LINGUAS): Define.
  2917. * macro.c: Include "asintl.h".
  2918. * as.c (main): Call setlocale, bindtextdomain, and textdomain.
  2919. * as.h: Include "asintl.h".
  2920. * config/tc-i386.c (ordinal_names): Removed.
  2921. (md_assemble): Changed error text to avoid ordinal_names.
  2922. (i386_operand): Likewise.
  2923. (reloc): Added as_bad to avoid i18n problems.
  2924. (tc_gen_reloc): Likewise.
  2925. * config/tc-arm.c (bad_args): Now a #define.
  2926. (bad_pc): Likewise.
  2927. * config/obj-vms.c (VMS_stab_parse): Changed type of
  2928. `long_const_msg'.
  2929. (global_symbol_directory): Unified strings to avoid i18n
  2930. problems.
  2931. * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
  2932. avoid i18n problems.
  2933. * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
  2934. * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
  2935. i18n problems.
  2936. * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
  2937. problems.
  2938. * config/tc-v850.c (md_assemble): Changed C++ comment into C
  2939. comment.
  2940. * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
  2941. problems.
  2942. * as.c (print_version_id): Added an fprintf to avoid i18n
  2943. problems.
  2944. * cond.c (cond_finish_check): Added as_bad call to avoid i18n
  2945. problems.
  2946. * expr.c (expr): Added as_warn call to avoid i18n problems.
  2947. * messages.c (as_assert): Changed code to avoid i18n problems.
  2948. (as_abort): Likewise.
  2949. * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
  2950. (s_space): Likewise.
  2951. * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
  2952. Tue Apr 21 17:01:22 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  2953. * config/tc-i386.c (check_prefix): New static function, split out
  2954. from md_assemble.
  2955. (struct _i386_insn): Add wait_prefix field.
  2956. (md_assemble): Remove wait_prefix local variable. Use
  2957. check_prefix when adding a prefix.
  2958. * config/tc-i386.c (current_templates): New static variable.
  2959. (md_assemble): Remove current_templates local variable.
  2960. (md_assemble, i386_operand): Improve error and warning messages in
  2961. many places. Add RESTORE_END_STRING in many places before error
  2962. return. Clarify some comments.
  2963. * config/tc-i386.c (struct _i386_insn): Change seg field to a two
  2964. element array.
  2965. (md_assemble): Parse string instruction operands, looking for
  2966. segment override prefixes. Check for invalid segment prefixes on
  2967. string instruction.
  2968. (i386_operand): i.seg[] and max mem_operand changes for string
  2969. insns.
  2970. * config/tc-i386.h (EsSeg): Define.
  2971. * config/tc-i386.h (regKludge): Define.
  2972. (iclrKludge, imulKludge): Don't define.
  2973. * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
  2974. code. Move ReverseRegRegmem fudges into Modrm case. Reorder
  2975. opcode_modifier checks to look for more common cases first. Add
  2976. default_seg for IsString case.
  2977. Tue Apr 21 16:18:12 1998 Ian Lance Taylor <ian@cygnus.com>
  2978. * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
  2979. AC_DECL_YYTEXT.
  2980. * configure: Rebuild with new automake and libtool.
  2981. * aclocal.m4, Makefile.in: Likewise.
  2982. * doc/Makefile.am (as.dvi): New target.
  2983. * doc/Makefile.in: Rebuild.
  2984. Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
  2985. * configure.in: Added sparc86x support.
  2986. * configure: Rebuild.
  2987. * config/tc-sparc.c (lookup_arch): Added arch_type to struct
  2988. sparc_arch.
  2989. (md_parse_option): Warn if -EL is not supported for this architecture.
  2990. * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
  2991. Sat Apr 18 01:19:01 1998 Jeffrey A Law (law@cygnus.com)
  2992. * config/tc-mips.c (mips_ip): Note when we use get match on
  2993. the full instruction name.
  2994. Wed Apr 15 15:17:27 1998 Richard Henderson <rth@cygnus.com>
  2995. * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
  2996. back into the expression to handle add/sub simplification correctly.
  2997. Wed Apr 15 07:06:04 1998 Catherine Moore <clm@cygnus.com>
  2998. * config/tc-mips.c (hilo_interlocks): Remove 4300.
  2999. Mon Apr 13 16:51:04 1998 Nick Clifton <nickc@cygnus.com>
  3000. * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
  3001. #<n>' instruction.
  3002. Thu Apr 9 10:29:42 1998 Doug Evans <devans@canuck.cygnus.com>
  3003. * symbols.c (max_indent_level): New global.
  3004. (print_symbol_value_1): Use it.
  3005. * expr.h (expr_build_dot): Declare.
  3006. * expr.c (expr_build_dot): New function.
  3007. Wed Apr 8 16:16:11 1998 Doug Evans <devans@canuck.cygnus.com>
  3008. * symbols.c (print_binary): New function.
  3009. (print_expr_1): Call it.
  3010. Mon Apr 6 12:06:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3011. * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
  3012. operand in the opcode.
  3013. Fri Apr 3 11:58:19 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  3014. * config/tc-i386.h: Reorder operand flags and opcode modifier
  3015. flags for clarity. Remove unused definitions: Unknown,
  3016. ImmUnknown, DispUnknown, NoModrm.
  3017. * config/tc-i386.c (type_names): Add missing Debug type.
  3018. (md_assemble): Better duplicate prefix checking. Quicker string
  3019. instruction check via new opcode_modifier flag.
  3020. Fri Apr 3 11:44:34 1998 Ian Lance Taylor <ian@cygnus.com>
  3021. * doc/as.texinfo (Invoking): Clarify -Wa example.
  3022. Fri Apr 3 09:12:23 1998 Gavin Koch <gavin@cetus.cygnus.com>
  3023. * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
  3024. (s_mips_weakext): Define.
  3025. * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
  3026. * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
  3027. defined(TC_MIPS).
  3028. Thu Apr 2 22:42:02 1998 Jeffrey A Law (law@cygnus.com)
  3029. * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
  3030. is an error if the value can not be computed at assembly time.
  3031. * config/tc-mn10300.c (tc_gen-reloc): Likewise.
  3032. Thu Apr 2 16:36:47 1998 Ian Lance Taylor <ian@cygnus.com>
  3033. * gasp.c (main): Set next field of new include_path structure to
  3034. NULL. From Avery Pennarun <averyp@gdc.ca>.
  3035. * read.c (s_mri_sect): Call as_bad rather than abort for an
  3036. unsupported MRI target.
  3037. Wed Apr 1 11:08:27 1998 Nick Clifton <nickc@cygnus.com>
  3038. * config/tc-arm.c (arm_validate_fix): New function. Determine if
  3039. the destination of a branch instruction should be altered.
  3040. (find_real_start): New function: Locate the real, Thumb coded
  3041. start of a Thumb function.
  3042. (do_t_branch23): Alter the destination of branches to Thumb
  3043. functions.
  3044. * config/tc-arm.h: Define TC_VALIDATE_FIX.
  3045. Tue Mar 31 13:27:33 1998 Dean M. Deaver <deaver@amt.tay1.dec.com>
  3046. * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
  3047. also.
  3048. Wed Apr 1 13:13:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3049. * doc/as.texinfo: Use @itemx for a secondary item in a table.
  3050. * doc/c-hppa.texi: Likewise.
  3051. Tue Mar 31 17:52:40 1998 Ian Lance Taylor <ian@cygnus.com>
  3052. * Makefile.am: Rebuild dependencies.
  3053. * Makefile.in: Rebuild.
  3054. * Makefile.am (DEP_INCLUDES): New variable.
  3055. (.dep1): Change to work when srcdir is not an absolute path.
  3056. (.tcdep, .objdep, .dep2, dep.sed): Likewise.
  3057. * Makefile.in: Rebuild.
  3058. Mon Mar 30 12:46:48 1998 Ian Lance Taylor <ian@cygnus.com>
  3059. * config/tc-i386.h, config/tc-i386.c: Revert March 24
  3060. LinearAddress patch.
  3061. * configure.in: Set version to 2.9.1.
  3062. * configure: Rebuild.
  3063. * Branched binutils 2.9.
  3064. Mon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  3065. * config/tc-i386.h (FWait): Define.
  3066. * config/tc-i386.c (md_assemble): Emit fwait prefix before any
  3067. other prefixes. Check FWait flag in opcode table to see which
  3068. instructions require an fwait prefix.
  3069. Mon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3070. * stabs.c (get_stab_string_offset): Always create a stab string
  3071. section.
  3072. Sat Mar 28 22:28:02 1998 Ian Lance Taylor <ian@cygnus.com>
  3073. Fix some gcc -Wall warnings:
  3074. * atof-generic.c (atof_generic): Add casts to avoid warnings.
  3075. * ehopt.c (eh_frame_code_alignment): Likewise.
  3076. * expr.c (integer_constant, operand): Likewise.
  3077. * frags.c (frag_align): Likewise.
  3078. * gasp.c (level_0, change_base, doinstr): Likewise.
  3079. * hash.c (hash_ask): Likewise.
  3080. * listing.c (listing_page, calc_hex, print_lines): Likewise.
  3081. (debugging_pseudo): Likewise.
  3082. * macro.c (define_macro, check_macro): Likewise.
  3083. * read.c (read_a_source_file, s_align, s_float_space): Likewise.
  3084. (ignore_rest_of_line, float_cons): Likewise.
  3085. * symbols.c (decode_local_label_name): Likewise.
  3086. * write.c (record_alignment, cvs_frag_to_fill): Likewise.
  3087. (fixup_segment, number_to_chars_bigendian): Likewise.
  3088. (number_to_chars_littleendian): Likewise.
  3089. * config/atof-ieee.c (gen_to_words): Likewise.
  3090. * config/tc-sparc.c (md_begin, md_assemble): Likewise.
  3091. (sparc_ip, parse_keyword_arg, s_common): Likewise.
  3092. * read.c (output_big_sleb128): Initialize locals to avoid
  3093. warnings.
  3094. (output_big_uleb128, equals): Likewise.
  3095. * atof-generic.c (atof_generic): Change number_of_digits_* locals
  3096. to unsigned int. Change zeros to unsigned int.
  3097. * cond.c (s_if): Add return to default case.
  3098. * frags.c (frag_now_fix): Change return type to addressT.
  3099. * frags.h (frag_now_fix): Update declaration.
  3100. * listing.c (file_info_struct): Change linenum to unsigned int.
  3101. (struct list_info_struct): Change hll_line to unsigned int.
  3102. (print_source): Update format string.
  3103. * read.c (emit_expr): Change scan to unsigned int, and don't
  3104. bother to initialize it.
  3105. * symbols.c (dollar_label_count): Change to unsigned long.
  3106. * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
  3107. * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
  3108. * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
  3109. Fri Mar 27 12:46:47 1998 Ian Lance Taylor <ian@cygnus.com>
  3110. * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
  3111. mcf5200 just as we do for m68000.
  3112. (m68k_init_after_args): Likewise.
  3113. (md_estimate_size_before_relax): Likewise.
  3114. Fri Mar 27 10:30:01 1998 Catherine Moore <clm@cygnus.com>
  3115. * config/tc-v850.c (md_assemble): Store relocation addend in
  3116. fixup instead of instruction.
  3117. Thu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
  3118. * config/tc-i386.c (md_assemble): Swap template arguments to
  3119. CONSISTENT_REGISTER_MATCH macro in reverse direction test.
  3120. This macro is currently symmetric, so passing them the wrong
  3121. way didn't cause any problem, but may if the macro is changed
  3122. in the future.
  3123. After copying template to i.tm, use i.tm. rather than t-> to
  3124. access fields, and make t a const*
  3125. Move i.tm.operand_types[] swap to immediately after the copy.
  3126. Wed Mar 25 13:44:18 1998 Doug Evans <devans@canuck.cygnus.com>
  3127. * expr.h (expr_build_uconstant): Add prototype.
  3128. (expr_build_unary,expr_build_binary): Add prototypes.
  3129. * expr.c (expr_build_uconstant): New function.
  3130. (expr_build_unary,expr_build_binary): New functions.
  3131. Wed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
  3132. * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
  3133. * macro.c (macro_expand_body): Increase buffer size.
  3134. * messages.c (as_warn): Likewise.
  3135. (as_warn_where, as_bad, as_bad_where): Likewise.
  3136. Wed Mar 25 12:59:07 1998 Ian Lance Taylor <ian@cygnus.com>
  3137. Based on patch from H.J. Lu <hjl@gnu.org>:
  3138. * Makefile.am (DISTSTUFF): New variable.
  3139. (diststuff): New target.
  3140. * Makefile.in: Rebuild.
  3141. Tue Mar 24 16:51:29 1998 Nick Clifton <nickc@cygnus.com>
  3142. * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
  3143. m32r_elf_section_change_hook.
  3144. * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
  3145. emit a nop if a section ends with a 16 bit instruction.
  3146. Tue Mar 24 19:48:09 1998 Ian Lance Taylor <ian@cygnus.com>
  3147. * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
  3148. s_lcomm rather than obj_coff_lcomm.
  3149. (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
  3150. Tue Mar 24 18:30:58 1998 H.J. Lu <hjl@gnu.org>
  3151. * config/tc-i386.h (LinearAddress): Define.
  3152. * config/tc-i386.c (md_assemble): If LinearAddress is set for the
  3153. instruction, don't use a default segment.
  3154. Mon Mar 23 18:53:40 1998 Joel Sherrill <joel@OARcorp.com>
  3155. * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
  3156. * configure: Rebuild.
  3157. Fri Mar 20 19:15:44 1998 Ian Lance Taylor <ian@cygnus.com>
  3158. * aclocal.m4, configure: Rebuild with libtool 1.2.
  3159. Thu Mar 19 16:03:12 1998 Nick Clifton <nickc@cygnus.com>
  3160. * config/tc-arm.c (md_apply_fix3): fix code to test the range of
  3161. PC relative branches. Patch courtesy of Jonathan Walton.
  3162. Wed Mar 18 09:29:51 1998 Nick Clifton <nickc@cygnus.com>
  3163. * configure.in (emulations): Add thumb-pe target.
  3164. * configure (emulations): Add thumb-pe target.
  3165. 1998-03-17 Ken Raeburn <raeburn@cygnus.com>
  3166. * itbl-lex.l (yywrap): Don't define if already defined as a
  3167. macro.
  3168. Fri Mar 13 16:31:38 1998 Tom Tromey <tromey@cygnus.com>
  3169. * depend.c (quote_string_for_make): New function.
  3170. (wrap_output): Use it.
  3171. Thu Mar 12 18:28:22 1998 Nick Clifton <nickc@cygnus.com>
  3172. * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
  3173. structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
  3174. Sat Feb 28 17:28:55 1998 Richard Henderson <rth@cygnus.com>
  3175. * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
  3176. Recognize -GN and -relax.
  3177. (md_begin): Initialize gp size from -G switch.
  3178. (alpha_force_relocation): Always force if -relax.
  3179. (alpha_align): Take a new argument that will specify when to
  3180. emit an R_ALPHA_ALIGN relocation (though we don't do that now).
  3181. Change all callers. Emit nop alignment padding as nop+unop pair.
  3182. Sat Feb 28 17:06:22 1998 Richard Henderson <rth@cygnus.com>
  3183. * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
  3184. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
  3185. Thu Feb 26 15:49:04 1998 Michael Meissner <meissner@cygnus.com>
  3186. * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
  3187. require padding to the next long word boundary.
  3188. Mon Feb 23 11:29:06 1998 Doug Evans <devans@seba.cygnus.com>
  3189. * cgen.c: #include symcat.h.
  3190. * config/tc-m32r.c: Likewise.
  3191. Mon Feb 23 10:27:40 1998 Jeffrey A Law (law@cygnus.com)
  3192. * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
  3193. absolute expressions instead of '$' prefixed register names.
  3194. Sat Feb 21 22:36:52 1998 Richard Henderson <rth@cygnus.com>
  3195. * read.c (s_set): Record file and line info for symbols when -as.
  3196. (pseudo_set): Don't overwrite that dummy fragment.
  3197. Fri Feb 20 15:03:13 1998 Ian Lance Taylor <ian@cygnus.com>
  3198. * config/tc-ppc.c (md_pseudo_table): Add "section".
  3199. (ppc_named_section): New static function.
  3200. Thu Feb 19 22:25:42 1998 Richard Henderson <rth@cygnus.com>
  3201. * config/tc-ppc.c (ppc_biei): Cache the last symbol we inserted
  3202. so we don't have to scan the entire list.
  3203. Tue Feb 17 17:02:15 1998 Fred Fish <fnf@cygnus.com>
  3204. * config/tc-d30v.c (parallel_ok): For the explicitly parallel
  3205. case, allow the parallel instructions to modify the same flag
  3206. bits.
  3207. Thu Feb 19 16:08:15 1998 Richard Henderson <rth@cygnus.com>
  3208. * listing.c (list_symbol_table): Categorize symbols by
  3209. undefined_section rather than sy_frag->line == NULL.
  3210. Wed Feb 18 23:39:46 1998 Richard Henderson <rth@cygnus.com>
  3211. * Makefile.am (install-exec-local): Install properly when ln
  3212. fails or tooldir == prefix.
  3213. Tue Feb 17 18:58:51 1998 Doug Evans <devans@seba.cygnus.com>
  3214. * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
  3215. Test result of insert_operand for error.
  3216. Fri Feb 13 16:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
  3217. * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
  3218. * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
  3219. * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
  3220. * doc/Makefile.in: Rebuild.
  3221. Fri Feb 13 00:47:44 1998 Ian Lance Taylor <ian@cygnus.com>
  3222. * config/tc-mips.c (macro_build): Handle operand type 'C'.
  3223. (macro): Fix handling of M_COP[0-3].
  3224. Thu Feb 12 14:06:59 1998 Ian Lance Taylor <ian@cygnus.com>
  3225. Based on patches from Ross Harvey <ross@teraflop.com>:
  3226. * macro.c (ISSEP): Only treat '<' and '>' as separator characters
  3227. if macro_alternate or macro_mri.
  3228. (getstring): Remove support for byte constants between < and >.
  3229. (get_any_string): '<' only starts a string if macro_alternate or
  3230. macro_mri.
  3231. (macro_expand_body): Permit keyword parameters following
  3232. positional parameters.
  3233. NetBSD patches from Gordon W. Ross <gwr@mc.com>:
  3234. * configure.in (alpha*-*-netbsd*): New target.
  3235. * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
  3236. * configure: Rebuild.
  3237. * as.h (flag_warn_suppress_instructionswap): Move from here...
  3238. * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
  3239. here, and make static.
  3240. * ehopt.c (eh_frame_code_alignment): Only use seg_info if
  3241. BFD_ASSEMBLER or MANY_SEGMENTS.
  3242. * as.c (show_usage): Update bug-gnu-utils address.
  3243. * gasp.c (show_usage): Likewise.
  3244. * doc/as.texinfo (Bug Reporting): Likewise.
  3245. Wed Feb 11 23:26:28 1998 Jeffrey A Law (law@cygnus.com)
  3246. * config/tc-mips.c (load_address): Don't use mips III or mips IV
  3247. insns regardless of the size of a pointer if we're in mips I or
  3248. MIPS II mode.
  3249. (macro, macro2, s_cprestore, s_cpadd): Likewise.
  3250. Thu Feb 12 03:41:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
  3251. Fix rac to accept only a0:
  3252. * config/tc-d10v.c (parallel_ok, find_opcode):
  3253. Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
  3254. Introduce OPERAND_GPR.
  3255. Wed Feb 11 16:28:13 1998 Richard Henderson <rth@cygnus.com>
  3256. * read.c (s_fill): Handle non-constant repeat counts by creating
  3257. an rs_space fragment.
  3258. Tue Feb 10 18:31:31 1998 Ian Lance Taylor <ian@cygnus.com>
  3259. * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
  3260. from as_bad to as_warn.
  3261. Tue Feb 10 18:04:00 1998 Jim Lemke <jlemke@cygnus.com>
  3262. * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
  3263. * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
  3264. * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
  3265. Tue Feb 10 17:58:18 1998 Ian Lance Taylor <ian@cygnus.com>
  3266. * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
  3267. seg_fix_rotP rather than fix_root from seg_info.
  3268. Tue Feb 10 15:32:22 1998 Ian Carmichael <iancarm@cygnus.com>
  3269. * expr.c: Add support for 0x1_2_3_4 bignums.
  3270. Tue Feb 10 14:43:40 1998 Ian Lance Taylor <ian@cygnus.com>
  3271. * configure.in: Change -linux* to -linux-gnu*.
  3272. * configure: Rebuild.
  3273. * app.c (do_scrub_begin): Treat \r as whitespace.
  3274. Mon Feb 9 14:16:11 1998 Ian Lance Taylor <ian@cygnus.com>
  3275. * Makefile.am: Update dependencies.
  3276. * Makefile.in: Rebuild.
  3277. Sat Feb 7 15:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
  3278. * configure, aclocal.m4: Rebuild with new libtool.
  3279. Fri Feb 6 16:08:30 1998 Jeffrey A Law (law@cygnus.com)
  3280. * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
  3281. the argument to bfd_set_arch_mach.
  3282. (load_address): Use bfd_arch_bits_per_address to determine the
  3283. bit size of an address instead of looking at the isa level.
  3284. (macro, macro2, s_cprestore, s_cpadd): Likewise.
  3285. Fri Feb 6 14:44:34 1998 Nick Clifton <nickc@cygnus.com>
  3286. * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
  3287. Thu Feb 5 12:39:08 1998 Ian Lance Taylor <ian@cygnus.com>
  3288. * ehopt.c: New file.
  3289. * as.h (enum _relax_state): Add rs_cfa.
  3290. (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
  3291. (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
  3292. * read.c (emit_expr): Call check_eh_frame.
  3293. * write.c (cvt_frag_to_fill): Handle rs_cfa.
  3294. (relax_segment): Likewise.
  3295. * Makefile.am: Rebuild dependencies.
  3296. (GAS_CFILES): Add ehopt.c.
  3297. (GENERIC_OBJS): Add ehopt.o.
  3298. * doc/internals.texi (Frags): Document rs_cfa.
  3299. * as.c (show_usage): Mention --traditional-format.
  3300. (parse_args): Accept --traditional-format.
  3301. * as.h (flag_traditional_format): Declare.
  3302. * output-file.c (output_file_create): If flag_traditional_format,
  3303. set BFD_TRADITIONAL_FORMAT on stdoutput.
  3304. * doc/as.texinfo, doc/as.1: Document --traditional-format.
  3305. * config/tc-mips.c (append_insn): Make sure that if we have a
  3306. fixup for an unmatched %hi reloc, it does not associated with a
  3307. variant frag.
  3308. * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
  3309. * doc/Makefile.in: Likewise.
  3310. Wed Feb 4 15:41:54 1998 Nick Clifton <nickc@cygnus.com>
  3311. * config/tc-m32r.c (check_for_side_effects): New function.
  3312. (can_make_parallel): Add checks for instruction side effects
  3313. clashing with the other instruction.
  3314. (assemble_parallel_insn): Improve warning messages. Return error
  3315. message from non-swapped instruction order.
  3316. Wed Feb 4 20:00:26 1998 James G. Smith <jsmith@teknema.demon.co.uk>
  3317. * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
  3318. * config/tc-arm.h: Replace md_after_pass_hook definition with a
  3319. md_cleanup definition. This moves the forced literal output to
  3320. the end of the source pass, and avoids macro's inserting literals
  3321. into the code immediately after the macro expansion.
  3322. Wed Feb 4 13:17:19 1998 Ian Lance Taylor <ian@cygnus.com>
  3323. * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
  3324. a gas internal symbol is adjustable.
  3325. * config/tc-ppc.h (tc_fix_adjustable): Likewise.
  3326. * as.h: If gcc version greater than 2.6, use `__format__' and
  3327. `__printf__' in function attributes, rather than `format' and
  3328. `printf'.
  3329. Mon Feb 2 18:38:18 1998 Ian Lance Taylor <ian@cygnus.com>
  3330. * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
  3331. Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
  3332. Add tms320c30 support:
  3333. * config/tc-tic30.h: New file.
  3334. * config/tc-tic30.c: New file.
  3335. * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
  3336. TARGET_FORMAT as "coff-tic30".
  3337. * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
  3338. * Makefile.am: Rebuild dependencies.
  3339. (CPU_TYPES): Add tic30.
  3340. (CPU_OBJ_VALID): tic30-aout is valid.
  3341. (TARGET_CPU_CFILES): Add config/tc-tic30.c.
  3342. (TARGET_CPU_HFILES): Add config/tc-tic30.h.
  3343. * configure, Makefile.in: Rebuild.
  3344. Mon Feb 2 10:20:37 1998 Nick Clifton <nickc@cygnus.com>
  3345. * config/tc-v850.c (md_assemble): Improvements to error messages.
  3346. Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
  3347. * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
  3348. BFD_RELOC_HI16_S to store the high bits of any value.
  3349. * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
  3350. (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
  3351. assembler calculate relocations to any external symbol at all.
  3352. * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
  3353. involving generation of pc-relative relocs.
  3354. (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
  3355. has been moved to md_apply_fix3.
  3356. * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
  3357. (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
  3358. which actually means (the address of identifier's GOT entry) +
  3359. constant, which is not particularly useful.
  3360. Fri Jan 30 11:02:35 1998 Doug Evans <devans@canuck.cygnus.com>
  3361. * read.h (include_dirs): Declare.
  3362. (include_dir_count,include_dir_maxlen): Declare.
  3363. Fri Jan 30 11:47:02 1998 Ian Lance Taylor <ian@cygnus.com>
  3364. * configure.in: Correct check for shared opcodes library.
  3365. * configure: Rebuild.
  3366. * listing.c (buffer_line): If we can't open the file, set at_end.
  3367. (listing_print): Remove unused local variable fi.
  3368. * config/m68k-parse.y (reglistpair): Handle register list in
  3369. either order.
  3370. * config/vms-conf.h: Don't undef VERSION.
  3371. Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
  3372. * Makefile.am (CONFIG_OBJS): New variable, containing part of old
  3373. OBJS variable.
  3374. (GENERIC_OBJS): New variable, with the rest of the old OBJS
  3375. variable.
  3376. (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
  3377. ($(srcdir)/make-gas.com): Rename from make-gas.com.
  3378. (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
  3379. (EXTRA_DIST): Define.
  3380. * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
  3381. explicitly rather than via the list of object files.
  3382. (gcc-as.opt): New file created when make-gas.com is run.
  3383. * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
  3384. itbl-cpu.h} to #include appropriate file rather than copying that
  3385. file.
  3386. * config/vms-conf.h: Synchronize with current config.in.
  3387. * Makefile.in: Rebuild.
  3388. Thu Jan 29 18:48:19 1998 Bill Moyer <billm@cygnus.com>
  3389. * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
  3390. (parallel_ok): Relaxed parallel subinstruction dependency check.
  3391. Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
  3392. * as.h (flag_warn_suppress_instructionswap): added new flag.
  3393. * config/tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
  3394. command line argument.
  3395. * config/tc-d10v.c (write_2_short): emit "Swapping instructions"
  3396. warning only if flag_warn_suppress_instructionswap is false.
  3397. Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
  3398. * configure.in (i386-*-mingw32*): New target.
  3399. * configure: Rebuild.
  3400. Wed Jan 28 14:51:18 1998 Ian Lance Taylor <ian@cygnus.com>
  3401. * symbols.c (resolve_symbol_value): Don't set the segment if it
  3402. hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
  3403. * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
  3404. S_GET_SEGMENT.
  3405. Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
  3406. as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
  3407. depends upon HAVE_{UNLINK,REMOVE} values rather than host
  3408. compiler.
  3409. Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
  3410. * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
  3411. Wed Jan 28 09:52:00 1998 Nick Clifton <nickc@cygnus.com>
  3412. * config/tc-v850.c (v850_insert_operand): Display instruction when
  3413. an error is encountered.
  3414. Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
  3415. * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
  3416. (i386-*-sco3.2v5*coff): New target.
  3417. (i386-*-sco3.2*): New target.
  3418. * configure: Rebuild.
  3419. Tue Jan 27 11:06:52 1998 Nick Clifton <nickc@cygnus.com>
  3420. * config/tc-v850.c: Tidy error message production.
  3421. Tue Jan 27 12:24:32 1998 Ian Lance Taylor <ian@cygnus.com>
  3422. * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
  3423. validate_immediate return value in the right type for comparisons
  3424. to FAIL.
  3425. Tue Jan 27 06:51:59 1998 Richard Henderson <rth@cygnus.com>
  3426. * listing.c (MAX_BYTES): Use listing variables not constants.
  3427. (data_buffer): No longer an array, but a pointer.
  3428. (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
  3429. (listing_listing): Allocate data_buffer.
  3430. Tue Jan 27 06:38:35 1998 Richard Henderson <rth@cygnus.com>
  3431. * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
  3432. --listing-rhs-width, --listing-cont-lines.
  3433. (show_usage): Update.
  3434. * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
  3435. (listing_lhs_cont_lines, listing_rhs_width): New vars.
  3436. (print_lines): Use the variables instead of the constants.
  3437. (listing_listing): Likewise.
  3438. * listing.h: Declare the new vars.
  3439. Tue Jan 27 05:32:05 1998 Richard Henderson <rth@cygnus.com>
  3440. * as.c (parse_args): Add --keep-locals alias for -L.
  3441. Add --strip-local-absolute.
  3442. (show_usage): Update.
  3443. * as.h (flag_strip_local_absolute): New flag.
  3444. * symbols.c (S_IS_LOCAL): Use it.
  3445. * config/obj-aout.h (S_IS_LOCAL): Likewise.
  3446. * config/obj-bout.h (S_IS_LOCAL): Likewise.
  3447. * config/obj-coff.h (S_IS_LOCAL): Likewise.
  3448. Mon Jan 26 13:07:41 1998 Nick Clifton <nickc@cygnus.com>
  3449. * config/tc-m32r.c: Detect if explicitly parallel instructions
  3450. might have an io conflict and issue a warning message.
  3451. Thu Jan 22 17:51:44 1998 Nick Clifton <nickc@cygnus.com>
  3452. * cgen.c (cgen_save_fixups, cgen_restore_fixups,
  3453. cgen_swap_fixups): Functions to save, restore and swap the fixup
  3454. chain with a backup copy.
  3455. (cgen_asm_finish_insn): Returns address of constructed insn.
  3456. Wed Jan 21 16:49:10 1998 Richard Henderson <rth@cygnus.com>
  3457. * listing.c (file_info_struct): Remove FILE, add POS.
  3458. (last_open_file_info, last_open_file): New; a one entry FILE* cache.
  3459. (file_info): Don't open the file.
  3460. (buffer_line): Check for the file in the last_open cache, updating
  3461. as necessary.
  3462. (print_source): Don't reference file_info->file.
  3463. (listing_listing): Likewise.
  3464. (listing_print): Close the file in the cache, if any.
  3465. Fri Jan 16 14:51:48 1998 Ian Lance Taylor <ian@cygnus.com>
  3466. * read.c (dwarf_file_string): New file static variable.
  3467. (emit_expr): Look for constant sequence that leads up to a file
  3468. name in DWARF debugging output.
  3469. (stringer): Use dwarf_file_string to decide whether to accept a
  3470. string as a file name.
  3471. Fri Jan 16 11:30:37 1998 Richard Henderson <rth@cygnus.com>
  3472. * config/tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
  3473. (crack_operand): Add reg->reglst MRI hack.
  3474. (r_seg): Put reglst symbols in reg_section.
  3475. (m68k_frob_symbol): Frob reglst symbols into absolute_section.
  3476. Thu Jan 15 14:19:01 1998 Richard Henderson <rth@cygnus.com>
  3477. * config/tc-sh.c (get_specific): Handle SGR & DBR.
  3478. Thu Jan 15 13:46:48 1998 Richard Henderson <rth@cygnus.com>
  3479. * config/tc-h8300.c (parse_reg): Take the length of the symbol into
  3480. account when attempting to match a register name.
  3481. * config/tc-h8500.c (parse_reg): Likewise.
  3482. Wed Jan 14 17:52:33 1998 Nick Clifton <nickc@cygnus.com>
  3483. * cgen.c: Formatting changes to improve readability.
  3484. Wed Jan 14 15:41:41 1998 Jeffrey A Law (law@cygnus.com)
  3485. * config/tc-mips.c (macro): Rework division code to avoid unfilled
  3486. delay slot.
  3487. Wed Jan 14 18:04:20 1998 Michael Meissner <meissner@cygnus.com>
  3488. Based on a patch from Jim Wilson
  3489. * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
  3490. (tc_gen_reloc): Handle cross section PC relative relocs
  3491. correctly.
  3492. Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
  3493. * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
  3494. Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
  3495. * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
  3496. (expr_jmp_buf): New static local.
  3497. (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
  3498. (cgen_md_operand): New function.
  3499. * config/tc-m32r.c: Clean up pass over `struct foo' usage.
  3500. (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
  3501. Tue Jan 6 15:36:02 1998 Richard Henderson <rth@cygnus.com>
  3502. * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
  3503. (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
  3504. Fri Jan 2 16:08:54 1998 Ian Lance Taylor <ian@cygnus.com>
  3505. * config/tc-i386.c (i386_operand): Give an error if there are
  3506. unrecognized characters after an expression.
  3507. For older changes see ChangeLog-9697
  3508. Copyright (C) 1998-1999 Free Software Foundation, Inc.
  3509. Copying and distribution of this file, with or without modification,
  3510. are permitted in any medium without royalty provided the copyright
  3511. notice and this notice are preserved.
  3512. Local Variables:
  3513. mode: change-log
  3514. left-margin: 8
  3515. fill-column: 74
  3516. version-control: never
  3517. End: