ChangeLog.14 627 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759
  1. 2004-04-19 Roland McGrath <roland@redhat.com>
  2. * rt/tst-mqueue9.c (do_test): Initialize RESULT.
  3. 2004-04-19 Jakub Jelinek <jakub@redhat.com>
  4. * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Change EPERM into
  5. EACCES.
  6. * rt/Makefile (tests): Add tst-mqueue9.
  7. * rt/tst-mqueue9.c: New test.
  8. * rt/tst-mqueue4.c (do_test): Add test for mq_unlink of a too long
  9. name component.
  10. 2004-04-19 Ulrich Drepper <drepper@redhat.com>
  11. * rt/tst-mqueue7.c (do_test): Make newargv const.
  12. 2004-04-18 Randolph Chung <tausq@debian.org>
  13. * sysdeps/hppa/elf/entry.h: New file.
  14. * sysdeps/hppa/machine-gmon.h: New file.
  15. * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Don't use x86 version.
  16. 2004-04-18 Ulrich Drepper <drepper@redhat.com>
  17. * sysdeps/unix/sysv/linux/powerpc/rt-sysdep.c: New file.
  18. * sysdeps/unix/sysv/linux/powerpc/Makefile (librt-routines): Add
  19. rt-sysdep.
  20. * rt/tst-mqueue5.c (mqsend): Don't inline.
  21. (mqrecv): Likewise.
  22. * rt/tst-timer4.c: Include <string.h>.
  23. 2004-04-17 Jakub Jelinek <jakub@redhat.com>
  24. * rt/Makefile (tests): Add tst-mqueue8.
  25. * rt/tst-mqueue8.c: New test.
  26. * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add
  27. rt-sysdep.
  28. * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
  29. 2004-03-26 H.J. Lu <hongjiu.lu@intel.com>
  30. * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c (__fxstat): Don't
  31. use "struct kernel_stat".
  32. 2004-04-02 H.J. Lu <hongjiu.lu@intel.com>
  33. * sysdeps/ia64/memcmp.S: Fix symbol.
  34. 2004-04-04 Carlos O'Donell <carlos@baldric.uwo.ca>
  35. * sysdeps/hppa/Dist: Add bits/link.h elf/entry.h.
  36. * sysdeps/hppa/bits/link.h: New file.
  37. * sysdeps/hppa/dl-machine.h (__hppa_init_bootstrap_fdesc_table):
  38. Initialze the fdesc table for the generic code.
  39. (elf_machine_dynamic): Use asm version.
  40. (elf_machine_load_addresss): Simplify asm by calling
  41. elf_machine_dynamic.
  42. (elf_machine_fixup_plt): Correct comment.
  43. (elf_machine_profile_fixup_plt): New.
  44. (elf_machine_runtime_setup): Check PLT exists, if lazy=1 process
  45. normally, else relocate all the absolute entries.
  46. (RTLD_START): Fix comments.
  47. (TRAMPOLINE_TEMPLATE): Reformat assembly, add return pointer for
  48. calls to profile_fixup.
  49. (ELF_MACHINE_SIZEOF_JMP_SLOT, DL_STATIC_FUNCTION_ADDRESS,
  50. DL_PLATFORM_INIT): Define.
  51. (DL_FUNCTION_ADDRESS): Remove.
  52. (dl_platform_init): New.
  53. (elf_machine_rela): Use generic fdesc code, and process all COPY
  54. relocations. Use __attribute__((always_inline)).
  55. (elf_machine_rela_relative): Add sanity checks, remove IPLT
  56. processing, print error message in default case. Use
  57. __attribute__((always_inline)).
  58. (elf_machine_lazy_rel): Use __attribute__((always_inline)).
  59. 2004-04-05 Carlos O'Donell <carlos@baldric.uwo.ca>
  60. * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use only sw[0]
  61. and call feraiseexcept.
  62. 2003-11-15 Randolph Chung <tausq@debian.org>
  63. * gmon/gmon.c (__monstartup): Round kcountsize to multiples of
  64. the froms[] array so the array is properly aligned.
  65. 2004-04-05 H.J. Lu <hongjiu.lu@intel.com>
  66. * Makeconfig (libgcc_eh): Add -Wl,.
  67. * configure.in: Add -lgcc_s for --as-needed check.
  68. 2004-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  69. * sysdeps/sh/elf/configure.in: New file.
  70. 2004-04-17 Ulrich Drepper <drepper@redhat.com>
  71. * iconvdata/gconv-modules: Add PT154 and RK1048 entries.
  72. * iconvdata/tst-tables.sh: Add PT154 and RK1048.
  73. * iconvdata/Makefile (modules): Add PT154 anhd RK1048.
  74. (distribute): Add pt154.c and rk1048.c.
  75. (gen-8bit-gap-modules): Add pt154 and rk1048.
  76. * icondata/pt154.c: New file.
  77. * iconvdata/rk1048.c: New file.
  78. * rt/tst-timer4.c: Disable some tests, mark errors better.
  79. 2004-04-16 Ulrich Drepper <drepper@redhat.com>
  80. * rt/tst-mqueue6.c (mqsend): Don't inline.
  81. (mqrecv): Likewise.
  82. * rt/tst-mqueue3.c (do_test): Cope with kernel without mq support.
  83. * sysdeps/ieee754/bits/nan.h (__nan_union): Add __attribute_used__
  84. attribute to keep gcc quiet.
  85. 2004-04-16 Jakub Jelinek <jakub@redhat.com>
  86. * misc/syslog.c (vsyslog): Avoid freeing failbuf.
  87. 2004-04-15 Jakub Jelinek <jakub@redhat.com>
  88. * rt/Makefile (tests): Add tst-timer4.
  89. * rt/tst-timer4.c: New test.
  90. 2004-04-15 Jakub Jelinek <jakub@redhat.com>
  91. * rt/tst-mqueue5.c (rtmin_code): New variable.
  92. (rtmin_handler): Set it.
  93. (thr, do_child, do_test): Also check rtmin_code.
  94. 2004-04-14 Jakub Jelinek <jakub@redhat.com>
  95. * rt/Makefile (tests): Add tst-mqueue7.
  96. (tst-mqueue7-ARGS): Set.
  97. * rt/tst-mqueue7.c: New test.
  98. 2004-04-13 Jakub Jelinek <jakub@redhat.com>
  99. * rt/Makefile (tests): Add tst-mqueue5 and tst-mqueue6.
  100. * rt/tst-mqueue1.c (do_one_test): Bitwise or check_attrs () into
  101. result instead of replacing it. Use TEMP_FAILURE_RETRY around
  102. waitpid, kill child if waitpid failed.
  103. (do_test): Bitwise or check_attrs () into result instead of replacing
  104. it. Change temp mq name.
  105. * rt/tst-mqueue5.c: New test.
  106. * rt/tst-mqueue6.c: New test.
  107. * rt/tst-mqueue.h: Include stdio.h, unistd.h, sys/uio.h.
  108. (temp_mq_list, delete_temp_mqs): Remove.
  109. (temp_mq_fd): New variable.
  110. (do_cleanup, do_prepare): New functions.
  111. (add_temp_mq): Rewritten to use a temp file.
  112. (PREPARE): Define.
  113. (CLEANUP_HANDLER): Change to do_cleanup ().
  114. * rt/tst-timer3.c: Don't fail if _POSIX_THREADS is not available.
  115. 2004-04-13 Thorsten Kukuk <kukuk@suse.de>
  116. * sysdeps/s390/ffs.c: Include limits.h
  117. 2004-04-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  118. * sysdeps/unix/sysv/linux/sh/sysdep.h (SUBSTITUTE_ARGS_1,
  119. SUBSTITUTE_ARGS_2, SUBSTITUTE_ARGS_3, SUBSTITUTE_ARGS_4,
  120. SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load
  121. argument values into temporary variables.
  122. 2004-04-15 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
  123. * sysdeps/mips/dl-machine.h (RTLD_START): Do not use nested .end.
  124. 2004-04-12 Ulrich Drepper <drepper@redhat.com>
  125. * rt/Makefile (tests): Add tst-timer3.
  126. * rt/tst-timer3.c: New file. By Roland McGrath.
  127. 2004-04-08 Ulrich Drepper <drepper@redhat.com>
  128. * rt/tst-mqueue3.c: New file.
  129. * rt/Makefile (tests): Add tst-mqueue3.
  130. 2004-04-08 Jakub Jelinek <jakub@redhat.com>
  131. * rt/tst-mqueue1.c: New file.
  132. * rt/tst-mqueue2.c: New file.
  133. * rt/tst-mqueue4.c: New file.
  134. * rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4.
  135. * rt/Versions (librt): Add mq_*@@GLIBC_2.3.4.
  136. * rt/Makefile (headers): Add mqueue.h and bits/mqueue.h.
  137. (mq-routines): Set.
  138. (librt-routines): Use it.
  139. * rt/mqueue.h: New file.
  140. * include/mqueue.h: New file.
  141. * sysdeps/generic/bits/mqueue.h: New file.
  142. * sysdeps/generic/mq_setattr.c: New file.
  143. * sysdeps/generic/mq_getattr.c: New file.
  144. * sysdeps/generic/mq_notify.c: New file.
  145. * sysdeps/generic/mq_close.c: New file.
  146. * sysdeps/generic/mq_send.c: New file.
  147. * sysdeps/generic/mq_unlink.c: New file.
  148. * sysdeps/generic/mq_receive.c: New file.
  149. * sysdeps/generic/mq_timedreceive.c: New file.
  150. * sysdeps/generic/mq_timedsend.c: New file.
  151. * sysdeps/generic/mq_open.c: New file.
  152. * sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define.
  153. * sysdeps/unix/sysv/linux/bits/mqueue.h: New file.
  154. * sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend,
  155. mq_timedreceive and mq_setattr.
  156. * sysdeps/unix/sysv/linux/mq_getattr.c: New file.
  157. * sysdeps/unix/sysv/linux/mq_notify.c: New file.
  158. * sysdeps/unix/sysv/linux/mq_close.c: New file.
  159. * sysdeps/unix/sysv/linux/mq_send.c: New file.
  160. * sysdeps/unix/sysv/linux/mq_unlink.c: New file.
  161. * sysdeps/unix/sysv/linux/mq_receive.c: New file.
  162. * sysdeps/unix/sysv/linux/mq_open.c: New file.
  163. 2004-04-09 Andreas Schwab <schwab@suse.de>
  164. * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move
  165. LOAD_ARGS_##nr up front and add LOAD_REGS_##nr.
  166. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  167. (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  168. variables.
  169. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  170. (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  171. syscall argument registers.
  172. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add
  173. LOAD_REGS_##nr.
  174. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  175. (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  176. variables.
  177. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  178. (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  179. syscall argument registers.
  180. 2004-04-09 Andreas Schwab <schwab@suse.de>
  181. * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Add
  182. LOAD_REGS_##nr.
  183. (LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
  184. (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
  185. variables.
  186. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
  187. (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
  188. syscall argument registers.
  189. 2004-04-09 Thorsten Kukuk <kukuk@suse.de>
  190. * sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x.
  191. 2004-04-09 Steven Munroe <sjmunroe@us.ibm.com>
  192. * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
  193. 2004-04-08 Ulrich Drepper <drepper@redhat.com>
  194. * po/nl.po: Update from translation team.
  195. 2004-04-04 Ulrich Drepper <drepper@redhat.com>
  196. * math/test-tgmath.c: Declare compile_testl inly if we will define it.
  197. 2004-04-03 Ulrich Drepper <drepper@redhat.com>
  198. * sysdeps/powerpc/powerpc64/ffsll.c: New file.
  199. * string/test-ffs.c: Also test ffsl and ffsll.
  200. * sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.
  201. * sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching
  202. constraints for asm mem parameters.
  203. * sysdeps/powerpc/bits/atomic.h: Likewise.
  204. * sysdeps/powerpc/elf/libc-start.c: No need for a separate
  205. function for __aux_init_cache.
  206. * inet/test-ifaddrs.c: Fight warnings.
  207. * argp/argp-help.c: Fight warnings.
  208. * include/time.h: Declare __difftime.
  209. * sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid
  210. duplication in 64-bit version.
  211. * sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.
  212. 2004-04-03 Andreas Jaeger <aj@suse.de>
  213. * nis/nss-nis.c: Include <string.h> for strncmp.
  214. 2004-03-30 H.J. Lu <hongjiu.lu@intel.com>
  215. * Makeconfig (link-libc-static): Use $(static-gnulib) instead
  216. of $(gnulib).
  217. (libgcc_eh): New variable.
  218. (gnulib): Use it variable.
  219. (static-gnulib): New variable.
  220. * Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib).
  221. * config.make.in (have-as-needed): New variable.
  222. * configure.in: Check if linker supports --as-needed.
  223. 2004-04-02 Ulrich Drepper <drepper@redhat.com>
  224. * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file.
  225. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  226. Add internal_statvfs64.
  227. * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to
  228. compile 64bit version.
  229. * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip
  230. compatibility code if __ASSUME_STATFS64 is defined.
  231. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
  232. * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if
  233. __ASSUME_STATFS64 != 0.
  234. 2004-04-02 Thorsten Kukuk <kukuk@firun.suse.de>
  235. * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case.
  236. * nis/nss_nis/nis-initgroups.c (saveit): Likewise.
  237. * nis/nss_nis/nis-proto.c (saveit): Likewise.
  238. * nis/nss_nis/nis-rpc.c (saveit): Likewise.
  239. * nis/nss_nis/nis-service.c (saveit): Likewise.
  240. 2004-04-02 Jakub Jelinek <jakub@redhat.com>
  241. * nis/nss: Add SERVICES_AUTHORITATIVE.
  242. * nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE,
  243. NSS_FLAG_SERVICES_AUTHORITATIVE): Define.
  244. (_nis_default_nss_flags, _nis_check_default_nss): New decls.
  245. (_nis_default_nss): New inline.
  246. * nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h.
  247. (_nis_default_nss_flags, default_nss): New variables.
  248. (_nis_check_default_nss): New function.
  249. * nis/nss_nis/nis-initgroups.c: Don't include stdio.h and
  250. stdio_ext.h.
  251. (check_default_nss, default_nss): Move to nss-nis.c.
  252. (init): Removed.
  253. (_nss_nis_initgroups_dyn): Use _nis_default_nss ().
  254. * nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If
  255. NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup
  256. fails, return immediately.
  257. 2004-04-01 Roland McGrath <roland@redhat.com>
  258. * elf/tst-execstack.c (do_test): Make F static.
  259. 2004-04-01 Ulrich Drepper <drepper@redhat.com>
  260. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use
  261. __sigprocmask not sigprocmask.
  262. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  263. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  264. * include/string.h: Add libc_hidden_builtin_proto for memcmp.
  265. * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
  266. * sysdeps/i386/memcmp.S: Likewise.
  267. * sysdeps/i386/i686/memcmp.S: Likewise.
  268. * sysdeps/ia64/memcmp.S: Likewise.
  269. * sysdeps/sparc/sparc64/memcmp.S: Likewise.
  270. * sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
  271. * time/mktime.c: Likewise.
  272. * misc/getpass.c: Likewise.
  273. * time/difftime.c (__difftime): New renamed. Make old name alias.
  274. Use __difftime in recursive call.
  275. * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
  276. __tcgetattr() instead of tcgetattr().
  277. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
  278. Use __GI_exit.
  279. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
  280. __GI__exit.
  281. * sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
  282. __signbit inlines.
  283. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
  284. __sigprocmask not sigprocmask.
  285. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  286. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  287. * elf/elf.h: Define more ppc64 specific dynamic tags.
  288. 2004-04-01 Jakub Jelinek <jakub@redhat.com>
  289. * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
  290. is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp),
  291. yp_all, try yp_match (name), yp_all.
  292. 2004-04-01 Ulrich Drepper <drepper@redhat.com>
  293. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for
  294. ignored entries. Ignore AT_IGNOREPPC.
  295. 2004-03-31 Andreas Jaeger <aj@suse.de>
  296. * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
  297. clean.
  298. 2004-03-31 Ulrich Drepper <drepper@redhat.com>
  299. * locale/programs/localedef.c (construct_output_path): Remove
  300. remnants of CEN locale names.
  301. 2004-03-30 Thorsten Kukuk <kukuk@suse.de>
  302. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8.
  303. * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
  304. * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
  305. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
  306. * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
  307. 2004-03-30 Richard Henderson <rth@redhat.com>
  308. * sysdeps/alpha/remqu.S: Detect power-of-two special case.
  309. 2004-03-30 Ulrich Drepper <drepper@redhat.com>
  310. * sysdeps/generic/libc-start.c (LIBC_START_MAIN)
  311. [HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.
  312. 2004-03-30 Jakub Jelinek <jakub@redhat.com>
  313. * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol
  314. == NULL, try name/tcp and name/udp first before falling back into
  315. the sequential scanning. Use services.byname database for
  316. sequential scanning.
  317. (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3
  318. chars for integer.
  319. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert
  320. proto to host by order for snprintf.
  321. 2004-03-30 Ulrich Drepper <drepper@redhat.com>
  322. * nss/getent.c (services_keys): Don't implement lookups with
  323. missing protocol using getservent loop, just pass NULL.
  324. * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
  325. comparison with limit if we can rely on the syscall being available.
  326. * nis/nss_nis/nis-initgroups.c: Implement getting the information
  327. from the netid.byname map if the system administrator allows this.
  328. * nis/Makefile (distribute): Add nss.
  329. * nis/nss: New file.
  330. * grp/initgroups.c (initgroups): Limit the initial allocation to 64
  331. entries to not allocate too much on systems with really high limits.
  332. 2004-03-30 Jakub Jelinek <jakub@redhat.com>
  333. * nis/nss_nis/nis-service.c (struct search_t): New type.
  334. (dosearch): New function.
  335. (_nss_nis_getservbyname_r): Use it. Call yp_get_default_domain
  336. unconditionally.
  337. (_nss_nis_getservbyport_r): Likewise.
  338. 2004-03-29 Alexandre Oliva <aoliva@redhat.com>
  339. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to
  340. version names is SHLIB_COMPAT check.
  341. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
  342. 2004-03-29 Ulrich Drepper <drepper@redhat.com>
  343. * nis/nss_nis/nis-rpc.c (saveit): Improve memory handling. No need to
  344. allocate multiple blocks.
  345. (internal_nis_endrpcent): Adjust accordingly.
  346. * nis/nss_nis/nis-proto.c (saveit): Improve memory handling. No need
  347. to allocate multiple blocks.
  348. (internal_nis_endprotoent): Adjust accordingly.
  349. * nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling. No
  350. need to allocate multiple blocks.
  351. (_nss_nis_initgroups_dyn): Adjust accordingly.
  352. * nis/nss_nis/nis-ethers.c (saveit): Improve memory handling. No need
  353. to allocate multiple blocks.
  354. (internal_nis_endetherent): Adjust accordingly.
  355. * nis/nss_nis/nis-service.c (saveit): Improve memory handling. No need
  356. to allocate multiple blocks.
  357. (internal_nis_endservent): Adjust accordingly.
  358. * nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
  359. 2004-03-26 Thorsten Kukuk <kukuk@suse.de>
  360. * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't
  361. set errno if group does not exist.
  362. 2004-03-28 Ulrich Drepper <drepper@redhat.com>
  363. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
  364. _SC_SIGQUEUE_MAX.
  365. 2004-03-26 Ulrich Drepper <drepper@redhat.com>
  366. * elf/dl-caller.c: New file.
  367. * include/caller.h: New file.
  368. * Makefile (distribute): Add include/caller.h.
  369. * elf/Makefile (dl-routines): Add dl-caller.
  370. * elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end.
  371. * elf/dl-open.c (check_libc_caller): Removed.
  372. (dl_open_worker): Use __check_caller instead.
  373. * elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller.
  374. (_dl_start_final): Record l_text_end for ld.so map.
  375. (dl_main): Record l_text_end for main object and vdso.
  376. * include/link.h (struct link_map): Add l_text_end field.
  377. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
  378. _dl_check_caller field.
  379. Define enum allowmask. Add declaration of _dl_check_caller.
  380. * sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.
  381. 2004-03-26 Richard Henderson <rth@redhat.com>
  382. * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
  383. variable, add unsigned variants.
  384. * sysdeps/alpha/divrem.h: Remove file.
  385. * sysdeps/alpha/div_libc.h: New file.
  386. * sysdeps/alpha/divl.S: Rewrite from scratch.
  387. * sysdeps/alpha/reml.S: Likewise.
  388. * sysdeps/alpha/divq.S: Likewise.
  389. * sysdeps/alpha/remq.S: Likewise.
  390. * sysdeps/alpha/divlu.S: New file.
  391. * sysdeps/alpha/remlu.S: New file.
  392. * sysdeps/alpha/divqu.S: New file.
  393. * sysdeps/alpha/remqu.S: New file.
  394. 2004-03-26 Ulrich Drepper <drepper@redhat.com>
  395. * elf/dl-open.c (check_libc_caller): Fix typo.
  396. 2004-03-26 Jakub Jelinek <jakub@redhat.com>
  397. * elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
  398. 2003-03-25 Richard Henderson <rth@redhat.com>
  399. * sysdeps/alpha/backtrace.c: New file.
  400. 2004-03-25 Ulrich Drepper <drepper@redhat.com>
  401. * iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
  402. isxbase64.
  403. 2004-03-25 Richard Henderson <rth@redhat.com>
  404. * sysdeps/generic/strtol_l.c (__strtol_ul_max_tab,
  405. __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab,
  406. cutoff_tab, cutlim_tab, jmax_tab): New.
  407. (__strtol_l): Use them to avoid runtime division.
  408. 2004-03-24 Roland McGrath <roland@redhat.com>
  409. * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
  410. substitutions; the semicolon terminators are enough for ld anyway.
  411. * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of
  412. dynamically sized auto array in function already using alloca.
  413. * locale/programs/ld-ctype.c (ctype_output): Likewise.
  414. * locale/programs/ld-time.c (time_output): Likewise.
  415. * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for
  416. IOV array size.
  417. * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa)
  418. when also using dynamically-sized auto array.
  419. * locale/programs/locfile.c (locfile_read): Likewise.
  420. * locale/programs/repertoire.c (repertoire_read): Likewise.
  421. * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise.
  422. * locale/programs/locarchive.c (enlarge_archive): Likewise.
  423. * posix/annexc.c (check_header): Likewise.
  424. * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX.
  425. strlen ("") gets optimized away just as well.
  426. * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller.
  427. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
  428. * Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
  429. defining this target. Also elide -Wstrict-prototypes from CFLAGS.
  430. 2004-03-24 Ulrich Drepper <drepper@redhat.com>
  431. * stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
  432. parameter to unsigned char.
  433. * sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
  434. 2004-03-24 Jakub Jelinek <jakub@redhat.com>
  435. * stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
  436. not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if
  437. RETURN_LIMB_SIZE > 2.
  438. * stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double
  439. on 32-bit architectures reserve 8 limbs instead of 4.
  440. 2004-03-23 Jakub Jelinek <jakub@redhat.com>
  441. * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite):
  442. Define to __NR_p{read,write}64 if not defined.
  443. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread,
  444. __NR_pwrite): Define to __NR_p{read,write}64 if not defined instead
  445. of defining it the other way around.
  446. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls
  447. for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
  448. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  449. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  450. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  451. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  452. * sysdeps/unix/sysv/linux/alpha/pread64.c: Removed.
  453. * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed.
  454. * sysdeps/unix/sysv/linux/alpha/glob64.c: Removed.
  455. * sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed.
  456. * sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed.
  457. * sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed.
  458. * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed.
  459. * sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed.
  460. * sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed.
  461. * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed.
  462. * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed.
  463. * sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed.
  464. * sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed.
  465. * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed.
  466. * sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed.
  467. * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed.
  468. * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed.
  469. * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed.
  470. * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed.
  471. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed.
  472. * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed.
  473. * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed.
  474. * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed.
  475. * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed.
  476. * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed.
  477. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed.
  478. * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed.
  479. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed.
  480. * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed.
  481. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed.
  482. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed.
  483. * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed.
  484. * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed.
  485. * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed.
  486. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed.
  487. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed.
  488. * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed.
  489. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed.
  490. * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed.
  491. * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed.
  492. * sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed.
  493. * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed.
  494. * sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed.
  495. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed.
  496. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed.
  497. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed.
  498. * sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed.
  499. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed.
  500. * sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed.
  501. * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed.
  502. * sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed.
  503. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed.
  504. * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed.
  505. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed.
  506. * sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed.
  507. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed.
  508. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed.
  509. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed.
  510. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed.
  511. * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed.
  512. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed.
  513. * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed.
  514. * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed.
  515. * sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed.
  516. * sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed.
  517. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed.
  518. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed.
  519. * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed.
  520. * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed.
  521. * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed.
  522. * sysdeps/unix/sysv/linux/ia64/pread64.c: Removed.
  523. * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed.
  524. * sysdeps/unix/sysv/linux/ia64/glob64.c: Removed.
  525. * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed.
  526. * sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed.
  527. * sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed.
  528. * sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed.
  529. * sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed.
  530. * sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed.
  531. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed.
  532. * sysdeps/unix/sysv/linux/ia64/readdir.c: Removed.
  533. * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed.
  534. * sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed.
  535. * sysdeps/unix/sysv/linux/ia64/xstat.c: Removed.
  536. * sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed.
  537. * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed.
  538. * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed.
  539. * sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed.
  540. * sysdeps/unix/sysv/linux/ia64/getdents.c: Removed.
  541. * sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed.
  542. * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed.
  543. * sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed.
  544. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed.
  545. * sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed.
  546. * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed.
  547. * sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed.
  548. * sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed.
  549. * sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed.
  550. * sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed.
  551. * sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed.
  552. * sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed.
  553. * sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed.
  554. * sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed.
  555. * sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed.
  556. * sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed.
  557. * sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed.
  558. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed.
  559. * sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed.
  560. * sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed.
  561. * sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed.
  562. * sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed.
  563. * sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed.
  564. * sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed.
  565. * sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed.
  566. * sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed.
  567. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed.
  568. * sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed.
  569. * sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed.
  570. * sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed.
  571. * sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed.
  572. * sysdeps/unix/sysv/linux/alpha/Implies: New file.
  573. * sysdeps/unix/sysv/linux/alpha/getdents64.c: New file.
  574. * sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file.
  575. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file.
  576. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
  577. * sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file.
  578. * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file.
  579. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file.
  580. * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file.
  581. * sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
  582. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file.
  583. * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file.
  584. * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file.
  585. * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file.
  586. * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
  587. * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file.
  588. * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file.
  589. * sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file.
  590. * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file.
  591. * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file.
  592. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file.
  593. * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file.
  594. * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file.
  595. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file.
  596. * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file.
  597. * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file.
  598. * sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file.
  599. * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file.
  600. * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file.
  601. * sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file.
  602. * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file.
  603. * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file.
  604. * sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file.
  605. * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file.
  606. * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file.
  607. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file.
  608. * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file.
  609. * sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file.
  610. * sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file.
  611. * sysdeps/unix/sysv/linux/ia64/Implies: New file.
  612. * sysdeps/unix/sysv/linux/x86_64/Implies: New file.
  613. 2004-03-22 Richard Henderson <rth@redhat.com>
  614. * sysdeps/alpha/s_fabs.S: Remove file.
  615. * sysdeps/alpha/s_copysign.S: Remove file.
  616. 2004-03-22 Jakub Jelinek <jakub@redhat.com>
  617. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c
  618. (__getpagesize): Avoid warning about writing into read-only memory.
  619. * string/Makefile (routines): Add xpg-strerror.
  620. * string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU,
  621. redirect strerror_r to __xpg_strerror_r.
  622. * string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4.
  623. * sysdeps/generic/xpg-strerror.c: New file.
  624. * sysdeps/mach/xpg-strerror.c: New file.
  625. 2004-03-22 Joseph S. Myers <jsm@polyomino.org.uk>
  626. * sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use
  627. casts as lvalues.
  628. 2004-03-22 Andreas Jaeger <aj@suse.de>
  629. * elf/tst-dlmodcount.c (unload): Remove unused variable.
  630. * misc/tst-mntent.c (main): Use tmpfile instead of tmpnam.
  631. 2004-03-20 Roland McGrath <roland@frob.com>
  632. * sysdeps/mach/hurd/dl-execstack.c: New file.
  633. 2004-03-20 Ulrich Drepper <drepper@redhat.com>
  634. * po/ca.po: Update from translation team.
  635. 2004-03-20 Andreas Jaeger <aj@suse.de>
  636. * sysdeps/unix/sysv/linux/sched_getaffinity.c
  637. (__sched_getaffinity_old): Fix interface.
  638. * sysdeps/unix/sysv/linux/sched_setaffinity.c
  639. (__sched_setaffinity_old): Likewise.
  640. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Include <alloca.h>.
  641. 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  642. * sysdeps/unix/sysv/linux/kernel-features.h
  643. (__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
  644. (__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise.
  645. * sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.
  646. 2004-03-19 Ulrich Drepper <drepper@redhat.com>
  647. * time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff
  648. and rule_dstoff after reading the posixrules file.
  649. 2004-03-18 Ulrich Drepper <drepper@redhat.com>
  650. * malloc/malloc.c (__posix_memalign): Correct alignment check.
  651. Reported by Don Heller <dheller@cse.psu.edu>.
  652. 2004-03-18 Jakub Jelinek <jakub@redhat.com>
  653. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap
  654. variable and weak_extern for _dl_hwcap.
  655. (_DL_HWCAP_TLS_MASK): Define.
  656. (HWCAP_CHECK): Fix checking of non-platform hwcap bits. Use
  657. lib->osversion instead of cache_new->libs[middle].osversion.
  658. * stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals.
  659. * stdio-common/dprintf.c: Likewise.
  660. * stdio-common/fprintf.c: Likewise.
  661. * stdio-common/getline.c: Likewise.
  662. * stdio-common/getw.c: Likewise.
  663. * stdio-common/perror.c: Likewise.
  664. * stdio-common/printf-prs.c: Likewise.
  665. * stdio-common/printf.c: Likewise.
  666. * stdio-common/printf_size.c: Likewise.
  667. * stdio-common/psignal.c: Likewise.
  668. * stdio-common/putw.c: Likewise.
  669. * stdio-common/scanf.c: Likewise.
  670. * stdio-common/snprintf.c: Likewise.
  671. * stdio-common/sprintf.c: Likewise.
  672. * stdio-common/sscanf.c: Likewise.
  673. * stdio-common/tstgetln.c: Likewise.
  674. * stdio-common/vfprintf.c: Likewise.
  675. 2004-03-18 Paul Eggert <eggert@cs.ucla.edu>
  676. * posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define
  677. if not defined, fixing a typo (it used to be defined if
  678. __GNUC__ was not defined).
  679. 2004-03-18 Ulrich Drepper <drepper@redhat.com>
  680. * posix/sched.h: Change sched_getaffinity and sched_setaffinity
  681. interfaces: add new second parameter.
  682. * sysdeps/generic/sched_getaffinity.c: Implement interface change.
  683. * sysdeps/generic/sched_setaffinity.c: Likewise.
  684. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. Add
  685. compatibility interface.
  686. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
  687. * sysdeps/unix/sysv/linux/Versions: Add versions for changed
  688. interfaces.
  689. 2004-03-18 Roland McGrath <roland@redhat.com>
  690. * manual/Makefile (stamp-summary): Use -k option to sort,
  691. not traditional key selection syntax.
  692. Reported by Jim Gifford <giffordj@linkline.com>.
  693. 2004-03-18 Jakub Jelinek <jakub@redhat.com>
  694. * elf/ldconfig.c: Include stdbool.h.
  695. 2004-03-18 Roland McGrath <roland@redhat.com>
  696. * elf/ldconfig.c (parse_conf_include): New function.
  697. (parse_conf): Call it to parse lines starting with "include".
  698. Remaining words are glob patterns for more config files to read.
  699. Take additional bool argument to disable opt_chroot processing.
  700. (main): Update caller.
  701. 2004-03-17 Ulrich Drepper <drepper@redhat.com>
  702. * sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error
  703. the x86 code produces in case of mission permissions.
  704. Patch by Bernd Schmidt <bernds@redhat.com>.
  705. * resolv/netdb.h: Define AI_IDN_ALLOW_UNASSIGNED,
  706. AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED, and
  707. NI_IDN_USE_STD3_ASCII_RULES.
  708. * inet/getnameinfo.c (getnameinfo): Implement handling of
  709. NI_IDN_ALLOW_UNASSIGNED and NI_IDN_USE_STD3_ASCII_RULES.
  710. * sysdeps/posix/getaddrinfo.c (gaih_inet): Implement handling of
  711. AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES.
  712. 2004-03-17 Jakub Jelinek <jakub@redhat.com>
  713. * sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile.
  714. 2004-03-16 Jakub Jelinek <jakub@redhat.com>
  715. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling.
  716. (JB_SIZE): Undefine before including __longjmp-common.S again.
  717. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling.
  718. (JB_SIZE): Undefine before including setjmp-common.S again.
  719. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling.
  720. * sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling.
  721. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling.
  722. * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling.
  723. * sysdeps/powerpc/sigjmp.c: Spelling.
  724. 2004-03-16 Ulrich Drepper <drepper@redhat.com>
  725. * include/ctype.h: For libc, define isdigit, isdigit_l, and
  726. __isdigit_l as simple comparison macros.
  727. * include/wctype.h: For libc, define iswdigit, iswdigit_l, and
  728. __iswdigit_l as simple comparison macros.
  729. * wctype/wcfuncs_l.c: #undef iswdigit and __iswdigit.
  730. 2004-03-15 Ulrich Drepper <drepper@redhat.com>
  731. * sysdeps/sparc/fpu/bits/mathinline.h: Restore missing #ifdef.
  732. Patch by Richard Henderson.
  733. 2004-03-16 Jakub Jelinek <jakub@redhat.com>
  734. * sysdeps/generic/strtold_l.c (STRING_TYPE, STRTOLD, __STRTOLD,
  735. __STRTOD, INTERNAL, INTERNAL1): Define, use them.
  736. [! USE_WIDE_CHAR] (INTERNAL (__STRTOLD)): Add libc_hidden_def.
  737. * inet/getnameinfo.c: Include stdlib.h.
  738. 2004-03-15 Richard Henderson <rth@redhat.com>
  739. * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
  740. and bits/inf.h.
  741. * math/math.h: Include them.
  742. * sysdeps/alpha/fpu/bits/mathdef.h: Remove INFINITY.
  743. * sysdeps/arm/fpu/bits/mathdef.h: Likewise.
  744. * sysdeps/generic/bits/mathdef.h: Likewise.
  745. * sysdeps/i386/fpu/bits/mathdef.h: Likewise.
  746. * sysdeps/ia64/fpu/bits/mathdef.h: Likewise.
  747. * sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
  748. * sysdeps/mips/fpu/bits/mathdef.h: Likewise.
  749. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
  750. * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise.
  751. * sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
  752. * sysdeps/x86_64/fpu/bits/mathdef.h: Likewise.
  753. * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
  754. (HUGE_VALF, HUGE_VALL): Remove.
  755. * sysdeps/ieee754/bits/huge_val.h: Likewise.
  756. * sysdeps/sh/bits/huge_val.h: Likewise.
  757. * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
  758. * sysdeps/generic/bits/huge_valf.h: New file.
  759. * sysdeps/generic/bits/huge_vall.h: New file.
  760. * sysdeps/generic/bits/inf.h: New file.
  761. * sysdeps/ieee754/bits/huge_valf.h: New file.
  762. * sysdeps/ieee754/bits/inf.h: New file.
  763. * sysdeps/i386/bits/huge_val.h: Remove file.
  764. * sysdeps/i386/bits/huge_vall.h: New file.
  765. * sysdeps/ia64/bits/huge_val.h: Remove file.
  766. * sysdeps/ia64/bits/huge_vall.h: New file.
  767. * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
  768. * sysdeps/m68k/bits/huge_val.h: Remove file.
  769. * sysdeps/m68k/bits/huge_vall.h: New file.
  770. * sysdeps/s390/bits/huge_val.h: Remove file.
  771. * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
  772. * sysdeps/sparc/bits/huge_vall.h: New file.
  773. * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
  774. * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.
  775. * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
  776. * sysdeps/mips/bits/nan.h (NAN): Likewise.
  777. 2004-03-15 Ulrich Drepper <drepper@redhat.com>
  778. * iconv/gconv_simple.c (__gconv_transform_utf8_internal): Use only
  779. one copy of error handling code.
  780. * stdio-common/vfscanf.c: Simplify error handling macros. Use
  781. direct locale access functions.
  782. * sysdeps/generic/strcasestr.c (__strcasestr): Optimize use of
  783. tolower function.
  784. 2004-03-13 Jakub Jelinek <jakub@redhat.com>
  785. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const.
  786. (handle_amd): New function.
  787. (__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in
  788. linux_sysconf. Call handle_amd on AuthenticAMD.
  789. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise.
  790. 2004-03-14 Ulrich Drepper <drepper@redhat.com>
  791. * wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l.
  792. * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add real implementation here.
  793. Make the non-_l functions wrappers around the _l functions.
  794. * include/monetary.h: Declare __vstrmon_l.
  795. * include/string.h: Add libc_hidden_proto for __strcoll_l and
  796. __strxfrm_l.
  797. * include/time.h: Define ptime_locale_status. Declare
  798. __strptime_internal.
  799. * include/wchar.h: Add libc_hidden_proto for __wcscoll_l and
  800. __wcsxfrm_l.
  801. * stdlib/strfmon.c: Move the code to strfmon_l.c. Add little
  802. wrapper around __vstrfmon_l.
  803. * stdlib/strfmon_l.c: Add real implementation. Split into new
  804. function __vstrfmon_l to allow calling it from strfmon.
  805. * stdlib/strtod.c: Move real code to strtod_l.c and add wrapper.
  806. * stdlib/strtod_l.c: Add real implementation.
  807. * stdlib/strtof.c: Adjust to changed strtod.c.
  808. * stdlib/strtof_l.c: Include strtod_l.c now.
  809. * stdlib/strtold.c: New file.
  810. * stdlib/strtold_l.c: Removed.
  811. * string/strcoll.c: Move real code to strcoll_l.c: Add wrapper.
  812. * string/strcoll_l.c: Add real implementation.
  813. * string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper.
  814. * string/strxfrm_l.c: Add real implementation.
  815. * sysdeps/generic/strtol.c: Move real implementation to strtol_l.c.
  816. Add wrappers.
  817. * sysdeps/generic/strtol_l.c: Add real implementation.
  818. * sysdeps/generic/strtold.c: Removed.
  819. * sysdeps/generic/strtold_l.c: New file.
  820. * sysdeps/generic/strtoll_l.c: Include strtol_l.c now. Adjust
  821. #defines.
  822. * sysdeps/generic/strtoul_l.c: Likewise.
  823. * sysdeps/generic/strtoull_l.c: Likewise.
  824. * sysdeps/generic/wcstol_l.c: Likewise.
  825. * sysdeps/generic/wcstoll_l.c: Likewise.
  826. * sysdeps/generic/wcstoul_l.c: Likewise.
  827. * sysdeps/generic/wcstoull_l.c: Likewise.
  828. * sysdeps/ieee754/ldbl-128/strtold.c: Removed.
  829. * sysdeps/ieee754/ldbl-128/strtold_l.c: New file.
  830. * sysdeps/ieee754/ldbl-96/strtold.c: Removed.
  831. * sysdeps/ieee754/ldbl-96/strtold_l.c: New file.
  832. * sysdeps/m68k/strtold.c: Removed.
  833. * sysdeps/m68k/strtold_l.c: New file.
  834. * time/strftime.c: Move real code to strftime_l.c. Add wrapper.
  835. * time/strftime_l.c: Add real implementation.
  836. * time/strptime.c: Move real code to strptime_l.c. Add wrapper.
  837. * time/strptime_l.c: Add real implementation.
  838. * time/wcsftime.c: Simplify since only wrappers are defined in
  839. strftime.c.
  840. * time/wcsftime_l.c: Include strftime_l.c.
  841. * wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c
  842. anymore.
  843. * wcsmbs/wcscoll_l.c: Include strcoll_l.c.
  844. * wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c
  845. anymore.
  846. * wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c.
  847. * wcsmbs/wcstod.c: Prepare to include new strtod.c.
  848. * wcsmbs/wcstod_l.c: Include strtod_l.c.
  849. * wcsmbs/wcstof.c: Prepare to include new strtof.c.
  850. * wcsmbs/wcstof_l.c: Include strtof_l.c.
  851. * wcsmbs/wcstold.c: Prepare to include new strtold.c.
  852. * wcsmbs/wcstold_l.c: Include strtold_l.c.
  853. * locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get.
  854. * sysdeps/generic/strcasecmp.c: Optimize a bit. It's better to get
  855. a reference to the current locale and then use the _l functions.
  856. * sysdeps/generic/strncase.c: Likewise.
  857. 2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx>
  858. * cppflags-iterator.mk: Change libof-$(cpp-src) to
  859. libof-$(notdir $(cpp-src)).
  860. 2004-03-13 Ulrich Drepper <drepper@redhat.com>
  861. * resolv/netdb.h (EAI_OVERFLOW): Define.
  862. (NI_IDN): Define.
  863. * inet/getnameinfo.c (getnameinfo): Return error in case argument
  864. buffers overflow. Implement NI_IDN.
  865. 2004-03-12 Ulrich Drepper <drepper@redhat.com>
  866. * resolv/netdb.h: Define AI_CANONIDN.
  867. * sysdeps/posix/getaddrinfo.c: Implement AI_CANONIDN.
  868. 2004-03-12 Richard Henderson <rth@redhat.com>
  869. * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate
  870. oldvalue from CENABLE to CDISABLE.
  871. 2004-03-12 Ulrich Drepper <drepper@redhat.com>
  872. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file.
  873. * sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX.
  874. * posix/getconf.c (vars): Add _SC_ values for cache information.
  875. * sysdeps/generic/bits/confname.h: Add _SC_* values for cache
  876. information.
  877. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to
  878. allow yet another sysconf function to include the one in this file.
  879. * sysdeps/unix/sysv/linux/i386/sysconf.c: New file.
  880. * sysdeps/generic/sysconf.c: Add default handling for cache line info.
  881. 2004-03-11 Ulrich Drepper <drepper@redhat.com>
  882. * sysdeps/posix/sysconf.c (__sysconf): Add missing support for
  883. some _SC_* values.
  884. 2004-03-10 Chris Heath <chris@heathens.co.nz>
  885. * iconvdata/gconv.map: Add gconv_end (fixes memory leak).
  886. 2004-03-11 Jakub Jelinek <jakub@redhat.com>
  887. * sysdeps/powerpc/powerpc32/__longjmp.S (JB_SIZE): Undefine before
  888. including __longjmp-common.S again.
  889. * sysdeps/powerpc/powerpc64/__longjmp.S (JB_SIZE): Likewise.
  890. * sysdeps/powerpc/powerpc32/setjmp.S (JB_SIZE): Undefine before
  891. including setjmp-common.S again.
  892. * sysdeps/powerpc/powerpc64/setjmp.S (JB_SIZE): Likewise.
  893. * sysdeps/powerpc/novmxsetjmp.h (__novmx__longjmp): Fix type of
  894. first argument in the prototype.
  895. * sysdeps/powerpc/longjmp.c (__vmx__longjmp, __vmx__libc_longjmp):
  896. Remove bogus semicolons.
  897. * sysdeps/s390/dl-tls.h: Only add __tls_get_offset assembly if
  898. IS_IN_rtld.
  899. (__TLS_GET_ADDR): Use __tls_get_offset, not __tls_get_addr.
  900. 2004-03-11 Ulrich Drepper <drepper@redhat.com>
  901. * resolv/ns_ttl.c: Don't add ns_parse_ttl for libresolv.so.
  902. 2004-03-10 Ulrich Drepper <drepper@redhat.com>
  903. * sysdeps/generic/errno.c: Include <dl-sysdep.h>. Use
  904. RTLD_PRIVATE_ERRNO to decide whether errno compat symbols are needed.
  905. * elf/dl-sym.c: Unify _dl_sym and _dl_vsym code and make the entry
  906. points wrappers around the unified code.
  907. 2004-03-11 Richard Henderson <rth@redhat.com>
  908. * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
  909. (glibc21_stat): New.
  910. * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
  911. * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
  912. * sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
  913. * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
  914. code for _STAT_VER_GLIBC2_3_4.
  915. (__libc_missing_axp_stat64): New.
  916. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
  917. * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
  918. (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
  919. (struct stat, struct stat64): Update to new format.
  920. (_STATBUF_ST_NSEC): New.
  921. 2004-03-11 Jakub Jelinek <jakub@redhat.com>
  922. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
  923. (__novec_swapcontext): Branch to novec_* labels.
  924. 2004-03-10 Ulrich Drepper <drepper@redhat.com>
  925. * posix/getopt.c (_): Don't define here for glibc.
  926. 2004-03-10 Jakub Jelinek <jakub@redhat.com>
  927. * include/libc-symbols.h [__ASSEMBLY__] (compat_text_section,
  928. compat_data_section): Define.
  929. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add
  930. attribute_compat_text_section.
  931. * sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise.
  932. * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob,
  933. __old_globfree): Likewise.
  934. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown):
  935. Likewise.
  936. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c
  937. (__posix_fadvise64_l32): Likewise.
  938. * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise.
  939. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c
  940. (__posix_fadvise64_l32): Likewise.
  941. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl):
  942. Likewise.
  943. * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise.
  944. * sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32):
  945. Likewise.
  946. * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise.
  947. * hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise.
  948. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
  949. (__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END.
  950. (__novec_swapcontext, __swapcontext_stub): Add compat_text_section.
  951. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
  952. (__makecontext_stub): Likewise.
  953. (__novec_makecontext): Likewise. Fix name in END () to match
  954. function name.
  955. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
  956. (__setcontext): Use END instead of PSEUDO_END.
  957. (__novec_setcontext): Add compat_text_section. Use END instead of
  958. PSEUDO_END, fix the name in END () to match function name.
  959. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
  960. (__getcontext, __novec_getcontext): Use END instead of PSEUDO_END.
  961. (__novec_getcontext, __getcontext_stub): Add compat_text_section.
  962. 2004-03-10 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  963. * sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate.
  964. (COPY_UNALIGNED_WORD): Remove cast used as lvalue.
  965. 2004-03-10 Ulrich Drepper <drepper@redhat.com>
  966. * sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2.
  967. 2004-03-10 Richard Henderson <rth@redhat.com>
  968. * sysdeps/generic/errno.c: Disable versioning for rtld.
  969. * sysdeps/generic/Makefile (elf/shared): Add unwind-pe.
  970. * sysdeps/generic/unwind-pe.c: New file.
  971. * sysdeps/generic/unwind-pe.h: Only prototypes for _LIBC without
  972. _LIBC_DEFINITIONS.
  973. 2004-03-10 Ulrich Drepper <drepper@redhat.com>
  974. * include/libc-symbols.h: Define attribute_compat_text_section and
  975. attribute_compat_data_section.
  976. * io/ftw.c: Mark compat code with attribute_compat_text_section.
  977. * libio/iofopncook.c: Likewise.
  978. * libio/oldfileops.c: Likewise.
  979. * libio/oldiofclose.c: Likewise.
  980. * libio/oldiofdopen.c: Likewise.
  981. * libio/oldiofgetpos.c: Likewise.
  982. * libio/oldiofgetpos64.c: Likewise.
  983. * libio/oldiofopen.c: Likewise.
  984. * libio/oldiofsetpos.c: Likewise.
  985. * libio/oldiofsetpos64.c: Likewise.
  986. * libio/oldiopopen.c: Likewise.
  987. * libio/oldpclose.c: Likewise.
  988. * libio/oldtmpfile.c: Likewise.
  989. * nptl/forward.c: Likewise.
  990. * nss/getXXbyYY_r.c: Likewise.
  991. * nss/getXXent_r.c: Likewise.
  992. * posix/tst-vfork1.c: Likewise.
  993. * stdlib/canonicalize.c: Likewise.
  994. * stdlib/old_atexit.c: Likewise.
  995. * sysdeps/generic/glob.c: Likewise.
  996. * sysdeps/posix/posix_fallocate64.c: Likewise.
  997. * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise.
  998. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
  999. * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
  1000. * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
  1001. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
  1002. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
  1003. * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
  1004. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
  1005. * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
  1006. * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
  1007. * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
  1008. * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
  1009. * posix/regexec.c: Likewise.
  1010. * sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4
  1011. should be the default symbol. Having none misses the point.
  1012. 2004-03-09 Ulrich Drepper <drepper@redhat.com>
  1013. * stdlib/qsort.c (_quicksort): Initialize first stack element [BZ #16].
  1014. 2004-03-05 Jakub Jelinek <jakub@redhat.com>
  1015. * posix/regexec.c (regexec): Return with error on unknown eflags.
  1016. Replace weak_alias with versioned_symbol.
  1017. (__compat_regexec): New.
  1018. * posix/Versions (libc): Add regexec@GLIBC_2.3.4.
  1019. 2004-03-09 Richard Henderson <rth@redhat.com>
  1020. * math/math.h (isgreater, isgreaterequal, isless, islessequal,
  1021. islessgreater, isunordered): Use builtins if available.
  1022. * sysdeps/i386/fpu/bits/mathinline.h: Don't define via builtins.
  1023. * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
  1024. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
  1025. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
  1026. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
  1027. * sysdeps/alpha/fpu/bits/mathinline.h (isgreater, isgreaterequal,
  1028. isless, islessequal, islessgreater): Remove; use default.
  1029. (isunordered): Convert inputs to double.
  1030. 2004-02-09 Jakub Jelinek <jakub@redhat.com>
  1031. * posix/Makefile (tests): Add tst-vfork2.
  1032. * posix/tst-vfork1.c (do_test): Fix comment.
  1033. * posix/tst-vfork2.c: New test.
  1034. 2004-03-09 Ulrich Drepper <drepper@redhat.com>
  1035. * elf/dl-lookup.c (_dl_lookup_symbol_x): Fix possible NULL pointer
  1036. derefernce in error message. Pretty printing.
  1037. * po/nl.po: Update from translation team.
  1038. 2004-03-08 Andreas Schwab <schwab@suse.de>
  1039. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't truncate
  1040. sysinfo pointer value.
  1041. 2004-03-08 Paul Eggert <eggert@cs.ucla.edu>
  1042. Merge from gnulib. We now assume C89 or better.
  1043. * posix/getopt1.c (const): Remove.
  1044. * posix/getopt.c (const): Likewise.
  1045. * posix/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only,
  1046. _getopt_long_only_r, main): Use prototypes, not old-style definitions.
  1047. * posix/getopt.c (exchange, _getopt_initialize, _getopt_internal_r,
  1048. _getopt_internal, getopt, main): Likewise.
  1049. * posix/getopt.h (getopt, getopt_long, getopt_long_only): Likewise.
  1050. * posix/getopt.c [!defined VMS || !HAVE_STRING_H]:
  1051. Include <string.h> regardless. No need for <strings.h>.
  1052. [!defined _LIBC]: Include "gettext.h" rather than rolling it ourselves.
  1053. (_): Define to gettext always.
  1054. (my_index): Remove: all uses changed to strchr.
  1055. (strlen): Remove declaration.
  1056. * posix/getopt.h (struct option.name): Always const char *.
  1057. 2004-03-08 Marcus Brinkmann <marcus@gnu.org>
  1058. * posix/getopt.h (_getopt_internal): Move to ...
  1059. * posix/getopt_int.h: ... here. New file.
  1060. * include/getopt_int.h: New file.
  1061. * include/getopt.h: Remove libc_hidden_proto for getopt_long
  1062. and getopt_long_only.
  1063. * posix/getopt1.c: Include "getopt_int.h". Remove
  1064. libc_hidden_def for getopt_long and getopt_long_only.
  1065. (_getopt_long_r, _getopt_long_only_r): New functions.
  1066. * posix/getopt.c: Include "getopt_int.h".
  1067. (__getopt_initialized): Variable removed.
  1068. (nextchar, ordering, posixly_correct, first_nonopt, last_nonopt):
  1069. Static variables removed.
  1070. (nonoption_flags_max_len, nonoption_flags_len) [_LIBC &&
  1071. USE_NONOPTION_FLAGS]: Static variables removed.
  1072. (getopt_data): New static variable.
  1073. (SWAP_FLAGS): Use d->__nonoption_flags_len instead
  1074. nonoption_flags_len.
  1075. (exchange): Add new argument D of type struct getopt_data *.
  1076. Replace optind with d->optind, optarg with d->optarg, opterr with
  1077. d->opterr, optopt with d->optopt, nextchar with d->__nextchar,
  1078. first_nonopt with d->__first_nonopt, last_nonopt with
  1079. d->__last_nonopt, d->ordering with d->__ordering,
  1080. d->posixly_correct with d->__posixly_correct (which is now an
  1081. int instead a string, so fix users), nonoption_flags_len
  1082. with d->__nonoption_flags_len, nonoption_flags_max_len with
  1083. d->__nonoption_flags_max_len.
  1084. (_getopt_initialize): Likewise.
  1085. (_getopt_internal): Rename to ...
  1086. (_getopt_internal_r): ... this. Also add new argument D of type
  1087. struct getopt_data * and use of members of D rather than global or
  1088. static variables as described for exchange() above. Add new argument
  1089. to invocations of _getopt_initialize and exchange.
  1090. (_getopt_internal): Reimplement in terms of _getopt_internal_r.
  1091. * argp/argp-parse.c: Include <getopt_int.h>.
  1092. [_LIBC]: Do not include <bits/libc-lock.h>.
  1093. [!_LIBC && HAVE_CTHREADS_H]: Do not include <cthreads.h>.
  1094. [!_LIBC] (_argp_hang): Make static.
  1095. (getopt_lock, LOCK_GETOPT, UNLOCK_GETOPT): Remove.
  1096. (_argp_unlock_xxx): Remove.
  1097. (parser_init): Do not use LOCK_GETOPT.
  1098. (parser_finalize): Do not use UNLOCK_GETOPT.
  1099. (struct parser): New member OPT_DATA.
  1100. (parser_init): Initialize parser->opt_data. Use
  1101. parser->opt_data.opterr instead of opterr.
  1102. (parser_parse_opt): Use parser->opt_data.optarg instead optarg.
  1103. (parser_parse_next): Likewise. Use parser->opt_data.optind
  1104. instead optind. Use parser->opt_data.optopt instead of optopt.
  1105. Call _getopt_long_only_r and _getopt_long_r instead of
  1106. getopt_long_only and getopt_long, and pass the extra argument.
  1107. 2004-03-09 Ulrich Drepper <drepper@redhat.com>
  1108. * iconv/gconv_db.c: Don't define lock as static. Rename to
  1109. __gconv_lock and export from the file.
  1110. * iconv/gconv_int.h: Declare __gconv_lock.
  1111. * libio/iofclose.c [_LIBC] (_IO_new_fclose): Lock gconv lock
  1112. before __gconv_release_step calls.
  1113. Patch by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
  1114. * iconv/gconv_simple.c (internal_ucs4_loop): Fix typo in last change.
  1115. * posix/Makefile (tests): Add tst-vfork1.
  1116. * posix/tst-vfork1.c: New file.
  1117. 2004-03-08 Ulrich Drepper <drepper@redhat.com>
  1118. * sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use
  1119. it in the fixup function declarations.
  1120. * elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined,
  1121. provide dummy definition. Use macro in fixup function
  1122. definitions.
  1123. * sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and
  1124. RESTORE_PID are defined, use it.
  1125. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
  1126. * sysdeps/posix/gai_strerror.c: Add error string for EAI_IDN_ENCODE.
  1127. * Makerules: Use extra-modules.mk if modules-names is defined.
  1128. * extra-modules.mk: New file.
  1129. * dlfcn/Makefile (CPPFLAGS-modcxaatexit.c): Removed.
  1130. * elf/Makefile (CFLAGS-interp.c): Add -DNOT_IN_libc=1.
  1131. * csu/Makefile ($(objpfx)version-info.h): Pass -DNOT_IN_libc=1 to
  1132. compiler.
  1133. * Makefile (distribute): Add symbol-hacks.h and extra-modules.mk.
  1134. * sysdeps/generic/symbol-hacks.h: New file.
  1135. * sysdeps/wordsize-32/symbol-hacks.h: New file.
  1136. * sysdeps/wordsize-32/divdi3.c: Define *_internal aliases for __divdi3,
  1137. __moddi3, __udivdi3, and __umoddi3.
  1138. * include/libc-symbols.h: Include <symbol-hacks.h>.
  1139. 2004-03-08 Jeroen Dekkers <jeroen@dekkers.cx>
  1140. * elf/rtld.c (_rtld_global_ro) [MAP_COPY]: Don't set _dl_unload_cache.
  1141. * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps):
  1142. Don't use INTUSE with _dl_signal_error.
  1143. 2004-03-08 Ulrich Drepper <drepper@redhat.com>
  1144. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
  1145. Don't use INTUSE with _dl_signal_error.
  1146. 2004-03-08 Richard Henderson <rth@redhat.com>
  1147. * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Fix typo
  1148. in name.
  1149. 2004-03-07 Ulrich Drepper <drepper@redhat.com>
  1150. * config.h.in: Add entry for HAVE_LIBIDN.
  1151. * configure.in: If libidn add-on present define HAVE_LIBIDN.
  1152. * Versions.def: Add entry for libcidn.
  1153. 2004-03-07 Simon Josefsson <jas@extundo.com>
  1154. * resolv/netdb.h [__USE_GNU]: Add new AI_IDN ai_flags for addrinfo.
  1155. [__USE_GNU]: Add new error code EAI_IDN_ENCODE for getaddrinfo.
  1156. * sysdeps/posix/getaddrinfo.c: Add prototype for __idna_to_ascii_lz
  1157. and define IDNA_SUCCESS.
  1158. (gaih_inet): If ai_flags have AI_IDN, invoke __idna_to_ascii_lz.
  1159. (getaddrinfo): Fix EAI_BADFLAGS test to include AI_IDN.
  1160. All changes only applicable when glibc is compiled with the libidn
  1161. add-on.
  1162. 2004-03-07 Ulrich Drepper <drepper@redhat.com>
  1163. * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call
  1164. _dl_lookup_symbol_x not _dl_lookup_symbol.
  1165. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving
  1166. _dl_hwcap into _rtld_global_ro.
  1167. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  1168. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
  1169. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
  1170. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
  1171. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
  1172. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  1173. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  1174. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  1175. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  1176. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  1177. 2004-03-07 Andreas Schwab <schwab@suse.de>
  1178. * elf/dl-sym.c: Include <dl-tls.h> only when USE_TLS.
  1179. 2004-03-07 Andreas Jaeger <aj@suse.de>
  1180. * iconvdata/iso-2022-cn-ext.c (BODY): Remove cast used as lvalue.
  1181. * iconvdata/tcvn5712-1.c (EMIT_SHIFT_TO_INIT): Likewise.
  1182. * iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
  1183. * iconvdata/shift_jisx0213.c (EMIT_SHIFT_TO_INIT): Likewise.
  1184. * iconvdata/tscii.c (EMIT_SHIFT_TO_INIT): Likewise.
  1185. 2004-03-07 Ulrich Drepper <drepper@redhat.com>
  1186. * sysdeps/generic/ldsodefs.h: Move _dl_initial_searclist,
  1187. _dl_hp_timing_overhead, _dl_init_all_dirs, and the content of
  1188. dl-procinfo.c from _rtld_global to _rtld_global_ro.
  1189. * elf/rtld.c: Adjust initializer for _rtld_global_ro.
  1190. * elf/dl-close.c: Use GLRO instead of GL where appropriate.
  1191. * elf/dl-libc.c: Likewise.
  1192. * elf/dl-load.c: Likewise.
  1193. * sysdeps/i386/dl-procinfo.h: Likewise.
  1194. * sysdeps/i386/i686/hp-timing.h: Likewise.
  1195. * sysdeps/ia64/hp-timing.h: Likewise.
  1196. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
  1197. * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
  1198. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise.
  1199. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
  1200. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Likewise.
  1201. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
  1202. * string/test-string.h: Define GLRO.
  1203. 2004-03-06 Ulrich Drepper <drepper@redhat.com>
  1204. * elf/dl-lookup.c: We don't need for specialized lookup functions.
  1205. Combining the functionality does not slow down relocation processing,
  1206. it might even speed it up a little.
  1207. * sysdeps/generic/ldsodefs.h: Adjust prototypes for lookup function.
  1208. Add only one function pointer to rtlf_global_ro.
  1209. * elf/do-lookup.h: Replace #ifs with ifs.
  1210. * elf/dl-libc.c: Adjust _dl_lookup_* callers.
  1211. * elf/dl-reloc.c: Likewise.
  1212. * elf/dl-runtime.c: Likewise.
  1213. * elf/dl-sym.c: Likewise.
  1214. * elf/rtld.c: Likewise. Adjust _rtld_global_ro initialization.
  1215. 2004-03-06 Richard Henderson <rth@redhat.com>
  1216. * sysdeps/generic/ldsodefs.h (__rtld_local_attribute__,
  1217. __rtld_global_attribute__): Undef after use.
  1218. (_rtld_local_ro): Define __rtld_local_attribute__ with just hidden
  1219. if available.
  1220. * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure.
  1221. * sysdeps/alpha/Implies: Add alpha/soft-fp.
  1222. * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface.
  1223. * sysdeps/alpha/Subdirs: New file.
  1224. * sysdeps/alpha/soft-fp/Makefile: New file.
  1225. * sysdeps/alpha/soft-fp/Versions: New file.
  1226. * sysdeps/alpha/soft-fp/local-soft-fp.h: New file.
  1227. * sysdeps/alpha/soft-fp/ots_add.c: New file.
  1228. * sysdeps/alpha/soft-fp/ots_cmp.c: new file.
  1229. * sysdeps/alpha/soft-fp/ots_cmpe.c: New file.
  1230. * sysdeps/alpha/soft-fp/ots_cvtqux.c: New file.
  1231. * sysdeps/alpha/soft-fp/ots_cvtqx.c: New file.
  1232. * sysdeps/alpha/soft-fp/ots_cvttx.c: New file.
  1233. * sysdeps/alpha/soft-fp/ots_cvtxq.c: New file.
  1234. * sysdeps/alpha/soft-fp/ots_cvtxt.c: New file.
  1235. * sysdeps/alpha/soft-fp/ots_div.c: New file.
  1236. * sysdeps/alpha/soft-fp/ots_mul.c: New file.
  1237. * sysdeps/alpha/soft-fp/ots_nintxq.c: New file.
  1238. * sysdeps/alpha/soft-fp/ots_sub.c: New file.
  1239. 2004-03-06 Ulrich Drepper <drepper@redhat.com>
  1240. * configure.in: Recognize --enable-bind-now.
  1241. * elf/dynamic-link.h (elf_get_dynamic_info): Allow bind-now flags
  1242. in ld.so.
  1243. * Makerules (LDFLAGS-c.so): Add -z now if so configured.
  1244. * elf/Makefile ($(objpfx)ld.so): Likewise.
  1245. * config.make.in (bind-now): New definition.
  1246. * elf/dl-fini.c (_dl_fini): Combine _dl_debug_printf calls.
  1247. * elf/rtld.c (print_statistics): Likewise.
  1248. * elf/dl-open.c: No need to pass any parameter to _dl_start_profile.
  1249. They are the same in both places.
  1250. * elf/dl-profile.c: Likewise.
  1251. * elf/rtld.c: Likewise.
  1252. * sysdeps/generic/ldsodefs.h: Likewise.
  1253. * elf/dl-support.c: Define _dl_profile_output variable. Initialize it.
  1254. 2004-03-05 Ulrich Drepper <drepper@redhat.com>
  1255. * elf/Versions: Remove functions which are not exported anymore.
  1256. * dlfcn/dlerror.c: Call ld.so functions through GLSO.
  1257. * dlfcn/dlinfo.c: Likewise.
  1258. * elf/dl-close.c: Likewise.
  1259. * elf/dl-libc.c: Likewise.
  1260. * elf/dl-open.c: Likewise.
  1261. * elf/dl-sym.c: Likewise.
  1262. * sysdeps/generic/libc-start.c: Likewise.
  1263. * elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for
  1264. functions which are not exported anymore.
  1265. * elf/dl-deps.c: Likewise.
  1266. * elf/dl-dst.h: Likewise.
  1267. * elf/dl-error.c: Likewise.
  1268. * elf/dl-fini.c: Likewise.
  1269. * elf/dl-init.c: Likewise.
  1270. * elf/dl-load.c: Likewise.
  1271. * elf/dl-lookup.c: Likewise.
  1272. * elf/dl-misc.c: Likewise.
  1273. * elf/dl-profile.c: Likewise.
  1274. * elf/dl-profstub.c: Likewise.
  1275. * elf/dl-reloc.c: Likewise.
  1276. * elf/dl-runtime.c: Likewise.
  1277. * elf/dl-version.c: Likewise.
  1278. * elf/do-lookup.h: Likewise.
  1279. * include/dlfcn.h: Likewise.
  1280. * sysdeps/generic/dl-cache.c: Likewise.
  1281. * sysdeps/generic/dl-fptr.c: Likewise.
  1282. * sysdeps/generic/dl-origin.c: Likewise.
  1283. * sysdeps/generic/dl-sysdep.c: Likewise.
  1284. * sysdeps/generic/dl-tls.c: Likewise.
  1285. * sysdeps/generic/ldsodefs.h: Likewise.
  1286. * sysdeps/i386/dl-tls.h: Likewise.
  1287. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
  1288. * elf/rtld.c: Likewise. Export function though _rtld_global_ro.
  1289. * sysdeps/generic/ldsodefs.h (struct rtld_global): Move
  1290. dl_debug_fd to rtld_global_ro.
  1291. * elf/rtld.c: Use GLRO instead of GL for dl_debug_fd.
  1292. * elf/dl-misc.c: Likewise.
  1293. * malloc/malloc.c: Don't call exported interface in the implementation.
  1294. * include/wctype.h: Add libc_hidden_proto for __towctrans.
  1295. * wctype/towctrans.c: Add libc_hidden_def.
  1296. * libio/memstream.c (open_memstream): Use _IO_init with INTUSE.
  1297. * posix/regexec.c (transit_state): Remove unused variable
  1298. next_state.
  1299. * posix/regcomp.c (init_dfa): Use __btowc instead of btowc.
  1300. * sysdeps/generic/ldsodefs.h: Define new structure rtld_global_ro.
  1301. Declare _rtld_global_ro and _rtld_local_ro. Move members of
  1302. rtld_global structure into the new one if they are modified only
  1303. at startup time. Define GLRO to access _rtld_global_ro.
  1304. * elf/Versions: Export _rtld_global_ro.
  1305. * elf/dl-close.c: Use GLRO instead of GL where appropriate.
  1306. * elf/dl-conflict.c: Likewise.
  1307. * elf/dl-deps.c: Likewise.
  1308. * elf/dl-dst.h: Likewise.
  1309. * elf/dl-error.c: Likewise.
  1310. * elf/dl-fini.c: Likewise.
  1311. * elf/dl-init.c: Likewise.
  1312. * elf/dl-load.c: Likewise.
  1313. * elf/dl-lookup.c: Likewise.
  1314. * elf/dl-minimal.c: Likewise.
  1315. * elf/dl-open.c: Likewise.
  1316. * elf/dl-profile.c: Likewise.
  1317. * elf/dl-reloc.c: Likewise.
  1318. * elf/dl-runtime.c: Likewise.
  1319. * elf/dl-support.c: Likewise.
  1320. * elf/dl-version.c: Likewise.
  1321. * elf/do-lookup.h: Likewise.
  1322. * elf/rtld.c: Likewise.
  1323. * sysdeps/generic/dl-cache.c: Likewise.
  1324. * sysdeps/generic/dl-origin.c: Likewise.
  1325. * sysdeps/generic/dl-sysdep.c: Likewise.
  1326. * sysdeps/generic/libc-start.c: Likewise.
  1327. * sysdeps/generic/dl-cache.c: Likewise.
  1328. * sysdeps/i386/dl-machine.h: Likewise.
  1329. * sysdeps/i386/setfpucw.c: Likewise.
  1330. * sysdeps/i386/fpu/fclrexcpt.c: Likewise.
  1331. * sysdeps/i386/fpu/fedisblexcpt.c: Likewise.
  1332. * sysdeps/i386/fpu/feenablxcpt.c: Likewise.
  1333. * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
  1334. * sysdeps/i386/fpu/fesetround.c: Likewise.
  1335. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
  1336. * sysdeps/i386/fpu/ftestexcept.c: Likewise.
  1337. * sysdeps/unix/sysv/linux/dl-execstat.c: Likewise.
  1338. * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise.
  1339. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
  1340. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
  1341. * sysdeps/unix/sysv/linux/getclktck.c: Likewise.
  1342. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
  1343. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
  1344. * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
  1345. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
  1346. * sysdeps/unix/sysv/linux/i386/sigaction.h: Likewise.
  1347. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
  1348. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  1349. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  1350. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  1351. * sysdeps/x86_64/dl-machine.h: Likewise.
  1352. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  1353. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  1354. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  1355. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  1356. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
  1357. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
  1358. * sysdeps/m68k/dl-machine.h: Likewise.
  1359. * sysdeps/ia64/dl-machine.h: Likewise.
  1360. * sysdeps/arm/dl-machine.h: Likewise.
  1361. * sysdeps/alpha/dl-machine.h: Likewise.
  1362. * generic/dl-fptr.c: Likewise.
  1363. * mach/hurd/dl-sysdep.c: Likewise.
  1364. * unix/sysv/linux/ia64/dl-static.c: Likewise.
  1365. * unix/sysv/linux/ia64/getpagesize.c: Likewise.
  1366. * unix/sysv/linux/m68k/getpagesize.c: Likewise.
  1367. * unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
  1368. 2004-03-04 Ulrich Drepper <drepper@redhat.com>
  1369. * sysdeps/generic/ldsodefs.h: Don't define _dl_name_match_p as inline.
  1370. * elf/dl-misc.c: Define _dl_name_match_p here.
  1371. * elf/dl-open.c (check_libc_caller): Don't use _dl_name_match_p.
  1372. * elf/dl-open.c (dl_open_worker): Check that _dl_open is called
  1373. from the right place.
  1374. 2004-01-15 Paolo Bonzini <bonzini@gnu.org>
  1375. * posix/regex.h (REG_STARTEND): Define.
  1376. * posix/regexec.c (regexec): Check for REG_STARTEND.
  1377. 2004-02-29 Paolo Bonzini <bonzini@gnu.org>
  1378. * posix/regexec.c (transit_state): Don't handle state == NULL.
  1379. Move state log and backreference management...
  1380. (merge_state_with_log): ... to this function.
  1381. (find_recover_state): New function.
  1382. (check_matching): Use find_recover_state to get a non-NULL
  1383. state when an invalid state is reached. Compute the amount
  1384. of initial characters to be skipped less conservatively when
  1385. multi-byte character sets are in use. Do not check
  1386. dfa->nbackref if the state log is NULL. Initialize err.
  1387. (acquire_init_state_context): Expect err to be initialized.
  1388. Fix spacing.
  1389. 2004-03-05 Jakub Jelinek <jakub@redhat.com>
  1390. * sysdeps/sparc/sparc32/elf/start.S: Handle PIEs.
  1391. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  1392. 2004-03-04 Jakub Jelinek <jakub@redhat.com>
  1393. * iconv/iconv_prog.c (process_block): Handle omit_invalid.
  1394. If iconv returns EILSEQ with omit_invalid, continue converting
  1395. and return 1 if no other errors are seen.
  1396. (main): Set status to EXIT_FAILURE whenever process_* returns
  1397. nonzero, but only stop processing further files if iy returns
  1398. negative value.
  1399. 2004-03-03 Jakub Jelinek <jakub@redhat.com>
  1400. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: New file.
  1401. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: New file.
  1402. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64):
  1403. Remove.
  1404. * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: New file.
  1405. * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: New file.
  1406. * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64):
  1407. Remove.
  1408. * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: New file.
  1409. * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: New file.
  1410. * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64):
  1411. Remove.
  1412. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: New file.
  1413. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: New
  1414. file.
  1415. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Removed.
  1416. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: New file.
  1417. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: New file.
  1418. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
  1419. (posix_fadvise64): Remove.
  1420. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: New file.
  1421. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: New file.
  1422. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
  1423. (posix_fadvise64): Remove.
  1424. 2004-03-02 Andreas Schwab <schwab@suse.de>
  1425. * sysdeps/unix/sysv/linux/powerpc/powerpc32/xstat.c: New file.
  1426. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstat.c: New file.
  1427. * sysdeps/unix/sysv/linux/powerpc/powerpc32/lxstat.c: New file.
  1428. 2004-03-01 Ulrich Drepper <drepper@redhat.com>
  1429. * nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization
  1430. of return value.
  1431. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
  1432. * sysdeps/unix/sysv/linux/kernel-features.h: Add support for
  1433. __ASSUME_GETDENTS32_D_TYPE.
  1434. * sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels use
  1435. getdents syscall again since it provides d_type information.
  1436. 2004-02-29 Andreas Jaeger <aj@suse.de>
  1437. * manual/install.texi (Tools for Compilation): Autoconf 2.53 is
  1438. required.
  1439. (Supported Configurations): Add x86_64-*-linux.
  1440. 2004-02-28 Ulrich Drepper <drepper@redhat.com>
  1441. * sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu.
  1442. 2004-02-27 Jakub Jelinek <jakub@redhat.com>
  1443. * elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr.
  1444. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Only set
  1445. GL(dl_sysinfo) if non-zero.
  1446. * sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h.
  1447. 2004-02-26 Ulrich Drepper <drepper@redhat.com>
  1448. * nss/getXXbyYY_r.c: Pass result also to the nscd_* function. Don't
  1449. set *result here.
  1450. * nscd/nscd_proto.h: Add new argument for pointer to result pointer
  1451. to all nscd_* functions.
  1452. * nscd/nscd_getgr_r.c (nscd_getgr_r): Add new parameter. Store result
  1453. pointer in the address provided by the new parameter if successful.
  1454. Otherwise store NULL. Return zero if no entry found.
  1455. (__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass
  1456. it on.
  1457. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add new parameter. Store
  1458. result pointer in the address provided by the new parameter if
  1459. successful. Otherwise store NULL. Return zero if no entry found.
  1460. (__nscd_gethostbyname_r, __nscd_gethostbyname2_r,
  1461. __nscd_gethostbyaddr_r): Add new parameter and pass it on.
  1462. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add new parameter. Store result
  1463. pointer in the address provided by the new parameter if successful.
  1464. Otherwise store NULL. Return zero if no entry found.
  1465. (__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass
  1466. it on.
  1467. 2004-02-26 Jakub Jelinek <jakub@redhat.com>
  1468. * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set
  1469. retval to -1 on error.
  1470. 2004-02-26 Ulrich Drepper <drepper@redhat.com>
  1471. * stdlib/canonicalize.c (__realpath): Simplify.
  1472. * posix/regcomp.c (parse_expression): Avoid duplication in calls
  1473. to build_charclass_op.
  1474. 2004-02-26 Jakub Jelinek <jakub@redhat.com>
  1475. * elf/rtld.c (dl_main): Correctly set up l_map_end and l_addr
  1476. in vDSO's link_map, don't assume l_addr == 0. Set GL(dl_sysinfo)
  1477. from e_entry only if AT_SYSINFO not present and adjust by l_addr.
  1478. Take vDSO into account when inserting rtld into _dl_loaded chain.
  1479. 2004-02-26 Ulrich Drepper <drepper@redhat.com>
  1480. * sunrpc/svcauth_des.c (authdes_getucred): Removed fixed limit on
  1481. number of groups in the cache. Relax the disconnect between the
  1482. interface of authdes_getucred and netname2user a bit.
  1483. * sunrpc/auth_unix.c (authunix_create_default): Don't allocate
  1484. huge arrays on the stack.
  1485. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Use the official
  1486. not cancelable interfaces.
  1487. 2004-02-24 Arnold D. Robbins <arnold@skeeve.com>
  1488. * posix/regex_internal.c (build_wcs_upper_buffer): Enclose
  1489. `offsets_needed' label in `#ifdef _LIBC' to silence `unused label'
  1490. compiler warning.
  1491. 2004-02-24 Nelson H.F. Beebe <beebe@math.utah.edu>
  1492. * posix/regcomp.c (parse_expression): Add cast to (const unsigned
  1493. char *) in calls to `build_charclass_op'.
  1494. * posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call
  1495. to `wcrtomb'.
  1496. * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
  1497. bitset_mask, re_string_char_size_a, re_string_wchar_at,
  1498. re_string_elem_size_at): Change to use prototypes.
  1499. (re_string_char_size_at, re_string_wchar_at,
  1500. re_string_elem_size_at): Declare as `internal_function'.
  1501. 2004-02-25 Ulrich Drepper <drepper@redhat.com>
  1502. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
  1503. _SC_NGROUPS_MAX.
  1504. 2004-02-23 Jakub Jelinek <jakub@redhat.com>
  1505. * wcsmbs/mbrtowc.c (__mbrtowc): Cap s + n at the end of address space.
  1506. * stdlib/Makefile (tests): Add testmb2.
  1507. (testmb2-ENV): New.
  1508. * stdlib/testmb2.c: New test.
  1509. 2004-02-23 Jakub Jelinek <jakub@redhat.com>
  1510. * sysdeps/posix/getaddrinfo.c (gaih_inet): If _res has not been
  1511. inited yet, try to init it before saving old _res.options.
  1512. * posix/Makefile (xtests): Add bug-ga2.
  1513. (generated): Add bug-ga2.mtrace and bug-ga2-mem.
  1514. (xtests): Depend on bug-ga2-mem.
  1515. ($(objpfx)bug-ga2-mem, bug-ga2-ENV): New.
  1516. * posix/bug-ga2.c: New test.
  1517. 2004-02-22 Ulrich Drepper <drepper@redhat.com>
  1518. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register
  1519. content also in case of an overflow in the parameter.
  1520. Reported by Momchil Velikov <velco@fadata.bg>.
  1521. 2004-02-21 Ulrich Drepper <drepper@redhat.com>
  1522. * elf/dynamic-link.h (elf_get_dynamic_info): Recognize DF_1_NOW.
  1523. In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used.
  1524. 2004-02-21 Andreas Jaeger <aj@suse.de>
  1525. * posix/bug-ga1.c: Include <string.h> for memset prototype.
  1526. * elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.
  1527. * iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as
  1528. lvalue.
  1529. 2004-02-19 Carlos O'Donell <carlos@baldric.uwo.ca>
  1530. * sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__]
  1531. (__frame_state_for): Set frame_State_for to abort if the compiler
  1532. is using sjlj.
  1533. * sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to
  1534. build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper.
  1535. 2004-02-20 Alexandre Oliva <aoliva@redhat.com>
  1536. * resolv/Versions: Remove semicolon from the end of libresolv's
  1537. GLIBC_2.3.2 version block.
  1538. * Versions.def (libresolv): Add GLIBC_2.3.2.
  1539. 2004-02-19 Carlos O'Donell <carlos@baldric.uwo.ca>
  1540. * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp
  1541. status register loads.
  1542. 2004-02-20 Thorsten Kukuk <kukuk@suse.de>
  1543. * nscd/nscd.c (termination_handler): Use _exit instead of exit
  1544. 2004-02-20 Ulrich Drepper <drepper@redhat.com>
  1545. * nscd/nscd.c (main): Report fork errors.
  1546. * dlfcn/dlsym.c: Get ld.so loading lock before the call into ld.so.
  1547. * dlfcn/dlvsym.c: Likewise.
  1548. * elf/dl-addr.c: Get loading lock while using _dl_loaded data.
  1549. * elf/dl-fini.c: Likewise.
  1550. Patch by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
  1551. 2004-02-20 Jakub Jelinek <jakub@redhat.com>
  1552. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the
  1553. 2003-11-27 atan2 test.
  1554. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect
  1555. with #ifndef __powerpc64__.
  1556. * sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If
  1557. DL_ARGV_NOT_RELRO defined, don't use attribute_relro.
  1558. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
  1559. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
  1560. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
  1561. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove.
  1562. * sysdeps/alpha/dl-sysdep.h: New file.
  1563. * sysdeps/ia64/dl-sysdep.h: New file.
  1564. * sysdeps/sparc/dl-sysdep.h: New file.
  1565. 2004-02-19 Jakub Jelinek <jakub@redhat.com>
  1566. * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated
  1567. for .gnu.linkonce.b.__sparc32_atomic_locks section.
  1568. (__sparc32_atomic_locks): Add __sec_comment at the end of section name.
  1569. 2004-02-19 Steven Munroe <sjmunroe@us.ibm.com>
  1570. * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC):
  1571. Define as static.
  1572. * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE
  1573. because gcc does not allow inline of functions that call setjmp.
  1574. 2004-02-19 Steven Munroe <sjmunroe@us.ibm.com>
  1575. * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit.
  1576. 2004-02-19 Jakub Jelinek <jakub@redhat.com>
  1577. * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't
  1578. use attribute_relro for _dl_argv.
  1579. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
  1580. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
  1581. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
  1582. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define.
  1583. 2004-02-19 Ulrich Drepper <drepper@redhat.com>
  1584. * libio/iopopen.c (_IO_new_proc_open): It's not kosher to use
  1585. vfork instead of fork.
  1586. * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
  1587. * sysdeps/unix/clock_settime.c (clock_settime): Fix typo which
  1588. prevented system-dependent handling from being used.
  1589. 2004-02-18 Carlos O'Donell <carlos@baldric.uwo.ca>
  1590. * test-skeleton.c (main): If set, use environment variable
  1591. TIMEOUTFACTOR to scale test TIMEOUT.
  1592. 2004-02-18 Ulrich Drepper <drepper@redhat.com>
  1593. * nscd/nscd_conf.c: Include <stdio_ext.h>.
  1594. 2004-02-16 Ulrich Drepper <drepper@redhat.com>
  1595. * stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop
  1596. as well.
  1597. * stdlib/canonicalize.c (__realpath): Remove unnecessary copy
  1598. operations.
  1599. * nscd/nscd_conf.c (nscd_parse_file): Little optimization.
  1600. 2004-02-14 Thorsten Kukuk <kukuk@suse.de>
  1601. * nscd/dbg_log.c (set_logfile): Only save name of logfile,
  1602. don't open it.
  1603. (init_logfile): New function, open logfile if requested.
  1604. * nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile.
  1605. * nscd/nscd.c (main): Call init_logfile after forking in background.
  1606. * nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile.
  1607. 2004-02-16 Ulrich Drepper <drepper@redhat.com>
  1608. * elf/rtld.c (dl_main): Don't fail execution if file named in
  1609. ld.so.preload is not present [BZ #18].
  1610. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended
  1611. changes in last patch.
  1612. * posix/regexec.c (transit_state): Fix typo in commented-out code
  1613. [BZ #6].
  1614. * sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match
  1615. partial bytes [BZ #24].
  1616. * posix/Makefile (tests): Add bug-ga1.
  1617. * posix/bug-ga1.c: New file.
  1618. 2004-02-13 Steven Munroe <sjmunroe@us.ibm.com>
  1619. * sysdeps/powerpc/powerpc64/__longjmp-common.S: New file.
  1620. * sysdeps/powerpc/powerpc64/__longjmp.S [NOT_IN_libc](__longjmp):
  1621. Non-versioned __longjmp for rtld-__longjmp.
  1622. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
  1623. default version of __longjmp.
  1624. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
  1625. (__novmx__longjmp): Original version of __longjmp.
  1626. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [NOT_IN_libc](_setjmp):
  1627. Non-versioned _setjmp for rtld-_setjmp.
  1628. [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define
  1629. as default version of _setjmp.
  1630. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
  1631. (__novmx_setjmp): Original version of _setjmp.
  1632. * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__vmxsetjmp): Branch to
  1633. __vmx__sigsetjmp and define as default version of setjmp.
  1634. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
  1635. (__novmxsetjmp): Original version of setjmp.
  1636. * sysdeps/powerpc/powerpc64/setjmp-common.S: New file.
  1637. * sysdeps/powerpc/powerpc64/setjmp.S [NOT_IN_libc](__setjmp):
  1638. Non-versioned __sigsetjmp for rtld-setjmp.
  1639. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
  1640. as default version of __sigsetjmp.
  1641. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)]
  1642. (__novmx__sigsetjmp): Original version of __sigsetjmp.
  1643. * sysdeps/powerpc/powerpc32/__longjmp-common.S: New File
  1644. * sysdeps/powerpc/powerpc32/__longjmp.S [NOT_IN_libc](__longjmp):
  1645. Non-versioned __longjmp for rtld-__longjmp.
  1646. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
  1647. default version of __longjmp.
  1648. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1649. (__novmx__longjmp): Original version of __longjmp.
  1650. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S [NOT_IN_libc](_setjmp):
  1651. Non-versioned _setjmp for rtld-_setjmp.
  1652. [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define
  1653. as default version of _setjmp.
  1654. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1655. (__novmx_setjmp): Original version of _setjmp.
  1656. * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__vmxsetjmp): Branch to
  1657. __vmx__sigsetjmp and define as default version of setjmp.
  1658. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1659. (__novmxsetjmp): Original version of setjmp.
  1660. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: New file.
  1661. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S [NOT_IN_libc](__longjmp):
  1662. Non-versioned __longjmp for rtld-__longjmp.
  1663. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as
  1664. default version of __longjmp.
  1665. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1666. (__novmx__longjmp): Original version of __longjmp.
  1667. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: New file.
  1668. * sysdeps/powerpc/powerpc32/fpu/setjmp.S [NOT_IN_libc](__setjmp):
  1669. Non-versioned __sigsetjmp for rtld-setjmp.
  1670. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
  1671. as default version of __sigsetjmp.
  1672. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1673. (__novmx__sigsetjmp): Original version of __sigsetjmp.
  1674. * sysdeps/powerpc/powerpc32/setjmp-common.S: New file.
  1675. * sysdeps/powerpc/powerpc32/setjmp.S [NOT_IN_libc](__setjmp):
  1676. Non-versioned __sigsetjmp for rtld-setjmp.
  1677. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define
  1678. as default version of __sigsetjmp.
  1679. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)]
  1680. (__novmx__sigsetjmp): Original version of __sigsetjmp.
  1681. * sysdeps/powerpc/Dist: New File.
  1682. * sysdeps/powerpc/Makefile (sysdep_routines): Add novmx-longjmp.c
  1683. and novmx-sigjmp.c
  1684. * sysdeps/powerpc/Versions (libc): To GLIBC_2.3_4 add _longjmp,
  1685. __sigsetjmp, _setjmp, longjmp, and setjmp. To GLIBC_PRIVATE add
  1686. __novmx__libc_longjmp, __novmx__libc_siglongjmp, __vmx__libc_longjmp,
  1687. and __vmx__libc_siglongjmp.
  1688. * sysdeps/powerpc/bits/setjmp.h: Define JB_VRSAVE, JB_VRS, and adjust
  1689. JB_SIZE to add VMX regs to __jmp_buf.
  1690. * sysdeps/powerpc/longjmp.c: New file.
  1691. * sysdeps/powerpc/novmxsetjmp.h: New file.
  1692. * sysdeps/powerpc/novmx-longjmp.c: New file.
  1693. * sysdeps/powerpc/novmx-sigjmp.c: New file.
  1694. * sysdeps/powerpc/sigjmp.c: New file.
  1695. 2004-02-13 Jakub Jelinek <jakub@redhat.com>
  1696. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf):
  1697. Define.
  1698. (__lrintl, lrintl): Remove.
  1699. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in
  1700. strong_alias spelling.
  1701. * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove.
  1702. * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file.
  1703. 2004-02-12 Ulrich Drepper <drepper@redhat.com>
  1704. * posix/getopt.h: Add some non-gcc support. Patch by Aharon Robbins.
  1705. 2004-02-12 Mark Brown <bmark@us.ibm.com>
  1706. * sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license.
  1707. 2004-02-12 Jakub Jelinek <jakub@redhat.com>
  1708. * sysdeps/powerpc/fpu/s_lrint.c: Move to...
  1709. * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here.
  1710. * sysdeps/powerpc/fpu/s_llrint.c: Move to...
  1711. * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here.
  1712. * sysdeps/powerpc/fpu/s_llrintf.c: Move to...
  1713. * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here.
  1714. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
  1715. * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file.
  1716. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file.
  1717. * math/libm-test.inc (lrint_test): Add new test.
  1718. (llrint_test, lround_test, llround_test): Likewise.
  1719. * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Fix special case
  1720. with result taking up 48 bits.
  1721. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
  1722. * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
  1723. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Fix special case
  1724. with result taking up 31 bits.
  1725. 2004-02-12 Ulrich Drepper <drepper@redhat.com>
  1726. * locale/programs/locale.c (show_locale_vars): Don't print a value
  1727. for LANG if it is not set.
  1728. 2004-02-11 Jakub Jelinek <jakub@redhat.com>
  1729. * posix/regexec.c (check_node_accept_bytes): Return 0 if char_len is 0.
  1730. (find_collation_sequence_value): Don't look beyond end of
  1731. SYMB_EXTRAMB table.
  1732. * posix/Makefile (tests): Add bug-regex23.
  1733. (bug-regex23-ENV): New.
  1734. * posix/bug-regex23.c: New file.
  1735. 2004-02-10 Roland McGrath <roland@frob.com>
  1736. * sysdeps/mach/hurd/times.c (__times): Use union instead of cast.
  1737. * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise.
  1738. * sysdeps/mach/hurd/configure.in: Move `retcode' check to ...
  1739. * sysdeps/mach/configure.in: ... here.
  1740. * sysdeps/mach/hurd/configure: Regenerated.
  1741. * sysdeps/mach/configure.in: Regenerated.
  1742. 2004-02-10 Ulrich Drepper <drepper@redhat.com>
  1743. * sysdeps/generic/setenv.c (__add_to_environ): Don't let the
  1744. temporary copies of the variables accumulate on the stack.
  1745. * stdio-common/_i18n_number.h: Finish last patch.
  1746. 2004-02-09 Ulrich Drepper <drepper@redhat.com>
  1747. * sysdeps/i386/i686/memcmp.S: New file. Patch by HJ Lu.
  1748. 2003-12-05 Roland McGrath <roland@redhat.com>
  1749. * sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old
  1750. for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4.
  1751. * sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86.
  1752. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.
  1753. 2004-02-09 Ulrich Drepper <drepper@redhat.com>
  1754. * nis/ypclnt.c: Cleanup last patch.
  1755. 2004-02-09 Andreas Jaeger <aj@suse.de>
  1756. * configure.in: Remove glibcbug creation.
  1757. * configure: Regenerated.
  1758. * sysdeps/x86_64/fpu/s_copysignf.S: Only load 4 bytes.
  1759. 2004-02-03 Thorsten Kukuk <kukuk@suse.de>
  1760. * nis/ypclnt.c (__yp_bind_client_create): New, small chunk
  1761. of duplicated code from __yp_bind.
  1762. (__yp_bind_file): New, binding dir code from __yp_bind.
  1763. (__yp_bind_client_create): New, ypbind code from __yp_bind.
  1764. (__ypclnt_call): New, make NIS query.
  1765. (do_ypcall): At first use cached data, then try data from
  1766. binding directory, after this ask ypbind for a working ypserv.
  1767. Based on a patch from Jeff Bastian <jmbastia@ti.com> and
  1768. Chris Barrera <cbarrera@ti.com>
  1769. 2004-01-19 Roland McGrath <roland@redhat.com>
  1770. * configure.in: Don't set CCVERSION.
  1771. * configure: Regenerated.
  1772. * glibcbug.in: File removed.
  1773. * Makefile (install-bin-script): Remove glibcbug.
  1774. (glibcbug): Target removed.
  1775. (distclean-1): Don't rm glibcbug.
  1776. (distribute): Remove glibcbug.in.
  1777. 2004-02-09 Roland McGrath <roland@redhat.com>
  1778. * time/tzset.c (tzset_internal): Cap hour in POSIX $TZ rule format to
  1779. 24, not 23.
  1780. 2004-01-29 Roland McGrath <roland@redhat.com>
  1781. * io/ftwtest-sh: Use $tmp consistently, not literal /tmp.
  1782. Reported by Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>.
  1783. 2004-02-09 Ulrich Drepper <drepper@redhat.com>
  1784. * libio/genops.c (_IO_cleanup): Do not use locking when flushing
  1785. the buffers. Some thread might be using a stream.
  1786. 2004-02-09 Andreas Jaeger <aj@suse.de>
  1787. * sysdeps/x86_64/memcpy.S: Fix alignment [BZ #7].
  1788. Patch by Jan Beulich <jbeulich@novell.com>.
  1789. 2004-02-09 Andreas Schwab <schwab@suse.de>
  1790. * include/rpc/rpc.h: Declare thread variables with their correct type.
  1791. * sunrpc/clnt_perr.c: Don't cast thread variables.
  1792. * sunrpc/clnt_raw.c: Likewise.
  1793. * sunrpc/clnt_simp.c: Likewise.
  1794. * sunrpc/key_call.c: Likewise.
  1795. * sunrpc/svcauth_des.c: Likewise.
  1796. * sunrpc/svc.c: Likewise.
  1797. * sunrpc/svc_raw.c: Likewise.
  1798. * sunrpc/svc_simple.c: Likewise.
  1799. 2004-02-09 Ulrich Drepper <drepper@redhat.com>
  1800. * stdio-common/_i18n_number.h: Support printing localized decimal
  1801. point and thousand separator.
  1802. * wctype/wctrans.c: Add __wctrans alias.
  1803. * include/wctype.h: Declare __wctrans.
  1804. Based on a patch by Hamed Malek.
  1805. * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits
  1806. other than the status bits [BZ #10].
  1807. 2004-02-08 Ulrich Drepper <drepper@redhat.com>
  1808. Make stream locking operations really work.
  1809. * misc/Makefile (CFLAGS-mntent_r.c): Define.
  1810. * shadow/Makefile (CFLAGS-fgetspent_r.c): Define.
  1811. (CFLAGS-putspent.c): Define.
  1812. * grp/Makefile (CFLAGS-fgetgrent_r.c): Define.
  1813. (CFLAGS-putgrent.c): Define.
  1814. * pwd/Makefile (CFLAGS-fgetpwent_r.c): Define.
  1815. Reported by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
  1816. * elf/dl-load.c (lose): Use noinline attribute instead of silly
  1817. alloca to prevent inlining.
  1818. * elf/dl-runtime.c (fixup): Likewise.
  1819. (profile_fixup): Likewise.
  1820. * stdio-common/printf_size.c: Undo parts of patch from 2000-2-11.
  1821. Initialize width correctly.
  1822. 2004-02-07 Andreas Jaeger <aj@suse.de>
  1823. * iconv/gconv_simple.c (ucs4le_internal_loop): Remove cast used as
  1824. lvalue.
  1825. (internal_ucs4le_loop_single): Likewise.
  1826. (ucs4_internal_loop): Likewise.
  1827. (BODY): Likewise.
  1828. (internal_ucs4_loop_single): Likewise.
  1829. * iconvdata/iso8859-1.c (BODY): Likewise.
  1830. * iconvdata/cp1255.c (EMIT_SHIFT_TO_INIT): Likewise.
  1831. * iconvdata/cp1258.c (EMIT_SHIFT_TO_INIT): Likewise.
  1832. * iconvdata/gb18030.c (BODY): Likewise.
  1833. * iconvdata/armscii-8.c (BODY): Likewise.
  1834. * stdlib/msort.c (msort_with_tmp): Likewise.
  1835. * iconv/gconv_open.c (__gconv_open): Remove conditional expression
  1836. as lvalue.
  1837. 2004-02-06 Steven Munroe <sjmunroe@us.ibm.com>
  1838. * sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as
  1839. weak extern.
  1840. (__elf_machine_runtime_setup): Invalidate the instruction cache over
  1841. the whole range of the PLT.
  1842. 2004-02-06 Andreas Schwab <schwab@suse.de>
  1843. * posix/regcomp.c (build_range_exp): Fix off-by-one.
  1844. (parse_bracket_exp): Likewise.
  1845. 2004-02-05 Ulrich Drepper <drepper@redhat.com>
  1846. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define
  1847. _HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard.
  1848. 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
  1849. * posix/regexec.c (check_matching): Add P_MATCH_FIRST parameter.
  1850. (re_search_internal): Pass new parameter to check_matching.
  1851. (check_matching): Unless a parenthesized group is found at the
  1852. beginning of the regexp, advance P_MATCH_FIRST until we entered
  1853. a state different from the initial state.
  1854. 2004-02-01 Ulrich Drepper <drepper@redhat.com>
  1855. * math/libm-test.inc (lround_test): Add new test.
  1856. (llround_test): Likewise.
  1857. (lrint_test): Likewise.
  1858. (llrint_test): Likewise.
  1859. * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case
  1860. with result taking up 20 bits.
  1861. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
  1862. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise..
  1863. * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special
  1864. case with result taking up 31 bits.
  1865. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
  1866. * po/nl.po: Update from translation team.
  1867. 2004-01-30 Andreas Schwab <schwab@suse.de>
  1868. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK,
  1869. FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC,
  1870. SEGV_PSTKOVF): Remove underscore prefix from definition.
  1871. 2004-01-28 Paolo Bonzini <bonzini@gnu.org>
  1872. Merge regex changes in gawk.
  1873. * posix/regcomp.c (build_range_exp) [!_LIBC]: Check validity
  1874. of collation elements.
  1875. * posix/regex.c: Include limits.h.
  1876. * posix/regex.h: Document REG_ECOLLATE correctly.
  1877. * posix/regex_internal.h [!_LIBC && !ENABLE_NLS]: Disable NLS.
  1878. 2004-01-24 Andreas Jaeger <aj@suse.de>
  1879. * malloc/obstack.h: Import gnulib version.
  1880. * malloc/obstack.c: Likewise.
  1881. 2004-01-26 David Mosberger <davidm@hpl.hp.com>
  1882. * elf/link.h (struct dl_phdr_info): Fix typo in comment.
  1883. * elf/rtld.c (dl_main): After incrementing dl_nloaded, also
  1884. increment dl_load_adds.
  1885. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs)
  1886. with equivalent GL(dl_load_adds - GL(dl_nloaded).
  1887. (dl_iterate_phdr): Likewise.
  1888. * elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs).
  1889. * elf/dl-support.c: Remove global variable _dl_load_subs.
  1890. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
  1891. _dl_load_subs member.
  1892. 2004-01-27 Jakub Jelinek <jakub@redhat.com>
  1893. * elf/rtld.c (_dl_start_final): Don't set l_relro_* here.
  1894. (_dl_start): And neither here.
  1895. (dl_main): Set GL(dl_loaded)->l_relro_* and
  1896. GL(dl_rtld_map)->l_relro_*.
  1897. 2004-01-23 David Mosberger <davidm@hpl.hp.com>
  1898. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add members
  1899. _dl_load_adds and _dl_load_subs.
  1900. * elf/dl-support.c (_dl_load_adds): New variable.
  1901. (_dl_load_subs): Likewise.
  1902. * elf/dl-object.c (_dl_new_object): Increment dl_load_adds.
  1903. * elf/dl-close.c (_dl_close): Increment dl_load_subs.
  1904. * elf/link.h (struct dl_phdr_info): Add members dlpi_adds and
  1905. dlpi_subs.
  1906. * include/link.h: Likewise.
  1907. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds
  1908. and dlpi_subs members.
  1909. (dl_iterate_phdr): Likewise.
  1910. * elf/tst-dlmodcount.c: New file.
  1911. * elf/Makefile (distribute): Mention tst-dlmodcount.c.
  1912. (tests): If build-shared, mention tst-dlmodcount.
  1913. ($(objpfx)tst-dlmodcount): If build-shared, build and
  1914. run tst-dlmodcount.
  1915. 2004-01-22 Jakub Jelinek <jakub@redhat.com>
  1916. * elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection
  1917. into...
  1918. (_dl_protect_relro): New routine.
  1919. * sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype.
  1920. * elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size
  1921. from bootstrap_map.
  1922. (_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here.
  1923. Call _dl_protect_relro for libraries if prelinking.
  1924. 2004-01-23 Richard Henderson <rth@redhat.com>
  1925. * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4.
  1926. * sysdeps/alpha/fpu/Versions (libm): Likewise.
  1927. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise.
  1928. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.
  1929. 2004-01-22 Andreas Jaeger <aj@suse.de>
  1930. * sysdeps/ieee754/dbl-64/e_pow.c (log2): Rename to my_log2 to
  1931. avoid warnings for builtin function log2.
  1932. * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Add proper unwind
  1933. information.
  1934. 2004-01-20 Ulrich Drepper <drepper@redhat.com>
  1935. * sysdeps/unix/sysv/linux/sys/epoll.h: Add EPOLLONESHOT.
  1936. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
  1937. Patch by Davide Libenzi.
  1938. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  1939. __ASSUME_NO_CLONE_DETACHED for 2.6.2+ kernels.
  1940. * catgets/Makefile ($(objpfx)de.msg): Run sed in C locale.
  1941. * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use off64_t
  1942. instead of loff_t. Include <fcntl.h>.
  1943. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add readahead prototype.
  1944. * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Likewise.
  1945. * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Likewise.
  1946. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Likewise.
  1947. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1948. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1949. * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Likewise.
  1950. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1951. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1952. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  1953. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1954. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1955. * elf/dl-load.c: Don't add attribute_relro to max_dirnamelen.
  1956. * sysdeps/generic/inttypes.h: Fix PRI*FAST{16,32} macros.
  1957. 2003-12-31 Bruno Haible <bruno@clisp.org>
  1958. * iconvdata/iso_6937-2.c (to_ucs4): Map 0x7E to U+007E, not U+203E.
  1959. Map 0xA6 to U+0023. Map 0xA8 to U+00A4.
  1960. (to_ucs4_comb): Map 0xC5 0x20 to U+00AF.
  1961. (from_ucs4): Map U+00ED to 0xC2 0x69, not 0xC2 0xE9.
  1962. (BODY for TO_LOOP): Don't map U+02DC. Map U+02DD to 0xCD 0x20, not
  1963. 0x00 0x20. Don't map U+2500..U+25E3.
  1964. 2004-01-19 Jakub Jelinek <jakub@redhat.com>
  1965. * posix/regexec.c (get_subexp): Remove bkref_str variable.
  1966. Extend buffers if needed before comparisons.
  1967. (get_subexp_sub): Handle clean_state_log_if_needed failure.
  1968. 2004-01-17 Ulrich Drepper <drepper@redhat.com>
  1969. * sysdeps/i386/i486/bits/atomic.h (atomic_add): Fix test for using
  1970. atomic_decrement. Patch by Davin McCall.
  1971. 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
  1972. * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
  1973. (__sim_disabled_exceptions, __sim_round_mode): Declare with
  1974. hidden data and nocommon.
  1975. * sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
  1976. (__sim_disabled_exceptions, __sim_round_mode): Use
  1977. libc_hidden_proto.
  1978. * sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
  1979. (__sim_disabled_exceptions, __sim_round_mode): Likewise.
  1980. 2004-01-16 Ulrich Drepper <drepper@redhat.com>
  1981. * elf/elf.h: Define PT_IA_64_HP_OPT_ANOT, PT_IA_64_HP_HSL_ANOT, and
  1982. PT_IA_64_HP_STACK.
  1983. 2004-01-16 Richard Henderson <rth@redhat.com>
  1984. * include/unistd.h (__libc_enable_secure): Mark attribute_relro.
  1985. (__libc_enable_secure_internal): Likewise.
  1986. * elf/dl-load.c: Don't declare __libc_stack_end.
  1987. * sysdeps/generic/libc-start.c: Likewise.
  1988. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
  1989. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h.
  1990. * sysdeps/generic/backtrace.c: Likewise.
  1991. 2004-01-15 Ulrich Drepper <drepper@redhat.com>
  1992. * Versions.def: Add GLIBC_2.3.4.
  1993. 2004-01-15 Richard Henderson <rth@redhat.com>
  1994. * sysdeps/unix/alpha/sysdep.h: Revert last change.
  1995. 2004-01-15 Richard Henderson <rth@redhat.com>
  1996. * sysdeps/alpha/dl-machine.h (RTLD_START): Use _dl_argv_internal.
  1997. * sysdeps/unix/alpha/sysdep.h [PIC] (SYSCALL_ERROR_HANDLER): Use
  1998. !samegp relocation.
  1999. 2004-01-15 Richard Henderson <rth@redhat.com>
  2000. * sysdeps/unix/sysv/linux/alpha/Makefile [stdlib]: Process
  2001. ucontext-offsets.sym.
  2002. * sysdeps/unix/sysv/linux/alpha/getcontext.S: New file.
  2003. * sysdeps/unix/sysv/linux/alpha/makecontext.S: New file.
  2004. * sysdeps/unix/sysv/linux/alpha/setcontext.S: New file.
  2005. * sysdeps/unix/sysv/linux/alpha/swapcontext.S: New file.
  2006. * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: New file.
  2007. 2004-01-15 Richard Henderson <rth@redhat.com>
  2008. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Prefix stubs with
  2009. __syscall_, move nop inside, adjust users by +4.
  2010. 2004-01-14 Steven Munroe <sjmunroe@us.ibm.com>
  2011. * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME]
  2012. (_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed symbols.
  2013. (_default_symbol_version): Use C_SYMBOL_DOT_NAME to create '.'ed
  2014. symbols.
  2015. * sysdeps/powerpc/Makefile: Add rtld-global-offsets.sym to
  2016. gen-as-const-headers.
  2017. * sysdeps/powerpc/elf/rtld-global-offsets.sym: New file.
  2018. * sysdeps/powerpc/sysdep.h: Define v# symbols for vector registers.
  2019. Define PPC_FEATURE_* masks for Aux Vector AT_HWCAP.
  2020. * sysdeps/unix/sysv/linux/kernel-features.h
  2021. (__ASSUME_SWAPCONTEXT_SYSCALL): Define for PPC and 2.6.0 kernels.
  2022. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h [!__WORDSIZE == 32]:
  2023. Declare mcontext_t inline and include altivec state for 64-bit.
  2024. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4
  2025. versions for setcontext, getcontext, and swapcontext.
  2026. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Add GLIBC_2.3.4
  2027. versions for setcontext, getcontext, swapcontext, and makecontext.
  2028. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
  2029. (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4.
  2030. [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_getcontext):
  2031. Compatible with GLIBC_2.3.3 release.
  2032. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  2033. (__makecontext): Use parm save area instead of compiler_dw to hold
  2034. context pointer.
  2035. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
  2036. (__setcontext): Upgrade to restore Altivec regs and version
  2037. GLIBC_2_3_4.
  2038. [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_setcontext):
  2039. Compatible with GLIBC_2.3.3 release.
  2040. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  2041. (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4.
  2042. [SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novec_swapcontext):
  2043. Compatible with GLIBC_2.3.3 release.
  2044. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h
  2045. (SIGCONTEXT_V_REGS_PTR, SIGCONTEXT_V_RESERVE): Defined.
  2046. 2004-01-12 Steven Munroe <sjmunroe@us.ibm.com>
  2047. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Add GLIBC_2.3.4
  2048. versions for setcontext, getcontext, swapcontext, and makecontext.
  2049. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
  2050. (__getcontext): Upgrade to save Altivec regs and version GLIBC_2_3_4.
  2051. [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_getcontext):
  2052. Compatible with GLIBC_2.3.3 release.
  2053. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
  2054. (__makecontext): Upgrade to align for Altivec regs and version
  2055. GLIBC_2_3_4.
  2056. [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_makecontext):
  2057. Compatible with GLIBC_2.3.3 release.
  2058. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
  2059. (__setcontext): Upgrade to restore Altivec regs and version
  2060. GLIBC_2_3_4.
  2061. [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)] (__novec_setcontext):
  2062. Compatible with GLIBC_2.3.3 release.
  2063. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
  2064. (__swapcontext): Upgrade to swap Altivec regs and version GLIBC_2_3_4.
  2065. [SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)]
  2066. (__novec_swapcontext): Compatible with GLIBC_2.3.3 release.
  2067. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h:
  2068. (_UC_VSCR, _UC_VRSAVE): Define.
  2069. (_FRAME_BACKCHAIN, _FRAME_LR_SAVE,_FRAME_PARM_SAVE1,_FRAME_PARM_SAVE2,
  2070. _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4): Defined.
  2071. 2004-01-15 Ulrich Drepper <drepper@redhat.com>
  2072. * elf/rtld.c: Handle platforms with HP_TIMING_NONAVAIL defined.
  2073. 2004-01-16 Alfred M. Szmidt <ams@kemisten.nu>
  2074. * sysdeps/generic/dl-execstack.c (_dl_make_stack_executable): Adjust
  2075. parameter type.
  2076. 2004-01-15 Ulrich Drepper <drepper@redhat.com>
  2077. * elf/elf.h: Fix typo in comment.
  2078. * sysdeps/generic/dl-sysdep.c: Initialize __libc_stack_end.
  2079. * elf/rtld.c: Initialize _dl_argv to allow aliasing.
  2080. * resolv/resolv.h: Add RES_USEBSTRING.
  2081. * resolv/res_debug.c (p_option): Add handling for RES_USE_INET6,
  2082. RES_ROTATE, RES_NOCHECKNAME, and RES_USEBSTRING.
  2083. * resolv/res_init.c (res_setioptions): Recognize ip6-bytestring.
  2084. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Only perform
  2085. bytestring IPv6 lookup with RES_USEBSTRING option is selected.
  2086. Otherwise use the two nibble formats.
  2087. 2004-01-14 Ulrich Drepper <drepper@redhat.com>
  2088. * configure.in: Define HAVE_Z_RELRO if the linker supports -z relro.
  2089. * config.h.in: Add entry for HAVE_Z_RELRO.
  2090. * include/libc-symbols.h: Define attribute_relro.
  2091. * elf/dl-load.c: Add attribute_relro to env_path_list, capstr, ncapstr,
  2092. max_capstrlen, and max_dirnamelen definitions.
  2093. * elf/rtld.c: Add attribute_relro to _dl_argc, _dl_argv, _dl_skip_args,
  2094. load_time, start_time, library_path, preloadlist, version_info,
  2095. any_debug.
  2096. Remove rtld_total_time. Make it a local variable. Pass pointer to
  2097. it to print_statistics. Change print_statistics accordingly.
  2098. * sysdeps/generic/dl-sysdep.c: Add attribute_relro to _dl_auxv. Use
  2099. attribute_relro instead of explicitly assigning variable to the
  2100. .data.rel.ro section for __libc_enable_secure and __libc_stack_end.
  2101. * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end, _dl_argc,
  2102. _dl_argv, _dl_argv_internal with attribute_relro.
  2103. 2004-01-13 Segher Boessenkool <boessen@de.ibm.com>
  2104. * Makerules (gen-as-const): Don't silently continue on failure.
  2105. 2004-01-14 Steven Munroe <sjmunroe@us.ibm.com>
  2106. * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with
  2107. rtld_hidden_data_def.
  2108. 2004-01-14 Ulrich Drepper <drepper@redhat.com>
  2109. * libio/libio.h: Add const to function tables types.
  2110. * libio/libioP.h: Likewise.
  2111. * login/utmp-private.h: Likewise.
  2112. * libio/fileops.c: Add const to jump table variable definition.
  2113. * libio/genops.c: Likewise.
  2114. * libio/iofopncook.c: Likewise.
  2115. * libio/iopopen.c: Likewise.
  2116. * libio/memstream.c: Likewise.
  2117. * libio/obprintf.c: Likewise.
  2118. * libio/oldfileops.c: Likewise.
  2119. * libio/oldiopopen.c: Likewise.
  2120. * libio/strops.c: Likewise.
  2121. * libio/vsnprintf.c: Likewise.
  2122. * libio/vswprintf.c: Likewise.
  2123. * libio/wfileops.c: Likewise.
  2124. * libio/wstrops.c: Likewise.
  2125. * login/getutent_r.c: Likewise.
  2126. * login/getutid_r.c Likewise.
  2127. * login/getutline_r.c: Likewise.
  2128. * sysdeps/generic/utmp_file.c: Likewise.
  2129. 2004-01-09 Bruno Haible <bruno@clisp.org>
  2130. * intl/gmo.h (MO_REVISION_NUMBER_WITH_SYSDEP_I): New definition.
  2131. * intl/loadmsgcat.c (get_sysdep_segment_value): Handle "I".
  2132. (_nl_load_domain): Treat major revision 1 like major revision 0.
  2133. 2004-01-11 Bruno Haible <bruno@clisp.org>
  2134. * stdio-common/vfprintf.c (vfprintf): Disallow the 'I' flag after
  2135. width or precision has been seen.
  2136. 2004-01-08 Bruno Haible <bruno@clisp.org>
  2137. * intl/loadmsgcat.c (_nl_load_domain): When a string pair uses a system
  2138. dependent segment not known to this version of the library, ignore
  2139. the string pair instead of crashing.
  2140. 2004-01-13 Ulrich Drepper <drepper@redhat.com>
  2141. * configure.in: Rewrite test to give gcc to clean up after itself.
  2142. Patch by Greg Schafer.
  2143. * posix/regex.c: Support crappy compilers and platforms which have
  2144. problems with alloca.
  2145. * posix/regex_internal.h: Likewise.
  2146. Patch by Paolo Bonzini.
  2147. 2004-01-12 Paolo Bonzini <bonzini@gnu.org>
  2148. * posix/regcomp.c [_LIBC && !RE_ENABLE_I18N]:
  2149. Drop code to support this, it is never true.
  2150. (build_range_exp) [!_LIBC]: Do not create a range
  2151. in MBCSET for a single-byte character set.
  2152. (build_range_exp) [_LIBC]: Do not create a range
  2153. in MBCSET for a single-byte character set without
  2154. collation elements.
  2155. (init_dfa): Do not conditionalize on _LIBC, it
  2156. just makes the code less clear.
  2157. (parse_bracket_exp): Use NON_MATCH variable in
  2158. addition to "mbcset->non_match", not as an
  2159. alternative.
  2160. (build_charclass_op): rename NOT parameter to
  2161. NON_MATCH, use it instead of declaring a variable.
  2162. (parse_bracket_exp) [!_LIBC]: Pass NULL for MBCSET
  2163. if the character set is single-byte.
  2164. 2004-01-14 Jakub Jelinek <jakub@redhat.com>
  2165. * posix/regcomp.c (peek_token_bracket): Check remaining
  2166. string length before re_string_peek_byte (x, 1).
  2167. (parse_bracket_symbol): Likewise.
  2168. * posix/regex_internal.h (re_string_is_single_byte_char): Return
  2169. true at last byte in the string.
  2170. * posix/bug-regex22.c (main): Add new test.
  2171. 2004-01-13 Ulrich Drepper <drepper@redhat.com>
  2172. * sysdeps/generic/dl-sysdep.c: Move __libc_enable_secure into
  2173. .data.rel.ro.
  2174. * sysdeps/x86_64/dl-machine.h: Include <tls.h>.
  2175. * elf/rtld.c (_dl_start_final): Initialze __libc_stack_end here.
  2176. * sysdeps/generic/dl-sysdep.c: Define __libc_stack_end with
  2177. rtld_hidden_def and move into .data.rel.ro section.
  2178. * sysdeps/generic/ldsodefs.h: Declare __libc_stack_end with
  2179. rtld_hidden_proto.
  2180. * sysdeps/generic/libc-start.c: Only initialize __libc_stack_end here
  2181. if !SHARED.
  2182. 2004-01-13 Richard Henderson <rth@redhat.com>
  2183. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typo.
  2184. 2004-01-13 Ulrich Drepper <drepper@redhat.com>
  2185. * sysdeps/unix/sysv/linux/dl-execstack.c
  2186. (_dl_make_stack_executable): Move common code in front. Use
  2187. __builtin_expect.
  2188. * sysdeps/unix/sysv/linux/dl-execstack.c: Change interface. Add
  2189. challenge for caller.
  2190. * sysdeps/generic/ldsodefs.h: Change declaration and type of hook
  2191. member in rtld_global appropriately.
  2192. * elf/dl-support.c: Likewise.
  2193. * elf/dl-load.c (_dl_map_object_from_fd): Take additional paramter.
  2194. Pass it on to the changed function.
  2195. (_dl_map_object): Pass new parameter to _dl_map_object_from_fd.
  2196. 2004-01-13 Richard Henderson <rth@redhat.com>
  2197. * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
  2198. Cast old up to uint64_t before back down to inner width.
  2199. (__arch_compare_and_exchange_xxx_16_int): Likewise.
  2200. (__arch_compare_and_exchange_xxx_32_int): Likewise.
  2201. (__arch_compare_and_exchange_xxx_64_int): Likewise.
  2202. (__arch_compare_and_exchange_val_8_int): Cast result to
  2203. the type of the memory.
  2204. (__arch_compare_and_exchange_val_16_int): Likewise.
  2205. (__arch_compare_and_exchange_val_32_int): Likewise.
  2206. (__arch_compare_and_exchange_val_64_int): Likewise.
  2207. (atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.
  2208. (atomic_compare_and_exchange_bool_rel): Likewise.
  2209. * sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
  2210. based on HAVE___THREAD instead of USE_TLS.
  2211. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
  2212. (__adjtimex_tv64): Use it.
  2213. * sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
  2214. to void* rather than directly to the compatibility structure type.
  2215. * sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.
  2216. * sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
  2217. Forward declare.
  2218. 2004-01-13 Richard Henderson <rth@redhat.com>
  2219. * Versions.def (libm): Add GLIBC_2.3.3.
  2220. * sysdeps/alpha/fpu/Versions: Add __c1_c*f and c*f to GLIBC_2.3.3.
  2221. * sysdeps/alpha/fpu/cabsf.c, sysdeps/alpha/fpu/cargf.c,
  2222. sysdeps/alpha/fpu/cfloat-compat.h, sysdeps/alpha/fpu/cimagf.c,
  2223. sysdeps/alpha/fpu/conjf.c, sysdeps/alpha/fpu/crealf.c,
  2224. sysdeps/alpha/fpu/s_cacosf.c, sysdeps/alpha/fpu/s_cacoshf.c,
  2225. sysdeps/alpha/fpu/s_casinf.c, sysdeps/alpha/fpu/s_casinhf.c,
  2226. sysdeps/alpha/fpu/s_catanf.c, sysdeps/alpha/fpu/s_catanhf.c,
  2227. sysdeps/alpha/fpu/s_ccosf.c, sysdeps/alpha/fpu/s_ccoshf.c,
  2228. sysdeps/alpha/fpu/s_cexpf.c, sysdeps/alpha/fpu/s_clog10f.c,
  2229. sysdeps/alpha/fpu/s_clogf.c, sysdeps/alpha/fpu/s_cpowf.c,
  2230. sysdeps/alpha/fpu/s_cprojf.c, sysdeps/alpha/fpu/s_csinf.c,
  2231. sysdeps/alpha/fpu/s_csinhf.c, sysdeps/alpha/fpu/s_csqrtf.c,
  2232. sysdeps/alpha/fpu/s_ctanf.c, sysdeps/alpha/fpu/s_ctanhf.c: New files.
  2233. * sysdeps/alpha/fpu/bits/mathdef.h: Rename complex float
  2234. functions for gcc 3.3.
  2235. * sysdeps/generic/s_cacosf.c, sysdeps/generic/s_cacoshf.c,
  2236. sysdeps/generic/s_casinf.c, sysdeps/generic/s_casinhf.c,
  2237. sysdeps/generic/s_catanf.c, sysdeps/generic/s_catanhf.c,
  2238. sysdeps/generic/s_ccosf.c, sysdeps/generic/s_ccoshf.c,
  2239. sysdeps/generic/s_cexpf.c, sysdeps/generic/s_clog10f.c,
  2240. sysdeps/generic/s_clogf.c, sysdeps/generic/s_cpowf.c,
  2241. sysdeps/generic/s_cprojf.c, sysdeps/generic/s_csinf.c,
  2242. sysdeps/generic/s_csinhf.c, sysdeps/generic/s_csqrtf.c,
  2243. sysdeps/generic/s_ctanf.c, sysdeps/generic/s_ctanhf.c: Don't
  2244. weak_alias if the function name has been #defined.
  2245. * math/cabsf.c: Move ...
  2246. * sysdeps/generic/cabsf.c: ... here.
  2247. * math/cargf.c: Move ...
  2248. * sysdeps/generic/cargf.c: ... here.
  2249. * math/cimagf.c: Move ...
  2250. * sysdeps/generic/cimagf.c: ... here.
  2251. * math/conjf.c: Move ...
  2252. * sysdeps/generic/conjf.c: ... here.
  2253. * math/crealf.c: Move ...
  2254. * sysdeps/generic/crealf.c: ... here.
  2255. 2004-01-13 Ulrich Drepper <drepper@redhat.com>
  2256. * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to
  2257. LDFLAGS.so and LDFLAGS-rtld.
  2258. (+link): Add relro-LDFLAGS.
  2259. * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and
  2260. __libc_thread_subfreeres sections after .jcr section.
  2261. * config.make.in: Add have-z-relro.
  2262. * configure.in: Add check for -z relro option.
  2263. * include/link.h (struct link_map): Add relro_addr and relro_size
  2264. members.
  2265. * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO.
  2266. * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro
  2267. part of loaded segments read-only.
  2268. * elf/elf.h: Define PT_GNU_RELRO.
  2269. * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so.
  2270. (dl_main): Recognize PT_GNU_RELRO of the application. Call
  2271. _dl_debug_initialize and initialize l_info[DT_DEBUG] before
  2272. relocations.
  2273. 2004-01-12 Jakub Jelinek <jakub@redhat.com>
  2274. * sysdeps/x86_64/strcspn.S: Fix typo in last patch.
  2275. 2004-01-11 Andreas Jaeger <aj@suse.de>
  2276. * sysdeps/x86_64/__longjmp.S: Add cfi directives.
  2277. 2004-01-10 Andreas Jaeger <aj@suse.de>
  2278. * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Add cfi directives.
  2279. * sysdeps/unix/x86_64/sysdep.S (__syscall_error): Likewise.
  2280. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
  2281. * sysdeps/x86_64/strcspn.S: Likewise.
  2282. * sysdeps/x86_64/strspn.S: Likewise.
  2283. 2004-01-08 Jakub Jelinek <jakub@redhat.com>
  2284. * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Add cfi_endproc
  2285. right before syscall and cfi_startproc before PSEUDO_END.
  2286. Clear %rbp in thread_start.
  2287. 2004-01-05 Jakub Jelinek <jakub@redhat.com>
  2288. * posix/regcomp.c (regcomp): Fix comment typo.
  2289. (regfree): Free preg->translate, clear buffer, allocated, fastmap
  2290. and translate fields.
  2291. * posix/regcomp.c (build_charclass, buld_charclass_op): Change first
  2292. argument to unsigned RE_TRANSLATE_TYPE.
  2293. * posix/regex_internal.h (re_string_t): Change trans type to
  2294. unsigned RE_TRANSLATE_TYPE.
  2295. * posix/regex_internal.c (re_string_construct_common): Cast
  2296. trans to unsigned RE_TRANSLATE_TYPE.
  2297. (re_string_peek_byte_case, re_string_fetch_byte_case): Avoid fast
  2298. path if pstr->trans. Never translate the character through
  2299. pstr->trans.
  2300. * posix/Makefile (tests): Add bug-regex22.
  2301. (bug-regex22-ENV): Set.
  2302. * posix/bug-regex22.c: New test.
  2303. 2004-01-02 Paolo Bonzini <bonzini@gnu.org>
  2304. * posix/regex_internal.c (re_node_set_add_intersect,
  2305. re_node_set_merge): Rewritten.
  2306. (re_node_set_insert, re_node_set_remove_at):
  2307. Avoid memmove, we know what direction we should copy and that we
  2308. are copying 32-bit words.
  2309. (re_node_set_compare): Iterate backwards.
  2310. 2003-12-30 Paul Eggert <eggert@twinsun.com>
  2311. * time/mktime.c (verify): New macro.
  2312. (time_t_is_integer, twos_complement_arithmetic,
  2313. right_shift_propagates_sign, base_year_is_a_multiple_of_100,
  2314. C99_integer_division): Document these longstanding assumptions in the
  2315. code, and verify them at compile-time.
  2316. 2004-01-02 Jakub Jelinek <jakub@redhat.com>
  2317. * posix/regex_internal.h (re_match_context_t): Add dfa member.
  2318. * posix/regexec.c (match_ctx_free_subtops, search_cur_bkref_entry,
  2319. match_ctx_add_sublast, sift_ctx_init, acquire_init_state_context,
  2320. prune_impossible_nodes, check_halt_state_context, proceed_next_node,
  2321. sift_states_backward, update_cur_sifted_state, check_dst_limits,
  2322. check_dst_limits_calc_pos, sift_states_bkref, transit_state,
  2323. check_subexp_matching_top, transit_state_sb, transit_state_mb,
  2324. transit_state_bkref, get_subexp, get_subexp_sub, check_arrival,
  2325. check_arrival_add_next_nodes, expand_bkref_cache, check_node_accept):
  2326. Remove dfa parameter. Get dfa from mctx. Adjust callers.
  2327. (re_search_internal): Initialize mctx.dfa.
  2328. * posix/regex_internal.c (re_node_set_insert): Remove unused variables.
  2329. * posix/regex_internal.h (re_dfa_t): Add syntax field.
  2330. * posix/regcomp.c (parse): Initialize dfa->syntax.
  2331. * posix/regexec.c (acquire_init_state_context,
  2332. prune_impossible_nodes, check_matching, check_halt_state_context,
  2333. proceed_next_node, sift_states_iter_mb, sift_states_backward,
  2334. update_cur_sifted_state, sift_states_bkref, transit_state,
  2335. transit_state_sb, transit_state_mb, transit_state_bkref,
  2336. get_subexp, get_subexp_sub, check_arrival, expand_bkref_cache,
  2337. build_trtable): Remove preg argument, add dfa argument instead
  2338. and remove dfa = preg->buffer initialization in the body.
  2339. Adjust all callers.
  2340. (check_node_accept_bytes, group_nodes_into_DFAstates,
  2341. check_node_accept): Likewise. Use dfa->syntax instead of
  2342. preg->syntax.
  2343. (check_arrival_add_next_nodes): Remove preg argument.
  2344. * posix/regex_internal.h (re_match_context_t): Make input
  2345. re_string_t instead of a pointer to it.
  2346. * posix/regex_internal.c (re_string_construct_common): Don't clear
  2347. pstr here...
  2348. (re_string_construct): ... but only here.
  2349. * posix/regexec.c (match_ctx_init): Remove input argument. Don't
  2350. initialize fields to zero.
  2351. (re_search_internal): Move input into mctx.input.
  2352. (acquire_init_state_context, check_matching,
  2353. check_halt_state_context, proceed_next_node,
  2354. clean_state_log_if_needed, sift_states_bkref, sift_states_iter_mb,
  2355. transit_state, transit_state_sb, transit_state_mb,
  2356. transit_state_bkref, get_subexp, check_arrival,
  2357. check_arrival_add_next_nodes, check_node_accept, extend_buffers):
  2358. Change mctx->input into &mctx->input and mctx->input->field into
  2359. mctx->input.field.
  2360. 2004-01-02 Jakub Jelinek <jakub@redhat.com>
  2361. Paolo Bonzini <bonzini@gnu.org>
  2362. * posix/regex_internal.h (re_const_bitset_ptr_t): New type.
  2363. (re_string_t): Add newline_anchor, word_char and word_ops_used fields.
  2364. (re_dfa_t): Change word_char type to bitset. Add word_ops_used field.
  2365. (re_string_context_at, re_string_reconstruct): Remove last argument.
  2366. * posix/regex_internal.c (re_string_allocate): Initialize
  2367. pstr->word_char and pstr->word_ops_used.
  2368. (re_string_context_at): Remove newline_anchor argument.
  2369. Use input->newline_anchor instead, swap && conditions.
  2370. Only use IS_WIDE_WORD_CHAR if input->word_ops_used != 0.
  2371. Use input->word_char bitmap instead of IS_WORD_CHAR.
  2372. (re_string_reconstruct): Likewise.
  2373. Adjust re_string_context_at caller.
  2374. * posix/regexec.c (acquire_init_state_context,
  2375. check_halt_state_context, transit_state, transit_state_sb,
  2376. transit_state_mb, transit_state_bkref, check_arrival,
  2377. check_node_accept): Adjust re_string_context_at and
  2378. re_string_reconstruct callers.
  2379. (re_search_internal): Likewise. Set input.newline_anchor.
  2380. (build_trtable): Use dfa->word_char bitmap instead of IS_WORD_CHAR.
  2381. * posix/regcomp.c (init_word_char): Change return type to void.
  2382. Set dfa->word_ops_used.
  2383. (free_dfa_content): Don't free dfa->word_char.
  2384. (parse_expression): Remove error handling for init_word_char.
  2385. 2004-01-01 Paolo Bonzini <bonzini@gnu.org>
  2386. * posix/regex_internal.h (re_dfastate_t): Fix size of the CONTEXT
  2387. bitfield.
  2388. * posix/regex_internal.c (re_node_set_insert): Rewrite.
  2389. 2004-01-01 Ulrich Drepper <drepper@redhat.com>
  2390. * posix/getconf.c: Update copyright year.
  2391. * nss/getent.c: Likewise.
  2392. * nscd/nscd_nischeck.c: Likewise.
  2393. * iconv/iconvconfig.c: Likewise.
  2394. * iconv/iconv_prog.c: Likewise.
  2395. * elf/ldconfig.c: Likewise.
  2396. * catgets/gencat.c: Likewise.
  2397. * csu/version.c: Likewise.
  2398. * elf/ldd.bash.in: Likewise.
  2399. * elf/sprof.c (print_version): Likewise.
  2400. * locale/programs/locale.c: Likewise.
  2401. * locale/programs/localedef.c: Likewise.
  2402. * nscd/nscd.c (print_version): Likewise.
  2403. * debug/xtrace.sh: Likewise.
  2404. * malloc/memusage.sh: Likewise.
  2405. * malloc/mtrace.pl: Likewise.
  2406. 2004-01-01 Petter Reinholdtsen <pere@hungry.com>
  2407. * stdlib/strfmon.c: Make formatting of left-justified currency
  2408. values match the the POSIX standard. When using format string
  2409. "[%-14#5.4n]" to print -123.45, the result should be
  2410. "[-$ 123.4500 ]", not "[-$123.4500 ]".
  2411. 2004-01-01 Andreas Jaeger <aj@suse.de>
  2412. * resolv/Makefile (generated): New.
  2413. 2003-12-31 Joseph S. Myers <jsm@polyomino.org.uk>
  2414. * CONFORMANCE: Update.
  2415. 2003-12-30 Paul Eggert <eggert@twinsun.com>
  2416. * time/mktime.c: (my_mktime_localtime_r):
  2417. Remove. All uses changed to __localtime_r.
  2418. (__localtime_r) [!defined _LIBC]: New macro. Include "time_r.h" to
  2419. get its implementation.
  2420. Fix compile-command to allow for TIME_R_POSIX.
  2421. * time/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r):
  2422. Remove. All uses changed to __localtime_r and __gmtime_r.
  2423. (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros.
  2424. Include "time_r.h" to get their implementations.
  2425. * time/timegm.c: Allow use in GNU applications outside glibc.
  2426. [defined HAVE_CONFIG_H]: Include <config.h>.
  2427. [!defined _LIBC]: Include "timegm.h", <time_r.h>.
  2428. Define __gmtime_r, and declare __mktime_internal.
  2429. (timegm): Define via a prototype, since we can safely assume C89 now.
  2430. * time/mktime.c (check_result): Use less-confusing report format.
  2431. "long" -> "long int", as per usual GNU style.
  2432. (main): Likewise.
  2433. Don't loop if the iteration overflows time_t.
  2434. Allow a negative step in the iteration.
  2435. * time/mktime.c: Assume freestanding C89 or better.
  2436. (HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove;
  2437. assume they're 1.
  2438. (__P): Remove; not used.
  2439. (CHAR_BIT, INT_MIN, INT_MAX): Remove; <limits.h> defines them.
  2440. (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes.
  2441. Prototypes use const * where appropriate.
  2442. (main) [DEBUG]: Fix typo in testing code uncovered by above changes,
  2443. which caused the testing code to dump core on some hosts.
  2444. 2003-12-31 Ulrich Drepper <drepper@redhat.com>
  2445. * locale/setlocale.c (setlocale): Avoid duplicating locale names
  2446. if we can reuse old strings.
  2447. * inet/rcmd.c: Provide better error message in case of unknown
  2448. host. Remove USE_IN_LIBIO.
  2449. * nscd/nscd.init: Updated version, more conforming with current
  2450. init file standards.
  2451. * nscd/nscd-client.h (_PATH_NSCDPID): Move the file into
  2452. /var/run/nscd directory.
  2453. (_PATH_NSCDSOCKET): Likewise.
  2454. * test-skeleton.c (timeout_handler): Fix error message.
  2455. * elf/dl-dst.h (DL_DST_REQUIRED): Avoid the complex operations if
  2456. CNT == 0.
  2457. 2003-12-30 Jakub Jelinek <jakub@redhat.com>
  2458. * posix/regexec.c (get_subexp): Only set bkref_str after the first
  2459. loop, use buf + bkref_str_off in the loop instead.
  2460. * posix/bug-regex11.c (tests): Add 3 new tests.
  2461. * posix/regexec.c (clean_state_log_if_need): Rename to...
  2462. (clean_state_log_if_needed): ...this.
  2463. (transit_state_mb, get_subexp_sub): Adjust callers.
  2464. * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL
  2465. failed. Reported by Steve Grubb.
  2466. 2003-12-29 Ulrich Drepper <drepper@redhat.com>
  2467. * elf/elf.h: Add a few definitions from Solaris 9.
  2468. 2003-12-29 Andreas Schwab <schwab@suse.de>
  2469. * stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add
  2470. $(fno_unit_at_a_time) to avoid reordering assembler output.
  2471. 2003-12-29 Jakub Jelinek <jakub@redhat.com>
  2472. * posix/regexec.c (re_copy_regs): Revert comment change.
  2473. Avoid memory leak if realloc fails.
  2474. (proceed_next_node): Return -2 if re_node_set_insert fails.
  2475. Return -2 if push_fail_stack fails.
  2476. (push_fail_stack): Change fs->alloc only after successful realloc.
  2477. (pop_fail_stack): Formatting.
  2478. (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs.
  2479. (check_arrival_add_next_nodes): Merge identical statements
  2480. from if branches.
  2481. * signal/Makefile (tests): Add tst-raise.
  2482. * signal/tst-raise.c: New test.
  2483. 2003-12-28 Ulrich Drepper <drepper@redhat.com>
  2484. * posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int.
  2485. * posix/regexec.c (re_copy_regs): Fix testing for failed allocation.
  2486. (push_fail_stack): Add missing check for failed memory allocation.
  2487. * libio/libio.h: Use __builtin_expect in _IO_getc_unlocked,
  2488. _IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and
  2489. _IO_putwc_unlocked.
  2490. 2003-12-28 Andreas Jaeger <aj@suse.de>
  2491. * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise only
  2492. overflow for 0 as argument. Raise Invalid exception for negative args.
  2493. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
  2494. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y0): Likewise.
  2495. * sysdeps/ieee754/ldb-128/e_jnl.c (__ieee754_ynl): Likewise.
  2496. * sysdeps/ieee754/ldb-128/e_j0l.c (__ieee754_y0l): Likewise.
  2497. * sysdeps/ieee754/ldb-128/e_j1l.c (__ieee754_y1l): Likewise.
  2498. * sysdeps/ieee754/ldb-96/e_jnl.c (__ieee754_ynl): Likewise.
  2499. * sysdeps/ieee754/ldb-96/e_j0l.c (__ieee754_y0l): Likewise.
  2500. * sysdeps/ieee754/ldb-96/e_j1l.c (__ieee754_y1l): Likewise.
  2501. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
  2502. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
  2503. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
  2504. * math/libm-test.inc (yn_test): Expect invalid exception for
  2505. negative arguments.
  2506. (y0_test): Likewise.
  2507. (y1_test): Likewise.
  2508. * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not raise
  2509. execptions for exp(NaN).
  2510. 2003-12-23 Paolo Bonzini <bonzini@gnu.org>
  2511. * posix/regex_internal.c (re_dfa_add_node): Initialize opt_subexp.
  2512. * posix/regex_internal.h (re_token_type_t): Put OP_DUP_PLUS
  2513. among the tokens, rather than among the epsilon-transiting nodes.
  2514. (re_token_t): Add the opt_subexp flag.
  2515. * posix/regcomp.c (optimize_utf8, calc_first,
  2516. calc_next, calc_epsdest): Don't consider OP_DUP_PLUS.
  2517. (mark_opt_subexp, mark_opt_subexp_iter): New functions.
  2518. (parse_dup_op): Mostly rewritten, lowering OP_DUP_PLUS to
  2519. OP_DUP_ASTERISK and marking optional subexpressions
  2520. as such using mark_opt_subexp.
  2521. * posix/regexec.c (set_regs): Initialize PREV_INDEX_MATCH
  2522. and pass it to update_regs.
  2523. (update_regs): Use the PREV_INDEX_MATCH parameter, together
  2524. with the opt_subexp flag, in order to discard a final empty
  2525. match of a repeated subexpression.
  2526. * posix/BOOST.tests: Adjust test vectors.
  2527. * posix/PCRE.tests: Likewise.
  2528. * posix/rxspencer/tests: Likewise.
  2529. 2000-05-22 Jakub Jelinek <jakub@redhat.com>
  2530. * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:
  2531. with omitted middle operand.
  2532. 2003-12-22 Jakub Jelinek <jakub@redhat.com>
  2533. * posix/regcomp.c: Remove C99-ism.
  2534. * posix/tst-rxspencer.c: Likewise.
  2535. Based on a patch by Alex Davis <alex14641@yahoo.com>.
  2536. 2003-12-17 Paolo Bonzini <bonzini@gnu.org>
  2537. * posix/regex_internal.h [!_LIBC] (internal_function): Define.
  2538. (re_string_allocate, re_string_construct, re_string_reconstruct,
  2539. re_string_realloc_buffers, build_wcs_buffer,
  2540. build_wcs_upper_buffer, build_upper_buffer,
  2541. re_string_translate_buffer, re_string_destruct,
  2542. re_string_elem_size_at, re_string_char_size_at,
  2543. re_string_wchar_at, re_string_context_at,
  2544. re_node_set_alloc, re_node_set_init_1
  2545. re_node_set_init_2, re_node_set_init_copy,
  2546. re_node_set_add_intersect, re_node_set_init_union,
  2547. re_node_set_merge, re_node_set_insert
  2548. re_node_set_compare, re_node_set_contains
  2549. re_node_set_remove_at, re_dfa_add_node,
  2550. re_acquire_state, re_acquire_state_context,
  2551. free_state): Add internal_function to declaration.
  2552. * posix/regexec.c (match_ctx_init, match_ctx_clean,
  2553. match_ctx_free, match_ctx_free_subtops,
  2554. match_ctx_add_entry, search_cur_bkref_entry,
  2555. match_ctx_clear_flag, match_ctx_add_subtop,
  2556. match_ctx_add_sublast, sift_ctx_init,
  2557. re_search_internal, re_search_2_stub, re_search_stub,
  2558. re_copy_regs, acquire_init_state_context,
  2559. prune_impossible_nodes, check_matching,
  2560. check_halt_node_context, check_halt_state_context
  2561. update_regs, proceed_next_node, push_fail_stack,
  2562. pop_fail_stack, set_regs, free_fail_stack_return,
  2563. sift_states_iter_mb, sift_states_backward
  2564. update_cur_sifted_state, add_epsilon_src_nodes,
  2565. sub_epsilon_src_nodes, check_dst_limits,
  2566. check_dst_limits_calc_pos, check_subexp_limits,
  2567. sift_states_bkref, clean_state_log_if_need,
  2568. merge_state_array, transit_state,
  2569. check_subexp_matching_top, transit_state_sb,
  2570. transit_state_mb, transit_state_bkref,
  2571. get_subexp, get_subexp_sub, find_subexp_node,
  2572. check_arrival, check_arrival_add_next_nodes,
  2573. find_collation_sequence_value, check_arrival_expand_ecl,
  2574. check_arrival_expand_ecl_sub, expand_bkref_cache,
  2575. build_trtable, check_node_accept_bytes, extend_buffers,
  2576. group_nodes_into_DFAstates, check_node_accept): Likewise.
  2577. * posix/regex_internal.c (re_string_construct_common,
  2578. re_string_skip_chars, create_newstate_common,
  2579. register_state, create_ci_newstate, create_cd_newstate,
  2580. calc_state_hash): Likewise.
  2581. (re_string_peek_byte_case, re_fetch_byte_case): Change
  2582. declaration from ANSI to K&R.
  2583. 2003-12-16 Paolo Bonzini <bonzini@gnu.org>
  2584. * posix/regexec.c (build_trtable): Don't allocate the trtable
  2585. until state->word_trtable is known. Don't hardcode UINT_BITS
  2586. iterations on each bitset item.
  2587. 2003-12-22 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
  2588. * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
  2589. Initialize REF before passing it to _dl_lookup_symbol.
  2590. 2003-12-21 Roland McGrath <roland@frob.com>
  2591. * sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.
  2592. 2003-12-21 Jakub Jelinek <jakub@redhat.com>
  2593. * posix/regcomp.c (duplicate_node, duplicate_node_closure): Revert
  2594. 2003-11-24 changes.
  2595. * posix/regexec.c (group_nodes_into_DFAstates): For CHARACTER with
  2596. NEXT_{,NOT}WORD_CONSTRAINT check word_char bit.
  2597. * posix/bug-regex19.c (tests): Add new tests.
  2598. * posix/regexec.c (check_dst_limits_calc_pos): Fix formatting.
  2599. * posix/regcomp.c (parse_dup_op): Return NULL if dup_elem is NULL,
  2600. after checking syntax. Optimize.
  2601. (calc_first): Fix comment.
  2602. * posix/bug-regex13.c (tests): Add new tests.
  2603. 2003-12-21 Roland McGrath <roland@redhat.com>
  2604. * manual/arith.texi (Parsing of Integers): Typo fix.
  2605. 2003-12-20 Roland McGrath <roland@frob.com>
  2606. * sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo:
  2607. add missing dereference of IFREQS before counting loop.
  2608. 2003-12-21 Andreas Schwab <schwab@suse.de>
  2609. * sysdeps/m68k/m68020/bits/atomic.h: Avoid matching memory
  2610. constraints.
  2611. 2003-12-20 Ulrich Drepper <drepper@redhat.com>
  2612. * elf/rtld.c (dl_main): Optimize order of subexpressions in if().
  2613. 2003-12-18 Ulrich Drepper <drepper@redhat.com>
  2614. * stdio-common/printf_fp.c: Add support to use alternative decimal
  2615. digits.
  2616. * stdio-common/vfprintf.c (vfprintf): Pass use_outdigits flags to
  2617. __printf_fp. Patch by Hamed Malek <hamed@bamdad.org>.
  2618. 2003-12-18 Carlos O'Donell <carlos@baldric.uwo.ca>
  2619. * sysdeps/unix/sysv/linux/hppa/clone.S (__clone) [PIC]: Save PIC,
  2620. reload PIC if we need to call __syscall_error, cleanup asm.
  2621. 2003-12-17 Carlos O'Donell <carlos@baldric.uwo.ca>
  2622. * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Right shift
  2623. FE_ALL_EXCEPT before complimenting.
  2624. * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Use asm 'ma,' completer,
  2625. and gcc '+r' constraint.
  2626. * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
  2627. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
  2628. * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Read raised
  2629. exception bits, OR with envp, pass to fesetenv.
  2630. * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Add delayed
  2631. exception flushing, FE_UNDERFLOW is DBL_MIN/3.0, FE_INEXACT is
  2632. triggered by M_PI/69.69 converted to single precision.
  2633. * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Set enable
  2634. bits not raised exception bits.
  2635. * sysdeps/hppa/Makefile: Add dl-symaddr and dl-fptr to the
  2636. correct build strings.
  2637. * sysdeps/hppa/dl-fptr.h: New file.
  2638. * sysdeps/hppa/dl-fptr.c: Removed.
  2639. * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Use _dl_make_ftpr,
  2640. remove const qualifier for map.
  2641. (_dl_function_address): Removed.
  2642. * sysdeps/hppa/dl-lookupcfg.h: DL_LOOKUP_ADDRESS must clear
  2643. PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
  2644. DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and
  2645. DL_DT_FINI_ADDRESS use the previous two macros.
  2646. 2003-12-17 Jakub Jelinek <jakub@redhat.com>
  2647. * malloc/mtrace.c (tr_old_memalign_hook): New variable.
  2648. (tr_memalignhook): New function.
  2649. (mtrace): Register tr_memalignhook.
  2650. (muntrace): Deregister tr_memalignhook.
  2651. * malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL,
  2652. call it directly instead of memalign_internal.
  2653. 2003-12-17 Ulrich Drepper <drepper@redhat.com>
  2654. * misc/mntent_r.c: Change encoding to match recently changed decoder.
  2655. Patch by Alexander Achenbach <xela@slit.de>.
  2656. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com>
  2657. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of
  2658. vrregset_t.
  2659. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com>
  2660. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extend
  2661. conditional to include typedef elf_vrreg_t.
  2662. 2003-12-17 Paolo Bonzini <bonzini@gnu.org>
  2663. * posix/regexec.c (re_search_internal): Limit search to the
  2664. beginning of the buffer if the initial states are empty for
  2665. contexts that do not include CONTEXT_BEGBUF or, if
  2666. !preg->newline_anchor, that do not include any one of
  2667. CONTEXT_BEGBUF and CONTEXT_NEWLINE.
  2668. 2003-12-17 Andreas Jaeger <aj@suse.de>
  2669. * sysdeps/generic/system.c (__libc_system): Fix typo, reported by
  2670. Kevin Pedretti <pedretti@ieee.org>.
  2671. 2003-12-17 Ulrich Drepper <drepper@redhat.com>
  2672. * elf/rtld.c: Don't use strong_alias to define _rtld_local. This
  2673. removes the visibility attributes which might be defined earlier
  2674. for some gcc versions. Instead spell out what strong_alias does
  2675. plus the visibility.
  2676. 2003-12-16 Petter Reinholdtsen <pere@hungry.com>
  2677. * posix/regex_internal.h: Make sure the regex code compile
  2678. with non-GCC compilers by hiding attributes.
  2679. 2003-12-16 Jakub Jelinek <jakub@redhat.com>
  2680. Paolo Bonzini <bonzini@gnu.org>
  2681. * posix/regexec.c (group_nodes_into_DFAstates): Never produce
  2682. dests_ch items that are empty.
  2683. 2003-12-14 Paolo Bonzini <bonzini@gnu.org>
  2684. * posix/regexec.c (check_arrival): Remove duplicate test.
  2685. 2003-12-15 Ulrich Drepper <drepper@redhat.com>
  2686. * posix/regcomp.c: Make !RE_ENABLE_I18N work again.
  2687. * posix/regex_internal.c: Likewise.
  2688. * posix/regexec.c: Likewise.
  2689. Patch by Paolo Bonzini.
  2690. 2003-12-14 Paolo Bonzini <bonzini@gnu.org>
  2691. * posix/regex_internal.c (re_acquire_state_context):
  2692. Compare the node sets after all the other comparisons.
  2693. 2003-12-13 Paolo Bonzini <bonzini@gnu.org>
  2694. * posix/regexec.c (find_subexp_node, check_arrival,
  2695. check_arrival_add_next_nodes, check_arrival_expand_ecl,
  2696. check_arrival_expand_ecl_sub, expand_bkref_cache):
  2697. Rename the FL_OPEN parameter to TYPE, which is either
  2698. OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP. Callers adjusted.
  2699. 2003-12-12 Andreas Jaeger <aj@suse.de>
  2700. * sysdeps/unix/sysv/linux/x86_64/syscall.S: Pass also 6th argument
  2701. to syscall.
  2702. 2003-12-11 Ulrich Drepper <drepper@redhat.com>
  2703. * sysdeps/unix/sysv/linux/kernel-features.h: Remove __ASSUME_VSYSCALL.
  2704. There might always be processes which have no vDSO.
  2705. * sysdeps/generic/dl-sysdep.c: Remove __ASSUME_VSYSCALL uses.
  2706. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  2707. 2003-12-11 Carlos O'Donell <carlos@baldric.uwo.ca>
  2708. * sysdeps/generic/dl-fptr.c (COMPARE_AND_SWAP): Pass new and old
  2709. in the right order.
  2710. 2003-12-01 Jes Sorensen <jes@wildopensource.com>
  2711. * rt/tst-clock.c (do_test): Print message when skipping
  2712. CLOCK_PROCESS_CPUTIME_ID test.
  2713. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file.
  2714. Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0.
  2715. 2003-12-02 David Mosberger <davidm@hpl.hp.com>
  2716. * sysdeps/ia64/elf/initfini.c: Add unwind info.
  2717. * sysdeps/ia64/dl-machine.h (elf_machine_matches_host): Mark with
  2718. attribute "unused".
  2719. (elf_machine_dynamic): Mark with attributes "unused" and "const".
  2720. (elf_machine_runtime_setup): Likewise.
  2721. * sysdeps/generic/dl-fptr.c (make_fptr_table): Mark with
  2722. attribute "always_inline".
  2723. * sysdeps/ia64/dl-machine.h (__ia64_init_bootstrap_fdesc_table):
  2724. Likewise.
  2725. * configure.in: Check whether compiler has libunwind support.
  2726. * config.make.in (have-cc-with-libunwind): New variable.
  2727. * config.h.in (HAVE_CC_WITH_LIBUNWIND): New macro.
  2728. * Makeconfig (gnulib): If have-cc-with-libunwind is "yes", also
  2729. mention -lunwind.
  2730. 2003-11-12 David Mosberger <davidm@hpl.hp.com>
  2731. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Define DO_CALL_VIA_BREAK.
  2732. Redefine DO_CALL to use vdso if supported, otherwise DO_CALL_VIA_BREAK.
  2733. Likewise for DO_INLINE_SYSCALL. Make INTERNAL_SYSCALL use
  2734. DO_INLINE_SYSCALL.
  2735. * sysdeps/unix/sysv/linux/ia64/vfork.S: Use DO_CALL_VIA_BREAK()
  2736. instead of DO_CALL().
  2737. * sysdeps/unix/sysv/linux/ia64/clone2.S: Use break directly instead
  2738. of DO_CALL().
  2739. * sysdeps/unix/sysv/linux/ia64/brk.S (__curbrk): Restructure it
  2740. to take advantage of DO_CALL() macro.
  2741. * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
  2742. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
  2743. * elf/rtld.c (dl_main): Restrict dl_sysinfo_dso check to first
  2744. program header. On ia64, the check failed previously because
  2745. there are two program headers.
  2746. 2003-12-10 Andreas Jaeger <aj@suse.de>
  2747. Ruediger Oertel <ro@suse.de>
  2748. * sysdeps/alpha/fpu/e_sqrt.c: Mark sqrt_data as used.
  2749. 2003-12-07 Ulrich Drepper <drepper@redhat.com>
  2750. * sysdeps/i386/fpu/s_nexttowardf.c: Construct overflow value correctly.
  2751. * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
  2752. * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
  2753. * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
  2754. * sysdeps/generic/s_nexttowardf.c: Likewise.
  2755. * math/Makefile (tests): Add bug-nexttoward.
  2756. * math/bug-nexttoward.c: New file.
  2757. * sysdeps/generic/s_nextafter.c: Make sure overflow exception is set.
  2758. * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
  2759. * math/bug-nextafter.c (main): Add tests for overflow and negative
  2760. values.
  2761. 2003-12-06 Ulrich Drepper <drepper@redhat.com>
  2762. * math/Makefile (tests): Add bug-nextafter.
  2763. * math/bug-nextafter.c: New file.
  2764. * sysdeps/generic/s_nextafter.c: Construct overflow value correctly.
  2765. * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
  2766. * math/libm-test.inc (nextafter_test): Add test for overflow after
  2767. +/-FLT_MAX etc.
  2768. 2003-12-04 Steven Munroe <sjmunroe@us.ibm.com>
  2769. * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking
  2770. of fenv.
  2771. * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
  2772. 2003-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
  2773. * sysdeps/s390/s390-32/elf/setjmp.S (setjmp, __setjmp): Add END
  2774. statements.
  2775. * sysdeps/s390/s390-64/elf/setjmp.S (setjmp, __setjmp): Likewise.
  2776. * sysdeps/s390/s390-32/sysdep.h (ENTRY): Add cfi_startproc directive.
  2777. (END): Add cfi_endproc directive.
  2778. * sysdeps/s390/s390-64/sysdep.h (ENTRY, END): Likewise.
  2779. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Remove
  2780. cfi_startproc and cfi_endproc directive.
  2781. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
  2782. * sysdeps/s390/s390-32/addmul_1.S (__mpn_addmul_1): Add CFI directives.
  2783. * sysdeps/s390/s390-32/add_n.S (__mpn_add_n): Likewise.
  2784. * sysdeps/s390/s390-64/add_n.S (__mpn_add_n): Likewise.
  2785. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
  2786. Likewise.
  2787. * sysdeps/s390/s390-64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
  2788. Likewise.
  2789. * sysdeps/s390/s390-32/mul_1.S (__mpn_mul_1): Likewise.
  2790. * sysdeps/s390/s390-32/sub_n.S (__mpn_sub_n): Likewise.
  2791. * sysdeps/s390/s390-64/sub_n.S (__mpn_sub_n): Likewise.
  2792. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64): Likewise.
  2793. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap): Likewise.
  2794. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap): Likewise.
  2795. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Likewise.
  2796. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
  2797. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
  2798. Likewise.
  2799. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
  2800. Likewise.
  2801. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add CFI
  2802. directives. Move thread_start out of ENTRY/PSEUDO_END block to
  2803. make backchain terminate.
  2804. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
  2805. * sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure.
  2806. (unwind_backtrace, unwind_getip): New variables.
  2807. (init, __backchain_backtrace, backtrace_helper): New functions.
  2808. (__backtrace): Use unwind info for backtrace instead of backchain
  2809. walking if the unwind functions can be found.
  2810. * sysdeps/s390/s390-64/backtrace.c: Likewise.
  2811. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: New file.
  2812. * sysdeps/unix/sysv/linux/s390/sys/procfs.h (ELF_NGREG32): New #define.
  2813. (elf_greg_t32, elf_gregset_t32, elf_fpregset_t32): New types.
  2814. (elf_prstatus32, elf_prpsinfo32): New structures.
  2815. (prgregset32_t, prfpregset32_t, prstatus32_t, prpsinfo32_t): New types.
  2816. * scripts/data/c++-types-s390-linux-gnu.data: New file.
  2817. * scripts/data/c++-types-s390x-linux-gnu.data: New file.
  2818. 2003-11-30 Petter Reinholdtsen <pere@hungry.com>
  2819. * stdlib/strfmon.c: Correct formatting of international currency
  2820. values. The international currency formatting should prefer the
  2821. int_* values if they are set for a locale, and use the domestic
  2822. values if the int_* values are unset.
  2823. 2003-12-03 Jakub Jelinek <jakub@redhat.com>
  2824. * posix/Makefile (distribute): Add BOOST.tests.
  2825. (tests): Add tst-boost, depend on tst-boost-mem.
  2826. (generated): Add tst-boost-mem and tst-boost.mtrace.
  2827. (tst-boost-ARGS, tst-boost-ENV): Set.
  2828. ($(objpfx)tst-boost-mem): New.
  2829. * posix/tst-boost.c: New test.
  2830. * posix/BOOST.tests: New file.
  2831. * posix/Makefile (distribute): Add PCRE.tests.
  2832. (tests): Add tst-pcre, depend on tst-pcre-mem.
  2833. (generated): Add tst-pcre-mem and tst-pcre.mtrace.
  2834. (tst-pcre-ARGS, tst-pcre-ENV): Set.
  2835. ($(objpfx)tst-pcre-mem): New.
  2836. * posix/tst-pcre.c: New test.
  2837. * posix/PCRE.tests: New file.
  2838. 2003-12-02 Jakub Jelinek <jakub@redhat.com>
  2839. * intl/locale.alias: Use nb_NO instead of no_NO for bokm.l.
  2840. * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
  2841. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
  2842. 2003-12-03 Ulrich Drepper <drepper@redhat.com>
  2843. * locale/programs/locarchive.c (enlarge_archive): Print size info
  2844. only in verbose mode.
  2845. * locale/iso-3166.def: Three letter code of Romania changed.
  2846. 2003-12-02 Roland McGrath <roland@redhat.com>
  2847. * scripts/config.sub: Update from master, timestamp='2003-10-20'.
  2848. * scripts/config.guess: Update from master, timestamp='2003-10-20'.
  2849. 2003-11-30 Andreas Jaeger <aj@suse.de>
  2850. * config.make.in (fno-unit-at-a-time): Define.
  2851. * configure.in: Add test for -fno-unit-at-a-time.
  2852. Fix text for -fpie.
  2853. * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time).
  2854. * locale/Makefile (CFLAGS-loadlocale.c): Likewise.
  2855. 2003-12-01 Automatic
  2856. * version.h (VERSION): Bump to 2.3.3.
  2857. 2003-11-30 Andreas Jaeger <aj@suse.de>
  2858. * stdio-common/vfprintf.c: Do not inline buffered_vfprintf to
  2859. decrease stack usage.
  2860. 2003-11-30 Andreas Schwab <schwab@suse.de>
  2861. * sysdeps/unix/sysv/linux/m68k/sysdep.h (PSEUDO_ERRVAL)
  2862. (PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
  2863. 2003-11-29 Ulrich Drepper <drepper@redhat.com>
  2864. * misc/mntent_r.c (decode_name): Be compatible with util-linux and
  2865. recognize \134 as well.
  2866. 2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
  2867. * sysdeps/ia64/fpu/fraiseexcpt.c: Don't include <asm/fpu.h>.
  2868. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com>
  2869. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include
  2870. <asm/fpu.h>.
  2871. (struct ia64_fpreg): New definition.
  2872. * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include
  2873. <asm/elf.h>.
  2874. (ELF_NGREG): New #define.
  2875. (ELF_NFPREG): Likewise.
  2876. (elf_greg_t): New type.
  2877. (elf_gregset_t): Likewise.
  2878. (elf_fpreg_t): Likewise.
  2879. (elf_fpregset_t): Likewise.
  2880. 2003-10-08 H.J. Lu <hongjiu.lu@intel.com>
  2881. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include
  2882. <sys/ucontext.h>.
  2883. (__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS.
  2884. (pt_all_user_regs): New type.
  2885. 2003-10-10 Simon Josefsson <jas@extundo.com>
  2886. * argp/argp-namefrob.h [!_LIBC]: Include mempcpy.h, strcase.h,
  2887. strchrnul.h, strndup.h (from gnulib).
  2888. * argp/argp-parse.c: Add alloca.h include snippet verbatim from
  2889. Autoconf manual.
  2890. * argp/argp-help.c: Replace alloca.h include snipper with verbatim
  2891. Autoconf manual version.
  2892. * argp/argp.h: Map __restrict to restrict or empty string when
  2893. necessary, copied verbatim from posix/regex.h.
  2894. 2003-10-09 Steven Munroe <sjmunroe@us.ibm.com>
  2895. * Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in
  2896. addition to c++-types-$(base-machine)-$(config-os).data.
  2897. * scripts/data/c++-types-powerpc-linux-gnu.data: New file.
  2898. * scripts/data/c++-types-powerpc64-linux-gnu.data: New file.
  2899. 2003-11-28 Ulrich Drepper <drepper@redhat.com>
  2900. * misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding
  2901. of newline.
  2902. * manual/sysinfo.texi (mtab): Adjust description accordingly.
  2903. Reported by Andries.Brouwer@cwi.nl.
  2904. * sysdeps/x86_64/fpu/libm-test-ulps: Add some more minor changes
  2905. to compensate other setup.
  2906. 2003-11-27 Andreas Jaeger <aj@suse.de>
  2907. * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for new atan2 test.
  2908. * math/libm-test.inc (atan2_test): Add test that run infinitly.
  2909. Reported by "Willus" <etc231etc231@willus.com>.
  2910. 2003-11-27 Michael Matz <matz@suse.de>
  2911. * sysdeps/ieee754/dbl-64/mpsqrt.c (fastiroot): Fix 64-bit problem
  2912. with wrong types.
  2913. 2003-11-28 Jakub Jelinek <jakub@redhat.com>
  2914. * posix/regexec.c (acquire_init_state_context): Make inline.
  2915. Add always_inline attribute.
  2916. (check_matching): Add BE macro. Move if (cur_state->has_backref)
  2917. into if (dfa->nbackref).
  2918. (sift_states_backward): Fix comment.
  2919. (transit_state): Add BE macro. Move if (next_state->has_backref)
  2920. into if (dfa->nbackref && next_state). Don't check for next_state
  2921. != NULL twice.
  2922. * posix/regcomp.c (peek_token): Use opr.ctx_type instead of opr.idx
  2923. for ANCHOR.
  2924. (parse_expression): Only call init_word_char if word context will be
  2925. needed.
  2926. * posix/bug-regex11.c (tests): Add new tests.
  2927. * posix/tst-regex.c: Include getopt.h.
  2928. (timing): New variable.
  2929. (main): Set timing to 1 if --timing argument is present.
  2930. Add 2 new tests.
  2931. (run_test, run_test_backwards): Handle timing.
  2932. 2003-11-27 Jakub Jelinek <jakub@redhat.com>
  2933. * posix/regex_internal.h (re_string_t): Remove mbs_case field.
  2934. Add offsets, valid_raw_len, raw_len, raw_stop, mbs_allocated and
  2935. offsets_needed fields. Change icase, is_utf8 and map_notascii
  2936. type from int bitfield to unsigned char.
  2937. (MBS_ALLOCATED, MBS_CASE_ALLOCATED): Remove.
  2938. (build_wcs_upper_buffer): Change prototype to return int.
  2939. (re_string_peek_byte_case, re_string_fetch_byte_case): Remove
  2940. defines, add prototypes.
  2941. * posix/regex_internal.c (re_string_allocate): Don't initialize
  2942. stop here. Don't initialize mbs_case. Set valid_raw_len.
  2943. Use mbs_allocated instead of MBS_* macros.
  2944. (re_string_construct): Don't initialize stop and valid_len here.
  2945. Don't initialize mbs_case. Use mbs_allocated instead of MBS_*
  2946. macros. Reallocate buffers if build_wcs_upper_buffer converted
  2947. too few bytes. Set valid_len to bufs_len only for single byte
  2948. no translation and set in that case valid_raw_len as well.
  2949. (re_string_realloc_buffers): Reallocate offsets if not NULL.
  2950. Use mbs_allocated instead of MBS_ALLOCATED. Don't reallocate
  2951. mbs_case.
  2952. (re_string_construct_common): Initialize raw_len, mbs_allocated,
  2953. stop and raw_stop.
  2954. (build_wcs_buffer): Apply pstr->trans before mbrtowc instead of
  2955. after it. Set valid_raw_len. Don't set mbs_case.
  2956. (build_wcs_upper_buffer): Return REG_NOERROR or REG_ESPACE.
  2957. Only use the fast path if !pstr->offsets_needed. Apply pstr->trans
  2958. before mbrtowc instead of after it. If upper case character
  2959. uses different number of bytes than lower case, goto to the
  2960. slow path. Don't call towupper unnecessarily twice. Set
  2961. valid_raw_len as well. Handle in the slow path the case if
  2962. lower and upper case use different number of characters.
  2963. Don't set mbs_case.
  2964. (re_string_skip_chars): Use valid_raw_len instead of valid_len.
  2965. (build_upper_buffer): Don't set mbs_case. Add BE macro. Set
  2966. valid_raw_len.
  2967. (re_string_translate_buffer): Set mbs instead of mbs_case. Set
  2968. valid_raw_len.
  2969. (re_string_reconstruct): Use raw_len/raw_stop to initialize
  2970. len/stop. Clear valid_raw_len and offsets_needed when clearing
  2971. valid_len. Use mbs_allocated instead of MBS_* macros.
  2972. Check original offset against valid_raw_len instead of valid_len.
  2973. Remove mbs_case handling. Adjust valid_raw_len together with
  2974. valid_len. If is_utf8 and looking for tip context, apply
  2975. pstr->trans first. If buffers start with partial multi-byte
  2976. character, initialize mbs array as well if mbs_allocated.
  2977. Check return value of build_wcs_upper_buffer.
  2978. (re_string_peek_byte_case): New function.
  2979. (re_string_fetch_byte_case): New function.
  2980. (re_string_destruct): Use mbs_allocated instead of MBS_ALLOCATED.
  2981. Don't free mbs_case. Free offsets.
  2982. * posix/regcomp.c (init_dfa): Only check if charset name is UTF-8
  2983. if mb_cur_max == 6.
  2984. * posix/regexec.c (re_search_internal): Initialize input.raw_stop
  2985. as well. Use valid_raw_len instead of valid_len when looking
  2986. through fastmap. Adjust registers through input.offsets.
  2987. (extend_buffers): Allow build_wcs_upper_buffer to fail.
  2988. * posix/bug-regex18.c (tests): Enable #ifdefed out tests. Add new
  2989. tests.
  2990. 2003-11-26 Jakub Jelinek <jakub@redhat.com>
  2991. * posix/regexec.c (check_subexp_limits): Only check close
  2992. subexpression limitation if one is found. Formatting.
  2993. (sift_states_backward, check_arrival, check_arrival_add_next_nodes):
  2994. Formatting.
  2995. * posix/bug-regex11.c (tests): Enable most #ifdefed out tests.
  2996. Add new test.
  2997. 2003-11-26 Ulrich Drepper <drepper@redhat.com>
  2998. * sysdeps/unix/sysv/linux/kernel-features.h
  2999. (__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up.
  3000. * sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code
  3001. if __ASSUME_PROT_GROWSUPDOWN is defined.
  3002. 2003-11-26 Andreas Jaeger <aj@suse.de>
  3003. * sysdeps/unix/sysv/linux/dl-execstack.c
  3004. (_dl_make_stack_executable): Set dl_stack_flags always for
  3005. success.
  3006. 2003-06-22 Petter Reinholdtsen <pere@hungry.com>
  3007. * locale/program/ld-monetary.c: Only check the first three
  3008. characters in int_curr_symbol against ISO-4217, to make the
  3009. separator character used by a locale independent of the content
  3010. in iso-4217.def.
  3011. * locale/iso-4217.def: Remove the space character from all
  3012. currency values to get the new test code in ld-monetary.c working.
  3013. 2003-11-21 David Mosberger <davidm@hpl.hp.com>
  3014. * elf/soinit.c (_fini): Put _fini() in .init_array section if
  3015. HAVE_INITFINI_ARRAY is defined.
  3016. 2003-11-25 Ulrich Drepper <drepper@redhat.com>
  3017. * sysdeps/i386/fpu/bits/mathinline.h: Introduce __libc_sqrtl symbol.
  3018. Define it appropriately after last change. Use it where __sqrtl
  3019. was used.
  3020. 2003-11-25 H.J. Lu <hongjiu.lu@intel.com>
  3021. * sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline
  3022. sqrt for gcc 3.3 and above.
  3023. 2003-11-25 Ulrich Drepper <drepper@redhat.com>
  3024. * posix/runptests.c (main): Make errors fatal.
  3025. * posix/PTESTS: One test in GA135 and GA136 check functionality
  3026. which seems not guaranteed.
  3027. 2003-11-25 Jakub Jelinek <jakub@redhat.com>
  3028. * posix/regexec.c (re_search_internal): If prune_impossible_nodes
  3029. returned REG_NOMATCH, set match_last to -1. Don't initialize
  3030. pmatch[0] needlessly. Fix comment.
  3031. (prune_impossible_nodes): Don't segfault on NULL state_log entry.
  3032. (set_regs): Fix comment.
  3033. * posix/regcomp.c (parse_bracket_exp): Only set has_plural_match
  3034. if adding both SIMPLE_BRACKET and COMPLEX_BRACKET.
  3035. (build_charclass_op): Set has_plural_match if adding both
  3036. SIMPLE_BRACKET and COMPLEX_BRACKET.
  3037. * posix/bug-regex11.c (tests): Fix register values for one commented
  3038. out test. Add new tests.
  3039. * posix/regex_internal.c (re_string_allocate): Make sure init_len
  3040. is at least dfa->mb_cur_max.
  3041. (re_string_reconstruct): If is_utf8, don't fall back into
  3042. re_string_skip_chars just because idx points into a middle of
  3043. valid UTF-8 character. Instead, set the wcs bytes which correspond
  3044. to the partial character bytes to WEOF.
  3045. * posix/regexec.c (re_search_internal): Allocate input.bufs_len + 1
  3046. instead of dfa->nodes_len + 1 state_log entries initially.
  3047. * posix/bug-regex20.c (main): Uncomment backwards case insensitive
  3048. tests.
  3049. 2003-11-24 Jakub Jelinek <jakub@redhat.com>
  3050. * posix/regex_internal.h (re_token_t): Add word_char bit. Add
  3051. comment.
  3052. (re_dfa_t): Add sb_char field.
  3053. (bitset_mask): New function.
  3054. * posix/regcomp.c (free_dfa_content): Free sb_char.
  3055. (init_dfa): Don't initialize word_char unnecessarily.
  3056. Initialize sb_char.
  3057. (duplicate_node): Don't duplicate !word_char CHARACTERs with
  3058. NEXT_WORD_CONSTRAINT constraint or word_char CHARACTERs with
  3059. NEXT_NOTWORD_CONSTRAINT. Return -1 in *new_idx instead.
  3060. (duplicate_node_closure): Handle clone_dest == -1 from
  3061. duplicate_node.
  3062. (peek_token): Initialize word_char bit.
  3063. (parse_expression, parse_dup_op): Add comments.
  3064. (parse_bracket_exp): Don't set bitmask bits for multi-byte char
  3065. starting bytes here at the beginning. Mask off the bits right
  3066. before creating SIMPLE_BRACKET.
  3067. (build_charclass_op): Likewise.
  3068. * posix/regexec.c (group_nodes_into_DFAstates) <case OP_PERIOD>: Only
  3069. set accept bits for single-byte characters.
  3070. (group_nodes_into_DFAstates): Don't rely on characters 0 .. 127
  3071. being single byte encoded and the rest multi-byte.
  3072. * posix/bug-regex19.c (tests): Add new tests.
  3073. (do_mb_tests): Initialize t to *test.
  3074. (main): Fail even on do_mb_tests errors.
  3075. 2003-11-23 Ulrich Drepper <drepper@redhat.com>
  3076. * posix/regexec.c: Correct several memory allocation problems.
  3077. Add more BE.
  3078. * posix/regex_internal.c: Likewise.
  3079. * posix/regcomp.c: Likewise.
  3080. * posix/regexec.c: Add const in a number of places.
  3081. * posix/regex_internal.h: Make EPSILON_BIT a macro to help
  3082. debugging. Its value isn't important.
  3083. 2003-11-22 Ulrich Drepper <drepper@redhat.com>
  3084. * posix/PTESTS: Fix first test of GA143.
  3085. 2003-11-21 Ulrich Drepper <drepper@redhat.com>
  3086. * posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation
  3087. isn't likely.
  3088. * locale/programs/charmap.c (charmap_read): If encoding is found
  3089. not ASCII compatible, set enc_not_ascii_compatible.
  3090. * locale/programs/charmap.h: Declare enc_not_ascii_compatible.
  3091. * locale/programs/ld-ctype.c (ctype_startup): If
  3092. enc_not_ascii_compatible is set, initialize to_nonascii to 1.
  3093. 2003-11-22 Jakub Jelinek <jakub@redhat.com>
  3094. * elf/rtld.c (process_envvars): Only honor LD_USE_LOAD_BIAS
  3095. if !__libc_enable_secure.
  3096. * sysdeps/generic/ldsodefs.h (_dl_use_load_bias): New _rtld_global
  3097. field.
  3098. * elf/rtld.c (_rtld_global): Initialize _dl_use_load_bias field.
  3099. (dl_main): Set GL(dl_use_load_bias) default.
  3100. (process_envvars): Set GL(dl_use_load_bias) from LD_USE_LOAD_BIAS.
  3101. Add EXTRA_LD_ENVVARS_13.
  3102. * elf/dl-support.c (_dl_use_load_bias): New variable.
  3103. * elf/dl-load.c (_dl_map_object_from_fd): Mask c->mapstart
  3104. with GL(dl_use_load_bias).
  3105. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add
  3106. LD_USE_LOAD_BIAS.
  3107. * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Remove.
  3108. (EXTRA_LD_ENVVARS_LINUX): Renamed to...
  3109. (EXTRA_LD_ENVVARS_13): ... this. Remove case at the beginning.
  3110. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
  3111. Don't undefine first. Remove EXTRA_LD_ENVVARS_LINUX.
  3112. 2003-11-21 Ulrich Drepper <drepper@redhat.com>
  3113. * posix/regcomp.c (duplicate_node): Remove unnecessary local variable.
  3114. * posix/regcomp.c (re_dfa_add_tree_node): Make fourth parameter a
  3115. pointer. Adjust callers.
  3116. * posix/regcomp.c (fetch_token): Change interface to match
  3117. peek_token. This avoids some copying and reduces code size.
  3118. 2003-11-21 Jakub Jelinek <jakub@redhat.com>
  3119. * posix/bug-regex19.c (tests): Add more tests.
  3120. * posix/bug-regex11.c: And one more commented out test.
  3121. * posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte
  3122. tests multiple times unnecessarily.
  3123. * posix/bug-regex19.c (BRE, ERE): Define.
  3124. (tests): Add many new tests, remove UTF-8 ones.
  3125. (do_one_test, do_mb_tests): New functions.
  3126. (main): Rewritten using do_one_test and do_mb_tests.
  3127. 2003-11-20 Ulrich Drepper <drepper@redhat.com>
  3128. * posix/PTESTS: Fix first test in GA143.
  3129. 2003-11-20 Jakub Jelinek <jakub@redhat.com>
  3130. * posix/regex_internal.h (re_dfastate_t): Remove trtable_search.
  3131. Add word_trtable.
  3132. * posix/regex_internal.c (create_newstate_common, free_state):
  3133. Don't free trtable_search.
  3134. * posix/regexec.c (check_matching): Remove fl_search argument.
  3135. (transit_state_sb): Likewise. #ifdef out as unused.
  3136. (build_trtable): Remove fl_search argument. Set state->word_trtable
  3137. and state->trtable. Build separate word and non-word tables if
  3138. multi-byte and they differ for some character.
  3139. (transit_state): Remove fl_search argument. Don't update
  3140. state->trtable here. Handle state->word_trtable.
  3141. #ifdef out unused call to transit_state_sb.
  3142. (re_search_internal): Update check_matching caller.
  3143. (group_nodes_into_DFAstates): Don't clear non-ascii chars in accepts
  3144. bitmask for multi-byte locales.
  3145. * posix/bug-regex19.c (tests): Enable some commented out tests, add
  3146. 2 new tests.
  3147. * posix/tst-rxspencer.c (mb_tests): Don't test [[=b=]] for now as
  3148. multi-byte. Don't run identical multi-byte tests multiple times
  3149. unnecessarily.
  3150. (main): Check setlocale return value.
  3151. * posix/Makefile (tst-rxspencer-ARGS): Add --utf8 argument.
  3152. (tst-rxspencer-ENV): Remove MALLOC_TRACE, add LOCPATH.
  3153. ($(objpfx)tst-rxspencer-mem): Run another tst-rxspencer test
  3154. here, without --utf8 argument but with MALLOC_TRACE.
  3155. 2003-11-19 Jakub Jelinek <jakub@redhat.com>
  3156. * posix/regexec.c (extend_buffers): Don't allocate
  3157. twice as big state_log as needed. Don't modify pstr->valid_len
  3158. for mb_cur_max == 1 !icase !trans.
  3159. * posix/regcomp.c (free_bin_tree): Removed.
  3160. (create_tree): Add dfa argument. Don't call re_malloc for
  3161. each tree, instead allocate from str_tree_storage.
  3162. (re_dfa_add_tree_node): New function.
  3163. (free_dfa_content): Handle freeing if dfa->nodes == NULL
  3164. or dfa->state_table == NULL.
  3165. (re_compile_internal): Call free_dfa_content if init_dfa
  3166. fails. Call free_workarea_compile, re_string_destruct
  3167. and free_dfa_content for most of the other failure paths.
  3168. (init_dfa): Initialize str_tree_storage_idx.
  3169. Don't clear any fields on allocation failure.
  3170. (free_workarea_compile): Free str_tree_storage chunks
  3171. instead of free_bin_tree (dfa->str_tree).
  3172. (parse): Call re_dfa_add_tree_node instead of re_dfa_add_node
  3173. followed by create_tree. Add dfa argument to remaining
  3174. create_tree calls. Remove new_idx variable. Remove calls
  3175. to free_bin_tree.
  3176. (parse_reg_exp, parse_branch, parse_expression, parse_sub_exp,
  3177. parse_dup_op, parse_bracket_exp, build_charclass_op): Likewise.
  3178. (duplicate_tree): Remove calls to free_bin_tree, add dfa
  3179. argument to create_tree.
  3180. * posix/regex_internal.h (BIN_TREE_STORAGE_SIZE): Define.
  3181. (bin_tree_storage_t): New type.
  3182. (re_dfa_t): Add str_tree_storage and str_tree_storage_idx
  3183. fields.
  3184. * posix/Makefile (tests): Add bug-regex21.
  3185. (generated): Add bug-regex21-mem, bug-regex21.mtrace,
  3186. tst-rxspencer-mem and tst-rxspencer.mtrace.
  3187. (tests): Depend on $(objpfx)bug-regex21-mem
  3188. and $(objpfx)tst-rxspencer-mem.
  3189. (bug-regex21-ENV, tst-rxspencer-ENV): Set.
  3190. ($(objpfx)bug-regex21-mem, $(objpfx)tst-rxspencer-mem): New.
  3191. * posix/tst-rxspencer.c (main): Add call to mtrace.
  3192. Free line at the end.
  3193. * posix/bug-regex21.c: New test.
  3194. 2003-11-19 Ulrich Drepper <drepper@redhat.com>
  3195. * posix/bug-regex20.c: Correct invalid UTF-8 sequences.
  3196. * posix/regex_internal.c (build_wcs_upper_buffer): If mbrtowc
  3197. fails, just use the byte, do no fancy conversions.
  3198. * posix/regex_internal.h (re_string_first_byte): Use ->valid_len
  3199. not ->len.
  3200. (re_string_is_single_byte_char): Likewise.
  3201. 2003-11-18 Ulrich Drepper <drepper@redhat.com>
  3202. * posix/regexec.c (get_subexp): After calling get_subexp_sub
  3203. reload buf and bkref_str. Little optimization by avoiding memcmp.
  3204. 2003-11-14 David Mosberger <davidm@hpl.hp.com>
  3205. * sysdeps/unix/sysv/linux/ia64/sysdep.h
  3206. (GAS_ALIGN_BREAKS_UNWIND_INFO): Define this macro to indicate
  3207. that all existing GAS versions have a problem with .align inside
  3208. a function.
  3209. * sysdeps/ia64/memccpy.S: Work around GAS_ALIGN_BREAKS_UNWIND_INFO bug.
  3210. * sysdeps/ia64/memcpy.S: Likewise.
  3211. * sysdeps/ia64/memset.S: Likewise.
  3212. * sysdeps/ia64/memmove.S: Likewise. Also move the jump-table to
  3213. out of .text into .rodata, where it belongs.
  3214. * sysdeps/unix/sysv/linux/ia64/pipe.S: There is no need to
  3215. save/restore input-arguments, because they're necessarily
  3216. preserved by the kernel to support syscall-restart.
  3217. 2003-11-18 Jakub Jelinek <jakub@redhat.com>
  3218. * posix/regex_internal.h (re_token_type_t): Remove unused ALT,
  3219. END_OF_RE_TOKEN_T and SUBEXP. Reorder values. Add OP_UTF8_PERIOD
  3220. and EPSILON_BIT.
  3221. (IS_EPSILON_NODE): Just test if EPSILON_BIT is set.
  3222. (ACCEPT_MB_NODE): Return 1 for OP_UTF8_PERIOD as well.
  3223. * posix/regex_internal.c (create_ci_newstate, create_cd_newstate):
  3224. Handle OP_UTF8_PERIOD.
  3225. (re_string_reconstruct): Set valid_len for single byte char searching
  3226. with no translation and case sensitivity.
  3227. * posix/regcomp.c (re_compile_fastmap_iter, calc_first): Handle
  3228. OP_UTF8_PERIOD.
  3229. (re_compile_internal): Don't call optimize_utf8 if preg->translate
  3230. != NULL.
  3231. (optimize_utf8): Remove BACK_SLASH case.
  3232. Transform OP_PERIOD into OP_UTF8_PERIOD if the searching can be
  3233. optimized.
  3234. (parse_bracket_exp): Don't create SIMPLE_BRACKET if it doesn't have
  3235. any bits set and COMPLEX_BRACKET is used.
  3236. * posix/regexec.c (transit_state_mb): Fix comment typo.
  3237. (group_nodes_into_DFAstates, check_node_accept): Handle
  3238. OP_UTF8_PERIOD.
  3239. (check_node_accept_bytes): Likewise. Reorder slightly so that
  3240. re_string_char_size_at and re_string_elem_size_at are called
  3241. only when needed.
  3242. * posix/bug-regex20.c (BRE, ERE): Define.
  3243. (tests): Use them to make lines shorter. Expect . to be
  3244. optimized. Add lots of new tests.
  3245. (main): Run (ATM just case sensitive) test with backwards searching
  3246. as well.
  3247. 2003-11-18 Jakub Jelinek <jakub@redhat.com>
  3248. * io/bug-ftw4.c: Include string.h.
  3249. * posix/fnmatch.c (mbsinit): Remove define.
  3250. 2003-11-17 Jakub Jelinek <jakub@redhat.com>
  3251. * posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as
  3252. well.
  3253. * posix/bug-regex20.c (tests): Add new tests. Multi-byte char
  3254. followed by dup operator is expected to be optimized.
  3255. * posix/regexec.c (check_node_accept_bytes): Move nrules and j
  3256. variables to the block where they are only used, initialize
  3257. nrules only immediately before using it.
  3258. 2003-11-15 Andreas Jaeger <aj@suse.de>
  3259. * sysdeps/x86_64/fpu/s_scalbnl.S: New file.
  3260. * sysdeps/x86_64/fpu/s_truncl.S: New file.
  3261. * sysdeps/x86_64/fpu/s_nearbyintl.S: New file.
  3262. * sysdeps/x86_64/fpu/s_floorl.S: New file.
  3263. * sysdeps/x86_64/fpu/s_ilogbl.S: New file.
  3264. * sysdeps/x86_64/fpu/e_remainderl.S: New file.
  3265. * math/libm-test.inc (floor_test): Test also ±0.25.
  3266. (ceil_test): Test -0.25.
  3267. 2003-11-17 Ulrich Drepper <drepper@redhat.com>
  3268. * sysdeps/posix/getaddrinfo.c: Add support for destination address
  3269. selection according to RFC 3484.
  3270. 2003-11-15 Ulrich Drepper <drepper@redhat.com>
  3271. * posix/regex_internal.h: Add forward declaration of re_dfa_t.
  3272. Replace last two parameters of re_string_allocate and
  3273. re_string_construct with pointer to DFA.
  3274. (re_dfa_t): Add map_notascii field.
  3275. * posix/regcomp.c (re_compile_internal): Add call of
  3276. re_string_construct.
  3277. (init_dfa): Initialize map_notascii.
  3278. * posix/regex_internal.c: Adjust definitions of re_string_allocate
  3279. and re_string_construct.
  3280. Pass DFA to re_string_construct. Adjust definition. Initialize
  3281. map_notascii field.
  3282. (build_wcs_upper_buffer): If map_notascii is zero use simplified
  3283. method to map ASCII values to upper case.
  3284. * posix/regex.c: Include localeinfo.h.
  3285. * posix/regexec.c: Adjust call of re_string_allocate.
  3286. * locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII.
  3287. * locale/localeinfo.h (LIMAGIC): Change value.
  3288. * locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII.
  3289. * locale/C-ctype.h: Likewise.
  3290. * locale/programs/ld-ctype.c: Compute whether any mapping maps from
  3291. ASCII to non-ASCII value. Write out that value.
  3292. * wcsmbs/mbsinit.c: Undef mbsinit and __mbsinit.
  3293. * include/wchar.h: Provide inline versions of mbsinit and __mbsinit.
  3294. 2003-11-14 Jakub Jelinek <jakub@redhat.com>
  3295. * posix/tst-rxspencer.c (check_match): @ without any following
  3296. characters must match only end of string.
  3297. (main): Fix filename in error message.
  3298. 2003-11-12 David Mosberger <davidm@hpl.hp.com>
  3299. * sysdeps/ia64/dl-machine.h: Force inlining of
  3300. elf_machine_runtime_setup().
  3301. 2003-11-13 Andreas Jaeger <aj@suse.de>
  3302. * math/Makefile (CFLAGS-test-float.c): Add -fno-builtin.
  3303. (CFLAGS-test-double.c): Likewise.
  3304. (CFLAGS-test-ldouble.c): Likewise.
  3305. (CPPFLAGS-test-ifloat.c): Likewise.
  3306. (CPPFLAGS-test-idouble.c): Likewise.
  3307. (CPPFLAGS-test-ildoubl.c): Likewise.
  3308. * math/libm-test.inc (ceil_test): Test ceil (0.25).
  3309. 2003-11-04 Ulrich Drepper <drepper@redhat.com>
  3310. * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who
  3311. sends the netlink data.
  3312. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
  3313. 2003-11-13 Jakub Jelinek <jakub@redhat.com>
  3314. * posix/regcomp.c (optimize_utf8): Optimize even if SIMPLE_BRACKET
  3315. with no bits set for >= 0x80 chars is seen.
  3316. * posix/bug-regex20.c (tests): Add new tests. Expect [ABC] to be
  3317. optimized.
  3318. (main): Run all tests with RE_ICASE as well.
  3319. 2003-11-13 Ulrich Drepper <drepper@redhat.com>
  3320. * posix/Makefile: Add rules to build and run tst-rxspencer.
  3321. (distribute): Add rxspencer/tests and rxspencer/COPYRIGHT.
  3322. * posix/tst-rxspencer.c: New file.
  3323. * posix/rxspencer/tests: New file.
  3324. * posix/rxspencer/COPYRIGHT: New file.
  3325. Patch mostly by Jakub Jelinek.
  3326. * posix/regcomp.c (parse_bracket_exp): Don't check for range if
  3327. this is no option given the first token.
  3328. * posix/regcomp.c (parse_bracket_exp): Fix test for EOS after
  3329. hyphen in range expression. Return EBRACK in this case.
  3330. * posix/regcomp.c (parse_bracket_element): Reject hyphens unless
  3331. we expect them or it's the last element in the bracket expression.
  3332. Indicated by new parameter. Adjust all callers.
  3333. * posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern.
  3334. Prettier error messages.
  3335. * posix/regcomp.c (parse_dup_op): Fail with REG_BADBR is first
  3336. number in {,} expression is larger.
  3337. 2003-11-13 Andreas Jaeger <aj@suse.de>
  3338. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
  3339. Define appropriately for x86_64.
  3340. (__ASSUME_UTIMES): Likewise.
  3341. (__ASSUME_CLONE_THREAD_FLAGS): Likewise.
  3342. * sysdeps/x86_64/fpu/s_ceill.S: New file.
  3343. 2003-11-13 Ulrich Drepper <drepper@redhat.com>
  3344. * posix/regcomp.c (parse_expression): In BRE consecutive
  3345. duplications are not allowed.
  3346. 2003-11-12 Ulrich Drepper <drepper@redhat.com>
  3347. * posix/regcomp.c (parse_bracket_exp): If end of expression is
  3348. seen, return EBRACK error, not BADPAT.
  3349. * posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM
  3350. and RE_CONTEXT_INVALID_DUP syntax flag is set, fail.
  3351. * posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro.
  3352. (RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS.
  3353. * posix/regcomp.c (parse_sub_exp): In case of not-matching ( )
  3354. return REG_EPAREN.
  3355. * posix/PTESTS: Cleanup. Fix typoes. Correct bugs in 2003.2.
  3356. * posix/runptests.c (main): Handle comments.
  3357. * posix/PTESTS2C.sed: Handle comments.
  3358. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
  3359. * posix/regcomp.c (optimize_utf8): New function.
  3360. (re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead
  3361. of !icase.
  3362. (re_compile_internal): Call optimize_utf8 if not case insensitive
  3363. and in UTF-8 locale.
  3364. * posix/regex_internal.h: Ifdef out some prototypes if
  3365. RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings.
  3366. * posix/Makefile (tests): Add bug-regex20.
  3367. (bug-regex20-ENV): Add LOCPATH.
  3368. * posix/bug-regex20.c: New test.
  3369. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
  3370. * io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes.
  3371. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
  3372. * posix/tst-regex.c (umemlen): New variable.
  3373. (test_expr): Add expectedicase argument. Test case insensitive
  3374. searches as well as backwards searches (case sensitive and
  3375. insensitive) too.
  3376. (run_test): Add icase argument. Use it to compute regcomp flags.
  3377. (run_test_backwards): New function.
  3378. (main): Cast read to size_t to avoid warning. Set umemlen.
  3379. Add expectedicase arguments to test_expr.
  3380. * posix/regex_internal.c (re_string_reconstruct): If is_utf8,
  3381. find previous character by walking back instead of converting
  3382. all chars from beginning.
  3383. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
  3384. * posix/regex_internal.h (struct re_string_t): Add is_utf8
  3385. and mb_cur_max fields.
  3386. (struct re_dfa_t): Likewise. Reorder fields to make structure
  3387. smaller on 64-bit arches.
  3388. (re_string_allocate, re_string_construct): Add mb_cur_max and
  3389. is_utf8 arguments.
  3390. (re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max
  3391. instead of MB_CUR_MAX.
  3392. * posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max
  3393. instead of MB_CUR_MAX.
  3394. (re_compile_internal): Pass new arguments to re_string_construct.
  3395. (init_dfa): Initialize mb_cur_max and is_utf8 fields.
  3396. (peek_token, peek_token_bracket): Use input->mb_cur_max instead
  3397. of MB_CUR_MAX.
  3398. (parse_expression, parse_bracket_exp, parse_charclass_op): Use
  3399. dfa->mb_cur_max instead of MB_CUR_MAX.
  3400. * posix/regex_internal.c (re_string_construct_common): Add
  3401. mb_cur_max and is_utf8 arguments. Initialize fields with them.
  3402. (re_string_allocate, re_string_construct): Add mb_cur_max and
  3403. is_utf8 arguments, pass them to re_string_construct_common.
  3404. Use mb_cur_max instead of MB_CUR_MAX.
  3405. (re_string_realloc_buffers): Use pstr->mb_cur_max instead of
  3406. MB_CUR_MAX.
  3407. (re_string_reconstruct): Likewise.
  3408. (re_string_context_at): Use input->mb_cur_max instead of
  3409. MB_CUR_MAX.
  3410. (create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max
  3411. instead of MB_CUR_MAX.
  3412. * posix/regexec.c (re_search_internal): Likewise.
  3413. Pass new arguments to re_string_allocate.
  3414. (check_matching, transit_state_sb): Use dfa->mb_cur_max instead of
  3415. MB_CUR_MAX.
  3416. (extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX.
  3417. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
  3418. * posix/Makefile (tests): Add bug-regex19.
  3419. (bug-regex19-ENV): Add LOCPATH.
  3420. * posix/bug-regex19.c: New test.
  3421. 2003-11-11 Jakub Jelinek <jakub@redhat.com>
  3422. * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE
  3423. with MB_CUR_MAX > 1 locales in the fastmap.
  3424. 2003-11-11 Jakub Jelinek <jakub@redhat.com>
  3425. * posix/regex_internal.c (build_wcs_buffer): Fix comment typo.
  3426. (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead
  3427. of toupper.
  3428. * posix/Makefile (tests): Add bug-regex17 and bug-regex18.
  3429. (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH.
  3430. * posix/bug-regex17.c: New file
  3431. * posix/bug-regex18.c: New file.
  3432. 2003-10-08 Thorsten Kukuk <kukuk@suse.de>
  3433. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):
  3434. Define __NR_pread/__NR_pwrite if not done in kernel headers
  3435. 2003-11-11 Roland McGrath <roland@redhat.com>
  3436. * manual/xtract-typefun.awk: Swallow [(){}*] from function names.
  3437. * manual/Makefile (info): Don't depend on dir-add.info.
  3438. (libc.dvi libc.pdf libc.info): Depend on dir-add.texi.
  3439. (dir-add.info): Target removed, replaced with ...
  3440. (dir-add.texi): New target.
  3441. (distribute): Add it.
  3442. (install): Remove variant with --section arguments.
  3443. Let the @dircategory directives do their work.
  3444. (mostlyclean): Don't remove dir-add.info here.
  3445. (realclean): Remove dir-add.texi here.
  3446. * manual/libc.texinfo: @include dir-add.texi
  3447. * configure.in: Remove check for old Debian install-info.
  3448. * configure: Regenerated.
  3449. * config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.
  3450. 2003-11-08 Andreas Schwab <schwab@suse.de>
  3451. * scripts/data/c++-types-ia64-linux-gnu.data: New file.
  3452. 2003-11-10 Carlos O'Donell <carlos@baldric.uwo.ca>
  3453. * io/ftwtest-sh: Fix nested sed commands.
  3454. 2003-11-10 Jakub Jelinek <jakub@redhat.com>
  3455. * posix/regex_internal.h (re_string_char_size_at): Don't look beyond
  3456. valid_len wide chars.
  3457. 2003-11-09 Roland McGrath <roland@redhat.com>
  3458. * manual/examples/dir2.c (one): Add const to argument type.
  3459. Reported by J de Haan <j.de.haan@home.nl>.
  3460. 2003-11-07 Ulrich Drepper <drepper@redhat.com>
  3461. * po/pl.po: Update from translation team.
  3462. 2003-11-07 Jakub Jelinek <jakub@redhat.com>
  3463. * io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
  3464. (ftw_dir, ftw_startup): Add __attribute ((noinline)).
  3465. (NFTW_OLD_NAME, NFTW_NEW_NAME): New functions.
  3466. (NFTW_NAME): Only define if !_LIBC, add versioned_symbol
  3467. and compat_symbol.
  3468. * io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
  3469. * io/Versions (libc): Export nftw@@GLIBC_2.3.3
  3470. and nftw64@@GLIBC_2.3.3.
  3471. * io/ftw.h (FTW_ACTIONRETVAL): New flag.
  3472. (FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New.
  3473. * io/ftw.c (ftw_dir): Add old_dir argument.
  3474. Clear result if it was FTW_SKIP_SIBLINGS after processing all
  3475. dir entries. Change cwd back if old_dir != NULL.
  3476. (process_entry): Adjust caller. Don't change cwd back here.
  3477. Change FTW_SKIP_SUBTREE result to 0.
  3478. (ftw_startup): Adjust ftw_dir caller.
  3479. Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS.
  3480. * io/ftwtest.c (skip_subtree, skip_siblings): New variables.
  3481. (options, main): Add --skip-subtree and --skip-siblings options.
  3482. (cb): Use return FTW_CONTINUE instead of return 0.
  3483. Handle --skip-subtree and --skip-siblings.
  3484. * io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL.
  3485. * manual/filesys.texi: Document FTW_ACTIONRETVAL.
  3486. 2003-11-04 Jakub Jelinek <jakub@redhat.com>
  3487. * io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns
  3488. non-zero.
  3489. * io/Makefile (tests): Add bug-ftw4.
  3490. * io/bug-ftw4.c: New test.
  3491. 2003-10-27 Daniel Jacobowitz <drow@mvista.com>
  3492. * libio/libioP.h [_IO_USE_OLD_IO_FILE]
  3493. (struct _IO_FILE_complete_plus): New type.
  3494. * libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus.
  3495. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
  3496. * libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise.
  3497. Call _IO_old_init instead of _IO_init.
  3498. 2003-11-03 Ulrich Drepper <drepper@redhat.com>
  3499. * intl/locale.alias: nb_NO is now the correct name, not no_NO.
  3500. * locale/iso-639.def: Add Blin.
  3501. Patch by Daniel Yacob <locales@geez.org>.
  3502. 2003-10-31 Steven Munroe <sjmunroe@us.ibm.com>
  3503. * sysdeps/powerpc/powerpc32/strncmp.S: New File.
  3504. * sysdeps/powerpc/powerpc64/strncmp.S: New File.
  3505. 2003-11-01 Randolph Chung <tausq@debian.org>
  3506. * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
  3507. LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
  3508. Add missing parentheses.
  3509. 2003-11-01 Roland McGrath <roland@redhat.com>
  3510. * libio/bug-ftell.c (do_test): Add a cast.
  3511. 2003-09-26 Daniel Jacobowitz <drow@mvista.com>
  3512. * Makerules (shlib.lds): Make sure that ld doesn't try to link
  3513. anything while generating the linker script.
  3514. 2003-10-31 Roland McGrath <roland@redhat.com>
  3515. * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
  3516. special members.
  3517. 2003-10-29 Ulrich Drepper <drepper@redhat.com>
  3518. * po/be.po: Update from translation team.
  3519. 2003-10-27 Ulrich Drepper <drepper@redhat.com>
  3520. * elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
  3521. _dl_map_object.
  3522. * elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
  3523. ELF header.
  3524. * inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
  3525. rest of line. We use getline which means this cannot happen.
  3526. 2003-10-26 Ulrich Drepper <drepper@redhat.com>
  3527. * sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
  3528. Avoid infinite loops in case the mounts file is hosed.
  3529. * io/Makefile: Add rules to build and run tst-statvfs.
  3530. * io/tst-statvfs.c: New file.
  3531. * include/dlfcn.h (__RTLD_OPENEXEC): Define.
  3532. * elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
  3533. executables unless __RTLD_OPENEXEC flag is present.
  3534. * elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
  3535. _dl_map_object when loading the executable.
  3536. * sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
  3537. correctly.
  3538. * posix/globtest.sh: Add tests for GLOB_BRACE and escaping.
  3539. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
  3540. reverse lookup format for IPv6 addresses is using bitstring and
  3541. .ip6.arpa suffix.
  3542. * resolv/ns_name.c: Implement encoding and decoding bitstring in
  3543. hex format.
  3544. 2003-10-23 Jakub Jelinek <jakub@redhat.com>
  3545. * locale/programs/locale.c (show_info): Fix printing word values on
  3546. 64-bit big-endian architectures.
  3547. 2003-10-19 Bruno Haible <bruno@clisp.org>
  3548. * intl/hash-string.c (hash_string): Zero-extend each char from the
  3549. string; the old code did a sign-extend on some platforms.
  3550. 2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
  3551. * sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
  3552. append options to these.
  3553. * sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
  3554. 2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
  3555. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
  3556. 2003-10-15 Roland McGrath <roland@redhat.com>
  3557. * elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function.
  3558. Fake an entry for the main executable and then call __dl_iterate_phdr.
  3559. * elf/Makefile (routines): Remove dl-iteratephdr-static.
  3560. (elide-routines.os): Likewise.
  3561. (CFLAGS-dl-iterate-phdr-static.c): Variable removed.
  3562. * sysdeps/generic/dl-iteratephdr-static.c: File removed.
  3563. * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed.
  3564. 2003-10-15 Jakub Jelinek <jakub@redhat.com>
  3565. * elf/rtld.c (print_statistics): Print also number of relative
  3566. relocations.
  3567. 2003-10-12 Carlos O'Donell <carlos@baldric.uwo.ca>
  3568. * sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use.
  3569. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL,
  3570. SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL,
  3571. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL,
  3572. and undef JUMPTARGET before use.
  3573. [PIC]: Save pic register around syscall.
  3574. * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall):
  3575. Cleanup asm statment.
  3576. 2003-10-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3577. * sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD
  3578. after trapa instruction.
  3579. 2003-10-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3580. * sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid.
  3581. 2003-10-10 Carlos O'Donell <carlos@baldric.uwo.ca>
  3582. * sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.
  3583. 2003-10-09 Roland McGrath <roland@redhat.com>
  3584. * elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
  3585. is no file to name.
  3586. 2003-10-08 Jakub Jelinek <jakub@redhat.com>
  3587. * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
  3588. two identical copies of strings.
  3589. 2003-10-06 Ulrich Drepper <drepper@redhat.com>
  3590. * posix/bug-regex11.c: Add some more tests which fail so far.
  3591. Disable them. Patch by Paolo Bonzini <bonzini@gnu.org>.
  3592. 2003-10-05 Paolo Bonzini <bonzini@gnu.org>
  3593. * posix/bug-regex11.c: Add more backreference-related test cases.
  3594. (main): Show the failing regex in the error messages.
  3595. * posix/regexec.c (check_dst_limits_calc_pos):
  3596. Simplify some nested conditionals. Replace if's with a switch
  3597. statement.
  3598. (check_dst_limits_calc_pos <TYPE_BKREF>): Rename parameter NODE to
  3599. FROM_NODE, it shadows a local variable; don't recurse if FROM_NODE
  3600. does not change in the recursive invocation, fixing an infinite loop
  3601. in the ()\1*\1* regex.
  3602. (sift_states_backward): Fix function comment.
  3603. * posix/regcomp.c (calc_epsdest): Add an assertion.
  3604. 2003-10-06 Ulrich Drepper <drepper@redhat.com>
  3605. * manual/examples/testopt.c: Fix warnings. Better error message
  3606. for missing -c argument.
  3607. Patch mostly by Gitonga Marete <bgmarete@comcast.net>.
  3608. * timezone/asia: Update from tzdata2003d.
  3609. * timezone/australasia: Likewise.
  3610. * timezone/backward: Likewise.
  3611. * timezone/europe: Likewise.
  3612. * timezone/iso3166.tab: Likewise.
  3613. * timezone/northamerica: Likewise.
  3614. * timezone/southamerica: Likewise.
  3615. * timezone/zone.tab: Likewise.
  3616. 2003-10-05 Jakub Jelinek <jakub@redhat.com>
  3617. * sysdeps/ia64/backtrace.c: New file.
  3618. * sysdeps/x86_64/backtrace.c: New file.
  3619. * sysdeps/generic/unwind.h (_Unwind_Trace_Fn): New type.
  3620. (_Unwind_Backtrace): New prototype.
  3621. 2003-10-03 Ulrich Drepper <drepper@redhat.com>
  3622. * sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub.
  3623. * sysdeps/i386/elf/setjmp.S: Likewise.
  3624. 2003-10-02 Roland McGrath <roland@redhat.com>
  3625. * argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].
  3626. * argp/argp-namefrob.h
  3627. [_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]
  3628. (__argp_short_program_name): Don't declare fn, define it as a macro.
  3629. 2003-08-22 Simon Josefsson <jas@extundo.com>
  3630. * argp/argp-fmtstream.h [!__attribute__]: Define to nothing.
  3631. * argp/argp-help.c: Don't include malloc.h, some platforms
  3632. complain and it doesn't appear to be used.
  3633. [!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare
  3634. strerror_r.
  3635. [!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare
  3636. strerror.
  3637. (hol_entry_long_iterate): Change __attribute to __attribute__.
  3638. (_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE
  3639. && HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile.
  3640. (__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller,
  3641. modified after comments from Ulrich Drepper.
  3642. (__argp_short_program_name): Ditto.
  3643. (__argp_state_help, __argp_error, __argp_failure): Use it.
  3644. (__argp_failure): Use strerror when necessary.
  3645. * argp/argp-namefrob.h (__flockfile, __funlockfile, __mempcpy)
  3646. (__strchrnul, __strerror_r, __strndup) [!_LIBC]: Remove __-prefix.
  3647. (clearerr_unlocked, feof_unlocked, ferror_unlocked)
  3648. (fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked)
  3649. (fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked)
  3650. (putc_unlocked, putchar_unlocked) [!_LIBC && !HAVE_DECL_*]: Map to
  3651. non-unlocked functions.
  3652. [!_LIBC]: Add prototypes for __argp_basename and
  3653. __argp_short_program_name.
  3654. * argp/argp-parse.c (argp_default_parser): Only use
  3655. program_invocation{_short,}_name if declared.
  3656. (parser_init): Use __argp_short_program_name.
  3657. * argp/argp-xinl.c [_LIBC || HAVE_FEATURES_H]: Add CPP check for
  3658. '#include features.h'.
  3659. * argp/argp.h [!__attribute__]: Define to nothing.
  3660. 2003-09-26 Paolo Bonzini <bonzini@gnu.org>
  3661. * posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE
  3662. for the first token in a subexpression as well.
  3663. 2003-10-02 Jakub Jelinek <jakub@redhat.com>
  3664. * posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor
  3665. handling again.
  3666. (parse_reg_exp): Likewise.
  3667. * posix/regex.h (RE_CARET_ANCHORS_HERE): Define.
  3668. * posix/bug-regex11.c (tests): Add new tests.
  3669. * posix/bug-regex12.c (tests): Add new test.
  3670. 2003-10-01 Thorsten Kukuk <kukuk@suse.de>
  3671. * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
  3672. variables only used if TLS_DTV_AT_TP is defined into the #if branch.
  3673. 2003-10-02 Jeroen Dekkers <jeroen@dekkers.cx>
  3674. * sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from
  3675. the old thread-m.h header too.
  3676. 2003-10-02 Ulrich Drepper <drepper@redhat.com>
  3677. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Go
  3678. back to 131027 since this is what the kernel enforces.
  3679. * inet/getnameinfo.c: Move domain out of nrl_domainname scope and
  3680. define it with libc_freeres_ptr.
  3681. 2003-10-01 Roland McGrath <roland@redhat.com>
  3682. * elf/rtld.c (dl_main): Add cast in last change.
  3683. 2003-09-10 Chris Demetriou <cgd@broadcom.com>
  3684. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
  3685. "#if 0" surrounding most of contents.
  3686. (SYSCALL_ERROR_LABEL): Define.
  3687. (__SYSCALL_CLOBBERS): Add $10.
  3688. (internal_syscall7): Remove.
  3689. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
  3690. 2003-09-30 Ulrich Drepper <drepper@redhat.com>
  3691. * elf/rtld.c (dl_main): Also set l_map_start.
  3692. 2003-09-30 Daniel Jacobowitz <drow@mvista.com>
  3693. * elf/rtld.c (dl_main): Set l_libname and l_name for the sysinfo DSO
  3694. to work around kernel problem.
  3695. 2003-09-27 Wolfram Gloger <wg@malloc.de>
  3696. * malloc/malloc.c: Include <malloc-machine.h> earlier instead of
  3697. "thread-m.h", so that default parameters can be overridden in a
  3698. system-specific malloc-machine.h. Remove extra ; from extern "C"
  3699. closing brace.
  3700. * sysdeps/generic/malloc-machine.h: New file.
  3701. * sysdeps/mach/hurd/malloc-machine.h: New file.
  3702. * malloc/thread-m.h: Removed.
  3703. * malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it
  3704. is in sysdeps/generic/malloc-machine.h now.
  3705. 2003-09-29 Ulrich Drepper <drepper@redhat.com>
  3706. * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
  3707. variables only used if TLS_TCB_AT_TP is defined into the #if
  3708. branch.
  3709. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as
  3710. well to cover using long long in C90.
  3711. 2003-09-28 Alfred M. Szmidt <ams@kemisten.nu>
  3712. * sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop):
  3713. Redefine and use __libc_cleanup_region_end instead.
  3714. 2003-09-29 Thorsten Kukuk <kukuk@suse.de>
  3715. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Use __inline and
  3716. fix prototypes for picky C++ compilers.
  3717. 2003-09-27 Ulrich Drepper <drepper@redhat.com>
  3718. * sysdeps/unix/sysv/linux/ustat.c (ustat): Set errno to EINVAL if
  3719. the device ID is invalid and return -1.
  3720. * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
  3721. 2003-09-26 Andreas Schwab <schwab@suse.de>
  3722. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to
  3723. rt_sigprocmask system call.
  3724. 2003-09-25 Roland McGrath <roland@redhat.com>
  3725. * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
  3726. Don't check for zero __libc_stack_end, it should be initialized.
  3727. [_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag
  3728. and fall back if it fails with EINVAL.
  3729. [_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP.
  3730. 2003-09-25 Jakub Jelinek <jakub@redhat.com>
  3731. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
  3732. sysdeps/i386/dl-procinfo.c instead of
  3733. sysdeps/unix/sysv/linux/i386/dl-procinfo.c.
  3734. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid using
  3735. #include_next.
  3736. 2003-09-25 Ulrich Drepper <drepper@redhat.com>
  3737. * posix/regcomp.c (peek_token): Remove recent changes for anchor
  3738. handling again.
  3739. (parse_reg_exp): Likewise.
  3740. * posix/regex.h: Remove RE_CARET_ANCHORS_HERE.
  3741. * csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
  3742. banners.
  3743. * nis/nis_table.c (nis_list): Always strdup string used with
  3744. ibreq->ibr_name. Add several NULL pointer checks.
  3745. * nis/nss_nisplus/nisplus-alias.c: Add check for NULL return value
  3746. of nis_list.
  3747. * nis/nss_nisplus/nisplus-ethers.c: Likewise.
  3748. * nis/nss_nisplus/nisplus-grp.c: Likewise.
  3749. * nis/nss_nisplus/nisplus-hosts.c: Likewise.
  3750. * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
  3751. * nis/nss_nisplus/nisplus-network.c: Likewise.
  3752. * nis/nss_nisplus/nisplus-proto.c: Likewise.
  3753. * nis/nss_nisplus/nisplus-publickey.c: Likewise.
  3754. * nis/nss_nisplus/nisplus-pwd.c: Likewise.
  3755. * nis/nss_nisplus/nisplus-rpc.c: Likewise.
  3756. * nis/nss_nisplus/nisplus-service.c: Likewise.
  3757. * nis/nss_nisplus/nisplus-spwd.c: Likewise.
  3758. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN
  3759. and PROT_GROWSUP.
  3760. * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
  3761. * sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise.
  3762. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
  3763. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
  3764. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
  3765. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
  3766. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
  3767. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  3768. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
  3769. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
  3770. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
  3771. 2003-09-25 Jakub Jelinek <jakub@redhat.com>
  3772. * misc/syslog.c: Include locale.h.
  3773. (vsyslog): Add date always in C locale %h %e %T format.
  3774. 2003-09-24 Paul Eggert <eggert@twinsun.com>
  3775. * argp/argp-fmtstream.c (__argp_fmtstream_ensure): Check for
  3776. size_t overflow when reallocating storage.
  3777. * argp/argp-help.c (make_hol, hol_append): Likewise.
  3778. (SIZE_MAX): New macro.
  3779. 2003-08-07 Alfred M. Szmidt <ams@kemisten.nu>
  3780. * sysdeps/mach/hurd/bits/libc-lock.h
  3781. (__libc_cleanup_push, __libc_cleanup_pop): New macros.
  3782. 2003-08-01 Alfred M. Szmidt <ams@kemisten.nu>
  3783. * sysdeps/i386/dl-procinfo.h: New file, contents taken from ...
  3784. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here.
  3785. #include_next dl-procinfo.h to get them.
  3786. (_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h.
  3787. (_DL_PLATFORMS_COUNT): Likewise.
  3788. (_DL_FIRST_PLATFORM): Likewise.
  3789. (_DL_HWCAP_PLATFORM): Likewise.
  3790. (HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE,
  3791. HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE,
  3792. HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR,
  3793. HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV,
  3794. HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR,
  3795. HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D,
  3796. HWCAP_IMPORTANT): Likewise.
  3797. (_DL_PROCINFO_H_): Likewise.
  3798. (_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise.
  3799. (_dl_string_platform): Likewise.
  3800. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ...
  3801. * sysdeps/i386/dl-procinfo.c: ... here, new file.
  3802. 2003-09-24 Ulrich Drepper <drepper@redhat.com>
  3803. * sysdeps/unix/sysv/linux/dl-execstack.c
  3804. (_dl_make_stack_executable): Remember that we changed the permission.
  3805. * sysdeps/ia64/dl-machine.h (RTLD_START): Remove setting of
  3806. __libc_stack_end. Patch by David Mosberger.
  3807. 2003-09-24 Jakub Jelinek <jakub@redhat.com>
  3808. * elf/Versions (ld): Export __libc_stack_end@GLIBC_2.1 instead of
  3809. __libc_stack_end@GLIBC_PRIVATE.
  3810. * sysdeps/generic/dl-sysdep.c (DL_STACK_END): Define if not defined.
  3811. (_dl_sysdep_start): Set __libc_stack_end here.
  3812. * sysdeps/alpha/dl-machine.h (RTLD_START): Remove setting of
  3813. __libc_stack_end.
  3814. * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
  3815. * sysdeps/cris/dl-machine.h (RTLD_START): Likewise.
  3816. * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
  3817. * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
  3818. * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
  3819. * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
  3820. * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
  3821. * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
  3822. * sysdeps/ia64/dl-machine.h (DL_STACK_END): Define.
  3823. * sysdeps/sparc/sparc32/dl-machine.h (DL_STACK_END): Define.
  3824. (RTLD_START): Remove setting of __libc_stack_end.
  3825. * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Define.
  3826. (RTLD_START): Remove setting of __libc_stack_end.
  3827. 2003-09-24 Ulrich Drepper <drepper@redhat.com>
  3828. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add gnu_dev_ prefix to
  3829. function definitions. Adjust macro expansions accordingly.
  3830. * sysdeps/unix/sysv/linux/Versions: Add gnu_dev_ prefix to major,
  3831. minor, makedev name.
  3832. * sysdeps/unix/sysv/linux/makedev.c: Likewise.
  3833. 2003-09-24 Jakub Jelinek <jakub@redhat.com>
  3834. * sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
  3835. Add __THROW.
  3836. 2003-09-24 Jakub Jelinek <jakub@redhat.com>
  3837. * nscd/Makefile (others): Add nscd before including ../Rules.
  3838. 2003-09-24 Ulrich Drepper <drepper@redhat.com>
  3839. * nscd/Makefile: Add rules to build nscd as a PIE.
  3840. * configure.in: Check for -fpie and -pie compiler options.
  3841. * config.make.in (have-fpie): Define.
  3842. 2003-09-23 Ulrich Drepper <drepper@redhat.com>
  3843. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Adjust for larger
  3844. kernel dev_t size.
  3845. * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed.
  3846. * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed.
  3847. * sysdeps/unix/sysv/linux/makedev.c: New file.
  3848. * sysdeps/unix/sysv/linux/Dist: Add makedev.c.
  3849. * sysdeps/unix/sysv/linux/Makefile [subdir=misc]
  3850. (sysdep_routines): Add makedev.
  3851. * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.3.3): Add
  3852. major, minor, makedev.
  3853. * sysdeps/unix/sysv/linux/ustat.c (ustat): Adjust for 32-bit
  3854. kernel dev_t.
  3855. * sysdeps/unix/sysv/linux/alpha/ustat.c: Removed.
  3856. * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
  3857. * sysdeps/unix/sysv/linux/alpha/xmknod.c: Removed.
  3858. Code by Alexander Viro <aviro@redhat.com>.
  3859. 2003-09-23 Ulrich Drepper <drepper@redhat.com>
  3860. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc]
  3861. (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and
  3862. makecontext.
  3863. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change
  3864. for include Altivec support for PPC32. It was not compatible.
  3865. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust
  3866. offsets for ucontext_t change.
  3867. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust
  3868. for ucontext_t change. Add compatibility code.
  3869. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
  3870. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
  3871. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
  3872. Patch by Paul Mackerras <paulus@samba.org>.
  3873. 2003-02-25 Randolph Chung <tausq@debian.org>
  3874. * sysdeps/hppa/Makefile: Include compat code in build.
  3875. * sysdeps/hppa/libgcc-compat.c: New file.
  3876. * sysdeps/hppa/Dist: Add libgcc-compat.c.
  3877. * sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab.
  3878. 2003-09-23 Roland McGrath <roland@redhat.com>
  3879. * elf/rtld.c (dl_main): In rtld_is_main case, reinitialize
  3880. GL(dl_stack_flags) according to rtld's own PT_GNU_STACK.
  3881. Move GL(dl_make_stack_executable_hook) initialization up.
  3882. * elf/tst-execstack-prog.c: New file.
  3883. * elf/Makefile (tests-execstack-yes): Add it.
  3884. (LDFLAGS-tst-execstack-prog): New variable.
  3885. 2003-09-23 Jakub Jelinek <jakub@redhat.com>
  3886. * sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end
  3887. before calling _dl_start, using %rip relative access.
  3888. Use %rip relative access to _dl_skip_args, _rtld_local._dl_loaded
  3889. and _dl_fini.
  3890. 2003-09-23 Roland McGrath <roland@redhat.com>
  3891. * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before
  3892. calling _dl_start, using GOTOFF access.
  3893. * configure.in (libc_cv_z_execstack): New check.
  3894. * configure: Regenerated.
  3895. * config.make.in (have-z-execstack): New variable set by it.
  3896. * elf/tst-execstack.c: New file.
  3897. * elf/tst-execstack-mod.c: New file.
  3898. * elf/tst-execstack-needed.c: New file.
  3899. * elf/Makefile (tests-execstack-yes, modules-execstack-yes): New
  3900. variables.
  3901. (tests, modules-names): Conditionally include them.
  3902. (distribute): Add tst-execstack-mod.c here.
  3903. ($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
  3904. (LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables.
  3905. ($(objpfx)tst-execstack-needed): New target.
  3906. (LDFLAGS-tst-execstack-needed): New variable.
  3907. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
  3908. and _dl_make_stack_executable_hook. Declare _dl_make_stack_executable.
  3909. * elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
  3910. (dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
  3911. Initialize _dl_make_stack_executable_hook.
  3912. * elf/dl-support.c: Define those new variables.
  3913. (_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
  3914. (_dl_phdr): Fix type.
  3915. * elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
  3916. enable execute permission for the stack if necessary.
  3917. * sysdeps/generic/dl-execstack.c: New file.
  3918. * elf/Makefile (dl-routines): Add it.
  3919. * elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
  3920. * sysdeps/unix/sysv/linux/dl-execstack.c: New file.
  3921. 2003-09-23 Ulrich Drepper <drepper@redhat.com>
  3922. * sysdeps/posix/sprofil.c (pc_to_index): Remove inline marker.
  3923. 2003-09-20 Alfred M. Szmidt <ams@kemisten.nu>
  3924. * sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE,
  3925. UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of
  3926. __fcntl_nocancel.
  3927. 2003-09-22 Ulrich Drepper <drepper@redhat.com>
  3928. * malloc/malloc.c: Include <stdint.h>.
  3929. 2003-09-20 Paolo Bonzini <bonzini@gnu.org>
  3930. * posix/regcomp.c (build_word_op): Rename like...
  3931. (build_charclass_op): ...this. Accept two extra parameters,
  3932. CLASS_NAME and EXTRA. Add EXTRA to the result, not only _.
  3933. (peek_token): Accept \s and \S as OP_SPACE and OP_NOTSPACE.
  3934. (parse_expression): Replace build_word_op with
  3935. build_charclass_op, add new arguments, accept OP_SPACE
  3936. and OP_NOTSPACE.
  3937. * posix/regex_internal.h (re_token_type_t): Add OP_SPACE
  3938. and OP_NOTSPACE.
  3939. * posix/regcomp.c (peek_token): Don't look back for ( or |
  3940. to check whether to treat a caret as special. It fails
  3941. for the (extended) regex \(^.
  3942. (parse, parse_reg_exp): Pass RE_CARET_ANCHORS_HERE to fetch_token.
  3943. * posix/regex.h: Define RE_CARET_ANCHORS_HERE.
  3944. * posix/regexec.c: Check out of bounds value before shifting.
  3945. * posix/regex_internal.h: Define __attribute for non-gcc.
  3946. 2003-09-22 Jakub Jelinek <jakub@redhat.com>
  3947. * include/atomic.h (atomic_compare_and_exchange_val_rel,
  3948. atomic_compare_and_exchange_bool_rel): Swap oldval/newval arguments
  3949. to avoid confusion.
  3950. * sysdeps/unix/opendir.c: Include string.h.
  3951. 2003-09-22 Ulrich Drepper <drepper@redhat.com>
  3952. * timezone/zdump.c: Update from tzcode2003c.
  3953. * timezone/zic.c: Likewise.
  3954. * timezone/leapseconds: Update from tzdata2003c.
  3955. 2003-09-19 Ulrich Drepper <drepper@redhat.com>
  3956. * elf/Makefile ($(objpfx)librtld.os): Create link map also for
  3957. final build to ease quality control.
  3958. * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): If compiled for
  3959. ld.so, don't include NULL buffer pointer handling.
  3960. 2003-09-19 Jakub Jelinek <jakub@redhat.com>
  3961. * dlfcn/dlopen.c (dlopen): Add static_link_warning.
  3962. 2003-09-18 Jakub Jelinek <jakub@redhat.com>
  3963. * libio/memstream.c (open_memstream): Use _IO_init instead of
  3964. _IO_old_init.
  3965. 2003-09-17 Ulrich Drepper <drepper@redhat.com>
  3966. * sysdeps/generic/wordexp.c (eval_expr_val): Use strtol since we
  3967. have to recognize octal and hexadecimal numbers as well. Simplify
  3968. function, signs are handled in strtol.
  3969. * posix/wordexp-test.c: Add tests for octal and hexadecimal
  3970. numbers in arithmetic expressions.
  3971. 2003-09-17 Jakub Jelinek <jakub@redhat.com>
  3972. * elf/Makefile (distribute): Add tst-alignmod.c.
  3973. (tests): Add tst-align.
  3974. (modules-names): Add tst-alignmod.
  3975. (CFLAGS-tst-align.c, CFLAGS-tst-alignmod.c): Add
  3976. $(stack-align-test-flags).
  3977. ($(objpfx)tst-align): Depend on libdl.
  3978. ($(objpfx)tst-align.out): Depend on tst-alignmod.so.
  3979. * elf/tst-align.c: New file.
  3980. * elf/tst-alignmod.c: New file.
  3981. * misc/Makefile (CFLAGS-tst-tsearch.c): Add $(stack-align-test-flags).
  3982. * misc/tst-tsearch.c: Include tst-stack-align.h.
  3983. (stack_align_check): New array.
  3984. (cmp_fn, walk_action): Use TEST_STACK_ALIGN ().
  3985. (main): Report error if stack was not enough aligned
  3986. in cmp_fn or walk_action.
  3987. * stdlib/Makefile (CFLAGS-tst-qsort.c): Add $(stack-align-test-flags).
  3988. * stdlib/tst-qsort.c: Include tst-stack-align.h.
  3989. (align_check): New var.
  3990. (compare): Use TEST_STACK_ALIGN () macro.
  3991. (main): Report error if stack was not enough aligned in compare.
  3992. * sysdeps/i386/i686/Makefile (stack-align-test-flags): Remove
  3993. unneeded -mpreferred-stack-boundary=4.
  3994. * sysdeps/x86_64/tst-stack-align.h: New file.
  3995. * libio/memstream.c (_IO_wmem_jumps): Remove unused structure.
  3996. (_IO_wmem_sync, _IO_wmem_finish): Remove unused functions.
  3997. 2003-09-17 Philip Blundell <philb@gnu.org>
  3998. * sysdeps/arm/dl-machine.h (CALL_ROUTINE): Deleted.
  3999. (BX): Define.
  4000. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.
  4001. * sysdeps/arm/sysdep.h (DO_RET): New.
  4002. * sysdeps/unix/sysv/linux/arm/vfork.S: Add #error if __NR_vfork
  4003. required but not defined. Improve test of error code.
  4004. 2003-09-17 Jakub Jelinek <jakub@redhat.com>
  4005. * sysdeps/i386/Makefile (stack-align-test-flags): Add
  4006. -malign-double -mpreferred-stack-boundary=4.
  4007. 2003-09-17 Ulrich Drepper <drepper@redhat.com>
  4008. * sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
  4009. * sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
  4010. 2003-09-15 Jakub Jelinek <jakub@redhat.com>
  4011. * sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu
  4012. subdir, add -mpreferred-stack-boundary=4, with few exceptions.
  4013. 2003-09-17 Jakub Jelinek <jakub@redhat.com>
  4014. * Makeconfig (stack-align-test-flags): Set.
  4015. * stdlib/Makefile (CFLAGS-tst-bsearch.c): Add
  4016. $(stack-align-test-flags).
  4017. * stdlib/tst-bsearch.c: Include tst-stack-align.h.
  4018. (align_check): New var.
  4019. (comp): Use TEST_STACK_ALIGN macro.
  4020. (do_test): Fail if align_check != 1.
  4021. * sysdeps/generic/tst-stack-align.h: New file.
  4022. * sysdeps/i386/i686/Makefile (stack-align-test-flags): Add -msse.
  4023. * sysdeps/i386/i686/tst-stack-align.h: New file.
  4024. 2003-09-17 Ulrich Drepper <drepper@redhat.com>
  4025. * sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a
  4026. stack which is aligned (mod 16).
  4027. 2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>
  4028. Hans-Peter Nilsson <hp@axis.com>
  4029. * sysdeps/cris/dl-machine.h (elf_machine_type_class): Classify
  4030. R_CRIS_GLOB_DAT as ELF_RTYPE_CLASS_PLT. Clarify comment.
  4031. 2003-09-17 Jakub Jelinek <jakub@redhat.com>
  4032. * dirent/scandir.c: Include bits/libc-lock.h.
  4033. (struct scandir_cancel_struct): New type.
  4034. (cancel_handler): New function.
  4035. (SCANDIR): Add __libc_cleanup_{push,pop}, save state into
  4036. scandir_cancel_struct.
  4037. 2003-09-16 Ulrich Drepper <drepper@redhat.com>
  4038. * sysdeps/unix/sysv/linux/Dist: Remove internal_statvfs.c.
  4039. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  4040. Add internal_statvfs.
  4041. * sysdeps/unix/sysv/linux/fstatvfs.c: Call __internal_statvfs
  4042. instead of including "internal_statvfs.c".
  4043. * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
  4044. * sysdeps/unix/sysv/linux/internal_statvfs.c: Make it a real function.
  4045. Add code to avoid the stat calls on all the reported mount points
  4046. when we can determine mismatch in advance.
  4047. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add AUTOFS_SUPER_MAGIC and
  4048. USBDEVFS_SUPER_MAGIC.
  4049. 2003-09-16 Jakub Jelinek <jakub@redhat.com>
  4050. * posix/Versions (sched_getaffinity, sched_setaffinity): Change
  4051. from GLIBC_2.3.2 to GLIBC_2.3.3 symbol version.
  4052. 2003-09-16 Bruno Haible <bruno@clisp.org>
  4053. * intl/tst-gettext2.sh: Set GCONV_PATH and LOCPATH only after
  4054. invoking msgfmt, not before.
  4055. 2003-09-15 Jakub Jelinek <jakub@redhat.com>
  4056. * argp/argp.h (argp_parse, __argp_parse): Remove __THROW.
  4057. * argp/Makefile (CFLAGS-argp-help.c, CFLAGS-argp-parse.c): Add
  4058. $(uses-callbacks).
  4059. * dirent/Makefile (CFLAGS-scandir.c, CFLAGS-scandir64.c): Likewise.
  4060. * elf/Makefile (CFLAGS-dl-iterate-phdr.c,
  4061. CFLAGS-dl-iterate-phdr-static.c): Add $(uses-callbacks).
  4062. * elf/dl-iteratephdr.c (cancel_handler): New function.
  4063. (__dl_iterate_phdr): Add __libc_cleanup_{push,pop}.
  4064. * elf/link.h (dl_iterate_phdr): Remove __THROW.
  4065. * io/Makefile (CFLAGS-fts.c): Merge into one assignment.
  4066. Add $(uses-callbacks).
  4067. (CFLAGS-ftw.c, CFLAGS-ftw64.c): Add $(uses-callbacks).
  4068. * misc/Makefile (CFLAGS-tsearch.c, CFLAGS-lsearch.c): Change
  4069. $(exceptions) to $(uses-callbacks).
  4070. * Makeconfig (uses-callbacks): Set to $(exceptions).
  4071. * posix/Makefile (CFLAGS-glob.c, CFLAGS-glob64.c): Add
  4072. $(uses-callbacks).
  4073. * stdlib/Makefile (CFLAGS-bsearch.c, CFLAGS-msort.c, CFLAGS-qsort.c):
  4074. Likewise.
  4075. 2003-09-15 Andreas Schwab <schwab@suse.de>
  4076. * sysdeps/m68k/setjmp.c: Add hidden_def.
  4077. 2003-09-14 Ulrich Drepper <drepper@redhat.com>
  4078. * libio/memstream.c (open_memstream): Don't allow wide char operations.
  4079. * dirent/dirent.h: Remove __THROW from scandir.
  4080. 2003-09-14 Philip Blundell <philb@gnu.org>
  4081. * sysdeps/unix/sysv/linux/arm/mmap.S: Use sys_mmap2 if it's known
  4082. to be available.
  4083. * sysdeps/unix/sysv/linux/arm/mmap64.S: Optimise code a little.
  4084. * sysdeps/arm/memset.S: Rewrite.
  4085. 2003-09-12 Jakub Jelinek <jakub@redhat.com>
  4086. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New.
  4087. (__SSIZE_T_TYPE): Define to __SWORD_TYPE for gcc 2.95.x and
  4088. __SLONGWORD_TYPE otherwise.
  4089. 2003-09-14 Ulrich Drepper <drepper@redhat.com>
  4090. * io/Makefile (CFLAGS-ftw.c): Add -fexceptions.
  4091. (CFLAGS-ftw64.c): Likewise.
  4092. 2003-09-13 Ulrich Drepper <drepper@redhat.com>
  4093. * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Add -fexceptions.
  4094. (CFLAGS-nscd_getgr_r.c): Likewise.
  4095. (CFLAGS-nscd_gethst_r.c): Likewise.
  4096. 2003-09-12 Ulrich Drepper <drepper@redhat.com>
  4097. * sysdeps/unix/sysv/linux/if_index.c: Use only non-cancelable
  4098. interfaces.
  4099. * grp/Makefile (CFLAGS-getgrgid_r.c, CFLAGS-getgrnam_r.c,
  4100. CFLAGS-fgetgrent.c, CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c,
  4101. CFLAGS-initgroups.c, CFLAGS-getgrgid.c): Add -fexceptions.
  4102. * inet/Makefile (CFLAGS-either_ntoh.c, CFLAGS-either_hton.c,
  4103. CFLAGS-getnetgrent.c, CFLAGS-getnetgrent_r.c): Likewise.
  4104. * io/Makefile (CFLAGS-posix_fallocate.c, CFLAGS-posix_fallocate64.c):
  4105. Likewise.
  4106. * misc/Makefile (CFLAGS-err.c): Likewise.
  4107. * posix/Makefile (CFLAGS-getaddrinfo.c, CFLAGS-spawn.c,
  4108. CFLAGS-spawnp.c, CFLAGS-spawni.c, CFLAGS-pause.c, CFLAGS-glob.c,
  4109. CFLAGS-glob64.c): Likewise.
  4110. * pwd/Makefile (CFLAGS-getpw.c): Likewise.
  4111. * shadow/Makefile (CFLAGS-fgetspent.c, CFLAGS-fgetspent_r.c,
  4112. CFLAGS-putspent.c, CFLAGS-getspnam.c, CFLAGS-getspnam_r.c): Likewise.
  4113. * stdio-common/Makefile (CFLAGS-cuserid.c): Likewise.
  4114. * sunrpc/Makefile (CFLAGS-openchild.c): Likewise.
  4115. * stdlib/Makefile (CFLAGS-mkstemp.c): Remove definition.
  4116. * libio/stdio.h: Remove __THROW from cuserid prototype.
  4117. * locale/loadarchive.c: Use only non-cancelable interfaces.
  4118. * resolv/herror.c (herror): Likewise.
  4119. * malloc/hooks.c: Before using IO stream mark stream so it uses
  4120. only non-cancelable interfaces.
  4121. * malloc/malloc.c: Likewise.
  4122. * posix/getopt.c: Likewise.
  4123. 2003-09-11 Jakub Jelinek <jakub@redhat.com>
  4124. * Makerules (LDFLAGS-c.so): Remove -u __register_frame.
  4125. 2003-09-12 Ulrich Drepper <drepper@redhat.com>
  4126. * stdio-common/stdio_ext.h: Mark most functions with __THROW.
  4127. * misc/err.h: Remove __THROW from all prototypes.
  4128. * posix/getopt.h (__THROW): Define if not already defined. Add
  4129. __THROW to the getopt functions.
  4130. 2003-09-11 Ulrich Drepper <drepper@redhat.com>
  4131. * io/Makefile (CFLAGS-lockf.c): Add -fexceptions.
  4132. (CFLAGS-fts.c): Likewise.
  4133. * io/fcntl.h: Remove __THROW from lockf prototypes.
  4134. * io/fts.h: Remove most __THROW.
  4135. 2003-09-11 H.J. Lu <hongjiu.lu@intel.com>
  4136. * elf/tls-macros.h (TLS_IE): Add a stop bit for ia64.
  4137. (TLS_LD): Likewise.
  4138. (TLS_GD): Likewise.
  4139. 2003-09-11 Jakub Jelinek <jakub@redhat.com>
  4140. * libio/fileops.c (_IO_new_file_overflow): Add INTUSE to
  4141. _IO_free_backup_area call.
  4142. 2003-09-10 Chris Demetriou <cgd@broadcom.com>
  4143. * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Fix
  4144. syscall invocation.
  4145. * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
  4146. * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
  4147. Also, only assert off_t size is 4 for N32 and O32, and clean up
  4148. white space.
  4149. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
  4150. 2003-09-10 Roland McGrath <roland@redhat.com>
  4151. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr):
  4152. Don't use c_ispeed under [! _HAVE_STRUCT_TERMIOS_C_ISPEED].
  4153. Don't use c_ospeed under [! _HAVE_STRUCT_TERMIOS_C_OSPEED].
  4154. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
  4155. Reported by Daniel Jacobowitz <drow@mvista.com>.
  4156. 2003-09-10 Jakub Jelinek <jakub@redhat.com>
  4157. * string/Makefile (strop-tests): Add memccpy.
  4158. * string/test-memccpy.c: New test.
  4159. 2003-09-09 Jakub Jelinek <jakub@redhat.com>
  4160. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT): Add
  4161. siginfo_t * argument before, change into struct ucontext *.
  4162. (SIGCONTEXT_EXTRA_ARGS): Define to _si,.
  4163. (GET_PC, GET_FRAME, GET_STACK): Adjust for ctx being a pointer
  4164. instead of structure.
  4165. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (REGISTER_DUMP):
  4166. Likewise.
  4167. 2003-09-09 Ulrich Drepper <drepper@redhat.com>
  4168. * string/stratcliff.c (main): Check memccpy.
  4169. 2003-04-11 Jes Sorensen <jes@wildopensource.com>
  4170. * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
  4171. character is found during recovery, use correct register when
  4172. determining the position of the found character.
  4173. 2003-04-01 Jes Sorensen <jes@wildopensource.com>
  4174. * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
  4175. avoid segfaults when reading from unmapped pages. For aligned
  4176. reload and continue, for misaligned, roll back and use byte copy.
  4177. Save ar.ec on entry and restore on exit.
  4178. 2003-09-09 Chris Demetriou <cgd@broadcom.com>
  4179. * sysdeps/unix/mips/sysdep.h (PSEUDO_END): Undef before defining.
  4180. 2003-09-08 Chris Demetriou <cgd@broadcom.com>
  4181. * sysdeps/mips/mips64/n32/Implies: Move ieee754/ldbl-128 to
  4182. the top of the list.
  4183. * sysdeps/mips/mips64/n64/Implies: Likewise.
  4184. 2003-09-08 Roland McGrath <roland@frob.com>
  4185. * sysdeps/unix/sysv/linux/speed.c
  4186. (cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
  4187. (cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
  4188. * sysdeps/unix/sysv/linux/bits/termios.h
  4189. (_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
  4190. * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
  4191. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
  4192. 2003-09-08 Ulrich Drepper <drepper@redhat.com>
  4193. * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
  4194. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
  4195. 2003-09-08 Jakub Jelinek <jakub@redhat.com>
  4196. * sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
  4197. (__u_quad_t): Make unsigned long int if 64-bit.
  4198. (__SQUAD_TYPE): Make long int if 64-bit.
  4199. (__UQUAD_TYPE): Make unsigned long int if 64-bit.
  4200. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.
  4201. 2003-09-08 Ulrich Drepper <drepper@redhat.com>
  4202. * Makefile (tests): Run check-c++-types.sh if possible.
  4203. * scripts/check-c++-types.h: New file.
  4204. * scripts/data/c++-types-i386-linux-gnu.data: New file.
  4205. 2003-09-08 Andreas Jaeger <aj@suse.de>
  4206. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
  4207. Use struct sigcontext.
  4208. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
  4209. Use struct sigcontext.
  4210. (GET_PC): Adopt.
  4211. (GET_FRAME): Likewise.
  4212. (GET_STACK): Likewise.
  4213. 2003-09-08 Wolfram Gloger <wg@malloc.de>
  4214. * malloc/malloc.c (sYSMALLOc): Move foreign sbrk accounting into
  4215. contiguous case. Bug report from Prem Gopalan <prem@mazunetworks.com>.
  4216. (mALLOPt): Avoid requirement of C99.
  4217. 2003-09-08 Ulrich Drepper <drepper@redhat.com>
  4218. * libio/bug-ftell.c: Include <sys/types.h>.
  4219. (main): Mark cp as const.
  4220. 2003-09-07 Jakub Jelinek <jakub@redhat.com>
  4221. * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
  4222. * sysdeps/unix/sysv/linux/x86_64/fcntl.c: Remove.
  4223. 2003-09-05 Roland McGrath <roland@redhat.com>
  4224. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Fill in c_ispeed
  4225. and c_ospeed fields.
  4226. * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Set c_ospeed field.
  4227. (cfsetispeed): Set c_ispeed field.
  4228. * sysdeps/unix/sysv/linux/tcsetattr.c (IBAUD0): Define unconditionally
  4229. to match corresponding speed.c code.
  4230. 2003-09-06 Ulrich Drepper <drepper@redhat.com>
  4231. * libio/wfileops.c (_IO_wfile_underflow): Mark beginning of the
  4232. narrow character buffer.
  4233. * libio/Makefile: Add rules to build and run bug-ftell.
  4234. * libio/bug-ftell.c: New file.
  4235. * stdio-common/vfprintf.c: Don't use the first grouping number twice.
  4236. * stdio-common/vfscanf.c (vfscanf): Fix recognition of characters
  4237. matching the decimal point and possibly leading the thousands
  4238. separator. This caused the recognition of thousands separators to
  4239. always fail.
  4240. 2003-09-05 Ulrich Drepper <drepper@redhat.com>
  4241. * libio/fileops.c (_IO_new_file_overflow): Handle switching to
  4242. write mode from read in backup buffer.
  4243. * libio/Makefile (tests): Add bug-ungetc2.
  4244. * libio/bug-ungetc2.c: New file.
  4245. 2003-09-05 Roland McGrath <roland@redhat.com>
  4246. * nss/getXXbyYY.c (FUNCTION_NAME): Remove unused variable.
  4247. 2003-09-04 Roland McGrath <roland@frob.com>
  4248. * sysdeps/mach/hurd/mmap.c (__mmap): If io_map fails with MIG_BAD_ID,
  4249. EOPNOTSUPP, or ENOSYS, change it to ENODEV.
  4250. 2003-09-04 H.J. Lu <hongjiu.lu@intel.com>
  4251. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ):
  4252. Fix a typo.
  4253. 2003-09-05 Andreas Jaeger <aj@suse.de>
  4254. * sysdeps/i386/bits/string.h (__memrchr): Do addition in assembler
  4255. to make it conforming C.
  4256. * sysdeps/i386/i486/bits/string.h (__memrchr): Likewise.
  4257. * sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Change
  4258. prototype to use variable argument lists and get the possible one
  4259. argument via va_arg.
  4260. * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise.
  4261. * sysdeps/unix/sysv/linux/x86_64/fcntl.c: New.
  4262. 2003-09-04 Ulrich Drepper <drepper@redhat.com>
  4263. * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.
  4264. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
  4265. Report correct value for vxfs.
  4266. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define VXFS_SUPER_MAGIC.
  4267. * gmon/gmon.c: Use only not-cancelable syscalls to write profiling
  4268. data.
  4269. * sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
  4270. over the place. It would be allowed to have these functions as
  4271. cancellation points but the cleanup would be ugly and a lot of
  4272. work.
  4273. * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Define.
  4274. * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Define.
  4275. * include/fcntl.h (__fcntl_nocancel): Declare.
  4276. * sysdeps/unix/sysv/linux/fcntl.c: New file.
  4277. * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Only enable
  4278. cancellation if absolutely needed.
  4279. (__fcntl_nocancel): Define.
  4280. * posix/unistd.h (gethostid): Remove __THROW. Clarify comment.
  4281. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gethostid.c): Add
  4282. -fexceptions.
  4283. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use
  4284. extend_alloca.
  4285. * resolv/res_init.c (__res_nclose): Use close_not_cancel_no_status
  4286. instead of __close.
  4287. * nss/getXXbyYY.c (FUNCTION_NAME): Add a few casts. Remove
  4288. unnecessary errno handling.
  4289. * nss/getXXbyYY_r.c (INTERNAL): Use better variable name.
  4290. Initialize it in all cases. Change it to be a bit more like the
  4291. code we had before.
  4292. 2003-09-04 Jakub Jelinek <jakub@redhat.com>
  4293. * libio/fileops.c (_IO_file_read, _IO_new_file_write): Add
  4294. __builtin_expect.
  4295. (_IO_file_open): Likewise. Use close_not_cancel.
  4296. 2003-09-04 Ulrich Drepper <drepper@redhat.com>
  4297. * libio/libio.h: Define _IO_FLAGS2_NOTCANCEL.
  4298. * libio/fileops.c [_LIBC]: Remove close macro.
  4299. (_IO_file_open): If _IO_FLAGS2_NOTCANCEL is set, use open_not_cancel.
  4300. (_IO_new_file_open): Recognize 'c' flag in mode string.
  4301. (_IO_file_read): If _IO_FLAGS2_NOTCANCEL is set use read_not_cancel.
  4302. (_IO_new_file_write): If _IO_FLAGS2_NOTCANCEL is set use
  4303. write_not_cancel.
  4304. * iconv/gconv_conf.c: Use fopen with 'c' mode flag.
  4305. * inet/rcmd.c: Likewise.
  4306. * inet/ruserpass.c: Likewise.
  4307. * intl/localealias.c: Likewise.
  4308. * malloc/mtrace.c: Likewise.
  4309. * misc/getpass.c: Likewise.
  4310. * misc/getttyent.c: Likewise.
  4311. * misc/mntent_r.c: Likewise.
  4312. * misc/getusershell.c: Likewise.
  4313. * nss/nsswitch.c: Likewise.
  4314. * resolv/res_hconf.c: Likewise.
  4315. * resolv/res_init.c: Likewise.
  4316. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
  4317. * time/getdate.c: Likewise.
  4318. * time/tzfile.c: Likewise.
  4319. * misc/fstab.h: Undo last change.
  4320. * misc/mntent.h: Likewise.
  4321. * misc/Makefile: Remove CFLAGS-mntent_r.c, CFLAGS-mntent.c, and
  4322. CFLAGS-fstab.c definition.
  4323. 2003-09-04 Jakub Jelinek <jakub@redhat.com>
  4324. * sysdeps/generic/unwind.h (_Unwind_GetBSP): Add prototype.
  4325. 2003-09-03 Ulrich Drepper <drepper@redhat.com>
  4326. * nss/getXXbyYY_r.c (INTERNAL): Explicitly set errno and avoid
  4327. returning ERANGE if this wasn't intended.
  4328. 2003-09-03 Jakub Jelinek <jakub@redhat.com>
  4329. * intl/loadmsgcat.c (open, close, read, mmap, munmap): Define as
  4330. function-like macros.
  4331. 2003-09-03 Ulrich Drepper <drepper@redhat.com>
  4332. * grp/Makefile (CFLAGS-getgrent_r.c): Add -fexceptions.
  4333. (CFLAGS-getgrent.c): Likewise.
  4334. * pwd/Makefile (CFLAGS-getpwent_r.c): Add -fexceptions.
  4335. (CFLAGS-getpwent.c): Likewise.
  4336. * shadow/Makefile (CFLAGS-getspent_r.c): Add -fexceptions.
  4337. (CFLAGS-getspent.c): Likewise.
  4338. * inet/Makefile: Add -fexceptions to CFLAGS for the various
  4339. getXXent and getXXbyYY functions.
  4340. * locale/loadlocale.c: Use not-cancelable variants of open, close,
  4341. and read.
  4342. 2003-09-02 Jakub Jelinek <jakub@redhat.com>
  4343. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
  4344. rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo and
  4345. rt_sigpending.
  4346. * sysdeps/unix/sysv/linux/alpha/sigaction.c (__syscall_rt_sigaction):
  4347. New prototype.
  4348. * sysdeps/unix/sysv/linux/arm/syscalls.list (__syscall_*): Remove
  4349. unused __syscall_ stubs.
  4350. * sysdeps/unix/sysv/linux/arm/Makefile (sysdep_routines): Remove
  4351. rt_*.
  4352. * sysdeps/unix/sysv/linux/cris/Makefile: Removed.
  4353. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list
  4354. (__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
  4355. * sysdeps/unix/sysv/linux/mips/syscalls.list (__syscall_*): Remove
  4356. unused __syscall_ stubs.
  4357. * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Remove rt_*.
  4358. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
  4359. (__syscall_*): Remove unused __syscall_ stubs.
  4360. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
  4361. (__syscall_*): Likewise.
  4362. * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines): Remove
  4363. rt_*.
  4364. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__syscall_*):
  4365. Remove unused __syscall_ stubs.
  4366. * sysdeps/unix/sysv/linux/sh/Makefile (sysdep_routines): Remove rt_*.
  4367. * sysdeps/unix/sysv/linux/rt_sigaction.c: Removed.
  4368. * sysdeps/unix/sysv/linux/rt_sigpending.c: Removed.
  4369. * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Removed.
  4370. * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Removed.
  4371. * sysdeps/unix/sysv/linux/rt_sigreturn.c: Removed.
  4372. * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Removed.
  4373. * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Removed.
  4374. * sysdeps/unix/sysv/linux/s_pread64.c: Removed.
  4375. * sysdeps/unix/sysv/linux/s_pwrite64.c: Removed.
  4376. * sysdeps/unix/sysv/linux/alpha/gethostname.c: Remove unused
  4377. __syscall_* prototypes.
  4378. * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Likewise.
  4379. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
  4380. * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
  4381. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
  4382. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
  4383. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
  4384. * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
  4385. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  4386. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
  4387. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
  4388. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
  4389. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
  4390. * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
  4391. * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
  4392. * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
  4393. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
  4394. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
  4395. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
  4396. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
  4397. * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
  4398. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
  4399. * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
  4400. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
  4401. * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
  4402. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
  4403. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
  4404. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
  4405. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
  4406. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
  4407. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
  4408. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
  4409. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  4410. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
  4411. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  4412. * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
  4413. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
  4414. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
  4415. * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
  4416. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
  4417. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
  4418. * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
  4419. * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
  4420. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
  4421. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
  4422. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  4423. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
  4424. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  4425. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  4426. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
  4427. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
  4428. * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
  4429. * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
  4430. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
  4431. * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
  4432. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
  4433. * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
  4434. * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Likewise.
  4435. * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Likewise.
  4436. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise.
  4437. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
  4438. * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
  4439. * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: Likewise.
  4440. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
  4441. * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
  4442. * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
  4443. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
  4444. * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
  4445. * sysdeps/unix/sysv/linux/execve.c: Likewise.
  4446. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
  4447. * sysdeps/unix/sysv/linux/reboot.c: Likewise.
  4448. * sysdeps/unix/sysv/linux/_exit.c: Likewise.
  4449. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
  4450. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  4451. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
  4452. * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
  4453. * sysdeps/unix/sysv/linux/readahead.c: Likewise.
  4454. * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
  4455. * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
  4456. * sysdeps/unix/sysv/linux/getdents.c: Likewise.
  4457. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  4458. * sysdeps/unix/sysv/linux/getpriority.c: Likewise.
  4459. * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
  4460. * sysdeps/unix/sysv/linux/ipc_priv.h: Likewise.
  4461. * sysdeps/unix/sysv/linux/llseek.c: Likewise.
  4462. * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
  4463. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  4464. * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
  4465. * sysdeps/unix/sysv/linux/ustat.c: Likewise.
  4466. * sysdeps/unix/sysv/linux/poll.c: Likewise.
  4467. * sysdeps/unix/sysv/linux/pread64.c: Likewise.
  4468. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  4469. * sysdeps/unix/sysv/linux/pread.c: Likewise.
  4470. * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
  4471. * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
  4472. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
  4473. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
  4474. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
  4475. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
  4476. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
  4477. * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
  4478. * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
  4479. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
  4480. 2003-09-02 Jakub Jelinek <jakub@redhat.com>
  4481. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Revert last change.
  4482. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: New file.
  4483. * sysdeps/unix/sysv/linux/sparc/syscalls.list: New file.
  4484. 2003-09-02 Ulrich Drepper <drepper@redhat.com>
  4485. * stdio-common/Makefile (CFLAGS-vprintf.c): Add -fexceptions.
  4486. * intl/loadmsgcat.c: For _LIBC, call not cancelable versions of
  4487. open, close, and read.
  4488. * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Also define
  4489. *_nocancel name.
  4490. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add waitpid.
  4491. * libio/Makefile (CFLAGS-oldtmpfile.c): Add -fexceptions.
  4492. * sysdeps/generic/tmpfile.c (tmpfile): Use __unlink instead of remove.
  4493. * libio/oldtmpfile.c (__old_tmpfile): Likewise.
  4494. * misc/Makefile (CFLAGS-getusershell.c): Add -fexceptions.
  4495. * io/Makefile (CFLAGS-statfs.c): Add -fexceptions.
  4496. (CFLAGS-fstatfs.c): Likewise.
  4497. (CFLAGS-statvfs.c): Likewise.
  4498. (CFLAGS-fstatvfs.c): Likewise.
  4499. 2003-09-01 Ulrich Drepper <drepper@redhat.com>
  4500. * misc/Makefile (CFLAGS-getsysstats.c): Add -fexceptions.
  4501. * posix/unistd.h: Remove __THROW from pathconf, fpathconf,
  4502. sysconf.
  4503. * posix/Makefile (CFLAGS-sysconf.c): Add -fexceptions.
  4504. (CFLAGS-pathconf.c): Likewise.
  4505. (CFLAGS-fpathconf.c): Likewise.
  4506. * misc/Makefile (CFLAGS-fstab.c): Add -fexceptions.
  4507. * misc/fstab.h: Remove all __THROW.
  4508. * misc/Makefile (CFLAGS-mntent.c): Add -fexceptions.
  4509. (CFLAGS-mntent_r.c): Likewise.
  4510. * misc/mntent.h: Remove most __THROW.
  4511. * misc/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
  4512. (CFLAGS-mkstemp64.c): Likewise.
  4513. * sysdeps/generic/wordexp.c (parse_comm): Disable cancellation
  4514. around call to exec_comm.
  4515. * posix/wordexp.h: Remove __THROW from wordexp.
  4516. * posix/Makefile (CFLAGS-wordexp.c): Add -fexceptions.
  4517. * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Use
  4518. not-cancelable functions.
  4519. * libio/Makefile (CFLAGS-oldiofopen.c): Add -fexceptions.
  4520. (CFLAGS-iofopen.c): Likewise.
  4521. (CFLAGS-iofopen64.c): Likewise.
  4522. * stdlib/fmtmsg.c (fmtmsg): Disable cancellation around output
  4523. functions.
  4524. * stdlib/Makefile (CFLAGS-fmtmsg.c): Add -fexceptions.
  4525. * stdlib/fmtmsg.h: Remove __THROW from fmtmsg.
  4526. * stdlib/stdlib.h: Remove __THROW from posix_openpt and getpt.
  4527. * login/Makefile (CFLAGS-getpt.c): Add -fexceptions.
  4528. 2003-09-01 Thorsten Kukuk <kukuk@suse.de>
  4529. * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return
  4530. NSS_STATUS_SUCCESS if entry was found.
  4531. (getspent_next_file): Store user in blacklist after entry
  4532. was found, use innetgr.
  4533. 2003-09-01 Jakub Jelinek <jakub@redhat.com>
  4534. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New.
  4535. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New.
  4536. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset
  4537. computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for
  4538. DTV_AT_TP, optimize.
  4539. 2003-08-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  4540. * sysdeps/unix/sysv/linux/sh/Versions: Add posix_fadvise64 and
  4541. posix_fallocate64 at GLIBC_2.3.3.
  4542. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO_ERRVAL): Define.
  4543. (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
  4544. 2003-08-08 H.J. Lu <hongjiu.lu@intel.com>
  4545. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove __syscall_
  4546. functions.
  4547. 2003-08-31 Ulrich Drepper <drepper@redhat.com>
  4548. * libio/libioP.h (_IO_acquire_lock_fct): Define as inline function.
  4549. Code by Richard Henderson.
  4550. 2003-08-31 Philip Blundell <philb@gnu.org>
  4551. * sysdeps/unix/sysv/linux/arm/Versions: Add posix_fadvise64 and
  4552. posix_fallocate64 at GLIBC_2.3.3.
  4553. 2003-08-31 Ulrich Drepper <drepper@redhat.com>
  4554. * sysdeps/x86_64/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET.
  4555. * include/setjmp.h: Add libc_hidden_proto for __sigsetjmp.
  4556. 2003-08-30 Jakub Jelinek <jakub@redhat.com>
  4557. * sysdeps/generic/sysdep.h (cfi_window_save, CFI_WINDOW_SAVE): Define.
  4558. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Allow file to be
  4559. included multiple times.
  4560. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Pass
  4561. ptid, tls, ctid arguments to the kernel.
  4562. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c (__getpagesize):
  4563. Use INTERNAL_SYSCALL instead of __syscall_getpagesize.
  4564. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
  4565. (__libc_sigaction): Use INLINE_SYSCALL instead of
  4566. __syscall_rt_sigaction.
  4567. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
  4568. (__syscall_getgroups, __syscall_getpagesize, __syscall__llseek,
  4569. __syscall_setfsgid, __syscall_setfsuid, __syscall_setgid,
  4570. __syscall_setgroups, __syscall_setregid, __syscall_setreuid,
  4571. __syscall_ipc, __syscall_setuid, __syscall_rt_sigaction,
  4572. __syscall_rt_sigpending, __syscall_rt_sigprocmask,
  4573. __syscall_rt_sigqueueinfo, __syscall_rt_sigsuspend,
  4574. __syscall_rt_sigtimedwait): Remove unneeded syscall stubs.
  4575. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (sysdep_routines):
  4576. Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
  4577. rt_sigqueueinfo, rt_sigaction and rt_sigpending.
  4578. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  4579. (__CLONE_SYSCALL_STRING): Define.
  4580. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Add
  4581. CFI directives.
  4582. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
  4583. (__CLONE_SYSCALL_STRING): Define.
  4584. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_CLONE_SYSCALL):
  4585. Define.
  4586. * sysdeps/unix/sysv/linux/sparc/system.c: New file.
  4587. 2003-08-30 Ulrich Drepper <drepper@redhat.com>
  4588. * sunrpc/rpc/clnt.h: Remove a few __THROW.
  4589. * sunrpc/Makefile (CFLAGS-auth_unix.c): Add -fexceptions.
  4590. (CFLAGS-key_call.c): Likewise.
  4591. (CFLAGS-pmap_rmt.c): Likewise.
  4592. (CFLAGS-clnt_perr.c): Likewise.
  4593. * sunrpc/rpc/auth.h: Remove serveral __THROW.
  4594. * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions.
  4595. (CFLAGS-gethstbynm_r.c): Likewise.
  4596. (CFLAGS-gethstbynm2_r.c): Likewise.
  4597. (CFLAGS-rcmd.c): Likewise.
  4598. * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions.
  4599. * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions.
  4600. (CFLAGS-argp-fmtstream.c): Likewise.
  4601. * argp/argp.h: Remove a number of __THROW.
  4602. * misc/sys/syslog.h (vsyslog): Remove __THROW.
  4603. * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions.
  4604. * misc/getpass.c (getpass): Add cleanup handler to ensure the
  4605. stream is closed even if the thread is canceled.
  4606. (call_fclose): New function.
  4607. * posix/unistd.h: Remove __THROW from getpass prototype.
  4608. * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions.
  4609. * signal/signal.h (psignal): Remove __THROW.
  4610. * stdio-common/Makefile (CFLAGS-psignal.c): Add -fexceptions.
  4611. * misc/Makefile (CFLAGS-error.c): Define.
  4612. * misc/error.c (error): Disable cancellation handling around the
  4613. actual output. The message should in any case be printed.
  4614. (error_at_line): Likewise.
  4615. * misc/error.h: Protect parameter names with leading __.
  4616. 2003-08-28 Carlos O'Donell <carlos@baldric.uwo.ca>
  4617. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add semtimedop.
  4618. 2003-08-29 Jakub Jelinek <jakub@redhat.com>
  4619. * libio/iofgetpos64.c (_IO_new_fgetpos64): Move lock release to the
  4620. end.
  4621. 2003-08-29 Ulrich Drepper <drepper@redhat.com>
  4622. * libio/stdio.h: Remove a few more __THROW.
  4623. 2003-08-29 Jakub Jelinek <jakub@redhat.com>
  4624. * libio/Makefile: Compile fputc.c, fputwc.c, freopen64.c, freopen.c,
  4625. fseek.c, fseeko64.c, fseeko.c, ftello64.c, ftello.c, fwide.c, getc.c,
  4626. getchar.c, getwc.c, getwchar.c, iofclose.c, iofflush.c, iofgetpos64.c,
  4627. iofgetpos.c, iofgets.c, iofgetws.c, iofputs.c, iofputws.c, iofread.c,
  4628. iofsetpos64.c, iofsetpos.c, ioftell.c, iofwrite.c, iogetdelim.c,
  4629. iogetline.c, iogets.c, iogetwline.c, ioputs.c, ioseekoff.c,
  4630. ioseekpos.c, iosetbuffer.c, iosetvbuf.c, ioungetc.c, ioungetwc.c,
  4631. oldfileops.c, oldiofclose.c, oldiofgetpos64.c, oldiofgetpos.c,
  4632. oldiofsetpos64.c, oldiofsetpos.c, peekc.c, putc.c, putchar.c, putwc.c,
  4633. putwchar.c and rewind.c with exceptions.
  4634. * sysdeps/generic/bits/stdio-lock.h (_IO_acquire_lock,
  4635. _IO_release_lock): Define.
  4636. * libio/fileops.c (_IO_new_file_underflow): Use it.
  4637. * libio/fputc.c (fputc): Likewise.
  4638. * libio/fputwc.c (fputwc): Likewise.
  4639. * libio/freopen64.c (freopen64):
  4640. * libio/freopen.c (freopen): Likewise.
  4641. * libio/fseek.c (fseek): Likewise.
  4642. * libio/fseeko64.c (fseeko64): Likewise.
  4643. * libio/fseeko.c (fseeko): Likewise.
  4644. * libio/ftello64.c (ftello64): Likewise.
  4645. * libio/ftello.c (ftello): Likewise.
  4646. * libio/fwide.c (fwide): Likewise.
  4647. * libio/getc.c (_IO_getc): Likewise.
  4648. * libio/getchar.c (getchar): Likewise.
  4649. * libio/getwc.c (_IO_getwc): Likewise.
  4650. * libio/getwchar.c (getwchar): Likewise.
  4651. * libio/iofclose.c (_IO_new_fclose):
  4652. * libio/iofflush.c (_IO_fflush): Likewise.
  4653. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
  4654. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
  4655. * libio/iofgets.c (_IO_fgets): Likewise.
  4656. * libio/iofgetws.c (fgetws): Likewise.
  4657. * libio/iofputs.c (_IO_fputs): Likewise.
  4658. * libio/iofputws.c (fputws): Likewise.
  4659. * libio/iofread.c (_IO_fread): Likewise.
  4660. * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
  4661. * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
  4662. * libio/ioftell.c (_IO_ftell): Likewise.
  4663. * libio/iofwrite.c (_IO_fwrite): Likewise.
  4664. * libio/iogetdelim.c (_IO_getdelim): Likewise.
  4665. * libio/iogets.c (_IO_gets): Likewise.
  4666. * libio/ioputs.c (_IO_puts): Likewise.
  4667. * libio/ioseekoff.c (_IO_seekoff): Likewise.
  4668. * libio/ioseekpos.c (_IO_seekpos): Likewise.
  4669. * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
  4670. * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
  4671. * libio/ioungetc.c (_IO_ungetc): Likewise.
  4672. * libio/ioungetwc.c (ungetwc): Likewise.
  4673. * libio/oldiofclose.c (_IO_old_fclose): Likewise.
  4674. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
  4675. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
  4676. * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
  4677. * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
  4678. * libio/peekc.c (_IO_peekc_locked): Likewise.
  4679. * libio/putc.c (_IO_putc): Likewise.
  4680. * libio/putchar.c (putchar): Likewise.
  4681. * libio/putwc.c (putwc): Likewise.
  4682. * libio/putwchar.c (putwchar): Likewise.
  4683. * libio/rewind.c (rewind): Likewise.
  4684. * libio/wfileops.c (_IO_wfile_underflow): Likewise.
  4685. 2003-08-29 Ulrich Drepper <drepper@redhat.com>
  4686. * signal/signal.h: sighold, sigrelse, sigignore, sigset were
  4687. available in XPG4.2.
  4688. 2003-08-27 Phil Knirsch <pknirsch@redhat.com>
  4689. Jakub Jelinek <jakub@redhat.com>
  4690. * sunrpc/svc.c (svc_getreqset): Fix fds_bits reading on 64-bit
  4691. big endian arches. Don't read beyond end of fds_bits array.
  4692. 2003-04-27 Bruno Haible <bruno@clisp.org>
  4693. * manual/message.texi (Advanced gettext functions): Add information
  4694. about Korean, Portuguese, Latvian. Gaeilge is also known as Irish.
  4695. Add section about Lithuanian, reported by Ricardas Cepas
  4696. <rch@richard.eu.org>.
  4697. Add information about Croatian.
  4698. Ukrainian is like Russian, reported by Andy Rysin <arysin@yahoo.com>.
  4699. Remove remark about continuation lines that is not true for PO files.
  4700. Fix formula for Slovenian, reported by Roman Maurer
  4701. <roman.maurer@amis.net>.
  4702. 2003-08-27 Ulrich Drepper <drepper@redhat.com>
  4703. * math/math_private.h: Declare __copysignf.
  4704. * sysdeps/ieee754/flt-32/s_scalbnf.c: Use __copysignf instead of
  4705. copysignf.
  4706. * sysdeps/x86_64/fpu/bits/mathinline.h: Define __signbitf,
  4707. __signbit, and __signbitl inline functions.
  4708. * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Use
  4709. HIDDEN_JUMPTARGET instead of JUMPTARGET to call exit().
  4710. * sysdeps/x86_64/bsd-_setjmp.S [PIC]: Jump to __GI___sigsetjmp.
  4711. * sysdeps/x86_64/setjmp.S: Add libc_hidden_def for __sigsetjmp.
  4712. 2003-08-27 Jakub Jelinek <jakub@redhat.com>
  4713. * inet/inet_mkadr.c (inet_makeaddr): Optimize.
  4714. 2003-08-27 Ulrich Drepper <drepper@redhat.com>
  4715. * include/stdio.h: Add declarations for __builtin_fwrite and
  4716. __builtin_fwrite_unlocked.
  4717. 2003-08-27 Jakub Jelinek <jakub@redhat.com>
  4718. * sysdeps/unix/opendir.c (__opendir): Make sure even struct dirent64
  4719. fits into allocation. Add padding on 32-bit arches so that
  4720. dirp->data is enough aligned for struct dirent64.
  4721. Avoid clearing of the buffer, just clear DIR structure.
  4722. 2003-08-26 Ulrich Drepper <drepper@redhat.com>
  4723. * nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function.
  4724. * nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.
  4725. 2003-08-26 Steven Munroe <sjmunroe@us.ibm.com>
  4726. * sysdeps/powerpc/powerpc64/elf/Makefile: New file.
  4727. 2003-08-26 Jakub Jelinek <jakub@redhat.com>
  4728. * login/programs/utmpdump.c (print_entry): Cast tv_usec to long
  4729. to match format string.
  4730. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (union semun): Add
  4731. __old_buf.
  4732. (__new_semctl): Shut up warning.
  4733. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
  4734. (_dl_string_hwcap): Add __attribute__ ((always_inline)).
  4735. 2003-08-26 Jakub Jelinek <jakub@redhat.com>
  4736. * elf/ldconfig.c (search_dir): When checking for GNU-style .so
  4737. link file use the real file name, not the resolved name we got by
  4738. following the symlinks.
  4739. 2003-08-25 Ulrich Drepper <drepper@redhat.com>
  4740. * libio/oldfileops.c (_IO_old_file_init): Initialize _mode field
  4741. if the object size is large enough.
  4742. 2003-08-25 Jakub Jelinek <jakub@redhat.com>
  4743. * elf/ldconfig.c (search_dir): Treat symlink as regular file
  4744. if it won't point to itself unless it is .so symlink for the linker.
  4745. 2003-08-25 Ulrich Drepper <drepper@redhat.com>
  4746. * libio/libio.h (_IO_fwide): In the mode==0 optimization, don't
  4747. use _mode if _IO_fwide_maybe_incompatible.
  4748. * libio/iofwide.c (_IO_fwide): Move the test for mode == 0 after
  4749. the compatibility test.
  4750. 2003-08-25 Jakub Jelinek <jakub@redhat.com>
  4751. * elf/cache.c (save_cache): Don't write beyond end of file_entries
  4752. buffer.
  4753. Duplicate last old cache entry if the count would be odd.
  4754. 2003-08-25 Andreas Jaeger <aj@suse.de>
  4755. * sysdeps/unix/sysv/linux/posix_fadvise64.c: Cast arguments of
  4756. __LONG_LONG_PAIR to long.
  4757. 2003-08-25 Philip Blundell <philb@gnu.org>
  4758. * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_ERRVAL): Define.
  4759. (PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.
  4760. 2003-08-18 Alfred M. Szmidt <ams@kemisten.nu>
  4761. * sysdeps/generic/bits/libc-lock.h (__libc_cleanup_pop): Redefine
  4762. and use __libc_cleanup_region_end instead.
  4763. 2003-08-25 Ulrich Drepper <drepper@redhat.com>
  4764. * elf/ldconfig.c (search_dir): Revert patch of 2003-7-21.
  4765. 2003-08-22 Ulrich Drepper <drepper@redhat.com>
  4766. * io/fcntl.h (posix_fallocate): Change type of third parameter to
  4767. off_t.
  4768. (posix_fallocate64): Change type of third parameter to off64_t.
  4769. * sysdeps/generic/posix_fallocate.c: Adjust for type change.
  4770. * sysdeps/posix/posix_fallocate.c: Likewise.
  4771. * sysdeps/generic/posix_fallocate64.c: Likewise.
  4772. * sysdeps/posix/posix_fallocate64.c: Likewise. Add compatibility
  4773. code for 32-bit platforms.
  4774. * sysdeps/unix/sysv/linux/i386/Versions: Add new version for
  4775. posix_fallocate64.
  4776. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise.
  4777. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
  4778. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
  4779. 2003-08-19 Ulrich Drepper <drepper@redhat.com>
  4780. * string/bits/string2.h (__STRING2_COPY_TYPE): Add attribute to
  4781. the type, not to name.
  4782. * stdio-common/test-vfprintf.c (main): Don't write temporary file
  4783. into source directory.
  4784. * malloc/malloc.c (_int_free): Add cheap test for some invalid
  4785. block sizes.
  4786. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo in
  4787. syscall name.
  4788. 2003-08-18 Ulrich Drepper <drepper@redhat.com>
  4789. * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Fold EISDIR error
  4790. into EINVAL.
  4791. 2003-08-18 H.J. Lu <hongjiu.lu@intel.com>
  4792. * sysdeps/ia64/dl-machine.h (elf_machine_rela): Use _dl_reloc_bad_type.
  4793. (elf_machine_lazy_rel): Likewise.
  4794. 2003-08-18 Art Haas <ahaas@airmail.net>
  4795. * malloc/malloc.h: Remove unneeded ';' where closing the C++
  4796. extern block.
  4797. 2003-08-18 Ulrich Drepper <drepper@redhat.com>
  4798. * sysdeps/ia64/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Support
  4799. loading big binaries where @gprel(sym) cannot be handled in 'add'
  4800. but instead has to be used with 'movl'.
  4801. 2003-08-17 Juergen Kreileder <jk@blackdown.de>
  4802. Andreas Jaeger <aj@suse.de>
  4803. * sysdeps/x86_64/bits/byteswap.h: New file.
  4804. 2003-08-17 Andreas Jaeger <aj@suse.de>
  4805. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Fix typo.
  4806. 2003-08-16 Jakub Jelinek <jakub@redhat.com>
  4807. * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_ERRVAL,
  4808. PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
  4809. * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_ERRVAL,
  4810. PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
  4811. * sysdeps/unix/alpha/sysdep.h (PSEUDO_ERRVAL,
  4812. ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
  4813. * sysdeps/unix/mips/sysdep.h (PSEUDO_ERRVAL,
  4814. ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
  4815. * sysdeps/unix/sparc/sysdep.h (PSEUDO_ERRVAL,
  4816. ret_ERRVAL): Define.
  4817. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_ERRVAL,
  4818. PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
  4819. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO_ERRVAL,
  4820. PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
  4821. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO_ERRVAL):
  4822. Define.
  4823. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_ERRVAL,
  4824. PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
  4825. * sysdeps/unix/sysdep.h (PSEUDO_END_ERRVAL): Define.
  4826. * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64,
  4827. posix_fadvise64_64): Remove.
  4828. * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Add
  4829. V flag.
  4830. * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64):
  4831. Likewise.
  4832. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
  4833. (posix_fadvise64): Likewise.
  4834. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
  4835. (posix_fadvise64): Likewise.
  4836. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
  4837. (posix_fadvise64): Likewise.
  4838. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64):
  4839. Likewise.
  4840. * sysdeps/unix/sysv/linux/i386/posix_fadvise64_64.S: Moved to...
  4841. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: ...here.
  4842. (__posix_fadvise64_l64): Fix a typo in fadvise64 syscall invocation.
  4843. (__posix_fadvise64_l32): New function.
  4844. * sysdeps/unix/sysv/linux/i386/Makefile: Revert last change.
  4845. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Export
  4846. posix_fadvise64@@GLIBC_2.3.3.
  4847. * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise.
  4848. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise.
  4849. * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Return
  4850. error value.
  4851. * sysdeps/unix/sysv/linux/posix_fadvise64.c: New file.
  4852. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  4853. (SYSCALL_ERROR_HANDLER): Use TLS errno/__libc_errno if USE___THREAD.
  4854. 2003-08-15 Jakub Jelinek <jakub@redhat.com>
  4855. * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Remove.
  4856. (elf_machine_matches_host): Remove weak extern stuff.
  4857. Use GL(dl_hwcap) unconditionally and GL(dl_hwcap_mask) if SHARED.
  4858. (elf_machine_runtime_setup, sparc_fixup_plt): Remove weak extern
  4859. stuff. Use GL(dl_hwcap) unconditionally.
  4860. 2003-08-16 Alan Modra <amodra@bigpond.net.au>
  4861. * sysdeps/powerpc/powerpc64/elf/start.S: Add a nop after
  4862. __libc_start_main branch.
  4863. 2003-08-16 Jakub Jelinek <jakub@redhat.com>,
  4864. Andreas Jaeger <aj@suse.de>
  4865. * sysdeps/generic/posix_fadvise.c (posix_fadvise): Return ENOSYS
  4866. instead of setting errno.
  4867. * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
  4868. 2003-08-16 Andreas Jaeger <aj@suse.de>
  4869. * sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
  4870. * sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
  4871. 2003-08-15 Ulrich Drepper <drepper@redhat.com>
  4872. * io/fcntl.h (posix_fadvise64): Change type of third parameter to
  4873. off_t.
  4874. * sysdeps/unix/sysv/linux/posix_fadvise.c: Adjust definition.
  4875. * sysdeps/unix/make-syscalls.sh: Recognize V prefix to the parameter
  4876. description indicating the error value is returned, not -1.
  4877. * sysdeps/unix/sysv/linux/kernel-features.h: Add definition of
  4878. __ASSUME_FADVISE64_64_SYSCALL.
  4879. * sysdeps/unix/sysv/linux/syscalls.list: Don't define madvise and
  4880. posix_madvise in one file. Have posix_madvise defined with error
  4881. value returned.
  4882. Define posix_fadvise64_64 entry. Add version info to posix_fadvise64
  4883. entry.
  4884. * sysdeps/unix/sysv/linux/i386/posix_fadvise.S: New file.
  4885. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PSEUDO_ERRVAL,
  4886. PSEUDO_END_ERRVAL, and ret_ERRVAL.
  4887. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  4888. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  4889. * sysdeps/unix/sysv/linux/i386/Versions [GLIBC_2.3.3]: Add
  4890. posix_fadvise64.
  4891. * posix/Makefile (routines): Add posix_madvise.
  4892. * sysdeps/generic/madvise.c: Don't define posix_madvise.
  4893. * sysdeps/generic/posix_madvise.c: New file.
  4894. * sysdeps/unix/sysv/aix/posix_madvise.c: New file.
  4895. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (subdir_routines):
  4896. Add posix_fadvise64_64.
  4897. 2003-08-15 Jakub Jelinek <jakub@redhat.com>
  4898. * assert/assert.h (assert_perror): Use __builtin_expect for gcc >=
  4899. 3.0, not for !gcc or gcc < 3.0.
  4900. 2003-08-11 Carlos O'Donell <carlos@baldric.uwo.ca>
  4901. * dlfcn/default.c (main): Cast dlsym loaded value to same type as main.
  4902. Address passed to test_in_mod1 and test_in_mod2 without casting.
  4903. * dlfcn/defaultmod1.c: Change prototype of test_in_mod1.
  4904. (test_in_mod1): Cast dlsym loaded value to same type as mainp.
  4905. * dlfcn/defaultmod2.c: Change prototype of test_in_mod2.
  4906. (test_in_mod2): Cast dlsym loaded value to same type as mainp.
  4907. 2003-08-15 Jakub Jelinek <jakub@redhat.com>
  4908. * sysdeps/sparc/sparc32/elf/configure.in (libc_cv_sparc32_tls):
  4909. Change quotes before using [].
  4910. * sysdeps/unix/sysv/linux/sparc/sys/user.h: New file.
  4911. * sysdeps/sparc/sparc32/bits/atomic.h (__sparc32_atomic_lock):
  4912. Renamed to...
  4913. (__sparc32_atomic_locks): ...this. Change into 64-byte array.
  4914. (__sparc32_atomic_do_lock, __sparc32_atomic_do_unlock): Add addr
  4915. argument. Select one of 64 locks from address bits.
  4916. (atomic_compare_and_exchange_val_acq,
  4917. atomic_compare_and_exchange_bool_acq): Pass memory address to
  4918. __sparc32_atomic_do_{,un}lock.
  4919. 2003-08-14 Ulrich Drepper <drepper@redhat.com>
  4920. * assert/assert.h (assert): Use !! in front of expression to allow
  4921. use of pointers.
  4922. * iconvdata/cp932.c: Fixed checking of a few border of code areas.
  4923. Changed conversion of JIS X 0201 from using a table to calculating.
  4924. * iconvdata/euc-jp-ms.c: Fixed conversion table and rewrote
  4925. conversion routine. Changed CHARSET_NAME definition from EUCJP-MS to
  4926. EUC-JP-MS.
  4927. * iconvdata/tst-tables.sh: Add CP932 and EUC-JP-MS.
  4928. * iconvdata/CP932.irreversible: New file.
  4929. * iconvdata/EUC-JP-MS.irreversible: New file.
  4930. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
  4931. 2003-08-13 Ulrich Drepper <drepper@redhat.com>
  4932. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add time syscall.
  4933. * elf/Makefile: Use LC_ALL=C in a few cases where we call external
  4934. text processing tools.
  4935. * sysdeps/pthread/aio_misc.h (struct waitlist): Don't add caller_pid
  4936. element unless BROKEN_THREAD_SIGNALS is defined.
  4937. (struct requestlist): Likewise.
  4938. * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Don't fill in
  4939. caller_pid of new request unless BROKEN_THREAD_SIGNALS is defined.
  4940. * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
  4941. * sysdeps/pthread/aio_notify.c (__aio_notify_only): Remove caller_pid
  4942. parameter unless BROKEN_THREAD_SIGNALS is defined. Adjust callers.
  4943. Pass current PID to __aio_sigqueue.
  4944. * sysdeps/pthread/lio_listio.c (lio_listio): Adjust __aio_notify_only
  4945. call. Don't initialize caller_pid field of waitlist element.
  4946. 2003-08-12 Jakub Jelinek <jakub@redhat.com>
  4947. * libio/libioP.h (_IO_vtable_offset): Define.
  4948. * libio/freopen.c (freopen): Use it.
  4949. * libio/ioputs.c (_IO_puts): Likewise.
  4950. * libio/freopen64.c (freopen64): Likewise.
  4951. * libio/genops.c (__underflow, __uflow, _IO_flush_all_lockp):
  4952. Likewise.
  4953. * libio/iofclose.c (_IO_new_fclose): Likewise.
  4954. * libio/iofputs.c (_IO_fputs): Likewise.
  4955. * libio/ioftell.c (_IO_ftell): Likewise.
  4956. * libio/iofwrite.c (_IO_fwrite): Likewise.
  4957. * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
  4958. * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
  4959. * stdio-common/vfprintf.c (ORIENT, vfprintf): Likewise.
  4960. * stdio-common/vfscanf.c (ORIENT): Likewise.
  4961. 2003-08-11 Ulrich Drepper <drepper@redhat.com>
  4962. * assert/assert.h: Use __builtin_expect in assert and
  4963. assert_perror definitions if possible.
  4964. 2003-08-07 Jakub Jelinek <jakub@redhat.com>
  4965. * sysdeps/generic/ldsodefs.h (_rtld_global): Add
  4966. _dl_rtld_lock_recursive and _dl_rtld_unlock_recursive.
  4967. * elf/rtld.c (rtld_lock_default_lock_recursive,
  4968. rtld_lock_default_unlock_recursive): New functions.
  4969. (dl_main): Initialize _dl_rtld_lock_recursive and
  4970. _dl_rtld_unlock_recursive.
  4971. 2003-08-05 Jakub Jelinek <jakub@redhat.com>
  4972. * elf/ldconfig.c (main): Append SLIBDIR and LIBDIR to
  4973. config_file directories instead of prepending.
  4974. 2003-08-02 Ulrich Drepper <drepper@redhat.com>
  4975. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  4976. __ASSUME_CLONE_STOPPED.
  4977. 2003-08-01 Ulrich Drepper <drepper@redhat.com>
  4978. * sysdeps/generic/bits/libc-lock.h
  4979. (__libc_cleanup_push,__libc_cleanup_pop): Define even here.
  4980. 2003-08-01 Roland McGrath <roland@frob.com>
  4981. * sysdeps/mach/hurd/getdents.c: Just use sysdeps/generic/getdents.c.
  4982. 2003-07-31 Jakub Jelinek <jakub@redhat.com>
  4983. * sysdeps/generic/bits/types.h (__ssize_t): Use __SSIZE_T_TYPE
  4984. instead of __SWORD_TYPE.
  4985. * sysdeps/generic/bits/typesizes.h (__SSIZE_T_TYPE): Define.
  4986. * sysdeps/mach/hurd/bits/typesizes.h (__SSIZE_T_TYPE): Define.
  4987. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SSIZE_T_TYPE):
  4988. Define.
  4989. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__SSIZE_T_TYPE):
  4990. Define.
  4991. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SSIZE_T_TYPE):
  4992. Define.
  4993. * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: New file.
  4994. * dlfcn/dlerror.c (once): New.
  4995. (dlerror): Call __libc_once.
  4996. (_dlerror_run): Remove once.
  4997. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
  4998. Sync with 2.5.7 and 2.5.73 kernel changes.
  4999. * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings.
  5000. * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd
  5001. formats to size_t.
  5002. * elf/dl-lookup.c (_dl_debug_bindings): Likewise.
  5003. * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid.
  5004. * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2.
  5005. * gmon/tst-sprofil.c (main): Add parens to shut up warning.
  5006. * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer
  5007. difference argument.
  5008. * stdio-common/tst-wc-printf.c (main): Cast arguments with %C
  5009. format to wint_t.
  5010. * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use
  5011. %d format and cast expected value to int.
  5012. * sysdeps/generic/libc-start.c (STATIC): Add
  5013. __attribute__((always_inline) if LIBC_START_MAIN is already defined.
  5014. * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t
  5015. to ieee_float_shape_type.
  5016. (__sqrt): Avoid type punning.
  5017. * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t
  5018. to ieee_float_shape_type.
  5019. (__sqrtf): Avoid type punning.
  5020. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define
  5021. refsym if in dl-conflict.c.
  5022. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
  5023. * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf.
  5024. (__new_semctl): Shut up warning.
  5025. * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf.
  5026. (__new_semctl): Shut up warning.
  5027. * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines.
  5028. Change old into union of __old_shmid_ds and __old_shminfo structs.
  5029. Adjust all users.
  5030. * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t.
  5031. * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and
  5032. modtime computation.
  5033. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
  5034. * sysdeps/posix/utimes.c (__utimes): Likewise.
  5035. 2003-07-30 Jakub Jelinek <jakub@redhat.com>
  5036. * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value,
  5037. call dl_signal_error directly. If already relocated, call
  5038. GL(dl_init_static_tls) directly, otherwise queue it for later.
  5039. (CHECK_STATIC_TLS): Undo 2003-07-24 change.
  5040. * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls).
  5041. * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls
  5042. for all static TLS initializations delayed in _dl_allocate_static_tls.
  5043. * elf/dl-support.c (_dl_init_static_tls): New variable.
  5044. * include/link.h (struct link_map): Add l_need_tls_init.
  5045. * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls.
  5046. (_dl_nothread_init_static_tls): New prototype.
  5047. (_dl_allocate_static_tls): Adjust prototype.
  5048. * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive.
  5049. 2003-07-31 Alexandre Oliva <aoliva@redhat.com>
  5050. * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
  5051. elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
  5052. reloc_addr is aligned.
  5053. * sysdeps/alpha/dl-machine.h (elf_machine_rela,
  5054. elf_machine_rela_relative): Adjust.
  5055. * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
  5056. elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
  5057. * sysdeps/cris/dl-machine.h (elf_machine_rela,
  5058. elf_machine_rela_relative): Adjust.
  5059. * sysdeps/hppa/dl-machine.h (elf_machine_rela,
  5060. elf_machine_rela_relative): Adjust.
  5061. * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
  5062. elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
  5063. * sysdeps/ia64/dl-machine.h (elf_machine_rela,
  5064. elf_machine_rela_relative): Adjust.
  5065. * sysdeps/m68k/dl-machine.h (elf_machine_rela,
  5066. elf_machine_rela_relative): Adjust.
  5067. * sysdeps/mips/dl-machine.h (elf_machine_rela,
  5068. elf_machine_rela_relative): Adjust.
  5069. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
  5070. elf_machine_rela_relative): Adjust.
  5071. * sysdeps/powerpc/powerpc64/dl-machine.h
  5072. (elf_machine_rela_relative, elf_machine_rela): Adjust.
  5073. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
  5074. elf_machine_rela_relative): Adjust.
  5075. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
  5076. elf_machine_rela_relative): Adjust.
  5077. * sysdeps/sh/dl-machine.h (elf_machine_rela,
  5078. elf_machine_rela_relative): Adjust.
  5079. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
  5080. elf_machine_rela_relative): Adjust.
  5081. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
  5082. elf_machine_rela_relative): Adjust.
  5083. * sysdeps/x86_64/dl-machine.h (elf_machine_rela,
  5084. elf_machine_rela_relative): Adjust.
  5085. 2003-07-29 Ulrich Drepper <drepper@redhat.com>
  5086. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Restore
  5087. alignment of TCB used before the last change so that it matches
  5088. ld's output for IE code.
  5089. 2003-07-29 Jakub Jelinek <jakub@redhat.com>
  5090. * include/ctype.h (__ctype_b_loc, __ctype_toupper_loc,
  5091. __ctype_tolower_loc): Avoid "dereferencing type-punned pointer will
  5092. break strict-aliasing rules" warnings.
  5093. 2003-07-29 Roland McGrath <roland@redhat.com>
  5094. * elf/Makefile: Revert accidental changes in last commit.
  5095. * elf/dl-support.c: Likewise.
  5096. * rt/tst-timer2.c: New file.
  5097. * rt/Makefile (tests): Add it.
  5098. 2003-07-25 Jakub Jelinek <jakub@redhat.com>
  5099. * elf/dl-support.c (_dl_hwcap): Add nocommon attribute.
  5100. 2003-07-29 Roland McGrath <roland@redhat.com>
  5101. * elf/Makefile (tests) [$(build-shared) = yes]:
  5102. Depend on $(test-modules).
  5103. * dlfcn/Makefile: Likewise.
  5104. 2003-07-28 Roland McGrath <roland@redhat.com>
  5105. * sysdeps/generic/bits/types.h (__STD_TYPE): New macro.
  5106. Use that instead of `typedef' when using __*_TYPE macros in rhs.
  5107. * elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.
  5108. * elf/tst-tlsmod14a.c: Likewise.
  5109. * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h>
  5110. before <linux/sysctl.h>.
  5111. 2003-07-27 Ulrich Drepper <drepper@redhat.com>
  5112. * sysdeps/unix/sysv/syscalls.list: time syscall never fails.
  5113. * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails.
  5114. * sysdeps/unix/sysv/i386/time.S: time syscall never fails.
  5115. * sysdeps/unix/syscalls.list: umask syscall never fails.
  5116. 2003-07-27 Andreas Jaeger <aj@suse.de>
  5117. * sysdeps/unix/sysv/linux/init-first.c: Mark init as used.
  5118. 2003-07-25 Jakub Jelinek <jakub@redhat.com>
  5119. * sysdeps/unix/sysv/linux/a.out.h: Replace with i386 version.
  5120. Include bits/a.out.h.
  5121. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
  5122. bits/a.out.h.
  5123. * sysdeps/unix/sysv/linux/bits/a.out.h: New file.
  5124. * sysdeps/unix/sysv/linux/i386/bits/a.out.h: New file.
  5125. * sysdeps/unix/sysv/linux/m68k/bits/a.out.h: New file.
  5126. * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: New file.
  5127. * sysdeps/unix/sysv/linux/alpha/a.out.h: New file.
  5128. * sysdeps/unix/sysv/linux/alpha/bits/a.out.h: New file.
  5129. * sysdeps/unix/sysv/linux/sparc/a.out.h: New file.
  5130. * sysdeps/unix/sysv/linux/sparc/bits/a.out.h: New file.
  5131. 2003-07-24 Jakub Jelinek <jakub@redhat.com>
  5132. * sysdeps/pthread/aio_cancel.c (aio_cancel): Return AIO_ALLDONE
  5133. if aiocbp != NULL and has already completed. Return -1/EINVAL if
  5134. aiocbp->aio_fildes does not match fildes.
  5135. 2003-07-24 Ulrich Drepper <drepper@redhat.com>
  5136. * timezone/zic.c (rpytime): Replace cheap overflow check with a
  5137. functioning one.
  5138. * include/link.h (struct link_map): Add l_tls_firstbyte_offset field.
  5139. * sysdeps/generic/dl-tls.c [TLS_TCB_AT_TP] (_dl_determine_tlsoffset):
  5140. Fix calculation of offsets to take misalignment of first byte in
  5141. file into account.
  5142. * elf/dl-load.c (_dl_map_object_from_fd): Initialize
  5143. l_tls_firstbyte_offset field.
  5144. * elf/rtld.c (_dl_start_final, _dl_start, dl_main): Likewise.
  5145. * elf/dl-reloc.c (_dl_allocate_static_tls): Change return type to int.
  5146. Take l_tls_firstbyte_offset information into account.
  5147. (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now.
  5148. * sysdeps/generic/ldsodefs.h: Adjust _dl_allocate_static_tls prototype.
  5149. * elf/Makefile: Add rules to build and run tst-tls14.
  5150. * elf/tst-tls14.c: New file.
  5151. * elf/tst-tlsmod14a.c: New file.
  5152. * elf/tst-tlsmod14b.c: New file.
  5153. 2003-07-23 Jakub Jelinek <jakub@redhat.com>
  5154. * sysdeps/pthread/lio_listio.c (LIO_OPCODE_BASE): Define.
  5155. (lio_listio): Use it.
  5156. * sysdeps/pthread/lio_listio64.c: Include lio_listio.c instead of
  5157. after few defines to avoid duplication.
  5158. 2003-07-22 Jakub Jelinek <jakub@redhat.com>
  5159. * include/stdio.h (__libc_fatal): Add libc_hidden_proto.
  5160. * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
  5161. Likewise.
  5162. * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose):
  5163. Add libc_hidden_def.
  5164. * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise.
  5165. * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
  5166. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise.
  5167. * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE,
  5168. __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE.
  5169. * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE.
  5170. * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last
  5171. change.
  5172. * sysdeps/generic/unwind.inc: Removed.
  5173. * include/resolv.h (__resp): Declare. Define to __libc_resp
  5174. if in libc.so.
  5175. (_res): If USE___THREAD, define to (*__resp).
  5176. * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol
  5177. even if USE___THREAD.
  5178. (__resp): New __thread variable.
  5179. (__libc_resp): New alias.
  5180. * resolv/Versions (libc): Export _res@GLIBC_2.0 even if
  5181. USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE.
  5182. * sysdeps/generic/res-state.c (__res_state): Return __resp
  5183. if USE___THREAD.
  5184. 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
  5185. * elf/dl-support.c (_dl_hwcap): New variable.
  5186. (_dl_aux_init): Initialize GL(dl_hwcap) for static binaries.
  5187. * sysdeps/i386/fpu/fclrexcpt.c: Include <unistd.h>, <ldsodefs.h>
  5188. and <dl-procinfo.h>.
  5189. (__feclearexcept): Clear MXCSR if needed.
  5190. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
  5191. * sysdeps/i386/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Document
  5192. that newer hardware needs more than these macros.
  5193. * sysdeps/i386/setfpucw.c: New file.
  5194. 2003-07-22 Jakub Jelinek <jakub@redhat.com>
  5195. * elf/Makefile (CFLAGS-ldconfig.c): Define IS_IN_ldconfig.
  5196. * elf/ldconfig.c: Include dl-procinfo.c.
  5197. (PROCINFO_CLASS): Define.
  5198. * sysdeps/generic/ldsodefs.h (PROCINFO_CLASS): Define.
  5199. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: New file.
  5200. * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: New file.
  5201. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (PROCINFO_CLASS):
  5202. Define if not yet defined. Use it instead of EXTERN. Undefine
  5203. at the end of the file.
  5204. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (PROCINFO_CLASS):
  5205. Likewise.
  5206. * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c
  5207. (PROCINFO_CLASS): Likewise.
  5208. * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c
  5209. (PROCINFO_CLASS): Likewise.
  5210. 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
  5211. * elf/ldconfig.c (main): Issue a fatal error if relative path
  5212. is used to build cache.
  5213. 2003-07-22 Ulrich Drepper <drepper@redhat.com>
  5214. * elf/readlib.c (process_file): Avoid possible overflow in assignment.
  5215. 2003-07-21 Art Haas <ahaas@airmail.net>
  5216. * manual/charset.texi (Converting a Character): Fix example code so a
  5217. valid pointer is returned.
  5218. 2003-07-22 Andreas Jaeger <aj@suse.de>
  5219. * elf/readlib.c (process_file): Check that file is a shared
  5220. object.
  5221. * elf/sofini.c (__FRAME_END__): Use attribute used so that gcc
  5222. will not optimize it away.
  5223. (__DTOR_END__): Likewise.
  5224. (__CTOR_END__): Likewise.
  5225. * include/libc-symbols.h (_elf_set_element): Use attribute used so
  5226. that gcc will not optimize it away.
  5227. (link_warning): Likewise.
  5228. 2003-07-22 Ulrich Drepper <drepper@redhat.com>
  5229. * wcsmbs/wcpncpy.c (__wcpncpy): Correct destination pointer handling.
  5230. * wcsmbs/Makefile (tests): Add tst-wcpncpy.
  5231. * wcsmbs/tst-wcpncpy.c: New file.
  5232. 2003-07-21 Ulrich Drepper <drepper@redhat.com>
  5233. * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_STOPPED): Define.
  5234. * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Reverse use of
  5235. stmxcsr and ldmxcsr.
  5236. * Makerules (build-module-helper): Add -z defs unless explicitly said
  5237. not to do it.
  5238. * dlfcn/Makefile: Define various *-no-z-defs variables for test DSOs
  5239. which has undefined symbols.
  5240. * elf/Makefile: Likewise.
  5241. * sysdeps/i386/fpu/fedisblxcpt.c: Use dl_hwcap, not dl_hwcap_mask.
  5242. * sysdeps/i386/fpu/feenablxcpt.c: Likewise.
  5243. * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
  5244. * sysdeps/i386/fpu/fesetround.c: Likewise.
  5245. * sysdeps/i386/fpu/ftestexcept.c: Likewise.
  5246. 2003-07-21 HJ Lu <hongjiu.lu@intel.com>
  5247. * elf/ldconfig.c (search_dir): Treat symlink as regular file
  5248. if it won't point to itself.
  5249. 2003-07-20 Ulrich Drepper <drepper@redhat.com>
  5250. * sysdeps/ia64/hp-timing.h (REPEAT_READ): Cast to long int not to int.
  5251. 2003-07-20 Andreas Jaeger <aj@suse.de>
  5252. * iconvdata/cp932.c (BODY): STANDARD_ERR_HANDLER is now called
  5253. STANDARD_TO_LOOP_ERR_HANDLER.
  5254. * iconvdata/euc-jp-ms.c (BODY): Likewise.
  5255. 2003-07-19 Ulrich Drepper <drepper@redhat.com>
  5256. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo.
  5257. * sysdeps/unix/sysv/linux/syscalls.list: Remove affinity syscalls.
  5258. 2003-07-16 Daniel Jacobowitz <drow@mvista.com>
  5259. Andreas Jaeger <aj@suse.de>
  5260. * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
  5261. 256K, remove unneeded declaration of __getpagesize.
  5262. 2003-07-16 Andreas Schwab <schwab@suse.de>
  5263. * sysdeps/unix/sysv/linux/futimes.c: Include <string.h>.
  5264. 2003-07-15 Ulrich Drepper <drepper@redhat.com>
  5265. * io/test-utime.c (main): Make test yet more robust.
  5266. 2003-07-14 Ulrich Drepper <drepper@redhat.com>
  5267. More cancellation handling fixups.
  5268. * sysdeps/unix/sysv/linux/not-cancel.h: Add waitpid_not_cancel.
  5269. * sysdeps/generic/not-cancel.h: Likewise.
  5270. * catgets/open_catalog.c: Use not-cancelable syscalls.
  5271. * time/Makefile (CFLAGS-getdate.c): Add -fexceptions.
  5272. * sysdeps/unix/sysv/linux/llseek.c: Must not be cancelable.
  5273. * sysdeps/unix/syscalls.list: Don't mark lseek as cancelable.
  5274. * dlfcn/dlfcn.h: Mark dlopen with __THROW again.
  5275. * io/fcntl.h: Don't mark posix_fallocate with __THROW.
  5276. * libio/fileops.c: Use not-cancelable syscalls for fclose.
  5277. * libio/iopopen.c: Use no-cancelable syscalls.
  5278. * libio/stdio.h: Mark popen and pclose with __THROW again.
  5279. * misc/Makefile (CFLAGS-syslog.c): Add -fexceptions.
  5280. * misc/syslog.c: Fix locking and cancellation cleanup handling.
  5281. * posix/unistd.h: Mark ttyname and ttyname_r again with __THROW.
  5282. * stdio-common/Makefile (CFLAGS-tmpfile.c, CFLAGS-tmpfile64.c,
  5283. CFLAGS-tempname.c): Add -fexceptions.
  5284. * stdlib/Makefile (CFLAGS-mkstemp.c): Add -fexceptions.
  5285. * string/string.h: Mark strerror and strerror_r with _THROW again.
  5286. * sysdeps/generic/unwind.inc: New file. Copied from gcc.
  5287. * sysdeps/generic/unwind-dw2.c: Update from gcc version. Remove
  5288. #ifs since we now need all the code compiled.
  5289. * sysdeps/posix/spawni.c: Use close_not_cancel instead of close.
  5290. * sysdeps/unix/closedir.c: Use not-cancelable syscalls.
  5291. * sysdeps/unix/opendir.c: Likewise.
  5292. * iconvdata/Makefile (modules): Add CP932 and EUC-JP-MS.
  5293. Add rule for EUC-JP-MS dependency.
  5294. * iconvdata/cp932.c: New file.
  5295. * iconvdata/eucjp-ms.c: New file.
  5296. * iconvdata/gconv-modules: Add entries for CP932 and EUC-JP-MS.
  5297. Patch by MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>.
  5298. 2003-07-15 Jakub Jelinek <jakub@redhat.com>
  5299. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket): Add
  5300. cfi directives.
  5301. 2003-07-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  5302. * sysdeps/unix/sysv/linux/kernel-features.h
  5303. (__ASSUME_FIXED_CLONE_SYSCALL): New macro.
  5304. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Use it.
  5305. * sysdeps/unix/sysv/linux/utimes.c: Include sysdep.h.
  5306. 2003-07-14 Ulrich Drepper <drepper@redhat.com>
  5307. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  5308. __ASSUME_TGKILL for Alpha appropriately.
  5309. 2003-07-12 Ulrich Drepper <drepper@redhat.com>
  5310. * sysdeps/unix/sysv/linux/bits/statfs.h (_STATFS_F_FRSIZE): Define.
  5311. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h (_STATFS_F_FRSIZE):
  5312. Likewise.
  5313. * sysdeps/unix/sysv/linux/s390/bits/statfs.h (_STATFS_F_FRSIZE):
  5314. Likewise.
  5315. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  5316. __ASSUME_UTIMES for x86 and kernels > 2.5.75.
  5317. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Handle case with
  5318. second parameter == NULL.
  5319. * sysdeps/unix/sysv/linux/utimes.c: New file.
  5320. 2003-07-12 Jakub Jelinek <jakub@redhat.com>
  5321. * sysdeps/unix/sysv/linux/futimes.c: Include kernel-features.h.
  5322. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Fix
  5323. a typo.
  5324. 2003-07-12 Ulrich Drepper <drepper@redhat.com>
  5325. * time/sys/time.h: Namespace cleanup.
  5326. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  5327. __ASSUME_UTIMES for the architectures which always had the syscall.
  5328. * sysdeps/unix/sysv/linux/futimes.c: New file.
  5329. 2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  5330. * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR
  5331. register across CENABLE and CDISABLE.
  5332. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
  5333. * sysdeps/unix/sysv/linux/sigwait.c: Include string.h.
  5334. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
  5335. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
  5336. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned
  5337. int before assigning to max to avoid warnings.
  5338. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
  5339. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add
  5340. cfi directives.
  5341. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise.
  5342. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
  5343. 2003-07-10 Jakub Jelinek <jakub@redhat.com>
  5344. * sysdeps/powerpc/powerpc64/elf/start.S: Set section flags of
  5345. .data.rel.ro.local to "aw".
  5346. 2003-07-10 Ulrich Drepper <drepper@redhat.com>
  5347. * sysdeps/m68k/Makefile: Remove CLFAGS-.oS addition.
  5348. * Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag.
  5349. (PIC-ccflag): Define.
  5350. 2003-07-04 Jakub Jelinek <jakub@redhat.com>
  5351. * sysdeps/s390/s390-32/elf/start.S: Emit position independent code
  5352. if PIC.
  5353. * sysdeps/s390/s390-64/elf/start.S: Likewise.
  5354. 2003-07-07 Jakub Jelinek <jakub@redhat.com>
  5355. * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address)
  5356. into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.
  5357. 2003-07-07 Ulrich Drepper <drepper@redhat.com>
  5358. * sysdeps/unix/sysv/linux/kernel-features.h: Version
  5359. __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible.
  5360. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
  5361. compilation with HAVE_AUX_SECURE defined.
  5362. 2003-07-05 Richard Henderson <rth@redhat.com>
  5363. * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
  5364. 2003-07-03 Ulrich Drepper <drepper@redhat.com>
  5365. * configure.in: Also check for .cfi_rel_offset pseudo-op.
  5366. 2003-07-03 Jakub Jelinek <jakub@redhat.com>
  5367. * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency): Fix a
  5368. typo.
  5369. 2003-07-03 Ulrich Drepper <drepper@redhat.com>
  5370. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_CLKTCK):
  5371. Define.
  5372. * sysdeps/unix/sysv/linux/prof-freq.h: New file.
  5373. 2003-07-02 Jakub Jelinek <jakub@redhat.com>
  5374. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Protect new_sysinfo
  5375. decl and use with #ifdef NEED_DL_SYSINFO.
  5376. 2003-07-02 Ulrich Drepper <drepper@redhat.com>
  5377. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't set
  5378. GL(dl_sysinfo) unles GL(dl_sysinfo_dso) is also set.
  5379. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  5380. __ASSUME_VSYSCALL only for 2.5.69 and up since this is when the
  5381. vsyscall DSO was added.
  5382. * posix/bits/posix1_lim.h (_POSIX_NGROUPS_MAX): Define to 8 or 0
  5383. depending on selected standard.
  5384. (NGROUPS_MAX): Define to 8 if not defined.
  5385. 2003-07-02 Andreas Jaeger <aj@suse.de>
  5386. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: New file.
  5387. 2003-05-04 H.J. Lu <hongjiu.lu@intel.com>
  5388. * malloc/arena.c (arena_get2): Add atomic_write_barrier.
  5389. * malloc/thread-m.h: Include <atomic.h>.
  5390. (atomic_full_barrier): Provide default.
  5391. (atomic_read_barrier): Likewise.
  5392. (atomic_write_barrier): Likewise.
  5393. * sysdeps/ia64/bits/atomic.h (atomic_full_barrier): New #define.
  5394. 2003-06-30 Ulrich Drepper <drepper@redhat.com>
  5395. * sysdeps/generic/sysdep.h: Define cfi_rel_offset and CFI_REL_OFFSET.
  5396. 2003-06-30 Richard Henderson <rth@redhat.com>
  5397. * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
  5398. Invert the sense of the return value.
  5399. (__arch_exchange_16_int): Fix paste-o.
  5400. (__arch_exchange_{32,64}_int): Fix think-o.
  5401. * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
  5402. 2003-06-30 Richard Henderson <rth@redhat.com>
  5403. * include/sys/resource.h (__getrusage): Mark hidden.
  5404. * include/sys/time.h (__settimeofday, __setitimer, __utimes): Likewise.
  5405. * include/sys/wait.h (__wait4): Likewise.
  5406. 2003-06-17 Guido Guenther <agx@sigxcpu.org>
  5407. * sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
  5408. case.
  5409. (xstat_conv): Rename to __xstat_conv and remove static inline.
  5410. (xstat64_conv): Likewise.
  5411. 2003-06-29 Ulrich Drepper <drepper@redhat.com>
  5412. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Handle parameter
  5413. values which cannot be handled in one nanosleep call.
  5414. 2003-06-25 Alfred M. Szmidt <ams@kemisten.nu>
  5415. * sysdeps/generic/bits/in.h (IPV6_HOPOPTS, IPV6_DSTOPTS): New macros.
  5416. (IPV6_RXHOPOPTS, IPV6_RXDSTOPTS): Use them.
  5417. * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: Typo fix.
  5418. 2003-06-04 Thorsten Kukuk <kukuk@suse.de>
  5419. * sysdeps/unix/sysv/linux/net/if_arp.h: Sync with kernel header,
  5420. fix typo.
  5421. 2003-06-26 Steven Munroe <sjmunroe@us.ibm.com>
  5422. * sysdeps/unix/sysv/linux/xstatconv.h [!STAT_IS_KERNEL_STAT]:
  5423. Conditionalize function definitions that use struct kernel_stat.
  5424. * sysdeps/unix/sysv/linux/fxstat.c: Remove __syscall_fstat extern.
  5425. * sysdeps/unix/sysv/linux/lxstat.c: Remove __syscall_lstat extern.
  5426. * sysdeps/unix/sysv/linux/xstat.c: Remove __syscall_stat extern.
  5427. 2003-06-28 Ulrich Drepper <drepper@redhat.com>
  5428. * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real
  5429. implementation.
  5430. 2003-06-07 Thorsten Kukuk <kukuk@suse.de>
  5431. * nis/nss_compat/compat-grp.c: Remove unused nis_first variable.
  5432. (getgrent_next_file): Don't store group name to early in blacklist.
  5433. * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result
  5434. and use memcpy instead of strcpy.
  5435. 2003-06-28 Ulrich Drepper <drepper@redhat.com>
  5436. * nis/nss_compat/compat-grp.c: Optimize several little things. Use
  5437. stream unlocked.
  5438. * nis/nss_compat/compat-initgroups.c: Likewise.
  5439. * nis/nss_compat/compat-pwd.c: Likewise.
  5440. * nis/nss_compat/compat-spwd.c: Likewise.
  5441. 2003-06-27 Thorsten Kukuk <kukuk@suse.de>
  5442. * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+
  5443. functions, dlopen corresponding NSS module instead.
  5444. 2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
  5445. * sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
  5446. * sysdeps/mach/hurd/i386/init-first.c: Likewise.
  5447. * sysdeps/mach/hurd/mips/init-first.c: Likewise.
  5448. * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
  5449. 2003-06-27 Ulrich Drepper <drepper@redhat.com>
  5450. * rt/Makefile (CFLAGS-librt-cancellation.c): Define.
  5451. 2003-06-26 Roland McGrath <roland@frob.com>
  5452. * sysdeps/mach/configure.in: Barf rather than define NO_CREATION_TIME.
  5453. * sysdeps/mach/configure: Regenerated.
  5454. * sysdeps/mach/hurd/times.c (times_init): Function removed.
  5455. (__times): Assume `creation_time' field is available.
  5456. * sysdeps/mach/hurd/Makefile [$(subdir) = csu] (sysdep_routines):
  5457. Don't append set-init.
  5458. * sysdeps/mach/hurd/set-init.c: File removed.
  5459. 2003-06-26 Roland McGrath <roland@redhat.com>
  5460. * elf/elf.h (AT_SECURE): New macro.
  5461. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Grok it,
  5462. set __libc_enable_secure.
  5463. (_dl_show_auxv): Add AT_SECURE to name table.
  5464. * elf/dl-support.c (_dl_aux_init): Grok AT_SECURE, set
  5465. __libc_enable_secure and __libc_enable_secure_decided.
  5466. * sysdeps/unix/sysv/linux/ldsodefs.h
  5467. [__ASSUME_AT_SECURE] (HAVE_AUX_SECURE): Define it.
  5468. * sysdeps/unix/sysv/linux/kernel-features.h
  5469. [__LINUX_KERNEL_VERSION >= 132426] (__ASSUME_AT_SECURE): Define it.
  5470. 2003-06-26 Ulrich Drepper <drepper@redhat.com>
  5471. * io/test-utime.c: If _STATBUF_ST_NSEC is defined, adjust lower
  5472. boundary test to take rounding of nanoseconds into account.
  5473. * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_NSEC.
  5474. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  5475. * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
  5476. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  5477. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  5478. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  5479. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  5480. 2003-06-26 Andreas Schwab <schwab@suse.de>
  5481. * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
  5482. * sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
  5483. * sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.
  5484. 2003-06-17 Thorsten Kukuk <kukuk@suse.de>
  5485. * nis/Makefile: Remove NIS/NIS+ files from nss_compat module.
  5486. * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions,
  5487. dlopen corresponding NSS module instead.
  5488. * nis/nss_compat/compat-pwd.c: Likewise.
  5489. * nis/nss_compat/compat-spwd.c: Likewise.
  5490. * nis/nss_compat/compat-initgroups.c: Disabled for now.
  5491. * nss/Versions: Export __nss_lookup_function.
  5492. 2003-06-19 Daniel Jacobowitz <drow@mvista.com>
  5493. * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features
  5494. for the SH architecture.
  5495. 2003-06-25 Thorsten Kukuk <kukuk@suse.de>
  5496. * csu/Makefile: Use CPPFLAGS to find correct linux/version.h.
  5497. 2003-06-25 Andreas Jaeger <aj@suse.de>
  5498. * stdlib/tst-strtod.c (main): Declare constant long double as
  5499. suggested by Jakub Jelinek and Andreas Schwab.
  5500. * posix/tst-nanosleep.c: Include <time.h> for nanosleep
  5501. declaration.
  5502. * stdio-common/tst-fphex.c: Fix format string.
  5503. * posix/transbug.c: Include <string.h> for memset and strlen
  5504. declarations.
  5505. * stdio-common/tst-sprintf.c: Include <stdlib.h> for free declaration.
  5506. * stdlib/tst-strtod.c (main): Pass long double value.
  5507. * test-skeleton.c: Include <time.h> for nanosleep declaration.
  5508. 2003-06-25 Ulrich Drepper <drepper@redhat.com>
  5509. * include/time.h: Don't define CLOCK_IDFIELD_SIZE if _ISOMAC is
  5510. defined.
  5511. 2003-06-11 Jakub Jelinek <jakub@redhat.com>
  5512. * elf/Versions (libc): Add _dl_open_hook@GLIBC_PRIVATE.
  5513. * elf/dl-libc.c (struct dl_open_hook): New.
  5514. (_dl_open_hook): New variable.
  5515. (do_dlsym_private): New function.
  5516. (__libc_dlopen_mode) [!SHARED]: Lookup _dl_open_hook@GLIBC_PRIVATE
  5517. and initialize it if found.
  5518. (__libc_dlopen_mode) [SHARED]: If _dl_open_hook is non-NULL,
  5519. call dlopen_mode hook.
  5520. (__libc_dlsym) [SHARED]: If _dl_open_hook is non-NULL,
  5521. call dlsym hook.
  5522. (__libc_dlclose) [SHARED]: If _dl_open_hook is non-NULL,
  5523. call dlclose hook.
  5524. 2003-06-25 Ulrich Drepper <drepper@redhat.com>
  5525. * sysdeps/unix/sysv/linux/cris/sysdep.h (INLINE_SYSCALL): Cast
  5526. result to long int so that extensions to long long int work.
  5527. Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.
  5528. 2003-06-19 Jakub Jelinek <jakub@redhat.com>
  5529. * elf/ldconfig.c (main): Use add_system_dir instead of add_dir.
  5530. * sysdeps/generic/dl-cache.h (add_system_dir): Define.
  5531. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: Include sparc
  5532. dl-cache.h.
  5533. * sysdeps/unix/sysv/linux/s390/dl-cache.h: New file.
  5534. * sysdeps/unix/sysv/linux/mips/dl-cache.h: New file.
  5535. * sysdeps/unix/sysv/linux/powerpc/dl-cache.h: New file.
  5536. * sysdeps/unix/sysv/linux/sparc/dl-cache.h: New file.
  5537. 2003-06-19 Jakub Jelinek <jakub@redhat.com>
  5538. * test-skeleton.c (timeout_handler): If waitpid returned 0,
  5539. retry once after a second. If killed == 0, assume
  5540. WTERMSIG (status) == SIGKILL.
  5541. 2003-06-18 Roland McGrath <roland@redhat.com>
  5542. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Catch uninitialized
  5543. elements in the table instead of printing an empty name string.
  5544. 2003-06-05 Roland McGrath <roland@redhat.com>
  5545. * elf/elf.h (PT_GNU_STACK): New macro.
  5546. 2003-06-24 Ulrich Drepper <drepper@redhat.com>
  5547. * include/time.h: Define CLOCK_IDFIELD_SIZE.
  5548. * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs.
  5549. * sysdeps/unix/clock_gettime.c: Likewise.
  5550. * sysdeps/unix/clock_settime.c: Likewise.
  5551. * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new
  5552. clock id for thread CPU clocks.
  5553. * sysdeps/unix/sysv/linux/fstatfs64.c (__fstatfs64): Add support
  5554. for the fstatfs64 syscall.
  5555. * sysdeps/unix/sysv/linux/statfs64.c (__statfs64): Add support for
  5556. the statfs64 syscall.
  5557. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  5558. __ASSUME_STATFS64 appropriately.
  5559. * sysdeps/unix/sysv/linux/internal_statvfs.c: Use f_frsize field
  5560. from statfs structure if it has been filled in.
  5561. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_frsize
  5562. field.
  5563. (struct statfs64): Likewise.
  5564. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: Likewise.
  5565. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
  5566. 2003-06-24 Richard Henderson <rth@redhat.com>
  5567. * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
  5568. the 64-bit syscall name.
  5569. * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
  5570. * sysdeps/alpha/fpu/bits/mathinline.h: Honor
  5571. __LIBC_INTERNAL_MATH_INLINES. Implement __signbitf, __signbit.
  5572. * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
  5573. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
  5574. libc_hidden_def.
  5575. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
  5576. * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
  5577. on them.
  5578. * sysdeps/alpha/bits/atomic.h: New file.
  5579. 2003-06-24 Andreas Schwab <schwab@suse.de>
  5580. * sysdeps/m68k/fpu/libm-test-ulps: Update.
  5581. 2003-06-24 Andreas Jaeger <aj@suse.de>
  5582. * sysdeps/unix/sysv/linux/x86_64/stat.h (_STAT_VER_LINUX): Avoid
  5583. redeclaration with 32-bit code.
  5584. 2003-05-19 Ed Connell <ed.connell@sas.com>
  5585. * sysdeps/unix/sysv/linux/i386/getcontext.S (getcontext): Retain
  5586. floating point mask.
  5587. * sysdeps/i386/fpu/fegetenv.c (fegetenv): Likewise.
  5588. 2003-06-23 Ulrich Drepper <drepper@redhat.com>
  5589. * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex,
  5590. __aio_enqueue_request, __aio_find_req, __aio_find_req_fd,
  5591. __aio_free_request, __aio_notify, and __aio_sigqueue as hidden.
  5592. * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result
  5593. of pthread_cond_wait if there was an error. Use pthread_cleanup_*
  5594. instead of __libc_cleanup_region_*.
  5595. 2003-06-20 Richard Henderson <rth@redhat.com>
  5596. * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
  5597. * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
  5598. 2003-06-20 Richard Henderson <rth@redhat.com>
  5599. * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
  5600. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
  5601. Unset for alpha.
  5602. (__ASSUME_TIMEVAL64): Set for alpha.
  5603. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
  5604. adjtimex, osf_sigprocmask, old_adjtimex.
  5605. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
  5606. __ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable.
  5607. * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
  5608. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
  5609. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
  5610. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
  5611. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
  5612. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
  5613. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
  5614. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
  5615. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
  5616. PIC code sequence.
  5617. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
  5618. * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
  5619. * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
  5620. * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
  5621. * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
  5622. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
  5623. sys_ustat, sys_mknod, adjtimex, old_adjtimex.
  5624. * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
  5625. defer to __syscall_name; error for rt_sigaction.
  5626. * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.
  5627. 2003-06-18 Ulrich Drepper <drepper@redhat.com>
  5628. * malloc/malloc.c (public_mALLINFo): Initialize malloc if it
  5629. hasn't happened yet.
  5630. * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
  5631. Fix completely broken implementation. The second parameter is of
  5632. type struct ucontext*.
  5633. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always
  5634. inline.
  5635. * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash.
  5636. * sysdeps/generic/dl-hash.h: Likewise.
  5637. * sysdeps/generic/memcmp.c: Remove inline from
  5638. memcmp_common_alignment and memcmp_not_common_alignment definition.
  5639. * intl/localealias.c (read_alias_file): Determine whether line is
  5640. read incompletely early, before we modify the line.
  5641. 2003-06-17 Jakub Jelinek <jakub@redhat.com>
  5642. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela)
  5643. <case R_PPC64_DTPREL64>: Don't segfault on undefined symbols.
  5644. 2003-06-17 Paul Mackerras <paulus@samba.org>
  5645. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: New file.
  5646. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: New file.
  5647. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: New file.
  5648. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: New file.
  5649. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: New file.
  5650. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Adjust.
  5651. 2003-06-17 Jakub Jelinek <jakub@redhat.com>
  5652. * posix/regcomp.c (build_word_op): Use alnum instead of alpha class.
  5653. 2003-06-17 Ulrich Drepper <drepper@redhat.com>
  5654. * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): nanosleep
  5655. takes care of enabling cancellation.
  5656. * sysdeps/pthread/aio_suspend.c (aio_suspend): Make aio_suspend
  5657. cancelable. It's not correct to disable cancellation. Instead of
  5658. a cleanup handler.
  5659. * sysdeps/unix/sysv/linux/sigtimedwait.c: If SIGCANCEL is defined
  5660. and part of the incoming set, create a temporary set without this
  5661. signal.
  5662. * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
  5663. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
  5664. * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before
  5665. returning because seconds==0. Add __builtin_expect.
  5666. 2003-06-16 Ulrich Drepper <drepper@redhat.com>
  5667. * sysdeps/unix/sysv/linux/i386/socket.S: Add unwind information.
  5668. * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Fix type of result
  5669. variable.
  5670. 2003-06-16 Thorsten Kukuk <kukuk@suse.de>
  5671. * include/libc-symbols.h: Add static_link_warning macro.
  5672. * grp/initgroups.c: Print linker warning if this function
  5673. is called in a static linked binary.
  5674. * nss/getXXbyYY.c: Likewise.
  5675. * nss/getXXbyYY_r.c: Likewise.
  5676. * nss/getXXent.c: Likewise.
  5677. * nss/getXXent_r.c: Likewise.
  5678. * sysdeps/posix/getaddrinfo.c: Likewise.
  5679. 2003-06-16 Bruno Haible <bruno@clisp.org>
  5680. * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15,
  5681. LATIN-9.
  5682. (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16.
  5683. (IBM1047): Add alias IBM-1047.
  5684. (GBK): Add aliases MS936, WINDOWS-936.
  5685. 2003-06-16 Jakub Jelinek <jakub@redhat.com>
  5686. * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if
  5687. defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64.
  5688. (__xstat64_conv): Change xstat_conv to __xstat_conv.
  5689. 2003-06-16 Ulrich Drepper <drepper@redhat.com>
  5690. * locale/iso-639.def: Update from current official ISO 639.
  5691. * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed.
  5692. 2003-06-15 Andreas Jaeger <aj@suse.de>
  5693. * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting
  5694. of MXCSR.
  5695. * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
  5696. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
  5697. Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
  5698. * math/tgmath.h (carg): Handle real arguments.
  5699. (conj): Likewise.
  5700. (cproj): Likewise.
  5701. (cimag): Likewise.
  5702. (creal): Likewise.
  5703. * math/Makefile (CFLAGS-test-tgmath-ret.c): New.
  5704. (tests): Add test-tgmath-ret.
  5705. * math/test-tgmath-ret.c: New file.
  5706. * math/tgmath.h (ilogb): Return always an int.
  5707. 2003-06-16 Ulrich Drepper <drepper@redhat.com>
  5708. * elf/rtld.c (dl_main): Use l_map_start not l_addr in Phdr
  5709. computation so that prelinking works.
  5710. 2003-06-15 Ulrich Drepper <drepper@redhat.com>
  5711. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Don't skip dynamic
  5712. linker's map.
  5713. * elf/rtld.c (dl_main): Initialize l_phdr and l_phnum of of the
  5714. dynamic linker's map.
  5715. Fix cancellation point handling wrt exception based cleanup.
  5716. * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions.
  5717. * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c
  5718. with exceptions.
  5719. * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c,
  5720. sleep.c, wait.c, waitid.c, and waitpid.c with exceptions.
  5721. * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with
  5722. exceptions.
  5723. * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c,
  5724. sigwait.c, and sigwaitinfo.c with exceptions.
  5725. * stdlib/Makefile: Compile system.c with exceptions.
  5726. * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions.
  5727. * termios/Makefile: Compile tcdrain.c with exceptions.
  5728. * sysdeps/generic/lockf.c: Add comment explaining the cancellation
  5729. situation.
  5730. * sysdeps/generic/pselect.c: Likewise.
  5731. * sysdeps/posix/sigpause.c: Likewise.
  5732. * sysdeps/posix/system.c: Likewise.
  5733. * sysdeps/posix/waitid.c: Likewise.
  5734. * sysdeps/unix/sysv/linux/sleep.c: Likewise.
  5735. * sysdeps/unix/sysv/linux/usleep.c: Likewise.
  5736. * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of
  5737. INTERNAL_SYSCALL to not use push inside asm statement so that
  5738. unwind info is correct around the syscall.
  5739. * sysdeps/unix/clock_nanosleep.c: Add cancellation support.
  5740. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
  5741. 2003-06-15 Andreas Jaeger <aj@suse.de>
  5742. * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
  5743. Add CFI directives.
  5744. 2003-06-15 Guido Guenther <agx@sigxcpu.org>
  5745. * sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
  5746. create $(objpfx).
  5747. 2003-06-14 Ulrich Drepper <drepper@redhat.com>
  5748. * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
  5749. not close.
  5750. * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
  5751. * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
  5752. definition.
  5753. * inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADN): Define.
  5754. * inet/netinet/in.h: Add prototypes for inet6_option_* functions.
  5755. * inet/Makefile (routines): Add inet6_option.
  5756. * inet/inet6_option.c: New file.
  5757. * inet/Versions [GLIBC_2.3.3] (libc): Add inet6_option_space,
  5758. inet6_option_init, inet6_option_append, inet6_option_alloc,
  5759. inet6_option_next, and inet6_option_find.
  5760. 2003-06-13 Ulrich Drepper <drepper@redhat.com>
  5761. * inet/netinet/ip6.h (struct ip6_ext): Define.
  5762. * sysdeps/unix/sysv/linux/sys/param.h (howmany): Optimize for gcc.
  5763. Fixing gcc 3.3 warnings, part II.
  5764. * argp/argp-help.c (hol_entry_long_iterate): Always inline.
  5765. * elf/dl-load.c (cache_rpath): Don't inline.
  5766. * iconvdata/cns11642l2.h: Always inline all functions.
  5767. * iconvdata/iso-ir-165.h: Likewise.
  5768. * locale/Makefile (aux): Add coll-lookup.
  5769. * locale/coll-lookup.c: New file.
  5770. * locale/coll-lookup.h (collidx_table_lookup): Do not define here.
  5771. (collseq_table_lookup): Likewise.
  5772. * locale/weightwc.h: Adjust collidx_table_lookup calls for name change.
  5773. * posix/fnmatch_loop.c: Adjust collseq_table_lookup calls for name
  5774. change.
  5775. * posix/regcomp.c: Likewise.
  5776. * posix/regexec.c: Likewise.
  5777. * locale/programs/3level.h (*_get): Always inline.
  5778. * locale/programs/locfile.h: Move definition of handle_copy to...
  5779. * locale/programs/locfile.c: ...here.
  5780. * locale/programs/ld-collate.c (obstack_int32_grow): Always inline.
  5781. (obstack_int32_grow_fast): Likewise.
  5782. (utf8_encode): Likewise.
  5783. (find_element): Avoid aliasing problems.
  5784. (insert_value): Likewise.
  5785. (collate_read): Likewise.
  5786. * nss/getent.c (print_hosts): Don't inline
  5787. (print_networks): Likewise.
  5788. (print_shadow): Likewise.
  5789. (build_doc): Likewise.
  5790. * nss/nss_files/files-parse.c [ENTDATA] (parser_stclass): Don't
  5791. inline.
  5792. * posix/regcomp.c (re_set_fastmap): Always inline.
  5793. (seek_collating_symbol_entry): Likewise.
  5794. (lookup_collation_sequence_value): Likewise.
  5795. (build_range_exp): Likewise.
  5796. (build_collating_symbol): Likewise.
  5797. * posix/regexec.c (acquire_init_state_context): Don't inline.
  5798. (clean_state_log_if_need): Likewise.
  5799. * resolv/res_send.c (eConsIovec): Rewrite to not return struct and
  5800. adjust all callers.
  5801. (evConsTime): Likewise.
  5802. (evAddTime): Likewise.
  5803. (evSubTime): Likewise.
  5804. (evNowTime): Likewise.
  5805. (evTimeSpec): Removed.
  5806. (__libc_res_nsend): Avoid aliasing problem.
  5807. * sysdeps/unix/sysv/linux/ifreq.h: Move old_siocgifconf definition to..
  5808. * sysdeps/unix/sysv/linux/ifreq.c: ...here.
  5809. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_string_hwcap):
  5810. Always inline.
  5811. (_dl_string_platform): Likewise.
  5812. * wctype/wchar-lookup.h (wctype_table_lookup): Always inline.
  5813. (wcwidth_table_lookup): Likewise.
  5814. (wctrans_table_lookup): Likewise.
  5815. * sysdeps/unix/sysv/linux/sys/epoll.h: Include <stdint.h>.
  5816. 2003-06-12 Ulrich Drepper <drepper@redhat.com>
  5817. * wcsmbs/wchar.h: Define wint_t in std namespace, too [PR libc/5034].
  5818. 2003-05-29 Jim Meyering <jim@meyering.net>
  5819. * time/strftime.c (my_strftime) [!defined _NL_CURRENT
  5820. && HAVE_STRFTIME]: Use underlying_strftime for %r.
  5821. Suggested by Daniel Yacob <locales@geez.org>.
  5822. 2003-06-12 Steven Munroe <sjmunroe@us.ibm.com>
  5823. * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace
  5824. @got notation with @toc.
  5825. * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise.
  5826. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise.
  5827. 2003-06-12 Ulrich Drepper <drepper@redhat.com>
  5828. * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date also
  5829. if only PF_INET address is needed.
  5830. * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
  5831. case of an error.
  5832. * scripts/config.guess: Update from upstream version.
  5833. * scripts/config.sub: Likewise.
  5834. 2003-06-12 Jakub Jelinek <jakub@redhat.com>
  5835. * locale/programs/ld-time.c (time_output): Also copy the era format,
  5836. not only the name.
  5837. 2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
  5838. * posix/transbug.c (run_test): Return 1 for failure.
  5839. (do_test): Compare only if run_test is successful.
  5840. 2003-06-12 Simon Josefsson <jas@extundo.com>
  5841. * argp/argp.h [!__THROW]: Define if undefined.
  5842. 2003-06-12 Ulrich Drepper <drepper@redhat.com>
  5843. * sysdeps/unix/sysv/linux/cris/sysdep.h: Fix handling of syscalls with
  5844. more than four parameters.
  5845. Patch by Uwe Reimann <libc-alpha@pulsar.homelinux.net>.
  5846. 2003-06-12 Jakub Jelinek <jakub@redhat.com>
  5847. * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
  5848. * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
  5849. * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: New file.
  5850. * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h.
  5851. 2003-06-12 Roland McGrath <roland@redhat.com>
  5852. * Makerules ($(objpfx)stubs): Rewrite sed magic.
  5853. 2003-02-28 Isamu Hasegawa <isamu@yamato.ibm.com>
  5854. * posix/regcomp.c (parse_expression): Deliver translation to
  5855. build_word_op, and build_charclass.
  5856. (build_charclass): Apply translation for character classes too.
  5857. (build_word_op): Deliver translation to build_charclass.
  5858. * posix/transbug.c: New file.
  5859. * posix/Makefile (tests): Add transbug.
  5860. 2003-06-04 Paolo Bonzini <bonzini@gnu.org>
  5861. * posix/regexec.c (group_nodes_into_DFAstates): Check for
  5862. NEXT_ENDBUF_CONSTRAINT. Move check for constraints which do a
  5863. 'continue' before the others.
  5864. 2003-06-11 Ulrich Drepper <drepper@redhat.com>
  5865. * dirent/scandir.c (SCANDIR): Reset errno after calling selector
  5866. function [PR libc/5045].
  5867. * sysdeps/i386/bits/byteswap.h (__bswap_32): Use bswap instruction
  5868. also for P4.
  5869. * time/tzfile.c: Add a couple of __builtin_expect.
  5870. Remove warnings gcc 3.3 shows.
  5871. * argp/argp-help.c (hol_entry_short_iterate): Don't inline.
  5872. * elf/dl-load.c (fillin_rpath): Likewise.
  5873. (add_path): Likewise.
  5874. * elf/dl-version.c (find_needed): Always inline.
  5875. * elf/do-lookup.c (FCT): Don't inline.
  5876. * iconv/Makefile: Extend vpath to intl subdir.
  5877. (iconvconfig-modules): Add hash-string.
  5878. * iconv/gconv_charset.h (strip): Don't inline.
  5879. (upstr): Always inline.
  5880. Move __gconv_compare_alias prototype to...
  5881. * iconv/gconv_int.h: ...here.
  5882. * iconv/gconv_db.c: Don't include gconv_charset.h.
  5883. * iconv/gconv_conf.c (add_alias): Don't inline.
  5884. (insert_module): Likewise.
  5885. * iconv/gconv_simple.c (internal_ucs4_loop): Always inline.
  5886. (internal_ucs4_loop_unaligned): Likewise.
  5887. (internal_ucs4_loop_single): Likewise.
  5888. (ucs4_internal_loop): Likewise.
  5889. (ucs4_internal_loop_unaligned): Likewise.
  5890. (ucs4_internal_loop_single): Likewise.
  5891. (internal_ucs4le_loop): Always inline.
  5892. (internal_ucs4le_loop_unaligned): Likewise.
  5893. (internal_ucs4le_loop_single): Likewise.
  5894. (ucs4le_internal_loop): Likewise.
  5895. (ucs4le_internal_loop_unaligned): Likewise.
  5896. (ucs4le_internal_loop_single): Likewise.
  5897. * iconv/loop.c: Always inline the defined functions.
  5898. * iconvdata/cns11642.h: Likewise.
  5899. * iconvdata/cns11642l1.h: Likewise.
  5900. * iconvdata/euc-kr.c: Likewise.
  5901. * iconvdata/gb2312.h: Likewise.
  5902. * iconvdata/jis0201.h: Likewise.
  5903. * iconvdata/jis0208.h: Likewise.
  5904. * iconvdata/jis0212.h: Likewise.
  5905. * iconvdata/jisx0213.h: Likewise.
  5906. * iconvdata/ksc5601.h: Likewise.
  5907. * iconvdata/utf-7.c (base64): Don't inline.
  5908. * include/libc-symbols.h (symbol_set_first_element): Add cast
  5909. (symbol_set_end_p): Likewise.
  5910. * include/set-hooks (RUN_HOOK): Likewise.
  5911. * inet/Makefile (aux): Add ifreq.
  5912. * intl/Makefile (aux): Add some entries from routines. Add
  5913. hash-string.
  5914. * intl/hash-string.c: New file.
  5915. * intl/hash-string.h: Remove hash_string definition. Declare
  5916. __hash_string.
  5917. * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller.
  5918. * iconv/iconvconfig.c (new_name): Likewise.
  5919. * intl/dcigettext.c (_nl_find_msg): Likewise.
  5920. * intl/loadmsgcat.c (_nl_load_domain): Likewise.
  5921. * io/ftw.c (open_dir_stream): Always inline.
  5922. (process_entry): Don't inline.
  5923. * locale/findlocale.c: Include gconv_int.h.
  5924. * locale/setlocale.c (new_composite_name): Don't inline.
  5925. * locale/weight.h (findidx): Always inline.
  5926. * locale/weightwc.h (findidx): Likewise.
  5927. * locale/programs/linereader.c (lr_ignore_rest): Define here.
  5928. * locale/programs/linereader.h (lr_ignore_rest): Don't define here,
  5929. just declare it.
  5930. (lr_getc): Always inline.
  5931. (lr_ungetc): Likewise.
  5932. * nss/nss_files/files-parse.c (parse_list): Likewise.
  5933. * stdio-common/Makefile (aux): Add printf-parsemb and
  5934. printf-parsewc.
  5935. * stdio-common/_itoa.h (_itoa_word): Always inline.
  5936. (_fitoa_word, _fitoa): Don't define here, only declare.
  5937. * stdio-common/_itoa.c (_iftoa_word): Add here.
  5938. (_fitoa): Likewise.
  5939. * stdio-common/_itowa.h (_itowa_word): Always inline.
  5940. * stdio-common/printf-parse.h (read_int): Don't inline.
  5941. (find_spec): Don't define.
  5942. Declare __find_specmb and __find_specwc.
  5943. (parse_one_spec): Don't define.
  5944. Declare __parse_one_specmb and __parse_one_specwc.
  5945. * stdio-common/printf-parsemb.c: New file.
  5946. * stdio-common/printf-parsewc.c: New file.
  5947. * stdio-common/vfprintf.c: Update calls to find_spec and
  5948. parse_one_spec for new names.
  5949. * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT.
  5950. * stdlib/Makefile (aux): Add grouping and groupingwc.
  5951. * stdlib/grouping.c: New file.
  5952. * stdlib/groupingwc.c: New file.
  5953. * stdlib/grouping.h (correctly_grouped_prefix): Don't define here.
  5954. Just prototype.
  5955. * stdlib/rpmatch.c (try): Don't inline.
  5956. * stdlib/strtod.c (round_and_return): Don't line.
  5957. (str_to_mpn): Likewise.
  5958. (__mpn_lshift_1): Always inline. Optimize only for constant count.
  5959. Adjust for name change of correctly_grouped_prefix.
  5960. * sysdeps/generic/strtol.c: Adjust for name change of
  5961. correctly_grouped_prefix.
  5962. * string/strxfrm.c (utf8_encode): Don't inline.
  5963. * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp.
  5964. * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp.
  5965. * sysdeps/generic/ifreq.c: New file.
  5966. * sysdeps/unix/sysv/linux/ifreq.c: New file.
  5967. * sysdeps/generic/ifreq.h (__ifreq): Only declare here.
  5968. * sysdeps/unix/sysv/linux/ifreq.h: Likewise.
  5969. * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline.
  5970. * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline.
  5971. (fde_split): Likewise.
  5972. (fde_merge): Likewise.
  5973. (end_fde_sort): Likewise.
  5974. (init_object): Likewise.
  5975. (binary_search_unencoded_fdes): Likewise.
  5976. (binary_search_single_encoding_fdes): Likewise.
  5977. (binary_search_mixed_encoding_fdes): Likewise.
  5978. * sysdeps/generic/wordexp.c (w_addchar): Don't inline.
  5979. * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline.
  5980. * sysdeps/posix/sprofil.c (profil_count): Don't inline.
  5981. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  5982. Add xstatconv.
  5983. * sysdeps/unix/sysv/linux/xstatconv.h: New file.
  5984. * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function.
  5985. Export them. Prepend __ to name.
  5986. * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h.
  5987. * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of
  5988. conversion functions.
  5989. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
  5990. * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
  5991. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  5992. * sysdeps/unix/sysv/linux/xstat.c: Likewise.
  5993. * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
  5994. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
  5995. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
  5996. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
  5997. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max,
  5998. __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended
  5999. to name. Change callers.
  6000. * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max,
  6001. __statfs_filesize_max, __statfs_symlinks): Don't define here, just
  6002. declare.
  6003. * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers.
  6004. * time/tzfile.c (decode): Always inline.
  6005. * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*.
  6006. Remove cast in tomb function call.
  6007. * wcsmbs/wcsrtombs.c Likewise.
  6008. * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in
  6009. tomb function call.
  6010. 2003-06-10 Ulrich Drepper <drepper@redhat.com>
  6011. * po/zh_CN.po: Update from translation team.
  6012. 2003-06-10 Jakub Jelinek <jakub@redhat.com>
  6013. * sysdeps/unix/sysv/linux/bits/in.h (IPV6_V6ONLY, IPV6_JOIN_ANYCAST,
  6014. IPV6_LEAVE_ANYCAST, IPV6_IPSEC_POLICY, IPV6_XFRM_POLICY): Define.
  6015. 2003-06-10 Ulrich Drepper <drepper@redhat.com>
  6016. * inet/Makefile (aux): Add check_pf.
  6017. * include/ifaddrs.h: Add prototype for __check_pf.
  6018. * sysdeps/generic/check_pf.c: New file.
  6019. * sysdeps/unix/sysv/linux/check_pf.c: New file.
  6020. * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed
  6021. from no_netlink_support. Export.
  6022. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs,
  6023. call __check_pf.
  6024. * sysdeps/generic/ifaddrs.h: Add libc_hidden_def.
  6025. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory
  6026. from getifaddr calls.
  6027. 2003-06-09 Jakub Jelinek <jakub@redhat.com>
  6028. * sysdeps/unix/sysv/linux/kernel-features.h
  6029. (__ASSUME_SETRESGID_SYSCALL): Define.
  6030. * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL
  6031. instead of __ASSUME_SETRESUID_SYSCALL.
  6032. (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is
  6033. defined.
  6034. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32
  6035. inline syscall if __NR_setresuid32 is defined.
  6036. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
  6037. __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL.
  6038. * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes.
  6039. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
  6040. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect
  6041. code handling non-existant setresgid32 syscall with
  6042. #if __ASSUME_SETRESGID_SYSCALL == 0.
  6043. 2003-06-09 Andreas Schwab <schwab@suse.de>
  6044. * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d.
  6045. ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on
  6046. $(objpfx)rpc-proto.d.
  6047. (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include
  6048. $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d.
  6049. ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules.
  6050. 2003-06-08 Ulrich Drepper <drepper@redhat.com>
  6051. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Use setresuid32
  6052. syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is
  6053. defined drop compatibility code.
  6054. * sysdeps/unix/sysv/linux/setegid.c (setegid): Use setresgid32
  6055. syscall directly if possible. If __ASSUME_SETRESUID_SYSCALL is
  6056. defined drop compatibility code.
  6057. * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Use
  6058. setresuid32 syscall directly if possible.
  6059. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use
  6060. setresgid32 syscall directly if possible.
  6061. * sysdeps/unix/sysv/linux/i386/setregid.c (__setregid): Make POSIX
  6062. compliant. Don't change sgid.
  6063. * sysdeps/unix/sysv/linux/i386/setreuid.c (__setreuid): Make POSIX
  6064. compliant. Don't change suid.
  6065. * config.h.in: Add have-forced-unwind.
  6066. * configure.in: Add AC_SUBST(libc_cv_forced_unwind).
  6067. 2003-06-07 Ulrich Drepper <drepper@redhat.com>
  6068. * test-skeleton.c (main): If EXPECTED_STATUS is defined check that
  6069. returned status from child matches.
  6070. * Makeconfig (gnulib): Add -lgcc_eh once again.
  6071. 2003-06-06 Ulrich Drepper <drepper@redhat.com>
  6072. * test-skeleton.c (main): Use TEMP_FAILURE_RETRY with waitpid.
  6073. * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
  6074. %edx for first parameter. This means no pushl and therefore the
  6075. unwind info isn't screwed up.
  6076. 2003-06-04 Richard Henderson <rth@redhat.com>
  6077. * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
  6078. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
  6079. * sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation.
  6080. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
  6081. entry sequence and explicit relocs. Add unwind info for sigreturn
  6082. and rt_sigreturn.
  6083. * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
  6084. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
  6085. Annotate some parameters.
  6086. * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
  6087. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
  6088. * include/libc-symbols.h (symbol_set_declare): Use arrays
  6089. of unspecified size.
  6090. 2003-06-04 Jakub Jelinek <jakub@redhat.com>
  6091. * config.make.in (ASFLAGS-config): New.
  6092. * Makeconfig (ASFLAGS): Append $(ASFLAGS-config).
  6093. * configure.in (libc_cv_as_noexecstack): New check.
  6094. (ASFLAGS_config): Substitute.
  6095. 2003-06-04 Jakub Jelinek <jakub@redhat.com>
  6096. * sysdeps/i386/fpu/bits/mathinline.h (log1p, asinh, acosh, atanh,
  6097. hypot, logb): Protect with #ifdef __FAST_MATH__.
  6098. 2003-06-04 Thorsten Kukuk <kukuk@suse.de>
  6099. * sysdeps/i386/fpu/bits/mathinline.h (ldexpf, ldexpl): Protect with
  6100. #ifdef __FAST_MATH__.
  6101. 2003-06-03 Ulrich Drepper <drepper@redhat.com>
  6102. * sysdeps/generic/glob.c [HAVE_D_TYPE] (glob_in_dir): Also allow
  6103. DT_LNK entries if GLOB_ONLYDIR is set [PR libc/5043].
  6104. * posix/globtest.sh: Adjust for this change.
  6105. * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_open): Call getsockname
  6106. to get the actual PID value used in the records passed up.
  6107. (getifaddrs): Don't initialize nh.pid here.
  6108. 2003-06-02 Ulrich Drepper <drepper@redhat.com>
  6109. * sysdeps/unix/sysv/linux/ifaddrs.c (netlink_receive): Minor
  6110. optimization.
  6111. * po/zh_CN.po: Update from translation team.
  6112. * posix/getconf.c (main): Also recognize names without the
  6113. _POSIX_ prefix.
  6114. * elf/Makefile (CFLAGS-dl-lookup.c): Define.
  6115. 2003-06-02 Bernd Schmidt <bernds@redhat.com>
  6116. * sysdeps/i386/fpu/bits/mathinline.h (sqrt, __sqrtl, ldexp,
  6117. ldexpf, ldexpl): Only define if __FAST_MATH__.
  6118. 2003-06-02 Richard C. Bilson <rcbilson@plg.uwaterloo.ca>
  6119. Replace hard-coded offsets into struct sigcontext with generated file.
  6120. * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: New file.
  6121. * sysdeps/unix/sysv/linux/ia64/Makefile
  6122. [$(subdir) = stdlib] (gen-as-const-headers): Add it.
  6123. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: Include it instead of
  6124. defining SC_* macros here.
  6125. 2003-06-02 Jakub Jelinek <jakub@redhat.com>
  6126. * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PID): Remove.
  6127. 2003-06-01 Jakub Jelinek <jakub@redhat.com>
  6128. * sysdeps/i386/dl-machine.h: Include <sysdep.h>.
  6129. 2003-06-01 Ulrich Drepper <drepper@redhat.com>
  6130. * test-skeleton.c (main): Request getopt to not reorder the
  6131. command line.
  6132. * elf/Makefile (CFLAGS-dl-runtime.c): Define.
  6133. * wcsmbs/wcpncpy.c (__wcpncpy): Fix broken implementation to match
  6134. stpncpy.
  6135. 2003-05-31 Ulrich Drepper <drepper@redhat.com>
  6136. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (SA_NOCLDWAIT): Define.
  6137. 2003-05-31 Jakub Jelinek <jakub@redhat.com>
  6138. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_plt_conflict):
  6139. New function.
  6140. (elf_machine_rela) <case R_PPC64_JMP_SLOT>: Avoid
  6141. RESOLVE_CONFLICT_FIND_MAP. If RESOLVE_CONFLICT_FIND_MAP is defined,
  6142. call elf_machine_plt_conflict instead of elf_machine_fixup_plt.
  6143. 2003-05-31 Ulrich Drepper <drepper@redhat.com>
  6144. * sysdeps/i386/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add
  6145. CFI directives.
  6146. * csu/Makefile: Fix Makefile warnings regarding Scrt1.o.
  6147. * libio/fileops.c (_IO_file_open): Don't mark as inline.
  6148. * sysdeps/ia64/elf/initfini.c (gmon_initializer): Mark with
  6149. attribute used.
  6150. 2003-05-30 Ulrich Drepper <drepper@redhat.com>
  6151. * scripts/config.guess: Update from master copy.
  6152. * scripts/config.sub: Likewise.
  6153. 2003-05-30 Guido Guenther <agx@sigxcpu.org>
  6154. * sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
  6155. SETUP_GP64 and friends.
  6156. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
  6157. names in internal_syscall{6,7}.
  6158. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
  6159. * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
  6160. number of syscall arguments.
  6161. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  6162. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  6163. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  6164. 2003-05-30 Andreas Jaeger <aj@suse.de>
  6165. * sysdeps/x86_64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
  6166. Add CFI directives.
  6167. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Add CFI
  6168. directives.
  6169. * sysdeps/generic/sysdep.h: Add CFI_* macros for C files.
  6170. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  6171. Add CFI directives.
  6172. 2003-05-30 Jakub Jelinek <jakub@redhat.com>
  6173. * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with
  6174. SHARED.
  6175. 2003-05-11 Andreas Schwab <schwab@suse.de>
  6176. * Makerules: Always use -MP together with -MD.
  6177. (sed-remove-dotot): Substitute $(..) also at start of line.
  6178. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
  6179. Generated defines with a single compiler call.
  6180. Use $(sed-remove-dotdot).
  6181. * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
  6182. of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
  6183. * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
  6184. Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
  6185. * sysdeps/unix/sysv/linux/mips/Makefile
  6186. ($(objpfx)syscall-%.h): Likewise.
  6187. 2003-05-28 Roland McGrath <roland@redhat.com>
  6188. * malloc/malloc.h [! __GNUC__] (__const): Define if undefined.
  6189. 2003-05-26 Aldy Hernandez <aldyh@redhat.com>
  6190. * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.
  6191. 2003-05-28 Roland McGrath <roland@redhat.com>
  6192. * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
  6193. rt_sigprocmask system call.
  6194. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value.
  6195. From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
  6196. 2003-05-28 Ulrich Drepper <drepper@redhat.com>
  6197. * include/libc-symbols.h: Define hidden attribute for real also if
  6198. LIBC_NONSHARED is defined. Patch by Jakub Jelinek.
  6199. * csu/Makefile: Add rules to build Scrt1.o.
  6200. * sysdeps/i386/elf/start.S: Make code compilable with SHARED.
  6201. * sysdeps/x86_64/elf/start.S: Likewise.
  6202. 2003-05-27 Jakub Jelinek <jakub@redhat.com>
  6203. * stdio-common/vfprintf.c (process_arg, process_string_arg): Use
  6204. pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char.
  6205. * stdio-common/printf-parse.h (union printf_arg): Remove pa_char,
  6206. pa_short_int, pa_u_short_int and pa_float.
  6207. 2003-05-26 Jakub Jelinek <jakub@redhat.com>
  6208. * libio/strops.c (_IO_str_init_static): Change into a wrapper around
  6209. _IO_str_init_static_internal.
  6210. (_IO_str_init_static_internal): Moved from _IO_str_init_static,
  6211. change size argument to _IO_size_t, don't limit sprintf to 64M.
  6212. (_IO_str_init_readonly): Call _IO_str_init_static_internal.
  6213. * libio/wstrops.c (_IO_wstr_init_static): Change size argument to
  6214. _IO_size_t, don't limit swprintf to 256M.
  6215. (_IO_wstr_init_readonly): Remove.
  6216. * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static):
  6217. Adjust prototypes.
  6218. (_IO_wstr_init_readonly): Remove prototype.
  6219. * libio/iovsprintf.c (_IO_vsprintf): Use
  6220. _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static).
  6221. * libio/iovsscanf.c (_IO_vsscanf): Likewise.
  6222. * libio/memstream.c (open_memstream): Likewise.
  6223. * libio/obprintf.c (_IO_obstack_vfprintf): Likewise.
  6224. * libio/vasprintf.c (_IO_vasprintf): Likewise.
  6225. * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
  6226. * stdio-common/tst-sprintf.c (main): Add new test.
  6227. 2003-05-26 Ulrich Drepper <drepper@redhat.com>
  6228. * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some
  6229. other implementation in respect of multiple uses of parameter with
  6230. different types.
  6231. 2003-05-25 Ulrich Drepper <drepper@redhat.com>
  6232. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  6233. __ASSUME_FUTEX_REQUEUE for >= 2.5.70.
  6234. 2003-05-22 Andreas Jaeger <aj@suse.de>
  6235. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI
  6236. directives.
  6237. * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise.
  6238. * sysdeps/x86_64/strtok.S: Likewise.
  6239. 2003-05-20 Guido Guenther <agx@sigxcpu.org>
  6240. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
  6241. to -60 and define SI_TKILL.
  6242. 2003-05-21 H.J. Lu <hongjiu.lu@intel.com>
  6243. * math/test-fenv.c (feexcp_nomask_test): Fix comment.
  6244. (feexcp_mask_test): Likewise.
  6245. 2003-05-21 Ulrich Drepper <drepper@redhat.com>
  6246. * locale/programs/locale.c (main): Fix typo in last patch.
  6247. * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end,
  6248. __init_array_start, __init_array_end, __fini_array_start, and
  6249. __fini_array_end as hidden.
  6250. 2003-05-21 Petter Reinholdtsen <pere@hungry.com>
  6251. * locale/programs/locale.c (main): Report an error if setlocale()
  6252. fails [PR libc/2254].
  6253. 2003-05-21 Jakub Jelinek <jakub@redhat.com>
  6254. * sysdeps/unix/sysv/linux/s390/system.c: New file.
  6255. 2003-05-21 Jakub Jelinek <jakub@redhat.com>
  6256. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0,
  6257. LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
  6258. LOADARGS_6): Don't error if syscall argument is a string literal.
  6259. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0,
  6260. LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5,
  6261. LOADARGS_6): Likewise.
  6262. 2003-05-21 Andreas Jaeger <aj@suse.de>
  6263. * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
  6264. cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register,
  6265. cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define.
  6266. * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives.
  6267. (ENTRY): Likewise.
  6268. (END): Likewise.
  6269. * configure.in: Test for asm cfi directives.
  6270. * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
  6271. 2003-05-17 Andreas Jaeger <aj@suse.de>
  6272. * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
  6273. * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
  6274. 2003-05-16 Ulrich Drepper <drepper@redhat.com>
  6275. * rt/Makefile (tests): Add tst-clock_nanosleep.
  6276. * rt/tst-clock_nanosleep.c: New file.
  6277. * posix/Makefile (tests): Add tst-nanosleep.
  6278. * posix/tst-nanosleep.c: New file.
  6279. * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
  6280. * include/features.h (__USE_XOPEN2K): Define also for
  6281. _POSIX_C_SOURCE>=200112L.
  6282. * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold
  6283. SI_TKILL code into SI_USER.
  6284. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
  6285. * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
  6286. 2003-05-15 Jakub Jelinek <jakub@redhat.com>
  6287. * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow):
  6288. Remove sym argument, always use refsym.
  6289. (__process_machine_rela): Adjust callers.
  6290. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
  6291. Likewise.
  6292. * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow):
  6293. Adjust prototype.
  6294. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
  6295. 2003-05-15 Ulrich Drepper <drepper@redhat.com>
  6296. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo
  6297. (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known
  6298. print numeric values.
  6299. 2003-05-12 Thorsten Kukuk <kukuk@suse.de>
  6300. * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
  6301. 2003-05-14 Andreas Schwab <schwab@suse.de>
  6302. * sysdeps/unix/sysv/linux/ia64/umount.c: New file.
  6303. 2003-05-14 Jakub Jelinek <jakub@redhat.com>
  6304. * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope
  6305. even if no DT_NEEDED is present.
  6306. 2003-05-13 David Mosberger <davidm@hpl.hp.com>
  6307. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from
  6308. 2003-03-27: setjmp is NOT a leaf-routine (due to the call to
  6309. __sigjmp_save) so we can't keep the saved unat value in a scratch
  6310. register (r16). Use loc2 instead.
  6311. 2003-05-13 Ulrich Drepper <drepper@redhat.com>
  6312. * csu/Makefile: Do compile elf-init with PIC flag since in dynamic
  6313. binaries it has to be relocatable.
  6314. * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
  6315. 2003-05-12 Steven Munroe <sjmunroe@us.ibm.com>
  6316. * sysdeps/powerpc/bits/atomic.h
  6317. (__arch_compare_and_exchange_bool_8_rel): Define.
  6318. (__arch_compare_and_exchange_bool_16_rel): Define.
  6319. (__ARCH_REL_INSTR): Define if not already defined.
  6320. (__arch_atomic_exchange_and_add_32): Add "memory" to clobber list.
  6321. (__arch_atomic_decrement_if_positive_32):
  6322. Add "memory" to clobber list.
  6323. (__arch_compare_and_exchange_val_32_acq): Remove release sync.
  6324. (__arch_compare_and_exchange_val_32_rel): Define.
  6325. (__arch_atomic_exchange_32): Remove.
  6326. (__arch_atomic_exchange_32_acq): Define.
  6327. (__arch_atomic_exchange_32_rel): Define.
  6328. (atomic_compare_and_exchange_val_rel): Define.
  6329. (atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms.
  6330. (atomic_exchange_rel): Define.
  6331. * sysdeps/powerpc/powerpc32/bits/atomic.h
  6332. (__arch_compare_and_exchange_bool_32_acq): Remove release sync.
  6333. (__arch_compare_and_exchange_bool_32_rel): Define.
  6334. (__arch_compare_and_exchange_bool_64_rel): Define.
  6335. (__arch_compare_and_exchange_val_64_rel): Define.
  6336. (__arch_atomic_exchange_64): Remove.
  6337. (__arch_atomic_exchange_64_acq): Define.
  6338. (__arch_atomic_exchange_64_rel): Define.
  6339. * sysdeps/powerpc/powerpc64/bits/atomic.h
  6340. (__arch_compare_and_exchange_bool_32_rel): Define.
  6341. (__arch_compare_and_exchange_bool_64_acq): Remove release sync.
  6342. (__arch_compare_and_exchange_bool_64_rel): Define.
  6343. (__arch_compare_and_exchange_val_64_acq): Remove release sync.
  6344. (__arch_compare_and_exchange_val_64_rel): Define.
  6345. (__arch_atomic_exchange_64): Remove.
  6346. (__arch_atomic_exchange_64_acq): Define.
  6347. (__arch_atomic_exchange_64_rel): Define.
  6348. (__arch_atomic_exchange_and_add_64): Add "memory" to clobber list.
  6349. (__arch_atomic_decrement_if_positive_64):
  6350. Add "memory" to clobber list.
  6351. [!UP](__ARCH_REL_INSTR): Define as lwsync.
  6352. 2003-05-11 Andreas Schwab <schwab@suse.de>
  6353. * io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
  6354. 2003-05-11 Ulrich Drepper <drepper@redhat.com>
  6355. * time/tst-strftime.c (do_test): Add tests for - flag.
  6356. 2003-05-11 Jim Meyering <jim@meyering.net>
  6357. * time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
  6358. the space-padded-by-default conversion specifiers, %e, %k, %l.
  6359. 2003-05-11 Andreas Schwab <schwab@suse.de>
  6360. * sysdeps/generic/sched_setaffinity.c: Fix parameter name.
  6361. 2003-05-10 Ulrich Drepper <drepper@redhat.com>
  6362. * sysdeps/generic/bits/sched.h: Define cpu_set_t only if not
  6363. already defined and when really needed.
  6364. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
  6365. 2003-05-09 Thorsten Kukuk <kukuk@suse.de>
  6366. * sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel
  6367. headers, add defines from kernel header, move it from here...
  6368. * inet/netinet/igmp.h: ... to here.
  6369. * inet/Makefile (headers): Add netinet/igmp.h.
  6370. * sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h.
  6371. * sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h.
  6372. 2003-05-10 Ulrich Drepper <drepper@redhat.com>
  6373. * sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL,
  6374. use dummy sigevent structure with SIGEV_NONE [PR libc/5015].
  6375. 2003-05-09 Thorsten Kukuk <kukuk@suse.de>
  6376. * libio/bits/stdio.h: Sync prototypes with libio/stdio.h
  6377. (remove __THROW from possible cancellation points).
  6378. 2003-05-10 Ulrich Drepper <drepper@redhat.com>
  6379. * posix/sched.h (CPU_SETSIZE): Define.
  6380. 2003-05-09 Ulrich Drepper <drepper@redhat.com>
  6381. * Makeconfig (gnulib): Remove -lgcc_eh again.
  6382. * posix/sched.h: Change prototypes of sched_getaffinity and
  6383. sched_setaffinity. Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
  6384. * sysdeps/generic/sched_getaffinity.c: Adjust definition.
  6385. * sysdeps/generic/sched_setaffinity.c: Likewise.
  6386. * sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
  6387. __CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
  6388. __CPU_CLR, and __CPU_ISSET.
  6389. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
  6390. * sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
  6391. * sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.
  6392. * include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
  6393. (atomic_exchange_rel): New #define.
  6394. * sysdeps/ia64/bits/atomic.h: Likewise.
  6395. * sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
  6396. atomic_exchange.
  6397. * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
  6398. * sysdeps/powerpc/bits/atomic.h: Likewise.
  6399. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
  6400. * sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
  6401. * sysdeps/x86_64/bits/atomic.h: Likewise.
  6402. * csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.
  6403. * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.
  6404. 2003-05-08 Ulrich Drepper <drepper@redhat.com>
  6405. * malloc/thread-m.h: Remove special handling of thread_atfork if
  6406. HAVE_register_atfork_malloc is defined.
  6407. 2003-05-07 Andreas Jaeger <aj@suse.de>
  6408. * sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind
  6409. information.
  6410. 2003-05-06 Ulrich Drepper <drepper@redhat.com>
  6411. * libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
  6412. * libio/oldiofopen.c (_IO_old_fopen): Likewise.
  6413. * libio/libioP.h: Declare _IO_old_init.
  6414. * libio/genops.c (_IO_no_init): Split in two. New function
  6415. _IO_old_init.
  6416. 2003-05-05 Ulrich Drepper <drepper@redhat.com>
  6417. * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
  6418. variable.
  6419. (__libc_init_secure): Don't do anything if __libc_enable_secure_decided
  6420. is nonzero.
  6421. * include/unistd.h: Declare __libc_enable_secure_decided.
  6422. * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
  6423. and AT_EGID. If all found, set __libc_enable_secure and
  6424. __libc_enable_secure_decided.
  6425. * sysdeps/generic/libc-start.c [!SHARED]: Call
  6426. __libc_check_standard_fds after __libc_init_first.
  6427. 2003-05-05 Roland McGrath <roland@redhat.com>
  6428. * Makerules (common-before-compile): New variable.
  6429. ($(common-objpfx)%.make): Depend on that instead of $(before-compile).
  6430. ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. Move this rule
  6431. to after all setting of before-compile.
  6432. 2003-05-05 Jakub Jelinek <jakub@redhat.com>
  6433. * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
  6434. __arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type.
  6435. * sysdeps/powerpc/powerpc32/bits/atomic.h
  6436. (__arch_compare_and_exchange_val_64_acq): Likewise.
  6437. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
  6438. (__arch_compare_and_exchange_val_8_acq,
  6439. __arch_compare_and_exchange_val_16_acq,
  6440. __arch_compare_and_exchange_val_64_acq): Likewise.
  6441. * sysdeps/sparc/sparc64/bits/atomic.h
  6442. (__arch_compare_and_exchange_val_8_acq,
  6443. __arch_compare_and_exchange_val_16_acq): Likewise.
  6444. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
  6445. __arch_compare_and_exchange_val_16_acq,
  6446. __arch_compare_and_exchange_val_64_acq): Likewise.
  6447. * sysdeps/unix/sysv/linux/sh/bits/atomic.h
  6448. (__arch_compare_and_exchange_val_64_acq): Likewise.
  6449. * sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut
  6450. up warning.
  6451. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise.
  6452. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
  6453. (INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0):
  6454. Return long instead of int.
  6455. (INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace
  6456. 0xfffff001u with -4095UL.
  6457. 2003-05-05 Andreas Jaeger <aj@suse.de>
  6458. * sysdeps/x86_64/fpu_control.h: New from i386.
  6459. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop):
  6460. Define if not defined.
  6461. * sunrpc/Makefile (generated-dirs): New variable.
  6462. * resolv/Makefile (generated): New variable.
  6463. 2003-05-04 Roland McGrath <roland@redhat.com>
  6464. * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
  6465. Depend on $(before-compile).
  6466. * csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
  6467. pattern rule. The implicit rule could be ruled out when $(objpfx)
  6468. didn't exist at the time of its consideration (ugh!).
  6469. * Makerules (+make-deps): Fix target matching.
  6470. Use $(sed-remove-dotdot).
  6471. 2003-05-03 Ulrich Drepper <drepper@redhat.com>
  6472. * nscd/nscd.c (main): Parse config file right after parsing
  6473. parameters. Then, if get_stats is true, call receive_print_stats.
  6474. Drop parameter from nscd_init call.
  6475. (get_stats): New variable.
  6476. (parse_opt): Set get_stats, don't call receive_print_stats here.
  6477. * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init
  6478. prototype.
  6479. * nscd/connections.c (stat_user, stat_uid): New variables.
  6480. (dbs): Make global.
  6481. (nscd_init): Don't read configuration file here. Drop parameter.
  6482. (handle_request): Cleanup handling of non-database lookup requests.
  6483. * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry.
  6484. Get UID of the specified user. Use xstrdup instead of strdup.
  6485. * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero,
  6486. check stat_user.
  6487. * nscd/Makefile (nscd-modules): Add xstrdup.
  6488. * nscd/nscd.conf: Document stat-user entry.
  6489. 2003-05-03 H.J. Lu <hongjiu.lu@intel.com>
  6490. * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define
  6491. if not defined.
  6492. 2003-04-22 Roland McGrath <roland@redhat.com>
  6493. * elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
  6494. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
  6495. dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
  6496. * elf/dl-support.c: Update defn.
  6497. * sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
  6498. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
  6499. Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
  6500. (_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
  6501. * elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
  6502. set, set up a link_map for the preloaded, prelinked object.
  6503. 2003-05-03 Roland McGrath <roland@redhat.com>
  6504. * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
  6505. * stdio-common/Makefile: ... not here.
  6506. * csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
  6507. * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
  6508. 2003-05-02 Ulrich Drepper <drepper@redhat.com>
  6509. * sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.
  6510. * sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.
  6511. * sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
  6512. comparing ftab elements.
  6513. (_dl_unmap): Fix typo in test.
  6514. (_dl_make_fptr): Fix typos introduced in last change.
  6515. * sysdeps/generic/dl-fptr.c: Put back one optimization from the
  6516. original patch. Use non-exported symbols. Mark translatable
  6517. strings. Pretty printing.
  6518. 2003-05-02 Roland McGrath <roland@redhat.com>
  6519. * Makerules (do-stamp): Do $(make-target-directory).
  6520. 2003-04-07 H.J. Lu <hjl@gnu.org>
  6521. * sysdeps/generic/dl-fptr.c: Modify to remove the lock.
  6522. 2003-04-03 H.J. Lu <hjl@gnu.org>
  6523. * sysdeps/ia64/dl-fptr.c: Moved to ...
  6524. * sysdeps/generic/dl-fptr.c: Here.
  6525. * sysdeps/generic/dl-fptr.h: New.
  6526. * sysdeps/ia64/dl-fptr.h: New.
  6527. * sysdeps/ia64/dl-symaddr.c: Moved to ...
  6528. * sysdeps/generic/dl-symaddr.c: here.
  6529. * sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>.
  6530. (IA64_BOOT_FPTR_TABLE_LEN): Removed.
  6531. (ia64_fdesc): Likewise.
  6532. (ia64_fdesc_table): Likewise.
  6533. (__ia64_make_fptr): Likewise.
  6534. (__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table
  6535. with _dl_boot_fptr_table.
  6536. (elf_machine_runtime_setup): Replace `struct ia64_fdesc' with
  6537. `struct fdesc'.
  6538. (elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.
  6539. 2003-05-01 Roland McGrath <roland@redhat.com>
  6540. * sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].
  6541. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
  6542. * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
  6543. Use $(make-target-directory).
  6544. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
  6545. * Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
  6546. (compile-command.S): Don't use ifndef. Append $(compile-mkdep-flags).
  6547. (compile-command.s, compile-command.c): Likewise.
  6548. ($(objpfx)%.d): All such pattern rules removed.
  6549. ($(+sysdir_pfx)sysd-rules): Don't generate them.
  6550. ($(common-objpfx)dummy.d): Target removed.
  6551. (make-dummy-dep): Variable removed.
  6552. (generate-md5): Likewise.
  6553. (%.d: %.dt): New pattern rule.
  6554. (+depfiles): Use $(wildcard) function to get just existing *.d files
  6555. and .d files for existing *.dt files.
  6556. (common-clean): Remove all *.d and *.dt files.
  6557. (before-compile): Add $(objpfx). when it doesn't exist,
  6558. regardless of $(no_deps).
  6559. * elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
  6560. (rtld-depfiles): Use .os.d instead of .d names.
  6561. Include existing *.d files and .d files for existing *.dt files.
  6562. * Makerules ($(common-objpfx)%.make): Protect with [! subdir].
  6563. Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.
  6564. * sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack.
  6565. Do s-*.d includes only if we have some syscall routines in this subdir.
  6566. * include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of
  6567. @nobits. The former is accepted by gas on any ELF platform.
  6568. 2003-05-01 Ulrich Drepper <drepper@redhat.com>
  6569. * sysdeps/unix/sysv/linux/semtimedop.c: New file.
  6570. * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary.
  6571. 2003-04-29 Andreas Schwab <schwab@suse.de>
  6572. * string/test-strcat.c (do_one_test): Fix attribute name.
  6573. 2003-04-30 Alexandre Oliva <aoliva@redhat.com>
  6574. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
  6575. uc_flags long for all ABIs.
  6576. 2003-04-30 Andreas Jaeger <aj@suse.de>
  6577. * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h
  6578. (DR_CONTROL_RESERVED): Use correct value for 64-bit.
  6579. Reported by Andrew Derrick Balsa <andrebalsa@mailingaddress.org>.
  6580. Add bi-arch support.
  6581. 2003-04-30 Ulrich Drepper <drepper@redhat.com>
  6582. * malloc/malloc.c (mEMALIGn): Define alias __memalign_internal.
  6583. (__posix_memalign): Use __memalign_internal instead of memalign.
  6584. 2003-04-29 Roland McGrath <roland@redhat.com>
  6585. * configure.in: Search for AUTOCONF unconditionally.
  6586. Just don't complain about missing it under --without-cvs.
  6587. * include/libc-symbols.h (__symbol_set_attribute): New macro,
  6588. give hidden for [SHARED] and weak for [! SHARED].
  6589. (symbol_set_declare): Use that. Never need weak_extern these days.
  6590. * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE.
  6591. Depend on $(..)Makerules.
  6592. 2003-04-29 Ulrich Drepper <drepper@redhat.com>
  6593. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Use __ protected
  6594. variants of socket, bind, recvmsg, and sendto.
  6595. * sysdeps/i386/fpu/ftestexcept.c: Also check SSE status word.
  6596. * include/signal.h: Use libc_hidden_proto for sigaddset and sigdelset.
  6597. * signal/sigaddset.c: Add libc_hidden_def.
  6598. * signal/sigdelset.c: Likewise.
  6599. 2003-04-29 Jakub Jelinek <jakub@redhat.com>
  6600. * sysdeps/i386/i486/string-inlines.c (__memcpy_g, __strchr_g): Move
  6601. to the end of the file.
  6602. * configure.in: Change __oline__ to $LINENO.
  6603. (HAVE_BUILTIN_REDIRECTION): New check.
  6604. * config.h.in (HAVE_BUILTIN_REDIRECTION): Add.
  6605. * include/libc-symbols.h (libc_hidden_builtin_proto,
  6606. libc_hidden_builtin_def, libc_hidden_builtin_weak,
  6607. libc_hidden_builtin_ver): Define.
  6608. * include/string.h (memchr, memcpy, memmove, memset, strcat, strchr,
  6609. strcmp, strcpy, strcspn, strlen, strncmp, strncpy, strpbrk, strrchr,
  6610. strspn, strstr): Add libc_hidden_builtin_proto.
  6611. * intl/plural.y: Include string.h.
  6612. * sysdeps/alpha/alphaev6/memchr.S (memchr): Add
  6613. libc_hidden_builtin_def.
  6614. * sysdeps/alpha/alphaev6/memcpy.S (memcpy): Likewise.
  6615. * sysdeps/alpha/alphaev6/memset.S (memset): Likewise.
  6616. * sysdeps/alpha/alphaev67/strcat.S (strcat): Likewise.
  6617. * sysdeps/alpha/alphaev67/strchr.S (strchr): Likewise.
  6618. * sysdeps/alpha/alphaev67/strlen.S (strlen): Likewise.
  6619. * sysdeps/alpha/alphaev67/strrchr.S (strrchr): Likewise.
  6620. * sysdeps/alpha/memchr.S (memchr): Likewise.
  6621. * sysdeps/alpha/memset.S (memset): Likewise.
  6622. * sysdeps/alpha/strcat.S (strcat): Likewise.
  6623. * sysdeps/alpha/strchr.S (strchr): Likewise.
  6624. * sysdeps/alpha/strcmp.S (strcmp): Likewise.
  6625. * sysdeps/alpha/strcpy.S (strcpy): Likewise.
  6626. * sysdeps/alpha/strlen.S (strlen): Likewise.
  6627. * sysdeps/alpha/strncmp.S (strncmp): Likewise.
  6628. * sysdeps/alpha/strncpy.S (strncpy): Likewise.
  6629. * sysdeps/alpha/strrchr.S (strrchr): Likewise.
  6630. * sysdeps/arm/memset.S (memset): Likewise.
  6631. * sysdeps/arm/strlen.S (strlen): Likewise.
  6632. * sysdeps/generic/memchr.c (memchr): Likewise.
  6633. * sysdeps/generic/memcpy.c (memcpy): Likewise.
  6634. * sysdeps/generic/memmove.c (memmove): Likewise.
  6635. * sysdeps/generic/memset.c (memset): Likewise.
  6636. * sysdeps/generic/strcat.c (strcat): Likewise.
  6637. * sysdeps/generic/strchr.c (strchr): Likewise.
  6638. * sysdeps/generic/strcmp.c (strcmp): Likewise.
  6639. * sysdeps/generic/strcpy.c (strcpy): Likewise.
  6640. * sysdeps/generic/strcspn.c (strcspn): Likewise.
  6641. * sysdeps/generic/strlen.c (strlen): Likewise.
  6642. * sysdeps/generic/strncmp.c (strncmp): Likewise.
  6643. * sysdeps/generic/strncpy.c (strncpy): Likewise.
  6644. * sysdeps/generic/strpbrk.c (strpbrk): Likewise.
  6645. * sysdeps/generic/strrchr.c (strrchr): Likewise.
  6646. * sysdeps/generic/strspn.c (strspn): Likewise.
  6647. * sysdeps/generic/strstr.c (strstr): Likewise.
  6648. * sysdeps/i386/i486/strcat.S (strcat): Likewise.
  6649. * sysdeps/i386/i486/strlen.S (strlen): Likewise.
  6650. * sysdeps/i386/i586/memcpy.S (memcpy): Likewise.
  6651. * sysdeps/i386/i586/memset.S (memset): Likewise.
  6652. * sysdeps/i386/i586/strchr.S (strchr): Likewise.
  6653. * sysdeps/i386/i586/strcpy.S (strcpy): Likewise.
  6654. * sysdeps/i386/i586/strlen.S (strlen): Likewise.
  6655. * sysdeps/i386/i686/memcpy.S (memcpy): Likewise.
  6656. * sysdeps/i386/i686/memmove.S (memmove): Likewise.
  6657. * sysdeps/i386/i686/memset.S (memset): Likewise.
  6658. * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
  6659. * sysdeps/i386/memchr.S (memchr): Likewise.
  6660. * sysdeps/i386/memset.c (memset): Likewise.
  6661. * sysdeps/i386/strchr.S (strchr): Likewise.
  6662. * sysdeps/i386/strcspn.S (strcspn): Likewise.
  6663. * sysdeps/i386/strlen.c (strlen): Likewise.
  6664. * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
  6665. * sysdeps/i386/strrchr.S (strrchr): Likewise.
  6666. * sysdeps/i386/strspn.S (strspn): Likewise.
  6667. * sysdeps/ia64/memchr.S (memchr): Likewise.
  6668. * sysdeps/ia64/memcpy.S (memcpy): Likewise.
  6669. * sysdeps/ia64/memmove.S (memmove): Likewise.
  6670. * sysdeps/ia64/memset.S (memset): Likewise.
  6671. * sysdeps/ia64/strcat.S (strcat): Likewise.
  6672. * sysdeps/ia64/strchr.S (strchr): Likewise.
  6673. * sysdeps/ia64/strcmp.S (strcmp): Likewise.
  6674. * sysdeps/ia64/strcpy.S (strcpy): Likewise.
  6675. * sysdeps/ia64/strlen.S (strlen): Likewise.
  6676. * sysdeps/ia64/strncmp.S (strncmp): Likewise.
  6677. * sysdeps/ia64/strncpy.S (strncpy): Likewise.
  6678. * sysdeps/m68k/memchr.S (memchr): Likewise.
  6679. * sysdeps/m68k/strchr.S (strchr): Likewise.
  6680. * sysdeps/mips/mips64/memcpy.S (memcpy): Likewise.
  6681. * sysdeps/mips/mips64/memset.S (memset): Likewise.
  6682. * sysdeps/mips/memcpy.S (memcpy): Likewise.
  6683. * sysdeps/mips/memset.S (memset): Likewise.
  6684. * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
  6685. * sysdeps/powerpc/powerpc32/strchr.S (strchr): Likewise.
  6686. * sysdeps/powerpc/powerpc32/strcmp.S (strcmp): Likewise.
  6687. * sysdeps/powerpc/powerpc32/strcpy.S (strcpy): Likewise.
  6688. * sysdeps/powerpc/powerpc32/strlen.S (strlen): Likewise.
  6689. * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
  6690. * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
  6691. * sysdeps/powerpc/powerpc64/strchr.S (strchr): Likewise.
  6692. * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Likewise.
  6693. * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Likewise.
  6694. * sysdeps/powerpc/powerpc64/strlen.S (strlen): Likewise.
  6695. * sysdeps/powerpc/strcat.c (strcat): Likewise.
  6696. * sysdeps/sparc/sparc32/memchr.S (memchr): Likewise.
  6697. * sysdeps/sparc/sparc32/memcpy.S (memcpy): Likewise.
  6698. * sysdeps/sparc/sparc32/memset.S (memset): Likewise.
  6699. * sysdeps/sparc/sparc32/strcat.S (strcat): Likewise.
  6700. * sysdeps/sparc/sparc32/strchr.S (strchr, strrchr): Likewise.
  6701. * sysdeps/sparc/sparc32/strcmp.S (strcmp): Likewise.
  6702. * sysdeps/sparc/sparc32/strcpy.S (strcpy): Likewise.
  6703. * sysdeps/sparc/sparc32/strlen.S (strlen): Likewise.
  6704. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy, memmove): Likewise.
  6705. * sysdeps/sparc/sparc64/memchr.S (memchr): Likewise.
  6706. * sysdeps/sparc/sparc64/memcpy.S (memcpy, memmove): Likewise.
  6707. * sysdeps/sparc/sparc64/memset.S (memset): Likewise.
  6708. * sysdeps/sparc/sparc64/strcat.S (strcat): Likewise.
  6709. * sysdeps/sparc/sparc64/strchr.S (strchr, strrchr): Likewise.
  6710. * sysdeps/sparc/sparc64/strcmp.S (strcmp): Likewise.
  6711. * sysdeps/sparc/sparc64/strcpy.S (strcpy): Likewise.
  6712. * sysdeps/sparc/sparc64/strcspn.S (strcspn): Likewise.
  6713. * sysdeps/sparc/sparc64/strlen.S (strlen): Likewise.
  6714. * sysdeps/sparc/sparc64/strncmp.S (strncmp): Likewise.
  6715. * sysdeps/sparc/sparc64/strncpy.S (strncpy): Likewise.
  6716. * sysdeps/sparc/sparc64/strpbrk.S (strpbrk): Likewise.
  6717. * sysdeps/sparc/sparc64/strspn.S (strspn): Likewise.
  6718. * sysdeps/sh/memcpy.S (memcpy): Likewise.
  6719. * sysdeps/sh/memset.S (memset): Likewise.
  6720. * sysdeps/sh/strlen.S (strlen): Likewise.
  6721. * sysdeps/s390/s390-32/memchr.S (memchr): Likewise.
  6722. * sysdeps/s390/s390-32/memcpy.S (memcpy): Likewise.
  6723. * sysdeps/s390/s390-32/memset.S (memset): Likewise.
  6724. * sysdeps/s390/s390-32/strcmp.S (strcmp): Likewise.
  6725. * sysdeps/s390/s390-32/strcpy.S (strcpy): Likewise.
  6726. * sysdeps/s390/s390-32/strncpy.S (strncpy): Likewise.
  6727. * sysdeps/s390/s390-64/memchr.S (memchr): Likewise.
  6728. * sysdeps/s390/s390-64/memcpy.S (memcpy): Likewise.
  6729. * sysdeps/s390/s390-64/memset.S (memset): Likewise.
  6730. * sysdeps/s390/s390-64/strcmp.S (strcmp): Likewise.
  6731. * sysdeps/s390/s390-64/strcpy.S (strcpy): Likewise.
  6732. * sysdeps/s390/s390-64/strncpy.S (strncpy): Likewise.
  6733. * sysdeps/x86_64/memcpy.S (memcpy): Likewise.
  6734. * sysdeps/x86_64/memset.S (memset): Likewise.
  6735. * sysdeps/x86_64/strcat.S (strcat): Likewise.
  6736. * sysdeps/x86_64/strchr.S (strchr): Likewise.
  6737. * sysdeps/x86_64/strcmp.S (strcmp): Likewise.
  6738. * sysdeps/x86_64/strcpy.S (strcpy): Likewise.
  6739. * sysdeps/x86_64/strcspn.S (strcspn): Likewise.
  6740. * sysdeps/x86_64/strlen.S (strlen): Likewise.
  6741. * sysdeps/x86_64/strspn.S (strspn): Likewise.
  6742. * string/string-inlines.c: Move...
  6743. * sysdeps/generic/string-inlines.c: ...here.
  6744. (__memcpy_g, __strchr_g): Remove.
  6745. (__NO_INLINE__): Define before including <string.h>,
  6746. undefine after. Include bits/string.h and bits/string2.h.
  6747. * sysdeps/i386/i486/string-inlines.c: New file.
  6748. * sysdeps/i386/string-inlines.c: New file.
  6749. * sysdeps/i386/i486/Versions: Remove.
  6750. All GLIBC_2.1.1 symbols moved...
  6751. * sysdeps/i386/Versions (libc): ...here.
  6752. 2003-04-29 Ulrich Drepper <drepper@redhat.com>
  6753. * sysdeps/i386/fpu/Makefile: New file.
  6754. * sysdeps/i386/fpu/fedisblxcpt.c: Also set SSE control word.
  6755. * sysdeps/i386/fpu/feenablxcpt.c: Likewise.
  6756. * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
  6757. * sysdeps/i386/fpu/fesetround.c: Also set SSE rounding mode
  6758. [PR libc/4987].
  6759. 2003-04-28 Ulrich Drepper <drepper@redhat.com>
  6760. * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect.
  6761. * nscd/nscd_getpw_r.c: Likewise.
  6762. * nscd/nscd_gethst_r.c: Likewise.
  6763. 2003-04-27 Ulrich Drepper <drepper@redhat.com>
  6764. * nscd/pwdcache.c: Initialize .version element in result.
  6765. * nscd/grpcache.c: Likewise.
  6766. * nscd/pwdcache.c: Likewise.
  6767. 2003-04-27 Andreas Schwab <schwab@suse.de>
  6768. * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
  6769. subdirectory.
  6770. 2003-04-27 Andreas Schwab <schwab@suse.de>
  6771. * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.
  6772. 2003-04-27 Ulrich Drepper <drepper@redhat.com>
  6773. * nscd/connections.c (client_queued): New variable.
  6774. (nscd_run): Revamp the loop. Don't call poll except for cleanup
  6775. threads. Keep track of the number of delays caused because of busy
  6776. worker threads.
  6777. * nscd/nscd.h: Declare client_queued.
  6778. * nscd/nscd_stat.c: Transmit and print client_queued information.
  6779. * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
  6780. * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to
  6781. define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.
  6782. 2003-04-26 Ulrich Drepper <drepper@redhat.com>
  6783. * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement
  6784. tracking of freed memory in static TLS block.
  6785. * elf/Makefile: Add rules to build and run tst-tls13.
  6786. * elf/tst-tls13.c: New file.
  6787. * elf/tst-tlsmod13.c: New file.
  6788. * elf/tst-tlsmod13a.c: New file.
  6789. * elf/tst-tls8.c: Adjust types of variables to avoid warnings.
  6790. * elf/dl-reloc.c: Pretty printing.
  6791. 2003-04-26 Roland McGrath <roland@redhat.com>
  6792. * Makerules ($(common-objpfx)shlib.lds): New target.
  6793. (common-generated): Add it.
  6794. (build-shlib, build-module): Use that instead of generating every time.
  6795. ($(common-objpfx)libc.so): Depend on it.
  6796. (lib%.so rule): Likewise.
  6797. (build-module-helper-objlist): Remove %.lds.
  6798. (LDSEDCMD-c.so): Variable removed.
  6799. * iconvdata/extra-module.mk ($(objpfx)$(mod).so):
  6800. Depend on $(common-objpfx)shlib.lds.
  6801. * dlfcn/Makefile ($(test-modules)): Likewise.
  6802. 2003-04-26 Roland McGrath <roland@frob.com>
  6803. * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
  6804. 2003-04-26 Andreas Schwab <schwab@suse.de>
  6805. * elf/dl-close.c (remove_slotinfo): Fix missing parens.
  6806. 2003-04-25 Ulrich Drepper <drepper@redhat.com>
  6807. * nscd/cache.c (cache_search): Keep track of how many chain links
  6808. we searched and update table statistics.
  6809. (cache_add): Keep track of how many values are in the table.
  6810. (prune_cache): Likewise. Keep track of locking success.
  6811. Print messages about removed entries in separate pass.
  6812. * nscd/connections.c (handle_request): Don't print debug message here.
  6813. The caller will do it. Keep track of locking success.
  6814. (nscd_run): Print debug message. Also print PID of the client process.
  6815. * nscd/nscd.c (start_time): New variable.
  6816. (main): Remember start time.
  6817. * nscd/nscd.h: Declare start_time.
  6818. (struct database): Add more members for new statistics.
  6819. * nscd/nscd_stat.c: Add support for sending, receiving, and printing
  6820. of new statistics.
  6821. * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
  6822. 2003-04-22 Jakub Jelinek <jakub@redhat.com>
  6823. * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
  6824. * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
  6825. * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
  6826. NO_TLS_OFFSET.
  6827. * elf/rtld.c (_dl_start_final, _dl_start): Likewise.
  6828. * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
  6829. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
  6830. * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
  6831. TLS_TCB_SIZE.
  6832. 2003-04-24 Ulrich Drepper <drepper@redhat.com>
  6833. * nss/getent.c: Implement alternative host database lookup via
  6834. getaddrinfo.
  6835. * include/ifaddrs.h: New file.
  6836. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and
  6837. AI_ADDRCONFIG...
  6838. * resolv/netdb.h: ...here.
  6839. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate.
  6840. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
  6841. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and
  6842. AI_ADDRCONFIG.
  6843. 2003-04-24 Roland McGrath <roland@redhat.com>
  6844. * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.
  6845. 2003-04-24 Jakub Jelinek <jakub@redhat.com>
  6846. * elf/dl-reloc.c (allocate_static_tls): Rename to...
  6847. (_dl_allocate_static_tls): ... this function. No longer static.
  6848. (CHECK_STATIC_TLS): Adjust.
  6849. * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype.
  6850. * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela):
  6851. Add SYM_MAP argument.
  6852. (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally.
  6853. Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit
  6854. TLS relocs here. #ifdef out relocs which never appear in
  6855. .gnu.conflict section from dl-conflict.c processing.
  6856. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  6857. Add SYM_MAP argument. Handle 16-bit TLS relocs here.
  6858. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef
  6859. out relocs which never appear in .gnu.conflict section from
  6860. dl-conflict.c processing.
  6861. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
  6862. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  6863. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.
  6864. Use r_type in RESOLVE macro.
  6865. 2003-04-23 Ulrich Drepper <drepper@redhat.com>
  6866. * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
  6867. NULL. Remove code made redundant by this assumption.
  6868. (__yp_unbind): Add call to free. Adjust all callers.
  6869. * nis/ypclnt.c (yp_all): Free the dom_binding object after
  6870. unbinding it.
  6871. * grp/initgroups.c (getgrouplist): Don't copy too much into the
  6872. user buffer if more groups are found than fit into it.
  6873. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use
  6874. extend_alloca.
  6875. 2003-04-23 Jakub Jelinek <jakub@redhat.com>
  6876. * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE,
  6877. not rc == errno. Use extend_alloca.
  6878. * elf/tst-tls12.c (main): Fix declaration.
  6879. * elf/tst-tls10.c (dummy): Make hidden instead of static.
  6880. * elf/tst-tlsmod7.c (dummy): Likewise.
  6881. * elf/tst-tlsmod8.c (dummy): Likewise.
  6882. * elf/tst-tlsmod9.c (dummy): Likewise.
  6883. 2003-04-22 Roland McGrath <roland@redhat.com>
  6884. * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args.
  6885. (open_not_cancel): Make last argument non-optional.
  6886. * sysdeps/generic/check_fds.c (check_one_fd): Update caller.
  6887. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
  6888. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
  6889. * include/tls.h: Protect against multiple inclusion.
  6890. 2003-04-22 Ulrich Drepper <drepper@redhat.com>
  6891. * nscd/nscd-client.h: Add declaration for __nscd_open_socket.
  6892. * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from
  6893. open_socket. Not static anymore.
  6894. (nscd_gethst_r): Use __nscd_open_socket.
  6895. * nscd/nscd_getgr_r.c (open_socket): Removed.
  6896. (nscd_getgr_r): Use __nscd_open_socket.
  6897. * nscd/nscd_getpw_r.c (open_socket): Removed.
  6898. (nscd_getpw_r): Use __nscd_open_socket.
  6899. * nscd/nscd.c (main): Change type of fdn to long int and use strtol.
  6900. * nscd/connections.c (handle_request): Add cast to avoid warning.
  6901. 2003-04-21 Ulrich Drepper <drepper@redhat.com>
  6902. * signal/sigfillset.c: Moved to...
  6903. * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined
  6904. do not set the corresponding bit.
  6905. * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for
  6906. SIGCANCEL.
  6907. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL.
  6908. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL.
  6909. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL.
  6910. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL.
  6911. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL.
  6912. 2003-04-20 Ulrich Drepper <drepper@redhat.com>
  6913. * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast
  6914. first syscall parameter to const char*.
  6915. 2003-04-19 Ulrich Drepper <drepper@redhat.com>
  6916. * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
  6917. * configure.in: Add AC_PROG_CXX.
  6918. * config.make.in (CXX): Define.
  6919. * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
  6920. __len to size_t to avoid warnings.
  6921. 2003-04-18 Jes Sorensen <jes@wildopensource.com>
  6922. * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux
  6923. 2.5.67.
  6924. * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
  6925. 2003-04-19 Ulrich Drepper <drepper@redhat.com>
  6926. * stdlib/cxa_finalize.c (__cxa_finalize): Don't call
  6927. UNREGISTER_ATFORK if d == NULL.
  6928. * catgets/nl_types.h: Remove __THROW marker from cancellation points.
  6929. * dirent/dirent.h: Likewise.
  6930. * dlfcn/dlfcn.h: Likewise.
  6931. * grp/grp.h: Likewise.
  6932. * iconv/iconv.h: Likewise.
  6933. * io/fcntl.h: Likewise.
  6934. * io/ftw.h: Likewise.
  6935. * libio/stdio.h: Likewise.
  6936. * misc/sys/mman.h: Likewise.
  6937. * misc/sys/select.h: Likewise.
  6938. * misc/sys/syslog.h: Likewise.
  6939. * misc/sys/uio.h: Likewise.
  6940. * posix/spawn.h: Likewise.
  6941. * posix/unistd.h: Likewise.
  6942. * posix/sys/wait.h: Likewise.
  6943. * pwd/pwd.h: Likewise.
  6944. * resolv/netdb.h: Likewise.
  6945. * rt/aio.h: Likewise.
  6946. * shadow/shadow.h: Likewise.
  6947. * signal/signal.h: Likewise.
  6948. * socket/sys/socket.h: Likewise.
  6949. * stdlib/stdlib.h: Likewise.
  6950. * streams/stropts.h: Likewise.
  6951. * string/string.h: Likewise.
  6952. * sysdeps/gnu/utmpx.h: Likewise.
  6953. * sysvipc/sys/msg.h: Likewise.
  6954. * termios/termios.h: Likewise.
  6955. * time/time.h: Likewise.
  6956. * wcsmbs/wchar.h: Likewise.
  6957. * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable
  6958. functions.
  6959. * misc/daemon.c: Likewise.
  6960. * sysdeps/generic/backtracesymsfd.c: Likewise.
  6961. * sysdeps/generic/check_fds.c: Likewise.
  6962. * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
  6963. * sysdeps/unix/sysv/linux/not-cancel.h: New file.
  6964. * sysdeps/generic/not-cancel.h: New file.
  6965. * csu/Makefile (distribute): Add not-cancel.h.
  6966. * sysdeps/unix/sysv/linux/fatal-prepare.h: New file.
  6967. * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE
  6968. for assert.c and assert-perr.c to include <fatal-prepare.h>.
  6969. * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h.
  6970. * sysdeps/posix/remove.c (remove): Rewrite. No need to restore
  6971. errno and unlink first.
  6972. * io/ftw.c (ftw_dir): In all places assume fchdir is available.
  6973. 2003-04-18 Ulrich Drepper <drepper@redhat.com>
  6974. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use
  6975. INTERNAL_SYSCALL instead of INLINE_SYSCALL.
  6976. 2003-04-17 Ulrich Drepper <drepper@redhat.com>
  6977. * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling.
  6978. * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k.
  6979. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not
  6980. replace.
  6981. * signal/Makefile (tests): Add tst-sigsimple.
  6982. * signal/tst-sigsimple.c: New file.
  6983. 2003-04-16 Jakub Jelinek <jakub@redhat.com>
  6984. * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and
  6985. tst-tls10.h.
  6986. (tests): Add tst-tls1[0-2].
  6987. (modules-names): Add tst-tlsmod{[7-8],1[0-2]}.
  6988. ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so.
  6989. ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so.
  6990. ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so.
  6991. ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so.
  6992. ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so.
  6993. ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so.
  6994. * elf/tst-tls10.c: New test.
  6995. * elf/tst-tls11.c: New test.
  6996. * elf/tst-tls12.c: New test.
  6997. * elf/tst-tls10.h: New file.
  6998. * elf/tst-tlsmod7.c: New file.
  6999. * elf/tst-tlsmod8.c: New file.
  7000. * elf/tst-tlsmod9.c: New file.
  7001. * elf/tst-tlsmod10.c: New file.
  7002. * elf/tst-tlsmod11.c: New file.
  7003. * elf/tst-tlsmod12.c: New file.
  7004. 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
  7005. * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ...
  7006. * sysdeps/powerpc/powerpc32/bits/atomic.h: New file.
  7007. * sysdeps/powerpc/powerpc64/bits/atomic.h: New file.
  7008. 2003-04-17 Ulrich Drepper <drepper@redhat.com>
  7009. * posix/regex.h: Include <sys/types.h>.
  7010. * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
  7011. The signal number must be checked.
  7012. * signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
  7013. The signal number must be checked [PR libc/5004].
  7014. * sysdeps/unix/sysv/linux/system.c: If compiled without threads
  7015. don't do anything fancy.
  7016. * sysdeps/generic/bits/libc-lock.h: Define
  7017. __rtld_lock_define_initialized_recursive.
  7018. * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry
  7019. contacting nscd if NOT_USENSCD_NAME > 0.
  7020. * nss/nsswitch.c (__nss_disable_nscd): New function.
  7021. * nss/nsswitch.h: Declare it.
  7022. * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd.
  7023. * nscd/nscd.c (main): Call __nss_disable_nscd.
  7024. 2003-04-16 Ulrich Drepper <drepper@redhat.com>
  7025. * stdio-common/perror.c (perror): We don't need to set the offset
  7026. to _IO_pos_bad, this is how streams are initialized.
  7027. * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned.
  7028. (time_output): If necessary, allocate new buffer for .name string if
  7029. padding is required.
  7030. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths
  7031. before copying. This might leave holes in the list. Adjust
  7032. pointers if necessary.
  7033. (netlink_receive): Allocate only one block.
  7034. (free_netlink_handle): Adjust appropriately.
  7035. (getifaddrs): Lots of cleanups.
  7036. * string/test-strncpy.c (do_one_test): Mark start and stop as
  7037. possibly unused.
  7038. * string/test-memchr.c: Likewise.
  7039. * string/test-memcmp.c: Likewise.
  7040. * string/test-memcpy.c: Likewise.
  7041. * string/test-memmove.c: Likewise.
  7042. * string/test-memset.c: Likewise.
  7043. * string/test-strcat.c: Likewise.
  7044. * string/test-strchr.c: Likewise.
  7045. * string/test-strcmp.c: Likewise.
  7046. * string/test-strcpy.c: Likewise.
  7047. * string/test-strlen.c: Likewise.
  7048. * string/test-strncmp.c: Likewise.
  7049. * string/test-strpbrk.c: Likewise.
  7050. * string/test-strrchr.c: Likewise.
  7051. * string/test-strspn.c: Likewise.
  7052. 2003-04-15 Roland McGrath <roland@redhat.com>
  7053. * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
  7054. * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
  7055. INTUSE(__register_frame_info_bases).
  7056. 2003-04-15 Ulrich Drepper <drepper@redhat.com>
  7057. * elf/elf.h: Define AT_SYSINFO_EH_FRAME.
  7058. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
  7059. AT_SYSINFO_EH_FRAME. Adjust string width.
  7060. (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
  7061. * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
  7062. Add _dl_sysinfo_eh_frame field.
  7063. * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
  7064. * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
  7065. variable.
  7066. [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
  7067. if _dl_sysinfo_eh_frame is non-NULL.
  7068. * Makeconfig (gnulib): Add -lgcc_eh.
  7069. * config.h.in: Define HAVE_FORCED_UNWIND.
  7070. 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
  7071. * sysdeps/powerpc/powerpc64/strcmp.S: Convert to full 64-bit.
  7072. * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
  7073. 2003-04-15 Jakub Jelinek <jakub@redhat.com>
  7074. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Avoid
  7075. checking R_PPC_RELATIVE, R_PPC_NONE and whether relocation is
  7076. against local symbol in conflict processing.
  7077. 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com>
  7078. * sysdeps/powerpc/bits/atomic.h
  7079. [__powerpc64] (__arch_compare_and_exchange_val_64_acq): Define.
  7080. [! __powerpc64] (__arch_compare_and_exchange_val_64_acq): Defined
  7081. as abort stub.
  7082. (__arch_compare_and_exchange_val_32_acq): Define.
  7083. (atomic_compare_and_exchange_val_acq): Define.
  7084. 2003-04-15 Ulrich Drepper <drepper@redhat.com>
  7085. * include/atomic.h: Pretty printing.
  7086. 2003-04-14 Ulrich Drepper <drepper@redhat.com>
  7087. * stdio-common/vfscanf.c: Add casts to avoid warnings.
  7088. 2003-04-14 Jakub Jelinek <jakub@redhat.com>
  7089. * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
  7090. * sysdeps/x86_64/bits/atomic.h: Likewise.
  7091. 2003-04-14 Ulrich Drepper <drepper@redhat.com>
  7092. * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
  7093. POPARGS_1 to emit labels for the mov instructions.
  7094. 2003-04-14 Jakub Jelinek <jakub@redhat.com>
  7095. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
  7096. 2003-04-14 Roland McGrath <roland@redhat.com>
  7097. * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
  7098. compiler warning.
  7099. * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
  7100. 2003-04-14 Ulrich Drepper <drepper@redhat.com>
  7101. * string/strxfrm.c (STRXFRM): Terminate rulearr at correct
  7102. position. Reported by jreiser@BitWagon.com.
  7103. 2003-04-13 Ulrich Drepper <drepper@redhat.com>
  7104. * sysdeps/generic/unwind-dw2-fde.c: Update from recent gcc version.
  7105. * sysdeps/generic/unwind-dw2-fde.h: Likewise.
  7106. * sysdeps/generic/unwind-dw2.c: Likewise.
  7107. * sysdeps/generic/unwind-pe.h: Likewise.
  7108. 2003-04-13 Alexandre Oliva <aoliva@redhat.com>
  7109. * sysdeps/unix/sysv/linux/mips/profil-counter: New.
  7110. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
  7111. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
  7112. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
  7113. (mcontext_t): Make it match the 32-bit mips kernel in o32.
  7114. * sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
  7115. the mips and mips64 headers.
  7116. (struct user): Port to n32/n64.
  7117. 2003-04-12 Ulrich Drepper <drepper@redhat.com>
  7118. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add cast to
  7119. avoid warning.
  7120. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): If
  7121. __ASSUME_VSYSCALL is defined don't add restorer.
  7122. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  7123. __ASSUME_VSYSCALL for 2.5.53.
  7124. 2003-04-11 Ulrich Drepper <drepper@redhat.com>
  7125. * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
  7126. Remove HAVE_CANCELBUF code. Replace with code using the new
  7127. initializers for unwind-based cleanup handling.
  7128. * sysdeps/generic/unwind.h: Update from latest gcc version.
  7129. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
  7130. places to allow unwind data generation.
  7131. * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
  7132. * sysdeps/x86_64/bits/setjmp.h: Likewise.
  7133. * sysdeps/sh/bits/setjmp.h: Likewise.
  7134. * sysdeps/powerpc/bits/setjmp.h: Likewise.
  7135. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
  7136. * sysdeps/alpha/bits/setjmp.h: Likewise.
  7137. 2003-04-11 Roland McGrath <roland@redhat.com>
  7138. * csu/tst-empty.c: New file.
  7139. * csu/Makefile (tests, tests-static): Add it.
  7140. 2003-04-11 Jakub Jelinek <jakub@redhat.com>
  7141. * string/test-strcmp.c (do_random_tests): Test whether return value
  7142. has been promoted to wordsize if the ABI requires caller to do so.
  7143. * string/test-strncmp.c (do_random_tests): Likewise.
  7144. * string/test-memcmp.c (do_random_tests): Likewise.
  7145. * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
  7146. before returning.
  7147. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
  7148. (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
  7149. is not defined, but the prctl constants are.
  7150. * string/tester.c (test_strcmp): Fix a typo.
  7151. 2003-04-09 Ulrich Drepper <drepper@redhat.com>
  7152. * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.
  7153. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
  7154. 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
  7155. * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
  7156. NewABI.
  7157. (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
  7158. NewABI.
  7159. * sysdeps/mips/mips64/memcpy.S: Adjust register naming
  7160. conventions.
  7161. * sysdeps/mips/mips64/memset.S: Likewise.
  7162. * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
  7163. Use t0 instead of t4 as temporary.
  7164. 2003-04-07 Ulrich Drepper <drepper@redhat.com>
  7165. * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use
  7166. feof_unlocked instead of feof.
  7167. (add_dir): Ignore trailing whitespace.
  7168. 2003-04-07 Jakub Jelinek <jakub@redhat.com>
  7169. * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
  7170. sum of SIZE1 and SIZE2 arguments.
  7171. 2003-04-06 Ulrich Drepper <drepper@redhat.com>
  7172. * iconv/iconv_prog.c (process_block): Don't print message about
  7173. invalid input if the -c option is used.
  7174. (main): Correctly append IGNORE string for -c option.
  7175. 2003-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  7176. * sysdeps/sh/bits/atomic.h: Moved to ...
  7177. * sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments.
  7178. (__arch_compare_and_exchange_val_*_acq): Add parens around macro
  7179. arguments.
  7180. (atomic_bit_set, atomic_bit_test_set): Likewise.
  7181. (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument
  7182. twice.
  7183. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
  7184. 2003-04-06 Roland McGrath <roland@redhat.com>
  7185. * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
  7186. restoration as done for setcontext yesterday.
  7187. 2003-04-06 Jakub Jelinek <jakub@redhat.com>
  7188. * elf/rtld.c: Revert 2003-03-14 change.
  7189. * elf/dl-conflict.c (_dl_resolve_conflicts): Move
  7190. #if ! ELF_MACHINE_NO_RELA conditional into the routine.
  7191. 2003-04-05 Ulrich Drepper <drepper@redhat.com>
  7192. * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
  7193. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
  7194. Always initialize *signgamp before returning an error.
  7195. 2003-04-05 Roland McGrath <roland@redhat.com>
  7196. * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing
  7197. below the stack pointer even if switching to the same context we are
  7198. running right now.
  7199. 2003-04-05 Ulrich Drepper <drepper@redhat.com>
  7200. * catgets/gencat.c (read_input_file): Make sure that \n is not
  7201. alone on the line before testing for continuation.
  7202. * math/test-tgmath.c (compile_test): Initialize c.
  7203. 2003-04-05 Alexandre Oliva <aoliva@redhat.com>
  7204. * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
  7205. * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
  7206. * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
  7207. on mips n32.
  7208. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
  7209. XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
  7210. structure on n32 as well.
  7211. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
  7212. data types on n32 and n64.
  7213. 2003-04-05 Ulrich Drepper <drepper@redhat.com>
  7214. * libio/fileops.c (_IO_new_file_fopen): Don't free step data right
  7215. after getting them.
  7216. * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
  7217. HAVE_register_atfork_malloc is defined use __register_atfork_malloc
  7218. instead of __register_atfork.
  7219. 2003-04-05 Jakub Jelinek <jakub@redhat.com>
  7220. * stdio-common/reg-printf.c (__register_printf_function): Calloc
  7221. instead of malloc __printf_arginfo_table and __printf_function_table.
  7222. Reported by John Reiser <jreiser@BitWagon.com>.
  7223. 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com>
  7224. * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.
  7225. * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.
  7226. * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
  7227. defining.
  7228. 2003-04-04 Alexandre Oliva <aoliva@redhat.com>
  7229. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
  7230. for n64 abi.
  7231. 2003-04-03 Roland McGrath <roland@redhat.com>
  7232. * configure.in: Fix up use of compilation flags to match the build:
  7233. For .s files, $ASFLAGS;
  7234. For .S files, $CPPFLAGS $ASFLAGS;
  7235. For .c files, $CFLAGS $CPPFLAGS;
  7236. when linking, add $LDFLAGS.
  7237. * configure: Regenerated.
  7238. 2003-04-03 Jakub Jelinek <jakub@redhat.com>
  7239. * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test
  7240. for atomic_compare_and_exchange_bool_acq failure.
  7241. 2003-04-03 Ulrich Drepper <drepper@redhat.com>
  7242. * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION,
  7243. _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and
  7244. _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION.
  7245. Remove declaration of pthread_atfork.
  7246. 2003-04-02 Ulrich Drepper <drepper@redhat.com>
  7247. * locale/iso-639.def: Add many more languages from the current ISO 639.
  7248. * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop.
  7249. * sysdeps/generic/semtimedop.c: New file.
  7250. * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file.
  7251. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop.
  7252. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  7253. * sysvipc/Makefile (routines): Add semtimedop.
  7254. * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop.
  7255. * sysvipc/sys/sem.h: Declare semtimedop.
  7256. 2003-04-02 Daniel Jacobowitz <drow@mvista.com>
  7257. * configure.in: Check for __register_frame_info in both
  7258. -lgcc and -lgcc_eh.
  7259. * configure: Regenerated.
  7260. 2003-04-01 Roland McGrath <roland@redhat.com>
  7261. * scripts/abilist.awk: Allow dots in soname suffix.
  7262. * scripts/abilist.awk (emit): Fix bailout condition.
  7263. 2003-04-01 Jakub Jelinek <jakub@redhat.com>
  7264. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the
  7265. IA-64 version.
  7266. * elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp
  7267. register as input to asm.
  7268. 2003-04-01 Jakub Jelinek <jakub@redhat.com>
  7269. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.
  7270. 2003-04-01 Andreas Jaeger <aj@suse.de>
  7271. * configure.in: Output as/ld as name if version is too old.
  7272. 2003-03-31 Daniel Jacobowitz <drow@mvista.com>
  7273. * configure.in: Don't require an installed C library in the test
  7274. for ".set" assembler support.
  7275. 2003-03-31 Roland McGrath <roland@redhat.com>
  7276. * signal/tst-sigset.c: New file.
  7277. * signal/Makefile (tests): Add it.
  7278. 2003-03-31 Ulrich Drepper <drepper@redhat.com>
  7279. * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65.
  7280. * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise.
  7281. * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise.
  7282. * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise.
  7283. (__SIGRTMAX): Adjust accordingly.
  7284. * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define
  7285. second compatibility symbol set.
  7286. * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define.
  7287. 2003-03-31 Andreas Schwab <schwab@suse.de>
  7288. * sysdeps/m68k/m68020/bits/atomic.h (atomic_increment_and_test):
  7289. Define.
  7290. (atomic_decrement_and_test): Fix test.
  7291. 2003-03-31 Jakub Jelinek <jakub@redhat.com>
  7292. * sysdeps/sparc/sparc32/bits/atomic.h: New file.
  7293. * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: New file.
  7294. * sysdeps/sparc/sparc64/bits/atomic.h: New file.
  7295. * sysdeps/sparc/sparc32/atomicity.h: Removed.
  7296. * sysdeps/sparc/sparc32/sparcv9/atomicity.h: Removed.
  7297. * sysdeps/sparc/sparc64/atomicity.h: Removed.
  7298. 2003-03-30 Roland McGrath <roland@redhat.com>
  7299. * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone.
  7300. * intl/po2test.sed: Anchor substitution regexps to fix last change.
  7301. 2003-03-29 Paolo Bonzini <bonzini@gnu.org>
  7302. * intl/po2test.sed: Unify the transformations for msgid and msgstr
  7303. and remove a useless s/// command.
  7304. 2003-03-27 David Mosberger <davidm@hpl.hp.com>
  7305. * sysdeps/ia64/dl-machine.h (RTLD_START): Wrap ".save rp, r0"
  7306. directive into empty .prologue region to ensure that call-chain
  7307. is terminated even for the first instruction.
  7308. * sysdeps/ia64/elf/start.S (_start): Use ".save rp, r0" idiom
  7309. to terminate call-chain right from the get-go.
  7310. * sysdeps/unix/sysv/linux/ia64/fork.S (fork): Remove unnecessary
  7311. stop bit between compare & branch.
  7312. 2003-03-29 Ulrich Drepper <drepper@redhat.com>
  7313. * stdlib/strtod.c (INTERNAL): Recognize first digit after decimal
  7314. point correctly [PR libc/4993].
  7315. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
  7316. netlink_open calls if netlink is known to not be available.
  7317. 2003-03-29 Alexandre Oliva <aoliva@redhat.com>
  7318. * configure.in: Add mips64* support.
  7319. * sysdeps/mips/bits/endian.h: Make it bi-endian.
  7320. * sysdeps/mips/mipsel/bits/endian.h: Removed.
  7321. * sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
  7322. * sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
  7323. * sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
  7324. * sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
  7325. * sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
  7326. * sysdeps/mips/Implies: Moved wordsize-32 to...
  7327. * sysdeps/mips/mips32/Implies: New file.
  7328. * sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
  7329. ret_NOERRNO): New.
  7330. (ret, PSEUDO_END): Moved past END.
  7331. (PSEUDO): Moved to...
  7332. * sysdeps/unix/mips/mips32/sysdep.h: New file.
  7333. * sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
  7334. * sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
  7335. * sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
  7336. * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
  7337. * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
  7338. * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
  7339. Re-introduce ENTRY.
  7340. 2003-03-28 Thorsten Kukuk <kukuk@suse.de>
  7341. * sysdeps/unix/sysv/linux/ifaddrs.c: New file.
  7342. * inet/test-ifaddrs.c: Allow AF_PACKET.
  7343. * sysdeps/unix/sysv/linux/kernel-features.h: Add
  7344. __ASSUME_NETLINK_SUPPORT.
  7345. 2003-03-28 Ulrich Drepper <drepper@redhat.com>
  7346. * elf/vismain.c (do_test): Comment out tests which fail in the moment.
  7347. 2003-03-26 H.J. Lu <hjl@gnu.org>
  7348. * elf/vismod.h (getvarlocal1): Return const char **.
  7349. (getvarinmod1): Likewise.
  7350. (getvaritcpt1): Likewise.
  7351. (getvarlocal2): Likewise.
  7352. (getvarinmod2): Likewise.
  7353. (getvaritcpt2): Likewise.
  7354. (getvaritcpt3): Likewise.
  7355. * elf/vismain.c (do_test): Adjusted.
  7356. * elf/vismod1.c (getvarlocal1): Return address.
  7357. (getvarinmod1): Likewise.
  7358. (getvaritcpt1): Likewise.
  7359. * elf/vismod2.c (getvarlocal2): Likewise.
  7360. (getvarinmod2): Likewise.
  7361. (getvaritcpt2): Likewise.
  7362. * elf/vismod3.c (getvaritcpt3): Likewise.
  7363. 2003-03-28 Roland McGrath <roland@redhat.com>
  7364. * elf/vismain.c (do_test): Print both addresses when they don't match.
  7365. * scripts/abilist.awk: If given -v filename_regexp and/or -v
  7366. libname_regexp when parsing names, then produce output only
  7367. for those matching the given regexps. In combine mode, save all
  7368. stanzas for a final sorting by stanza header at the end.
  7369. Emit a blank line between stanzas.
  7370. * scripts/abilist.awk: When given -v combine=1, do parse_names and
  7371. emit a single output stream with lib name in stanza header lines.
  7372. * scripts/abilist.awk: Emit A for all *ABS* regardless of type.
  7373. 2003-03-27 Roland McGrath <roland@redhat.com>
  7374. * sysdeps/powerpc/bits/atomic.h [! __powerpc64__]
  7375. (__arch_atomic_decrement_if_positive_64): Fix bogus definition.
  7376. 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  7377. * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
  7378. Return old value. Make asm output reg constraint earlyclobber.
  7379. Renamed from...
  7380. (__arch_compare_and_exchange_8_acq): ... this.
  7381. (__arch_compare_and_exchange_val_16_acq):
  7382. Return old value. Make asm output reg constraint earlyclobber.
  7383. Renamed from...
  7384. (__arch_compare_and_exchange_16_acq): ... this.
  7385. (__arch_compare_and_exchange_val_32_acq):
  7386. Return old value. Make asm output reg constraint earlyclobber.
  7387. Renamed from...
  7388. (__arch_compare_and_exchange_32_acq): ... this.
  7389. (__arch_compare_and_exchange_val_64_acq):
  7390. Renamed from...
  7391. (__arch_compare_and_exchange_64_acq): ... this.
  7392. (atomic_exchange_and_add): Use local variables and
  7393. __arch_compare_and_exchange_val_64_acq.
  7394. (atomic_add): Likewise.
  7395. (atomic_add_negative, atomic_add_zero): Use local variables.
  7396. 2003-03-28 Alexandre Oliva <aoliva@redhat.com>
  7397. * sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
  7398. 2003-03-27 Ulrich Drepper <drepper@redhat.com>
  7399. * Makefile: Remove libmd5crypt goal.
  7400. 2003-03-25 Jakub Jelinek <jakub@redhat.com>
  7401. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Restore
  7402. special handling of relocations against local symbols.
  7403. 2003-03-27 Steven Munroe <sjmunroe@us.ibm.com>
  7404. * sysdeps/powerpc/bits/atomic.h
  7405. (__arch_compare_and_exchange_bool_32_acq): Move to [!__powerpc64__].
  7406. [__powerpc64__] (__arch_compare_and_exchange_bool_32_acq):
  7407. Define PPC64 specific version.
  7408. [__powerpc64__] (__arch_compare_and_exchange_bool_64_acq):
  7409. Change (mem) constraint to "b".
  7410. [__powerpc64__] (__arch_atomic_exchange_and add_64):
  7411. Replace addi with add. Change (value) contraint to "r".
  7412. Change (mem) constraint to "b".
  7413. [__powerpc64__] (__arch_atomic_decrement_if_positive_64): New macro.
  7414. (__arch_atomic_exchange_32): Change (mem) constraint to "b".
  7415. (__arch_atomic_exchange_and_add_32): Change (mem) constraint to "b".
  7416. (__arch_atomic_decrement_if_positive_32): New macro.
  7417. (atomic_decrement_if_positive): Use __arch* macros.
  7418. 2003-03-27 Jakub Jelinek <jakub@redhat.com>
  7419. * sysdeps/ia64/fpu/libm-test-ulps: Update.
  7420. 2003-03-27 Roland McGrath <roland@redhat.com>
  7421. * scripts/rpm2dynsym.sh: New file.
  7422. * Makefile (distribute): Add it.
  7423. 2003-03-27 David Mosberger <davidm@hpl.hp.com>
  7424. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
  7425. ar.unat before returning. Add missing .mem.offset directives
  7426. to ensure file gets assembled without warnings.
  7427. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
  7428. 2003-03-27 Jakub Jelinek <jakub@redhat.com>
  7429. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <_SC_MONOTONIC_CLOCK>:
  7430. Return -1 instead of 0 if clock_getres failed.
  7431. 2003-03-27 Roland McGrath <roland@redhat.com>
  7432. * scripts/abilist.awk: If variable `parse_names' is set, grok the file
  7433. header lines and write out foo.symlist files for each foo.so.NN listed.
  7434. * libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
  7435. This symbol is exported, and we don't want to hide it.
  7436. Add libc_hidden_proto instead.
  7437. (_IO_file_jumps): Add libc_hidden_proto.
  7438. * libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
  7439. Remove INTVARDEF.
  7440. * libio/fileops.c (_IO_file_jumps): Likewise.
  7441. * libio/stdfiles.c: Don't use INTUSE on them.
  7442. * libio/iofdopen.c (_IO_new_fdopen): Likewise.
  7443. * libio/iofopen.c (__fopen_internal): Likewise.
  7444. * libio/freopen.c (freopen): Likewise.
  7445. * libio/freopen64.c (freopen64): Likewise.
  7446. * libio/iovdprintf.c (_IO_vdprintf): Likewise.
  7447. * Makerules (check-abi) [$(enable-check-abi) = warn]:
  7448. Ignore exit status from diff.
  7449. * configure.in (enable_check_abi): Document possible value "warn".
  7450. Change default to no for now.
  7451. * configure: Regenerated.
  7452. * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
  7453. macro calls and a #include <stub-tag.h> at the end.
  7454. * Makerules ($(objpfx)stubs): Tweak sed commands.
  7455. * sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
  7456. caller column for *xattr syscalls, since they are in sysdeps/generic.
  7457. * sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
  7458. * sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
  7459. 2003-03-26 Roland McGrath <roland@redhat.com>
  7460. * Makerules (check-abi-config): Use /thread instead of /tls when
  7461. use-thread and not just use-tls is set.
  7462. * Makerules (update-abi): Put quotes around $(update-abi-config).
  7463. * elf/Makefile (check-abi): Depend on check-abi-ld.
  7464. (update-abi): Depend on update-abi-ld.
  7465. 2003-03-26 GOTO Masanori <gotom@debian.or.jp>
  7466. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Use INTERNAL_SYSCALL and
  7467. do not check for errors (unless testing for 32bit variant).
  7468. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
  7469. 2003-03-27 Philip Blundell <philb@gnu.org>
  7470. * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
  7471. unconditional mov. Remove nop.
  7472. * sysdeps/unix/sysv/linux/kernel-features.h
  7473. (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
  7474. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
  7475. when __ASSUME_VFORK_SYSCALL is defined.
  7476. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
  7477. __ASSUME_MMAP2_SYSCALL.
  7478. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
  7479. __ASSUME_REALTIME_SIGNALS.
  7480. 2003-03-26 Ulrich Drepper <drepper@redhat.com>
  7481. * sysdeps/generic/ldsodefs.h (ELF_RTYPE_CLASS_COPY): Define to 2
  7482. only if DL_NO_COPY_RELOCS is not defined.
  7483. * sysdeps/ia64/dl-lookupcfg.h: Define DL_NO_COPY_RELOCS.
  7484. 2003-03-26 Roland McGrath <roland@redhat.com>
  7485. * sysdeps/unix/make-syscalls.sh: When an undefined syscall has
  7486. SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
  7487. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
  7488. (sysdep_routines): Add stub-syscalls.
  7489. ($(objpfx)stub-syscalls.c): New target.
  7490. (generated): Add stub-syscalls.c.
  7491. * tls.make.c: Also define use-tls according to USE_TLS macro.
  7492. 2003-03-26 Ulrich Drepper <drepper@redhat.com>
  7493. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (struct siginfo): Avoid
  7494. no-op padding element.
  7495. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
  7496. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
  7497. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  7498. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  7499. 2003-03-26 GOTO Masanori <gotom@debian.or.jp>
  7500. * sysdeps/unix/sysv/linux/i386/getgroups.c: Fix the error
  7501. condition check for the return value of getgroups32.
  7502. 2003-03-26 Jakub Jelinek <jakub@redhat.com>
  7503. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO_NOERRNO):
  7504. Fix a typo.
  7505. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PSEUDO_NOERRNO,
  7506. PSEUDO_END_NOERRNO): Define.
  7507. * sysdeps/unix/sysdep.h (PSEUDO_END_NOERRNO): Fix a typo.
  7508. Define to PSEUDO_END.
  7509. 2003-03-26 Ulrich Drepper <drepper@redhat.com>
  7510. * abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
  7511. 2003-03-25 Jiro SEKIBA <jir@yamato.ibm.com>
  7512. * iconvdata/euc-tw.c (from_euc_tw): Fix return value of TO_LOOP.
  7513. * iconvdata/bug-iconv4.c: New file.
  7514. * iconvdata/Makefile (tests): Add bug-iconv4.
  7515. 2003-03-25 H.J. Lu <hjl@gnu.org>
  7516. * elf/dl-lookup.c (_dl_lookup_symbol): Avoid looking up protected
  7517. symbols twice.
  7518. (_dl_lookup_versioned_symbol): Likewise.
  7519. 2003-03-26 Jakub Jelinek <jakub@redhat.com>
  7520. * csu/tst-atomic.c (do_test): Add some new
  7521. atomic_compare_and_exchange_val_acq, atomic_add_zero,
  7522. atomic_compare_and_exchange_bool_acq and atomic_add_negative tests.
  7523. * include/atomic.h (atomic_add_negative, atomic_add_zero):
  7524. Prefix local variable so that it doesn't clash with the one
  7525. in atomic_exchange_and_add.
  7526. * sysdeps/ia64/bits/atomic.h (atomic_exchange): Fix for long/void *
  7527. pointers.
  7528. (atomic_exchange_and_add): Implement using __sync_fetch_and_add_?i.
  7529. * sysdeps/powerpc/bits/atomic.h (atomic_exchange_and_add): Force
  7530. value into register.
  7531. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
  7532. Cast newval to long.
  7533. * sysdeps/x86_64/bits/atomic.h
  7534. (__arch_compare_and_exchange_val_64_acq): Cast newval and oldval to
  7535. long.
  7536. (atomic_exchange): Cast newvalue to long if sizeof == 8.
  7537. (atomic_exchange_and_add): Cast value to long if sizeof == 8.
  7538. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
  7539. (atomic_bit_set): Shift 1L up in all cases to shut up warnings.
  7540. 2003-03-21 Martin Schwidefsky <schwidefskyde.ibm.com>
  7541. * sysdeps/s390/s390-32/backtrace.c (__backtrace): Remove high order
  7542. bit from backtrace addresses.
  7543. 2003-03-21 Andreas Schwab <schwab@suse.de>
  7544. * sysdeps/unix/sysv/linux/i386/chown.c: Don't define any versioned
  7545. __chown symbols.
  7546. 2003-03-25 Roland McGrath <roland@redhat.com>
  7547. * config.make.in (enable-check-abi): New variable from configure.
  7548. * configure.in (enable_check_abi): New substituted variable,
  7549. controlled by --{enable,disable}-check-abi (default yes).
  7550. * configure: Regenerated.
  7551. * Makerules [$(enable-check-abi) = yes] (tests): Put this condition
  7552. on check-abi dependency.
  7553. 2003-03-26 Andreas Schwab <schwab@suse.de>
  7554. * sysdeps/m68k/m68020/bits/atomic.h: Fix typos.
  7555. * include/atomic.h: Likewise.
  7556. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Define ret_NOERRNO.
  7557. 2003-03-25 Roland McGrath <roland@redhat.com>
  7558. * sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
  7559. (__arch_atomic_exchange_64): New macro.
  7560. (atomic_exchange): Use them.
  7561. (__arch_atomic_exchange_and_add_32): New macro.
  7562. (__arch_atomic_exchange_and_add_64): New macro.
  7563. (atomic_exchange_and_add): Use them.
  7564. Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
  7565. 2003-03-25 Alexandre Oliva <aoliva@redhat.com>
  7566. * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
  7567. Define.
  7568. * sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
  7569. ISA tests.
  7570. (ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
  7571. (PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
  7572. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
  7573. to decide whether to add padding.
  7574. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
  7575. to decide whether to add padding.
  7576. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
  7577. old_kernel_sigaction): Likewise.
  7578. 2003-03-25 Ulrich Drepper <drepper@redhat.com>
  7579. * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
  7580. atomic_add_zero were supposed to do.
  7581. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
  7582. to x86 behavior.
  7583. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
  7584. This matches the new timer implementation.
  7585. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE):
  7586. Likewise.
  7587. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE):
  7588. Likewise.
  7589. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
  7590. timer info for what the kernel provides these days.
  7591. (struct sigevent): Add _tid field.
  7592. Define SIGEV_THREAD_ID.
  7593. Remove struct __pthread_attr_s forward declaration.
  7594. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
  7595. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
  7596. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  7597. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  7598. * Versions.def (librt): Add GLIBC_2.3.3.
  7599. * abilist/libpthread.abilist: Update for nptl.
  7600. 2003-03-24 Jon Grimm <jgrimm@us.ibm.com>
  7601. * inet/netinet/in.h: Add IPPROTO_SCTP.
  7602. 2003-03-24 Ulrich Drepper <drepper@redhat.com>
  7603. * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
  7604. 2003-03-24 Philip Blundell <philb@gnu.org>
  7605. * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL):
  7606. Remove a1 from clobber list.
  7607. 2003-03-24 Ulrich Drepper <drepper@redhat.com>
  7608. * timezone/antarctica: Update from tzdata2003a.
  7609. * timezone/asia: Likewise.
  7610. * timezone/australasia: Likewise.
  7611. * timezone/europe: Likewise.
  7612. * timezone/iso3166.tab: Likewise.
  7613. * timezone/northamerica: Likewise.
  7614. * timezone/southamerica: Likewise.
  7615. * timezone/zone.tab: Likewise.
  7616. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
  7617. * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_END_NOERRNO): Fix typo.
  7618. 2003-03-23 Ulrich Drepper <drepper@redhat.com>
  7619. * sysdeps/unix/sysv/linux/ia64/sysdep.h (ret_NOERRNO): Avoid
  7620. unwanted expansion by definining to ret. Patch by Ian Wienand.
  7621. * sysdeps/unix/make-syscalls.sh: Recognize 'E' in first position of
  7622. the parameter description to denote no error checking. Generate
  7623. appropriate pseudo asm code.
  7624. * sysdeps/unix/syscalls.list: Mark getgid, getpid, getuid with 'E'.
  7625. * sysdeps/unix/sysv/linux/syscalls.list: Mark getegid, geteuid,
  7626. getpgrp, and getppid with 'E'.
  7627. * sysdeps/powerpc/powerpc32/sysdep.h: Define PSEUDO_NOERRNO,
  7628. PSEUDO_END_NOERRNO, and ret_NOERRNO.
  7629. * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
  7630. * sysdeps/unix/sysdep.h: Likewise.
  7631. * sysdeps/unix/alpha/sysdep.h: Likewise.
  7632. * sysdeps/unix/sparc/sysdep.h: Likewise.
  7633. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
  7634. * sysdeps/unix/sysv/linux/cris/sysdep.h: Likewise.
  7635. * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
  7636. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  7637. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
  7638. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
  7639. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  7640. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  7641. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
  7642. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  7643. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  7644. 2003-03-23 Roland McGrath <roland@redhat.com>
  7645. * Makeconfig (+includes): Don't use $(last-includes).
  7646. 2003-03-22 Alexandre Oliva <aoliva@redhat.com>
  7647. * sysdeps/unix/sysv/linux/configure.in: Update mips64 patterns.
  7648. * sysdeps/unix/sysv/linux/configure: Rebuilt.
  7649. 2003-03-23 Jakub Jelinek <jakub@redhat.com>
  7650. * sysdeps/alpha/fpu/libm-test-ulps: Update.
  7651. * sysdeps/arm/libm-test-ulps: Update.
  7652. * sysdeps/hppa/fpu/libm-test-ulps: Update.
  7653. * sysdeps/ia64/fpu/libm-test-ulps: Update.
  7654. * sysdeps/mips/fpu/libm-test-ulps: Update.
  7655. * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
  7656. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
  7657. * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
  7658. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
  7659. * sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
  7660. * sysdeps/s390/fpu/libm-test-ulps: Update.
  7661. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
  7662. 2003-03-22 Roland McGrath <roland@redhat.com>
  7663. * include/atomic.h: Put parens around all macro arguments.
  7664. (__atomic_val_bysize, __atomic_bool_bysize): New macros.
  7665. (atomic_compare_and_exchange_val_acq): Use it.
  7666. (atomic_compare_and_exchange_bool_acq): Likewise.
  7667. (atomic_increment_and_test): Invert sense of test.
  7668. (atomic_decrement_and_test): Likewise.
  7669. * csu/tst-atomic.c: Update those tests to match.
  7670. 2003-03-22 Jakub Jelinek <jakub@redhat.com>
  7671. * include/atomic.h (atomic_compare_and_exchange_val_acq): Add comment.
  7672. Don't define if __arch_compare_and_exchange_val_32_acq is not defined.
  7673. (atomic_compare_and_exchange_bool_acq): Add comment. Don't use
  7674. __oldval variable in the macro, since it might be macro argument.
  7675. (atomic_decrement_if_positive): Initialize __memp, remove setting
  7676. of non-existent variable.
  7677. (atomic_bit_test_set): Cast 1 to __typeof (*mem) before shifting.
  7678. * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Implement
  7679. using atomic_compare_and_exchange_val_acq.
  7680. (atomic_decrement_if_positive, atomic_bit_test_set): Define.
  7681. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
  7682. Renamed from...
  7683. (__arch_compare_and_exchange_bool_8_acq): ... this.
  7684. (__arch_compare_and_exchange_val_16_acq): Renamed from...
  7685. (__arch_compare_and_exchange_bool_16_acq): ... this.
  7686. (__arch_compare_and_exchange_val_32_acq): Return old value. Renamed
  7687. from...
  7688. (__arch_compare_and_exchange_bool_32_acq): ... this.
  7689. (__arch_compare_and_exchange_val_64_acq): Return old value. Renamed
  7690. from...
  7691. (__arch_compare_and_exchange_bool_64_acq): ... this.
  7692. (__arch_compare_and_exchange_val_32_acq): Use __typeof for local
  7693. variables types instead of assuming int.
  7694. Change prefix of local variables to __arch.
  7695. * sysdeps/generic/bits/atomic.h (arch_compare_and_exchange_acq):
  7696. Remove.
  7697. (atomic_compare_and_exchange_val_acq,
  7698. atomic_compare_and_exchange_bool_acq): Define.
  7699. * csu/tst-atomic.c: New test.
  7700. * csu/tst-atomic-long.c: New test.
  7701. * csu/Makefile (tests): Add tst-atomic and tst-atomic-long.
  7702. * malloc/memusagestat.c (main): Kill warning if uint64_t is ulong.
  7703. * sysdeps/s390/Versions: Add trailing newline.
  7704. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Kill warning
  7705. if INTERNAL_SYSCALL_ERROR_P doesn't use its first argument.
  7706. 2003-03-22 Andreas Schwab <schwab@suse.de>
  7707. * sysdeps/m68k/fpu/libm-test-ulps: Update.
  7708. * sysdeps/m68k/m68020/bits/atomic.h: New file.
  7709. * sysdeps/m68k/m68020/atomicity.h: Removed.
  7710. 2003-03-22 Alexandre Oliva <aoliva@redhat.com>
  7711. * sysdeps/mips/elf/ldsodefs.h: Add mips-specific elf64 relocation
  7712. data structures and macros. Protect from multiple inclusion.
  7713. * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Fix harmless
  7714. typo in #if test.
  7715. 2003-03-21 Andreas Jaeger <aj@suse.de>
  7716. * sysdeps/i386/fpu/libm-test-ulps: Update.
  7717. * math/libm-test.inc (tgamma_test): Recompute some constants with
  7718. 36 digits precision.
  7719. (lgamma_test): Likewise.
  7720. (ccos_test): Likewise.
  7721. (ccosh_test): Likewise.
  7722. (clog10_test): Likewise.
  7723. (csin_test): Likewise.
  7724. (csinh_test): Likewise.
  7725. (ctan_test): Likewise.
  7726. (ctanh_test): Likewise.
  7727. 2003-03-19 Jakub Jelinek <jakub@redhat.com>
  7728. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerated.
  7729. 2003-03-21 Roland McGrath <roland@redhat.com>
  7730. * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
  7731. constraint to permit non-constant BIT argument.
  7732. (atomic_bit_test_set): Likewise.
  7733. * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
  7734. (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
  7735. For quadword case, use "i" constraint if __builtin_constant_p and < 32
  7736. or "r" constraint otherwise.
  7737. * configure.in: Move AC_PROG_CC and other program-finding before all
  7738. the version checks.
  7739. * configure: Regenerated.
  7740. 2003-03-21 Alexandre Oliva <aoliva@redhat.com>
  7741. * sysdeps/mips/mips64/memcpy.S: Fix porting bug that broke
  7742. unaligned copying of 8-15 bytes. From Chris Demetriou
  7743. <cgd@broadcom.com>. Fix label names.
  7744. * sysdeps/mips/mips64/memset.S: Fix label names. Make similar
  7745. change as to memcpy.S.
  7746. * sysdeps/mips/memcpy.S: Formatting changes.
  7747. * sysdeps/mips/memset.S: Likewise.
  7748. 2003-03-21 Roland McGrath <roland@redhat.com>
  7749. * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
  7750. 2003-03-21 Alexandre Oliva <aoliva@redhat.com>
  7751. * sysdeps/mips/mips64/memcpy.S, sysdeps/mips/mips64/memset.S: New.
  7752. * sysdeps/mips/memcpy.S, sysdeps/mips/memset.S: Update comments.
  7753. 2003-03-21 Roland McGrath <roland@redhat.com>
  7754. * sysdeps/i386/i486/bits/atomic.h
  7755. (__arch_compare_and_exchange_val_64_acq): Rewrite abort-calling
  7756. version of the macro to avoid compile-time warnings.
  7757. [! __PIC__] (__arch_compare_and_exchange_64_acq): Rename to above.
  7758. (atomic_exchange_and_add, atomic_add): Fix name and usage of it.
  7759. (atomic_increment, atomic_decrement): Likewise.
  7760. 2003-03-21 Ulrich Drepper <drepper@redhat.com>
  7761. * sysdeps/x86_64/bits/atomic.h: Don't use matching memory constraints.
  7762. * sysdeps/i386/i486/bits/atomic.h: Likewise.
  7763. 2003-03-21 Roland McGrath <roland@redhat.com>
  7764. * include/atomic.h (atomic_compare_and_exchange_bool_acq): Typo fix.
  7765. 2003-03-20 Ulrich Drepper <drepper@redhat.com>
  7766. * include/atomic.h: Define atomic_compare_and_exchange_val_acq,
  7767. atomic_compare_and_exchange_val_rel,
  7768. atomic_compare_and_exchange_bool_acq, and
  7769. atomic_compare_and_exchange_bool_rel instead of
  7770. atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
  7771. * sysdeps/i386/i486/bits/atomic.h: Define
  7772. __arch_compare_and_exchange_val_*_acq instead of
  7773. __arch_compare_and_exchange_*_acq.
  7774. * sysdeps/x86_64/bits/atomic.h: Likewise.
  7775. * sysdeps/ia64/bits/atomic.h: Define
  7776. __arch_compare_and_exchange_bool_*_acq instead of
  7777. __arch_compare_and_exchange_*_acq.
  7778. * sysdeps/powerpc/bits/atomic.h: Likewise.
  7779. * sysdeps/s390/bits/atomic.h: Likewise.
  7780. * gmon/mcount.c: Adjust for new form of compare&exchange macros.
  7781. * malloc/set-freeres.c: Likewise.
  7782. * nscd/cache.c: Likewise.
  7783. * stdlib/cxa_finalize.c: Likewise.
  7784. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
  7785. 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
  7786. * sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
  7787. * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
  7788. * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
  7789. * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
  7790. into high and low halves on n64.
  7791. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  7792. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
  7793. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  7794. 2003-03-20 Ulrich Drepper <drepper@redhat.com>
  7795. * include/atomic.h (atomic_decrement_if_positive): Adjust for the
  7796. correct atomic_compare_and_exchange_acq semantics.
  7797. 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
  7798. * sysdeps/mips/ieee754.h: Remove excess #endif.
  7799. 2003-03-20 Roland McGrath <roland@redhat.com>
  7800. * sysdeps/powerpc/bits/atomic.h (atomic_exchange): Remove unused
  7801. variable. Remove superfluous memory clobber.
  7802. * include/atomic.h: Syntax braino fix.
  7803. * posix/tst-nice.c (do_test): Use %m formats instead of printing errno
  7804. in decimal. Don't bail if niced at start. Just check that nice call
  7805. bumps the total at all.
  7806. 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
  7807. * sysdeps/mips/bits/setjmp.h: Store all N32 and N64 registers,
  7808. including pc, gp, sp and fp, as long long.
  7809. * sysdeps/mips/mips64/setjmp.S: Pass gp to __sigsetjmp_aux.
  7810. * sysdeps/mips/mips64/setjmp_aux.c: Adjust type of arguments.
  7811. Add gp argument, and set gp in the jmpbuf to it.
  7812. * sysdeps/mips/setjmp_aux.c: Revert to o32-only.
  7813. 2003-03-20 Ulrich Drepper <drepper@redhat.com>
  7814. * include/atomic.h: Define atomic_exchange and
  7815. atomic_decrement_if_positive if not already defined. Add some
  7816. __builtin_expect.
  7817. * sysdeps/i386/i486/bits/atomic.h: Define atomic_exchange.
  7818. * sysdeps/x86_64/bits/atomic.h: Likewise.
  7819. * sysdeps/ia64/bits/atomic.h: Pretty printing. Define atomic_exchange.
  7820. * sysdeps/powerpc/bits/atomic.h: Pretty printing. Define
  7821. atomic_exchange, atomic_exchange_and_add, and
  7822. atomic_decrement_if_positive
  7823. 2003-03-20 Alexandre Oliva <aoliva@redhat.com>
  7824. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
  7825. with a single instruction.
  7826. * sysdeps/mips/dl-machine.h (ELF_MIPS_GNU_GOT1_MASK): Define
  7827. properly for n64.
  7828. (elf_machine_runtime_setup): Cast link_map pointer to Elf Addr
  7829. type.
  7830. (elf_machine_rel, elf_machine_rel_relative): Cast symidx to Elf
  7831. Word before comparing with gotsym. Take reloc_addr argument as
  7832. void*. Remove the code added for the compiler to drop any
  7833. alignment assumptions.
  7834. 2003-03-19 Ulrich Drepper <drepper@redhat.com>
  7835. * Makefile (distribute): Add include/atomic.h and bits/atomic.h.
  7836. * include/atomic.h: New file.
  7837. * sysdeps/i386/i486/bits/atomic.h: New file.
  7838. * sysdeps/x86_64/bits/atomic.h: New file.
  7839. * sysdeps/s390/bits/atomic.h: New file.
  7840. * sysdeps/sh/bits/atomic.h: New file.
  7841. * sysdeps/ia64/bits/atomic.h: New file.
  7842. * sysdeps/powerpc/bits/atomic.h: New file.
  7843. * sysdeps/generic/bits/atomic.h: New file.
  7844. * sysdeps/i386/i486/atomicity.h: Removed.
  7845. * sysdeps/x86_64/atomicity.h: Removed.
  7846. * sysdeps/s390/s390-32/atomicity.h: Removed.
  7847. * sysdeps/s390/s390-64/atomicity.h: Removed.
  7848. * sysdeps/ia64/atomicity.h: Removed.
  7849. * sysdeps/powerpc/powerpc32/atomicity.h: Removed.
  7850. * sysdeps/powerpc/powerpc64/atomicity.h: Removed.
  7851. * elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
  7852. use of macros from atomicity.h to new names and semantics.
  7853. * gmon_mcount.c: Likewise.
  7854. * malloc/set-freeres.c: Likewise.
  7855. * nscd/cache.c: Likewise.
  7856. * stdlib/cxa_finalize.c: Likewise.
  7857. * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
  7858. 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
  7859. * sysdeps/mips/ieee754.h: New file, suitable to replace both
  7860. ../ieee754/ieee754.h and ../ieee754/ldbl-128/ieee754.h, kept
  7861. mips-specific for now.
  7862. 2003-03-19 Ulrich Drepper <drepper@redhat.com>
  7863. * stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
  7864. hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>.
  7865. * stdlib/tst-strtod.c: Add test for the bug.
  7866. * posix/tst-nice.c (do_test): Remove invalid of return value.
  7867. Don't run test if initial level != 0.
  7868. 2003-03-19 Amos Waterland <apw@us.ibm.com>
  7869. * posix/tst-nice.c: New file.
  7870. * posix/Makefile (tests): Add tst-nice.
  7871. 2003-03-18 Roland McGrath <roland@redhat.com>
  7872. * abilist: New directory of libfoo.abilist files maintained using
  7873. scripts/merge-abilist.awk and "make update-abi" rules.
  7874. * Makefile (distribute): Add abilist/*.abilist.
  7875. * Makerules [$(build-shared) = yes] [$(subdir)] (tests):
  7876. Depend on check-abi.
  7877. * configure.in: Move $critic_missing check after all AC_CHECK_PROG_VER.
  7878. * configure: Regenerated.
  7879. * sysdeps/unix/sysv/linux/syscalls.list (posix_fadvise64): Fix name.
  7880. 2003-03-18 Ulrich Drepper <drepper@redhat.com>
  7881. * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_MONOTONIC_CLOCK
  7882. correctly.
  7883. 2003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
  7884. * sysdeps/powerpc/powerpc64/memcpy.S: New file.
  7885. 2003-03-18 Ulrich Drepper <drepper@redhat.com>
  7886. * Versions.def: Add GLIBC_2.3.3 for libpthread.
  7887. 2003-03-17 Ulrich Drepper <drepper@redhat.com>
  7888. * sysdeps/generic/libc-start.c [!SHARED &&
  7889. !LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
  7890. 2003-03-17 Roland McGrath <roland@redhat.com>
  7891. * include/ctype.h: Revert last change.
  7892. 2003-03-17 Ulrich Drepper <drepper@redhat.com>
  7893. * argp/tst-argp1.c: Use test-skeleton.c.
  7894. * locale/tst-C-locale.c: Likewise.
  7895. 2003-03-17 Alexandre Oliva <aoliva@redhat.com>
  7896. * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
  7897. * sysdeps/mips/mips64/n64/Implies: New file.
  7898. * sysdeps/mips/mips64/n64/Makefile: New file.
  7899. * sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
  7900. * sysdeps/mips/mips64/n32/Implies: New file.
  7901. * sysdeps/mips/mips64/n32/Makefile: New file.
  7902. * sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
  7903. * sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
  7904. * sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
  7905. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
  7906. * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
  7907. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
  7908. * sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
  7909. * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
  7910. * sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
  7911. * sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
  7912. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
  7913. * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
  7914. * sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
  7915. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
  7916. * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
  7917. lib64 for mips64/n64 and lib32 for mips64/n32.
  7918. (ldd_rewrite_script): Needed for all mips64 configurations.
  7919. * sysdeps/unix/sysv/linux/configure: Rebuilt.
  7920. * sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
  7921. * sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
  7922. * sysdeps/mips/machine-gmon.h (MCOUNT): Define for N32 and N64 as
  7923. well.
  7924. * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
  7925. asm/unistd.h into asm-unistd.h.
  7926. * sysdeps/unix/sysv/linux/mips/configure: Generated.
  7927. * sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
  7928. of syscall list.
  7929. * sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
  7930. * sysdeps/unix/sysv/linux/mips/clone.S: Don't include
  7931. asm/unistd.h.
  7932. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
  7933. * sysdeps/unix/sysv/linux/mips/ptrace.c: New file. Use long
  7934. long type for registers on n32.
  7935. * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
  7936. 3 ABIs.
  7937. * sysdeps/mips/mips64/gmp-mparam.h: New file. Define
  7938. BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
  7939. * sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
  7940. (__sigsetjmp_aux): Use them. Adjust for all 3 ABIs.
  7941. * sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
  7942. * sysdeps/unix/mips/brk.S: Likewise.
  7943. * sysdeps/unix/mips/sysdep.S: Likewise.
  7944. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
  7945. * sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
  7946. * sysdeps/mips/sys/ucontext.h: Likewise.
  7947. * sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
  7948. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
  7949. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
  7950. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
  7951. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
  7952. * sysdeps/mips/mips64/setjmp.S: Likewise.
  7953. * sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
  7954. * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
  7955. 64-bit types.
  7956. 2003-03-16 Ulrich Drepper <drepper@redhat.com>
  7957. * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
  7958. not at function level.
  7959. * sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
  7960. 2003-03-15 Roland McGrath <roland@redhat.com>
  7961. * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
  7962. * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
  7963. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
  7964. * nis/nis_table.c (__create_ib_request): Likewise.
  7965. * posix/fnmatch_loop.c: Add casts for signedness.
  7966. * nss/nss_files/files-hosts.c: Likewise.
  7967. * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
  7968. * gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
  7969. * nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
  7970. * configure.in (libc_cv_visibility_attribute): Use AC_TRY_COMMAND,
  7971. get errors into the log file.
  7972. (libc_cv_broken_visibility_attribute): Likewise.
  7973. (libc_cv_broken_alias_attribute): Likewise.
  7974. (libc_cv_asm_weak_directive): Likewise.
  7975. (libc_cv_need_minus_P): Likewise.
  7976. (libc_cv_dot_text): Likewise.
  7977. (libc_cv_asm_global_directive): Likewise.
  7978. (libc_cv_asm_type_prefix): Likewise.
  7979. * configure: Regenerated.
  7980. * nscd/cache.c (cache_search): Give first arg type `request_type'.
  7981. * nscd/nscd.h: Update decl.
  7982. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness.
  7983. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  7984. * elf/dl-close.c (_dl_close): Likewise.
  7985. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t
  7986. * io/fts.c (fts_build): Likewise.
  7987. * elf/cache.c (add_to_cache): Likewise.
  7988. * locale/programs/locarchive.c (show_archive_content): Likewise.
  7989. * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use.
  7990. * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3
  7991. happy.
  7992. (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
  7993. 2003-03-15 Ulrich Drepper <drepper@redhat.com>
  7994. * sysdeps/unix/sysv/linux/ia64/system.c: Use the generic Linux
  7995. code for most parts.
  7996. 2003-03-15 Roland McGrath <roland@redhat.com>
  7997. * sysdeps/unix/sysv/linux/i386/system.c: Moved to ...
  7998. * sysdeps/unix/sysv/linux/system.c: ... here.
  7999. (FORK): Don't #define if already #define'd.
  8000. * sysdeps/unix/sysv/linux/s390/system.c: File removed.
  8001. * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]:
  8002. (__ASSUME_CLONE_THREAD_FLAGS): Define for kernel >= 2.5.64.
  8003. * dlfcn/tst-dlinfo.c: New file.
  8004. * dlfcn/Makefile (tests): Add tst-dlinfo.
  8005. ($(objpfx)tst-dlinfo): New target.
  8006. * dlfcn/dlinfo.c: New file.
  8007. * dlfcn/Makefile (libdl-routines): Add it.
  8008. * dlfcn/Versions (libdl: GLIBC_2.3.3): Add dlinfo.
  8009. * dlfcn/dlfcn.h [__USE_GNU]: Declare dlinfo.
  8010. [__USE_GNU] (RTLD_DI_*): New enum constants.
  8011. [__USE_GNU] (Dl_serpath, Dl_serinfo): New types.
  8012. * elf/dl-load.c (cache_rpath): New inline function.
  8013. (_dl_map_object): Use it.
  8014. (_dl_rtld_di_serinfo): New function.
  8015. * sysdeps/generic/ldsodefs.h: Declare it.
  8016. * elf/Versions (ld: GLIBC_PRIVATE): Add it.
  8017. * sysdeps/powerpc/elf/libc-start.c (AUX_VECTOR_INIT): Define it.
  8018. (LIBC_START_MAIN, LIBC_START_MAIN_AUXVEC_ARG, MAIN_AUXVEC_ARG)
  8019. (INIT_MAIN_ARGS): Define, and #include <sysdeps/generic/libc-start.c>.
  8020. (__libc_start_main): Just call the generic one for most of the work.
  8021. * sysdeps/generic/libc-start.c [LIBC_START_MAIN]: If defined, define a
  8022. static function by that name instead of BP_SYM (__libc_start_main).
  8023. [LIBC_START_MAIN_AUXVEC_ARG]: Take AUXVEC as argument.
  8024. [MAIN_AUXVEC_ARG]: Pass 4th argument to MAIN.
  8025. [INIT_MAIN_ARGS]: Give INIT the same args as MAIN.
  8026. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [DL_PLATFORM_AUXV]:
  8027. Use this macro for extra AT_* cases.
  8028. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_PLATFORM_AUXV):
  8029. New macro, guts from ...
  8030. (__aux_init_cache): ... here, function removed.
  8031. (DL_PLATFORM_INIT): Don't define this.
  8032. * sysdeps/powerpc/powerpc32/memset.S: Put __cache_line_size in bss.
  8033. * sysdeps/powerpc/powerpc64/memset.S: Likewise.
  8034. * Versions.def (libthread_db): Add GLIBC_2.3.3 set.
  8035. 2003-03-14 Roland McGrath <roland@redhat.com>
  8036. * dlfcn/dlerror.c (dlerror): If objname is "", don't put ": " after it.
  8037. 2003-03-14 Jakub Jelinek <jakub@redhat.com>
  8038. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.
  8039. * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
  8040. sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
  8041. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
  8042. * sysdeps/mips/fpu/bits/mathdef.h: New.
  8043. (__NO_LONG_DOUBLE_MATH): Define for o32.
  8044. * sysdeps/mips/sys/asm.h: Formatting changes.
  8045. (PTR, PTRSIZE, PTRLOG): Adjust for all 3 ABIs.
  8046. (CPADD): Define for all of them.
  8047. (SETUP_GP, SETUP_GPX, SETUP_GPX_L, SAVE_GP, SETUP_GP64,
  8048. SETUP_GPX64, SETUP_GPX64_L, RESTORE_GP64, USE_ALT_CP,
  8049. NARGSAVE): Define per ABI spec.
  8050. (END): Don't redefine.
  8051. (LONG_SLL, LONG_SLLV, LONG_SRL, LONG_SRLV, LONG_SRA,
  8052. LONG_SRAV): Remove duplicate definitions.
  8053. (PTR_ADD, PTR_ADDI, PTR_ADDU, PTR_ADDIU, PTR_SUB, PTR_SUBI,
  8054. PTR_SUBU, PTR_SUBIU, PTR_L, PTR_S, PTR_SLL, PTR_SLLV, PTR_SRL,
  8055. PTR_SRLV, PTR_SRA, PTR_SRAV, PTR_SCALESHIFT): Define for n32.
  8056. (PTR_LA): Define for all 3 ABIs.
  8057. * sysdeps/mips/dl-machine.h: Include sys/asm.h.
  8058. (elf_machine_matches_host): Prevent linking of o32 and n32
  8059. together.
  8060. (elf_machine_dynamic): Document assumption on $gp.
  8061. (STRINGXP, STRINGXV, STRINGV_): New macros.
  8062. (elf_machine_load_address): Use them to stringize PTR_LA and
  8063. PTR_SUBU.
  8064. (ELF_DL_FRAME_SIZE, ELF_DL_SAVE_ARG_REGS,
  8065. ELF_DL_RESTORE_ARG_REGS, IFABIO32): New macros used in...
  8066. (_dl_runtime_resolve): Adjust it for all 3 ABIs.
  8067. (__dl_runtime_resolve): Cast the symtab initializer to the
  8068. right type.
  8069. (RTLD_START): Use it. Adjust it for all 3 ABIs.
  8070. (elf_machine_rel): Mark as always_inline in RTLD_BOOTSTRAP.
  8071. Handle 64-bit R_MIPS_REL composite relocation and accept
  8072. R_MIPS_64 relocations to shift addend size to 64 bits.
  8073. Document assumption regarding local GOT entries. Document
  8074. backward-compatibility departing from the ABI behavior in
  8075. applying relocations that reference section symbols, no longer
  8076. used. Support relocations to mis-aligned offsets.
  8077. * sysdeps/mips/mips64/dl-machine.h: Deleted, obsolete.
  8078. * sysdeps/unix/sysv/linux/mips/readelflib.c: New file.
  8079. * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
  8080. (_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
  8081. * sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
  8082. restore_rt functions. Use them.
  8083. * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
  8084. .set mips2 on new abis.
  8085. 2003-03-13 Ulrich Drepper <drepper@redhat.com>
  8086. * posix/getconf.c: Recognize POSIX2_SYMLINKS.
  8087. * sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
  8088. * sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
  8089. * sysdeps/posix/pathconf.c: Likewise.
  8090. * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
  8091. * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
  8092. * sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
  8093. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
  8094. words.
  8095. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
  8096. * include/gmp.h: Include/gmp-mparam.h.
  8097. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
  8098. gmp-impl.h.
  8099. * elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
  8100. ELF_MACHINE_NO_RELA is set.
  8101. * elf/rtld.c (dl_main): No prelink support for REL-only.
  8102. * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32,
  8103. FLAG_MIPS64_LIBN64): Define.
  8104. * elf/cache.c (print_entry): Handle mips64 n32 and n64.
  8105. * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
  8106. * sysdeps/mips/memset.S: Likewise.
  8107. * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
  8108. depending on the ABI.
  8109. * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add):
  8110. Don't .set mips2 on new abi.
  8111. (compare_and_swap): Likewise. Support 64-bit longs on n64.
  8112. * stdlib/fpioconst.h: Include gmp.h with angle brackets.
  8113. 2003-03-13 Roland McGrath <roland@redhat.com>
  8114. * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs
  8115. found. Reported by Alexandre Oliva <aoliva@redhat.com>.
  8116. 2003-03-13 Alexandre Oliva <aoliva@redhat.com>
  8117. * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit
  8118. literals long long.
  8119. * stdlib/fpioconst.c: Likewise.
  8120. * stdlib/strtod.c: Likewise.
  8121. * sysdeps/mips/add_n.S: Use L macro for local labels.
  8122. * sysdeps/mips/addmul_1.S: Likewise.
  8123. * sysdeps/mips/lshift.S: Likewise.
  8124. * sysdeps/mips/memcpy.S: Likewise.
  8125. * sysdeps/mips/memset.S: Likewise.
  8126. * sysdeps/mips/mul_1.S: Likewise.
  8127. * sysdeps/mips/rshift.S: Likewise.
  8128. * sysdeps/mips/sub_n.S: Likewise.
  8129. * sysdeps/mips/submul_1.S: Likewise.
  8130. * sysdeps/mips/mips64/add_n.S: Likewise.
  8131. * sysdeps/mips/mips64/addmul_1.S: Likewise.
  8132. * sysdeps/mips/mips64/lshift.S: Likewise.
  8133. * sysdeps/mips/mips64/mul_1.S: Likewise.
  8134. * sysdeps/mips/mips64/rshift.S: Likewise.
  8135. * sysdeps/mips/mips64/sub_n.S: Likewise.
  8136. * sysdeps/mips/mips64/submul_1.S: Likewise.
  8137. * sysdeps/unix/mips/sysdep.h: Define L() according to ABI
  8138. conventions. Define END as in sys/asm.h.
  8139. * sysdeps/unix/mips/sysdep.S: Likewise.
  8140. * sysdeps/unix/mips/wait.S: Likewise.
  8141. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
  8142. * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double):
  8143. Cast shifted values that may be too narrow to mp_limb_t.
  8144. * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double):
  8145. Likewise.
  8146. * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float):
  8147. Likewise.
  8148. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c
  8149. (__mpn_extract_long_double): Likewise.
  8150. * sysdeps/ieee754/ldbl-128/mpn2ldbl.c
  8151. (__mpn_construct_long_double): Likewise.
  8152. * sysdeps/ieee754/ldbl-96/ldbl2mpn.c
  8153. (__mpn_extract_long_double): Likewise.
  8154. * sysdeps/ieee754/ldbl-96/mpn2ldbl.c
  8155. (__mpn_construct_long_double): Likewise.
  8156. 2003-03-13 Roland McGrath <roland@redhat.com>
  8157. * elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
  8158. entries in the map file match too.
  8159. 2003-03-13 Guido Guenther <agx@sigxcpu.org>
  8160. * sysdeps/unix/sysv/linux/mips/clone.S: introduce and use local
  8161. label .Lthread_start since current binutils don't allow branches
  8162. to globally visible symbols.
  8163. 2003-03-13 Jakub Jelinek <jakub@redhat.com>
  8164. * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
  8165. ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
  8166. ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
  8167. (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
  8168. clobbered by the syscall.
  8169. (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
  8170. ASM_ARGS_6): Change constraints from r to index of corresponding
  8171. output register.
  8172. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
  8173. ptid and ctid to match kernel.
  8174. * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
  8175. 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com>
  8176. * sysdeps/powerpc/powerpc64/elf/configure.in: Remove
  8177. AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64.
  8178. * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
  8179. 2003-03-11 Roland McGrath <roland@redhat.com>
  8180. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
  8181. Check SYM_MAP rather than SYM as definedness check.
  8182. Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs.
  8183. Don't handle R_PPC64_REL24 reloc.
  8184. Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
  8185. * sysdeps/powerpc/powerpc64/dl-machine.h
  8186. [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a
  8187. block, so we cover all the TPREL16* flavors without 6 ||s.
  8188. [USE_TLS] (elf_machine_tprel): New function.
  8189. (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc,
  8190. and handle TPREL16 relocs too. Return rather than break for DTPREL64.
  8191. Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
  8192. 2003-03-11 Ralf Bächle <ralf@linux-mips.org>
  8193. * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal
  8194. instead of jalr to invoke subroutine so restoring the $gp register
  8195. will work properly.
  8196. 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8197. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
  8198. to __NR_pread if not defined.
  8199. (__NR_pwrite64): Define to __NR_pwrite if not defined.
  8200. 2003-03-11 Jakub Jelinek <jakub@redhat.com>
  8201. * sysdeps/unix/sysv/linux/ia64/system.c: New file.
  8202. * sysdeps/unix/sysv/linux/kernel-features.h
  8203. (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
  8204. kernel >= 2.5.64.
  8205. 2003-03-11 Jakub Jelinek <jakub@redhat.com>
  8206. * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
  8207. allocate space even for the trailing '/'.
  8208. Reported by John Reiser <jreiser@BitWagon.com>.
  8209. * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
  8210. ASM_CLOBBERS_6): Define.
  8211. (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
  8212. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
  8213. to match IA-32 order.
  8214. * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
  8215. 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>
  8216. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
  8217. Copy extra params for NPTL to registers used in clone syscall.
  8218. 2003-03-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8219. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct system
  8220. call names for pread and pwrite.
  8221. 2003-03-10 Roland McGrath <roland@redhat.com>
  8222. * dlfcn/Makefile (libdl-routines): Add dladdr1.
  8223. * dlfcn/dladdr1.c: New file.
  8224. * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
  8225. [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
  8226. * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
  8227. a const ElfNN_Sym ** to fill in.
  8228. * include/dlfcn.h: Update decl. Include <link.h>.
  8229. * dlfcn/dladdr.c (dladdr): Update caller.
  8230. * malloc/mtrace.c (tr_where): Likewise.
  8231. * sysdeps/generic/elf/backtracesyms.c: Likewise.
  8232. * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
  8233. * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
  8234. * Versions.def (libdl): Define GLIBC_2.3.3 set.
  8235. * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
  8236. assembler command.
  8237. * sysdeps/unix/Makefile (compile-syscall): New variable.
  8238. Pass -g0 to compiler for assembling syscall stubs from stdin.
  8239. * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
  8240. (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
  8241. Define these to do nothing.
  8242. * configure.in: New check for -g on .S files.
  8243. * configure: Regenerated.
  8244. * config.make.in (have-cpp-asm-debuginfo): New variable.
  8245. * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
  8246. * Makeconfig (ASFLAGS): New variable, if undefined and
  8247. $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
  8248. * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
  8249. 2003-03-09 Roland McGrath <roland@redhat.com>
  8250. * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args
  8251. used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
  8252. 2003-03-09 Ulrich Drepper <drepper@redhat.com>
  8253. * po/fi.po: Update from translation team.
  8254. * po/ca.po: Likewise.
  8255. * po/da.po: Likewise.
  8256. 2003-03-08 Ulrich Drepper <drepper@redhat.com>
  8257. * rt/tst-aio7.c (do_test): Change BYTES into a #define.
  8258. 2003-03-07 Ulrich Drepper <drepper@redhat.com>
  8259. * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
  8260. * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
  8261. 2003-03-07 Roland McGrath <roland@redhat.com>
  8262. * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
  8263. * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
  8264. 2003-03-04 Guido Guenther <agx@sigxcpu.org>
  8265. * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
  8266. stubs, we have INLINE_SYSCALL.
  8267. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
  8268. MAP_NONBLOCK.
  8269. 2003-03-06 Roland McGrath <roland@redhat.com>
  8270. * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
  8271. permanent extent and add a comment about testing its implicit teardown.
  8272. 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8273. * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
  8274. 2003-03-05 Ulrich Drepper <drepper@redhat.com>
  8275. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
  8276. reversed __builtin_expect expectation.
  8277. 2003-03-05 Roland McGrath <roland@redhat.com>
  8278. * stdio-common/sscanf.c: Use prototype defn with ... syntax.
  8279. * libio/swscanf.c: Likewise.
  8280. * libio/swprintf.c: Likewise.
  8281. 2003-03-04 Roland McGrath <roland@redhat.com>
  8282. * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
  8283. (elf_machine_rela): Always use RESOLVE_MAP, needed for
  8284. R_PPC64_JMP_SLOT as well as TLS cases.
  8285. (BIT_INSERT): Move parenthesis where it ought to have been.
  8286. Reported by Steven Munroe <sjmunroe@us.ibm.com>.
  8287. * posix/confstr.c (confstr): Correct STRING_LEN values for
  8288. _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
  8289. break. Reported by Alexandre Julliard <julliard@winehq.com>.
  8290. 2003-03-04 Jakub Jelinek <jakub@redhat.com>
  8291. * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
  8292. 2003-03-04 Ulrich Drepper <drepper@redhat.com>
  8293. * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
  8294. clone parameters.
  8295. * po/sv.po: Update from translation team.
  8296. 2003-03-04 Andreas Jaeger <aj@suse.de>
  8297. Ulrich Drepper <drepper@redhat.com>
  8298. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
  8299. 2003-03-03 Ulrich Drepper <drepper@redhat.com>
  8300. * sysdeps/generic/dl-sysdep.h: Add double include protection.
  8301. * po/tr.po: Update from translation team.
  8302. * elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
  8303. are holes between the segments. Only call mprotect to set
  8304. proection to PROT_NONE if there are some.
  8305. * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
  8306. Update comment.
  8307. * include/sched.h (__clone2): Use ... instead of adding all the
  8308. new parameters.
  8309. 2003-03-03 Roland McGrath <roland@redhat.com>
  8310. * elf/dl-load.c (struct filebuf): Fix typo in last change.
  8311. * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
  8312. PI_STATIC_AND_HIDDEN.
  8313. 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au>
  8314. * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
  8315. flags.
  8316. * include/sched.h: Update clone2 prototype.
  8317. 2003-03-03 Andreas Jaeger <aj@suse.de>
  8318. * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
  8319. (llrint): Use it to correct return type.
  8320. (lrint): Likewise.
  8321. (lround): Likewise.
  8322. (llround): Likewise.
  8323. 2003-03-03 Ulrich Drepper <drepper@redhat.com>
  8324. * elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
  8325. byte filebuf size.
  8326. * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
  8327. if ccs parameter isn't valid. Reported by Andreas Schwab.
  8328. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8329. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
  8330. for system call numbers > 255.
  8331. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
  8332. INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
  8333. INTERNAL_SYSCALL): Likewise.
  8334. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
  8335. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
  8336. INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
  8337. INTERNAL_SYSCALL): Likewise.
  8338. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8339. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
  8340. array if it is the initial dtv.
  8341. 2003-03-03 Ulrich Drepper <drepper@redhat.com>
  8342. * po/es.po: Update from translation team.
  8343. * po/fr.po: Likewise.
  8344. * po/gl.po: Likewise.
  8345. * po/sk.po: Likewise.
  8346. * po/sv.po: Likewise.
  8347. * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
  8348. * misc/sys/mman.h: Add prototype for remap_file_pages.
  8349. * sysdeps/generic/remap_file_pages.c: New file.
  8350. * misc/Makefile (routines): Add remap_file_pages.
  8351. * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
  8352. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
  8353. and MAP_NONBLOCK.
  8354. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  8355. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
  8356. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
  8357. * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
  8358. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
  8359. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
  8360. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
  8361. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
  8362. 2003-03-03 Roland McGrath <roland@redhat.com>
  8363. * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
  8364. * sysdeps/ia64/dl-machine.h: Likewise.
  8365. * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
  8366. argument type.
  8367. * sysdeps/ia64/dl-lookupcfg.h: Update decl.
  8368. * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
  8369. * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
  8370. * locale/Versions (libc: GLIBC_2.3): Move those to ...
  8371. * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
  8372. * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
  8373. * Versions.def (libc): Add GLIBC_2.3.3 set.
  8374. * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
  8375. * sysdeps/ia64/dl-machine.h: Update decl.
  8376. 2003-03-03 Andreas Jaeger <aj@suse.de>
  8377. * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
  8378. 2003-03-02 Roland McGrath <roland@redhat.com>
  8379. * scripts/abilist.awk: Reject data items with apparent 0 size.
  8380. * scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
  8381. after foo.* as if it were a duplicate.
  8382. * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
  8383. 2003-03-02 Ulrich Drepper <drepper@redhat.com>
  8384. * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
  8385. * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
  8386. * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
  8387. if not already defined. Use SYSDEP_GETRES to allow other files to
  8388. provide alternative implementations.
  8389. * sysdeps/unix/sysv/linux/clock_getres.c: New file
  8390. * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
  8391. if not already defined. Use SYSDEP_GETTIME to allow other files to
  8392. provide alternative implementations.
  8393. * sysdeps/unix/sysv/linux/clock_gettime.c: New file.
  8394. * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
  8395. if not already defined. Use SYSDEP_GETTIME to allow other files to
  8396. provide alternative implementations.
  8397. * sysdeps/unix/sysv/linux/clock_settime.c: New file.
  8398. * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
  8399. other files to provide alternative implementations. Rearrange
  8400. tests for invalid parameters.
  8401. * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
  8402. * sysdeps/unix/sysv/linux/sysconf.c: New file.
  8403. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  8404. __ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.
  8405. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
  8406. _POSIX_MONOTONIC_CLOCK.
  8407. 2003-03-02 Roland McGrath <roland@redhat.com>
  8408. * scripts/merge-abilist.awk: More checks for bogus input.
  8409. Uniquify duplicate config names.
  8410. * scripts/abilist.awk: Don't distinguish weak symbols in normal output.
  8411. * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
  8412. from dl_reloc_overflow, make global.
  8413. (__process_machine_rela): Update callers.
  8414. * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
  8415. Add attribute_hidden to __process_machine_rela decl.
  8416. (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
  8417. * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
  8418. variable.
  8419. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
  8420. Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED].
  8421. (elf_machine_rela): Clean up.
  8422. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.
  8423. PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
  8424. * sysdeps/powerpc/powerpc32/elf/configure.in: New file.
  8425. * sysdeps/powerpc/powerpc32/elf/configure: New generated file.
  8426. * elf/tls-macros.h [__powerpc__ && !__powerpc64__]
  8427. (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
  8428. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
  8429. new relocs for TLS.
  8430. * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
  8431. macros out of [SHARED].
  8432. (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
  8433. * elf/elf.h: Define R_PPC_* relocs for TLS support.
  8434. Clean up R_PPC64_* macro definition comments.
  8435. * configure.in: In "running configure fragment for" message,
  8436. omit $srcdir from the name if we prepended it.
  8437. * configure: Regenerated.
  8438. * elf/dl-reloc.c (allocate_static_tls): Fix calculations.
  8439. From Jakub Jelinek <jakub@redhat.com>.
  8440. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
  8441. which duplicated the O_DIRECT defn.
  8442. 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
  8443. * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
  8444. random functions.
  8445. 2003-03-01 Andreas Schwab <schwab@suse.de>
  8446. * resolv/Makefile (tests): Don't depend on
  8447. $(objpfx)mtrace-tst-leaks when cross compiling.
  8448. * sysdeps/m68k/dl-machine.h (_dl_start_user): Access
  8449. __libc_stack_end through GOT since it is a global symbol.
  8450. 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
  8451. * argp/argp.h: Fix a typo.
  8452. Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.
  8453. * manual/terminal.texi: Fix cfmakeraw() definition from int to void.
  8454. 2003-02-27 Pat Rankin <rankin@pactechdata.com>
  8455. * posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
  8456. char *.
  8457. (get_subexp): Likewise.
  8458. 2003-03-01 GOTO Masanori <gotom@debian.or.jp>
  8459. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.
  8460. 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
  8461. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.
  8462. 2003-02-27 Roland McGrath <roland@redhat.com>
  8463. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
  8464. special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
  8465. repeat it and avoids the test for the common case.
  8466. Clean up and fix calculations for TLS relocs.
  8467. * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
  8468. * sysdeps/powerpc/dl-tls.h: ... here.
  8469. (TLS_TP_OFFSET): New macro.
  8470. * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
  8471. 2003-02-27 Ulrich Drepper <drepper@redhat.com>
  8472. * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
  8473. code generation changes in recent gcc.
  8474. 2003-02-26 Steven Munroe <sjmunroe@us.ibm.com>
  8475. * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
  8476. Rename argument to avoid symbol conflict.
  8477. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
  8478. [__USE_GNU] (O_DIRECT): New macro.
  8479. 2003-02-24 David Mosberger <davidm@hpl.hp.com>
  8480. * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
  8481. unwind info.
  8482. 2003-02-27 Ulrich Drepper <drepper@redhat.com>
  8483. * resolv/res_libc.c [USE___THREAD] (_res): Don't need the
  8484. initializer anymore now that res_thread_freeres is more careful.
  8485. * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
  8486. except the PKTINFO. Reset interface in PKTINFO.
  8487. Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
  8488. 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
  8489. * elf/elf.h: Add new R_PPC64_* relocs for TLS.
  8490. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
  8491. Define.
  8492. * sysdeps/powerpc/powerpc64/elf/configure.in: New file.
  8493. * sysdeps/powerpc/powerpc64/elf/configure: New file (generated).
  8494. * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
  8495. * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
  8496. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
  8497. Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
  8498. 2003-02-25 Andreas Jaeger <aj@suse.de>
  8499. * manual/memory.texi (Malloc Tunable Parameters): Clarify
  8500. behaviour of M_MMAP_THRESHOLD.
  8501. 2003-02-25 Roland McGrath <roland@redhat.com>
  8502. * resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
  8503. zero, inidicating _res was not initialized yet.
  8504. 2003-02-24 Ulrich Drepper <drepper@redhat.com>
  8505. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
  8506. test.
  8507. 2003-02-24 Roland McGrath <roland@redhat.com>
  8508. * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
  8509. 2003-02-23 Roland McGrath <roland@redhat.com>
  8510. * sysdeps/posix/pause.c: New file.
  8511. * sysdeps/unix/common/pause.c: File removed.
  8512. 2003-02-23 Ulrich Drepper <drepper@redhat.com>
  8513. * sysdeps/generic/bits/confname.h: Remove #ifs.
  8514. * posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
  8515. * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
  8516. * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
  8517. element to -1.
  8518. 2003-02-22 Ulrich Drepper <drepper@redhat.com>
  8519. * sysdeps/generic/dl-sysdep.c: Avoid warning.
  8520. 2003-02-22 Roland McGrath <roland@redhat.com>
  8521. * resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
  8522. * resolv/Makefile (tests): Add tst-leaks.
  8523. ($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
  8524. (tst-leaks-ENV): New variable.
  8525. ($(objpfx)mtrace-tst-leaks): New target.
  8526. (tests): Depend on it.
  8527. * include/libc-internal.h: Declare __libc_thread_freeres.
  8528. * Makerules: Fix last change to use $($(subdir)-version) when set.
  8529. * Makerules (install-lib-nosubdir): Depend on installed
  8530. libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
  8531. regardless of the libfoo.so target's dependencies.
  8532. * MakeTAGS (sub-make-vars): New variable, includes generating=t.
  8533. Use that in $(MAKE) calls.
  8534. 2003-02-22 Ulrich Drepper <drepper@redhat.com>
  8535. * catgets/gencat.c (read_input_file): Collision between
  8536. auto-assigned numbers and user-defined nubmers is not fatal.
  8537. Handle it.
  8538. Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.
  8539. * catgets/Makefile: Add rules to run test2.msg test.
  8540. * catgets/test2.msg: New file.
  8541. * catgets/gencat.c (main): Return 1 if messages have been printed.
  8542. * iconv/iconv_prog.c (main): Unify messages.
  8543. * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
  8544. when shifting retval.
  8545. * stdlib/tst-strtod.c (main): Add strtold test case.
  8546. Reported by Fred J. Tydeman <tydeman@tybor.com>.
  8547. 2003-02-21 Roland McGrath <roland@redhat.com>
  8548. * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
  8549. * sunrpc/rpc_thread.c: Likewise for text_set_element use.
  8550. (__rpc_thread_destroy): Add it to __libc_subfreeres too.
  8551. * include/resolv.h: Add libc_hidden_proto for __res_nclose.
  8552. * resolv/res_init.c (__res_nclose): Add libc_hidden_def.
  8553. (res_thread_freeres): New function, on __libc_thread_subfreeres and
  8554. __libc_subfreeres.
  8555. * malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
  8556. * malloc/thread-freeres.c: New file.
  8557. * malloc/Makefile (aux): Add it.
  8558. * sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.
  8559. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
  8560. "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.
  8561. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
  8562. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.
  8563. 2003-02-21 Roland McGrath <roland@frob.com>
  8564. * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.
  8565. * iconvdata/Makefile (tests): Add bug-iconv3 only if
  8566. [$(have-thread-library) = yes].
  8567. 2003-02-21 Ulrich Drepper <drepper@redhat.com>
  8568. * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
  8569. * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
  8570. not chechk for errors (unless testing for 32bit variant).
  8571. * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
  8572. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
  8573. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
  8574. 2003-02-21 Jakub Jelinek <jakub@redhat.com>
  8575. * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
  8576. Check for signed overflow, not unsigned.
  8577. * sysdeps/sparc/sparc64/elf/configure.in: New file.
  8578. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
  8579. Use -fcall-used-g6, not -fcall-used-g7.
  8580. 2003-02-21 Andreas Jaeger <aj@suse.de>
  8581. * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
  8582. mode.
  8583. * sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
  8584. clear whole mxcsr but only exceptions.
  8585. 2003-02-21 Roland McGrath <roland@redhat.com>
  8586. * Makerules: Filter $(install-lib-ldscripts) out of list of targets
  8587. for libfoo.so that need $(make-link) rules.
  8588. 2003-02-21 Roland McGrath <roland@frob.com>
  8589. * sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
  8590. to match existing struct stat layout in mig protocols.
  8591. 2003-02-20 Ulrich Drepper <drepper@redhat.com>
  8592. * version.h (VERSION): Bump to 2.3.2.
  8593. * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
  8594. tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
  8595. and dl-sysdep.h.
  8596. * sysdeps/generic/Dist: Add sysdep-cancel.h.
  8597. * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
  8598. * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
  8599. * sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
  8600. * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
  8601. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
  8602. ucontext_i.h.
  8603. * Makefile (distribute): Add include/stubs-prologue.h,
  8604. include/gnu/stubs.h, scripts/merge-abilist.awk, and
  8605. scripts/extract-abilist.awk.
  8606. 2003-02-20 Roland McGrath <roland@redhat.com>
  8607. * math/Makefile (distribute): Don't add generated files.
  8608. 2003-02-20 Ulrich Drepper <drepper@redhat.com>
  8609. * math/Makefile: Rearrange variable definitions slightly to get
  8610. definition in the right order.
  8611. 2003-02-20 Roland McGrath <roland@redhat.com>
  8612. * Makerules: Clean up conditional around include of tls.make.
  8613. * Make-dist: Export generating=t to prevent using that.
  8614. (+distinfo): Likewise for $(shell $(MAKE) ...) runs.
  8615. 2003-02-20 Ulrich Drepper <drepper@redhat.com>
  8616. * inet/rcmd.c (rresvport_af): Avoid using invliad values. Wrap
  8617. around in search if port IPPORT_RESERVED/2 has been test.
  8618. 2003-02-20 Paolo Bonzini <bonzini@gnu.org>
  8619. * posix/regcomp.c: Remove inclusions.
  8620. * posix/regexec.c: Likewise.
  8621. * posix/regex_internal.c: Likewise.
  8622. * posix/regex_internal.h: Add inclusions here.
  8623. * posix/regex.c: Only include sys/types.h before regex.h. Include
  8624. regex_internal.h here. Include regex_internal.c before regcomp.c
  8625. and regexec.c (might expose more opportunities to the C compiler).
  8626. * posix/regcomp.c (parse_expression): Fix construct rejected by SGI CC.
  8627. * posix/regex_internal.h [!_LIBC] (__mempcpy): Fix typo.
  8628. [!_LIBC] (__wcrtomb): New definition.
  8629. [!_LIBC]: Conditionalize enabling of I18N on HAVE_WCSCOLL and
  8630. HAVE_LOCALE_H as well.
  8631. 2003-02-20 Ulrich Drepper <drepper@redhat.com>
  8632. * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Remove obsolete
  8633. patch to check for system call errors.
  8634. 2002-07-24 Philip Blundell <philb@gnu.org>
  8635. * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
  8636. on unknown systems.
  8637. 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  8638. * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
  8639. * sysdeps/unix/sysv/linux/kernel-features.h
  8640. (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
  8641. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
  8642. if possible.
  8643. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
  8644. interprocedure branches.
  8645. * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
  8646. * sysdeps/powerpc/nofpu/Dist: ...here.
  8647. * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
  8648. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
  8649. * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
  8650. * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
  8651. * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
  8652. 2003-02-18 Alan Modra <amodra@bigpond.net.au>
  8653. * sysdeps/powerpc/powerpc32/sysdep.h (HIDDEN_JUMPTARGET): Redefine.
  8654. 2003-02-20 Philip Blundell <philb@gnu.org>
  8655. * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Add
  8656. missing arguments to INTERNAL_SYSCALL_ERROR_P and
  8657. INTERNAL_SYSCALL_ERRNO.
  8658. 2003-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8659. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__real_chown): Test
  8660. for __ASSUME_32BITUIDS.
  8661. 2003-02-20 Andreas Schwab <schwab@suse.de>
  8662. * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add MADV_* and
  8663. POSIX_MADV_* constants.
  8664. 2003-02-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  8665. * sysdeps/unix/sysv/linux/sh/pread.c: New file.
  8666. * sysdeps/unix/sysv/linux/sh/pread64.c: New file.
  8667. * sysdeps/unix/sysv/linux/sh/pwrite.c: New file.
  8668. * sysdeps/unix/sysv/linux/sh/pwrite64.c: New file.
  8669. 2003-02-19 Jiro Sekiba <jir@yamato.ibm.com>
  8670. * iconvdata/utf-16.c (gconv_end): Fix range of low surrogate.
  8671. 2003-02-16 Roland McGrath <roland@redhat.com>
  8672. * signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
  8673. 2003-02-19 Ulrich Drepper <drepper@redhat.com>
  8674. * stdlib/strtod.c (INTERNAL): Up the safety margin for cutting off
  8675. decimal input digits.
  8676. * stdlib/tst-strtod.c (main): Add test for strtof bug.
  8677. 2003-02-18 Ulrich Drepper <drepper@redhat.com>
  8678. * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
  8679. invalid file descriptors and missing access permissions.
  8680. 2003-02-17 Ulrich Drepper <drepper@redhat.com>
  8681. * nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
  8682. been found.
  8683. * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
  8684. TTY_NAME_MAX and not the _POSIX_* minimal value macros.
  8685. * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
  8686. and LOGIN_NAME_MAX.
  8687. 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
  8688. Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  8689. * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
  8690. * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
  8691. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
  8692. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
  8693. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
  8694. 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  8695. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
  8696. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
  8697. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
  8698. * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
  8699. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
  8700. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
  8701. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
  8702. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
  8703. * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
  8704. * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
  8705. * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
  8706. * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
  8707. * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
  8708. * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
  8709. 2003-02-14 Thorsten Kukuk <kukuk@suse.de>
  8710. * nss/getent.c (print_hosts): Print all IP addresses of one host.
  8711. 2003-02-15 Roland McGrath <roland@frob.com>
  8712. * sysdeps/mach/hurd/tls.h: New file.
  8713. * sysdeps/mach/hurd/i386/tls.h: New file.
  8714. * mach/errsystems.awk: Include <errno.h> in generated output.
  8715. * sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
  8716. use target mach-before-compile instead of generated.
  8717. (mach-before-compile): New target.
  8718. * Makerules: Disable use of tls.make if $(generating) is set.
  8719. * mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
  8720. * sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
  8721. mach-shortcuts.h so mach/ generation happens before hurd/.
  8722. 2003-02-14 Ulrich Drepper <drepper@redhat.com>
  8723. * sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
  8724. of demorm correctly if low word is zero.
  8725. Reported by Fred J. Tydeman <tydeman@tybor.com>.
  8726. * math/libm-test.inc (nextafter_test): New test, but disabled due
  8727. to gcc bug.
  8728. * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
  8729. counter and only call __exit_thread if this is not the last thread.
  8730. 2003-02-13 Jakub Jelinek <jakub@redhat.com>
  8731. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
  8732. subtracting map->l_tls_offset.
  8733. 2003-02-12 Ulrich Drepper <drepper@redhat.com>
  8734. * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
  8735. _CS_GNU_LIBPTHREAD_VERSION.
  8736. * posix/conststr.c: Handle these new values.
  8737. * posix/getconf.c: Likewise.
  8738. * sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
  8739. masking of version index.
  8740. Patch by Lance Larsh <Lance.Larsh@oracle.com>.
  8741. 2003-02-11 Ulrich Drepper <drepper@redhat.com>
  8742. * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
  8743. correctly. Reported by Thorsten Kukuk.
  8744. 2003-02-10 Ulrich Drepper <drepper@redhat.com>
  8745. * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
  8746. _BSD_SOURCE to compiler.
  8747. * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
  8748. Patches by Alan Modra.
  8749. 2003-02-08 Ulrich Drepper <drepper@redhat.com>
  8750. * io/ftwtest.c: Get current working directory before and after the
  8751. nftw call and make sure they match.
  8752. 2003-02-08 Jim Meyering <jim@meyering.net>
  8753. * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
  8754. the current directory, not just when DIR contains a slash.
  8755. Reported by Manoj Srivastava.
  8756. 2003-02-07 Jim Meyering <jim@meyering.net>
  8757. * io/ftw.c: Add autoconf-recommended block of alloca-related code.
  8758. Include autoconf-recommended block of dirent/NAMELEN-related
  8759. definitions and includes. Use NAMELEN throughout, rather than
  8760. _D_EXACT_NAMLEN.
  8761. [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
  8762. [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
  8763. (stpcpy): Declare, if necessary.
  8764. (mempcpy): Define, if necessary.
  8765. [!_LIBC] (__stpcpy, __mempcpy): Define.
  8766. [!_LIBC] (LXSTAT, XSTAT): Define.
  8767. (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
  8768. (find_object): Don't use c99-style struct initializer.
  8769. Tweak wording in a couple comments.
  8770. 2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  8771. * elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
  8772. for SH.
  8773. * sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
  8774. after the trapa instruction.
  8775. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
  8776. parameters.
  8777. * sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
  8778. (NEED_SYSCALL_INST_PAD): Define.
  8779. * sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
  8780. avoid to use definition for the kernel.
  8781. * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
  8782. Save and restore the frame pointer.
  8783. (SYSCALL_INST_PAD): Define.
  8784. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
  8785. (INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
  8786. after trapa instruction.
  8787. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
  8788. INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
  8789. 2003-02-07 Jakub Jelinek <jakub@redhat.com>
  8790. * resolv/res_libc.c (_res): Ensure _res is not common symbol,
  8791. so that it can have aliases.
  8792. * inet/herrno.c (h_errno): Put it into .bss not .data section.
  8793. 2003-02-07 Ulrich Drepper <drepper@redhat.com>
  8794. * elf/dl-runtime.c (fixup): Correct typo in version index computation.
  8795. (profile_fixup): Likewise.
  8796. Patch by Lance Larsh <Lance.Larsh@oracle.com>.
  8797. 2002-11-24 Robert Love <rml@tech9.net>
  8798. * posix/sched.h: Second parameter of sched_setaffinity and
  8799. sched_getaffinity is `unsigned int', not `unsigned long'.
  8800. * sysdeps/generic/sched_setaffinity.c: Likewise.
  8801. * sysdeps/generic/sched_getaffinity.c: Likewise.
  8802. 2003-02-05 Ulrich Drepper <drepper@redhat.com>
  8803. * debug/catchsegv.sh: Fix typo in error messsage.
  8804. Reported by John Levon <levon@movementarian.org>.
  8805. * sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
  8806. * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
  8807. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
  8808. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  8809. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
  8810. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  8811. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  8812. * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
  8813. Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
  8814. 2003-02-05 Jim Meyering <jim@meyering.net>
  8815. Fix a heap-corrupting bug.
  8816. * io/ftw.c: Include <limits.h>.
  8817. (PATH_MAX) [!defined PATH_MAX]: Define to 1024.
  8818. (process_entry): Allocate enough space to hold the resulting
  8819. file name. Don't presume that 2*dirbufsize is enough.
  8820. (ftw_startup): Always use PATH_MAX to compute buffer size, now that
  8821. it is guaranteed to be defined.
  8822. 2003-02-04 Ulrich Drepper <drepper@redhat.com>
  8823. * iconvdata/Makefile: Add rules to build and run bug-iconv3.
  8824. * iconvdata/bug-iconv3.c: New file.
  8825. 2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8826. * sysdeps/unix/sysv/linux/s390/system.c: New file.
  8827. 2003-02-03 Jakub Jelinek <jakub@redhat.com>
  8828. * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
  8829. check.
  8830. * config.h.in (BROKEN_SPARC_WDISP22): Add.
  8831. 2003-02-03 Ulrich Drepper <drepper@redhat.com>
  8832. * sysdeps/i386/i686/memmove.S: New file.
  8833. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
  8834. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
  8835. Include kernel-features.h
  8836. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
  8837. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
  8838. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
  8839. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  8840. 2003-02-02 Jakub Jelinek <jakub@redhat.com>
  8841. * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
  8842. 2003-01-25 Jim Meyering <jim@meyering.net>
  8843. * io/ftw.c (object_compare): Compare inode numbers before device
  8844. numbers, since the former are much more likely to differ.
  8845. 2003-02-01 Ulrich Drepper <drepper@redhat.com>
  8846. * time/tzfile.c (__tzfile_compute): Change return value type to
  8847. void. Adjust return statements.
  8848. * include/time.h (__tzfile_compute): Adjust prototype.
  8849. 2003-02-01 Jim Meyering <jim@meyering.net>
  8850. * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
  8851. always returns 1.
  8852. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
  8853. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
  8854. [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
  8855. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
  8856. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
  8857. [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
  8858. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
  8859. [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
  8860. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
  8861. [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
  8862. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  8863. [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
  8864. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
  8865. * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
  8866. back to 2.4.19 for powerpc64.
  8867. * sysdeps/unix/sysv/linux/kernel-features.h
  8868. (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
  8869. (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
  8870. 2003-02-01 Ulrich Drepper <drepper@redhat.com>
  8871. * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
  8872. platforms with strange alignment requirements on wchar_t.
  8873. 2003-01-31 Andreas Schwab <schwab@suse.de>
  8874. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
  8875. aliases, already added by make-syscalls.sh.
  8876. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  8877. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  8878. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  8879. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  8880. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  8881. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  8882. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  8883. * sysdeps/unix/inet/syscalls.list: Likewise.
  8884. * sysdeps/unix/syscalls.list: Likewise.
  8885. 2003-01-31 Andreas Schwab <schwab@suse.de>
  8886. * sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
  8887. any more.
  8888. 2003-01-30 Jakub Jelinek <jakub@redhat.com>
  8889. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
  8890. not l to load tls from stack.
  8891. 2003-01-30 Roland McGrath <roland@redhat.com>
  8892. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
  8893. null argument before all else.
  8894. Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
  8895. 2003-01-30 Jakub Jelinek <jakub@redhat.com>
  8896. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
  8897. Move to RESOLVE protected part of the header.
  8898. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
  8899. Likewise.
  8900. 2003-01-30 Ulrich Drepper <drepper@redhat.com>
  8901. * stdio-common/Makefile (tests): Add bug15.
  8902. (bug15-ENV): Define.
  8903. * stdio-common/bug15.c: New file.
  8904. 2002-10-07 Wolfram Gloger <wg@malloc.de>
  8905. * malloc/malloc.c (sYSMALLOc): Only check for breakage due
  8906. to foreign sbrk()'s if arena is contiguous. Bug report from
  8907. Bruno Haible <bruno@clisp.org>.
  8908. 2003-01-30 Jakub Jelinek <jakub@redhat.com>
  8909. * sysdeps/s390/libc-tls.c: Include stdlib.h.
  8910. 2003-01-30 Jakub Jelinek <jakub@redhat.com>
  8911. * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
  8912. ps.__count.
  8913. 2003-01-30 Ulrich Drepper <drepper@redhat.com>
  8914. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
  8915. restoring of %r6.
  8916. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
  8917. 64-bit load.
  8918. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
  8919. 2003-01-30 Jakub Jelinek <jakub@redhat.com>
  8920. * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
  8921. (allocate_static_tls): ...here. Add __attribute_noinline__.
  8922. Don't return on failure.
  8923. (_dl_reloc_bad_type): Add __attribute_noinline__.
  8924. * elf/do-rel.h (elf_dynamic_do_rel): Add
  8925. __attribute__((always_inline)).
  8926. * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
  8927. elf_machine_rel_relative, elf_machine_rela_relative,
  8928. elf_machine_lazy_rel): Add prototypes with
  8929. __attribute__((always_inline)).
  8930. 2003-01-29 David Mosberger <davidm@hpl.hp.com>
  8931. * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
  8932. 2003-01-29 Roland McGrath <roland@redhat.com>
  8933. * configure.in: Barf if configured in $srcdir.
  8934. 2003-01-28 Steven Munroe <sjmunroe@us.ibm.com>
  8935. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
  8936. (__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
  8937. 2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8938. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
  8939. clone parameters to match the order used on ia32.
  8940. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
  8941. 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8942. * elf/elf.h: Add new s390 relocs.
  8943. * elf/tls-macros.h: Add s390 versions.
  8944. * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
  8945. * sysdeps/s390/dl-tls.h: New file.
  8946. * sysdeps/s390/libc-tls.c: New file.
  8947. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
  8948. relocs for class PLT.
  8949. (elf_machine_rela): Handle TLS relocs.
  8950. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  8951. * sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
  8952. * sysdeps/s390/s390-64/elf/configure.in: Likewise.
  8953. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
  8954. CLONE_CHILD_*TID flags.
  8955. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
  8956. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
  8957. bit offset.
  8958. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
  8959. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
  8960. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
  8961. Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
  8962. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
  8963. Likewise.
  8964. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
  8965. (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
  8966. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
  8967. variants.
  8968. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
  8969. (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
  8970. direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
  8971. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
  8972. variants.
  8973. 2003-01-28 Ulrich Drepper <drepper@redhat.com>
  8974. * sysdeps/unix/common/pause.c (do_pause): New function. Split
  8975. from __libc_pause. Implement using sigsuspend.
  8976. (__libc_pause): Call do_pause to do the real work.
  8977. * sysdeps/posix/sigpause.c (do_sigpause): Check range of
  8978. sig_or_mask parameter is is_sig != 0.
  8979. 2003-01-21 Philip Blundell <philb@gnu.org>
  8980. * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
  8981. 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
  8982. * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
  8983. 2003-01-27 Ulrich Drepper <drepper@redhat.com>
  8984. * stdio-common/bug14.c: Use official name for the locale.
  8985. * stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
  8986. instead of __libc_cleanup_region_start and _IO_cleanup_region_end
  8987. instead of __libc_cleanup_region_end.
  8988. * sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
  8989. as first parameter to __libc_cleanup_region_start.
  8990. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
  8991. (__fe_nomask_env): Use __prctl not prctl.
  8992. * sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
  8993. prctl syscall.
  8994. * elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.
  8995. * elf/dl-open.c (_dl_tls_static_size): Bump to 2048.
  8996. * elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
  8997. wrap-around in test.
  8998. 2003-01-26 Andreas Schwab <schwab@suse.de>
  8999. * sysdeps/wordsize-32/divdi3.c: Export the functions only as
  9000. compatibility symbols. Remove INTDEF for __divdi3.
  9001. * sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
  9002. * sysdeps/powerpc/powerpc32/divdi3.c: Remove.
  9003. * sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
  9004. define.
  9005. * sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.
  9006. 2003-01-24 Jakub Jelinek <jakub@redhat.com>
  9007. * elf/tls-macros.h: Add SPARC 32-bit definitions.
  9008. * sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
  9009. * sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
  9010. for the first half of the header. Include tls.h.
  9011. (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
  9012. relocs too.
  9013. (elf_machine_rela): Handle TLS relocs.
  9014. * sysdeps/sparc/dl-tls.h: New file.
  9015. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
  9016. support.
  9017. * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
  9018. * sysdeps/sparc/sparc32/memchr.S: Likewise.
  9019. * sysdeps/sparc/sparc32/memcpy.S: Likewise.
  9020. * sysdeps/sparc/sparc32/strcat.S: Likewise.
  9021. * sysdeps/sparc/sparc32/strchr.S: Likewise.
  9022. * sysdeps/sparc/sparc32/strcmp.S: Likewise.
  9023. * sysdeps/sparc/sparc32/strcpy.S: Likewise.
  9024. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
  9025. * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
  9026. * sysdeps/sparc/sparc64/memcpy.S: Likewise.
  9027. * sysdeps/sparc/sparc64/stpcpy.S: Likewise.
  9028. * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
  9029. * sysdeps/sparc/sparc64/strcat.S: Likewise.
  9030. * sysdeps/sparc/sparc64/strchr.S: Likewise.
  9031. * sysdeps/sparc/sparc64/strcmp.S: Likewise.
  9032. * sysdeps/sparc/sparc64/strcpy.S: Likewise.
  9033. * sysdeps/sparc/sparc64/strncmp.S: Likewise.
  9034. * sysdeps/sparc/sparc64/strncpy.S: Likewise.
  9035. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
  9036. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
  9037. 2003-01-24 Andreas Schwab <schwab@suse.de>
  9038. * elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
  9039. elements, and process them backwards.
  9040. * elf/Makefile ($(objpfx)tst-array4): New target.
  9041. ($(objpfx)tst-array4.out): Likewise.
  9042. (tests) [$(have-initfini-array) = yes]: Add tst-array4.
  9043. * elf/tst-array4.c: New file.
  9044. * elf/tst-array4.exp: Likewise.
  9045. 2003-01-24 Steven Munroe <sjmunroe@us.ibm.com>
  9046. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.
  9047. 2003-01-27 Guido Guenther <agx@sigxcpu.org>
  9048. * sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
  9049. * sysdeps/unix/sysv/linux/mips/pread.c: Add support for
  9050. cancellation handling and handle both __NR_pread64 and __NR_pread.
  9051. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
  9052. * sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
  9053. cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
  9054. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
  9055. * sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
  9056. case, use register names consistently.
  9057. 2003-01-27 Wolfram Gloger <wg@malloc.de>
  9058. * malloc/hooks.c (mem2chunk_check): Check alignment of mem
  9059. pointer, not of the computed chunk. Bug report from Carlos
  9060. O'Donell <carlos@baldric.uwo.ca>.
  9061. 2003-01-25 Andreas Schwab <schwab@suse.de>
  9062. * sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
  9063. addressing to save GOT entries.
  9064. 2003-01-21 Jakub Jelinek <jakub@redhat.com>
  9065. * sysdeps/unix/alpha/sysdep.h (inline_syscall0,
  9066. inline_syscall1, inline_syscall2, inline_syscall3,
  9067. inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
  9068. * sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
  9069. __attribute__((unused)) to ChEcK.
  9070. 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9071. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL):
  9072. Fix inline assembler constraints.
  9073. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL):
  9074. Likewise.
  9075. * sysdeps/s390/s390-64/Makefile (pic-ccflag): Use -fpic instead of
  9076. -fPIC.
  9077. 2003-01-20 Segher Boessenkool <segher@koffie.nl>
  9078. * sysdeps/ieee754/dbl-64/sincos32.c (__mpcos): Really
  9079. compute the cosine, not the sine, even if x > 0.8.
  9080. 2003-01-19 Ulrich Drepper <drepper@redhat.com>
  9081. * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of
  9082. _nss_nis_setspent. Work around the different prototypes.
  9083. * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use
  9084. internal_nis_endrpcent.
  9085. (internal_nis_endrpcent): Change return type to void. Change callers.
  9086. * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of
  9087. _nss_nis_setpwent. Work around the different prototypes.
  9088. * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body
  9089. of the function to...
  9090. (internal_nis_endprotoent): ... here. New function.
  9091. (internal_nis_setprotoent): Use internal_nis_endprotoent.
  9092. * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of
  9093. _nss_nis_setnetent. Work around the different prototypes.
  9094. * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body
  9095. of the function to...
  9096. (internal_nis_endnetgrent): ... here. New function.
  9097. (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
  9098. 2003-01-19 Jim Meyering <jim@meyering.net>
  9099. * time/strftime.c: (widen): Merge nearly-identical definitions.
  9100. (nl_get_alt_digit) [! defined my_strftime]: Define.
  9101. (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of
  9102. _nl_get_alt_digit and _nl_get_walt_digit.
  9103. 2003-01-19 Ulrich Drepper <drepper@redhat.com>
  9104. * time/strftime.c (my_strftime): Handle very large width
  9105. specifications for numeric values correctly. Improve checks for
  9106. overflow.
  9107. * time/Makefile (tests): Add tst-strftime.
  9108. * time/tst-strftime.c: New file.
  9109. 2003-01-18 Ulrich Drepper <drepper@redhat.com>
  9110. * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of
  9111. _nss_nis_sethostent. Work around the different prototypes.
  9112. * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of
  9113. _nss_nis_setgrent. Work around the different prototypes.
  9114. * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New
  9115. function. Split out from _nss_nis_endetherent.
  9116. (internal_nis_setetherent): Use internal_nis_endetherent instead of
  9117. duplicating the code.
  9118. * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias
  9119. of _nss_nis_setaliasent.
  9120. * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse
  9121. internal_nis_endservent code, don't duplicate it.
  9122. * inet/rexec.c (rexec_af): Protect socket operations with
  9123. TEMP_FAILURE_RETRY. Use writev instead of multiple write.
  9124. * inet/rcmd.c (rcmd_af): Likewise.
  9125. 2003-01-17 Roland McGrath <roland@redhat.com>
  9126. * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
  9127. Add test of value 0.80190127184058835.
  9128. * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn.
  9129. 2003-01-17 Richard Henderson <rth@redhat.com>
  9130. * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Add TLS
  9131. relocs for class PLT.
  9132. * sysdeps/alpha/libc-tls.c: New file.
  9133. * sysdeps/unix/alpha/sysdep.S (EPILOGUE, GPSAVEREG): New.
  9134. (LOADGP) [!PIC]: Rewrite to preserve caller's gp.
  9135. 2003-01-17 Jakub Jelinek <jakub@redhat.com>
  9136. * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Use
  9137. __libc_lock_{,un}lock_recursive instead of __libc_lock_{,un}lock
  9138. on _dl_static_lock.
  9139. 2003-01-17 Andreas Jaeger <aj@suse.de>
  9140. * stdio-common/bug14.c: Include stdlib.h for exit prototype.
  9141. 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com>
  9142. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file.
  9143. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file.
  9144. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file.
  9145. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file.
  9146. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file.
  9147. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
  9148. * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64
  9149. is 2.4.21.
  9150. 2003-01-16 Ulrich Drepper <drepper@redhat.com>
  9151. * sysdeps/generic/glob.c (glob): Assume sysconf() always returns
  9152. values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed
  9153. buffers.
  9154. * sysdeps/generic/sysconf.c: Unconditionally implement
  9155. _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX.
  9156. * sysdeps/posix/sysconf.c: Likewise.
  9157. 2003-01-16 Jakub Jelinek <jakub@redhat.com>
  9158. * posix/regcomp.c (parse_bracket_exp): If build_charclass fails,
  9159. set *err to the returned error, not to REG_ESPACE unconditionally.
  9160. (build_word_op): Likewise.
  9161. * posix/Makefile (tests): Add bug-regex16.
  9162. * posix/bug-regex16.c: New test.
  9163. 2003-01-16 Jakub Jelinek <jakub@redhat.com>
  9164. * elf/dl-load.c (_dl_map_object_from_fd): Use
  9165. GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
  9166. been already initialized.
  9167. 2003-01-15 Dmitry V. Levin <ldv@altlinux.org>
  9168. * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
  9169. 2003-01-16 Jakub Jelinek <jakub@redhat.com>
  9170. * posix/regcomp.c (re_compile_internal): If clearing buffer, clear
  9171. allocated too. Reported by Al Viro <aviro@redhat.com>.
  9172. 2003-01-16 Roland McGrath <roland@redhat.com>
  9173. Tweak merged .abilist file format to merge duplicate symbols in
  9174. different sets into multi-version stanzas with new "| SET regexp..."
  9175. header continuation lines.
  9176. * scripts/merge-abilist.awk: Rewritten for new format.
  9177. * scripts/extract-abilist.awk: Likewise.
  9178. 2003-01-15 Ulrich Drepper <drepper@redhat.com>
  9179. * nscd/connections.c (nscd_run): Remove bogus return which isn't
  9180. necessary with gcc 3.2+.
  9181. (nscd_init): Don't use error() to print message, use dbg_log.
  9182. * iconv/gconv_simple.c (STORE_REST): Explicitly store the total
  9183. expected size into state.
  9184. (UNPACK_BYTES): Do the reverse.
  9185. * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
  9186. * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug.
  9187. Reported by Al Viro <aviro@redhat.com>.
  9188. * stdio-common/Makefile (tests): Add bug14.
  9189. * stdio-common/bug14.c: New file.
  9190. * stdio-common/vfscanf.c: When recognizing multibyte characters in
  9191. string reset the byte counter after mbrtowc reported it is not a
  9192. partial character. Reported by Al Viro <aviro@redhat.com>.
  9193. 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
  9194. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
  9195. sysdep-cancel.h, not sysdep.h.
  9196. 2003-01-15 Ulrich Drepper <drepper@redhat.com>
  9197. * nscd/connections.c (nscd_run): Protect accept call with
  9198. TEMP_FAILURE_RETRY.
  9199. 2003-01-15 Andreas Schwab <schwab@suse.de>
  9200. * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
  9201. (common-generated): Add s-proto-bp.d.
  9202. * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies
  9203. of bp thunks.
  9204. * sysdeps/unix/s-proto-bp.S: New file.
  9205. * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here.
  9206. Use <io/sys/sendfile.h> instead of <sys/sendfile.h>.
  9207. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
  9208. 2003-01-15 Roland McGrath <roland@redhat.com>
  9209. * Makerules: Use -include for tls.make, suppresses warning.
  9210. Move gen-as-const-headers rules up so before-compile is set in time.
  9211. (sed-remove-dotdot): Fix to work right for subdirs or top dir.
  9212. 2003-01-15 Ulrich Drepper <drepper@redhat.com>
  9213. * nscd/nscd.c (main): Make code to close all file descriptors
  9214. faster and more robust.
  9215. * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
  9216. request with one writev call. Protect all read calls with
  9217. TEMP_FAILURE_RETRY.
  9218. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  9219. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
  9220. * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
  9221. Protect writev calls with TEMP_FAILURE_RETRY.
  9222. * nscd/grpcache.c: Likewise.
  9223. * nscd/pwdcache.c: Likewise.
  9224. * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
  9225. IPv6 address in debug output.
  9226. 2003-01-14 Roland McGrath <roland@redhat.com>
  9227. * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
  9228. $(objpfx) directories, and get rid of vpath directives. The previous
  9229. arrangement resulted in files being written to the source directories
  9230. when run in a clean build. Find all .abilist files in $(..)abilist/.
  9231. (update-abi-%): Likewise.
  9232. (generated): Don't add .symlist files, they'll be intermediates.
  9233. * sysdeps/generic/init-first.c: Add a comment.
  9234. * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
  9235. * scripts/gen-as-const.awk: Grok lone "--" as a separator between
  9236. #includes and expressions.
  9237. * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
  9238. config list when it already contains cpu-.*-os.* without / part.
  9239. * Makerules (sed-remove-dotdot): New variable.
  9240. ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
  9241. ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
  9242. (check-abi-config): New variable, append /tls or /notls to the tuple.
  9243. (check-abi-%): Use that for -v config value.
  9244. Find .abilist files in abilist/libfoo.abilist, not in subdir.
  9245. * Rules: Move bits/stdio_lim.h generation rules to Makerules.
  9246. 2003-01-14 Ulrich Drepper <drepper@redhat.com>
  9247. * manual/install.texi: Correct description of header preparation for
  9248. Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
  9249. 2003-01-14 Guido Guenther <agx@sigxcpu.org>
  9250. * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
  9251. INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
  9252. INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
  9253. 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
  9254. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  9255. (INTERNAL_SYSCALL): Make use of ERR parameter.
  9256. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
  9257. INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
  9258. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
  9259. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
  9260. 2003-01-14 Ulrich Drepper <drepper@redhat.com>
  9261. * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
  9262. == IPPROTO_TCP.
  9263. Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
  9264. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
  9265. Fix entry for bit 31.
  9266. * iconvdata/Makefile: Add rules to build IBM866NAV.
  9267. * iconvdata/ibm866nav.c: New file.
  9268. * iconvdata/tst-tables.sh: Add IBM866NAV.
  9269. * iconvdata/gconv-modules: Add entries for IBM866NAV.
  9270. 2003-01-13 Ulrich Drepper <drepper@redhat.com>
  9271. * string/tester.c (test_strcpy): Use the previously #if 0'ed code
  9272. to test void* parameters.
  9273. * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
  9274. source pointer before dereferencing.
  9275. (__STRING_SMALLL_GET32): Likewise.
  9276. (__memset_gc): Add missing parenthesis around macro arguments.
  9277. Patch by Denis Zaitsev <zzz@cd-club.ru>.
  9278. * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
  9279. that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
  9280. 2003-01-14 Jakub Jelinek <jakub@redhat.com>
  9281. * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
  9282. defining.
  9283. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9284. * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
  9285. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
  9286. here.
  9287. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
  9288. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9289. * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
  9290. from here...
  9291. (PSEUDO): ... to here.
  9292. * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
  9293. from here...
  9294. (PSEUDO): ... to here.
  9295. 2003-01-13 Ulrich Drepper <drepper@redhat.com>
  9296. * locale/programs/charmap-dir.c (charmap_readdir): Use struct
  9297. dirent64 instead of struct dirent for dirent. Call readdir64
  9298. instead of readdir.
  9299. * locale/programs/locfile.c (siblings_uncached): Use struct
  9300. dirent64 instead of struct dirent for other_dentry. Call
  9301. readdir64 instead of readdir.
  9302. * elf/ldconfig.c (direntry): Change type to struct dirent64.
  9303. (search_dir): Use readdir64 instead of readdir.
  9304. Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
  9305. 2003-01-12 Roland McGrath <roland@redhat.com>
  9306. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
  9307. not strtol. The former is usable in ld.so, the latter not.
  9308. * include/fcntl.h: Declare __libc_creat.
  9309. * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
  9310. libhurduser-link.so-no-z-defs): New variables.
  9311. * malloc/malloc.c: Revert last change.
  9312. * malloc/malloc.h (_int_*): Move these decls to ...
  9313. * include/malloc.h: ... here. Add attribute_hidden.
  9314. (_int_valloc): Declare it too.
  9315. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
  9316. * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
  9317. search for removed searchlist. Reported by Roland McGrath.
  9318. * io/ftwtest-sh: Add test for case of symlink to nonexisting file
  9319. given as start file.
  9320. * io/ftw.c (ftw_startup): Use correct name in check for symlink
  9321. without existing target. Patch by Jim Meyering.
  9322. * Makerules (build-shlib-helper): Don't use -z defs linker option
  9323. if no-z-defs is defined either.
  9324. 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9325. * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
  9326. file.
  9327. 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
  9328. * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
  9329. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  9330. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
  9331. * io/ftwtest-sh: Add test case for relative path with /. at the end.
  9332. 2003-01-12 Jim Meyering <jim@meyering.net>
  9333. * io/ftw.c (ftw_startup): When trying to stat the starting directory,
  9334. use the basename if we've already chdir'd into its parent directory.
  9335. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
  9336. * io/ftw.c (process_entry): Use relative path when using chdir()
  9337. to change directory after call to ftw_dir.
  9338. * io/ftwtest-sh: Add test for relative path argument to nftw()
  9339. with FTW_CHDIR option.
  9340. 2003-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  9341. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
  9342. Define for powerpc.
  9343. * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
  9344. into account.
  9345. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  9346. (INTERNAL_SYSCALL): Make use of ERR parameter.
  9347. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
  9348. INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
  9349. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
  9350. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
  9351. 2003-01-09 Richard Henderson <rth@redhat.com>
  9352. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
  9353. DTPREL64 and TPREL64 without loadbase applied.
  9354. 2003-01-09 Richard Henderson <rth@redhat.com>
  9355. * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
  9356. for NOT_IN_libc.
  9357. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
  9358. * sysdeps/unix/alpha/sysdep.h: ... here.
  9359. (PSEUDO_LOADGP): Remove.
  9360. (PSEUDO_PROLOGUE): Load GP in non-pic case.
  9361. (SYSCALL_ERROR_LABEL): New.
  9362. (PSEUDO): Use it in error branch.
  9363. (PSEUDO_END): Add $syscall_error label.
  9364. 2003-01-12 Andreas Jaeger <aj@suse.de>
  9365. * math/bits/mathcalls.h: Round is a const function.
  9366. 2003-01-11 Jim Meyering <jim@meyering.net>
  9367. * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
  9368. [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
  9369. Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
  9370. [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
  9371. [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
  9372. [!_LIBC] (internal_function, dirent64, MAX): Define.
  9373. (__set_errno): Define if not already defined.
  9374. (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
  9375. the basename, not the entire file name.
  9376. (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
  9377. the basename, not the entire file name.
  9378. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
  9379. * string/tester.c (test_strcpy): Disable last added strcpy until
  9380. it is fixed.
  9381. 2003-01-11 Philip Blundell <philb@gnu.org>
  9382. * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
  9383. 2003-01-11 Andreas Schwab <schwab@suse.de>
  9384. * Makerules: Add vpath for %.dynsym and %.so so that the
  9385. implicit rule chaining for check-abi works.
  9386. 2003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  9387. * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
  9388. Add non-PIC case.
  9389. 2003-01-11 Jakub Jelinek <jakub@redhat.com>
  9390. * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
  9391. [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
  9392. gp is used early.
  9393. [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
  9394. * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
  9395. Ensure libc.so in DT_NEEDED.
  9396. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
  9397. CHECK_STATIC_TLS before l_tls_offset use.
  9398. * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
  9399. Likewise.
  9400. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  9401. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
  9402. Allocate TLS_PRE_TCB_SIZE bytes below result.
  9403. (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
  9404. * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
  9405. TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
  9406. segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
  9407. bytes below result and add tcb_offset to memsz.
  9408. * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
  9409. * sysdeps/ia64/dl-machine.h: Include tls.h.
  9410. (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
  9411. too.
  9412. (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
  9413. Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
  9414. * sysdeps/ia64/libc-tls.c: New file.
  9415. 2003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
  9416. * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
  9417. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
  9418. Fix type. Move definition out of #if.
  9419. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
  9420. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
  9421. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
  9422. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
  9423. * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
  9424. * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
  9425. support.
  9426. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
  9427. ftruncate64, pread64, pwrite64, truncate64 entries.
  9428. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
  9429. (INLINE_SYSCALL): New version that supports function call like
  9430. syscalls. Add __builtin_expect.
  9431. (LOADARGS_n): Add argument size safety checks.
  9432. (INTERNAL_SYSCALL): New Macro.
  9433. * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
  9434. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
  9435. redefinition of elf_fpreg_t and elf_fpregset_t.
  9436. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
  9437. * elf/dl-close.c (_dl_close): Add several asserts. Correct and
  9438. simplify test for unloading. If loader of a DSO is unloaded do not
  9439. use its scope anymore. Fall back to own scope and adjust opencounts.
  9440. Fix several comments.
  9441. * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
  9442. the l_searchlist, not only for l_initfini.
  9443. * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
  9444. dependencies if objects cannot be removed. Remove object with the
  9445. definition as not unloadable if necessary.
  9446. * elf/reldep6.c: Create relocation dependency before closing the first
  9447. module.
  9448. 2003-01-10 Guido Günther <agx@sigxcpu.org>
  9449. * sysdeps/unix/mips/fork.S: Add PSEUDO_END.
  9450. * sysdeps/unix/mips/brk.S: Likewise.
  9451. * sysdeps/unix/mips/pipe.S: Likewise.
  9452. 2003-01-10 Andreas Schwab <schwab@suse.de>
  9453. * sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file.
  9454. * sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which
  9455. are known to have the vfork syscall.
  9456. * sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it.
  9457. * sysdeps/unix/sysv/linux/kernel-features.h
  9458. (__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL)
  9459. (__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64)
  9460. (__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12.
  9461. 2003-01-09 Jakub Jelinek <jakub@redhat.com>
  9462. * elf/Makefile: Add rules to build and run reldep9 test.
  9463. * elf/reldep9.c: New file.
  9464. * elf/reldep9mod1.c: New file.
  9465. * elf/reldep9mod2.c: New file.
  9466. * elf/reldep9mod3.c: New file.
  9467. 2003-01-09 Jakub Jelinek <jakub@redhat.com>
  9468. * elf/Makefile: Add rules to build and run nodelete2 test.
  9469. * elf/nodelete2.c: New file.
  9470. * elf/nodel2mod1.c: New file.
  9471. * elf/nodel2mod2.c: New file.
  9472. * elf/nodel2mod3.c: New file.
  9473. 2003-01-09 Jakub Jelinek <jakub@redhat.com>
  9474. * posix/test-vfork.c (noop): Add __attribute_noinline__.
  9475. * sysdeps/generic/sysdep.h (JUMPTARGET): Define if not defined.
  9476. * sysdeps/i386/sysdep.h (JUMPTARGET): Undefine JUMPTARGET before
  9477. defining it.
  9478. * sysdeps/powerpc/powerpc32/sysdep.h (JUMPTARGET): Likewise.
  9479. * sysdeps/powerpc/powerpc64/sysdep.h (JUMPTARGET): Likewise.
  9480. * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Likewise.
  9481. * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Likewise.
  9482. * sysdeps/x86_64/sysdep.h (JUMPTARGET): Likewise.
  9483. 2003-01-09 Andreas Schwab <schwab@suse.de>
  9484. * sysdeps/m68k/fpu/libm-test-ulps: Regenerated.
  9485. 2003-01-08 Ulrich Drepper <drepper@redhat.com>
  9486. * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL,
  9487. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
  9488. argument.
  9489. (INTERNAL_SYSCALL_DECL): Define.
  9490. 2003-01-06 Jakub Jelinek <jakub@redhat.com>
  9491. * sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL,
  9492. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
  9493. argument.
  9494. (INTERNAL_SYSCALL_DECL): Define.
  9495. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
  9496. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
  9497. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
  9498. (INLINE_SYSCALL): Adjust.
  9499. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
  9500. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  9501. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
  9502. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  9503. * elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL,
  9504. add err argument to INTERNAL_SYSCALL* macros.
  9505. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
  9506. * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise.
  9507. * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
  9508. * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize):
  9509. Likewise.
  9510. * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise.
  9511. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use
  9512. INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno.
  9513. 2003-01-07 Ulrich Drepper <drepper@redhat.com>
  9514. Unify symbols in user namespace exported by libc.so and libc.a.
  9515. * argp/argp-fmtstream.c: Don't define argp_make_fmtstream,
  9516. argp_fmtstream_free, and argp_fmtstream_printf.
  9517. * argp/argp-fs-xinl.c: Don't define argp_fmtstream_putc,
  9518. argp_fmtstream_puts, argp_fmtstream_write, argp_fmtstream_set_lmargin,
  9519. argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, and
  9520. argp_fmtstream_point.
  9521. * gmon/gmon.c: Don't define write_profiling.
  9522. * libio/genops.c: Don't define _cleanup.
  9523. * intl/explodename.c (_nl_find_language.c): Mark as static.
  9524. * intl/loadinfo.h: Remove _nl_find_language prototype.
  9525. * libio/fileops.c (_IO_file_seekoff_maybe_mmap): Mark as static.
  9526. * libio/libioP.h: Remove declaration.
  9527. * libio/iopopen.c (_IO_proc_jumps): Mark as static.
  9528. * libio/libioP.h: Remove declaration.
  9529. * sysdeps/generic/unwind-dw2.c: Mark __frame_state_for with STATIC.
  9530. * sysdeps/generic/framestate.c: Define STATIC before including
  9531. unwind-dw2.c.
  9532. * time/Versions [GLIBC_2.3.2] (libc): Export strptime_l.
  9533. 2003-01-06 Philip Blundell <philb@gnu.org>
  9534. * sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little.
  9535. [__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
  9536. * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type
  9537. directive.
  9538. (PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
  9539. (SYSCALL_ERROR): New.
  9540. (SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
  9541. handling code.
  9542. (INTERNAL_SYSCALL): Define.
  9543. (INLINE_SYSCALL): Use it.
  9544. (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
  9545. * sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
  9546. SYSCALL_ERROR in place of __syscall_error.
  9547. 2003-01-07 Jakub Jelinek <jakub@redhat.com>
  9548. * sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
  9549. __bswap_32, __bswap_64): Put x into temporary variable
  9550. to avoid warnings.
  9551. [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
  9552. (inline) functions.
  9553. * sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
  9554. __bswap_32, __bswap_64): Put x into temporary variable
  9555. to avoid warnings.
  9556. [!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
  9557. (inline) functions.
  9558. * sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32):
  9559. Likewise.
  9560. 2003-01-07 Jakub Jelinek <jakub@redhat.com>
  9561. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
  9562. alias.
  9563. 2003-01-07 Jakub Jelinek <jakub@redhat.com>
  9564. * elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer.
  9565. * elf/dl-support.c (_dl_dynamic_weak): Initialize to 0.
  9566. 2003-01-07 Ulrich Drepper <drepper@redhat.com>
  9567. * math/libm-test.inc (significand_test): New function.
  9568. (main): Call it.
  9569. 2003-01-06 Roland McGrath <roland@redhat.com>
  9570. * sysdeps/i386/i486/bits/string.h (memset): Add parens around macro
  9571. arguments.
  9572. (memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise.
  9573. (strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise.
  9574. (index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise.
  9575. * string/tester.c (test_strcpy): Add test with `void *' arguments.
  9576. 2003-01-06 Ulrich Drepper <drepper@redhat.com>
  9577. * sysdeps/i386/fpu/s_significandl.c (__significandl): Really
  9578. return significand and not the exponent.
  9579. Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
  9580. * elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explicitly
  9581. taking address of iov in INTERNAL_SYSCALL call. Patch by Franz Sirl.
  9582. * malloc/malloc.c: Mark all _int_* functions as static.
  9583. 2003-01-06 Jakub Jelinek <jakub@redhat.com>
  9584. * sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS.
  9585. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation
  9586. handling.
  9587. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
  9588. 2003-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  9589. * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint.
  9590. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation
  9591. support.
  9592. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove
  9593. ftruncate64, truncate64, pread64 and pwrite64 entries.
  9594. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  9595. (INLINE_SYSCALL): Add __builtin_expect.
  9596. (LOADARGS_n): Add argument size safety checks.
  9597. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file.
  9598. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file.
  9599. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file.
  9600. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file.
  9601. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file.
  9602. * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file.
  9603. 2003-01-06 Jakub Jelinek <jakub@redhat.com>
  9604. * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define.
  9605. * sysdeps/generic/creat.c: Include sysdep-cancel.h.
  9606. (LIBC_CANCEL_HANDLED): Add.
  9607. * sysdeps/unix/sysv/linux/alpha/sysdep.h
  9608. (inline_syscall_r0_constraint): Rename to...
  9609. (inline_syscall_r0_out_constraint): ... this. Add =.
  9610. (inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
  9611. 2003-01-06 Andreas Schwab <schwab@suse.de>
  9612. * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make
  9613. sure this is always inlined.
  9614. (elf_machine_rela): Likewise.
  9615. * sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit.
  9616. 2003-01-04 Roland McGrath <roland@redhat.com>
  9617. * Makeconfig (+mkdep): Add -MP flag.
  9618. Suggested by Art Haas <ahaas@airmail.net>.
  9619. 2003-01-05 Andreas Schwab <schwab@suse.de>
  9620. * sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
  9621. 2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  9622. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
  9623. SYSCALL_ERROR_HANDLER.
  9624. * sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
  9625. * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
  9626. Add support for cancellation handling.
  9627. * sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
  9628. SYSCALL_ERROR_HANDLER.
  9629. * sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
  9630. * sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
  9631. Add support for cancellation handling.
  9632. (SYSCALL_ERROR_HANDLER): Define PIC variants.
  9633. 2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  9634. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
  9635. __syscall_pread64 and __syscall_pwrite64 cancelable.
  9636. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
  9637. (INTERNAL_SYSCALL): New macro.
  9638. (LOADARGS_0, LOADARGS_1): Fix.
  9639. 2003-01-05 Ulrich Drepper <drepper@redhat.com>
  9640. * Makerules (build-shlip-helper): Unless told otherwise, add
  9641. -Wl,-z,defs to linker command line.
  9642. * rt/Makefile (librt.so): Link with ld.so.
  9643. * dlfcn/Makefile (libdl.so): Likewise.
  9644. 2003-01-05 Jakub Jelinek <jakub@redhat.com>
  9645. * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for
  9646. cancellation handling.
  9647. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
  9648. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.
  9649. 2003-01-04 Ulrich Drepper <drepper@redhat.com>
  9650. * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct
  9651. order of parameters passed to kill.
  9652. 2003-01-04 Andreas Schwab <schwab@suse.de>
  9653. * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.
  9654. 2003-01-03 Paul Eggert <eggert@twinsun.com>
  9655. * malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
  9656. (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
  9657. when compiling Bison 1.875's `bitset bset = obstack_alloc
  9658. (bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
  9659. 2003-01-04 Ulrich Drepper <drepper@redhat.com>
  9660. * sysdeps/posix/system.c (do_system): Minor optimizations. Remove
  9661. unnecessary code.
  9662. Correct reference counter in case SIGQUIT handler installation failed.
  9663. 2003-01-03 Ulrich Drepper <drepper@redhat.com>
  9664. * include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern):
  9665. Define using _Pragma(weak ...).
  9666. 2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
  9667. * resolv/res_libc.c: Provide declaration for __res_init_weak and
  9668. reorder declarations.
  9669. 2003-01-03 Art Haas <ahaas@airmail.net>
  9670. * localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
  9671. initializer syntax to C99.
  9672. * localedata/tests-mbwc/dat_iswalpha.c: Likewise.
  9673. * localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
  9674. * localedata/tests-mbwc/dat_iswctype.c: Likewise.
  9675. * localedata/tests-mbwc/dat_iswdigit.c: Likewise.
  9676. * localedata/tests-mbwc/dat_iswgraph.c: Likewise.
  9677. * localedata/tests-mbwc/dat_iswlower.c: Likewise.
  9678. * localedata/tests-mbwc/dat_iswprint.c: Likewise.
  9679. * localedata/tests-mbwc/dat_iswpunct.c: Likewise.
  9680. * localedata/tests-mbwc/dat_iswspace.c: Likewise.
  9681. * localedata/tests-mbwc/dat_iswupper.c: Likewise.
  9682. * localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
  9683. * localedata/tests-mbwc/dat_mblen.c: Likewise.
  9684. * localedata/tests-mbwc/dat_mbrlen.c: Likewise.
  9685. * localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
  9686. * localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
  9687. * localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
  9688. * localedata/tests-mbwc/dat_mbtowc.c: Likewise.
  9689. * localedata/tests-mbwc/dat_strcoll.c: Likewise.
  9690. * localedata/tests-mbwc/dat_strfmon.c: Likewise.
  9691. * localedata/tests-mbwc/dat_strxfrm.c: Likewise.
  9692. * localedata/tests-mbwc/dat_swscanf.c: Likewise.
  9693. * localedata/tests-mbwc/dat_towctrans.c: Likewise.
  9694. * localedata/tests-mbwc/dat_towlower.c: Likewise.
  9695. * localedata/tests-mbwc/dat_towupper.c: Likewise.
  9696. * localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
  9697. * localedata/tests-mbwc/dat_wcscat.c: Likewise.
  9698. * localedata/tests-mbwc/dat_wcschr.c: Likewise.
  9699. * localedata/tests-mbwc/dat_wcscmp.c: Likewise.
  9700. * localedata/tests-mbwc/dat_wcscoll.c: Likewise.
  9701. * localedata/tests-mbwc/dat_wcscpy.c: Likewise.
  9702. * localedata/tests-mbwc/dat_wcscspn.c: Likewise.
  9703. * localedata/tests-mbwc/dat_wcslen.c: Likewise.
  9704. * localedata/tests-mbwc/dat_wcsncat.c: Likewise.
  9705. * localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
  9706. * localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
  9707. * localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
  9708. * localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
  9709. * localedata/tests-mbwc/dat_wcsspn.c: Likewise.
  9710. * localedata/tests-mbwc/dat_wcsstr.c: Likewise.
  9711. * localedata/tests-mbwc/dat_wcstod.c: Likewise.
  9712. * localedata/tests-mbwc/dat_wcstok.c: Likewise.
  9713. * localedata/tests-mbwc/dat_wcstombs.c: Likewise.
  9714. * localedata/tests-mbwc/dat_wcswidth.c: Likewise.
  9715. * localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
  9716. * localedata/tests-mbwc/dat_wctob.c: Likewise.
  9717. * localedata/tests-mbwc/dat_wctomb.c: Likewise.
  9718. * localedata/tests-mbwc/dat_wctrans.c: Likewise.
  9719. * localedata/tests-mbwc/dat_wctype.c: Likewise.
  9720. * localedata/tests-mbwc/dat_wcwidth.c: Likewise.
  9721. 2003-01-03 Richard Henderson <rth@redhat.com>
  9722. * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
  9723. (inline_syscall_r0_constraint): New.
  9724. (inline_syscall[0-6]): Use them.
  9725. 2003-01-03 Jakub Jelinek <jakub@redhat.com>
  9726. * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
  9727. Add rtld_hidden_proto.
  9728. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
  9729. (_dl_allocate_tls): Likewise. Remove INTDEF.
  9730. 2002-07-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  9731. * sysdeps/sh/memcpy.S: Optimize. Based on a patch by Toshiyasu
  9732. Morita <toshiyasu.morita@hsa.hitachi.com>.
  9733. * sysdeps/sh/memcpy.S: Likewise.
  9734. 2003-01-02 Ulrich Drepper <drepper@redhat.com>
  9735. * sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove
  9736. any, but unify the test.
  9737. 2003-01-02 Jakub Jelinek <jakub@redhat.com>
  9738. * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
  9739. sigaction): Protect weak_alias and libc_hidden_weak with
  9740. #ifndef LIBC_SIGACTION.
  9741. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
  9742. sigaction): Likewise.
  9743. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
  9744. sigaction): Likewise.
  9745. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
  9746. sigaction): Likewise.
  9747. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
  9748. sigaction): Likewise.
  9749. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
  9750. sigaction): Likewise.
  9751. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
  9752. sigaction): Likewise.
  9753. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
  9754. sigaction): Likewise. Remove SIGCANCEL handling here.
  9755. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
  9756. Likewise.
  9757. 2003-01-02 Art Haas <ahaas@airmail.net>
  9758. * login/tst-utmp.c: Convert GCC extension initializer syntax to C99.
  9759. 2003-01-02 Ulrich Drepper <drepper@redhat.com>
  9760. * posix/getconf.c: Update copyright year.
  9761. * nss/getent.c: Likewise.
  9762. * nscd/nscd_nischeck.c: Likewise.
  9763. * iconv/iconvconfig.c: Likewise.
  9764. * iconv/iconv_prog.c: Likewise.
  9765. * elf/ldconfig.c: Likewise.
  9766. * catgets/gencat.c: Likewise.
  9767. * csu/version.c: Likewise.
  9768. * elf/ldd.bash.in: Likewise.
  9769. * elf/sprof.c (print_version): Likewise.
  9770. * locale/programs/locale.c: Likewise.
  9771. * locale/programs/localedef.c: Likewise.
  9772. * nscd/nscd.c (print_version): Likewise.
  9773. * debug/xtrace.sh: Likewise.
  9774. * malloc/memusage.sh: Likewise.
  9775. * malloc/mtrace.pl: Likewise.
  9776. 2003-01-01 Jakub Jelinek <jakub@redhat.com>
  9777. * io/sys/stat.h: Include time.h with __need_timespec even if
  9778. __USE_MISC is defined but __USE_XOPEN is not.
  9779. 2003-01-01 Andreas Jaeger <aj@suse.de>
  9780. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
  9781. type to avoid strict aliasing problem.
  9782. (_nss_dns_gethostbyname2_r): Likewise.
  9783. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
  9784. (_nss_dns_getnetbyname_r): Likewise.
  9785. * resolv/gethnamaddr.c (_gethtent): Likewise.
  9786. (gethostbyname2): Likewise.
  9787. 2002-12-31 Ulrich Drepper <drepper@redhat.com>
  9788. * string/string-inlines.c: Define __memcpy_g and __strchr_g macros
  9789. to avoid using the exported symbols. Define aliases with the
  9790. original names separately.
  9791. * include/time.h: Add libc_hidden_proto for __strftime_l.
  9792. * include/wchar.h: Add libc_hidden_proto for __wcsftime_l.
  9793. * time/strftime.c: Always use libc_hidden_def if _LIBC.
  9794. * libio/libioP.h: Add libc_hidden_proto for _IO_file_open.
  9795. * libio/fileops.c: Add libc_hidden_def for _IO_file_open.
  9796. * malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for
  9797. tr_break.
  9798. * csu/Makefile (routines): Add dso_handle.
  9799. * csu/dso_handle.c: New file.
  9800. 2002-12-31 Roland McGrath <roland@redhat.com>
  9801. * Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
  9802. Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
  9803. (S-CPPFLAGS): Add -DASSEMBLER here instead.
  9804. (generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).
  9805. 2002-12-31 Ulrich Drepper <drepper@redhat.com>
  9806. * malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
  9807. is available.
  9808. 2002-12-31 Andreas Jaeger <aj@suse.de>
  9809. * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
  9810. with Linux kernel.
  9811. * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
  9812. * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
  9813. * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
  9814. * sysdeps/unix/sysv/linux/kernel_stat.h
  9815. (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
  9816. * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
  9817. __unused[1-3] since they're needed by some platforms. Handle
  9818. _HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
  9819. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
  9820. for structs stat and stat64.
  9821. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  9822. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  9823. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  9824. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  9825. * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
  9826. * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
  9827. nsec resolution changes.
  9828. (xstat64_conv): Likewise.
  9829. (xstat32_conv): Likewise.
  9830. * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
  9831. struct kernel_stat.
  9832. * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
  9833. structs stat and stat64.
  9834. * time/time.h (__timespec_defined): Define for __USE_MISC.
  9835. 2002-12-31 Ulrich Drepper <drepper@redhat.com>
  9836. * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
  9837. and __libc_current_sigrtmax.
  9838. 2002-12-31 Jakub Jelinek <jakub@redhat.com>
  9839. * include/errno.h (__errno_location): Add prototype.
  9840. Use libc_hidden_proto unconditionally.
  9841. * include/netdb.h (__h_errno_location): Use libc_hidden_proto
  9842. unconditionally.
  9843. * include/resolv.h (__res_state): Likewise.
  9844. * hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
  9845. * include/sys/socket.h (accept): Add libc_hidden_proto.
  9846. * include/errno.h (__errno_location): Likewise.
  9847. * include/netdb.h (__h_errno_location): Likewise.
  9848. * include/resolv.h (__res_state): Likewise.
  9849. * include/unistd.h (__lseek): Likewise.
  9850. * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
  9851. * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
  9852. * sysdeps/generic/res-state.c (__res_state): Likewise.
  9853. * sysdeps/generic/accept.c (accept): Likewise.
  9854. * sysdeps/generic/lseek.c (__lseek): Likewise.
  9855. * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
  9856. __libc_current_sigrtmax): Likewise.
  9857. * sysdeps/mach/hurd/accept.c (accept): Likewise.
  9858. * sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
  9859. * sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
  9860. * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
  9861. * sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
  9862. * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
  9863. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
  9864. * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
  9865. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
  9866. alias to llseek.
  9867. (__GI_accept): New alias to accept.
  9868. * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
  9869. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
  9870. New alias to llseek.
  9871. (__GI_accept): New alias to accept.
  9872. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
  9873. Likewise.
  9874. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
  9875. Likewise.
  9876. * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.
  9877. * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
  9878. strong_alias (name, __GI_name).
  9879. * sysdeps/arm/bsd-_setjmp.S : Likewise.
  9880. * sysdeps/hppa/bsd-_setjmp.S : Likewise.
  9881. * sysdeps/i386/bsd-_setjmp.S : Likewise.
  9882. * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
  9883. * sysdeps/mips/bsd-_setjmp.S : Likewise.
  9884. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
  9885. * sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
  9886. * sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
  9887. * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
  9888. * sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
  9889. * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
  9890. * sysdeps/sh/bsd-_setjmp.S : Likewise.
  9891. * sysdeps/sparc/sparc32/setjmp.S : Likewise.
  9892. * sysdeps/unix/arm/fork.S : Likewise.
  9893. * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
  9894. * sysdeps/unix/bsd/i386/vfork.S : Likewise.
  9895. * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
  9896. * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
  9897. * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
  9898. * sysdeps/unix/bsd/vax/vfork.S : Likewise.
  9899. * sysdeps/unix/i386/fork.S : Likewise.
  9900. * sysdeps/unix/mips/fork.S : Likewise.
  9901. * sysdeps/unix/sparc/fork.S : Likewise.
  9902. * sysdeps/unix/sparc/vfork.S : Likewise.
  9903. * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
  9904. * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
  9905. * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
  9906. * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
  9907. * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
  9908. * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
  9909. * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
  9910. * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
  9911. * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
  9912. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
  9913. * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
  9914. * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
  9915. * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
  9916. * sysdeps/unix/fork.S : Likewise.
  9917. * sysdeps/vax/bsd-_setjmp.S : Likewise.
  9918. * sysdeps/x86_64/bsd-_setjmp.S : Likewise.
  9919. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
  9920. inclusion.
  9921. 2002-12-31 Ulrich Drepper <drepper@redhat.com>
  9922. * include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
  9923. * sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
  9924. * sysdeps/mach/hurd/fork.c: Likewise.
  9925. * sysdeps/unix/sysv/aix/fork.c: Likewise.
  9926. * sysdeps/unix/fork.S: Add __GI___fork alias.
  9927. * sysdeps/unix/arm/fork.S: Likewise.
  9928. * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
  9929. * sysdeps/unix/i386/fork.S: Likewise.
  9930. * sysdeps/unix/mips/fork.S: Likewise.
  9931. * sysdeps/unix/sparc/fork.S: Likewise.
  9932. * sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
  9933. * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
  9934. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  9935. * sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
  9936. * sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
  9937. * sysdeps/unix/bsd/i386/vfork.S: Likewise.
  9938. * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
  9939. * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
  9940. * sysdeps/unix/bsd/vax/vfork.S: Likewise.
  9941. * sysdeps/unix/sparc/vfork.S: Likewise.
  9942. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
  9943. * sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
  9944. * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
  9945. * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
  9946. * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
  9947. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
  9948. * sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
  9949. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
  9950. * include/time.h: Add libc_hidden_proto for __nanosleep.
  9951. * sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
  9952. * sysdeps/mach/nanosleep.c: Likewise.
  9953. * sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
  9954. * sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.
  9955. * libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
  9956. _IO_list_unlock, and _IO_list_resetlock.
  9957. * libio/genops.c: Add libc_hidden_def for _IO_list_lock,
  9958. _IO_list_unlock, and _IO_list_resetlock.
  9959. * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
  9960. _IO_iter_end, _IO_iter_next, and _IO_iter_file.
  9961. * libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
  9962. _IO_iter_end, _IO_iter_next, and _IO_iter_file.
  9963. * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
  9964. * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
  9965. * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
  9966. __GI___longjmp alias.
  9967. * include/setjmp.h: Add libc_hidden_proto for _setjmp.
  9968. * sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
  9969. * sysdeps/arm/bsd-_setjmp.S: Likewise.
  9970. * sysdeps/generic/bsd-_setjmp.c: Likewise.
  9971. * sysdeps/hppa/bsd-_setjmp.S: Likewise.
  9972. * sysdeps/i386/bsd-_setjmp.S: Likewise.
  9973. * sysdeps/m68k/bsd-_setjmp.c: Likewise.
  9974. * sysdeps/mips/bsd-_setjmp.S: Likewise.
  9975. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
  9976. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
  9977. * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
  9978. * sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
  9979. * sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
  9980. * sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
  9981. * sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
  9982. * sysdeps/sh/bsd-_setjmp.S: Likewise.
  9983. * sysdeps/sparc/sparc32/setjmp.S: Likewise.
  9984. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
  9985. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
  9986. * sysdeps/vax/bsd-_setjmp.S: Likewise.
  9987. * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
  9988. 2002-12-30 Ulrich Drepper <drepper@redhat.com>
  9989. * malloc/thread-m.h (thread_atfork): Define using __register_atfork.
  9990. 2002-12-30 Roland McGrath <roland@redhat.com>
  9991. * Rules (generated): Target removed.
  9992. * mach/Makefile (generated): Define it here instead.
  9993. * math/Makefile (generated): Add m_*l and m_*f variants too.
  9994. 2002-12-30 Ulrich Drepper <drepper@redhat.com>
  9995. * elf/dl-close.c (_dl_close): Handle relocation dependencies among
  9996. the to-be-deleted objects right away instead of later separately.
  9997. The latter fails because the scope data structures of the DSO
  9998. might already be gone.
  9999. * elf/Makefile: Add rules to build and run reldep8 test.
  10000. * elf/reldep8.c: New file.
  10001. * elf/reldep8mod1.c: New file.
  10002. * elf/reldep8mod2.c: New file.
  10003. * elf/reldep8mod3.c: New file.
  10004. Contributed by Jakub Jelinek.
  10005. 2002-12-24 GOTO Masanori <gotom@debian.or.jp>
  10006. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
  10007. checking of return value ENOSYS from getdents64.
  10008. 2002-12-28 Andreas Schwab <schwab@suse.de>
  10009. * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
  10010. ($(common-objpfx)s-%.d): Generalized from
  10011. $(common-objpfx)s-proto.d rule.
  10012. (common-generated): Add s-proto-cancel.d.
  10013. * sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
  10014. cancellable syscalls.
  10015. * sysdeps/unix/s-proto-cancel.S: New file.
  10016. 2002-12-29 Roland McGrath <roland@redhat.com>
  10017. * resolv/res_libc.c: Move _res defn magic after res_init defn
  10018. so _res macro is in effect for that code.
  10019. * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
  10020. pattern for prepending $(..) so it doesn't affect $(foo).
  10021. * math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
  10022. 2002-12-29 Jakub Jelinek <jakub@redhat.com>
  10023. * elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
  10024. in hwcap.
  10025. 2002-12-28 Ulrich Drepper <drepper@redhat.com>
  10026. * misc/sys/cdefs.h (__attribute_deprecated__): New #define.
  10027. 2002-12-28 Andreas Jaeger <aj@suse.de>
  10028. * sysdeps/generic/readelflib.c (process_elf_file): Cast value to
  10029. avoid warning.
  10030. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
  10031. 2002-12-27 Jakub Jelinek <jakub@redhat.com>
  10032. * inet/herrno.c (__h_errno_location): Remove.
  10033. * inet/Makefile (routines): Add herrno-loc.
  10034. * resolv/res_libc.c (__res_state): Remove.
  10035. * resolv/Makefile (routines): Add res-state.
  10036. * sysdeps/generic/herrno-loc.c: New file.
  10037. * sysdeps/generic/res-state.c: New file.
  10038. 2002-12-27 Jakub Jelinek <jakub@redhat.com>
  10039. * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
  10040. Only define if USE_DL_SYSINFO is defined.
  10041. 2002-12-22 Jakub Jelinek <jakub@redhat.com>
  10042. * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
  10043. INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
  10044. Define. Patch by Richard Henderson and Jes Sorensen.
  10045. (PSEUDO): Remove unnecessary ;;.
  10046. * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
  10047. are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP.
  10048. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
  10049. if not initializing thread pointer.
  10050. [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
  10051. * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
  10052. make it weak also if NONTLS_INIT_TP.
  10053. * sysdeps/unix/common/pause.c: Handle cancellation.
  10054. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
  10055. (LOADSYSCALL): Remove.
  10056. (SYSCALL_ERROR_HANDLER_ENTRY): Define.
  10057. (SYSCALL_ERROR_HANDLER): Use it.
  10058. (PSEUDO): Don't jump around error handler.
  10059. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
  10060. jump around error handler.
  10061. * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
  10062. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
  10063. to __syscall_error_handler on failure.
  10064. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
  10065. (LOADSYSCALL): Remove.
  10066. (SYSCALL_ERROR_HANDLER_ENTRY): Define.
  10067. (SYSCALL_ERROR_HANDLER): Use it.
  10068. (PSEUDO): Don't jump around error handler.
  10069. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
  10070. jump around error handler.
  10071. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
  10072. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
  10073. to __syscall_error_handler on failure.
  10074. 2002-12-27 Roland McGrath <roland@redhat.com>
  10075. * scripts/gen-as-const.awk: New file.
  10076. * Makefile (distribute): Add it.
  10077. * Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
  10078. (before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
  10079. to the list.
  10080. (+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).
  10081. 2002-12-27 Andreas Schwab <schwab@suse.de>
  10082. * sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.
  10083. 2002-12-27 Jakub Jelinek <jakub@redhat.com>
  10084. * malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
  10085. _environ is NULL.
  10086. 2002-12-27 Andreas Schwab <schwab@suse.de>
  10087. * Makerules ($(common-objpfx)%.make): Filter through
  10088. $(sed-remove-objpfx).
  10089. 2002-12-23 Roland McGrath <roland@redhat.com>
  10090. * scripts/abilist.awk: Produce a more compact format, divided into
  10091. stanzas for each version set, the set name listed only once.
  10092. * scripts/extract-abilist.awk: New file.
  10093. * scripts/merge-abilist.awk: New file.
  10094. * Makerules (check-abi-%, update-abi-%): New pattern rules.
  10095. (update-abi, check-abi): New targets.
  10096. * Makefile (+subdir_targets): Add subdir_{check,update}-abi.
  10097. 2002-12-19 Roland McGrath <roland@redhat.com>
  10098. * Makerules (%.symlist): Use LC_ALL=C when running awk script.
  10099. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
  10100. INTERNAL_SYSCALL.
  10101. 2002-12-21 Andreas Schwab <schwab@suse.de>
  10102. * elf/check-textrel.c (handle_file): Swap p_type.
  10103. 2002-12-21 Andreas Schwab <schwab@suse.de>
  10104. * sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
  10105. (INLINE_SYSCALL): Use it.
  10106. (INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
  10107. (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
  10108. * sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
  10109. * sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.
  10110. 2002-12-20 Art Haas <ahaas@airmail.net>
  10111. * sysdeps/gnu/siglist.c: Convert GCC extension initializer
  10112. syntax to C99.
  10113. 2002-12-21 Philip Blundell <philb@gnu.org>
  10114. * sysdeps/arm/elf/start.S (_start): Optimise a little. Push stack
  10115. top as seventh arg to __libc_start_main.
  10116. Reported by paulnash@wildseed.com.
  10117. * sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.
  10118. * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
  10119. compatibility cruft when new enough kernel is assumed.
  10120. 2002-12-20 Jakub Jelinek <jakub@redhat.com>
  10121. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
  10122. instead of INLINE_SYSCALL.
  10123. 2002-12-20 Ulrich Drepper <drepper@redhat.com>
  10124. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
  10125. typo.
  10126. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
  10127. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
  10128. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
  10129. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
  10130. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
  10131. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
  10132. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
  10133. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
  10134. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
  10135. Patch by William Lee Irwin <wli@holomorphy.com>.
  10136. 2002-12-20 Andreas Schwab <schwab@suse.de>
  10137. * locale/programs/ld-measurement.c (measurement_output): Fix
  10138. index calculation.
  10139. 2002-12-20 Ulrich Drepper <drepper@redhat.com>
  10140. * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
  10141. Redefine _IO_flockifle and _IO_funlockfile as inlines.
  10142. * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
  10143. builds add "tls" in the search path.
  10144. * elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
  10145. (path_hwcap): Recognize "tls".
  10146. 2002-12-19 Ulrich Drepper <drepper@redhat.com>
  10147. * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
  10148. __waitpid instead of waitpid.
  10149. * sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
  10150. int $0x80.
  10151. * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
  10152. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
  10153. * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
  10154. * sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
  10155. information for system calls.
  10156. * sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
  10157. for ld.so.
  10158. * elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.
  10159. 2002-12-19 Roland McGrath <roland@redhat.com>
  10160. * iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
  10161. * iconvdata/ibm922.h: Likewise.
  10162. * iconvdata/ibm930.h: Likewise.
  10163. * iconvdata/ibm932.h: Likewise.
  10164. * iconvdata/ibm933.h: Likewise.
  10165. * iconvdata/ibm935.h: Likewise.
  10166. * iconvdata/ibm937.h: Likewise.
  10167. * iconvdata/ibm939.h: Likewise.
  10168. * iconvdata/ibm943.h: Likewise.
  10169. * iconvdata/isiri-3342.h: Likewise.
  10170. 2002-12-19 Ulrich Drepper <drepper@redhat.com>
  10171. * test-skeleton.c (main): Make sure correct value is seen as
  10172. argv[0] after adjustment of argv, and argc.
  10173. * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
  10174. RTLD_CORRECT_DYNAMIC_WEAK is defined.
  10175. 2002-12-19 Jakub Jelinek <jakub@redhat.com>
  10176. * nscd/connections.c (nscd_run): Shut up warning.
  10177. * tst-ungetc.c (assert): Undefined before redefining.
  10178. 2002-12-19 Ulrich Drepper <drepper@redhat.com>
  10179. * posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
  10180. is used.
  10181. 2002-12-17 Art Haas <ahaas@airmail.net>
  10182. * iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
  10183. * iconvdata/cp775.h: Likewise.
  10184. * iconvdata/ibm1046.h: Likewise.
  10185. * iconvdata/ibm1124.h: Likewise.
  10186. * iconvdata/ibm1129.h: Likewise.
  10187. * iconvdata/ibm1132.h: Likewise.
  10188. * iconvdata/ibm1133.h: Likewise.
  10189. * iconvdata/ibm1160.h: Likewise.
  10190. * iconvdata/ibm1161.h: Likewise.
  10191. * iconvdata/ibm1162.h: Likewise.
  10192. * iconvdata/ibm1163.h: Likewise.
  10193. * iconvdata/ibm1164.h: Likewise.
  10194. 2002-12-19 Ulrich Drepper <drepper@redhat.com>
  10195. * sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
  10196. __ASSUME_CLONE_THREAD_FLAGS is defined.
  10197. * sysdeps/unix/sysv/linux/kernel-features.h
  10198. (__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.
  10199. 2002-12-18 Ulrich Drepper <drepper@redhat.com>
  10200. * sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
  10201. of asm.
  10202. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  10203. * elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
  10204. _dl_sysinfo.
  10205. [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
  10206. code.
  10207. * elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
  10208. _rtld_global.
  10209. [DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
  10210. code.
  10211. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
  10212. Check for AT_SYSINFO and set _dl_sysinfo appropriately.
  10213. * sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
  10214. Add _dl_sysinfo.
  10215. 2002-12-18 Jakub Jelinek <jakub@redhat.com>
  10216. * misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
  10217. __libc_writev to...
  10218. [libc: GLIBC_PRIVATE]: ...here.
  10219. * sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
  10220. __libc_msgsnd to...
  10221. [libc: GLIBC_PRIVATE]: ...here.
  10222. 2002-12-18 Ulrich Drepper <drepper@redhat.com>
  10223. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
  10224. Use it instead of directly int $0x80.
  10225. * sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
  10226. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
  10227. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
  10228. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  10229. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  10230. * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
  10231. 2002-12-17 Ulrich Drepper <drepper@redhat.com>
  10232. * malloc/malloc.c (mALLOPt): Make sure malloc is initialized.
  10233. * elf/elf.h (AT_SYSINFO): New define.
  10234. * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add support for
  10235. AT_SYSINFO.
  10236. 2002-12-17 Jakub Jelinek <jakub@redhat.com>
  10237. * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgrcv, msgsnd):
  10238. Make cancelable.
  10239. * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgrcv, msgsnd):
  10240. Likewise.
  10241. * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgrcv, msgsnd):
  10242. Likewise.
  10243. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgrcv, msgsnd):
  10244. Likewise.
  10245. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgrcv, msgsnd):
  10246. Likewise.
  10247. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__sigsuspend): Likewise.
  10248. * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock,
  10249. mutex_unlock): If not building NPTL, use __libc_maybe_call2 if
  10250. available, otherwise __libc_maybe_call.
  10251. * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for
  10252. cancellation handling.
  10253. * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.
  10254. 2002-12-17 Isamu Hasegawa <isamu@yamato.ibm.com>
  10255. * posix/regcomp.c (free_workarea_compile): Free the new member
  10256. ORG_INDICES.
  10257. (analyze): Initialize ORG_INDICES.
  10258. (duplicate_node_closure): Search for a existing node, which is
  10259. duplicated from the node ORG_DEST and satisfies the constraint
  10260. CONSTRAINT. And use it to avoid inifimite loop.
  10261. (search_duplicated_node): New function.
  10262. (duplicate_node): Store the index of the original node.
  10263. * posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
  10264. if needed.
  10265. * posix/regex_internal.h (re_dfa_t): Add new members.
  10266. 2002-12-17 Ulrich Drepper <drepper@redhat.com>
  10267. * stdio-common/tst-fdopen.c: Undefine assert before redefining it.
  10268. 2002-12-16 Ulrich Drepper <drepper@redhat.com>
  10269. * sysdeps/posix/system.c (do_system): Add support for installation
  10270. of cancellation handlers.
  10271. * sysdeps/unix/sysv/linux/i386/system.c: New file.
  10272. * stdlib/Makefile (tests): Add tst-system.
  10273. * stdlib/tst-system.c: New file.
  10274. * sysdeps/unix/sysv/linux/i386/socket.S [NEED_CANCELLATION &&
  10275. CENABLE]: Don't lose content of %ebx.
  10276. 2002-12-17 Jakub Jelinek <jakub@redhat.com>
  10277. * sysdeps/unix/sysv/linux/i386/socket.S: Use SINGLE_THREAD_P
  10278. macro instead of comparing %gs:MULTIPLE_THREADS_OFFSET directly.
  10279. 2002-12-16 Ulrich Drepper <drepper@redhat.com>
  10280. * sysdeps/posix/getaddrinfo.c (gaih_inet): If __nss_lookup_function
  10281. fails to return a function pointer don't use it.
  10282. 2002-12-16 Art Haas <ahaas@airmail.net>
  10283. * io/ftw.c: Convert GCC extension initializer syntax to C99.
  10284. * iconvdata/iso-ir-165.c: Likewise.
  10285. * iconvdata/jis0208.c: Likewise.
  10286. * iconvdata/jis0212.c: Likewise.
  10287. 2002-12-16 Ulrich Drepper <drepper@redhat.com>
  10288. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
  10289. epoll_ctl, and epoll_wait.
  10290. * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
  10291. epoll_create, epoll_ctl, and epoll_wait.
  10292. * sysdeps/unix/sysv/linux/sys/epoll.h: New file. Written by
  10293. Davide Libenzi <davidel@xmailserver.org>.
  10294. * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
  10295. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
  10296. Add sys/epoll.h.
  10297. 2002-12-16 Art Haas <ahaas@airmail.net>
  10298. * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
  10299. syntax to C99
  10300. * sysdeps/unix/sysv/aix/settimer.c: Likewise.
  10301. * sysdeps/unix/sysv/aix/sleep.c: Likewise.
  10302. * sysdeps/unix/sysv/aix/usleep.c: Likewise.
  10303. 2002-12-16 Ulrich Drepper <drepper@redhat.com>
  10304. * stdio-common/Makefile (routines): Remove lockfile. Add
  10305. flockfile, ftrylockfile, and funlockfile.
  10306. * sysdeps/generic/lockfile.c: Removed. Each function has its own file.
  10307. * sysdeps/generic/flockfile.c: New file.
  10308. * sysdeps/generic/ftrylockfile.c: New file.
  10309. * sysdeps/generic/funlockfile.c: New file.
  10310. 2002-12-16 Jakub Jelinek <jakub@redhat.com>
  10311. * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
  10312. macros instead of doing the calls directly.
  10313. * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
  10314. * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
  10315. targets.
  10316. 2002-12-16 Jakub Jelinek <jakub@redhat.com>
  10317. * sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
  10318. * sysdeps/ieee754/bits/nan.h: Likewise.
  10319. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
  10320. __syscall_wait4, __syscall_ioctl, __syscall_write): Add.
  10321. 2002-12-16 Roland McGrath <roland@redhat.com>
  10322. * sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
  10323. * sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
  10324. * sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.
  10325. * sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
  10326. * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
  10327. s_putpmsg.
  10328. * sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
  10329. * sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
  10330. * sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
  10331. * sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
  10332. * sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
  10333. * sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
  10334. * sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
  10335. * sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.
  10336. 2002-12-13 Paul Eggert <eggert@twinsun.com>
  10337. * sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
  10338. is now u_int, not int.
  10339. (struct XDR.x_handy): Now u_int, not int.
  10340. * sunrpc/xdr_mem.c: Include <limits.h>.
  10341. (xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
  10342. xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
  10343. x_handy is now unsigned, not signed.
  10344. Do not decrement x_handy if no change is made.
  10345. (xdrmem_setpos): Check for int overflow.
  10346. * sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
  10347. (xdr_sizeof): Remove cast that is now unnecessary, now that
  10348. x_handy is unsigned.
  10349. 2002-12-15 Art Haas <ahaas@airmail.net>
  10350. * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
  10351. * iconvdata/gap.awk: Likewise.
  10352. * iconvdata/gen-8bit-gap-1.sh: Likewise.
  10353. * iconvdata/gen-8bit-gap.sh: Likewise.
  10354. * locale/C-address.c: Likewise.
  10355. * locale/C-collate.c: Likewise.
  10356. * locale/C-ctype.c: Likewise.
  10357. * locale/C-identification.c: Likewise.
  10358. * locale/C-measurement.c: Likewise.
  10359. * locale/C-messages.c: Likewise.
  10360. * locale/C-monetary.c: Likewise.
  10361. * locale/C-name.c: Likewise.
  10362. * locale/C-numeric.c: Likewise.
  10363. * locale/C-paper.c: Likewise.
  10364. * locale/C-telephone.c: Likewise.
  10365. * locale/C-time.c: Likewise.
  10366. * nscd/connections.c: Likewise.
  10367. * nscd/grpcache.c: Likewise.
  10368. * nscd/hstcache.c: Likewise.
  10369. * nscd/pwdcache.c: Likewise.
  10370. * stdio-common/vfprintf.c: Likewise.
  10371. * stdlib/random.c: Likewise.
  10372. * sysdeps/generic/siglist.c: Likewise.
  10373. * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
  10374. * sysdeps/ieee754/bits/nan.h: Likewise.
  10375. * sysdeps/posix/sprofil.c: Likewise.
  10376. * sysdeps/unix/sysv/linux/sleep.c: Likewise.
  10377. * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
  10378. * sysdeps/unix/sysv/linux/usleep.c: Likewise.
  10379. 2002-12-15 Roland McGrath <roland@redhat.com>
  10380. * sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
  10381. * sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
  10382. <tls.h> here, no need for it.
  10383. * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
  10384. * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
  10385. parameter, not varargs parameter.
  10386. * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
  10387. argument so it's not an unused variable.
  10388. * resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
  10389. __p_type_syms, __p_rcode_syms): Remove decls, never really intended
  10390. for users.
  10391. * resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.
  10392. 2002-12-15 Ulrich Drepper <drepper@redhat.com>
  10393. * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
  10394. original __libc_fcntl code. Just renamed.
  10395. 2002-12-15 Andreas Schwab <schwab@suse.de>
  10396. * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
  10397. 2002-12-14 Olaf Hering <olh@suse.de>
  10398. * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
  10399. * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
  10400. 2002-12-15 Ulrich Drepper <drepper@redhat.com>
  10401. * sysdeps/unix/sysv/linux/libc_fatal.c: New file.
  10402. * sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
  10403. SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.
  10404. * sysdeps/unix/sysv/linux/open64.c: New file.
  10405. * sysdeps/generic/pselect.c: Add support for cancellation handling.
  10406. * sysdeps/posix/open64.c: Likewise.
  10407. * sysdeps/posix/sigpause.c: Likewise.
  10408. * sysdeps/posix/sigwait.c: Likewise.
  10409. * sysdeps/posix/system.c: Likewise.
  10410. * sysdeps/posix/waitid.c: Likewise.
  10411. * sysdeps/unix/sysv/linux/accept.S: Likewise.
  10412. * sysdeps/unix/sysv/linux/connect.S: Likewise.
  10413. * sysdeps/unix/sysv/linux/llseek.c: Likewise.
  10414. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
  10415. * sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
  10416. * sysdeps/unix/sysv/linux/poll.c: Likewise.
  10417. * sysdeps/unix/sysv/linux/pread.c: Likewise.
  10418. * sysdeps/unix/sysv/linux/pread64.c: Likewise.
  10419. * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
  10420. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  10421. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  10422. * sysdeps/unix/sysv/linux/recv.S: Likewise.
  10423. * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
  10424. * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
  10425. * sysdeps/unix/sysv/linux/send.S: Likewise.
  10426. * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
  10427. * sysdeps/unix/sysv/linux/sendto.S: Likewise.
  10428. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
  10429. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
  10430. * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
  10431. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
  10432. * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
  10433. * sysdeps/unix/sysv/linux/wait.c: Likewise.
  10434. * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
  10435. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  10436. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  10437. * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
  10438. 2002-12-14 Jakub Jelinek <jakub@redhat.com>
  10439. * sysdeps/generic/sysdep-cancel.h: New file.
  10440. * sysdeps/unix/make-syscalls.sh: Handle C at start of args as
  10441. cancelable syscall.
  10442. * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
  10443. recvmsg, send, sendmsg, sendto): Make cancelable.
  10444. * sysdeps/unix/mman/syscalls.list (msync): Likewise.
  10445. * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
  10446. pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
  10447. sendto, osf_select): Likewise.
  10448. * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
  10449. recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
  10450. * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
  10451. pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
  10452. sendto): Likewise.
  10453. * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
  10454. recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
  10455. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
  10456. pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
  10457. sendto): Likewise.
  10458. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
  10459. pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
  10460. sendto, select): Likewise.
  10461. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
  10462. pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
  10463. Likewise.
  10464. * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
  10465. select, fcntl): Likewise.
  10466. * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
  10467. * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
  10468. read, readv, select, sigsuspend, write, writev): Likewise.
  10469. 2002-12-14 Jakub Jelinek <jakub@redhat.com>
  10470. * dirent/bug-readdir1.c: Include unistd.h.
  10471. 2002-12-13 Jakub Jelinek <jakub@redhat.com>
  10472. * locale/programs/locale.c: Include locarchive.h.
  10473. (ARCHIVE_NAME): Define.
  10474. (write_archive_locales): New function.
  10475. (write_locales): Use it. Ensure the same locale is not printed
  10476. multiple times in verbose mode.
  10477. Mode LC_IDENTIFICATION and LC_CTYPE printing into...
  10478. (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper
  10479. functions.
  10480. (struct nameent): New type.
  10481. (nameentcmp): New function.
  10482. 2002-12-14 Jakub Jelinek <jakub@redhat.com>
  10483. * posix/regex_internal.c (re_string_context_at): Guard wide char
  10484. code with #ifdef RE_ENABLE_I18N.
  10485. 2002-11-22 Paolo Bonzini <bonzini@gnu.org>
  10486. * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap
  10487. 2002-12-13 Roland McGrath <roland@redhat.com>
  10488. * posix/bug-regex15.c: New file.
  10489. * posix/Makefile (tests): Add it.
  10490. * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB.
  10491. (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).
  10492. 2002-12-13 Ulrich Drepper <drepper@redhat.com>
  10493. * elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.
  10494. * misc/syslog.c (log_cleanup): Don't use parameter in
  10495. __libc_lock_unlock call, use syslog_lock directly. Adjust callers to
  10496. pass NULL instead of a pointer to syslog_lock.
  10497. 2002-12-12 Ulrich Drepper <drepper@redhat.com>
  10498. * iconvdata/Makefile: iconv-rules: Add definition to use gconv.map
  10499. linker map for all iconv modules.
  10500. (distribute): Add gconv.map.
  10501. * iconvdata/gconv.map: New file.
  10502. * elf/Makefile: Also check all iconv modules for text relocations.
  10503. * stdlib/Makefile: Remove code to automatically import GMP.
  10504. * elf/Makefile (tests): Add rules to build and run check-textrel.
  10505. * elf/check-textrel.c: New file.
  10506. * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size
  10507. directive.
  10508. 2002-12-11 Jakub Jelinek <jakub@redhat.com>
  10509. * io/test-utime (main): If stnow.st[am]time is wrong, print it and
  10510. not st.st[am]time.
  10511. 2002-04-30 Bruno Haible <bruno@clisp.org>
  10512. * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
  10513. the encoding if it already has slashes.
  10514. Reported by Perry Rapp <prapp@erols.com>.
  10515. 2002-12-11 Roland McGrath <roland@redhat.com>
  10516. * csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.
  10517. (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables.
  10518. Turn off PIC for compiling this file.
  10519. 2002-12-11 Ulrich Drepper <drepper@redhat.com>
  10520. * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER
  10521. definitions. Not needed.
  10522. [_LIBC]: Use definitions from libc-lock.h instead of referencing
  10523. pthread routines directly.
  10524. * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to
  10525. mutex_init calls.
  10526. (arena_get2): Don't look at return value of mutex_lock.
  10527. 2002-12-11 Roland McGrath <roland@redhat.com>
  10528. * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
  10529. elf-init.o instead of compiling a PIC version.
  10530. 2002-12-11 Bruno Haible <bruno@clisp.org>
  10531. * intl/gettext.h: Renamed to ...
  10532. * intl/gmo.h: ... here.
  10533. * intl/Makefile (distribute): Add gmo.h, remove gettext.h.
  10534. * intl/gettextP.h: Update.
  10535. * intl/loadmsgcat.c: Update.
  10536. * intl/gettextP.h (PARAMS): Make more portable.
  10537. (attribute_hidden): Define as empty macro if not already defined.
  10538. * intl/hash-string.h (PARAMS): Make more portable.
  10539. * intl/loadinfo.h (PARAMS): Likewise.
  10540. * intl/plural-exp.h (PARAMS): Likewise.
  10541. (attribute_hidden): Move definition near the definition of
  10542. internal_function.
  10543. * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration.
  10544. * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration.
  10545. 2002-07-13 Bruno Haible <bruno@clisp.org>
  10546. * intl/dcigettext.c (freea): New macro.
  10547. (FREE_BLOCKS): Free also the registered blocks.
  10548. (DCIGETTEXT): Free the 'search' variable.
  10549. Reported by Andreas Fischer <a.fischer@asentics.de>.
  10550. 2002-04-27 Bruno Haible <bruno@clisp.org>
  10551. * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __.
  10552. * intl/dcigettext.c: Likewise.
  10553. * intl/dcgettext.c: Likewise.
  10554. * intl/dgettext.c: Likewise.
  10555. * intl/gettext.c: Likewise.
  10556. * intl/dcngettext.c: Likewise.
  10557. * intl/dngettext.c: Likewise.
  10558. * intl/ngettext.c: Likewise.
  10559. * intl/textdomain.c: Likewise.
  10560. * intl/bindtextdom.c: Likewise.
  10561. * intl/plural-exp.h: Likewise.
  10562. 2002-01-02 Bruno Haible <bruno@clisp.org>
  10563. * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl.
  10564. 2001-04-30 Bruno Haible <bruno@clisp.org>
  10565. * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide
  10566. default macro definitions. Needed for mingw32.
  10567. 2002-12-10 Ulrich Drepper <drepper@redhat.com>
  10568. * sysdeps/i386/bits/byteswap.h (__bswap_64): Apply
  10569. __builtin_constant_p to macro parameter.
  10570. * sysdeps/generic/sigpause.c: Define all functions as weak.
  10571. * sysdeps/posix/sigpause.c: Likewise.
  10572. * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of
  10573. type size_t.
  10574. 2002-12-10 Jakub Jelinek <jakub@redhat.com>
  10575. * elf/tst-array1.c (preinit_array, init_array, fini_array):
  10576. Explicitly align the array to sizeof (void *).
  10577. * elf/tst-array2dep.c (init_array, fini_array): Likewise.
  10578. * include/libc-symbols.h: Fix a comment typo.
  10579. * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
  10580. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
  10581. Likewise.
  10582. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
  10583. Likewise.
  10584. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
  10585. (__libc_sigsuspend): Likewise.
  10586. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
  10587. (__libc_sigsuspend): Likewise.
  10588. * sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
  10589. (creat): New weak alias.
  10590. 2002-12-10 Roland McGrath <roland@redhat.com>
  10591. * manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
  10592. contributes a manual chapter.
  10593. * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads
  10594. around xref to it.
  10595. * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
  10596. and move contents to ...
  10597. (EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch.
  10598. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
  10599. it instead of duplicating its contents.
  10600. (EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch.
  10601. 2002-12-09 Jakub Jelinek <jakub@redhat.com>
  10602. * elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
  10603. defined.
  10604. * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
  10605. function.
  10606. (EXTRA_LD_ENVVARS): Use it.
  10607. (DL_OSVERSION_INIT): Define.
  10608. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
  10609. dl-librecon.h.
  10610. (EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
  10611. 2002-12-10 Ulrich Drepper <drepper@redhat.com>
  10612. * Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.
  10613. * sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock
  10614. call. It is not allowed to destroy pthread mutexes which are
  10615. still in use even though it is safe for our implementations. If
  10616. somebody still uses the descriptor it is a bug.
  10617. 2002-12-09 Richard Henderson <rth@redhat.com>
  10618. * csu/abi-note.S: Use .p2align, not .align.
  10619. 2002-12-09 Ulrich Drepper <drepper@redhat.com>
  10620. * sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and
  10621. __libc_select aliases.
  10622. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo
  10623. alias.
  10624. * sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias.
  10625. * sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias.
  10626. * sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias.
  10627. * sysdeps/unix/syscalls.list: Define __libc_select alias.
  10628. * sysdeps/posix/waitid.c: Define __libc_waitid alias.
  10629. * sysdeps/posix/sigpause.c: Define __libc_sigpause and
  10630. __libc___xpg_sigpause aliases.
  10631. * sysdeps/generic/pselect.c: Define __libc_pselect alias.
  10632. * misc/error.c: Remove use of USE_IN_LIBIO.
  10633. 2002-12-08 Roland McGrath <roland@redhat.com>
  10634. * elf/Makefile (tests): Uncomment tst-array[123].
  10635. * Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
  10636. * csu/elf-init.c: New file.
  10637. * csu/Makefile (routines, static-only-routines): Add elf-init.
  10638. * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
  10639. and __libc_csu_fini in place of _fini.
  10640. * sysdeps/arm/elf/start.S: Likewise.
  10641. * sysdeps/cris/elf/start.S: Likewise.
  10642. * sysdeps/hppa/elf/start.S: Likewise.
  10643. * sysdeps/i386/elf/start.S: Likewise.
  10644. * sysdeps/ia64/elf/start.S: Likewise.
  10645. * sysdeps/m68k/elf/start.S: Likewise.
  10646. * sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
  10647. * sysdeps/mips/elf/start.S: Likewise.
  10648. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
  10649. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
  10650. * sysdeps/s390/s390-32/elf/start.S: Likewise.
  10651. * sysdeps/s390/s390-64/elf/start.S: Likewise.
  10652. * sysdeps/sh/elf/start.S: Likewise.
  10653. * sysdeps/sparc/sparc32/elf/start.S: Likewise.
  10654. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  10655. * sysdeps/x86_64/elf/start.S: Likewise.
  10656. * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
  10657. struct containing function ptr and value, free it.
  10658. (__aio_notify_only): Allocate that and copy values from SIGEV into it.
  10659. It's not safe to let the new thread use the SIGEV pointer.
  10660. 2001-10-20 Paul Eggert <eggert@twinsun.com>
  10661. * misc/error.c (strerror_r): Do not declare unless [!_LIBC].
  10662. Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
  10663. Use strerror_r that is only a macro, even if it is not a function.
  10664. (strerror): Check for HAVE_DECL_STRERROR before declaring.
  10665. (private_strerror): Use prototypes, not old-style function definition.
  10666. (print_errno_message): New function.
  10667. Support the POSIX 'int'-flavored strerror_r, as well as the traditional
  10668. char*-flavored one.
  10669. (error_tail, error, error_at_line): Use it.
  10670. 2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca>
  10671. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
  10672. 2002-12-08 Ulrich Drepper <drepper@redhat.com>
  10673. * scripts/output-format.sed: Fix bug in one of the s expressions
  10674. which used / for one too many things.
  10675. * include/unistd.h: Declare __libc_close.
  10676. 2002-12-07 Ulrich Drepper <drepper@redhat.com>
  10677. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
  10678. 2002-12-07 Roland McGrath <roland@redhat.com>
  10679. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
  10680. from 2002-12-06, but remove unnecessary memset call without removing
  10681. necessary copy of initialization image.
  10682. * Makerules ($(common-objpfx)format.lds): New target.
  10683. (common-generated): Add it.
  10684. ($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
  10685. * scripts/output-format.sed: New file.
  10686. * Makefile (distribute): Add it.
  10687. 2002-12-07 Ulrich Drepper <drepper@redhat.com>
  10688. * sysdeps/generic/libc-tls.c: Include <sys/param.h>.
  10689. Reported by Art Haas <ahaas@airmail.net>.
  10690. 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>
  10691. * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4.
  10692. 2002-12-07 Jakub Jelinek <jakub@redhat.com>
  10693. * string/test-strncpy.c (do_random_tests): Improve test coverage.
  10694. 2002-12-06 Ulrich Drepper <drepper@redhat.com>
  10695. * test-skeleton.c (timeout_handler): Allow expected signal to be
  10696. SIGALRM.
  10697. * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.
  10698. * sysdeps/posix/raise.c: Add libc_hidden_def for raise.
  10699. 2002-12-07 Jakub Jelinek <jakub@redhat.com>
  10700. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
  10701. (SYSCALL_ERROR_HANDLER): Fix a pasto.
  10702. Reported by Jeff Bailey <jbailey@nisa.net>.
  10703. 2002-12-06 Ulrich Drepper <drepper@redhat.com>
  10704. * sysdeps/generic/libc-tls.c: Undo last patch.
  10705. * include/wctype.h: Define iswalnum with libc_hidden_proto.
  10706. * include/signal.h: Define raise with libc_hidden_proto.
  10707. * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
  10708. __execve instead of snprintf and execve.
  10709. * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
  10710. again a bit.
  10711. 2002-12-06 Jakub Jelinek <jakub@redhat.com>
  10712. * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.
  10713. * posix/annexc.c (fmt, testfmt): Remove -D_LIBC.
  10714. 2002-12-06 Ulrich Drepper <drepper@redhat.com>
  10715. * misc/syslog.c (log_cleanup): New function.
  10716. (openlog): Use log_cleanup instead of __libc_mutex_unlock.
  10717. (closelog): Likewise.
  10718. * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*.
  10719. * elf/dl-iteratephdr.c: Likewise.
  10720. * elf/dl-lookup.c: Likewise.
  10721. * elf/dl-misc.c: Likewise.
  10722. * elf/dl-open.c: Likewise.
  10723. * elf/dl-support.c: Likewise.
  10724. * elf/rtld.c: Likewise.
  10725. * sysdeps/generic/ldsodefs.h: Likewise.
  10726. * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros.
  10727. * sysdeps/mach/bits/libc-lock.h: Likewise.
  10728. * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
  10729. 2002-12-06 Roland McGrath <roland@redhat.com>
  10730. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
  10731. * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
  10732. (malloc_starter, memalign_starter, free_starter): Don't define these.
  10733. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
  10734. Don't declare them either.
  10735. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
  10736. __pthread_initialize, so no need to set hooks to *_starter.
  10737. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
  10738. [_LIBC && SHARED && USE_TLS && !USE___THREAD]
  10739. (__libc_malloc_pthread_startup): New function.
  10740. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
  10741. * malloc/hooks.c (memalign_starter): New function.
  10742. * malloc/malloc.c: Declare it.
  10743. * malloc/arena.c (save_memalign_hook): New variable.
  10744. (ptmalloc_init): Set __memalign_hook to memalign_starter.
  10745. * elf/dl-minimal.c (free): Clear the memory.
  10746. (calloc): Just call malloc, knowing all memory it returns is cleared.
  10747. * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
  10748. malloc and memset; calloc can avoid the zeroing when redundant.
  10749. (_dl_tls_setup): Likewise.
  10750. * elf/dl-load.c (decompose_rpath): Likewise.
  10751. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
  10752. call, since memory from sbrk at startup is already zero.
  10753. * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
  10754. error string for failure, null for success. Update callers.
  10755. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
  10756. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
  10757. 2002-12-05 Jakub Jelinek <jakub@redhat.com>
  10758. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
  10759. args to i:iipi.
  10760. (readahead): Change args to i:iii.
  10761. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
  10762. Change args to i:iii.
  10763. * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
  10764. args to i:iiii.
  10765. 2002-12-05 Roland McGrath <roland@redhat.com>
  10766. * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,
  10767. call all functions rather than none.
  10768. Reported by Mark P. Mitchell <mark@codesourcery.com>.
  10769. 2002-12-04 Roland McGrath <roland@redhat.com>
  10770. * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie
  10771. on _nl_current_LC_* variables.
  10772. 2002-12-05 Ulrich Drepper <drepper@redhat.com>
  10773. * dirent/bug-readdir1.c (main): Don't call closedir, just close
  10774. the file descriptor. This is testing what the bug report was about.
  10775. 2002-12-04 Ulrich Drepper <drepper@redhat.com>
  10776. * po/be.po: New file.
  10777. * argp/Makefile (tests): Add tst-argp1.
  10778. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent):
  10779. Change type of _attribute to void*.
  10780. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
  10781. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
  10782. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
  10783. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
  10784. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  10785. 2002-12-04 Roland McGrath <roland@redhat.com>
  10786. * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
  10787. members to the end, so a libpthread compiled with !USE_TLS will still
  10788. find other members properly.
  10789. * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
  10790. operand for DEST memory. Fix dummy input operand to use SRC.
  10791. Reported by Davin McCall <davmac@ozonline.com.au>.
  10792. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
  10793. alignment when initializing the DTV entry.
  10794. * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
  10795. when TLS has not been set up, try to set it up if we can.
  10796. * elf/tst-tls4.c: Revert last change.
  10797. * elf/tst-tls5.c: Likewise.
  10798. * elf/tst-tls6.c: Likewise.
  10799. * elf/tst-tls7.c: Likewise.
  10800. * elf/tst-tls8.c: Likewise.
  10801. * elf/tst-tls9.c: Likewise.
  10802. * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
  10803. * sysdeps/generic/ldsodefs.h: Declare it.
  10804. * elf/Versions (ld: GLIBC_PRIVATE): Add it.
  10805. * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
  10806. function, broken out of __libc_setup_tls.
  10807. (init_static_tls): Likewise.
  10808. (__libc_setup_tls): Call them.
  10809. (_dl_tls_setup): New function, uses new subroutines.
  10810. * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
  10811. Clear the pointer when returning true.
  10812. (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
  10813. first element of the slotinfo list too.
  10814. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
  10815. [SHARED].
  10816. * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
  10817. (_dl_determine_tlsoffset): Likewise.
  10818. * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
  10819. startup_error_tsd, made global.
  10820. (dl_main): Update initialization.
  10821. * elf/dl-tsd.c: Likewise.
  10822. * sysdeps/generic/ldsodefs.h: Declare it.
  10823. 2002-12-03 Ulrich Drepper <drepper@redhat.com>
  10824. * manual/texinfo.tex: Update from latest upstream version.
  10825. 2002-12-03 Roland McGrath <roland@redhat.com>
  10826. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
  10827. area surplus in calculation for sbrk call.
  10828. * iconvdata/cp1125.c: New file.
  10829. * iconvdata/Makefile (distribute): Add it.
  10830. (modules): Add CP1125.
  10831. (gen-8bit-gap-modules): Add cp1125.
  10832. * iconvdata/gconv-modules: Add CP1125, alias RUSCII.
  10833. * iconvdata/tst-tables.sh: Add CP1125 to the list to test.
  10834. 2002-12-03 Andreas Jaeger <aj@suse.de>
  10835. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
  10836. 2002-12-03 Ulrich Drepper <drepper@redhat.com>
  10837. * sysdeps/posix/system.c (do_system): Make signal handler
  10838. installation thread safe.
  10839. 2002-12-02 Roland McGrath <roland@redhat.com>
  10840. * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
  10841. caller from EXTRA to -.
  10842. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  10843. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  10844. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  10845. 2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
  10846. * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
  10847. bits of RM are cleared.
  10848. 2002-12-02 Roland McGrath <roland@redhat.com>
  10849. * elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy
  10850. TLS setup is required.
  10851. * elf/tst-tls5.c: Likewise.
  10852. * elf/tst-tls6.c: Likewise.
  10853. * elf/tst-tls7.c: Likewise.
  10854. * elf/tst-tls8.c: Likewise.
  10855. * elf/tst-tls9.c: Likewise.
  10856. * elf/rtld.c (dl_main): Remove [! SHARED] conditional from
  10857. `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
  10858. * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
  10859. for being null before calling free_slotinfo.
  10860. * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
  10861. dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.
  10862. 2002-11-30 Bruno Haible <bruno@clisp.org>
  10863. * iconv/gconv.h (__gconv_btowc_fct): New typedef.
  10864. (struct __gconv_step): New field __btowc_fct.
  10865. * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible.
  10866. * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from
  10867. __BUILTIN_TRANS.
  10868. (__gconv_btwoc_ascii): New declaration.
  10869. * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
  10870. (__gconv_btwoc_ascii): New function.
  10871. * iconv/gconv_builtin.h: Add BtowcFct argument to all
  10872. BUILTIN_TRANSFORMATION invocations.
  10873. * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
  10874. * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise.
  10875. * iconv/gconv_builtin.c (map): New field btowc_fct.
  10876. (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
  10877. btowc_fct field.
  10878. (__gconv_get_builtin_trans): Initialize __btowc_fct field.
  10879. * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field.
  10880. * iconv/gconv_db.c (gen_steps, increment_counter): Likewise.
  10881. * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise.
  10882. * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE.
  10883. (gconv_init): Initialize __btowc_fct field.
  10884. Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end.
  10885. * iconv/loop.c: Document ONEBYTE_BODY.
  10886. (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined.
  10887. Undefine ONEBYTE_BODY at the end.
  10888. * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro.
  10889. * iconvdata/8bit-gap.c (NONNUL): New macro.
  10890. (BODY for FROM_LOOP): Use it.
  10891. (ONEBYTE_BODY): New macro.
  10892. * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1.
  10893. (NONNUL): New macro.
  10894. * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro.
  10895. * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro.
  10896. * iconvdata/cp1255.c (ONEBYTE_BODY): New macro.
  10897. * iconvdata/cp1258.c (ONEBYTE_BODY): New macro.
  10898. * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro.
  10899. * iconvdata/big5.c (ONEBYTE_BODY): New macro.
  10900. * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro.
  10901. * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro.
  10902. * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro.
  10903. * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro.
  10904. * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro.
  10905. * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro.
  10906. * iconvdata/gbk.c (ONEBYTE_BODY): New macro.
  10907. * iconvdata/gb18030.c (ONEBYTE_BODY): New macro.
  10908. * iconvdata/ibm932.c: Include <stdbool.h>.
  10909. (TRUE, FALSE): Remove macros.
  10910. (BODY for FROM_LOOP): Remove unused variable rp1.
  10911. (ONEBYTE_BODY): New macro.
  10912. (BODY for TO_LOOP): Use bool.
  10913. * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array.
  10914. * iconvdata/ibm943.c: Include <stdbool.h>.
  10915. (TRUE, FALSE): Remove macros.
  10916. (BODY for FROM_LOOP): Remove unused variable rp1.
  10917. (ONEBYTE_BODY): New macro.
  10918. (BODY for TO_LOOP): Use bool.
  10919. * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array.
  10920. * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro.
  10921. * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro.
  10922. * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro.
  10923. * iconvdata/johab.c (ONEBYTE_BODY): New macro.
  10924. * iconvdata/sjis.c (ONEBYTE_BODY): New macro.
  10925. * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro.
  10926. * iconvdata/t.61.c (ONEBYTE_BODY): New macro.
  10927. * iconvdata/uhc.c (ONEBYTE_BODY): New macro.
  10928. * iconvdata/gbbig5.c: Tweak comment.
  10929. 2002-12-02 Ulrich Drepper <drepper@redhat.com>
  10930. * po/fi.po: Update from translation team.
  10931. 2002-12-01 Roland McGrath <roland@redhat.com>
  10932. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
  10933. testing getdents64 return value.
  10934. * scripts/versions.awk: Don't pass -n flag to sort command.
  10935. * posix/bug-regex13.c: Include <string.h>.
  10936. * sysdeps/generic/libc-start.c (__libc_start_main): Do
  10937. DL_SYSDEP_OSCHECK here.
  10938. * sysdeps/unix/sysv/linux/init-first.c (init): Not here.
  10939. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.
  10940. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
  10941. argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.
  10942. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
  10943. instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.
  10944. * include/link.h: Comment typo fix.
  10945. 2002-12-01 Roland McGrath <roland@frob.com>
  10946. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
  10947. (_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
  10948. _POSIX_MEMORY_PROTECTION): Likewise.
  10949. (_POSIX_POLL, _POSIX_SELECT): Removed.
  10950. 2002-11-28 Ulrich Drepper <drepper@redhat.com>
  10951. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which
  10952. require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
  10953. 2002-11-28 Jakub Jelinek <jakub@redhat.com>
  10954. * sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
  10955. USE___THREAD.
  10956. * sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
  10957. "=v" constraints.
  10958. 2002-11-28 Ulrich Drepper <drepper@redhat.com>
  10959. * sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
  10960. branch prediction buffers by using unpaired call/ret.
  10961. 2002-11-27 Ulrich Drepper <drepper@redhat.com>
  10962. * sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
  10963. first parameters constraint string.
  10964. (ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de.
  10965. 2002-11-27 Isamu Hasegawa <isamu@yamato.ibm.com>
  10966. * posix/regcomp.c (parse_expression): Set the bit since the back
  10967. reference is used in the regular expression.
  10968. * posix/regex_internal.c (re_node_set_init_1): Make it clean in case
  10969. of malloc failure.
  10970. (re_node_set_init_copy): Likewise.
  10971. * posix/regex_internal.h (state_array_t): New structure.
  10972. (re_sub_match_last_t): Likewise.
  10973. (re_sub_match_top_t): Likewise.
  10974. (re_match_context_t): Add new members.
  10975. (re_dfa_t): Likewise.
  10976. * posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
  10977. to check the matching is really correct, and retry if failed.
  10978. Move the routin pruning the impossible nodes from here, ...
  10979. (prune_impossible_nodes): To this function.
  10980. (check_matching): Invoke check_subexp_matching_top, and replace
  10981. redundant checking with transit_state_bkref invocation.
  10982. (proceed_next_node): Replace strncmp with memcmp. Reported by
  10983. Paolo Bonzini <bonzini@gnu.org>.
  10984. (update_cur_sifted_state): Remove search_subexp invocation.
  10985. (search_subexp): Remove this function.
  10986. (check_dst_limits_calc_pos): Use search_cur_bkref_entry for
  10987. optimization.
  10988. (sift_states_bkref): Use search_cur_bkref_entry for optimization.
  10989. Remove unused invocation of match_ctx_add_entry.
  10990. (transit_state): Invoke check_subexp_matching_top.
  10991. (check_subexp_matching_top): New function.
  10992. (transit_state_bkref): Remove unused array.
  10993. Merge transit_state_bkref_loop.
  10994. (transit_state_bkref_loop): Use get_subexp instead of
  10995. sift_states_backward. Use search_cur_bkref_entry for optimization.
  10996. Merge this function to transit_state_bkref.
  10997. (get_subexp): New function.
  10998. (get_subexp_sub): Likewise.
  10999. (find_subexp_node): Likewise.
  11000. (check_arrival): Likewise.
  11001. (check_arrival_expand_ecl): Likewise.
  11002. (check_arrival_expand_ecl_sub): Likewise.
  11003. (expand_bkref_cache): Likewise.
  11004. (match_ctx_init): Initialize new members.
  11005. (match_ctx_clean): New function.
  11006. (match_ctx_free): Release new members.
  11007. (match_ctx_free_subtops): New function.
  11008. (match_ctx_add_entry): Fix indent.
  11009. (search_cur_bkref_entry): New function.
  11010. (match_ctx_add_subtop): Likewise.
  11011. (match_ctx_add_sublast): Likewise.
  11012. 2002-11-25 Ulrich Drepper <drepper@redhat.com>
  11013. * iconv/Makefile (tests): Remove tst-iconv4.c
  11014. * iconv/tst-iconv4.c: Moved to...
  11015. * iconvdata/tst-iconv4.c: ...here. New file.
  11016. * iconvdata/Makefile (tests): Add tst-iconv4. Add dependencies.
  11017. 2002-11-25 Roland McGrath <roland@redhat.com>
  11018. * inet/test-ifaddrs.c (main: addr_string): Handle null SA.
  11019. Grok AF_LINK if defined.
  11020. From Momchil Velikov <velco@fadata.bg>.
  11021. * sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
  11022. brdaddr, or dstaddr, just set those pointers to null and don't fail.
  11023. Reported by Momchil Velikov <velco@fadata.bg>.
  11024. * sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
  11025. is > sizeof IFR->ifa_addr, advance past the whole longer length.
  11026. (__ifreq): Count up NIFS that way too.
  11027. Reported by Momchil Velikov <velco@fadata.bg>.
  11028. * sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
  11029. * sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
  11030. and <fpu_control.h>.
  11031. 2002-11-24 Ulrich Drepper <drepper@redhat.com>
  11032. * elf/elf.h (EM_ST19): Fix typo.
  11033. 2002-11-25 Jakub Jelinek <jakub@redhat.com>
  11034. * include/errno.h (__set_errno): Define as errno = val
  11035. unconditionally.
  11036. 2002-11-24 Roland McGrath <roland@redhat.com>
  11037. * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
  11038. * sysdeps/posix/writev.c: Likewise.
  11039. From Momchil Velikov <velco@fadata.bg>.
  11040. * elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
  11041. calling *GL(dl_error_catch_tsd) for a thread-local location.
  11042. * elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
  11043. (dl_main): Same for GL(dl_error_catch_tsd) initialization.
  11044. * elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].
  11045. * libio/iofflush.c: Add libc_hidden_def.
  11046. * libio/iofwrite.c: Likewise.
  11047. * sysdeps/generic/sigtimedwait.c: Likewise.
  11048. * sysdeps/generic/sigwaitinfo.c: Likewise.
  11049. * sysdeps/posix/sigwait.c: Likewise.
  11050. Reported by Momchil Velikov <velco@fadata.bg>.
  11051. * inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
  11052. to match <arpa/inet.h> declaration.
  11053. * inet/inet_netof.c (inet_netof): Likewise.
  11054. * inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
  11055. Reported by Momchil Velikov <velco@fadata.bg>.
  11056. * configure.in: Skip AUTOCONF check under --without-cvs.
  11057. * configure: Regenerated.
  11058. * posix/Makefile (headers): Add bits/pthreadtypes.h.
  11059. * sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
  11060. * sysdeps/unix/sysv/linux/Dist: Remove it from the list.
  11061. 2002-11-24 Andreas Schwab <schwab@suse.de>
  11062. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Support inline syscall
  11063. with six arguments.
  11064. 2002-11-19 Jim Meyering <jim@meyering.net>
  11065. * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare
  11066. as `static'.
  11067. * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
  11068. 2002-11-23 Roland McGrath <roland@redhat.com>
  11069. * scripts/abilist.awk: Avoid strtonum function, not there in mawk.
  11070. Just produce hex output for datum sizes.
  11071. * elf/Makefile ($(objpfx)librtld.mk): Tighten up regexp.
  11072. Reported by Luca Barbieri <ldb@ldb.ods.org>.
  11073. 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
  11074. * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
  11075. [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
  11076. and __unused3 fields.
  11077. * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
  11078. [__WORDSIZE == 32]: Only PPC32 requires __unused1
  11079. and __unused2 fields.
  11080. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
  11081. [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
  11082. __unused3, and __unused4 fields.
  11083. * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
  11084. obtain lowest address for profiling in __monstartup call.
  11085. 2002-11-21 Roland McGrath <roland@redhat.com>
  11086. * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
  11087. $(calls) $(calls:=f) $(long-c-$(long-double-fcts)).
  11088. * locale/localeinfo.h (struct locale_data): Revert last change.
  11089. * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
  11090. From Ian Wienand <ianw@gelato.unsw.edu.au>.
  11091. * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
  11092. __NR_pread64 if not defined.
  11093. (__NR_pwrite): Define to __NR_pwrite64 if not defined.
  11094. From Ian Wienand <ianw@gelato.unsw.edu.au>.
  11095. 2002-11-21 Roland McGrath <roland@frob.com>
  11096. * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
  11097. __libc_multiple_libcs here. Call __setfpucw.
  11098. 2002-11-21 Ulrich Drepper <drepper@redhat.com>
  11099. * elf/Makefile (tests): Don't run test-arrayX tests for now.
  11100. * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
  11101. * sysdeps/unix/sysv/linux/i386/clone.S: Add support for
  11102. CLONE_CHILD_*TID flags.
  11103. 2002-11-20 Andreas Jaeger <aj@suse.de>
  11104. * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
  11105. We pass struct ucontext on x86-64.
  11106. (GET_PC): Adjust.
  11107. (GET_FRAME): Adjust.
  11108. (GET_STACK): Adjust.
  11109. 2002-11-20 Roland McGrath <roland@redhat.com>
  11110. * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
  11111. conditionalize [! DO_VERSIONING] #error.
  11112. * scripts/abilist.awk: Grok function descriptor symbols.
  11113. * intl/tst-gettext.c (main): Check return values from setlocale.
  11114. Add necessary unsetenv's to make LANG=existing-locale check work.
  11115. * intl/tst-gettext.sh: Use mkdir -p. Copy test files unconditionally,
  11116. so aborted prior runs don't confuse things.
  11117. * locale/localeinfo.h (struct locale_data: union locale_data_value):
  11118. Use uintptr_t instead of unsigned int for `word' member.
  11119. (_NL_CURRENT_WORD): Cast to uint32_t.
  11120. * posix/bug-regex5.c (main): Use union to extract _NL_COLLATE_NRULES
  11121. value.
  11122. 2002-11-20 Ulrich Drepper <drepper@redhat.com>
  11123. * elf/tls-macros.h: Add IA-64 definitions.
  11124. Patch by Ian Wienand <ianw@gelato.unsw.edu.au>.
  11125. * iconv/Makefile (tests): Add tst-iconv4.
  11126. * iconv/tst-iconv4.c: New file.
  11127. * iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
  11128. __GCONV_EMPTY_INPUT only if input is really empty. Otherwise
  11129. __GCONV_INCOMPLETE_INPUT.
  11130. (ucs4le_internal_loop): Likewise.
  11131. (ucs4le_internal_loop_unaligned): Likewise.
  11132. * iconvdata/unicode.c (PREPARE_LOOP): Likewise.
  11133. * iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
  11134. * iconvdata/utf-32.c (PREPARE_LOOP): Likewise.
  11135. * iconv/loop.c (LOOPFCT): First test for empty input then for full
  11136. output buffer.
  11137. * inet/getnameinfo.c: Use extend_alloca where appropriate.
  11138. * sysdeps/posix/getaddrinfo.c: Likewise.
  11139. * include/alloca.h (extend_alloca): New define. Based on stack
  11140. direction it'll try to append to the previouls allocated buffer.
  11141. 2002-11-07 Thorsten Kukuk <kukuk@suse.de>
  11142. * sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
  11143. use the same service for AF_INET and AF_INET6.
  11144. 2002-11-19 Ulrich Drepper <drepper@redhat.com>
  11145. * intl/localealias.c (read_alias_file): Use only about 400 bytes
  11146. of stack space instead of 16k.
  11147. 2002-11-18 Wolfram Gloger <wg@malloc.de>
  11148. * malloc/arena.c
  11149. (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2): Do
  11150. nothing if not initialized. Bug report from Marcus Brinkmann
  11151. <Marcus.Brinkmann@ruhr-uni-bochum.de>.
  11152. 2002-11-19 Roland McGrath <roland@redhat.com>
  11153. * posix/Versions (libc: GLIBC_2.3.2): Add sched_getaffinity and
  11154. sched_setaffinity.
  11155. * configure.in (libc_cv_gcc_dwarf2_unwind_info check): Use libraries
  11156. `-lgcc -lgcc_eh -lgcc', not just `-lgcc -lgcc_eh' in link commands for
  11157. test leading to libc_cv_gcc_dwarf2_unwind_info=no_registry_needed.
  11158. * configure: Regenerated.
  11159. 2002-11-19 Ulrich Drepper <drepper@redhat.com>
  11160. * include/dlfcn.h: __libc_dlopen is now a macro calling
  11161. __libc_dlopen_mode with the extra parameter RTLD_LAZY.
  11162. (__libc_dlopen_mode): New prototype.
  11163. * elf/dl-libc.c (__libc_dlopen_mode): Renamed from __libc_dlopen. Add
  11164. new parameter. Store new parameter in mode field of structure passed
  11165. to do_dlopen.
  11166. (struct do_dlopen_args): Add new field mode.
  11167. (do_dlopen): Pass mode from parameter structure to _dl_open.
  11168. 2002-11-11 Randolf Chung <tausq@debian.org>
  11169. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
  11170. (F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
  11171. * sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
  11172. * sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
  11173. * sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
  11174. Set -mdisable-fpregs for this file.
  11175. 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
  11176. * sysdeps/unix/sysv/linux/configure.in:
  11177. Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
  11178. from gcc-3.0 era for backwards compatibility.
  11179. * sysdeps/unix/sysv/linux/configure: Regenerate.
  11180. * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
  11181. Define mcontext_t as a sigcontext.
  11182. 2002-11-18 Roland McGrath <roland@redhat.com>
  11183. * dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
  11184. Free memory in `last_result' if it was used.
  11185. * resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
  11186. all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
  11187. Do the parsing inline instead of copying strings and calling
  11188. inet_network, and properly skip all alias names not matching the form.
  11189. * manual/pattern.texi (Variable Substitution): Fix # and ## examples.
  11190. 2002-11-17 Ulrich Drepper <drepper@redhat.com>
  11191. * manual/pattern.texi (Wordexp Example): Fix sample code.
  11192. * sysdeps/unix/sysv/linux/i386/clone.S: Initialize word in the
  11193. childs stack which will be loaded into the %esi register.
  11194. 2002-11-14 Paul Eggert <eggert@twinsun.com>
  11195. * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
  11196. overflow when skipping the question part and when unpacking aliases.
  11197. 2002-11-15 Roland McGrath <roland@redhat.com>
  11198. * math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
  11199. s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
  11200. Instead add $(calls:s_%=m_%) to get m_* versions of them all.
  11201. 2002-11-15 Jakub Jelinek <jakub@redhat.com>
  11202. * sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
  11203. * sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
  11204. 2002-11-15 Roland McGrath <roland@redhat.com>
  11205. * math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
  11206. * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
  11207. from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
  11208. (+make-include-of-dep): New canned sequence.
  11209. * stdlib/canonicalize.c (__realpath): Check for malloc failure.
  11210. From Dmitry V. Levin <ldv@altlinux.org>.
  11211. 2002-11-14 Roland McGrath <roland@redhat.com>
  11212. * sysdeps/generic/errno.c (__libc_errno): Remove alias.
  11213. * inet/herrno.c (__libc_h_errno): Likewise.
  11214. * resolv/res_libc.c (__libc_res): Likewise.
  11215. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
  11216. (__res_state) [! USE___THREAD]: Don't define as weak.
  11217. * csu/Versions: Revert last change.
  11218. * resolv/Versions: Revert last change.
  11219. * Makerules ($(common-objpfx)%.make): New pattern rule.
  11220. * tls.make.c: New file.
  11221. * Makefile (distribute): Add it.
  11222. * sysdeps/generic/errno.c [! USE___THREAD]
  11223. [HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
  11224. with compat_symbol so they are not link-time visible.
  11225. [! USE___THREAD] (__libc_errno): New alias for errno.
  11226. * csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
  11227. Add __libc_errno here.
  11228. * inet/herrno.c [USE___THREAD]: Use this conditional
  11229. in place of [USE_TLS && HAVE___THREAD].
  11230. [! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
  11231. (h_errno, _h_errno): Declare these with compat_symbol so they are not
  11232. link-time visible.
  11233. [! USE___THREAD] (__libc_h_errno): New alias for h_errno.
  11234. * resolv/res_libc.c [! USE___THREAD]
  11235. [HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
  11236. (_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
  11237. (__libc_res): Define as alias for _res.
  11238. * resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
  11239. Add __libc_h_errno and __libc_res here.
  11240. 2002-11-14 Jakub Jelinek <jakub@redhat.com>
  11241. * csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
  11242. * resolv/Versions (h_errno, _res): Likewise.
  11243. 2002-11-14 Roland McGrath <roland@redhat.com>
  11244. * Makerules (%.dynsym): Remove $(objpfx) from target and dep.
  11245. (%.symlist): Likewise.
  11246. 2002-11-13 Roland McGrath <roland@redhat.com>
  11247. * scripts/abilist.awk: New file.
  11248. * Makefile (distribute): Add it.
  11249. * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
  11250. (tests): Depend on .symlist file for each $(install-lib.so-versioned).
  11251. [$(subdir) = elf] (tests): Depend on libc.symlist.
  11252. (generated, common-generated): Add those files.
  11253. * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
  11254. * configure: Regenerated.
  11255. * config.make.in (OBJDUMP): New variable, substituted by configure.
  11256. * malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
  11257. (mallochook, reallochook): Set them up.
  11258. (checkhdr): Check HDR->magic2 value.
  11259. (freehook): Reset HDR->magic2.
  11260. (memalignhook): New static function.
  11261. (old_memalign_hook): New static variable.
  11262. (mcheck, reallochook): Set __memalign_hook to memalignhook.
  11263. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
  11264. for the new TCB.
  11265. 2002-11-13 Andreas Jaeger <aj@suse.de>
  11266. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Check for visibility
  11267. attribute.
  11268. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  11269. 2002-11-11 Paul Eggert <eggert@twinsun.com>
  11270. * manual/crypt.texi (Cryptographic Functions): Mention that
  11271. the MD5 one-way algorithm is compatible with BSD's.
  11272. 2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
  11273. * posix/regex_internal.c (re_string_skip_chars): Also return the last
  11274. wide character.
  11275. (re_string_reconstruct): Calculate the context by itself when the
  11276. offset points out of the valid range.
  11277. (re_string_context_at): Use wide character when MB_CUR_MAX > 1.
  11278. * posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
  11279. (IS_WIDE_WORD_CHAR): New macro.
  11280. (IS_WIDE_NEWLINE): New macro.
  11281. 2002-11-12 Andreas Jaeger <aj@suse.de>
  11282. * sysdeps/x86_64/strchr.S: Don't use one register for two
  11283. purposes, this fixes a bug noticed by test-strchr.c.
  11284. * sysdeps/x86_64/strcat.S: Fix algorithm to align source pointer
  11285. correctly.
  11286. 2002-11-12 Roland McGrath <roland@redhat.com>
  11287. * libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
  11288. (_G_IO_NO_BACKWARD_COMPAT): Define it.
  11289. * sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
  11290. instead of <pt-machine.h>.
  11291. [_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
  11292. testandset.
  11293. From Ian Wienand <ianw@gelato.unsw.edu.au>.
  11294. 2002-11-10 Roland McGrath <roland@redhat.com>
  11295. * libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
  11296. Call fputs instead of fwprintf (simpler to follow in debugger).
  11297. * crypt/md5-crypt.c: Doc fix.
  11298. * sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
  11299. the beginning of generated target commands.
  11300. * csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
  11301. dependencies for these in case implicit rule search skipped the
  11302. nonexistent source directory.
  11303. * sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
  11304. files with $(object-suffixes) as targets too.
  11305. * Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
  11306. and a target for it using $(make-target-directory).
  11307. * Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
  11308. 2002-11-10 Roland McGrath <roland@frob.com>
  11309. * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
  11310. * sysdeps/generic/bits/pthreadtypes.h: ... here.
  11311. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
  11312. l_start == 0 and l_len == 1 as we do l_len == 0.
  11313. 2002-11-10 Ulrich Drepper <drepper@redhat.com>
  11314. * po/da.po: Update from translation team.
  11315. 2002-11-10 Roland McGrath <roland@redhat.com>
  11316. * config.make.in (includedir): New variable, substituted by configure.
  11317. Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
  11318. * Makeconfig (includedir): Use $(prefix), not $(exec_prefix).
  11319. 2002-11-10 Andreas Jaeger <aj@suse.de>
  11320. * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
  11321. REG_OLDMASK and REG_CR2 to synch with kernel header.
  11322. (NGREG): Increase.
  11323. * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
  11324. aliasing problem.
  11325. * nss/getXXbyYY_r.c (INTERNAL): Likewise.
  11326. * nss/getnssent_r.c (__nss_getent_r): Likewise.
  11327. (__nss_setent): Likewise.
  11328. (__nss_getent_r): Likewise.
  11329. * inet/getnetgrent_r.c (innetgr): Likewise.
  11330. (__internal_setnetgrent_reuse): Likewise.
  11331. (internal_getnetgrent_r): Likewise.
  11332. * inet/ether_hton.c (ether_hostton): Likewise.
  11333. * inet/ether_ntoh.c (ether_ntohost): Likewise.
  11334. * sunrpc/netname.c (netname2user): Likewise.
  11335. * sunrpc/publickey.c (getpublickey): Likewise.
  11336. (getsecretkey): Likewise.
  11337. 2002-11-09 Marcus Brinkmann <marcus@gnu.org>
  11338. * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
  11339. error in range calculation.
  11340. 2002-10-09 Jakub Jelinek <jakub@redhat.com>
  11341. * string/test-strspn.c (do_test): Ensure zero termination.
  11342. * string/test-strpbrk.c (do_test): Likewise.
  11343. * string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
  11344. * string/test-strncpy.c (stupid_strncpy): Likewise.
  11345. * string/test-stpncpy.c (stupid_stpncpy): Likewise.
  11346. 2002-10-08 Roland McGrath <roland@redhat.com>
  11347. * string/test-string.h (test_init): Fill BUF1 and BUF2 with
  11348. nonzero characters.
  11349. 2002-09-22 H.J. Lu <hjl@gnu.org>
  11350. * sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
  11351. from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
  11352. only if __NR_mmap2 is defined.
  11353. * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
  11354. * sysdeps/unix/sysv/linux/mmap64.c: ... here.
  11355. * sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
  11356. * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
  11357. 2002-11-08 Jakub Jelinek <jakub@redhat.com>
  11358. * posix/bug-regex13.c (tests): Add new test.
  11359. * string/test-strchr.c (stupid_strchr): New function.
  11360. (do_random_tests): Make sure the string is zero terminated.
  11361. * string/test-strpbrk.c (stupid_strpbrk): New function.
  11362. (do_random_tests): Make sure the string is zero terminated.
  11363. * string/test-strcmp.c (stupid_strcmp): New function.
  11364. (do_random_tests): Make sure the strings are zero terminated.
  11365. * string/test-strspn.c (stupid_strspn): New function.
  11366. (simple_strspn): Rename rej argument to acc.
  11367. (do_random_tests): Make sure the string is zero terminated.
  11368. * string/test-strcspn.c (stupid_strcspn): New function.
  11369. * string/test-strncpy.c (stupid_strncpy): New function.
  11370. * string/test-stpncpy.c (stupid_stpncpy): New function.
  11371. * string/test-strncmp.c (stupid_strncmp): New function.
  11372. (do_random_tests): Make sure the strings are zero terminated.
  11373. * string/test-string.h (impl_t): Change test into long.
  11374. (IMPL): Add __attribute__((aligned (sizeof (void *)))).
  11375. 2002-11-08 Roland McGrath <roland@redhat.com>
  11376. * sysdeps/ia64/elf/configure.in: Add TLS check.
  11377. From Ian Wienand <ianw@cse.unsw.edu.au>.
  11378. * sysdeps/ia64/elf/configure: Regenerated.
  11379. 2002-11-07 Roland McGrath <roland@redhat.com>
  11380. * libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
  11381. place of _IO_new_do_write.
  11382. [_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
  11383. #undef before versioned_symbol use.
  11384. 2002-11-07 Richard Henderson <rth@redhat.com>
  11385. * configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
  11386. * configure: Regenerated.
  11387. * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
  11388. * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
  11389. (RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
  11390. _dl_fini via gp-relative relocations.
  11391. * sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
  11392. * elf/tls-macros.h: Add alpha versions.
  11393. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
  11394. * sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
  11395. * sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
  11396. * sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
  11397. * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
  11398. * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
  11399. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
  11400. * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
  11401. * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
  11402. * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
  11403. * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
  11404. * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
  11405. * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
  11406. * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
  11407. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
  11408. * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
  11409. * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
  11410. * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
  11411. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
  11412. Kill argument registers across the inline syscall.
  11413. * sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
  11414. * linuxthreads/sysdeps/alpha/tls.h: New file.
  11415. * sysdeps/alpha/dl-tls.h: New file.
  11416. 2002-10-29 David Mosberger <davidm@hpl.hp.com>
  11417. * sysdeps/ia64/elf/initfini.c [HAVE_INITFINI_ARRAY]
  11418. (gmon_initializer): New function.
  11419. (.init prologue): If HAVE_INITFINI_ARRAY is true, don't call
  11420. __gmon_start__ here. Call it from gmon_initializer() instead.
  11421. 2002-03-12 H.J. Lu <hjl@gnu.org>
  11422. * elf/Makefile [$(have-initfini-array) = yes] (tests): Add tst-array1,
  11423. tst-array2, and tst-array3.
  11424. [$(have-initfini-array) = yes] (tests-static): Add tst-array3.
  11425. [$(have-initfini-array) = yes] (modules-names): Add tst-array2dep.
  11426. ($(objpfx)tst-array1.out): New target.
  11427. ($(objpfx)tst-array2): Likewise.
  11428. ($(objpfx)tst-array2.out): Likewise.
  11429. ($(objpfx)tst-array3.out): Likewise.
  11430. * elf/tst-array1.c: New file.
  11431. * elf/tst-array1.exp: Likewise.
  11432. * elf/tst-array2.c: Likewise.
  11433. * elf/tst-array2dep.c: Likewise.
  11434. * elf/tst-array2.exp: Likewise.
  11435. * elf/tst-array3.c: Likewise.
  11436. 2002-10-28 David Mosberger <davidm@hpl.hp.com>
  11437. * elf/dl-fini.c (_dl_fini): Invoke fini_array in _reverse_ order.
  11438. Don't add L->l_addr to array entry values.
  11439. 2002-11-07 Jakub Jelinek <jakub@redhat.com>
  11440. * string/test-string.h: New file.
  11441. * string/test-strlen.c: New file.
  11442. * string/test-string.h: New file.
  11443. * string/test-strcmp.c: New file.
  11444. * string/test-strchr.c: New file.
  11445. * string/test-strrchr.c: New file.
  11446. * string/test-strcpy.c: New file.
  11447. * string/test-stpcpy.c: New file.
  11448. * string/test-strncpy.c: New file.
  11449. * string/test-stpncpy.c: New file.
  11450. * string/test-strpbrk.c: New file.
  11451. * string/test-strcspn.c: New file.
  11452. * string/test-strspn.c: New file.
  11453. * string/test-strcat.c: New file.
  11454. * string/test-strncmp.c: New file.
  11455. * string/test-memchr.c: New file.
  11456. * string/test-memcmp.c: New file.
  11457. * string/test-memset.c: New file.
  11458. * string/test-memcpy.c: New file.
  11459. * string/test-mempcpy.c: New file.
  11460. * string/test-memmove.c: New file.
  11461. * string/Makefile (strop-tests): New variable.
  11462. (tests): Add strop-tests.
  11463. (distribute): Add test-string.h.
  11464. 2002-11-06 Ulrich Drepper <drepper@redhat.com>
  11465. * posix/regcomp.c: Use tabs instead of spaces.
  11466. * posix/regexec.c: Likewise.
  11467. * posix/regex_internal.h: Likewise.
  11468. * posix/regcomp.c (re_compile_fastmap_iter): Use __wcrtomb not wctomb.
  11469. 2002-11-06 Jakub Jelinek <jakub@redhat.com>
  11470. * posix/regcomp.c (re_compile_pattern): Don't set regs_allocated
  11471. here.
  11472. (regcomp): Don't set can_be_null here.
  11473. (re_comp): Clear whole re_comp_buf with the exception of fastmap.
  11474. (re_compile_internal): Clear can_be_null, set regs_allocated.
  11475. * posix/regcomp.c (re_set_fastmap): New function.
  11476. (re_compile_fastmap_iter): Use it. Remove redundant type ==
  11477. COMPLEX_BRACKET check.
  11478. * posix/regexec.c (re_search_internal): Optimize searching with
  11479. fastmap. Call re_string_reconstruct even if match_first is
  11480. smaller than raw_mbs_idx.
  11481. 2002-11-06 Isamu Hasegawa <isamu@yamato.ibm.com>
  11482. * posix/regcomp (free_dfa_content): Use free_state.
  11483. * posix/regex_internal.c (re_string_realloc_buffers): Don't edit
  11484. pointers in case that realloc failed.
  11485. (re_node_set_merge): Likewise.
  11486. (register_state): Likewise.
  11487. (create_newstate_common): Invoke memory release functions in case of
  11488. error conditions.
  11489. (create_ci_newstate): Likewise.
  11490. (create_cd_newstate): Likewise.
  11491. (free_state): New function.
  11492. * posix/regexec.c (re_search_internal): Invoke memory release
  11493. functions in case of error conditions.
  11494. (sift_states_backward): Likewise.
  11495. (merge_state_array): Likewise.
  11496. (add_epsilon_src_nodes): Likewise.
  11497. (sub_epsilon_src_nodes): Likewise.
  11498. (search_subexp): Likewise.
  11499. (sift_states_bkref): Likewise.
  11500. (transit_state_sb): Likewise.
  11501. (transit_state_mb): Likewise.
  11502. (transit_state_bkref_loop): Likewise.
  11503. (group_nodes_into_DFAstates): Likewise.
  11504. (push_fail_stack): Don't edit pointers in case that realloc failed.
  11505. (extend_buffers): Likewise.
  11506. (match_ctx_add_entry): Likewise.
  11507. 2002-11-06 Roland McGrath <roland@redhat.com>
  11508. * sysdeps/unix/sysv/linux/mips/configure.in: File removed.
  11509. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
  11510. * configure.in: Add checks on as and ld for binutils 2.13 or later.
  11511. * configure: Regenerated.
  11512. 2002-11-06 Ulrich Drepper <drepper@redhat.com>
  11513. * posix/regcomp.c (regcomp): __re_compile_fastmap can never fail.
  11514. If re_compile_internal failed free fastmap buffer.
  11515. (free_dfa_content): Broken out of regfree function. Frees all dfa
  11516. related data.
  11517. (regfree): Add free_dfa_content.
  11518. (re_compile_internal): If any of the called functions fails free
  11519. all dfa related memory.
  11520. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  11521. * sysdeps/unix/sysv/linux/sys/sysctl.h: Add ugly hacks to prevent
  11522. warnings from the kernel headers.
  11523. 2002-11-05 Roland McGrath <roland@redhat.com>
  11524. * sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
  11525. From Johannes Stezenbach <js@convergence.de>.
  11526. * sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
  11527. #errlist-compat magic comment to give 123 as size.
  11528. (libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
  11529. (libc: GLIBC_2.2): ... here.
  11530. (libc: GLIBC_2.3): Likewise.
  11531. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  11532. * elf/dl-fini.c (_dl_fini): Correct the increment of l_opencount
  11533. which happens at the beginning so that we can unload modules in
  11534. __libc_freeres.
  11535. 2002-11-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  11536. * sysdeps/sh/bits/setjmp.h (JB_SIZE): Define only
  11537. under [__USE_MISC || _ASM].
  11538. * elf/elf.h: Remove the obsolete SH TLS relocations.
  11539. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  11540. * posix/regcomp.c (regcomp): Initialize preg->can_be_null to zero.
  11541. 2002-11-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  11542. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Handle
  11543. __NR_pread64 and __NR_pwrite64.
  11544. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
  11545. * sysdeps/unix/sysv/linux/powerpc/pread.c: Remove __NR_pread64
  11546. and __NR_pwrite64.
  11547. Revert change to use INLINE_SYSCALL.
  11548. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  11549. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
  11550. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  11551. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Revert change to use
  11552. INLINE_SYSCALL.
  11553. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
  11554. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  11555. Update clobber list and add a comment about the syscall ABI.
  11556. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_pread64,
  11557. s_pwrite64, s_ftruncate, s_truncate): Re-add.
  11558. 2002-11-05 Jakub Jelinek <jakub@redhat.com>
  11559. * iconv/gconv_dl.c (free_mem): Clear loaded.
  11560. * locale/loadarchive.c (_nl_archive_subfreeres): Call locale_data's
  11561. cleanup if any.
  11562. 2002-11-05 Ulrich Drepper <drepper@redhat.com>
  11563. * sysdeps/unix/sysv/linux/fexecve.c: Include <stdio.h>.
  11564. * libio/ioseekoff.c: Remove INTDEF. Define _IO_seekoff_unlocked. Same
  11565. as old code without locking. _IO_seekoff calls this function after
  11566. locking the stream.
  11567. * libio/ioseekpos.c: Likewise for _IO_seekpos.
  11568. * libio/libioP.h: Replace _IO_seekoff_internal and _IO_seekpos_internal
  11569. prototypes with _IO_seekoff_unlocked and _IO_seekpos_unlocked
  11570. prototypes.
  11571. * libio/iolibio.h (_IO_fseek): Call _IO_seekoff_unlocked instead
  11572. of _IO_seekoff_internal.
  11573. (_IO_rewind): Likewise.
  11574. * libio/ioftell.c: Likewise.
  11575. * libio/ftello.c: Likewise.
  11576. * libio/ftello64.c: Likewise.
  11577. * libio/iofgetpos.c: Likewise.
  11578. * libio/iofgetpos64.c: Likewise.
  11579. * libio/oldiofgetpos.c: Likewise.
  11580. * libio/oldiofgetpos64.c: Likewise.
  11581. * libio/iofsetpos.c: Call _IO_seekpos_unlocked instead of
  11582. _IO_seekpos_internal.
  11583. * libio/iofsetpos64.c: Likewise.
  11584. * libio/oldiofsetpos.c: Likewise.
  11585. * libio/oldiofsetpos64.c: Likewise.
  11586. 2002-11-04 Roland McGrath <roland@redhat.com>
  11587. * sysdeps/unix/sysv/linux/powerpc/chown.c: Use INLINE_SYSCALL macro.
  11588. * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
  11589. * sysdeps/unix/sysv/linux/powerpc/ioctl.c: Likewise.
  11590. * sysdeps/unix/sysv/linux/powerpc/pread.c: Likewise.
  11591. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  11592. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
  11593. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  11594. * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Likewise.
  11595. * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Likewise.
  11596. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Likewise.
  11597. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ioctl,
  11598. s_chown, s_ftruncate64, s_mmap2, s_pread64, s_pwrite64, s_truncate64,
  11599. sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev):
  11600. Remove these, no longer used.
  11601. 2002-11-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  11602. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (s_ipc,
  11603. s_llseek, s_readahead, s_execve, s_fcntl, s_fcntl64, s_fstat64,
  11604. s_getcwd, s_getdents, s_getdents64, s_getpmsg, s_getpriority,
  11605. s_getrlimit, s_lstat64, s_poll, s_ptrace, s_putpmsg, s_reboot,
  11606. s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
  11607. s_stat64, s_sysctl, s_ugetrlimit, s_ustat, s_vfork): Remove now unused
  11608. syscall stubs.
  11609. * sysdeps/unix/sysv/linux/pwrite.c: Fix typo.
  11610. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
  11611. * sysdeps/unix/sysv/linux/powerpc/pread.c: Handle both __NR_pread64
  11612. and __NR_pread.
  11613. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
  11614. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Handle both __NR_pwrite64
  11615. and __NR_pwrite.
  11616. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
  11617. 2002-11-03 Roland McGrath <roland@redhat.com>
  11618. * sysdeps/generic/ldsodefs.h (struct rtld_global): New member
  11619. `_dl_tls_static_used'.
  11620. * sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
  11621. (__libc_setup_tls): Initialize it. Let the initial value of
  11622. _dl_tls_static_size indicate some surplus space in the computed value.
  11623. * elf/dl-open.c (_dl_tls_static_size): New variable.
  11624. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Initialize
  11625. _dl_tls_static_used. Add some surplus space into _dl_tls_static_size.
  11626. * elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
  11627. (CHECK_STATIC_TLS): Use it.
  11628. * elf/dl-close.c (_dl_close): Adjust _dl_tls_static_used when the
  11629. closed objects occupied a trailing contiguous chunk of static TLS area.
  11630. 2002-10-18 Bruno Haible <bruno@clisp.org>
  11631. * charmaps/ISO_5428: Use Greek characters introduced in Unicode 3.0.
  11632. 2002-11-04 Ulrich Drepper <drepper@redhat.com>
  11633. * libio/wfileops.c (_IO_wfile_seekoff): Don't modify _offset and
  11634. _wide_data->_IO_read_end if adjustment can be made in the current
  11635. buffer.
  11636. * sysdeps/unix/sysv/linux/fexecve.c: New file.
  11637. * libio/bug-wfflush.c (do_test): Using fseek is not allowed when
  11638. wide oriented streams are used.
  11639. * nss/getXXent_r.c (ENDFUNC_NAME): Don't do anything if the
  11640. service hasn't been used [PR libc/4744].
  11641. * include/features.h: Use __STDC_VERSION__ not __STDC_VERSION.
  11642. Reported by Miloslav Trmač <mitr@volny.cz> [PR libc/4766].
  11643. * manual/examples/dir.c: Don't include <stddef.h>.
  11644. * manual/examples/select.c: Include <errno.h> for TEMP_FAILURE_RETRY.
  11645. Reported by Frédéric Delanoy <delanoy_f@yahoo.com>.
  11646. 2002-11-02 H.J. Lu <hjl@gnu.org>
  11647. * stdio-common/reg-printf.c: Include <stddef.h>.
  11648. 2002-11-03 Ulrich Drepper <drepper@redhat.com>
  11649. * sysdeps/generic/libc-tls.c: Define _dl_tls_static_used.
  11650. * po/ca.po: Update from translation team.
  11651. * po/es.po: Likewise.
  11652. * sysdeps/generic/segfault.c (catch_segfault): If HAVE_PROC_SELF
  11653. is defined write out memory map.
  11654. * sysdeps/unix/sysv/linux/segfault.c: New file.
  11655. 2002-11-02 Roland McGrath <roland@redhat.com>
  11656. * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use union type for
  11657. pointers that can alias.
  11658. Reported by Daniel Jacobowitz <drow@mvista.com>.
  11659. * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: New file.
  11660. 2002-11-02 Roland McGrath <roland@redhat.com>
  11661. * manual/filesys.texi (Reading/Closing Directory): Rewrite readdir_r
  11662. description to be clearer and to say that *RESULT is set to ENTRY.
  11663. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  11664. * posix/regexec.c (build_trtable): Alloca or malloc dests_node and
  11665. dests_ch arrays together. Alloca or malloc dest_states,
  11666. dest_states_word and dest_states_nl arrays together. Free memory on
  11667. error exit.
  11668. 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
  11669. * crypt/crypt_util.c (__init_des_r): Initialize current_salt
  11670. and current_saltbits.
  11671. 2002-11-02 Roland McGrath <roland@redhat.com>
  11672. * stdio-common/reg-printf.c: Include <stdlib.h>.
  11673. 2002-11-02 H.J. Lu <hjl@gnu.org>
  11674. * sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
  11675. caller to EXTRA instead of execve.
  11676. 2002-11-01 Roland McGrath <roland@redhat.com>
  11677. * sysdeps/generic/errno-loc.c [! USE___THREAD]: Use this conditional
  11678. in place of [!(USE_TLS && HAVE___THREAD)].
  11679. (__errno_location) [! USE___THREAD]: Define as strong, not weak.
  11680. 2002-10-31 Roger Sayle <roger@eyesopen.com>
  11681. * sysdeps/i386/soft-fp/sfp-machine.h (_FP_NANFRAC_Q, _FP_NANSIGN_Q):
  11682. New macros.
  11683. * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
  11684. * soft-fp/soft-fp.h: Allow sfp-machine.h to define FP_RND_NEAREST
  11685. without defining FP_ROUNDMODE.
  11686. 2002-10-29 Jakub Jelinek <jakub@redhat.com>
  11687. * sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
  11688. (__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
  11689. declare_symbol.
  11690. * sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
  11691. (OLD_SIGLIST_SIZE): Define.
  11692. * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
  11693. (OLD_SIGLIST_SIZE): Define.
  11694. * sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
  11695. 2002-11-01 Jakub Jelinek <jakub@redhat.com>
  11696. * sysdeps/ia64/strncpy.S: Fix recovery code.
  11697. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  11698. * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
  11699. New macros.
  11700. * elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
  11701. text_set_element.
  11702. * elf/dl-libc.c (free_mem): Likewise.
  11703. * iconv/gconv_conf.c (free_mem): Likewise.
  11704. * iconv/gconv_db.c (free_mem): Likewise.
  11705. * iconv/gconv_dl.c (free_mem): Likewise.
  11706. * iconv/gconv_cache.c (free_mem): Likewise.
  11707. * intl/finddomain.c (free_mem): Likewise.
  11708. * intl/dcigettext.c (free_mem): Likewise.
  11709. * locale/setlocale.c (free_mem): Likewise.
  11710. * misc/fstab.c (fstab_free): Likewise.
  11711. * nss/nsswitch.c (free_mem): Likewise.
  11712. * posix/regcomp.c (free_mem): Likewise.
  11713. * resolv/gai_misc.c (free_res): Likewise.
  11714. * stdlib/fmtmsg.c (free_mem): Likewise.
  11715. * sunrpc/clnt_perr.c (free_mem): Likewise.
  11716. * sysdeps/generic/setenv.c (free_mem): Likewise.
  11717. * sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
  11718. * sysdeps/pthread/aio_misc.c (free_res): Likewise.
  11719. * time/tzset.c (free_mem): Likewise.
  11720. * malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
  11721. * locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
  11722. * malloc/set-freeres.c (__libc_freeres): Likewise.
  11723. * login/getutent.c: Include stdlib.h instead of stddef.h.
  11724. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  11725. (__getutent): Allocate buffer the first time it is run.
  11726. * login/getutid.c: Include stdlib.h instead of stddef.h.
  11727. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  11728. (__getutid): Allocate buffer the first time it is run.
  11729. * login/getutline.c: Include stdlib.h instead of stddef.h.
  11730. (buffer): Change into pointer to utmp, add libc_freeres_ptr.
  11731. (__getutline): Allocate buffer the first time it is run.
  11732. * malloc/mtrace.c (malloc_trace_buffer): Change into char *.
  11733. (mtrace): Allocate malloc_trace_buffer.
  11734. * resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
  11735. * resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
  11736. * string/strerror.c: Include libintl.h and errno.h.
  11737. (buf): New variable.
  11738. (strerror): Only allocate buffer if actually needed (unknown error).
  11739. * time/tzfile.c (transitions): Add libc_freeres_ptr.
  11740. (freeres): Remove.
  11741. 2002-10-25 Jakub Jelinek <jakub@redhat.com>
  11742. * include/libc-symbols.h (libc_freeres_ptr): New macro.
  11743. * malloc/set-freeres.c (__libc_freeres_ptrs): Define using
  11744. symbol_set_define.
  11745. (__libc_freeres): Free all pointers in that section.
  11746. * Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
  11747. commands when creating .lds script.
  11748. (LDSEDCMD-c.so): New variable.
  11749. * inet/rcmd.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
  11750. (rcmd_af): Use strdup to allocate ahostbuf.
  11751. * inet/rexec.c (ahostbuf): Change into char *. Add libc_freeres_ptr.
  11752. (rexec_af): Use strdup to allocate ahostbuf.
  11753. * stdio-common/reg-printf.c (printf_funcs): Remove.
  11754. (__printf_arginfo_table): Change into printf_arginfo_function **.
  11755. Add libc_freeres_ptr.
  11756. (__register_printf_function): Allocate __printf_arginfo_table
  11757. and __printf_function_table the first time it is called.
  11758. * stdio-common/printf-parse.h (__printf_arginfo_table): Change into
  11759. printf_arginfo_function **.
  11760. (parse_one_spec): Add __builtin_expect.
  11761. * grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
  11762. (free_mem): Remove.
  11763. * inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
  11764. (free_mem): Remove.
  11765. * intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
  11766. (string_space, map): Add libc_freeres_ptr.
  11767. (free_mem): Remove.
  11768. * misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
  11769. (free_mem): Remove.
  11770. * misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
  11771. (free_mem): Remove.
  11772. * crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
  11773. (buffer): Add libc_freeres_ptr.
  11774. (free_mem): Remove for _LIBC.
  11775. * nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
  11776. (free_mem): Remove.
  11777. * nss/getXXent.c (buffer): Add libc_freeres_ptr.
  11778. (free_mem): Remove.
  11779. * pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
  11780. (free_mem): Remove.
  11781. * resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
  11782. (free_mem): Remove.
  11783. * shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
  11784. (free_mem): Remove.
  11785. * sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
  11786. (free_mem): Remove.
  11787. * sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
  11788. libc_freeres_ptr.
  11789. (free_mem): Remove.
  11790. * sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
  11791. libc_freeres_ptr.
  11792. (free_mem): Remove.
  11793. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  11794. * malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
  11795. instead of duplicating the whole function in libc.
  11796. 2002-10-31 Roland McGrath <roland@redhat.com>
  11797. * sysdeps/i386/bits/byteswap.h [__GNUC__ < 2] (__bswap_32):
  11798. Renamed from __bswap_16 (typo fix). Reported by <dens@stl.sarov.ru>.
  11799. 2002-10-30 Jakub Jelinek <jakub@redhat.com>
  11800. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
  11801. 32bit-predefine when creating .new32 list and -U for each
  11802. 32bit-predefine when creating .new64 list.
  11803. * sysdeps/unix/sysv/linux/x86_64/Makefile (32bit-predefine): New.
  11804. 2002-10-29 Andreas Schwab <schwab@suse.de>
  11805. * sysdeps/generic/allocrtsig.c: Include <testrtsig.h>, not
  11806. "testrtsig.h". Reported by Daniel Jacobowitz <dan@debian.org>.
  11807. 2002-10-25 Roland McGrath <roland@redhat.com>
  11808. * sysdeps/unix/sysv/linux/configure.in: Fix typo in last change.
  11809. * sysdeps/unix/sysv/linux/configure: Regenerated.
  11810. * sysdeps/generic/ldsodefs.h: Remove [! SHARED] conditional from
  11811. _dl_starting_up decl.
  11812. 2002-10-20 H.J. Lu <hjl@gnu.org>
  11813. * sysdeps/unix/sysv/linux/configure.in: Don't check
  11814. /lib/modules/`uname -r`/build/include for kernel headers if
  11815. cross compiling.
  11816. * sysdeps/unix/sysv/linux/configure: Regenerated.
  11817. 2002-10-25 Roland McGrath <roland@redhat.com>
  11818. * math/math.h (M_LOG2El): Correct the value.
  11819. From Stephen L Moshier <steve@moshier.net>.
  11820. * sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
  11821. conditional from __libc_multiple_libcs access. Remove kludge for weak
  11822. symbol access with old compilers we no longer support.
  11823. * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
  11824. * sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
  11825. 2002-10-25 Roland McGrath <roland@redhat.com>
  11826. * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
  11827. implement SV_RESETHAND by translating it to SA_RESETHAND.
  11828. 2002-10-23 Alexandre Oliva <aoliva@redhat.com>
  11829. * elf/dl-reloc.c (_dl_reloc_bad_use): Print the full 32-bit relocation
  11830. type on ELF64 platforms.
  11831. 2002-10-24 Ulrich Drepper <drepper@redhat.com>
  11832. * elf/elf.h (R_X86_64_GOTTPOFF): Renamed from r_x86_64_GOTTPOFF.
  11833. * elf/elf.h: Define ELF_NOTE_OS_FREEBSD and NT_TASKSTRUCT.
  11834. 2002-10-24 Jakub Jelinek <jakub@redhat.com>
  11835. * elf/dl-misc.c: Include <sysdep.h>.
  11836. (_dl_debug_vdprintf): Only take dl_load_lock if not _dl_starting_up.
  11837. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INTERNAL_SYSCALL,
  11838. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  11839. (INLINE_SYSCALL): Use that.
  11840. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INTERNAL_SYSCALL,
  11841. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  11842. (INLINE_SYSCALL): Use that.
  11843. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL,
  11844. INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): New macros.
  11845. (INLINE_SYSCALL): Use that.
  11846. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Include
  11847. dl-sysdep.h.
  11848. (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
  11849. (__INTERNAL_SYSCALL_STRING): Define.
  11850. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
  11851. dl-sysdep.h.
  11852. (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
  11853. (__INTERNAL_SYSCALL_STRING): Define.
  11854. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL): Pass
  11855. __SYSCALL_STRING to inline_syscall*.
  11856. (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
  11857. New macros.
  11858. (inline_syscall0, inline_syscall1, inline_syscall2, inline_syscall3,
  11859. inline_syscall4, inline_syscall5, inline_syscall6): Add string
  11860. argument.
  11861. 2002-10-24 Roland McGrath <roland@redhat.com>
  11862. * sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
  11863. * sysdeps/unix/sysv/linux/init-first.c: Not here.
  11864. * sysdeps/powerpc/elf/libc-start.c: Or here.
  11865. * sysdeps/unix/sysv/aix/libc-start.c: Or here.
  11866. * sysdeps/unix/sysv/aix/start-libc.c: Or here.
  11867. * sysdeps/unix/sysv/aix/init-first.c: Or here.
  11868. * sysdeps/generic/libc-start.c: Or here.
  11869. * sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
  11870. access with [! SHARED].
  11871. * sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
  11872. * libio/bug-wfflush.c: New file.
  11873. * libio/Makefile (tests): Add bug-wfflush.
  11874. 2002-10-23 Roland McGrath <roland@redhat.com>
  11875. * stdio-common/tst-fphex.c: New file.
  11876. * stdio-common/Makefile (tests): Add tst-fphex.
  11877. * sysdeps/generic/printf_fphex.c (__printf_fphex): Fix initialization
  11878. of WNUMEND. Fix counting of decimal point in WIDTH. Print '0' pad
  11879. chars always before the value digits.
  11880. Reported by James Antill <james.antill@redhat.com>.
  11881. 2002-10-24 Jakub Jelinek <jakub@redhat.com>
  11882. * posix/regcomp.c (re_comp): Call __regfree on re_comp_buf.
  11883. (free_mem): New function.
  11884. * posix/Makefile (tests): Add bug-regex14. Add bug-regex14-mem
  11885. if not cross compiling.
  11886. (generated): Add bug-regex14-mem and bug-regex14.mtrace.
  11887. (bug-regex14-ENV): Set.
  11888. (bug-regex14-mem): New target.
  11889. * posix/bug-regex14.c: New file.
  11890. 2002-10-23 Roland McGrath <roland@redhat.com>
  11891. * elf/Makefile ($(objpfx)librtld.map): Use temporary file for output
  11892. target, so we don't touch it when the link fails.
  11893. * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
  11894. Check for the result overflowing off_t and fail with EOVERFLOW.
  11895. * libio/ioftell.c (_IO_ftell): Likewise.
  11896. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
  11897. * login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
  11898. use a temporary timeval on the stack for gettimeofday and copy it.
  11899. * login/logout.c (logout): Likewise.
  11900. Reported by Steven Munroe <sjmunroe@us.ibm.com>.
  11901. * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
  11902. Use __SWORD_TYPE instead of int for member types.
  11903. (struct statfs64): Likewise.
  11904. * sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
  11905. * sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
  11906. * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
  11907. * sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
  11908. * sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
  11909. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
  11910. * sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
  11911. (ST_NODIRATIME): Restore fixed value of 2048.
  11912. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
  11913. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
  11914. Rearranged <bits/types.h> definitions to reduce duplication.
  11915. * sysdeps/generic/bits/types.h: Rewritten, using macros from
  11916. <bits/wordsize.h> and new header <bits/typesizes.h>.
  11917. * posix/Makefile (headers): Add bits/typesizes.h here.
  11918. * sysdeps/generic/bits/typesizes.h: New file.
  11919. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
  11920. * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
  11921. * sysdeps/mach/hurd/bits/typesizes.h: New file.
  11922. * sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
  11923. * sysdeps/unix/sysv/linux/bits/types.h: File removed.
  11924. * sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
  11925. * sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
  11926. * sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
  11927. * sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
  11928. * sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
  11929. * posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
  11930. <bits/pthreadtypes.h> here, not in <bits/types.h>.
  11931. * signal/signal.h: Likewise.
  11932. * streams/stropts.h: Include <bits/xtitypes.h>.
  11933. * streams/Makefile (headers): Add bits/xtitypes.h here.
  11934. * sysdeps/generic/bits/xtitypes.h: New file.
  11935. * sysdeps/s390/bits/xtitypes.h: New file.
  11936. * sysdeps/ia64/bits/xtitypes.h: New file.
  11937. * sysdeps/x86_64/bits/xtitypes.h: New file.
  11938. * sysvipc/Makefile (headers): Add bits/ipctypes.h here.
  11939. * sysdeps/generic/bits/ipctypes.h: New file.
  11940. * sysdeps/mips/bits/ipctypes.h: New file.
  11941. * sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
  11942. * sysdeps/gnu/bits/msq.h: Likewise.
  11943. * sysvipc/sys/ipc.h: Likewise.
  11944. 2002-10-22 Ulrich Drepper <drepper@redhat.com>
  11945. * elf/dl-load.c (struct filebuf): For buf element to have the
  11946. alignment of ElfXX_Ehdr since this is what will be stored in it.
  11947. 2002-10-22 Jakub Jelinek <jakub@redhat.com>
  11948. * locale/programs/locarchive.c (add_alias): Change locrec_offset arg
  11949. into pointer to locrec_offset.
  11950. (add_locale_to_archive): Adjust callers. Free normalized_name right
  11951. before returning, not immediately after add_locale, pass it to
  11952. add_alias if not NULL instead of name. Rename second normalized_name
  11953. occurence to nnormalized_codeset_name.
  11954. * locale/programs/locarchive.c (enlarge_archive): Make sure
  11955. string_size is always a multiple of 4.
  11956. Reported by Andreas Schwab <schwab@suse.de>.
  11957. 2002-10-21 Andreas Schwab <schwab@suse.de>
  11958. * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set
  11959. caller to EXTRA instead of execve, since the latter has a
  11960. higher-priority implementation in linuxthreads.
  11961. 2002-10-21 Roland McGrath <roland@redhat.com>
  11962. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Initialize the static
  11963. slotinfo list's len member to the proper size, not just 1.
  11964. Initialize static_map.l_tls_initimage.
  11965. * elf/dl-open.c (dl_open_worker): Fix loop searching for
  11966. dtv_slotinfo_list element containing new modules' l_tls_modid.
  11967. * elf/tst-tls9.c, elf/tst-tls9-static.c: New files.
  11968. * elf/tst-tlsmod5.c, elf/tst-tlsmod6.c: New files.
  11969. * elf/Makefile (tests): Add tst-tls9.
  11970. (tests-static): Add tst-tls9-static.
  11971. (tst-tls9-static-ENV): New variable.
  11972. ($(objpfx)tst-tls9-static, $(objpfx)tst-tls9-static.out): New targets.
  11973. * elf/dl-close.c (remove_slotinfo): Remove an assert; the number of
  11974. modids used by partially loaded modules being closed can't be known.
  11975. 2002-10-21 Isamu Hasegawa <isamu@yamato.ibm.com>
  11976. * posix/Makefile: Add a test case for the bug reported by Aharon
  11977. Robbins <arnold@skeeve.com>.
  11978. * posix/bug-regex13.c: New file.
  11979. * posix/regcomp.c (peek_token_bracket): Skip the byte already read.
  11980. 2002-10-21 Ulrich Drepper <drepper@redhat.com>
  11981. * csu/gmon-start.c: Pretty printing.
  11982. 2002-10-19 Art Haas <ahaas@neosoft.com>
  11983. * configure.in: Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS,
  11984. add AC_HELP_STRING to all AC_ARG_WITH and AC_ARG_ENABLE macros,
  11985. add autoconf quotes to the AC_CONFIG_AUX_DIR macro.
  11986. * configure: Regenerated.
  11987. 2002-10-19 Roland McGrath <roland@redhat.com>
  11988. * configure.in: Call AC_CONFIG_SUBDIRS with empty argument
  11989. and then set $subdirs directly, because the new Autoconf breaks
  11990. compatibility in every way imaginable and insists on whining
  11991. about usage that worked since the dawn of time.
  11992. * configure: Regenerated.
  11993. * configure: Regenerated (using Autoconf 2.54).
  11994. * sysdeps/alpha/elf/configure: Likewise.
  11995. * sysdeps/generic/configure: Likewise.
  11996. * sysdeps/i386/elf/configure: Likewise.
  11997. * sysdeps/ia64/elf/configure: Likewise.
  11998. * sysdeps/mach/hurd/configure: Likewise.
  11999. * sysdeps/mach/configure: Likewise.
  12000. * sysdeps/unix/configure: Likewise.
  12001. * sysdeps/unix/common/configure: Likewise.
  12002. * sysdeps/unix/sysv/aix/configure: Likewise.
  12003. * sysdeps/unix/sysv/linux/configure: Likewise.
  12004. * sysdeps/unix/sysv/linux/mips/configure: Likewise.
  12005. * sysdeps/x86_64/elf/configure: Likewise.
  12006. * config.make.in: Nix completely-soft nonsense.
  12007. * configure.in: Likewise. Under --without-fp, use nofpu subdirectory
  12008. of machine directories instead of fpu subdirectory.
  12009. * sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
  12010. * sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
  12011. * sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
  12012. * sysdeps/powerpc/nofpu/sim-full.c: ... here.
  12013. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
  12014. * sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
  12015. * sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
  12016. * sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
  12017. * sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
  12018. * sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
  12019. * sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
  12020. * sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
  12021. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
  12022. * sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
  12023. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
  12024. * sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
  12025. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
  12026. * sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
  12027. * sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
  12028. * sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
  12029. * sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
  12030. * sysdeps/powerpc/nofpu/fegetenv.c: ... here.
  12031. * sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
  12032. * sysdeps/powerpc/nofpu/fesetenv.c: ... here.
  12033. * sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
  12034. * sysdeps/powerpc/nofpu/fegetround.c: ... here.
  12035. * sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
  12036. * sysdeps/powerpc/nofpu/fesetround.c: ... here.
  12037. * sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
  12038. * sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
  12039. * sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
  12040. * sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
  12041. * sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
  12042. * sysdeps/powerpc/nofpu/fenv_const.c: ... here.
  12043. * sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
  12044. * sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
  12045. * sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
  12046. * sysdeps/powerpc/nofpu/soft-supp.h: ... here.
  12047. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
  12048. * sysdeps/powerpc/nofpu/Versions: ... here, new file.
  12049. 2002-10-19 Bruno Haible <bruno@clisp.org>
  12050. * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: New file.
  12051. 2002-10-18 Roland McGrath <roland@redhat.com>
  12052. * io/Makefile (routines): Add lchmod.
  12053. * io/sys/stat.h [__USE_BSD] (lchmod): Declare it.
  12054. * sysdeps/generic/lchmod.c: New file.
  12055. * sysdeps/mach/hurd/lchmod.c: New file.
  12056. * io/Versions (libc: GLIBC_2.3.2): New set, add lchmod.
  12057. 2002-10-18 Art Haas <ahaas@neosoft.com>
  12058. * configure.in: Remove remaining AC_FD_CC macros, and replace
  12059. AC_FD_MSG with AS_MESSAGE_FD.
  12060. 2002-10-18 Roland McGrath <roland@redhat.com>
  12061. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Fix
  12062. typos: VALUE -> FINALADDR.
  12063. * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
  12064. (inline_syscall_clobbers, inline_syscall0, inline_syscall1)
  12065. (inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
  12066. (inline_syscall6): Move these macros ...
  12067. * sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
  12068. * configure.in (libc_link_dests, libc_link_sources): Remove these
  12069. variables and the AC_LINK_FILES call.
  12070. * sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Fix last
  12071. change to put new symbols here instead of in GLIBC_2.2.
  12072. * sysdeps/powerpc/Subdirs: Move this file ...
  12073. * sysdeps/powerpc/soft-fp/Subdirs: ... here.
  12074. 2002-10-07 Roland McGrath <roland@redhat.com>
  12075. * sysdeps/generic/bits/time.h: Replaced with contents of the
  12076. sysdeps/unix/sysv/linux/i386/bits/time.h file. All the following
  12077. files were identical except for the absence of CLOCK_THREAD_CPUTIME_ID
  12078. and CLOCK_PROCESS_CPUTIME_ID in .../linux/bits/time.h; adding these
  12079. macros is ok even for architectures that don't now implement them.
  12080. * sysdeps/mach/hurd/bits/time.h: File removed.
  12081. * sysdeps/unix/sysv/linux/bits/time.h: File removed.
  12082. * sysdeps/unix/sysv/linux/i386/bits/time.h: File removed.
  12083. * sysdeps/unix/sysv/linux/ia64/bits/time.h: File removed.
  12084. * sysdeps/unix/sysv/linux/sparc/bits/time.h: File removed.
  12085. * sysdeps/unix/sysv/linux/x86_64/bits/time.h: File removed.
  12086. 2002-10-18 Jeff Bailey <jbailey@gnu.org>
  12087. * configure.in: Replace obsolete AC_OUTPUT syntax with
  12088. AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type AC_OUTPUT trio.
  12089. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDEs for
  12090. _AS_PATH_SEPARATOR_PREPARE and _AS_TEST_PREPARE.
  12091. * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
  12092. * sysdeps/alpha/elf/configure.in: Likewise.
  12093. * sysdeps/i386/elf/configure.in: Likewise.
  12094. * sysdeps/mach/hurd/configure.in: Likewise.
  12095. * sysdeps/x86_64/elf/configure.in: Likewise.
  12096. * configure.in: Use AC_CONFIG_SRCDIR and new AC_INIT syntax.
  12097. * sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
  12098. * sysdeps/generic/configure.in: Likewise.
  12099. * sysdeps/i386/elf/configure.in: Likewise.
  12100. * sysdeps/ia64/elf/configure.in: Likewise.
  12101. * sysdeps/mach/configure.in: Likewise.
  12102. * sysdeps/mach/hurd/configure.in: Likewise.
  12103. * sysdeps/unix/configure.in: Likewise.
  12104. * sysdeps/unix/common/configure.in: Likewise.
  12105. * sysdeps/unix/sysv/aix/configure.in: Likewise.
  12106. * sysdeps/unix/sysv/linux/configure.in: Likewise.
  12107. * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
  12108. * sysdeps/x86_64/elf/configure.in: Likewise.
  12109. * aclocal.m4: Use just the bits from AS_INIT that are needed for the
  12110. GLIBC_PROVIDES. Use plain comment instead of HEADER-COMMENT so
  12111. that it's obvious when extra autoconf machinery is being dragged in.
  12112. 2002-10-18 Roland McGrath <roland@redhat.com>
  12113. * configure.in: Remove bogus echo included in
  12114. 2002-10-08 Aldy Hernandez <aldyh@redhat.com> change.
  12115. * configure: Regenerated.
  12116. 2002-10-18 Jakub Jelinek <jakub@redhat.com>
  12117. * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
  12118. (statfs_filesize_max): New function.
  12119. * sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
  12120. JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
  12121. ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
  12122. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
  12123. statfs_filesize_max.
  12124. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
  12125. * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
  12126. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
  12127. 2002-10-17 Roland McGrath <roland@redhat.com>
  12128. * configure.in (MIG): Just AC_SUBST it here.
  12129. * configure: Regenerated.
  12130. * sysdeps/mach/configure.in (MIG): Do the AC_CHECK_TOOL here.
  12131. Adding final - argument to all AC_CHECK_HEADER uses for .defs files.
  12132. * sysdeps/mach/configure: Regenerated.
  12133. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_TR_SH_PREPARE])
  12134. and AC_PROVIDE([_AS_CR_PREPARE]).
  12135. * aclocal.m4 (GLIBC_PROVIDES): Add AC_PROVIDE([_AS_ECHO_N_PREPARE]).
  12136. Remove AC_LANG(C) call, instead just define([_AC_LANG], [C]).
  12137. * elf/dl-support.c: Move _dl_tls_* variables to ...
  12138. * sysdeps/generic/libc-tls.c: ... here.
  12139. * elf/dl-close.c (remove_slotinfo): Take new argument. If false,
  12140. allow IDX to be one past the current last slotinfo entry.
  12141. (_dl_close): Pass IMAP->l_init_called for that parameter.
  12142. 2002-10-07 Andreas Schwab <schwab@suse.de>
  12143. * aclocal.m4: Fix for autoconf 2.53.
  12144. * configure.in: Likewise. Require autoconf 2.53.
  12145. 2002-10-08 Richard Henderson <rth@redhat.com>
  12146. * soft-fp/op-4.h: Handle carry correctly in
  12147. __FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
  12148. __FP_FRAC_SUB_4, __FP_FRAC_DEC_3, __FP_FRAC_DEC_4.
  12149. * soft-fp/op-common.h: New macros _FP_DIV_MEAT_N_loop.
  12150. 2002-10-08 Aldy Hernandez <aldyh@redhat.com>
  12151. * configure.in: Compute completely-soft.
  12152. * config.make.in: Make completely-soft available to sub-makes.
  12153. * sysdeps/powerpc/soft-fp/Makefile: Add gcc-single-routines and
  12154. gcc-double-routines. Add sim-full.c. Add fenv_const and
  12155. fe_nomask to libm-support.
  12156. * sysdeps/powerpc/soft-fp/sim-full.c: New file.
  12157. * sysdeps/powerpc/soft-fp/fraiseexcpt.c: New file.
  12158. * sysdeps/powerpc/soft-fp/fegetexcept.c: New file.
  12159. * sysdeps/powerpc/soft-fp/fclrexcpt.c: New file.
  12160. * sysdeps/powerpc/soft-fp/ftestexcept.c: New file.
  12161. * sysdeps/powerpc/soft-fp/fgetexcptflg.c: New file.
  12162. * sysdeps/powerpc/soft-fp/fsetexcptflg.c: New file.
  12163. * sysdeps/powerpc/soft-fp/fedisblxcpt.c: New file.
  12164. * sysdeps/powerpc/soft-fp/feenablxcpt.c: New file.
  12165. * sysdeps/powerpc/soft-fp/fegetenv.c: New file.
  12166. * sysdeps/powerpc/soft-fp/fesetenv.c: New file.
  12167. * sysdeps/powerpc/soft-fp/fegetround.c: New file.
  12168. * sysdeps/powerpc/soft-fp/fesetround.c: New file.
  12169. * sysdeps/powerpc/soft-fp/feupdateenv.c: New file.
  12170. * sysdeps/powerpc/soft-fp/feholdexcpt.c: New file.
  12171. * sysdeps/powerpc/soft-fp/fenv_const.c: New file.
  12172. * sysdeps/powerpc/soft-fp/libm-test-ulps: New file.
  12173. * sysdeps/powerpc/soft-fp/soft-supp.h: New file.
  12174. * sysdeps/powerpc/soft-fp/Versions: Add libgcc soft-float
  12175. symbols. Add __sim_disabled_exceptions, __sim_exceptions,
  12176. __sim_round_mode.
  12177. * sysdeps/powerpc/soft-float/Dist: Add sim-full.c, fenv_const.c.
  12178. * sysdeps/powerpc/soft-float/sfp-machine.h: Define
  12179. FP_HANDLE_EXCEPTIONS.
  12180. Define FP_ROUNDMODE.
  12181. Redefine FP_* macros to correspond to the FE_* bit positions.
  12182. Define FP_DIV_MEAT_S to _FP_DIV_MEAT_1_loop.
  12183. Define externs for __sim_exceptions, __sim_disabled_exceptions,
  12184. __sim_round_mode, __simulate_exceptions.
  12185. * sysdeps/powerpc/fpu/bits/fenv.h: Move file from here...
  12186. * sysdeps/powerpc/bits/fenv.h: ...to here.
  12187. 2002-10-06 Jakub Jelinek <jakub@redhat.com>
  12188. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
  12189. Store R_PPC_UADDR32 and R_PPC_UADDR16 one byte at a time.
  12190. Use __builtin_expect for R_PPC_ADDR24 overflow check. Fix
  12191. R_PPC_ADDR16, R_PPC_UADDR16 and R_PPC_ADDR14* overflow check, use
  12192. __builtin_expect.
  12193. 2002-10-15 Jakub Jelinek <jakub@redhat.com>
  12194. * include/resolv.h (__libc_res_nquery, __libc_res_nsearch,
  12195. __libc_res_nsend): New prototypes.
  12196. * resolv/res_query.c (QUERYSIZE): Define.
  12197. (__libc_res_nquery): Renamed from res_nquery. Added answerp
  12198. argument. Allocate only QUERYSIZE bytes first, if res_nmkquery
  12199. fails use MAXPACKET buffer. Call __libc_res_nsend instead of
  12200. res_nsend, pass answerp.
  12201. (res_nquery): Changed into wrapper around __libc_res_nquery.
  12202. (__libc_res_nsearch): Renamed from res_nsearch. Added answerp
  12203. argument. Call __libc_res_nquerydomain and __libc_res_nquery
  12204. instead of the non-__libc_ variants, pass them answerp.
  12205. (res_nsearch): Changed into wrapper around __libc_res_nsearch.
  12206. (__libc_res_nquerydomain): Renamed from res_nquerydomain.
  12207. Added answerp argument. Call __libc_res_nquery instead of
  12208. res_nquery, pass answerp.
  12209. (res_nquerydomain): Changed into wrapper around
  12210. __libc_res_nquerydomain.
  12211. * resolv/res_send.c: Include sys/ioctl.h.
  12212. (MAXPACKET): Define.
  12213. (send_vc): Change arguments. Reallocate answer buffer if it is
  12214. too small.
  12215. (send_dg): Likewise.
  12216. (__libc_res_nsend): Renamed from res_nsend. Added ansp argument.
  12217. Reallocate answer buffer if it is too small and hooks are in use.
  12218. Adjust calls to send_vc and send_dg.
  12219. (res_nsend): Changed into wrapper around __libc_res_nsend.
  12220. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Allocate
  12221. just 1K answer buffer on the stack, use __libc_res_nsearch instead
  12222. of res_nsearch.
  12223. (_nss_dns_gethostbyaddr_r): Similarly with __libc_res_nquery.
  12224. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
  12225. (_nss_dns_getnetbyname_r): Similarly with __libc_res_nsearch.
  12226. * resolv/gethnamaddr.c (gethostbyname2): Likewise.
  12227. (gethostbyaddr): Similarly with __libc_res_nquery.
  12228. * resolv/Versions (libresolv): Export __libc_res_nquery and
  12229. __libc_res_nsearch at GLIBC_PRIVATE.
  12230. 2002-10-17 Roland McGrath <roland@redhat.com>
  12231. * configure.in: Grok --without-__thread and disable HAVE___THREAD.
  12232. * configure: Regenerated.
  12233. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Do CHECK_STATIC_TLS
  12234. before performing the reloc, not after.
  12235. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
  12236. 2002-10-17 Ulrich Drepper <drepper@redhat.com>
  12237. * locale/programs/locale.c (write_locales): Use 'm' flag in fopen call.
  12238. * locale/programs/linereader.c (lr_open): Likewise.
  12239. * locale/programs/charmap-dir.c (charmap_open): Likewise.
  12240. * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
  12241. 2002-10-17 Isamu Hasegawa <isamu@yamato.ibm.com>
  12242. * posix/bug-regex11.c: Add a test case for the bug reported by
  12243. Paolo Bonzini <bonzini@gnu.org>.
  12244. * posix/regexec.c (sift_states_bkref): Use correct destination of
  12245. the back reference.
  12246. 2002-10-17 Roland McGrath <roland@redhat.com>
  12247. * elf/dl-load.c (_dl_map_object_from_fd): Don't check DF_STATIC_TLS.
  12248. * elf/dl-reloc.c (_dl_relocate_object: CHECK_STATIC_TLS): New macro
  12249. to signal error if an IE-model TLS reloc resolved to a dlopen'd module.
  12250. * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
  12251. Call it after performing TPOFF relocs.
  12252. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  12253. * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
  12254. * elf/dl-conflict.c (CHECK_STATIC_TLS): New macro (no-op).
  12255. * elf/dl-close.c (remove_slotinfo): Change asserts so as not to crash
  12256. when closing a partially-initialized object.
  12257. * elf/dl-load.c (_dl_map_object_from_fd) [! USE_TLS]: Call lose
  12258. instead of _dl_fatal_printf when we see PT_TLS.
  12259. * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
  12260. instead of $(libof-$<).
  12261. 2002-10-16 Roland McGrath <roland@redhat.com>
  12262. * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
  12263. instead of += to append, to be sure $(lib) gets expanded at defn time.
  12264. (libof-$(cpp-src)): New variable, define this instead.
  12265. * extra-lib.mk (cpp-srcs-left): Reduce duplication in include setup.
  12266. (lib): Don't use override.
  12267. (CPPFLAGS-$(lib)): New variable, put -D's here.
  12268. * Makeconfig (CPPFLAGS): Use basename fn for CPPFLAGS-basename.
  12269. Also add $(CPPFLAGS-LIB) before the file-specific flags, for each
  12270. LIB found by $(libof-*) for basename, target, or source.
  12271. * Makerules (CPPFLAGS-nonlib): New variable.
  12272. * nscd/Makefile (lib): Set to nonlib when using cppflags-iterator.mk.
  12273. * locale/Makefile (lib): Likewise.
  12274. * sunrpc/Makefile (lib): Likewise.
  12275. * sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
  12276. * sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
  12277. * sysdeps/unix/sysv/linux/pathconf.h: New file.
  12278. (statfs_link_max): New function, guts from fpathconf.c.
  12279. * sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
  12280. * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
  12281. * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
  12282. to use the linux/pathconf.c code by #include rather than duplication.
  12283. * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
  12284. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  12285. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  12286. Use __libc_errno only for libc itself.
  12287. 2002-10-16 Andreas Jaeger <aj@suse.de>
  12288. * sysdeps/x86_64/_mcount.S: Fix off-by-1 error in argument access.
  12289. 2002-10-16 Ulrich Drepper <drepper@redhat.com>
  12290. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
  12291. Use __libc_errno only for libc itself.
  12292. 2002-10-15 Roland McGrath <roland@redhat.com>
  12293. Jakub Jelinek <jakub@redhat.com>
  12294. * sysdeps/unix/sysv/linux/Makefile
  12295. ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Take code from
  12296. sparc/Makefile to produce a bi-arch file as needed.
  12297. That's now parameterized by the variable $(64bit-predefine).
  12298. Use LC_ALL=C for `comm' commands in that rule.
  12299. No longer conditional on [$(no_syscall_list_h)].
  12300. * sysdeps/unix/sysv/linux/sparc/Makefile: Remove replacement rules.
  12301. (64bit-predefine): New variable.
  12302. * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
  12303. * sysdeps/unix/sysv/linux/s390/Makefile: New file.
  12304. * sysdeps/unix/sysv/linux/powerpc/Makefile
  12305. (64bit-predefine): New variable.
  12306. 2002-10-15 Roland McGrath <roland@redhat.com>
  12307. * sysdeps/unix/sysv/linux/Makefile
  12308. ($(objpfx)syscall-%.h $(objpfx)syscall-%.d)
  12309. * login/utmp-private.h: Declare __libc_utmp_lock.
  12310. * sysdeps/unix/getlogin_r.c (getlogin_r): Take __libc_utmp_lock once
  12311. and call __libc_utmp_jump_table functions directly, instead of using
  12312. __setutent et al.
  12313. * sysdeps/unix/sysv/linux/configure.in: Use case instead of if.
  12314. * sysdeps/unix/sysv/linux/configure: Regenerated.
  12315. * sysdeps/gnu/bits/utmp.h: Include <bits/wordsize.h>.
  12316. (struct lastlog) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
  12317. Use int32_t for ll_time.
  12318. (struct utmp) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]:
  12319. Use int32_t instead of long int for ut_session.
  12320. Use an anonymous struct with 32-bit fields for ut_tv.
  12321. * sysdeps/gnu/bits/utmpx.h: Include <bits/wordsize.h>.
  12322. (struct utmpx) [__WORDSIZE == 64 && __WORDSIZE_COMPAT32]: Do the same
  12323. here as in utmp.h for `struct utmp'.
  12324. * sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: File removed.
  12325. * sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: File removed.
  12326. * sysdeps/unix/sysv/linux/sparc/bits/utmp.h: File removed.
  12327. * sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: File removed.
  12328. * sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: File removed.
  12329. * sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: File removed.
  12330. * sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
  12331. of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
  12332. All the following files were identical or equivalent to it.
  12333. * sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
  12334. * sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
  12335. * sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
  12336. * sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
  12337. * sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
  12338. * sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
  12339. * sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
  12340. * sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
  12341. * sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
  12342. * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
  12343. * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
  12344. instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
  12345. Other than the previously incorrect sign of msg_iovlen, this is a
  12346. no-op on 32-bit platforms. On 64-bit platforms it makes this header
  12347. match their layouts as well, so the following are now identical to it.
  12348. * sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
  12349. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
  12350. * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
  12351. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
  12352. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
  12353. 2002-10-15 Ulrich Drepper <drepper@redhat.com>
  12354. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
  12355. Define for 2.4+ kernels.
  12356. * sysdeps/unix/sysv/linux/i386/vfork.S: Optimize for kernels which
  12357. are known to have the vfork syscall. Don't confuse the CPUs
  12358. branch prediction unit by jumping to the return address.
  12359. * sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
  12360. support for reiserfs and xfs.
  12361. * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
  12362. XFS link count.
  12363. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
  12364. and XFS_LINK_MAX.
  12365. Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
  12366. 2002-10-16 Jakub Jelinek <jakub@redhat.com>
  12367. * include/libc-symbols.h (attribute_tls_model_ie): Define.
  12368. * include/errno.h (errno): Define to __libc_errno in libc.so.
  12369. Add attribute_tls_model_ie.
  12370. * include/netdb.h (h_errno): Define to __libc_h_errno in libc.so.
  12371. Add attribute_tls_model_ie.
  12372. * include/resolv.h (_res): Define to __libc_res in libc.so. Add
  12373. attribute_tls_model_ie.
  12374. * inet/herrno.c (__libc_h_errno): Add hidden alias to h_errno.
  12375. (h_errno): Define.
  12376. * resolv/res_libc.c (__libc_res): Add hidden alias to _res.
  12377. (_res): Define.
  12378. * sysdeps/generic/bits/libc-tsd.h (__libc_tsd_define): Add
  12379. attribute_tls_model_ie.
  12380. * sysdeps/generic/errno-loc.c (errno): Only undefine if not using
  12381. __thread.
  12382. * sysdeps/generic/errno.c (__libc_errno): Add hidden alias to errno.
  12383. * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER): Use
  12384. __libc_errno in USE___THREAD case.
  12385. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  12386. Likewise.
  12387. * configure.in (HAVE_TLS_MODEL_ATTRIBUTE): Check for
  12388. __attribute__((tls_model (""))).
  12389. * configure: Rebuilt.
  12390. * config.h.in (HAVE_TLS_MODEL_ATTRIBUTE): Add.
  12391. 2002-10-15 Ulrich Drepper <drepper@redhat.com>
  12392. * timezone/asia: Update from tzdata2002d.
  12393. * timezone/australasia: Likewise.
  12394. * timezone/iso3166.tab: Likewise.
  12395. * timezone/southamerica: Likewise.
  12396. * timezone/zone-tab: Likewise.
  12397. 2002-10-15 Roland McGrath <roland@redhat.com>
  12398. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls) [TLS_TCB_AT_TP]:
  12399. Adjust TCB pointer before calling free, so we get the whole block.
  12400. 2002-10-14 Roland McGrath <roland@redhat.com>
  12401. * sysdeps/unix/sysv/linux/x86_64/sigaction.c
  12402. [HAVE_HIDDEN && !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]: Declare restore_rt
  12403. extern using attribute_hidden instead of static, avoids warning.
  12404. 2002-10-09 Jakub Jelinek <jakub@redhat.com>
  12405. * sysdeps/unix/sysv/linux/configure.in: Use */lib64 for s390x too.
  12406. * sysdeps/unix/sysv/linux/configure: Rebuilt.
  12407. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  12408. * po/sv.po: Update from translation team.
  12409. 2002-10-12 H.J. Lu <hjl@gnu.org>
  12410. * sunrpc/thrsvc.c (PROCQUIT): New.
  12411. (struct rpc_arg): New.
  12412. (dispatch): Call exit (0) if request->rq_proc == PROCQUIT.
  12413. (test_one_call): Take struct rpc_arg * instead of CLIENT *c.
  12414. (thread_wrapper): Modified for struct rpc_arg * and call PROCQUIT.
  12415. (main): Modified for struct rpc_arg *.
  12416. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  12417. * dirent/scandir.c: Rearrange code a bit to reduce binary size.
  12418. 2002-10-14 Jakub Jelinek <jakub@redhat.com>
  12419. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Include tls.h.
  12420. (SYSCALL_ERROR_HANDLER): Use RTLD_PRIVATE_ERRNO sequence
  12421. in ld.so even if __thread is supported.
  12422. 2002-10-13 Jakub Jelinek <jakub@redhat.com>
  12423. * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
  12424. Add hack to prevent the compiler from clobbering the signal context.
  12425. * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
  12426. Likewise.
  12427. * sysdeps/unix/sysv/linux/x86_64/profil-counter.h (profil_counter):
  12428. Likewise.
  12429. 2002-10-14 Andreas Jaeger <aj@suse.de>
  12430. * sysdeps/mips/fpu/libm-test-ulps: Regenerated by
  12431. Guido Guenther <agx@sigxcpu.org>.
  12432. 2002-10-14 Ulrich Drepper <drepper@redhat.com>
  12433. * po/sk.po: Update from translation team.
  12434. 2002-09-26 Roland McGrath <roland@redhat.com>
  12435. * elf/dl-load.c (_dl_dst_count, _dl_dst_substitute): Handle $LIB
  12436. dynamic string tag.
  12437. * elf/Makefile ($(objpfx)trusted-dirs.st): Make the output define
  12438. DL_DST_LIB based on $(slibdir).
  12439. 2002-10-13 Roland McGrath <roland@frob.com>
  12440. * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
  12441. * sysdeps/mach/hurd/getresuid.c: New file.
  12442. * sysdeps/mach/hurd/getresgid.c: New file.
  12443. * sysdeps/mach/hurd/setresuid.c: New file.
  12444. * sysdeps/mach/hurd/setresgid.c: New file.
  12445. * posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
  12446. setresgid): Declare them.
  12447. * NEWS: Mention it.
  12448. * include/unistd.h
  12449. (__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
  12450. add libc_hidden_proto.
  12451. * posix/Versions (libc: GLIBC_2.3.2): New set. Add
  12452. getresuid, getresgid, setresuid, setresgid here.
  12453. * Versions.def (libc): Define GLIBC_2.3.2 set.
  12454. * sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
  12455. Add libc_hidden_def.
  12456. * sysdeps/generic/getresgid.c (__getresgid): Likewise.
  12457. * sysdeps/generic/setresgid.c: New file.
  12458. * sysdeps/generic/setresuid.c: New file.
  12459. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
  12460. (sysdep_routines): Don't add getresuid and getresgid here.
  12461. * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
  12462. (sysdep_routines): Don't add setresuid and setresgid here.
  12463. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
  12464. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
  12465. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  12466. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
  12467. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  12468. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  12469. * posix/Makefile (routines): Add them all here instead.
  12470. * sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
  12471. __getresuid. Add libc_hidden_def for that, and weak alias to old name.
  12472. * sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
  12473. __getresgid. Add libc_hidden_def for that, and weak alias to old name.
  12474. * sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
  12475. [! __NR_setresuid]: Include generic file.
  12476. * sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
  12477. __setresgid. Add libc_hidden_def for that, and weak alias to old name.
  12478. [! __NR_setresuid]: Include generic file.
  12479. * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
  12480. Caller is - now, not EXTRA.
  12481. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
  12482. (setresuid, setresgid, getresuid, getresgid): Likewise.
  12483. * sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
  12484. Add these calls here.
  12485. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
  12486. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
  12487. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
  12488. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  12489. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  12490. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
  12491. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
  12492. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
  12493. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
  12494. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
  12495. (sysdep_routines): Add setfsuid and setfsgid here.
  12496. * sysdeps/unix/sysv/linux/arm/Makefile: Not here.
  12497. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
  12498. * sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
  12499. * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
  12500. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
  12501. * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
  12502. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
  12503. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
  12504. * hurd/errno.c: Renamed to ...
  12505. * hurd/errno-loc.c: ... this.
  12506. * hurd/Makefile (routines): errno -> errno-loc
  12507. 2002-10-13 Ulrich Drepper <drepper@redhat.com>
  12508. * po/de.po: Update from translation team.
  12509. * MakeTAGS: Add -E flag to xgettext runs.
  12510. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  12511. * po/fr.po: Update from translation team.
  12512. * sysdeps/posix/system.c: Remove support for old and buggy SCO systems.
  12513. Optimize a bit for use in glibc.
  12514. 2002-10-12 Roland McGrath <roland@redhat.com>
  12515. * stdio-common/tst-rndseek.c (TIMEOUT): Increase to 10 seconds.
  12516. Some machines are slow. Guido Guenther <agx@sigxcpu.org> has one.
  12517. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  12518. * po/sv.po: Update from translation team.
  12519. 2002-10-11 Isamu Hasegawa <isamu@yamato.ibm.com>
  12520. * posix/regcomp.c (re_compile_fastmap_iter): Remove the handling
  12521. OP_CONTEXT_NODE.
  12522. (regfree): Likewise.
  12523. (create_initial_state): Likewise.
  12524. (analyze): Remove the substitutions which became useless.
  12525. (calc_first): Likewise.
  12526. (calc_epsdest): Use edests of OP_BACK_REF in case that it has
  12527. epsilon destination.
  12528. (duplicate_node_closure): New function.
  12529. (duplicate_node): Remove the handling OP_CONTEXT_NODE.
  12530. (calc_inveclosure): Likewise.
  12531. (calc_eclosure): Likewise.
  12532. (calc_eclosure_iter): Invoke duplicate_node_closure instead of
  12533. direct invocation of duplicate_node.
  12534. (parse): Don't use comma operator in the return to avoid compiler
  12535. warning.
  12536. (parse_reg_exp): Likewise.
  12537. (parse_branch): Likewise.
  12538. (parse_expression): Likewise.
  12539. (parse_sub_exp): Likewise.
  12540. (parse_dup_op): Likewise.
  12541. * posix/regex_internal.c (re_dfa_add_node): Remove the substitutions
  12542. which became useless.
  12543. (create_ci_newstate): Remove the handling OP_CONTEXT_NODE.
  12544. (create_cd_newstate): Likewise.
  12545. * posix/regex_internal.h (re_token_type_t): Remove the obsolete type.
  12546. (re_token_t): Likewise.
  12547. (re_dfa_t): Likewise.
  12548. (re_node_set_remove): New macro.
  12549. * posix/regexec.c (check_matching): Remove the handling
  12550. OP_CONTEXT_NODE.
  12551. (check_halt_node_context): Likewise.
  12552. (proceed_next_node): Likewise.
  12553. (pop_fail_stack): Fix the memory leak.
  12554. (set_regs): Likewise.
  12555. (free_fail_stack_return): New function.
  12556. (sift_states_backward): Fix the memory leak. Remove the handling
  12557. OP_CONTEXT_NODE.
  12558. (update_cur_sifted_state): Append some if clause to avoid redundant
  12559. call.
  12560. (sub_epsilon_src_nodes): Use IS_EPSILON_NODE since it might be a
  12561. back reference.
  12562. (check_dst_limits): Remove the handling OP_CONTEXT_NODE.
  12563. (check_subexp_limits): Likewise.
  12564. (search_subexp): Likewise.
  12565. (sift_states_bkref): Likewise.
  12566. (transit_state_mb): Likewise.
  12567. (transit_state_bkref_loop): Likewise.
  12568. (transit_state_bkref_loop): Likewise.
  12569. (group_nodes_into_DFAstates): Likewise.
  12570. (check_node_accept): Likewise.
  12571. (sift_ctx_init): Add initializing.
  12572. 2002-10-12 Ulrich Drepper <drepper@redhat.com>
  12573. * sysdeps/unix/sysv/linux/i386/sysdep.h (INLINE_SYSCALL): Use
  12574. __builtin_expect.
  12575. 2002-10-11 Ulrich Drepper <drepper@redhat.com>
  12576. * elf/dl-load.c (_dl_map_object_from_fd): Remove unnecessarily
  12577. duplicated variable c.
  12578. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use INTERNAL_SYSCALL
  12579. if possible.
  12580. * sysdeps/unix/sysv/linux/i386/sysdep.h
  12581. (INTERNAL_SYSCALL_ERROR_P): New define.
  12582. (INTERNAL_SYSCALL_ERRNO): Likewise.
  12583. * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
  12584. Add hack to prevent the compiler from clobbering the signal context.
  12585. 2002-10-11 Roland McGrath <roland@redhat.com>
  12586. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
  12587. Fix typos.
  12588. * sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
  12589. * sysdeps/sh/dl-lookupcfg.h: File removed.
  12590. * sysdeps/i386/dl-lookupcfg.h: File removed.
  12591. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
  12592. missing labels and ; from last change.
  12593. * stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
  12594. number literals, so they are doubles instead of ints.
  12595. 2002-10-09 Roland McGrath <roland@redhat.com>
  12596. * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
  12597. changed from [USE_TLS && HAVE___THREAD].
  12598. * sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
  12599. Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
  12600. * sysdeps/x86_64/dl-machine.h
  12601. (elf_machine_type_class, elf_machine_rela): Likewise.
  12602. * sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
  12603. Likewise.
  12604. * include/link.h (struct link_map): Remove member l_tls_tp_initialized.
  12605. * elf/rtld.c (_dl_start_final, dl_main): Don't use it.
  12606. (_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
  12607. * sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
  12608. instead of ___tls_get_addr.
  12609. (___tls_get_addr_internal): Add attribute_hidden to decl.
  12610. * sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
  12611. _dl_error_catch_tsd.
  12612. * elf/rtld.c (startup_error_tsd): New function.
  12613. (dl_main): Point _dl_error_catch_tsd at that.
  12614. * elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
  12615. use new function pointer instead.
  12616. * elf/dl-tsd.c: New file.
  12617. * elf/Makefile (routines): Add it.
  12618. 2002-10-07 Roland McGrath <roland@redhat.com>
  12619. * elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
  12620. writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
  12621. take _dl_load_lock around calling __writev.
  12622. * sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
  12623. (INLINE_SYSCALL): Use that.
  12624. * sysdeps/generic/dl-sysdep.h: New file.
  12625. * sysdeps/mach/hurd/dl-sysdep.h: New file.
  12626. * sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
  12627. * include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
  12628. [RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
  12629. access it directly.
  12630. * elf/dl-minimal.c (__errno_location): Removed.
  12631. * sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
  12632. Use GOTOFF access for errno.
  12633. * sysdeps/unix/sysv/linux/i386/sysdep.h
  12634. [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
  12635. * sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
  12636. Use PC-relative access for errno.
  12637. * sysdeps/unix/sysv/linux/x86_64/sysdep.h
  12638. [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
  12639. * include/tls.h: New file.
  12640. (USE___THREAD): New macro.
  12641. Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
  12642. libc or libpthread.
  12643. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
  12644. changed from [USE_TLS && HAVE___THREAD].
  12645. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  12646. * sysdeps/unix/i386/sysdep.S: Likewise.
  12647. * sysdeps/unix/x86_64/sysdep.S: Likewise.
  12648. * include/errno.h: Likewise.
  12649. * include/netdb.h: Likewise.
  12650. * include/resolv.h: Likewise.
  12651. * sysdeps/generic/errno.c: New file.
  12652. * csu/Makefile (aux): New variable, list errno.
  12653. * sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
  12654. * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
  12655. * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
  12656. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
  12657. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
  12658. * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
  12659. * sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
  12660. * sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
  12661. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
  12662. * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
  12663. * sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
  12664. * sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
  12665. * sysdeps/unix/alpha/sysdep.S: Likewise.
  12666. * sysdeps/generic/start.c: Likewise.
  12667. * sysdeps/unix/start.c: Likewise.
  12668. * sysdeps/unix/arm/start.c: Likewise.
  12669. * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
  12670. * sysdeps/unix/sparc/start.c: Likewise.
  12671. * sysdeps/unix/sysv/irix4/start.c: Likewise.
  12672. * sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
  12673. * manual/search.texi (Tree Search Function, Hash Search Function):
  12674. Mention search.h clearly.
  12675. 2002-10-05 Roland McGrath <roland@redhat.com>
  12676. * elf/dl-fxstat64.c: File removed.
  12677. * elf/dl-xstat64.c: File removed.
  12678. * elf/Makefile (rtld-routines): Remove them.
  12679. * sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
  12680. Instead, use strong_alias instead of versioned_symbol in the
  12681. !SHLIB_COMPAT case.
  12682. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
  12683. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
  12684. * include/shlib-compat.h
  12685. (SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
  12686. [! NOT_IN_libc] (IS_IN_libc): Define it.
  12687. * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
  12688. * elf/Makefile (CPPFLAGS-.os): Likewise.
  12689. * sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
  12690. Return the status instead of calling exit.
  12691. * Makeconfig (CFLAGS): Prepend -std=gnu99.
  12692. * Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
  12693. Remove superfluous rm command, whose @ plus make bugs hid
  12694. all these commands from the make output.
  12695. * include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
  12696. * Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
  12697. Use that file's contents instead of literal echo's for the prologue.
  12698. * include/features.h: Include <gnu/stubs.h> unconditionally.
  12699. * include/gnu/stubs.h: New file.
  12700. 2002-09-30 Roland McGrath <roland@redhat.com>
  12701. * elf/rtld-Rules: New file.
  12702. * elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
  12703. $(objpfx)rtld-libc.a): New targets.
  12704. (generated): Add them.
  12705. (reloc-link): Remove -o $@ from the variable.
  12706. ($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
  12707. (distribute): Add rtld-Rules.
  12708. (CPPFLAGS-.os): Define this instead of CFLAGS-.os.
  12709. * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
  12710. (common-mostlyclean, common-clean): Clean up rtld-* files.
  12711. * sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
  12712. 2003-05-20 Jakub Jelinek <jakub@redhat.com>
  12713. * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument.
  12714. If temp != NULL, copy dynamic entries which need relocation to temp
  12715. array before relocating.
  12716. (DL_RO_DYN_TEMP_CNT): Define.
  12717. * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller.
  12718. * elf/rtld.c (_dl_start): Likewise.
  12719. (dl_main): Likewise. Add dyn_temp static variable.
  12720. 2002-10-11 Roland McGrath <roland@redhat.com>
  12721. * sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
  12722. now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
  12723. * elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
  12724. proper set of no-op insn prefixes.
  12725. * elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
  12726. 2002-10-11 Ulrich Drepper <drepper@redhat.com>
  12727. * sysdeps/unix/sysv/linux/execve.c: Don't try calling
  12728. __pthread_kill_other_threads_np.
  12729. * sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
  12730. 2002-10-08 Roland McGrath <roland@redhat.com>
  12731. * locale/newlocale.c (__newlocale): If setting all categories to "C",
  12732. just return &_nl_C_locobj instead of copying it.
  12733. * locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
  12734. * locale/duplocale.c (__duplocale): Likewise.
  12735. 2002-10-07 Roland McGrath <roland@frob.com>
  12736. * config.h.in (HAVE_I386_SET_GDT): New #undef.
  12737. * sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
  12738. * sysdeps/mach/configure: Regenerated.
  12739. 2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
  12740. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
  12741. Add all necessary register outputs for syscall-clobbered registers.
  12742. 2002-10-02 David Mosberger <davidm@hpl.hp.com>
  12743. * sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
  12744. Itanium 2 (and Itanium).
  12745. Fix unwind directives and make it fit in 80 columns.
  12746. * sysdeps/ia64/memset.S: Likewise.
  12747. * sysdeps/ia64/memcpy.S: Likewise.
  12748. Move jump table to .rodata section.
  12749. 2002-10-03 Roland McGrath <roland@frob.com>
  12750. * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
  12751. clobbers to asm.
  12752. 2002-10-10 Andreas Jaeger <aj@suse.de>
  12753. * sysdeps/x86_64/_mcount.S: Restore correct registers.
  12754. 2002-10-10 Ulrich Drepper <drepper@redhat.com>
  12755. * posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
  12756. 2002-10-09 Ulrich Drepper <drepper@redhat.com>
  12757. * sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
  12758. _dl_allocate_tls_init. Add rtld_hidden_proto.
  12759. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
  12760. rtld_hidden_def.
  12761. * elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
  12762. * version.h (VERSION): Bump to 2.3.1.
  12763. * Make-dist: Add back one of the tar invocations removed before.
  12764. * stdlib/Makefile (distribute): Add allocalim.h.
  12765. * sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
  12766. (__libc_tsd_address): Use correct variable name.
  12767. Patch by Stefan Jones <stefan.jones@multigig.com>.
  12768. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
  12769. Reported by edwardsg@sgi.com [PR libc/4678].
  12770. * Versions.def (libc): Add GLIBC_2.3.1.
  12771. (libpthread): Add GLIBC_2.3.1.
  12772. * include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
  12773. and __sigtimedwait.
  12774. * signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
  12775. * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
  12776. libc_hidden_def.
  12777. * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
  12778. * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
  12779. * include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
  12780. * sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
  12781. and make old name an alias.
  12782. * sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
  12783. and make old name an alias.
  12784. * sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
  12785. __libc_msgsnd.
  12786. * include/sys/uio.h: Declare __libc_readv and __libc_writev.
  12787. * misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
  12788. __libc_writev.
  12789. * sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
  12790. old name an alias.
  12791. * sysdeps/posix/readv.c: Likewise
  12792. * sysdeps/unix/sysv/aix/readv.c: Likewise.
  12793. * sysdeps/unix/sysv/linux/readv.c: Likewise.
  12794. * sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
  12795. old name an alias.
  12796. * sysdeps/posix/writev.c: Likewise
  12797. * sysdeps/unix/sysv/aix/writev.c: Likewise.
  12798. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  12799. * include/sys/wait.h: Declare __waitid.
  12800. * posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
  12801. * sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
  12802. name an alias.
  12803. * sysdeps/posix/waitid.c: Likewise.
  12804. * sysdeps/unix/sysv/aix/waitid.c: Likewise.
  12805. * sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
  12806. 2002-10-07 Jakub Jelinek <jakub@redhat.com>
  12807. * include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
  12808. prototypes.
  12809. (__MAX_ALLOCA_CUTOFF): Define.
  12810. Include allocalim.h.
  12811. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
  12812. _nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
  12813. host_buffer depending on __libc_use_alloca.
  12814. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
  12815. _nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
  12816. net_buffer depending on __libc_use_alloca.
  12817. * resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
  12818. buf depending on __libc_use_alloca.
  12819. * resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
  12820. * stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
  12821. instead of hardcoded constants.
  12822. Pass proper size argument to alloca and compute end for wide char
  12823. version.
  12824. * stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
  12825. instead of hardcoded constants.
  12826. * string/strcoll.c (strcoll): Likewise.
  12827. * string/strxfrm.c (strxfrm): Likewise.
  12828. * sysdeps/posix/readv.c (__readv): Likewise.
  12829. * sysdeps/posix/writev.c (__writev): Likewise.
  12830. * sysdeps/generic/allocalim.h: New file.
  12831. 2002-10-08 Roland McGrath <roland@redhat.com>
  12832. * configure.in (aux_missing warning): Change "too old" to
  12833. "incompatible versions", since for autoconf it's "too new" right now.
  12834. * configure: Regenerated.
  12835. * configure.in (AUTOCONF): New check to set it. Set to "no" if the
  12836. one found doesn't work on our configure.in.
  12837. * configure: Regenerated.
  12838. * config.make.in (AUTOCONF): New substituted variable.
  12839. * Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
  12840. (autoconf-it): ... here, use that instead of defining conditionally.
  12841. Use $(AUTOCONF) instead of literal autoconf.
  12842. [$(AUTOCONF) != no] (configure, %/configure): Protect these rules
  12843. with this condition.
  12844. * Make-dist (autoconf-it, configure, %/configure): Copy those changes.
  12845. 2002-10-08 Ulrich Drepper <drepper@redhat.com>
  12846. * Make-dist (dist): Cleanup a bit. We are not interested in the
  12847. 14 char filename limit anymore. Remove intermediate files and
  12848. symlinks.
  12849. 2002-10-05 Ulrich Drepper <drepper@redhat.com>
  12850. * po/sk.po: Update from translation team.
  12851. * po/tr.po: Likewise.
  12852. * po/gl.po: Likewise.
  12853. 2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  12854. * elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
  12855. 2002-10-03 Ulrich Drepper <drepper@redhat.com>
  12856. * version.h (RELEASE): Change to stable.
  12857. 2002-10-03 Jakub Jelinek <jakub@redhat.com>
  12858. * sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
  12859. __syscall_exit_group): New prototypes.
  12860. 2002-10-03 Ulrich Drepper <drepper@redhat.com>
  12861. * glibc 2.3 released.
  12862. See ChangeLog.13 for earlier changes.