ChangeLog 309 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327
  1. 2015-09-30 Nick Clifton <nickc@redhat.com>
  2. Import the following patches from the GCC mainline:
  3. 2015-08-15 Ian Lance Taylor <iant@google.com>
  4. * cp-demangle.c (d_abi_tags): Preserve di->last_name across any
  5. ABI tags.
  6. 2015-08-11 Iain Buclaw <ibuclaw@gdcproject.org>
  7. * d-demangle.c (dlang_parse_real): Remove call to strtod.
  8. (strtod): Remove declaration.
  9. * testsuite/d-demangle-expected: Update float and complex literal
  10. tests to check correct hexadecimal demangling.
  11. 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
  12. * configure: Regenerated.
  13. 2015-06-01 Jason Merrill <jason@redhat.com>
  14. * cp-demangle.c (cplus_demangle_type): Handle arguments to vendor
  15. extended qualifier.
  16. 2015-05-22 Yunlian Jiang <yunlian@google.com>
  17. * configure.ac: Add AC_GNU_SOURCE.
  18. * Makefile.in (COMPILE.c): Add -D_GNU_SOURCE.
  19. * configure, config.in: Rebuild.
  20. * floatformat.c (_GNU_SOURCE): Don't define if already defined.
  21. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  22. * d-demangle.c (dlang_symbol_kinds): New enum.
  23. (dlang_parse_symbol): Update signature. Handle an ambiguity between
  24. pascal functions and template value arguments. Only check for a type
  25. if parsing a function, or at the top level. Return failure if the
  26. entire symbol was not successfully demangled.
  27. (dlang_identifier): Update signature. Handle an ambiguity between two
  28. adjacent digits in a mangled symbol string.
  29. (dlang_type): Update call to dlang_parse_symbol.
  30. (dlang_template_args): Likewise.
  31. (dlang_parse_template): Likewise.
  32. (dlang_demangle): Likewise.
  33. * testsuite/d-demangle-expected: Fix bad tests found, and add problematic
  34. examples to the unittests.
  35. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  36. * d-demangle.c (dlang_template_args): Skip over specialized template
  37. parameters in mangled symbol.
  38. * testsuite/d-demangle-expected: Add coverage and unittest for specialized
  39. template parameters.
  40. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  41. * d-demangle.c (dlang_type): Handle cent and ucent types.
  42. * testsuite/d-demangle-expected: Add coverage tests for cent and ucent.
  43. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  44. * d-demangle.c (dlang_attributes): Handle return attributes, ignoring
  45. return parameters in the mangled string. Return NULL if have encountered
  46. an unknown attribute.
  47. (dlang_function_args): Handle return parameters in the mangled string.
  48. * testsuite/d-demangle-expected: Add coverage tests for functions with
  49. return parameters and return attributes.
  50. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  51. * d-demangle.c (dlang_identifier): Check encoded length of identifier
  52. to verify strncmp matches entire string.
  53. * testsuite/d-demangle-expected: Fix wrong test for postblit symbol.
  54. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  55. * d-demangle.c (dlang_type_modifiers): New function.
  56. (dlang_type_modifier_p): New function.
  57. (dlang_call_convention_p): Ignore any kind of type modifier.
  58. (dlang_type): Handle and emit the type modifier after delegate types.
  59. (dlang_parse_symbol): Handle and emit the type modifier after the symbol.
  60. * testsuite/d-demangle-expected: Add coverage tests for all valid
  61. usages of function symbols with type modifiers.
  62. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  63. * d-demangle.c (dlang_call_convention): Return NULL if have reached the
  64. end of the symbol, but expected something to read.
  65. (dlang_attributes): Likewise.
  66. (dlang_function_type): Likewise.
  67. (dlang_type): Likewise.
  68. (dlang_identifier): Likewise.
  69. (dlang_value): Likewise.
  70. 2015-05-16 Iain Buclaw <ibuclaw@gdcproject.org>
  71. * d-demangle.c (dlang_parse_string): Represent embedded whitespace or
  72. non-printable characters as hex or escape sequences.
  73. * testsuite/d-demangle-expected: Add test for templates with tabs and
  74. newlines embedded into the signature.
  75. 2015-05-08 Joel Brobecker <brobecker@adacore.com>
  76. * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
  77. but not HAVE_SYS_TIME_H.
  78. 2015-04-22 Eli Zaretskii <eliz@gnu.org>
  79. * setenv.c <environ>: Declare only if not a macro.
  80. 2015-04-14 Max Ostapenko <m.ostapenko@partner.samsung.com>
  81. * testsuite/Makefile.in (LIBCFLAGS): Add LDFLAGS.
  82. 2015-04-10 Jakub Jelinek <jakub@redhat.com>
  83. Iain Sandoe <iain@codesourcery.com>
  84. PR target/65351
  85. * configure: Regenerate.
  86. 2015-04-07 Jakub Jelinek <jakub@redhat.com>
  87. Iain Sandoe <iain@codesourcery.com>
  88. PR target/65351
  89. * configure: Regenerate.
  90. 2015-01-19 Eli Zaretskii <eliz@gnu.org>
  91. * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
  92. macros.
  93. 2014-12-24 Uros Bizjak <ubizjak@gmail.com>
  94. Ben Elliston <bje@au.ibm.com>
  95. Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  96. * xasprintf.c: New file.
  97. * Makefile.in (CFILES): Add xasprintf.c.
  98. (REQUIRED_OFILES): Add xasprintf.$(objext).
  99. (xasprintf.$(objext)): New target.
  100. * functions.texi: Regenerate.
  101. 2014-12-11 Uros Bizjak <ubizjak@gmail.com>
  102. Ben Elliston <bje@au.ibm.com>
  103. Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  104. * xvasprintf.c: New file.
  105. * vprintf-support.h: Likewise.
  106. * vprintf-support.c: Likewise.
  107. * Makefile.in (CFILES): Add vprintf-support.c, xvasprintf.c.
  108. (REQUIRED_OFILES): Add vprintf-support.$(objext), xvasprintf.$(objext).
  109. (vprintf-support.$(objext), xvasprintf.$(objext)): New targets.
  110. (vasprintf.$(objext)): Depend on $(srcdir)/vprintf-support.h.
  111. * functions.texi: Regenerate.
  112. * vasprintf.c (int_vasprintf): Use libiberty_vprintf_buffer_size.
  113. 2014-11-22 John David Anglin <danglin@gcc.gnu.org>
  114. PR other/63694
  115. * configure.ac: Check for strtol, strtoul, strtoll and strtoull
  116. declarations.
  117. * configure: Regenerated.
  118. 2014-11-12 Kirill Yukhin <kirill.yukhin@intel.com>
  119. * testsuite/test-strtol.c (run_tests): Cast strtol return to
  120. unsigned long.
  121. 2014-11-11 Anthony Brandon <anthony.brandon@gmail.com>
  122. Manuel López-Ibáñez <manu@gcc.gnu.org>
  123. PR driver/36312
  124. * filename_cmp.c (canonical_filename_eq): New function to check if
  125. file names are the same.
  126. * functions.texi: Updated with documentation for new function.
  127. 2014-11-11 David Malcolm <dmalcolm@redhat.com>
  128. * ChangeLog.jit: New.
  129. 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  130. * sigsetmask.c (_POSIX_SOURCE): Remove.
  131. 2014-10-28 Yury Gribov <y.gribov@samsung.com>
  132. * strtoll.c: New file.
  133. * strtoull.c: New file.
  134. * configure.ac: Add long long checks. Add harness for strtoll and
  135. strtoull. Check decls for strtol, strtoul, strtoll, strtoull.
  136. * Makefile.in (CFILES, CONFIGURED_OFILES): Add strtoll and strtoull.
  137. * config.in: Regenerate.
  138. * configure: Regenerate.
  139. * functions.texi: Regenerate.
  140. * testsuite/Makefile.in (check-strtol): New rule.
  141. (test-strtol): Likewise.
  142. (mostlyclean): Clean up strtol test.
  143. * testsuite/test-strtol.c: New test.
  144. 2014-10-15 David Malcolm <dmalcolm@redhat.com>
  145. * choose-temp.c (choose_tmpdir): Remove now-redundant local
  146. copy of prototype.
  147. * functions.texi: Regenerate.
  148. * make-temp-file.c (choose_tmpdir): Convert return type from
  149. char * to const char * - given that this returns a pointer to
  150. a memoized allocation, the caller must not touch it.
  151. 2014-10-14 Joel Brobecker <brobecker@adacore.com>
  152. * d-demangle.c: Replace strtold with strtod in global comment.
  153. (strtold): Remove declaration.
  154. (strtod): New declaration.
  155. (dlang_parse_real): Declare value as double instead of long
  156. double. Replace call to strtold by call to strtod.
  157. Update format in call to snprintf.
  158. 2014-09-26 Jason Merrill <jason@redhat.com>
  159. * cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
  160. 2014-09-26 Max Ostapenko <m.ostapenko@partner.samsung.com>
  161. * pex-common.h (struct pex_funcs): Add new parameter for open_write field.
  162. * pex-unix.c (pex_unix_open_write): Add support for new parameter.
  163. * pex-djgpp.c (pex_djgpp_open_write): Likewise.
  164. * pex-win32.c (pex_win32_open_write): Likewise.
  165. * pex-common.c (pex_run_in_environment): Likewise.
  166. 2014-09-23 Iain Buclaw <ibuclaw@gdcproject.org>
  167. * Makefile.in (CFILES): Add d-demangle.c.
  168. (REQUIRED_OFILES): Add d-demangle.o.
  169. * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
  170. (cplus_demangle): Likewise.
  171. * d-demangle.c: New file.
  172. * testsuite/Makefile.in (really-check): Add check-d-demangle.
  173. * testsuite/d-demangle-expected: New file.
  174. 2014-09-19 Ian Lance Taylor <iant@google.com>
  175. * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
  176. handle objects with more than SHN_LORESERVE sections.
  177. (simple_object_elf_write_shdr): Add sh_link parameter.
  178. (simple_object_elf_write_to_file): Correctly handle objects with
  179. more than SHN_LORESERVE sections.
  180. 2014-08-29 Andrew Burgess <aburgess@broadcom.com>
  181. * cp-demangle.c (d_dump): Only access field from s_fixed part of
  182. the union for DEMANGLE_COMPONENT_FIXED_TYPE.
  183. (d_count_templates_scopes): Likewise.
  184. 2014-08-13 Gary Benson <gbenson@redhat.com>
  185. * testsuite/demangler-fuzzer.c: New file.
  186. * testsuite/Makefile.in (fuzz-demangler): New rule.
  187. (demangler-fuzzer): Likewise.
  188. (mostlyclean): Clean up demangler fuzzer.
  189. 2014-06-11 Andrew Burgess <aburgess@broadcom.com>
  190. * cplus-dem.c (do_type): Call string_delete even if the call to
  191. demangle_template fails.
  192. 2014-06-01 Ray Donnelly <mingw.android@gmail.com>
  193. * pex-win32.c (argv_to_cmdline): Don't quote
  194. args unnecessarily
  195. 2014-05-28 Pedro Alves <palves@redhat.com>
  196. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM
  197. and DEMANGLE_COMPONENT_NUMBER.
  198. 2014-05-22 Thomas Schwinge <thomas@codesourcery.com>
  199. * testsuite/demangle-expected: Fix last commit.
  200. 2014-05-14 Andrew Burgess <aburgess@broadcom.com>
  201. * cplus-dmem.c (internal_cplus_demangle): Free any resources
  202. allocated by possible previous call to gnu_special.
  203. (squangle_mop_up): Reset pointers to NULL after calling free.
  204. * testsuite/demangle-expected: New test case.
  205. 2014-05-08 Gary Benson <gbenson@redhat.com>
  206. * cp-demangle.c (struct d_component_stack): New structure.
  207. (struct d_print_info): New field component_stack.
  208. (d_print_init): Initialize the above.
  209. (d_print_comp_inner): Renamed from d_print_comp.
  210. Do not restore template stack if it would cause a loop.
  211. (d_print_comp): New function.
  212. * testsuite/demangle-expected: New test cases.
  213. 2014-04-17 Jakub Jelinek <jakub@redhat.com>
  214. PR sanitizer/56781
  215. * maint-tool: Also emit rule for noasan/ subdirectory.
  216. * configure.ac (NOASANFLAG): Set and substitute.
  217. * Makefile.in: Regenerated.
  218. (NOASANFLAG): Set.
  219. (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic
  220. subdir.
  221. (stamp-noasandir): New goal.
  222. * configure: Regenerated.
  223. 2014-04-01 Richard Biener <rguenther@suse.de>
  224. * simple-object.c (simple_object_internal_write): Handle
  225. EINTR and short writes.
  226. 2014-03-28 Richard Biener <rguenther@suse.de>
  227. * simple-object.c (simple_object_internal_read): Handle
  228. EINTR and short reads.
  229. 2014-03-13 Uros Bizjak <ubizjak@gmail.com>
  230. * regex.c (bzero) [!_LIBC]: Define without coma expression.
  231. (regerror): Cast the call to memcpy to (void) to avoid unused
  232. value warnings.
  233. 2014-01-28 Thomas Schwinge <thomas@codesourcery.com>
  234. * cp-demangle.c (d_demangle_callback): Put an abort call in place,
  235. to help the compiler.
  236. 2014-01-21 Tom Tromey <tromey@redhat.com>
  237. * _doprint.c (checkit): Use stdarg, not VA_* macros.
  238. * asprintf.c (asprintf): Use stdarg, not VA_* macros.
  239. * concat.c (concat_length, concat_copy, concat_copy2, concat)
  240. (reconcat): Use stdarg, not VA_* macros.
  241. * snprintf.c (snprintf): Use stdarg, not VA_* macros.
  242. * vasprintf.c (checkit): Use stdarg, not VA_* macros.
  243. * vsnprintf.c (checkit): Use stdarg, not VA_* macros.
  244. 2014-01-06 Mike Frysinger <vapier@gentoo.org>
  245. PR other/56780
  246. * configure.ac: Delete target_header_dir assignment.
  247. * configure: Regenerated.
  248. 2014-01-06 Gary Benson <gbenson@redhat.com>
  249. * cp-demangle.c (struct d_print_info): New fields
  250. next_saved_scope, copy_templates, next_copy_template and
  251. num_copy_templates.
  252. (d_count_templates): New function.
  253. (d_print_init): New parameter "dc".
  254. Estimate numbers of templates and scopes required.
  255. (d_print_free): Removed function.
  256. (cplus_demangle_print_callback): Allocate stack for
  257. templates and scopes. Removed call to d_print_free.
  258. (d_copy_templates): Removed function.
  259. (d_save_scope): New function.
  260. (d_get_saved_scope): Likewise.
  261. (d_print_comp): Replace state saving/restoring code with
  262. calls to d_save_scope and d_get_saved_scope.
  263. 2013-12-23 Bill Maddox <maddox@google.com>
  264. * cp-demangle.c (cplus_demangle_fill_ctor,cplus_demangle_fill_dtor):
  265. Handle unified ctor/dtor.
  266. (d_ctor_dtor_name): Handle unified ctor/dtor.
  267. 2013-11-22 Cary Coutant <ccoutant@google.com>
  268. PR other/59195
  269. * cp-demangle.c (struct d_info_checkpoint): New struct.
  270. (struct d_print_info): Add current_template field.
  271. (d_operator_name): Set flag when processing a conversion
  272. operator.
  273. (cplus_demangle_type): When processing <template-args> for
  274. a conversion operator, backtrack if necessary.
  275. (d_expression_1): Renamed from d_expression.
  276. (d_expression): New wrapper around d_expression_1.
  277. (d_checkpoint): New function.
  278. (d_backtrack): New function.
  279. (d_print_init): Initialize current_template.
  280. (d_print_comp): Set current_template.
  281. (d_print_cast): Put current_template in scope for
  282. printing conversion operator name.
  283. (cplus_demangle_init_info): Initialize is_expression and
  284. is_conversion.
  285. * cp-demangle.h (struct d_info): Add is_expression and
  286. is_conversion fields.
  287. * testsuite/demangle-expected: New test cases.
  288. 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
  289. * configure: Regenerate.
  290. 2013-11-12 Uros Bizjak <ubizjak@gmail.com>
  291. * cp-demangle.c (d_copy_templates): Cast result of malloc
  292. to (struct d_print_template *).
  293. (d_print_comp): Cast result of realloc to (struct d_saved scope *).
  294. 2013-10-29 Marc Glisse <marc.glisse@inria.fr>
  295. PR tree-optimization/58689
  296. * concat.c: Remove note about xmalloc.
  297. 2013-10-27 Gerald Pfeifer <gerald@pfeifer.com>
  298. * testsuite/test-demangle.c: Include unistd.h.
  299. 2013-10-25 Gary Benson <gbenson@redhat.com>
  300. * cp-demangle.c (struct d_saved_scope): New structure.
  301. (struct d_print_info): New fields saved_scopes and
  302. num_saved_scopes.
  303. (d_print_init): Initialize the above.
  304. (d_print_free): New function.
  305. (cplus_demangle_print_callback): Call the above.
  306. (d_copy_templates): New function.
  307. (d_print_comp): New variables saved_templates and
  308. need_template_restore.
  309. [DEMANGLE_COMPONENT_REFERENCE, DEMANGLE_COMPONENT_RVALUE_REFERENCE]:
  310. Capture scope the first time the component is traversed, and use the
  311. captured scope for subsequent traversals.
  312. * testsuite/demangle-expected: Add regression test.
  313. 2013-10-23 Gerald Pfeifer <gerald@pfeifer.com>
  314. * testsuite/test-expandargv.c: Include unistd.h.
  315. 2013-10-15 David Malcolm <dmalcolm@redhat.com>
  316. * configure.ac: If --enable-host-shared, use -fPIC.
  317. * configure: Regenerate.
  318. 2013-10-11 Paul Pluzhnikov <ppluzhnikov@google.com>
  319. * cp-demangle.c (d_name): Demangle local-source-names.
  320. * testsuite/demangle-expected: New test.
  321. 2013-09-10 Paolo Carlini <paolo.carlini@oracle.com>
  322. PR bootstrap/58386
  323. Revert:
  324. 2013-09-10 Gary Benson <gbenson@redhat.com>
  325. * cp-demangle.c: Include hashtab.h.
  326. (struct d_print_info): New field saved_scopes.
  327. (d_print_init): Initialize the above.
  328. (d_print_free): New function.
  329. (cplus_demangle_print_callback): Call the above.
  330. (struct d_saved_scope): New structure.
  331. (d_store_scope): New function.
  332. (d_free_scope) Likewise.
  333. (d_restore_scope) Likewise.
  334. (d_hash_saved_scope) Likewise.
  335. (d_equal_saved_scope) Likewise.
  336. (d_print_comp): New variable saved_scope.
  337. [DEMANGLE_COMPONENT_REFERENCE,
  338. DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
  339. time the component is traversed, and use the captured scope for
  340. subsequent traversals.
  341. * testsuite/demangle-expected: Add regression test.
  342. 2013-09-10 Gary Benson <gbenson@redhat.com>
  343. * cp-demangle.c: Include hashtab.h.
  344. (struct d_print_info): New field saved_scopes.
  345. (d_print_init): Initialize the above.
  346. (d_print_free): New function.
  347. (cplus_demangle_print_callback): Call the above.
  348. (struct d_saved_scope): New structure.
  349. (d_store_scope): New function.
  350. (d_free_scope) Likewise.
  351. (d_restore_scope) Likewise.
  352. (d_hash_saved_scope) Likewise.
  353. (d_equal_saved_scope) Likewise.
  354. (d_print_comp): New variable saved_scope.
  355. [DEMANGLE_COMPONENT_REFERENCE,
  356. DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
  357. time the component is traversed, and use the captured scope for
  358. subsequent traversals.
  359. * testsuite/demangle-expected: Add regression test.
  360. 2013-08-20 Alan Modra <amodra@gmail.com>
  361. * floatformat.c (floatformat_ibm_long_double): Rename to..
  362. (floatformat_ibm_long_double_big): ..this.
  363. (floatformat_ibm_long_double_little): New.
  364. 2013-07-09 Tristan Gingold <gingold@adacore.com>
  365. * makefile.vms (OBJS): Add dwarfnames.obj
  366. 2013-05-31 Matt Burgess <matthew@linuxfromscratch.org>
  367. PR other/56780
  368. * libiberty/configure.ac: Move test for --enable-install-libiberty
  369. outside of the 'with_target_subdir' test so that it actually gets
  370. run. Add output messages to show the test result.
  371. * libiberty/configure: Regenerate.
  372. * libiberty/Makefile.in (install_to_libdir): Place the
  373. installation of the libiberty library in the same guard as that
  374. used for the headers to prevent it being installed unless
  375. requested via --enable-install-libiberty.
  376. 2013-05-06 David Edelsohn <dje.gcc@gmail.com>
  377. Peter Bergner <bergner@vnet.ibm.com>
  378. Segher Boessenkool <segher@kernel.crashing.org>
  379. Jakub Jelinek <jakub@redhat.com>
  380. * hashtab.c (hash_pointer): Remove conditional and avoid
  381. unexecuted shift equal to wordsize.
  382. 2013-04-22 Andi Kleen <ak@linux.intel.com>
  383. * hashtab.c (hash_pointer): Move to end of file and reimplement.
  384. 2013-04-03 Jason Merrill <jason@redhat.com>
  385. * cp-demangle.c (cplus_demangle_type): Fix function quals.
  386. (d_pointer_to_member_type): Simplify.
  387. Demangle C++11 ref-qualifier.
  388. * cp-demangle.c (d_ref_qualifier): New.
  389. (d_nested_name, d_function_type): Use it.
  390. (d_parmlist): Don't get confused by a ref-qualifier.
  391. (cplus_demangle_type): Reorder ref-qualifier.
  392. (d_pointer_to_member_type): Likewise.
  393. (d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
  394. DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
  395. (d_make_comp, has_return_type, d_encoding): Likewise.
  396. (d_print_comp, d_print_mod_list, d_print_mod): Likewise.
  397. (d_print_function_type, is_ctor_or_dtor): Likewise.
  398. 2013-03-27 Kai Tietz <ktietz@redhat.com>
  399. * configure: Regenerated.
  400. 2013-03-06 Tobias Burnus <burnus@net-b.de>
  401. * libiberty.texi: Update comment, remove lowersections.
  402. * obstacks.texi: Regenerate.
  403. 2013-03-05 Jakub Jelinek <jakub@redhat.com>
  404. PR middle-end/56526
  405. * simple-object-mach-o.c (simple_object_mach_o_segment): Initialize
  406. wrapper_sect_offset to avoid a warning.
  407. 2013-03-01 Andreas Schwab <schwab@linux-m68k.org>
  408. * obstacks.texi (Obstacks): Trim @node to only contain the
  409. node name.
  410. * libiberty.texi (Obstacks): Lower section.
  411. 2013-02-14 Jason Merrill <jason@redhat.com>
  412. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DEFAULT_ARG.
  413. (d_print_comp): Likewise.
  414. 2013-02-09 Jakub Jelinek <jakub@redhat.com>
  415. PR other/56245
  416. * regex.c (PTR_INT_TYPE): Define.
  417. (EXTEND_BUFFER): Change incr type from int to PTR_INT_TYPE.
  418. 2013-01-31 Kai Tietz <ktietz@redhat.com>
  419. PR other/54620
  420. * sha1.c (sha1_process_block): Handle case that size_t is
  421. a wider-integer-scalar as a 32-bit unsigned integer.
  422. PR other/53413
  423. * md5.c (md5_process_block): Handle case that size_t is
  424. a wider-integer-scalar a 32-bit unsigned integer.
  425. 2013-01-04 Ian Lance Taylor <iant@google.com>
  426. PR other/54800
  427. * simple-object-mach-o.c (simple_object_mach_o_segment): Don't
  428. bother to zero out a buffer we are about to set anyhow.
  429. 2013-01-01 David Edelsohn <dje.gcc@gmail.com>
  430. * simple-object-xcoff.c: New file.
  431. * Makefile.in: Add it to build machinery.
  432. * simple-object-common.h (simple_object_xcoff_functions): Declare.
  433. * simple-object.c (format_functions): Add
  434. simple_object_xcoff_functions.
  435. 2012-11-10 Jason Merrill <jason@redhat.com>
  436. * cp-demangle.c (d_unqualified_name): Handle abi tags here.
  437. (d_name): Not here.
  438. 2012-11-09 Jason Merrill <jason@redhat.com>
  439. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_TAGGED_NAME.
  440. (d_make_comp, d_find_pack, d_print_comp): Likewise.
  441. (d_abi_tags): New.
  442. (d_name): Call it.
  443. 2012-10-08 Jason Merrill <jason@redhat.com>
  444. * cp-demangle.c (d_special_name, d_dump): Handle TH and TW.
  445. (d_make_comp, d_print_comp): Likewise.
  446. 2012-09-18 Ian Lance Taylor <iant@google.com>
  447. * strnlen.c: New file.
  448. * configure.ac: Check for strnlen, add it to AC_LIBOBJ if it's not
  449. present.
  450. * Makefile.in: Rebuild dependencies.
  451. (CFILES): Add strnlen.c.
  452. (CONFIGURED_OFILES): Add ./strnlen.$(objext).
  453. * configure, config.in, functions.texi: Rebuild.
  454. * maint-tool: Accept .def files in the include directory.
  455. 2012-09-18 Florian Weimer <fweimer@redhat.com>
  456. PR other/54411
  457. * objalloc.c (_objalloc_alloc): Add overflow check covering
  458. alignment and CHUNK_HEADER_SIZE addition.
  459. 2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
  460. * argv.c (dupargv): Replace malloc with xmalloc. Don't check
  461. xmalloc return.
  462. (buildargv): Likewise. Also replace strdup with xstrdup.
  463. (expandargv): Don't check dupargv return.
  464. 2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
  465. PR binutils/14526
  466. * argv.c (buildargv): Replace alloca with xmalloc/free.
  467. 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
  468. * floatformat.c (floatformat_to_double): Correctly handle numbers
  469. between 1 and 2. Simplify handling of denormal number.
  470. (main): Test with 1.1.
  471. 2012-07-31 Mike Frysinger <vapier@gentoo.org>
  472. * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
  473. to swap_bytes, and then call memcpy to move it to ctx->buffer.
  474. 2012-07-26 Kazu Hirata <kazu@codesourcery.com>
  475. Sandra Loosemore <sandra@codesourcery.com>
  476. * pex-win32.c (pex_win32_exec_child): Only close original file
  477. descriptors if child is launched successfully.
  478. 2012-07-18 Jason Merrill <jason@redhat.com>
  479. * cp-demangle.c (cplus_demangle_operators): Add *_cast.
  480. (op_is_new_cast): New.
  481. (d_expression, d_print_comp): Check it.
  482. 2012-07-13 Doug Evans <dje@google.com>
  483. * filename_cmp.c (filename_hash, filename_eq): New functions.
  484. 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
  485. * copying-lib.texi (Library Copying): Don't use @heading inside
  486. @enumerate.
  487. 2012-05-22 Tom Tromey <tromey@redhat.com>
  488. http://sourceware.org/bugzilla/show_bug.cgi?id=14065
  489. * testsuite/demangle-expected: Add regression test.
  490. * cp-demangle.c (d_find_pack): Return NULL for
  491. DEMANGLE_COMPONENT_UNNAMED_TYPE.
  492. 2012-04-27 Tom Tromey <tromey@redhat.com>
  493. * dwarfnames.c: New file.
  494. * Makefile.in (CFILES): Add dwarfnames.
  495. (REQUIRED_OFILES): Add dwarfnames.
  496. (./dwarfnames.$(objext)): New target.
  497. 2012-04-04 Tristan Gingold <gingold@adacore.com>
  498. * pex-unix.c (to_ptr32): Fix style.
  499. 2012-04-02 Tristan Gingold <gingold@adacore.com>
  500. * stack-limit.c: Includes ansidecl.h.
  501. (stack_limit_increase): Add ATTRIBUTE_UNUSED
  502. 2012-03-20 Jason Merrill <jason@redhat.com>
  503. * cp-demangle.c (cplus_demangle_type): Handle 'auto'.
  504. 2012-03-07 Jason Merrill <jason@redhat.com>
  505. * cp-demangle.c (cplus_demangle_operators): Add li.
  506. (d_unqualified_name): Handle it specially.
  507. 2012-01-26 Jakub Jelinek <jakub@redhat.com>
  508. * make-relative-prefix.c (make_relative_prefix_1): Avoid warning
  509. about using preprocessor directives inside of macro arguments.
  510. 2012-01-22 Douglas B Rupp <rupp@gnat.com>
  511. * configure: Regenerate.
  512. 2012-01-10 Jason Merrill <jason@redhat.com>
  513. * cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]:
  514. Omit a trailing space in the operator name.
  515. 2012-01-06 Jason Merrill <jason@redhat.com>
  516. PR c++/6057
  517. PR c++/48051
  518. PR c++/50855
  519. PR c++/51322
  520. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and
  521. DEMANGLE_COMPONENT_INITIALIZER_LIST.
  522. (d_make_comp): Likewise. Allow null right arg for
  523. DEMANGLE_COMPONENT_TRINARY_ARG2.
  524. (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw.
  525. (d_template_args, d_template_arg): Handle 'J' for argument packs.
  526. (d_exprlist): Add terminator parm.
  527. (d_expression, d_print_comp): Handle initializer lists, nullary
  528. expressions, prefix/suffix operators, and new.
  529. (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME
  530. and DEMANGLE_COMPONENT_INITIALIZER_LIST.
  531. * testsuite/demangle-expected: Add tests.
  532. * cp-demangle.c (cplus_demangle_type): decltype, pack expansion
  533. and vector are substitutable.
  534. (cplus_demangle_operators): Sort.
  535. 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  536. * configure: Regenerate.
  537. 2012-01-02 Jakub Jelinek <jakub@redhat.com>
  538. * make-relative-prefix.c (make_relative_prefix_1): Avoid
  539. stack overflow if PATH contains just a single entry and
  540. HOST_EXECUTABLE_SUFFIX needs to be used.
  541. PR driver/48306
  542. * make-relative-prefix.c: Include sys/stat.h.
  543. (make_relative_prefix_1): If access succeeds, check also stat
  544. if nstore is a regular file.
  545. 2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
  546. * configure: Regenerate.
  547. 2011-12-20 Tristan Gingold <gingold@adacore.com>
  548. * aclocal.m4: Assume strncmp works in cross case.
  549. * configure: Regenerate
  550. 2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
  551. * configure: Regenerate.
  552. 2011-11-07 Richard Henderson <rth@redhat.com>
  553. Merged from transactional-memory.
  554. * cp-demangle.c (cplus_demangle_fill_ctor): Accept
  555. gnu_v3_object_ctor_group.
  556. (cplus_demangle_fill_dtor): Accept gnu_v3_object_dtor_group.
  557. (d_ctor_dtor_name): Recognize gnu_v3_object_ctor_group
  558. and gnu_v3_object_dtor_group.
  559. (d_dump): Handle DEMANGLE_COMPONENT_TRANSACTION_CLONE
  560. and DEMANGLE_COMPONENT_NONTRANSACTION_CLONE.
  561. (d_make_comp, d_print_comp): Likewise.
  562. (d_special_name): Generate them.
  563. 2011-11-04 Jason Merrill <jason@redhat.com>
  564. PR c++/48370
  565. * cp-demangle.c (d_special_name, d_print_comp): Handle a
  566. discriminator number on DEMANGLE_COMPONENT_REFTEMP.
  567. 2011-11-02 Doug Evans <dje@google.com>
  568. * Makefile.in (CFILES): Add timeval-utils.c.
  569. (REQUIRED_OFILES): Add timeval-utils.$(objext).
  570. (INSTALLED_HEADERS): Add timeval-utils.h.
  571. (timeval-utils.$(objext)): Add rule.
  572. 2011-10-28 Ian Lance Taylor <iant@google.com>
  573. * setproctitle.c (setproctitle): Use "GNU/Linux" in comment.
  574. 2011-10-26 Iain Sandoe <iains@gcc.gnu.org>
  575. PR target/48108
  576. * simple-object-mach-o.c (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
  577. GNU_WRAPPER_NAMES): New macros.
  578. (simple_object_mach_o_segment): Handle wrapper scheme.
  579. (simple_object_mach_o_write_section_header): Allow the segment name
  580. to be supplied.
  581. (simple_object_mach_o_write_segment): Handle wrapper scheme. Ensure
  582. that the top-level segment name in the load command is empty.
  583. (simple_object_mach_o_write_to_file): Determine the number of
  584. sections during segment output, use that in writing the header.
  585. 2011-10-10 Ian Lance Taylor <iant@google.com>
  586. PR c++/48665
  587. * cp-demangle.c (d_cv_qualifiers): If qualifiers are applied to a
  588. function type, change them to apply to the "this" parameter.
  589. * testsuite/demangle-expected: Add test case.
  590. 2011-09-28 Doug Evans <dje@google.com>
  591. * timeval-utils.c: New file.
  592. * argv.c (countargv): New function.
  593. 2011-09-23 Cary Coutant <ccoutant@google.com>
  594. PR 40831
  595. * cp-demangle.c (d_make_comp): Add new component type.
  596. (cplus_demangle_mangled_name): Check for clone suffixes.
  597. (d_parmlist): Don't error out if we see '.'.
  598. (d_clone_suffix): New function.
  599. (d_print_comp): Print info for clone suffixes.
  600. * testsuite/demangle-expected: Add new testcases.
  601. 2011-09-23 Ian Lance Taylor <iant@google.com>
  602. Pierre Vittet <piervit@pvittet.com>
  603. * md5.c (md5_process_bytes): Correct handling of unaligned
  604. buffer.
  605. 2011-08-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  606. * aclocal.m4: Include ../config/picflag.m4.
  607. * configure.ac (GCC_PICFLAG): Call it.
  608. (enable_shared): Clear PICFLAG unless shared.
  609. * configure: Regenerate.
  610. 2011-08-12 Steve Ellcey <sje@cup.hp.com>
  611. * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
  612. 2011-08-06 Uros Bizjak <ubizjak@gmail.com>
  613. * testsuite/test-expandargv.c (writeout_test): Check result of fwrite.
  614. 2011-08-01 Jason Merrill <jason@redhat.com>
  615. PR c++/49932
  616. * cp-demangle.c (d_prefix): Handle decltype.
  617. * testsuite/demangle-expected: Test it.
  618. 2011-07-26 H.J. Lu <hongjiu.lu@intel.com>
  619. * testsuite/demangle-expected: Remove an extra line.
  620. 2011-07-26 Ian Lance Taylor <iant@google.com>
  621. * cp-demangle.c (d_print_init): Initialize pack_index field.
  622. (d_print_comp): Check for NULL template argument.
  623. * testsuite/demangle-expected: Add test case.
  624. 2011-07-22 Gerald Pfeifer <gerald@pfeifer.com>
  625. PR target/49817
  626. * stack-limit.c: Include <stdint.h>.
  627. 2011-07-22 Jakub Jelinek <jakub@redhat.com>
  628. PR c++/49756
  629. * stack-limit.c: New file.
  630. * Makefile.in: Regenerate deps.
  631. (CFILES): Add stack-limit.c.
  632. (REQUIRED_OFILES): Add ./stack-limit.$(objext).
  633. * configure.ac (checkfuncs): Add getrlimit and setrlimit.
  634. (AC_CHECK_FUNCS): Likewise.
  635. * configure: Regenerated.
  636. * config.in: Regenerated.
  637. 2011-07-04 Jason Merrill <jason@redhat.com>
  638. * cp-demangle.c (d_expression): Handle 'this'.
  639. (d_print_comp) [DEMANGLE_COMPONENT_FUNCTION_PARAM]: Likewise.
  640. 2011-07-01 Joel Brobecker <brobecker@adacore.com>
  641. * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of
  642. HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
  643. 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
  644. PR debug/49408
  645. * cp-demangle.c (d_print_comp): Suppress argument list for function
  646. references by the '&' unary operator. Keep also already processed
  647. variant without the argument list. Suppress argument list types for
  648. function call used in an expression.
  649. * testsuite/demangle-expected: Fix excessive argument list types in
  650. `test for typed function in decltype'. New testcase for no argument
  651. list types printed. 3 new testcases for function references by the
  652. '&' unary operator..
  653. 2011-06-20 Jason Merrill <jason@redhat.com>
  654. PR c++/37089
  655. * cp-demangle.c (d_print_comp): Handle reference smashing.
  656. * testsuite/demangle-expected: Test it.
  657. 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
  658. * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
  659. Suppress d_print_mod for DMGL_RET_POSTFIX.
  660. * testsuite/demangle-expected: New testcases for --ret-postfix.
  661. 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
  662. * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
  663. not pass DMGL_RET_POSTFIX or DMGL_RET_DROP. Support DMGL_RET_DROP.
  664. * testsuite/demangle-expected: New testcases for --ret-drop.
  665. * testsuite/test-demangle.c: Document --ret-drop in a comment.
  666. (main): New variable ret_drop, fill it, call cplus_demangle with it.
  667. 2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
  668. * cp-demangle.c (struct d_print_info): Remove field options.
  669. (d_print_init): Remove parameter options.
  670. (cplus_demangle_print_callback): Update all the callers.
  671. (d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
  672. (d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
  673. Add parameter options, update all the callers.
  674. 2011-04-20 Jim Meyering <meyering@redhat.com>
  675. * cp-demint.c (cplus_demangle_v3_components): Remove useless
  676. if-before-free.
  677. * cplus-dem.c (squangle_mop_up): Likewise.
  678. (delete_non_B_K_work_stuff): Likewise.
  679. * pex-common.c (pex_free): Likewise.
  680. * pex-msdos.c (pex_msdos_cleanup): Likewise.
  681. * pex-win32.c (mingw_rootify, msys_rootify): Likewise.
  682. (win32_spawn): Likewise.
  683. * regex.c (FREE_VAR, weak_alias): Likewise.
  684. * spaces.c (spaces): Likewise.
  685. 2011-04-10 Jim Meyering <meyering@redhat.com>
  686. Avoid memory overrun in a test leading to potential double-free.
  687. * testsuite/test-expandargv.c (writeout_test): Fix off-by-one error:
  688. i.e., do copy the trailing NUL byte.
  689. 2011-03-31 Tristan Gingold <gingold@adacore.com>
  690. * makefile.vms (OBJS): Add filename_cmp.obj
  691. 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
  692. * filename_cmp.c (filename_ncmp): New function.
  693. * functions.texi: Regenerated.
  694. 2011-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  695. * splay-tree.c: Escape wrapping newlines in texinfo markup
  696. with '@', to fix function declaration output rendering.
  697. * gather-docs: Relax and improve macro name matching to actually
  698. match all current names and to allow input line wrapping.
  699. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
  700. hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
  701. memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
  702. pexecute.txh, random.c, setenv.c, setproctitle.c,
  703. simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
  704. strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
  705. Wrap long texinfo input lines.
  706. * functions.texi: Regenerate.
  707. 2011-01-18 Mike Frysinger <vapier@gentoo.org>
  708. * .gitignore: New file.
  709. 2010-12-08 Doug Evans <dje@google.com>
  710. * splay-tree.c (splay_tree_foreach_helper): Remove arg `sp',
  711. all callers updated. Rewrite to be non-recursive.
  712. 2010-11-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  713. * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
  714. 2010-11-20 Anthony Green <green@moxielogic.com>
  715. * configure.ac: Turn PR_SET_NAME link test into a test for
  716. sys/prctl.h.
  717. * configure, config.in: Rebuilt.
  718. * setproctitle.c: Test for HAVE_SYS_PRCTL_H.
  719. (setproctitle) Test for PR_SET_NAME definition.
  720. 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  721. PR other/46202
  722. * Makefile.in (install-strip): New phony target.
  723. (install): Also mark as phony.
  724. 2010-11-16 Ian Lance Taylor <iant@google.com>
  725. * simple-object.c (simple_object_attributes_merge): Rename from
  726. simple_object_attributes_compare. Call merge field.
  727. * simple-object-common.h (struct simple_object_functions): Rename
  728. attributes_compare field to attribute_merge.
  729. * simple-object-elf.c (EM_SPARC): Define.
  730. (EM_SPARC32PLUS): Define.
  731. (simple_object_elf_attributes_merge): Renamed from
  732. simple_object_elf_attributes_compare. Permit EM_SPARC and
  733. EM_SPARC32PLUS objects to be merged.
  734. (simple_object_elf_functions): Update function name.
  735. * simple-object-coff.c (simple_object_coff_attributes_merge):
  736. Rename from simple_object_coff_attributes_compare.
  737. (simple_object_coff_functions): Update function name.
  738. * simple-object-mach-o.c (simple_object_mach_o_attributes_merge):
  739. Renamed from simple_object_mach_o_attributes_compare.
  740. (simple_object_mach_o_functions): Update function name.
  741. 2010-11-16 H.J. Lu <hongjiu.lu@intel.com>
  742. PR other/42670
  743. PR binutils/11137
  744. * cp-demangle.c (d_make_demangle_mangled_name): New.
  745. (d_demangle_callback): Use it on DCT_GLOBAL_XTORS.
  746. * testsuite/demangle-expected: Updated.
  747. 2010-11-14 Kai Tietz <kai.tietz@onevision.com>
  748. * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
  749. offset.
  750. 2010-11-12 Ian Lance Taylor <iant@google.com>
  751. PR other/46332
  752. * cp-demangle.c (d_print_function_type): Don't print parentheses
  753. if there are no modifiers to print.
  754. * testsuite/demangle-expected: Tweak one test case, add another.
  755. 2010-11-04 Richard Henderson <rth@redhat.com>
  756. * configure.ac (AC_CHECK_HEADERS): Add process.h.
  757. (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
  758. (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
  759. * configure, config.in: Rebuild.
  760. * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
  761. [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
  762. 2010-11-02 Ian Lance Taylor <iant@google.com>
  763. Dave Korn <dave.korn.cygwin@gmail.com>
  764. Iain Sandoe <iains@gcc.gnu.org>
  765. * simple-object.c: New file.
  766. * simple-object-common.h: New file.
  767. * simple-object-elf.c: New file.
  768. * simple-object-mach-o.c: New file.
  769. * simple-object-coff.c: New file.
  770. * simple-object.txh: New file.
  771. * configure.ac: Add AC_TYPE_SSIZE_T.
  772. * Makefile.in: Rebuild dependencies.
  773. (CFILES): Add simple-object.c, simple-object-coff,
  774. simple-object-elf.c, and simple-object-mach-o.c.
  775. (REQUIRED_OFILES): Add corresponding object files.
  776. * configure: Rebuild.
  777. * config.in: Rebuild.
  778. * functions.texi: Rebuild.
  779. 2010-10-29 Ian Lance Taylor <iant@google.com>
  780. * setproctitle.c: Add space after function name in @deftypefn
  781. comment.
  782. * functions.texi: Rebuild.
  783. 2010-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  784. * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete.
  785. * configure: Regenerate.
  786. 2010-10-07 Andi Kleen <ak@linux.intel.com>
  787. * configure: Regenerate.
  788. * configure.ac: Turn PR_SET_NAME check into link check.
  789. 2010-10-06 Andi Kleen <ak@linux.intel.com>
  790. * Makefile.in (CFILES): Add setproctitle.
  791. (CONFIGURED_OFILES): Add setproctitle.
  792. (setproctitle): Add rule.
  793. * config.in: Regenerate.
  794. * configure: Regenerate.
  795. * configure.ac: Add checks for prctl PR_SET_NAME and setproctitle.
  796. * setproctitle.c: Add file.
  797. * functions.texi: Regenerate.
  798. 2010-09-22 Tristan Gingold <gingold@adacore.com>
  799. * cplus-dem.c (ada_demangle): Add comments.
  800. Handle stream and controlled type operations.
  801. Decoding of some uppercase letters moved before separators.
  802. * testsuite/demangle-expected: Add tests.
  803. 2010-09-10 James Lyon <jameslyon0@googlemail.com>
  804. http://sourceware.org/bugzilla/show_bug.cgi?id=11572
  805. * cp-demangle.c (d_find_pack): Add case for
  806. DEMANGLE_COMPONENT_LAMBDA.
  807. * testsuite/demangle-expected: Add regression test.
  808. 2010-09-08 Tristan Gingold <gingold@adacore.com>
  809. PR 44001
  810. * maint-tool (missing): Fix pattern for object file.
  811. (deps): Use $(objext) for object extension.
  812. * Makefile.in (objext): New variable.
  813. Replace all occurences of .o with .$(objext)
  814. Regenerate with maint-deps
  815. * configure.ac (pexecute): Set to the basename.
  816. * configure: Regenerate.
  817. 2010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
  818. * pex-common.c (pex_read_err): Set stderr_pipe to -1 if a
  819. corresponding stream has been opened.
  820. (pex_free): Close pipe file descriptors corresponding to child's
  821. stdout and stderr before waiting.
  822. 2010-08-13 Nick Clifton <nickc@redhat.com>
  823. * argv.c (expandargv): Limit the number of times that response
  824. files are opened in order to prevent infinite recursion.
  825. 2010-07-21 Pascal Obry <obry@adacore.com>
  826. * make-temp-file.c (choose_tmpdir): Append a dot to P_tmpdir if needed.
  827. 2010-07-06 Ken Werner <ken.werner@de.ibm.com>
  828. * floatformat.c (floatformat_ieee_half_big): New variable.
  829. (floatformat_ieee_half_little): Likewise.
  830. 2010-06-14 Gerald Pfeifer <gerald@pfeifer.com>
  831. * libiberty.texi: Remove reference to GCC 3 and 2001 (thrice).
  832. Update copyright years.
  833. Move to GFDL 1.3.
  834. 2010-06-10 Jakub Jelinek <jakub@redhat.com>
  835. PR other/43838
  836. * cp-demangle.c (struct d_print_info): Add flush_count field.
  837. (d_print_init): Initialize it to 0.
  838. (d_print_flush): Increment it.
  839. (d_print_comp): If needed flush before appending ", ". Only
  840. decrement dpi->len if no flushes happened during the recursive
  841. call.
  842. * testsuite/demangle-expected: Add a test for this.
  843. 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
  844. * splay-tree.c: Update copyright years.
  845. (splay_tree_new_typed_alloc): New.
  846. (splay_tree_new_with_allocator): Use it.
  847. * hashtab.c: Update copyright years.
  848. (htab_create_typed_alloc): New.
  849. (htab_create_alloc): Use it.
  850. * functions.texi: Regenerate.
  851. 2010-06-03 Joern Rennecke <joern.rennecke@embecosm.com>
  852. Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  853. PR bootstrap/42798
  854. * configure.ac: Check for declaration of 'basename(char *)'.
  855. * configure: Regenerate.
  856. 2010-05-26 Kai Tietz <kai.tietz@onevision.com>
  857. * testsuite/demangle-expected: Add tests for __int128
  858. and unsigned __int128 types.
  859. 2010-05-06 Magnus Fromreide <magfr@lysator.liu.se>
  860. Jason Merrill <jason@redhat.com>
  861. * cp-demangle.c (cplus_demangle_builtin_types): Add nullptr.
  862. (cplus_demangle_type): Handle nullptr.
  863. * testsuite/demangle-expected: Test it.
  864. 2010-04-23 Pedro Alves <pedro@codesourcery.com>
  865. * lbasename.c (lbasename): Split into ...
  866. (unix_lbasename, dos_basename): ... these.
  867. (lbasename): ... and reimplement on top of them.
  868. * Makefile.in (lbasename.o): Add dependency on
  869. $(INCDIR)/filenames.h.
  870. 2010-04-07 Jakub Jelinek <jakub@redhat.com>
  871. * regex.c (byte_re_match_2_internal): Avoid set but not used
  872. warning.
  873. 2010-03-22 Jason Merrill <jason@redhat.com>
  874. * cp-demangle.c (d_print_mod): Use () rather than [] for vectors.
  875. 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  876. * Makefile.in (all): Do not use exec.
  877. 2010-02-04 Tom Tromey <tromey@redhat.com>
  878. * testsuite/demangle-expected: Add missing --format=gnu-v3.
  879. 2010-02-03 Jason Merrill <jason@redhat.com>
  880. * cp-demangle.c (d_expression): Handle dependent operator name.
  881. PR c++/12909
  882. * cp-demangle.c (d_number_component, d_vector_type): New.
  883. (cplus_demangle_type, d_print_comp, d_print_mod): Handle vectors.
  884. 2010-01-25 Ian Lance Taylor <iant@google.com>
  885. * cp-demangle.c (cplus_demangle_type): Check for invalid type
  886. after "DF".
  887. * testsuite/demangle-expected: Add test.
  888. 2010-01-20 Jason Merrill <jason@redhat.com>
  889. PR c++/42338
  890. * cp-demangle.c (d_print_comp): Fix array index printing.
  891. 2010-01-11 Tristan Gingold <gingold@adacore.com>
  892. * cplus-dem.c (ada_demangle): Remove prototype.
  893. (grow_vect): Removed.
  894. (ada_demangle): Rewritten.
  895. (cplus_demangle): Fix indentation.
  896. * testsuite/demangle-expected: Add tests for Ada.
  897. 2010-01-09 Ian Lance Taylor <iant@google.com>
  898. PR other/42230
  899. * cp-demangle.c (d_demangle): Return dgs.alc on success.
  900. 2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  901. PR target/42316
  902. * configure.ac (PICFLAG): Use -fPIC on SH hosts.
  903. * configure: Regenerate.
  904. 2009-12-07 Doug Evans <dje@google.com>
  905. * pex-unix.c (pex_unix_exec_child): Save/restore environ.
  906. 2009-11-26 Ben Elliston <bje@au.ibm.com>
  907. * configure.ac (AC_CHECK_FUNCS): Sort into alphabetic order.
  908. * configure: Regenerate.
  909. 2009-11-25 Ben Elliston <bje@au.ibm.com>
  910. * functions.texi: Rebuild.
  911. 2009-11-25 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  912. Ben Elliston <bje@au.ibm.com>
  913. * README: Mention changes to Makefile.in and functions.texi.
  914. * gather-docs: Mention 'make stamp-functions' in the header.
  915. 2009-11-23 Ben Elliston <bje@au.ibm.com>
  916. Ian Lance Taylor <iant@google.com>
  917. * pex-unix.c (pex_child_error): Improve warning avoidance by
  918. checking the results of write(3) and exiting with -2 if any write
  919. returns a negative value.
  920. 2009-11-22 Steve Ward <planet36@gmail.com>
  921. * dyn-string.c (dyn_string_append_char): Fix typo in comment.
  922. 2009-11-20 Ben Elliston <bje@au.ibm.com>
  923. * pex-unix.c (pex_child_error): Define writeerr macro to avoid
  924. unused result warnings from write(3) calls. Undefine writeerr
  925. after all uses.
  926. 2009-10-08 Daniel Gutson <dgutson@codesourcery.com>
  927. Daniel Jacobowitz <dan@codesourcery.com>
  928. Pedro Alves <pedro@codesourcery.com>
  929. libiberty/
  930. * argv.c (consume_whitespace): New function.
  931. (only_whitespace): New function.
  932. (buildargv): Always use ISSPACE by calling consume_whitespace.
  933. (expandargv): Skip empty files. Do not stop at the first empty
  934. argument (calling only_whitespace)..
  935. * testsuite/test-expandargv.c: (test_data): Test empty lines
  936. and empty arguments.
  937. (run_tests): Fix false positives due to shorter arguments.
  938. 2009-09-30 Martin Thuresson <martint@google.com>
  939. * regex.c (byte_re_match_2_internal): Split declaration and
  940. assignment to avoid -Wc++-compat warning due to goto.
  941. 2009-09-29 Jason Merrill <jason@redhat.com>
  942. * Makefile.in: Enable demangle target.
  943. * cp-demangle.c (d_lambda, d_unnamed_type, d_make_default_arg): New.
  944. (d_name, d_prefix, d_unqualified_name, d_local_name): Handle lambdas.
  945. (d_parmlist): Factor out from d_bare_function_type.
  946. (d_compact_number): Factor out from d_template_param and d_expression.
  947. (d_append_num): Factor out from d_print_comp.
  948. (d_print_comp, d_print_mod_list): Handle lambdas.
  949. * testsuite/demangle-expected: Add lambda tests.
  950. 2009-09-23 Matthew Gingell <gingell@adacore.com>
  951. * cplus-dem.c (ada_demangle): Ensure demangled is freed.
  952. 2009-09-22 Ozkan Sezer <sezeroz@gmail.com>
  953. * choose-temp.c: Include unistd.h for mingw targets.
  954. 2009-09-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  955. * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
  956. 2009-09-15 Tristan Gingold <gingold@adacore.com>
  957. * config.h-vms (intptr_t): Define to compile hashtab.c
  958. 2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
  959. PR target/39065
  960. * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
  961. with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
  962. * config.in: Regenerated.
  963. * configure: Regenerated.
  964. 2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
  965. PR target/39065
  966. * configure.ac: Also check for intptr_t.
  967. * config.h.in: Regenerated.
  968. * configure: Regenerated.
  969. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
  970. instead of of long.
  971. 2009-09-02 Tristan Gingold <gingold@adacore.com>
  972. * vmsbuild.com: Removed as unused and superceeded by makefile.vms.
  973. * makefile.vms: Ported to Itanium VMS. Remove useless targets and
  974. dependencies. Remove unused FORMAT variable.
  975. * configure.com: New file to create build.com DCL script for
  976. Itanium VMS or Alpha VMS.
  977. 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  978. * configure.ac (AC_PREREQ): Bump to 2.64.
  979. 2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
  980. PR ld/10536
  981. * Makefile.in (install-html-recursive): Removed.
  982. 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  983. * config.in: Regenerate.
  984. * configure: Regenerate.
  985. 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  986. * Makefile.in (AUTOCONF, configure_deps): New variables.
  987. ($(srcdir)/configure): New rule, active only in maintainer mode.
  988. 2009-07-29 Douglas B Rupp <rupp@gnat.com>
  989. * make-temp-file.c (choose_tmpdir): Try standard temp logical on VMS.
  990. 2009-07-27 Douglas B Rupp <rupp@gnat.com>
  991. * pex-unix.c (vfork): Remove VMS specific definition (get from header
  992. file instead).
  993. (to_ptr32): New function.
  994. (pex_unix_exec_child): Use it.
  995. 2009-07-24 Ian Lance Taylor <iant@google.com>
  996. PR bootstrap/40854
  997. * crc32.c (xcrc32): Rename from crc32.
  998. 2009-07-24 Ian Lance Taylor <iant@google.com>
  999. * crc32.c: New file.
  1000. * Makefile.in: Rebuild dependencies.
  1001. (CFILES): Add crc32.c.
  1002. (REQUIRED_OFILES): Add ./crc32.o.
  1003. * functions.texi: Rebuild.
  1004. 2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
  1005. * cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
  1006. (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
  1007. (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
  1008. (d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
  1009. (d_demangle_callback): The variable type is now declared as enum.
  1010. Replace parser of _GLOBAL_ symbols by a d_make_comp call.
  1011. 2009-06-21 Jakub Jelinek <jakub@redhat.com>
  1012. * hashtab.c (htab_traverse): Don't call htab_expand for
  1013. nearly empty hashtabs with sizes 7, 13 or 31.
  1014. 2009-06-16 Nick Clifton <nickc@redhat.com>
  1015. PR 10197
  1016. * testsuite/test-demangle.c: Rename getline to get_line to avoid
  1017. conflicts with system function of the same name.
  1018. 2009-05-30 Eli Zaretskii <eliz@gnu.org>
  1019. * snprintf.c: Doc fix.
  1020. * vsnprintf.c: Doc fix.
  1021. 2009-05-29 Kai Tietz <kai.tietz@onevision.com>
  1022. * pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
  1023. 2009-05-29 Michael Matz <matz@suse.de>
  1024. * fibheap.c (fibheap_replace_key_data): Make sure we don't early
  1025. out when forcing the minimum.
  1026. (fibheap_delete_node): Assert that we managed to force the minimum.
  1027. 2009-05-25 Tristan Gingold <gingold@adacore.com>
  1028. * config.h-vms: Rewritten. Define configure macros.
  1029. Use DEC-C builtin alloca.
  1030. * makefile.vms (OBJS): Update list.
  1031. (OPT): New variable.
  1032. (CFLAGS): Update compilation flags.
  1033. (libiberty.olb): Do not depend on alloca-conf.h anymore.
  1034. 2009-05-19 Ian Lance Taylor <iant@google.com>
  1035. Ben Elliston <bje@au.ibm.com>
  1036. * cp-demangle.c (cplus_demangle_fill_ctor): Fix logic bug.
  1037. (cplus_demangle_fill_dtor): Likewise.
  1038. 2009-05-17 Julian Brown <julian@codesourcery.com>
  1039. * pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing
  1040. standard handles (stdin, stdout, stderr) in parent.
  1041. 2009-04-29 Julian Brown <julian@codesourcery.com>
  1042. * pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
  1043. (pex_win32_exec_child): Ensure each process has only one handle open
  1044. on pipe endpoints. Close standard input after creating child for
  1045. symmetry with standard output/standard error.
  1046. 2009-04-25 Eli Zaretskii <eliz@gnu.org>
  1047. * Makefile.in (needed-list): Target removed (not used in GCC
  1048. 3.0 and later). All references deleted.
  1049. (mostlyclean): Remove references to needed.awk and needed2.awk.
  1050. 2009-04-14 Eli Zaretskii <eliz@gnu.org>
  1051. * configure.ac (setobjs, msdosdjgpp): Move a-priori setting of
  1052. existing and required library functions to with_target_subdir
  1053. section, so that the native build does detect them at configure
  1054. time.
  1055. * configure: Regenerated.
  1056. 2009-04-13 Ozkan Sezer <sezeroz@gmail.com>
  1057. PR target/39397
  1058. * pex-common.h (struct pex_obj): Store pid values as pid_t,
  1059. not as long (members *children and (*wait))
  1060. * pex-common.c (pex_run_in_environment): Likewise.
  1061. * pex-win32.c (pex_win32_wait): Return pid_t and properly check
  1062. returned pid value.
  1063. * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
  1064. * pex-msdos.c (pex_msdos_wait): Likewise.
  1065. 2009-04-07 Arnaud Patard <apatard@mandriva.com>
  1066. * libiberty/configure.ac: Fix Linux/MIPS matching rule.
  1067. * libiberty/configure: Regenerate.
  1068. 2009-03-27 Ian Lance Taylor <iant@google.com>
  1069. * memmem.c: New file, from gnulib.
  1070. * configure.ac: Add memmem to list of functions provided if they
  1071. are not available on the host.
  1072. * Makefile.in: Rebuild dependencies.
  1073. (CFILES): Add memmem.c.
  1074. (CONFIGURED_OFILES): Add memmem.o.
  1075. * configure, config.in, functions.texi: Rebuild.
  1076. 2009-03-23 Jason Merrill <jason@redhat.com>
  1077. * cp-demangle.c (d_expression): Handle pack expansion.
  1078. (d_find_pack): Handle DEMANGLE_COMPONENT_FUNCTION_PARAM.
  1079. (d_print_subexpr): Don't wrap function parms in ().
  1080. (d_print_comp) [DEMANGLE_COMPONENT_PACK_EXPANSION]: Handle
  1081. not finding a pack.
  1082. 2009-03-17 Jason Merrill <jason@redhat.com>
  1083. * cp-demangle.c (d_make_function_param): new fn.
  1084. (cplus_demangle_mangled_name): Work around abi v2 bug.
  1085. (d_expr_primary): Likewise.
  1086. (cplus_demangle_operators): Add alignof ops.
  1087. (d_expression): Handle function parameters and conversions
  1088. with other than 1 operand.
  1089. (d_print_comp): Handle function parameters. Fix bug with
  1090. function used in type of function.
  1091. * testsuite/demangle-expected: Update tests.
  1092. 2009-02-21 Mark Mitchell <mark@codesourcery.com>
  1093. * make-temp-file.c (<windows.h>): Include on Windows.
  1094. (choose_tmpdir): On Windows, use GetTempPath.
  1095. 2009-01-18 Dave Korn <dave.korn.cygwin@gmail.com>
  1096. * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
  1097. as it no longer shares libiberty object files.
  1098. * configure: Regenerated.
  1099. 2009-01-07 Jason Merrill <jason@redhat.com>
  1100. * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
  1101. 2009-01-06 Ben Elliston <bje@au.ibm.com>
  1102. * cp-demangle.c (cplus_demangle_type): Return NULL if the
  1103. character following a 'D' cannot be recognised.
  1104. 2008-12-18 Jason Merrill <jason@redhat.com>
  1105. PR c++/38561
  1106. * cp-demangle.c (d_expression, d_print_comp): Revert
  1107. cast changes.
  1108. 2008-12-17 Jason Merrill <jason@redhat.com>
  1109. * cp-demangle.c (d_expression): Handle rvalue stubs too.
  1110. [DEMANGLE_COMPONENT_CAST]: Update mangling.
  1111. (d_print_comp): Avoid extra ", " with empty template argument packs.
  1112. Remove handling for obsolete T() mangling.
  1113. 2008-12-10 Jason Merrill <jason@redhat.com>
  1114. * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
  1115. (d_print_comp, d_dump): Likewise.
  1116. 2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
  1117. * Makefile.in (CPPFLAGS): Define.
  1118. (FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
  1119. 2008-10-15 Paolo Bonzini <bonzini@gnu.org>
  1120. PR bootstrap/37137
  1121. * Makefile.in (LIBCFLAGS): Remove.
  1122. (FLAGS_TO_PASS): Don't mention it.
  1123. (COMPILE.c, MULTIOSDIR): Replace it with CFLAGS.
  1124. 2008-10-08 David Edelsohn <edelsohn@gnu.org>
  1125. * xstrdup.c: Include <sys/types.h> after "config.h"
  1126. 2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
  1127. * configure.ac: Call AC_SYS_LARGEFILE.
  1128. * config.in: Regenerated.
  1129. * configure: Likewise.
  1130. 2008-10-06 Jason Merrill <jason@redhat.com>
  1131. * cp-demangle.c (struct d_print_info): Add pack_index.
  1132. (d_dump): Add DEMANGLE_COMPONENT_PACK_EXPANSION.
  1133. (d_make_comp): Likewise. DEMANGLE_COMPONENT_ARGLIST and
  1134. DEMANGLE_COMPONENT_TEMPLATE_ARGLIST can have two null args.
  1135. (cplus_demangle_builtin_types): Add char16/32_t.
  1136. (cplus_demangle_type): Recognize them.
  1137. (d_template_args): Handle empty argument packs.
  1138. (d_template_arg): Handle argument packs.
  1139. (d_expression): Handle dependent name.
  1140. (d_index_template_argument): New fn.
  1141. (d_lookup_template_argument): New fn.
  1142. (d_find_pack, d_pack_length): New fn.
  1143. (d_print_subexpr): Split out...
  1144. (d_print_comp): ...from here. Use d_*_template_argument.
  1145. Handle empty arg lists. Support pack expansions.
  1146. * cp-demangle.h (D_BUILTIN_TYPE_COUNT): Increase to 32.
  1147. 2008-09-09 Jason Merrill <jason@redhat.com>
  1148. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE.
  1149. (d_make_comp): Likewise.
  1150. (cplus_demangle_type): Handle decltype and DFP types.
  1151. (cplus_demangle_operators): Call operator takes 2 args.
  1152. (cplus_demangle_builtin_types): Add DFP types.
  1153. (d_exprlist): New fn.
  1154. (d_expression): Handle parm placeholders, T() and calls.
  1155. (d_print_comp): Handle decltype, T() and calls.
  1156. * testsuite/demangle-expected: Test the above.
  1157. 2008-08-07 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
  1158. * pex-win32.c (argv_to_argc): New function.
  1159. (spawn_script): Duplicate argv before calling win32_spawn.
  1160. 2008-07-31 Jakub Jelinek <jakub@redhat.com>
  1161. * mkstemps.c (mkstemps): Keep looping even for EISDIR.
  1162. 2008-07-31 Denys Vlasenko <dvlasenk@redhat.com>
  1163. * mkstemps.c (mkstemps): If open failed with errno other than
  1164. EEXIST, return immediately.
  1165. * make-temp-file.c: Include errno.h.
  1166. (make_temp_file): If mkstemps failed, print an error message
  1167. before aborting.
  1168. 2008-07-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1169. * maint-tool (deps): Output config.h instead of stamp-h.
  1170. * Makefile.in: Rebuild deps.
  1171. (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
  1172. Reverts 2007-07-11 change.
  1173. 2008-06-19 Eric Blake <ebb9@byu.net>
  1174. Adjust strsignal to POSIX 200x prototype.
  1175. * strsignal.c (strsignal): Remove const.
  1176. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1177. * configure: Regenerate.
  1178. 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1179. * libiberty.texi: Expand TABs, drop indentation outside examples.
  1180. * obstacks.texi: Likewise.
  1181. 2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
  1182. * libiberty/configure.ac: use -fPIC on Linux/MIPS hosts.
  1183. * libiberty/configure: Regenerate.
  1184. 2008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
  1185. * testsuite/demangle-expected: Added tests for char16_t and char32_t.
  1186. 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
  1187. PR bootstrap/35457
  1188. * aclocal.m4: Add override.m4.
  1189. * configure: Regenerate.
  1190. 2008-03-31 Ian Lance Taylor <iant@google.com>
  1191. * cp-demangle.c (d_substitution): Correct overflow check to avoid
  1192. -fstrict-overflow optimizations.
  1193. 2008-03-27 Paolo Bonzini <bonzini@gnu.org>
  1194. * configure.ac (frags): Don't set, use frag instead.
  1195. (PICFLAG): Set here and substitute.
  1196. * Makefile.in (PICFLAG): Substitute from autoconf.
  1197. * configure: Regenerate.
  1198. 2008-03-24 Ian Lance Taylor <iant@google.com>
  1199. * sha1.c: New file, from gnulib.
  1200. * Makefile.in: Rebuild dependencies.
  1201. (CFILES): Add sha1.c.
  1202. (REQUIRED_OFILES): Add sha1.o.
  1203. 2008-03-24 Doug Evans <dje@google.com>
  1204. * make-relative-prefix.c (make_relative_prefix_1): Handle NULL
  1205. return from strdup.
  1206. 2008-03-12 Seongbae Park <seongbae.park@gmail.com>
  1207. * cplus-dem.c (malloc, realloc): Use void * instead of char *
  1208. as return type.
  1209. 2008-03-11 Nick Clifton <nickc@redhat.com>
  1210. * md5.c (md5_process_bytes): Do not assume that memcpy will
  1211. provide a return value.
  1212. 2008-02-19 Ben Elliston <bje@au.ibm.com>
  1213. PR other/12618
  1214. * testsuite/Makefile.in (mostlyclean): Remove any core file.
  1215. 2008-01-26 David Daney <ddaney@avtrex.com>
  1216. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
  1217. DEMANGLE_COMPONENT_COMPOUND_NAME, and
  1218. DEMANGLE_COMPONENT_CHARACTER cases.
  1219. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
  1220. DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
  1221. (d_make_character): New function.
  1222. (d_java_resource): Same.
  1223. (d_special_name): Handle "Gr" case.
  1224. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
  1225. DEMANGLE_COMPONENT_COMPOUND_NAME, and
  1226. DEMANGLE_COMPONENT_CHARACTER cases.
  1227. * testsuite/demangle-expected: Add test for java resource name
  1228. mangling.
  1229. 2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
  1230. * cplus-dem.c (demangle_function_name): Changed to return value
  1231. indicating if a name was correctly demangled.
  1232. (iterate_demangle_function): Use demangle_function_name return
  1233. value.
  1234. 2008-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
  1235. PR other/33768
  1236. * splay-tree.c (rotate_left): Fix minor typo in comment.
  1237. (rotate_right): Likewise.
  1238. 2007-11-12 Joseph Myers <joseph@codesourcery.com>
  1239. * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
  1240. compiler warnings.
  1241. (floatformat_ibm_long_double): Use
  1242. floatformat_ibm_long_double_is_valid.
  1243. 2007-11-07 Joseph Myers <joseph@codesourcery.com>
  1244. Daniel Jacobowitz <dan@codesourcery.com>
  1245. * floatformat.c (mant_bits_set): New.
  1246. (floatformat_to_double): Use it. Note no special handling of
  1247. split formats.
  1248. (floatformat_from_double): Note no special handing of split
  1249. formats.
  1250. (floatformat_ibm_long_double_is_valid,
  1251. floatformat_ibm_long_double): New.
  1252. (floatformat_ieee_single_big, floatformat_ieee_single_little,
  1253. floatformat_ieee_double_big, floatformat_ieee_double_little,
  1254. floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
  1255. floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
  1256. floatformat_m68881_ext, floatformat_i960_ext,
  1257. floatformat_m88110_ext, floatformat_m88110_harris_ext,
  1258. floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
  1259. floatformat_ia64_spill_big, floatformat_ia64_spill_little,
  1260. floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
  1261. for addition of split_half field.
  1262. 2007-09-06 Tom Tromey <tromey@redhat.com>
  1263. * pexecute.txh (pex_free): Document process killing.
  1264. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
  1265. * cp-demangle.c (d_dump): Handle
  1266. DEMANGLE_COMPONENT_RVALUE_REFERENCE.
  1267. (d_make_comp): Ditto.
  1268. (cplus_demangle_type): Ditto.
  1269. (d_print_comp): Ditto.
  1270. (d_print_mod): Ditto.
  1271. (d_print_function_type): Ditto.
  1272. 2007-08-24 Kai Tietz <kai.tietz@onevision.com>
  1273. * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
  1274. * pex-djgpp.c: Likewise.
  1275. * pex-msdos.c: Likewise.
  1276. * pex-unix.c: Likewise.
  1277. * pex-win32.c: Likewise.
  1278. 2007-08-17 Michael Snyder <msnyder@access-company.com>
  1279. * make-relative-prefix.c (make_relative_prefix_1): Resource leaks.
  1280. 2007-08-03 Michael Snyder <msnyder@access-company.com>
  1281. * make-relative-prefix.c (make_relative_prefix_1): Fix resource
  1282. leak.
  1283. 2007-07-31 Michael Snyder <msnyder@access-company.com>
  1284. * cp-demangle.c (d_print_comp): Guard against null.
  1285. 2007-07-25 Ben Elliston <bje@au.ibm.com>
  1286. * Makefile.in (CFILES): Remove ternary.c.
  1287. (REQUIRED_OFILES): Remove ./ternary.o.
  1288. (INSTALLED_HEADERS): Remove ternary.h.
  1289. (ternary.o): Remove.
  1290. * ternary.c: Remove.
  1291. 2007-07-23 DJ Delorie <dj@redhat.com>
  1292. * argv.c (writeargv): Fix typo in inline documentation.
  1293. * functions.texi: Regenerate.
  1294. 2007-07-17 DJ Delorie <dj@redhat.com>
  1295. * configure.ac (target_header_dir, msdosdjgpp): Remove duplicate
  1296. gettimeofday entry.
  1297. * configure: Likewise.
  1298. 2007-07-11 Alexandre Oliva <aoliva@redhat.com>
  1299. * maint-tool (deps): Output stamp-h instead of config.h.
  1300. * Makefile.in: Rebuild deps.
  1301. (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
  1302. 2007-07-02 Simon Baldwin <simonb@google.com>
  1303. * argv.c (writeargv): Removed declaration of unused variable.
  1304. 2007-06-14 Paolo Bonzini <bonzini@gnu.org>
  1305. * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
  1306. * configure: Regenerate.
  1307. 2007-06-14 Paolo Bonzini <bonzini@gnu.org>
  1308. * aclocal.m4: Include config/warnings.m4.
  1309. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
  1310. * configure: Regenerate.
  1311. 2007-06-07 Geoffrey Keating <geoffk@apple.com>
  1312. * configure.ac: Non-default multilibs can be cross compilations.
  1313. * configure: Regenerate
  1314. 2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
  1315. * argv.c (writeargv): New function.
  1316. 2007-05-05 Geoffrey Keating <geoffk@apple.com>
  1317. * cp-demangle.c (d_name): Detect local-source-name.
  1318. (d_prefix): Likewise.
  1319. (d_unqualified_name): Implement local-source-name.
  1320. 2007-05-03 Joel Brobecker <brobecker@adacore.com>
  1321. * filename_cmp.c: Replace include of ctype.h by include of
  1322. safe-ctype.h.
  1323. (filename_cmp): Use TOLOWER instead of tolower for conversions
  1324. that are locale-independent.
  1325. * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
  1326. 2007-04-11 Thomas Neumann tneumann@users.sourceforge.net
  1327. * argv.c: Use ANSI C declarations.
  1328. * make-relative-prefix.c: Likewise.
  1329. 2007-04-06 Joel Brobecker <brobecker@adacore.com>
  1330. * filename_cmp.c (filename_cmp): Improve documentation.
  1331. 2007-04-02 Andreas Schwab <schwab@suse.de>
  1332. * filename_cmp.c: Include "config.h".
  1333. 2007-03-29 Joel Brobecker <brobecker@adacore.com>
  1334. * filename_cmp.c: New file.
  1335. * Makefile.in (CFILES): Add filename_cmp.c.
  1336. (REQUIRED_OFILES): Add filename_cmp.o
  1337. (filename_cmp.o): New rule.
  1338. * functions.texi: Regenerate.
  1339. 2007-03-15 Geoffrey Keating <geoffk@apple.com>
  1340. * cp-demangle.c (d_encoding): Exit early on error.
  1341. (d_pointer_to_member_type): Exit early if cplus_demangle_type
  1342. returns NULL.
  1343. (cplus_demangle_type): Likewise.
  1344. * testsuite/demangle-expected: New testcase.
  1345. 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
  1346. * Makefile.in: Add install-pdf target as copied from
  1347. automake v1.10 rules.
  1348. * testsuite/Makefile.in: Add dummy install-pdf target.
  1349. 2007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de>
  1350. Eric Botcazou <ebotcazou@libertysurf.fr>
  1351. PR other/16513
  1352. * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
  1353. Install headers in multilib independent location.
  1354. 2007-02-26 DJ Delorie <dj@redhat.com>
  1355. * configure.ac: add djgpp-specific results, so we don't have to
  1356. link during a cross compilation.
  1357. * configure: Regenerated.
  1358. 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1359. * hex.c: Fix typo.
  1360. * choose-temp.c: Likewise.
  1361. * functions.texi: Regenerate.
  1362. 2007-01-31 Vladimir Prus <vladimir@codesourcery.com>
  1363. * pex-common.h (struct pex_obj): New fields
  1364. stderr_pipe and read_err.
  1365. * pex-common.c (pex_init_common): Initialize
  1366. stderr_pipe.
  1367. (pex_run_in_environment): Add error checking
  1368. for PEX_STDERR_TO_PIPE. Create a pipe
  1369. for stderr if necessary.
  1370. (pex_read_err): New.
  1371. (pex_free): Close read_err.
  1372. * pexecute.txh: Document changes.
  1373. * functions.texi: Regenerated.
  1374. 2007-01-31 Ben Elliston <bje@au.ibm.com>
  1375. * strsignal.c (psignal): Change type of signo to int.
  1376. * functions.texi: Regenerate.
  1377. 2007-01-29 Simon Baldwin <simonb@google.com>
  1378. * cp-demangle.h (cplus_demangle_operators): External definition
  1379. suppressed if not building for libstdc++.
  1380. * cp-demangle.c (__gcclibcxx_demangle_callback): Augmented interface
  1381. to demangling, provides a malloc-less version of __cxa_demangle.
  1382. (cplus_demangle_print_callback): Public callback version of
  1383. cplus_demangle_print.
  1384. (struct d_growable_string): New growable string structure.
  1385. (d_growable_string_init): New function, provides support for
  1386. growable strings separate from print info.
  1387. (d_growable_string_resize): Likewise.
  1388. (d_growable_string_append_buffer): Likewise.
  1389. (d_growable_string_callback_adapter):): Likewise.
  1390. (d_print_init): New print info initialization function.
  1391. (d_print_error): Macro replace by inline function.
  1392. (d_print_saw_error): Likewise.
  1393. (d_append_char): Likewise.
  1394. (d_append_buffer): Likewise.
  1395. (d_append_string): New inline function, replaces the
  1396. d_append_string_constant macro.
  1397. (d_flush_buffer): New function, flushes buffer to callback.
  1398. (d_demangle_callback, is_ctor_or_dtor): Malloc-based fallback
  1399. for unsupported dynamic arrays replaced by alloca().
  1400. (d_demangle): Return string length estimating removed.
  1401. (d_dump): Moved error case handling from call site into function.
  1402. (d_print_resize): Function removed.
  1403. (d_print_append_char): Likewise.
  1404. (d_print_append_buffer): Likewise.
  1405. (d_print_error): Likewise.
  1406. (d_print_comp): Added special case handling for Java arrays.
  1407. (java_demangle_v3): Removed string post-processing for Java arrays,
  1408. now replaced by special case handling in d_print_comp.
  1409. (cplus_demangle_v3_callback): Augmented interface to demangling,
  1410. provides a malloc-less version of cplus_demangle_v3.
  1411. (java_demangle_v3_callback): Augmented interface to demangling,
  1412. provides a malloc-less version of java_demangle_v3.
  1413. 2007-01-12 Ben Elliston <bje@au.ibm.com>
  1414. * pex-unix.c (writeerr): Cast write result to void.
  1415. * choose-temp.c (choose_temp_base): Check the result of the call
  1416. to mktemp rather than testing the length of the modified string.
  1417. 2006-12-20 Geoffrey Keating <geoffk@apple.com>
  1418. * cp-demangle.h: Add comment explaining what to do to avoid
  1419. overrunning string.
  1420. (d_check_char): New.
  1421. (d_next_char): Don't advance past trailing '\0'.
  1422. * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
  1423. (d_nested_name): Likewise.
  1424. (d_special_name): Likewise.
  1425. (d_call_offset): Likewise.
  1426. (d_function_type): Likewise.
  1427. (d_array_type): Likewise.
  1428. (d_pointer_to_member_type): Likewise.
  1429. (d_template_param): Likewise.
  1430. (d_template_args): Likewise.
  1431. (d_template_arg): Likewise.
  1432. (d_expr_primary): Likewise.
  1433. (d_local_name): Likewise.
  1434. (d_substitution): Likewise.
  1435. (d_ctor_dtor_name): Use d_advance rather than d_next_char.
  1436. * testsuite/test-demangle.c: Include sys/mman.h.
  1437. (MAP_ANONYMOUS): Define.
  1438. (protect_end): New.
  1439. (main): Use protect_end.
  1440. * testsuite/demangle-expected: Add testcases for overrunning
  1441. the end of the string.
  1442. 2006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
  1443. J"orn Rennecke <joern.rennecke@st.com>
  1444. PR driver/29931
  1445. * make-relative-prefix.c (make_relative_prefix_1): New function,
  1446. broken out of make_relative_prefix. Make link resolution dependent
  1447. on new parameter.
  1448. (make_relative_prefix): Use make_relative_prefix_1.
  1449. (make_relative_prefix_ignore_links): New function.
  1450. 2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
  1451. * pex-win32.c (no_suffixes): Remove.
  1452. (std_suffixes): Add "" as first element.
  1453. (find_executable): Remove detection of already-present
  1454. extension. Try all suffixes in std_suffixes.
  1455. 2006-11-07 Julian Brown <julian@codesourcery.com>
  1456. * floatformat.c (get_field): Fix segfault with little-endian word
  1457. order on 64-bit hosts.
  1458. (put_field): Likewise.
  1459. (min): Move definition.
  1460. 2006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
  1461. pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
  1462. (find_executable): Likewise.
  1463. (win32_spawn): Cast alloca return to (char**).
  1464. Replace malloc with XNEWVEC.
  1465. bcopy.c (bcopy): Add explict casts in assignments.
  1466. 2006-10-25 Ben Elliston <bje@au.ibm.com>
  1467. * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
  1468. 2006-10-10 Brooks Moses <bmoses@stanford.edu>
  1469. * Makefile.in: Added "pdf", "libiberty.pdf" target support.
  1470. * testsuite/Makefile.in: Added empty "pdf" target.
  1471. 2006-09-22 Ian Lance Taylor <ian@airs.com>
  1472. PR other/29176
  1473. * cp-demangle.c (d_substitution): Check for overflow when
  1474. computing substitution index.
  1475. 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
  1476. * configure.ac: Add case for Mingw as host.
  1477. * configure: Regenerate.
  1478. 2006-08-27 Ian Lance Taylor <ian@airs.com>
  1479. PR driver/27622
  1480. * pex-common.h (struct pex_funcs): Add toclose parameter to
  1481. exec_child field.
  1482. * pex-common.c (pex_run_in_environment): Pass toclose to
  1483. exec_child.
  1484. * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
  1485. * pex-unix.c (pex_unix_exec_child): Likewise.
  1486. * pex-msdos.c (pex_msdos_exec_child): Likewise.
  1487. * pex-win32.c (pex_win32_exec_child): Likewise.
  1488. PR other/28797
  1489. * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
  1490. for a qualified member which is not a function.
  1491. * testsuite/demangle-expected: Add test case.
  1492. 2006-07-27 Jan Hubicka <jh@suse.cz>
  1493. PR rtl-optimization/28071
  1494. * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
  1495. downsize the hashtable.
  1496. 2006-07-04 Peter O'Gorman <peter@pogma.com>
  1497. * Makefile.in: chmod 644 before ranlib during install.
  1498. 2006-06-02 Mark Shinwell <shinwell@codesourcery.com>
  1499. * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
  1500. to environ.
  1501. 2006-06-01 Mark Shinwell <shinwell@codesourcery.com>
  1502. * pex-common.c: New function pex_run_in_environment.
  1503. * pex-common.h: Add environment parameter to exec_child.
  1504. * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
  1505. * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
  1506. (pex_djgpp_exec_child): Pass environment to child process.
  1507. * pex-unix.c: Add environment parameter to pex_unix_exec_child.
  1508. (pex_unix_exec_child): Pass environment to child process.
  1509. * pex-win32.c: Add environment parameter to pex_win32_exec_child.
  1510. New function env_compare for comparing VAR=VALUE pairs.
  1511. (win32_spawn): Assemble environment block and pass to CreateProcess.
  1512. (spawn_script): Pass environment through to win32_spawn.
  1513. (pex_win32_exec_child): Pass environment through to spawn_script and
  1514. win32_spawn.
  1515. * functions.texi: Regenerate.
  1516. * pexecute.txh: Document pex_run_in_environment.
  1517. 2006-05-28 Mark Shinwell <shinwell@codesourcery.com>
  1518. * mkstemps.c: Open temporary files in binary mode.
  1519. 2006-05-12 Anton Blanchard <anton@samba.org>
  1520. * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
  1521. hold "int%u_t".
  1522. 2006-04-24 Julian Brown <julian@codesourcery.com>
  1523. * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
  1524. 2006-03-29 Jim Blandy <jimb@codesourcery.com>
  1525. * pex-common.c (pex_input_file, pex_input_pipe): New functions.
  1526. (pex_init_common): Initialize obj->input_file.
  1527. (pex_run): Close any file opened by pex_input_file.
  1528. * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
  1529. * pex-common.h (struct pex_obj): New field input_file.
  1530. (struct pex_funcs): New function ptr fdopenw.
  1531. * pex-unix.c (pex_unix_fdopenw): New function.
  1532. (funcs): List it as our fdopenw function.
  1533. * pex-win32.c (pex_win32_fdopenw): New function.
  1534. (funcs): List it as our fdopenw function.
  1535. * pex-djgpp.c (funcs): Leave fdopenw null.
  1536. * pex-msdos (funcs): Same.
  1537. * functions.texi: Regenerated.
  1538. 2006-04-10 Jim Blandy <jimb@codesourcery.com>
  1539. * pex-common.c (temp_file): New function, containing guts of
  1540. pex-style temporary file name generation.
  1541. (pex_run): Use it.
  1542. 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
  1543. * Makefile.in: Add install-html, install-html-am, and
  1544. install-html-recursive targets. Define mkdir_p and
  1545. NORMAL_INSTALL.
  1546. * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
  1547. * configure: Regenerate.
  1548. * testsuite/Makefile.in: Add install-html and html targets.
  1549. 2006-03-31 Mark Mitchell <mark@codesourcery.com>
  1550. * pex-win32.c (<errno.h>): Include.
  1551. (fix_argv): Remove.
  1552. (argv_to_cmdline): New function.
  1553. (std_suffixes): New variable.
  1554. (no_suffixes): Likewise.
  1555. (find_executable): New function.
  1556. (win32_spawn): Likewise.
  1557. (spawn_script): Use win32_spawn instead of _spawnv[p].
  1558. (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
  1559. (pex_win32_wait): Likewise.
  1560. 2006-03-24 Jim Blandy <jimb@codesourcery.com>
  1561. * pex-common.c (pex_run): Simplify output name handling.
  1562. 2006-03-12 Jim Blandy <jimb@red-bean.com>
  1563. * pex-common.h (struct pex_obj): Doc fixes.
  1564. 2006-03-11 Jim Blandy <jimb@red-bean.com>
  1565. * functions.texi: Regenerate.
  1566. 2006-02-21 Ben Elliston <bje@au.ibm.com>
  1567. * pexecute.c (pwait): Syntax fix for previous change.
  1568. 2006-02-17 Uttam Pawar <uttamp@us.ibm.com>
  1569. * pexecute.c (pwait): Free vector pointer.
  1570. * partition.c (partition_print): Free class_elements pointer.
  1571. 2006-02-11 Roger Sayle <roger@eyesopen.com>
  1572. R. Scott Bailey <scott.bailey@eds.com>
  1573. Bill Northcott <w.northcott@unsw.edu.au>
  1574. PR bootstrap/16787
  1575. * floatformat.c: Include <float.h> where available.
  1576. (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
  1577. 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1578. * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
  1579. supported.
  1580. * configure: Regenerated.
  1581. 2006-01-20 Carlos O'Donell <carlos@codesourcery.com>
  1582. * testsuite/Makefile.in: Add test-expandargv test.
  1583. * testsuite/test-expandargv.c: New test.
  1584. * argv.c (expandargv): Check for errors with ferror,
  1585. rather than just by looking at return value from fread.
  1586. 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1587. * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
  1588. to convert from "from".
  1589. (floatformat_to_double): Likewise.
  1590. (floatformat_from_double): Use explicit cast to convert from "to".
  1591. 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
  1592. PR java/9861
  1593. * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
  1594. and include return type when found.
  1595. (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
  1596. conditional logic to change printing order of return type.when
  1597. the DMGL_RET_POSTFIX option is present.
  1598. (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
  1599. call.
  1600. * testsuite/test-demangle.c (main): Recognize option --ret-postfix
  1601. * testsuite/demangle-expected: Test cases to verify extended encoding.
  1602. Updated comment to document --ret-postfix option.
  1603. 2005-11-06 Richard Guenther <rguenther@suse.de>
  1604. * splay-tree.c (rotate_left): New function.
  1605. (rotate_right): Likewise.
  1606. (splay_tree_splay_helper): Remove.
  1607. (splay_tree_splay): Re-implement.
  1608. 2005-10-31 Mark Kettenis <kettenis@gnu.org>
  1609. * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
  1610. New variables.
  1611. 2005-10-07 Mark Mitchell <mark@codesourcery.com>
  1612. * at-file.texi: Fix typo.
  1613. 2005-10-03 Mark Mitchell <mark@codesourcery.com>
  1614. * at-file.texi: New file.
  1615. 2005-09-27 Mark Mitchell <mark@codesourcery.com>
  1616. * argv.c (expandargv): Do not use xmalloc_failed.
  1617. 2005-09-26 Mark Mitchell <mark@codesourcery.com>
  1618. * argv.c (safe-ctype.h): Include it.
  1619. (ISBLANK): Remove.
  1620. (stdio.h): Include.
  1621. (buildargv): Use ISSPACE instead of ISBLANK.
  1622. (expandargv): New function.
  1623. * Makefile.in: Regenerated.
  1624. 2005-09-14 Christopher Faylor <cgf@timesys.com>
  1625. * pex-win32.c: Include "windows.h".
  1626. (backslashify): New function.
  1627. (fix_argv): Use backslashify to convert path to windows format.
  1628. Allocate one more place in new argv for potential executable from '#!'
  1629. parsing.
  1630. (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
  1631. (openkey): Ditto.
  1632. (mingw_rootify): Ditto.
  1633. (msys_rootify): Ditto.
  1634. (spawn_script): New function.
  1635. (pex_win32_exec_child): Save translated argv in newargv. Pass to
  1636. spawn_script if spawnv* fails.
  1637. (main): New function. Conditional on MAIN. Useful for testing.
  1638. 2005-08-17 Mark Kettenis <kettenis@gnu.org>
  1639. * floatformat.c (floatformat_always_valid): Change type of last
  1640. argument to `void *'.
  1641. (floatformat_i387_ext_is_valid): Likewise.
  1642. (floatformat_to_double): Change type of second argument to `const
  1643. void *'.
  1644. (floatformat_from_double): Change type of last argument to `void
  1645. *'.
  1646. (floatformat_is_valid): Change type of last argument to `const
  1647. void *'.
  1648. (ieee_test): Remove redundant casts.
  1649. 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
  1650. * strverscmp.c: Update FSF address.
  1651. * testsuite/Makefile.in: Likewise.
  1652. * testsuite/test-demangle.c: Likewise.
  1653. * testsuite/test-pexecute.c: Likewise.
  1654. 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1655. * getopt.c: Include ansidecl.h before system headers.
  1656. 2005-07-22 Ben Elliston <bje@gnu.org>
  1657. * getopt.c: Include "ansidecl.h".
  1658. (_getopt_initialize): Mark argc and argv parameters as unused.
  1659. 2005-07-22 Ben Elliston <bje@gnu.org>
  1660. * regex.c (regcomp): Change type of `i' from unsigned to int.
  1661. 2005-07-22 Ben Elliston <bje@gnu.org>
  1662. Recover patch lost in the sourceware repository:
  1663. 2005-07-09 Ben Elliston <bje@au.ibm.com>
  1664. * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
  1665. * memmove.c: Likewise.
  1666. * objalloc.c: Likewise.
  1667. 2005-07-22 Ben Elliston <bje@gnu.org>
  1668. * configure.ac: Check for a getopt(3) declaration.
  1669. * configure, config.in: Regenerate.
  1670. 2005-07-15 Ben Elliston <bje@au.ibm.com>
  1671. * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
  1672. 2005-07-12 Ben Elliston <bje@au.ibm.com>
  1673. * floatformat.c (floatformat_to_double): Add a comment about a
  1674. potential source of warnings when compiling this file.
  1675. 2005-07-12 Ben Elliston <bje@au.ibm.com>
  1676. * pexecute.c (pexecute): Cast string litrals to char *.
  1677. * regex.c (re_comp): Cast a call to gettext() to char *.
  1678. 2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
  1679. * config.table: Delete file. Move former contents into ...
  1680. * configure.ac: ... here and escape any brackets for m4.
  1681. * Makefile.in (config.status): Remove dependency on config.table.
  1682. * configure: Regenerate.
  1683. 2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
  1684. * config.in: Regenerate for 6/20 change.
  1685. 2005-07-03 Steve Ellcey <sje@cup.hp.com>
  1686. PR other/13906
  1687. * md5.c (md5_process_bytes): Check alignment.
  1688. 2005-07-01 Ian Lance Taylor <ian@airs.com>
  1689. PR other/22268
  1690. * cp-demangle.c (d_expr_primary): Don't run off the end of the
  1691. string while looking for the end of a literal value.
  1692. * testsuite/demangle-expected: Add test case.
  1693. 2005-06-30 Daniel Berlin <dberlin@dberlin.org>
  1694. * hashtab.c (EMPTY_ENTRY): Moved and renamed.
  1695. (DELETED_ENTRY): Ditto.
  1696. 2005-06-20 Geoffrey Keating <geoffk@apple.com>
  1697. * strverscmp.c: New.
  1698. * Makefile.in (CFILES): Add strverscmp.c.
  1699. (CONFIGURED_OFILES): Add strverscmp.o.
  1700. (strverscmp.o): New rule.
  1701. (stamp-functions): Add $(srcdir) to files in source directory.
  1702. * configure.ac (funcs): Add strverscmp.
  1703. (AC_CHECK_FUNCS): Add strverscmp.
  1704. * configure: Regenerate.
  1705. * functions.texi: Regenerate.
  1706. 2005-05-28 Eli Zaretskii <eliz@gnu.org>
  1707. * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
  1708. * config.in, configure: Regenerate.
  1709. 2005-05-25 Richard Henderson <rth@redhat.com>
  1710. * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
  1711. (d_make_comp, d_print_comp): Likewise.
  1712. (d_special_name): Generate one.
  1713. * testsuite/demangle-expected: Add a hidden alias test.
  1714. 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1715. * configure.ac: Check declarations for calloc(), getenv(),
  1716. malloc(), realloc() and sbrk().
  1717. * config.in: Regenerate.
  1718. * configure: Likewise.
  1719. * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
  1720. instead of xmalloc.
  1721. * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
  1722. * concat.c (liiberty_concat_ptr): Surround definition with an
  1723. extern "C" block, if __cplusplus.
  1724. (concat): Use XNEWVEC instead of xmalloc.
  1725. (reconcat): Likewise.
  1726. * cp-demangle.c (struct d_print_template): Rename member
  1727. "template" to "template_decl". Adjust use throughout the file.
  1728. (d_print_resize): Properly cast return value of realloc().
  1729. (cplus_demangle_print): Same for malloc().
  1730. (d_demangle): Likewise.
  1731. * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
  1732. "typename" to "type_name".
  1733. * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
  1734. (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
  1735. (demangle_template_value_parm): Likewise.
  1736. (demangle_template): Likewise.
  1737. (recursively_demangle): Likewise.
  1738. (do_hpacc_template_literal): Likewise.
  1739. (do_arg): Likewise.
  1740. (remember_type): Likewise.
  1741. (remember_Ktype): Likewise.
  1742. (register_Btype): Likewise.
  1743. (string_need): Use XRESIZEVEC instead of xrealloc().
  1744. * dyn-string.c (dyn_string_init): Use XNEWVEC.
  1745. (dyn_string_new): Use XNEW.
  1746. (dyn_string_resize): Use XRESIZEVEC.
  1747. * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
  1748. * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
  1749. Otherwise include <stdlib.h>.
  1750. (exchange): Cast return value of malloc().
  1751. * hashtab.c (htab_size): Define as both macro and non-inline
  1752. function.
  1753. (htab_elements): Likewise.
  1754. * getpwd.c (getpwd): Use XNEWVEC.
  1755. (htab_create_alloc_ex): Use C90 prototype-style.
  1756. * lrealpath.c (lrealpath): Appropriately cast return value of
  1757. malloc().
  1758. * make-relative-prefix.c (save_string): Likewise.
  1759. * make-temp-file.c (try_dir): Rename from "try". Adjust use in
  1760. the file.
  1761. (choose_tmpdir): Use XNEWVEC.
  1762. * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
  1763. * pex-common.c (pex_init_common): Use XNEW.
  1764. (pex_add_remove): Use XRESIZEVEC.
  1765. (pex_run): Likewise.
  1766. (pex_get_status_and_time): Likewise.
  1767. * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
  1768. * pex-msdos.c (pex_init): Use XNEW.
  1769. (pex_msdos_exec_child): Likewise.
  1770. (pex_msdos_exec_child): Use XRESIZEVEC.
  1771. * pex-unix.c (pex_wait): Use XNEW.
  1772. * pex-win32.c (fix_argv): Use XNEWVEC.
  1773. * pexecute.c (pwait): Likewise.
  1774. * setenv.c (setenv): Properly cast return value of malloc().
  1775. * sigsetmask.c (sigsetmask): Rename local variables "old" and
  1776. "new" to "old_sig" and "new_sig".
  1777. * sort.c (main): Use XNEWVEC.
  1778. * spaces.c (spaces): Cast return value of malloc().
  1779. * strndup.c (strndup): Likewise.
  1780. * ternary.c (ternary_insert): Use XNEW.
  1781. * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
  1782. with an extern "C" block if __cplusplus.
  1783. * xstrdup.c (xstrdup): Cast return value of memcpy().
  1784. * xstrerror.c (strerror): Enclose declaration in an extern "C"
  1785. block if __cplusplus.
  1786. * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
  1787. 2005-05-16 Andreas Jaeger <aj@suse.de>
  1788. * getpwd.c: Remove unneeded prototype getcwd and move getwd so
  1789. that it's only declared if needed.
  1790. * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
  1791. defined.
  1792. 2005-05-15 Andreas Jaeger <aj@suse.de>
  1793. * functions.texi: Regenerated.
  1794. 2005-05-15 Eli Zaretskii <eliz@gnu.org>
  1795. * pexecute.txh: Enclose multi-word data types in @deftypefn in
  1796. braces. Minor wording fixes. Use --- for em-dash. Use
  1797. @enumerate in enumerated lists.
  1798. * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
  1799. braces.
  1800. 2005-05-11 Eli Zaretskii <eliz@gnu.org>
  1801. * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
  1802. sys/stat.h.
  1803. (pex_init): Fix last argument to pex_init_common.
  1804. (pex_djgpp_exec_child): Remove leading underscore from _open,
  1805. _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
  1806. which is undeclared, with `executable', which was unused. Remove
  1807. unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
  1808. (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
  1809. 2005-05-11 Paul Brook <paul@codesourcery.com>
  1810. * Makefile.in: Regenerate dependencies.
  1811. 2005-05-10 Nick Clifton <nickc@redhat.com>
  1812. * Update the address and phone number of the FSF organization in
  1813. the GPL notices in the following files:
  1814. COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
  1815. choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
  1816. cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
  1817. fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
  1818. gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
  1819. lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
  1820. make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
  1821. obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
  1822. pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
  1823. physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
  1824. sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
  1825. strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
  1826. vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
  1827. 2005-05-06 Kelley Cook <kcook@gcc.gnu.org>
  1828. * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
  1829. * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
  1830. * configure: Regenerate.
  1831. 2005-05-06 Kelley Cook <kcook@gcc.gnu.org>
  1832. * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
  1833. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
  1834. * aclocal.m4: Don't include accross.m4.
  1835. * configure, config.in: Regenerate.
  1836. 2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1837. * fopen_unlocked.c (unlock_std_streams): New.
  1838. * functions.texi: Regenerate.
  1839. 2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1840. * fopen_unlocked.c (unlock_stream): New.
  1841. Consolidate unlocking code into a helper function.
  1842. * functions.texi: Regenerate.
  1843. 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1844. * asprintf.c: Include config.h.
  1845. * basename.c: Likewise.
  1846. * fdmatch.c: Likewise.
  1847. * hex.c: Likewise.
  1848. * lbasename.c: Likewise.
  1849. * spaces.c: Likewise.
  1850. * xatexit.c:Likewise.
  1851. * configure.ac: Do check declarations for basename, ffs, asprintf
  1852. and vasprintf for real.
  1853. * configure: Regenerate.
  1854. 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1855. * argv.c (dupargv): Allocate space of argv[argc], not
  1856. sizeof(char *) of that amount. Cast result to char *.
  1857. 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1858. * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
  1859. Replace not with negate.
  1860. 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1861. * configure.ac: Check declarations for basename, ffs, asprintf,
  1862. vasprintf.
  1863. * configure: Regenerate.
  1864. * config.in: Likewise.
  1865. 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1866. * Makefile.in (CFILES): Add fopen_unlocked.c.
  1867. (REQUIRED_OFILES): Add ./fopen_unlocked.o.
  1868. Regenerate dependencies.
  1869. * configure.ac: Check for stdio_ext.h and __fsetlocking.
  1870. * fopen_unlocked.c: New file.
  1871. * functions.texi, configure, config.in: Regenerate.
  1872. 2005-04-04 Ian Lance Taylor <ian@airs.com>
  1873. * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
  1874. declaration before statement.
  1875. 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  1876. * bcmp.c: Fix warnings and implement using memcmp.
  1877. * bcopy.c: Fix warnings.
  1878. * bzero.c: Fix warnings and implement using memset.
  1879. * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
  1880. -Wstrict-prototypes.
  1881. * configure, config.in: Regenerate.
  1882. * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
  1883. warnings and reconcile interfaces with relevant standards.
  1884. 2005-04-02 Ian Lance Taylor <ian@airs.com>
  1885. * cp-demangle.c: Update copyright.
  1886. 2005-03-31 Joseph S. Myers <joseph@codesourcery.com>
  1887. * gettimeofday.c: Add "Supplemental" to @deftypefn.
  1888. * functions.texi: Regenerate.
  1889. 2005-03-28 Ian Lance Taylor <ian@airs.com>
  1890. * pex-common.c: New file.
  1891. * pex-one.c: New file.
  1892. * pexecute.c: New file.
  1893. * pex-common.h: Include <stdio.h>.
  1894. (struct pex_obj): Define.
  1895. (struct pex_funcs): Define.
  1896. (pex_init_common): Declare.
  1897. * pex-unix.c: Rewrite.
  1898. * pex-win32.c: Rewrite.
  1899. * pex-djgpp.c: Rewrite.
  1900. * pex-msdos.c: Rewrite.
  1901. * testsuite/text-pexecute.c: New file.
  1902. * pexecute.txh: Rewrite.
  1903. * configure.ac: Check for wait3 and wait4. Set CHECK to
  1904. really-check rather than check-cplus-dem.
  1905. * functions.texi: Rebuild.
  1906. * Makefile.in: Rebuild dependencies.
  1907. (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
  1908. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
  1909. * testsuite/Makefile.in (really-check): New target.
  1910. (check-pexecute, test-pexecute): New targets.
  1911. * configure: Rebuild.
  1912. 2005-03-28 Mark Kettenis <kettenis@gnu.org>
  1913. * unlink-if-ordinary.c: Include <sys/types.h>.
  1914. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1915. Convert libiberty to use ISO C prototype style 7/n.
  1916. * regex.c (PARAMS): Remove definition.
  1917. (PREFIX): Unconditionaly define using ISO C ## operator.
  1918. (init_syntax_once, extract_number, extract_number_and_incr,
  1919. print_fastmap, print_partial_compiled_pattern,
  1920. print_compiled_pattern, print_double_string, printchar,
  1921. convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
  1922. regex_compile, store_op1, store_op2, insert_op1, insert_op2,
  1923. at_begline_loc_p, at_endline_p, group_in_compile_stack,
  1924. insert_space, wcs_compile_range, byte_compile_range,
  1925. truncate_wchar, re_compile_fastmap, re_compile_fastmap,
  1926. re_set_registers, re_search, re_search_2, re_search_3, re_match,
  1927. re_match_2, count_mbs_length, wcs_re_match_2_internal,
  1928. byte_re_match_2_internal, group_match_null_string_p,
  1929. alt_match_null_string_p, common_op_match_null_string_p,
  1930. bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
  1931. regexec, regerror, regfree): Use ISO C prototype style.
  1932. * partition.c: (elem_compare): Likewise.
  1933. * cp-demangle.c (print_usage): Likewise.
  1934. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1935. Convert libiberty to use ISO C prototype style 5/n.
  1936. * random.c (srandom, initstate, setstate, random): Use ISO C
  1937. prototypes.
  1938. * putenv.c (putenv): Likewise.
  1939. * physmem.c (physmem_available, physmem_total, main): Likewise.
  1940. * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
  1941. * pex-unix.c (pexecute, pwait): Likewise.
  1942. * pex-msdos.c (pexecute, pwait): Likewise.
  1943. * pex-djgpp.c (pexecute, pwait): Likewise.
  1944. * partition.c (partition_new, partition_delete, partition_union)
  1945. (elem_compare, partition_print): Likewise.
  1946. * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
  1947. _obstack_allocated_p, _obstack_free, obstack_free,
  1948. _obstack_memory_used, print_and_abort, obstack_next_free,
  1949. obstack_object_size, obstack_base): Likewise. Remove codes
  1950. predicated on !defined(__STDC__).
  1951. * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
  1952. objalloc_free_block): Use ISO C prototypes.
  1953. * mkstemps.c (mkstemps): Likewise.
  1954. * memset.c (memset): Likewise.
  1955. * mempcpy.c (mempcpy): Likewise.
  1956. * rename.c (rename): Likewise.
  1957. * rindex.c (rindex): Likewise.
  1958. * setenv.c (setenv, unsetenv): Likewise.
  1959. * sigsetmask.c (sigsetmask): Likewise.
  1960. * snprintf.c (snprintf): Likewise.
  1961. * sort.c (sort_pointers, xmalloc): Likewise.
  1962. * spaces.c (spaces): Likewise.
  1963. * splay-tree.c (splay_tree_delete_helper,
  1964. splay_tree_splay_helper, splay_tree_splay,
  1965. splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
  1966. splay_tree_new, splay_tree_xmalloc_allocate,
  1967. splay_tree_new_with_allocator, splay_tree_delete,
  1968. splay_tree_insert, splay_tree_remove, splay_tree_lookup,
  1969. splay_tree_max, splay_tree_min, splay_tree_predecessor,
  1970. splay_tree_successor, splay_tree_foreach,
  1971. splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
  1972. * stpcpy.c (stpcpy): Likewise.
  1973. * stpncpy.c (stpncpy): Likewise.
  1974. * strcasecmp.c (strcasecmp): Likewise.
  1975. * strchr.c (strchr): Likewise.
  1976. * strdup.c (strdup): Likewise.
  1977. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  1978. Convert libiberty to use ISO C prototype style 6/n.
  1979. * strerror.c (init_error_tables, errno_max, strerror, strerrno,
  1980. strtoerrno, main): Use ISO C prototype style.
  1981. * strncasecmp.c (strncasecmp): Likewise.
  1982. * strncmp.c (strncmp): Likewise.
  1983. * strndup.c (strndup): Likewise.
  1984. * strrchr.c (strrchr): Likewise.
  1985. * strsignal.c (init_signal_tables, signo_max, strsignal,
  1986. strsigno, strtosigno, psignal, main): Likewise.
  1987. * strstr.c (strstr): Likewise.
  1988. * strtod.c (strtod, atof): Likewise.
  1989. * strtol.c (strtol): Likewise.
  1990. * strtoul.c (strtoul): Likewise.
  1991. * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
  1992. ternary_recursivesearch): Likewise.
  1993. * tmpnam.c (tmpnam): Likewise.
  1994. * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
  1995. * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
  1996. * vfork.c (vfork): Likewise.
  1997. * vfprintf.c (vfprintf): Likewise.
  1998. * vprintf.c (vprintf): Likewise.
  1999. * vsnprintf.c (vsnprintf, checkit, main): Likewise.
  2000. * vsprintf.c (vsprintf): Likewise.
  2001. * waitpid.c (waitpid): Likewise.
  2002. * xatexit.c (xatexit, xatexit_cleanup): Likewise.
  2003. * xexit.c (xexit): Likewise.
  2004. * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
  2005. xcalloc, xrealloc): Likewise.
  2006. * xmemdup.c (xmemdup): Likewise.
  2007. * xstrdup.c (xstrdup): Likewise.
  2008. * xstrerror.c (xstrerror): Likewise.
  2009. * xstrndup.c (xstrndup): Likewise.
  2010. 2005-03-27 Andreas Jaeger <aj@suse.de>
  2011. * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
  2012. flags.
  2013. * configure: Regenerated.
  2014. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2015. * getopt1.c (getopt_long_only): Fix thinko.
  2016. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2017. Convert libiberty to use ISO C prototype style 4/n.
  2018. * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
  2019. htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
  2020. htab_create_alloc, htab_set_functions_ex, htab_create,
  2021. htab_try_create, htab_delete, htab_empty,
  2022. find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
  2023. htab_find, htab_find_slot_with_hash, htab_find_slot,
  2024. htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
  2025. htab_traverse_noresize, htab_traverse, htab_collisions,
  2026. htab_hash_string, iterative_hash): Use ISO C prototype.
  2027. * hex.c (hex_init): Likewise.
  2028. * index.c (index): Likewise.
  2029. * insque.c (insque, remque): Likewise.
  2030. * lbasename.c (lbasename): Likewise.
  2031. * lrealpath.c (lrealpath): Likewise.
  2032. * make-relative-prefix.c (save_string, split_directories,
  2033. free_split_directories, make_relative_prefix): Likewise.
  2034. * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
  2035. * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
  2036. md5_buffer, md5_process_bytes, md5_process_block): Likewise.
  2037. * memchr.c (memchr): Likewise.
  2038. * memcpy.c (memcpy): Likewise.
  2039. * memmove.c (memmove): Likewise.
  2040. * gettimeofday.c (gettimeofday): Likewise.
  2041. * getruntime.c (get_run_time): Likewise.
  2042. * getpwd.c (getpwd, getpwd): Likewise.
  2043. * getpagesize.c (getpagesize): Likewise.
  2044. * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
  2045. * getopt.c (my_index, exchange, _getopt_initialize,
  2046. _getopt_internal, getopt, main): Likewise.
  2047. * getcwd.c (getcwd): Likewise.
  2048. * fnmatch.c (fnmatch): Likewise.
  2049. * floatformat.c (floatformat_always_valid,
  2050. floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
  2051. put_field, floatformat_from_double, floatformat_is_valid,
  2052. ieee_test, main): Likewise.
  2053. * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
  2054. fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
  2055. fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
  2056. fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
  2057. fibheap_delete, fibheap_empty, fibheap_extr_min_node,
  2058. fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
  2059. fibheap_link, fibheap_cut, fibheap_cascading_cut,
  2060. fibnode_insert_after, fibnode_remove): Likewise.
  2061. * ffs.c (ffs): Likewise.
  2062. * fdmatch.c (fdmatch): Likewise.
  2063. * dyn-string.c (dyn_string_init, dyn_string_new,
  2064. dyn_string_delete, dyn_string_release, dyn_string_resize,
  2065. dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
  2066. dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
  2067. dyn_string_insert_cstr, dyn_string_insert_char,
  2068. dyn_string_append, dyn_string_append_cstr,
  2069. dyn_string_append_char, dyn_string_substring, dyn_string_eq):
  2070. Likewise.
  2071. 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2072. Convert libiberty to use ISO C prototype style 3/n.
  2073. * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
  2074. consume_count_with_underscores, code_for_qualifier,
  2075. qualifier_string, demangle_qualifier, cplus_demangle_opname,
  2076. cplus_mangle_opname, cplus_demangle_set_style,
  2077. cplus_demangle_name_to_style, cplus_demangle, grow_vect,
  2078. ada_demangle, internal_cplus_demangle, squangle_mop_up,
  2079. work_stuff_copy_to_from, delete_non_B_K_work_stuff,
  2080. delete_work_stuff, mop_up, demangle_signature,
  2081. demangle_method_args, demangle_template_template_parm,
  2082. demangle_expression, demangle_integral_value,
  2083. demangle_real_value, demangle_template_value_parm,
  2084. demangle_template, arm_pt, demangle_arm_hp_template,
  2085. demangle_class_name, demangle_class, iterate_demangle_function,
  2086. demangle_prefix, gnu_special, recursively_demangle, arm_special,
  2087. demangle_qualified, get_count, do_type, demangle_fund_type,
  2088. do_hpacc_template_const_value, do_hpacc_template_literal,
  2089. snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
  2090. register_Btype, remember_Btype, forget_B_and_K_types,
  2091. forget_types, demangle_args, demangle_nested_args,
  2092. demangle_function_name, string_need, string_delete, string_init,
  2093. string_clear, string_empty, string_append, string_appends,
  2094. string_appendn, string_prepend, string_prepends, string_prependn,
  2095. string_append_template_idx): Use ISO C prootype style.
  2096. * cp-demint.c (cplus_demangle_fill_component,
  2097. cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
  2098. cplus_demangle_v3_components): Likewise.
  2099. 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2100. Convert libiberty to use ISO C prototype style 2/n.
  2101. * cp-demangle.h: Remove uses of PARAMS.
  2102. * cp-demangle.c: Likewise.
  2103. (d_dump, cplus_demangle_fill_name,
  2104. cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
  2105. cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
  2106. d_make_builtin_type, d_make_operator, d_make_extended_operator,
  2107. d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
  2108. cplus_demangle_mangled_name, has_return_type,
  2109. is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
  2110. d_prefix, d_unqualified_name, d_source_name, d_number,
  2111. d_identifier, d_operator_name, d_special_name, d_call_offset,
  2112. d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
  2113. d_function_type, d_bare_function_type, d_class_enum_type,
  2114. d_array_type, d_pointer_to_member_type, d_template_param,
  2115. d_template_args, d_template_arg, d_expression, d_expr_primary,
  2116. d_local_name, d_discriminator, d_add_substitution,
  2117. d_substitution, d_print_resize, d_print_append_char,
  2118. d_print_append_buffer, d_print_error, cplus_demangle_print,
  2119. d_print_comp, d_print_java_identifier, d_print_mod_list,
  2120. d_print_mod, d_print_function_type, d_print_array_type,
  2121. d_print_expr_op, d_print_cast, cplus_demangle_init_info,
  2122. d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
  2123. is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
  2124. print_usage, main):
  2125. 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
  2126. Convert libiberty to ISO C prototype style 1/n.
  2127. * _doprnt.c: Remove conditional #include <varargs.h> on
  2128. ANSI_PROTOTYPES as the latter is always assumed.
  2129. (_doprnt, checkit, main): Use ISO C prototype.
  2130. * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
  2131. * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
  2132. (dupargv, freeargv, buildargv, main): Use ISO C prototype.
  2133. * atexit.c (atexit): Likewise
  2134. * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
  2135. (asprintf): Use ISO C prototype.
  2136. * basename.c (basename): Likewise
  2137. * bcmp.c (bcmp): Likewise.
  2138. * bcopy.c (bcopy): Likewise.
  2139. * bzero.c (bzero): Likewise.
  2140. * bsearch.c (bsearch): Likewise. Improve const-correctness.
  2141. * choose-temp.c (choose_temp_base): Likewise.
  2142. * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
  2143. (calloc): Use ISO C prototype.
  2144. * clock.c (clock): Likewise.
  2145. * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
  2146. (vconcat_length, vconcat_copy, concat_length, concat_copy,
  2147. concat_copy2, concat, reconcat, main): Use ISO C prototype.
  2148. * copysign.c (copysign): Likewise.
  2149. 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2150. * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
  2151. (REQUIRED_OFILES): Add xstrndup.o.
  2152. (CONFIGURED_OFILES): Add strndup.o.
  2153. Regenerate dependencies.
  2154. * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
  2155. * strndup.c, xstrndup.c: New.
  2156. * config.in, configure, functions.texi: Regenerate.
  2157. 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2158. * xmemdup.c, xstrdup.c: Expose the tail call.
  2159. 2005-03-09 Mark Mitchell <mark@codesourcery.com>
  2160. * configure.ac (funcs): Add gettimeofday.
  2161. * configure: Regenerated.
  2162. * gettimeofday.c: New file.
  2163. * Makefile.in (CFILES): Add gettimeofday.
  2164. (CONFIGURED_OFILES): Add gettimeofday.o.
  2165. (./gettimeofday.o): New rule.
  2166. 2005-03-09 Ian Lance Taylor <ian@airs.com>
  2167. * pex-os2.c: Remove.
  2168. * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
  2169. * Makefile.in (CFILES): Remove pex-os2.c.
  2170. (CONFIGURED_OFILES): Remove pex-os2.o.
  2171. (pex-os2.o): Remove target.
  2172. * configure: Rebuild.
  2173. 2005-03-07 Ian Lance Taylor <ian@airs.com>
  2174. * mpw-config.in: Remove.
  2175. * mpw-make.sed: Remove.
  2176. * mpw.c: Remove.
  2177. * Makefile.in (CFILES): Remove pex-mpw.c.
  2178. (CONFIGURED_OFILES): Remove pex-mpw.o.
  2179. (mpw.o, pex-mpw.o): Remove targets.
  2180. * maint-tool (undoc): Remove reference to mpw.c.
  2181. 2005-03-06 DJ Delorie <dj@redhat.com>
  2182. * configure.ac (target_header_dir): vfork is a stub under djgpp.
  2183. * configure: Regenerated.
  2184. 2005-03-01 Jan Beulich <jbeulich@novell.com>
  2185. * Makefile.in (CFILES): Add unlink-if-ordinary.c
  2186. (REQUIRED_OFILES): Add unlink-if-ordinary.o.
  2187. Add dependencies and rule for unlink-if-ordinary.o.
  2188. * unlink-if-ordinary.c: New.
  2189. 2005-03-01 Ben Elliston <bje@au.ibm.com>
  2190. * hashtab.c (htab_find_slot_with_hash): Make function
  2191. documentation clearer.
  2192. 2005-02-13 Jason Merrill <jason@redhat.com>
  2193. * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
  2194. arguments.
  2195. 2005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  2196. * hex.c (hex_value): Group 'unsigned int' together to get correct
  2197. markup.
  2198. * functions.texi: Regenerated.
  2199. 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
  2200. * Makefile.in: Undo to 2004-12-17.
  2201. * aclocal.m4: Likewise.
  2202. * config.table: Likewise.
  2203. * configure.ac: Likewise.
  2204. * maint-tool: Likewise.
  2205. * configure: Likewise.
  2206. 2004-12-19 H.J. Lu <hongjiu.lu@intel.com>
  2207. PR bootstrap/19072
  2208. * Makefile.in (enable_shared): New substitute.
  2209. (LTTARGETLIB): New.
  2210. (PREFIXTARGETLIB): New.
  2211. (LTTESTLIB): New.
  2212. (PREFIXTESTLIB): New.
  2213. (CCLD): New.
  2214. (LINK): New.
  2215. ($(TARGETLIB)): Use $(LINK) to create libraries and create
  2216. targets by hand.
  2217. ($(TESTLIB)): Likewise.
  2218. (mostlyclean): Don't remove .libs. Remove the libtool object
  2219. directory.
  2220. * config.table (enable_shared): Removed.
  2221. * configure.ac (enable_static): Set to yes.
  2222. (AC_PROG_LIBTOOL): Removed.
  2223. (AM_DISABLE_SHARED): Uncommented.
  2224. (AM_PROG_LIBTOOL): Likewise.
  2225. (LIBOBJS): Add `./' to avoid VPATH.
  2226. (LTLIBOBJS): Likewise.
  2227. (enable_shared): Substitute.
  2228. * configure: Regenerated.
  2229. 2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
  2230. * Makefile.in (top_builddir): Set to `.'.
  2231. (OUTPUT_OPTION): Removed.
  2232. (LIBTOOL): New.
  2233. (LTLIBOBJS): New.
  2234. (EXTRA_LTOFILES): New.
  2235. (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
  2236. (all): Remove stamp-picdir.
  2237. (LTCOMPILE): New.
  2238. (.c.lo): New rule.
  2239. (REQUIRED_LTOFILES): New.
  2240. (CONFIGURED_LTOFILES): New.
  2241. ($(TARGETLIB)): Check .libs for PIC object files. Depend on
  2242. $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
  2243. (stamp-picdir): Completely removed.
  2244. (maint-missing): Pass $(REQUIRED_LTOFILES)
  2245. $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
  2246. $(CONFIGURED_OFILES)
  2247. (maint-buildall): Depend on $(REQUIRED_LTOFILES)
  2248. $(CONFIGURED_LTOFILES).
  2249. (mostlyclean): Also remove *.lo .libs.
  2250. Run "make maint-deps".
  2251. * aclocal.m4: Include ../libtool.m4.
  2252. * config.table: Don't check --enable-shared.
  2253. * configure.ac (AC_PROG_LIBTOOL): Add.
  2254. (AC_PROG_CC_C_O): Removed.
  2255. (OUTPUT_OPTION): Removed.
  2256. (NO_MINUS_C_MINUS_O): Removed.
  2257. (ltpexecute): New substitute.
  2258. (LIBOBJS): Cleanup.
  2259. * configure: Regenerated.
  2260. * maint-tool: Updated for .lo/libtool.
  2261. 2004-12-11 Ben Elliston <bje@au.ibm.com>
  2262. * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
  2263. * configure: Regenerate.
  2264. * config.in: Likewise.
  2265. 2004-12-07 DJ Delorie <dj@redhat.com>
  2266. * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
  2267. that recursion (and thus large stack space) is not needed.
  2268. 2004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
  2269. * pex-unix.c: Fix the spelling of longjmp.
  2270. 2004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
  2271. PR other/18623
  2272. * cp-demangle.c (d_call_offset): Remove useless local variables
  2273. offset and virtual_offset.
  2274. * cplus-dem.c (ada_demangle): Remove useless local variable
  2275. at_start_name.
  2276. (demangle_template): Remove useless local variable start.
  2277. 2004-11-19 Roger Sayle <roger@eyesopen.com>
  2278. * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
  2279. "ansidecl.h" to avoid redeclaration errors with native compilers.
  2280. * regex.c: Protect config.h from multiple inclusion.
  2281. 2004-11-12 Mike Stump <mrs@apple.com>
  2282. * Makefile.in (libiberty.html): Fix html generation.
  2283. 2004-09-08 Adam Nemet <anemet@lnxw.com>
  2284. * vasprintf.c: Accept __va_copy in addition to va_copy.
  2285. 2004-09-03 Paolo Bonzini <bonzini@gnu.org>
  2286. * configure: Regenerate.
  2287. 2004-09-02 Paolo Bonzini <bonzini@gnu.org>
  2288. * configure.ac: Do not enable multilibs for build-side libiberty.
  2289. 2004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
  2290. * lrealpath.c (lrealpath): Add _WIN32 support.
  2291. 2004-06-28 Zack Weinberg <zack@codesourcery.com>
  2292. * cp-demangle.h: Declare cplus_demangle_operators,
  2293. cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
  2294. cplus_demangle_type as static if IN_GLIBCPP_V3.
  2295. 2004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
  2296. PR other/16240
  2297. * cp-demangle.c (d_expr_primary): Check for a failure return from
  2298. cplus_demangle_type.
  2299. * testsuite/demangle-expected: Add test case.
  2300. 2004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
  2301. * pex-win32.c (fix_argv): Expand comment.
  2302. 2004-05-25 Daniel Jacobowitz <drow@false.org>
  2303. * Makefile.in: Add .NOEXPORT.
  2304. 2004-04-29 Douglas B Rupp <rupp@gnat.com>
  2305. * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
  2306. copyright.
  2307. 2004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  2308. * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
  2309. * configure: Regenerate.
  2310. 2004-04-22 Richard Henderson <rth@redhat.com>
  2311. * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
  2312. (CHAR_BIT): Provide default.
  2313. (struct prime_ent, prime_tab): New.
  2314. (higher_prime_index): Rename from higher_prime_number, return index.
  2315. (htab_mod_1): New.
  2316. (htab_mod, htab_mod_m2): Use it.
  2317. (htab_create_alloc, htab_create_alloc_ex): Store prime index.
  2318. (htab_expand): Likewise.
  2319. * configure.ac: Check for stdint.h.
  2320. (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
  2321. * config.in, configure: Rebuild.
  2322. 2004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
  2323. * strerror.c: Include config.h, and redefine sys_nerr and
  2324. sys_errlist, before including ansidecl.h and libiberty.h.
  2325. 2004-04-13 Jeff Law <law@redhat.com>
  2326. * hashtab.c (htab_remove_elt_with_hash): New function.
  2327. (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
  2328. 2004-03-31 Richard Henderson <rth@redhat.com>
  2329. * hashtab.c (htab_size): Move to top of file; mark inline.
  2330. (htab_elements): Likewise.
  2331. (htab_mod, htab_mod_m2): New.
  2332. (htab_delete): Refactor htab->size and htab->entries.
  2333. (htab_empty): Likewise.
  2334. (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
  2335. (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
  2336. (htab_clear_slot): Use htab_size, htab_elements.
  2337. (htab_traverse_noresize, htab_traverse): Likewise.
  2338. 2004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
  2339. * pex-unix.c (pexecute): Use vfork instead of fork, with
  2340. appropriate changes to make this safe.
  2341. * pex-common.h (STDERR_FILE_NO): Define.
  2342. * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
  2343. an 80 column screen. Run maint-deps.
  2344. 2004-03-09 Kelley Cook <kcook@gcc.gnu.org>
  2345. * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
  2346. * acconfig.h: Delete redundant file.
  2347. * config.in: Regenerate.
  2348. * configure: Regenerate.
  2349. 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
  2350. * configure: Regenerate for config/accross.m4 correction.
  2351. 2004-03-07 Andreas Jaeger <aj@suse.de>
  2352. * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
  2353. prototypes.
  2354. (main): Initialize style.
  2355. 2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
  2356. * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
  2357. D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
  2358. D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
  2359. * cp-demangle.c (cplus_demangle_builtin_types): Change char and
  2360. short types to D_PRINT_DEFAULT. Change other integer types to use
  2361. new D_PRINT_* values where appropriate. Change float types to
  2362. D_PRINT_FLOAT.
  2363. (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
  2364. values.
  2365. * testsuite/demangle-expected: Adjust two test cases.
  2366. * cp-demangle.c (d_print_function_type): Print a space before the
  2367. parenthesis around the function type in more cases.
  2368. * testsuite/demangle-expected: Adjust one test case.
  2369. * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
  2370. parentheses around a cast.
  2371. * testsuite/demangle-expected: Adjust two test cases to match new
  2372. output.
  2373. * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
  2374. * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
  2375. push more than one of the same CV-qualifier on the top of the
  2376. stack.
  2377. (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
  2378. move the CV-qualifiers to apply to the element type instead.
  2379. (d_print_array_type): When checking the modifiers, keep looking
  2380. past ones which have been printed already.
  2381. * testsuite/demangle-expected: Add three test cases.
  2382. 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
  2383. * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
  2384. empty string correctly.
  2385. * cp-demangle.c (__cxa_demangle): It is not an error if status is
  2386. not NULL. It is an error if the mangled name is the same as a
  2387. built-in type name.
  2388. (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
  2389. than cplus_demangle_v3.
  2390. * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
  2391. the associated #define of RETURN_ON_ALLOCATION_FAILURE.
  2392. 2004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
  2393. * regex.c: Include <ansidecl.h>.
  2394. (regcomp): Cast i to int.
  2395. (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
  2396. 2004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
  2397. * configure.ac: Add m4_pattern_allow(LIBOBJS).
  2398. * configure: Regenerate.
  2399. 2004-01-22 DJ Delorie <dj@redhat.com>
  2400. * Makefile.in: Convert to ./ throughout. Rebuild dependencies
  2401. with explicit build rules.
  2402. (VPATH): Remove.
  2403. (.c.o): Poison.
  2404. * configure.ac (pexecute, LIBOBJS): Add ./ .
  2405. * maint-tool: Build dependencies with explicit rules.
  2406. 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
  2407. * strdup.c (strdup): Constify the argument.
  2408. 2004-01-14 Loren J. Rittle <ljrittle@acm.org>
  2409. * Makefile.in (distclean): Remove config.cache.
  2410. 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
  2411. * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
  2412. takes two parameters.
  2413. * cp-demint.c (cplus_demangle_fill_component): Likewise.
  2414. 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
  2415. * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
  2416. defined, rename some functions which are to become static via
  2417. #define.
  2418. (CP_STATIC_IF_GLIBCPP_V3): Define.
  2419. (struct d_operator_info): Move definition to cp-demangle.h, and
  2420. rename to demangle_operator_info. Change all uses.
  2421. (enum d_builtin_type_print): Move definition to cp-demangle.h.
  2422. (struct d_builtin_type_info): Move definition to cp-demangle.h,
  2423. and rename to demangle_builtin_type_info. Change all uses.
  2424. (enum d_comp_type): Move definition to include/demangle.h, and
  2425. rename to demangle_component_type, and change all enums to start
  2426. with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
  2427. (struct d_comp): Move definition to include/demangle.h, and rename
  2428. to demangle_component. Change all uses.
  2429. (struct d_info): Move definition to cp-demangle.h.
  2430. (cplus_demangle_fill_name): New function.
  2431. (cplus_demangle_fill_extended_operator): New function.
  2432. (cplus_demangle_fill_ctor): New function.
  2433. (cplus_demangle_fill_dtor): New function.
  2434. (d_make_empty): Remove type parameter. Change all callers.
  2435. (d_make_name): Use cplus_demangle_fill_name.
  2436. (d_make_extended_operator): Use
  2437. cplus_demangle_fill_extended_operator.
  2438. (d_make_ctor): Use cplus_demangle_fill_ctor.
  2439. (d_make_dtor): Use cplus_demangle_fill_dtor.
  2440. (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
  2441. non-static by default. Change all callers.
  2442. (cplus_demangle_operators): Rename from d_operators. Change all
  2443. uses. Make non-static by default. Add sentinel at end of array.
  2444. (d_operator_name): Adjust initialization of high for new sentinel
  2445. in cplus_demangle_operators.
  2446. (cplus_demangle_builtin_types): Rename from d_builtin_types.
  2447. Change all uses. Make non-static by default. Change initializer
  2448. to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
  2449. (cplus_demangle_type): Rename from d_type. Make non-static by
  2450. default. Change all callers.
  2451. (cplus_demangle_init_info): Rename from d_init_info. Make
  2452. non-static by default. Change all callers.
  2453. * cp-demangle.h: New file.
  2454. * cp-demint.c: New file.
  2455. * Makefile.in: Rebuild dependencies.
  2456. (CFILES): Add cp-demint.c.
  2457. (REQUIRED_OFILES): Add cp-demint.o.
  2458. 2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
  2459. * configure.in: Rename file to ...
  2460. * configure.ac: ... this.
  2461. * Makefile.in: Update a comment for above change.
  2462. * README: Likewise.
  2463. * config.in: Regenerate.
  2464. 2004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
  2465. * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
  2466. CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
  2467. * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
  2468. demangling template parameters.
  2469. * testsuite/test-demangle.c (fail): New static function.
  2470. (main): Support new options in input file: --no-params,
  2471. --is-v3-ctor, and --is-v3-dtor.
  2472. * testsuite/demangle-expected: Add --no-params to most tests, and
  2473. add the correct result when parameters are not demangled. Add
  2474. some simple tests for V3 constructor/destructor recognition.
  2475. 2003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2476. * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
  2477. 2003-12-22 Daniel Jacobowitz <drow@mvista.com>
  2478. PR debug/13272
  2479. * Makefile.in (lbasename.o): Depend on filenames.h.
  2480. * lbasename.c: Include "filenames.h" instead of defining
  2481. its macros locally.
  2482. 2003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
  2483. * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
  2484. dynamic arrays.
  2485. (struct d_operator_info): Add len field.
  2486. (struct d_builtin_type_info): Add len and java_len fields.
  2487. (struct d_standard_sub_info): Add simple_len, full_len, and
  2488. set_last_name_len fields.
  2489. (struct d_comp): Add len field to s_string.
  2490. (struct d_info): Add send, did_subs, and expansion fields.
  2491. (d_append_string_constant): Define.
  2492. (d_append_string): Remove. Change all users to use
  2493. d_append_string_constant or d_append_buffer instead.
  2494. (d_make_sub): Add len parameter. Change all callers.
  2495. (d_name): Increase expansion when substituting std::.
  2496. (d_unqualified_name): Increase expansion for an operator.
  2497. (d_number): Don't use multiplication for negative numbers.
  2498. (d_identifier): Make sure there are enough characters in the
  2499. string for the specified length. Adjust expansion for an
  2500. anonymous namespace.
  2501. (d_operators): Initialize len field.
  2502. (d_special_name, d_ctor_dtor_name): Increase expansion.
  2503. (d_builtin_types): Initialize len and java_len fields.
  2504. (d_type): Increase expansion for a builtin type.
  2505. (d_cv_qualifiers): Increase expansion for each qualifier.
  2506. (d_bare_function_type): Decrease expansion when removing single
  2507. void parameter.
  2508. (d_template_param): Increment did_subs.
  2509. (d_expression): Increase expansion for an operator.
  2510. (d_expr_primary): Decrease expansion for a type we will print
  2511. specially.
  2512. (standard_subs): Initialize new fields.
  2513. (d_substitution): Increment did_subs when doing a normal
  2514. substitution. Increase expansion for a special substitution.
  2515. (d_print): Add estimate parameter. Change all callers.
  2516. (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
  2517. (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
  2518. (d_print_java_identifier): Rename from d_print_identifier. Handle
  2519. only Java case. Change caller.
  2520. (d_init_info): Change return type to void. Change all callers.
  2521. Initialize send, did_subs, and expansion fields. Do not
  2522. initialize comps and subs fields.
  2523. (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
  2524. arrays on stack. Make an estimate of the length of the demangled
  2525. name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
  2526. (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
  2527. subs arrays on stack.
  2528. 2003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
  2529. * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
  2530. after the identifier.
  2531. * testsuite/demangle-expected: Add test case.
  2532. 2003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
  2533. Fix for PR c++/13447:
  2534. * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
  2535. (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
  2536. (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
  2537. D_COMP_QUAL_NAME.
  2538. (is_ctor_or_dtor): Likewise.
  2539. (d_local_name): Use D_COMP_LOCAL_NAME rather than
  2540. D_COMP_QUAL_NAME.
  2541. (d_print_comp) [D_COMP_LOCAL_NAME]: New.
  2542. (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
  2543. D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
  2544. (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
  2545. * testsuite/demangle-expected: Add two test cases.
  2546. * cp-demangle.c (d_print_function_type): Clear the global modifier
  2547. list when printing the modifiers, not just when printing the
  2548. function parameters.
  2549. * testsuite/demangle-expected: Add two test cases.
  2550. 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
  2551. * cp-demangle.c (d_print_function_type): Print the function
  2552. parameters with no modifiers.
  2553. * testsuite/demangle-expected: Add test case.
  2554. * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
  2555. expect that we've read the entire string.
  2556. (is_ctor_or_dtor): Don't expect that we've read the entire
  2557. string--reverse patch of 2003-11-29.
  2558. 2003-12-15 Brendan Kehoe <brendan@zen.org>
  2559. * libiberty/Makefile.in (floatformat.o): Add dependency on
  2560. config.h to accompany change of 2003-12-03.
  2561. 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
  2562. Fix handling of constructor/destructor of standard substitution:
  2563. * cp-demangle.c (struct d_standard_sub_info): Define.
  2564. (d_substitution): Add prefix argument. Change all callers.
  2565. Rework handling of standard substitutions to print full name when
  2566. qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
  2567. * testsuite/demangle-expected: Add test case.
  2568. Fix handling of negative literal constants:
  2569. * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
  2570. (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
  2571. (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
  2572. (d_print_comp): Handle D_COMP_LITERAL_NEG.
  2573. * testsuite/demangle-expected: Add test case.
  2574. 2003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
  2575. * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
  2576. (d_last_char): Define new macro.
  2577. (d_make_name): Reject an empty name.
  2578. (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
  2579. (d_substitution, d_print_identifier): Likewise.
  2580. (d_print_comp) [D_COMP_OPERATOR]: Likewise.
  2581. (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
  2582. (d_print_mod) Use new d_last_char macro.
  2583. (d_print_cast): Use new d_last_char macro.
  2584. (is_ctor_or_dtor): Don't leak memory.
  2585. Fix handling of member function modifiers:
  2586. * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
  2587. D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
  2588. (d_dump): Dump new d_comp_type values.
  2589. (d_make_comp): Accept new d_comp_type values.
  2590. (has_return_type): Only accept _THIS variants of qualifiers.
  2591. (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
  2592. qualifiers.
  2593. (d_cv_qualifiers): Add member_fn parameter. Change all callers.
  2594. (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
  2595. qualifiers and printing them at the end, add _THIS qualifiers to
  2596. the modifier list.
  2597. (d_print_comp) [D_COMP_*_THIS]: New cases.
  2598. (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
  2599. qualifiers.
  2600. (d_print_mod_list): Add suffix parameter. Change all callers.
  2601. Keep walking the list even if the current modifier has been
  2602. printed.
  2603. (d_print_mod): Handle new _THIS qualifiers.
  2604. (d_print_function_type): Handle new _THIS qualifiers when deciding
  2605. whether to print a parenthesis. Put a space before the
  2606. parenthesis in some cases. Call d_print_mod_list again at the
  2607. end, passing suffix as 1.
  2608. (is_ctor_or_dtor): Look for new _THIS qualifiers.
  2609. * testsuite/demangle-expected: Add test case.
  2610. Fix for PR gcc/13304:
  2611. * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
  2612. before the '<' is itself a '<', insert a space.
  2613. (d_print_cast): Likewise.
  2614. * testsuite/demangle-expected: Add test case.
  2615. Fix for PR gcc/13244:
  2616. * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
  2617. which uses the '>' operator in an extra layer of parens.
  2618. * testsuite/demangle-expected: Add test case.
  2619. 2003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
  2620. * floatformat.c: Include "config.h" and <string.h> if available.
  2621. (INFINITY, NAN): Define if not defined by <math.h>.
  2622. (floatformat_to_double): Handle NaN, infinity, and denormalized
  2623. numbers.
  2624. (floatformat_from_double): Likewise.
  2625. (ieee_test): In debugging code, use little endian rather than big
  2626. endian. Correct tests to handle NaN and to check correct sign of
  2627. zero. Omit m68k extended test.
  2628. (main): Add more debugging cases.
  2629. 2003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
  2630. * cp-demangle.c (d_demangle): Only return success if we consumed
  2631. the entire demangled string.
  2632. (is_ctor_or_dtor): Likewise.
  2633. * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
  2634. to restore expected result of EDG test case to original expected
  2635. result.
  2636. 2003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
  2637. * cp-demangle.c (struct d_print_mod): Add templates field.
  2638. (d_make_builtin_type): Check for NULL type.
  2639. (d_make_extended_operator): Check for NULL name.
  2640. (d_make_ctor, d_make_dtor): Likewise.
  2641. (d_mangled_name): Add top_level parameter. Change all callers.
  2642. (d_encoding): If DMGL_PARAMS is not set, strip off initial
  2643. CV-qualifiers.
  2644. (d_type): Check some return values we rely on.
  2645. (d_bare_function_type, d_array_type): Likewise.
  2646. (d_pointer_to_member_type, d_template_args): Likewise.
  2647. (d_add_substitution): Fail if argument is NULL.
  2648. (d_print_resize): Check whether buf is NULL.
  2649. (d_print_comp): Save current templates list with each modifier.
  2650. Don't pass the modifier list down when printing a template.
  2651. (d_print_cast): Don't pass the modifier list down when printing a
  2652. template.
  2653. (d_print_mod_list): Temporarily set templates list while printing
  2654. a modifier.
  2655. (d_print_mod): Check that buf is not NULL before using it.
  2656. (d_print_function_type): Print parens if there is no modifier.
  2657. (d_init_info): Permit as many substitutions as there are
  2658. characters in the mangled name.
  2659. * testsuite/demangle-expected: Add two new test cases.
  2660. 2003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
  2661. * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
  2662. d_demangle.
  2663. 2003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
  2664. * cp-demangle.c (d_encoding): Add top_level parameter. Change all
  2665. callers.
  2666. (print_usage): Display new -p option.
  2667. (long_options): Add --no-params.
  2668. (main): Accept and handle -p.
  2669. 2003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
  2670. * cp-demangle.c (has_return_type): Skip qualifiers when checking
  2671. whether we have a template.
  2672. * testsuite/demangle-expected: Add four new tests.
  2673. 2003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
  2674. * testsuite/demangle-expected: Minor changes to match output of
  2675. new demangler: adjust whitespace in four tests, and change order
  2676. of qualifiers in one test.
  2677. * cp-demangle.c: Complete rewrite.
  2678. 2003-11-19 Mark Mitchell <mark@codesourcery.com>
  2679. * cp-demangle.c (demangle_type): Correct thinko in substitution
  2680. processing.
  2681. 2003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
  2682. * cp-demangle.c (demangle_operator_name): Remove space before
  2683. "sizeof".
  2684. (demangle_type_ptr): Put qualifiers in the right place. Handle
  2685. qualifiers in pointer to member specially.
  2686. (demangle_type): Handle qualifiers for pointer or reference
  2687. specially. Handle function type.
  2688. (demangle_local_name): Save and restore caret around demangling of
  2689. initial encoding.
  2690. * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
  2691. cplus_demangle.
  2692. * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
  2693. 2003-10-31 Andreas Jaeger <aj@suse.de>
  2694. * floatformat.c (floatformat_always_valid): Add unused attribute.
  2695. 2003-10-30 Josef Zlomek <zlomekj@suse.cz>
  2696. Jan Hubicka <jh@suse.cz>
  2697. * vasprintf.c (int_vasprintf): Pass va_list by value.
  2698. Use va_copy for copying va_list.
  2699. (vasprintf): Pass va_list by value.
  2700. 2003-10-30 Josef Zlomek <zlomekj@suse.cz>
  2701. * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
  2702. instead of increasing n_elements when inserting to deleted slot.
  2703. 2003-10-20 J. Brobecker <brobecker@gnat.com>
  2704. * cplus-dem.c (demangle_template): Register a new Btype only
  2705. when needed.
  2706. * testsuite/demangle-expected: Add a new test.
  2707. 2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
  2708. * testsuite/demangle-expected: Update the expected output of
  2709. _GLOBAL__I__Z2fnv.
  2710. 2003-10-02 Daniel Jacobowitz <drow@mvista.com>
  2711. * strerror.c: Revert last change. Declare static sys_nerr
  2712. and sys_errlist using different names.
  2713. 2003-10-01 Daniel Jacobowitz <drow@mvista.com>
  2714. * strerror.c: Don't provide or reference sys_errlist if
  2715. strerror is available.
  2716. 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
  2717. * configure.in: Check if $MAKEINFO is missing.
  2718. * configure: Regenerated.
  2719. 2003-09-24 Daniel Jacobowitz <drow@mvista.com>
  2720. * configure.in: Use AC_PROG_CPP_WERROR.
  2721. * configure: Regenerated.
  2722. 2003-09-22 Andrew Cagney <cagney@redhat.com>
  2723. * floatformat.c (floatformat_i387_ext_is_valid): New function.
  2724. (floatformat_always_valid): New function.
  2725. (floatformat_i387_ext): Initialize new "is_valid" field to
  2726. "floatformat_i387_ext_is_valid".
  2727. (floatformat_ieee_single_little): Initialize "is_valid" field to
  2728. floatformat_always_valid.
  2729. (floatformat_ieee_double_big): Ditto.
  2730. (floatformat_ieee_double_little): Ditto.
  2731. (floatformat_ieee_double_little): Ditto.
  2732. (floatformat_ieee_double_littlebyte_bigword): Ditto.
  2733. (floatformat_i960_ext): Ditto.
  2734. (floatformat_m88110_ext): Ditto.
  2735. (floatformat_m88110_harris_ext): Ditto.
  2736. (floatformat_arm_ext_big): Ditto.
  2737. (floatformat_arm_ext_littlebyte_bigword): Ditto.
  2738. (floatformat_ia64_spill_big): Ditto.
  2739. (floatformat_ia64_spill_little): Ditto.
  2740. (floatformat_ia64_quad_big): Ditto.
  2741. (floatformat_ia64_quad_little): Ditto.
  2742. (floatformat_ia64_quad_little): Ditto.
  2743. (floatformat_is_valid): Call "is_valid".
  2744. 2003-09-15 Andrew Cagney <cagney@redhat.com>
  2745. * floatformat.c (get_field): Make "data" constant.
  2746. (floatformat_is_valid, floatformat_to_double): Make "from"
  2747. constant, fix casts.
  2748. (floatformat_from_double): Make "from" constant.
  2749. 2003-09-15 Daniel Jacobowitz <drow@mvista.com>
  2750. * floatformat.c (floatformat_is_valid): New function.
  2751. (get_field, put_field): Correct comments.
  2752. 2003-09-06 Josef Zlomek <zlomekj@suse.cz>
  2753. * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
  2754. FIBHEAPKEY_T.
  2755. 2003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2756. PR bootstrap/12100
  2757. * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
  2758. * configure: Rebuilt.
  2759. 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
  2760. * aclocal.m4: Include acx.m4 and no-executables.m4.
  2761. (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
  2762. (LIB_AC_PROG_CC): Remove.
  2763. * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
  2764. Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
  2765. LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
  2766. performing link tests.
  2767. * configure: Regenerated.
  2768. 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
  2769. * cp-demangle.c: Clarify what package(s) this is part of.
  2770. 2003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
  2771. * pex-win32.c (pexecute): Mark parameters this_pname and
  2772. temp_base as unused. Remove unused variables retries,
  2773. sleep_interval. Initialize org_stdin, org_stdout.
  2774. (pwait): Mark parameter flags as unused.
  2775. 2003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
  2776. * pex-win32.c (fix_argv): Ensure that the executable pathname
  2777. uses Win32 backslashes.
  2778. (pexecute): Cast away constness when assigning *errmsg_arg.
  2779. 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
  2780. * testsuite/demangle-expected: Add more GNU V3 testcases.
  2781. 2003-06-22 Zack Weinberg <zack@codesourcery.com>
  2782. * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
  2783. not HC_ASCII and HC_EBCDIC.
  2784. Add documentation in form expected by gather-docs.
  2785. * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
  2786. * Makefile.in, functions.texi: Regenerate.
  2787. 2003-06-21 Zack Weinberg <zack@codesourcery.com>
  2788. * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
  2789. for charset determination.
  2790. 2003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
  2791. * configure.in: Add check for malloc.h needed by
  2792. m68k for function free().
  2793. * configure: Regenerated.
  2794. * config.in: Add HAVE_MALLOC_H.
  2795. * hashtab.c: include malloc.h were available for
  2796. free().
  2797. 2003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
  2798. PR bootstrap/10974
  2799. * physmem.c: Update comment.
  2800. * configure.in: Modify test for _system_configuration for older
  2801. AIX systems.
  2802. * config.in, configure: Regenerated.
  2803. 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  2804. PR other/10810
  2805. * test-demangle.c (getline): Fix fence-post error.
  2806. 2003-06-03 Nick Clifton <nickc@redhat.com>
  2807. * asprintf.c: Change comment to note that -1 is returned upon
  2808. error.
  2809. * vasprintf.c: Likewise.
  2810. (vasprintf): Return -1 upon error.
  2811. * functions.texi: Document changes to asprintf and vasprintf.
  2812. 2003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
  2813. * config.table: Accept i[345867]86 variant.
  2814. 2003-05-15 Jim Blandy <jimb@redhat.com>
  2815. * hex.c (_hex_value): Make this unsigned.
  2816. (hex_value): Update documentation for new return type. hex_value
  2817. now expands to an unsigned int expression, to avoid unexpected
  2818. sign extension when we store it in a bfd_vma, which is larger than
  2819. int on some platforms.
  2820. * functions.texi: Regenerated.
  2821. 2003-05-07 Josef Zlomek <zlomekj@suse.cz>
  2822. * splay-tree.c (splay_tree_predecessor): Fix comment.
  2823. (splay_tree_successor): Fix comment.
  2824. 2003-05-07 Jason Merrill <jason@redhat.com>
  2825. * hashtab.c (iterative_hash): New fn.
  2826. * configure.in: Add AC_C_BIGENDIAN_CROSS.
  2827. * aclocal.m4: Include accross.m4.
  2828. * configure, config.in: Regenerate.
  2829. 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2830. * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
  2831. * configure: Regenerate.
  2832. 2003-05-03 Carlo Wood <carlo@alinoe.com>
  2833. * cp-demangle.c: Fix typo in "char_traints" string-literal.
  2834. 2003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2835. * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
  2836. (main): Test that we don't write too much data.
  2837. 2003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2838. * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
  2839. vsnprintf.
  2840. * snprintf.c, vsnprintf.c: New files.
  2841. * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
  2842. (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
  2843. Regenerate dependencies.
  2844. * functions.texi, configure, config.in: Regenerated.
  2845. 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2846. * mempcpy.c, stpcpy.c, stpncpy.c: New files.
  2847. * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
  2848. and stpncpy.
  2849. * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
  2850. (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
  2851. Regenerate dependencies.
  2852. * functions.texi, configure, config.in: Regenerated.
  2853. 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2854. * argv.c: Fix comments.
  2855. * calloc.c: Don't unnecessarily include "libiberty.h".
  2856. (bzero): Add prototype.
  2857. * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
  2858. * getcwd.c (getcwd): Use standard definition to avoid conflicts
  2859. with system headers.
  2860. * hashtab.c (htab_traverse): Delete unused variables.
  2861. * rename.c: Include "ansidecl.h".
  2862. (rename): Use standard definition to avoid conflicts with system
  2863. headers.
  2864. * strsignal.c: Rely on ANSI_PROTOTYPES.
  2865. * strstr.c: Check GNUC >= 2, not GNUC == 2.
  2866. * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
  2867. * vprintf.c: Include "ansidecl.h" earlier, rely on
  2868. ANSI_PROTOTYPES.
  2869. * vsprintf.c: Include "ansidecl.h" earlier, rely on
  2870. ANSI_PROTOTYPES and possibly include <stdarg.h>.
  2871. * Makefile.in: Regenerate dependencies.
  2872. 2003-04-15 DJ Delorie <dj@redhat.com>
  2873. * maint-tool (deps): Scan for headers in $srcdir also.
  2874. 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2875. PR target/10338
  2876. PR bootstrap/10198
  2877. PR bootstrap/10140
  2878. * getopt.c (exchange, _getopt_initialize): Use mempcpy not
  2879. __mempcpy.
  2880. * regex.c (regerror): Likewise.
  2881. 2003-04-14 Roger Sayle <roger@eyesopen.com>
  2882. * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
  2883. * memchr.c: Likewise.
  2884. * strcasecmp.c: Likewise.
  2885. * strncasecmp.c: Likewise.
  2886. * strncmp.c: Likewise.
  2887. * xatexit.c: Likewise.
  2888. * xmalloc.c: Likewise.
  2889. * copysign.c: Use traditional function declaration instead of DEFUN.
  2890. * sigsetmask.c: Likewise.
  2891. * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
  2892. * memset.c: Likewise.
  2893. * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
  2894. * memmove.c: Likewise.
  2895. 2003-04-14 Roger Sayle <roger@eyesopen.com>
  2896. * strdup.c (strdup): Tweak implementation to use memcpy.
  2897. 2003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2898. * configure.in (HAVE_UINTPTR_T): Always define.
  2899. * configure: Regenerated.
  2900. 2003-03-23 Alexandre Oliva <aoliva@redhat.com>
  2901. * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
  2902. instead of $$CC alone.
  2903. (install_to_tooldir): Use it.
  2904. 2003-17-03 Jan Hubicka <jh@suse.cz>
  2905. * hashtab.c (htab_traverse_noresize): Break out from ...
  2906. * hashtab.c (htab_traverse): ... here.
  2907. 2003-12-03 Jan Hubicka <jh@suse.cz>
  2908. * hashtab.c (htab_expand): Fix warning.
  2909. * hashtab.c (htab_expand): Compute the size of hashtable based
  2910. on the number of elements actually used.
  2911. (htab_traverse): Call htab_expand when table is too empty.
  2912. 2003-03-11 Carlo Wood <carlo@gnu.org>
  2913. * cplus-dem.c (demangle_integral_value): Correction to reflect
  2914. patch of 2002-01-10 in order to also make negative multi-digits
  2915. without leading underscore work.
  2916. 2003-03-03 Mark Mitchell <mark@codesourcery.com>
  2917. * cplus-dem.c: Add license exception to copyright notice.
  2918. 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2919. * physmem.c: Formatting changes from upstream.
  2920. 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>
  2921. * physmem.c (physmem_total): Add _WIN32 support.
  2922. (physmem_available): Likewise.
  2923. 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2924. * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
  2925. GSI_PHYSMEM.
  2926. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
  2927. 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2928. * configure.in: Check for sys/systemcfg.h and
  2929. _system_configuration.
  2930. * physmem.c: Add support for AIX. Tweek formatting as per
  2931. upstream coreutils beta.
  2932. 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2933. Richard Earnshaw <rearnsha@arm.com>
  2934. Geoffrey Keating <geoffk@apple.com>
  2935. * configure.in: Check for sys/sysctl.h and sysctl.
  2936. * physmem.c: Add support for *bsd and darwin.
  2937. * Makefile.in: Generate depedency for physmem.o.
  2938. 2003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  2939. * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
  2940. Tru64 UNIX.
  2941. (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
  2942. Tru64 UNIX.
  2943. * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
  2944. machine/hal_sysinfo.h, sys/table.h.
  2945. (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
  2946. * configure, config.in: Regenerate.
  2947. 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2948. * configure.in: Check for sys/sysmp.h and sysmp.
  2949. * physmem.c: Pull upstream copy, add support for irix6.
  2950. * config.in, configure: Regenerated.
  2951. 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2952. * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
  2953. * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
  2954. pstat_getdynamic.
  2955. 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2956. * Makefile.in (CFILES): Add physmem.c.
  2957. (REQUIRED_OFILES): Add physmem.o.
  2958. * configure.in: Check for sys/pstat.h.
  2959. (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
  2960. * physmem.c: New file, copied from textutils.
  2961. * config.in, configure: Regenerated.
  2962. 2003-02-20 Daniel Jacobowitz <drow@mvista.com>
  2963. * Makefile.in (CFILES): Add lrealpath.c.
  2964. (REQUIRED_OFILES): Add lrealpath.o.
  2965. (lrealpath.o): Add rule.
  2966. * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
  2967. * configure.in: Add realpath and canonicalize_file_name to
  2968. checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
  2969. for canonicalize_file_name.
  2970. * lrealpath.c: New file.
  2971. * make-relative-prefix.c: Update documentation.
  2972. (make_relative_prefix): Simplify. Use lbasename and lrealpath.
  2973. * config.in: Regenerated.
  2974. * configure: Regenerated.
  2975. * functions.texi: Regenerated.
  2976. 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
  2977. * cplus_dem.c: Fix typo: intializes -> initializes.
  2978. 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
  2979. * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
  2980. config.status.
  2981. * configure: Rebuilt.
  2982. 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
  2983. Fix PR c++/7612.
  2984. * cplus-dem.c (demangle_signature): Call string_delete.
  2985. Remove extra string_init.
  2986. (demangle_arm_hp_template): Call string_delete instead of
  2987. string_clear. Add missing string_delete call.
  2988. (demangle_qualified): Add missing string_delete call.
  2989. (do_type): Remove unused variable btype. Add missing string_delete
  2990. call. Call string_delete instead of string_clear.
  2991. (demangle_fund_type): Move variable btype inside of the switch
  2992. statement. Add missing string_delete call.
  2993. (do_arg): Call string_delete instead of string_clear. Remove extra
  2994. string_init.
  2995. (demangle_nested_args): Free work->previous_argument.
  2996. 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  2997. * acconfig.h: New file. Add uintptr_t.
  2998. * config.in: Regenerated.
  2999. 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
  3000. * libiberty.texi: Update to GFDL 1.2.
  3001. 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  3002. * Makefile.in (libiberty_topdir): New subst.
  3003. (mkinstalldirs): Redefine in terms of the above.
  3004. * configure.in: AC_SUBST it.
  3005. * configure: Regenerate.
  3006. 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  3007. * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
  3008. (info-subdir, install-info-subdir, clean-info-subdir)
  3009. (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
  3010. (clean-subdir, distclean-subdir, maintainer-clean-subdir):
  3011. Pass $(FLAGS_TO_PASS).
  3012. 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
  3013. * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
  3014. /`$$CC -print-multi-os-directory`.
  3015. 2003-01-26 Daniel Jacobowitz <drow@mvista.com>
  3016. * hashtab.c (htab_create_alloc_ex): New function.
  3017. (hatab_set_functions_ex): New function.
  3018. (htab_delete, htab_expand): Support alternate allocation functions.
  3019. 2003-01-24 Christopher Faylor <cgf@redhat.com>
  3020. * configure.in: Remove special pex-cygwin consideration.
  3021. * configure: Regenerate.
  3022. * pex-cygwin.c: Remove.
  3023. * Makefile.in: Remove pex-cygwin.[co] lines.
  3024. 2003-01-24 Zack Weinberg <zack@codesourcery.com>
  3025. * Makefile.in (CFILES): Add pex-*.c.
  3026. (REQUIRED_OFILES): Change pexecute.o to @pexecute@
  3027. (CONFIGURED_OFILES): Add pex-*.o.
  3028. (TEXIFILES): Add pexecute.txh.
  3029. (pexecute.o): Delete rule.
  3030. (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
  3031. pex-unix.o, pex-win32.o): New rules.
  3032. * configure.in: Change AC_INIT argument to xmalloc.c.
  3033. Compute appropriate pexecute implementation and substitute it
  3034. as @pexecute@.
  3035. * pexecute.c: Split up into...
  3036. * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
  3037. pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
  3038. new files.
  3039. * functions.texi: Regenerate.
  3040. * configure: Regenerate.
  3041. 2003-01-20 Josef Zlomek <zlomekj@suse.cz>
  3042. * hashtab.c (htab_expand): Fix allocation of new entries.
  3043. 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
  3044. * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
  3045. * Makefile.in (install_to_libdir, install_to_tooldir): Add a
  3046. mkinstalldirs command.
  3047. 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
  3048. * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
  3049. Define for hosts with HOST_EXECUTABLE_SUFFIX.
  3050. 2002-11-24 Nick Clifton <nickc@redhat.com>
  3051. * make-relative-prefix.c (make_relative_prefix): Ensure return
  3052. string is empty before using strcat to construct it.
  3053. 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
  3054. * Makefile.in: Add make-relative-prefix.c.
  3055. * make-relative-prefix.c: New file.
  3056. * functions.texi: Rebuilt.
  3057. 2002-11-16 Jakub Jelinek <jakub@redhat.com>
  3058. * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
  3059. used with arguments in traditional C' warnings.
  3060. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  3061. * config.table: Use mh-s390pic for s390x too.
  3062. 2002-10-06 Andreas Jaeger <aj@suse.de>
  3063. * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
  3064. variable and of strict-aliasing warning.
  3065. (grow_vect): Use char as first parameter.
  3066. 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3067. * Makefile.in (all): Fix multilib parallel build.
  3068. 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
  3069. * cp-demangle.c (demangling_new): Cast 0 to enum.
  3070. (demangle_char): Cast return of strdup to char *.
  3071. (is_gnu_v3_mangled_ctor): Cast 0 to enum.
  3072. (is_gnu_v3_mangled_dtor): Likewise.
  3073. * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
  3074. (work_stuff_copy_to_from): Cast return of xmalloc to char **.
  3075. * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
  3076. * md5.c (md5_process_bytes): Cast results back to const void *.
  3077. (md5_process_block): Add cast to const md5_uint32 *.
  3078. * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
  3079. * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
  3080. unsigned short.
  3081. * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
  3082. to void *.
  3083. * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
  3084. 2002-09-19 Nick Clifton <nickc@redhat.com>
  3085. * README: Update email addresses for bugs and patches.
  3086. 2002-09-10 Mike Stump <mrs@apple.com>
  3087. * splay-tree.c (splay_tree_successor): Fix comments.
  3088. 2002-09-11 Zack Weinberg <zack@codesourcery.com>
  3089. * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
  3090. * testsuite/Makefile.in: Adjust for test-demangle.
  3091. * testsuite/regress-demangle: Deleted.
  3092. * testsuite/test-demangle.c: New file.
  3093. * testsuite/demangle-expected: Change \$ to $ throughout, now that
  3094. this file is not being read by a shell script.
  3095. 2002-09-05 Roger Sayle <roger@eyesopen.com>
  3096. * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
  3097. 2002-08-07 DJ Delorie <dj@redhat.com>
  3098. * regex.c (re_error_msgid): Just use a simple array of strings.
  3099. (re_compile_pattern): Compensate.
  3100. (re_comp): Likewise.
  3101. (re_comp): Likewise.
  3102. (regerror): Likewise.
  3103. 2002-07-29 Neil Booth <neil@daikokuya.co.uk>
  3104. * cplus-dem.c (PREPEND_BLANK): Remove.
  3105. 2002-07-10 Jason Merrill <jason@redhat.com>
  3106. * cp-demangle.c (demangle_identifier): Support extended Unicode
  3107. characters.
  3108. 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3109. * cp-demangle.c (demangle_v3_with_details): Wrap in
  3110. !defined IN_GLIBCPP_V3.
  3111. 2002-07-01 Mark Mitchell <mark@codesourcery.com>
  3112. * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
  3113. Set it for the "st" operator.
  3114. (demangle_expression): Handle expressions with types as arguments.
  3115. 2002-06-30 Douglas Rupp <rupp@gnat.com>
  3116. * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
  3117. * Makefile.in (OUTPUT_OPTION): Use.
  3118. 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
  3119. * Makefile.in (install_to_libdir): Add $(DESTDIR).
  3120. (install_to_tooldir): Likewise.
  3121. 2002-06-17 Douglas Rupp <rupp@gnat.com>
  3122. * lbasename.c: Add 2002 to copyright.
  3123. (IS_DIR_SEPARATOR): Remove VMS junk.
  3124. 2002-06-05 Geoffrey Keating <geoffk@redhat.com>
  3125. * hashtab.c (htab_create): New stub function for backward
  3126. compatibility.
  3127. (htab_try_create): Likewise.
  3128. 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
  3129. * hashtab.c (htab_create): Delete.
  3130. (htab_try_create): Delete.
  3131. (htab_create_alloc): New.
  3132. (htab_delete): Support user-specified memory allocation.
  3133. (htab_expand): Likewise.
  3134. 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
  3135. * configure.in: Fix typo in the code checking for sys_errlist.
  3136. * configure: Regenerated.
  3137. 2002-05-13 Andreas Schwab <schwab@suse.de>
  3138. * config.table: Use mh-x86pic also for x86-64.
  3139. 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
  3140. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
  3141. script entry, and set LD to it when configuring multilibs.
  3142. * configure: Rebuilt.
  3143. 2002-05-07 Mark Mitchell <mark@codesourcery.com>
  3144. * configure.in (AC_TYPE_PID_T): Use it.
  3145. * configure: Regenerated.
  3146. * getruntime.c: Include <sys/types.h>.
  3147. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
  3148. 2002-04-09 Richard Henderson <rth@redhat.com>
  3149. * hashtab.c (higher_prime_number): Use 7 as minimum.
  3150. (find_empty_slot_for_expand): Don't compute hash2 unless needed.
  3151. (htab_find_slot_with_hash): Likewise.
  3152. 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
  3153. * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
  3154. (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
  3155. not compile if IN_GLIBCPP_V3 defined.
  3156. * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
  3157. 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
  3158. * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
  3159. if it is NULL.
  3160. 2002-03-27 DJ Delorie <dj@redhat.com>
  3161. * hex.c: Add documentation.
  3162. (_hex_value): Provide non-ASCII empty table.
  3163. (hex_init): Initialize the non-ASCII table.
  3164. * functions.texi: Regenerate.
  3165. 2002-03-27 Mark Mitchell <mark@codesourcery.com>
  3166. * dyn-string.c: Add libgcc exception to copyright notice.
  3167. 2002-03-26 H.J. Lu (hjl@gnu.org)
  3168. * config.table: Support --with-build-subdir.
  3169. * configure.in: Likewise.
  3170. * configure: Rebuild.
  3171. 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
  3172. * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
  3173. seen.
  3174. 2002-03-12 Mark Mitchell <mark@codesourcery.com>
  3175. * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
  3176. notice.
  3177. 2002-03-11 Douglas B Rupp <rupp@gnat.com>
  3178. * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
  3179. 2002-03-06 Jim Blandy <jimb@redhat.com>
  3180. * splay-tree.c (splay_tree_xmalloc_allocate,
  3181. splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
  3182. prototyped definitions. Mark `data' arguments as unused.
  3183. 2002-03-06 Andrew Cagney <ac131313@redhat.com>
  3184. * floatformat.c (floatformat_arm_ext_big): Delete definition.
  3185. 2002-03-04 Phil Edwards <pme@gcc.gnu.org>
  3186. * configure.in: Add --enable-install-libiberty option.
  3187. * Makefile.in (INSTALLED_HEADERS): New variable.
  3188. (install_to_libdir): Possibly also copy headers.
  3189. * configure: Regenerated.
  3190. 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
  3191. * xmalloc.c (xmalloc_fail): Clarify error message further.
  3192. 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
  3193. * xmalloc.c (xmalloc_fail): Clarify error message.
  3194. 2002-02-22 Jim Blandy <jimb@redhat.com>
  3195. * splay-tree.c (splay_tree_xmalloc_allocate,
  3196. splay_tree_xmalloc_deallocate): New functions.
  3197. (splay_tree_new): Call splay_tree_new_with_allocator, passing the
  3198. above functions and a dummy data pointer.
  3199. (splay_tree_new_with_allocator): New function.
  3200. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
  3201. splay_tree_remove): Use the splay tree's allocation and
  3202. deallocation functions.
  3203. 2002-02-19 Scott Snyder <snyder@fnal.gov>
  3204. * testsuite/demangle-expected: Add test case for infinite loop in
  3205. demangler.
  3206. * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
  3207. if do_type() doesn't make any progress --- prevents an infinite
  3208. loop.
  3209. 2002-02-18 Carlo Wood <carlo@gnu.org>
  3210. PR c++/5390
  3211. * cplus-dem.c (demangle_integral_value): Accept multi-digit
  3212. numbers that do not start with an underscore; This is needed
  3213. for integer template parameters. This doesn't break anything
  3214. because multi-digit numbers are never followed by a digit.
  3215. * testsuite/demangle-expected: Corrected all mangled test
  3216. cases with multi-digit template parameters: g++ 2.95.x does
  3217. not generate underscores around these parameters.
  3218. 2002-02-05 Jason Merrill <jason@redhat.com>
  3219. * cplus-dem.c (flags): Add DMGL_VERBOSE
  3220. (cplus_demangle_v3_p): Remove.
  3221. (demangle_it): Add DMGL_TYPES to passed flags.
  3222. * cp-demangle.c (cplus_demangle_v3_all): Remove.
  3223. (cplus_demangle_v3_type): Remove.
  3224. (cplus_demangle_v3): Add options parm.
  3225. 2002-02-02 H.J. Lu (hjl@gnu.org)
  3226. * cp-demangle.c (cp_demangle_type): Do not protect with
  3227. IN_LIBGCC2.
  3228. (cplus_demangle_v3_all): New.
  3229. (cplus_demangle_v3): Call cplus_demangle_v3_all.
  3230. (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
  3231. * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
  3232. Initialized to cplus_demangle_v3.
  3233. (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
  3234. of cplus_demangle_v3.
  3235. (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
  3236. command line symbol.
  3237. * testsuite/regress-demangle: Pass the mangled name at the
  3238. command line.
  3239. 2002-02-01 H.J. Lu <hjl@gnu.org>
  3240. * cp-demangle.c (cp_demangle_type): Call demangling_new with
  3241. DMGL_GNU_V3.
  3242. 2002-01-31 Phil Edwards <pme@gcc.gnu.org>
  3243. * cp-demangle.c: Revert yesterday's change.
  3244. 2002-01-31 Adam Megacz <adam@xwt.org>
  3245. * gcc/libiberty/configure.in: Treat mingw the same as cywin
  3246. wrt HAVE_SYS_ERRLIST.
  3247. 2002-01-30 Phil Edwards <pme@gcc.gnu.org>
  3248. * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
  3249. (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
  3250. cp_demangle_type.
  3251. * testsuite/demangle-expected: New gnu-v3 test.
  3252. 2002-01-22 Momchil Velikov <velco@fadata.bg>
  3253. * configure.in (variable detection): Use arrays of unspecified
  3254. size instead of plain integers.
  3255. 2002-01-18 DJ Delorie <dj@redhat.com>
  3256. * Makefile.in (TESTLIB): New. This library is for future
  3257. testsuites.
  3258. (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
  3259. break down by letter.
  3260. (REQUIRED_OFILES): List long-to-compile files first.
  3261. (maint-deps): New, target for updating dependencies.
  3262. (dependencies): Update.
  3263. * maint-tool: Add dependency-generating option.
  3264. * configure.in: Check for _doprnt even if we're not providing it.
  3265. * configure: Regenerate.
  3266. * _doprnt.c: Modifications to allow compiling on any platform.
  3267. * copysign.c: Likewise.
  3268. * putenv.c: Likewise.
  3269. * setenv.c: Likewise.
  3270. * vsprintf.c: Likewise.
  3271. 2002-01-15 Douglas B Rupp <rupp@gnat.com>
  3272. * mkstemps.c (mkstemps): On VMS, open temp file with option
  3273. that causes it to be deleted when closed.
  3274. 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3275. * cp-demangle.c (long_options): Const-ify.
  3276. * cplus-dem.c (long_options): Likewise.
  3277. * cplus-dem.c (mystrstr): Delete. All callers changed to use
  3278. strstr instead.
  3279. 2001-12-31 Ira Ruben <ira@apple.com>
  3280. * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
  3281. * configure: Regenerated.
  3282. 2001-12-24 Douglas B. Rupp <rupp@gnat.com>
  3283. * configure.in (uintptr_t): Use AC_CHECK_TYPE.
  3284. * configure: Regenerated.
  3285. 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
  3286. PR other/2719
  3287. * cplus-dem.c (consume_count): Treat negative count as an error.
  3288. * testsuite/demangle-expected: Added testcase.
  3289. Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
  3290. * configure.in: Hardcode that vfork works on VMS host.
  3291. * configure: Regenerated.
  3292. 2001-12-06 Richard Henderson <rth@redhat.com>
  3293. * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
  3294. (cplus_demangle): Support no_demangling.
  3295. 2001-11-27 Zack Weinberg <zack@codesourcery.com>
  3296. * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
  3297. in libiberty context. Fix typo in leading comment.
  3298. * configure.in: Fix various AC_DEFINEs so autoheader works.
  3299. If any of vprintf, vsprintf, vfprintf is missing from libc,
  3300. then AC_REPLACE_FUNCS(_doprnt).
  3301. 2001-11-26 DJ Delorie <dj@redhat.com>
  3302. Daniel Jacobowitz <drow@mvista.com>
  3303. * Makefile.in (stamp-h): Depend on Makefile for proper
  3304. serialization.
  3305. (*-subdir): Depend on config.h for proper serialization.
  3306. 2001-11-26 DJ Delorie <dj@redhat.com>
  3307. * configure.in: Check for alloca.h (for regex.c and putenv.c).
  3308. * configure: Regenerate.
  3309. * config.h: Add HAVE_ALLOCA_H.
  3310. 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3311. * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
  3312. defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
  3313. is available.
  3314. Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
  3315. * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
  3316. * configure.in (HAVE_UINTPTR_T): Test for system defining
  3317. uintptr_t and define HAVE_UINTPTR_T appropriately.
  3318. * regex.c (uintptr_t): Do not provide a definition if the
  3319. system provided one.
  3320. * regex.c (PREFIX): Provide an alternate definition for
  3321. non-ANSI/ISO compilers.
  3322. (ARG_PREFIX): Likewise.
  3323. 2001-11-12 Jim Meyering <meyering@lucent.com>
  3324. * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
  3325. this code would end up calling gettext even in packages built
  3326. with --disable-nls.
  3327. * getopt.c (_): Likewise.
  3328. * regex.c (_): Likewise.
  3329. 2001-11-03 Alan Modra <amodra@bigpond.net.au>
  3330. * configure.in: Cope with missing makeinfo.
  3331. * configure: Regenerate.
  3332. 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3333. * hex.c (hex_init): Provide empty stub.
  3334. * hex.c (hex_init): Delete.
  3335. (_hex_value): Const-ify and initialize at compile-time.
  3336. 2001-10-19 H.J. Lu <hjl@gnu.org>
  3337. * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
  3338. necessary.
  3339. 2001-10-17 DJ Delorie <dj@redhat.com>
  3340. * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
  3341. ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
  3342. mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
  3343. Improve manual formatting.
  3344. * functions.texi: Regenerate.
  3345. 2001-10-15 DJ Delorie <dj@redhat.com>
  3346. * Makefile.in (TEXIFILES): Add fnmatch.txh.
  3347. (maint-undoc): New.
  3348. maint-tool: Add "undoc" tool.
  3349. * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
  3350. fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
  3351. make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
  3352. strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
  3353. documentation.
  3354. * fnmatch.txh: New.
  3355. * functions.texi: Regenerate.
  3356. 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
  3357. * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
  3358. * strtod.c: Use "ISO C" instead of "ANSI C".
  3359. * functions.texi: Regenerate.
  3360. 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
  3361. * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
  3362. libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
  3363. strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
  3364. xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
  3365. spelling. Give names to function arguments in documentation. Use
  3366. (void) prototypes in documentation.
  3367. * functions.texi: Regenerate.
  3368. 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3369. * argv.c (buildargv, tests, main): Const-ify.
  3370. * cp-demangle.c (operator_code): Likewise.
  3371. * cplus-dem.c (optable, libiberty_demanglers,
  3372. cplus_demangle_set_style, cplus_demangle_name_to_style,
  3373. print_demangler_list): Likewise.
  3374. * hashtab.c (higher_prime_number): Likewise.
  3375. * strcasecmp.c (charmap): Likewise.
  3376. * strerror.c (error_info, strerror, main): Likewise.
  3377. * strncasecmp.c (charmap): Likewise.
  3378. * strsignal.c (signal_info): Likewise.
  3379. 2001-09-29 DJ Delorie <dj@redhat.com>
  3380. * configure: Regenerate.
  3381. 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3382. * concat.c: Include stdlib.h.
  3383. 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
  3384. * libiberty.texi: (Top level): Add syncodeindex pg. Add
  3385. @dircategory and @direntry directives. Add @finalout.
  3386. (many nodes): Lose the next,prev,up pointers on the @nide line.
  3387. (Using, Supplemental Functions, Replacement Functions): Fix
  3388. markup.
  3389. (Functions): Move around, to allow makeinfo to build the manual
  3390. without next,prev,up pointers in thye node lines.
  3391. (Licenses): Fix typos.
  3392. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
  3393. strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
  3394. * functions.texi: Regenerate.
  3395. * copying-lib.texi: Lose the next,prev,up pointers on the @node
  3396. line.
  3397. 2001-09-27 DJ Delorie <dj@redhat.com>
  3398. * configure.in: Don't use in-tree texinfo, because libiberty must
  3399. be built before it. Check for makeinfo version 4 or higher.
  3400. * functions.texi: Regenerate.
  3401. 2001-09-20 DJ Delorie <dj@redhat.com>
  3402. Phil Edwards <pedwards@disaster.jaj.com>
  3403. * configure.in (MAKEINFO, PERL): Detect these.
  3404. (--enable-maintainer-mode): Add.
  3405. * configure: Regenerate.
  3406. * Makefile.in (MAKEINFO, PERL): Define.
  3407. (libiberty.info, libiberty.dvi, libiberty.html): New.
  3408. (CFILES): Add bsearch.c.
  3409. (CONFIGURED_OFILES): New, list of objects configure might add.
  3410. (maint-missing, maint-buildall): New, for maintainers only.
  3411. (clean, mostlyclean): Add info/dvi/html files.
  3412. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
  3413. * gather-docs: New, for maintainers.
  3414. * maint-tool: New, for maintainers.
  3415. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
  3416. bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
  3417. getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
  3418. memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
  3419. sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
  3420. strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
  3421. tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
  3422. xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
  3423. documentation.
  3424. 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3425. * concat.c (reconcat): Fix for traditional C.
  3426. 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3427. * concat.c (reconcat): New function.
  3428. 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3429. * concat.c (vconcat_length, vconcat_copy, concat_length,
  3430. concat_copy, concat_copy2): New functions.
  3431. (concat): Use vconcat_length/vconcat_copy.
  3432. * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
  3433. Define.
  3434. 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3435. * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
  3436. VA_FIXEDARG & VA_CLOSE.
  3437. * vasprintf.c: Check HAVE_STRING_H when including string.h.
  3438. (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
  3439. Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
  3440. 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3441. * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
  3442. 2001-08-23 Ulrich Drepper <drepper@redhat.com>
  3443. * regex.c (truncate_wchar): Use wcrtomb not wctomb.
  3444. 2001-08-23 Ulrich Drepper <drepper@redhat.com>
  3445. * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
  3446. instead of mbrtowc.
  3447. [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
  3448. wcslen, and __wcscoll instead of wcscoll.
  3449. 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
  3450. * fibheap.c (fibheap_init, fibnode_init): Remove.
  3451. (fibheap_new, fibnode_new): Use xcalloc to allocate and
  3452. initialize memory.
  3453. (fibheap_insert): Remove check for node allocation failure.
  3454. 2001-08-21 Richard Henderson <rth@redhat.com>
  3455. * Makefile.in (fibheap.o): Depend on config.h.
  3456. * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
  3457. functions for inlining.
  3458. Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
  3459. * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
  3460. hosting on cygwin.
  3461. * configure: Regenerate.
  3462. 2001-08-20 Andrew Cagney <ac131313@redhat.com>
  3463. * floatformat.c (floatformat_m88110_ext): Remove #ifdef
  3464. HARRIS_FLOAT_FORMAT.
  3465. (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
  3466. (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
  3467. (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
  3468. (floatformat_m88110_harris_ext): New float formats.
  3469. 2001-08-20 Daniel Berlin <dan@cgsoftware.com>
  3470. * fibheap.c: New file. Fibonacci heap.
  3471. * Makefile.in (CFILES): Add fibheap.c.
  3472. (REQUIRED_OFILES): Add fibheap.o.
  3473. (fibheap.o): Add dependencies for fibheap.o.
  3474. 2001-08-17 Christopher Faylor <cgf@cygnus.com>
  3475. * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
  3476. * configure: Regenerate.
  3477. 2001-08-16 Richard Henderson <rth@redhat.com>
  3478. * hashtab.c (htab_hash_string): New.
  3479. 2001-08-13 Andrew Cagney <ac131313@redhat.com>
  3480. * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
  3481. name.
  3482. 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
  3483. * regex.c (wcs_regex_compile): Use appropriate string
  3484. to compare with collating element.
  3485. Fix the padding for the alignment.
  3486. 2001-08-10 Andrew Cagney <ac131313@redhat.com>
  3487. * lbasename.c (lbasename): Change function definition to return a
  3488. const char pointer.
  3489. 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
  3490. * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
  3491. for".
  3492. 2001-08-03 Richard Henderson <rth@redhat.com>
  3493. * Makefile.in (concat.o): Depend on config.h.
  3494. 2001-07-30 Andreas Jaeger <aj@suse.de>
  3495. * concat.c: Include "config.h".
  3496. 2001-07-30 Andreas Jaeger <aj@suse.de>
  3497. * regex.c: Declare wcs functions only if compiling with
  3498. MBS_SUPPORT.
  3499. Don't use #elif for traditional C.
  3500. 2001-07-23 Ulrich Drepper <drepper@redhat.com>
  3501. * regex.c: Revamp memory allocation for WCHAR functions to
  3502. not use too much stack.
  3503. 2001-07-30 Andreas Jaeger <aj@suse.de>
  3504. * regex.c: Declare wcs functions only if compiling with
  3505. MBS_SUPPORT.
  3506. Don't use #elif for traditional C.
  3507. 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
  3508. * Makefile.in (regex.o): Add dependency on config.h.
  3509. 2001-07-18 Andreas Schwab <schwab@suse.de>
  3510. * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
  3511. underscore character.
  3512. 2001-07-18 Ulrich Drepper <drepper@redhat.com>
  3513. * regex.c: Limit string length printed in debug messages to 100
  3514. chars.
  3515. 2001-07-18 Andreas Jaeger <aj@suse.de>
  3516. * regex.c: Place under LGPL version 2.1.
  3517. 2001-07-10 Jeff Johnston <jjohnstn@redhat.com>
  3518. * Makefile.in: Add support for regex code.
  3519. * regex.c: New file.
  3520. 2001-07-05 Mark Klein <mklein@dis.com>
  3521. * Makefile.in: Add ffs.c dependency.
  3522. * configure.in: Add ffs.c.
  3523. * ffs.c: New file.
  3524. 2001-06-18 Richard Henderson <rth@redhat.com>
  3525. * concat.c: Include <sys/types.h>.
  3526. 2001-06-11 Loren J. Rittle <ljrittle@acm.org>
  3527. bootstrap/3106
  3528. * strerror.c (sys_nerr): Hide the OS header version.
  3529. * strsignal.c (sys_nsig): Likewise.
  3530. 2001-06-10 Richard Henderson <rth@redhat.com>
  3531. * concat.c: Include string.h. Fix int vs size_t usage.
  3532. Simplify the iteration loops. Use memcpy.
  3533. 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
  3534. * partition.c: Fix misspelling of `implementation'.
  3535. 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
  3536. * md5.c (md5_init_ctx): Declare constants as unsigned.
  3537. (md5_process_block): Likewise.
  3538. 2001-05-07 Zack Weinberg <zackw@stanford.edu>
  3539. * cp-demangle.c (demangle_v3_with_details,
  3540. is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
  3541. function definition.
  3542. * ternary.c: Use K+R style function definitions. Use PTR, not
  3543. void *. Make arguments constant where possible.
  3544. 2001-05-07 Mark Mitchell <mark@codesourcery.com>
  3545. * splay-tree.h (splay_tree_max): New function.
  3546. (splay_tree_min): Likewise.
  3547. 2001-04-15 Daniel Berlin <dan@cgsoftware.com>
  3548. * ternary.c: New file - Ternary search tree implementation.
  3549. * Makefile.in: Add ternary.o, and ternary.c dependencies.
  3550. 2001-04-03 Zack Weinberg <zackw@stanford.edu>
  3551. * make-temp-file.c (try): Inline.
  3552. 2001-02-28 Richard Henderson <rth@redhat.com>
  3553. * Makefile.in (make-temp-file.o): Depend on config.h.
  3554. 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3555. * memchr.c (memchr): Adjust condition to avoid infinite loop.
  3556. 2001-03-23 Jakub Jelinek <jakub@redhat.com>
  3557. * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
  3558. `_' not followed by a digit is invalid.
  3559. 2001-03-22 Jim Blandy <jimb@redhat.com>
  3560. * cp-demangle.c (string_list_delete): Use dyn_string_delete
  3561. instead of free, to free the contents as well as the string
  3562. structure.
  3563. 2001-03-21 Zack Weinberg <zackw@stanford.edu>
  3564. * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
  3565. Don't default P_tmpdir to anything. Try /var/tmp before
  3566. /usr/tmp.
  3567. 2001-03-20 Zack Weinberg <zackw@stanford.edu>
  3568. * choose-temp.c: Split off make_temp_file, and the code
  3569. duplicated between it and choose_temp_base, into...
  3570. * make-temp-file.c: ... here; new file.
  3571. * Makefile.in (CFILES): Add make-temp-file.c.
  3572. (REQUIRED_OFILES): Add make-temp-file.o.
  3573. 2001-03-20 Jim Blandy <jimb@redhat.com>
  3574. * cp-demangle.c (struct demangling_def): New fields:
  3575. is_constructor and is_destructor.
  3576. (demangling_new): Initialize them.
  3577. (demangle_ctor_dtor_name): Set them, if we detect a constructor
  3578. or destructor.
  3579. (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
  3580. is_gnu_v3_mangled_dtor): New functions.
  3581. 2001-03-20 Jason Merrill <jason@redhat.com>
  3582. * cplus-dem.c (main): Skip initial $.
  3583. 2001-03-15 Michael Meissner <meissner@redhat.com>
  3584. * hashtab.c (higher_prime_number): Silence warning that 4294967291
  3585. might be a signed integer under pre-ISO C systems.
  3586. 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
  3587. John David Anglin <dave@hiauly1.hia.nrc.ca>
  3588. * libiberty/lbasename.c: New file.
  3589. * libiberty/Makefile.in: Update for lbasename.
  3590. 2001-03-06 Zack Weinberg <zackw@stanford.edu>
  3591. * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
  3592. * configure.in: Replace all alloca logic with a simple use of
  3593. the above new macro.
  3594. * config.table: Kill *-*-beos* entry.
  3595. * config/mh-beos: Delete.
  3596. * configure, config.in: Regenerate.
  3597. * Makefile.in (ALLOCA, HFILES): Kill.
  3598. (REQUIRED_OFILES): Add alloca.o.
  3599. (alloca.o): Depend on libiberty.h.
  3600. (argv.o): Don't depend on alloca-conf.h.
  3601. * alloca-conf.h: Delete.
  3602. * alloca.c: Include libiberty.h. Kill all #ifdef emacs
  3603. blocks. Provide the C alloca unconditionally. Use PTR where
  3604. appropriate. Make i00afunc static.
  3605. * argv.c: Don't include alloca-conf.h.
  3606. 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
  3607. * cplus-dem.c (main): Cast enum style to int.
  3608. 2001-02-16 Loren J. Rittle <ljrittle@acm.org>
  3609. * cplus-dem.c (main): Initialize style.
  3610. 2001-02-02 Phil Edwards <pme@sources.redhat.com>
  3611. * COPYING.LIB: Update to LGPL 2.1 from the FSF.
  3612. 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
  3613. Add support for Java demangling under the v3 ABI:
  3614. * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
  3615. (struct demangling_def): Add `style' field.
  3616. (demangling_new): New parameter `style'. Set it in demangling_t.
  3617. (demangle_prefix): Use NAMESPACE_SEPARATOR.
  3618. (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
  3619. (cp_demangle): New parameter `style'. Pass it to demangling_new().
  3620. (main): Call cp_demangle with extra parameter.
  3621. (java_demangle_v3): New function.
  3622. (java_builtin_type_names): New. Table of primitive type names used
  3623. for Java demangling.
  3624. (demangle_builtin_type): Look up in java_builtin_type_names if doing
  3625. Java output.
  3626. * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
  3627. demangling.
  3628. (long_options): Remove obsolete `java' option.
  3629. (main): Remove explicit handling of `java' option. Instead, pass style
  3630. parameter in cplus_demangle flags as gdb does.
  3631. * testsuite/demangle.expected: Add some Java test cases.
  3632. 2000-12-29 DJ Delorie <dj@redhat.com>
  3633. * fnmatch.c: Make the note about the origins of this file more
  3634. accurate, at least until we can sync with glibc.
  3635. * getopt.c: Ditto.
  3636. * getopt1.c: Ditto.
  3637. * md5.c: Ditto.
  3638. * obstack.c: Ditto.
  3639. 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3640. * bsearch.c: New file.
  3641. * configure.in (funcs): Add bsearch.
  3642. (AC_CHECK_FUNCS): Likewise.
  3643. * configure, config.in: Regenerate.
  3644. 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3645. * safe-ctype.c: #include "ansidecl.h".
  3646. * strtod.c: Likewise.
  3647. 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3648. * strtoul.c: Include safe-ctype.h, not ctype.h.
  3649. 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
  3650. * safe-ctype.c: New file.
  3651. * Makefile.in (CFILES): Add safe-ctype.c.
  3652. (REQUIRED_OFILES): Add safe-ctype.o.
  3653. * argv.c: Define ISBLANK and use it, not isspace.
  3654. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
  3655. strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
  3656. uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
  3657. before calling TOLOWER(c)/TOUPPER(c).
  3658. 2000-12-07 Mike Stump <mrs@wrs.com>
  3659. * Makefile.in (distclean): When cleaning, remove testsuite.
  3660. 2000-12-05 Jason Merrill <jason@redhat.com>
  3661. * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
  3662. name before allocating the dyn_string.
  3663. 2000-12-04 Jason Merrill <jason@redhat.com>
  3664. * cp-demangle.c: s/new_abi/v3/.
  3665. * cplus-dem.c: Likewise.
  3666. (current_demangling_style): Now auto_demangling.
  3667. (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
  3668. (main): Use standard symbol chars for auto_demangling.
  3669. 2000-11-26 Mark Mitchell <mark@codesourcery.com>
  3670. * hashtab.c (higher_prime_number): Use a table, rather than a
  3671. seive, to find the next prime.
  3672. 2000-11-22 H.J. Lu <hjl@gnu.org>
  3673. * cplus-dem.c (main): Handle gnat_demangling.
  3674. 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
  3675. * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
  3676. (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
  3677. * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
  3678. argument form of AC_DEFINE in dummy definitions block. Use
  3679. AC_DEFINE_NOAUTOHEADER for real definitions of things defined
  3680. in dummy block. Preload cache variables instead of bypassing
  3681. tests, where possible.
  3682. * acconfig.h: Removed.
  3683. * xmalloc.c (xmalloc_failed): New function, does error
  3684. reporting on failed allocation.
  3685. (xmalloc, xcalloc, xrealloc): Use it.
  3686. 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
  3687. * cplus-dem.c (cplus_demangle): Fix formatting.
  3688. (grow_vect): Ditto.
  3689. (ada_demangle): Ditto.
  3690. (internal_cplus_demangle): Ditto.
  3691. (mop_up): Ditto.
  3692. 2000-11-21 H.J. Lu <hjl@gnu.org>
  3693. * cplus-dem.c (main): Handle java_demangling.
  3694. 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3695. * cplus-dem.c (grow_vect): Prototype.
  3696. (ada_demangle): Cast the arg of ctype macros to unsigned char.
  3697. 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
  3698. * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
  3699. parameter `option'.
  3700. 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
  3701. * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
  3702. be used in GCC.
  3703. 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
  3704. * cplus-dem.c: Add gnat demangler. Add java to demangle style
  3705. list.
  3706. 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
  3707. * hashtab.c (htab_expand): Change to return int. Use calloc or
  3708. xcalloc depending on htab->return_allocation_failure. Return zero
  3709. if calloc fails.
  3710. (htab_create): Update comment to cover memory allocation.
  3711. (htab_try_create): New.
  3712. (htab_find_slot_with_hash): Return NULL if htab_expand fails.
  3713. Update comment to cover this.
  3714. 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
  3715. * hashtab.c: Change void * to PTR where necessary.
  3716. (htab_create, htab_expand): Correct formatting of comment before
  3717. function.
  3718. 2000-10-22 Alex Samuel <samuel@codesourcery.com>
  3719. * cp-demangle.c (string_list_def): Add caret_position and comments.
  3720. (result_caret_pos): New macro.
  3721. (result_append_string): Rename to...
  3722. (result_add_string): ... this, and insert at caret position.
  3723. Rename throughout.
  3724. (result_append): Rename to...
  3725. (result_add): ... this, and insert at caret position. Rename
  3726. throughout.
  3727. (result_append_char): Rename to...
  3728. (result_add_char): ... this, and insert at caret position. Rename
  3729. throughout.
  3730. (result_append_space): Remove.
  3731. (string_list_new): Initialize caret position.
  3732. (result_add_separated_char): Use caret position.
  3733. (result_get_caret): New funtion.
  3734. (result_set_caret): Likewise.
  3735. (result_shift_caret): Likewise.
  3736. (result_previous_char_is_space): Likewise.
  3737. (substitution_start): Use caret position.
  3738. (substitution_add): Likewise.
  3739. (demangling_new): Initialize caret position.
  3740. (demangle_encoding): Use caret position.
  3741. (demanglin_nested_name): Put CV qualifiers after name.
  3742. (demangle_type_ptr): Use switch statement. Handle pointers to
  3743. arrays. Don't use result_append_space. Use caret position.
  3744. (demangle_type): Emit CV qualifiers after underlying type. Adjust
  3745. call to demangle_array_type.
  3746. (demangle_array_type): Add parameter to handle pointers to arrays.
  3747. 2000-10-01 Mark Mitchell <mark@codesourcery.com>
  3748. * splay-tree.c (splay_tree_insert): Fix formatting.
  3749. 2000-09-16 Mark Mitchell <mark@codesourcery.com>
  3750. * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
  3751. 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3752. * splay-tree.c: #include <stdio.h>.
  3753. 2000-09-14 Hans-Peter Nilsson <hp@axis.com>
  3754. * testsuite/demangle-expected: Add two tests for anonymous
  3755. namespaces.
  3756. * cplus-dem.c (gnu_special): Handle anonymous namespaces.
  3757. 2000-09-10 Mark Mitchell <mark@codesourcery.com>
  3758. * splay-tree.c (splay_tree_predecessor): New function.
  3759. (splay_tree_successor): Likewise.
  3760. 2000-09-10 Hans-Peter Nilsson <hp@axis.com>
  3761. * testsuite/demangle-expected: Add four tests for type_info
  3762. mangling.
  3763. * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
  3764. for a non-template non-qualified type_info function or node.
  3765. 2000-09-08 Alex Samuel <samuel@codesourcery.com>
  3766. * cp-demangle.c: Fix copyright banner.
  3767. 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3768. * md5.c: #include "ansidecl.h".
  3769. 2000-09-06 Alex Samuel <samuel@codesourcery.com>
  3770. * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
  3771. (demangle_type): Handle substitution candidates correctly in the
  3772. face of special substitutions.
  3773. 2000-09-05 Alex Samuel <samuel@codesourcery.com>
  3774. * cp-demangle.c (demangle_encoding): Rename variable.
  3775. (demangle_name): Rename parameter. Handle return type
  3776. suppression.
  3777. (demangle_nested_name): Rename parameter.
  3778. (demangle_prefix): Likewise. Change return type suppression.
  3779. (demangle_unqualified_name): Add parameter. Flag constructors and
  3780. conversion operators.
  3781. (demangle_special_name): Fix comment.
  3782. (demangle_type): Rename variable.
  3783. (demangle_bare_function_type): Check for missing return type and
  3784. parameter.
  3785. (demangle_class_enum_type): Rename parameter.
  3786. (demangle_discriminator): Fix misspelling in comment.
  3787. 2000-08-31 DJ Delorie <dj@redhat.com>
  3788. * configure.in (Cygwin): special case cygwin only when we're
  3789. building cygwin, not when we're hosting cygwin.
  3790. 2000-09-04 Alex Samuel <samuel@codesourcery.com>
  3791. * cp-demangle.c (demangle_template_arg): Eat an `E' after an
  3792. <expression>.
  3793. 2000-09-04 Alex Samuel <samuel@codesourcery.com>
  3794. * cp-demangle.c (demangle_type_ptr): Increment position past
  3795. pointer and reference characters.
  3796. 2000-09-04 Alex Samuel <samuel@codesourcery.com>
  3797. * cp-demangle.c (demangle_nv_offset): New function.
  3798. (demangle_v_offset): Likewise.
  3799. (demangle_call_offset): Likewise.
  3800. (demangle_special_name): Update thunk demangling to comply with
  3801. ABI changes.
  3802. 2000-09-03 Alex Samuel <samuel@codesourcery.com>
  3803. * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
  3804. (substitution_def): Remove template_parm_number.
  3805. (NOT_TEMPLATE_PARM): Remove.
  3806. (result_insert_string): New macro.
  3807. (result_insert): Likewise.
  3808. (result_insert_char): Likewise.
  3809. (substitution_add): Remove last parameter. Don't store template
  3810. parm number.
  3811. (BFT_NO_RETURN_TYPE): Define as NULL.
  3812. (demangle_encoding): Adjust call to demangle_bare_function_type.
  3813. (demangle_name): Adjust substitution. Adjust call to
  3814. substitution_add.
  3815. (demangle_prefix): Adjust call to substitution_add.
  3816. (demangle_identifier): Handle anonymous namespaces.
  3817. (demangle_operator_name): Change demangling of vendor-extended
  3818. operator to match ABI changes.
  3819. (demangle_type_ptr): Change parameters. Make recursive. Handle
  3820. substitutions here.
  3821. (demangle_type): Adjust calls to demangle_template_param,
  3822. substitution_add, and demangle_type_ptr. Fix substitution of
  3823. templated types.
  3824. (demangle_function_type): Change parameter to a pointer.
  3825. (demangle_bare_function_type): Likewise. Adjust insertion point.
  3826. (demangle_template_param): Remove last parameter.
  3827. (demangle_expr_primary): Remove unused variable. Adjust call to
  3828. demangle_template_param.
  3829. (is_mangled_char): Accept `$' and `.'.
  3830. * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
  3831. * dyn-string.c (dyn_string_insert_char): New function.
  3832. 2000-08-31 Hans-Peter Nilsson <hp@axis.com>
  3833. * testsuite/demangle-expected: Add nine tests for
  3834. underscore-after-number followed by five tests for name-signature
  3835. delimiter.
  3836. 2000-08-28 Richard Henderson <rth@cygnus.com>
  3837. * Makefile.in (md5.o): Depend on config.h.
  3838. 2000-08-28 Jason Merrill <jason@redhat.com>
  3839. * Makefile.in (REQUIRED_OFILES): Add md5.o.
  3840. (CFILES): Add md5.c.
  3841. * md5.c: New file.
  3842. 2000-08-27 Alex Samuel <samuel@codesourcery.com>
  3843. * cp-demangle.c (demangle_name): Initialize template_p in local
  3844. name case. Don't re-add substitutions as candidates.
  3845. (demangle_nested_name): Use <unqualified-name>.
  3846. (demangle_prefix): Likewise. Don't add template names as
  3847. substitution candidates twice, or re-add a substitution or the
  3848. last prefix component.
  3849. (demangle_local_name): Adjust output format.
  3850. 2000-08-25 Alex Samuel <samuel@codesourcery.com>
  3851. * cp-demangle.c (result_add_separated_char): Change parameter to
  3852. int.
  3853. (substitution_add): Don't check for duplicates. Check if
  3854. previously allocated size is zero.
  3855. (demangle_name): Remove duplicate check for std substitution.
  3856. Clear template flag appropriately.
  3857. (demangle_prefix): Remove argument to demangle_substitution.
  3858. Don't check that template flag is already set.
  3859. (demangle_operator_name): Add pt operator.
  3860. (demangle_type): Don't treat r as built-in type. Remove argument
  3861. to demangle_substitution. Fix substitution candidate mechanics.
  3862. Handle <template-template-parm>s. Improve comments.
  3863. (demangle_template_param): Don't handle template arg lists here.
  3864. (demangle_substitution): Remove parameter.
  3865. (print_usage): Remove extra fprintf option.
  3866. 2000-08-24 Greg McGary <greg@mcgary.org>
  3867. * libiberty/random.c (end_ptr): Revert previous change.
  3868. 2000-08-24 Greg McGary <greg@mcgary.org>
  3869. * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
  3870. demangle_expression, demangle_function_name): Use ARRAY_SIZE.
  3871. * libiberty/random.c (end_ptr): Likewise.
  3872. 2000-08-23 Alex Samuel <samuel@codesourcery.com>
  3873. * cp-demangle.c (result_close_template_list): Remove function.
  3874. (result_add_separated_char): New function.
  3875. (result_open_template_list): New macro.
  3876. (result_close_template_list): Likewise.
  3877. (demangle_prefix): Don't set template_p if the
  3878. prefix ends with a ctor name.
  3879. (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
  3880. (demangle_type): Check for template args after substitution.
  3881. (demangle_template_args): Use result_open_template_list.
  3882. 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
  3883. * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
  3884. 2000-07-26 Dave Pitts <dpitts@cozx.com>
  3885. * config/mh-openedition.h: Added -DLE370 definition.
  3886. 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
  3887. * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
  3888. __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
  3889. Cast program to 'char *' in errmsg_arg assignment.
  3890. (PWAIT_ERROR): Define.
  3891. (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
  3892. to DJGPP's WIF* macros.
  3893. 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
  3894. Jeff Law <law@cygnus.com>
  3895. * getcwd.c: Include string.h, stdlib.h for prototypes
  3896. * Makefile.in (rename.o, waitpid.o): Depend on config.h
  3897. * rename.c: Include config.h, unistd.h
  3898. * waitpid.c: Include config.h, sys/wait.h
  3899. 2000-07-24 Hans-Peter Nilsson <hp@axis.com>
  3900. * cplus-dem.c (work_stuff_copy_to_from): New.
  3901. (delete_non_B_K_work_stuff): New.
  3902. (delete_work_stuff): New.
  3903. (mop_up): Break out work_stuff partly destruction to
  3904. delete_non_B_K_work_stuff.
  3905. (iterate_demangle_function): New.
  3906. (demangle_prefix): Call iterate_demangle_function instead of
  3907. demangle_function_name. Leave handling of name-signature
  3908. __-delimiters to iterate_demangle_function.
  3909. (demangle_integral_value): Strip an optional
  3910. following underscore cautiously. Handle negative numbers.
  3911. 2000-07-24 Daniel Berlin <dberlin@redhat.com>
  3912. * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
  3913. if (AUTO_DEMANGLING || GNU_DEMANGLING)
  3914. 2000-07-21 Alex Samuel <samuel@codesourcery.com>
  3915. * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
  3916. allocating ctor mangling.
  3917. (demangle_array_type): Handle empty and non-constant array length.
  3918. 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  3919. Jeff Law <law@cygnus.com>
  3920. * configure.in (AC_CHECK_HEADERS): Add time.h.
  3921. (AC_HEADER_TIME): Add check.
  3922. * configure, config.in: Regenerate.
  3923. * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
  3924. * configure.in (AC_CHECK_HEADERS): Add limits.h.
  3925. * configure, config.in: Regenerate.
  3926. * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
  3927. * strtol.c, strtoul.c: #include "config.h". Portably #include
  3928. <limits.h> and/or <sys/param.h>.
  3929. * Makefile.in (strtol.o, strtoul.o): Update dependencies.
  3930. * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
  3931. * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
  3932. * configure, config.in: Regenerate.
  3933. * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
  3934. * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
  3935. 2000-07-21 Mike Stump <mrs@wrs.com>
  3936. * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
  3937. * (vasprintf.o): Add dependency for config.h in vasprintf.c.
  3938. 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  3939. * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
  3940. * setenv.c (setenv): Initialize variable `ep'.
  3941. * sigsetmask.c (abort): Prototype.
  3942. * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
  3943. __STDC__ for stdarg.h include.
  3944. (int_vasprintf): Prototype.
  3945. (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
  3946. definition. Cast `global_total_width' in comparison.
  3947. (main): Prototype. Return a value.
  3948. * vfork.c (fork): Prototype.
  3949. * xexit.c: Include config.h.
  3950. 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
  3951. * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
  3952. and print it with %u.
  3953. 2000-07-17 Hans-Peter Nilsson <hp@axis.com>
  3954. * testsuite/regress-demangle (failed test): Show result and
  3955. expected output.
  3956. 2000-07-07 Andrew Haley <aph@cygnus.com>
  3957. * cplus-dem.c (main): fflush() after emitting last char before
  3958. waiting for input.
  3959. 2000-06-28 Alex Samuel <samuel@codesourcery.com>
  3960. * cp-demangle.c (demangle_encoding): Accept no substitutions.
  3961. (demangle_name): Handle <substitution> followed by
  3962. <unqualified-template-name>.
  3963. (demangle_type): Follow special substitutions with
  3964. <class-enum-type>
  3965. (demangle_subtitution): Set template_p for special substitutions.
  3966. (main): Fix typos.
  3967. 2000-06-27 Alex Samuel <samuel@codesourcery.com>
  3968. * cp-demangle.c (demangle_special_name): Swap base and derived
  3969. class when demangling construction vtables.
  3970. 2000-06-21 Alex Samuel <samuel@codesourcery.com>
  3971. * cp-demangle.c: Don't include ctype.h.
  3972. (IS_DIGIT): New macro.
  3973. (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
  3974. instead of isdigit and isalpanum.
  3975. (demangling_def): Make name and next const pointers.
  3976. (STATUS_ALLOCATION_FAILED): New status code.
  3977. (dyn_string_append_space): Handle failure in
  3978. dyn_string_append_char.
  3979. (int_to_dyn_string): Likewise. Change return value to status_t.
  3980. (string_list_new): Handle failure of dyn_string_init.
  3981. (result_close_template_list): Change return type to status_t.
  3982. Handle failure in dyn_string_append.
  3983. (result_push): Change return value to status_t. Handle failure in
  3984. string_list_new. Handle failure of result_push throughout.
  3985. (substitution_add): Change return value to status_t. Handle
  3986. dyn_string failures. Handle failure of substitution_add
  3987. throughout.
  3988. (template_arg_list_new): Return NULL on allocation failure.
  3989. (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
  3990. Handle error result throughout.
  3991. (result_append): Likewise.
  3992. (result_append_char): Likewise.
  3993. (result_append_space): Likewise.
  3994. (demangling_new): Make argument a const pointer. Handle
  3995. allocation failures.
  3996. (demangle_template_args): Handle failure in template_arg_list_new
  3997. and result_close_template_list.
  3998. (demangle_discriminator): Return if int_to_dyn_string fails.
  3999. (cp_demangle): Likewise.
  4000. (cp_demangle_type): New function.
  4001. (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
  4002. memory allocation failure.
  4003. (main): Likewise.
  4004. * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
  4005. IN_LIBGCC2.
  4006. (dyn_string_init): Change return value to int. Handle
  4007. RETURN_ON_ALLOCATION_FAILURE case.
  4008. (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
  4009. (dyn_string_release): Delete the dyn_string.
  4010. (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
  4011. (dyn_string_copy): Change return type to int.
  4012. (dyn_string_copy_cstr): Likewise.
  4013. (dyn_string_prepend): Likewise.
  4014. (dyn_string_prepend_cstr): Likewise.
  4015. (dyn_string_insert): Likewise.
  4016. (dyn_string_insert_cstr): Likewise.
  4017. (dyn_string_append): Likewise.
  4018. (dyn_string_append_cstr): Likewise.
  4019. (dyn_string_append_char): Likewise.
  4020. (dyn_string_substring): Likewise.
  4021. 2000-06-09 Zack Weinberg <zack@wolery.cumb.org>
  4022. * cp-demangle.c (demangle_operator_name): Add spaces before
  4023. names beginning with a letter: delete, delete[], new, new[],
  4024. sizeof.
  4025. (demangle_special_name): Handle TF <type> and TJ <type>.
  4026. Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
  4027. * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
  4028. Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
  4029. * cp-demangle.c (stdio.h): File included unconditionaly.
  4030. (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
  4031. * dyn-string.c (stdio.h): File included.
  4032. * partition.c (partition_print): No `&' needed to take the address of
  4033. a function.
  4034. 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4035. * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
  4036. * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
  4037. * cp-demangle.c (demangle_char): Change parameter from char to int.
  4038. (demangle_expression, demangle_expr_primary): Remove extra
  4039. semi-colon in prototype.
  4040. * dyn-string.c (dyn_string_append_char): Change parameter from
  4041. char to int.
  4042. * memcmp.c (memcmp): Constify.
  4043. * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
  4044. __extension__.
  4045. * partition.c (elem_compare): Prototype. Don't cast away
  4046. const-ness.
  4047. * setenv.c (setenv): Use braces to avoid ambiguous `else'.
  4048. 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4049. * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
  4050. * cp-demangle.c: Include demangle.h.
  4051. (template_arg_list_new): DeANSIfy.
  4052. (cp_demangle): Make static and add prototype.
  4053. (operator_code, operators): Constify.
  4054. (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
  4055. 2000-06-05 Alex Samuel <samuel@codesourcery.com>
  4056. * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
  4057. unsigned char.
  4058. (demangle_unqualified_name): Likewise.
  4059. (demangle_number_literally): Likewise.
  4060. (demangle_type): Likewise.
  4061. (demangle_substitution): Likewise.
  4062. (is_mangled_char): Likewise, for isalnum.
  4063. 2000-06-04 Alex Samuel <samuel@codesourcery.com>
  4064. * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
  4065. (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
  4066. (cp-demangle.o): New dependency.
  4067. (dyn-string.o): Likewise.
  4068. * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
  4069. * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
  4070. demangler.
  4071. (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
  4072. demangling mode.
  4073. (gnu_new_abi_symbol_characters): New function.
  4074. (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
  4075. file.
  4076. * cp-demangle.c: New file.
  4077. Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
  4078. * floatformat.c: Add name to each floatformat field.
  4079. Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
  4080. * Makefile.in (objalloc.o): Depend on config.h
  4081. 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
  4082. * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
  4083. if HAVE_STRING_H.
  4084. * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
  4085. * objalloc.c: Include config.h. Include stdlib.h and don't
  4086. declare malloc or free if HAVE_STDLIB_H.
  4087. * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
  4088. else declare malloc without prototype. Include string.h if
  4089. HAVE_STRING_H, else declare memset without prototype. Don't
  4090. include stddef.h.
  4091. 2000-05-23 Mike Stump <mrs@wrs.com>
  4092. * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
  4093. -j3.
  4094. 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
  4095. * xmalloc.c: Include config.h for HAVE_SBRK definition.
  4096. 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
  4097. * hashtab.c (hash_pointer): Delete low-order bits which are
  4098. probably zero, also eliminate a warning on alpha.
  4099. 2000-05-15 David Edelsohn <edelsohn@gnu.org>
  4100. * Makefile.in: Change "pic" to depend on $(PICFLAG), not
  4101. on $(enable_shared).
  4102. 2000-05-10 Jakub Jelinek <jakub@redhat.com>
  4103. * config.table: Use mh-sparcpic for sparc*-*-*.
  4104. 2000-05-08 Nick Clifton <nickc@cygnus.com>
  4105. * Makefile.in (CFILES): Add strncmp.c.
  4106. (NEEDED): Add strncmp.
  4107. 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4108. * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
  4109. Cast the arguments to `islower' to `unsigned char'.
  4110. (print_demangler_list): Prototype.
  4111. Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
  4112. * sort.c (UCHAR_MAX): Provide fallback definition.
  4113. 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
  4114. * Makefile.in (maintainer-clean-subdir): Fix handling of empty
  4115. SUBDIRS.
  4116. 2000-04-28 Kenneth Block <block@zk3.dec.com>
  4117. Jason Merrill <jason@casey.cygnus.com>
  4118. * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
  4119. (cplus_demangle_set_style): New function for setting style.
  4120. (cplus_demangle_name_to_style): New function to translate name.
  4121. 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4122. * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
  4123. * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
  4124. (libiberty_AC_FUNC_STRNCMP): Invoke.
  4125. * strncmp.c: New file.
  4126. Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
  4127. * hashtab.c (htab_expand): Add prototype.
  4128. (find_empty_slot_for_expand): Likewise.
  4129. 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4130. * hashtab.c (hash_pointer, eq_pointer): Make definition static to
  4131. match prototype.
  4132. (htab_expand): Cast the return value of xcalloc.
  4133. 2000-04-24 Mark Mitchell <mark@codesourcery.com>
  4134. * hashtab.c (hash_pointer): New function.
  4135. (eq_pointer): Likewise.
  4136. (htab_hash_pointer): New variable.
  4137. (htab_eq_pointer): Likewise.
  4138. 2000-04-23 Mark Mitchell <mark@codesourcery.com>
  4139. * sort.c (sort_pointers): Fix endianness bugs.
  4140. * sort.c: New file.
  4141. * Makefile.in (CFILES): Add sort.c
  4142. (REQUIRED_OFILES): Add sort.o.
  4143. (sort.o): New target.
  4144. 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
  4145. * Makefile.in (*-subdir): Revamp slightly to avoid losing on
  4146. 4.3BSD systems.
  4147. Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
  4148. * hashtab.c: Various minor cleanups.
  4149. (htab_find_slot_with_hash): INSERT is now enum insert_option.
  4150. (htab_find_slot): Likewise.
  4151. 2000-04-16 Dave Pitts <dpitts@cozx.com>
  4152. * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
  4153. 2000-04-05 Richard Henderson <rth@cygnus.com>
  4154. * splay-tree.c (splay_tree_remove): New.
  4155. 2000-03-30 Mark Mitchell <mark@codesourcery.com>
  4156. * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
  4157. codes.
  4158. (htab_find_with_hash): Likewise.
  4159. (htab_find_slot_with_hash): Likewise.
  4160. 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
  4161. * hashtab.c (htab_find_with_hash): Avoid calculating hash2
  4162. unless it will be used. Rearrange loop for better
  4163. optimization.
  4164. (higher_prime_number): Add static prototype.
  4165. Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
  4166. * Makefile.in (partition.o): Depend on config.h
  4167. 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
  4168. * hashtab.c (find_empty_slot_for_expand): New function.
  4169. (htab_expand): Use it instead of htab_find_slot.
  4170. (htab_find_with_hash): Renamed from htab_find; now accepts extra
  4171. argument HASH.
  4172. (htab_find_slot_with_hash): Likewise for htab_find_slot.
  4173. (htab_find): New wrapper function.
  4174. (htab_find_slot): Likewise.
  4175. (htab_traverse): Pass slot, not entry, to called function.
  4176. 2000-03-09 Alex Samuel <samuel@codesourcery.com>
  4177. * Makefile.in (CFILES): Add partition.c.
  4178. (REQUIRED_OFILES): Add partition.o.
  4179. (partition.o): New rule.
  4180. * partition.c: New file.
  4181. 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
  4182. * hashtab.c (htab_create): Set del_f.
  4183. (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
  4184. Use it.
  4185. 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
  4186. * hashtab.c: Remove debugging variables (all_searches,
  4187. all_collisions, all_expansions). Delete
  4188. all_hash_table_collisions.
  4189. (create_hash_table, delete_hash_table, empty_hash_table,
  4190. find_hash_table_entry, remove_element_from_hash_table_entry,
  4191. clear_hash_table_slot, traverse_hash_table, hash_table_size,
  4192. hash_table_elements_number, hash_table_collisions): Rename to:
  4193. htab_create, htab_delete, htab_empty, htab_find_slot,
  4194. htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
  4195. htab_elements, htab_collisions.
  4196. (htab_find): New function, handles common case where you don't
  4197. plan to add or delete an entry.
  4198. (htab_expand): Don't create a whole new table, just a new
  4199. entry vector.
  4200. (htab_find_slot): Simplify logic.
  4201. 1999-08-03 Ian Lance Taylor <ian@zembu.com>
  4202. * floatformat.c: Add casts to avoid signed/unsigned warnings.
  4203. * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
  4204. * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
  4205. $(TARGETLIB)n so it works on MSDOS.
  4206. (install_to_tooldir): Likewise.
  4207. 1999-07-21 Ian Lance Taylor <ian@zembu.com>
  4208. From Mark Elbrecht:
  4209. * makefile.dos: Remove; obsolete.
  4210. * configure.bat: Remove; obsolete.
  4211. 1999-07-11 Ian Lance Taylor <ian@zembu.com>
  4212. * splay-tree.c (splay_tree_insert): Add initialization to avoid
  4213. warning.
  4214. 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
  4215. * pexecute.c: Conditionally include string.h.
  4216. (fix_argv): Handle embedded whitespace in args for Mingw32.
  4217. 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4218. * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
  4219. we're using gcc.
  4220. * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
  4221. 1999-12-27 Geoff Keating <geoffk@cygnus.com>
  4222. * vasprintf.c (int_vasprintf): Don't re-read the format character
  4223. as this mishandles strings like '%%s'.
  4224. 1999-12-05 Mark Mitchell <mark@codesourcery.com>
  4225. * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
  4226. rather than struct splay_tree_node.
  4227. (splay_tree_insert): Use struct splay_tree_s rather than struct
  4228. splay_tree.
  4229. Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
  4230. * hashtab.c (sys/types.h): File included.
  4231. 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
  4232. * strtoul.c, strtol.c, random.c: Remove advertising clause from
  4233. BSD license, pursuant with
  4234. ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
  4235. Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
  4236. * hashtab.c: Include stdio.h.
  4237. Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
  4238. * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
  4239. Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
  4240. * xstrdup (sys/types.h): Include this file.
  4241. 1999-10-28 Nathan Sidwell <nathan@acm.org>
  4242. * Makefile.in (SUBDIRS): New macro.
  4243. (mostlyclean, clean, distclean, maintainer-clean): Adjust to
  4244. avoid multiple subdirectory cleaning.
  4245. (*-subdir): Use SUBDIRS.
  4246. 1999-10-25 Jim Kingdon <http://developer.redhat.com/>
  4247. * cplus-dem.c: Move declarations of standard_symbol_characters and
  4248. hp_symbol_characters inside #ifdef MAIN to avoid compiler
  4249. warnings.
  4250. 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
  4251. * hashtab.c (find_hash_table_entry): When returning a
  4252. DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
  4253. (clear_hash_table_slot): New function which deletes an entry
  4254. by its position in the table, not its value.
  4255. (traverse_hash_table): New function which calls a hook
  4256. function for every live entry in the table.
  4257. 1999-10-19 Mark Mitchell <mark@codesourcery.com>
  4258. * cplus-dem.c (INTBUF_SIZE): New macro.
  4259. (string_append_template_idx): New function.
  4260. (demangle_expression): Likewise.
  4261. (demangle_integral_value): Use it.
  4262. (demangle_real_value): New function, split out from ...
  4263. (demangle_template_value_parm): ... here. Use
  4264. string_append_template_idx. Use demangle_real_value.
  4265. (demangle_template): Use string_append_template_idx.
  4266. (demangle_qualified): Use consume_count_with_underscores.
  4267. (get_count): Tweak formatting.
  4268. (do_type): Use string_append_template_idx.
  4269. 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4270. * calloc.c: Add a public domain notice.
  4271. Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
  4272. * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
  4273. Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
  4274. * Makefile.in (CFILES): Add hashtab.c
  4275. (REQUIRED_OFILES): Add hashtab.o
  4276. (hashtab.o): Add dependencies.
  4277. * hashtab.c: New file
  4278. Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4279. * basename.c (DIR_SEPARATOR): New macro.
  4280. (DIR_SEPARATOR_2): Likewise.
  4281. (HAVE_DOS_BASED_FILESYSTEM): Likewise.
  4282. (IS_DIR_SEPARATOR): Likewise.
  4283. (main): Handle MSDOS style pathname.
  4284. 1999-10-11 Mark Mitchell <mark@codesourcery.com>
  4285. * cplus-dem.c (do_type): Handle pointer to member types whose
  4286. enclosing classes have namespace scope.
  4287. Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
  4288. * config.table: Provide a backup shell for executing move-if-change.
  4289. 1999-10-02 Mark Mitchell <mark@codesourcery.com>
  4290. * xmalloc.c (xmalloc): Fix spelling error.
  4291. (xcalloc, xrealloc): Likewise.
  4292. 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4293. * cplus-dem.c (fancy_abort, demangle_integral_value,
  4294. demangle_arm_hp_template, recursively_demangle,
  4295. standard_symbol_characters, hp_symbol_characters, main): Add prototype.
  4296. (program_name, program_version, fatal): Constify a char*.
  4297. (usage, fatal): Mark with ATTRIBUTE_NORETURN.
  4298. (main): Call return, not exit.
  4299. 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4300. * choose-temp.c: Remove obsolete comment about gcc.
  4301. (make_temp_file): Constify a char*.
  4302. Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4303. * xmemdup.c: Include sys/types.h.
  4304. 1999-09-07 Jeff Garzik <jgarzik@pobox.com>
  4305. * xmemdup.c: New xmemdup function.
  4306. * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
  4307. Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
  4308. * config.table: Add openedition target.
  4309. * config/mh-openedition: New file.
  4310. Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
  4311. * pexecute.c (pexecute): Fill in temp_base when needed.
  4312. 1999-08-31 Richard Henderson <rth@cygnus.com>
  4313. * getpwd.c: Check HAVE_GETCWD before defining it away.
  4314. 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4315. * Makefile.in (CFILES): Add calloc.c and getpwd.c.
  4316. (REQUIRED_OFILES): Add getpwd.o.
  4317. (getpwd.o): Add target.
  4318. * configure.in (AC_PREREQ): Bump to 2.13.
  4319. (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
  4320. * getpwd.c: New file, moved here from gcc.
  4321. 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4322. * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
  4323. comparing against a signed quantity.
  4324. (arm_special): Likewise.
  4325. (demangle_fund_type): Likewise.
  4326. (do_hpacc_template_const_value): Mark parameter `work' with
  4327. ATTRIBUTE_UNUSED.
  4328. (main): Constify variable `valid_symbols'.
  4329. Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
  4330. * strtoul.c (strtoul): Add parentheses around && within ||.
  4331. Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
  4332. * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
  4333. libdir, libsubdir and tooldir.
  4334. 1999-08-01 Mark Mitchell <mark@codesourcery.com>
  4335. * splay-tree.c (splay_tree_insert): Return the new node.
  4336. 1999-07-14 Richard Henderson <rth@cygnus.com>
  4337. * argv.c: Include stdlib.h and string.h instead of
  4338. prototyping directly.
  4339. * choose-temp.c: Conditionally include string.h.
  4340. 1999-07-12 Jason Merrill <jason@yorick.cygnus.com>
  4341. * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
  4342. 1999-07-11 Ian Lance Taylor <ian@zembu.com>
  4343. * splay-tree.c (splay_tree_insert): Add initialization to avoid
  4344. warning.
  4345. 1999-07-07 Jason Merrill <jason@yorick.cygnus.com>
  4346. * Makefile.in (needed-list): Only include stuff we actually need
  4347. for libstdc++.
  4348. 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  4349. * configure.in (checkfuncs): Add gettimeofday.
  4350. * config.in, configure: Regenerated.
  4351. Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4352. * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
  4353. the test fails.
  4354. * configure: Regenerate.
  4355. 1999-06-10 Mike Stump <mrs@wrs.com>
  4356. * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
  4357. parallel builds.
  4358. 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4359. * putenv.c: Include ansidecl.h to define `const'.
  4360. * setenv.c: Likewise.
  4361. Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
  4362. * Makefile.in (CFILES): Add putenv.c and setenv.c.
  4363. * configure.in (funcs): Add putenv and setenv.
  4364. (AC_CHECK_FUNCS): Check for putenv and setenv.
  4365. * configure: Rebuilt.
  4366. * putenv.c setenv.c: New files.
  4367. * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
  4368. bytes of space using malloc.
  4369. Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
  4370. * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
  4371. the *mangled pointer beyond the end of the string. Clean up code to
  4372. match prevailing coding style.
  4373. 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
  4374. * tmpnam.c (L_tmpnam): Fix typo.
  4375. Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
  4376. * cplus-dem.c (standard_symbol_characters): Renamed from
  4377. standard_symbol_alphabet. No longer modify TABLE.
  4378. (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
  4379. modify TABLE.
  4380. (main): Corresponding changes. Use strchr to determine if a
  4381. character is valid.
  4382. 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
  4383. * cplus-dem.c (main): Use table lookup to distinguish identifier
  4384. characters from non-identifier characters.
  4385. (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
  4386. Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
  4387. * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
  4388. * getruntime.c: Only attempt to include sys/resource.h and
  4389. use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
  4390. are defined.
  4391. Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
  4392. * configure.in (alloca detection): Handle alloca directly for interix.
  4393. * configure: Rebuilt.
  4394. Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4395. * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
  4396. 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
  4397. Fix from Dale Hawkins:
  4398. * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
  4399. reallocated properly if we use it again.
  4400. * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
  4401. stricter about syntax. Always null-terminate string.
  4402. Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4403. * configure.in (checkfuncs): Check for sbrk.
  4404. * config.in: Rebuilt.
  4405. * configure: Likewise.
  4406. * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
  4407. 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
  4408. Fix from Marcus Daniels:
  4409. * cplus-dem.c (demangle_fund_type): Don't run off the end of the
  4410. identifier looking for another underscore.
  4411. Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4412. * pexecute.c: Change all references to __UWIN__ to _UWIN.
  4413. * xmalloc.c: Likewise.
  4414. (xcalloc): UWIN has sbrk.
  4415. (xrealloc): Fix guard macro.
  4416. 1999-04-11 Richard Henderson <rth@cygnus.com>
  4417. * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
  4418. or <alloca.h>.
  4419. * clock.c (GNU_HZ): New definition.
  4420. (clock): Use it.
  4421. * getruntime.c: Likewise.
  4422. * config.table: Use mh-beos.
  4423. * config/mh-beos: New file.
  4424. 1999-04-11 Mark Mitchell <mark@codesourcery.com>
  4425. * cplus-dem.c (demangle_template_value_parm): Handle
  4426. pointers-to-members.
  4427. (do_type): Handle template parameters as qualifiers.
  4428. 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
  4429. * cplus-dem.c: Attempt to handle overflows in counts with some
  4430. semblance of grace.
  4431. (consume_count): Detect overflows. Return -1 to indicate errors,
  4432. instead of zero.
  4433. (demangle_template_value_parm, demangle_template): Handle change
  4434. to consume_count's return convention.
  4435. 1999-04-05 Tom Tromey <tromey@cygnus.com>
  4436. * testsuite/regress-demangle: New file.
  4437. * testsuite/demangle-expected: New file.
  4438. * Makefile.in (all, check, installcheck, info, install-info,
  4439. clean-info, dvi, install, etags, tags, mostlyclean, clean,
  4440. distclean, maintainer-clean, realclean): Depend on corresponding
  4441. `-subdir' target.
  4442. (all-subdir check-subdir installcheck-subdir info-subdir
  4443. install-info-subdir clean-info-subdir dvi-subdir
  4444. install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
  4445. distclean-subdir maintainer-clean-subdir): New target.
  4446. * testsuite/Makefile.in: New file.
  4447. * configure: Rebuilt.
  4448. * configure.in: Create testsuite/Makefile.
  4449. 1999-04-02 Mark Mitchell <mark@codesourcery.com>
  4450. * splay-tree.h (splay_tree_compare_pointers): Define.
  4451. 1999-03-30 Mark Mitchell <mark@codesourcery.com>
  4452. * splay-tree.c (splay_tree_compare_ints): Define.
  4453. 1999-03-30 Tom Tromey <tromey@cygnus.com>
  4454. * cplus-dem.c (consume_count): If `count' wraps, return 0 and
  4455. don't advance input pointer.
  4456. (demangle_class_name): If consume_count didn't find a count, do
  4457. nothing. Don't bother with `strlen' sanity check; consume_count
  4458. does it for us.
  4459. 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
  4460. From Art Haas <ahaas@neosoft.com>:
  4461. * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
  4462. when doing arm or hp style.
  4463. (demangle_nested_args): Decr forgetting_types field when done.
  4464. Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4465. * pexecute.c (__CYGWIN32__): Rename to
  4466. (__CYGWIN__): this.
  4467. * xmalloc.c: Likewise.
  4468. Changes to support i386-pc-uwin.
  4469. * configure.in (*-*-uwin*): Workaround for vfork bug.
  4470. * configure: Regenerate.
  4471. * pexecute.c (pexecute): Be like standard Unix.
  4472. (pwait): Likewise.
  4473. * xmalloc.c (first_break): Define.
  4474. (xmalloc_set_program_name): Use.
  4475. (xmalloc): Use.
  4476. Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  4477. * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
  4478. Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
  4479. * config.table: Check cygwin*, not cygwin32*.
  4480. Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
  4481. * Makefile.in: Change mkstemp -> mkstemps.
  4482. Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
  4483. * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
  4484. * configure.in (funcs): Check for and conditionally add mkstemps to
  4485. the list of functions libiberty will provide.
  4486. * configure: Rebuilt.
  4487. Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
  4488. * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
  4489. platforms that don't have HZ.
  4490. * getruntime.c (HZ): Likewise.
  4491. Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
  4492. * Makefile.in (xstrdup.o): Depend on config.h.
  4493. Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
  4494. * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
  4495. freeing it.
  4496. Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4497. * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
  4498. Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
  4499. * Makefile.in (CFILES): fix typo, splay-tree.c instead of
  4500. splay-tree.o.
  4501. 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
  4502. * configure.in: Require autoconf 2.12.1 or higher.
  4503. 1998-12-30 Michael Meissner <meissner@cygnus.com>
  4504. * random.c (NULL): Don't redefine NULL if it is already defined.
  4505. Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4506. * argv.c (buildargv): Cast the result of alloca in assignment.
  4507. * choose-temp.c: Include stdlib.h.
  4508. * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
  4509. (snarf_numeric_literal): Constify first parameter.
  4510. (code_for_qualifier): Avoid a gcc extension, make the parameter an
  4511. int, not a char.
  4512. (demangle_qualifier): Likewise.
  4513. (demangle_signature): Cast the argument of a ctype function to
  4514. unsigned char.
  4515. (arm_pt): Add parens around assignment used as truth value.
  4516. (demangle_arm_hp_template): Constify variable `args'.
  4517. (do_hpacc_template_const_value): Cast the argument of a ctype
  4518. function to unsigned char.
  4519. (do_hpacc_template_literal): Remove unused variable `i'.
  4520. (snarf_numeric_literal): Constify parameter `args'.
  4521. Cast the argument of a ctype function to unsigned char.
  4522. * floatformat.c (floatformat_to_double): Add explicit braces to
  4523. avoid ambiguous `else'.
  4524. * fnmatch.c (fnmatch): Change type of variables `c', `c1',
  4525. `cstart' and `cend' to unsigned char. Cast the argument of macro
  4526. `FOLD', which uses ctype functions, to unsigned char.
  4527. * objalloc.c (free): Add prototype.
  4528. Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
  4529. * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
  4530. Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
  4531. * cplus-dem.c (demangle_arm_pt): remove declaration -- function
  4532. doesn't exist.
  4533. (do_hpacc_template_literal): remove unused variable `i'.
  4534. Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
  4535. * cplus-dem.c (demangle_fund_type): Process CV and u codes before
  4536. bumping the pointer we read from. Also prepend these codes,
  4537. as we do in other places.
  4538. 1998-12-18 Nick Clifton <nickc@cygnus.com>
  4539. * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
  4540. 'const char *' in order to match its usage when calling siblings.
  4541. (snarf_numeric_literal): Make first arg 'const char **' in order
  4542. to match usage.
  4543. Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4544. * choose-temp.c: Don't check IN_GCC anymore.
  4545. * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
  4546. * memchr.c (memchr): Likewise.
  4547. * memcpy.c (memcpy): Likewise.
  4548. * memmove.c (memmove): Likewise.
  4549. * mkstemp.c: Don't check IN_GCC anymore.
  4550. * pexecute.c: Likewise.
  4551. * splay-tree.c: Likewise.
  4552. * strchr.c (strchr): Use `const', not `CONST'.
  4553. * strrchr.c (strrchr): Likewise.
  4554. * strtol.c (strtol): Likewise.
  4555. * strtoul.c (strtoul): Likewise.
  4556. Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
  4557. Elena Zannoni <ezannoni@cygnus.com>
  4558. Stan Shebs <shebs@cygnus.com>
  4559. Edith Epstein <eepstein@cygnus.com>
  4560. Andres MacLeod <amacleod@cygnus.com>
  4561. Satish Pai <pai@apollo.hp.com>
  4562. * HP aCC demangling support.
  4563. * cplus-dem.c
  4564. (main): Remove default to HP style demangling, set to EDG
  4565. demangling correctly when -edg specified; set the demangling style
  4566. when user specifies 'edg'. Set strip_underscore to
  4567. prepends_underscore, if not HPUXHPPA. Set
  4568. current_demangling_style to hp_demangling if HPUXHPPA. Set
  4569. current demangling style correctly if the switch is hp. Read
  4570. label correctly also in the HP style case.
  4571. (work_stuff): add temp_start field; add field for volatile member
  4572. function.
  4573. (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
  4574. style for this case is the same as ARM.
  4575. (demangle_args): handle EDG_DEMANGLING style; support HP style.
  4576. (demangle_arm_hp_template): new function. (It was
  4577. demangle_arm_pt.); check and set value of temp_start field in
  4578. multiple places. Also, when ceching for end of template args,
  4579. check to see if at end of static member of template class.
  4580. (demangle_class): new local variable : save_class_name_end Don't
  4581. include template args in string defining class.
  4582. (demangle_class_name): use demangel_arm_hp_template.
  4583. (demangle_function_name): handle case where demangling style is
  4584. HP_DEMANGLING and currently point at an 'X' in the mangled name.
  4585. Handle EDG_DEMANGLING style. Handle constructor and destructor
  4586. ops for HP style.
  4587. (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
  4588. styles. global destructor and constructor for HP style are same
  4589. as for ARM style. Same for local variables.
  4590. (demangle_qualified): handle EDG_DEMANGLING style.
  4591. (demangle_signature): add case for volatile member function. For
  4592. cases '1' - '9' : initialize the temp_start field to -1 and handle
  4593. the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
  4594. and AUTO_DEMANGLING styles. If expecting a function and managed
  4595. to demangle the funct args, then handle the LUCID_DEMANGLING,
  4596. ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
  4597. class name after "Lnnn_ in HP style case. HP style too needs to
  4598. forget types. _nnn is OK for HP style, so don't report failure.
  4599. (do_hpacc_template_const_value): new function. Handle template's
  4600. value param for HP/aCC.
  4601. (do_hpacc_template_literal): new function. Handle a template's
  4602. literal parameter for HP aCC.
  4603. (recursively_demangle): new function
  4604. (snarf_numeric_literal): new function.
  4605. (usage): add 'edg' to the list of demangling styles; add hp switch
  4606. to message.
  4607. Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
  4608. * pexecute.c: Remove obsolete ifdefed cygwin code.
  4609. Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4610. * choose-temp.c: Always include libiberty.h. Avoid redundancies.
  4611. * cplus-dem.c: Likewise. Conform to libiberty.h.
  4612. * pexecute.c: Likewise.
  4613. * splay-tree.c: Likewise.
  4614. 1998-11-25 Mike Stump <mrs@wrs.com>
  4615. * Makefile.in (splay-tree.o): Add config.h dependency.
  4616. Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4617. * configure.in: Use AC_PREREQ(2.12.1).
  4618. 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
  4619. * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
  4620. Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
  4621. * mpw.c (mpw_access): Add missing parens.
  4622. Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4623. * configure.in: Call AC_HEADER_SYS_WAIT.
  4624. * pexecute.c: Include sys/wait.h when !IN_GCC.
  4625. Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
  4626. * pexecute.c: revert back to checking old Cygwin
  4627. preprocessor symbol until some time has passed.
  4628. Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
  4629. * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
  4630. since it will now support similar constructs.
  4631. Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4632. * configure.in: Check for calloc.
  4633. * calloc.c: New file.
  4634. * xmalloc.c (xcalloc): New function.
  4635. Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
  4636. *cplus-dem.c (demangle_prefix): Use the last "__"
  4637. in the mangled name when looking for the signature. This allows
  4638. template names to begin with "__".
  4639. 1998-11-08 Mark Mitchell <mark@markmitchell.com>
  4640. * cplus-dem.c (type_kind_t): Add tk_reference.
  4641. (demangle_template_value_parm): Handle it.
  4642. (do_type): Use it for references, instead of tk_pointer.
  4643. * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
  4644. not internal_cplus_demangle.
  4645. Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4646. * choose-temp.c: Don't include gansidecl.h.
  4647. * mkstemp.c: Likewise.
  4648. * pexecute.c: Likewise.
  4649. Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
  4650. * configure.in: detect cygwin* instead of cygwin32*
  4651. * configure: regenerate
  4652. Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4653. * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
  4654. whether to include config.h. Possibly include unistd.h in the
  4655. !IN_GCC case. Define VFORK_STRING as a printable function call
  4656. for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
  4657. defined, include vfork.h. If VMS is defined, define vfork()
  4658. appropriately. Remove vfork check on USG, we're using autoconf.
  4659. (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
  4660. locally what string to use.
  4661. 1998-10-26 Mark Mitchell <mark@markmitchell.com>
  4662. * splay-tree.c: Tweak include directives to make sure declarations of
  4663. xmalloc and free are available.
  4664. 1998-10-25 Mark Mitchell <mark@markmitchell.com>
  4665. * cplus-dem.c (gnu_special): Fix handling of virtual tables in
  4666. anonymous namespaces.
  4667. 1998-10-23 Mark Mitchell <mark@markmitchell.com>
  4668. * cplus-dem.c (work_stuff): Replace const_type and volatile_type
  4669. with type_quals.
  4670. (TYPE_UNQUALIFIED): New macro.
  4671. (TYPE_QUAL_CONST): Likewise.
  4672. (TYPE_QUAL_VOLATILE): Likewise.
  4673. (TYPE_QUAL_RESTRICT): Likewise.
  4674. (code_for_qualifier): New function.
  4675. (qualifier_string): Likewise.
  4676. (demangle_qualifier): Likewise.
  4677. (internal_cplus_demangle): Use them.
  4678. (demangle_signature): Likewise.
  4679. (demangle_template_value_parm): Likewise.
  4680. (do_type): Likewise.
  4681. (demangle_fund_type)): Likewise.
  4682. Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4683. * splay-tree.c (splay_tree_foreach_helper): Make definition static
  4684. to match prototype.
  4685. 1998-10-21 Mark Mitchell <mark@markmitchell.com>
  4686. * splay-tree.c: New file.
  4687. * Makefile.in (CFILES): Add it.
  4688. (REQUIRED_OFILES): Likewise.
  4689. (splay-tree.o): Add dependencies.
  4690. Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
  4691. * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
  4692. range of 'K' index.
  4693. Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4694. * choose-temp.c: Prototype mkstemps() when IN_GCC.
  4695. * cplus-dem.c (consume_count): Cast argument of ctype macro to
  4696. `unsigned char'.
  4697. (cplus_demangle_opname): Cast the result of `strlen' to (int) when
  4698. comparing against one.
  4699. (cplus_mangle_opname): Likewise.
  4700. (demangle_integral_value): Cast argument of ctype macro to
  4701. `unsigned char'.
  4702. (demangle_template_value_parm): Likewise.
  4703. (demangle_template): Initialize variable `bindex'. Cast the
  4704. result of `strlen' to (int) when comparing against one. Remove
  4705. unused variable `start_of_value_parm'.
  4706. (demangle_class_name): Cast the result of `strlen' to (int) when
  4707. comparing against one.
  4708. (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
  4709. (gnu_special): Likewise. Cast the result of `strlen' to (int)
  4710. when comparing against one.
  4711. (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
  4712. (get_count): Likewise.
  4713. (do_type): Likewise. Cast the result of `strlen' to (int) when
  4714. comparing against one.
  4715. (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
  4716. (demangle_function_name): Cast the result of `strlen' to (int)
  4717. when comparing against one.
  4718. * mkstemp.c (mkstemps): Cast variable `len' to (int) when
  4719. comparing against one.
  4720. Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
  4721. * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
  4722. * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
  4723. * config.in, configure: Rebuilt.
  4724. * getopt.c: Check HAVE_STRINGS_H before including strings.h.
  4725. * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
  4726. * config.in, configure: Rebuilt.
  4727. Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
  4728. * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
  4729. Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
  4730. * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
  4731. Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
  4732. * Merge egcs & devo libiberty.
  4733. 1998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
  4734. * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
  4735. Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4736. * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
  4737. inclusions inside HAVE_*_H macros. Include ansidecl.h when not
  4738. IN_GCC.
  4739. * vasprintf.c: Include stdarg.h/varargs.h first.
  4740. * vprintf.c: Likewise.
  4741. Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
  4742. * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
  4743. is the canonical copy. Define ISSPACE if !IN_GCC.
  4744. * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
  4745. * getopt1.c, obstack.c: Similarly.
  4746. * Makefile.in: Build mkstemp.o
  4747. Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
  4748. * configure.in: Include asprintf in list of functions known not
  4749. to be in newlib.
  4750. * configure: Rebuild.
  4751. Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
  4752. * cplus-dem.c (work_stuff): Add dllimported.
  4753. (demangled_prefix): Mark symbols imported from PE DLL.
  4754. (internal_cplus_demangled): Handle.
  4755. 1998-08-17 Jason Merrill <jason@yorick.cygnus.com>
  4756. * cplus-dem.c (do_type): Fix simple array handling. If we fail,
  4757. stay failed.
  4758. Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4759. * cplus-dem.c: Include config.h if it exists. Also, only
  4760. prototype malloc/realloc if we can't get stdlib.h.
  4761. Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
  4762. * configure.in: Switch back to checking --with-target-subdir when
  4763. deciding whether to check for newlib, undoing part of July 15
  4764. change.
  4765. * configure: Rebuild.
  4766. Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
  4767. * cplus-dem.c (type_kind_t): New type.
  4768. (demangle_template_value_parm): Add type_kind_t parameter. Rely
  4769. on this paramter, rather than demangling the type again.
  4770. (demangle_integral_value): Pass tk_integral.
  4771. (demangle_template_: Pass the value returned from do_type.
  4772. (do_type): Return a type_kind_t. Pass tk_integral to
  4773. demangle_template_value_parm for array bounds.
  4774. (demangle_fund_type): Likewise.
  4775. Also incorporate from GCC version:
  4776. Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
  4777. * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
  4778. Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4779. * cplus-dem.c (demangle_nested_args): Make function definition
  4780. static to match the prototype.
  4781. Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
  4782. * cplus-dem.c (type_kind_t): New type.
  4783. (demangle_template_value_parm): Add type_kind_t parameter. Rely
  4784. on this paramter, rather than demangling the type again.
  4785. (demangle_integral_value): Pass tk_integral.
  4786. (demangle_template_: Pass the value returned from do_type.
  4787. (do_type): Return a type_kind_t. Pass tk_integral to
  4788. demangle_template_value_parm for array bounds.
  4789. (demangle_fund_type): Likewise.
  4790. Also incorporate from GCC version:
  4791. Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
  4792. * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
  4793. Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
  4794. * Makefile.in (ALLOCA): New variable.
  4795. ($(TARGETLIB)): Add $(ALLOCA) to library.
  4796. (needed-list): Add $(ALLOCA).
  4797. ($(ALLOCA)): Depend upon stamp-picdir.
  4798. Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4799. * cplus-dem.c (demangle_nested_args): Make function definition
  4800. static to match the prototype.
  4801. Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
  4802. * configure.in: Check --with-cross-host rather than
  4803. --with-target-subdir when deciding whether build uses a cross
  4804. compiler, and when deciding where to install the library.
  4805. * configure: Rebuild.
  4806. Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
  4807. * cplus-dem.c (demangle_nested_args): Return a value.
  4808. Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
  4809. * cplus-dem.c (string): Move definition before work_stuff.
  4810. (work_stuff): Add volatile_type, forgetting_types,
  4811. previous_argument, and nrepeats fields.
  4812. (SCOPE_STRING): New macro.
  4813. (demangle_template): Add `remember' parameter. Add comment.
  4814. Register the `B' code type here, if remembering. Tidy. Fix crash
  4815. on NULL tmpl_argvec. Be consistent with use of tname/trawname.
  4816. (demangle_nested_args): New function.
  4817. (internal_cplus_demangle): Handle volatile-qualified member
  4818. functions.
  4819. (mop_up): Delete the previous_argument string if present.
  4820. (demangle_signature): Tidy. Handle volatile-qualified member
  4821. functions. Handle back-references using the `B' code. Use extra
  4822. parameter to demangle_template and SCOPE_STRING where appropriate.
  4823. (demangle_template_value_parm): Fix thinko; 'B' is not an integral
  4824. code.
  4825. (demangle_class): Use SCOPE_STRING.
  4826. (gnu_special): Pass additional argument to demangle_template.
  4827. Use SCOPE_STRING.
  4828. (demangle_qualified): Save qualified types for later
  4829. back-references. Handle constructors and destructors for template
  4830. types correctly.
  4831. (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
  4832. demangle_template. Use demangled_nested_args. Don't remember
  4833. qualified types here; that's now done in demangle_qualified.
  4834. Similarly for templates.
  4835. (do_arg): Improve commment. Handle 'n' repeat code.
  4836. (remember_type): Check forgetting_types.
  4837. (demangle_args): Deal with 'n' repeat codes. Tidy.
  4838. Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
  4839. * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
  4840. *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
  4841. Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
  4842. * configure.in (setobjs): Correct quoting error in cygwin32 case.
  4843. From Chris Faylor <cgf@cygnus.com>.
  4844. Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
  4845. * obstack.c: Update to latest FSF version.
  4846. Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
  4847. * Makefile.in: Add a dependency on stamp-picdir for the
  4848. objects, so that we can do a parallel build.
  4849. Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
  4850. * configure.in (checkfuncs): Add missing "'".
  4851. Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
  4852. * obstack.c (_obstack_memory_used): Elide this function if we're
  4853. on a system with GNU libc.
  4854. Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
  4855. * Makefile.in (distclean): Remove config.log.
  4856. Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  4857. * Makefile.in (distclean): Don't remove alloca-conf.h.
  4858. Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
  4859. * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
  4860. 1998-05-21 Mark Mitchell <mmitchell@usa.net>
  4861. * cplus-dem.c (do_type): Handle volatile qualification.
  4862. 1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
  4863. * configure.in: Check for unistd.h as well.
  4864. * configure: Rebuild.
  4865. * config.in: Rebuild.
  4866. * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
  4867. is defined in unistd.h. Reformat conditional block for easier reading.
  4868. * config.table (shared): Default to no if ${enable_shared}
  4869. is unset or empty; this logic is used by the toplevel
  4870. configure scripts, too.
  4871. Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
  4872. * config.table: Add line to set enable_shared in the Makefile
  4873. as needed.
  4874. Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
  4875. * cplus-dem.c (squangle_mop_up): Change return type to void.
  4876. (internal_cplus_demangle): Remove unused parameter `options'.
  4877. All callers changed.
  4878. (cplus_demangle_opname): Remove function wide variable `int i' and
  4879. replace with `size_t i' at each location where it is used.
  4880. (cplus_mangle_opname): change type of `i' from int to size_t.
  4881. Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
  4882. * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
  4883. than sparc or sun.
  4884. * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
  4885. Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
  4886. * configure.in: Set libiberty_topdir correctly when srcdir is
  4887. "." and with_target_subdir is not set.
  4888. * configure: Rebuild.
  4889. Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
  4890. * configure.in: Add *-*-mingw32* case.
  4891. * configure: Rebuild.
  4892. Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
  4893. * config.table: Never use a PIC file for *-*-cygwin32*.
  4894. * Makefile.in (config.status): Depend upon config.table.
  4895. * configure.in: On a cygwin32 host, always compile random, and
  4896. don't test for sys_siglist, strsignal, or psignal.
  4897. * configure: Rebuild.
  4898. * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
  4899. * getcwd.c: Likewise.
  4900. * getpagesize.c: Likewise.
  4901. * getruntime.c: Likewise.
  4902. Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
  4903. Use autoconf tests rather than the old dummy.c test:
  4904. * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
  4905. --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
  4906. most functions. Add special cases to handle newlib and VxWorks.
  4907. Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
  4908. CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
  4909. CONFIG_FILES is set; set ac_file before calling it.
  4910. * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
  4911. (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
  4912. (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
  4913. (i[3456]-*-mingw32*): Remove.
  4914. * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
  4915. (LIBOBJS): New variable.
  4916. (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
  4917. (all): Depend upon needed-list. Don't check RULE1.
  4918. (@target_makefile_frag@): Remove.
  4919. (COMPILE.c): Include @DEFS@.
  4920. (HFILES): Add alloca-conf.h.
  4921. (REQUIRED_OFILES): Remove basename.o.
  4922. ($(TARGETLIB)): New target.
  4923. (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
  4924. (lconfig.h, needed2.awk, dummy.o, errors): Remove.
  4925. (needed-list, config.h): Rewrite.
  4926. (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
  4927. (.always.): Remove.
  4928. (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
  4929. (stamp-h): New target.
  4930. (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
  4931. (basename.o): Don't depend upon config.h.
  4932. (getruntime.o): Depend upon config.h.
  4933. * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
  4934. NEED_on_exit.
  4935. * basename.c: Don't include config.h. Don't check NEED_basename.
  4936. * clock.c: Include config.h.
  4937. * getcwd.c: Likewise.
  4938. * getpagesize.c: Likewise.
  4939. * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
  4940. HAVE_TIMES.
  4941. * strerror.c: Change uses of NEED_sys_errlist to
  4942. HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
  4943. * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
  4944. and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
  4945. HAVE_PSIGNAL.
  4946. * acconfig.h: New file.
  4947. * dummy.c: Remove.
  4948. * functions.def: Remove.
  4949. * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
  4950. * config/mh-windows (HDEFINES): Remove.
  4951. * config/mh-cygwin32: Remove.
  4952. * config/mh-go32: Remove.
  4953. * config/mh-irix4: Remove.
  4954. * config/mh-riscix: Remove.
  4955. * config/mh-sysv4: Remove.
  4956. * config/mt-mingw32: Remove.
  4957. * config/mt-vxworks5: Remove.
  4958. * config.in: New file, generated using autoheader.
  4959. * configure: Rebuild.
  4960. Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
  4961. * configure.in: Rewrite to use autoconf.
  4962. * configure: Generate using autoconf.
  4963. * config/mh-a68bsd: Remove.
  4964. * config/mh-apollo68: Remove.
  4965. * config/mh-hpbsd: Remove.
  4966. * config/mh-ncr3000: Remove.
  4967. * config/mh-sysv: Remove.
  4968. * config/mh-aix (RANLIB, INSTALL): Don't define.
  4969. * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
  4970. * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
  4971. * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
  4972. * config.table: Change config_shell to CONFIG_SHELL, and use
  4973. libiberty_topdir to find move-if-change.
  4974. (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
  4975. (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
  4976. (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
  4977. * Makefile.in (srcdir): Set to @srcdir@.
  4978. (VPATH): Likewise.
  4979. (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
  4980. (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
  4981. (CC, CFLAGS, RANLIB)): Likewise.
  4982. (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
  4983. (target_makefile_frag, host_makefile_frag): Add substitutions.
  4984. (INSTALL_DEST): Set to @INSTALL_DEST@.
  4985. (Makefile): Depend upon config.status. Don't depend upon
  4986. $(host_makefile_frag) or $(target_makefile_frag).
  4987. (config.status): New target.
  4988. Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
  4989. * config/mt-sunos4: Remove. Should be handled by --with-headers
  4990. and --with-libraries options at top level.
  4991. * config.table: Never use mt-sunos4.
  4992. * alloca-conf.h: New file, combining alloca-norm.h and
  4993. alloca-botch.h.
  4994. * alloca-norm.h: Remove.
  4995. * alloca-botch.h: Remove.
  4996. * configure.in: Set shell variables files and links to empty.
  4997. * config.table: Don't set shell variable files.
  4998. * configure.bat: Don't create alloca-conf.h.
  4999. * makefile.vms: Likewise.
  5000. * mpw-config.in: Likewise.
  5001. * vmsbuild.com: Likewise.
  5002. Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
  5003. * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
  5004. target depending upon config.h.
  5005. (alloca.o): Add target depending upon config.h
  5006. (basename.o, choose-temp.o, fnmatch.o): Likewise.
  5007. (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
  5008. (strsignal.o, xstrerror.o): Likewise.
  5009. Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
  5010. * cplus-dem.c (cplus_demangle_opname): Initialize work.
  5011. Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
  5012. * cplus-dem.c (demangle_qualified): Replace missing else.
  5013. Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  5014. * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
  5015. length in the name of a virtual table.
  5016. Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
  5017. * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
  5018. (cplus_demangle_opname): Call mop_up_squangle.
  5019. (cplus_demangle): Initialize squangle info, then call
  5020. internal_cplus_demangle. (Most code moved there as well)
  5021. (internal_cplus_demangle): New function, performs most of what use
  5022. to be done in cplus_demangle, but is only called with this file.
  5023. (squangle_mop_up): New function to clean up B and K code data.
  5024. (mop_up): set pointers to NULL after freeing.
  5025. (demangle_signature, demangle_template, demangle_class): Add
  5026. switch elements to handle K and B codes.
  5027. (demangle_prefix, gnu_special, demangle_qualified): Add
  5028. code to handle K and B codes.
  5029. (do_type, demangle_fund_type): Handle B and K codes.
  5030. (remember_Ktype): New function to store K info.
  5031. (register_Btype, remember_Btype): New functions for B codes.
  5032. (forget_B_and_K_types): New function to destroy B and K info.
  5033. Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
  5034. * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
  5035. Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
  5036. * config.table: Make locating frag files failsafe even for the
  5037. special case if configuring and building in srcdir.
  5038. Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
  5039. * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
  5040. Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
  5041. * choose-temp.c: Sync with copy in gcc.
  5042. Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
  5043. * getopt.c: Update to latest FSF version.
  5044. * getopt1.c: Likewise.
  5045. Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
  5046. * cplus-dem.c (gnu_special): Don't get confused by .<digits>
  5047. strings that are not actually lengths.
  5048. Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
  5049. * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
  5050. (.c.o): Check value of enable_shared, not PICFLAG.
  5051. (stamp-picdir): Dito.
  5052. Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
  5053. * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
  5054. since it gets built automatically
  5055. Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
  5056. * config.table (vxworks configs): Default to VxWorks 5.x, as that is
  5057. the currently shipping OS.
  5058. Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
  5059. * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
  5060. Add fnmatch.o and objalloc.o; remove vasprintf.o.
  5061. [config.h]: Define NEED_strsignal.
  5062. Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
  5063. * functions.def: Correct argument types for strerror and
  5064. strsignal. Reported by Alex Gutman <agutman@emc.com>.
  5065. Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
  5066. * vasprintf.c (int_vasprintf): Increase buffer size for float/double
  5067. values.
  5068. Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
  5069. J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
  5070. Add mingw32 support.
  5071. * pexecute.c (pexecute): New function for mingw32. Supports pipes.
  5072. (pwait): New function for mingw32.
  5073. * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
  5074. * config/mt-mingw32: New file.
  5075. * xmalloc.c (first_break): Not used for mingw32.
  5076. (xmalloc_set_program_name): Don't use sbrk on mingw32.
  5077. (xmalloc): Likewise.
  5078. (xrealloc): Likewise.
  5079. Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
  5080. * choose-temp.c: Sync with gcc version.
  5081. Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
  5082. * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
  5083. to all filenames in libdir and tooldir.
  5084. (distclean): Do MULTICLEAN before deleting Makefile.
  5085. (stamp-needed, stamp-config): Add MULTISRCTOP to
  5086. pathname for move-if-change.
  5087. Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
  5088. * strsignal.c (sys_nsig): Try NSIG and _NSIG.
  5089. Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
  5090. * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
  5091. was already defined previously.
  5092. Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
  5093. * Makefile.in (INSTALL): Use ../install-sh, not install.
  5094. Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
  5095. * Makefile.in (CFILES): Add pexecute.c.
  5096. Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
  5097. * asprintf.c: Consistently use either stdarg or varargs.
  5098. Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
  5099. * cplus-dem.c (demangle_signature): Don't look for return types on
  5100. constructors. Handle member template constructors.
  5101. Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
  5102. * README: Fix configuration instructions.
  5103. Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
  5104. * pexecute.c: Update to current version from /gd/gnu/lib:
  5105. Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
  5106. * pexecute.c: Use spawn if __CYGWIN32__.
  5107. 1997-08-08 Paul Eggert <eggert@twinsun.com>
  5108. * pexecute.c: Include "config.h" first, as per autoconf manual.
  5109. Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
  5110. * pexecute.c (fix_argv): New function.
  5111. (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
  5112. Add underscore to cwait function call.
  5113. Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
  5114. * cplus-dem.c (demangle_template): Add new parameter. Handle new
  5115. template-function mangling.
  5116. (consume_count_with_underscores): New function.
  5117. (demangle_signature): Handle new name-mangling scheme.
  5118. Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
  5119. * asprintf.c: stdarg.h when ALMOST_STDC
  5120. * config/mh-windows (EXTRA_OFILES): add asprintf.o and
  5121. strncasecmp.o.
  5122. Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
  5123. * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
  5124. * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
  5125. * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
  5126. Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
  5127. * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
  5128. Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
  5129. * asprintf.c (asprintf): New file.
  5130. * Makefile.in (CFILES): Add asprintf.c
  5131. * functions.def: Ditto.
  5132. Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
  5133. * argv.c (dupargv): New function, duplicate an argument vector.
  5134. Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
  5135. * config/mh-cygwin32: also build random.o
  5136. Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
  5137. * cplus-dem.c: Add 'extern' to prepends_underscore.
  5138. Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
  5139. * cplus-dem.c: Various changes to produce Java output when passed
  5140. DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
  5141. (main): Support --java and -j flags to set DMGL_JAVA.
  5142. Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
  5143. * config/mh-go32 (CC, AR, RANLIB): Don't define.
  5144. Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
  5145. * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
  5146. (pexecute.o): New target.
  5147. * Makefile.in (stamp-needed): New target, replacing needed-list.
  5148. (needed-list): Just depend upon stamp-needed.
  5149. (stamp-config): New target, replacing config.h.
  5150. (config.h): Just depend upon stamp-config.
  5151. (mostlyclean): Remove stamp-*.
  5152. Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
  5153. * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
  5154. INSTALL_DATA for multilibbed installs
  5155. Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
  5156. Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
  5157. * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
  5158. * choose-temp.c (try): Insist that temp dir be searchable.
  5159. Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
  5160. * choose-temp.c (choose_temp_base): On VMS, use proper syntax
  5161. for current directory.
  5162. Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
  5163. * pexecute.c: Remove special cases for cygwin32.
  5164. (pwait): Remove local definition of `pid'.
  5165. Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
  5166. * pexecute.c (vfork): Supply new definition for VMS.
  5167. (pwait): Use waitpid instead of wait for VMS.
  5168. Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
  5169. * cplus-dem.c (do_type): Handle `J'.
  5170. (demangle_fund_type): Print "complex" for it.
  5171. Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
  5172. * configure.in: Don't turn on multilib here.
  5173. Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
  5174. * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
  5175. elided; needed by gdb and not present in libc.
  5176. Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
  5177. * Makefile.in (clean): Remove tmpmulti.out.
  5178. Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
  5179. * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
  5180. Add new floatformat, mainly for ARM doubles.
  5181. Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
  5182. * config.table: Use ${config_shell} with ${moveifchange}. From
  5183. Thomas Graichen <graichen@rzpd.de>.
  5184. Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
  5185. * configure.in: Enable multilibing by default.
  5186. Update multilib template to read config-ml.in.
  5187. Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
  5188. * makefile.vms: Add objalloc.
  5189. Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
  5190. * cplus-dem.c (demangle_it): Add prototype declaration.
  5191. (usage, fatal): Likewise.
  5192. * xexit.c (_xexit_cleanup): Add prototype.
  5193. * strerror.c (init_error_tables): Declare.
  5194. Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
  5195. * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
  5196. * strsignal.c: Only define strsignal if NEED_strsignal.
  5197. * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
  5198. * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
  5199. to xneeded-list.
  5200. * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
  5201. (EXTRA_OFILES): Define to vasprintf.o.
  5202. * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
  5203. (EXTRA_OFILES): Add vasprintf.o.
  5204. * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
  5205. (vxneeded-list): Add vasprintf.o.
  5206. Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
  5207. * objalloc.c: Include <stdio.h>.
  5208. Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
  5209. * objalloc.c: New file.
  5210. * Makefile.in (CFILES): Add objalloc.c
  5211. (REQUIRED_OFILES): Add objalloc.o.
  5212. (objalloc.o): New target.
  5213. Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
  5214. * obstack.c: Update to current FSF version.
  5215. Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
  5216. * cplus-dem.c: Add prototypes for all static functions.
  5217. (mystrstr): Make static. Make arguments and result const.
  5218. (cplus_match): Remove; not used.
  5219. Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
  5220. * cplus-dem.c (gnu_special): Call demangled_fund_type for other
  5221. __t* symbols.
  5222. Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
  5223. * spaces.c: Declare malloc and free properly.
  5224. * strsignal.c (init_signal_tables): Add prototype.
  5225. * xatexit.c (_xexit_cleanup): Add parameter declarations.
  5226. Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
  5227. * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
  5228. also required because of xmalloc.o.
  5229. Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
  5230. * strsignal.c: Unconditionally redefine sys_siglist around the
  5231. inclusion of the system header files.
  5232. Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
  5233. * makefile.vms: Remove 8 bit characters. Update to latest
  5234. gcc release.
  5235. Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
  5236. * strsignal.c: Use NEED_sys_siglist instead of
  5237. LOSING_SYS_SIGLIST.
  5238. * config.table: Don't use mh-lynxos.
  5239. * config/mh-lynxos: Remove.
  5240. Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
  5241. * cplus-dem.c: Fix indenting; make identical to the copy
  5242. in GCC.
  5243. (do_type, case 'M'): Check for a template as well as a class.
  5244. Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
  5245. * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
  5246. vxworks 5.[0-3] all have sigsetmask in them; the one provided by
  5247. libiberty is incorrect, as well.
  5248. Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  5249. * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
  5250. alloca takes a size_t argument, not just unsigned.
  5251. Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
  5252. * cplus-dem.c: Note that this file also lives in GCC.
  5253. Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
  5254. * alloca.c: Remove include of libiberty.h for hpux.
  5255. * argv.c: Replace defs from libiberty.h.
  5256. * spaces.c: Put back externs from removed from libiberty.h.
  5257. * vasprintf.c: Remove include of libiberty.h for hpux.
  5258. Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
  5259. * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
  5260. Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
  5261. * cplus-dem.c: Revert last two commits due to conflicts with
  5262. hpux system headers.
  5263. Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
  5264. * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
  5265. Revert last commit due to conflicts with hpux system headers.
  5266. Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  5267. * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
  5268. libiberty.h when compiled with a standard compiler.
  5269. Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
  5270. * alloca.c: Include libiberty.h for definition of xmalloc.
  5271. Don't redefine NULL.
  5272. * argv.c: Move prototypes to libiberty.h.
  5273. * cplus-dem.c: Include libiberty.h for definition of xmalloc.
  5274. Don't redefine NULL.
  5275. Use casts to eliminate compiler warnings.
  5276. * spaces.c: Remove prototypes for malloc and free which are
  5277. already in libibrty.h.
  5278. * strcasecmp.c: Use casts to eliminate compiler warnings.
  5279. * vasprintf.c: Include libiberty.h for definition of malloc.
  5280. Don't redefine NULL.
  5281. * vprintf.c: Include stdarg.h if __STDC__.
  5282. Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
  5283. * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
  5284. Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
  5285. * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
  5286. upward components correctly.
  5287. Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
  5288. * config.table, config/mh-windows: Add support for building under
  5289. MSVC (the Microsoft build environment).
  5290. Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
  5291. * fnmatch.c: Undef const if not __STDC__.
  5292. Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
  5293. * fnmatch.c: New file.
  5294. * Makefile.in (CFILES): Add fnmatch.c.
  5295. (REQUIRED_OFILES): Add fnmatch.o.
  5296. (fnmatch.o): New target.
  5297. Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
  5298. * cplus-dem.c (demangle_template): Fix handling of address args.
  5299. (gnu_special): Handle type_info stuff.
  5300. Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
  5301. * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
  5302. (mpwify_filename): Handle "::/" case.
  5303. Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
  5304. * config/mh-cygwin32: new file (need -DNEED_basename and
  5305. -DNEED_sys_siglist for native NT rebuilding)
  5306. * config.table (*-*-cygwin32): new entry
  5307. * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
  5308. Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
  5309. * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
  5310. Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
  5311. * pexecute.c (pexecute) [MPW]: Remove old bogus code that
  5312. messed with arguments that included a '/', add escape chars
  5313. to double quotes, remove const decl from arg that Mac
  5314. compilers don't seem to like.
  5315. Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
  5316. * pexecute.c: Update test for win32 (&& ! cygwin32).
  5317. * choose-temp.c: fix WIN32 preprocessor defines
  5318. Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
  5319. * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
  5320. to editing of default makefile rule.
  5321. Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
  5322. * alloca-norm.h: Include <malloc.h> if _WIN32.
  5323. * argv.c: Include non-prototyped decls for malloc and string
  5324. functions if ! _WIN32 or if __GNUC__.
  5325. Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
  5326. * config.h-vms: New file.
  5327. * makefile.vms: Use it.
  5328. Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
  5329. * getopt.c (_getopt_internal): If argc is 0, just return (before
  5330. we reference *argv and segfault).
  5331. Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
  5332. * Makefile.in (distclean): Add multilib.out.
  5333. Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
  5334. * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
  5335. defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
  5336. Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
  5337. Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
  5338. * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
  5339. Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
  5340. * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
  5341. (do_ofiles): Allow nonexistent source file in pass 3.
  5342. (chk_deffunc): New routine.
  5343. Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
  5344. * pexecute.c (PEXECUTE_VERBOSE): Define.
  5345. (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
  5346. Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  5347. * Makefile.in (docdir): Removed.
  5348. Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  5349. * Makefile.in (oldincludedir): Removed.
  5350. Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
  5351. * Makefile.in (datadir): Set to $(prefix)/share.
  5352. Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
  5353. * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
  5354. checking for errors from do_type.
  5355. Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
  5356. * makefile.vms: New file.
  5357. * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
  5358. than declaring malloc, realloc, and sbrk.
  5359. Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
  5360. * pexecute.c: New file.
  5361. Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
  5362. * xmalloc.c: Declare sbrk.
  5363. Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5364. * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
  5365. declaration.
  5366. Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
  5367. * xstrerror.c: Include <stdio.h>.
  5368. Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
  5369. * Makefile.in (CFILES): Add atexit.c.
  5370. Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
  5371. * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
  5372. Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
  5373. * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
  5374. #include <stdio.h>
  5375. * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
  5376. Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
  5377. * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
  5378. Reverts Feb 8, 1995 change.
  5379. Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
  5380. * choose-temp.c: New file.
  5381. * Makefile.in (CFILES): Add choose-temp.c.
  5382. (REQUIRED_OFILES): Add choose-temp.o.
  5383. Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
  5384. * floatformat.c (floatformat_to_double): Don't bias exponent when
  5385. handling zero's, denorms or NaNs.
  5386. Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
  5387. * floatformat.c (floatformat_to_double): Fix bugs with handling
  5388. numbers with fractions < 32 bits.
  5389. Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
  5390. * config.table: Permit --enable-shared to specify a list of
  5391. directories.
  5392. Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
  5393. * cplus-dem.c (demangle_template): Fix for non-mangled pointer
  5394. arguments.
  5395. Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
  5396. * configure.in: If srcdir is `.' and with_target_subdir is not
  5397. `.', then set MULTISRCTOP before calling config-ml.in.
  5398. Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
  5399. * mpw.c (mpw_open): Add debugging output option.
  5400. Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
  5401. * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
  5402. Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
  5403. * mpw.c (mpwify_filename): Change 6 to 5 in
  5404. strncmp (unixname, "/tmp/", 5).
  5405. Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
  5406. * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
  5407. handle 0 as a pointer value parameter.
  5408. Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
  5409. * Makefile.in (all): Depend upon required-list.
  5410. (required-list): New target.
  5411. (clean): Remove required-list.
  5412. Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
  5413. * win32.c: Deleted.
  5414. * config.table (i386-*-win32): Deleted.
  5415. * config/mh-i386win32: Deleted.
  5416. Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
  5417. * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
  5418. const char *.
  5419. (cplus_mangle_opname): Change return type and opname parameter to
  5420. const char *. Don't cast return value.
  5421. Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
  5422. * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
  5423. definition.
  5424. Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
  5425. * obstack.c: Update copyright to 1996.
  5426. (_obstack_memory_used): Define new function. Called via
  5427. obstack_memory_used macro.
  5428. Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
  5429. * xstrdup.c: New file.
  5430. * Makefile.in (CFILES): Add xstrdup.c.
  5431. (REQUIRED_OFILES): Add xstrdup.o.
  5432. (xstrdup.o): New target.
  5433. Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
  5434. * atexit.c: New stub to provide atexit on systems that have
  5435. on_exit, like SunOS 4.1.x systems.
  5436. * functions.def (on_exit, atexit): Ditto.
  5437. Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
  5438. * mpw.c (mpw_abort): Remove decl.
  5439. (mpw_access): Move debugging printf.
  5440. Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
  5441. * config.table: Consistently use ${host} rather than ${xhost} or
  5442. ${target}.
  5443. * configure.in: Don't bother to set ${xhost} before calling
  5444. config.table.
  5445. Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
  5446. * Makefile.in (.c.o): Use test instead of the left bracket, to
  5447. avoid problems with some versions of make.
  5448. Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
  5449. * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
  5450. Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
  5451. * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
  5452. which was set to just alloca.o, which is now automatically marked
  5453. as needed by the autoconfiguration process.
  5454. Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
  5455. * config.table: Check ${with_cross_host} rather than comparing
  5456. ${host} and ${target}.
  5457. Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
  5458. * configure.in: If with_target_subdir is empty, set xhost to
  5459. ${host} rather than ${target} before calling config.table.
  5460. Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
  5461. * Makefile.in (MULTITOP): Deleted.
  5462. (MULTISRCTOP, MULTIBUILDTOP): New.
  5463. (FLAGS_TO_PASS): Delete INCDIR.
  5464. (INCDIR): Add $(MULTISRCTOP).
  5465. (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
  5466. * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
  5467. instead of cfg-ml-pos.in.
  5468. (cross-compile check): Change to test for with_target_subdir.
  5469. (EXTRA_LINKS): Delete.
  5470. Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
  5471. * mpw-make.sed: Add getpagesize.c.o to needed-list.
  5472. * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
  5473. functions that are supplied by Metrowerks libraries.
  5474. (fstat): Clean up descriptor->pointer conversion code.
  5475. (InstallConsole, etc): Empty definitions, for when linking
  5476. with SIOUX.
  5477. Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5478. * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
  5479. (.c.o): Stylistic change.
  5480. Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
  5481. * strtol.c, strtoul.c: Don't include <stdlib.h>. From
  5482. phdm@info.ucl.ac.be (Philippe De Muyter).
  5483. Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
  5484. * configure.in: Correct sed call.
  5485. Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5486. * configure.in: Clean up / simplify for native.
  5487. * configure.in: Merge in stuff from ../xiberty/configure.in.
  5488. * Makefile.in (CC): Add definition (so it can be overrridden
  5489. by ../configure).
  5490. Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
  5491. * mpw-make.sed: Leave strerror.c.o in standard list of functions.
  5492. * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
  5493. (link): Remove useless definition with error return.
  5494. (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
  5495. Use UnsignedWide type for microsecond counts.
  5496. Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
  5497. * memcmp.c (memcmp): Argument types are const void *, not void
  5498. *const.
  5499. * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
  5500. sys/types.h.
  5501. * strcasecmp.c (strcasecmp): Ditto.
  5502. Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
  5503. * Makefile.in (BISON): Remove macro.
  5504. Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
  5505. * Makefile.in (HFILES): Add default empty definition.
  5506. * mpw-config.in (config.h): Only update if changed.
  5507. * mpw-make.in: Remove.
  5508. * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
  5509. * mpw.c: Remove semi-clone of strerror code.
  5510. (sys_nerr, sys_errlist): Define here.
  5511. (Microseconds): Only define as A-line trap if m68k Mac.
  5512. Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
  5513. * Makefile.in (maintainer-clean): New synonym for distclean.
  5514. Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5515. * config.table: For host, generalize rs6000-ibm-aix*
  5516. to *-ibm-aix* so we also include powerpc.
  5517. Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  5518. Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
  5519. * xstrerror.c: New file.
  5520. * Makefile.in, vmsbuild.com: Compile it.
  5521. Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
  5522. * config.table (i386-*-win32): New.
  5523. Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
  5524. * Makefile.in (MULTITOP): New variable.
  5525. (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
  5526. (all): Add multilib support.
  5527. (install_to_tooldir, *clean): Likewise.
  5528. Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
  5529. * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
  5530. Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
  5531. * vmsbuild.com: create "new-lib.olb", build libiberty under that
  5532. name, and then make it become "liberty.olb" when done, so that an
  5533. incomplete build attempt never leaves behind something which looks
  5534. like a complete library.
  5535. Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
  5536. * config/mh-i386pe: New file for PE hosts.
  5537. * config.table: Understand PE hosts.
  5538. Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5539. * cplus-dem.c: Update from gcc.
  5540. * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
  5541. <stddef.h>.
  5542. * alloca-norm.h: If __STDC__, declare alloca with its parameter.
  5543. Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
  5544. * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
  5545. * mpw.c: Only test DebugPI once whenever printing debug info.
  5546. (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
  5547. also fix to not write on input filename buffer.
  5548. (mpw_access): Use stat() instead of open(), works for directories
  5549. as well as files.
  5550. Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5551. * Makefile.in: Massage broken shells that require 'else true'.
  5552. Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
  5553. * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
  5554. Declare __builtin_alloca in the sparc case, as argv.c did.
  5555. * argv.c: Replace inline version of alloca-norm.h at start of file with
  5556. a #include of alloca-conf.h. Precede it with an include of ansidecl.h
  5557. because alloca-norm.h needs to declare alloca as "PTR".
  5558. Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
  5559. * win32.c: New file.
  5560. Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5561. * dummy.c: #include "alloca-conf.h".
  5562. Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5563. * Makefile.in (mostlyclean): Remove stamp-picdir.
  5564. (clean): Don't.
  5565. Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5566. * config.table (frags): Use toplevel pic frags.
  5567. * Makefile.in (PICFLAG): New macro.
  5568. (all): Depend on stamp-picdir.
  5569. (needed-list): Ditto.
  5570. (.c.o): Also build pic object.
  5571. (stamp-picdir): New rule.
  5572. (mostlyclean): Remove pic.
  5573. (clean): Remove stamp-picdir.
  5574. Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
  5575. * vmsbuild.com (config.h): Add `#define NEED_basename'.
  5576. Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5577. * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
  5578. to libio-style copyright.
  5579. * getpagesize.c: Remove FSF copyright.
  5580. Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  5581. Added improved VMS support from Pat Rankin:
  5582. Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
  5583. * vmsbuild.com: new file.
  5584. * getpagesize.c (getpagesize): implement for VMS;
  5585. * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
  5586. support for EVMSERR.
  5587. Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
  5588. Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
  5589. * floatformat.c (floatformat_arm_ext): Define.
  5590. Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5591. * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
  5592. strerror.c, strsignal.c: Remove FSF copyright.
  5593. * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
  5594. Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
  5595. * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
  5596. strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
  5597. might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
  5598. * strchr.c, strrchr.c: Add cast to suppress const warning.
  5599. Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5600. * cplus-dem.c: Use const instead of CONST. Don't include
  5601. ansidecl.h directly.
  5602. Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5603. * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
  5604. xrealloc.
  5605. (-DMAIN): Don't rely on an externally-defined version number;
  5606. instead, require the version number to be defined as a
  5607. preprocessor macro. Handle the RS/6000 leading dot. Define
  5608. xmalloc, xrealloc and fatal. Don't strip a leading underscore
  5609. if we couldn't demangle the word.
  5610. Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
  5611. (Old mpw.c change descriptions retained for informational value.)
  5612. * mpw.c (warning_threshold): Default to .4 sec.
  5613. (overflow_count, current_progress): New globals.
  5614. (warn_if_spin_delay): Include current progress type,
  5615. such as program name, in message.
  5616. (mpw_start_progress): Set current_progress variable from arg.
  5617. (mpw_end_progress): Report spin delays by power-of-two-size
  5618. buckets instead of constant-size buckets.
  5619. * mpw.c: Clean up formatting, types, returns, etc.
  5620. (ENOSYS): Define.
  5621. (mpw_fread, mpw_fwrite): Define.
  5622. (sleep): Define correctly.
  5623. * mpw.c: New code to implement cursor spinning support.
  5624. (umask): New function.
  5625. (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
  5626. * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
  5627. basenames for MPW and MPW/Unix filenames.
  5628. (mpw_special_init): New function, calls Macsbug if desired.
  5629. * mpw.c: Add GPL notice.
  5630. (mpwify_filename): Add more transformations.
  5631. (mpw_fopen): Call mpwify_filename on file names.
  5632. (rename): Remove.
  5633. (chdir, getcwd): Add simple definitions.
  5634. * mpw.c: Random cleanups, remove unused code bits.
  5635. Added copy of strerror.c for gcc's use.
  5636. (stat, fstat, _stat): New versions based on Guido van Rossum code.
  5637. * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
  5638. * mpw.c (stat): Remove hack definition, get from sys/stat.h.
  5639. (fork, vfork, etc): Print error messages if called.
  5640. (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
  5641. rename, chown): Define.
  5642. * mpw-config.in: New file, MPW version of configure.in.
  5643. * mpw-make.in: New file, MPW version of Makefile.in.
  5644. * mpw.c: New file, MPW compatibility routines.
  5645. Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
  5646. * basename.c: Include config.h before checking for NEED_basename.
  5647. Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5648. * functions.def: Add DEFFUNC for basename.
  5649. * basename.c: Only define basename if NEED_basename.
  5650. Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5651. * config.table: Fix --enable-shared logic for native builds.
  5652. Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5653. * cplus-dem.c (demangle_template): Demangle bool literals properly.
  5654. Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
  5655. * strtol.c strtoul.c: Replace these with less buggy versions from
  5656. NetBSD. (strtoul in particular couldn't handle base 16.)
  5657. Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
  5658. * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
  5659. * clock.c: If NO_SYS_PARAM_H is defined, don't include
  5660. <sys/param.h>.
  5661. * getcwd.c, getpagesize.c, getruntime.c: Likewise.
  5662. Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
  5663. * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
  5664. a number; ANSI appears to permit any expression, including a
  5665. function call.
  5666. * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
  5667. xiberty.
  5668. * config/mt-vxworks5: New file.
  5669. Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
  5670. * basename.c (basename): Change argument to be const.
  5671. Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5672. * Makefile.in (lneeded-list): Don't worry about xmalloc.
  5673. Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
  5674. * Makefile.in (distclean): Delete xhost-mkfrag.
  5675. Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
  5676. * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
  5677. Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
  5678. * hex.c: New file.
  5679. * Makefile.in (REQUIRED_OFILES, CFILES): List it.
  5680. (hex.o): Add dependencies.
  5681. * cplus-dem.c (demangle_prefix): For GNU style constructor and
  5682. destructor names, try demangling the remainder of the string.
  5683. Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
  5684. * vasprintf.c (int_vasprintf): New static function.
  5685. (vasprintf): Use int_vasprintf. Removes assumption that va_list
  5686. is assignment compatible.
  5687. Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
  5688. * Makefile.in (LIBCFLAGS): New variable.
  5689. (FLAGS_TO_PASS): Pass it.
  5690. (.c.o): Use it.
  5691. Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
  5692. * getopt.c, getopt1.c: Do compile these functions under Linux,
  5693. since many native versions are based on glibc but are buggy.
  5694. Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
  5695. * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
  5696. with prototype in GNU libc. Support stdarg.h as well as varargs.h.
  5697. Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
  5698. * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
  5699. * functions.def: Remove vasprintf.
  5700. Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  5701. * xmalloc.c (first_break): New static variable.
  5702. (xmalloc_set_program_name): Record sbrk (0) in first_break.
  5703. (xmalloc): If memory allocation fails, try to report how much
  5704. memory was allocated by the program up to this point.
  5705. (xrealloc): Likewise.
  5706. Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
  5707. * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
  5708. when linking dummy.
  5709. * config.table: Add host RISCiX Makefile frag.
  5710. * config/mh-riscix: New file.
  5711. Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  5712. * Makefile.in (FLAGS_TO_PASS): Define.
  5713. ($(RULE1)): Use $(FLAGS_TO_PASS).
  5714. Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  5715. * vasprintf.c: Include <string.h>.
  5716. (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
  5717. * xatexit.c: Declare malloc.
  5718. Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
  5719. * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
  5720. one below).
  5721. Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
  5722. * cplus-dem.c (demangle args): Handle ARM repeat encoding where
  5723. the type index is greater than 9.
  5724. Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
  5725. * cplus-dem.c (demangle_qualified): accept optional '_' between
  5726. qualified name. This is baecause the template name may end with
  5727. numeric and can mixed up with the length of next qualified name.
  5728. Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
  5729. * config/mt-sunos4: Use our standard location for cross-includes
  5730. and cross-libs when the target is also a "host" environment (ie no
  5731. newlib; includes and such don't belong to us). This is specific
  5732. to the Cygnus Support environment.
  5733. Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
  5734. * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
  5735. xxx<ch=81>.
  5736. Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
  5737. * cplus-dem.c (main): flush stdout to make pipe work.
  5738. Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
  5739. * config.table (*-*-cxux7*): Recognize.
  5740. * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
  5741. Harris-specific float format.
  5742. * config/mh-cxux7: New file.
  5743. Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5744. * cplus-dem.c (demangle_template): Make sure that the result of
  5745. consume_count doesn't index beyond the end of the string.
  5746. Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5747. * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
  5748. earlier. Improve test for new vtable mangling. Change output back
  5749. to `virtual table'.
  5750. Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
  5751. * obstack.c: Always compile this code, even if using the GNU
  5752. library. Avoids problems with relatively recent binary
  5753. incompatibility.
  5754. Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5755. * cplus-dem.c: Include libiberty.h.
  5756. (xmalloc, xrealloc, free): Don't declare.
  5757. (strstr): Don't declare parameters.
  5758. (xmalloc, xrealloc): Don't define.
  5759. (long_options): Add no-strip-underscores.
  5760. (main): Call xmalloc_set_program_name. Pass n in short options to
  5761. getopt_long. Handle option 'n' to not strip underscores.
  5762. (usage): Mention -n and --no-strip-underscores.
  5763. Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
  5764. * cplus-dem.c (demangle_template): Separate consecutive >'s with a
  5765. space.
  5766. (gnu_special): Demangle template and qualified names in a vtable name.
  5767. Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  5768. From gas-2.3 and binutils-2.4 net releases:
  5769. Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
  5770. * makefile.dos: [new] Makefile for dos/go32
  5771. * configure.bat: update for latest files
  5772. * msdos.c: remove some functions now in libc.a
  5773. Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
  5774. * cplus-dem.c (gnu_special): Recognize thunks, as well as
  5775. the new naming style for vtables (when -fvtable-thunks).
  5776. Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5777. * Makefile.in (XTRAFLAGS): Don't define.
  5778. (.c.o, dummy.o): Don't use XTRAFLAGS.
  5779. ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
  5780. Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  5781. * vasprintf.c: New file.
  5782. * Makefile.in, functions.def: Add it.
  5783. Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
  5784. * cplus-dem.c (demangle_fund_type): Grok bool.
  5785. Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
  5786. * config.table: Add go32
  5787. * config/mh-go32: New template.
  5788. Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
  5789. * config.table, config/mt-sunos4: config for when sun4 is cross target.
  5790. Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5791. * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
  5792. Declare strlen to return int. Don't include stddef.h.
  5793. Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
  5794. * getopt.c: Delete use of IN_GCC to control whether
  5795. stddef.h or gstddef.h is included.
  5796. Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
  5797. * cplus-dem.c (demangle_signature): Fix a bug in template function
  5798. type numbering.
  5799. Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
  5800. * cplus-dem.c (demangle_signature): Fix template function with arm
  5801. style argument type number, Tn.
  5802. Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
  5803. * cplus-dem.c (optable): Add new[] and delete[].
  5804. Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
  5805. * argv.c (buildargv): Don't produce empty argument just because
  5806. there is trailing whitespace.
  5807. Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
  5808. * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
  5809. Handle 'p' same as 'P'.
  5810. * cplus-dem.c (do_type): Handle 'p' same as 'P'.
  5811. Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5812. * floatformat.c (get_field, put_field): Fix off by one error in
  5813. little endian case.
  5814. Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  5815. * floatformat.c (floatformat_from_double): Pass unsigned char *,
  5816. not char *, to put_field.
  5817. Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
  5818. * memmove.c: Re-wrote; placed in public domain.
  5819. Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
  5820. * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
  5821. __Q* as a constructor.
  5822. Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
  5823. * ieee-float.c: Removed; no longer used.
  5824. * Makefile.in: Changed accordingly.
  5825. Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5826. * floatformat.c (get_field): Removed unused local variable i.
  5827. (put_field): Removed unused local variable i.
  5828. Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
  5829. * floatformat.c: New file, intended to replace ieee-float.c.
  5830. * Makefile.in: Change accordingly.
  5831. Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  5832. * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
  5833. (_getopt_initialize): New function, broken out of _getopt_internal.
  5834. (_getopt_internal):
  5835. If long_only and the ARGV-element has the form "-f", where f is
  5836. a valid short option, don't consider it an abbreviated form of
  5837. a long option that starts with f. Otherwise there would be no
  5838. way to give the -f short option.
  5839. Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5840. * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
  5841. Test just __STDC__, not emacs.
  5842. Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
  5843. * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
  5844. [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
  5845. Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
  5846. * getopt.c (_NO_PROTO): Define before config.h is included.
  5847. Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5848. * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
  5849. <config.h> only under these, else "config.h".
  5850. Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  5851. * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
  5852. <config.h> instead of "config.h".
  5853. Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
  5854. * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
  5855. whether to use prototypes or not.
  5856. * strerror.c (const): Never undefine; let ansidecl.h handle it.
  5857. * strsignal.c (const): Likewise.
  5858. Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5859. * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
  5860. Merging common and initialized variables need not be supported by
  5861. ANSI C compilers.
  5862. (xatexit): Initialize _xexit_cleanup if not already set.
  5863. * xexit.c: Comment fix.
  5864. Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5865. * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
  5866. (xrealloc): If oldmem is NULL, allocate with malloc, rather than
  5867. assuming that realloc works correctly.
  5868. Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5869. * concat.c, ieee-float.c: Replace inclusion of <string.h>
  5870. with explicit function declarations, as recommended by Ian Taylor.
  5871. Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
  5872. * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
  5873. (malloc, realloc): Declare.
  5874. Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5875. * argv.c, basename.c: Include ansidecl.h and libiberty.h.
  5876. * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
  5877. * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
  5878. * xmalloc.c: Likewise.
  5879. * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
  5880. macros, not <varargs.h> macros.
  5881. * spaces.c (spaces): Make return type const. Don't crash if
  5882. malloc returns NULL.
  5883. * strerror.c (struct error_info): Make name and msg fields const.
  5884. (error_names): Make const.
  5885. (strerrno): Make const.
  5886. (strtoerrno): Make argument const.
  5887. * strsignal.c (struct signal_info): Make name and msg fields
  5888. const.
  5889. (signal_names, sys_siglist): Make const.
  5890. (strsignal, strsigno): Make const.
  5891. (strtosigno): Make argument const.
  5892. * xatexit.c: Declare parameter types.
  5893. * xmalloc.c (name): Make const.
  5894. (xmalloc_set_program_name): Make argument const.
  5895. * Makefile.in (INCDIR): Define.
  5896. (.c.o): Use $(INCDIR).
  5897. (dummy.o): Likewise.
  5898. (argv.o, basename.o): New targets; depend on libiberty.h.
  5899. (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
  5900. (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
  5901. (xmalloc.o): Likewise.
  5902. (cplus-dem.o): New target; depend on demangle.h.
  5903. (getopt.o, getopt1.o): New targets; depend on getopt.h.
  5904. (ieee-float.o): New target; depend on ieee-float.h.
  5905. (obstack.o): New target; depend on obstack.h.
  5906. Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  5907. Handle obstack_chunk_alloc returning NULL. This allows
  5908. obstacks to be used by libraries, without forcing them
  5909. to call exit or longjmp.
  5910. * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
  5911. If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
  5912. (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
  5913. Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  5914. * concat.c, ieee-float.c: Include <string.h>.
  5915. Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  5916. * xmalloc.c (xmalloc_set_program_name): New function.
  5917. (xmalloc, xrealloc): Include the name in the error message, if set.
  5918. * Replace atexit.c with xatexit.c.
  5919. * Makefile.in (CFILES), functions.def: Change references.
  5920. Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
  5921. * getruntime.c (get_run_time): Use getrusage or times if
  5922. HAVE_GETRUSAGE or HAVE_TIMES are defined.
  5923. Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
  5924. * atexit.c: New file.
  5925. * Makefile.in (CFILES), functions.def: Add it.
  5926. * xexit.c: New file.
  5927. * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
  5928. * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
  5929. Change request for 0 bytes into request for 1 byte.
  5930. Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5931. * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
  5932. unsigned long, to avoid warnings.
  5933. Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
  5934. * dummy.c: Don't include time.h ever; always define clock_t as
  5935. "unsigned long". Until gcc/fixincludes ensures that clock_t
  5936. exists, __STDC__ isn't a sufficient test. And if clock() doesn't
  5937. exist, clock_t probably doesn't either.
  5938. Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
  5939. * clock.c, getruntime.c: New files.
  5940. * Makefile.in: Add to file lists.
  5941. * functions.def (clock): Add to list.
  5942. * dummy.c (time.h): Add if __STDC__.
  5943. (clock_t): #define as "unsigned long" if not __STDC__.
  5944. Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5945. * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
  5946. Edler).
  5947. Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  5948. * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
  5949. linking.
  5950. Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
  5951. * cplus-dem.c (demangle_arm_pt): New function. Common code
  5952. for ARM template demangling.
  5953. * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
  5954. * cplus-dem.c (demangle_prefix): Likewise.
  5955. Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
  5956. * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
  5957. Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
  5958. Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
  5959. * strerror.c, strsignal.c: As a small space optimization, don't
  5960. include messages when they aren't actually used.
  5961. Merge changes from takefive.co.at!joe (Josef Leherbauer)
  5962. * cplus-dem.c (demangle_prefix, demangle_function_name,
  5963. cplus_demangle_opname): Fixes for systems where cplus_marker
  5964. is something other than '$'.
  5965. Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
  5966. * waitpid.c: Simple-minded approcimation to waitpid
  5967. using vanilla wait.
  5968. * functions.def, Makefile.in: Update accordingly,
  5969. Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
  5970. * cplus-dem.c(demangle_template): fix bug template instantiation
  5971. with value of user defined type.
  5972. Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
  5973. * cplus-dem.c(cplus_demangle_opname): add the subject new function
  5974. to support unified search of operator in class.
  5975. Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  5976. gcc -Wall lint:
  5977. * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
  5978. "digit = *s" as condition in while loop.
  5979. Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
  5980. * Makefile.in: pass SHELL to recursive make
  5981. Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
  5982. * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
  5983. be (const char*), for ANSI (and gcc w/fixproto) consistency.
  5984. Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  5985. * config.table: Make *-*-hiux* use mh-hpux.
  5986. Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  5987. * config.table: Add * to end of all OS names.
  5988. Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  5989. * Makefile.in (lneeded-list): ensure that object file names are
  5990. not duplicated, as multiple instances of the same object file in
  5991. a library causes problems on some machines
  5992. Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  5993. * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
  5994. Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  5995. * strncasecmp.c: new file, implements strncasecmp
  5996. * strcasecmp.c: new file, implement strcasecmp
  5997. * Makefile.in (CFILES): list these two new source files
  5998. * functions.def: add strcasecmp and strncasecmp entries
  5999. Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  6000. * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
  6001. according to ANSI C.
  6002. Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
  6003. * cplus-dem.c: add support of ARM global constructor/destructor,
  6004. and 'G' for passing record or union in parameter.
  6005. Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6006. * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
  6007. should not be in functions.def.
  6008. Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
  6009. * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
  6010. not be in functions.def.
  6011. Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
  6012. * cplus-dem.c: change globl constructor/destructor to proper name
  6013. Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
  6014. * cplus-dem.c: fix bug in constructor/destructor
  6015. Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
  6016. * cplus-dem.c: support both old and new _vt$... vtbl mangled names
  6017. Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
  6018. * cplus-dem.c: Fix demangle_template prototype
  6019. Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
  6020. * cplus-dem.c: fix template demangling
  6021. * cplus-dem.c: fix const type demangling
  6022. * cplus-dem.c: fix constructor/destructor, virtual table,
  6023. qualifier, global constructor/destructor demangling
  6024. Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6025. * strsignal.c, strerror.c: Use fully-bracketed initializer to
  6026. keep gcc -Wall happy.
  6027. Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
  6028. * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
  6029. patch.
  6030. Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6031. Patch from Paul Flinders:
  6032. * cplus-dem.c (do_type): Deal with arrays.
  6033. Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6034. * cplus-dem.c (demangle_qualified: Deal with GNU format for more
  6035. than 9 classes.
  6036. Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
  6037. * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
  6038. not initialized" warnings under HP/UX
  6039. Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6040. * strerror.c: Move include of stdio.h after sys_errlist #define.
  6041. Also remove NULL definition (stdio.h always defines NULL, so it
  6042. never did anything but clutter up the code).
  6043. Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  6044. * Makefile.in, functions.def: handle xmalloc.c
  6045. * xmalloc.c: provide xmalloc and xrealloc functions
  6046. Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  6047. * cplus-dem.c: Fix a comment.
  6048. Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  6049. * getopt1.c: Declare const the way getopt.c does.
  6050. Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  6051. * obstack.c, alloca.c: Update from FSF.
  6052. * getopt.c, getopt1.c: Update to current FSF version, which
  6053. doesn't use alloca.
  6054. Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  6055. * Makefile.in (demangle): Add the target with a message saying
  6056. where demangle went.
  6057. Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6058. * Makefile.in: Remove obsolete `demangle' target.
  6059. Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
  6060. * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
  6061. avoid infinite loop on vtbl symbols with disambiguating "junk"
  6062. tacked on the end.
  6063. Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
  6064. * strsignal.c: work around some systems losing definitions of
  6065. sys_siglist
  6066. * config/mh-lynxos: this system has a losing definition of
  6067. sys_siglist
  6068. * config.table: use mh-lynxos for *-*-lynxos
  6069. Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
  6070. * config.table: Add support for HPPA BSD hosts.
  6071. * config/mh-hpbsd: New file.
  6072. Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
  6073. * Makefile.in (TAGS): make work when srcdir != objdir.
  6074. Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
  6075. * cplus-dem.c (main): Add long options, including --help and
  6076. --version.
  6077. (usage): New function from code in main.
  6078. Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
  6079. * config.table: New shell scipt, sourced by both ./configure,in
  6080. and ../xiberty/configure.in, to avoid maintainance lossages.
  6081. * configure.in and ../xiberty/configure.in: Use config.table.
  6082. * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
  6083. * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
  6084. * ../xiberty/configure.in: Update from ./configure.in.
  6085. Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  6086. * Makefile.in: remove parentdir support
  6087. Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  6088. * cplus-dem.c (xrealloc): Match definition with prototype.
  6089. Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  6090. * cplus-dem.c (demangle_prefix): Demangle cfront
  6091. local variables as an extension to ARM demangling.
  6092. Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
  6093. * ieee-float.c: Don't require pointers to double to be aligned.
  6094. Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
  6095. (merge changes from dlong@cse.ucsc.edu)
  6096. * cplus-dem.c (consume_count): Simplify.
  6097. * cplus-dem.c (arm_pt, demangle_class_name): New functions.
  6098. * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
  6099. * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
  6100. full prototypes.
  6101. * cplus-dem.c (free): Add prototype.
  6102. * cplus-dem.c (optable): Fully bracketize initializer.
  6103. Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
  6104. * cplus-dem.c: Whether initial underscores are stripped
  6105. depends on the external variable prepends_underscore
  6106. (which is generated by the binutils Makefile).
  6107. Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
  6108. * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
  6109. Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
  6110. * cplus-dem.c (consume_count): Return zero if arg does not
  6111. start with digit, and don't consume any input.
  6112. Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
  6113. * Makefile.in (demangle): Use ${srcdir} not $^.
  6114. * strtod.c: New file, needed at least for BSD 4.3.
  6115. Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
  6116. * strsignal.c (sys_siglist): For ANSI compilations, type is
  6117. "const char *const". Also remove conditionalization on __STDC__
  6118. since const is defined away for non-ANSI.
  6119. Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
  6120. * configure.in: Recognize *-*-hpux.
  6121. * config/mh-hpux: New file.
  6122. Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
  6123. * tmpnam.c: Added ANSI tmpnam() function.
  6124. * functions.def, Makefile.in: Update accordingly.
  6125. Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
  6126. * cplus-dem.c (demangle_function_name): Get the demangling of
  6127. stop__1A right.
  6128. Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
  6129. * cplus-dem.c: Declare strstr return type.
  6130. Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
  6131. * strsignal.c: Add some AIX signals.
  6132. Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
  6133. * Makefile.in (MAKEOVERRIDES): Define to be empty.
  6134. Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
  6135. * Makefile.in: add installcheck & dvi targets
  6136. Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
  6137. * ieee-float.c: New file, moved from ../gdb (since it is
  6138. needed by ../opcode/m68k-dis.c).
  6139. Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
  6140. * cplus-dem.c: Replace all references to cfront with ARM.
  6141. Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
  6142. * cplus-dem.c: Fix main program (when compiled with -DMAIN)
  6143. to be more useful as a filter.
  6144. Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
  6145. * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
  6146. destination directory before running $(RANLIB), in case that
  6147. program tries to create a file in the current directory as part of
  6148. its work.
  6149. Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
  6150. * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
  6151. because BSD 4.4 lacks one. Isn't this fun?
  6152. Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
  6153. * cplus-dem.c (demangle_signature): Set func_done after
  6154. demangling a template.
  6155. * cplus-dem.c (demangle_template): Fix several small bugs
  6156. in demangling GNU style templates.
  6157. * cplus-dem.c (demangle_prefix): Fix for templates in GNU
  6158. style constructors.
  6159. * cplus-dem.c (gnu_special): Fix for templates in GNU style
  6160. static data members.
  6161. Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
  6162. * cplus-dem.c (demangle_signature): Modify to include type
  6163. modifiers like static and const in remembered types.
  6164. Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
  6165. * cplus-dem.c (demangled_qualified): Add new parameter that tells
  6166. whether to prepend or append the qualifiers.
  6167. * cplus-dem.c (string_prepends): Used now, remove #if 0.
  6168. * cplus-dem.c (demangle_signature): Call demangle_qualified
  6169. with prepending.
  6170. * cplus-dem.c (gnu_special): Recognize static data members that
  6171. use qualified names.
  6172. * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
  6173. temporary buffer and the prepend or append them to the result,
  6174. as specified by the new "append" flag.
  6175. * cplus-dem.c (do_type): Call demangled_qualified with
  6176. appending.
  6177. Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
  6178. * strsignal.c (signal_table): Now const.
  6179. (init_signal_tables): Variable eip now points to const.
  6180. * strerror.c (error_table): Now const.
  6181. (init_error_tables): Variable eip now points to const.
  6182. Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
  6183. * memchr.c (memchr): New (ANSI standard) function.
  6184. * Makefile.in, functions.def: Added memchr.
  6185. * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
  6186. Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  6187. * getopt.c: remove use of USG around <alloca.h>, which never meant
  6188. anything anyway
  6189. * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
  6190. of USG and USGr4
  6191. Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
  6192. * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
  6193. it's now a type according to the ANSI X3J16 working paper; output
  6194. "wchar_t" for it.
  6195. (demangle_template): Accept `w' as an integral type.
  6196. (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
  6197. counterparts malloc and realloc to `char *'.
  6198. (main): Exit with a 0 status.
  6199. * Makefile.in (demangle): Don't expect the user to define
  6200. DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
  6201. for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
  6202. Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
  6203. * Makefile.in (AR_FLAGS): Avoid verbosity.
  6204. * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
  6205. replace USGr4 with HAVE_SYSCONF.
  6206. * config/mh-solaris: Remove; mh-sysv4 works now.
  6207. * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
  6208. * configure.in: Simplify host matching table, remove separate
  6209. solaris config file.
  6210. Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
  6211. * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
  6212. Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
  6213. * cplus-dem.c (xmalloc, xrealloc): Add decls.
  6214. (remember_type): Don't cast xmalloc.
  6215. (string_need): Likewise; don't cast xrealloc either.
  6216. Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
  6217. * Makefile.in, functions.defs, rename.c: added simple
  6218. implementation of rename, since some binutils programs use it.
  6219. Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
  6220. * strsignal.c: Add appropriate 'const' to sys_siglist
  6221. extern declaration (if __STDC__). (Needed for Linux.)
  6222. * strsignal.c (strsignal): Add cast to remove const-ness.
  6223. Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
  6224. * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
  6225. before "'s, diagnosed by BSD 4.4 awk.
  6226. Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
  6227. * Makefile.in: create config.h and needed-list through $(CONFIG_H)
  6228. and $(NEEDED_LIST), to give some hooks for xiberty.
  6229. Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  6230. * configure.in: use cpu-vendor-triple instead of nested cases
  6231. Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
  6232. * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
  6233. concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
  6234. getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
  6235. obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
  6236. strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
  6237. Convert from using GPL to LGPL.
  6238. Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
  6239. * Makefile.in (errors): Leave dummy.o and dummy around so that
  6240. we can see how the needed list was generated (it's sometimes wrong).
  6241. (mostlyclean): Remove them.
  6242. Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
  6243. * getcwd.c: supply a default if MAXPATHLEN is not defined.
  6244. * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
  6245. Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
  6246. * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
  6247. when cross-compiling.
  6248. Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
  6249. * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
  6250. as a time optimization.
  6251. * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
  6252. be more expensive than simply demangling.
  6253. * cplus-dem.c (cplus_match): new function.
  6254. Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
  6255. * cplus-dem.c: #include <stdio.h>, to define NULL.
  6256. Define current_demangling_style.
  6257. Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
  6258. * cplus-dem.c: New file, moved from ../gdb.
  6259. * cplus-dem.c (set_cplus_marker_for_demangling): New exported
  6260. function, to avoid compiling in target-dependency for CPLUS_MARKER.
  6261. * cplus-dem.c (cplus_demangle): Allow demangling style option
  6262. to be passed as a parameter, but using the global variable
  6263. current_demangling_style as a default.
  6264. * Makefile.in: Update for cplus-dem.c
  6265. Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
  6266. * obstack.c: Merge in comment changes from FSF version. Now
  6267. matches the FSF version exactly.
  6268. Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
  6269. * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
  6270. least on losing DECstations!); use if-then-else instead.
  6271. Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
  6272. * Makefile.in: always create installation directories.
  6273. Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
  6274. * Makefile.in: clean up definition of CFILES, more comments
  6275. Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
  6276. * getopt.c (my_index): Make first arg const to match strchr,
  6277. which it sometimes is remapped to.
  6278. Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
  6279. * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
  6280. * obstack.c (_obstack_begin): Initialize use_extra_arg.
  6281. * obstack.c (_obstack_begin_1): New, from FSF version.
  6282. Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
  6283. * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
  6284. extra_arg.
  6285. * obstack.c (_obstack_begin): Remove area_id and flags arguments
  6286. (previously added for mmalloc support, interface has changed).
  6287. Also convert flags usage to use use_extra_arg and maybe_empty_object.
  6288. Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
  6289. * argv.c: Move expandargv inline and eliminate static variables.
  6290. Rewrite to always allocate in powers of two. Fix to return an
  6291. argv with a single null string arg if passed a null string.
  6292. Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
  6293. * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
  6294. "(void)" casts from function calls where the return value is
  6295. ignored, in accordance with GNU coding standards.
  6296. Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
  6297. * bcopy.c, strerror.c, strsignal.c: Lint.
  6298. Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  6299. * getopt.c: merge changes from make.
  6300. Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
  6301. * alloca.c: Incorporate fixes from gdb/alloca.c.
  6302. FIXME: Eventually move gdb's alloca configuration files here,
  6303. and remove gdb/alloca.c and its Makefile.in support.
  6304. Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
  6305. * dummy.c: Define NOTHING to /*nothing*/, change return type
  6306. of main to int and return zero.
  6307. * functions.def: Supply NOTHING as the fourth arg to macros
  6308. that don't have an explicit arg, to satisfy picky preprocessors.
  6309. Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
  6310. * Makefile.in: Clean up *clean rules, as per standards.texi.
  6311. Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
  6312. * getopt.c, getopt1.c: merged largely gratuitous, mostly
  6313. whitespace diffs from other prep distributions.
  6314. Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
  6315. * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
  6316. it is broken on ncr 3000's.
  6317. Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
  6318. * sigsetmask.c: Rewrite. Old one was very confused about its
  6319. arguments and result. New one can't do much, but at least knows
  6320. what it can't do, and it's good enough for GDB's use.
  6321. Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
  6322. * functions.def: Use proper prototype for strtoul.
  6323. Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
  6324. * Makefile.in: Add random.c.
  6325. * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
  6326. * configure.in: update solaris2 config.
  6327. Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
  6328. * random.c: Add for random() and srandom().
  6329. * functions.def: Add random
  6330. Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
  6331. * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
  6332. using /usr/ucb/install.
  6333. Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
  6334. * strerror.c: Kludge to guard against a conflict with
  6335. possible declaration of sys_errlist in errno.h.
  6336. Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
  6337. * configure.in, config/mh-solaris: add solaris2 config support.
  6338. Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
  6339. * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
  6340. is not defined (should be defined in signal.h, says Posix.).
  6341. Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
  6342. * getopt.c: merged changes from make-3.62.11.
  6343. Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
  6344. * getopt.c: merged changes from bison-1.18.
  6345. Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
  6346. * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
  6347. since that introduces a circular dependency.
  6348. ($(EXTRA_OFILES) are used to build config.h.)
  6349. * strtoul.c: Fixes to handle non-decimal bases better.
  6350. Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
  6351. * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
  6352. * Makefile.dos: Finish MINUS_G eradication.
  6353. * Makefile.in (CFILES): Add strsignal.c.
  6354. * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
  6355. * Makefile.in (needed-list): Split creation of errors file to
  6356. separate make target.
  6357. * Makefile.in (config.h, needed2.awk, errors): New targets.
  6358. * Makefile.in (clean): Split to multiple lines, add needed2.awk
  6359. and config.h.
  6360. * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
  6361. * functions.def (strerror): Remove from optional list.
  6362. * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
  6363. * functions.def (strerror, psignal): DEFFUNC's
  6364. * strerror.c: Rewrite from scratch to use sys_errlist only if
  6365. available, add errno_max(), add strerrno(), add strtoerrno(),
  6366. add test driver.
  6367. * strsignal.c: New file, signal equivalent to strerror.c.
  6368. Uses sys_siglist if available, defines signo_max(), strsignal(),
  6369. strsigno(), strtosigno(), psignal(), and test driver.
  6370. Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
  6371. * Makefile.in: do not print recursion line.
  6372. * Makefile.in: allow CFLAGS to be passed in from command line.
  6373. Removed MINUS_G. Default CFLAGS to -g.
  6374. Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
  6375. * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
  6376. so libg++ users don't have to be inconvenienced by a
  6377. libc.a bug (libc.a needs copysign, but doesn't define it!).
  6378. * configure.in: Use config/mh-aix.
  6379. * strtoul.c: Handle '-' as required by ANSI.
  6380. Clean up radix handling.
  6381. * strstr.c: Fix buggy algorithm.
  6382. * Makefile.in: Change so that ${EXTRA_OFILES} is
  6383. appended to needed-list (which is used by libg++).
  6384. Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
  6385. * configure.in: Recognize new ncr3000 config.
  6386. * config/mh-ncr3000: New config file.
  6387. Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
  6388. * argv.c, dummy.c: Lint.
  6389. Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
  6390. * config/mh-sysv4: New config file.
  6391. * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
  6392. host_os == sysv4.
  6393. * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
  6394. pagesize.
  6395. Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
  6396. * getopt.c: Lint.
  6397. Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
  6398. * functions.def (alloca): Fix return type and args to avoid
  6399. type clash with gcc's builtin alloca.
  6400. Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
  6401. * configure.in, config/mh-irix4: irix4 support.
  6402. * Makefile.in, functions.def, alloca.c: added alloca.
  6403. Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
  6404. * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
  6405. Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
  6406. * argv.c: Fix various external function definitions to be
  6407. correct in an ANSI compilation environment.
  6408. Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
  6409. * obstack.c: Changes to support calling mmalloc functions,
  6410. which take an additional argument over malloc functions.
  6411. Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
  6412. * added check target.
  6413. Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
  6414. * argv.c: #include alloca-conf.h (needed by AIX).
  6415. Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
  6416. * Makefile.in, configure.in: removed traces of namesubdir,
  6417. -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
  6418. copyrights to '92, changed some from Cygnus to FSF.
  6419. Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
  6420. * argv.c: Check in Fred's version which fixes problems with
  6421. alloca().
  6422. Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
  6423. * makefile.dos: Remove NUL to keep patch from failing.
  6424. Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
  6425. * getopt.c (_getopt_internal): Fix usage of enum has_arg.
  6426. Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
  6427. * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
  6428. Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
  6429. * argv.c: New file to build and destroy standard argument
  6430. vectors from a command string.
  6431. * Makefile.in: Add argv.c and argv.o to appropriate macros.
  6432. Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
  6433. * configure.in: Change svr4 references to sysv4.
  6434. * rindex.c: Declare return type of externally used function
  6435. strrchr().
  6436. Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
  6437. * Makefile.in: Remove "***" in normal output, since Make produces
  6438. this on errors, and it's convenient to search for.
  6439. Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
  6440. * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
  6441. New ANSI functions. The old non-ANSI functions (such as bcopy)
  6442. should be avoided.
  6443. * bcopy.c: Fix to correctly handle overlapping regions.
  6444. * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
  6445. * functions.def: Add the new functions.
  6446. * functions.def: Add 4th parameter to DEF macro,
  6447. an ansidecl.h-style prototype.
  6448. * dummy.c: Use expanded DEF macro to create a dummy function
  6449. call, with correct parameter types. (This avoids some
  6450. complaints from gcc about predefined builtins.)
  6451. Move the functionality of config/mh-default into Makefile.in.
  6452. This avoid duplication, and simplifies things slightly.
  6453. * Makefile.in: Tweak so we don't need config/mh-default.
  6454. * README: Update.
  6455. * configure.in: No longer need config/mh-default.
  6456. * config/mh-default: Deleted.
  6457. * config/mh-sysv: Remove lines copied from old mh-default.
  6458. Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
  6459. * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
  6460. 'mknod' device numbers.
  6461. Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
  6462. * fdmatch.c, Makefile.in: Add new function that takes two
  6463. open file descriptors and returns nonzero if they refer to
  6464. the same file, zero otherwise. (used in gdb)
  6465. Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
  6466. From DJ:
  6467. * msdos.c: stub functions for dos.
  6468. * makefile.dos, configdj.bat: new.
  6469. * getopt.c: Don't include alloca-conf.h in a GO32 world.
  6470. Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  6471. * Makefile.in: infodir belongs in datadir.
  6472. Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  6473. * Makefile.in: remove spaces following hyphens because bsd make
  6474. can't cope. added standards.text support. install using
  6475. INSTALL_DATA.
  6476. * configure.in: remove commontargets as it is no longer a
  6477. recognized hook.
  6478. Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
  6479. * Makefile.in: idestdir and ddestdir go away. Added copyrights
  6480. and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
  6481. and mandir now keyed off datadir by default.
  6482. Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
  6483. * Makefile.in: find-needed.awk does not fit in 14 chars.
  6484. * Makefile.in: Suppress error checking when compiling the test
  6485. program, because Ultrix make/sh aborts there due to a bug.
  6486. Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
  6487. * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
  6488. * README: Explained how the auto-configuration works,
  6489. and how to add new files and/or configurations.
  6490. Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
  6491. * strtoul.c: Avoid defining ULONG_MAX if already defined;
  6492. cast a const char * to char * for pedants.
  6493. * getopt.c: Only define "const" after local include files get to,
  6494. and only if they haven't defined it.
  6495. Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
  6496. * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
  6497. emulate it with getwd() if available. This avoids callers having
  6498. to find a MAXPATHLEN or PATH_MAX value from somewhere.
  6499. * Makefile.in, functions.def: getwd->getcwd.
  6500. * configure.in: Use generic case for every system.
  6501. * config/mh-{delta88,mach,rs6000,svr4}: Remove.
  6502. * config/mh-sysv: Use default handling, just add -DUSG.
  6503. Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
  6504. * Makefile.in, config/mh-default: Re-do make magic
  6505. so that for the default ("automatic") mode we only
  6506. compile the files we actually need. Do this using
  6507. a recursive make: The top-level generates the list
  6508. of needed files (loosely, the ones missing in libc),
  6509. and then passes that list to the recursive make.
  6510. * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
  6511. Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
  6512. RS/6000 host support (grumble).
  6513. * configure.in: Build alloca-conf.h file from alloca-norm.h
  6514. (everything else) or alloca-botch.h (rs/6000).
  6515. * Makefile.in: Include . on the include path.
  6516. * getopt.c: Use alloca-conf.h.
  6517. * alloca-norm.h: How to declare alloca on reasonable machines.
  6518. * alloca-botch.h: How to declare alloca on braindead machines.
  6519. Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
  6520. * concat.c : New file, like concat() in gdb but can take a
  6521. variable number of arguments rather than fixed at 3 args. For
  6522. now, client applications must supply an xmalloc(), which is a
  6523. front end function to malloc() that deals with out-of-memory
  6524. conditions.
  6525. * Makefile.in: Add concat.c and concat.o to appropriate macros.
  6526. Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
  6527. * config/mh-svr4: Add sigsetmask to list of required functions.
  6528. Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
  6529. * vsprintf.c: New file.
  6530. * functions.def, Makefile.in: Add vsprintf.
  6531. Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
  6532. * configure.in, config/mh-rs6000: Add rs/6000 host support.
  6533. * Makefile.in: Compile with debug info.
  6534. Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
  6535. * Makefile.in, configure.in, and new files: dummy.c, functions.def,
  6536. config/mf-default: Added a default configuration mode,
  6537. which includes into libiberty.a functions that are "missing" in libc.
  6538. * strdup.c, vprintf.c, vfprintf.c: New files.
  6539. Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
  6540. * config/hmake-svr4: New file.
  6541. * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
  6542. * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
  6543. index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
  6544. files containing either portable C versions or emulations using
  6545. native library calls.
  6546. * strerror.c: Add copyright, internal documentation, etc.
  6547. * strtol.c: Replace hardwired hex constants with some more
  6548. portable macros. Remove illegal (according to gcc) cast.
  6549. * strtoul.c: Replace hardwired hex constant with more portable
  6550. macro.
  6551. * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
  6552. can override them. Add new source and object file names to CFILES
  6553. and OFILES respectively.
  6554. * configure.in: Add support for SVR4 makefile fragments.
  6555. Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
  6556. * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
  6557. over-ridden by config/hmake-*
  6558. * configure.in: added m88kcvs to sysv list
  6559. Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
  6560. * Makefile.in: Most hosts need strerror, but one or two don't,
  6561. and they override these definitions in the host-dependent makefile
  6562. fragment.
  6563. * config/hmake-mach: The odd man out on strerror -- it's supplied.
  6564. * strerror.c: New file.
  6565. * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
  6566. it and bfd uses it.
  6567. * configure.in, Makefile.in, config/hmake-mach: Only configure
  6568. strtol & strotoul in on Mach.
  6569. Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
  6570. * obstack.c: Merge with latest FSF version.
  6571. Local Variables:
  6572. version-control: never
  6573. End: