ChangeLog.17 537 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228
  1. 2010-05-04 Andreas Schwab <schwab@redhat.com>
  2. * posix/regexec.c (find_collation_sequence_value): Fix skipping
  3. the wide char sequence of the collating element.
  4. 2010-05-05 Ulrich Drepper <drepper@redhat.com>
  5. [BZ #11571]
  6. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
  7. too small buffers according to the standard.
  8. * sysdeps/unix/sysv/linux/kernel-features.h: Alpha doesn't have to be
  9. handled here anymore.
  10. Patch mostly by Matt Turner <mattst88@gmail.com>.
  11. 2010-05-03 Ulrich Drepper <drepper@redhat.com>
  12. * version.h (VERSION): Bump for 2.12 release.
  13. * include/features.h (__GLIBC_MINOR__): Bump to 12.
  14. [BZ #11149]
  15. * elf/ldconfig.c (search_dir): Fix handling of symlinks in chroot.
  16. * elf/chroot_canon.c (chroot_canon): Use xmalloc and xrealloc.
  17. * elf/ldconfig.c (parse_conf_include): Don't fall back to
  18. directories named in config file outside the chroot.
  19. 2010-02-02 Andreas Schwab <schwab@redhat.com>
  20. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add
  21. _dl_load_write_lock.
  22. * elf/rtld.c (_rtld_global): Initialize it.
  23. * elf/dl-support.c (_dl_load_write_lock): Define .
  24. * elf/dl-close.c (_dl_close_worker): Lock GL(dl_load_write_lock)
  25. when modifying the list of loaded objects.
  26. * elf/dl-load.c (lose): Likewise.
  27. * elf/dl-object.c (_dl_new_object): Likewise.
  28. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Lock
  29. GL(dl_load_write_lock) instead of GL(dl_load_lock).
  30. 2010-05-03 Ulrich Drepper <drepper@redhat.com>
  31. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Remove unnecessary
  32. assignment.
  33. 2010-05-02 Ulrich Drepper <drepper@redhat.com>
  34. * misc/mntent_r.c (encode_name): The slow loop handles newlines so we
  35. should recognize them as an abort condition.
  36. Patch by Jan Lieskovsky <jlieskov@redhat.com>.
  37. 2010-04-25 Bruno Haible <bruno@clisp.org>
  38. [BZ #11538]
  39. * sysdeps/unix/bsd/ptsname.c (__ptsname_r): Use __ttyname_r's return
  40. value instead of errno.
  41. * sysdeps/unix/getlogin.c (getlogin): Likewise.
  42. [BZ #11537]
  43. * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Upon failure, return
  44. errno, not -1.
  45. 2010-04-24 Emilio Pozuelo Monfort <pochu27@gmail.com>
  46. * hurd/lookup-at.c (__file_name_lookup_at): Fix error return value.
  47. 2010-04-22 Ulrich Drepper <drepper@redhat.com>
  48. * po/vi.po: Update from translation team.
  49. 2010-04-21 Ulrich Drepper <drepper@redhat.com>
  50. * po/bg.po: Update from translation team.
  51. 2010-04-19 Roland McGrath <roland@redhat.com>
  52. * elf/Makefile ($(objpfx)noload): Depend on libdl.so.
  53. * Makeconfig (as-needed, no-as-needed): New variables.
  54. (link-libc): Add ld.so inside --as-needed.
  55. * stdio-common/tst-fmemopen.c (TEST_FILE): Macro removed.
  56. (main): Take arguments. Construct test file name from ARGV[0].
  57. 2010-04-15 H.J. Lu <hongjiu.lu@intel.com>
  58. * string/test-strncmp.c (check_result): New function.
  59. (do_one_test): Use it.
  60. (check1): New function.
  61. (test_main): Use it.
  62. * sysdeps/i386/i686/multiarch/strcmp-sse4.S (crosspage): Properly
  63. update source and destination.
  64. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (gobble_ashr_12):
  65. Properly check and update counter.
  66. 2010-04-14 H.J. Lu <hongjiu.lu@intel.com>
  67. * sysdeps/x86_64/elf/configure.in: Move AVX test to ....
  68. * sysdeps/i386/configure.in: ...here.
  69. * sysdeps/i386/i686/multiarch/Makefile (libm-sysdep_routines): Define.
  70. (CFLAGS-s_fma-fma.c): Define.
  71. (CFLAGS-s_fmaf-fma.c): Define.
  72. * sysdeps/i386/i686/multiarch/Versions: New file.
  73. * sysdeps/i386/i686/multiarch/s_fma-fma.c: New file.
  74. * sysdeps/i386/i686/multiarch/s_fma.c: New file.
  75. * sysdeps/i386/i686/multiarch/s_fmaf-fma.c: New file.
  76. * sysdeps/i386/i686/multiarch/s_fmaf.c: New file.
  77. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Check
  78. DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF.
  79. 2010-04-14 Andreas Schwab <schwab@redhat.com>
  80. * elf/dl-version.c (_dl_check_map_versions): Avoid index overflow
  81. when dependencies are missing.
  82. 2010-04-14 H.J. Lu <hongjiu.lu@intel.com>
  83. * sysdeps/x86_64/multiarch/memcmp-sse4.S: Optimized for unaligned
  84. data.
  85. 2010-04-12 H.J. Lu <hongjiu.lu@intel.com>
  86. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  87. memcmp-sse4.
  88. * sysdeps/x86_64/multiarch/memcmp-sse4.S: New file.
  89. * sysdeps/x86_64/multiarch/memcmp.S: New file.
  90. * sysdeps/x86_64/multiarch/rtld-memcmp.c: New file.
  91. 2010-04-13 Ulrich Drepper <drepper@redhat.com>
  92. * sysdeps/x86_64/multiarch/init-arch.h: Pretty printing.
  93. Add SSE 4.1 macros.
  94. 2010-04-10 Matt Fleming <matt@console-pimps.org>
  95. * elf/elf.h: Add SH specific ELF header flags.
  96. 2010-04-13 Andreas Schwab <schwab@redhat.com>
  97. * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Fix setup of
  98. overflow area.
  99. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
  100. 2010-04-12 Andreas Schwab <schwab@redhat.com>
  101. * stdlib/tst-makecontext3.c (main): Initialize ucontext_t objects
  102. only with getcontext. Test for unimplemented makecontext by
  103. checking errno.
  104. 2010-04-09 Ulrich Drepper <drepper@redhat.com>
  105. * nscd/aicache.c (addhstaiX): Correct passing memory to address
  106. list to gethostbyname4_r functions.
  107. * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Optimize
  108. copying of h_name.
  109. 2010-04-09 Roland McGrath <roland@redhat.com>
  110. * Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp.
  111. ($(common-objpfx)libc-abis.stamp): New target, rule moved from
  112. libc-abis.h target. Use a stamp file to avoid repeating no-op
  113. move-if-change on every run.
  114. * posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
  115. 2010-04-08 Ulrich Drepper <drepper@redhat.com>
  116. [BZ #10915]
  117. * nscd/nscd_stat.c (struct statdata): Add reload_count field.
  118. (send_stats): Fill in reload_count.
  119. (receive_print_stats): Print reload_count.
  120. * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): When
  121. reading the loginuid file use a buffer which is always large enough.
  122. NUL-terminate the string.
  123. * malloc/malloc.c (_int_malloc): Return NULL if printing error message
  124. returns.
  125. 2010-04-07 Andreas Schwab <schwab@redhat.com>
  126. * sysdeps/unix/sysv/linux/i386/fallocate.c: Set errno on error.
  127. * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
  128. 2010-04-08 Andreas Jaeger <aj@suse.de>
  129. [BZ #10401]
  130. * math/s_cprojl.c (__cprojl): Fix implementation to follow C99
  131. standard.
  132. * math/s_cprojf.c (__cprojf): Likewise.
  133. * math/s_cproj.c (__cproj): Likewise.
  134. * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
  135. * math/libm-test.inc (cproj_test): Fix test.
  136. 2010-04-08 Roland McGrath <roland@redhat.com>
  137. * Makerules (libc-abis): Variable removed.
  138. ($(common-objpfx)libc-abis.h): Depend on Makerules too.
  139. Use automatic variables in commands.
  140. Depend on first libc-abis from $(sysdirs) or $(..).
  141. 2010-04-07 Ulrich Drepper <drepper@redhat.com>
  142. * posix/bug-getopt1.c: New file.
  143. * posix/bug-getopt2.c: New file.
  144. * posix/bug-getopt3.c: New file.
  145. * posix/bug-getopt4.c: New file.
  146. * posix/bug-getopt5.c: New file.
  147. 2009-12-01 Eric Blake <ebb9@byu.net>
  148. [BZ #11039]
  149. * posix/getopt.c (_getopt_internal_r): Skip optional - or + before
  150. checking lead byte of optstring for :.
  151. [BZ #11040]
  152. * posix/getopt.c (_getopt_internal_r): Reject '-;' as short
  153. option, since it conflicts with "W;" optstring extension.
  154. 2009-12-02 Eric Blake <ebb9@byu.net>
  155. [BZ #11041]
  156. * posix/getopt.c (_getopt_internal_r): Handle '-Wfoo' identically
  157. to '--foo', with optional argument or non-ambiguous prefix.
  158. 2010-04-07 Ulrich Drepper <drepper@redhat.com>
  159. [BZ #11134]
  160. * nis/libnsl.h (NSS_FLAG_ADJUNCT_AS_SHADOW): Define.
  161. * nis/nss: Document new ADJUNCT_AS_SHADOW variable.
  162. * nis/nss-default.c: Handle ADJUNCT_AS_SHADOW variable.
  163. * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Minor cleanups.
  164. (internal_nis_getpwent_r): Don't fill in password from adjunct table
  165. if NSS_FLAG_ADJUNCT_AS_SHADOW is set.
  166. (_nss_nis_getpwnam_r): Likewise.
  167. (_nss_nis_getpwuid_r): Likewise.
  168. * nis/nss_nis/nis-spwd.c (ent_adjunct_used): New global variable.
  169. (_nss_nis_setspent): Also reset ent_adjunct_used.
  170. (internal_nis_getspent_r): If new_start is set and shadow.byname table
  171. does not exist and NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get
  172. passwd.adjunct.byname table. If new_start is not set get next entry
  173. from the initially used table. Synthesize shadow.byname table if
  174. necessary by adding two empty fields.
  175. (_nss_nis_getspnam_r): If shadow.byname table does not exist and
  176. NSS_FLAG_ADJUNCT_AS_SHADOW is set, try to get passwd.adjunct.byname
  177. table and synthesize shadow.byname table.
  178. 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
  179. * Makerules (libc-abis): Add $(..) to libc-abis.
  180. 2010-04-06 Joseph Myers <joseph@codesourcery.com>
  181. * Makerules (libc-abis): Fix search for libc-abis in add-ons.
  182. 2010-04-05 Thomas Schwinge <thomas@schwinge.name>
  183. * sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/.
  184. * sysdeps/gnu/rt-unwind-resume.c: Likewise.
  185. * sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to
  186. build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile.
  187. 2010-04-05 Roland McGrath <roland@redhat.com>
  188. * elf/dl-cache.c (_dl_load_cache_lookup): Obey dl_hwcap_mask.
  189. * elf/dl-support.c (_dl_hwcap_mask): New variable.
  190. * elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
  191. 2010-03-30 Paul Pluzhnikov <ppluzhnikov@google.com>
  192. * Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
  193. 2010-03-30 Joseph Myers <joseph@codesourcery.com>
  194. * elf/elf.h (ELFOSABI_ARM_AEABI): Define.
  195. 2010-04-05 Ulrich Drepper <drepper@redhat.com>
  196. * po/nl.po: Update from translation team.
  197. [BZ #11010]
  198. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle
  199. timeouts from servers.
  200. [BZ #11149]
  201. * elf/ldconfig.c (main): Respect chroot setting when looking for
  202. the aux cache.
  203. 2010-04-04 Ulrich Drepper <drepper@redhat.com>
  204. [BZ #11043]
  205. * posix/getopt.c (_getopt_internal_r): Fix arguments printed in error
  206. messages.
  207. [BZ #11070]
  208. * resolv/netdb.h: Declare iruserok and iruserok_af.
  209. * argp/Makefile: Add rules to build and run bug-argp2.
  210. * argp/bug-argp2.c: New file.
  211. 2010-02-05 Sergey Poznyakoff <gray@gnu.org.ua>
  212. [BZ #11254]
  213. * argp/argp-parse.c (convert_options): Fix improper use of `|'
  214. between character values.
  215. 2010-04-04 Ulrich Drepper <drepper@redhat.com>
  216. [BZ #11276]
  217. * sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define.
  218. (remove): Use IS_NO_DIRECTORY_ERROR to check for file being no
  219. directory.
  220. * sysdeps/unix/sysv/linux/remove.c: New file.
  221. * conform/data/sys/stat.h-data: Fix testing of S_IS* macros.
  222. [BZ #11279]
  223. * io/sys/stat.h: Always define S_ISSOCK for XPG6 and up.
  224. [BZ #11287]
  225. * csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers
  226. which don't define UTS_RELEASE.
  227. 2010-04-04 H.J. Lu <hongjiu.lu@intel.com>
  228. Ulrich Drepper <drepper@redhat.com>
  229. [BZ #11292]
  230. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow
  231. concurrent initialization and use of __cpu_features.
  232. 2010-04-04 Ulrich Drepper <drepper@redhat.com>
  233. * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to
  234. the enum.
  235. 2010-04-03 Ulrich Drepper <drepper@redhat.com>
  236. [BZ #11333]
  237. * sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms
  238. which include unnecessary padding in d_reclen.
  239. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for
  240. unnecessary padding.
  241. [BZ #11387]
  242. * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on
  243. unknown interface, return -1.
  244. (getifaddrs_internal): Rename from getifaddrs. Handle errors in
  245. map_newlink be returning -EAGAIN.
  246. (getifaddrs): If -EAGAIN is returned from getifaddrs_internal try
  247. again.
  248. 2010-03-25 Ryan S. Arnold <rsa@us.ibm.com>
  249. * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove
  250. redundant and incorrect else block which overwrites current line
  251. with the partial next line.
  252. 2010-04-03 Ulrich Drepper <drepper@redhat.com>
  253. [BZ #11438]
  254. * posix/gai.conf: Document problems with IPv4 site-local addresses and
  255. NATs.
  256. [BZ #11449]
  257. * crypt/crypt_util.c (__init_des_r): Add memory barrier before setting
  258. small_tables_initialized.
  259. * malloc/malloc.c (_int_free): Add one more sanity check for fastbins.
  260. * malloc/malloc.c (set_max_fast): Fix computation of the value.
  261. 2010-03-30 David S. Miller <davem@davemloft.net>
  262. * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix
  263. MMAP2_PAGE_SHIFT test.
  264. 2010-03-29 Ulrich Drepper <drepper@redhat.com>
  265. * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE.
  266. 2010-03-28 Thomas Schwinge <thomas@schwinge.name>
  267. * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv
  268. changes in the generic code.
  269. * elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv
  270. to [HAVE_AUX_VECTOR].
  271. 2010-03-27 Ulrich Drepper <drepper@redhat.com>
  272. * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If
  273. __ASSUME_AT_PAGESIZE we can rely on the value being set.
  274. * include/wchar.h: Undefine __need_mbstate_t and __need_wint_t
  275. unconditionally in the end.
  276. * posix/glob.c (glob): Initialize oldcount early, too.
  277. 2010-03-26 Ulrich Drepper <drepper@redhat.com>
  278. * sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX
  279. only if needed.
  280. Patch mostly by Paul Pluzhnikov <ppluzhnikov@google.com>.
  281. 2010-03-26 Richard Henderson <rth@redhat.com>
  282. * sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro;
  283. * stdio-common/psiginfo.c (psiginfo): Fix printf format
  284. warning for si_band.
  285. * locale/setlocale.c (free_category): Finish renaming
  286. struct locale_data to __locale_data.
  287. * csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void.
  288. * elf/dl-sysdep.c (_end): Likewise.
  289. * sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally
  290. declared _end, and associated variables.
  291. 2010-03-26 Ulrich Drepper <drepper@redhat.com>
  292. * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always
  293. means aborting the loop over the NSS methods.
  294. 2010-03-25 Andreas Schwab <schwab@redhat.com>
  295. [BZ #11001]
  296. * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
  297. each action.
  298. 2010-03-26 Ulrich Drepper <drepper@redhat.com>
  299. * malloc/malloc.c: Remove stale reference to website.
  300. 2010-03-24 Ulrich Drepper <drepper@redhat.com>
  301. [BZ #11389]
  302. * bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and
  303. CLOCK_MONOTONIC_COARSE.
  304. * sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW,
  305. CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE.
  306. * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
  307. * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
  308. 2010-03-25 Andreas Schwab <schwab@redhat.com>
  309. * sysdeps/posix/cuserid.c: Fix typo.
  310. 2010-03-16 Chris Demetriou <cgd@google.com>
  311. [BZ #11394]
  312. * locale/programs/simple-hash.c: Include inttypes.h.
  313. (hashval_t): Defined to be uint32_t.
  314. * locale/programs/simple_hash.h: Include inttypes.h.
  315. (compute_hashval): Change return type to uint32_t.
  316. 2010-03-24 Ulrich Drepper <drepper@redhat.com>
  317. * sysdeps/unix/sysv/linux/getlogin_r.c: New file.
  318. * sysdeps/unix/sysv/linux/getlogin.c: New file.
  319. * sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static
  320. function.
  321. * sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel.
  322. * include/unistd.h: Declare __getlogin_r_loginuid.
  323. [BZ #11397]
  324. * sysdeps/posix/cuserid.c (cuserid): Make sure the returned string
  325. is NUL terminated.
  326. Patch by Jonathan Geisler <jgeisler@cse.taylor.edu>.
  327. * sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values.
  328. 2010-03-24 H.J. Lu <hongjiu.lu@intel.com>
  329. * sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED
  330. is defined.
  331. 2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
  332. * string/test-memcmp.c (check_result): New function.
  333. (do_one_test): Use it.
  334. (check1): New function.
  335. (test_main): Use it.
  336. 2010-03-24 Ulrich Drepper <drepper@redhat.com>
  337. * posix/tst-gnuglob.c: Add tests with empty patterns. For this
  338. rewrite the tests to add support for failing glob calls.
  339. Some other minor cleanups.
  340. * posix/bug-glob3.c: New file.
  341. * posix/Makefile (tests): Add bug-glob3.
  342. 2010-03-24 Ulrich Drepper <drepper@redhat.com>
  343. Andreas Schwab <andreas@redhat.com>
  344. * posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier.
  345. If pattern is "" bail out early
  346. 2010-03-23 Jakub Jelinek <jakub@redhat.com>
  347. * elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL,
  348. but tab->size != 0, just unlock and goto success, without
  349. allocating anything or entering anything into the hash table.
  350. (_dl_debug_bindings): Temporarily set tab->entries to NULL
  351. around do_lookup_x in undef_map->l_local_scope[0]. If
  352. undef_map->l_symbolic_in_local_scope, lookup also in
  353. symbolic_searchlist of following libraries in l_local_scope
  354. that have DT_SYMBOLIC set.
  355. * elf/dl-deps.c (_dl_map_object_deps): Compute
  356. l_symbolic_in_local_scope.
  357. * include/link.h (struct link_map): Add l_symbolic_in_local_scope
  358. bitfield.
  359. 2010-03-24 Ulrich Drepper <drepper@redhat.com>
  360. [BZ #11410]
  361. * wctype/wctype.h: Use <wchar.h> to get the wint_t definition.
  362. * wcsmbs/wchar.h: Correct preprocessor directive indentation. Move
  363. C++ prototype handling to a better place.
  364. 2010-03-18 Ulrich Drepper <drepper@redhat.com>
  365. * elf/dl-load.c (open_verify): Extend expected to the full size of the
  366. e_ident array. When loading, check that the fields in e_ident we don't
  367. know are zero to allow future extensions.
  368. 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
  369. * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3
  370. when exit from loop.
  371. 2010-03-16 Andreas Schwab <schwab@redhat.com>
  372. * resolv/res_send.c (__libc_res_nsend): Fix printing of server
  373. address in debug statement.
  374. (send_dg): Pass correct buffer pointer to DprintQ.
  375. 2010-03-17 Ulrich Drepper <drepper@redhat.com>
  376. * libc-abis: Add a few more entries.
  377. 2010-03-16 Ulrich Drepper <drepper@redhat.com>
  378. * elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter.
  379. Not used here.
  380. (open_verify): Modify for extended VALID_ELF_ABIVERSION macro
  381. interface.
  382. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add
  383. additional osabi parameter. Only acceept nonzero ABI versions if osabi
  384. is Linux.
  385. Fix includes.
  386. (expected2): Don't explicitly initialize EI_ABIVERSION byte.
  387. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update
  388. definition to follow generic code.
  389. 2010-03-15 Ulrich Drepper <drepper@redhat.com>
  390. * posix/getconf.c: Update copyright year.
  391. * nss/getent.c: Likewise.
  392. * iconv/iconvconfig.c: Likewise.
  393. * iconv/iconv_prog.c: Likewise.
  394. * elf/ldconfig.c: Likewise.
  395. * catgets/gencat.c: Likewise.
  396. * csu/version.c: Likewise.
  397. * elf/ldd.bash.in: Likewise.
  398. * elf/sprof.c (print_version): Likewise.
  399. * locale/programs/locale.c: Likewise.
  400. * locale/programs/localedef.c: Likewise.
  401. * nscd/nscd.c (print_version): Likewise.
  402. * debug/xtrace.sh: Likewise.
  403. * malloc/memusage.sh: Likewise.
  404. * malloc/mtrace.pl: Likewise.
  405. * debug/catchsegv.sh: Likewise.
  406. * Makerules: Add rule for libc-abis.h.
  407. * csu/version.c: Use LIBC_ABIS_STRING string if available.
  408. * elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX.
  409. (open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER.
  410. Add extra call to VALID_ELF_ABIVERSION.
  411. 2010-03-12 Ulrich Drepper <drepper@redhat.com>
  412. * sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define.
  413. 2010-03-12 Andreas Schwab <schwab@redhat.com>
  414. * elf/dl-dst.h: Include "trusted-dirs.h".
  415. (DL_DST_REQUIRED): Take $LIB into account.
  416. 2010-03-11 Roland McGrath <roland@redhat.com>
  417. * elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros.
  418. (R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros.
  419. 2010-03-10 Luis Machado <luisgpm@br.ibm.com>
  420. * sysdeps/powerpc/powerpc64/power7/memcpy.S: New file.
  421. * sysdeps/powerpc/powerpc32/power7/memcpy.S: New file.
  422. 2010-03-09 David S. Miller <davem@davemloft.net>
  423. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling
  424. of R_SPARC_TLS_LE_* needs to use 32-bit loads and stores, not
  425. 64-bit ones.
  426. * sysdeps/sparc/sparc32/memcpy.S: Fix build.
  427. * sysdeps/sparc/sparc32/strlen.S: Optimize.
  428. * sysdeps/sparc/sparc64/strlen.S: Likewise.
  429. * sysdeps/sparc/sparc32/sparcv9/strlen.S (ASI_PNF, ASI_BLK_P,
  430. XCC): Delete definitions, not needed.
  431. 2010-03-07 Ulrich Drepper <drepper@redhat.com>
  432. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  433. Little follow-up patch from last change.
  434. 2010-03-06 Ulrich Drepper <drepper@redhat.com>
  435. * sysdeps/unix/sysv/linux/internal_statvfs.c: Handle ext4 and logfs.
  436. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add entry for logfs.
  437. 2010-02-18 Yann Droneaud <yann@droneaud.fr>
  438. * resolv/res_send.c: Fixed DEBUG statements.
  439. Moved tmpbuf declaration to block beginning and
  440. updated pointer names used in multiple DprintQ() calls
  441. 2010-02-18 H.J. Lu <hongjiu.lu@intel.com>
  442. * config.make.in (config-asflags-i686): Define.
  443. * configure.in: Substitute libc_cv_as_i686.
  444. * sysdeps/i386/configure.in: Check if assembler supports -mtune=i686.
  445. * sysdeps/i386/i686/Makefile (CFLAGS-.oX): Add -Wa,-mtune=i686
  446. if assembler supports -mtune=i686.
  447. (ASFLAGS-.oX): Likewise.
  448. 2010-03-04 Ulrich Drepper <drepper@redhat.com>
  449. * elf/elf.h (R_X86_64_SIZE32): Define.
  450. (R_X86_64_SIZE64): Define.
  451. 2010-03-02 Richard Guenther <rguenther@suse.de>
  452. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): R_X86_64_PC32
  453. is sign-extending.
  454. 2010-03-03 Ulrich Drepper <drepper@redhat.com>
  455. * sysdeps/unix/sysv/linux/bits/in.h: Add a few more definitions from
  456. the kernel headers.
  457. 2010-03-04 David S. Miller <davem@davemloft.net>
  458. * sysdeps/sparc/sparc64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
  459. * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Delete.
  460. * sysdeps/sparc/sparc32/udiv_qrnnd.S: Delete.
  461. 2010-03-03 David S. Miller <davem@davemloft.net>
  462. * math/math_private.h (INSERT_WORDS64): Fix argument order.
  463. 2010-03-03 Aurelien Jarno <aurelien@aurel32.net>
  464. * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file.
  465. 2010-03-03 David S. Miller <davem@davemloft.net>
  466. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must
  467. pass '1' for 't' argument to sparc_fixup_plt.
  468. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel):
  469. Likewise.
  470. * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define.
  471. (sparc_fixup_plt): Document 't' argument. Enable branch
  472. optimization and use v9 branches when possible. Explain why we
  473. cannot unconditionally patch the branch into the first PLT
  474. instruction.
  475. * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't'
  476. argument. Use v9 branches when possible. Explain why we can in
  477. fact unconditionally use a branch in the first PLT instruction
  478. here.
  479. 2010-02-28 Roland McGrath <roland@redhat.com>
  480. * elf/elf.h (NT_X86_XSTATE): New macro.
  481. 2010-02-25 David S. Miller <davem@davemloft.net>
  482. * sysdeps/sparc/sparc64/Makefile: Add align-cpy rule.
  483. * sysdeps/sparc/sparc64/align-cpy.S: New.
  484. * sysdeps/sparc/sparc64/memcpy.S (__align_cpy_1, __align_cpy_2,
  485. __align_cpy_4, __align_cpy_8, __align_cpy_16): Remove.
  486. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (__align_cpy_1,
  487. __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
  488. Remove.
  489. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (__align_cpy_1,
  490. __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
  491. Remove.
  492. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (__align_cpy_1,
  493. __align_cpy_2, __align_cpy_4, __align_cpy_8, __align_cpy_16):
  494. Remove.
  495. * sysdeps/sparc/sparc32/bcopy.c: Delete.
  496. * sysdeps/sparc/sparc32/memmove.c: Delete.
  497. * sysdeps/sparc/sparc32/sparcv9/bcopy.c: Delete.
  498. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Delete.
  499. * sysdeps/sparc/sparc64/bcopy.c: Delete.
  500. * sysdeps/sparc/sparc64/memmove.c: Delete.
  501. * sysdeps/sparc/sparc64/memcopy.h: New.
  502. * sysdeps/sparc/sparc32/memcpy.S (bcopy, memmove): Remove.
  503. * sysdeps/sparc/sparc64/memcpy.S (bcopy, memmove): Likewise.
  504. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S (bcopy, memmove): Likewise.
  505. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S (bcopy, memmove): Likewise.
  506. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S (bcopy, memmove): Likewise.
  507. * sysdeps/sparc/elf/rtld-global-offsets.sym: New file.
  508. * sysdeps/sparc/Makefile (csu): Add rtld-global-offsets.sym to
  509. gen-as-const-headers.
  510. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: New file.
  511. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: New file.
  512. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: New file.
  513. * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: Move to...
  514. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra3.S: ...here.
  515. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: Move to...
  516. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara1.S: ...here.
  517. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: Move to...
  518. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara1.S: ...here.
  519. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: Move to...
  520. * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara2.S: ...here.
  521. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: Removed.
  522. * sysdeps/sparc/sparc64/multiarch/Makefile: New file.
  523. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: Move to...
  524. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: ...here.
  525. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Move to...
  526. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: ...here.
  527. * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Move to...
  528. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: ...here.
  529. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Move to...
  530. * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: ...here.
  531. * sysdeps/sparc/sparc64/sparcv9v2/memset.S: Removed.
  532. * sysdeps/sparc/sparc64/multiarch/memcpy.S: New file.
  533. * sysdeps/sparc/sparc64/multiarch/memset.S: New file.
  534. 2010-02-20 H.J. Lu <hongjiu.lu@intel.com>
  535. [BZ #11332]
  536. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Use cfi_remember_state
  537. and cfi_restore_state only if USE_AS_STRNCMP is defined.
  538. 2010-02-24 Ulrich Drepper <drepper@redhat.com>
  539. * sysdeps/x86_64/Implies: Add ieee754/dbl-64/wordsize-64 entry.
  540. 2010-02-24 H.J. Lu <hongjiu.lu@intel.com>
  541. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
  542. (bk_write_less32bytes_2): Renamed to ...
  543. (bk_write_less48bytes): This.
  544. Use unsigned conditional jumps.
  545. Correct unwind info.
  546. Use add/sub instead of lea if possible.
  547. (shl_0_gobble_cache_loop_tail): Removed.
  548. (large_page): Properly adjust ECX.
  549. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Use unsigned
  550. conditional jumps.
  551. Correct unwind info.
  552. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Remove redundant
  553. punpcklbw.
  554. Use unsigned conditional jumps.
  555. (128bytesormore_nt): Renamed to ...
  556. (128bytesormore_endof_L1): This.
  557. Use add instead of lea if possible.
  558. Correct unwind info.
  559. * sysdeps/i386/i686/multiarch/memset-sse2.S: Remove redundant
  560. punpcklbw.
  561. Use unsigned conditional jumps.
  562. Use add instead of lea if possible.
  563. Correct unwind info.
  564. 2010-02-24 Ulrich Drepper <drepper@redhat.com>
  565. [BZ #11319]
  566. * libio/iovdprintf.c (_IO_vdprintf): Explicitly flush stream before
  567. undoing the stream because _IO_FINISH doesn't report failures.
  568. [BZ #5553]
  569. * malloc/malloc.c (public_vALLOc): Set ar_ptr when trying main_arena.
  570. (public_pVALLOc): Likewise.
  571. Patch by Petr Baudiš.
  572. 2010-02-22 Jim Meyering <meyering@redhat.com>
  573. * manual/math.texi (BSD Random): Fix a typo: s/are/is/
  574. * manual/charset.texi: Adjust grammar.
  575. * manual/errno.texi (Error Messages): Fix doubled-words and typos.
  576. * manual/charset.texi (Selecting the Conversion): Likewise.
  577. * manual/getopt.texi (Getopt Long Options): Likewise.
  578. * manual/memory.texi (Resizing the Data Segment): Likewise.
  579. * manual/message.texi (GUI program problems): Likewise.
  580. * manual/resource.texi (CPU Affinity): Likewise.
  581. * manual/stdio.texi (Streams and Threads): Likewise.
  582. * manual/time.texi (High Accuracy Clock): Likewise.
  583. 2009-02-20 David S. Miller <davem@davemloft.net>
  584. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
  585. Adjust rela->r_offset by l->l_addr when rewriting PLT.
  586. * sysdeps/sparc/sparc64/memchr.S: Use unsigned branch on greater to
  587. test end of buffer.
  588. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c
  589. (__makecontext): Adjust arg counter properly when copying arg
  590. stack slots.
  591. 2009-02-20 Joseph Myers <joseph@codesourcery.com>
  592. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
  593. Adjust rela->r_offset by l->l_addr when rewriting PLT.
  594. 2010-02-19 Carl Fredrik Hammar <hammy.lite@gmail.com>
  595. * hurd/hurdioctl.c (tiocsctty): Call `do_tiocsctty' instead of
  596. non-existent `tiocsctty_port'.
  597. 2010-02-16 H.J. Lu <hongjiu.lu@intel.com>
  598. * sysdeps/i386/i686/multiarch/memcmp.S (memcmp): Use CPUID_OFFSET
  599. instead of FEATURE_OFFSET.
  600. * sysdeps/i386/i686/multiarch/strcmp.S (strcmp): Likewise.
  601. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Add alignnments.
  602. Fix one unwind info problem.
  603. * sysdeps/i386/i686/multiarch/memcmp-ssse3.S (less1bytes): Add CFI_POP.
  604. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Simplify unwind info.
  605. 2010-02-17 H.J. Lu <hongjiu.lu@intel.com>
  606. Ulrich Drepper <drepper@redhat.com>
  607. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Fix typo in unwind info.
  608. Clean up a bit.
  609. 2010-02-17 Carl Fredrik Hammar <hammy.lite@gmail.com>
  610. * hurd/hurdioctl.c (tiocsctty): Only get FD ports, do work in...
  611. (tiocsctty_port): ...this new function.
  612. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to
  613. `ioctl_handler_t'.
  614. 2010-02-15 Ulrich Drepper <drepper@redhat.com>
  615. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info.
  616. * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
  617. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
  618. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
  619. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Don't fall through to
  620. undefined code.
  621. 2010-02-12 H.J. Lu <hongjiu.lu@intel.com>
  622. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  623. strcmp-ssse3, strcmp-sse4, strncmp-c, strncmp-ssse3, strncmp-sse4,
  624. memcmp-c, memcmp-ssse3, and memcmp-sse4.
  625. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: New file.
  626. * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: New file.
  627. * sysdeps/i386/i686/multiarch/memcmp.S: New file.
  628. * sysdeps/i386/i686/multiarch/strcmp-sse4.S: New file.
  629. * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: New file.
  630. * sysdeps/i386/i686/multiarch/strcmp.S: New file.
  631. * sysdeps/i386/i686/multiarch/strncmp-c.c: New file.
  632. * sysdeps/i386/i686/multiarch/strncmp-sse4.S: New file.
  633. * sysdeps/i386/i686/multiarch/strncmp-ssse3.S: New file.
  634. * sysdeps/i386/i686/multiarch/strncmp.S: New file.
  635. 2010-02-12 Luis Machado <luisgpm@br.ibm.com>
  636. * sysdeps/powerpc/powerpc32/dl-machine.h: Removed old PPC_REL16 check.
  637. * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
  638. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
  639. * sysdeps/powerpc/powerpc32/memset.S: Likewise.
  640. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  641. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  642. * sysdeps/powerpc/powerpc32/configure.in: Fail if R_PPC_REL16
  643. is not supported.
  644. * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
  645. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
  646. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  647. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
  648. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
  649. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Likewise.
  650. * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
  651. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
  652. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
  653. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
  654. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
  655. * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
  656. * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
  657. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  658. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
  659. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
  660. * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
  661. * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S:
  662. Likewise.
  663. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
  664. Likewise.
  665. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
  666. Likewise.
  667. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
  668. Likewise.
  669. * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
  670. 2010-02-12 Alan Modra <amodra@gmail.com>
  671. * elf/tls-macros.h [__powerpc__] (__TLS_CALL_CLOBBERS): Remove r3.
  672. Define and use for __powerpc64__ too.
  673. [__powerpc__] (TLS_LD): Add r3 to clobbers.
  674. [__powerpc__] (TLS_GD): Set asm output. Make __result r3 reg.
  675. [__powerpc64__] (TLS_GD): Make __result r3 reg.
  676. [__powerpc64__] (TLS_IE): Relax output constraint.
  677. 2010-02-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  678. * sysdeps/s390/s390-64/utf8-utf16-z9.c: Disable hardware
  679. instructions cu21 and cu24. Add well-formedness checking
  680. parameter and adjust the software implementation.
  681. * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
  682. 2010-02-10 Ulrich Drepper <drepper@redhat.com>
  683. [BZ #11271]
  684. * io/ftw.c (ftw_startup): Close descriptor for initial directory
  685. after changing back to it.
  686. 2010-02-05 David S. Miller <davem@davemloft.net>
  687. * elf/elf.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.
  688. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle new
  689. ifunc relocs.
  690. (elf_machine_lazy_rel): Likewise.
  691. (sparc_fixup_plt): Pull out to...
  692. * sysdeps/sparc/sparc32/dl-plt.h: ...here.
  693. * sysdeps/sparc/sparc32/dl-irel.h: New file.
  694. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle new
  695. ifunc relocs.
  696. (elf_machine_lazy_rel): Likewise.
  697. (sparc64_fixup_plt): Pull out to...
  698. * sysdeps/sparc/sparc64/dl-plt.h: ...here.
  699. * sysdeps/sparc/sparc64/dl-irel.h: New file.
  700. 2010-02-09 Maxim Kuvyrkov <maxim@codesourcery.com>
  701. * elf/elf.h: Define m68k TLS relocations.
  702. 2010-02-10 Luis Machado <luisgpm@br.ibm.com>
  703. * sysdeps/powerpc/powerpc64/power7/Implies: Removed.
  704. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Removed.
  705. * sysdeps/powerpc/powerpc32/power7/Implies: Removed.
  706. * sysdeps/powerpc/powerpc32/power7/fpu/Implies: Removed.
  707. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Add
  708. 64-bit power7 fpu path.
  709. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Add
  710. 32-bit power7 fpu math.
  711. 2010-02-09 Ulrich Drepper <drepper@redhat.com>
  712. * sysdeps/i386/rshift.S: More compact unwind information.
  713. * sysdeps/i386/lshift.S: Fix unwind information.
  714. 2010-02-08 Luis Machado <luisgpm@br.ibm.com>
  715. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: New file.
  716. * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: New file.
  717. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: New file.
  718. * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: New file.
  719. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: New file.
  720. * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: New file.
  721. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: New file.
  722. * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: New file.
  723. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: New file.
  724. * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: New file.
  725. * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: New file.
  726. * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: New file.
  727. 2010-02-08 Andreas Schwab <schwab@redhat.com>
  728. * include/fenv.h: Add hidden proto for fegetenv.
  729. * math/fegetenv.c: Add hidden alias.
  730. * sysdeps/i386/fpu/fegetenv.c: Likewise.
  731. * sysdeps/ia64/fpu/fegetenv.c: Likewise.
  732. * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
  733. * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
  734. * sysdeps/sparc/fpu/fegetenv.c: Likewise.
  735. * sysdeps/x86_64/fpu/fegetenv.c: Likewise
  736. * sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers.
  737. 2010-02-05 H.J. Lu <hongjiu.lu@intel.com>
  738. [BZ #11230]
  739. * sysdeps/ia64/memchr.S: Don't read beyond the last byte
  740. during recovery.
  741. 2010-01-26 Andreas Schwab <schwab@redhat.com>
  742. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: Use internal
  743. interface.
  744. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: Likewise.
  745. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Declare internal
  746. utmpx interface.
  747. * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
  748. entry for 2.12.
  749. 2010-02-03 Ulrich Drepper <drepper@redhat.com>
  750. [BZ #11235]
  751. * sysdeps/unix/sysv/linux/sys/mount.h: Remove S_WRITE, S_APPEND,
  752. S_IMMUTABLE. Add MS_DIRSYNC, MS_MOVE, MS_SILENT, MS_REC,
  753. MS_POSIXACL, MS_UNBINDABLE, MS_PRIVATE, MS_SLAVE, MS_SHARED,
  754. MS_RELATIME, MS_KERNMOUNT, MS_I_VERSION, MS_STRICTATIME,
  755. MS_ACTIVE, and MS_NOUSER.
  756. (MS_RMT_MASK): Update according to current kernels.
  757. [BZ #11242]
  758. * misc/getusershell.c (initshells): Allocate one more byte in input
  759. buffer so that fgets doesn't loop undefinitely.
  760. 2010-02-02 Ulrich Drepper <drepper@redhat.com>
  761. * stdlib/setenv.c (__add_to_environ): Don't use alloca if
  762. __libc_use_alloca tells us not to. Fix memory leak in an error
  763. situation. Based partially on patch by Jim Meyering.
  764. 2010-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
  765. * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs,
  766. get_phys_pages, get_avphys_pages): Add weak aliases.
  767. 2010-01-25 Andreas Schwab <schwab@redhat.com>
  768. * iconv/iconv_prog.c (write_output): Fix check for open failure.
  769. 2010-01-22 Ulrich Drepper <drepper@redhat.com>
  770. [BZ #11200]
  771. * locale/loadlocale.c (_nl_load_locale): Fix recognition of genuine
  772. mmap resource problem. Patch by Joe Landers <jlanders@vmware.com>.
  773. 2010-01-22 Jim Meyering <jim@meyering.net>
  774. [BZ #11193]
  775. * posix/regexec.c (extend_buffers): Avoid overflow in realloc
  776. buffer length computation.
  777. [BZ #11192]
  778. * posix/regexec.c (re_copy_regs): Don't leak when allocation
  779. of the start buffer succeeds but allocation of the "end" one fails.
  780. [BZ #11191]
  781. * posix/regexec.c (re_search_2_stub): Check for overflow
  782. when adding the sizes of the two strings.
  783. [BZ #11190]
  784. * posix/regexec.c (re_search_internal): Avoid overflow
  785. in computing re_malloc buffer size.
  786. [BZ #11189]
  787. * posix/regexec.c (prune_impossible_nodes): Avoid overflow
  788. in computing re_malloc buffer size.
  789. [BZ #11188]
  790. * posix/regexec.c (build_trtable): Avoid arithmetic overflow
  791. in size calculation.
  792. [BZ #11187]
  793. * posix/regexec.c (re_search_2_stub): Use simpler method than
  794. boolean for freeing internal storage.
  795. 2010-01-22 Ulrich Drepper <drepper@redhat.com>
  796. * posix/regex_internal.c (re_string_skip_chars): Simplify test for
  797. failed mbrtowc call.
  798. 2010-01-22 Jim Meyering <jim@meyering.net>
  799. [BZ #11186]
  800. * posix/regex_internal.c (re_string_skip_chars): Don't assume WEOF
  801. fits in wchar_t. Problem reported by Eric Blake.
  802. [BZ #11185]
  803. * posix/regex_internal.c (re_string_reconstruct): Remove declaration
  804. and stores into set-but-not-used local, "q".
  805. [BZ #11184]
  806. * posix/regex_internal.c (re_dfa_add_node): Extend the overflow
  807. detection test. Patch by Paul Eggert.
  808. [BZ #11183]
  809. * posix/regex_internal.c (re_string_realloc_buffers):
  810. Detect and handle internal overflow. Patch by Paul Eggert
  811. 2010-01-20 Andreas Schwab <schwab@redhat.com>
  812. * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c
  813. (CHECK_SP): Fix check for alternate stack.
  814. * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c
  815. (CHECK_SP): Likewise.
  816. 2010-01-19 H.J. Lu <hongjiu.lu@intel.com>
  817. * sysdeps/i386/i686/multiarch/memmove.S: Also check
  818. bit_Fast_Rep_String when SHARED isn't defined.
  819. 2010-01-19 Ulrich Drepper <drepper@redhat.com>
  820. [BZ #11194]
  821. * misc/bits/syslog.h (syslog, vsyslog): Remove unnecessary return.
  822. 2010-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
  823. * sysdeps/mach/hurd/bits/libc-lock.h
  824. (__rtld_lock_recursive_t): New type.
  825. (__rtld_lock_initialize): New macro.
  826. 2010-01-14 Ryan S. Arnold <rsa@us.ibm.com>
  827. * sysdeps/powerpc/powerpc32/cell/memcpy.S: New file.
  828. * sysdeps/powerpc/powerpc64/cell/memcpy.S: New file.
  829. * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/fpu/Implies: New file.
  830. * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: New file.
  831. 2010-01-18 Andreas Schwab <schwab@redhat.com>
  832. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove duplicate
  833. definitions of O_DSYNC and O_RSYNC.
  834. * elf/dynamic-link.h (elf_get_dynamic_info): Use correct type when
  835. casting d_tag.
  836. * elf/dynamic-link.h (elf_get_dynamic_info): Ignore negative
  837. dynamic entry types.
  838. 2010-01-16 Jakub Jelinek <jakub@redhat.com>
  839. * sysdeps/ieee754/ldbl-128/s_ceill.c (huge): Add L suffix to the
  840. constant.
  841. * sysdeps/ieee754/ldbl-128/s_floorl.c (huge): Likewise.
  842. * sysdeps/ieee754/ldbl-128/s_expm1l.c (big): Decrease to avoid
  843. overflow.
  844. * sysdeps/ieee754/ldbl-128/s_log1pl.c (big): Remove unused variable.
  845. * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf): Use
  846. math_opt_barrier and math_force_eval macros.
  847. 2010-01-15 Ulrich Drepper <drepper@redhat.com>
  848. * posix/regcomp.c: Fix a few more cases of ignored return values.
  849. * posix/regex_internal.c: Likewise.
  850. * posix/regexec.c: Likewise.
  851. * include/features.h: _XOPEN_SOURCE_EXTENDED is not defined to be
  852. used without _XOPEN_SOURCE. Don't base any decisions on this macro
  853. if _XOPEN_SOURCE is not defined as well.
  854. 2010-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  855. * sysdeps/s390/s390-32/elf/start.S (_start): Added check for the
  856. high gprs kernel facility.
  857. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_matches_host):
  858. Added high gprs check for DSOs.
  859. * elf/elf.h (EF_S390_HIGH_GPRS): Added macro definition for the
  860. new elf header flag.
  861. 2010-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  862. * elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to
  863. dl_main.
  864. * elf/dl-open.c (_dl_sysdep_start): Likewise..
  865. * sysdeps/generic/ldsodefs.h (_dl_sysdep_start): Likewise.
  866. * elf/rtld.c (dl_main): Added new parameter auxv. Adjust the
  867. AT_PHDR, AT_PHNUM and AT_ENTRY fields if the ld.so is directly
  868. started.
  869. 2010-01-14 Ulrich Drepper <drepper@redhat.com>
  870. [BZ #11027]
  871. * sysdeps/generic/netinet/ip.h: Define IPTOS_CLASS_* macros according
  872. to RFC 2474.
  873. Patch by Philip Prindeville <philipp@redfish-solutions.com>.
  874. [BZ #11141]
  875. * resolv/res_send.c (reopen): Don't use IPv6 sockets for IPv4
  876. addresses.
  877. [BZ #11127]
  878. * posix/regcomp.c (alc_eclosure_iter): Do not ignore
  879. re_node_set_insert failure; return REG_ESPACE.
  880. Patch by Paul Eggert.
  881. [BZ #10864]
  882. * bits/confname.h: Make pre-C99-safe.
  883. 2010-01-14 Ryan S. Arnold <rsa@us.ibm.com>
  884. * Makeconfig (+prector, +postctor, +prectorS, +postctorS): Add
  885. $(sysdep-LDFLAGS) to pre and post ctors so that the proper .o
  886. files are found by GCC.
  887. 2010-01-14 Ulrich Drepper <drepper@redhat.com>
  888. * posix/unistd.h: Relax conditions for ualarm, usleep, getwd, vfork,
  889. brk, and sbrk.
  890. * string/strings.h: Relax condition for bcmp, bcopy, bzero, ffs,
  891. index, and rindex.
  892. * stdlib/stdlib.h: Relax conditions for *cvt functions and valloc.
  893. * Versions.def: Add GLIBC_2.12 for libpthread.
  894. [BZ #11126]
  895. * malloc/malloc.c (malloc_info): Initialize malloc if not already
  896. done. Handle empty bin lists.
  897. * posix/unistd.h: Change getpagesize and getdtablesize declaration
  898. visibility some more.
  899. * resolv/netdb.h: Relax condition to elide obsolete resolver constants.
  900. * posix/unistd.h: Declare getpagesize in _GNU_SOURCE mode.
  901. [BZ #11120]
  902. * sysdeps/x86_64/strcmp.S: Prevent silent errors should strncmp be
  903. needed outside libc.
  904. 2010-01-13 Ulrich Drepper <drepper@redhat.com>
  905. * stdlib/stdlib.h: Parameter of unsetenv must not be NULL.
  906. 2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
  907. * sysdeps/x86_64/multiarch/strlen.S: Unroll the loop.
  908. 2010-01-13 Ulrich Drepper <drepper@redhat.com>
  909. * stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol.
  910. 2010-01-12 Ulrich Drepper <drepper@redhat.com>
  911. * conform/data/complex.h-data: Test for POSIX2008.
  912. * conform/data/ctype.h-data: Fix POSIX testing.
  913. * conform/data/dirent.h-data: ino_t only needed for XSI.
  914. * grp/grp.h: Declare getgrent and endgrent for XPG7.
  915. * conform/data/inttypes.h-data: Use same types as the headers.
  916. * resolv/netdb.h: Don't define old resolver macros for XPG7.
  917. * conform/data/sys/uio.h-data: Don't exclude POSIX2008.
  918. * conform/conformtest.pl: Implement tag for allow-header.
  919. Fix newline handling in allow-header implementation.
  920. * conform/data/time.h-data: Use allow-header instead of duplicating
  921. information.
  922. * conform/data/time.h-data: Allow sigevent tag.
  923. * posix/sched.h: Define time_t and pid_t for XPG7.
  924. 2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
  925. * sysdeps/i386/i686/bcopy.S: New file.
  926. * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Define.
  927. * sysdeps/i386/i686/memcpy.S (__memcpy_chk): Use ENTRY_CHK
  928. and END_CHK.
  929. * sysdeps/i386/i686/memmove.S (__memmove_chk): Likewise.
  930. * sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
  931. * sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
  932. * sysdeps/i386/i686/memmove.S: Support USE_AS_BCOPY.
  933. * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
  934. bzero-sse2 memset-sse2 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3
  935. memcpy-ssse3-rep mempcpy-ssse3-rep memmove-ssse3-rep
  936. bcopy-ssse3 bcopy-ssse3-rep memset-sse2-rep bzero-sse2-rep
  937. * sysdeps/i386/i686/multiarch/bcopy-ssse3-rep.S: New file.
  938. * sysdeps/i386/i686/multiarch/bcopy-ssse3.S: New file.
  939. * sysdeps/i386/i686/multiarch/bcopy.S: New file.
  940. * sysdeps/i386/i686/multiarch/bzero-sse2-rep.S: New file.
  941. * sysdeps/i386/i686/multiarch/bzero-sse2.S: New file.
  942. * sysdeps/i386/i686/multiarch/bzero.S: New file.
  943. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: New file.
  944. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: New file.
  945. * sysdeps/i386/i686/multiarch/memcpy.S: New file.
  946. * sysdeps/i386/i686/multiarch/memcpy_chk.S: New file.
  947. * sysdeps/i386/i686/multiarch/memmove-ssse3-rep.S: New file.
  948. * sysdeps/i386/i686/multiarch/memmove-ssse3.S: New file.
  949. * sysdeps/i386/i686/multiarch/memmove.S: New file.
  950. * sysdeps/i386/i686/multiarch/memmove_chk.S: New file.
  951. * sysdeps/i386/i686/multiarch/mempcpy-ssse3-rep.S: New file.
  952. * sysdeps/i386/i686/multiarch/mempcpy-ssse3.S: New file.
  953. * sysdeps/i386/i686/multiarch/mempcpy.S: New file.
  954. * sysdeps/i386/i686/multiarch/mempcpy_chk.S: New file.
  955. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: New file.
  956. * sysdeps/i386/i686/multiarch/memset-sse2.S: New file.
  957. * sysdeps/i386/i686/multiarch/memset.S: New file.
  958. * sysdeps/i386/i686/multiarch/memset_chk.S: New file.
  959. * sysdeps/i386/sysdep.h (ENTRY_CHK): New.
  960. (END_CHK): Likewise.
  961. * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Add
  962. FEATURE_OFFSET, FEATURE_SIZE and FEATURE_INDEX_1.
  963. * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
  964. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add entries
  965. for 0x0e and 0x80.
  966. (__x86_64_data_cache_size): New.
  967. (init_cacheinfo): Set __x86_64_data_cache_size.
  968. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Turn
  969. on bit_Fast_Rep_String for Intel Core i7.
  970. * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Rep_String): New.
  971. (index_Fast_Rep_String): Likewise.
  972. (FEATURE_INDEX_1): Likewise.
  973. (FEATURE_INDEX_MAX): Likewise.
  974. (cpu_features): Add feature.
  975. 2010-01-12 Ulrich Drepper <drepper@redhat.com>
  976. * conform/data/sys/select.h-data: Fix up for XPG7.
  977. 2010-01-12 Jakub Jelinek <jakub@redhat.com>
  978. * posix/sys/wait.h: Don't define W* macros etc. if
  979. stdlib.h has been included with _POSIX_C_SOURCE >= 200809L.
  980. 2010-01-11 Ulrich Drepper <drepper@redhat.com>
  981. * io/sys/stat.h: Declare fchmod for XPG7.
  982. * conform/data/sys/stat.h-data: Fix up for XPG7.
  983. * termios/termios.h: Define pid_t for XPG7.
  984. * conform/data/math.h-data: Fix up for XPG6 and XPG7.
  985. * conform/data/tgmath.h-data: Likewise.
  986. * conform/data/time.h-data: Fix POSIX tests.
  987. * conform/data/wchar.h-data: Fix up XPG7 tests.
  988. * include/features.h: Fix __USE_ISOC95 handling.
  989. * conform/data/wordexp.h-data: Fix typo in last change.
  990. * conform/data/unistd.h-data: Fix up older POSIX tests.
  991. * stdlib/stdlib.h: Fix handling symbols removed in XPG7.
  992. * posix/unistd.h: Likewise.
  993. * posix/unistd.h: Include environments.h also for XPG6 and up.
  994. Define intptr_t for XPG6 and up.
  995. Fix up for XPG7.
  996. * conform/data/unistd.h-data: Fix up for XPG6 and XPG7.
  997. * conform/data/sys/types.h-data: Fix up for XPG7.
  998. * sysdeps/unix/bsd/bits/stat.h: Fix double-inclusion problem.
  999. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  1000. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  1001. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  1002. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  1003. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
  1004. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  1005. * sysdeps/unix/sysv/bits/stat.h: Likewise.
  1006. * sysdeps/mach/hurd/bits/stat.h: Likewise.
  1007. * bits/confname.h: Fix typo in last change.
  1008. * conform/data/unistd.h-data: lockf-constants Not needed for POSIX.
  1009. 2010-01-10 Ulrich Drepper <drepper@redhat.com>
  1010. * sysdeps/unix/sysv/linux/bits/sigaction.h: SA_RESTART, SA_NODEFER,
  1011. and SA_RESETHAND now available in Base.
  1012. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
  1013. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
  1014. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
  1015. * conform/data/signal.h-data: Update for XPG7.
  1016. * posix/sys/types.h: Define id_t, clock_t, blksize_t for XPG7.
  1017. * string/strings.h: Don't declare obsolete functions for XPG7.
  1018. Declare ffs only for XSI.
  1019. * conform/data/strings.h-data: Update for XPG7.
  1020. 2010-01-10 Jakub Jelinek <jakub@redhat.com>
  1021. [BZ #11125]
  1022. * libio/stdio.h: Define va_list, off_t, and ssize_t.
  1023. * posix/glob.h: Define size_t.
  1024. * posix/sys/wait.h: Define idtype_t and declare waitid for XPG7.
  1025. * signal/signal.h: Define size_t, mcontext_t, and ucontext_t for XPG7.
  1026. 2010-01-10 Ulrich Drepper <drepper@redhat.com>
  1027. * conform/conformtest.pl: For XPG7 testing the headers are supposed to
  1028. be self-contained.
  1029. * conform/data/stdio.h-data: Expect off_t and ssize_t.
  1030. 2010-01-09 Ulrich Drepper <drepper@redhat.com>
  1031. * libio/stdio.h: Define va_list also for XPG7.
  1032. * conform/conformtest.pl: Update for XPG7 and some bug fixes.
  1033. * conform/data/ctype.h-data: Likewise.
  1034. * conform/data/dirent.h-data: Likewise.
  1035. * conform/data/errno.h-data: Likewise.
  1036. * conform/data/fcntl.h-data: Likewise.
  1037. * conform/data/fmtmsg.h-data: Likewise.
  1038. * conform/data/fnmatch.h-data: Likewise.
  1039. * conform/data/ftw.h-data: Likewise.
  1040. * conform/data/glob.h-data: Likewise.
  1041. * conform/data/grp.h-data: Likewise.
  1042. * conform/data/iconv.h-data: Likewise.
  1043. * conform/data/langinfo.h-data: Likewise.
  1044. * conform/data/libgen.h-data: Likewise.
  1045. * conform/data/limits.h-data: Likewise.
  1046. * conform/data/locale.h-data: Likewise.
  1047. * conform/data/math.h-data: Likewise.
  1048. * conform/data/monetary.h-data: Likewise.
  1049. * conform/data/mqueue.h-data: Likewise.
  1050. * conform/data/ndbm.h-data: Likewise.
  1051. * conform/data/netdb.h-data: Likewise.
  1052. * conform/data/pthread.h-data: Likewise.
  1053. * conform/data/pwd.h-data: Likewise.
  1054. * conform/data/regex.h-data: Likewise.
  1055. * conform/data/sched.h-data: Likewise.
  1056. * conform/data/search.h-data: Likewise.
  1057. * conform/data/semaphore.h-data: Likewise.
  1058. * conform/data/setjmp.h-data: Likewise.
  1059. * conform/data/signal.h-data: Likewise.
  1060. * conform/data/spawn.h-data: Likewise.
  1061. * conform/data/stdio.h-data: Likewise.
  1062. * conform/data/stdlib.h-data: Likewise.
  1063. * conform/data/string.h-data: Likewise.
  1064. * conform/data/strings.h-data: Likewise.
  1065. * conform/data/sys/ipc.h-data: Likewise.
  1066. * conform/data/sys/msg.h-data: Likewise.
  1067. * conform/data/sys/resource.h-data: Likewise.
  1068. * conform/data/sys/sem.h-data: Likewise.
  1069. * conform/data/sys/shm.h-data: Likewise.
  1070. * conform/data/sys/socket.h-data: Likewise.
  1071. * conform/data/sys/stat.h-data: Likewise.
  1072. * conform/data/sys/time.h-data: Likewise.
  1073. * conform/data/sys/types.h-data: Likewise.
  1074. * conform/data/sys/uio.h-data: Likewise.
  1075. * conform/data/sys/wait.h-data: Likewise.
  1076. * conform/data/syslog.h-data: Likewise.
  1077. * conform/data/tar.h-data: Likewise.
  1078. * conform/data/termios.h-data: Likewise.
  1079. * conform/data/time.h-data: Likewise.
  1080. * conform/data/ulimit.h-data: Likewise.
  1081. * conform/data/unistd.h-data: Likewise.
  1082. * conform/data/utmpx.h-data: Likewise.
  1083. * conform/data/wchar.h-data: Likewise.
  1084. * conform/data/wctype.h-data: Likewise.
  1085. * conform/data/wordexp.h-data: Likewise.
  1086. * io/fcntl.h: Define mode_t macros instead of including sys/stat.h.
  1087. * sysdeps/unix/bsd/bits/stat.h: Enable using from fcntl.h.
  1088. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  1089. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  1090. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  1091. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  1092. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
  1093. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  1094. * sysdeps/unix/sysv/bits/stat.h: Likewise.
  1095. * sysdeps/mach/hurd/bits/stat.h: Likewise.
  1096. * stdlib/stdlib.h: Define wait-related bits for XPG7.
  1097. Don't declare valloc, mktemp, ecvt, fcvt, gcvt for XPG6 and up.
  1098. Declare mkstemp and getsubopt for XPG7.
  1099. Declare posix_openpt for XPG6 XSI.
  1100. * include/features.h: Define __USE_XOPEN2KXSI for _XOPEN_SOURCE >= 600
  1101. and __USE_XOPEN2K8XSI for _XOPEN_SOURCE >= 700.
  1102. * string/string.h: Declare strdup for XPG7.
  1103. 2010-01-08 Ulrich Drepper <drepper@redhat.com>
  1104. * bits/confname.h: Define _CS_V6_ENV and _CS_V7_ENV.
  1105. * posix/confstr.c: Implement _CS_V6_ENV and _CS_V7_ENV.
  1106. * dirent/dirent.h: Really fix feature selection.
  1107. * locale/localeinfo.h: Rename struct locale_data to __locale_data.
  1108. Fix all users.
  1109. * locale/C-address.c: Fix all users.
  1110. * locale/C-collate.c: Likewise.
  1111. * locale/C-ctype.c: Likewise.
  1112. * locale/C-identification.c: Likewise.
  1113. * locale/C-measurement.c: Likewise.
  1114. * locale/C-messages.c: Likewise.
  1115. * locale/C-monetary.c: Likewise.
  1116. * locale/C-name.c: Likewise.
  1117. * locale/C-numeric.c: Likewise.
  1118. * locale/C-paper.c: Likewise.
  1119. * locale/C-telephone.c: Likewise.
  1120. * locale/C-time.c: Likewise.
  1121. * locale/findlocale.c: Likewise.
  1122. * locale/global-locale.c: Likewise.
  1123. * locale/loadarchive.c: Likewise.
  1124. * locale/loadlocale.c: Likewise.
  1125. * locale/nl_langinfo_l.c: Likewise.
  1126. * locale/setlocale.c: Likewise.
  1127. * locale/xlocale.c: Likewise.
  1128. * locale/xlocale.h: Likewise.
  1129. * stdio-common/vfscanf.c: Likewise.
  1130. * stdlib/strfmon_l.c: Likewise.
  1131. * stdlib/strtod_l.c: Likewise.
  1132. * stdlib/strtol_l.c: Likewise.
  1133. * string/strcoll_l.c: Likewise.
  1134. * string/strxfrm_l.c: Likewise.
  1135. * time/alt_digit.c: Likewise.
  1136. * time/asctime.c: Likewise.
  1137. * time/era.c: Likewise.
  1138. * time/lc-time-cleanup.c: Likewise.
  1139. * time/strftime_l.c: Likewise.
  1140. * time/strptime_l.c: Likewise.
  1141. * wcsmbs/wcsmbsload.c: Likewise.
  1142. * wcsmbs/wcsmbsload.h: Likewise.
  1143. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define O_DIRECTORY,
  1144. O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN
  1145. for XPG7.
  1146. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1147. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1148. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1149. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1150. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1151. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1152. 2010-01-07 Roland McGrath <roland@redhat.com>
  1153. * elf/elf.h (PN_XNUM): New macro.
  1154. * elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of
  1155. literal 2.
  1156. 2010-01-06 Ulrich Drepper <drepper@redhat.com>
  1157. * dirent/dirent.h: Fix typo in feature selection macro use.
  1158. 2009-12-15 Maciej W. Rozycki <macro@codesourcery.com>
  1159. [BZ #11115]
  1160. * stdlib/tst-makecontext3.c: New file.
  1161. * stdlib/Makefile (tests): Add new test.
  1162. * stdlib/tst-setcontext.c (check_called): Fix a typo.
  1163. 2009-12-17 H.J. Lu <hongjiu.lu@intel.com>
  1164. * configure.in: Enable multi-arch by default if the assembler
  1165. supports gnu_indirect_function symbol type and the architecture
  1166. supports it.
  1167. 2009-12-23 Ulrich Drepper <drepper@redhat.com>
  1168. * include/stdlib.h: Exclude some includes and prototypes if _ISOMAC
  1169. is defined.
  1170. 2009-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
  1171. * hurd/hurdioctl.c (_hurd_locked_install_cttyid): Set newctty to
  1172. MACH_PORT_NULL when id != cttyid.
  1173. 2009-12-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
  1174. * sysdeps/mach/hurd/getcwd.c (cleanup): Do not call
  1175. __mach_port_deallocate on rootdevid.
  1176. 2009-12-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
  1177. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Handle
  1178. R_390_PC32DBL. Remove unneeded R_390_PLT16DBL.
  1179. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
  1180. unneeded R_390_PLT16DBL and R_390_PLT32DBL.
  1181. 2009-12-21 Ulrich Drepper <drepper@redhat.com>
  1182. [BZ #10992]
  1183. * sysdeps/unix/sysv/linux/futimens.c: Handle AT_FDCWD.
  1184. Patch by Eric Blake <ebb9@byu.net>.
  1185. 2009-12-15 Ulrich Drepper <drepper@redhat.com>
  1186. [BZ #11093]
  1187. * bits/poll.h: Define POLLRDNORM, POLLRDBAND, POLLWRNORM, and
  1188. POLLWRBAND also for POSIX 2008.
  1189. * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
  1190. * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
  1191. * include/link.h (struct link_map): Move l_used into its own word.
  1192. * elf/dl-lookup.c (_dl_lookup_symbol_x): Only update l_used when it is
  1193. still zero.
  1194. * elf/dl-object.c (_dl_new_object): Set dl_used if we know it is
  1195. never really used.
  1196. 2009-12-13 H.J. Lu <hongjiu.lu@intel.com>
  1197. * sysdeps/i386/i686/multiarch/strcspn.S Include <init-arch.h>
  1198. instead of <ifunc-defines.h>. Use bit_XXX and index_XXX to
  1199. check processor feature.
  1200. * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
  1201. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  1202. * sysdeps/x86_64/multiarch/init-arch.h (bit_SSE2): New definition.
  1203. (index_SSE2): Likewise.
  1204. 2009-12-09 H.J. Lu <hongjiu.lu@intel.com>
  1205. * sysdeps/x86_64/multiarch/init-arch.h: Include <ifunc-defines.h>
  1206. if __ASSEMBLER__ is defined.
  1207. (bit_SSSE3): New. Defined for __ASSEMBLER__.
  1208. (bit_SSE4_2): Likewise.
  1209. (index_SSSE3): Likewise.
  1210. (index_SSE4_2): Likewise.
  1211. * sysdeps/x86_64/multiarch/rawmemchr.S: Include <init-arch.h>
  1212. instead of <ifunc-defines.h>. Use bit_XXX and index_XXX to
  1213. check processor feature.
  1214. * sysdeps/x86_64/multiarch/strchr.S: Likewise.
  1215. * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
  1216. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  1217. * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
  1218. * sysdeps/x86_64/multiarch/strlen.S: Likewise.
  1219. * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
  1220. * sysdeps/x86_64/multiarch/strspn.S: Likewise.
  1221. 2009-12-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  1222. * sysdeps/sh/elf/initfini.c: Update according to generic/initfini.c.
  1223. 2009-12-01 Mike Frysinger <vapier@gentoo.org>
  1224. * sysdeps/sh/sh4/fpu/fpu_control.h (__set_fpscr): New prototype.
  1225. 2009-12-11 Ulrich Drepper <drepper@redhat.com>
  1226. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Redefine O_SYNC and
  1227. O_DSYNC to match 2.6.33+ kernels.
  1228. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1229. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1230. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1231. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1232. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1233. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1234. 2009-12-10 Ulrich Drepper <drepper@redhat.com>
  1235. [BZ #11000]
  1236. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Always set
  1237. *herrnop before returning.
  1238. * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r):
  1239. Likewise.
  1240. * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): Handle
  1241. TRYAGAIN errors separately.
  1242. * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of
  1243. *name4_r after functions.
  1244. 2009-12-09 Ulrich Drepper <drepper@redhat.com>
  1245. [BZ #11046]
  1246. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Fix kernel
  1247. version check.
  1248. 2009-11-05 Bruno Haible <bruno@clisp.org>
  1249. [BZ #11056]
  1250. * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the
  1251. argv argument as non-NULL.
  1252. (execle, execl, execlp): Mark the first ARG argument as non-NULL.
  1253. 2009-12-08 Ulrich Drepper <drepper@redhat.com>
  1254. * sysdeps/unix/sysv/linux/bits/socket.h: Define mmsghdr and declare
  1255. recvmmsg.
  1256. * sysdeps/unix/sysv/linux/syscalls.list: Add entry for recvmmsg.
  1257. * sysdeps/unix/sysv/linux/Versions: Add recvmmsg for GLIBC_2.12.
  1258. 2009-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  1259. * sysdeps/s390/s390-64/dl-trampoline.S: Add CFI for the call saved
  1260. registers.
  1261. * sysdeps/s390/s390-32/dl-trampoline.S: Likewise.
  1262. * sysdeps/s390/s390-32/s390-mcount.S: Add CFI.
  1263. * sysdeps/s390/s390-64/s390x-mcount.S: Add CFI.
  1264. 2009-11-30 Ulrich Drepper <drepper@redhat.com>
  1265. * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and
  1266. SCHED_RESET_ON_FORK.
  1267. 2009-11-26 Ulrich Drepper <drepper@redhat.com>
  1268. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code
  1269. only used on truly ancient kernel if configuration requires a more
  1270. recent kernel.
  1271. 2009-11-24 Ulrich Drepper <drepper@redhat.com>
  1272. [BZ #3662]
  1273. * stdlib/random_r.c: Fix comments for __initstate_r and __setstate_r.
  1274. Patch by Christopher Neufeld <glibcbugs0000@cneufeld.ca>.
  1275. * sysdeps/unix/grantpt.c (pts_name): Take additional parameter,
  1276. pass it on to __ptsname_internal.
  1277. (grantpt): Pass stat64 pointer to pts_name. Remove stat call here.
  1278. * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): New function.
  1279. All the code from __ptsname_r but take additional parameter. Use that
  1280. instead of pointer to local stat64 variable.
  1281. (__ptsname_r): Call __ptsname_internal with pointer to local stat64
  1282. variable.
  1283. * include/stdlib.h: Declare __ptsname_internal.
  1284. * sysdeps/unix/grantpt.c (grantpt): Use CLOSE_ALL_FDS is available
  1285. before the exec.
  1286. * sysdeps/unix/sysv/linux/grantpt.c: New file.
  1287. * login/programs/pt_chown.c (main): Don't print message on errors
  1288. when doing real work.
  1289. * sysdeps/unix/grantpt.c (grantpt): Only get tty group information
  1290. once.
  1291. * csu/elf-init.c (__libc_csu_irel): New function. Code to perform
  1292. irel relocations split out from...
  1293. (__libc_csu_init): ...here.
  1294. * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early.
  1295. 2009-11-23 Andreas Schwab <schwab@redhat.com>
  1296. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Use struct timespec
  1297. for timestamps also if __USE_XOPEN2K8.
  1298. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  1299. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  1300. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  1301. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
  1302. 2009-11-22 Ulrich Drepper <drepper@redhat.com>
  1303. * nscd/connections.c (restart): Try harder to re-exec.
  1304. * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork.
  1305. * sysdeps/unix/sysv/linux/ntp_gettimex.c: New file.
  1306. * sysdeps/unix/sysv/linux/Makefile: Add rules to build ntp_gettimex.
  1307. * sysdeps/unix/sysv/linux/Versions: Export ntp_gettimex for GLIBC_2.12.
  1308. * sysdeps/unix/sysv/linux/sys/timex.h (ntptimeval): Add tai member and
  1309. some placeholders. Redirect ntp_gettime to ntp_gettimex.
  1310. * sysdeps/unix/sysv/linux/ntp_gettime.c: Adjust for header change.
  1311. * sysdeps/unix/sysv/linux/sys/timex.h (MOD_TAI, MOD_MICRO, MOD_NANO):
  1312. Define.
  1313. (STA_RONLY): Add STA_NANO, STA_MODE, and STA_CLK.
  1314. 2009-11-18 H.J. Lu <hongjiu.lu@intel.com>
  1315. [BZ #10162]
  1316. * sysdeps/ia64/memchr.S: Don't use a simple loop on data shorter
  1317. than software pipeline. Properly recover from shorter read.
  1318. 2009-11-19 Ulrich Drepper <drepper@redhat.com>
  1319. [BZ #10958]
  1320. * libio/libio.h (_IO_getwc_unlocked): Check for _wide_data being
  1321. initialized before using it.
  1322. (_IO_putwc_unlocked): Likewise.
  1323. [BZ #10918]
  1324. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): Use __const
  1325. in cast to not throw away const-ness of parameters.
  1326. (__CPU_EQUAL_S): Likewise.
  1327. (__CPU_OP_S): Likewise.
  1328. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol
  1329. F_OWNER_PGRP and mark F_OWNER_GID obsolete. The kernel people made
  1330. this gratuitous change and we have to keep compatibility.
  1331. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1332. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1333. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1334. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1335. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1336. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1337. 2009-11-17 Ulrich Drepper <drepper@redhat.com>
  1338. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names
  1339. of parameters of sync_file_range.
  1340. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1341. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1342. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1343. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1344. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1345. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1346. 2009-11-16 Jakub Jelinek <jakub@redhat.com>
  1347. * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
  1348. Implement using sync_file_range2 syscall if __NR_sync_file_range2
  1349. is defined.
  1350. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New
  1351. file.
  1352. 2009-11-17 Paolo Bonzini <bonzini@gnu.org>
  1353. * posix/bug-regex30.c: New file.
  1354. * posix/Makefile: Add rules to build and run bug-regex30.
  1355. * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte
  1356. character lead bytes when there is a range in a COMPLEX_BRACKET.
  1357. Reported by Oleg Bylatov.
  1358. 2009-11-17 Ulrich Drepper <drepper@redhat.com>
  1359. [BZ #10969]
  1360. * locale/duplocale.c (__duplocale): Handle LC_GLOBAL_LOCALE special.
  1361. * locale/tst-duplocale.c: New file.
  1362. * locale/Makefile (tests): Add tst-duplocale.
  1363. [BZ #10968]
  1364. * locale/langinfo.h (_NL_LOCALE_NAME): Correct definition.
  1365. Patch by Bruno Haible <bruno@clisp.org>.
  1366. * locale/tst-locname.c: New file.
  1367. * locale/Makefile (tests): Add tst-locname.
  1368. [BZ #10972]
  1369. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Add new MADV_*
  1370. constants from recent kernels.
  1371. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
  1372. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
  1373. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
  1374. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
  1375. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
  1376. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
  1377. 2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
  1378. [BZ #10162]
  1379. * sysdeps/ia64/memchr.S: Use a simple loop on data shorter than
  1380. software pipeline.
  1381. 2009-11-09 Mike Frysinger <vapier@gentoo.org>
  1382. * sysdeps/unix/sysv/linux/i386/fallocate.c: Include errno.h.
  1383. (fallocate): Return ENOSYS if __NR_fallocate is not defined.
  1384. * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
  1385. 2009-11-06 Mike Frysinger <vapier@gentoo.org>
  1386. * posix/bug-regex29.c: Include stdio.h.
  1387. 2009-11-14 Ulrich Drepper <drepper@redhat.com>
  1388. [BZ #10939]
  1389. * Versions.def: Define GLIBC_2.12 for libc.
  1390. * manual/errno.texi: Add ERFKILL entry.
  1391. * sysdeps/unix/sysv/linux/Versions: Add new errlist compat entries
  1392. for 2.12.
  1393. * sysdeps/unix/sysv/linux/bits/errno.h: Define ERFKILL is not done.
  1394. * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Likewise.
  1395. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Update F_SETOWN_EX and
  1396. F_GETOWN_EX definitions according to corrected kernel definitions.
  1397. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1398. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1399. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1400. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1401. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1402. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1403. 2009-11-12 Ulrich Drepper <drepper@redhat.com>
  1404. * version.h: Bump for 2.12 development.
  1405. 2009-11-10 Andreas Schwab <schwab@redhat.com>
  1406. * resolv/mapv4v6hostent.h (map_v4v6_hostent): Return non-zero if
  1407. out of buffer space.
  1408. * resolv/nss_dns/dns-host.c (getanswer_r): Check for
  1409. map_v4v6_hostent running out of space.
  1410. 2009-11-10 Ulrich Drepper <drepper@redhat.com>
  1411. * string/bits/string3.h (memset): If the second parameter is constant
  1412. and zero there is likely no transposition.
  1413. Patch by Caolan McNamara <caolanm@redhat.com.
  1414. 2009-11-04 Philippe De Muyter <phdm@macqel.be>
  1415. * sysdeps/powerpc/fpu/e_sqrt.c: Fix spelling of (Newton-)Raphson.
  1416. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
  1417. 2009-10-30 Holger Hans Peter Freyther <zecke@selfish.org>
  1418. * malloc/memusagestat.c (main): Fix spelling in an error message.
  1419. 2009-11-01 H.J. Lu <hongjiu.lu@intel.com>
  1420. * elf/dl-sym.c (do_sym): Properly handle STT_GNU_IFUNC symbols.
  1421. * elf/ifuncmain3.c (main): Test dlopen STT_GNU_IFUNC symbol.
  1422. 2009-11-03 Andreas Schwab <schwab@redhat.com>
  1423. * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
  1424. readahead.
  1425. 2009-11-03 Jakub Jelinek <jakub@redhat.com>
  1426. * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't
  1427. relocate opd entry when resolving prelink conflicts.
  1428. 2009-11-04 Jakub Jelinek <jakub@redhat.com>
  1429. * misc/sys/uio.h (preadv, pwritev): Fix type of last argument
  1430. when -D_FILE_OFFSET_BITS=64.
  1431. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types
  1432. of last two arguments when -D_FILE_OFFSET_BITS=64.
  1433. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise.
  1434. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise.
  1435. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise.
  1436. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise.
  1437. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise.
  1438. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise.
  1439. 2009-11-03 Andreas Schwab <schwab@linux-m68k.org>
  1440. [BZ #4457]
  1441. * sysdeps/generic/libgcc_s.h: New file.
  1442. * sysdeps/generic/framestate.c: Include it and use LIBGCC_S_SO.
  1443. 2009-11-01 Ulrich Drepper <drepper@redhat.com>
  1444. * malloc/hooks.c (free_check): Restore locking and call _int_free
  1445. appropriately.
  1446. 2009-10-30 Ulrich Drepper <drepper@redhat.com>
  1447. * version.h (VERSION): Bump for 2.11 release.
  1448. * include/features.h (__GLIBC_MINOR__): Bump to 11.
  1449. * elf/tst-execstack.c (do_test): Add cast to avoid warning.
  1450. * stdio-common/scanf13.c (main): Remove unused variable wbuf.
  1451. * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned
  1452. to avoid warning.
  1453. * stdlib/tst-strtoll.c (tests): Likewise.
  1454. [BZ #9986]
  1455. * time/strftime_l.c (__strftime_internal): Allow %OC.
  1456. * misc/mkostemps.c: New file.
  1457. * misc/mkostemps64.c: New file.
  1458. 2009-10-30 Andreas Schwab <schwab@redhat.com>
  1459. * locale/programs/locale-spec.c: Include <error.h> and
  1460. <libintl.h>.
  1461. * sysdeps/unix/sysv/linux/readlinkat.c: Fix last change.
  1462. 2009-10-28 Roland McGrath <roland@redhat.com>
  1463. * Makefile (dist-prepare): New target.
  1464. (tag-for-dist): Target removed.
  1465. (glibc-%.tar): Pattern rule removed.
  1466. (%.tar): New pattern rule, does simple use of git archive.
  1467. (dist-version): Remove variable definition.
  1468. (dist): Just depend on that. Add .tar.xz dependency.
  1469. If dist-version variable not set on command line, depend on
  1470. dist-prepare, re-invoke with dist-version set via git describe.
  1471. * Makerules (%.xz): New pattern rule.
  1472. 2009-10-28 Alan Modra <amodra@bigpond.net.au>
  1473. * elf/ifuncdep2.c: Include ifunc-sel.h.
  1474. (global): Delete.
  1475. (foo1_ifunc, foo2_ifunc, foo3_ifunc): Use ifunc_sel.
  1476. * elf/ifuncmain1.c (global): Delete.
  1477. * elf/ifuncmain1vis.c: Likewise.
  1478. * elf/ifuncmain2.c: Likewise.
  1479. * elf/ifuncmain5.c: Likewise.
  1480. * elf/ifuncmod3.c: Likewise.
  1481. * elf/ifuncmain6pie.c: Include ifunc-sel.h.
  1482. (foo_ifunc): Use ifunc_one.
  1483. * elf/ifuncmain7.c: Likewise.
  1484. * elf/ifuncmod1.c: Include ifunc-sel.h.
  1485. (global): Define protected var.
  1486. (foo_ifunc, foo_hidden_ifunc, foo_protected_ifunc): Use ifunc_sel.
  1487. * elf/ifuncmod5.c: Likewise.
  1488. * sysdeps/generic/elf/ifunc-sel.h: New file.
  1489. * sysdeps/powerpc/elf/ifunc-sel.h: New file.
  1490. 2009-07-30 Alan Modra <amodra@bigpond.net.au>
  1491. * elf/elf.h (R_PPC_NUM, R_PPC64_NUM): Delete unused and incorrect.
  1492. (R_PPC_REL16*): Correct comments.
  1493. (R_PPC_IRELATIVE, R_PPC64_IRELATIVE, R_PPC64_JMP_IREL): Define.
  1494. (R_PPC64_REL16, R_PPC64_REL16_LO, R_PPC64_REL16_HI,
  1495. R_PPC64_REL16_HA): Define.
  1496. * sysdeps/powerpc/powerpc32/dl-irel.h: New file.
  1497. * sysdeps/powerpc/powerpc64/dl-irel.h: New file.
  1498. * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_fixup_plt):
  1499. Delete unused "reloc" param.
  1500. (__process_machine_rela): Handle R_PPC_IRELATIVE.
  1501. * sysdeps/powerpc/powerpc32/dl-machine.h (__elf_machine_fixup_plt):
  1502. Delete "reloc" param.
  1503. (elf_machine_rela): Handle STT_GNU_IFUNC functions and
  1504. R_PPC_IRELATIVE.
  1505. * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): New function.
  1506. (elf_machine_rela): Handle STT_GNU_IFUNC functions and new ifunc
  1507. relocations.
  1508. d2009-10-30 Ulrich Drepper <drepper@redhat.com>
  1509. [BZ #10315]
  1510. * sysdeps/gnu/netinet/udp.h: Define UDP_CORK, UDP_ENCAP,
  1511. UDP_ENCAP_ESPINUDP_NON_IKE, UDP_ENCAP_ESPINUDP, and
  1512. UDP_ENCAP_L2TPINUDP.
  1513. [BZ #10349]
  1514. * sysdeps/posix/tempname.c (__gen_tempname): Take new second
  1515. parameter, specifying length of prefix.
  1516. * stdio-common/tempname.c: Likewise.
  1517. * include/stdio.h: Adjust prototypes.
  1518. * libio/oldtmpfile.c: Adjust caller.
  1519. * misc/mkdtemp.c: Likewise.
  1520. * misc/mkostemp.c: Likewise.
  1521. * misc/mkostemp64.c: Likewise.
  1522. * misc/mkstemp.c: Likewise.
  1523. * misc/mkstemp64.c: Likewise.
  1524. * misc/mktemp.c: Likewise.
  1525. * stdio-common/tempnam.c: Likewise.
  1526. * stdio-common/tmpfile.c: Likewise.
  1527. * stdio-common/tmpnam.c: Likewise.
  1528. * stdio-common/tmpnam_r.c: Likewise.
  1529. * misc/mkstemps.c: New file.
  1530. * misc/mkstemps64.c: New file.
  1531. * stdlib/stdlib.h: Add prototypes.
  1532. * misc/Makefile (routines): Add mkstemps and mkstemps64.
  1533. * misc/Versions: Export mkstemps and mkstemps64 for GLIBC_2.11.
  1534. 2009-10-29 Ulrich Drepper <drepper@redhat.com>
  1535. * locale/iso-639.def: Add sml entry.
  1536. [BZ #10391]
  1537. * resolv/res_send.c (send_dg): Initialize resplen.
  1538. [BZ #10446]
  1539. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Match sigevent
  1540. definition to the kernel's.
  1541. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
  1542. 2009-08-18 Anders Johansson <ajohansson@novell.com>
  1543. * nscd/aicache.c: Fix mixing up dataset and dataset->resp
  1544. offsets and record sizes in assert()s and response sending.
  1545. * nscd/grpcache.c: Likewise.
  1546. * nscd/hstcache.c: Likewise.
  1547. * nscd/initgrcache.c: Likewise.
  1548. * nscd/pwdcache.c: Likewise.
  1549. 2009-10-29 Ulrich Drepper <drepper@redhat.com>
  1550. [BZ #10540]
  1551. * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): If
  1552. /etc/hosts does not exist set errnop and herrnop appropriately.
  1553. Patch by Steve Langasek <vorlon@debian.org>.
  1554. [BZ #10553]
  1555. * malloc/malloc.c (malloc_info): Fix typos in format strings.
  1556. Patch by John Sullivan <jsrhbz@kanargh.force9.co.uk>.
  1557. [BZ #10564]
  1558. * login/utmp_file.c (TIMEOUT): Increase to 10.
  1559. [BZ #10609]
  1560. * sysdeps/unix/sysv/linux/faccessat.c: Fix handling of empty parameters
  1561. for file names in case the syscall is not available.
  1562. * sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
  1563. * sysdeps/unix/sysv/linux/fchownat.c: Likewise.
  1564. * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
  1565. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise.
  1566. * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
  1567. * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
  1568. * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
  1569. * sysdeps/unix/sysv/linux/linkat.c: Likewise.
  1570. * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
  1571. * sysdeps/unix/sysv/linux/openat.c: Likewise.
  1572. * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Likewise.
  1573. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
  1574. * sysdeps/unix/sysv/linux/renameat.c: Likewise.
  1575. * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
  1576. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
  1577. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
  1578. * sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
  1579. [BZ #10643]
  1580. * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): If thread
  1581. creation filed, remove the request from the 'requests' list and signal
  1582. the caller that the request is finished.
  1583. [BZ #10692]
  1584. * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't free buffer
  1585. in error if batch_read. Patch by Joe Landers <jlanders@vmware.com>.
  1586. [BZ #10713]
  1587. * nis/nss_nis/nis-grp.c (internal_nis_endgrent): Start freeing blocks
  1588. from intern.start. Patch by Joe Landers <jlanders@vmware.com>.
  1589. [BZ #10780]
  1590. * libio/ioputs.c (_IO_puts): Make sure to not return a number which
  1591. overflows the int return type.
  1592. [BZ #10717]
  1593. * malloc/memusagestat.c (main): Fix repairing of trace files. We also
  1594. have to compute maxsize_total, we have to update the variables, and
  1595. the also_total handling must happen after the repair.
  1596. [BZ #10742]
  1597. * nscd/dbg_log.c (dbg_log): Print timestamp before the message text.
  1598. Based on patch by Jeffrey Bastian <jbastian@redhat.com>.
  1599. 2009-10-27 Andreas Schwab <schwab@redhat.com>
  1600. * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Make sure
  1601. errno is always set when returning unsuccessfully.
  1602. 2009-10-29 Andreas Schwab <schwab@redhat.com>
  1603. * malloc/memusage.c (update_data): Fix index wraparound handling
  1604. so that buffer_cnt is actually reset.
  1605. 2009-10-29 Ulrich Drepper <drepper@redhat.com>
  1606. [BZ #10784]
  1607. * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Always copy name
  1608. of the directory we look at into the static buffer if there is one
  1609. at the start of the loop.
  1610. [BZ #10789]
  1611. * sysdeps/generic/netinet/ip.h: Define IPTOS_ENC* and IPTOS_DSCP*
  1612. macros. Patch by Philip Prindeville <philipp@redfish-solutions.com>.
  1613. [BZ #10840]
  1614. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  1615. __ASSUME_F_GETOWN_EX.
  1616. * sysdeps/unix/sysv/linux/fcntl.c: Implement F_GETOWN using F_GETOWN_EX
  1617. if possible.
  1618. * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
  1619. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_OWNER_*
  1620. and f_owner_ex.
  1621. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1622. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1623. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1624. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1625. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1626. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1627. [BZ #10847]
  1628. * sysdeps/gnu/getutmp.c: Allow compatibility code to play around with
  1629. getutmpx symbol.
  1630. [BZ #10823]
  1631. * resolv/res_send.c (__libc_res_nsend): Fix copying of IPv4 server
  1632. addresses. Patch by Petar Bogdanovic <petar@smokva.net>.
  1633. 2009-10-24 Joseph Myers <joseph@codesourcery.com>
  1634. * sysdeps/ieee754/ldbl-128/w_expl.c: Add hidden_def (__expl).
  1635. 2009-10-27 Jakub Jelinek <jakub@redhat.com>
  1636. [BZ #10817]
  1637. * math/w_coshl.c (__coshl): Use __finitel instead of __finite.
  1638. Reported by Ray Chason.
  1639. 2009-10-21 H.J. Lu <hongjiu.lu@intel.com>
  1640. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  1641. strend-sse4.
  1642. * sysdeps/x86_64/multiarch/strchr.S: New file.
  1643. * sysdeps/x86_64/multiarch/strend-sse4.S: New file.
  1644. * sysdeps/x86_64/multiarch/strrchr.S: New file.
  1645. 2009-10-21 Andreas Schwab <schwab@redhat.com>
  1646. * elf/dl-sym.c (do_sym): Resolve STT_GNU_IFUNC symbols.
  1647. 2009-10-19 Andreas Schwab <schwab@redhat.com>
  1648. * include/math.h: Add hidden protos for __exp/__expf/__expl.
  1649. * sysdeps/ieee754/dbl-64/w_exp.c: Add hidden alias.
  1650. * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
  1651. * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
  1652. * sysdeps/i386/fpu/s_expm1.S: Call __exp to handle overflow.
  1653. * sysdeps/i386/fpu/s_expm1f.S: Call __expf to handle overflow.
  1654. * sysdeps/i386/fpu/s_expm1l.S: Call __expl instead of
  1655. __ieee751_expl to handle overflow.
  1656. 2009-10-14 David S. Miller <davem@davemloft.net>
  1657. * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: New file.
  1658. * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: New file.
  1659. 2009-10-13 Andreas Schwab <schwab@redhat.com>
  1660. * csu/elf-init.c (__libc_csu_init): Run preinit array even if
  1661. !USE_MULTIARCH.
  1662. 2009-10-08 Ulrich Drepper <drepper@redhat.com>
  1663. [BZ #10730]
  1664. * stdlib/random_r.c (__initstate_r): Remove duplicate __set-errno.
  1665. Patch in part by Steve Ward <planet36@gmail.com>.
  1666. [BZ #10731]
  1667. * stdlib/rand_r.c: Fix typo.
  1668. * po/cs.po: Update from translation team.
  1669. 2009-10-06 Andreas Schwab <schwab@redhat.com>
  1670. * elf/dl-load.c (_dl_map_object_from_fd): Close fd before
  1671. returning if RTLD_NOLOAD.
  1672. 2009-10-06 Roland McGrath <roland@redhat.com>
  1673. * sysdeps/x86_64/multiarch/strstr-c.c
  1674. [! SHARED]: Omit libc_hidden_builtin_def fiddling.
  1675. * sysdeps/x86_64/multiarch/strcasestr-c.c: Remove
  1676. libc_hidden_builtin_def fiddling, does not apply to strcasestr at all.
  1677. * sysdeps/x86_64/multiarch/init-arch.h
  1678. [NOT_IN_libc] (__get_cpu_features): Define it as a macro.
  1679. (HAS_CPU_FEATURE): New macro.
  1680. (HAS_SSE2, HAS_POPCOUNT, HAS_SSE4_2, HAS_FMA): Use it.
  1681. * sysdeps/x86_64/multiarch/init-arch.c
  1682. (__get_cpu_features): #undef it before definition.
  1683. 2009-10-05 Andreas Schwab <schwab@redhat.com>
  1684. * locale/C-time.c: Revert week-1stday back to 19971130 and set
  1685. first_weekday to 1 and first_workday to 2.
  1686. 2009-10-01 Ulrich Drepper <drepper@redhat.com>
  1687. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Define F_SETOWN_EX and
  1688. F_GETOWN_EX.
  1689. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  1690. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  1691. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  1692. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  1693. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  1694. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  1695. 2009-09-28 Andreas Schwab <schwab@redhat.com>
  1696. * stdio-common/printf_fp.c: Check for and avoid integer overflows.
  1697. * stdio-common/vfprintf.c: Likewise.
  1698. 2009-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
  1699. * sysdeps/mach/hurd/mkdirat.c: Include <hurd/fd.h>.
  1700. (mkdirat): Call __directory_name_split_at instead of
  1701. __directory_name_split.
  1702. 2009-09-28 Ulrich Drepper <drepper@redhat.com>
  1703. * locale/programs/locale-spec.c (locale_special): If nothing matches
  1704. fail with an appropriate message.
  1705. 2009-09-10 H.J. Lu <hongjiu.lu@intel.com>
  1706. * configure.in: Exclude binutils 2.X. Support binutils 2.100
  1707. and XX.
  1708. 2009-09-25 Andreas Schwab <schwab@redhat.com>
  1709. * elf/dl-reloc.c (RESOLVE_MAP): Always pass
  1710. DL_LOOKUP_ADD_DEPENDENCY to _dl_lookup_symbol_x.
  1711. 2009-09-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
  1712. * bits/termios.h [__USE_UNIX98] (IXANY): Define macro.
  1713. 2009-09-20 Andreas Schwab <schwab@linux-m68k.org>
  1714. * iconvdata/iso646.c (gconv_init): Correctly initialize the
  1715. character size elements in step data.
  1716. 2009-09-20 Ulrich Drepper <drepper@redhat.com>
  1717. * po/hu.po: Update from translation team.
  1718. * po/vi.po: Likewise.
  1719. 2009-09-19 Roland McGrath <roland@redhat.com>
  1720. * libio/wfileops.c (_IO_wfile_seekoff): Remove unused variables.
  1721. 2009-09-15 Roland McGrath <roland@redhat.com>
  1722. * aclocal.m4 (GLIBC_PROVIDES): Add _AS_ECHO_PREPARE.
  1723. * nptl/sysdeps/pthread/configure: Regenerated.
  1724. * nptl/sysdeps/x86_64/configure: Regenerated.
  1725. * sysdeps/unix/sysv/linux/configure: Regenerated.
  1726. * sysdeps/x86_64/elf/configure: Regenerated.
  1727. * Makefile (autoconf-it): Set execute bit only on top-level configure.
  1728. * configure.in: Let add-ons set $libc_add_on_config_subdirs to have
  1729. the effect of AC_CONFIG_SUBDIRS relative to the add-on directory.
  1730. * aclocal.m4 (GLIBC_PROVIDES): Add AC_CONFIG_SUBDIRS.
  1731. * configure: Regenerated.
  1732. 2009-09-09 Ulrich Drepper <drepper@redhat.com>
  1733. * posix/getconf.c (main): Handle -- on command line.
  1734. 2009-09-05 H.J. Lu <hongjiu.lu@intel.com>
  1735. * configure.in: Support binutils 2.100 and 3.0.
  1736. 2009-09-08 Jakub Jelinek <jakub@redhat.com>
  1737. * sysdeps/s390/s390-32/____longjmp_chk.c: Removed.
  1738. * sysdeps/s390/s390-64/____longjmp_chk.c: Removed.
  1739. * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: New file.
  1740. * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: New file.
  1741. 2009-09-07 Ulrich Drepper <drepper@redhat.com>
  1742. * locale/programs/ld-collate.c (struct locale_collate_t): Add
  1743. unnamed_section_defined field.
  1744. (collate_read): Test and set unnamed_section_defined.
  1745. * posix/getconf.c (vars): Handle POSIX2_LINE_MAX in addition to
  1746. _POSIX2_LINE_MAX.
  1747. 2009-09-04 H.J. Lu <hongjiu.lu@intel.com>
  1748. * configure.in: Support binutils 2.20.
  1749. 2009-09-03 Ulrich Drepper <drepper@redhat.com>
  1750. * sysdeps/i386/i686/multiarch/strstr-c.c (__strstr_sse42,
  1751. __strstr_ia32): Add attribute_hidden.
  1752. 2009-09-01 Andreas Schwab <schwab@redhat.com>
  1753. * hesiod/nss_hesiod/hesiod-grp.c (internal_gid_from_group): Fix
  1754. parsing of group entry.
  1755. 2009-09-02 Andreas Schwab <schwab@redhat.com>
  1756. * libio/wfileops.c (_IO_wfile_seekoff): Account for readahead in
  1757. external buffer. Always discard readahead in internal buffer.
  1758. * libio/Makefile (tests): Add bug-wsetpos.
  1759. * libio/bug-wsetpos.c: New file.
  1760. 2009-09-02 Jakub Jelinek <jakub@redhat.com>
  1761. * sysdeps/x86_64/multiarch/strstr-c.c (__strstr_sse42, __strstr_sse2):
  1762. Add attribute_hidden.
  1763. * sysdeps/x86_64/multiarch/strcasestr-c.c (__strcasestr_sse42,
  1764. __strcasestr_sse2): Likewise.
  1765. * sysdeps/x86_64/multiarch/s_fma.c (__fma_sse2): Add attribute_hidden.
  1766. (__fma_fma): Make static.
  1767. * sysdeps/x86_64/multiarch/s_fmaf.c (__fmaf_sse2): Add attribute_hidden.
  1768. (__fmaf_fma): Make static.
  1769. 2009-08-31 Andreas Schwab <schwab@redhat.com>
  1770. * libio/wfileops.c (_IO_wfile_seekoff): Remove dead code and
  1771. reformulate in-buffer optimisation check to match code in
  1772. _IO_new_file_seekoff.
  1773. 2009-08-31 Joshua W. Boyer <jwboyer@linux.vnet.ibm.com>
  1774. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Change srdi instruction
  1775. to srwi in 32-bit memcpy for power6.
  1776. 2009-09-01 Andreas Schwab <schwab@redhat.com>
  1777. * include/stdio.h: Declare hidden proto for fflush.
  1778. * libio/iofflush.c: Add hidden weak alias for fflush.
  1779. 2009-09-01 Jakub Jelinek <jakub@redhat.com>
  1780. * sysdeps/x86_64/fpu/bits/mathinline.h: Include bits/wordsize.h.
  1781. (__signbitf, __signbit): Only use SSE inline asm for 64-bit.
  1782. 2009-08-31 Andreas Schwab <schwab@redhat.com>
  1783. * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
  1784. 2009-08-31 Ulrich Drepper <drepper@redhat.com>
  1785. [BZ #10560]
  1786. * malloc/malloc.c: Add local assert definition to avoid problems with
  1787. memory allocation in the real one.
  1788. 2009-08-27 H.J. Lu <hongjiu.lu@intel.com>
  1789. * sysdeps/i386/i686/multiarch/init-arch.c (ENABLE_SSSE3_ON_ATOM):
  1790. Removed.
  1791. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Don't
  1792. turn off SSSE3 on Atom.
  1793. 2009-08-28 Ulrich Drepper <drepper@redhat.com>
  1794. * stdlib/tst-strtol.c (tests): More tests.
  1795. * stdlib/tst-strtoll.c (tests): Likewise.
  1796. 2009-08-26 Ulrich Drepper <drepper@redhat.com>
  1797. * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: New file.
  1798. * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: New file.
  1799. 2009-08-25 Ulrich Drepper <drepper@redhat.com>
  1800. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Add llround aliases.
  1801. * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: New file.
  1802. * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: New file
  1803. * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: New file.
  1804. * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: New file.
  1805. 2009-08-25 Joseph Myers <joseph@codesourcery.com>
  1806. * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl.
  1807. 2009-08-25 Ulrich Drepper <drepper@redhat.com>
  1808. * sysdeps/x86_64/fpu/s_scalbln.c: New file.
  1809. * sysdeps/x86_64/fpu/s_scalbn.c: New file.
  1810. * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
  1811. * sysdeps/x86_64/fpu/s_signbit.S: New file.
  1812. * sysdeps/x86_64/fpu/s_signbitf.S: New file.
  1813. * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: New file.
  1814. * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: New file.
  1815. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Remove
  1816. leftover YMM_SIZE definition.
  1817. 2009-08-24 Ulrich Drepper <drepper@redhat.com>
  1818. * math/math_private.h (ieee_double_shape_type): Add uint64_t word to
  1819. union.
  1820. (EXTRACT_WORDS64, INSERT_WORDS64): Define.
  1821. * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64, INSERT_WORDS64):
  1822. Redefine.
  1823. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: New file.
  1824. * sysdeps/x86_64/fpu/math_private.h: Add specialized GET_FLOAT_WORD
  1825. and SET_FLOAT_WORD definitions.
  1826. 2009-08-24 Roland McGrath <roland@redhat.com>
  1827. * sysdeps/unix/syscall-template.S: New file.
  1828. * sysdeps/unix/make-syscalls.sh: Generate rules to use it.
  1829. * sysdeps/unix/Makefile (omit-deps): Do not omit syscall stubs' deps.
  1830. (compile-syscall): Pass mkdep and -g options as normal.
  1831. (s-proto.d, s-proto-cancel.d): Don't "-include" these.
  1832. (common-generated): Don't add them here.
  1833. 2009-08-24 Ulrich Drepper <drepper@redhat.com>
  1834. * math/s_fdim.c: In case of overflows set errno.
  1835. * math/s_fdimf.c: Likewise.
  1836. * math/s_fdiml.c: Likewise.
  1837. * math/math.h: Define math_errhandling of __FAST_MATH__ is not defined.
  1838. * sysdeps/i386/fpu/bits/mathinline.h: Undefine math_errhandling if we
  1839. are using the inline optimizations.
  1840. * sysdeps/x86_64/fpu/bits/mathinline.h (__signbit): Optimize.
  1841. (__signbitf): Likewise.
  1842. 2009-08-23 Ulrich Drepper <drepper@redhat.com>
  1843. * posix/regcomp.c (parse_dup_op): Verify the expression is correctly
  1844. terminated.
  1845. * posix/Makefile (tests): Add bug-regex29.
  1846. * posix/bug-regex29.c: New file.
  1847. * posix/unistd.h: Define _POSIX_VERSION and _POSIX2_* correctly if
  1848. older POSIX versions are selected.
  1849. * stdio-common/printf_fp.c: ISO C expects to print the sign of NaN
  1850. as well.
  1851. * stdio-common/printf_fphex.c: Likewise.
  1852. * stdio-common/tstdiomisc.c: Add more tests.
  1853. * locale/locale.h: Include xlocale.h and the thread-local locale
  1854. declarations for XPG7, not XPG6.
  1855. 2009-08-21 Andreas Schwab <schwab@redhat.com>
  1856. * sysdeps/powerpc/powerpc32/____longjmp_chk.S: Removed.
  1857. * sysdeps/powerpc/powerpc64/____longjmp_chk.S: Removed.
  1858. * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: New file.
  1859. * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S: New file.
  1860. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Move CHECK_SP earlier.
  1861. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  1862. 2009-08-20 Roland McGrath <roland@redhat.com>
  1863. * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
  1864. Use l_addr instead of l_map_start (dli_fbase).
  1865. Print "FILE([+-]OFFSET) [ADDRESS]" with the file-relative
  1866. address when there is no proximate symbol.
  1867. * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd):
  1868. Likewise.
  1869. 2009-08-16 Ulrich Drepper <drepper@redhat.com>
  1870. * scripts/gen-as-const.awk: Fix test for 64-bit platform.
  1871. 2009-08-14 Ulrich Drepper <drepper@redhat.com>
  1872. * test-skeleton.c (signal_handler): Renamed from timeout_handler.
  1873. Also handle SIGINT. In that case only do the cleanup and then
  1874. re-raise the signal.
  1875. (main): Install handler for SIGINT.
  1876. 2009-08-10 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
  1877. * stdlib/longlong.h [__sh__] (udiv_qrnnd, sub_ddmmss): Add "t" to
  1878. clobber list.
  1879. 2009-08-01 H.J. Lu <hongjiu.lu@intel.com>
  1880. * elf/Makefile (distribute): Add tst-audit6.c tst-auditmod6a.c
  1881. tst-auditmod6b.c tst-auditmod6c.c tst-audit7.c tst-auditmod7a.c
  1882. tst-auditmod7b.c.
  1883. (tests): Add tst-audit6 tst-audit7.
  1884. (modules-names): Add st-auditmod6a tst-auditmod6b tst-auditmod6c
  1885. tst-auditmod7a tst-auditmod7b.
  1886. ($(objpfx)tst-audit6): New.
  1887. ($(objpfx)tst-audit6.out): Likewise.
  1888. ($(objpfx)tst-audit7): Likewise.
  1889. ($(objpfx)tst-audit7.out): Likewise.
  1890. (tst-audit6-ENV): Likewise.
  1891. (tst-audit7-ENV): Likewise.
  1892. (CFLAGS-tst-auditmod6b.c): Likewise.
  1893. (CFLAGS-tst-auditmod6c.c): Likewise.
  1894. (CFLAGS-tst-auditmod7b.c): Likewise.
  1895. * elf/tst-audit6.c: New file.
  1896. * elf/tst-audit7.c: New file.
  1897. * elf/tst-auditmod6a.c: New file.
  1898. * elf/tst-auditmod6b.c: New file.
  1899. * elf/tst-auditmod6c.c: New file.
  1900. * elf/tst-auditmod7a.c: New file.
  1901. * elf/tst-auditmod7b.c: New file.
  1902. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move
  1903. saving and restoring SSE/AVX registers to ...
  1904. * sysdeps/x86_64/dl-trampoline.h: This. New file.
  1905. 2009-08-07 H.J. Lu <hongjiu.lu@intel.com>
  1906. * sysdeps/i386/i686/multiarch/strcspn.S (STRCSPN): Use PIC
  1907. only if SHARED is defined.
  1908. * sysdeps/i386/i686/multiarch/strspn.S (strspn): Likewise.
  1909. 2009-08-03 Jim Meyering <meyering@redhat.com>
  1910. * sysdeps/i386/configure.in: Use AC_HEADER_CHECK.
  1911. 2009-08-08 Ulrich Drepper <drepper@redhat.com>
  1912. * sysdeps/x86_64/multiarch/strlen.S: Move SSE4.2 version into the same
  1913. section as the other functions for this architecture.
  1914. * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
  1915. 2009-08-07 Ulrich Drepper <drepper@redhat.com>
  1916. * sysdeps/x86_64/strcmp.S: Add support to compile with
  1917. USE_SSSE3. In this case palignr is used.
  1918. * sysdeps/x86_64/multiarch/strcmp.S (strcmp): If SSE4.2 is not
  1919. available but SSSE3 is, pick __str{,n}cmp_ssse3.
  1920. * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
  1921. Add strcmp-ssse3 and strncmp-ssse3.
  1922. * sysdeps/x86_64/multiarch/strcmp-ssse3.S: New file.
  1923. * sysdeps/x86_64/multiarch/strncmp-ssse3.S: New file.
  1924. * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Avoid
  1925. warning through fake initialization.
  1926. 2009-08-07 H.J. Lu <hongjiu.lu@intel.com>
  1927. * sysdeps/i386/i686/multiarch/strlen.S (ENTRY): Add the missing "; \".
  1928. 2009-08-07 Andreas Schwab <schwab@redhat.com>
  1929. * elf/dl-lookup.c (do_lookup_x): Enter correct name into table of
  1930. unique symbols.
  1931. 2009-08-05 H.J. Lu <hongjiu.lu@intel.com>
  1932. * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Properly use
  1933. EBX from EAX = 1. Handle EAX = 11.
  1934. 2009-08-07 Andreas Schwab <schwab@redhat.com>
  1935. * Makefile (TAGS): Use separate sed -e expressions to avoid \
  1936. inside ''.
  1937. 2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
  1938. * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no
  1939. hidden IFUNC functions.
  1940. * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
  1941. * sysdeps/i386/i686/multiarch/strlen.S: New file.
  1942. * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
  1943. (sysdep_routines): Add strcspn-c, strpbrk-c, strspn-c, strstr-c, and
  1944. strcasestr-c.
  1945. (CFLAGS-strcspn-c.c): Define.
  1946. (CFLAGS-strpbrk-c.c): Define.
  1947. (CFLAGS-strspn-c.c): Define.
  1948. (CFLAGS-strstr.c): Define.
  1949. (CFLAGS-strcasestr.c): Define.
  1950. * sysdeps/i386/i686/multiarch/strcspn-c.c: New file.
  1951. * sysdeps/i386/i686/multiarch/strcspn.S: New file.
  1952. * sysdeps/i386/i686/multiarch/strpbrk-c.c: New file.
  1953. * sysdeps/i386/i686/multiarch/strpbrk.S: New file.
  1954. * sysdeps/i386/i686/multiarch/strspn-c.c: New file.
  1955. * sysdeps/i386/i686/multiarch/strspn.S: New file.
  1956. * sysdeps/i386/i686/multiarch/strstr-c.c: New file.
  1957. * sysdeps/i386/i686/multiarch/strstr.c: New file.
  1958. * sysdeps/i386/i686/multiarch/strcasestr-c.c: New file.
  1959. * sysdeps/i386/i686/multiarch/strcasestr.c: New file.
  1960. * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE42): Use
  1961. -16L instead of 0xfffffffffffffff0L.
  1962. * sysdeps/x86_64/multiarch/strspn-c.c (__strspn_sse42): Likewise.
  1963. 2009-08-02 Ulrich Drepper <drepper@redhat.com>
  1964. * sysdeps/i386/configure.in: Add test for <cpuid.h>.
  1965. 2009-07-31 Ulrich Drepper <drepper@redhat.com>
  1966. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Yet
  1967. another rewrite. Much smaller and faster.
  1968. * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
  1969. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (longjmp_msg): Get
  1970. ss_flags from the correct location.
  1971. 2009-07-31 H.J. Lu <hongjiu.lu@intel.com>
  1972. * sysdeps/i386/i686/Makefile (sysdep_routines): Add cacheinfo.
  1973. * sysdeps/i386/i686/cacheinfo.c: New file.
  1974. * sysdeps/i386/i686/multiarch/Makefile: New file.
  1975. * sysdeps/i386/i686/multiarch/ifunc-defines.sym: New file.
  1976. * sysdeps/i386/i686/multiarch/init-arch.c: New file.
  1977. * sysdeps/i386/i686/multiarch/init-arch.h: New file.
  1978. * sysdeps/i386/i686/multiarch/sched_cpucount.c: New file.
  1979. * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: New file.
  1980. * sysdeps/x86_64/cacheinfo.c: Include <cpuid.h>.
  1981. (__cpuid_count): New. Provide the default.
  1982. (__x86_64_prefetchw): Define only if DISABLE_PREFETCHW is not defined.
  1983. (__x86_64_preferred_memory_instruction): Define only if
  1984. DISABLE_PREFERRED_MEMORY_INSTRUCTION is not defined.
  1985. (intel_check_word): Use __cpuid.
  1986. (handle_intel): Likewise.
  1987. (handle_amd): Likewise.
  1988. (__cache_sysconf): Likewise.
  1989. (init_cacheinfo): Updated. Use __cpuid and __cpuid_count.
  1990. (__cache_sysconf): Likewise.
  1991. (init_cacheinfo): Updated. Use __cpuid and __cpuid_count.
  1992. * sysdeps/x86_64/multiarch/init-arch.c: Include <cpuid.h>.
  1993. (get_common_indeces): Use __cpuid.
  1994. (__init_cpu_features): Likewise. Disable SSSE3 on Atom only
  1995. if ENABLE_SSSE3_ON_ATOM is not defined.
  1996. * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE2): Define.
  1997. * sysdeps/x86_64/multiarch/sched_cpucount.c (POPCNT): Use
  1998. popcnt instead of popcntq.
  1999. 2009-07-31 Jakub Jelinek <jakub@redhat.com>
  2000. * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks).
  2001. 2009-07-30 Ulrich Drepper <drepper@redhat.com>
  2002. * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file.
  2003. * sysdeps/i386/____longjmp_chk.S: Remove all code. This is now a file
  2004. which always causes a compile error.
  2005. * sysdeps/i386/__longjmp.S: Remove bound-checking pointer support.
  2006. * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: New file. Content
  2007. comes from...
  2008. * sysdeps/x86_64/____longjmp_chk.S: ...here. This is now a file
  2009. which always causes a compile error.
  2010. * debug/Makefile (tests): Add tst-longjmp_chk2.
  2011. * debug/tst-longjmp_chk2.c: New file.
  2012. * sysdeps/x86_64/__longjmp.S: Remove CHECK_RSP handling. Fix CFI.
  2013. Remove incorrect use of BP_SYM.
  2014. * sysdeps/x86_64/____longjmp_chk.S: Rewrite. Complete implementation
  2015. here now since it is more complex than just a simple check.
  2016. * sysdeps/ia64/backtrace.c (backtrace_helper): Stop backtrace when
  2017. we make no more progress.
  2018. 2009-07-29 Ulrich Drepper <drepper@redhat.com>
  2019. * math/s_fma.c: Don't define alias if __fma is a macro.
  2020. * math/s_fmaf.c: Likewise.
  2021. * sysdeps/x86_64/multiarch/s_fma.c: New file.
  2022. * sysdeps/x86_64/multiarch/s_fmaf.c: New file.
  2023. Partially based on a patch by H.J. Lu <hongjiu.lu@intel.com>.
  2024. * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare.
  2025. (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc.
  2026. New macro HAS_FMA.
  2027. * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New
  2028. function.
  2029. * include/libc-symbols.h (libm_ifunc): Define.
  2030. * sysdeps/x86_64/multiarch/Versions: New file.
  2031. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI.
  2032. 2009-07-28 H.J. Lu <hongjiu.lu@intel.com>
  2033. * sysdeps/x86_64/dl-trampoline.S: Properly restore AVX registers.
  2034. 2009-07-29 Ulrich Drepper <drepper@redhat.com>
  2035. * elf/dl-runtime.c (_dl_fixup): Indicate before _dl_lookup_symbol_x
  2036. call that registers used in calling conventions need to be preserved.
  2037. * elf/dl-lookup.c (do_lookup_x): Use RTLD_*_FOREIGN_CALL macros
  2038. to preserve register content if necessary.
  2039. * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): New function.
  2040. (_dl_x86_64_restore_sse): New function.
  2041. * sysdeps/x86_64/tst-xmmymm.sh: There is now one more function that
  2042. is allowed to modify xmm/ymm registers.
  2043. * stdio-common/scanf15.c: Undefine _LIBC. We want to test from an
  2044. application's perspective.
  2045. * stdio-common/scanf17.c: Likewise.
  2046. 2009-07-28 Ulrich Drepper <drepper@redhat.com>
  2047. * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Don't add TCB
  2048. size to memsz.
  2049. (init_static_tls) [TLS_TCB_AT_TP]: Add it to GL(dl_tls_static_size)
  2050. here.
  2051. * elf/dl-reloc.c (_dl_try_allocate_static_tls): Compute freebytes in
  2052. two steps to catch bugs.
  2053. 2009-07-27 Ulrich Drepper <drepper@redhat.com>
  2054. * sysdeps/x86_64/tst-xmmymm.sh: Refine testing. The script now
  2055. determines which files are used in runtime lookups and only checks
  2056. those for SSE use.
  2057. * sysdeps/x86_64/rtld-memchr.c: Removed. Not needed with refined
  2058. testing.
  2059. * sysdeps/x86_64/rtld-rawmemchr.c: Removed.
  2060. * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: Removed
  2061. * sysdeps/x86_64/Makefile: Emit warning that tst-xmmymm.sh might
  2062. take a while.
  2063. * elf/dl-open.c: Move _dl_scope_free to...
  2064. * elf/dl-scope.c: ...here. New file.
  2065. * elf/Makefile (dl-routines): Add scope.
  2066. * resolv/resolv.h (RES_USE_DNSSEC): Define.
  2067. * resolv/res_debug.c (p_option): Handle RES_USE_EDNS0 and
  2068. RES_USE_DNSSEC.
  2069. * resolv/res_mkquery.c (__res_nopt): Set flags for RES_USE_DNSSEC.
  2070. * resolv/res_query.c (__libc_res_nquery): Handle RES_USE_DNSSEC in
  2071. all the places we handled RES_USE_EDNS0 only before.
  2072. Patch by Adam Tkac <atkac@redhat.com>.
  2073. 2009-07-27 Jakub Jelinek <jakub@redhat.com>
  2074. * elf/dl-lookup.c (do_lookup_x): Fix check for table more than
  2075. 3/4 full. Pass size + 1 rather than size to _dl_higher_prime_number.
  2076. Update size when reallocating.
  2077. 2009-07-26 Ulrich Drepper <drepper@redhat.com>
  2078. * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the
  2079. functions used in ld.so modify xmm/ymm registers.
  2080. * sysdeps/x86_64/Makefile: Hook new test up.
  2081. * sysdeps/x86_64/rtld-memchr.c: New file.
  2082. * sysdeps/x86_64/rtld-memcmp.c: New file.
  2083. * sysdeps/x86_64/rtld-rawmemchr.c: New file.
  2084. * sysdeps/x86_64/rtld-strchr.S: New file.
  2085. * sysdeps/x86_64/rtld-strlen.S: New file.
  2086. * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file.
  2087. * sysdeps/x86_64/multiarch/rtld-strlen.S: New file.
  2088. 2009-07-26 H.J. Lu <hongjiu.lu@intel.com>
  2089. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
  2090. strncmp-c.
  2091. * sysdeps/x86_64/multiarch/strcmp.S (aftertail): Removed.
  2092. (exit): Likewise.
  2093. (Byte1): Likewise.
  2094. (Byte2): Likewise.
  2095. (Byte3): Likewise.
  2096. (Byte4): Likewise.
  2097. (Byte5): Likewise.
  2098. (Byte6): Likewise.
  2099. (next_8_bytes): Likewise.
  2100. (Byte0): Remove commented out codes.
  2101. (unaligned_table): Align jump table at 8 bytes.
  2102. Add _sse4_2 to all labels. Always include "../strcmp.S".
  2103. * sysdeps/x86_64/multiarch/strncmp-c.c: Removed.
  2104. * sysdeps/x86_64/strcmp.S: Add SSE2 support.
  2105. * sysdeps/x86_64/strncmp.S: New file.
  2106. 2009-07-26 Ulrich Drepper <drepper@redhat.com>
  2107. [BZ #10422]
  2108. * sysdeps/unix/sysv/linux/eventfd.c: Add compatibility for old
  2109. kernels, dropped when eventfd2 support was added.
  2110. * sysdeps/unix/sysv/linux/signalfd.c: Add compatibility for old
  2111. kernels, dropped when signalfd4 support was added.
  2112. * sysdeps/unix/sysv/linux/kernel-features.h: More CLOEXEC syscalls
  2113. added, name them.
  2114. [BZ #10452]
  2115. * resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED
  2116. replies up.
  2117. * elf/elf.h: Define NT_GNU_GOLD_VERSION.
  2118. 2009-07-25 Ulrich Drepper <drepper@redhat.com>
  2119. * sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for
  2120. modern processor versions. Patch by H.J. Lu <hongjiu.lu@intel.com>.
  2121. [BZ #10448]
  2122. * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no
  2123. callback we must touch the status to avoid using stale value.
  2124. * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being
  2125. compiled in.
  2126. 2009-07-24 Ulrich Drepper <drepper@redhat.com>
  2127. * sysdeps/unix/sysv/linux/configure.in: Don't automatically include
  2128. /lib/modules/* headers anymore. We have sane headers in the standard
  2129. place now.
  2130. 2009-06-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
  2131. * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage",
  2132. "etf3enh" and "highgprs" added.
  2133. (_dl_s390_platforms): "z10" added.
  2134. * sysdeps/s390/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_PLATFORMS_COUNT):
  2135. Increased for the new entries.
  2136. (HWCAP enum): HWCAP_S390_HPAGE, HWCAP_S390_ETF3EH and
  2137. HWCAP_S390_HIGH_GPRS added.
  2138. * sysdeps/s390/s390-64/Makefile: Adjusted to build the new modules.
  2139. * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: New file.
  2140. * sysdeps/s390/s390-64/utf16-utf32-z9.c: New file.
  2141. * sysdeps/s390/s390-64/utf8-utf16-z9.c: New file.
  2142. * sysdeps/s390/s390-64/utf8-utf32-z9.c: New file.
  2143. 2009-07-23 Ulrich Drepper <drepper@redhat.com>
  2144. * sysdeps/x86_64/cacheinfo.c [USE_MULTIARCH]: Rearrange code to
  2145. avoid additional cpuid instructions. Most of the information is
  2146. stored somewhere.
  2147. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add more
  2148. cache descriptors.
  2149. * sysdeps/x86_64/cacheinfo.c (intel_02_known): Likewise.
  2150. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Reset
  2151. SSSE3 bit for Atoms.
  2152. * sysdeps/x86_64/multiarch/strcpy.S: New need to perform Atom test
  2153. here anymore.
  2154. * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in
  2155. structure before copying it to avoid warning.
  2156. * posix/tst-rfc3484-2.c (do_test): Likewise.
  2157. * posix/tst-rfc3484-3.c (do_test): Likewise.
  2158. [BZ #10416]
  2159. * include/unistd.h: Make header file suitable for C++ test cases.
  2160. Patch by Duncan Simpson <dps@simpson.demon.co.uk>.
  2161. * sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the
  2162. stack alignment in the exit code.
  2163. * elf/dl-lookup.c (dl_lookup_x): The hashval for unique symbol can
  2164. potentially be zero.
  2165. * elf/tst-unique1.c: Extend test to check for unloading DSO with
  2166. unique symbol definition.
  2167. Patch by Jakub Jelinek.
  2168. * elf/dl-lookup.c (do_lookup_x): When entering a new unique symbol,
  2169. make sure the object with the definition cannot be unloaded. Adjust
  2170. a few types.
  2171. * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in
  2172. the unique symbol hash table should not be const.
  2173. 2009-07-21 Ulrich Drepper <drepper@redhat.com>
  2174. * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove
  2175. unnecesary variables. Comment fixes.
  2176. 2009-07-20 Ulrich Drepper <drepper@redhat.com>
  2177. * sysdeps/x86_64/multiarch/strstr.c [USE_AS_STRCASESTR] (STRSTR_SSE42):
  2178. Use NONASCII_CASE information provided by the locale to determine
  2179. whether optimized string load function can be used. Minor cleanups.
  2180. 2009-07-20 H.J. Lu <hongjiu.lu@intel.com>
  2181. * string/strcasestr.c (STRCASESTR): New macro.
  2182. (__strcasestr): Renamed to ..
  2183. (STRCASESTR): ...this.
  2184. * string/strstr.c (STRSTR): New macro.
  2185. (strstr): Renamed to ..
  2186. (STRSTR): ...this.
  2187. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2188. strstr-c strcasestr-c
  2189. (CFLAGS-strstr.c): New.
  2190. (CFLAGS-strcasestr.c): Likewise.
  2191. * sysdeps/x86_64/multiarch/strcasestr-c.c: New file.
  2192. * sysdeps/x86_64/multiarch/strcasestr.c: New file.
  2193. * sysdeps/x86_64/multiarch/strstr-c.c: New file.
  2194. * sysdeps/x86_64/multiarch/strstr.c: New file.
  2195. 2009-07-20 Ulrich Drepper <drepper@redhat.com>
  2196. * locale/localeinfo.h (LIMAGIC): Update value for LC_CTYPE.
  2197. * locale/langinfo.h: Define _NL_CTYPE_NONASCII_CASE.
  2198. * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializer for
  2199. _NL_CTYPE_NONASCII_CASE.
  2200. * locale/programs/ld-ctype.c (locale_ctype_t): Add nonascii_case
  2201. field.
  2202. (ctype_finish): Check whether there are any 8-bit characters outside
  2203. the range ASCII has or whether the mapping isn't the same as for
  2204. ASCII (±0x20). Set nonascii_case appropriately.
  2205. (ctype_output): Add output handler for nonascii_case.
  2206. 2009-07-17 Ulrich Drepper <drepper@redhat.com>
  2207. * sysdeps/generic/sysdep.h: Define cfi_personality, cfi_lsda,
  2208. CFI_PERSONALITY, CFI_LSDA, and DW_EH_PE_* constants.
  2209. 2009-07-16 Ulrich Drepper <drepper@redhat.com>
  2210. [BZ #10360]
  2211. * resolv/res-mkquery.c (__res_nopt): If anslen is > 0xffff store
  2212. 0xffff in the EDNS0 record.
  2213. 2009-07-16 Ulrich Drepper <drepper@redhat.com>
  2214. * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel
  2215. instead of atomic_compare_and_exchange_bool_acq to ensure pointer
  2216. is written before the list head update.
  2217. Patch by Andreas Schwab <aschwab@redhat.com>.
  2218. 2009-07-16 Ulrich Drepper <drepper@redhat.com>
  2219. Jakub Jelinek <jakub@redhat.com>
  2220. * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for
  2221. corruption thread-safe.
  2222. 2009-07-13 Jakub Jelinek <jakub@redhat.com>
  2223. * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch
  2224. overrides atomic_compare_and_exchange_val_rel, define to
  2225. atomic_compare_and_exchange_val_rel by default, otherwise default
  2226. to catomic_compare_and_exchange_val_acq.
  2227. (catomic_compare_and_exchange_bool_rel): If arch overrides
  2228. atomic_compare_and_exchange_bool_rel, define to
  2229. atomic_compare_and_exchange_bool_rel by default.
  2230. * malloc/malloc.c (_int_free): Revert 2009-07-02 change.
  2231. Use catomic_compare_and_exchange_val_rel instead of
  2232. catomic_compare_and_exchange_val_acq.
  2233. 2009-07-16 Ulrich Drepper <drepper@redhat.com>
  2234. * sysdeps/generic/ldsodefs.h: Add prototype for
  2235. _dl_higher_prime_number.
  2236. * elf/dl-misc.c (_dl_higher_prime_number): Mark with internal_function.
  2237. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Optimize
  2238. restoring of ymm registers a bit.
  2239. 2009-07-15 H.J. Lu <hongjiu.lu@intel.com>
  2240. * sysdeps/x86_64/memcmp.S: New file.
  2241. 2009-07-15 Ulrich Drepper <drepper@redhat.com>
  2242. * sysdeps/x86-64/dl-trampoline.h: Remove after integrating code into...
  2243. * sysdeps/x86-64/dl-trampoline.S: ...here. Rewrite to avoid function
  2244. pointers in writable memory.
  2245. 2009-07-07 H.J. Lu <hongjiu.lu@intel.com>
  2246. * config.h.in: Add HAVE_AVX_SUPPORT entry.
  2247. * config.make.in: Add config-cflags-avx entry.
  2248. * configure.in: Substitute libc_cv_cc_avx.
  2249. * elf/Makefile: Add rules to build and run tst-audit4 and tst-audit5.
  2250. * elf/tst-audit4.c: New file.
  2251. * elf/tst-audit5.c: New file.
  2252. * elf/tst-auditmod4a.c: New file.
  2253. * elf/tst-auditmod4b.c: New file.
  2254. * elf/tst-auditmod5a.c: New file.
  2255. * elf/tst-auditmod5b.c: New file.
  2256. * sysdeps/x86_64/Makefile (gen-as-const-headers): Add
  2257. link-defines.sym.
  2258. * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): New.
  2259. (La_x86_64_vector): Likewise.
  2260. (La_x86_64_regs): Append lr_vector.
  2261. (La_x86_64_retval): Append lr_vector0/lrv_vector1.
  2262. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move
  2263. saving and restoring SSE registers to ...
  2264. * sysdeps/x86_64/dl-trampoline.h: This. New file.
  2265. * sysdeps/x86_64/dl-trampoline.S: Include <config.h> and
  2266. <link-defines.h>.
  2267. (_dl_runtime_profile): Use LR_SIZE to allocate space for
  2268. La_x86_64_regs. Allocate extra space and jump to memory at
  2269. save_and_restore_vector if HAVE_AVX_SUPPORT is defined.
  2270. (save_and_restore_vector_sse): New.
  2271. (save_and_restore_vector_avx): Likewise.
  2272. (check_avx): Likewise.
  2273. (save_and_restore_vector): Likewise.
  2274. * sysdeps/x86_64/elf/configure.in: Set libc_cv_cc_avx and
  2275. HAVE_AVX_SUPPORT.
  2276. * sysdeps/x86_64/link-defines.sym: New file.
  2277. 2009-07-10 Ulrich Drepper <drepper@redhat.com>
  2278. * elf/do-lookup.h: Removed after folding content into...
  2279. * elf/dl-lookup.c: ...here.
  2280. * sysdeps/unix/sysv/linux/sys/epoll.h: Fix comment.
  2281. 2009-07-09 Ulrich Drepper <drepper@redhat.com>
  2282. * configure.in: Check for gnu_unique_symbol symbol type.
  2283. * config.h.in: Add HAVE_ASM_UNIQUE_OBJECT entry.
  2284. * elf/do-lookup.h (do_lookup_x): Take new parameter with link map of
  2285. the undefined symbol. Handle STB_GNU_UNIQUE binding of found symbol.
  2286. * elf/dl-lookup.c (_dl_lookup_symbol_x): Adjust callers for do_lookup_x
  2287. change.
  2288. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add definitions for
  2289. unique symbol table.
  2290. * elf/rtld.c (rtld_global): Initialize lock of unique symbol hash table
  2291. for first namespace.
  2292. * elf/dl-open.c (_dl_open): For new namespace, initialize lock for
  2293. unique symbol hash table.
  2294. * elf/Makefile: Add rules to build and run tst-unique1 and tst-unique2.
  2295. * elf/tst-unique1.c: New file.
  2296. * elf/tst-unique1mod1.c: New file.
  2297. * elf/tst-unique1mod2.c: New file.
  2298. * elf/tst-unique2.c: New file.
  2299. * elf/tst-unique2mod1.c: New file.
  2300. * elf/tst-unique2mod2.c: New file.
  2301. 2009-07-07 Ulrich Drepper <drepper@redhat.com>
  2302. * elf/elf.h (STB_GNU_UNIQUE): Define.
  2303. * elf/dl-misc.c (_dl_higher_prime_number): New function. Moved here
  2304. from...
  2305. * include/inline-hashtab.h: ...here.
  2306. (htab_expand): Adjust for renamed function. Correct memory handling.
  2307. 2009-07-06 Ulrich Drepper <drepper@redhat.com>
  2308. * elf/do-lookup.h (do_lookup_x): Optimize test for valid symbol types.
  2309. 2009-07-03 Andreas Schwab <aschwab@redhat.com>
  2310. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value.
  2311. (PPC_FEATURE_HAS_VSX): Likewise.
  2312. 2009-07-03 Ulrich Drepper <drepper@redhat.com>
  2313. * sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups.
  2314. * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
  2315. * sysdeps/x86_64/multiarch/strcmp.S: Make sure functions are all
  2316. aligned to 16 byte boundaries.
  2317. * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
  2318. * sysdeps/x86_64/multiarch/strlen.S: Likewise.
  2319. * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
  2320. 2009-07-02 H.J. Lu <hongjiu.lu@intel.com>
  2321. * config.h.in (HAVE_SSE4_SUPPORT): New macro.
  2322. * config.make.in (config-cflags-sse4): New variable.
  2323. * configure.in: Substitute libc_cv_cc_sse4.
  2324. * sysdeps/i386/configure.in: Set libc_cv_cc_sse4 and
  2325. HAVE_SSE4_SUPPORT.
  2326. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2327. strcspn-c, strpbrk-c, strspn-c for string if gcc supports SSE4.
  2328. * sysdeps/x86_64/multiarch/strcspn-c.c: New file.
  2329. * sysdeps/x86_64/multiarch/strcspn.S: New file.
  2330. * sysdeps/x86_64/multiarch/strpbrk-c.c: New file.
  2331. * sysdeps/x86_64/multiarch/strpbrk.S: New file.
  2332. * sysdeps/x86_64/multiarch/strspn-c.c: New file.
  2333. * sysdeps/x86_64/multiarch/strspn.S: New file.
  2334. 2009-06-30 H.J. Lu <hongjiu.lu@intel.com>
  2335. * elf/Makefile (distribute): Remove tst-audit.sh. Add
  2336. tst-audit2.c, tst-audit3.c, tst-auditmod3a.c, tst-auditmod3b.c.
  2337. (tests): Add tst-audit3 for x86_64.
  2338. (modules-names): Add tst-auditmod3a, tst-auditmod3b.
  2339. ($(objpfx)tst-audit3): Define.
  2340. ($(objpfx)tst-audit3.out): Define.
  2341. (tst-audit3-ENV): Define.
  2342. * elf/tst-audit3.c: New file.
  2343. * elf/tst-auditmod3a.c: New file.
  2344. * elf/tst-auditmod3b.c: New file.
  2345. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
  2346. and restore xmm6.
  2347. * string/stpncpy.c (STPNCPY): New. Defined if not defined.
  2348. (__stpncpy): Renamed to ...
  2349. (STPNCPY): This.
  2350. (stpncpy): Create alias only if STPNCPY is not defined.
  2351. * string/strncpy.c (STRNCPY): New. Defined to strncpy if not
  2352. defined.
  2353. (strncpy): Renamed to ...
  2354. (STRNCPY): This.
  2355. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2356. stpncpy-c strncpy-c for string.
  2357. * sysdeps/x86_64/multiarch/stpcpy.S: New file.
  2358. * sysdeps/x86_64/multiarch/stpncpy-c.c: New file.
  2359. * sysdeps/x86_64/multiarch/stpncpy.S: New file.
  2360. * sysdeps/x86_64/multiarch/strcpy.S: New file.
  2361. * sysdeps/x86_64/multiarch/strncpy-c.c: New file.
  2362. * sysdeps/x86_64/multiarch/strncpy.S: New file.
  2363. 2009-07-02 Ulrich Drepper <drepper@redhat.com>
  2364. * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when
  2365. adding to fast bin list.
  2366. 2009-07-01 Ulrich Drepper <drepper@redhat.com>
  2367. * nis/nss_nis/nis-network.c (_nss_nis_getnetbyaddr_r): Don't use
  2368. inet_makeaddr. This worked only with class-based networks.
  2369. * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
  2370. Likewise.
  2371. * nss/nss_files/files-network.c (netbyaddr): If type is AF_UNSPEC,
  2372. recognize all types.
  2373. * nss/getent.c (networks_keys): Pass AF_UNSPEC instead of AF_UNIX
  2374. to getnetbyaddr. Fix network parameter to getnetbyaddr. It must
  2375. be in host byte order.
  2376. 2009-06-26 H.J. Lu <hongjiu.lu@intel.com>
  2377. * sysdeps/x86_64/multiarch/ifunc-defines.sym (FAMILIY_OFFSET): Define.
  2378. (MODEL_OFFSET): Define.
  2379. * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add
  2380. family and model.
  2381. * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Break
  2382. out common code into new function get_common_indeces. Determine
  2383. extended family and model for Intel processors.
  2384. 2009-06-26 Ulrich Drepper <drepper@redhat.com>
  2385. * resolv/resolv.h: Define RES_SNGLKUPREOP.
  2386. * resolv/res_init.c (res_setoptions): Recognize single-request-reopen
  2387. option.
  2388. * resolv/res_send.c (reopen): New function. Broken out of...
  2389. (send_dg): ... here. Recognize RES_SNGLKUPREOP. Implement second
  2390. fallback mechanism. If single-request fails switch to
  2391. single-request-reopen mode which opens a new socket for the second
  2392. request.
  2393. 2009-06-25 Andreas Schwab <aschwab@redhat.com>
  2394. * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define.
  2395. (CHECK_SP): Use it.
  2396. 2009-06-24 Andreas Schwab <aschwab@redhat.com>
  2397. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset
  2398. for saved registers.
  2399. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
  2400. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
  2401. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
  2402. 2009-06-23 Andreas Schwab <aschwab@redhat.com>
  2403. * time/tzfile.c (__tzfile_read): Don't use an empty TZ string.
  2404. 2009-06-22 Ulrich Drepper <drepper@redhat.com>
  2405. * po/id.po: Update from translation team.
  2406. * po/bg.po: Update from translation team.
  2407. 2009-06-22 H.J. Lu <hongjiu.lu@intel.com>
  2408. * string/strncmp.c (STRNCMP): New. Defined to strncmp if not
  2409. defined.
  2410. (strncmp): Renamed to STRNCMP.
  2411. * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
  2412. strncmp-c for string.
  2413. * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define.
  2414. * sysdeps/x86_64/multiarch/strcmp.S: New file.
  2415. * sysdeps/x86_64/multiarch/strncmp.S: New file.
  2416. * sysdeps/x86_64/multiarch/strncmp-c.c: New file.
  2417. 2009-06-19 H.J. Lu <hongjiu.lu@intel.com>
  2418. * elf/Makefile (distribute): Add ifuncmain1staticpie.c,
  2419. ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c,
  2420. ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c,
  2421. ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c,
  2422. ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and
  2423. ifuncmain7static.c.
  2424. (tests-static): Add ifuncmain5static, ifuncmain5picstatic,
  2425. ifuncmain7static, and ifuncmain7picstatic.
  2426. (tests): Also depend on $(objpfx)ifuncmain1staticpie.out,
  2427. $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and
  2428. $(objpfx)ifuncmain7pie.out.
  2429. (modules-names): Add ifuncmod5 ifuncmod6
  2430. (ifuncmod5.so-no-z-defs): Define.
  2431. (ifuncmod6.so-no-z-defs): Define.
  2432. (CFLAGS-ifuncmain5pic.c): Define.
  2433. (CFLAGS-ifuncmain5picstatic.c): Define.
  2434. (CFLAGS-ifuncmain5staticpic.c): Define.
  2435. (CFLAGS-ifuncdep5pic.c): Define.
  2436. (CFLAGS-ifuncmain7pic.c): Define.
  2437. (CFLAGS-ifuncmain7picstatic.c): Define.
  2438. (CFLAGS-ifuncmain1staticpie.c): Define.
  2439. (CFLAGS-ifuncmain5pie.c): Define.
  2440. (CFLAGS-ifuncmain6pie.c): Define.
  2441. (CFLAGS-ifuncmain7pie.c): Define.
  2442. ($(objpfx)ifuncmain1staticpie.out): Define.
  2443. ($(objpfx)ifuncmain1staticpie): Define.
  2444. ($(objpfx)ifuncmain5pie.out): Define.
  2445. ($(objpfx)ifuncmain5pie): Define.
  2446. ($(objpfx)ifuncmain6pie.out): Define.
  2447. ($(objpfx)ifuncmain6pie): Define.
  2448. ($(objpfx)ifuncmain5): Define.
  2449. ($(objpfx)ifuncmain5pic): Define.
  2450. ($(objpfx)ifuncmain5static): Define.
  2451. ($(objpfx)ifuncmain5staticpic): Define.
  2452. ($(objpfx)ifuncmain5picstatic): Define.
  2453. (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out,
  2454. ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and
  2455. ifuncmain6pie.out.
  2456. * elf/b/elf/ifuncmain1staticpie.c: New file.
  2457. * elf/ifuncdep5.c: New file.
  2458. * elf/ifuncdep5pic.c: New file.
  2459. * elf/ifuncmain5.c: New file.
  2460. * elf/ifuncmain5pic.c: New file.
  2461. * elf/ifuncmain5picstatic.c: New file.
  2462. * elf/ifuncmain5pie.c: New file.
  2463. * elf/ifuncmain5static.c: New file.
  2464. * elf/ifuncmain5staticpic.c: New file.
  2465. * elf/ifuncmain6pie.c: New file.
  2466. * elf/ifuncmain7.c: New file.
  2467. * elf/ifuncmain7pic.c: New file.
  2468. * elf/ifuncmain7picstatic.c: New file.
  2469. * elf/ifuncmain7pie.c: New file.
  2470. * elf/ifuncmain7static.c: New file.
  2471. * elf/ifuncmod5.c: New file.
  2472. * elf/ifuncmod6.c: New file.
  2473. 2009-06-20 Ulrich Drepper <drepper@redhat.com>
  2474. [BZ #10085]
  2475. * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable.
  2476. (nss_endgrent): New variable.
  2477. (struct ent_t): Add need_endgrent and skip_initgroups_dyn
  2478. fields. Change type of files to bool and adjust all users.
  2479. (init_nss_interface): Initialize nss_setgrent and nss_endgrent.
  2480. (internal_endgrent): Call nss_endgrent if necessary.
  2481. (add_group): New function. Broken out of...
  2482. (check_and_add_group): ...here.
  2483. (getgrent_next_nss): Remove test that any callback is available.
  2484. Use skip_initgroups_dyn to determine whether to use initgroups_dyn
  2485. callback. If there is no blacklist we can trust the results returned
  2486. by the initgroups_dyn callback. In case there is a callback and we
  2487. find a group entry for the group ID but it doesn't contain the
  2488. correct member, switch to the slow mode and use getgrent_r.
  2489. (internal_getgrent_r): When we see a +: entry, determine whether
  2490. there is any callback and which we can use the initgroups_dyn
  2491. callback.
  2492. 2009-06-18 Ulrich Drepper <drepper@redhat.com>
  2493. * malloc/malloc.c (_int_malloc): Add some consistency checks.
  2494. (_int_free): Likewise.
  2495. * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and
  2496. AF_IEEE802154.
  2497. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  2498. * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154
  2499. and ARPHRD_IEEE802154_PHY.
  2500. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions
  2501. relative to generic Linux version.
  2502. 2009-06-17 H.J. Lu <hongjiu.lu@intel.com>
  2503. * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie).
  2504. ($(objpfx)ifuncmain1vispie): Likewise.
  2505. 2009-06-16 Ulrich Drepper <drepper@redhat.com>
  2506. * login/Makefile: Build pt_chown as PIE.
  2507. 2009-06-15 Andreas Schwab <aschwab@redhat.com>
  2508. * debug/xtrace.sh (do_help): Don't treat bug reporting message as
  2509. a format string.
  2510. * elf/sln.c (usage): Likewise.
  2511. * malloc/memusage.sh (do_help): Likewise.
  2512. * nss/getent.c (more_help): Likewise.
  2513. * posix/getconf.c (main): Likewise.
  2514. * sunrpc/rpcinfo.c (usage): Likewise.
  2515. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
  2516. 2009-06-16 Ulrich Drepper <drepper@redhat.com>
  2517. * login/programs/pt_chown.c: Use libcap to drop privileges other than
  2518. those needed.
  2519. * login/Makefile: If necessary link pt_chown with -lcap.
  2520. * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM.
  2521. * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM.
  2522. 2009-06-16 Jakub Jelinek <jakub@redhat.com>
  2523. * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed
  2524. comparisons.
  2525. * string/test-memchr.c (do_random_tests): Test very large lengths
  2526. as well.
  2527. 2009-06-02 H.J. Lu <hongjiu.lu@intel.com>
  2528. * Makeconfig (+link-pie): Define.
  2529. (+prectorS): Define.
  2530. (+postctorS): Define.
  2531. * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie).
  2532. * nscd/Makefile ($(objpfx)nscd): Likewise.
  2533. 2009-04-22 Ryan S. Arnold <rsa@us.ibm.com>
  2534. [BZ #10107]
  2535. * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi
  2536. with cmplwi.
  2537. * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
  2538. 2009-06-16 Ulrich Drepper <drepper@redhat.com>
  2539. * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes
  2540. into ...
  2541. * sysdeps/unix/grantpt.c: ...here.
  2542. 2009-06-15 Ulrich Drepper <drepper@redhat.com>
  2543. * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and
  2544. chmod if it is necessary.
  2545. [BZ #10166]
  2546. * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used
  2547. when the slave device is in devpts or devfs.
  2548. [BZ #10183]
  2549. * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits.
  2550. [BZ #10195]
  2551. * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type
  2552. of nd_opt_home_agent_info_preference to uint16_t.
  2553. Patch by Arnaud Ebalard <arno@natisbad.org>.
  2554. [BZ #10207]
  2555. * nss/getent.c: Add support for printing gshadow data.
  2556. [BZ #10203]
  2557. * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers,
  2558. not just the currently used one and those which follow.
  2559. Patch by Joe Landers <jlanders@vmware.com>.
  2560. [BZ #10196]
  2561. * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name.
  2562. * libio/Makefile: Run tst-fgetwc with necessary envvar.
  2563. Patch by Bruce Dubbs <bdubbs@linuxfromscratch.org>.
  2564. [BZ #10217]
  2565. * stdlib/abort.c: Define variable __abort_msg.
  2566. * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version.
  2567. * include/stdlib.h: Declare __abort_msg.
  2568. * assert/assert-perr.c: Don't free buffer for message immediately.
  2569. Store atomically in __abort_msg and free old buffer if necessary.
  2570. * assert/assert.c: Likewise.
  2571. * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it,
  2572. store pointer in __abort_msg, and possibly free old string.
  2573. * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
  2574. * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len.
  2575. [BZ #10211]
  2576. * time/tzfile.c (__tzfile_compute): If we use the envvar format still
  2577. handle leap seconds if they are available.
  2578. Patch by Akinori Hattori <hattya@gentoo.org>.
  2579. * timezone/tzselect.ksh: Update from tzcode2009i.
  2580. * timezone/zdump.c: Likewise.
  2581. * timezone/zic.c: Likewise.
  2582. * timezone/africa: Update from tzdata2009i.
  2583. * timezone/antarctica: Likewise.
  2584. * timezone/asia: Likewise.
  2585. * timezone/australasia: Likewise.
  2586. * timezone/backward: Likewise.
  2587. * timezone/etcetera: Likewise.
  2588. * timezone/europe: Likewise.
  2589. * timezone/factory: Likewise.
  2590. * timezone/iso3166.tab: Likewise.
  2591. * timezone/leapseconds: Likewise.
  2592. * timezone/northamerica: Likewise.
  2593. * timezone/pacificnew: Likewise.
  2594. * timezone/solar87: Likewise.
  2595. * timezone/solar88: Likewise.
  2596. * timezone/solar89: Likewise.
  2597. * timezone/southamerica: Likewise.
  2598. * timezone/systemv: Likewise.
  2599. * timezone/yearistype: Likewise.
  2600. * timezone/zone.tab: Likewise.
  2601. 2009-06-15 Jakub Jelinek <jakub@redhat.com>
  2602. * elf/dl-lookup.c (_dl_debug_bindings): When resolving to
  2603. STT_GNU_IFUNC symbol or in 8 into type_class.
  2604. * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type
  2605. instead of Elf64_Addr.
  2606. 2009-06-14 Ulrich Drepper <drepper@redhat.com>
  2607. * po/sv.po: Update from translation team.
  2608. [BZ #10229]
  2609. * misc/sys/select.h (__NFDBITS): Expression should have type int.
  2610. * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET,
  2611. __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from
  2612. the C version.
  2613. 2009-06-12 Ulrich Drepper <drepper@redhat.com>
  2614. * Versions.def: Add GLIBC_2.11 for libpthread.
  2615. 2009-06-11 Ulrich Drepper <drepper@redhat.com>
  2616. * resolv/res_send.c (send_dg): Remember we switched to
  2617. single-request mode.
  2618. 2009-06-09 Ulrich Drepper <drepper@redhat.com>
  2619. * dlfcn/dlfcn.h: Remove comma at end of enum.
  2620. Patch by J.H.M. Dassen <rdassen@redhat.com>.
  2621. * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop
  2622. parsing mode string.
  2623. 2009-06-05 Ulrich Drepper <drepper@redhat.com>
  2624. * sysdeps/x86_64/rawmemchr.S: Minor optimization.
  2625. * sysdeps/x86_64/multiarch/rawmemchr.S: New file.
  2626. * sysdeps/x86_64/multiarch/strlen.S: New file.
  2627. * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file.
  2628. * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h.
  2629. * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register
  2630. content.
  2631. * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH
  2632. is defined.
  2633. 2009-06-04 Ulrich Drepper <drepper@redhat.com>
  2634. * sysdeps/x86_64/strlen.S: Minor optimizations.
  2635. 2009-06-02 H.J. Lu <hongjiu.lu@intel.com>
  2636. * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c,
  2637. ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c,
  2638. ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c,
  2639. ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c,
  2640. ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c,
  2641. funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c,
  2642. ifuncmain3.c, ifuncmod3.c,.
  2643. ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c.
  2644. (tests-static): Add ifuncmain1static, ifuncmain1picstatic,
  2645. ifuncmain2static, ifuncmain2picstatic, ifuncmain4static,
  2646. ifuncmain4picstatic.
  2647. (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis,
  2648. ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic,
  2649. ifuncmain3, ifuncmain4.
  2650. (tests): Depend on $(objpfx)ifuncmain1pie.out and
  2651. $(objpfx)ifuncmain1vispie.out.
  2652. (modules-names): Add ifuncmod1 ifuncmod3.
  2653. (generated): Add ifuncmain1pie ifuncmain1pie.out
  2654. ifuncmain1vispie ifuncmain1vispie.out.
  2655. Define rules to build and run the tests.
  2656. * elf/ifuncdep1.c: New file.
  2657. * elf/ifuncdep1pic.c: New file.
  2658. * elf/ifuncdep2.c: New file.
  2659. * elf/ifuncdep2pic.c: New file.
  2660. * elf/ifuncmain1.c: New file.
  2661. * elf/ifuncmain1pic.c: New file.
  2662. * elf/ifuncmain1picstatic.c: New file.
  2663. * elf/ifuncmain1pie.c: New file.
  2664. * elf/ifuncmain1static.c: New file.
  2665. * elf/ifuncmain1staticpic.c: New file.
  2666. * elf/ifuncmain1vis.c: New file..
  2667. * elf/ifuncmain1vispic.c: New file..
  2668. * elf/ifuncmain1vispie.c: New file.
  2669. * elf/ifuncmain2.c: New file.
  2670. * elf/ifuncmain2pic.c: New file.
  2671. * elf/ifuncmain2picstatic.c: New file.
  2672. * elf/ifuncmain2static.c: New file.
  2673. * elf/ifuncmain3.c: New file.
  2674. * elf/ifuncmain4.c: New file.
  2675. * elf/ifuncmain4picstatic.c: New file.
  2676. * elf/ifuncmain4static.c: New file.
  2677. * elf/ifuncmod1.c: New file.
  2678. * elf/ifuncmod3.c: New file.
  2679. 2009-06-03 Ulrich Drepper <drepper@redhat.com>
  2680. * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string.
  2681. 2009-06-02 Ulrich Drepper <drepper@redhat.com>
  2682. [BZ #10221]
  2683. * posix/Makefile (routines): Add execvpe.
  2684. * posix/Versions: Export execvpe for GLIBC_2.11.
  2685. * posix/execvp.c: Now only a wrapper. Move code to...
  2686. * posix/execvpe.c: ...here. New file.
  2687. * posix/unistd.h: Declare execvpe.
  2688. 2009-06-01 Ulrich Drepper <drepper@redhat.com>
  2689. * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions
  2690. for STT_GNU_IFUNC handling for efficiency.
  2691. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
  2692. * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just
  2693. _exit.
  2694. * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
  2695. 2009-05-31 Ulrich Drepper <drepper@redhat.com>
  2696. * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code
  2697. for !SHARED.
  2698. 2009-05-29 H.J. Lu <hongjiu.lu@intel.com>
  2699. * csu/elf-init.c: Include <link.h> and <dl-irel.h> if LIBC_NONSHARED
  2700. is not defined.
  2701. (__rela_iplt_start): New declaration.
  2702. (__rela_iplt_end): Likewise.
  2703. (__rel_iplt_start): Likewise.
  2704. (__rel_iplt_end): Likewise.
  2705. (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start.
  2706. * elf/elf.h (R_386_IRELATIVE): New macro.
  2707. (R_X86_64_IRELATIVE): New macro.
  2708. (R_386_NUM): Updated.
  2709. (R_X86_64_NUM): Likewise.
  2710. * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro.
  2711. (libc_ifunc_hidden_def): New macro.
  2712. * sysdeps/generic/dl-irel.h: New file.
  2713. * sysdeps/i386/dl-irel.h: New file.
  2714. * sysdeps/x86_64/dl-irel.h: New file.
  2715. * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE.
  2716. (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol.
  2717. Handle R_386_IRELATIVE.
  2718. (elf_machine_lazy_rel): Handle R_386_IRELATIVE.
  2719. (elf_machine_lazy_rela): Likewise.
  2720. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
  2721. R_X86_64_IRELATIVE.
  2722. (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE.
  2723. 2009-05-31 Ulrich Drepper <drepper@redhat.com>
  2724. * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1
  2725. instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there
  2726. are no differences. If an architecture has bits in CPUID index 1
  2727. meaning different things the values for the COMMON_CPUID_INDEX_1
  2728. index must not be set.
  2729. (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of...
  2730. (HAS_POPCOUNT): ...this. New macro.
  2731. * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1
  2732. instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code
  2733. to set the value for Intel and AMD architectures.
  2734. * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of
  2735. INTEL_CPUID_INDEX_1.
  2736. * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT
  2737. change.
  2738. 2009-05-30 Andreas Schwab <schwab@linux-m68k.org>
  2739. * configure.in: Move AC_CANONICAL_HOST before first use of $host
  2740. and $build.
  2741. 2009-05-29 Jakub Jelinek <jakub@redhat.com>
  2742. * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <errno.h>.
  2743. (__expm1l): Set errno to ERANGE on overflow.
  2744. * sysdeps/ieee754/ldbl-128/s_tanl.c: Include <errno.h>.
  2745. (__tanl): Set errno to EDOM for ±Inf.
  2746. * sysdeps/ieee754/ldbl-128/s_cosl.c: Include <errno.h>.
  2747. (__cosl): Set errno to EDOM for ±Inf.
  2748. * sysdeps/ieee754/ldbl-128/s_sinl.c: Include <errno.h>.
  2749. (__sinl): Set errno to EDOM for ±Inf.
  2750. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is
  2751. defined, use it.
  2752. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
  2753. * sysdeps/s390/s390-32/____longjmp_chk.c: New file.
  2754. * sysdeps/s390/s390-64/____longjmp_chk.c: New file.
  2755. 2009-05-29 Ulrich Drepper <drepper@redhat.com>
  2756. * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust
  2757. code accessing it.
  2758. * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise.
  2759. 2009-05-22 Andreas Schwab <schwab@linux-m68k.org>
  2760. * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf.
  2761. * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
  2762. * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
  2763. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow.
  2764. * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file.
  2765. * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file.
  2766. * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if
  2767. defined.
  2768. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
  2769. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
  2770. 2009-05-22 Jakub Jelinek <jakub@redhat.com>
  2771. * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h.
  2772. (accept4): If __NR_accept4 is not defined, but __NR_socketcall
  2773. is, either do nothing at all if __ASSUME_ACCEPT4, or
  2774. call __internal_accept4 and handle EINVAL -> ENOSYS translation.
  2775. * sysdeps/unix/sysv/linux/internal_accept4.S: New file.
  2776. * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't
  2777. define.
  2778. * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file.
  2779. * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add
  2780. internal_accept4 in socket directory.
  2781. 2009-05-20 H.J. Lu <hongjiu.lu@intel.com>
  2782. * sysdeps/ia64/configure.in: New file.
  2783. 2009-05-21 H.J. Lu <hongjiu.lu@intel.com>
  2784. [BZ #10162]
  2785. * sysdeps/ia64/memchr.S: Use speculative load.
  2786. * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file.
  2787. * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined,
  2788. use it.
  2789. * sysdeps/i386/__longjmp.S: Add .text.
  2790. * sysdeps/x86_64/__longjmp.S: Likewise.
  2791. 2009-05-21 Ulrich Drepper <drepper@redhat.com>
  2792. * sysdeps/unix/sysv/linux/kernel-features.h: Don't define
  2793. __ASSUME_ACCEPT4 for IA-64.
  2794. 2009-05-21 Jakub Jelinek <jakub@redhat.com>
  2795. * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define.
  2796. * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove.
  2797. (SOCKOP_accept4): Define.
  2798. 2009-05-20 Ulrich Drepper <drepper@redhat.com>
  2799. * po/da.po: Update from translation team.
  2800. 2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  2801. * sysdeps/sh/____longjmp_chk.S: New file.
  2802. * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it.
  2803. * sysdeps/sh/sh4/__longjmp.S: Likewise.
  2804. 2009-05-18 Jakub Jelinek <jakub@redhat.com>
  2805. Ulrich Drepper <drepper@redhat.com>
  2806. * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define.
  2807. (__nscd_cache_search): Assume each entry in the
  2808. hash chain needs one hashentry and half of datahead. Use
  2809. MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry).
  2810. 2009-05-16 Ulrich Drepper <drepper@redhat.com>
  2811. * posix/sys/wait.h: Fix typos. Pretty printing.
  2812. * stdlib/stdlib.h: Likewise. Correct comments.
  2813. [BZ #10159]
  2814. * stdlib/stdlib.h (__WAIT_INT): Match the definition in <sys/wait.h>.
  2815. * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last
  2816. patch.
  2817. 2009-05-15 Ulrich Drepper <drepper@redhat.com>
  2818. * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter.
  2819. Use it if we absolutely cannot reach any more correct list elements
  2820. because that many do not fit into the currently mapped database.
  2821. 2009-05-14 Jakub Jelinek <jakub@redhat.com>
  2822. * nscd/nscd_helper.c: Include stddef.h.
  2823. (__nscd_cache_search): Add datalen argument. Use atomic_forced_read
  2824. in a couple of places. Return NULL if trail is not less than
  2825. datasize, don't consider dataheads with length smaller than
  2826. offsetof (struct datahead, data) + datalen.
  2827. * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype.
  2828. * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers.
  2829. * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
  2830. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  2831. * nscd/nscd_getai.c (__nscd_getai): Likewise.
  2832. * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
  2833. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
  2834. * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64):
  2835. Rename ...
  2836. (fallocate64): ... to this.
  2837. * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64):
  2838. Rename ...
  2839. (fallocate64): ... to this.
  2840. * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64.
  2841. * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add
  2842. fallocate64@@GLIBC_2.10.
  2843. * sysdeps/unix/sysv/linux/i386/Versions (libc): Add
  2844. fallocate64@@GLIBC_2.11.
  2845. * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise.
  2846. * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise.
  2847. * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise.
  2848. * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise.
  2849. * nscd/selinux.c (nscd_avc_destroy): Removed.
  2850. * nscd/selinux.h (nscd_avc_destroy): Likewise.
  2851. * nscd/nscd.c (termination_handler): Don't call
  2852. nscd_avc_destroy.
  2853. 2009-05-12 Jakub Jelinek <jakub@redhat.com>
  2854. * include/atomic.h: Formatting.
  2855. (catomic_compare_and_exchange_val_acq): Don't define if already
  2856. defined by bits/atomic.h.
  2857. 2009-05-15 Ulrich Drepper <drepper@redhat.com>
  2858. * math/libm-test.inc (expm1_test): Add test for range error.
  2859. * Versions.def: Add GLIBC_2.11 for libc.
  2860. * debug/Makefile (routines): Add longjmp_chk.
  2861. Add rules to build and run tst-longjmp_chk.
  2862. * debug/Versions: Export __longjmp_chk for GLIBC_2.11.
  2863. * debug/longjmp_chk.c: New file.
  2864. * debug/tst-longjmp_chk.c: New file.
  2865. * include/bits/setjmp2.: New file.
  2866. * include/stdio.h: Mark __fortify_fail as internal_function.
  2867. * setjmp/Makefile (headers): Add bits/setjmp2.h.
  2868. * setjmp/bits/setjmp2.h: New file.
  2869. * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any
  2870. of the aliases.
  2871. * setjmp/setjmp.h: Include <bits/setjmp2.h> if _FORTIFY_SOURCE is
  2872. defined.
  2873. * sysdeps/i386/____longjmp_chk.S: New file.
  2874. * sysdeps/x86_64/____longjmp_chk.S: New file.
  2875. * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it.
  2876. * sysdeps/x86_64/__longjmp.S: Likewise.
  2877. * version.h: Bump for 2.11 development.
  2878. * elf/check-execstack.c: New file.
  2879. * elf/Makefile: Add rules to build and run check-execstack.
  2880. 2009-05-10 Ulrich Drepper <drepper@redhat.com>
  2881. * version.h (VERSION): Bump to 2.10.1.
  2882. * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any
  2883. compatibility functions.
  2884. * nss/getXXent_r.c: Likewise.
  2885. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED.
  2886. * gshadow/getsgnam_r.c: Likewise.
  2887. * gshadow/Version: Remove duplicate entries.
  2888. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries
  2889. for recent processor.
  2890. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info):
  2891. Likewise.
  2892. 2009-05-09 Ulrich Drepper <drepper@redhat.com>
  2893. * version.h (VERSION): Bump for 2.10 release.
  2894. * include/features.h (__GLIBC_MINOR__): Bump to 10.
  2895. * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the
  2896. same place we add ASFLAGS-config.
  2897. 2009-05-05 Aurelien Jarno <aurelien@aurel32.net>
  2898. [BZ #10128]
  2899. * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP
  2900. or FORMERR and the other NOERROR, don't raise an error.
  2901. 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com>
  2902. [BZ #10118]
  2903. * Makeconfig (+asflags): New variable based upon ASFLAG or
  2904. asflags-cpu.
  2905. (ASFLAGS): Add override to set ASFLAGS to +asflags.
  2906. * config.make.in (asflags-cpu): Add variable based upon
  2907. @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to
  2908. the assembler.
  2909. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
  2910. Remove unneeded file now that the assembler emits _ARCH_PWR6 and
  2911. recognizes power6 instruction set due to passing -mcpu=power6 from
  2912. --with-cpu=power6 when compiling .S files.
  2913. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
  2914. Likewise.
  2915. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
  2916. Likewise.
  2917. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
  2918. Likewise.
  2919. 2009-05-09 Jakub Jelinek <jakub@redhat.com>
  2920. * string/stratcliff.c (do_test): Test for zero length
  2921. STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy
  2922. at the end of the page.
  2923. 2009-05-08 Ulrich Drepper <drepper@redhat.com>
  2924. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.
  2925. * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when
  2926. count is zero.
  2927. * po/da.po: Update from translation team.
  2928. 2009-05-05 Jakub Jelinek <jakub@redhat.com>
  2929. * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,
  2930. guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
  2931. 2009-05-05 Ulrich Drepper <drepper@redhat.com>
  2932. * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT
  2933. and READ_IMPLIES_EXEC.
  2934. 2009-05-04 Ulrich Drepper <drepper@redhat.com>
  2935. * po/da.po: Update from translation team.
  2936. 2009-04-29 Jakub Jelinek <jakub@redhat.com>
  2937. * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12
  2938. comment change.
  2939. 2009-04-27 Jakub Jelinek <jakub@redhat.com>
  2940. * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE
  2941. to MAP_ANON in PROT_NONE mmap64 call.
  2942. (open_archive): Likewise.
  2943. (file_data_available_p): Use mmap64 instead of mremap.
  2944. (enlarge_archive): Likewise. Update head if ah->addr changed.
  2945. Attempt to reserve address space after mmap64 region.
  2946. 2009-04-26 Ulrich Drepper <drepper@redhat.com>
  2947. * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.
  2948. * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
  2949. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
  2950. * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in
  2951. atanh should set ERANGE.
  2952. [BZ #10087]
  2953. * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access
  2954. result of lookup to make call to implement STT_GNU_IFUNC.
  2955. (_dl_profile_fixup): Likewise.
  2956. Patch by H.J. Lu <hjl.tools@gmail.com>.
  2957. * nscd/connections.c (send_ro_fd): Define temporary variable to avoid
  2958. warning.
  2959. * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline
  2960. from definition.
  2961. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define
  2962. label if it is not used.
  2963. * elf/dl-profile.c (_dl_start_profile): Define real-type variant
  2964. of gmon_hist_hdr and gmon_hdr structures and use them.
  2965. * elf/sprof.c: Likewise.
  2966. * elf/dl-load.c (open_verify): Add temporary variable to avoid
  2967. warning.
  2968. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings.
  2969. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition
  2970. to avoid cast.
  2971. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings.
  2972. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types
  2973. to avoid warnings.
  2974. (iruserok_af): Use ss_family instead of casts.
  2975. * gmon/gmon.c (write_hist): Define real-type variant of
  2976. gmon_hist_hdr structure and use it.
  2977. (write_gmon): Likewise for gmon_hdr.
  2978. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement
  2979. function if we are not going to define it.
  2980. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  2981. * inet/inet6_option.c (option_alloc): Add temporary variable to
  2982. avoid warning.
  2983. * libio/strfile.h (struct _IO_streambuf): Use correct type and
  2984. name of VTable element.
  2985. * libio/iovsprintf.c: Avoid casts to avoid warnings.
  2986. * libio/iovsscanf.c: Likewise.
  2987. * libio/vasprintf.c: Likewise.
  2988. * libio/vsnprintf.c: Likewise.
  2989. * stdio-common/isoc99_vsscanf.c: Likewise.
  2990. * stdlib/strfmon_l.c: Likewise.
  2991. * debug/vasprintf_chk.c: Likewise.
  2992. * debug/vsnprintf_chk.c: Likewise.
  2993. * debug/vsprintf_chk.c: Likewise.
  2994. * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached
  2995. function pointers.
  2996. 2009-04-26 Jakub Jelinek <jakub@redhat.com>
  2997. * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.
  2998. 2009-04-25 Ulrich Drepper <drepper@redhat.com>
  2999. * posix/bits/posix1_lim.h: Cleanup namespace a bit.
  3000. * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.
  3001. * sysdeps/i386/fpu/s_tanf.S: Likewise.
  3002. * sysdeps/i386/fpu/s_tanl.S: Likewise.
  3003. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
  3004. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
  3005. * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
  3006. * math/libm-test.inc: Add tests for errno after tan calls with
  3007. ±Inf.
  3008. * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct
  3009. errno value vor pow(+-0,neg).
  3010. * math/libm-test.inc (pow_test): Add tests for errno value for
  3011. pole errors.
  3012. * math/w_fmod.c: Also handle x=±Inf as error.
  3013. * math/w_fmodf.c: Likewise.
  3014. * math/w_fmodl.c: Likewise.
  3015. * math/libm-test.inc (fmod_test): Add tests for errno after calls for
  3016. x=±Inf or y=0.
  3017. * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.
  3018. * sysdeps/i386/fpu/s_cosf.S: Likewise.
  3019. * sysdeps/i386/fpu/s_cosl.S: Likewise.
  3020. * sysdeps/i386/fpu/s_sin.S: Likewise.
  3021. * sysdeps/i386/fpu/s_sinf.S: Likewise.
  3022. * sysdeps/i386/fpu/s_sinl.S: Likewise.
  3023. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
  3024. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
  3025. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
  3026. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
  3027. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
  3028. * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
  3029. * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
  3030. * math/libm-test.inc: Add tests for errno after sin/cos calls with
  3031. ±Inf.
  3032. * stdlib/strtod_l.c (round_and_return): We have to set errno to
  3033. ERANGE for underflows.
  3034. * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE.
  3035. * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since
  3036. the 2001 revision.
  3037. * libio/tst-widetext.input: Remove surrogates.
  3038. * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.
  3039. * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors
  3040. for lgamma should set errno to ERANGE, not EDOM.
  3041. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
  3042. 2009-04-24 Ulrich Drepper <drepper@redhat.com>
  3043. [BZ #10093]
  3044. * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept
  3045. UTF-16 surrogates.
  3046. * locale/programs/locarchive.c (enlarge_archive): Conserve address
  3047. space when temporarily mapping the whole content of the old file.
  3048. [BZ #10100]
  3049. * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is
  3050. not zero.
  3051. 2009-04-24 Jakub Jelinek <jakub@redhat.com>
  3052. * iconvdata/sjis.c (BODY): Don't advance inptr before
  3053. STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input.
  3054. Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for
  3055. two byte chars.
  3056. 2009-04-24 Ulrich Drepper <drepper@redhat.com>
  3057. * locale/locarchive.h (struct locarhandle): Rename len field to
  3058. mmaped and add new reserved field.
  3059. * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define.
  3060. (create_archive): Reserve address space and then map file into it.
  3061. (open_archive): Likewise.
  3062. (file_data_available_p): New function.
  3063. (compare_from_file): New function.
  3064. (close_archive): Adjust to member name changes.
  3065. (add_locale): Before comparing locale data, check it is mapped.
  3066. Otherwise fall back to reading from the file.
  3067. 2009-04-23 H.J. Lu <hongjiu.lu@intel.com>
  3068. * stdio-common/psiginfo.c: Include <errno.h>.
  3069. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
  3070. [BZ #9920]
  3071. * stdlib/random_r.c (__srandom_r): Change type of word to int32_t
  3072. to get consistency between 32 and 64 bit architectures.
  3073. [BZ #10052]
  3074. * sysdeps/unix/make-syscalls.sh: Add rule to create target
  3075. directory for dummy syscall rules.
  3076. Patch by Chris Steinbroner <hesh@pobox.com>.
  3077. 2009-04-23 Aurelien Jarno <aurelien@aurel32.net>
  3078. [BZ #10092]
  3079. * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
  3080. MNT_EXPIRE.
  3081. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
  3082. * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.
  3083. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
  3084. 2009-04-23 Jakub Jelinek <jakub@redhat.com>
  3085. * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy
  3086. data from vector to temporary buffer and call PWRITEV after it
  3087. instead of vice versa.
  3088. * sysdeps/posix/preadv.c: Fix up comment.
  3089. * misc/preadv.c: Likewise.
  3090. * misc/preadv64.c: Likewise.
  3091. * misc/pwritev.c: Likewise.
  3092. * misc/pwritev64.c: Likewise.
  3093. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise.
  3094. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
  3095. * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers.
  3096. * shadow/Makefile (tests): Add tst-shadow.
  3097. * shadow/tst-shadow.c: New file.
  3098. [BZ #9955]
  3099. * gshadow/Makefile: New file.
  3100. * gshadow/Versions: New file.
  3101. * gshadow/fgetsgent.c: New file.
  3102. * gshadow/fgetsgent_r.c: New file.
  3103. * gshadow/getsgent.c: New file.
  3104. * gshadow/getsgent_r.c: New file.
  3105. * gshadow/getsgnam.c: New file.
  3106. * gshadow/getsgnam_r.c: New file.
  3107. * gshadow/gshadow.h: New file.
  3108. * gshadow/putsgent.c: New file.
  3109. * gshadow/sgetsgent.c: New file.
  3110. * gshadow/sgetsgent_r.c: New file.
  3111. * gshadow/tst-gshadow.c: New file.
  3112. * include/gshadow.h: New file.
  3113. * Makeconfig (all-subdirs): Add gshadow.
  3114. * Makefile (installed-headers): Add gshadow/gshadow.h.
  3115. * nss/Makefile (databases): Add sgrp.
  3116. * nss/Versions: Add gshadow functions as private exports.
  3117. * nss/nsswitch.conf: Add gshadow entry.
  3118. * nss/sgrp-lookup.c: New file.
  3119. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite
  3120. parse_list to handle STRING_LIST and TRAILING_LIST_PARSER.
  3121. * nss/nss_files/files-sgrp.c: New file.
  3122. * sysdeps/generic/paths.h: Add _PATH_GSHADOW.
  3123. * sysdeps/unix/sysv/linux/paths.h: Likewise.
  3124. 2009-04-22 Ulrich Drepper <drepper@redhat.com>
  3125. * stdio-common/printf.h: Add missing const to register_printf_modifier.
  3126. * stdio-common/reg-modifier.c: Likewise.
  3127. 2009-04-22 Andrew Stubbs <ams@codesourcery.com>
  3128. * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there
  3129. is no FPU.
  3130. 2009-04-20 Ulrich Drepper <drepper@redhat.com>
  3131. [BZ #10086]
  3132. * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel
  3133. headers up to 2.6.30.
  3134. * po/ca.po: Update from translation team.
  3135. 2009-04-19 Ulrich Drepper <drepper@redhat.com>
  3136. [BZ #10069]
  3137. * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load
  3138. an object that uses static TLS if the TLS modid is higher than the
  3139. reserve we always allocate. At least for multi-threaded code.
  3140. 2009-04-18 Ulrich Drepper <drepper@redhat.com>
  3141. * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width.
  3142. Numerically stable check for valid width.
  3143. * locale/programs/locarchive.c (open_archive): Map the entire file
  3144. and not just the administrative data.
  3145. (add_locale): When we find a hash sum match compare the content
  3146. to be sure.
  3147. * malloc/malloc.c (malloc_info): Output address space information.
  3148. 2009-04-17 Ulrich Drepper <drepper@redhat.com>
  3149. * malloc/malloc.c (malloc_info): Also output system memory information.
  3150. * sysdeps/unix/sysv/linux/kernel-features.h: All supported
  3151. architectures have preadv/pwritev in 2.6.30.
  3152. * sysdeps/posix/preadv.c: Reading of zero bytes is no error.
  3153. * sysdeps/posix/readv.c: Likewise.
  3154. Reported by Markus Armbruster <armbru@redhat.com>.
  3155. * malloc/hooks.c (top_check): Force hook value into register.
  3156. 2009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
  3157. * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all
  3158. calls to _dl_relocate_object.
  3159. 2009-04-16 Ulrich Drepper <drepper@redhat.com>
  3160. [BZ #9957]
  3161. * malloc/malloc.c (force_reg): Define.
  3162. (sYSMALLOc): Load hook variable into variable
  3163. before test and force into register.
  3164. (sYSTRIm): Likewise.
  3165. (public_mALLOc): Force hook value into register.
  3166. (public_fREe): Likewise.
  3167. (public_rEALLOc): Likewise.
  3168. (public_mEMALIGn): Likewise.
  3169. (public_vALLOc): Likewise.
  3170. (public_pVALLOc): Likewise.
  3171. (public_cALLOc): Likewise.
  3172. (__posix_memalign): Likewise.
  3173. * malloc/arena.c (ptmalloc_init): Load hook variable into variable
  3174. before test and force into register.
  3175. * malloc/hooks.c (top_check): Likewise.
  3176. (public_sET_STATe): Pretty printing.
  3177. * resolv/res_send.c (send_dg): Don't just ignore the result we got
  3178. in case we only receive one reply in single-request mode.
  3179. 2009-04-16 Jakub Jelinek <jakub@redhat.com>
  3180. * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries
  3181. are dlopened in statically linked program even for __LM_ID_CALLER.
  3182. 2009-04-16 Ulrich Drepper <drepper@redhat.com>
  3183. * resolv/res_send.c (send_dg): Don't switch into single-request
  3184. mode if we already are in it.
  3185. 2009-04-15 Ulrich Drepper <drepper@redhat.com>
  3186. * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there
  3187. are always at least 4 bytes in the returned line.
  3188. 2009-04-15 Jakub Jelinek <jakub@redhat.com>
  3189. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check
  3190. __libc_use_alloca (8192), if the stack is too small use 512 bytes
  3191. instead of 8K. Stop searching in /proc/stat after hitting first
  3192. line not starting with cpu.
  3193. (next_line): Truncate too long
  3194. lines at buffer size * 3/4 instead of pretending there were line
  3195. breaks inside of large lines.
  3196. 2009-04-14 Ulrich Drepper <drepper@redhat.com>
  3197. * sysdeps/x86_64/mp_clz_tab.c: New file.
  3198. 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com>
  3199. Ulrich Drepper <drepper@redhat.com>
  3200. * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers.
  3201. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
  3202. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
  3203. 2009-03-25 Andrew Stubbs <ams@codesourcery.com>
  3204. * sysdeps/sh/libc-tls.c: New file.
  3205. * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type.
  3206. 2009-04-14 Roland McGrath <roland@redhat.com>
  3207. * elf/elf.h: Add various missing ARM constants, to match binutils.
  3208. 2009-04-14 Ulrich Drepper <drepper@redhat.com>
  3209. Optimizations from GMP.
  3210. * sysdeps/x86_64/add_n.S: New file.
  3211. * sysdeps/x86_64/addmul_1.S: New file.
  3212. * sysdeps/x86_64/lshift.S: New file.
  3213. * sysdeps/x86_64/mul_1.S: New file.
  3214. * sysdeps/x86_64/rshift.S: New file.
  3215. * sysdeps/x86_64/sub_n.S: New file.
  3216. * sysdeps/x86_64/submul_1.S: New file.
  3217. 2009-04-14 Jakub Jelinek <jakub@redhat.com>
  3218. * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty.
  3219. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
  3220. * sysdeps/sparc/sparc32/elf/start.S: Likewise.
  3221. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  3222. 2009-04-14 Ulrich Drepper <drepper@redhat.com>
  3223. * sysdeps/unix/sysv/linux/kernel-features.h: SH also has
  3224. preadv/pwritev.
  3225. 2009-04-13 Ulrich Drepper <drepper@redhat.com>
  3226. * sysdeps/x86-64/strrchr.S: New file.
  3227. 2009-04-10 Ulrich Drepper <drepper@redhat.com>
  3228. * stdio-common/printf.h (struct printf_info): Add user element.
  3229. New types printf_arginfo_size_function, printf_va_arg_function.
  3230. Declare register_printf_specifier, register_printf_modifier,
  3231. register_printf_type.
  3232. * stdio-common/printf-parse.h (struct printf_spec): Add size element.
  3233. (union printf_arg): Add pa_user element.
  3234. Adjust __printf_arginfo_table type.
  3235. Add __printf_va_arg_table, __printf_modifier_table,
  3236. __handle_registered_modifier_mb, and __handle_registered_modifier_wc
  3237. declarations.
  3238. * stdio-common/printf-parsemb.c: Recognize registered modifiers.
  3239. If registered arginfo call failed try normal specifier.
  3240. * stdio-common/printf-prs.c: Pass additional parameter to arginfo
  3241. function.
  3242. * stdio-common/Makefile (routines): Add reg-modifier and reg-type.
  3243. * stdio-common/Versions: Export register_printf_modifier,
  3244. register_printf_type, and register_printf_specifier for GLIBC_2.10.
  3245. * stdio-common/reg-modifier.c: New file.
  3246. * stdio-common/reg-type.c: New file.
  3247. * stdio-common/reg-printf.c (__register_printf_specifier): New
  3248. function. Mostly the old __register_printf_function function but
  3249. uses locking and type of third parameter changed.
  3250. (__register_printf_function): Implement using
  3251. __register_printf_specifier.
  3252. * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in
  3253. calls to arginfo functions. Allocate enough memory for user-defined
  3254. types. Call new va_arg functions to get user-defined types.
  3255. Try installed handlers even for existing format specifiers first.
  3256. 2009-04-09 Ulrich Drepper <drepper@redhat.com>
  3257. * sysdeps/x86_64/rawmemchr.S: New file.
  3258. * stdio-common/vfprintf.c (vfprintf): Slightly more compact code.
  3259. Simplified code and possible copy problem fixed.
  3260. * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static
  3261. function if it is not defined. Add some necessary casts.
  3262. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
  3263. * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
  3264. have preadv/pwritev in 2.6.30.
  3265. 2009-04-08 Ulrich Drepper <drepper@redhat.com>
  3266. * malloc/malloc.c (malloc_info): New function.
  3267. * malloc/malloc.h: Declare it.
  3268. * malloc/Versions: Export malloc_info for GLIBC_2.10.
  3269. * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64
  3270. to avoid PLT slot.
  3271. * malloc/malloc.c (_int_realloc): Add parameter with old block
  3272. size. Remove duplicated test. Don't handle mmap'ed blocks here.
  3273. Adjust all callers.
  3274. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
  3275. 2009-04-07 Ulrich Drepper <drepper@redhat.com>
  3276. * sysdeps/x86_64/strchrnul.S: New file.
  3277. * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of
  3278. depending libcrypt on -lfreebl3.
  3279. * sysdeps/unix/sysv/linux/kernel-features.h: Power also has
  3280. preadv/pwritev in 2.6.30.
  3281. * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
  3282. instead of __strcasecmp.
  3283. * string/stratcliff.c (do_test): Add memchr tests..
  3284. * wcsmbs/wcsatcliff.c (MEMCHR): Define.
  3285. * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after
  3286. first read quad word.
  3287. 2009-04-06 Ulrich Drepper <drepper@redhat.com>
  3288. * string/strverscmp.c (__strverscmp): Fix last cleanups.
  3289. * string/tst-svc.input: Add new test case.
  3290. * string/tst-svc.expect: Adjust.
  3291. * string/Makefile: Don't ignore tst-svc error.
  3292. * sysdeps/x86_64/memchr.S: New file.
  3293. * resolv/resolv.h (RES_SNGLKUP): Define.
  3294. * resolv/res_init.c (res_setoptions): Recognize single-request option.
  3295. * resolv/res_send.c (send_dg): If we sent two requests at once and
  3296. only get one reply before timeout switch to mode where we send the
  3297. second request only after the first answer has been received.
  3298. 2009-04-05 Ulrich Drepper <drepper@redhat.com>
  3299. * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.
  3300. * sysdeps/x86_64/strchr.S: Likewise.
  3301. 2009-04-03 Ulrich Drepper <drepper@redhat.com>
  3302. * configure.in: We need to test for the compiler earlier.
  3303. * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
  3304. * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
  3305. GLIBC_2.10.
  3306. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64.
  3307. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv
  3308. and pwritev.
  3309. * misc/preadv.c: New file.
  3310. * misc/preadv64.c: New file.
  3311. * misc/pwritev.c: New file.
  3312. * misc/pwritev64.c: New file.
  3313. * sysdeps/posx/preadv.c: New file.
  3314. * sysdeps/posx/preadv64.c: New file.
  3315. * sysdeps/posx/pwritev.c: New file.
  3316. * sysdeps/posx/pwritev64.c: New file.
  3317. * sysdeps/unix/sysv/linux/preadv.c: New file.
  3318. * sysdeps/unix/sysv/linux/preadv64.c: New file.
  3319. * sysdeps/unix/sysv/linux/pwritev.c: New file.
  3320. * sysdeps/unix/sysv/linux/pwritev64.c: New file.
  3321. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file.
  3322. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
  3323. * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of
  3324. compatibility code.
  3325. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
  3326. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  3327. __ASSUME_COMPLETE_READV_WRITEV.
  3328. * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback
  3329. with modern kernels.
  3330. * sysdeps/unix/sysv/linux/writev.c: Likewise.
  3331. * sysdeps/posix/readv.c: Since read is a cancellation point we have
  3332. to free a possible malloced buffer in case of cancellation.
  3333. * sysdeps/posix/writev.c: Likewise for write.
  3334. 2009-04-02 Ulrich Drepper <drepper@redhat.com>
  3335. * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
  3336. * configure.in: Recognize --enable-nss-crypt.
  3337. * config.make.in: Add nss-crypt entry.
  3338. * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c,
  3339. sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS
  3340. and include path for NSS directory to compiler for md5-crypt,
  3341. sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3.
  3342. * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash
  3343. function implementation, use NSS. Introduce wrappers around the
  3344. hash function calls. Little code size optimization.
  3345. * crypt/sha256-crypt.c: Likewise.
  3346. * crypt/sha512-crypt.c: Likewise.
  3347. * scripts/check-local-headers.sh: Ignore nss3 directory.
  3348. * configure.in: Rename pic_default to libc_cv_pic_default.
  3349. * config.make.in: Likewise.
  3350. 2009-04-01 Roland McGrath <roland@redhat.com>
  3351. * elf/elf.h (R_SPARC_GLOB_JMP): New macro.
  3352. (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros.
  3353. (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise.
  3354. (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise.
  3355. (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise.
  3356. (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise.
  3357. (R_SPARC_NUM): Update.
  3358. From Dave Miller <davem@davemloft.net>.
  3359. 2009-04-01 Ulrich Drepper <drepper@redhat.com>
  3360. * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
  3361. 2009-03-31 Ulrich Drepper <drepper@redhat.com>
  3362. * elf/dl-open.c: Keep track of used name spaces and only iterate over
  3363. those which are used.
  3364. * elf/dl-addr.c: Likewise.
  3365. * elf/dl-caller.c: Likewise.
  3366. * elf/dl-fini.c: Likewise.
  3367. * elf/dl-iteratephdr.c: Likewise.
  3368. * elf/dl-libc.c: Likewise.
  3369. * elf/dl-load.c: Likewise.
  3370. * elf/dl-support.c: Likewise.
  3371. * elf/dl-sym.c: Likewise.
  3372. * elf/rtld.c: Likewise.
  3373. * sysdeps/generic/ldsodefs.h: Likewise.
  3374. * elf/dl-load.c: Remove support for systems without MAP_ANON.
  3375. * elf/dl-minimal.c: Likewise.
  3376. * elf/dl-misc.c: Likewise.
  3377. * elf/rtld.c: Likewise.
  3378. * sysdeps/generic/ldsodefs.h: Likewise.
  3379. 2009-03-30 Ulrich Drepper <drepper@redhat.com>
  3380. * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup.
  3381. Avoid reuse of complex expression.
  3382. * po/fr.po: Update from translation team.
  3383. 2009-03-16 Ulrich Drepper <drepper@redhat.com>
  3384. * include/dirent.h: Yet more changes to match sort function type
  3385. change.
  3386. * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise.
  3387. * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
  3388. * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
  3389. 2009-03-16 Thomas Schwinge <tschwinge@gnu.org>
  3390. * dirent/scandir64.c (scandir64): Adjust declaration to type change.
  3391. 2009-03-16 Ulrich Drepper <drepper@redhat.com>
  3392. * nscd/connections.c (restart): Try to preserve the process name
  3393. by reading the /proc/self/exe symlink and using the return name.
  3394. Patch by Jeff Bastian <jbastian@redhat.com>.
  3395. 2009-03-15 Ulrich Drepper <drepper@redhat.com>
  3396. [BZ #9733]
  3397. * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks
  3398. if we are not loading a new audit library.
  3399. * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask.
  3400. Only use profiling trampoline for auditing if we are not relocating
  3401. an audit library.
  3402. * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call.
  3403. * elf/rtld.c: Likewise.
  3404. * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype.
  3405. * elf/rtld.c (dl_main): Extend help message for --audit option.
  3406. [BZ #9759]
  3407. * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort,
  3408. alphasort64, versionsort, and versionsort64 to POSIX 2008.
  3409. * dirent/alphasort.c: Adjust implementation to type change.
  3410. * dirent/alphasort64.c: Likewise.
  3411. * dirent/scandir.c: Likewise.
  3412. * dirent/versionsort.c: Likewise.
  3413. * dirent/versionsort64.c: Likewise.
  3414. * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64
  3415. declaration.
  3416. * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64
  3417. declaration.
  3418. [BZ #9880]
  3419. * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments
  3420. correctly. Set segleft member in output as required.
  3421. Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>.
  3422. * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse.
  3423. [BZ #9881]
  3424. * inet/inet6_rth.c (inet6_rth_add): Add some error checking.
  3425. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
  3426. * inet/Makefile (tests): Add tst-inet6_rth.
  3427. * inet/tst-inet6_rth.c: New file.
  3428. [BZ #5807]
  3429. * string/strlen.c (strlen): Fix omission in the expression to test
  3430. for NUL bytes.
  3431. 2009-03-14 Ulrich Drepper <drepper@redhat.com>
  3432. * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way.
  3433. * elf/dl-runtime.c (reloc_offset): Define.
  3434. (reloc_index): Define.
  3435. (_dl_fixup): Rename reloc_offset parameter to reloc_arg.
  3436. (_dl_fixup_profile): Likewise. Use reloc_index instead of
  3437. computing index from reloc_offset.
  3438. (_dl_call_pltexit): Likewise.
  3439. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass
  3440. the relocation index to _dl_fixup.
  3441. (_dl_runtime_profile): Likewise for _dl_fixup_profile and
  3442. _dl_call_pltexit.
  3443. * sysdeps/x86_64/dl-runtime.c: New file.
  3444. [BZ #9893]
  3445. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
  3446. alignment of La_x86_64_regs. Store xmm parameters.
  3447. Patch mostly by Jiri Olsa <olsajiri@gmail.com>.
  3448. [BZ #9913]
  3449. * string/strverscmp.c (__strverscmp): Fix case of different digits
  3450. in fractional part of string.
  3451. Patch by Jingyu Liu <jyliu@fortinet.com>.
  3452. * string/Makefile (tests): Add tst-svc2.
  3453. * string/tst-svc2.c: New file.
  3454. * string/strverscmp.c (__strverscmp): Optimize size of tables.
  3455. * locale/iso-639.def: Add Min Nan.
  3456. 2009-03-11 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  3457. [BZ #9948]
  3458. * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.
  3459. 2009-03-14 Ulrich Drepper <drepper@redhat.com>
  3460. * elf/dl-sysdep.c (auxvars): Compress data structure.
  3461. * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement
  3462. STT_GNU_IFUNC handling.
  3463. (elf_machine_rela): Likewise.
  3464. 2009-03-13 Ulrich Drepper <drepper@redhat.com>
  3465. * config.h.in (USE_MULTIARCH): Define.
  3466. * configure.in: Handle --enable-multi-arch.
  3467. * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC.
  3468. (_dl_fixup_profile): Likewise.
  3469. * elf/do-lookup.c (dl_lookup_x): Likewise.
  3470. * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC.
  3471. * elf/elf.h (STT_GNU_IFUNC): Define.
  3472. * include/libc-symbols.h (libc_ifunc): Define.
  3473. * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the
  3474. framework in init-arch.h to get CPUID values.
  3475. * sysdeps/x86_64/multiarch/Makefile: New file.
  3476. * sysdeps/x86_64/multiarch/init-arch.c: New file.
  3477. * sysdeps/x86_64/multiarch/init-arch.h: New file.
  3478. * sysdeps/x86_64/multiarch/sched_cpucount.c: New file.
  3479. * config.make.in (experimental-malloc): Define.
  3480. * configure.in: Handle --enable-experimental-malloc.
  3481. * malloc/Makefile: Handle experimental-malloc flag.
  3482. * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features.
  3483. * malloc/arena.c: Likewise.
  3484. * malloc/hooks.c: Likewise.
  3485. * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
  3486. 2009-03-11 Ulrich Drepper <drepper@redhat.com>
  3487. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch
  3488. prediction. A few size optimizations.
  3489. 2009-03-10 Ulrich Drepper <drepper@redhat.com>
  3490. * time/tzset.c: Optimize a bit for size.
  3491. 2009-03-10 Jakub Jelinek <jakub@redhat.com>
  3492. * include/stdio.h (fmemopen): Add libc_hidden_proto.
  3493. * libio/fmemopen.c (fmemopen): Add libc_hidden_def.
  3494. * elf/sprof.c: Avoid warning about multi-line comment.
  3495. 2009-03-10 Ulrich Drepper <drepper@redhat.com>
  3496. * time/tzset.c (__tzset_parse_tz): Use correct string when parsing
  3497. DST name.
  3498. * time/tst-posixtz.c: Add tests for quoted timezone names.
  3499. 2009-03-10 Jakub Jelinek <jakub@redhat.com>
  3500. * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,
  3501. _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to
  3502. 200809L instead of 200112L.
  3503. (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700.
  3504. * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L.
  3505. * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs
  3506. instead of __quick_exit_funcs to __run_exit_handlers.
  3507. * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden.
  3508. * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute.
  3509. (__cxa_at_quick_exit): Remove attribute_hidden.
  3510. * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs
  3511. to __run_exit_handlers.
  3512. * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove
  3513. attribute_hidden.
  3514. 2009-03-10 Ulrich Drepper <drepper@redhat.com>
  3515. * po/id.po: Update from translation team.
  3516. 2009-02-18 Jakub Jelinek <jakub@redhat.com>
  3517. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use
  3518. .machine push; .machine "power6" and .machine pop around mtfsf
  3519. insns outside of _ARCH_PWR6 define.
  3520. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
  3521. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
  3522. Likewise.
  3523. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
  3524. Likewise.
  3525. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise.
  3526. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register,
  3527. relax_fenv_state): Likewise.
  3528. 2009-03-08 Ulrich Drepper <drepper@redhat.com>
  3529. * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and
  3530. cxa_at_quick_exit.
  3531. (static-only-routines): Add at_quick_exit.
  3532. * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for
  3533. GLIBC_2.10.
  3534. * stdlib/quick_exit.c: New file.
  3535. * stdlib/at_quick_exit.c: New file.
  3536. * stdlib/cxa_at_quick_exit.c: New file.
  3537. * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call
  3538. it appropriately.
  3539. (__internal_atexit): New function.
  3540. (__new_exitfn): Now takes parameter to point to the list to use.
  3541. * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them.
  3542. * stdlib/exit.c (__run_exit_handlers): New function. Split from...
  3543. (exit): ...here. Just call __run_exit_handlers appropriately.
  3544. * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers,
  3545. __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn.
  3546. * stdlib/on_exit.c: Adjust call to __new_exitfn.
  3547. * stdlib/stdlib.h: Declare at_quick_exit and quick_exit.
  3548. * po/id.po: Update from translation team.
  3549. 2009-03-07 Ulrich Drepper <drepper@redhat.com>
  3550. * po/ru.po: Update from translation team.
  3551. 2009-03-04 Ulrich Drepper <drepper@redhat.com>
  3552. * po/nl.po: Update from translation team.
  3553. 2009-03-03 Ulrich Drepper <drepper@redhat.com>
  3554. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.
  3555. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  3556. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  3557. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  3558. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  3559. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  3560. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  3561. * po/pl.po: Update from translation team.
  3562. 2009-03-02 Ulrich Drepper <drepper@redhat.com>
  3563. [BZ #7083]
  3564. * sysdeps/unix/sysv/linux/fallocate.c: New file.
  3565. * sysdeps/unix/sysv/linux/fallocate64.c: New file.
  3566. * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file.
  3567. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file.
  3568. * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file.
  3569. * sysdeps/unix/sysv/linux/i386/fallocate.c: New file.
  3570. * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64
  3571. for GLIBC_2.10.
  3572. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  3573. Add fallocate and fallocate64.
  3574. * io/fcntl.h: Pretty printing.
  3575. 2009-03-02 Richard Guenther <rguenther@suse.de>
  3576. * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__
  3577. attribute also for non-C99 inline semantics variant.
  3578. 2009-02-12 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  3579. * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.
  3580. * sysdeps/powerpc/powerpc32/power7/Implies: Likewise.
  3581. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
  3582. * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
  3583. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies:
  3584. Likewise.
  3585. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies:
  3586. Likewise.
  3587. 2009-03-02 Ulrich Drepper <drepper@redhat.com>
  3588. * po/cs.po: Update from translation team.
  3589. 2009-02-28 Ulrich Drepper <drepper@redhat.com>
  3590. * po/bg.po: Update from translation team.
  3591. * po/sv.po: Likewise.
  3592. * po/fi.po: Likewise.
  3593. * po/vi.po: Likewise.
  3594. 2009-02-27 Roland McGrath <roland@redhat.com>
  3595. * Makeconfig (%.v.i): Depend on Makeconfig.
  3596. Exclude % lines from initial #-comment removal.
  3597. 2009-02-27 Ulrich Drepper <drepper@redhat.com>
  3598. * po/ko.po: Update from translation team.
  3599. 2009-02-26 Roland McGrath <roland@redhat.com>
  3600. * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it,
  3601. avoids unused warning.
  3602. 2009-02-26 Andrew Stubbs <ams@codesourcery.com>
  3603. SUGIOKA Toshinobu <sugioka@itonet.co.jp>
  3604. * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h,
  3605. sys/ucontext.h and asm/elf.h. Include sys/user.h.
  3606. * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h
  3607. and asm/user.h. Include asm/ptrace.h.
  3608. (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
  3609. PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC,
  3610. PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS):
  3611. Undefine.
  3612. (start_thread): Don't undefine.
  3613. (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user):
  3614. Define.
  3615. 2009-02-26 Ulrich Drepper <drepper@redhat.com>
  3616. * wctype/wctype.h: The *_l functions are in POSIX 2008.
  3617. * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy,
  3618. wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs,
  3619. wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l.
  3620. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from
  3621. 200112L to 200809L.
  3622. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
  3623. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and
  3624. _SC_THREAD_ROBUST_PRIO_PROTECT entries.
  3625. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and
  3626. _SC_THREAD_ROBUST_PRIO_PROTECT.
  3627. * posix/unistd.h: fexecve is in POSIX 2008.
  3628. * time/time.h: strftime_l is in POSIX 2008.
  3629. * io/sys/stat.h: futimens is in POSIX 2008.
  3630. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008.
  3631. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal,
  3632. strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008.
  3633. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
  3634. * libio/stdio.h: dprintf, fmemopen, getdelim, getline,
  3635. open_memstream, and vdprintf are in POSIX 2008.
  3636. 2009-02-25 Ulrich Drepper <drepper@redhat.com>
  3637. * include/features.h: Define macros for XPG7/POSIX 2008.
  3638. * ctype/ctype.h: The *_l functions are in POSIX 2008.
  3639. * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in
  3640. POSIX 2008.
  3641. * locale/langinfo.h: nl_langinfo_l is in POSIX 2008.
  3642. * locale/xlocale.h: Define locale_t type.
  3643. * locale/locale.h: duplocale, freelocale, newlocale, uselocale are
  3644. in POSIX 2008. Don't define locale_t here.
  3645. * stdlib/monetary.h: strfmon_l is in POSIX 2008.
  3646. * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and
  3647. UTIME_OMIT only with __USE_ATFILE.
  3648. * signal/signal.h: Declare psignal and psiginfo for POSIX 2008.
  3649. * stdio-common/psiginfo.c: New file.
  3650. * stdio-common/psiginfo-data.h: New file.
  3651. * stdio-common/psiginfo-define.h: New file.
  3652. * stdio-common/Makefile (routines): Add psiginfo.
  3653. * stdio-common/Versions: Export psiginfo for GLIBC_2.10.
  3654. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  3655. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
  3656. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  3657. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  3658. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  3659. * io/sys/stat.h: Move mknodat definition into same conditional as
  3660. mknod.
  3661. * time/sys/time.h: futimesat is not among the functions accepted
  3662. into the POSIX standard.
  3663. * include/features.h: If no feature selection given and we select
  3664. by default a POSIX mode, also define __USE_POSIX_IMPLICITLY.
  3665. * posix/Versions: Export __posix_getopt.
  3666. * posix/getopt.c (_getopt_initialize): Take additional parameter.
  3667. Use it to alternatively initialize __posixly_correct.
  3668. (_getopt_internal_r): Take addition parameter. Pass on to
  3669. _getopt_initialize.
  3670. (_getopt_internal): Take addition parameter. Pass on to
  3671. _getopt_internal_r.
  3672. (getopt): Pass additional zero to _getopt_internal.
  3673. (__posix_getopt): New function.
  3674. * posix/getopt.h: Add redirection for getopt.
  3675. * posix/getopt1.c (getopt_long): Pass additional zero to
  3676. _getopt_internal.
  3677. (getopt_long_only): Likewise.
  3678. (_getopt_long_r): Pass additional zero to _getopt_internal_r.
  3679. (_getopt_long_only_r): Likewise.
  3680. * posix/getopt_int.h: Adjust declarations of _getopt_internal and
  3681. _getopt_internal_r.
  3682. 2009-02-24 Ulrich Drepper <drepper@redhat.com>
  3683. * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX,
  3684. _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
  3685. * sysdeps/posix/sysconf.c (__sysconf): Handle
  3686. _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX,
  3687. _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
  3688. 2009-02-24 Roland McGrath <roland@redhat.com>
  3689. [BZ #9895]
  3690. * README.template: Reworded not to use substituted version number.
  3691. Renamed to ...
  3692. * README: ... here (no longer generated).
  3693. * Makefile (README): Target removed.
  3694. 2009-02-24 Ulrich Drepper <drepper@redhat.com>
  3695. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf):
  3696. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
  3697. instead.
  3698. * io/sys/stat.h: The lstat functions have been mandatory since 2001.
  3699. * time/tzset.c (tzset_internal): Correct parsing of TZ envvar.
  3700. 2009-02-22 Ulrich Drepper <drepper@redhat.com>
  3701. * po/bg.po: Update from translation team.
  3702. 2009-02-16 Jakub Jelinek <jakub@redhat.com>
  3703. * stdlib/monetary.h: Uglify function parameter names.
  3704. * sunrpc/rpc/pmap_clnt.h: Likewise.
  3705. * sunrpc/rpc/svc.h: Likewise.
  3706. * sunrpc/rpc/xdr.h: Likewise.
  3707. * sunrpc/rpc/clnt.h: Likewise.
  3708. * resolv/netdb.h: Likewise.
  3709. * resolv/arpa/nameser.h: Likewise.
  3710. * resolv/resolv.h: Likewise.
  3711. * argp/argp.h: Likewise.
  3712. * locale/langinfo.h: Likewise.
  3713. * io/sys/stat.h: Likewise.
  3714. * posix/spawn.h: Likewise.
  3715. * nis/rpcsvc/nislib.h: Likewise.
  3716. * malloc/obstack.h: Likewise.
  3717. * sysdeps/ia64/bits/link.h: Likewise.
  3718. * sysdeps/i386/bits/link.h: Likewise.
  3719. * sysdeps/s390/bits/link.h: Likewise.
  3720. * sysdeps/powerpc/bits/link.h: Likewise.
  3721. * sysdeps/x86_64/bits/link.h: Likewise.
  3722. * sysdeps/sparc/bits/link.h: Likewise.
  3723. * sysdeps/sh/bits/link.h: Likewise.
  3724. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
  3725. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
  3726. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
  3727. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
  3728. 2008-12-01 Fredrik Unger <fred@tree.se>
  3729. * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,
  3730. FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of
  3731. _FP_UNPACK_RAW_2, fix up first argument.
  3732. 2009-02-15 Ulrich Drepper <drepper@redhat.com>
  3733. * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.
  3734. (GET_NPROCS_PARSER): Change parameters and use next_line.
  3735. (__get_nprocs): Rewrite to not use stdio routines.
  3736. * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER):
  3737. Change parameters and use next_line.
  3738. 2009-02-13 Ulrich Drepper <drepper@redhat.com>
  3739. [BZ #5381]
  3740. * nscd/nscd.h: Remove definitions and declarations for mem_in_flight.
  3741. Change mempool_alloc prototype.
  3742. * nscd/mem.c (gc): Don't handle mem_in_flight.
  3743. (mempool_alloc): Third parameter now only indicates whether this is the
  3744. first call (to allocate data) or not. If it is, get db rdlock.
  3745. Release it on error. Don't handle mem_in_flight.
  3746. * nscd/aicache.c (addhstaiX): Mark he parameter as const.
  3747. Adjust third parameter of mempool_alloc calls.
  3748. Nothing to do here in case mempool_alloc fails.
  3749. Avoid local variable shadowing parameter. No need to get db rdlock
  3750. before calling cache_add.
  3751. * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is
  3752. no mem_in_flight array anymore.
  3753. * nscd/connections.c: Remove definition and handling of mem_in_flight.
  3754. * nscd/grpcache.c (cache_addgr): Adjust third parameter of
  3755. mempool_alloc calls. Mark he parameter as const. Nothing to do here
  3756. in case mempool_alloc fails. No need to get db rdlock before calling
  3757. cache_add.
  3758. * nscd/hstcache.c (cache_addhst): Likewise.
  3759. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  3760. * nscd/servicescache.c (cache_addserv): Likewise.
  3761. * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code.
  3762. 2009-02-11 Ulrich Drepper <drepper@redhat.com>
  3763. * po/lt.po: Update from translation team.
  3764. 2009-02-10 Ulrich Drepper <drepper@redhat.com>
  3765. * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is
  3766. defined, allow additional data to be added using the optional
  3767. MORE_ELF_HEADER_DATA macro.
  3768. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER,
  3769. VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define.
  3770. 2009-02-08 Ulrich Drepper <drepper@redhat.com>
  3771. * include/atomic.h: Define catomic_and if not already defined.
  3772. * sysdeps/x86_64/bits/atomic.h: Define catomic_and.
  3773. * sysdeps/i386/i486/bits/atomic.h: Likewise.
  3774. 2009-02-07 Ulrich Drepper <drepper@redhat.com>
  3775. * malloc/malloc.c (_int_free): Second argument is now mchunkptr.
  3776. Change all callers.
  3777. (_int_realloc): Likewise. Third argument is now padded size
  3778. All _int_* functions are now static.
  3779. * malloc/hooks.c: Change all callers to _int_free and _int_realloc.
  3780. * malloc/arena.c: Likewise.
  3781. * include/malloc.h: Remove now unnecessary declarations of the _int_*
  3782. functions.
  3783. * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that
  3784. easily.
  3785. * malloc/malloc.c: Add branch prediction for use of the hooks.
  3786. * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
  3787. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
  3788. [BZ #7095]
  3789. * bits/confname.h: Add SUSv7 macros for getconf environments.
  3790. * bits/environments.h: Likewise.
  3791. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise.
  3792. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise.
  3793. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise.
  3794. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise.
  3795. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise.
  3796. * posix/confstr.c: Handle SUSv5 and SUSv7 environments.
  3797. * posix/getconf.c: Likewise.
  3798. * posix/sysconf.c: Likewise.
  3799. * sysdeps/posix/sysconf.c: Likewise.
  3800. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7
  3801. environments.
  3802. 2009-01-16 Petr Baudiš <pasky@suse.cz>
  3803. [BZ #9753]
  3804. * resolv/res_libc.c (__res_maybe_init): Call __res_vinit()
  3805. even if we currently have zero nscount.
  3806. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
  3807. [BZ #9781]
  3808. * grp/compat-initgroups.c (compat_call): Switch to use malloc when
  3809. the input line is too long.
  3810. * po/Makefile (libc.pot): Add f_print as function taking c-format
  3811. parameter.
  3812. * debug/xtrace.sh: Unify translatable messages.
  3813. * elf/ldd.bash.in: Likewise.
  3814. * elf/sprof.c: Likewise.
  3815. * locale/programs/locale.c: Likewise.
  3816. * malloc/memusage.sh: Likewise.
  3817. * nss/getent.c: Likewise.
  3818. 2009-02-06 Joseph Myers <joseph@codesourcery.com>
  3819. * debug/pcprofiledump.c (print_version,
  3820. argp_program_version_hook): New function.
  3821. * elf/ldconfig.c (more_help): New function.
  3822. (argp): Use it.
  3823. * elf/sln.c (usage): New function.
  3824. (main): Support --help and --version.
  3825. * malloc/memusagestat.c (print_version): New function.
  3826. (argp_program_version_hook): New variable.
  3827. * nscd/nscd.c (more_help): New function.
  3828. (argp): Use it.
  3829. * posix/getconf.c (main): Send --version output to stdout.
  3830. Support --help.
  3831. * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS
  3832. arguments. All callers changed.
  3833. (print_version): New function.
  3834. (parseargs): Support --help and --version.
  3835. * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers
  3836. changed.
  3837. (print_version): New function.
  3838. (main): Use getopt_long. Support --help and --version.
  3839. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and
  3840. --version.
  3841. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
  3842. * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
  3843. (update_data): Fix handling of wrapping back
  3844. to the beginning of the buffer.
  3845. [BZ #9823]
  3846. * stdio-common/psignal.c (psignal): Fix test for empty string.
  3847. 2009-02-05 Ulrich Drepper <drepper@redhat.com>
  3848. * include/rpc/auth.h: Use libc_hidden_proto for _null_auth.
  3849. * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also
  3850. move _null_auth to .rodata.
  3851. * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour
  3852. value of 24.
  3853. * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.
  3854. * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory
  3855. today than when the original code was written. Use larger
  3856. buffers. This also makes it unnecessary to have stat information,
  3857. if this causes extra efforts.
  3858. (__opendir): In case O_DIRECTORY works, don't call fstat just for
  3859. __alloc_dir.
  3860. 2009-02-03 Andrew Stubbs <ams@codesourcery.com>
  3861. * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__
  3862. is set.
  3863. * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU.
  3864. * sysdeps/sh/sh4/__longjmp.S: Likewise.
  3865. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise.
  3866. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
  3867. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
  3868. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
  3869. 2009-02-04 Ulrich Drepper <drepper@redhat.com>
  3870. * po/ru.po: Update from translation team.
  3871. 2008-11-17 Nathan Sidwell <nathan@codesourcery.com>
  3872. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):
  3873. Add _tid slot to maintain consistency with kernel.
  3874. 2009-02-04 Ulrich Drepper <drepper@redhat.com>
  3875. * libio/wfileops.c (_IO_wfile_underflow): Fix handling of
  3876. incomplete characters at end of input buffer.
  3877. * libio/Makefile (tests): Add tst-fgetwc.
  3878. * libio/tst-fgetwc.c: New file.
  3879. * libio/tst-fgetwc.input: New file.
  3880. 2009-02-02 Andrew Stubbs <ams@codesourcery.com>
  3881. * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.
  3882. 2009-02-02 Ulrich Drepper <drepper@redhat.com>
  3883. [BZ #9793]
  3884. * iconv/gconv_trans.c (__gconv_transliterate): Don't change
  3885. *OUTBUFSTART unless the whole output fit into the buffer.
  3886. * iconv/Makefile (tests): Add tst-iconv4.
  3887. * iconv/tst-iconv4.c: New file.
  3888. 2009-02-01 Ulrich Drepper <drepper@redhat.com>
  3889. * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.
  3890. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
  3891. 2009-01-29 Andrew Stubbs <ams@codesourcery.com>
  3892. * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
  3893. newer linker scripts.
  3894. 2009-01-30 Ulrich Drepper <drepper@redhat.com>
  3895. [BZ #7040]
  3896. * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of
  3897. inotify_rm_watch should have type int.
  3898. 2009-01-06 Steven Munroe <sjmunroe@us.ibm.com>
  3899. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
  3900. Make aligned_restore_vmx a local symbol.
  3901. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
  3902. Likewise.
  3903. 2009-01-30 Andreas Jaeger <aj@suse.de>
  3904. * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define.
  3905. * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define.
  3906. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define.
  3907. * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define.
  3908. * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define.
  3909. * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define.
  3910. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.
  3911. 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com>
  3912. [BZ #9726]
  3913. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR,
  3914. _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes.
  3915. 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com>
  3916. [BZ #9726]
  3917. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
  3918. (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
  3919. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
  3920. (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
  3921. 2009-01-11 Thomas Schwinge <tschwinge@gnu.org>
  3922. * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use
  3923. memcpy instead of memcmp.
  3924. (_dl_setup_pointer_guard): Likewise.
  3925. 2009-01-30 Ulrich Drepper <drepper@redhat.com>
  3926. * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting
  3927. manipulated brk, use malloc_printerr.
  3928. * misc/sbrk.c (__sbrk): Better error handling for nonsense
  3929. requests.
  3930. 2009-01-30 Jakub Jelinek <jakub@redhat.com>
  3931. * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,
  3932. rindex): For C++ add inlines so that they can be recognized as
  3933. builtins.
  3934. * string/strings.h: Define correct C++ prototypes for gcc 4.4.
  3935. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
  3936. Jakub Jelinek <jakub@redhat.com>
  3937. * string/string.h: Define correct C++ prototypes for gcc 4.4.
  3938. * wcsmbs/wchar.h: Likewise.
  3939. 2009-01-29 Ulrich Drepper <drepper@redhat.com>
  3940. * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.
  3941. (stackinfo_sub_sp): Define.
  3942. 2009-01-28 Ulrich Drepper <drepper@redhat.com>
  3943. [BZ #9750]
  3944. * nscd/mem.c (gc): Use alloca_count to get the real stack usage.
  3945. * include/alloca.h (alloca_account): Define.
  3946. * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define.
  3947. (stackinfo_sub_sp): Define.
  3948. * nscd/connections.c (nscd_init): If database file access fails
  3949. check whether this is due to permission problems and bail in that
  3950. case.
  3951. [BZ #9741]
  3952. * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used.
  3953. Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.
  3954. 2009-01-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  3955. * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):
  3956. Add "t" to clobber list.
  3957. (INTERNAL_SYSCALL_NCS): Likewise.
  3958. 2009-01-28 Ulrich Drepper <drepper@redhat.com>
  3959. * nss/getent.c (print_networks): Don't print comma between aliases.
  3960. 2009-01-23 Ulrich Drepper <drepper@redhat.com>
  3961. * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning.
  3962. * misc/hsearch_r.c (hcreate_r): We need at least three elements in
  3963. the hash table.
  3964. * misc/Makefile (tests): Add bug-hsearch1.
  3965. * misc/bug-hsearch1.c: New file.
  3966. 2009-01-22 Roland McGrath <roland@redhat.com>
  3967. * Makeconfig (%.v.i): Strip trailing # comments,
  3968. not only whole-line comments.
  3969. 2009-01-10 Ulrich Drepper <drepper@redhat.com>
  3970. * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take
  3971. one parameter. If non-NULL use it to initialize return value.
  3972. (_dl_setup_pointer_guard): New function.
  3973. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
  3974. * sysdeps/generic/ldsodefs.h: Declare _dl_random.
  3975. * elf/rtld.c (security_init): Pass _dl_random to
  3976. _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize
  3977. pointer_chk_guard.
  3978. * elf/dl-sysdep.c (_dl_random): New variable.
  3979. (_dl_sysdep_start): Handle AT_RANDOM.
  3980. (_dl_show_auxv): Likewise.
  3981. * elf/dl-support.c (_dl_random): New variable.
  3982. (_dl_aux_init): Handle AT_RANDOM.
  3983. * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random
  3984. to _dl_setup_stack_chk_guard.
  3985. * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.
  3986. 2009-01-10 Roland McGrath <roland@redhat.com>
  3987. * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument.
  3988. 2009-01-08 Ulrich Drepper <drepper@redhat.com>
  3989. * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors.
  3990. [BZ #9706]
  3991. * nss/nss_files/files-parse.c (strtou32): New function.
  3992. (INT_FIELD): Use strotu32 instead of strtoul to unify behavior
  3993. across 32-bit and 64-bit platforms.
  3994. (INT_FIELD_MAYBE_NULL): Likewise.
  3995. 2009-01-08 Jakub Jelinek <jakub@redhat.com>
  3996. [BZ #9720]
  3997. * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid
  3998. comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE.
  3999. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who):
  4000. Likewise.
  4001. 2009-01-05 Paolo Bonzini <bonzini@gnu.org>
  4002. [BZ #697]
  4003. * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
  4004. being NULL also if there are no backreferences.
  4005. * posix/rxspencer/tests: Add testcases.
  4006. 2009-01-04 Paolo Bonzini <bonzini@gnu.org>
  4007. [BZ #9697]
  4008. * posix/bug-regex17.c: Add testcases.
  4009. * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET
  4010. handling.
  4011. 2009-01-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4012. * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file.
  4013. * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file.
  4014. * sysdeps/unix/sysv/linux/s390/init-first.c: New file.
  4015. * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso
  4016. for elf subdir.
  4017. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL,
  4018. INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK,
  4019. INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and
  4020. HAVE_CLOCK_GETTIME_VSYSCALL: Define.
  4021. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
  4022. * sysdeps/unix/sysv/linux/s390/Versions: New file.
  4023. 2008-12-31 Paolo Bonzini <bonzini@gnu.org>
  4024. * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc.
  4025. * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer,
  4026. re_string_skip_chars, re_string_reconstruct): Likewise.
  4027. * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define.
  4028. 2008-12-31 Rafael Ávila de Espíndola <espindola@google.com>
  4029. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and
  4030. adjust the buffer alignment.
  4031. 2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4032. * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:
  4033. Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h
  4034. net/route.h.
  4035. * hurd/report-wait.c (describe_number): Use __stpcpy to prepend
  4036. flavor to description only when flavor is not NULL.
  4037. * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock
  4038. mutex after SIGIO/SIGURG lookup loop.
  4039. 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4040. * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
  4041. 2009-01-03 Ulrich Drepper <drepper@redhat.com>
  4042. * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument
  4043. handling.
  4044. 2009-01-02 Ulrich Drepper <drepper@redhat.com>
  4045. * sysdeps/unix/sysv/linux/kernel-features.h
  4046. (__ASSUME_FUTEX_CLOCK_REALTIME): Define.
  4047. * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object
  4048. if no output is written.
  4049. * version.h: Bump to 2.10 development.
  4050. * posix/getconf.c: Update copyright year.
  4051. * nss/getent.c: Likewise.
  4052. * iconv/iconvconfig.c: Likewise.
  4053. * iconv/iconv_prog.c: Likewise.
  4054. * elf/ldconfig.c: Likewise.
  4055. * catgets/gencat.c: Likewise.
  4056. * csu/version.c: Likewise.
  4057. * elf/ldd.bash.in: Likewise.
  4058. * elf/sprof.c (print_version): Likewise.
  4059. * locale/programs/locale.c: Likewise.
  4060. * locale/programs/localedef.c: Likewise.
  4061. * nscd/nscd.c (print_version): Likewise.
  4062. * debug/xtrace.sh: Likewise.
  4063. * malloc/memusage.sh: Likewise.
  4064. * malloc/mtrace.pl: Likewise.
  4065. * debug/catchsegv.sh: Likewise.
  4066. 2008-12-29 Mike Frysinger <vapier@gentoo.org>
  4067. * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk
  4068. script.
  4069. 2008-12-29 Ulrich Drepper <drepper@redhat.com>
  4070. * sysdeps/posix/getaddrinfo.c (gaih_inet): When the
  4071. gethostbyname4_r function call succeeded, just leave the loop.
  4072. [BZ #9694]
  4073. * wcsmbs/wchar.h: Move undefs for local __need_* constants to the
  4074. very end.
  4075. * wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
  4076. * wctype/Makefile (tests): Add bug-wctypeh.
  4077. * wctype/bug-wctypeh.c: New file.
  4078. * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
  4079. LOCALDOMAIN is defined.
  4080. * nscd/nscd_getai.c (__nscd_getai): Likewise.
  4081. * sysdeps/x86_64/bits/select.h: New file.
  4082. * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
  4083. 2008-12-21 Bruno Haible <bruno@clisp.org>
  4084. [BZ #9677]
  4085. * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object
  4086. if no output is written.
  4087. 2008-12-13 Klaus Dittrich <kladit@arcor.de>
  4088. * login/utmp_file.c (pututline_file): Replace call to dup2 with
  4089. libc internal symbol __dup2 to avoid access through the PLT.
  4090. 2008-12-08 Ulrich Drepper <drepper@redhat.com>
  4091. [BZ #6545]
  4092. * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make
  4093. available only for __USE_GNU.
  4094. * inet/Makefile (tests): Add tst-getni2.
  4095. * inet/tst-getni2.c: New file.
  4096. [BZ #7080]
  4097. * inet/getnameinfo.c (getnameinfo): Check for output buffers being
  4098. NULL when NI_NAMEREQD is set.
  4099. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
  4100. * inet/Makefile (tests): Add tst-getni1.
  4101. * inet/tst-getni1.c: New file.
  4102. 2008-12-03 Petr Baudiš <pasky@suse.cz>
  4103. [BZ #7067]
  4104. * nscd/connections.c (invalidate_cache): Use prune_run_lock
  4105. instead of prune_lock.
  4106. (nscd_run_prune): Before calling prune_cache, take prune_run_lock.
  4107. * nscd/nscd.h (database_dyn): Add prune_run_cache.
  4108. 2008-12-07 Ulrich Drepper <drepper@redhat.com>
  4109. * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
  4110. use.
  4111. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4
  4112. handling.
  4113. * resolv/res_init.c (__res_vinit): Always assign to statp->nscount
  4114. after reading name server list.
  4115. [BZ #7058]
  4116. * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory
  4117. handling for host name aliases.
  4118. 2008-11-24 Arkadiusz Miśkiewicz <arekm@maven.pl>
  4119. * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
  4120. instead of doing things manually.
  4121. 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com>
  4122. * posix/regex_internal.h (build_wcs_upper_buffer):
  4123. Return type is reg_error_t.
  4124. 2008-12-05 Ulrich Drepper <drepper@redhat.com>
  4125. * posix/globtest.sh: Use mktemp to create temporary file and
  4126. directory.
  4127. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large
  4128. sets correctly.
  4129. (__CPU_CLR_S): Likewise.
  4130. (__CPU_ISSET_S): Likewise.
  4131. 2008-12-05 Joseph Myers <joseph@codesourcery.com>
  4132. Ulrich Drepper <drepper@redhat.com>
  4133. * scripts/firstversion.awk: Use custom comparison function to compare
  4134. version numbers.
  4135. * scripts/versions.awk: Use sort invocation which can handle
  4136. multi-digit sub-version numbers.
  4137. 2008-12-04 Ulrich Drepper <drepper@redhat.com>
  4138. * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.
  4139. * locale/iso-639.def: Add Chhattisgarhi entry.
  4140. 2008-12-02 Ulrich Drepper <drepper@redhat.com>
  4141. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize
  4142. ESRCH return value.
  4143. (_nss_dns_gethostbyname4_r): Likewise.
  4144. * resolv/res_init.c (__res_vinit): Initialize nscount to zero.
  4145. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use
  4146. gethostbyname4_r, we don't have a separate IPv6 status, so copy
  4147. the no_data variable.
  4148. * resolv/res_init.c (__res_vinit): Fill in IPv4 name server
  4149. information at the correct index.
  4150. * socket/sys/socket.h: Declare accept4.
  4151. * socket/accept4.c: New file.
  4152. * sysdeps/unix/sysv/linux/accept4.c: New file.
  4153. * sysdeps/unix/sysv/linux/i386/accept4.S: New file.
  4154. * socket/Makefile (routines): Add accept4.
  4155. * socket/Versions: Export accept4 with version GLIBC_2.10.
  4156. * socket/paccept.c: Removed.
  4157. * sysdeps/unix/sysv/linux/paccept.c: Removed.
  4158. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed.
  4159. * Versions.def: Define GLIBC_2.10 for libc.
  4160. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4.
  4161. * nscd/connections.c: Use accept4.
  4162. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
  4163. 2008-12-01 Ulrich Drepper <drepper@redhat.com>
  4164. * resolv/res_send.c (send_dg): Create sockets with non-blocking
  4165. flag already set.
  4166. * stdlib/setenv.c (unsetenv): Don't search environment if it does
  4167. not exist.
  4168. * stdlib/Makefile (tests): Add tst-unsetenv1.
  4169. * stdlib/tst-unsetenv1.c: New file.
  4170. 2008-11-29 Ulrich Drepper <drepper@redhat.com>
  4171. * login/utmp_file.c (file_writable): New variable.
  4172. (setutent_file): Don't try to open file for writing.
  4173. (pututline_file): Before writing, make descriptor writable if
  4174. necessary.
  4175. 2008-11-26 Ulrich Drepper <drepper@redhat.com>
  4176. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
  4177. to IPv4 or IPv6 if an interface has been found.
  4178. 2008-11-26 Roland McGrath <roland@redhat.com>
  4179. * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...
  4180. * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
  4181. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ...
  4182. * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here.
  4183. * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
  4184. * elf/elf.h (NT_386_IOPERM): New macro.
  4185. (NT_PPC_VSX): New macro.
  4186. 2008-11-25 Roland McGrath <roland@redhat.com>
  4187. * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
  4188. sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
  4189. sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
  4190. sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
  4191. Subdirectories moved to ports repository.
  4192. * configure.in (base_machine): Remove alpha case.
  4193. 2008-11-25 Thomas Schwinge <tschwinge@gnu.org>
  4194. * sysdeps/mach/strerror_l.c: New file.
  4195. 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com>
  4196. [BZ #6411]
  4197. * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr.
  4198. * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace
  4199. magic numbers.
  4200. * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically
  4201. choose mtfsf insn based on PPC_FEATURE_HAS_DFP.
  4202. (relax_fenv_state): Same as above.
  4203. (FPSCR_29): Reserve bit in ISA 2.05.
  4204. (FPSCR_NI): Provide define for compat.
  4205. * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace
  4206. magic numbers.
  4207. * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace
  4208. magic numbers.
  4209. * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to
  4210. test setcontext and swapcontext with dynamic 64-bit FPSCR detection.
  4211. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust
  4212. access to hwcap to account for hwcap size increase to uint64_t.
  4213. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ):
  4214. Likewise.
  4215. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
  4216. (*setcontext): Likewise.
  4217. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
  4218. New file.
  4219. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
  4220. New file.
  4221. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
  4222. (*setcontext): dynamically select mtfsf insn based on
  4223. PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
  4224. increase to uint64_t.
  4225. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
  4226. (*swapcontext): dynamically select mtfsf insn based on
  4227. PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
  4228. increase to uint64_t.
  4229. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
  4230. New file.
  4231. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
  4232. New file.
  4233. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
  4234. (*setcontext): dynamically select mtfsf insn based on
  4235. PPC_FEATURE_HAS_DFP.
  4236. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
  4237. (*swapcontext): dynamically select mtfsf insn based on
  4238. PPC_FEATURE_HAS_DFP.
  4239. 2008-11-13 Ulrich Drepper <drepper@redhat.com>
  4240. * version.h: Bump for 2.9 release.
  4241. * include/features.h (__GLIBC_MINOR__): Bump to 9.
  4242. [BZ #7029]
  4243. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE):
  4244. Multiply with sizeof of __cpu_mask, not 8 unconditionally after
  4245. all the rounding.
  4246. 2008-11-11 Ulrich Drepper <drepper@redhat.com>
  4247. [BZ #7009]
  4248. * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for
  4249. unknown request types for now.
  4250. 2008-11-11 Roland McGrath <roland@redhat.com>
  4251. * sysdeps/x86_64/configure: New file.
  4252. * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo).
  4253. * configure: Regenerated.
  4254. 2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
  4255. * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
  4256. correct instruction to remove the stack frame.
  4257. 2008-11-03 Michael Matz <matz@suse.de>
  4258. * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
  4259. __arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
  4260. 2008-11-07 Jakub Jelinek <jakub@redhat.com>
  4261. * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
  4262. Remove.
  4263. * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
  4264. __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
  4265. of the thread variable instead of void *.
  4266. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
  4267. __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
  4268. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
  4269. __libc_tsd_define arguments.
  4270. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
  4271. __libc_tsd_address arguments. Remove union hack.
  4272. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
  4273. * sunrpc/rpc_thread.c (RPC_VARS): Likewise.
  4274. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
  4275. Adjust __libc_tsd_{set,get} arguments.
  4276. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
  4277. __libc_tsd_define arguments.
  4278. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
  4279. arguments.
  4280. * locale/lc-ctype.c (_nl_postload_ctype): Likewise.
  4281. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
  4282. (LOCALE): Adjust __libc_tsd_define arguments.
  4283. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
  4284. arguments.
  4285. (LOCALE): Adjust __libc_tsd_define arguments.
  4286. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
  4287. arguments.
  4288. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
  4289. arguments.
  4290. 2008-11-02 Ulrich Drepper <drepper@redhat.com>
  4291. * malloc/malloc.c (public_rEALLOc): When new arena is used, copy
  4292. really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
  4293. 2008-11-01 Ulrich Drepper <drepper@redhat.com>
  4294. [BZ #6966]
  4295. * misc/hsearch_r.c (hsearch_r): Fix secondary hash function.
  4296. 2008-10-24 Joseph Myers <joseph@codesourcery.com>
  4297. Ulrich Drepper <drepper@redhat.com>
  4298. * math/tgmath.h (__floating_type): Use __builtin_classify_type in
  4299. definition for GCC 3.1 and later.
  4300. 2008-10-31 Jakub Jelinek <jakub@redhat.com>
  4301. * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo
  4302. refetch dtv, as it might have changed.
  4303. * elf/Makefile: Add rules to build and run tst-tls18.
  4304. * elf/tst-tls18.c: New test.
  4305. * elf/tst-tlsmod18a.c: New file.
  4306. 2008-09-09 Aurelien Jarno <aurelien@aurel32.net>
  4307. [BZ #6875]
  4308. * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15.
  4309. 2008-10-31 Ulrich Drepper <drepper@redhat.com>
  4310. [BZ #6867]
  4311. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo.
  4312. [BZ #6919]
  4313. * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam):
  4314. Fix length of copy operation.
  4315. 2008-10-02 Pierre Habouzit <madcoder@debian.org>
  4316. * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall
  4317. and fix its calling convention.
  4318. 2008-10-07 Andreas Schwab <schwab@suse.de>
  4319. [BZ #6942]
  4320. * resolv/res_send.c (send_vc): Fix last change.
  4321. (send_dg): Align here as well.
  4322. 2008-10-31 Ulrich Drepper <drepper@redhat.com>
  4323. * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE
  4324. return value in case rlimit is RLIM_INFINITY.
  4325. [BZ #6947]
  4326. * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value
  4327. for UL_SETFSIZE.
  4328. * resource/Makefile (tests): Add bug-ulimit1.
  4329. * resource/bug-ulimit1.c: New file.
  4330. [BZ #6974]
  4331. * sunrpc/rpc_main.c (mkfile_output): Properly handle filename
  4332. without dot. Properly terminate the string with a null byte.
  4333. Based on a patch by Aurelien Jarno <aurelien@aurel32.net>.
  4334. [BZ #6980]
  4335. * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for
  4336. negative sizees.
  4337. * posix/bits/unistd.h (getgroups): Call __getgroups_chk for
  4338. negative __size.
  4339. [BZ #6995]
  4340. * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message.
  4341. 2008-10-30 Ulrich Drepper <drepper@redhat.com>
  4342. * grp/initgroups.c (internal_getgrouplist): Don't prematurely
  4343. abort if there is no initgroups_dyn function.
  4344. * resolv/res_send.c (send_dg): On timeout, only return nonzero
  4345. result if any of the queries really provided an answer.
  4346. 2008-10-28 Ulrich Drepper <drepper@redhat.com>
  4347. * po/lt.po: Update from translation team.
  4348. 2008-10-26 Ulrich Drepper <drepper@redhat.com>
  4349. * po/id.po: Update from translation team.
  4350. 2008-10-24 Ulrich Drepper <drepper@redhat.com>
  4351. * resolv/res_query.c (__libc_res_nquery): Add a few casts.
  4352. Fix tests for existence of second reply.
  4353. 2008-10-23 Ulrich Drepper <drepper@redhat.com>
  4354. * po/id.po: New file.
  4355. Contributed by the Indonesian translation team.
  4356. 2008-10-22 Dmitry V. Levin <ldv@altlinux.org>
  4357. * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec
  4358. initialization.
  4359. 2008-10-17 Jakub Jelinek <jakub@redhat.com>
  4360. * elf/Makefile: Add rules to build and run tst-tls17.
  4361. * elf/tst-tls17.c: New test.
  4362. * elf/tst-tlsmod17a.c: New file.
  4363. * elf/tst-tlsmod17b.c: Likewise.
  4364. 2008-10-17 Ulrich Drepper <drepper@redhat.com>
  4365. * stdlib/divmod_1.c: Use correct type for dummy variable.
  4366. * stdlib/mod_1.c: Likewise.
  4367. 2008-10-16 Ulrich Drepper <drepper@redhat.com>
  4368. * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV.
  4369. 2008-10-16 Jakub Jelinek <jakub@redhat.com>
  4370. * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
  4371. __nonnull order for C++.
  4372. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
  4373. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
  4374. 2008-10-01 Daniel Jacobowitz <dan@codesourcery.com>
  4375. * stdlib/longlong.h: Update from GCC.
  4376. 2008-10-09 Jakub Jelinek <jakub@redhat.com>
  4377. David S. Miller <davem@davemloft.net>
  4378. * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR,
  4379. make sure any registers used with 64-bit 'branch-on-register'
  4380. instructions have their top 32-bits clear.
  4381. * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
  4382. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise.
  4383. 2008-09-18 Andreas Schwab <schwab@suse.de>
  4384. [BZ #6942]
  4385. * resolv/res_send.c (send_vc): Fix use of unaligned address.
  4386. Properly handle partial reads.
  4387. 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
  4388. * elf/elf.h (STO_MIPS_PLT): New.
  4389. (R_MIPS_COPY): New.
  4390. (R_MIPS_JUMP_SLOT): New.
  4391. (R_MIPS_NUM): Redefine to 128.
  4392. (DT_MIPS_PLTGOT): New.
  4393. (DT_MIPS_RWPLT): New.
  4394. (DT_MIPS_NUM): Redefine to 0x35.
  4395. 2008-10-01 Ulrich Drepper <drepper@redhat.com>
  4396. * timezone/africa: Update from tzdata2008f.
  4397. * timezone/asia: Likewise.
  4398. * timezone/australasia: Likewise.
  4399. * timezone/europe: Likewise.
  4400. * timezone/leapseconds: Likewise.
  4401. * timezone/northamerica: Likewise.
  4402. * timezone/southamerica: Likewise.
  4403. * timezone/zone.tab: Likewise.
  4404. 2008-09-30 Ulrich Drepper <drepper@redhat.com>
  4405. * nscd/connections.c: Disable use of paccept for now.
  4406. 2008-09-29 Ulrich Drepper <drepper@redhat.com>
  4407. * socket/Versions: Remove paccept export for GLIBC_2.9.
  4408. * socket/Makefile (routines): Remove paccept.
  4409. * socket/sys/socket.h: Remove paccept declaration.
  4410. * po/sv.po: Update from translation team.
  4411. 2008-09-22 Deborah S. Townsend <dstownse@us.ibm.com>
  4412. * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi.
  4413. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
  4414. 2008-09-16 Ulrich Drepper <drepper@redhat.com>
  4415. * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
  4416. Patch by Olivier Fourdan <ofourdan@redhat.com>.
  4417. 2008-09-15 Ulrich Drepper <drepper@redhat.com>
  4418. * sunrpc/rpc/svc.h: Declare svcfd_create.
  4419. Patch by Michael Solberg <msolberg@redhat.com>.
  4420. 2008-09-12 Flavio Leitner <fleitner@redhat.com>
  4421. Ulrich Drepper <drepper@redhat.com>
  4422. * malloc/malloc.c (public_vALLOc): Try other arenas in case
  4423. _int_valloc fails.
  4424. (public_pVALLOc): Likewise.
  4425. 2008-09-02 Andreas Jaeger <aj@suse.de>
  4426. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last
  4427. commit.
  4428. 2008-08-26 Aurelien Jarno <aurelien@aurel32.net>
  4429. [BZ #6860]
  4430. * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo.
  4431. 2008-07-18 Daniel Jacobowitz <dan@codesourcery.com>
  4432. * Makefile (check-data): Check data directory in add-ons.
  4433. * elf/Makefile (check-data): Likewise.
  4434. 2008-08-18 Roland McGrath <roland@redhat.com>
  4435. * configure.in (--with-cpu): Check compiler support for -march/-mcpu.
  4436. * configure: Regenerated.
  4437. * config.make.in (cflags-cpu): New substituted variable.
  4438. (with-cpu): Variable removed.
  4439. * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu).
  4440. 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com>
  4441. [BZ #6845]
  4442. * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
  4443. __signbitl definition and __LONG_DOUBLE_128__ guard from:
  4444. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
  4445. redundant. Functions which call floating point assembler operations
  4446. should go into a sysdeps powerpc/fpu directory.
  4447. 2008-08-15 Ulrich Drepper <drepper@redhat.com>
  4448. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.
  4449. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
  4450. 2008-08-14 Ulrich Drepper <drepper@redhat.com>
  4451. * sysdeps/x86_64/memset.S: Reduce size of tables for PIC.
  4452. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all
  4453. change related to AT_EXECFN. We cannot use that string.
  4454. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
  4455. _dl_execfn member.
  4456. * elf/dl-support.c: Remove _dl_execfn variable.
  4457. (_dl_aux_init): Remove handling of AT_EXECFN.
  4458. * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN.
  4459. * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.
  4460. 2008-08-13 Ulrich Drepper <drepper@redhat.com>
  4461. [BZ #6544]
  4462. * libio/fmemopen.c: Implement binary mode. In this mode no NUL
  4463. byte gets added to writes and seeks from the end use the length of
  4464. the buffer and not the currently terminating NUL byte.
  4465. [BZ #6634]
  4466. * login/utmp_file.c (getutent_r_file): Take additional parameter.
  4467. Set to true if locking failed.
  4468. (getutid_r_file): Adjust caller.
  4469. (pututline_file): Likewise. Return NULL in this case.
  4470. Patch mostly by halesh.s@gmail.com.
  4471. 2008-08-12 Ulrich Drepper <drepper@redhat.com>
  4472. [BZ #6589]
  4473. * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max):
  4474. Define.
  4475. (struct ifaddrs_storage): Use it instead of sockaddr_ll.
  4476. 2008-08-12 Ryan S. Arnold <rsa@us.ibm.com>
  4477. [BZ #6839]
  4478. * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove
  4479. macro since it is now available in elf/dynamic-link.h.
  4480. 2008-08-12 Roland McGrath <roland@frob.com>
  4481. * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers,
  4482. in case used outside of libc.
  4483. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>
  4484. 2008-08-11 Ulrich Drepper <drepper@redhat.com>
  4485. * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress
  4486. directly instead of going through dn_comp.
  4487. 2008-08-11 Aurelien Jarno <aurel32@debian.org>
  4488. * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock):
  4489. Fix asm constraints.
  4490. 2008-08-07 Ulrich Drepper <drepper@redhat.com>
  4491. [BZ #6790]
  4492. * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define.
  4493. (IPV6_PMTUDISC_PROBE): Likewise.
  4494. 2008-08-07 Pete Eberlein <eberlein@us.ibm.com>
  4495. [BZ #6791]
  4496. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define.
  4497. 2008-08-01 Steven Munroe <sjmunroe@us.ibm.com>
  4498. Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
  4499. [BZ #6817]
  4500. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags):
  4501. Added the members 'vsx' and 'arch_2_06'.
  4502. (_dl_powerpc_platforms): Add the member 'power7'.
  4503. * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST
  4504. to reflect the changes required by VSX and ISA 2.06.
  4505. Modify _DL_PLATFORMS_COUNT to reflect the addition of
  4506. 'power7'.
  4507. Defined PPC_PLATFORM_POWER7.
  4508. (_dl_string_platform): Add support for POWER7.
  4509. * sysdeps/powerpc/sysdep.h: Define bit masks for VSX
  4510. capability and ISA 2.06.
  4511. 2008-08-07 Ulrich Drepper <drepper@redhat.com>
  4512. [BZ #6824]
  4513. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct
  4514. macro to detect use of 128 bit long double.
  4515. Patch by Ryan S. Arnold <rsa@us.ibm.com>.
  4516. 2008-08-05 Ulrich Drepper <drepper@redhat.com>
  4517. * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms.
  4518. [BZ #5794]
  4519. * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large
  4520. parameters.
  4521. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
  4522. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
  4523. 2008-08-03 Ulrich Drepper <drepper@redhat.com>
  4524. * nscd/connections.c (main_loop_poll): Pass a buffer which is
  4525. guaranteed to be large enough to read inotify event. Ignore
  4526. EAGAIN error. Better error message. Add branch predicition.
  4527. (main_loop_epoll): Likewise.
  4528. 2008-08-02 Roland McGrath <roland@frob.com>
  4529. * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock):
  4530. Add memory clobbers.
  4531. 2008-08-02 Ulrich Drepper <drepper@redhat.com>
  4532. * manual/arith.texi: Avoid @strong{Note:}.
  4533. * manual/creature.texi: Likewise.
  4534. * manual/filesys.texi: Likewise.
  4535. * manual/math.texi: Likewise.
  4536. * manual/memory.texi: Likewise.
  4537. * manual/resource.texi: Likewise.
  4538. * manual/syslog.texi: Likewise.
  4539. * manual/time.texi: Likewise.
  4540. * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline
  4541. to prevent warning.
  4542. 2008-08-01 Ulrich Drepper <drepper@redhat.com>
  4543. * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for
  4544. new epoll_create1 interface.
  4545. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
  4546. * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
  4547. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
  4548. * include/arpa/nameser.h (NS_GET16): Use const pointer.
  4549. (NS_GET32): Likewise.
  4550. * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new
  4551. syscalls, too.
  4552. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot
  4553. use the AT_EXECFN value if it is no absolute path.
  4554. * sysdeps/unix/sysv/linux/kernel-features.h: Never define
  4555. __ASSUME_AT_EXECFN.
  4556. * Versions.def: Add GLIBC_2.9 to libresolv.
  4557. * include/resolv.h: Remove hidden proto declarations for __ns_*
  4558. functions. Add them for __dn_count_labels and __p_secstodate.
  4559. * include/arpa/nameser.h: Add a number of hidden proto declarations.
  4560. Define ns_msg_getflags macro here.
  4561. * resolv/res_debug.c: Add hidden definition for __dn_count_labels
  4562. and __p_secstodate.
  4563. * resolv/Versions: Export functions from <arpa/nameser.h> from
  4564. libresolv in version GLIBC_2.9.
  4565. * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary
  4566. hidden definitions.
  4567. * resolv/ns_netint.c: Likewise.
  4568. * resolv/ns_parse.c: Likewise.
  4569. * resolv/ns_print.c: Likewise.
  4570. * resolv/ns_samedomain.c: Likewise.
  4571. * resolv/ns_ttl.c: Likewise.
  4572. * resolv/arpa/nameser_compat.h: Likewise.
  4573. * resolv/arpa/nameser.h: Likewise. Remove macros which redirect
  4574. function calls.
  4575. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16
  4576. instead of ns_get16.
  4577. * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and
  4578. __ns_get32 instead of ns_get16 and ns_get32 respectively.
  4579. (gaih_getanswer_slice): Likewise.
  4580. * resolv/Makefile (libresolv-routines): Add ns_date.
  4581. * resolv/ns_date.c: New file.
  4582. * elf/Makefile (check-localplt.out): Also check libresolv and
  4583. libcrypt.
  4584. 2008-07-31 Ulrich Drepper <drepper@redhat.com>
  4585. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  4586. __ASSUME_O_CLOEXEC.
  4587. 2008-07-30 Ulrich Drepper <drepper@redhat.com>
  4588. * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
  4589. buffer passed to NSS functions.
  4590. * nscd/connections.c (nscd_init): Typo in preprocessor directive.
  4591. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT):
  4592. Define.
  4593. * misc/syslog.c (openlog_internal): Fix compile problem.
  4594. 2008-07-28 Roland McGrath <roland@redhat.com>
  4595. * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table.
  4596. 2008-07-28 Ulrich Drepper <drepper@redhat.com>
  4597. * io/ftw.c (add_object): Remove inline to avoid warning.
  4598. * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
  4599. * resolv/res_send.c (__libc_res_nsend): Take additional parameter.
  4600. Use it instead of locally defined resplen2 variable.
  4601. (res_nsend): Adjust for __libc_res_nsend interface change.
  4602. (send_vc): Initialize *resplen2 if necessary. Read length of
  4603. package into an appropriately aligned variable. Store converted length
  4604. in new variable and use it appropriately.
  4605. Add branch prediction help.
  4606. * resolv/res_query.c (__libc_res_nquery): Take additional parameter
  4607. and pass it on to __libc_res_nsend. Adjust all callers.
  4608. (__libc_res_nsearch): Likewise.
  4609. (__libc_res_nqeurydomain): Likewise.
  4610. * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface
  4611. change.
  4612. (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array.
  4613. Define resplen2 variable and pass it to __libc_res_nsearch and then
  4614. to gaih_getanswer.
  4615. (getanswer_r): In case of incorrect DNS data don't overread buffer.
  4616. Add branch prediction.
  4617. (gaih_getanswer_slice): Likewise. Check for invalid data types.
  4618. (gaih_getanswer): Don't decode second slice if first one failed due
  4619. to a too small buffer. Don't let not found status of second
  4620. decoder shadow results of the first.
  4621. * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch
  4622. and __libc_res_nquery interface changes
  4623. (gethostbyaddr): Adjust for __libc_res_nquery interface change.
  4624. * include/resolv.h: Adjust prototypes for __libc_res_nquery,
  4625. __libc_res_nsearch, and __libc_res_nsend.
  4626. * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface
  4627. change.
  4628. * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and
  4629. __libc_res_nsearch interface changes.
  4630. 2008-07-27 Ulrich Drepper <drepper@redhat.com>
  4631. * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile.
  4632. * posix/wordexp.c (exec_comm): Use pipe2 if possible to create
  4633. file descriptors with close-on-exec set.
  4634. (exec_comm_child): Fix the case where the write end of the pipe is
  4635. STDOUT_FILENO already. In case it is, clear close-on-exec.
  4636. * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.
  4637. * io/pipe2.c: Likewise.
  4638. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2
  4639. instead of __ASSUME_PACCEPT.
  4640. * include/unistd.h: Declare __have_pipe2.
  4641. * libio/iopopen.c: Implement "e" flag.
  4642. * libio/Makefile (tests): Add tst-popen1.
  4643. * libio/tst-popen1.c: New file.
  4644. * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.
  4645. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  4646. 2008-07-26 Ulrich Drepper <drepper@redhat.com>
  4647. [BZ #6771]
  4648. * libio/fileops.c (_IO_new_file_attach): Preserve errno around
  4649. success call of _IO_SEEKOFF or calls which failed because the
  4650. descriptor is for a pipe.
  4651. * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of
  4652. magic number.
  4653. * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible.
  4654. * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop
  4655. F_SETFD use if we know fopen set the flag.
  4656. * login/utmp_file.c (setutent_file): Minor optimization in case
  4657. O_CLOEXEC is available.
  4658. 2008-07-24 Tom "spot" Callaway <tcallawa@redhat.com>
  4659. * Makeconfig: Define pie-ccflag and PIE-ccflag variables.
  4660. * elf/Makefile: Use pie-ccflag variable.
  4661. * nscd/Makefile: Likewise.
  4662. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE.
  4663. 2008-07-21 Andreas Krebbel <krebbel1@de.ibm.com>
  4664. [BZ #6724]
  4665. * Versions.def: Add GLIBC_2.9 version tag for libutil.
  4666. * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of
  4667. gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed.
  4668. * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of
  4669. gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed.
  4670. * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files
  4671. utmp32, utmpx32 and login32.
  4672. * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9
  4673. versions of struct utmp functions to libc and libutil.
  4674. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file.
  4675. * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file.
  4676. * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file.
  4677. * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file.
  4678. * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file.
  4679. * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file.
  4680. * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file.
  4681. * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file.
  4682. * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file.
  4683. * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file.
  4684. * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file.
  4685. * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file.
  4686. * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file.
  4687. * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file.
  4688. * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file.
  4689. * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file.
  4690. * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file.
  4691. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file.
  4692. * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file.
  4693. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file.
  4694. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file.
  4695. * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file.
  4696. 2008-07-26 Ulrich Drepper <drepper@redhat.com>
  4697. * scripts/gen-as-const.awk: Generate more widely usable code by
  4698. using 64-bit arithmetic.
  4699. * stdio-common/printf_fp.c (___printf_fp): Give wide outout code
  4700. the same treatment as narrow output code in last patch.
  4701. * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup.
  4702. [BZ #6763]
  4703. * elf/dl-load.c (local_strdup): Remove inline.
  4704. (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list.
  4705. * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as
  4706. part of the object.
  4707. * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning.
  4708. 2008-07-25 Ulrich Drepper <drepper@redhat.com>
  4709. * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have
  4710. the new syscalls, too.
  4711. * sysdeps/i386/i686/memcmp.S: Fix unwind information.
  4712. Reported by Paul Pluzhnikov <ppluzhnikov@google.com>.
  4713. [BZ #6698]
  4714. * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional
  4715. parameter for end of buffer. If temporary copy is too large use
  4716. malloc.
  4717. * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite
  4718. interface change.
  4719. * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for
  4720. string rewrite when allocating buffer.
  4721. * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
  4722. syscalls, too.
  4723. * nscd/connections.c (nscd_init): Clean up fcntl call.
  4724. * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and
  4725. SOCK_NONBLOCK if possible.
  4726. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use
  4727. SOCK_CLOEXEC if available.
  4728. * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and
  4729. __libc_clntudp_bufcreate_internal.
  4730. * include/sys/socket.h: Declare __have_sock_cloexec.
  4731. * socket/Makefile (aux): Add have_sock_cloexec.
  4732. * socket/have_sock_cloexec.c: New file.
  4733. * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around
  4734. __libc_clntudp_bufcreate.
  4735. (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate
  4736. which takes an additional parameter. Create socket with non-blocking
  4737. mode and close-on-exec flag set, if wanted.
  4738. * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE.
  4739. * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate
  4740. instead of clntudp_create. The socket has already the close-on-exec
  4741. flag set if SOCK_CLOEXEC is defined.
  4742. 2008-07-24 Ulrich Drepper <drepper@redhat.com>
  4743. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  4744. __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if
  4745. appropriate.
  4746. * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and
  4747. non-blocking mode by using socket, paccept, and inotify_init1.
  4748. * Versions.def (glibc): Add GLIBC_2.9.
  4749. * io/Makefile (routines): Add dup3 and pipe2.
  4750. * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2.
  4751. * io/dup3.c: New file.
  4752. * io/pipe2.c: New file.
  4753. * posix/unistd.h: Declare dup3 and pipe2.
  4754. * socket/Makefile (routines): Add paccept.
  4755. * socket/Versions [glibc] (GLIBC_2.9): Add paccept.
  4756. * socket/paccept.c: New file.
  4757. * socket/sys/socket.h: Declare paccept.
  4758. * sysdeps/unix/syscalls.list: Add entry for dup3.
  4759. * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add
  4760. epoll_create2 and inotify_init1.
  4761. * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible.
  4762. * sysdeps/unix/sysv/linux/paccept.c: New file.
  4763. * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if
  4764. possible.
  4765. * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept.
  4766. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2,
  4767. inotify_init1, and pipe2 entries.
  4768. * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file.
  4769. * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file.
  4770. * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file.
  4771. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file.
  4772. * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file.
  4773. * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and
  4774. SOCK_NONBLOCK.
  4775. * sysdeps/unix/sysv/linux/i386/paccept.S: New file.
  4776. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file.
  4777. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file.
  4778. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file.
  4779. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file.
  4780. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file.
  4781. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file.
  4782. * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and
  4783. EPOLL_NONBLOCK. Declare epoll_create2.
  4784. * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and
  4785. EFD_NONBLOCK.
  4786. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and
  4787. IN_NONBLOCK. Declare inotify_init1.
  4788. * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and
  4789. SFD_NONBLOCK.
  4790. * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and
  4791. TFD_NONBLOCK.
  4792. * elf/elf.h: Define AT_EXECFN.
  4793. * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle
  4794. LD_ORIGIN_PATH.
  4795. * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN.
  4796. * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path
  4797. if __ASSUME_AT_EXECFN is defined.
  4798. (_dl_aux_init): Handle AT_EXECFN.
  4799. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN
  4800. for 2.6.27 and up.
  4801. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn.
  4802. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined.
  4803. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use
  4804. _dl_execfn if available and avoid compatibility code if
  4805. __ASSUME_AT_EXECFN is defined.
  4806. * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare
  4807. _dl_discover_osversion only for older kernels.
  4808. 2008-07-22 Roland McGrath <roland@frob.com>
  4809. * hurd/fd-read.c (_hurd_fd_read): Fix last change.
  4810. 2008-07-21 Roland McGrath <roland@frob.com>
  4811. * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server
  4812. returned too much data out of line.
  4813. 2008-07-20 Ulrich Drepper <drepper@redhat.com>
  4814. * locale/setlocale.c (setname): Remove inline to avoid compiler
  4815. warning.
  4816. [BZ #6712]
  4817. * locale/setlocale.c (setlocale): Take the setlocale lock earlier.
  4818. 2008-07-15 Ulrich Drepper <drepper@redhat.com>
  4819. * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn
  4820. doesn't manage to write anything, fail.
  4821. * malloc/hooks.c (__malloc_check_init): Remove printf.
  4822. 2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4823. * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>.
  4824. 2008-07-12 Ulrich Drepper <drepper@redhat.com>
  4825. * nscd/connections.c (main_loop_poll): Fix handling of read errors
  4826. from inotify.
  4827. (main_loop_epoll): Likewise.
  4828. 2008-07-09 Ulrich Drepper <drepper@redhat.com>
  4829. * resolv/res_send.c: Remove unnecessary res_pquery prototype.
  4830. * resolv/res_query.c (__libc_res_nquery): Issue debug message only
  4831. if DEBUG is defined.
  4832. * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA
  4833. query. Adjust buffer size computation for padding.
  4834. 2008-07-08 Ulrich Drepper <drepper@redhat.com>
  4835. * stdio-common/Makefile: Add rules to build and run tst-setvbuf1.
  4836. * stdio-common/tst-setvbuf1.c: New file.
  4837. * stdio-common/tst-setvbuf1.expect: New file.
  4838. [BZ #6719]
  4839. * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags
  4840. when selecting fully-buffered stream.
  4841. Patch by Wang Xin <wxinee@gmail.com>.
  4842. 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4843. * sysdeps/mach/hurd/open.c: Include <stdio.h>.
  4844. (__open_2): New function.
  4845. (__open64_2): New alias to __open_2.
  4846. * sysdeps/mach/hurd/openat.c: Include <stdio.h>.
  4847. (__openat_2): New function.
  4848. (__openat64_2): New alias to __openat_2.
  4849. 2008-07-06 Ulrich Drepper <drepper@redhat.com>
  4850. [BZ #6723]
  4851. * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value.
  4852. 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4853. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
  4854. * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
  4855. * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
  4856. __hurd_dfail.
  4857. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
  4858. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
  4859. * sysdeps/mach/hurd/send.c (__send): Likewise.
  4860. * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
  4861. * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
  4862. 2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
  4863. * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS.
  4864. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
  4865. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
  4866. * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD.
  4867. * hurd/get-host.c (_hurd_get_host_config): Likewise.
  4868. * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise.
  4869. 2008-06-27 Ulrich Drepper <drepper@redhat.com>
  4870. [BZ #6657]
  4871. * time/strptime_l.c: Don't clear s.era_cnt after successful match
  4872. of %EY.
  4873. Patch by Petr Baudiš.
  4874. 2008-06-26 Ulrich Drepper <drepper@redhat.com>
  4875. * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry.
  4876. Patch by Peter Jones <pjones@redhat.com>.
  4877. 2008-06-25 Ulrich Drepper <drepper@redhat.com>
  4878. [BZ #6654]
  4879. * stdlib/canonicalize.c (__realpath): readlink can write too much
  4880. into the buffer on platforms without PATH_MAX.
  4881. 2008-06-17 Carlos O'Donell <carlos@codesourcery.com>
  4882. [BZ #6653]
  4883. * posix/tst-regex.c (main): Rename to...
  4884. (do_test): ... this. Remove cmdline option processing.
  4885. (TIMEOUT): Define.
  4886. (TEST_FUNCTION): Define.
  4887. (CMDLINE_OPTIONS): Define.
  4888. 2008-06-25 Ulrich Drepper <drepper@redhat.com>
  4889. [BZ #5210]
  4890. * configure.in: Add -Werror to -fstack-protector test to catch
  4891. unsupported architectures.
  4892. Patch by Gilles Esponasse <g.esp@free.fr>.
  4893. 2008-06-17 Joseph Myers <joseph@codesourcery.com>
  4894. * stdlib/tst-setcontext.c: Set back_in_main before exit if
  4895. getcontext returns ENOSYS.
  4896. 2008-06-18 Ulrich Drepper <drepper@redhat.com>
  4897. * nscd/connections.c (main_loop_poll): Fix test for read error.
  4898. (main_loop_epoll): Likewise.
  4899. 2008-06-13 Ulrich Drepper <drepper@redhat.com>
  4900. * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a
  4901. better place so it is not called when nscd is used.
  4902. * nscd/connections.c: Also recognize and handle changes to the
  4903. resolver configuration file.
  4904. 2008-06-12 Ulrich Drepper <drepper@redhat.com>
  4905. * time/strftime.c: Pass reference to tzset_called around to handle
  4906. recursive calls.
  4907. [BZ #6612]
  4908. * time/strftime.c (__strftime_internal): Call tzset() only
  4909. when printing timezone-dependent values.
  4910. Based on a patch by Petr Baudiš <pasky@suse.cz>.
  4911. * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't
  4912. unconditionally use second gaih_getanswer_slice result.
  4913. * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test.
  4914. (getaddrinfo): RES must always be non-NULL.
  4915. 2008-06-12 Jakub Jelinek <jakub@redhat.com>
  4916. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using
  4917. cr[34] registers.
  4918. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
  4919. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
  4920. Likewise.
  4921. * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3
  4922. register.
  4923. 2008-06-12 Ulrich Drepper <drepper@redhat.com>
  4924. * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache
  4925. fields.
  4926. * nscd/connections.c (inotify_fd): New variable.
  4927. (nscd_init): Try to open an inotify descriptor.
  4928. If successful, watch files for databases using inotify instead of
  4929. having prune threads stat the files.
  4930. (nscd_run_prune): Recognize clear_cache flag being set and call
  4931. prune_cache appropriately.
  4932. (main_loop_poll): Add inotify descriptor to wait set and handle the
  4933. reported changes.
  4934. (main_loop_epoll): Likewise.
  4935. * nscd/cache.c (prune_cache): Don't stat files for databases if
  4936. inotify is used.
  4937. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]
  4938. (CFLAGS-connections.c): Add -DHAVE_INOTIFY.
  4939. * nscd/grpcache.c (cache_addgr): Correctly compute size of
  4940. fixed-size portion of the record.
  4941. * nscd/servicescache.c (cache_addserv): Likewise.
  4942. * nscd/pwdcache.c (cache_addpw): Likewise.
  4943. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  4944. 2008-06-11 Ulrich Drepper <drepper@redhat.com>
  4945. * nscd/mem.c (gc): Initialize obstack earlier so that if we jump
  4946. out we don't use uninitialized memory.
  4947. * nscd/hstcache.c (cache_addhst): Send correct number of bytes to
  4948. the client.
  4949. 2008-06-10 Ulrich Drepper <drepper@redhat.com>
  4950. * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and
  4951. ignore T_DNAME messages.
  4952. * resolv/arpa/nameser_compat.h (T_DNAME): Define.
  4953. 2008-06-05 Jakub Jelinek <jakub@redhat.com>
  4954. * misc/regexp.h (compile): Use __REPB_PREFIX macro.
  4955. Avoid segfault if first GETC returns eof/'\0'/'\n'.
  4956. 2008-06-03 Jakub Jelinek <jakub@redhat.com>
  4957. * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp
  4958. instead of portstr to nscd_getserv_r. Patch by
  4959. Roman Kagan <rkagan@mail.ru>.
  4960. 2008-05-26 Jim Meyering <meyering@redhat.com>
  4961. Remove more useless "if" tests before "free".
  4962. * include/inline-hashtab.h (htab_delete): Likewise.
  4963. * libio/freopen.c (freopen): Likewise.
  4964. * libio/freopen64.c (freopen64): Likewise.
  4965. * locale/programs/ld-collate.c (collate_read): Likewise.
  4966. * misc/fstab.c (libc_freeres_fn): Likewise.
  4967. * posix/glob.c (globfree): Likewise.
  4968. 2008-05-24 Ulrich Drepper <drepper@redhat.com>
  4969. * string/Makefile (strop-tests): Add memmem.
  4970. * string/test-memmem.c: New file.
  4971. * string/test-string.h (BUF1PAGES): Define to 1 if undefined.
  4972. (test_init): Size buf1 according to BUF1PAGES.
  4973. 2008-05-24 Jakub Jelinek <jakub@redhat.com>
  4974. * libio/stdio.h (vscanf): Fix -std=c99 redirect.
  4975. * stdio-common/Makefile (tests): Add scanf16 and scanf17.
  4976. (CFLAGS-scanf17.c): New.
  4977. * stdio-common/scanf14.c (main): Add fscanf and scanf tests.
  4978. * stdio-common/scanf15.c (main): Likewise.
  4979. * stdio-common/scanf16.c: New file.
  4980. * stdio-common/scanf17.c: New file.
  4981. 2008-05-24 Ulrich Drepper <drepper@redhat.com>
  4982. * resolv/res_send.c (send_dg): If we already have one of two
  4983. answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then
  4984. use the one answer insted of failing.
  4985. 2008-02-20 Ryan S. Arnold <rsa@us.ibm.com>
  4986. * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from
  4987. being executed on PowerPC as the expected result exceeds IBM
  4988. long double 128 __LDBL_MAX__.
  4989. 2008-05-21 Roland McGrath <roland@redhat.com>
  4990. * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines.
  4991. * Makefile (check-data): Use $(abi-name) before other guesses.
  4992. Look in $(add-ons) dirs before scripts/data/.
  4993. * elf/Makefile (check-data): Likewise.
  4994. * scripts/soversions.awk: Grok ABI line.
  4995. * Makeconfig ($(common-objpfx)soversions.mk): Likewise.
  4996. Emit definition for abi-name variable.
  4997. 2008-05-21 Ulrich Drepper <drepper@redhat.com>
  4998. * string/endian.h: Define new fixed-size hto* and *toh macros only
  4999. if [__USE_BSD].
  5000. * iconvdata/Depend: Add localedata.
  5001. 2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
  5002. * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too.
  5003. 2008-05-08 David S. Miller <davem@davemloft.net>
  5004. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use
  5005. HIDDEN_JUMPTARGET.
  5006. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  5007. (__SYSCALL_CLOBBERS): Remove %g* registers.
  5008. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
  5009. (__SYSCALL_CLOBBERS): Likewise.
  5010. * scripts/data/localplt-sparc-linux-gnu.data: New file.
  5011. * scripts/data/localplt-sparc64-linux-gnu.data: New file.
  5012. 2008-05-21 Jakub Jelinek <jakub@redhat.com>
  5013. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
  5014. (CALL_ERRNO_LOCATION): Define.
  5015. (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
  5016. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
  5017. (CALL_ERRNO_LOCATION): Define.
  5018. (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it.
  5019. * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use
  5020. HIDDEN_JUMPTARGET for __errno_location call in libc.so.
  5021. 2008-05-20 Ulrich Drepper <drepper@redhat.com>
  5022. * include/inline-hashtab.h (higher_prime_number): Fix type of mid
  5023. variable.
  5024. 2008-05-20 Jakub Jelinek <jakub@redhat.com>
  5025. * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
  5026. (FIRST_FRAME_POINTER): Define.
  5027. 2008-05-09 David S. Miller <davem@davemloft.net>
  5028. * sysdeps/sparc/sparc64/backtrace.c: New file.
  5029. 2008-05-14 David S. Miller <davem@davemloft.net>
  5030. * sysdeps/sparc/machine-gmon.h: New file.
  5031. * sysdeps/sparc/sparc-mcount.S: Likewise.
  5032. * sysdeps/sparc/Makefile: Add sparc-mcount target to
  5033. sysdep_routines in gmon directory.
  5034. 2008-05-19 Jakub Jelinek <jakub@redhat.com>
  5035. * elf/soinit.c (__EH_FRAME_BEGIN__): Remove.
  5036. 2008-05-19 Ulrich Drepper <drepper@redhat.com>
  5037. * resolv/res_query.c (__libc_res_nquery): In case one of two
  5038. answer was too short don't try to read that answer's header.
  5039. * resolv/res_send.c (send_dg): In case of timeout and there are
  5040. two queries and one has been answered, return value indicating
  5041. success.
  5042. 2008-05-18 Ulrich Drepper <drepper@redhat.com>
  5043. * nscd/cache.c (cache_add): Take additional parameter specifying
  5044. whether this is in response of a cache refill. Check alignment
  5045. of package data. Revamp waking of pruning thread.
  5046. (prune_cache): Small optimization.
  5047. * nscd/nscd.h: Adjust cache_add prototypes.
  5048. * nscd/aicache.c: Adjust cache_add calls.
  5049. * nscd/grpcache.c: Likewise.
  5050. * nscd/hstcache.c: Likewise.
  5051. * nscd/initgrcache.c: Likewise.
  5052. * nscd/pwdcache.c: Likewise.
  5053. * nscd/servicescache.c: Likewise.
  5054. * nscd/connections.c (restart): Really disable cache use before
  5055. exec attempt. If it fails, reenable cache.
  5056. (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup
  5057. time to max to be able to notice concurrent cache additions. Unlock
  5058. prune_lock while performing gc. Afterwards compute wakeup time with
  5059. current wakeup_time value in mind.
  5060. 2008-05-17 Ulrich Drepper <drepper@redhat.com>
  5061. * nscd/mem.c (gc): Avoid stack overflow when allocating move list.
  5062. * nscd/mem.c (gc): Correctly determine highest used array element
  5063. in mark.
  5064. * nscd/mem.c (markrange): Add assert to check entries are all
  5065. aligned. Small cleanup in bitmap use.
  5066. * nscd/nscd.h (mem_in_flight): Replace blockaddr field with
  5067. blockoff of type nscd_ssize_t.
  5068. * nscd/mem.c (gc): Simplify markrange call for on-flight blocks.
  5069. (mempoll_alloc): Record block offset and not address.
  5070. * nscd/mem.c (gc): Fix test for stack overuse.
  5071. * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups,
  5072. more asserts.
  5073. * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no
  5074. entry is available, believe it.
  5075. * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are
  5076. no answers return NSS_STATUS_NOTFOUND.
  5077. (gaih_getanswer): Don't call gaih_getanswer_slice if the answer
  5078. buffer does not have any content.
  5079. 2008-05-16 Ulrich Drepper <drepper@redhat.com>
  5080. * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp.
  5081. * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r
  5082. lookup, don't assign canon unconditionally.
  5083. 2008-05-14 Ulrich Drepper <drepper@redhat.com>
  5084. * string/Makefile (distribute): Add str-two-way.h.
  5085. 2008-03-29 Eric Blake <ebb9@byu.net>
  5086. Rewrite string searches to O(n) rather than O(n^2).
  5087. * string/str-two-way.h: New file. For linear fixed-allocation
  5088. string searching.
  5089. * string/memmem.c: New implementation.
  5090. * string/strstr.c: New implementation.
  5091. * string/strcasestr.c: New implementation.
  5092. 2008-04-11 Paolo Bonzini <bonzini@gnu.org>
  5093. * posix/regcomp.c (optimize_utf8): Add a note on why we test
  5094. opr.ctx_type.
  5095. (calc_first): Initialize constraint field.
  5096. (duplicate_node_closure): Use it instead of special casing ANCHORS.
  5097. Use search_duplicated_node to avoid loops. Fix grammar.
  5098. (duplicate_node): Merge constraint field for all node types.
  5099. (calc_eclosure_iter): Look at constraint field for all node types.
  5100. * posix/regex_internal.c (create_cd_newstate): Don't look at
  5101. create_cd_newstate.
  5102. 2008-05-14 Ulrich Drepper <drepper@redhat.com>
  5103. [BZ #6428]
  5104. * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS.
  5105. [BZ #6442]
  5106. * string/endian.h: Add macros for fixed-size endian conversion.
  5107. * bits/byteswap.h: Allow inclusion from <endian.h>.
  5108. * sysdeps/i386/bits/byteswap.h: Likewise.
  5109. * sysdeps/ia64/bits/byteswap.h: Likewise.
  5110. * sysdeps/s390/bits/byteswap.h: Likewise.
  5111. * sysdeps/x86_64/bits/byteswap.h: Likewise.
  5112. * string/Makefile (tests): Add tst-endian.
  5113. * string/tst-endian.c: New file.
  5114. * iconvdata/run-iconv-test.sh: Use = instead of == in test.
  5115. Patch by Reuben Thomas.
  5116. 2008-05-14 Joseph Myers <joseph@codesourcery.com>
  5117. * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define.
  5118. 2008-05-14 Ulrich Drepper <drepper@redhat.com>
  5119. * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale.
  5120. [BZ #6461]
  5121. * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal):
  5122. Add missing braces.
  5123. (BODY for __gconv_transform_internal_ascii): Likewise.
  5124. [BZ #6472]
  5125. * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have
  5126. to be treated like link-local addresses.
  5127. (match_prefix): Don't treat IPv4 loopback address special when
  5128. converting to v4 mapped addressed.
  5129. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init
  5130. if necessary.
  5131. * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init.
  5132. * posix/tst-rfc3484-2.c: Likewise.
  5133. * posix/tst-rfc3484-3.c: Likewise.
  5134. * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite,
  5135. and SCTP.
  5136. * nss/getent.c (ahosts_keys_int): Handle all known socket types.
  5137. * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define.
  5138. * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define.
  5139. 2008-05-13 Ulrich Drepper <drepper@redhat.com>
  5140. * po/lt.po: New file. From Lituanian translation team.
  5141. 2008-01-30 Alexandre Oliva <aoliva@redhat.com>
  5142. Introduce TLS descriptors for i386 and x86_64.
  5143. * include/inline-hashtab.h: New file, copied from 2005's
  5144. libiberty, with fix for memory leak imported afterwards by
  5145. Glauber de Oliveira Costa.
  5146. * elf/tlsdeschtab.h: New file.
  5147. * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from...
  5148. (_dl_allocate_static_tls): ... here. Rearrange failure path.
  5149. (CHECK_STATIC_TLS): Move to...
  5150. * elf/dynamic-link.h: ... this file.
  5151. (TRY_STATIC_TLS): New macro.
  5152. * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override.
  5153. * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL,
  5154. R_386_TLS_DESC): Define.
  5155. (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from
  5156. binutils.
  5157. (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL,
  5158. R_X86_64_TLSDESC): Define.
  5159. (R_386_NUM, R_X86_64_NUM): Adjust.
  5160. * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines,
  5161. sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir.
  5162. (gen-as-const-headers): Add tlsdesc.sym to csu subdir.
  5163. * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to
  5164. release tlsdesc_table.
  5165. * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h.
  5166. (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class.
  5167. (elf_machine_rel): Handle R_386_TLS_DESC.
  5168. (elf_machine_rela): Likewise.
  5169. (elf_machine_lazy_rel): Likewise.
  5170. (elf_machine_lazy_rela): Likewise.
  5171. * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it.
  5172. * sysdeps/i386/dl-tlsdesc.S: New file.
  5173. * sysdeps/i386/dl-tlsdesc.h: New file.
  5174. * sysdeps/i386/tlsdesc.c: New file.
  5175. * sysdeps/i386/tlsdesc.sym: New file.
  5176. * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add
  5177. tlsdesc_table.
  5178. * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines,
  5179. sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir.
  5180. (gen-as-const-headers): Add tlsdesc.sym to csu subdir.
  5181. * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to
  5182. release tlsdesc_table.
  5183. * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h.
  5184. (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry.
  5185. (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class.
  5186. (elf_machine_rel): Handle R_X86_64_TLSDESC.
  5187. (elf_machine_rela): Likewise.
  5188. (elf_machine_lazy_rel): Likewise.
  5189. * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it.
  5190. (__tls_get_addr): Do not declare for non-shared compiles.
  5191. * sysdeps/x86_64/dl-tlsdesc.S: New file.
  5192. * sysdeps/x86_64/dl-tlsdesc.h: New file.
  5193. * sysdeps/x86_64/tlsdesc.c: New file.
  5194. * sysdeps/x86_64/tlsdesc.sym: New file.
  5195. * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add
  5196. tlsdesc_table for both 32- and 64-bit structs.
  5197. 2008-05-11 Ulrich Drepper <drepper@redhat.com>
  5198. * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in
  5199. its own function. This reduces the frame setup costs and more.
  5200. 2008-02-11 Joseph Myers <joseph@codesourcery.com>
  5201. [BZ #3406]
  5202. * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value.
  5203. * math/libm-test.inc (exp_test): Test 88.72269439697265625.
  5204. 2008-05-11 Ulrich Drepper <drepper@redhat.com>
  5205. * io/openat.c (__openat_2): Also pass fd to __openat.
  5206. * io/openat64.c (__openat64_2): Also pass fd to __openat64.
  5207. Patch by Kristian Van Der Vliet <vanders@liqwyd.com>.
  5208. * string/tester.c (test_memcmp): Add a few more tests.
  5209. Patch by Mats Erik Andersson <ynglingatal@comhem.se>.
  5210. 2008-05-10 Ulrich Drepper <drepper@redhat.com>
  5211. * nscd/cache.c (cache_add): Before returning with failure and this
  5212. is the first use of the record, mark it as unusable.
  5213. * nscd/aicache.c: Don't touch the dataset after cache_add returns
  5214. reporting a failure.
  5215. * nscd/grpcache.c: Likewise
  5216. * nscd/hstcache.c: Likewise.
  5217. * nscd/initgrcache.c: Likewise.
  5218. * nscd/pwdcache.c: Likewise.
  5219. * nscd/servicescache.c: Likewise.
  5220. 2008-05-10 Roland McGrath <roland@redhat.com>
  5221. [BZ #6505]
  5222. * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub.
  5223. 2008-05-08 David S. Miller <davem@davemloft.net>
  5224. * misc/truncate64.c (truncate64): Use __truncate not truncate.
  5225. * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel.
  5226. (__ieee754_y0l): Likewise.
  5227. * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
  5228. (__ieee754_y1l): Likewise.
  5229. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl.
  5230. * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for
  5231. frexpl and ldexpl. math_private.h provides them and the latter
  5232. is not even used.
  5233. (__log1pl): Use __frexpl.
  5234. 2008-05-10 Ulrich Drepper <drepper@redhat.com>
  5235. * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend
  5236. prototypes.
  5237. * include/arpa/nameser_compat.h: Define T_UNSPEC.
  5238. * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r.
  5239. (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r.
  5240. * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle
  5241. af==AF_UNSPEC.
  5242. (_nss_nis_gethostbyname4_r): New function.
  5243. * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
  5244. Change to also handle af==AF_UNSPEC.
  5245. (get_tablename): New function. Use it to avoid duplication.
  5246. (_nss_nisplus_gethostbyname4_r): New function.
  5247. * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is
  5248. available.
  5249. * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r.
  5250. * nss/nss.h: Define struct gaih_addrtuple.
  5251. * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle
  5252. af==AF_UNSPEC.
  5253. (_nss_files_gethostbyname4_r): New function.
  5254. * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r.
  5255. * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery
  5256. calls.
  5257. * resolv/res_query.c (__libc_res_nquery): Take two additional
  5258. parameters for second answer buffer. Handle type=T_UNSPEC to mean
  5259. look up IPv4 and IPv6.
  5260. Change all callers.
  5261. * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters
  5262. for an additional query and answer buffer. Pass to send_vc and
  5263. send_dg.
  5264. (send_vc): Send possibly two requests and receive two answers.
  5265. (send_dg): Likewise.
  5266. * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and
  5267. __libc_res_nquery.
  5268. (_nss_dns_gethostbyname4_r): New function.
  5269. (gaih_getanswer_slice): Likewise.
  5270. (gaih_getanswer): Likewise.
  5271. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust
  5272. __libc_res_nquery call.
  5273. * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
  5274. (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call.
  5275. * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is
  5276. available.
  5277. 2008-05-05 David S. Miller <davem@davemloft.net>
  5278. * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build.
  5279. * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build.
  5280. 2007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
  5281. Fix termios bit macros.
  5282. Move *DLY definitions where they belong, in termios.h.
  5283. Add *[0-3] definitions.
  5284. Fixes confusion between VT and FF.
  5285. * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0,
  5286. CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they
  5287. are already defined to avoid collision with termios.h.
  5288. (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros.
  5289. * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0,
  5290. TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise.
  5291. [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros.
  5292. [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2,
  5293. TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1,
  5294. VTDLY, VT0, VT1): New macros.
  5295. [__USE_GNU] (OLCUC): Change value of macro.
  5296. [__USE_XOPEN] (OFILL): New macro.
  5297. [__USE_BSD] (CRTSCTS): Change value.
  5298. (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros.
  5299. [__USE_BSD] (CDTRCTS, CHWFLOW): New macros.
  5300. (B7200, B14400, B28800, B76800): New macros.
  5301. 2008-05-01 David S. Miller <davem@davemloft.net>
  5302. * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file.
  5303. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]:
  5304. (gen-as-const-headers): Add it.
  5305. * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file.
  5306. * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
  5307. * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise.
  5308. * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise.
  5309. * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for
  5310. six system call parameters.
  5311. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
  5312. 2008-04-30 Ulrich Drepper <drepper@redhat.com>
  5313. * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and
  5314. RUSAGE_LWP.
  5315. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
  5316. * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
  5317. 2008-04-30 Jakub Jelinek <jakub@redhat.com>
  5318. * stdlib/tst-setcontext.c: Include unistd.h.
  5319. 2008-04-25 David S. Miller <davem@davemloft.net>
  5320. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl):
  5321. Pass "union semun" properly in to sys_ipc, it must be passed
  5322. by value, not by reference.
  5323. 2008-04-22 Jakub Jelinek <jakub@redhat.com>
  5324. * nscd/Makefile (nscd-cflags): Set back to -fpie.
  5325. * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie.
  5326. * nscd/connections.c (mem_in_flight): Likewise.
  5327. * nscd/nscd.h (dbs): Make hidden.
  5328. * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT.
  5329. Avoid returning -1, return 0 instead.
  5330. 2008-04-19 Ulrich Drepper <drepper@redhat.com>
  5331. * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16.
  5332. 2008-04-15 Ulrich Drepper <drepper@redhat.com>
  5333. [BZ #5209]
  5334. * sysdeps/unix/sysv/linux/times.c: New file.
  5335. [BZ #5381]
  5336. * nscd/nscd.h: Define enum in_flight, mem_in_flight, and
  5337. mem_in_flight_list variables. Add new parameter to mempool_alloc
  5338. prototype.
  5339. * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize
  5340. appropriate mem_in_flight element.
  5341. (gc): Take allocations which have not yet been committed to the
  5342. database into account.
  5343. * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call.
  5344. Reset mem_in_flight before returning.
  5345. * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and
  5346. cue it up in mem_in_flight_list.
  5347. * nscd/aicache.c: Adjust mempool_alloc call.
  5348. * nscd/grpcache.c: Likewise.
  5349. * nscd/hstcache.c: Likewise.
  5350. * nscd/initgrcache.c: Likewise.
  5351. * nscd/pwdcache.c: Likewise.
  5352. * nscd/servicescache.c: Likewise.
  5353. * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead
  5354. of -fpie.
  5355. * nscd/connections.c (handle_request): Provide better error message
  5356. in case SELinux forbids the service.
  5357. * version.h (VERSION): Bump to 2.8.90.
  5358. 2008-04-17 Jakub Jelinek <jakub@redhat.com>
  5359. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h.
  5360. 2008-04-11 Ulrich Drepper <drepper@redhat.com>
  5361. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):
  5362. Also use for 32-bit.
  5363. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use
  5364. __nextafter instead of nextafter to avoid local PLT.
  5365. * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.
  5366. * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
  5367. * scripts/data/localplt-powerpc64-linux-gnu.data: New file.
  5368. * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for
  5369. __fe_nomask_env.
  5370. * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include
  5371. <fenv_libc.h> instead of <fenv.h>.
  5372. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
  5373. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
  5374. * sysdeps/powerpc/bits/fenv.h: Make safe for C++.
  5375. * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file.
  5376. * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename
  5377. function from fegetexcept and make old name weak alias.
  5378. * include/fenv.h: Declare __fegetexcept.
  5379. * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of
  5380. fegetexcept.
  5381. * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise.
  5382. * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call
  5383. to fetestexcept.
  5384. * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl
  5385. instead of frexpl to avoid local PLT.
  5386. * math/s_significandl.c (__significandl): Use __ilogbl instead of
  5387. ilogbl to avoid local PLT.
  5388. * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl
  5389. instead of ldexpl to avoid local PLT.
  5390. * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
  5391. __roundl not roundl to avoid local PLT.
  5392. * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid
  5393. local PLTs. Use __sincosl instead of separate sinl and cosl
  5394. calls.
  5395. * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
  5396. * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel
  5397. version for ppc64 to 2.4.21 since without it makecontext will fail.
  5398. * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according
  5399. to the ABI in use.
  5400. [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of
  5401. .__tls_get_addr.
  5402. [__powerpc64__] (TLS_GD): Likewise.
  5403. 2007-11-20 Ryan S. Arnold <rsa@us.ibm.com>
  5404. [BZ #4997]
  5405. * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous
  5406. result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the
  5407. mantissa.
  5408. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
  5409. Likewise. Also account for when x is an odd number between 2^52
  5410. and 2^53-1.
  5411. * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise.
  5412. * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
  5413. * math/libm-test.inc (lround_test, llround_test): Added test cases to
  5414. detect aforementioned erroneous conditions.
  5415. 2008-04-11 Jakub Jelinek <jakub@redhat.com>
  5416. * configure.in: Check for -fno-section-anchors in addition to
  5417. -fno-toplevel-reorder.
  5418. 2008-04-11 Ulrich Drepper <drepper@redhat.com>
  5419. * include/features.h (__GLIBC_MINOR__): Bump to 8.
  5420. * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment.
  5421. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
  5422. * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
  5423. * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
  5424. * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
  5425. * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
  5426. 2008-04-11 Jakub Jelinek <jakub@redhat.com>
  5427. [BZ #5443]
  5428. * time/era.c: Transform __libc_setlocale_lock into rwlock.
  5429. * time/alt_digit.c: Likewise.
  5430. * wcsmbs/wcsmbsload.c: Likewise.
  5431. 2008-04-10 Ulrich Drepper <drepper@redhat.com>
  5432. * version.h (VERSION): Bump to 2.8.
  5433. * timzeone/asia: Update from tzdata2008b.
  5434. * timezone/backward: Likewise.
  5435. * timezone/europe: Likewise.
  5436. * timezone/northamerica: Likewise.
  5437. * timezone/southamerica: Likewise.
  5438. * timezone/iso3166.tab: Likewise.
  5439. * timezone/leapseconds: Likewise.
  5440. * timezone/zone.tab: Likewise.
  5441. * timezone/private.h: Update from tzcode2008a.
  5442. * timezone/zdump.c: Likewise.
  5443. * timezone/zic.c: Likewise.
  5444. 2008-01-24 Steven Munroe <sjmunroe@us.ibm.com>
  5445. [BZ #5741]
  5446. * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF):
  5447. Define additonal Data Cache Block instruction macros.
  5448. (elf_machine_fixup_plt): Add dcbt for opd and plt entries.
  5449. Replace dcbst with dcbf and sync with sync/isync.
  5450. 2008-02-21 Alan Modra <amodra@bigpond.net.au>
  5451. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
  5452. Always set ELF_RTYPE_CLASS_PLT.
  5453. (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.
  5454. 2008-04-03 Steven Munroe <sjmunroe@us.ibm.com>
  5455. * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.
  5456. * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file.
  5457. * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW):
  5458. For ISA 2.01 and later replace mftb with mfspr 268.
  5459. 2008-02-19 Steven Munroe <sjmunroe@us.ibm.com>
  5460. [BZ #5768]
  5461. * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan.
  5462. * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file.
  5463. 2008-02-18 Steven Munroe <sjmunroe@us.ibm.com>
  5464. [BZ #5768]
  5465. * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file.
  5466. * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed.
  5467. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file.
  5468. * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed.
  5469. 2008-04-10 Jakub Jelinek <jakub@redhat.com>
  5470. * stdlib/tst-makecontext.c (othervar): New variable.
  5471. (cf): Test sign extending the argument to long.
  5472. 2008-03-03 Steven Munroe <sjmunroe@us.ibm.com>
  5473. * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.
  5474. * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file.
  5475. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file.
  5476. * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file.
  5477. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file.
  5478. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file.
  5479. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file.
  5480. 2008-02-22 Alan Modra <amodra@bigpond.net.au>
  5481. * elf/Makefile (tests): Substitute tests-vis-yes here.
  5482. (tests-vis-yes): Delete.
  5483. (modules-name, modules-vis-yes): Similarly.
  5484. 2008-02-12 Pete Eberlein <eberlein@us.ibm.com>
  5485. [BZ #4407]
  5486. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
  5487. Preserve sign in signgamp when x is zero.
  5488. 2007-10-26 Steven Munroe <sjmunroe@us.ibm.com>
  5489. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.
  5490. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed.
  5491. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File.
  5492. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed.
  5493. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File.
  5494. * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File.
  5495. 2008-04-09 Ulrich Drepper <drepper@redhat.com>
  5496. [BZ #4314]
  5497. * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned
  5498. buffers.
  5499. [BZ #5209]
  5500. * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have
  5501. a reserved error value.
  5502. * stdlib/tst-makecontext.c: Change parameter to cf to negative
  5503. value to check for correct sign extension.
  5504. [BZ #5436]
  5505. * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
  5506. Copy 64-bit parameter values even though this is not required in
  5507. the standard.
  5508. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return
  5509. PC save.
  5510. 2008-02-14 Daniel Jacobowitz <dan@codesourcery.com>
  5511. * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return
  5512. PC save.
  5513. 2008-04-09 Jakub Jelinek <jakub@redhat.com>
  5514. * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.
  5515. 2008-04-09 Ulrich Drepper <drepper@redhat.com>
  5516. [BZ #5998]
  5517. * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing
  5518. in line-buffered stream failed.
  5519. * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
  5520. 2008-04-08 Ulrich Drepper <drepper@redhat.com>
  5521. [BZ #6024]
  5522. * scripts/abi-versions.awk: If the version specified by
  5523. --enable-oldest-abi is older than the first version for this
  5524. architecture, use the default version.
  5525. * locale/programs/ld-collate.c (collate_read): Ignore script lines
  5526. as well when ignoring the whole category.
  5527. 2008-04-07 Ulrich Drepper <drepper@redhat.com>
  5528. [BZ #6042]
  5529. * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more
  5530. ETHERTYPE_* definitions.
  5531. Patch partly by Aurelien Jarno <aurelien@aurel32.net>.
  5532. 2008-04-07 Jakub Jelinek <jakub@redhat.com>
  5533. * stdlib/mbtowc.c (__no_r_state): Remove.
  5534. (mbtowc): New static state variable. Use it instead of
  5535. __no_r_state.
  5536. * stdlib/wctomb.c (__no_r_state): Remove extern decl.
  5537. (__wctomb_state): New hidden variable.
  5538. (wctomb): Use __wctomb_state instead of __no_r_state.
  5539. * debug/wctomb_chk.c (__no_r_state): Remove extern decl.
  5540. (__wctomb_state): New extern decl.
  5541. (__wctomb_chk): Use __wctomb_state instead of __no_r_state.
  5542. 2008-04-07 Ulrich Drepper <drepper@redhat.com>
  5543. [BZ #5475]
  5544. * resolv/res_init.c: Handle scope IDs in resolv.conf.
  5545. 2008-04-07 Jakub Jelinek <jakub@redhat.com>
  5546. * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet.
  5547. 2008-04-06 Ulrich Drepper <drepper@redhat.com>
  5548. * po/nl.po: Update from translation team.
  5549. 2008-03-31 Ulrich Drepper <drepper@redhat.com>
  5550. [BZ #6007]
  5551. * string/strfry.c: Handle empty strings again.
  5552. 2008-03-30 Ulrich Drepper <drepper@redhat.com>
  5553. [BZ #5443]
  5554. * intl/dcigettext.c (__dcigettext): Get reader lock for locale data
  5555. before looking for translation.
  5556. * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock.
  5557. * locale/freelocale.c: Likewise.
  5558. * locale/newlocale.c: Likewise.
  5559. * locale/setlocale.c: Likewise.
  5560. Based partially on a patch by ryo@np.css.fujitsu.com.
  5561. 2008-03-30 Jakub Jelinek <jakub@redhat.com>
  5562. * intl/dcigettext.c (_nl_find_msg): Reread nconversions after
  5563. acquiring wrlock. Do conv_tab allocation while holding lock.
  5564. * intl/Makefile: Add rules to build and run tst-gettext6.
  5565. * intl/tst-gettext6.c: New test.
  5566. * intl/tst-gettext6.sh: New file.
  5567. 2008-03-30 Ulrich Drepper <drepper@redhat.com>
  5568. * po/nl.po: Update from translation team.
  5569. * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size
  5570. provided through st_blksize, try the default size before giving up.
  5571. 2008-03-29 Ulrich Drepper <drepper@redhat.com>
  5572. * stdio-common/vfprintf.c (vfprintf): Correct overflow test.
  5573. [BZ #5939]
  5574. * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.
  5575. * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded
  5576. error message. POSIX today does not require the messages to be in
  5577. a specific form. Suggested by Jim Meyering <jim@meyering.net>.
  5578. [BZ #5979]
  5579. * sunrpc/auth_unix.c: Unify printed strings.
  5580. * sunrpc/clnt_tcp.c: Likewise.
  5581. * sunrpc/clnt_udp.c: Likewise.
  5582. * sunrpc/clnt_unix.c: Likewise.
  5583. * sunrpc/svc_tcp.c: Likewise.
  5584. * sunrpc/svc_udp.c: Likewise.
  5585. * sunrpc/svc_unix.c: Likewise.
  5586. * sunrpc/xdr.c: Likewise.
  5587. * sunrpc/xdr_array.c: Likewise.
  5588. * sunrpc/xdr_rec.c: Likewise.
  5589. * sunrpc/xdr_ref.c: Likewise.
  5590. * locale/programs/ld-time.c (time_finish): Unify messages.
  5591. * locale/programs/locfile.c (handle_copy): Fix typo.
  5592. * nscd/nscd.c (options): Fix typo.
  5593. [BZ #5995]
  5594. * stdlib/strtod_l.c: Use correct sign for result in one more
  5595. underflow case.
  5596. Patch by Eric Blake <ebb9@byu.net>.
  5597. 2008-03-27 Jakub Jelinek <jakub@redhat.com>
  5598. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open
  5599. and creat system calls.
  5600. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system
  5601. call.
  5602. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat
  5603. system calls.
  5604. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
  5605. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
  5606. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  5607. 2008-03-27 Ulrich Drepper <drepper@redhat.com>
  5608. * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if
  5609. <linux/limits.h> has defined it.
  5610. * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy
  5611. ARG_MAX value and prevent ARG_MAX from being defined by the kernel
  5612. headers.
  5613. * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use
  5614. it instead of ARG_MAX.
  5615. 2008-03-25 Jakub Jelinek <jakub@redhat.com>
  5616. * posix/gai.conf: Fix comment for scope nullbits.
  5617. * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present,
  5618. default to 128 bits for v4 mapped addresses.
  5619. 2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com>
  5620. * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER
  5621. ptrace call to get the ieee_instruction_pointer from the kernel.
  5622. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER
  5623. ptrace call to set the ieee_instructtion_pointer.
  5624. * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct):
  5625. Add comment that ieee_instruction_pointer is always 0.
  5626. 2008-03-09 Andreas Jaeger <aj@suse.de>
  5627. [BZ #5857]
  5628. * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18.
  5629. * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise.
  5630. Patch by Mark Elliott <mark.h.elliott@lmco.com>.
  5631. * math/libm-test.inc (nearbyint_test): Add new test cases from #5857.
  5632. (rint_test): Likewise.
  5633. 2008-03-24 Ulrich Drepper <drepper@redhat.com>
  5634. * nis/nis_call.c (nis_server_cache_search): Save errno around stat
  5635. call.
  5636. (__nisfind_server): Similar for open readColdStartFile call.
  5637. Patch partially by Jim Meyering.
  5638. * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno
  5639. around internal_setent call.
  5640. * po/vi.po: New Vietnamese translation.
  5641. * sysdeps/unix/sysv/linux/adjtime.c: Correctly use
  5642. ADJ_OFFSET_SS_READ.
  5643. * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags,
  5644. remove CLONE_STOPPED.
  5645. 2008-02-10 Jim Meyering <meyering@redhat.com>
  5646. Remove useless "if" before "free":
  5647. * elf/ldconfig.c (parse_conf_include): Likewise.
  5648. * gmon/gmon.c (weak_alias): Likewise.
  5649. * iconv/gconv_conf.c (__gconv_get_path): Likewise.
  5650. * inet/rcmd.c (__validuser2_sa): Likewise.
  5651. * intl/bindtextdom.c (set_binding_values): Likewise.
  5652. * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise.
  5653. * libio/genops.c (save_for_backup): Likewise.
  5654. * libio/wgenops.c (save_for_wbackup): Likewise.
  5655. * locale/programs/ld-collate.c (collate_read): Likewise.
  5656. * locale/programs/linereader.c (get_string): Likewise.
  5657. * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise.
  5658. * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise.
  5659. * resolv/res_debug.c (do_section): Likewise.
  5660. * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise.
  5661. * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise.
  5662. * sysdeps/posix/sprofil.c (__sprofil): Likewise.
  5663. * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
  5664. * time/tzset.c (tzset_internal): Likewise.
  5665. 2008-03-18 Jakub Jelinek <jakub@redhat.com>
  5666. * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead
  5667. of ASSEMBLER.
  5668. 2008-03-11 Ulrich Drepper <drepper@redhat.com>
  5669. [BZ #5903]
  5670. * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file
  5671. not stream for output file. Open output file here.
  5672. * iconv/iconv_prog.c (process_lock): Take pointer to output stream
  5673. and output file name.
  5674. (process_fd): Likewise.
  5675. (process_file): Likewise.
  5676. (main): Adjust callers of changed functions.
  5677. * iconv/iconv_prog.h: Adjust prototype.
  5678. 2008-03-09 Andreas Jaeger <aj@suse.de>
  5679. [BZ #5753]
  5680. * sysdeps/ia64/ieee754.h: Use protected namespace
  5681. __BIG_ENDIAN/__LITTLE_ENDIAN.
  5682. * sysdeps/ieee754/ieee754.h: Likewise.
  5683. Patch by Aurelien Jarno <aurelien@aurel32.net>.
  5684. 2008-03-08 Roland McGrath <roland@frob.com>
  5685. * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would
  5686. ignore a signal that came from a machine exception, treat it as a
  5687. fatal core-dump signal instead.
  5688. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
  5689. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
  5690. Clear DF bit in thread state's eflags.
  5691. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
  5692. 2008-03-08 Ulrich Drepper <drepper@redhat.com>
  5693. [BZ #5774]
  5694. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace
  5695. of NAN(...) sequence.
  5696. * stdlib/Makefile (tests): Add tst-strtod6.
  5697. * stdlib/tst-strtod6.c: New file.
  5698. * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow.
  5699. [BZ #5762]
  5700. * posix/getopt.c (_getopt_internal_r): Clarify error message by
  5701. putting offending option character in quotes. Clean up error
  5702. messages.
  5703. * po/be.po: Adjust msgstr in translation file.
  5704. * po/bg.po: Likewise.
  5705. * po/ca.po: Likewise.
  5706. * po/cs.po: Likewise.
  5707. * po/da.po: Likewise.
  5708. * po/de.po: Likewise.
  5709. * po/es.po: Likewise.
  5710. * po/fr.po: Likewise.
  5711. * po/hr.po: Likewise.
  5712. * po/ko.po: Likewise.
  5713. * po/nl.po: Likewise.
  5714. * po/rw.po: Likewise.
  5715. * po/sk.po: Likewise.
  5716. * po/sv.po: Likewise.
  5717. * po/tr.po: Likewise.
  5718. * po/zh_CN.po: Likewise.
  5719. * po/zh_TW.po: Likewise.
  5720. [BZ #5760]
  5721. * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation.
  5722. Patch by Roland Bless <roland@bless.de>.
  5723. * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for
  5724. .o file.
  5725. * elf/Makefile (routines): Add dl-sysdep.
  5726. (elide-routines.os): Likewise.
  5727. 2008-03-07 Ulrich Drepper <drepper@redhat.com>
  5728. [BZ #5786]
  5729. * elf/dl-sysdep.c: Undefine ROUND after use.
  5730. * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION]
  5731. (struct rtld_global_ro): Add _dl_tls_get_addr_soft element.
  5732. * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion.
  5733. * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion
  5734. to ...
  5735. * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here.
  5736. * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion
  5737. if necessary.
  5738. * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here.
  5739. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
  5740. _dl_tls_get_addr_soft element.
  5741. * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft.
  5742. * elf/Versions (ld): Don't export _dl_tls_get_addr_soft.
  5743. * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through
  5744. GLRO.
  5745. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
  5746. * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead
  5747. of internal_function.
  5748. * stdlib/Makefile (aux): Add tens_in_limb.
  5749. * stdlib/strtod_l.c: Move _tens_in_limb definition to...
  5750. * stdlib/tens_in_limb.c: ...here. New file.
  5751. [BZ #5778]
  5752. * sysdeps/unix/sysv/linux/pathconf.h: Declare
  5753. __statfs_chown_restricted.
  5754. * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted
  5755. for _PC_CHOWN_RESTRICTED.
  5756. * sysdeps/unix/sysv/linux/pathconf.c: Likewise.
  5757. Implement __statfs_chown_restricted.
  5758. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change
  5759. _POSIX_CHOWN_RESTRICTED value to zero.
  5760. * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED
  5761. defined to zero.
  5762. * sysdeps/x86_64/rtld-memset.c: New file.
  5763. 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com>
  5764. * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards.
  5765. * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD
  5766. Barcelona machine. Make default fall through branch of
  5767. __x86_64_preferred_memory_instruction check as the integer code path.
  5768. 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
  5769. * sysdeps/x86_64/cacheinfo.c
  5770. (__x86_64_preferred_memory_instruction): New variable.
  5771. (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction.
  5772. * sysdeps/x86_64/memset.S: Rewrite.
  5773. 2008-03-04 Jakub Jelinek <jakub@redhat.com>
  5774. * include/stdio.h (__asprintf_chk, __dprintf_chk,
  5775. __obstack_printf_chk): New prototypes.
  5776. (__vasprintf_chk, __vdprintf_chk,
  5777. __obstack_vprintf_chk): Likewise.
  5778. Add libc_hidden_proto.
  5779. * libio/obprintf.c
  5780. (_IO_obstack_jumps): No longer static, add attribute_hidden.
  5781. * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk,
  5782. __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk,
  5783. __obstack_vprintf_chk): Add __LDBL_REDIR_DECL.
  5784. * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk,
  5785. __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk,
  5786. __obstack_vprintf_chk): New prototypes.
  5787. (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf,
  5788. obstack_vprintf): New inlines.
  5789. * debug/dprintf_chk.c: New file.
  5790. * debug/vdprintf_chk.c: New file.
  5791. * debug/asprintf_chk.c: New file.
  5792. * debug/vasprintf_chk.c: New file.
  5793. * debug/obprintf_chk.c: New file.
  5794. * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests.
  5795. * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk,
  5796. __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export
  5797. @@GLIBC_2.8.
  5798. * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk,
  5799. vdprintf_chk and obprintf_chk, set CFLAGS for them.
  5800. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk,
  5801. __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add
  5802. libc_hidden_proto.
  5803. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk,
  5804. __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes.
  5805. * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk,
  5806. __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk,
  5807. __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export
  5808. @@GLIBC_2.8.
  5809. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk,
  5810. vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and
  5811. obstack_vprintf_chk.
  5812. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file.
  5813. * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file.
  5814. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file.
  5815. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file.
  5816. * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file.
  5817. * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file.
  5818. 2008-03-04 Ulrich Drepper <drepper@redhat.com>
  5819. [BZ #5779]
  5820. * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions.
  5821. Patch by Roy Marples <roy@marples.name>.
  5822. [BZ #5736]
  5823. * malloc/malloc.c: Fix typo in comment.
  5824. [BZ #5627]
  5825. * locale/iso-639.def: Add Shuswap.
  5826. 2008-02-25 Jakub Jelinek <jakub@redhat.com>
  5827. [BZ #5790]
  5828. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't
  5829. overwrite *h_errnop/*errnop values from getanswer_r in case of
  5830. failure.
  5831. 2008-03-03 Ulrich Drepper <drepper@redhat.com>
  5832. [BZ #5818]
  5833. * nscd/connections.c (dbs): Add initializers for .suggested_module.
  5834. (verify_persistent_db): Remove one unnecessary test and add a new one
  5835. for bad configuration.
  5836. (nscd_init): Improve error reported when persistent database cannot
  5837. be reused.
  5838. * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define.
  5839. * nscd/nscd_conf.c (nscd_parse_file): Provide default values for
  5840. .suggested_module and .max_db_size and case config file says the
  5841. values are zero.
  5842. * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero.
  5843. [BZ #5854]
  5844. * nis/ypclnt.c (yp_order): Fix handling of return value of
  5845. do_ypcall_tr call.
  5846. Patch by Jeff Moyer <jmoyer@redhat.com>.
  5847. * po/fr.po: Update from translation team.
  5848. 2008-02-22 Andreas Jaeger <aj@suse.de>,
  5849. Carlos O'Donell <carlos@systemhalted.org>
  5850. [BZ #5012]
  5851. * FAQ.in: Describe why glibc needs to be compiled with
  5852. optimization.
  5853. 2008-02-19 Roland McGrath <roland@redhat.com>
  5854. * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro.
  5855. 2008-02-15 Ulrich Drepper <drepper@redhat.com>
  5856. [BZ #5737]
  5857. * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when
  5858. __USE_MISC is defined.
  5859. 2008-02-10 Ulrich Drepper <drepper@redhat.com>
  5860. * sysdeps/unix/sysv/linux/sys/timerfd.h: New file.
  5861. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add
  5862. sys/timerfd.h.
  5863. * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create,
  5864. timerfd_gettime, timerfd_settime.
  5865. * sysdeps/unix/sysv/linux/Versions: Add timerfd_create,
  5866. timerfd_gettime, timerfd_settime for GLIBC_2.8.
  5867. 2008-02-08 Roland McGrath <roland@redhat.com>
  5868. * elf/elf.h (NT_PPC_SPE): New macro.
  5869. 2008-02-06 Roland McGrath <roland@redhat.com>
  5870. * Makerules ($(common-objpfx)sysd-rules):
  5871. Depend on $(sysdep-makeconfigs).
  5872. 2008-01-31 Roland McGrath <roland@redhat.com>
  5873. [BZ #5442]
  5874. * configure.in: Use -print-file-name if it yields a directory,
  5875. for each of include and include-fixed.
  5876. * configure: Regenerated.
  5877. * Makeconfig (sysd-rules-targets): New variable.
  5878. * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted.
  5879. * sysdeps/unix/Makefile (omit-deps): Append variants for each target.
  5880. 2008-01-30 Roland McGrath <roland@redhat.com>
  5881. * manual/libc.texinfo: Update back-cover text.
  5882. * elf/elf.h (NT_386_TLS): New macro.
  5883. 2008-01-29 Roland McGrath <roland@redhat.com>
  5884. * Makeconfig (sysd-rules-patterns): New variable.
  5885. * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that.
  5886. (check-inhibit-asm): New canned sequence, replaces ...
  5887. (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed.
  5888. * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands.
  5889. (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld.
  5890. (CFLAGS-rtld): Variable removed.
  5891. 2008-01-24 Roland McGrath <roland@redhat.com>
  5892. * configure.in: Let configure fragments set base_os.
  5893. * configure: Regenerated.
  5894. 2008-01-22 Ulrich Drepper <drepper@redhat.com>
  5895. * po/ko.po: Update from translation team.
  5896. 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
  5897. * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw.
  5898. 2008-01-12 Andreas Jaeger <aj@suse.de>
  5899. [BZ #5040]
  5900. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS):
  5901. Add EPOLLRDHUP.
  5902. 2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
  5903. * hurd/hurdsock.c (_hurd_socket_server): Return the standard
  5904. error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT.
  5905. * sunrpc/bindrsvprt.c (bindresvport): Likewise.
  5906. 2007-10-23 Alexandre Oliva <aoliva@redhat.com>
  5907. * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define.
  5908. * elf/dl-close.c (_dl_close): Check for it.
  5909. * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise.
  5910. (_dl_allocate_static_tls): Likewise.
  5911. * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
  5912. (__tls_get_addr): Protect from race conditions in setting l_tls_offset
  5913. to it.
  5914. * elf/tst-tls16.c: New file.
  5915. * elf/tst-tlsmod16a.c: New file.
  5916. * elf/tst-tlsmod16b.c: New file.
  5917. * elf/Makefile: Add rules to build and run tst-tls16.
  5918. 2008-01-16 Ulrich Drepper <drepper@redhat.com>
  5919. [BZ #5628]
  5920. * bits/shm.h: Fix comment describing shmid_ds.
  5921. * sysdeps/gnu/bits/shm.h: Likewise.
  5922. * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
  5923. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
  5924. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
  5925. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
  5926. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
  5927. * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
  5928. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
  5929. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
  5930. Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>.
  5931. [BZ #5607]
  5932. * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate
  5933. prototypes.
  5934. * conform/data/limits.h-data: Adjust limits changed in v6 and add
  5935. additional suffixes.
  5936. * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry.
  5937. Add optional functions mq_timedreceive and mq_timedsend.
  5938. * conform/data/netdb.h-data: Add more AI_* and EAI_* constants.
  5939. * conform/data/pthread.h-data: Fix prototype of
  5940. pthread_condattr_setclock. pthread_sigmask is not required in v6.
  5941. * conform/data/semaphore.h-data: Allow time.h definitions.
  5942. * conform/data/signal.h-data: Likewise.
  5943. * conform/data/stdio.h-data: getw and putw are not required in v6.
  5944. * conform/data/stdlib.h-data: Change setstate prototype.
  5945. * conform/data/string.h-data: Fix strerror_r prototype.
  5946. * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition.
  5947. * conform/data/unistd.h-data: pthread_atfork not required in v6.
  5948. Fix readlink prototype.
  5949. * conform/data/netinet/in.h-data: Add const to in6addr_any and
  5950. in6addr_loopback.
  5951. * inet/netinet/in.h: Cleanup namespace.
  5952. * posix/regex.h: Likewise.
  5953. * resolv/netdb.h: Likewise.
  5954. * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
  5955. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
  5956. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  5957. * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change
  5958. of names of in in6_addr.
  5959. (default_precedence): Likewise.
  5960. * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for
  5961. NULL definition.
  5962. 2008-01-15 Ulrich Drepper <drepper@redhat.com>
  5963. * conform/data/fmtmsg.h-data: Add missing allows.
  5964. * conform/data/ftw.h-data: Likewise.
  5965. * conform/data/inttypes.h-data: Likewise.
  5966. * conform/data/math.h-data: Likewise.
  5967. * conform/data/signal.h-data: Likewise.
  5968. * conform/data/net/if.h-data: Likewise.
  5969. * conform/data/netinet/in.h-data: Likewise.
  5970. * conform/data/sys/socket.h-data: Likewise.
  5971. [BZ #5614]
  5972. * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP.
  5973. (__strtok_r): Simplify.
  5974. * string/tester.c (test_strtok_r): Add test case for futile search
  5975. with single-character seach string.
  5976. 2008-01-12 Ulrich Drepper <drepper@redhat.com>
  5977. * po/ko.po: Update from translation team.
  5978. 2008-01-11 Andreas Jaeger <aj@suse.de>
  5979. [BZ #5600]
  5980. * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
  5981. signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux
  5982. kernel header.
  5983. 2008-01-10 Ulrich Drepper <drepper@redhat.com>
  5984. * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of
  5985. native interface lookup in all the relevant places.
  5986. 2008-01-10 Jakub Jelinek <jakub@redhat.com>
  5987. Ulrich Drepper <drepper@redhat.com>
  5988. * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order
  5989. field. Use sockaddr_in6 for source_addr.
  5990. (get_scope): Change type of parameter to sockaddr_in6. Adjust.
  5991. (match_prefix): Likewise.
  5992. (get_label): Likewise.
  5993. (get_precedence): Likewise.
  5994. (rfc3484_sort): Change to use indirect access to results array.
  5995. Adjust to use of sockaddr_in6. Replace service_order test with
  5996. simple index comparison.
  5997. (getaddrinfo): Define order array. Initialize it. Don't initialize
  5998. service_order field. Adjust qsort_t calls. Access sorted result
  5999. array indirectly through order array.
  6000. * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort.
  6001. * posix/tst-rfc3484-2.c: Likewise.
  6002. * posix/tst-rfc3484-3.c: Likewise.
  6003. 2008-01-09 Ulrich Drepper <drepper@redhat.com>
  6004. [BZ #5541]
  6005. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and
  6006. pollfd structures.
  6007. Patch by André Cruz.
  6008. [BZ #5545]
  6009. * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer.
  6010. (clnt_spcreateerror): Likewise.
  6011. [BZ #5553]
  6012. * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena.
  6013. (public_mEMALIGn): Likewise.
  6014. Patch mostly by Daniel Jacobowitz.
  6015. 2008-01-09 Jakub Jelinek <jakub@redhat.com>
  6016. * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid
  6017. clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size.
  6018. * stdlib/Makefile: Add rules to build and run tst-makecontext2.
  6019. * stdlib/tst-makecontext2.c: New test.
  6020. 2008-01-08 Jakub Jelinek <jakub@redhat.com>
  6021. * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not
  6022. defined.
  6023. (REINIT_PARAMS): Likewise. Undefine before end of file.
  6024. (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling
  6025. transliteration hooks and REINIT_PARAMS afterwards.
  6026. * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for
  6027. status.
  6028. (REINIT_PARAMS): Define.
  6029. * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise.
  6030. * iconvdata/ibm930.c (REINIT_PARAMS): Likewise.
  6031. * iconvdata/ibm933.c (REINIT_PARAMS): Likewise.
  6032. * iconvdata/ibm935.c (REINIT_PARAMS): Likewise.
  6033. * iconvdata/ibm937.c (REINIT_PARAMS): Likewise.
  6034. * iconvdata/ibm939.c (REINIT_PARAMS): Likewise.
  6035. * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise.
  6036. * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise.
  6037. * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise.
  6038. * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise.
  6039. * iconvdata/Makefile: Add rules to build and run tst-iconv7.c.
  6040. * iconvdata/tst-iconv7.c: New test.
  6041. 2008-01-07 Ulrich Drepper <drepper@redhat.com>
  6042. * libio/stdio.h (vscanf): Fix definition for loser compilers.
  6043. 2008-01-05 Jakub Jelinek <jakub@redhat.com>
  6044. [BZ #5112]
  6045. * nscd/connections.c (restart): Fix condition.
  6046. 2008-01-03 Jakub Jelinek <jakub@redhat.com>
  6047. * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc,
  6048. __ctype_toupper_loc): Add __THROW.
  6049. 2008-01-02 Ulrich Drepper <drepper@redhat.com>
  6050. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix
  6051. recognition of interface family.
  6052. * posix/getconf.c: Update copyright year.
  6053. * nss/getent.c: Likewise.
  6054. * iconv/iconvconfig.c: Likewise.
  6055. * iconv/iconv_prog.c: Likewise.
  6056. * elf/ldconfig.c: Likewise.
  6057. * catgets/gencat.c: Likewise.
  6058. * csu/version.c: Likewise.
  6059. * elf/ldd.bash.in: Likewise.
  6060. * elf/sprof.c (print_version): Likewise.
  6061. * locale/programs/locale.c: Likewise.
  6062. * locale/programs/localedef.c: Likewise.
  6063. * nscd/nscd.c (print_version): Likewise.
  6064. * debug/xtrace.sh: Likewise.
  6065. * malloc/memusage.sh: Likewise.
  6066. * malloc/mtrace.pl: Likewise.
  6067. * debug/catchsegv.sh: Likewise.
  6068. 2007-12-26 Ulrich Drepper <drepper@redhat.com>
  6069. * nss/nsswitch.c (__nss_lookup): Actually use alternative name in
  6070. second lookup.
  6071. 2007-12-23 Ulrich Drepper <drepper@redhat.com>
  6072. * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f.
  6073. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
  6074. 2007-12-17 Roland McGrath <roland@redhat.com>
  6075. * inet/ether_line.c (ether_line): Remove unused variable.
  6076. 2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
  6077. * login/forkpty.c (forkpty): Add const qualifier to parameters termp
  6078. and winp.
  6079. * login/openpty.c (openpty): Likewise.
  6080. * login/pty.h (openpty, forkpty): Likewise.
  6081. * manual/terminal.texi (openpty, forkpty): Likewise.
  6082. 2007-12-17 Ulrich Drepper <drepper@redhat.com>
  6083. * malloc/malloc.c (public_cALLOc): For arenas other than
  6084. main_arena, count all bytes inside the mprotect_size range of the
  6085. heap as uninitialized.
  6086. 2007-12-16 Ulrich Drepper <drepper@redhat.com>
  6087. * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids
  6088. executable stacks.
  6089. * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call
  6090. mTRIm for all of them.
  6091. (mTRIm): Additionally iterate over all free blocks and use madvise
  6092. to free memory for all those blocks which contain at least one
  6093. memory page.
  6094. * malloc/tst-trim1.c: New file.
  6095. * malloc/Makefile (tests): Add tst-trim1.
  6096. * malloc/malloc.c (do_check_malloc_state): Minimal cleanups.
  6097. 2007-12-14 Ulrich Drepper <drepper@redhat.com>
  6098. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
  6099. First cast argument to long
  6100. * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday):
  6101. Return long.
  6102. (__vdso_clock_gettime): Likewise.
  6103. * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions
  6104. return long.
  6105. 2007-12-13 Ulrich Drepper <drepper@redhat.com>
  6106. * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l.
  6107. * locale/nl_langinfo_l.c: Real implementation, copied from
  6108. nl_langinfo.c.
  6109. * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l.
  6110. 2007-12-01 Jim Meyering <meyering@redhat.com>
  6111. * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,
  6112. that would inhibit utf8-optimization of a regexp containing line-
  6113. or buffer-anchors, e.g., `^', `$'.
  6114. 2007-12-12 Ulrich Drepper <drepper@redhat.com>
  6115. * time/bug-getdate1.c (do_test): Don't use century values which
  6116. aren't valid on 32-bit systems.
  6117. 2007-12-12 Jakub Jelinek <jakub@redhat.com>
  6118. * sysdeps/i386/i486/bits/string.h (memmove): Define as macro.
  6119. (memmove): Rename to __memmove_g, with __asm__ ("memmove").
  6120. * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g,
  6121. __strcat_g, __strncat_g): Add __asm__.
  6122. 2007-12-12 Ulrich Drepper <drepper@redhat.com>
  6123. [BZ #5477]
  6124. * io/fchmodat.c: Fix typo in stub_warning use.
  6125. Patch by Petr Salinger.
  6126. 2007-12-11 Ulrich Drepper <drepper@redhat.com>
  6127. * iconvdata/hp-thai8.c: New file.
  6128. * iconvdata/Makefile: Add rules for hp-thai8.c.
  6129. * iconvdata/tst-tables.sh: Add entry for HP-THAI8.
  6130. * iconvdata/gconv-modules: Likewise.
  6131. [BZ #5464]
  6132. * iconvdata/hp-greek8.c: New file.
  6133. * iconvdata/Makefile: Add rules for hp-greek8.c.
  6134. * iconvdata/tst-tables.sh: Add entry for HP-GREEK8.
  6135. * iconvdata/gconv-modules: Likewise.
  6136. [BZ #5463]
  6137. * iconvdata/hp-turkish8.c: New file.
  6138. * iconvdata/Makefile: Add rules for hp-turkish8.c.
  6139. * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8.
  6140. * iconvdata/gconv-modules: Likewise.
  6141. * malloc/arena.c (grow_heap): Split out code to shrink heap into...
  6142. (shrink_heap): ... this new function.
  6143. (heap_trim): Call shrink_heap instead of grow_heap.
  6144. * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this
  6145. case don't call alloc_perturb.
  6146. 2007-12-10 Ulrich Drepper <drepper@redhat.com>
  6147. * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if
  6148. possible.
  6149. * sysdeps/unix/sysv/linux/kernel-features.h
  6150. (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24.
  6151. * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define.
  6152. 2007-12-08 Ulrich Drepper <drepper@redhat.com>
  6153. [BZ #5424]
  6154. * stdio-common/vfprintf.c: Do not overflow when adding to done.
  6155. * stdio-common/Makefile (tests): Add bug22.
  6156. * stdio-common/bug22.c: New file.
  6157. [BZ #5451]
  6158. * time/getdate.c: Fix filling in default values.
  6159. * time/bug-getdate1.c: New file.
  6160. * time/Makefile: Add rules to build and run bug-getdate1.
  6161. * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic.
  6162. * iconvdata/ebcdic-es.c: Likewise.
  6163. * iconvdata/ebcdic-es-a.c: Likewise.
  6164. * iconvdata/ebcdic-uk.c: Likewise.
  6165. * iconvdata/iso8859-16.c: Likewise.
  6166. * iconvdata/viscii.c: Likewise.
  6167. * iconvdata/iso8859-9e.c: Likewise.
  6168. * iconvdata/Makefile: Adjust appropriately.
  6169. [BZ #5428]
  6170. * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and
  6171. __need_wint_t.
  6172. 2007-12-07 Ulrich Drepper <drepper@redhat.com>
  6173. [BZ #5427]
  6174. * iconvdata/hp-roman9.c: New file.
  6175. * iconvdata/Makefile: Add rules for hp-roman9.c.
  6176. * iconvdata/tst-tables.sh: Add HP-ROMAN9.
  6177. * iconvdata/gconv-modules: Likewise.
  6178. * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic.
  6179. * iconvdata/Makefile: Adjust appropriately.
  6180. [BZ #5441]
  6181. * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free
  6182. structure, it's allocated with alloca.
  6183. * stdio-common/Makefile (tests): Add bug21.
  6184. * stdio-common/bug21.c: New file.
  6185. 2007-12-06 Aurelien Jarno <aurelien@aurel32.net>
  6186. [BZ #5452]
  6187. * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__
  6188. keyword for gcc's braced-groups.
  6189. 2007-12-07 Ulrich Drepper <drepper@redhat.com>
  6190. [BZ #5454]
  6191. * inet/ether_line.c: Strip hostname of whitespaces.
  6192. * inet/Makefile (tests): Add tst-ether_line.
  6193. * inet/tst-ether_line.c: New file.
  6194. 2007-12-03 Ulrich Drepper <drepper@redhat.com>
  6195. [BZ #5439]
  6196. * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull.
  6197. [BZ #5435]
  6198. * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack.
  6199. * stdlib/tst-setcontext.c: Catch the case where the links gets
  6200. messed up and we do not reach main again.
  6201. * po/ca.po: Update from translation team.
  6202. 2007-11-26 Ulrich Drepper <drepper@redhat.com>
  6203. * posix/unistd.h: Declare fsync also for __USE_XOPEN2K.
  6204. * posix/regex.h (REG_ENOSYS): Likewise.
  6205. * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
  6206. 2007-11-25 Ulrich Drepper <drepper@redhat.com>
  6207. * nscd/nscd.h (MAX_STACK_USE): Define.
  6208. * nscd/mem.c (MAX_STACK_USE): Remove definition here.
  6209. (gc): Initialize stack_used based on allocation in prune_cache.
  6210. * nscd/cache.c (prune_cache): Use heap for mark array if necessary.
  6211. Clear array before use.
  6212. * nscd/aicache.c (addhstaiX): Update statistics counter in case
  6213. memory allocation failed.
  6214. * nscd/hstcache.c (cache_addhst): Likewise.
  6215. * nscd/grpcache.c (cache_addgr): Likewise.
  6216. * nscd/servicescache.c (cache_addserv): Likewise.
  6217. * nscd/pwdcache.c (cache_addpw): Likewise.
  6218. * nscd/initgrcache.c (addinitgroupsX): Likewise.
  6219. 2007-11-23 Ulrich Drepper <drepper@redhat.com>
  6220. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open
  6221. and creat system calls.
  6222. * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.
  6223. 2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
  6224. * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):
  6225. Add netiucv/iucv.h.
  6226. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file.
  6227. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV
  6228. protocol.
  6229. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise.
  6230. * sysdeps/unix/sysv/linux/s390/opensock.c: New file.
  6231. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
  6232. 2007-11-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
  6233. * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat,
  6234. strncat): Define as macros to avoid compile errors.
  6235. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and
  6236. creat entries.
  6237. 2007-11-22 Ulrich Drepper <drepper@redhat.com>
  6238. [BZ #5382]
  6239. * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define.
  6240. * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE.
  6241. * nscd/mem.c (gc): Don't allocate arrays on the stack if they can
  6242. overflow it.
  6243. Partially based on a patch by Petr Baudiš <pasky@suse.cz>.
  6244. * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread):
  6245. Return zero in case the thread library is not NPTL.
  6246. [BZ #5375]
  6247. * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when
  6248. initializing interface list.
  6249. [BZ #5378]
  6250. * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
  6251. use result of nss_getgrgid_r if nothing was found. For other
  6252. error return with a failure.
  6253. Partially based on a patch by Petr Baudiš <pasky@suse.cz>.
  6254. * locale/programs/ld-collate.c (collate_read): Fix loop to match
  6255. macro name.
  6256. 2007-11-19 Ulrich Drepper <drepper@redhat.com>
  6257. * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables.
  6258. (get_scope): For IPv4 scope, use scopes table.
  6259. (fini): Free scopes table if necessary.
  6260. (free_scopelist): New function.
  6261. (scopecmp): New function.
  6262. (gaiconf_init): Also handle scopev4 entries.
  6263. * posix/tst-rfc3484.c (do_test): Initialize scopes.
  6264. * posix/tst-rfc3484-2.c (do_test): Likewise.
  6265. * posix/gai.conf: Document scopev4 defaults.
  6266. * posix/Makefile (tests): Add tst-rfc3484-3.
  6267. * posix/tst-rfc3484-3.c: New file.
  6268. * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for
  6269. Teredo tunnels.
  6270. * posix/gai.conf: Update for current default tables.
  6271. 2007-11-19 Ulrich Drepper <drepper@redhat.com>
  6272. * po/tr.po: Update from translation team.
  6273. 2007-11-18 Roland McGrath <roland@frob.com>
  6274. * manual/arith.texi (Remainder Functions): Spelling fix.
  6275. From Shaun Silk <genix@mysoul.com.au>.
  6276. * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
  6277. 2007-11-17 Ulrich Drepper <drepper@redhat.com>
  6278. * po/zh_CN.po: Update from translation team.
  6279. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
  6280. Add sys/signalfd.h and sys/eventfd.h.
  6281. 2007-11-15 Bruno Haible <bruno@clisp.org>
  6282. [BZ #5346]
  6283. * intl/dcigettext.c (struct known_translation_t): Turn msgid into a
  6284. union.
  6285. (transcmp): Use the appropriate part of s1->msgid and s2->msgid.
  6286. (DCIGETTEXT): Change the allocation of the 'search' variable so that
  6287. it needs only fixed stack space. Delay the initialization of
  6288. msgid_len until it is needed.
  6289. 2007-11-15 Andreas Jaeger <aj@suse.de>
  6290. * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union.
  6291. Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>.
  6292. 2007-11-15 Ulrich Drepper <drepper@redhat.com>
  6293. * po/ko.po: Update from translation team.
  6294. 2007-11-14 Ulrich Drepper <drepper@redhat.com>
  6295. * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify
  6296. significantly. The device type is also part of the ifinfomsg data.
  6297. * po/sv.po: Update from translation team.
  6298. * po/nl.po: Likewise.
  6299. * nscd/cache.c (prune_cache): If cache is empty, instruct caller
  6300. to wake up in 24 hours.
  6301. * nscd/gai.c (__ioctl): Define. Include check_native.c.
  6302. 2007-11-13 Ulrich Drepper <drepper@redhat.com>
  6303. * po/cs.po: Update from translation team.
  6304. * po/pl.po: Likewise.
  6305. * include/ifaddrs.h: Remove in6ai_temporary.
  6306. (struct in6addrinfo): Add index element.
  6307. Declare __check_native.
  6308. * inet/Makefile (aux): Add check_native.
  6309. * sysdeps/unix/sysv/linux/check_native.c: New file.
  6310. * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize
  6311. IFA_F_TEMPORARY. Pass back ifa_index.
  6312. * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code.
  6313. (rfc3484_sort): Add new parameter. Implement rule 7 correctly:
  6314. call __check_native if necessary.
  6315. (getaddrinfo): Fill in index field. Use qsort_r instead of qsort
  6316. to sort addresses. Pass information about the results.
  6317. * posix/tst-rfc3484.c: Adjust for addition of index field and change
  6318. of rfc3484_sort interface.
  6319. * posix/tst-rfc3484-2.c: Likewise.
  6320. * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r.
  6321. * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype
  6322. for _quicksort.
  6323. * stdlib/msort.c (qsort): Now a wrapper around qsort_r.
  6324. (qsort_r): Renamed from qsort. Take additional parameter and pass it
  6325. on as third parameter to compare function and _quicksort.
  6326. * stdlib/qsort.c (_quicksort): Take additional parameter and pass on
  6327. to the compare function.
  6328. * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r.
  6329. * Versions.def: Add GLIBC_2.8 for libc.
  6330. * posix/tst-rfc3484.c: Adjust for addition of prefixlen field.
  6331. * posix/tst-rfc3484-2.c: Likewise.
  6332. * include/kernel-features.h: Moved to...
  6333. * sysdeps/mach/hurd/kernel-features.h: ...here.
  6334. 2007-09-13 H.J. Lu <hongjiu.lu@intel.com>
  6335. * sysdeps/i386/i586/memcpy_chk.S: New file.
  6336. * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
  6337. * sysdeps/i386/i586/memset_chk.S: Likewise.
  6338. 2007-11-12 Ulrich Drepper <drepper@redhat.com>
  6339. * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field.
  6340. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return
  6341. list of interfaces. Also store prefix length.
  6342. * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element.
  6343. (rfc3484_sort): In rule 9, for IPv4 addresses count only matching
  6344. prefix if source and destination address are in the same subnet.
  6345. (getaddrinfo): Always call __check_pf. Fill in prefixlen field.
  6346. Always look for matching record in in6ai list.
  6347. Correct source_addr_len value for IPv6->IPv4 converted records.
  6348. 2007-11-11 Roland McGrath <roland@frob.com>
  6349. * include/kernel-features.h: New file.
  6350. 2007-11-10 Ulrich Drepper <drepper@redhat.com>
  6351. * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary
  6352. complications for 64-bit platforms.
  6353. * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to..
  6354. * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file.
  6355. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add
  6356. open64_2.
  6357. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat
  6358. entries.
  6359. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
  6360. * sysdeps/wordsize-64/alphasort.c: New file.
  6361. * sysdeps/wordsize-64/alphasort64.c: New file.
  6362. * sysdeps/wordsize-64/fseeko.c: New file.
  6363. * sysdeps/wordsize-64/fseeko64.c: New file.
  6364. * sysdeps/wordsize-64/ftello.c: New file.
  6365. * sysdeps/wordsize-64/ftello64.c: New file.
  6366. * sysdeps/wordsize-64/ftw.c: New file.
  6367. * sysdeps/wordsize-64/ftw64.c: New file.
  6368. * sysdeps/wordsize-64/iofgetpos.c: New file.
  6369. * sysdeps/wordsize-64/iofgetpos64.c: New file.
  6370. * sysdeps/wordsize-64/iofopen.c: New file.
  6371. * sysdeps/wordsize-64/iofopen64.c: New file.
  6372. * sysdeps/wordsize-64/iofsetpos.c: New file.
  6373. * sysdeps/wordsize-64/iofsetpos64.c: New file.
  6374. * sysdeps/wordsize-64/lockf.c: New file.
  6375. * sysdeps/wordsize-64/lockf64.c: New file.
  6376. * sysdeps/wordsize-64/mkostemp.c: New file.
  6377. * sysdeps/wordsize-64/mkostemp64.c: New file.
  6378. * sysdeps/wordsize-64/mkstemp.c: New file.
  6379. * sysdeps/wordsize-64/mkstemp64.c: New file.
  6380. * sysdeps/wordsize-64/scandir.c: New file.
  6381. * sysdeps/wordsize-64/scandir64.c: New file.
  6382. * sysdeps/wordsize-64/tmpfile.c: New file.
  6383. * sysdeps/wordsize-64/tmpfile64.c: New file.
  6384. * sysdeps/wordsize-64/versionsort.c: New file.
  6385. * sysdeps/wordsize-64/versionsort64.c: New file.
  6386. * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file.
  6387. * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file.
  6388. * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file.
  6389. * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file.
  6390. * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file.
  6391. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file.
  6392. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file.
  6393. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file.
  6394. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file.
  6395. * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file.
  6396. * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file.
  6397. * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file.
  6398. * crypt/sha256-crypt.c: Fix a comment.
  6399. * crypt/sha512-crypt.c: Likewise.
  6400. 2007-11-07 H.J. Lu <hongjiu.lu@intel.com>
  6401. * sysdeps/x86_64/memset.S: Add sfence after movnti.
  6402. 2007-11-07 Ulrich Drepper <drepper@redhat.com>
  6403. [BZ #5277]
  6404. * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed
  6405. because output buffer is too small break, don't loop.
  6406. * iconvdata/Makefile (tests): Add bug-iconv6.
  6407. * iconvdata/bug-iconv6.c: New file.
  6408. 2007-11-06 Ulrich Drepper <drepper@redhat.com>
  6409. * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size
  6410. with size_t type.
  6411. * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to
  6412. size_t. Add casts where needed.
  6413. * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with
  6414. old headers, don't call avc_has_perm if we don't have the
  6415. permission information.
  6416. 2007-11-05 Daniel Jacobowitz <dan@codesourcery.com>
  6417. * elf/rtld.c (dl_main): Use the page size to find the map start.
  6418. 2007-11-05 Ulrich Drepper <drepper@redhat.com>
  6419. * time/tzfile.c (__tzfile_read): Fix check for version 0 data files.
  6420. Patch by Szymon Siwek <sls@poczta.wp.pl>.
  6421. * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only
  6422. when the lookup call failed.
  6423. * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock.
  6424. Add prune_cond and wakeup_time.
  6425. (CACHE_PRUNE_INTERNAL): Define.
  6426. Update declarations of prune_cache and setup_thread.
  6427. * nscd/connections.c (dbs): Update initializers.
  6428. (CACHE_PRUNE_INTERNAL): Moved to nscd.h.
  6429. (nscd_init): Default number of threads is now 4.
  6430. (invalidate_cache): Take lock before calling prune_cache.
  6431. (handle_request): If SELinux forbids the request, say so.
  6432. (readylist_cond): Use static initializer.
  6433. (nscd_run_prune): New function. Used only by pruning threads.
  6434. (nscd_run_worder): Renamed from nscd_run. Remove support for pruning
  6435. here.
  6436. (fd_ready): Update nscd_run reference.
  6437. (start_threads): No need to initialize readylist_cond.
  6438. Start pruning threads separately.
  6439. * nscd/nscd_setup_thread.c: Change return value type to int and always
  6440. return 0.
  6441. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type
  6442. to int and return nonzero value if we can use the TID address hack.
  6443. * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for
  6444. the database is later than the new entry's timeout, update the
  6445. wakeup time and wake the cleanup thread.
  6446. (prune_cache): Return seconds the next entry in the database is still
  6447. valid. Remove locking for pruning here.
  6448. * nscd/nscd.conf: Document default number of threads.
  6449. 2007-10-31 Ulrich Drepper <drepper@redhat.com>
  6450. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure
  6451. stack is properly aligned for the target function.
  6452. Correct unwind info.
  6453. * elf/rtld.c (dl_main): Initialize stack and pointer guard early
  6454. when using auditing libraries.
  6455. 2007-10-29 Ulrich Drepper <drepper@redhat.com>
  6456. * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add
  6457. _nss_dns_getnetbyaddr2_r.
  6458. * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass
  6459. extra parameter to getanswer_r.
  6460. (_nss_dns_getnetbyaddr_r): Now a wrapper around
  6461. _nss_dns_getnetbyaddr2_r.
  6462. * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with
  6463. gethstbynm3_r.
  6464. * nscd/gethstbynm2_r.c: Remove.
  6465. * nscd/gethstbynm3_r.c: New file.
  6466. * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of
  6467. __gethostbyaddr_r.
  6468. * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define
  6469. __gethostbyaddr_r compatibility wrapper.
  6470. * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when
  6471. determining timeout of entry.
  6472. (lookup): Take new parameter and pass it to __gethostbyname3_r and
  6473. __gethostbyaddr2_r.
  6474. (addhstbyX): Pass reference to variable for TTL to lookup and
  6475. cache_addhst.
  6476. * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2,
  6477. __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2,
  6478. and __nss_next2. Remove __nss_services_lookup.
  6479. * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter.
  6480. Add compat wrapper.
  6481. * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and
  6482. __nss_next2.
  6483. * nss/getXXent_r.c: Likewise.
  6484. * nss/getnssent_r.c: Likewise.
  6485. * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function
  6486. does not exist in module, try the optional second name.
  6487. (__nss_next2): New function.
  6488. (__nss_next): Now wrapper around __nss_next2.
  6489. * nss/nsswitch.h: Adjust __nss_lookup prototype.
  6490. Declare __nss_next2.
  6491. Adjust definition of db_lookup_function type.
  6492. * nss/service-lookup.c: Define NO_COMPAT.
  6493. * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r.
  6494. * inet/ether_hton.c: Use __nss_next2 instead of __nss_next.
  6495. * inet/ether_ntoh.c: Likewise.
  6496. * sunrpc/netname.c: Likewise.
  6497. * sunrpc/publickey.c: Likewise.
  6498. * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup.
  6499. * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2.
  6500. * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise.
  6501. * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise.
  6502. * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise.
  6503. * nscd/aicache.c (addhstaiX): Fix default TTL handling.
  6504. * inet/getnetgrent_r.c (setup): Encrypt static pointer.
  6505. 2007-10-28 Ulrich Drepper <drepper@redhat.com>
  6506. [BZ #5204]
  6507. * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware.
  6508. * crypt/sha512c-test.c: Likewise.
  6509. [BZ #5225]
  6510. * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer
  6511. to keep track of end of %[ format string element.
  6512. * stdio-common/Makefile (tests): Add bug20.
  6513. * stdio-common/bug20.c: New file.
  6514. [BZ #5222]
  6515. * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short
  6516. path elements in counting mode.
  6517. 2007-10-27 Andreas Jaeger <aj@suse.de>
  6518. [BZ #5040]
  6519. * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value.
  6520. [BZ #3112]
  6521. * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect.
  6522. (__cleanup): Free shared library when exiting.
  6523. * sysdeps/i386/backtrace.c (init): Free shared library if incorrect.
  6524. (__cleanup): Free shared library when exiting.
  6525. 2006-04-14 H.J. Lu <hongjiu.lu@intel.com>
  6526. [BZ #2549]
  6527. * math/libm-test.inc (check_float_internal): Support
  6528. denormalized return.
  6529. 2007-10-23 Andreas Jaeger <aj@suse.de>
  6530. [BZ #5208]
  6531. * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use
  6532. __LONG_LONG_PAIR to handle little endian byte order.
  6533. Suggested by abhishekrai@google.com
  6534. 2007-10-27 Ulrich Drepper <drepper@redhat.com>
  6535. * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.
  6536. 2007-10-26 Ulrich Drepper <drepper@redhat.com>
  6537. * nscd/cache.c (prune_cache): Move test for modified file outside
  6538. of locking.
  6539. 2007-10-21 Andreas Jaeger <aj@suse.de>
  6540. * manual/texinfo.tex: Update to latest version.
  6541. * manual/sysinfo.texi (System Parameters): Fix Formatting.
  6542. * manual/arith.texi (Status bit operations): Fix formatting.
  6543. * manual/errno.texi (Error Messages): Fix formatting.
  6544. * manual/sysinfo.texi (System Parameters): Fix formatting.
  6545. * manual/libc.texinfo: Update VERSION and UPDATED.
  6546. 2007-10-19 Roland McGrath <roland@redhat.com>
  6547. * elf/Makefile ($(objpfx)ld.so): Use $(AWK).
  6548. 2007-10-06 David S. Miller <davem@davemloft.net>
  6549. * configure.in: Add sparcv9v2 and sparc64v2.
  6550. * scripts/config.sub: Likewise.
  6551. * configure: Regenerate.
  6552. * elf/elf.h (HWCAP_SPARC_N2): New.
  6553. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8.
  6554. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'.
  6555. (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2.
  6556. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file.
  6557. * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file.
  6558. * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file.
  6559. * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file.
  6560. 2007-10-18 Ulrich Drepper <drepper@redhat.com>
  6561. * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call
  6562. even if the poll result indicates there is data to read.
  6563. Patch by Jeff Moyer <jmoyer@redhat.com>.
  6564. 2007-10-18 Roland McGrath <roland@redhat.com>
  6565. * elf/elf.h (NT_PPC_VMX): New macro.
  6566. 2007-10-17 Ulrich Drepper <drepper@redhat.com>
  6567. * version.h (VERSION): Set to 2.7.90.
  6568. 2007-10-17 Jakub Jelinek <jakub@redhat.com>
  6569. * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add
  6570. weak_alias.
  6571. 2007-10-17 Roland McGrath <roland@frob.com>
  6572. * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New.
  6573. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it.
  6574. 2007-10-17 Ulrich Drepper <drepper@redhat.com>
  6575. * version.h (VERSION): Bump to 2.7.
  6576. * include/features.h (__GLIBC_MINOR__): Bump to 7.
  6577. [BZ #5186]
  6578. * time/tzset.c (__tz_convert): Don't force testing for a change of
  6579. TZ if not called from localtime. But then also see whether the
  6580. file changed, in case __use_tzfile is set.
  6581. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC.
  6582. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  6583. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  6584. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  6585. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  6586. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  6587. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  6588. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
  6589. 2007-10-17 Jakub Jelinek <jakub@redhat.com>
  6590. * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses
  6591. and admin selects to be able to replace the gai.conf file, lock
  6592. data structures around the qsort call.
  6593. 2007-10-17 Ulrich Drepper <drepper@redhat.com>
  6594. * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of
  6595. new memset.
  6596. * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is
  6597. too high for the improvements. Implement bzero unconditionally for
  6598. use in libc.
  6599. 2007-10-17 Ulrich Drepper <drepper@redhat.com>
  6600. Jakub Jelinek <jakub@redhat.com>
  6601. * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available
  6602. even when time_t is 32-bit.
  6603. (__tzfile_compute): Override POSIX TZ string STD/DST zone names if
  6604. timezone data read by __tzfile_default. Ensure __tzname[0] is
  6605. always set after the search.
  6606. 2007-10-16 Ulrich Drepper <drepper@redhat.com>
  6607. * time/tzfile.c (__tzfile_read): Help the compiler recognize
  6608. unreachable code on 32-bit machines.
  6609. 2007-10-16 Jakub Jelinek <jakub@redhat.com>
  6610. [BZ #5184]
  6611. * time/strftime_l.c: Include stdbool.h.
  6612. (my_strftime): New wrapper, old function renamed to...
  6613. (__strftime_internal): ... new function. Add tzset_called
  6614. argument, pass it down to recursive calls, don't call tzset ()
  6615. if already true, set to true after call to tzset ().
  6616. 2007-10-16 Ulrich Drepper <drepper@redhat.com>
  6617. * time/tzfile.c (__tzfile_read): Take extra memory requested by caller
  6618. into account when copying TZ string.
  6619. 2007-10-16 Jakub Jelinek <jakub@redhat.com>
  6620. * time/tzfile.c (__tzfile_compute): For use_last case set i to
  6621. num_transition rather than num_transitions - 1.
  6622. 2007-10-16 Jakub Jelinek <jakub@redhat.com>
  6623. * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move
  6624. PIC indirect jump.
  6625. * sysdeps/x86_64/memset.S: Jump from bzero to memset using
  6626. a local label rather than HIDDEN_JUMPTARGET.
  6627. 2007-10-15 Ulrich Drepper <drepper@redhat.com>
  6628. * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define.
  6629. (init_cacheinfo): Initialize it.
  6630. * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size.
  6631. Always define bzero.
  6632. Remove non-glibc code.
  6633. * sysdeps/x86_64/bzero.S: Make an empty file.
  6634. 2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
  6635. * sysdeps/x86_64/cacheinfo.c
  6636. (__x86_64_preferred_memory_instruction): New.
  6637. (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction.
  6638. * sysdeps/x86_64/memset.S: Rewrite.
  6639. 2007-10-15 Roland McGrath <roland@redhat.com>
  6640. * po/libc.pot: Regenerated.
  6641. 2007-10-15 Ulrich Drepper <drepper@redhat.com>
  6642. * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct
  6643. pointers.
  6644. [BZ #3425]
  6645. * resolv/nss_dns/dns-host.c (getanswer_r): Fail with
  6646. NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no
  6647. address record to T_A/T_AAAA requests.
  6648. 2007-10-14 Ulrich Drepper <drepper@redhat.com>
  6649. * posix/glob.c: Reimplement link_exists_p to use fstatat64.
  6650. * posix/glob.c: Add some branch prediction throughout.
  6651. * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful
  6652. read from nscd.
  6653. * sysdeps/posix/getaddrinfo.c (struct sort_result): Add
  6654. service_order.
  6655. (rfc3484_sort): Make sure that even if qsort doesn't support
  6656. stable sorting out sorting here is stable by comparing service_order.
  6657. (getaddrinfo): Initialize service_order.
  6658. * posix/tst-rfc3484.c (do_test): Adjust for addition of
  6659. service_order field to sorting structure.
  6660. * posix/tst-rfc3484-2.c (do_test): Likewise.
  6661. * include/time.h: Declare __tzset_parse_tz and __tzset_compute.
  6662. * time/tzset.c (tzset_internal): Break TZ string parsing out into
  6663. __tzset_parse_tz and updating of daylight, timezone, tzname into
  6664. update_vars.
  6665. (__tz_compute): Renamed from tz_compute. Take additional parameters.
  6666. (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now
  6667. happens in __tz_compute.
  6668. * time/tzfile.c (__tzfile_read): Also read TZ string.
  6669. (find_transition): Fold into __tzfile_compute.
  6670. (__tzfile_compute): For times beyond the last transition try to
  6671. use the TZ string.
  6672. * timezone/tst-timezone.c: Information in daylight and tzname does
  6673. change for Asia/Tokyo timezone with more concrete information.
  6674. Remove the test.
  6675. * include/stdio.h: Add libc_hidden_proto for ftello.
  6676. * libio/ftello.c: Add libc_hidden_def.
  6677. [BZ #1140]
  6678. * time/tzfile.c (__tzfile_compute): Compute tzname[] values based
  6679. on the specified time and not the last entries in the file. Move
  6680. code to determine tzname[] to...
  6681. (find_transition): ...here. Add ugly guess for times before the
  6682. first transition.
  6683. 2007-10-13 Ulrich Drepper <drepper@redhat.com>
  6684. [BZ #3195]
  6685. * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found
  6686. no entry.
  6687. * nscd/nscd_getgr.c (nscd_getgr_r): Likewise.
  6688. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
  6689. * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
  6690. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
  6691. * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler
  6692. read mechanism when there are no group members and avoid no-op
  6693. read syscall in this case.
  6694. [BZ #3242]
  6695. * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter.
  6696. (__readall): If reading failed due to EAGAIN error wait a bit
  6697. and possibly try again.
  6698. (__readvall): Likewise.
  6699. 2007-10-13 Bruno Haible <bruno@clisp.org>
  6700. * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock
  6701. when we cannot recode the message.
  6702. 2007-10-13 Ulrich Drepper <drepper@redhat.com>
  6703. [BZ #4359]
  6704. * libio/__freading.c (__freading): Don't return true for
  6705. write-only streams. For read/write streams, check whether we
  6706. performed a read operation already.
  6707. * libio/Makefile (tests): Add tst-ext2.
  6708. * libio/tst-ext2.c: New file.
  6709. 2007-10-12 Ulrich Drepper <drepper@redhat.com>
  6710. * locale/programs/repertoire.c (repertoire_read): Always free
  6711. memory for repertoire file name [Coverity CID 270].
  6712. * elf/cache.c (save_aux_cache): Free memory allocated for
  6713. temporary file name [Coverity CID 267].
  6714. 2007-10-12 Jakub Jelinek <jakub@redhat.com>
  6715. * misc/Makefile (headers): Add bits/error.h.
  6716. 2007-10-12 Ulrich Drepper <drepper@redhat.com>
  6717. * posix/fnmatch_loop.c: Take rule index returned as part of
  6718. findidx return value into account when accessing weights.
  6719. * posix/regcomp.c: Likewise.
  6720. * posix/regexec.c: Likewise.
  6721. * locale/programs/ld-collate.c (collate_read): Optimize a bit.
  6722. (skip_to): Fix problems with parameter of elifdef/elifndef.
  6723. 2007-10-11 Ulrich Drepper <drepper@redhat.com>
  6724. * iconv/gconv_simple.c: Add some branch prediction.
  6725. 2007-10-12 Jakub Jelinek <jakub@redhat.com>
  6726. * locale/programs/ld-collate.c (collate_read): If ignore_content
  6727. and nowtok is tok_define, eat any tok_eol tokens.
  6728. 2007-10-11 Jakub Jelinek <jakub@redhat.com>
  6729. * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC.
  6730. (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage.
  6731. * inet/netinet/in.h: Don't include bits/socket.h.
  6732. * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H
  6733. macro.
  6734. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
  6735. 2007-10-10 Ulrich Drepper <drepper@redhat.com>
  6736. * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef
  6737. and tok_elifndef.
  6738. * locale/programs/locfile-kw.gperf: Likewise.
  6739. * locale/programs/ld-collate.c: Implement primitive preprocessor.
  6740. 2007-10-10 Jakub Jelinek <jakub@redhat.com>
  6741. * stdio-common/printf-parse.h: Include string.h and wchar.h.
  6742. (__find_specwc): Change into __extern_always_inline function.
  6743. (__find_specmb): Likewise. Remove ps argument. Use __strchrnul.
  6744. (__parse_one_specmb): Remove ps argument.
  6745. * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable.
  6746. Adjust __find_specmb and __parse_one_specmb callers.
  6747. * stdio-common/printf-prs.c (parse_printf_format): Likewise.
  6748. * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb):
  6749. Removed.
  6750. (__parse_one_specmb): Remove ps argument, adjust __find_specmb
  6751. caller.
  6752. 2007-10-09 Ulrich Drepper <drepper@redhat.com>
  6753. * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem
  6754. with some Pentium Ds.
  6755. 2007-10-08 Ulrich Drepper <drepper@redhat.com>
  6756. * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
  6757. __read not read.
  6758. * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
  6759. __write not write.
  6760. 2007-10-07 Ulrich Drepper <drepper@redhat.com>
  6761. [BZ #181]
  6762. * locale/C-time.c: Set week_1stday data to 19971201.
  6763. * locale/programs/ld-time.c (time_finish): Default for
  6764. first_workday is Monday.
  6765. [BZ #2633]
  6766. * wcsmbs/wchar.h: Move many C99 functions into std namespace.
  6767. [BZ #5103]
  6768. * posix/glob.c (glob): Recognize patterns starting \/.
  6769. * posix/tst-gnuglob.c (find_file): Handle absolute path names.
  6770. (main): Add test for pattern starting \/.
  6771. * misc/error.h: Use __const instead of const.
  6772. * misc/bits/error.h: Likewise.
  6773. 2007-10-07 Andreas Jaeger <aj@suse.de>
  6774. * include/bits/error.h: New file.
  6775. * misc/bits/error.h (error_at_line): Fix prototype.
  6776. 2007-10-06 Ulrich Drepper <drepper@redhat.com>
  6777. [BZ #3924]
  6778. * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few
  6779. more little bugs in creating the stack frame when pltexit has to
  6780. be called.
  6781. * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops.
  6782. * nscd/connections.c (verify_persistent_db): Recognize circular lists.
  6783. [BZ #4407]
  6784. * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0.
  6785. * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
  6786. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
  6787. * math/libm-test.inc: Add test for this case.
  6788. [BZ #5010]
  6789. * sunrpc/svc.c (struct svc_callout): Add sc_mapped element.
  6790. (svc_register): Initialize sc_mapped. Set to TRUE if call to
  6791. map service succeeded.
  6792. (svc_is_mapped): New function.
  6793. (svc_unregister): Use it before trying to unmap service.
  6794. 2007-10-05 Ulrich Drepper <drepper@redhat.com>
  6795. * timezone/zic.c: Update from tzcode2007h.
  6796. [BZ #5063]
  6797. * timezone/africa: Update from tzdata2007h.
  6798. * timezone/antarctica: Likewise.
  6799. * timezone/asia: Likewise.
  6800. * timezone/australasia: Likewise.
  6801. * timezone/europe: Likewise.
  6802. * timezone/leapseconds: Likewise.
  6803. * timezone/northamerica: Likewise.
  6804. * timezone/southamerica: Likewise.
  6805. * timzeone/zone.tab: Likewise.
  6806. [BZ #5104]
  6807. * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols.
  6808. [BZ #5113]
  6809. * string/bits/string2.h (__strdup): Cast parameters to calloc to
  6810. avoid warning with -Wconversion.
  6811. (__strndup): Likewise.
  6812. Half the patch by Christian Iseli <christian.iseli@licr.org>.
  6813. [BZ #5112]
  6814. * nscd/connections.c (restart): Don't resync if database is
  6815. disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>.
  6816. * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN,
  6817. struct tcp_md5sig. Extend struct tcp_info according to recent kernels.
  6818. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd,
  6819. evetnfd_read, eventfd_write.
  6820. * sysdeps/unix/sysv/linux/eventfd.c: New file.
  6821. * sysdeps/unix/sysv/linux/eventfd_read.c: New file.
  6822. * sysdeps/unix/sysv/linux/eventfd_write.c: New file.
  6823. * sysdeps/unix/sysv/linux/sys/eventfd.h: New file.
  6824. * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read,
  6825. eventfd_write for GLIBC_2.7.
  6826. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd.
  6827. * sysdeps/unix/sysv/linux/signalfd.c: New file.
  6828. * sysdeps/unix/sysv/linux/sys/signalfd.h: New file.
  6829. * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7.
  6830. 2007-10-04 Jakub Jelinek <jakub@redhat.com>
  6831. * stdlib/msort.c: Include stdint.h.
  6832. (struct msort_param): New type.
  6833. (msort_with_tmp): Use struct msort_param pointer for unchanging
  6834. parameters. Add optimized handling for several common sizes
  6835. and indirect sorting mode.
  6836. (qsort): Adjust msort_with_tmp callers. For big S use indirect
  6837. sorting.
  6838. Suggested by Belazougui Djamel .
  6839. * stdlib/Makefile (tests): Add tst-qsort2.
  6840. * stdlib/tst-qsort2.c: New test.
  6841. 2007-10-04 Ulrich Drepper <drepper@redhat.com>
  6842. * login/login_tty.c (login_tty): The Linux kernel can return EBUSY
  6843. for dup2 in case another thread races with the current one. Retry
  6844. in this case.
  6845. * misc/error.h: Remove support for use outside of libc. We have to
  6846. include <features.h> now. Include <bits/error.h> if possible.
  6847. * misc/bits/error.h: New file.
  6848. 2007-10-03 Jakub Jelinek <jakub@redhat.com>
  6849. * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy,
  6850. bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use
  6851. __extern_always_inline functions unconditionally, drop macros.
  6852. * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros.
  6853. * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use
  6854. __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH.
  6855. * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+
  6856. add __artificial__ attribute.
  6857. 2007-10-02 Ulrich Drepper <drepper@redhat.com>
  6858. * string/strcoll_l.c (STRCOLL): Correct handling of switching from
  6859. backward to forward direction.
  6860. * string/strcoll_l.c (STRCOLL): Correct test for alloca use.
  6861. [BZ #645]
  6862. * locale/programs/ld-collate.c (collate_finish): Compare against last
  6863. used section which is known to have rules defined.
  6864. (collate_read): After order_start, correctly record order of sections
  6865. and queue sections up.
  6866. 2007-10-01 Ulrich Drepper <drepper@redhat.com>
  6867. [BZ #5071]
  6868. * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has
  6869. the same number of pages.
  6870. Patch by Tomash Brechko <tomash.brechko@gmail.com>.
  6871. * locale/programs/ld-collate.c (collate_read): After initial copy
  6872. statement, continue in state 0.
  6873. * include/stdio_ext.h (__fsetlocking): Define as macro.
  6874. 2007-09-30 Ulrich Drepper <drepper@redhat.com>
  6875. * locale/programs/ld-collate.c (collate_finish): Compare all bytes
  6876. of section order.
  6877. * po/pt_BR.po: Fix typo.
  6878. 2007-09-29 Ulrich Drepper <drepper@redhat.com>
  6879. * iconvdata/Makefile (modules): Add ISO8859-9E.
  6880. (distribute): Add iso8859-9e.c.
  6881. (gen-8bit-gap-modules): Add iso8859-9e.
  6882. * iconvdata/iso8859-9e.c: New file.
  6883. * iconvdata/gconv-modules: Add entries for ISO-8859-9E.
  6884. * iconvdata/TESTS: Likewise.
  6885. * iconvdata/tst-tables.sh: Likewise.
  6886. * iconvdata/koi8-r.c (HAS_HOLES): Define to 0.
  6887. * locale/iso-639.def: Add several new entries.
  6888. 2007-09-24 Jakub Jelinek <jakub@redhat.com>
  6889. * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store
  6890. void * pointers instead of struct link_map **.
  6891. (_dl_scope_free): Change argument type to void *.
  6892. * include/link.h (struct link_map): Change type of l_reldeps
  6893. to struct link_map_reldeps, move l_reldepsact into that
  6894. struct too.
  6895. * elf/dl-deps.c: Include atomic.h.
  6896. (_dl_map_object_deps): Only change l->l_initfini when it is
  6897. fully populated, use _dl_scope_free for freeing it. Optimize
  6898. removal of libs from reldeps by using l_reserved flag, when
  6899. some removal is needed, allocate a new list instead of
  6900. reallocating and free the old with _dl_scope_free. Adjust
  6901. for l_reldeps and l_reldepsact changes.
  6902. * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow
  6903. searching in l_initfini and l_reldeps without holding dl_load_lock.
  6904. * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and
  6905. l_reldepsact changes.
  6906. * elf/dl-close.c (_dl_close_worker): Likewise.
  6907. * elf/dl-open.c (_dl_scope_free): Change argument type to void *.
  6908. 2007-09-28 Ulrich Drepper <drepper@redhat.com>
  6909. * iconvdata/Makefile (modules): Add KOI8-RU.
  6910. (distribute): Add koi8-ru.c.
  6911. (gen-8bit-gap-modules): Add koi8-ru.
  6912. * iconvdata/koi8-ru.c: New file.
  6913. * iconvdata/gconv-modules: Add entries for KOI8-RU.
  6914. * iconvdata/TESTS: Likewise.
  6915. * iconvdata/tst-tables.sh: Likewise.
  6916. * iconvdata/koi8-r.c (HAS_HOLES): Define to 0.
  6917. 2007-09-26 Jakub Jelinek <jakub@redhat.com>
  6918. * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define
  6919. with __warning__/__error__ attributes.
  6920. (__warnattr): Define.
  6921. * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn,
  6922. __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with
  6923. __warnattr.
  6924. (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead
  6925. of __*_chk if compile time detectable overflow is found.
  6926. * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn,
  6927. __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases
  6928. with __warnattr.
  6929. (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn
  6930. instead of __*_chk if compile time detectable overflow is found.
  6931. (__gets_alias): Rename to...
  6932. (__gets_warn): ... this. Add __warnattr.
  6933. (gets): Call __gets_warn instead of __gets_alias.
  6934. * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New
  6935. aliases with __warnattr.
  6936. (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile
  6937. time detectable overflow is found.
  6938. * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn,
  6939. __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn,
  6940. __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn,
  6941. __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn,
  6942. __getdomainname_chk_warn): New aliases with __warnattr.
  6943. (read, pread, pread64, readlink, readlinkat, getcwd, confstr,
  6944. getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call
  6945. __*_chk_warn instead of __*_chk if compile time detectable overflow
  6946. is found.
  6947. (__getgroups_chk): Rename argument to __listlen from listlen.
  6948. (__getwd_alias): Rename to...
  6949. (__getwd_warn): ... this. Add __warnattr.
  6950. (getwd): Call __getwd_warn instead of __getwd_alias.
  6951. * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn,
  6952. __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn,
  6953. __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn,
  6954. __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn,
  6955. __wcsnrtombs_chk_warn): New aliases with __warnattr.
  6956. (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs,
  6957. mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if
  6958. compile time detectable overflow is found.
  6959. (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether
  6960. to use __*_chk or not.
  6961. (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both
  6962. in comparisons which function should be called and in __*_chk*
  6963. arguments. Call __*_chk_warn instead of __*_chk if compile time
  6964. detectable overflow is found.
  6965. (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in
  6966. __*_chk argument.
  6967. * debug/tst-chk1.c (do_test): Add a few more tests.
  6968. 2007-09-24 Ulrich Drepper <drepper@redhat.com>
  6969. [BZ #5058]
  6970. * intl/gettextP.h (struct loaded_domain): Add conversions_lock member.
  6971. * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock.
  6972. (_nl_unload_domain): Finalize conversions_lock.
  6973. * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before
  6974. handling table of known conversions.
  6975. 2007-09-24 Jakub Jelinek <jakub@redhat.com>
  6976. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
  6977. close_not_cancel_no_status instead of close.
  6978. 2007-09-13 Aurelien Jarno <aurelien@aurel32.net>
  6979. [BZ #5028]
  6980. * posix/regcomp.c (lookup_collation_sequence_value): Check that
  6981. nrules != 0 for multibyte chars.
  6982. 2007-09-23 Ulrich Drepper <drepper@redhat.com>
  6983. * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt.
  6984. Provide better error message in case the type is unknown.
  6985. [BZ #4963]
  6986. * wcsmbs/wcsnlen.c: Don't reference before checking the length.
  6987. * string/stratcliff.c: Make usable to test wide char functions.
  6988. * wcsmbs/wcsatcliff.c: New file.
  6989. * wcsmbs/Makefiel (tests): Add wcsatcliff.
  6990. [BZ #4972]
  6991. * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE.
  6992. (distribute): Add mac-centraleurope.c.
  6993. (gen-8bit-gap-modules): Add mac-centraleurope.
  6994. * iconvdata/mac-centraleurope.c: New file.
  6995. * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE.
  6996. * iconvdata/TESTS: Likewise.
  6997. * iconvdata/tst-tables.sh: Likewise.
  6998. [BZ #5043]
  6999. * iconv/iconv_open.c (iconv_open): For large codeset names use malloc.
  7000. 2007-09-21 Ulrich Drepper <drepper@redhat.com>
  7001. * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed
  7002. from __x86_64_core_cache_size_half.
  7003. (init_cacheinfo): Compute shared cache size for AMD processors with
  7004. shared L3 correctly.
  7005. * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half
  7006. name change.
  7007. Patch in large parts by Evandro Menezes.
  7008. 2007-09-19 Ulrich Drepper <drepper@redhat.com>
  7009. * elf/dl-lookup.c (add_dependency): Handle failing memory
  7010. allocation for dependency list. Remove unnecessary check.
  7011. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary
  7012. open/close when determining source addresses.
  7013. * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256,
  7014. sha512-crypt, and sha512.
  7015. (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test.
  7016. (distribute): Add sha256.h and sha512.h.
  7017. * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes
  7018. and call the appropriate code.
  7019. * crypt/sha256-crypt.c: New file.
  7020. * crypt/sha256.c: New file.
  7021. * crypt/sha256.h: New file.
  7022. * crypt/sha256c-test.c: New file.
  7023. * crypt/sha256test.c: New file.
  7024. * crypt/sha512-crypt.c: New file.
  7025. * crypt/sha512.c: New file.
  7026. * crypt/sha512.h: New file.
  7027. * crypt/sha512c-test.c: New file.
  7028. * crypt/sha512test.c: New file.
  7029. 2007-09-19 Jakub Jelinek <jakub@redhat.com>
  7030. * misc/bits/syslog.h (syslog): Remove extraneous argument from
  7031. the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to
  7032. __syslog_chk.
  7033. 2007-09-18 Jakub Jelinek <jakub@redhat.com>
  7034. * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of
  7035. %as in fscanf format strings.
  7036. * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup.
  7037. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
  7038. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
  7039. Likewise.
  7040. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
  7041. Likewise.
  7042. * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition.
  7043. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in
  7044. DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG ().
  7045. * elf/dl-sym.c (do_sym): Likewise.
  7046. * include/link.h (struct link_map): Add l_serial field.
  7047. * elf/dl-object.c (_dl_new_object): Initialize l_serial.
  7048. * elf/dl-lookup.c (add_dependency): Add flags argument.
  7049. Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among
  7050. flags, use THREAD_GSCOPE_RESET_FLAG before and
  7051. THREAD_GSCOPE_SET_FLAG after
  7052. __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock.
  7053. Don't dereference map until it has been found on some list.
  7054. If map->l_serial changed, return -1.
  7055. 2007-09-17 Jakub Jelinek <jakub@redhat.com>
  7056. * include/stdio.h (__isoc99_fscanf, __isoc99_scanf,
  7057. __isoc99_sscanf, __isoc99_vscanf): New prototypes.
  7058. (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add
  7059. libc_hidden_proto.
  7060. * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf,
  7061. __isoc99_swscanf, __isoc99_vwscanf): New prototypes.
  7062. (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes,
  7063. add libc_hidden_proto.
  7064. * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf,
  7065. vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX
  7066. conformance requested.
  7067. * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf,
  7068. vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX
  7069. conformance requested.
  7070. * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf,
  7071. vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX
  7072. conformance requested.
  7073. * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf,
  7074. vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict
  7075. ISO C99 or POSIX conformance requested.
  7076. * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7,
  7077. __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7,
  7078. __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7
  7079. and __isoc99_vsscanf@@GLIBC_2.7.
  7080. * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf,
  7081. isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf.
  7082. (tests): Add scanf14.
  7083. (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c,
  7084. CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c,
  7085. CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c,
  7086. CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c,
  7087. CFLAGS-isoc99_scanf.c): Add $(exceptions).
  7088. (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler
  7089. from using internal headers.
  7090. * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7,
  7091. __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7,
  7092. __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7
  7093. and __isoc99_vswscanf@@GLIBC_2.7.
  7094. * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf,
  7095. isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf.
  7096. (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c,
  7097. CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions).
  7098. (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed.
  7099. * stdio-common/isoc99_scanf.c: New file.
  7100. * stdio-common/isoc99_vsscanf.c: New file.
  7101. * stdio-common/isoc99_vscanf.c: New file.
  7102. * stdio-common/isoc99_vfscanf.c: New file.
  7103. * stdio-common/isoc99_fscanf.c: New file.
  7104. * stdio-common/isoc99_sscanf.c: New file.
  7105. * wcsmbs/isoc99_fwscanf.c: New file.
  7106. * wcsmbs/isoc99_vswscanf.c: New file.
  7107. * wcsmbs/isoc99_swscanf.c: New file.
  7108. * wcsmbs/isoc99_wscanf.c: New file.
  7109. * wcsmbs/isoc99_vwscanf.c: New file.
  7110. * wcsmbs/isoc99_vfwscanf.c: New file.
  7111. * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define.
  7112. * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also
  7113. clear _IO_FLAGS2_SCANF_STD bit from _flags2.
  7114. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't
  7115. handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2.
  7116. * stdio-common/scanf14.c: New test.
  7117. * stdio-common/scanf15.c: New test.
  7118. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
  7119. isoc99_scanf, isoc99_fscanf, isoc99_sscanf,
  7120. isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf,
  7121. isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf,
  7122. isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf.
  7123. * sysdeps/ieee754/ldbl-opt/Versions (libc): Export
  7124. __nldbl___isoc99_scanf@@GLIBC_2.7,
  7125. __nldbl___isoc99_fscanf@@GLIBC_2.7,
  7126. __nldbl___isoc99_sscanf@@GLIBC_2.7,
  7127. __nldbl___isoc99_vscanf@@GLIBC_2.7,
  7128. __nldbl___isoc99_vfscanf@@GLIBC_2.7,
  7129. __nldbl___isoc99_vsscanf@@GLIBC_2.7,
  7130. __nldbl___isoc99_wscanf@@GLIBC_2.7,
  7131. __nldbl___isoc99_fwscanf@@GLIBC_2.7,
  7132. __nldbl___isoc99_swscanf@@GLIBC_2.7,
  7133. __nldbl___isoc99_vwscanf@@GLIBC_2.7,
  7134. __nldbl___isoc99_vfwscanf@@GLIBC_2.7
  7135. and __nldbl___isoc99_vswscanf@@GLIBC_2.7.
  7136. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf,
  7137. __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf,
  7138. __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf,
  7139. __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf,
  7140. __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL.
  7141. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
  7142. (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf,
  7143. __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf,
  7144. __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf,
  7145. __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf,
  7146. __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf,
  7147. __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New
  7148. functions.
  7149. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file.
  7150. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file.
  7151. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file.
  7152. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file.
  7153. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file.
  7154. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file.
  7155. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file.
  7156. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file.
  7157. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file.
  7158. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file.
  7159. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file.
  7160. * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file.
  7161. * stdio-common/Makefile (tests): Add scanf13.
  7162. (scanf13-ENV): New.
  7163. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle
  7164. m modifier followed by l.
  7165. (STRING_ARG): Add width argument.
  7166. (_IO_vfscanf_internal) <case L_('c')>: Handle %mc.
  7167. <case L_('C')>: Handle %mlc and %mC.
  7168. <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG
  7169. arguments.
  7170. * stdio-common/scanf13.c: New test.
  7171. * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear
  7172. the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags.
  7173. 2007-09-18 Ulrich Drepper <drepper@redhat.com>
  7174. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value
  7175. type and __THROW marker of splice, vmsplice, and tee.
  7176. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  7177. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  7178. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  7179. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  7180. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
  7181. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  7182. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
  7183. * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee
  7184. as cancellation points.
  7185. 2003-11-01 Daniel Jacobowitz <dan@debian.org>
  7186. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't
  7187. parse more than three parts of the version number.
  7188. 2007-09-15 Ulrich Drepper <drepper@redhat.com>
  7189. * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm'
  7190. modifier. Patch by Jakub Jelinek.
  7191. 2007-08-26 Jakub Jelinek <jakub@redhat.com>
  7192. * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add
  7193. call_fallocate in misc subdir.
  7194. * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file.
  7195. * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove.
  7196. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate
  7197. instead of __fallocate64.
  7198. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
  7199. 2007-09-15 Jakub Jelinek <jakub@redhat.com>
  7200. * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7.
  7201. * rt/Makefile (headers): Add bits/mqueue2.h.
  7202. * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2,
  7203. optimizing with GCC and __va_arg_pack_len is defined.
  7204. * rt/bits/mqueue2.h: New file.
  7205. * rt/mq_open.c (__mq_open): Renamed from mq_open.
  7206. (mq_open): New strong_alias.
  7207. (__mq_open_2): New function.
  7208. * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open.
  7209. (mq_open): New strong_alias.
  7210. (__mq_open_2): New function.
  7211. * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE.
  7212. * Versions.def (librt): Add GLIBC_2.7 version.
  7213. * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def.
  7214. * include/stdio.h (__fortify_fail): Add libc_hidden_proto.
  7215. * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define.
  7216. * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len
  7217. is defined rather than when not C++.
  7218. * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias,
  7219. __openat64_alias): New redirects.
  7220. (__open_too_many_args, __open_missing_mode, __open64_too_many_args,
  7221. __open64_missing_mode, __openat_too_many_args, __openat_missing_mode,
  7222. __openat64_too_many_args, __openat64_missing_mode): New __errordecls.
  7223. (open, open64, openat, openat64): Rewrite as __extern_always_inline
  7224. functions instead of function-like macros.
  7225. 2007-09-14 H.J. Lu <hongjiu.lu@intel.com>
  7226. * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition.
  7227. * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition.
  7228. * sysdeps/i386/i586/memset.S (__memset_chk): New definition.
  7229. 2007-09-15 Mike Frysinger <vapier@gentoo.org>
  7230. * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x".
  7231. * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0".
  7232. 2007-09-14 Mike Frysinger <vapier@gentoo.org>
  7233. * inet/tst-network.c: Increment ERRORS for failing tests.
  7234. 2007-09-07 Jakub Jelinek <jakub@redhat.com>
  7235. * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+.
  7236. * misc/bits/syslog.h (syslog): When __va_arg_pack is defined,
  7237. implement as __extern_always_inline function.
  7238. (vsyslog): Define as __extern_always_inline function unconditionally.
  7239. * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf):
  7240. When __va_arg_pack is defined, implement as __extern_always_inline
  7241. functions.
  7242. (vsprintf, vsnprintf, vprintf, vfprintf): Define as
  7243. __extern_always_inline functions unconditionally.
  7244. * libio/bits/stdio.h (vprintf): Ifdef out the inline when
  7245. bits/stdio2.h will be included.
  7246. * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect.
  7247. (swprintf, wprintf, fwprintf): When __va_arg_pack is defined,
  7248. implement as __extern_always_inline functions.
  7249. (vswprintf, vwprintf, vfwprintf): Define as
  7250. __extern_always_inline functions unconditionally.
  7251. * debug/tst-chk1.c (do_test): Enable remaining tests for C++.
  7252. 2007-09-03 Jakub Jelinek <jakub@redhat.com>
  7253. * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only
  7254. define in C++ for GCC 4.3+, in C++ always use __gnu_inline__
  7255. attribute.
  7256. * include/features.h (__USE_EXTERN_INLINES): Define only when
  7257. __extern_inline is defined.
  7258. * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline
  7259. is defined instead of when not __cplusplus.
  7260. * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline
  7261. is defined instead of when not __cplusplus.
  7262. * socket/sys/socket.h: Include bits/socket2.h when
  7263. __extern_always_inline is defined instead of when not __cplusplus.
  7264. * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline
  7265. is defined instead of when not __cplusplus.
  7266. * posix/unistd.h: Include bits/unistd.h when __extern_always_inline
  7267. is defined instead of when not __cplusplus.
  7268. * string/string.h: Include bits/string3.h when __extern_always_inline
  7269. is defined instead of when not __cplusplus.
  7270. * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline
  7271. is defined instead of when not __cplusplus.
  7272. (btowc, wctob): Don't guard the inlines with ifndef __cplusplus.
  7273. * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline
  7274. is not defined.
  7275. * misc/bits/syslog-ldbl.h: Guard *_chk stuff with
  7276. defined __extern_always_inline instead of !defined __cplusplus.
  7277. * libio/bits/stdio-ldbl.h: Likewise.
  7278. * wcsmbs/bits/wchar-ldbl.h: Likewise.
  7279. * misc/bits/syslog.h (syslog): Don't define for C++.
  7280. (vsyslog): Use __extern_always_inline function for C++ instead of
  7281. a macro.
  7282. * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline
  7283. whenever that macro is defined.
  7284. (vprintf): Don't provide the inline for C++.
  7285. (fread_unlocked, fwrite_unlocked): Don't define the macros for C++.
  7286. * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't
  7287. define the macros for C++.
  7288. (vsprintf, vsnprintf, vprintf, vfprintf): Define as
  7289. __extern_always_inline functions for C++.
  7290. * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat,
  7291. stat64, lstat64, fstat64, fstatat64): Don't define if not
  7292. __USE_EXTERN_INLINES.
  7293. * wcsmbs/bits/wchar2.h: Fix #error message.
  7294. (swprintf, wprintf, fwprintf): Don't define the macros for C++.
  7295. (vswprintf, vwprintf, vfwprintf): Define using
  7296. __extern_always_inline functions for C++.
  7297. * string/bits/string3.h: Don't #undef macros if __cplusplus.
  7298. (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy,
  7299. strncpy, strcat, strncat): Define as __extern_always_inline
  7300. functions instead of macros for C++.
  7301. * math/bits/cmathcalls.h: Guard __extern_inline routines with
  7302. defined __extern_inline.
  7303. * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define
  7304. to __extern_inline whenever that macro is defined.
  7305. * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7306. * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7307. * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise.
  7308. * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise.
  7309. * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7310. * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7311. * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7312. * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise.
  7313. * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major,
  7314. gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from
  7315. prototypes. Only provide __extern_inline routines if
  7316. __USE_EXTERN_INLINES.
  7317. * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6}
  7318. tests.
  7319. * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++.
  7320. For now avoid some *printf tests in C++. Skip all testing
  7321. if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro
  7322. is not.
  7323. * debug/tst-chk4.cc: New file.
  7324. * debug/tst-chk5.cc: New file.
  7325. * debug/tst-chk6.cc: New file.
  7326. * debug/tst-lfschk4.cc: New file.
  7327. * debug/tst-lfschk5.cc: New file.
  7328. * debug/tst-lfschk6.cc: New file.
  7329. * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid
  7330. prototypes in C++.
  7331. * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
  7332. __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
  7333. __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise.
  7334. 2007-09-13 Ulrich Drepper <drepper@redhat.com>
  7335. * po/cs.po: Update from translation team.
  7336. 2007-09-11 Roland McGrath <roland@redhat.com>
  7337. * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
  7338. compiling.
  7339. 2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
  7340. * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro.
  7341. 2007-09-05 Roland McGrath <roland@redhat.com>
  7342. * manual/signal.texi (Signaling Another Process): Typo fix.
  7343. From Karl Berry <karl@freefriends.org>.
  7344. 2007-08-29 Ulrich Drepper <drepper@redhat.com>
  7345. * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to
  7346. zero if not defined.
  7347. (make_request): Recognize optimistic addresses and treat them like
  7348. deprecated addresses.
  7349. Reported by Neil Horman <nhorman@redhat.com>.
  7350. 2007-08-28 Ulrich Drepper <drepper@redhat.com>
  7351. * nscd/connections.c (send_ro_fd): Also transfer file size.
  7352. * nscd/nscd_helper.c (get_mapping): If nscd also transfers the
  7353. file size don't call fstat.
  7354. * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go
  7355. ahead and map the file. This should always be correct and we can
  7356. catch problems later.
  7357. 2007-08-28 Jakub Jelinek <jakub@redhat.com>
  7358. * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New
  7359. prototypes.
  7360. (__fread_alias, __fread_unlocked_alias): New aliases.
  7361. (fread): New extern inline.
  7362. (fread_unlocked): Likewise. Undef macro before definition of
  7363. the inline function.
  7364. * debug/Makefile (routines): Add fread_chk and fread_u_chk.
  7365. (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add.
  7366. * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7
  7367. and __fread_unlocked_chk@@GLIBC_2.7.
  7368. * debug/fread_chk.c: New file.
  7369. * debug/fread_u_chk.c: New file.
  7370. * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests.
  7371. 2007-08-27 Jakub Jelinek <jakub@redhat.com>
  7372. * sysdeps/unix/sysv/linux/syscalls.list
  7373. (personality): Change caller to EXTRA.
  7374. 2007-08-25 Ulrich Drepper <drepper@redhat.com>
  7375. * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf
  7376. to keep gcc quiet.
  7377. * iconvdata/iso-2022-cn.c (BODY): Likewise.
  7378. * locale/programs/ld-collate.c (collate_output): Avoid warning if
  7379. NDEBUG is defined.
  7380. * Makerules: Use -p option with mkdir.
  7381. * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning.
  7382. * nis/nis_xdr.c (_xdr_nis_server): Likewise.
  7383. (_xdr_directory_obj): Likewise.
  7384. (xdr_entry_obj): Likewise.
  7385. (xdr_group_obj): Likewise.
  7386. (xdr_link_obj): Likewise.
  7387. (xdr_table_obj): Likewise.
  7388. (_xdr_nis_result): Likewise.
  7389. (_xdr_ns_request): Likewise.
  7390. (_xdr_ib_request): Likewise.
  7391. (_xdr_nis_taglist): Likewise.
  7392. (xdr_cback_data): Likewise.
  7393. * nis/yp_xdr.c (xdr_ypmaplist): Likewise.
  7394. (xdr_ypresp_maplist): Likewise.
  7395. * stdio-common/Makefile: Avoid format string warning for tst-sprint.
  7396. * posix/regex_internal.h: Prevent some declarations and definitions
  7397. to be seen when used in tests.
  7398. * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT.
  7399. * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise.
  7400. * debug/Makefile: Disable format checking when compiling tst-chk?.c.
  7401. * config.make.in (datarootdir): Add to shut up configure.
  7402. * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of
  7403. associativity for fully-associative caches.
  7404. * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache
  7405. requests. Fill on more associativity values for L2.
  7406. Patch mostly by Evandro Menezes.
  7407. 2007-08-24 Ulrich Drepper <drepper@redhat.com>
  7408. * sysdeps/unix/sysv/linux/x86_64/init-first.c
  7409. (_libc_vdso_platform_setup): Avoid using exported variable by using
  7410. alias.
  7411. * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define.
  7412. * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark
  7413. fallocate64 as EXTRA. It is not referenced if the symbol isn't
  7414. defined.
  7415. 2007-08-23 Ulrich Drepper <drepper@redhat.com>
  7416. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly
  7417. align stack for call if pltexit is to be used.
  7418. [BZ #3924]
  7419. * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly
  7420. align for function call in case pltexit has to be called later.
  7421. * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid
  7422. implicit atomic operation when storing function pointer.
  7423. (_dl_runtime_profile): Likewise.
  7424. 2007-08-17 Jakub Jelinek <jakub@redhat.com>
  7425. * nis/nis_table.c (nis_list): Don't fail if __follow_path returned
  7426. NIS_NOTFOUND.
  7427. 2007-08-21 Ulrich Drepper <drepper@redhat.com>
  7428. [BZ #4566]
  7429. * string/strtok.c: Fix typo in comment.
  7430. [BZ #4582]
  7431. * debug/segfault.c: Fix typos in comments.
  7432. [BZ #4588]
  7433. * stdio-common/tempnam.c: Fix comment, it is not checked that
  7434. TMPDIR points to a writable directory.
  7435. [BZ #4726]
  7436. * resolv/res_send.c (__libc_res_nsend): Initialize all of the
  7437. memory allocated for the name server address.
  7438. [BZ #4946]
  7439. * nscd/connections.c (handle_request): Using sendfile always
  7440. requires that mmap is used for the database.
  7441. Patch by Petr Baudiš <pasky@suse.cz>.
  7442. [BZ #4905]
  7443. * nscd/hstcache.c (cache_addhst): When reloading an entry which
  7444. suddenly has two or more addresses, ignore it and remove the old
  7445. entry.
  7446. [BZ #4814]
  7447. * resolv/res_hconf.c: Prepare for compiling outside libc.
  7448. * nscd/res_hconf.c: New file.
  7449. * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build
  7450. the new file.
  7451. * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define.
  7452. * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise.
  7453. * nscd/hstcache.c (cache_addhst): Minimal optimization.
  7454. [BZ #4925]
  7455. * debug/pcprofiledump.c: Turn on internationalization by calling
  7456. setlocale. Patch mostly by Benno Schulenberg.
  7457. [BZ #4936]
  7458. * iconv/gconv.c (__gconv): If flush was successful, clear rest of
  7459. the state.
  7460. * iconvdata/Makefile: Add rules to build and run bug-iconv5.
  7461. * iconvdata/bug-iconv5.c: New file.
  7462. 2007-08-04 Carlos O'Donell <carlos@systemhalted.org>
  7463. [BZ #4896]
  7464. * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R,
  7465. R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L,
  7466. R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L,
  7467. R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L,
  7468. R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64,
  7469. R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L,
  7470. R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R,
  7471. R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64.
  7472. 2007-08-21 Ulrich Drepper <drepper@redhat.com>
  7473. [BZ #4937]
  7474. * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash
  7475. lookup loop. Suggested by John Reiser.
  7476. 2007-08-21 Jakub Jelinek <jakub@redhat.com>
  7477. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.
  7478. 2007-08-20 Ulrich Drepper <drepper@redhat.com>
  7479. * csu/libc-start.c: Don't handle VDSO_SETUP here.
  7480. * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead.
  7481. * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to...
  7482. * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file.
  7483. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code
  7484. to...
  7485. * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file.
  7486. 2007-08-18 Ulrich Drepper <drepper@redhat.com>
  7487. * po/nl.po: Update from translation team.
  7488. 2007-08-16 Andreas Jaeger <aj@suse.de>
  7489. * locale/localeinfo.h: Make _nl_category_name_idxs extern.
  7490. Reported by Peter Festner <peter.festner@ewetel.net>.
  7491. 2007-08-17 Jakub Jelinek <jakub@redhat.com>
  7492. * login/tst-grantpt.c (test_einval): Add 3rd argument to open.
  7493. 2007-08-16 Jakub Jelinek <jakub@redhat.com>
  7494. * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u
  7495. to check for undefined symbols.
  7496. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone):
  7497. If the syscall fails, set errno to the actual returned error number
  7498. rather than EINVAL.
  7499. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If
  7500. arguments are incorrect, set errno to EINVAL, if the syscall
  7501. fails, set errno to the actual returned error number.
  7502. * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove.
  7503. * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove.
  7504. * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to...
  7505. * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New
  7506. file.
  7507. (ASI_PNF, ASI_BLK_P): Don't define.
  7508. * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to...
  7509. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New
  7510. file.
  7511. * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to...
  7512. * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New
  7513. file.
  7514. 2007-08-15 Jakub Jelinek <jakub@redhat.com>
  7515. * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising
  7516. FE_UNDERFLOW on Niagara CPUs.
  7517. * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all
  7518. exceptions.
  7519. 2007-08-14 Jakub Jelinek <jakub@redhat.com>
  7520. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No
  7521. need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9.
  7522. (sparc_fixup_plt): Add do_flush argument instead of figuring whether
  7523. flush should be used or not inside of the function.
  7524. (elf_machine_fixup_plt, elf_machine_rela): Adjust caller.
  7525. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone,
  7526. __thread_start): Use HIDDEN_JUMPTARGET.
  7527. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone,
  7528. __thread_start): Likewise.
  7529. * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define.
  7530. * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare.
  7531. Add libc_hidden_proto.
  7532. (STRTOF): Add libc_hidden_proto.
  7533. (___new_strtold_l, ___new_wcstold_l): New weak aliases.
  7534. (strtold_l, wcstold_l): Use them as second argument for
  7535. long_double_symbol.
  7536. 2007-08-14 Ulrich Drepper <drepper@redhat.com>
  7537. * elf/dl-misc.c: Undo last change. The kernel won't allow it.
  7538. 2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  7539. * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def.
  7540. 2007-08-14 Ulrich Drepper <drepper@redhat.com>
  7541. * po/bg.po: New file. From the translation team.
  7542. 2007-08-13 Jakub Jelinek <jakub@redhat.com>
  7543. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT,
  7544. __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST,
  7545. __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions
  7546. when each feature was introduced.
  7547. * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h.
  7548. * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG.
  7549. (CHECK_HASH): New macro.
  7550. (PREPARE_VERSION): Use it.
  7551. * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide
  7552. prototype if not __ASSUME_PSELECT.
  7553. * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide
  7554. prototype if not __ASSUME_PPOLL.
  7555. * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use.
  7556. * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime,
  7557. hp_timing_settime): Don't define or declare if HANDLED_CPUTIME
  7558. is defined.
  7559. 2007-08-13 Ulrich Drepper <drepper@redhat.com>
  7560. * sysdeps/unix/sysv/linux/x86_64/libc-start.c
  7561. (_libc_vdso_platform_setup): If vDSO is not available point
  7562. __vdso_gettimeofday to the vsyscall.
  7563. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use
  7564. __vdso_gettimeofday instead of vsyscall.
  7565. 2007-08-13 Jakub Jelinek <jakub@redhat.com>
  7566. * nscd/servicescache.c: Include kernel-features.h.
  7567. * nscd/gai.c: Likewise.
  7568. * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
  7569. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
  7570. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise.
  7571. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
  7572. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
  7573. * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
  7574. * sysdeps/unix/sysv/linux/if_index.c: Likewise.
  7575. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise.
  7576. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
  7577. 2007-08-12 Ulrich Drepper <drepper@redhat.com>
  7578. * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute,
  7579. and _dl_get_origin defines anymore.
  7580. * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu):
  7581. Build fix for systems which might lack POSIX timer support.
  7582. * sysdeps/unix/sysv/linux/x86_64/libc-start.c
  7583. (_libc_vdso_platform_setup): Mangle function pointers before storing
  7584. them.
  7585. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
  7586. Demangle vdso pointer before use.
  7587. (INTERNAL_VSYSCALL): Likewise.
  7588. * elf/cache.c (primes): Mark as const.
  7589. Noted by Roland McGrath.
  7590. 2007-08-01 Andreas Jaeger <aj@suse.de>
  7591. Jakub Jelinek <jakub@redhat.com>
  7592. * elf/ldconfig.c (opt_ignore_aux_cache): Add new option.
  7593. (options): Add option.
  7594. (parse_opt): Handle option.
  7595. (manual_link): Adjust process_file caller. Call implicit_soname.
  7596. (search_dir): Formatting. Use and populate auxiliary cache.
  7597. (main): Load and save auxiliary cache.
  7598. * elf/readlib.c (process_file): Add stat_buf argument. Pass struct
  7599. stat64 from fstat64 to caller.
  7600. (implicit_soname): New function.
  7601. * elf/readelflib.c (process_elf_file): If DT_SONAME is not present,
  7602. leave *soname as NULL.
  7603. * elf/cache.c: Include libgen.h.
  7604. (print_entry, print_cache, compare, save_cache, add_to_cache):
  7605. Formatting and cleanups.
  7606. (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry,
  7607. aux_cache_file): New structures.
  7608. (AUX_CACHEMAGIC): Define.
  7609. (primes): New array.
  7610. (aux_hash_size, aux_hash): New variables.
  7611. (aux_cache_entry_id_hash, nextprime, init_aux_cache,
  7612. search_aux_cache, insert_to_aux_cache, add_to_aux_cache,
  7613. load_aux_cache, save_aux_cache): New functions.
  7614. * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define.
  7615. (init_aux_cache, search_aux_cache, add_to_aux_cache,
  7616. load_aux_cache, save_aux_cache, implicit_soname): New prototypes.
  7617. (process_file): Adjust prototype.
  7618. 2007-08-12 Jakub Jelinek <jakub@redhat.com>
  7619. * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h
  7620. with __need_size_t.
  7621. 2007-08-12 Ulrich Drepper <drepper@redhat.com>
  7622. * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect
  7623. r_found_version structure as second parameter.
  7624. * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define.
  7625. (_dl_vdso_vsym): Change type of second parameter accordingly.
  7626. * sysdeps/unix/sysv/linux/x86-64/libc-start.c
  7627. (_libc_vdso_platform_setup): Adjust.
  7628. * sysdeps/unix/sysv/linux/powerpc/libc-start.c
  7629. (_libc_vdso_platform_setup): Likewise.
  7630. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to...
  7631. * sysdeps/unix/sysv/linux/dl-vdso.c: ...here.
  7632. * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to...
  7633. * sysdeps/unix/sysv/linux/dl-vdso.h: ...here.
  7634. * csu/libc-start.c: Pretty printing.
  7635. Use VDSO_SETUP if defined.
  7636. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP
  7637. and let generic code call into _libc_vdso_platform_setup.
  7638. * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file.
  7639. * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file.
  7640. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing.
  7641. Define INLINE_VSYSCALL and INTERNAL_VSYSCALL.
  7642. * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime
  7643. for GLIBC_PRIVATE.
  7644. * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf]
  7645. (sysdep_rountines): Add dl-vdso.
  7646. * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead
  7647. of routines.
  7648. * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add
  7649. attribute_hidden to __vdso_gettimeofday prototype.
  7650. 2007-08-12 Roland McGrath <roland@redhat.com>
  7651. * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual.
  7652. From: Karl Berry <karl@freefriends.org>.
  7653. 2007-08-11 Ulrich Drepper <drepper@redhat.com>
  7654. * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need
  7655. an atime update for the files we read.
  7656. 2007-08-10 Ulrich Drepper <drepper@redhat.com>
  7657. * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible.
  7658. * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp
  7659. instead of mkstemp.
  7660. * misc/Makefile (routines): Add mkostemp and mkostemp64.
  7661. * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7.
  7662. * misc/mkostemp.c: New file.
  7663. * misc/mkostemp64.c: New file.
  7664. * stdlib/stdlib.h: Declare the new functions.
  7665. * sysdeps/posix/tempname.c: Add new parameter which is added to
  7666. the flags for open. Remove __GT_BIGFILE handling.
  7667. * stdio-common/tempname.c: Likewise.
  7668. * include/stdio.h: Adjust __gen_tempname prototype.
  7669. Renumber __GT_* constants.
  7670. * libio/oldtmpfile.c: Adjust for __gen_tempname interface change.
  7671. * misc/mkdtemp.c: Likewise.
  7672. * misc/mkstemp.c: Likewise.
  7673. * misc/mkstemp64.c: Likewise.
  7674. * misc/mktemp.c: Likewise.
  7675. * stdio-common/tempnam.c: Likewise.
  7676. * stdio-common/tmpfile.c: Likewise.
  7677. * stdio-common/tmpfile64.c: Likewise.
  7678. * stdio-common/tmpnam.c: Likewise.
  7679. * stdio-common/tmpnam_r.c: Likewise.
  7680. 2007-08-10 Roland McGrath <roland@frob.com>
  7681. * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY):
  7682. New macros.
  7683. (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those.
  7684. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
  7685. 2007-08-10 Ulrich Drepper <drepper@redhat.com>
  7686. * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if
  7687. possible.
  7688. * nss/nss_files/files-alias.c (internal_setent): Likewise.
  7689. * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec.
  7690. * nss/nss_files/files-have_o_cloexec.c: New file.
  7691. * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if
  7692. available.
  7693. 2007-08-10 Jakub Jelinek <jakub@redhat.com>
  7694. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l,
  7695. ___new_wcstold_l): New weak aliases.
  7696. (strtold_l, wcstold_l): Use them as second argument for
  7697. long_double_symbol.
  7698. 2007-08-09 Ulrich Drepper <drepper@redhat.com>
  7699. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct
  7700. register in test for error.
  7701. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define.
  7702. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise.
  7703. * po/sv.po: Update from translation team.
  7704. 2007-08-06 Roland McGrath <roland@redhat.com>
  7705. * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l.
  7706. Remove __strto*_l inlines.
  7707. * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l.
  7708. * stdlib/strtod.c: Add libc_hidden_def.
  7709. * stdlib/strtod_l.c: Likewise.
  7710. * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto
  7711. for __new_strtold and __new_wcstold.
  7712. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for
  7713. __STRTOF, STRTOF.
  7714. * stdlib/strtol.c: Add libc_hidden_def.
  7715. * stdlib/strtol_l.c: Likewise.
  7716. * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and
  7717. strtoq.
  7718. * scripts/data/localplt-powerpc-linux-gnu.data: New file.
  7719. * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ...
  7720. * scripts/data/localplt-generic.data: ... here.
  7721. * elf/Makefile (check-data): Get generic file if no other.
  7722. ($(objpfx)check-localplt.out): Make target unconditional.
  7723. * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion):
  7724. Use ElfW(Nhdr).
  7725. 2007-08-05 Ulrich Drepper <drepper@redhat.com>
  7726. * po/zh_CN.po: Updated translation from translation team.
  7727. 2007-08-05 Jakub Jelinek <jakub@redhat.com>
  7728. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket):
  7729. Don't use CGOTSETUP and CGOTRESTORE macros.
  7730. 2007-08-04 Roland McGrath <roland@redhat.com>
  7731. * posix/Makefile ($(objpfx)getconf.speclist): Fix typo.
  7732. 2007-08-04 Jakub Jelinek <jakub@redhat.com>
  7733. * io/bits/fcntl2.h (open, open64, openat, openat64): Add
  7734. __extension__ around the whole statement expression.
  7735. 2007-08-04 Ulrich Drepper <drepper@redhat.com>
  7736. * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR
  7737. elements during initialization.
  7738. * po/pl.po: Updated translation from translation team.
  7739. * po/tr.po: Likewise.
  7740. * po/nl.po: Likewise.
  7741. 2007-08-03 Ulrich Drepper <drepper@redhat.com>
  7742. * rt/aio.h: Add __nonnull attributes.
  7743. 2007-08-03 Jakub Jelinek <jakub@redhat.com>
  7744. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0.
  7745. * stdlib/Makefile (tests): Add tst-strtod5.
  7746. (tst-strtod5-ENV): New.
  7747. * stdlib/tst-strtod5.c: New file.
  7748. * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open
  7749. failed.
  7750. * intl/finddomain.c (_nl_find_domain): Free normalized_codeset
  7751. on failure.
  7752. * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be
  7753. allocated.
  7754. 2007-08-03 Jakub Jelinek <jakub@redhat.com>
  7755. * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument
  7756. numbers.
  7757. 2007-08-02 Ulrich Drepper <drepper@redhat.com>
  7758. * io/Makefile (aux): Add have_o_cloexec.
  7759. * include/fcntl.h: Declare __have_o_cloexec.
  7760. * io/have_o_cloexec.c: New file.
  7761. * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available.
  7762. (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the
  7763. fcntl call if not necessary.
  7764. * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead
  7765. of local variable.
  7766. * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data.
  7767. Avoid memset, add explicit initialization.
  7768. * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn
  7769. to the end and change into zero-sized array.
  7770. Move lock member to fill a hole on 64-bit platforms.
  7771. * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto*
  7772. inline functions.
  7773. * include/stdlib.h: Add __strto*_internal prototypes here.
  7774. * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto*
  7775. inline functions.
  7776. * include/wchar.h: Add __wcsto*_internal prototypes.
  7777. * sysdeps/generic/inttypes.h: No need to protect the declaration
  7778. of the __strto*_internal and __wcsto*_internal members here.
  7779. * rt/mqueue.h: Change const to __const and add nonnull attributes.
  7780. 2007-08-02 Roland McGrath <roland@redhat.com>
  7781. * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to
  7782. $(inst_bindir)/getconf if possible.
  7783. * posix/Makefile ($(objpfx)getconf.speclist): New target.
  7784. (generated): Add it.
  7785. ($(inst_libexecdir)/getconf): Use it.
  7786. 2007-08-01 Ulrich Drepper <drepper@redhat.com>
  7787. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using
  7788. /proc is faster and sufficient. /sys is still needed for
  7789. __get_nprocs_conf.
  7790. 2007-08-01 Jakub Jelinek <jakub@redhat.com>
  7791. * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate
  7792. syscall as __fallocate64.
  7793. * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file.
  7794. * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file.
  7795. 2007-07-30 Jakub Jelinek <jakub@redhat.com>
  7796. * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t
  7797. value.
  7798. * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning
  7799. if off_t is different rank from size_t.
  7800. * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program,
  7801. uw_frame_state_for): Avoid type punning warnings.
  7802. * sysdeps/generic/unwind-dw2-fde-glibc.c
  7803. (_Unwind_IteratePhdrCallback): Likewise.
  7804. * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise.
  7805. (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes,
  7806. get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char
  7807. pointers.
  7808. 2007-07-31 Ulrich Drepper <drepper@redhat.com>
  7809. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count
  7810. total processors using sysfs.
  7811. (__get_nprocs): Use sysfs to determine which processors are online.
  7812. 2007-07-31 Jakub Jelinek <jakub@redhat.com>
  7813. * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix
  7814. syscall arguments count.
  7815. * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
  7816. 2007-07-30 Roland McGrath <roland@redhat.com>
  7817. * manual/libc.texinfo: Update copyrights, formatting magic, and
  7818. @dircategory. From Karl Berry <karl@freefriends.org>.
  7819. 2007-07-29 Ulrich Drepper <drepper@redhat.com>
  7820. [BZ #4860]
  7821. * io/Makefile (headers): Add bits/fcntl2.h.
  7822. * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize
  7823. using gcc builtin.
  7824. (__CPU_EQUAL_S): Likewise.
  7825. * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree.
  7826. (tests): Add tst-cpuset.
  7827. * posix/sched_cpualloc.c: New file.
  7828. * posix/sched_cpufree.c: New file.
  7829. * posix/tst-cpuset.c: New file.
  7830. * posix/Versions: Export __sched_cpualloc and __sched_cpufree for
  7831. GLIBC_2.7.
  7832. * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros.
  7833. * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S
  7834. macros. Define CPU_*_S macros.
  7835. 2007-07-28 Ulrich Drepper <drepper@redhat.com>
  7836. * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE
  7837. entry.
  7838. [BZ #4858]
  7839. * stdio-common/printf_fp.c (___printf_fp): Fix special case of
  7840. #.0g and value rounded to 1.0.
  7841. * stdio-common/tfformat.c (sprint_doubles): Add two new tests.
  7842. 2007-07-26 Jakub Jelinek <jakub@redhat.com>
  7843. * locale/programs/ld-monetary.c (monetary_finish): Avoid range check
  7844. for int_frac_digits and frac_digits.
  7845. * login/logout.c (logout): Avoid aliasing violation.
  7846. * login/logwtmp.c (logwtmp): Likewise.
  7847. * libio/genops.c (_IO_un_link): Avoid aliasing violation.
  7848. * nscd/selinux.c (preserve_capabilities): Initialize new_caps
  7849. to avoid warning.
  7850. * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid
  7851. warning.
  7852. * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid
  7853. warning.
  7854. * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len
  7855. to avoid warnings.
  7856. * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to
  7857. void **.
  7858. * nss/nsswitch.h (service_user): Use void * type for KNOWN field.
  7859. * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to
  7860. char * to avoid warning.
  7861. * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise.
  7862. * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv.
  7863. * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults,
  7864. allocate_arrays): Cast second argument to charmap_find_symbol
  7865. to char * to avoid warnings.
  7866. * locale/programs/repertoire.c (repertoire_new_char): Change
  7867. from_nr, to_nr and cnt to unsigned long, adjust printf format
  7868. string.
  7869. * locale/programs/ld-collate.c (insert_value, handle_ellipsis):
  7870. Cast second argument to new_element to char * to avoid warnings.
  7871. * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *.
  7872. * intl/gettextP.h (struct loaded_domain): Change plural to const
  7873. struct expression *.
  7874. * intl/plural-eval.c (plural_eval): Change first argument to
  7875. const struct expression *.
  7876. * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first
  7877. argument to const struct expression **.
  7878. * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust
  7879. prototypes.
  7880. * intl/loadmsgcat (_nl_unload_domain): Cast away const
  7881. in call to __gettext_free_exp.
  7882. * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe
  7883. unitialized wstring/wpattern var warnings.
  7884. * posix/runtests.c (struct a_test): Make data field const char *.
  7885. * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf
  7886. vars if not LDBL_MANT_DIG >= 106.
  7887. * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized.
  7888. * stdio-common/vfprintf.c (vfprintf): Cast first arugment to
  7889. __find_specmb to avoid warning.
  7890. * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings.
  7891. * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts
  7892. to avoid warnings.
  7893. * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to
  7894. initializer.
  7895. * sysdeps/unix/clock_gettime.c (clock_gettime): Only define
  7896. tv var when it will be actually used.
  7897. * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void
  7898. to avoid warnings.
  7899. * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned
  7900. char array resp. pointer.
  7901. * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of
  7902. char array.
  7903. * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument
  7904. to const unsigned char **.
  7905. (ucs4_to_cns11643): Change second argument to unsigned char *.
  7906. * iconvdata/euc-tw.c (BODY): Change endp type to
  7907. const unsigned char *.
  7908. * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument
  7909. to unsigned char *.
  7910. * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define.
  7911. * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array.
  7912. * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp
  7913. types to unsigned char pointers/arrays instead of char.
  7914. * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument
  7915. to unsigned char *.
  7916. * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise.
  7917. * iconvdata/jis0212.h: Include assert.h.
  7918. (ucs4_to_jisx0212): Change second argument to unsigned char *.
  7919. assert that if cp[0] is not '\0', cp[1] is not '\0' either instead
  7920. of trying to handle that.
  7921. * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to
  7922. shut up a warning.
  7923. * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek,
  7924. from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to
  7925. two dimensional const unsigned char arrays.
  7926. (BODY): Cast "" to (const unsigned char *) for assignment to cp.
  7927. Initialize endp to inptr to shut up a warning.
  7928. 2007-07-20 Jakub Jelinek <jakub@redhat.com>
  7929. [BZ #4772]
  7930. * time/strptime_l.c (__strptime_internal): Silently ignore
  7931. strftime modifiers and field width in recursive calls.
  7932. * include/time.h (enum ptime_locale_status): Remove.
  7933. (__strptime_internal): Remove decided and era_cnt arguments,
  7934. add statep argument.
  7935. * time/strptime_l.c (__strptime_internal): Remove decided
  7936. and era_cnt arguments, add statep argument. Don't recompute
  7937. any fields in recursive calls, only update caller's tm
  7938. and state, if recursive call fails, don't change tm nor
  7939. any state.
  7940. (get_alt_number): Adjust.
  7941. (recursive): Adjust caller.
  7942. (strptime): Likewise.
  7943. * time/strptime.c (strptime): Likewise.
  7944. 2007-07-19 Jakub Jelinek <jakub@redhat.com>
  7945. * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code.
  7946. * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV
  7947. if from and to charsets are the same.
  7948. * iconv/gconv_db.c (__gconv_find_transform): Likewise.
  7949. * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open
  7950. returns __GCONV_NOCONV, but not for __GCONV_NULCONV.
  7951. 2007-07-17 Jakub Jelinek <jakub@redhat.com>
  7952. * wcsmbs/wchar.h: Only define wint_t if __need_wint_t.
  7953. Don't define wint_t when __need_mbstate_t unless it
  7954. is necessary.
  7955. (__mbstate_t): Use __WINT_TYPE__ rather than wint_t
  7956. in the typedef if possible.
  7957. * wctype/wctype.h (wint_t): Define by including
  7958. wchar.h with __need_wint_t instead of including stddef.h
  7959. with __need_wint_t and as fallback definining it ourselves.
  7960. * iconv/gconv.h (__need_wint_t): Define before including
  7961. wchar.h.
  7962. * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC
  7963. or _GLIBCPP_USE_WCHAR_T.
  7964. (__need_wchar_t): Don't define
  7965. if not _LIBC or _GLIBCPP_USE_WCHAR_T.
  7966. (__need_wint_t): Don't define before including stddef.h,
  7967. define before including wchar.h only if _LIBC or
  7968. _GLIBCPP_USE_WCHAR_T.
  7969. (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T.
  7970. * sysdeps/mach/hurd/_G_config.h: Likewise.
  7971. * sysdeps/generic/_G_config.h: Likewise.
  7972. * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only
  7973. prototype if _LIBC or _GLIBCPP_USE_WCHAR_T.
  7974. (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define
  7975. if _LIBC or _GLIBCPP_USE_WCHAR_T.
  7976. 2007-07-28 Ulrich Drepper <drepper@redhat.com>
  7977. * sysdeps/posix/posix_fallocate64.c: Undefine
  7978. __posix_fallocate64_l64 before alias handling.
  7979. * sysdeps/unix/sysv/linux/posix_fallocate.c: New file.
  7980. * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file.
  7981. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file.
  7982. * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file.
  7983. * io/tst-posix_fallocate.c: Include <fcntl.h>.
  7984. 2007-07-23 Jakub Jelinek <jakub@redhat.com>
  7985. * locale/programs/ld-collate.c (atwc): New variable.
  7986. (add_to_tablewc): New toplevel function, moved from collate_output.
  7987. (collate_output): Remove add_to_tablewc nested function.
  7988. * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars.
  7989. (name_insert): New function.
  7990. (write_output): Remove hash_table and hash_size vars and name_insert
  7991. nested function.
  7992. 2007-07-24 Roland McGrath <roland@redhat.com>
  7993. * Makerules (install-others-programs-nosubdir): New target.
  7994. (install-no-libc.a-nosubdir): Depend on it.
  7995. * iconv/Makefile (install-others-programs): Set this instead of
  7996. install-others.
  7997. * login/Makefile (install-others-programs): Likewise.
  7998. * posix/Makefile (install-others-programs): Likewise.
  7999. * Makerules (install-no-libc.a-nosubdir): Clean up conditional
  8000. dependencies.
  8001. 2007-07-23 Ulrich Drepper <drepper@redhat.com>
  8002. * io/Makefile (tests): Add tst-posix_fallocate.
  8003. * io/tst-posix_fallocate.c: New file.
  8004. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  8005. __ASSUME_FALLOCATE.
  8006. 2007-07-22 Roland McGrath <roland@frob.com>
  8007. * hurd/getdport.c: Add missing copyright year update.
  8008. * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro.
  8009. * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.
  8010. 2007-07-22 Ulrich Drepper <drepper@redhat.com>
  8011. * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible.
  8012. * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set
  8013. O_CLOEXEC is needed.
  8014. * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file.
  8015. Avoid additional fcntl to set O_CLOEXEC if not needed.
  8016. * nis/nss_compat/compat-initgroups.c: Likewise.
  8017. * nis/nss_compat/compat-pwd.c: Likewise.
  8018. * nis/nss_compat/compat-spwd.c: Likewise.
  8019. 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
  8020. [BZ #3665]
  8021. * manual/errno.texi: Change ECANCELED value to 119.
  8022. [BZ #4610]
  8023. * mach/lock-intern.h: Include <sys/cdefs.h>.
  8024. [BZ #4178]
  8025. * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before
  8026. reading A.
  8027. [BZ #4126]
  8028. * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias
  8029. to __sigsuspend.
  8030. * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>.
  8031. 2006-06-13 Thomas Schwinge <tschwinge@gnu.org>
  8032. * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to
  8033. `__ASSEMBLER__'.
  8034. * sysdeps/mach/hurd/i386/tls.h: Likewise.
  8035. 2007-07-21 Ulrich Drepper <drepper@redhat.com>
  8036. * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for
  8037. descriptor received from nscd.
  8038. * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC.
  8039. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC.
  8040. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  8041. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  8042. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  8043. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  8044. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  8045. 2007-07-20 Jakub Jelinek <jakub@redhat.com>
  8046. [BZ #4816]
  8047. * manual/signal.texi (Non-atomic Example): Make memory var volatile.
  8048. [BZ #4813]
  8049. * login/forkpty.c (forkpty): Close master and slave fds on
  8050. fork failure. Patch by
  8051. Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>.
  8052. 2007-07-18 Jakub Jelinek <jakub@redhat.com>
  8053. * include/features.h (__USE_ISOC95): New define.
  8054. * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf,
  8055. swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even
  8056. for -std=iso9899:199409.
  8057. * CONFORMANCE: Remove comments about unsupported AMD1.
  8058. 2007-07-17 Jakub Jelinek <jakub@redhat.com>
  8059. * sysdeps/ia64/sched_cpucount.c: New file.
  8060. * sysdeps/powerpc/sched_cpucount.c: New file.
  8061. * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add
  8062. __BEGIN_DECLS/__END_DECLS around the prototype.
  8063. * bits/sched.h (__sched_cpucount): Likewise. Make second argument
  8064. pointer to const cpu_set_t.
  8065. * bits/types.h: Don't include stddef.h, don't define __need_size_t.
  8066. * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define
  8067. __need_size_t and include stddef.h.
  8068. * sysvipc/sys/msg.h: Likewise.
  8069. * posix/sched.h: Likewise.
  8070. * hurd/hurd/signal.h (__need_size_t): Define.
  8071. * CONFORMANCE: ctype.h and wctype.h no longer define size_t,
  8072. neither does signal.h in pedantic ISO C namespaces. stdio.h
  8073. no longer defines wint_t or wchar_t.
  8074. * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function.
  8075. * debug/vfwprintf_chk.c (__vfwprintf_chk): Use
  8076. _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock.
  8077. * debug/vprintf_chk.c (__vprintf_chk): Likewise.
  8078. * debug/vwprintf_chk.c (__vwprintf_chk): Likewise.
  8079. * debug/vfprintf_chk.c (__vfprintf_chk): Likewise.
  8080. * debug/fwprintf_chk.c (__fwprintf_chk): Likewise.
  8081. * debug/printf_chk.c (__printf_chk): Likewise.
  8082. * debug/fprintf_chk.c (__fprintf_chk): Likewise.
  8083. * debug/wprintf_chk.c (__wprintf_chk): Likewise.
  8084. * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2):
  8085. Define.
  8086. * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define.
  8087. * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS.
  8088. 2007-07-16 Jakub Jelinek <jakub@redhat.com>
  8089. [BZ #4792]
  8090. * stdlib/stdlib.h (realloc): Remove __attribute_malloc__.
  8091. * malloc/malloc.h (realloc): Likewise.
  8092. * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end
  8093. if one of proc_file_chain streams has that fileno.
  8094. * stdio-common/Makefile (tests): Add tst-popen2.
  8095. * stdio-common/tst-popen2.c: New test.
  8096. 2007-07-14 Jakub Jelinek <jakub@redhat.com>
  8097. * elf/ldconfig.c: Allow GPLv2 or any later version.
  8098. * elf/readlib.c: Likewise.
  8099. * elf/chroot_canon.c: Likewise.
  8100. * elf/cache.c: Likewise.
  8101. * nscd/mem.c: Likewise.
  8102. * nscd/getpwuid_r.c: Likewise.
  8103. * nscd/grpcache.c: Likewise.
  8104. * nscd/aicache.c: Likewise.
  8105. * nscd/getsrvbynm_r.c: Likewise.
  8106. * nscd/nscd.c: Likewise.
  8107. * nscd/servicescache.c: Likewise.
  8108. * nscd/getsrvbypt_r.c: Likewise.
  8109. * nscd/initgrcache.c: Likewise.
  8110. * nscd/gethstbyad_r.c: Likewise.
  8111. * nscd/gethstbynm2_r.c: Likewise.
  8112. * nscd/getgrnam_r.c: Likewise.
  8113. * nscd/nscd_setup_thread.c: Likewise.
  8114. * nscd/getpwnam_r.c: Likewise.
  8115. * nscd/gai.c: Likewise.
  8116. * nscd/connections.c: Likewise.
  8117. * nscd/dbg_log.c: Likewise.
  8118. * nscd/cache.c: Likewise.
  8119. * nscd/hstcache.c: Likewise.
  8120. * nscd/nscd_conf.c: Likewise.
  8121. * nscd/getgrgid_r.c: Likewise.
  8122. * nscd/pwdcache.c: Likewise.
  8123. * catgets/gencat.c: Likewise.
  8124. * locale/programs/linereader.h: Likewise.
  8125. * locale/programs/locarchive.c: Likewise.
  8126. * locale/programs/ld-paper.c: Likewise.
  8127. * locale/programs/locfile-kw.h: Likewise.
  8128. * locale/programs/ld-address.c: Likewise.
  8129. * locale/programs/xmalloc.c: Likewise.
  8130. * locale/programs/ld-time.c: Likewise.
  8131. * locale/programs/localedef.c: Likewise.
  8132. * locale/programs/simple-hash.c: Likewise.
  8133. * locale/programs/xstrdup.c: Likewise.
  8134. * locale/programs/ld-numeric.c: Likewise.
  8135. * locale/programs/locfile-kw.gperf: Likewise.
  8136. * locale/programs/ld-collate.c: Likewise.
  8137. * locale/programs/charmap-kw.gperf: Likewise.
  8138. * locale/programs/charmap.h: Likewise.
  8139. * locale/programs/charmap-kw.h: Likewise.
  8140. * locale/programs/config.h: Likewise.
  8141. * locale/programs/locfile.c: Likewise.
  8142. * locale/programs/ld-ctype.c: Likewise.
  8143. * locale/programs/charmap.c: Likewise.
  8144. * locale/programs/ld-messages.c: Likewise.
  8145. * locale/programs/repertoire.h: Likewise.
  8146. * locale/programs/locale.c: Likewise.
  8147. * locale/programs/ld-name.c: Likewise.
  8148. * locale/programs/linereader.c: Likewise.
  8149. * locale/programs/locfile.h: Likewise.
  8150. * locale/programs/3level.h: Likewise.
  8151. * locale/programs/ld-monetary.c: Likewise.
  8152. * locale/programs/ld-measurement.c: Likewise.
  8153. * locale/programs/charmap-dir.c: Likewise.
  8154. * locale/programs/ld-identification.c: Likewise.
  8155. * locale/programs/localedef.h: Likewise.
  8156. * locale/programs/charmap-dir.h: Likewise.
  8157. * locale/programs/repertoire.c: Likewise.
  8158. * locale/programs/simple-hash.h: Likewise.
  8159. * locale/programs/ld-telephone.c: Likewise.
  8160. * locale/programs/locale-spec.c: Likewise.
  8161. * locale/programs/locfile-token.h: Likewise.
  8162. * posix/getconf.c: Likewise.
  8163. * iconv/dummy-repertoire.c: Likewise.
  8164. * iconv/iconv_charmap.c: Likewise.
  8165. * iconv/iconvconfig.c: Likewise.
  8166. * iconv/iconv_prog.c: Likewise.
  8167. * malloc/memusagestat.c: Likewise.
  8168. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
  8169. 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  8170. * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers.
  8171. * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise.
  8172. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity
  8173. check for the first argument.
  8174. 2007-07-12 Jakub Jelinek <jakub@redhat.com>
  8175. [BZ #4775]
  8176. * math/tgmath.h (__tgmath_real_type_sub): Formatting.
  8177. (__tgmath_real_type): Fix if expr is const int or other const
  8178. qualified integral type.
  8179. (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement
  8180. expressions and handle const qualified arguments.
  8181. (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG,
  8182. __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
  8183. (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using
  8184. statement expressions.
  8185. (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
  8186. __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise.
  8187. (__TGMATH_UNARY_IMAG): Define.
  8188. (conj, cproj): Use __TGMATH_UNARY_IMAG macro.
  8189. * math/Makefile (tests): Add test-tgmath2.
  8190. (CFLAGS-test-tgmath2.c): Add.
  8191. * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble,
  8192. count_cfloat, count_cldouble): New variables.
  8193. (NCCALLS): Define.
  8194. (main): Check number of complex calls as well.
  8195. (F(compile_test)): Add complex tests and tests with const qualified
  8196. arguments.
  8197. (y, z, ccount): Define.
  8198. (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh),
  8199. F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog),
  8200. F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj),
  8201. F(cproj)): New functions.
  8202. * math/test-tgmath2.c: New test.
  8203. 2007-07-11 Jakub Jelinek <jakub@redhat.com>
  8204. [BZ #4776]
  8205. * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH,
  8206. RPATH etc. as "/" rather than "", don't segfault on empty paths,
  8207. instead output ".".
  8208. * dlfcn/Makefile (distribute): Add glreflib3.c.
  8209. (module-names): Add glreflib3.
  8210. ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than
  8211. glreflib1.so.
  8212. (LDFLAGS_glreflib3.so): New.
  8213. * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of
  8214. glreflib1.so.
  8215. * dlfcn/glreflib3.c: New file.
  8216. * intl/finddomain.c (_nl_find_domain): If _nl_explode_name
  8217. returned -1, return NULL.
  8218. * intl/explodename.c (_nl_explode_name): Return -1 if
  8219. _nl_normalize_codeset failed.
  8220. 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com>
  8221. * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments.
  8222. Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops
  8223. and avoid branch misspredicts for > 31 bytes memset case.
  8224. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
  8225. Remove toc ref to __cache_line_size.
  8226. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4
  8227. to get ISA-V2.0 branch hints.
  8228. * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise
  8229. * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise
  8230. * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
  8231. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
  8232. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
  8233. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
  8234. Remove toc ref to __cache_line_size.
  8235. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S:
  8236. Include math_ldbl_opt.h.
  8237. 2007-07-10 Ulrich Drepper <drepper@redhat.com>
  8238. [BZ #4773]
  8239. * time/strptime_l.c (__strptime_internal): Implement greedy
  8240. matching of weekday and month names.
  8241. 2007-07-09 Roland McGrath <roland@redhat.com>
  8242. * elf/elf.h (NT_GNU_ABI_TAG): New macro.
  8243. (ELF_NOTE_ABI): Use it.
  8244. (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
  8245. 2007-07-09 Ulrich Drepper <drepper@redhat.com>
  8246. * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries.
  8247. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
  8248. 2007-07-07 Ulrich Drepper <drepper@redhat.com>
  8249. [BZ #4745]
  8250. * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF
  8251. in loop to look for conversion specifier to avoid testing of
  8252. wrong errno value.
  8253. * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a.
  8254. * stdio-common/bug18.c: New file.
  8255. * stdio-common/bug18a.c: New file.
  8256. * stdio-common/bug19.c: New file.
  8257. * stdio-common/bug19a.c: New file.
  8258. 2007-07-05 Mike Frysinger <vapier@gentoo.org>
  8259. * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when
  8260. running awk script.
  8261. 2007-07-01 Jakub Jelinek <jakub@redhat.com>
  8262. * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
  8263. * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0).
  8264. Return NULL if mmap failed instead of asserting it does not.
  8265. (calloc): Check for integer overflow.
  8266. * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger
  8267. than LONG_MAX / 10.
  8268. 2007-07-03 Jakub Jelinek <jakub@redhat.com>
  8269. [BZ #4702]
  8270. * nis/nss-default.c: Include errno.h.
  8271. (init): Preserve errno.
  8272. 2007-07-02 Ulrich Drepper <drepper@redhat.com>
  8273. * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment.
  8274. 2007-06-30 Ulrich Drepper <drepper@redhat.com>
  8275. * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC.
  8276. 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8277. * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV.
  8278. 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
  8279. * sysdeps/s390/dl-procinfo.c: New file.
  8280. * sysdeps/s390/dl-procinfo.h: New file.
  8281. * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file.
  8282. 2007-06-29 Jakub Jelinek <jakub@redhat.com>
  8283. * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even
  8284. in PT_NOTE segments with multiple notes.
  8285. * elf/readelflib.c (process_elf_file): Likewise.
  8286. 2007-06-22 Ulrich Drepper <drepper@redhat.com>
  8287. * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more
  8288. ISO C compliant.
  8289. 2007-06-19 Ulrich Drepper <drepper@redhat.com>
  8290. * elf/dl-close.c (free_mem): Free _dl_scope_free_list.
  8291. 2007-06-13 Jakub Jelinek <jakub@redhat.com>
  8292. * include/link.h: Don't include rtld-lowlevel.h.
  8293. (struct link_map): Remove l_scope_lock.
  8294. * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h.
  8295. (_dl_scope_free_list): New field (variable) in _rtld_global.
  8296. (DL_LOOKUP_SCOPE_LOCK): Remove.
  8297. (_dl_scope_free): New prototype.
  8298. * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock.
  8299. Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x.
  8300. (_dl_profile_fixup): Likewise.
  8301. * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x
  8302. whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and
  8303. THREAD_GSCOPE_RESET_FLAG around it.
  8304. * elf/dl-close.c (_dl_close_worker): Don't use
  8305. __rtld_mrlock_{change,done}. Call _dl_scope_free on the old
  8306. scope. Make sure THREAD_GSCOPE_WAIT () happens if any old
  8307. scopes were queued or if l_scope_mem has been abandoned.
  8308. * elf/dl-open.c (_dl_scope_free): New function.
  8309. (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}.
  8310. * elf/dl-support.c (_dl_scope_free_list): New variable.
  8311. * elf/dl-lookup.c (add_dependency): Remove flags argument.
  8312. Remove DL_LOOKUP_SCOPE_LOCK handling.
  8313. (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK
  8314. handling.
  8315. * elf/dl-object.c (_dl_new_object): Don't use
  8316. __rtld_mrlock_initialize.
  8317. 2007-06-19 Ulrich Drepper <drepper@redhat.com>
  8318. * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements
  8319. to fill in holes
  8320. (rtld_global_ro): Likewise.
  8321. 2007-06-18 Jakub Jelinek <jakub@redhat.com>
  8322. * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous.
  8323. Move PT_LOAD checking to...
  8324. (_dl_addr_inside_object): ... here, new function.
  8325. * elf/dl-sym.c (do_sym): If not l_contiguous,
  8326. call _dl_addr_inside_object.
  8327. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
  8328. * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
  8329. * elf/dl-open.c (dl_open_worker): Likewise.
  8330. (_dl_addr_inside_object): New function if IS_IN_rtld.
  8331. * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no
  8332. holes are present or are PROT_NONE protected.
  8333. * include/link.h (struct link_map): Add l_contiguous field.
  8334. * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype.
  8335. 2007-06-18 Jakub Jelinek <jakub@redhat.com>
  8336. Tomas Janousek <tjanouse@redhat.com>
  8337. Ulrich Drepper <drepper@redhat.com>
  8338. [BZ #4647]
  8339. * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail
  8340. member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6
  8341. socket.
  8342. * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make
  8343. unused member a bitmap.
  8344. * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6
  8345. servers are configured.
  8346. 2007-06-18 Jakub Jelinek <jakub@redhat.com>
  8347. * elf/rtld.c (dl_main): Don't call init_tls more than once.
  8348. 2007-06-17 Andreas Schwab <schwab@suse.de>
  8349. * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections.
  8350. 2007-06-16 Andreas Jaeger <aj@suse.de>
  8351. [BZ #4125]
  8352. * sysdeps/unix/sysv/linux/sys/ptrace.h
  8353. (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK,
  8354. PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC,
  8355. PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK,
  8356. PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE,
  8357. PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT):
  8358. Define.
  8359. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
  8360. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
  8361. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
  8362. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
  8363. 2007-06-16 Ulrich Drepper <drepper@redhat.com>
  8364. [BZ #4599]
  8365. * sysdeps/unix/sysv/linux/check_pf.c (make_request): When
  8366. determining whether there are IPv4/IPv6 addresses, ignore loopback
  8367. addresses.
  8368. 2007-06-14 Uroš Bizjak <ubizjak@gmail.com>
  8369. * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined.
  8370. * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int
  8371. as the return type. Change type of "r" variable to CMPtype.
  8372. * soft-fp/eqsf2.c (__eqsf2): Likewise.
  8373. * soft-fp/eqtf2.c (__eqtf2): Likewise.
  8374. * soft-fp/gedf2.c (__gedf2): Likewise.
  8375. * soft-fp/gesf2.c (__gesf2): Likewise.
  8376. * soft-fp/getf2.c (__getf2): Likewise.
  8377. * soft-fp/ledf2.c (__ledf2): Likewise.
  8378. * soft-fp/lesf2.c (__lesf2): Likewise.
  8379. * soft-fp/letf2.c (__letf2): Likewise.
  8380. * soft-fp/unorddf2 (__unorddf2): Likewise.
  8381. * soft-fp/unordsf2 (__unordsf2): Likewise.
  8382. * soft-fp/unordtf2 (__unordtf2): Likewise.
  8383. 2007-06-09 Ulrich Drepper <drepper@redhat.com>
  8384. * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and
  8385. make sure gcc doesn't mess around with this.
  8386. 2007-06-08 Ulrich Drepper <drepper@redhat.com>
  8387. * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist.
  8388. 2007-06-08 Jakub Jelinek <jakub@redhat.com>
  8389. * elf/dl-close.c (_dl_close_worker): Remove all to be removed
  8390. libraries from the global scope at once and call THREAD_GSCOPE_WAIT
  8391. at most once per _dl_close_worker.
  8392. 2007-06-08 Ulrich Drepper <drepper@redhat.com>
  8393. * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of
  8394. __sched_cpucount as const.
  8395. * posix/sched_cpucount.c: Adjust.
  8396. * posix/sched_cpucount.c (__sched_cpucount): Allow using special
  8397. instruction for counting bits.
  8398. * sysdeps/x86_64/sched_cpucount.c: New file.
  8399. 2007-06-07 Ulrich Drepper <drepper@redhat.com>
  8400. * configure.in: Avoid variable named BASH.
  8401. * config.make.in: Likewise.
  8402. Patch in part by Mike Frysinger.
  8403. 2007-06-06 Jakub Jelinek <jakub@redhat.com>
  8404. [BZ #4586]
  8405. * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat
  8406. pseudo-zeros as zero.
  8407. * sysdeps/x86_64/ldbl2mpn.c: New file.
  8408. * sysdeps/ia64/ldbl2mpn.c: New file.
  8409. 2007-06-04 Jakub Jelinek <jakub@redhat.com>
  8410. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove
  8411. unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf.
  8412. Remove unreachable code at the end.
  8413. 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com>
  8414. * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of
  8415. ldbl-128ibm in comment.
  8416. (fpclassifyl): Correct classification of denormals.
  8417. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct
  8418. return value for MIN denormal. Rewrite using long double math too
  8419. correctly handle denormals and canonicalize the results.
  8420. 2007-06-05 Jakub Jelinek <jakub@redhat.com>
  8421. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
  8422. (__mpn_construct_long_double): Fix conversion where result ought
  8423. to be smaller than __LDBL_MIN__, or the low double should be
  8424. denormal. Fix decision where to negate low double - honor round
  8425. to even rules.
  8426. * stdio-common/tst-sprintf2.c: Include string.h.
  8427. (COMPARE_LDBL): Define.
  8428. (TEST): Also test whether a string hexadecimal float representation
  8429. can be parsed back to the number.
  8430. (main): Add a couple of further tests.
  8431. 2007-06-04 Jakub Jelinek <jakub@redhat.com>
  8432. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
  8433. (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double
  8434. is non-zero, but smaller than 2 * __DBL_MIN__.
  8435. * stdio-common/tst-sprintf2.c: New test.
  8436. * stdio-common/Makefile (tests): Add tst-sprintf2.
  8437. * math/test-misc.c (main): Don't run last batch of tests with
  8438. IBM long double format.
  8439. 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
  8440. * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file.
  8441. * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file.
  8442. * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file.
  8443. * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file.
  8444. * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
  8445. * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file.
  8446. * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file.
  8447. * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file.
  8448. * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file.
  8449. * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file.
  8450. * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file.
  8451. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies:
  8452. New file.
  8453. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies:
  8454. New file.
  8455. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies:
  8456. New file.
  8457. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies:
  8458. New file.
  8459. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies:
  8460. New file.
  8461. * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file.
  8462. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies:
  8463. New file.
  8464. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies:
  8465. New file.
  8466. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies:
  8467. New file.
  8468. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies:
  8469. New file.
  8470. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies:
  8471. New file.
  8472. 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
  8473. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move.
  8474. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here.
  8475. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move.
  8476. * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here.
  8477. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move.
  8478. * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here.
  8479. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move.
  8480. * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here.
  8481. 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com>
  8482. * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S
  8483. (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
  8484. * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S
  8485. (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
  8486. * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S
  8487. (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
  8488. * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S
  8489. (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1.
  8490. 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com>
  8491. * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file.
  8492. * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file.
  8493. * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file.
  8494. * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file.
  8495. 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com>
  8496. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S
  8497. [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1.
  8498. 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com>
  8499. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File
  8500. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File
  8501. * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File
  8502. * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File
  8503. 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com>
  8504. * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file.
  8505. * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file.
  8506. 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com>
  8507. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file.
  8508. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file.
  8509. * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved.
  8510. * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise.
  8511. * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here.
  8512. * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
  8513. 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com>
  8514. * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file.
  8515. * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file.
  8516. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file.
  8517. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file.
  8518. 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com>
  8519. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file.
  8520. * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file.
  8521. * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file.
  8522. * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
  8523. * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file.
  8524. * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file.
  8525. 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com>
  8526. * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file.
  8527. * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file.
  8528. * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file.
  8529. * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file.
  8530. 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com>
  8531. * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file.
  8532. * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file.
  8533. * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file.
  8534. * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file.
  8535. * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file.
  8536. * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file.
  8537. * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file.
  8538. * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file.
  8539. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file.
  8540. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file.
  8541. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file.
  8542. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file.
  8543. * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file.
  8544. * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file.
  8545. * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file.
  8546. * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file.
  8547. 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com>
  8548. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file.
  8549. * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file.
  8550. 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com>
  8551. * sysdeps/powerpc/powerpc32/power6/memset.S: New file.
  8552. * sysdeps/powerpc/powerpc64/power6/memset.S: New file.
  8553. 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com>
  8554. * sysdeps/powerpc/powerpc32/970/Implies: New file.
  8555. * sysdeps/powerpc/powerpc32/power5/Implies: New file.
  8556. * sysdeps/powerpc/powerpc32/power5+/Implies: New file.
  8557. * sysdeps/powerpc/powerpc32/power6/Implies: New file.
  8558. * sysdeps/powerpc/powerpc32/power6x/Implies: New file.
  8559. * sysdeps/powerpc/powerpc64/970/Implies: New file.
  8560. * sysdeps/powerpc/powerpc64/power5/Implies: New file.
  8561. * sysdeps/powerpc/powerpc64/power5+/Implies: New file.
  8562. * sysdeps/powerpc/powerpc64/power6/Implies: New file.
  8563. * sysdeps/powerpc/powerpc64/power6x/Implies: New file.
  8564. 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com>
  8565. * sysdeps/powerpc/powerpc32/power4/memset.S: New file
  8566. 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com>
  8567. * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize
  8568. branch miss-predicts. Ensure that cache line crossing does not impact
  8569. dispatch grouping.
  8570. 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com>
  8571. * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include
  8572. "../../powerpc32/power4/memcopy.h".
  8573. * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include
  8574. "../../powerpc32/power4/wordcopy.c".
  8575. 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com>
  8576. * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved.
  8577. * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise.
  8578. * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise.
  8579. * sysdeps/powerpc/powerpc32/power4/Makefile: To here.
  8580. * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise.
  8581. * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
  8582. 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com>
  8583. * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file.
  8584. 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com>
  8585. * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file.
  8586. * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file.
  8587. * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file.
  8588. * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file.
  8589. * sysdeps/powerpc/powerpc64/power4/Makefile: New file.
  8590. * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file.
  8591. * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file.
  8592. * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file.
  8593. 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com>
  8594. * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file.
  8595. 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com>
  8596. * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file.
  8597. * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file.
  8598. * sysdeps/powerpc/powerpc32/power4/memset.S: New file.
  8599. * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file.
  8600. * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file.
  8601. * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file.
  8602. * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file.
  8603. 2007-05-29 Roland McGrath <roland@redhat.com>
  8604. * po/Makefile (po-sed-cmd): New variable.
  8605. (libc.pot.files): Move sed command text in there, avoid \ inside ''.
  8606. 2007-05-29 Ulrich Drepper <drepper@redhat.com>
  8607. * crypt/md5-crypt.c: Fix comment.
  8608. * nscd/nscd_helper.c (get_mapping): Handle short replies instead
  8609. of crashing. When this is the case or if the reply is malformed,
  8610. don't try to close the new file descriptor since it does not
  8611. exist.
  8612. Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>.
  8613. 2007-05-28 Jakub Jelinek <jakub@redhat.com>
  8614. * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define
  8615. if __NR_utimensat is not defined.
  8616. 2007-05-26 Ulrich Drepper <drepper@redhat.com>
  8617. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>.
  8618. 2007-05-25 Jakub Jelinek <jakub@redhat.com>
  8619. * io/bits/fcntl2.h (__open_2): Add nonnull attribute.
  8620. (open): Fix comment typos. Don't call __open_2 if flags
  8621. is a compile time constant without O_CREAT.
  8622. (__open64_2): Add nonnull attribute.
  8623. (open64): Fix comment typos. Don't call __open64_2 if flags
  8624. is a compile time constant without O_CREAT.
  8625. (__openat_2): Add nonnull attribute, fix nonnull attribute
  8626. on redirect.
  8627. (openat): Fix comment typos. Don't call __openat_2 if flags
  8628. is a compile time constant without O_CREAT.
  8629. (__openat64_2): Add nonnull attribute, fix nonnull attribute
  8630. on redirect.
  8631. (openat64): Fix comment typos. Don't call __openat64_2 if flags
  8632. is a compile time constant without O_CREAT.
  8633. 2007-05-24 Ulrich Drepper <drepper@redhat.com>
  8634. * Makerules (sysd-rules): Define PTW for ptw-* files.
  8635. * Versions: Define GLIBC_2.7 for libc.
  8636. * include/stdio.h: Declare __fortify_fail.
  8637. * debug/fortify_fail.c: New file.
  8638. * debug/Makefile (routines): Add fortify_fail.
  8639. * debug/chk_fail.c: Use __fortify_fail.
  8640. * debug/stack_chk_fail.c: Likewise.
  8641. * io/Versions: Export __open_2, __open64_2, __openat_2, and
  8642. __openat64_2 for GLIBC_2.7.
  8643. * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h.
  8644. * io/open.c: Define *_2 variant of function which checks for O_CREAT
  8645. and fails if necessary.
  8646. * io/open64.c: Likewise.
  8647. * io/openat.c: Likewise.
  8648. * io/openat64.c: Likewise.
  8649. * sysdeps/unix/sysv/linux/open64.c: Likewise.
  8650. * sysdeps/unix/sysv/linux/openat.c: Likewise.
  8651. * sysdeps/unix/sysv/linux/openat64.c: Likewise.
  8652. * io/bits/fcntl2.h: New file.
  8653. * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and
  8654. __openat64_2.
  8655. * include/bits/fcntl2.h: New file.
  8656. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  8657. Add open_2.
  8658. * sysdeps/unix/sysv/linux/open_2.c: New file.
  8659. 2007-05-21 Ulrich Drepper <drepper@redhat.com>
  8660. * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value
  8661. as second parameter to handle_intel.
  8662. * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache
  8663. the entry.
  8664. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information
  8665. handling to ...
  8666. * sysdeps/x86_64/cacheinfo.c: ... here. New file.
  8667. * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
  8668. cacheinfo.
  8669. * sysdeps/x86_64/memcpy.S: Complete rewrite.
  8670. * sysdeps/x86_64/mempcpy.S: Adjust appropriately.
  8671. Patch by Evandro Menezes <evandro.menezes@amd.com>.
  8672. * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file.
  8673. 2007-05-21 Jakub Jelinek <jakub@redhat.com>
  8674. [BZ #4525]
  8675. * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait.
  8676. * sysdeps/unix/sysv/linux/epoll_pwait.c: New file.
  8677. * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove.
  8678. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare.
  8679. [BZ #4514]
  8680. * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable,
  8681. reinitialize workend at the start of each do_positional format spec
  8682. loop, free workstart before do_positional loops.
  8683. (printf_unknown): Fix size of work_buffer.
  8684. * stdio-common/tst-sprintf.c (main): Add 3 new testcases.
  8685. * malloc/hooks.c (MALLOC_STATE_VERSION): Bump.
  8686. (public_sET_STATe): If ms->version < 3, put all chunks into
  8687. unsorted chunks and clear {fd,bk}_nextsize fields of largebin
  8688. chunks.
  8689. * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes.
  8690. * malloc/hooks.c: Likewise.
  8691. * malloc/arena.c: Likewise.
  8692. * malloc/malloc.c (do_check_malloc_state): Don't assert
  8693. n_mmaps is not greater than n_mmaps_max. This removes the need
  8694. for the previous change.
  8695. * malloc/Makefile (CFLAGS-malloc.c): Revert accidental
  8696. 2007-05-07 commit.
  8697. 2007-05-19 Ulrich Drepper <drepper@redhat.com>
  8698. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX):
  8699. Define for kernel >= 2.6.22.
  8700. 2007-05-18 Ulrich Drepper <drepper@redhat.com>
  8701. * elf/dl-close.c (_dl_close_worker): When removing object from
  8702. global scope, wait for all lookups to finish afterwards.
  8703. * elf/dl-open.c (add_to_global): When global scope array must
  8704. grow, allocate a new one and free old array only after all
  8705. lookups finish.
  8706. * elf/dl-runtime.c (_dl_fixup): Protect using global scope.
  8707. (_dl_lookup_symbol_x): Likewise.
  8708. * elf/dl-support.c: Define _dl_wait_lookup_done.
  8709. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add
  8710. _dl_wait_lookup_done.
  8711. * malloc/malloc.c (do_check_chunk): Correct check for mmaped block
  8712. not overlapping with arena.
  8713. * malloc/mcheck.c (reallochook): If size==0, free the block.
  8714. * rt/tst-shm.c: Use fstat64 instead of fstat.
  8715. * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
  8716. __NR_sync_file_range is not defined.
  8717. 2007-05-17 Ulrich Drepper <drepper@redhat.com>
  8718. Dummy files to prevent stub versions from being used.
  8719. * sysdeps/x86_64/fpu/k_cosl.c: New file.
  8720. * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file.
  8721. * sysdeps/x86_64/fpu/k_sinl.c: New file.
  8722. * sysdeps/x86_64/fpu/k_tanl.c: New file.
  8723. * version.h (VERSION): Set to 2.6.90.
  8724. 2007-05-14 Ulrich Drepper <drepper@redhat.com>
  8725. * version.h (VERSION): Define to 2.6.
  8726. * include/features.h (__GLIBC_MINOR__): Define to 6.
  8727. * malloc/malloc.c: Use all small bin slots on 64-bit archs.
  8728. * malloc/malloc.c (largebin_index): Really have 32 buckets with 64
  8729. sizes.
  8730. 2007-05-13 Ulrich Drepper <drepper@redhat.com>
  8731. * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum
  8732. number of mmaps. n_mmaps_max is the target.
  8733. * malloc/hooks.c: Likewise.
  8734. * malloc/arena.c: Likewise.
  8735. 2007-05-12 Andreas Jaeger <aj@suse.de>
  8736. * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for
  8737. getpid.
  8738. 2007-05-11 Ulrich Drepper <drepper@redhat.com>
  8739. * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by
  8740. adding new variables.
  8741. * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc
  8742. optimize. Completely extend global scope array before making the
  8743. new entries visible.
  8744. 2007-05-10 Ulrich Drepper <drepper@redhat.com>
  8745. * sysdeps/unix/sysv/linux/tst-getcpu.c: New file.
  8746. * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add
  8747. tst-getcpu.
  8748. * include/link.h: Move l_version and l_nversion members around to
  8749. fill gaps.
  8750. * scripts/check-c++-types.sh: Don't use -fnu89-inline option.
  8751. * sysdeps/unix/sysv/linux/sched_setaffinity.c
  8752. (__sched_setaffinity_new): If syscall was successful and
  8753. RESET_VGETCPU_CACHE is defined, use it before returning.
  8754. * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file.
  8755. * io/sys/stat.h: Make sure struct timespec is defined for
  8756. __USE_ATFILE.
  8757. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and
  8758. UTIME_OMIT.
  8759. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
  8760. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
  8761. * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
  8762. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
  8763. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
  8764. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
  8765. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT.
  8766. * io/sys/stat.h: Declare utimensat, futimens.
  8767. * io/utimensat.c: New file.
  8768. * io/futimens.c: New file.
  8769. * sysdeps/unix/sysv/linux/utimensat.c: New file.
  8770. * sysdeps/unix/sysv/linux/futimens.c: New file.
  8771. * io/Makefile (routines): Add utimensat, futimens.
  8772. * io/Versions: Add utimensat, futimens to GLIBC_2.6.
  8773. * sysdeps/unix/sysv/linux/lutimes.c: New file.
  8774. * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if
  8775. available.
  8776. * include/sys/cdefs.h: Redefine __nonnull so that test for
  8777. incorrect parameters in the libc code itself are not omitted.
  8778. 2007-05-09 Jakub Jelinek <jakub@redhat.com>
  8779. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
  8780. exception in addition to inexact when asked to raise only FE_INEXACT.
  8781. [BZ #3427]
  8782. * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions
  8783. in *envp.
  8784. 2007-05-07 Ulrich Drepper <drepper@redhat.com>
  8785. [BZ #4403]
  8786. * string/strfry.c (strfry): Make result more random.
  8787. 2007-05-07 Richard Henderson <rth@redhat.com>
  8788. * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
  8789. if __NO_LONG_DOUBLE_MATH.
  8790. * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
  8791. available in the compiler, add .arch directive to the assembly.
  8792. 2007-05-07 Jakub Jelinek <jakub@redhat.com>
  8793. * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
  8794. compat_symbol to GLIBC_2_1.
  8795. * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
  8796. * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
  8797. * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
  8798. * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
  8799. * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
  8800. * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
  8801. * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
  8802. libc, not libm.
  8803. (__isnanl): New compat_symbol.
  8804. 2007-05-07 Ulrich Drepper <drepper@redhat.com>
  8805. Jakub Jelinek <jakub@redhat.com>
  8806. * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
  8807. (new_heap): Initialize mprotect_size.
  8808. (grow_heap): When growing, only mprotect from mprotect_size till
  8809. new_size if mprotect_size is smaller. When shrinking, use PROT_NONE
  8810. MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
  8811. 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com>
  8812. Peter Bergner <bergner@us.ibm.com>
  8813. * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern.
  8814. Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV.
  8815. * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support.
  8816. * sysdeps/powerpc/fpu/fe_mask.c: New file.
  8817. * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment.
  8818. * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept):
  8819. Call __fe_mask_env() if all FP exceptions disabled.
  8820. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits
  8821. from old FPSCR to new fenv to propagate DFP rounding modes.
  8822. Call __fe_mask_env() if FP exceptions previously enabled.
  8823. * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge
  8824. exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when
  8825. transitioning from all exceptions disabled to any exception enabled
  8826. or visa versa.
  8827. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to
  8828. merge exceptions from env. Call __fe_nomask_env or __fe_mask_env
  8829. when transitioning from all exceptions disabled to any exception
  8830. enabled or visa versa.
  8831. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to...
  8832. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here.
  8833. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to...
  8834. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here.
  8835. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file.
  8836. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file.
  8837. 2007-05-06 Ulrich Drepper <drepper@redhat.com>
  8838. [BZ #4465]
  8839. * posix/unistd.h: Remove __THROW from fdatasync.
  8840. 2007-05-06 Mike Frysinger <vapier@gentoo.org>
  8841. [BZ #4465]
  8842. * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.
  8843. 2007-05-06 Ulrich Drepper <drepper@redhat.com>
  8844. * stdio-common/vfprintf.c (process_string_arg): Optimize
  8845. ridiculous precision in wide char code printing multi-byte string.
  8846. Reported by Jim Meyering <jim@meyering.net>.
  8847. [BZ #4131]
  8848. * elf/dl-addr.c (_dl_addr): Compare address with actual segment
  8849. boundaries to work around systems with overlapping binary loading.
  8850. Based on a patch by Suzuki <suzuki@in.ibm.com>.
  8851. 2007-05-04 Ulrich Drepper <drepper@redhat.com>
  8852. * stdio-common/vfprintf.c (process_string_arg): Adjust call to
  8853. __mbsnrtowcs after last change.
  8854. * locale/programs/linereader.c (get_symname): Fix adding final NUL.
  8855. (get_ident): Likewise.
  8856. 2007-05-03 Jakub Jelinek <jakub@redhat.com>
  8857. * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
  8858. with setting the sticky bit.
  8859. * math/test-misc.c (main): Add more truncation tests.
  8860. 2007-04-14 Uroš Bizjak <ubizjak@gmail.com>
  8861. * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of
  8862. double in the function declaration.
  8863. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of
  8864. double in the function declaration.
  8865. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
  8866. float in the function declaration.
  8867. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
  8868. float in the function declaration.
  8869. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for
  8870. denormal operands. Do not generate FP_EX_DENORM exception.
  8871. (FP_UNPACK_RAW_EP): Ditto.
  8872. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of
  8873. undefined _FP_UNPACK_RAW_E.
  8874. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of
  8875. undefined _FP_UNPACK_RAW_EP.
  8876. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of
  8877. undefined _FP_PACK_RAW_E.
  8878. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of
  8879. undefined _FP_PACK_RAW_EP.
  8880. * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to
  8881. _FP_FRAC_COPY_2.
  8882. * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to
  8883. _FP_FRAC_COPY_4.
  8884. 2007-04-16 Uroš Bizjak <ubizjak@gmail.com>
  8885. Jakub Jelinek <jakub@redhat.com>
  8886. * soft-fp/op-common.h (FP_EXTEND): Do not abort when
  8887. _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for
  8888. this case.
  8889. * soft-fp/op-common.h (FP_TRUNC): Ditto.
  8890. 2007-05-03 Jakub Jelinek <jakub@redhat.com>
  8891. * math/test-misc.c (main): Add tests for rounding long double
  8892. values close to smallest double denormalized value to double.
  8893. 2007-04-30 Joseph Myers <joseph@codesourcery.com>
  8894. * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
  8895. condition for truncating to 0. Set sticky bit for such
  8896. truncation.
  8897. 2007-05-02 Jakub Jelinek <jakub@redhat.com>
  8898. * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than
  8899. fixed length array for ignore.
  8900. 2007-04-30 Ulrich Drepper <drepper@redhat.com>
  8901. [BZ #4438]
  8902. * stdio-common/vfprintf.c (process_string_arg): Don't overflow the
  8903. stack for large precisions.
  8904. * stdio-common/test-vfprintf.c (main): Add test for large
  8905. precision.
  8906. 2007-04-30 Jakub Jelinek <jakub@redhat.com>
  8907. * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign
  8908. for exponent 0.
  8909. * stdio-common/tfformat.c (sprint_doubles): Add a new test.
  8910. [BZ #4439]
  8911. * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into
  8912. account in the size check.
  8913. * resolv/tst-inet_ntop.c: New test.
  8914. * resolv/Makefile (tests): Add tst-inet_ntop.
  8915. 2007-04-30 Ulrich Drepper <drepper@redhat.com>
  8916. Jakub Jelinek <jakub@redhat.com>
  8917. [BZ #4349]
  8918. * malloc/malloc.c: Keep separate list for first blocks on the bin
  8919. lists with a given size. This helps skipping over list elements
  8920. we know won't fit in two places.
  8921. Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.
  8922. 2007-04-28 Ulrich Drepper <drepper@redhat.com>
  8923. [BZ #4102]
  8924. * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate
  8925. label to Teredo tunnel addresses 2001://32.
  8926. 2007-04-27 Ulrich Drepper <drepper@redhat.com>
  8927. * locale/programs/ld-collate.c (collate_read): Allow order_start
  8928. after copy.
  8929. * locale/programs/ld-collate.c (collate_read): Fix printing of
  8930. error message.
  8931. [BZ #3213]
  8932. * locale/C-translit.h.in: Add entry for U2044.
  8933. [BZ #4342]
  8934. * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow
  8935. hexa-decimal floats without exponent.
  8936. * stdio-common/tstscanf.c (main): Adjust Test 8 test for success.
  8937. 2007-04-25 Ulrich Drepper <drepper@redhat.com>
  8938. * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.
  8939. * sysdeps/unix/sysv/linux/sched_getcpu.c: New file.
  8940. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file.
  8941. * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for
  8942. GLIBC_2.6.
  8943. * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):
  8944. Add sched_getcpu.
  8945. 2007-04-25 Jakub Jelinek <jakub@redhat.com>
  8946. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
  8947. of 0 after the out_fail label.
  8948. 2007-04-25 Ulrich Drepper <drepper@redhat.com>
  8949. [BZ #4406]
  8950. * iconv/gconv_charset.h (strip): Allow ':'.
  8951. * iconv/iconv_open.c (iconv_open): Adjust comment.
  8952. 2007-04-25 Jakub Jelinek <jakub@redhat.com>
  8953. * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
  8954. version.
  8955. 2007-04-23 Jakub Jelinek <jakub@redhat.com>
  8956. [BZ #4381]
  8957. * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient
  8958. alignment of buffer and tmp_buffer.
  8959. * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r,
  8960. internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient
  8961. alignment of buffer.
  8962. * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen
  8963. bigger than INT_MAX.
  8964. * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and
  8965. h_errnop arguments. Fail if buflen is too small.
  8966. (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers.
  8967. 2007-04-23 Jakub Jelinek <jakub@redhat.com>
  8968. [BZ #4405]
  8969. * iconvdata/gconv-modules (E13B): Add a missing slash to the alias
  8970. name. Patch by Aurelien Jarno <aurelien@aurel32.net>.
  8971. 2007-04-22 Roland McGrath <roland@redhat.com>
  8972. * elf/elf.h (NT_PRXFPREG): New macro.
  8973. 2007-04-19 Andreas Jaeger <aj@suse.de>
  8974. [BZ #3905]
  8975. * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU,
  8976. IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST):
  8977. Added.
  8978. 2007-04-19 Ulrich Drepper <drepper@redhat.com>
  8979. * include/sys/mman.h: Mark madvise hidden.
  8980. * misc/madvise.c: Add libc_hidden_def.
  8981. 2007-04-06 Jakub Jelinek <jakub@redhat.com>
  8982. * nis/nis_domain_of.c (__nis_domain_of): New function.
  8983. * include/rpcsvc/nislib.h (__nis_domain_of): New prototype.
  8984. * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of.
  8985. * nis/nis_call.c (rec_dirsearch): Likewise.
  8986. (first_shoot): Likewise. Remove search_parent_first argument.
  8987. (struct nis_server_cache): Rename search_parent_first field
  8988. to search_parent.
  8989. (nis_server_cache_search, nis_server_cache_add): Rename
  8990. search_parent_first argument to search_parent.
  8991. (__nisfind_server): Likewise. If search_parent, call
  8992. __nis_domain_of.
  8993. 2007-04-18 Ulrich Drepper <drepper@redhat.com>
  8994. * sysdeps/posix/getaddrinfo.c: Remove commented-out code.
  8995. 2007-04-17 Ulrich Drepper <drepper@redhat.com>
  8996. [BZ #4368]
  8997. * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
  8998. 2007-04-16 Ulrich Drepper <drepper@redhat.com>
  8999. [BZ #4364]
  9000. * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
  9001. 2007-04-15 Jakub Jelinek <jakub@redhat.com>
  9002. * locale/programs/locarchive.c (INITIAL_NUM_NAMES,
  9003. INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate
  9004. current number of locales in SUPPORTED.
  9005. (create_archive): Initialize serial.
  9006. (enlarge_archive): Preserve aliases rather than duplicating
  9007. their locrecs.
  9008. 2007-04-13 Jakub Jelinek <jakub@redhat.com>
  9009. * libio/genops.c (_IO_default_finish): Call _IO_lock_fini
  9010. after _IO_un_link, not before it.
  9011. * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4
  9012. special case handling when wcp == wstartp + 1. Fix a comment typo.
  9013. * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
  9014. 2007-03-30 Jakub Jelinek <jakub@redhat.com>
  9015. * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,
  9016. __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn,
  9017. _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn):
  9018. Remove __THROW.
  9019. * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap,
  9020. _IO_file_xsgetn_maybe_mmap): Likewise.
  9021. * libio/oldfileops.c (old_do_write): Likewise.
  9022. * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode,
  9023. _IO_init_marker, _IO_init_wmarker, _IO_default_uflow,
  9024. _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos,
  9025. _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write,
  9026. _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup,
  9027. _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos,
  9028. _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64,
  9029. _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64,
  9030. _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn,
  9031. _IO_file_underflow, _IO_file_underflow_mmap,
  9032. _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach,
  9033. _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read,
  9034. _IO_file_sync, _IO_file_close_it, _IO_file_finish,
  9035. _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish,
  9036. _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap,
  9037. _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow,
  9038. _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn,
  9039. _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn,
  9040. _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach,
  9041. _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync,
  9042. _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn,
  9043. _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow,
  9044. _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open,
  9045. _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal,
  9046. _IO_adjust_column_internal, _IO_default_uflow_internal,
  9047. _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal,
  9048. _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal,
  9049. _IO_file_setbuf_internal, _IO_file_seekoff_internal,
  9050. _IO_file_xsputn_internal, _IO_file_xsgetn_internal,
  9051. _IO_file_close_it_internal, _IO_file_underflow_internal,
  9052. _IO_file_overflow_internal, _IO_file_attach_internal,
  9053. _IO_file_fopen_internal, _IO_file_sync_internal,
  9054. _IO_file_finish_internal, _IO_wfile_xsputn_internal,
  9055. _IO_wfile_seekoff_internal, _IO_wfile_sync_internal,
  9056. _IO_switch_to_wget_mode_internal, _IO_padn_internal,
  9057. _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked,
  9058. _IO_seekpos_unlocked): Likewise.
  9059. (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write,
  9060. _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes.
  9061. 2007-04-16 Jakub Jelinek <jakub@redhat.com>
  9062. * locale/programs/locarchive.c (show_archive_content): Fix sizeof
  9063. argument in xmalloc size computation.
  9064. 2007-04-01 Jakub Jelinek <jakub@redhat.com>
  9065. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use
  9066. math_opt_barrier and math_force_eval macros.
  9067. 2007-03-27 Jakub Jelinek <jakub@redhat.com>
  9068. [BZ #3306]
  9069. * math/math_private.h (math_opt_barrier, math_force_eval): Define.
  9070. * sysdeps/i386/fpu/math_private.h: New file.
  9071. * sysdeps/x86_64/fpu/math_private.h: New file.
  9072. * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and
  9073. math_force_eval macros. Use "+m" constraint on asm rather than
  9074. "=m" and "m".
  9075. * math/s_nextafter.c (__nextafter): Likewise.
  9076. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
  9077. Likewise.
  9078. * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
  9079. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise.
  9080. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
  9081. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use
  9082. math_opt_barrier and math_force_eval macros.
  9083. * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise.
  9084. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise.
  9085. * sysdeps/i386/fpu/s_nexttoward.c: Include float.h.
  9086. (__nexttoward): Use math_opt_barrier and
  9087. math_force_eval macros. Use "+m" constraint on asm rather than
  9088. "=m" and "m". Only use asm to force double result if
  9089. FLT_EVAL_METHOD is 2.
  9090. * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h.
  9091. (__nexttowardf): Use math_opt_barrier and
  9092. math_force_eval macros. Use "+m" constraint on asm rather than
  9093. "=m" and "m". Only use asm to force double result if
  9094. FLT_EVAL_METHOD is not 0.
  9095. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h.
  9096. (__nexttowardf): Use math_opt_barrier and
  9097. math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
  9098. x to float using asm.
  9099. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h.
  9100. (__nldbl_nexttowardf): Use math_opt_barrier and
  9101. math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
  9102. x to float using asm.
  9103. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h.
  9104. (__nexttowardf): Use math_opt_barrier and math_force_eval
  9105. macros. If FLT_EVAL_METHOD is not 0, force x to float using asm.
  9106. * math/bug-nextafter.c (zero, inf): New variables.
  9107. (main): Add new tests.
  9108. * math/bug-nexttoward.c (zero, inf): New variables.
  9109. (main): Add new tests.
  9110. 2007-03-22 Jakub Jelinek <jakub@redhat.com>
  9111. [BZ #3427]
  9112. * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all
  9113. exceptions both in SW and MXCSR.
  9114. * sysdeps/x86_64/fpu/feupdateenv.c: New file.
  9115. * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code.
  9116. * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
  9117. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions
  9118. in MXCSR if SSE is available.
  9119. * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h
  9120. and ldsodefs.h.
  9121. (__feupdateenv): Query exceptions also from MXCSR if SSE is available.
  9122. Fix comment typo.
  9123. * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions.
  9124. Return 0 rather than 1.
  9125. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo.
  9126. Remove incorrect part of a comment. Fix argument to feraiseexcept.
  9127. * math/test-fenv.c (feholdexcept_tests): New function.
  9128. (main): Call it.
  9129. 2007-01-05 Richard B. Kreckel <kreckel@ginac.de>
  9130. [BZ #3427]
  9131. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions
  9132. in SW.
  9133. 2007-04-13 Jakub Jelinek <jakub@redhat.com>
  9134. [BZ #4344]
  9135. * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors.
  9136. Reported by David Anderson <davea42@earthlink.net>.
  9137. 2007-04-07 Ulrich Drepper <drepper@redhat.com>
  9138. * posix/sys/wait.h: Remove unnecessary forward declaration.
  9139. 2007-04-05 Jakub Jelinek <jakub@redhat.com>
  9140. * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
  9141. with obj->do_servers after first_shoot.
  9142. 2007-04-03 Ulrich Drepper <drepper@redhat.com>
  9143. * posix/Makefile (routines): Add sched_cpucount.
  9144. (tests): Add tst-cpucount.
  9145. * posix/sched_cpucount.c: New file.
  9146. * posix/tst-cpucount.c: New file.
  9147. * posix/Versions: Export __sched_cpucount with version GLIBC_2.6.
  9148. * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.
  9149. * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
  9150. * posix/sched.h: Define CPU_COUNT.
  9151. 2007-03-27 Jakub Jelinek <jakub@redhat.com>
  9152. * posix/fnmatch.c (STRUCT): Define.
  9153. (fnmatch): Pass NULL as last argument to internal_fn{,w}match.
  9154. * posix/fnmatch_loop.c (struct STRUCT): New type.
  9155. (FCT): Add ends argument. If ends != NULL and normal * is
  9156. seen in the pattern, store current pattern and string pointers
  9157. and return. Adjust recursive calls.
  9158. (EXT): Adjust FCT callers.
  9159. (STRUCT): Undef at the end of the file.
  9160. * posix/Makefile (tests): Add tst-fnmatch2.
  9161. * posix/tst-fnmatch2.c: New test.
  9162. 2007-04-01 Jakub Jelinek <jakub@redhat.com>
  9163. * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success
  9164. and 1 on failure.
  9165. * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
  9166. Change last argument to unsigned int.
  9167. 2007-03-23 Jakub Jelinek <jakub@redhat.com>
  9168. * scripts/check-local-headers.sh: Filter out sys/capability.h.
  9169. 2007-03-22 Jakub Jelinek <jakub@redhat.com>
  9170. * config.h.in (HAVE_LIBCAP): Add.
  9171. * nscd/selinux.h: Include sys/capability.h rather than non-existent
  9172. sys/capabilities.h.
  9173. * nscd/selinux.c (preserve_capabilities): Use cap_free instead of
  9174. free_caps. Cast away const from 4th cap_set_flag argument.
  9175. 2007-03-26 Ulrich Drepper <drepper@redhat.com>
  9176. * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
  9177. GLIBC_2.6.
  9178. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
  9179. Add sync_file_range.
  9180. Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
  9181. 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com>
  9182. * sysdeps/powerpc/bits/atomic.h
  9183. [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ.
  9184. [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL.
  9185. (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
  9186. (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx.
  9187. (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx.
  9188. (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx.
  9189. * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]:
  9190. Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
  9191. (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
  9192. (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
  9193. * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]:
  9194. Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0".
  9195. (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx.
  9196. (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx.
  9197. (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx.
  9198. (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx.
  9199. (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
  9200. (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx.
  9201. (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx.
  9202. (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx.
  9203. 2007-03-20 Jakub Jelinek <jakub@redhat.com>
  9204. * sysdeps/unix/sysv/linux/powerpc/libc-start.c
  9205. (__cache_line_size): Define the variable here. Add
  9206. attribute_hidden, remove weak_extern.
  9207. (__libc_start_main): Set __cache_line_size
  9208. unconditionally.
  9209. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
  9210. (__cache_line_size): Define the variable here. Add
  9211. attribute_hidden, remove weak_extern.
  9212. (DL_PLATFORM_AUXV): Set __cache_line_size
  9213. unconditionally.
  9214. * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove
  9215. weak_extern, add attribute_hidden.
  9216. (__elf_machine_runtime_setup): Assume __cache_line_size is always
  9217. defined in ld.so.
  9218. * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove
  9219. definition.
  9220. * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise.
  9221. 2007-03-26 Jakub Jelinek <jakub@redhat.com>
  9222. [BZ #4276]
  9223. * timezone/africa: Update from tzdata2007d.
  9224. * timezone/asia: Likewise.
  9225. * timezone/australasia: Likewise.
  9226. * timezone/backward: Likewise.
  9227. * timezone/europe: Likewise.
  9228. * timezone/iso3166.tab: Likewise.
  9229. * timezone/leapseconds: Likewise.
  9230. * timezone/northamerica: Likewise.
  9231. * timezone/southamerica: Likewise.
  9232. * timezone/zone.tab: Likewise.
  9233. * timezone/private.h: Update from tzcode2007d.
  9234. * timezone/zdump.c: Likewise.
  9235. * timezone/zic.c: Likewise.
  9236. 2007-03-21 Jakub Jelinek <jakub@redhat.com>
  9237. * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
  9238. (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
  9239. variables.
  9240. (nis_server_cache_search, nis_server_cache_add): New functions.
  9241. (__nisfind_server): Use them. Add dbp and flags argument, if
  9242. call __nisbind_create.
  9243. (__nisbind_create): Add server_used and current_ep arguments,
  9244. only call __nis_findfastest if server_used is ~0.
  9245. (__do_niscall2, __prepare_niscall): Adjust callers.
  9246. (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
  9247. ckey_cache_euid, ckey_cache_lock): New variables.
  9248. (get_ckey): New function.
  9249. (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
  9250. __pmap_getnisport. Save __pmap_getnisport result in
  9251. dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
  9252. key.
  9253. * nis/nis_lookup.c (nis_lookup): Likewise.
  9254. * nis/nis_table.c (nis_list): Likewise.
  9255. * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
  9256. prototypes.
  9257. * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
  9258. _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
  9259. * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
  9260. _nss_nisplus_getservbyport_r): Likewise.
  9261. * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
  9262. _nss_nisplus_getnetbyaddr_r): Likewise.
  9263. * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
  9264. * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
  9265. _nss_nisplus_getntohost_r): Likewise.
  9266. * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
  9267. _nss_nisplus_getrpcbynumber_r): Likewise.
  9268. 2007-03-20 Jakub Jelinek <jakub@redhat.com>
  9269. * configure.in (libc_cv_gnu89_inline): Only do compile test.
  9270. * configure: Rebuilt.
  9271. * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
  9272. bit-fields.
  9273. * soft-fp/extended.h (_FP_UNION_E): Likewise.
  9274. 2006-06-07 Joseph Myers <joseph@codesourcery.com>
  9275. [BZ #2831]
  9276. * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
  9277. bit-fields.
  9278. 2007-03-18 Jakub Jelinek <jakub@redhat.com>
  9279. * nscd/gai.c: Include alloca.h.
  9280. (__libc_use_alloca): Define.
  9281. 2007-03-16 Jakub Jelinek <jakub@redhat.com>
  9282. * elf/dl-open.c (dl_open_worker): Declare l in 2 different
  9283. smaller scopes.
  9284. * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument.
  9285. (DL_DST_REQUIRED): Adjust user.
  9286. * include/dlfcn.h (struct link_map): New forward decl.
  9287. * inet/getnameinfo.c: Include stddef.h.
  9288. (getnameinfo): Use offsetof.
  9289. * time/tst-mktime2.c (do_test): Don't rely on signed wrap.
  9290. * stdio-common/vfprintf.c (_itoa): Undef before redefining.
  9291. * string/strerror_l.c: Include stdlib.h.
  9292. * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.
  9293. * config.make.in (gnu89-inline-CFLAGS): New variable.
  9294. * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with
  9295. -std=gnu99.
  9296. * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define.
  9297. * argp/argp.h: Use it.
  9298. * bits/mathinline.h: Likewise.
  9299. * bits/sigset.h: Likewise.
  9300. * bits/string.h: Likewise.
  9301. * ctype/ctype.h: Likewise.
  9302. * hurd/hurd.h: Likewise.
  9303. * hurd/hurd/fd.h: Likewise.
  9304. * hurd/hurd/port.h: Likewise.
  9305. * hurd/hurd/signal.h: Likewise.
  9306. * hurd/hurd/threadvar.h: Likewise.
  9307. * hurd/hurd/userlink.h: Likewise.
  9308. * io/sys/stat.h: Likewise.
  9309. * libio/bits/stdio.h: Likewise.
  9310. * libio/bits/stdio2.h: Likewise.
  9311. * mach/lock-intern.h: Likewise.
  9312. * mach/mach/mig_support.h: Likewise.
  9313. * math/bits/cmathcalls.h: Likewise.
  9314. * posix/bits/unistd.h: Likewise.
  9315. * socket/bits/socket2.h: Likewise.
  9316. * stdlib/bits/stdlib.h: Likewise.
  9317. * stdlib/stdlib.h: Likewise.
  9318. * string/argz.h: Likewise.
  9319. * string/bits/string2.h: Likewise.
  9320. * string/bits/string3.h: Likewise.
  9321. * sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
  9322. * sysdeps/generic/inttypes.h: Likewise.
  9323. * sysdeps/generic/machine-lock.h: Likewise.
  9324. * sysdeps/generic/machine-sp.h: Likewise.
  9325. * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
  9326. * sysdeps/i386/i486/bits/string.h: Likewise.
  9327. * sysdeps/ia64/fpu/bits/mathinline.h: Likewise.
  9328. * sysdeps/mach/alpha/machine-lock.h: Likewise.
  9329. * sysdeps/mach/alpha/machine-sp.h: Likewise.
  9330. * sysdeps/mach/i386/machine-lock.h: Likewise.
  9331. * sysdeps/mach/powerpc/machine-lock.h: Likewise.
  9332. * sysdeps/mach/powerpc/machine-sp.h: Likewise.
  9333. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
  9334. * sysdeps/s390/bits/string.h: Likewise.
  9335. * sysdeps/s390/fpu/bits/mathinline.h: Likewise.
  9336. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
  9337. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
  9338. * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
  9339. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
  9340. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
  9341. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
  9342. * wcsmbs/bits/wchar2.h: Likewise.
  9343. * wcsmbs/wchar.h: Likewise.
  9344. * stdlib/gmp.h: Likewise. Include <features.h> to get
  9345. __extern_inline definition.
  9346. 2007-03-15 Jakub Jelinek <jakub@redhat.com>
  9347. * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is
  9348. NULL.
  9349. [BZ #3919]
  9350. * math/libm-test.inc (log_test): Test -Inf and NaN.
  9351. (log10_test, log1p_test, log2_test): Test -Inf.
  9352. * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise
  9353. FE_INVALID when argument is qNaN.
  9354. * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
  9355. * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
  9356. * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
  9357. * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace
  9358. andb $1, %ah with testb $1, %ah, don't test for parity, instead
  9359. testb $4, %ah and jump if non-zero.
  9360. * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
  9361. * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
  9362. [BZ #4101]
  9363. * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find
  9364. ancestors with the same depths.
  9365. Patch by Niels Moeller <nisse@lysator.liu.se>.
  9366. (filter_doc): Don't crash if argp is NULL.
  9367. * argp/Makefile (tests): Add tst-argp2.
  9368. * argp/tst-argp2.c: New test.
  9369. [BZ #4130]
  9370. * login/utmp_file.c (setutent_file): Use O_LARGEFILE for
  9371. open_not_cancel_2.
  9372. (updwtmp_file): Likewise.
  9373. [BZ #4181]
  9374. * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
  9375. (inet6_opt_append): Don't check extlen is big enough if extbuf
  9376. is NULL.
  9377. (inet6_opt_finish): Likewise.
  9378. * inet/Makefile (tests): Add test-inet6_opt.
  9379. * inet/test-inet6_opt.c: New test.
  9380. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
  9381. reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
  9382. NLMSG_ERR. Instead use a page sized buffer.
  9383. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
  9384. buffer.
  9385. 2007-03-14 Richard Henderson <rth@redhat.com>
  9386. * sysdeps/alpha/fpu/s_llround.c: New file.
  9387. * sysdeps/alpha/fpu/s_llroundf.c: New file.
  9388. * sysdeps/alpha/fpu/s_lround.c: New file.
  9389. * sysdeps/alpha/fpu/s_lroundf.c: New file.
  9390. * sysdeps/alpha/fpu/s_round.c: New file.
  9391. * sysdeps/alpha/fpu/s_roundf.c: New file.
  9392. * sysdeps/alpha/fpu/s_trunc.c: New file.
  9393. * sysdeps/alpha/fpu/s_truncf.c: New file.
  9394. * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
  9395. * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
  9396. * sysdeps/alpha/fpu/s_floor.c: Likewise.
  9397. * sysdeps/alpha/fpu/s_floorf.c: Likewise.
  9398. * sysdeps/alpha/fpu/s_rint.c: Likewise.
  9399. * sysdeps/alpha/fpu/s_rintf.c: Likewise.
  9400. * sysdeps/alpha/fpu/s_fmax.S: New file.
  9401. * sysdeps/alpha/fpu/s_fmaxf.S: New file.
  9402. * sysdeps/alpha/fpu/s_fmin.S: New file.
  9403. * sysdeps/alpha/fpu/s_fminf.S: New file.
  9404. * sysdeps/alpha/fpu/s_isnan.c: New file.
  9405. * sysdeps/alpha/fpu/s_isnanf.c: New file.
  9406. * sysdeps/alpha/fpu/s_llrint.c: New file.
  9407. * sysdeps/alpha/fpu/s_llrintf.c: New file.
  9408. * sysdeps/alpha/fpu/s_lrint.c: New file.
  9409. * sysdeps/alpha/fpu/s_lrintf.c: New file.
  9410. * sysdeps/alpha/fpu/s_nearbyint.c: New file.
  9411. * sysdeps/alpha/fpu/s_nearbyintf.c: New file.
  9412. * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
  9413. (__fdimf, fdimf, __fdim, fdim): Remove.
  9414. (__signbitf, __signbit, __signbitl): Use gcc builtin if available.
  9415. (__isnanf, __isnan, __isnanl): New.
  9416. 2007-03-13 Richard Henderson <rth@redhat.com>
  9417. * sysdeps/ieee754/ldbl-128/Makefile: New file.
  9418. 2007-03-13 Richard Henderson <rth@redhat.com>
  9419. * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
  9420. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
  9421. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
  9422. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
  9423. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
  9424. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
  9425. 2007-03-13 Richard Henderson <rth@redhat.com>
  9426. * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
  9427. * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
  9428. * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
  9429. * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
  9430. Move to dl-auxv.h; initialize instead of extern weak.
  9431. (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
  9432. weak symbol.
  9433. * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
  9434. Extern instead of initialized.
  9435. 2007-03-13 Richard Henderson <rth@redhat.com>
  9436. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
  9437. __sigsuspend_nocancel.
  9438. 2007-03-06 Ulrich Drepper <drepper@redhat.com>
  9439. * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
  9440. 172.16/12 address range.
  9441. 2007-03-02 Jakub Jelinek <jakub@redhat.com>
  9442. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
  9443. a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
  9444. message.
  9445. 2007-03-01 Jakub Jelinek <jakub@redhat.com>
  9446. [BZ #4069]
  9447. * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
  9448. earlier.
  9449. * math/libm-test.inc (pow_test): Add more tests involving NaNs.
  9450. * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
  9451. for x qNaN and y either +-inf or non-integer value.
  9452. * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
  9453. * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
  9454. * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
  9455. 2007-02-10 Mike Frysinger <vapier@gentoo.org>
  9456. * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
  9457. from sysdep_headers.
  9458. 2007-02-28 Jakub Jelinek <jakub@redhat.com>
  9459. * time/tzfile.c (find_transition): Instead of a linear search try to
  9460. guess the transition index, use a linear search if the result is at
  9461. most 10 transitions away from the guess or binary search otherwise.
  9462. 2007-02-27 Jakub Jelinek <jakub@redhat.com>
  9463. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
  9464. memory reallocation.
  9465. 2007-02-21 Ulrich Drepper <drepper@redhat.com>
  9466. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
  9467. and fix some typos.
  9468. Optimize use of TOLOWER.
  9469. [BZ #3325]
  9470. * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem.
  9471. * sysdeps/i386/fpu/e_fmodl.c: Likewise.
  9472. * sysdeps/i386/fpu/e_fmod.S: Likewise.
  9473. [BZ #3458]
  9474. * sysdeps/unix/sysv/linux/posix_madvise.c: New file.
  9475. * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.
  9476. [BZ #4076]
  9477. * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
  9478. (open_dir_stream): Likewise.
  9479. * io/Makefile (tests): Add bug-ftw5.
  9480. * io/bug-ftw5.c: New file.
  9481. * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
  9482. * nscd/servicescache.c (cache_addserv): Likewise.
  9483. * nscd/grpcache.c (cache_addgr): In case a record changed on
  9484. refresh, adjust key_copy.
  9485. [BZ #4074]
  9486. * nscd/pwdcache.c (cache_addpw): In case a record changed on
  9487. refresh, adjust key_copy.
  9488. [BZ #4070]
  9489. * stdio-common/printf_fp.c (___printf_fp): Handle a few more
  9490. special cases.
  9491. * stdio-common/tfformat.c (sprint_doubles): Some more tests.
  9492. 2007-02-19 Ulrich Drepper <drepper@redhat.com>
  9493. * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
  9494. optimization.
  9495. * stdio-common/vfscanf.c: Small cleanups throughout.
  9496. 2007-02-18 Ulrich Drepper <drepper@redhat.com>
  9497. [BZ #3325]
  9498. * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
  9499. * sysdeps/i386/fpu/e_fmodl.c: Likewise.
  9500. * sysdeps/i386/fpu/e_fmod.S: Likewise.
  9501. Patch by Jared Casper <jaredcasper@gmail.com>.
  9502. * sysdeps/unix/closedir.c: Outside libc don't use locking.
  9503. * sysdeps/unix/opendir.c: Likewise.
  9504. * sysdeps/unix/readdir.c: Likewise.
  9505. [BZ #2211]
  9506. * stdio-common/vfscanf.c: Handle localized digits etc for floating
  9507. point numbers.
  9508. Patch mostly by Hamed Malek <hamed@farsiweb.info>.
  9509. * stdio-common/vfscanf.c: Fix problems in width accounting.
  9510. * stdio-common/tst-sscanf.c (double_tests): New tests.
  9511. (main): Hook them up.
  9512. * stdio-common/vfscanf.c: Remove unused WIDTH handling.
  9513. More simplifications of floating-point reader.
  9514. * stdio-common/Makefile (tests): Add tst-swscanf.
  9515. * stdio-common/tst-sscanf.c: Make tests usable for swscanf
  9516. testing.
  9517. * stdio-common/tst-swscanf.c: New file.
  9518. 2007-02-17 Ulrich Drepper <drepper@redhat.com>
  9519. [BZ #2633]
  9520. * libio/stdio.h: Define struct _IO_FILE in global namespace.
  9521. * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace.
  9522. Remove using for __jmp_buf_tag.
  9523. * locale/locale.h (struct lconv): Also define in std namespace.
  9524. * wcsmbs/wchar.h: Move using declaration for tm out of namespace.
  9525. [BZ #3842]
  9526. * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
  9527. using __libc_enable_secure.
  9528. [BZ #3818]
  9529. * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
  9530. [BZ #3745]
  9531. * locale/programs/ld-collate.c (handle_ellipsis): Fix generation
  9532. of names for ellipsises.
  9533. [BZ #3348]
  9534. * malloc/memusage.sh: Cleanups.
  9535. * debug/xtrace.sh: Quoting and trap changes.
  9536. 2007-02-16 Ulrich Drepper <drepper@redhat.com>
  9537. * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
  9538. * locale/iso-3166.def: Update entry for Serbia.
  9539. * locale/iso-4217.def: Define RSD, remove CSD.
  9540. * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
  9541. and 64-bit operations.
  9542. [BZ #4040]
  9543. * sysdeps/i386/i486/bits/atomic.h: One more change, this time for
  9544. 16-bit operations.
  9545. * nscd/nscd.c (parse_opt): One more conversion to use send instead
  9546. of writev.
  9547. 2007-02-15 Ulrich Drepper <drepper@redhat.com>
  9548. [BZ #3991]
  9549. * assert/assert.h (assert): Simplify.
  9550. (assert_perror): Likewise.
  9551. Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.
  9552. * nscd/nscd_helper.c (open_socket): Don't send padding bytes from
  9553. reqdata.
  9554. * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
  9555. change: don't pass NULL in place of an integer.
  9556. 2007-02-02 Bruno Haible <bruno@clisp.org>
  9557. [BZ #3954]
  9558. * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
  9559. Add mapping for U+327E.
  9560. * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
  9561. * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
  9562. mapping of 0xD9 0xE8.
  9563. * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
  9564. mapping of U+327E.
  9565. Reported by Jungshik Shin <jungshik@google.com>.
  9566. [BZ #3955]
  9567. * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
  9568. mapping of 0xD9 0xE6 and of 0xD9 0xE7.
  9569. Reported by Jungshik Shin <jungshik@google.com>.
  9570. 2007-02-14 Ulrich Drepper <drepper@redhat.com>
  9571. * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some
  9572. byte variants.
  9573. [BZ #4040]
  9574. * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some
  9575. byte variants. Patch mostly be tom@tommay.net.
  9576. 2007-02-14 Jakub Jelinek <jakub@redhat.com>
  9577. [BZ #3996]
  9578. * posix/glob.c (attribute_hidden): Define if not defined.
  9579. (glob): Unescape dirname, filename or username when needed and not
  9580. GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename
  9581. is NULL. Handle unescaped [ in pattern without closing ].
  9582. Don't pass GLOB_CHECK down to recursive glob for directories.
  9583. (__glob_pattern_type): New function.
  9584. (__glob_pattern_p): Implement using __glob_pattern_type.
  9585. (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
  9586. characters and backslashes if not GLOB_NOESCAPE or unterminated [.
  9587. Remove unreachable code.
  9588. * posix/globtest.sh: Add a couple of new tests.
  9589. 2007-02-13 Ulrich Drepper <drepper@redhat.com>
  9590. * po/ru.po: Update from translation team.
  9591. 2007-02-12 Jakub Jelinek <jakub@redhat.com>
  9592. * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
  9593. to the list of i486+ CPUs.
  9594. * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
  9595. 2007-02-12 Ulrich Drepper <drepper@redhat.com>
  9596. * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
  9597. * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
  9598. references.
  9599. 2007-02-09 Ulrich Drepper <drepper@redhat.com>
  9600. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.
  9601. * resolv/res_init.c (res_setoptions): Recognize edns0 option.
  9602. * resolv/res_mkquery.c: Define __res_nopt.
  9603. * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set
  9604. try adding EDNS0 record.
  9605. * resolv/res_send.c (send_dg): If request failed with FORMERR and
  9606. EDNS0 record was send make sure we don't try it again.
  9607. * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0.
  9608. * include/resolv.h: Declare __res_nopt.
  9609. 2007-02-08 Jakub Jelinek <jakub@redhat.com>
  9610. [BZ #3944]
  9611. * time/strptime_l.c (__strptime_internal): Set have_mon for
  9612. %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday
  9613. have been computed from tm_yday and tm_year. Don't crash
  9614. in day_of_the_week or day_of_the_year if not have_mon
  9615. and tm_mon contains bogus value.
  9616. * time/Makefile (tests): Add tst-strptime3.
  9617. * time/tst-strptime3.c: New test.
  9618. 2007-02-05 Jakub Jelinek <jakub@redhat.com>
  9619. [BZ #3957]
  9620. * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
  9621. bit for RE_HAT_LISTS_NOT_NEWLINE.
  9622. (build_charclass_op): Remove bogus comment.
  9623. * posix/Makefile (tests): Add bug-regex27 and bug-regex28.
  9624. * posix/bug-regex27.c: New test.
  9625. * posix/bug-regex28.c: New test.
  9626. 2007-02-03 Ulrich Drepper <drepper@redhat.com>
  9627. * po/sv.po: Update from translation team.
  9628. 2007-02-02 Ulrich Drepper <drepper@redhat.com>
  9629. * nscd/nscd_helper.c (open_socket): Minor size optimization.
  9630. 2007-02-02 Jakub Jelinek <jakub@redhat.com>
  9631. * include/locale.h (__uselocale): Add libc_hidden_proto.
  9632. * locale/uselocale.c (__uselocale): Add libc_hidden_def.
  9633. * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
  9634. gettimeofday.
  9635. 2007-02-01 Ulrich Drepper <drepper@redhat.com>
  9636. * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before
  9637. returning.
  9638. (PTR_DEMANGLE): Real definition now that it's not the same as
  9639. PRT_MANGLE anymore.
  9640. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
  9641. * string/strerror_l.c: New file.
  9642. * string/Makefile (routines): Add strerror_l.
  9643. * string/string.h: Declare strerror_l.
  9644. * string/Versions: Export strerror_l for GLIBC_2.6.
  9645. 2007-01-31 Ulrich Drepper <drepper@redhat.com>
  9646. * nscd/nscd_helper.c (open_socket): Now takes request type and key
  9647. as parameter. Construct request record. Try sending request
  9648. before the first poll use, it usually succeeds. Adjust all
  9649. callers.
  9650. * nscd/nscd-client.h: Define MAXKEYLEN.
  9651. * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.
  9652. 2007-01-31 Jakub Jelinek <jakub@redhat.com>
  9653. * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
  9654. from return value.
  9655. * nscd/nscd_helper.c: Include string.h.
  9656. (__nscd_cache_search): Remove const qualifier from return value.
  9657. On strict alignment architectures check hash entry and data head
  9658. alignment.
  9659. * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
  9660. mmapped data during GC cycle contains garbage. If
  9661. __nscd_drop_map_ref fails, decrement mapped->counter when returning
  9662. error or if retrying with NO_MAPPING, only __nscd_unmap if counter
  9663. dropped to 0.
  9664. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
  9665. * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
  9666. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
  9667. * nscd/nscd_getai.c (__nscd_getai): Likewise.
  9668. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
  9669. 2007-01-30 Ulrich Drepper <drepper@redhat.com>
  9670. * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.
  9671. 2007-01-26 Ulrich Drepper <drepper@redhat.com>
  9672. * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register
  9673. names not numbers in cfi_*.
  9674. 2007-01-26 Andreas Jaeger <aj@suse.de>
  9675. * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
  9676. ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.
  9677. Correct values of PER_HPUX and PER_OSF4.
  9678. 2007-01-24 Ulrich Drepper <drepper@redhat.com>
  9679. * elf/dl-minimal.c: Undefine _itoa first.
  9680. * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.
  9681. * malloc/mtrace.c: Revert last change.
  9682. * posix/wordexp.c: Likewise.
  9683. 2007-01-24 Jakub Jelinek <jakub@redhat.com>
  9684. * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__
  9685. and __geode__ to the list of i486+ CPUs.
  9686. * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
  9687. 2007-01-23 Ulrich Drepper <drepper@redhat.com>
  9688. * stdio-common/_itoa.c: Include <limits.h>.
  9689. * stdio-common/_itowa.c: Likewise.
  9690. 2007-01-22 Ulrich Drepper <drepper@redhat.com>
  9691. * stdio-common/_itowa.c: Don't compile _itowa for 64-bit
  9692. platforms.
  9693. * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for
  9694. 64-bit platforms.
  9695. * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if
  9696. possible.
  9697. * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
  9698. if possible.
  9699. [BZ #3902]
  9700. * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
  9701. * stdio-common/Makefile (tests): Add bug17.
  9702. * stdio-common/bug17.c: New file.
  9703. 2007-01-19 Ulrich Drepper <drepper@redhat.com>
  9704. * iconvdata/brf.c: New file.
  9705. * iconvdata/testdata/BRF: New file.
  9706. * iconvdata/testdata/BRF..UTF8: New file.
  9707. Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.
  9708. * iconvdata/Makefile: Add rules to build BRF.
  9709. * iconvdata/TESTS: Add BRF entry.
  9710. * iconvdata/gconv-modules: Likewise.
  9711. * iconvdata/tst-tables.sh: Likewise.
  9712. 2007-01-18 Anton Nikishaev <anton.nik@gmail.com>
  9713. * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
  9714. type `long long int', not `long int'.
  9715. (wcstoq): Likewise.
  9716. 2007-01-18 Ulrich Drepper <drepper@redhat.com>
  9717. * scripts/gen-as-const.awk: Add cast to long to avoid int promotion
  9718. of values on 64-bit platforms which are too large.
  9719. 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com>
  9720. Joe Kerian <jkerian@us.us.ibm.com>
  9721. [BZ #2749]
  9722. * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
  9723. <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro.
  9724. (__copysignl): Use signbit() for comparison.
  9725. * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
  9726. SET_LDOUBLE_WORDS64.
  9727. [BZ #2423, #2749]
  9728. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
  9729. (__ceill): Remove calls to fegetround(), fesetround().
  9730. * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
  9731. * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
  9732. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
  9733. 2007-01-17 Jakub Jelinek <jakub@redhat.com>
  9734. * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
  9735. * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
  9736. 2007-01-17 Ulrich Drepper <drepper@redhat.com>
  9737. * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to
  9738. demangle pointer.
  9739. * csu/libc-start.c: Likewise.
  9740. 2007-01-16 Ulrich Drepper <drepper@redhat.com>
  9741. * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot
  9742. really work anyway.
  9743. 2007-01-15 Ulrich Drepper <drepper@redhat.com>
  9744. * nscd/connections.c (servinfo): Renamed to reqinfo. Change all
  9745. users.
  9746. (handle_request): Remove unnecessary tests.
  9747. * nscd/cache.c (cache_add): Record the failure to add to the cache.
  9748. 2007-01-15 Jakub Jelinek <jakub@redhat.com>
  9749. * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
  9750. workbits in semi-raw fraction.
  9751. * math/test-misc.c: Add new tests.
  9752. 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com>
  9753. * math/basic-test.c: Include test-skeleton.c.
  9754. (TEST_TRUNC): Define.
  9755. (truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
  9756. (main): Rename to ...
  9757. (do_test): ...this. Run new tests.
  9758. (TEST_FUNCTION): Define.
  9759. 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
  9760. Joe Kerian <jkerian@us.us.ibm.com>
  9761. [BZ #2749]
  9762. * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
  9763. handling for high words.
  9764. * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
  9765. and overflow for infinity.
  9766. 2007-01-15 Ulrich Drepper <drepper@redhat.com>
  9767. * nscd/connections.c (handle_request): Add a __builtin_expect.
  9768. * nscd/connections.c (serv2db): Change type into structure which
  9769. also says whether this is a request for data. Renamed to
  9770. servinfo. All users changed.
  9771. (handle_request): Much simpler test whether we should search the cache.
  9772. * nscd/connections.c (handle_request): Fix thinko in selinux test
  9773. invocation.
  9774. * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.
  9775. * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
  9776. it before getting dl_load_lock and then relock.
  9777. (_dl_lookup_symbol_x): Pass flags to add_dependency.
  9778. When rerunning _dl_lookup_symbol_x, compute symbol_scope again in
  9779. case we unlocked the scope.
  9780. * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to
  9781. _dl_lookup_symbol_x in case we locked the scope.
  9782. (_dl_profile_fixup): Likewise.
  9783. * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also
  9784. set DL_LOOKUP_SCOPE_LOCK.
  9785. 2007-01-13 Ulrich Drepper <drepper@redhat.com>
  9786. * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and
  9787. CFLAGS-getsrvbynpt_r.c.
  9788. * nscd/getsrvbynm_r.c: New file.
  9789. * nscd/getsrvbypt_r.c: New file.
  9790. * nscd/nscd_getserv_r.c: New file.
  9791. * nscd/servicescache.c: New file.
  9792. * nscd/Makefile (routines): Add nscd_getserv_r.
  9793. (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache.
  9794. Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and
  9795. CFLAGS-getsrvbypt_r.c.
  9796. * nscd/cache.c (prune_cache): Rewrite to get re-add function from
  9797. table. Add entries for services database.
  9798. * nscd/connections.c (serv2str): Mark as const. Add entries for
  9799. services database.
  9800. (dbs): Add .reset_res and servdb initialization.
  9801. (serv2db): Add entries for services database.
  9802. (verify_persistent_db): Accept dbnr == servdb.
  9803. (invalidate_cache): Rewrite database name recognition to use a table.
  9804. Call res_init() if .reset_res is set for database.
  9805. (handle_request): Add code to handle services database.
  9806. * nscd/gai.c: Don't define __getservbyname_r.
  9807. * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add
  9808. GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
  9809. (serv_response_header): Define.
  9810. (struct datahead): Add serv_response_header member.
  9811. * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value
  9812. using table.
  9813. * nscd/nscd.conf: Add entries for services database.
  9814. * nscd/nscd.h: Adjust declaration of dbnames and serv2str.
  9815. Declare serv_iov_disabled.
  9816. Declare addservbyname, readdservbyname, addservbyport, and
  9817. readdservbyport.
  9818. * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry.
  9819. (find_db): Fix error message.
  9820. * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services,
  9821. __nscd_getservbyname_r, and __nscd_getservbyport_r.
  9822. * nscd/selinux.c (perms): Add entries for services database.
  9823. * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE.
  9824. * nss/nsswitch.c (__nss_disable_nscd): Also disable services database.
  9825. * nscd/grpcache.c: Remove obsolete code. Cleanups.
  9826. * nscd/hstcache.c: Likewise.
  9827. * nscd/pwdcache.c: Likewise.
  9828. * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct
  9829. computation of keylen.
  9830. * include/string.h: Only redefine strndupa if this is really for
  9831. libc code.
  9832. 2007-01-12 Ulrich Drepper <drepper@redhat.com>
  9833. * nscd/nscd_gethst_r.c: Minor cleanups.
  9834. * nscd/connections.c (handle_request): Check selinux permissions
  9835. for all non-admin commands.
  9836. * sysdeps/i386/i486/bits/atomic.h: Define
  9837. atomic_compare_and_exchange_val_acq,
  9838. atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
  9839. using __sync_* built-ins for gcc >= 4.1.
  9840. * sysdeps/x86_64/bits/atomic.h: Likewise.
  9841. [BZ #3840]
  9842. * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d,
  9843. and .oS.d files.
  9844. 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com>
  9845. * stdlib/tst-makecontext.c: Include errno.h. Change main()
  9846. to do_test(). Define TEST_FUNCTION. Include test-skeleton.c.
  9847. (do_test): Check errno and exit(0) if ENOSYS.
  9848. 2007-01-11 Jakub Jelinek <jakub@redhat.com>
  9849. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte
  9850. thousands separators.
  9851. * stdlib/Makefile: Add rules to build and run tst-strtod4.
  9852. * stdlib/tst-strtod4.c: New test.
  9853. [BZ #3855]
  9854. * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by
  9855. hexadecimal digit should accept just the initial 0.
  9856. * stdlib/tst-strtod2.c (tests): New variable.
  9857. (do_test): Run several tests rather than just one.
  9858. 2007-01-11 Jakub Jelinek <jakub@redhat.com>
  9859. * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
  9860. * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
  9861. 2007-01-10 Ulrich Drepper <drepper@redhat.com>
  9862. * io/fts.c: Make sure fts_cur is always valid after return from
  9863. fts_read.
  9864. Patch by Miloslav Trmač <mitr@redhat.com>.
  9865. 2006-10-27 Richard Sandiford <richard@codesourcery.com>
  9866. * elf/elf.h (R_MIPS_GLOB_DAT): Define.
  9867. (R_MIPS_NUM): Bump by 1.
  9868. 2007-01-03 Jakub Jelinek <jakub@redhat.com>
  9869. * posix/execvp.c: Include alloca.h.
  9870. (allocate_scripts_argv): Renamed to...
  9871. (scripts_argv): ... this. Don't allocate buffer here nor count
  9872. arguments.
  9873. (execvp): Use alloca if possible.
  9874. * posix/Makefile: Add rules to build and run tst-vfork3 test.
  9875. * posix/tst-vfork3.c: New test.
  9876. 2007-01-03 Ulrich Drepper <drepper@redhat.com>
  9877. * string/Makefile (tst-strxfrm2-ENV): Define.
  9878. * stdlib/Makefile (tst-strtod3-ENV): Define.
  9879. 2007-01-02 Ulrich Drepper <drepper@redhat.com>
  9880. * posix/getconf.c: Update copyright year.
  9881. * nss/getent.c: Likewise.
  9882. * iconv/iconvconfig.c: Likewise.
  9883. * iconv/iconv_prog.c: Likewise.
  9884. * elf/ldconfig.c: Likewise.
  9885. * catgets/gencat.c: Likewise.
  9886. * csu/version.c: Likewise.
  9887. * elf/ldd.bash.in: Likewise.
  9888. * elf/sprof.c (print_version): Likewise.
  9889. * locale/programs/locale.c: Likewise.
  9890. * locale/programs/localedef.c: Likewise.
  9891. * nscd/nscd.c (print_version): Likewise.
  9892. * debug/xtrace.sh: Likewise.
  9893. * malloc/memusage.sh: Likewise.
  9894. * malloc/mtrace.pl: Likewise.
  9895. * debug/catchsegv.sh: Likewise.
  9896. 2006-12-24 Ulrich Drepper <drepper@redhat.com>
  9897. * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment
  9898. attempts.
  9899. 2006-12-23 Ulrich Drepper <drepper@redhat.com>
  9900. * posix/wordexp.c: Remove some unnecessary tests.
  9901. 2006-12-22 Gavin Romig-Koch <gavin@redhat.com>
  9902. * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't
  9903. blacklist the group till after we look it up.
  9904. 2006-12-21 Ulrich Drepper <drepper@redhat.com>
  9905. * include/atomic.h (atomic_forced_read): New macro.
  9906. 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
  9907. * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
  9908. 2006-12-19 Jakub Jelinek <jakub@redhat.com>
  9909. * nss/getXXbyYY_r.c: Include atomic.h.
  9910. (INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
  9911. add atomic_write_barrier () in between.
  9912. * stdlib/Makefile (tests): Add tst-makecontext.
  9913. * stdlib/tst-makecontext.c: New test.
  9914. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
  9915. (__makecontext): Don't realign uc_mcontext.uc_regs.
  9916. 2006-11-28 Jakub Jelinek <jakub@redhat.com>
  9917. * elf/dl-support.c: Include dl-procinfo.h.
  9918. * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
  9919. PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
  9920. PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
  9921. Define.
  9922. (_dl_string_platform): Use PPC_PLATFORM_* macros instead of
  9923. hardcoded constants.
  9924. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
  9925. PPC_PLATFORM_* macros for array designators.
  9926. 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
  9927. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
  9928. names to the beginning.
  9929. (_dl_powerpc_platforms): Add "power6x".
  9930. * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
  9931. (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
  9932. (_DL_PLATFORMS_COUNT): Increase.
  9933. (_dl_string_platform): Handle power6x case.
  9934. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
  9935. PPC_FEATURE_POWER6_EXT): Define.
  9936. (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
  9937. 2006-12-18 Jakub Jelinek <jakub@redhat.com>
  9938. [BZ #3747]
  9939. * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the
  9940. [-2^31 .. 2^31) range.
  9941. * stdlib/tst-rand48.c (main): Fix expected values for 64-bit
  9942. targets.
  9943. * stdlib/tst-rand48-2.c: New test.
  9944. * stdlib/Makefile (tests): Add tst-rand48-2.
  9945. 2006-12-14 Jakub Jelinek <jakub@redhat.com>
  9946. * misc/tst-pselect.c (do_test): Fix sigblock argument.
  9947. 2006-12-14 Ulrich Drepper <drepper@redhat.com>
  9948. * misc/tst-pselect.c (do_test): Make sure the helper process is
  9949. terminating when the test is aborted.
  9950. 2006-12-13 Ulrich Drepper <drepper@redhat.com>
  9951. * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
  9952. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
  9953. Handle relatime mount option.
  9954. [BZ #2337]
  9955. * libio/Makefile (tests): Add tst-setvbuf1.
  9956. * libio/tst-setvbuf1.c: New file.
  9957. 2006-12-08 Jakub Jelinek <jakub@redhat.com>
  9958. [BZ #2337]
  9959. * libio/genops.c (__uflow): Fix a typo.
  9960. * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat
  9961. nor set _IO_LINE_BUF bit here. Size the wide buffer based on
  9962. the narrow buffer size.
  9963. 2006-11-24 Jakub Jelinek <jakub@redhat.com>
  9964. [BZ #2337]
  9965. * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define.
  9966. * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set
  9967. _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit
  9968. in _flags.
  9969. * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf,
  9970. _IO_wstr_finish): Likewise.
  9971. * libio/wmemstream.c (open_wmemstream): Likewise.
  9972. * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp]
  9973. even for wide streams.
  9974. 2006-12-13 Jakub Jelinek <jakub@redhat.com>
  9975. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
  9976. kernel-features.h.
  9977. 2006-12-11 Ulrich Drepper <drepper@redhat.com>
  9978. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
  9979. separators also if no non-zero digits found.
  9980. * stdlib/Makefile (tests): Add tst-strtod3.
  9981. 2006-12-09 Ulrich Drepper <drepper@redhat.com>
  9982. [BZ #3632]
  9983. * include/features.h: Fix comment about default value for
  9984. _POSIX_C_SOURCE.
  9985. [BZ #3664]
  9986. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
  9987. empty parsed strings.
  9988. * stdlib/Makefile (tests): Add tst-strtod2.
  9989. * stdlib/tst-strtod2.c: New file.
  9990. [BZ #3673]
  9991. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
  9992. computation.
  9993. * stdlib/Makefile (tests): Add tst-atof2.
  9994. * stdlib/tst-atof2.c: New file.
  9995. [BZ #3674]
  9996. * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
  9997. correctly if removing trailing zero of hex-float.
  9998. * stdlib/Makefile (tests): Add tst-atof1.
  9999. * stdlib/tst-atof1.c: New file.
  10000. 2006-12-09 Jakub Jelinek <jakub@redhat.com>
  10001. * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
  10002. Start searching for next comma at p rather than rest.
  10003. * misc/Makefile (tests): Add tst-mntent2.
  10004. * misc/tst-mntent2.c: New test.
  10005. * misc/getusershell.c (initshells): Check for integer overflows.
  10006. Make strings buffer one bigger as fgets always succeeds when second
  10007. argument is 1. Don't use calloc for shells array. Disallow
  10008. / as shell.
  10009. 2006-12-08 Ulrich Drepper <drepper@redhat.com>
  10010. * malloc/memusage.c: Handle realloc with new size of zero and
  10011. non-NULL pointer correctly.
  10012. (me): Really write first record twice.
  10013. (struct entry): Make format bi-arch safe.
  10014. (dest): Write out more realloc statistics.
  10015. * malloc/memusagestat.c (struct entry): Make format bi-arch safe.
  10016. 2006-12-05 Jakub Jelinek <jakub@redhat.com>
  10017. * nis/nis_subr.c (nis_getnames): Revert last change.
  10018. 2006-12-04 Jakub Jelinek <jakub@redhat.com>
  10019. * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
  10020. (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
  10021. * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h.
  10022. (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to
  10023. ENOTTY.
  10024. * io/Makefile: Add rules to build and run tst-ttyname_r test.
  10025. * io/tst-ttyname_r.c: New test.
  10026. 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  10027. * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.
  10028. 2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
  10029. * sysdeps/i386/i686/memcmp.S: Use jump table as the base of
  10030. jump table entries.
  10031. 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
  10032. * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
  10033. `clone' function to ensure proper unwinding stop of gdb.
  10034. * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
  10035. 2006-12-01 Ulrich Drepper <drepper@redhat.com>
  10036. * nscd/nscd.init: Remove obsolete and commented-out -S option
  10037. handling.
  10038. 2006-11-23 Jakub Jelinek <jakub@redhat.com>
  10039. [BZ #3514]
  10040. * manual/string.texi (strncmp): Fix pastos from wcscmp description.
  10041. [BZ #3515]
  10042. * manual/string.texi (strtok): Remove duplicate paragraph.
  10043. 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
  10044. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
  10045. libgcc not supporting `rflags' unwinding (register # >= 17).
  10046. 2006-11-30 Jakub Jelinek <jakub@redhat.com>
  10047. * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
  10048. succeeded.
  10049. 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
  10050. Jakub Jelinek <jakub@redhat.com>
  10051. Jan Kratochvil <jan.kratochvil@redhat.com>
  10052. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
  10053. unwind information.
  10054. * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
  10055. 'restore_rt' even in the 'signal' directory.
  10056. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
  10057. 2006-11-27 Jakub Jelinek <jakub@redhat.com>
  10058. [BZ #3559]
  10059. * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if
  10060. malloc crashed. Don't allocate memory unnecessarily in each
  10061. loop.
  10062. 2006-10-21 Jakub Jelinek <jakub@redhat.com>
  10063. * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
  10064. 2006-11-20 Ulrich Drepper <drepper@redhat.com>
  10065. * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit.
  10066. 2006-11-18 Bruno Haible <bruno@clisp.org>
  10067. * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
  10068. __sysconf only after having tried to call getgroups32.
  10069. 2006-11-19 Ulrich Drepper <drepper@redhat.com>
  10070. * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
  10071. addresses for IPv4 queries if they can be mapped.
  10072. 2006-11-16 Jakub Jelinek <jakub@redhat.com>
  10073. * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
  10074. * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
  10075. (signmask): Add .size directive.
  10076. (othermask): Add .type directive.
  10077. 2006-11-14 Ulrich Drepper <drepper@redhat.com>
  10078. * po/nl.po: Update from translation team.
  10079. * timezone/zdump.c: Redo fix for BZ #3137.
  10080. 2006-11-14 Jakub Jelinek <jakub@redhat.com>
  10081. * nss/nss_files/files-alias.c (get_next_alias): Set line back
  10082. to first_unused after parsing :include: file.
  10083. 2006-11-10 Ulrich Drepper <drepper@redhat.com>
  10084. * timezone/africa: Update from tzdata2006o.
  10085. * timezone/antarctica: Likewise.
  10086. * timezone/asia: Likewise.
  10087. * timezone/australasia: Likewise.
  10088. * timezone/backward: Likewise.
  10089. * timezone/europe: Likewise.
  10090. * timezone/iso3166.tab: Likewise.
  10091. * timezone/northamerica: Likewise.
  10092. * timezone/southamerica: Likewise.
  10093. * timezone/zone.tab: Likewise.
  10094. * time/tzfile.c (__tzfile_read): Extend to handle new file format
  10095. on machines with 64-bit time_t.
  10096. * timezone/checktab.awk: Update from tzcode2006o.
  10097. * timezone/ialloc.c: Likewise.
  10098. * timezone/private.h: Likewise.
  10099. * timezone/scheck.c: Likewise.
  10100. * timezone/tzfile.h: Likewise.
  10101. * timezone/tzselect.ksh: Likewise.
  10102. * timezone/zdump.c: Likewise.
  10103. * timezone/zic.c: Likewise.
  10104. [BZ #3483]
  10105. * elf/ldconfig.c (main): Call setlocale and textdomain.
  10106. Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
  10107. [BZ #3480]
  10108. * manual/argp.texi: Fix typos.
  10109. * manual/charset.texi: Likewise.
  10110. * manual/errno.texi: Likewise.
  10111. * manual/filesys.texi: Likewise.
  10112. * manual/lang.texi: Likewise.
  10113. * manual/maint.texi: Likewise.
  10114. * manual/memory.texi: Likewise.
  10115. * manual/message.texi: Likewise.
  10116. * manual/resource.texi: Likewise.
  10117. * manual/search.texi: Likewise.
  10118. * manual/signal.texi: Likewise.
  10119. * manual/startup.texi: Likewise.
  10120. * manual/stdio.texi: Likewise.
  10121. * manual/sysinfo.texi: Likewise.
  10122. * manual/syslog.texi: Likewise.
  10123. * manual/time.texi: Likewise.
  10124. Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
  10125. [BZ #3465]
  10126. * sunrpc/clnt_raw.c: Minimal message improvements.
  10127. * sunrpc/pm_getmaps.c: Likewise.
  10128. * nis/nss_nisplus/nisplus-publickey.c: Likewise.
  10129. * nis/nis_print_group_entry.c: Likewise.
  10130. * locale/programs/repertoire.c: Likewise.
  10131. * locale/programs/charmap.c: Likewise.
  10132. * malloc/memusage.sh: Likewise.
  10133. * elf/dl-deps.c: Likewise.
  10134. * locale/programs/ld-collate.c: Likewise.
  10135. * libio/vswprintf.c: Likewise.
  10136. * malloc/memusagestat.c: Likewise.
  10137. * sunrpc/auth_unix.c: Likewise.
  10138. * sunrpc/rpc_main.c: Likewise.
  10139. * nscd/cache.c: Likewise.
  10140. * locale/programs/repertoire.c: Unify output messages.
  10141. * locale/programs/charmap.c: Likewise.
  10142. * locale/programs/ld-ctype.c: Likewise.
  10143. * locale/programs/ld-monetary.c: Likewise.
  10144. * locale/programs/ld-numeric.c: Likewise.
  10145. * locale/programs/ld-time.c: Likewise.
  10146. * elf/ldconfig.c: Likewise.
  10147. * nscd/selinux.c: Likewise.
  10148. * elf/cache.c: Likewise.
  10149. Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
  10150. [BZ #3451]
  10151. * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode
  10152. change atomic.
  10153. (ceil): Likewise.
  10154. 2006-11-10 Jakub Jelinek <jakub@redhat.com>
  10155. * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
  10156. if N is one bigger than return value.
  10157. * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1
  10158. and l1 last arguments, if buf is defined, verify the return value
  10159. equals to strlen (buf) and verify no byte beyond passed length
  10160. is modified.
  10161. 2006-11-10 Ulrich Drepper <drepper@redhat.com>
  10162. * po/sv.po: Update from translation team.
  10163. 2006-11-09 Ulrich Drepper <drepper@redhat.com>
  10164. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
  10165. noinline attribute.
  10166. 2006-11-10 Jakub Jelinek <jakub@redhat.com>
  10167. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
  10168. noinline attribute.
  10169. * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
  10170. Use __new_sys_siglist instead of _sys_siglist_internal as
  10171. second macro argument.
  10172. (_old_sys_siglist): Use declare_symbol_alias macro instead of
  10173. strong_alias.
  10174. 2006-11-09 Ulrich Drepper <drepper@redhat.com>
  10175. [BZ #3493]
  10176. * posix/unistd.h (sysconf): Remove const attribute.
  10177. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
  10178. temporary or deprecated addresses.
  10179. Patch by Sridhar Samudrala <sri@us.ibm.com>.
  10180. * string/Makefile (tests): Add tst-strxfrm2.
  10181. * string/tst-strxfrm2.c: New file.
  10182. 2006-10-09 Jakub Jelinek <jakub@redhat.com>
  10183. * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
  10184. rather than r->r_brk.
  10185. 2006-11-08 Jakub Jelinek <jakub@redhat.com>
  10186. * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
  10187. optimization even if needed > n.
  10188. * elf/dl-load.c (decompose_rpath): Return bool rather than void.
  10189. If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and
  10190. return false, otherwise return true.
  10191. (cache_rpath): Return decompose_rpath return value.
  10192. 2006-11-07 Jakub Jelinek <jakub@redhat.com>
  10193. * include/libc-symbols.h (declare_symbol): Rename to...
  10194. (declare_symbol_alias): ... this. Add ORIGINAL argument, imply
  10195. strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes
  10196. .size directive.
  10197. * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias
  10198. changes.
  10199. * sysdeps/gnu/siglist.c: Likewise.
  10200. 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com>
  10201. * sysdeps/powerpc/fpu/bits/mathinline.h
  10202. [__LIBC_INTERNAL_MATH_INLINES]: Moved to ...
  10203. * sysdeps/powerpc/fpu/math_private.h: ...here. New file.
  10204. 2006-11-05 Ulrich Drepper <drepper@redhat.com>
  10205. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
  10206. Update handling of cache descriptor 0x49 for new models.
  10207. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
  10208. Likewise.
  10209. 2006-11-02 Jakub Jelinek <jakub@redhat.com>
  10210. * malloc/memusage.c (dest): Reset not_me back to false after
  10211. printing statistics.
  10212. 2006-11-02 Ulrich Drepper <drepper@redhat.com>
  10213. * configure.in: Work around ld --help change and avoid -z relro
  10214. test completely if the architecture doesn't care about security.
  10215. 2006-11-01 Ulrich Drepper <drepper@redhat.com>
  10216. * po/sv.po: Update from translation team.
  10217. 2006-10-31 Ulrich Drepper <drepper@redhat.com>
  10218. * stdlib/atexit.c (atexit): Don't mark as hidden when used to
  10219. generate compatibility version.
  10220. 2006-10-29 Ulrich Drepper <drepper@redhat.com>
  10221. * configure.in: Relax -z relro requirement a bit.
  10222. * po/sv.po: Update from translation team.
  10223. 2006-10-29 Jakub Jelinek <jakub@redhat.com>
  10224. * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
  10225. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
  10226. * elf/dl-close.c (_dl_close_worker): Likewise.
  10227. * elf/dl-open.c (_dl_open_worker): Likewise.
  10228. * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
  10229. 2006-10-27 Ulrich Drepper <drepper@redhat.com>
  10230. * configure.in: Require assembler support for visibility, compiler
  10231. support for visibility and aliases, linker support for various -z
  10232. options.
  10233. * Makeconfig: Remove conditional code which now is unnecessary.
  10234. * config.h.in: Likewise.
  10235. * config.make.in: Likewise.
  10236. * dlfcn/Makefile: Likewise.
  10237. * elf/Makefile: Likewise.
  10238. * elf/dl-load.c: Likewise.
  10239. * elf/rtld.c: Likewise.
  10240. * include/libc-symbols.h: Likewise.
  10241. * include/stdio.h: Likewise.
  10242. * io/Makefile: Likewise.
  10243. * io/fstat.c: Likewise.
  10244. * io/fstat64.c: Likewise.
  10245. * io/fstatat.c: Likewise.
  10246. * io/fstatat64.c: Likewise.
  10247. * io/lstat.c: Likewise.
  10248. * io/lstat64.c: Likewise.
  10249. * io/mknod.c: Likewise.
  10250. * io/mknodat.c: Likewise.
  10251. * io/stat.c: Likewise.
  10252. * io/stat64.c: Likewise.
  10253. * libio/stdio.c: Likewise.
  10254. * nscd/Makefile: Likewise.
  10255. * stdlib/Makefile: Likewise.
  10256. * stdlib/atexit.c: Likewise.
  10257. * sysdeps/generic/ldsodefs.h: Likewise.
  10258. * sysdeps/i386/dl-machine.h: Likewise.
  10259. * sysdeps/i386/sysdep.h: Likewise.
  10260. * sysdeps/i386/i686/memcmp.S: Likewise.
  10261. * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
  10262. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
  10263. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
  10264. * Makerules: USE_TLS support is now default.
  10265. * tls.make.c: Likewise.
  10266. * csu/Versions: Likewise.
  10267. * csu/libc-start.c: Likewise.
  10268. * csu/libc-tls.c: Likewise.
  10269. * csu/version.c: Likewise.
  10270. * dlfcn/dlinfo.c: Likewise.
  10271. * elf/dl-addr.c: Likewise.
  10272. * elf/dl-cache.c: Likewise.
  10273. * elf/dl-close.c: Likewise.
  10274. * elf/dl-iteratephdr.c: Likewise.
  10275. * elf/dl-load.c: Likewise.
  10276. * elf/dl-lookup.c: Likewise.
  10277. * elf/dl-object.c: Likewise.
  10278. * elf/dl-open.c: Likewise.
  10279. * elf/dl-reloc.c: Likewise.
  10280. * elf/dl-support.c: Likewise.
  10281. * elf/dl-sym.c: Likewise.
  10282. * elf/dl-sysdep.c: Likewise.
  10283. * elf/dl-tls.c: Likewise.
  10284. * elf/ldconfig.c: Likewise.
  10285. * elf/rtld.c: Likewise.
  10286. * elf/tst-tls-dlinfo.c: Likewise.
  10287. * elf/tst-tls1.c: Likewise.
  10288. * elf/tst-tls10.h: Likewise.
  10289. * elf/tst-tls14.c: Likewise.
  10290. * elf/tst-tls2.c: Likewise.
  10291. * elf/tst-tls3.c: Likewise.
  10292. * elf/tst-tls4.c: Likewise.
  10293. * elf/tst-tls5.c: Likewise.
  10294. * elf/tst-tls6.c: Likewise.
  10295. * elf/tst-tls7.c: Likewise.
  10296. * elf/tst-tls8.c: Likewise.
  10297. * elf/tst-tls9.c: Likewise.
  10298. * elf/tst-tlsmod1.c: Likewise.
  10299. * elf/tst-tlsmod13.c: Likewise.
  10300. * elf/tst-tlsmod13a.c: Likewise.
  10301. * elf/tst-tlsmod14a.c: Likewise.
  10302. * elf/tst-tlsmod2.c: Likewise.
  10303. * elf/tst-tlsmod3.c: Likewise.
  10304. * elf/tst-tlsmod4.c: Likewise.
  10305. * elf/tst-tlsmod5.c: Likewise.
  10306. * elf/tst-tlsmod6.c: Likewise.
  10307. * include/errno.h: Likewise.
  10308. * include/link.h: Likewise.
  10309. * include/tls.h: Likewise.
  10310. * locale/global-locale.c: Likewise.
  10311. * locale/localeinfo.h: Likewise.
  10312. * malloc/arena.c: Likewise.
  10313. * malloc/hooks.c: Likewise.
  10314. * malloc/malloc.c: Likewise.
  10315. * resolv/Versions: Likewise.
  10316. * sysdeps/alpha/dl-machine.h: Likewise.
  10317. * sysdeps/alpha/libc-tls.c: Likewise.
  10318. * sysdeps/generic/ldsodefs.h: Likewise.
  10319. * sysdeps/generic/tls.h: Likewise.
  10320. * sysdeps/i386/dl-machine.h: Likewise.
  10321. * sysdeps/ia64/dl-machine.h: Likewise.
  10322. * sysdeps/ia64/libc-tls.c: Likewise.
  10323. * sysdeps/mach/hurd/fork.c: Likewise.
  10324. * sysdeps/mach/hurd/i386/tls.h: Likewise.
  10325. * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise.
  10326. * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
  10327. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
  10328. * sysdeps/s390/libc-tls.c: Likewise.
  10329. * sysdeps/s390/s390-32/dl-machine.h: Likewise.
  10330. * sysdeps/s390/s390-64/dl-machine.h: Likewise.
  10331. * sysdeps/sh/dl-machine.h: Likewise.
  10332. * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
  10333. * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
  10334. * sysdeps/x86_64/dl-machine.h: Likewise.
  10335. * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and
  10336. split out locking and parameter checking.
  10337. (_dl_close): Call _dl_close_worker after locking and checking.
  10338. * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of
  10339. _dl_close.
  10340. * elf/Makefile: Add rules to build and run tst-thrlock.
  10341. * elf/tst-thrlock.c: New file.
  10342. [BZ #3426]
  10343. * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to
  10344. reality.
  10345. [BZ #3429]
  10346. * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until
  10347. we are sure we do not need it anymore for _dl_close. Also move
  10348. the asserts inside the lock region.
  10349. Patch mostly by Suzuki <suzuki@in.ibm.com>.
  10350. 2006-10-27 Jakub Jelinek <jakub@redhat.com>
  10351. * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
  10352. argument.
  10353. (_dl_lookup_symbol_x): Adjust caller.
  10354. * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove
  10355. _ns_global_scope.
  10356. * elf/rtld.c (dl_main): Don't initialize _ns_global_scope.
  10357. * elf/dl-libc.c: Revert l_scope name changes.
  10358. * elf/dl-load.c: Likewise.
  10359. * elf/dl-object.c: Likewise.
  10360. * elf/rtld.c: Likewise.
  10361. * elf/dl-close.c (_dl_close): Likewise.
  10362. * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P,
  10363. always use __rtld_mrlock_{change,done}. Always free old scope list
  10364. here if not l_scope_mem.
  10365. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name
  10366. change. Never free scope list here. Just __rtld_mrlock_lock before
  10367. the lookup and __rtld_mrlock_unlock it after the lookup.
  10368. * elf/dl-sym.c: Likewise.
  10369. * include/link.h (struct r_scoperec): Remove.
  10370. (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem
  10371. with l_scope_mem and l_scoperec_lock with l_scope_lock.
  10372. 2006-10-25 Ulrich Drepper <drepper@redhat.com>
  10373. * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.
  10374. 2006-10-18 Ulrich Drepper <drepper@redhat.com>
  10375. * configure.in: Disable building profile libraries by default.
  10376. 2006-10-17 Jakub Jelinek <jakub@redhat.com>
  10377. * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses
  10378. as signed longs, check for x_base + pos overflow.
  10379. * sunrpc/Makefile (tests): Add tst-xdrmem2.
  10380. * sunrpc/tst-xdrmem2.c: New test.
  10381. 2006-10-18 Ulrich Drepper <drepper@redhat.com>
  10382. * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to
  10383. _dl_lookup_symbol_x code.
  10384. 2006-10-17 Jakub Jelinek <jakub@redhat.com>
  10385. * elf/dl-runtime.c: Include sysdep-cancel.h.
  10386. (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and
  10387. scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_*
  10388. instead of catomic_* macros.
  10389. * elf/dl-sym.c: Include sysdep-cancel.h.
  10390. (do_sym): Use __rtld_mrlock_* and scoperec->nusers only
  10391. if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
  10392. * elf/dl-close.c: Include sysdep-cancel.h.
  10393. (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only
  10394. if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
  10395. * elf/dl-open.c: Include sysdep-cancel.h.
  10396. (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only
  10397. if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
  10398. 2006-10-17 Jakub Jelinek <jakub@redhat.com>
  10399. [BZ #3313]
  10400. * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last
  10401. fastbin rather than end of fastbin array.
  10402. 2006-10-18 Ulrich Drepper <drepper@redhat.com>
  10403. * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct
  10404. body macro.
  10405. * sysdeps/x86_64/bits/atomic.h
  10406. (__arch_c_compare_and_exchange_val_64_acq): Add missing casts.
  10407. (catomic_decrement): Use correct body macro.
  10408. 2006-10-17 Jakub Jelinek <jakub@redhat.com>
  10409. * include/atomic.h: Add a unique prefix to all local variables
  10410. in macros.
  10411. * csu/tst-atomic.c (do_test): Test also catomic_* macros.
  10412. 2006-10-16 Ulrich Drepper <drepper@redhat.com>
  10413. [BZ #3369]
  10414. * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4
  10415. and 7.
  10416. 2006-10-14 Ulrich Drepper <drepper@redhat.com>
  10417. * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.
  10418. 2006-10-13 Ulrich Drepper <drepper@redhat.com>
  10419. [BZ #3313]
  10420. * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to
  10421. determine highest fast bin to consolidate, always look into all of
  10422. them.
  10423. (do_check_malloc_state): Only require for empty bins for large
  10424. sizes in main arena.
  10425. * libio/stdio.h: Add more __wur attributes.
  10426. * elf/dl-minimal.c (realloc): Optimize last patch.
  10427. 2006-10-12 Richard Sandiford <richard@codesourcery.com>
  10428. [BZ #3352]
  10429. * elf/dl-minimal.c (realloc): Let malloc() return a new pointer,
  10430. and use memcpy() if it does.
  10431. 2006-11-12 Andreas Jaeger <aj@suse.de>
  10432. [BZ #2510]
  10433. * manual/search.texi (Hash Search Function): Clarify.
  10434. (Array Search Function): Clarify.
  10435. 2006-11-12 Joseph Myers <joseph@codesourcery.com>
  10436. [BZ #2830]
  10437. * math/atest-exp.c (main): Cast hex value to mp_limb_t before
  10438. shifting.
  10439. * math/atest-exp2.c (read_mpn_hex): Likewise.
  10440. * math/atest-sincos.c (main): Likewise.
  10441. 2006-10-11 Ulrich Drepper <drepper@redhat.com>
  10442. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.
  10443. * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait.
  10444. * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for
  10445. version GLIBC_2.6.
  10446. * Versions.def: Add GLIBC_2.6 for libc.
  10447. * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.
  10448. * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.
  10449. 2006-10-11 Jakub Jelinek <jakub@redhat.com>
  10450. * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
  10451. * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
  10452. * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
  10453. * sysdeps/generic/unsecvars.h: Add NIS_PATH.
  10454. 2006-10-11 Ulrich Drepper <drepper@redhat.com>
  10455. * include/atomic.c: Define catomic_* operations.
  10456. * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems.
  10457. * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*.
  10458. * malloc/memusage.c: Likewise.
  10459. * gmon/mcount.c: Likewise.
  10460. * elf/dl-close.c: Likewise.
  10461. * elf/dl-open.c: Likewise.
  10462. * elf/dl-profile.c: Likewise.
  10463. * elf/dl-sym.c: Likewise.
  10464. * elf/dl-runtime.c: Likewise.
  10465. * elf/dl-fptr.c: Likewise.
  10466. * resolv/res_libc.c: Likewise.
  10467. 2006-10-10 Ulrich Drepper <drepper@redhat.com>
  10468. * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH
  10469. components which lack them.
  10470. * nis/nis_subr.c (nis_getnames): Make sure that we always return
  10471. at least one entry consisting of the parameter concatenated with
  10472. the domain.
  10473. 2006-10-10 Roland McGrath <roland@frob.com>
  10474. * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.
  10475. * sysdeps/mach/hurd/futimes.c: Likewise.
  10476. * sysdeps/mach/hurd/lutimes.c: Likewise.
  10477. 2006-10-09 Ulrich Drepper <drepper@redhat.com>
  10478. Jakub Jelinek <jakub@redhat.com>
  10479. Implement reference counting of scope records.
  10480. * elf/dl-close.c (_dl_close): Remove all scopes from removed objects
  10481. from the list in objects which remain. Always allocate new scope
  10482. record.
  10483. * elf/dl-open.c (dl_open_worker): When growing array for scopes,
  10484. don't resize, allocate a new one.
  10485. * elf/dl-runtime.c: Update reference counters before using a scope
  10486. array.
  10487. * elf/dl-sym.c: Likewise.
  10488. * elf/dl-libc.c: Adjust for l_scope name change.
  10489. * elf/dl-load.c: Likewise.
  10490. * elf/dl-object.c: Likewise.
  10491. * elf/rtld.c: Likewise.
  10492. * include/link.h: Include <rtld-lowlevel.h>. Define struct
  10493. r_scoperec. Replace r_scope with pointer to r_scoperec structure.
  10494. Add l_scoperec_lock.
  10495. * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
  10496. * sysdeps/generic/rtld-lowlevel.h: New file.
  10497. * include/atomic.h: Rename atomic_and to atomic_and_val and
  10498. atomic_or to atomic_or_val. Define new macros atomic_and and
  10499. atomic_or which do not return values.
  10500. * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
  10501. Various cleanups.
  10502. * sysdeps/i386/i486/bits/atomic.h: Likewise.
  10503. * po/sv.po: Update from translation team.
  10504. 2006-10-07 Ulrich Drepper <drepper@redhat.com>
  10505. * Versions.def: Add GLIBC_2.6 to libpthread.
  10506. * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.
  10507. (versioned_symbol): Likewise.
  10508. (compat_symbol): Likewise.
  10509. * po/tr.po: Update from translation team.
  10510. 2006-10-06 Ulrich Drepper <drepper@redhat.com>
  10511. * nis/Banner: Removed. It's been integral part forever and the
  10512. author info is incomplete anyway.
  10513. * libio/Banner: Likewise.
  10514. * nis/nis_table.c (nis_list): If __follow_path fails in the new
  10515. code, make sure the nis_freeresult call doesn't crash and that the
  10516. result is reported correctly.
  10517. 2006-09-27 Jakub Jelinek <jakub@redhat.com>
  10518. * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS
  10519. when callback is NULL.
  10520. * nis/Versions (libnss_nisplus): Add
  10521. _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE.
  10522. * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups.
  10523. * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len,
  10524. _nss_create_tablename): Rename to...
  10525. (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename):
  10526. ... these. No longer static.
  10527. (internal_setgrent): Adjust users.
  10528. (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
  10529. Don't use locking around _nss_grp_create_tablename call.
  10530. * nis/nss_nisplus/nisplus-initgroups.c: New file.
  10531. 2006-10-06 Ulrich Drepper <drepper@redhat.com>
  10532. * version.h (VERSION): Bump to 2.5.90 for new development tree.
  10533. 2006-10-06 Andreas Jaeger <aj@suse.de>
  10534. * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.
  10535. 2006-10-06 Ulrich Drepper <drepper@redhat.com>
  10536. * po/pl.po: Update from translation team.
  10537. * nscd/nscd.c (main): Fix typo in message.
  10538. Patch by Jakub Bogusz <qboosh@pld-linux.org>.
  10539. 2006-10-02 Jakub Jelinek <jakub@redhat.com>
  10540. [BZ #3291]
  10541. * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
  10542. errno.h, signal.h, unistd.h and sysdep-cancel.h.
  10543. (__sigprocmask): Define.
  10544. 2006-10-02 Ulrich Drepper <drepper@redhat.com>
  10545. * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is
  10546. used.
  10547. 2006-10-02 Jakub Jelinek <jakub@redhat.com>
  10548. * nscd/mem.c (mempool_alloc): Round array size to 16 bytes
  10549. in oldtotal and newtotal calculation.
  10550. * nscd/nscd-client.h (struct mapped_database): Add datasize
  10551. field.
  10552. * nscd/nscd_helper.c (get_mapping): Initialize datasize field.
  10553. (__nscd_get_map_ref): Get a new mapping even if mapping's data_size
  10554. increased.
  10555. (__nscd_cache_search): Add checks to make sure we never reference
  10556. data beyond the current mapping.
  10557. 2006-10-02 Dmitry V. Levin <ldv@altlinux.org>
  10558. * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val
  10559. variables const to avoid compiler warnings.
  10560. * io/fts.c (fts_close): Remove redundant checks.
  10561. (fts_build): Likewise.
  10562. (fts_palloc): Likewise.
  10563. * manual/message.texi (Advanced gettext functions,
  10564. Using gettextized software): Fix typos.
  10565. 2006-09-30 Ulrich Drepper <drepper@redhat.com>
  10566. * posix/glob.c (glob_in_dir): Add some comments and asserts to
  10567. explain why there are no leaks.
  10568. 2006-09-29 Ulrich Drepper <drepper@redhat.com>
  10569. * libio/wmemstream.c: Include <wchar.h>.
  10570. * libio/bug-wmemstream1.c: Likewise.
  10571. * libio/tst-wmemstream1.c: Likewise.
  10572. * libio/tst-wmemstream2.c: Likewise.
  10573. * version.h (RELEASE): Bump to 2.5.
  10574. * README: Regenerated.
  10575. * locale/iso-3166.def: Add Aaland Islands and Montenegro.
  10576. [BZ #3273]
  10577. * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have
  10578. found no group members.
  10579. Patch by Petr Baudiš.
  10580. 2006-09-29 Jakub Jelinek <jakub@redhat.com>
  10581. * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't
  10582. assert bootstrap_map.l_tls_modid is zero.
  10583. (_dl_start): Initialize bootstrap_map.l_tls_modid to 0
  10584. if USE___THREAD.
  10585. 2006-09-27 Ulrich Drepper <drepper@redhat.com>
  10586. * libio/stdio.h: Move open_wmemstream prototype to ...
  10587. * wcsmbs/wchar.h: ... here.
  10588. 2006-09-25 Jakub Jelinek <jakub@redhat.com>
  10589. [BZ #3252]
  10590. * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only
  10591. fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call
  10592. __{,l}chown to handle the rest.
  10593. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only
  10594. fchownat syscall and __ASSUME_32BITUIDS case inline, call
  10595. __{,l}chown to handle the rest.
  10596. * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include
  10597. i386/fchownat.c.
  10598. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
  10599. * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise.
  10600. [BZ #3253]
  10601. * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a
  10602. time, rather allocate increasingly bigger arrays of pointers, if
  10603. possible with alloca, if too large with malloc.
  10604. 2006-09-24 Jakub Jelinek <jakub@redhat.com>
  10605. * sysdeps/powerpc/fpu/libm-test-ulps: Updated.
  10606. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos.
  10607. 2006-09-24 Ulrich Drepper <drepper@redhat.com>
  10608. * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4,
  10609. home addresses.
  10610. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize
  10611. IFA_F_HOMEADDRESS flag for interfaces.
  10612. * include/ifaddrs.h (struct in6addrinfo): Define
  10613. in6ai_homeaddress.
  10614. 2006-09-21 Jakub Jelinek <jakub@redhat.com>
  10615. [BZ #3225]
  10616. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3,
  10617. PTR_DEMANGLE3): Define.
  10618. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3,
  10619. PTR_DEMANGLE3): Likewise.
  10620. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them.
  10621. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):
  10622. Likewise.
  10623. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
  10624. 2006-09-20 Jakub Jelinek <jakub@redhat.com>
  10625. * po/libc.pot: Regenerated.
  10626. * po/be.po: Updated.
  10627. * po/ca.po: Likewise.
  10628. * po/cs.po: Likewise.
  10629. * po/da.po: Likewise.
  10630. * po/de.po: Likewise.
  10631. * po/el.po: Likewise.
  10632. * po/en_GB.po: Likewise.
  10633. * po/es.po: Likewise.
  10634. * po/fi.po: Likewise.
  10635. * po/fr.po: Likewise.
  10636. * po/gl.po: Likewise.
  10637. * po/hr.po: Likewise.
  10638. * po/hu.po: Likewise.
  10639. * po/ja.po: Likewise.
  10640. * po/ko.po: Likewise.
  10641. * po/nb.po: Likewise.
  10642. * po/nl.po: Likewise.
  10643. * po/pl.po: Likewise.
  10644. * po/pt_BR.po: Likewise.
  10645. * po/ru.po: Likewise.
  10646. * po/rw.po: Likewise.
  10647. * po/sk.po: Likewise.
  10648. * po/sv.po: Likewise.
  10649. * po/tr.po: Likewise.
  10650. * po/zh_CN.po: Likewise.
  10651. * po/zh_TW.po: Likewise.
  10652. [BZ #3137]
  10653. * iconv/iconv_prog.c (main): Fix spelling in error message.
  10654. * iconv/iconvconfig.c (main): Likewise.
  10655. * locale/programs/ld-collate.c (handle_ellipsis): Likewise.
  10656. * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise.
  10657. * locale/programs/localedef.c (main): Likewise.
  10658. * locale/programs/repertoire.c (repertoire_read): Likewise.
  10659. * timezone/zdump.c (main): Likewise.
  10660. * nscd/connections.c (handle_request): Fix spelling in log message.
  10661. Patch by Malcolm Parsons <malcolm.parsons@gmail.com>.
  10662. 2006-09-20 Ulrich Drepper <drepper@redhat.com>
  10663. * inet/inet6_option.c: Also emit linker warnings for the RFC 2292
  10664. interfaces.
  10665. 2006-09-20 Andreas Jaeger <aj@suse.de>
  10666. * math/libm-test.inc (lrint_test_upward): Fix typo.
  10667. 2006-06-17 Joseph S. Myers <joseph@codesourcery.com>
  10668. [BZ #2592]
  10669. * math/libm-test.inc (lrint_test_tonearest): New function.
  10670. (lrint_test_towardzero): New function.
  10671. (lrint_test_downward): New function.
  10672. (lrint_test_upward): New function.
  10673. (main): Run these new tests.
  10674. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding
  10675. of values near to 0.
  10676. (two52): Use double not long double.
  10677. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
  10678. * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
  10679. (two23): Use float not double.
  10680. * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
  10681. (two23): Use float not double.
  10682. * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
  10683. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
  10684. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
  10685. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
  10686. 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
  10687. * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext):
  10688. Cast sp to unsigned long to avoid compiler warning.
  10689. Use __makecontext_ret function instead of a trampoline on the stack.
  10690. (__makecontext_ret): New function.
  10691. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise.
  10692. 2006-09-19 Jakub Jelinek <jakub@redhat.com>
  10693. * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but
  10694. platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM
  10695. bits.
  10696. 2006-09-19 Ulrich Drepper <drepper@redhat.com>
  10697. * elf/dl-close.c (_dl_close): If dependency is not unloaded make
  10698. sure no reference to the unloaded map's search list remains in the
  10699. dependency's scope.
  10700. 2006-09-16 Jakub Jelinek <jakub@redhat.com>
  10701. * elf/Makefile: Add rules to build and run unload7 test.
  10702. * elf/unload7.c: New test.
  10703. * elf/unload7mod1.c: New file.
  10704. * elf/unload7mod2.c: New file.
  10705. 2006-09-18 Jakub Jelinek <jakub@redhat.com>
  10706. * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto.
  10707. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS,
  10708. PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
  10709. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS,
  10710. PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
  10711. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS,
  10712. PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise.
  10713. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS,
  10714. PTRACE_GETEVENTMSG): Likewise.
  10715. (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent
  10716. values.
  10717. 2006-09-17 Mike Frysinger <vapier@gentoo.org>
  10718. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS,
  10719. PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
  10720. * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS,
  10721. PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
  10722. 2006-09-16 Jakub Jelinek <jakub@redhat.com>
  10723. * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't
  10724. write '\0' to the fd.
  10725. * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise.
  10726. * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise.
  10727. Change regs to unsigned long pointer from unsigned int, fix fscr
  10728. offset.
  10729. 2006-09-14 Jakub Jelinek <jakub@redhat.com>
  10730. * io/Makefile (CFLAGS-fstatat.c): Set.
  10731. (CFLAGS-fstatat64.c): Likewise.
  10732. (CFLAGS-mknodat.c): Likewise.
  10733. * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes.
  10734. * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
  10735. * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten.
  10736. * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten.
  10737. 2006-09-14 Jakub Jelinek <jakub@redhat.com>
  10738. Steven Munroe <sjmunroe@us.ibm.com>
  10739. * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap
  10740. names to the beginning. Rename "cell" to "cellbe".
  10741. (_dl_powerpc_platforms): New.
  10742. * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
  10743. (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell.
  10744. (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define.
  10745. (_DL_HWCAP_PLATFORM): Define to new mask.
  10746. (_dl_platform_string, _dl_string_platform): New functions.
  10747. * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT,
  10748. PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define.
  10749. 2006-09-12 Jakub Jelinek <jakub@redhat.com>
  10750. [BZ #2526]
  10751. * README.libm: Fix a thinko in sqrt algorithm description.
  10752. [BZ #3143]
  10753. * manual/string.texi (argz_delete): Fix prototype.
  10754. Patch by <alpt@freaknet.org>.
  10755. 2006-08-26 Joseph Myers <joseph@codesourcery.com>
  10756. [BZ #3138]
  10757. * io/test-lfs.c (do_prepare): Give name_len type size_t.
  10758. * io/tst-fcntl.c (do_prepare): Likewise.
  10759. * posix/tst-exec.c (do_prepare): Likewise.
  10760. * posix/tst-preadwrite.c (do_prepare): Likewise.
  10761. * posix/tst-spawn.c (do_prepare): Likewise.
  10762. * posix/tst-truncate.c (do_prepare): Likewise.
  10763. * rt/tst-aio.c (do_prepare): Likewise.
  10764. * rt/tst-aio64.c (do_prepare): Likewise.
  10765. * stdlib/test-canon2.c (do_prepare): Give test_dir_len type
  10766. size_t.
  10767. 2006-09-09 Ulrich Drepper <drepper@redhat.com>
  10768. [BZ #2821]
  10769. * time/mktime.c (guess_time_tm): Fix overflow detection.
  10770. * time/Makefile (tests): Add bug-mktime1.
  10771. * time/bug-mktime1.c: New file.
  10772. [BZ #3189, #3188]
  10773. * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE.
  10774. (mremap): Likewise.
  10775. 2006-09-07 Jakub Jelinek <jakub@redhat.com>
  10776. [BZ #1006]
  10777. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
  10778. Ensure relocation doesn't clobber any bits outside of the
  10779. immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30,
  10780. R_SPARC_HI22 and R_SPARC_H44.
  10781. [BZ #2775]
  10782. * malloc/malloc.c (sYSMALLOc): Only call grow_heap if
  10783. (long) (MINSIZE + nb - old_size) is positive.
  10784. * malloc/arena.c (grow_heap): When growing bail even if new_size
  10785. is negative.
  10786. [BZ #3155]
  10787. * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access
  10788. stack below r1.
  10789. 2006-09-06 Jakub Jelinek <jakub@redhat.com>
  10790. * posix/regex_internal.c (re_string_reconstruct): Handle
  10791. offset < pstr->valid_raw_len && pstr->offsets_needed case.
  10792. Ensure no bytes read before raw_mbs array. Pass a saved copy of
  10793. pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to
  10794. re_string_context_at.
  10795. * posix/Makefile: Add rules to build and run bug-regex26 test.
  10796. * posix/bug-regex26.c: New test.
  10797. * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free
  10798. rather than col_sym_free. Move seqp declaration earlier.
  10799. * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
  10800. 2006-09-05 Jakub Jelinek <jakub@redhat.com>
  10801. * nscd/initgrcache.c (addinitgroupsX): Move any_success
  10802. decl before first goto out.
  10803. 2006-09-04 Jakub Jelinek <jakub@redhat.com>
  10804. * Makerules (shlib.lds): If have-hash-style, put .hash section
  10805. at the end of the RO segment.
  10806. 2006-09-04 Ulrich Drepper <drepper@redhat.com>
  10807. * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new
  10808. style hash table format is used.
  10809. 2006-09-04 Jakub Jelinek <jakub@redhat.com>
  10810. * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after
  10811. randomization rather than before.
  10812. * resolv/res_init.c (res_randomid): Don't call gettimeofday here.
  10813. 2006-08-31 Jakub Jelinek <jakub@redhat.com>
  10814. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so.
  10815. * malloc/malloc.c (_int_malloc): Use full list insert and not
  10816. shortcut which assumes the list is empty for large requests
  10817. too.
  10818. * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf".
  10819. 2006-08-30 Jakub Jelinek <jakub@redhat.com>
  10820. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin
  10821. and offout arguments to the prototype.
  10822. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise.
  10823. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise.
  10824. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise.
  10825. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise.
  10826. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise.
  10827. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise.
  10828. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise.
  10829. * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string.
  10830. 2006-08-28 Ulrich Drepper <drepper@redhat.com>
  10831. * elf/dl-load.c (_dl_init_paths): Expand DSTs.
  10832. * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in
  10833. dlopen parameters.
  10834. 2006-08-28 Jakub Jelinek <jakub@redhat.com>
  10835. * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno
  10836. only if herrno is NETDB_INTERNAL. Handle errors other than
  10837. ERANGE outside of the loops, handle TRY_AGAIN.
  10838. * locale/programs/ld-ctype.c (translit_flatten): Issue error
  10839. if other's ctype category was missing.
  10840. * locale/programs/ld-collate.c (collate_read): Return if
  10841. copy_locale's collate category is missing.
  10842. 2006-08-27 Ulrich Drepper <drepper@redhat.com>
  10843. [BZ #2684]
  10844. * malloc/malloc.c (public_rEALLOc): Try harder by using other
  10845. arenas if allocation failed.
  10846. Patch mostly by Jan Edler <jan.edler@indexengines.com>.
  10847. 2006-08-26 Ulrich Drepper <drepper@redhat.com>
  10848. * malloc/malloc.c (bin_at): Rewrite to be more clear and to not
  10849. waste bins[0..1].
  10850. (malloc_state): Reduce bins size by 2.
  10851. (_int_malloc): Fix test for large enough buffer for early termination.
  10852. When no unsorted block matches perfectly and an exiting block has
  10853. to be split, use full list insert and not shortcut which assumes
  10854. the list is empty.
  10855. * locale/programs/ld-ctype.c (ctype_read): Better patch for read
  10856. failure.
  10857. 2006-08-24 Ulrich Drepper <drepper@redhat.com>
  10858. * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't
  10859. do anything.
  10860. * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined
  10861. symbol require exact match (these are PLTs).
  10862. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
  10863. (_dl_ppc64_addr_sym_match): Likewise.
  10864. [BZ #2683]
  10865. * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols.
  10866. If symbol has a value use it.
  10867. * elf/tst-dladdr1.c: New file.
  10868. * elf/Makefile: Add rules to build and run tst-addr1.
  10869. 2006-08-24 Jakub Jelinek <jakub@redhat.com>
  10870. * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP
  10871. keeps failing and heap growth or new heap creation isn't
  10872. successful either.
  10873. * malloc/tst-malloc.c (main): Add new tests.
  10874. 2006-08-24 Ulrich Drepper <drepper@redhat.com>
  10875. [BZ #2734]
  10876. * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions
  10877. as in the x86-64 code to use bswap.
  10878. 2006-05-21 Joseph S. Myers <joseph@codesourcery.com>
  10879. [BZ #2680]
  10880. * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not
  10881. __USE_UNIX98.
  10882. * posix/bits/unistd.h: Likewise.
  10883. 2006-05-15 Mike Frysinger <vapier@gentoo.org>
  10884. [BZ #2751]
  10885. * string/strchr.c: Add cast to avoid warning.
  10886. 2006-08-21 Ulrich Drepper <drepper@redhat.com>
  10887. * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit
  10888. platforms define as 512K. For 64-bit platforms as 32MB. The lower
  10889. limit is needed to avoid the exploding of the address space
  10890. requirement for secondary heaps.
  10891. * malloc/arena.c (HEAP_MAX_SIZE): Define using
  10892. DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
  10893. 2006-07-30 Joseph S. Myers <joseph@codesourcery.com>
  10894. [BZ #3018]
  10895. * Makerules (depfiles): Handle extra-test-objs the same as
  10896. extra-objs.
  10897. (common-mostlyclean): Likewise.
  10898. * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs
  10899. instead.
  10900. * elf/Makefile (extra-objs): Likewise.
  10901. * stdlib/Makefile (extra-objs): Likewise.
  10902. 2006-08-14 Eric Blake <ebb9@byu.net>
  10903. [BZ #3044]
  10904. * misc/error.h: Assume C89 or better.
  10905. * misc/error.c: Likewise.
  10906. 2006-08-21 Ulrich Drepper <drepper@redhat.com>
  10907. [BZ #3040]
  10908. * sysdeps/unix/sysv/linux/openat.c: Fix compilation if
  10909. __ASSUME_ATFCTS is defined.
  10910. 2006-08-19 Ulrich Drepper <drepper@redhat.com>
  10911. * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks
  10912. to sort in each call.
  10913. * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map
  10914. is empty simply return and use next service.
  10915. * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
  10916. * locale/programs/charmap.c (charmap_read): Add new parameter. It
  10917. tells us when not finding a charmap file is an error.
  10918. * locale/programs/charmap.h: Adjust charmap_read prototype.
  10919. * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we
  10920. cannot find a charmap.
  10921. * locale/programs/localedef.c (main): Adjust charmap_read call.
  10922. 2006-08-15 Jakub Jelinek <jakub@redhat.com>
  10923. * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use
  10924. sysdeps/posix/pause.c implementation instead.
  10925. 2006-08-09 Jakub Jelinek <jakub@redhat.com>
  10926. * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority
  10927. to EPERM.
  10928. 2006-08-13 Andreas Schwab <schwab@suse.de>
  10929. * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve):
  10930. Don't clobber caller's LRSAVE.
  10931. (_dl_prof_resolve): Likewise.
  10932. 2006-08-14 Ulrich Drepper <drepper@redhat.com>
  10933. [BZ #1996]
  10934. * libio/memstream.c (open_memstream): Allocate initial buffer with
  10935. calloc.
  10936. * libio/wmemstream.c (open_wmemstream): Likewise.
  10937. * libio/strops.c: Pretty printing.
  10938. (_IO_str_overflow): Clear uninitialized part of the new buffer.
  10939. (enlarge_userbuf): New function.
  10940. (_IO_str_seekoff): Call it if seek position is larger than current
  10941. buffer.
  10942. * libio/wstrops.c: Likewise.
  10943. * libio/vasprintf.c: Add comment as to why we do not have to use
  10944. calloc instead of malloc to allocate initial buffer.
  10945. * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1.
  10946. * libio/bug-memstream1.c: New file.
  10947. * libio/bug-wmemstream1.c: New file.
  10948. 2006-08-13 Ulrich Drepper <drepper@redhat.com>
  10949. * libio/wstrops.c: Remove dead macro definitions and comments.
  10950. * libio/strops.c: Likewise.
  10951. [BZ #2764]
  10952. * login/utmpname.c (__utmpname): Remove unnecessary test.
  10953. 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org>
  10954. [BZ #2832]
  10955. * math/gen-libm-test.pl (clean_up_number): Do not remove trailing
  10956. 0s from integers.
  10957. 2006-08-13 Ulrich Drepper <drepper@redhat.com>
  10958. [BZ #2987]
  10959. * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall
  10960. for CPU clocks.
  10961. * sysdeps/unix/clock_settime.c: Add support for platform-specific
  10962. setting of CPU clocks.
  10963. 2006-06-23 Paul Eggert <eggert@cs.ucla.edu>
  10964. [BZ #2841]
  10965. * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U',
  10966. since C99 requires the result to promote to 'int' when uint_least8_t
  10967. and uint_least16_t promote to 'int'.
  10968. 2006-08-12 Ulrich Drepper <drepper@redhat.com>
  10969. [BZ #3013]
  10970. * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix
  10971. lenght of one output field, correct bitmask creation.
  10972. * locale/programs/ld-time.c: Add alignment.
  10973. [BZ #2997]
  10974. * misc/error.c: Add space between program name and message if file
  10975. name is missing.
  10976. 2006-08-03 Eric Blake <ebb9@byu.net>
  10977. [BZ #2998]
  10978. * misc/error.c (error_tail) [_LIBC]: Avoid invalid free.
  10979. 2006-08-09 Ulrich Drepper <drepper@redhat.com>
  10980. * malloc/memusagestat.c: Silence warnings.
  10981. * malloc/malloc.c: Dynamically size mmap treshold if the program
  10982. frees mmaped blocks.
  10983. Patch by Valerie Henson and Arjan van de Ven.
  10984. 2006-08-08 Jakub Jelinek <jakub@redhat.com>
  10985. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with
  10986. __USE_GNU.
  10987. * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab,
  10988. __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare.
  10989. (DEF): Don't put the var into .gnu.linkonce.r.* section.
  10990. Only provide var definitions in strtol_l (or for *ull*
  10991. in strtoll_l).
  10992. * stdio-common/bug16.c (tests): New array.
  10993. (do_tests): Allow the first hexadecimal digit
  10994. to be 1, 2, 4 or 8. Do 3 additional tests.
  10995. * sysdeps/s390/fpu/libm-test-ulps: Update.
  10996. * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use
  10997. fchownat syscall if available.
  10998. * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
  10999. * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise.
  11000. * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
  11001. 2006-08-07 Ulrich Drepper <drepper@redhat.com>
  11002. * nis/nis_xdr.c: Avoid some function calls.
  11003. 2006-08-07 Jakub Jelinek <jakub@redhat.com>
  11004. Ulrich Drepper <drepper@redhat.com>
  11005. * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take
  11006. short cut if only one name component is stripped away.
  11007. 2006-08-07 Ulrich Drepper <drepper@redhat.com>
  11008. * nis/nis_call.c: Minor cleanups throughout.
  11009. (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array.
  11010. (first_shoot): Add search_parent_first parameter. Only if it is set
  11011. search parent server first.
  11012. If directory for table found through cold start cache is not the same
  11013. as referenced in the cache, don't use it.
  11014. (__nisfind_server): Take additional parameter. Pass it on to
  11015. first_shoot.
  11016. (__prepare_niscall): Adjust __nisfind_server call.
  11017. * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype.
  11018. * nis/nis_table.c: Adjust __nisfind_server call.
  11019. * nis/nis_lookup.c: Likewise.
  11020. (nis_lookup): Don't loop endlessly if name is reduced to ".".
  11021. 2006-08-03 Ulrich Drepper <drepper@redhat.com>
  11022. [BZ #2182]
  11023. * math/s_cacosh.c: Return values from positive branch.
  11024. * math/s_cacoshf.c: Likewise.
  11025. * math/s_cacoshl.c: Likewise.
  11026. [BZ #2883]
  11027. * sysvipc/sys/msg.h: Change return value to ssize_t.
  11028. * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
  11029. * sysvipc/msgrcv.c: Likewise.
  11030. * include/sys/msg.h: Likewise.
  11031. * grp/initgroups.c (internal_getgrouplist): Remove unnecessary
  11032. test introduced in patch for bz #661.
  11033. (getgrouplist): Simplify code a bit. Don't allocate one additional
  11034. element for NEWGROUPS.
  11035. [BZ #2908]
  11036. * stdio-common/printf_fphex.c (__printf_fphex): When rounding up
  11037. 'f', use '1' as leading digit not '\1'.
  11038. * stdio-common/Makefile (tests): Add bug16.
  11039. * stdio-common/bug16.c: New file.
  11040. [BZ #2914]
  11041. * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE
  11042. and don't try to open it. The patch introducing the macro
  11043. contained a bug and used the same file name as the new file
  11044. instead of using /var/adm/hostid. Nobody complaint so I'm taking
  11045. this out completely.
  11046. [BZ #2926]
  11047. * assert/assert.h: Move cast to void inside ?: to quiet gcc.
  11048. Patch by Jerry James <Jerry.James@usu.edu>.
  11049. * rt/Makefile (tests): Add tst-clock2.
  11050. * rt/tst-clock2.c: New file.
  11051. [BZ #2978]
  11052. * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread
  11053. function and its parameters and pass it to new thread.
  11054. (__gai_notify): Add support for alternative waiting for completion.
  11055. * resolv/gai_suspend.c (gai_suspend): Add support for alternative
  11056. waiting for completion.
  11057. * resolv/getaddrinfo_a.c: Likewise.
  11058. * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative
  11059. waiting for completion is used.
  11060. * resolv/gai_misc.c: Allow overwriting code to start helper thread.
  11061. * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h".
  11062. * resolv/gai_error.c: Likewise.
  11063. * resolv/gai_sigqueue.c: Likewise.
  11064. 2006-08-02 Thomas Schwinge <tschwinge@gnu.org>
  11065. * hurd/getdport.c (__getdport): Don't return EBADF; instead set
  11066. errno to EBADF and return MACH_PORT_NULL.
  11067. 2006-06-23 Joseph Myers <joseph@codesourcery.com>
  11068. [BZ #2980]
  11069. * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables.
  11070. 2006-08-02 Ulrich Drepper <drepper@redhat.com>
  11071. * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present,
  11072. walk them instead of the symbol table.
  11073. 2006-08-01 Ulrich Drepper <drepper@redhat.com>
  11074. [BZ #2098]
  11075. * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by
  11076. status of NSS calls, not the number of returned entries.
  11077. * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key,
  11078. request_key, keyctl.
  11079. 2006-07-31 Ulrich Drepper <drepper@redhat.com>
  11080. * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include.
  11081. 2006-07-16 Jeff Bailey <jbailey@ubuntu.com>
  11082. * elf/tst-auditmod1.c: Fix typo in #error.
  11083. 2006-07-31 Ulrich Drepper <drepper@redhat.com>
  11084. * elf/tst-auditmod1.c: Remove code for unsupported architectures.
  11085. * iconvdata/run-iconv-test.sh: Run cmp in C locale.
  11086. 2006-07-20 Adam Nemet <anemet@caviumnetworks.com>
  11087. * stdlib/test-canon.c (do_test): Close fd before unlinking file so
  11088. that the directory is empty even on non-POSIX filesystems.
  11089. 2006-07-31 Ulrich Drepper <drepper@redhat.com>
  11090. * elf/dl-open.c (dl_open_worker): Add branch prediction.
  11091. * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into
  11092. the backend NSS module. If backend setgrent call failed, don't have
  11093. internal_setgrent fail. Just remember this until it is needed.
  11094. * nis/nss_compat/compat-pwd.c: Likewise.
  11095. * nis/nss_compat/compat-spwd.c: Likewise.
  11096. 2006-07-30 Roland McGrath <roland@redhat.com>
  11097. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed.
  11098. * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed.
  11099. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed.
  11100. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed.
  11101. * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro.
  11102. (nanosleep_not_cancel): New macro.
  11103. (sigsuspend_not_cancel): new macro.
  11104. * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS]
  11105. (do_sigsuspend): Define as inline.
  11106. (__sigsuspend): Always use do_sigsuspend.
  11107. [! NO_CANCELLATION] (__sigsuspend_nocancel): New function.
  11108. * include/signal.h: Declare __sigsuspend_nocancel.
  11109. * sysdeps/posix/pause.c
  11110. [! NO_CANCELLATION] (__pause_nocancel): New function.
  11111. * include/unistd.h (__pause_nocancel): Add attribute_hidden.
  11112. * include/time.h (__nanosleep_nocancel): Likewise.
  11113. 2006-07-30 Ulrich Drepper <drepper@redhat.com>
  11114. * locale/programs/localedef.c (add_to_readlist): Rename local
  11115. variables to avoid confusion.
  11116. * locale/programs/charmap.c (charmap_read): Emit error message if
  11117. charmap couldn't be found or read.
  11118. 2006-07-28 Ulrich Drepper <drepper@redhat.com>
  11119. * sysdeps/unix/sysv/linux/kernel-features.h: Define
  11120. __ASSUME_FUTEX_LOCK_PI.
  11121. * include/time.h: Declare __nanosleep_nocancel.
  11122. * include/unistd.h: Declare __pause_nocancel.
  11123. * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of
  11124. LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we
  11125. get the __stack_chk_fail_local definition when it's needed.
  11126. 2006-07-26 Ulrich Drepper <drepper@redhat.com>
  11127. * dlfcn/Makefile: Add rules to build and run bug-atexit3.
  11128. * dlfcn/bug-atexit3.c: New file.
  11129. * dlfcn/bug-atexit3-lib.cc: New file.
  11130. * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be
  11131. used when the namespace is not the base namespace.
  11132. 2006-07-26 Gavin Romig-Koch <gavin@redhat.com>
  11133. * stdlib/cxa_atexit.c (__new_exitfn_called): New variable.
  11134. (__new_exitfn): Bump it in every successful call.
  11135. * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered
  11136. more exit handlers, call them right away.
  11137. * stdlib/exit.h: Declare __new_exitfn_called.
  11138. 2006-07-25 Ulrich Drepper <drepper@redhat.com>
  11139. * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when
  11140. calling registered handler.
  11141. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment.
  11142. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  11143. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  11144. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  11145. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  11146. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  11147. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
  11148. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  11149. 2006-07-10 Ulrich Drepper <drepper@redhat.com>
  11150. * elf/dl-lookup.c (dl_new_hash): New functions.
  11151. (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute
  11152. value here. Compute new-style hash value. Pass new hash value
  11153. and reference to variable with the old value to do_lookup_x.
  11154. (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not
  11155. old-style hash table.
  11156. (_dl_debug_bindings): Pass new hash value and reference to variable
  11157. with the old value to do_lookup_x.
  11158. * elf/do-lookup.h (do_lookup_x): Accept additional parameter with
  11159. new-style hash value and change old-style hash value parameter to
  11160. be a reference. Reoganize functions to determine whether
  11161. new-style hash table is available. Only fall back on old-style
  11162. table. If old-style hash value is needed, compute it here.
  11163. * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH
  11164. entry.
  11165. * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT,
  11166. DT_TLSDEC_GOT. Adjust DT_ADDRNUM.
  11167. * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits,
  11168. l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero.
  11169. * Makeconfig: If linker supports --hash-style option add it to all
  11170. linker command lines to build DSOs.
  11171. * config.make.in: Define have-hash-style.
  11172. * configure.in: Test whether linker supports --hash-style option.
  11173. * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const.
  11174. * sysdeps/generic/ldsodefs.h: Adjust prototype.
  11175. 2006-06-27 Ulrich Drepper <drepper@redhat.com>
  11176. * elf/dl-load.c (open_path): Fix test to determine whether DSO is
  11177. auditing.
  11178. * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at
  11179. RPATH of main map twice.
  11180. 2006-06-22 Ulrich Drepper <drepper@redhat.com>
  11181. * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't
  11182. look further, return original strings.
  11183. (_nl_find_msg): Do not return found translation if the conversion
  11184. failed. Either signal the string is unusable or that something went
  11185. wrong and the original should be used.
  11186. 2006-06-21 Ulrich Drepper <drepper@redhat.com>
  11187. * string/_strerror.c (__strerror_r): Add __builtin_expect.
  11188. 2006-06-14 Jakub Jelinek <jakub@redhat.com>
  11189. [BZ #2766]
  11190. * misc/insremque.c (insque): Handle prev == NULL.
  11191. * misc/Makefile (tests): Add tst-insremque.
  11192. * misc/tst-insremque.c: New test.
  11193. 2006-06-17 Ulrich Drepper <drepper@redhat.com>
  11194. [BZ #2792]
  11195. * elf/dl-deps.c (expand_dst): Rename __cnt variable to not
  11196. conflict with DL_DST_REQUIRED.
  11197. 2006-06-16 Ulrich Drepper <drepper@redhat.com>
  11198. * nis/nis_subr.c (nis_getnames): Fix the implementation to better
  11199. match what Solaris does.
  11200. 2006-06-04 Ulrich Drepper <drepper@redhat.com>
  11201. * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and
  11202. local_setegid instead of seteuid and setegid.
  11203. * sysdeps/generic/local-setxid.h: New file.
  11204. * sysdeps/unix/sysv/linux/local-setxid.h: New file.
  11205. * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces.
  11206. * string/Makefile (tests): Add bug-envz1.
  11207. * string/bug-envz1.c: New file.
  11208. 2006-06-02 Jakub Jelinek <jakub@redhat.com>
  11209. * posix/regex_internal.c (re_string_skip_chars): If no character has
  11210. been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc
  11211. to the byte which couldn't be converted.
  11212. (re_string_reconstruct): Don't clear valid_raw_len before calling
  11213. re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set
  11214. tip_context using re_string_context_at.
  11215. * posix/Makefile: Add rules to build and run bug-regex25 test.
  11216. * posix/bug-regex25.c: New test.
  11217. 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com>
  11218. [BZ #2703]
  11219. * string/envz.c (envz_strip): Correct erroneously reversed src
  11220. and dest parameters to memmove() invocation.
  11221. 2006-05-30 Jakub Jelinek <jakub@redhat.com>
  11222. * nscd/nscd.h (prune_cache): Add fd argument to prototype.
  11223. * nscd/nscd.c (parse_opt): Read response from INVALIDATE request
  11224. to make sure the database has been already invalidated.
  11225. * nscd/cache.c (prune_cache): Add fd argument. Write response to fd
  11226. after the cache has been invalidated. Use pthread_mutex_lock rather
  11227. than pthread_mutex_trylock if fd != -1.
  11228. * nscd/connections.c (invalidate_cache): Add fd argument, write
  11229. response to fd if not calling prune_cache, pass fd to prune_cache.
  11230. (handle_request): Adjust invalidate_cache caller.
  11231. (nscd_run): Pass -1 as fd to prune_cache.
  11232. 2006-05-30 Ulrich Drepper <drepper@redhat.com>
  11233. * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in
  11234. the correct place.
  11235. 2006-05-29 Ulrich Drepper <drepper@redhat.com>
  11236. * nscd/nscd.h (struct database_dyn): Add prunelock field.
  11237. * nscd/cache.c (prune_cache): Take prunelock before starting the
  11238. work. Just return in case it is already taken.
  11239. * nscd/connections.c (dbs): Initialize .prunelock.
  11240. 2006-05-25 Ulrich Drepper <drepper@redhat.com>
  11241. * nis/nis_removemember.c (nis_removemember): Avoid unnecessary
  11242. copying. No need to allocate new array for group members. Just
  11243. move the pointers and update the size.
  11244. * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying.
  11245. Avoid memory leak in case realloc fails. Simplification for
  11246. better code generation.
  11247. Avoid deprecation warning because of libc_hidden_proto for
  11248. inet6_option_alloc.
  11249. * inet/inet6_option.c (option_alloc): Renamed from
  11250. inet6_option_alloc. Made static.
  11251. (inet6_option_alloc): Now a simple wrapper around option_alloc.
  11252. (inet6_option_append): Call option_alloc.
  11253. * include/netinet/in.h: Remove libc_hidden_proto for
  11254. inet6_option_alloc.
  11255. * nis/nis_callback.c (__nis_create_callback): Always call xdr_free
  11256. for cleanup when cb!=NULL [Coverity CID 233].
  11257. 2006-05-24 Ulrich Drepper <drepper@redhat.com>
  11258. [BZ #2693]
  11259. * inet/Makefile (routines): Add inet6_opt and inet6_rth.
  11260. * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init,
  11261. inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next,
  11262. inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init,
  11263. inet6_rth_add, inet6_rth_reverse, inet6_rth_segments,
  11264. and inet6_rth_getaddr.
  11265. * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible
  11266. array.
  11267. * inet/netinet/in.h (struct ip6_mtuinfo): Define.
  11268. Mark inet6_option_* interfaces as deprecated.
  11269. Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish,
  11270. inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val,
  11271. inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse,
  11272. inet6_rth_segments, and inet6_rth_getaddr.
  11273. * inet/inet6_opt.c: New file.
  11274. * inet/inet6_rth.c: New file.
  11275. * inet/netinet/icmp6.h: Pretty printing.
  11276. [BZ #2683]
  11277. * elf/dl-addr.c (_dl_addr): Don't match undefined references.
  11278. 2006-05-23 Ulrich Drepper <drepper@redhat.com>
  11279. * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of
  11280. doing it all here. When server does not know the answer do not
  11281. fail immediate, try parent first.
  11282. * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer
  11283. overflow test.
  11284. 2006-05-20 Ulrich Drepper <drepper@redhat.com>
  11285. * nis/nis_call.c (__prepare_niscall): New function. Split out
  11286. from __do_niscall.
  11287. * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request
  11288. and exported.
  11289. (__follow_path): New function. Split out from nis_list.
  11290. * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and
  11291. _xdr_nis_result.
  11292. * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and
  11293. _xdr_nis_result.
  11294. * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request,
  11295. and __follow_path.
  11296. * nis/Versions: Export __prepare_niscall, __create_ib_request,
  11297. __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result
  11298. from libnsl for version GLIBC_PRIVATE.
  11299. * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk.
  11300. Remove entry parameter from _nss_nisplus_parse_pwent and
  11301. _nss_nisplus_parse_grent.
  11302. * nis/nss_nisplus/nisplus-parser.c: Likewise.
  11303. * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ
  11304. again. Rewrite getpwent handling to not use nis_first_entry and
  11305. nis_next_entry. Roll out own niscall handling.
  11306. * nis/nss_nisplus/nisplus-grp.c: Likewise.
  11307. * sunrpc/xdr_rec.c: Fix typo in comment.
  11308. 2006-05-19 Ulrich Drepper <drepper@redhat.com>
  11309. * nis/nis_call.c (__do_niscall3): Avoid code duplication in error
  11310. handling.
  11311. * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc
  11312. to allocate memory for my_pollfd. Better initialization of
  11313. cb_is_running. Use TEMP_FAILURE_RETRY.
  11314. * malloc/memusage.sh (memusageso): Add quotes.
  11315. (memusagestat): Likewise.
  11316. * debug/xtrace.sh (pcprofileso): Likewise.
  11317. (pcprofiledump): Likewise.
  11318. * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR
  11319. replacement.
  11320. * malloc/Makefile ($(objpfx)memusage): Likewise.
  11321. * nis/nis_callback.c (__nis_create_callback): Calls to
  11322. svcudp_bufcreate and svctcp_create can fail. Free ->xprt if
  11323. asprintf call fails.
  11324. * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure
  11325. no uninitialized memory is passed to sendto.
  11326. 2006-05-18 Ulrich Drepper <drepper@redhat.com>
  11327. * nis/nis_callback.c (__nis_create_callback): Use asprinf instead
  11328. of snprintf+strdup. Handle OOM.
  11329. * nis/nis_callback.c (__nis_create_callback): Allocate cb and
  11330. cb->serv together. Remove now obsolete free calls.
  11331. (__nis_destroy_callback): Remove now obsolete free call.
  11332. 2006-05-18 David Woodhouse <dwmw2@redhat.com>
  11333. * sysdeps/posix/getaddrinfo.c: Add unique labels to the default
  11334. RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local
  11335. and ULA respectively). Set precedence for IPv4 address to 10 as
  11336. defined in RFC3484 for preferring IPv6.
  11337. * posix/gai.conf: Update to match the new default tables.
  11338. 2006-05-18 Jakub Jelinek <jakub@redhat.com>
  11339. * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent
  11340. returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS.
  11341. * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
  11342. * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise.
  11343. * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent):
  11344. Removed.
  11345. (init_nss_interface): Remove initialization of these variables.
  11346. 2006-05-18 Ulrich Drepper <drepper@redhat.com>
  11347. * nis/nis_call.c (rec_dirsearch): Little optimization: pull
  11348. nis_free_directory forward to avoid duplication.
  11349. 2006-05-17 Ulrich Drepper <drepper@redhat.com>
  11350. * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and
  11351. rec_dirsearch returning NULL.
  11352. (first_shoot): Handle __nis_finddirectory returning NULL.
  11353. (__nisfind_server): Fix leak when rec_dirsearch returns NULL.
  11354. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE,
  11355. IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD.
  11356. 2006-05-17 Jakub Jelinek <jakub@redhat.com>
  11357. * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if
  11358. pid changed.
  11359. 2006-05-15 Ulrich Drepper <drepper@redhat.com>
  11360. * include/rpc/pmap_prot.h: Mark all functions as hidden.
  11361. * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden.
  11362. * nscd/nscd_getgr_r.c: Likewise.
  11363. * include/rpc/pmap_rmt.h: Mark all functions as hidden.
  11364. * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden.
  11365. * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise.
  11366. * stdlib/longlong.h (__clz_tab): Mark as hidden.
  11367. * iconv/gconv_int.h: Mark __gconv_lock as hidden.
  11368. * include/rpc/key_prot.h: Mark all _internal functions as hidden.
  11369. * include/rpc/auth.h: Mark xdr_des_block_internal and
  11370. xdr_opaque_auth_internal as hidden.
  11371. * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as
  11372. hidden.
  11373. * include/rpc/xdr.h: Mark all _internal functions as hidden.
  11374. * misc/getusershell.c (okshells): Don't use static initializers,
  11375. do it dynamically.
  11376. * stdlib/fmtmsg.c (keywords): Change type of len element to
  11377. uint32_t to not waste space on 64bit machines.
  11378. * locale/setlocale.c: Change _nl_category_names into a string.
  11379. Add new _nl_category_name_idxs. Change all users.
  11380. * locale/localeinfo.h: Adjust declaration of _nl_category_names.
  11381. Declare _nl_category_name_idxs.
  11382. * locale/findlocale.c: Adjust for _nl_category_names change.
  11383. * locale/loadlocale.c: Likewise.
  11384. * locale/newlocale.c: Likewise.
  11385. * intl/dcigettext.c: Likewise.
  11386. * iconv/gconv_conf.c (add_alias): Move actual alias handling to...
  11387. (add_alias2): ...here. New function.
  11388. (__gconv_read_conf): Simplify builtin alias handling.
  11389. (builtin_aliases): Convert to string to avoid relocations.
  11390. * iconv/gconv_builtin.h: Add comment about correct formatting.
  11391. 2006-05-15 Jakub Jelinek <jakub@redhat.com>
  11392. * resolv/res_debug.c (loc_ntoa): Make error const.
  11393. 2006-05-14 Andreas Schwab <schwab@suse.de>
  11394. * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH.
  11395. 2006-05-12 Jakub Jelinek <jakub@redhat.com>
  11396. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h.
  11397. (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than
  11398. sizeof (cpu_set_t).
  11399. 2006-05-11 Ulrich Drepper <drepper@redhat.com>
  11400. * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer.
  11401. * include/arpa/nameser.h: Declare _ns_flagdata as hidden.
  11402. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master.
  11403. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master.
  11404. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp.
  11405. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp.
  11406. * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data.
  11407. * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for
  11408. xdr_cback_data.
  11409. * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args.
  11410. * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for
  11411. xdr_ypupdate_args.
  11412. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order.
  11413. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order.
  11414. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist.
  11415. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist.
  11416. * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p.
  11417. * include/rpcsvc/nis_callback.h: New file.
  11418. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val.
  11419. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val.
  11420. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey.
  11421. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey.
  11422. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist.
  11423. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist.
  11424. * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey.
  11425. * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey.
  11426. * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args.
  11427. * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for
  11428. xdr_ypdelete_args.
  11429. * nis/nis_xdr.h: Mark all functions as hidden. Remove
  11430. __BEGIN_DECLS and __END_DECLS, the header is not installed.
  11431. * nis/nis_error.c: Remove table of strings. Use position
  11432. independent mechanism.
  11433. * nis/nis_error.h: New file.
  11434. 2006-05-11 Jakub Jelinek <jakub@redhat.com>
  11435. * locale/programs/ld-time.c (time_finish): If wide era name or
  11436. format aren't provided, set both wname and wformat to L"".
  11437. 2006-05-10 Ulrich Drepper <drepper@redhat.com>
  11438. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store
  11439. results if the call was succesful.
  11440. * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden.
  11441. * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count
  11442. as hidden.
  11443. 2006-05-10 Jakub Jelinek <jakub@redhat.com>
  11444. * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros.
  11445. 2006-05-10 Ulrich Drepper <drepper@redhat.com>
  11446. * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the
  11447. caller makes sure this is not the case.
  11448. (wordexp): Simplify ifs_white creation. [Coverity CID 231]
  11449. 2006-05-09 Ulrich Drepper <drepper@redhat.com>
  11450. * posix/wordexp.c: Remove numerous NULL pointer tests before FREE
  11451. calls.
  11452. * io/ftw.c (open_dir_stream): Return right away if REALLOC fails.
  11453. [Coverity CID 229, 230]
  11454. * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and
  11455. DGETTEXT calls.
  11456. (hol_help): Likewise. [Coverity CID 226, 227]
  11457. * string/argz-replace.c (__argz_replace): Unconditionally call
  11458. free on SRC. [Coverity CID 225]
  11459. * nis/nis_creategroup.c (nis_creategroup): No need to duplicate
  11460. the return value of __nis_default_owner and __nis_default_group,
  11461. it has been especially allocated. [Coverity CID 224]
  11462. * nis/nis_defaults.c (searchXYX): New functions. Used by both
  11463. searchgroup and searchowner. Significantly simplified.
  11464. (__nis_default_owner): Remove duplication. Do not locally copy the
  11465. string before duplicating it.
  11466. (__nis_default_group): Likewise.
  11467. * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory,
  11468. we must clear the variable before calling __nisfind_server.
  11469. * nis/nis_lookup.c (nis_lookup): Always free memory allocated with
  11470. nis_getnames. [Coverity CID 223]
  11471. * locale/programs/locfile.c (locfile_read): Use alloca instead of
  11472. xmalloc to allocate local repertoire name. [Coverity CID 222]
  11473. * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically
  11474. allocate memory for the input to add_bytes. [Coverity CID 221]
  11475. * posix/wordexp.c (w_addword): Free word if realloc fails and it
  11476. was allocated here. [Coverity CID 219, 220]
  11477. * posix/getconf.c (print_all): Free confstr data after printing.
  11478. [Coverity CID 218]
  11479. * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if
  11480. list allocation fails. [Coverity CID 215]
  11481. * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition.
  11482. [Coverity CID 213]
  11483. * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if
  11484. string is NULL. [Coverity CID 212]
  11485. * argp/Makefile: Add rules to build and run bug-argp1.
  11486. * argp/bug-argp1.c: New file.
  11487. * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find
  11488. end of string.
  11489. * stdlib/canonicalize.c (__realpath): Likewise.
  11490. * locale/programs/ld-time.c (time_finish): Don't dereference NULL
  11491. pointer. [Coverity CID 206]
  11492. * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map
  11493. in statically linked code.
  11494. * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in
  11495. statically built code, be prepared to have no link map.
  11496. [Coverity CID 205]
  11497. * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in
  11498. dgettext calls. [Coverity CID 204]
  11499. * argp/argp-help.c (struct uparams): Remove valid member. Change
  11500. the one user.
  11501. (uparam_names): Reduce size. Avoid relative relocations.
  11502. Moved to read-only segment.
  11503. (fill_in_uparams): Update for new layout.
  11504. * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be
  11505. assumed to always be != NULL. [Coverity CID 202]
  11506. * argp/argp-help.c (hol_entry_help): Remove some dead code
  11507. [Coverity CID 200].
  11508. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize
  11509. away a few more unconditional yperr2nss calls.
  11510. (_nss_nis_getservbyname_r): Likewise.
  11511. 2006-05-06 Ulrich Drepper <drepper@redhat.com>
  11512. * sysdeps/generic/ldsodefs.h: Remove support for non-core
  11513. architectures.
  11514. * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure
  11515. that unused memory passed to sendto is nevertheless initialized.
  11516. [BZ #2499]
  11517. * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid
  11518. possibly unaligned memory accesses.
  11519. * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32.
  11520. * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort
  11521. and __putlong respectively. Correct buffer overflow check for
  11522. NS_NOTIFY_OP.
  11523. * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort.
  11524. * resolv/res_send.c (res_queriesmatch): Fix typo in comment.
  11525. (send_dg): Rewrite error handling to be more compact and avoid
  11526. double recomputation of timeouts. Pass MSG_NOSIGNAL to send.
  11527. * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32.
  11528. * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly
  11529. instead of ns_get16.
  11530. (res_queriesmatch): Likewise. Minor optimization.
  11531. [BZ #2499]
  11532. * resolv/res_query.c (__libc_res_nquery): If answerp != NULL,
  11533. __libc_res_nsend might reallocate the buffer for the answer. In
  11534. this case we have to reload the HP pointer.
  11535. 2006-05-05 Ulrich Drepper <drepper@redhat.com>
  11536. * stdio-common/vfscanf.c (memory_error): Remove definition. Add
  11537. some branch prediction hints.
  11538. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.
  11539. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
  11540. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
  11541. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
  11542. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
  11543. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
  11544. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
  11545. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
  11546. 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
  11547. * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation
  11548. by a GOT relocation to make Scrt1.o position independent.
  11549. * sysdeps/s390/s390-64/elf/start.S: Likewise.
  11550. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for
  11551. six system call parameters.
  11552. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
  11553. 2006-05-05 Ulrich Drepper <drepper@redhat.com>
  11554. * sunrpc/svcauth_des.c (cache_init): Use calloc instead of
  11555. malloc&bzero.
  11556. * sunrpc/svc_udp.c (BZERO): Remove definition.
  11557. (CALLOC): Define.
  11558. (svc_enablecache): Use CALLOC instead of ALLOC&BZERO.
  11559. * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it.
  11560. (des_SPtrans): Use uint32_t type.
  11561. (des_skb): Likewise.
  11562. * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero.
  11563. 2006-05-05 Jakub Jelinek <jakub@redhat.com>
  11564. [BZ #2509]
  11565. * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even
  11566. on 32-bit arches.
  11567. 2006-05-05 Ulrich Drepper <drepper@redhat.com>
  11568. * locale/programs/ld-address.c (address_finish): Fix one more
  11569. place where the iso639 array might be accessed beyond the limits.
  11570. 2006-05-04 Ulrich Drepper <drepper@redhat.com>
  11571. * nis/nis_table.c (nis_list): Avoid clearing res twice before
  11572. filling it for the first time.
  11573. * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath.
  11574. Adjust all callers.
  11575. Free res object content before returning.
  11576. * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero.
  11577. * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
  11578. client->cl_auth.
  11579. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire
  11580. cleanup for initial thread, just the free call on TVP.
  11581. * nscd/gai.c (__getline): Define.
  11582. See ChangeLog.16 for earlier changes.