ChangeLog.5 409 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878
  1. Tue Jun 18 17:56:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2. * Version 1.91 test release.
  3. * Makerules ($(common-objpfx)distinfo-$(subdir)): Change target from
  4. distinfo to this.
  5. (distinfo): Make phony target depending on that.
  6. (TAGS, po/%.pot, dist): Change deps.
  7. (common-clean): Remove that file.
  8. * rpm/Makefile (distinfo): Change names.
  9. * rpm/Makefile (clean): New target.
  10. * stdlib/test-canon.c: New test program contributed by David Mosberger.
  11. * stdlib/Makefile (tests): Add test-canon.
  12. * stdlib/canonicalize.c: Rewritten by David Mosberger.
  13. Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  14. * mach/Machrules (%_server.c %_server.h rule): Remove gratuitous
  15. mention of $< in mig cmd. Thanks to Shantanu Goel.
  16. * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
  17. _hurd_brk.
  18. * libio/stdio.h [__USE_SVID]: Declare tempnam.
  19. Fri Jun 14 19:28:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  20. * sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
  21. parameters.
  22. Wed Jun 12 20:40:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  23. * sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
  24. _dl_default_scope.
  25. Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  26. * sysdeps/stub/elfclass.h: New file.
  27. * Make-dist (subdir): Make empty value really empty.
  28. * version.h (VERSION): Update to 1.91.
  29. * hurd/hurdinit.c (map0): Remove [!PIC] conditional.
  30. * shlib-versions (*-*-*): Add libutil=1.
  31. * rpm/Makefile (install-lib): Add libc.a et al.
  32. (install-others): Only add libc.so if $(build-shared) is yes.
  33. * math/Makefile (install-lib): New variable, list libieee.a.
  34. (non-lib.a): Likewise.
  35. (extra-objs): Likewise, and ieee-math.o.
  36. ($(objpfx)libieee.a): New target, link to ieee-math.o.
  37. * math/ieee-math.c: New file.
  38. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw
  39. and libieee.a stuff.
  40. * sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed.
  41. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
  42. * sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h
  43. and rule for it conditional on termio.h not already being in
  44. sysdep_headers.
  45. * rpm/Makefile (install-others) [libc.so-version]: Get libc.so from
  46. $(libdir), only the versioned named from $(slibdir).
  47. (instfiles): New variable.
  48. (glibc-$(version).$(config).rpm): New target. Run rpm -bb.
  49. * rpm/rpmrc: New file. A third of the options controlling rpm can
  50. only be given here (another third is on the command line, and a third
  51. cannot be specified in any way shape or form).
  52. Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  53. * rpm/template: New file.
  54. * rpm/Makefile: New file.
  55. * Makeconfig (sysdep-configures): Remove empty variable.
  56. * Makerules (distinfo-vars): Write defns for $(install-lib.so) and
  57. $(versioned).
  58. * manual/Makefile (subdir_%): Add new rule with no deps, secondary to
  59. to rule w/dep on %, with no-op commands.
  60. * Makerules (subdir_distinfo): New phony target; depend on distinfo.
  61. * Makefile (rpm/%): New rule.
  62. (+subdir_targets): Add subdir_distinfo.
  63. Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  64. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add
  65. fpu_control.h here.
  66. * time/Makefile ($(installed-localtime-file)): If target exists, do
  67. nothing but print a message; if not, make it an absolute symlink.
  68. * time/tzset.c (__tzset): After stripping leading :, call
  69. __tzfile_read on TZ even if it's empty or null.
  70. * time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
  71. Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  72. * hurd/Makefile (routines): Add get-host, set-host.
  73. (distribute): Add hurdhost.h.
  74. * hurd/hurdhost.h: New file.
  75. * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
  76. * sysdeps/mach/hurd/gethostid.c: Likewise.
  77. * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
  78. * sysdeps/mach/hurd/sethostid.c: Likewise.
  79. * hurd/get-host.c: New file.
  80. * hurd/set-host.c: New file.
  81. * math/Makefile (headers): Add fpu_control.h.
  82. (aux): New variable, list fpu_control and setfpucw.
  83. * sysdeps/generic/fpu_control.c: New file.
  84. * sysdeps/stub/fpu_control.h: New file.
  85. * sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
  86. * sysdeps/m68k/fpu_control.h: here.
  87. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
  88. * sysdeps/i386/fpu_control.h: here.
  89. * sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
  90. * sysdeps/alpha/fpu/fpu_control.h: here. Fixed copyright.
  91. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
  92. setfpucw, fpu_control.
  93. * sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
  94. * sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
  95. * sysdeps/generic/setfpucw.c: here.
  96. (__fpu_control): Variable removed.
  97. (__setfpucw): Use SET even if zero.
  98. * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop.
  99. Set mark bits of deps as opened, instead of as scanned.
  100. * elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally.
  101. Then if it has a nonzero l_opencount, add it back in search order.
  102. * elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if
  103. it ain't got one!
  104. * sysdeps/unix/sysv/linux/Dist: Add sys/klog.h.
  105. * elf/dl-open.c (_dl_open): Remove PARENT argument, pass null.
  106. * elf/link.h: Update prototype.
  107. * elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find
  108. NAME, try the DT_RPATH of the executable itself if dynamic.
  109. * elf/dlopen.c (dlopen): Don't pass first arg to _dl_open.
  110. * elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an
  111. open succeeds.
  112. * Makerules (build-shlib): Give -L opts for each elt of $(rpath-link).
  113. * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
  114. (rpath-link): Append to this instead.
  115. Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  116. * version.c (banner): New static const variable, complete version
  117. banner text.
  118. (__libc_print_version): Use it, and use __write instead of printf.
  119. * configure.in (sysnames): Don't cache the value, because it
  120. depends only on libc sources. Merge uniquifying third pass into
  121. Implies/parent expansion second pass. Report each unique name as
  122. it is added in partial report string, terminated when finished.
  123. * Makeconfig (sysdep_dir): Move defn before config.status rule that
  124. expands it.
  125. (sysdep-configures): Variable removed.
  126. (config.status): Use its contents directly, tighten up a bit, and
  127. include Implies files.
  128. * elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null.
  129. * elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink.
  130. Thu Jun 13 14:29:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
  131. * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
  132. label to `deliver_pending:' to match goto.
  133. Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  134. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
  135. Add comment.
  136. * elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps.
  137. * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
  138. weak alias for _mcount.
  139. * sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
  140. * elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
  141. null, consider it a strong reference and give the error.
  142. Wed Jun 12 15:52:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  143. * elf/dl-open.c (_dl_open): Correctly terminate relocating loop
  144. after relocating NEW when it's the only new object.
  145. * elf/dl-init.c (_dl_init_next): When out of initializers, set
  146. _r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just
  147. before return.
  148. * elf/rtld.c (dl_main): Move _dl_debug_initialize call after
  149. relocation. Call it unconditionally and only fill in DT_DEBUG
  150. if it's present. Then call _dl_debug_state with r_state RT_ADD
  151. before running initializers.
  152. * elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call
  153. _dl_debug_state with r_state RT_ADD before running initializers
  154. * elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state
  155. RT_DELETE before running finalizers and with RT_CONSISTENT just
  156. before return.
  157. * elf/Makefile (dl-routines): Add dl-debug.
  158. * elf/dl-debug.c: New file.
  159. * elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c.
  160. (_dl_r_debug_state): Rename to _dl_debug_state and likewise move.
  161. (dl_main): Use _dl_debug_initialize.
  162. * elf/link.h: Fix name to _dl_debug_state in decl.
  163. (_dl_debug_initialize): Declare new function from dl-debug.c.
  164. (_r_debug): Declare it.
  165. * Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}.
  166. In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR).
  167. * Makeconfig (rpath-link): New variable; add $(elfobjdir).
  168. (default-rpath): Use it.
  169. (built-program-cmd): Use it in LD_LIBRARY_PATH.
  170. * Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried.
  171. * sysdeps/unix/Dist: Add make-syscalls.sh.
  172. * misc/Makefile (headers): Add sys/swap.h.
  173. * posix/unistd.h: Remove decls for swapon, swapoff.
  174. * sysdeps/generic/sys/swap.h: New file.
  175. * sysdeps/unix/sysv/linux/sys/swap.h: New file.
  176. * sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define
  177. of __kernel_fsid_t. It is correctly defines in <linux/types.h> now.
  178. Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  179. * Makerules (LDFLAGS-c.so): Use __libc_main instead of
  180. __libc_print_version as entry point for shared object.
  181. * version.c [HAVE_ELF] (__libc_main): New function.
  182. * elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the
  183. load address.
  184. Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu>
  185. * sysdeps/alpha/dl-machine.h: New file.
  186. * elf/dl-close.c: Include <string.h> for memcpy.
  187. * elf/dl-lookup.c: Same.
  188. * elf/elf.h: Add Elfxx_Symndx for symbol indices.
  189. * elf/dl-lookup.c (_dl_lookup_symbol): Use it.
  190. (_dl_setup_hash): Use it.
  191. * elf/link.h (struct link_map): Use it.
  192. * elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
  193. for getting the argc/argv/envp block. Instead, make it the argument.
  194. sysdeps/i386/dl-machine.h (RTLD_START): Do that.
  195. sysdeps/m68k/dl-machine.h (RTLD_START): Same.
  196. * shlib-versions: Add version numbers for alpha-linux. To avoid
  197. user confusion, make them the same as i386-linux.
  198. * sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
  199. sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
  200. Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
  201. without using literal data.
  202. * sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy.
  203. Finish Elf32 -> ElfW migration.
  204. Tue Jun 11 15:09:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  205. * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir.
  206. * elf/Makefile (routines): Remove init-first.
  207. * csu/Makefile (routines): New variable; put it here instead.
  208. * config.make.in (CFLAGS): New variable.
  209. * io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD,
  210. not __USE_GNU.
  211. * string/string.h (strncasecmp): Likewise.
  212. * elf/Makefile (lib-noranlib): Move rule adding deps for ld.so et al
  213. to after `include ../Rules', so $(rtld-installed-name) is defined.
  214. * string/basename.c (basename): Cast FILENAME to char * for return.
  215. * Makerules ($(libdir)/libc.so): Put $(rtld-installed) name between
  216. libc.so and libc.a in the deps.
  217. * elf/Makefile ($(objpfx)$(rtld-installed-name)): New target to make
  218. link to ld.so if that is not the installed name.
  219. (lib-noranlib): Depend on the installed name in the build directory
  220. instead of on ld.so.
  221. * Makeconfig (link-libc): Include $(elfobjdir)/$(rtld-installed-name)
  222. between libc.so and libc.a, because with libc.so's DT_NEEDED for ld.so
  223. ld searches libc.a before ld.so (is that an ld bug?).
  224. Add $(elfobjdir) to -rpath-link.
  225. * Makerules (elfobjdir): Define as . when $(subdir) is elf.
  226. * sysdeps/i386/dl-machine.h (elf_machine_rel): In R_386_32 case when
  227. relocating _dl_rtld_map, subtract SYM's value from final reloc value,
  228. but don't change *RELOC_ADDR before calling *RESOLVE, because it might
  229. call the function we are relocating!
  230. * string/basename.c: New file.
  231. * string/Makefile (routines): Add basename.
  232. Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  233. * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so.
  234. * elf/dl-close.c: New file.
  235. * elf/link.h: Declare _dl_close.
  236. * elf/Makefile (routines): Add dl-close.
  237. * elf/dlclose.c (dlclose): Use _dl_close.
  238. * elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps.
  239. * elf/dl-runtime.c (_dl_global_scope): New variable.
  240. (_dl_object_relocation_scope): New function.
  241. (fixup): Use it.
  242. * elf/rtld.c (dl_main): Use it.
  243. * elf/dl-open.c (_dl_open): Use it. If (MODE & RTLD_GLOBAL), set the
  244. l_global bit and append the new map to _dl_global_scope.
  245. * elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
  246. and _dl_object_relocation_scope.
  247. * elf/link.h (struct link_map): Add l_loader member.
  248. Remove _dl_map_object_from_fd decl.
  249. * elf/dl-load.c (_dl_map_object): Pass LOADER to ...
  250. (_dl_map_object_from_fd): Take new arg LOADER and set l_loader member.
  251. (_dl_map_object): Try DT_RPATH from all loaders up the chain.
  252. * elf/dl-object.c (_dl_loaded): Variable removed.
  253. (_dl_default_scope): New variable replaces it.
  254. * elf/link.h (_dl_loaded): Remove variable decl; instead define as
  255. macro for _dl_default_scope[2].
  256. (_dl_default_scope): Declare it.
  257. * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
  258. instead of _dl_loaded.
  259. * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
  260. * elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
  261. * elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map.
  262. * elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self.
  263. * elf/link.h (struct link_map.l_type): Remove lt_interpreter.
  264. (struct link_map): Add new flag member l_global.
  265. * elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map
  266. directly instead of looking for lt_interpreter.
  267. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
  268. * elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type.
  269. (dl_main): Set _dl_rtld_map.l_type to lt_library.
  270. * elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to
  271. dependencies loaded, downgrading lt_executable -> lt_library.
  272. * elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set
  273. l_type from that, translating lt_library->lt_executable based on the
  274. file's ELF type.
  275. (_dl_map_object): Likewise.
  276. * elf/link.h: Update prototypes.
  277. * elf/dl-open.c: Pass type lt_loaded.
  278. * elf/rtld.c: Pass type lt_library.
  279. * elf/dl-load.c (_dl_map_object_from_fd): Handle null return from
  280. _dl_new_object.
  281. (_dl_map_object_from_fd: lose): Unchain and free L if it's not null.
  282. Free REALNAME, and just use NAME in error message.
  283. * elf/dl-object.c (_dl_new_object): If malloc fails, return null
  284. instead of calling _dl_signal_error.
  285. * elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling
  286. error for _dl_zerofd setup failure.
  287. * elf/dl-object.c (_dl_startup_loaded): Variable removed.
  288. * elf/link.h: Remove its decl.
  289. * elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it
  290. through to _dl_lookup_symbol.
  291. * elf/link.h (_dl_relocate_object): Update comment and prototype.
  292. * elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object.
  293. * elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a
  294. null-terminated vector of pointers, no longer a vector of exactly two.
  295. * elf/link.h (_dl_lookup_symbol): Update comment and prototype.
  296. * elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
  297. done in _dl_relocate_object.
  298. * elf/dlopen.c: Pass "" to _dl_open when FILE is null.
  299. * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS.
  300. (ElfW, ELFW): Use it.
  301. * elf/Makefile (headers): Add elfclass.h.
  302. * sysdeps/wordsize-32/elfclass.h: New file.
  303. * sysdeps/wordsize-64/elfclass.h: New file.
  304. * sysdeps/alpha/Implies: Add wordsize-64.
  305. * sysdeps/i386/Implies: Add wordsize-32.
  306. * sysdeps/m68k/Implies: Add wordsize-32.
  307. * sysdeps/mips/Implies: Add wordsize-32.
  308. * sysdeps/sparc/Implies: Add wordsize-32.
  309. * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
  310. (__close, __mmap): Likewise define with __ names now.
  311. Mon Jun 10 05:13:18 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  312. * elf/dl-support.c: New file.
  313. * elf/Makefile (CFLAGS-dl-support.c): New variable.
  314. (routines, elide-routines.so): Add dl-support.
  315. * elf/dl-minimal.c (_dl_pagesize): Remove common defn.
  316. * elf/dl-load.c (_dl_pagesize): Define it here.
  317. (_dl_map_object_from_fd): Initialize it if zero.
  318. * elf/link.h (_dl_pagesize): Remove const.
  319. Sun Jun 9 04:04:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  320. * elf/Makefile (routines): Add dl-symbol.
  321. * elf/dl-lookup.c (_dl_symbol_value): Moved to ...
  322. * elf/dl-symbol.c: New file.
  323. * elf/elf.h (Elf32_Xword, Elf32_Sxword): New types.
  324. (Elf32_Section, Elf64_Section): New types, 16 bits.
  325. (Elf32_Sym, Elf64_Sym): Use it.
  326. * elf/dl-deps.c (_dl_open): Moved to ...
  327. * elf/dl-open.c: New file.
  328. * Makefile (routines): Add dl-open.
  329. * elf/Makefile (dl-routines): New variable.
  330. (routines): Add $(dl-routines).
  331. (elide-routines.so): New variable, set to $(dl-routines).
  332. (libdl-inhibit-o): Variable removed; build all flavors of -ldl.
  333. (rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to
  334. $(dl-routines).
  335. * elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage.
  336. * elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND.
  337. * elf/dl-load.c (open_path): Use __ names for open and close. Avoid
  338. using strdup.
  339. (_dl_map_object): Likewise.
  340. (_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect.
  341. * elf/dl-minimal.c (malloc): Likewise.
  342. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
  343. * elf/dl-minimal.c (_dl_pagesize): New variable.
  344. (malloc): Use that instead of a static variable.
  345. * elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of
  346. calling getpagesize.
  347. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
  348. * elf/link.h: Declare _dl_pagesize.
  349. * elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug.
  350. * elf/link.h (struct link_map): Use Half for l_phnum instead of Word.
  351. * elf/rtld.c (dl_main): Use Half for phdr count arg.
  352. (_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg.
  353. * elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to
  354. extract 4-byte magic number, not ElfW(Word). Match EI_CLASS against
  355. native wordsize, either 32 or 64.
  356. * elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed. In C a
  357. char is always a byte, no need for a typedef. Section indices are
  358. 16-bit quantities in elf64, which already have a typedef Elf64_Half.
  359. Remove partial -lelf implementation. There is now a
  360. separately-distributed `libelf' package that implements it.
  361. * elf/dl-lookup.c: Don't #include <libelf.h> any more.
  362. (_dl_elf_hash): New function, moved from
  363. libelf.h:elf_hash.
  364. (_dl_lookup_symbol): Use it instead of elf_hash.
  365. * elf/libelf.h: File removed.
  366. * elf/elf_hash.c: File removed.
  367. * elf/Makefile (headers): Remove libelf.h.
  368. (extra-libs): Remove libelf.
  369. (libelf-routines): Variable removed.
  370. * elf/Makefile (libdl.so): Remove commands from this target. The
  371. implicit rule commands are correct, this explicit rule just serves to
  372. add some dependencies.
  373. * elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of
  374. ELF32_ST_TYPE. Likewise ST_BIND.
  375. * elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM.
  376. * elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type
  377. naming.
  378. (ELFW): New macro, likewise for ELFXX_* macro naming.
  379. (_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF.
  380. Sat Jun 8 20:52:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  381. * elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c,
  382. elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c,
  383. elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c,
  384. elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to
  385. `ElfW(XXX)' for wordsize-independence.
  386. Sat Jun 8 20:50:42 1996 Richard Henderson <rth@tamu.edu>
  387. * elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts.
  388. (Elf64_auxv_t): New type.
  389. (EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format.
  390. Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  391. * sysdeps/unix/sysv/linux/configure.in: New file, start with configure.
  392. Add check for installed <linux/version.h> being v2.0 or later.
  393. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open
  394. instead of open.
  395. (_dl_sysdep_fatal): Call __write instead of write.
  396. (_dl_sysdep_message): Likewise.
  397. Sun Jun 9 20:40:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  398. * sysdeps/m68k/fpu/e_acosl.c: New file.
  399. Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  400. * Makerules (o-objects): New variable. Use it in place of
  401. $(objects:.o=$o); it filters out $(elide-routines$o).
  402. Use o-iterator for ar and ranlib rules so they use the per-type object
  403. list.
  404. * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.
  405. * sysdeps/mach/mprotect.c: Define with __ name and weak alias.
  406. * sysdeps/stub/mprotect.c: Likewise.
  407. * sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
  408. * sysdeps/generic/sys/mman.h: Declare __mprotect.
  409. * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
  410. * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
  411. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
  412. * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
  413. * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
  414. * Make-dist ($(tardir).tar): Use sed to check for file names longer
  415. than 14 chars, instead of doschk which checks for other things we
  416. don't care about.
  417. * Version 1.90 test release.
  418. * Makerules (make-target-directory): Use ./mkinstalldirs so we do not
  419. assume . is in PATH.
  420. Sat Jun 8 22:05:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  421. * math/Makefile (distribute): Comment out addition of
  422. $(long-m-routines) sources until they are all written.
  423. * math/Makefile (distribute): Append long double source names to this
  424. instead of using elided-routines.
  425. Sat Jun 8 15:15:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  426. * mach/mach_shortcuts.c: Obsolete file removed.
  427. * mach/mach_syscalls.h: Likewise.
  428. * hurd/Makefile (distribute): Consolidate defns into one.
  429. * time/Makefile (tzfiles): Add solar87 solar88 solar89.
  430. Fri Jun 7 16:48:13 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  431. * sysdeps/unix/sysv/linux/i386/Dist: New file, list sys/perm.h and
  432. sys/vm86.h.
  433. Removed old math code no longer used since the fdlibm integration.
  434. * sysdeps/stub/acos.c: File removed.
  435. * sysdeps/stub/asin.c: File removed.
  436. * sysdeps/stub/atan2.c: File removed.
  437. * sysdeps/stub/cosh.c: File removed.
  438. * sysdeps/stub/exp.c: File removed.
  439. * sysdeps/stub/fmod.c: File removed.
  440. * sysdeps/stub/frexp.c: File removed.
  441. * sysdeps/stub/log.c: File removed.
  442. * sysdeps/stub/log10.c: File removed.
  443. * sysdeps/stub/sinh.c: File removed.
  444. * sysdeps/stub/tan.c: File removed.
  445. * sysdeps/stub/tanh.c: File removed.
  446. * sysdeps/generic/acos.c: File removed.
  447. * sysdeps/generic/acosh.c: File removed.
  448. * sysdeps/generic/asin.c: File removed.
  449. * sysdeps/generic/asinh.c: File removed.
  450. * sysdeps/generic/atan.c: File removed.
  451. * sysdeps/generic/atan2.c: File removed.
  452. * sysdeps/generic/atanh.c: File removed.
  453. * sysdeps/generic/cabs.c: File removed.
  454. * sysdeps/generic/ceil.c: File removed.
  455. * sysdeps/generic/copysign.c: File removed.
  456. * sysdeps/generic/cosh.c: File removed.
  457. * sysdeps/generic/exp.c: File removed.
  458. * sysdeps/generic/expm1.c: File removed.
  459. * sysdeps/generic/fabs.c: File removed.
  460. * sysdeps/generic/floor.c: File removed.
  461. * sysdeps/generic/fmod.c: File removed.
  462. * sysdeps/generic/frexp.c: File removed.
  463. * sysdeps/generic/hypot.c: File removed.
  464. * sysdeps/generic/infnan.c: File removed.
  465. * sysdeps/generic/isnan.c: File removed.
  466. * sysdeps/generic/ldexp.c: File removed.
  467. * sysdeps/generic/log.c: File removed.
  468. * sysdeps/generic/log10.c: File removed.
  469. * sysdeps/generic/log1p.c: File removed.
  470. * sysdeps/generic/modf.c: File removed.
  471. * sysdeps/generic/pow.c: File removed.
  472. * sysdeps/generic/rint.c: File removed.
  473. * sysdeps/generic/sinh.c: File removed.
  474. * sysdeps/generic/tan.c: File removed.
  475. * sysdeps/generic/tanh.c: File removed.
  476. * sysdeps/ieee754/cabs.c: File removed.
  477. * sysdeps/ieee754/copysign.c: File removed.
  478. * sysdeps/ieee754/frexp.c: File removed.
  479. * sysdeps/ieee754/hypot.c: File removed.
  480. * sysdeps/ieee754/infnan.c: File removed.
  481. * sysdeps/ieee754/ldexp.c: File removed.
  482. * sysdeps/ieee754/log10.c: File removed.
  483. * posix/Makefile (headers): Add schedbits.h.
  484. * math/Makefile (elided-routines): Add long double routines.
  485. Fri Jun 7 11:02:22 1996 Miles Bader <miles@gnu.ai.mit.edu>
  486. * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface
  487. to __proc_getprocinfo.
  488. * login/login.c (tty_name): New function.
  489. (login): Use it.
  490. (PATH_MAX): MACRO removed.
  491. <stdlib.h>: New include.
  492. Fri Jun 7 09:11:17 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  493. * sysdeps/unix/sysv/linux/Dist: Add sys/sysinfo.h, sys/mount.h,
  494. sys/kdaemon.h, sys/io.h, sys/mount.h, sysctl.c.
  495. * gmon/Makefile (distribute): Add profil-counter.h.
  496. * sysdeps/unix/sysv/linux/alpha/Dist: New file.
  497. * sysdeps/unix/Dist: Add s-proto.S.
  498. * sysdeps/unix/common/mk-local_lim.c: Obsolete file removed.
  499. * Make-dist (+sysdep-tsrcs): Get all syscalls.list files too.
  500. * csu/Makefile (distribute): Add start.c.
  501. * elf/Makefile (distribute): Add dl-machine.h.
  502. * sysdeps/alpha/Dist: Add _mcount.S.
  503. * sysdeps/alpha/Makefile (sysdep_routines): Append instead of
  504. resetting; don't add bb_init_func.
  505. * string/Makefile (routines): Add strerror_r.
  506. * string/string.h (strerror_r): Use int for BUFLEN arg.
  507. * Makefile (distribute): Add shlib-versions.
  508. * po/Makefile (distribute): Add SYS_libc.pot.
  509. * misc/Makefile (routines): Add lsearch.
  510. * manual/lang.texi (Consistency Checking): Merge in assert_perror defn
  511. and other changes inadvertently made to the obsolete assert.texi.
  512. * manual/assert.texi: File removed.
  513. * mach/mach_syscalls.c: Obsolete file removed.
  514. * mach/mach_syscalls.h: Likewise.
  515. * mach/mach_traps.S: Likewise.
  516. * mach/msg_destroy.c: Likewise.
  517. * mach/vm_page_size.c: Likewise.
  518. * locale/Makefile (distribute): Add weight.h, charset.h.
  519. * Makefile (distribute): Add version.h.
  520. * hurd/Makefile (headers): Add hurd/ioctl.h.
  521. (distribute): Add intr-rpc.d, intr-rpc.h, faultexc.defs.
  522. * csu/Makefile (distribute): Add gmon-start.c.
  523. * Makefile (distribute): Add config.h.in.
  524. Wed Jun 5 22:06:21 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  525. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Fix type of reloc
  526. argument.
  527. [case R_68K_32]: Check for resolve being null.
  528. (RTLD_START): Add missing label.
  529. Fri Jun 7 1996 05:29:32 Ulrich Drepper <drepper@cygnus.com>
  530. * misc/lsearch.c: New file. Implementation of lfind and
  531. lsearch functions.
  532. * misc/search.h: Add prototype for functions from tsearch
  533. family with __ prefix.
  534. Correct prototype for lsearch: BASE parameter must not be
  535. const.
  536. * misc/tsearch.c: prepend all global function names with __
  537. and make normal names weak aliases.
  538. Fri Jun 7 00:15:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  539. * Make-dist (sysdep_dirs): Skip CVS dirs.
  540. Thu Jun 6 16:12:39 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  541. * malloc/Makefile (distribute): Change malloc/gmalloc-head.c to
  542. gmalloc-head.c.
  543. (malloc/gmalloc.c): Depend on malloc/gmalloc-head.c.
  544. (malloc/Makefile): Do $(make-target-directory) first.
  545. * malloc/gmalloc-head.c: New file.
  546. * po/Makefile (linguas.mo): Don't commit .mo files to cvs.
  547. * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
  548. check, deliver a pending blocked signal if its action might be to
  549. ignore.
  550. * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
  551. and SIG is pending, wake up signal thread to check us.
  552. * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
  553. pending while blocked or stopped when the action is to ignore it.
  554. Thu Jun 6 12:56:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  555. * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
  556. SS_SUSPENDED when the thread is really suspended.
  557. * elf/rtld.c (dl_main): Don't dereference _dl_rtld_map.l_next if null.
  558. * Makerules (headers): Move append of $(sysdep_headers) after include
  559. of sysdep makefiles.
  560. * sysdeps/mach/hurd/errlist.c: File removed.
  561. Thu Jun 6 07:32:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
  562. * resolv/gethnamaddr.c (struct hstorage): Make NAME field a pointer.
  563. (_gethtbyname2): Remove ALIAS variable.
  564. Initialize NAME field of SELF and TARGET to 0.
  565. Add SELF_NAME_SIZE static variable.
  566. Add loop to call gethostname until the space we allocated is enough.
  567. Use malloced strings instead of fixed size buffers.
  568. <stdlib.h>, <unistd.h>: New includes.
  569. * sysdeps/generic/sys/socket.h (PF_INET6, AF_INET6): New macros.
  570. * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
  571. (_sys_nerr): Initialize to 107.
  572. Update _HURD_ERRNOS consistency check.
  573. * stdlib/canonicalize.c (canonicalize): Use pathconf for PATH_MAX,
  574. not sysconf.
  575. * login/login.c [!PATH_MAX] (PATH_MAX): Define to be 1024 if not
  576. already defined.
  577. * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
  578. argument to __msg_sig_post_request.
  579. * hurd/hurdmalloc.c: Changes to bring in line with the hurd
  580. libthreads/malloc.c:
  581. (more_memory): Use assert_perror instead of MACH_CALL.
  582. "cthread_internals.h": Include removed.
  583. (realloc): Use LOG2_MIN_SIZE.
  584. (LOG2_MIN_SIZE): New macro.
  585. (realloc): Don't bother allocating a new block if the
  586. new size request fits in the old one and doesn't waste any space.
  587. Only free the old block if we successfully got a new one.
  588. [MCHECK] (struct header): New type.
  589. (union header): Only define if !MCHECK.
  590. (HEADER_SIZE, HEADER_NEXT, HEADER_FREE, HEADER_CHECK): New macros.
  591. [MCHECK] (MIN_SIZE): Add correct definition for this case.
  592. (more_memory, malloc, free, realloc): Use above macros, and add
  593. appropiate checks & frobs in MCHECK case.
  594. Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  595. * Makerules (distinfo-vars): Don't write constant line to frob sources.
  596. * Make-dist (sources): Append $(elided-routines) and $(extra-libs)
  597. routines.
  598. Tue Jun 4 22:03:02 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  599. * sysdeps/m68k/fpu/__math.h: Define long double versions of
  600. the inline functions.
  601. * sysdeps/m68k/fpu/e_asinl.c, sysdeps/m68k/fpu/e_atanl.c,
  602. sysdeps/m68k/fpu/e_acosl.c, sysdeps/m68k/fpu/e_expl.c,
  603. sysdeps/m68k/fpu/e_fmodl.c, sysdeps/m68k/fpu/e_log10l.c,
  604. sysdeps/m68k/fpu/e_logl.c, sysdeps/m68k/fpu/e_powl.c,
  605. sysdeps/m68k/fpu/e_remainderl.c, sysdeps/m68k/fpu/e_scalbl.c,
  606. sysdeps/m68k/fpu/e_sinhl.c, sysdeps/m68k/fpu/e_sqrtl.c,
  607. sysdeps/m68k/fpu/k_cosl.c, sysdeps/m68k/fpu/k_sinl.c,
  608. sysdeps/m68k/fpu/k_tanl.c, sysdeps/m68k/fpu/s_atanl.c,
  609. sysdeps/m68k/fpu/s_ceill.c, sysdeps/m68k/fpu/s_cosl.c,
  610. sysdeps/m68k/fpu/s_expm1l.c, sysdeps/m68k/fpu/s_fabsl.c,
  611. sysdeps/m68k/fpu/s_finitel.c, sysdeps/m68k/fpu/s_floorl.c,
  612. sysdeps/m68k/fpu/s_frexpl.c, sysdeps/m68k/fpu/s_ilogbl.c,
  613. sysdeps/m68k/fpu/s_isinfl.c, sysdeps/m68k/fpu/s_isnanl.c,
  614. sysdeps/m68k/fpu/s_ldexpl.c, sysdeps/m68k/fpu/s_log1pl.c,
  615. sysdeps/m68k/fpu/s_logbl.c, sysdeps/m68k/fpu/s_modfl.c,
  616. sysdeps/m68k/fpu/s_rintl.c, sysdeps/m68k/fpu/s_scalbnl.c,
  617. sysdeps/m68k/fpu/s_significandl.c, sysdeps/m68k/fpu/s_sinl.c,
  618. sysdeps/m68k/fpu/e_atanhl.c, sysdeps/m68k/fpu/e_coshl.c: New files.
  619. * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_fmod.c,
  620. sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_sin.c,
  621. sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/s_atan.c,
  622. sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_ilogb.c,
  623. sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_ldexp.c,
  624. sysdeps/m68k/fpu/s_modf.c: Define generic functions using FUNC and
  625. float_type with appropriate defaults.
  626. * sysdeps/m68k/fpu/e_acosf.c, sysdeps/m68k/fpu/e_fmodf.c,
  627. sysdeps/m68k/fpu/k_cosf.c, sysdeps/m68k/fpu/k_sinf.c,
  628. sysdeps/m68k/fpu/k_tanf.c, sysdeps/m68k/fpu/s_atanf.c,
  629. sysdeps/m68k/fpu/s_frexpf.c, sysdeps/m68k/fpu/s_ilogbf.c,
  630. sysdeps/m68k/fpu/s_isinff.c, sysdeps/m68k/fpu/s_ldexpf.c,
  631. sysdeps/m68k/fpu/s_modff.c: Include the corresponding double
  632. versions with appropriate definitions to get float functions,
  633. instead of defining them directly.
  634. * sysdeps/m68k/fpu/acos.c: File removed.
  635. * sysdeps/m68k/fpu/asin.c: File removed.
  636. * sysdeps/m68k/fpu/atan.c: File removed.
  637. * sysdeps/m68k/fpu/atan2.c: File removed.
  638. * sysdeps/m68k/fpu/atanh.c: File removed.
  639. * sysdeps/m68k/fpu/ceil.c: File removed.
  640. * sysdeps/m68k/fpu/cos.c: File removed.
  641. * sysdeps/m68k/fpu/cosh.c: File removed.
  642. * sysdeps/m68k/fpu/drem.c: File removed.
  643. * sysdeps/m68k/fpu/exp.c: File removed.
  644. * sysdeps/m68k/fpu/expm1.c: File removed.
  645. * sysdeps/m68k/fpu/fabs.c: File removed.
  646. * sysdeps/m68k/fpu/fl.h: File removed.
  647. * sysdeps/m68k/fpu/floor.c: File removed.
  648. * sysdeps/m68k/fpu/fmod.c: File removed.
  649. * sysdeps/m68k/fpu/frexp.c: File removed.
  650. * sysdeps/m68k/fpu/isinf.c: File removed.
  651. * sysdeps/m68k/fpu/isinfl.c: File removed.
  652. * sysdeps/m68k/fpu/isnan.c: File removed.
  653. * sysdeps/m68k/fpu/isnanl.c: File removed.
  654. * sysdeps/m68k/fpu/ldexp.c: File removed.
  655. * sysdeps/m68k/fpu/log.c: File removed.
  656. * sysdeps/m68k/fpu/log10.c: File removed.
  657. * sysdeps/m68k/fpu/log1p.c: File removed.
  658. * sysdeps/m68k/fpu/logb.c: File removed.
  659. * sysdeps/m68k/fpu/pow.c: File removed.
  660. * sysdeps/m68k/fpu/rint.c: File removed.
  661. * sysdeps/m68k/fpu/sin.c: File removed.
  662. * sysdeps/m68k/fpu/sinh.c: File removed.
  663. * sysdeps/m68k/fpu/sqrt.c: File removed.
  664. * sysdeps/m68k/fpu/tan.c: File removed.
  665. * sysdeps/m68k/fpu/tanh.c: File removed.
  666. Thu Jun 6 00:02:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  667. * sysdeps/unix/sysv/linux/syscalls.list: Add select (the syscall name
  668. is _newselect).
  669. * sysdeps/unix/sysv/linux/select.S: File removed.
  670. * sysdeps/unix/sysv/linux/m68k/select.S: File removed; obsolete with
  671. current kernels, generic linux version is fine.
  672. * locale/Makefile: Add vpath for %.gperf to programs.
  673. * Make-dist (+tsrcs): Variable removed.
  674. (dist): Process $^ here instead of using $(+tsrcs).
  675. * sysdeps/unix/sysv/linux/Makefile (install-others): Don't set.
  676. ($(includedir)/sys/syscall.h): Target removed.
  677. (sysdep_headers): Add syscall-list.h.
  678. ($(objpfx)syscall-%.[dh]): New rule to build syscall-list.[dh].
  679. (generated): Add those.
  680. * sysdeps/unix/sysv/linux/syscall.h: Include <syscall-list.h>.
  681. Wed Jun 5 15:57:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  682. * misc/sys/syscall.h: New file.
  683. * misc/Makefile (headers): Add sys/syscall.h.
  684. * time/tzfile.h, time/private.h, time/zdump.c, time/zic.c,
  685. time/africa, time/asia, time/australasia, time/europe,
  686. time/northamerica, time/southamerica: Updated from ADO 96h.
  687. * Make-dist (all-headers): Filter $(sysdep_headers) out of $(headers).
  688. (try-sysdeps, +sysdep-names): Check sysdeps/libm-ieee754 too.
  689. * Makerules (distinfo-vars): Add sysdep_headers.
  690. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Append to
  691. this instead of $(headers).
  692. * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
  693. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  694. * Make-dist [subdirs-dirs]: Don't prefix $(subdir-dirs) with
  695. $(subdir); we are already there.
  696. * sysdeps/unix/sysv/sysv4/solaris2/sparc/Dist: Removed.
  697. * mach/Machrules: Undo last change.
  698. (mach-generated): List .uh and .__h files only for $(user-interfaces),
  699. not for each .h in $(interface-headers); server-interfaces have no .uh
  700. or .__h files.
  701. Wed Jun 5 15:42:51 1996 Miles Bader <miles@gnu.ai.mit.edu>
  702. * mach/Machrules (%_server.uh, %_server.__h): New rules, so that the
  703. corrsponding .defs file with without the `_server' will be used.
  704. * mach/Makefile (mach/mach_interface.defs): Renamed from
  705. mach_interface.defs.
  706. (mach/memory_object_user.defs): New variable.
  707. Wed Jun 5 15:10:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  708. * Make-dist [subdir-dirs]: Set vpath for %, not just %.c.
  709. * locale/Makefile (subdir-dirs): New variable.
  710. Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  711. * Makerules (distinfo-vars): Add sysdep_routines.
  712. * mach/Machrules (include-%.defs): New canned sequence.
  713. Change all uses of `#include <$*.defs>' in cmds to use it.
  714. * mach/Makefile (mach_interface.defs): New variable, set to mach.defs.
  715. * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle RESOLVE being
  716. null in all cases but R_386_COPY.
  717. (elf_machine_rel):
  718. Wed Jun 5 00:01:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  719. * sysdeps/unix/bsd/ultrix4/mips/Dist: Updated.
  720. * sysdeps/unix/bsd/ultrix4/Dist: Removed.
  721. * sysdeps/unix/sysv/sysv4/Dist: Updated.
  722. * sysdeps/unix/sysv/sco3.2.4/Dist: Removed.
  723. * sysdeps/unix/sysv/irix4/Dist: Updated.
  724. * sysdeps/unix/sysv/linux/i386/Dist: Removed.
  725. * sysdeps/unix/sysv/Dist: Updated.
  726. * sysdeps/unix/bsd/sun/sunos4/Dist: Removed.
  727. * sysdeps/unix/bsd/sony/newsos4/Dist: Removed.
  728. * sysdeps/gnu/Dist: New file.
  729. * sysdeps/alpha/Dist: Updated.
  730. * sysdeps/mach/hurd/Dist: Updated.
  731. * Make-dist [subdir-dirs]: Set a vpath for %.c.
  732. * Make-dist (README): Fix typo in cvs cmd.
  733. * elf/dl-lookup.c (_dl_lookup_symbol): Fix typos in last change.
  734. Comment out ref to nonexistent _dl_close.
  735. Tue Jun 4 21:01:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  736. * math/Makefile (libm-support, libm-calls): New variables.
  737. (libm-routines): Construct this from those.
  738. (calls): New variable.
  739. (routines): Construct this from it.
  740. * resolv/res_debug.c: Add missing #include <ctype.h>.
  741. * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r.
  742. * sysdeps/unix/getlogin_r.c: Likewise.
  743. * sysdeps/libm-ieee754/w_hypotl.c: Fix typo.
  744. * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl
  745. * math/Makefile (long-m-routines): Define recursive variable as
  746. $(long-m-$(long-double-fcts)).
  747. (long-m-yes): Put list of routines here.
  748. (long-c-routines, long-c-yes): Likewise.
  749. * sysdeps/unix/sysv/linux/schedbits.h: File removed.
  750. * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes.
  751. * sysdeps/m68k/Makefile: Likewise.
  752. * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append
  753. -DNO_LONG_DOUBLE.
  754. * sysdeps/mach/hurd/getlogin_r.c: New file.
  755. Wed Jun 5 02:11:30 1996 Ulrich Drepper <drepper@cygnus.com>
  756. * io/Makefile (routines): Add ttyname_r.
  757. * resolv/res_debug.c, resolv/resolv.h: Update from bind-4.3.4-T4A.
  758. * sysdeps/libm-i387/e_asinl.S, sysdeps/libm-i387/e_atan2l.S,
  759. sysdeps/libm-i387/e_expl.S, sysdeps/libm-i387/e_fmodl.S,
  760. sysdeps/libm-i387/e_log10l.S, sysdeps/libm-i387/e_logl.S,
  761. sysdeps/libm-i387/e_remainderl.S, sysdeps/libm-i387/e_scalbl.S,
  762. sysdeps/libm-i387/e_sqrtl.S, sysdeps/libm-i387/s_atanl.S,
  763. sysdeps/libm-i387/s_cosl.S, sysdeps/libm-i387/s_ilogbl.S,
  764. sysdeps/libm-i387/s_log1pl.S, sysdeps/libm-i387/s_logbl.S,
  765. sysdeps/libm-i387/s_scalbnl.S, sysdeps/libm-i387/s_sinl.S,
  766. sysdeps/libm-i387/s_tanl.S: New files. i387 assembler versions
  767. of `long double' math functions.
  768. * sysdeps/libm-ieee754/k_standard.c: Add handling for errors
  769. in long double functions.
  770. * sysdeps/libm-ieee754/s_ilogbl.c, sysdeps/libm-ieee754/s_logbl.c,
  771. sysdeps/libm-ieee754/s_modfl.c: New files. Generic versions
  772. of `long double' math functions.
  773. * sysdeps/libm-ieee754/s_isinf.c [NO_LONG_DOUBLE]: Add string
  774. alias for __isinfl.
  775. * sysdeps/libm-ieee754/w_acoshl.c, sysdeps/libm-ieee754/w_acosl.c,
  776. sysdeps/libm-ieee754/w_asinl.c, sysdeps/libm-ieee754/w_atan2l.c,
  777. sysdeps/libm-ieee754/w_atanhl.c, sysdeps/libm-ieee754/w_cabsl.c,
  778. sysdeps/libm-ieee754/w_coshl.c, sysdeps/libm-ieee754/w_dreml.c,
  779. sysdeps/libm-ieee754/w_expl.c, sysdeps/libm-ieee754/w_fmodl.c,
  780. sysdeps/libm-ieee754/w_gammal.c, sysdeps/libm-ieee754/w_gammal_r.c,
  781. sysdeps/libm-ieee754/w_hypotl.c, sysdeps/libm-ieee754/w_j0l.c,
  782. sysdeps/libm-ieee754/w_j1l.c, sysdeps/libm-ieee754/w_jnl.c,
  783. sysdeps/libm-ieee754/w_lgammal.c, sysdeps/libm-ieee754/w_lgammal_r.c,
  784. sysdeps/libm-ieee754/w_log10l.c, sysdeps/libm-ieee754/w_logl.c,
  785. sysdeps/libm-ieee754/w_powl.c, sysdeps/libm-ieee754/w_remainderl.c,
  786. sysdeps/libm-ieee754/w_scalbl.c, sysdeps/libm-ieee754/w_sinhl.c,
  787. sysdeps/libm-ieee754/w_sqrtl.c: New files. Wrapper functions
  788. around long double function implementations.
  789. * sysdeps/posix/ttyname_r.c (ttyname_r): Use _D_EXACT_NAMLEN
  790. to determine length of directory entry name.
  791. * posix/Makefile (routines): Add getlogin_r.
  792. * posix/unistd.h: Add prototype for getlogin_r.
  793. * sysdeps/stub/getlogin_r.c: New file. Reentrant version of
  794. getlogin function, specified in P1003.1c/D6. Stub version.
  795. * sysdeps/unix/getlogin.c (getlogin): Use ttyname_r instead of
  796. ttyname. This avoids saving and restoring the old content.
  797. Also use setutent_r, getutline_r and endutent_r instead of
  798. accing UTMP file directly.
  799. * sysdeps/unix/getlogin_r.c: New file. Reentrant version of
  800. getlogin function, specified in P1003.1c/D6.
  801. Tue Jun 4 20:10:09 1996 J.T. Conklin <jtc@cygnus.com>
  802. * sysdeps/libm-i387/s_finitef.S: Fix mask for exponent.
  803. Tue Jun 4 18:57:57 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  804. * elf/dl-lookup.c (_dl_lookup_symbol): Grok magical undefined symbols
  805. _GNU_libc_dl_{open,close,symbol} and resolve them to dl functions.
  806. * elf/rtld.c (rtld_map): Renamed to _dl_rtld_map, made global.
  807. * elf/link.h: Declare _dl_rtld_map.
  808. * elf/dl-lookup.c (_dl_symbol_value): New function.
  809. * elf/link.h: Declare it.
  810. * elf/dladdr.c: Remove #include <setjmp.h>, we don't use it.
  811. * shlib-versions: Set libdl=2.
  812. * elf/dl-deps.c (_dl_map_object_deps): Use a linked list of alloca'd
  813. elements and then scan it to fill the single malloc'd array, instead
  814. of using realloc to grow the array in the first pass. _dl_map_object
  815. may do some mallocs that break our stream of reallocs, and the minimal
  816. realloc can't handle that.
  817. * elf/dl-init.c (_dl_init_next): Take argument, link_map whose
  818. searchlist describes the piece of the DT_NEEDED graph to be
  819. initialized.
  820. * elf/link.h: Update prototype.
  821. * sysdeps/i386/dl-machine.h (RTLD_START): Pass _dl_loaded as argument
  822. to _dl_init_next.
  823. * sysdeps/m68k/dl-machine.h: Likewise.
  824. * elf/dl-deps.c (_dl_open): Pass new object as arg to _dl_init_next.
  825. * elf/link.h (struct link_map): Add `l_reserved' member, soaking up
  826. extra bits in last byte.
  827. * elf/dl-deps.c (_dl_map_object_deps): Use that for mark bit to avoid
  828. putting dup elts in search list.
  829. * elf/dlclose.c: Use MAP->l_searchlist to find deps to close.
  830. * elf/dlsym.c: Don't tweak linked list. Scope array given to
  831. _dl_lookup_symbol does the right thing.
  832. * elf/Makefile (subdir_lib): Change this target to lib-noranlib.
  833. (lib-noranlib): Depend on on $(extra-objs).
  834. * errno.h: Move __END_DECLS out of #ifdef's so it matches
  835. __BEGIN_DECLS.
  836. Tue Jun 4 02:25:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  837. * stdio-common/vfprintf.c [USE_IN_LIBIO] (size_t): Don't define as
  838. macro. _IO_size_t is just an alias for the real size_t anyway.
  839. * elf/Makefile (libdl-routines): Add dladdr.
  840. * elf/dladdr.c: New file.
  841. * elf/dlfcn.h (Dl_info): New typedef.
  842. (dladdr): Declare it.
  843. * sysdeps/libm-i387/s_finite.S: Use `setne' instead of `setnel'.
  844. * intl/l10nflist.c: Fix conditional on #include <argz.h>.
  845. * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros
  846. removed. Instead, include <stdio_lim.h>.
  847. * libio/_G_config.h: New file.
  848. * libio/Makefile (headers): Add _G_config.h.
  849. * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
  850. * sysdeps/unix/sysv/linux/gnu/types.h (__KERNEL_STRICT_NAMES): Define
  851. this macro too; current Linux kernels test that instead of
  852. _LINUX_TYPES_DONT_EXPORT.
  853. * elf/linux-compat.c (_init): Pass reloc_addr arg to _dl_lookup_symbol.
  854. * elf/dl-lookup.c (_dl_lookup_symbol): Use l_searchlist.
  855. * elf/dl-deps.c: New file.
  856. * elf/Makefile (rtld-routines): Add dl-deps.
  857. * elf/link.h: Declare _dl_map_object_deps, _dl_open.
  858. * elf/rtld.c (dl_main): Use _dl_map_object_deps.
  859. * elf/dlopen.c: Use _dl_open.
  860. * elf/rtld.c (dl_main): Remove BEFORE_RTLD variable and list
  861. frobnication based on its value. Detach RTLD_MAP from the chain if
  862. its l_opencount is zero after loading deps.
  863. * elf/dlfcn.h (RTLD_BINDING_MASK): New macro.
  864. * elf/link.h (struct link_map): Replace l_deps_loaded flag member with
  865. `struct link_map **l_searchlist' and `unsigned int l_nsearchlist'.
  866. * elf/dl-lookup.c (_dl_lookup_symbol): Make SYMBOL_SCOPE arg an array
  867. of two link_map ptrs. Search the maps in the l_searchlist of each
  868. elt that is not null.
  869. * elf/dl-reloc.c (_dl_relocate_object): Pass proper SCOPE array.
  870. * elf/dl-runtime.c: Likewise.
  871. * elf/dlsym.c: Likewise.
  872. * elf/rtld.c (dl_main): Likewise.
  873. * elf/dl-minimal.c (realloc): Support realloc of the block most
  874. recently returned by the minimal malloc.
  875. Tue Jun 4 00:16:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  876. * sysdeps/gnu/errlist.awk: Produce N_("..."), not _N("...").
  877. * intl: Updated from gettext-0.10.13.
  878. * intl/localealias.c, intl/dcgettext.c [_LIBC]: Define HAVE_ALLOCA.
  879. * signal/siggetmask.c: New file. Wrapper around sigblock with
  880. link_warning about obsolescence.
  881. * signal/Makefile (routines): Add siggetmask.
  882. * sysdeps/gnu/errlist.awk: New file, adapted from ...
  883. * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
  884. * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
  885. * sysdeps/gnu/Makefile: New file.
  886. (sysdeps/gnu/errlist.c): Make the errlist.c generation rule into this.
  887. Mon Jun 3 21:03:54 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  888. * manual/errno.texi (Error Codes): Add placeholder items for missing
  889. Linux/i386 errno codes, with perror text but no documentation.
  890. Some existing perror texts changed.
  891. * malloc/mcheck.c (freehook, reallochook): Handle null pointer args.
  892. * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
  893. `ignore, resume the thread if SS_SUSPENDED, regardless of old action.
  894. Sun Jun 2 20:14:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  895. * locale/programs/linereader.c (lr_open): Don't pass NULL to
  896. xstrdup; fix memory leak.
  897. (lr_close): Fix memory leak.
  898. Mon Jun 3 15:58:22 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
  899. * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
  900. for a HANDLE signal to IGNORE because the signal is blocked, clean
  901. up any pending suspension left over from a call to resume.
  902. Mon Jun 3 00:30:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  903. * elf/dl-lookup.c (_dl_lookup_symbol): Take new arg RELOC_ADDR and
  904. don't allow a defn resolving to that address.
  905. * elf/link.h: Update prototype and comment.
  906. * elf/dl-runtime.c (fixup): Define local `resolve' function and pass
  907. it to elf_machine_relplt.
  908. * elf/dl-reloc.c (_dl_relocate_object: resolve): Take new arg
  909. RELOC_ADDR and pass it through to _dl_lookup_symbol.
  910. * elf/do-rel.h (elf_dynamic_do_rel): Pass RESOLVE to elf_machine_rel
  911. instead of calling it ourselves and passing its results.
  912. (elf_dynamic_do_rel): RESOLVE fn takes new arg RELOC_ADDR.
  913. * elf/rtld.c (dl_main): Pass 0 for RELOC_ADDR to _dl_lookup_symbol.
  914. * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove SYM_LOADADDR
  915. arg. Add RESOLVE function ptr arg. Call *RESOLVE as necessary.
  916. * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
  917. * sysdeps/stub/dl-machine.h: Likewise.
  918. Sun Jun 2 14:56:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  919. * csu/initfini.c (_fini): Add extern decl for i_am_not_a_leaf.
  920. * elf/dlfcn.h (dl_open_mode): Enumerated type removed.
  921. (RTLD_LAZY, RTLD_NOW): Define these as macros instead.
  922. (RTLD_GLOBAL): New macro.
  923. (dlopen): Take arg of type int instead of dl_open_mode.
  924. * elf/dlopen.c: Likewise.
  925. * math/math.h (_Mldbl): New macro, either produces L suffix or not.
  926. (M_*): Use it for these constants.
  927. * elf/dl-lookup.c (_dl_lookup_symbol): Arg NOSELF renamed to NOPLT.
  928. Reject SHN_UNDEF defns iff NOPLT is nonzero.
  929. * elf/link.h (_dl_lookup_symbol): Update prototype and comment.
  930. * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT.
  931. * elf/dlsym.c (dlsym): Pass 0.
  932. * elf/rtld.c (dl_main): Likewise.
  933. * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET
  934. replaced with NOPLT flag. Pass it through to _dl_lookup_symbol.
  935. * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg.
  936. Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value.
  937. * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro.
  938. * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise.
  939. * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise.
  940. * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca.
  941. * sysdeps/generic/gnu/types.h (__clock_t): New type.
  942. Wed May 29 00:57:37 1996 David Mosberger-Tang <davidm@azstarnet.com>
  943. * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define
  944. using kernel types.
  945. * time/time.h (clock_t): Include <gnu/types.h> and define using
  946. __clock_t.
  947. * time/Makefile (tests): Add test-tz.
  948. * time/test-tz.c: New test.
  949. * time/clocktest.c: Rewrite to test more meaningfully.
  950. * sysdeps/unix/sysv/linux/syscalls.list: Add bdflush,
  951. create_module, delete_module, get_kernel_syms, init_module,
  952. klogctl.
  953. * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Define as 5
  954. instead of SYMLOOP_MAX, which is nowhere to be found.
  955. * sysdeps/unix/sysv/linux/sys/msq_buf.h,
  956. sysdeps/unix/sysv/linux/sys/sem_buf.h,
  957. sysdeps/unix/sysv/linux/sys/shm_buf.h [__USE_MISC]: Add more
  958. control ops and datastructures.
  959. * sysdeps/unix/sysv/linux/sys/io.h: New file declaring low-level
  960. I/O related functions.
  961. * sysdeps/unix/sysv/linux/sys/kdaemon.h: New file declaring kernel
  962. daemon related functions/operations.
  963. * sysdeps/unix/sysv/linux/sys/klog.h: New file declaring kernel
  964. logging related functions/operations.
  965. * sysdeps/unix/sysv/linux/sys/module.h: New file declaring kernel
  966. module related functions/operations.
  967. * sysdeps/unix/sysv/linux/speed.c: Only do "mention this twice" hack
  968. for non-Alpha based Linux systems.
  969. * sysdeps/unix/sysv/linux/alpha/speed.c: Remove.
  970. * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/module.h,
  971. sys/io.h, sys/klog.h, and sys/kdaemon.h.
  972. * sysdeps/unix/sysdep.h (END): Define empty END macro for
  973. platforms that don't need some sort of end directive at the
  974. end of functions.
  975. * sysdeps/unix/make-syscalls.sh: Emit END($strong) at end of
  976. syscall wrapper to allow correct generation of debugging
  977. information.
  978. * sysdeps/unix/alpha/sysdep.h (END): Redefine to use .end
  979. directive for both ELF and ECOFF.
  980. (ret): Delete macro. It was a dangerous macro and unnecessary
  981. since the Alpha assemblers recognizes "ret" as a macro themselves.
  982. * sysdeps/gnu/utmpbits.h (struct utmp): Move ut_tv behind
  983. ut_session to guarantee long alignment. This is important for
  984. Linux/Alpha since ut_tv.tv_sec is 32 bits and time_t is 64 bits.
  985. This will all get cleaned up as programs start to use ut_tv
  986. instead ut_time.
  987. * sysdeps/alpha/divrem.h: Include <sysdep.h> instead of <*/regdef.h>.
  988. * sysdeps/alpha/bsd-_setjmp.S (setjmp): Renamed entry point to
  989. _setjmp.
  990. * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
  991. sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/bsd-setjmp.S,
  992. sysdeps/alpha/copysign.S, sysdeps/alpha/divrem.h,
  993. sysdeps/alpha/fabs.S, sysdeps/alpha/ffs.S, sysdeps/alpha/htonl.S,
  994. sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
  995. sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
  996. sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
  997. sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
  998. sysdeps/unix/sysv/linux/alpha/llseek.S,
  999. sysdeps/unix/sysv/linux/alpha/pipe.S,
  1000. sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
  1001. sysdeps/unix/sysv/linux/alpha/sysdep.S: Use END macro instead of
  1002. .end directive.
  1003. * csu/initfini.c (_fini): Tell gcc that _fini is not a leaf
  1004. function by having it contain a dummy function call.
  1005. * configure.in (config_machine): Don't make ELF the default for
  1006. Linux/Alpha just yet (use --with-elf instead).
  1007. (.init/.fini check): Generate .text to ensure function start and
  1008. end are in same section.
  1009. * sysdeps/unix/bsd/osf/alpha/brk.S,
  1010. sysdeps/unix/sysv/linux/alpha/brk.S (__curbrk): Store the entire
  1011. break value, not just the low 32 bits to accomodate large
  1012. memories.
  1013. Tue May 28 10:46:04 1996 Richard Henderson <rth@tamu.edu>
  1014. * sysdeps/unix/sysv/linux/alpha/brk.S: Rather than attempt to
  1015. dynamically resolve _end for initializing __curbrk, support the
  1016. brk(0) query idiom.
  1017. * sysdeps/alpha/bb_init_func.S: Don't make `init' an external symbol.
  1018. * sysdeps/alpha/bsd-_setjmp.S: The function is _setjmp not setjmp.
  1019. Sun May 26 22:17:38 1996 Richard Henderson <rth@tamu.edu>
  1020. * stdlib/lcong48_r.c, stdlib/seed48_r.c, stdlib/strtod.c,
  1021. stdlib/strtol.c: Include <string.h> for mem* and str* fns used.
  1022. Thu May 23 02:15:56 1996 David Mosberger-Tang <davidm@azstarnet.com>
  1023. * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/io.h,
  1024. sys/klog.h, and sys/kdaemon.h.
  1025. * sysdeps/unix/sysv/linux/sys/io.h: New file.
  1026. * sysdeps/unix/sysv/linux/sys/klog.h: Ditto.
  1027. * sysdeps/unix/sysv/linux/sys/kdaemon.h: Ditto.
  1028. * sysdeps/unix/alpha/sysdep.h (ret): Remove macro. It is
  1029. dangerous and unnecessary since both OSF/1 as and gas define "ret"
  1030. as a pseudo-instruction.
  1031. Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1032. * time/tzset.c (__tzset): Clear tz_rules name pointers after freeing
  1033. them. Bug found by David Mosberger-Tang.
  1034. * sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
  1035. of PTR.
  1036. * extra-lib.mk (extra-objs): Use patsubst intead of $(A:=B) syntax
  1037. to work around Make bug when A contains var ref.
  1038. Fri May 31 18:27:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1039. * string/string.h [__USE_MISC]: Declare basename; OSF/1 puts it here.
  1040. * sysdeps/unix/sysv/linux/syscalls.list (getpgid, setpgid): Define __
  1041. strong names and [gs]etpgid as weak aliases.
  1042. Thu May 30 11:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1043. * math/math_private.h (GET_LDOUBLE_EXP): Add missing backslash.
  1044. * po/header.pot: Replace with exact boilerplate pinard dictates.
  1045. * sysdeps/i386/strtok.S (Lillegal_argument): Remove this code to set
  1046. errno and the check that jumped to it.
  1047. * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
  1048. Thu May 30 03:21:57 1996 Ulrich Drepper <drepper@cygnus.com>
  1049. * FAQ: Document need of gperf program for developers.
  1050. * elf/elf.h: Fix typos in comments.
  1051. * libio/stdio.h [!__STRICT_ANSI__ || _POSIX_SOURCE]: Add
  1052. prototypes for `ctermid' and `cuserid'.
  1053. * locale/programs/locale.c: Switch to user selected locale
  1054. before printing variables.
  1055. * math/Makefile [$(long-double-fcts)==yes]: Define long-m-routines
  1056. and long-c-routines. Only if the `long double' data type is
  1057. available we need to compile the functions.
  1058. (libm-routines): Add $(long-m-routines).
  1059. (routines): Remove isinfl, isnanl. Use new file s_isinfl and
  1060. s_isnanl instead if `long double' is available.
  1061. * math/math.h: Include <mathcalls.h> again to define `long double'
  1062. functions.
  1063. * math/math_private.h: Define data types, prototypes and access
  1064. macros for `long double'.
  1065. * stdlib/stdlib.h: Add prototypes for `strtoll' and `strtoull'.
  1066. [GCC2 && OPTIMIZE]: Define strto{,u}ll as inline function which
  1067. calls __strto{,u}q_internal.
  1068. * stdlib/strfmon.c: Replace PTR by `void *'.
  1069. * stdlib/strtoq.c: Define strtoll as weak alias.
  1070. * stdlib/strtouq.c: Define strtoull as weak alias.
  1071. * string/tester.c: Correct `strsep' test.
  1072. * sysdeps/generic/strsep.c: Make compatible with BSD version.
  1073. Trailing characters of skip set are not skipped. In this case
  1074. empty tokens are returned.
  1075. * sysdeps/i386/isinfl.c, sysdeps/i386/isnanl.c,
  1076. sysdeps/ieee754/isinf.c, sysdeps/ieee754/isinfl.c,
  1077. sysdeps/ieee754/isnan.c, sysdeps/ieee754/isnanl.c: Removed. We
  1078. now use the versions part of libm.
  1079. * sysdeps/i386/strsep.S: Removed. Generic C version is of
  1080. similar speed.
  1081. * sysdeps/i386/strtok.S: Remove support for `strsep'.
  1082. * sysdeps/libm-i387/e_acosl.S, sysdeps/libm-i387/s_ceill.S,
  1083. sysdeps/libm-i387/s_copysignl.S, sysdeps/libm-i387/s_finitel.S,
  1084. sysdeps/libm-i387/s_floorl.S, sysdeps/libm-i387/s_isinfl.c,
  1085. sysdeps/libm-i387/s_isnanl.c, sysdeps/libm-i387/s_nextafterl.c,
  1086. sysdeps/libm-i387/s_rintl.S, sysdeps/libm-i387/s_significandl.S:
  1087. New i387 specific math functions implementing `long double'
  1088. versions.
  1089. * sysdeps/libm-ieee754/s_ceill.c,
  1090. sysdeps/libm-ieee754/s_copysignl.c,
  1091. sysdeps/libm-ieee754/s_fabsl.c, sysdeps/libm-ieee754/s_finitel.c,
  1092. sysdeps/libm-ieee754/s_floorl.c, sysdeps/libm-ieee754/s_isinfl.c,
  1093. sysdeps/libm-ieee754/s_isnanl.c,
  1094. sysdeps/libm-ieee754/s_nextafterl.c,
  1095. sysdeps/libm-ieee754/s_rintl.c, sysdeps/libm-ieee754/s_scalbnl.c,
  1096. sysdeps/libm-ieee754/s_significandl.c: New generic `long double'
  1097. versions of libm functions.
  1098. * sysdeps/libm-i387/e_exp.S: Add a few comments to explain the
  1099. Intel FPU nonsense.
  1100. * sysdeps/libm-i387/s_ceil.S, sysdeps/libm-i387/s_ceilf.S,
  1101. sysdeps/libm-i387/s_floor.S, sysdeps/libm-i387/s_floorf.S: Correct
  1102. handling of local variables. The old version created a stack
  1103. frame but stored the values outside.
  1104. * sysdeps/libm-ieee754/s_isinf.c, sysdeps/libm-ieee754/s_isnan.c
  1105. [!NO_LONG_DOUBLE]: Define alias with `long double' versions name.
  1106. Wed May 29 12:53:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1107. * login/pututline_r.c: Include sys/stat.h. Fix typos.
  1108. * version.h (VERSION): Set to 1.90.
  1109. * Makerules (distinfo-vars): Write extra-libs and *-routines for each
  1110. of its elts.
  1111. * MakeTAGS (sources): Add those sources.
  1112. * MakeTAGS (all-sources): Add $(others:=.c) and $(tests:=.c).
  1113. Wed May 29 08:53:08 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1114. * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
  1115. itimer thread.
  1116. * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
  1117. _hurd_proc_init.
  1118. Wed May 29 00:52:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1119. * string/tester.c (main): Fix strsep tests 6, 7, 20 to expect null
  1120. token instead of it being implicitly skipped.
  1121. * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
  1122. Must operate on top of fp reg stack, not second from top.
  1123. * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
  1124. (others): Instead, make this depend on it.
  1125. Tue May 28 04:38:10 1996 Ulrich Drepper <drepper@cygnus.com>
  1126. * limits.h: Change MB_LEN_MAX to 6. A 31-bit ISO 10646
  1127. character in UTF-8 encoding has that many bytes.
  1128. * locale/langinfo.h: New element _NL_CTYPE_MB_CUR_MAX.
  1129. * locale/categories.def: Add description of field _NL_CTYPE_MB_CUR_MAX.
  1130. * locale/Makefile (routines): Add mb_cur_max.
  1131. * locale/mb_cur_max.c: New file. This function gets called
  1132. when the macro MB_CUR_MAX is used.
  1133. * locale/C-ctype.c: Initialize new mb_cur_max field.
  1134. * locale/localeinfo.h: Change magic value because of incompatible
  1135. change.
  1136. * locale/programs/ld-ctype.c: Determine value of mb_cur_max
  1137. according to current character set and write it out with the rest.
  1138. * stdlib/stdlib.h (MB_CUR_MAX): Not constant anymore. Get value
  1139. according to currently used locale for category LC_CTYPE by
  1140. calling the function __ctype_get_mb_cur_max.
  1141. Tue May 28 03:27:46 1996 Ulrich Drepper <drepper@cygnus.com>
  1142. * FAQ: Fix some typos.
  1143. Tell that for Linux the kernel header files are necessary.
  1144. * PROJECTS: New file. List of open jobs for glibc.
  1145. * Makefile (distribute): Add PROJECTS.
  1146. * crypt/GNUmakefile (headers): New variable. Mention crypt.h.
  1147. * crypt/crypt.h: Header for crypt functions.
  1148. * elf/elf.h: Add some new constants from recent Cygnus ELF
  1149. header files.
  1150. * login/getutid_r.c: Test for correct type.
  1151. Don't depend on ut_type and ut_id unless _HAVE_UT_TYPE and
  1152. _HAVE_UT_ID resp. are defined.
  1153. Make really compliant with specification.
  1154. * login/getutline_r.c, login/pututline_r.c: Don't depend on
  1155. ut_type and ut_id unless _HAVE_UT_TYPE and _HAVE_UT_ID resp. are
  1156. defined.
  1157. Make really compliant with specification.
  1158. * login/setutent_r.c: Don't depend on ut_type and ut_id unless
  1159. _HAVE_UT_TYPE and _HAVE_UT_ID resp. are defined.
  1160. * login/login.c, login/logout.c, login/logwtmp.c: Complete
  1161. rewrite. Now based on getut*/setut* functions.
  1162. * stdlib/strtol.c: Undo changes of Wed May 22 01:48:54 1996.
  1163. This prevented using this file in other GNU packages.
  1164. * sysdeps/gnu/utmpbits.h: Define _HAVE_UT_TYPE, _HAVE_UT_ID,
  1165. and _HAVE_UT_TV because struct utmp has these members.
  1166. * sysdeps/libm-i387/e_exp.S: Correct exp(+-Inf) case.
  1167. * utmp.h: New file. Wrapper around login/utmp.h.
  1168. Tue May 28 13:11:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1169. * elf/dl-error.c (struct catch): New type.
  1170. (catch): New static variable, struct catch *.
  1171. (catch_env, signalled_errstring, signalled_objname): Variables removed.
  1172. (_dl_signal_error): If CATCH is non-null, set its errstring and
  1173. objname members and jump to CATCH->env. If it is null, call
  1174. _dl_sysdep_fatal with a standard message.
  1175. * elf/rtld.c (dl_main): Explode `doit' function into dl_main's body.
  1176. No longer use _dl_catch_error.
  1177. * Makerules (sed-remove-objpfx): Avoid extra space in regexp due to
  1178. continuation line.
  1179. * sysdeps/unix/sysv/linux/i386/socket.S: Fix off-by-one error in
  1180. setting %ecx to 2nd syscall arg: we have pushed nothing, so function
  1181. args are found at 4(%esp), not 8(%esp).
  1182. Mon May 27 10:10:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1183. * Makefile ($(includedir)/stubs.h): Add missing backslash.
  1184. * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
  1185. can be aliased.
  1186. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
  1187. Append termio.h.
  1188. * Makefile ($(includedir)/stubs.h): Print a msg if we do nothing.
  1189. * misc/sgtty.h: Add forward decl of struct sgttyb in case it is never
  1190. defined.
  1191. * sysdeps/unix/sysv/linux/termio.h: New file.
  1192. * sysdeps/unix/sysv/linux/Dist: Add it.
  1193. * sysdeps/unix/sysv/linux/ioctl-types.h: New file, wrapper around
  1194. kernel header <asm/termios.h>.
  1195. * misc/Makefile (headers): Add ioctl-types.h.
  1196. * sysdeps/generic/ioctl-types.h: New file.
  1197. * misc/sys/ioctl.h: Include <ioctl-types.h>.
  1198. (struct tchars, struct ltchars, struct sgttyb, struct winsize,
  1199. struct ttysize): Types moved there.
  1200. * Makefile ($(includedir)/stubs.h): Don't touch target if new one is
  1201. identical.
  1202. * time/Makefile (z.% rule): Generate generic zone%/ rule after
  1203. zone%/right/ and zone%/posix/ rules so they match first.
  1204. Sun May 26 15:15:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1205. * features.h [_GNU_SOURCE] (_BSD_SOURCE, _SVID_SOURCE,
  1206. _POSIX_SOURCE, _POSIX_C_SOURCE): Define these.
  1207. * time/Makefile (tzcompile): Add missing backslash.
  1208. * stdlib/ldiv.c: Deansideclized.
  1209. * wctype/wctype.h (__need_wint_t): Define this and include stddef.h.
  1210. [! _WINT_T] (wint_t): Conditionalize typedef on this in case pre-2.7.3
  1211. stddef.h doesn't define it.
  1212. * wcsmbs/wchar.h: Likewise.
  1213. * stdlib/strtod.c: Likewise.
  1214. * wcsmbs/wcstok.c: Fix argument name typo.
  1215. Sun May 26 19:39:53 1996 Ulrich Drepper <drepper@cygnus.com>
  1216. * intl/loadmsgcat.c (_nl_load_domain): Test correct variable
  1217. after malloc.
  1218. * string/Makefile (tester-ENV): New variable to suppress message
  1219. translation in test.
  1220. * string/tester.c: Add tests for strtok_r and strsep.
  1221. * sysdeps/i386/i486/strcat.S: Correct some more 8bit operation
  1222. <-> 32 bit operand conflicts.
  1223. * sysdeps/i386/strsep.S: Wrapper around <sysdeps/i386/strtok.S>
  1224. to produce strsep function.
  1225. * sysdeps/i386/strtok.S: Optimized implementation of strtok
  1226. function.
  1227. * sysdeps/i386/strtok_r.S: Wrapper around <sysdeps/i386/strtok.S>
  1228. to produce strtok_r function.
  1229. * sysdeps/generic/strtok.c: Moved here from string/strtok.c.
  1230. Corrected example in comment.
  1231. * string/Makefile (routines): Add strtok_r.
  1232. * sysdeps/generic/strtok_r.c: New file. Implement reentrant version
  1233. of strtok_r.
  1234. * string/string.h: Add prototype for strtok_r.
  1235. * wcsmbs/wcstok.c: Handle illegal SAVE_PTR argument the same
  1236. as in strtok_r.
  1237. Sun May 26 13:28:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1238. * time/tzset.c (__tzset): Ignore leading : in $TZ; always try tzfile
  1239. first and fall back to 1003.1 syntax only if it fails.
  1240. * time/Makefile (install-others): Also install posix/ZONE and
  1241. right/ZONE for each ZONE in $(zonenames).
  1242. (z.% rule): Generate rules for right/ZONE and posix/ZONE targets too,
  1243. the difference begin leapseconds vs /dev/null as 3rd dep. For
  1244. original ZONE targets use $(leapseconds), to be set in Makeconfig.
  1245. (target-zone-flavor): New variable.
  1246. (tzcompile): Use it to get the right -d for posix/ and right/ flavors.
  1247. * Makeconfig (leapseconds): New variable.
  1248. * mach/Machrules (%.udeps rule): Depend on Machrules.
  1249. Emit deps for .uh and .__h files.
  1250. (%.uh, %.__h rules): Don't depend on %.defs; use #include <$*.defs>
  1251. instead.
  1252. Sun May 26 01:06:47 1996 Ulrich Drepper <drepper@cygnus.com>
  1253. * stdlib/Makefile (routines): Add llabs, lldiv.
  1254. * stdlib/llabs.c: New file. Implementation of return
  1255. absolute value of long long argument.
  1256. * stdlib/lldiv.c: New file. Implementation of division with remainder
  1257. of long long argument.
  1258. * stdlib/stdlib.h [__USE_GNU] (lldiv_t): New type for lldiv
  1259. function.
  1260. Define prototypes for lldiv and llabs functions.
  1261. * locale/C-collate.c: Initialize _NL_COLLATE_NRULES element.
  1262. * stdlib/strtod.c: Replace wchar_t with wint_t. The later is
  1263. really the type for a single wide character.
  1264. * string/strxfrm.c (print_val): Define separate version for
  1265. use as wcsxfrm. Here we don't need UTF8 encoding.
  1266. * wcsmbs/wchar.h: gcc-2.7.2-960517 finally introduces wint_t
  1267. in <stddef.h>. Use this value and only for older gcc version
  1268. define in place.
  1269. (uwchar_t): Remove definition.
  1270. * wcsmbs/wcscmp.c, wcsmbs/wcscoll.c, wcsmbs/wcsncmp.c,
  1271. wcsmbs/wcsxfrm.c, wcsmbs/wmemcmp.c: : Don't use uwchar_t as unsigned
  1272. type. wint_t is intended for this.
  1273. Sat May 25 14:10:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1274. * sysdeps/unix/bsd/direntry.h: Use [1] instead of [0] for d_name to
  1275. quiet -ansi -pedantic.
  1276. * sysdeps/unix/common/direntry.h: Likewise.
  1277. * login/Makefile (headers): Add lastlog.h.
  1278. * login/lastlog.h: New file.
  1279. * login/Makefile (CFLAGS): Don't append -D_THREAD_SAFE.
  1280. * login/utmp.h [_REENTRANT || _THREAD_SAFE]: Replace this conditional
  1281. with #ifdef __USE_REENTRANT.
  1282. * features.h (__GNU_LIBRARY__): Set to 6.
  1283. [_GNU_SOURCE] (_POSIX_SOURCE, _POSIX_C_SOURCE, _BSD_SOURCE,
  1284. _SVID_SOURCE): Make sure they are all defined.
  1285. * sysdeps/unix/sysv/linux/gnu/types.h: Instead of including
  1286. <linux/posix_types.h>, define _LINUX_TYPES_DONT_EXPORT and then
  1287. include <linux/types.h>.
  1288. * resource/sys/resource.h: Remove trailing commas from enums.
  1289. Fri May 24 17:30:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1290. * sysdeps/generic/netinet/in.h: Remove trailing commas from enums.
  1291. * sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
  1292. * login/getutline_r.c: Include string.h.
  1293. * Rules (static-only-routines): Restore the rule to make these .so's
  1294. empty objects.
  1295. * login/pututline_r.c: Use struct assignment instead of memcpy.
  1296. * login/getutline_r.c: Use strncmp instead of comparing two pointers
  1297. that will only be equal if you are overwriting the data and screwing
  1298. yourself anyway.
  1299. Fri May 24 02:31:36 1996 Ulrich Drepper <drepper@cygnus.com>
  1300. * sysdeps/unix/sysv/linux/speed.c: Add new speed value 460800.
  1301. Thu May 23 23:09:33 1996 Ulrich Drepper <drepper@cygnus.com>
  1302. * FAQ: Add answer for 100% source code compatibility to Linux
  1303. libc by David Mosberger-Tang.
  1304. Update from bind-4.9.4-T3B.
  1305. * inet/arpa/inet.h: Add prototypes for inet_pton, inet_ntop,
  1306. inet_nsap_addr, and inet_nsap_ntoa.
  1307. * resolv/gethnamaddr.c: Correct compatibility problems (sprintf),
  1308. remove fourth argument to inet_pton and correct handling of
  1309. host_addr passing.
  1310. * resolv/inet_ntop.c: Correct compatibility problems (sprintf).
  1311. * resolv/inet_pton.c: Remove fourth argument.
  1312. * resolv/resolv.h: Remove prototypes for inet_nsap_addr and
  1313. inet_nsap_ntoa. Now in <arpa/inet.h>.
  1314. * stdlib/gmp-impl.h: Add prototypes for internal functions.
  1315. Thu May 23 22:49:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1316. * Rules (subdir_install): Remove dep on sor-$(subdir).
  1317. (static-only-routines): Removed variable and associated rules.
  1318. Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
  1319. * sysdeps/unix/sysv/linux/alpha/speed.c (speeds): Add entry for
  1320. 460800 baud.
  1321. * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
  1322. * sysdeps/unix/sysv/linux/alpha/Makefile (headers): Add
  1323. alpha/ptrace.h.
  1324. * sysdeps/unix/sysv/linux/alpha/alpha/ptrace.h: New file.
  1325. * sysdeps/libm-ieee754/s_scalbnf.c: Call __scalbnf instead of
  1326. scalbnf.
  1327. * sysdeps/generic/sigset.h (__sigismember, __sigaddset,
  1328. __sigdelset): Add declaration to keep ANSI compilers quiet.
  1329. * sysdeps/alpha/__math.h (cabs): Remove underscores from struct
  1330. __cabs_complex member names in call to __hypot().
  1331. * sysdeps/alpha/copysign.S, sysdeps/alpha/fabs.S: New files.
  1332. * sysdeps/alpha/divrem.h: Renamed from sysdeps/alpha/divrem.S to avoid
  1333. name collision with math library.
  1334. * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
  1335. sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
  1336. sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Include divrem.h instead
  1337. of divrem.S.
  1338. * sysdeps/unix/alpha/sysdep.h: Include regdef.h. Define LEAF macro
  1339. to simplify declaration of leaf functions.
  1340. * sysdeps/alpha/_mcount.S, sysdeps/alpha/bb_init_func.S,
  1341. sysdeps/alpha/bsd-_setjmp.S, sysdeps/alpha/ffs.S,
  1342. sysdeps/alpha/htonl.S, sysdeps/alpha/htons.S, sysdeps/alpha/memchr.S,
  1343. sysdeps/alpha/setjmp.S, sysdeps/alpha/strlen.S,
  1344. sysdeps/alpha/udiv_qrnnd.S, sysdeps/unix/sysv/linux/alpha/brk.S,
  1345. sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
  1346. sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
  1347. sysdeps/unix/sysv/linux/alpha/pipe.S,
  1348. sysdeps/unix/sysv/linux/alpha/sigsuspend.S,
  1349. sysdeps/unix/sysv/linux/alpha/syscall.S,
  1350. sysdeps/unix/sysv/linux/alpha/start.S,
  1351. sysdeps/unix/sysv/linux/alpha/sysdep.S: Remove include of regdef.h.
  1352. sysdep.h includes it now. Replace ENTRY by LEAF with appropriate
  1353. framesize declaration. Replace "lda pv,sym/jsr pv" by "jsr sym".
  1354. * sysdeps/unix/sysv/linux/alpha/sysdep.h (NO_UNDERSCORES): Don't
  1355. define.
  1356. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
  1357. ptrace, and sysctl.
  1358. * sysdeps/unix/sysv/linux/alpha/profil-counter.h: File removed.
  1359. * sysdeps/unix/sysv/linux/alpha/ioperm.c: Modify to support
  1360. dynamic recognition of platform type.
  1361. (_bus_base): New function.
  1362. * sysdeps/unix/sysv/linux/alpha/llseek.S: New file.
  1363. * sunrpc/rpc/rpc.h, sunrpc/rpc/svc.h: Avoid nested comments since
  1364. they produce ugly warnings by gcc.
  1365. * posix/sys/types.h [__USE_MISC]: Add typedef for ulong.
  1366. Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
  1367. * sysdeps/alpha/setjmp.S: Must establish global pointer before
  1368. address of __sigsetjmp_aux can be loaded.
  1369. Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1370. * stdlib/canonicalize.c: New file.
  1371. * stdlib/stdlib.h: Declare canonicalize_file_name, realpath.
  1372. * stdlib/Makefile (routines): Add canonicalize.
  1373. * posix/unistd.h: Declare __canonicalize_directory_name_internal.
  1374. Thu May 23 00:01:10 1996 Ulrich Drepper <drepper@cygnus.com>
  1375. * db/recno/rec_seq.c: Prevent `sccsid' definition by using the
  1376. same #if condition as in the other db files.
  1377. * intl/Makefile: Add -Wno-unused CFLAGS for compilation of
  1378. bindtextdom.c, finddomain.c, and localealias.c.
  1379. * intl/dcgettext.c: Don't define prototype for getcwd() when
  1380. compiling in glibc.
  1381. * libio/cleanup.c: Add prototype for _IO_register_cleanup.
  1382. * libio/filedoalloc.c, libio/fileops.c, libio/iopopen.c: Don't
  1383. define _POSIX_SOURCE unconditionally.
  1384. * libio/filedoalloc.c, libio/iopopen.c: Include <unistd.h> if
  1385. compiling in glibc.
  1386. * libio/fileops.c (_IO_file_close_it): Don't sync file, call
  1387. flush instead. This relaxes the rules from POSIX.1 about
  1388. changing the active handle a bit.
  1389. * libio/iofopncook.c (struct _IO_cookie_file): Move definition
  1390. into <libio.h>.
  1391. Add prototypes for local functions to prevent warnings.
  1392. * libio/iopopen.c: Change prototypes for _IO_fork, _IO_pipe, and
  1393. _IO_dup2 to contain complete parameter list.
  1394. * libio/libio.h: Add definition of struct _IO_cookie_file.
  1395. * libio/libioP.h: Add prototypes for _IO_vasprintf, _IO_vdprintf,
  1396. and _IO_vsnprintf.
  1397. * libio/memstream.c: Include <stdio.h>.
  1398. * libio/stdio.h: Add prototypes for fopencookie,
  1399. __stdio_gen_tempname, __vfscanf, __vsscanf, and __vsnprintf.
  1400. * libio/strops.c: Avoid useless expression in `for' initializer.
  1401. * locale/findlocale.c: Add some casts to prevent warnings.
  1402. * locale/programs/locfile.c (write_locale_data): Don't use
  1403. double `/' in locale binary file.
  1404. * posix/unistd.h: Remove prototype for `reboot'.
  1405. Update from bind-4.9.4-T1A.
  1406. * resolv/Makefile (routines): Add inet_ntop and inet_pton.
  1407. * resolv/arpa/nameser.h: Add definition of IN6ADDRSZ.
  1408. * resolv/gethnamaddr.c, resolv/getnetnamadr.c, resolv/res_comp.c,
  1409. resolv/res_debug.c, resolv/res_init.c
  1410. * resolv/inet_ntop.c, resolv/inet_pton.c: New files.
  1411. * resolv/resolv.h: Add RES_USE_INET6 flag.
  1412. (__dn_isvalid): Renamed to __res_dnok.
  1413. Add prototypes for __res_ownok and __res_mailok.
  1414. * stdio-common/Makefile: Add -Wno-unused to CFLAGS for _itoa.c.
  1415. * stdio-common/getline.c, stdio-common/vfscanf.c,
  1416. sysdeps/posix/tempname.c: Don't use <ansidecl.h> anymore.
  1417. * sysdeps/unix/sysv/linux/Makefile [$subdir == misc]
  1418. (sysdep_routines): Add s_reboot.
  1419. (install-others): Add $(includedir)/sys/syscall.h.
  1420. New rule for $(includedir)/sys/syscall.h to produce from
  1421. <asm/unistd.h>.
  1422. * sysdeps/unix/sysv/linux/reboot.c: New file. Make single
  1423. argument function call 3 argument system call.
  1424. * sysdeps/unix/sysv/linux/sys/reboot.h: New file. Linux specific
  1425. definition for reboot function.
  1426. * sysdeps/unix/sysv/linux/syscall.h: Remove old and obsolete
  1427. comment.
  1428. * sysdeps/unix/sysv/linux/syscalls.list: Rename function for
  1429. reboot syscall to __syscall_reboot.
  1430. * wcsmbs/wchar.h: Protect prototypes for wcstof and wcstold by
  1431. __USE_GNU, not USE_GNU.
  1432. Tue May 21 21:55:49 1996 David Mosberger-Tang <davidm@AZStarNet.com>
  1433. * locale/programs/charset.c, locale/programs/ld-collate.c:
  1434. Add casts to prevent warnings on 64-bit machines.
  1435. * locale/programs/ld-monetary.c: Don't do unnecessary tests for
  1436. int_frac_digits and frac_digits which only produce warnings.
  1437. Mon May 13 23:45:29 1996 David Mosberger-Tang <davidm@AZStarNet.com>
  1438. * inet/arpa/inet.h: Backup return type of inet_addr to u_long.
  1439. * resolv/inet_addr.c: Likewise.
  1440. * resolv/Makefile (distribute): Add res_hconf.h
  1441. (routines): Add res_hconf.
  1442. * resolv/gethnamaddr.c: Add support for /etc/host.conf.
  1443. * resolv/res_init.c: Initialize /etc/host.conf reader.
  1444. * resolv/res_hconf.c, resolv/res_hconf.h: New files.
  1445. Implementation of reading /etc/host.conf.
  1446. Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1447. * Rules (%.out rules): Prepend $($*-ENV) to the command.
  1448. * sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
  1449. alias for __curbrk.
  1450. Wed May 22 19:37:27 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1451. * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
  1452. * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
  1453. Wed May 22 18:47:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1454. * sysdeps/mach/hurd/getcwd.c
  1455. (_hurd_canonicalize_directory_name_internal): New function, broken out
  1456. of __getcwd.
  1457. (__getcwd): Use it.
  1458. (__canonicalize_directory_name_internal): New function using it.
  1459. * sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal): New
  1460. function, broken out of __getcwd.
  1461. (__getcwd): Use it.
  1462. Wed May 22 18:14:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1463. * string/argz-create.c (__argz_create): Correctly calculate length.
  1464. * string/argz-extract.c (__argz_extract): Add terminating 0 entry.
  1465. * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
  1466. Wed May 22 17:22:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1467. * posix/glob.c [VMS]: Don't include <pwd.h>.
  1468. [HAVE_VMSDIR_H]: Include "vmsdir.h".
  1469. (glob) [VMS]: Don't grok ~.
  1470. Wed May 22 14:46:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1471. * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
  1472. back from argz_extract.
  1473. Wed May 22 13:56:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1474. * configure.in: Remove checks for objdump, objcopy, and awk.
  1475. * config.make.in (OBJDUMP, OBJCOPY, AWK): Variables removed.
  1476. * Makefile (distribute): Remove extract-dynsym.
  1477. * extract-dynsym: File removed.
  1478. Tue May 21 22:17:45 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1479. * termios/cfmakeraw.c: Set MIN to 1 and TIME to 0.
  1480. Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com>
  1481. * stdlib/strtol.c [!QUAD] (ULONG_MAX, LONG_MAX): Define these
  1482. macros if they are not available.
  1483. (WEAKNAME): New macro to declare argument as weak.
  1484. Define function with __ prefix and add normal name as weak alias.
  1485. * sysdeps/posix/euidaccess.c (S_IROTH, S_IWOTH, S_IXOTH): Defines
  1486. these macros if not already available based on R_OK, W_OK, and
  1487. X_OK.
  1488. Tue May 21 18:48:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1489. * misc/sys/syslog.h (__need___va_list): Define this instead of
  1490. __need_va_list before including <stdarg.h>.
  1491. * Makerules (o-iterator): Use $(object-suffixes-left) instead
  1492. of $(object-suffixes) to produce repetitions; this is used for other
  1493. lists than just that one.
  1494. [versioned]: Use $(o-iterator) properly.
  1495. * sysdeps/unix/sysv/linux/Implies: Include `gnu'.
  1496. * sysdeps/mach/hurd/Implies: Likewise.
  1497. Sat May 18 02:57:46 1996 Ulrich Drepper <drepper@cygnus.com>
  1498. * login/Makefile: New file. This directory contains functions
  1499. for user administration.
  1500. * Makefile (subdirs): Add login.
  1501. * misc/Makefile (headers): Remove utmp.h. Now in login/utmp.h.
  1502. (extra-libs, libutil-routines): Ditto.
  1503. * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
  1504. misc/utmp.h: Moved to misc/.
  1505. * login/login.c, login/login_tty.c, login/logout.c,
  1506. login/logwtmp.c, login/utmp.h: Moved to here from misc/.
  1507. * login/utmp.h: Split file. Definitions of data structures
  1508. and constants are now in the system dependent utmpbits.h file.
  1509. * login/setutent_r.c, login/setutent.c, login/endutent_r.c,
  1510. login/endutent.c, login/getutent_r.c, login/getutent.c,
  1511. login/getutid_r.c, login/getutid.c, login/getutline_r.c,
  1512. login/getutline.c, login/pututline_r.c, login/pututline.c:
  1513. New files. Routines to handle utmp-style files.
  1514. * sysdeps/gnu/utmpbits.h: New file. Contains GNU/Linux
  1515. specific definitions of utmp data structures and constants.
  1516. * sysdeps/unix/sysv/utmpbits.h: Renamed from sysdeps/unix/sysv/utmp.h.
  1517. * sysdeps/generic/utmpbits.h: New file. Generic (BSDish) version of
  1518. definitions of utmp data structures and constants.
  1519. Fri May 17 00:01:31 1996 Ulrich Drepper <drepper@cygnus.com>
  1520. * locale/C-monetary.c: Default value for mon_decimal_point should be
  1521. '.'.
  1522. * stdio-common/printf.h: Remove Linux libc compatibility stuff.
  1523. Add `extra' flag. Currently used in __printf_fp.
  1524. * stdio-common/printf_fp.c (__guess_grouping): Renamed from
  1525. `guess_grouping' and extend visibility to extern. This function
  1526. is now used in `strfmon'.
  1527. (__printf_fp): Recognize new bit flag in info struct. This
  1528. triggers to use the grouping information and decimal point from
  1529. the LC_MONETARY category instead of the LC_NUMERIC category.
  1530. * stdio-common/vfprintf.c (process_arg): Correct major bug. In
  1531. `complicated' loop we must not use the varargs because the args
  1532. are already available in the ARGS_VALUE array.
  1533. * stdlib/Makefile (headers): Add monetary.h.
  1534. (routines): Add strfmon.
  1535. * stdlib/monetary.h: New file. Header for strfmon function.
  1536. * stdlib/strfmon.c: New file. Implement strfmon function to print
  1537. monetary amounts according to current locale's rules.
  1538. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: The kernel header is
  1539. now (>= Linux-1.3.100) called <asm/vm86.h>.
  1540. Thu May 16 00:31:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1541. * Makerules [versioned]: Make symlinks in the build directory, because
  1542. the versioned names might be referenced by a DT_NEEDED in another
  1543. library.
  1544. Wed May 15 18:59:38 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1545. * manual/examples/longopt.c: Include stdlib.h and getopt.h.
  1546. Tue May 14 03:36:21 1996 Ulrich Drepper <drepper@cygnus.com>
  1547. * sysdeps/unix/sysv/linux/Makefile [$subdir == misc] (headers):
  1548. Add sys/acct.h and sys/sysctl.h.
  1549. Tue May 14 19:42:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1550. * sysdeps/generic/strrchr.c: Deansideclized.
  1551. * elf/Makefile (ldd): Depend on Makefile.
  1552. Find ld.so in $(slibdir) instead of $(libdir).
  1553. * sysdeps/i386/strrchr.S: Use `testl $3, %esi' instead of `testb $3,
  1554. %esi'; gas misassembles the latter into `testb $3, %dh'.
  1555. * mach/Machrules (%.udeps rule): Do $(make-target-directory) first.
  1556. Tue May 14 16:38:44 1996 David Mosberger-Tang <davidm@AZStarNet.com>
  1557. * sunrpc/getrpcent.c (interpret): Declare args. Rewrite parsing using
  1558. strpbrk.
  1559. Tue May 14 20:18:38 1996 Ulrich Drepper <drepper@cygnus.com>
  1560. * time/Makefile (routines): Add strptime.
  1561. * time/time.h: Add prototype for strptime.
  1562. * time/strptime.c: New file. Implementation according to XPG4.
  1563. Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1564. * libc-symbols.h (lint): Macro removed. The sunrpc code does some
  1565. really stupid things #ifdef lint.
  1566. * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter): Fix
  1567. struct member name: sc_eip -> eip.
  1568. Mon May 13 19:52:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1569. * Makerules (stub-$(subdir)): Put cmds including cd inside (...) with
  1570. output redirect outside it.
  1571. * elf/Makefile (subdir_lib): Depend on ld.so.
  1572. Sun May 12 22:52:22 1996 Bruce Elliott <belliott@accessone.com>
  1573. * stdio-common/vfprintf.c: Correct handling of unsigned short
  1574. values.
  1575. Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1576. * extra-lib.mk (alltype-$(lib)): Put libs in $(objpfx) instead of
  1577. $(common-objpfx).
  1578. * Makerules [install-lib.a]: Find them there.
  1579. * sysdeps/unix/sysv/linux/i386/profil-counter.h: New file.
  1580. * extra-lib.mk: Skip the hair if $(object-suffixes-$(lib)) is empty.
  1581. * posix/glob.h [_AMIGA]: Remove `struct stat;' forward decl.
  1582. * configure.in (--with-fp): Note in help string that it's the default.
  1583. * locale/programs/ld-ctype.c (struct locale_ctype_t): Use u_int32_t
  1584. instead of unsigned int for map_collection_max and map_collection_act.
  1585. * stdio-common/vfprintf.c [USE_IN_LIBIO] (flockfile, funlockfile):
  1586. Macros removed; they are in <stdio.h>.
  1587. * stdio-common/vfscanf.c: Likewise.
  1588. * posix/glob.c [_AMIGA]: Don't include <pwd.h>.
  1589. (glob): Remove bogus & in call to globfree.
  1590. [_AMIGA]: Use AmigaDOS file name conventions.
  1591. * time/Makefile (zonenames): Target removed.
  1592. (extra-objs): Remove it from here.
  1593. Include the z.* files directly instead of including zonenames; use
  1594. `-include' to not complain before they exist.
  1595. * sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
  1596. $(common-objpfx) instead of $(objpfx).
  1597. * sysdeps/unix/bsd/telldir.c (seekdir, telldir): Use new struct member
  1598. names without __.
  1599. * Makerules [install-lib-non.a]: Find these things with $(objpfx)
  1600. instead of $(common-objpfx).
  1601. * Makeconfig (sysdep-configures): New variable.
  1602. (config.status): Depend on $(sysdep-configures).
  1603. Fri May 10 20:07:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1604. * sysdeps/unix/sysv/linux/profil.c: New file.
  1605. Fri May 10 19:59:50 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1606. * sysdeps/m68k/Makefile (CFLAGS-setjmp.c): New variable.
  1607. Fri May 10 19:55:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  1608. * shlib-versions: Use libm=6 and libc=6 for m68k-linux.
  1609. Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1610. * string/envz.c: Fix uses of unsigned to size_t.
  1611. * Makerules ($(libdir)/libc.so): Make the file an ld script.
  1612. * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
  1613. * sysdeps/mach/configure.in: File removed.
  1614. * sysdeps/mach/configure: File removed.
  1615. * mach/Machrules (%.udeps rule): Write deps for %_server.[ch] too.
  1616. (%_server.[ch] rule): Don't depend on %.defs; use #include to get
  1617. installed .defs file.
  1618. * stdio-common/vfprintf.c (flockfile, funlockfile): Define to
  1619. nothing for stdio. Fix fUNlockfile -> funlockfile for libio.
  1620. * stdio-common/vfscanf.c: Likewise.
  1621. Sat May 11 13:43:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1622. * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
  1623. * mach/Machrules (%.ir rule): Don't produce deps for imports.
  1624. * elf/dl-fini.c (_dl_fini): Clear L->l_init_called after calling fn.
  1625. * Makerules (install): Depend on $(slibdir)/libc.so$(libc.so-version).
  1626. [!subdir] ($(libdir)/libc.so, $(common-objpfx)/libc-syms.so): Protect
  1627. these targets and install dep on $(libdir)/libc.so with this.
  1628. * hurd/Makefile: Removed all rules and defns for using code from Hurd
  1629. sources and installing headers from there.
  1630. * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
  1631. set it. In Mach error matching clause, only match if FILENAME is
  1632. still the same value.
  1633. * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
  1634. $(mach-srcdir) no longer exists.
  1635. (hurd-srcdir): Variable removed.
  1636. (includes): Don't append -I$(hurd-srcdir).
  1637. (last-includes): Variable removed.
  1638. Remove vpath specs using $(hurd-srcdir).
  1639. (mach-errno-h): New canned sequence.
  1640. ($(common-objpfx)errnos.d): New target, generated included makefile
  1641. to determine absolute file names of Mach headers to search for error
  1642. codes and set variable mach-errnos-deps.
  1643. ($(common-objpfx)stamp-errnos): Depend on $(mach-errnos-deps) instead
  1644. of prior explicit list.
  1645. (generated): Add errnos.d, stamp-errnos.
  1646. * mach/Machrules (some-if-rtn): New variable and target; compute deps
  1647. of some if routine and make all if routines depend on that .d file
  1648. instead of static list of .h files.
  1649. * mach/Makefile (mach/mach_interface.defs,
  1650. mach/memory_object_user.defs): Targets removed.
  1651. ($(objpfx)mach-syscalls.mk): Tweak this kludge so it doesn't depend
  1652. directly on Mach sources.
  1653. * sysdeps/mach/Makefile (mach-srcdir): Variable removed.
  1654. (includes): Don't append -I$(mach-srcdir).
  1655. Remove vpath specs using $(mach-srcdir).
  1656. * hurd/Makefile (server-interfaces): Add faultexc.
  1657. (sig): Remove it from here.
  1658. (fault%.[ch]): Rule removed.
  1659. (MIGFLAGS-faultexc): New variable.
  1660. * hurd/faultexc.defs: New file.
  1661. * mach/Machrules (%.ustamp rule): Pass $(MIGFLAGS-$*) to mig.
  1662. (%_server.[ch] rule): Likewise.
  1663. * mach/Makefile: Removed all rules and defns for using code from Mach
  1664. sources and installing headers from there.
  1665. * Makeconfig [$(build-shared)=yes] (link-libc): Append
  1666. $(libc.so-version) to libc.so.
  1667. Fri May 10 18:36:14 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1668. * mach/Machrules (%.ustamp rule): Don't depend on %.defs.
  1669. (%.udeps): New rule parallel to that one, generating included
  1670. makefiles with -M output from `#include <%.defs>'.
  1671. * Makerules (sed-remove-objpfx): Remove space before \ at eol.
  1672. * Makefile (distribute): Add FAQ.
  1673. * FAQ: New file contributed by drepper.
  1674. * time/Makefile (headers): Add timebits.h.
  1675. * sysdeps/unix/sysv/linux/timebits.h: New file.
  1676. * sysdeps/stub/timebits.h: New file.
  1677. * time/time.h (CLK_TCK): Define to CLOCKS_PER_SEC.
  1678. (CLOCKS_PER_SEC): Remove this macro. Instead #include <timebits.h>.
  1679. Fri May 10 16:22:44 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
  1680. * string/argz-create.c (__argz_create): Restore const keyword to
  1681. ARGV parm.
  1682. * string/argz.h (__argz_create, argz_create): Restore const
  1683. keyword.
  1684. * string/envz.c (envz_get): Don't declare ENTRY const.
  1685. Fri May 10 11:48:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1686. * string/argz.h (argz_create): Fix param type.
  1687. * string/argz-create.c (__argz_create): Remove const from param type.
  1688. * string/envz.c (envz_get): Remove const from return type.
  1689. Fri May 10 09:41:54 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
  1690. * string/argz.h (__argz_create, argz_create): Omit const keyword
  1691. from declaration of ARGV.
  1692. * string/envz.h (envz_get): Omit const from declaration of return
  1693. type.
  1694. Thu May 9 09:17:46 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1695. * aclocal.m4 (AC_FD_MSG, AC_FD_CC): Fix these for autoconf weirdness.
  1696. Cleanups in sunrpc code from NIIBE Yutaka <gniibe@mri.co.jp>.
  1697. * sunrpc/clnt_tcp.c (clnttcp_create): Don't close *SOCKP if it's -1.
  1698. * sunrpc/clnt_simp.c (callrpc): Don't close CRP->socket if it's
  1699. RPC_ANYSOCK.
  1700. * sunrpc/pmap_clnt.c (pmap_set): Don't close SOCKET, since
  1701. CLNT_DESTROY already has.
  1702. (pmap_unset): Likewise.
  1703. * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
  1704. * sunrpc/pm_getport.c (pmap_getport): Likewise.
  1705. * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
  1706. * sunrpc/portmap.c (callit): Likewise.
  1707. * Makerules (versioned): Strip whitespace.
  1708. * Rules (static-only-routines rule): Remove spurious space in dep.
  1709. * misc/getusershell.c: Undo changes of 7 May 96 (rev 1.6).
  1710. Cast string constants to char *.
  1711. * posix/glob/SMakefile, posix/glob/SCOPTIONS, posix/glob/Makefile.ami:
  1712. New files, AmigaDOS support from Aaron Digulla.
  1713. * posix/Makefile (glob.tar): Add AmigaDOS support files.
  1714. * sysdeps/unix/sysv/linux/net/if.h: New file.
  1715. * sysdeps/unix/sysv/linux/Dist: Add it.
  1716. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
  1717. net/if.h.
  1718. * Makeconfig (link-libc): Add libc.a after libc.so in link.
  1719. * Rules (static-only-routines rule): Use empty.o instead of dummy.o.
  1720. (empty.o): New target.
  1721. (generated): Add empty.c, empty.o.
  1722. * resolv: Code updated from BIND-4.9.3P2C3.
  1723. * Rules (static-only-routines rule): Use dummy.o, not dummy.so.
  1724. Wed May 8 20:04:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1725. * extract-dynsym: New file.
  1726. * Makefile (distribute): Add it.
  1727. * Rules (subdir_install): Depend on $(common-objpfx)sor-$(subdir).
  1728. [! libc.so-version]: Clear static-only-routines.
  1729. ($(common-objpfx)sor-$(subdir)): New target.
  1730. [static-only-routines]: New static pattern rule for these .so's.
  1731. * Makerules [libc.so-version] ($(slibdir)/libc.so): Target removed.
  1732. [libc.so-version] ($(libdir)/libc.so, $(common-objpfx)libc-syms.so):
  1733. New targets replace it.
  1734. (install) [libc.so-version]: Depend on $(libdir)/libc.so instead of
  1735. $(slibdir)/libc.so.
  1736. * io/Makefile (static-only-routines): New variable.
  1737. * configure.in: Check for tools objdump and objcopy, and for awk.
  1738. * config.make.in (OBJDUMP, OBJCOPY, AWK): New variables.
  1739. Thu May 9 01:24:00 1996 Ulrich Drepper <drepper@cygnus.com>
  1740. * locale/programs/config.h: Remove definition of wint_t.
  1741. * locale/programs/ld-collate.c: Include <wchar.h> instead of
  1742. <wcstr.h>.
  1743. * manual/time.texi: Add some more description for %U and %W
  1744. format of strftime. Describe new format %V of strftime.
  1745. * resolv/gethnamaddr.c: Prevent warning by preventing variable
  1746. definition.
  1747. * stdio-common/_itoa.c: Ditto.
  1748. Tue May 7 23:43:07 1996 Ulrich Drepper <drepper@cygnus.com>
  1749. * libio/clearerr.c, libio/feof.c, libio/ferror.c, libio/fgetc.c,
  1750. libio/fileno.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
  1751. libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
  1752. libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
  1753. libio/iofputs.c, libio/iofread.c, libio/iofsetpos.c,
  1754. libio/ioftell.c, libio/iofwrite.c, libio/iogetdelim.c,
  1755. libio/iogets.c, libio/ioputs.c, libio/iosetbuffer.c,
  1756. libio/iosetvbuf.c, libio/ioungetc.c, libio/iovsprintf.c,
  1757. libio/libio.h, libio/putc.c, libio/putchar.c, libio/rewind.c,
  1758. libio/stdio.h, stdio-common/printf_fp.c, stdio-common/vfprintf.c,
  1759. stdio-common/vfscanf.c: Prepare for reentrant libio.
  1760. * libio/clearerr_u.c, libio/feof_u.c, libio/ferror_u.c,
  1761. libio/fputc_u.c, libio/getc_u.c, libio/getchar_u.c,
  1762. libio/iofflush_u.c, libio/putc_u.c, libio/putchar_u.c: New files.
  1763. Used in reentrant libio.
  1764. * misc/getusershell.c: Prevent warnings.
  1765. Wed May 8 12:08:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1766. * Makerules (install-lib.so rules): Undouble $s in target and dep
  1767. parts of o-iterator-doit defns.
  1768. (unversioned libraries install rule): Fix pattern.
  1769. * mach/Makefile (mach-src-headers): Use $(base-machine) instead of
  1770. $(config-machine).
  1771. ($(includedir)/machine): Likewise.
  1772. * config.make.in (base-machine): New variable.
  1773. * configure.in (machine): Move case stmt to set $machine out of sysdep
  1774. dirs AC_CACHE_CHECK.
  1775. (base_machine): New variable, set in that switch and AC_SUBST'd.
  1776. * Makerules (stub-$(subdir)): Use file name in directory as output,
  1777. since cmd is cd'd.
  1778. * configure.in (MSGFMT): Use : if none found.
  1779. * po/Makefile: Include ../Rules instead of ../Makerules.
  1780. Tue May 7 23:18:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1781. * po/Makefile: New file.
  1782. * Makefile (subdirs): Add po.
  1783. * configure.in: Check for msgfmt.
  1784. * config.make.in (MSGFMT): New variable.
  1785. Sun May 5 23:49:10 1996 Ulrich Drepper <drepper@cygnus.com>
  1786. * misc/Makefile (routines): Add swapoff.
  1787. * sysdeps/unix/sysv/linux/Dist: Add sys/quota.h.
  1788. * sysdeps/unix/sysv/linux/sys/quota.h: New file. Wrapper around
  1789. kernel header file.
  1790. Tue May 7 19:00:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1791. * string/argz-extract.c: Remove const from decl.
  1792. * string/argz.h: Here too.
  1793. * Makeconfig (version.mk): Fix regexp in sed cmd.
  1794. Depend on $(..)Makeconfig.
  1795. * GMP code updated from gmp-2.0 release.
  1796. * stdlib/Makefile (mpn-routines): Removed add_1, added inlines.
  1797. * sysdeps/generic/add_1.c: File removed.
  1798. * stdlib/strtod.c: mp_limb is now mp_limb_t.
  1799. * stdlib/fpioconst.c, stdlib/fpioconst.h: Likewise.
  1800. * stdio-common/_itoa.c: Likewise.
  1801. * stdio-common/printf_fp.c: Likewise.
  1802. Don't include ansidecl.h.
  1803. * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
  1804. * shlib-versions: New file.
  1805. * Makerules (soversions.mk): New target, include file generated from
  1806. shlib-versions. Moved shared library rules before installation rules.
  1807. Rewrote shared library installation rules for versioned libraries.
  1808. * math/Makefile (libm.so-version): Variable removed.
  1809. * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
  1810. * hurd/report-wait.c (_S_msg_describe_ports): New function.
  1811. * configure.in: Add AC_PROG_LN_S check.
  1812. * config.make.in (LN_S): New variable.
  1813. Sun May 5 03:10:44 1996 Ulrich Drepper <drepper@cygnus.com>
  1814. * misc/efgcvt_r.c (ecvt_r): Work aroung gcc bug. gcc does
  1815. not know about weak aliases now and optimizes necessary `if'
  1816. statement away.
  1817. * posix/unistd.h: Add swapoff prototype.
  1818. * sysdeps/generic/confname.h: Add even more POSIX.4 symbols.
  1819. * sysdeps/posix/fpathconf.c (__fpathconf): Get information
  1820. for _PC_PATH_MAX from fstatfs function if available.
  1821. * sysdeps/posix/sysconf.c: Add code to handle _SC_AIO_LISTIO_MAX,
  1822. _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX,
  1823. _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_RTSIG_MAX,
  1824. _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, and
  1825. _SC_TIMER_MAX.
  1826. * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
  1827. * sysdeps/stub/swapoff.c: New file. Stub version for swapoff
  1828. function.
  1829. * sysdeps/unix/syscalls.list: Add swapoff.
  1830. * sysdeps/unix/sysv/linux/Dist: Add sys/acct.h.
  1831. * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
  1832. (sysdep_routines): Add mount, umount, llseek, setfsgid, setfsuid,
  1833. sysinfo, and uselib.
  1834. (headers): Add sys/sysinfo.h.
  1835. * sysdeps/unix/sysv/linux/gethostid.c: Prevent warning.
  1836. * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == misc]
  1837. (sysdep_routines): Add ioperm, iopl, and vm86.
  1838. (headers): Add sys/perm.h and sys/vm86.h.
  1839. * sysdeps/unix/sysv/linux/i386/sys/perm.h: New file. Contains
  1840. prototypes for iopl and ioperm.
  1841. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: New file. Contains
  1842. prototype for vm86.
  1843. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file. Add
  1844. vm86 system call.
  1845. * sysdeps/unix/sysv/linux/sys/acct.h: New file. Contains
  1846. prototypes for acct function.
  1847. * sysdeps/unix/sysv/linux/sys/socket.h: Provide real header
  1848. file with prototypes.
  1849. * sysdeps/unix/sysv/linux/sys/sysinfo.h: New file. Contains
  1850. prototype for sysinfo function.
  1851. * sysdeps/unix/sysv/linux/syscalls.list: Add flock, ioperm, iopl,
  1852. llseek, setfsgid, setfsuid, sysinfo, and uselib.
  1853. * sysdeps/unix/sysv/linux/sysconf.c: Instead of duplicating
  1854. posix/sysconf.c now only handle cases different to that
  1855. implementation.
  1856. Tue May 7 15:08:19 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1857. * stdio/linewrap.c (__line_wrap_output): Renamed from lwoutput
  1858. (all references changed). Now exported.
  1859. * stdio/linewrap.c (struct data): Type deleted (moved to linewrap.h).
  1860. (wrap_stream, unwrap_stream, lwclose, lwfileno, lwoutput,
  1861. line_wrap_stream, line_unwrap_stream): Use struct line_wrap_data
  1862. instead of struct data.
  1863. (lwoutput, line_wrap_stream, line_unwrap_stream): Rename various
  1864. occurences of `wrap' and `wrapmargin' to `wmargin'.
  1865. (line_wrapped, line_wrap_lmargin, line_wrap_set_lmargin,
  1866. line_wrap_rmargin, line_wrap_set_rmargin, line_wrap_wmargin,
  1867. line_wrap_set_wmargin, line_wrap_point): New functions.
  1868. * stdio/linewrap.h: New file.
  1869. * stdio/Makefile (headers): Add linewrap.h.
  1870. Tue May 7 14:19:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1871. * sysdeps/unix/sysv/linux/i386/Makefile: File removed.
  1872. * stdio/stdio.h: Remove line_wrap_stream, line_unwap_stream decls.
  1873. * sysdeps/unix/sysv/linux/schedbits.h: New file.
  1874. Tue May 7 13:47:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
  1875. * stdio/linewrap.c (struct data): Make margin fields not-pointers.
  1876. (lwoutput): Adjust uses acordingly.
  1877. Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1878. * sysdeps/mach/hurd/fdatasync.c: New file.
  1879. * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
  1880. * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
  1881. * sysdeps/mach/hurd/symlink.c: Likewise.
  1882. * sysdeps/mach/hurd/link.c: Likewise.
  1883. * sysdeps/mach/hurd/bind.c: Likewise.
  1884. * hurd/hurdsig.c (write_corefile): Likewise.
  1885. * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
  1886. * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
  1887. * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
  1888. proc_mark_exit.
  1889. * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
  1890. * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
  1891. * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
  1892. * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
  1893. hurd_signal_detail.
  1894. * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
  1895. * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
  1896. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  1897. Likewise.
  1898. * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
  1899. * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
  1900. * hurd/hurdsig.c (write_corefile): Take const struct
  1901. hurd_signal_detail * arg. Pass all details to crash_dump_task.
  1902. (_hurd_internal_post_signal): Pass DETAIL to write_corefile.
  1903. (_hurd_internal_post_signal: suspend): Pass code and error to
  1904. proc_mark_stop.
  1905. * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
  1906. proc_getprocinfo by reference.
  1907. * wcsmbs/wcwidth.c, wcsmbs/wcswidth.c: Fixed typos.
  1908. * sysdeps/unix/sysv/linux/sys/mman.h: Fixed typo.
  1909. * sysdeps/stub/sched_getp.c: Add missing #include <sys/types.h>.
  1910. * sysdeps/stub/sched_sets.c: Likewise.
  1911. * sysdeps/stub/sched_setp.c: Likewise.
  1912. * sysdeps/stub/sched_rr_gi.c: Likewise.
  1913. * sysdeps/stub/sched_gets.c: Likewise.
  1914. * hurd/hurdsig.c: Use struct hurd_signal_detail.
  1915. * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
  1916. * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
  1917. Mon May 6 09:51:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1918. * stdio/linewrap.c: New file.
  1919. * stdio/Makefile (routines): Add linewrap.
  1920. * stdio/stdio.h [__USE_GNU]: Declare line_wrap_stream,
  1921. line_unwrap_stream.
  1922. Mon May 6 14:53:26 1996 Ulrich Drepper <drepper@cygnus.com>
  1923. * time/strftime.c (week): Add third parameter telling how
  1924. many days must be in new year so that it is called week 1.
  1925. (Following ISO 8601).
  1926. Correct computation for %U and %V formats when day was first
  1927. day of the week.
  1928. (strftime): Implement %V format according to Spec1170.
  1929. Mon May 6 17:01:09 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
  1930. * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
  1931. Sat May 4 05:44:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1932. * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
  1933. prototype of `preempter' elt to use struct hurd_signal_detail.
  1934. * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
  1935. (struct hurd_sigstate): Make `pending_data' member an array of that.
  1936. Use the new type in several decls.
  1937. * locale/setlocale.c (_nl_C_name): Variable removed.
  1938. * locale/C_name.c: New file.
  1939. (_nl_C_name): Put it here instead.
  1940. * locale/Makefile (aux): Add C_name.
  1941. * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
  1942. auth_user_authenticate rpc.
  1943. (open): Avoid using strtol in digit conversion for "fd/N" magic.
  1944. (_dl_sysdep_start): Likewise for memobj name in magic switches.
  1945. * elf/Makefile (reloc-link): New variable.
  1946. (dl-allobjs.so): New target, link together $(rtld-routines).
  1947. (librtld.so): Depend on that instead of the rtld components.
  1948. (generated): Add dl-allobjs.so.
  1949. * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
  1950. rpc.
  1951. * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
  1952. instead of _hurd_split_args.
  1953. (_S_msg_*_exec_flags): Functions removed.
  1954. (_S_msg_startup_dosync): Stub removed.
  1955. Sat May 4 02:11:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1956. * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
  1957. EXEC_TRACED bit in _hurd_exec_flags.
  1958. Pass sigcode arg in msg_sig_post_untraced rpc.
  1959. * sysdeps/mach/hurd/access.c: Don't pass io port in
  1960. auth_user_authenticate rpc.
  1961. * posix/sched.h: Fix typos.
  1962. * sysdeps/mach/hurd/fork.c: Use new critical section lock.
  1963. Clear _hurdsig_traced instead of EXEC_TRACED.
  1964. * sysdeps/stub/nanosleep.c (nanosleep): Fix typo.
  1965. * wcsmbs/wcstol.c: Find strtol.c in ../stdlib.
  1966. * wcsmbs/wcstof.c: Find strtod.c in ../stdlib.
  1967. * wcsmbs/wcstod.c: Likewise.
  1968. * wcsmbs/wcstold.c: Likewise.
  1969. * wcsmbs/wcwidth.h: Find cname-lookup.h in ../wctype.
  1970. * string/envz.c (envz_entry): Use const.
  1971. (envz_get, envz_remove): Likewise.
  1972. (envz_entry): Return char *, not const char *.
  1973. * string/envz.h: Fix decl.
  1974. * string/argz-create.c: Use const in prototype.
  1975. * string/argz-next.c: Likewise.
  1976. Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  1977. * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
  1978. * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
  1979. * sysdeps/mach/hurd/sigsuspend.c: Likewise.
  1980. * sysdeps/mach/hurd/kill.c: Likewise.
  1981. * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
  1982. * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
  1983. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
  1984. * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
  1985. Likewise.
  1986. * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
  1987. * sysdeps/mach/hurd/sigaction.c: Likewise.
  1988. * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
  1989. change meaninglessly.
  1990. * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
  1991. flag with a spin lock.
  1992. (_hurd_critical_section_lock): Use spin_try_lock on that to see if we
  1993. get it. No need to take SS->lock at all.
  1994. (_hurd_critical_section_unlock): Unlock SS->critical_section_lock
  1995. instead of clearing the old flag member.
  1996. * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
  1997. test the critical section state.
  1998. * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
  1999. * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
  2000. * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
  2001. instead of testing (_hurd_exec_flags & EXEC_TRACED).
  2002. (_S_msg_sig_post): Take sigcode arg and pass it through.
  2003. (_S_msg_sig_post_untraced): Likewise.
  2004. (reauth_proc): Don't pass proc port in auth_user_authenticate.
  2005. * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
  2006. auth_user_authenticate RPCs, just the one-off rendezvous port.
  2007. * hurd/dtable.c (reauth_dtable): Likewise.
  2008. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
  2009. * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
  2010. Pass sigcode arg to msg_sig_post.
  2011. * string/argz.h (argz_create): Use const in prototype.
  2012. * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
  2013. testing (_hurd_exec_flags & EXEC_TRACED).
  2014. Pass sigcode arg to msg_sig_post.
  2015. * hurd/hurd.h: Declare _hurdsig_traced.
  2016. * string/argz.h (__argz_next): Cast ENTRY before returning it.
  2017. * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
  2018. to msg_sig_post.
  2019. * hurd/path-lookup.c: New file.
  2020. * hurd/Makefile (routines): Add path-lookup.
  2021. * hurd/hurd/lookup.h: Declare file_name_path_scan,
  2022. hurd_file_name_path_lookup.
  2023. * hurd/hurd.h: Declare file_name_path_lookup.
  2024. * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
  2025. argument. Instead, use a separate reply port for each RPC and put them
  2026. all in a port set to wait for slow replies.
  2027. * intl/Makefile (CPPFLAGS): Change $(nlsdir) to $(i18ndir) in
  2028. LOCALE_ALIAS_PATH.
  2029. Fri May 3 03:14:02 1996 Ulrich Drepper <drepper@cygnus.com>
  2030. * intl/Makefile (routines): Add l10nflist and explodename.
  2031. (distribute): Add loadinfo.h and locale.alias.
  2032. (install-others): New variable to install locale.alias.
  2033. * intl/dcgettext.c, intl/finddomain.c, intl/gettextP.h,
  2034. intl/loadmsgcat.c: Adapt for upcoming gettext-0.10.13. Some code
  2035. is now shared with the locale implementation.
  2036. * intl/explodename.c, intl/l10nflist.c, intl/loadinfo.h: New file.
  2037. Extracted from finddomain.c. This is also used in the locale
  2038. implementation.
  2039. * intl/locale.alias: New file. Locale alias database compatible
  2040. with X Window System's locale alias file. Can now be used in
  2041. locale and gettext code.
  2042. * libio/stdio.h: Add prototypes for asprint and vasprintf.
  2043. * locale/C-collate.c, locale/C-ctype.c, locale/C-messages.c,
  2044. locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c: Add new
  2045. field in structure with name of locale ("C" in this case).
  2046. * locale/Makefile (routines): Add findlocale.
  2047. * locale/findlocale.c: New file. Instead of trying to load the
  2048. directly described file we now try to be much smarter when this
  2049. fails. Use the same code as gettext does.
  2050. * locale/loadlocale.c, locale/setlocale.c: Rewrite to know about
  2051. new loading scheme.
  2052. * locale/localeinfo.h: Adapt prototypes and declarations for new
  2053. setlocale implementation. Remove definition of u32_t type. We
  2054. now use u_int32_t from <sys/types.h>.
  2055. * locale/programs/charset.h (ILLEGAL_CHAR_VALUE): Provide type
  2056. with constant.
  2057. * locale/programs/config.h, locale/lc-collate.c,
  2058. locale/localeinfo.h, locale/programs/ld-collate.c,
  2059. locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
  2060. locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
  2061. locale/programs/ld-time.c, locale/weight.h, string/strcoll.c:
  2062. Change to use u_int32_t and u_int16_t.
  2063. * locale/programs/localedef.c (construct_output_path): Change name
  2064. of output locale to contain normalized form of the character set
  2065. portion.
  2066. * string/Makefile (routines): Add agrz-ctsep and argz-next.
  2067. (tests): Add tst-strlen.
  2068. * string/argz-ctsep.c: New file. Implement reverse operation
  2069. from argz-stringify.
  2070. * string/argz-next.c: Non-inline version of function from argz.h.
  2071. * string/argz.h, string/envz.h: Make usable as global header file.
  2072. * string/envz.c: Fix declarations to use size_t where prototypes
  2073. say so.
  2074. * string/tst-strlen.c: New file. Another test for critical
  2075. situation in strlen implementations.
  2076. * sysdeps/i386/i586/strlen.S: Fix bug with highest byte in word
  2077. being zero.
  2078. * wctype/test_wctype.c: Fix controlling comparison after change to
  2079. 32 bit character class array.
  2080. Fri May 3 12:53:12 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2081. * sysdeps/unix/sysv/linux/sys/socket.h: Remove spurious doubled line.
  2082. Thu May 2 22:50:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2083. * sysdeps/unix/sysv/linux/getpriority.c: New file.
  2084. * sysdeps/unix/sysv/linux/syscalls.list: Add s_getpriority.
  2085. Thu May 2 22:41:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2086. * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_DEFAULT):
  2087. Disable all exceptions.
  2088. Thu May 2 22:33:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2089. * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
  2090. sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
  2091. sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
  2092. sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
  2093. sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
  2094. sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
  2095. sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
  2096. sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
  2097. sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c: Don't
  2098. define __NO_MATH_INLINES, which is already defined on command
  2099. line.
  2100. Thu May 2 22:18:28 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2101. * sysdeps/libm-ieee754/e_j0f.c (__ieee754_j0f, __ieee754_y0f):
  2102. Replace 0x80000000 by 0x48000000.
  2103. * sysdeps/libm-ieee754/e_j1f.c (__ieee754_j1f): Likewise.
  2104. Thu May 2 21:30:33 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2105. * sunrpc/svc_simple.c: Make global variable pl local to
  2106. registerrpc.
  2107. Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2108. * time/Makefile (tz-cflags): New variable.
  2109. (CFLAGS-tzfile.c): New variable.
  2110. (CFLAGS-zic.c): Add $(tz-cflags).
  2111. (tz-cc): Remove variable.
  2112. ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets.
  2113. Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2114. * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
  2115. name, instead of checking for reaching end of buffer, which happens
  2116. when the match is the last entry in the buffer.
  2117. * time/strftime.c: Use canonical autoconf nugget for time.h+sys/time.h
  2118. include.
  2119. Mon Apr 29 02:48:26 1996 Ulrich Drepper <drepper@cygnus.com>
  2120. * ctype/ctype-info.c: (__ctype_width): New variable.
  2121. (__ctype_names): Initialize correctly without offset.
  2122. * locale/C-collate.c, locale/C-ctype.c,
  2123. locale/C-messages.c, locale/C-monetary.c,
  2124. locale/C-numeric.c, locale/C-time.c: Change copyright.
  2125. * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Correct
  2126. endianess for initialization value.
  2127. * locale/lc-ctype.c (current): Add parameter for offset.
  2128. (__ctype32_b, __ctype_width): Add initialization for these
  2129. variables.
  2130. * locale/programs/charmap.c: Finish support for WIDTH information.
  2131. (new_width): New function.
  2132. * locale/programs/charset.h (width_rule): new data structure.
  2133. (charset_t): Add elements for width information.
  2134. * locale/programs/ld-ctype.c (locale_ctype_t): Add element
  2135. for width information.
  2136. (allocate_arrays): Add new argument for charset.
  2137. (ctype_finish): Make sure all characters named in charset
  2138. width table are known to name table.
  2139. (ctype_output): Correct handling of class and map name
  2140. information and write out width information.
  2141. (find_idx): Prepare for being called with NULL pointer as
  2142. TABLE argument. This means only allocate name entry.
  2143. (allocate_arrays): Correct handling of array element -1.
  2144. Because EOF == -1 the value of element 127 must *not* be
  2145. mirrored here.
  2146. Fill width information from charset tables.
  2147. * locale/programs/localedef.c (main): Correct loop over all
  2148. categories after change of order from Thu Mar 28 14:22:51 1996.
  2149. Add new charset argument to call of `write_all_categories'.
  2150. * locale/programs/locales.h (ctype_finish, ctype_output): New
  2151. charset argument.
  2152. * locale/programs/locfile.c (write_all_categories): Call
  2153. `ctype_output' with additional argument charset.
  2154. * posix/getconf.c (vars): Add _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
  2155. and _POSIX_PRIO_IO definitions.
  2156. * posix/posix2_lim.h: Add definition of _POSIX2_CHARCLASS_NAME_MAX
  2157. and CHARCLASS_NAME_MAX.
  2158. * posix/unistd.h: Document _POSIX_SYNC_IO, _POSIX_ASYNC_IO,
  2159. and _POSIX_PRIO_IO.
  2160. * stdlib/grouping.h: Prepare for use in wide string functions.
  2161. * stdlib/stdlib.h: Correct prototypes for __strto*_internal
  2162. functions.
  2163. * stdlib/strtod.c: Extend for use as `wcsto{f,d,ld}'.
  2164. * stdlib/strtol.c: Extend for use as `wcsto{l,ul,q,uq}'.
  2165. * string/strcoll.c: Extend for use as `wcscoll'.
  2166. * string/strxfrm.c: Extend for use as `wcsxfrm'.
  2167. * sysdeps/generic/confname.h: Add definition of _PC_SYNC_IO,
  2168. _PC_ASYNC_IO, _PC_PRIO_IO and _SC_CHARCLASS_NAME_MAX.
  2169. * sysdeps/generic/stpncpy.c: Correct return value.
  2170. * sysdeps/posix/fpathconf.c: Add handling of _PC_SYNC_IO,
  2171. _PC_ASYNC_IO, and _PC_PRIO_IO.
  2172. * sysdeps/posix/sysconf.c: Add handling of _SC_REALTIME_SIGNALS,
  2173. _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
  2174. _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC,
  2175. _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
  2176. _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES,
  2177. _SC_SHARED_MEMORY_OBJECTS, and _SC_CHARCLASS_NAME_MAX.
  2178. * sysdeps/stub/sysconf.c: Ditto.
  2179. * sysdeps/unix/sysv/sysv4/sysconf.c: Ditto.
  2180. * sysdeps/unix/sysv/linux/Dist: Add sys/sysctl.h.
  2181. * sysdeps/unix/sysv/linux/Makefile [subdir == misc]
  2182. (sysdep_routines): Add s_sysctl and sysctl.
  2183. * sysdeps/unix/sysv/linux/sys/mman.h: Add declaration of mremap.
  2184. * sysdeps/unix/sysv/linux/sys/socket.h: New file. Wrapper
  2185. around kernel header.
  2186. * sysdeps/unix/sysv/linux/sys/sysctl.h: New file. Define
  2187. interface to `sysctl' function.
  2188. * sysdeps/unix/sysv/linux/syscalls.list: Add mremap and _sysctl.
  2189. * sysdeps/unix/sysv/linux/sysconf.c: Add handling of
  2190. _SC_CHARCLASS_NAME_MAX.
  2191. * sysdeps/unix/sysv/linux/sysctl.c: new file. Implement caller
  2192. of _sysctl system call.
  2193. * sysvipc/Makefile (routines): Add ftok.
  2194. * sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
  2195. David Mosberger-Tang.
  2196. * wcsmbs/Makefile (routines): Add wcpcpy, wcpncpy, wcstol,
  2197. wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
  2198. wcsxfrm, wcwidth, and wcswidth.
  2199. * wcsmbs/wchar.h: Add declarations for wcpcpy, wcpncpy, wcstol,
  2200. wcstoul, wcstoq, wcstouq, wcstod, wcstold, wcstof, wcscoll,
  2201. wcsxfrm, wcwidth, and wcswidth.
  2202. Declare internal interfaces for wcsto* functions.
  2203. [OPTIMIZE]: Define inline functions for wcsto* functions to
  2204. call internal interface functions.
  2205. * wcsmbs/wcpcpy.c, wcsmbs/wcpncpy.c: New files. Implement non-
  2206. standard function equivalent to stpcpy/stpncpy.
  2207. * wcsmbs/wcscoll.c: Implement `wcscoll' function by using
  2208. `strcoll' implementation.
  2209. * wcsmbs/wcscpy.c, wcsmbs/wcsncpy.c: Use wint_t instead of
  2210. wchar_t.
  2211. * wcsmbs/wcstod.c: Implement `wcstod' function by using `strtod'
  2212. implementation.
  2213. * wcsmbs/wcstof.c: Same for `wcstof'.
  2214. * wcsmbs/wcstold.c: Same for `strtold'.
  2215. * wcsmbs/wcstol.c: Implement `wcstol' function by using `strtol'
  2216. implementation.
  2217. * wcsmbs/wcstoq.c: Same for `wcstoq'.
  2218. * wcsmbs/wcstoul.c: Same for `wcstoul'.
  2219. * wcsmbs/wcstouq.c: Same for `wcstouq'.
  2220. * wcsmbs/wcswidth.c: Implement `wcswidth' function from X/Open
  2221. CAE.
  2222. * wcsmbs/wcwidth.c: Ditto for `wcwidth'.
  2223. * wcsmbs/wcwidth.h: Common function for definitions of above two
  2224. functions.
  2225. * wcsmbs/wcsxfrm.c: Implement `wcsxfrm function by using
  2226. `strxfrm implementation.
  2227. * wctype/wctype.c: Remove case for `wctype_t' being 16 bit type.
  2228. * wctype/wctype.h (wint_t): Protect against multiple definition.
  2229. (wctype_t): Always define as `unsigned long int'.
  2230. * wctype.h: New file. Wrapper around wctype/wctype.h.
  2231. Tue Apr 30 17:30:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2232. * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
  2233. interrupt_operation call.
  2234. (_hurdsig_interrupt_timeout): New variable.
  2235. * hurd/report-wait.c (describe_number): Correctly allocate space
  2236. in DESCRIPTION for the digits in I.
  2237. Mon Apr 29 00:11:59 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2238. * hurd/hurdstartup.c (_hurd_split_args): Function removed.
  2239. (_hurd_startup): Use argz functions.
  2240. * hurd/hurdexec.c: Use argz functions.
  2241. * errno.h [!__error_t_defined] (error_t): New type.
  2242. * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
  2243. typedef in errnos.h.
  2244. * string/envz.c, string/envz.h: New files.
  2245. * string/argz.h, string/argz-append.c, string/argz-count.c,
  2246. string/argz-create.c, string/argz-delete.c, string/argz-extract.c,
  2247. string/argz-insert.c, string/argz-stringify.c: New files.
  2248. * string/Makefile (routines): Add envz, argz-*.
  2249. (headers): Add argz.h, envz.h.
  2250. Sun Apr 28 14:14:35 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2251. * sysdeps/unix/sysv/linux/i386/Makefile: New file.
  2252. Wed Apr 24 17:35:30 Ulrich Drepper <drepper@cygnus.com>
  2253. * inet/netinet/in.h, socket/sys/socket.h: Move to
  2254. sysdeps/generic/netinet/in.h, sysdeps/generic/sys/socket.h.
  2255. * netinet/in.h, sys/socket.h: Remove file.
  2256. * misc/Makefile (routines): Add fdatasync.
  2257. * posix/Makefile (headers): Add sched.h.
  2258. (routines): Add nanosleep, sched_setp, sched_getp, sched_sets,
  2259. sched_gets, sched_yield, sched_primax, sched_primin, sched_rr_gi.
  2260. * posix/getconf.c (vars): Add entries for _POSIX_REALTIME_SIGNALS,
  2261. _POSIX_PRIORITY_SCHEDULING, _POSIX_TIMERS, _POSIX_ASYNCHRONOUS_IO,
  2262. _POSIX_PRIORITIZED_IO, _POSIX_SYNCHRONIZED_IO, _POSIX_FSYNC,
  2263. _POSIX_MAPPED_FILES, _POSIX_MEMLOCK, _POSIX_MEMLOCK_RANGE,
  2264. _POSIX_MEMORY_PROTECTION, _POSIX_MESSAGE_PASSING,
  2265. _POSIX_SEMAPHORES, _POSIX_SHARED_MEMORY_OBJECTS.
  2266. * posix/sched.h: New file. Header for POSIX scheduling interface.
  2267. * posix/unistd.h: Describe options from POSIX.4.
  2268. Add declaration of fdatasync.
  2269. * sysdeps/generic/confname.h: Add definition for
  2270. _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS,
  2271. _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO,
  2272. _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE,
  2273. _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING,
  2274. _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS.
  2275. * sysdeps/generic/fdatasync.c: New file. Default implementation
  2276. simply uses fsync.
  2277. * sysdeps/generic/netinit/in.h: Moved to here from inet/netinet/in.h.
  2278. * sysdeps/generic/schedbits.h: New file. System dependent
  2279. defintion for POSIX.4 scheduling interface.
  2280. * sysdeps/generic/sys/socket.h: Moved to here from socket/sys/socket.h.
  2281. * sysdeps/stub/nanosleep.c, sysdeps/stub/sched_getp.c,
  2282. sysdeps/stub/sched_gets.c, sysdeps/stub/sched_primax.c,
  2283. sysdeps/stub/sched_primin.c, sysdeps/stub/sched_rr_gi.c,
  2284. sysdeps/stub/sched_setp.c, sysdeps/stub/sched_sets.c,
  2285. sysdeps/stub/sched_yield.c: New file: Stub implementation
  2286. for systems missing these POSIX.4 system calls.
  2287. * sysdeps/unix/sysv/linux/gnu/types.h,
  2288. sysdeps/unix/sysv/linux/ioctls.h: Use kernel header for
  2289. data type definitions.
  2290. * sysdeps/unix/sysv/linux/netinet/in.h: New file. Linux
  2291. specific version.
  2292. * sysdeps/unix/sysv/linux/posix_opt.h: New file. Define POSIX
  2293. options applicable for Linux.
  2294. * sysdeps/unix/sysv/linux/syscalls.list: Add definitions for
  2295. fdatasync, nanosleep, sched_setparam, sched_getparam,
  2296. sched_setscheduler, sched_getscheduler, sched_yield,
  2297. sched_get_priority_max, sched_get_priority_min, and
  2298. sched_rr_get_interval.
  2299. * sysdeps/unix/sysv/linux/sysconf.c: Add handling of POSIX.4
  2300. options.
  2301. * sysdeps/unix/sysv/linux/termbits.h: Use kernel headers.
  2302. * time/sys/time.h: Remove definition of `struct timespec'.
  2303. * time/time.h (struct timespec): Move definition to here.
  2304. Fri Apr 26 01:55:07 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2305. * malloc/mcheck.c (mabort): Use __libc_fatal only #ifdef _LIBC.
  2306. Thu Apr 25 15:49:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2307. * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
  2308. the scan for a name, avoid doing another readdir (which overwrites
  2309. NENTRIES, and was resulting in a bogus ENOENT).
  2310. * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
  2311. Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2312. * stdio/internals.c (seek_to_target): Set errno if seek function
  2313. returns the wrong offset.
  2314. * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
  2315. * wcsmbs/wcrtomb.c: Likewise.
  2316. * stdio-common/vfprintf.c: Include errno.h.
  2317. Tue Apr 23 21:09:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2318. * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
  2319. variable, LUCKY, to use instead of setting D to -1 (which fouls
  2320. things up).
  2321. Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2322. * config.h.in (HAVE_REGEX): New macro.
  2323. * sysdeps/unix/syscalls.list: Add statfs, fstatfs.
  2324. * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
  2325. (routines): Add statfs, fstatfs.
  2326. * sysdeps/mach/hurd/statfs.c: New file.
  2327. * sysdeps/mach/hurd/fstatfs.c: New file.
  2328. * sysdeps/stub/fstatfs.c: New file.
  2329. * sysdeps/stub/statfs.c: New file.
  2330. * io/sys/statfs.h: New file.
  2331. * sysdeps/generic/statfsbuf.h: New file.
  2332. * sysdeps/unix/sysv/linux/statfsbuf.h: New file.
  2333. Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2334. * malloc/Makefile (gmalloc-routines): Add valloc back here.
  2335. (dist-routines): Remove it here.
  2336. * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
  2337. (ELIDE_VALLOC): Define it.
  2338. [! ELIDE_VALLOC]: Make whole file conditional on this.
  2339. * malloc/malloc.h (valloc): Make decl conditional on
  2340. [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
  2341. Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2342. * MakeTAGS: Include version.mk.
  2343. (po/SYS_libc.pot): Add missing / in sed s cmd.
  2344. Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2345. * Makerules (no-whole-archive): Test $(have-no-whole-archive), not
  2346. $(libc_cv_ld_no_whole_archive).
  2347. Sat Apr 20 17:07:17 1996 Ulrich Drepper <drepper@cygnus.com>
  2348. * assert/assert.h, ctype/ctype.h, dirent/dirent.h, errno.h,
  2349. grp/grp.h, io/fcntl.h, io/sys/stat.h, io/utime.h, locale/locale.h,
  2350. math/math.h, misc/nlist.h, misc/sgtty.h, misc/sys/file.h,
  2351. misc/sys/ioctl.h, misc/sys/uio.h, posix/sys/times.h,
  2352. posix/sys/types.h, posix/sys/utsname.h, posix/sys/wait.h,
  2353. posix/tar.h, posix/wordexp.h, pwd/pwd.h, resource/sys/vlimit.h,
  2354. resource/sys/vtimes.h, setjmp/setjmp.h, signal/signal.h,
  2355. stdio-common/printf.h, stdlib/alloca.h, stdlib/stdlib.h,
  2356. string/string.h, sysdeps/generic/sigaction.h,
  2357. sysdeps/generic/sigset.h, sysdeps/generic/sys/ptrace.h,
  2358. sysdeps/generic/sys/ptrace.h, sysdeps/unix/bsd/osf/sigaction.h,
  2359. sysdeps/unix/sysv/linux/sys/ptrace.h,
  2360. sysdeps/unix/sysv/minix/sigaction.h,
  2361. sysdeps/unix/sysv/sco3.2.4/sigaction.h,
  2362. sysdeps/unix/sysv/sysv4/sigaction.h,
  2363. sysdeps/unix/sysv/sysv4/sigset.h, termios/termios.h,
  2364. time/sys/time.h, time/time.h: Fix copyright comment.
  2365. Fri Apr 19 00:49:44 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2366. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If uids and gids are
  2367. not given in stack aux vector, fetch them with syscalls.
  2368. * stdlib/rpmatch.c (rpmatch: try): Take new arg NOMATCH, return value
  2369. for nonmatching nonerror (instead of !MATCH).
  2370. (rpmatch): Use it, so we return -1 when NOEXPR doesn't match either.
  2371. * resolv/getnetnamadr.c (getnetbyaddr): Use u_int32_t instead of
  2372. unsigned long for variable NET2.
  2373. * time/etcetera, time/europe, time/solar89: Updated from ADO's 96e.
  2374. Tue Apr 9 14:37:31 1996 Ulrich Drepper <drepper@cygnus.com>
  2375. * catgets/Makefile, catgets/catgets.c, catgets/catgetsinfo.h,
  2376. catgets/config.h, catgets/gencat.c, catgets/nl_types.h,
  2377. catgets/open_catalog.c: New files. Implementation of XPG4
  2378. compliant catgets() function and needed tools.
  2379. * Makefile (subdirs): Add catgets.
  2380. Thu Apr 18 23:36:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2381. * math/Makefile (CPPFLAGS): Append -D__NO_MATH_INLINES.
  2382. Wed Apr 10 20:48:43 1996 Ulrich Drepper <drepper@cygnus.com>
  2383. * stdio-common/vfprintf.c: Correct some typos.
  2384. * sysdeps/libm-ieee754/w_gammaf.c, sysdeps/libm-ieee754/w_lgamma.c,
  2385. sysdeps/libm-ieee754/w_lgammaf.c: Reference signgam instead of
  2386. __signgam.
  2387. Thu Apr 18 21:07:27 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
  2388. * Makerules (no-whole-archive): New variable.
  2389. (build-shlib): Use it.
  2390. * elf/Makefile (libdl.so): Use it.
  2391. * configure.in (libc_cv_ld_no_whole_archive): New check for
  2392. --no-whole-archive.
  2393. * config.make.in (have-no-whole-archive): New variable.
  2394. * stdio-common/printf_fp.c: Increase fudge factor for BIGNUM_SIZE calc
  2395. from 3 to 4.
  2396. * Make-dist: Include version.mk.
  2397. (version, release): Variables removed.
  2398. * Makeconfig (version.mk): New target.
  2399. Fri Apr 19 01:42:18 1996 Ulrich Drepper <drepper@cygnus.com>
  2400. * locale/Makefile (headers): Add langinfo.h.
  2401. (CPPFLAGS): Remove -Iliblib.
  2402. Mon Apr 15 16:49:04 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2403. * malloc/memalign.c, malloc/malloc.h [__DJGPP__ == 1]: Elide memalign
  2404. function and its declaration.
  2405. Wed Apr 10 14:13:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2406. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
  2407. MACH_PORT_DEAD in the thread reply-port variable before destroying
  2408. the signal handler's reply port, to avoid infinite recursion.
  2409. Mon Apr 8 18:27:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2410. * sysdeps/mach/gettimeofday.c (__gettimeofday): Don't fail if the
  2411. user passes in TZ, just zero it (emacs passes in a dummy variable,
  2412. and rms says the hurd should be the one to change).
  2413. Sun Apr 7 10:37:30 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2414. * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
  2415. port in the parent.
  2416. Fri Apr 5 17:43:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
  2417. * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
  2418. MACH_PORT_DEAD in the thread reply-port variable before destroying
  2419. the signal handler's reply port to avoid infinite recursion.
  2420. * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
  2421. attempt to destroy PORT if it's a valid port name.
  2422. Wed Apr 3 17:10:44 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2423. * extra-lib.mk: Put libs in $(common-objpfx) instead of $(objpfx).
  2424. * Makerules ($(install-lib) rules): Find libs with $(common-objpfx)
  2425. instead of $(objpfx).
  2426. Tue Apr 2 21:27:01 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2427. * posix/glob.c (glob_pattern_p): Avoid scanning past eos if
  2428. the pattern ends with a backslash and quoting is enabled.
  2429. * posix/fnmatch.c (fnmatch): Likewise; return FNM_NOMATCH for such
  2430. patterns.
  2431. Mon Apr 1 13:34:55 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2432. * stdio-common/tst-printf.c (main): Add new test case.
  2433. * sysdeps/generic/setenv.c (unsetenv): Use old-style definition.
  2434. Mon Apr 1 11:39:10 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2435. * stdlib/strtod.c (STRTOD): Fix handling of American style FP
  2436. numbers.
  2437. * stdio-common/vfprintf.c (vfprintf): Don't increment format
  2438. string pointer twice after seeing `*'.
  2439. Sun Mar 31 17:31:54 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2440. * MakeTAGS (po/SYS_libc.pot): Prepend header processed from
  2441. po/header.pot.
  2442. Sun Mar 31 18:07:32 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2443. * locale/Makefile (others, install-bin): Compiling locale works
  2444. again.
  2445. (locale-modules): locale has no --dump option anymore. Remove
  2446. ctypedump.
  2447. * locale/programs/config.h: Don't declare euidaccess.
  2448. Use #include_next to get libc's config.h.
  2449. * locale/programs/ctypedump.c: Not needed anymore. Dump option
  2450. of locale is removed.
  2451. * locale/programs/locale.c: Adapt for new locale implementation.
  2452. * stdio-common/_itoa.h (_itoa_word): Define as inline function.
  2453. * stdio-common/_itoa.c (_itoa_lower_digits, _itoa_upper_digits):
  2454. Don't declare static because used in _itoa_word inline function.
  2455. * stdio-common/printf-parse.h: Prepare for use in wide-char
  2456. stdio implementation.
  2457. (find_spec): Take additional argument to work with mbrlen instead
  2458. of mblen.
  2459. (parse_one_spec): Ditto.
  2460. * stdio-common/printf-prs.c: Prepare for use in wide-char
  2461. stdio implementation.
  2462. * stdio-common/printf.h: Mark change for wide-char handling.
  2463. Changing it now would result in incompatibilities.
  2464. * stdio-common/vfprintf.c: New and fast implementation.
  2465. * wcsmbs/Makefile (routines): Remove pre-ISO C multibyte functions
  2466. mbsadvance, mbscat, mbschr, mbscmp, mbscpy, mbsdup, mbslen,
  2467. mbsncat, mbsncmp, mbsncpy, mbsrchr, mbstomb.
  2468. Change wcswcs to wcsstr.
  2469. Add wmemchr, wmemcmp, wmemcpy, wmemmove, wmemset, btowc, wctob,
  2470. mbsinit, mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs.
  2471. * wcsmbs/btowc.c, wcsmbs/mbrlen.c, wcsmbs/mbrtowc.c,
  2472. wcsmbs/mbsinit.c, wcsmbs/mbsrtowcs.c, wcsmbs/wchar.h,
  2473. wcsmbs/wcrtomb.c, wcsmbs/wcsrtombs.c, wcsmbs/wcsstr.c,
  2474. wcsmbs/wctob.c, wcsmbs/wmemchr.c, wcsmbs/wmemcmp.c,
  2475. wcsmbs/wmemcpy.c, wcsmbs/wmemmove.c, wcsmbs/wmemset.c: New
  2476. function according to ISO C amendment 1.
  2477. * wchar.h: Wrapper around "wcsmbs/wchar.h".
  2478. * wcsmbs/wcscat.c, wcsmbs/wcschr.c, wcsmbs/wcscmp.c,
  2479. wcsmbs/wcscpy.c, wcsmbs/wcscspn.c, wcsmbs/wcsdup.c,
  2480. wcsmbs/wcslen.c, wcsmbs/wcsncat.c, wcsmbs/wcsncmp.c,
  2481. wcsmbs/wcsncpy.c, wcsmbs/wcspbrk.c, wcsmbs/wcsrchr.c,
  2482. wcsmbs/wcsspn.c, wcsmbs/wcstok.c: Changed to conform with ISO C
  2483. amendment 1.
  2484. * wcsmbs/mbsadvance.c, wcsmbs/mbscat.c, wcsmbs/mbschr.c,
  2485. wcsmbs/mbscmp.c, wcsmbs/mbscpy.c, wcsmbs/mbsdup.c,
  2486. wcsmbs/mbslen.c, wcsmbs/mbsncat.c, wcsmbs/mbsncmp.c,
  2487. wcsmbs/mbsncpy.c, wcsmbs/mbsrchr.c, wcsmbs/mbstomb.c,
  2488. wcsmbs/mbstr.h, wcsmbs/wcstr.h, wcsmbs/wcswcs.c: Removed.
  2489. Implement functions from early drafts, not part of final standard.
  2490. Sun Mar 31 16:50:41 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2491. * setjmp/setjmp.h (jmp_buf): Change gratuitous struct tag name to
  2492. __jmp_bug_tag so its C++ implicit typedef does not conflict with the
  2493. __jmp_buf typedef.
  2494. * Makerules (BUILD_CFLAGS) [! objdir]: Use $(..)config.h when
  2495. compiling in the source directories.
  2496. Fri Mar 29 16:26:35 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2497. * sysdeps/libm-ieee754/w_gamma.c: Use signgam instead of __signgam.
  2498. * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
  2499. Fri Mar 29 11:29:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2500. * sysdeps/libm-ieee754/s_signgam.c (signgam): Renamed to __signgam,
  2501. with weak alias signgam.
  2502. Thu Mar 28 18:32:34 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2503. * Makeconfig (+cflags, +gcc-nowarn): Use gcc flags unconditionally.
  2504. Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2505. * sunrpc/rpc_main.c (main): Call textdomain.
  2506. * MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
  2507. --no-location.
  2508. (all-pot): Replace $(subdirs) files with $P/subdirs.pot.
  2509. ($P/subdirs.pot): New target.
  2510. ($P/SYS_libc.pot): Add -n switch.
  2511. * locale/locale.h (LC_*): Values reordered to match Linux libc.
  2512. * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
  2513. the process is a zombie; send no messages and return success.
  2514. Thu Mar 28 11:53:26 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2515. * wctype/cname-lookup.h: Find localeinfo.h in ../locale.
  2516. * wctype/wctype.c: Likewise.
  2517. * wctype/wctrans.c: Likewise.
  2518. Thu Mar 28 03:00:43 1996 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  2519. * locale/nl_langinfo.c (nl_langinfo): Use DATA->values instead of
  2520. DATA->strings.
  2521. * Makerules (BUILD_CFLAGS): Remove $(common-objpfx) from config.h.
  2522. * configure.in (.weakext check): Fix asm code to use .weakext instead
  2523. of .weak! Fix bogus test calls.
  2524. * configure: Regenerated.
  2525. Thu Mar 28 03:25:10 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2526. * locale/programs/xmalloc.c: Test _LIBC as well as STDC_HEADERS.
  2527. * locale/programs/ld-collate.c (collate_finish): Use error_at_line
  2528. instead of error_with_loc.
  2529. * locale/weight.h: Use u_int32_t instead of u32_t.
  2530. * string/strxfrm.c: Likewise.
  2531. * string/strxfrm.c: Find weight.h in ../locale; don't #include
  2532. "localeinfo.h".
  2533. * string/strcoll.c: Likewise.
  2534. * intl/Makefile (copysrc): Add missing > in sed cmd.
  2535. Sat Mar 23 17:52:49 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2536. * Makeconfig: Rename Makefile variable nlsdir to i18ndir and
  2537. change value to $(datadir)/i18n. `nls' is not an appropriate
  2538. name.
  2539. * Makefile (subdirs): Add new subdir wctype.
  2540. * ctype/ctype-info.c: Add new global variable __ctype_names
  2541. and initialize from _nl_C_LC_CTYPE.
  2542. * ctype/ctype.h: In P1003.3b/D11 `alnum' is a separate character
  2543. class. Use bit 11.
  2544. [_ISbit]: Protect definition of bitmasks because they are also
  2545. used in wctype.h.
  2546. * libio/genops.c (_IO_sputbackc, _IO_sungetc): Clear EOF flag
  2547. after successfully pushing back a character.
  2548. Fundamental changes in locale implementation. Almost nothing
  2549. from the old code is used anymore.
  2550. * locale/charmap.c, locale/collate.c, locale/config.h,
  2551. locale/ctypedump.c, locale/hash.h, locale/keyword.gperf,
  2552. locale/keyword.h, locale/loadlocale.c, locale/locale-ctype.c,
  2553. locale/locale.c locale/localeconv.c, locale/localedef.c,
  2554. locale/localedef.h, locale/locfile-hash.c, locale/locfile-lex.c,
  2555. locale/locfile-parse.c, locale/messages.c, locale/monetary.c,
  2556. locale/numeric.c, locale/setlocale.c, locale/token.h,
  2557. locale/xmalloc.c: Removed.
  2558. * locale/Makefile: Update for new locale implementation with
  2559. program source code distributed in subdir.
  2560. * locale/categories.def, locale/iso-4217.def: Updated file
  2561. for new locale implementation.
  2562. * locale/langinfo.h: Updated for new locale implementation.
  2563. (ERA_D_T_FMT, ERA_T_FMT): New official values according to
  2564. P1003.2b/D11.
  2565. (_NL_COLLATE_NRULES, _NL_COLLATE_RULES, _NL_COLLATE_HASH_SIZE,
  2566. _NL_COLLATE_HASH_LAYERS, _NL_COLLATE_TABLE_EB,
  2567. _NL_COLLATE_TABLE_EL, _NL_COLLATE_UNDEFINED, _NL_COLLATE_EXTRA_EB,
  2568. _NL_COLLATE_EXTRA_EL, _NL_CTYPE_NAMES_EB, _NL_CTYPE_NAMES_EL,
  2569. _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS, _NL_CTYPE_CLASS_NAMES,
  2570. _NL_CTYPE_MAP_NAMES, _NL_CTYPE_WIDTH): New internal values for
  2571. extended LC_CTYPE and LC_COLLATE implementation.
  2572. * locale/programs/simple-hash.c, locale/programs/simple-hash.h,
  2573. locale/programs/xmalloc.c, locale/programs/xstrdup.c: Helper functions
  2574. for locale related programs.
  2575. * locale/C-collate.c, locale/C-ctype.c,
  2576. locale/C-messages.c, locale/C-monetary.c,
  2577. locale/C-numeric.c, locale/C-time.c,
  2578. locale/lc-collate.c, locale/lc-ctype.c,
  2579. locale/lc-messages.c, locale/lc-monetary.c,
  2580. locale/lc-numeric.c, locale/lc-time.c: New implementation of locale
  2581. functions, and new generated "C" locale data.
  2582. * locale/loadlocale.c: Now handles word fields in locale binary
  2583. automatically by changing the endianess if necessary.
  2584. * locale/localeinfo.h (LIMAGIC): Changed magic number because
  2585. of incompatible changes.
  2586. (locale_data): Changed definition to allow word as a value type.
  2587. (coll_sort_rule): Values for collation sorting mode.
  2588. (_NL_CURRENT_WORD): New macro to access word value of locale entry.
  2589. (__collate_table, __collate_extra): Declare new global variables
  2590. for collation tables.
  2591. * locale/programs/charmap-kw.gperf, locale/programs/charmap-kw.h,
  2592. locale/programs/charmap.c, locale/programs/charset.c,
  2593. locale/programs/charset.h, locale/programs/config.h,
  2594. locale/programs/ctypedump.c, locale/programs/ld-collate.c,
  2595. locale/programs/ld-ctype.c, locale/programs/ld-messages.c,
  2596. locale/programs/ld-monetary.c, locale/programs/ld-numeric.c,
  2597. locale/programs/ld-time.c, locale/programs/linereader.c,
  2598. locale/programs/linereader.h, locale/programs/locale.c,
  2599. locale/programs/localedef.c, locale/programs/locales.h,
  2600. locale/programs/locfile-kw.gperf, locale/programs/locfile-kw.h,
  2601. locale/programs/locfile-token.h, locale/programs/locfile.c,
  2602. locale/programs/locfile.h, locale/programs/stringtrans.c,
  2603. locale/programs/stringtrans.h: Implementation of locale related
  2604. programs.
  2605. * locale/weight.h: Functions to access collation tables.
  2606. * posix/unistd.h: Define _POSIX2_LOCALEDEF.
  2607. * stdio-common/printf_fp.c: Fix bug with printing certain numbers
  2608. < 10^-1. Reported by Bill Metzenthen.
  2609. * stdio-common/tfformat.c: Add new test for above bug.
  2610. * string/strcoll.c, string/strxfrm.c: Real implementation of
  2611. string collation according to ISO C.
  2612. * wctype/Makefile, wctype/cname-lookup.h, wctype/iswctype.c,
  2613. wctype/test_wctype.c, wctype/towctrans.c, wctype/wcfuncs.c,
  2614. wctype/wctrans.c, wctype/wctype.c, wctype/wctype.h: New files.
  2615. Implementation of wide character classes and mapping.
  2616. Wed Mar 27 14:52:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2617. * elf/rtld.c (dl_main): Call _dl_sysdep_start_cleanup after
  2618. _dl_relocate_object loop. Avoid relocating RTLD_MAP in that loop, and
  2619. do it individually if necessary after _dl_sysdep_start_cleanup call.
  2620. * stdlib/Makefile (mpn-routines): Add divrem.
  2621. Tue Mar 26 22:54:14 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2622. * stdio-common/printf_fp.c (__printf_fp): Use mpn_divmod
  2623. instead of __mpn_divmod.
  2624. Wed Mar 27 10:26:21 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2625. * sysdeps/alpha/setjmp.S: Must establish global pointer before
  2626. address of __sigsetjmp_aux can be loaded.
  2627. Wed Mar 27 02:23:19 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2628. * sysdeps/i386/i586/memset.S: New file. Highly optimized
  2629. version for i586 contributed by Torbjorn Granlund.
  2630. Adapted for use as bzero.
  2631. * sysdeps/i386/i586/bzero.S: Use sysdeps/i386/i586/memset.S
  2632. code to implement bzero().
  2633. Tue Mar 26 20:01:17 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2634. * stdlib/Makefile (mpn-routines): Remove divmod.
  2635. Tue Mar 26 15:40:14 1996 Brendan Kehoe <brendan@zen.org>
  2636. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (NO_UNDERSCORES): Use
  2637. wrapped with #ifndef, to avoid config.h defining it.
  2638. Mon Mar 25 13:10:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2639. * malloc/realloc.c (_realloc_internal): In case of growing large
  2640. block, leave _heaplimit zero across _malloc_internal call.
  2641. * intl/Makefile [gettext-srcdir]: Use gpl2lgpl.sed on copied sources.
  2642. Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2643. * malloc/malloc.c (morecore): Don't attempt recursive realloc of info
  2644. table when _heaplimit==0 during realloc growing large block.
  2645. * MakeTAGS (extract): Remove /dev/null from xgettext command line.
  2646. (text-srcs): New variable: extract only C sources from $(tags_sources).
  2647. (po/$(domain).pot): Depend on that.
  2648. If it's empty, cp /dev/null $@ instead of $(extract).
  2649. * misc/Makefile (headers): Add iovec.h.
  2650. * sysdeps/unix/sysv/linux/iovec.h: New file.
  2651. * sysdeps/generic/iovec.h: New file.
  2652. * misc/sys/uio.h (struct iovec): Type replaced with #include <iovec.h>.
  2653. * configure.in (NO_UNDERSCORES check): Use AC_TRY_LINK instead of
  2654. AC_TRY_COMPILE.
  2655. * misc/sys/cdefs.h [__USE_BSD] (const, signed, volatile): Move these
  2656. macros inside [! __STDC__].
  2657. * stdlib/rpmatch.c: New file.
  2658. * stdlib/Makefile (routines): Add rpmatch.
  2659. * stdlib/stdlib.h [__USE_SVID]: Declare rpmatch.
  2660. * MakeTAGS (MSGJOIN): Variable removed.
  2661. (po/SYS_libc.pot): Use $(XGETTEXT) instead of $(MSGJOIN).
  2662. Wed Mar 20 20:08:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2663. * sysdeps/unix/sysdep.h: Don't define C_SYMBOL_NAME.
  2664. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't define
  2665. NO_UNDERSCORES.
  2666. Thu Mar 21 11:19:15 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2667. * mach/devstream.c (input): Translate \r to \n on input.
  2668. Wed Mar 20 11:28:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2669. * stdio-common/printf.h, stdio-common/printf_fp.c,
  2670. stdio-common/vfprintf.c: Place const in parameter list at
  2671. correct place.
  2672. Wed Mar 20 23:58.12 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  2673. * sysdeps/i386/ldbl2mpn.c: Copy of former version of
  2674. sysdeps/ieee754/ldbl2mpn.c.
  2675. * sysdeps/ieee754/ldbl2mpn.c: Remove i386 specific unification.
  2676. Reported by Andreas Schwab.
  2677. Wed Mar 20 19:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2678. * version.c: Include version.h to define RELEASE and VERSION macros.
  2679. (__libc_release, __libc_version): Use them.
  2680. * locale/SYS_libc.c (_libc_intl_domainname): Include ../version.h and
  2681. use VERSION to define domainname as `SYS_GNU_libc-VERSION'.
  2682. * Make-dist (rel+vers): Snarf the macro values from version.h.
  2683. * MakeTAGS (extract): Pass $(XGETTEXTFLAGS-$(@F)).
  2684. (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): New variables;
  2685. pass -a for these files.
  2686. * Makerules (po/%.pot): Depend on FORCE target so recursive make is
  2687. always run.
  2688. Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2689. * sysdeps/unix/sysv/linux/wait3.c: New file.
  2690. * sysdeps/unix/sysv/linux/wait.c: Use the bsd4.4 wait, not the
  2691. one from sysdeps/posix.
  2692. Wed Mar 20 09:42:11 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2693. * sysdeps/unix/bsd/waitflags.h (WNOREAP): New macro.
  2694. * elf/dl-load.c (_dl_map_object_from_fd): Always set L->l_type; if not
  2695. lt_executable, then lt_library.
  2696. * elf/rtld.c (dl_main): Don't set NEW->l_type after _dl_map_object.
  2697. Wed Mar 20 00:08:23 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2698. * sysdeps/unix/sysv/linux/syscalls.list: Remove gtty and stty.
  2699. Tue Mar 19 16:31:06 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2700. * sysdeps/unix/sysv/linux/termbits.h (CRTSCTS, CBAUDEX, VEOL,
  2701. VEOL2, VMIN, VTIME): Corrected.
  2702. (PAGEOUT, WRAP, VDSUSP): Deleted.
  2703. Tue Mar 19 14:18:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2704. * sysdeps/unix/readdir.c: Test [! _DIRENT_HAVE_D_RECLEN] instead of
  2705. (sizeof (DP->d_name) > 1) to detect fixed-size dir entries.
  2706. * sysdeps/i386/fpu/__math.h (asinh): Call log1p instead of __log1p.
  2707. * math/math.h: Move M_* constants before __math.h include.
  2708. [__NO_MATH_INLINES || __OPTIMIZE__]: Include __math.h only #if this.
  2709. * misc/efgcvt_r.c (ecvt_r): Declare floor, log10, fabs as weak extern.
  2710. If log10 is not defined (i.e. no -lm), use stupid loop instead.
  2711. * features.h (__FAVOR_BSD): Define only if _BSD_SOURCE is defined
  2712. and no other _*_SOURCE macro is.
  2713. (_GNU_SOURCE): Don't define by default.
  2714. * libc-symbols.h (_GNU_SOURCE): Define it.
  2715. * configure.in (alpha*-*-linux*): Unset $gnu_ld and $elf.
  2716. * config.make.in (weak-symbols): Variable removed.
  2717. * configure.in (--with-weak-symbols): Option removed.
  2718. (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
  2719. New tests.
  2720. * config.h.in (HAVE_WEAK_SYMBOLS): #undef removed.
  2721. (NO_UNDERSCORES, HAVE_ASM_WEAK_DIRECTIVE, HAVE_ASM_WEAKEXT_DIRECTIVE):
  2722. New #undefs.
  2723. * libc-symbols.h: Use them instead of HAVE_WEAK_SYMBOLS.
  2724. * sysdeps/unix/bsd/pause.c: Moved to sysdeps/unix/common/pause.c.
  2725. Mon Mar 4 20:17:28 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2726. * inet/inet_lnaof.c: Use u_int32_t instead of u_long.
  2727. * inet/inet_mkadr.c: Likewise.
  2728. * inet/inet_net.c: Likewise.
  2729. * inet/inet_netof.c: Likewise.
  2730. * inet/rcmd.c: Likewise.
  2731. * inet/arpa/inet.h: Likewise.
  2732. * inet/netinet/in.h: Likewise.
  2733. * inet/netinet/tcp.h: Likewise.
  2734. * inet/protocols/rwhod.h: Likewise.
  2735. * inet/protocols/talkd.h: Likewise.
  2736. * resolv/inet_addr.c: Likewise.
  2737. * sysdeps/unix/sysv/linux/adjtime.c: Use INT_MAX instead of LONG_MAX.
  2738. * sysdeps/unix/sysv/Makefile (sysdep_routines): Don't add s_getdents.
  2739. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add mount,
  2740. umount.
  2741. * sysdeps/alpha/__math.h (atan, cabs): New functions.
  2742. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: new file (syscall
  2743. expects set-value, not pointer to it).
  2744. Sun Feb 25 22:36:10 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2745. * sysdeps/unix/sysv/linux/alpha/profil-counter.h: New file.
  2746. * gmon/gmon.c (__bb_head): new variable.
  2747. (write_hist, write_call_graph, write_bb_counts): new functions.
  2748. (_mcleanup): modified to call above functions instead of directly
  2749. writing out gmon.out.
  2750. * gmon/sys/gmon.h (struct __bb): New type.
  2751. (struct gmonhdr): Type removed.
  2752. (struct gmonparam): New member `log_hashfraction'.
  2753. (GMONVERSION): Macro removed.
  2754. * gmon/sys/gmon_out.h, gmon/bb_exit_func.c,
  2755. sysdeps/generic/bb_init_func.c, sysdeps/alpha/bb_init_func.S: new
  2756. files.
  2757. * gmon/Makefile (headers): Add sys/gmon_out.h.
  2758. (routines): Add bb_init_func, bb_exit_func.
  2759. * gmon/mcount.c: Avoid integer division.
  2760. Wed Feb 21 23:56:41 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2761. * sysdeps/alpha/setjmp.S: switched order in which sp and fp are
  2762. passed to match what __sigsetjmp_aux() expects.
  2763. Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2764. * sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
  2765. connect, getpeername, getsockname, listen, recv, recvfrom,
  2766. recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
  2767. added to override same-name assembly file in the parent directory.
  2768. * stdlib/stdlib.h: add include of sys/types.h in front of random
  2769. etc declarations to ensure int32_t is declared.
  2770. * stdlib/random.c, stdlib/random_r.c: replaced "long int" by int32_t
  2771. where 32 bit integers are required. Also change LONG_MAX into
  2772. 0x7fffffff since the intent is to turn off the sign bit in a
  2773. 32 bit integer.
  2774. * time/offtime.c (__offtime): Use Paul Eggert's code to deal
  2775. with very large values for "days" (e.g., 64 bit values).
  2776. Mon Feb 19 22:22:12 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2777. * stdlib/stdlib.h (__random, __random_r, random_r, struct
  2778. random_data): use int32_t instead of `long int'.
  2779. Sat Feb 17 11:29:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2780. * sysdeps/unix/sysv/linux/alpha/ioperm.c: new file.
  2781. * sysdeps/alpha/ffs.S: new file.
  2782. * sysdeps/alpha/fabs.c: File removed.
  2783. * time/tzfile.c (__tzfile_read): counter variable is i, *not*
  2784. num_transitions!
  2785. * time/offtime.c: make capable of dealing with very large (64 bit)
  2786. time_t values. Use old algorithm until a year is reached that
  2787. is an integer multiple of 400, then use DAYS_PER_400_YEARS to
  2788. do the remainder in a single division.
  2789. * sysdeps/generic/ffs.c (ffs): fix variable declarations to
  2790. be unsigned int, not unsigned long.
  2791. * string/test-ffs.c (main): add test case with all upper bits
  2792. set.
  2793. * stdlib/tst-strtol.c: add tests cases for machines where
  2794. sizeof(long)==8.
  2795. * stdlib/testrand.c (main): disallow rand() to return negative
  2796. integers.
  2797. * stdlib/testmb.c (main): fix format to use %lx instead of %x.
  2798. * stdlib/stdlib.h: on 64 bit machines, declare
  2799. struct random_data, __random(), __random_r, and random_r to
  2800. return "int" instead of "long int".
  2801. * stdlib/random_r.c: 64 bit machines use "int" instead of "long
  2802. int". Similarly, use INT_MAX instead of LONG_MAX.
  2803. * stdlib/random.c: on 64 bit machines, randtbl[] and __random[]
  2804. need to operate on "int" instead of "long int".
  2805. * locale/locfile-hash.c (compute_hashval): make shifted constant
  2806. a long to avoid loosing bits on 64 bit machines.
  2807. * dirent/tst-seekdir.c (main): fix confusing comment; print
  2808. a line to mark point where directory is rewound.
  2809. Fri Feb 16 15:01:49 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2810. * time/strftime.c (strftime): any hour > 11 is PM (not > 12!).
  2811. Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2812. * sysdeps/unix/sysv/linux/alpha/Makefile,
  2813. sysdeps/unix/sysv/linux/alpha/brk.S,
  2814. sysdeps/unix/sysv/linux/alpha/fpu_control.c,
  2815. sysdeps/unix/sysv/linux/alpha/fpu_control.h,
  2816. sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
  2817. sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
  2818. sysdeps/unix/sysv/linux/alpha/pipe.S,
  2819. sysdeps/unix/sysv/linux/alpha/setfpucw.c,
  2820. sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
  2821. sysdeps/unix/sysv/linux/alpha/speed.c,
  2822. sysdeps/unix/sysv/linux/alpha/start.S,
  2823. sysdeps/unix/sysv/linux/alpha/syscall.S,
  2824. sysdeps/unix/sysv/linux/alpha/syscalls.list,
  2825. sysdeps/unix/sysv/linux/alpha/alpha/regdef.h,
  2826. sysdeps/unix/sysv/linux/alpha/sysdep.S,
  2827. sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
  2828. * sysdeps/alpha/setjmp_aux.c (__sigsetjmp_aux): restore return
  2829. address register before returning (gcc 2.7.1 doesn't do it,
  2830. presumably because $26 is declared as a global variable).
  2831. * sysdeps/unix/sysv/linux/sys/mman.h: msync was missing "flags"
  2832. argument.
  2833. * sysdeps/unix/alarm.c (alarm): do roundup using test & increment
  2834. instead of multiplication.
  2835. * sysdeps/posix/sleep.c (sleep): initialize sa_mask to mask of
  2836. currently blocked signals instead of the empty mask to ensure
  2837. that execution of alarm handler occurs with none of the currently
  2838. blocked signals enabled.
  2839. * sysdeps/unix/alpha/sysdep.h: new file (adapted from OSF/1 version).
  2840. * sysdeps/unix/bsd/osf/alpha/sysdep.h: include
  2841. sysdeps/unix/alpha/sysdep.h and removed definitions now in that file.
  2842. * sysdeps/alpha/divrem.S, sysdeps/alpha/htonl.S,
  2843. sysdeps/alpha/htons.S, sysdeps/alpha/machine-gmon.h,
  2844. sysdeps/alpha/_mcount.S, sysdeps/alpha/ntohl.s, sysdeps/alpha/ntohs.s,
  2845. sysdeps/alpha/strlen.S: New files.
  2846. * sysdeps/alpha/divl.S, sysdeps/alpha/divlu.S, sysdeps/alpha/divq.S,
  2847. sysdeps/alpha/divqu.S, sysdeps/alpha/divrem.m4,
  2848. sysdeps/alpha/macros.m4, sysdeps/alpha/reml.S, sysdeps/alpha/remlu.S,
  2849. sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S, sysdeps/alpha/strlen.c:
  2850. Removed.
  2851. * sysdeps/generic/sbrk.c (__sbrk): argument is of type ptrdiff_t, not
  2852. int.
  2853. * sysdeps/alpha/__longjmp.c (__longjmp): moved dummy while loop
  2854. to end of function to avoid a jump across NOPs.
  2855. * sysdeps/alpha/Makefile (sysdep_routines): Removed all rules
  2856. pertaining to integer division/remainder routines since new code
  2857. doesn't require them.
  2858. * sunrpc/xdr_mem.c, sunrpc/xdr_stdio.c: Use 4 instead of sizeof(long)
  2859. where 32 bit quantities are consumed/stored. Various other minor
  2860. 64-bit cleanups (casting).
  2861. * sunrpc/xdr.c (xdr_int): test for sizeof(int)==4 to determine
  2862. whether xdr_long or xdr_short should be used to encode an int.
  2863. Notice that an xdr_long is 4 bytes independent of the architecture
  2864. (otherwise no Alpha could interoperate with existing NFS servers,
  2865. for example). Ditto for enums.
  2866. * sunrpc/svc_udp.c (svcudp_recv): changed test from 4*sizeof(u_long)
  2867. to 16 since it really wants 16 bytes.
  2868. * sunrpc/svc.c (maskp): changed from u_long* to u_int32*.
  2869. * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): change casts to
  2870. u_int32_t (instead of u_long).
  2871. * sunrpc/rpc_cmsg.c (xdr_callmsg), sunrpc/svc_authux.c: increment
  2872. "buf" pointer by casting it to a char* first since a long* may be 8
  2873. bytes or more and oa->oa_length may be any multiple of 4.
  2874. * sunrpc/clnt_udp.c (clntudp_call): replaced sizeof(u_long) by 4
  2875. since it really is testing for 32 bits. Fixed casts to use
  2876. u_int32 instead of u_long.
  2877. * sunrpc/xdr_rec.c: Likewise.
  2878. * sunrpc/clnt_tcp.c (clnttcp_call): replaced u_long by u_int32.
  2879. * sunrpc/rpc/auth.h: Likewise.
  2880. * limits.h (LONG_MAX, LONG_MIN, ULONG_MAX): use 64 bit values
  2881. for Alpha.
  2882. Tue Mar 19 13:27:49 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2883. * sysdeps/i386/fpu/__math.h: New file.
  2884. Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>.
  2885. Sun Mar 17 00:28:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2886. * sysdeps/posix/clock.c: Don't multiply the return value by
  2887. CLOCKS_PER_SEC or CLK_TCK.
  2888. Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2889. * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
  2890. scan finds no match.
  2891. * posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
  2892. * misc/bsd-compat.c (setpgrp): New function, two arg version.
  2893. * sysdeps/stub/setpgid.c: Remove setpgrp alias.
  2894. * sysdeps/mach/hurd/setpgid.c: Likewise.
  2895. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
  2896. * sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
  2897. * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
  2898. * sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
  2899. * posix/setpgrp.c (setpgrp): New file.
  2900. * posix/Makefile (routines): Add setpgrp.
  2901. * elf/Makefile (rtld-link): New canned sequence.
  2902. (ld.so, ld-linux.so.1): Use it. Pass -soname option.
  2903. * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point.
  2904. Sun Mar 17 23:15:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2905. * sysdeps/unix/sysv/linux/tcgetpgrp.c,
  2906. sysdeps/unix/sysv/linux/tcsetpgrp.c: New files.
  2907. Sun Mar 17 07:19:33 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2908. * db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
  2909. (CFLAGS): Append -Wno-unitialized.
  2910. Sat Mar 16 20:58:43 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2911. * stdlib/erand48_r.c: Use FP division by powers of two to distribute
  2912. short bits into double.
  2913. Sat Mar 16 20:08:22 1996 David Mosberger-Tang <davidm@azstarnet.com>
  2914. * sysdeps/alpha/memchr.S: New file.
  2915. * sysdeps/alpha/memchr.c: Obsolete file removed.
  2916. * string/tester.c: Soup up memchr tests.
  2917. Sat Mar 16 16:26:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2918. * misc/Makefile (headers): Add sysexits.h.
  2919. * misc/sysexits.h: New file.
  2920. Thu Mar 14 15:20:45 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2921. * sysdeps/libm-ieee754/e_atan2.c (__ieee754_atan2): Change atan
  2922. call to __atan.
  2923. * sysdeps/libm-ieee754/e_atan2f.c (__ieee754_atan2f): Change atanf
  2924. call to __atanf.
  2925. * sysdeps/m68k/fpu/e_acos.c, sysdeps/m68k/fpu/e_acosf.c,
  2926. sysdeps/m68k/fpu/e_asin.c, sysdeps/m68k/fpu/e_asinf.c,
  2927. sysdeps/m68k/fpu/e_atanh.c, sysdeps/m68k/fpu/e_atanhf.c,
  2928. sysdeps/m68k/fpu/e_cosh.c, sysdeps/m68k/fpu/e_coshf.c,
  2929. sysdeps/m68k/fpu/e_exp.c, sysdeps/m68k/fpu/e_expf.c,
  2930. sysdeps/m68k/fpu/e_fmod.c, sysdeps/m68k/fpu/e_fmodf.c,
  2931. sysdeps/m68k/fpu/e_log.c, sysdeps/m68k/fpu/e_log10.c,
  2932. sysdeps/m68k/fpu/e_log10f.c, sysdeps/m68k/fpu/e_logf.c,
  2933. sysdeps/m68k/fpu/e_pow.c, sysdeps/m68k/fpu/e_powf.c,
  2934. sysdeps/m68k/fpu/e_remainder.c, sysdeps/m68k/fpu/e_remainderf.c,
  2935. sysdeps/m68k/fpu/e_scalb.c, sysdeps/m68k/fpu/e_scalbf.c,
  2936. sysdeps/m68k/fpu/e_sinh.c, sysdeps/m68k/fpu/e_sinhf.c,
  2937. sysdeps/m68k/fpu/e_sqrt.c, sysdeps/m68k/fpu/e_sqrtf.c,
  2938. sysdeps/m68k/fpu/k_cos.c, sysdeps/m68k/fpu/k_cosf.c,
  2939. sysdeps/m68k/fpu/k_sin.c, sysdeps/m68k/fpu/k_sinf.c,
  2940. sysdeps/m68k/fpu/k_tan.c, sysdeps/m68k/fpu/k_tanf.c,
  2941. sysdeps/m68k/fpu/s_atan.c, sysdeps/m68k/fpu/s_atanf.c,
  2942. sysdeps/m68k/fpu/s_ceil.c, sysdeps/m68k/fpu/s_ceilf.c,
  2943. sysdeps/m68k/fpu/s_cos.c, sysdeps/m68k/fpu/s_cosf.c,
  2944. sysdeps/m68k/fpu/s_expm1.c, sysdeps/m68k/fpu/s_expm1f.c,
  2945. sysdeps/m68k/fpu/s_fabs.c, sysdeps/m68k/fpu/s_fabsf.c,
  2946. sysdeps/m68k/fpu/s_finite.c, sysdeps/m68k/fpu/s_finitef.c,
  2947. sysdeps/m68k/fpu/s_floor.c, sysdeps/m68k/fpu/s_floorf.c,
  2948. sysdeps/m68k/fpu/s_frexp.c, sysdeps/m68k/fpu/s_frexpf.c,
  2949. sysdeps/m68k/fpu/s_ilogb.c, sysdeps/m68k/fpu/s_ilogbf.c,
  2950. sysdeps/m68k/fpu/s_isinf.c, sysdeps/m68k/fpu/s_isinff.c,
  2951. sysdeps/m68k/fpu/s_isnan.c, sysdeps/m68k/fpu/s_isnanf.c,
  2952. sysdeps/m68k/fpu/s_ldexp.c, sysdeps/m68k/fpu/s_ldexpf.c,
  2953. sysdeps/m68k/fpu/s_log1p.c, sysdeps/m68k/fpu/s_log1pf.c,
  2954. sysdeps/m68k/fpu/s_logb.c, sysdeps/m68k/fpu/s_logbf.c,
  2955. sysdeps/m68k/fpu/s_modf.c, sysdeps/m68k/fpu/s_modff.c,
  2956. sysdeps/m68k/fpu/s_rint.c, sysdeps/m68k/fpu/s_rintf.c,
  2957. sysdeps/m68k/fpu/s_scalbn.c, sysdeps/m68k/fpu/s_scalbnf.c,
  2958. sysdeps/m68k/fpu/s_significand.c,
  2959. sysdeps/m68k/fpu/s_significandf.c, sysdeps/m68k/fpu/s_sin.c,
  2960. sysdeps/m68k/fpu/s_sinf.c, sysdeps/m68k/fpu/s_tan.c,
  2961. sysdeps/m68k/fpu/s_tanf.c, sysdeps/m68k/fpu/s_tanh.c,
  2962. sysdeps/m68k/fpu/s_tanhf.c: New files, for m68881 port of fdlibm.
  2963. * sysdeps/m68k/fpu/__math.h: Rewritten for fdlibm.
  2964. * sysdeps/m68k/fpu/isinfl.c: Rewritten to get argument type right.
  2965. * sysdeps/m68k/fpu/isnanl.c: Likewise.
  2966. Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2967. * posix/glob.c (glob): In GLOB_BRACE brace expansion, fix buffer size
  2968. calculation to include trailing invariant portion. Don't use alloca;
  2969. instead use a dynamic auto array for GCC, malloc for non-GCC.
  2970. Handle nested braces properly.
  2971. * elf/elf.h (Elf32_auxv_t): Specify prototype (void) for `a_un.a_fcn'.
  2972. * libc-symbols.h (lint): New macro.
  2973. Fri Mar 15 01:18:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2974. * libio/iosetvbuf.c: Add weak alias setvbuf.
  2975. Thu Mar 14 06:01:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2976. * string/strnlen.c: New file.
  2977. * string/Makefile (routines): Add strnlen.
  2978. * string/string.h [__USE_GNU] (strnlen): Declare new function.
  2979. [__OPTIMIZE__]: Define extern inline implementation of it.
  2980. * stdlib/erand48_r.c: Use __mpn_construct_double instead of ldexp and
  2981. addition, to avoid using anything from -lm.
  2982. Mon Mar 4 21:57:14 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  2983. * sysdeps/unix/sysv/linux/m68k/Makefile: New file.
  2984. * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYS_ify): Redefine.
  2985. (CALL_MCOUNT): New macro, empty unless [PROF].
  2986. (ENTRY): Do CALL_MCOUNT just after the label.
  2987. (JUMPTARGET): New macro.
  2988. (SYSCALL_ERROR_HANDLER): Fix syntax.
  2989. Thu Mar 14 04:20:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2990. * sysdeps/unix/sysv/linux/init-first.c (init): Call `__personality'
  2991. function instead of using inline asm i386 syscall.
  2992. * sysdeps/unix/sysv/linux/syscalls.list: Add personality syscall.
  2993. * posix/unistd.h [__USE_BSD]: Declare usleep.
  2994. Tue Mar 12 04:57:57 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  2995. * misc/efgcvt.c (MAXDIG): New macro computed from <floats.h> constants.
  2996. (fcvt, ecvt): Use it for buffer size.
  2997. * stdlib/drand48-iter.c (__drand48_iterate): Use u_int64_t instead of
  2998. conditionalizing long vs long long.
  2999. * stdlib/drand48-iter.c (__drand48_iterate): Don't check for null
  3000. pointers; never return EFAULT.
  3001. * stdlib/drand48_r.c (drand48_r): Likewise.
  3002. * stdlib/erand48_r.c (erand48_r): Likewise.
  3003. * setjmp/Makefile (tests): Add jmpbug.
  3004. * setjmp/jmpbug.c: New file.
  3005. Tue Mar 12 04:42:01 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3006. * sysdeps/sparc/jmp_buf.h: Rewritten; use array of ints, not struct.
  3007. * sysdeps/sparc/setjmp.S: Rewritten; store %fp value as well.
  3008. * sysdeps/sparc/__longjmp.S: Rewritten; unwind frames one by one with
  3009. `restore' until the target frame is hit.
  3010. Sun Mar 10 20:29:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3011. * sysdeps/unix/sysv/linux/sigsuspend.c: New file.
  3012. * sysdeps/unix/sysv/linux/syscalls.list: Remove sigsuspend, add
  3013. s_sigsuspend.
  3014. Thu Mar 7 21:30:58 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3015. * Makerules (+make-deps, sed-remove-objpfx): Quote periods on the
  3016. left side of sed substitutions.
  3017. Sun Mar 10 16:58:10 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  3018. * stdio-common/printf_fp.c (hack_digit): __mpn_normal_size
  3019. is not available anymore. Do it ourselves.
  3020. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_SETCW):
  3021. Correct GCC `asm' syntax.
  3022. Tue Mar 12 03:15:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3023. * stdio-common/Makefile (tests): Add tst-ungetc.
  3024. * stdio-common/tst-ungetc.c: New test from drepper.
  3025. * stdio-common/tstscanf.c (main): New %[ test case from drepper.
  3026. * sysdeps/libm-ieee754/s_scalbn.c (scalbn): Rename to __scalbn;
  3027. somehow this was missed, though the weak alias is already there.
  3028. * sysdeps/unix/sysv/linux/i386/fpu_control.h (_FPU_DEFAULT): Change
  3029. default to double precision, all interrupts masked; fdlibm requires.
  3030. Sat Mar 9 18:44:27 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3031. * sysdeps/unix/sysv/linux/i386/setfpucw.c: Obsolete file removed.
  3032. Fri Mar 8 22:16:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3033. * stdio-common/printf_fp.c (HAVE_ALLOCA): New macro.
  3034. Tue Mar 5 18:45:14 1996 Miles Bader <miles@gnu.ai.mit.edu>
  3035. * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
  3036. final loop.
  3037. Mon Mar 4 20:54:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3038. * Makeconfig ($(common-objpfx)config.make): Depend on config.h.in.
  3039. Tue Mar 5 12:14:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
  3040. * sysdeps/mach/hurd/select.c (__select): Also don't fault just
  3041. because some fdmask is 0.
  3042. Mon Mar 4 17:35:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
  3043. * sysdeps/mach/hurd/select.c (__select):
  3044. Don't increment GOT only because READ/WRITE/EXCEPTFDS is 0!
  3045. Don't return without frobbing the bitmasks after a timeout.
  3046. When clearing the bitmasks, only loop from FIRSTFD to LASTFD.
  3047. Mon Mar 4 17:35:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3048. * hurd/catch-signal.c (hurd_safe_memmove): New function.
  3049. (hurd_safe_copyin, hurd_safe_copyout): New functions.
  3050. * hurd/hurd/sigpreempt.h: Declare them.
  3051. Sun Mar 3 08:43:44 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3052. Replace math code with fdlibm from Sun as modified for netbsd by
  3053. JT Conklin and Ian Taylor, including x86 FPU support.
  3054. * sysdeps/libm-ieee754, sysdeps/libm-i387: New directories.
  3055. * math/math_private.h: New file.
  3056. * sysdeps/i386/fpu/Implies: New file.
  3057. * sysdeps/ieee754/Implies: New file.
  3058. * math/machine/asm.h, math/machine/endian.h: New files.
  3059. * math/Makefile, math/math.h: Rewritten.
  3060. * mathcalls.h, math/mathcalls.h: New file, broken out of math.h.
  3061. * math/finite.c: File removed.
  3062. * sysdeps/generic/Makefile [$(subdir)=math]: Frobnication removed.
  3063. * math/test-math.c: Include errno.h and string.h.
  3064. * sysdeps/unix/bsd/dirstream.h: File removed.
  3065. * sysdeps/unix/bsd/readdir.c: File removed.
  3066. Sat Mar 2 16:35:40 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3067. * sysdeps/unix/sysv/linux/m68k/profil-counter.h: File removed.
  3068. * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: File
  3069. removed.
  3070. * sysdeps/generic/profil-counter.h: New file.
  3071. Fri Mar 1 17:11:59 1996 Brendan Kehoe <brendan@zen.org>
  3072. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sigcontext.h: New file,
  3073. including <sysdeps/unix/bsd/sun/sparc/sigcontext.h>.
  3074. * sysdeps/unix/sysv/sysv4/solaris2/sparc/profil-counter.h: New file,
  3075. same as linux/m68k/profil-counter.h except the comment.
  3076. Fri Mar 1 10:09:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3077. * stdlib/Makefile (mpn-stuff): New target.
  3078. (copy-mpn): Use it.
  3079. * Code copied from GMP updated to 1.937 version.
  3080. * stdlib/strtod.c (HAVE_ALLOCA): Define this for gmp headers.
  3081. * posix/glob.c: Use canonical code from autoconf manual for dirent
  3082. include.
  3083. [_D_NAMLEN]: Redefine NAMLEN using this.
  3084. (glob_in_dir): Use NAMLEN macro.
  3085. * sysdeps/posix/profil.c: New file.
  3086. Thu Feb 29 20:55:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3087. * sysdeps/unix/sysv/linux/m68k/profil-counter.h: New file.
  3088. Tue Feb 27 12:14:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3089. * libc-symbols.h [GCC >= 2.8] (strong_alias, weak_alias): Remove
  3090. `extern' keyword.
  3091. * time/strftime.c: Support - and _ flags to affect number padding.
  3092. * sysdeps/unix/common/tcsendbrk.c: New file.
  3093. Mon Feb 26 10:22:30 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3094. * sysdeps/unix/dirstream.h: Rewritten.
  3095. * sysdeps/unix/readdir.c: Rewritten.
  3096. * sysdeps/unix/telldir.c: Rewritten.
  3097. * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
  3098. Remove __ from DIR struct member names.
  3099. * sysdeps/unix/dirfd.c: Likewise.
  3100. * sysdeps/unix/seekdir.c: Likewise.
  3101. * sysdeps/unix/rewinddir.c: Likewise.
  3102. * sysdeps/unix/opendir.c: Likewise. Don't allocate extra space after
  3103. DIR structure.
  3104. * sysdeps/stub/direct.h: File removed.
  3105. * sysdeps/unix/bsd/bsd4.4/direct.h: File removed.
  3106. * sysdeps/unix/bsd/direct.h: File removed.
  3107. * sysdeps/unix/common/direct.h: File removed.
  3108. * sysdeps/unix/sysv/irix4/direct.h: File removed.
  3109. * sysdeps/unix/sysv/isc3/direct.h: File removed.
  3110. * sysdeps/unix/sysv/sco3.2.4/direct.h: File removed.
  3111. * sysdeps/unix/sysv/sysv4/solaris2/direct.h: File removed.
  3112. * sysdeps/unix/common/direntry.h: New file.
  3113. * sysdeps/unix/bsd/direntry.h: New file.
  3114. * sysdeps/unix/bsd/bsd4.4/direntry.h: New file.
  3115. * sysdeps/unix/sysv/direntry.h: New file.
  3116. * sysdeps/stub/direntry.h: New file.
  3117. * dirent/dirent.h (struct dirent): Type removed. Include <direntry.h>
  3118. to define it.
  3119. (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New macros.
  3120. * dirent/Makefile (headers): Add direntry.h.
  3121. (distribute): Remove direct.h.
  3122. * sysdeps/posix/getcwd.c: Use new macros instead of d_namlen.
  3123. * dirent/scandir.c: Likewise.
  3124. * io/fts.c (fts_build): Likewise.
  3125. * io/ftw.c (ftw_dir): Likewise.
  3126. * sysdeps/posix/ttyname.c: Likewise.
  3127. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
  3128. * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
  3129. (collector_timeout): New static variable.
  3130. (update_waiter): Actually call __task_enable_pc_sampling.
  3131. Set collector_timeout based on the `tick' count returned.
  3132. (profile_waiter): Use MAX_PC_SAMPLES. Set nsamples before RPC.
  3133. Use collector_timeout in __mach_msg call.
  3134. * gmon/Makefile (noprof): New variable containing mcount.
  3135. Append profil unless it is in $(unix-syscalls).
  3136. (mcount.po): Use $(noprof) for list of targets in this rule.
  3137. * libc-symbols.h: Define _LIBC before #include <config.h>.
  3138. Sun Feb 25 12:29:23 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3139. * config.h.in [_LIBC] (HAVE_STRERROR): Define it.
  3140. Protect 2nd page of #undef's for generator programs with #ifndef _LIBC.
  3141. * time/zic.c, time/zdump.c, time/private.h: Updated from ADO 96e.
  3142. Fri Feb 9 12:40:19 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
  3143. * libio/cleanup.c (_IO_cleanup_registration_needed)
  3144. [!_G_HAVE_ATEXIT]: Init to NULL.
  3145. * libio/filedoalloc.c (_IO_cleanup_registration_needed): Remove decl.
  3146. Thu Feb 8 08:12:50 1996 Brendan Kehoe <brendan@cygnus.com>
  3147. * libio/filedoalloc.c (_IO_cleanup_registration_needed): Revert
  3148. previous change, since cleanup.c only defines it if _G_HAVE_ATEXIT.
  3149. Wed Feb 7 15:10:17 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
  3150. * libio/filedoalloc.c (_IO_cleanup_registration_needed): Declare as
  3151. extern.
  3152. Sat Feb 24 11:34:13 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3153. * sysdeps/i386/memcmp.S: Fix argument %esp offsets.
  3154. * time/sys/time.h (timeradd, timersub): New macros; BSD has these.
  3155. Wed Feb 21 02:25:07 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3156. * Rules (others): Depend on $(extra-objs), $(install-lib),
  3157. $(install-bin), $(install-sbin), in object directory.
  3158. * Makeconfig (link-libc): Don't pass -rpath option with default
  3159. path, since ld.so should use the same default.
  3160. * Makerules (build-shlib): Likewise.
  3161. * Makerules (make-target-directory): Use mkinstalldirs.
  3162. * sysdeps/mach/i386/sysdep.h: Include unix/i386/sysdep.h to
  3163. redefine ENTRY et al.
  3164. * sysdeps/unix/sysv/linux/i386/sysdep.h (NO_UNDERSCORES, ENTRY):
  3165. Macros removed. The code in unix/i386/sysdep.h should now suffice.
  3166. * sysdeps/unix/i386/sysdep.h (ALIGNARG): New macro, defns for
  3167. [HAVE_ELF] and not.
  3168. (ENTRY): Use it in .align directive.
  3169. (CALL_MCOUNT): New macro, empty unless [PROF].
  3170. (ENTRY): Do CALL_MCOUNT just after the label.
  3171. * Makeconfig (CPPFLAGS-.po): New variable, use -DPROF so assembly
  3172. code can call mcount.
  3173. Tue Feb 20 23:05:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3174. * time/private.h, time/zdump.c, time/zic.c: Updated verbatim from ADO;
  3175. translation markings are now integrated in his distribution.
  3176. * stdlib/strtod.c (round_and_return): Add missing (mp_limb) 1 cast.
  3177. Mon Feb 19 18:31:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3178. * po: New directory where `LANG.po' files for message translations
  3179. will reside.
  3180. * po/SYS_libc.pot: New file, template of message strings as in source.
  3181. * MakeTAGS: New rules to build po/SYS_libc.pot automatically from
  3182. the source using xgettext.
  3183. * Makerules ($(..)po/%.pot): New rule.
  3184. * manual/Makefile (../po/manual.pot): New target, make it empty.
  3185. * sysdeps/unix/bsd/alarm.c: Moved to sysdeps/unix/alarm.c.
  3186. * sysdeps/unix/bsd/nice.c: Moved to sysdeps/unix/nice.c.
  3187. * sysdeps/unix/bsd/stime.c: Moved to sysdeps/unix/stime.c.
  3188. * sysdeps/unix/bsd/time.c: Moved to sysdeps/unix/time.c.
  3189. * sysdeps/unix/bsd/utime.c: Moved to sysdeps/unix/utime.c.
  3190. * time/zic.c, time/scheck.c, time/private.h, time/tzfile.h:
  3191. Updated from ADO 96d.
  3192. Sun Feb 18 14:08:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3193. * csu/initfini.c (_init): Remove bogus volatile declarations and
  3194. extra variable, take the address of __gmon_start__ only implicitly
  3195. to avoid the test being optimized out.
  3196. Sun Feb 18 15:08:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3197. * sysdeps/posix/utimes.c (__utimes): There are 1000000 usecs in a
  3198. sec.
  3199. Sun Feb 18 13:56:00 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3200. * elf/Makefile, time/Makefile: Make `all' the default target.
  3201. Mon Feb 19 18:09:04 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3202. * misc/sys/ptrace.h: Moved to ...
  3203. * sysdeps/generic/sys/ptrace.h: ... here.
  3204. * sys/ptrace.h: File removed.
  3205. Sun Feb 18 12:13:07 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3206. * sysdeps/unix/sysv/linux/Makefile (headers): Add fpu_control.h.
  3207. * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Put it into .bss
  3208. so that the symbol alias works.
  3209. * sysdeps/unix/sysv/linux/m68k/fpu_control.h (_FPU_SETCW): Corrected.
  3210. * sysdeps/unix/sysv/linux/resourcebits.h: New file.
  3211. * sysdeps/unix/sysv/linux/sys/ptrace.h: New file.
  3212. * sysdeps/unix/sysv/linux/syscalls.list: Add getegid, geteuid,
  3213. getppid and reboot.
  3214. * sysdeps/unix/sysv/linux/sysconf.c: Special version that does not
  3215. use getdtablesize.
  3216. Sat Feb 17 10:30:21 1996 David Mosberger-Tang <davidm@AZStarNet.com>
  3217. * stdio-common/printf_fp.c, stdlib/strtod.c, sysdeps/ieee754/dbl2mpn.c,
  3218. sysdeps/ieee754/ldbl2mpn.c, sysdeps/ieee754/mpn2dbl.c,
  3219. sysdeps/ieee754/mpn2ldbl.c: Cast left operands of shift instructions
  3220. to `long' where necessary.
  3221. Thu Feb 15 20:04:50 1996 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  3222. * stdlib/fpioconst.h: Introduce new constant _FPIO_CONST_OFFSET.
  3223. * stdio-common/printf_fp.c, stdlib/strtod.c: Use _FPIO_CONST_OFFSET
  3224. to correctly access MPN array depending on architecture.
  3225. Mon Feb 19 15:30:26 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3226. * stdio-common/tstscanf.c (main): Add check for "0" as %d.
  3227. * sysdeps/stub/msync.c: Undo change of Jan 29; just two args.
  3228. Only some systems have three args; let them define their own stub.
  3229. * sysdeps/generic/dl-sysdep.c: Declare _dl_secure.
  3230. * sysdeps/generic/machine-gmon.h: New file.
  3231. * gmon/Makefile (distribute): Add machine-gmon.h.
  3232. * gmon/mcount.c: Undo changes of Feb 13.
  3233. Include "machine-gmon.h".
  3234. Sun Feb 18 13:24:06 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3235. * sysdeps/unix/sysv/linux/direct.h: File removed, since it is
  3236. identical to unix/common/direct.h.
  3237. * sysdeps/unix/Makefile [no_deps]: Don't include s-proto.d.
  3238. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Don't add ipc.
  3239. * stdio-common/Makefile (tests): Remove scanf6.
  3240. * sysdeps/unix/sysv/linux/Makefile (non-lib.a): Append libieee.a.
  3241. * time/mktime.c (mktime): Move static variable localtime_offset to
  3242. file scope.
  3243. * stdio-common/vfscanf.c: Put '0' in buffer before scanning for %i
  3244. base indicator.
  3245. Thu Feb 15 16:56:17 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3246. * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Corrected.
  3247. (ELF_MACHINE_BEFORE_RTLD_RELOC): Define.
  3248. (_dl_runtime_resolve): Save %a1 as well.
  3249. (ELF_MACHINE_RUNTIME_FIXUP_ARGS): Add second dummy arg.
  3250. (elf_machine_relplt): Define.
  3251. * elf/dl-runtime.c: Include possible extra args in declaration of
  3252. fixup.
  3253. Fri Feb 16 11:01:59 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3254. * time/tzset.c: Limit hours to 23, not 12. From jaffer.
  3255. Fri Feb 16 10:14:05 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3256. * Makeconfig (CFLAGS-.po): Use -pg instead of -p.
  3257. Thu Feb 15 13:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3258. * mach/Machrules: Use -include for $(*.ir).
  3259. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
  3260. request values.
  3261. * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
  3262. (_IOT_COUNT2): Field is 3 bits, not 2.
  3263. * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
  3264. * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
  3265. bits before looking up handler.
  3266. (fioctl): Use __hurd_dfail.
  3267. (fioctl, fioclex): Use ENOTTY for bogus request instead of EGRATUITOUS.
  3268. Thu Feb 15 11:49:45 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3269. * sysdeps/unix/sysv/sysv4/Makefile [$(subdir)-signal]
  3270. (sysdep_routines): Don't add sys-sig.
  3271. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: New file.
  3272. Wed Feb 14 00:21:17 1996 David Mosberger-Tang <davidm@azstarnet.com>
  3273. * sysdeps/alpha/memchr.c (memchr): loop searching for matching
  3274. character bailed out one too early; changed constant 6 to
  3275. 7 to fix this.
  3276. Wed Feb 14 01:08:58 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3277. * posix/execvp.c: When executing shell on script, first arg is
  3278. full file name, not argv[0].
  3279. * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk.
  3280. * mach/Machrules [no_deps]: Inhibit interface rules.
  3281. * malloc/Makefile (distribute): Removed TODO.
  3282. Tue Feb 13 05:12:02 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3283. * sysdeps/unix/sysv/linux/syscalls.list (ipc): Specify msgget in
  3284. caller column.
  3285. * sysdeps/unix/common/syscalls.list: Add sigaction syscall.
  3286. * sysdeps/unix/sysv/linux/gnu/types.h: Moved from linux/i386.
  3287. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]
  3288. (sysdep_routines): Append setfpucw.
  3289. (extra-objs): Append ieee-fpucw.o.
  3290. (install-lib): Append libieee.a.
  3291. (libieee.a): New target.
  3292. * sysdeps/unix/sysv/linux/ieee-fpucw.c: New file.
  3293. * sysdeps/unix/sysv/linux/i386/fpu_control.h
  3294. (_FPU_GETCW, _FPU_SETCW): New macros.
  3295. (fpu_control_t): New typedef.
  3296. (__setfpucw): Use fpu_control_t for argument type.
  3297. * sysdeps/unix/sysv/linux/fpu_control.c: Moved from linux/i386.
  3298. * sysdeps/unix/sysv/linux/init-first.c: Moved from linux/i386.
  3299. * sysdeps/unix/sysv/linux/syscalls.list: Add ipc syscall.
  3300. * sysdeps/unix/sysv/linux/i386/syscalls.list: File removed.
  3301. Sat Feb 10 13:09:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3302. * sysdeps/unix/sysv/linux/m68k/brk.c,
  3303. sysdeps/unix/sysv/linux/m68k/mmap.S,
  3304. sysdeps/unix/sysv/linux/m68k/select.S,
  3305. sysdeps/unix/sysv/linux/m68k/sigcontext.h,
  3306. sysdeps/unix/sysv/linux/m68k/sigreturn.S,
  3307. sysdeps/unix/sysv/linux/m68k/socket.S,
  3308. sysdeps/unix/sysv/linux/m68k/syscall.S,
  3309. sysdeps/unix/sysv/linux/m68k/sysdep.S,
  3310. sysdeps/unix/sysv/linux/m68k/sysdep.h: New files.
  3311. * sysdeps/unix/sysv/linux/m68k/fpu_control.h: New file.
  3312. * sysdeps/m68k/fpu/isinfl.c, sysdeps/m68k/fpu/isnanl.c,
  3313. sysdeps/m68k/isinfl.c, sysdeps/m68k/isnanl.c: New files.
  3314. * sysdeps/unix/sysv/linux/sys/mman.h: Define MAP_ANON and
  3315. MAP_FILE if not already defined.
  3316. * elf/elf.h: Add m68k reloc definitions.
  3317. * sysdeps/m68k/dl-machine.h, sysdeps/m68k/elf/start.S: New files.
  3318. Tue Feb 13 00:12:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3319. * elf/dl-runtime.c (fixup) [ELF_MACHINE_RUNTIME_FIXUP_ARGS]: Let
  3320. this macro declare extra leading args.
  3321. * Makerules [$(elf)=yes] (ar-symtab-name): Define to empty.
  3322. * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
  3323. elf_machine_relplt): New macros.
  3324. * elf/dl-runtime.c: New file.
  3325. * sysdeps/i386/dl-runtime.c, sysdeps/stub/dl-runtime.c: Files removed.
  3326. * gmon/Makefile (headers): Remove machine-gmon.h.
  3327. * sysdeps/stub/machine-gmon.h, sysdeps/i386/machine-gmon.h: Removed.
  3328. * gmon/mcount.c [! NO_UNDERSCORES] (_mcount): Specify "mcount" as
  3329. the asm name.
  3330. (_mcount): Define normally, taking no args.
  3331. Use __builtin_return_address to fetch PC values of caller and caller's
  3332. caller.
  3333. * Makerules: Rewrote rules to update libc archives of all flavors.
  3334. Define separate specific rules for each flavor using o-iterator.
  3335. * sysdeps/unix/Makefile: Include s-proto.d only ifdef subdir.
  3336. Sat Feb 10 11:35:16 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3337. * Makerules (ar-symtab-name): New macro. Replace all occurences
  3338. of __.SYMDEF by $(ar-symtab-name).
  3339. * sysdeps/unix/sysv/Makefile (ar-symtab-name): Define as empty.
  3340. Mon Feb 12 03:10:41 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3341. * Makefile (configure, %/configure): Depend on aclocal.m4.
  3342. * Make-dist (configure, %/configure): Likewise.
  3343. * sysdeps/unix/Makefile: Include s-proto.d for its deps.
  3344. * gmon/sys/gmon.h: Don't include machine-gmon.h; those defns are
  3345. only needed in the implementation, not for any users.
  3346. * time/northamerica: Updated from ADO 96c, new rules for Mexico in
  3347. 1996.
  3348. * sunrpc/pm_getport.c: #if 0 out gratuitous inclusion of <net/if.h>.
  3349. * sunrpc/pm_getmaps.c: Likewise.
  3350. * sysdeps/unix/sysv/syscalls.list: Add setrlimit and settimeofday,
  3351. so real syscalls override unix/sysv/*.c on sysv-derived systems
  3352. that have them.
  3353. * sysdeps/unix/common/syscalls.list: Add settimeofday here, to
  3354. override unix/sysv/settimeofday.c since that overrides
  3355. unix/syscalls.list.
  3356. * Makeconfig (+link): Put $(link-libc) after deps from $^,
  3357. regardless of where libc.a appears in the deps.
  3358. * sysdeps/unix/sysv/sysv4/syscalls.list: Remove redundancies.
  3359. Add __waitid.
  3360. * sysdeps/unix/sysv/linux/syscalls.list: Remove redundancies.
  3361. Define __ name for sigprocmask.
  3362. * sysdeps/unix/bsd/ultrix4/syscalls.list: Remove redundancies.
  3363. Add getsysinfo.
  3364. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: Remove redundancies.
  3365. * sysdeps/unix/bsd/sun/syscalls.list: Remove redundancies.
  3366. * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove redundancies.
  3367. * sysdeps/unix/bsd/syscalls.list: Remove settimeofday, utimes.
  3368. Add getdents, wait3, waitpid.
  3369. * sysdeps/unix/syscalls.list: Add seteuid, setegid, setsid,
  3370. settimeofday, sigsuspend, sstk, utimes.
  3371. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
  3372. * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
  3373. * sysdeps/unix/bsd/ultrix4/mips/Makefile (sysdep_routines):
  3374. Removed sigtramp.
  3375. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: Renamed from sigtramp.c.
  3376. * sysdeps/unix/bsd/bsd4.4/sstk.S: File removed.
  3377. * sysdeps/unix/bsd/hp/m68k/syscalls.list: File removed.
  3378. * sysdeps/unix/bsd/osf/alpha/getdents.S: File removed.
  3379. * sysdeps/unix/bsd/ultrix4/getsysinfo.S: File removed.
  3380. * sysdeps/unix/bsd/ultrix4/waitpid.S: File removed.
  3381. * sysdeps/unix/bsd/ultrix4/mips/sigtramp.c: File removed.
  3382. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S: File removed.
  3383. * sysdeps/unix/bsd/ultrix4/mips/sigvec.c: New file.
  3384. * sysdeps/unix/bsd/ultrix4/mips/syscalls.list: New file.
  3385. * sysdeps/unix/sysv/irix4/wait3.S: File removed.
  3386. * sysdeps/unix/sysv/sysv4/__waitid.S: File removed.
  3387. * sysdeps/unix/sysv/sysv4/fchdir.S: File removed.
  3388. * sysdeps/unix/sysv/sysv4/setegid.S: File removed.
  3389. * sysdeps/unix/sysv/sysv4/seteuid.S: File removed.
  3390. * sysdeps/unix/sysv/sysv4/sigaltstack.S: File removed.
  3391. * sysdeps/unix/sysv/sysv4/solaris2/utimes.S: File removed.
  3392. * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
  3393. FORWARD_SIGEXC to one. Uncomment setting of thread exc port, and
  3394. move it to last thing.
  3395. Sat Feb 10 05:57:08 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
  3396. * sysdeps/generic/make_siglist.c: #undef _SIGNAL_H before defining it.
  3397. * sysdeps/unix/sysv/linux/syscalls.list: Add sigprocmask, sigsuspend.
  3398. Sat Feb 10 04:18:48 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3399. * posix/execvp.c: If execv fails with ENOEXEC, run the shell on
  3400. the file.
  3401. Fri Feb 9 11:46:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3402. * time/Makefile (CFLAGS-zdump.c, CFLAGS-zic.c, CFLAGS-ialloc.c,
  3403. CFLAGS-scheck.c): Use -DNOID instead of -Wno-unused.
  3404. * hurd/Makefile (user-interfaces): Added hurd/tioctl.
  3405. Thu Feb 8 18:55:27 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3406. * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
  3407. Wed Feb 7 18:48:30 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3408. * Makefile (subdirs): Added wcsmbs.
  3409. * wcsmbs: New directory of wide char/multibyte char functions from
  3410. drepper.
  3411. * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
  3412. * hurd/report-wait.c: New file.
  3413. * hurd/Makefile (routines): Added report-wait.
  3414. * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
  3415. * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
  3416. New type.
  3417. (SYSCALL_EXAMINE, MSG_EXAMINE): New inline functions.
  3418. * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
  3419. Structure moved to intr-msg.h; include that.
  3420. * time/Makefile (CFLAGS-ialloc.c): Add -Wno-unused.
  3421. (CFLAGS-scheck.c): New variable.
  3422. * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
  3423. __hurd_sigthread_stack_end, __hurd_sigthread_variables,
  3424. __hurd_threadvar_stack_mask): New variables.
  3425. * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
  3426. its new message port.
  3427. * misc/init-misc.c: Put __init_misc in the __libc_subinit set.
  3428. * configure.in (uname): Add quoting.
  3429. * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
  3430. * hurd/fchroot.c: Likewise.
  3431. * posix/sys/types.h [GCC >= 2.7]: Define intN_t/u_intN_t using
  3432. __attribute__ ((__mode__ (__XX__))).
  3433. Wed Feb 7 03:24:05 1996 Torbjorn Granlund <tege@tmg.se>
  3434. * sysdeps/i386/i586/memcopy.h (WORD_COPY_FWD): Manually allocate
  3435. destination cache lines.
  3436. (WORD_COPY_BWD): Likewise.
  3437. Wed Feb 7 14:16:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3438. * sysdeps/generic/Makefile (make_siglist): Get signum.h absolute
  3439. file name first thing, before $(native-compile) changes directories.
  3440. From Gord Matzigkeit <gord@enci.ucalgary.ca>:
  3441. * sysdeps/unix/make_errlist.c: Use strerror if available.
  3442. * sysdeps/unix/configure.in: New file
  3443. * sysdeps/unix/bsd/sun/syscalls.list: Added sigvec.
  3444. * sysdeps/unix/bsd/sun/sigvec.S: File removed.
  3445. * sysdeps/stub/sendto.c: Make sockaddr arg pointer to const.
  3446. * sysdeps/stub/connect.c: Likewise.
  3447. * sysdeps/stub/bind.c: Likewise.
  3448. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
  3449. "" is only special for FS_RETRY_NORMAL; for FS_RETRY_REAUTH, do
  3450. another dir_lookup of "".
  3451. Tue Feb 6 12:46:29 1996 David Mosberger-Tang <davidm@azstarnet.com>
  3452. * libc-symbols.h (weak_alias, weak_symbol): added definitions
  3453. for ECOFF (HAVE_ECOFF).
  3454. Fri Feb 2 13:09:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3455. * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
  3456. Wed Jan 31 20:08:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3457. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
  3458. when cancelled before RPC.
  3459. Tue Jan 30 13:32:05 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3460. * dirent/scandir.c: Allocate dirents with correct size for name, and
  3461. copy with correct size.
  3462. * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
  3463. * stdio-common/vfscanf.c (TYPEMOD): New macro of all type modifier
  3464. flag bits.
  3465. (__vfscanf): Fix checking of extra type modifiers.
  3466. * time/asia, time/australasia, time/backward: Updated from ADO 96b.
  3467. Tue Jan 30 12:17:26 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  3468. * stdlib/strtod.c: Only negate exponent when there really is one.
  3469. * stdio-common/vfscanf.c: Accept type modifiers on %n.
  3470. Fix FP number parsing.
  3471. Mon Jan 29 21:53:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3472. * sysdeps/stub/msync.c (msync): Declare third arg FLAGS.
  3473. * resolv/Makefile (+cflags): Append to this instead of CFLAGS.
  3474. Mon Jan 29 16:29:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
  3475. * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
  3476. include an increment for each operation allowed on each fd.
  3477. Mon Jan 29 11:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3478. * sysdeps/unix/sysv/linux/configure: Set $inhibit_glue.
  3479. * Makefile: Use -include for sysd-dirs.
  3480. * configure.in (uname): Check for uname in syscalls.list files.
  3481. * sysdeps/unix/sysv/syscalls.list: Remove uname.
  3482. * sysdeps/unix/syscalls.list: Add uname.
  3483. * stdlib/strtol.c (weak1): New macro, to get the right name declared
  3484. weak.
  3485. * sysdeps/posix/getcwd.c (size_t): Don't define #ifdef __GNU_LIBRARY__.
  3486. * db/hash/ndbm.c: Change all uses of `errno' struct member to `errnum'.
  3487. (dbm_open): Use dynamic allocation for file name buffer, instead of
  3488. limitting its size to MAXPATHLEN.
  3489. * db/btree/bt_open.c (tmp): Use dynamic allocation for file name
  3490. buffer, instead of limitting its size to MAXPATHLEN.
  3491. * db/hash/hash.h (HTAB): Rename member `errno' to `errnum'.
  3492. * db/hash/hash.c: Change all uses of `errno' struct member to `errnum'.
  3493. Sun Jan 28 19:42:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3494. * time/Makefile: Fix check for cross compiling.
  3495. Thu Jan 25 21:10:39 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3496. * db/Makefile (subdir-dirs): Renamed from dbdirs.
  3497. * Makerules (distinfo-vars): Add subdir-dirs.
  3498. * MakeTAGS: Remove vpath directives.
  3499. (all-dirs): Prepend $(subdir-dirs).
  3500. (all-sources, all-headers): Use wildcard to find sources.
  3501. Mon Jan 29 10:44:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3502. * malloc/Makefile (CFLAGS-vm-limit.c, CFLAGS-ralloc.c): New
  3503. variables.
  3504. * mach/msgserver.c: Declare DEMUX arg with prototype.
  3505. Sun Jan 28 17:25:38 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3506. * setjmp/setjmp.h (jmp_buf): Give a tag in the struct defn, to
  3507. make C++ happy.
  3508. * alpha/jmp_buf.h: Likewise.
  3509. * m68k/jmp_buf.h: Likewise.
  3510. * mips/jmp_buf.h: Likewise.
  3511. * sparc/jmp_buf.h: Likewise.
  3512. * vax/jmp_buf.h: Likewise.
  3513. * sysdeps/generic/memmem.c: Fix return value in case where
  3514. NEEDLE_LEN==0.
  3515. * hurd/hurdlookup.c (__file_name_lookup_under,
  3516. __file_name_lookup): Restrict mode with umask.
  3517. * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
  3518. * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
  3519. Fri Jan 26 12:20:45 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3520. * stdlib/strtol.c: Undo last change. ANSI C changed since the
  3521. draft I checked yesterday. Sigh.
  3522. Thu Jan 25 18:58:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3523. * stdlib/strtol.c [UNSIGNED]: Don't recognize + or - as sign.
  3524. Wed Jan 24 03:22:07 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3525. * malloc/mcheck.c (mabort): Declare prototype.
  3526. * sysdeps/unix/sysv/linux/fcntlbits.h: Moved from linux/i386.
  3527. * Makerules: Use -include for generated makefiles.
  3528. * errno.h: Don't declare errno if it's defined as a macro.
  3529. * stdio-common/vfscanf.c: Disallow l flag after ll or L.
  3530. * stdio-common/Makefile (tests): Add scanf[1-9].
  3531. * stdio-common/scanf[1-9].c: New files. Bug tests from hjl.
  3532. Wed Jan 24 04:18:36 1996 Paul Eggert <eggert@twinsun.com>
  3533. * strftime.c (strftime):
  3534. When invoking self, check whether the subsidiary invocation failed.
  3535. Use "???" (not "") to denote unknown time zone information.
  3536. Make this source file portable to standalone contexts (e.g. GNU Emacs).
  3537. <config.h>: Include if HAVE_CONFIG_H is defined.
  3538. (HAVE_LIMITS_H, HAVE_MBLEN, HAVE_TM_ZONE, STDC_HEADERS): New symbols,
  3539. defined if _LIBC or if <config.h> defines them.
  3540. <ansidecl.h>, "../locale/localeinfo.h": Include only if _LIBC.
  3541. <sys/types.h>: New include; some hosts require it for `time_t'.
  3542. <ctype.h>: Include only if HAVE_MBLEN (since it's only needed then).
  3543. <limits.h>: Include only if HAVE_LIMITS_H.
  3544. <stddef.h, stdlib.h, string.h>: Include only if STDC_HEADERS.
  3545. (memcpy): Define in terms of bcopy if !STDC_HEADERS.
  3546. (__P, PTR): Define if not already defined.
  3547. (__tzname, __daylight, __timezone): Remove macros; no longer needed.
  3548. (add, strftime): Don't use NULL, for portability to some weird hosts.
  3549. (fmt): If !_LIBC, don't assume sprintf returns a count.
  3550. (week, strftime): Use old-style function declarations.
  3551. (weekday_name, month_name): New constants.
  3552. (strftime): Use traditional C values if locale support isn't available.
  3553. Use `const' instead of CONST. For time zones, use tm_zone if
  3554. possible, then fall back on tzname. Don't check for multibyte
  3555. characters unless mblen is supported. Use formats like %02d instead
  3556. of %.2d, for portability to older hosts.
  3557. Wed Jan 24 00:07:52 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3558. * stdio-common/vfscanf.c (GROUP, MALLOC): New flag macros.
  3559. (__vfscanf): Eliminate flag vars that were redundant with FLAGS bits.
  3560. Fix bug in recognition of %ll flag for long long.
  3561. Fix overeager checks for conflicting type modifiers.
  3562. With ' flag, match thousands separators for decimal numbers.
  3563. Tue Jan 23 22:02:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3564. * locale/Makefile (CFLAGS-locfile-lex.c): New variable.
  3565. * resolv/Makefile (CFLAGS): Disable some warnings.
  3566. * sysdeps/generic/Makefile (elided-routines): Removed hypot.
  3567. (+gccwarn): Set with override.
  3568. * stdio-common/Makefile (CFLAGS-tst-printf.c): New variable.
  3569. * posix/Makefile (CFLAGS-regex.c): New variable.
  3570. * malloc/Makefile (CFLAGS-obstack.c): New variable.
  3571. * io/Makefile (CFLAGS-fts.c): New variable.
  3572. * io/fts.c (fts_open): Use prototypes for COMPAR decl.
  3573. Tue Jan 23 21:35:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
  3574. * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
  3575. case is '\0'-terminated.
  3576. Tue Jan 23 19:49:54 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3577. * elf/rtld.c (dl_main): Support additional args in --list mode for
  3578. debugging: look them up as symbol names and print values.
  3579. * misc/getttyent.c (skip, value): Declare with prototypes in file
  3580. scope.
  3581. * csu/initfini.c (_init): Explicitly set a variable that is
  3582. pointer to volatile with the address of __gmon_start__, to avoid
  3583. the test being optimized out.
  3584. Mon Jan 22 10:40:40 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3585. * sysdeps/posix/getcwd.c [__GNU_LIBRARY__]: Include unistd.h.
  3586. * io/fts.h (FTSENT): Define fts_compar member with prototype.
  3587. * hurd/hurd.h: Use prototype in getcttyid decl.
  3588. * stdlib/l64a.c: Fix typo in last change.
  3589. * stdlib/drand48-iter.c: Test limits.h macros instead of sizeof
  3590. for determining size of types.
  3591. * stdlib/srand48_r.c: Likewise.
  3592. * misc/utmp.h: Declare login, logout, logwtmp.
  3593. * misc/logout.c: Declare argument as pointer to const.
  3594. * misc/login.c: Likewise.
  3595. * misc/logwtmp.c: Likewise.
  3596. Include time.h, string.h.
  3597. * misc/efgcvt_r.c: Include stdlib.h.
  3598. * io/mknod.c: Include sys/types.h.
  3599. * gmon/sys/gmon.h: Declare monstartup, _mcleanup.
  3600. * csu/gmon-start.c (_start, etext): Declare with prototypes.
  3601. * stdio-common/vfscanf.c (%[): Fix range handling.
  3602. Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3603. * misc/Makefile (headers): Rename queue.h to sys/queue.h.
  3604. * misc/queue.h: Moved to misc/sys/queue.h.
  3605. * sysdeps/unix/sysv/linux/shmat.c: Include sys/shm.h instead of
  3606. sys/sem.h.
  3607. * stdlib/stdlib.h [__USE_SVID]: Declare a64l, l64a.
  3608. * stdlib/l64a.c: Use 6-bit numbers as indices in CONV_TABLE, not
  3609. literal byte values.
  3610. * misc/bsd-compat.c (getpgrp): Define with prototype.
  3611. * misc/init-misc.c (__progname_full): New variable.
  3612. (program_invocation_name, program_invocation_short_name): New aliases.
  3613. (__init_misc): Define with prototype. Set __progname_full.
  3614. * misc/progname.c: File removed.
  3615. * misc/Makefile (aux): Remove progname.
  3616. * misc/hsearch_r.c (isprime): Define with prototype.
  3617. * sysdeps/unix/sysv/linux/seteuid.c: Just include unix/bsd version.
  3618. * sysdeps/unix/bsd/seteuid.c: Disallow arg of -1.
  3619. * sysdeps/unix/bsd/setegid.c: Likewise.
  3620. Fri Jan 19 13:28:59 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3621. * sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
  3622. __tcdrain.
  3623. * posix/glob.c (glob): Use prototype in getlogin decl.
  3624. * db/ndbm.h: Declare dbm_error, dbm_clearerr.
  3625. * db/db/db.c (__dberr): Define with prototype.
  3626. (__dbpanic): Use prototypes in casts.
  3627. * db/hash/hash_log2.c: Add prototype decl.
  3628. * sysdeps/generic/_strerror.c (_strerror_internal): Define with
  3629. prototype.
  3630. * sysdeps/unix/mkdir.c, syspdep/unix/rmdir.c: Moved from unix/sysv.
  3631. They will be overridden with syscalls if extant by unix/syscalls.list.
  3632. * Makeconfig (+gccwarn): Add -Wstrict-prototypes.
  3633. * stdio-common/printf_fp.c (__printf_fp): Define with prototype.
  3634. * stdio-common/vfprintf.c (_IO_helper_overflow): Likewise.
  3635. Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3636. * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod.
  3637. * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to
  3638. get args.
  3639. * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h
  3640. defines GNU extensions.
  3641. * posix/fnmatch.c: Likewise.
  3642. Replaced all simple system call files *.S throughout sysdeps/unix
  3643. with syscalls.list files to be processed by make-syscalls.sh.
  3644. * sysdeps/unix/s-proto.S: New file.
  3645. * sysdeps/unix/syscalls.list: New file.
  3646. * sysdeps/unix/bsd/syscalls.list: New file.
  3647. * sysdeps/unix/bsd/bsd4.4/syscalls.list: New file.
  3648. * sysdeps/unix/bsd/hp/m68k/syscalls.list: New file.
  3649. * sysdeps/unix/bsd/osf/syscalls.list: New file.
  3650. * sysdeps/unix/bsd/osf/alpha/syscalls.list: New file.
  3651. * sysdeps/unix/bsd/sony/newsos4/syscalls.list: New file.
  3652. * sysdeps/unix/bsd/sun/syscalls.list: New file.
  3653. * sysdeps/unix/bsd/sun/sunos4/syscalls.list: New file.
  3654. * sysdeps/unix/bsd/ultrix4/syscalls.list: New file.
  3655. * sysdeps/unix/common/syscalls.list: New file.
  3656. * sysdeps/unix/inet/syscalls.list: New file.
  3657. * sysdeps/unix/mman/syscalls.list: New file.
  3658. * sysdeps/unix/sysv/syscalls.list: New file.
  3659. * sysdeps/unix/sysv/irix4/syscalls.list: New file.
  3660. * sysdeps/unix/sysv/isc2.2/syscalls.list: New file.
  3661. * sysdeps/unix/sysv/linux/syscalls.list: New file.
  3662. * sysdeps/unix/sysv/linux/i386/syscalls.list: New file.
  3663. * sysdeps/unix/sysv/sco3.2.4/syscalls.list: New file.
  3664. * sysdeps/unix/sysv/sysv4/syscalls.list: New file.
  3665. * sysdeps/unix/sysv/sysv4/i386/syscalls.list: New file.
  3666. * sysdeps/unix/sysv/sysv4/solaris2/sparc/syscalls.list: New file.
  3667. * sysdeps/unix/acct.S: File removed.
  3668. * sysdeps/unix/chdir.S: File removed.
  3669. * sysdeps/unix/chmod.S: File removed.
  3670. * sysdeps/unix/chown.S: File removed.
  3671. * sysdeps/unix/chroot.S: File removed.
  3672. * sysdeps/unix/close.S: File removed.
  3673. * sysdeps/unix/configure: File removed.
  3674. * sysdeps/unix/configure.in: File removed.
  3675. * sysdeps/unix/dup.S: File removed.
  3676. * sysdeps/unix/fcntl.S: File removed.
  3677. * sysdeps/unix/fsync.S: File removed.
  3678. * sysdeps/unix/getgid.S: File removed.
  3679. * sysdeps/unix/getpid.S: File removed.
  3680. * sysdeps/unix/getuid.S: File removed.
  3681. * sysdeps/unix/ioctl.S: File removed.
  3682. * sysdeps/unix/kill.S: File removed.
  3683. * sysdeps/unix/link.S: File removed.
  3684. * sysdeps/unix/lseek.S: File removed.
  3685. * sysdeps/unix/open.S: File removed.
  3686. * sysdeps/unix/ptrace.S: File removed.
  3687. * sysdeps/unix/read.S: File removed.
  3688. * sysdeps/unix/reboot.S: File removed.
  3689. * sysdeps/unix/setgid.S: File removed.
  3690. * sysdeps/unix/setuid.S: File removed.
  3691. * sysdeps/unix/sync.S: File removed.
  3692. * sysdeps/unix/umask.S: File removed.
  3693. * sysdeps/unix/unlink.S: File removed.
  3694. * sysdeps/unix/write.S: File removed.
  3695. * sysdeps/unix/bsd/flock.S: File removed.
  3696. * sysdeps/unix/bsd/getdtsz.S: File removed.
  3697. * sysdeps/unix/bsd/getpagesize.S: File removed.
  3698. * sysdeps/unix/bsd/killpg.S: File removed.
  3699. * sysdeps/unix/bsd/profil.S: File removed.
  3700. * sysdeps/unix/bsd/readv.S: File removed.
  3701. * sysdeps/unix/bsd/settimeofday.S: File removed.
  3702. * sysdeps/unix/bsd/sigblock.S: File removed.
  3703. * sysdeps/unix/bsd/sigpause.S: File removed.
  3704. * sysdeps/unix/bsd/sigsetmask.S: File removed.
  3705. * sysdeps/unix/bsd/sigstack.S: File removed.
  3706. * sysdeps/unix/bsd/sigvec.S: File removed.
  3707. * sysdeps/unix/bsd/utimes.S: File removed.
  3708. * sysdeps/unix/bsd/writev.S: File removed.
  3709. * sysdeps/unix/bsd/bsd4.4/chflags.S: File removed.
  3710. * sysdeps/unix/bsd/bsd4.4/fchdir.S: File removed.
  3711. * sysdeps/unix/bsd/bsd4.4/fchflags.S: File removed.
  3712. * sysdeps/unix/bsd/bsd4.4/getdents.S: File removed.
  3713. * sysdeps/unix/bsd/bsd4.4/getdomain.S: File removed.
  3714. * sysdeps/unix/bsd/bsd4.4/revoke.S: File removed.
  3715. * sysdeps/unix/bsd/bsd4.4/setdomain.S: File removed.
  3716. * sysdeps/unix/bsd/bsd4.4/setegid.S: File removed.
  3717. * sysdeps/unix/bsd/bsd4.4/seteuid.S: File removed.
  3718. * sysdeps/unix/bsd/bsd4.4/setlogin.S: File removed.
  3719. * sysdeps/unix/bsd/bsd4.4/setsid.S: File removed.
  3720. * sysdeps/unix/bsd/bsd4.4/sigaltstack.S: File removed.
  3721. * sysdeps/unix/bsd/bsd4.4/wait4.S: File removed.
  3722. * sysdeps/unix/bsd/hp/m68k/getdents.S: File removed.
  3723. * sysdeps/unix/bsd/osf/msync.S: File removed.
  3724. * sysdeps/unix/bsd/osf/alpha/wait4.S: File removed.
  3725. * sysdeps/unix/bsd/sony/newsos4/fchdir.S: File removed.
  3726. * sysdeps/unix/bsd/sony/newsos4/sys_wait4.S: File removed.
  3727. * sysdeps/unix/bsd/sun/getdents.S: File removed.
  3728. * sysdeps/unix/bsd/sun/sunos3/m68k/wait.S: File removed.
  3729. * sysdeps/unix/bsd/sun/sunos4/msync.S: File removed.
  3730. * sysdeps/unix/bsd/sun/sunos4/poll.S: File removed.
  3731. * sysdeps/unix/bsd/sun/sunos4/setsid.S: File removed.
  3732. * sysdeps/unix/bsd/sun/sunos4/sys_mmap.S: File removed.
  3733. * sysdeps/unix/bsd/sun/sunos4/sys_wait4.S: File removed.
  3734. * sysdeps/unix/bsd/sun/sunos4/uname.S: File removed.
  3735. * sysdeps/unix/bsd/ultrix4/getdents.S: File removed.
  3736. * sysdeps/unix/bsd/ultrix4/setsid.S: File removed.
  3737. * sysdeps/unix/bsd/ultrix4/uname.S: File removed.
  3738. * sysdeps/unix/common/access.S: File removed.
  3739. * sysdeps/unix/common/adjtime.S: File removed.
  3740. * sysdeps/unix/common/dup2.S: File removed.
  3741. * sysdeps/unix/common/fchmod.S: File removed.
  3742. * sysdeps/unix/common/fchown.S: File removed.
  3743. * sysdeps/unix/common/ftruncate.S: File removed.
  3744. * sysdeps/unix/common/getgroups.S: File removed.
  3745. * sysdeps/unix/common/getitimer.S: File removed.
  3746. * sysdeps/unix/common/getpgid.S: File removed.
  3747. * sysdeps/unix/common/getpriority.S: File removed.
  3748. * sysdeps/unix/common/getrlimit.S: File removed.
  3749. * sysdeps/unix/common/getrusage.S: File removed.
  3750. * sysdeps/unix/common/gettimeofday.S: File removed.
  3751. * sysdeps/unix/common/mkdir.S: File removed.
  3752. * sysdeps/unix/common/readlink.S: File removed.
  3753. * sysdeps/unix/common/rename.S: File removed.
  3754. * sysdeps/unix/common/rmdir.S: File removed.
  3755. * sysdeps/unix/common/select.S: File removed.
  3756. * sysdeps/unix/common/setgroups.S: File removed.
  3757. * sysdeps/unix/common/setitimer.S: File removed.
  3758. * sysdeps/unix/common/setpgid.S: File removed.
  3759. * sysdeps/unix/common/setpriority.S: File removed.
  3760. * sysdeps/unix/common/setregid.S: File removed.
  3761. * sysdeps/unix/common/setreuid.S: File removed.
  3762. * sysdeps/unix/common/setrlimit.S: File removed.
  3763. * sysdeps/unix/common/swapon.S: File removed.
  3764. * sysdeps/unix/common/symlink.S: File removed.
  3765. * sysdeps/unix/common/truncate.S: File removed.
  3766. * sysdeps/unix/common/vhangup.S: File removed.
  3767. * sysdeps/unix/inet/accept.S: File removed.
  3768. * sysdeps/unix/inet/bind.S: File removed.
  3769. * sysdeps/unix/inet/connect.S: File removed.
  3770. * sysdeps/unix/inet/gethostid.S: File removed.
  3771. * sysdeps/unix/inet/gethostname.S: File removed.
  3772. * sysdeps/unix/inet/getpeername.S: File removed.
  3773. * sysdeps/unix/inet/getsockname.S: File removed.
  3774. * sysdeps/unix/inet/getsockopt.S: File removed.
  3775. * sysdeps/unix/inet/listen.S: File removed.
  3776. * sysdeps/unix/inet/recv.S: File removed.
  3777. * sysdeps/unix/inet/recvfrom.S: File removed.
  3778. * sysdeps/unix/inet/recvmsg.S: File removed.
  3779. * sysdeps/unix/inet/send.S: File removed.
  3780. * sysdeps/unix/inet/sendmsg.S: File removed.
  3781. * sysdeps/unix/inet/sendto.S: File removed.
  3782. * sysdeps/unix/inet/sethostid.S: File removed.
  3783. * sysdeps/unix/inet/sethostname.S: File removed.
  3784. * sysdeps/unix/inet/setsockopt.S: File removed.
  3785. * sysdeps/unix/inet/shutdown.S: File removed.
  3786. * sysdeps/unix/inet/socket.S: File removed.
  3787. * sysdeps/unix/inet/socketpair.S: File removed.
  3788. * sysdeps/unix/mman/madvise.S: File removed.
  3789. * sysdeps/unix/mman/mmap.S: File removed.
  3790. * sysdeps/unix/mman/mprotect.S: File removed.
  3791. * sysdeps/unix/mman/msync.S: File removed.
  3792. * sysdeps/unix/mman/munmap.S: File removed.
  3793. * sysdeps/unix/sysv/alarm.S: File removed.
  3794. * sysdeps/unix/sysv/ftime.S: File removed.
  3795. * sysdeps/unix/sysv/nice.S: File removed.
  3796. * sysdeps/unix/sysv/pause.S: File removed.
  3797. * sysdeps/unix/sysv/poll.S: File removed.
  3798. * sysdeps/unix/sysv/s_getdents.S: File removed.
  3799. * sysdeps/unix/sysv/signal.S: File removed.
  3800. * sysdeps/unix/sysv/stime.S: File removed.
  3801. * sysdeps/unix/sysv/time.S: File removed.
  3802. * sysdeps/unix/sysv/times.S: File removed.
  3803. * sysdeps/unix/sysv/ulimit.S: File removed.
  3804. * sysdeps/unix/sysv/uname.S: File removed.
  3805. * sysdeps/unix/sysv/utime.S: File removed.
  3806. * sysdeps/unix/sysv/irix4/getpgid.S: File removed.
  3807. * sysdeps/unix/sysv/irix4/msync.S: File removed.
  3808. * sysdeps/unix/sysv/irix4/setpgid.S: File removed.
  3809. * sysdeps/unix/sysv/irix4/signal.S: File removed.
  3810. * sysdeps/unix/sysv/irix4/sysmp.S: File removed.
  3811. * sysdeps/unix/sysv/irix4/syssgi.S: File removed.
  3812. * sysdeps/unix/sysv/isc2.2/rename.S: File removed.
  3813. * sysdeps/unix/sysv/linux/adjtimex.S: File removed.
  3814. * sysdeps/unix/sysv/linux/fork.S: File removed.
  3815. * sysdeps/unix/sysv/linux/getpgid.S: File removed.
  3816. * sysdeps/unix/sysv/linux/getpgrp.S: File removed.
  3817. * sysdeps/unix/sysv/linux/getsid.S: File removed.
  3818. * sysdeps/unix/sysv/linux/gtty.S: File removed.
  3819. * sysdeps/unix/sysv/linux/mlock.S: File removed.
  3820. * sysdeps/unix/sysv/linux/mlockall.S: File removed.
  3821. * sysdeps/unix/sysv/linux/mount.S: File removed.
  3822. * sysdeps/unix/sysv/linux/munlock.S: File removed.
  3823. * sysdeps/unix/sysv/linux/munlockall.S: File removed.
  3824. * sysdeps/unix/sysv/linux/pipe.S: File removed.
  3825. * sysdeps/unix/sysv/linux/s_ptrace.S: File removed.
  3826. * sysdeps/unix/sysv/linux/setpgid.S: File removed.
  3827. * sysdeps/unix/sysv/linux/setsid.S: File removed.
  3828. * sysdeps/unix/sysv/linux/settimeofday.S: File removed.
  3829. * sysdeps/unix/sysv/linux/sigpending.S: File removed.
  3830. * sysdeps/unix/sysv/linux/stty.S: File removed.
  3831. * sysdeps/unix/sysv/linux/umount.S: File removed.
  3832. * sysdeps/unix/sysv/linux/wait4.S: File removed.
  3833. * sysdeps/unix/sysv/linux/i386/ipc.S: File removed.
  3834. * sysdeps/unix/sysv/sco3.2.4/pathconf.S: File removed.
  3835. * sysdeps/unix/sysv/sco3.2.4/pgrpsys.S: File removed.
  3836. * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: File removed.
  3837. * sysdeps/unix/sysv/sco3.2.4/sigpending.S: File removed.
  3838. * sysdeps/unix/sysv/sco3.2.4/sigprocmask.S: File removed.
  3839. * sysdeps/unix/sysv/sco3.2.4/sigsuspend.S: File removed.
  3840. * sysdeps/unix/sysv/sysv4/pgrpsys.S: File removed.
  3841. * sysdeps/unix/sysv/sysv4/sigprocmask.S: File removed.
  3842. * sysdeps/unix/sysv/sysv4/sigsuspend.S: File removed.
  3843. * sysdeps/unix/sysv/sysv4/sysconfig.S: File removed.
  3844. * sysdeps/unix/sysv/sysv4/sysinfo.S: File removed.
  3845. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sys-sig.S: File removed.
  3846. * io/mknod.c: New file.
  3847. * Makerules (COMPILE.s): New variable.
  3848. * sysdeps/unix/Makefile (sysd-syscalls): New target; generate with
  3849. make-syscalls.sh and include it.
  3850. [$(subdir)=misc] (sysdep_routines): Append extra syscalls from
  3851. sysd-syscalls.
  3852. * sysdeps/unix/make-syscalls.sh: New file.
  3853. * Makerules (COMPILE.S): New variable.
  3854. Wed Jan 17 11:04:58 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3855. * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
  3856. _STAT_VER_SVR4, _STAT_VER): New macros.
  3857. (_MKNOD_VER_LINUX, _MKNOD_VER_SVR4, _MKNOD_VER): New macros.
  3858. * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
  3859. New macros.
  3860. * io/sys/stat.h (_STAT_VER, _MKNOD_VER): New macros.
  3861. (__xstat, __fxstat, __lxstat, __xmknod): Declare new functions.
  3862. [__GNUC__] (stat, fstat, lstat, mknod): Define these (and __ names)
  3863. as `extern inline's calling the `x' functions.
  3864. * io/fstat.c: New file.
  3865. * io/lstat.c: New file.
  3866. * io/stat.c: New file.
  3867. * sysdeps/generic/lstat.c: File removed.
  3868. * sysdeps/generic/lxstat.c: New file.
  3869. * sysdeps/mach/hurd/fstat.c: File removed.
  3870. * sysdeps/mach/hurd/fxstat.c: New file.
  3871. * sysdeps/mach/hurd/lstat.c: File removed.
  3872. * sysdeps/mach/hurd/lxstat.c: New file.
  3873. * sysdeps/mach/hurd/mknod.c: File removed.
  3874. * sysdeps/mach/hurd/stat.c: File removed.
  3875. * sysdeps/mach/hurd/xmknod.c: New file.
  3876. * sysdeps/mach/hurd/xstat.c: New file.
  3877. * sysdeps/stub/fstat.c: File removed.
  3878. * sysdeps/stub/fxstat.c: New file.
  3879. * sysdeps/stub/lstat.c: File removed.
  3880. * sysdeps/stub/lxstat.c: New file.
  3881. * sysdeps/stub/mknod.c: File removed.
  3882. * sysdeps/stub/stat.c: File removed.
  3883. * sysdeps/stub/xmknod.c: New file.
  3884. * sysdeps/stub/xstat.c: New file.
  3885. * sysdeps/unix/common/lstat.S: File removed.
  3886. * sysdeps/unix/common/lxstat.c: New file.
  3887. * sysdeps/unix/fstat.S: File removed.
  3888. * sysdeps/unix/fxstat.c: New file.
  3889. * sysdeps/unix/mknod.S: File removed.
  3890. * sysdeps/unix/stat.S: File removed.
  3891. * sysdeps/unix/sysv/linux/fstat.c: File removed.
  3892. * sysdeps/unix/sysv/linux/i386/fxstat.S: File removed.
  3893. * sysdeps/unix/sysv/linux/i386/lxstat.S: File removed.
  3894. * sysdeps/unix/sysv/linux/i386/xmknod.S: File removed.
  3895. * sysdeps/unix/sysv/linux/i386/xstat.S: File removed.
  3896. * sysdeps/unix/sysv/linux/lstat.c: File removed.
  3897. * sysdeps/unix/sysv/linux/mknod.c: File removed.
  3898. * sysdeps/unix/sysv/linux/stat.c: File removed.
  3899. * sysdeps/unix/sysv/sysv4/i386/fstat.S: File removed.
  3900. * sysdeps/unix/sysv/sysv4/i386/lstat.S: File removed.
  3901. * sysdeps/unix/sysv/sysv4/i386/mknod.S: File removed.
  3902. * sysdeps/unix/sysv/sysv4/i386/stat.S: File removed.
  3903. * sysdeps/unix/xmknod.c: New file.
  3904. * sysdeps/unix/xstat.c: New file.
  3905. * sysdeps/unix/mkfifo.c: Use __xmknod instead of __mknod.
  3906. * misc/Makefile (routines): Remove mknod.
  3907. * sysdeps/ieee754/ieee754.h (union ieee854_long_double.ieee_nan):
  3908. Add missing ; in little-endian case.
  3909. * elf/dynamic-link.h [ELF_MACHINE_NO_REL] (ELF_DYNAMIC_DO_REL):
  3910. Define this instead of ELF_DYNAMIC_DO_RELA.
  3911. * sysdeps/unix/sysv/time.S: Moved from sysv4.
  3912. * sysdeps/unix/sysv/irix4/time.S: File removed.
  3913. * sysdeps/unix/sysv/linux/signum.h: Moved from
  3914. sysdeps/unix/sysv/linux/i386.
  3915. (_NSIG): Move inside #ifdef _SIGNAL_H.
  3916. Tue Jan 16 17:37:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  3917. * sysdeps/unix/seekdir.c: Don't modify POS before seeking.
  3918. * sysdeps/unix/telldir.c: Fix position calculation to account for
  3919. buffered data properly.
  3920. * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
  3921. library.
  3922. * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
  3923. * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
  3924. global.
  3925. [! HAVE_INITFINI]: Only make it a constructor in this case.
  3926. * gmon/Makefile (CFLAGS-mcount.c): New variable.
  3927. (mcount.po): New target.
  3928. * Makeconfig (CFLAGS): Append $(CFLAGS-$(<F)).
  3929. * csu/Makefile [have-initfini=yes] (CPPFLAGS): Append -DHAVE_INITFINI.
  3930. (initfini): Compile initfini.c with -fPIC.
  3931. Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  3932. * sysdeps/mips/bytesex.h: Add default byte sex. By Ralf Bächle.
  3933. * sysdeps/unix/sysv/linux/adjtime.c [! MOD_OFFSET]: Use `mode'
  3934. member of `struct timex' instead of `modes'. From Andreas Schwab.
  3935. * sysdeps/unix/sysv/linux/mknod.c: New file. Generic C version.
  3936. * sysdeps/unix/sysv/linux/i386/mknod.S: Remove assembler version.
  3937. * sysdeps/unix/sysv/linux/Makefile (inhibit-glue): New variable.
  3938. [$(subdir) = misc] (sysdep_routines): Add mount, umount, and s_ptrace.
  3939. [$(subdir) = misc] (headers): Append sys/mount.h.
  3940. * sysdeps/unix/sysv/linux/mount.S, sysdeps/unix/sysv/linux/umount.S:
  3941. New files. Implement system calls.
  3942. * sysdeps/unix/sysv/linux/sys/mount.h: New header file.
  3943. * sysdeps/unix/sysv/linux/ptrace.c: New file. Wrapper around
  3944. ptrace system call.
  3945. * sysdeps/unix/sysv/linux/s_ptrace.S: New file: ptrace system call.
  3946. * sysdeps/unix/sysv/linux/i386/gnu/types.h: New file with correct
  3947. types for i386/Linux.
  3948. Sun Jan 14 17:51:09 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
  3949. * MakeTAGS (all-sources, all-headers): Always search the
  3950. current directory first.
  3951. * db/btree/bt_seq.c (__bt_first): Return RET_SPECIAL when key not
  3952. found.
  3953. * stdio-common/vfscanf.c (inchar, conv_error, input_error,
  3954. memory_error): Add cast to void to avoid gcc warning.
  3955. (vfscanf): Rewrite character class parsing to make it more efficient.
  3956. * misc/efgcvt_r.c (ecvt_r): Handle negative values.
  3957. * stdlib/stdlib.h: Replace __CONSTVALUE by attribute.
  3958. * stdlib/abs.c, stdlib/div.c, stdlib/labs.c, stdlib/ldiv.c,
  3959. sysdeps/generic/hypot.c: Remove obsolete __CONSTVALUE.
  3960. * stdio-common/printf_fp.c (__printf_fp): Fix parameter
  3961. declaration.
  3962. * sysdeps/generic/putenv.c (putenv): Fix second argument of
  3963. setenv.
  3964. * sysdeps/ieee754/hypot.c: New file, extracted out of cabs.c.
  3965. * sysdeps/ieee754/cabs.c: Don't define hypot here.
  3966. * sysdeps/ieee754/ieee754.h (union ieee854_long_double): Fix
  3967. definition of ieee_nan alternative.
  3968. * sysdeps/m68k/__longjmp.c, sysdeps/m68k/setjmp.c: Add register
  3969. prefix spec.
  3970. * sysdeps/m68k/ffs.c (ffs): Fix register constraint.
  3971. * sysdeps/m68k/fpu/__math.h: Include <errno.h>. Replace obsolete
  3972. __CONSTVALUE by attribute.
  3973. (floor): Round to negative infinity.
  3974. (rint, expm1) [__NO_MATH_INLINES]: Don't define, to avoid type
  3975. clash when compiling source.
  3976. (pow): Handle x == 0 and x < 0.
  3977. (ceil, __isinf, __isnan): Fix register constraints.
  3978. (__isinfl, __isnanl): Added.
  3979. * sysdeps/m68k/fpu/acos.c, sysdeps/m68k/fpu/atan2.c,
  3980. sysdeps/m68k/fpu/fmod.c, sysdeps/m68k/fpu/ldexp.c,
  3981. sysdeps/m68k/fpu/pow.c: Remove obsolete __CONSTVALUE.
  3982. * sysdeps/m68k/bsd-_setjmp.S, sysdeps/m68k/bsd-setjmp.S: Fix
  3983. assembler syntax.
  3984. * sysdeps/unix/bsd/bsd4.4/fchdir.S (fchdir): Take only one
  3985. argument.
  3986. * sysdeps/unix/bsd/clock.c (timeval_to_clock_t): Fix timeval to
  3987. clock_t conversion.
  3988. (clock): Don't multiply by CLOCKS_PER_SEC.
  3989. * sysdeps/unix/bsd/poll.c (poll): Fix msec to timeval conversion.
  3990. * sysdeps/unix/bsd/sun/m68k/brk.S (brk): Compare with address of
  3991. __end.
  3992. * sysdeps/unix/bsd/sun/m68k/vfork.S: Fix assembler syntax.
  3993. * sysdeps/unix/bsd/ualarm.c (ualarm): Fix timeval calculation.
  3994. * sysdeps/unix/bsd/vax/vfork.S: Remove duplicate label.
  3995. Sun Jan 14 01:01:10 1996 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  3996. * stdlib/strtol.c: Return correct pointer for strings
  3997. like "0xyz" and base 0 or 16.
  3998. * string/strxfrm.c: Handle case for LENGTH == 0 correct.
  3999. * sunrpc/etc.rpc: Add some more known protocols.
  4000. Fri Jan 12 13:40:01 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4001. * posix/gnu/types.h: Moved to sysdeps/generic/gnu/types.h.
  4002. * posix/glob.c (glob): Add parens in glob call flags arg for
  4003. GLOB_BRACE case.
  4004. * string/string.h (strdupa): New macro.
  4005. * stdio-common/vfscanf.c (%[): Grok ] as first char in set, not
  4006. terminator on empty set. From drepper.
  4007. Thu Jan 11 13:09:20 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4008. * elf/do-rel.h (elf_dynamic_do_rel): Use referring symbol as
  4009. referent for STB_LOCAL.
  4010. Wed Jan 10 10:11:39 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4011. * time/africa, time/antarctica, time/asia, time/australasia,
  4012. time/europe, time/northamerica, time/pacificnew, time/solar87,
  4013. time/solar88, time/solar89, time/southamerica: Updated from ADO 96a.
  4014. Tue Jan 9 16:10:26 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4015. * elf/dl-load.c (_dl_map_object_from_fd): After mapping first
  4016. segment to find location, mprotect excess region to no access,
  4017. don't munmap it.
  4018. * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
  4019. KERN_NO_SPACE for fixed location, deallocate it and try again.
  4020. Mon Jan 8 17:43:23 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4021. * locale/Makefile (lib-modules): Renamed hash to locfile-hash.
  4022. * locale/hash.c: Renamed to locale/locfile-hash.c.
  4023. Sat Jan 6 16:39:14 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4024. * Makefile (subdirs): Added db.
  4025. * resolv/Makefile (routines): Add res_data.
  4026. * resolv/res_data.c, resolv/res_debug.c, resolv/resolv.h:
  4027. Updated from BIND 4.9.3 final release.
  4028. * elf/dynamic-link.h (elf_get_dynamic_info): Handle
  4029. processor-specific tags.
  4030. (ELF_DYNAMIC_DO_REL, ELF_DYNAMIC_DO_RELA): Handle absent DT_PLTREL tag.
  4031. * elf/elf.h (DT_MIPS_NUM, DT_PROCNUM): New macros.
  4032. * elf/link.h (struct link_map): Extend `l_info' by DT_PROCNUM.
  4033. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Take new
  4034. arg LAZY. Only do our work if LAZY and there is a DT_JMPREL record.
  4035. * elf/dl-reloc.c (_dl_relocate_object): Call
  4036. elf_machine_runtime_setup unconditionally, and pass it LAZY flag.
  4037. * elf/dl-load.c: Fixed ELFMAG check to work for either byte order.
  4038. Align end of load segment only to page size, not to segment alignment.
  4039. Thu Jan 4 11:35:18 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4040. * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
  4041. preemption interface.
  4042. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  4043. Use _hurdsig_catch_memory_fault.
  4044. * hurd/Makefile (headers): Add hurd/sigpreempt.h.
  4045. (sig): Add catch-signal.
  4046. * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
  4047. Rewritten using a preempter in new interface.
  4048. * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
  4049. (_hurdsig_catch_memory_fault): New macro.
  4050. Wed Jan 3 20:23:42 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4051. * hurd/catch-signal.c: New file.
  4052. * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
  4053. * hurd/hurdsig.c: Use new hurdfault.h interface.
  4054. (abort_all_rpcs): Mutate return value to EINTR in threads whose
  4055. replies we will wait for.
  4056. * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
  4057. do ourselves last.
  4058. Wed Jan 3 19:17:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
  4059. * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
  4060. to auth_makeauth() in the right order.
  4061. Wed Jan 3 17:19:04 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4062. * sysdeps/generic/strsep.c: Rewritten.
  4063. * sysdeps/mach/hurd/fork.c: Use a different workaround for the
  4064. suspended page fault deadlock kernel bug: thread_abort our signal
  4065. thread first thing after proc_dostop.
  4066. * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
  4067. recognize rootness properly.
  4068. Tue Jan 2 00:50:10 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4069. * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
  4070. (hurd_preempt_signals, hurd_unpreempt_signals): Decls removed.
  4071. * hurd/hurd/sigpreempt.h: New file.
  4072. * hurd/preempt-sig.c: Rewritten with new interface.
  4073. * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
  4074. preempters being unwound past.
  4075. * hurd/hurdsig.c: Use new signal preemption interface.
  4076. * db: New directory, 4.4 BSD db package incorporated from BSD db-1.85
  4077. release.
  4078. * sysdeps/unix/sysv/linux/sys/param.h: Several new macros for BSD
  4079. compatibility.
  4080. * misc/queue.h: New file, incorporated from 4.4BSD.
  4081. * misc/Makefile (headers): Add queue.h.
  4082. * posix/sys/types.h [__USE_BSD]: Include endian.h.
  4083. * io/sys/stat.h (DEFFILEMODE, ALLPERMS, ACCESSPERMS, S_BLKSIZE):
  4084. New macros.
  4085. Thu Dec 28 10:21:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4086. * sysdeps/generic/confname.h: Define all names as self-referential
  4087. macros so #ifdef works.
  4088. * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
  4089. of _hurd_signal_preempters[SIGNO].
  4090. Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4091. * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
  4092. EADDRINUSE. If translated node doesn't grok ifsock protocol,
  4093. return EADDRINUSE.
  4094. * sysdeps/mach/hurd/connect.c: Make address arg
  4095. `const struct sockaddr_un *'.
  4096. The redecl is kosher and avoids another variable for AF_LOCAL case.
  4097. * sysdeps/mach/hurd/sendto.c: Likewise.
  4098. * sysdeps/mach/hurd/bind.c: Likewise.
  4099. * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
  4100. code for GCC >= 2.7; use __transparent_union__ for name safety;
  4101. add several sockaddr flavors.
  4102. (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
  4103. constructing the transparent union declarations.
  4104. (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
  4105. (bind, connect, sendto): Make the sockaddr argument use that.
  4106. Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4107. * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
  4108. old vector.
  4109. * sysdeps/mach/hurd/setuid.c: Likewise.
  4110. * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
  4111. right thing.
  4112. * sysdeps/mach/hurd/setgid.c: Likewise.
  4113. * sysdeps/mach/hurd/setreuid.c: Likewise.
  4114. * sysdeps/mach/hurd/setregid.c: Likewise.
  4115. * sysdeps/mach/hurd/setegid.c: Likewise.
  4116. * sysdeps/mach/hurd/seteuid.c: Likewise.
  4117. * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
  4118. proc_dostop call to work around kernel paging bug.
  4119. Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
  4120. * stdio-common/vfscanf.c: Correctly handle white space skipping.
  4121. * stdio-common/Makefile (tests): Add bug11.
  4122. * stdio-common/bug11.c: New file.
  4123. Thu Dec 21 12:19:32 1995 Miles Bader <miles@gnu.ai.mit.edu>
  4124. * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
  4125. instead of putting it (and other uids) in the gids and leaving the
  4126. old uids as is.
  4127. Wed Dec 20 18:23:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4128. * stdio/internals.c (flushbuf): If the target is -1, always
  4129. discard the buffer of read data.
  4130. Only set TWIDDLED flag in !ALIGNED case.
  4131. Never increment target or offset when old value is -1.
  4132. Tue Dec 19 17:00:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4133. * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
  4134. pgrp changes.
  4135. Mon Dec 18 13:40:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4136. * stdio/fread.c: Don't increment __offset when it's -1.
  4137. * elf/rtld.c (dl_main): Prepend tab to "statically linked". Exit
  4138. 0 in that case.
  4139. * misc/err.c (vwarnx, vwarn): Fix major brainos.
  4140. * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
  4141. inheritance.
  4142. Sun Dec 17 15:56:35 1995 Miles Bader <miles@gnu.ai.mit.edu>
  4143. * misc/getpass.c (getpass): Don't barf if getline returns a null BUF.
  4144. Sat Dec 16 10:33:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4145. * Makerules: Use $(do-install-so) for installing shared objects.
  4146. (do-install-so): New canned sequence. Make a symlink LIB.so after
  4147. installing LIB.so.VERSION.
  4148. * inet/netinet/in.h: Fixed typo in IPPORT_WHOIS.
  4149. Fri Dec 15 04:41:22 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4150. * stdio-common/Makefile (tests): Add bug10.
  4151. * stdio-common/bug10.c: New file. From HJ Lu.
  4152. * stdio-common/tstdiomisc.c: Make more test-suite like: exit
  4153. status tells about successful run.
  4154. * stdio-common/vfscanf.c [!USE_IN_LIBIO]: Use `flags' to check
  4155. format correctness.
  4156. Correct handling of trailing white spaces in format + EOF.
  4157. Fri Dec 15 01:31:56 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4158. * stdio-common/Makefile (tests): Add bug8 and bug9.
  4159. * stdio-common/bug8.c, stdio-common/bug9.c: New tests.
  4160. * stdio-common/vfscanf.c: Fix bug in dynamic buffer handling.
  4161. * stdlib/strtod.c: Correct spelling: nominator -> numerator.
  4162. Thanks to Jim Meyering.
  4163. Sat Nov 25 06:05:12 1995 H.J. Lu <hjl@nynexst.com>
  4164. * stdio-common/vfscanf.c: Always check width !=0.
  4165. Correctly handle %%.
  4166. Thu Dec 14 02:28:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4167. * posix/glob.c (glob_in_dir): Cast result of opendir to __ptr_t,
  4168. and cast STREAM to DIR * before passing to readdir and closedir.
  4169. Wed Dec 13 22:06:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4170. * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
  4171. after aborting RPCs but before calling proc_mark_stop.
  4172. Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4173. * posix/glob.c [! STDC_HEADERS]: Declare getenv.
  4174. (glob): Avoid using function as value.
  4175. * elf/rtld.c (dl_main): When mapping argument executable, set
  4176. l_name to "", not l_libname.
  4177. After loading DT_NEEDED library, set its l_type to lt_library.
  4178. * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
  4179. VM_INHERIT. We can't handle MAP_INHERIT easily.
  4180. Handle non-page-aligned addresses if congruent to offset.
  4181. * elf/dl-init.c: Skip the initializer for l_type lt_executable
  4182. with l_name "". Start at _dl_loaded; don't skip the first element.
  4183. * elf/dl-load.c (MAP_FILE): Define to zero if undefined.
  4184. (MAP_COPY): Define to MAP_PRIVATE if undefined.
  4185. (_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
  4186. If file it ET_EXEC, set its l_type to lt_executable.
  4187. Sun Dec 10 09:56:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4188. * elf/dl-minimal.c (malloc): Use MAP_PRIVATE in mmap call.
  4189. Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4190. * locale/error.c, locale/error.h: Files removed.
  4191. * locale/Makefile (distribute): Remove error.h.
  4192. (lib-modules): Remove error.
  4193. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
  4194. magic, return ENXIO if no ctty.
  4195. * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
  4196. mapping if vm_map fails for that reason.
  4197. * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE,
  4198. GLOB_TILDE, GLOB_NOMAGIC.
  4199. (glob): Use stat instead of lstat to determine directoriness.
  4200. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE):
  4201. New flag bits.
  4202. (__GLOB_FLAGS): Include them.
  4203. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat,
  4204. gl_stat.
  4205. * elf/elf.h (ET_NUM, SHT_NUM, STB_NUM, STT_NUM, PT_NUM): New macros.
  4206. * sysdeps/unix/sysv/linux/sys/mman.h: Include <linux/mman.h> to
  4207. define all the bit values.
  4208. (MAP_*, MCL_*): Macros removed.
  4209. Thu Dec 7 02:27:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4210. * resolv/res_comp.c, resolv/res_debug.c, resolv/res_send.c:
  4211. Updated from BIND 4.9.3-BETA27.
  4212. Wed Dec 6 18:44:01 1995 Miles Bader <miles@gnu.ai.mit.edu>
  4213. * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
  4214. * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
  4215. we get a delayed reply.
  4216. Only grab values out of entries in TYPES that have SELECT_RETURNED
  4217. turned on, and turn it on whenever an rpc returns.
  4218. Only clear bits in the user's fdsets -- those needing to be set
  4219. should be already.
  4220. Use SELECT_ALL in appropiate places.
  4221. (SELECT_RETURNED, SELECT_ALL): New macros.
  4222. Wed Dec 6 09:10:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4223. * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
  4224. * gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): New macro.
  4225. Tue Dec 5 14:00:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4226. * misc/Makefile (headers): Add error.h, err.h.
  4227. (routines): Add error, err.
  4228. (gpl2lgpl): New variable.
  4229. * misc/err.c: New file.
  4230. * misc/err.h: New file.
  4231. * misc/error.c, misc/error.h: New files.
  4232. * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
  4233. * Makeconfig (+link): Translate libc% from $^, not just libc.a.
  4234. (link-libc): Append $(libc.so-version) to libc.so.
  4235. (built-program-cmd): Fix comma usage.
  4236. * Makerules [libc.so-version] (libc.so$(libc.so-version)): Make a
  4237. symlink to libc.so in the build directory.
  4238. * Rules ($(others) $(tests)): Depend on the library that appears
  4239. in $(link-libc).
  4240. (%.out): Use $(built-program-cmd) in commands.
  4241. * posix/unistd.h [__USE_MISC]: Declare brk, sbrk.
  4242. * sysdeps/generic/setenv.c: Added canonical portability cruft.
  4243. (setenv): Use realloc on LAST_ENVIRON instead of always copying.
  4244. (unsetenv): New function.
  4245. * stdlib/stdlib.h [__USE_BSD]: Declare unsetenv.
  4246. * sysdeps/generic/putenv.c: Rewritten using setenv and unsetenv.
  4247. Tue Dec 5 02:27:32 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4248. * libio/Makefile (routines): Remove iofscanf, add iopopen, pclose.
  4249. * libio/iofscanf.c: Remove file.
  4250. * libio/iogetdelim.c (_IO_getdelim): Correct stupid bug at string
  4251. termination.
  4252. * libio/iopopen.c: New file from GNU libio.
  4253. * libio/memstream.c: Fixed bug in fclose handling. Instead of
  4254. providing a close callback we need a finish callback.
  4255. * libio/pclose.c: New file. Derived from popen.c in GNU libio.
  4256. * posix/gnu/types.h: Fixed typo.
  4257. * stdio-common/errnobug.c: fputs returns EOF in error case. Do
  4258. not test for != 0.
  4259. * stdio-common/printf-parse.h (parse_one_spec): Do not force
  4260. padding with ' ' if precision is given. Fix by HJ Lu.
  4261. * stdio-common/printf_fp.c: Fix comment.
  4262. * stdio-common/tfformat.c, stdio-common/tiformat.c,
  4263. stdio-common/tstdiomisc.c: New files from GNU libio test suite.
  4264. * stdio-common/tstgetln.c: Provide ssize_t type when testing
  4265. libio.
  4266. * stdio-common/vfprintf.c (outchar): Use PUTC instead of putc.
  4267. (vfprintf): Cleasr args_type array before using it.
  4268. When printing 0 as an integer with precision 0 nothing must be
  4269. written for the number.
  4270. Based on patch by HJ Lu.
  4271. * stdio-common/vfscanf.c: Remove fixed input buffer. Now we
  4272. have a dynamically extended buffer.
  4273. * stdlib/strtod.c: Merge with version in Linux libc. This fixes
  4274. some bugs with handling of very small numbers and has different
  4275. solution for formaer patches.
  4276. * sysdeps/i386/i586/add_n.S, sysdeps/i386/i586/sub_n.S: Rename
  4277. macros r1 and r2 to t1, and t2 resp. This is necessary because
  4278. glibc headers also define r1.
  4279. Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4280. * stdlib/gen-mpn-copy (translations): Updated for new layout in
  4281. GMP 1.910.
  4282. * malloc/malloc.c (__malloc_initialize): Renamed from initialize;
  4283. made global.
  4284. (malloc): Caller changed.
  4285. * malloc/realloc.c (realloc): Call __malloc_initialize if
  4286. necessary, before checking hook.
  4287. * malloc/malloc.h: Declare __malloc_initialize.
  4288. * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
  4289. as integer_t arg in RPC.
  4290. Sat Dec 2 03:47:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4291. * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
  4292. (_hurd_set_brk): Try to allocate more space when we run out.
  4293. * sysdeps/generic/sbrk.c: If __curbrk is zero, call __brk with
  4294. zero and examine it again.
  4295. * sysdeps/unix/sysv/linux/i386/brk.c: New file.
  4296. * sysdeps/unix/sysv/linux/i386/brk.S: File removed.
  4297. * sysdeps/unix/sysv/linux/i386/sbrk.S: File removed.
  4298. * sysdeps/unix/sysv/linux/dl-sysdep.c: New file.
  4299. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_SYSDEP_INIT]:
  4300. Invoke this macro before calling DL_MAIN.
  4301. * malloc/malloc.c (malloc): Do initialization here, before
  4302. checking the hook.
  4303. (_malloc_internal): Don't do it here.
  4304. Wed Nov 29 12:30:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4305. * libio/vsnprintf.c (__vsnprintf): Define as alias.
  4306. * libio/iovsscanf.c (__vsscanf): Define as alias.
  4307. * asprintf.c: Remove libio adaptation code added by drepper.
  4308. * dprintf.c: Likewise.
  4309. * printf.c: Likewise.
  4310. * scanf.c: Likewise.
  4311. * snprintf.c: Likewise.
  4312. * sprintf.c: Likewise.
  4313. * sscanf.c: Likewise.
  4314. * vprintf.c: Likewise.
  4315. * stdio-common/vfscanf.c [USE_IN_LIBIO] (__vfscanf): New wrapper
  4316. function.
  4317. (vfscanf): Define unconditionally.
  4318. * sysdeps/i386/dl-machine.h (elf_machine_rel): If SYM is null, use
  4319. zero for value.
  4320. * misc/getpass.c: Write a newline after reading the unechoed
  4321. password.
  4322. Mon Nov 27 19:24:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4323. * posix/Makefile (routines): Add getsid.
  4324. * sysdeps/unix/sysv/linux/getsid.S: New file.
  4325. * sysdeps/mach/hurd/getsid.c: New file.
  4326. * sysdeps/stub/getsid.c: New file.
  4327. * posix/unistd.h [__USE_GNU]: Declare getsid.
  4328. Sun Nov 26 12:44:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4329. * libc-symbols.h (N_): New macro.
  4330. Sat Nov 25 02:48:47 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4331. * assert/assert-perr.c, assert/assert.c, inet/rcmd.c,
  4332. malloc/mcheck.c, malloc/vm-limit.c, posix/getconf.c, posix/id.c,
  4333. resolv/herror.c, sunrpc/auth_unix.c, sunrpc/clnt_perr.c,
  4334. sunrpc/clnt_raw.c, sunrpc/get_myaddr.c, sunrpc/pmap_clnt.c,
  4335. sunrpc/pmap_rmt.c, sunrpc/portmap.c, sunrpc/rpc_main.c,
  4336. sunrpc/rpc_parse.c, sunrpc/rpc_scan.c, sunrpc/rpc_util.c,
  4337. sunrpc/rpcinfo.c, sunrpc/svc_simple.c, sunrpc/svc_tcp.c,
  4338. sunrpc/svc_udp.c, time/zdump.c, time/zic.c: Mark translatable
  4339. strings.
  4340. Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4341. * misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio.
  4342. Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4343. * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S:
  4344. New files.
  4345. * sysdeps/unix/sysv/linux/sys/mman.h: Add prototypes for new functions
  4346. mlock, munlock, mlockall, and munlockall.
  4347. Thu Nov 23 18:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4348. * configure.in (--enable-libio): Set $stdio based on $enableval,
  4349. not always to libio.
  4350. Thu Nov 23 18:06:48 1995 Richard Stallman <rms@gnu.ai.mit.edu>
  4351. * malloc/malloc.c (_malloc_internal): Can't use
  4352. get_contiguous_space when the heap info table
  4353. will be growing. Account for new contiguous space in _heaplimit.
  4354. Wed Nov 22 12:37:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4355. * sysdeps/unix/sysv/linux/i386/sysdep.S (_errno): Define as alias
  4356. for errno.
  4357. * stdio-common/vfprintf.c [USE_IN_LIBIO] (vfprintf): Define as
  4358. alias for _IO_vfprintf.
  4359. * sysdeps/unix/sysv/linux/sockaddrcom.h: File removed.
  4360. * sysdeps/unix/sysv/linux/i386/init-first.c (init): Use
  4361. __fpu_control instead of ___fpu_control.
  4362. * sysdeps/unix/sysv/linux/i386/ieee_fpu.c
  4363. (___fpu_control): Renamed to __fpu_control.
  4364. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Likewise.
  4365. * sysdeps/unix/sysv/linux/i386/fpu_control.c: Likewise.
  4366. * elf/dl-minimal.c: New file.
  4367. * elf/Makefile (rtld-routines): Add dl-minimal.
  4368. * elf/rtld.c (__dgettext, __assert_fail, __assert_perror_fail):
  4369. Functions moved to dl-minimal.c.
  4370. * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
  4371. sigjmp_save, longjmp): Likewise.
  4372. * sysdeps/unix/sysv/linux/i386/brk.S (__curbrk): Always initialize
  4373. to &_end, regardless of PIC.
  4374. * stdio-common/vfscanf.c (__vfscanf): Fix arg name in defn.
  4375. Tue Nov 21 14:12:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4376. * malloc/malloc.c (align): Don't check contiguity and call abort.
  4377. * hurd/hurdsig.c (post_reply): Function removed.
  4378. (abort_thread, abort_all_rpcs, _hurdsig_abort_rpcs): Don't call it.
  4379. Take single callback fn arg instead of reply port and type.
  4380. (_hurd_internal_post_signal): Callers changed.
  4381. Cache reply stub fn ptr in local var before UNTRACED might be changed.
  4382. * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
  4383. PROT_READ|PROT_WRITE copy mapping. Pass a proper vm_inherit_t to
  4384. vm_map.
  4385. * elf/rtld.c (_dl_start): For --list, do output and exit before
  4386. relocating.
  4387. Mon Nov 20 16:19:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4388. * intl/Makefile [gettext-srcdir]: Rewrote copying rules to only
  4389. get .c and .h files.
  4390. * malloc/malloc.c (align): Use abort instead of assert.
  4391. Sun Nov 19 18:23:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4392. * Makeconfig (+includes): Add $($(stdio)-include).
  4393. (libio-include): New variable.
  4394. * stdlib/strtod.c: Put weak_symbol after function defn.
  4395. * stdlib/strtol.c: Likewise.
  4396. * configure.in (--enable-libio): If not present, set $stdio to
  4397. "default". Move stdio/libio check to end, so sysdeps fragments
  4398. can affect it. Reset $stdio to "stdio" if it's "default".
  4399. * sysdeps/unix/sysv/linux/configure: New file.
  4400. Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4401. * libio/Makefile, libio/cleanup.c, libio/clearerr.c, libio/feof.c,
  4402. libio/ferror.c, libio/fgetc.c, libio/filedoalloc.c, libio/fileno.c,
  4403. libio/fileops.c, libio/fputc.c, libio/freopen.c, libio/fseek.c,
  4404. libio/genops.c, libio/getc.c, libio/getchar.c, libio/iofclose.c,
  4405. libio/iofdopen.c, libio/iofflush.c, libio/iofgetpos.c, libio/iofgets.c,
  4406. libio/iofopen.c, libio/iofprintf.c, libio/iofputs.c, libio/iofread.c,
  4407. libio/iofscanf.c, libio/iofsetpos.c, libio/ioftell.c, libio/iofwrite.c,
  4408. libio/iogetdelim.c, libio/iogetline.c, libio/iogets.c, libio/iolibio.h,
  4409. libio/iopadn.c, libio/ioprims.c, libio/ioputs.c, libio/ioseekoff.c,
  4410. libio/ioseekpos.c, libio/iosetbuffer.c, libio/iosetvbuf.c,
  4411. libio/iosprintf.c, libio/ioungetc.c, libio/iovsprintf.c,
  4412. libio/iovsscanf.c, libio/libio.h, libio/libioP.h, libio/putc.c,
  4413. libio/putchar.c, libio/rewind.c, libio/setbuf.c, libio/setlinebuf.c,
  4414. libio/stdfiles.c, libio/stdio.c, libio/stdio.h, libio/strfile.h,
  4415. libio/strops.c, libio/vasprintf.c, libio/vscanf.c, libio/vsnprintf.c:
  4416. New files. Slightly modified version from Linux libc.
  4417. * libio/memstream.c, libio/vdprintf.c: New files for functions not
  4418. (yet) part of GNU libio.
  4419. * libio/iofopncook.c: Implementation of `fopencookie', mainly written
  4420. by Per Bothner.
  4421. * stdio-common/getline.c: Adapted to libio.
  4422. * stdio-common/snprintf.c: Adapted to libio.
  4423. * stdio-common/vfprintf.c: Adapted to libio.
  4424. * stdio-common/vfscanf.c: Adapted to libio.
  4425. * sysdeps/posix/tempname.c: Adapted to libio.
  4426. Fri Nov 17 17:57:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4427. * sysdeps/generic/Makefile (make_siglist): Add missing backslash.
  4428. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): New
  4429. function.
  4430. * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
  4431. (_hurdsig_fault_init): Remove #if 0 from setting exception port.
  4432. Insert send right for SIGEXC before thread_set_special_port.
  4433. * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
  4434. (_hurdsig_init): Remove #if 0 from setting exception port.
  4435. * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
  4436. HURD_MSGPORT_RPC macro.
  4437. Thu Nov 16 06:07:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4438. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
  4439. function.
  4440. (_dl_sysdep_start): Move cleanup code there.
  4441. * Makeconfig (default-rpath): New variable.
  4442. (link-libc): Use it.
  4443. * elf/Makefile (ld.so): Pass -rpath=$(default-rpath).
  4444. * elf/rtld.c (_dl_rpath): New variable.
  4445. (_dl_start): Set it from rtld_map's DT_RPATH.
  4446. Call _dl_setup_hash on rtld_map.
  4447. (dl_main): Cache address of _exit in variable before relocating,
  4448. and use that in later calls. Call _dl_sysdep_start_cleanup before
  4449. relocating. Keep track of dependency order while loading; remove
  4450. rtld_map from chain, and reinsert in proper order if there is a
  4451. dependency on it.
  4452. * sysdeps/generic/Makefile (make_siglist): Pass
  4453. -DSIGNUM_H=... with config's signum.h location.
  4454. * sysdeps/generic/make_siglist.c: Include SIGNUM_H to define
  4455. signal numbers.
  4456. (HAVE_STRSIGNAL, HAVE_PSIGNAL): Define these before including signame.c
  4457. (main): Deansideclize output.
  4458. * elf/dl-load.c (_dl_map_object): Use _dl_rpath variable in place
  4459. of DEFAULT_RPATH macro.
  4460. * elf/Makefile: Undo last change.
  4461. * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
  4462. Wed Nov 15 19:22:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4463. * elf/dl-lookup.c (_dl_lookup_symbol): Undefined symbol is no
  4464. error if weak.
  4465. * elf/Makefile (default-rpath): New variable.
  4466. (CPPFLAGS): Append -DDEFAULT_RPATH=....
  4467. * elf/dl-load.c (_dl_map_object): Use DEFAULT_RPATH instead of
  4468. hard-coded "/lib:/usr/lib".
  4469. * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
  4470. instead of stdio.
  4471. (_dl_sysdep_start): If passed user entry is zero and
  4472. EXEC_STACK_ARGS flag set, reset user entry to &_start.
  4473. * elf/rtld.c (dl_main): Only call _dl_setup_hash if there is a
  4474. DT_HASH element.
  4475. * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Gratuitously
  4476. repeat weak decl using weak_symbol macro, in case using broken GCC
  4477. (<2.8).
  4478. Wed Nov 15 18:49:55 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4479. * sysdeps/i386/isnanl.c: New file.
  4480. * sysdeps/i386/isinfl.c: New file.
  4481. Tue Nov 14 18:44:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4482. * malloc/free.c (free): Moved null and aligned_blocks checks
  4483. inside _free_internal.
  4484. Mon Nov 13 15:23:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4485. * malloc/malloc.c (morecore): Fix inverted test in allocating new
  4486. info table.
  4487. * malloc/malloc.c (align): Fix assertion.
  4488. * malloc/malloc.c: Include assert.h.
  4489. * libc-symbols.h: Use __attribute__ for GCC 2.8, not 2.7.
  4490. * malloc/malloc.h [emacs] (emacs_loser_valloc): Macro removed.
  4491. (valloc): Protect decl with [! (_MALLOC_INTERNAL && emacs)].
  4492. Fri Nov 10 14:15:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4493. * malloc/malloc.c (align): Assert that space for alignment
  4494. adjustment is same original space.
  4495. * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
  4496. arg to vm_address_t.
  4497. * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
  4498. skip straight to pending check. When UNTRACED, resume process
  4499. from suspension first.
  4500. * intl/Makefile (headers): New variable, libintl.h.
  4501. [gettext-srcdir]: New rules to copy source from $(gettext-srcdir)/intl.
  4502. * configure.in: Check for --with-gettext arg.
  4503. Fri Nov 10 13:51:30 1995 Richard Stallman <rms@gnu.ai.mit.edu>
  4504. * malloc/malloc.c (get_contiguous_space): New function.
  4505. (morecore): Rewrite allocating new malloc info table.
  4506. (_malloc_internal): Use get_contiguous_space.
  4507. Fri Nov 10 13:03:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4508. * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
  4509. _hurd_msgport to be destroyed.
  4510. * Makerules (installed-libcs): Filter out %_pic.a.
  4511. * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
  4512. to our msgport to take SIGTRAP, instead of _hurd_raise_signal.
  4513. * hurd/Makefile (user-interfaces): Add hurd/process_request.
  4514. Wed Nov 8 16:31:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4515. * termios/Makefile (headers): Add sys/ttychars.h.
  4516. * termios/sys/ttychars.h: New file, incorporated from 4.4BSD-Lite
  4517. for compatibility.
  4518. * signal/signal.h [__USE_BSD] (sig_t): New typedef.
  4519. Wed Nov 8 15:12:47 1995 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
  4520. * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
  4521. proc server that we are now traced.
  4522. Tue Nov 7 12:29:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4523. * elf/Makefile (ldd): Make it executable.
  4524. * Makeconfig (config-LDFLAGS): Find dynamic linker in $(slibdir).
  4525. * Makeconfig (slibdir): New variable.
  4526. * Makerules (install): Install libc.so in $(slibdir).
  4527. * elf/Makefile (install-others): Install ld.so and ld-linux.so.1
  4528. in $(slibdir).
  4529. * elf/linux-compat.c: New file.
  4530. * elf/Makefile (distribute): Add linux-compat.c.
  4531. (generated): Add librtld.so.
  4532. [$(config-os)=linux*] (extra-objs): Add linux-compat.so.
  4533. [$(config-os)=linux*] (extra-objs): Add ld-linux.so.1.
  4534. (librtld.so): New target.
  4535. (ld.so, ld-linux.so.1): Make from librtld.so.
  4536. * elf/rtld.c (dl_main): Instead of weak call to _dl_compat_init,
  4537. call our own DT_INIT if we have one (and then clear it).
  4538. (__dgettext): New weak function.
  4539. * intl/localealias.c (read_alias_file): Avoid sprintf; use memcpy
  4540. by hand instead.
  4541. * sysdeps/generic/_strerror.c (_strerror_internal): Use _itoa
  4542. instead of snprintf.
  4543. * sysdeps/mach/_strerror.c (_strerror_internal): Don't write
  4544. BUF[BUFLEN].
  4545. * elf/rtld.c (rtld_map): New static variable.
  4546. (_dl_start): Use a differently named local BOOTSTRAP_MAP for the
  4547. bootstrapping. Then copy data into `rtld_map'.
  4548. (dl_main): Finish filling in rtld_map and link it into the chain,
  4549. instead of allocating a new structure.
  4550. (dl_main): Call _dl_compat_init if it is defined (use weak ref).
  4551. * elf/dlsym.c: Fix last change: move REF out of `doit'.
  4552. Mon Nov 6 16:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4553. * elf/dlsym.c: Return the proper value, not just the defining
  4554. object's loadbase.
  4555. Sun Nov 5 16:09:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4556. * stdio-common/vfprintf.c (%c): Count the character itself towards
  4557. the field width in all cases.
  4558. * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
  4559. __vm_deallocate arg to vm_address_t.
  4560. Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4561. * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
  4562. socket_create_address.
  4563. * sysdeps/mach/hurd/connect.c: Likewise.
  4564. * sysdeps/mach/hurd/bind.c: Likewise.
  4565. * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
  4566. args to proc_getprocinfo.
  4567. * sysdeps/mach/hurd/getpriority.c: Likewise.
  4568. * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
  4569. Thu Nov 2 19:24:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4570. * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Define as common.
  4571. Tue Oct 31 00:07:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4572. * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
  4573. PI_FETCH_TASKINFO to proc_getprocinfo and through
  4574. _hurd_priority_which_map.
  4575. * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
  4576. _hurd_priority_which_map.
  4577. * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
  4578. passed through to proc_getprocinfo RPC.
  4579. * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
  4580. * sysdeps/mach/hurd/group_member.c: New file.
  4581. * sysdeps/generic/group_member.c: New file.
  4582. * Makerules (lib-noranlib): Don't depend on $(install-lib).
  4583. (others): Do.
  4584. * extra-lib.mk: Fix test of $(lib)-no-lib-dep.
  4585. Mon Oct 30 12:33:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4586. * Rules (others): Depend on $(extra-objs).
  4587. * posix/unistd.h [__USE_GNU]: Declare group_member, __group_member.
  4588. * posix/Makefile (routines): Add group_member.
  4589. * sysdeps/posix/euidaccess.c: New file, adapted from fileutils.
  4590. * sysdeps/unix/sysv/linux/i386/sigaction.c: Tighten constraint for
  4591. SIG operand in asm so it must be a register.
  4592. Add dead return to quiet gcc warning.
  4593. * Makerules (sysd-rules): Write a defn for sysd-rules-done.
  4594. [! sysd-rules-done]: Inhibit deps.
  4595. Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4596. * sysdeps/unix/sysv/linux/poll.c: Don't define as stub. Use
  4597. simulation of system call using select.
  4598. * sysdeps/unix/sysv/linux/signal.c: Use POSIX implementation.
  4599. * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
  4600. * sysdeps/unix/sysv/linux/i386/sigaction.c: Correct parameter
  4601. name usage (new->act, old->oact).
  4602. Correct asm statement because of gcc strangeness.
  4603. * sysdeps/i386/i586/strchr.S: Correct typos: cmp -> cmpb.
  4604. * sunrpc/clnt_perr.c: Remove declaration of sys_errlist. They
  4605. conflict with the ones in stdio.h.
  4606. * string/tester.c: %Z is no complete format. Change to %Zd.
  4607. Thu Oct 26 18:13:33 1995 Miles Bader <miles@gnu.ai.mit.edu>
  4608. * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
  4609. * sysdeps/mach/hurd/link.c (__link): Ditto.
  4610. * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
  4611. * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
  4612. Include "stdio-common/_itoa.h" instead of "stdio/_itoa.h".
  4613. Thu Oct 26 00:11:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4614. * sysdeps/unix/sysv/linux/i386/sigaction.c: New file.
  4615. * sysdeps/unix/sysv/linux/i386/xstat.S: Don't use JUMPTARGET macro
  4616. on syscall_error. For PIC, it is a local label;
  4617. for non-PIC, JUMPTARGET expands to the unadorned name anyway.
  4618. * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
  4619. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
  4620. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  4621. * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
  4622. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
  4623. * sysdeps/unix/sysv/linux/i386/brk.S: Likewise.
  4624. Thu Oct 26 03:01:22 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4625. * sysdeps/unix/sysv/linux/syscall.h: Strip list of syscalls in
  4626. comment to the necessary ones. Add _readv and _writev.
  4627. * sysdeps/unix/configure.in: Change syntax for system call test
  4628. candidates and adapt sed script for this. Now use : to separate
  4629. syscall name and file name.
  4630. * sysdeps/unix/sysv/linux/i386/sysdep.h (ENTRY): System call
  4631. number is now set is DO_CALL. So call with additional argument.
  4632. (DO_CALL): Takes an additional argument. Load system call
  4633. number according to new argument.
  4634. (SYSCALL_ERROR_HANDLER): Add ; after last ret statement.
  4635. * sysdeps/unix/sysv/linux/i386/brk.S [PIC]: Define __syscall_error
  4636. locally using SYSCALL_ERROR_HANDLER macro.
  4637. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
  4638. * sysdeps/unix/sysv/linux/i386/sbrk.S: Likewise.
  4639. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  4640. * sysdeps/unix/sysv/linux/i386/xmknod.S: Likewise.
  4641. * sysdeps/unix/sysv/linux/i386/xstat.S: Likewise.
  4642. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
  4643. Don't use DO_CALL macro; instead use lower level macros for better
  4644. control.
  4645. * sysdeps/unix/sysv/linux/sigaction.h: New file.
  4646. * sysdeps/unix/sysv/linux/sigaction.S: File removed.
  4647. * sysdeps/unix/sysv/linux/signal.S: File removed.
  4648. Wed Oct 25 14:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4649. * hurd/hurdstartup.c (_hurd_startup): Use new
  4650. exec_startup_get_info RPC from exec_startup.defs
  4651. in place of old exec_startup from exec.defs. Remove kludge to
  4652. guess user entry and phdr locations, since the new RPC gives us
  4653. that info.
  4654. * stdio/stdio.h (sys_errlist, _sys_errlist): Declare const.
  4655. * sysdeps/generic/_strerror.c: Undo last change.
  4656. * sysdeps/unix/sysv/linux/stat.c: New file.
  4657. * sysdeps/unix/sysv/linux/fstat.c: New file.
  4658. * sysdeps/unix/sysv/linux/lstat.c: New file.
  4659. * sysdeps/unix/sysv/linux/i386/stat.S: File removed.
  4660. * sysdeps/unix/sysv/linux/i386/fstat.S: File removed.
  4661. * sysdeps/unix/sysv/linux/i386/lstat.S: File removed.
  4662. Tue Oct 24 15:22:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4663. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
  4664. New macro.
  4665. (PSEUDO): Use it instead of SYSCALL_PIC_SETUP and jmp syscall_error.
  4666. * sysdeps/unix/sysv/linux/i386/sysdep.S (__syscall_error): Define
  4667. only #ifndef PIC.
  4668. * Makeconfig (built-program-cmd): New variable.
  4669. * sunrpc/Makefile (rpcgen-cmd): Use $(built-program-cmd).
  4670. * time/Makefile (zic-cmd): Likewise.
  4671. * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
  4672. * sunrpc/Makefile (librpcsvc-no-lib-dep): New variable.
  4673. * extra-lib.mk: If $(lib)-no-lib-dep is defined and MAKELEVEL>0,
  4674. make `others' rather than `lib-noranlib' depend on the libraries.
  4675. * sysdeps/unix/configure.in: Check for fchdir syscall.
  4676. Improve sed script to allow / on rhs without / on lhs.
  4677. Thu Oct 19 03:47:32 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4678. * sysdeps/unix/sysv/linux/termbits.h: Don't define speed constants.
  4679. * elf/rtld.c: Include _itoa.h from stdio-common instead of stdio.
  4680. * sysdeps/unix/sysv/linux/select.S: New file.
  4681. Wed Oct 18 03:33:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4682. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Use
  4683. SYSCALL_PIC_SETUP before jumping to syscall_error.
  4684. * sysdeps/unix/i386/sysdep.h (SYSCALL_PIC_SETUP): New macro.
  4685. (PSEUDO): Use it before jumping to syscall_error.
  4686. * sysdeps/unix/i386/sysdep.S [! PIC]: Don't find GOT address;
  4687. expect it in %ebx on entry. Pop old %ebx value off stack after
  4688. using it.
  4689. * signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
  4690. them.
  4691. * sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
  4692. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
  4693. `fd/', pass the right pointer to strtol to parse the number.
  4694. Tue Oct 17 23:00:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4695. * sysdeps/mach/_strerror.c: Include stdio-common/_itoa.h instead
  4696. of stdio/_itoa.h.
  4697. Tue Oct 17 19:51:17 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4698. * sysdeps/unix/sysv/linux/i386/stat.S [PIC] (__stat): Set GOT
  4699. register %ebx before calling __xstat through PLT.
  4700. * sysdeps/unix/sysv/linux/i386/sysdep.S: Fix typo in comment.
  4701. * sysdeps/unix/sysv/linux/sigset.h: Remove file.
  4702. Tue Oct 17 01:21:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4703. * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
  4704. stdio/_itoa.h.
  4705. * hurd/hurdlookup.c: Likewise.
  4706. * hurd/hurd/signal.h: Declare hurd_preempt_signals and
  4707. hurd_unpreempt_signals.
  4708. * stdio/stdio.h: Declare __snprintf and __vsnprintf.
  4709. * stdio-common/psignal.c: Translate signal description strings.
  4710. * string/strsignal.c: Likewise.
  4711. * sysdeps/generic/_strerror.c (_strerror_internal): Translate
  4712. error strings.
  4713. * sysdeps/mach/_strerror.c: Likewise.
  4714. * stdio-common/snprintf.c (__snprintf): Renamed from snprintf;
  4715. call __vsnprintf.
  4716. (snprintf): Define as weak alias.
  4717. * stdio/vsnprintf.c (__vsnprintf): Renamed from vsnprintf.
  4718. (vsnprintf): Define as weak alias.
  4719. Mon Oct 16 03:22:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4720. * Makerules (install-lib): Filter out %_pic.a; install only the
  4721. linked shared objects.
  4722. * locale/Makefile (aux): Add SYS_libc.
  4723. * locale/SYS_libc.c: New file.
  4724. * libc-symbols.h [! ASSEMBLER] (_): New macro.
  4725. * configure.in (libc_cv_asm_set_directive): Link program into
  4726. conftest instead of letting it default to a.out.
  4727. * elf/Makefile (install-others): Add missing slash.
  4728. * elf/ldd.sh.in: Prepend `./' to relative file names so ld.so
  4729. won't search LD_LIBRARY_PATH.
  4730. * Makefile (subdirs): Replace stdio with stdio-common and $(stdio).
  4731. * configure.in: Grok arg --enable-libio.
  4732. ($stdio = libio): Define USE_IN_LIBIO.
  4733. * config.h.in (USE_IN_LIBIO): Add #undef.
  4734. * config.make.in (stdio): New variable, set by configure.
  4735. * Makeconfig (stdio): New variable.
  4736. * stdio.h [USE_IN_LIBIO]: Include libio/stdio.h instead of
  4737. stdio/stdio.h.
  4738. * stdio-common/Makefile: New file.
  4739. * stdio/Makefile: Half the contents moved to stdio-common/Makefile.
  4740. * stdio/_itoa.c: Moved to stdio-common.
  4741. * stdio/_itoa.h: Moved to stdio-common.
  4742. * stdio/asprintf.c: Moved to stdio-common.
  4743. * stdio/bug1.c: Moved to stdio-common.
  4744. * stdio/bug1.input: Moved to stdio-common.
  4745. * stdio/bug2.c: Moved to stdio-common.
  4746. * stdio/bug3.c: Moved to stdio-common.
  4747. * stdio/bug4.c: Moved to stdio-common.
  4748. * stdio/bug5.c: Moved to stdio-common.
  4749. * stdio/bug6.c: Moved to stdio-common.
  4750. * stdio/bug6.input: Moved to stdio-common.
  4751. * stdio/bug7.c: Moved to stdio-common.
  4752. * stdio/dprintf.c: Moved to stdio-common.
  4753. * stdio/errnobug.c: Moved to stdio-common.
  4754. * stdio/getline.c: Moved to stdio-common.
  4755. * stdio/getw.c: Moved to stdio-common.
  4756. * stdio/perror.c: Moved to stdio-common.
  4757. * stdio/printf-parse.h: Moved to stdio-common.
  4758. * stdio/printf-prs.c: Moved to stdio-common.
  4759. * stdio/printf.c: Moved to stdio-common.
  4760. * stdio/printf.h: Moved to stdio-common.
  4761. * stdio/printf_fp.c: Moved to stdio-common.
  4762. * stdio/psignal.c: Moved to stdio-common.
  4763. * stdio/putw.c: Moved to stdio-common.
  4764. * stdio/reg-printf.c: Moved to stdio-common.
  4765. * stdio/scanf.c: Moved to stdio-common.
  4766. * stdio/snprintf.c: Moved to stdio-common.
  4767. * stdio/sprintf.c: Moved to stdio-common.
  4768. * stdio/sscanf.c: Moved to stdio-common.
  4769. * stdio/tempnam.c: Moved to stdio-common.
  4770. * stdio/temptest.c: Moved to stdio-common.
  4771. * stdio/test-fseek.c: Moved to stdio-common.
  4772. * stdio/test-fwrite.c: Moved to stdio-common.
  4773. * stdio/test-popen.c: Moved to stdio-common.
  4774. * stdio/test_rdwr.c: Moved to stdio-common.
  4775. * stdio/tmpfile.c: Moved to stdio-common.
  4776. * stdio/tmpnam.c: Moved to stdio-common.
  4777. * stdio/tst-fileno.c: Moved to stdio-common.
  4778. * stdio/tst-printf.c: Moved to stdio-common.
  4779. * stdio/tstgetln.c: Moved to stdio-common.
  4780. * stdio/tstgetln.input: Moved to stdio-common.
  4781. * stdio/tstscanf.c: Moved to stdio-common.
  4782. * stdio/tstscanf.input: Moved to stdio-common.
  4783. * stdio/vfprintf.c: Moved to stdio-common.
  4784. * stdio/vfscanf.c: Moved to stdio-common.
  4785. * stdio/vprintf.c: Moved to stdio-common.
  4786. * stdio/xbug.c: Moved to stdio-common.
  4787. * sysdeps/generic/Makefile (siglist.c rules): Do this in subdir
  4788. stdio-common instead of stdio.
  4789. * sysdeps/unix/Makefile (errlist.c rules): Likewise.
  4790. * stdio-common/asprintf.c [USE_IN_LIBIO]: Call libio primitive
  4791. function.
  4792. * stdio-common/dprintf.c: Likewise.
  4793. * stdio-common/printf.c: Likewise.
  4794. * stdio-common/scanf.c: Likewise.
  4795. * stdio-common/snprintf.c: Likewise.
  4796. * stdio-common/sprintf.c: Likewise.
  4797. * stdio-common/sscanf.c: Likewise.
  4798. * stdio-common/vprintf.c: Likewise.
  4799. * Makerules: Include $(+depfiles) directly instead of generating
  4800. depend-$(subdir).
  4801. (depend-$(subdir)): Target removed.
  4802. (common-clean): Don't remove depend-$(subdir).
  4803. * sysdeps/unix/sysv/linux/Makefile (rtld-installed-name): New variable.
  4804. (config-LDFLAGS): Variable removed.
  4805. * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
  4806. * sysdeps/mach/hurd/bind.c: Likewise.
  4807. * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
  4808. calling convention.
  4809. * hurd/hurdexec.c: Undo last change (10 Oct 95).
  4810. Sun Oct 15 21:04:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4811. * hurd/hurd/lookup.h: New file.
  4812. * hurd/hurdlookup.c (__file_name_lookup_under): New function.
  4813. (__hurd_file_name_lookup, __hurd_file_name_lookup_retry,
  4814. __hurd_file_name_split): Rewritten to take callback functions for
  4815. using any needed init or dtable port, instead of passing in crdir
  4816. and cwdir ports.
  4817. (__file_name_lookup, __file_name_split): Use new calling
  4818. convention; pass _hurd_ports_use and __getdport as the callback
  4819. functions.
  4820. * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
  4821. of __hurd_file_name_lookup.
  4822. * sysdeps/mach/hurd/chdir.c: Likewise.
  4823. * sysdeps/mach/hurd/fchdir.c: Likewise.
  4824. * hurd/fchroot.c: Likewise.
  4825. * stdlib/Makefile (mpn-found): Don't omit %.s.
  4826. (mpn-copy-sysdep): Omit files in nonexistent directories.
  4827. (copy-mpn): Commit files to CVS.
  4828. * stdlib/gen-mpn-copy (translations): Update translations for GMP
  4829. 1.906.7.
  4830. * configure.in (machine): Translate alpha* to alpha/&, hppa* to hppa/&.
  4831. Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4832. * malloc/malloc.c (_malloc_internal): Performance fix. Move
  4833. if statement out of loop.
  4834. * stdio/_itoa.c, stdio/_itoa.h: Complete rewrite. Much faster
  4835. implementation using GMP functions. Contributed by
  4836. Torbjorn Granlund and Ulrich Drepper.
  4837. * stdio/test_rdwr.c: Include <errno.h>.
  4838. * sysdeps/i386/i586/Implies: New file.
  4839. New highly optimized string functions for i[345]86.
  4840. * sysdeps/i386/memchr.S, sysdeps/i386/memcmp.S: New files.
  4841. * sysdeps/i386/stpcpy.S, sysdeps/i386/stpncpy.S: New files.
  4842. * sysdeps/i386/strchr.S, sysdeps/i386/strcspn.S: New files.
  4843. * sysdeps/i386/strpbrk.S, sysdeps/i386/strrchr.S: New files.
  4844. * sysdeps/i386/strspn.S, sysdeps/i386/i486/strcat.S: New files.
  4845. * sysdeps/i386/i486/strlen.S, sysdeps/i386/i586/strchr.S: New files.
  4846. * sysdeps/i386/i586/strlen.S: New file.
  4847. * sysdeps/i386/memchr.c: Removed. There is now an assembler version.
  4848. * sysdeps/i386/i586/memcopy.h (WORD_COPY_BWD): Parameters did
  4849. not correspond to used values.
  4850. * sysdeps/unix/sysv/linux/nfs/nfs.h: New file. Simply a wrapper
  4851. around a kernel header file.
  4852. * sysdeps/unix/sysv/linux/Dist: Add it.
  4853. * sysdeps/unix/sysv/linux/Makefile [$(subdir)=sunrpc] (headers):
  4854. Likewise.
  4855. * sysdeps/unix/sysv/linux/local_lim.h: Rewrite. Instead of
  4856. defining ourself we use a kernel header file.
  4857. * sysdeps/unix/sysv/linux/i386/sysdep.h (DO_CALL): Optimize system
  4858. call handler for i586.
  4859. * sysdeps/unix/sysv/linux/sys/param.h: Add copyright and clean up.
  4860. Thu Oct 12 15:45:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4861. * hurd/hurd.h (file_name_lookup_under): Declare it.
  4862. * hurd/Makefile (headers): Add hurd/lookup.h.
  4863. * hurd/hurdinit.c (_hurd_ports_use): New function.
  4864. * hurd/hurd.h (_hurd_ports_use): Declare it.
  4865. (hurd_invoke_translator, hurd_file_name_lookup, hurd_file_name_split,
  4866. hurd_file_name_lookup_retry): Remove these decls.
  4867. * hurd/Makefile (routines): Remove invoke-trans.
  4868. Wed Oct 11 00:00:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4869. * sysdeps/i386/dl-machine.h (elf_machine_rel): Use +=, not =, to
  4870. apply R_386_PC32 reloc.
  4871. * Makeconfig (config-LDFLAGS): Add missing slash.
  4872. * sysdeps/mach/hurd/profil.c (fork_profil): Only call
  4873. update_waiter if profiling was enabled in the parent.
  4874. * csu/initfini.c: Don't pass -f flag to cp.
  4875. Tue Oct 10 23:08:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4876. * Makerules (build-shlib): Pass -rpath and -rpath-link options.
  4877. (LDFLAGS-c.so): Don't pass -dynamic-linker here.
  4878. * Makeconfig (+link): Pass $(sysdep-LDFLAGS).
  4879. (link-libc): Pass -rpath and -rpath-link options.
  4880. * MakeTAGS (all-dirs): Omit CVS directories.
  4881. Specify vpath directives to find source files in $(all-dirs).
  4882. (sources, headers): Append sources and headers from $(all-dist) to
  4883. these.
  4884. (all-dist): Filter them out of this.
  4885. (all-headers, all-sources): Use $(shell find ...) instead of
  4886. $(wildcard ...).
  4887. * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
  4888. -rpath-link.
  4889. * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
  4890. * elf/Makefile (install-others): Add missing $.
  4891. Mon Oct 9 02:54:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4892. * mach/Makefile ($(objpfx)errsystems.c): Rule reenabled.
  4893. * Makeconfig (config-LDFLAGS): Define to
  4894. -Wl-dynamic-linker=$(libdir)$(rtld-installed-name).
  4895. (rtld-installed-name): New variable.
  4896. * elf/Makefile (install-lib): Variable removed.
  4897. (install-others): Define this instead, to
  4898. $(libdir)(rtld-installed-name).
  4899. ($(libdir)(rtld-installed-name)): New target; install from ld.so.
  4900. * elf/ldd.sh.in: New file.
  4901. * elf/Makefile (distribute): Add ldd.sh.in.
  4902. (install-bin): Add ldd.
  4903. ($(objpfx)ldd: ldd.sh.in): New rule.
  4904. * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
  4905. * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
  4906. Translate some Mach errors to Hurd errors.
  4907. * elf/rtld.c (dl_main): Under --list, print msg if executable is
  4908. statically linked.
  4909. * elf/dl-load.c (_dl_map_object_from_fd): Rewrote program header
  4910. table processing.
  4911. Sat Oct 7 01:25:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4912. * sysdeps/stub/machine-gmon.h: Add #error.
  4913. Fri Oct 6 01:49:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4914. * elf/dynamic-link.h (elf_get_dynamic_info): If DYN is null, don't
  4915. examine it.
  4916. Fri Sep 29 03:43:51 1995 Paul Eggert <eggert@twinsun.com>
  4917. Rewrite mktime from scratch for performance, and for correctness
  4918. in the presence of leap seconds.
  4919. * time/mktime.c (ydhms_tm_diff, not_equal_tm, print_tm, check_result):
  4920. New functions.
  4921. (LEAP_SECONDS_POSSIBLE, CHAR_BIT, INT_MIN, INT_MAX,
  4922. TIME_T_MIN, TIME_T_MAX, TM_YEAR_BASE, EPOCH_YEAR): New macros.
  4923. <limits.h>, <stdlib.h>: New #includes.
  4924. (main): Support tests with given broken-down value; support benchmarks.
  4925. (__mon_lengths, debugging_enabled, printtm, dist_tm, doit,
  4926. do_normalization, normalize, BAD_STRUCT_TM, SKIP_VALUE,
  4927. <ctype.h>): Remove.
  4928. * time/time.h, time/mktime.c (__mktime_internal): New offset arg.
  4929. * time/mktime.c (mktime), time/timegm.c (timegm): Use it.
  4930. * time/mktime.c (__mon_yday): New variable; replaces `__mon_lengths'.
  4931. time/offtime.c (__offtime), time/tzset.c (compute_change): Use it.
  4932. * time/offtime.c (__offtime): Remove useless assignment
  4933. `tp->tm_isdst = -1'.
  4934. * manual/maint.texi: Update credits.
  4935. Fri Oct 6 00:28:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4936. * sysdeps/unix/common/readv.S: Moved to sysdeps/unix/bsd.
  4937. * sysdeps/unix/common/writev.S: Moved to sysdeps/unix/bsd.
  4938. * sysdeps/unix/sysv/linux/readv.c: File removed.
  4939. * sysdeps/unix/sysv/linux/writev.c: File removed.
  4940. * sysdeps/unix/configure.in: Check for readv and writev syscalls.
  4941. * sysdeps/unix/configure.in: If eval doesn't set $unix_srcname,
  4942. set it to $unix_syscall instead of $unix_function.
  4943. Thu Oct 5 00:59:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4944. * elf/rtld.c (dl_main): Grok --list flag.
  4945. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
  4946. Wed Oct 4 00:21:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4947. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
  4948. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_message): New function.
  4949. * elf/link.h (_dl_sysdep_message): Declare it.
  4950. * sysdeps/unix/Makefile ($(common-objpfx)ioctls): Remove NULL from
  4951. the list.
  4952. * time/northamerica: Corrections to Canada data from ADO 95i.
  4953. * sysdeps/unix/sysv/linux/Makefile (headers): Don't append to this
  4954. unconditionally. In socket subdir, append sys/socketcall.h; in
  4955. time subdir, append sys/timex.h.
  4956. (config-LDFLAGS): New variable.
  4957. * sysdeps/unix/sysv/linux/Dist: New file.
  4958. * Makeconfig (+link): Pass $(config-LDFLAGS) before $(LDFLAGS).
  4959. * sysdeps/generic/stpncpy.c: Don't increment DEST when zero-filling.
  4960. * elf/dlopen.c (dlopen): Don't pass USER_ENTRY arg to _dl_map_object.
  4961. Sat Sep 30 11:47:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4962. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
  4963. kernel with args on stack, point _dl_hurd_data at zero data
  4964. instead of garbage. When ld.so run as program, grok args
  4965. -LIB=MEMOBJ and pre-load shared object files found in memory
  4966. objects loaded by the boot loader.
  4967. * elf/link.h (struct link_map): New member `l_entry'.
  4968. (_dl_map_object, _dl_map_object_from_fd): Remove last arg ENTRY_POINT.
  4969. * elf/dl-load.c (_dl_map_object, _dl_map_object_from_fd): Remove
  4970. last arg ENTRY_POINT. Store the entry point location in the
  4971. `l_entry' member of the new map.
  4972. * elf/rtld.c (dl_main): Don't pass USER_ENTRY arg to
  4973. _dl_map_object. When run as program, set *USER_ENTRY to L->l_entry.
  4974. * elf/dl-init.c (_dl_init_next): Don't pass ENTRY_POINT arg to
  4975. _dl_map_object.
  4976. * posix/tstgetopt.c, posix/tstgetopt.args: Test long options too.
  4977. * sysdeps/unix/sysv/linux/i386/init-first.c (init): Save, set, and
  4978. restore %ebx by hand for personality syscall.
  4979. GCC cannot deal with spilling the dedicated GOT register.
  4980. * misc/Makefile (routines): Add mntent, which was somehow omitted.
  4981. Fri Sep 29 15:07:10 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  4982. * sysdeps/unix/sysv/linux/adjtime.c (__adjtime):
  4983. Change name of field `mode' in `struct timex' to `modes'.
  4984. Linux-1.3.28 updates this name according to RFC 1589.
  4985. Thu Sep 28 13:05:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  4986. Merge new message handling code from GNU gettext, by Drepper.
  4987. * intl: New directory.
  4988. * Makefile (subdirs): Add intl.
  4989. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Return
  4990. USER_ENTRY instead of storing it on our stack.
  4991. * elf/rtld.c (rtld_command): Variable removed.
  4992. (_dl_skip_args): New variable.
  4993. (dl_main): Increment _dl_skip_args instead of setting rtld_command.
  4994. If the link_map for the executable itself is not first in the chain,
  4995. make it so.
  4996. * sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_skip_args as
  4997. count of args to skip.
  4998. Thu Sep 28 09:20:04 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  4999. * stdlib/strtod.c (STRTOF): Fix handling of numbers with lots of
  5000. leading zeroes.
  5001. Wed Sep 27 00:27:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5002. * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
  5003. (getcwd): Define as weak alias.
  5004. * sysdeps/posix/getcwd.c: Likewise.
  5005. * sysdeps/stub/getcwd.c: Likewise.
  5006. * posix/unistd.h: Declare __getcwd.
  5007. * string/string.h: Declare __strcasecmp.
  5008. * sysdeps/generic/strcasecmp.c (__strcasecmp): Renamed from
  5009. strcasecmp.
  5010. (strcasecmp): Define as weak alias.
  5011. * string/string.h: Declare __stpcpy.
  5012. * sysdeps/generic/stpcpy.c (__stpcpy): Renamed from stpcpy.
  5013. (stpcpy): Define as weak alias.
  5014. * sysdeps/unix/sysv/linux/Implies: Add unix/common.
  5015. * sysdeps/unix/i386/sysdep.h [HAVE_ELF] (ASM_TYPE_DIRECTIVE):
  5016. Don't use `type' for arg name, since we are using it as a keyword
  5017. in the rhs.
  5018. * sysdeps/unix/configure.in: Check for syscalls getpriority,
  5019. setpriority, getrlimit, setrlimit.
  5020. * sysdeps/posix/truncate.c: Include fcntl.h.
  5021. * sysdeps/generic/getdomain.c: Include string.h for strncpy decl.
  5022. * sysdeps/stub/getpriority.c: Don't include obsolete gnu-stabs.h;
  5023. use new stub_warning syntax.
  5024. * sysdeps/stub/setpriority.c: Likewise.
  5025. * sysdeps/stub/__longjmp.c: Likewise.
  5026. * sysdeps/stub/_exit.c: Likewise.
  5027. * sysdeps/stub/accept.c: Likewise.
  5028. * sysdeps/stub/acos.c: Likewise.
  5029. * sysdeps/stub/alarm.c: Likewise.
  5030. * sysdeps/stub/asin.c: Likewise.
  5031. * sysdeps/stub/atan2.c: Likewise.
  5032. * sysdeps/stub/bind.c: Likewise.
  5033. * sysdeps/stub/cbrt.c: Likewise.
  5034. * sysdeps/stub/chroot.c: Likewise.
  5035. * sysdeps/stub/closedir.c: Likewise.
  5036. * sysdeps/stub/connect.c: Likewise.
  5037. * sysdeps/stub/cos.c: Likewise.
  5038. * sysdeps/stub/cosh.c: Likewise.
  5039. * sysdeps/stub/ctermid.c: Likewise.
  5040. * sysdeps/stub/cuserid.c: Likewise.
  5041. * sysdeps/stub/defs.c: Likewise.
  5042. * sysdeps/stub/exp.c: Likewise.
  5043. * sysdeps/stub/fmod.c: Likewise.
  5044. * sysdeps/stub/frexp.c: Likewise.
  5045. * sysdeps/stub/fsync.c: Likewise.
  5046. * sysdeps/stub/getcwd.c: Likewise.
  5047. * sysdeps/stub/getenv.c: Likewise.
  5048. * sysdeps/stub/gethostid.c: Likewise.
  5049. * sysdeps/stub/getlogin.c: Likewise.
  5050. * sysdeps/stub/getpeername.c: Likewise.
  5051. * sysdeps/stub/getrlimit.c: Likewise.
  5052. * sysdeps/stub/getsockname.c: Likewise.
  5053. * sysdeps/stub/getsockopt.c: Likewise.
  5054. * sysdeps/stub/listen.c: Likewise.
  5055. * sysdeps/stub/log.c: Likewise.
  5056. * sysdeps/stub/log10.c: Likewise.
  5057. * sysdeps/stub/mkfifo.c: Likewise.
  5058. * sysdeps/stub/morecore.c: Likewise.
  5059. * sysdeps/stub/nice.c: Likewise.
  5060. * sysdeps/stub/nlist.c: Likewise.
  5061. * sysdeps/stub/opendir.c: Likewise.
  5062. * sysdeps/stub/pipestream.c: Likewise.
  5063. * sysdeps/stub/ptrace.c: Likewise.
  5064. * sysdeps/stub/putenv.c: Likewise.
  5065. * sysdeps/stub/readdir.c: Likewise.
  5066. * sysdeps/stub/reboot.c: Likewise.
  5067. * sysdeps/stub/recv.c: Likewise.
  5068. * sysdeps/stub/recvfrom.c: Likewise.
  5069. * sysdeps/stub/rename.c: Likewise.
  5070. * sysdeps/stub/rewinddir.c: Likewise.
  5071. * sysdeps/stub/seekdir.c: Likewise.
  5072. * sysdeps/stub/send.c: Likewise.
  5073. * sysdeps/stub/sendto.c: Likewise.
  5074. * sysdeps/stub/setegid.c: Likewise.
  5075. * sysdeps/stub/seteuid.c: Likewise.
  5076. * sysdeps/stub/setgroups.c: Likewise.
  5077. * sysdeps/stub/sethostid.c: Likewise.
  5078. * sysdeps/stub/sethostname.c: Likewise.
  5079. * sysdeps/stub/setjmp.c: Likewise.
  5080. * sysdeps/stub/setrlimit.c: Likewise.
  5081. * sysdeps/stub/setsockopt.c: Likewise.
  5082. * sysdeps/stub/shutdown.c: Likewise.
  5083. * sysdeps/stub/signal.c: Likewise.
  5084. * sysdeps/stub/sigsuspend.c: Likewise.
  5085. * sysdeps/stub/sin.c: Likewise.
  5086. * sysdeps/stub/sinh.c: Likewise.
  5087. * sysdeps/stub/socket.c: Likewise.
  5088. * sysdeps/stub/socketpair.c: Likewise.
  5089. * sysdeps/stub/sqrt.c: Likewise.
  5090. * sysdeps/stub/sync.c: Likewise.
  5091. * sysdeps/stub/system.c: Likewise.
  5092. * sysdeps/stub/tan.c: Likewise.
  5093. * sysdeps/stub/tanh.c: Likewise.
  5094. * sysdeps/stub/tcdrain.c: Likewise.
  5095. * sysdeps/stub/tcflow.c: Likewise.
  5096. * sysdeps/stub/tcgetpgrp.c: Likewise.
  5097. * sysdeps/stub/tcsendbrk.c: Likewise.
  5098. * sysdeps/stub/tcsetattr.c: Likewise.
  5099. * sysdeps/stub/tcsetpgrp.c: Likewise.
  5100. * sysdeps/stub/telldir.c: Likewise.
  5101. * sysdeps/stub/tempname.c: Likewise.
  5102. * sysdeps/stub/ttyname.c: Likewise.
  5103. * sysdeps/stub/ttyname_r.c: Likewise.
  5104. * sysdeps/stub/utime.c: Likewise.
  5105. * gmon/gmon.c (moncontrol): Don't cast buffer arg to profil.
  5106. * time/mktime.c (localtime_r): Use 0 instead of NULL.
  5107. * config.make.in (AS): New variable; set to `$(CC) -c'.
  5108. * posix/unistd.h [__USE_BSD]: Declare profil.
  5109. * elf/dl-load.c (_dl_map_object_from_fd): New function, broken out
  5110. of _dl_map_object.
  5111. (_dl_map_object): Call it.
  5112. * elf/link.h (_dl_map_object_from_fd): Declare it.
  5113. Tue Sep 26 16:50:17 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5114. * locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
  5115. gettext code.
  5116. * sysdeps/unix/sysv/linux/sys/param.h: New file.
  5117. * sysdeps/unix/sysv/linux/Subdirs: File removed.
  5118. * libc-symbols.h (_LIBC): Define to 1, not just empty.
  5119. * gmon: New directory of profiling code, incorporated from
  5120. 4.4BSD-Lite and modified.
  5121. * sysdeps/i386/machine-gmon.h: New file.
  5122. * sysdeps/stub/machine-gmon.h: New file.
  5123. * sysdeps/mach/hurd/profil.c: New file.
  5124. * sysdeps/stub/profil.c: New file.
  5125. * sysdeps/unix/bsd/profil.S: New file.
  5126. * Makefile (subdirs): Add gmon.
  5127. * csu/gmon-start.c: New file.
  5128. * csu/Makefile (extra-objs): Add gmon-start.o,
  5129. g$(start-installed-name).
  5130. (install-lib, omit-deps): Add g$(start-installed-name).
  5131. ($(objpfx)g$(start-installed-name)): New target.
  5132. Fri Sep 22 14:24:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5133. * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
  5134. time being.
  5135. Thu Sep 21 00:03:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5136. * sysdeps/unix/configure.in: Check for `profil' syscall.
  5137. * manual/Makefile (infodir, prefix, INSTALL, INSTALL_DATA): Variables
  5138. removed.
  5139. * time/africa, time/asia, time/europe, time/northamerica,
  5140. time/yearistype: New data from ADO 95h.
  5141. * Makerules (build-shlib): Use $(@F:lib%.so=%) in place of
  5142. $(notdir $*), so it wins for the explicit libc.so rule as well as the
  5143. pattern rule.
  5144. * sysdeps/stub/sys/sem_buf.h (union semun): New type.
  5145. * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
  5146. __libc_global_ctors.
  5147. * sysdeps/i386/init-first.c: Rewritten.
  5148. * sysdeps/unix/sysv/linux/i386/init-first.S: File removed.
  5149. * sysdeps/unix/sysv/linux/i386/init-first.c: New file.
  5150. * sysdeps/unix/sysv/linux/i386/fpu_control.h: Fix name in decl of
  5151. ___fpu_control.
  5152. * Makerules (build-shlib): New canned sequence, broken out of
  5153. lib%.so rule. Link in $^ instead of just $<.
  5154. (lib%.so: lib%_pic.a): Use it.
  5155. (libc.so): New target; use $(build-shlib) for cmds, but also depend
  5156. on soinit.so first and sofini.so last.
  5157. * elf/soinit.c: New file.
  5158. * elf/sofini.c: New file.
  5159. * elf/Makefile (distribute): Add soinit.c and sofini.c.
  5160. (extra-objs): Add soinit.so and sofini.so.
  5161. * sysvipc/sys/shm.h (shmat): Fix return type to char *.
  5162. * sysdeps/stub/sys/ipc_buf.h (key_t): Type removed.
  5163. * misc/syslog.c (vsyslog): Rewritten using open_memstream to
  5164. dynamically allocate buffers.
  5165. * Makerules (install-lib-nosubdir): Make this, rather than
  5166. install-no-libc.a, depend on the installed shared libraries.
  5167. Wed Sep 20 18:02:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5168. * locale/locale.c: Include errno.h.
  5169. * locale/localedef.c: Likewise.
  5170. Tue Sep 19 00:02:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5171. * Makefile (distclean-1): Remove config.cache, config.log, config.h.
  5172. (parent-mostlyclean): Remove all flavors of the parent library.
  5173. * misc/mntent.c (getmntent): Skip multiple whitespace chars
  5174. between fields.
  5175. * hurd/hurdstartup.c (_hurd_startup): If RPC returns
  5176. EXEC_STACK_ARGS flag, get args from stack.
  5177. If args on stack but have info from RPC, relocate args on stack to make
  5178. space for struct hurd_startup_data.
  5179. Mon Sep 18 15:06:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5180. * elf/dl-object.c: Include errno.h.
  5181. * posix/execvp.c: Likewise.
  5182. * dirent/scandir.c: Likewise.
  5183. * sysdeps/posix/system.c: Likewise.
  5184. * sysdeps/generic/setenv.c: Likewise.
  5185. * stdlib/msort.c: Likewise.
  5186. * stdio/memstream.c: Likewise.
  5187. * stdio/fclose.c: Likewise.
  5188. * stdio/getdelim.c: Likewise.
  5189. * stdio/setvbuf.c: Likewise.
  5190. * sysdeps/ieee754/ldexp.c: Likewise.
  5191. * locale/locfile-parse.c: Likewise.
  5192. * stdlib/lcong48_r.c: Don't check for null argument; let it fault.
  5193. * stdlib/seed48_r.c: Likewise.
  5194. * stdlib/srand48_r.c: Likewise.
  5195. * stdlib/jrand48_r.c: Likewise.
  5196. * stdlib/nrand48_r.c: Likewise.
  5197. * Makeconfig (+gccwarn): Remove -Wbad-function-cast, which seems
  5198. to be useless.
  5199. Mon Sep 18 12:39:22 1995 Paul Eggert <eggert@twinsun.com>
  5200. * mktime.c (localtime_r): Add substitute if the system doesn't
  5201. provide one.
  5202. Mon Sep 18 14:39:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5203. * time/gmtime.c (gmtime_r): Define as weak alias.
  5204. * time/localtime.c (localtime_r): Define as weak alias.
  5205. * time/time.h [__USE_REENTRANT] (gmtime_r, localtime_r): Declare them.
  5206. * errno.h: Only define _ERRNO_H #ifndef __need_Emath.
  5207. #undef __need_Emath after including errnos.h.
  5208. [_ERRNO_H]: Protect decls with this.
  5209. Sun Sep 17 08:22:12 1995 Paul Eggert <eggert@twinsun.com>
  5210. Fix mktime so that it does not write over localtime's returned value.
  5211. * localtime.c (__localtime_r): New function, with extra arg
  5212. specifying where to store result.
  5213. (localtime): Use it.
  5214. (_tmbuf): New var.
  5215. * gmtime.c (__gmtime_r, gmtime, _tmbuf): Likewise.
  5216. * mktime.c (__mktime_internal): Conversion function is now
  5217. __localtime_r style, not localtime style.
  5218. (mktime): Pass __localtime_r, not localtime.
  5219. * timegm.c (timegm): Pass __gmtime_r, not gmtime.
  5220. * offtime.c (__offtime): New arg specifying where to store result.
  5221. * time.h (__mktime_internal, __offtime): Adjust decls accordingly.
  5222. (__gmtime_r, __localtime_r): New decls.
  5223. * time/localtime.c: <stddef.h>, <ctype.h>, <stdio.h>,
  5224. <stdlib.h>, <string.h>: Remove includes.
  5225. <errno.h>: Add include.
  5226. * time/mktime.c, time/time.h, time/timegm.c (__mktime_internal):
  5227. Renamed from _mktime_internal to avoid namespace pollution.
  5228. * time/gmtime.c: Clear tm_isdst.
  5229. Mon Sep 18 01:58:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5230. * misc/efgcvt_r.c (ecvt_r, fcvt_r): Last arg is size_t, not int.
  5231. * stdlib/stdlib.h (ecvt_r, fcvt_r): Fix type of last arg: make it
  5232. size_t.
  5233. * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
  5234. __file_pathconf.
  5235. * sysdeps/mach/hurd/pathconf.c: Likewise.
  5236. * Makefile (subdirs): Add sysvipc.
  5237. * stdlib/srand48_r.c (srand48_r): Use UL suffix for huge constant.
  5238. * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
  5239. Sun Sep 17 18:29:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5240. * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
  5241. __file_set_size instead of __file_truncate.
  5242. * features.h (__USE_REENTRANT): New macro.
  5243. * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
  5244. __file_truncate.
  5245. * sysdeps/mach/hurd/ftruncate.c: Likewise.
  5246. * sysdeps/unix/sysv/linux/dl-machine.h: File removed.
  5247. Sat Sep 16 17:47:19 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  5248. * elf/elf.h (AT_GID): Fix typo: Read -> Real.
  5249. * misc/efgvt_r.c: New file. Reentrant version of [efg]cvt functions.
  5250. * misc/efgcvt.c: Rewrite to use reentrant functions.
  5251. * misc/search.h: Many decls for hsearch functions.
  5252. * misc/hsearch_r.c: New file. Reentrant version of functions from
  5253. hsearch family.
  5254. * misc/hsearch.c, misc/tsearch.c: New files.
  5255. * misc/Makefile (routines): Add efgcvt_r, hsearch_r, hsearch, tsearch.
  5256. * posix/unistd.h (ttyname_r): Add prototype for new function.
  5257. * stdlib/drand48_r.c, stdlib/erand48_r.c, stdlib/jrand48_r.c,
  5258. stdlib/lrand48_r.c, stdlib/mrand48_r.c, stdlib/nrand48_r.c,
  5259. stdlib/seed48_r.c, stdlib/srand48_r.c, stdlib/lcong48_r.c,
  5260. stdlib/drand48-iter.c: New files implementing reentrant versions
  5261. of functions from drand48 family.
  5262. * stdlib/seed48.c, stdlib/drand48.c, stdlib/erand48.c,
  5263. stdlib/jrand48.c, stdlib/lrand48.c, stdlib/mrand48.c,
  5264. stdlib/nrand48.c, stdlib/srand48.c, stdlib/lcong48.c:
  5265. Rewrite to use reentrant versions.
  5266. * stdlib/a64l.c, stdlib/l64a.c: New files. Implement a64l()
  5267. and l64a() functions from SysV library.
  5268. * stdlib/Makefile (routines): Add drand48_r, erand48_r, lrand48_r,
  5269. nrand48_r, mrand48_r, jrand48_r, srand48_r, seed48_r, lcong48_r,
  5270. drand48-iter, a64l, l64a.
  5271. * stdlib/stdlib.h: Declare them.
  5272. * stdlib/random_r.c: New file. Reentrant version of functions
  5273. from random family.
  5274. * stdlib/stdlib.h: Declare them.
  5275. * stdlib/random.c: Rewrite to use reentrant functions.
  5276. * string/strerror_r.c: New file. Reentrant version.
  5277. * string/strerror.c: Change for new _strerror_internal form.
  5278. * string/Makefile (routines): Add strerror_r.
  5279. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Set default
  5280. value of user_entry to `_start'.
  5281. Close AT_ENTRY case with `break'.
  5282. * sysdeps/generic/strstr.c: New and much faster implementation
  5283. by Stephen R. van den Berg.
  5284. * sysdeps/generic/_strerror.c: _strerror_internal now takes
  5285. three argument and has and explicit buffer length.
  5286. * sysdeps/mach/_strerror.c: Change for new interface with three
  5287. arguments.
  5288. * stdio/perror.c, stdio/vfprintf.c: Callers changed.
  5289. * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
  5290. * sysdeps/posix/ttyname_r.c: New file. Reentrant version.
  5291. * sysdeps/stub/ttyname_r: New file. Define as dummy function.
  5292. * sysdeps/posix/utimes.c: Include <utime.h> for prototype.
  5293. (utimes): First parameter to utime must be file, not path.
  5294. * sysdeps/posix/sysconf.c (__sysconf): Test for CLK_TCK in case
  5295. _SC_CLK_TCK and return it when available.
  5296. Test for STREAM_MAX in case _SC_STREAM_MAX and return it when
  5297. available.
  5298. Add case for _SC_2_LOCALEDEF which is now available.
  5299. * posix/sys/types.h [__USE_SVID] (key_t): New type.
  5300. * sysvipc/Makefile, sysvipc/ftok.c, sysvipc/sys/ipc.h,
  5301. sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h,
  5302. sysdeps/stub/sys/msq_buf.h, sysdeps/stub/sys/sem_buf.h,
  5303. sysdeps/stub/sys/shm_buf.h, sysdeps/stub/sys/ipc_buf.h,
  5304. sysdeps/stub/semctl.c, sysdeps/stub/semget.c, sysdeps/stub/semop.c,
  5305. sysdeps/stub/shmat.c, sysdeps/stub/shmctl.c, sysdeps/stub/shmdt.c,
  5306. sysdeps/stub/shmget.c, sysdeps/stub/msgctl.c, sysdeps/stub/msgget.c,
  5307. sysdeps/stub/msgrcv.c, sysdeps/stub/msgsnd.c: New files.
  5308. Add implementation of System V IPC.
  5309. Fri Sep 15 21:34:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5310. * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
  5311. (write_corefile): Call __crash_dump_task instead of __core_dump_task.
  5312. Use envariable CRASHSERVER instead of CORESERVER.
  5313. * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
  5314. Tue Sep 12 14:30:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5315. * misc/mntent.c: New file.
  5316. * misc/mntent.h: New file.
  5317. * misc/Makefile (headers): Added mntent.h.
  5318. (routines): Added mntent.
  5319. * misc/fstab.c: Rewritten using mntent functions.
  5320. Mon Sep 11 14:00:14 1995 Roland McGrath <roland@whiz-bang.gnu.ai.mit.edu>
  5321. * posix/glob.c (glob): Comment fix.
  5322. Fri Sep 8 16:25:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5323. * libc-symbols.h [HAVE_ELF] (symbol_set_declare): Declare the
  5324. symbols weak.
  5325. * conf/portability.h (NEED_INETADDR, NEED_INETATON): Define to 1,
  5326. not empty.
  5327. Fri Sep 8 16:32:12 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
  5328. * sysdeps/unix/sysv/linux/Implies,
  5329. sysdeps/unix/sysv/linux/Makefile, sysdeps/unix/sysv/linux/Subdirs,
  5330. sysdeps/unix/sysv/linux/accept.S, sysdeps/unix/sysv/linux/adjtime.c,
  5331. sysdeps/unix/sysv/linux/adjtimex.S, sysdeps/unix/sysv/linux/bind.S,
  5332. sysdeps/unix/sysv/linux/connect.S, sysdeps/unix/sysv/linux/direct.h,
  5333. sysdeps/unix/sysv/linux/dl-machine.h, sysdeps/unix/sysv/linux/errnos.h,
  5334. sysdeps/unix/sysv/linux/fork.S, sysdeps/unix/sysv/linux/gethostid.c,
  5335. sysdeps/unix/sysv/linux/gethostname.C,
  5336. sysdeps/unix/sysv/linux/getpeername.S,
  5337. sysdeps/unix/sysv/linux/getpgid.S, sysdeps/unix/sysv/linux/getpgrp.S,
  5338. sysdeps/unix/sysv/linux/getsockname.S,
  5339. sysdeps/unix/sysv/linux/getsockopt.S, sysdeps/unix/sysv/linux/gtty.S,
  5340. sysdeps/unix/sysv/linux/listen.S, sysdeps/unix/sysv/linux/local_lim.h,
  5341. sysdeps/unix/sysv/linux/madvise.c, sysdeps/unix/sysv/linux/msgctl.c,
  5342. sysdeps/unix/sysv/linux/msgget.c, sysdeps/unix/sysv/linux/msgrcv.c,
  5343. sysdeps/unix/sysv/linux/msgsnd.c, sysdeps/unix/sysv/linux/pipe.S,
  5344. sysdeps/unix/sysv/linux/poll.c, sysdeps/unix/sysv/linux/readv.c,
  5345. sysdeps/unix/sysv/linux/recv.S, sysdeps/unix/sysv/linux/recvfrom.S,
  5346. sysdeps/unix/sysv/linux/recvmsg.S, sysdeps/unix/sysv/linux/semctl.c,
  5347. sysdeps/unix/sysv/linux/semget.c, sysdeps/unix/sysv/linux/semop.c,
  5348. sysdeps/unix/sysv/linux/send.S, sysdeps/unix/sysv/linux/sendmsg.S,
  5349. sysdeps/unix/sysv/linux/sendto.S, sysdeps/unix/sysv/linux/setegid.c,
  5350. sysdeps/unix/sysv/linux/seteuid.c, sysdeps/unix/sysv/linux/sethostid.c,
  5351. sysdeps/unix/sysv/linux/setpgid.c, sysdeps/unix/sysv/linux/setpgrp.c,
  5352. sysdeps/unix/sysv/linux/setsid.S, sysdeps/unix/sysv/linux/setsockopt.S,
  5353. sysdeps/unix/sysv/linux/settimeofday.S,
  5354. sysdeps/unix/sysv/linux/shmat.c, sysdeps/unix/sysv/linux/shmctl.c,
  5355. sysdeps/unix/sysv/linux/shmdt.c, sysdeps/unix/sysv/linux/shmget.c,
  5356. sysdeps/unix/sysv/linux/shutdown.S,
  5357. sysdeps/unix/sysv/linux/sigaction.S, sysdeps/unix/sysv/linux/signal.S,
  5358. sysdeps/unix/sysv/linux/sigpending.S, sysdeps/unix/sysv/linux/sigset.h,
  5359. sysdeps/unix/sysv/linux/sockaddrcom.h,
  5360. sysdeps/unix/sysv/linux/socketpair.S, sysdeps/unix/sysv/linux/speed.c,
  5361. sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
  5362. sysdeps/unix/sysv/linux/syscall.h, sysdeps/unix/sysv/linux/sysconf.c,
  5363. sysdeps/unix/sysv/linux/tcdrain.c, sysdeps/unix/sysv/linux/tcflow.c,
  5364. sysdeps/unix/sysv/linux/tcflush.c, sysdeps/unix/sysv/linux/tcgetattr.c,
  5365. sysdeps/unix/sysv/linux/tcsetattr.c,
  5366. sysdeps/unix/sysv/linux/termbits.h, sysdeps/unix/sysv/linux/ualarm.c,
  5367. sysdeps/unix/sysv/linux/ulimit.c, sysdeps/unix/sysv/linux/usleep.c,
  5368. sysdeps/unix/sysv/linux/utsnamelen.h, sysdeps/unix/sysv/linux/vfork.c,
  5369. sysdeps/unix/sysv/linux/wait.c, sysdeps/unix/sysv/linux/wait4.S,
  5370. sysdeps/unix/sysv/linux/waitpid.c, sysdeps/unix/sysv/linux/writev.c:
  5371. New Linux/ELF specific, architecture independent files.
  5372. * sysdeps/unix/sysv/linux/i386/Dist,
  5373. sysdeps/unix/sysv/linux/i386/Makefile,
  5374. sysdeps/unix/sysv/linux/i386/brk.S,
  5375. sysdeps/unix/sysv/linux/i386/fcntlbits.h,
  5376. sysdeps/unix/sysv/linux/i386/fpu_control.c,
  5377. sysdeps/unix/sysv/linux/i386/fpu_control.h,
  5378. sysdeps/unix/sysv/linux/i386/fstat.S,
  5379. sysdeps/unix/sysv/linux/i386/fxstat.S,
  5380. sysdeps/unix/sysv/linux/i386/ieee_fpu.c,
  5381. sysdeps/unix/sysv/linux/i386/init-first.S,
  5382. sysdeps/unix/sysv/linux/i386/ipc.S,
  5383. sysdeps/unix/sysv/linux/i386/lstat.S,
  5384. sysdeps/unix/sysv/linux/i386/lxstat.S,
  5385. sysdeps/unix/sysv/linux/i386/mknod.S,
  5386. sysdeps/unix/sysv/linux/i386/mmap.S,
  5387. sysdeps/unix/sysv/linux/i386/sbrk.S,
  5388. sysdeps/unix/sysv/linux/i386/setfpucw.c,
  5389. sysdeps/unix/sysv/linux/i386/signum.h,
  5390. sysdeps/unix/sysv/linux/i386/socket.S,
  5391. sysdeps/unix/sysv/linux/i386/stat.S,
  5392. sysdeps/unix/sysv/linux/i386/syscall.S,
  5393. sysdeps/unix/sysv/linux/i386/sysdep.S,
  5394. sysdeps/unix/sysv/linux/i386/sysdep.h,
  5395. sysdeps/unix/sysv/linux/i386/xmknod.S,
  5396. sysdeps/unix/sysv/linux/i386/xstat.S:
  5397. New Linux i386/ELF specific files.
  5398. * sysdeps/unix/sysv/linux/sys/ipc_buf.h,
  5399. sysdeps/unix/sysv/linux/sys/mman.h,
  5400. sysdeps/unix/sysv/linux/sys/msq_buf.h,
  5401. sysdeps/unix/sysv/linux/sys/sem_buf.h,
  5402. sysdeps/unix/sysv/linux/sys/shm_buf.h,
  5403. sysdeps/unix/sysv/linux/sys/socketcall.h,
  5404. sysdeps/unix/sysv/linux/sys/timex.h:
  5405. New Linux/ELF specific, architecture independent header files.
  5406. * sysdeps/unix/sysv/sysv4/linux: Tree removed.
  5407. Thu Sep 7 17:05:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5408. * stdlib/msort.c (msort_with_tmp): Fixed alignment test. B1 and
  5409. B2 are always congruent; just test that B1 is aligned.
  5410. Wed Sep 6 19:41:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5411. * elf/dl-lookup.c (_dl_lookup_symbol): Test WEAK_VALUE.s rather
  5412. than WEAK_VALUE.a to see if a weak value has been set. A valid
  5413. weak value may set WEAK_VALUE.a to 0.
  5414. Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5415. * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
  5416. jmp_buf.
  5417. * libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
  5418. for a warning on references to that specific symbol, not the
  5419. entire containing object file.
  5420. (stub_warning): Pass symbol name to link_warning.
  5421. * stdio/gets.c: Pass function name in link_warning invocation.
  5422. * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
  5423. MACH_SEND_INTERRUPTED. That indicates interrupt_operation was
  5424. sent, but failed.
  5425. * stdlib/msort.c: Include memcopy.h.
  5426. (msort_with_tmp): If operating on aligned op_t words, use direct word
  5427. fetches and stores.
  5428. * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Add
  5429. missing backslash.
  5430. Thu Aug 31 13:23:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5431. * sysdeps/unix/i386/brk.S [PIC]: Set __curbrk through the GOT.
  5432. Rewrote i386 setjmp code in assembly, so as to avoid fighting
  5433. with the compiler for the register values.
  5434. * sysdeps/i386/setjmp.S, sysdeps/i386/__longjmp.S: New files.
  5435. * sysdeps/i386/setjmp.c, sysdeps/i386/__longjmp.c: Files removed.
  5436. * sysdeps/i386/jmp_buf.h [! _ASM] (__jmp_buf): Define as array of ints.
  5437. [__USE_MISC || _ASM] (JB_*): New macros, for indices therein.
  5438. (_JMPBUF_UNWINDS): Use JB_SP.
  5439. Wed Aug 30 16:44:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5440. * sysdeps/mach/hurd/select.c: Deal with out of order replies
  5441. during io_select request loop.
  5442. Handle MACH_RCV_TIMED_OUT error from requests.
  5443. * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
  5444. distinguish MACH_RCV_TIMED_OUT from EINTR.
  5445. * posix/glob.c (glob): Use realloc to extend strings for GLOB_MARK
  5446. slash.
  5447. (glob_in_dir): Don't allocate extra byte here.
  5448. * sysdeps/i386/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
  5449. Decrement the DT_RELSZ value for the skipped reloc.
  5450. Tue Aug 29 12:35:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5451. * time/australasia: Updated data from ADO.
  5452. Mon Aug 28 17:47:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5453. * dirent/dirent.h: Don't include <dirstream.h>.
  5454. Instead, define DIR as typedef for (undefined) `struct __dirstream'.
  5455. Fri Aug 25 12:12:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5456. * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
  5457. instead of `DIR'.
  5458. * sysdeps/unix/bsd/dirstream.h: Likewise.
  5459. * sysdeps/stub/dirstream.h: Likewise.
  5460. * sysdeps/unix/dirstream.h: Likewise.
  5461. * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
  5462. * sysdeps/mach/hurd/seekdir.c: Likewise.
  5463. * sysdeps/mach/hurd/opendir.c: Likewise.
  5464. * sysdeps/mach/hurd/closedir.c: Likewise.
  5465. * sysdeps/mach/hurd/readdir.c: Likewise.
  5466. * sysdeps/unix/telldir.c: Likewise.
  5467. * sysdeps/unix/seekdir.c: Likewise.
  5468. * sysdeps/unix/rewinddir.c: Likewise.
  5469. * sysdeps/unix/readdir.c: Likewise.
  5470. * sysdeps/unix/opendir.c: Likewise.
  5471. * sysdeps/unix/closedir.c: Likewise.
  5472. * sysdeps/unix/bsd/telldir.c: Likewise.
  5473. * sysdeps/unix/bsd/readdir.c: Likewise.
  5474. * dirent/Makefile (headers): Remove dirstream.h.
  5475. (distribute): Put it here instead.
  5476. * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
  5477. * stdio/vfscanf.c (number): Allow field width to inhibit first
  5478. digit after base detection.
  5479. * stdio/vfprintf.c (vfprintf: %s): Never search past the limit
  5480. specified by the precision.
  5481. * grp/grpread.c (__grpscan): New function.
  5482. * grp/grp.h (__grpscan): Declare it.
  5483. * grp/getgrgid.c: Use __grpscan.
  5484. * grp/getgrnam.c: Likewise.
  5485. * pwd/pwdread.c (__pwdscan): New function.
  5486. * pwd/pwd.h (__pwdscan): Declare it.
  5487. * pwd/getpwnam.c: Use __pwdscan.
  5488. * pwd/getpwuid.c: Likewise.
  5489. Thu Aug 24 16:29:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5490. * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
  5491. MAP_FILE.
  5492. * hurd/thread-cancel.c: Return EINTR when called on self.
  5493. * sysdeps/i386/elf/start.S (data_start): Define as weak alias for
  5494. __data_start.
  5495. Tue Aug 22 16:49:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5496. * inet/netdb.h: Moved to resolv.
  5497. * inet/Makefile (headers): Remove netdb.h.
  5498. * resolv/Makefile (headers): Add netdb.h.
  5499. * resolv/gethnamaddr.c, resolv/inet_addr.c, resolv/netdb.h,
  5500. resolv/res_send.c: Updated from BIND-4.9.3-BETA26.
  5501. * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
  5502. resuming the thread.
  5503. * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
  5504. * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
  5505. Mon Aug 21 16:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5506. * sysdeps/i386/dl-machine.h (elf_machine_rel): Grok R_386_NONE
  5507. relocs, and do nothing. Why the linker generates them we may
  5508. never know.
  5509. Thu Aug 17 16:18:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5510. * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
  5511. `subdirs' variable.
  5512. * sysdeps/mach/hurd/i386/intr-msg.h: New file.
  5513. * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
  5514. "intr-msg.h" for special syscall code, instead of i386-specific asm.
  5515. * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
  5516. machine-dependent "intr-msg.h" before mutating thread state to
  5517. skip RPC.
  5518. * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
  5519. _hurd_intr_rpc_mach_msg special syscall code, use real SP saved in
  5520. %ecx.
  5521. * Makeconfig (link-libc): New variable; use shared library if
  5522. available.
  5523. (+link): Use it.
  5524. * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
  5525. Instead, declare with `symbol_set_declare'.
  5526. (fork): Use symbol_set_* macros for _hurd_fork_locks.
  5527. Use SS->thread instead of __mach_thread_self (). Suspend all
  5528. other threads during task_create and port copying.
  5529. Wed Aug 16 17:04:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5530. * hurd/intr-msg.c: Fixed calculation of syscall %esp.
  5531. Tue Aug 15 12:26:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5532. * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
  5533. * hurd/Makefile (sig): Add intr-msg.
  5534. Mon Aug 14 16:51:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5535. * hurd/thread-cancel.c: New file.
  5536. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
  5537. rpc_wait case, frob mach_msg args to set timeout on receive.
  5538. (_hurdsig_rcv_interrupted_p): Function removed.
  5539. * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
  5540. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
  5541. * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
  5542. * hurd/intr-msg.c: New file.
  5543. * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
  5544. (_hurdsig_rcv_interrupted_p): Declaration removed.
  5545. (HURD_EINTR_RPC): Macro removed.
  5546. (_hurd_longjmp_thread_state, _hurd_interrupted_rpc_timeout): Declare
  5547. these.
  5548. * hurd/intr-rpc.h: New file.
  5549. * hurd/intr-rpc.defs: Just import intr-rpc.h.
  5550. * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
  5551. (interrupted_reply_port_location): Take new flag arg; only catch
  5552. faults if it's set.
  5553. (abort_rpcs): Rename to _hurdsig_abort_rpcs; take same new flag arg.
  5554. No longer use _hurdsig_rcv_interrupted_p; instead compare PC to
  5555. &_hurd_intr_rpc_msg_in_trap. If before it, mutate state to simulate
  5556. MACH_SEND_INTERRUPTED return; on it, interrupt the operation. All
  5557. callers changed.
  5558. * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
  5559. * hurd/Makefile (distribute): Remove intr-rpc.awk.
  5560. (sig): Add thread-cancel.
  5561. (transform-user-stub, transform-user-stub-output): Variables removed.
  5562. * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
  5563. `__hurd_intr_rpc_*' to `__*'.
  5564. (_hurd_intr_rpc_mach_msg): New function.
  5565. (_hurd_thread_sigstate): Function removed.
  5566. * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
  5567. instead of __mach_msg inside HURD_EINTR_RPC macro.
  5568. * sysdeps/generic/morecore.c [__GNU_LIBRARY__]: Declare `__sbrk'
  5569. to take ptrdiff_t arg.
  5570. * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
  5571. * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
  5572. * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_symbol,
  5573. weak_alias): Use `extern' storage class.
  5574. Wed Aug 9 14:25:35 1995 Miles Bader <miles@geech.gnu.ai.mit.edu>
  5575. * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
  5576. port-count parameters to __auth_makeauth.
  5577. * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
  5578. Tue Aug 8 12:22:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5579. * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
  5580. * inet/netinet/tcp.h: New file, incorporated from 4.4BSD-Lite.
  5581. Tue Aug 8 12:06:04 1995 Michael I. Bushnell, p/BSG <mib@duality.gnu.ai.mit.edu>
  5582. * inet/netinet/in.h (IP_MULTICAST_TTL, IP_MULTICAST_LOOP,
  5583. IP_MULTICAST_IP, IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP): New IP
  5584. layer socket options.
  5585. (IPPROTO_GGP): Delete obsolote protocol.
  5586. (IPPROTO_IGMP): Add new protocol (with same value [2] as old GGP).
  5587. (struct ip_mreq): New type.
  5588. Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5589. * stdlib/strtol.c: Use #ifdef, not #if, for HAVE_LIMITS_H.
  5590. * posix/glob.c (glob_in_dir): Allocate GLOB_MARK byte in case when
  5591. (NFOUND == 0 && (FLAGS & GLOB_NOCHECK)).
  5592. * sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
  5593. when __stdio_open fails with a code other than ENFILE or EMFILE.
  5594. Fri Aug 4 16:01:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5595. * Makefile (headers): Added gnu-versions.h.
  5596. Thu Aug 3 14:41:11 1995 Michael I. Bushnell <mib@duality.gnu.ai.mit.edu>
  5597. * inet/netinet/in.h (IN_CLASSD, IN_EXPERIMENTAL, IN_BADCLASS): Use
  5598. equality, not assignment, to test bitfields.
  5599. Sat Jul 29 10:41:06 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
  5600. * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
  5601. resolve AF_LOCAL addresses.
  5602. * sysdeps/mach/hurd/accept.c (accept): If the protocol family
  5603. can't tell us what an address means, just return a zero-length
  5604. buffer instead.
  5605. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
  5606. Fri Jul 28 15:29:11 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu>
  5607. * sysdeps/mach/hurd/bind.c (bind): Don't use
  5608. file_invoke_translator, as it doesn't work. Instead just lookup
  5609. the translated node again, and hope we're not hit by any race
  5610. conditions.
  5611. Wed Jul 26 02:00:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5612. * csu/Makefile [$(elf)=yes] (have-initfini): Set to yes.
  5613. [$(have-initfini)=yes]: Test this rather than $(elf) for crtstuff.
  5614. [start-installed-name-rule]: If this is defined, elide rule for
  5615. $(objpfx)$(start-installed-name).
  5616. * csu/initfini.c (SECTION): New macro, different definitions for
  5617. #ifdef HAVE_ELF and not.
  5618. (_init, _fini): Use that macro.
  5619. * sysdeps/unix/sysv/sco3.2.4/Makefile [$(subdir)=csu]
  5620. (start-installed-rule, start-installed-name-rule): New variables;
  5621. specify crt1.o, created by our own rule.
  5622. ($(objpfx)crt1.o): New rule.
  5623. * configure.in: Require autoconf 2.4.2 or later. Change all
  5624. AC_CACHE_VAL uses to use new AC_CACHE_CHECK macro instead;
  5625. prettify some messages.
  5626. [$elf!=yes] (libc_cv_have_initfini): New test for `.init' and `.fini'
  5627. sections.
  5628. * munch-tmpl.c [HAVE_INITFINI]: Call _init and atexit (_fini) in
  5629. this case rather than #ifdef HAVE_ELF.
  5630. * config.h.in (HAVE_INITFINI): New macro.
  5631. * config.make.in (have-initfini): New variable, set by configure.
  5632. * stdio/vfscanf.c (conv_error): Simplify expression to avoid
  5633. "value computed is not used" warning.
  5634. * Makeconfig (+gccwarn): Removed -Wconversion.
  5635. * csu/initfini.c (GLOBAL): Macro removed.
  5636. (_init, _fini): Always define globally.
  5637. * csu/Makefile (crtstuff, initfini): Don't make crt[in]_s.o.
  5638. * asia, backward, europe, leapseconds, southamerica: New data from
  5639. ADO's 95e.
  5640. * inet/Makefile (routines): Removed inet_addr.
  5641. * inet/inet_addr.c: Moved to resolv/ subdirectory.
  5642. * resolv/Makefile (routines): Added inet_addr.
  5643. * resolv/inet_addr.c: Incorporated from BIND 4.9.3-BETA24 release.
  5644. * resolv/gethnamaddr.c: Likewise.
  5645. * resolv/getnetbyaddr.c: Likewise.
  5646. * resolv/getnetbyname.c: Likewise.
  5647. * resolv/getnetent.c: Likewise.
  5648. * resolv/getnetnamadr.c: Likewise.
  5649. * resolv/herror.c: Likewise.
  5650. * resolv/nsap_addr.c: Likewise.
  5651. * resolv/res_comp.c: Likewise.
  5652. * resolv/res_debug.c: Likewise.
  5653. * resolv/res_init.c: Likewise.
  5654. * resolv/res_mkquery.c: Likewise.
  5655. * resolv/res_query.c: Likewise.
  5656. * resolv/res_send.c: Likewise.
  5657. * resolv/resolv.h: Likewise.
  5658. * resolv/sethostent.c: Likewise.
  5659. * resolv/arpa/nameser.h: Likewise.
  5660. * inet/netdb.h: Incorporated from BIND 4.9.3-BETA24 release.
  5661. [__GNU_LIBRARY__]: Include <rpc/netdb.h> instead of repeating
  5662. its declarations (and doing so only #ifdef sun!).
  5663. * conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
  5664. * posix/sys/types.h [__USE_BSD] (__BIT_TYPES_DEFINED__): New macro.
  5665. [__USE_BSD] [__GNUC__] (int64_t, u_int64_t, register_t): New typedefs.
  5666. * malloc/memalign.c: Allocate (SIZE + ALIGNMENT - 1) and then trim
  5667. if possible.
  5668. * mach/shortcut.awk: Emit decls for RPC.
  5669. * libc-symbols.h [GCC >= 2.7 && !ASSEMBLER] (weak_symbol,
  5670. weak_alias, strong_alias): Define using GCC __attribute__ syntax.
  5671. * Makerules ($(installed-libcs)): Depend on `lib' (only).
  5672. Tue Jul 25 09:14:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5673. * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
  5674. * stdlib/strtol.c [_LIBC]: Define STDC_HEADERS.
  5675. * sysdeps/unix/sysv/ftime.S: New file.
  5676. * locale/locfile-parse.c (categories_write): Cast "" to char *.
  5677. * io/fcntl.h [__OPTIMIZE__] (creat): Macro removed.
  5678. * time/strftime.c: Use year modulo 100 for %y.
  5679. * time/sys/timeb.h: Add __BEGIN_DECLS and __END_DECLS.
  5680. * sysdeps/unix/snarf-ioctls (snarfexclude): Use two sed's instead
  5681. of one, to work around bug in sunos4.1.2 sed.
  5682. * stdio/vfprintf.c (vfprintf): For %s with precision spec, use
  5683. memchr instead of strlen to limit search for NUL by precision.
  5684. Mon Jul 24 03:13:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5685. * sysdeps/posix/pathconf.c: New file.
  5686. Sat Jul 22 20:53:18 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5687. * sysdeps/unix/i386/sysdep.h (JUMPTARGET): Use ## to avoid space
  5688. before @PLT.
  5689. * sysdeps/mach/i386/sysdep.h (JUMPTARGET): New macro.
  5690. * sysdeps/i386/bsd-_setjmp.S: Use JUMPTARGET macro in jmp insn.
  5691. * sysdeps/i386/bsd-setjmp.S: Likewise.
  5692. Sat Jul 22 19:58:54 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
  5693. * inet/Makefile (routines): Added `ruserpass'.
  5694. * inet/ruserpass.c: New file, from BSD Net-2 sources for the FTP
  5695. client. Modified to remove the fourth arg AACCT. Do nothing for
  5696. the `account' and `macdef' keywords. Other incidental changes
  5697. because we are not in the FTP source tree.
  5698. Sat Jul 22 01:56:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5699. * sysdeps/stub/init-posix.c: Removed stub warning.
  5700. * Makefile (autoconf-it): Make it executable and unwritable.
  5701. * configure.in (sysnames): Under --enable-debug-configure, spew
  5702. potential sysnames.
  5703. * sysdeps/unix/i386/sysdep.h (JUMPTARGET): New macro; use name@PLT
  5704. #ifdef PIC.
  5705. (PSEUDO): Use JUMPTARGET(syscall_error) in jump insn.
  5706. * sysdeps/unix/i386/syscall.S: Use JUMPTARGET(syscall_error) in
  5707. jump insn.
  5708. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.h: Rewritten.
  5709. * sysdeps/unix/sysv/sysv4/linux/i386/syscall.S: New file.
  5710. * sysdeps/unix/sysv/sysv4/linux/i386/socket.S: Include
  5711. <sys/socketcall.h>. Save %ebx in call-clobbered %edx instead of
  5712. stack. Use JUMPTARGET(syscall_error) in jump insn.
  5713. * Makeconfig (+gccwarn): Add -Wbad-function-cast -Wconversion.
  5714. * sysdeps/unix/i386/sysdep.h (ENTRY): Use ASM_GLOBAL_DIRECTIVE and
  5715. ASM_TYPE_DIRECTIVE.
  5716. (ASM_TYPE_DIRECTIVE): New macro; defined using `.type' #ifdef ELF.
  5717. * sysdeps/unix/sysv/sysv4/linux/i386/sysdep.S (__syscall_error):
  5718. Rewritten, #include'ing unix/i386/sysdep.S for most of the code.
  5719. * sysdeps/unix/i386/sysdep.S [PIC]: Store into `errno' through the GOT.
  5720. * configure.in (os=linux*): Use unix/sysv/sysv4 for $base_os,
  5721. instead of unix/sysv.
  5722. * sysdeps/unix/sysv/linux/{accept,connect,getsockname,rename,
  5723. socketpair,waitpid,bind,getpeername,listen,setsid,wait4}.S: Moved
  5724. to new directory sysdeps/unix/sysv/sysv4/linux.
  5725. * sysdeps/unix/sysv/linux: Directory removed.
  5726. * sysdeps/unix/sysv/i386/linux/{socket.S,sysdep.h,sysdep.S}: Moved
  5727. to new directory sysdeps/unix/sysv/sysv4/linux/i386.
  5728. * sysdeps/unix/sysv/linux/i386: Directory removed.
  5729. Fixes to help Linux, inspired by drepper's work:
  5730. * sysdeps/posix/utimes.c: New file.
  5731. * sysdeps/generic/getdomain.c: New file.
  5732. * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
  5733. * sysdeps/generic/dl-sysdep.c: Include <unistd.h> and declare
  5734. externals _dl_argc, _dl_argc, and _environ.
  5735. Fri Jul 21 12:57:29 1995 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
  5736. * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
  5737. EOPNOTSUPP as indications that the server has died.
  5738. * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
  5739. * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
  5740. Mon Jul 17 08:45:40 1995 Jim Meyering (meyering@comco.com)
  5741. * strtol.c: Portability changes from Uli Drepper.
  5742. [!STDC_HEADERS && !defined(NULL)]: Define NULL.
  5743. Mon Jul 10 05:39:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5744. * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
  5745. DATA for the entry SP; DATA[-1] is always the return address
  5746. location. In both cthreads and non-cthreads cases, use asm to
  5747. force parameters into %eax and %ecx before return, and mutate
  5748. DATA[-1] to return to specific asm code to set up the user from
  5749. %eax and %ecx.
  5750. [PIC] (_init): Caller changed.
  5751. (__libc_init_first) [! PIC] (doinit): Use asm to effect call to init
  5752. with SP unwound to argument data ptr.
  5753. Thu Jul 6 14:28:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5754. * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
  5755. when 0x08000000 and up are not mapped.
  5756. * Makerules (stamp$o-$(subdir) rule): Remove the timestamp file
  5757. before touching it.
  5758. (lib%.so): Use -Wl to get -soname to ld.
  5759. * elf/dlsym.c: Pass final arg to _dl_lookup_symbol.
  5760. * elf/Makefile (libdl.so): Pass $(LDFLAGS.so).
  5761. Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5762. * Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
  5763. library's name including $(libprefix) and major version number.
  5764. * locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
  5765. in place of xcalloc.
  5766. * Makeconfig (prefix, exec_prefix, libprefix): Instead of
  5767. `ifndef', use the $(origin) function to only set these if they are
  5768. undefined, and not if they are defined to empty.
  5769. * gnu-versions.h: New file.
  5770. * features.h (__GNU_LIBRARY__): Increase value to 5.
  5771. Wed Jun 14 03:45:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5772. * stdio/stdio.h (__validfp): Use ({...}) rather than a comma
  5773. expression, to avoid gcc's "value computed is not used" warning.
  5774. * libc-symbols.h (_elf_set_element): Give the set-element variable
  5775. an `unused' attribute.
  5776. * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
  5777. __attribute__ ((__const__)).
  5778. * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
  5779. * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
  5780. LINK->resource.next->resource.prevp when appropriate, not
  5781. LINK->resource.next->thread.prevp!!!
  5782. Tue Jun 13 15:45:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5783. * configure.in (libc_cv_asm_set_directive): Make sure that the
  5784. `.set' directive really worked by linking against a reference to
  5785. the alias.
  5786. * sysdeps/stub/init-first.c: Don't include <hurd.h>.
  5787. [PIC] (soinit): Renamed to (global) _init.
  5788. Mon Jun 12 13:15:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5789. * malloc/Makefile (gmalloc-routines): Remove valloc.
  5790. (dist-routines): Add it here.
  5791. * malloc/malloc.h [_MALLOC_INTERNAL] [emacs] (valloc): #define to
  5792. emacs_loser_valloc to inhibit valloc declaration below.
  5793. * Makerules (lib%.so: lib%_pic.a): Moved this rule to after
  5794. installation rules.
  5795. * sysdeps/mach/sysdep.h [HAVE_ELF] (ENTRY): Redefine this macro so
  5796. it uses the `.type' directive, which is necessary for shared
  5797. libraries to work properly.
  5798. Thu Jun 8 02:50:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5799. * elf/dl-load.c (_dl_map_object): Add MAP_INHERIT flag in mmap
  5800. from zero fill.
  5801. * elf/dl-lookup.c (_dl_lookup_symbol): Take new flag arg NOSELF;
  5802. if nonzero, don't let *REF satisfy the reference itself.
  5803. * elf/link.h (_dl_lookup_symbol): Add new arg NOSELF in decl.
  5804. * sysdeps/i386/dl-runtime.c (_dl_runtime_resolve): Pass new arg to
  5805. _dl_lookup_symbol.
  5806. * elf/do-rel.h (elf_dynamic_do_rel): Pass new second arg of
  5807. R->r_offset to RESOLVE callback.
  5808. * elf/dl-reloc.c (_dl_relocate_object: resolve): Don't let *REF
  5809. satisfy the reference itself if its value equals the reloc's
  5810. offset.
  5811. * elf/rtld.c (dl_main): Write a newline in fatal msg.
  5812. * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS.so).
  5813. * elf/rtld.c [! NDEBUG] (__assert_perror_fail): New function.
  5814. * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
  5815. and user entry point addresses.
  5816. * elf/dl-load.c (open_path): Don't do strlen on DIRPATH if it's null.
  5817. (_dl_map_object): DT_RPATH value is relative to DT_STRTAB value.
  5818. * Makerules (install-lib.so): Don't include libc.so.
  5819. [$(build-shared)=yes] (install): Depend on the installed libc.so file.
  5820. [$(build-shared)=yes] (install-no-libc.a): Make this, rather than
  5821. install, depend on the installed $(install-lib.so) files.
  5822. [$(build-shared)=yes] (install-lib.so): Append libc.so after that rule.
  5823. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
  5824. allocate high addresses to avoid random mappings appearing there.
  5825. (mmap): Comment out mask; always pass zero.
  5826. Tue Jun 6 13:34:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5827. * sysdeps/i386/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
  5828. * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
  5829. * elf/dl-error.c (_dl_catch_error): Clear *ERRSTRING and *OBJNAME
  5830. when successful.
  5831. * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
  5832. (__hurd_threadvar_max, __hurd_threadvar_stack_offset): Define these
  5833. variables, using the `threadvars' buffer.
  5834. * elf/dl-reloc.c: Don't dereference L->l_prev when it's null.
  5835. * sysdeps/i386/dl-runtime.c: Likewise.
  5836. * elf/rtld.c (dl_main): Add missing NULL terminating argument in
  5837. _dl_sysdep_fatal call.
  5838. (__assert_fail): Likewise.
  5839. * locale/Makefile (localedef-modules): Renamed ctype to
  5840. locale-ctype so as not to conflict with the object file for
  5841. ctype/ctype.c in the build directory.
  5842. Mon Jun 5 04:02:26 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5843. * elf/elf.h (ELFMAG): Use \177 instead of \x7f. It seems GCC
  5844. insists on seeing the following E as part of hex 7FE, and
  5845. complaining that is wider than a byte.
  5846. Sun Jun 4 22:14:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5847. * hurd/Makefile (sig): Added thread-self.
  5848. * hurd/hurd.h: Declare hurd_thread_self.
  5849. * hurd/thread-self.c: New file.
  5850. Thu Jun 1 12:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5851. * elf/rtld.c: Initialize RTLD_MAP.l_type.
  5852. * elf/dl-reloc.c (_dl_relocate_object): Clear LAZY if relocating
  5853. the dynamic linker itself.
  5854. * sysdeps/i386/dl-machine.h (elf_machine_rel): If MAP->l_type is
  5855. lt_interpreter, first undo relocation done during bootstrapping.
  5856. Tue May 30 15:52:32 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5857. * mach/Makefile (server-interfaces): Removed notify and
  5858. device_reply. For shlibs with eager binding, libmachuser.so must
  5859. not refer to any functions not defined in libc.
  5860. Sat May 27 16:23:22 1995 Jim Meyering (meyering@comco.com)
  5861. * sysdeps/generic/memchr.c: Cast RHS to const unsigned char *
  5862. to avoid error from Irix-4.0.5's C compiler. From Kaveh Ghazi.
  5863. Fri May 26 13:00:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5864. * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
  5865. pending signals if the thread is in a critical section. It will
  5866. send us a msg when it finishes.
  5867. * sysdeps/mach/hurd/pathconf.c: New file.
  5868. * sysdeps/mach/hurd/fpathconf.c: New file.
  5869. * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
  5870. SIGCHLD when the SA_NOCLDSTOP bit actually changes.
  5871. Sun May 21 05:05:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5872. * elf/Makefile (ld.so): Use -nostartfiles in addition to
  5873. -nostdlib.
  5874. Sun May 21 02:01:29 1995 Jim Meyering (meyering@comco.com)
  5875. * sysdeps/generic/memchr.c: Don't include <string.h> at all.
  5876. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for
  5877. memchr unless one manually arranges for them to define __STDC__.
  5878. Fri May 19 17:16:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5879. * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
  5880. args on stack from kernel.
  5881. * posix/Makefile, sysdeps/alpha/Makefile,
  5882. * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
  5883. * Makerules, Make-dist: Fix "cvs commit" cmds in rules to not fail
  5884. in the absence of CVS dirs.
  5885. * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
  5886. kernel on the stack properly.
  5887. * set-init.c: Never call _init/_fini; just run __libc_subinit.
  5888. * Makerules (LDFLAGS-c.so): Add -nostartfiles.
  5889. * mach/Machrules (LDFLAGS-$(interface.so)): Likewise.
  5890. * configure.in: Move defaulting of --with-elf and --with-gnu-*
  5891. based on host os outside the AC_CACHE_VAL for the sysdirs
  5892. calculation.
  5893. * Makeconfig (localedir, nlsdir): New variables.
  5894. * values.h: New file.
  5895. * Makefile (headers): Add values.h.
  5896. * locale/Makefile (distribute): Add error.h.
  5897. * locale/localedef.c: Include "error.h".
  5898. (main): Use error_message_count instead of warning_cntr.
  5899. Wed May 17 16:50:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5900. Merged 1003.2 locale and localedef programs by Ulrich Drepper.
  5901. * locale/charmap.c: New file.
  5902. * locale/collate.c: New file.
  5903. * locale/config.h: New file.
  5904. * locale/ctype.c: New file.
  5905. * locale/ctypedump.c: New file.
  5906. * locale/hash.c: New file.
  5907. * locale/hash.h: New file.
  5908. * locale/iso-4217.def: New file.
  5909. * locale/keyword.gperf: New file.
  5910. * locale/keyword.h: New file.
  5911. * locale/libintl.h: New file.
  5912. * locale/locale.c: New file.
  5913. * locale/localedef.c: New file.
  5914. * locale/localedef.h: New file.
  5915. * locale/locfile-lex.c: New file.
  5916. * locale/locfile-parse.c: New file.
  5917. * locale/messages.c: New file.
  5918. * locale/monetary.c: New file.
  5919. * locale/numeric.c: New file.
  5920. * locale/token.h: New file.
  5921. * posix/regex.c, posix/regex.h: New files, incorporated from GNU regex.
  5922. * posix/Makefile (headers): Add regex.h.
  5923. (routines): Add regex.
  5924. (gpl2lgpl): Add regex.c and regex.h.
  5925. Tue May 16 17:35:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5926. * locale/loadlocale.c: Expect macro LOCALE_PATH to be defined,
  5927. instead of hard-coding "/share/locale".
  5928. Sat May 13 02:16:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5929. * configure.in (os=gnu*): Always set elf=yes, not just for os=gnu*elf*.
  5930. Fri May 12 15:31:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5931. * elf/elf.h (ELFMAG, SELFMAG): New macros.
  5932. Fri May 12 11:24:53 1995 Michael I Bushnell <mib@duality.gnu.ai.mit.edu>
  5933. * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
  5934. the case where it starts out less than _hurd_dtablesize.
  5935. Thu May 11 20:51:05 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5936. * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
  5937. make sure the new size exceeds FIRST_FD.
  5938. Wed May 10 21:00:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5939. * sysdeps/mach/i386/sysdep.h (RETURN_TO): New macro.
  5940. Tue May 9 01:26:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5941. * Makerules (install-lib.so): Add %.so for each %_pic.a.
  5942. * sysdeps/i386/elf/start.S (__data_start): Define this symbol as
  5943. the first thing in .data.
  5944. * sysdeps/mach/_strerror.c (_strerror_internal): Eschew sprintf.
  5945. * hurd/hurdstartup.h: New file.
  5946. * sysdeps/i386/elf/start.S: Give two operands to `testl' when they
  5947. are the same. Use `jz' instead of `jeq'.
  5948. * Makeconfig (config.make): Depend on config.status, and run it to
  5949. update.
  5950. (config.status): New target; depend on configure.
  5951. If target (config.status) exists, run it with --recheck to update;
  5952. if not, give error msg saying to run confiugre by hand.
  5953. * Makerules [$(sysd-Makefile-sysdirs) != $(sysdirs)]
  5954. (sysd-Makefile-force): Set this variable to FORCE in this case, to
  5955. force a rebuild of sysd-Makefile.
  5956. (sysd-Makefile): Depend on $(sysd-Makefile-force).
  5957. Write into the file sysd-Makefile-sysdirs:=$(sysdirs).
  5958. [$(sysd-rules-sysdirs) != $(sysdirs)] (sysd-rules-force): Set this
  5959. variable to FORCE in this case, to force a rebuild of sysd-rules.
  5960. (sysd-rules): Depend on $(sysd-rules-force).
  5961. Write into the file sysd-rules-sysdirs:=$(sysdirs).
  5962. * Makerules (LDFLAGS-c.so): Change ld option -interp to
  5963. -dynamic-linker.
  5964. * Makerules (do-install-program): New canned sequence.
  5965. (install-bin, install-sbin): Use it.
  5966. (install for lib*.so): Use it instead of $(do-install).
  5967. Fix .so installation rules to handle lib*.so and *.so, deal with
  5968. $(libprefix) right, and install *.so as *.so$($(*.so)-version);
  5969. i.e. "libc.so-version = .1".
  5970. Mon May 8 05:10:25 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5971. * elf/do-rel.h: New file, split out of dynamic-link.h.
  5972. * elf/Makefile (distribute): Add do-rel.h.
  5973. Sat May 6 11:06:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5974. * Makeconfig (+gccwarn): Add -Winline.
  5975. * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
  5976. set, avoid abort_rpcs, and use reply and intr ports saved in
  5977. SS->context.
  5978. * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
  5979. from SS->context. Don't clear SS->context.
  5980. * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
  5981. setting SS->context. If msg_sig_post returns, re-lock and clear
  5982. SS->context.
  5983. Fri May 5 10:37:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5984. * mach/Makefile (errsystems.c): Comment out generation rule.
  5985. * sysdeps/mach/_strerror.c: Consider a system unknown if its
  5986. bad_sub member is null.
  5987. * mach/mig-alloc.c: Add weak alias to non-__ name.
  5988. Wed May 3 11:56:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5989. * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
  5990. Tue May 2 01:52:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  5991. * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE
  5992. function. Duh.
  5993. * hurd/Makefile (distribute): Added hurdstartup.h.
  5994. * hurd/hurd.h: Remove _hurd_startup decl.
  5995. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
  5996. ((__unused__)) instead of gratuitous self reference.
  5997. * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
  5998. table if FD2 doesn't fit.
  5999. * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
  6000. not the current table size.
  6001. * sysdeps/mach/i386/sysdep.h (SNARF_ARGS, CALL_WITH_SP): Rewritten.
  6002. Implemented runtime dynamic linker to support ELF shared libraries.
  6003. * elf/Makefile: Added rules to make ld.so and libdl.
  6004. * elf/dl-error.c: New file.
  6005. * elf/dl-fini.c: New file.
  6006. * elf/dl-init.c: New file.
  6007. * elf/dl-load.c: New file.
  6008. * elf/dl-lookup.c: New file.
  6009. * elf/dl-object.c: New file.
  6010. * elf/dl-reloc.c: New file.
  6011. * elf/dlclose.c: New file.
  6012. * elf/dlerror.c: New file.
  6013. * elf/dlopen.c: New file.
  6014. * elf/dlsym.c: New file.
  6015. * elf/dynamic-link.h: New file.
  6016. * elf/link.h: New file.
  6017. * elf/rtld.c: New file.
  6018. * sysdeps/i386/dl-machine.h: New file.
  6019. * sysdeps/stub/dl-machine.h: New file.
  6020. * sysdeps/i386/dl-runtime.c: New file.
  6021. * sysdeps/stub/dl-runtime.c: New file.
  6022. * sysdeps/i386/elf/start.S: New file.
  6023. * sysdeps/generic/dl-sysdep.c: New file.
  6024. * sysdeps/mach/hurd/dl-sysdep.c: New file.
  6025. * sysdeps/mach/hurd/i386/init-first.c: New file.
  6026. * sysdeps/i386/init-first.c: New file.
  6027. * sysdeps/stub/init-first.c: New file.
  6028. Mon May 1 18:48:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6029. * Makerules (LDFLAGS-c.so): Add -interp and -e switches to make
  6030. libc.so runnable.
  6031. * version.c (__libc_print_version): Add "et al" and missing NL to
  6032. author credit.
  6033. Sat Apr 29 15:46:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6034. * posix/glob.c (S_ISDIR): Define if undefined.
  6035. Thu Apr 27 01:24:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6036. * configure.in: Unless --without-fp, prepend */fpu before each
  6037. machine dir in $mach; don't prepend FPU dirs at end. If
  6038. --with-elf, prepend MACHINE/elf directories at end; don't insert
  6039. them into $mach.
  6040. * Makerules (dist): Filter out *.[cSs] from $(distribute) in deps.
  6041. * sysdeps/stub/clock.c: Added stub warning.
  6042. * sysdeps/stub/dirfd.c: Likewise.
  6043. * sysdeps/stub/exc2signal.c: Likewise.
  6044. * sysdeps/stub/fdopen.c: Likewise.
  6045. * sysdeps/stub/flock.c: Likewise.
  6046. * sysdeps/stub/fpathconf.c: Likewise.
  6047. * sysdeps/stub/ftruncate.c: Likewise.
  6048. * sysdeps/stub/gtty.c: Likewise.
  6049. * sysdeps/stub/isatty.c: Likewise.
  6050. * sysdeps/stub/killpg.c: Likewise.
  6051. * sysdeps/stub/madvise.c: Likewise.
  6052. * sysdeps/stub/mkstemp.c: Likewise.
  6053. * sysdeps/stub/mktemp.c: Likewise.
  6054. * sysdeps/stub/mprotect.c: Likewise.
  6055. * sysdeps/stub/msync.c: Likewise.
  6056. * sysdeps/stub/pathconf.c: Likewise.
  6057. * sysdeps/stub/poll.c: Likewise.
  6058. * sysdeps/stub/raise.c: Likewise.
  6059. * sysdeps/stub/readv.c: Likewise.
  6060. * sysdeps/stub/setenv.c: Likewise.
  6061. * sysdeps/stub/setlogin.c: Likewise.
  6062. * sysdeps/stub/sigaltstack.c: Likewise.
  6063. * sysdeps/stub/sigintr.c: Likewise.
  6064. * sysdeps/stub/sigstack.c: Likewise.
  6065. * sysdeps/stub/sleep.c: Likewise.
  6066. * sysdeps/stub/sstk.c: Likewise.
  6067. * sysdeps/stub/stime.c: Likewise.
  6068. * sysdeps/stub/stty.c: Likewise.
  6069. * sysdeps/stub/syscall.c: Likewise.
  6070. * sysdeps/stub/sysconf.c: Likewise.
  6071. * sysdeps/stub/truncate.c: Likewise.
  6072. * sysdeps/stub/ualarm.c: Likewise.
  6073. * sysdeps/stub/usleep.c: Likewise.
  6074. * sysdeps/stub/utimes.c: Likewise.
  6075. * sysdeps/stub/writev.c: Likewise.
  6076. * sysdeps/stub/libc_fatal.c: Remove __NORETURN keyword.
  6077. Wed Apr 26 16:06:42 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6078. * locale/loadlocale.c (_nl_free_locale): Do nothing if DATA is null.
  6079. Tue Apr 25 17:17:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6080. * posix/glob.c (glob): If GLOB_MARK set, stat names to find
  6081. directories and append slashes to them in final pass before
  6082. sorting.
  6083. (glob_in_dir): If GLOB_MARK set, just allocate the extra char for the
  6084. slash; never append it here.
  6085. Sat Apr 22 14:48:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6086. * mach/Machrules [interface-library]
  6087. (LDFLAGS-$(interface-library:lib%=%.so)): New variable, set to
  6088. -nostdlib.
  6089. * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
  6090. _hurd_siglock only around initial task creation in parent. Use
  6091. _hurd_critical_section_unlock at end. Handle dead name rights
  6092. properly, and deal with a send right dying while we try to copy
  6093. it. For the time being, use assert_perror for kernel and proc RPC
  6094. failures.
  6095. Fri Apr 21 01:10:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6096. * extra-lib.mk: Don't include $(o-iterator); construct it by hand
  6097. using $(object-suffixes-$(lib)) instead.
  6098. * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
  6099. * Makerules (lib%.so: lib%_pic.a): Pass $(LDFLAGS-$(notdir $*).so).
  6100. (LDFLAGS-c.so): New variable.
  6101. * resolv/res_init.c (res_init): Don't clobber _res.options with
  6102. RES_DEFAULT. If RES_INIT is clear, OR in RES_DEFAULT.
  6103. * hurd/hurd.h: Declare _hurd_startup.
  6104. * hurd/hurdstartup.c: New file.
  6105. * hurd/Makefile (routines): Add hurdstartup.
  6106. Thu Apr 20 22:23:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6107. * hurd/hurdsig.c: Use assert_perror for many calls which should
  6108. never fail and previously were not checked.
  6109. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  6110. Point the return address for sigreturn's frame at a "hlt" insn so
  6111. it will definitely crash if sigreturn returns.
  6112. Wed Apr 19 18:40:11 1995 Brendan Kehoe (brendan@zen.org)
  6113. * time/tzset.c (__tzname, __daylight, __timezone): Don't check
  6114. HAVE_WEAK_SYMBOLS for doing weak_alias.
  6115. Wed Apr 19 18:12:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6116. * configure.in: Move $os tests to set $elf et al earlier, before
  6117. construction of $sysnames. Instead of prepending MACHINE/elf to
  6118. $sysnames, append &/elf after each elt appended to $mach.
  6119. Tue Apr 18 14:00:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6120. * configure.in (libc_cv_asm_global_directive): New check to define
  6121. ASM_GLOBAL_DIRECTIVE.
  6122. * config.h.in: Add #undef ASM_GLOBAL_DIRECTIVE.
  6123. * libc-symbols.h (strong_alias_asm, strong_alias): Use
  6124. ASM_GLOBAL_DIRECTIVE on the alias.
  6125. * sysdeps/unix/make_errlist.c (main): Don't generate "#ifdef
  6126. HAVE_WEAK_SYMBOLS" #defns.
  6127. Mon Apr 17 12:02:49 1995 Brendan Kehoe (brendan@zen.org)
  6128. * sysdeps/alpha/strlen.c (strlen): Fix cmpbge insn, and returning
  6129. of the byte that was zero, so we return a valid number.
  6130. Sun Apr 16 03:23:09 1995 Brendan Kehoe (brendan@zen.org)
  6131. * sysdeps/unix/bsd/ultrix4/mips/sysdep.h: New file defining
  6132. NO_UNDERSCORES then using sysdeps/unix/mips/sysdep.h.
  6133. Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
  6134. * sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
  6135. [BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
  6136. * sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
  6137. [BITS_PER_MP_LIMB == 64]: Likewise.
  6138. * sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
  6139. * sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
  6140. * sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.
  6141. * sysdeps/unix/bsd/osf/alpha/sigpause.S (__sigpause): Likewise.
  6142. * sysdeps/unix/bsd/osf/alpha/sigvec.S (__sigvec): Likewise.
  6143. * sysdeps/unix/bsd/osf/alpha/getdents.S (__getdirentries): Likewise.
  6144. * sysdeps/unix/bsd/osf/alpha/fork.S (__fork): Likewise.
  6145. * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
  6146. * sysdeps/unix/bsd/osf/alpha/recv.S (recv): Likewise.
  6147. * sysdeps/unix/bsd/osf/alpha/send.S (send): Likewise.
  6148. * sysdeps/unix/bsd/osf/alpha/vhangup.S (vhangup): Likewise.
  6149. * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end directive.
  6150. * sysdeps/unix/mips/fork.S (fork): Likewise.
  6151. * sysdeps/unix/mips/pipe.S (fork): Likewise.
  6152. * sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
  6153. * sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
  6154. * sysdeps/unix/mips/wait.S (__handler): Likewise.
  6155. * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
  6156. * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
  6157. * sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
  6158. * sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
  6159. * sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
  6160. * sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
  6161. * sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
  6162. * sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
  6163. * sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
  6164. * sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
  6165. instead of `zero' for the li instruction.
  6166. * sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
  6167. preprocessor comments, not assembler comments.
  6168. * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
  6169. * sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
  6170. Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6171. * malloc/malloc.c (register_heapinfo) [__GNUC__]: Use __inline__
  6172. in place of inline.
  6173. Thu Apr 13 09:45:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6174. * Makefile (distribute): Add ChangeLog.[0-9].
  6175. * configure.in: Add check for .set directive.
  6176. * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE.
  6177. * libc-symbols.h [! HAVE_ASM_SET_DIRECTIVE] (strong_alias,
  6178. strong_alias_asm): Use `foo = bar' syntax instead.
  6179. * Makerules [! subdir] (O%-lib): Don't prepend ../.
  6180. * sysdeps/generic/expm1.c: #undef expm1 before weak_alias.
  6181. * configure.in: Fix AC_ARG_WITH uses; check for --with-fp. Move
  6182. $host_os checks to set gnu_ld/as and elf before sysdirs
  6183. generation. Fix $with_fp test.
  6184. [$elf=yes]: Prepend MACHINE/elf directory.
  6185. * elf/libelf.h (elf_hash): Use XOR instead of ANDN when the bits
  6186. being cleared are already known to be set. Thanks Ulrich.
  6187. Wed Apr 12 23:27:22 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6188. * posix/environ.c: Add weak alias `_environ'.
  6189. Tue Apr 11 20:38:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6190. * sysdeps/i386/add_n.S [PIC]: Use self-call to avoid generating reloc.
  6191. * sysdeps/i386/sub_n.S [PIC]: Likewise.
  6192. Mon Apr 10 14:53:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6193. * libc-symbols.h (_elf_set_element) [PIC]: Don't make the element
  6194. word `const'.
  6195. * Makeconfig (CPPFLAGS, CFLAGS): Fix swapped references to
  6196. $(foo-$(suffix $@)).
  6197. * manual/Makefile (chapters-incl): Filter out summary.texi.
  6198. * stdlib/strtod.c (STRTOF): Use extra macro to make STRTOF's #defn
  6199. a weak symbol instead of literal "STRTOF".
  6200. * locale/setlocale.c: Work around ld bug: don't weakify refs to
  6201. _nl_{current,C}_*.
  6202. Sun Apr 9 01:24:33 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6203. * Makerules (+depfiles): Translate %.so to %.o in $(extra-objs).
  6204. * malloc/free.c [emacs] (__malloc_safe_bcopy): Define to safe_bcopy.
  6205. * malloc/realloc.c (__malloc_safe_bcopy): Undefine before defining.
  6206. * malloc/free.c (memmove, __malloc_safe_bcopy): Do include these
  6207. #ifdef emacs, but only #ifndef memmove.
  6208. * malloc/realloc.c [emacs] (__malloc_safe_bcopy): Just #define to
  6209. safe_bcopy.
  6210. (memmove): Define only if undefined.
  6211. Sat Apr 8 00:40:59 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6212. * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
  6213. sure these are simply-expanded variables.
  6214. * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
  6215. mmap call.
  6216. * configure.in (os=freebsd*|bsdi*): Set base_os=unix/bsd/bsd4.4
  6217. for these too.
  6218. * sysdeps/unix/sysv/tcsetattr.c: Use |= instead of = to properly
  6219. set c_oflag value.
  6220. * Makeconfig [! objpfx] (csu-objpfx): Add trailing slash.
  6221. * locale/Makefile (categories): Uncomment collate.
  6222. * locale/lc-collate.c: New file.
  6223. * malloc/free.c (__malloc_safe_bcopy, memmove): Don't define
  6224. #ifdef emacs.
  6225. * malloc/realloc.c: Likewise.
  6226. * stdio/_itoa.h (_EXTERN_INLINE): Define if undefined.
  6227. (_itoa): Use it in defn.
  6228. * stdio/_itoa.c (_EXTERN_INLINE): Define to empty before #include
  6229. "_itoa.h".
  6230. (_itoa): Function removed.
  6231. * malloc/free.c: Remove use of `assert'.
  6232. * malloc/realloc.c [! emacs] (safe_bcopy): Renamed to
  6233. __malloc_safe_bcopy; #define safe_bcopy.
  6234. * malloc/free.c: Cope with systems lacking `memmove'.
  6235. (_free_internal): Cast result of _malloc_internal.
  6236. Wed Apr 5 00:13:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6237. * hurd/hurdinline.c: Include signal.h first, so we don't define
  6238. its inlines too.
  6239. * sysdeps/unix/sysv/sysv4/sigset.h (__sigfillset): Use ~0L instead
  6240. of -1 to avoid compiler warning.
  6241. * configure.in (host_os=linux*): Set elf=yes for this, not just
  6242. linux*elf*.
  6243. * misc/login_tty.c [! TIOCSCTTY]: Try an emulation using ttyname
  6244. and open.
  6245. * sysdeps/i386/bsd-_setjmp.S: Fix typo in name: setjmp -> _setjmp.
  6246. Tue Apr 4 00:48:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6247. * sysdeps/unix/start.c: Remove spurious decl and #endif.
  6248. * misc/progname.c (program_invocation_name,
  6249. program_invocation_short_name): Make these initialized data
  6250. definitions.
  6251. * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
  6252. so gcc doesn't optimize out the function entirely.
  6253. Sun Apr 2 13:13:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6254. * posix/execvp.c: Don't use stat to search path; just try execv
  6255. until it works.
  6256. * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
  6257. SS->active_resources, so that _hurdsig_longjmp_from_handler will
  6258. be called when a longjmp unwinds the signal frame.
  6259. * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
  6260. SS->active_resources chain added by _hurd_setup_sighandler.
  6261. * hurd/sigunwind.c: New file.
  6262. * hurd/Makefile (sig): Add sigunwind.
  6263. * Makerules (lib%.so: lib%_pic.a): Remove dir name from $*.
  6264. * MakeTAGS (tags-sources): Include $(all-dist).
  6265. [subdir] (all-dist): Define to $(distribute).
  6266. Sat Apr 1 00:08:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6267. * Makerules (lib%.so: lib%_pic.a): Pass -L options for subdir and
  6268. parent objdirs.
  6269. * extra-lib.mk (object-suffixes-$(lib)): New variable, produced by
  6270. filtering out $($(lib)-inhibit-o); use that instead of
  6271. $(object-suffixes) in all the other variables.
  6272. * locale/loadlocale.c (_nl_load_locale) [MAP_FILE]: Define it zero
  6273. if undefined.
  6274. * string/strxfrm.c: Just copy the string (for now).
  6275. * string/strcoll.c: Just call strcmp (for now).
  6276. * mach/Makefile (lock): Add mutex-init.
  6277. * mach/mutex-solid.c (_cthread_mutex_lock_routine,
  6278. _cthread_mutex_unlock_routine): Variables removed.
  6279. (__mutex_lock_solid, __mutex_unlock_solid): Don't use them; just stub.
  6280. (__mutex_init): Function moved to new file mutex-init.c.
  6281. * mach/mutex-init.c: New file, broken out of mutex-solid.c.
  6282. Thu Mar 30 20:43:02 1995 Brendan Kehoe <brendan@zen.org>
  6283. * sysdeps/mips/__longjmp.c (__longjmp): Take out CONST.
  6284. * sysdeps/alpha/__longjmp.c (__longjmp): Take out const.
  6285. Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6286. * elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though
  6287. both are zero).
  6288. Wed Mar 29 11:26:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6289. * elf/dlfcn.h: New file.
  6290. * Make-dist (README): Commit it to CVS if there is a CVS directory.
  6291. More changes from Germano Caronni <caronni@tik.ethz.ch>:
  6292. * malloc/free.c: Relocate _heapinfo when that allows us to return
  6293. core to the system.
  6294. * malloc/malloc.c: Move #include <errno.h> outside #ifndef
  6295. _MALLOC_INTERNAL.
  6296. Mon Mar 27 02:23:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6297. * mach/Makefile (headers): Add mach/mach_traps.h.
  6298. * Makerules ($(installed-libcs) rule): Fix typos.
  6299. * sysdeps/unix/bsd/bsd4.4/revoke.S: New file.
  6300. * sysdeps/stub/revoke.c: New file.
  6301. * misc/Makefile (routines): Add revoke.
  6302. * posix/unistd.h [__USE_BSD] (revoke): Declare it.
  6303. * sysdeps/generic/pty.c (openpty, forkpty): Declare return types.
  6304. (forkpty): Declare login_tty.
  6305. * misc/logwtmp.c (logwtmp): Declare to return void.
  6306. * misc/login_tty.c (login_tty): Include unistd.h. Declare return type.
  6307. * posix/unistd.h [__USE_BSD] (ttyslot): Declare it.
  6308. * posix/unistd.h [__USE_BSD] (L_SET, L_INCR, L_XTND): Define
  6309. unless L_SET already defined.
  6310. * misc/sys/file.h (L_SET, L_INCR, L_XTND): Don't define if L_SET
  6311. already defined.
  6312. Incorporated -lutil library from 4.4-Lite.
  6313. * misc/Makefile (extra-libs, libutil-routines): New variables.
  6314. * misc/login.c, misc/login_tty.c, misc/logout.c, misc/logwtmp.c,
  6315. sysdeps/generic/pty.c: New files for -lutil incorporated from 4.4-Lite.
  6316. Support simple, light-weight unwind-protect mechanism for longjmp.
  6317. * setjmp/longjmp.c: Call _longjmp_unwind first thing.
  6318. * sysdeps/mach/hurd/jmp-unwind.c: New file.
  6319. * sysdeps/stub/jmp-unwind.c: New file.
  6320. * sysdeps/i386/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
  6321. * sysdeps/mips/jmp_buf.h (_JMPBUF_UNWINDS): New macro.
  6322. * setjmp/Makefile (routines): Add jmp-unwind.
  6323. * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
  6324. `prevp' members into new substructure `resource'; add another such
  6325. substructure `thread' and members `cleanup' (function ptr) and
  6326. `cleanup_data' (generic ptr).
  6327. (_hurd_userlink_link, _hurd_userlink_unlink): Insert/remove LINK
  6328. into the `_hurd_self_sigstate ()->active_resources' list via the
  6329. `thread' substructure.
  6330. * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
  6331. (_hurd_port_locked_get): Set LINK->cleanup to _hurd_port_cleanup and
  6332. LINK->cleanup_data' to the port extracted.
  6333. * hurd/hurd/signal.h (struct hurd_sigstate): New member
  6334. `active_resources'.
  6335. * hurd/port-cleanup.c: New file.
  6336. * hurd/Makefile (routines): Add port-cleanup.
  6337. * malloc/malloc.c: Include errno.h.
  6338. Sat Mar 25 18:24:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6339. * locale/loadlocale.c (_nl_load_locale): Avoid */ inside comment.
  6340. Fri Mar 24 02:35:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6341. * misc/Makefile (headers): Add utmp.h.
  6342. * misc/utmp.h: New file, incorporated from 4.4-Lite.
  6343. * stdio/printf-parse.h: New file, mostly written by drepper.
  6344. * stdio/vfprintf.c: Rewritten, mostly by drepper.
  6345. * stdio/printf-prs.c: Rewritten.
  6346. * stdio/Makefile (distribute): Add printf-parse.h.
  6347. Thu Mar 23 22:03:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6348. * sysdeps/unix/start.c [! NO_UNDERSCORES]: Don't declare _start
  6349. with asm name. Just do a ".set start, __start".
  6350. * malloc/realloc.c: Call _free_internal instead of free.
  6351. Tue Mar 21 00:14:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6352. * locale/loadlocale.c (_nl_load_locale): If LOCALE/LC_* is a
  6353. directory, open LOCALE/LC_*/SYS_LC_* instead.
  6354. Mon Mar 20 03:19:23 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6355. * stdio/fpioconst.c, stdio/fpioconst.h, stdio/gmp-impl.h,
  6356. stdio/gmp.h, stdio/longlong.h, stdio/mp_clz_tab.c,
  6357. stdio/gen-mpn-copy: Files moved to stdlib.
  6358. * stdio/Makefile: All mpn stuff moved to stdlib/Makefile.
  6359. * stdlib/Makefile: All the mpn stuff moved here from stdio/Makefile.
  6360. * stdio/printf_fp.c: Use ../stdlib to find fpioconst.h and gmp
  6361. headers.
  6362. * stdlib/strtod.c: Don't use ../stdio to find fpioconst.h and gmp
  6363. headers.
  6364. * Makefile (parent-mostlyclean): Don't use $(libc.a).
  6365. (parent-clean): Use $(objpfx) to find sysd-*.
  6366. * Rules (generated): Append dummy.o dummy.c.
  6367. * Makerules (lib): Depend on lib-noranlib.
  6368. (lib-noranlib): Depend on $(install-lib) in objdir.
  6369. (common-mostlyclean): Remove $(install-lib) and stub-$(subdir)
  6370. from objdir. Don't remove TAGS; it comes in the distribution.
  6371. * malloc/malloc.c (morecore): Save errno around call to
  6372. _realloc_internal. Don't account for the additional new blocks of
  6373. the info table itself when choosing the new table size for the
  6374. first crack; if it succeeds, the new blocks will have been found
  6375. in existing free space already described by the existing info
  6376. table.
  6377. * stdio/vfscanf.c (%n): Use READ_IN - 1, so as not to count the
  6378. read-ahead character.
  6379. Sat Mar 18 14:07:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6380. * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
  6381. hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
  6382. hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
  6383. hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
  6384. Get anal with unsigned to pacify compiler.
  6385. * stdio/vfscanf.c: Grok positional parameter specs (i.e. %3$d
  6386. means %d from 3rd arg).
  6387. * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
  6388. * stdlib/strtol.c: If !GROUP, set END to null. In loop, test only
  6389. END, not GROUP.
  6390. Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6391. * Makefile (subdirs): Put elf last.
  6392. * sunrpc/Makefile (install-lib): Variable removed.
  6393. (rpcsvc-objs): Variable removed.
  6394. (extra-objs): Don't include $(rpcsvc-objs).
  6395. (extra-libs): New variable, contains librpcsvc.
  6396. (librpcsvc-routines): New variable.
  6397. (librpcsvc-inhibit-o): New variable, contains .so.
  6398. (omit-deps): Set this to $(librpcsvc-routines).
  6399. ($(objpfx)rpcgen): Don't use $(libc.a).
  6400. (lib, $(objpfx)librpcsvc.a): Targets removed.
  6401. * o-iterator.mk, extra-lib.mk: New files.
  6402. * Makerules (o-iterator): New variable.
  6403. [extra-libs]: Include extra-lib.mk to generate rules for each word
  6404. of $(extra-libs).
  6405. * Makefile (distribute): Add extra-lib.mk, o-iterator.mk.
  6406. Fri Mar 17 13:28:04 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  6407. * sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double):
  6408. Handle 80-bit denormalized numbers correctly.
  6409. * stdlib/strtod.c, stdlib/strtof.c, stdlib/strtold.c:
  6410. (IMPLICIT_ONE, *_MAX_10_EXP_LOG): Macros removed; no longer needed.
  6411. * stdlib/strtod.c (RETURN): Add parentheses around return value.
  6412. (round_and_return): Correct handling of denormalized numbers.
  6413. * stdio/fpioconst.c, stdio/fpioconst.h: Don't use
  6414. LDBL_MAX_10_EXP_LOG; LAST_POW10 defines the maximal available
  6415. exponent.
  6416. Thu Mar 16 00:04:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6417. * locale/C-ctype.c: New correct data generated by drepper.
  6418. * Rules: Don't use $(libc.a).
  6419. Parsing of grouped numbers contributed by Ulrich Drepper.
  6420. * stdlib/strtol.c (__strtol_internal): Renamed from strtol. Take
  6421. new flag arg; if nonzero, parse locale-dependent thousands
  6422. grouping and interpret only the prefix that is correctly grouped.
  6423. (strtol): Define this to call _strtol_internal with zero for the flag.
  6424. Use a weak symbol for the definition.
  6425. * stdlib/strtod.c (strtod, __strtod_internal): Likewise.
  6426. Check for the exponent of the number overflowing the float format.
  6427. * stdlib/stdlib.h (__strtof, __strtold): Declarations removed.
  6428. (__strto{f,d,ld,l,ul,q,uq}_internal): Declare these functions.
  6429. [__OPTIMIZE__]: Define inline functions calling those.
  6430. * stdlib/strtold.c (STRTOF): Set to strtold, not __strtold.
  6431. (strtold): Remove weak alias.
  6432. * stdlib/strtof.c (STRTOF): Set to strtof, not __strtof.
  6433. (strtof): Remove weak alias.
  6434. * stdlib/grouping.h: New file, written by drepper.
  6435. * stdlib/Makefile (distribute): Add grouping.h.
  6436. * stdio/vfscanf.c: Grok %' modifier to numeric conversions. Call
  6437. __strtoX_internal with the grouping flag set iff the modifier is
  6438. present.
  6439. Wed Mar 15 00:40:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6440. * sysdeps/generic/memchr.c: Fix typos: limit.h -> limits.h.
  6441. * mach/Machrules: Produce static deps for all object flavors.
  6442. [interface-library]: Remove all these variables and rules.
  6443. ($(interface-library)-routines): Define this variable.
  6444. (extra-libs): Append $(interface-library) to this.
  6445. * mach/Makefile (interface-library): Omit .a suffix.
  6446. * hurd/Makefile: Likewise.
  6447. Tue Mar 14 23:40:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6448. * stdio/internals.c (flushbuf): If !FLUSH_ONLY, don't skip out
  6449. early if no new data in buffer after priming.
  6450. Mon Mar 13 01:48:16 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6451. * Makerules (object-suffixes, libtypes): Move all these variables
  6452. to Makeconfig.
  6453. * Makeconfig (object-suffixes, libtypes): Moved here from Makerules.
  6454. * Makerules (build-extra-lib): New canned sequence.
  6455. * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
  6456. fix uses of FILE and PORT. Remove bogus weak alias for `access'.
  6457. * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
  6458. Add missing semicolon.
  6459. * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
  6460. hurd_fd *' temp var, since DIRP->__fd is a `void *'.
  6461. * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
  6462. * stdlib/wcstombs.c: #if 0 out code for non-ASCII chars until the
  6463. locale data format is implemented.
  6464. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  6465. Pass &__sigreturn on the stack to the trampoline code, so it is
  6466. not position-dependent.
  6467. * stdio/printf_fp.c (NDEBUG): Define this to disable assert.
  6468. Don't include <stdarg.h>.
  6469. (__printf_fp): Last arg ARGS is now `const void **const';
  6470. dereference ARGS[0] instead of using va_arg.
  6471. * locale/setlocale.c: In LC_ALL case, initialize CATEGORY before
  6472. loop to install data.
  6473. * locale/loadlocale.c (_nl_category_num_items): Use _NL_ITEM_INDEX
  6474. to extract number from item code.
  6475. (_nl_load_locale): Close the descriptor when finished.
  6476. * malloc/realloc.c (_realloc_internal): Call _malloc_internal in
  6477. place of malloc.
  6478. * time/tzfile.c (__tzfile_default): Initialize RULE_STDOFF to zero.
  6479. * stdio/printf_fp.c (group_number): Cast *GROUPING to unsigned int
  6480. to avoid warning.
  6481. * sysdeps/generic/sigset.h (__SIGSETFN): Cast result of sizeof to
  6482. int to avoid warning.
  6483. Support building several flavors of objects and libraries.
  6484. * Makerules (libtypes, object-suffixes): New variables.
  6485. (libtype.*, CFLAGS-*, CPPFLAGS-*): New variables for each object
  6486. suffix.
  6487. (CFLAGS, CPPFLAGS): Append $(C{,CPP}FLAGS-$(suffix $@)).
  6488. (%.so, %.po, %.go): New compilation rules for %.S, %.s, %.c.
  6489. (close-check-inhibit-asm): Append a semicolon.
  6490. (sysd-rules): Generate rules for each object suffix.
  6491. (compile.S, compile.c): Always assume gcc.
  6492. (OUTPUT_OPTION): Define unconditionally.
  6493. (+make-deps): In generated rule, produce a dependent for each
  6494. object suffix.
  6495. (.SUFFIXES): Add $(object-suffixes) in place of .o.
  6496. (.PRECIOUS): Make all suffix flavors precious.
  6497. ($(libc.a)): Target removed.
  6498. (lib): Depend on each enabled libtype.
  6499. (libobjs, objects, objs): Depend on all the enabled object flavors.
  6500. (lib%.a): New pattern rule.
  6501. [$(build-shared)=yes] (lib%.so: lib%_pic.a): New pattern rule.
  6502. (stamp-$(subdir)): Rewritten to a pattern rule for stamp.%-$(subdir)
  6503. to make one for each flavor; library dep rule likewise rewritten.
  6504. ($(libc.a)(__.SYMDEF)): Target replaced with one target for each
  6505. flavor.
  6506. (symdef.%): New pattern rule; helper for __.SYMDEF targets.
  6507. (installed-libcs): New variable.
  6508. (install): Depend on that instead of
  6509. $(libdir)/lib$(libprefix)$(libc-name).a;
  6510. that file's rule rewritten to make each enabled libtype.
  6511. (install-lib.so): New variable, filters lib%.so from $(install-lib).
  6512. (install-lib): Filter out lib%.so after setting install-lib.so.
  6513. [$(build-shared)=yes] (install): Install $(install-lib.so).
  6514. (common-mostlyclean): Remove all flavors of objects.
  6515. * Makefile ($(libc.a)(__.SYMDEF)): Target removed.
  6516. [$(build-shared)=yes] (lib): Depend on $(common-objpfx)libc.so.
  6517. Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6518. * sysdeps/stub/ulimit.c: Don't include gnu-stabs.h.
  6519. * sysdeps/stub/pause.c: Likewise.
  6520. * sysdeps/stub/time.c: Likewise.
  6521. * stdlib/mbtowc.c: #if 0 out code for non-ASCII chars until the
  6522. locale data format is implemented.
  6523. * stdlib/wctomb.c: Likewise.
  6524. * mach/Makefile ($(objpfx)errsystems.c): Reenable this rule; the
  6525. gcc bug is fixed.
  6526. * mach/errsystems.c: File removed.
  6527. * Makeconfig (libc.a): Variable removed.
  6528. (+link): Don't use it.
  6529. * configure.in (AC_ARG_ENABLE calls): Use $enableval instead of
  6530. assuming `yes'.
  6531. * malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these.
  6532. * malloc/realloc.c (_realloc_internal): Renamed from realloc;
  6533. don't use __realloc_hook.
  6534. (realloc): New function; call __realloc_hook ?: _realloc_internal.
  6535. * malloc/malloc.c (_malloc_internal): Renamed from malloc;
  6536. don't use __malloc_hook.
  6537. (malloc): New function; call __malloc_hook ?: _malloc_internal.
  6538. Changes from Germano Caronni <caronni@tik.ethz.ch>:
  6539. (initialize): Set up _heaplimit to cover the _heapinfo table.
  6540. (morecore_recursing): New static variable.
  6541. (morecore): If that is set, return null immediately.
  6542. When growing the info table, before getting new core from the
  6543. system for it, set morecore_recursing and try moving _heapinfo
  6544. with _realloc_internal. When that fails and we get new core, set
  6545. _heaplimit to cover the core for the new _heapinfo table.
  6546. (register_heapinfo): New function. Record the _heapinfo table's
  6547. own blocks in that table and in the statistics variables.
  6548. (initialize, _malloc_internal): Use it after allocating new table.
  6549. Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com)
  6550. * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use
  6551. by other packages.
  6552. [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code.
  6553. Fri Mar 10 13:31:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6554. * mach/errorlib.h (errors): Use const for decl.
  6555. * time/tzfile.c (uc2ul, _uc2ul): Macros removed.
  6556. (decode): New inline function; decode signed 32-bit integers, and
  6557. sign-extend properly when long is longer than 32 bits.
  6558. (__tzfile_read): Changed all uses of uc2ul to decode.
  6559. Decode the transition times properly when sizeof (time_t) > 4.
  6560. * stdio/printf.h: Doc fixes. Don't #include <stddef.h>.
  6561. (printf_function): Make last arg ARGS a vector of pointers instead of a
  6562. pointer to va_list.
  6563. Fri Mar 10 13:46:25 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>
  6564. * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn.
  6565. (buffered_vfprintf): Remove line buffer when flush failed.
  6566. Fri Mar 10 00:04:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6567. * time/tzfile.c (struct ttinfo): New member `isgmt'.
  6568. (__tzfile_read): Read isgmt flags for each type.
  6569. (__tzfile_default): When using TZDEFRULES DST rules, adjust
  6570. transition times according to the isstd and isgmt flags for the
  6571. types of each transition, and adjust each transition to point to
  6572. type index either 0 or 1. Reset type indices 0 and 1 to describe
  6573. the user's settings.
  6574. Thu Mar 9 22:29:03 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6575. * locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
  6576. into just CLASS. Add standard/optional flag to all items.
  6577. * locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
  6578. * ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
  6579. Rearrange defn to satisfy compiler.
  6580. * locale/localeinfo.h: Declare _nl_current.
  6581. * configure.in: Use AC_CHECK_TOOL for CC, AR, RANLIB. Accept args
  6582. --enable-shared, --enable-profile, --enable-omitfp; pass settings
  6583. through to config.make.
  6584. * config.make.in (build-shared, build-profile, build-omitfp): New
  6585. config vars.
  6586. * elf/elf.h (STN_UNDEF): Renamed to SHN_UNDEF (typo).
  6587. (DT_NUM): New macro.
  6588. * locale/nl_langinfo.c: Include errno.h and stddef.h. Fix typos.
  6589. * locale/lc-ctype.c (_nl_postload_ctype): Fix macro insanity.
  6590. * locale/loadlocale.c (_nl_load_locale) [! MAP_COPY]: Define
  6591. MAP_COPY to MAP_PRIVATE.
  6592. Thu Mar 9 17:16:53 1995 Brendan Kehoe (brendan@zen.org)
  6593. * sysdeps/alpha/divrem.m4: Undefine `ret' to avoid the definition
  6594. that's used inside the alpha sysdep.h.
  6595. * sysdeps/alpha/__longjmp.c (__longjmp): Remove obsolete __NORETURN
  6596. keyword.
  6597. * sysdeps/alpha/__math.h (__copysign): Remove obsolete __CONSTVALUE.
  6598. * configure.in: Match `osf*', not `osf1*'.
  6599. * configure: Likewise.
  6600. * sysdeps/unix/bsd/osf: Renamed from `sysdeps/unix/bsd/osf1'.
  6601. Wed Mar 8 13:38:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6602. * posix/glob/configure.bat: Fixes from DJ.
  6603. * time/backward, time/europe, time/northamerica, time/pacificnew,
  6604. time/zdump.c, time/zic.c, time/tzfile.h, time/private.h,
  6605. time/ialloc.c: Code and data updated from ADO's 95b.
  6606. * time/emkdir.c: File removed.
  6607. * time/Makefile (distribute, extra-objs, zic): Omit it.
  6608. * time/localtime.c: Deansideclized. Never #define __tzname et al
  6609. to non-__ names.
  6610. * locale/lc-ctype.c (__ctype_tolower, __ctype_toupper): Use int *
  6611. instead of short int *.
  6612. * ctype/ctype-info.c: Likewise.
  6613. * ctype/ctype.h: Likewise.
  6614. * locale/langinfo.h (_NL_CTYPE_CLASS): Use this (just one) instead
  6615. of EB and EL versions.
  6616. Mon Mar 6 12:34:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6617. * ctype/ctype.h (_ISbit): New macro, defined dependent on byte order.
  6618. (_IS* enum): Use _ISbit to produce values.
  6619. Sun Mar 5 19:40:13 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6620. * locale/localeinfo.h: Rewritten for new locale system, using
  6621. locale data files and with <langinfo.h> interface.
  6622. * locale/setlocale.c: Rewritten to use locale data files.
  6623. * langinfo.h: New file.
  6624. * locale/langinfo.h: New file.
  6625. * locale/nl_langinfo.c: New file.
  6626. * locale/loadlocale.c: New file.
  6627. * locale/lc-ctype.c: New file.
  6628. * locale/lc-messages.c: New file.
  6629. * locale/lc-monetary.c: New file.
  6630. * locale/lc-numeric.c: New file.
  6631. * locale/lc-time.c: New file.
  6632. * locale/categories.def: New file.
  6633. * locale/Makefile (headers): Remove localeinfo.h.
  6634. (distribute): New variable; put localeinfo.h here, and categories.def.
  6635. (routines): Add loadlocale.
  6636. (categories): New variable.
  6637. (aux): Use that to get C-category and lc-category.
  6638. * ctype/ctype.h (_IS*): Use independent bits for all but _ISalnum.
  6639. * ctype/ctype-info.c: For initial tables, use
  6640. _nl_C_LC_CTYPE_{class,toupper,tolower} constant tables defined in
  6641. locale/C-ctype.c.
  6642. * locale/C-ctype.c, locale/C-messages.c: New files.
  6643. * locale/C-monetary.c, locale/C-numeric.c, locale/C-time.c:
  6644. Default "C" locale data updated for new locale system.
  6645. * locale/C-collate.c: File removed.
  6646. * locale/C-ctype_ct.c: File removed.
  6647. * locale/C-ctype_mb.c: File removed.
  6648. * locale/C-response.c: File removed.
  6649. * locale/localeconv.c: Use _NL_CURRENT macro to access locale data.
  6650. * stdio/printf_fp.c, stdio/vfprintf.c, stdio/vfscanf.c,
  6651. stdlib/strtod.c, time/asctime.c, time/strftime.c:
  6652. Include ../locale/localeinfo.h and use _NL_CURRENT macro to access
  6653. locale data.
  6654. * time/localtime.c: Don't include <localeinfo.h>.
  6655. * time/tzset.c: Don't use locale items for default TZ value or
  6656. "GMT" string (use "UTC").
  6657. * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Only call the function if
  6658. WIDTH>0; update DONE.
  6659. * malloc/malloc.c (morecore): Fix last change to calculate by
  6660. blocks instead of bytes.
  6661. Fri Mar 3 12:24:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6662. * sysdeps/generic/sys/mman.h (__mmap, __munmap): Declare these.
  6663. * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
  6664. * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
  6665. * sysdeps/unix/bsd/osf1/sys/mman.h: Likewise.
  6666. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
  6667. * sysdeps/stub/munmap.c (munmap): Rename to __munmap, add weak
  6668. alias munmap.
  6669. * sysdeps/unix/mman/munmap.S: Likewise.
  6670. * sysdeps/mach/munmap.c: Likewise.
  6671. * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
  6672. alias mmap.
  6673. * sysdeps/unix/mman/mmap.S: Likewise.
  6674. * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
  6675. * sysdeps/stub/mmap.c: Likewise.
  6676. * sysdeps/unix/bsd/setsid.c: Use __getpgid instead of __getpgrp.
  6677. * sysdeps/unix/dirfd.c: #undef dirfd before function defn.
  6678. Thu Mar 2 12:15:24 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6679. * misc/search.h: Add missing semicolon.
  6680. * sysdeps/unix/dirfd.c: Fix typo.
  6681. * sysdeps/generic/sys/mman.h (mmap): Use __off_t instead of off_t
  6682. in decl.
  6683. * stdio/vfscanf.c (%c): In no-assign case, fix loop to decrement
  6684. WIDTH before test.
  6685. Wed Mar 1 00:57:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6686. * stdlib/strtod.c: Fixes from drepper.
  6687. [IMPLICIT_ONE]: New macro, one for IEEE754 formats.
  6688. * stdlib/strtold.c [IMPLICIT_ONE]: New macro, 0.
  6689. * stdlib/strtof.c [IMPLICIT_ONE]: New macro, 1.
  6690. * stdio/vfprintf.c: Correctly notice Z modifier.
  6691. * misc/search.h: New file.
  6692. * misc/Makefile (headers): Add search.h.
  6693. * misc/insremque.c: Include search.h.
  6694. (struct qelem): Type removed.
  6695. Mon Feb 27 07:00:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6696. * elf/libelf.h: New file.
  6697. * elf/elf_hash.c: New file.
  6698. Sun Feb 26 15:51:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6699. Changes from Germano Caronni <caronni@tik.ethz.ch>:
  6700. * malloc/malloc.c (morecore): Account in NEWSIZE for the
  6701. malloc_info structures for each new block.
  6702. Sat Feb 25 02:17:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6703. * sysdeps/mach/hurd/kill.c: When the process has no message port
  6704. registered and we have its task port, translate a few signals to
  6705. task_suspend/task_resume/task_terminate.
  6706. Fri Feb 24 14:40:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6707. * io/Makefile (routines): Add euidaccess.
  6708. * sysdeps/mach/hurd/euidaccess.c: New file.
  6709. * sysdeps/stub/euidaccess.c: New file.
  6710. * posix/unistd.h [__USE_GNU] (euidaccess): Declare it.
  6711. * dirent/Makefile (routines): Add dirfd.
  6712. * sysdeps/stub/dirfd.c: New file.
  6713. * sysdeps/unix/dirfd.c: New file.
  6714. * sysdeps/unix/dirstream.h (_DIR_dirfd): New macro.
  6715. * dirent/dirent.h (dirfd): Declare new function. Define as macro
  6716. _DIR_dirfd if that is defined.
  6717. * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
  6718. with `void *__fd'.
  6719. * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
  6720. Open the file with `open'; set FD_CLOEXEC on the fd.
  6721. * sysdeps/mach/hurd/closedir.c: Likewise.
  6722. * sysdeps/mach/hurd/readdir.c: Likewise.
  6723. * sysdeps/mach/hurd/dirfd.c: New file.
  6724. * posix/Makefile (glob/configure): Do cvs commit if there is a CVS
  6725. directory.
  6726. (glob/ChangeLog): Likewise.
  6727. * locale/locale.h (LC_*): Use small integers instead of bit masks.
  6728. * stdio/bug4.c: Put temporary files in /tmp.
  6729. * stdio/bug3.c: Likewise.
  6730. * stdio/bug5.c: Likewise.
  6731. * stdio/test-fseek.c: Likewise.
  6732. * stdio/test-popen.c: Likewise.
  6733. Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6734. * posix/glob/configure.in: Put AC_ISC_POSIX before AC_CONST.
  6735. * libc-symbols.h (weak_symbol): New macro.
  6736. * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
  6737. elts with null handlers.
  6738. * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
  6739. Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6740. * stdlib/random.c (__srandom): Change algorithm used to populate
  6741. the state array.
  6742. (randtbl): Recomputed with new algorithm.
  6743. * sysdeps/sparc/Makefile [subdir=crypt] (crypt): Reset only if set
  6744. to original value of `crypt'.
  6745. * sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile [subdir=crypt]
  6746. (crypt): New variable, set to crypt.solar.
  6747. Tue Feb 21 11:50:37 1995 Brendan Kehoe (brendan@zen.org)
  6748. * sysdeps/sparc/Makefile (routines): Reference `dotmul', not `mul'.
  6749. * config.h.in: Put comment around ^L to pacify Solaris as here too.
  6750. Tue Feb 21 00:10:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6751. * string/Makefile (distribute): Add pagecopy.h.
  6752. * sysdeps/mach/pagecopy.h: New file.
  6753. * sysdeps/generic/pagecopy.h: New file.
  6754. * sysdeps/generic/memcpy.c: Include pagecopy.h; call
  6755. PAGE_COPY_FWD_MAYBE first when word aligned.
  6756. * sysdeps/generic/memmove.c: Likewise.
  6757. * misc/bsd-compat.c (longjmp, setjmp): Functions removed.
  6758. (getpgrp): Call __getpgid instead of __getpgrp.
  6759. * Makefile (subdirs): Add elf first.
  6760. * elf/Makefile: New file.
  6761. * elf/elf.h: New file.
  6762. * sysdeps/unix/start.c (errno): Only define if it's not #define'd
  6763. as a macro.
  6764. [! NO_UNDERSCORES]: Define `start' as a weak alias, not a symbol
  6765. indirection.
  6766. * csu/Makefile (crtstuff): New variable consolidates crti, crtn;
  6767. add crti_s, crtn_s.
  6768. (install-lib, extra-objs, generated-, omit-deps): Use that.
  6769. (initfini): New canned sequence, broken out of crt[in].s rule.
  6770. (crt[in].s rule): Use it.
  6771. (crt[in]_s.s): New rule.
  6772. * csu/initfini.c (GLOBAL): New macro; define it to empty if undefined.
  6773. (_init, _fini): Use GLOBAL as storage class.
  6774. Add self reference to avoid GCC optimizing out the functions.
  6775. * Makefile (headers): Remove $(stddef.h).
  6776. * Makeconfig (stddef.h): Variable removed; now require gcc version
  6777. >= 2.2.
  6778. * stddef.h: File removed.
  6779. Mon Feb 20 19:42:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6780. * sysdeps/unix/bsd/ultrix4/mips/start.S: Remove `__environ'
  6781. definition.
  6782. * sysdeps/unix/bsd/osf1/alpha/start.S: Likewise.
  6783. * stdlib/strtod.c: Allow the string to start with a decimal point
  6784. without a leading zero.
  6785. Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
  6786. * Makefile (subdirs): Put csu first.
  6787. * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
  6788. * Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
  6789. to crt[in].o.
  6790. (csu-objpfx): New variable.
  6791. (+link): Use it to find start.o and $(+preinit), $(+postinit).
  6792. * Rules (subdir_lib, all): Depend on objs.
  6793. * config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS.
  6794. * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in
  6795. access to float.h macros.
  6796. * misc/efgcvt.c: New file.
  6797. * misc/Makefile (routines): Add efgcvt.
  6798. Sun Feb 19 20:10:43 1995 Brendan Kehoe <brendan@zen.org>
  6799. * sysdeps/sparc/mul.S: Renamed to `dotmul.S'.
  6800. * sysdeps/sparc/Makefile (routines): Reference `dotmul.S', not `mul.S',
  6801. to avoid a misreference that would override sysdeps/generic/mul.c.
  6802. * sysdeps/sparc/Dist: Likewise.
  6803. Sun Feb 19 17:46:13 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
  6804. * posix/Makefile (aux): Add environ.
  6805. * posix/environ.c: New file.
  6806. * sysdeps/unix/sparc/start.c: Remove __environ definition.
  6807. * sysdeps/unix/start.c: Likewise.
  6808. * sysdeps/unix/sysv/irix4/start.c: Likewise.
  6809. * sysdeps/mach/hurd/start.c: Likewise.
  6810. * sysdeps/mach/start.c: Likewise.
  6811. * sysdeps/stub/start.c: Likewise.
  6812. * sysdeps/unix/make_errlist.c: In produced program, test
  6813. HAVE_WEAK_SYMBOLS instead of HAVE_GNU_LD.
  6814. * sysdeps/unix/sysv/sysv4/dup2.c: Fix #include of renamed file.
  6815. Remove extra weak alias.
  6816. * sysdeps/unix/sysv/sysv4/sigaltstack.S: Fix unsquashed file name
  6817. in #include.
  6818. * libc-symbols.h: Put comment around ^L to pacify Solaris as.
  6819. * sysdeps/posix/Makefile (cded-objdir-includes): New variable
  6820. replaced cded-objdir-CPPFLAGS; transform $(+includes) instead of
  6821. $(CPPFLAGS).
  6822. (mk-stdiolim): Use it instead.
  6823. Fri Feb 17 12:16:27 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
  6824. * mach/mach_init.c (__vm_page_size): Make it initialized. It does
  6825. not work to make a weak alias to a bss symbol.
  6826. * stdio/Makefile (distribute): Remove mpn-copy.mk; add gen-mpn-copy.
  6827. (tests): Add test-fwrite.
  6828. * stdio/test-fwrite.c: New file.
  6829. * stdlib/stdlib.h [__USE_GNU]: Declare strtof, strtold, __strtof,
  6830. __strtold.
  6831. * Makefile (autoconf-it): New canned sequence. Do cvs commit if
  6832. there is a CVS directory.
  6833. (configure, %/configure): Use $(autoconf-it) for cmds.
  6834. * Make-dist: Likewise.
  6835. * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
  6836. if there is a CVS directory.
  6837. * sysdeps/sparc/Makefile (divrem output): Likewise.
  6838. * sysdeps/alpha/Makefile (divrem output): Likewise.
  6839. * Makerules ($(gpl2lgpl)): Likewise.
  6840. * Makerules (rule to install lib%.a from $(install-lib)): Fix
  6841. patsubst to elide ranlib for $(non-lib.a).
  6842. * stdio/tst-printf.c: Enable FP tests. Add some new tests from rfg.
  6843. Thu Feb 16 04:06:06 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
  6844. * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
  6845. * mach/mig-dealloc.c: Add weak alias mig_deallocate.
  6846. Wed Feb 15 13:34:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6847. * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
  6848. DEALLOC_REFPORT; deallocate the refport after use only if it
  6849. evaluates to nonzero.
  6850. * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
  6851. * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
  6852. * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
  6853. *STATE_CHANGE to indicate whether or not we changed *STATE and it
  6854. should be committed to the thread.
  6855. (abort_all_rpcs): Take new arg LIVE; if nonzero and abort_rpcs changes
  6856. state for a thread, do thread_set_state on that thread. Don't use
  6857. SS->intr_port for collecting reply ports, it is not safe to
  6858. clobber that when suspending; instead, alloca a temporary array.
  6859. (_hurd_internal_post_signal): Pass LIVE flag to abort_all_rpcs:
  6860. zero when dying, one when suspending. Pass new arg to abort_rpcs.
  6861. * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
  6862. HURD_FD_PORT_USE will. Don't use critical sections around
  6863. HURD_FD_PORT_USE invocations.
  6864. * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
  6865. * sysdeps/posix/stdio_init.c: Likewise.
  6866. Tue Feb 14 03:01:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6867. * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
  6868. locking; don't leave the descriptor locked on return.
  6869. (HURD_FD_PORT_USE): Don't expect _hurd_fd_get to return the fd locked.
  6870. Use a critical section around locking the descriptor.
  6871. Check for an empty descriptor and return EBADF.
  6872. * sysdeps/mach/hurd/dup2.c: Likewise.
  6873. * sysdeps/mach/hurd/fcntl.c: Likewise.
  6874. Use HURD_FD_PORT_USE macro for RPCs.
  6875. * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
  6876. using HURD_FD_PORT_USE.
  6877. * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
  6878. to lock the descriptor.
  6879. * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
  6880. locking the descriptor.
  6881. * sysdeps/mach/hurd/fdopen.c: Likewise.
  6882. * hurd/fd-close.c: Likewise.
  6883. Don't expect the descriptor to be locked on entry.
  6884. Check for empty descriptor and return EBADF.
  6885. Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into
  6886. new functions _hurd_ctty_input and _hurd_ctty_output, each
  6887. called with (io_t port, io_t ctty, error_t (*rpc) (io_t)).
  6888. * hurd/ctty-input.c: New file.
  6889. * hurd/ctty-output.c: New file.
  6890. * hurd/Makefile (dtable): Add ctty-input and ctty-output.
  6891. * hurd/fd-read.c: Use _hurd_ctty_input.
  6892. * hurd/fd-write.c: Use _hurd_ctty_output.
  6893. * sysdeps/mach/hurd/ioctl.c: Likewise.
  6894. * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
  6895. Mon Feb 13 11:36:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6896. * stdio/vfscanf.c (%e, %f, %g): Use strtod, __strtold, or __strtof
  6897. as appropriate to the type.
  6898. * sysdeps/ieee754/huge_val.h (__huge_val_t): New macro to avoid
  6899. repeating the union.
  6900. (HUGE_VAL, __huge_val): Use it.
  6901. [__USE_GNU] (HUGE_VALf, HUGE_VALl): New macros, along with
  6902. analogous macros to HUGE_VAL's: __huge_val[fl]_t, __HUGE_VAL[fl]_bytes.
  6903. * stdlib/strtold.c (FLOAT_HUGE_VAL): Define this to HUGE_VALl.
  6904. (STRTOF): Set to __strtold; define strtold as weak alias.
  6905. * stdlib/strtof.c (FLOAT_HUGE_VAL): Define this to HUGE_VALf.
  6906. (STRTOF): Set to __strtof; define strtof as weak alias.
  6907. * sysdeps/ieee754/ieee754.h (union ieee754_float): New type.
  6908. (IEEE754_FLOAT_BIAS): New macro.
  6909. * sysdeps/ieee754/mpn2ldbl.c: Fix typos.
  6910. * stdlib/testmb.c: Add tests from rfg for using normal chars as
  6911. multibyte chars.
  6912. * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
  6913. only the `defined but not used' warning, but also to avoid GCC
  6914. optimizing out the entire function (!).
  6915. * stdlib/wctomb.c: Include ctype.h.
  6916. * Makerules (install-lib-non.a): Don't include $(non-lib.a).
  6917. * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
  6918. Sat Feb 11 04:05:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6919. * stdio/printf_fp.c: Include "fpioconst.h".
  6920. (_tens_p): Table moved to fpioconst.c, renamed to _fpioconst_pow10.
  6921. (__printf_fp): All references changed.
  6922. Don't bother computing THOUSANDS_SEP if GROUPING is empty.
  6923. (group_number): Use memmove instead of memcpy, since operands overlap.
  6924. * stdio/fpioconst.c: New file, tables broken out of stdio/printf_fp.c.
  6925. * stdio/fpioconst.h: New file, header declaring the table data.
  6926. * stdio/Makefile (aux): Add fpioconst.
  6927. (distribute): Add fpioconst.h.
  6928. * stdlib/strtod.c: Complete rewrite from drepper.
  6929. * stdlib/strtof.c: New file.
  6930. * stdlib/strtold.c: New file.
  6931. * stdlib/Makefile (routines): Add strtof, strtold.
  6932. * stdio/Makefile (routines): Add mpn2flt, mpn2dbl, mpn2ldbl.
  6933. * sysdeps/stub/mpn2flt.c: New file.
  6934. * sysdeps/stub/mpn2dbl.c: New file.
  6935. * sysdeps/stub/mpn2ldbl.c: New file.
  6936. * sysdeps/ieee754/mpn2flt.c: New file.
  6937. * sysdeps/ieee754/mpn2dbl.c: New file.
  6938. * sysdeps/ieee754/mpn2ldbl.c: New file.
  6939. * Makerules (install-lib.a): Don't filter out $(non-lib.a).
  6940. ($(install-lib.a) in $(libdir) rule): Elide ranlib command when $@
  6941. appears in $(non-lib.a).
  6942. Fri Feb 10 17:20:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6943. * stdlib/wctomb.c: A normal ASCII character translates to itself.
  6944. * stdlib/mbtowc.c: Likewise.
  6945. Thu Feb 9 03:55:55 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6946. * setjmp/setjmp.h (longjmp, _longjmp, __longjmp, siglongjmp):
  6947. Remove `const' from prototypes.
  6948. * sysdeps/m68k/__longjmp.c: Likewise.
  6949. * setjmp/longjmp.c: Likewise.
  6950. * sysdeps/i386/__longjmp.c: Likewise.
  6951. * sysdeps/posix/tempname.c: Increment *IDX at beginning of loop,
  6952. so when we return a name, it is incremented past the value that
  6953. produces that same name.
  6954. * stdio/fgets.c (fgets): Change `size_t' to `int' in prototype. Sigh.
  6955. * stdio/stdio.h (fgets): Likewise.
  6956. * stdio/vfprintf.c (printf_unknown): Print ' for INFO->group flag.
  6957. * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
  6958. when it's EBACKGROUND; we need to notice that it is EBACKGROUND
  6959. and retry the RPC.
  6960. * hurd/fd-read.c: Likewise.
  6961. Wed Feb 8 05:01:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6962. * sysdeps/mach/sysdep.h (FATAL_PREPARE_INCLUDE): New macro, set to
  6963. <mach/mig_support.h>.
  6964. * assert/assert-perr.c [FATAL_PREPARE_INCLUDE]: Include it.
  6965. * assert/assert.c: Likewise.
  6966. * sysdeps/posix/libc_fatal.c: Likewise.
  6967. Tue Feb 7 12:17:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  6968. * stdio/stdio.h [__STRICT_ANSI__] (stdin, stdout, stderr): Define
  6969. as macros, to satisfy ANSI pedants.
  6970. * stdio/internals.c (flushbuf): When there is no new data after
  6971. priming the stream, return without writing out the buffer.
  6972. * stdio/Makefile (tests): Add bug7.
  6973. * stdio/bug7.c: New file.
  6974. * io/sys/stat.h (S_IFIFO, S_IFLNK, S_IFSOCK, S_ISFIFO, S_ISLNK,
  6975. S_ISSOCK): Define only if the corresponding underlying __S_IF* macro
  6976. is defined.
  6977. * stdio/getdelim.c: Decrement COPY after getting a char from __fillbf.
  6978. * stdio/Makefile (tests): Add errnobug.
  6979. * stdio/errnobug.c: New file.
  6980. * mach/mig_strncpy.c: Include string.h.
  6981. * sysdeps/mach/sysdep.h: Don't #include <mach/mig_support.h>. Its
  6982. inlines cause trouble for files defining global register variables.
  6983. * stdio/vfprintf.c: Use _strerror_internal for %m.
  6984. * sysdeps/ieee754/dbl2mpn.c: Fixes from drepper for 64-bit limbs.
  6985. * stdio/printf.h (struct printf_info): New member `group', for %' flag.
  6986. * stdio/printf-prs.c (parse_printf_format): Grok %' flag and set flag.
  6987. * stdio/vfprintf.c (group_number): New function.
  6988. (vfprintf): Support %' flag for integer formats, by calling
  6989. group_number after formatting the number in WORK.
  6990. * stdio/printf_fp.c (guess_grouping, group_number): New functions.
  6991. (__printf_fp): Implement `group' flag using them.
  6992. * Makefile (include sysd-dirs): Protect with ifndef avoid-generated.
  6993. (parent-clean): Remove sysd-rules, not sysdirs.
  6994. (distclean): Pass avoid-generated=yes to submake.
  6995. (distclean-1): Remove $(sysdep-$(distclean-1)).
  6996. * Makerules (objects, objs): Depend on $(extra-objs) too.
  6997. (include sysd-Makefile): Protect with ifndef avoid-generated.
  6998. * Makeconfig (+defines, +gnu-stabs, gnu-as): Variables removed.
  6999. (CPPFLAGS): Use $(defines) in place of $(+defines).
  7000. Replace -D_LIBC with -include $(..)libc-symbols.h.
  7001. * stdio/freopen.c: Set seen bit before calling fclose.
  7002. Mon Feb 6 18:34:40 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7003. * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
  7004. successes and each kind of failure. Return EPERM or EACCES only
  7005. if every task failed that way.
  7006. * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
  7007. correctly.
  7008. * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
  7009. or resume the process after frobbing.
  7010. * hurd/hurdsig.c: Use spin lock operations on sigstate locks
  7011. throughout.
  7012. (_hurd_thread_sigstate): Don't lock the sigstate lock.
  7013. (_hurd_internal_post_signal): New subfunction `mark_pending'; replace
  7014. repeated sequences with calls to it. Don't expect the sigstate
  7015. lock to be held on entry; lock it just before examining sigaction.
  7016. In handler case, check SS->critical_section after calling
  7017. abort_rpcs; if set, mark the signal pending and resume the thread.
  7018. * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
  7019. (_hurd_self_sigstate): Don't lock the sigstate lock.
  7020. (HURD_EINTR_RPC): Call _hurd_self_sigstate instead of
  7021. _hurd_self_sigstate_unlocked.
  7022. * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
  7023. the sigstate lock.
  7024. * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
  7025. Don't expect _hurd_self_sigstate to lock it. Fix critical section
  7026. locking.
  7027. * hurd/hurd-raise.c: Likewise.
  7028. * sysdeps/mach/hurd/sigsuspend.c: Likewise.
  7029. * sysdeps/mach/hurd/sigpending.c: Likewise.
  7030. * sysdeps/mach/hurd/sigaltstack.c: Likewise.
  7031. * sysdeps/mach/hurd/sigaction.c: Likewise.
  7032. * sysdeps/mach/hurd/sigprocmask.c: Likewise.
  7033. * hurd/fd-write.c: Likewise.
  7034. * hurd/fd-read.c: Likewise.
  7035. * sysdeps/mach/hurd/ioctl.c: Likewise.
  7036. * sysdeps/mach/hurd/fork.c: Likewise.
  7037. * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
  7038. * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
  7039. * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
  7040. * hurd/hurdmsg.c (get_int): Likewise.
  7041. * stdio/vfprintf.c: Include stddef.h. Fix typos in libio code.
  7042. * stdio/vfprintf.c (__pad): Function renamed to __printf_pad, made
  7043. global.
  7044. (PAD): Caller changed.
  7045. * stdio/printf_fp.c (__pad): Function removed.
  7046. (PAD): Use __printf_pad instead.
  7047. Sun Feb 5 17:59:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7048. Merged new FP printer by Ulrich Drepper.
  7049. * stdio/printf_fp.c: Rewrite by drepper.
  7050. * stdio/Makefile (routines): Add ldbl2mpn.
  7051. * sysdeps/ieee754/ieee754.h (union ieee754_double): Add `ieee_nan'
  7052. member.
  7053. (union ieee854_long_double): New type, from drepper.
  7054. (IEEE754_DOUBLE_BIAS, IEEE854_LONG_DOUBLE_BIAS): New macros.
  7055. * sysdeps/ieee754/ldbl2mpn.c: New file, by drepper.
  7056. * sysdeps/stub/ldbl2mpn.c: New file.
  7057. * math/Makefile (routines): Add isinfl and isnanl.
  7058. * sysdeps/ieee754/isinfl.c: New file.
  7059. * sysdeps/stub/isinfl.c: New file.
  7060. * sysdeps/ieee754/isnanl.c: New file.
  7061. * sysdeps/stub/isnanl.c: New file.
  7062. * malloc/malloc.c (__malloc_extra_blocks): New variable.
  7063. (malloc): When getting more core, get __malloc_extra_blocks extra;
  7064. put the new block at the end of the free list and let the next loop
  7065. iteration use the initial portion of it.
  7066. * malloc/free.c (_free_internal): Account for twice
  7067. __malloc_extra_blocks in deciding if we have so much extra memory
  7068. we should return it to the system.
  7069. * malloc/malloc.h (__malloc_extra_blocks): Declare it.
  7070. * posix/glob.c (prefix_array, glob_pattern_p): Remove gratuitous
  7071. const in parameter decl.
  7072. * sysdeps/unix/mips/sysdep.h (ENTRY): Add `.ent' directive.
  7073. Fri Feb 3 18:15:52 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7074. * munch.awk (EXTERNS): Print decls using __P instead of EXFUN.
  7075. * sysdeps/mips/setjmp_aux.c: Use ENV[0].__jmpbuf[0].
  7076. * sysdeps/mips/bsd-_setjmp.S: Use `li' insn instead of `move'.
  7077. * sysdeps/mips/bsd-setjmp.S: Likewise.
  7078. * sysdeps/mips/__longjmp.c: Remove obsolete __NORETURN keyword.
  7079. * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
  7080. Use `long int' for sigcode. Use explicit register numbers instead
  7081. of names.
  7082. (_hurdsig_rcv_interrupted_p): Use _hurdsig_catch_fault.
  7083. * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
  7084. Thu Feb 2 20:06:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7085. * hurd/hurdmalloc.c: Remove bogus bcopy decl.
  7086. * mach/mig_strncpy.c: Add missing `const' in prototype. Rewritten
  7087. using __stpncpy.
  7088. * io/ftw.c (ftw, ftw_dir): Treat ENOENT from stat like EACCES.
  7089. * stdio/vfprintf.c: Set PREC to zero for %. without following digit.
  7090. Tue Jan 31 13:49:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7091. * mach/mig_strncpy.c: Include mach.h instead of string.h. Use
  7092. vm_size_t instead of size_t for arg and return types.
  7093. * mach/mach_init.c: Don't declare __mig_init; mach/mig_support.h
  7094. already does.
  7095. Mon Jan 30 00:33:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7096. * set-hooks.h (RUN_HOOK): Dereference PTR properly.
  7097. * configure.in (friendly stddef.h check): Write override defn for
  7098. `stddef.h' Make variable.
  7099. (AC_LINK_FILES): Use `echo ...` to avoid " " appearing nonempty.
  7100. * configure.in (host_os=sysv4*|solaris2*): Set elf=yes.
  7101. * Rules ($(objpfx)dummy.o): Write an empty function, not just an
  7102. empty file.
  7103. * sysdeps/sparc/Makefile (sysdep-realclean): New variable.
  7104. Sat Jan 28 03:38:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7105. * Makefile (distribute): Remove gnu-stabs.h; add libc-symbols.h.
  7106. * sysdeps/mach/sysdep.h [ASSEMBLER]: Protect include of
  7107. mach/machine/syscall_sw.h with this.
  7108. Fri Jan 27 18:33:20 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7109. * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
  7110. instead of <lock-intern.h>.
  7111. (struct hurd_sigstate): Member `lock' changed to a `spin_lock_t'.
  7112. (_hurd_critical_section_lock): Use spin lock operators.
  7113. Don't hold the sigstate lock, unlock it after setting the flag.
  7114. (_hurd_critical_section_unlock): Take the sigstate lock
  7115. to clear the flag; while holding it, check pending signals. After
  7116. unlocking, sig_post ourselves if there were pending signals.
  7117. * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
  7118. sigstate lock. If it is locked, clear SS->critical_section and
  7119. SS->context, and unlock it.
  7120. * sysdeps/mach/sysdep.h (EXT, LEXT): New macros.
  7121. * set-init.c (__libc_init) [HAVE_ELF]: Run _init and atexit (_fini).
  7122. * munch-tmpl.c: Likewise.
  7123. * mach/Makefile (routines): Don't filter out syscall_% from
  7124. $(mach-syscalls).
  7125. Fri Jan 27 17:53:49 1995 Jim Meyering (meyering@comco.com)
  7126. * posix/fnmatch.c: Declare errno if it's not defined.
  7127. That's simpler than testing #if !defined(__GNU_LIBRARY__)
  7128. && !defined(STDC_HEADERS).
  7129. Fri Jan 27 15:40:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7130. * csu/Makefile: New file.
  7131. * csu/initfini.c: New file.
  7132. * Makefile (+other_dirs): Add csu.
  7133. (+init): Variable renamed to libc-init. All references changed.
  7134. (aux): Remove start.
  7135. (install-lib): Variable removed.
  7136. (crt0.o, Mcrt1.o crt1.o): Targets removed.
  7137. * mach/Machrules (static deps of RPC_*.o): Add $(..)libc-symbols.h
  7138. and $(objpfx)config.h.
  7139. (static deps of RPC alias *.o): Removed.
  7140. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h [ASSEMBLER]:
  7141. Protect macros with this.
  7142. * sysdeps/unix/bsd/osf1/alpha/sysdep.h: Likewise.
  7143. * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
  7144. * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
  7145. * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
  7146. * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
  7147. * sysdeps/unix/mips/sysdep.h: Likewise.
  7148. Thu Jan 26 00:02:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7149. * Makerules (compile.[Sc]): Match gcc in $(CC) better.
  7150. (BUILD_CFLAGS): Instead of $(config-defines), use -include config.h.
  7151. * hurd/intr-rpc.awk: Emit weak alias.
  7152. * sysdeps/unix/bsd/sun/sunos4/wait4.c: Call getpgrp instead of
  7153. __getpgrp.
  7154. * sysdeps/unix/bsd/hp/m68k/sysdep.h [ASSEMBLER]: Protect macros with
  7155. this.
  7156. * sysdeps/unix/i386/sysdep.h: Likewise.
  7157. * sysdeps/unix/sparc/sysdep.h: Likewise.
  7158. * io/ftw.c: Avoid `ret' as variable name.
  7159. * posix/glob.c: Likewise.
  7160. * ctype/ctype.h (_ISalpha): Define as its own bit.
  7161. * locale/C-ctype_ct.c (__ctype_b_C): Set _ISalpha bit in all letters.
  7162. * stdlib/exit.c [HAVE_GNU_LD]: Protect #include "set-hooks.h" and
  7163. DEFINE_HOOK with this.
  7164. Wed Jan 25 00:45:56 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7165. * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
  7166. * mach/spin-solid.c (spin_lock_solid): Define as weak alias to __name.
  7167. * mach/shortcut.awk: Emit weak alias.
  7168. * mach/spin-lock.c: Add weak aliases for all spin-lock.h functions.
  7169. * mach/mach_init.c (mach_init, vm_page_size): Defin weak aliases for
  7170. __ names.
  7171. * mach/Makefile (lock): Remove spin-syms.
  7172. (routines): Remove __ names, vm_page_size, msgserver_t.
  7173. ($(mach-syscalls) rule): Generate files without __, add weak alias.
  7174. Remove symbol alias file rule.
  7175. ($(mach-shortcuts) rule): Likewise.
  7176. [!mach-shortcuts] (user-interfaces): Filter out mach/mach4 too.
  7177. * mach/Machrules (if-calls.c): Variable and rule removed.
  7178. (interface-headers): Don't add $($(if)-calls).
  7179. (transform-user-stub): Define to add weak alias.
  7180. * set-hooks.h: Use new libc-symbols.h set access macros.
  7181. * time/Makefile (routines): Remove __ names.
  7182. (aux): Variable removed.
  7183. * hurd/Makefile: Likewise.
  7184. * sysdeps/unix/start.c (environ): Define as weak alias for __environ.
  7185. (data_start): Define as weak alias for __data_start.
  7186. * sysdeps/mach/hurd/start.c: Likewise.
  7187. * sysdeps/unix/sparc/start.c: Likewise.
  7188. * sysdeps/unix/make_errlist.c: Emit weak aliases for sys_nerr and
  7189. sys_errlist.
  7190. * sysdeps/mach/hurd/errlist.awk: Likewise.
  7191. * sysdeps/unix/bsd/osf1/alpha/start.S (environ): Define as weak
  7192. alias for __environ.
  7193. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
  7194. * sysdeps/stub/setdomain.c: Use new stub_warning macro.
  7195. * sysdeps/stub/getdomain.c: Likewise.
  7196. * sysdeps/stub/vhangup.c: Likewise.
  7197. * sysdeps/stub/swapon.c: Likewise.
  7198. * sysdeps/stub/sendmsg.c: Likewise.
  7199. * sysdeps/stub/recvmsg.c: Likewise.
  7200. * sysdeps/stub/acct.c: Likewise.
  7201. * sysdeps/stub/isinf.c: Likewise. Add weak alias isinf for __isinf.
  7202. * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
  7203. * sysdeps/posix/libc_fatal.c: Likewise.
  7204. * sysdeps/i386/abort.c: Likewise.
  7205. * sysdeps/i386/__longjmp.c: Likewise.
  7206. * sysdeps/generic/make_siglist.c: Emit defn always for
  7207. _sys_siglist. Emit weak alias to sys_siglist.
  7208. * sysdeps/generic/atan.c: Remove obsolete __CONSTVALUE keyword.
  7209. * sysdeps/ieee754/log10.c: Likewise.
  7210. * time/difftime.c: Likewise.
  7211. * stdlib/random.c (srand): Define as weak alias for __srandom.
  7212. * stdlib/exit.c: Remove obsolete __NORETURN keyword. Use set-hooks
  7213. macros for __libc_atexit.
  7214. * stdlib/Makefile (routines): Remove __random, srand.
  7215. * stdio/gets.c: Use new link_warning macro instead of old
  7216. warn_references.
  7217. * stdio/Makefile (routines): Remove __ names.
  7218. (aux): Remove syms-stdio.
  7219. * socket/Makefile (routines): Added e on getpeernam and getsocknam.
  7220. * setjmp/longjmp.c: Remove obsolete __NORETURN keyword.
  7221. * setjmp/Makefile (routines): Remove _longjmp, siglongjmp.
  7222. * setjmp/setjmp.h: Replace __NORETURN keyword with __attribute__ uses.
  7223. * stdio/stdio.h: Likewise.
  7224. * misc/Makefile (routines): Remove __ names.
  7225. (aux): Remove data_start.
  7226. * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
  7227. * sysdeps/mach/hurd/brk.c: Likewise.
  7228. * hurd/hurdid.c: Likewise.
  7229. * hurd/hurdpid.c: Likewise.
  7230. * hurd/openport.c: Likewise.
  7231. * hurd/hurdsock.c: Likewise.
  7232. * hurd/hurdsig.c: Likewise.
  7233. * hurd/hurdrlimit.c: Likewise.
  7234. * hurd/hurdmalloc.c: Likewise.
  7235. * hurd/dtable.c: Likewise.
  7236. * hurd/setauth.c: Likewise.
  7237. * misc/progname.c: Likewise.
  7238. * misc/init-misc.c: Likewise.
  7239. * sysdeps/generic/vfork.c: Likewise.
  7240. * sysdeps/unix/bsd/init-posix.c: Likewise.
  7241. * math/math.h: Replace __CONSTVALUE keyword with __attribute__ uses.
  7242. * time/time.h: Likewise.
  7243. * math/Makefile (routines): Remove __ names.
  7244. * io/Makefile: Likewise.
  7245. * termios/Makefile: Likewise.
  7246. * resource/Makefile: Likewise.
  7247. * signal/Makefile: Likewise.
  7248. * dirent/Makefile: Likewise.
  7249. * assert/assert.h: Replace __NORETURN keyword with __attribute__
  7250. uses. Functions return void and macros deal with this.
  7251. * assert/assert-perr.c: Remove obsolete __NORETURN keyword.
  7252. Return void. Don't include gnu-stabs.h.
  7253. * assert/assert.c: Likewise.
  7254. * posix/Makefile (routines): Remove __ names, setpgrp. Add
  7255. getpgid.
  7256. (aux): Remove environ.
  7257. * stdlib/stdlib.h (abort, exit): Replace __NORETURN keyword with
  7258. __attribute__ use.
  7259. * posix/unistd.h (_exit): Likewise.
  7260. (__getpgrp, __setpgrp): Declarations removed.
  7261. (__getpgid, getpid): Declare these.
  7262. * configure.in (host_os=gnuelf|linuxelf): Set elf=yes. Do AC_SUBST
  7263. for gnu_ld, gnu_as, elf, and weak. Call AC_LINK_FILEES on
  7264. $libc_link_{sources,dests}.
  7265. * sysdeps/unix/configure.in: Remove __ from file names. Don't
  7266. create files, just add to libc_link_{dests,sources}.
  7267. * config.make.in (gnu-as, gnu-ld, elf, weak-symbols): New variables.
  7268. * config.h.in: Add #undefs used by sysdeps configures.
  7269. * sysdeps/unix/sysv/sysv4/Makefile (sysdep_routines): Removed
  7270. __setpgid, __getpgid.
  7271. * sysdeps/unix/sysv/sco3.2.4/setpgid.c: Included file was renamed
  7272. from setpgrp.c.
  7273. * sysdeps/unix/sysv/sco3.2.4/getpgid.c: Included file was renamed
  7274. from __getpgrp.c.
  7275. * sysdeps/unix/bsd/getpgrp.c: File removed.
  7276. * sysdeps/generic/getpgrp.c: Moved from sysdeps/stub/getpgrp.c.
  7277. Call __getpgid with zero.
  7278. * sysdeps/stub/setpgid.c: Renamed __setpgrp to __setpgid, added
  7279. weak aliases setpgid and setpgrp.
  7280. * sysdeps/unix/sysv/irix4/setpgid.S: Likewise.
  7281. * sysdeps/unix/common/setpgid.S: Likewise.
  7282. * sysdeps/mach/hurd/setpgid.c: Likewise.
  7283. * sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
  7284. Use subcall 5 to __pgrpsys.
  7285. * sysdeps/stub/getpgid.c: Renamed __getpgrp to __getpgid, added
  7286. weak alias getpgid.
  7287. * sysdeps/mach/hurd/getpgid.c: Likewise.
  7288. * sysdeps/unix/sysv/irix4/getpgid.S: Likewise.
  7289. * sysdeps/unix/common/getpgid.S: Likewise.
  7290. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
  7291. Use subcall 4 to __pgrpsys.
  7292. * sysdeps/stub/__getpgrp.c: Renamed to getpgid.c.
  7293. * sysdeps/unix/sysv/sysv4/__getpgrp.c: Renamed to getpgid.c.
  7294. * sysdeps/unix/sysv/sco3.2.4/__getpgrp.c: Renamed to getpgid.c.
  7295. * sysdeps/unix/sysv/irix4/__getpgrp.S: Renamed to getpgid.S.
  7296. * sysdeps/unix/common/__getpgrp.S: Renamed to getpgid.S.
  7297. * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
  7298. * sysdeps/stub/setpgrp.c: Renamed to setpgid.c.
  7299. * sysdeps/unix/sysv/sysv4/setpgrp.c: Renamed to setpgid.c.
  7300. * sysdeps/unix/sysv/sco3.2.4/setpgrp.c: Renamed to setpgid.c.
  7301. * sysdeps/unix/sysv/irix4/setpgrp.S: Renamed to setpgid.S.
  7302. * sysdeps/unix/common/setpgrp.S: Renamed to setpgid.S.
  7303. * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
  7304. * sysdeps/unix/bsd/hp/m68k/getdents.S: Included file was renamed
  7305. from __getdents.S.
  7306. * sysdeps/posix/defs.c: Don't include gnu-stabs.h.
  7307. * sysdeps/stub/sigpending.c: Use new libc-symbols.h macro for stub
  7308. warning.
  7309. * sysdeps/stub/fexecve.c: Likewise.
  7310. * sysdeps/stub/fchdir.c: Likewise.
  7311. * sysdeps/stub/fchflags.c: Likewise.
  7312. * sysdeps/stub/chflags.c: Likewise.
  7313. * sysdeps/m68k/__longjmp.c: Remove __NORETURN; it's obsolete.
  7314. * sysdeps/generic/abort.c: Likewise.
  7315. * sysdeps/ieee754/ldexp.c: Remove __CONSTVALUE; it's obsolete.
  7316. * hurd/hurdioctl.c: Include hurd/ioctl.h.
  7317. (_hurd_ioctl_handler_lists): Define this set.
  7318. (_hurd_lookup_ioctl_handler): New function.
  7319. * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
  7320. * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
  7321. (_hurd_lookup_ioctl_handler): Declare it.
  7322. (ioctl_handler_t): New typedef. Use it throughout.
  7323. * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
  7324. (_hurd_ioctl_handler_lists): Don't define.
  7325. (__ioctl): Call _hurd_lookup_ioctl_handler.
  7326. * stdlib/strtol.c (maxquad): Make this const.
  7327. [__GNUC__ == 2 && __GNUC_MINOR__ < 7]: Only use maxquad in this case.
  7328. * posix/glob/configure.in: Put AC_AIX and AC_MINIX early, before
  7329. any compile tests.
  7330. * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
  7331. __msg_sig_post_request, not __sig_post_request.
  7332. * misc/getusersh.c: Renamed to getusershell.c.
  7333. * sysdeps/stub/sethostnam.c: Renamed to sethostname.c.
  7334. * sysdeps/unix/inet/sethostnam.S: Renamed to sethostname.S.
  7335. * sysdeps/unix/sysv/sysv4/sethostnam.c: Renamed to sethostname.c.
  7336. * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
  7337. Tue Jan 24 00:14:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7338. * sysdeps/stub/settod.c: Renamed to settimeofday.c.
  7339. * sysdeps/unix/bsd/settod.S: Renamed to settimeofday.c.
  7340. * sysdeps/unix/sysv/settod.c: Renamed to settimeofday.c.
  7341. * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
  7342. * sysdeps/stub/setitmr.c: Renamed to setitimer.c.
  7343. * sysdeps/unix/common/setitmr.S: Renamed to setitimer.S.
  7344. * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
  7345. * sysdeps/posix/fpathcon.c: Renamed to fpathconf.c.
  7346. * sysdeps/stub/fpathcon.c: Renamed to fpathconf.c.
  7347. * sysdeps/unix/sysv/irix4/fpathcon.c: Renamed to fpathconf.c.
  7348. * sysdeps/stub/getprio.c: Renamed to getpriority.c.
  7349. * sysdeps/unix/sysv/irix4/getprio.c: Renamed to getpriority.c.
  7350. * sysdeps/unix/common/getprio.S: Renamed to getpriority.S.
  7351. * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
  7352. * sysdeps/stub/setprio.c: Renamed to setpriority.c.
  7353. * sysdeps/unix/sysv/irix4/setprio.c: Renamed to setpriority.c.
  7354. * sysdeps/unix/common/setprio.S: Renamed to setpriority.S.
  7355. * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
  7356. * sysdeps/stub/getpeernam.c: Renamed to getpeername.c.
  7357. * sysdeps/unix/inet/getpeernam.S: Renamed to getpeername.S.
  7358. * sysdeps/unix/sysv/linux/getpeernam.S: Renamed to getpeername.S.
  7359. * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
  7360. * sysdeps/stub/getsocknam.c: Renamed to getsockname.c.
  7361. * sysdeps/unix/inet/getsocknam.S: Renamed to getsockname.S.
  7362. * sysdeps/unix/sysv/linux/getsocknam.S: Renamed to getsockname.S.
  7363. * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
  7364. * sysdeps/stub/sigaltstk.c: Renamed to sigaltstack.c.
  7365. * sysdeps/unix/bsd/bsd4.4/sigaltstk.S: Renamed to sigaltstack.S.
  7366. * sysdeps/unix/sysv/sysv4/sigaltstk.S: Renamed to sigaltstack.S.
  7367. * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
  7368. * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
  7369. of __sig_post.
  7370. * sysdeps/mach/hurd/sigsuspend.c: Likewise.
  7371. * sysdeps/mach/hurd/kill.c: Likewise.
  7372. * sysdeps/mach/hurd/sigprocmask.c: Likewise.
  7373. * misc/sys/cdefs.h (__NORETURN, __CONSTVALUE): Macros removed.
  7374. [!__GNUC__ || __GNUC__<2] (__attribute__): Define to empty.
  7375. * sysdeps/stub/remove.c: New file.
  7376. * sysdeps/posix/remove.c: New file.
  7377. Mon Jan 23 03:26:09 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7378. * time/mktime.c [weak_alias] (timelocal): Define as weak alias for
  7379. mktime.
  7380. * mach/mig_strncpy.c (mig_strncpy): Define as weak alias for
  7381. __mig_strncpy.
  7382. * mach/msg-destroy.c: Renamed from __msg_dest.c.
  7383. (mach_msg_destroy): Define as weak alias for __mach_msg_destroy.
  7384. * mach/setup-thread.c (mach_setup_thread): Define as weak alias.
  7385. * time/tzset.c (tzname, daylight, timezone): Define as weak
  7386. aliases for __ names.
  7387. * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
  7388. * hurd/hurdlookup.c: Add weak aliases for non-__ names.
  7389. * Makefile (+init): Test $(gnu-ld)=yes, not for $(+gnu-stabs)
  7390. being defined.
  7391. Sun Jan 22 15:19:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7392. * string/Makefile (routines): Remove __ names, index, rindex, and
  7393. bcmp.
  7394. * sysdeps/alpha/strchr.c [weak_alias] (index): Define as weak
  7395. alias for strchr.
  7396. * sysdeps/generic/strchr.c: Likewise.
  7397. * sysdeps/generic/strrchr.c [weak_alias] (rindex): Define as weak
  7398. alias for strrchr.
  7399. * sysdeps/generic/memcmp.c [weak_alias] (bcmp): Define as weak
  7400. alias for memcmp.
  7401. * malloc/free.c (cfree): Define this function, with weak_alias if
  7402. available, otherwise a C function.
  7403. * malloc/Makefile (gmalloc-routines): Remove cfree.
  7404. Sat Jan 21 08:08:58 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7405. * stdio/fseek.c: Do move bufp by O when that puts it exactly at
  7406. get_limit. This has the effect of no-op'ing properly for zero.
  7407. * configure.in: Add AC_CONFIG_HEADER(config.h).
  7408. (--with-elf, --with-weak-symbols): Grok these and define HAVE_*.
  7409. * config.h.in: New file.
  7410. * setjmp/longjmp.c: Add weak aliases _longjmp, siglongjmp.
  7411. All code converted to use weak symbols, defined in the files which
  7412. define the real code (with the __ names, the non-__ names are weak).
  7413. All old symbol alias files removed.
  7414. Many files renamed to remove __ prefix since there is now just
  7415. the one file for both the __ and non-__ name for each function.
  7416. * libc-symbols.h: New file.
  7417. * set-hooks.h: Use libc-symbols.h macros for accessing symbol
  7418. sets.
  7419. * gnu-stabs.h: Prepend #error this file is obsolete.
  7420. * sysdeps/ieee754/ldexp.c: Add weak aliases scalb and __scalb.
  7421. * sysdeps/stub/__access.c: Renamed to access.c; added weak alias
  7422. access.
  7423. * sysdeps/unix/common/__access.S: Likewise.
  7424. * sysdeps/mach/hurd/__access.c: Likewise.
  7425. * sysdeps/stub/__adjtime.c: Renamed to adjtime.c; added weak alias
  7426. adjtime.
  7427. * sysdeps/unix/common/__adjtime.S: Likewise.
  7428. * sysdeps/mach/__adjtime.c: Likewise.
  7429. * sysdeps/mach/hurd/__adjtime.c: Likewise.
  7430. * sysdeps/stub/__brk.c: Renamed to brk.c; added weak alias brk.
  7431. * sysdeps/unix/bsd/sun/m68k/__brk.S: Likewise.
  7432. * sysdeps/unix/bsd/vax/__brk.S: Likewise.
  7433. * sysdeps/unix/bsd/hp/m68k/__brk.S: Likewise.
  7434. * sysdeps/unix/bsd/osf1/alpha/__brk.S: Likewise.
  7435. * sysdeps/unix/i386/__brk.S: Likewise.
  7436. * sysdeps/unix/sparc/__brk.S: Likewise.
  7437. * sysdeps/unix/mips/__brk.S: Likewise.
  7438. * sysdeps/mach/hurd/__brk.c: Likewise.
  7439. * sysdeps/standalone/__brk.c: Likewise.
  7440. * sysdeps/stub/__chdir.c: Renamed to chdir.c; added weak alias chdir.
  7441. * sysdeps/unix/__chdir.S: Likewise.
  7442. * sysdeps/mach/hurd/__chdir.c: Likewise.
  7443. * sysdeps/stub/__chmod.c: Renamed to chmod.c; added weak alias chmod.
  7444. * sysdeps/unix/__chmod.S: Likewise.
  7445. * sysdeps/mach/hurd/__chmod.c: Likewise.
  7446. * sysdeps/stub/__chown.c: Renamed to chown.c; added weak alias chown.
  7447. * sysdeps/unix/__chown.S: Likewise.
  7448. * sysdeps/mach/hurd/__chown.c: Likewise.
  7449. * sysdeps/stub/__close.c: Renamed to close.c; added weak alias close.
  7450. * sysdeps/unix/__close.S: Likewise.
  7451. * sysdeps/mach/hurd/__close.c: Likewise.
  7452. * sysdeps/standalone/__close.c: Likewise.
  7453. * sysdeps/generic/__copysign.c: Renamed to copysign.c; added weak
  7454. alias copysign.
  7455. * sysdeps/ieee754/__copysign.c: Likewise.
  7456. * sysdeps/alpha/__copysign.c: Likewise.
  7457. * sysdeps/ieee754/__drem.c: Renamed to drem.c; added weak alias drem.
  7458. * sysdeps/m68k/fpu/__drem.c: Likewise.
  7459. * sysdeps/stub/__drem.c: Likewise.
  7460. * sysdeps/posix/__dup.c: Renamed to dup.c; added weak alias dup.
  7461. * sysdeps/stub/__dup.c: Likewise.
  7462. * sysdeps/unix/__dup.S: Likewise.
  7463. * sysdeps/posix/__dup2.c: Renamed to dup2.c; added weak alias dup2.
  7464. * sysdeps/stub/__dup2.c: Likewise.
  7465. * sysdeps/unix/sysv/sysv4/__dup2.c: Likewise.
  7466. * sysdeps/unix/sysv/irix4/__dup2.c: Likewise.
  7467. * sysdeps/unix/common/__dup2.S: Likewise.
  7468. * sysdeps/mach/hurd/__dup2.c: Likewise.
  7469. * sysdeps/stub/__execve.c: Renamed to execve.c; added weak alias
  7470. execve.
  7471. * sysdeps/unix/__execve.S: Likewise.
  7472. * sysdeps/mach/hurd/__execve.c: Likewise.
  7473. * sysdeps/generic/__expm1.c: Renamed to expm1.c; added weak alias
  7474. expm1.
  7475. * sysdeps/m68k/fpu/__expm1.c: Likewise.
  7476. * sysdeps/stub/__fchmod.c: Renamed to fchmod.c; added weak alias
  7477. fchmod.
  7478. * sysdeps/unix/common/__fchmod.S: Likewise.
  7479. * sysdeps/mach/hurd/__fchmod.c: Likewise.
  7480. * sysdeps/stub/__fchown.c: Renamed to fchown.c; added weak alias
  7481. fchown.
  7482. * sysdeps/unix/common/__fchown.S: Likewise.
  7483. * sysdeps/mach/hurd/__fchown.c: Likewise.
  7484. * sysdeps/stub/__fcntl.c: Renamed to fcntl.c; added weak alias fcntl.
  7485. * sysdeps/unix/__fcntl.S: Likewise.
  7486. * sysdeps/mach/hurd/__fcntl.c: Likewise.
  7487. * math/__finite.c: Renamed to finite.c; added weak alias finite.
  7488. * sysdeps/posix/__flock.c: Renamed to flock.c; added weak alias flock.
  7489. * sysdeps/stub/__flock.c: Likewise.
  7490. * sysdeps/unix/bsd/__flock.S: Likewise.
  7491. * sysdeps/mach/hurd/__flock.c: Likewise.
  7492. * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
  7493. fopenport.
  7494. * sysdeps/stub/__fork.c: Renamed to fork.c; added weak alias fork.
  7495. * sysdeps/unix/__fork.S: Likewise.
  7496. * sysdeps/unix/bsd/osf1/alpha/__fork.S: Likewise.
  7497. * sysdeps/unix/i386/__fork.S: Likewise.
  7498. * sysdeps/unix/sparc/__fork.S: Likewise.
  7499. * sysdeps/unix/mips/__fork.S: Likewise.
  7500. * sysdeps/mach/hurd/__fork.c: Likewise.
  7501. * sysdeps/posix/__fpathcon.c: Renamed to fpathcon.c; added weak
  7502. alias fpathconf.
  7503. * sysdeps/stub/__fpathcon.c: Likewise.
  7504. * sysdeps/unix/sysv/irix4/__fpathcon.c: Likewise.
  7505. * sysdeps/stub/__fstat.c: Renamed to fstat.c; added weak alias fstat.
  7506. * sysdeps/unix/__fstat.S: Likewise.
  7507. * sysdeps/unix/sysv/sysv4/i386/__fstat.S: Likewise.
  7508. * sysdeps/mach/hurd/__fstat.c: Likewise.
  7509. * stdio/__getdelim.c: Renamed to getdelim.c; added weak alias
  7510. getdelim.
  7511. * sysdeps/stub/__getdents.c: Renamed to getdents.c; added weak
  7512. alias getdents.
  7513. * sysdeps/unix/__getdents.c: Likewise.
  7514. * sysdeps/unix/bsd/sun/__getdents.S: Likewise.
  7515. * sysdeps/unix/bsd/hp/m68k/__getdents.S: Likewise.
  7516. * sysdeps/unix/bsd/ultrix4/__getdents.S: Likewise.
  7517. * sysdeps/unix/bsd/bsd4.4/__getdents.S: Likewise.
  7518. * sysdeps/unix/bsd/osf1/alpha/__getdents.S: Likewise.
  7519. * sysdeps/unix/sysv/__getdents.c: Likewise.
  7520. * sysdeps/mach/hurd/__getdents.c: Likewise.
  7521. * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
  7522. * sysdeps/posix/__getdtsz.c: Renamed to getdtsz.c; added weak
  7523. alias getdtablesize.
  7524. * sysdeps/stub/__getdtsz.c: Likewise.
  7525. * sysdeps/unix/bsd/__getdtsz.S: Likewise.
  7526. * sysdeps/unix/sysv/sysv4/__getdtsz.c: Likewise.
  7527. * sysdeps/mach/hurd/__getdtsz.c: Likewise.
  7528. * sysdeps/stub/__getegid.c: Renamed to getegid.c; added weak alias
  7529. getegid.
  7530. * sysdeps/unix/__getegid.S: Likewise.
  7531. * sysdeps/mach/hurd/__getegid.c: Likewise.
  7532. * sysdeps/stub/__geteuid.c: Renamed to geteuid.c; added weak alias
  7533. geteuid.
  7534. * sysdeps/unix/__geteuid.S: Likewise.
  7535. * sysdeps/mach/hurd/__geteuid.c: Likewise.
  7536. * sysdeps/stub/__getgid.c: Renamed to getgid.c; added weak alias
  7537. getgid.
  7538. * sysdeps/unix/__getgid.S: Likewise.
  7539. * sysdeps/mach/hurd/__getgid.c: Likewise.
  7540. * sysdeps/stub/__getgrps.c: Renamed to getgroups.c; added weak
  7541. alias getgroups.
  7542. * sysdeps/unix/bsd/sequent/i386/__getgrps.S: Likewise.
  7543. * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: Likewise.
  7544. * sysdeps/unix/sysv/irix4/__getgrps.c: Likewise.
  7545. * sysdeps/unix/common/__getgrps.S: Likewise.
  7546. * sysdeps/mach/hurd/__getgrps.c: Likewise.
  7547. * sysdeps/stub/__gethstnm.c: Renamed to gethostname.c; added weak
  7548. alias gethostname.
  7549. * sysdeps/unix/inet/__gethstnm.S: Likewise.
  7550. * sysdeps/unix/sysv/__gethstnm.c: Likewise.
  7551. * sysdeps/unix/sysv/sysv4/__gethstnm.c: Likewise.
  7552. * sysdeps/mach/hurd/__gethstnm.c: Likewise.
  7553. * sysdeps/stub/__getitmr.c: Renamed to getitimer.c; added weak
  7554. alias getitimer.
  7555. * sysdeps/unix/common/__getitmr.S: Likewise.
  7556. * sysdeps/mach/hurd/__getitmr.c: Likewise.
  7557. * stdio/__getline.c: Renamed to getline.c; added weak alias getline.
  7558. * sysdeps/posix/__getpgsz.c: Renamed to getpagesize.c; added weak
  7559. alias getpagesize.
  7560. * sysdeps/stub/__getpgsz.c: Likewise.
  7561. * sysdeps/unix/__getpgsz.c: Likewise.
  7562. * sysdeps/unix/bsd/__getpgsz.S: Likewise.
  7563. * sysdeps/unix/sysv/sysv4/__getpgsz.c: Likewise.
  7564. * sysdeps/mach/__getpgsz.c: Likewise.
  7565. * sysdeps/stub/__getpid.c: Renamed to getpid.c; added weak alias
  7566. getpid.
  7567. * sysdeps/unix/__getpid.S: Likewise.
  7568. * sysdeps/mach/hurd/__getpid.c: Likewise.
  7569. * sysdeps/stub/__getppid.c: Renamed to getppid.c; added weak alias
  7570. getppid.
  7571. * sysdeps/unix/__getppid.S: Likewise.
  7572. * sysdeps/mach/hurd/__getppid.c: Likewise.
  7573. * sysdeps/posix/__gettod.c: Renamed to gettimeofday.c; added weak
  7574. alias gettimeofday.
  7575. * sysdeps/stub/__gettod.c: Likewise.
  7576. * sysdeps/unix/sysv/irix4/__gettod.c: Likewise.
  7577. * sysdeps/unix/common/__gettod.S: Likewise.
  7578. * sysdeps/mach/__gettod.c: Likewise.
  7579. * sysdeps/stub/__getuid.c: Renamed to getuid.c; added weak alias
  7580. getuid.
  7581. * sysdeps/unix/__getuid.S: Likewise.
  7582. * sysdeps/mach/hurd/__getuid.c: Likewise.
  7583. * sysdeps/generic/__infnan.c: Renamed to infnan.c; added weak
  7584. alias infnan.
  7585. * sysdeps/ieee754/__infnan.c: Likewise.
  7586. * sysdeps/vax/__infnan.c: Likewise.
  7587. * sysdeps/stub/__ioctl.c: Renamed to ioctl.c; added weak alias ioctl.
  7588. * sysdeps/unix/__ioctl.S: Likewise.
  7589. * sysdeps/mach/hurd/__ioctl.c: Likewise.
  7590. * sysdeps/posix/__isatty.c: Renamed to isatty.c; added weak alias
  7591. isatty.
  7592. * sysdeps/stub/__isatty.c: Likewise.
  7593. * sysdeps/unix/bsd/__isatty.c: Likewise.
  7594. * sysdeps/mach/hurd/__isatty.c: Likewise.
  7595. * sysdeps/ieee754/__isinf.c: Renamed to isinf.c; added weak alias
  7596. isinf.
  7597. * sysdeps/m68k/fpu/__isinf.c: Likewise.
  7598. * sysdeps/stub/__isinf.c: Likewise.
  7599. * sysdeps/generic/__isnan.c: Renamed to isnan.c; added weak alias
  7600. isnan.
  7601. * sysdeps/ieee754/__isnan.c: Likewise.
  7602. * sysdeps/m68k/fpu/__isnan.c: Likewise.
  7603. * sysdeps/stub/__kill.c: Renamed to kill.c; added weak alias kill.
  7604. * sysdeps/unix/__kill.S: Likewise.
  7605. * sysdeps/mach/hurd/__kill.c: Likewise.
  7606. * sysdeps/stub/__link.c: Renamed to link.c; added weak alias link.
  7607. * sysdeps/unix/__link.S: Likewise.
  7608. * sysdeps/mach/hurd/__link.c: Likewise.
  7609. * sysdeps/ieee754/__logb.c: Renamed to logb.c; added weak alias logb.
  7610. * sysdeps/m68k/fpu/__logb.c: Likewise.
  7611. * sysdeps/stub/__logb.c: Likewise.
  7612. * sysdeps/stub/__lseek.c: Renamed to lseek.c; added weak alias lseek.
  7613. * sysdeps/unix/__lseek.S: Likewise.
  7614. * sysdeps/mach/hurd/__lseek.c: Likewise.
  7615. * sysdeps/generic/__lstat.c: Renamed to lstat.c; added weak alias
  7616. lstat.
  7617. * sysdeps/stub/__lstat.c: Likewise.
  7618. * sysdeps/unix/sysv/sysv4/i386/__lstat.S: Likewise.
  7619. * sysdeps/unix/common/__lstat.S: Likewise.
  7620. * sysdeps/mach/hurd/__lstat.c: Likewise.
  7621. * sysdeps/generic/__memccpy.c: Renamed to memccpy.c; added weak
  7622. alias memccpy.
  7623. * sysdeps/vax/__memccpy.c: Likewise.
  7624. * sysdeps/stub/__mkdir.c: Renamed to mkdir.c; added weak alias mkdir.
  7625. * sysdeps/unix/sysv/__mkdir.c: Likewise.
  7626. * sysdeps/unix/common/__mkdir.S: Likewise.
  7627. * sysdeps/mach/hurd/__mkdir.c: Likewise.
  7628. * sysdeps/stub/__mknod.c: Renamed to mknod.c; added weak alias mknod.
  7629. * sysdeps/unix/__mknod.S: Likewise.
  7630. * sysdeps/unix/sysv/sysv4/i386/__mknod.S: Likewise.
  7631. * sysdeps/mach/hurd/__mknod.c: Likewise.
  7632. * mach/__msg.c: Renamed to msg.c; added weak alias mach_msg.
  7633. * mach/__msgserver.c: Renamed to msgserver.c; added weak alias
  7634. mach_msg_server.
  7635. * sysdeps/stub/__open.c: Renamed to open.c; added weak alias open.
  7636. * sysdeps/unix/__open.S: Likewise.
  7637. * sysdeps/mach/hurd/__open.c: Likewise.
  7638. * sysdeps/standalone/__open.c: Likewise.
  7639. * sysdeps/stub/__pathconf.c: Renamed to pathconf.c; added weak
  7640. alias pathconf.
  7641. * sysdeps/unix/sysv/sco3.2.4/__pathconf.S: Likewise.
  7642. * sysdeps/unix/sysv/irix4/__pathconf.c: Likewise.
  7643. * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
  7644. * sysdeps/stub/__pipe.c: Renamed to pipe.c; added weak alias pipe.
  7645. * sysdeps/unix/bsd/vax/__pipe.S: Likewise.
  7646. * sysdeps/unix/bsd/m68k/__pipe.S: Likewise.
  7647. * sysdeps/unix/bsd/osf1/alpha/__pipe.S: Likewise.
  7648. * sysdeps/unix/i386/__pipe.S: Likewise.
  7649. * sysdeps/unix/sparc/__pipe.S: Likewise.
  7650. * sysdeps/unix/mips/__pipe.S: Likewise.
  7651. * sysdeps/mach/hurd/__pipe.c: Likewise.
  7652. * stdlib/__random.c: Renamed to random.c; added weak alias random.
  7653. * sysdeps/stub/__read.c: Renamed to read.c; added weak alias read.
  7654. * sysdeps/unix/__read.S: Likewise.
  7655. * sysdeps/mach/hurd/__read.c: Likewise.
  7656. * sysdeps/standalone/__read.c: Likewise.
  7657. * sysdeps/stub/__readlink.c: Renamed to readlink.c; added weak
  7658. alias readlink.
  7659. * sysdeps/unix/common/__readlink.S: Likewise.
  7660. * sysdeps/mach/hurd/__readlink.c: Likewise.
  7661. * sysdeps/generic/__rint.c: Renamed to rint.c; added weak alias rint.
  7662. * sysdeps/m68k/fpu/__rint.c: Likewise.
  7663. * sysdeps/stub/__rmdir.c: Renamed to rmdir.c; added weak alias rmdir.
  7664. * sysdeps/unix/sysv/__rmdir.c: Likewise.
  7665. * sysdeps/unix/common/__rmdir.S: Likewise.
  7666. * sysdeps/mach/hurd/__rmdir.c: Likewise.
  7667. * sysdeps/generic/__sbrk.c: Renamed to sbrk.c; added weak alias sbrk.
  7668. * sysdeps/stub/__sbrk.c: Likewise.
  7669. * sysdeps/mach/hurd/__sbrk.c: Likewise.
  7670. * math/__scalb.c: Renamed to scalb.c; added weak alias scalb.
  7671. * sysdeps/stub/__select.c: Renamed to select.c; added weak alias
  7672. select.
  7673. * sysdeps/unix/common/__select.S: Likewise.
  7674. * sysdeps/mach/hurd/__select.c: Likewise.
  7675. * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
  7676. * sysdeps/stub/__setgid.c: Renamed to setgid.c; added weak alias
  7677. setgid.
  7678. * sysdeps/unix/__setgid.S: Likewise.
  7679. * sysdeps/unix/bsd/__setgid.c: Likewise.
  7680. * sysdeps/mach/hurd/__setgid.c: Likewise.
  7681. * sysdeps/stub/__setitmr.c: Renamed to setitmr.c; added weak alias
  7682. setitmr
  7683. * sysdeps/unix/common/__setitmr.S: Likewise.
  7684. * sysdeps/mach/hurd/__setitmr.c: Likewise.
  7685. * sysdeps/stub/__setpgrp.c: Renamed to setpgrp.c; added weak alias
  7686. setpgrp
  7687. * sysdeps/unix/sysv/sysv4/__setpgrp.c: Likewise.
  7688. * sysdeps/unix/sysv/sco3.2.4/__setpgrp.c: Likewise.
  7689. * sysdeps/unix/sysv/irix4/__setpgrp.S: Likewise.
  7690. * sysdeps/unix/common/__setpgrp.S: Likewise.
  7691. * sysdeps/mach/hurd/__setpgrp.c: Likewise.
  7692. * sysdeps/stub/__setregid.c: Renamed to setregid.c; added weak
  7693. alias setregid.
  7694. * sysdeps/unix/common/__setregid.S: Likewise.
  7695. * sysdeps/mach/hurd/__setregid.c: Likewise.
  7696. * sysdeps/stub/__setreuid.c: Renamed to setreuid.c; added weak
  7697. alias setreuid.
  7698. * sysdeps/unix/common/__setreuid.S: Likewise.
  7699. * sysdeps/mach/hurd/__setreuid.c: Likewise.
  7700. * sysdeps/stub/__setsid.c: Renamed to setsid.c; added weak alias
  7701. setsid.
  7702. * sysdeps/unix/bsd/__setsid.c: Likewise.
  7703. * sysdeps/unix/bsd/sun/sunos4/__setsid.S: Likewise.
  7704. * sysdeps/unix/bsd/ultrix4/__setsid.S: Likewise.
  7705. * sysdeps/unix/bsd/bsd4.4/__setsid.S: Likewise.
  7706. * sysdeps/unix/sysv/linux/__setsid.S: Likewise.
  7707. * sysdeps/unix/sysv/sysv4/__setsid.c: Likewise.
  7708. * sysdeps/unix/sysv/sco3.2.4/__setsid.c: Likewise.
  7709. * sysdeps/mach/hurd/__setsid.c: Likewise.
  7710. * sysdeps/stub/__settod.c: Renamed to settod.c; added weak alias
  7711. settimeofday.
  7712. * sysdeps/unix/bsd/__settod.S: Likewise.
  7713. * sysdeps/unix/sysv/__settod.c: Likewise.
  7714. * sysdeps/mach/hurd/__settod.c: Likewise.
  7715. * sysdeps/stub/__setuid.c: Renamed to setuid.c; added weak alias
  7716. setuid.
  7717. * sysdeps/unix/__setuid.S: Likewise.
  7718. * sysdeps/unix/bsd/__setuid.c: Likewise.
  7719. * sysdeps/mach/hurd/__setuid.c: Likewise.
  7720. * sysdeps/posix/__sigblock.c: Renamed to sigblock.c; added weak
  7721. alias sigblock.
  7722. * sysdeps/stub/__sigblock.c: Likewise.
  7723. * sysdeps/unix/bsd/__sigblock.S: Likewise.
  7724. * sysdeps/unix/bsd/bsd4.4/__sigblock.c: Likewise.
  7725. * sysdeps/unix/bsd/osf1/alpha/__sigblock.S: Likewise.
  7726. * sysdeps/posix/__sigpause.c: Renamed to sigpause.c; added weak
  7727. alias sigpause.
  7728. * sysdeps/stub/__sigpause.c: Likewise.
  7729. * sysdeps/unix/bsd/__sigpause.S: Likewise.
  7730. * sysdeps/unix/bsd/osf1/alpha/__sigpause.S: Likewise.
  7731. * sysdeps/stub/__sigproc.c: Renamed to sigprocmask.c; added weak
  7732. alias sigprocmask.
  7733. * sysdeps/unix/bsd/__sigproc.c: Likewise.
  7734. * sysdeps/unix/sysv/sysv4/__sigproc.S: Likewise.
  7735. * sysdeps/unix/sysv/sco3.2.4/__sigproc.S: Likewise.
  7736. * sysdeps/mach/hurd/__sigproc.c: Likewise.
  7737. * sysdeps/stub/__sigret.c: Renamed to sigreturn.c; added weak
  7738. alias sigreturn.
  7739. * sysdeps/unix/bsd/sun/__sigret.S: Likewise.
  7740. * sysdeps/unix/sysv/i386/__sigret.S: Likewise.
  7741. * sysdeps/unix/sysv/irix4/__sigret.S: Likewise.
  7742. * sysdeps/unix/i386/__sigret.S: Likewise.
  7743. * sysdeps/unix/mips/__sigret.S: Likewise.
  7744. * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
  7745. * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
  7746. * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
  7747. * sysdeps/posix/__sigvec.c: Renamed to sigvec.c; added weak alias
  7748. sigvec.
  7749. * sysdeps/stub/__sigvec.c: Likewise.
  7750. * sysdeps/unix/bsd/__sigvec.S: Likewise.
  7751. * sysdeps/unix/bsd/sun/__sigvec.S: Likewise.
  7752. * sysdeps/unix/bsd/sequent/i386/__sigvec.S: Likewise.
  7753. * sysdeps/unix/bsd/ultrix4/mips/__sigvec.S: Likewise.
  7754. * sysdeps/unix/bsd/bsd4.4/__sigvec.c: Likewise.
  7755. * sysdeps/unix/bsd/osf1/alpha/__sigvec.S: Likewise.
  7756. * sysdeps/stub/__stat.c: Renamed to stat.c; added weak alias stat.
  7757. * sysdeps/unix/__stat.S: Likewise.
  7758. * sysdeps/unix/sysv/sysv4/i386/__stat.S: Likewise.
  7759. * sysdeps/mach/hurd/__stat.c: Likewise.
  7760. * sysdeps/generic/__stpncpy.c: Renamed to stpncpy.c; added weak
  7761. alias stpncpy.
  7762. * sysdeps/stub/__symlink.c: Renamed to symlink.c; added weak alias
  7763. symlink.
  7764. * sysdeps/unix/common/__symlink.S: Likewise.
  7765. * sysdeps/mach/hurd/__symlink.c: Likewise.
  7766. * sysdeps/posix/__sysconf.c: Renamed to sysconf.c; added weak
  7767. alias sysconf.
  7768. * sysdeps/stub/__sysconf.c: Likewise.
  7769. * sysdeps/unix/bsd/ultrix4/__sysconf.c: Likewise.
  7770. * sysdeps/unix/sysv/sysv4/__sysconf.c: Likewise.
  7771. * sysdeps/unix/sysv/sco3.2.4/__sysconf.S: Likewise.
  7772. * sysdeps/unix/sysv/irix4/__sysconf.c: Likewise.
  7773. * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
  7774. * sysdeps/stub/__times.c: Renamed to times.c; added weak alias times.
  7775. * sysdeps/unix/bsd/__times.c: Likewise.
  7776. * sysdeps/unix/sysv/__times.S: Likewise.
  7777. * time/__tzset.c: Renamed to tzset.c; added weak alias tzset.
  7778. * sysdeps/stub/__umask.c: Renamed to umask.c; added weak alias umask.
  7779. * sysdeps/unix/__umask.S: Likewise.
  7780. * sysdeps/mach/hurd/__umask.c: Likewise.
  7781. * sysdeps/stub/__unlink.c: Renamed to unlink.c; added weak alias
  7782. unlink.
  7783. * sysdeps/unix/__unlink.S: Likewise.
  7784. * sysdeps/mach/hurd/__unlink.c: Likewise.
  7785. * sysdeps/stub/__utimes.c: Renamed to utimes.c; added weak alias
  7786. utimes.
  7787. * sysdeps/unix/bsd/__utimes.S: Likewise.
  7788. * sysdeps/unix/sysv/sysv4/solaris2/__utimes.S: Likewise.
  7789. * sysdeps/mach/hurd/__utimes.c: Likewise.
  7790. * sysdeps/generic/__vfork.c: Renamed to vfork.c; added weak alias
  7791. vfork.
  7792. * sysdeps/unix/bsd/sun/m68k/__vfork.S: Likewise.
  7793. * sysdeps/unix/bsd/vax/__vfork.S: Likewise.
  7794. * sysdeps/unix/bsd/i386/__vfork.S: Likewise.
  7795. * sysdeps/unix/bsd/hp/m68k/__vfork.S: Likewise.
  7796. * sysdeps/unix/bsd/ultrix4/mips/__vfork.S: Likewise.
  7797. * sysdeps/unix/sysv/sysv4/i386/__vfork.S: Likewise.
  7798. * sysdeps/unix/sparc/__vfork.S: Likewise.
  7799. * stdio/__vfscanf.c: Renamed to vfscanf.c; added weak alias vfscanf.
  7800. * stdio/__vsscanf.c: Renamed to vsscanf.c; added weak alias vsscanf.
  7801. * sysdeps/posix/__wait.c: Renamed to wait.c; added weak alias wait.
  7802. * sysdeps/stub/__wait.c: Likewise.
  7803. * sysdeps/unix/bsd/sony/newsos4/__wait.c: Likewise.
  7804. * sysdeps/unix/bsd/sun/sunos4/__wait.c: Likewise.
  7805. * sysdeps/unix/bsd/sun/sunos3/m68k/__wait.S: Likewise.
  7806. * sysdeps/unix/bsd/vax/__wait.S: Likewise.
  7807. * sysdeps/unix/bsd/m68k/__wait.S: Likewise.
  7808. * sysdeps/unix/bsd/bsd4.4/__wait.c: Likewise.
  7809. * sysdeps/unix/sysv/i386/linux/__wait.S: Likewise.
  7810. * sysdeps/unix/sysv/irix4/__wait.S: Likewise.
  7811. * sysdeps/unix/i386/__wait.S: Likewise.
  7812. * sysdeps/unix/mips/__wait.S: Likewise.
  7813. * sysdeps/posix/__wait3.c: Renamed to wait3.c; added weak alias wait3.
  7814. * sysdeps/stub/__wait3.c: Likewise.
  7815. * sysdeps/unix/bsd/sony/newsos4/__wait3.c: Likewise.
  7816. * sysdeps/unix/bsd/sun/sunos4/__wait3.c: Likewise.
  7817. * sysdeps/unix/bsd/vax/__wait3.S: Likewise.
  7818. * sysdeps/unix/bsd/i386/__wait3.S: Likewise.
  7819. * sysdeps/unix/bsd/hp/m68k/__wait3.S: Likewise.
  7820. * sysdeps/unix/bsd/ultrix4/__wait3.S: Likewise.
  7821. * sysdeps/unix/bsd/bsd4.4/__wait3.c: Likewise.
  7822. * sysdeps/unix/sysv/irix4/__wait3.S: Likewise.
  7823. * sysdeps/stub/__wait4.c: Renamed to wait4.c; added weak alias wait4.
  7824. * sysdeps/unix/bsd/sony/newsos4/__wait4.c: Likewise.
  7825. * sysdeps/unix/bsd/sun/sunos4/__wait4.c: Likewise.
  7826. * sysdeps/unix/bsd/bsd4.4/__wait4.S: Likewise.
  7827. * sysdeps/unix/bsd/osf1/alpha/__wait4.S: Likewise.
  7828. * sysdeps/unix/sysv/linux/__wait4.S: Likewise.
  7829. * sysdeps/mach/hurd/__wait4.c: Likewise.
  7830. * sysdeps/stub/__waitpid.c: Renamed to waitpid.c; added weak alias
  7831. waitpid.
  7832. * sysdeps/unix/bsd/sun/sunos4/__waitpid.c: Likewise.
  7833. * sysdeps/unix/bsd/ultrix4/__waitpid.S: Likewise.
  7834. * sysdeps/unix/bsd/bsd4.4/__waitpid.c: Likewise.
  7835. * sysdeps/unix/bsd/osf1/alpha/__waitpid.c: Likewise.
  7836. * sysdeps/unix/sysv/linux/__waitpid.S: Likewise.
  7837. * sysdeps/unix/sysv/sysv4/__waitpid.c: Likewise.
  7838. * sysdeps/unix/sysv/sco3.2.4/__waitpid.S: Likewise.
  7839. * sysdeps/unix/sysv/irix4/__waitpid.c: Likewise.
  7840. * sysdeps/stub/__write.c: Renamed to write.c; added weak alias write.
  7841. * sysdeps/unix/__write.S: Likewise.
  7842. * sysdeps/mach/hurd/__write.c: Likewise.
  7843. * sysdeps/standalone/__write.c: Likewise.
  7844. * sysdeps/stub/__tcgetatr.c: Renamed to tcgetattr.c; added weak
  7845. alias tcgetattr.
  7846. * sysdeps/unix/bsd/__tcgetatr.c: Likewise.
  7847. * sysdeps/unix/bsd/sun/sunos4/__tcgetatr.c: Likewise.
  7848. * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise.
  7849. * sysdeps/unix/sysv/__tcgetatr.c: Likewise.
  7850. * sysdeps/stub/__sigact.c: Renamed to sigaction.c; added weak
  7851. alias sigaction.
  7852. * sysdeps/unix/bsd/__sigact.c: Likewise.
  7853. * sysdeps/unix/sysv/__sigact.c: Likewise.
  7854. * sysdeps/unix/sysv/sysv4/__sigact.c: Likewise.
  7855. * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Likewise.
  7856. * sysdeps/mach/hurd/__sigact.c: Likewise.
  7857. * sysdeps/posix/__sigstmsk.c: Renamed to sigsetmask.c; added weak
  7858. alias sigsetmask.
  7859. * sysdeps/stub/__sigstmsk.c: Likewise.
  7860. * sysdeps/unix/bsd/__sigstmsk.S: Likewise.
  7861. * sysdeps/unix/bsd/bsd4.4/__sigstmsk.c: Likewise.
  7862. * sysdeps/unix/bsd/osf1/alpha/__sigstmsk.S: Likewise.
  7863. * sysdeps/stub/__getrusag.c: Renamed to getrusage.c; added weak
  7864. alias getrusage.
  7865. * sysdeps/unix/sysv/irix4/__getrusag.c: Likewise.
  7866. * sysdeps/unix/common/__getrusag.S: Likewise.
  7867. * hurd/task2pid.c: File removed.
  7868. * hurd/setauth.c: File removed.
  7869. * hurd/pid2task.c: File removed.
  7870. * hurd/hurdsyms.c: File removed.
  7871. * hurd/getdport.c: File removed.
  7872. * hurd/fopenport.c: File removed.
  7873. * mach/thread-sym.c: File removed.
  7874. * mach/spin-syms.c: File removed.
  7875. * mach/msgserver_t.c: File removed.
  7876. * mach/msgserver.c: File removed.
  7877. * mach/msg.c: File removed.
  7878. * mach/mig_syms.c: File removed.
  7879. * malloc/mcheck-init.c: File removed.
  7880. * malloc/cfree.c: File removed.
  7881. * io/flock.c: File removed.
  7882. * io/write.c: File removed.
  7883. * io/unlink.c: File removed.
  7884. * io/umask.c: File removed.
  7885. * io/symlink.c: File removed.
  7886. * io/rmdir.c: File removed.
  7887. * io/readlink.c: File removed.
  7888. * io/read.c: File removed.
  7889. * io/pipe.c: File removed.
  7890. * io/open.c: File removed.
  7891. * io/mkdir.c: File removed.
  7892. * io/lstat.c: File removed.
  7893. * io/lseek.c: File removed.
  7894. * io/link.c: File removed.
  7895. * io/isatty.c: File removed.
  7896. * io/stat.c: File removed.
  7897. * io/fstat.c: File removed.
  7898. * io/fchown.c: File removed.
  7899. * io/fchmod.c: File removed.
  7900. * io/dup2.c: File removed.
  7901. * io/dup.c: File removed.
  7902. * io/close.c: File removed.
  7903. * io/fcntl.c: File removed.
  7904. * io/chmod.c: File removed.
  7905. * io/chdir.c: File removed.
  7906. * io/access.c: File removed.
  7907. * io/chown.c: File removed.
  7908. * time/tzset.c: File removed.
  7909. * time/timelocal.c: File removed.
  7910. * time/syms-time.c: File removed.
  7911. * time/settod.c: File removed.
  7912. * time/setitmr.c: File removed.
  7913. * time/gettod.c: File removed.
  7914. * time/getitmr.c: File removed.
  7915. * time/adjtime.c: File removed.
  7916. * termios/tcgetattr.c: File removed.
  7917. * string/stpncpy.c: File removed.
  7918. * string/rindex.c: File removed.
  7919. * string/memccpy.c: File removed.
  7920. * string/index.c: File removed.
  7921. * string/bcmp.c: File removed.
  7922. * stdlib/srand.c: File removed.
  7923. * stdlib/random.c: File removed.
  7924. * stdio/vsscanf.c: File removed.
  7925. * stdio/vfscanf.c: File removed.
  7926. * stdio/syms-stdio.c: File removed.
  7927. * stdio/remove.c: File removed.
  7928. * stdio/getline.c: File removed.
  7929. * stdio/getdelim.c: File removed.
  7930. * signal/ssignal.c: File removed.
  7931. * signal/sigvec.c: File removed.
  7932. * signal/sigsetmask.c: File removed.
  7933. * signal/sigret.c: File removed.
  7934. * signal/sigproc.c: File removed.
  7935. * signal/sigpause.c: File removed.
  7936. * signal/sigblock.c: File removed.
  7937. * signal/sigaction.c: File removed.
  7938. * signal/kill.c: File removed.
  7939. * signal/gsignal.c: File removed.
  7940. * setjmp/siglongjmp.c: File removed.
  7941. * setjmp/_longjmp.c: File removed.
  7942. * resource/getrusage.c: File removed.
  7943. * posix/waitpid.c: File removed.
  7944. * posix/wait4.c: File removed.
  7945. * posix/wait3.c: File removed.
  7946. * posix/wait.c: File removed.
  7947. * posix/times.c: File removed.
  7948. * posix/sysconf.c: File removed.
  7949. * posix/setuid.c: File removed.
  7950. * posix/setsid.c: File removed.
  7951. * posix/setpgrp.c: File removed.
  7952. * posix/setpgid.c: File removed.
  7953. * posix/setgid.c: File removed.
  7954. * posix/pathconf.c: File removed.
  7955. * posix/getuid.c: File removed.
  7956. * posix/getppid.c: File removed.
  7957. * posix/getpid.c: File removed.
  7958. * posix/getgrps.c: File removed.
  7959. * posix/getgid.c: File removed.
  7960. * posix/geteuid.c: File removed.
  7961. * posix/getegid.c: File removed.
  7962. * posix/fpathcon.c: File removed.
  7963. * posix/fork.c: File removed.
  7964. * posix/execve.c: File removed.
  7965. * posix/environ.c: File removed.
  7966. * misc/utimes.c: File removed.
  7967. * misc/setreuid.c: File removed.
  7968. * misc/setregid.c: File removed.
  7969. * misc/select.c: File removed.
  7970. * misc/sbrk.c: File removed.
  7971. * misc/mknod.c: File removed.
  7972. * misc/ioctl.c: File removed.
  7973. * misc/getpgsz.c: File removed.
  7974. * misc/gethstnm.c: File removed.
  7975. * misc/getdtsz.c: File removed.
  7976. * misc/data_start.c: File removed.
  7977. * misc/brk.c: File removed.
  7978. * math/scalb.c: File removed.
  7979. * math/rint.c: File removed.
  7980. * math/logb.c: File removed.
  7981. * math/isnan.c: File removed.
  7982. * math/isinf.c: File removed.
  7983. * math/infnan.c: File removed.
  7984. * math/finite.c: File removed.
  7985. * math/expm1.c: File removed.
  7986. * math/drem.c: File removed.
  7987. * math/copysign.c: File removed.
  7988. * math/__scalb.c: File removed.
  7989. * dirent/getdents.c: File removed.
  7990. Fri Jan 20 16:11:06 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7991. * sysdeps/generic/morecore.c (__default_morecore): Use
  7992. __malloc_ptrdiff_t; don't cast arg to int.
  7993. * resolv/getnetnamadr.c: Include "conf/portability.h".
  7994. Thu Jan 19 02:20:04 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  7995. * stdlib/strtol.c: Include errno.h.
  7996. [QUAD] (ULONG_MAX): Define to a static variable initialized to
  7997. ULONG_LONG_MAX. This is to work around a GCC bug in using the
  7998. constant in arithmetic.
  7999. * posix/unistd.h (daemon): Declare it.
  8000. * malloc/mcheck-init.c: Remove GNU ld hacks.
  8001. (__malloc_initialize_hook): Initialize this hook to turn_on_mcheck.
  8002. * malloc/malloc.c (__malloc_initialize_hook): New hook variable.
  8003. (initialize): Call the hook if set.
  8004. * malloc/malloc.h: Use __malloc_{size,ptrdiff}_t in prototypes.
  8005. (__malloc_initialize_hook): Declare new hook variable.
  8006. Wed Jan 18 01:43:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8007. * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
  8008. * hurd/hurdpid.c: Likewise.
  8009. * hurd/hurdauth.c: Likewise.
  8010. Tue Jan 17 03:16:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8011. * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
  8012. if any are successful.
  8013. * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
  8014. (_S_msg_get_exec_flags, _S_msg_set_exec_flags,
  8015. _S_msg_set_some_exec_flags, _S_msg_clear_some_exec_flags): New
  8016. functions.
  8017. (_S_io_select_done, _S_dir_changed, _S_file_changed): Stubs removed.
  8018. * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
  8019. * hurd/hurd-raise.c: Likewise.
  8020. * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
  8021. * sysdeps/mach/hurd/ptrace.c: New file.
  8022. * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
  8023. interface, which has normal EINTR semantics. Instead of waiting
  8024. for io_select_done notification messages, send io_select messages
  8025. with short reply timeout and then wait for io_select_reply
  8026. messages.
  8027. * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
  8028. EXEC_INHERITED) to file_exec.
  8029. * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
  8030. use sig_post_untraced_reply. All callers changed.
  8031. (abort_thread, abort_rpcs): Take same new arg and pass it through.
  8032. All callers changed.
  8033. (_hurd_internal_post_signal): Take new arg UNTRACED.
  8034. If zero and process is traced, stop with SIGNO as stop signal. If
  8035. nonzero, resume process before delivering signal (unless
  8036. ACT==stop). Expand local fn sigwakeup into block at end taken iff
  8037. SIGNO!=0.
  8038. (signal_allowed): New function, broken out of _S_sig_post.
  8039. (_S_sig_post): Call it. Pass UNTRACED arg of false to
  8040. _hurd_internal_post_signal.
  8041. (_S_sig_post_untraced): New function. Just like _S_sig_post, but
  8042. pass true for UNTRACED.
  8043. * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
  8044. UNTRACED.
  8045. * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
  8046. to _hurd_internal_post_signal (value zero).
  8047. Mon Jan 16 16:40:01 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8048. * hurd/hurdinit.c (_hurd_exec_flags): New variable.
  8049. (_hurd_init): Initialize it from FLAGS arg.
  8050. (_hurd_proc_init): If EXEC_TRACED is set in _hurd_exec_flags,
  8051. raise a SIGTRAP signal (with a sigcode of zero).
  8052. * hurd/hurd.h (_hurd_exec_flags): Declare it.
  8053. * Version 1.09.5.
  8054. Mon Jan 16 16:16:55 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  8055. * malloc/malloc.c (malloc): Fix 1-off in previous change.
  8056. Mon Jan 16 15:49:07 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8057. * posix/glob/Makefile.in: Remove config.h and config.log.
  8058. Sun Jan 15 06:56:47 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8059. * posix/glob/configure.in: Add AC_CONST check.
  8060. * conf/portability.h: #undef sun.
  8061. * resolv/res_query.c: Updated from BIND-4.9.3-BETA17.
  8062. * resolv/getnetnamadr.c: Likewise.
  8063. * socket/Makefile (headers): Add sockaddrcom.h.
  8064. * inet/netinet/in.h: Include <sockaddrcom.h>.
  8065. (struct sockaddr_in): Use the __SOCKADDR_COMMON macro.
  8066. * socket/sys/un.h (struct sockaddr_in): Likewise.
  8067. * socket/sys/socket.h (struct sockaddr): Likewise.
  8068. * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: New file.
  8069. * sysdeps/generic/sockaddrcom.h: New file.
  8070. * sysdeps/unix/sysv/sysv4/ftruncate.c: New file.
  8071. * sysdeps/unix/common/fcntlbits.h [__USE_SVID] (F_ALLOCSP,
  8072. F_FREESP): New macros.
  8073. * sysdeps/posix/truncate.c: New file.
  8074. * malloc/malloc.c (malloc): Fix typos in RMS's change.
  8075. * malloc/Makefile (dist-routines): Add malloc-find.
  8076. * malloc/malloc.h (malloc_find_object_address): Declare it.
  8077. * malloc/malloc-find.c: New file.
  8078. * malloc/malloc.h (__malloc_ptrdiff_t): New macro, defined a la
  8079. __malloc_size_t.
  8080. (malloc_info): Use that type for member `busy.info.size'.
  8081. * stdlib/strtol.c: Change uses of `long' keyword throughout to use
  8082. `LONG' macro.
  8083. [! QUAD] (LONG): Define as long.
  8084. [QUAD] (LONG): Define as long long.
  8085. [QUAD] (LONG_MIN, LONG_MAX, ULONG_MAX): Redefine to long long
  8086. versions.
  8087. [QUAD] (strtoul, strtol): Define to strtouq, strtoq.
  8088. * stdlib/Makefile (routines): Add strtoq and strtouq.
  8089. * stdlib/strtoq.c, stdlib/strtouq.c: New files.
  8090. * stdlib/stdlib.h [__GNUC__ && __USE_BSD] (strtoq, strtouq):
  8091. Declare them.
  8092. * stdio/vfprintf.c: If there was a precision specified, ignore the
  8093. 0 flag and always pad with spaces.
  8094. * stdio/vfprintf.c: Don't use strchr to skip text until next %.
  8095. Use a loop and also stop on first !isascii char.
  8096. Wed Jan 11 00:07:10 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
  8097. * malloc/malloc.h (malloc_info): Change usage of .busy.info.size.
  8098. * malloc/malloc.c (malloc): For a multi-block object, store a
  8099. negative number into the busy.info.size of all but the first block.
  8100. Tue Jan 10 13:45:20 1995 Brendan Kehoe <brendan@zen.org>
  8101. * sysdeps/unix/bsd/ultrix4/mips/start.S: Use s0, s1, and s2
  8102. instead of t0, t1, and t2.
  8103. Tue Jan 10 05:53:50 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8104. * malloc/memalign.c (__memalign_hook): New variable.
  8105. (memalign): Call it if set.
  8106. * malloc/malloc.h (__memalign_hook): Declare new variable.
  8107. Wed Dec 28 03:27:21 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8108. * conf/portability.h: Include string.h and stdlib.h.
  8109. * inet/netdb.h (NETDB_INTERNAL, NETDB_SUCCESS): New macros.
  8110. * resolv/resolv.h, resolv/arpa/nameser.h, resolv/gethnamaddr.c,
  8111. resolv/getnetbyname.c, resolv/getnetent.c, resolv/herror.c,
  8112. resolv/res_mkquery.c, resolv/res_send.c, resolv/res_comp.c,
  8113. resolv/res_debug.c, resolv/res_init.c: Updated from BIND 4.9.3-BETA14.
  8114. * sysdeps/m68k/fpu/__math.h (__m81_inline): New macro. Replace
  8115. all uses of `extern __inline' with `__m81_inline'.
  8116. * sysdeps/unix/bsd/hp/m68k/__vfork.S: Use subl, not decl.
  8117. * sysdeps/unix/__fork.S: Swap args in subl.
  8118. * posix/sys/types.h [__USE_MISC] (ushort, uint): New typedefs, for
  8119. compatibility.
  8120. Tue Dec 20 13:33:20 1994 Michael I Bushnell <mib@geech.gnu.ai.mit.edu>
  8121. * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
  8122. of swtch.
  8123. * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
  8124. * mach/spin-solid.c (__spin_lock_solid): Likewise.
  8125. Thu Dec 15 12:01:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8126. * inet/rcmd.c (iruserok): Use alloca instead of fixed-size buffer
  8127. for PBUF.
  8128. (__ivaliduser): Use getline instead of fgets with fixed-size buffer.
  8129. * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
  8130. Wed Dec 14 18:20:56 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8131. * sysdeps/alpha/bsd-setjmp.S: Reverse register and immediate args
  8132. in `bis' insn; immediate must be second.
  8133. * sysdeps/unix/__fork.S: Use subl instead of decl.
  8134. * sysdeps/unix/i386/__fork.S: New file.
  8135. * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
  8136. Remove A macro; just use `asm volatile' with proper quotes in each
  8137. line.
  8138. * sysdeps/mach/alpha/sysdep.h (CALL_WITH_SP): Put parens around
  8139. jmp target register.
  8140. * time/africa, time/asia, time/australasia, time/emkdir.c,
  8141. time/europe, time/ialloc.c, time/northamerica, time/private.h,
  8142. time/scheck.c, time/yearistype, time/zdump.c, time/zic.c: New code
  8143. and data from ADO 94h distribution.
  8144. * sysdeps/sparc/setjmp.S: Use sethi and or to put address of
  8145. __sigjmp_save in %g1 and jmp there. jmp cannot contain a complete
  8146. absolute pointer. Put second store in jmp delay slot.
  8147. Tue Dec 13 15:47:52 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
  8148. * sysdeps/sparc/bsd-_setjmp.S: Use sethi and or to put address of
  8149. __sigsetjmp in %g1 and jmp there. jmp cannot contain a complete
  8150. absolute pointer.
  8151. * sysdeps/sparc/bsd-setjmp.S: Likewise.
  8152. * configure.in: Use ; before } in { ... } exprs.
  8153. See ChangeLog.4 for earlier changes.