ChangeLog.13 515 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829
  1. 2002-10-03 Richard Henderson <rth@redhat.com>
  2. * sysdeps/alpha/stxncpy.S: Don't access memory beyond the source
  3. buffer.
  4. * sysdeps/alpha/alphaev6/stxncpy.S: Likewise.
  5. 2002-10-02 Andreas Jaeger <aj@suse.de>
  6. Guido Guenther <agx@sigxcpu.org>
  7. * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
  8. * sysdeps/mips/fpu/fesetenv.c: Likewise.
  9. 2002-10-03 Jakub Jelinek <jakub@redhat.com>
  10. * sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h.
  11. (struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64.
  12. * sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h.
  13. * sysdeps/unix/sysv/linux/alpha/net/route.h: Remove.
  14. * sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h.
  15. * sysdeps/unix/sysv/linux/ia64/net/route.h: Remove.
  16. * sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h.
  17. * sysdeps/unix/sysv/linux/s390/net/route.h: Remove.
  18. 2002-10-03 Ulrich Drepper <drepper@redhat.com>
  19. * libio/freopen.c: Don't re-set _wide_data element if the stream
  20. is of old style which didn't have the element.
  21. * libio/freopen64.c: Likewise.
  22. 2002-10-02 Ulrich Drepper <drepper@redhat.com>
  23. * sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h.
  24. * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
  25. * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
  26. * sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals.
  27. * sysdeps/sh/elf/initfini.c: Likewise.
  28. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  29. * sysdeps/hppa/elf/initfini.c: Likewise.
  30. * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.
  31. 2002-10-02 Steven Munroe <sjmunroe@us.ibm.com>
  32. Jakub Jelinek <jakub@redhat.com>
  33. * login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields
  34. to struct timeval temp_tv before printing to be 32-/64-bit agnostic.
  35. * sysdeps/powerpc/bits/wordsize.h: Move to...
  36. * sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here.
  37. (__WORDSIZE_COMPAT32): Define.
  38. * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
  39. * sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
  40. Define.
  41. * sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32):
  42. Define.
  43. * sysdeps/s390/bits/wordsize.h: Move to...
  44. * sysdeps/s390/s390-32/bits/wordsize.h: ...here.
  45. * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
  46. * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define.
  47. * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file.
  48. * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file.
  49. * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file.
  50. * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file.
  51. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file.
  52. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.
  53. 2002-10-02 Jakub Jelinek <jakub@redhat.com>
  54. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo.
  55. Temporarily enable R_ALPHA_NONE relocs in ld.so.
  56. * sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable
  57. R_IA64_NONE relocs in ld.so.
  58. 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>
  59. * README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
  60. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
  61. Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
  62. so they are consistent between PPC32 and PPC64.
  63. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
  64. (_STAT_VER): Define to _STAT_VER_KERNEL.
  65. (stru stat, struct stat64): Define to match the PPC64 kernel.
  66. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
  67. (libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
  68. * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
  69. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
  70. * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
  71. * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
  72. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.
  73. 2002-10-02 Roland McGrath <roland@redhat.com>
  74. * sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
  75. Conditionalize the function definitions on this.
  76. * sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
  77. Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
  78. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
  79. Likewise.
  80. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
  81. Likewise.
  82. 2002-10-02 Ulrich Drepper <drepper@redhat.com>
  83. * version.h (VERSION): Bump to 2.3.
  84. * elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c,
  85. tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c,
  86. circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c,
  87. and nodlopenmod2.c.
  88. * login/Makefile (distribute): Add utmp-equal.h.
  89. * iconvdata/Makefile (distribute): Add TSCII.precomposed and
  90. TSCII.irreversible.
  91. * Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files.
  92. Also distribute xtests sources.
  93. 2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  94. * elf/elf.h: Change TLS ELF relocation numbers.
  95. * elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD
  96. macros.
  97. * sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]:
  98. Use addend.
  99. * sysdeps/sh/elf/initfini.c: Move __fpscr_values to...
  100. * sysdeps/sh/elf/start.S: ...here.
  101. 2002-10-01 Jakub Jelinek <jakub@redhat.com>
  102. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ,
  103. SIGSTKSZ): Changed to match kernel.
  104. * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.
  105. 2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
  106. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
  107. [__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
  108. [__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
  109. DN_ATTRIB, DN_MULTISHOT): New macros.
  110. 2002-02-08 Randolph Chung <tausq@debian.org>
  111. * sysdeps/hppa/elf/start.S: Define __data_start.
  112. 2002-10-01 Isamu Hasegawa <isamu@yamato.ibm.com>
  113. * posix/regex_internal.c (re_string_reconstruct): Reset the member
  114. LEN and STOP.
  115. * posix/regexec.c (re_search_stub): Remove incorrect condition of
  116. "range < 0".
  117. Round RANGE in case that it is too small.
  118. 2002-10-01 Roland McGrath <roland@frob.com>
  119. * config.h.in (NO_HIDDEN): New #undef.
  120. * include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
  121. nonempty definitions of hidden_proto et al.
  122. * configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
  123. * configure: Regenerated.
  124. * sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
  125. * sysdeps/mach/hurd/configure: Regenerated.
  126. 2002-09-19 David Mosberger <davidm@hpl.hp.com>
  127. * sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via
  128. a 64-bit gp-relative address to enable binaries with large data
  129. sections.
  130. 2002-09-30 Ulrich Drepper <drepper@redhat.com>
  131. * stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK
  132. if it is defined.
  133. * posix/Makefile (distribute): Add fork.h.
  134. * sysdeps/generic/fork.h: New file.
  135. 2002-09-29 Bruno Haible <bruno@clisp.org>
  136. * sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro.
  137. (UNLOCK_FILE): Add a label.
  138. (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
  139. updwtmp_file): Shut off the alarm clock when locking failed.
  140. 2002-09-30 Isamu Hasegawa <isamu@yamato.ibm.com>
  141. * posix/regex_internal.h (re_match_context_t): Add a new member.
  142. (re_fail_stack_ent_t): New structure.
  143. (re_fail_stack_t): Likewise.
  144. * posix/regexec.c (re_search_internal): Use the new member of
  145. re_match_context_t.
  146. Use fail stack only if it has back references and there are plural
  147. matching candidates.
  148. (proceed_next_node): Use fail stack if it is indicated.
  149. (set_regs): Likewise.
  150. (push_fail_stack): New function.
  151. (pop_fail_stack): New function.
  152. (check_dst_limits): Likewise.
  153. (check_dst_limits_calc_pos): Likewise.
  154. (search_subexp): Check the limitations on the top of subexpressions.
  155. (sift_states_bkref): Check the limitations of the destination node.
  156. Reuse the array sctx->sifted_states.
  157. 2002-09-30 Ulrich Drepper <drepper@redhat.com>
  158. * stdio-common/printf_fp.c: Shuffle a few lines around to help the
  159. compiler optimizing. No semantical changes intended.
  160. 2002-09-30 Jakub Jelinek <jakub@redhat.com>
  161. * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits
  162. from the next quad are needed.
  163. 2002-09-30 Roland McGrath <roland@redhat.com>
  164. * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.
  165. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]:
  166. Use direct-%fs form of TLS access for errno.
  167. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since
  168. the i386 version has all the same asm now.
  169. * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to
  170. the TLS support check.
  171. * sysdeps/i386/elf/configure: Regenerated.
  172. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
  173. (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
  174. * sysdeps/unix/i386/sysdep.S (syscall_error)
  175. [USE_TLS && HAVE___THREAD]: Use TLS access for errno.
  176. * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  177. [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
  178. * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
  179. terminal when the test is running in a background job. Instead, make
  180. a pipe and read from its read half while never writing anything to it.
  181. 2002-09-30 Andreas Jaeger <aj@suse.de>
  182. * stdlib/tst-bsearch.c (main): Fix format strings.
  183. * stdio-common/tst-rndseek.c (do_test): Likewise.
  184. * libio/tst_swprintf.c (main): Likewise.
  185. * catgets/tst-catgets.c (main): Likewise.
  186. * libio/tst-fgetws.c (main): Likewise.
  187. * posix/tst-mmap.c (main): Likewise.
  188. * posix/bug-regex12.c (main): Likewise.
  189. * posix/bug-regex11.c (main): Likewise.
  190. * io/tst-getcwd.c (do_test): Likewise.
  191. * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.
  192. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  193. Store 4 bytes into errno, not 8 bytes.
  194. 2002-09-29 Ulrich Drepper <drepper@redhat.com>
  195. * posix/regexec.c (sift_states_bkref): Remove ret variable. Use
  196. err instead.
  197. 2002-09-29 Roland McGrath <roland@redhat.com>
  198. * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
  199. Examine the child's status and print something different if it wasn't
  200. just killed by our SIGKILL.
  201. (main): In the child process call setpgid to put it in its own pgrp.
  202. 2002-09-29 Ulrich Drepper <drepper@redhat.com>
  203. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value
  204. semantics for sigtimedwait is different. Rework the return value
  205. handling and don't pass in a siginfo variable.
  206. 2002-09-29 Roland McGrath <roland@redhat.com>
  207. * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.
  208. * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
  209. * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
  210. Define errno in .tbss.
  211. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
  212. access for setting errno.
  213. * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
  214. AFAICT, it was just blind luck that the word following errno in .bss
  215. was just alignment padding and not some other variable to be clobbered.
  216. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
  217. * sysdeps/unix/sysv/linux/kernel-features.h
  218. (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty.
  219. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
  220. * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't
  221. exist.
  222. 2002-09-29 Ulrich Drepper <drepper@redhat.com>
  223. * nss/Makefile: Move bug-erange from tests to xtests.
  224. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
  225. * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
  226. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
  227. * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm
  228. volatile.
  229. (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
  230. inline_syscall5, inline_syscall6): Likewise.
  231. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  232. Likewise.
  233. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL):
  234. Likewise.
  235. 2002-09-29 Roland McGrath <roland@redhat.com>
  236. * configure.in (libc_cv_ranlib_necessary check): Put the .o file in
  237. the archive, not the .c file.
  238. * configure: Regenerated.
  239. 2002-09-29 Roland McGrath <roland@redhat.com>
  240. * configure: Regenerated after aclocal.m4 change.
  241. * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
  242. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.
  243. * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP):
  244. Define it, because _dl_sym presumes it (for any platform).
  245. * sysdeps/x86_64/dl-tls.h: New file.
  246. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast.
  247. * sysdeps/x86_64/elf/configure.in: New file.
  248. * sysdeps/x86_64/elf/configure: New generated file.
  249. 2002-09-28 Roland McGrath <roland@redhat.com>
  250. * elf/rtld.c (_dl_start): Fix conditional for declaring CNT.
  251. * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
  252. before we check it.
  253. 2002-09-28 Ulrich Drepper <drepper@redhat.com>
  254. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit
  255. entry point.
  256. 2002-09-28 Jakub Jelinek <jakub@redhat.com>
  257. * posix/bug-regex11.c (tests): Add flags field.
  258. (main): Avoid warnings. Use test[i].flags. Return nonzero
  259. if any of the tests failed.
  260. * posix/bug-regex12.c: New file.
  261. * posix/Makefile (tests): Add bug-regex12.
  262. 2002-03-02 Thorsten Kukuk <kukuk@suse.de>
  263. * sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
  264. 2002-09-28 Jeff Bailey <jbailey@gnu.org>
  265. * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete.
  266. * sysdeps/unix/sysv/aix/configure.in: Update comment and remove
  267. stdio=libio setting.
  268. 2002-09-28 Roland McGrath <roland@redhat.com>
  269. * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
  270. _dl_signal_error.
  271. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
  272. * sysdeps/powerpc/powerpc64/dl-machine.c
  273. (_dl_reloc_overflow): Likewise.
  274. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
  275. (elf_machine_rela): Likewise.
  276. 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>
  277. * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace
  278. ASM_GLOBAL_DIRECTIVE with .weak.
  279. 2002-09-28 Andreas Jaeger <aj@suse.de>
  280. * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): Fix
  281. number of args to syscall.
  282. * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise.
  283. Patch by Guido Guenther <agx@sigxcpu.org>.
  284. 2002-09-27 Roland McGrath <roland@redhat.com>
  285. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite):
  286. Define these to __NR_pread64, __NR_pwrite64 if not defined.
  287. * sysdeps/unix/sysv/linux/powerpc/lchown.S
  288. [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition
  289. on chown compatibility symbol; use compat_symbol, not symbol_version.
  290. 2002-09-27 Isamu Hasegawa <isamu@yamato.ibm.com>
  291. * posix/regcomp.c (reg_free): Free the debug area.
  292. (re_compile_internal): Allocate debug area for the input string.
  293. (create_initial_state): Check the back references in initial states
  294. if they are really match null string in the initial state.
  295. (parse_reg_exp): Mark the dfa that the dfa can have plural matchings.
  296. (parse_expression): Likewise.
  297. (parse_bracket_exp): Likewise.
  298. * posix/regex_internal.c (re_node_set_intersect): Remove unused
  299. function.
  300. (re_node_set_contains): Change to return the index of node.
  301. * posix/regex_internal.h (re_backref_cache_entry): Change the members.
  302. (re_match_context_t): Likewise.
  303. (struct re_dfa_t): Likewise.
  304. (re_sift_context_t): New structure.
  305. * posix/regexec.c (match_ctx_clear_flag): New function.
  306. (sift_ctx_init): Likewise.
  307. (update_cur_sifted_state): Likewise.
  308. (add_epsilon_src_nodes): Likewise.
  309. (sub_epsilon_src_nodes): Likewise.
  310. (check_subexp_limits): Likewise.
  311. (search_subexp): Likewise.
  312. (sift_states_bkref): Likewise.
  313. (merge_state_array): Likewise.
  314. (sift_states_iter_bkref): Remove unused function.
  315. (add_epsilon_backreference): Remove unused function.
  316. (re_search_internal): Adapt new members and interfaces.
  317. (check_matching): Check the back references in initial states
  318. if they are really match null string in the initial state.
  319. (proceed_next_node): Change the evaluation of back references,
  320. since we have real registers here.
  321. (set_regs): Adapt new interface of proceed_next_node.
  322. (sift_states_backward): Add invocation of update_cur_sifted_state
  323. instead of add_epsilon_backreference.
  324. Add a sentinel to the outermost while loop.
  325. Move the handling of back references to sift_states_bkref function,
  326. since we can't handle some back references (e.g. a back reference
  327. which match NULL string) here.
  328. (transit_state_mb): Handle the new member max_mb_elem_len.
  329. (transit_state_bkref_loop): Move the evaluation of back references to
  330. search_subexp function, since we can't evaluate some back references
  331. (e.g. a back reference which can have plural matchings) here.
  332. (match_ctx_init): Adapt the new member.
  333. (match_ctx_add_entry): Adapt the new members.
  334. 2002-09-25 Alan Modra <amodra@bigpond.net.au>
  335. * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for
  336. 'elf_machine_rel_relative'
  337. (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro
  338. instead of 'elf_machine_rel_relative'.
  339. * sysdeps/hppa/dl-machine.h:
  340. Define macro DO_ELF_MACHINE_REL_RELATIVE for
  341. 'elf_machine_rel_relative' with extra map parameter
  342. required by HPPA.
  343. (elf_machine_rela_relative): Add plt relocation changes.
  344. 2001-11-14 Matthew Wilcox <willy@debian.org>
  345. * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file.
  346. * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file.
  347. * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file.
  348. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file.
  349. 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>
  350. * sysdeps/powerpc/powerpc32/Makefile: Fix typo in comment.
  351. * sysdeps/powerpc/powerpc64/Makefile
  352. [$(build-shared) = yes] (pic-ccflag): Define it.
  353. [$(subdir) = csu] (CFLAGS-initfini.s): Add -fpic here too.
  354. 2002-09-27 Roland McGrath <roland@redhat.com>
  355. * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Remove
  356. unneeded TLS cases.
  357. 2002-09-27 Jakub Jelinek <jakub@redhat.com>
  358. * elf/dl-addr.c (_dl_addr): Set dli_fbase to l_map_start
  359. unconditionally. Set dli_fname to _dl_argv[0] only for main program.
  360. 2002-09-27 Roland McGrath <roland@redhat.com>
  361. * elf/dl-addr.c (_dl_addr): Add a cast.
  362. * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [USE_TLS]: Handle new
  363. TLS relocs R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, and R_X86_64_TPOFF64.
  364. * elf/elf.h (R_X86_64_DTPMOD64, R_X86_64_DTPOFF64, R_X86_64_TPOFF64,
  365. R_X86_64_TLSGD, R_X86_64_TLSLD, R_X86_64_DTPOFF32,
  366. R_x86_64_GOTTPOFF, R_X86_64_TPOFF32): New macros.
  367. (R_X86_64_NUM): Update the value.
  368. 2002-09-24 Jakub Jelinek <jakub@redhat.com>
  369. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address): Don't
  370. rely on *r_offset of R_SPARC_RELATIVE reloc in .got to contain the
  371. addend.
  372. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Use
  373. the same l_addr computation.
  374. * sysdeps/sparc/sparc64/configure.in: Removed.
  375. * sysdeps/sparc/sparc64/configure: Removed.
  376. * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Remove.
  377. 2002-09-26 Ulrich Drepper <drepper@redhat.com>
  378. * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_HASH entry
  379. if necessary.
  380. * elf/dl-lookup.c (_dl_setup_hash): DT_HASH entry is already relocated.
  381. * elf/dl-addr.c (_dl_addr): Use .hash[1] entry to determine end of the
  382. symbol table if necessary.
  383. 2002-09-26 Roland McGrath <roland@redhat.com>
  384. * stdlib/longlong.h: Replaced with current version from GCC mainline,
  385. last modified 2002-09-22 Kazu Hirata <kazu@cs.umass.edu>.
  386. 2002-09-25 Andreas Jaeger <aj@suse.de>
  387. * sysdeps/unix/sysv/linux/mips/syscalls.list: Add syscall_exit.
  388. Patch by Guido Guenther <agx@sigxcpu.org>.
  389. 2002-09-25 Roland McGrath <roland@redhat.com>
  390. * Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).
  391. 2002-09-24 Ulrich Drepper <drepper@redhat.com>
  392. * sysdeps/unix/sysv/linux/configure.in: Recognize nptl add-on name.
  393. 2002-09-24 Roland McGrath <roland@redhat.com>
  394. * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Move __libc_read,
  395. __libc_write, __libc_lseek64, to ...
  396. (ld: GLIBC_PRIVATE): ... here.
  397. * csu/Versions: Use %include <tls.h> to get USE_TLS defined.
  398. (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno.
  399. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead.
  400. * resolv/Versions: Use %include <tls.h> to get USE_TLS defined.
  401. (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno,
  402. and _res.
  403. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here.
  404. * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
  405. New macros for x86-64.
  406. * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
  407. It was indentical to the linux/bits/time.h file.
  408. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning.
  409. * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.
  410. 2002-09-23 Ulrich Drepper <drepper@redhat.com>
  411. * po/zh_CN.po: New file.
  412. 2002-09-23 Roland McGrath <roland@redhat.com>
  413. * posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K]
  414. for gethostname declaration.
  415. * catgets/open_catalog.c (__open_catalog): Don't use a value type
  416. as the __builtin_expect expression, just the Boolean value.
  417. * sysdeps/generic/wordexp.c (parse_glob): int -> size_t for counter.
  418. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
  419. * resolv/res_hconf.c (arg_service_list, parse_line): Likewise.
  420. * iconvdata/tst-loading.c (main): Likewise.
  421. * catgets/tst-catgets.c (main): Likewise.
  422. * stdlib/tst-xpg-basename.c (main): Likewise.
  423. * stdlib/tst-bsearch.c (main): Likewise.
  424. * stdio-common/test-vfprintf.c (main): Likewise.
  425. * stdio-common/tst-rndseek.c (do_test): Likewise.
  426. * libio/tst_swprintf.c (main): Likewise.
  427. * libio/tst-fgetws.c (main): Likewise.
  428. * wcsmbs/tst-mbrtowc.c (check_ascii): Likewise.
  429. * time/tst-posixtz.c (main): Likewise.
  430. * time/tst-strptime.c (test_tm): Likewise.
  431. * time/tst-strptime.c (main): Likewise.
  432. * time/tst-getdate.c (main): Likewise.
  433. * posix/tst-mmap.c (main): Likewise.
  434. * posix/tst-getaddrinfo.c (do_test): Likewise.
  435. * io/tst-getcwd.c (do_test): Likewise.
  436. * resolv/tst-aton.c (main): Likewise.
  437. * inet/tst-network.c (main): Likewise.
  438. * libio/tst-fgetws.c (main): Likewise.
  439. * sysdeps/posix/sprofil.c (add_region): int -> unsigned int for I.
  440. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): int -> unsigned int
  441. for PTYNO.
  442. * stdlib/msort.c (qsort): Add a cast to silence warning.
  443. * stdio-common/vfprintf.c (process_string_arg): Likewise.
  444. * libio/oldfileops.c (_IO_old_do_write): Likewise.
  445. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Likewise.
  446. * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
  447. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
  448. * argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.
  449. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  450. * sysdeps/unix/grantpt.c (grantpt): Likewise.
  451. * libio/tst-widetext.c (main): Likewise.
  452. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
  453. * rt/tst-aio.c (test_file): Likewise.
  454. * rt/tst-aio64.c (test_file): Likewise.
  455. * resolv/tst-aton.c (main): Likewise.
  456. * catgets/catgetsinfo.h (CATGETS_MAGIC): Use U suffix on the constant.
  457. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Cast to int32_t
  458. instead of uint32_t in these macros.
  459. 2002-09-22 Bruno Haible <bruno@clisp.org>
  460. * iconv/iconv_prog.c (main): Provide an error message that identifies
  461. the wrong encoding.
  462. * iconvdata/tscii.c: New file.
  463. * iconvdata/testdata/TSCII: New file.
  464. * iconvdata/testdata/TSCII..UTF8: New file.
  465. * iconvdata/TSCII.precomposed: New file.
  466. * iconvdata/TSCII.irreversible: New file.
  467. * iconvdata/gconv-modules (TSCII): New module.
  468. * iconvdata/Makefile (modules): Add TSCII.
  469. (distribute): Add tscii.c.
  470. * iconvdata/tst-table-from.c (try, utf8_decode, main): Double output
  471. buffer size.
  472. * iconvdata/tst-tables.sh: Add TSCII.
  473. * iconvdata/TESTS: Add TSCII.
  474. Revert 2002-04-18 patch.
  475. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  476. FROM_DIRECTION): Make the FROM direction stateful again.
  477. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  478. FROM_DIRECTION): Likewise.
  479. * iconvdata/tst-e2big.c: New file.
  480. * iconvdata/Makefile (tests): Add tst-e2big.
  481. 2002-09-23 Roland McGrath <roland@redhat.com>
  482. * elf/Makefile (test-extras): Define this instead of test-srcs.
  483. * Makerules (all-nonlib): Include $(test-extras) too.
  484. 2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca>
  485. * sysdeps/hppa/abort-instr.h: New file.
  486. 2002-09-22 Roland McGrath <roland@frob.com>
  487. * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Remove duplicate entry.
  488. * sysdeps/mach/hurd/dl-sysdep.c (_exit): Add alias __GI__exit.
  489. 2002-09-22 Andreas Schwab <schwab@suse.de>
  490. * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Append, not overwrite.
  491. * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal)
  492. (isless, islessequal, islessgreater, isunordered) [GCC >= 3.1]:
  493. Use GCC builtins.
  494. 2002-09-21 Roland McGrath <roland@redhat.com>
  495. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_PLATFORM):
  496. Correct the value so it covers all platforms, and is computed
  497. from _DL_PLATFORMS_COUNT rather than hard-wired.
  498. From Andrew Suffield <asuffield@debian.org>.
  499. 2002-09-20 Ulrich Drepper <drepper@redhat.com>
  500. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Avoid
  501. locking when using mount tab file.
  502. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
  503. * sysdeps/unix/sysv/linux/statvfs.c: Include <stdio_ext.h>.
  504. * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
  505. * elf/dl-init.c (_dl_init): Fix test of the size of the
  506. preinit_array section.
  507. (call_init): Optimize access to DT_INIT_ARRAY entry a bit.
  508. Reported by Brian Cabral <cabral@ikuni.com>.
  509. 2002-09-20 Steven Munroe <sjmunroe@us.ibm.com>
  510. * sysdeps/powerpc/sysdep.h: Remove powerpc32 specific macros.
  511. * sysdeps/powerpc/powerpc32/sysdep.h: New file. Define powerpc32
  512. specific macros copied from sysdeps/powerpc/sysdep.h.
  513. * sysdeps/powerpc/powerpc64/sysdep.h: New file. Define powerpc64
  514. specific macros.
  515. * sysdeps/unix/powerpc/sysdep.h: Include <bits/wordsize.h>.
  516. [__WORDSIZE==64]: Include sysdeps/powerpc/powerpc64/sysdep.h.
  517. [!__WORDSIZE==64]: Include sysdeps/powerpc/powerpc32/sysdep.h.
  518. 2002-09-19 Bruno Haible <bruno@clisp.org>
  519. * intl/dcigettext.c (DCIGETTEXT): Restore errno only right before
  520. returning.
  521. 2002-09-17 Bruno Haible <bruno@clisp.org>
  522. * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c.
  523. * sysdeps/generic/utmp_file.c (setutent_file): Invalidate last_entry
  524. also on platforms with !HAVE_UT_TYPE.
  525. (proc_utmp_eq): Remove function.
  526. (internal_getut_r, pututline_file): Call __utmp_equal instead.
  527. 2002-09-20 Bruno Haible <bruno@clisp.org>
  528. * abi-tags: Add support for FreeBSD with ABI OS value 3.
  529. * elf/cache.c (print_entry): Support the GNU/FreeBSD ABI tag.
  530. 2002-09-20 Roland McGrath <roland@redhat.com>
  531. * sysdeps/generic/gmp-mparam.h: Include <bits/wordsize.h>.
  532. (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in
  533. terms of __WORDSIZE.
  534. * sysdeps/x86_64/gmp-mparam.h: File removed.
  535. * sysdeps/sparc/gmp-mparam.h: File removed.
  536. * sysdeps/mips/mips64/gmp-mparam.h: File removed.
  537. * sysdeps/ia64/gmp-mparam.h: File removed.
  538. * sysdeps/alpha/gmp-mparam.h: File removed.
  539. 2002-09-20 Steven Munroe <sjmunroe@us.ibm.com>
  540. * sysdeps/powerpc/elf/libc-start.c: Use long in place of int for argc
  541. load, so as to work on both 32-bit and 64-bit. Remove unnecessary
  542. casts. Align __libc_stack_end to 8 bytes.
  543. 2002-09-20 Roland McGrath <roland@redhat.com>
  544. * sysdeps/powerpc/fpu/s_lrint.c: Use strong_alias/weak_alias macros
  545. instead of asm for lrintf, __lrintf aliases.
  546. * sysdeps/powerpc/fpu/s_lrint.c (__lrint): Change union long array to
  547. int array for 32-/64-bit compatibility.
  548. From Steven Munroe <sjmunroe@us.ibm.com>.
  549. 2002-09-17 Bruno Haible <bruno@clisp.org>
  550. * sysdeps/generic/ifreq.h (__if_nextreq): New function.
  551. * sysdeps/unix/sysv/linux/ifreq.h (__if_nextreq): New function.
  552. * sysdeps/mach/hurd/ifreq.h (__if_nextreq): New function.
  553. * sysdeps/gnu/ifaddrs.c (getifaddrs): Use __if_nextreq
  554. for iterating through the list of interfaces.
  555. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Likewise.
  556. 2002-09-20 Roland McGrath <roland@redhat.com>
  557. * sysdeps/unix/grantpt.c (pts_name): Set errno when __ptsname_r fails.
  558. Reported by Bruno Haible <bruno@clisp.org>.
  559. * sysdeps/unix/bsd/bsd4.4/isatty.c: New file.
  560. * sysdeps/unix/bsd/isatty.c (__isatty): Don't save and restore errno.
  561. * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Return errno value from
  562. isatty unmodified. Reported by Bruno Haible <bruno@clisp.org>.
  563. 2002-09-20 Steven Munroe <sjmunroe@us.ibm.com>
  564. * sysdeps/powerpc/bits/setjmp.h [__WORDSIZE]: Add 64-bit jmpbuf.
  565. * sysdeps/powerpc/bits/wordsize.h: New file.
  566. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Change long
  567. array to int array for 32-/64-bit compatibility.
  568. 2002-09-20 Roland McGrath <roland@redhat.com>
  569. * login/programs/utmpdump.c: Don't include <error.h>, <errno.h>.
  570. * sysdeps/generic/utimes.c (__utimes): Don't check TVP for null.
  571. Reported by Bruno Haible <bruno@clisp.org>.
  572. * sysdeps/generic/ifreq.h (__ifreq): Compute termination condition
  573. before doubling RQ_LEN.
  574. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
  575. Reported by Bruno Haible <bruno@clisp.org>.
  576. 2002-09-18 Bruno Haible <bruno@clisp.org>
  577. * login/logout.c (logout): Don't assume ut_time has the same size as
  578. a time_t.
  579. * login/logwtmp.c (logwtmp): Likewise.
  580. * sysdeps/pthread/configure: New file, moved here from
  581. linuxthreads/sysdeps/unix/sysv/linux/configure.
  582. 2002-09-19 Ulrich Drepper <drepper@redhat.com>
  583. * sysdeps/unix/sysv/linux/_exit.c: Include <errno.h>.
  584. (_exit): Don't use ABORT_INSTRUCTION if it is not defined.
  585. Reported by Glen Nakamura <glen@imodulo.com>.
  586. 2002-09-19 Neal H. Walfield <neal@cs.uml.edu>
  587. * sysdeps/mach/hurd/fork.c (__fork): Do not free the signal
  588. thread's sigstate data structure if it has been allocated.
  589. 2002-09-19 Roland McGrath <roland@redhat.com>
  590. * include/libc-symbols.h [HAVE_ASM_SET_DIRECTIVE]
  591. [! HAVE_ASM_GLOBAL_DOT_NAME] (__hidden_dot_def1): Fix typo'd name.
  592. 2002-09-18 Ulrich Drepper <drepper@redhat.com>
  593. * version.h (VERSION): Bump to 2.2.94.
  594. * sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to...
  595. * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file.
  596. * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to...
  597. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
  598. * sysdeps/i386/Makefile: Remove obsolete db2 rules.
  599. * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S.
  600. * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh.
  601. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file.
  602. 2002-09-19 Jakub Jelinek <jakub@redhat.com>
  603. * sysdeps/wordsize-32/Makefile: New file.
  604. * sysdeps/arm/Makefile: Removed.
  605. * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines):
  606. Don't add divdi3 here.
  607. * sysdeps/m68k/Makefile: Likewise.
  608. * sysdeps/powerpc/powerpc32/Makefile: Likewise.
  609. * sysdeps/sh/Makefile: Likewise.
  610. * sysdeps/s390/s390-32/Makefile: Likewise.
  611. 2002-09-18 Roland McGrath <roland@redhat.com>
  612. * locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for
  613. the __ctype_* compat symbols, so the relocs generated bind to the
  614. right versioned global symbol in the shared object.
  615. * elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag)
  616. from the value taken from the DT_VERSYM table.
  617. * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
  618. * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise.
  619. (RESOLVE_GOTSYM): Likewise.
  620. * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
  621. Add libc_hidden_def.
  622. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
  623. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  624. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
  625. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  626. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
  627. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
  628. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
  629. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
  630. 2002-09-18 Ulrich Drepper <drepper@redhat.com>
  631. * include/signal.h: Add libc_hidden_proto for __libc_sigaction.
  632. * sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined
  633. define sigaction and __sigaction as wrappers around
  634. __libc_sigaction which rejects changing SIGCANCEL.
  635. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  636. * sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and
  637. SETTID/CLEARTID.
  638. * signal/allocrtsig.c: Move to...
  639. * sysdeps/generic/allocrtsig.c: ...here. New file.
  640. 2002-09-17 Jakub Jelinek <jakub@redhat.com>
  641. * elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.
  642. * elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE,
  643. R_386_TLS_LE): Define.
  644. (R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update
  645. comments.
  646. * sysdeps/i386/dl-machine.h (elf_machine_type_class): Return
  647. ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF.
  648. (elf_machine_rel): Handle R_386_TLS_TPOFF.
  649. (elf_machine_rela): Likewise.
  650. Remove unnecessary RTLD_BOOTSTRAP #ifdefs.
  651. 2002-09-17 Roland McGrath <roland@redhat.com>
  652. * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define
  653. file-specific variable override so it compiles properly when using
  654. --with-headers.
  655. 2002-09-17 Steven Munroe <sjmunroe@us.ibm.com>
  656. Ported to PowerPC64 running Linux.
  657. * sysdeps/powerpc/powerpc64/Dist: New file.
  658. * sysdeps/powerpc/powerpc64/Implies: New file.
  659. * sysdeps/powerpc/powerpc64/Makefile: New file.
  660. * sysdeps/powerpc/powerpc64/__longjmp.S: New file.
  661. * sysdeps/powerpc/powerpc64/atomicity.h: New file.
  662. * sysdeps/powerpc/powerpc64/backtrace.c: New file.
  663. * sysdeps/powerpc/powerpc64/bp-asm.h: New file.
  664. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file.
  665. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file.
  666. * sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file.
  667. * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file.
  668. * sysdeps/powerpc/powerpc64/dl-machine.c: New file.
  669. * sysdeps/powerpc/powerpc64/dl-machine.h: New file.
  670. * sysdeps/powerpc/powerpc64/memset.S: New file.
  671. * sysdeps/powerpc/powerpc64/ppc-mcount.S: New file.
  672. * sysdeps/powerpc/powerpc64/register-dump.h: New file.
  673. * sysdeps/powerpc/powerpc64/setjmp.S: New file.
  674. * sysdeps/powerpc/powerpc64/stpcpy.S: New file.
  675. * sysdeps/powerpc/powerpc64/strchr.S: New file.
  676. * sysdeps/powerpc/powerpc64/strcmp.S: New file.
  677. * sysdeps/powerpc/powerpc64/strcpy.S: New file.
  678. * sysdeps/powerpc/powerpc64/strlen.S: New file.
  679. * sysdeps/powerpc/powerpc64/elf/bzero.S: New file.
  680. * sysdeps/powerpc/powerpc64/elf/start.S: New file.
  681. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file.
  682. * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file.
  683. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File.
  684. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file.
  685. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file.
  686. * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file.
  687. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file.
  688. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
  689. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.
  690. * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME]
  691. (C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for
  692. various gcc versions. Dot names required for powerpc64.
  693. [HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol.
  694. [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global
  695. C_SYMBOL_DOT_NAME(alias).
  696. [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as
  697. original strong_alias macro.
  698. [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak
  699. C_SYMBOL_DOT_NAME(alias).
  700. [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name.
  701. [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver
  702. '.'ed name.
  703. Add comments on libc_hidden_data_def and libc_hidden_data_weak usage.
  704. [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro. Generate
  705. .global C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro.
  706. (hidden_def): Append hidden_dot_def1 macro to definition.
  707. (hidden_ver): Append hidden_dot_def1 macro to definition.
  708. (hidden_data_def): New macro. Same as original hidden_def macro.
  709. (hidden_data_ver): New macro. Same as original hidden_ver macro.
  710. [HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro. Generate
  711. .weakext C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro.
  712. (hidden_weak): Append hidden_dot_weak1 macro to definition.
  713. (hidden_data_weak): New macro. Same as original hidden_weak macro.
  714. [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name.
  715. Otherwise defined as __GI_name.
  716. (libc_hidden_data_def): New macro. Use hidden_data_def.
  717. (libc_hidden_data_weak): New macro. Use hidden_data_weak.
  718. (libc_hidden_data_ver): New macro. Use hidden_data_ver.
  719. (rtld_hidden_data_def): New macro. Use hidden_data_def.
  720. (rtld_hidden_data_weak): New macro. Use hidden_data_weak.
  721. (rtld_hidden_data_ver): New macro. Use hidden_data_ver.
  722. (libm_hidden_data_def): New macro. Use hidden_data_def.
  723. (libm_hidden_data_weak): New macro. Use hidden_data_weak.
  724. (libm_hidden_data_ver): New macro. Use hidden_data_ver.
  725. * inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def.
  726. 2002-09-17 Ulrich Drepper <drepper@redhat.com>
  727. * include/libc-symbols.h: Change *hidden_proto macros to accept
  728. option parameters and pass those to the attribute definition.
  729. * include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call.
  730. * include/unistd.h: Declare __libc_pause.
  731. * include/sys/socket.h: Declare __libc_send, __libc_recv,
  732. __libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept.
  733. * include/unistd.h: Declare __libc_fork.
  734. 2002-09-17 Roland McGrath <roland@redhat.com>
  735. * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.
  736. (passwd2des): Define it as an alias.
  737. (xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des.
  738. 2002-09-12 Bruno Haible <bruno@clisp.org>
  739. * include/sys/sysctl.h (__sysctl): Add libc_hidden_proto.
  740. * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def.
  741. * include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto.
  742. * sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def.
  743. 2002-09-05 Steven Munroe <sjmunroe@us.ibm.com>
  744. * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]
  745. (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64,
  746. __ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these.
  747. PowerPC64 does not have separate 64-bit syscalls.
  748. 2002-09-16 Roland McGrath <roland@redhat.com>
  749. * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.
  750. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  751. New macro.
  752. * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case.
  753. * include/unistd.h: Uncomment libc_hidden_proto for _exit.
  754. * sysdeps/mach/hurd/_exit.c: Add libc_hidden_def.
  755. * sysdeps/generic/_exit.c: Likewise.
  756. 2002-09-12 Jakub Jelinek <jakub@redhat.com>
  757. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.
  758. * elf/rtld.c (struct dl_start_final_info): New.
  759. (_dl_start_final): Change second argument to struct
  760. dl_start_final_info *. Set start_time from info.
  761. (_dl_start): Remove bootstrap_map variable, add info.
  762. Define bootstrap_map as macro. If not DONT_USE_BOOTSTRAP_MAP,
  763. store HP_TIMING_NOW result into info.start_time.
  764. 2002-09-16 Andreas Jaeger <aj@suse.de>
  765. * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
  766. to _Exit.
  767. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
  768. 2002-09-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  769. * sysdeps/powerpc/abort-instr.h: New file.
  770. 2002-09-14 Ulrich Drepper <drepper@redhat.com>
  771. * sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus
  772. comment.
  773. * test-skeleton.c (main): Provide more information in case waitpid
  774. fails.
  775. * include/unistd.h: Declare __exit_thread.
  776. * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.
  777. Wrap call to main in setjmp if HAVE_CANCELBUF is defined.
  778. * sysdeps/unix/sysv/linux/exit-thread.S: New file.
  779. * sysdeps/unix/sysv/linux/_exit.c: New file.
  780. * sysdeps/unix/sysv/linux/i386/_exit.S: New file.
  781. * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines):
  782. Add exit-thread.
  783. * configure.in: Add dl_iterate_phdr to test using -nostdlib.
  784. 2002-09-12 Jakub Jelinek <jakub@redhat.com>
  785. * sysdeps/i386/dl-machine.h (elf_machine_rel)
  786. (case R_386_TLS_DTPMOD32): Don't use addend.
  787. [case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check.
  788. (elf_machine_rela): Add support for TLS relocs.
  789. 2002-09-14 Roland McGrath <roland@redhat.com>
  790. * Makefile (manual/%): Add this pattern target to the iconvdata/% rule.
  791. 2002-07-29 Steven Munroe <sjmunroe@us.ibm.com>
  792. * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64
  793. specific asm macros for multiple percision integer math.
  794. 2002-06-04 Steven Munroe <sjmunroe@us.ibm.com>
  795. * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.
  796. * elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64.
  797. Remove per-machine conditionals for FLAG_* cases.
  798. * sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file.
  799. * sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file.
  800. * sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file.
  801. 2002-09-10 Alan Modra <amodra@bigpond.net.au>
  802. * csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already
  803. defined in entry.h.
  804. (__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain
  805. lowest address for profiling in __monstartup call.
  806. * sysdeps/powerpc/powerpc64/elf/entry.h: New file.
  807. 2002-09-14 Roland McGrath <roland@redhat.com>
  808. * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined
  809. instead of __NR_pread.
  810. * sysdeps/unix/sysv/linux/pread64.c: Likewise.
  811. * sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined
  812. instead of __NR_pwrite.
  813. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  814. 2002-09-13 Roland McGrath <roland@redhat.com>
  815. * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
  816. 2002-09-13 Andreas Jaeger <aj@suse.de>
  817. * sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead
  818. syscall. Patch by Guido Guenther <agx@sigxcpu.org>.
  819. 2002-09-12 Ulrich Drepper <drepper@redhat.com>
  820. * elf/elf.h: Correct DT_LOOS and DT_HIOS values.
  821. 2002-09-10 Ulrich Drepper <drepper@redhat.com>
  822. * sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after
  823. reading the headers.
  824. 2002-09-12 Roland McGrath <roland@redhat.com>
  825. * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.
  826. (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to
  827. find the ELF header.
  828. * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main
  829. executable if needed, in case it's actually a shared object.
  830. 2002-09-11 Roland McGrath <roland@redhat.com>
  831. * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of
  832. l_map_start to adjust l_tls_initimage.
  833. * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno
  834. when using h_errno and it's not set to NETDB_INTERNAL.
  835. * nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise.
  836. * Makefile ($(common-objpfx)testrun.sh): New target.
  837. (others): Depend on it.
  838. (postclean-generated): Append it.
  839. * nss/bug-erange.c: New file.
  840. * nss/Makefile (tests): Add it.
  841. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno
  842. instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
  843. * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without
  844. strncmp, keeps the code smaller for a non-performance-critical case.
  845. * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,
  846. no longer wrongly matches arbitrary prefixes of NAME.
  847. Reported by Jakub Jelinek <jakub@redhat.com>.
  848. 2002-09-11 Jakub Jelinek <jakub@redhat.com>
  849. * posix/bug-regex11.c (tests): New array.
  850. (main): Rewritten to run more different tests.
  851. 2002-09-10 Roland McGrath <roland@redhat.com>
  852. * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log)
  853. (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed.
  854. Instead, catch all of $(nscd-modules) via cppflags-iterator.mk.
  855. * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as
  856. well so we don't get it declared by include/math.h's hidden_proto.
  857. Then do hidden_proto for __isnanf locally so hidden_def works right.
  858. * posix/bug-regex5.c (main): Use `union locale_data_value' rather than
  859. a cast to turn nl_langinfo return value into an integer.
  860. 2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com>
  861. * posix/regexec.c (build_trtable): Fix the destination of
  862. newline to prevent wrong states from overwriting.
  863. Append break statements to optimization.
  864. 2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com>
  865. * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if.
  866. (build_range_exp): Add castings to strlen invocations.
  867. (build_collating_symbol): Restore the type of characters from "char"
  868. to "unsigned char", and supplement castings.
  869. (build_collating_symbol): Likewise.
  870. (build_equiv_class): Likewise.
  871. (build_charclass): Likewise.
  872. (seek_collating_symbol_entry): Likewise.
  873. (parse_bracket_exp): Likewise.
  874. (build_word_op): Supplement a casting.
  875. * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if.
  876. (re_string_allocate): Fix castings.
  877. (re_string_construct): Likewise.
  878. (re_string_construct_common): Likewise.
  879. (re_string_realloc_buffers): Likewise.
  880. (build_wcs_buffer): Likewise.
  881. (build_wcs_upper_buffer): Likewise.
  882. (re_string_skip_chars): Likewise.
  883. (re_string_reconstruct): Likewise.
  884. * posix/regex_internal.h: Restore the type of characters in
  885. re_string_t and bracket_elem_t from "char" to "unsigned char".
  886. (re_string_elem_size_at): Fix castings.
  887. * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if.
  888. (transit_state_bkref_loop): Restore the type of characters from
  889. "char" to "unsigned char", and append a cast to "char*" pointer in
  890. array subscript.
  891. (check_node_accept_bytes): Likewise.
  892. (find_collation_sequence_value): Likewise.
  893. 2002-09-10 Hartvig Ekner <hartvige@mips.com>
  894. * sysdeps/mips/memcpy.S: New file.
  895. * sysdeps/mips/memset.S: New file.
  896. * sysdeps/mips/fpu/e_sqrt.c: New file.
  897. * sysdeps/mips/fpu/e_sqrtf.c: New file.
  898. * fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not
  899. functional before. Also removed all SHLIB_COMPAT stuff.
  900. * fpu/fegetenv.c: Likewise.
  901. * fpu/fesetenv.c:: Likewise.
  902. * fpu/feupdateenv.c: Likewise.
  903. * fpu/fgetexcptflg.c: Likewise.
  904. * fpu/fraiseexcpt.c: Likewise.
  905. * sysdeps/mips/fpu/fsetexcptflg.c: New file.
  906. 2002-09-09 Jakub Jelinek <jakub@redhat.com>
  907. * include/math.h (__finite_internal, __finitef_internal,
  908. __finitel_internal, __isinf_internal, __isnan_internal): Remove.
  909. (isfinite): Remove.
  910. (__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel,
  911. __isinfl, __isnanl): Add hidden_proto.
  912. (__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add
  913. libm_hidden_proto.
  914. * math/Makefile (libm-calls): Add s_isinf and s_isnan.
  915. * stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from
  916. __is{inf,nan} calls.
  917. * stdio-common/printf_size.c (printf_size): Likewise.
  918. * sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise.
  919. * sysdeps/generic/s_ldexp.c (__ldexp): Likewise.
  920. * sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise.
  921. * sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise.
  922. * sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def.
  923. * sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias.
  924. (__finite): Add hidden_def.
  925. * sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias.
  926. (__finitef): Add hidden_def.
  927. * sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias.
  928. (__finitel): Add hidden_def.
  929. * sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add
  930. hidden_def.
  931. * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
  932. * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add
  933. libm_hidden_def.
  934. * sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise.
  935. * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add
  936. hidden_def.
  937. * sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise.
  938. (__isinfl): Remove INTDEF.
  939. * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add
  940. hidden_def.
  941. (__isnanl): Remove INTDEF.
  942. * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add
  943. libm_hidden_def.
  944. * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos
  945. instead of sin and cos.
  946. * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF.
  947. Add hidden_def.
  948. * sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise.
  949. * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
  950. * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add
  951. libm_hidden_def.
  952. * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF.
  953. Add hidden_def.
  954. * sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise.
  955. * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
  956. * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add
  957. libm_hidden_def.
  958. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add
  959. libm_hidden_def.
  960. * sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF.
  961. Add hidden_def.
  962. * sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise.
  963. * sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise.
  964. * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add
  965. libm_hidden_def.
  966. * sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal,
  967. __finitel_internal): Remove aliases.
  968. (__finite, __finitef, __finitel): Add hidden_def.
  969. * sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal,
  970. __isnanl_internal): Remove aliases.
  971. (__isnan, __isnanf, __isnanl): Add hidden_def.
  972. * sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal,
  973. __isinfl_internal): Remove aliases.
  974. (__isinf, __isinff, __isinfl): Add hidden_def.
  975. * sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf,
  976. __fpclassifyl): Add libm_hidden_def.
  977. * sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise.
  978. * sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def.
  979. * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove.
  980. (hidden_defx): Define and use.
  981. * sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add
  982. libm_hidden_def.
  983. * sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise.
  984. * sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def.
  985. * sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl):
  986. Remove INTDEF.
  987. (__isnan, __isnanf): Add hidden_def.
  988. * sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias.
  989. (__finitel): Add libm_hidden_def.
  990. * sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise.
  991. * include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto.
  992. * sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver.
  993. * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  994. * sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise.
  995. * sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  996. * sysdeps/generic/fesetenv.c (fesetenv): Likewise.
  997. * sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise.
  998. * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
  999. * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1000. * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
  1001. * sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1002. * sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise.
  1003. * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1004. * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise.
  1005. * sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1006. * sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise.
  1007. * sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1008. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def.
  1009. * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1010. * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise.
  1011. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1012. * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
  1013. * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1014. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
  1015. * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1016. * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise.
  1017. * sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
  1018. 2002-09-09 Steven Munroe <sjmunroe@us.ibm.com>
  1019. * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types.
  1020. 2002-09-09 Jakub Jelinek <jakub@redhat.com>
  1021. * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only
  1022. LD_DEBUG=statistics or LD_TRACE_PRELINKING.
  1023. 2002-09-09 Ulrich Drepper <drepper@redhat.com>
  1024. * string/stratcliff.c: Some more strncpy tests.
  1025. Patch by Daniel Jacobowitz <drow@mvista.com>.
  1026. 2002-09-08 Roland McGrath <roland@redhat.com>
  1027. * resolv/resolv.h: Include <sys/types.h> for u_long even in
  1028. the [__need_res_state] case.
  1029. Reported by Bruno Haible <bruno@clisp.org>.
  1030. 2002-09-04 Bruno Haible <bruno@clisp.org>
  1031. * sysdeps/generic/bits/ustat.h: Comment fix.
  1032. * io/sys/sendfile.h: Comment fix.
  1033. * sysdeps/posix/pread.c: Comment fix.
  1034. * sysdeps/posix/pread64.c: Comment fix.
  1035. * sysdeps/posix/pwrite.c: Comment fix.
  1036. * sysdeps/posix/pwrite64.c: Comment fix.
  1037. 2002-09-06 Roland McGrath <roland@redhat.com>
  1038. * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
  1039. to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>.
  1040. (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise.
  1041. (_UTSNAME_MACHINE_LENGTH): Likewise.
  1042. (struct utsname): Use new macros instead of _UTSNAME_LENGTH.
  1043. 2002-09-06 Ulrich Drepper <drepper@redhat.com>
  1044. * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct
  1045. test for filesystem type name of mount points.
  1046. * include/errno.h: Use errno definition with __thread for now only
  1047. in libc and ld.so.
  1048. * test-skeleton.c (main): Improve error message for unexpected
  1049. signal case.
  1050. 2002-09-05 Roland McGrath <roland@redhat.com>
  1051. * ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*.
  1052. * locale/lc-ctype.c (_nl_postload_ctype): Likewise.
  1053. 2002-09-05 Jakub Jelinek <jakub@redhat.com>
  1054. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
  1055. case of failure.
  1056. 2002-09-04 Bruno Haible <bruno@clisp.org>
  1057. * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
  1058. sigset_get_old_mask): Turn into inline functions.
  1059. * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
  1060. sigset_get_old_mask): Likewise.
  1061. * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
  1062. sigset_get_old_mask): Likewise.
  1063. * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter
  1064. syntax.
  1065. * elf/readlib.c (process_file): Conditionalize check for QMAGIC.
  1066. * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove
  1067. default definitions.
  1068. (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist,
  1069. _sys_nerr_internal instead of _sys_nerr.
  1070. * nscd/connections.c (handle_request): Declare CALLER inside #if.
  1071. 2002-07-29 Steven Munroe <sjmunroe@us.ibm.com>
  1072. * sysdeps/powerpc/__longjmp.S: Moved to...
  1073. * sysdeps/powerpc/powerpc32/__longjmp.S: ...here.
  1074. * sysdeps/powerpc/add_n.S: Moved to...
  1075. * sysdeps/powerpc/powerpc32/add_n.S: ...here.
  1076. * sysdeps/powerpc/addmul_1.S: Moved to...
  1077. * sysdeps/powerpc/powerpc32/addmul_1.S: ...here.
  1078. * sysdeps/powerpc/atomicity.h: Moved to...
  1079. * sysdeps/powerpc/powerpc32/atomicity.h: ...here.
  1080. * sysdeps/powerpc/backtrace.c: Moved to...
  1081. * sysdeps/powerpc/powerpc32/backtrace.c: ...here.
  1082. * sysdeps/powerpc/bp-asm.h: Moved to...
  1083. * sysdeps/powerpc/powerpc32/bp-asm.h: ...here.
  1084. * sysdeps/powerpc/bsd-_setjmp.S: Moved to...
  1085. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here.
  1086. * sysdeps/powerpc/bsd-setjmp.S: Moved to...
  1087. * sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here.
  1088. * sysdeps/powerpc/dl-machine.c: Moved to...
  1089. * sysdeps/powerpc/powerpc32/dl-machine.c: ...here.
  1090. * sysdeps/powerpc/dl-machine.h: Moved to...
  1091. * sysdeps/powerpc/powerpc32/dl-machine.h: ...here.
  1092. * sysdeps/powerpc/dl-start.S: Moved to...
  1093. * sysdeps/powerpc/powerpc32/dl-start.S: ...here.
  1094. * sysdeps/powerpc/gprrest0.S: Moved to...
  1095. * sysdeps/powerpc/powerpc32/gprrest0.S: ...here.
  1096. * sysdeps/powerpc/gprrest1.S: Moved to...
  1097. * sysdeps/powerpc/powerpc32/gprrest1.S: ...here.
  1098. * sysdeps/powerpc/gprsave0.S: Moved to...
  1099. * sysdeps/powerpc/powerpc32/gprsave0.S: ...here.
  1100. * sysdeps/powerpc/gprsave1.S: Moved to...
  1101. * sysdeps/powerpc/powerpc32/gprsave1.S: ...here.
  1102. * sysdeps/powerpc/lshift.S: Moved to...
  1103. * sysdeps/powerpc/powerpc32/lshift.S: ...here.
  1104. * sysdeps/powerpc/memset.S: Moved to...
  1105. * sysdeps/powerpc/powerpc32/memset.S: ...here.
  1106. * sysdeps/powerpc/mul_1.S: Moved to...
  1107. * sysdeps/powerpc/powerpc32/mul_1.S: ...here.
  1108. * sysdeps/powerpc/ppc-mcount.S: Moved to...
  1109. * sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here.
  1110. * sysdeps/powerpc/register-dump.h: Moved to...
  1111. * sysdeps/powerpc/powerpc32/register-dump.h: ...here.
  1112. * sysdeps/powerpc/rshift.S: Moved to...
  1113. * sysdeps/powerpc/powerpc32/rshift.S: ...here.
  1114. * sysdeps/powerpc/setjmp.S: Moved to...
  1115. * sysdeps/powerpc/powerpc32/setjmp.S: ...here.
  1116. * sysdeps/powerpc/stpcpy.S: Moved to...
  1117. * sysdeps/powerpc/powerpc32/stpcpy.S: ...here.
  1118. * sysdeps/powerpc/strchr.S: Moved to...
  1119. * sysdeps/powerpc/powerpc32/strchr.S: ...here.
  1120. * sysdeps/powerpc/strcmp.S: Moved to...
  1121. * sysdeps/powerpc/powerpc32/strcmp.S: ...here.
  1122. * sysdeps/powerpc/strcpy.S: Moved to...
  1123. * sysdeps/powerpc/powerpc32/strcpy.S: ...here.
  1124. * sysdeps/powerpc/strlen.S: Moved to...
  1125. * sysdeps/powerpc/powerpc32/strlen.S: ...here.
  1126. * sysdeps/powerpc/sub_n.S: Moved to...
  1127. * sysdeps/powerpc/powerpc32/sub_n.S: ...here.
  1128. * sysdeps/powerpc/submul_1.S: Moved to...
  1129. * sysdeps/powerpc/powerpc32/submul_1.S: ...here.
  1130. * sysdeps/powerpc/elf/bzero.S: Moved to...
  1131. * sysdeps/powerpc/powerpc32/elf/bzero.S: ...here.
  1132. * sysdeps/powerpc/elf/start.S: Moved to...
  1133. * sysdeps/powerpc/powerpc32/elf/start.S: ...here.
  1134. * sysdeps/powerpc/fpu/__longjmp.S: Moved to...
  1135. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here.
  1136. * sysdeps/powerpc/fpu/fprrest.S: Moved to...
  1137. * sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here.
  1138. * sysdeps/powerpc/fpu/fprsave.S: Moved to...
  1139. * sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here.
  1140. * sysdeps/powerpc/fpu/setjmp.S: Moved to...
  1141. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here.
  1142. * sysdeps/powerpc/fpu/s_copysign.S: Moved to...
  1143. * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here.
  1144. * sysdeps/powerpc/fpu/s_copysignf.S: Moved to...
  1145. * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here.
  1146. * sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to...
  1147. * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here.
  1148. * sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to...
  1149. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here.
  1150. * sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to...
  1151. * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
  1152. * sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to...
  1153. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here.
  1154. * sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to...
  1155. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here.
  1156. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to...
  1157. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here.
  1158. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to...
  1159. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here.
  1160. Support PowerPC64. Separate powerpc into powerpc/powerpc32 and
  1161. powerpc/powerpc64.
  1162. 2002-07-29 Steven Munroe <sjmunroe@us.ibm.com>
  1163. * FAQ.in: Add powerpc64 to supported targets list. Also state the
  1164. minimum gcc version is 3.2
  1165. * README: Add powerpc64 to supported targets list.
  1166. * configure.in: Change machine=powerpc to machine=powerpc/powerpc32.
  1167. Add powerpc64 and machine=powerpc/powerpc64.
  1168. (HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*.
  1169. * shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64.
  1170. * sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S,
  1171. gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S.
  1172. * sysdeps/powerpc/powerpc32/Dist: New file.
  1173. * sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp.
  1174. * sysdeps/powerpc/powerpc32/Implies: New file.
  1175. * sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags.
  1176. ($(with-fp) = no): Move test to powerpc32/Makefile.
  1177. ($(subdir) = misc): Move to powerpc32/Makefile.
  1178. ($(build-shared) = yes): Move to powerpc32/Makefile.
  1179. ($(subdir) = csu): Move to powerpc32/Makefile.
  1180. (sysdep-rtld-routines): Remove dl-start. Moved these bits to ...
  1181. * sysdeps/powerpc/powerpc32/Makefile: New file.
  1182. * sysdeps/powerpc/Versions: Remove libgcc functions.
  1183. * sysdeps/powerpc/powerpc32/Versions: New file.
  1184. * sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest.
  1185. * sysdeps/powerpc/powerpc32/fpu/Makefile: New file.
  1186. * sysdeps/unix/sysv/linux/configure.in (powerpc*):
  1187. Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set
  1188. libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64.
  1189. ($machine): Add powerpc/powerpc64 to if ... | for
  1190. libc_cv_slibdir=/libc64.
  1191. (powerpc*): Set ldd_rewrite_script.
  1192. * sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file.
  1193. * sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S.
  1194. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file.
  1195. Add clone.S.
  1196. * sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64.
  1197. * sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0
  1198. functions. Remove GLIBC_2.2 functions except getrlimit and
  1199. setrlimit. Moved them to ...
  1200. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file.
  1201. 2002-09-04 Ulrich Drepper <drepper@redhat.com>
  1202. * libio/tst-atime.c: Include <errno.h>.
  1203. (do_test): Only perform fstatvfs check if ST_NOATIME is defined.
  1204. 2002-09-03 Isamu Hasegawa <isamu@yamato.ibm.com>
  1205. * posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid
  1206. warnings of some compilers.
  1207. (build_collating_symbol): Change the type of characters from
  1208. "unsigned char" to "char", and append a cast to "char*" pointer in
  1209. array subscript.
  1210. (build_collating_symbol): Likewise.
  1211. (build_equiv_class): Likewise.
  1212. (build_charclass): Likewise.
  1213. (re_compile_pattern): Remove incorrect cast.
  1214. (re_compile_fastmap_iter): Change the type of characters from
  1215. "unsigned char" to "char", and append a cast to "char*" pointer
  1216. in array subscript.
  1217. (parse_bracket_exp): Likewise.
  1218. * posix/regex_internal.c (re_string_construct_common): Likewise.
  1219. (re_string_allocate): Likewise.
  1220. (re_string_construct): Likewise.
  1221. (re_string_realloc_buffers): Likewise.
  1222. (build_wcs_buffer): Likewise.
  1223. (re_string_reconstruct): Likewise.
  1224. * posix/regex_internal.h: Change the type of characters in
  1225. re_string_t and bracket_elem_t from "unsigned char" to "char".
  1226. * posix/regexec.c (regexec): Append "__restrict" modifier to avoid
  1227. warnings of some compilers.
  1228. (transit_state_bkref_loop): Change the type of characters from
  1229. "unsigned char" to "char", and append a cast to "char*" pointer in
  1230. array subscript.
  1231. (check_node_accept_bytes): Likewise.
  1232. (find_collation_sequence_value): Likewise.
  1233. 2002-09-04 Roland McGrath <roland@redhat.com>
  1234. * resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
  1235. from 1024 to 65536, to avoid buffer overrun.
  1236. 2002-09-03 Gerhard Tonn <ton@de.ibm.com>
  1237. * sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate.
  1238. 2002-09-04 Ulrich Drepper <drepper@redhat.com>
  1239. * libio/tst-atime.c (do_test): Make sure noatime flag isn't set
  1240. for filesystem.
  1241. 2002-09-04 Jakub Jelinek <jakub@redhat.com>
  1242. * posix/bug-regex11.c: New test.
  1243. * posix/Makefile (tests): Add bug-regex11.
  1244. 2002-09-03 Jakub Jelinek <jakub@redhat.com>
  1245. * locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to
  1246. newlocale.
  1247. 2002-09-02 Roland McGrath <roland@redhat.com>
  1248. * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
  1249. __pthread_initialize_minimal and __libc_check_standard_fds to
  1250. match the generic version.
  1251. * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a
  1252. warning when INLINE_SYSCALL macro uses the __syscall_ipc function.
  1253. * locale/localeconv.c (__localeconv): Cast -1 to char to avoid
  1254. warnings on platorms where char is unsigned.
  1255. 2002-09-02 Ulrich Drepper <drepper@redhat.com>
  1256. * version.h (VERSION): Bump to 2.2.93.
  1257. * sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S.
  1258. 2002-09-02 Jakub Jelinek <jakub@redhat.com>
  1259. * elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
  1260. as relocated.
  1261. 2002-09-02 Jack Howarth <howarth@bromo.msbb.uc.edu>
  1262. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  1263. 2002-09-02 Jakub Jelinek <jakub@redhat.com>
  1264. * locale/localeinfo.h (struct locale_data): Add private.ctype.
  1265. * wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale,
  1266. __wcsmbs_to_wc, update_conversion_ptrs): Removed.
  1267. (__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs.
  1268. (__wcsmbs_load_conv): Remove const from argument.
  1269. (_nl_cleanup_ctype): New proto.
  1270. (get_gconv_fcts): New function.
  1271. * wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed.
  1272. (__wcsmbs_to_wc): Rename back to...
  1273. (to_wc): ... this.
  1274. (__wcsmbs_gconv_fcts): Rename to...
  1275. (__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc.
  1276. (lock): Removed.
  1277. (__libc_setlocale_lock): New extern.
  1278. (__wcsmbs_load_conv): Remove const from argument.
  1279. Initialize new_category->private.ctype instead of a global
  1280. variable.
  1281. (__wcsmbs_clone_conv): Use get_gconv_fcts instead of
  1282. update_function_ptrs. No locking is necessary.
  1283. (_nl_cleanup_ctype): New function.
  1284. * wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of
  1285. update_function_ptrs and a global __wcsmbs_gconv_fcts variable.
  1286. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
  1287. * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
  1288. * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
  1289. * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
  1290. * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
  1291. * wcsmbs/wctob.c (wctob): Likewise.
  1292. * stdlib/mblen.c (mblen): Likewise.
  1293. * stdlib/mbtowc.c (mbtowc): Likewise.
  1294. * stdlib/wctomb.c (wctomb): Likewise.
  1295. * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
  1296. Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs.
  1297. * wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs):
  1298. Removed.
  1299. 2002-09-02 Roland McGrath <roland@frob.com>
  1300. * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): Add __fxstat64.
  1301. 2002-09-01 Roland McGrath <roland@redhat.com>
  1302. * ctype/ctype.h (__ctype_b, __ctype_toupper, __ctype_tolower):
  1303. Variable declarations removed.
  1304. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Declare
  1305. these functions to replace them.
  1306. (__isctype, tolower, toupper, _tolower, _toupper): Use those accessor
  1307. functions plus an indirection rather than the old global variables.
  1308. * include/ctype.h (__isctype, tolower, _tolower, toupper, _toupper):
  1309. Macros removed.
  1310. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): New extern
  1311. inline functions.
  1312. * ctype/ctype-info.c: Revert last reversion back the other way.
  1313. Define tsd vars CTYPE_B, CTYPE_TOLOWER, CTYPE_TOUPPER.
  1314. Define real function versions of include/ctype.h inlines here.
  1315. * ctype/Versions (libc: GLIBC_2.3): Add __ctype_b_loc,
  1316. __ctype_tolower_loc, __ctype_toupper_loc.
  1317. * locale/lc-ctype.c: Revert last reversion back the other way.
  1318. (_nl_postload_ctype): If current thread uses the global locale,
  1319. update its tsd vars.
  1320. * locale/uselocale.c (__uselocale): Update tsd vars from new locale.
  1321. * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add CTYPE_B,
  1322. CTYPE_TOLOWER, CTYPE_TOUPPER.
  1323. * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_address): New macro.
  1324. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_address): Renamed
  1325. from __libc_tsd_threadvar_location.
  1326. (__libc_tsd_set, __libc_tsd_get): Update uses.
  1327. 2002-09-01 Ulrich Drepper <drepper@redhat.com>
  1328. * ctype/ctype.h: Undo the patch before the last one. Put back the
  1329. macro definitions for the standard functions to access the
  1330. classification and mapping arrays.
  1331. * include/ctype.h: Partly revert last patch. Move the macro
  1332. definitions for the exported functions back to the public header.
  1333. #undef all the macros defined here before redefining.
  1334. * ctype/ctype-info.c: Revert last patch.
  1335. * locale/lc-ctype.c: Revert last patch.
  1336. * ctype/Makefile (routines): Add isctype.
  1337. * ctype/Versions (libc): Export isctype and __isctype for GLIBC_2.3.
  1338. * ctype/ctype.h: Add declaration of isctype.
  1339. * include/ctype.h: Declare __isctype.
  1340. * ctype/isctype.c: New file.
  1341. 2002-09-01 Roland McGrath <roland@redhat.com>
  1342. * sysdeps/generic/libc-tls.c (__pthread_initialize_minimal): Pass
  1343. TLS_INIT_TCB_SIZE, TLS_INIT_TCB_ALIGN instead of 0, 1.
  1344. * include/getopt.h: Include <features.h> before <posix/getopt.h>.
  1345. * locale/findlocale.c (_nl_remove_locale): Don't search in
  1346. _nl_locale_file_list if DATA->alloc is ld_archive.
  1347. Use _nl_unload_locale to do the rest of the work.
  1348. * locale/loadarchive.c (_nl_load_locale_from_archive): Set usage_count
  1349. of new structure to UNDELETABLE.
  1350. * wctype/wctype.h (iswalnum, iswalpha, iswcntrl, iswdigit, iswlower,
  1351. iswgraph, iswprint, iswpunct, iswspace, iswupper, iswxdigit, iswblank,
  1352. towlower, towupper): Macros removed.
  1353. * ctype/ctype.h (__tobody): Put parens around macro argument.
  1354. (__isctype): Macro removed.
  1355. (__ctype_b, __ctype_tolower, __ctype_toupper): Decls removed.
  1356. (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
  1357. ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
  1358. tolower, toupper): Macros and inlines removed.
  1359. * include/ctype.h [! NOT_IN_libc]
  1360. (isalnum, isalpha, iscntrl, isdigit, islower, isgraph, isprint,
  1361. ispunct, isspace, isupper, isxdigit, isblank, _tolower, _toupper,
  1362. tolower, toupper): Define here instead, using _NL_CURRENT.
  1363. * ctype/ctype.c (__ctype_tolower, __ctype_toupper): Define as macros
  1364. using _NL_CURRENT.
  1365. * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Likewise.
  1366. * ctype/ctype-info.c (__ctype_b, __ctype_tolower, __ctype_toupper):
  1367. Renamed these to __ctype_old_*. Define old names only for SHLIB_COMPAT.
  1368. (__ctype32_b, __ctype32_tolower, __ctype32_toupper): Likewise.
  1369. (__ctype32_wctrans, __ctype32_wctrans, __ctype32_width): Removed.
  1370. * locale/lc-ctype.c (_nl_postload_ctype): Use renamed variables,
  1371. conditional on SHLIB_COMPAT. Don't set removed variables at all.
  1372. * wctype/wcfuncs.c: Use _NL_CURRENT instead of those globals.
  1373. * wcsmbs/wcwidth.h (internal_wcwidth): Likewise.
  1374. * resolv/res_init.c [RESOLVSORT] (sort_mask): Renamed sort_mask_chars.
  1375. (ISSORTMASK): Update use.
  1376. * intl/localealias.c [__GNUC__]: #undef alloca before #define.
  1377. * nss/nss_files/files-XXX.c (last_use): Rename `none' to `nouse'.
  1378. (_nss_files_getENTNAME_r): Likewise.
  1379. * nss/nss_files/files-alias.c (last_use, _nss_files_getaliasent_r):
  1380. Likewise.
  1381. * Makerules (all-nonlib): Renamed from all-tests.
  1382. Include $(others) here too.
  1383. * locale/Makefile (CPPFLAGS-locale, CPPFLAGS-localedef,
  1384. CPPFLAGS-ld-ctype, CPPFLAGS-ld-time, CPPFLAGS-ld-numeric,
  1385. CPPFLAGS-ld-monetary, CPPFLAGS-ld-collate, CPPFLAGS-ld-identification,
  1386. CPPFLAGS-charmap, CPPFLAGS-locarchive, CPPFLAGS-linereader,
  1387. CPPFLAGS-charmap-dir): Variables removed. Instead, catch all
  1388. the program modules via cppflags-iterator.mk.
  1389. * sunrpc/Makefile (CPPFLAGS-rpc_main): Variable removed.
  1390. Instead, catch all rpcgen-objs via cppflags-iterator.mk.
  1391. 2002-08-31 Roland McGrath <roland@redhat.com>
  1392. * posix/tst-getconf.sh: If no third arg, work with static linking.
  1393. * locale/categories.def (LC_TIME): No more _nl_postload_time.
  1394. * locale/setlocale.c (_nl_category_postload): Use weak refs only under
  1395. [_NL_CURRENT_INDIRECT].
  1396. 2002-08-31 Ulrich Drepper <drepper@redhat.com>
  1397. * time/tst-ftime_l.c (main): Also test strftime with uselocale.
  1398. 2002-08-31 Roland McGrath <roland@redhat.com>
  1399. * locale/newlocale.c (__newlocale): Don't use strdup for names.
  1400. Instead, make the single allocation of the structure larger to hold
  1401. the name strings.
  1402. * locale/duplocale.c (__duplocale): Don't strdup names individually.
  1403. Instead, calculate size for a single allocation and copy into it.
  1404. * locale/freelocale.c (__freelocale): Don't free names individually.
  1405. * locale/newlocale.c (__newlocale): Don't leak old data or names.
  1406. * locale/xlocale.h (__locale_struct): Move __names member last,
  1407. for binary compatibility.
  1408. * locale/duplocale.c (__duplocale): Free names from the right array.
  1409. * locale/uselocale.c (__uselocale): Return previous locale when
  1410. setting a new one.
  1411. * locale/newlocale.c: Commit changes from 2002-08-30
  1412. batch where I failed to commit this file:
  1413. (__newlocale): Fill in __names array.
  1414. 2002-08-31 Ulrich Drepper <drepper@redhat.com>
  1415. * sysdeps/gnu/Makefile: Only depend on Versions.v.i for
  1416. errlist-compat.c if versioning==yes.
  1417. 2002-08-31 Andreas Jaeger <aj@suse.de>
  1418. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Declare
  1419. external functions with hidden attribute.
  1420. (elf_machine_rela): Optimize.
  1421. * sysdeps/x86_64/memset.S: New file.
  1422. * sysdeps/x86_64/bzero.S: New file.
  1423. * sysdeps/x86_64/stpcpy.S: New file.
  1424. * sysdeps/x86_64/strcat.S: New file.
  1425. * sysdeps/x86_64/strchr.S: New file.
  1426. * sysdeps/x86_64/strcpy.S: New file.
  1427. * sysdeps/x86_64/strcspn.S: New file.
  1428. * sysdeps/x86_64/strlen.S: New file.
  1429. * sysdeps/x86_64/strpbrk.S: New file.
  1430. * sysdeps/x86_64/strspn.S: New file.
  1431. * sysdeps/x86_64/strcmp.S: New file.
  1432. * sysdeps/x86_64/strtok_r.S: New file.
  1433. * sysdeps/x86_64/strtok.S: New file.
  1434. * sysdeps/x86_64/memcpy.S: New file.
  1435. * sysdeps/x86_64/mempcpy.S: New file.
  1436. * sysdeps/x86_64/fpu/s_copysign.S: Fix algorithm.
  1437. * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for double tests.
  1438. 2002-08-31 Ulrich Drepper <drepper@redhat.com>
  1439. * stdio-common/Makefile (generated): Add errlist-compat.c.
  1440. * locale/Makefile (extra-objs): Add $(localedef-aux:=.o).
  1441. * locale/localeinfo.h: Pretty printing.
  1442. * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in
  1443. form_number handling.
  1444. 2002-08-31 Andreas Jaeger <aj@suse.de>
  1445. * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long
  1446. double tests.
  1447. * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_routines): Add
  1448. __start_context.
  1449. * sysdeps/unix/sysv/linux/x86_64/__start_context.S: New file.
  1450. * sysdeps/unix/sysv/linux/x86_64/makecontext.c: New file.
  1451. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Add defines for
  1452. registers used for passing args.
  1453. * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Save and restore
  1454. all needed registers.
  1455. * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Restore all
  1456. registers.
  1457. * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Save all needed
  1458. registers.
  1459. 2002-08-30 Ulrich Drepper <drepper@redhat.com>
  1460. * elf/dynamic-link.h (elf_get_dynamic_info): Mark with
  1461. always_inline attribute.
  1462. 2002-08-30 Roland McGrath <roland@redhat.com>
  1463. * stdlib/tst-setcontext.c (main): If makecontext does nothing,
  1464. presume it's the stub and bail without error.
  1465. * nss/getnssent_r.c (__nss_getent_r): Return ENOENT if status is
  1466. neither SUCCESS nor TRYAGAIN (see 2002-08-25 change [PR libc/4259]).
  1467. * nss/getnssent_r.c (__nss_getent_r): Set *H_ERRNOP, not global one.
  1468. * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW, HP_TIMING_ACCUM): New
  1469. macros replace the i686 versions for 64-bit mode.
  1470. * locale/duplocale.c: Include <string.h>.
  1471. * intl/dcigettext.c (DCIGETTEXT) [_LIBC]: Check for bogus CATEGORY.
  1472. [_LIBC] (category_to_name): Don't define the function. Instead
  1473. define a macro using _nl_category_names.
  1474. * locale/xlocale.h (struct __locale_struct): New member `__names'.
  1475. * locale/xlocale.c (_nl_C_locobj): Update initializer.
  1476. * locale/global-locale.c (_nl_global_locale): Likewise.
  1477. * locale/duplocale.c (__duplocale): strdup __names elements.
  1478. * locale/freelocale.c (__freelocale): Free __names elements.
  1479. * locale/localename.c (_nl_current_names): Variable removed.
  1480. (__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
  1481. * locale/localeinfo.h (_nl_current_names): Removed decl.
  1482. * locale/setlocale.c: Use _nl_global_locale->__names in place of
  1483. _nl_current_names throughout.
  1484. * locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C).
  1485. * sysdeps/gnu/errlist-compat.awk: Emit link_warnings for sys_errlist
  1486. and sys_nerr in the output file.
  1487. * sunrpc/Makefile (rpcgen-cmd): Pass CPP in rpcgen's environment.
  1488. * scripts/cpp: Just use the environment variable.
  1489. * libio/tst-mmap-setvbuf.c (main): Use 'm' fopen flag.
  1490. * libio/tst-mmap-offend.c (do_test): Likewise.
  1491. * libio/tst-mmap-fflushsync.c (do_test): Likewise.
  1492. * libio/tst-mmap-eofsync.c (do_test): Likewise.
  1493. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
  1494. * locale/localename.c: If the current locale is the global locale, use
  1495. _nl_current_names; otherwise use the locale object.
  1496. 2002-08-29 Ulrich Drepper <drepper@redhat.com>
  1497. * libio/fileops.c (_IO_new_file_fopen): Recognize new mode specifier
  1498. 'm' to enable mmap I/O.
  1499. * libio/libio.h (_IO_FILE): Rename _blksize field to _flags2. The
  1500. former wasn't used (anymore?).
  1501. (_IO_FLAGS2_MMAP): New define.
  1502. * libio/genops.c (_IO_no_init): Initialize _flags2 field.
  1503. * libio/iofopen.c (__fopen_maybe_mmap): Use mmap callbacks only if
  1504. _IO_FLAGS2_MMAP bit is set.
  1505. * libio/iofdopen.c (_IO_new_fdopen): Recognize 'm' mode specifier.
  1506. Enable mmap-using mode only if 'm' was set.
  1507. 2002-08-29 Roland McGrath <roland@frob.com>
  1508. * sysdeps/mach/hurd/bits/local_lim.h (NAME_MAX): New macro.
  1509. * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup: doinit):
  1510. Change argument type from int to intptr_t.
  1511. * locale/global-locale.c (__libc_tsd_LOCALE_data): Conditionalize the
  1512. initializer on [! _HURD_THREADVAR_H] (bad kludge).
  1513. * sysdeps/mach/hurd/i386/init-first.c (init): Initialize
  1514. _HURD_THREADVAR_LOCALE slot to &_nl_global_locale.
  1515. * hurd/hurdsig.c (_hurdsig_init): Likewise. Zero other slots.
  1516. * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def.
  1517. * sysdeps/mach/hurd/pwrite64.c: No libc_hidden_def (__libc_pwrite64).
  1518. * sysdeps/mach/hurd/dl-sysdep.c (__GI_abort): Define alias for abort.
  1519. * include/assert.h (__assert_perror_fail): Declare it, do hidden_proto.
  1520. * assert/assert-perr.c: Add libc_hidden_def.
  1521. * elf/dl-minimal.c [! NDEBUG] (__assert_perror_fail): New function.
  1522. * sysdeps/gnu/errlist-compat.awk: Don't fail if there are no versions
  1523. found at all.
  1524. * sysdeps/gnu/Versions: File removed. Moved all #errlist-compat
  1525. sys_errlist stuff to ...
  1526. * sysdeps/unix/sysv/linux/Versions: ... here.
  1527. * mach/mach.h: Include <features.h>.
  1528. 2002-08-29 Roland McGrath <roland@redhat.com>
  1529. * elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.
  1530. * sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and
  1531. define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME.
  1532. * sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
  1533. * iconv/gconv_int.h: Include <stdlib.h> for alloca decl.
  1534. (norm_add_slashes): alloca -> __alloca
  1535. 2002-08-29 Jakub Jelinek <jakub@redhat.com>
  1536. * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for
  1537. string_malloced, it is unlikely to be set.
  1538. Only call free with non-NULL workspace.
  1539. * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Use
  1540. -mcpu=ultrasparc, not only tune for it.
  1541. (ASFLAGS*): Set unconditionally.
  1542. * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR
  1543. ElfW(Addr). Don't mask upper 32-bits and lower 12 bits off from
  1544. p_vaddr/p_offset when computing LOADADDR.
  1545. 2002-08-29 Ulrich Drepper <drepper@redhat.com>
  1546. * version.h (VERSION): Bump to 2.2.92.
  1547. * time/Makefile (tst-ftime_l-ENV): New variable.
  1548. * iconvdata/ibm870.c: All bytes are now used, no holes anymore.
  1549. * localedata/charmaps/IBM870: Add correct mapping for <U017E>,
  1550. <U017A>, <U017D> and <U0179>. Add missing mappings.
  1551. Patch by Antonin Kopecky <akopecky@tajmac-zps.cz>.
  1552. * gmon/sys/gmon.h (ARCDENSITY): Bump to 3.
  1553. Define ARCINDEX. Bump MAXARCS to 1 << 20.
  1554. (struct tostruct): Use ACRINDEX as type for link field.
  1555. (statuc gmonparam): Likewise for froms.
  1556. * gmon/gmon.c (__monstartup): Use currect cast for assignments to
  1557. kcount and froms.
  1558. (write_call_graph): Use correct type for from_index and to_index.
  1559. * gmon/mcount.c: Use correct types for frompcindex and toindex
  1560. variables.
  1561. Patches by Dan Kegel <dank@kegel.com>.
  1562. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix code to determine
  1563. canonical name.
  1564. * time/strptime.c (ISSPACE): New #define. Use isspace or
  1565. __isspace_l. Replace calls to isspace.
  1566. (match_string): Define variant for USE_IN_EXTENDED_LOCALE_MODEL.
  1567. 2002-08-29 Roland McGrath <roland@redhat.com>
  1568. * string/tst-strxfrm.c: Remove __ from function names.
  1569. 2002-08-28 Ulrich Drepper <drepper@redhat.com>
  1570. * include/wchar.h: Declare __mbsrtowcs_l.
  1571. * wcsmbs/Makefile (routines): Add mbsrtowcs_l.
  1572. * wcsmbs/mbsrtowcs.c: Add support for compilation with
  1573. USE_IN_EXTENDED_LOCALE_MODEL.
  1574. * wcsmbs/mbsrtowcs_l: New file.
  1575. * wcsmbs/wcsmbsload.c (__wcsmbs_to_wc): Renamed from to_wc. Don't
  1576. define as static. Change all uses.
  1577. (__wcsmbs_getfct): Renamed from getfct. Don't define as static.
  1578. Change all callers.
  1579. * wcsmbs/wcsmbsload.h: Declare __wcsmbs_to_wc and __wcsmbs_getfct.
  1580. * time/strftime.c: When translating for the extended locale model
  1581. use the _l functions.
  1582. * time/Makefile (tests): Add tst-ftime_l.
  1583. * time/tst-ftime_l.c: New file.
  1584. 2002-08-28 Roland McGrath <roland@redhat.com>
  1585. * locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.
  1586. * locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return
  1587. from _nl_find_locale ok if for _nl_C_name.
  1588. * locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def
  1589. iterator to refer to each category's _nl_current_LC_FOO symbol, so
  1590. we know they are all linked in.
  1591. * NEWS: Added 2.2.6 text from 2.2 branch version.
  1592. * time/strptime.c (strptime_internal): Remove spurious const.
  1593. * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
  1594. _nl_select_era_entry): Moved to ...
  1595. * time/era.c: ... here, new file.
  1596. (_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
  1597. Add internal_function to definitions. Take an additional argument
  1598. giving the `struct locale_data *' to use.
  1599. * locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
  1600. _nl_parse_alt_digit): Moved to ...
  1601. * time/alt_digit.c: ... here, new file.
  1602. * time/lc-time-cleanup.c: New file.
  1603. * locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
  1604. * locale/localeinfo.h (_nl_postload_time): Remove decl.
  1605. (_nl_cleanup_time): Declare it.
  1606. (_nl_get_era_entry, _nl_select_era_entry): Update decls.
  1607. (_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
  1608. * time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
  1609. * time/strftime.c: Pass locale data to helper functions.
  1610. * time/strptime.c: Likewise.
  1611. * locale/localeinfo.h (struct locale_data): New member `private'
  1612. * locale/loadlocale.c (_nl_intern_locale_data): Initialize it.
  1613. (_nl_unload_locale): Call LOCALE->private.cleanup if it is set.
  1614. * locale/C-collate.c: Update initializer.
  1615. * locale/C-identification.c: Likewise.
  1616. * locale/C-measurement.c: Likewise.
  1617. * locale/C-telephone.c: Likewise.
  1618. * locale/C-address.c: Likewise.
  1619. * locale/C-name.c: Likewise.
  1620. * locale/C-paper.c: Likewise.
  1621. * locale/C-time.c: Likewise.
  1622. * locale/C-numeric.c: Likewise.
  1623. * locale/C-monetary.c: Likewise.
  1624. * locale/C-messages.c : Likewise.
  1625. * locale/C-ctype.c: Likewise.
  1626. * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
  1627. Redefine this too.
  1628. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1629. * sysdeps/generic/ldsodefs.h (__rtld_global_attribute__): Define.
  1630. (_rtld_global): Use it.
  1631. * sysdeps/gnu/Dist: Remove errlist-compat.c.
  1632. * sysdeps/gnu/Makefile (errlist-compat.c): Build this file in the
  1633. object directory. Pass all Versions files to the awk script.
  1634. * sysdeps/gnu/errlist-compat.c: Removed.
  1635. * sysdeps/gnu/errlist.awk: Use #errlist-compat comments from the
  1636. first Versions file in the search path which has them.
  1637. Allow multiple errlist symbol versions to have the same count of
  1638. errors.
  1639. * sysdeps/gnu/errlist-compat.awk: Include <errlist-compat.c> instead
  1640. of "errlist-compat.c".
  1641. * sysdeps/gnu/errlist.c: Regenerated.
  1642. * sysdeps/unix/sysv/linux/mips/Versions (libc): Add #errlist-compat
  1643. comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
  1644. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
  1645. (librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
  1646. * sysdeps/unix/sysv/linux/hppa/Versions: Likewise.
  1647. * sysdeps/unix/sysv/linux/sparc/Versions: New file.
  1648. * sysdeps/unix/sysv/linux/alpha/bits/errno.h: New file.
  1649. * sysdeps/unix/sysv/linux/hppa/bits/errno.h (ECANCELED): Define to
  1650. ECANCELLED if not defined by kernel headers.
  1651. * sysdeps/unix/sysv/linux/bits/errno.h: Don't redefine ECANCELED if
  1652. already defined by kernel headers.
  1653. * sysdeps/unix/sysv/linux/sparc/bits/errno.h: New file.
  1654. * sysdeps/pthread/aio_cancel.c: Don't include aio.h and its
  1655. aio_cancel64 renaming hack nor provide weak_alias if aio_cancel
  1656. is a macro.
  1657. * Versions.def (GLIBC_2.3) [librt]: Add.
  1658. * sysdeps/unix/sysv/linux/alpha/pipe.S: New file.
  1659. 2002-08-28 Ulrich Drepper <drepper@redhat.com>
  1660. * include/libc-symbols.h [!__ASSEMBLER__] (declare_symbol_1): Add
  1661. missing comma to .type directive.
  1662. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1663. * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define
  1664. unconditionally.
  1665. * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New
  1666. check.
  1667. (PI_STATIC_AND_HIDDEN): Define if check succeeded.
  1668. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1669. * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0
  1670. check to close_and_out close. Replace return NULL statements where
  1671. fd might be >= 0 with goto close_and_out. Close the file descriptor
  1672. when it is no longer needed.
  1673. 2002-08-28 Ulrich Drepper <drepper@redhat.com>
  1674. * sysdeps/s390/s390-64/dl-machine.h: Avoid unescaped newlines in
  1675. string constants.
  1676. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  1677. * sysdeps/arm/dl-machine.h: Likewise.
  1678. * sysdeps/cris/dl-machine.h: Likewise.
  1679. * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
  1680. * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
  1681. 2002-08-28 Roland McGrath <roland@redhat.com>
  1682. * Makeconfig (default_cflags): Revert unintended change.
  1683. 2002-08-28 Ulrich Drepper <drepper@redhat.com>
  1684. * version.h (VERSION): Bump to 2.2.91.
  1685. * configure.in: Disable TLS support by default for now.
  1686. * sysdeps/i386/fpu/libm-test-ulps: Adjust ulp for yn for float.
  1687. * sysdeps/generic/strtol.c (strtol): Add some more casts to avoid
  1688. warnings.
  1689. * stdlib/strtod.c (STRTOF): Correct type in cast of last patch.
  1690. * stdlib/fmtmsg.c (fmtmsg): Use correct test for failure of
  1691. fprintf/fwprintf calls.
  1692. 2002-08-28 Roland McGrath <roland@redhat.com>
  1693. * Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...)
  1694. to use $(filter ...) instead. Same bug fixed in aix conditionals.
  1695. * locale/setlocale.c: Declare postload functions weak.
  1696. * elf/tst-tls1-static.c: New file.
  1697. * elf/tst-tls2-static.c: New file.
  1698. * elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.
  1699. Make uselocale support static linking.
  1700. * locale/xlocale.c: Revert changes putting _nl_global_locale here.
  1701. This file again just defines _nl_C_locobj.
  1702. (_nl_C_locobj): Use a categories.def iterator in the initializer.
  1703. * locale/global-locale.c: New file. Define _nl_global_locale here,
  1704. using all weak references in the initializer.
  1705. * locale/Makefile (aux): Add global-locale.
  1706. * locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make
  1707. these unconditional, along with the tsd decl.
  1708. [!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT):
  1709. Define it under these conditions.
  1710. [NL_CURRENT_INDIRECT]: Test this instead of [! SHARED].
  1711. Don't declare _nl_current. Declare _nl_current_LC_FOO as
  1712. `extern __thread struct locale_data *const *'.
  1713. [NL_CURRENT_INDIRECT]
  1714. (_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection.
  1715. [NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten. Define
  1716. the thread variable _nl_current_LC_FOO and also a special absolute
  1717. symbol _nl_current_LC_FOO_used.
  1718. * locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]:
  1719. Set each _nl_current_LC_FOO symbol to point into the new locale,
  1720. using weak references to test if _nl_current_LC_FOO_used was linked in.
  1721. * locale/setlocale.c [! SHARED]: Replace this conditional ...
  1722. [NL_CURRENT_INDIRECT]: ... with this one.
  1723. (_nl_current, _nl_C): Variables removed.
  1724. [NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of
  1725. weak references to _nl_current_LC_FOO_used.
  1726. [NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table.
  1727. (free_category): New function, broken out of ...
  1728. (free_mem): ... here. Call that.
  1729. (free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator
  1730. instead of a loop.
  1731. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for
  1732. PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr;
  1733. it is already absolute.
  1734. * elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally.
  1735. [$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static.
  1736. [$(build-static) = yes] (tests-static): New variable.
  1737. ($(tests-static):%=$(objfpx)%.o)): New static pattern rule.
  1738. 2002-08-26 Christoph Hellwig <hch@lst.de>
  1739. * sysdeps/unix/sysv/linux/sys/personality.h: Remark origin, fix
  1740. formating braindamage, add missing PER_HPUX and PER_OSF1 values.
  1741. 2002-08-28 Ulrich Drepper <drepper@redhat.com>
  1742. * sysdeps/x86_64/Dist: Add _mcount.S and bits/link.h.
  1743. * sysdeps/s390/Dist: Add bits/link.h.
  1744. * sysdeps/sh/Dist: New file.
  1745. * sysdeps/ia64/Dist: Add ia64libgcc.S.
  1746. * sysdeps/wordsize-32/Dist: New file.
  1747. * sysdeps/unix/sysv/linux/alpha/Dist: Add dl-brk.S.
  1748. * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
  1749. * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
  1750. * sysdeps/unix/sysv/linux/Dist: Add dl-brk.c, dl-sbrk.c, and
  1751. sys/personality.h.
  1752. * sysdeps/unix/Dist: Add i386/dl-brk.S, mips/dl-brk.S, and
  1753. sparc/dl-brk.S.
  1754. * sysdeps/unix/bsd/Dist: Add vax/dl-brk.S.
  1755. * sysdeps/unix/bsd/sun/Dist: New file.
  1756. * sysdeps/unix/bsd/osf/Dist: New file.
  1757. * sysdeps/unix/bsd/hp/Dist: New file.
  1758. * sysdeps/unix/arm/Dist: New file.
  1759. * sysdeps/powerpc/Dist: Add divdi3.c and libgcc-compat.S.
  1760. * sysdeps/mach/hurd/Dist: Add set-init.c.
  1761. * sysdeps/i386/Dist: Add bits/link.h.
  1762. * sysdeps/gnu/Dist: Add errlist-compat.c errlist-compat.awk.
  1763. * sysdeps/generic/Dist: Add dl-brk.c and dl-sbrk.c.
  1764. * locale/Makefile (distribute): Add hashval.h.
  1765. * iconvdata/Makefile (distribute): Add tcvn5712-1.c and armscii-8.c.
  1766. * sysdeps/unix/sysv/linux/Dist: Remove errlist.h.
  1767. * misc/sys/cdefs.h: Define __BEGIN_NAMESPACE_STD, __END_NAMESPACE_STD,
  1768. __USING_NAMESPACE_STD, __BEGIN_NAMESPACE_C99, __END_NAMESPACE_C99, and
  1769. __USING_NAMESPACE_C99 depending on _GLIBCPP_USE_NAMESPACES.
  1770. * ctype/ctype.h: Prepare headers for use in ISO C++ compliant
  1771. implementations.
  1772. * libio/stdio.h: Likewise.
  1773. * locale/locale.h: Likewise.
  1774. * math/math.h: Likewise.
  1775. * math/bits/mathcalls.h: Likewise.
  1776. * setjmp/setjmp.h: Likewise.
  1777. * signal/signal.h: Likewise.
  1778. * stdlib/stdlib.h: Likewise.
  1779. * string/string.h: Likewise.
  1780. * time/time.h: Likewise.
  1781. * wcsmbs/wchar.h: Likewise.
  1782. * wctype/wctype.h: Likewise.
  1783. 2002-08-28 Roland McGrath <roland@redhat.com>
  1784. * locale/tst-C-locale.c (run_test): Remove __ from function names.
  1785. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1786. Roland McGrath <roland@redhat.com>
  1787. * locale/hashval.h (compute_hashval): Use prototype defn.
  1788. (hashval_t): New macro, defined to unsigned long int
  1789. if not already defined.
  1790. (compute_hashval): Return hashval_t instead of unsigned long int.
  1791. * locale/loadarchive.c (hashval_t): New macro.
  1792. * locale/programs/locarchive.c: Include hashval.h directly instead
  1793. of simple-hash.h.
  1794. (compute_hashval, hashval_t): Define these macros first.
  1795. (insert_name): Use archive_hashval instead of compute_hashval.
  1796. (add_locale, delete_locales_from_archive): Likewise.
  1797. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1798. * locale/programs/locarchive.c (insert_name): Suppress warnings about
  1799. hash collisions if be_quiet.
  1800. 2002-08-27 Roland McGrath <roland@redhat.com>
  1801. * locale/locale.h (__newlocale, __duplocale, __freelocale,
  1802. __uselocale): Don't declare these any more.
  1803. * include/locale.h (__uselocale): Declare here instead, using __typeof.
  1804. * sysdeps/unix/readdir.c: If getdents fails with ENOENT, restore errno
  1805. and treat it as an EOF return.
  1806. * sysdeps/unix/readdir_r.c: Likewise.
  1807. * sysdeps/gnu/errlist-compat.awk: Include <bits/wordsize.h> in output.
  1808. From Alexandre Oliva <aoliva@redhat.com>.
  1809. * sysdeps/gnu/errlist-compat.c: Regenerated.
  1810. 2002-08-27 Brian Youmans <3diff@gnu.org>
  1811. * sysdeps/ieee754/flt-32/e_asinf.c: Modified copying permission
  1812. wording at request of copyright holder Stephen Moshier.
  1813. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  1814. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  1815. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  1816. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  1817. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  1818. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  1819. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  1820. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  1821. * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
  1822. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  1823. * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
  1824. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  1825. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
  1826. * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
  1827. 2002-08-28 Jakub Jelinek <jakub@redhat.com>
  1828. * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts.
  1829. * ctype/ctype-extn.c (isblank_l): Add weak alias.
  1830. * sysdeps/generic/strtol_l.c (strtol_l): Likewise.
  1831. * sysdeps/generic/strtoll_l.c (strtoll_l): Likewise.
  1832. * sysdeps/generic/strtoul_l.c (strtoul_l): Likewise.
  1833. * sysdeps/generic/strtoull_l.c (strtoull_l): Likewise.
  1834. * wctype/iswctype_l.c (iswctype_l): Likewise.
  1835. 2002-08-27 Roland McGrath <roland@redhat.com>
  1836. * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def.
  1837. * ctype/ctype.h (__exctype_l): Don't declare __ name.
  1838. * stdlib/stdlib.h: Don't declare __*_l names.
  1839. * include/stdlib.h: Declare them here instead.
  1840. * include/string.h: Don't declare __*_l names.
  1841. * string/string.h: Declare them here instead.
  1842. * time/time.h: Don't declare __*_l names.
  1843. * include/time.h: Declare them here instead.
  1844. * wcsmbs/wchar.h: Don't declare __*_l names.
  1845. * include/wchar.h: Declare them here instead.
  1846. * wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l.
  1847. Don't declare __*_l names.
  1848. * include/wctype.h: Declare them here instead.
  1849. * stdlib/monetary.h: Declare strfmon_l, not __strfmon_l.
  1850. * stdlib/strfmon_l.c (strfmon_l): Define as weak alias.
  1851. * locale/langinfo.h: Don't declare __nl_langinfo_l.
  1852. * include/langinfo.h: Declare it here with __typeof.
  1853. * time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strptime_l
  1854. instead, taking an extra __locale_t argument.
  1855. * time/Makefile (routines): Add strptime_l.
  1856. * time/time.h (__strptime_l, strptime_l): Declare them.
  1857. * time/strptime_l.c: New file.
  1858. * time/time.h (__strftime_l, strftime_l): Declare them.
  1859. * wcsmbs/wchar.h (__wcsftime_l, wcsftime_l): Declare them.
  1860. * time/strftime_l.c: New file.
  1861. * time/wcsftime_l.c: New file.
  1862. * time/Makefile (routines): Add strftime_l, wcsftime_l.
  1863. * time/Versions (libc: GLIBC_2.3): Add __strftime_l, __wcsftime_l,
  1864. strftime_l, wcsftime_l.
  1865. * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: Define __strftime_l
  1866. or __wcsftime_l instead, taking an extra __locale_t argument.
  1867. * locale/Versions (libc: GLIBC_PRIVATE): Move __uselocale to ...
  1868. (libc: GLIBC_2.3): ... here.
  1869. 2002-08-27 Ulrich Drepper <drepper@redhat.com>
  1870. * stdio-common/Makefile: Fix typo in stdio_lim.h installation rule.
  1871. * Makefile (distribute): Add LICENSES.
  1872. * sysdeps/unix/sysv/linux/x86_64/Dist: Add ucontext_i.h and
  1873. sys/debugreg.h.
  1874. * sysdeps/unix/sysv/linux/s390/Dist: Add new/route.h.
  1875. * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-brk.S and sys/user.h.
  1876. * sysdeps/unix/sysv/linux/mips/Dist: Add sys/user.h.
  1877. * sysdeps/unix/sysv/linux/Dist: Add readahead.c.
  1878. * sysdeps/mach/hurd/alpha/Dist: New file.
  1879. * sysdeps/arm/Dist: Add bits/link.h.
  1880. * sunrpc/Makefile: Distribute thrsvc.
  1881. * stdio-common/Makefile: Remove more left-overs from old stdio.
  1882. * include/linewrap.h: Removed.
  1883. * libio/bug-mmap-fflush.c: Rewrite to not touch source directory.
  1884. * intl/Makefile (distribute): Add plural-eval.c.
  1885. 2002-08-27 Roland McGrath <roland@redhat.com>
  1886. * manual/sysinfo.texi (Mount Information): Correct file name to macro
  1887. assocations for _PATH_MNTTAB, MNTTAB, _PATH_MOUNTED, MOUNTED.
  1888. Say mtab is in either /var/run or /etc.
  1889. 2002-08-26 Roland McGrath <roland@redhat.com>
  1890. * manual/errno.texi (Error Codes): Added ECANCELED (118 for Hurd).
  1891. * sysdeps/mach/hurd/bits/errno.h: Regenerated.
  1892. * sysdeps/gnu/Versions: New file.
  1893. * sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
  1894. _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
  1895. * sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
  1896. ($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
  1897. * sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
  1898. and _sys_nerr_internal instead of anything else. Make it include
  1899. "errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
  1900. Make it emit some asm magic if [EMIT_ERR_MAX].
  1901. * sysdeps/gnu/errlist.c: Regenerated.
  1902. * sysdeps/gnu/errlist-compat.awk: New file.
  1903. * sysdeps/gnu/errlist-compat.c: New file (generated).
  1904. * sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
  1905. (_sys_errlist_internal): Define this as a macro for _hurd_errlist.
  1906. (_sys_nerr_internal): Define this is a macro for _hurd_nerr.
  1907. (SYS_ERRLIST, SYS_NERR): Macros removed.
  1908. (sys_nerr, _sys_nerr): Remove these weak aliases.
  1909. * sysdeps/unix/sysv/linux/errlist.c: File removed.
  1910. * sysdeps/unix/sysv/linux/errlist.h: File removed.
  1911. * sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
  1912. * include/libc-symbols.h (declare_symbol): New macro.
  1913. * config.h.in (ASM_TYPE_DIRECTIVE_PREFIX): New #undef.
  1914. * configure.in: New check to define it.
  1915. * configure: Regenerated.
  1916. 2002-08-27 Ulrich Drepper <drepper@redhat.com>
  1917. * stdio-common/Makefile (headers): Remove bits/stdio_lim.h. This
  1918. file isn't distributed. Add special rules to install bits/stdio_lim.h.
  1919. * Make-dist: Remove traces of old stdio.
  1920. * Makeconfig: Likewise.
  1921. * locale/Makefile (localedef-aux): New variable. Only md5
  1922. assigned to it. These files are not ddistributed in this directory.
  1923. * sysdeps/unix/sysv/linux/s390/Dist: Add sys/procfs.h.
  1924. * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Remove sys/procfs.h.
  1925. * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise.
  1926. * sysdeps/unix/sysv/linux/Dist: Remove sys/sendfile.h.
  1927. * nss/getXXbyYY_r.c (REENTRANT_NAME): If no service is available
  1928. set h_errno to NO_RECOVERY [PR libc/4360].
  1929. 2002-08-26 Ulrich Drepper <drepper@redhat.com>
  1930. * libio/Makefile (tests): Add bug-fopena+.
  1931. * libio/bug-fopena+.c: New file.
  1932. * libio/fileops.c (_IO_file_open): Only set file pointer to end of the
  1933. file for _IO_IS_APPENDING if file isn't opened for reading, too.
  1934. * stdio-common/tst-swprintf.c (main): Add casts to avoid warnings.
  1935. * locale/xlocale.c: Fix the last change. The variable still has
  1936. to end in _data.
  1937. * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
  1938. (__libc_tsd_set): Add _data prefix to variable name.
  1939. 2002-08-26 Roland McGrath <roland@redhat.com>
  1940. * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
  1941. macro with inline function.
  1942. (sigset_get_old_mask): Likewise.
  1943. * sysdeps/posix/sigblock.c (__sigblock): Update callers.
  1944. * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
  1945. * sysdeps/posix/sigpause.c (__sigpause): Likewise.
  1946. * sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
  1947. * sysdeps/unix/sysv/aix/sigset-cvt-mask.h
  1948. (sigset_set_old_mask, sigset_get_old_mask): Make these macros return
  1949. values.
  1950. * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
  1951. * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
  1952. 2002-07-06 Bruno Haible <bruno@clisp.org>
  1953. * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask,
  1954. sigset_get_old_mask): Make it work with larger sigset_t.
  1955. * sysdeps/posix/sigblock.c (__sigblock): Use those macros.
  1956. * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
  1957. * sysdeps/posix/sigpause.c (__sigpause): Likewise.
  1958. 2002-08-26 Roland McGrath <roland@redhat.com>
  1959. * time/sys/time.h [__USE_BSD] (lutimes, futimes): Declare them.
  1960. * manual/filesys.texi (File Times): Document lutimes and futimes.
  1961. * misc/Makefile (routines): Add them.
  1962. * misc/Versions (libc: GLIBC_2.3): Likewise.
  1963. * sysdeps/generic/lutimes.c: New file.
  1964. * sysdeps/generic/futimes.c: New file.
  1965. * sysdeps/mach/hurd/lutimes.c: New file.
  1966. * sysdeps/mach/hurd/futimes.c: New file.
  1967. * manual/filesys.texi (File Times): Add explicit note about null
  1968. pointer argument to utimes.
  1969. 2002-08-26 Roland McGrath <roland@frob.com>
  1970. * sysdeps/mach/hurd/ifreq.h (__if_freereq): Add missing semicolon.
  1971. (__ifreq): Add a cast. Remove an unused variable.
  1972. * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
  1973. _HURD_THREADVAR_LOCALE.
  1974. 2002-08-26 Jakub Jelinek <jakub@redhat.com>
  1975. * posix/regexec.c (re_search_stub): Return correct match length
  1976. if start != 0.
  1977. * posix/bug-regex10.c: New test.
  1978. * posix/Makefile (tests): Add bug-regex10.
  1979. 2002-08-26 Brian Youmans <3diff@gnu.org>
  1980. * COPYING.LIB: Replaced with fresh copy from
  1981. ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1;
  1982. suggested copying permission notice now says version 2.1 instead
  1983. of version 2.
  1984. * crypt/crypt.c: Changed copying permission notice to Lesser GPL
  1985. from Library GPL.
  1986. * crypt/crypt_util.c: Likewise.
  1987. * crypt/ufc.c: Likewise.
  1988. * elf/dl-conflict.c: Likewise.
  1989. * elf/dl-iteratephdr.c: Likewise.
  1990. * iconv/iconvconfig.h: Likewise.
  1991. * malloc/arena.c: Likewise.
  1992. * malloc/hooks.c: Likewise.
  1993. * malloc/malloc.c: Likewise.
  1994. * posix/glob/Makefile.ami: Likewise.
  1995. * posix/glob/Makefile.in: Likewise.
  1996. * stdlib/gmp-impl.h: Likewise.
  1997. * stdlib/gmp.h: Likewise.
  1998. * sysdeps/generic/dl-iteratephdr-static.c: Likewise.
  1999. * sysdeps/generic/strnlen.c: Likewise.
  2000. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
  2001. * sysdeps/mach/hurd/recvmsg.c: Likewise.
  2002. * sysdeps/mach/hurd/sendmsg.c: Likewise.
  2003. * sysdeps/mach/hurd/spawni.c: Likewise.
  2004. * sysdeps/mach/powerpc/machine-sp.h: Likewise.
  2005. * sysdeps/mach/powerpc/sysdep.h: Likewise.
  2006. * sysdeps/mach/powerpc/thread_state.h: Likewise.
  2007. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
  2008. * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
  2009. * sysdeps/x86_64/gmp-mparam.h: Likewise.
  2010. * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in
  2011. Lesser GPL copying permission notice from 2 to 2.1.
  2012. * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise.
  2013. * sysdeps/ieee754/dbl-64/atnat.h: Likewise.
  2014. * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
  2015. * sysdeps/ieee754/dbl-64/branred.c: Likewise.
  2016. * sysdeps/ieee754/dbl-64/branred.h: Likewise.
  2017. * sysdeps/ieee754/dbl-64/dla.h: Likewise.
  2018. * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
  2019. * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
  2020. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  2021. * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
  2022. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  2023. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  2024. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  2025. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  2026. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  2027. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  2028. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  2029. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  2030. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  2031. * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
  2032. * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
  2033. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  2034. * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
  2035. * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
  2036. * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
  2037. * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
  2038. * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
  2039. * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
  2040. * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
  2041. * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
  2042. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  2043. * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
  2044. * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
  2045. * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
  2046. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  2047. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  2048. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  2049. * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
  2050. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  2051. * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
  2052. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  2053. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  2054. * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
  2055. * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
  2056. * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
  2057. * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
  2058. * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
  2059. * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
  2060. * sysdeps/ieee754/dbl-64/upow.h: Likewise.
  2061. * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
  2062. * sysdeps/ieee754/dbl-64/urem.h: Likewise.
  2063. * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
  2064. * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
  2065. * sysdeps/ieee754/dbl-64/utan.h: Likewise.
  2066. * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.
  2067. * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen
  2068. Moshier and Lesser GPL copying permission notice, per license from
  2069. Moshier.
  2070. * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
  2071. * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
  2072. * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
  2073. * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
  2074. * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
  2075. * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
  2076. * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
  2077. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
  2078. * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
  2079. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  2080. * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
  2081. * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
  2082. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
  2083. * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
  2084. * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission
  2085. notice, per license from copyright holder Stephen Moshier.
  2086. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  2087. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
  2088. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  2089. * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
  2090. * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
  2091. * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
  2092. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
  2093. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
  2094. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
  2095. 2002-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2096. * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
  2097. (shared-only-routines): Likewise.
  2098. 2002-08-26 Roland McGrath <roland@redhat.com>
  2099. * locale/programs/ld-ctype.c (ctype_read): When given a repertoire
  2100. name of "", store a null pointer instead.
  2101. * configure.in (elf): Set to yes for freebsd*, netbsd*.
  2102. * configure: Regenerated.
  2103. * locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE):
  2104. Initialize this instead of __libc_tsd_LOCALE_data.
  2105. * sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from
  2106. ptsname_r to EINVAL.
  2107. * sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0.
  2108. * rt/Makefile: Revert last change, it was inappropriate to presume aio
  2109. implementations depend on pthreads.
  2110. * rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS.
  2111. * rt/tst-aio64.c (do_test): Likewise.
  2112. * rt/tst-aio2.c (do_test): Likewise.
  2113. * rt/tst-aio3.c (do_test): Likewise.
  2114. * rt/tst-aio4.c (do_test): Likewise.
  2115. * rt/tst-aio5.c (do_test): Likewise.
  2116. * rt/tst-aio6.c (do_test): Likewise.
  2117. * rt/tst-aio7.c (do_test): Likewise.
  2118. * sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to
  2119. void so as to avoid compiler warnings.
  2120. * libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define
  2121. _IO_wide_data_FD, which is never used here.
  2122. * libio/iofread.c
  2123. [! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn.
  2124. * libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise.
  2125. * libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise.
  2126. * include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl.
  2127. * include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern.
  2128. * misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT].
  2129. (closelog): Likewise.
  2130. 2002-07-06 Bruno Haible <bruno@clisp.org>
  2131. * sysdeps/alpha/fpu/fpu_control.h: Comment fix.
  2132. * sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
  2133. * sysdeps/unix/alpha/pipe.S: ... here.
  2134. * sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
  2135. * sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF.
  2136. * sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation.
  2137. * sysdeps/unix/i386/fork.S: Likewise.
  2138. * sysdeps/unix/i386/pipe.S: Likewise.
  2139. * sysdeps/unix/i386/wait.S: Likewise.
  2140. * sysdeps/unix/fork.S: Fix PSEUDO_END argument.
  2141. * sysdeps/unix/arm/fork.S: Likewise.
  2142. * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
  2143. arguments.
  2144. (DO_CALL): Swap argument order.
  2145. * sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
  2146. arguments.
  2147. (DO_CALL): Swap argument order.
  2148. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
  2149. arguments.
  2150. (DO_CALL): Swap argument order.
  2151. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
  2152. arguments.
  2153. (DO_CALL): Swap argument order.
  2154. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
  2155. arguments.
  2156. (DO_CALL): Swap argument order.
  2157. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
  2158. arguments.
  2159. (DO_CALL): Swap argument order.
  2160. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
  2161. arguments.
  2162. (DO_CALL): Swap argument order.
  2163. * sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error.
  2164. (L): Define right for ELF.
  2165. * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition.
  2166. Now defined in sysdeps/i386/sysdep.h.
  2167. * sysdeps/posix/readv.c: Ansify function definition.
  2168. * sysdeps/posix/writev.c: Likewise.
  2169. * stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t
  2170. have the same size. Avoid direct cast from size_t to off_t.
  2171. * login/tst-utmp.c (simulate_login): Don't leave garbage after the
  2172. nul byte in entry[n].ut_user.
  2173. (simulate_logout): Likewise.
  2174. * login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE,
  2175. _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the
  2176. existence of corresponding members of 'struct utmp'.
  2177. * login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and
  2178. !_HAVE_UT_TYPE.
  2179. * sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small,
  2180. allocate a buffer of at least BUFSIZ bytes, not just of
  2181. sizeof (struct dirent).
  2182. * sysdeps/generic/glob.c: Include <limits.h>.
  2183. (NAME_MAX): Define a fallback.
  2184. (glob_in_dir): Allocate enough room for a 'struct dirent64' on the
  2185. stack.
  2186. * posix/tst-dir.c: Include <stddef.h>, for offsetof.
  2187. (main): Allocate enough room for a 'struct dirent64' on the stack.
  2188. * posix/tst-gnuglob.c (my_DIR): Allocate enough room for a
  2189. 'struct dirent'.
  2190. * sysdeps/unix/sysv/linux/init-first.c: Don't include
  2191. kernel-features.h.
  2192. * inet/htontest.c: Include <sys/types.h>.
  2193. * sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS.
  2194. * include/sys/sysctl.h: Comment fix.
  2195. * elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize
  2196. _dl_load_lock.
  2197. * libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO.
  2198. * sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias.
  2199. * sysdeps/unix/inet/syscalls.list (__connect_internal): New alias.
  2200. (__getpeername): New alias.
  2201. (__getsockname): New alias.
  2202. (__socket): New alias.
  2203. * sysdeps/unix/common/syscalls.list (getpgid): Remove.
  2204. * sysdeps/unix/syscalls.list (__chown_internal): New alias.
  2205. (__fcntl_internal): New alias.
  2206. (__profil): New alias.
  2207. 2002-08-26 Ulrich Drepper <drepper@redhat.com>
  2208. * nscd/hstcache.c (cache_addhst): Add new parameter saying whether
  2209. entry was for getaddr* lookup or not. Add only matching cache
  2210. entry. Change all callers [PR libc/4317].
  2211. * libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after
  2212. finding the read position [PR libc/4265].
  2213. * libio/Makefile (tests): Add bug-rewind2.
  2214. * libio/bug-rewind2.c: New file.
  2215. * libio/bug-rewind.c: Fix creation of temp file.
  2216. 2002-08-25 Ulrich Drepper <drepper@redhat.com>
  2217. * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is
  2218. neither SUCCESS nor TRYAGAIN [PR libc/4259].
  2219. * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop
  2220. to ENOENT if no entry is found.
  2221. * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup
  2222. failure.
  2223. * nis/nss_compat/compat-initgroups.c: Likewise.
  2224. * nis/nss_compat/compat-pwd.c: Likewise.
  2225. * nis/nss_compat/compat-spwd.c: Likewise.
  2226. * nis/nss_nis/nis-alias.c: Likewise.
  2227. * nis/nss_nis/nis-ethers.c: Likewise.
  2228. * nis/nss_nis/nis-grp.c: Likewise.
  2229. * nis/nss_nis/nis-hosts.c: Likewise.
  2230. * nis/nss_nis/nis-initgroups.c: Likewise.
  2231. * nis/nss_nis/nis-netgrp.c: Likewise.
  2232. * nis/nss_nis/nis-network.c: Likewise.
  2233. * nis/nss_nis/nis-proto.c: Likewise.
  2234. * nis/nss_nis/nis-publickey.c: Likewise.
  2235. * nis/nss_nis/nis-pwd.c: Likewise.
  2236. * nis/nss_nis/nis-rpc.c: Likewise.
  2237. * nis/nss_nis/nis-service.c: Likewise.
  2238. * nis/nss_nis/nis-spwd.c: Likewise.
  2239. * resolv/nss_dns/dns-host.c: Likewise.
  2240. * resolv/nss_dns/dns-network.c: Likewise.
  2241. * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls.
  2242. * nis/nss_nisplus/nisplus-ethers.c: Likewise.
  2243. * nis/nss_nisplus/nisplus-grp.c: Likewise.
  2244. * nis/nss_nisplus/nisplus-hosts.c: Likewise.
  2245. * nis/nss_nisplus/nisplus-network.c: Likewise.
  2246. * nis/nss_nisplus/nisplus-proto.c: Likewise.
  2247. * nis/nss_nisplus/nisplus-pwd.c: Likewise.
  2248. * nis/nss_nisplus/nisplus-rpc.c: Likewise.
  2249. * nis/nss_nisplus/nisplus-service.c: Likewise.
  2250. * nis/nss_nisplus/nisplus-spwd.c: Likewise.
  2251. * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value.
  2252. * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
  2253. * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise.
  2254. * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
  2255. * sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by
  2256. declaring __restore and __restore_rt as hidden (if possible).
  2257. 2002-08-25 Roland McGrath <roland@redhat.com>
  2258. * manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.
  2259. * sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.
  2260. (getutent_r_file, internal_getut_r): Updated all callers.
  2261. (getutline_r_file, pututline_file, updwtmp_file): Likewise.
  2262. 2002-08-25 Ulrich Drepper <drepper@redhat.com>
  2263. * locale/programs/locale.c: Don't print aliases for non-existing
  2264. locales for 'locale -a'.
  2265. Patch by Noah Levitt <nlevitt@columbia.edu> [PR libc/4166].
  2266. 2002-07-19 H.J. Lu <hjl@gnu.org>
  2267. * sysdeps/unix/sysv/linux/mips/bits/msq.h: New file.
  2268. 2002-07-16 H.J. Lu <hjl@gnu.org>
  2269. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  2270. sys/personality.h.
  2271. * sysdeps/unix/sysv/linux/sys/personality.h: New file.
  2272. 2002-08-25 Ulrich Drepper <drepper@redhat.com>
  2273. * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is
  2274. not moved ahead of the fputs call.
  2275. * elf/tst-tlsmod2.c (in_dso): Likewise.
  2276. * elf/tst-tlsmod3.c (in_dso2): Likewise.
  2277. * elf/tst-tlsmod4.c (in_dso): Likewise.
  2278. 2002-08-25 Andreas Schwab <schwab@suse.de>
  2279. * elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message.
  2280. 2002-08-25 Roland McGrath <roland@redhat.com>
  2281. * sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before
  2282. resetting handler, to avoid the possibility of a spurious SIGALRM
  2283. delivered to the user's handler.
  2284. Reported by Amit D. Chaudhary <amitc@brocade.com>,
  2285. * misc/Makefile (CFLAGS-init-misc.c): Variable removed. It served to
  2286. set -fkeep-inline-functions, which is not needed for the current file.
  2287. * sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls.
  2288. (_dl_setup_hash): Add attribute_hidden.
  2289. (_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise.
  2290. (_dl_sysdep_read_whole_file, _dl_dprintf): Likewise.
  2291. (_dl_new_object, _dl_map_object_deps): Likewise.
  2292. (_dl_map_object_deps_internal): Remove decl.
  2293. * elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden.
  2294. * sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN
  2295. && HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN
  2296. && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]
  2297. (elf_machine_dynamic, elf_machine_load_address): Rewritten without asm,
  2298. instead relying on the compiler to produce only GOTOFF variable refs.
  2299. 2002-08-25 Ulrich Drepper <drepper@redhat.com>
  2300. * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect.
  2301. * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
  2302. inline to avoid defining it in every file which includes this header.
  2303. * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before
  2304. defining DONT_USE_BOOTSTRAP_MAP.
  2305. * libio/tst-freopen.c (main): Use correct formats for __LINE__.
  2306. * libio/tst-mmap-setvbuf.c (main): Likewise.
  2307. * libio/tst-widetext.c (main): Likewise.
  2308. * libio/tst-mmap-eofsync.c (do_test): Use correct format in error
  2309. message.
  2310. * libio/tst-mmap-fflushsync.c (do_test): Likewise.
  2311. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
  2312. * sysdeps/i386/elf/configure.in: Unconditionally define
  2313. PI_STATIC_AND_HIDDEN.
  2314. * elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if
  2315. PI_STATIC_AND_HIDDEN is defined as well.
  2316. * config.h.in: Add PI_STATIC_AND_HIDDEN entry.
  2317. 2002-08-24 Ulrich Drepper <drepper@redhat.com>
  2318. * sysdeps/ia64/bzero.S: Define __bzero as well.
  2319. * locale/programs/charmap.c (charmap_new_char): Don't use
  2320. ULONG_MAX as maximum UCS4 value.
  2321. * sysdeps/unix/sysv/linux/ia64/sys/user.h: New file.
  2322. * sysdeps/generic/strtol.c: We don't need the isascii test in glibc.
  2323. * malloc/hooks.c (public_sET_STATe): use size_t as type for i.
  2324. * malloc/malloc.c (mALLINFo): Likewise.
  2325. * libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison.
  2326. * libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when
  2327. examining result of _IO_do_flush call.
  2328. * stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg.
  2329. Use prec not spec when sizing buffers.
  2330. * catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings.
  2331. * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
  2332. * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
  2333. * stdio-common/vfscanf.c (inchar): Likewise.
  2334. * misc/efgcvt_r.c (fcvt_r): Likewise.
  2335. * elf/dl-misc.c (_dl_debug_vdprintf): Likewise.
  2336. * elf/readlib.c (process_file): Likewise.
  2337. * elf/sprof.c (load_profdata): Likewise.
  2338. * sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise.
  2339. * locale/programs/linereader.c (get_toplvl_escape): Likewise.
  2340. * locale/programs/charmap.c (charmap_read): Likewise.
  2341. * libio/fileops.c: Likewise.
  2342. * libio/fmemopen.c: Likewise.
  2343. * stdlib/strtod.c: Likewise.
  2344. * elf/dl-load.c: Likewise.
  2345. * iconv/iconvconfig.c: Likewise.
  2346. * iconv/iconv_prog.c (process_block): Likewise.
  2347. * elf/rtld.c (dl_main): Likewise.
  2348. * sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H
  2349. macro to calm down the compiler.
  2350. * iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning.
  2351. * sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string.
  2352. * sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding
  2353. placement of errno definition.
  2354. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
  2355. * sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise.
  2356. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
  2357. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  2358. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  2359. * resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value
  2360. from 1024 to 65536, to avoid buffer overrun.
  2361. 2002-08-16 Paul Eggert <eggert@twinsun.com>
  2362. * resolv/gethnamaddr.c (MAXPACKET): Increase minimum value
  2363. from 1024 to 65536, to avoid buffer overrun.
  2364. * resolv/res_query.c (MAXPACKET): Likewise.
  2365. 2002-08-24 Andreas Jaeger <aj@suse.de>
  2366. * sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls.
  2367. 2002-08-23 Ulrich Drepper <drepper@redhat.com>
  2368. * sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize
  2369. two52 locally.
  2370. (log2): Likewise.
  2371. * sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52.
  2372. Patch by Simon Gee <simong@agile.tv>.
  2373. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf):
  2374. Prefer reading /proc/stat since it is more uniform across
  2375. architectures.
  2376. * manual/texinfo.tex: Update to latest official version.
  2377. * sysvipc/sys/shm.h: Remove SHMLBA definition.
  2378. * sysdeps/generic/bits/shm.h: Define SHMLBA here.
  2379. * sysdeps/gnu/bits/shm.h: Likewise.
  2380. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
  2381. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
  2382. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
  2383. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
  2384. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
  2385. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
  2386. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
  2387. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20
  2388. since this is what the kernel says.
  2389. * misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h>
  2390. since ssize_t is needed as well. Replace const with __const.
  2391. 2002-08-23 Roland McGrath <roland@redhat.com>
  2392. * malloc/hooks.c (__malloc_initialize_hook, __free_hook,
  2393. __malloc_hook, __realloc_hook, __memalign_hook,
  2394. __after_morecore_hook): Variable definitions moved to ...
  2395. * malloc/malloc.c: ... here, so as to be before all references.
  2396. * sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy
  2397. global variable reference in an unused asm parameter, to ensure the
  2398. compiler has set up the GOT register before we use it.
  2399. * malloc/hooks.c: Move variable definitions ahead of uses.
  2400. * libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
  2401. initializers that make reference to variables they define.
  2402. 2002-08-23 Andreas Jaeger <aj@suse.de>
  2403. * locale/loadarchive.c: Include <stdlib.h> for prototypes of
  2404. alloca, free, qsort.
  2405. * dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning.
  2406. * sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable.
  2407. * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
  2408. * misc/sys/xattr.h: New file, contributed by Christoph Hellwig
  2409. <hch@lst.de>.
  2410. * sysdeps/generic/fgetxattr.c: New file.
  2411. * sysdeps/generic/flistxattr.c: New file.
  2412. * sysdeps/generic/fremovexattr.c: New file.
  2413. * sysdeps/generic/fsetxattr.c: New file.
  2414. * sysdeps/generic/getxattr.c: New file.
  2415. * sysdeps/generic/listxattr.c: New file.
  2416. * sysdeps/generic/lgetxattr.c: New file.
  2417. * sysdeps/generic/llistxattr.c: New file.
  2418. * sysdeps/generic/lremovexattr.c: New file.
  2419. * sysdeps/generic/lsetxattr.c: New file.
  2420. * sysdeps/generic/removexattr.c: New file.
  2421. * sysdeps/generic/setxattr.c: New file.
  2422. * misc/Makefile (headers): Add sys/xattr.h.
  2423. (routines): Add *xattr calls.
  2424. * misc/Versions: Add *xattr calls with version 2.3.
  2425. * sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls.
  2426. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
  2427. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
  2428. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
  2429. * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise.
  2430. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
  2431. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
  2432. * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
  2433. 2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>
  2434. * sysdeps/powerpc/elf/libc-start.c
  2435. (__cache_line_size): Declare.
  2436. (__aux_init_cache): New function.
  2437. (__libc_start_main): Change type of `auxvec' parameter to
  2438. `ElfW(auxv_t) *'. Correct walking of aux vector. Call
  2439. __aux_init_cache.
  2440. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
  2441. (__cache_line_size): Declare.
  2442. (__aux_init_cache): New function.
  2443. (DL_PLATFORM_INIT): Define.
  2444. * sysdeps/powerpc/memset.S: Define __cache_line_size and use its
  2445. value to select the correct stride for dcbz.
  2446. 2002-08-22 Andreas Jaeger <aj@suse.de>
  2447. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of
  2448. shmat.
  2449. 2002-08-22 Roland McGrath <roland@redhat.com>
  2450. * locale/loadarchive.c (_nl_load_locale_from_archive): Check max file
  2451. position indicated by locrectab against file bounds before rounding to
  2452. page size. In mapping loop, always set TO before breaking out of
  2453. contiguous range coalescing loop.
  2454. * locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
  2455. (or MAP_COPY if available) instead of MAP_SHARED.
  2456. * scripts/firstversions.awk: When encountering a version newer than
  2457. the specified earliest version, be sure to emit the specified earliest
  2458. version first if any renaming of an older version to that has been.
  2459. 2002-08-21 Roland McGrath <roland@redhat.com>
  2460. * configure.in: Make GCC version check require 3.[2-9]* and no others.
  2461. * manual/install.texi (Tools for Compilation): Say 3.2 is required.
  2462. (Configuring and compiling): Don't mention older GCC versions any more.
  2463. * INSTALL: Regenerated.
  2464. * manual/install.texi (Configuring and compiling, Installation,
  2465. Running make install, Linux): Linux -> GNU/Linux where appropriate.
  2466. * elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
  2467. be inlined. Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
  2468. and with noinline otherwise. Remove hack alloca use to prevent
  2469. inlining, we can ask for it explicitly nowadays.
  2470. * dlfcn/bug-dlsym1.c: New file.
  2471. * dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
  2472. * dlfcn/Makefile (distribute): Add them.
  2473. (tests): Add bug-dlsym1 here.
  2474. (modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
  2475. ($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
  2476. ($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.
  2477. 2002-08-21 Ulrich Drepper <drepper@redhat.com>
  2478. * elf/rtld.c (start_time): New global variable. Moved from _dl_start.
  2479. (DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols
  2480. before relocation.
  2481. (_dl_start): Don't use local bootstrap_map variable if
  2482. DONT_USE_BOOTSTRAP_MAP is defined. Use GL(dl_rtld_map). Don't
  2483. pass bootstrap_map to _dl_start_final in this case either. Don't
  2484. pass start_time to _dl_start_final ever.
  2485. (_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP.
  2486. * elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28.
  2487. This cripples the scope lists necessary to search for symbols in
  2488. dependencies which are not in the global scope.
  2489. * include/setjmp.h (__libc_longjmp): Add declaration.
  2490. 2002-08-21 Andreas Jaeger <aj@suse.de>
  2491. * sysdeps/x86_64/_mcount.S: Fix assembler.
  2492. * sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h
  2493. with biarch support.
  2494. 2002-08-21 Andreas Jaeger <aj@suse.de>
  2495. * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Fix it.
  2496. * sysdeps/x86_64/Makefile (sysdep_routines): Add _mcount.
  2497. * sysdeps/x86_64/machine-gmon.h: New file.
  2498. * sysdeps/x86_64/_mcount.S: New file.
  2499. 2002-08-20 Ulrich Drepper <drepper@redhat.com>
  2500. * elf/rtld.c (_dl_start): Pass zero to TLS_INIT_TP. Set
  2501. bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called.
  2502. (_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map).
  2503. (dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized
  2504. to TL_INIT_TP. Otherwise pass 1.
  2505. * include/link.h (struct link_map): Add l_tls_tp_initialized.
  2506. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass 0 to TL_INIT_TP.
  2507. 2002-08-15 Jakub Jelinek <jakub@redhat.com>
  2508. * locale/programs/localedef.c (add_to_readlist): Error about
  2509. circular dependencies only if the locale in question hasn't
  2510. been finished.
  2511. * locale/programs/linereader.c (get_string): Pass LC_CTYPE not
  2512. CTYPE_LOCALE to load_locale.
  2513. * locale/programs/locfile.c (locfile_read): Don't include
  2514. unneeded but available locales in locale_mask.
  2515. * locale/programs/locarchive.c (enlarge_archive): If quiet, don't
  2516. print any messages about enlarging archive.
  2517. 2002-08-20 Brian Youmans <3diff@gnu.org>
  2518. * manual/contrib.texi: Removed licenses, added acknowledgements
  2519. for contributions by Intel, IBM, Craig Metz.
  2520. * LICENSES: New file, contains the text of all non-FSF licenses in the
  2521. distribution that require putting the notice in the accompanying
  2522. documentation.
  2523. * README.template, README: Mention LICENSES.
  2524. * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a
  2525. new one modelled on the modern BSD license, per recent letter
  2526. of permission from CMU.
  2527. * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
  2528. * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder
  2529. from IBM to FSF, per the recent Software Letter. Changed the
  2530. distribution terms from GPL to LGPL.
  2531. * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and
  2532. copying permission notice (Lesser GPL), per recent IBM Software Letter.
  2533. * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
  2534. * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
  2535. * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
  2536. * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
  2537. * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
  2538. * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
  2539. * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
  2540. * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.
  2541. * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder
  2542. from IBM to FSF, per the recent Software Letter. Corrected the
  2543. text of the copying permission notice to say Lesser GPL instead
  2544. of GPL in warranty disclaimer paragraph.
  2545. * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
  2546. * sysdeps/ieee754/dbl-64/branred.h: Likewise.
  2547. * sysdeps/ieee754/dbl-64/dla.h: Likewise.
  2548. * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
  2549. * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
  2550. * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
  2551. * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
  2552. * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
  2553. * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
  2554. * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
  2555. * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
  2556. * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
  2557. * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
  2558. * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
  2559. * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
  2560. * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
  2561. * sysdeps/ieee754/dbl-64/upow.h: Likewise.
  2562. * sysdeps/ieee754/dbl-64/urem.h: Likewise.
  2563. * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
  2564. * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
  2565. * sysdeps/ieee754/dbl-64/utan.h: Likewise.
  2566. * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying
  2567. permission notice to say Lesser GPL instead of GPL in warranty
  2568. disclaimer paragraph.
  2569. * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
  2570. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  2571. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  2572. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  2573. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  2574. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  2575. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  2576. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  2577. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  2578. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  2579. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  2580. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  2581. * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
  2582. * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
  2583. * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
  2584. * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
  2585. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  2586. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  2587. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  2588. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  2589. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  2590. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  2591. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  2592. 2002-08-20 Roland McGrath <roland@redhat.com>
  2593. Fix ABI compatibility with libc compiled with old tools on powerpc.
  2594. Changes contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  2595. and Jack Howarth <howarth@bromo.med.uc.edu>.
  2596. * sysdeps/powerpc/Makefile [$(have-protected) = yes]
  2597. (CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables,
  2598. pass -DHAVE_DOT_HIDDEN for these files.
  2599. * sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf,
  2600. __floatdisf.
  2601. * sysdeps/powerpc/divdi3.c: New file.
  2602. * sysdeps/powerpc/libgcc-compat.S: New file, replacement for ...
  2603. * sysdeps/powerpc/libgcc-compat.c: ... this, file removed.
  2604. 2002-08-20 Jakub Jelinek <jakub@redhat.com>
  2605. * locale/loadarchive.c (_nl_load_locale_from_archive): Handle
  2606. partially overlapping mappings. Remove unneeded (char *) casts.
  2607. Never allow duplication of ranges in mapped areas.
  2608. 2002-08-20 Roland McGrath <roland@redhat.com>
  2609. * elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors
  2610. can be detected by make. Reported by H.J. Lu <hjl@gnu.org>.
  2611. 2002-08-20 Ulrich Drepper <drepper@redhat.com>
  2612. * include/unistd.h: Don't hide _exit.
  2613. * elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP.
  2614. (dl_main): Pass extra argument 0 to TLS_INIT_TP.
  2615. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra
  2616. argument 1 to TLS_INIT_TP.
  2617. * sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter.
  2618. * sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit.
  2619. * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.
  2620. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Move dtv
  2621. memory allocation to...
  2622. (allocate_dtv): ...here. New function.
  2623. (_dl_allocate_tls): Change to take parameter. If parameter is non-NULL
  2624. call allocate_dtv instead of _dl_allocate_tls_storage.
  2625. (_dl_deallocate_tls): New parameter. Deallocate TCB only if true.
  2626. (_dl_get_tls_static_info): New function.
  2627. * sysdeps/generic/ldsodefs.h: Adjust prototypes of _dl_allocate_tls
  2628. and _dl_deallocate_tls. Add prototype for _dl_get_tls_static_info.
  2629. 2002-08-19 Ulrich Drepper <drepper@redhat.com>
  2630. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return
  2631. immediately if result == NULL.
  2632. 2002-08-16 Jakub Jelinek <jakub@redhat.com>
  2633. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
  2634. 2002-08-18 Roland McGrath <roland@frob.com>
  2635. * sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
  2636. instead of __file_name_split.
  2637. * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
  2638. * sysdeps/mach/hurd/dl-sysdep.c
  2639. [HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable.
  2640. [HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW.
  2641. 2002-08-16 Jakub Jelinek <jakub@redhat.com>
  2642. * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
  2643. in change before last: MAX -> MIN.
  2644. 2002-08-15 Roland McGrath <roland@redhat.com>
  2645. * libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
  2646. if seek would go past it.
  2647. (mmap_remap_check): If file position is at or past EOF after check,
  2648. leave read pointers at EOF and don't seek.
  2649. * libio/tst-mmap-offend.c: New file.
  2650. * libio/Makefile (tests): Add it.
  2651. * locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of
  2652. the name as passed, rather than the name in the archive dictionary.
  2653. 2002-08-15 Ulrich Drepper <drepper@redhat.com>
  2654. * csu/Makefile: Define elide-routines.os not static-only-routines.
  2655. * include/sched.h (__clone): Add varargs at the end.
  2656. * elf/rtld.c (_dl_start): Allow TLS_INIT_TP to fail, and stop in that
  2657. case.
  2658. (TLS_INIT_HELPER): If defined, use it.
  2659. * sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise.
  2660. 2002-08-15 Roland McGrath <roland@redhat.com>
  2661. * elf/dl-load.c (lose): Remove [!SHARED] conditional from null check
  2662. on L->l_prev; it can happen under rtld --verify too.
  2663. * locale/loadarchive.c (_nl_load_locale_from_archive): Don't read the
  2664. header separately, just map an initial window of 2MB from the file
  2665. and remap if that is not large enough to cover the whole header.
  2666. 2002-08-15 Andreas Jaeger <aj@suse.de>
  2667. * sysdeps/unix/sysv/linux/m68k/Versions: Add *xattr syscalls with
  2668. version 2.3.
  2669. * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
  2670. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
  2671. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
  2672. * sysdeps/unix/sysv/linux/x86_64/Versions: Likewise.
  2673. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
  2674. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
  2675. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
  2676. * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
  2677. * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
  2678. Patch by Andreas Gruenbacher <agruen@suse.de>.
  2679. * sysdeps/unix/sysv/linux/syscalls.list: Add *xattr syscalls.
  2680. 2002-08-14 Roland McGrath <roland@redhat.com>
  2681. * locale/locarchive.h (struct locale_category_data): Give this name to
  2682. the type of locale_data_t's elements.
  2683. * locale/programs/locarchive.c (cmpcategorysize): New static function.
  2684. (add_locale): Use that to sort the categories by size and put all
  2685. those that fit into two pages into the LC_ALL block, instead of
  2686. hard-coding it to do everything but LC_CTYPE and LC_COLLATE.
  2687. (show_archive_content): Detect categories inside LC_ALL block
  2688. directly, instead of hard-coding.
  2689. (oldlocrecentcmp): Compare just on file locations used.
  2690. 2002-08-14 Jakub Jelinek <jakub@redhat.com>
  2691. * locale/programs/locarchive.c (struct oldlocrecent): New type.
  2692. (oldlocrecentcmp): New function.
  2693. (enlarge_archive): Re-add locales in the order they were added
  2694. to the archive.
  2695. (add_locale): Put all the small locale files together, if the small
  2696. locale file block would occupy less pages if page size aligned, align
  2697. it.
  2698. (show_archive_content): Adjust for locale archives optimized for speed.
  2699. 2002-08-14 Roland McGrath <roland@frob.com>
  2700. * configure.in: Use "MISSING" as not-found value for MIG.
  2701. * sysdeps/mach/configure.in: Fatal if mig not found.
  2702. * configure, sysdeps/mach/configure: Regenerated.
  2703. 2002-08-13 Jakub Jelinek <jakub@redhat.com>
  2704. * locale/loadarchive.c (archfname): Add missing slash.
  2705. * sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def.
  2706. * wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def.
  2707. 2002-08-12 Roland McGrath <roland@redhat.com>
  2708. * include/sys/wait.h (__waitpid): Add libc_hidden_proto.
  2709. * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
  2710. * sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
  2711. * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
  2712. * sysdeps/unix/sysv/aix/waitpid.c: Likewise.
  2713. * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
  2714. * sysdeps/generic/waitpid.c: Likewise.
  2715. * include/net/if.h: New file. Use libc_hidden_proto
  2716. for if_nametoindex and if_indextoname.
  2717. * sysdeps/generic/if_index.c: Add libc_hidden_def.
  2718. * sysdeps/mach/hurd/if_index.c: Likewise.
  2719. * sysdeps/unix/sysv/linux/if_index.c: Likewise.
  2720. * include/grp.h (setgroups): Add libc_hidden_proto.
  2721. * sysdeps/generic/setgroups.c: Add libc_hidden_def.
  2722. * sysdeps/mach/hurd/setgroups.c: Likewise.
  2723. * sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
  2724. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
  2725. 2002-08-13 Jakub Jelinek <jakub@redhat.com>
  2726. * include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
  2727. * sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
  2728. * sysdeps/generic/setegid.c (setegid): Likewise.
  2729. * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
  2730. * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
  2731. * sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
  2732. * sysdeps/unix/bsd/setegid.c (setegid): Likewise.
  2733. * sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
  2734. * sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
  2735. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
  2736. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
  2737. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
  2738. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
  2739. * sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
  2740. * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
  2741. Remove fallback if __ASSUME_SETRESUID_SYSCALL.
  2742. * include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
  2743. __lxstat_internal, __lxstat64_internal): Remove.
  2744. (__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
  2745. Add hidden_proto.
  2746. * sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
  2747. Remove INTDEF where present, remove #undef at the beginning.
  2748. * sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
  2749. * sysdeps/generic/lxstat.c (__lxstat): Likewise.
  2750. * sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
  2751. * sysdeps/generic/xstat.c (__xstat): Likewise.
  2752. * sysdeps/generic/xstat64.c (__xstat64): Likewise.
  2753. * sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
  2754. * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
  2755. * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
  2756. * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
  2757. * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
  2758. * sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
  2759. * sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
  2760. * sysdeps/unix/fxstat.c (__fxstat): Likewise.
  2761. * sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
  2762. * sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
  2763. * sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
  2764. * sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
  2765. * sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
  2766. * sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
  2767. * sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
  2768. * sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
  2769. * sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
  2770. * sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
  2771. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
  2772. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
  2773. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
  2774. * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
  2775. * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
  2776. * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
  2777. * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
  2778. * sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
  2779. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
  2780. * sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
  2781. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
  2782. * sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
  2783. * sysdeps/unix/xstat.c (__xstat): Likewise.
  2784. * include/sys/statvfs.h (statvfs, fstatvfs): Add libc_hidden_proto.
  2785. * sysdeps/generic/statvfs.c (statvfs): Add libc_hidden_def.
  2786. * sysdeps/generic/fstatvfs.c (fstatvfs): Likewise.
  2787. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
  2788. * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Likewise.
  2789. * sysdeps/unix/sysv/linux/statvfs.c (statvfs): Likewise.
  2790. * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Likewise.
  2791. * include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
  2792. * include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
  2793. * sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
  2794. * sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
  2795. * sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
  2796. * sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
  2797. * sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
  2798. * sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
  2799. Likewise.
  2800. * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
  2801. * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
  2802. * sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
  2803. * sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
  2804. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
  2805. * sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
  2806. * sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
  2807. * sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
  2808. * include/string.h (strcoll): Add libc_hidden_proto.
  2809. * string/strcoll.c (strcoll): Add libc_hidden_def.
  2810. * misc/err.c (vwarn): Fix pasto in libc_hidden_def.
  2811. 2002-08-11 Philip Blundell <philb@gnu.org>
  2812. * sysdeps/arm/Makefile: New file.
  2813. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  2814. * posix/regcomp.c (parse_reg_exp): If '|' is immediately followed
  2815. by another '|', end of regex or enclosing ')', clear branch.
  2816. * posix/bug-regex9.c: New test.
  2817. * posix/Makefile (tests): Add bug-regex9.
  2818. 2002-08-12 Roland McGrath <roland@redhat.com>
  2819. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Fix inner loop
  2820. start count condition, use TOTAL instead of variable that was never
  2821. set. Fix outer loop termination condition to TOTAL >= after update.
  2822. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize
  2823. dl_tls_static_align and dl_tls_static_nelem.
  2824. 2002-08-11 Roland McGrath <roland@redhat.com>
  2825. * elf/tst-tlsmod4.c (in_dso): Insert a random library call before use
  2826. of the TLS macros, otherwise the compiler might not have initialized
  2827. the PIC register yet when we use the PLT via asm.
  2828. * elf/tst-tlsmod3.c (in_dso2): Likewise.
  2829. * elf/tst-tlsmod2.c (in_dso): Likewise.
  2830. * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!).
  2831. * sysdeps/i386/bits/byteswap.h (__bswap_16, __bswap_32, __bswap_64):
  2832. Evaluate argument exactly once. Remove __volatile__ from asm's.
  2833. * include/unistd.h: Use libc_hidden_proto for getdomainname
  2834. and getlogin_r.
  2835. * sysdeps/generic/getdomain.c: Add libc_hidden_def.
  2836. * sysdeps/mach/hurd/getdomain.c: Likewise.
  2837. * sysdeps/unix/getlogin_r.c: Likewise.
  2838. * sysdeps/mach/hurd/getlogin_r.c: Likewise.
  2839. * sysdeps/generic/getlogin_r.c: Likewise.
  2840. * include/rpc/auth_des.h: Use libc_hidden_proto for rtime.
  2841. * sunrpc/rtime.c: Add libc_hidden_def.
  2842. * include/string.h: Use libc_hidden_proto for basename.
  2843. * string/basename.c [_LIBC]: Add libc_hidden_def.
  2844. * sysdeps/unix/sysv/linux/opensock.c (__opensock): socket -> __socket.
  2845. * locale/loadarchive.c: munmap -> __munmap throughout.
  2846. * include/netdb.h: Use libc_hidden_proto for gai_strerror.
  2847. * sysdeps/posix/gai_strerror.c: Add libc_hidden_def.
  2848. * sysdeps/generic/gai_strerror.c: Likewise.
  2849. * include/sys/errno.h: New file.
  2850. * include/signal.h: No libc_hidden_proto for raise,
  2851. __libc_current_sigrtmin, __libc_current_sigrtmax.
  2852. These need to be overridden by linuxthreads.
  2853. * sysdeps/posix/raise.c: Reverted.
  2854. * sysdeps/generic/raise.c: Reverted.
  2855. * signal/allocrtsig.c: Reverted.
  2856. * locale/loadarchive.c (LOCALEDIR): Remove debugging defn. Oops.
  2857. 2002-08-10 Roland McGrath <roland@redhat.com>
  2858. * locale/loadarchive.c (_nl_archive_subfreeres): New function.
  2859. * locale/localeinfo.h: Declare it.
  2860. * locale/setlocale.c (free_mem): Don't call _nl_unload_locale on the
  2861. current locale if it's not in the file list.
  2862. Call _nl_archive_subfreeres.
  2863. 2002-08-10 Andreas Jaeger <aj@suse.de>
  2864. * sysdeps/i386/strchr.S: Add comment.
  2865. 2002-08-10 Roland McGrath <roland@redhat.com>
  2866. * include/wchar.h (putwc): Use libc_hidden_proto.
  2867. * include/stdio.h (dprintf, fprintf, vfprintf, sprintf,
  2868. sscanf, fwrite, perror, remove, rewind, open_memstream): Likewise.
  2869. * stdio-common/dprintf.c: Add libc_hidden_def.
  2870. * stdio-common/fprintf.c: Likewise.
  2871. * stdio-common/sprintf.c: Likewise.
  2872. * stdio-common/sscanf.c: Likewise.
  2873. * libio/iofwrite.c: Likewise.
  2874. * libio/memstream.c: Likewise.
  2875. * libio/putwc.c: Likewise.
  2876. * stdio-common/perror.c: Likewise.
  2877. * sysdeps/posix/remove.c: Likewise.
  2878. * sysdeps/generic/remove.c: Likewise.
  2879. * libio/rewind.c: Likewise. Use <stdio.h> instead of "stdio.h".
  2880. * stdio-common/vfprintf.c: Add libc_hidden_def. Include <stdio.h>.
  2881. 2002-08-09 Jakub Jelinek <jakub@redhat.com>
  2882. * include/wctype.h (iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
  2883. towlower, towupper): Add prototypes here too. Add libc_hidden_proto.
  2884. * wctype/wcfuncs.c (iswalpha, iswdigit, iswlower, iswspace, iswxdigit,
  2885. towlower, towupper): Add libc_hidden_weak.
  2886. * include/bits/dlfcn.h: New file.
  2887. * elf/dl-profstub.c (_dl_mcount_wrapper_check): Add libc_hidden_def.
  2888. * include/grp.h (_nss_files_parse_grent): Add libc_hidden_proto.
  2889. * include/netinet/ether.h (_nss_files_parse_etherent): Likewise.
  2890. * include/rpc/netdb.h (_nss_files_parse_rpcent): Likewise.
  2891. * include/pwd.h (_nss_files_parse_pwent): Likewise.
  2892. * include/shadow.h (_nss_files_parse_spent): Likewise.
  2893. * include/netdb.h (_nss_files_parse_protoent,
  2894. _nss_files_parse_servent, _nss_files_parse_netent): Likewise.
  2895. * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define.
  2896. (LINE_PARSER): Use it.
  2897. * nss/nsswitch.h (__nss_hostname_digits_dots): Add libc_hidden_proto.
  2898. * nss/digits_dots.c (__nss_hostname_digits_dots): Add libc_hidden_def.
  2899. * libio/oldiopopen.c: Move #if SHLIB_COMPAT after _IO_HAVE_SYS_WAIT
  2900. #endif.
  2901. * manual/debug.texi (%MENU%): Remove trailing dot.
  2902. Reported by <hayastan132@hotmail.com>.
  2903. * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek): Add lseek
  2904. aliases.
  2905. (lseek): Dummy.
  2906. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, lseek):
  2907. Likewise.
  2908. 2002-08-09 Roland McGrath <roland@redhat.com>
  2909. * locale/loadarchive.c (_nl_load_locale_from_archive): Parse locale
  2910. name to find codeset name (if any) and normalize it. If the
  2911. normalized name differs, look up only that in the archive.
  2912. * locale/programs/locarchive.c (add_locale_to_archive): If the name
  2913. contains a codeset, normalize the codeset store only the normalized
  2914. name in the archive. If not, add an alias containing the locale's
  2915. normalized codeset name. Apply codeset name normalization when
  2916. matching entries in the alias file.
  2917. * locale/programs/locarchive.c (delete_locales_from_archive): Don't
  2918. decrement HEAD->namehash_used here.
  2919. (add_locale): Only need to insert name string when name_offset != 0.
  2920. * locale/programs/localedef.c (options): Add -A/--alias-file.
  2921. (alias_file): New variable.
  2922. (parse_opt): Grok -A, set that.
  2923. * locale/programs/localedef.h: Declare it.
  2924. * locale/locarchive.h (struct locrecent): Add `refs' member.
  2925. * locale/programs/locarchive.c (insert_name): New function, broken out
  2926. of ...
  2927. (add_locale_to_archive): ... here. Call that.
  2928. (add_alias): New function.
  2929. (add_locale): New static function, add_locale_to_archive renamed.
  2930. (add_locale_to_archive): Call that and use add_alias to add an alias
  2931. for the name with codeset if the given name lacks it.
  2932. (enlarge_archive): Call add_locale instead of add_locale_to_archive.
  2933. * locale/Makefile (routines): Add loadarchive.
  2934. * locale/loadarchive.c: New file, started from code by Ulrich Drepper.
  2935. (_nl_load_locale_from_archive): New function.
  2936. * locale/localeinfo.h: Declare it.
  2937. * locale/findlocale.c (_nl_find_locale): If using default locale path,
  2938. try _nl_load_locale_from_archive first.
  2939. * locale/loadlocale.c (_nl_intern_locale_data): New function,
  2940. broken out of _nl_load_locale.
  2941. (_nl_load_locale): Call that.
  2942. * locale/localeinfo.h: Declare it.
  2943. (struct locale_data): Replace member `mmaped' with `alloc', an enum.
  2944. (struct locale_data): Remove unused member `options'.
  2945. * locale/findlocale.c (_nl_remove_locale): Update uses.
  2946. * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
  2947. * locale/C-collate.c: Update initializer.
  2948. * locale/C-identification.c: Likewise.
  2949. * locale/C-measurement.c: Likewise.
  2950. * locale/C-telephone.c: Likewise.
  2951. * locale/C-address.c: Likewise.
  2952. * locale/C-name.c: Likewise.
  2953. * locale/C-paper.c: Likewise.
  2954. * locale/C-time.c: Likewise.
  2955. * locale/C-numeric.c: Likewise.
  2956. * locale/C-monetary.c: Likewise.
  2957. * locale/C-messages.c : Likewise.
  2958. * locale/C-ctype.c: Likewise.
  2959. * locale/hashval.h [! LONGBITS]: Include <limits.h> here and
  2960. use CHAR_BIT instead of BITSPERBYTE.
  2961. * locale/localeinfo.h (_nl_find_locale, _nl_load_locale,
  2962. _nl_unload_locale): Add `internal_function attribute_hidden' to decls.
  2963. * locale/findlocale.c (_nl_find_locale): Add internal_function to defn.
  2964. (_nl_remove_locale): Likewise.
  2965. * locale/loadlocale.c (_nl_load_locale, _nl_unload_locale): Likewise.
  2966. * locale/findlocale.c (_nl_default_locale_path): New variable.
  2967. (_nl_find_locale): If LOCALE_PATH is null, default to that.
  2968. * locale/localeinfo.h: Declare it.
  2969. * locale/setlocale.c (setlocale): Use _nl_default_locale_path
  2970. in place of LOCALEDIR. If no LOCPATH, pass null to _nl_find_locale.
  2971. * locale/newlocale.c (__newlocale): Likewise.
  2972. * misc/err.c (vwarnx, vwarn): Fix typos in libc_hidden_def uses.
  2973. * inet/rexec.c (rexec_af): Add libc_hidden_def.
  2974. * sysdeps/generic/morecore.c: Likewise.
  2975. * signal/allocrtsig.c (__libc_current_sigrtmin): Likewise.
  2976. (__libc_current_sigrtmax): Likewise.
  2977. 2002-08-08 Roland McGrath <roland@redhat.com>
  2978. * locale/loadlocale.c (_nl_load_locale): Don't use MAP_INHERIT.
  2979. * catgets/open_catalog.c (__open_catalog): Likewise.
  2980. * locale/programs/locarchive.c (INITIAL_NUM_NAMES): Renamed
  2981. from typo INITIAL_NUM_NANES.
  2982. (create_archive): Update use.
  2983. 2002-08-08 Ulrich Drepper <drepper@redhat.com>
  2984. * sysdeps/unix/sysv/linux/sigwait.c: New file.
  2985. 2002-08-08 Roland McGrath <roland@frob.com>
  2986. * resolv/netdb.h: Don't declare h_errno as a plain global any more.
  2987. 2002-08-08 Jakub Jelinek <jakub@redhat.com>
  2988. * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something
  2989. else and undefine after including wcstol_l.c.
  2990. * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly.
  2991. 2002-08-08 Ulrich Drepper <drepper@redhat.com>
  2992. * gmon/gmon.c (write_gmon): Use O_NOFOLLOW in open calls if available.
  2993. 2002-08-08 Alexandre Oliva <aoliva@redhat.com>
  2994. * configure.in: Make the test for broken_alias_attribute stricter.
  2995. 2002-05-24 Robert Love <rml@tech9.net>
  2996. * posix/Makefile (routines): Add sched_getaffinity and
  2997. sched_setaffinity.
  2998. * posix/sched.h: Add declarations for sched_getaffinity and
  2999. sched_setaffinity.
  3000. * sysdeps/generic/sched_getaffinity.c: New file.
  3001. * sysdeps/generic/sched_setaffinity.c: New file.
  3002. * sysdeps/unix/sysv/linux/syscalls.list: Add sched_getaffinity and
  3003. sched_setaffinity.
  3004. 2002-08-06 Andreas Schwab <schwab@suse.de>
  3005. * sysdeps/unix/utime.c: If TIMES is NULL pass it through to utimes.
  3006. 2002-08-07 Ulrich Drepper <drepper@redhat.com>
  3007. * elf/dl-load.c (_dl_map_object_from_fd): Add missing \n in error
  3008. message.
  3009. * stdlib/isomac.c (get_null_defines): Treat NOT_IN_libc special.
  3010. It is known to be defined.
  3011. * include/string.h: Define index and rindex only if _ISOMAC is not
  3012. defined.
  3013. * elf/rtld.c: Include <errno.h>.
  3014. * sysdeps/generic/libc-tls.c: Likewise.
  3015. 2002-08-07 Roland McGrath <roland@redhat.com>
  3016. * resolv/res_debug.c (latlon2ul): Add const to argument type, and use
  3017. it internally.
  3018. (precsize_aton): Likewise.
  3019. * inet/getnetgrent_r.c (endnetgrent, __getnetgrent_r): Actually call
  3020. the static symbols added in the last change (doofus is me).
  3021. * locale/newlocale.c (__newlocale): Use a bit mask instead of a second
  3022. loop to notice missing categories in a composite name.
  3023. * locale/locale.h (LC_CTYPE_MASK, LC_NUMERIC_MASK, LC_TIME_MASK,
  3024. LC_COLLATE_MASK, LC_MONETARY_MASK, LC_MESSAGES_MASK, LC_ALL_MASK,
  3025. LC_PAPER_MASK, LC_NAME_MASK, LC_ADDRESS_MASK, LC_TELEPHONE_MASK,
  3026. LC_MEASUREMENT_MASK, LC_IDENTIFICATION_MASK, LC_ALL_MASK): New macros.
  3027. 2002-08-07 Ulrich Drepper <drepper@redhat.com>
  3028. * malloc/tst-calloc.c: Add tests for one or both parameters being zero.
  3029. 2002-08-07 Roland McGrath <roland@redhat.com>
  3030. * sysdeps/i386/dl-machine.h (elf_machine_rel): Add to, don't clobber,
  3031. unrelocated initial value for DTPOFF32 and TPOFF32 relocs.
  3032. Reported by Jakub Jelinek <jakub@redhat.com>.
  3033. 2002-08-07 Jakub Jelinek <jakub@redhat.com>
  3034. * malloc/malloc.c (public_cALLOc): Check ELEM_SIZE != 0 before
  3035. division.
  3036. 2002-08-06 Roland McGrath <roland@redhat.com>
  3037. * include/getopt.h: Put private decls inside [_GETOPT_H].
  3038. Use libc_hidden_proto for getopt_long, getopt_long_only.
  3039. * posix/getopt1.c [_LIBC]: Include <getopt.h> instead of "getopt.h".
  3040. Add libc_hidden_def.
  3041. * sysdeps/generic/unwind-dw2-fde-glibc.c [_LIBC] (dl_iterate_phdr):
  3042. Define as a macro for __dl_iterate_phdr.
  3043. * inet/getnetgrent_r.c (internal_setnetgrent): Renamed from __ name,
  3044. made static. Add __ name as a strong alias.
  3045. (internal_endnetgrent): Likewise.
  3046. (internal_getnetgrent_r): Likewise.
  3047. * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions
  3048. with no __ prefix.
  3049. * locale/langinfo.h [__USE_GNU]: Declare nl_langinfo_l.
  3050. * ctype/ctype.h [__USE_GNU]: Add declarations and macros for
  3051. all *_l functions with no __ prefix.
  3052. * wctype/wcfuncs_l.c: Define weak aliases without __ for all fns.
  3053. * ctype/ctype_l.c: Likewise.
  3054. * locale/nl_langinfo.c: Likewise.
  3055. * string/string.h [__USE_GNU]: Add decls for all *_l fns with no __.
  3056. * stdlib/stdlib.h [__USE_GNU]: Likewise.
  3057. * wcsmbs/wchar.h [__USE_GNU]: Likewise.
  3058. * wctype/wctype.h [__USE_GNU]: Likewise.
  3059. * string/strcoll_l.c (strcoll_l): Define as weak alias.
  3060. * string/strxfrm_l.c (strxfrm_l): Define as weak alias.
  3061. * sysdeps/generic/strcasecmp_l.c (strcasecmp_l): Define as weak alias.
  3062. * sysdeps/generic/strncase_l.c (strncasecmp_l): Define as weak alias.
  3063. * stdlib/strtod_l.c (strtod_l): Define as weak alias.
  3064. * stdlib/strtof_l.c (strtof_l): Define as weak alias.
  3065. * stdlib/strtold_l.c (strtold_l): Define as weak alias.
  3066. * wcsmbs/wcscasecmp_l.c (wcscasecmp_l): Define as weak alias.
  3067. (__wcscasecmp_l): Add libc_hidden_def.
  3068. * wcsmbs/wcsncase_l.c (wcsncasecmp_l): Define as weak alias.
  3069. (__wcsncasecmp_l): Add libc_hidden_def.
  3070. * wcsmbs/wcstof_l.c (wcstof_l): Define as weak alias.
  3071. * wcsmbs/wcstod_l.c (wcstod_l): Define as weak alias.
  3072. * wcsmbs/wcstold_l.c (wcstold_l): Define as weak alias.
  3073. * wcsmbs/wcscoll_l.c (wcscoll_l): Define as weak alias.
  3074. * wcsmbs/wcsxfrm_l.c (wcsxfrm_l): Define as weak alias.
  3075. * sysdeps/generic/wcstol_l.c (wcstol_l): Define as weak alias.
  3076. * sysdeps/generic/wcstoll_l.c (wcstoll_l): Define as weak alias.
  3077. * sysdeps/generic/wcstoul_l.c (wcstoul_l): Define as weak alias.
  3078. * sysdeps/generic/wcstoull_l.c (wcstoull_l): Define as weak alias.
  3079. * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define as weak alias.
  3080. * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Define as weak alias.
  3081. * wctype/wctrans_l.c (wctrans_l) Define as weak alias.
  3082. * wctype/towctrans_l.c (towctrans_l) Define as weak alias.
  3083. * wctype/wctype_l.c (wctype_l) Define as weak alias.
  3084. 2002-08-05 Roland McGrath <roland@redhat.com>
  3085. * include/rpc/auth.h: Use libc_hidden_proto for getnetname,
  3086. netname2user, host2netname, user2netname, key_gendes.
  3087. * sunrpc/netname.c: Add libc_hidden_def.
  3088. * sunrpc/key_call.c: Likewise.
  3089. * include/netdb.h: Use libc_hidden_proto for getaddrinfo, getnameinfo,
  3090. freeaddrinfo.
  3091. * inet/getnameinfo.c: Add libc_hidden_def.
  3092. * sysdeps/generic/getaddrinfo.c: Likewise.
  3093. * sysdeps/posix/getaddrinfo.c: Likewise.
  3094. * include/wchar.h: Use libc_hidden_proto for wmemchr, wmemset.
  3095. * wcsmbs/wmemchr.c: Add libc_hidden_def.
  3096. * wcsmbs/wmemset.c: Add libc_hidden_def.
  3097. * include/string.h: Move libc_hidden_proto's inside #ifndef _STRING_H.
  3098. (index, rindex): Define as macros for strchr, strrchr.
  3099. * string/envz.c (envz_strip): index -> strchr
  3100. * include/rpc/rpc_msg.h: Use libc_hidden_proto for _seterr_reply.
  3101. * sunrpc/rpc_prot.c: Add libc_hidden_def.
  3102. * include/wchar.h: Use libc_hidden_proto for mbrtowc.
  3103. * wcsmbs/mbrtowc.c: Add libc_hidden_weak.
  3104. * include/stdlib.h: Use libc_hidden_proto for wctomb.
  3105. * stdlib/wctomb.c: Add libc_hidden_def.
  3106. * include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
  3107. rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror.
  3108. * resolv/herror.c: Likewise.
  3109. * inet/rcmd.c: Add libc_hidden_def.
  3110. * inet/ruserpass.c: Likewise.
  3111. * inet/getnetgrent_r.c: Likewise.
  3112. * include/rpc/svc.h: Use libc_hidden_proto for svc_register,
  3113. svc_unregister, remove *_internal decls. Use libc_hidden_proto
  3114. for svcerr_auth, svcerr_noprog, svcerr_progvers.
  3115. * sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to
  3116. libc_hidden_def.
  3117. (svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def.
  3118. * sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.
  3119. * sysdeps/posix/system.c (do_system): New function, guts broken out of
  3120. __libc_system.
  3121. (__libc_system): Call it, putting just the line == NULL test here.
  3122. * include/libc-symbols.h (__hidden_proto): Add extern keywords so
  3123. variables work right.
  3124. * elf/dl-open.c (dl_open_worker): Use _ macro instead of gettext.
  3125. * elf/dl-close.c (_dl_close): Likewise.
  3126. * include/netinet/in.h: Use libc_hidden_proto for bindresvport,
  3127. in6addr_any, in6addr_loopback. Remove decls for
  3128. bindresvport_internal, in6addr_any_internal, in6addr_loopback_internal.
  3129. * sunrpc/svc_udp.c (svcudp_bufcreate): Nix INTUSE for bindresvport.
  3130. * sunrpc/svc_tcp.c (svctcp_create): Likewise.
  3131. * sunrpc/clnt_udp.c (clntudp_bufcreate): Likewise.
  3132. * sunrpc/bindrsvprt.c: Change INTDEF to libc_hidden_def.
  3133. * inet/in6_addr.c: Change INTVARDEF to libc_hidden_def.
  3134. * sysdeps/posix/getaddrinfo.c (gaih_inet): Nix INTUSE for
  3135. in6addr_loopback.
  3136. * inet/gethstbyad_r.c (PREPROCESS): Nix INTUSE for in6addr_any.
  3137. * include/netinet/ether.h: Use libc_hidden_proto for ether_ntoa_r,
  3138. ether_aton_r.
  3139. * inet/ether_aton_r.c: Add libc_hidden_def.
  3140. * inet/ether_ntoa_r.c: Likewise.
  3141. * include/rpc/svc.h: Use libc_hidden_proto for xprt_register,
  3142. xprt_unregister.
  3143. * sunrpc/svc.c: Add libc_hidden_def.
  3144. * include/rpc/pmap_clnt.h: Use libc_hidden_proto for pmap_getport,
  3145. pmap_set, pmap_unset.
  3146. * sunrpc/pmap_clnt.c: Add libc_hidden_def.
  3147. * sunrpc/pm_getport.c: Likewise.
  3148. * include/rpc/auth_des.h: Use libc_hidden_proto for getpublickey.
  3149. * sunrpc/publickey.c: Add libc_hidden_def.
  3150. 2002-08-05 Ulrich Drepper <drepper@redhat.com>
  3151. * elf/rtld.c (_dl_start): Don't use memset. Use same tricks as for
  3152. the other memset call in this function.
  3153. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Store dtv pointer
  3154. at correct index. Clear BSS region now that memalign is used.
  3155. 2002-08-05 Roland McGrath <roland@redhat.com>
  3156. * include/sys/utsname.h: Use libc_hidden_proto for uname, __uname.
  3157. * sysdeps/generic/uname.c: Add libc_hidden_def.
  3158. * sysdeps/mach/hurd/uname.c: Likewise.
  3159. 2002-08-05 Jakub Jelinek <jakub@redhat.com>
  3160. * include/wchar.h (wcrtomb, wcscmp, wcsftime, wcsspn, wcschr, wcscoll,
  3161. wcspbrk): Add libc_hidden_proto.
  3162. * time/strftime.c (my_strftime): Add libc_hidden_def.
  3163. (strftime): Remove libc_hidden_def.
  3164. * wcsmbs/wcschr.c (wcschr): Add libc_hidden_def.
  3165. * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
  3166. * wcsmbs/wcsspn.c (wcsspn): Likewise.
  3167. * wcsmbs/wcscmp.c (wcscmp): Likewise.
  3168. * wcsmbs/wcrtomb.c (wcrtomb): Add libc_hidden_weak.
  3169. * wcsmbs/wcscoll.c (wcscoll): Likewise.
  3170. * include/rpc/rpc.h (__rpc_thread_svc_max_pollfd,
  3171. __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
  3172. __rpc_thread_createerr): Add libc_hidden_proto.
  3173. * sunrpc/rpc_thread.c (__rpc_thread_svc_max_pollfd,
  3174. __rpc_thread_svc_pollfd, __rpc_thread_svc_fdset,
  3175. __rpc_thread_createerr): Add libc_hidden_def.
  3176. * include/rpc/clnt.h (clnt_sperrno, clnt_spcreateerror,
  3177. clnt_perror, clnt_sperror, _rpc_dtablesize): Add libc_hidden_proto.
  3178. * sunrpc/clnt_perr.c (clnt_sperrno, clnt_spcreateerror,
  3179. clnt_perror, clnt_sperror): Add libc_hidden_def.
  3180. * sunrpc/rpc_dtable.c (_rpc_dtablesize): Likewise.
  3181. * include/rpc/des_crypt.h (des_setparity, ecb_crypt, cbc_crypt): Add
  3182. libc_hidden_proto.
  3183. * sunrpc/des_crypt.c (ecb_crypt, cbc_crypt): Add libc_hidden_proto.
  3184. * sunrpc/des_soft.c (des_setparity): Likewise.
  3185. * include/rpc/auth.h (key_encryptsession_pk, key_decryptsession_pk):
  3186. Add libc_hidden_proto.
  3187. * sunrpc/key_call.c (key_encryptsession_pk, key_decryptsession_pk):
  3188. Add libc_hidden_def.
  3189. 2002-08-05 Roland McGrath <roland@redhat.com>
  3190. * sysdeps/generic/ldsodefs.h (struct rtld_global): Replace member
  3191. `bool _dl_initial_dtv_malloced' with `void *_dl_initial_dtv'.
  3192. * elf/rtld.c (dl_main): Set it to the new dtv for the main thread.
  3193. * sysdeps/generic/dl-tls.c (__tls_get_addr): When reallocating the
  3194. dtv, check if it matches _dl_initial_dtv; if so, malloc and copy the
  3195. old data, abandoning the original memory allocated by rtld at startup,
  3196. instead of calling realloc normally.
  3197. 2002-08-05 Ulrich Drepper <drepper@redhat.com>
  3198. * po/fr.po: Update from translation team.
  3199. 2002-08-04 Roland McGrath <roland@redhat.com>
  3200. * sysdeps/unix/make-syscalls.sh: If the syscall name field is -
  3201. then generate a dummy module under the given name, obeying the
  3202. normal rules for the "caller" field.
  3203. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop
  3204. actually iterate over the elements. Fix typo p_type -> p_vaddr.
  3205. * include/pthread.h: Don't declare __pthread_initialize_minimal as
  3206. weak here; we declare it weak or strong in the one place we use it.
  3207. * sysdeps/generic/libc-start.c: ... which is here.
  3208. Don't make the decl weak if [USE_TLS], since static programs need TLS
  3209. setup even when single-threaded.
  3210. * stdlib/isomac.c (fmt): Add -DNOT_IN_libc to the compiler command.
  3211. * elf/Makefile (test-srcs): Add $(modules-names) to it.
  3212. (CFLAGS-vismod2.c, CFLAGS-failobj.c, CFLAGS-constload2.c,
  3213. CFLAGS-reldepmod3.c, CFLAGS-reldepmod4.c, CFLAGS-ltglobmod2.c): Remove
  3214. all these variables.
  3215. 2002-08-04 Ulrich Drepper <drepper@redhat.com>
  3216. * include/stdio.h: Don't define macro magic to redirect function
  3217. calls if _ISOMAC is defined.
  3218. * sysdeps/i386/fpu/libm-test-ulps: Add epsilons for inlined
  3219. ldouble asin tests.
  3220. 2002-08-04 Roland McGrath <roland@redhat.com>
  3221. * stdlib/lrand48_r.c: Add libc_hidden_def.
  3222. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Allocate the
  3223. TCB with __libc_memalign instead of mmap.
  3224. (_dl_deallocate_tls): Free it with free instead of munmap.
  3225. * Makerules (cpp-srcs-left): When setting this to run
  3226. cppflags-iterator.mk, must append .c to $(tests) and $(xtests)
  3227. words. Combine the two loops into one on the concatenated list,
  3228. including those as well as $(test-srcs).
  3229. * elf/dl-minimal.c (__libc_memalign): Guts of malloc moved here,
  3230. since we align here with optimally minimal waste anyway.
  3231. (malloc): Just call that.
  3232. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Set l_tls_offset to
  3233. the right variable.
  3234. * elf/dl-load.c (_dl_map_object_from_fd): Use p_vaddr, not p_offset,
  3235. to compute memory location for l_tls_initimage.
  3236. * elf/rtld.c (_dl_start): Likewise.
  3237. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
  3238. * libio/oldiopopen.c: Move #include's before #if SHLIB_COMPAT,
  3239. because the .d file is generated in the non-shared case and
  3240. so fails to catch them otherwise.
  3241. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): New function,
  3242. split out of _dl_allocate_tls.
  3243. (_dl_allocate_tls_init): Likewise.
  3244. (_dl_allocate_tls): Call those.
  3245. * sysdeps/generic/ldsodefs.h: Declare them with attribute_hidden.
  3246. * elf/rtld.c (dl_main): Call them separately instead of calling
  3247. _dl_allocate_tls. Delay _dl_allocate_tls_init until after relocation
  3248. is finished, so that the initializer data has been relocated before we
  3249. copy it into the main thread's TLS block.
  3250. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Fix off-by-one error in
  3251. loop conditions, prevented the last used module from being initialized.
  3252. 2002-08-04 Jakub Jelinek <jakub@redhat.com>
  3253. * sysdeps/generic/glob.c (glob, globfree): Only use libc_hidden_def
  3254. if glob resp. globfree are not macros.
  3255. * sysdeps/gnu/glob64.c (globfree64): Add libc_hidden_def.
  3256. * sysdeps/unix/sysv/linux/alpha/glob.c (glob, globfree, globfree64):
  3257. Add libc_hidden_ver.
  3258. * sysdeps/unix/sysv/linux/i386/glob64.c (globfree64): Add
  3259. libc_hidden_def.
  3260. * sysdeps/wordsize-64/glob.c (globfree64): Use libc_hidden_ver
  3261. instead of libc_hidden_weak.
  3262. * sysdeps/wordsize-64/strtol.c (__strtoll_internal): Use
  3263. libc_hidden_ver instead of libc_hidden_def.
  3264. * sysdeps/wordsize-64/wcstol.c (__wcstoll_internal): Use
  3265. libc_hidden_ver instead of libc_hidden_def.
  3266. (wcstoll, wcstoq): Remove libc_hidden_weak.
  3267. * sysdeps/wordsize-64/strtol_l.c (____strtoll_l_internal): Add
  3268. libc_hidden_ver.
  3269. * sysdeps/wordsize-64/strtoul.c (__strtoull_internal): Add
  3270. libc_hidden_ver.
  3271. * sysdeps/wordsize-64/strtoul_l.c (____strtoull_l_internal): Add
  3272. libc_hidden_ver.
  3273. * sysdeps/wordsize-64/wcstoul.c (__wcstoull_internal): Add
  3274. libc_hidden_ver.
  3275. 2002-08-04 Ulrich Drepper <drepper@redhat.com>
  3276. * stdio-common/psignal.c: Declare _sys_siglist_internal. Use USEINT
  3277. to access _sys_siglist.
  3278. * string/strsignal.c: Likewise.
  3279. * sysdeps/generic/siglist.c: Add _sys_siglist_internal alias.
  3280. * sysdeps/gnu/siglist.c: Likewise.
  3281. * sysdeps/unix/siglist.c: Likewise.
  3282. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
  3283. * libio/fileops.c: Add missing INTUSEs for _IO_file_jumps.
  3284. * libio/wfileops.c: Add missing INTUSE for _IO_file_close.
  3285. * intl/dcigettext.c: Define _nl_default_dirname_internal as hidden
  3286. alias and use it.
  3287. * intl/bindtextdom.c: Use _nl_default_dirname_internal.
  3288. * include/netinet/in.h: Add declaration of in6addr_loopback_internal.
  3289. * inet/in6_addr.c: Add INTVARDEF for in6addr_loopback.
  3290. * sysdeps/posix/getaddrinfo.c: Use INTUSE for in6addr_loopback access.
  3291. * include/time.h: Add libc_hidden_proto for __gmtime_r.
  3292. * time/gmtime.c (__gmtime_r): Add libc_hidden_def.
  3293. * iconv/Versions: Replace __gconv_alias_db, __gconv_modules_db,
  3294. and __gconv_cache with __gconv_get_alias_db, __gconv_get_modules_db,
  3295. and __gconv_get_cache respectively.
  3296. * iconv/gconv_cache.c (gconv_cache): Renamed for __gconv_cache and
  3297. defined static. Change all users.
  3298. (__gconv_get_cache): New function.
  3299. * iconv/gconv_db.c (__gconv_get_modules_db): New function.
  3300. (__gconv_get_alias_db): New function.
  3301. * iconv/gconv_int.h (__gconv_alias_db): Declare as hidden.
  3302. (__conv_modules_db): Likewise.
  3303. Add prototypes for __gconv_get_cache, __gconv_get_modules_db,
  3304. and __gconv_get_alias_db.
  3305. * iconv/iconv_prog.c: Use the new functions instead of accessing the
  3306. variables.
  3307. * include/stdlib.h: Add prototype and libc_hidden_proto for
  3308. __default_morecore.
  3309. * sysdeps/generic/morecore.c: Include <stdlib.h>.
  3310. * malloc/obstack.c: Remove fputs macro.
  3311. * malloc/mtrace.c: Remove fopen macro.
  3312. 2002-08-04 Jakub Jelinek <jakub@redhat.com>
  3313. * manual/debug.texi: Fix spelling to programmatically.
  3314. Reported by <hayastan132@hotmail.com>.
  3315. 2002-08-04 Ulrich Drepper <drepper@redhat.com>
  3316. * include/libio.h: Add libc_hidden_proto for __uflow.
  3317. * include/stdio.h: Map fopen, fdopen, fclose, fputs, fsetpos, and
  3318. fgetpos to _IO_* names.
  3319. Add libc_hidden_proto for fileno, fwrite, fseek, fflush_unlocked,
  3320. fread_unlocked, fwrite_unlocked, fgets_unlocked, fputs_unlocked.
  3321. * include/wchar.h: Add libc_hidden_proto for fputws_unlocked,
  3322. putwc_unlocked, vswscanf.
  3323. * libio/iolibio.h: Add libc_hidden_proto for _IO_fputs.
  3324. * libio/fileno.c: Use <stdio.h> and libc_hidden_def.
  3325. * libio/fseek.c: Likewise.
  3326. * libio/fmemopen.c: Include "libioP.h". Call _IO_fopencookie and
  3327. not fopencookie.
  3328. * libio/genops.c (__uflow): Add libc_hidden_def.
  3329. * libio/iofflush_u.c (fflush_unlocked): Likewise.
  3330. * libio/iofgets_u.c (fgets_unlocked): Likewise.
  3331. * libio/iofputs_u.c (fputs_unlocked): Likewise.
  3332. * libio/iofputws_u.c (fputws_unlocked): Likewise.
  3333. * libio/iofread_u.c (fread_unlocked): Likewise.
  3334. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
  3335. * libio/iovswscanf.c (vswscanf): Likewise.
  3336. * libio/putwc_u.c (putwc_unlocked): Likewise.
  3337. * libio/iofputs.c: Use libc_hidden_def instead of INTDEF.
  3338. * malloc/malloc.c: Redirect fwrite calls to _IO_fwrite.
  3339. * malloc/mtrace.c: Likewise.
  3340. * sunrpc/clnt_perr.c: Remove fputs macro.
  3341. * sunrpc/svc_simple.c: Likewise.
  3342. * sunrpc/svc_tcp.c: Likewise.
  3343. * sunrpc/svc_udp.c: Likewise.
  3344. * sunrpc/xdr_rec.c: Likewise.
  3345. * sunrpc/xdr_ref.c: Likewise.
  3346. * iconv/Makefile: Add CPPFLAGS definitions with -DNOT_in_libc for
  3347. iconv_prog, linereader, and charmap-dir.
  3348. * locale/Makefile: Likewise for locale and charmap-dir.
  3349. * malloc/Makefile: Likewise for memusagestat.
  3350. * nscd/Makefile: Likewise for nscd, nscd_conf, and dbg_log.
  3351. * sunrpc/Makefile: Likewise for rpc_main.
  3352. * sysdeps/unix/sysv/linux/Makefile: Likewise for lddlibc4.
  3353. * timezone/Makefile: Likewise for zic.
  3354. * stdio-common/perror.c: Avoid multiple calls to fileno_unlocked.
  3355. * elf/dl-addr.c (_dl_addr): Add libc_hidden_def.
  3356. * elf/dl-close.c (_dl_close): Add libc_hidden_def.
  3357. * elf/dl-open.c (_dl_open): Add libc_hidden_def.
  3358. * include/dlfcn.h: Add libc_hidden_proto for _dl_addr, _dl_open,
  3359. _dl_close.
  3360. * include/libio.h: Add libc_hidden_proto for __underflow, __wuflow,
  3361. __wunderflow.
  3362. * libio/genops.c (__underflow): Add libc_hidden_def.
  3363. * libio/wgenops.c (__wuflow): Likewise.
  3364. (__wunderflow): Likewise.
  3365. * include/obstack.h: Add libc_hidden_proto for _obstack_newchunk.
  3366. * malloc/obstack.c (_obstack_newchunk): Add libc_hidden_def.
  3367. * include/stdio.h: Add libc_hidden_proto for __vfscanf.
  3368. * stdio-common/vfscanf.c (__vfscanf): Add libc_hidden_def.
  3369. * include/string.h: Add libc_hidden_proto for __strverscmp.
  3370. * string/strverscmp.c (__strverscmp): Add libc_hidden_def.
  3371. * include/unistd.h: Add libc_hidden_proto for __sysconf.
  3372. * sysdeps/generic/sysconf.c (__sysconf): Add libc_hidden_def.
  3373. * sysdeps/posix/sysconf.c: Likewise.
  3374. * sysdeps/unix/sysv/irix4/sysconf.c: Likewise.
  3375. * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
  3376. * include/wctype.h: Use libc_hidden_proto for __iswctype, __iswalnum_l,
  3377. __iswalpha_l, __iswblank_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
  3378. __iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
  3379. __iswxdigit_l, __towlower_l, __towupper_l.
  3380. * wcsmbs/wcstype.c (__iswctype): Use libc_hidden_def.
  3381. * wcsmbs/wcfuncs_l.c: Use libc_hidden_def for all functions.
  3382. * include/sys/wait.h: Add libc_hidden_proto for __xmknod.
  3383. * sysdeps/generic/xmknod.c (__xmknod): Add libc_hidden_def.
  3384. * sysdeps/mach/hurd/xmknod.c: Likewise.
  3385. * sysdeps/unix/xmknod.c: Likewise.
  3386. * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
  3387. * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
  3388. * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
  3389. * sunrpc/svc.c: Add missing INTUSE for _authenticate.
  3390. 2002-08-03 Roland McGrath <roland@redhat.com>
  3391. * include/sys/resource.h: Use libc_hidden_proto for getpriority,
  3392. setpriority.
  3393. * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
  3394. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
  3395. * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
  3396. * sysdeps/mach/hurd/setpriority.c: Likewise.
  3397. * sysdeps/mach/hurd/getpriority.c: Likewise.
  3398. * sysdeps/generic/setpriority.c: Likewise.
  3399. * sysdeps/generic/getpriority.c: Likewise.
  3400. * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all.
  3401. * malloc/mcheck.c: Add libc_hidden_def.
  3402. * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r.
  3403. * misc/hsearch_r.c: Add libc_hidden_def.
  3404. * include/fnmatch.h: Use libc_hidden_proto for fnmatch.
  3405. * posix/fnmatch.c: Add libc_hidden_weak.
  3406. * include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr,
  3407. execl, execle, execlp, execvp, getpid, getsid.
  3408. * sysdeps/generic/alarm.c: Add libc_hidden_def.
  3409. * sysdeps/unix/alarm.c: Likewise.
  3410. * posix/confstr.c: Likewise.
  3411. * posix/execvp.c: Likewise.
  3412. * posix/execlp.c: Likewise.
  3413. * posix/execle.c: Likewise.
  3414. * posix/execl.c: Likewise.
  3415. * sysdeps/generic/getsid.c: Likewise.
  3416. * sysdeps/mach/hurd/getsid.c: Likewise.
  3417. * sysdeps/generic/getpid.c: Add libc_hidden_weak.
  3418. * sysdeps/mach/hurd/getpid.c: Likewise.
  3419. * include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r,
  3420. qecvt_r, qfcvt_r, lrand48_r.
  3421. * misc/efgcvt_r.c: Add libc_hidden_def.
  3422. * include/wordexp.h: Use libc_hidden_proto for wordfree.
  3423. * sysdeps/generic/wordexp.c: Add libc_hidden_def.
  3424. * include/langinfo.h: Use libc_hidden_proto for nl_langinfo.
  3425. * locale/nl_langinfo.c: Add libc_hidden_def.
  3426. * include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64.
  3427. * sysdeps/generic/glob.c: Add libc_hidden_def.
  3428. * sysdeps/generic/glob64.c: Likewise.
  3429. * sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak.
  3430. * locale/nl_langinfo.c: Use _NL_CURRENT_DATA.
  3431. * elf/Makefile (CFLAGS-vismod2.c): New variable.
  3432. * locale/setlocale.c (_nl_current_names): Variable moved ...
  3433. * locale/localename.c (_nl_current_names): ... here, new file.
  3434. Make it global, with attribute_hidden.
  3435. * locale/localeinfo.h: Declare it.
  3436. * locale/Makefile (aux): Add localename.
  3437. * locale/localename.c (__current_locale_name): New function.
  3438. * include/locale.h (__current_locale_name): Declare it.
  3439. * intl/dcigettext.c (guess_category_value): Use that instead of
  3440. calling setlocale.
  3441. * locale/locale.h [__USE_GNU] (locale_t): New type alias of __locale_t.
  3442. [__USE_GNU] (newlocale, duplocale, freelocale, uselocale): New decls.
  3443. [__USE_GNU] (LC_GLOBAL_LOCALE): New macro.
  3444. * locale/newlocale.c: Add alias to __ name.
  3445. * locale/duplocale.c: Likewise.
  3446. * locale/freelocale.c: Likewise.
  3447. * locale/uselocale.c: New file.
  3448. * locale/Makefile (routines): Add it.
  3449. * locale/Versions (libc: GLIBC_2.3): New set.
  3450. Add newlocale, duplocale, freelocale, uselocale.
  3451. (libc: GLIBC_PRIVATE): Add __uselocale.
  3452. * locale/localeinfo.h [SHARED]
  3453. (_NL_CURRENT_LOCALE): New macro, defined to fetch a tsd value.
  3454. (_NL_CURRENT_DATA): Define using that.
  3455. (_NL_CURRENT, _NL_CURRENT_WSTR, _NL_CURRENT_WORD): Define using that.
  3456. (_NL_CURRENT_DEFINE): Define to empty.
  3457. [! SHARED]: Decls of _nl_current_CATEGORY and _nl_current
  3458. conditionalized on this.
  3459. * locale/xlocale.c (NL_C_INTIIALIZER): New macro,
  3460. taking initializer of _nl_C_locobj.
  3461. [SHARED] (_nl_global_locale): New variable, using that initializer.
  3462. (_nl_C_locobj): Use new macro for initialzier.
  3463. * locale/setlocale.c [! SHARED] (_nl_current): Conditionalize on this.
  3464. [! SHARED] (CATEGORY_USED): New macro.
  3465. [SHARED] (CATEGORY_USED, _nl_C): New macros.
  3466. (setdata, setlocale): Use that macro instead of examining _nl_current.
  3467. (setdata): Set the slot in _nl_global_locale.
  3468. Conditionalize setting of _nl_current on [! SHARED].
  3469. * locale/findlocale.c [SHARED] (_nl_C): Define as a macro instead of
  3470. declaration as an extern.
  3471. * locale/newlocale.c (__newlocale): Use _nl_C_locobj instead of _nl_C.
  3472. * include/locale.h: Use libc_hidden_proto for setlocale.
  3473. * locale/setlocale.c: Add libc_hidden_def.
  3474. * locale/setlocale.c (free_mem): Use _NL_CURRENT_DATA.
  3475. * include/search.h: Use libc_hidden_proto for hsearch_r, lfind.
  3476. * misc/hsearch_r.c: Add libc_hidden_def.
  3477. * misc/lsearch.c: Likewise.
  3478. * include/ttyent.h: Use libc_hidden_proto for getttyent, setttyent,
  3479. endttyent.
  3480. * misc/getttyent.c: Add libc_hidden_def.
  3481. * include/mcheck.h: Use libc_hidden_proto for mcheck.
  3482. * malloc/mcheck.c: Add libc_hidden_def.
  3483. * include/envz.h: Use libc_hidden_proto for envz_entry, enz_remove.
  3484. * include/argz.h: Use libc_hidden_proto for argz_delete.
  3485. * string/argz-delete.c: Add libc_hidden_def.
  3486. * string/envz.c: Likewise. Use <envz.h>, not "envz.h".
  3487. * sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
  3488. HIDDEN_JUMPTARGET for _exit.
  3489. * sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
  3490. * sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
  3491. * sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
  3492. * sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
  3493. * include/libc-symbols.h: Fix [__ASSEMBLY__] -> [__ASSEMBLER__].
  3494. [__ASSEMBLER__] (hidden_weak): Define using hidden_def, or to empty.
  3495. [__ASSEMBLER__] (HIDDEN_JUMPTARGET): New macro.
  3496. * sysdeps/unix/sysv/linux/i386/makecontext.S: Use it for exit.
  3497. * include/stdlib.h: Use libc_hidden_proto for abort,
  3498. __strtof_internal, __strtod_internal, __strtold_internal,
  3499. __strtol_internal, __strtoll_internal, __strtoul_internal,
  3500. __strtoull_internal. __strtof_l_internal, __strtod_l_internal,
  3501. __strtold_l_internal, __strtol_l_internal, __strtoll_l_internal,
  3502. __strtoul_l_internal, __strtoull_l_internal.
  3503. * include/wchar.h: Use libc_hidden_proto for __wcstof_internal,
  3504. __wcstod_internal, __wcstold_internal, __wcstol_internal,
  3505. __wcstoll_internal, __wcstoul_internal, ____wcstof_l_internal,
  3506. ____wcstod_l_internal, ____wcstold_l_internal, ____wcstol_l_internal,
  3507. ____wcstoll_l_internal, ____wcstoul_l_internal, __wcscasecmp_l,
  3508. __wcsncasecmp_l.
  3509. * sysdeps/generic/abort.c: Add libc_hidden_def.
  3510. * stdlib/strtod.c: Likewise.
  3511. * sysdeps/generic/strtol.c: Likewise.
  3512. * sysdeps/wordsize-64/strtol.c: Likewise.
  3513. * sysdeps/wordsize-64/wcstol.c: Likewise.
  3514. * sysdeps/wordsize-64/wcstol_l.c: Likewise.
  3515. * include/stdlib.h: Use libc_hidden_proto for qsort.
  3516. * stdlib/msort.c: Add libc_hidden_def.
  3517. * include/utime.h: Use libc_hidden_proto for utime.
  3518. * sysdeps/generic/utime.c: Add libc_hidden_def.
  3519. * sysdeps/unix/utime.c: Likewise.
  3520. * sysdeps/generic/utmp_file.c (LOCK_FILE): sigemptyset -> __sigemptyset
  3521. * sysdeps/posix/profil.c (__profil): sigfillset -> __sigfillset
  3522. * sysdeps/posix/sprofil.c (__sprofil): Likewise.
  3523. * shadow/lckpwdf.c (__lckpwdf): Likewise (both).
  3524. * sysdeps/posix/spawni.c (__spawni): sigismember -> __sigismember
  3525. * include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
  3526. sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
  3527. and __libc_current_sigrtmax.
  3528. * signal/sigismem.c: Add libc_hidden_def.
  3529. * signal/sigfillset.c: Likewise.
  3530. * signal/sigempty.c: Likewise.
  3531. * sysdeps/generic/sigpause.c (__sigpause): Likewise.
  3532. * sysdeps/posix/sigpause.c (__sigpause): Likewise.
  3533. * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
  3534. * sysdeps/posix/raise.c: Likewise.
  3535. * sysdeps/generic/raise.c: Likewise.
  3536. 2002-08-03 Ulrich Drepper <drepper@redhat.com>
  3537. * include/string.h: Use libc_hidden_proto for __stpcpy.
  3538. * sysdeps/alpha/stpcpy.S (__stpcpy): Add libc_hidden_def.
  3539. * sysdeps/alpha/alphaev67/stpcpy.S: Likewise.
  3540. * sysdeps/generic/stpcpy.c: Likewise.
  3541. * sysdeps/i386/stpcpy.S: Likewise.
  3542. * sysdeps/i386/i586/stpcpy.S: Likewise.
  3543. * sysdeps/powerpc/stpcpy.S: Likewise.
  3544. * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
  3545. * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
  3546. * include/string.h: Use libc_hidden_proto for __strcasecmp_l,
  3547. __strncasecmp_l, __strdup, __strndup, __strerror_r.
  3548. * sysdeps/generic/strcasecmp_l.c (__strcasecmp_l): Add
  3549. libc_hidden_def.
  3550. * string/strdup.c (__strdup): Likewise.
  3551. * string/strndup.c (__strndup): Likewise.
  3552. * sysdeps/generic/_strerror.c (__strerror_r): Likewise.
  3553. * sysdeps/generic/strncase_l.c (__strncasecmp_l): Likewise.
  3554. 2002-08-03 Jakub Jelinek <jakub@redhat.com>
  3555. * include/libio.h: New file.
  3556. * libio/libioP.h (__overflow, __woverflow): Remove libc_hidden_proto.
  3557. * libio/iolibio.h: #include <libio.h>, not "libio.h".
  3558. * sysdeps/generic/morecore.c (__sbrk): Add libc_hidden_proto.
  3559. * sysdeps/unix/bsd/syscalls.list: Remove all __GI_* aliases.
  3560. * sysdeps/unix/common/syscalls.list: Likewise.
  3561. * sysdeps/unix/inet/syscalls.list: Likewise.
  3562. * sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
  3563. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
  3564. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  3565. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  3566. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  3567. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  3568. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  3569. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  3570. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  3571. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Likewise.
  3572. * sysdeps/unix/syscalls.list: Likewise.
  3573. 2002-08-03 Jakub Jelinek <jakub@redhat.com>
  3574. Ulrich Drepper <drepper@redhat.com>
  3575. * malloc/malloc.c (public_cALLOc): Only divide if at least one of
  3576. the arguments is big enough to cause an overflow.
  3577. 2002-08-03 Ulrich Drepper <drepper@redhat.com>
  3578. * assert/assert.c: Use hidden_def not INTDEF.
  3579. 2002-08-03 Jakub Jelinek <jakub@redhat.com>
  3580. * include/libc-symbols.h: Optimize if HAVE_BROKEN_ALIAS_ATTRIBUTE is
  3581. not defined.
  3582. 2002-08-03 Roland McGrath <roland@redhat.com>
  3583. * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.
  3584. * include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn,
  3585. verr, verrx.
  3586. * include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch.
  3587. * misc/syslog.c: Add libc_hidden_def.
  3588. * misc/err.c: Likewise.
  3589. * stdlib/exit.c: Likewise.
  3590. * stdlib/bsearch.c: Likewise.
  3591. * sysdeps/generic/getenv.c: Likewise.
  3592. * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__].
  3593. * sysdeps/unix/make-syscalls.sh: Generate libc_hidden_def or
  3594. libc_hidden_weak for every system call symbol defined.
  3595. * include/time.h: Use libc_hidden_proto for time, asctime, mktime,
  3596. timelocal, localtime, strftime.
  3597. * time/asctime.c: Add libc_hidden_def.
  3598. * time/mktime.c: Likewise.
  3599. * time/localtime.c: Likewise.
  3600. * time/strftime.c: Likewise.
  3601. * time/strptime.c: Likewise.
  3602. * sysdeps/generic/time.c: Likewise.
  3603. * sysdeps/unix/time.c: Likewise.
  3604. * sysdeps/unix/sysv/i386/time.S: Likewise.
  3605. * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.
  3606. * include/arpa/inet.h: Use libc_hidden_proto for inet_ntop, inet_pton.
  3607. inet_makeaddr, inet_netof, inet_addr, __inet_addr.
  3608. * resolv/inet_ntop.c: Likewise.
  3609. * resolv/inet_pton.c: Likewise.
  3610. * inet/inet_mkadr.c: Add libc_hidden_def.
  3611. * inet/inet_netof.c: Likewise.
  3612. * resolv/inet_addr.c: Likewise.
  3613. * include/libc-symbols.h: Remove `defined HAVE_BROKEN_ALIAS_ATTRIBUTE'
  3614. clauses from conditionals for now. Will have to be fixed later
  3615. for older compilers.
  3616. * sysdeps/generic/mempcpy.c (__mempcpy): #undef it before defn.
  3617. 2002-08-02 Ulrich Drepper <drepper@redhat.com>
  3618. * configure.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add check for
  3619. broken alias attribute handling.
  3620. * config.h.in (HAVE_BROKEN_ALIAS_ATTRIBUTE): Add.
  3621. 2002-08-02 Roland McGrath <roland@frob.com>
  3622. * elf/Makefile ($(objpfx)interp.os): Depend on config.make,
  3623. since it sets the variables we use in a -D switch.
  3624. 2002-08-02 Roland McGrath <roland@redhat.com>
  3625. * posix/bits/posix1_lim.h (SSIZE_MAX): Define to LONG_MAX, not INT_MAX.
  3626. On 32-bit platforms they are the same; on 64-bit platforms ssize_t
  3627. matches long int, not int.
  3628. * locale/localeinfo.h (_NL_CURRENT_DATA): New macro.
  3629. * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it.
  3630. * locale/lc-ctype.c (_nl_postload_ctype): Likewise.
  3631. * wctype/wctrans.c (wctrans): Likewise.
  3632. * wctype/wctype.c (__wctype): Likewise.
  3633. * intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT.
  3634. 2002-08-02 Ulrich Drepper <drepper@redhat.com>
  3635. * assert/assert.c (__assert_fail): Fix typo in comment.
  3636. * include/rpc/rpc.h: Declare RPC_VARS tsd as extern.
  3637. * sunrpc/rpc_thread.c: Define it without static.
  3638. * sunrpc/Versions [libc] (GLIBC_PRIVATE): Export __libc_tsd_RPC_VARS.
  3639. 2002-08-02 Jakub Jelinek <jakub@redhat.com>
  3640. * assert/assert.c (__assert_fail): Remove undef.
  3641. Replace INTDEF with libc_hidden_def.
  3642. * assert/__assert.c (__assert): Remove INTUSE.
  3643. * elf/dl-minimal.c (__assert_fail): Replace INTDEF with
  3644. libc_hidden_weak.
  3645. * include/libc-symbols.h (hidden_proto, hidden_def, hidden_weak,
  3646. hidden_ver, libc_hidden_proto, libc_hidden_def, libc_hidden_weak,
  3647. libc_hidden_ver, rtld_hidden_proto, rtld_hidden_def, rtld_hidden_weak,
  3648. rltd_hidden_ver, libm_hidden_proto, libm_hidden_def, libm_hidden_weak,
  3649. libm_hiden_ver): Define.
  3650. * include/assert.h (__assert_fail_internal): Remove.
  3651. (__assert_fail): Add prototype. Add hidden_proto.
  3652. * include/libc-internal.h (__libc_freeres, __profile_frequency): Add
  3653. libc_hidden_proto.
  3654. * include/wchar.h (__mbrtowc_internal, __mbrlen_internal): Remove.
  3655. (__mbrtowc, __mbrlen): Use libc_hidden_proto. Remove macros.
  3656. * include/string.h (__mempcpy, __stpncpy, __rawmemchr, __strcasecmp):
  3657. Add libc_hidden_proto.
  3658. * include/fcntl.h (__open64, __libc_open, __libc_fcntl, __open,
  3659. __fcntl): Add libc_hidden_proto. Remove macros.
  3660. (__open_internal, __fcntl_internal): Remove.
  3661. * libio/iofdopen.c (_IO_fcntl): Remove INTUSE from __fcntl.
  3662. * malloc/set-freeres.c (__libc_freeres): Add libc_hidden_def.
  3663. * nss/nsswitch.h (__nss_database_lookup, __nss_next): Add
  3664. libc_hiden_proto.
  3665. * nss/nsswitch.c (__nss_database_lookup, __nss_next): Add
  3666. libc_hidden_def.
  3667. * sysdeps/generic/mempcpy.c (__mempcpy): Remove undef.
  3668. Add libc_hidden_def.
  3669. * sysdeps/generic/open64.c (__open64): Add libc_hidden_def.
  3670. * sysdeps/generic/open.c (__open): Remove undef.
  3671. Add libc_hidden_def. Remove INTDEF.
  3672. * sysdeps/generic/fcntl.c (__fcntl): Remove undef.
  3673. Add libc_hidden_def.
  3674. * sysdeps/mach/hurd/fcntl.c (__fcntl): Likewise.
  3675. * sysdeps/i386/i586/mempcpy.S (__mempcpy): Add libc_hidden_def.
  3676. * sysdeps/i386/i686/mempcpy.S (__mempcpy): Likewise.
  3677. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl, __fcntl): Remove undef.
  3678. (__fcntl): Remove INTDEF2. Add libc_hidden_weak.
  3679. (__libc_fcntl): Add libc_hidden_def.
  3680. * sysdeps/mach/hurd/open.c (__libc_open, __open): Remove undef.
  3681. (__open): Remove INTDEF2. Add libc_hidden_weak.
  3682. (__libc_open): Add libc_hidden_def.
  3683. * sysdeps/posix/open64.c (__open64): Add libc_hidden_weak.
  3684. * sysdeps/standalone/open.c (__open): Add libc_hidden_def.
  3685. * sysdeps/unix/sysv/aix/fcntl.c (__libc_fcntl, __fcntl): Remove undef.
  3686. Add libc_hidden_def.
  3687. * sysdeps/unix/sysv/aix/open.c (__libc_open, __open): Remove undef.
  3688. Add libc_hidden_def.
  3689. * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl, __fcntl): Remove
  3690. undef.
  3691. (__fcntl): Remove INTDEF2. Add libc_hidden_weak.
  3692. (__libc_fcntl): Add libc_hidden_def.
  3693. * sysdeps/unix/sysv/linux/syscalls.list (__fcntl_internal,
  3694. __getpgid_internal, __chown_internal): Remove.
  3695. (__GI___fcntl, __GI___libc_fcntl, __GI___getpgid, __GI___pipe,
  3696. __GI___sched_setscheduler, __GI___select, __GI___setpgid,
  3697. __GI___chown): Add.
  3698. * sysdeps/unix/syscalls.list (__close_internal, __dup2_internal,
  3699. __getpid_internal, __open_internal, __write_internal): Remove.
  3700. (__GI___fcntl, __GI___libc_fcntl, __GI___open, __GI___libc_open,
  3701. __GI___chown, __GI___close, __GI___dup2, __GI___getpid,
  3702. __GI___libc_open, __GI___open, __GI___read, __GI___libc_read,
  3703. __GI___select, __GI___statfs, __GI___write, __GI___libc_write): Add.
  3704. * wcsmbs/mbrlen.c (__mbrlen): Remove undef.
  3705. Replace INTDEF with libc_hidden_def.
  3706. * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
  3707. * catgets/catgetsinfo.h (__open_catalog): Add libc_hidden_proto.
  3708. * catgets/open_catalog.c (__open_catalog): Add libc_hidden_def.
  3709. * elf/dl-profile.c (__profile_frequency): Add libc_hidden_proto.
  3710. * include/rpc/rpc.h (__rpc_thread_svc_fdset, __rpc_thread_createerr):
  3711. Add libc_hidden_proto.
  3712. * include/sys/poll.h (__poll): Add libc_hidden_proto.
  3713. * include/sys/select.h (__select): Likewise.
  3714. * include/sys/socket.h (__send): Likewise.
  3715. * include/sys/statfs.h (__statfs): Likewise.
  3716. * include/unistd.h (__pwrite64, __libc_read, __pipe, __chown, __dup2,
  3717. __getpid, __getpgid, __setpgid, __close, __read, __write,
  3718. __getpagesize, __sbrk): Likewise.
  3719. (__chown_internal, __dup2_internal, __getpid_internal,
  3720. __getpgid_internal, __close_internal, __write_internal,
  3721. __getpagesize_internal): Remove.
  3722. (__close, __dup2, __getpagesize, __getpgid, __getpid, __libc_write):
  3723. Remove macros.
  3724. * include/printf.h (__printf_fp): Add libc_hidden_proto.
  3725. * include/sched.h (__sched_setscheduler): Likewise.
  3726. * include/resolv.h (__res_ninit, __res_randomid): Likewise.
  3727. * include/stdlib.h (__secure_getenv): Likewise.
  3728. * include/signal.h (__sigaction, __sigsuspend): Likewise.
  3729. * inet/getaliasent_r.c (NSS_attribute_hidden): Remove.
  3730. * inet/getaliasname_r.c (NSS_attribute_hidden): Remove.
  3731. * inet/getnetbyad_r.c (NSS_attribute_hidden): Remove.
  3732. * inet/getnetbynm_r.c (NSS_attribute_hidden): Remove.
  3733. * inet/getnetent_r.c (NSS_attribute_hidden): Remove.
  3734. * inet/getproto_r.c (NSS_attribute_hidden): Remove.
  3735. * inet/getprtent_r.c (NSS_attribute_hidden): Remove.
  3736. * inet/getprtname_r.c (NSS_attribute_hidden): Remove.
  3737. * inet/getrpcbyname_r.c (NSS_attribute_hidden): Remove.
  3738. * inet/getrpcbynumber_r.c (NSS_attribute_hidden): Remove.
  3739. * inet/getrpcent_r.c (NSS_attribute_hidden): Remove.
  3740. * inet/getservent_r.c (NSS_attribute_hidden): Remove.
  3741. * inet/getsrvbynm_r.c (NSS_attribute_hidden): Remove.
  3742. * inet/getsrvbypt_r.c (NSS_attribute_hidden): Remove.
  3743. * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Remove INTUSE.
  3744. * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise.
  3745. * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise.
  3746. * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise.
  3747. * libio/genops.c (__overflow): Add libc_hidden_def.
  3748. * libio/iovdprintf.c: Remove libio.h include.
  3749. * libio/libioP.h (libc_hidden_proto, libc_hidden_def,
  3750. libc_hidden_weak): Define to nothing if not defined.
  3751. (__overflow, __woverflow): Add libc_hidden_proto.
  3752. * libio/wgenops.c (__woverflow): Add libc_hidden_def.
  3753. * nss/getXXent_r.c (NSS_attribute_hidden): Remove.
  3754. (DB_LOOKUP_FCT): Add libc_hidden_proto.
  3755. * nss/getXXbyYY_r.c (NSS_attribute_hidden): Remove.
  3756. (DB_LOOKUP_FCT): Add libc_hidden_proto.
  3757. * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add libc_hidden_proto
  3758. and libc_hidden_def.
  3759. * nss/hosts-lookup.c (__nss_hosts_lookup): Remove INTDEF.
  3760. * posix/bsd-getpgrp.c (__getpgid_internal): Remove.
  3761. (__getpgid): Add libc_hidden_proto.
  3762. (__bsd_getpgrp): Remove INTUSE.
  3763. * resolv/res_init.c (__res_ninit, __res_randomid): Add
  3764. libc_hidden_def.
  3765. * shadow/getspent_r.c (NSS_attribute_hidden): Remove.
  3766. * shadow/getspnam_r.c (NSS_attribute_hidden): Remove.
  3767. * stdio-common/printf_fp.c (__printf_fp): Add libc_hidden_def.
  3768. * stdlib/strfmon.c (__printf_fp): Add libc_hidden_proto.
  3769. * stdlib/secure-getenv.c (__secure_getenv): Add libc_hidden_def.
  3770. * sunrpc/rpc_thread.c (__rpc_thread_svc_fdset,
  3771. __rpc_thread_createerr): Add libc_hidden_def.
  3772. * sysdeps/alpha/alphaev67/rawmemchr.S (__rawmemchr): Add
  3773. libc_hidden_def.
  3774. * sysdeps/alpha/alphaev67/stpncpy.S (__stpncpy): Likewise.
  3775. * sysdeps/alpha/rawmemchr.S (__rawmemchr): Likewise.
  3776. * sysdeps/alpha/stpncpy.S (__stpncpy): Likewise.
  3777. * sysdeps/generic/chown.c (__chown): Likewise.
  3778. * sysdeps/generic/close.c (__close): Likewise.
  3779. * sysdeps/generic/dup2.c (__dup2): Likewise.
  3780. * sysdeps/generic/pipe.c (__pipe): Likewise.
  3781. * sysdeps/generic/prof-freq.c (__profile_frequency): Likewise.
  3782. * sysdeps/generic/pwrite64.c (__pwrite64): Likewise.
  3783. * sysdeps/generic/rawmemchr.c (__rawmemchr): Likewise.
  3784. * sysdeps/generic/read.c (__libc_read): Likewise.
  3785. (__read): Add libc_hidden_weak.
  3786. * sysdeps/generic/sbrk.c (__sbrk): Add libc_hidden_def.
  3787. * sysdeps/generic/sched_sets.c (__sched_setscheduler): Likewise.
  3788. * sysdeps/generic/select.c (__select): Likewise.
  3789. * sysdeps/generic/send.c (__send): Likewise.
  3790. * sysdeps/generic/setpgid.c (__setpgid): Likewise.
  3791. * sysdeps/generic/sigaction.c (__sigaction): Likewise.
  3792. * sysdeps/generic/sigsuspend.c (__sigsuspend): Likewise.
  3793. * sysdeps/generic/statfs.c (__statfs): Likewise.
  3794. * sysdeps/generic/stpncpy.c (__stpncpy): Likewise.
  3795. * sysdeps/generic/strcasecmp.c (__strcasecmp): Likewise.
  3796. * sysdeps/generic/getpagesize.c (__getpagesize): Likewise.
  3797. Remove undef and INTDEF.
  3798. * sysdeps/generic/getpgid.c (__getpgid): Likewise.
  3799. * sysdeps/generic/getpid.c (__getpid): Likewise.
  3800. * sysdeps/generic/write.c (__libc_write): Likewise.
  3801. (__write): Add libc_hidden_weak. Remove undef and INTDEF.
  3802. * sysdeps/i386/rawmemchr.S (__rawmemchr): Add libc_hidden_def.
  3803. * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
  3804. * sysdeps/m68k/rawmemchr.S (__rawmemchr): Likewise.
  3805. * sysdeps/mach/hurd/chown.c (__chown): Likewise. Remove INTDEF.
  3806. * sysdeps/mach/hurd/close.c (__close): Add libc_hidden_def.
  3807. Remove undef and INTDEF.
  3808. * sysdeps/mach/hurd/dup2.c (__dup2): Likewise.
  3809. * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
  3810. * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
  3811. * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
  3812. * sysdeps/mach/hurd/write.c (__libc_write): Likewise.
  3813. (__write): Add libc_hidden_weak. Remove undef and INTDEF.
  3814. * sysdeps/mach/hurd/pipe.c: Include unistd.h.
  3815. (__pipe): Add libc_hidden_def.
  3816. * sysdeps/mach/hurd/dl-sysdep.c (__libc_read, __libc_write): Add
  3817. libc_hidden_weak.
  3818. * sysdeps/mach/hurd/poll.c (__poll): Add libc_hidden_def.
  3819. * sysdeps/mach/hurd/profil.c (__profile_frequency): Likewise.
  3820. * sysdeps/mach/hurd/read.c (__libc_read): Likewise.
  3821. (__read): Add libc_hidden_weak.
  3822. * sysdeps/mach/hurd/pwrite64.c (__pwrite64): Likewise.
  3823. (__libc_pwrite64): Add libc_hidden_def.
  3824. * sysdeps/mach/hurd/sbrk.c (__sbrk): Likewise.
  3825. * sysdeps/mach/hurd/select.c (__select): Likewise.
  3826. * sysdeps/mach/hurd/send.c (__send): Likewise.
  3827. * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
  3828. * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
  3829. * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
  3830. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise.
  3831. * sysdeps/posix/dup2.c: Likewise.
  3832. Remove undef and INTDEF.
  3833. * sysdeps/posix/getpagesize.c (__getpagesize): Likewise.
  3834. * sysdeps/posix/pwrite64.c (__libc_pwrite64): Add libc_hidden_def.
  3835. (__pwrite64): Add libc_hidden_weak.
  3836. * sysdeps/posix/sigsuspend.c (__sigsuspend): Add libc_hidden_def.
  3837. * sysdeps/sparc/sparc64/rawmemchr.S (__rawmemchr): Likewise.
  3838. * sysdeps/sparc/sparc64/stpncpy.S (__stpncpy): Likewise.
  3839. * sysdeps/standalone/close.c (__close): Likewise.
  3840. * sysdeps/standalone/write.c (__libc_write): Likewise.
  3841. (__write): Add libc_hidden_weak.
  3842. * sysdeps/standalone/read.c (__read): Likewise.
  3843. (__libc_read): Add libc_hidden_def.
  3844. * sysdeps/unix/grantpt.c (grantpt): Remove INTUSE.
  3845. * sysdeps/unix/bsd/m68k/pipe.S (__pipe): Add libc_hidden_def.
  3846. * sysdeps/unix/bsd/osf/alpha/pipe.S (__pipe): Likewise.
  3847. * sysdeps/unix/bsd/vax/pipe.S (__pipe): Likewise.
  3848. * sysdeps/unix/bsd/syscalls.list (__GI___getpagesize): Likewise.
  3849. * sysdeps/unix/bsd/poll.c (__poll): Likewise.
  3850. * sysdeps/unix/bsd/sigaction.c (__sigaction): Likewise.
  3851. * sysdeps/unix/bsd/sigsuspend.c (__sigsuspend): Likewise.
  3852. * sysdeps/unix/common/syscalls.list (__GI___getpgid, __GI___setpgid,
  3853. __GI___sigaction): Add.
  3854. * sysdeps/unix/i386/pipe.S (__pipe): Add libc_hidden_def.
  3855. * sysdeps/unix/inet/syscalls.list (__GI___send): Add.
  3856. * sysdeps/unix/mips/pipe.S (__pipe): Add libc_hidden_def.
  3857. * sysdeps/unix/sparc/pipe.S (__pipe): Likewise.
  3858. * sysdeps/unix/sysv/irix4/syscalls.list (__GI___getpgid,
  3859. __GI___setpgid): Add.
  3860. * sysdeps/unix/sysv/aix/chown.c (__chown): Add libc_hidden_def.
  3861. Remove undef and INTDEF.
  3862. * sysdeps/unix/sysv/aix/getpgid.c (__getpgid): Likewise.
  3863. * sysdeps/unix/sysv/aix/write.c (__write, __libc_write): Likewise.
  3864. * sysdeps/unix/sysv/aix/close.c (__close): Add libc_hidden_def.
  3865. * sysdeps/unix/sysv/aix/getpid.c (__getpid): Likewise.
  3866. * sysdeps/unix/sysv/aix/pipe.c (__pipe): Likewise.
  3867. * sysdeps/unix/sysv/aix/read.c (__read, __libc_read): Likewise.
  3868. * sysdeps/unix/sysv/aix/poll.c (__poll): Likewise.
  3869. * sysdeps/unix/sysv/aix/sbrk.c (__sbrk): Likewise.
  3870. * sysdeps/unix/sysv/aix/sigaction.c (__sigaction): Likewise.
  3871. * sysdeps/unix/sysv/aix/sigsuspend.c (__sigsuspend): Likewise.
  3872. * sysdeps/unix/sysv/aix/statfs.c (__statfs): Likewise.
  3873. * sysdeps/unix/sysv/aix/select.c (__select): Likewise.
  3874. * sysdeps/unix/sysv/aix/setpgid.c (__setpgid): Likewise.
  3875. * sysdeps/unix/sysv/linux/alpha/pipe.S (__pipe): Likewise.
  3876. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI___pwrite64,
  3877. __GI___statfs, __GI___send): Add.
  3878. * sysdeps/unix/sysv/linux/alpha/select.S (__select): Add
  3879. libc_hidden_ver resp. libc_hidden_def.
  3880. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend): Add
  3881. libc_hidden_def.
  3882. * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
  3883. Likewise. Remove undef and INTDEF.
  3884. * sysdeps/unix/sysv/linux/ia64/pipe.S (__pipe): Add libc_hidden_def.
  3885. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___pwrite64,
  3886. __GI___statfs, __GI___send): Add.
  3887. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction): Add
  3888. libc_hidden_def.
  3889. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend):
  3890. Likewise.
  3891. * sysdeps/unix/sysv/linux/sh/pipe.S (__pipe): Likewise.
  3892. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown): Add
  3893. libc_hidden_ver resp. libc_hidden_def.
  3894. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___pwrite64,
  3895. __GI___send): Add.
  3896. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction):
  3897. Add libc_hidden_weak.
  3898. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__sigsuspend):
  3899. Add libc_hidden_def.
  3900. * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI___send): Add.
  3901. * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction): Add
  3902. libc_hidden_weak.
  3903. * sysdeps/unix/sysv/linux/i386/chown.c (__chown): Add libc_hidden_ver
  3904. resp. libc_hidden_def.
  3905. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Add
  3906. libc_hidden_weak.
  3907. * sysdeps/unix/sysv/linux/m68k/chown.c (__chown): Likewise. Remove
  3908. INTDEF.
  3909. * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize):
  3910. Likewise. Remove undef.
  3911. * sysdeps/unix/sysv/linux/mips/pwrite64.c (__pwrite64): Add
  3912. libc_hidden_weak.
  3913. * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI___send): Add.
  3914. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction): Add
  3915. libc_hidden_weak.
  3916. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): Add
  3917. libc_hidden_def.
  3918. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c (__pwrite64): Likewise.
  3919. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize):
  3920. Likewise. Remove undef and INTDEF.
  3921. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__pipe): Add
  3922. libc_hidden_def.
  3923. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction): Add
  3924. libc_hidden_weak.
  3925. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__pipe): Add
  3926. libc_hidden_def.
  3927. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
  3928. (__GI___pwrite64, __GI___statfs, __GI___select, __GI___send): Add.
  3929. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction): Add
  3930. libc_hidden_weak.
  3931. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__sigsuspend):
  3932. Add libc_hidden_def.
  3933. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI___pwrite64,
  3934. __GI___statfs): Add.
  3935. * sysdeps/unix/sysv/linux/x86_64/send.c (__send): Add
  3936. libc_hidden_weak.
  3937. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction): Likewise.
  3938. * sysdeps/unix/sysv/linux/getpagesize.c: Add libc_hidden_def.
  3939. Remove undef and INTDEF.
  3940. * sysdeps/unix/sysv/linux/poll.c (__poll): Add libc_hidden_def.
  3941. * sysdeps/unix/sysv/linux/pwrite64.c (__pwrite64): Add
  3942. libc_hidden_def.
  3943. * sysdeps/unix/sysv/linux/send.S (__send): Likewise.
  3944. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Add
  3945. libc_hidden_weak.
  3946. * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Add
  3947. libc_hidden_def.
  3948. * sysdeps/unix/sysv/sco3.2.4/__setpgid.c (__setpgid): Likewise.
  3949. * sysdeps/unix/sysv/sco3.2.4/sigaction.S (__sigaction): Likewise.
  3950. * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list (__GI___sigaction):
  3951. Add.
  3952. * sysdeps/unix/sysv/sysv4/__getpgid.c (__getpgid): Add
  3953. libc_hidden_def. Remove undef and INTDEF.
  3954. * sysdeps/unix/sysv/sysv4/getpgid.c (__getpgid): Likewise.
  3955. * sysdeps/unix/sysv/sysv4/__setpgid.c (__setpgid): Add
  3956. libc_hidden_def.
  3957. * sysdeps/unix/sysv/sysv4/setpgid.c (__setpgid): Likewise.
  3958. * sysdeps/unix/sysv/sysv4/sigaction.c (__sigaction): Likewise.
  3959. * sysdeps/unix/sysv/sigaction.c (__sigaction): Likewise.
  3960. * sysdeps/unix/getpagesize.c (__getpagesize): Add libc_hidden_def.
  3961. Remove undef and INTDEF.
  3962. * configure.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add check for
  3963. broken visibility attribute handling.
  3964. * config.h.in (HAVE_BROKEN_VISIBILITY_ATTRIBUTE): Add.
  3965. 2002-08-02 Ulrich Drepper <drepper@redhat.com>
  3966. * locale/iso-639.def: Add entries for Venda and Nothern Sotho.
  3967. Reported by Dwayne Bailey <dwayne@obsidian.co.za>.
  3968. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Adapt
  3969. previous patch.
  3970. 2002-06-29 Todd Fries <todd@openbsd.org>
  3971. * resolv/gethnamaddr.c (gethostbyaddr): Try ip6.int if ip6.arpa fails.
  3972. 2002-08-02 Jakub Jelinek <jakub@redhat.com>
  3973. * include/errno.h: Don't include tls.h if _ISOMAC is defined.
  3974. 2002-07-30 Roland McGrath <roland@redhat.com>
  3975. * resolv/resolv.h (_res): Define macro unconditionally.
  3976. [! _LIBC_REENTRANT] (_res): Move this conditional decl to ...
  3977. * include/resolv.h: ... here.
  3978. [USE_TLS && HAVE___THREAD] (_res): #undef it and declare
  3979. as a __thread variable.
  3980. * resolv/res_libc.c [USE_TLS && HAVE___THREAD] (_res): Define it as
  3981. a __thread variable instead of a global.
  3982. * resolv/res_data.c [_LIBC]: Don't #undef _res.
  3983. * include/errno.h: Include <tls.h> to make sure USE_TLS defined by the
  3984. time we test it.
  3985. * intl/loadmsgcat.c [__GNUC__]: #undef alloca before defining it.
  3986. * malloc/malloc.c [_LIBC]: Include <string.h> instead of using local
  3987. decls of memset and memcpy.
  3988. * sysdeps/generic/sysdep.h (END): Conditionalize on [__ASSEMBLER__].
  3989. * sysdeps/unix/sysv/linux/i386/sysdep.h (L): Likewise.
  3990. * elf/dl-load.c (_dl_map_object_from_fd): Comment fix.
  3991. * sysdeps/generic/bits/libc-tsd.h [USE_TLS && HAVE___THREAD]
  3992. (__libc_tsd_define): Define using __thread.
  3993. * sunrpc/rpc_thread.c: Use __libc_tsd_define.
  3994. (__rpc_thread_variables): Use __libc_tsd_get.
  3995. (__rpc_thread_destroy): Use __libc_tsd_get instead of calling
  3996. __rpc_thread_variables, which might allocate what we're about to free.
  3997. * inet/herrno.c [USE_TLS && HAVE___THREAD] (h_errno): Define as a
  3998. thread-local variable.
  3999. * resolv/netdb.h (h_errno): Define macro unconditionally.
  4000. [_LIBC] (__set_h_errno): Macro moved to ...
  4001. * include/netdb.h: ... here.
  4002. [USE_TLS && HAVE___THREAD] (h_errno): Declare __thread variable.
  4003. [USE_TLS && HAVE___THREAD] (__set_h_errno): Define using that.
  4004. [! _LIBC_REENTRANT]: #undef h_errno here.
  4005. * include/errno.h: Protect from multiple inclusion.
  4006. * misc/sys/select.h (__NFDBITS, __FDELT, __FDMASK): #undef these
  4007. before defining them, since Linux's <linux/posix_types.h> might have
  4008. defined them.
  4009. 2002-08-02 Jakub Jelinek <jakub@redhat.com>
  4010. * malloc/malloc.c (public_cALLOc): Check for overflow on
  4011. multiplication.
  4012. * sunrpc/xdr_array.c (xdr_array): Likewise.
  4013. * sunrpc/rpc/types.h (mem_free): Add comment.
  4014. Patch by Solar Designer <solar@openwall.com>.
  4015. 2002-08-02 Jakub Jelinek <jakub@redhat.com>
  4016. * sysdeps/unix/sysv/linux/kernel-features.h
  4017. (__ASSUME_SET_THREAD_AREA_SYSCALL): Define.
  4018. 2002-08-01 Roland McGrath <roland@redhat.com>
  4019. * libio/fileops.c (_IO_file_sync_mmap): New function.
  4020. (_IO_file_jumps_mmap): Use it.
  4021. (_IO_file_underflow_mmap): Rewritten. If after EOF or fflush,
  4022. repeat the stat check and resize the mapped buffer as necessary.
  4023. 2002-07-31 Roland McGrath <roland@redhat.com>
  4024. * libio/fileops.c (decide_maybe_mmap): New static function.
  4025. Code taken from libio/iofopen.c:__fopen_maybe_mmap to try to
  4026. mmap the file contents. Then switch the jump tables to the mmap
  4027. tables if it worked, or the vanilla file tables if not.
  4028. (_IO_file_underflow_maybe_mmap): New function.
  4029. (_IO_file_seekoff_maybe_mmap): New function.
  4030. (_IO_file_xsgetn_maybe_mmap): New function.
  4031. (_IO_file_jumps_maybe_mmap): New variable, jump table using those.
  4032. * libio/libioP.h: Declare those.
  4033. * libio/wfileops.c (_IO_wfile_underflow_maybe_mmap): New function.
  4034. (_IO_wfile_jumps_maybe_mmap): New variable, jump table using that.
  4035. * libio/iofopen.c (__fopen_maybe_mmap): Don't try to mmap here.
  4036. If the stream is read-only, set its jump tables to those new ones.
  4037. * libio/iofdopen.c (_IO_new_fdopen) [_G_HAVE_MMAP]: Set the initial
  4038. jump tables to the maybe_mmap ones, and don't call __fopen_maybe_mmap.
  4039. We need the tables set before _IO_file_attach.
  4040. * libio/tst-mmap-eofsync.c: New file.
  4041. * libio/tst-mmap-fflushsync.c: New file.
  4042. * libio/bug-mmap-fflush.c: New file.
  4043. * libio/tst-mmap2-eofsync.c: New file.
  4044. * libio/Makefile (tests): Add them.
  4045. * libio/wfileops.c (_IO_wfile_underflow_mmap): Don't set EOF bit when
  4046. _IO_file_underflow_mmap fails, it already set the appropriate bit.
  4047. 2002-07-31 Jeff Bailey <jbailey@gnu.org>
  4048. * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
  4049. Declarations moved to <bits/sys_errlist.h>. Include that file.
  4050. * libio/Makefile (headers): Add bits/sys_errlist.h to the list.
  4051. * sysdeps/generic/bits/sys_errlist.h: New file. This does *not*
  4052. declare sys_errlist and sys_nerr.
  4053. * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file. Does
  4054. provide declarations.
  4055. 2002-07-31 Roland McGrath <roland@redhat.com>
  4056. * elf/rtld.c (dl_main): Fix typo in error message.
  4057. 2002-07-31 Roland McGrath <roland@frob.com>
  4058. * sysdeps/mach/hurd/Versions (ld: GLIBC_2.0): __fxstat -> __fxstat64,
  4059. __xstat -> __xstat64, __lseek -> __libc_lseek64. Completes 2002-06-09
  4060. sysdeps/mach/hurd/dl-sysdep.c change.
  4061. 2002-07-28 Ulrich Drepper <drepper@redhat.com>
  4062. * sysdeps/unix/sysv/linux/configure.in: Check /lib/modules/`uname
  4063. -r`/build/include for kernel headers.
  4064. * po/fi.po: New file.
  4065. 2002-07-15 Alexandre Oliva <aoliva@redhat.com>
  4066. * configure.in (static_nss): Set to `yes' if --disable-shared.
  4067. 2002-07-23 Bruno Haible <bruno@clisp.org>
  4068. * intl/loadmsgcat.c (PRI*): Redefine the macros if PRI_MACROS_BROKEN
  4069. is set.
  4070. 2002-07-25 Jakub Jelinek <jakub@redhat.com>
  4071. * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: New file.
  4072. * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Fix profil_counter
  4073. arguments.
  4074. 2002-07-25 Jakub Jelinek <jakub@redhat.com>
  4075. * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal): Add
  4076. alias.
  4077. 2002-07-21 Bruno Haible <bruno@clisp.org>
  4078. * intl/libintl.h (__GNU_GETTEXT_SUPPORTED_REVISION): New macro.
  4079. * intl/gettext.h (struct mo_file_header): New fields n_sysdep_segments,
  4080. sysdep_segments_offset, n_sysdep_strings, orig_sysdep_tab_offset,
  4081. trans_sysdep_tab_offset.
  4082. (struct sysdep_segment): New type.
  4083. (struct sysdep_string): New type.
  4084. (SEGMENTS_END): New macro.
  4085. * intl/gettextP.h (struct sysdep_string_desc): New type.
  4086. (struct loaded_domain): New fields malloced, n_sysdep_strings,
  4087. orig_sysdep_tab, trans_sysdep_tab, must_swap_hash_tab. Make fields
  4088. orig_tab, trans_tab, hash_tab to const pointers because they point
  4089. into read-only memory.
  4090. * intl/loadmsgcat.c: Include stdint.h, inttypes.h, hash-string.h.
  4091. (PRI*): Define fallback values.
  4092. (get_sysdep_segment_value): New function.
  4093. (_nl_load_domain): Distinguish major and minor revision parts. Add
  4094. support for minor revision 1 with system dependent strings.
  4095. (_nl_unload_domain): Also free the 'malloced' field.
  4096. * intl/dcigettext.c (_nl_find_msg): Remove test for domain->hash_size,
  4097. now done in loadmsgcat.c. Add support for system dependent strings.
  4098. 2002-07-16 Stepan Kasal <kasal@math.cas.cz>
  4099. * posix/bug-regex7.c: New file.
  4100. * posix/bug-regex8.c: New file.
  4101. * posix/Makefile (tests): Add bug-regex7 and bug-regex8.
  4102. 2002-07-16 Stepan Kasal <kasal@math.cas.cz>
  4103. * posix/bug-regex4.c (main): Fix typos.
  4104. * posix/bug-regex6.c (main): Likewise.
  4105. 2002-07-27 Ulrich Drepper <drepper@redhat.com>
  4106. * posix/bug-regex6.c (main): Fix warnings.
  4107. * iconvdata/Makefile (CPPFLAGS): Add NOT_IN_libc.
  4108. * iconv/iconv_prog.c (main): Improve error message for the cases
  4109. where -t and/or -f parameter are missing.
  4110. 2002-07-10 Stepan Kasal <kasal@math.cas.cz>
  4111. * posix/regexec.c (re_match): Reorganize to remove duplicate code.
  4112. (re_search): Likewise.
  4113. (re_match_2): Likewise.
  4114. (re_search_2): Likewise.
  4115. (re_search_stub): New function.
  4116. (re_search_2_stub): New function.
  4117. * regcomp.c (re_compile_pattern): Typo in a comment fixed.
  4118. 2002-07-10 Isamu Hasegawa <isamu@yamato.ibm.com>
  4119. * posix/regex_internal.h: Add new member STOP to struct re_string_t.
  4120. (re_string_eoi): Use STOP instead of LEN.
  4121. * posix/regex_internal.c (re_string_allocate): Initialize pstr->len.
  4122. (re_string_construct): Likewise.
  4123. (re_string_reconstruct): Adjust pstr->stop like pstr->len.
  4124. * posix/regexec.c (re_search_internal): Add a new argument STOP
  4125. so that it can handle the argument STOP of re_search_2 and re_match_2
  4126. correctly.
  4127. (regexec): Adapt to new I/F of re_search_internal.
  4128. (re_search_stub): Likewise.
  4129. 2002-07-25 Ulrich Drepper <drepper@redhat.com>
  4130. * sunrpc/clnt_gen.c: Don't include <sys/errno.h>.
  4131. * elf/dl-minimal.c: Remove definition of __assert_perror_fail.
  4132. * sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal.
  4133. * sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead
  4134. of __divdi3.
  4135. * sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal.
  4136. * sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise.
  4137. * sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal
  4138. alias for adjtimex syscall.
  4139. * elf/dl-minimal.c: Define __assert_fail_internal.
  4140. * assert/assert.c: Likewise.
  4141. * include/assert.h: Define __assert_file macro if !SHARED and not
  4142. NOT_IN_libc.
  4143. * iconv/Makefile: Define NOT_IN_libc for objects in standalone
  4144. programs.
  4145. * locale/Makefile: Likewise.
  4146. * nscd/Makefile: Likewise.
  4147. * catgets/Makefile: Likewise.
  4148. 2002-07-24 Ulrich Drepper <drepper@redhat.com>
  4149. * libio/fileops.c (_IO_file_seekoff_mmap): Do use fp->_offset to
  4150. compute current position.
  4151. * stdio-common/tst-fseek.c (main): Improve error messages.
  4152. * libio/tst-freopen.c (main): Remove unused variable.
  4153. * libio/fileops.c (_IO_file_seekoff_mmap): Set fp->_offset after
  4154. succesful seek call. Simplify error checking.
  4155. 2002-07-25 Jakub Jelinek <jakub@redhat.com>
  4156. * config.h.in: Use __ASSEMBLER__ test macro not ASSEMBLER.
  4157. * sysdeps/ia64/fpu/libm_support.h: Likewise.
  4158. 2002-07-19 Roland McGrath <roland@frob.com>
  4159. * hurd/hurdsig.c (_hurdsig_getenv): Always return null if
  4160. __libc_enable_secure is set.
  4161. 2002-07-24 Roland McGrath <roland@frob.com>
  4162. Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.
  4163. This implementation supports only IPv4.
  4164. * inet/ifaddrs.h: New file.
  4165. * sysdeps/generic/ifaddrs.c: New file.
  4166. * sysdeps/gnu/ifaddrs.c: New file.
  4167. * inet/test-ifaddrs.c: New file.
  4168. * inet/Makefile (routines): Add ifaddrs.
  4169. (headers): Add ifaddrs.h here.
  4170. (tests): Add test-ifaddrs.
  4171. * inet/Versions (GLIBC_2.3): New set, add getifaddrs and freeifaddrs.
  4172. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use an explicit
  4173. socket call to get an AF_INET socket, instead of using __opensock.
  4174. The SIOCGIFNETMASK ioctl will work only with a PF_INET socket.
  4175. * sysdeps/generic/ifreq.h (__ifreq): Take third argument SOCKFD,
  4176. if not -1 use it instead of calling __opensock.
  4177. * sysdeps/unix/sysv/linux/ifreq.h (__ifreq): Likewise.
  4178. * sysdeps/mach/hurd/ifreq.h (__ifreq): Take new argument and ignore it.
  4179. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Pass new argument.
  4180. * sysdeps/mach/hurd/ifreq.h: New file.
  4181. * sysdeps/generic/ifreq.h (__if_freereq): Take second argument NUM_IFS.
  4182. * sysdeps/unix/sysv/linux/ifreq.h (__if_freereq): Likewise.
  4183. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Update caller.
  4184. * libio/fileops.c (_IO_file_seekoff_mmap): Don't rely on FP->_offset,
  4185. which gets moved around. Calculate size of mmap'd buffer instead.
  4186. 2002-07-24 Philip Blundell <philb@gnu.org>
  4187. * sysdeps/unix/arm/brk.S: Improve schedule.
  4188. * sysdeps/unix/sysv/linux/arm/socket.S (PUSHARGS_1): Use more
  4189. efficient instruction.
  4190. (__socket): Optimize return sequence.
  4191. 2002-07-24 Ulrich Drepper <drepper@redhat.com>
  4192. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Prefer inet
  4193. sockets on old kernels.
  4194. 2002-07-22 Philip Blundell <philb@gnu.org>
  4195. * sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias
  4196. definiton of _old_sys_nerr. Define _old_sys_errlist as strong
  4197. alias.
  4198. 2002-07-24 Ulrich Drepper <drepper@redhat.com>
  4199. * locale/hashval.h: Make more self-contained by defining LONG_BITS.
  4200. * locale/programs/simple-hash.c: Remove LONG_BITS definition.
  4201. * locale/programs/locarchive.c (add_locale_to_archive): Correct
  4202. test to detect duplicate locales.
  4203. * libio/fileops.c (_IO_new_file_seekoff): Fail if relative
  4204. position would be before beginning of file.
  4205. (_IO_file_seekoff_mmap): Likewise.
  4206. * libio/Makefile (tests): Add bug-fseek.
  4207. * libio/bug-fseek.c: New file.
  4208. * intl/explodename.c: Remove support for CEN-style locale variables.
  4209. It was never used and shouldn't be since it's not portable.
  4210. * intl/finddomain.c: Likewise.
  4211. * intl/l10nflist.c: Likewise.
  4212. * intl/loadinfo.h: Likewise.
  4213. * locale/findlocale.c: Likewise.
  4214. 2002-07-24 Roland McGrath <roland@frob.com>
  4215. * libio/fileops.c (_IO_file_seekoff_mmap): When just examining the
  4216. position, calculate it to take into account an active pushback buffer.
  4217. * libio/Makefile (tests): Add bug-ungetc.
  4218. * libio/bug-ungetc.c: New file.
  4219. 2002-07-23 Ulrich Drepper <drepper@redhat.com>
  4220. * sysdeps/generic/libc-tls.c: New file.
  4221. * csu/Makefile (routines): Add libc-tls.
  4222. (static-only-routines): Add libc-tls.
  4223. * elf/dl-support.c (_dl_phdr): New variable.
  4224. (_dl_phnum): New variable.
  4225. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector.
  4226. * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code
  4227. for !SHARED. First look through auxiliary vector. If TLS always
  4228. call __pthread_initialize_minimal.
  4229. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument
  4230. in mmap call is never zero.
  4231. 2002-07-23 Andreas Jaeger <aj@suse.de>
  4232. * sysdeps/x86_64/fpu/s_copysign.S: Use optimized version.
  4233. * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
  4234. 2002-07-22 Ulrich Drepper <drepper@redhat.com>
  4235. * libio/tst-eof.c: Rewrite to let test-skeleton.c deal with
  4236. creation and removal of the temp file.
  4237. * libio/bug-rewind.c: Use test skeleton. Use create_temp_file for
  4238. file creation.
  4239. * test-skeleton.c (create_temp_file): New function.
  4240. 2002-07-22 Andreas Jaeger <aj@suse.de>
  4241. * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Use
  4242. local label.
  4243. 2002-07-21 Roland McGrath <roland@frob.com>
  4244. * wcsmbs/Makefile (strtox-CFLAGS): New variable,
  4245. put -I../include before -I../stdlib so we get the right errno.h et al.
  4246. (CFLAGS-wcstod.c): Use that variable instead of -I../stdlib.
  4247. (CFLAGS-wcstof.c): Likewise.
  4248. (CFLAGS-wcstold.c): Likewise.
  4249. (CFLAGS-wcstod_l.c): Likewise.
  4250. (CFLAGS-wcstof_l.c): Likewise.
  4251. (CFLAGS-wcstold_l.c): Likewise.
  4252. 2002-07-19 Roland McGrath <roland@frob.com>
  4253. * sysdeps/mach/hurd/errnos.awk: Remove __set_errno defn from output.
  4254. 2002-07-20 Ulrich Drepper <drepper@redhat.com>
  4255. * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define if
  4256. __ASSUME_AT_XID is defined.
  4257. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_XID): Define
  4258. for 2.4.1 and up.
  4259. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Optimize handling
  4260. of AT_UID, AT_EUID, AT_GID, and AT_EGID.
  4261. * wcsmbs/Makefile (CFLAGS-wcstod.c): Add -I../stdlib.
  4262. (CFLAGS-wcstof.c): Likewise.
  4263. (CFLAGS-wcstold.c): Likewise.
  4264. (CFLAGS-wcstod_l.c): Likewise.
  4265. (CFLAGS-wcstof_l.c): Likewise.
  4266. (CFLAGS-wcstold_l.c): Likewise.
  4267. 2002-07-18 Jakub Jelinek <jakub@redhat.com>
  4268. * resource/sys/resource.h (__rlimit_resource_t, __rusage_who_t,
  4269. __priority_which_t): Always typedef to int for C++.
  4270. 2002-07-19 Ulrich Drepper <drepper@redhat.com>
  4271. * configure.in: Add test for __thread support in compiler.
  4272. * config.h.in: Add HAVE___THREAD.
  4273. * Makefile (headers): Remove errno.h, sys/errno.h, and bits/errno.h.
  4274. * include/sys/errno.h: Moved to...
  4275. * stdlib/sys/errno.h: ...here. New file.
  4276. * stdlib/errno.h: New file. Moved from...
  4277. * include/errno.h: ...here. Changed into an internal header defining
  4278. libc-local things like __set_errno.
  4279. * stdlib/Makefile (headers): Add errno.h, sys/errno.h, and
  4280. bits/errno.h.
  4281. * elf/dl-minimal.c: Include <tls.h>. Define errno as thread-local
  4282. variable if USE_TLS && HAVE___THREAD. Don't define __errno_location
  4283. either.
  4284. * elf/rtld.c (_dl_start): Add code to initialize TLS for ld.so
  4285. from...
  4286. (_dl_start_final): ...here. Add code to initialize tls elements from
  4287. bootstrap_map.
  4288. * sysdeps/generic/errno-loc.c: Define errno as thread-local variable
  4289. if USE_TLS && HAVE___THREAD.
  4290. * sysdeps/generic/bits/errno.h: Remove __set_errno definition.
  4291. * sysdeps/mach/hurd/bits/errno.h: Likewise.
  4292. * sysdeps/standalone/arm/bits/errno.h: Likewise.
  4293. * sysdeps/standalone/bits/errno.h: Likewise.
  4294. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise.
  4295. * sysdeps/unix/sysv/aix/bits/errno.h: Likewise.
  4296. * sysdeps/unix/sysv/hpux/bits/errno.h: Likewise.
  4297. * sysdeps/unix/sysv/linux/bits/errno.h: Likewise.
  4298. * sysdeps/unix/sysv/linux/hppa/bits/errno.h: Likewise.
  4299. * sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
  4300. * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: Likewise.
  4301. * sysdeps/i386/dl-machine.c (elf_machine_rel) [RTLD_BOOTSTRAP]: Don't
  4302. use GL(dl_rtld_map), use map parameter.
  4303. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  4304. * sysdeps/unix/sysv/linux/i386/sysdep.S: Define errno in .tbss if
  4305. USE_TLS && HAVE___THREAD.
  4306. * sysdeps/unix/sysv/linux/i386/sysdep.h: Unify SETUP_PIC_REG
  4307. definitions. If USE_TLS && HAVE___THREAD store errooor value using
  4308. TLS code sequence.
  4309. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
  4310. * sysdeps/unix/sysv/linux/getcwd.c: No real need to restore errno.
  4311. * sysdeps/unix/sysv/linux/grantpt.c: Likewise.
  4312. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
  4313. * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
  4314. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  4315. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  4316. 2002-07-17 Ulrich Drepper <drepper@redhat.com>
  4317. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Fix MS_SYNC and
  4318. MS_INVALIDATE values.
  4319. 2002-07-17 Andreas Schwab <schwab@suse.de>
  4320. Ulrich Drepper <drepper@redhat.com>
  4321. * sysdeps/unix/sysv/linux/pread.c: Sign extend offset.
  4322. * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
  4323. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  4324. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  4325. 2002-07-01 H.J. Lu <hjl@gnu.org>
  4326. * elf/circleload1.c (load_dso): Call "circlemod1" and check
  4327. return value.
  4328. * elf/circlemod1.c (circlemod1): Return int.
  4329. * elf/circlemod2.c (circlemod2): Likewise.
  4330. * elf/circlemod2a.c (circlemod2): Likewise.
  4331. * elf/circlemod3.c (circlemod3): Likewise.
  4332. (circlemod3a): A new function.
  4333. 2002-07-16 Ulrich Drepper <drepper@redhat.com>
  4334. * catgets/tst-catgets.c (main): Don't expect results for
  4335. untranslated messages.
  4336. * glibcbug.in: Fix little typo. Remove STDIO.
  4337. * config.h.in: Fail if __FAST_MATH__ is defined.
  4338. * math/Makefile (CPPFLAGS-test-ifloat.c): Also define TEST_FAST_MATH.
  4339. (CPPFLAGS-test-idouble.c): Likewise.
  4340. (CPPFLAGS-test-ildouble.c): Likewise.
  4341. 2002-07-15 Ulrich Drepper <drepper@redhat.com>
  4342. * intl/tst-gettext.sh: Pass -f option to msgfmt.
  4343. * intl/tst-gettext.c: Correctly handle untranslated messages in
  4344. positive tests.
  4345. * po/de.po: Update from translation team.
  4346. 2002-07-02 H.J. Lu <hjl@gnu.org>
  4347. * sysdeps/mips/atomicity.h: Don't include <sgidefs.h>. Always
  4348. use ll/sc.
  4349. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
  4350. * sysdeps/unix/sysv/linux/configure.in: Set arch_minimum_kernel
  4351. to 2.4.0 for mips.
  4352. 2002-07-15 Ulrich Drepper <drepper@redhat.com>
  4353. * elf/dl-load.c (_dl_map_object_from_fd): If loaded object uses
  4354. TLS fail if USE_TLS is not defined.
  4355. * libio/wfileops.c (_IO_wfile_seekoff): Reposition wide pointers
  4356. and adjust state for seek position. [PR libc/4070]
  4357. * libio/Makefile (tests): Add bug-rewind.
  4358. * libio/bug-rewind.c: New file.
  4359. 2002-07-12 Philip Blundell <philb@gnu.org>
  4360. * sysdeps/generic/backtrace.c (FIRST_FRAME_POINTER): New macro.
  4361. (__backtrace): Use it.
  4362. * sysdeps/arm/frame.h (FIRST_FRAME_POINTER): Define. [PR libc/2632]
  4363. 2002-07-12 Philip Blundell <philb@gnu.org>
  4364. * sysdeps/arm/dl-machine.h (elf_machine_rel): Don't handle
  4365. R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
  4366. for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
  4367. (elf_machine_rela): Remove unused variable.
  4368. * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
  4369. (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
  4370. define.
  4371. 2002-07-12 Ulrich Drepper <drepper@redhat.com>
  4372. * iconvdata/gconv-modules: Add aliases for ISO-8859-11.
  4373. 2002-07-14 Andreas Jaeger <aj@suse.de>
  4374. * sysdeps/x86_64/bits/link.h: Add biarch support.
  4375. 2002-07-13 Andreas Jaeger <aj@suse.de>
  4376. * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
  4377. Use correct indices.
  4378. Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
  4379. 2002-07-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4380. * sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h.
  4381. * sysdeps/s390/s390-32/bits/byteswap.h: Remove.
  4382. * sysdeps/s390/s390-64/bits/byteswap.h: Remove.
  4383. * sysdeps/s390/bits/link.h: Unified 31/64 bit link.h.
  4384. * sysdeps/s390/s390-32/bits/link.h: Remove.
  4385. * sysdeps/s390/s390-64/bits/link.h: Remove.
  4386. * sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h.
  4387. * sysdeps/s390/s390-32/bits/setjmp.h: Remove.
  4388. * sysdeps/s390/s390-64/bits/setjmp.h: Remove.
  4389. * sysdeps/s390/bits/wordsize.h: New file.
  4390. * sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit
  4391. elfclass.h.
  4392. * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove.
  4393. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h.
  4394. * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove.
  4395. * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove.
  4396. * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h.
  4397. * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove.
  4398. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h.
  4399. * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove.
  4400. * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove.
  4401. * sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h.
  4402. * ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove.
  4403. * sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit
  4404. resource.h.
  4405. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove.
  4406. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove.
  4407. * sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h.
  4408. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove.
  4409. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h.
  4410. * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove.
  4411. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit
  4412. sigaction.h.
  4413. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove.
  4414. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit
  4415. siginfo.h.
  4416. * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove.
  4417. * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove.
  4418. * sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit
  4419. socket.h.
  4420. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove.
  4421. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h.
  4422. * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove.
  4423. * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove.
  4424. * sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h.
  4425. * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove.
  4426. * sysdeps/unix/sysv/linux/s390/net/route.h: New file.
  4427. * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit
  4428. procfs.h.
  4429. * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove.
  4430. * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove.
  4431. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit
  4432. ucontext.h.
  4433. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove.
  4434. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove.
  4435. 2002-07-11 Ulrich Drepper <drepper@redhat.com>
  4436. * Versions.def (libc): Add GLIBC_2.3.
  4437. * stdlib/Versions [libc] (GLIBC_2.3): Add realpath.
  4438. * stdlib/canonicalize.c: Add compatibility version for realpath
  4439. and make new code available in GLIBC_2.3.
  4440. 2002-07-06 Bruno Haible <bruno@clisp.org>
  4441. * malloc/hooks.c (public_gET_STATe): Access max_total_mem in mp_.
  4442. 2002-07-11 Ulrich Drepper <drepper@redhat.com>
  4443. * resolv/res_hconf.c (_res_hconf_init): Move code into new
  4444. function do_init. Use __libc_once.
  4445. (do_init): New function.
  4446. * iconvdata/iso8859-11.h: Removed.
  4447. * iconvdata/Makefile (gen-8bit-gap-modules): Add iso8859-11.
  4448. (distribute): Remove iso8859-11.h.
  4449. * iconvdata/tst-tables.sh: Add ISO-8859-11.
  4450. * stdio-common/vfscanf.c (inchar): Restore errno from previous
  4451. underflow operation if c == (W)EOF.
  4452. 2002-07-03 Jakub Jelinek <jakub@redhat.com>
  4453. * stdio-common/printf_fp.c (__printf_fp): If _FPIO_CONST_SHIFT is
  4454. non-zero, adjust exponent.
  4455. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl, erfl, __erfcl, erfcl):
  4456. Remove NO_LONG_DOUBLE aliases.
  4457. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l, expm1l): Likewise.
  4458. * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl, log1pl): Likewise.
  4459. (__log1pl): Raise divide by zero and invalid exceptions when needed.
  4460. * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Special case
  4461. 1**y and -1**+-Inf.
  4462. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
  4463. Fix BITS_PER_MP_LIMB 32 extraction.
  4464. * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Don't raise
  4465. exceptions for qNaNs.
  4466. * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
  4467. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgamma_r):
  4468. Raise exceptions when needed. Don't recurse unnecessarily.
  4469. Special case 1.0L and 2.0L arguments to avoid -0.0L as result.
  4470. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Don't raise
  4471. exceptions for qNaNs.
  4472. * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Make qs 64-bit
  4473. to fix *quo return value sign.
  4474. * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gamma_r): Special
  4475. case -Inf argument.
  4476. * soft-fp/op-4.h (_FP_FRAC_CLZ_4): Fix a pasto.
  4477. 2002-07-01 Jakub Jelinek <jakub@redhat.com>
  4478. * libio/tst-eof.c (do_test): Remove unused ch and tm variables.
  4479. * iconvdata/iso-2022-jp-3.c (EMIT_SHIFT_TO_INIT): Kill warnings if
  4480. -DNDEBUG.
  4481. 2002-07-10 Ulrich Drepper <drepper@redhat.com>
  4482. * malloc/hooks.c (realloc_check): If mremap succeeds actually use
  4483. the result.
  4484. * sysdeps/i386/i486/bits/string.h: Add early clobber for "a"
  4485. output parameter. Reported by Denis Zaitsev <zzz@cd-club.ru>.
  4486. * Versions.def (libthread_db): Add GLIBC_2.3.
  4487. 2002-07-09 Jakub Jelinek <jakub@redhat.com>
  4488. * libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the
  4489. new stream if possible.
  4490. * libio/freopen64.c (freopen64): Likewise.
  4491. * libio/Makefile (tests): Add tst-freopen.
  4492. * libio/tst-freopen.c: New file.
  4493. 2002-07-03 Jakub Jelinek <jakub@redhat.com>
  4494. * libio/stdio.h (obstack_printf): Add format attribute.
  4495. (obstack_vprintf): Likewise.
  4496. 2002-07-04 Jakub Jelinek <jakub@redhat.com>
  4497. * posix/regex_internal.h (re_token_t): Shrink the structure to 8
  4498. resp. 16 bytes on 32-bit resp. 64-bit platforms.
  4499. (re_charset_t, re_string_t): Reorder structure members for 64-bit
  4500. architectures.
  4501. 2002-07-04 Jakub Jelinek <jakub@redhat.com>
  4502. * posix/regcomp.c (re_compile_internal): Move clearing of dfa...
  4503. (init_dfa): ...here.
  4504. 2002-07-05 Isamu Hasegawa <isamu@yamato.ibm.com>
  4505. * posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and
  4506. OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP
  4507. nodes in parse trees.
  4508. (calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP
  4509. and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP.
  4510. (calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the
  4511. nodes which can epsilon transit.
  4512. * posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP
  4513. to IS_EPSILON_NODE macro.
  4514. * posix/regexec.c (update_regs): New function to update registers
  4515. by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes.
  4516. (proceed_next_node): Use the entities of the nodes to determine
  4517. whether the node can transit to.
  4518. (set_regs): Use update_regs function to update registers.
  4519. 2002-07-03 Jakub Jelinek <jakub@redhat.com>
  4520. * posix/bug-regex4.c (main): Remove duplicate setlocale.
  4521. * posix/bug-regex6.c: New file.
  4522. * posix/Makefile (tests): Add bug-regex6.
  4523. (bug-regex6-ENV): Set LOCPATH.
  4524. 2002-07-10 Ulrich Drepper <drepper@redhat.com>
  4525. * Versions.def [libpthread]: Add GLIBC_2.2.6.
  4526. * posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep.
  4527. 2002-07-06 Bruno Haible <bruno@clisp.org>
  4528. * sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value.
  4529. 2002-07-06 Bruno Haible <bruno@clisp.org>
  4530. * include/sys/socket.h (__libc_sendto, __libc_recvfrom): New
  4531. declarations.
  4532. * sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7.
  4533. * rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.
  4534. * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H,
  4535. not _UTSNAME_H.
  4536. * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
  4537. * sysdeps/generic/bits/stropts.h: Protect against direct inclusion.
  4538. * sysdeps/generic/bits/ustat.h: Likewise.
  4539. * sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to 2048.
  4540. 2002-07-08 Andreas Jaeger <aj@suse.de>
  4541. * sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start.
  4542. 2002-07-08 Andreas Jaeger <aj@suse.de>
  4543. * sysdeps/x86_64/fpu/s_fdiml.S: Fix wrong register name.
  4544. 2002-07-06 Andreas Jaeger <aj@suse.de>
  4545. * sysdeps/x86_64/fpu/bits/mathinline.h: New file.
  4546. * sysdeps/x86_64/fpu/s_copysign.S: New file.
  4547. * sysdeps/x86_64/fpu/s_copysignf.S: New file.
  4548. * sysdeps/x86_64/fpu/s_copysignl.S: New file.
  4549. * sysdeps/x86_64/fpu/s_finitel.S: New file.
  4550. * sysdeps/x86_64/fpu/s_fmax.S: New file.
  4551. * sysdeps/x86_64/fpu/s_fmaxf.S: New file.
  4552. * sysdeps/x86_64/fpu/s_fmaxl.S: New file.
  4553. * sysdeps/x86_64/fpu/s_fmin.S: New file.
  4554. * sysdeps/x86_64/fpu/s_fminf.S: New file.
  4555. * sysdeps/x86_64/fpu/s_fminl.S: New file.
  4556. 2002-06-05 Brian Youmans <3diff@gnu.org>
  4557. * sysdeps/ia64/fpu/e_acos.S: Added text of Intel license.
  4558. * sysdeps/ia64/fpu/e_acosf.S: Likewise.
  4559. * sysdeps/ia64/fpu/e_acosl.S: Likewise.
  4560. * sysdeps/ia64/fpu/e_asin.S: Likewise.
  4561. * sysdeps/ia64/fpu/e_asinf.S: Likewise.
  4562. * sysdeps/ia64/fpu/e_asinl.S: Likewise.
  4563. * sysdeps/ia64/fpu/e_atan2.S: Likewise.
  4564. * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
  4565. * sysdeps/ia64/fpu/e_cosh.S: Likewise.
  4566. * sysdeps/ia64/fpu/e_coshf.S: Likewise.
  4567. * sysdeps/ia64/fpu/e_coshl.S: Likewise.
  4568. * sysdeps/ia64/fpu/e_exp.S: Likewise.
  4569. * sysdeps/ia64/fpu/e_expf.S: Likewise.
  4570. * sysdeps/ia64/fpu/e_fmod.S: Likewise.
  4571. * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
  4572. * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
  4573. * sysdeps/ia64/fpu/e_hypot.S: Likewise.
  4574. * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
  4575. * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
  4576. * sysdeps/ia64/fpu/e_log.S: Likewise.
  4577. * sysdeps/ia64/fpu/e_logf.S: Likewise.
  4578. * sysdeps/ia64/fpu/e_pow.S: Likewise.
  4579. * sysdeps/ia64/fpu/e_powf.S: Likewise.
  4580. * sysdeps/ia64/fpu/e_powl.S: Likewise.
  4581. * sysdeps/ia64/fpu/e_remainder.S: Likewise.
  4582. * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
  4583. * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
  4584. * sysdeps/ia64/fpu/e_scalb.S: Likewise.
  4585. * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
  4586. * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
  4587. * sysdeps/ia64/fpu/e_sinh.S: Likewise.
  4588. * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
  4589. * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
  4590. * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
  4591. * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
  4592. * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
  4593. * sysdeps/ia64/fpu/libm_atan2_req.S: Likewise.
  4594. * sysdeps/ia64/fpu/libm_error.c: Likewise.
  4595. * sysdeps/ia64/fpu/libm_frexp4.S: Likewise.
  4596. * sysdeps/ia64/fpu/libm_frexp4f.S: Likewise.
  4597. * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
  4598. * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
  4599. * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
  4600. * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
  4601. * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
  4602. * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
  4603. * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
  4604. * sysdeps/ia64/fpu/s_log1p.S: Likewise.
  4605. * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
  4606. * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
  4607. * sysdeps/ia64/fpu/s_logb.S: Likewise.
  4608. * sysdeps/ia64/fpu/s_logbf.S: Likewise.
  4609. * sysdeps/ia64/fpu/s_logbl.S: Likewise.
  4610. * sysdeps/ia64/fpu/s_modf.S: Likewise.
  4611. * sysdeps/ia64/fpu/s_modff.S: Likewise.
  4612. * sysdeps/ia64/fpu/s_modfl.S: Likewise.
  4613. * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
  4614. * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
  4615. * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
  4616. * sysdeps/ia64/fpu/s_rint.S: Likewise.
  4617. * sysdeps/ia64/fpu/s_rintf.S: Likewise.
  4618. * sysdeps/ia64/fpu/s_rintl.S: Likewise.
  4619. * sysdeps/ia64/fpu/s_round.S: Likewise.
  4620. * sysdeps/ia64/fpu/s_roundf.S: Likewise.
  4621. * sysdeps/ia64/fpu/s_roundl.S: Likewise.
  4622. * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
  4623. * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
  4624. * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
  4625. * sysdeps/ia64/fpu/s_significand.S: Likewise.
  4626. * sysdeps/ia64/fpu/s_significandf.S: Likewise.
  4627. * sysdeps/ia64/fpu/s_significandl.S: Likewise.
  4628. * sysdeps/ia64/fpu/s_tan.S: Likewise.
  4629. * sysdeps/ia64/fpu/s_tanf.S: Likewise.
  4630. * sysdeps/ia64/fpu/s_tanl.S: Likewise.
  4631. * sysdeps/ia64/fpu/s_trunc.S: Likewise.
  4632. * sysdeps/ia64/fpu/s_truncf.S: Likewise.
  4633. * sysdeps/ia64/fpu/s_truncl.S: Likewise.
  4634. * sysdeps/ieee754/dbl-64/doasin.c: Changed copyright notice to
  4635. reflect IBM donation of math library to FSF
  4636. * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
  4637. * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
  4638. * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
  4639. * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
  4640. * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
  4641. * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
  4642. * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
  4643. * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
  4644. * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
  4645. * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
  4646. * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
  4647. * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
  4648. * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
  4649. * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
  4650. * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
  4651. * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
  4652. * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
  4653. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  4654. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  4655. * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
  4656. * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
  4657. * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
  4658. * sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice
  4659. * sysdeps/vax/__longjmp.c: Likewise.
  4660. * sysdeps/vax/setjmp.c: Likewise.
  4661. * libio/filedoalloc.c: Fixed BSD copying permission notice to
  4662. remove advertising clause
  4663. * sysdeps/vax/htonl.s: Likewise.
  4664. * sysdeps/vax/htons.s: Likewise.
  4665. * libio/wfiledoalloc.c: Likewise.
  4666. * stdlib/random.c: Likewise.
  4667. * stdlib/random_r.c: Likewise.
  4668. * sysdeps/mach/sys/reboot.h: Likewise.
  4669. * inet/getnameinfo.c: Deleted advertising clause from Inner Net License
  4670. * sysdeps/posix/getaddrinfo.c: Likewise.
  4671. * sunrpc/des_impl.c: Updated license permission notice to Lesser
  4672. GPL and corrected pointer to point to the correct license.
  4673. 2002-07-04 Andreas Jaeger <aj@suse.de>
  4674. * scripts/config.guess: New upstream version.
  4675. * scripts/config.sub: Likewise.
  4676. 2002-07-02 Andreas Schwab <schwab@suse.de>
  4677. * resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen
  4678. in parallel to bumping up the buffer pointer.
  4679. 2002-07-01 Jakub Jelinek <jakub@redhat.com>
  4680. * math/libm-test.inc (acos_test): Add missing L suffix for
  4681. expected result.
  4682. (cpow_test): Likewise.
  4683. * sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove
  4684. error for acos (0.0625).
  4685. 2002-06-30 Ulrich Drepper <drepper@redhat.com>
  4686. * locale/iso-639.def: Add entry for Ganda.
  4687. * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE3): New
  4688. definition.
  4689. (address_finish): Handle entries with two letter ISO 639 code.
  4690. * iconvdata/Makefile: Recreate gconv-modules.cache file in target
  4691. directory if it existed before.
  4692. * iconv/iconvconfig.c: Implement --prefix option.
  4693. * math/libm-test.inc (cexp_test): Add missing L suffix for
  4694. expected result. Reported by Stephen L Moshier <steve@moshier.net>.
  4695. * sysdeps/i386/fpu/libm-test-ulps: Adjust error for cexp (0.75 +
  4696. 1.25 i).
  4697. 2002-05-29 H.J. Lu <hjl@gnu.org>
  4698. * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug
  4699. is turned on.
  4700. 2002-05-28 H.J. Lu <hjl@gnu.org>
  4701. * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which
  4702. are not dlopened on the dependency list of a dlopened object.
  4703. 2002-06-30 Ulrich Drepper <drepper@redhat.com>
  4704. * elf/dl-lookup.c (add_dependency): It is not necessary to add
  4705. dependencies if they are created between objects which are created
  4706. while processing RTLD_NOW for objects loaded as part of the same
  4707. dlopen call.
  4708. 2002-06-14 H.J. Lu <hjl@gnu.org>
  4709. * elf/Makefile (tests): Add circleload1.
  4710. (modules-names): Add circlemod1, circlemod2, circlemod3,
  4711. circlemod1a, circlemod2a and circlemod3a.
  4712. ($(objpfx)circleload1): New target.
  4713. ($(objpfx)circleload1.out): Likewise.
  4714. ($(objpfx)circlemod1.so): Likewise.
  4715. ($(objpfx)circlemod2.so): Likewise.
  4716. ($(objpfx)circlemod1a.so): Likewise.
  4717. ($(objpfx)circlemod2a.so): Likewise.
  4718. * elf/circleload1.c: New file.
  4719. * elf/circlemod1.c: New file.
  4720. * elf/circlemod1a.c: New file.
  4721. * elf/circlemod2.c: New file.
  4722. * elf/circlemod2a.c: New file.
  4723. * elf/circlemod3.c: New file.
  4724. * elf/circlemod3a.c: New file.
  4725. 2002-06-18 Amos Waterland <apw@us.ibm.com>
  4726. * sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid
  4727. file descriptor.
  4728. * sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd;
  4729. add check for fd not open for writing.
  4730. * sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for
  4731. completed element(s) and do not suspend thread if so. Patch
  4732. heavily modified by drepper.
  4733. * rt/tst-aio7.c: New file. Regression test for problems which the
  4734. above three changes fix.
  4735. * rt/Makefile (tests): Add tst-aio7.
  4736. 2002-06-29 Ulrich Drepper <drepper@redhat.com>
  4737. * rt/tst-aio6.c: Fix comment.
  4738. * catgets/gencat.c (read_input_file): Handle more than one slash
  4739. at end of line correctly [PR libc/3926].
  4740. Based on a patch by Steven Kim <steven.kim@peregrine.com>.
  4741. * catgets/sample.SJIS: Add test case for above bug.
  4742. * catgets/test-gencat.c: Adjust test code.
  4743. * catgets/test-gencat.sh: Adjust expected results.
  4744. * elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
  4745. to skip relative relocations.
  4746. Patch by Geoff Keating <geoffk@redhat.com>.
  4747. 2002-05-26 Bruno Haible <bruno@clisp.org>
  4748. * iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro.
  4749. (STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER.
  4750. All callers changed.
  4751. * iconv/gconv_simple.c (ascii_internal_loop): For error handling use
  4752. STANDARD_FROM_LOOP_ERR_HANDLER.
  4753. (utf8_internal_loop): Likewise.
  4754. (ucs2_internal_loop): Likewise.
  4755. (internal_ucs2_loop): Perform error handling like in
  4756. STANDARD_FROM_LOOP_ERR_HANDLER.
  4757. * iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like
  4758. in STANDARD_FROM_LOOP_ERR_HANDLER.
  4759. (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
  4760. handling.
  4761. * iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like
  4762. in STANDARD_FROM_LOOP_ERR_HANDLER.
  4763. (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
  4764. handling.
  4765. * iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like
  4766. in STANDARD_FROM_LOOP_ERR_HANDLER.
  4767. (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
  4768. handling.
  4769. * iconvdata/big5.c (BODY for FROM_LOOP): For error handling use
  4770. STANDARD_FROM_LOOP_ERR_HANDLER.
  4771. * iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
  4772. * iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise.
  4773. * iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise.
  4774. * iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise.
  4775. * iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise.
  4776. * iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise.
  4777. * iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise.
  4778. * iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise.
  4779. * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise.
  4780. * iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise.
  4781. * iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise.
  4782. * iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise.
  4783. * iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise.
  4784. * iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise.
  4785. * iconvdata/gbk.c (BODY for FROM_LOOP): Likewise.
  4786. * iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise.
  4787. * iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise.
  4788. * iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise.
  4789. * iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
  4790. * iconvdata/iso646.c (BODY for FROM_LOOP): Likewise.
  4791. * iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise.
  4792. * iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise.
  4793. * iconvdata/johab.c (BODY for FROM_LOOP): Likewise.
  4794. * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
  4795. * iconvdata/sjis.c (BODY for FROM_LOOP): Likewise.
  4796. * iconvdata/t.61.c (BODY for FROM_LOOP): Likewise.
  4797. * iconvdata/uhc.c (BODY for FROM_LOOP): Likewise.
  4798. * iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise.
  4799. * iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise. When ignoring
  4800. an error, still set result = __GCONV_ILLEGAL_INPUT.
  4801. (BODY for TO_LOOP): Likewise.
  4802. * iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use
  4803. STANDARD_FROM_LOOP_ERR_HANDLER.
  4804. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4805. * iconvdata/ibm932.c: Include <dlfcn.h> and <stdint.h>.
  4806. (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
  4807. handling.
  4808. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4809. * iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use
  4810. STANDARD_FROM_LOOP_ERR_HANDLER.
  4811. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4812. * iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use
  4813. STANDARD_FROM_LOOP_ERR_HANDLER.
  4814. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4815. * iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use
  4816. STANDARD_FROM_LOOP_ERR_HANDLER.
  4817. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4818. * iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use
  4819. STANDARD_FROM_LOOP_ERR_HANDLER.
  4820. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4821. * iconvdata/ibm943.c: Include <dlfcn.h> and <stdint.h>.
  4822. (BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
  4823. handling.
  4824. (BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
  4825. * iconvdata/gbgbk.c (BODY for FROM_LOOP): Update.
  4826. * iconvdata/iso8859-1.c (BODY for TO_LOOP): Update.
  4827. * iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update.
  4828. 2002-06-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  4829. * sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local
  4830. labels in assembler instructions.
  4831. 2002-06-25 Ulrich Drepper <drepper@redhat.com>
  4832. * libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if
  4833. not enough content is available.
  4834. * libio/tst-eof.c: New file.
  4835. * libio/Makefile (tests): Add tst-eof.
  4836. * libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to
  4837. update atime.
  4838. * libio/tst-atime.c: New file.
  4839. * libio/Makefile (tests): Add tst-atime.
  4840. * argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in
  4841. handling of overly long words.
  4842. 2002-06-25 Andreas Jaeger <aj@suse.de>
  4843. * sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
  4844. to not use 32-bit pc relative relocations.
  4845. (elf_machine_dynamic): Likewise.
  4846. 2002-06-21 Ulrich Drepper <drepper@redhat.com>
  4847. * sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL]
  4848. (__GETDENTS): Check for failed getdents64 syscall.
  4849. * dirent/Makefile (tests): Add bug-readdir1.
  4850. * dirent/bug-readdir1.c: New file.
  4851. 2002-06-17 Jakub Jelinek <jakub@redhat.com>
  4852. * elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS
  4853. lookups.
  4854. * elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING
  4855. code. Print TLS modid and offset for modules containing PT_TLS
  4856. segments.
  4857. 2002-06-09 Jakub Jelinek <jakub@redhat.com>
  4858. * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
  4859. * sysdeps/unix/sysv/linux/dl-brk.c: ...here.
  4860. * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
  4861. * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
  4862. 2002-06-07 Jakub Jelinek <jakub@redhat.com>
  4863. * nss/getXXbyYY_r.c (NEW, NEW1): Define.
  4864. (NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME).
  4865. (REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME).
  4866. * nss/getXXent_r.c (NEW, NEW1): Define.
  4867. (NEW (REENTRANT_GETNAME)): Strong alias to
  4868. INTERNAL (REENTRANT_GETNAME).
  4869. (REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME).
  4870. 2002-06-21 Ulrich Drepper <drepper@redhat.com>
  4871. * libio/fileops.c (_IO_file_setbuf_mmap): New function.
  4872. (_IO_file_jumps_mmap): Use it.
  4873. * libio/iosetvbuf.c: Don't call _IO_WSETBUF.
  4874. * libio/libioP.h: Remove _IO_wdefault_setbuf and
  4875. _IO_wdefault_setbuf_internal prorotypes. Add _IO_file_setbuf_mmap
  4876. prototype.
  4877. * libio/wfileops.c (_IO_wfile_setbuf): Removed.
  4878. (_IO_wfile_jumps_mmap): Don't use it anymore.
  4879. * libio/wgenops.c (_IO_wdefault_setbuf): Removed.
  4880. * libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not
  4881. _IO_wdefault_setbuf.
  4882. * libio/vswprintf.c (_IO_wstrn_jumps): Likewise.
  4883. * libio/wstrops.c (_IO_wstr_jumps): Likewise.
  4884. * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
  4885. 2002-06-05 Jakub Jelinek <jakub@redhat.com>
  4886. * libio/Makefile (tests): Add tst-mmap-setvbuf.
  4887. * libio/tst-mmap-setvbuf.c: New test.
  4888. 2002-06-21 Andreas Jaeger <aj@suse.de>
  4889. * sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3.
  4890. 2002-06-18 Jakub Jelinek <jakub@redhat.com>
  4891. * include/unistd.h (__fork_internal): Remove.
  4892. (__fork): Don't define to __fork_internal.
  4893. * sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF.
  4894. * sysdeps/unix/sysv/aix/fork.c (__fork): Likewise.
  4895. * sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias.
  4896. * sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise.
  4897. * sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise.
  4898. 2002-06-20 Ulrich Drepper <drepper@redhat.com>
  4899. * po/hr.po: New file.
  4900. 2002-06-11 Wolfram Gloger <wg@malloc.de>
  4901. * malloc/malloc.c: Fix error path when new_heap() returns NULL.
  4902. Reported by Michael Meissner <meissner@redhat.com>.
  4903. 2002-06-20 Ulrich Drepper <drepper@redhat.com>
  4904. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo.
  4905. Patch by Hans Boehm <hans_boehm@hp.com>.
  4906. 2002-06-20 Andreas Jaeger <aj@suse.de>
  4907. * math/libm-test.inc: Use exact values as input parameters,
  4908. compute output parameters with 36 digits for 128-bit long doubles.
  4909. * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
  4910. * sysdeps/x86-64/fpu/libm-test-ulps: Regenerated.
  4911. * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
  4912. 2002-06-13 Stephen L Moshier <steve@moshier.net>
  4913. * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which
  4914. argument or result is subnormal.
  4915. 2002-06-19 Ulrich Drepper <drepper@redhat.com>
  4916. * sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the
  4917. quotient.
  4918. * sysdeps/i386/fpu/s_remquof.S: Likewise.
  4919. * sysdeps/i386/fpu/s_remquol.S: Likewise.
  4920. * sysdeps/hppa/dl-machine.h: Don't use multi-line string literals.
  4921. 2002-06-17 David Mosberger <davidm@hpl.hp.com>
  4922. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix
  4923. typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.
  4924. Reported by Peter A. Buhr.
  4925. 2002-06-15 Roland McGrath <roland@frob.com>
  4926. * sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a
  4927. warning.
  4928. * sysdeps/mach/hurd/getcwd.c
  4929. (_hurd_canonicalize_directory_name_internal): unsigned int -> size_t
  4930. * sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ...
  4931. * sysdeps/generic/bits/ustat.h: ... here (was almost identical).
  4932. * sysdeps/alpha/divrem.h: Use local label instead of global one for
  4933. jump to local subroutine.
  4934. 2002-06-14 Roland McGrath <roland@frob.com>
  4935. * sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
  4936. * sysdeps/mach/hurd/Makeconfig: ... here.
  4937. 2002-06-13 Andreas Schwab <schwab@suse.de>
  4938. * sysdeps/m68k/fpu/s_finite.c: Remove INTDEF.
  4939. * sysdeps/m68k/fpu/s_finitef.c: Likewise.
  4940. * sysdeps/m68k/fpu/s_finitel.c: Likewise.
  4941. 2002-06-13 Roland McGrath <roland@frob.com>
  4942. * hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.
  4943. * hurd/hurdstartup.c (_hurd_startup): Likewise.
  4944. Use intptr_t instead of int for argc in stack layout.
  4945. * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type.
  4946. (_dl_init_first): Likewise.
  4947. (_hurd_stack_setup): Likewise.
  4948. (init1): Add a cast.
  4949. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type.
  4950. * sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT
  4951. argument to pfinet_siocgifconf RPC.
  4952. 2002-06-13 Andreas Schwab <schwab@suse.de>
  4953. * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct
  4954. expansion order.
  4955. 2002-06-12 Roland McGrath <roland@frob.com>
  4956. * sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define
  4957. if already defined.
  4958. [USE_IN_LIBIO]: Conditionalize versioned_symbol use on
  4959. [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.
  4960. 2002-06-11 Roland McGrath <roland@frob.com>
  4961. * sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the
  4962. file on [!RTLD_STAT64].
  4963. * sysdeps/mach/hurd/fxstat64.c: Likewise.
  4964. * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile.
  4965. (__fdopen): Use INTUSE.
  4966. * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder.
  4967. * stdio-common/tmpfile64.c: File removed.
  4968. * sysdeps/generic/tmpfile64.c: New file.
  4969. * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE
  4970. if not already defined.
  4971. (tmpfile): Use it in place of __GT_FILE.
  4972. * include/unistd.h: Declare __chown_internal.
  4973. * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here.
  4974. * sysdeps/mach/hurd/sendfile.c (sendfile): Call that.
  4975. 2002-06-09 Roland McGrath <roland@frob.com>
  4976. Update to new Hurd RPC interfaces supporting 64-bit file sizes.
  4977. * sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with
  4978. value of HURD_INTERFACE_VERSION >= 20020609.
  4979. * sysdeps/mach/hurd/configure: Regenerated.
  4980. * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3.
  4981. * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to
  4982. convert a struct stat64 into a struct stat and return 0 or -1
  4983. with errno set to EOVERFLOW.
  4984. * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise
  4985. for struct statfs64 to struct statfs.
  4986. * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ...
  4987. * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here.
  4988. * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
  4989. * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
  4990. * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
  4991. * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
  4992. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise.
  4993. * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise.
  4994. * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise.
  4995. * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise.
  4996. * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here.
  4997. * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that.
  4998. * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here.
  4999. * sysdeps/mach/hurd/pread.c (__libc_pread): Call that.
  5000. * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here.
  5001. * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that.
  5002. * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here.
  5003. * sysdeps/mach/hurd/readdir.c (__readdir): Call that.
  5004. * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here.
  5005. * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that.
  5006. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry):
  5007. Use struct stat64 for io_stat argument.
  5008. * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
  5009. * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly
  5010. to io_seek.
  5011. * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument.
  5012. * hurd/fd-write.c (_hurd_fd_write): Likewise.
  5013. * hurd/hurd/fd.h: Update decls.
  5014. * sysdeps/mach/hurd/getcwd.c
  5015. (_hurd_canonicalize_directory_name_internal): Use ino64_t
  5016. and struct dirent64.
  5017. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64.
  5018. (__xstat): Renamed to __xstat64, use struct stat64 for argument.
  5019. (__fxstat): Renamed to __fxstat64, use struct stat64 for argument.
  5020. (__lseek): Renamed to __libc_lseek64, use off64_t for argument.
  5021. 2002-06-08 Roland McGrath <roland@frob.com>
  5022. * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
  5023. instead of unsigned long int for __allocation and __size members.
  5024. 2002-06-09 Jakub Jelinek <jakub@redhat.com>
  5025. * sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
  5026. * sysdeps/unix/sysv/linux/dl-brk.c: ...here.
  5027. * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
  5028. * sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
  5029. 2002-06-07 Roland McGrath <roland@frob.com>
  5030. * sysdeps/mach/hurd/bits/environments.h: File removed.
  5031. 2002-06-07 Jakub Jelinek <jakub@redhat.com>
  5032. * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file.
  5033. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file.
  5034. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file.
  5035. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file.
  5036. * sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
  5037. (sendfile64): Likewise.
  5038. * sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
  5039. * sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
  5040. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
  5041. Likewise.
  5042. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
  5043. * include/sys/stat.h (__fxstat64, __lxstat64): Only define if not
  5044. already defined.
  5045. 2002-06-04 Bruno Haible <bruno@clisp.org>
  5046. * sysdeps/cris/stackinfo.h: New file.
  5047. * sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr
  5048. to an integer type before performing bit operations on it.
  5049. 2002-06-05 Roland McGrath <roland@frob.com>
  5050. * sysdeps/generic/sendfile.c: Include <errno.h>.
  5051. * sysdeps/generic/sendfile64.c: Likewise.
  5052. * io/Makefile (routines): Add sendfile and sendfile64.
  5053. (headers): Add sys/sendfile.h to the list.
  5054. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here.
  5055. * sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ...
  5056. * io/sys/sendfile.h: ... here.
  5057. * sysdeps/generic/sendfile.c: New file.
  5058. * sysdeps/generic/sendfile64.c: New file.
  5059. * sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3):
  5060. Move sendfile, sendfile64 to ...
  5061. * io/Versions (GLIBC_2.1, GLIBC_2.3): ... here.
  5062. * sysdeps/mach/hurd/sendfile.c: New file.
  5063. * sysdeps/mach/hurd/sendfile64.c: New file.
  5064. * sysdeps/mach/nanosleep.c: New file.
  5065. 2002-06-04 Roland McGrath <roland@frob.com>
  5066. * sysdeps/alpha/elf/configure.in: New file. Check for TLS support.
  5067. * sysdeps/alpha/elf/configure: New file (generated).
  5068. 2002-06-02 Roland McGrath <roland@frob.com>
  5069. * include/link.h: Include <tls.h> to make sure USE_TLS is defined.
  5070. 2002-06-01 Roland McGrath <roland@frob.com>
  5071. * sysdeps/mach/hurd/alpha/init-first.c: New file, modified from
  5072. i386/init-first.c by Andrew M. Miklic <miklic@attglobal.net>.
  5073. 2002-05-19 Ulrich Drepper <drepper@redhat.com>
  5074. * resolv/resolv.h (struct __res_state): Remove unused nstimes.
  5075. Add nsmap.
  5076. * resolv/res_init.c (__res_vinit): Initialize nsmap array.
  5077. Remove nstimes setting.
  5078. (res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs.
  5079. * resolv/res_send.c (res_nsend): Don't close unconditionally if
  5080. there is mix of IPv6 and IPv4 nameservers.
  5081. Use nsmap array to find free slots and preserve nameserver ordering.
  5082. Fix RES_ROTATE.
  5083. 2002-05-30 Ulrich Drepper <drepper@redhat.com>
  5084. * sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to
  5085. use this header with LFS.
  5086. * po/sk.po: Update from translation team.
  5087. 2002-05-28 Andreas Schwab <schwab@suse.de>
  5088. * sysdeps/generic/readelflib.c (process_elf_file): Give correct
  5089. message when finding object of wrong class.
  5090. 2002-05-28 Jakub Jelinek <jakub@redhat.com>
  5091. * sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto.
  5092. Patch by <radu@netsoft.ro>.
  5093. 2002-05-30 Ulrich Drepper <drepper@redhat.com>
  5094. * sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines):
  5095. Add readahead.
  5096. * sysdeps/unix/sysv/linux/readahead.c: New file.
  5097. * sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall.
  5098. * sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64.
  5099. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall.
  5100. Add sendfile64 alias to sendfile syscall.
  5101. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  5102. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  5103. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  5104. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead
  5105. syscall.
  5106. * sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX
  5107. special section for PIC register loading.
  5108. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
  5109. * config.h.in: Define HAVE_HIDDEN.
  5110. * configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined.
  5111. * elf/elf.h: Correct Alpha TLS relocations according to last spec.
  5112. 2002-05-28 Roland McGrath <roland@frob.com>
  5113. * sysdeps/mach/alpha/setfpucw.c: New file.
  5114. 2002-05-26 Roland McGrath <roland@frob.com>
  5115. * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS.
  5116. Use integer_t instead of int for IOC_VOID case.
  5117. 2002-05-27 Alexandre Oliva <aoliva@redhat.com>
  5118. * configure.in (DO_STATIC_NSS): Define if --disable-shared.
  5119. 2002-05-26 Bruno Haible <bruno@clisp.org>
  5120. * iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the
  5121. end of the ISO-8859-7 from idx table.
  5122. 2002-05-27 Ulrich Drepper <drepper@redhat.com>
  5123. * manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649].
  5124. 2002-05-24 David S. Miller <davem@redhat.com>
  5125. * string/bits/string2.h (memset): Do not try to optimize when
  5126. not _STRING_ARCH_unaligned if GCC will do the right thing.
  5127. 2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com>
  5128. * posix/regex.c: Define `inline' as a macro into nothing for the
  5129. compilers which lack the keyword.
  5130. * posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS
  5131. for the compatibility of gawk.
  5132. * posix/regcomp.c: Add fake implementation of isblank() for the
  5133. environments which lack the function.
  5134. Don't use free_charset() in case of non-i18n envs.
  5135. (build_range_exp): Don't use i18n related code in case of non-i18n
  5136. envs.
  5137. (build_collating_symbol): Likewise.
  5138. (build_equiv_class): Likewise.
  5139. (build_charclass): Likewise.
  5140. (re_compile_fastmap_iter): Likewise.
  5141. (parse_bracket_exp): Likewise.
  5142. (build_word_op): Likewise.
  5143. (regfree): Don't use free_charset() in case of non-i18n envs.
  5144. * posix/regex_internal.h: Remove COMPLEX_BRACKET from
  5145. re_token_type_t in case of non-i18n envs.
  5146. Don't define re_charset_t in case of non-i18n envs.
  5147. Change the type of wcs of re_string_t from wchar_t to wint_t,
  5148. since we store also WEOF.
  5149. * posix/regex_internal.c: (re_string_realloc_buffers): Change
  5150. the type of wcs of re_string_t from wchar_t to wint_t.
  5151. (re_string_reconstruct): Likewise.
  5152. (create_ci_newstate): Don't use i18n related code in case of
  5153. non-i18n envs.
  5154. (create_cd_newstate): Likewise.
  5155. 2002-05-24 Ulrich Drepper <drepper@redhat.com>
  5156. * iconv/loop.c: Fix typo.
  5157. 2002-05-23 Jakub Jelinek <jakub@redhat.com>
  5158. * inet/ether_line.c (ether_line): Fix a typo causing only
  5159. lower 4 bits of each ethernet address byte being assigned.
  5160. Don't modify what line points to.
  5161. * inet/tst-ether_aton.c (main): Add ether_line tests.
  5162. 2002-05-23 Marcus Brinkmann <marcus@gnu.org>
  5163. * manual/filesys.texi: Don't make readlink example leak memory
  5164. when readlink fails.
  5165. 2002-05-20 Ulrich Drepper <drepper@redhat.com>
  5166. * iconv/loop.c: Fix condition for defining unaligned loop. Add
  5167. some more security checks.
  5168. 2002-05-17 David S. Miller <davem@redhat.com>
  5169. * sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases.
  5170. 2002-05-16 David S. Miller <davem@redhat.com>
  5171. * sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define.
  5172. (elf_machine_dynamic): Use it to force PIC register to be loaded.
  5173. (elf_machine_load_address): Likewise.
  5174. * sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes.
  5175. * sysdeps/sparc/sparc64/strncmp.S: When second argument pointer
  5176. is unaligned, do not forget to fully initialize %g1 magic value.
  5177. * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf
  5178. register definitions and provide 32-bit variants of structures
  5179. during 64-bit builds.
  5180. * soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define.
  5181. * soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define.
  5182. * soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define.
  5183. * soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if
  5184. _FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it.
  5185. (_FP_FROM_INT): Perform right shifts on unsigned integer type.
  5186. Do not clear implicit one bit here, it must be done post-rounding.
  5187. Only pad to the left using left shift if value uses less than the
  5188. available fractional bits.
  5189. 2002-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  5190. * sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat
  5191. instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir.
  5192. (shared-only-routines): Likewise.
  5193. * sysdeps/powerpc/libgcc-compat.c: New file.
  5194. * sysdeps/wordsize-32/cmpdi2.c: Removed.
  5195. * sysdeps/wordsize-32/fixdfdi.c: Removed.
  5196. * sysdeps/wordsize-32/fixsfdi.c: Removed.
  5197. * sysdeps/wordsize-32/shdi3.c: Removed.
  5198. 2002-05-16 Bruno Haible <bruno@clisp.org>
  5199. * MakeTAGS (libc.pot): Don't sort the output.
  5200. * po/header.pot: Update to match xgettext 0.11 output.
  5201. 2002-05-16 Bruno Haible <bruno@clisp.org>
  5202. * MakeTAGS (subdirs): Remove duplicates.
  5203. 2002-05-19 Ulrich Drepper <drepper@redhat.com>
  5204. * sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias
  5205. definiton of _old_sys_nerr. Define _old_sys_errlist as strong
  5206. alias.
  5207. 2002-05-19 Andreas Jaeger <aj@suse.de>
  5208. * sysdeps/unix/sysv/linux/configure.in: Warn against an
  5209. installation in /usr/local.
  5210. 2002-05-16 Bruno Haible <bruno@clisp.org>
  5211. * sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline
  5212. string as argument of #error.
  5213. 2002-05-15 Ulrich Drepper <drepper@redhat.com>
  5214. * stdlib/canonicalize.c (canonicalize): Rename to __realpath and
  5215. don't define static. Remove old __realpath function. TC1 of
  5216. POSIX 2001 will allow the second parameter to be NULL.
  5217. * stdlib/test-canon.c: Comment out test for NULL as second
  5218. parameter of realpath.
  5219. * time/offtime.c (__offtime): Set errno if overflow is detected.
  5220. * elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk.
  5221. * sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add
  5222. dl-brk and dl-sbrk.
  5223. * sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW.
  5224. (fdimf): Likewise.
  5225. 2002-05-15 Roland McGrath <roland@frob.com>
  5226. * hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
  5227. 2002-05-12 Bruno Haible <bruno@clisp.org>
  5228. * iconvdata/testdata/EUC-JISX0213: New file.
  5229. * iconvdata/testdata/EUC-JISX0213..UTF8: New file.
  5230. * iconvdata/testdata/SHIFT_JISX0213: New file.
  5231. * iconvdata/testdata/SHIFT_JISX0213..UTF8: New file.
  5232. * iconvdata/testdata/ISO-2022-JP-3: New file.
  5233. * iconvdata/testdata/ISO-2022-JP-3..UTF8: New file.
  5234. * iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3.
  5235. * iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap
  5236. contains comments indicating precomposed characters.
  5237. 2002-04-21 Bruno Haible <bruno@clisp.org>
  5238. * iconvdata/iso-2022-jp-3.c: New file.
  5239. * iconvdata/gconv-modules (ISO-2022-JP-3): New module.
  5240. * iconvdata/Makefile (modules): Add ISO-2022-JP-3.
  5241. (LDFLAGS-ISO-2022-JP-3.so): New variable.
  5242. (ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so.
  5243. (distribute): Add iso-2022-jp-3.c.
  5244. 2002-05-12 Bruno Haible <bruno@clisp.org>
  5245. * iconvdata/tst-table-to.c (main): Restore handling of
  5246. transliterations, broken by last patch.
  5247. 2002-05-12 Bruno Haible <bruno@clisp.org>
  5248. * iconvdata/TESTS: Add IBM922, IBM1124, IBM1129.
  5249. 2002-05-12 Bruno Haible <bruno@clisp.org>
  5250. * iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr
  5251. when there is not enough room in the output buffer.
  5252. * iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
  5253. 2002-04-20 Bruno Haible <bruno@clisp.org>
  5254. * iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New
  5255. macros.
  5256. (RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}.
  5257. Also make this macro work if FROM_DIRECTION evaluates to 0.
  5258. (gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}.
  5259. (FUNCTION_NAME): Likewise, in the handling of unaligned accesses and
  5260. of consume_incomplete.
  5261. * iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
  5262. instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to
  5263. 4, not 8.
  5264. * iconvdata/cp1258.c: Likewise.
  5265. * iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
  5266. instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3,
  5267. not 2.
  5268. * iconvdata/ibm933.c: Likewise.
  5269. * iconvdata/ibm935.c: Likewise.
  5270. * iconvdata/ibm937.c: Likewise.
  5271. * iconvdata/ibm939.c: Likewise.
  5272. * iconvdata/iso-2022-cn.c: Define
  5273. {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
  5274. {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4.
  5275. * iconvdata/iso-2022-cn-ext.c: Likewise.
  5276. * iconvdata/iso-2022-jp.c: Define
  5277. {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
  5278. {MIN,MAX}_NEEDED_{FROM,TO}.
  5279. * iconvdata/tcvn5712-1.c: Define
  5280. {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
  5281. {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2.
  5282. * iconvdata/euc-jisx0213.c: Define
  5283. {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
  5284. {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4.
  5285. * iconvdata/shift_jisx0213.c: Likewise.
  5286. 2002-05-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  5287. * sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2,
  5288. shdi3, fixdfdi, fixsfdi in csu dir.
  5289. (shared-only-routines): Likewise.
  5290. * sysdeps/wordsize-32/cmpdi2.c: New file.
  5291. * sysdeps/wordsize-32/shdi3.c: New file.
  5292. * sysdeps/wordsize-32/fixdfdi.c: New file.
  5293. * sysdeps/wordsize-32/fixsfdi.c: New file.
  5294. * sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3,
  5295. __ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi,
  5296. __fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0.
  5297. * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
  5298. Only use va_arg if the argument will be used [PR libc/3259].
  5299. 2002-05-06 Michael A. Schmidt <mmaass@us.ibm.com>
  5300. * catgets/catgets.c (catopen): Free buffer if internal catalog
  5301. open fails.
  5302. 2002-05-14 Ulrich Drepper <drepper@redhat.com>
  5303. * debug/xtrace.sh: Make more robust. For realtime tracking use
  5304. non-buffering methods.
  5305. * debug/pcprofiledump.c: Implement -u option.
  5306. Patch by Roger Luethi <rl@hellgate.ch>.
  5307. 2002-05-11 Jakub Jelinek <jakub@redhat.com>
  5308. * include/netinet/in.h (bindresvport_internal): Add prototype.
  5309. * include/rpc/auth.h (authunix_create_internal,
  5310. authunix_create_default_internal, authnone_create_internal,
  5311. authdes_pk_create_internal): Add prototypes.
  5312. * include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal,
  5313. clntudp_create_internal, clntudp_bufcreate_internal,
  5314. clntunix_create_internal): Add prototypes.
  5315. * include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal,
  5316. svc_getreq_internal, svc_getreq_common_internal,
  5317. svc_getreqset_internal, svc_getreq_poll_internal,
  5318. svc_register_internal, svc_unregister_internal,
  5319. svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes.
  5320. * include/rpc/svc_auth.h (_authenticate_internal): Add prototype.
  5321. * include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg,
  5322. __setsockopt, __getsockname, __bind, __listen): Add prototypes.
  5323. * inet/rexec.c (rexec_af): Use __listen and __getsockname.
  5324. * inet/rcmd.c (rcmd_af): Use __listen.
  5325. (rresvport_af): Use __bind.
  5326. * sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport,
  5327. authunix_create, authunix_create_default, authnone_create,
  5328. authdes_pk_create, clnt_create, clnttcp_create, clntudp_create,
  5329. clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode,
  5330. svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll,
  5331. svc_register, svc_unregister, svcudp_create, svcudp_bufcreate,
  5332. _authenticate, add INTDEF after such function definitions.
  5333. Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg,
  5334. __setsockopt, __getsockname instead of non-__ variants.
  5335. * sunrpc/pmap_rmt.c: Likewise.
  5336. * sunrpc/rtime.c: Likewise.
  5337. * sunrpc/svc_udp.c: Likewise.
  5338. * sunrpc/clnt_unix.c: Likewise.
  5339. * sunrpc/svc_unix.c: Likewise.
  5340. * sunrpc/bindrsvprt.c: Likewise.
  5341. * sunrpc/svc_tcp.c: Likewise.
  5342. * sunrpc/auth_none.c: Likewise.
  5343. * sunrpc/clnt_raw.c: Likewise.
  5344. * sunrpc/clnt_tcp.c: Likewise.
  5345. * sunrpc/auth_unix.c: Likewise.
  5346. * sunrpc/key_call.c: Likewise.
  5347. * sunrpc/clnt_gen.c: Likewise.
  5348. * sunrpc/pm_getmaps.c: Likewise.
  5349. * sunrpc/clnt_simp.c: Likewise.
  5350. * sunrpc/pmap_clnt.c: Likewise.
  5351. * sunrpc/svc_run.c: Likewise.
  5352. * sunrpc/svc.c: Likewise.
  5353. * sunrpc/svc_simple.c: Likewise.
  5354. * sunrpc/pm_getport.c: Likewise.
  5355. * sunrpc/auth_des.c: Likewise.
  5356. * sunrpc/svc_auth.c: Likewise.
  5357. * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases,
  5358. __register_frame_info_table_bases, __deregister_frame_info_bases):
  5359. Add INTDEF.
  5360. (__register_frame_info_bases_internal,
  5361. __register_frame_info_table_bases_internal,
  5362. __deregister_frame_info_bases_internal): Add prototypes.
  5363. (__register_frame_info, __register_frame): Use INTUSE in call to
  5364. __register_frame_info_bases.
  5365. (__register_frame_info_table): Similarly.
  5366. (__deregister_frame_info, __deregister_frame): Similarly.
  5367. * sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add
  5368. sendto as weak alias.
  5369. * sysdeps/mach/hurd/sendto.c: Likewise.
  5370. * sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add
  5371. recvfrom as weak alias.
  5372. * sysdeps/mach/hurd/recvfrom.c: Likewise.
  5373. * sysdeps/unix/sysv/aix/recvfrom.c: Likewise.
  5374. * sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add
  5375. recvmsg as weak alias.
  5376. * sysdeps/unix/sysv/aix/recvmsg.c: Likewise.
  5377. * sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add
  5378. sendmsg as weak alias.
  5379. * sysdeps/unix/sysv/aix/sendmsg.c: Likewise.
  5380. * sysdeps/generic/setsockopt.c (__setsockopt): Renamed from
  5381. setsockopt, add setsockopt as weak alias.
  5382. * sysdeps/mach/hurd/setsockopt.c: Likewise.
  5383. * sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as
  5384. weak alias.
  5385. * sysdeps/mach/hurd/bind.c: Likewise.
  5386. * sysdeps/generic/listen.c (__listen): Renamed from listen, add listen
  5387. as weak alias.
  5388. * sysdeps/mach/hurd/listen.c: Likewise.
  5389. * sysdeps/generic/getsockname.c (__getsockname): Renamed from
  5390. getsockname, add getsockname as weak alias.
  5391. * sysdeps/mach/hurd/getsockname.c: Likewise.
  5392. * sysdeps/unix/sysv/aix/getsockname.c: Likewise.
  5393. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias.
  5394. * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias.
  5395. * sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg,
  5396. __recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases.
  5397. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg):
  5398. Add aliases.
  5399. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  5400. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  5401. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  5402. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  5403. * sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias.
  5404. * sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise.
  5405. * sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise.
  5406. * sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise.
  5407. * sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise.
  5408. * sysdeps/unix/sysv/linux/bind.S (__bind): Likewise.
  5409. * sysdeps/unix/sysv/linux/listen.S (__listen): Likewise.
  5410. * sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise.
  5411. 2002-05-10 Jakub Jelinek <jakub@redhat.com>
  5412. * locale/programs/localedef.h (show_archive_content): Add verbose
  5413. argument.
  5414. * locale/programs/localedef.c (main): Adjust caller.
  5415. * locale/programs/locarchive.c (struct nameent, struct dataent): New
  5416. types.
  5417. (nameentcmp, dataentcmp): New functions.
  5418. (xstrcmp): Remove.
  5419. (show_archive_content): Print verbose listing with --list-archive -v.
  5420. 2002-05-14 Ulrich Drepper <drepper@redhat.com>
  5421. * locale/programs/locarchive.c (open_archive): Take extra argument
  5422. readonly. If true open file with O_RDONLY and don't create the
  5423. archive if it doesn't exist.
  5424. Adapt all callers.
  5425. (close_archive): Don't do anything if fd element is -1.
  5426. * locale/programs/localedef.h (open_archive): Adjust prototype.
  5427. * locale/programs/locfile.c (write_all_categories): Adjust open_archive
  5428. call.
  5429. * malloc/malloc.c (__posix_memalign): Correct check for size of
  5430. alignment value [PR libc/3444].
  5431. * include/stdio.h: Remove references to old stdio implementation.
  5432. * libio/Makefile (bug-ungetwc2-ENV): Define.
  5433. 2002-05-13 Roland McGrath <roland@frob.com>
  5434. * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.
  5435. * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.
  5436. 2002-05-13 Marcus Brinkmann <marcus@gnu.org>
  5437. * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
  5438. Allocate three, not two, more than LEN when appending '/.'.
  5439. * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check
  5440. if NAME ends with '/.' if it is shorter than 2 chars.
  5441. 2002-05-12 Roland McGrath <roland@frob.com>
  5442. * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated
  5443. files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
  5444. * hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in
  5445. file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
  5446. 2002-05-10 Jakub Jelinek <jakub@redhat.com>
  5447. * sysdeps/ia64/Makefile: Remove extra endif.
  5448. * sysdeps/ia64/ia64libgcc.S (__divsf3): Fix typo in symbol version.
  5449. 2002-05-10 Andreas Schwab <schwab@suse.de>
  5450. * sysdeps/powerpc/fpu/w_sqrt.c: Add sqrtl alias.
  5451. 2002-05-09 Andreas Jaeger <aj@suse.de>
  5452. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file.
  5453. * sysdeps/unix/sysv/linux/x86_64/Dist: Add it.
  5454. * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it.
  5455. * sysdeps/unix/sysv/linux/ia64/glob.c: Move to ...
  5456. * sysdeps/wordsize-64/glob.c: ...here.
  5457. * sysdeps/unix/sysv/linux/x86_64/glob.c: Remove.
  5458. * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: Remove.
  5459. * sysdeps/unix/sysv/linux/sparc/sparc64/glob.c: Remove.
  5460. 2002-05-08 Roland McGrath <roland@frob.com>
  5461. * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use
  5462. O_NOTRANS flag in "." lookup.
  5463. 2002-05-05 Ulrich Drepper <drepper@redhat.com>
  5464. * malloc/mtrace.c: Comment out use of _mtrace_file and _mtrace_len.
  5465. 2002-05-04 Ulrich Drepper <drepper@redhat.com>
  5466. * locale/duplocale.c (__duplocale): Update special members only
  5467. when allocation succeeded.
  5468. 2002-05-03 Roland McGrath <roland@frob.com>
  5469. * shlib-versions (.*-.*-gnu-gnu.*): Remove USE_IN_LIBIO conditionals;
  5470. we can only build libc.so.0.3(GLIBC_2.2.6) now.
  5471. 2002-05-02 Jakub Jelinek <jakub@redhat.com>
  5472. * sysdeps/ia64/Makefile: Add ia64libgcc in csu subdir.
  5473. * sysdeps/ia64/Versions (__divtf3, __divdf3, __divsf3, __divdi3,
  5474. __moddi3, __udivdi3, __umoddi3, __multi3): Export at GLIBC_2.0.
  5475. * sysdeps/ia64/ia64libgcc.S: New file.
  5476. 2002-05-02 Ulrich Drepper <drepper@redhat.com>
  5477. * sysdeps/generic/dl-tls.c (oom): Implement using _dl_fatal_printf.
  5478. * malloc/memusage.c: Distinguish anonymous mmap.
  5479. 2002-05-01 Roland McGrath <roland@frob.com>
  5480. * sysdeps/mach/hurd/close.c: #undef __close before function defn,
  5481. and use INTDEF on it.
  5482. * sysdeps/mach/hurd/fcntl.c: Use INTDEF2.
  5483. * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable.
  5484. * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished).
  5485. 2002-05-01 Ulrich Drepper <drepper@redhat.com>
  5486. * malloc/memusage.c: Add support for tracking mmap & friends.
  5487. * malloc/memusage.sh: Implement -m/--mmap option.
  5488. 2002-04-30 Jakub Jelinek <jakub@redhat.com>
  5489. * locale/programs/locarchive.c (create_archive): Add archivefname
  5490. argument, create fname from it.
  5491. (enlarge_archive): Honour output_prefix.
  5492. (open_archive): Likewise.
  5493. 2002-04-30 Jakub Jelinek <jakub@redhat.com>
  5494. * locale/programs/locarchive.c (add_locales_to_archive): Don't nest
  5495. too many stpcpy macros.
  5496. 2002-04-26 Bruno Haible <bruno@clisp.org>
  5497. * locale/programs/ld-collate.c (collate_read): Cast first argument
  5498. for "%.*s" to int.
  5499. 2002-04-26 Bruno Haible <bruno@clisp.org>
  5500. * include/libintl.h (__ngettext, __dngettext, __dcngettext,
  5501. __dcngettext_internal): New declarations.
  5502. (__gettext, __dgettext, __dcgettext, __dcgettext_internal): Add
  5503. attribute declarations.
  5504. 2002-04-30 Roland McGrath <roland@frob.com>
  5505. Removed old GNU stdio implementation; GNU libio is now the only option.
  5506. * configure.in: Removed --enable-libio option and @stdio@ subst var.
  5507. Define USE_IN_LIBIO unconditionally.
  5508. * configure: Regenerated.
  5509. * Makeconfig (stdio): Set to libio by default.
  5510. * config.make.in (stdio): Variable removed.
  5511. * sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
  5512. * sysdeps/unix/sysv/linux/configure: Regenerated.
  5513. * sysdeps/mach/hurd/configure.in: Don't test $stdio.
  5514. * sysdeps/mach/hurd/configure: Regenerated.
  5515. * stdio/.cvsignore: File removed.
  5516. * stdio/Makefile: File removed.
  5517. * stdio/Versions: File removed.
  5518. * stdio/__fbufsize.c: File removed.
  5519. * stdio/__flbf.c: File removed.
  5520. * stdio/__fpending.c: File removed.
  5521. * stdio/__fpurge.c: File removed.
  5522. * stdio/__freadable.c: File removed.
  5523. * stdio/__freading.c: File removed.
  5524. * stdio/__fsetlocking.c: File removed.
  5525. * stdio/__fwritable.c: File removed.
  5526. * stdio/__fwriting.c: File removed.
  5527. * stdio/clearerr.c: File removed.
  5528. * stdio/fclose.c: File removed.
  5529. * stdio/fcloseall.c: File removed.
  5530. * stdio/feof.c: File removed.
  5531. * stdio/ferror.c: File removed.
  5532. * stdio/fflush.c: File removed.
  5533. * stdio/fgetc.c: File removed.
  5534. * stdio/fgetpos.c: File removed.
  5535. * stdio/fgets.c: File removed.
  5536. * stdio/fileno.c: File removed.
  5537. * stdio/fmemopen.c: File removed.
  5538. * stdio/fopen.c: File removed.
  5539. * stdio/fopncook.c: File removed.
  5540. * stdio/fputc.c: File removed.
  5541. * stdio/fputs.c: File removed.
  5542. * stdio/fread.c: File removed.
  5543. * stdio/freopen.c: File removed.
  5544. * stdio/fseek.c: File removed.
  5545. * stdio/fsetpos.c: File removed.
  5546. * stdio/ftell.c: File removed.
  5547. * stdio/fwrite.c: File removed.
  5548. * stdio/getc.c: File removed.
  5549. * stdio/getchar.c: File removed.
  5550. * stdio/getdelim.c: File removed.
  5551. * stdio/gets.c: File removed.
  5552. * stdio/glue.c: File removed.
  5553. * stdio/internals.c: File removed.
  5554. * stdio/linewrap.c: File removed.
  5555. * stdio/linewrap.h: File removed.
  5556. * stdio/memstream.c: File removed.
  5557. * stdio/newstream.c: File removed.
  5558. * stdio/obstream.c: File removed.
  5559. * stdio/putc.c: File removed.
  5560. * stdio/putchar.c: File removed.
  5561. * stdio/puts.c: File removed.
  5562. * stdio/rewind.c: File removed.
  5563. * stdio/setbuf.c: File removed.
  5564. * stdio/setbuffer.c: File removed.
  5565. * stdio/setlinebuf.c: File removed.
  5566. * stdio/setvbuf.c: File removed.
  5567. * stdio/stdio.h: File removed.
  5568. * stdio/ungetc.c: File removed.
  5569. * stdio/vasprintf.c: File removed.
  5570. * stdio/vscanf.c: File removed.
  5571. * stdio/vsnprintf.c: File removed.
  5572. * stdio/vsprintf.c: File removed.
  5573. * stdio/vsscanf.c: File removed.
  5574. * sysdeps/generic/defs.c: File removed.
  5575. * sysdeps/generic/fdopen.c: File removed.
  5576. * sysdeps/generic/pipestream.c: File removed.
  5577. * sysdeps/generic/stdio_init.c: File removed.
  5578. * sysdeps/generic/sysd-stdio.c: File removed.
  5579. * sysdeps/generic/vdprintf.c: File removed.
  5580. * sysdeps/mach/hurd/defs.c: File removed.
  5581. * sysdeps/mach/hurd/fdopen.c: File removed.
  5582. * sysdeps/mach/hurd/pipestream.c: File removed.
  5583. * sysdeps/mach/hurd/stdio_init.c: File removed.
  5584. * sysdeps/mach/hurd/sysd-stdio.c: File removed.
  5585. * sysdeps/mach/hurd/vdprintf.c: File removed.
  5586. * sysdeps/posix/defs.c: File removed.
  5587. * sysdeps/posix/fdopen.c: File removed.
  5588. * sysdeps/posix/pipestream.c: File removed.
  5589. * sysdeps/posix/stdio_init.c: File removed.
  5590. * sysdeps/posix/vdprintf.c: File removed.
  5591. * sysdeps/unix/pipestream.c: File removed.
  5592. * sysdeps/unix/sysv/sysd-stdio.c: File removed.
  5593. * sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
  5594. * sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
  5595. 2002-04-29 Roland McGrath <roland@frob.com>
  5596. * include/libc-symbols.h (link_warning): Use `unused' attribute.
  5597. 2002-04-28 Ulrich Drepper <drepper@redhat.com>
  5598. * sysdeps/generic/tls.h: Describe what must be defined.
  5599. * sysdeps/generic/glob.c (glob): Don't pass GLOB_NOMAGIC flag to
  5600. glob_in_dir [PR libc/3385].
  5601. * posix/globtest.sh: Add test case.
  5602. * intl/loadmsgcat.c [!_LIBC] (_nl_init_domain_conv): Don't add
  5603. //TRANSLIT twice.
  5604. 2002-04-27 Ulrich Drepper <drepper@redhat.com>
  5605. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Fix a few issues with the
  5606. _internal symbol handling.
  5607. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
  5608. 2002-04-26 Ulrich Drepper <drepper@redhat.com>
  5609. * sysdeps/ia64/fpu/s_finite.S: Define _internal aliases.
  5610. * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
  5611. 2002-04-26 Isamu Hasegawa <isamu@yamato.ibm.com>
  5612. * posix/regcomp.c (re_compile_fastmap_iter): Fix fastmap in case of
  5613. not _LIBC and RE_ENABLE_I18N.
  5614. (build_range_exp): Implement for not _LIBC.
  5615. (build_collating_symbol): Likewise.
  5616. (parse_bracket_exp): Unify redundant error handlings.
  5617. Don't erase mbcset for non matching list in multibyte envs.
  5618. (build_word_op): Add '_' to matching list for \w operator.
  5619. * posix/regex_internal.c (re_string_construct): Invoke
  5620. build_upper_buffer in case of not RE_ENABLE_I18N.
  5621. (re_string_reconstruct): Don't touch cur_state in case of not
  5622. RE_ENABLE_I18N.
  5623. * posix/regex_internal.h (attribute_hidden): New macro in case of
  5624. not _LIBC.
  5625. (re_charset_t): Define range_starts/ends in case of not _LIBC.
  5626. * posix/regexec.c (sift_states_iter_mb): Hide in case of not
  5627. RE_ENABLE_I18N.
  5628. (transit_state_mb): Likewise.
  5629. (check_node_accept_bytes): Implement the code evaluating range
  5630. expression in case of not _LIBC.
  5631. (find_collation_sequence_value): Hide in case of not _LIBC.
  5632. 2002-04-26 Jakub Jelinek <jakub@redhat.com>
  5633. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Copied from
  5634. i386/semctl.c.
  5635. (__old_semctl, __new_semctl): Only use va_arg if the argument will
  5636. be used.
  5637. 2002-04-26 Ulrich Drepper <drepper@redhat.com>
  5638. * sysdeps/ia64/fpu/s_isinf.S: Fix definition of _internal names.
  5639. * sysdeps/ia64/strncpy.S: Fix recovery code.
  5640. Patch by David Mosberger <davidm@hpl.hp.com>.
  5641. 2002-04-24 Ulrich Drepper <drepper@redhat.com>
  5642. * sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for
  5643. GLIBC_2.2.6.
  5644. 2002-04-14 Bruno Haible <bruno@clisp.org>
  5645. * posix/regex.c (re_max_failures): Add back symbol for binary
  5646. compatibility.
  5647. 2002-04-22 Isamu Hasegawa <isamu@yamato.ibm.com>
  5648. * posix/regcomp.c (re_compile_internal): Adapt it to new interface
  5649. of buffer building functions.
  5650. * posix/regex_internal.c (re_string_allocate): New function.
  5651. (re_string_realloc_buffers): New function.
  5652. (re_string_skip_chars): New function.
  5653. (re_string_reconstruct): New function.
  5654. (re_string_construct): Adapt it to new interface of buffer building
  5655. functions.
  5656. (re_string_construct_common): Likewise.
  5657. (build_wcs_buffer): Likewise.
  5658. (build_wcs_upper_buffer): Likewise.
  5659. (build_upper_buffer): Likewise.
  5660. (re_string_translate_buffer): Likewise.
  5661. (re_string_context_at): Adapt it to variable length buffers.
  5662. * posix/regex_internal.h (re_string_t): Add new fields to handle
  5663. variable length buffers.
  5664. (re_match_context_t): Likewise.
  5665. * posix/regexec.c (re_search_internal): Adapt it to new interface
  5666. of re_string_t and re_match_context_t.
  5667. (acquire_init_state_context): Likewise.
  5668. (check_matching): Likewise.
  5669. (check_halt_state_context): Likewise.
  5670. (proceed_next_node): Likewise.
  5671. (set_regs): Likewise.
  5672. (sift_states_backward): Likewise.
  5673. (clean_state_log_if_need): Likewise.
  5674. (sift_states_iter_mb): Likewise.
  5675. (sift_states_iter_bkref): Likewise.
  5676. (add_epsilon_backreference): Likewise.
  5677. (transit_state): Likewise.
  5678. (transit_state_sb): Likewise.
  5679. (transit_state_mb): Likewise.
  5680. (transit_state_bkref): Likewise.
  5681. (transit_state_bkref_loop): Likewise.
  5682. (check_node_accept): Likewise.
  5683. (match_ctx_init): Likewise.
  5684. (extend_buffers): New function.
  5685. 2002-04-21 Bruno Haible <bruno@clisp.org>
  5686. * iconvdata/tst-table.sh: For the second check, use the truncated
  5687. GB18030 charmap table, like for the first check.
  5688. 2002-04-24 Ulrich Drepper <drepper@redhat.com>
  5689. * elf/dl-load.c (open_verify): Correct __lseek parameters.
  5690. Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354].
  5691. 2002-04-23 H.J. Lu <hjl@gnu.org>
  5692. * include/math.h (isfinite): Fix a typo.
  5693. 2002-04-24 Ulrich Drepper <drepper@redhat.com>
  5694. * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale
  5695. which is created by the test suite.
  5696. 2002-04-20 Bruno Haible <bruno@clisp.org>
  5697. * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4.
  5698. (BODY for FROM_LOOP): Fix comparisons between inptr and inend.
  5699. 2002-04-20 Bruno Haible <bruno@clisp.org>
  5700. * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f,
  5701. to avoid gcc warning.
  5702. 2002-04-20 Bruno Haible <bruno@clisp.org>
  5703. * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask
  5704. of data->__statep->__count.
  5705. 2002-04-20 Bruno Haible <bruno@clisp.org>
  5706. * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode
  5707. tag characters.
  5708. * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise.
  5709. 2002-04-24 Roland McGrath <roland@frob.com>
  5710. * sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it;
  5711. use END macro instead of our own .end directive.
  5712. Use `callsys' insn mnemonic instead of `call_pal'.
  5713. * sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.
  5714. * sysdeps/alpha/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New
  5715. macro; we need this for Hurd.
  5716. Log entry was missing for 2002/03/24 commit of rev 1.8,
  5717. goes with 2002-03-17 changes.
  5718. * sysdeps/mach/hurd/i386/Makefile [$(subdir) = misc]
  5719. (sysdep_routines): Append ioperm here.
  5720. (sysdep_headers): Append sys/io.h here.
  5721. 2002-04-23 Roland McGrath <roland@frob.com>
  5722. * sysdeps/mach/hurd/send.c: int -> size_t for WROTE.
  5723. * sysdeps/mach/hurd/sendto.c: Likewise.
  5724. * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN.
  5725. * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE.
  5726. * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.
  5727. 2002-04-22 Roland McGrath <roland@frob.com>
  5728. * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Translate MIG_BAD_ID
  5729. failure from i386_io_perm_* RPCs to ENOSYS.
  5730. 2002-04-22 Andreas Jaeger <aj@suse.de>
  5731. * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file.
  5732. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.
  5733. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp
  5734. register instead of destroying %rbx.
  5735. 2002-04-21 Ulrich Drepper <drepper@redhat.com>
  5736. * string/string.h: Declare strerror_r also for XPG6.
  5737. 2002-04-19 Roland McGrath <roland@frob.com>
  5738. * sysdeps/mach/hurd/tmpfile.c: Create a file descriptor and use fdopen.
  5739. 2002-04-20 Ulrich Drepper <drepper@redhat.com>
  5740. * Makefile: Add handling of xtests and xcheck targets.
  5741. * MakeTAGS: Likewise.
  5742. * Makeconfig: Likewise.
  5743. * Makerules: Likewise.
  5744. * Rules: Likewise.
  5745. * manual/Makefile: Likewise.
  5746. * sunrpc/Makefile (xtests): Add thrsvc if thread library available.
  5747. * sunrpc/thrsvc.c: New file. By Zack Weinberg.
  5748. 2002-04-11 Zack Weinberg <zack@codesourcery.com>
  5749. * include/rpc/rpc.h (struct rpc_thread_variables): Remove
  5750. authnone_private_s.
  5751. * sunrpc/auth_none.c: Include bits/libc-lock.h.
  5752. Delete #ifdef _RPC_THREAD_SAFE_ block.
  5753. (authnone_private): Make a struct, not a pointer to struct.
  5754. (authnone_private_guard): New once-control variable.
  5755. (authnone_create_once): New function, split out of
  5756. authnone_create. No need to allocate memory.
  5757. (authnone_create): Just call authnone_create_once via
  5758. __libc_once, then return &authnone_private->no_client.
  5759. (authnone_marshal): Access private data via CLIENT argument,
  5760. not authnone_private pointer.
  5761. Fix typo (MAX_MARSHEL_SIZE -> MAX_MARSHAL_SIZE).
  5762. * sunrpc/rpc_thread.c (__rpc_thread_destroy): No need to free
  5763. authnone_private_s.
  5764. 2002-04-12 H.J. Lu <hjl@gnu.org>
  5765. * sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.
  5766. 2002-04-18 Bruno Haible <bruno@clisp.org>
  5767. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  5768. FROM_DIRECTION): Make the FROM direction stateless.
  5769. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for
  5770. FROM_DIRECTION): Likewise.
  5771. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5772. * iconvdata/JISX0213.TXT: New file.
  5773. * iconvdata/jisx0213.h: New file.
  5774. * iconvdata/jisx0213.c: New file.
  5775. * iconvdata/euc-jisx0213.c: New file.
  5776. * iconvdata/shift_jisx0213.c: New file.
  5777. * iconvdata/gconv-modules (EUC-JISX0213, SHIFT_JISX0213): New modules.
  5778. * iconvdata/EUC-JISX0213.precomposed: New file.
  5779. * iconvdata/SHIFT_JISX0213.precomposed: New file.
  5780. * iconvdata/SHIFT_JISX0213.irreversible: New file.
  5781. * iconvdata/tst-table-to.c (main): Make it work for encodings for
  5782. which the "to" direction is stateful.
  5783. * iconvdata/tst-tables.sh: Add EUC-JISX0213, SHIFT_JISX0213.
  5784. * iconvdata/Makefile (modules): Add libJISX0213, EUC-JISX0213,
  5785. SHIFT_JISX0213.
  5786. (libJISX0213-routines): New variable.
  5787. (LDFLAGS-EUC-JISX0213.so, LDFLAGS-SHIFT_JISX0213.so): New variables.
  5788. (EUC-JISX0213.so, SHIFT_JISX0213.so): Depend on libJISX0213.so.
  5789. (LDFLAGS-libJISX0213.so): New variable.
  5790. (distribute): Add JISX0213.TXT, EUC-JISX0213.precomposed,
  5791. SHIFT_JISX0213.precomposed, SHIFT_JISX0213.irreversible,
  5792. jisx0213.c, jisx0213.h, euc-jisx0213.c, shift_jisx0213.c.
  5793. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5794. * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Change element type to
  5795. uint32_t. Update to Unicode 3.2.
  5796. (from_ucs4, from_ucs4_idx): Update to Unicode 3.2.
  5797. (BODY for TO_LOOP): Handle the ASCII range specially.
  5798. * iconvdata/BIG5HKSCS.irreversible: Add one more entry.
  5799. * iconvdata/testdata/BIG5HKSCS: Remove a character.
  5800. * iconvdata/testdata/BIG5HKSCS..UTF-8: Regenerated.
  5801. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5802. * iconvdata/gb18030.c (__twobyte_to_ucs, __fourbyte_to_ucs,
  5803. __ucs_to_gb18030_tab1, __ucs_to_gb18030_tab2): Update to Unicode 3.2.
  5804. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5805. * iconvdata/cns11643.h (__cns11643_from_ucs4p2c_tab): New declaration.
  5806. (ucs4_to_cns11643): Update.
  5807. * iconvdata/cns11643.c: Update to Unicode 3.2.
  5808. (__cns11643l2*_to_ucs4_tab, __cns11643_from_ucs4p0_tab,
  5809. __cns11643_from_ucs4p2_tab): Regenerated.
  5810. (__cns11643_from_ucs4p2c_tab): New array.
  5811. * iconvdata/cvs11643l1.c: Update comments.
  5812. * iconvdata/EUC-TW.irreversible: Remove two entries.
  5813. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5814. * locale/C-translit.h.in: Update to Unicode 3.2.
  5815. Add <U2047>, <U205F>..<U2063>, <U2145>..<U2149>, <U2A74>..<U2A76>,
  5816. <U30A0>, <U3251>..<U325F>, <U32B1>..<U32BF>, <UFE00>..<UFE0F>.
  5817. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5818. * iconvdata/sjis.c (halfkana_to_ucs4): Remove array.
  5819. (BODY for FROM_LOOP): Optimize the JISX0201:GR to Unicode conversion.
  5820. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5821. * iconvdata/euc-jp.c (BODY for FROM_LOOP): When encountering an
  5822. invalid input (e.g. a byte > 0x80 followed by a byte < 0x80), skip
  5823. always one byte, not 0 bytes in some cases and 2 bytes in others.
  5824. * iconvdata/tst-table-from.c (main): Correct the usage message.
  5825. 2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com>
  5826. * posix/regcomp.c (parse_expression): Fix incorrect error code.
  5827. (parse_dup_op): Fix error handling like "a{}".
  5828. (parse_bracket_exp): Add error handling.
  5829. (fetch_number): Add error handling for "a{<very_large_number>}".
  5830. 2002-04-19 Isamu Hasegawa <isamu@yamato.ibm.com>
  5831. * posix/regcomp.c (parse_bracket_symbol): Add error handling
  5832. in case that the symbol name is too long.
  5833. (build_charclass): Handle [:lower:]/[:uppper:] correctly
  5834. in case of REG_ICASE.
  5835. 2002-04-19 Andreas Jaeger <aj@suse.de>
  5836. * math/libm-test.inc: Fix comment, suggested by Hartvig Ekner
  5837. <hartvige@mips.com>.
  5838. 2002-04-15 H.J. Lu <hjl@gnu.org>
  5839. * include/math.h (__finitel_internal): Declare only if
  5840. __NO_LONG_DOUBLE_MATH is not defined.
  5841. (__isinfl_internal): Likewise.
  5842. (__isnanl_internal): Likewise.
  5843. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __connect_internal.
  5844. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  5845. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  5846. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  5847. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  5848. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  5849. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  5850. * sysdeps/unix/sysv/linux/syscalls.list: Add __chown_internal and
  5851. __fcntl_internal.
  5852. * sysdeps/unix/sysv/linux/fxstat.c (__fxstat64_internal): Added.
  5853. * sysdeps/unix/sysv/linux/lxstat.c (__lxstat64_internal): Added.
  5854. 2002-04-15 Bruno Haible <bruno@clisp.org>
  5855. * iconvdata/armscii-8.c (BODY for FROM_LOOP): Fix array access.
  5856. (BODY for TO_LOOP): Likewise.
  5857. * iconvdata/tcvn5712-1.c (from_ucs4): Map U+0309 to 0xB1.
  5858. * iconvdata/tst-table.sh: Add support for encodings which contain
  5859. precomposed Unicode characters, known to the iconv converter in both
  5860. directions but not listed in the charmap.
  5861. * iconvdata/IBM856.irreversible: New file.
  5862. * iconvdata/IBM922.irreversible: New file.
  5863. * iconvdata/IBM1132.irreversible: New file.
  5864. * iconvdata/IBM1133.irreversible: New file.
  5865. * iconvdata/IBM1160.irreversible: New file.
  5866. * iconvdata/IBM1161.irreversible: New file.
  5867. * iconvdata/IBM1163.irreversible: New file.
  5868. * iconvdata/IBM1164.irreversible: New file.
  5869. * iconvdata/ARMSCII-8.irreversible: New file.
  5870. * iconvdata/TCVN5712-1.precomposed: New file.
  5871. * iconvdata/tst-tables.sh: Add IBM856, IBM922, IBM1124, IBM1129,
  5872. IBM1160, IBM1161, IBM1132, IBM1133, IBM1162, IBM1163, IBM1164,
  5873. ARMSCII-8, TCVN5712-1.
  5874. * iconvdata/Makefile (distribute): Add IBM856.irreversible,
  5875. IBM922.irreversible, IBM1132.irreversible, IBM1133.irreversible,
  5876. IBM1160.irreversible, IBM1161.irreversible, IBM1163.irreversible,
  5877. IBM1164.irreversible, ARMSCII-8.irreversible, TCVN5712-1.precomposed.
  5878. 2002-04-17 Jakub Jelinek <jakub@redhat.com>
  5879. * time/tst-mktime.c: Include <stdlib.h>. Use %d, not %ld format
  5880. for EVENING69. Include offsets in TZ environment variable.
  5881. 2002-04-18 Ulrich Drepper <drepper@redhat.com>
  5882. * iconv/skeleton.c (RESET_INPUT_BUFFER): Replace ifs with #ifs to
  5883. avoid compiler warnings.
  5884. * locale/programs/localedef.c (main): Always call
  5885. construct_output_path.
  5886. * iconv/Makefile (CFLAGS-simple-hash.c): Define to find hashval.h.
  5887. * locale/programs/locfile.c (to_archive): New variable. To collect
  5888. data which has to be added to the locale archive.
  5889. (write_all_categories): Take new third parameter with locale name.
  5890. Unless no_archive flag set add new locale data to the archive
  5891. (write_locale_data): Unless no-archive flag set store generated data
  5892. in to_archive data structure instead of generation output file.
  5893. Add new parameter with locale category index.
  5894. * locale/programs/locfile.h: Add new parameters in declaractions of
  5895. write_all_categories and write_locale_data.
  5896. * locale/programs/localedef.c: Recognize --no-archive, --list-archive,
  5897. --add-to-archive, and --delete-from-archive options. Pass extra
  5898. parameter to write_all_categories.
  5899. * locale/programs/localedef.h: Add prototypes for functions in
  5900. locarchive.c.
  5901. * locale/locarchive.h: New file.
  5902. * locale/programs/locarchive.c: New file.
  5903. * locale/Makefile (distribute): Add programs/locarchive.c and
  5904. locarchive.h.
  5905. (localedef-modules): Add md5 and locarchive.
  5906. Add vpath to crypt subdir for md5.c.
  5907. * locale/programs/ld-address.c: Pass locale category ID as new second
  5908. parameter to write_locale_data.
  5909. * locale/programs/ld-collate.c: Likewise.
  5910. * locale/programs/ld-ctype.c: Likewise.
  5911. * locale/programs/ld-identification.c: Likewise.
  5912. * locale/programs/ld-measurement.c: Likewise.
  5913. * locale/programs/ld-messages.c: Likewise.
  5914. * locale/programs/ld-monetary.c: Likewise.
  5915. * locale/programs/ld-name.c: Likewise.
  5916. * locale/programs/ld-numeric.c: Likewise.
  5917. * locale/programs/ld-paper.c: Likewise.
  5918. * locale/programs/ld-telephone.c: Likewise.
  5919. * locale/programs/ld-time.c: Likewise.
  5920. * locale/simple-hash.c: Move compute_hashval function from here...
  5921. * locale/hashval.h: ...to here. New file.
  5922. * locale/simple-hash.h: Add prototype for compute_hashval.
  5923. * include/libintl.h: Minor cleanups.
  5924. 2002-04-16 Ulrich Drepper <drepper@redhat.com>
  5925. * posix/regcomp.c (gettext): Use INTUSE for _libc_intl_domainname.
  5926. 2002-04-15 Ulrich Drepper <drepper@redhat.com>
  5927. * include/sys/stat.h: Fix typo. Patch by HJ Lu.
  5928. 2002-04-14 Bruno Haible <bruno@clisp.org>
  5929. * locale/programs/charmap.c (charmap_read): Don't access result if
  5930. result == NULL.
  5931. 2002-02-17 Andreas Schwab <schwab@suse.de>
  5932. * elf/reldep7.c: New file.
  5933. * elf/reldep7mod1.c: New file.
  5934. * elf/reldep7mod2.c: New file.
  5935. * elf/Makefile: Add rules to build and run reldep7.
  5936. 2002-04-14 Jakub Jelinek <jakub@redhat.com>
  5937. * elf/dl-lookup.c (_dl_lookup_symbol): Move add_dependency call to
  5938. the end of the function. Pass original flags to recursive call if
  5939. add_dependency failed.
  5940. (_dl_lookup_versioned_symbol): Likewise.
  5941. 2002-04-13 Jakub Jelinek <jakub@redhat.com>
  5942. * time/mktime.c (__mktime_internal): If year is 69, don't bail out
  5943. early, but check whether it overflowed afterwards.
  5944. * time/tst-mktime.c (main): Add new tests.
  5945. 2002-04-14 Ulrich Drepper <drepper@redhat.com>
  5946. * debug/xtrace.sh: Fix program name in help message.
  5947. Patch by Roger Luethi <rl@hellgate.ch>.
  5948. * include/sys/stat.h: Add prototypes for __lxstat_internal and
  5949. __lxstat64_internal. Add macros __lxstat and __lxstat64 if not
  5950. NOT_IN_libc.
  5951. * sysdeps/generic/lxstat.c: Use INTDEF for __lxstat.
  5952. * sysdeps/mach/hurd/lxstat.c: Likewise.
  5953. * sysdeps/unix/common/lxstat.c: Likewise.
  5954. * sysdeps/unix/sysv/aix/lxstat.c: Likewise.
  5955. * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
  5956. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
  5957. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
  5958. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
  5959. * sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64.
  5960. * sysdeps/mach/hurd/lxstat64.c: Likewise.
  5961. * sysdeps/unix/sysv/aix/lxstat64.c: Likewise.
  5962. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  5963. * include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal
  5964. prototypes. Add __mbrlen and __mbrtowc macros.
  5965. * wcsmbs/mbrlen.c: Use INTDEF for __mbrlen.
  5966. * wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc.
  5967. * include/unistd.h: Add prototype for __write_internal and add
  5968. __libc_write macro is SHARED.
  5969. * sysdeps/generic/write.c: Use INTDEF for __write.
  5970. * sysdeps/mach/hurd/write.c: Likewise.
  5971. * sysdeps/unix/sysv/aix/write.c: Likewise.
  5972. * sysdeps/unix/syscalls.list: Add __libc_write alias.
  5973. * assert/assert.c: Replace STR_N_SIZE with something usable in
  5974. macro arguments.
  5975. * assert/assert-perr.c: Likewise.
  5976. * include/sys/socket.h: Declare __libc_sa_len_internal and define
  5977. SA_LEN macro to use it if not NOT_IN_libc.
  5978. * sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len.
  5979. * include/fcntl.h: Declare __open_internal and define __open and
  5980. __libc_open macros if not NOT_IN_libc.
  5981. * sysdeps/generic/open.c: Use INTDEF for __open.
  5982. * sysdeps/mach/hurd/open.c: Likewise.
  5983. * sysdeps/unix/sysv/aix/open.c: Likewise.
  5984. * sysdeps/unix/syscalls.list: Add __open_internal alias.
  5985. * sysdeps/generic/check_fds.c: Make sure newly opened file descriptor
  5986. has correct number.
  5987. * include/fcntl.h: Define __libc_fcntl macro if not NOT_IN_libc.
  5988. * sysdeps/mach/hurd/fcntl.c: Undefine __libc_fcntl as well.
  5989. * sysdeps/unix/sysv/aix/fcntl.c: Likewise.
  5990. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  5991. * include/wctype.h: Declare __iswalpha_l_internal,
  5992. __iswdigit_l_internal, __iswspace_l_internal,
  5993. __iswxdigit_l_internal, and __iswctype_internal. Define
  5994. __iswalpha_l, __iswctype, __iswdigit_l, __iswspace_l, and
  5995. __iswxdigit_l macros if not NOT_IN_libc.
  5996. * wctype/iswctype.c: Use INTDEF for __iswctype.
  5997. * wctype/wcfuncs_l.c: Use INTDEF for all __iswXXX_l.
  5998. * include/math.h: Declare __isinf_internal, __isinfl_internal,
  5999. __isnan_internal, and __isnanl_internal.
  6000. * stdio-common/printf_fp.c: Use INTUSE for calls to __isinf, __isinfl,
  6001. __isnan, and __isnanl.
  6002. * stdio-common/printf_size.c: Likewise.
  6003. * sysdeps/generic/printf_fphex.c: Likewise.
  6004. * sysdeps/i386/fpu/s_isinfl.c: Also define _internal alias.
  6005. * sysdeps/i386/fpu/s_isnanl.c: Likewise.
  6006. * sysdeps/ia64/fpu/s_isinf.S: Likewise.
  6007. * sysdeps/ia64/fpu/s_isnan.S: Likewise.
  6008. * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
  6009. * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
  6010. * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
  6011. * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
  6012. * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
  6013. * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
  6014. * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
  6015. * sysdeps/m68k/s_isinfl.c: Likewise.
  6016. * sysdeps/m68k/fpu/s_isinf.c: Likewise.
  6017. * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
  6018. * include/sys/time.h: Declare __gettimeofday_internal and define
  6019. __gettimeofday macro if not NOT_IN_libc.
  6020. * sysdeps/generic/gettimeofday.c: Use INTEDEF for __gettimeofday.
  6021. * sysdeps/mach/gettimeofday.c: Likewise.
  6022. * sysdeps/posix/gettimeofday.c: Likewise.
  6023. * sysdeps/unix/sysv/aix/gettimeofday.c: Likewise.
  6024. * sysdeps/unix/common/syscalls.list: Define __gettimeofday alias.
  6025. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
  6026. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Likewise.
  6027. * include/sys/stat.h: Declare __fxstat_internal and __fxstat64_internal
  6028. and define __fxstate and __fxstat64 macros if not NOT_IN_libc.
  6029. Remove __lstat and __fstat inline functions.
  6030. * sysdeps/generic/fxstat.c: Use INTDEF for __fxstat.
  6031. * sysdeps/mach/hurd/fxstat.c: Likewise.
  6032. * sysdeps/unix/fxstat.c: Likewise.
  6033. * sysdeps/unix/sysv/aix/fxstat.c: Likewise.
  6034. * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
  6035. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
  6036. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
  6037. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
  6038. * sysdeps/generic/fxstat64.c: Use INTDEF for __fxstat64.
  6039. * sysdeps/mach/hurd/fxstat64.c: Likewise.
  6040. * sysdeps/unix/sysv/aix/fxstat64.c: Likewise.
  6041. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
  6042. * include/unistd.h: Declare __getpid_internal and define
  6043. __getpid macro if not NOT_IN_libc.
  6044. * sysdeps/mach/hurd/getpid.c: Use INTDEF for __getpid.
  6045. * sysdeps/generic/getpid.c: Likewise.
  6046. * sysdeps/unix/syscalls.list: Add __getpid_internal alias.
  6047. * posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.
  6048. * include/unistd.h: Declare __getpgid_internal and define
  6049. __getpgid macro if not NOT_IN_libc.
  6050. * sysdeps/generic/getpgid.c: Use INTDEF for __getpgid.
  6051. * sysdeps/mach/hurd/getpgid.c: Likewise.
  6052. * sysdeps/unix/sysv/aix/getpgid.c: Likewise.
  6053. * sysdeps/unix/sysv/sysv4/__getpgid.c: Likewise.
  6054. * sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
  6055. * sysdeps/unix/sysv/linux/syscalls.list: Add _getpgid_internal alias.
  6056. * include/unistd.h: Declare __getpagesize_internal and define
  6057. __getpagesize macro if not NOT_IN_libc.
  6058. * sysdeps/unix/sysv/linux/shmat.c: Include <unistd.h> for
  6059. __getpagesize.
  6060. * sysdeps/generic/getpagesize.c: Use INTDEF for __getpagesize.
  6061. * sysdeps/mach/getpagesize.c: Likewise.
  6062. * sysdeps/posix/getpagesize.c: Likewise.
  6063. * sysdeps/unix/getpagesize.c: Likewise.
  6064. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
  6065. * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise.
  6066. * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Likewise.
  6067. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
  6068. 2002-04-13 Andreas Jaeger <aj@suse.de>
  6069. * sysdeps/i386/i486/bits/string.h (__strcspn_cg): Use only memory
  6070. as clobber to reduce register pressure.
  6071. (__strpbrk_cg): Likewise.
  6072. (__mempcpy_by4): Likewise.
  6073. (__strstr_cg): Likewise.
  6074. Add prototype for __memrchr.
  6075. 2002-04-13 Andreas Schwab <schwab@suse.de>
  6076. * sysdeps/m68k/fpu/s_finite.c: Add internal alias.
  6077. * sysdeps/m68k/fpu/s_finitef.c: Likewise.
  6078. * sysdeps/m68k/fpu/s_finitel.c: Likewise.
  6079. 2002-04-13 Ulrich Drepper <drepper@redhat.com>
  6080. * elf/do-lookup.h [!VERSIONED]: Add new parameter flags. Use it to
  6081. check whether the caller prefers getting the most recent version of
  6082. a symbol of the earliest version.
  6083. * elf/dl-lookup.c: Adjust all callers of do_lookup. Change
  6084. _dl_do_lookup to also take the new parameter and pass it on.
  6085. Change 'explicit' parameter of _dl_lookup_symbol and
  6086. _dl_lookup_versioned_symbol to flags. Adjust tests.
  6087. * sysdeps/generic/ldsodefs.h: Adjust prototypes.
  6088. * elf/dl-libc.c: Adjust all callers of _dl_lookup_symbol and
  6089. _dl_lookup_versioned_symbol.
  6090. * elf/dl-reloc.c: Likewise.
  6091. * elf/dl-runtime.c: Likewise.
  6092. * elf/dl-sym.c: Likewise.
  6093. * sysdeps/mips/dl-machine.h: Likewise.
  6094. 2002-04-11 Jakub Jelinek <jakub@redhat.com>
  6095. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste
  6096. in a token.
  6097. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise.
  6098. 2002-04-10 Andreas Jaeger <aj@suse.de>
  6099. * sysdeps/unix/sysv/linux/x86_64/glob.c: New file.
  6100. * include/argz.h: Remove extra char from last patch.
  6101. 2002-04-09 Ulrich Drepper <drepper@redhat.com>
  6102. * sysdeps/mach/hurd/chown.c: Use INTDEF for __chown.
  6103. * sysdeps/unix/sysv/aix/chown.c: Likewise.
  6104. * sysdeps/unix/grantpt.c: Use INTUSE for __chown calls.
  6105. * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
  6106. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
  6107. * sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define
  6108. __chown_internal.
  6109. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
  6110. * intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
  6111. * intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
  6112. * intl/ngettext.c: Likewise.
  6113. * include/sys/socket.h: Declare __connect_internal and define
  6114. __connect macro if not NOT_IN_libc.
  6115. * sysdeps/mach/hurd/connect.c: Use INTDEF for __connect.
  6116. * sysdeps/unix/sysv/aix/connect.c: Likewise.
  6117. * sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias.
  6118. * include/unistd.h: Declare __close_internal and define __close macro
  6119. if not NOT_IN_libc.
  6120. * libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2,
  6121. WJUMP3): Add extra parenthesis to avoid expanding element names with
  6122. macors like __close.
  6123. * sysdeps/unix/syscalls.list: Add __close_internal alias.
  6124. * include/unistd.h: Declare __dup2_internal and define __dup2 macro
  6125. if not NOT_IN_libc.
  6126. * sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2.
  6127. * sysdeps/posix/dup2.c: Use INTDEF for __dup2.
  6128. * sysdeps/unix/syscalls.list: Add __dup2_internal alias.
  6129. * include/unistd.h: Declare __fork_internal and define __fork macro
  6130. if not NOT_IN_libc.
  6131. * sysdeps/mach/hurd/fork.c: Use INTDEF for __fork.
  6132. * sysdeps/unix/sysv/aix/fork.c: Likewise.
  6133. * sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias.
  6134. * include/stdio_ext.h: Declare __fsetlocking_internal and define
  6135. __fsetlocking macro to use it if not NOT_IN_libc.
  6136. * libio/__fsetlocking.c: Use INTDEF for __fsetlocking.
  6137. * libio/__fbufsize.c: Correct copyright.
  6138. * libio/__flbf.c: Likewise.
  6139. * libio/__fpending.c: Likewise.
  6140. * libio/__fpurge.c: Likewise.
  6141. * libio/__freadable.c: Likewise.
  6142. * libio/__freading.c: Likewise.
  6143. * libio/__fsetlocking.c: Likewise.
  6144. * libio/__fwritable.c: Likewise.
  6145. * libio/__fwriting.c: Likewise.
  6146. * include/stdio.h: Declare __asprintf_internal and define __asprintf
  6147. macro to use it if not NOT_IN_libc.
  6148. * stdio-common/asprintf.c: Use INTDEF for __asprintf.
  6149. * include/mntent.h: Declare __setmntent_internal,
  6150. __getmntent_r_internal, __endmntent_internal. Define __setmntent,
  6151. __getmntent_r, and __endmntent macros to use these functions if not
  6152. NOT_IN_libc.
  6153. * misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and
  6154. __endmntent.
  6155. * include/math.h: Declare __finite_internal, __finitef_internal, and
  6156. __finitel_internal. Redefine isfinite macro if in libc or libm using
  6157. these functions.
  6158. * sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls.
  6159. * sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls.
  6160. * sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls.
  6161. * sysdeps/i386/fpu/s_finite.S: Define _internal alias.
  6162. * sysdeps/i386/fpu/s_finitef.S: Likewise.
  6163. * sysdeps/i386/fpu/s_finitel.S: Likewise.
  6164. * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
  6165. * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
  6166. * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
  6167. * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
  6168. * include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro
  6169. to use this function if not NOT_IN_libc.
  6170. * libio/iofdopen.c (_IO_fcntl): Use INTUSE.
  6171. * sysdeps/generic/fcntl.c: Use INTDEF for __fcntl.
  6172. * sysdeps/mach/hurd/fcntl.c: Likewise.
  6173. * sysdeps/unix/sysv/aix/fcntl.c: Likewise.
  6174. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  6175. * include/argz.h: Declare __argz_count_internal and
  6176. __argz_stringify_internal.
  6177. * intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
  6178. __argz_stringify.
  6179. * string/argz-count.c: Use INTDEF for __argz_count.
  6180. * string/argz-stringify.c: Use INTDEF for __argz_stringify.
  6181. * include/stdlib.h: Declare __cxa_atexit_internal and define
  6182. __cxa_atexit macro if not NOT_IN_libc.
  6183. * stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit.
  6184. * dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c.
  6185. * assert/assert.c: Use INTDEF for __assert_fail.
  6186. * assert/__assert.c: Use INTUSE for call to __assert_fail.
  6187. * include/assert.h: Declare __assert_fail_internal.
  6188. * extra-lib.mk: Mark assignment to lib with override.
  6189. 2002-04-08 Ulrich Drepper <drepper@redhat.com>
  6190. * Makerules: Use cppflags-iterator.mk to add defines for all test
  6191. source files.
  6192. 2002-04-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
  6193. * elf/elf.h: Define R_SH_TLS_xxx macros.
  6194. * elf/rtld.c: Remove an extra parenthesis.
  6195. * elf/tls-macros.h: Define SH version TLS_LE, TLS_IE, TLS_LD and
  6196. TLS_GD macros.
  6197. * sysdeps/generic/dl-tls.c: Add a missing semi-colon.
  6198. * sysdeps/sh/dl-lookupcfg.h: New file.
  6199. * sysdeps/sh/dl-tls.h: New file.
  6200. * sysdeps/sh/dl-machine.h (elf_machine_type_class): Set
  6201. ELF_RTYPE_CLASS_PLT also for the three TLS relocations.
  6202. (elf_machine_rela): Handle R_SH_TLS_DTPMOD32, R_SH_TLS_DTPOFF32 and
  6203. R_SH_TLS_TPOFF32 relocations.
  6204. 2002-04-08 Ulrich Drepper <drepper@redhat.com>
  6205. * cppflags-iterator.mk (cpp-srcs-left): Define NOT_IN_libc instead
  6206. of NOT_IN_LIBC.
  6207. * include/libintl.h: Test for NOT_IN_libc not NOT_IN_LIBC.
  6208. * include/stdlib.h: Likewise.
  6209. 2002-04-08 Jakub Jelinek <jakub@redhat.com>
  6210. * elf/Makefile (CFLAGS-.os): Define NOT_IN_libc and IS_IN_rtld
  6211. instead of _RTLD_LOCAL.
  6212. * elf/dl-dst.h: Use IS_IN_rtld instead of _RTLD_LOCAL.
  6213. * include/unistd.h: Likewise.
  6214. * sysdeps/generic/ldsodefs.h: Likewise.
  6215. * stdio-common/_itoa.h (_itoa_word): Only use internal digit arrays
  6216. if in libc or ld.so.
  6217. 2002-04-08 Andreas Jaeger <aj@suse.de>
  6218. * elf/cache.c (print_entry): Support x86-64.
  6219. 2002-04-08 Ulrich Drepper <drepper@redhat.com>
  6220. * include/stdlib.h: For libc itself replace MB_CUR_MAX definition
  6221. with one accessing the locale data structures directly.
  6222. * stdio-common/printf-prs.c: Include localeinfo.h for new
  6223. MB_CUR_MAX definition.
  6224. * Makeconfig (CPPFLAGS): Also add CPPFLAGS-<basename> where <basename>
  6225. is the name of the source file without extension.
  6226. * Makefile (distribute): Add cppflags-iterator.mk.
  6227. * cppflags-iterator.mk: New file.
  6228. * extra-lib.mk: For the sources of the library run
  6229. cppflags-iterator.mk.
  6230. * include/libintl.h: Declare __dcgettext_internal and
  6231. _libc_intl_domainname_internal. Define __dcgettext using these
  6232. two symbols if used in libc itself.
  6233. * argp/argp-help.c: Define dgettext using __dcgettext_internal and
  6234. _libc_intl_domainname_internal.
  6235. * argp/argp-parse.c: Likewise.
  6236. * intl/dcgettext.c (__dcgettext): Use INTDEF to define alias.
  6237. * intl/dgettext.c: Call __dcgettext_internal instead of __dcgettext.
  6238. * intl/gettext.c: Likewise.
  6239. * locale/SYS_libc.c (_libc_intl_domainname): Use INTDEF to define
  6240. alias.
  6241. * posix/regcomp.c (gettext): Use __dcgettext_internal instead of
  6242. __dcgettext.
  6243. * posix/regex_internal.c (gettext): Likewise.
  6244. 2002-04-08 Andreas Jaeger <aj@suse.de>
  6245. * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule.
  6246. * sysdeps/x86_64/fpu/s_llrint.S: New file.
  6247. * sysdeps/x86_64/fpu/s_llrintf.S: New file.
  6248. * sysdeps/x86_64/fpu/s_llrintl.S: New file.
  6249. * sysdeps/x86_64/fpu/s_lrint.S: New file.
  6250. * sysdeps/x86_64/fpu/s_lrintf.S: New file.
  6251. * sysdeps/x86_64/fpu/s_lrintl.S: New file.
  6252. 2002-04-08 Roland McGrath <roland@frob.com>
  6253. * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Use MAP_FAILED instead of
  6254. widening __hurd_fail value.
  6255. 2002-04-07 Roland McGrath <roland@frob.com>
  6256. * sysdeps/mach/hurd/alpha/trampoline.c: Don't include
  6257. <mach/machine/alpha_instruction.h>.
  6258. (_hurd_setup_sighandler): Take proper arguments for current decls.
  6259. Update code to use _hurdsig_catch_fault.
  6260. Use `callsys' instruction instead of `call_pal'.
  6261. * sysdeps/mach/hurd/alpha/intr-msg.h: New file.
  6262. * sysdeps/mach/alpha/sysdep.h: Include <mach/alpha/asm.h>.
  6263. (ALIGN, at, AT, fp): New macros.
  6264. 2002-04-06 Roland McGrath <roland@frob.com>
  6265. * mach/setup-thread.c (__mach_setup_thread): int -> natural_t
  6266. * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE.
  6267. (__mmap): Use MAP_FAILED instead of widening __hurd_fail value.
  6268. * sysdeps/mach/hurd/bind.c: Use prototype definition.
  6269. * sysdeps/mach/hurd/connect.c: Likewise.
  6270. * sysdeps/mach/hurd/getsockopt.c: Likewise.
  6271. * sysdeps/mach/hurd/setsockopt.c: Likewise.
  6272. * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to
  6273. __msg_sig_post RPC.
  6274. * hurd/catch-exc.c: Use integer_t instead of int.
  6275. * hurd/hurdfault.c: Likewise.
  6276. * sysdeps/mach/hurd/alpha/exc2signal.c
  6277. (_hurd_exception2signal): Rewritten.
  6278. * sysdeps/mach/hurd/alpha/longjmp-ts.c
  6279. (_hurd_longjmp_thread_state): Rewritten.
  6280. 2002-04-07 Ulrich Drepper <drepper@redhat.com>
  6281. * nss/getXXbyYY_r.c: If NSS_attribute_hidden is defined use it with the
  6282. DB_LOOKUP_FCT prototype.
  6283. * nss/getXXent_r.c: Likewise.
  6284. * inet/getaliasent_r.c: Define NSS_attribute_hidden.
  6285. * inet/getaliasname_r.c: Likewise.
  6286. * inet/getnetbyad_r.c: Likewise.
  6287. * inet/getnetbynm_r.c: Likewise.
  6288. * inet/getnetent_r.c: Likewise.
  6289. * inet/getproto_r.c: Likewise.
  6290. * inet/getprtent_r.c: Likewise.
  6291. * inet/getprtname_r.c: Likewise.
  6292. * inet/getrpcbyname_r.c: Likewise.
  6293. * inet/getrpcbynumber_r.c: Likewise.
  6294. * inet/getrpcent_r.c: Likewise.
  6295. * inet/getservent_r.c: Likewise.
  6296. * inet/getsrvbynm_r.c: Likewise.
  6297. * inet/getsrvbypt_r.c: Likewise.
  6298. * shadow/getspent_r.c: Likewise.
  6299. * shadow/getspnam_r.c: Likewise.
  6300. * malloc/thread-m.h: Define __libc_tsd_MALLOC_data as static.
  6301. * sysdeps/i386/elf/bsd-setjmp.S: Use GOTOFF for __sigjmp_save access.
  6302. Use i686-friendly PIC code.
  6303. * sysdeps/i386/elf/setjmp.S: Likewise.
  6304. * sysdeps/unix/sysv/linux/i386/sysdep.h: Use i686-friendly PIC code.
  6305. * sysdeps/mach/hurd/Versions: Add _dl_init_first to libc and ld export
  6306. list.
  6307. * elf/Versions: Remove it here.
  6308. 2002-04-06 Ulrich Drepper <drepper@redhat.com>
  6309. * iconvdata/tcvn5712-1.c (MAX_NEEDED_INPUT): Define for from
  6310. direction. Reported by H . J . Lu <hjl@lucon.org>.
  6311. 2002-04-05 Ulrich Drepper <drepper@redhat.com>
  6312. * intl/tst-gettext.sh: Set GCONV_PATH and LOCPATH to values for the
  6313. test just before the test runs.
  6314. * intl/tst-translit.sh: Likewise.
  6315. * intl/tst-codeset.sh: Likewise.
  6316. * timezone/zic.c: Update from tzcode2002c.
  6317. * timezone/asia: Update from tzdata2002c.
  6318. * timezone/backward: Likewise.
  6319. * timezone/europe: Likewise.
  6320. * timezone/northamerica: Likewise.
  6321. * timezone/northamerica: Likewise.
  6322. * timezone/northamerica: Likewise.
  6323. * timezone/southamerica: Likewise.
  6324. * timezone/zone.tab: Likewise.
  6325. 2002-03-23 Jakub Jelinek <jakub@redhat.com>
  6326. * sysdeps/generic/brk.c (__curbrk): Declare.
  6327. * sysdeps/generic/dl-brk.c: Add attribute_hidden to __curbrk.
  6328. * sysdeps/generic/dl-sbrk.c: Likewise.
  6329. * sysdeps/unix/arm/dl-brk.S: New file.
  6330. * sysdeps/unix/bsd/hp/m68k/dl-brk.S: New file.
  6331. * sysdeps/unix/bsd/osf/alpha/dl-brk.S: New file.
  6332. * sysdeps/unix/bsd/sun/m68k/dl-brk.S: New file.
  6333. * sysdeps/unix/bsd/vax/dl-brk.S: New file.
  6334. * sysdeps/unix/i386/dl-brk.S: New file.
  6335. * sysdeps/unix/mips/dl-brk.S: New file.
  6336. * sysdeps/unix/sparc/dl-brk.S: New file.
  6337. * sysdeps/unix/sysv/linux/alpha/dl-brk.S: New file.
  6338. * sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file.
  6339. * sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file.
  6340. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file.
  6341. 2002-04-03 Andreas Schwab <schwab@suse.de>
  6342. * Makefile (headers): Add gnu/lib-names.h here instead of
  6343. install-others.
  6344. ($(inst_includedir)/gnu/lib-names.h): Remove explicit
  6345. installation rule.
  6346. (install-headers): Add dependency on install-headers-nosubdir.
  6347. * stdio-common/Makefile (headers): Add bits/stdio_lim.h here
  6348. instead of install-others.
  6349. ($(inst_includedir)/bits/stdio_lim.h): Remove explicit
  6350. installation rule.
  6351. 2002-04-05 Ulrich Drepper <drepper@redhat.com>
  6352. * manual/users.tex (Enable/Disable Setuid): Fix typo in example.
  6353. Reported by Sam Roberts <sroberts@uniserve.com>.
  6354. 2002-04-03 Jakub Jelinek <jakub@redhat.com>
  6355. * elf/do-rel.h (elf_dynamic_do_rel): Skip relative relocs if
  6356. l_addr == 0 and ELF_MACHINE_REL_RELATIVE.
  6357. * sysdeps/alpha/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
  6358. * sysdeps/ia64/dl-machine.h (ELF_MACHINE_REL_RELATIVE): Define.
  6359. 2002-04-03 David Mosberger <davidm@hpl.hp.com>
  6360. * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind info.
  6361. (RTLD_START): Ditto.
  6362. (__ia64_init_bootstrap_fdesc_table): Insert stop bit to avoid RAW
  6363. dependency violation.
  6364. 2002-04-05 Jakub Jelinek <jakub@redhat.com>
  6365. * time/mktime.c (__mktime_internal): Move check for year < 70 below
  6366. all variable declarations.
  6367. 2002-04-04 Andreas Schwab <schwab@suse.de>
  6368. * sysdeps/unix/sysv/linux/ia64/pipe.S: Don't overwrite r8 on error.
  6369. 2002-04-04 Andreas Jaeger <aj@suse.de>
  6370. * sysdeps/x86_64/fpu/e_sqrt.c: New file.
  6371. * sysdeps/x86_64/fpu/e_sqrtf.c: New file.
  6372. * sysdeps/x86_64/fpu/s_fabs.c: New file.
  6373. * sysdeps/x86_64/fpu/s_fabsf.c: New file.
  6374. * sysdeps/x86_64/fpu/s_fabsl.c: New file.
  6375. * sysdeps/unix/sysv/linux/x86_64/time.S: New file.
  6376. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: New file.
  6377. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Removed.
  6378. * sysdeps/unix/sysv/linux/x86_64/time.c: Removed.
  6379. * configure.in: Handle all mips entries the same.
  6380. * sysdeps/mips/dec/bits/endian.h: Removed since arch is not supported.
  6381. * sysdeps/mips/mips3/*: Likewise.
  6382. * sysdeps/mips/p40/bits/endian.h: Likewise.
  6383. 2002-04-04 Ulrich Drepper <drepper@redhat.com>
  6384. * misc/dirname.c (dirname): Ignore trailing slashes at end of
  6385. non-null result [PR libc/2600].
  6386. * misc/tst-dirname.c: Add more tests.
  6387. 2002-04-03 Ulrich Drepper <drepper@redhat.com>
  6388. * locale/programs/charmap.c (charmap_read): If the charmap doesn't
  6389. define a code_set_name provide one based on the filename.
  6390. * malloc/hooks.c: Define weak_variable correctly for _LIBC.
  6391. 2001-12-28 Andreas Jaeger <aj@suse.de>
  6392. * time/mktime.c (__mktime_internal): Check for year < 70
  6393. [PR libc/2738].
  6394. 2002-04-03 Andreas Jaeger <aj@suse.de>
  6395. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments for
  6396. shmat.
  6397. Reported by Andi Kleen <ak@suse.de>.
  6398. 2002-04-03 Ulrich Drepper <drepper@redhat.com>
  6399. * sysdeps/generic/w_lgamma.c: Initialized local_signgam.
  6400. * sysdeps/generic/w_lgammaf.c: Likewise.
  6401. * sysdeps/generic/w_lgammal.c: Likewise [PR libc/2854].
  6402. * debug/catchsegv.sh (exval): Quote [ in pattern [PR libc/2902].
  6403. Adjust for new output format of the backtrace functions.
  6404. * misc/syslog.c (vsyslog): Only use cleanup handler if
  6405. _LIBC_REENTRANT is defined [PR libc/2924].
  6406. * libio/Makefile (tests): Add bug-ungetwc2.
  6407. * libio/bug-ungetwc2.c: New file.
  6408. * manual/install.texi: Typographical and grammatical cleanup.
  6409. Patch by Dennis Grace <dgrace@us.ibm.com>.
  6410. * sunrpc/rpc_svcout.c (write_real_program): Write "result, "
  6411. parameter if mtflag. Patch by <jeongyun@innovay.com>.
  6412. * sunrpc/rpc_svcout.c (printif): Remove third parameter. It was
  6413. always "&". Adjust callers.
  6414. Add "_" prefix to several generated definitions.
  6415. Patch by paul@serice.net [PR libc/3158].
  6416. 2002-04-02 Ulrich Drepper <drepper@redhat.com>
  6417. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Completely specify
  6418. size of _dl_arm_cap_flags.
  6419. Patch by enrico.scholz@informatik.tu-chemnitz.de [PR libc/3155].
  6420. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
  6421. Define as 8.
  6422. 2002-03-22 H.J. Lu <hjl@gnu.org>
  6423. * scripts/firstversions.awk: Check the first version.
  6424. 2002-04-02 Ulrich Drepper <drepper@redhat.com>
  6425. * elf/dl-deps.c (_dl_map_object_deps): The sorting of the
  6426. dependencies must be stable to work correctly.
  6427. Reported by martin.lubich@datacon.at.
  6428. * libio/bug-ungetwc1.c: New file.
  6429. * libio/Makefile (tests): Add bug-ungetwc1.
  6430. * libio/fileops.c (_IO_new_file_close_it): Only call _IO_do_flush
  6431. if stream was last used for writing.
  6432. * elf/do-lookup.h (do_lookup): 2 is the first user-defined version
  6433. number [PR libc/3111].
  6434. * libio/iofclose.c (_IO_new_fclose): Move freeing of backup buffer
  6435. to ...
  6436. * libio/fileops.c (_IO_new_file_close_it): ...here [PR libc/3190].
  6437. 2002-04-02 Jakub Jelinek <jakub@redhat.com>
  6438. * inet/ether_ntoh.c (__nss_ethers_lookup): Add internal_function.
  6439. * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
  6440. * inet/getnetgrent_r.c (__nss_netgroup_lookup): Likewise.
  6441. * sunrpc/netname.c (__nss_publickey_lookup): Likewise.
  6442. * sunrpc/publickey.c (__nss_publickey_lookup): Likewise.
  6443. 2002-03-30 Jakub Jelinek <jakub@redhat.com>
  6444. * elf/dynamic-link.h (elf_get_dynamic_info): Don't abort on unknown
  6445. dynamic tags.
  6446. 2002-03-29 Jakub Jelinek <jakub@redhat.com>
  6447. * sysdeps/i386/fpu/s_fabs.S: New file.
  6448. * sysdeps/i386/fpu/s_fabsf.S: New file.
  6449. * sysdeps/i386/fpu/s_fabsl.S: New file.
  6450. * sysdeps/sparc/sparc64/fpu/s_fabs.c: New file.
  6451. * sysdeps/sparc/sparc64/fpu/s_fabsf.c: New file.
  6452. * sysdeps/sparc/sparc64/fpu/s_fabsl.c: New file.
  6453. 2002-04-02 Ulrich Drepper <drepper@redhat.com>
  6454. * rt/tst-shm.c (do_test): Add one more test for size of shared
  6455. memory object.
  6456. 2002-03-29 Wolfram Gloger <wg@malloc.de>
  6457. * malloc/malloc.c: Add short description and prototypes for
  6458. malloc_get_state, malloc_set_state and posix_memalign, for
  6459. consistency and to avoid warnings with -Wstrict-prototypes.
  6460. Reported by Andreas Jaeger <aj@suse.de>.
  6461. 2002-04-02 Ulrich Drepper <drepper@redhat.com>
  6462. * po/gl.po: Update from translation team.
  6463. 2002-03-31 Roland McGrath <roland@frob.com>
  6464. * hurd/hurdselect.c (_hurd_select): Fix
  6465. MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof.
  6466. Use a union rather than casts to compare mach_msg_type_t as int.
  6467. 2002-03-25 Roland McGrath <roland@frob.com>
  6468. * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
  6469. check off the end of NAME when it's shorter than 2 chars.
  6470. Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
  6471. 2002-03-17 Roland McGrath <roland@frob.com>
  6472. * sysdeps/mach/hurd/i386/sys/io.h: New file.
  6473. * sysdeps/mach/hurd/i386/ioperm.c: New file.
  6474. * sysdeps/mach/hurd/i386/Dist: Add them.
  6475. * sysdeps/mach/hurd/i386/Versions
  6476. (libc: GLIBC_2.2.6): New set, add ioperm.
  6477. * sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY.
  6478. (mach_interface_list): Check for mach_i386.defs.
  6479. * config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
  6480. * sysdeps/mach/configure: Regenerated.
  6481. 2002-03-22 Ulrich Drepper <drepper@redhat.com>
  6482. * po/fr.po: Update from translation team.
  6483. 2002-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
  6484. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove
  6485. getpriority from syscalls list.
  6486. 2002-03-28 Andreas Jaeger <aj@suse.de>
  6487. * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New file.
  6488. * sysdeps/unix/sysv/linux/x86_64/getcontext.S: New file.
  6489. * sysdeps/unix/sysv/linux/x86_64/setcontext.S: New file.
  6490. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New file.
  6491. 2002-03-27 Andreas Jaeger <aj@suse.de>
  6492. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
  6493. sigcontext): Follow further kernel change.
  6494. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further
  6495. kernel change.
  6496. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK):
  6497. Change for struct sigcontext change.
  6498. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
  6499. Follow changes in struct sigcontext.
  6500. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace
  6501. sysycall, use wrapper instead.
  6502. 2002-03-26 Andreas Jaeger <aj@suse.de>
  6503. * sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory
  6504. read and write accesses as detailed as possible.
  6505. (__memcpy_by2): Likewise.
  6506. (__memcpy_g): Likewise.
  6507. (memmove): Likewise.
  6508. (memcmp): Likewise.
  6509. (__memset_ccn_by4): Likewise.
  6510. (__memset_ccn_by2): Likewise.
  6511. (__memset_gcn_by4): Likewise.
  6512. (__memset_gcn_by2): Likewise.
  6513. (memchr): Likewise.
  6514. (__memrchr): Likewise.
  6515. (rawmemchr): Likewise.
  6516. (__strlen_g): Likewise.
  6517. (__strcpy_g): Likewise.
  6518. (__mempcpy_by4): Likewise.
  6519. (__mempcpy_by2): Likewise.
  6520. (__mempcpy_byn): Likewise.
  6521. (__stpcpy_g): Likewise.
  6522. (__strncpy_by4): Likewise.
  6523. (__strncpy_by2): Likewise.
  6524. (__strncpy_byn): Likewise.
  6525. (__strncpy_gg): Likewise.
  6526. (__strcat_c): Likewise.
  6527. (__strcat_g): Likewise.
  6528. (__strncat_g): Likewise.
  6529. (__strcmp_gg): Likewise.
  6530. (__strncmp_g): Likewise.
  6531. (__strchr_c): Likewise.
  6532. (__strchr_g): Likewise.
  6533. (__strchrnul_c): Likewise.
  6534. (__strchrnul_g): Likewise.
  6535. (__strrchr_c): Likewise.
  6536. (__strrchr_g): Likewise.
  6537. (__strrchr_c): Likewise.
  6538. (__strrchr_g): Likewise.
  6539. (__strcspn_c1): Likewise.
  6540. (__strcspn_cg): Likewise.
  6541. (__strcspn_g): Likewise.
  6542. (__strcspn_g): Likewise.
  6543. (__strspn_c1): Likewise.
  6544. (__strspn_cg): Likewise.
  6545. (__strspn_g): Likewise.
  6546. (__strspn_g): Likewise.
  6547. (__strpbrk_cg): Likewise.
  6548. (__strpbrk_g): Likewise.
  6549. (__strstr_cg): Likewise.
  6550. (__strstr_g): Likewise.
  6551. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by
  6552. Michal Ludvig <mludvig@suse.cz>.
  6553. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
  6554. compatibilty, adjust for kernel changes.
  6555. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
  6556. sigcontext): Adjust for kernel changes.
  6557. 2002-03-25 Andreas Jaeger <aj@suse.de>
  6558. * iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle
  6559. little endian.
  6560. Reported by Artur Zaprzala <zybi@talex.com.pl>.
  6561. 2002-03-24 Andreas Jaeger <aj@suse.de>
  6562. * manual/memory.texi (Aligned Memory Blocks): Fix typo.
  6563. * stdio-common/tst-fdopen.c (main): Remove unused variable.
  6564. * iconv/tst-iconv3.c (main): Use correct printf strings.
  6565. 2002-03-18 Roland McGrath <roland@frob.com>
  6566. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
  6567. (CMGROUP_MAX): New macro.
  6568. 2002-03-23 Roland McGrath <roland@frob.com>
  6569. * sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
  6570. * sysdeps/posix/shm_unlink.c: Likewise.
  6571. 2002-03-22 Roland McGrath <roland@frob.com>
  6572. * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
  6573. * sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
  6574. under --enable-libio.
  6575. * sysdeps/mach/hurd/configure: Regenerated.
  6576. 2002-03-23 Roland McGrath <roland@frob.com>
  6577. * sysdeps/mach/hurd/i386/Makefile
  6578. (sysdep_routines, shared-only-routines): Don't add framestate,
  6579. reverting 2001-10-02 change.
  6580. * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
  6581. * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
  6582. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  6583. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  6584. * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
  6585. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
  6586. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  6587. * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
  6588. * sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
  6589. Do it here instead, only if [$(unwind-find-fde) = yes].
  6590. 2002-03-23 Andreas Jaeger <aj@suse.de>
  6591. * signal/signal.h: Fix typo. Patch by Steve Kemp
  6592. <skx@tardis.ed.ac.uk>.
  6593. 2002-03-22 Andreas Jaeger <aj@suse.de>
  6594. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
  6595. getresuid.
  6596. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
  6597. _fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
  6598. * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
  6599. user_fpregs_struct): Rename fwd.
  6600. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
  6601. Follow sigcontext changes.
  6602. 2002-03-22 Andreas Jaeger <aj@suse.de>
  6603. * sysdeps/mips/bits/nan.h: New file. Copy from generic one with
  6604. changes for NaNs on MIPS.
  6605. Patch by Hartvig Ekner <hartvige@mips.com>.
  6606. 2002-03-21 Ulrich Drepper <drepper@redhat.com>
  6607. * nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca.
  6608. Use realloc if too large.
  6609. (addgrbyid): Likewise.
  6610. * nscd/hstcache.c (addhstbyname): Likewise.
  6611. (addhstbyaddr): Likewise.
  6612. (addhstbynamev6): Likewise.
  6613. (addhstbyaddrv6): Likewise.
  6614. * nscd/pwdcache.c (addpwbyname): Likewise.
  6615. (addpwbyuid): Likewise.
  6616. 2002-03-21 Andreas Jaeger <aj@suse.de>
  6617. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
  6618. _fpstate): Add separate struct for x86-64.
  6619. * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
  6620. user_fpregs_struct): Change member names to follow kernel.
  6621. 2002-03-20 Ulrich Drepper <drepper@redhat.com>
  6622. * nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29.
  6623. Correctly close the UDP connection right away [PR libc/3120].
  6624. 2002-03-20 Andreas Jaeger <aj@suse.de>
  6625. * sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
  6626. user_fpregs_struct): Fix for changed kernel struct.
  6627. (struct user_regs_struct): Likewise.
  6628. (struct user): Likewise.
  6629. Add 32-bit x86 compatibility.
  6630. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers.
  6631. 2002-03-19 Andreas Jaeger <aj@suse.de>
  6632. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types.
  6633. 2002-03-18 Andreas Jaeger <aj@suse.de>
  6634. * iconvdata/Makefile: Only run tests when shared libs are
  6635. available.
  6636. 2002-03-17 Andreas Jaeger <aj@suse.de>
  6637. * sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
  6638. * sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.
  6639. * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
  6640. bits.
  6641. * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro.
  6642. (CAUSE_SHIFT): New macro.
  6643. Patch by Hartvig Ekner <hartvige@mips.com>.
  6644. * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
  6645. * sysdeps/generic/unwind-pe.h: Likewise.
  6646. * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
  6647. type to _IO_setb.
  6648. * libio/stdio.c (AL2): Define variant when visibility attribute is
  6649. not supported.
  6650. * include/libc-symbols.h (_INTVARDEF): Define variant when
  6651. visibility attribute is not supported.
  6652. 2002-03-16 Ulrich Drepper <drepper@redhat.com>
  6653. * po/fr.po: Update from translation team.
  6654. 2002-02-25 Bruno Haible <bruno@clisp.org>
  6655. * MakeTAGS (extract): Use --sort-by-file instead of --sort-output.
  6656. 2002-03-15 Ulrich Drepper <drepper@redhat.com>
  6657. * libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate
  6658. buffers if _IO_file_attach failed.
  6659. * libio/fileops.c (_IO_file_open): Close file descriptor if
  6660. _IO_SEEKOFF call failed.
  6661. 2002-03-15 H.J. Lu <hjl@gnu.org>
  6662. Ulrich Drepper <drepper@redhat.com>
  6663. * configure.in: Check for availability of
  6664. init_array/fini_array/preinit_array handling in binutils.
  6665. * config.h.in (HAVE_INITFINI_ARRAY): New macro.
  6666. * config.make.in (have-initfini-array): New variable.
  6667. 2002-03-15 Ulrich Drepper <drepper@redhat.com>
  6668. * stdio-common/tst-printf.c (main): Comment out one test which
  6669. checked the compiler's ability to fold floating-point constants
  6670. but not really printf.
  6671. (rfg3): Make s const.
  6672. * stdio-common/tst-printf.sh: Adjust for removed test.
  6673. * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an
  6674. internal function. Adjust for internal_function calling convention.
  6675. * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal
  6676. as internal_function.
  6677. * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as
  6678. hidden.
  6679. * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to
  6680. declaration and definition.
  6681. * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to
  6682. declaration.
  6683. * nss/getXXent_r.c: Likewise.
  6684. * nss/nsswitch.h (db_lookup_function): Add internal_function to
  6685. definition.
  6686. * include/time.h: Declare __localtime_r as hidden.
  6687. * include/aliases.h: Declare __getaliasent_r as hidden.
  6688. * include/grp.h: Declare __getgrent_r as hidden.
  6689. * include/netdb.h: Declare __gethostent_r, __getnetent_r,
  6690. __getservent_r, and __getprotoent_r as hidden.
  6691. * include/pwd.h: Declare __getpwent_r as hidden.
  6692. * include/shadow.h: Declare __getspent_r as hidden.
  6693. * include/rpc/netdb.h: Declare __getrpcent_r as hidden.
  6694. * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare,
  6695. and __gconv_transliterate as hidden.
  6696. Add internal_function to __gconv_get_path declaration.
  6697. * iconv/gconv_conf.c: Add internal_function to __gconv_get_path
  6698. definition. Add attribute_hidden to __gconv_read_conf definition.
  6699. 2002-03-14 Ulrich Drepper <drepper@redhat.com>
  6700. * elf/rtld.c: Declare _environ as hidden.
  6701. * sysdeps/generic/dl-environ.c: Likewise.
  6702. * sysdeps/generic/dl-sysdep.c: Likewise.
  6703. * sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and
  6704. _dl_mcount_internal as hidden.
  6705. * elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk.
  6706. * sysdeps/generic/dl-brk.c: New file.
  6707. * sysdeps/generic/dl-sbrk.c: New file.
  6708. * sysdeps/unix/sysv/linux/i386/dl-brk.c: New file.
  6709. * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file.
  6710. * elf/dl-minimal.c (malloc): Declare _end as hidden.
  6711. (__errno_location): New function. Declare errno as hidden.
  6712. * elf/rtld.c (_dl_argc): Define as hidden.
  6713. (_dl_skip_args): Define as hidden.
  6714. (_begin, _end): Declare as hidden.
  6715. * sysdeps/generic/dl-sysdep.c (_end): Declare as hidden.
  6716. * sysdeps/generic/entry.h (_start): Declare as hidden.
  6717. * sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden.
  6718. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare
  6719. _dl_runtime_resolve and _dl_runtime_profile as hidden.
  6720. (RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini.
  6721. 2002-03-14 Roland McGrath <roland@frob.com>
  6722. * Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.
  6723. * Makeconfig (%.v.i, %.v): New implicit rules.
  6724. (preprocess-versions): Variable removed.
  6725. ($(common-objpfx)shlib-versions.v.i): New target giving just the
  6726. shlib-versions input files as dependencies.
  6727. ($(common-objpfx)soversions.i): Depend on that instead of the input
  6728. files. Use it as input instead of using a pipeline.
  6729. (postclean-generated): Append soversions.i, shlib-versions.v, and
  6730. shlib-versions.v.i here.
  6731. * Makerules ($(common-objpfx)Versions.def.v.i): New target giving just
  6732. the Versions.def input files as dependencies.
  6733. ($(common-objpfx)Versions.v.i): Likewise for Versions files.
  6734. ($(common-objpfx)Versions.all): Depend on that instead of the input
  6735. files. Use it as input instead of using a pipeline.
  6736. ($(common-objpfx)sysd-versions): Likewise with Versions.v.i.
  6737. (postclean-generated): Append those .v and .v.i files here.
  6738. 2002-03-14 Jakub Jelinek <jakub@redhat.com>
  6739. * locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo.
  6740. * locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE):
  6741. Remove.
  6742. 2002-03-14 Jakub Jelinek <jakub@redhat.com>
  6743. * sysdeps/generic/mp_clz_tab.c: New file.
  6744. * sysdeps/i386/mp_clz_tab.c: New file.
  6745. * sysdeps/hppa/mp_clz_tab.c: New file.
  6746. * sysdeps/powerpc/mp_clz_tab.c: New file.
  6747. * stdlib/Makefile (aux): Revert last patch.
  6748. * math/Makefile (gmp-objs): Likewise.
  6749. 2002-03-13 Paul Eggert <eggert@twinsun.com>
  6750. * time/strftime.c: Comment fixes for references to obsolescent
  6751. standards, In most cases the simplest fix is to remove the
  6752. confusing comments. Cross-referencing all the standards properly
  6753. is a bit of a pain, and it should be enough to put that info in
  6754. the documentation as I did in my recent time.texi patch.
  6755. 2002-03-13 Paul Eggert <eggert@twinsun.com>
  6756. * manual/time.texi (Formatting Calendar Time):
  6757. ISO C99 also specifies the E and O modifiers.
  6758. %P is a GNU extension, and is not in ISO C99.
  6759. Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale.
  6760. %T is also in ISO C99.
  6761. The RFC 822 example is not valid in arbitrary locales.
  6762. Reword the POSIX.2 wording slightly, to make it a bit clearer
  6763. that POSIX.2 formats are also supported by later POSIX versions.
  6764. If a format was introduced in ISO C99 it is also required by
  6765. POSIX.1-2001.
  6766. 2002-03-13 Ulrich Drepper <drepper@redhat.com>
  6767. * sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and
  6768. _sys_nerr_internal with INTVARDEF2.
  6769. * include/libc-symbols.h (INTVARDEF2): New macro.
  6770. * include/stdio.h (_sys_errlist_internal): Declare as hidden.
  6771. (_sys_nerr_internal): Library.
  6772. * sysdeps/posix/signal.c (_sigintr): Define as hidden.
  6773. * sysdeps/posix/sigintr.c (_sigintr): Declare as hidden.
  6774. * stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c.
  6775. 2002-03-13 Wolfram Gloger <wg@malloc.de>
  6776. * malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed.
  6777. 2002-03-02 Andreas Schwab <schwab@suse.de>
  6778. * stdio-common/vfprintf.c (process_arg): Fix decimal format with
  6779. 'h' flag and positional arg.
  6780. * stdio-common/tst-printf.c (rfg3): New function to test
  6781. positional arguments.
  6782. (main): Fix some warnings.
  6783. 2002-03-13 Jakub Jelinek <jakub@redhat.com>
  6784. * elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED.
  6785. * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.
  6786. 2002-03-13 Ulrich Drepper <drepper@redhat.com>
  6787. * grp/initgroups.c (__nss_group_data): Declare as hidden.
  6788. * include/locale.h (_nl_C_locobj): Declare as hidden.
  6789. * time/asctime.c (_nl_C_LC_TIME): Declare as hidden.
  6790. * time/strptime.c (_nl_C_LC_TIME): Likewise.
  6791. * include/netinet/in.h (in6addr_any_internal): Mark as hidden.
  6792. * include/sys/gmon.h: Declare _gmonparam as hidden.
  6793. * locale/lc-ctype.c (__ctype32_wctype): Declare as hidden.
  6794. (__ctype32_wctrans): Likewise.
  6795. (__ctype32_width): Likewise.
  6796. * sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and
  6797. use of __ttyname.
  6798. * posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid.
  6799. Define as hidden.
  6800. (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Define as
  6801. hidden. Change all users of these variables.
  6802. * posix/regex_internal.h (__re_error_msgid): Renamed from
  6803. re_error_msgid. Declare as hidden.
  6804. (__re_error_msgid_idx): Renamed from re_error_msgid_idx. Declare as
  6805. hidden.
  6806. * stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden.
  6807. (__printf_function_table): Likewise.
  6808. * stdio-common/printf-parse.h (__printf_arginfo_table): Declare as
  6809. hidden.
  6810. (__printf_function_table): Likewise.
  6811. * nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd,
  6812. __nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden.
  6813. * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden.
  6814. * nss/nsswitch.c: Declare _nss_*_database as hidden.
  6815. * stdlib/wctomb.c (__no_r_state): Declare as hidden.
  6816. * stdlib/mbtowc.c (__no_r_state): Define as hidden.
  6817. 2002-03-12 Ulrich Drepper <drepper@redhat.com>
  6818. * ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class,
  6819. _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
  6820. _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
  6821. _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
  6822. _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
  6823. _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
  6824. _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
  6825. _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
  6826. _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and
  6827. _nl_C_LC_CTYPE_width: Declare as hidden.
  6828. * include/locale.h: Declare _nl_locale_file_list.
  6829. * locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden.
  6830. * locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden.
  6831. * locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden.
  6832. * locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden.
  6833. * locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden.
  6834. * locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden.
  6835. * locale/C-name.c: Define _nl_C_LC_NAME as hidden.
  6836. * locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden.
  6837. * locale/C-paper.c: Define _nl_C_LC_PAPER as hidden.
  6838. * locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden.
  6839. * locale/C-time.c: Define _nl_C_LC_TIME as hidden.
  6840. * locale/C-ctype.c: Define _nl_C_LC_CTYPE_class,
  6841. _nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
  6842. _nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
  6843. _nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
  6844. _nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
  6845. _nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
  6846. _nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
  6847. _nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
  6848. _nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower,
  6849. _nl_C_LC_CTYPE_width, and as hidden.
  6850. * locale/findlocale.c: Declare _nl_C as hidden.
  6851. * locale/newlocale.c: Likewise.
  6852. * locale/setlocale.c: Define _nl_C as hidden. Remove declaration of
  6853. _nl_locale_file_list.
  6854. * locale/xlocale.c: Declare _nl_C_LC_CTYPE_class,
  6855. _nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden.
  6856. Define _nl_C_locobj as hidden.
  6857. * malloc/mtrace.c (_mtrace_file): Define as hidden.
  6858. (_mtrace_line): Likewise.
  6859. * include/time.h: Declare __mon_yday as hidden.
  6860. * time/strptime.c [_LIBC] (__mon_yday): Remove declaration.
  6861. * libio/libioP.h: Declare __libio_codecvt as hidden.
  6862. * libio/fileops.c: Declare __libio_translit as hidden.
  6863. * libio/iofwide.c: Define __libio_translit as hidden.
  6864. * login/getutent_r.c: Define __libc_utmp_lock as hidden.
  6865. * login/getutid_r.c: Declare __libc_utmp_lock as hidden.
  6866. * login/getutline_r.c: Likewise.
  6867. * login/utmpname.c: Likewise.
  6868. * login/utmp-private.h: Declare __libc_utmp_file_functions,
  6869. __libc_utmp_unknown_functions, __libc_utmp_jump_table, and
  6870. __libc_utmp_file_name as hidden.
  6871. * locale/setlocale.c (__libc_setlocale_lock): Define as hidden.
  6872. * locale/duplocale.c (__libc_setlocale_lock): Declare as hidden.
  6873. * locale/freelocale.c: Likewise.
  6874. * locale/lc-time.c: Likewise.
  6875. * sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden.
  6876. (__libc_ptyname2): Likewise.
  6877. * sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as
  6878. hidden.
  6879. (__libc_ptyname2): Likewise.
  6880. * sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden.
  6881. * sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden.
  6882. * sysdeps/generic/init-first.c: Likewise.
  6883. * sysdeps/i386/init-first.c: Likewise.
  6884. * sysdeps/mach/hurd/i386/init-first.c: Likewise.
  6885. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  6886. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  6887. * sysdeps/sh/init-first.c: Likewise.
  6888. * sysdeps/unix/sysv/aix/init-first.c: Likewise.
  6889. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
  6890. * stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden.
  6891. (_itowa_upper_digits): Likewise.
  6892. * libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden.
  6893. * libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare
  6894. as hidden.
  6895. * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps,
  6896. _IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps,
  6897. _IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal,
  6898. _IO_wfile_jumps_internal, and _IO_list_all_internal as hidden.
  6899. * gmon/gmon.c (__bb_head): Define as hidden.
  6900. * gmon/bb_exit_func.c (__bb_head): Declare as hidden.
  6901. * argp/argp-parse.c (_argp_hang): Define as static.
  6902. * include/libc-symbols.h (_INTVARDEF): Adjust for visibility
  6903. handling in latest compilers.
  6904. * inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to
  6905. define alias.
  6906. * libio/fileops.c (_IO_file_jumps): Likewise.
  6907. * libio/stdfiles.c (_IO_list_all): Likewise.
  6908. * libio/wfileops.c (_IO_wfile_jumps): Likewise.
  6909. * malloc/malloc.h: Move __libc_malloc_initialized declaration to
  6910. include/malloc.h.
  6911. * include/malloc.h: Add __libc_malloc_initialized declaration
  6912. here. Mark variable hidden.
  6913. * malloc/malloc.c: Include <malloc.h> not "malloc.h".
  6914. * elf/dl-open.c (__libc_argc): Declare as hidden.
  6915. (__libc_argv): Likewise.
  6916. * sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden.
  6917. (__libc_argv): Likewise.
  6918. * sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and
  6919. __libc_argv as hidden.
  6920. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  6921. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  6922. * sysdeps/unix/sysv/aix/init-first.c: Likewise.
  6923. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
  6924. * include/stdlib.h (__libc_drand48_data): Declare as hidden.
  6925. * stdlib/drand48.c: Remove declaration of __libc_drand48_data here.
  6926. * stdlib/erand48.c: Likewise.
  6927. * stdlib/jrand48.c: Likewise.
  6928. * stdlib/lcong48.c: Likewise.
  6929. * stdlib/lrand48.c: Likewise.
  6930. * stdlib/mrand48.c: Likewise.
  6931. * stdlib/nrand48.c: Likewise.
  6932. * stdlib/seed48.c: Likewise.
  6933. * stdlib/srand48.c: Likewise.
  6934. * stdio-common/_itoa.c (_itoa_base_table): Declare as hidden.
  6935. (_itoa_lower_digits_internal): New declaration.
  6936. (_itoa_upper_digits_internal): New declaration.
  6937. (_itoa): Use INTUSE to acces _itoa_upper_digits and _itoa_lower_digits.
  6938. * stdio-common.h (_itoa_lower_digits_internal): New declaration.
  6939. (_itoa_upper_digits_internal): New declaration.
  6940. (_itoa_word): Use INTUSE to acces _itoa_upper_digits and
  6941. _itoa_lower_digits.
  6942. * stdio-common/itoa-digits.c: Use INTVARDEF with _itoa_lower_digits.
  6943. * stdio-common/itoa-udigits.c: Use INTVARDEF with _itoa_upper_digits.
  6944. * elf/dl-minimal.c (_itoa): Declare _itoa_lower_digits as hidden.
  6945. * elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.
  6946. * stdio-common/_itowa.c (_itoa_base_table): Declare as hidden.
  6947. (_itowa_lower_digits): Likewise.
  6948. (_itowa_upper_digits): Likewise.
  6949. * stdio-common/_itowa.h (_itowa_lower_digits): Likewise.
  6950. (_itowa_upper_digits): Likewise.
  6951. * intl/plural-exp.h (attribute_hidden): Define as empty macro if
  6952. not already defined.
  6953. (GERMANIC_PLURAL): Declare as hidden.
  6954. * posix/getopt.c (__getopt_initialized): Declare as hidden.
  6955. (attribute_hidden): Define as empty macro if not already defined.
  6956. * iconv/gconv_int.h (__gconv_path_elem): Declare hidden.
  6957. (__gconv_max_path_elem_len): Likewise.
  6958. (__gconv_path_envvar): Likewise.
  6959. * math/Makefile (gmp-objs): Remove mp_clz_tab.
  6960. * stdlib/Makefile (aux): Remove mp_clz_tab.
  6961. * stdlib/mp_clz_tab.c: Removed. Not needed anywhere.
  6962. * stdlib/exit.h (__exit_funcs): Declare as hidden.
  6963. * posix/bug-regex5.c (main): Use nl_langinfo instead of _NL_CURRENT.
  6964. * locale/localeinfo.h: Add attribute_hidden to _nl_current_LC_XXX,
  6965. _nl_category_names, _nl_category_name_sizes, _nl_current,
  6966. _nl_C_name, _nl_POSIX_name, _nl_C_codeset, and _nl_C_LC_XXX.
  6967. * intl/dcigettext.c (_nl_default_default_domain): Define as hidden.
  6968. (_nl_current_default_domain): Likewise
  6969. (_nl_state_lock): Likewise.
  6970. * intl/textdomain.c (_nl_default_default_domain): Declare as hidden.
  6971. (_nl_current_default_domain): Likewise
  6972. (_nl_state_lock): Likewise.
  6973. * intl/bindtextdom.c (_nl_state_lock): Likewise.
  6974. * stdlib/fpioconst.h (__tens): Add attribute_hidden.
  6975. (_fpioconst_pow10): Likewise.
  6976. * include/time.h (_tmbuf): Add attribute_hidden.
  6977. * time/tzset.c (tzstring_list): Define as static.
  6978. * include/time.h: Add attribute_hidden to __tzname_cur_max and
  6979. __use_tzfile declaration.
  6980. * wcsmbs/wcsmbsload.h: Add attribute_hidden to __wcsmbs_gconv_fcts
  6981. and __wcsmbs_last_locale declaration.
  6982. 2002-02-25 Paul Eggert <eggert@twinsun.com>
  6983. * timezone/Makefile (tzbases): Move systemv from here...
  6984. (tzlinks): to here, since the entries in systemv were all changed
  6985. from Zone to Link lines in tz-2001a. Bug reported (and patch
  6986. tested) by Peter Breitenlohner.
  6987. 2002-03-07 Jakub Jelinek <jakub@redhat.com>
  6988. * time/tst-posixtz.c (tests): Add new tests.
  6989. (main): Test whether tzset() sets daylight properly.
  6990. 2002-03-06 Jakub Jelinek <jakub@redhat.com>
  6991. * time/tzset.c (tz_compute): Move __daylight, __tzname and
  6992. __tzname_cur_max setting...
  6993. (tzset_internal): ...here.
  6994. 2002-03-06 Jakub Jelinek <jakub@redhat.com>
  6995. * time/tzset.c (compute_change): Don't return any value.
  6996. (tz_compute): Likewise. Don't handle southern hemisphere here.
  6997. (__tz_convert): But here.
  6998. 2002-03-11 Ulrich Drepper <drepper@redhat.com>
  6999. * manual/examples/mkfsock.c: Include <string.h> as well.
  7000. Patch by Alain De Carolis <alaind@wseurope.com>.
  7001. 2002-03-06 Isamu Hasegawa <isamu@yamato.ibm.com>
  7002. * posix/regexec.c (re_match): Fix incorrect register sizes.
  7003. (re_search): Likewise.
  7004. 2002-03-05 Isamu Hasegawa <isamu@yamato.ibm.com>
  7005. * posix/regcomp.c (regfree): Remove a disused condition.
  7006. * posix/regex_internal.c (re_acquire_state): Likewise.
  7007. (re_acquire_state_context): Likewise.
  7008. (register_state): Remove a redundant malloc invocation.
  7009. * posix/regex_internal.h: (re_state_table_entry): Simplify
  7010. the structure.
  7011. 2002-03-05 Isamu Hasegawa <isamu@yamato.ibm.com>
  7012. * posix/regcomp.c (regcomp): Add __builtin_expect to error
  7013. handling conditions.
  7014. (regerror): Likewise.
  7015. (regfree): Likewise.
  7016. (re_compile_internal): Likewise.
  7017. (init_dfa): Likewise.
  7018. (init_word_char): Likewise.
  7019. (create_initial_state): Likewise.
  7020. (analyze): Likewise.
  7021. (analyze_tree): Likewise.
  7022. (duplicate_node): Likewise.
  7023. (calc_eclosure): Likewise.
  7024. (calc_eclosure_iter): Likewise.
  7025. (parse): Likewise.
  7026. (parse_reg_exp): Likewise.
  7027. (parse_branch): Likewise.
  7028. (parse_expression): Likewise.
  7029. (parse_subexp): Likewise.
  7030. (parse_dup_op): Likewise.
  7031. (parse_bracket_exp): Likewise.
  7032. (build_equiv_class): Likewise.
  7033. (build_charclass): Likewise.
  7034. (build_word_op): Likewise.
  7035. (fetch_number): Likewise.
  7036. (create_tree): Likewise.
  7037. (duplicate_tree): Likewise.
  7038. * posix/regex.c (BE): New macro.
  7039. * posix/regexec.c (re_match): Add __builtin_expect to error
  7040. handling conditions.
  7041. (re_match_2): Likewise.
  7042. (re_search): Likewise.
  7043. (re_search_internal): Likewise.
  7044. (check_matching): Likewise.
  7045. (proceed_next_node): Likewise.
  7046. (set_regs): Likewise.
  7047. (sift_states_backward): Likewise.
  7048. (add_epsilon_backreference): Likewise.
  7049. (transit_state): Likewise.
  7050. (transit_state_sb): Likewise.
  7051. (transit_state_mb): Likewise.
  7052. (transit_state_bkref): Likewise.
  7053. (transit_state_bkref_loop): Likewise.
  7054. (build_trtable): Likewise.
  7055. (group_nodes_into_DFAstates): Likewise.
  7056. (match_ctx_init): Likewise.
  7057. (match_ctx_add_entry): Likewise.
  7058. * posix/regex_internal.c (re_string_construct): Add __builtin_expect
  7059. to error handling conditions.
  7060. (re_string_construct_toupper): Likewise.
  7061. (build_wcs_buffer): Likewise.
  7062. (build_wcs_upper_buffer): Likewise.
  7063. (build_upper_buffer): Likewise.
  7064. (re_string_translate_buffer): Likewise.
  7065. (re_node_set_alloc): Likewise.
  7066. (re_node_set_init_1): Likewise.
  7067. (re_node_set_init_2): Likewise.
  7068. (re_node_set_init_copy): Likewise.
  7069. (re_node_set_intersect): Likewise.
  7070. (re_node_set_init_union): Likewise.
  7071. (re_node_set_merge): Likewise.
  7072. (re_node_set_insert): Likewise.
  7073. (re_dfa_add_node): Likewise.
  7074. (re_acquire_state): Likewise.
  7075. (re_acquire_state_context): Likewise.
  7076. (create_new_state_common): Likewise.
  7077. (register_state): Likewise.
  7078. (create_ci_new_state): Likewise.
  7079. (create_cd_new_state): Likewise.
  7080. (re_string_context_at): Remove redundant condition.
  7081. 2002-01-16 Roger Sayle <roger@eyesopen.com>
  7082. * sysdeps/i386/i686/strcmp.S: Avoid unconditional jump to a ret.
  7083. * sysdeps/i386/i586/strlen.S: Fix typo in comment.
  7084. 2002-03-11 Jakub Jelinek <jakub@redhat.com>
  7085. * sysdeps/i386/elf/configure.in: Fix comment.
  7086. * sysdeps/sparc/sparc64/configure.in: New file.
  7087. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix
  7088. if .dynamic comes before .got.
  7089. * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add.
  7090. * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF,
  7091. HP_TIMING_ACCUM): Fix typos.
  7092. 2002-03-11 Ulrich Drepper <drepper@redhat.com>
  7093. * string/strfry.c: Add some more randomness to the seed.
  7094. Patch by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
  7095. * po/es.po: Update from translation team.
  7096. * po/fr.po: Likewise.
  7097. * stdio-common/tfformat.c (sprint_doubles): A test for %F format.
  7098. * stdio-common/printf_fp.c (__printf_fp): Correct check for %F format
  7099. when determining type of format.
  7100. Patch by James Antill <james@anqd.org> [PR libc/2787].
  7101. 2002-03-04 Jakub Jelinek <jakub@redhat.com>
  7102. * sysdeps/unix/bsd/ftime.c (ftime): Don't return 1000 in millitm.
  7103. 2002-03-11 Roland McGrath <roland@frob.com>
  7104. * hurd/hurd/threadvar.h: Include <features.h> for __THROW macro.
  7105. * Versions.def (libc): Add GLIBC_2.2.6.
  7106. * hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location.
  7107. * sysdeps/mach/hurd/errnos.awk: In generated macro, use
  7108. __errno_location instead of __hurd_errno_location, and don't inline it.
  7109. * sysdeps/mach/hurd/bits/errno.h: Regenerated.
  7110. * hurd/errno.c: New file.
  7111. * hurd/Makefile (routines): Add errno.
  7112. 2002-03-11 Ulrich Drepper <drepper@redhat.com>
  7113. * stdio-common/vfprintf.c (vfprintf): Avoid crashing for
  7114. ridiculously large widths and precisions [PR libc/3026].
  7115. 2002-03-11 Andreas Jaeger <aj@suse.de>
  7116. * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: Fix for bi-arch
  7117. support.
  7118. Patch by Susanne Oberhauser <froh@SuSE.de>.
  7119. 2002-03-11 Ulrich Drepper <drepper@redhat.com>
  7120. * inet/rexec.c (ahostbuf): Define as static.
  7121. * wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden.
  7122. (__ctype32_wctrans): Likewise.
  7123. * wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden.
  7124. * ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden.
  7125. (__ctype32_wctrans): Likewise.
  7126. (__ctype32_width): Likewise.
  7127. * gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
  7128. They were never exported anyway.
  7129. * gmon/gmon.c (_gmonparam): Add attribute_hidden.
  7130. * gmon/sys/gmon.h: Remove declaration of _gmonparam. It wasn't
  7131. exported.
  7132. * include/sys/gmon.h: Declare _gmonparam.
  7133. * sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility
  7134. symbols for getdents64. They were never exported.
  7135. 2002-03-09 Roland McGrath <roland@frob.com>
  7136. * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
  7137. Reported by Jon Arney <jarney1@cox.net>.
  7138. 2002-02-23 Roland McGrath <roland@frob.com>
  7139. * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to
  7140. declaration.
  7141. (__hurd_errno_location): Function removed.
  7142. 2002-03-06 Andreas Jaeger <aj@suse.de>
  7143. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for
  7144. 32-bit.
  7145. 2002-03-04 Andreas Jaeger <aj@suse.de>
  7146. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file.
  7147. * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for
  7148. x86-64.
  7149. * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file.
  7150. * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file.
  7151. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file.
  7152. * sysdeps/x86_64/bits/setjmp.h: New file.
  7153. * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file.
  7154. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file.
  7155. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty
  7156. for x86.
  7157. * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise.
  7158. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: Likewise.
  7159. 2002-02-28 Bo Thorsen <bo@suse.de>
  7160. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Merge with i386
  7161. version.
  7162. 2002-03-03 Andreas Jaeger <aj@suse.de>
  7163. * sysdeps/x86_64/bits/wordsize.h: New file.
  7164. * elf/nodlopenmod2.c: Provide prototype to avoid warning.
  7165. * elf/tst-tlsmod1.c: Likewise.
  7166. * posix/regcomp.c: Get regex.h from include dir for internal
  7167. prototypes.
  7168. * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype
  7169. to libc-internal.h and include it.
  7170. * include/libc-internal.h: Add __init_misc.
  7171. * misc/init-misc.c: Include libc-internal.h for prototypes.
  7172. * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings.
  7173. * misc/error.c [_LIBC]: Include libioP.h for prototype of
  7174. _IO_putc_internal.
  7175. 2002-03-03 Ulrich Drepper <drepper@redhat.com>
  7176. * posix/regcomp.c: Compatibility changes to allow using the code
  7177. outside glibc.
  7178. 2002-02-28 Hartvig Ekner <hartvige@mips.com>
  7179. * sysdeps/mips/elf/start.S: Added initialization of GP (to _gp) if
  7180. compiled non-PIC.
  7181. 2002-03-02 Ulrich Drepper <drepper@redhat.com>
  7182. * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix creation
  7183. of .str elements in the returned data structure.
  7184. * elf/elf.h: Add Alpha TLS bits.
  7185. 2002-02-28 Jakub Jelinek <jakub@redhat.com>
  7186. * sysdeps/unix/sysv/linux/nice.c: New file.
  7187. 2002-03-01 Ulrich Drepper <drepper@redhat.com>
  7188. * elf/Makefile (dl-routines): Add dl-origin.
  7189. (elide-routines.os): Add dl-origin.
  7190. * elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_origin.
  7191. * elf/dl-debug.c (_dl_debug_initialize): Add missing INTUSE around
  7192. _dl_debug_state.
  7193. * include/libc-symbols.c: Define attribute_hidden depending on
  7194. HAVE_VISIBILITY_ATTRIBUTE. Add definition of INTVARDEF.
  7195. * elf/dl-deps.c: Use INTUSE with __libc_enable_secure.
  7196. * elf/dl-load.c: Likewise.
  7197. * elf/rtld.c: Likewise.
  7198. * include/unistd.h: Declare __libc_enable_secure_internal.
  7199. * sysdeps/generic/dl-sysdep.c: Use INTVARDEF with __libc_enable_secure.
  7200. Use INTUSE with __libc_enable_secure.
  7201. * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
  7202. * elf/dl-deps.c: Use INTUSE with _dl_out_of_memory.
  7203. * elf/dl-error.c: Likewise,
  7204. * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory_internal.
  7205. * elf/dl-dst.h [_RTLD_GLOBAL]: Define _dl_get_origin to use INTUSE.
  7206. * sysdeps/generic/dl-origin.c: Undefine _dl_get_origin macro before
  7207. function definition. Use INTDEF with _dl_get_origin.
  7208. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
  7209. * elf/dl-init.c: Use INTUSE with _dl_starting_up.
  7210. * elf/rtld.c: Likewise. Use INTVARDEF for _dl_starting_up.
  7211. * elf/dl-profile.c: Use INTDEF for _dl_mcount.
  7212. * elf/dl-runtime.c: Use INTUSE with _dl_mcount.
  7213. * sysdeps/generic/ldsodefs.h: Declare _dl_mcount_internal.
  7214. * elf/dl-conflict.c: Use rtld_progrname instead of _dl_argv[0].
  7215. * elf/dl-deps.c: Likewise.
  7216. * elf/dl-error.c: Likewise.
  7217. * elf/dl-fini.c: Likewise.
  7218. * elf/dl-init.c: Likewise.
  7219. * elf/dl-load.c: Likewise.
  7220. * elf/dl-lookup.c: Likewise.
  7221. * elf/dl-reloc.c: Likewise.
  7222. * elf/dl-version.c: Likewise.
  7223. * elf/do-lookup.h: Likewise.
  7224. * sysdeps/arm/dl-machine.h: Likewise.
  7225. * sysdeps/cris/dl-machine.h: Likewise.
  7226. * sysdeps/hppa/dl-machine.h: Likewise.
  7227. * sysdeps/i386/dl-machine.h: Likewise.
  7228. * sysdeps/m68k/dl-machine.h: Likewise.
  7229. * sysdeps/powerpc/dl-machine.h: Likewise.
  7230. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  7231. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  7232. * sysdeps/sh/dl-machine.h: Likewise.
  7233. * sysdeps/sparc/sparc-32/dl-machine.h: Likewise.
  7234. * sysdeps/sparc/sparc-64/dl-machine.h: Likewise.
  7235. * sysdeps/x86_64/dl-machine.h: Likewise.
  7236. * elf/rtld.c: Use INTDEF for _dl_argv. Use rtld_progrname instead of
  7237. _dl_argv[0]. Use INTUSE with _dl_argv.
  7238. * sysdeps/generic/dl-sysdep.c: Use INTUSE with _dl_argv.
  7239. * sysdeps/generic/ldsodefs.h: Define rtld_progname macro.
  7240. 2002-02-28 Jakub Jelinek <jakub@redhat.com>
  7241. * elf/rtld.c (_rtld_global): Remove .protected.
  7242. (_rtld_local): Strong alias to _rtld_global.
  7243. * elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld
  7244. only .os object.
  7245. * sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use
  7246. _rtld_local instead of _rtld_global.
  7247. (_rtld_local): Add hidden extern, possibly in .sdata section.
  7248. * configure.in: Add tests for visibility attribute and .sdata.
  7249. * config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
  7250. * sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global.
  7251. * sysdeps/arm/dl-machine.h: Likewise.
  7252. * sysdeps/generic/ldsodefs.h: Likewise.
  7253. * sysdeps/hppa/dl-machine.h: Likewise.
  7254. * sysdeps/cris/dl-machine.h: Likewise.
  7255. * sysdeps/i386/dl-machine.h: Likewise.
  7256. * sysdeps/ia64/dl-machine.h: Likewise.
  7257. * sysdeps/m68k/dl-machine.h: Likewise.
  7258. * sysdeps/mips/mips64/dl-machine.h: Likewise.
  7259. * sysdeps/mips/dl-machine.h: Likewise.
  7260. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  7261. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  7262. * sysdeps/sh/dl-machine.h: Likewise.
  7263. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  7264. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  7265. * sysdeps/x86_64/dl-machine.h: Likewise.
  7266. 2002-02-28 Ulrich Drepper <drepper@redhat.com>
  7267. * login/login.c (login): Always initialize ut_line field
  7268. [PR libc/2991].
  7269. 2002-02-28 Jakub Jelinek <jakub@redhat.com>
  7270. * sysdeps/i386/Makefile (sysdep_routines): Add
  7271. divdi3 in csu dir.
  7272. (shared-only-routines): Likewise.
  7273. * sysdeps/m68k/Makefile (sysdep_routines): Likewise.
  7274. (shared-only-routines): Likewise.
  7275. * sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise.
  7276. (shared-only-routines): Likewise.
  7277. * sysdeps/wordsize-32/divdi3.c: New file.
  7278. 2002-02-28 Ulrich Drepper <drepper@redhat.com>
  7279. * locale/iso-4217.def: Remove obsolete currencies for countries
  7280. with Euro.
  7281. 2002-02-28 Isamu Hasegawa <isamu@yamato.ibm.com>
  7282. * posix/regcomp.c (regcomp): Remove a redundant condition.
  7283. (init_word_char): Add a check on malloc failure.
  7284. (create_initial_state): Likewise.
  7285. (duplicate_node): Likewise.
  7286. (calc_eclosure): Likewise.
  7287. (calc_eclosure_iter): Likewise.
  7288. (parse_expression): Likewise.
  7289. (parse_bracket_exp): Remove unnecessary malloc invocations.
  7290. (build_equiv_class): Likewise.
  7291. (build_charclass): Likewise.
  7292. * posix/regex_internal.c (re_node_set_intersect): Add a check
  7293. on malloc failure.
  7294. (re_node_set_add_intersect): Likewise.
  7295. (re_node_set_merge): Likewise.
  7296. (re_acquire_state): Likewise.
  7297. (re_acquire_state_context): Likewise.
  7298. (create_newstate_common): Likewise.
  7299. (register_state): Likewise.
  7300. (create_ci_newstate): Likewise.
  7301. (create_cd_newstate): Likewise.
  7302. * posix/regex_internal.h: Fix prototypes of re_acquire_state
  7303. and re_acquire_state_context.
  7304. * posix/regexec.c (regexec): Suit it to the error handling of
  7305. re_search_internal.
  7306. (re_match): Likewise.
  7307. (re_search): Likewise.
  7308. (re_search_internal): Add a check on malloc failure.
  7309. (acquire_init_state_context): Likewise.
  7310. (check_matching): Likewise.
  7311. (proceed_next_node): Likewise.
  7312. (set_regs): Likewise.
  7313. (sift_states_backward): Likewise.
  7314. (sift_states_iter_bkref): Likewise.
  7315. (add_epsilon_backreference): Likewise.
  7316. (transit_state): Likewise.
  7317. (transit_state_sb): Likewise.
  7318. (transit_state_mb): Likewise.
  7319. (transit_state_bkref_loop): Likewise.
  7320. (build_trtable): Likewise.
  7321. (group_nodes_into_DFAstates): Likewise.
  7322. (match_ctx_init): Likewise.
  7323. (match_ctx_add_entry): Likewise.
  7324. 2002-02-27 Ulrich Drepper <drepper@redhat.com>
  7325. * elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to
  7326. l_libname if profiling is enabled [PR libc/2916].
  7327. * sysdeps/ia64/dl-tls.h: New file.
  7328. 2002-02-27 Jakub Jelinek <jakub@redhat.com>
  7329. * sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
  7330. Work around an Alpha gas bug.
  7331. 2002-02-27 Ulrich Drepper <drepper@redhat.com>
  7332. * catgets/open_catalog.c (__open_catalog): Fix typo in code which
  7333. uses read to load the catalog.
  7334. Patch by Andy Isaacson <adi@unlimitedscale.com> [PR libc/3011].
  7335. 2002-02-26 Ulrich Drepper <drepper@redhat.com>
  7336. * posix/Makefile (distribute): Add regcomp.c, regexec.c,
  7337. regex_internal.c, and regex_internal.h.
  7338. (CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N.
  7339. * posix/regex.c: Complete rewrite.
  7340. * posix/regexec.c: New file.
  7341. * posix/regcomp.c: New file.
  7342. * posix/regex_internal.c: New file.
  7343. * posix/regex_internal.h: New file.
  7344. * posix/regex.h (RE_ICASE): New macro.
  7345. Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
  7346. * stdio-common/vfscanf.c (_IO_vfwscanf): Always use ungetc, never
  7347. ungetwc. It's a macro.
  7348. * libio/tst-swscanf.c (do_test): Adjust for now fixed wscanf
  7349. implementation.
  7350. Reported by Jason Merrill <jason@redhat.com>.
  7351. 2002-02-25 Jakub Jelinek <jakub@redhat.com>
  7352. * libio/iofopen.c (__fopen_maybe_mmap): Set the initial
  7353. position to fp->_offset if it is set.
  7354. * stdio-common/Makefile (tests): Add tst-fdopen.
  7355. * stdio-common/tst-fdopen.c: New test.
  7356. 2002-02-25 Jakub Jelinek <jakub@redhat.com>
  7357. * libio/fileops.c (_IO_file_xsgetn_mmap): Handle reading from backup.
  7358. * stdio-common/tst-ungetc.c (main): Add another test.
  7359. 2002-02-25 Ulrich Drepper <drepper@redhat.com>
  7360. * assert/assert-perr.c: Use INTUSE to reference functions and variables
  7361. inside libc itself. Use INTDEF and INTDEF2 to define appropriate
  7362. aliases. Add prototypes for the new aliases.
  7363. * assert/assert.c: Likewise.
  7364. * include/libc-symbols.h: Likewise.
  7365. * include/stdio.h: Likewise.
  7366. * include/netinet/in.h: Likewise.
  7367. * include/rpc/auth.h: Likewise.
  7368. * include/rpc/auth_unix.h: Likewise.
  7369. * include/rpc/key_prot.h: Likewise.
  7370. * include/rpc/pmap_prot.h: Likewise.
  7371. * include/rpc/pmap_rmt.h: Likewise.
  7372. * include/rpc/rpc_msg.h: Likewise.
  7373. * include/rpc/xdr.h: Likewise.
  7374. * inet/gethstbyad_r.c: Likewise.
  7375. * inet/gethstbynm2_r.c: Likewise.
  7376. * inet/gethstbynm_r.c: Likewise.
  7377. * inet/gethstent_r.c: Likewise.
  7378. * inet/in6_addr.c: Likewise.
  7379. * libio/__fpurge.c: Likewise.
  7380. * libio/filedoalloc.c: Likewise.
  7381. * libio/fileops.c: Likewise.
  7382. * libio/ftello.c: Likewise.
  7383. * libio/ftello64.c: Likewise.
  7384. * libio/genops.c: Likewise.
  7385. * libio/iofclose.c: Likewise.
  7386. * libio/iofdopen.c: Likewise.
  7387. * libio/iofflush.c: Likewise.
  7388. * libio/iofflush_u.c: Likewise.
  7389. * libio/iofgetpos.c: Likewise.
  7390. * libio/iofgetpos64.c: Likewise.
  7391. * libio/iofgets.c: Likewise.
  7392. * libio/iofgets_u.c: Likewise.
  7393. * libio/iofopen.c: Likewise.
  7394. * libio/iofopncook.c: Likewise.
  7395. * libio/iofputs.c: Likewise.
  7396. * libio/iofread.c: Likewise.
  7397. * libio/iofread_u.c: Likewise.
  7398. * libio/iofsetpos.c: Likewise.
  7399. * libio/iofsetpos64.c: Likewise.
  7400. * libio/ioftell.c: Likewise.
  7401. * libio/iofwrite.c: Likewise.
  7402. * libio/iogetline.c: Likewise.
  7403. * libio/iogets.c: Likewise.
  7404. * libio/iogetwline.c: Likewise.
  7405. * libio/iolibio.h: Likewise.
  7406. * libio/iopadn.c: Likewise.
  7407. * libio/iopopen.c: Likewise.
  7408. * libio/ioseekoff.c: Likewise.
  7409. * libio/ioseekpos.c: Likewise.
  7410. * libio/iosetbuffer.c: Likewise.
  7411. * libio/iosetvbuf.c: Likewise.
  7412. * libio/ioungetc.c: Likewise.
  7413. * libio/ioungetwc.c: Likewise.
  7414. * libio/iovdprintf.c: Likewise.
  7415. * libio/iovsprintf.c: Likewise.
  7416. * libio/iovsscanf.c: Likewise.
  7417. * libio/libioP.h: Likewise.
  7418. * libio/memstream.c: Likewise.
  7419. * libio/obprintf.c: Likewise.
  7420. * libio/oldfileops.c: Likewise.
  7421. * libio/oldiofclose.c: Likewise.
  7422. * libio/oldiofdopen.c: Likewise.
  7423. * libio/oldiofgetpos.c: Likewise.
  7424. * libio/oldiofgetpos64.c: Likewise.
  7425. * libio/oldiofopen.c: Likewise.
  7426. * libio/oldiofsetpos.c: Likewise.
  7427. * libio/oldiofsetpos64.c: Likewise.
  7428. * libio/oldiopopen.c: Likewise.
  7429. * libio/oldstdfiles.c: Likewise.
  7430. * libio/putc.c: Likewise.
  7431. * libio/setbuf.c: Likewise.
  7432. * libio/setlinebuf.c: Likewise.
  7433. * libio/stdfiles.c: Likewise.
  7434. * libio/stdio.c: Likewise.
  7435. * libio/strops.c: Likewise.
  7436. * libio/vasprintf.c: Likewise.
  7437. * libio/vscanf.c: Likewise.
  7438. * libio/vsnprintf.c: Likewise.
  7439. * libio/vswprintf.c: Likewise.
  7440. * libio/wfiledoalloc.c: Likewise.
  7441. * libio/wfileops.c: Likewise.
  7442. * libio/wgenops.c: Likewise.
  7443. * libio/wstrops.c: Likewise.
  7444. * malloc/mtrace.c: Likewise.
  7445. * misc/error.c: Likewise.
  7446. * misc/syslog.c: Likewise.
  7447. * nss/getXXbyYY_r.c: Likewise.
  7448. * nss/getXXent_r.c: Likewise.
  7449. * nss/hosts-lookup.c: Likewise.
  7450. * stdio-common/getw.c
  7451. * stdio-common/printf-prs.c: Likewise.
  7452. * stdio-common/printf_fp.c: Likewise.
  7453. * stdio-common/printf_size.c: Likewise.
  7454. * stdio-common/putw.c: Likewise.
  7455. * stdio-common/scanf.c: Likewise.
  7456. * stdio-common/sprintf.c: Likewise.
  7457. * stdio-common/tmpfile64.c: Likewise.
  7458. * stdio-common/vfprintf.c: Likewise.
  7459. * stdio-common/vfscanf.c: Likewise.
  7460. * stdlib/strfmon.c: Likewise.
  7461. * sunrpc/auth_des.c: Likewise.
  7462. * sunrpc/auth_none.c: Likewise.
  7463. * sunrpc/auth_unix.c: Likewise.
  7464. * sunrpc/authdes_prot.c: Likewise.
  7465. * sunrpc/authuxprot.c: Likewise.
  7466. * sunrpc/clnt_perr.c: Likewise.
  7467. * sunrpc/clnt_raw.c: Likewise.
  7468. * sunrpc/clnt_tcp.c: Likewise.
  7469. * sunrpc/clnt_udp.c: Likewise.
  7470. * sunrpc/clnt_unix.c: Likewise.
  7471. * sunrpc/key_call.c: Likewise.
  7472. * sunrpc/key_prot.c: Likewise.
  7473. * sunrpc/openchild.c: Likewise.
  7474. * sunrpc/pm_getmaps.c: Likewise.
  7475. * sunrpc/pm_getport.c: Likewise.
  7476. * sunrpc/pmap_clnt.c: Likewise.
  7477. * sunrpc/pmap_prot.c: Likewise.
  7478. * sunrpc/pmap_prot2.c: Likewise.
  7479. * sunrpc/pmap_rmt.c: Likewise.
  7480. * sunrpc/rpc_cmsg.c: Likewise.
  7481. * sunrpc/rpc_prot.c: Likewise.
  7482. * sunrpc/svc_authux.c: Likewise.
  7483. * sunrpc/svc_raw.c: Likewise.
  7484. * sunrpc/svc_simple.c: Likewise.
  7485. * sunrpc/svc_tcp.c: Likewise.
  7486. * sunrpc/svc_udp.c: Likewise.
  7487. * sunrpc/svc_unix.c: Likewise.
  7488. * sunrpc/xdr.c: Likewise.
  7489. * sunrpc/xdr_array.c: Likewise.
  7490. * sunrpc/xdr_mem.c: Likewise.
  7491. * sunrpc/xdr_rec.c: Likewise.
  7492. * sunrpc/xdr_ref.c: Likewise.
  7493. * sunrpc/xdr_stdio.c: Likewise.
  7494. * sysdeps/generic/_strerror.c: Likewise.
  7495. * sysdeps/generic/printf_fphex.c: Likewise.
  7496. * sysdeps/generic/tmpfile.c: Likewise.
  7497. * sysdeps/gnu/errlist.awk: Likewise.
  7498. * sysdeps/gnu/errlist.c: Likewise.
  7499. * libio/Makefile (routines): Remove iosprint.
  7500. * libio/iosprintf.c: Removed
  7501. 2002-02-24 Ulrich Drepper <drepper@redhat.com>
  7502. * elf/dl-support.c (_dl_non_dynamic_init): Renamed from
  7503. non_dynamic_init and exported now.
  7504. * sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init.
  7505. * sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for
  7506. !SHARED.
  7507. * sysdeps/mach/hurd/i386/init-first.c: Likewise.
  7508. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  7509. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  7510. 2002-02-23 Ulrich Drepper <drepper@redhat.com>
  7511. * elf/dl-close.c (free_slotinfo): Check for end of list and return
  7512. true in this case.
  7513. * locale/iso-639.def: Add language codes for Walloon.
  7514. * elf/dl-fini.c (_dl_fini): Print some final statistics on the
  7515. total number of relocations performed.
  7516. * elf/sprof.c (load_profdata): If do_test provide information as
  7517. to why loading failed.
  7518. * elf/dl-profile.c (_dl_start_profile): Initialize all of
  7519. hist_hdr.dimen.
  7520. * csu/set-init.c: Moved to...
  7521. * sysdeps/mach/hurd/set-init.c: ...here. New file.
  7522. * csu/Makefile: Don't compile set-init.
  7523. * sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu.
  7524. * sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition
  7525. to __libc_init.
  7526. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  7527. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  7528. * sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of
  7529. __libc_init.
  7530. * misc/init-misc.c: Always export __init_misc. Don't define hooks for
  7531. __libc_subinit.
  7532. 2002-02-22 Ulrich Drepper <drepper@redhat.com>
  7533. * elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls.
  7534. * elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE.
  7535. * sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls.
  7536. (_dl_deallocate_tls): New function.
  7537. * sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and
  7538. _dl_deallocate_tls.
  7539. 2002-02-21 Jakub Jelinek <jakub@redhat.com>
  7540. * libio/fileops.c (_IO_file_seekoff_mmap): Fix fseek SEEK_END.
  7541. * stdio-common/tst-fseek.c (main): Add test for this.
  7542. 2002-02-19 Ulrich Drepper <drepper@redhat.com.>
  7543. * stdlib/Versions: Move __on_exit to GLIBC_PRIVATE.
  7544. 2002-02-19 Jakub Jelinek <jakub@redhat.com>
  7545. * libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char
  7546. pointer before dereferencing.
  7547. 2002-02-18 Roland McGrath <roland@frob.com>
  7548. * sysdeps/mach/hurd/times.c: Fix typo in last change.
  7549. * sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]:
  7550. Use task_policy in place of task_priority.
  7551. * sysdeps/generic/bits/mman.h
  7552. (MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros.
  7553. * sysdeps/mach/msync.c: New file.
  7554. * sysdeps/mach/powerpc/syscall.S: New file.
  7555. * mach/msg.c [MACH_MSG_OVERWRITE]
  7556. (__mach_msg_trap, __mach_msg_overwrite): New functions.
  7557. * mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name.
  7558. * sysdeps/mach/configure.in: Check for clock.defs to put into
  7559. mach_interface_list.
  7560. * sysdeps/mach/configure: Regenerated.
  7561. * mach/Makefile (mach-machine): New variable, set from $(base-machine).
  7562. ($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine).
  7563. ($(mach-syscalls:%=$(objpfx)%.S) static pattern rule):
  7564. Use <mach/machine/syscall_sw.h> instead of <sysdep.h>.
  7565. (mach-shortcuts): Add device_read_overwrite_request,
  7566. device_read_overwrite, vm_read_overwrite, thread_switch.
  7567. * configure.in (base_machine): Set to $machine by default.
  7568. * configure: Regenerated.
  7569. * sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>
  7570. or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES.
  7571. * sysdeps/mach/configure: Regenerated.
  7572. * mach/mach_init.c [NDR_DEF_HEADER]: #include it.
  7573. * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast.
  7574. * hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl.
  7575. * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]:
  7576. Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE.
  7577. 2002-02-17 Roland McGrath <roland@frob.com>
  7578. * sysdeps/mach/hurd/times.c
  7579. [NO_CREATION_TIME] (startup_time): New static variable.
  7580. [NO_CREATION_TIME] (times_init): New static function in __libc_subinit.
  7581. (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task
  7582. creation_time from task_basic_info.
  7583. (__times): Use __gettimeofday instead of __host_get_time.
  7584. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]:
  7585. Use untyped Mach IPC message format.
  7586. * hurd/catch-exc.c: Include <assert.h>, missing from last change.
  7587. * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,
  7588. _S_catch_exception_raise_state_identity,
  7589. _hurdsig_fault_catch_exception_raise_state,
  7590. _hurdsig_fault_catch_exception_raise_state_identity.
  7591. * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "".
  7592. * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use
  7593. __host_info with HOST_VM_INFO flavor instead of __vm_statistics.
  7594. * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find
  7595. `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo.
  7596. * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only.
  7597. (fmh, unfmh): Define these functions only #if FMH. Otherwise define
  7598. them as no-op macros.
  7599. [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero.
  7600. (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK.
  7601. * sysdeps/powerpc/dl-machine.h
  7602. (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
  7603. * hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:
  7604. Use untyped Mach IPC message format.
  7605. * sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]:
  7606. Handle untyped Mach IPC message formats.
  7607. * hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]:
  7608. Expect different argument conventions when this is defined.
  7609. [EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function.
  7610. [EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise.
  7611. * hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*.
  7612. [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t
  7613. for OSF Mach variant.
  7614. (faulted): Use mig_reply_error_t for REPLY.
  7615. (_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY
  7616. in __thread_set_exception_ports call.
  7617. (_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use
  7618. __mach_port_set_attributes in place of __mach_port_set_qlimit.
  7619. * sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this
  7620. before include <sysdeps/mach/sysdep.h>, to inhibit <mach/machine/asm.h>
  7621. on Darwin, which includes bogons.
  7622. * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local
  7623. variable LOADBASE so it's not declared when it's not used.
  7624. 2002-02-16 Roland McGrath <roland@frob.com>
  7625. * sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try
  7626. to use BI.creation_time.
  7627. * mach/Machrules (MIG): Add -x c to CPP value passed down.
  7628. * config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.
  7629. * sysdeps/mach/configure.in: Check for host_page_size RPC to define it.
  7630. * mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use
  7631. host_page_size instead of vm_statistics.
  7632. * sysdeps/mach/Makefile (mach-before-compile): Don't include
  7633. mach_interface.h here, since not all variants use that name.
  7634. * sysdeps/mach/configure.in: Add some checks for Mach headers
  7635. to ensure a sane installation.
  7636. (mach_interface_list): Define this variable by checking for .defs
  7637. files found in various variants.
  7638. * configure.in (mach_interface_list): AC_SUBST this.
  7639. * config.make.in (mach-interface-list): New substituted variable.
  7640. * mach/Makefile (user-interfaces): Define this using the value
  7641. of $(mach-interface-list) instead of mach, mach4.
  7642. Updated other references to mach_interface to use it as well.
  7643. * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings.
  7644. * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
  7645. mig_reply_error_t for OSF Mach variant.
  7646. * mach/Makefile (routines): Remove bootprivport.
  7647. * mach/bootprivport.c: File removed. It has never been used.
  7648. * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]:
  7649. Grok the OSF flavor of message format.
  7650. (mach_msg_destroy_port): For MAKE_SEND and
  7651. MAKE_SEND_ONCE rights, create an destroy a right to ensure proper
  7652. no-senders notification.
  7653. 2002-02-06 Roland McGrath <roland@frob.com>
  7654. * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach
  7655. to here if 2.0 compatibility enabled ...
  7656. (libc: GLIBC_2.1.3): ... from here.
  7657. 2002-02-15 Ulrich Drepper <drepper@redhat.com>
  7658. * elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS
  7659. generation counter.
  7660. * elf/dl-close.c (_dl_close): Likewise.
  7661. 2002-02-14 Ulrich Drepper <drepper@redhat.com>
  7662. * elf/Makefile: Add rules to build and run tst-tls8.
  7663. * elf/tst-tls8.c: New file.
  7664. * elf/tst-tlsmod4.c: New file.
  7665. * stdlib/test-a64l.c (tests): Add more test cases.
  7666. * sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
  7667. Reported by Walter Harms <WHarms@bfs.de>.
  7668. 2002-02-11 Jes Sorensen <jes@trained-monkey.org>
  7669. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
  7670. definitions for struct sigcontext.
  7671. Suggested by David Mosberger-Tang.
  7672. 2002-02-13 Ulrich Drepper <drepper@redhat.com>
  7673. * elf/dl-close.c (remove_slotinfo): New function. Handles everything
  7674. for removing reference of module in slotinfo list.
  7675. (_dl_close): Use remove_slotinfo.
  7676. * sysdeps/generic/dl-tls.c: General pretty printing.
  7677. (oom): Define only if SHARED.
  7678. (_dl_next_tls_modid): Correct starting point for the case we assume
  7679. there is a gap. Add missing instruction grouping (doh!). Correct
  7680. tests for reaching maximum index.
  7681. * elf/Makefile: Add rules to build and run tst-tls7.
  7682. * elf/tst-tls7.c: New file.
  7683. * elf/tst-tlsmod3.c: New file.
  7684. * elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef
  7685. USE_TLS.
  7686. * elf/tst-tlsmod2.c: Likewise.
  7687. * elf/dl-close.c (_dl_close): When closing an object using TLS
  7688. either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to
  7689. true. Increment dl_tls_generation only if we closed any TLS-using
  7690. object.
  7691. * elf/tst-tls6.c: New file.
  7692. * elf/Makefile: Add rules to build and run tst-tls6.
  7693. * po/da.po: Update from translation team.
  7694. * locale/categories.def: Fix typo [PR libc/2948].
  7695. * po/Makefile (BROKEN_LINGUAS): Works with current gettext
  7696. [PR libc/2949].
  7697. * locale/iso-4217.def: Update from official version [PR libc/2950].
  7698. * glibcbug.in: Honor TMPDIR [PR libc/2951].
  7699. * locale/programs/ld-collate.c (collate_finish): Bail out with a
  7700. message if input is too confusion instead of using assert.
  7701. (collate_read): Don't crash on unknown symbol [PR libc/2952].
  7702. Patches by Alastair McKinstry <alastair@pdd.3com.com>.
  7703. * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS.
  7704. * elf/tst-tls2.c: Likewise.
  7705. * elf/tst-tls3.c: Likewise.
  7706. 2002-02-13 Jakub Jelinek <jakub@redhat.com>
  7707. * elf/dl-close.c (free_slotinfo): Only define if TLS supported.
  7708. 2002-02-13 Ulrich Drepper <drepper@redhat.com>
  7709. * elf/dl-open.c (dl_open_worker): Only bump the generation counter
  7710. if this is really necessary.
  7711. * elf/dl-close.c (_dl_close): Implement freeing entries in the
  7712. slotinfo array.
  7713. (free_mem): Free memory for the slotinfo array if possible.
  7714. 2002-02-12 Andreas Schwab <schwab@suse.de>
  7715. * csu/gmon-start.c (__gmon_start__): Remove '&' from ENTRY_POINT.
  7716. 2002-02-12 Ulrich Drepper <drepper@redhat.com>
  7717. * sysdeps/generic/dl-tls.c (TLS_DTV_UNALLOCATED): Renamed from
  7718. TLS_DTV_UNALLOCATE.
  7719. (oom): New function.
  7720. (_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list.
  7721. (_dl_determine_tlsoffset): Likewise.
  7722. (_dl_allocate_tls): Likewise.
  7723. (__TLS_GET_ADDR): Define if not already defined.
  7724. (_dl_tls_symaddr): New function.
  7725. (allocate_and_init): New function.
  7726. (__tls_get_addr): Actually implement handling of generation counter
  7727. and deferred allocation.
  7728. * sysdeps/generic/ldsodefs.h (_rtld_global): Remove _dl_initimage_list,
  7729. add _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and
  7730. _dl_tls_generation.
  7731. Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS.
  7732. Declare _dl_tls_symaddr.
  7733. * sysdeps/i386/dl-tls.h: Disable __tls_get_addr handling unless
  7734. SHARED.
  7735. * include/link.h (struct link_map): Remove l_tls_nextimage and
  7736. l_tls_previmage.
  7737. * elf/dl-sym.c (_dl_sym): After successful lookup call _dl_tls_symaddr
  7738. instead of DL_SYMBOL_ADDRESS for STT_TLS symbols.
  7739. (_dl_vsym): Likewise.
  7740. * elf/rtld.c (_dl_start_final): Adjust initdtv initialization for new
  7741. layout.
  7742. (dl_main): Allow PT_TLS be present for empty segment. Remove
  7743. nextimage list handling. Instead add all modules using TLS to
  7744. dl_tls_dtv_slotinfo_list.
  7745. * elf/dl-open.c (dl_open_worker): After successfully loading all
  7746. objects add those with TLS to the dl_tls_dtv_slotinfo_list list.
  7747. * elf/dl-load.c (_dl_map_object_from_fd): If PT_TLS entry is for an
  7748. empty segment don't do anything. Remove handling of initimage list.
  7749. * elf/Versions [ld] (GLIBC_2.0): Add __libc_memalign.
  7750. (GLIBC_PRIVATE): Add _dl_tls_symaddr.
  7751. * elf/dl-minimal.c: Define __libc_memalign.
  7752. * elf/dl-support.c: Remove _dl_initimage_list. Add
  7753. _dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and
  7754. _dl_tls_generation.
  7755. * include/stdlib.h: Declare __libc_memalign.
  7756. * elf/Makefile: Add rules to build and run tst-tls4 and tst-tls5.
  7757. * elf/tst-tls4.c: New file.
  7758. * elf/tst-tls5.c: New file.
  7759. * elf/tst-tlsmod2.c: New file.
  7760. * elf/tls-macros.h: asms using ___tls_get_addr destroy %ecx and %edx.
  7761. * elf/tst-tlsmod1.c: Don't define variables unles USE_TLS.
  7762. * elf/tst-tls1.c: Use test-skeleton.c.
  7763. * elf/tst-tls2.c: Likewise.
  7764. * elf/tst-tls3.c: Likewise.
  7765. * elf/dl-conflict.c (RESOLVE_MAP): Return NULL not 0.
  7766. 2002-02-08 Daniel Jacobowitz <drow@mvista.com>
  7767. * sysdeps/mips/machine-gmon.h: Update MCOUNT for current GCC behavior.
  7768. 2002-02-10 Ulrich Drepper <drepper@redhat.com>
  7769. * elf/elf.h: Define R_386_TLS_GD and R_386_TLS_LDM.
  7770. * elf/tst-tls3.c: New file.
  7771. * elf/tst-tlsmod1.c: New file.
  7772. * elf/Makefile: Add rules to build and run tst-tls3.
  7773. * sysdeps/i386/dl-machine.h: Include <tls.h>.
  7774. (elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three
  7775. TLS relocations.
  7776. * elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols.
  7777. * po/fr.po: Update from translation team.
  7778. * elf/tls-macros.h: Add alternative macros for use in PIC.
  7779. * elf/dl-lookup.c: Include <tls.h>.
  7780. * elf/do-lookup.h (FCT): Don't discard STT_TLS symbols.
  7781. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): More changes
  7782. required by passing pointer to last element of the list.
  7783. * elf/dl-load.c (_dl_map_object_from_fd): Move adjustment of
  7784. l_tls_initimage to a place where it actually is performed.
  7785. * sysdeps/generic/glob.c (glob): Explicitly set gl_pathc to zero
  7786. after globfree() calls.
  7787. * elf/dl-deps.c (struct openaux_args): Add open_mode element.
  7788. (openaux): Pass open_mode as new last argument to _dl_map_object.
  7789. (_dl_map_object_deps): Add new argument open_mode. Initialize
  7790. open_mode element of args variable with it.
  7791. * elf/dl-open.c (dl_open_worker): Pass __RTLD_DLOPEN flag is set to
  7792. _dl_map_object_deps.
  7793. * elf/rtld.c (dl_main): Add zero as last parameter to
  7794. _dl_map_object_deps call.
  7795. * sysdeps/generic/ldsodefs.h: Adjust prototype of _dl_map_object_deps.
  7796. * elf/nodlopen2.c: New file.
  7797. * elf/nodlopenmod2.c: New file.
  7798. * elf/Makefile: Add rules to build and run nodlopen2.
  7799. * elf/tst-tls1.c: Move TLS helper macros to...
  7800. * elf/tls-macros.h: ...here. New file.
  7801. * elf/tst-tls2.c: New file.
  7802. * elf/Makefile (tests): Add tst-tls2.
  7803. (distribute): Add tls-macros.h.
  7804. * po/sv.po: Update from translation team.
  7805. * elf/tst-tls1.c (main): Add complete set of tests. Split
  7806. architecture specific definitions from the actual test code.
  7807. * po/tr.po: Update from translation team.
  7808. 2002-02-09 Ulrich Drepper <drepper@redhat.com>
  7809. * elf/Makefile (tests): Add tst-tls1.
  7810. * elf/tst-tls1.c: New file.
  7811. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Don't handle
  7812. alignment of TCB for now.
  7813. * elf/rtld.c (dl_main): Use p_vaddr as address of TLS
  7814. initialization image for the application itself.
  7815. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Correctly terminate
  7816. loop to initialize TLS block.
  7817. 2002-02-08 Richard Henderson <rth@redhat.com>
  7818. * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include
  7819. _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL.
  7820. * sysdeps/alpha/elf/initfini.c: Use \n\ for multiline string.
  7821. 2002-02-09 Jakub Jelinek <jakub@redhat.com>
  7822. * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use.
  7823. 2002-02-08 Ulrich Drepper <drepper@redhat.com>
  7824. * po/ca.po: Update from translation team.
  7825. * po/sk.po: Likewise.
  7826. * elf/rtld.c (_dl_start_final): Install DTV explicitly.
  7827. (dl_main): Move dtv/static TLS handling before relocation.
  7828. Unconditionally call _dl_tlsoffset. Call _dl_allocate_tls and
  7829. TLS_INIT_TP to allocate and install the dtv/static TLS block.
  7830. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): If no object
  7831. so far uses TLS initialize GL(dl_tls_static_size) and
  7832. GL(dl_tls_static_align) to account for the TCB.
  7833. (_dl_allocate_tls): New function.
  7834. * sysdeps/generic/ldsodefs.h (rtld_global): Add
  7835. _dl_initial_dtv_malloced.
  7836. * configure.in: Test for __builtin_memset more realistically.
  7837. * csu/version.c (banner): If TLS support is available say so.
  7838. 2002-02-04 H.J. Lu <hjl@gnu.org>
  7839. * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Use
  7840. __attribute_used__.
  7841. (__dl_runtime_resolve): Likewise.
  7842. * sysdeps/mips/machine-gmon.h (_MCOUNT_DECL): Make it a real
  7843. declaration.
  7844. 2001-11-15 H.J. Lu <hjl@gnu.org>
  7845. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
  7846. <signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.
  7847. * sysdeps/unix/sysv/linux/mips/sys/user.h: New file.
  7848. 2002-02-07 H.J. Lu <hjl@gnu.org>
  7849. * sysdeps/mips/atomicity.h (compare_and_swap): Remove
  7850. ".set noreorder".
  7851. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
  7852. Likewise.
  7853. 2002-02-07 Ulrich Drepper <drepper@redhat.com>
  7854. * sysdeps/unix/sysv/linux/bits/stat.h: Undo last patch.
  7855. * sysdeps/i386/dl-tls.h (__tls_get_addr): Call
  7856. ___tls_get_addr_internal.
  7857. (___tls_get_addr_internal): Define as alias for ___tls_get_addr.
  7858. * po/ko.po: Update from translation team.
  7859. 2002-02-07 Jakub Jelinek <jakub@redhat.com>
  7860. * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Remove packed
  7861. attribute, change __pad{1,2} type to unsigned int.
  7862. (struct stat64): Remove packed attribute.
  7863. 2002-02-07 Ulrich Drepper <drepper@redhat.com>
  7864. * sysdeps/i386/dl-tls.h: No need for #ifdef USE_TLS.
  7865. 2002-02-07 Andreas Schwab <schwab@suse.de>
  7866. * configure.in: Fix check for -zcombreloc.
  7867. 2002-02-06 H.J. Lu <hjl@gnu.org>
  7868. * config.h.in (HAVE_BUILTIN_MEMSET): New macro.
  7869. * configure.in: Check if __builtin_memset really works.
  7870. * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of
  7871. __GNUC_PREREQ (2, 96) before using __builtin_memset.
  7872. 2002-02-06 Jakub Jelinek <jakub@redhat.com>
  7873. * io/bug-ftw3.c (main): Don't try the test if root.
  7874. 2002-02-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
  7875. * sysdeps/unix/sysv/linux/s390/brk.c (__brk): Correct inline assembly
  7876. constraints.
  7877. * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h (RLIMIT_LOCKS):
  7878. Add RLIMIT_LOCKS and adjust RLIMIT_NLIMITS.
  7879. * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h (RLIMIT_LOCKS):
  7880. Likewise.
  7881. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (clone): Make clone
  7882. a weak alias for __clone.
  7883. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (clone): Likewise.
  7884. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: Fix typo.
  7885. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add framestate.
  7886. * sysdeps/unix/sysv/linux/s390/s390-64/Versions: New file.
  7887. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap64): Make __mmap
  7888. a weak alias for __mmap64.
  7889. 2002-02-05 H.J. Lu <hjl@gnu.org>
  7890. * sysdeps/mips/atomicity.h (exchange_and_add): Not use branch likely.
  7891. (atomic_add): Likewise.
  7892. (compare_and_swap): Likewise.
  7893. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
  7894. 2002-02-07 Ulrich Drepper <drepper@redhat.com>
  7895. * sysdeps/generic/dl-tls.c: Don't read TLS header if TLS is not needed.
  7896. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Account for
  7897. alignment of the TCB and store total size and alignment of static
  7898. TLS block in _dl_tls_static_size and _dl_tls_static_align.
  7899. tls_index is a typedef.
  7900. * sysdeps/generic/ldsodefs.h: Declare _dl_tls_static_size and
  7901. _dl_tls_static_align.
  7902. * sysdeps/i386/dl-tls.h: tls_index is a typedef.
  7903. * elf/dl-support.c: Define _dl_tls_static_size and
  7904. _dl_tls_static_align.
  7905. 2002-02-06 Ulrich Drepper <drepper@redhat.com>
  7906. * configure.in: Add --without-tls option.
  7907. * sysdeps/i386/elf/configure.in: Don't check for TLS support if
  7908. --without-tls is given.
  7909. * sysdeps/generic/dl-tls.c: Include <tls.h>.
  7910. * sysdeps/i386/dl-tls.h: Don't define anything if !USE_TLS.
  7911. 2002-02-06 Roland McGrath <roland@frob.com>
  7912. * malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.
  7913. * malloc/malloc.c [! HAVE_MREMAP]: Likewise.
  7914. * scripts/versions.awk: Improve error message for missing version.
  7915. Each version inherits from the last one only if they have the same
  7916. nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y
  7917. but not GLIBC_x and FOO_y.
  7918. * scripts/firstversions.awk: Handle libraries that don't have each
  7919. particular version named in the third column of shlib-versions.
  7920. * scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.
  7921. 2002-02-06 Ulrich Drepper <drepper@redhat.com>
  7922. * Versions.def [ld]: Add GLIBC_2.3.
  7923. * elf/Versions [ld]: Add __tls_get_addr to GLIBC_2.3.
  7924. * elf/Makefile (dl-routines): Add dl-tls.
  7925. (distribute): Add dl-tls.h.
  7926. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
  7927. _dl_tls_module_cnt, add _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.
  7928. Add prototypes for _dl_next_tls_modid and _dl_determine_tlsoffset.
  7929. * elf/dl-load.c (_dl_map_object_from_fd): Store alignment requirement
  7930. along with the other info in the link map. Change queueing of init
  7931. images for double linked list. Use _dl_next_tls_modid to compute
  7932. l_tls_modid.
  7933. * elf/rtld.c (_dl_start_final): Store alignment requirement
  7934. along with the other info in rtld map and executable map.
  7935. (dl_main): Add ld.so to the init image list if necessary. Compute
  7936. final module ID with _dl_next_tls_modid.
  7937. * include/link.h (struct link_map): Add l_tls_previmage and
  7938. l_tls_align.
  7939. * eld/dl-support.c: Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.
  7940. * sysdeps/i386/elf/Versions: New file.
  7941. * sysdeps/generic/dl-tls.c: New file.
  7942. * sysdeps/generic/dl-tls.h: New file.
  7943. * sysdeps/i386/dl-tls.h: New file.
  7944. 2002-02-06 Roland McGrath <roland@frob.com>
  7945. * sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...
  7946. * sysdeps/generic/netinet/ip.h: ... here, replacing old file.
  7947. 2002-01-05 Roland McGrath <roland@frob.com>
  7948. * sysdeps/mach/configure.in: New file.
  7949. * sysdeps/mach/configure: New generated file.
  7950. * mach/Makefile (user-interfaces): Remove default_pager_helper.
  7951. It has never been used by anything.
  7952. 2002-02-06 H.J. Lu <hjl@gnu.org>
  7953. * sysdeps/mips/elf/ldsodefs.h: Make sure the right <ldsodefs.h>
  7954. is included.
  7955. 2002-02-06 Ulrich Drepper <drepper@redhat.com>
  7956. * sysdeps/unix/sysv/linux/bits/stat.h (struct stat): Add
  7957. attribute((packed)) to counter stupid people misusing gcc options.
  7958. (struct stat64): Likewise.
  7959. 2002-02-05 Ulrich Drepper <drepper@redhat.com>
  7960. * elf/rtld.c (dl_main): Correct indentation. Use bool as type for
  7961. the variables which are used as booleans.
  7962. 2002-02-06 Andreas Jaeger <aj@suse.de>
  7963. * include/libc-symbols.h (INTUSE): Renamed from INT.
  7964. * elf/dl-deps.c: Change users.
  7965. * sysdeps/generic/dl-sysdep.c: Likewise.
  7966. * sysdeps/generic/dl-cache.c: Likewise.
  7967. * elf/dl-reloc.c: Likewise.
  7968. * elf/rtld.c: Likewise.
  7969. * elf/dl-version.c: Likewise.
  7970. * elf/dl-load.c: Likewise.
  7971. * elf/dl-dst.h: Likewise.
  7972. * elf/dl-init.c: Likewise.
  7973. * elf/dl-error.c: Likewise.
  7974. * elf/dl-fini.c: Likewise.
  7975. * elf/dl-runtime.c: Likewise.
  7976. * elf/do-lookup.h: Likewise.
  7977. * stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate
  7978. definition.
  7979. * stdio-common/_itowa.h: Likewise.
  7980. 2002-02-05 Ulrich Drepper <drepper@redhat.com>
  7981. * elf/dl-minimal.c: Define _itoa_lower_digits.
  7982. * elf/dynamic-link.h (elf_get_dynamic_info): ld.so can have
  7983. DT_FLAGS set.
  7984. * elf/dl-load.c (_dl_map_object_from_fd): Prevent dynamically
  7985. loading modules with the DF_STATIC_TLS flag set.
  7986. * elf/dynamic-link.h (elf_get_dynamic_info): Initialize l_flags
  7987. element.
  7988. * include/link.h (struct link_map): Add l_flags field.
  7989. * elf/elf.h (DF_STATIC_TLS): New definition.
  7990. * dlfcn/Makefile: Add rules to build and run bug-dlopen1.
  7991. * dlfcn/bug-dlopen1.c: New file. By Bruno Haible.
  7992. * elf/rtld.c (process_dl_debug): Correct printing help message.
  7993. * elf/dl-misc.c (_dl_debug_vdprintf): Implement precision handling
  7994. for %s.
  7995. * inet/getnetgrent_r.c (innetgr): Add int* parameter to getfct
  7996. definition and pass &errno in use of this variable.
  7997. Reported by Simon Wilkinson <simon@sxw.org.uk> [PR libc/2911].
  7998. 2002-02-04 Andreas Schwab <schwab@suse.de>
  7999. * locale/programs/localedef.h (WITH_CUR_LOCALE): Define.
  8000. * locale/programs/charmap-dir.c: Wrap calls that output messages
  8001. with WITH_CUR_LOCALE. Include "localedef.h" first.
  8002. * locale/programs/charmap.c: Likewise.
  8003. * locale/programs/ld-address.c: Likewise.
  8004. * locale/programs/ld-collate.c: Likewise.
  8005. * locale/programs/ld-ctype.c: Likewise.
  8006. * locale/programs/ld-identification.c: Likewise.
  8007. * locale/programs/ld-measurement.c: Likewise.
  8008. * locale/programs/ld-messages.c: Likewise.
  8009. * locale/programs/ld-monetary.c: Likewise.
  8010. * locale/programs/ld-name.c: Likewise.
  8011. * locale/programs/ld-numeric.c: Likewise.
  8012. * locale/programs/ld-paper.c: Likewise.
  8013. * locale/programs/ld-telephone.c: Likewise.
  8014. * locale/programs/ld-time.c: Likewise.
  8015. * locale/programs/linereader.c: Likewise.
  8016. * locale/programs/linereader.h: Likewise.
  8017. * locale/programs/localedef.c: Likewise.
  8018. * locale/programs/locfile.c: Likewise.
  8019. * locale/programs/repertoire.c: Likewise.
  8020. 2002-02-05 Ulrich Drepper <drepper@redhat.com>
  8021. * elf/rtld.c (_dl_start_final): Determine load address to locate
  8022. ehdr with GL(dl_rtld_map).l_map_start.
  8023. * po/ca.po: Update from translation team.
  8024. * elf/rtld.c (dl_main): Read PT_TLS entry of the executable.
  8025. * elf/dl-load.c (_dl_map_object_from_fd): Handle PT_TLS program
  8026. header entry.
  8027. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add
  8028. _dl_tls_module_cnt.
  8029. * elf/dl-support.c: Define _dl_initimage_list and _dl_tls_module_cnt.
  8030. 2002-02-04 Ulrich Drepper <drepper@redhat.com>
  8031. * elf/rtld.c (_dl_start): Fill TLS values in link map for rtld.
  8032. * include/link.h (struct link_map): Add various members for TLS
  8033. information.
  8034. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
  8035. _rtld_tlsoffset, add _dl_initimage_list.
  8036. * sysdeps/i386/dl-lookupcfg.h: New file.
  8037. * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement missing
  8038. TLS relocation. When using TLS we now use RESOLVE_MAP.
  8039. (elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS
  8040. is used.
  8041. * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Mark as possibly
  8042. unused.
  8043. * elf/rtld.c (_dl_start_final): Allocate TLS and initialize
  8044. thread-pointer as soon as possible.
  8045. * sysdeps/generic/ldsodefs.h: Include <tls.h>. Define first TLS
  8046. elements in rtld_global.
  8047. * sysdeps/generic/tls.h: New file.
  8048. * elf/Makefile (distribute): Add tls.h.
  8049. * sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS
  8050. relocations. Not complete yet.
  8051. * resolv/resolv.h: Allow user to define __need_res_state and only
  8052. define __res_start structure then.
  8053. * include/resolv.h: Only declare functions if _RESOLV_H_ is defined.
  8054. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Move
  8055. dl_cpuclock_offset initialization to _dl_start_final.
  8056. (_dl_show_auxv): Avoid unnecessary sign extension.
  8057. * elf/rtld.c (_dl_start_final): Initialize dl_cpuclock_offset.
  8058. 2002-02-03 Ulrich Drepper <drepper@redhat.com>
  8059. * config.h.in: Add HAVE_TLS_SUPPORT.
  8060. * sysdeps/i386/elf/configure.in: New file.
  8061. 2002-02-03 Andreas Schwab <schwab@suse.de>
  8062. * sysdeps/posix/readv.c: Use ssize_t for bytes_read.
  8063. * sysdeps/posix/writev.c: Use ssize_t for bytes_written. Fix comment.
  8064. 2002-02-03 Thorsten Kukuk <kukuk@suse.de>
  8065. * sysdeps/posix/writev.c: Check for ssize_t overflow, don't use
  8066. alloca if the memory reqirements are too high.
  8067. 2002-02-03 Ulrich Drepper <drepper@redhat.com>
  8068. * elf/dl-load.c (decompose_rpath): Avoid using strstr.
  8069. * elf/dl-minimal.c (_strerror_r): Use _itoa instead of _itoa_word since
  8070. the former is available anyway and speed isn't important here.
  8071. * elf/dl-misc.c (_dl_debug_vdprintf): Likewise.
  8072. * elf/dl-version.c (match_symbol): Likewise.
  8073. (_dl_check_map_versions): Likewise.
  8074. * elf/rtld.c (process_envvars): Likewise.
  8075. (print_statistics): Likewise.
  8076. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Likewise.
  8077. * elf/dl-minimal.c (_itoa): Always define it. Make it work for all
  8078. bases. Add assert to catch uses of unimplemented features.
  8079. (__strsep): Add assert to catch uses of unimplemented features.
  8080. * elf/dl-object.c (_dl_new_object): Don't use rawmemchr. Use strchr
  8081. and avoid inline optimization.
  8082. * elf/rtld.c (process_envvars): Likewise.
  8083. * elf/dl-open.c: Don't include <stdio-common/_itoa.h>.
  8084. * elf/dl-profile.c (_dl_start_profile): Help compiler to avoid ffs.
  8085. * elf/rtld.c (dl_main): Avoid strsep inline optimization.
  8086. 2002-02-02 Ulrich Drepper <drepper@redhat.com>
  8087. * stdio-common/_itoa.h: Minor simplifications of the code.
  8088. * stdio-common/_itoa.c: Likewise.
  8089. * elf/dl-reloc.c (_dl_relocate_object): Use _dl_debug_printf
  8090. instead of _dl_printf for debugging info output.
  8091. * manual/examples/mkfsock.c (make_named_socket): Make sure name is
  8092. always NUL-terminated. Patch by Chris D. Sloan <cds@cs.hmc.edu>.
  8093. 2002-02-01 H.J. Lu <hjl@gnu.org>
  8094. * sysdeps/mips/atomicity.h (exchange_and_add): Use branch likely.
  8095. (atomic_add): Likewise.
  8096. (compare_and_swap): Return 0 only when failed to compare. Use
  8097. branch likely.
  8098. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Use
  8099. branch likely.
  8100. 2002-02-03 kaz Kojima <kkojima@rr.iij4u.or.jp>
  8101. * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix a typo.
  8102. 2002-02-02 Ulrich Drepper <drepper@redhat.com>
  8103. * elf/dl-minimal.c (__strsep): New minimal implementation.
  8104. 2002-02-02 Paul Eggert <eggert@twinsun.com>
  8105. * src/mktime.c [defined DEBUG && STDC_HEADERS]: Include <string.h>.
  8106. (__mktime_internal): If no tm_isdst is requested, prefer solutions
  8107. with tm_isdst > 0 when the requested time falls within a
  8108. spring-forward gap [PR libc/2894].
  8109. 2002-02-03 Andreas Schwab <schwab@suse.de>
  8110. * stdio-common/tst-rndseek.c: Increase timeout.
  8111. 2002-02-02 Ulrich Drepper <drepper@redhat.com>
  8112. Change ld.so to not use functions which are exported. One cannot
  8113. interpose them anyway. Use INT() to mark uses, INTDEF() to mark
  8114. definitions.
  8115. * include/libc-symbols.h: Define INT and INTDEF.
  8116. * sysdeps/generic/ldsodefs.h: Declare _dl_debug_printf_internal,
  8117. _dl_signal_error_internal, _dl_map_object_internal,
  8118. _dl_map_object_deps_internal, _dl_lookup_symbol_internal,
  8119. _dl_lookup_versioned_symbol_internal,
  8120. _dl_relocate_object_internal, _dl_debug_state_internal,
  8121. _dl_start_profile_internal, and _dl_unload_cache_internal.
  8122. * include/dlfcn.h: Declare _dl_catch_error_internal.
  8123. * elf/rtld.c: Use INT for calls to any of the *_internal functions
  8124. above. Add INTDEF to function definitions.
  8125. * elf/dl-debug.c: Likewise.
  8126. * elf/dl-deps.c: Likewise.
  8127. * elf/dl-dst.h: Likewise.
  8128. * elf/dl-error.c: Likewise.
  8129. * elf/dl-fini.c: Likewise.
  8130. * elf/dl-init.c: Likewise.
  8131. * elf/dl-load.c: Likewise.
  8132. * elf/dl-lookup.c: Likewise.
  8133. * elf/dl-misc.c: Likewise.
  8134. * elf/dl-open.c: Likewise.
  8135. * elf/dl-profile.c: Likewise.
  8136. * elf/dl-reloc.c: Likewise.
  8137. * elf/dl-runtime.c: Likewise.
  8138. * elf/dl-version.c: Likewise.
  8139. * elf/do-lookup.h: Likewise.
  8140. * sysdeps/generic/dl-cache.c: Likewise.
  8141. * sysdeps/generic/dl-sysdep.c: Likewise.
  8142. * sysdeps/alpha/dl-machine.h (RTLD_START): Call _dl_init_internal
  8143. instead of _dl_init.
  8144. * sysdeps/arm/dl-machine.h: Likewise.
  8145. * sysdeps/cris/dl-machine.h: Likewise.
  8146. * sysdeps/hppa/dl-machine.h: Likewise.
  8147. * sysdeps/i386/dl-machine.h: Likewise.
  8148. * sysdeps/ia64/dl-machine.h: Likewise.
  8149. * sysdeps/m68k/dl-machine.h: Likewise.
  8150. * sysdeps/mips/dl-machine.h: Likewise.
  8151. * sysdeps/mips/mips64/dl-machine.h: Likewise.
  8152. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  8153. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  8154. * sysdeps/sh/dl-machine.h: Likewise.
  8155. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  8156. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  8157. * sysdeps/x86_64/dl-machine.h: Likewise.
  8158. * sysdeps/powerpc/dl-start.S (_dl_start_user): Likewise.
  8159. * elf/Versions: Don't export _dl_check_all_versions, _dl_sysdep_start,
  8160. and _dl_debug_initialize.
  8161. * elf/dl-object.c (_dl_new_object): Avoid using strrchr. We have
  8162. more information.
  8163. * elf/rtld.c (dl_main): Avoid strrchr.
  8164. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use the
  8165. result of readlink. Search from the back for '/'.
  8166. * elf/dl-profile.c (_dl_start_profile): Help the compiler to avoid
  8167. strncpy if possible.
  8168. * sysdeps/generic/dl-environ.c (unsetenv): Optimize. Don't use
  8169. strncmp.
  8170. * elf/dl-load.c (is_dst): Optimize. Don't call strncmp twice.
  8171. * elf/rtld.c (process_dl_debug): Optimize. Avoid calls to strncmp,
  8172. strspn, and strcspn.
  8173. (process_envvars): Don't use strcspn.
  8174. * elf/dl-load.c (_dl_dst_count): Fix possible endless loop.
  8175. (_dl_dst_substitute): Likewise.
  8176. 2002-02-01 Ulrich Drepper <drepper@redhat.com>
  8177. * elf/do-rel.h (elf_dynamic_do_rel): Help the compiler recognize
  8178. code which is never used when relocating ld.so itself.
  8179. * elf/dynamic-link.h (elf_get_dynamic_info): Optimize a bit for
  8180. starting ld.so itself. Move l_addr variable initialization closer
  8181. to use.
  8182. (_ELF_DYNAMIC_DO_RELOC): Help the compiler optimize a bit.
  8183. 2002-02-01 Jakub Jelinek <jakub@redhat.com>
  8184. * Versions.def (libc): Add GLIBC_PRIVATE.
  8185. (libdb, libnss_db, libdb1): Remove.
  8186. (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis,
  8187. libnss_nisplus): Move all symbols to GLIBC_PRIVATE.
  8188. (libpthread): Add GLIBC_PRIVATE.
  8189. (libresolv): Likewise, remove GLIBC_2.1.
  8190. (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1,
  8191. GLIBC_2.2.3, GLIBC_2.3.
  8192. * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE.
  8193. * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first,
  8194. _dl_sym, _dl_vsym): Likewise.
  8195. (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error,
  8196. _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize,
  8197. _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute,
  8198. _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip,
  8199. _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip,
  8200. _dl_map_object, _dl_map_object_deps, _dl_out_of_memory,
  8201. _dl_relocate_object, _dl_signal_error, _dl_start_profile,
  8202. _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global):
  8203. Likewise.
  8204. (_dl_object_relocation_scope): Remove.
  8205. * hesiod/Versions: Move all symbols to GLIBC_PRIVATE.
  8206. * iconv/Versions (__gconv_alias_db, __gconv_modules_db,
  8207. __gconv_cache): Move to GLIBC_PRIVATE.
  8208. * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r,
  8209. __internal_setnetgrent): Likewise.
  8210. * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write,
  8211. __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise.
  8212. * locale/Versions (__collate_element_hash, __collate_element_strings,
  8213. __collate_symbol_classes, __collate_symbol_hash,
  8214. __collate_symbol_strings, _nl_current_LC_COLLATE,
  8215. _nl_current_LC_CTYPE): Likewise.
  8216. * misc/Versions (__libc_fsync, __libc_msync): Likewise.
  8217. * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE.
  8218. (libnss_nis, libnss_nisplus): Likewise.
  8219. * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent,
  8220. _nss_files_parse_spent): Move to GLIBC_PRIVATE.
  8221. (libnss_files): Move all symbols to GLIBC_PRIVATE.
  8222. * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause,
  8223. __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64,
  8224. __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE.
  8225. * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop,
  8226. __ns_get16, __ns_samename): Likewise.
  8227. (libnss_dns): Move all symbols to GLIBC_PRIVATE.
  8228. * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to
  8229. GLIBC_PRIVATE.
  8230. * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom,
  8231. __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto,
  8232. __libc_connect): Likewise.
  8233. * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits):
  8234. Likewise.
  8235. * stdlib/Versions (__libc_system): Likewise.
  8236. * sunrpc/Versions (__rpc_thread_destroy): Likewise.
  8237. * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE.
  8238. * sysdeps/ia64/fpu/Versions: Likewise.
  8239. * sysdeps/ia64/Versions: Likewise.
  8240. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
  8241. * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move
  8242. to GLIBC_PRIVATE.
  8243. * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise.
  8244. * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo,
  8245. __libc_sigaction): Likewise.
  8246. * termios/Versions (__libc_tcdrain): Likewise.
  8247. * misc/sys/cdefs (__attribute_noinline__): Define.
  8248. * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add
  8249. __attribute_noinline__.
  8250. * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64.
  8251. * elf/dl-xstat64.c: New file.
  8252. * elf/dl-fxstat64.c: New file.
  8253. * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined,
  8254. don't export __fxstat64 at multiple versions.
  8255. * sysdeps/unix/sysv/linux/lxstat64.c: Similarly.
  8256. * sysdeps/unix/sysv/linux/xstat64.c: Similarly.
  8257. 2002-01-18 Isamu Hasegawa <isamu@yamato.ibm.com>
  8258. * locale/program/ld-collate.c (collate_finish): Assign a wide
  8259. char collation sequence value to multi character collating
  8260. elements, and avoid over writing by non-character elements.
  8261. 2002-02-01 Ulrich Drepper <drepper@redhat.com>
  8262. * elf/Makefile (distribute): Add dl-procinfo.c.
  8263. * sysdeps/unix/sysv/linux/i386/Dist: Remove dl-procinfo.c.
  8264. * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
  8265. 2002-02-01 Jakub Jelinek <jakub@redhat.com>
  8266. * sysdeps/generic/ldsodefs.h (_dl_load_lock): Remove duplicate
  8267. definition.
  8268. * sysdeps/ia64/hp-timing.h: Move _dl_hp_timing_overhead in
  8269. _rtld_global struct.
  8270. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
  8271. * sysdeps/sparc/sparc64/hp-timing.c: Likewise.
  8272. * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
  8273. * sysdeps/sparc/sparc64/Makefile: Make hp-timing static only.
  8274. * sysdeps/unix/sysv/aix/init-first.c (_dl_fpu_control,
  8275. _dl_fpu_control_set): Remove unused externs.
  8276. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: New file.
  8277. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: New file.
  8278. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Move procinfo
  8279. related variables in _rtld_global struct.
  8280. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
  8281. * sysdeps/unix/sysv/linux/init-first.c (_dl_fpu_control_set): Remove
  8282. unused extern.
  8283. 2002-02-01 Ulrich Drepper <drepper@redhat.com>
  8284. * sysdeps/generic/dl-procinfo.c: New file.
  8285. 2002-02-01 Andreas Schwab <schwab@suse.de>
  8286. * sysdeps/m68k/dl-machine.h: Don't use multi-line string literals.
  8287. 2002-02-01 Ulrich Drepper <drepper@redhat.com>
  8288. * elf/rtld.c (_dl_start): Mark as internal_function.
  8289. * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start
  8290. in register.
  8291. (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP.
  8292. General pretty printing.
  8293. 2002-01-31 Ulrich Drepper <drepper@redhat.com>
  8294. * elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing.
  8295. * elf/dl-reloc.c: Pretty printing.
  8296. * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and
  8297. procinfo-related variables in rtld_global struct.
  8298. * elf/dl-support.c: Likewise.
  8299. * elf/rtld.c: Likewise.
  8300. * sysdeps/i386/i686/Makefile: Likewise.
  8301. * sysdeps/i386/i686/hp-timing.c: Likewise.
  8302. * sysdeps/i386/i686/hp-timing.h: Likewise.
  8303. * sysdeps/ia64/Makefile: Likewise.
  8304. * sysdeps/ia64/hp-timing.c: Likewise.
  8305. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise.
  8306. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
  8307. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise.
  8308. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise.
  8309. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  8310. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise.
  8311. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
  8312. * sysdeps/x86_64/Makefile: Likewise.
  8313. * sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy,
  8314. _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and
  8315. _dl_debug_fd to rtld_global.
  8316. * elf/Versions: Likewise.
  8317. * elf/dl-close.c: Likewise.
  8318. * elf/dl-iteratephdr.c: Likewise.
  8319. * elf/dl-lookup.c: Likewise.
  8320. * elf/dl-misc.c: Likewise.
  8321. * elf/dl-open.c: Likewise.
  8322. * elf/dl-support.c: Likewise.
  8323. * elf/do-lookup.h: Likewise.
  8324. * elf/rtld.c: Likewise.
  8325. * sysdeps/generic/dl-cache.c: Likewise.
  8326. * sysdeps/generic/dl-sysdep.c: Likewise.
  8327. * sysdeps/ia64/Versions: Likewise.
  8328. * sysdeps/unix/clock_gettime.c: Likewise.
  8329. * sysdeps/unix/clock_settime.c: Likewise.
  8330. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
  8331. * sysdeps/sparc/Versions: Removed.
  8332. * sysdeps/i386/i686/Versions : Removed.
  8333. * sysdeps/x86_64/Versions: Removed.
  8334. * configure.in: Define HAVE_PROTECTED if .protected is available.
  8335. * config.h.in: Add entry for HAVE_PROTECTED.
  8336. 2002-01-31 Jakub Jelinek <jakub@redhat.com.
  8337. * sysdeps/alpha/dl-machine.h: Move global variables for SHARED
  8338. code in struct _rtld_global. Export this struct, remove all
  8339. exports for the signal variables.
  8340. * sysdeps/arm/dl-machine: Likewise.
  8341. * sysdeps/generic/dl-origin: Likewise.
  8342. * sysdeps/generic/dl-sysdep: Likewise.
  8343. * sysdeps/generic/dl-cache: Likewise.
  8344. * sysdeps/hppa/dl-fptr: Likewise.
  8345. * sysdeps/hppa/dl-machine: Likewise.
  8346. * sysdeps/cris/dl-machine: Likewise.
  8347. * sysdeps/i386/dl-machine: Likewise.
  8348. * sysdeps/ia64/dl-machine: Likewise.
  8349. * sysdeps/m68k/dl-machine: Likewise.
  8350. * sysdeps/mach/hurd/dl-sysdep: Likewise.
  8351. * sysdeps/mips/mips64/dl-machine: Likewise.
  8352. * sysdeps/mips/dl-machine: Likewise.
  8353. * sysdeps/powerpc/elf/libc-start: Likewise.
  8354. * sysdeps/powerpc/dl-machine: Likewise.
  8355. * sysdeps/powerpc/dl-start: Likewise.
  8356. * sysdeps/sparc/sparc32/dl-machine: Likewise.
  8357. * sysdeps/sparc/sparc64/dl-machine: Likewise.
  8358. * sysdeps/sh/dl-machine: Likewise.
  8359. * sysdeps/s390/s390-32/dl-machine: Likewise.
  8360. * sysdeps/s390/s390-64/dl-machine: Likewise.
  8361. * sysdeps/unix/sysv/aix/libc-start: Likewise.
  8362. * sysdeps/unix/sysv/aix/start-libc: Likewise.
  8363. * sysdeps/unix/sysv/linux/ia64/dl-static: Likewise.
  8364. * sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise.
  8365. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise.
  8366. * sysdeps/x86_64/dl-machine: Likewise.
  8367. 2002-01-31 Ulrich Drepper <drepper@redhat.com>
  8368. * sysdeps/posix/readv.c: Don't use alloca if the memory requirements
  8369. are too high.
  8370. 2002-01-31 Andreas Schwab <schwab@suse.de>
  8371. * sysdeps/posix/readv.c: Check for ssize_t overflow.
  8372. 2002-01-31 Andreas Schwab <schwab@suse.de>
  8373. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover
  8374. reference to _dl_pagesize.
  8375. 2002-01-30 Ulrich Drepper <drepper@redhat.com>
  8376. * Versions.def [ld]: Add GLIBC_2.3.
  8377. * elf/dl-addr.c: Move global variables for SHARED code in struct
  8378. _rtld_global. Export this struct, remove all exports for the
  8379. signal variables.
  8380. * elf/dl-close.c: Likewise.
  8381. * elf/dl-conflict.c: Likewise.
  8382. * elf/dl-debug.c: Likewise.
  8383. * elf/dl-deps.c: Likewise.
  8384. * elf/dl-dst.h: Likewise.
  8385. * elf/dl-error.c: Likewise.
  8386. * elf/dl-fini.c: Likewise.
  8387. * elf/dl-init.c: Likewise.
  8388. * elf/dl-iteratephdr.c: Likewise.
  8389. * elf/dl-libc.c: Likewise.
  8390. * elf/dl-load.c: Likewise.
  8391. * elf/dl-lookup.c: Likewise.
  8392. * elf/dl-minimal.c: Likewise.
  8393. * elf/dl-object.c: Likewise.
  8394. * elf/dl-open.c: Likewise.
  8395. * elf/dl-profile.c: Likewise.
  8396. * elf/dl-profstub.c: Likewise.
  8397. * elf/dl-reloc.c: Likewise.
  8398. * elf/dl-runtime.c: Likewise.
  8399. * elf/dl-support.c: Likewise.
  8400. * elf/dl-sym.c: Likewise.
  8401. * elf/dl-version.c: Likewise.
  8402. * elf/do-lookup.h: Likewise.
  8403. * elf/do-rel.h: Likewise.
  8404. * elf/dynamic-link.h: Likewise.
  8405. * elf/rtld.c: Likewise.
  8406. * sysdeps/generic/dl-cache.c: Likewise.
  8407. * sysdeps/generic/dl-sysdep.c: Likewise.
  8408. * sysdeps/generic/ldsodefs.h: Likewise.
  8409. * sysdeps/generic/libc-start.c: Likewise.
  8410. * sysdeps/i386/dl-machine.h: Likewise.
  8411. * sysdeps/ia64/dl-fptr.c: Likewise.
  8412. * sysdeps/ia64/dl-machine.h: Likewise.
  8413. * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise.
  8414. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
  8415. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
  8416. * sysdeps/unix/sysv/linux/getclktck.c: Likewise.
  8417. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
  8418. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
  8419. * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise.
  8420. * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise.
  8421. 2002-01-29 Ulrich Drepper <drepper@redhat.com>
  8422. * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast
  8423. to avoid warning
  8424. (DL_STATIC_FUNCTION_ADDRESS): Likewise.
  8425. * elf/dl-lookup.c: Only define or handle _dl_num_relocations for the
  8426. SHARED version.
  8427. * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations.
  8428. * elf/rtld.c (_dl_start): Use __builtin_memset if available.
  8429. 2002-01-29 Ben Collins <bcollins@debian.org>
  8430. * string/bits/string2.h (__mempcpy): Protect size arg for
  8431. addition when using __builtin_memcpy.
  8432. 2002-01-29 Ulrich Drepper <drepper@redhat.com>
  8433. * stdlib/Makefile (tests): Add tst-qsort.
  8434. * stdlib/tst-qsort.c: New file. Written by Paul Eggert.
  8435. * manual/signal.texi (Process Signal Mask): Document that
  8436. pthread_sigmask, not sigprocmask, must be used in MT programs.
  8437. Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>.
  8438. * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is
  8439. found.
  8440. * misc/Makefile (tests): Add tst-hsearch.
  8441. * misc/tst-hsearch.c: New file.
  8442. 2002-01-18 Wolfram Gloger <wg@malloc.de>
  8443. * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c.
  8444. * malloc/malloc.h: Likewise.
  8445. * malloc/thread-m.h: Spinlock definitions for x86/x86_64.
  8446. * malloc/arena.c: New file.
  8447. * malloc/hooks.c: New file.
  8448. * malloc/tst-mallocstate.c: New file.
  8449. * malloc/Makefile: Add new testcase tst-mallocstate.
  8450. Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS.
  8451. 2002-01-28 Ulrich Drepper <drepper@redhat.com>
  8452. * stdlib/msort.c: Remove last patch. The optimization violates the
  8453. same rule which qsort.c had problems with.
  8454. 2002-01-27 Paul Eggert <eggert@twinsun.com>
  8455. * stdlib/qsort.c (_quicksort): Do not apply the comparison function
  8456. to a pivot element that lies outside the array to be sorted, as
  8457. ISO C99 requires that the comparison function be called only with
  8458. addresses of array elements [PR libc/2880].
  8459. 2002-01-28 Ulrich Drepper <drepper@redhat.com>
  8460. * elf/dl-load.c (_dl_map_object): Remove incorrect optimization
  8461. for SHARED code. Reported by Ben Collins <bcollins@debian.org>.
  8462. * timezone/asia: Update from tzdata2002b.
  8463. * timezone/australasia: Likewise.
  8464. * timezone/backward: Likewise.
  8465. * timezone/europe: Likewise.
  8466. * timezone/leapseconds: Likewise.
  8467. * timezone/iso3166.tab: Likewise.
  8468. * timezone/zone.tab: Likewise.
  8469. 2002-01-23 Richard Henderson <rth@redhat.com>
  8470. * sysdeps/alpha/Makefile (pic-ccflag): New variable.
  8471. 2002-01-28 Ulrich Drepper <drepper@redhat.com>
  8472. * string/strxfrm.c: Allocate one more byte for rulearr and clear
  8473. this element [PR libc/2855].
  8474. * string/strcoll.c: Handle zero-length arguments specially
  8475. [PR libc/2856].
  8476. 2002-01-23 Jakub Jelinek <jakub@redhat.com>
  8477. * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use
  8478. __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for
  8479. short lengths and constant src.
  8480. (strcpy): Don't optimize for gcc 3.0+.
  8481. (__stpcpy): For gcc 3.0+, don't use
  8482. __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src)
  8483. for short string literal src.
  8484. 2002-01-23 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
  8485. * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
  8486. Set for arm, too.
  8487. 2001-01-22 Paul Eggert <eggert@twinsun.com>
  8488. * manual/llio.texi (Linked Channels, Cleaning Streams):
  8489. Make it clearer that a just-opened input stream might need cleaning.
  8490. 2002-01-21 H.J. Lu <hjl@gnu.org>
  8491. * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
  8492. Don't use label at end of compound statement.
  8493. 2002-01-28 Stephen L Moshier <moshier@mediaone.net>
  8494. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
  8495. Remove test for negative integer arg; sin_pi does it correctly.
  8496. 2002-01-20 Ulrich Drepper <drepper@redhat.com>
  8497. * nscd/Makefile (distribute): Filter out xmalloc.c.
  8498. 2002-01-19 Ulrich Drepper <drepper@redhat.com>
  8499. * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static.
  8500. Set offset if read end wasn't the buffer end.
  8501. (_IO_file_seekoff_mmap): New function.
  8502. (_IO_file_xsgetn_mmap): New function.
  8503. (_IO_file_jumps_mmap): Use the two new functions.
  8504. * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer
  8505. != end buffer.
  8506. * libio/libioP.h: Declare _IO_file_seekoff_mmap and
  8507. _IO_file_underflow_mmap.
  8508. * libio/iofopen.c: Don't position file descriptor at end of file.
  8509. * libio/tst-widetext.c: Improve error messages.
  8510. * stdio-common/tst-rndseek.c: Likewise.
  8511. 2002-01-18 Ulrich Drepper <drepper@redhat.com>
  8512. * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at
  8513. end of enum for !_GNU_SOURCE.
  8514. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise.
  8515. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise.
  8516. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise.
  8517. * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_*
  8518. values unless _GNU_SOURCE.
  8519. * iconvdata/tcvn5712-1.c: Minor cleanups.
  8520. 2002-01-18 Andreas Schwab <schwab@suse.de>
  8521. * sysdeps/unix/sysv/linux/configure.in
  8522. (libc_cv_gcc_unwind_find_fde): Set for m68k, too.
  8523. 2002-01-16 Roger Sayle <roger@eyesopen.com>
  8524. * stdlib/msort.c (msort_with_tmp): Replace implementation with
  8525. more efficient "Towers of Hanoi" mergesort.
  8526. (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
  8527. for generic, sizeof(int) and sizeof(long) variants respectively.
  8528. 2002-01-17 Ulrich Drepper <drepper@redhat.com>
  8529. * manual/syslog.texi (openlog): Describe possible problems with
  8530. first parameter.
  8531. Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
  8532. * nscd/nscd.c (drop_privileges): Removed. Adjust caller.
  8533. * nscd/connections.c (begin_drop_privileges): New function.
  8534. (finish_drop_privileges): New function.
  8535. (nscd_init): Call the new functions which also install all groups
  8536. for the server user.
  8537. * nscd/Makefile (nscd-modules): Add xmalloc for nscd.
  8538. Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
  8539. 2002-01-17 H.J. Lu <hjl@gnu.org>
  8540. * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove
  8541. `const' from `got'.
  8542. 2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8543. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit
  8544. instructions for pointer operations.
  8545. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
  8546. 2002-01-17 Andreas Jaeger <aj@suse.de>
  8547. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has
  8548. __uint128_t build-in.
  8549. * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
  8550. PowerPC, sync with 2.2 branch.
  8551. 2002-01-16 Ulrich Drepper <drepper@redhat.com>
  8552. * posix/getconf.c: Update copyright year.
  8553. * nss/getent.c: Likewise.
  8554. * nscd/nscd_nischeck.c: Likewise.
  8555. * iconv/iconvconfig.c: Likewise.
  8556. * iconv/iconv_prog.c: Likewise.
  8557. * elf/ldconfig.c: Likewise.
  8558. * catgets/gencat.c: Likewise.
  8559. * csu/version.c: Likewise.
  8560. * elf/ldd.bash.in: Likewise.
  8561. * elf/sprof.c (print_version): Likewise.
  8562. * locale/programs/locale.c: Likewise.
  8563. * locale/programs/localedef.c: Likewise.
  8564. * nscd/nscd.c (print_version): Likewise.
  8565. * debug/xtrace.sh: Likewise.
  8566. * malloc/memusage.sh: Likewise.
  8567. * malloc/mtrace.pl: Likewise.
  8568. 2002-01-16 Andreas Schwab <schwab@suse.de>
  8569. * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to
  8570. reliably remove "-ia64" from rtld name.
  8571. 2002-01-16 Ulrich Drepper <drepper@redhat.com>
  8572. * iconvdata/gb18030.c: Bug fixes and support for more characters.
  8573. Patch by Yu Shao <yshao@redhat.com>.
  8574. 2002-01-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8575. * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
  8576. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
  8577. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.
  8578. 2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8579. * sysdeps/s390/fpu/libm-test-ulps: Update.
  8580. 2002-01-11 Ulrich Drepper <drepper@redhat.com>
  8581. * elf/elf.h: Update x86 relocations.
  8582. 2002-01-10 Ulrich Drepper <drepper@redhat.com>
  8583. * locale/programs/charmap.c (new_width): Check whether byte
  8584. sequences for both ends of range have the same length.
  8585. 2002-01-09 Jakub Jelinek <jakub@redhat.com>
  8586. * elf/elf.h (SHN_UNDEF): Remove duplicate definition.
  8587. 2002-01-09 Jakub Jelinek <jakub@redhat.com>
  8588. * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line
  8589. string literals.
  8590. (__full_ieee754_sqrt): Add __attribute_used__.
  8591. 2002-01-10 Ulrich Drepper <drepper@redhat.com>
  8592. * sysdeps/generic/group_member.c (__group_member): Also check
  8593. groups[0] [PR libc/2781].
  8594. 2002-01-08 Ulrich Drepper <drepper@redhat.com>
  8595. * Makefile (distribute): Add scripts/cpp.
  8596. * elf/Makefile (distribute): Add reldep6mod[01234].c,
  8597. unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h,
  8598. unwind-dw2-fde.h, and dwarf2.h.
  8599. * sysdeps/unix/bsd/bsd4.4/Dist: New file.
  8600. * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c.
  8601. * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed.
  8602. * sysdeps/unix/sysv/linux/s390/Dist: Likewise.
  8603. 2002-01-07 Roland McGrath <roland@frob.com>
  8604. * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
  8605. volatile on type of ARGC so the compiler doesn't get clever.
  8606. 2002-01-07 Andreas Jaeger <aj@suse.de>
  8607. * sysdeps/generic/bits/byteswap.h: Prevent double inclusion.
  8608. * sysdeps/i386/bits/byteswap.h: Likewise.
  8609. * sysdeps/ia64/bits/byteswap.h: Likewise.
  8610. * sysdeps/m68k/bits/byteswap.h: Likewise.
  8611. * sysdeps/s390/s390-32/bits/byteswap.h: Likewise.
  8612. * sysdeps/s390/s390-64/bits/byteswap.h: Likewise [PR libc/2757].
  8613. 2002-01-02 Bruno Haible <bruno@clisp.org>
  8614. * intl/plural.y: Fix %expect count.
  8615. 2002-01-03 Jakub Jelinek <jakub@redhat.com>
  8616. * elf/Makefile (routines, shared-only-routines): Add
  8617. unwind-dw2-fde-glibc instead of unwind-dw2-fde.
  8618. * elf/elf.h (PT_GNU_EH_FRAME): Define.
  8619. * sysdeps/generic/unwind-dw2-fde-glibc.c: New file.
  8620. * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases):
  8621. Optimize if .eh_frame section contains no FDEs.
  8622. (__register_frame, __deregister_frame_info_bases,
  8623. __deregister_frame): Likewise.
  8624. * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix
  8625. DW_CFA_restore handling.
  8626. 2002-01-07 Stephen L Moshier <moshier@mediaone.net>
  8627. * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header.
  8628. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test
  8629. for x < 0.25 and restore original range reduction method.
  8630. (__ieee754_lgammal_r): Make sure signgam is set before returning.
  8631. 2002-01-07 Ulrich Drepper <drepper@redhat.com>
  8632. * libio/fileops.c (_IO_file_underflow_mmap): New function.
  8633. (_IO_file_close_mmap): New function.
  8634. (_IO_file_jumps_mmap): New variable.
  8635. * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before
  8636. trying to convert rest of byte buffer.
  8637. (_IO_wfile_underflow_mmap): New function.
  8638. (_IO_wfile_jumps_mmap): New variable.
  8639. * libio/iofopen.c (__fopen_maybe_mmap): New function.
  8640. (__fopen_internal): New function. Split out from _IO_new_fopen.
  8641. (_IO_new_fopen): Call __fopen_internal.
  8642. * libio/iofopen64.c: Just call __fopen_internal.
  8643. * libio/iofdopen.c: Call __fopen_maybe_mmap before returning
  8644. successfully.
  8645. * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap.
  8646. * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap,
  8647. _IO_file_close_mmap.
  8648. * sysdeps/gnu/_G_config.h: Define _G_MMAP64.
  8649. * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise.
  8650. * stdio-common/Makefile (tests): Add tst-rndseek.
  8651. * stdio-common/tst-rndseek.c: New file.
  8652. 2002-01-05 Roland McGrath <roland@frob.com>
  8653. * config.h.in (HAVE_MIG_RETCODE): New #undef.
  8654. * sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro
  8655. swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE.
  8656. * sysdeps/mach/hurd/configure: Regenerated.
  8657. 2002-01-03 Ulrich Drepper <drepper@redhat.com>
  8658. * elf/elf.h: Add more TLS definitions.
  8659. 2002-01-02 Ulrich Drepper <drepper@redhat.com>
  8660. * include/features.h (__GLIBC_MINOR__): Bump to 3.
  8661. 2002-01-02 Roland McGrath <roland@frob.com>
  8662. * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,
  8663. __sigisemptyset. Don't use MASK uninitialized.
  8664. * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset.
  8665. * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset.
  8666. * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember,
  8667. __sigdelset, __sigaddset, __sigorset.
  8668. * sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
  8669. * sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.
  8670. * hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when
  8671. _hurd_ports is null.
  8672. * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup
  8673. for old CMU and new OSF Mach interface flavors.
  8674. * hurd/hurdfault.c (_hurdsig_fault_init): Likewise.
  8675. * sysdeps/mach/hurd/fork.c (__fork): Likewise.
  8676. * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset.
  8677. * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]:
  8678. Pass extra arguments to task_create for OSF variant.
  8679. * sysdeps/mach/hurd/fork.c (__fork): Likewise.
  8680. * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code
  8681. conditional on [HAVE_AUX_VECTOR].
  8682. * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use
  8683. mach_msg_timeout_t as type of final argument.
  8684. * hurd/privports.c (__get_privileged_ports):
  8685. Change host_priv_t to mach_port_t in argument type.
  8686. * hurd/hurd.h (get_privileged_ports, __get_privileged_ports):
  8687. Update decls.
  8688. * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from
  8689. multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H].
  8690. * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
  8691. * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
  8692. * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
  8693. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
  8694. 2002-01-01 Roland McGrath <roland@frob.com>
  8695. * sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.
  8696. 2002-01-01 Ulrich Drepper <drepper@redhat.com>
  8697. * include/stdlib.h: Define inlines for the _l variants of the strto*
  8698. functions.
  8699. 2002-01-01 Roland McGrath <roland@frob.com>
  8700. * sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.
  8701. * mach/Machrules (MIG): Set CPP as well as CC.
  8702. 2001-12-31 Ulrich Drepper <drepper@redhat.com>
  8703. * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C
  8704. locale to parse /proc/loadavg [PR libc/2760].
  8705. 2001-12-31 Jakub Jelinek <jakub@redhat.com>
  8706. * elf/dl-conflict.c: Include sys/param.h.
  8707. (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).
  8708. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid
  8709. warning.
  8710. (TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string
  8711. literals to avoid warnings.
  8712. 2001-12-31 Andreas Jaeger <aj@suse.de>
  8713. * configure.in: Don't check for gsed since we do not use it anywhere.
  8714. 2001-12-25 Dmitry V. Levin <ldv@alt-linux.org>
  8715. * io/fts.c: Update from BSD to fix memory leaks.
  8716. 2001-12-25 Dmitry V. Levin <ldv@alt-linux.org>
  8717. * crypt/md5-crypt.c: Realloc error handling memory leak fix.
  8718. * elf/chroot_canon.c: Likewise.
  8719. * elf/dl-object.c: Likewise.
  8720. * iconv/iconv_charmap.c: Likewise.
  8721. * iconv/iconv_prog.c: Likewise.
  8722. * libio/iogetdelim.c: Likewise.
  8723. * locale/lc-time.c: Likewise.
  8724. * stdlib/canonicalize.c: Likewise.
  8725. * sunrpc/svc.c: Likewise.
  8726. * sysdeps/generic/glob.c: Likewise.
  8727. 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8728. * sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
  8729. * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
  8730. remove high order bit from the program counter.
  8731. * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.
  8732. 2001-12-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8733. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
  8734. unnecessary code and add missing reloc types.
  8735. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
  8736. case for reloc type R_390_NONE.
  8737. 2001-12-28 Andreas Jaeger <aj@suse.de>
  8738. * io/bug-ftw3.c: Include string.h for prototypes.
  8739. * crypt/md5test.c (main): Remove unused variable.
  8740. * dlfcn/modstatic.c: Add prototype to avoid warning.
  8741. 2001-12-26 Roland McGrath <roland@frob.com>
  8742. * sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,
  8743. check only (SS->pending & MASK) for the signal to return.
  8744. From Jeroen Dekkers <jeroen@dekkers.cx>.
  8745. 2001-12-22 Roland McGrath <roland@frob.com>
  8746. * iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]:
  8747. Use preprocessor #if conditionals instead of `if' to avoid
  8748. warnings about divide by zero in dead code.
  8749. * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,
  8750. _hurd_port_init, and __hurd_self_sigstate.
  8751. * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.
  8752. 2001-12-21 Andreas Jaeger <aj@suse.de>
  8753. * elf/dblloadmod1.c: Add prototype to avoid warning.
  8754. * elf/dblloadmod2.c: Likewise.
  8755. * elf/dblloadmod3.c: Likewise.
  8756. * elf/reldepmod5.c: Likewise.
  8757. * elf/reldepmod6.c: Likewise.
  8758. * elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute
  8759. for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not
  8760. used on all architectures.
  8761. * sunrpc/svc_tcp.c: Add noreturn attribute for
  8762. svctcp_rendezvous_abort.
  8763. * sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort.
  8764. * sysdeps/generic/strstr.c (strstr): Add paranthese for assignment
  8765. to avoid warning.
  8766. 2001-12-19 Jakub Jelinek <jakub@redhat.com>
  8767. * manual/llio.texi (aio_fsync): Fix a typo.
  8768. Patch by Tammy Fox <tfox@redhat.com>.
  8769. 2001-12-18 Jakub Jelinek <jakub@redhat.com>
  8770. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract
  8771. stack bias from child stack pointer before passing it to clone syscall.
  8772. 2001-12-18 Ulrich Drepper <drepper@redhat.com>
  8773. * sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for
  8774. _SC_TZNAME_MAX.
  8775. * sysdeps/generic/sysconf.c (__sysconf): Likewise.
  8776. Reported by Thorsten Kukuk <kukuk@suse.de>.
  8777. * sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and
  8778. add some casts.
  8779. * sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static.
  8780. 2001-12-18 Thorsten Kukuk <kukuk@suse.de>
  8781. * sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard
  8782. conforming: return EBADF if file descriptor is invalid and EINVAL
  8783. if file descriptor is no valid tty.
  8784. * login/tst-grantpt.c: New file.
  8785. * login/Makefile (tests): Add tst-grantpt.
  8786. 2001-12-17 Ulrich Drepper <drepper@redhat.com>
  8787. * io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir
  8788. different than implemented in last patch.
  8789. * io/bug-ftw3.c: Adjust test for changed handling of
  8790. inaccessibility of toplevel dir.
  8791. 2001-12-16 Roland McGrath <roland@frob.com>
  8792. * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
  8793. * grp/initgroups.c (internal_getgrouplist): Likewise.
  8794. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
  8795. `default:' to silence new GCC warning.
  8796. Rewrite cast of lvalue to silence new GCC warning.
  8797. * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.
  8798. * sysdeps/mach/hurd/spawni.c: New file, by me with a
  8799. couple fixes by Neal H Walfield <neal@cs.uml.edu>.
  8800. 2001-12-14 Ulrich Drepper <drepper@redhat.com>
  8801. * sysdeps/generic/strstr.c (strstr): Update. New optimized version.
  8802. Patch by Stephen R. van den Berg.
  8803. * crypt/md5.h: Define md5_uintptr.
  8804. 2001-12-13 Ulrich Drepper <drepper@redhat.com>
  8805. * libio/tst_swprintf.c (main): Add test for string argument with
  8806. zero precision.
  8807. * stdio-common/Makefile (tests): Add tst-sprintf.
  8808. * stdio-common/tst-sprintf.c: New file.
  8809. 2001-12-13 Andreas Schwab <schwab@suse.de>
  8810. * stdio-common/vfprintf.c (process_string_arg): Correctly handle
  8811. zero precision with wide character string format.
  8812. 2001-12-13 Thorsten Kukuk <kukuk@suse.de>
  8813. * sysdeps/posix/cuserid.c (cuserid): If we don't find the UID,
  8814. but have a user supplied buffer, return the empty buffer, not NULL.
  8815. 2001-12-13 Ulrich Drepper <drepper@redhat.com>
  8816. * crypt/md5.c (md5_process_bytes): Correct handling of alignment.
  8817. Patch by Eric Sharkey <sharkey@netrics.com>.
  8818. * crypt/md5test.c (main): Add test for multiple calls to
  8819. __md5_process_bytes to itererate over input string.
  8820. 2001-12-12 Ulrich Drepper <drepper@redhat.com>
  8821. * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code
  8822. from __nis_findfastest. Take timeout value from parameter.
  8823. (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly.
  8824. * nis/nis_intern.h: Define parameters controlling __nis_findfastest
  8825. [PR libc/2520]. Patch by Alexander Belopolsky <alexb@rentec.com>.
  8826. 2001-12-12 Andreas Jaeger <aj@suse.de>
  8827. * configure.in: Use -nostartfiles -nostdlib for linker tests, fix
  8828. combreloc test so that it works in this case.
  8829. * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
  8830. 2001-12-12 NIIBE Yutaka <gniibe@m17n.org>
  8831. * sysdeps/sh/Makefile: New file.
  8832. * sysdeps/sh/_mcount.S: New file.
  8833. * sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented.
  8834. * sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.
  8835. 2001-12-11 Ulrich Drepper <drepper@redhat.com>
  8836. * resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS
  8837. limitation [PR libc/2564].
  8838. 2001-12-11 Jakub Jelinek <jakub@redhat.com>
  8839. * elf/Makefile (dl-routines): Add conflict.
  8840. (rtld-ldscript-in, rtld-ldscript, rtld-parms): Remove.
  8841. (ld.so): Add _begin local symbol.
  8842. * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM):
  8843. Define.
  8844. * elf/dl-deps.c (_dl_build_local_scope): New function.
  8845. (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes
  8846. of all libraries.
  8847. * elf/do-rel.h (VALIDX): Define.
  8848. (elf_dynamic_do_rel): If ELF_MACHINE_PLT_REL is defined, don't do
  8849. lazy binding for RELA. If DT_GNU_PRELINKED, DT_RELACOUNT relocations
  8850. can be skipped.
  8851. * elf/dl-conflict.c: New file.
  8852. * elf/dl-lookup.c (_dl_debug_bindings): New function.
  8853. (_dl_lookup_symbol): Use _dl_debug_bindings. Reference_name is always
  8854. non-NULL.
  8855. (_dl_lookup_symbol_skip): Likewise.
  8856. (_dl_lookup_versioned_symbol): Likewise.
  8857. (_dl_lookup_versioned_symbol_skip): Likewise.
  8858. * elf/dl-runtime.c (PLTREL): If ELF_MACHINE_PLT_REL is defined,
  8859. define to ElfW(Rel).
  8860. * elf/dynamic-link.h (elf_get_dynamic_info): Record selected dynamic
  8861. tags in the DT_VALRNGLO..DT_VALRNGHI and DT_ADDRRNGLO..DT_ADDRRNGHI
  8862. ranges.
  8863. Don't adjust address dynamic tags if l_addr is 0.
  8864. * elf/rtld.c (_dl_trace_prelink, _dl_trace_prelink_map): New variables.
  8865. (_dl_start): Skip ELF_DYNAMIC_RELOCATE if ld.so is prelinked.
  8866. (VALIDX, ADDRIDX): Define.
  8867. (_dl_start_final): Initialize _dl_rtld_map's l_map_start and l_map_end.
  8868. (dl_main): Print library list for LD_TRACE_PRELINKING.
  8869. If prelinking information can be used, skip relocating libraries and
  8870. call _dl_resolve_conflicts instead.
  8871. (process_envvars): Handle LD_TRACE_PRELINKING envvar.
  8872. * elf/dl-load.c (_dl_map_object): Don't create fake libs
  8873. if LD_TRACE_PRELINKING.
  8874. * include/link.h (struct link_map) [l_info]: Add DT_VALNUM
  8875. + DT_ADDRNUM.
  8876. * sysdeps/generic/ldsodefs.h (_dl_trace_prelink_map): New declaration.
  8877. (DL_DEBUG_PRELINK): Define.
  8878. (_dl_resolve_conflicts): Add prototype.
  8879. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Reinitialize
  8880. .plt for prelinked libraries where prelinking info cannot be used.
  8881. (elf_machine_rela): If relocating R_ALPHA_JMP_SLOT in .gnu.conflict
  8882. section, use RESOLVE_CONFLICT_FIND_MAP to find out reloc's link_map.
  8883. * sysdeps/arm/bits/link.h: New file.
  8884. * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Save original
  8885. content of .got[1].
  8886. (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
  8887. (ELF_MACHINE_PLT_REL): Define.
  8888. (elf_machine_rela, elf_machine_rela_relative): New functions.
  8889. (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
  8890. of adjusting it if prelinked and prelinking cannot be used.
  8891. * sysdeps/i386/bits/link.h: New file.
  8892. * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Save original
  8893. content of .got[1].
  8894. (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
  8895. (ELF_MACHINE_PLT_REL): Define.
  8896. (elf_machine_rela, elf_machine_rela_relative): New functions.
  8897. (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead
  8898. of adjusting it if prelinked and prelinking cannot be used.
  8899. * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating
  8900. conflicts, skip finaladdr computation. Use RESOLVE_CONFLICT_FIND_MAP
  8901. to find out map for R_PPC_JMP_SLOT relocs.
  8902. * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Define.
  8903. (OPCODE_BA): Define.
  8904. (elf_machine_runtime_setup): Reinitialize .plt for prelinked
  8905. libraries where prelinking info cannot be used.
  8906. (sparc_fixup_plt): Renamed from elf_machine_fixup_plt.
  8907. (elf_machine_fixup_plt): Call sparc_fixup_plt.
  8908. (elf_machine_rela): Set value to 0 if relocating conflicts.
  8909. Call sparc_fixup_plt for R_SPARC_JMP_SLOT.
  8910. * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Define.
  8911. (sparc64_fixup_plt): Fix a typo.
  8912. (elf_machine_rela): Set value to 0 if relocating conflicts.
  8913. Handle R_SPARC_JMP_SLOT relocs when relocating conflicts.
  8914. (elf_machine_runtime_setup): Reinitialize .plt for prelinked
  8915. libraries where prelinking info cannot be used.
  8916. * sysdeps/sh/bits/link.h: New file.
  8917. * sysdeps/sh/dl-machine.h (elf_machine_runtime_setup): Save original
  8918. content of .got[1].
  8919. (elf_machine_lazy_rel): Reinitialize R_SH_JMP_SLOT address instead
  8920. of adjusting it if prelinked and prelinking cannot be used.
  8921. * sysdeps/s390/s390-32/bits/link.h: New file.
  8922. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
  8923. Save original content of .got[1].
  8924. (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
  8925. of adjusting it if prelinked and prelinking cannot be used.
  8926. * sysdeps/s390/s390-64/bits/link.h: New file.
  8927. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup):
  8928. Save original content of .got[1].
  8929. (elf_machine_lazy_rel): Reinitialize R_390_JMP_SLOT address instead
  8930. of adjusting it if prelinked and prelinking cannot be used.
  8931. * sysdeps/x86_64/bits/link.h: New file.
  8932. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
  8933. Save original content of .got[1].
  8934. (elf_machine_lazy_rel): Reinitialize R_X86_64_JMP_SLOT address instead
  8935. of adjusting it if prelinked and prelinking cannot be used.
  8936. 2001-12-11 Ulrich Drepper <drepper@redhat.com>
  8937. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use sizeof
  8938. where appropriate instead of numbers. Little optimizations.
  8939. 2001-12-10 Roland McGrath <roland@frob.com>
  8940. * sysdeps/mach/hurd/bind.c (bind): Don't deallocate IFSOCK if we never
  8941. set it.
  8942. * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Set default
  8943. set to GLIBC_2.2.5, not GLIBC_2.2.4.
  8944. * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde):
  8945. Fix conditionals so this is set by default for stdio and not for libio.
  8946. * sysdeps/mach/hurd/configure: Regenerated.
  8947. 2001-12-10 Thorsten Kukuk <kukuk@suse.de>
  8948. * io/ftw.c (ftw_startup): Check, if the path is search and readable.
  8949. 2001-12-10 Ulrich Drepper <drepper@redhat.com>
  8950. * io/Makefile (tests): Add bug-ftw3.
  8951. * io/bug-ftw3.c: New file.
  8952. * sysdeps/generic/glob.c (glob): Return only pattern if nothing
  8953. matches and GLOB_NOCHECK is set.
  8954. * posix/globtest.sh: Correct expected result for NOCHECK test.
  8955. * po/ca.po: Update from translation team.
  8956. 2001-12-09 Ulrich Drepper <drepper@redhat.com>
  8957. Implement transliteration of characters in strings of the locale
  8958. definitions.
  8959. * locale/programs/linereader.c: Adjust for additional parameter to
  8960. lr_token.
  8961. (get_string): If character <Uxxxx> is not found try to transliterate
  8962. it.
  8963. * locale/programs/ld-ctype.c: Adjust for additional parameter to
  8964. lr_token. Add const to charmap parameter of all functions.
  8965. (find_translit, find_translit2): New functions.
  8966. * locale/programs/charmap.c: Adjust for additional parameter to
  8967. lr_token.
  8968. * locale/programs/repertoire.c: Likewise.
  8969. * locale/programs/linereader.h: Likewise.
  8970. * locale/programs/ld-address.c: Likewise. Add const to charmap
  8971. parameter of all functions.
  8972. * locale/programs/ld-collate.c: Likewise.
  8973. * locale/programs/ld-identification.c: Likewise.
  8974. * locale/programs/ld-measurement.c: Likewise.
  8975. * locale/programs/ld-messages.c: Likewise.
  8976. * locale/programs/ld-monetary.c: Likewise.
  8977. * locale/programs/ld-name.c: Likewise.
  8978. * locale/programs/ld-numeric.c: Likewise.
  8979. * locale/programs/ld-paper.c: Likewise.
  8980. * locale/programs/ld-paper.c: Likewise.
  8981. * locale/programs/ld-telephone.c: Likewise.
  8982. * locale/programs/ld-time.c: Likewise.
  8983. * locale/programs/locfile.c: Likewise.
  8984. * locale/programs/localedef.c: Likewise.
  8985. * locale/programs/localedef.h: Likewise.
  8986. * locale/programs/locfile.h: Likewise. Add declaration for
  8987. find_translit.
  8988. * locale/programs/simple-hash.c: Add const to first parameter of
  8989. find_entry, iterate_table, and lookup.
  8990. * locale/programs/simple-hash.h: Likewise.
  8991. * locale/localeinfo.h: Don't define __LC_LAST here. Include <locale.h>
  8992. instead.
  8993. * include/locale.h: Define __LC_LAST.
  8994. * iconv/Makefile (CFLAGS-linereader.c): Define to -DNO_TRANSLITERATION.
  8995. 2001-12-07 Geoff Keating <geoffk@redhat.com>
  8996. * sysdeps/powerpc/Dist: Update for recent FP changes.
  8997. * sysdeps/powerpc/fpu/Dist: Likewise.
  8998. 2001-12-07 Andreas Schwab <schwab@suse.de>
  8999. * sysdeps/unix/sysv/linux/opensock.c: Include <string.h>.
  9000. 2001-12-06 Geoff Keating <geoffk@redhat.com>
  9001. * sysdeps/powerpc/Makefile (sysdep_routines): Don't build the fpr
  9002. save/restore functions here.
  9003. (libm-support): Don't define these functions here.
  9004. * sysdeps/powerpc/fpu/Makefile: Build the fpr save/restore
  9005. functions here.
  9006. * sysdeps/powerpc/fe_nomask.c: Move to...
  9007. * sysdeps/powerpc/fpu/fe_nomask.c: ... here.
  9008. * sysdeps/powerpc/fprrest.S: Move to...
  9009. * sysdeps/powerpc/fpu/fprrest.S: ... here.
  9010. * sysdeps/powerpc/fprsave.S: Move to...
  9011. * sysdeps/powerpc/fpu/fprsave.S: ... here.
  9012. 2001-12-06 Ulrich Drepper <drepper@redhat.com>
  9013. * sysdeps/unix/sysv/linux/opensock.c: New file.
  9014. 2001-12-06 Geoff Keating <geoffk@redhat.com>
  9015. * config.make.in (with-fp): Define from configure.
  9016. * configure.in: Substitute with_fp.
  9017. * configure: Regenerate.
  9018. * sysdeps/powerpc/Makefile: Set -msoft-float when --without-fp is
  9019. specified, and don't change FPU environment.
  9020. 2001-12-06 Ulrich Drepper <drepper@redhat.com>
  9021. * libio/vasprintf.c (_IO_vasprintf): Free buffer on failure.
  9022. * assert/assert.c: Check result of __asprintf call and don't use
  9023. string if it failed.
  9024. * assert/assert-perr.c: Likewise.
  9025. * inet/rcmd.c: Likewise.
  9026. * locale/programs/localedef.c (main): Check result of
  9027. construct_output_path and exit if it failed.
  9028. (construct_output_path): Check result of asprintf and mkdir calls and
  9029. fail if they failed.
  9030. * posix/getopt.c: Check result of __asprintf calls and fail if
  9031. they failed.
  9032. Patch by Dmitry V. Levin <ldv@alt-linux.org>.
  9033. 2001-12-05 Ulrich Drepper <drepper@redhat.com>
  9034. * sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
  9035. patch.
  9036. * sysdeps/generic/strncase.c: Likewise.
  9037. * string/tester.c: Add tests for strcasecmp and strncasecmp.
  9038. 2001-12-05 Geoff Keating <geoffk@redhat.com>
  9039. * scripts/cpp: Test the exit status from 'type', not 'awk'.
  9040. * sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
  9041. * sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
  9042. * sysdeps/powerpc/setjmp.S: Don't save FP registers.
  9043. * sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
  9044. * sysdeps/powerpc/fclrexcpt.c: Move to...
  9045. * sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
  9046. * sysdeps/powerpc/fpu_control.h: Move to...
  9047. * sysdeps/powerpc/fpu/fpu_control.h: ... here.
  9048. 2001-12-05 Ulrich Drepper <drepper@redhat.com>
  9049. * iconvdata/ibm1129.h: Remove duplicate mappings.
  9050. * iconvdata/ibm937.c: Handle overflow errors. Handle new tables.
  9051. * iconvdata/ibm937.h: Reorganize table to safe a lot of space.
  9052. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
  9053. * timezone/zic.c: Fix handling of turnaround times.
  9054. Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.
  9055. 2001-12-02 Moshe Olshansky <OLSHANSK@il.ibm.com>
  9056. * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
  9057. overflow problem.
  9058. 2001-12-05 Ulrich Drepper <drepper@redhat.com>
  9059. * posix/regex.c: For use outside glibc defined bounded pointer
  9060. macros here. Patch by Jim Meyering <jim@meyering.net>.
  9061. * iconvdata/Makefile (modules): Add TCVN5712-1.
  9062. * iconvdata/TESTS: Add TCVN5712-1.
  9063. * iconvdata/gconv-modules: Likewise.
  9064. * iconvdata/tcvn5712-1.c: New file.
  9065. * iconvdata/testdata/TCVN-5712: New file.
  9066. * iconvdata/testdata/TCVN-5712..UTF8: New file.
  9067. 2001-12-04 Ulrich Drepper <drepper@redhat.com>
  9068. * iconvdata/cp1258.c: Optimize conversion from UCS4.
  9069. 2001-12-02 Roland McGrath <roland@frob.com>
  9070. * mach/Makefile, mach/Machrules: Move comments out of \ continuations.
  9071. * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
  9072. Reported by Jeff Bailey <jbailey@nisa.net>.
  9073. * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
  9074. Reported by Jeff Bailey <jbailey@nisa.net>.
  9075. * mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
  9076. * mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
  9077. Reported by Jeff Bailey <jbailey@nisa.net>.
  9078. 2001-12-01 Roland McGrath <roland@frob.com>
  9079. * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
  9080. missing backslash in test arguments.
  9081. * sysdeps/mach/hurd/configure: Regenerated.
  9082. 2001-11-26 Roland McGrath <roland@frob.com>
  9083. * hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
  9084. Reported by John Tobey <jtobey@john-edwin-tobey.org>.
  9085. 2001-11-30 Ulrich Drepper <drepper@redhat.com>
  9086. * iconvdata/Makefile (modules): Add ARMSCII-8.
  9087. * iconvdata/gconv-modules: Add entries for ARMSCII-8.
  9088. * iconvdata/armscii-8.c: New file.
  9089. 2001-11-29 Jakub Jelinek <jakub@redhat.com>
  9090. * sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
  9091. don't match, fix {{a,b},c} globbing, clean up.
  9092. Patch by Flavio Veloso <flaviovs@magnux.com>.
  9093. * posix/globtest.sh: Add new tests.
  9094. 2001-11-29 Andreas Jaeger <aj@suse.de>
  9095. * sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.
  9096. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.
  9097. * sysdeps/generic/abort.c: Include libioP.h for
  9098. _IO_flush_all_lockp prototype.
  9099. 2001-11-29 Ulrich Drepper <drepper@redhat.com>
  9100. * posix/regex.h: Define __restrict_arr correctly.
  9101. 2001-11-28 Ulrich Drepper <drepper@redhat.com>
  9102. * iconvdata/ibm1163.c: New file.
  9103. * iconvdata/ibm1163.h: New file.
  9104. * iconvdata/ibm1164.c: New file.
  9105. * iconvdata/ibm1164.h: New file.
  9106. * iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
  9107. * iconvdata/Makefile: Likewise.
  9108. * iconvdata/testdata/IBM1163: New file.
  9109. * iconvdata/testdata/IBM1163..UTF8: New file.
  9110. * iconvdata/testdata/IBM1164: New file.
  9111. * iconvdata/testdata/IBM1164..UTF8: New file.
  9112. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
  9113. * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings.
  9114. * iconvdata/ibm1124.h: Likewise.
  9115. * iconvdata/ibm1132.h: Likewise.
  9116. * iconvdata/ibm1133.h: Likewise.
  9117. * iconvdata/ibm1160.h: Likewise.
  9118. * iconvdata/ibm1161.h: Likewise.
  9119. * iconvdata/ibm1162.h: Likewise.
  9120. * iconvdata/ibm856.h: Likewise.
  9121. * iconvdata/ibm922.h: Likewise.
  9122. * iconvdata/ibm930.h: Likewise.
  9123. * iconvdata/ibm932.h: Likewise.
  9124. * iconvdata/ibm933.h: Likewise.
  9125. * iconvdata/ibm935.h: Likewise.
  9126. * iconvdata/ibm937.h: Likewise.
  9127. * iconvdata/ibm939.h: Likewise.
  9128. * iconvdata/ibm943.h: Likewise.
  9129. * iconvdata/ibm930.c: Pretty printing.
  9130. * iconvdata/ibm937.c: Avoid access accross array boundary.
  9131. * iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
  9132. the current locale's codeset.
  9133. * iconv/iconv_open.c (iconv_open): Don't strip out everything for
  9134. empty input string.
  9135. * iconv/iconv_prog.c: Pass empty strings as default value for to-
  9136. and from-charset. Don't determine locale's charset here.
  9137. * libio/genops.c (_IO_flush_all_lockp): New function. The same code
  9138. as the old _IO_flush_all but lock only if parameter is nonzero.
  9139. (_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
  9140. * libio/libioP.h: Add prototype for _IO_flush_all_lockp.
  9141. * sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
  9142. if libio is used [PR libc/2575].
  9143. 2001-11-28 Jakub Jelinek <jakub@redhat.com>
  9144. * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
  9145. __signbitl): Only define for ISO C99.
  9146. 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
  9147. * nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
  9148. herrnop to NETDB_INTERNAL if we run out of buffer space.
  9149. 2001-11-28 Ulrich Drepper <drepper@redhat.com>
  9150. * nss/nss_files/files-XXX.c (internal_getent): Correct input
  9151. overflow test for platforms with signed char.
  9152. Reported by Andrew Haley <aph@cambridge.redhat.com>.
  9153. 2001-11-28 Bruno Haible <bruno@clisp.org>
  9154. * locale/programs/simple-hash.c (lookup_2): Remove function.
  9155. (insert_entry_2): Call lookup instead of lookup_2.
  9156. 2001-03-04 Bruno Haible <bruno@clisp.org>
  9157. * intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.
  9158. 2001-10-31 Bruno Haible <bruno@clisp.org>
  9159. * intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.
  9160. 2001-03-21 Bruno Haible <bruno@clisp.org>
  9161. * intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
  9162. chokes on empty macro arguments.
  9163. * intl/plural.y: Add #pragma for alloca on AIX 3.
  9164. 2001-11-27 Ulrich Drepper <drepper@redhat.com>
  9165. * intl/dcigettext.c (guess_category_value): Only implement for
  9166. glibc. Otherwise rely on function _nl_locale_name which isn't
  9167. present in the glibc sources.
  9168. 2001-09-24 Bruno Haible <bruno@clisp.org>
  9169. * intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
  9170. transliteration when building on a glibc system but outside glibc.
  9171. 2001-09-22 Bruno Haible <bruno@clisp.org>
  9172. * intl/plural-eval.c: New file, extracted from dcigettext.c.
  9173. * intl/dcigettext.c (plural_eval): Remove function, moved to
  9174. intl/plural-eval.c.
  9175. (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
  9176. Include plural-eval.c.
  9177. 2001-09-22 Bruno Haible <bruno@clisp.org>
  9178. * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
  9179. don't start with a digit; nplurals must be positive.
  9180. 2001-09-02 Bruno Haible <bruno@clisp.org>
  9181. * intl/plural-exp.h: New file, extracted from gettextP.h.
  9182. * intl/plural-exp.c: New file, extracted from loadmsgcat.c.
  9183. * intl/gettextP.h (struct expression, struct parse_args,
  9184. __gettext_free_exp, __gettextparse): Move to plural-exp.h.
  9185. * intl/loadmsgcat.c: Include plural-exp.h.
  9186. (PLURAL_PARSE): Move macro to plural-exp.h.
  9187. (plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
  9188. plural-exp.c.
  9189. (_nl_load_domain): Move plural handling code to plural-exp.c. Call
  9190. EXTRACT_PLURAL_EXPRESSION.
  9191. (_nl_unload_domain): Update.
  9192. * intl/dcigettext.c: Include plural-exp.h.
  9193. * intl/plural.y: Include plural-exp.h, not gettextP.h.
  9194. (FREE_EXPRESSION): Move macro to plural-exp.h.
  9195. * intl/Makefile (routines): Add plural-exp.
  9196. (distribute): Add plural-exp.h.
  9197. 2001-07-28 Bruno Haible <bruno@clisp.org>
  9198. * intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
  9199. isdigit, tolower argument to 'unsigned char'.
  9200. * intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
  9201. 'unsigned char'.
  9202. * intl/localealias.c (read_alias_file): Cast isspace argument to
  9203. 'unsigned char'.
  9204. 2001-10-20 Bruno Haible <bruno@clisp.org>
  9205. Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
  9206. anyway.)
  9207. * intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
  9208. with the variable 'index' in plural_lookup.
  9209. * intl/l10nflist.c (strchr): Likewise.
  9210. * intl/localealias.c (strchr): Likewise.
  9211. Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
  9212. * intl/bindtextdom.c: Likewise.
  9213. * intl/dcigettext.c: Likewise.
  9214. * intl/dgettext.c: Likewise.
  9215. * intl/dngettext.c: Likewise.
  9216. * intl/explodename.c: Likewise.
  9217. * intl/finddomain.c: Likewise.
  9218. * intl/gettext.c: Likewise.
  9219. * intl/l10nflist.c: Likewise.
  9220. * intl/loadmsgcat.c: Likewise.
  9221. * intl/localealias.c: Likewise.
  9222. * intl/ngettext.c: Likewise.
  9223. * intl/textdomain.c: Likewise.
  9224. * intl/gettext.h: Assume <limits.h> exists.
  9225. 2001-11-27 Ulrich Drepper <drepper@redhat.com>
  9226. * stdio-common/Makefile (tests): Add scanf11.
  9227. * stdio-common/scanf11.c: New file.
  9228. 2001-11-26 Ulrich Drepper <drepper@redhat.com>
  9229. * version.h (RELEASE): Define as development.
  9230. (VERSION): Set to 2.2.90.
  9231. 2001-11-22 Thorsten Kukuk <kukuk@suse.de>
  9232. * nis/nss_compat/compat-grp.c: Print group id as unsigned long.
  9233. * nis/nss_nis/nis-grp.c: Likewise.
  9234. * nis/nss_nisplus/nisplus-grp.c: Likewise.
  9235. * nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
  9236. * nis/nss_nis/nis-pwd.c: Likewise.
  9237. * nis/nss_nisplus/nisplus-pwd.c: Likewise.
  9238. * nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
  9239. * nis/nss_nisplus/nisplus-parser.c: Likewise.
  9240. * nis/nss_nisplus/nisplus-publickey.c: Likewise.
  9241. * nscd/grpcache.c: Use strtoul instead of atol.
  9242. * nscd/pwdcache.c: Likewise.
  9243. * nss/getent.c: Likewise.
  9244. 2001-11-27 Paul Eggert <eggert@twinsun.com>
  9245. * sysdeps/posix/tempname.c (__gen_tempname): Try at least
  9246. ATTEMPTS_MIN or TMP_MAX times, whichever is greater.
  9247. 2001-11-19 Bruno Haible <bruno@clisp.org>
  9248. * locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
  9249. 90%.
  9250. (compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
  9251. improves the quality of the hash function, especially for short
  9252. strings.
  9253. 2001-11-26 Ulrich Drepper <drepper@redhat.com>
  9254. * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
  9255. are found call conv_error and not input_error [PR libc/2669].
  9256. * math/bits/mathcalls.h: Mark ceil and floor as const.
  9257. Reported by David Mosberger.
  9258. 2001-11-21 Jim Meyering <meyering@lucent.com>
  9259. * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
  9260. Define to be __-prefixed.
  9261. Remove unnecessary duplication in `#ifdef _LIBC' blocks.
  9262. 2001-11-26 Andreas Jaeger <aj@suse.de>
  9263. * sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
  9264. avoid warning.
  9265. 2001-11-26 Stephen L Moshier <moshier@mediaone.net>
  9266. * sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
  9267. initialization.
  9268. * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
  9269. unused variables. Fix threshold for returning 1.0.
  9270. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
  9271. argument.
  9272. * sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
  9273. remove unused variables.
  9274. * sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.
  9275. * sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
  9276. include local math header files.
  9277. 2001-11-22 Andreas Jaeger <aj@suse.de>
  9278. * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
  9279. avoid warning.
  9280. 2001-11-21 Andreas Jaeger <aj@suse.de>
  9281. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
  9282. * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
  9283. sys/debugreg.h
  9284. 2001-11-15 Andreas Jaeger <aj@suse.de>
  9285. * include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
  9286. compilers that support it.
  9287. * posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
  9288. * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
  9289. * stdlib/stdlib.h: Likewise.
  9290. 2001-11-17 Ulrich Drepper <drepper@redhat.com>
  9291. * posix/regex.c (byte_re_match_2_internal): For gcc replace switch
  9292. statement with gotos.
  9293. Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.
  9294. 2001-11-16 Stephen L Moshier <moshier@mediaone.net>
  9295. * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfcl): Fix K&R header.
  9296. 2001-11-15 Ulrich Drepper <drepper@redhat.com>
  9297. * sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.
  9298. 2001-10-02 Jakub Jelinek <jakub@redhat.com>
  9299. H.J. Lu <hjl@gnu.org>
  9300. * Versions.def (libc): Add GCC_3.0.
  9301. * configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
  9302. if gcc supports this flag.
  9303. (EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
  9304. (gcc3): Allow glibc to be compiled with gcc 3.x.
  9305. * config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
  9306. * config.make.in (static-libgcc, unwind-find-fde): Add.
  9307. * Makerules (build-shlib-helper, build-module-helper): Use it.
  9308. * scripts/versions.awk: Make sure GLIBC_ versions come first.
  9309. * elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
  9310. necessary.
  9311. (_fini): Call __deregister_frame_info_bases if
  9312. __register_frame_info_bases was used to register.
  9313. * elf/Versions (__register_frame_info, __deregister_frame_info): Add
  9314. for GLIBC_2.0.
  9315. (__register_frame_info_bases, __register_frame_info_table_bases,
  9316. __deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.
  9317. * elf/Makefile (routines): Add unwind-dw2-fde.
  9318. (shared-only-routines): Add unwind-dw2-fde.
  9319. * sysdeps/alpha/gccframe.h: New file.
  9320. * sysdeps/arm/gccframe.h: New file.
  9321. * sysdeps/generic/framestate.c: New file.
  9322. * sysdeps/generic/dwarf2.h: New file.
  9323. * sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
  9324. * sysdeps/generic/unwind-dw2-fde.c: New file.
  9325. * sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
  9326. * sysdeps/generic/unwind-dw2-fde.h: New file.
  9327. * sysdeps/generic/unwind-dw2.c: New file.
  9328. * sysdeps/generic/unwind-pe.h: New file.
  9329. * sysdeps/generic/unwind.h: New file.
  9330. * sysdeps/hppa/gccframe.h: New file.
  9331. * sysdeps/i386/gccframe.h: New file.
  9332. * sysdeps/m68k/gccframe.h: New file.
  9333. * sysdeps/mips/gccframe.h: New file.
  9334. * sysdeps/powerpc/gccframe.h: New file.
  9335. * sysdeps/s390/gccframe.h: New file.
  9336. * sysdeps/sh/gccframe.h: New file.
  9337. * sysdeps/sparc/gccframe.h: New file.
  9338. * sysdeps/vax/gccframe.h: New file.
  9339. * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
  9340. Set on all architectures except ia64.
  9341. * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
  9342. for i386.
  9343. * sysdeps/mach/hurd/i386/Versions (__register_frame_info,
  9344. __deregister_frame_info): Move to elf/Versions.
  9345. * sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
  9346. * sysdeps/unix/sysv/linux/arm/Versions: Likewise.
  9347. * sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
  9348. * sysdeps/unix/sysv/linux/i386/Versions: Likewise.
  9349. * sysdeps/unix/sysv/linux/mips/Versions: Likewise.
  9350. * sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
  9351. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
  9352. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
  9353. * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
  9354. * sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
  9355. * sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
  9356. * sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
  9357. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  9358. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  9359. * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
  9360. * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
  9361. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  9362. * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
  9363. 2001-11-15 Jeff Law <law@redhat.com>
  9364. * posix/regex.c (uintptr_t): Do not provide a definition if the
  9365. system provided one.
  9366. 2001-11-13 Roland McGrath <roland@frob.com>
  9367. * stdio-common/tmpfile.c: Moved to ...
  9368. * sysdeps/generic/tmpfile.c: ... here.
  9369. * sysdeps/mach/hurd/tmpfile.c: New file.
  9370. * hurd/fopenport.c (__fopenport): Renamed from fopenport.
  9371. [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
  9372. (fopenport): Define as weak alias.
  9373. * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
  9374. * libio/libioP.h: ... to here.
  9375. 2001-11-12 Ulrich Drepper <drepper@redhat.com>
  9376. * elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
  9377. program header twice. Construct list with the needed information.
  9378. 2001-11-10 Ulrich Drepper <drepper@redhat.com>
  9379. * po/ca.po: Update from translation team.
  9380. * elf/dl-load.c (_dl_map_object_from_fd): Remove use of
  9381. _dl_pf_to_prot. Use arithmetic operation using PF_TO_PROT macro.
  9382. * sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
  9383. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
  9384. 2001-11-10 Andreas Jaeger <aj@suse.de>
  9385. * sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
  9386. * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
  9387. Contributed by Stephen L Moshier <moshier@mediaone.net>.
  9388. 2001-11-09 Ulrich Drepper <drepper@redhat.com>
  9389. * elf/dl-minimal.c (realloc): Handle NULL for first parameter
  9390. correctly.
  9391. * elf/dl-load.c (is_dst): New function.
  9392. (_dl_dst_count): Use is_dst to check for DST variable.
  9393. (_dl_dst_substitute): Likewise.
  9394. 2001-11-09 Roland McGrath <roland@frob.com>
  9395. Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
  9396. * sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
  9397. * sysdeps/mach/hurd/powerpc/init-first.c: New file.
  9398. * sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
  9399. * sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
  9400. * sysdeps/mach/hurd/powerpc/register-dump.h: New file.
  9401. * sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
  9402. * sysdeps/mach/hurd/powerpc/static-start.S: New file.
  9403. * sysdeps/mach/hurd/powerpc/trampoline.c: New file.
  9404. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
  9405. * sysdeps/mach/hurd/powerpc/Dist: New file.
  9406. * hurd/privports.c (__get_privileged_ports):
  9407. Only contact the proc server if necessary for this call.
  9408. Suggested by Neal H Walfield <neal@cs.uml.edu>.
  9409. Check error return for mach_port_mod_refs.
  9410. 2001-11-09 Andreas Schwab <schwab@suse.de>
  9411. * sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
  9412. 2001-11-09 Ulrich Drepper <drepper@redhat.com>
  9413. * elf/dl-load.c (lose): Remove some unnecessary code. The new
  9414. object is always the last in the list.
  9415. (_dl_map_object_from_fd): Delete code to remove from object list
  9416. when DF_1_NOOPEN is seen. This is done in lose.
  9417. 2001-11-08 Ulrich Drepper <drepper@redhat.com>
  9418. * elf/dl-object.c (_dl_new_object): Various small optimizations.
  9419. 2001-11-07 Ulrich Drepper <drepper@redhat.com>
  9420. * sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
  9421. HWCAP_CHECK macro code.
  9422. * elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
  9423. Now returns MAP_FAILED on error.
  9424. * elf/rtld.c: Adjust caller.
  9425. * sysdeps/generic/dl-cache.c: Likewise.
  9426. * sysdeps/generic/ldsodefs.h: Adjust description.
  9427. * elf/dl-version.c (match_symbol): Optimize error handling for size.
  9428. (_dl_check_map_versions): Likewise.
  9429. 2001-11-06 Ulrich Drepper <drepper@redhat.com>
  9430. * elf/dl-load.c (_dl_map_object_from_fd): Don't call
  9431. _dl_signal_error directly, always use lose. Set fd to -1 after
  9432. file is closed.
  9433. (lose): Don't call close if fd == -1.
  9434. 2001-11-07 Kaoru Fukui <k_fukui@highway.ne.jp>
  9435. * manual/charset.texi: Fix typo @w[ISO 6937] to @w{ISO 6937}.
  9436. Also fix typo @code {mbsinit} to @code{mbsinit}.
  9437. 2001-11-06 Ulrich Drepper <drepper@redhat.com>
  9438. * elf/dl-profile.c: Replace state variable with simple flag named
  9439. running. Remove commented-out code.
  9440. * elf/dl-load.c (decompose_rpath): Optimize error handling for size.
  9441. (_dl_init_paths): Likewise.
  9442. (_dl_map_object_from_fd): Likewise.
  9443. * elf/dl-reloc.c (_dl_relocate_object): Likewise.
  9444. 2001-11-06 Roland McGrath <roland@frob.com>
  9445. * sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
  9446. instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.
  9447. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
  9448. sysdeps/powerpc/elf/sysdep.h.
  9449. Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.
  9450. 2001-11-05 Ulrich Drepper <drepper@redhat.com>
  9451. * elf/rtld.c (process_dl_debug): Rewritten. Optimized for size not
  9452. speed.
  9453. (process_envvars): Some more optimizations.
  9454. * sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.
  9455. * elf/elf.h: Add dynamic tag definitions for prelinking.
  9456. * elf/rtld.c (process_envvars): Avoid using array of string pointers.
  9457. Rewrite code to remove environment varables for SUID binaries.
  9458. Small optimization in LD_PROFILE handling.
  9459. * sysdeps/generic/unsecvars.h: Adjust format for process_envvars
  9460. changes.
  9461. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
  9462. * sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.
  9463. * elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
  9464. strings. Change type of second parameter.
  9465. * sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
  9466. for last change.
  9467. * io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
  9468. 2001-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
  9469. * manual/string.texi: Fix typos.
  9470. * manual/examples/argp-ex2.c: Likewise.
  9471. 2001-11-05 Roland McGrath <roland@frob.com>
  9472. * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
  9473. the more-specific unix/sysv/linux/powerpc file and breaks everything.
  9474. * sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
  9475. ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
  9476. PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
  9477. here, put under [__ELF__].
  9478. 2001-11-05 Ulrich Drepper <drepper@redhat.com>
  9479. * manual/charset.texi: Extensive editing work.
  9480. * manual/nss.texi: Likewise.
  9481. Changes by Dennis Grace <dgrace@us.ibm.com>.
  9482. 2001-11-04 Roland McGrath <roland@frob.com>
  9483. * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
  9484. parameter to dir_mkfile.
  9485. 2001-11-02 Jakub Jelinek <jakub@redhat.com>
  9486. * string/bits/string2.h (__strndup): If n is smaller than len, set
  9487. len to n + 1.
  9488. * string/tester.c (test_strndup): New function.
  9489. (main): Call it.
  9490. 2001-11-01 Ulrich Drepper <drepper@redhat.com>
  9491. * sunrpc/rpc_main.c: Optimize variable definitions a bit.
  9492. * sunrpc/Makefile (rpcgen-cmd): Use ../scripts/cpp in rpcgen calls.
  9493. * scripts/cpp: New file.
  9494. * elf/dl-load.c (_dl_map_object): Correct test of DF_1_NODEFLIB
  9495. for rtld_search_dirs content. Minor optimizations.
  9496. 2001-10-31 Ulrich Drepper <drepper@redhat.com>
  9497. * elf/dl-load.c (_dl_map_object): Make code a bit more compact by
  9498. avoiding unnecessary duplication.
  9499. 2001-10-31 Jakub Jelinek <jakub@redhat.com>
  9500. * elf/dl-load.c (_dl_map_object): If library was found using
  9501. LD_LIBRARY_PATH, don't try RUNPATH list.
  9502. 2001-10-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9503. * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
  9504. Correct second argument of register_dump call.
  9505. * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
  9506. Likewise.
  9507. 2001-10-31 Ulrich Drepper <drepper@redhat.com>
  9508. * iconvdata/Makefile: Add support for IBM1132, IBM1133, and IBM1162
  9509. modules.
  9510. * iconvdata/TESTS: Likewise.
  9511. * iconvdata/gconv-modules: Likewise.
  9512. * iconvdata/ibm1132.c: New file.
  9513. * iconvdata/ibm1132.h: New file.
  9514. * iconvdata/ibm1133.c: New file.
  9515. * iconvdata/ibm1133.h: New file.
  9516. * iconvdata/ibm1162.c: New file.
  9517. * iconvdata/ibm1162.h: New file.
  9518. * iconvdata/testdata/IBM1132: New file.
  9519. * iconvdata/testdata/IBM1132..UTF8: New file.
  9520. * iconvdata/testdata/IBM1133: New file.
  9521. * iconvdata/testdata/IBM1133..UTF8: New file.
  9522. * iconvdata/testdata/IBM1162: New file.
  9523. * iconvdata/testdata/IBM1162..UTF8: New file.
  9524. Patches by Masahide Washizawa <WASHI@jp.ibm.com>.
  9525. * string/string.h: Fix typo in comment.
  9526. * wcsmbs/wchar.h: Likewise.
  9527. 2001-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
  9528. * manual/getopt.texi (getopt_long, getopt_long_only): Include
  9529. const in type of longopts parameter.
  9530. 2001-10-29 Andreas Jaeger <aj@suse.de>
  9531. * sysdeps/ieee754/dbl-64/mpa.h: Add prototypes for internal functions.
  9532. 2001-10-29 Kevin Ryde <user42@zip.com.au>
  9533. * manual/stdio.texi (Integer Conversions): Corrections to sample printf
  9534. output, clarify `#' behaviour on 0.
  9535. (Floating-Point Conversions): Clarify that %g only uses %e when
  9536. the exponent would be greater than 1.
  9537. 2001-10-28 Roland McGrath <roland@frob.com>
  9538. Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
  9539. * sysdeps/mach/powerpc/machine-sp.h: New file.
  9540. * sysdeps/mach/powerpc/sysdep.h: New file.
  9541. * sysdeps/mach/powerpc/thread_state.h: New file.
  9542. * sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
  9543. * sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
  9544. expect to need the same thing on every platform.
  9545. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
  9546. * sysdeps/generic/sys/ucontext.h: ... to replace this one.
  9547. * sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
  9548. ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
  9549. DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
  9550. Move all these assembly-related definitions to ...
  9551. * sysdeps/powerpc/elf/sysdep.h: ... this new file.
  9552. * sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
  9553. by Peter Bruin <pjbruin@dds.nl>.
  9554. * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
  9555. packing results for a `poll' call.
  9556. 2001-10-26 Ulrich Drepper <drepper@redhat.com>
  9557. * posix/fnmatch_loop.c: Recognize - at end of bracket expression
  9558. correctly.
  9559. * posix/tst-fnmatch.input: Add tests for - at beginning and end of
  9560. bracket expression.
  9561. * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
  9562. nrules value.
  9563. * string/tst-strxfrm.c (test): Also test __strxfrm_l.
  9564. 2001-10-24 H.J. Lu <hjl@gnu.org>
  9565. * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *.
  9566. Use __BEGIN_DECLS/__END_DECLS around prototypes.
  9567. * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise.
  9568. 2001-10-21 Jim Meyering <meyering@lucent.com>
  9569. * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
  9570. this code would end up calling gettext even in packages built
  9571. with --disable-nls.
  9572. * posix/getopt.c (_): Likewise.
  9573. * posix/regex.c (_): Likewise.
  9574. 2001-10-26 Ulrich Drepper <drepper@redhat.com>
  9575. * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse
  9576. lookup not ip6.int.
  9577. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
  9578. Reported by Martin.v.Loewis@t-online.de [PR libc/2598].
  9579. 2001-10-19 Jakub Jelinek <jakub@redhat.com>
  9580. * misc/sys/cdefs.h (__attribute_used__): Define.
  9581. * elf/rtld.c (_dl_start): Add __attribute_used__.
  9582. * elf/dl-runtime.c (fixup, profile_fixup): Likewise.
  9583. 2001-10-25 Andreas Schwab <schwab@suse.de>
  9584. * stdlib/a64l.c: Expect least significant digit first.
  9585. * stdlib/l64a.c: Produce least significant digit first.
  9586. * stdlib/Makefile (tests): Add test-a64l.
  9587. * stdlib/test-a64l.c: New file.
  9588. Reported by Masaki Hasegawa <masaki-h@pp.iij4u.or.jp>.
  9589. 2001-10-21 Ulrich Drepper <drepper@redhat.com>
  9590. * po/sk.po: Update from translation team.
  9591. 2001-10-18 Ulrich Drepper <drepper@redhat.com>
  9592. * sysdeps/i386/elf/start.S (_fp_hw): Define object type.
  9593. 2001-10-18 Andreas Schwab <schwab@suse.de>
  9594. * math/libm-test.inc (print_ulps): Print ulp values rounded to
  9595. next whole number.
  9596. (print_function_ulps): Likewise.
  9597. (print_complex_function_ulps): Likewise.
  9598. (print_max_error): Likewise.
  9599. (print_complex_max_error): Likewise. Handle ignore_max_ulp.
  9600. 2001-10-16 Andreas Schwab <schwab@suse.de>
  9601. * sysdeps/m68k/fpu/libm-test-ulps: Updated for fixed cbrtl
  9602. implementation.
  9603. * sysdeps/m68k/setjmp.c: Also define setjmp and _setjmp if
  9604. BSD_SETJMP or BSD__SETJMP is defined, resp.
  9605. * sysdeps/m68k/bsd-setjmp.c: Inline setjmp code instead of making
  9606. a tail call to __sigsetjmp that would require extending the
  9607. caller's frame.
  9608. * sysdeps/m68k/bsd-_setjmp.c: Likewise.
  9609. * sysdeps/m68k/bsd-setjmp.S: Deleted.
  9610. * sysdeps/m68k/bsd-_setjmp.S: Deleted.
  9611. Reported by Jes Sorensen <jes@trained-monkey.org>.
  9612. 2001-10-16 Andreas Jaeger <aj@suse.de>
  9613. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Fix
  9614. parentheses. Reported by David Byron <dbyron@porto.coactive.com>,
  9615. close PR libc/2589.
  9616. 2001-10-15 Ulrich Drepper <drepper@redhat.com>
  9617. * po/ca.po: New file. Contributed by the translation team.
  9618. 2001-10-15 Ralf Bächle <ralf@gnu.org>
  9619. * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Make sysmips() prototype
  9620. a varargs prototype. Remove dependency from kernel header files.
  9621. * sysdeps/unix/sysv/linux/mips/bits/termios.h: General cleanup, use
  9622. __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
  9623. 2001-10-14 Ulrich Drepper <drepper@redhat.com>
  9624. * locale/programs/ld-collate.c (handle_ellipsis): Use %lX not %lx
  9625. to generate hexadecimal identifier.
  9626. Patch by Jungshik Shin <jungshik.shin@yale.edu>.
  9627. 2001-10-09 Stephen L Moshier <moshier@mediaone.net>
  9628. * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Fix algorithm.
  9629. 2001-10-14 Ulrich Drepper <drepper@redhat.com>
  9630. * sysdeps/ieee754/ldbl-128/e_powl.c: New file.
  9631. * sysdeps/ieee754/ldbl-128/s_cbrtl.c: New file.
  9632. Contributed by Stephen L Moshier <moshier@mediaone.net>.
  9633. * sysdeps/ieee754/ldbl-128/e_j0l.c: Constify float variables.
  9634. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  9635. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise
  9636. * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise
  9637. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise
  9638. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise
  9639. * timezone/africa: Update from tzdata2001d.
  9640. * timezone/asia: Likewise.
  9641. * timezone/australasia: Likewise.
  9642. * timezone/backward: Likewise.
  9643. * timezone/europe: Likewise.
  9644. * timezone/leapseconds: Likewise.
  9645. * timezone/northamerica: Likewise.
  9646. * timezone/southamerica: Likewise.
  9647. * timezone/zone.tab: Likewise.
  9648. 2001-10-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9649. * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
  9650. * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.
  9651. 2001-10-12 Ulrich Drepper <drepper@redhat.com>
  9652. * elf/elf.h (PT_TLS): New definition.
  9653. 2001-10-10 Jeff Bailey <jbailey@nisa.net>
  9654. * sysdeps/mach/hurd/Makefile: Add $(CFLAGS) for generation of
  9655. bits/errno.h
  9656. 2001-10-07 Roland McGrath <roland@frob.com>
  9657. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Never return ENOSYS.
  9658. 2001-10-10 Ulrich Drepper <drepper@redhat.com>
  9659. * elf/elf.h: Add more ELFOSABI_* constants.
  9660. 2001-10-04 Ben Collins <bcollins@debian.org>
  9661. * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in
  9662. decleration of __need_wchar_t.
  9663. 2001-10-03 Jakub Jelinek <jakub@redhat.com>
  9664. * string/bits/string2.h (__strsep_g): Add prototype.
  9665. (__strsep): Use it.
  9666. * string/Versions (__strsep): Remove.
  9667. * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep.
  9668. 2001-10-07 Ulrich Drepper <drepper@redhat.com>
  9669. * manua/llio.texi: Clarify file references added by mmap.
  9670. Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
  9671. 2001-09-29 Jes Sorensen <jes@trained-monkey.org>
  9672. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
  9673. Add sc_loadrs and sc_rbs_bas to match current kernel.
  9674. 2001-09-27 Jakub Jelinek <jakub@redhat.com>
  9675. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
  9676. * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Fix erfc(-inf).
  9677. 2001-09-27 Jakub Jelinek <jakub@redhat.com>
  9678. * elf/dl-open.c (dl_open_worker): If l_opencount of freshly loaded
  9679. object has been bumped because of relocation dependency, avoid
  9680. duplicates in l_scope.
  9681. (show_scope): Fix typos.
  9682. * elf/Makefile: Add rules to build and run reldep6.
  9683. * elf/reldep6.c: New file.
  9684. * elf/reldep6mod0.c: New file.
  9685. * elf/reldep6mod1.c: New file.
  9686. * elf/reldep6mod2.c: New file.
  9687. * elf/reldep6mod3.c: New file.
  9688. * elf/reldep6mod4.c: New file.
  9689. 2001-09-26 Jakub Jelinek <jakub@redhat.com>
  9690. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call
  9691. sparc64_fixup_plt.
  9692. (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
  9693. near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety
  9694. for non-lazy binding. Fix .plt[32768+] handling.
  9695. (elf_machine_plt_value): Don't add addend.
  9696. (elf_machine_rela): Call sparc64_fixup_plt instead of
  9697. elf_machine_fixup_plt.
  9698. (elf_machine_runtime_setup, TRAMPOLINE_TEMPLATE): Optimize for
  9699. dynamic linker at 0xfffff800XXXXXXXX.
  9700. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
  9701. 2001-09-28 Ulrich Drepper <drepper@redhat.com>
  9702. * elf/elf.h: Define SHF_GROUP and SHF_TLS.
  9703. 2001-09-25 Jakub Jelinek <jakub@redhat.com>
  9704. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsghdr): Don't
  9705. declare __cmsg_data field if its size would be bigger than 0.
  9706. (CMSG_DATA): Adjust accordingly.
  9707. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
  9708. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: Likewise.
  9709. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.
  9710. * sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
  9711. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
  9712. * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
  9713. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  9714. 2001-09-25 Ulrich Drepper <drepper@redhat.com>
  9715. * iconvdata/TESTS: Add entries for IBM1160 and IBM1161.
  9716. * iconvdata/testdata/IBM1160: New file.
  9717. * iconvdata/testdata/IBM1160..UTF8: New file.
  9718. * iconvdata/testdata/IBM1161: New file.
  9719. * iconvdata/testdata/IBM1161..UTF8: New file.
  9720. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
  9721. 2001-09-24 Ulrich Drepper <drepper@redhat.com>
  9722. * sysdeps/unix/bsd/ulimit.c (ulimit): Handle overflow in
  9723. UL_SETFSIZE computations better.
  9724. * rt/Makefile: Remove use of filter for librt again.
  9725. * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle overflow in
  9726. UL_SETFSIZE computations better.
  9727. * string/Versions: Export __strsep for GLIBC_2.2.5.
  9728. * string/bits/string2.h: Define all __STRING_INLINE functions if
  9729. _FORCE_INLINES is defined.
  9730. Use int instead of char of parameter types.
  9731. (__strsep): Don't use __strsep_g. Don't define it.
  9732. (__strsep_1c, __strsep_2c, __strsep_3c): Optimize.
  9733. * sysdeps/i386/i486/string.h (__strcpy_a_small): Renamed from
  9734. __strcpy_small.
  9735. (__stpcpy_a_small): Renamed from __stpcpy_small.
  9736. (__strcspn_c1): Don't define if _FORCE_INLINES.
  9737. (__strspn_c1): Likewise.
  9738. 2001-09-22 Ben Collins <bcollins@debian.org>
  9739. * sysdeps/sparc/bits/sigaction.h: Define SA_RESTART and friends when
  9740. _UNIX98_SOURCE is defined too. Matches generic/bits/sigaction.h.
  9741. * sysdeps/ia64/bits/sigaction.h: Likewise.
  9742. * sysdeps/s390/s390-64/bits/sigaction.h: Likewise.
  9743. 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
  9744. * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_headers): Add sys/io.h.
  9745. 2001-09-24 Jakub Jelinek <jakub@redhat.com>
  9746. * elf/dl-open.c (dl_open_worker): Update l_scope_max.
  9747. 2001-09-24 Ulrich Drepper <drepper@redhat.com>
  9748. * wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
  9749. 2001-09-20 H.J. Lu <hjl@gnu.org>
  9750. * include/dlfcn.h (__RTLD_SPROF): New definiton.
  9751. * elf/dl-open.c (dl_open_worker): Return immediately after loading
  9752. for __RTLD_SPROF.
  9753. * elf/sprof.c (main): Default to the filename if soname doesn't exist.
  9754. (load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
  9755. 2001-09-20 H.J. Lu <hjl@gnu.org>
  9756. * elf/dl-profile.c (_dl_mcount): Use old *narcsp value for newarc,
  9757. don't add 1.
  9758. 2001-09-22 Ulrich Drepper <drepper@redhat.com>
  9759. * nss/getent.c: Accept -s parameter to overwrite rules in
  9760. nsswitch.conf. Patch by Nalin Dahyabhai <nalin@redhat.com>.
  9761. * nss/nss_files/files-network.c (LINE_PARSER): Pad addr string
  9762. with as many ".0" as necessary to form a complete address
  9763. inet_network understands.
  9764. * nss/getent.c: Various cleanups. Use simpler and fewer function
  9765. calls.
  9766. 2001-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9767. * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
  9768. _JMPBUF_UNWINDS.
  9769. * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.
  9770. 2001-09-22 Ulrich Drepper <drepper@redhat.com>
  9771. * iconvdata/Makefile: Add rules to build and distribute IBM1160 and
  9772. IBM1161.
  9773. * iconvdata/gconv-modules: Add entries for IBM1160 and IBM1161.
  9774. * iconvdata/ibm1160.c: New file.
  9775. * iconvdata/ibm1160.h: New file.
  9776. * iconvdata/ibm1161.c: New file.
  9777. * iconvdata/ibm1161.h: New file.
  9778. Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
  9779. 2001-09-19 Jakub Jelinek <jakub@redhat.com>
  9780. * sysdeps/alpha/dl-machine.h (elf_machine_load_address): Compute the
  9781. difference between base address and first PT_LOAD's virtual address,
  9782. not the base address.
  9783. 2001-09-11 Tom Rix <trix@redhat.com>
  9784. * sysdeps/unix/sysv/aix/init-first.c (init): Use USE_NONONPTION_FLAG
  9785. ifdef for __getopt_clean_environment.
  9786. * sysdeps/unix/sysv/aix/libc-start.c: Add real implementation.
  9787. 2001-09-22 Andreas Jaeger <aj@suse.de>
  9788. * elf/reldep4.c (main): Add proper prototype to fix warning.
  9789. * elf/reldep5.c (main): Remove unused variable.
  9790. * math/math_private.h: Add prototypes.
  9791. 2001-09-21 Andreas Jaeger <aj@suse.de>
  9792. * sysdeps/unix/sysv/linux/x86_64/Dist: New file.
  9793. * sysdeps/x86_64/Dist: New file.
  9794. * sysdeps/x86_64/soft-fp/Dist: New file.
  9795. * sysdeps/gnu/Dist: Remove eval.c.
  9796. 2001-09-20 Ulrich Drepper <drepper@redhat.com>
  9797. * malloc/memusage.c (realloc): Don't count already allocated
  9798. memory in the sums.
  9799. (me): Always use dlsym() to find the real implementations.
  9800. * malloc/memusage.sh: Make -n option actually do something.
  9801. 2001-09-20 Andreas Jaeger <aj@suse.de>
  9802. * elf/elf.h (R_390_NUM): Correct value.
  9803. * Versions.def: Add missing versions 2.2.3 for libthread_db and
  9804. libpthread.
  9805. * sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
  9806. for x86-64, install x86-64 into */lib64.
  9807. * shlib-versions: Add x86-64.
  9808. * elf/elf.h: Add x86-64 relocations.
  9809. 2001-09-19 Ulrich Drepper <drepper@redhat.com>
  9810. * po/fr.po: Update from translation team.
  9811. 2001-09-19 Andreas Jaeger <aj@suse.de>
  9812. * sysdeps/unix/sysv/linux/x86_64/Makefile: New file.
  9813. * sysdeps/unix/sysv/linux/x86_64/Versions: New file.
  9814. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: New file.
  9815. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: New file.
  9816. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: New file.
  9817. * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: New file.
  9818. * sysdeps/unix/sysv/linux/x86_64/bits/time.h: New file.
  9819. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: New file.
  9820. * sysdeps/unix/sysv/linux/x86_64/brk.c: New file.
  9821. * sysdeps/unix/sysv/linux/x86_64/clone.S: New file.
  9822. * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: New file.
  9823. * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: New file.
  9824. * sysdeps/unix/sysv/linux/x86_64/fxstat.c: New file.
  9825. * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: New file.
  9826. * sysdeps/unix/sysv/linux/x86_64/getdents.c: New file.
  9827. * sysdeps/unix/sysv/linux/x86_64/getdents64.c: New file.
  9828. * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: New file.
  9829. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
  9830. * sysdeps/unix/sysv/linux/x86_64/glob64.c: New file.
  9831. * sysdeps/unix/sysv/linux/x86_64/lxstat.c: New file.
  9832. * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: New file.
  9833. * sysdeps/unix/sysv/linux/x86_64/mmap64.c: New file.
  9834. * sysdeps/unix/sysv/linux/x86_64/pread64.c: New file.
  9835. * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: New file.
  9836. * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: New file.
  9837. * sysdeps/unix/sysv/linux/x86_64/readdir.c: New file.
  9838. * sysdeps/unix/sysv/linux/x86_64/readdir64.c: New file.
  9839. * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: New file.
  9840. * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: New file.
  9841. * sysdeps/unix/sysv/linux/x86_64/recv.c: New file.
  9842. * sysdeps/unix/sysv/linux/x86_64/register-dump.h: New file.
  9843. * sysdeps/unix/sysv/linux/x86_64/send.c: New file.
  9844. * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: New file.
  9845. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: New file.
  9846. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: New file.
  9847. * sysdeps/unix/sysv/linux/x86_64/sigpending.c: New file.
  9848. * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: New file.
  9849. * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: New file.
  9850. * sysdeps/unix/sysv/linux/x86_64/statfs64.c: New file.
  9851. * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: New file.
  9852. * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: New file.
  9853. * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: New file.
  9854. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: New file.
  9855. * sysdeps/unix/sysv/linux/x86_64/sys/user.h: New file.
  9856. * sysdeps/unix/sysv/linux/x86_64/syscall.S: New file.
  9857. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: New file.
  9858. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: New file.
  9859. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: New file.
  9860. * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
  9861. * sysdeps/unix/sysv/linux/x86_64/truncate64.c: New file.
  9862. * sysdeps/unix/sysv/linux/x86_64/umount.c: New file.
  9863. * sysdeps/unix/sysv/linux/x86_64/vfork.S: New file.
  9864. * sysdeps/unix/sysv/linux/x86_64/xstat.c: New file.
  9865. * sysdeps/unix/sysv/linux/x86_64/xstat64.c: New file.
  9866. * sysdeps/unix/x86_64/sysdep.S: New file.
  9867. * sysdeps/unix/x86_64/sysdep.h: New file.
  9868. * sysdeps/x86_64/Implies: New file.
  9869. * sysdeps/x86_64/Makefile: New file.
  9870. * sysdeps/x86_64/Versions: New file.
  9871. * sysdeps/x86_64/__longjmp.S: New file.
  9872. * sysdeps/x86_64/abort-instr.h: New file.
  9873. * sysdeps/x86_64/atomicity.h: New file.
  9874. * sysdeps/x86_64/bits/endian.h: New file.
  9875. * sysdeps/x86_64/bits/setjmp.h: New file.
  9876. * sysdeps/x86_64/bits/string.h: New file.
  9877. * sysdeps/x86_64/bp-asm.h: New file.
  9878. * sysdeps/x86_64/bsd-_setjmp.S: New file.
  9879. * sysdeps/x86_64/bsd-setjmp.S: New file.
  9880. * sysdeps/x86_64/dl-machine.h: New file.
  9881. * sysdeps/x86_64/elf/initfini.c: New file.
  9882. * sysdeps/x86_64/elf/start.S: New file.
  9883. * sysdeps/x86_64/ffs.c: New file.
  9884. * sysdeps/x86_64/ffsll.c: New file.
  9885. * sysdeps/x86_64/fpu/bits/fenv.h: New file.
  9886. * sysdeps/x86_64/fpu/bits/mathdef.h: New file.
  9887. * sysdeps/x86_64/fpu/e_acosl.c: New file.
  9888. * sysdeps/x86_64/fpu/e_atan2l.c: New file.
  9889. * sysdeps/x86_64/fpu/e_exp2l.S: New file.
  9890. * sysdeps/x86_64/fpu/e_expl.c: New file.
  9891. * sysdeps/x86_64/fpu/e_fmodl.S: New file.
  9892. * sysdeps/x86_64/fpu/e_log10l.S: New file.
  9893. * sysdeps/x86_64/fpu/e_log2l.S: New file.
  9894. * sysdeps/x86_64/fpu/e_logl.S: New file.
  9895. * sysdeps/x86_64/fpu/e_powl.S: New file.
  9896. * sysdeps/x86_64/fpu/e_rem_pio2l.c: New file.
  9897. * sysdeps/x86_64/fpu/e_scalbl.S: New file.
  9898. * sysdeps/x86_64/fpu/e_sqrtl.c: New file.
  9899. * sysdeps/x86_64/fpu/fclrexcpt.c: New file.
  9900. * sysdeps/x86_64/fpu/fedisblxcpt.c: New file.
  9901. * sysdeps/x86_64/fpu/feenablxcpt.c: New file.
  9902. * sysdeps/x86_64/fpu/fegetenv.c: New file.
  9903. * sysdeps/x86_64/fpu/fegetexcept.c: New file.
  9904. * sysdeps/x86_64/fpu/fegetround.c: New file.
  9905. * sysdeps/x86_64/fpu/feholdexcpt.c: New file.
  9906. * sysdeps/x86_64/fpu/fesetenv.c: New file.
  9907. * sysdeps/x86_64/fpu/fesetround.c: New file.
  9908. * sysdeps/x86_64/fpu/fgetexcptflg.c: New file.
  9909. * sysdeps/x86_64/fpu/fraiseexcpt.c: New file.
  9910. * sysdeps/x86_64/fpu/fsetexcptflg.c: New file.
  9911. * sysdeps/x86_64/fpu/ftestexcept.c: New file.
  9912. * sysdeps/x86_64/fpu/libm-test-ulps: New file.
  9913. * sysdeps/x86_64/fpu/math_ldbl.h: New file.
  9914. * sysdeps/x86_64/fpu/printf_fphex.c: New file.
  9915. * sysdeps/x86_64/fpu/s_atanl.c: New file.
  9916. * sysdeps/x86_64/fpu/s_cosl.S: New file.
  9917. * sysdeps/x86_64/fpu/s_expm1l.S: New file.
  9918. * sysdeps/x86_64/fpu/s_fpclassifyl.c: New file.
  9919. * sysdeps/x86_64/fpu/s_isinfl.c: New file.
  9920. * sysdeps/x86_64/fpu/s_isnanl.c: New file.
  9921. * sysdeps/x86_64/fpu/s_log1pl.S: New file.
  9922. * sysdeps/x86_64/fpu/s_logbl.c: New file.
  9923. * sysdeps/x86_64/fpu/s_nextafterl.c: New file.
  9924. * sysdeps/x86_64/fpu/s_nexttoward.c: New file.
  9925. * sysdeps/x86_64/fpu/s_nexttowardf.c: New file.
  9926. * sysdeps/x86_64/fpu/s_rintl.c: New file.
  9927. * sysdeps/x86_64/fpu/s_significandl.c: New file.
  9928. * sysdeps/x86_64/fpu/s_sincosl.S: New file.
  9929. * sysdeps/x86_64/fpu/s_sinl.S: New file.
  9930. * sysdeps/x86_64/fpu/s_tanl.S: New file.
  9931. * sysdeps/x86_64/gmp-mparam.h: New file.
  9932. * sysdeps/x86_64/hp-timing.c: New file.
  9933. * sysdeps/x86_64/hp-timing.h: New file.
  9934. * sysdeps/x86_64/htonl.S: New file.
  9935. * sysdeps/x86_64/memusage.h: New file.
  9936. * sysdeps/x86_64/setjmp.S: New file.
  9937. * sysdeps/x86_64/soft-fp/sfp-machine.h: New file.
  9938. * sysdeps/x86_64/stackinfo.h: New file.
  9939. * sysdeps/x86_64/sysdep.h: New file.
  9940. * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: New file.
  9941. * sysdeps/ieee754/ldbl-128/s_erfl.c: New file, contributed Stephen
  9942. L Moshier.
  9943. 2001-09-18 Ulrich Drepper <drepper@redhat.com>
  9944. * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL.
  9945. Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541].
  9946. 2001-09-18 Andreas Schwab <schwab@suse.de>
  9947. * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope
  9948. list, now that l_scope is a pointer.
  9949. * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the
  9950. scope list.
  9951. 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp>
  9952. * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition.
  9953. (elf_machine_rela_relative): Add a missing declaration.
  9954. 2001-09-18 Jakub Jelinek <jakub@redhat.com>
  9955. * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
  9956. * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
  9957. * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390
  9958. ldd-rewrite scripts.
  9959. 2001-09-18 Ulrich Drepper <drepper@redhat.com>
  9960. * elf/ldd.bash.in: Update copyright message.
  9961. 2001-09-17 H.J. Lu <hjl@gnu.org>
  9962. * hurd/hurdmalloc.c (bcopy): Removed.
  9963. (realloc): Replace bcopy with memcpy.
  9964. * hurd/path-lookup.c (file_name_path_scan): Likewise.
  9965. * resolv/gethnamaddr.c (map_v4v6_address): Likewise.
  9966. * sunrpc/rpcinfo.c (pmapdump): Likewise.
  9967. * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove.
  9968. (gethostbyaddr): Likewise.
  9969. * sunrpc/rpcinfo.c (get_inet_address): Likewise.
  9970. 2001-09-18 Ulrich Drepper <drepper@redhat.com>
  9971. * sysdeps/gnu/eval.c: Removed.
  9972. 2001-09-18 Andreas Jaeger <aj@suse.de>
  9973. * sysdeps/i386/fpu/s_logbl.S: Move to ...
  9974. * sysdeps/i386/fpu/s_logbl.c: ...here, use inline assembler.
  9975. * sysdeps/i386/fpu/s_rintl.S: Move to ...
  9976. * sysdeps/i386/fpu/s_rintl.c: ...here, use inline assembler.
  9977. * sysdeps/i386/fpu/s_significandl.S: Move to ...
  9978. * sysdeps/i386/fpu/s_significandl.c: ...here, use inline assembler.
  9979. 2001-09-16 Ulrich Drepper <drepper@redhat.com>
  9980. * string/strcoll.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get
  9981. nrules value.
  9982. 2001-09-14 H.J. Lu <hjl@gnu.org>
  9983. * sysdeps/mips/fpu/libm-test-ulps: Updated.
  9984. 2001-09-14 Ulrich Drepper <drepper@redhat.com>
  9985. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix a typo.
  9986. Patch by Florian La Roche <laroche@redhat.com>.
  9987. * string/bits/string2.h (__strtok_r_1c): Optimize a bit.
  9988. * sysdeps/unix/sysv/linux/net/ethernet.h: Correct references to
  9989. ETHER_CRC_LEN.
  9990. 2001-09-14 Andreas Schwab <schwab@suse.de>
  9991. * posix/execl.c: Fix last argument of memcpy. Reported by Brian
  9992. Sumner <bls@sgi.com>.
  9993. * posix/execlp.c: Likewise.
  9994. 2001-09-13 Jakub Jelinek <jakub@redhat.com>
  9995. * elf/dl-deps.c (_dl_map_object_deps): Fix filter handling if filter
  9996. is already found earlier in the search scope.
  9997. 2001-09-12 Jakub Jelinek <jakub@redhat.com>
  9998. * rt/Makefile (LDFLAGS-rt.so): Use shared thread library as librt's
  9999. filter.
  10000. 2001-09-13 Ulrich Drepper <drepper@redhat.com>
  10001. * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected errors for j0.
  10002. 2001-09-12 Ulrich Drepper <drepper@redhat.com>
  10003. * config.h.in: Enforce optimization to be used.
  10004. * Makeconfig (preprocess-versions): Define ASSEMBLER.
  10005. * stdlib/Makefile (isomac-CFLAGS): Define to -O.
  10006. * posix/Makefile (annexc-CFLAGS): Define to -O.
  10007. * sysdeps/unix/make-syscalls.sh: Define __OPTIMIZE__ in use of asm_CPP.
  10008. 2001-09-11 Ulrich Drepper <drepper@redhat.com>
  10009. * nscd/nscd_gethst_r.c: Don't expect IPv6 addresses for IPv4 lookup.
  10010. Patch by Stephan Kulow.
  10011. 2001-09-08 Ben Collins <bcollins@debian.org>
  10012. * sysdeps/arm/dl-machine.h (elf_machine_rel): Fix thinko in
  10013. usage of RESOLVE() (r_type, not reloc->r_type).
  10014. 2001-09-08 Ulrich Drepper <drepper@redhat.com>
  10015. * elf/dl-object.c: Avoid allocating extra memory block for name.
  10016. * elf/dl-close.c (_dl_close): Don't free l_libname if it is not
  10017. allocated separately.
  10018. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
  10019. 2001-09-08 H.J. Lu <hjl@gnu.org>
  10020. * po/zh_TW.po: Fix a typo.
  10021. 2001-09-07 Tom Rix <trix@redhat.com>
  10022. * sysdeps/unix/sysv/aix/sysv_termio.h: New file.
  10023. 2001-08-26 Tom Rix <trix@redhat.com>
  10024. * sysdeps/unix/sysv/aix/Makefile (aix-syscalls.o): More linker
  10025. command line options.
  10026. * sysdeps/unix/sysv/aix/start.s: New file, rework of start.c
  10027. * sysdeps/unix/sysv/aix/start.c: Removed.
  10028. * sysdeps/unix/sysv/aix/start-libc.c: New file.
  10029. * sysdeps/unix/sysv/aix/init-first.c: New file.
  10030. * sysdeps/unix/sysv/aix/fcntl.c: Alias __libc_fcntl to __fcntl.
  10031. 2001-09-08 Ben Collins <bcollins@debian.org>
  10032. * sysdeps/arm/dl-machine.h: Fix usage of new _dl_signal_error() format.
  10033. * sysdeps/generic/dl-machine.h: Likewise.
  10034. * sysdeps/hppa/dl-fptr.c: Likewise.
  10035. * sysdeps/ia64/dl-fptr.c: Likewise.
  10036. * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
  10037. * sysdeps/mips/dl-machine.h: Likewise.
  10038. * sysdeps/mips/mips64/dl-machine.h: Likewise.
  10039. * sysdeps/powerpc/dl-machine.c: Likewise.
  10040. 2001-09-07 Ben Collins <bcollins@debian.org>
  10041. * sysdeps/sparc/sparc32/dl-machine.h: Fix typo.
  10042. * sysdeps/hppa/dl-lookupcfg.h: Forward declare struct link_map.
  10043. 2001-09-08 Ulrich Drepper <drepper@redhat.com>
  10044. * elf/dl-lookup.c (add_dependency): Bump l_opencount of all
  10045. dependencies if necessary.
  10046. * elf/dl-close.c (_dl_close): If object has no r_list (i.e., wasn't
  10047. loaded directly) determine length if l_initfini list by iterating
  10048. over its elements. Minor optimizations.
  10049. * elf/dl-deps.c (_dl_map_object_deps): Always add own map to l_initfini
  10050. for dependency objects.
  10051. If object was already loaded check whether any of the dependencies
  10052. is already on the relocation dependency list. If yes, remove the
  10053. latter. Minor optimizations.
  10054. * elf/dl-lookup.c (add_dependency): Add check for self reference of
  10055. maps here. Search l_initfini list only if the object was loaded
  10056. directly and not only as a dependency.
  10057. (_dl_lookup_symbol): Add relocation dependency also if object
  10058. is not in global scope. Remove test for self-reference here.
  10059. (_dl_lookup_versioned_symbol): Likewise.
  10060. * elf/dl-object (_dl_new_object): Cleanup. Initialize dont_free
  10061. element of first name record.
  10062. * elf/loadtest.c: Add some more test to recognize early if an object
  10063. wasn't unloaded.
  10064. * elf/Makefile: Add rules to build and run reldep5.
  10065. * elf/reldep5.c: New file.
  10066. * elf/reldepmod5.c: New file.
  10067. * elf/reldepmod6.c: New file.
  10068. * elf/reldep2.c: Fix typo.
  10069. 2001-09-07 Ulrich Drepper <drepper@redhat.com>
  10070. * include/link.h (struct link_map): Add l_scope_mem and l_scope_max
  10071. elements. Change l_scope to be a pointer only.
  10072. * elf/dl-object.c (_dl_new_object): Initialize l_scope and l_scope_max.
  10073. * elf/dl-open.c (dl_open_worker): If dependency wasn't just opened
  10074. here add searchlist of newly open file to the dependency's scope.
  10075. * elf/dl-close.c (_dl_close): If dependency is used otherwise remove
  10076. only searchlist from its scope. Free own scope array if necessary.
  10077. * elf/Makefile (tests): Add dblload and dblunload now.
  10078. 2001-09-06 Andreas Jaeger <aj@suse.de>
  10079. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: New file, contributed
  10080. Stephen L Moshier.
  10081. 2001-09-05 Ulrich Drepper <drepper@redhat.com>
  10082. * elf/Makefile: Add rules to build new tests. Don't run them yet since
  10083. they both fail.
  10084. * elf/dblload.c: New file.
  10085. * elf/dblloadmod1.c: New file.
  10086. * elf/dblloadmod2.c: New file.
  10087. * elf/dblloadmod3.c: New file.
  10088. * elf/dblunload.c: New file.
  10089. 2001-09-04 Richard Henderson <rth@redhat.com>
  10090. * elf/elf.h (R_ALPHA_OP_*, R_ALPHA_IMMED_*): Remove.
  10091. (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
  10092. 2001-09-04 Ulrich Drepper <drepper@redhat.com>
  10093. Correct very misleading message for error in failed runtime relocation.
  10094. * elf/dl-error.c (_dl_signal_error): Take extra parameter to describe
  10095. place of the error.
  10096. (_dl_signal_cerror): Likewise.
  10097. * sysdeps/generic/ldsodefs.h: Adjust prototypes.
  10098. * elf/dl-close.c: Likewise.
  10099. * elf/dl-deps.c: Likewise.
  10100. * elf/dl-load.c: Likewise.
  10101. * elf/dl-lookup.c: Likewise.
  10102. * elf/dl-open.c: Likewise.
  10103. * elf/dl-reloc.c: Likewise.
  10104. * elf/dl-sym.c: Likewise.
  10105. * elf/dl-version.c: Likewise.
  10106. * sysdeps/generic/dl-sysdep.c: Likewise.
  10107. 2001-09-04 Jakub Jelinek <jakub@redhat.com>
  10108. * iconv/strtab.c (strtabinit): Initialize null Strent.
  10109. (newstring): Move len == 0 handling...
  10110. (strtabadd): ...here.
  10111. If len == 1, return null Strent.
  10112. When inserting a suffix of an existing string, check if
  10113. it is not equal to some suffix already recorded.
  10114. Copy left and right members over if adding longer string.
  10115. 2001-09-04 Jakub Jelinek <jakub@redhat.com>
  10116. * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'.
  10117. * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>.
  10118. (__syscall_gethostname): Add prototype.
  10119. 2001-09-04 Ulrich Drepper <drepper@redhat.com>
  10120. * elf/dl-object.c (_dl_new_object): Remove unnecessary if.
  10121. 2001-09-02 Ulrich Drepper <drepper@redhat.com>
  10122. * elf/rtld.c (dl_main): Increment l_opencount for main binary.
  10123. 2001-08-27 Roland McGrath <roland@frob.com>
  10124. * sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
  10125. short, copy that much into NAME anyway before returning error.
  10126. 2001-09-01 Richard Henderson <rth@redhat.com>
  10127. * sysdeps/alpha/elf/Dist: Remove file.
  10128. * sysdeps/alpha/elf/Makefile: Remove file.
  10129. * sysdeps/alpha/elf/crtbegin.S: Remove file.
  10130. * sysdeps/alpha/elf/crtend.S: Remove file.
  10131. * sysdeps/alpha/elf/initfini.c: New file.
  10132. 2001-09-01 Mark Kettenis <kettenis@gnu.org>
  10133. * iconv/tst-iconv1.c: Include <stddef.h> for wchar_t.
  10134. * iconv/tst-iconv3.c: Likewise.
  10135. 2001-09-01 Jakub Jelinek <jakub@redhat.com>
  10136. * sysdeps/generic/inttypes.h (__gwchar_t): Define to wchar_t for C++.
  10137. 2001-09-01 Ulrich Drepper <drepper@redhat.com>
  10138. * iconv/gconv_cache.c: Rename variable cache to __gconv_cache and
  10139. export it.
  10140. * iconv/Versions (libc) [GLIBC_2.2.5]: Export __gconv_cache.
  10141. * iconv/iconv_prog.c (insert_cache): New function.
  10142. (print_known_names): If cache is used call insert_cache to use the
  10143. information from the cache [PR libc/2509].
  10144. 2001-08-31 Ulrich Drepper <drepper@redhat.com>
  10145. * time/strptime.c (strptime_internal): Recognize 'l' format and
  10146. handle it like 'I' for symmetry with strftime.
  10147. 2001-08-31 Richard Henderson <rth@redhat.com>
  10148. * elf/dl-support.c (_dl_cpuclock_offset): Protect with NONAVAIL.
  10149. (HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
  10150. * elf/rtld.c (HP_TIMING_AVAIL): Likewise.
  10151. (print_statistics): Make scalar unsigned long long.
  10152. * sysdeps/alpha/hp-timing.h: New file.
  10153. 2001-08-31 Jakub Jelinek <jakub@redhat.com>
  10154. * stdio-common/perror.c (perror): Save errno early, pass it
  10155. down to perror_internal.
  10156. (perror_internal): Add errnum argument.
  10157. 2001-08-31 Jakub Jelinek <jakub@redhat.com>
  10158. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Remove unused code.
  10159. Don't add old memory content for R_ALPHA_REFQUAD.
  10160. 2001-08-30 Ulrich Drepper <drepper@redhat.com>
  10161. * crypt/md5-crypt.c (__md5_crypt_r): Compute used and required
  10162. memory correctly.
  10163. * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Use __open
  10164. instead of open, __close instead of close, __getpagesize instead
  10165. of getpagesize.
  10166. * string/argz-stringify.c (__argz_stringify): Use __strnlen
  10167. instead of strnlen.
  10168. * include/string.h (strndupa): Redefine here to use __strnlen
  10169. instead of strnlen.
  10170. * string/strndup.c (__strndup): Use __strnlen not strnlen.
  10171. * misc/syslog.c (vsyslog): Fix typo in last change (connect ->
  10172. connected).
  10173. 2001-08-30 Jakub Jelinek <jakub@redhat.com>
  10174. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
  10175. R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
  10176. for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
  10177. * sysdeps/i386/dl-machine.h (elf_machine_rel): Similarly.
  10178. * sysdeps/ia64/dl-machine.h (elf_machine_rel): Similarly.
  10179. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rel): Similarly.
  10180. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rel): Similarly.
  10181. 2001-08-30 Ulrich Drepper <drepper@redhat.com>
  10182. * sysdeps/alpha/fpu/libm-test-ulps: Adjust j0 ULPs.
  10183. 2001-08-30 Andreas Jaeger <aj@suse.de>
  10184. * sysdeps/ieee754/ldbl-128/e_jnl.c: New file,
  10185. contributed Stephen L Moshier.
  10186. 2001-08-30 Jakub Jelinek <jakub@redhat.com>
  10187. * sunrpc/etc.rpc (sgi_fam): Add.
  10188. 2001-08-30 Ulrich Drepper <drepper@redhat.com>
  10189. * sysdeps/unix/sysv/linux/alpha/gethostname.c: New file.
  10190. 2001-08-29 Ulrich Drepper <drepper@redhat.com>
  10191. * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received
  10192. first is from a previous call.
  10193. Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670].
  10194. 2001-08-29 Andreas Schwab <schwab@suse.de>
  10195. * sysdeps/ia64/fpu/libm-test-ulps: Updated.
  10196. 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  10197. * config.make.in (INSTALL_SCRIPT): Define.
  10198. * Makeconfig (INSTALL_SCRIPT): Define.
  10199. * Makerules (do-install-script): New macro to install scripts using
  10200. INSTALL_SCRIPT.
  10201. (install-bin-script): New rule to install scripts with
  10202. do-install-script.
  10203. (install-bin-script-nosubdir): New rule.
  10204. (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
  10205. (distinfo-vars): Add $(install-bin-script).
  10206. * Rules (others): Likewise.
  10207. * Makefile (glibcbug): Install with install-bin-script.
  10208. * debug/Makefile (xtrace): Likewise.
  10209. (catchsegv): Likewise.
  10210. * elf/Makefile (ldd): Likewise.
  10211. * malloc/Makefile (mtrace): Likewise.
  10212. * timezone/Makefile (tzselect): Likewise.
  10213. 2001-08-29 H.J. Lu <hjl@gnu.org>
  10214. * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass
  10215. ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
  10216. _dl_lookup_versioned_symbol () and _dl_lookup_symbol ().
  10217. 2001-08-29 Andreas Schwab <schwab@suse.de>
  10218. * sysdeps/m68k/fpu/libm-test-ulps: Updated.
  10219. 2001-08-28 H.J. Lu <hjl@gnu.org>
  10220. * Makeconfig (combreloc-LDFLAGS): New variable.
  10221. Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
  10222. * config.make.in (have-z-combreloc): New variable.
  10223. * configure.in: Substitute libc_cv_z_combreloc.
  10224. 2001-08-29 Ulrich Drepper <drepper@redhat.com>
  10225. * po/sv.po: Update from translation team.
  10226. * po/fr.po: Likewise.
  10227. * po/da.po: Likewise.
  10228. 2001-08-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  10229. * Makerules: Fix a typo: MD% -> MD5.
  10230. 2001-08-28 Ulrich Drepper <drepper@redhat.com>
  10231. * sunrpc/rpc_hout.c (pargdef): Function must take pointer to object.
  10232. Patch by Patrick Duval <Patrick.Duval@devinci.fr>.
  10233. 2001-08-28 Andreas Jaeger <aj@suse.de>
  10234. * manual/libc-texinfo.sh: Add entry about free manuals.
  10235. * manual/contrib.texi (Contributors): Fix cross reference.
  10236. * manual/libc.texinfo (Copying): Include freemanuals.
  10237. * manual/Makefile (appendices): Add freemanuals.
  10238. * manual/freemanuals.texi: New file.
  10239. Patch by Brian Youmans <3diff@gnu.org>.
  10240. * manual/libm-err-tab.pl: Pretty print more platforms, print a
  10241. smaller table.
  10242. * manual/math.texi (Errors in Math Functions): Fix grammar, start
  10243. table on separate page.
  10244. Patch by Brian Youmans <3diff@gnu.org>.
  10245. 2001-08-27 Ulrich Drepper <drepper@redhat.com>
  10246. * misc/syslog.c (vsyslog): Try a bit harder to use syslogd. If
  10247. the connection went down after we first used it try to connect
  10248. again and resend the message before printing to the console.
  10249. Reported by Coserea Gh. Tudor <tudore@tudore.gecadsoftware.com>.
  10250. 2001-08-27 Jakub Jelinek <jakub@redhat.com>
  10251. * string/tst-strlen.c (main): Test strnlen (, -1) too.
  10252. * sysdeps/generic/strnlen.c (__strnlen): Fix for maxlens with top
  10253. bit set.
  10254. 2001-08-27 Ulrich Drepper <drepper@redhat.com>
  10255. * iconv/strtab.c (searchstring): Use correct length for comparison.
  10256. (strtabadd): Account total size correct if new string has old string as
  10257. substring.
  10258. 2001-08-27 Jakub Jelinek <jakub@redhat.com>
  10259. * elf/rtld.c (dl_main): Update call to _dl_lookup_symbol.
  10260. 2001-08-27 Andreas Jaeger <aj@suse.de>
  10261. * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
  10262. * math/libm-test.inc (j0_test): Add extra tests.
  10263. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
  10264. not x, in Hankel approximation.
  10265. Patches by Stephen L Moshier.
  10266. 2001-08-26 Ulrich Drepper <drepper@redhat.com>
  10267. * sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
  10268. link_map.
  10269. * configure.in: Fix test for .rela.dyn section.
  10270. * elf/dl-runtime.c: Update calls to _dl_lookup_*.
  10271. 2001-08-26 Jakub Jelinek <jakub@redhat.com>
  10272. * elf/dl-reloc.c (RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
  10273. instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
  10274. Pass type_class to _dl_lookup_*.
  10275. * elf/dl-lookup.c (_dl_lookup_symbol): Take type_class parameter now.
  10276. Pass around just type_class instead of noexec, noplt pair.
  10277. (_dl_lookup_versioned_symbol): Likewise.
  10278. (_dl_lookup_symbol_skip): Pass around just type_class instead of
  10279. noexec, noplt pair.
  10280. (_dl_lookup_versioned_symbol_skip): Likewise.
  10281. (_dl_do_lookup, _dl_do_lookup_versioned): Likewise.
  10282. * elf/do-lookup.h (do_lookup): Likewise.
  10283. * include/link.h (struct link_map): Replace noexec and noplt fields
  10284. in l_lookup_cache with type_class field.
  10285. * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_PLT,
  10286. ELF_RTYPE_CLASS_COPY): Define.
  10287. Adjust prototypes for _dl_lookup_symbol and
  10288. _dl_lookup_versioned_symbol.
  10289. * sysdeps/alpha/dl-machine.h (elf_machine_lookup_noplt_p,
  10290. elf_machine_lookup_noexec_p): Remove.
  10291. (elf_machine_type_class): Define.
  10292. * sysdeps/arm/dl-machine.h: Likewise.
  10293. * sysdeps/hppa/dl-machine.h: Likewise.
  10294. * sysdeps/cris/dl-machine.h: Likewise.
  10295. * sysdeps/i386/dl-machine.h: Likewise.
  10296. * sysdeps/ia64/dl-machine.h: Likewise.
  10297. * sysdeps/m68k/dl-machine.h: Likewise.
  10298. * sysdeps/mips/mips64/dl-machine.h: Likewise.
  10299. * sysdeps/mips/dl-machine.h: Likewise.
  10300. * sysdeps/powerpc/dl-machine.h: Likewise.
  10301. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  10302. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  10303. * sysdeps/sh/dl-machine.h: Likewise.
  10304. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  10305. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  10306. 2001-08-26 Ulrich Drepper <drepper@redhat.com>
  10307. * manual/message.texi (Advanced gettext functions): Change
  10308. description of plural forms for Slovak.
  10309. Reported by Marcel Telka <marcel@telka.sk>.
  10310. * manuaL/time.texi (Low-Level Time String Parsing): Fix description of
  10311. %z. Reported by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.
  10312. 2001-08-26 Jakub Jelinek <jakub@redhat.com>
  10313. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_lazy_rel): Fix a
  10314. typo. Patch by Florian La Roche <laroche@redhat.com>.
  10315. 2001-08-26 Ulrich Drepper <drepper@redhat.com>
  10316. * include/link.h (struct link_map): Add l_lookup_cache element.
  10317. * elf/dl-reloc.c (RESOLVE): Add symbol caching here.
  10318. (RESOLVE_MAP): Likewise.
  10319. (_dl_relocate_object): Remove cache initialization.
  10320. * elf/dl-lookup.c: Rip out cache handling code.
  10321. * sysdeps/generic/ldsodefs.h: Remove lookup_cache struct and variable
  10322. declarations.
  10323. * elf/dl-lookup.c (_dl_lookup_symbol): Reorder some conditions and
  10324. remove some __builtin_expect.
  10325. (_dl_lookup_versioned_symbol): Likewise.
  10326. * config.h.in: Add HAVE_Z_COMBRELOC.
  10327. * configure.in: Add test for -z combreloc.
  10328. * sysdeps/i386/dl-machine.h (elf_machine_rel): Minor cleanups and
  10329. optimizations. Use HAVE_Z_COMBRELOC to avoid generaton of
  10330. R_386_RELATIVE handling for ld.so startup. Reduce RTLD_BOOTSTRAP
  10331. case to almost no code.
  10332. 2001-08-25 Ulrich Drepper <drepper@redhat.com>
  10333. * po/tr.po: Update from translation team.
  10334. 2001-08-24 Andreas Jaeger <aj@suse.de>
  10335. * iconv/Makefile (extra-objs): Add iconvconfig-modules so that
  10336. make clean works.
  10337. 2001-08-24 Ulrich Drepper <drepper@redhat.com>
  10338. * elf/rtld.c (print_statistics): Printf % after percent values.
  10339. * elf/dl-misc.c (_dl_debug_vdprintf): Implement %%.
  10340. * elf/dl-lookup.c (_dl_lookup_symbol): If we use the cache we
  10341. don't have to compute the hash value and initialize current_value.
  10342. Move reference_name variable to where it is needed.
  10343. (_dl_lookup_versioned_symbol): Likewise.
  10344. 2001-08-24 Roland McGrath <roland@frob.com>
  10345. * string/tester.c (test_strerror): Don't use _sys_errlist/_sys_nerr.
  10346. Just test that strerror returns non-null for a few errno codes.
  10347. 2001-08-23 Roland McGrath <roland@frob.com>
  10348. * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,
  10349. _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor.
  10350. * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink.
  10351. * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy,
  10352. __mach_reply_port.
  10353. 2001-08-24 Ulrich Drepper <drepper@redhat.com>
  10354. * nss/test-netdb.c (test_hosts): Don't segfault if gethostname
  10355. returns NULL.
  10356. * elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
  10357. startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
  10358. doesn't do it.
  10359. * elf/rtld.c: Include <sys/param.h>.
  10360. * elf/dl-reloc.c: Likewise.
  10361. 2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  10362. * sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
  10363. empty to prevent junk from being generated.
  10364. * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
  10365. 2001-08-24 Jakub Jelinek <jakub@redhat.com>
  10366. * elf/do-rel.h (elf_dynamic_do_rel): If l_addr is 0, skip relative
  10367. records. Rename endrel to relative, initialize it to r, and use it
  10368. in elf_machine_rel_relative calls. Point r after relative relocs.
  10369. 2001-08-24 Ulrich Drepper <drepper@redhat.com>
  10370. * sysdeps/i386/dl-machine.h (elf_machine_rel): Correct prediction
  10371. of R_386_NONE.
  10372. 2001-08-24 Jakub Jelinek <jakub@redhat.com>
  10373. * elf/do-rel.h (elf_machine_rel_relative): Define for rela if
  10374. necessary. Undefine newly defined macros at the end.
  10375. * sysdeps/hppa/dl-machine.h (elf_machine_rela_relative):
  10376. Rename from elf_machine_rel_relative.
  10377. * sysdeps/cris/dl-machine.h (elf_machine_rela_relative): Likewise.
  10378. * sysdeps/m68k/dl-machine.h (elf_machine_rela_relative): Likewise.
  10379. * sysdeps/powerpc/dl-machine.h (elf_machine_rela_relative): Likewise.
  10380. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela_relative):
  10381. Likewise.
  10382. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela_relative):
  10383. Likewise.
  10384. * sysdeps/ia64/dl-machine.h (elf_machine_rela_relative): Likewise.
  10385. Fix argument types.
  10386. * sysdeps/alpha/dl-machine.h (elf_machine_rela_relative): Likewise.
  10387. Fix argument types.
  10388. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela_relative):
  10389. Likewise. Fix argument types.
  10390. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela_relative):
  10391. Likewise. Fix argument types.
  10392. * sysdeps/sh/dl-machine.h (elf_machine_rela_relative): Likewise.
  10393. Fix argument types.
  10394. * sysdeps/mips/dl-machine.h (elf_machine_rel_relative): Use
  10395. ElfW(Rel) in argument.
  10396. * sysdeps/mips/mips64/dl-machine.h (elf_machine_rel_relative): New
  10397. function.
  10398. 2001-08-24 Alexandre Oliva <aoliva@redhat.com>
  10399. * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix typo.
  10400. 2001-08-24 Andreas Jaeger <aj@suse.de>
  10401. * sysdeps/ieee754/ldbl-128/e_j1l.c: New file, contributed by
  10402. Stephen L Moshier <moshier@mediaone.net>.
  10403. 2001-08-24 Ulrich Drepper <drepper@redhat.com>
  10404. * elf/do-rel.h (elf_dynamic_do_rel): RELATIVE relocations comes
  10405. first if RELCOUNT is set.
  10406. * elf/do-rel.h (elf_dynamic_do_rel): If not relocating lazily, don't
  10407. call elf_machine_rel for the last DT_RELCOUNT relocations but instead
  10408. elf_machine_rel_relative.
  10409. * sysdeps/alpha/dl-machine.h: Define elf_machine_rel_relative.
  10410. Minor optimizations.
  10411. * sysdeps/arm/dl-machine.h: Likewise.
  10412. * sysdeps/cris/dl-machine.h: Likewise.
  10413. * sysdeps/hppa/dl-machine.h: Likewise.
  10414. * sysdeps/i386/dl-machine.h: Likewise.
  10415. * sysdeps/ia64/dl-machine.h: Likewise.
  10416. * sysdeps/m68k/dl-machine.h: Likewise.
  10417. * sysdeps/mips/dl-machine.h: Likewise.
  10418. * sysdeps/powerpc/dl-machine.h: Likewise.
  10419. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  10420. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  10421. * sysdeps/sh/dl-machine.h: Likewise.
  10422. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  10423. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  10424. 2001-08-23 Roland McGrath <roland@frob.com>
  10425. * rt/tst-aio4.c [! SIGRTMIN] (SIGRTMIN, SIGRTMAX): Define as -1.
  10426. * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied from
  10427. sysdeps/mach version. Implement counting ("recursive") mutexes
  10428. on top of cthreads mutexes.
  10429. * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works.
  10430. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to
  10431. _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error.
  10432. (__libc_cleanup_region_start, __libc_cleanup_region_end,
  10433. __libc_clean_end): Define these to call the cleanup function after
  10434. normal exit when they're supposed to.
  10435. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start):
  10436. Take new first arg DOIT, a boolean saying whether to really install
  10437. any cleanup handler.
  10438. (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero.
  10439. (__libc_cleanup_end): Likewise.
  10440. * sysdeps/generic/bits/libc-lock.h: Same changes.
  10441. * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg.
  10442. * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise.
  10443. * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start):
  10444. Likewise.
  10445. * misc/syslog.c (vsyslog, openlog, closelog): Likewise.
  10446. * sysdeps/generic/bits/stdio-lock.h
  10447. (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
  10448. 2001-08-23 Jakub Jelinek <jakub@redhat.com>
  10449. * elf/ldconfig.c (search_dir): Remove stale symlinks.
  10450. 2001-08-23 Jakub Jelinek <jakub@redhat.com>
  10451. * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New
  10452. functions.
  10453. (_dl_lookup_symbol): Lookup relocations in cache and store successfull
  10454. lookups in cache.
  10455. (_dl_lookup_versioned_symbol): Likewise.
  10456. * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for
  10457. relocation lookup.
  10458. * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations.
  10459. * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition.
  10460. (lookup_cache, lookup_cache_versioned): Add declarations.
  10461. 2001-08-23 Ulrich Drepper <drepper@redhat.com>
  10462. * stdlib/tst-random.c (main): Swap parameters in fail call.
  10463. Patch by Pete Bevin <pete@petebevin.com>.
  10464. 2001-08-23 Jakub Jelinek <jakub@redhat.com>
  10465. * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t.
  10466. 2001-08-23 Ulrich Drepper <drepper@redhat.com>
  10467. * malloc/obstack.c: Indent preprocessor directives.
  10468. Patch by Jim Meyering <meyering@ascend.com>.
  10469. * po/ja.po: Update from translation team.
  10470. 2001-08-23 Roland McGrath <roland@frob.com>
  10471. * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.
  10472. * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN.
  10473. Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
  10474. 2001-08-22 Roland McGrath <roland@frob.com>
  10475. * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here with
  10476. __libc_lock_define_recursive.
  10477. * elf/dl-open.c: Don't declare it here any more.
  10478. * elf/dl-close.c: Likewise.
  10479. * elf/dl-lookup.c: Likewise.
  10480. * elf/dl-iteratephdr.c: Likewise.
  10481. * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and
  10482. __libc_lock_unlock_recursive.
  10483. * elf/dl-close.c (_dl_close): Likewise
  10484. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise
  10485. * elf/dl-open.c (_dl_open): Likewise
  10486. * sysdeps/generic/bits/libc-lock.h
  10487. (__libc_lock_define_recursive): New macro.
  10488. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it.
  10489. (_IO_lock_lock): Use __libc_lock_lock_recursive.
  10490. (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
  10491. * conform/conformtest.pl (checknamespace): Sort the output list.
  10492. * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT.
  10493. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these
  10494. definitions conditional on [__USE_XOPEN].
  10495. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define
  10496. these unconditionally, not only use [__USE_BSD], so as to match
  10497. the sysdeps/unix/sysv/linux files.
  10498. 2001-08-22 Ulrich Drepper <drepper@redhat.com>
  10499. * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
  10500. avoid warnings.
  10501. * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
  10502. DL_LOOKUP_ADDRESS.
  10503. 2001-08-22 Roland McGrath <roland@frob.com>
  10504. * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
  10505. conditionalization of sa_handler/sa_sigaction member types to
  10506. match the sysdeps/unix/sysv/linux file.
  10507. 2001-08-22 Ulrich Drepper <drepper@redhat.com>
  10508. * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero
  10509. symbol sizes a bit better.
  10510. * sysdeps/ia64/strncpy.S: Complete rewrite.
  10511. Contributed by Jakub Jelinek <jakub@redhat.com>.
  10512. * string/stratcliff.c (main): Add strncpy test.
  10513. 2001-08-22 Roland McGrath <roland@frob.com>
  10514. * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,
  10515. and don't declare unsetenv or _environ directly.
  10516. (unsetenv): Return int, not void. Use __environ instead of _environ.
  10517. 2001-08-01 Mark Kettenis <kettenis@gnu.org>
  10518. * sysdeps/unix/bsd/bsd4.4/Makefile: New file.
  10519. * sysdeps/unix/bsd/bsd4.4/Versions: New file.
  10520. * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file.
  10521. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct
  10522. test for cmsg struct size.
  10523. 2001-04-23 Paul Eggert <eggert@twinsun.com>
  10524. * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal):
  10525. Rename __argc to ___argc in prototypes to avoid compatibility
  10526. problems with systems that reserve the identifier "__argc".
  10527. Similarly for __argv.
  10528. 2001-08-21 Roland McGrath <roland@frob.com>
  10529. * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
  10530. * mach/Makefile (tests): Removed.
  10531. * mach/hello.c: File removed.
  10532. 2001-08-22 Ulrich Drepper <drepper@redhat.com>
  10533. * po/sv.po: Update from translation team.
  10534. * stdio-common/vfscanf.c: Fix handling of %l[].
  10535. Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
  10536. * libio/Makefile (tests): Add tst-sscanf.
  10537. * libio/tst-sscanf.c: New file.
  10538. * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname.
  10539. * malloc/mtrace.c (tr_where): dli_sname always points to a
  10540. non-empty string if != NULL.
  10541. Reported by Tim Janik <timj@gtk.org>.
  10542. 2001-08-22 Jakub Jelinek <jakub@redhat.com>
  10543. * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating
  10544. buf. Free resources on failure.
  10545. * sunrpc/svc_unix.c (svcunix_create): Free resources on failure.
  10546. (makefd_xprt): Likewise.
  10547. * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
  10548. * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise.
  10549. * sunrpc/auth_unix.c (authunix_create): Likewise.
  10550. 2001-08-21 Jakub Jelinek <jakub@redhat.com>
  10551. * string/strnlen.c: Remove.
  10552. * sysdeps/generic/strnlen.c: New file.
  10553. * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
  10554. 2001-08-21 Roland McGrath <roland@frob.com>
  10555. * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
  10556. as a macro, not an extern inline function.
  10557. * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
  10558. * Versions.def (libc): Add GLIBC_2.2.5 set.
  10559. * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
  10560. (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
  10561. 2001-08-20 Roland McGrath <roland@frob.com>
  10562. * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
  10563. (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
  10564. 2001-08-21 Ulrich Drepper <drepper@redhat.com>
  10565. * string/bits/string2.h: Remove strnlen optimization here.
  10566. * sysdeps/i386/i486/bits/string.h: Add it here.
  10567. 2001-08-21 Wolfram Gloger <wg@malloc.de>
  10568. * malloc/malloc.c: Make access to ..._hook pointers thread-safe.
  10569. 2001-08-21 Ulrich Drepper <drepper@redhat.com>
  10570. * po/gl.po: Update from translation team.
  10571. 2001-08-20 Ulrich Drepper <drepper@redhat.com>
  10572. * misc/error.c (error_tail): Use fputws_unlocked instead of fputws.
  10573. * misc/err.c (convert_and_print): Likewise.
  10574. * malloc/obstack.c (print_and_abort): Use fprintf instead of two
  10575. function calls.
  10576. 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  10577. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the
  10578. change of the gregset_t type.
  10579. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
  10580. 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp>
  10581. * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno.
  10582. 2001-08-20 Ulrich Drepper <drepper@redhat.com>
  10583. * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
  10584. * string/strnlen.c: Fix the implementation. We cannot use memchr.
  10585. 2001-08-18 Mark Kettenis <kettenis@gnu.org>
  10586. * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ
  10587. before calling the cthreads initialization code.
  10588. 2001-08-20 Ulrich Drepper <drepper@redhat.com>
  10589. * argp/argp-help.c: Fix two problems introduced in last change.
  10590. * include/dirent.h: Include <dirstream.h> first.
  10591. 2001-08-19 Ulrich Drepper <drepper@redhat.com>
  10592. * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
  10593. * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy.
  10594. * sunrpc/xdr_rec.c: Likewise.
  10595. * sunrpc/xdr_mem.c: Likewise.
  10596. * sunrpc/svc_authux.c (_svcauth_unix): Likewise.
  10597. * sunrpc/rpc_cmsg.c: Likewise.
  10598. * sunrpc/getrpcport.c (getrpcport): Likewise.
  10599. * sunrpc/clnt_simp.c (callrpc): Likewise.
  10600. * sunrpc/clnt_gen.c (clnt_create): Likewise.
  10601. * string/envz.c: Likewise.
  10602. * po/ko.po: Update from translation team.
  10603. * argp/argp-help.c: Handle wide oriented stderr stream.
  10604. 2001-08-18 Ulrich Drepper <drepper@redhat.com>
  10605. * sysdeps/generic/strtol.c: Little optimizations. Add some
  10606. __builtin_expect.
  10607. * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
  10608. * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
  10609. * wcsmbs/wcwidth.c (wcwdith): Likewise.
  10610. * wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
  10611. * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
  10612. * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
  10613. * time/time.h (struct timespec): Use __time_t for tv_sec element.
  10614. * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
  10615. wchar_t for function declarations and defintions.
  10616. * misc/sys/select.h: Define __need_time_t before including <time.h>.
  10617. Define suseconds_t if it hasn't happened yet.
  10618. * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
  10619. * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
  10620. * sysdeps/generic/stdint.h: Don't get definition of wchar_t from
  10621. <stddef.h>.
  10622. * conform/data/stddef.h-data: Remove wint_t.
  10623. * conform/conformtest.pl: Change namespace test to take #undef
  10624. lines into account.
  10625. * conform/data/netinet/in.h-data: Fix typo in allow-header line.
  10626. * conform/data/sys/socket.h-data: Add sockatmark.
  10627. 2001-08-17 Ulrich Drepper <drepper@redhat.com>
  10628. * io/fts.c: Update from recent BSD source.
  10629. 2001-08-17 Roland McGrath <roland@frob.com>
  10630. * stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.
  10631. * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]:
  10632. Likewise.
  10633. 2001-08-17 Ulrich Drepper <drepper@redhat.com>
  10634. * locale/duplocale.c (__duplocale): Also initialize the special
  10635. __ctype_* elements.
  10636. * conform/data/netdb.h-data: Adjust gai_strerror return type.
  10637. 2001-08-17 Andreas Jaeger <aj@suse.de>
  10638. * misc/getpass.c: Include wchar.h for prototypes.
  10639. * malloc/obstack.c: Likewise.
  10640. 2001-08-17 Ulrich Drepper <drepper@redhat.com>
  10641. * sunrpc/svc_simple.c (universal): Use __write instead of write.
  10642. * wcsmbs/wcscoll.c: Also define __wcscoll.
  10643. * include/wchar.h: Declare __wcscoll.
  10644. * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf.
  10645. * libio/vwprintf.c: Likewise.
  10646. * libio/wprintf.c: Likewise.
  10647. * iconv/gconv_cache.c: Use __munmap instead of munmap.
  10648. 2001-08-16 Ulrich Drepper <drepper@redhat.com>
  10649. * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
  10650. instead of mbrtowc.
  10651. [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
  10652. wcslen, and __wcscoll instead of wcscoll.
  10653. * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl.
  10654. * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use
  10655. __getuid instead of getuid.
  10656. * stdio-common/perror.c (perror): Use __close instead of close.
  10657. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
  10658. * libio/freopen.c (freopen): Likewise.
  10659. * libio/freopen64.c (freopen64): Likewise.
  10660. * libio/tst-ungetwc2.c (main): Define str const.
  10661. * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf.
  10662. * libio/fwprintf.c: Also define __fwprintf.
  10663. * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf.
  10664. * argp/argp-fmtstream.c: Handle wide oriented stderr stream.
  10665. * assert/assert-perr.c: Likewise.
  10666. * assert/assert.c: Likewise.
  10667. * gmon/gmon.c: Likewise.
  10668. * inet/rcmd.c: Likewise.
  10669. * malloc/obstack.c: Likewise.
  10670. * misc/err.c: Likewise.
  10671. * misc/error.c: Likewise.
  10672. * misc/getpass.c: Likewise.
  10673. * posix/getopt.c: Likewise.
  10674. * resolv/res_hconf.c: Likewise.
  10675. * stdio-common/perror.c: Likewise.
  10676. * stdio-common/psignal.c: Likewise.
  10677. * stdlib/fmtmsg.c: Likewise.
  10678. * sunrpc/auth_unix.c: Likewise.
  10679. * sunrpc/clnt_perr.c: Likewise.
  10680. * sunrpc/clnt_tcp.c: Likewise.
  10681. * sunrpc/clnt_udp.c: Likewise.
  10682. * sunrpc/clnt_unix.c: Likewise.
  10683. * sunrpc/svc_simple.c: Likewise.
  10684. * sunrpc/svc_tcp.c: Likewise.
  10685. * sunrpc/svc_udp.c: Likewise.
  10686. * sunrpc/svc_unix.c: Likewise.
  10687. * sunrpc/xdr.c: Likewise.
  10688. * sunrpc/xdr_array.c: Likewise.
  10689. * sunrpc/xdr_rec.c: Likewise.
  10690. * sunrpc/xdr_ref.c: Likewise.
  10691. * sysdeps/generic/wordexp.c: Likewise.
  10692. * po/it.po: Update from translation team.
  10693. * misc/err.c: Handle wide oriented stderr stream.
  10694. 2001-08-14 Tom Rix <trix@redhat.com>
  10695. * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV.
  10696. * iconv/Makefile: Fix gconv_cache.c CFLAGS.
  10697. 2001-08-13 Tom Rix <trix@redhat.com>
  10698. * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols.
  10699. * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t
  10700. and __intptr_t.
  10701. 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
  10702. * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext):
  10703. Store the access registers to the ucontext structure.
  10704. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext):
  10705. Likewise.
  10706. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext):
  10707. Load the access registers from the ucontext structure.
  10708. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext):
  10709. Likewise.
  10710. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx
  10711. offsets to the new ucontext layout.
  10712. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise.
  10713. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout
  10714. of the ucontext structure.
  10715. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
  10716. 2001-08-15 Ulrich Drepper <drepper@redhat.com>
  10717. * misc/error.c (error): Handle wide oriented stderr stream correctly.
  10718. (error_at_line): Likewise.
  10719. * stdio-common/perror.c (perror): Implement according to standard.
  10720. The stream orientation must not be changed if the stream was not
  10721. oriented before the call.
  10722. * stdio-common/Makefile (tests): Add tst-perror.
  10723. * stdio-common/tst-perror.c: New file.
  10724. See ChangeLog.12 for earlier changes.